Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.'),
Expand Down
7 changes: 7 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -9394,6 +9398,7 @@ export default {
type: 'array',
},
user_identifier: {
deprecated: true,
description:
'User identifier associated with the connected account.',
properties: {
Expand Down Expand Up @@ -9424,6 +9429,7 @@ export default {
},
},
type: 'object',
'x-deprecated': 'Use `display_name` instead.',
},
warnings: {
description: 'Warnings associated with the connected account.',
Expand Down Expand Up @@ -9592,6 +9598,7 @@ export default {
required: [
'connected_account_id',
'account_type_display_name',
'display_name',
'errors',
'warnings',
'custom_metadata',
Expand Down
30 changes: 24 additions & 6 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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: (
| {
Expand Down Expand Up @@ -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. */
Expand All @@ -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: (
| {
Expand Down Expand Up @@ -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. */
Expand All @@ -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: (
| {
Expand Down Expand Up @@ -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. */
Expand All @@ -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: (
| {
Expand Down Expand Up @@ -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. */
Expand All @@ -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: (
| {
Expand Down Expand Up @@ -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. */
Expand All @@ -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: (
| {
Expand Down