diff --git a/src/lib/seam/connect/models/access-codes/managed-access-code.ts b/src/lib/seam/connect/models/access-codes/managed-access-code.ts index dcd24fe6..59c545f4 100644 --- a/src/lib/seam/connect/models/access-codes/managed-access-code.ts +++ b/src/lib/seam/connect/models/access-codes/managed-access-code.ts @@ -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.') diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index e8c761ae..54366b02 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -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.', @@ -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.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 6ad6e00f..bacd0842 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */ @@ -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. */