Skip to content

Commit 2482996

Browse files
authored
feat: Sync with Seam API via 936610463c1f4be3bc509d43587b18a38292672c (#2557)
1 parent 14c2336 commit 2482996

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

src/lib/seam/connect/models/events/connected-accounts.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ export type ConnectedAccountCompletedFirstSyncEvent = z.infer<
107107

108108
export const connected_account_deleted_event = connected_account_event.extend({
109109
event_type: z.literal('connected_account.deleted'),
110-
account_type: z.string().describe('Type of connected account.'),
110+
connected_account_type: z
111+
.string()
112+
.optional()
113+
.describe(`undocumented: Unreleased.`),
111114
customer_key: z
112115
.string()
113116
.optional()

src/lib/seam/connect/openapi.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16527,10 +16527,6 @@ export default {
1652716527
description:
1652816528
'A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was deleted.',
1652916529
properties: {
16530-
account_type: {
16531-
description: 'Type of connected account.',
16532-
type: 'string',
16533-
},
1653416530
connected_account_custom_metadata: {
1653516531
additionalProperties: {
1653616532
oneOf: [{ type: 'string' }, { type: 'boolean' }],
@@ -16545,6 +16541,10 @@ export default {
1654516541
format: 'uuid',
1654616542
type: 'string',
1654716543
},
16544+
connected_account_type: {
16545+
description: 'undocumented: Unreleased.',
16546+
type: 'string',
16547+
},
1654816548
created_at: {
1654916549
description: 'Date and time at which the event was created.',
1655016550
format: 'date-time',
@@ -16583,7 +16583,6 @@ export default {
1658316583
'occurred_at',
1658416584
'connected_account_id',
1658516585
'event_type',
16586-
'account_type',
1658716586
],
1658816587
type: 'object',
1658916588
'x-route-path': '/connected_accounts',

src/lib/seam/connect/route-types.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37367,8 +37367,8 @@ export type Routes = {
3736737367
}
3736837368
| undefined
3736937369
event_type: 'connected_account.deleted'
37370-
/** Type of connected account. */
37371-
account_type: string
37370+
/** undocumented: Unreleased. */
37371+
connected_account_type?: string | undefined
3737237372
/** The customer key associated with this connected account, if any. */
3737337373
customer_key?: string | undefined
3737437374
}
@@ -39889,8 +39889,8 @@ export type Routes = {
3988939889
}
3989039890
| undefined
3989139891
event_type: 'connected_account.deleted'
39892-
/** Type of connected account. */
39893-
account_type: string
39892+
/** undocumented: Unreleased. */
39893+
connected_account_type?: string | undefined
3989439894
/** The customer key associated with this connected account, if any. */
3989539895
customer_key?: string | undefined
3989639896
}
@@ -63645,8 +63645,8 @@ export type Routes = {
6364563645
}
6364663646
| undefined
6364763647
event_type: 'connected_account.deleted'
63648-
/** Type of connected account. */
63649-
account_type: string
63648+
/** undocumented: Unreleased. */
63649+
connected_account_type?: string | undefined
6365063650
/** The customer key associated with this connected account, if any. */
6365163651
customer_key?: string | undefined
6365263652
}
@@ -97578,8 +97578,8 @@ export type Routes = {
9757897578
}
9757997579
| undefined
9758097580
event_type: 'connected_account.deleted'
97581-
/** Type of connected account. */
97582-
account_type: string
97581+
/** undocumented: Unreleased. */
97582+
connected_account_type?: string | undefined
9758397583
/** The customer key associated with this connected account, if any. */
9758497584
customer_key?: string | undefined
9758597585
}

0 commit comments

Comments
 (0)