diff --git a/src/lib/seam/connect/models/devices/device.ts b/src/lib/seam/connect/models/devices/device.ts index 9de514bf..30ea0318 100644 --- a/src/lib/seam/connect/models/devices/device.ts +++ b/src/lib/seam/connect/models/devices/device.ts @@ -432,6 +432,17 @@ const keynest_unsupported_locker = common_device_warning.extend({ Indicates that the key is in a locker that does not support the access codes API. `) +const accessory_keypad_setup_required = common_device_warning.extend({ + warning_code: z + .literal('accessory_keypad_setup_required') + .describe(warning_code_description), +}).describe(` + --- + variant_group_key: locks + --- + Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app. + `) + const device_warning = z.discriminatedUnion('warning_code', [ partial_backup_access_code_pool, many_active_backup_codes, @@ -451,6 +462,7 @@ const device_warning = z.discriminatedUnion('warning_code', [ lockly_time_zone_not_configured, hub_required_for_addtional_capabilities, keynest_unsupported_locker, + accessory_keypad_setup_required, ]) export type DeviceWarning = z.infer @@ -497,6 +509,9 @@ const _device_warning_map = z.object({ hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable(), keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(), + accessory_keypad_setup_required: accessory_keypad_setup_required + .optional() + .nullable(), }) export type DeviceWarningMap = z.infer diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index efe1dcde..5ee647fd 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -13435,6 +13435,32 @@ export default { type: 'object', 'x-variant-group-key': 'locks', }, + { + description: + 'Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.', + properties: { + created_at: { + description: + 'Date and time at which Seam created the warning.', + format: 'date-time', + type: 'string', + }, + message: { + description: + 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['accessory_keypad_setup_required'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + 'x-variant-group-key': 'locks', + }, ], }, type: 'array', @@ -26045,6 +26071,32 @@ export default { type: 'object', 'x-variant-group-key': 'locks', }, + { + description: + 'Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.', + properties: { + created_at: { + description: + 'Date and time at which Seam created the warning.', + format: 'date-time', + type: 'string', + }, + message: { + description: + 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['accessory_keypad_setup_required'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + 'x-variant-group-key': 'locks', + }, ], }, type: 'array', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 65bfc193..35f47266 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -13123,6 +13123,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -17198,6 +17206,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -33191,6 +33207,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -34959,6 +34983,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -36026,6 +36058,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -36736,6 +36776,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -43351,6 +43399,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -44891,6 +44947,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -46621,6 +46685,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -48160,6 +48232,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -55642,6 +55722,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -57181,6 +57269,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -68486,6 +68582,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -75161,6 +75265,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -79760,6 +79872,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -81299,6 +81419,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -89658,6 +89786,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -91199,6 +91335,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -93839,6 +93983,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string @@ -96749,6 +96901,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'keynest_unsupported_locker' } + | { + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Date and time at which Seam created the warning. */ + created_at: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'accessory_keypad_setup_required' + } )[] /** Date and time at which the device object was created. */ created_at: string