From 6364788fa1435e2e71785729a553f604065ce023 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Sat, 21 Nov 2026 16:54:12 +0000 Subject: [PATCH] feat: Sync with Seam API via 6303f78e1ffcfe889bc0ceb6e29eda8097602ae3 --- src/lib/seam/connect/models/devices/device.ts | 25 + src/lib/seam/connect/openapi.ts | 268 +++++++++ src/lib/seam/connect/route-types.ts | 542 ++++++++++++++++++ 3 files changed, 835 insertions(+) diff --git a/src/lib/seam/connect/models/devices/device.ts b/src/lib/seam/connect/models/devices/device.ts index 89827f2a..53796f8e 100644 --- a/src/lib/seam/connect/models/devices/device.ts +++ b/src/lib/seam/connect/models/devices/device.ts @@ -277,6 +277,16 @@ const august_lock_not_authorized = common_device_error.extend({ Indicates that the user is not authorized to use the August lock. `) +const low_battery = common_device_error.extend({ + error_code: z.literal('low_battery').describe(error_code_description), +}).describe(` + --- + resource_type: device + variant_group_key: locks + --- + Indicates that the lock has about one week, two days, or a critically low amount of battery life remaining. Replace the lock's batteries promptly to avoid losing access. + `) + const salto_ks_subscription_limit_exceeded = common_device_error.extend({ error_code: z .literal('salto_ks_subscription_limit_exceeded') @@ -382,6 +392,7 @@ export const device_error = z device_disconnected, empty_backup_access_code_pool, august_lock_not_authorized, + low_battery, missing_device_credentials, auxiliary_heat_running, subscription_required, @@ -398,6 +409,7 @@ export const device_error_map = z.object({ account_disconnected: account_disconnected.optional(), empty_backup_access_code_pool: empty_backup_access_code_pool.optional(), august_lock_not_authorized: august_lock_not_authorized.optional(), + low_battery: low_battery.optional(), salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.optional(), insufficient_permissions: insufficient_permissions.optional(), @@ -706,6 +718,17 @@ const accessory_keypad_low_battery = common_device_warning.extend({ Indicates that the accessory keypad paired with this lock has a low or critically low battery. Replace its batteries so guests can keep entering their access codes. `) +const battery_replacement_recommended = common_device_warning.extend({ + warning_code: z + .literal('battery_replacement_recommended') + .describe(warning_code_description), +}).describe(` + --- + variant_group_key: locks + --- + Indicates that the lock has about two weeks of battery life remaining or the provider otherwise recommends replacing the lock's batteries soon. + `) + const unreliable_online_status = common_device_warning.extend({ warning_code: z .literal('unreliable_online_status') @@ -787,6 +810,7 @@ const device_warning = z.discriminatedUnion('warning_code', [ keynest_unsupported_locker, accessory_keypad_setup_required, accessory_keypad_low_battery, + battery_replacement_recommended, unreliable_online_status, max_access_codes_reached, subscription_required_for_additional_capabilities, @@ -827,6 +851,7 @@ export const device_warning_map = z.object({ keynest_unsupported_locker: keynest_unsupported_locker.optional(), accessory_keypad_setup_required: accessory_keypad_setup_required.optional(), accessory_keypad_low_battery: accessory_keypad_low_battery.optional(), + battery_replacement_recommended: battery_replacement_recommended.optional(), unreliable_online_status: unreliable_online_status.optional(), max_access_codes_reached: max_access_codes_reached.optional(), subscription_required_for_additional_capabilities: diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index e5bda325..528db772 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -896,6 +896,44 @@ const openapi: OpenAPISpec = { 'x-resource-type': 'device', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about one week, two days, or a critically low amount of battery life remaining. Replace the lock's batteries promptly to avoid losing access.", + properties: { + created_at: { + description: + 'Date and time at which Seam created the error.', + format: 'date-time', + type: 'string', + }, + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['low_battery'], + type: 'string', + }, + is_device_error: { + description: + 'Indicates that the error is a device error.', + enum: [true], + type: 'boolean', + }, + message: { + description: + 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + }, + required: [ + 'message', + 'is_device_error', + 'created_at', + 'error_code', + ], + type: 'object', + 'x-resource-type': 'device', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that device credentials are missing.', properties: { @@ -16682,6 +16720,44 @@ const openapi: OpenAPISpec = { 'x-resource-type': 'device', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about one week, two days, or a critically low amount of battery life remaining. Replace the lock's batteries promptly to avoid losing access.", + properties: { + created_at: { + description: + 'Date and time at which Seam created the error.', + format: 'date-time', + type: 'string', + }, + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['low_battery'], + type: 'string', + }, + is_device_error: { + description: + 'Indicates that the error is a device error.', + enum: [true], + type: 'boolean', + }, + message: { + description: + 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + }, + required: [ + 'message', + 'is_device_error', + 'created_at', + 'error_code', + ], + type: 'object', + 'x-resource-type': 'device', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that device credentials are missing.', properties: { @@ -21213,6 +21289,32 @@ const openapi: OpenAPISpec = { type: 'object', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about two weeks of battery life remaining or the provider otherwise recommends replacing the lock's batteries soon.", + 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: ['battery_replacement_recommended'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.', @@ -34519,6 +34621,44 @@ const openapi: OpenAPISpec = { 'x-resource-type': 'device', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about one week, two days, or a critically low amount of battery life remaining. Replace the lock's batteries promptly to avoid losing access.", + properties: { + created_at: { + description: + 'Date and time at which Seam created the error.', + format: 'date-time', + type: 'string', + }, + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['low_battery'], + type: 'string', + }, + is_device_error: { + description: + 'Indicates that the error is a device error.', + enum: [true], + type: 'boolean', + }, + message: { + description: + 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + }, + required: [ + 'message', + 'is_device_error', + 'created_at', + 'error_code', + ], + type: 'object', + 'x-resource-type': 'device', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that device credentials are missing.', properties: { @@ -35438,6 +35578,32 @@ const openapi: OpenAPISpec = { type: 'object', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about two weeks of battery life remaining or the provider otherwise recommends replacing the lock's batteries soon.", + 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: ['battery_replacement_recommended'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.', @@ -38430,6 +38596,44 @@ const openapi: OpenAPISpec = { 'x-resource-type': 'device', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about one week, two days, or a critically low amount of battery life remaining. Replace the lock's batteries promptly to avoid losing access.", + properties: { + created_at: { + description: + 'Date and time at which Seam created the error.', + format: 'date-time', + type: 'string', + }, + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['low_battery'], + type: 'string', + }, + is_device_error: { + description: + 'Indicates that the error is a device error.', + enum: [true], + type: 'boolean', + }, + message: { + description: + 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + }, + required: [ + 'message', + 'is_device_error', + 'created_at', + 'error_code', + ], + type: 'object', + 'x-resource-type': 'device', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that device credentials are missing.', properties: { @@ -43026,6 +43230,44 @@ const openapi: OpenAPISpec = { 'x-resource-type': 'device', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about one week, two days, or a critically low amount of battery life remaining. Replace the lock's batteries promptly to avoid losing access.", + properties: { + created_at: { + description: + 'Date and time at which Seam created the error.', + format: 'date-time', + type: 'string', + }, + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['low_battery'], + type: 'string', + }, + is_device_error: { + description: + 'Indicates that the error is a device error.', + enum: [true], + type: 'boolean', + }, + message: { + description: + 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', + type: 'string', + }, + }, + required: [ + 'message', + 'is_device_error', + 'created_at', + 'error_code', + ], + type: 'object', + 'x-resource-type': 'device', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that device credentials are missing.', properties: { @@ -44097,6 +44339,32 @@ const openapi: OpenAPISpec = { type: 'object', 'x-variant-group-key': 'locks', }, + { + description: + "Indicates that the lock has about two weeks of battery life remaining or the provider otherwise recommends replacing the lock's batteries soon.", + 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: ['battery_replacement_recommended'], + type: 'string', + }, + }, + required: ['message', 'created_at', 'warning_code'], + type: 'object', + 'x-variant-group-key': 'locks', + }, { description: 'Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 96ed02f5..565dbbd0 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -2882,6 +2882,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -3480,6 +3490,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -6667,6 +6687,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -7376,6 +7406,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -7965,6 +8005,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -8531,6 +8581,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -9130,6 +9190,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -12215,6 +12285,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -12691,6 +12771,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -18140,6 +18230,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -18401,6 +18501,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -28245,6 +28353,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -28506,6 +28624,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -60971,6 +61097,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -61232,6 +61368,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -63614,6 +63758,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -63875,6 +64029,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -65909,6 +66071,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -66170,6 +66342,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -66877,6 +67057,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -67138,6 +67328,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -80960,6 +81158,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -81221,6 +81429,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -83284,6 +83500,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -83545,6 +83771,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -85749,6 +85983,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -86010,6 +86254,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -88072,6 +88324,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -88333,6 +88595,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -100794,6 +101064,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -101055,6 +101335,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -103117,6 +103405,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -103378,6 +103676,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -111614,6 +111920,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -111875,6 +112191,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -112091,6 +112415,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -112352,6 +112686,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -112595,6 +112937,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -112856,6 +113208,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -117385,6 +117745,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -117646,6 +118016,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -141134,6 +141512,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -141395,6 +141783,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -175828,6 +176224,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -176089,6 +176495,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -183386,6 +183800,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -183647,6 +184071,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -185709,6 +186141,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -185970,6 +186412,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -199547,6 +199997,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -199808,6 +200268,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -201872,6 +202340,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -202133,6 +202611,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -206995,6 +207481,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -207256,6 +207752,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -211846,6 +212350,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -212107,6 +212621,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'accessory_keypad_low_battery' } + | { + /** 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: 'battery_replacement_recommended' + } | { /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -218085,6 +218607,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string @@ -218547,6 +219079,16 @@ export type Routes = { /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'august_lock_not_authorized' } + | { + /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Indicates that the error is a device error. */ + is_device_error: true + /** Date and time at which Seam created the error. */ + created_at: string + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'low_battery' + } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ message: string