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 @@ -70,6 +70,13 @@ const duplicate_code_on_device = common_access_code_error
error_code: z
.literal('duplicate_code_on_device')
.describe(error_code_description),
unmanaged_access_code_id: z
.string()
.uuid()
.optional()
.describe(
'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
),
})
.describe('Duplicate access code detected on device.')

Expand Down
12 changes: 12 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,12 @@ const openapi: OpenAPISpec = {
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
type: 'string',
},
unmanaged_access_code_id: {
description:
'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
format: 'uuid',
type: 'string',
},
},
required: ['message', 'is_access_code_error', 'error_code'],
type: 'object',
Expand Down Expand Up @@ -26477,6 +26483,12 @@ const openapi: OpenAPISpec = {
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
type: 'string',
},
unmanaged_access_code_id: {
description:
'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
format: 'uuid',
type: 'string',
},
},
required: ['message', 'is_access_code_error', 'error_code'],
type: 'object',
Expand Down
22 changes: 22 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -2372,6 +2374,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -4627,6 +4631,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -5415,6 +5421,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -6105,6 +6113,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -6772,6 +6782,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -7474,6 +7486,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -9629,6 +9643,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -10206,6 +10222,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -118706,6 +118724,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down Expand Up @@ -119269,6 +119289,8 @@ export type Routes = {
created_at?: string | undefined
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
error_code: 'duplicate_code_on_device'
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
unmanaged_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down
Loading