Skip to content

Commit 6065fb2

Browse files
committed
feat: Sync with Seam API via 0565c000b9a585d0457e51deb8c9e8c7da3df4b1
1 parent 5ce520d commit 6065fb2

File tree

3 files changed

+38
-8
lines changed

3 files changed

+38
-8
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,17 @@ export const connected_account = z.object({
292292
'Indicates whether the user identifier associated with the connected account is exclusive.',
293293
),
294294
})
295-
.optional()
296-
.describe('User identifier associated with the connected account.'),
295+
.optional().describe(`
296+
---
297+
deprecated: Use \`display_name\` instead.
298+
---
299+
User identifier associated with the connected account.
300+
`),
297301
account_type: z.string().optional().describe('Type of connected account.'),
298302
account_type_display_name: z
299303
.string()
300304
.describe('Display name for the connected account type.'),
305+
display_name: z.string().describe('Display name for the connected account.'),
301306
errors: z
302307
.array(connected_account_error)
303308
.describe('Errors associated with the connected account.'),

src/lib/seam/connect/openapi.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9227,6 +9227,10 @@ export default {
92279227
'Your unique key for the customer associated with this connected account.',
92289228
type: 'string',
92299229
},
9230+
display_name: {
9231+
description: 'Display name for the connected account.',
9232+
type: 'string',
9233+
},
92309234
errors: {
92319235
description: 'Errors associated with the connected account.',
92329236
items: {
@@ -9394,6 +9398,7 @@ export default {
93949398
type: 'array',
93959399
},
93969400
user_identifier: {
9401+
deprecated: true,
93979402
description:
93989403
'User identifier associated with the connected account.',
93999404
properties: {
@@ -9424,6 +9429,7 @@ export default {
94249429
},
94259430
},
94269431
type: 'object',
9432+
'x-deprecated': 'Use `display_name` instead.',
94279433
},
94289434
warnings: {
94299435
description: 'Warnings associated with the connected account.',
@@ -9592,6 +9598,7 @@ export default {
95929598
required: [
95939599
'connected_account_id',
95949600
'account_type_display_name',
9601+
'display_name',
95959602
'errors',
95969603
'warnings',
95979604
'custom_metadata',

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

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13320,7 +13320,8 @@ export type Routes = {
1332013320
connected_account_id: string
1332113321
/** Date and time at which the connected account was created. */
1332213322
created_at?: string | undefined
13323-
/** User identifier associated with the connected account. */
13323+
/** User identifier associated with the connected account.
13324+
* @deprecated Use `display_name` instead.*/
1332413325
user_identifier?:
1332513326
| {
1332613327
/** Username of the user identifier associated with the connected account. */
@@ -13339,6 +13340,8 @@ export type Routes = {
1333913340
account_type?: string | undefined
1334013341
/** Display name for the connected account type. */
1334113342
account_type_display_name: string
13343+
/** Display name for the connected account. */
13344+
display_name: string
1334213345
/** Errors associated with the connected account. */
1334313346
errors: (
1334413347
| {
@@ -30276,7 +30279,8 @@ export type Routes = {
3027630279
connected_account_id: string
3027730280
/** Date and time at which the connected account was created. */
3027830281
created_at?: string | undefined
30279-
/** User identifier associated with the connected account. */
30282+
/** User identifier associated with the connected account.
30283+
* @deprecated Use `display_name` instead.*/
3028030284
user_identifier?:
3028130285
| {
3028230286
/** Username of the user identifier associated with the connected account. */
@@ -30295,6 +30299,8 @@ export type Routes = {
3029530299
account_type?: string | undefined
3029630300
/** Display name for the connected account type. */
3029730301
account_type_display_name: string
30302+
/** Display name for the connected account. */
30303+
display_name: string
3029830304
/** Errors associated with the connected account. */
3029930305
errors: (
3030030306
| {
@@ -30446,7 +30452,8 @@ export type Routes = {
3044630452
connected_account_id: string
3044730453
/** Date and time at which the connected account was created. */
3044830454
created_at?: string | undefined
30449-
/** User identifier associated with the connected account. */
30455+
/** User identifier associated with the connected account.
30456+
* @deprecated Use `display_name` instead.*/
3045030457
user_identifier?:
3045130458
| {
3045230459
/** Username of the user identifier associated with the connected account. */
@@ -30465,6 +30472,8 @@ export type Routes = {
3046530472
account_type?: string | undefined
3046630473
/** Display name for the connected account type. */
3046730474
account_type_display_name: string
30475+
/** Display name for the connected account. */
30476+
display_name: string
3046830477
/** Errors associated with the connected account. */
3046930478
errors: (
3047030479
| {
@@ -30652,7 +30661,8 @@ export type Routes = {
3065230661
connected_account_id: string
3065330662
/** Date and time at which the connected account was created. */
3065430663
created_at?: string | undefined
30655-
/** User identifier associated with the connected account. */
30664+
/** User identifier associated with the connected account.
30665+
* @deprecated Use `display_name` instead.*/
3065630666
user_identifier?:
3065730667
| {
3065830668
/** Username of the user identifier associated with the connected account. */
@@ -30671,6 +30681,8 @@ export type Routes = {
3067130681
account_type?: string | undefined
3067230682
/** Display name for the connected account type. */
3067330683
account_type_display_name: string
30684+
/** Display name for the connected account. */
30685+
display_name: string
3067430686
/** Errors associated with the connected account. */
3067530687
errors: (
3067630688
| {
@@ -68658,7 +68670,8 @@ export type Routes = {
6865868670
connected_account_id: string
6865968671
/** Date and time at which the connected account was created. */
6866068672
created_at?: string | undefined
68661-
/** User identifier associated with the connected account. */
68673+
/** User identifier associated with the connected account.
68674+
* @deprecated Use `display_name` instead.*/
6866268675
user_identifier?:
6866368676
| {
6866468677
/** Username of the user identifier associated with the connected account. */
@@ -68677,6 +68690,8 @@ export type Routes = {
6867768690
account_type?: string | undefined
6867868691
/** Display name for the connected account type. */
6867968692
account_type_display_name: string
68693+
/** Display name for the connected account. */
68694+
display_name: string
6868068695
/** Errors associated with the connected account. */
6868168696
errors: (
6868268697
| {
@@ -97012,7 +97027,8 @@ export type Routes = {
9701297027
connected_account_id: string
9701397028
/** Date and time at which the connected account was created. */
9701497029
created_at?: string | undefined
97015-
/** User identifier associated with the connected account. */
97030+
/** User identifier associated with the connected account.
97031+
* @deprecated Use `display_name` instead.*/
9701697032
user_identifier?:
9701797033
| {
9701897034
/** Username of the user identifier associated with the connected account. */
@@ -97031,6 +97047,8 @@ export type Routes = {
9703197047
account_type?: string | undefined
9703297048
/** Display name for the connected account type. */
9703397049
account_type_display_name: string
97050+
/** Display name for the connected account. */
97051+
display_name: string
9703497052
/** Errors associated with the connected account. */
9703597053
errors: (
9703697054
| {

0 commit comments

Comments
 (0)