Skip to content

Commit 779071b

Browse files
authored
feat: Sync with Seam API via cd279bf3a9d13e6f80b77f1db5e0012390948290 (#2576)
1 parent dac1ed4 commit 779071b

File tree

3 files changed

+0
-222
lines changed

3 files changed

+0
-222
lines changed

src/lib/seam/connect/models/devices/device.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,6 @@ const wyze_device_missing_gateway = common_device_warning.extend({
316316
Indicates that the Wyze Lock is not connected to a gateway.
317317
`)
318318

319-
const functional_offline_device = common_device_warning
320-
.extend({
321-
warning_code: z
322-
.literal('functional_offline_device')
323-
.describe(warning_code_description),
324-
})
325-
.describe(
326-
'Indicates that the device is offline but has some functionality available.',
327-
)
328-
329319
const third_party_integration_detected = common_device_warning
330320
.extend({
331321
warning_code: z
@@ -446,7 +436,6 @@ const device_warning = z.discriminatedUnion('warning_code', [
446436
partial_backup_access_code_pool,
447437
many_active_backup_codes,
448438
wyze_device_missing_gateway,
449-
functional_offline_device,
450439
third_party_integration_detected,
451440
ttlock_lock_gateway_unlocking_not_enabled,
452441
ttlock_weak_gateway_signal,
@@ -481,7 +470,6 @@ const _device_warning_map = z.object({
481470
wyze_device_missing_gateway: wyze_device_missing_gateway
482471
.optional()
483472
.nullable(),
484-
functional_offline_device: functional_offline_device.optional().nullable(),
485473
third_party_integration_detected: third_party_integration_detected
486474
.optional()
487475
.nullable(),

src/lib/seam/connect/openapi.ts

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -13045,31 +13045,6 @@ export default {
1304513045
required: ['message', 'created_at', 'warning_code'],
1304613046
type: 'object',
1304713047
},
13048-
{
13049-
description:
13050-
'Indicates that the device is offline but has some functionality available.',
13051-
properties: {
13052-
created_at: {
13053-
description:
13054-
'Date and time at which Seam created the warning.',
13055-
format: 'date-time',
13056-
type: 'string',
13057-
},
13058-
message: {
13059-
description:
13060-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13061-
type: 'string',
13062-
},
13063-
warning_code: {
13064-
description:
13065-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13066-
enum: ['functional_offline_device'],
13067-
type: 'string',
13068-
},
13069-
},
13070-
required: ['message', 'created_at', 'warning_code'],
13071-
type: 'object',
13072-
},
1307313048
{
1307413049
description:
1307513050
'Indicates that a third-party integration has been detected.',
@@ -25680,31 +25655,6 @@ export default {
2568025655
required: ['message', 'created_at', 'warning_code'],
2568125656
type: 'object',
2568225657
},
25683-
{
25684-
description:
25685-
'Indicates that the device is offline but has some functionality available.',
25686-
properties: {
25687-
created_at: {
25688-
description:
25689-
'Date and time at which Seam created the warning.',
25690-
format: 'date-time',
25691-
type: 'string',
25692-
},
25693-
message: {
25694-
description:
25695-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
25696-
type: 'string',
25697-
},
25698-
warning_code: {
25699-
description:
25700-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
25701-
enum: ['functional_offline_device'],
25702-
type: 'string',
25703-
},
25704-
},
25705-
required: ['message', 'created_at', 'warning_code'],
25706-
type: 'object',
25707-
},
2570825658
{
2570925659
description:
2571025660
'Indicates that a third-party integration has been detected.',

0 commit comments

Comments
 (0)