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 946e43c4..be6aae0e 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 @@ -25,9 +25,9 @@ export const unmanaged_access_code = access_code .literal(false) .describe('Indicates that Seam does not manage the access code.'), status: z - .enum(['set']) + .enum(['set', 'unset']) .describe( - 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.', + '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.', ), dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata .nullable() diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 65e121f5..2974dc00 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -27565,8 +27565,8 @@ const openapi: OpenAPISpec = { }, status: { description: - 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.', - enum: ['set'], + '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.', + enum: ['set', 'unset'], type: 'string', }, type: { diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index cd9d0d22..6ad6e00f 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -7943,8 +7943,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** 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' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -10100,8 +10100,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** 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' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -10679,8 +10679,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** 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' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -119181,8 +119181,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** 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' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({