Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/lib/seam/connect/models/devices/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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(),
Expand Down
50 changes: 0 additions & 50 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down Expand Up @@ -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.',
Expand Down
Loading