diff --git a/src/lib/seam/connect/models/devices/device.ts b/src/lib/seam/connect/models/devices/device.ts index 30ea0318..a6930d1b 100644 --- a/src/lib/seam/connect/models/devices/device.ts +++ b/src/lib/seam/connect/models/devices/device.ts @@ -399,6 +399,16 @@ const lockly_time_zone_not_configured = common_device_warning 'Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.', ) +const ultraloq_time_zone_unknown = common_device_warning + .extend({ + warning_code: z + .literal('ultraloq_time_zone_unknown') + .describe(warning_code_description), + }) + .describe( + 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.', + ) + export const unknown_issue_with_phone = common_device_warning.extend({ warning_code: z .literal('unknown_issue_with_phone') @@ -460,6 +470,7 @@ const device_warning = z.discriminatedUnion('warning_code', [ salto_ks_subscription_limit_almost_reached, unknown_issue_with_phone, lockly_time_zone_not_configured, + ultraloq_time_zone_unknown, hub_required_for_addtional_capabilities, keynest_unsupported_locker, accessory_keypad_setup_required, @@ -506,6 +517,7 @@ const _device_warning_map = z.object({ lockly_time_zone_not_configured: lockly_time_zone_not_configured .optional() .nullable(), + ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(), hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable(), keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(), diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 5ee647fd..771a51d0 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -13383,6 +13383,31 @@ export default { required: ['message', 'created_at', 'warning_code'], type: 'object', }, + { + description: + 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.', + 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: ['ultraloq_time_zone_unknown'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + }, { description: 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.', @@ -26019,6 +26044,31 @@ export default { required: ['message', 'created_at', 'warning_code'], type: 'object', }, + { + description: + 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.', + 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: ['ultraloq_time_zone_unknown'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + }, { description: 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 35f47266..e81b79a6 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -13107,6 +13107,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -17190,6 +17198,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: 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: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -34967,6 +34991,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -36042,6 +36074,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -36760,6 +36800,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -43383,6 +43431,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -44931,6 +44987,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -46669,6 +46733,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -48216,6 +48288,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -55706,6 +55786,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -57253,6 +57341,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -68566,6 +68662,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -75249,6 +75353,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -79856,6 +79968,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -81403,6 +81523,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -89770,6 +89898,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -91319,6 +91455,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -93967,6 +94111,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -96885,6 +97037,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'lockly_time_zone_not_configured' } + | { + /** 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: 'ultraloq_time_zone_unknown' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string