diff --git a/src/lib/seam/connect/models/devices/device.ts b/src/lib/seam/connect/models/devices/device.ts index 207cc48b..9de514bf 100644 --- a/src/lib/seam/connect/models/devices/device.ts +++ b/src/lib/seam/connect/models/devices/device.ts @@ -316,16 +316,6 @@ const wyze_device_missing_gateway = common_device_warning.extend({ Indicates that the Wyze Lock is not connected to a gateway. `) -const functional_offline_device = common_device_warning - .extend({ - warning_code: z - .literal('functional_offline_device') - .describe(warning_code_description), - }) - .describe( - 'Indicates that the device is offline but has some functionality available.', - ) - const third_party_integration_detected = common_device_warning .extend({ warning_code: z @@ -446,7 +436,6 @@ const device_warning = z.discriminatedUnion('warning_code', [ partial_backup_access_code_pool, many_active_backup_codes, wyze_device_missing_gateway, - functional_offline_device, third_party_integration_detected, ttlock_lock_gateway_unlocking_not_enabled, ttlock_weak_gateway_signal, @@ -481,7 +470,6 @@ const _device_warning_map = z.object({ wyze_device_missing_gateway: wyze_device_missing_gateway .optional() .nullable(), - functional_offline_device: functional_offline_device.optional().nullable(), third_party_integration_detected: third_party_integration_detected .optional() .nullable(), diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 8c45ef64..7533b088 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -13045,31 +13045,6 @@ export default { required: ['message', 'created_at', 'warning_code'], type: 'object', }, - { - description: - 'Indicates that the device is offline but has some functionality available.', - 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: ['functional_offline_device'], - type: 'string', - }, - }, - required: ['message', 'created_at', 'warning_code'], - type: 'object', - }, { description: 'Indicates that a third-party integration has been detected.', @@ -25680,31 +25655,6 @@ export default { required: ['message', 'created_at', 'warning_code'], type: 'object', }, - { - description: - 'Indicates that the device is offline but has some functionality available.', - 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: ['functional_offline_device'], - type: 'string', - }, - }, - required: ['message', 'created_at', 'warning_code'], - type: 'object', - }, { description: 'Indicates that a third-party integration has been detected.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 3337a217..3dbc3c98 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -13003,14 +13003,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -17083,14 +17075,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -33075,14 +33059,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -34851,14 +34827,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -35926,14 +35894,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -36644,14 +36604,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -43267,14 +43219,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -44815,14 +44759,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -46553,14 +46489,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -48100,14 +48028,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -55590,14 +55510,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -57137,14 +57049,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -68437,14 +68341,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -75117,14 +75013,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -79724,14 +79612,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -81271,14 +81151,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -89638,14 +89510,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -91187,14 +91051,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -93835,14 +93691,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -96753,14 +96601,6 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'wyze_device_missing_gateway' } - | { - /** 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: 'functional_offline_device' - } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string