diff --git a/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts b/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts index be6aae0e..92fb8e0b 100644 --- a/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +++ b/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts @@ -29,6 +29,18 @@ export const unmanaged_access_code = access_code .describe( 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.', ), + cannot_be_managed: z + .literal(true) + .optional() + .describe( + 'Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.', + ), + cannot_delete_unmanaged_access_code: z + .literal(true) + .optional() + .describe( + 'Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.', + ), dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata .nullable() .optional() diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index f4c0a918..1a00960f 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -26545,6 +26545,18 @@ const openapi: OpenAPISpec = { format: 'uuid', type: 'string', }, + cannot_be_managed: { + description: + 'Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.', + enum: [true], + type: 'boolean', + }, + cannot_delete_unmanaged_access_code: { + description: + 'Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.', + enum: [true], + type: 'boolean', + }, code: { description: 'Code used for access. Typically, a numeric or alphanumeric string.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index baf25d6b..837b55ac 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -7975,6 +7975,10 @@ export type Routes = { ends_at?: (string | null) | undefined /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ status: 'set' | 'unset' + /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */ + cannot_be_managed?: true | undefined + /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */ + cannot_delete_unmanaged_access_code?: true | undefined /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -10142,6 +10146,10 @@ export type Routes = { ends_at?: (string | null) | undefined /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ status: 'set' | 'unset' + /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */ + cannot_be_managed?: true | undefined + /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */ + cannot_delete_unmanaged_access_code?: true | undefined /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -10723,6 +10731,10 @@ export type Routes = { ends_at?: (string | null) | undefined /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ status: 'set' | 'unset' + /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */ + cannot_be_managed?: true | undefined + /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */ + cannot_delete_unmanaged_access_code?: true | undefined /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -120144,6 +120156,10 @@ export type Routes = { ends_at?: (string | null) | undefined /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ status: 'set' | 'unset' + /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */ + cannot_be_managed?: true | undefined + /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */ + cannot_delete_unmanaged_access_code?: true | undefined /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({