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 @@ -77,6 +77,13 @@ const duplicate_code_on_device = common_access_code_error
.describe(
'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
),
managed_access_code_id: z
.string()
.uuid()
.optional()
.describe(
'ID of the managed 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 @@ -277,6 +277,12 @@ const openapi: OpenAPISpec = {
enum: [true],
type: 'boolean',
},
managed_access_code_id: {
description:
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
format: 'uuid',
type: 'string',
},
message: {
description:
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
Expand Down Expand Up @@ -26478,6 +26484,12 @@ const openapi: OpenAPISpec = {
enum: [true],
type: 'boolean',
},
managed_access_code_id: {
description:
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
format: 'uuid',
type: 'string',
},
message: {
description:
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
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 @@ -1673,6 +1673,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -2376,6 +2378,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -4633,6 +4637,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -5423,6 +5429,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -6115,6 +6123,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -6784,6 +6794,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -7488,6 +7500,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -9645,6 +9659,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -10224,6 +10240,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -118726,6 +118744,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_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 @@ -119291,6 +119311,8 @@ export type Routes = {
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
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
managed_access_code_id?: string | undefined
}
| {
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
Expand Down
Loading