diff --git a/src/lib/seam/connect/models/connected-accounts/connected-account.ts b/src/lib/seam/connect/models/connected-accounts/connected-account.ts index a7c8ece0..f3efebfe 100644 --- a/src/lib/seam/connect/models/connected-accounts/connected-account.ts +++ b/src/lib/seam/connect/models/connected-accounts/connected-account.ts @@ -292,12 +292,17 @@ export const connected_account = z.object({ 'Indicates whether the user identifier associated with the connected account is exclusive.', ), }) - .optional() - .describe('User identifier associated with the connected account.'), + .optional().describe(` + --- + deprecated: Use \`display_name\` instead. + --- + User identifier associated with the connected account. + `), account_type: z.string().optional().describe('Type of connected account.'), account_type_display_name: z .string() .describe('Display name for the connected account type.'), + display_name: z.string().describe('Display name for the connected account.'), errors: z .array(connected_account_error) .describe('Errors associated with the connected account.'), diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 7533b088..c6b80004 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -9227,6 +9227,10 @@ export default { 'Your unique key for the customer associated with this connected account.', type: 'string', }, + display_name: { + description: 'Display name for the connected account.', + type: 'string', + }, errors: { description: 'Errors associated with the connected account.', items: { @@ -9394,6 +9398,7 @@ export default { type: 'array', }, user_identifier: { + deprecated: true, description: 'User identifier associated with the connected account.', properties: { @@ -9424,6 +9429,7 @@ export default { }, }, type: 'object', + 'x-deprecated': 'Use `display_name` instead.', }, warnings: { description: 'Warnings associated with the connected account.', @@ -9592,6 +9598,7 @@ export default { required: [ 'connected_account_id', 'account_type_display_name', + 'display_name', 'errors', 'warnings', 'custom_metadata', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 3dbc3c98..fcd0559f 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -13320,7 +13320,8 @@ export type Routes = { connected_account_id: string /** Date and time at which the connected account was created. */ created_at?: string | undefined - /** User identifier associated with the connected account. */ + /** User identifier associated with the connected account. + * @deprecated Use `display_name` instead.*/ user_identifier?: | { /** Username of the user identifier associated with the connected account. */ @@ -13339,6 +13340,8 @@ export type Routes = { account_type?: string | undefined /** Display name for the connected account type. */ account_type_display_name: string + /** Display name for the connected account. */ + display_name: string /** Errors associated with the connected account. */ errors: ( | { @@ -30276,7 +30279,8 @@ export type Routes = { connected_account_id: string /** Date and time at which the connected account was created. */ created_at?: string | undefined - /** User identifier associated with the connected account. */ + /** User identifier associated with the connected account. + * @deprecated Use `display_name` instead.*/ user_identifier?: | { /** Username of the user identifier associated with the connected account. */ @@ -30295,6 +30299,8 @@ export type Routes = { account_type?: string | undefined /** Display name for the connected account type. */ account_type_display_name: string + /** Display name for the connected account. */ + display_name: string /** Errors associated with the connected account. */ errors: ( | { @@ -30446,7 +30452,8 @@ export type Routes = { connected_account_id: string /** Date and time at which the connected account was created. */ created_at?: string | undefined - /** User identifier associated with the connected account. */ + /** User identifier associated with the connected account. + * @deprecated Use `display_name` instead.*/ user_identifier?: | { /** Username of the user identifier associated with the connected account. */ @@ -30465,6 +30472,8 @@ export type Routes = { account_type?: string | undefined /** Display name for the connected account type. */ account_type_display_name: string + /** Display name for the connected account. */ + display_name: string /** Errors associated with the connected account. */ errors: ( | { @@ -30652,7 +30661,8 @@ export type Routes = { connected_account_id: string /** Date and time at which the connected account was created. */ created_at?: string | undefined - /** User identifier associated with the connected account. */ + /** User identifier associated with the connected account. + * @deprecated Use `display_name` instead.*/ user_identifier?: | { /** Username of the user identifier associated with the connected account. */ @@ -30671,6 +30681,8 @@ export type Routes = { account_type?: string | undefined /** Display name for the connected account type. */ account_type_display_name: string + /** Display name for the connected account. */ + display_name: string /** Errors associated with the connected account. */ errors: ( | { @@ -68658,7 +68670,8 @@ export type Routes = { connected_account_id: string /** Date and time at which the connected account was created. */ created_at?: string | undefined - /** User identifier associated with the connected account. */ + /** User identifier associated with the connected account. + * @deprecated Use `display_name` instead.*/ user_identifier?: | { /** Username of the user identifier associated with the connected account. */ @@ -68677,6 +68690,8 @@ export type Routes = { account_type?: string | undefined /** Display name for the connected account type. */ account_type_display_name: string + /** Display name for the connected account. */ + display_name: string /** Errors associated with the connected account. */ errors: ( | { @@ -97012,7 +97027,8 @@ export type Routes = { connected_account_id: string /** Date and time at which the connected account was created. */ created_at?: string | undefined - /** User identifier associated with the connected account. */ + /** User identifier associated with the connected account. + * @deprecated Use `display_name` instead.*/ user_identifier?: | { /** Username of the user identifier associated with the connected account. */ @@ -97031,6 +97047,8 @@ export type Routes = { account_type?: string | undefined /** Display name for the connected account type. */ account_type_display_name: string + /** Display name for the connected account. */ + display_name: string /** Errors associated with the connected account. */ errors: ( | {