diff --git a/src/lib/seam/connect/models/events/devices.ts b/src/lib/seam/connect/models/events/devices.ts index 51024009..3cce7f01 100644 --- a/src/lib/seam/connect/models/events/devices.ts +++ b/src/lib/seam/connect/models/events/devices.ts @@ -377,6 +377,12 @@ export const lock_locked_event = device_event.extend({ .uuid() .optional() .describe('ID of the access code that was used to lock the device.'), + access_code_is_managed: z + .boolean() + .optional() + .describe( + 'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.', + ), action_attempt_id: z .string() .uuid() @@ -403,6 +409,12 @@ export const lock_unlocked_event = device_event.extend({ .describe( 'ID of the access code that was used to unlock the affected device.', ), + access_code_is_managed: z + .boolean() + .optional() + .describe( + 'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.', + ), action_attempt_id: z .string() .uuid() diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 829a8c66..08afd814 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -18809,6 +18809,11 @@ export default { format: 'uuid', type: 'string', }, + access_code_is_managed: { + description: + 'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.', + type: 'boolean', + }, action_attempt_id: { description: 'ID of the action attempt associated with the lock action.', @@ -18894,6 +18899,11 @@ export default { format: 'uuid', type: 'string', }, + access_code_is_managed: { + description: + 'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.', + type: 'boolean', + }, acs_entrance_id: { description: '\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the unlock event.\n ', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index af27a3fa..e92a54b9 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -38895,6 +38895,8 @@ export type Routes = { event_type: 'lock.locked' /** ID of the access code that was used to lock the device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the lock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */ @@ -38933,6 +38935,8 @@ export type Routes = { event_type: 'lock.unlocked' /** ID of the access code that was used to unlock the affected device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the unlock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */ @@ -41423,6 +41427,8 @@ export type Routes = { event_type: 'lock.locked' /** ID of the access code that was used to lock the device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the lock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */ @@ -41456,6 +41462,8 @@ export type Routes = { event_type: 'lock.unlocked' /** ID of the access code that was used to unlock the affected device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the unlock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */ @@ -65319,6 +65327,8 @@ export type Routes = { event_type: 'lock.locked' /** ID of the access code that was used to lock the device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the lock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */ @@ -65352,6 +65362,8 @@ export type Routes = { event_type: 'lock.unlocked' /** ID of the access code that was used to unlock the affected device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the unlock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */ @@ -99378,6 +99390,8 @@ export type Routes = { event_type: 'lock.locked' /** ID of the access code that was used to lock the device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the lock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */ @@ -99416,6 +99430,8 @@ export type Routes = { event_type: 'lock.unlocked' /** ID of the access code that was used to unlock the affected device. */ access_code_id?: string | undefined + /** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */ + access_code_is_managed?: boolean | undefined /** ID of the action attempt associated with the unlock action. */ action_attempt_id?: string | undefined /** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */