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
15 changes: 15 additions & 0 deletions src/lib/seam/connect/models/devices/device-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,21 @@ export const device_metadata = z
})
.describe(`Metadata for an ASSA ABLOY Vostio system.`),

omnitec_metadata: z
.object({
lock_id: z.number().describe(`Lock ID for an Omnitec device.`),
lock_name: z.string().describe(`Lock name for an Omnitec device.`),
lock_mac: z
.string()
.describe(`Bluetooth MAC address for an Omnitec device.`),
has_gateway: z
.boolean()
.describe(
`Whether the Omnitec lock has a connected gateway for remote operations.`,
),
})
.describe(`Metadata for an Omnitec device.`),

tado_metadata: z
.object({
serial_no: z.string().describe(`Serial number for a tado° device.`),
Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/models/devices/device-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const DEVICE_PROVIDERS = {
LODGIFY: 'lodgify',
HOSTAWAY: 'hostaway',
ACUITY_SCHEDULING: 'acuity_scheduling',
OMNITEC: 'omnitec',
} as const

export type DeviceProviderName =
Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/models/devices/device-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const LOCK_DEVICE_TYPE = {
AKILES_LOCK: 'akiles_lock',
ULTRALOQ_LOCK: 'ultraloq_lock',
KORELOCK_LOCK: 'korelock_lock',
OMNITEC_LOCK: 'omnitec_lock',
} as const

type LockDeviceTypeFromMapping =
Expand Down
53 changes: 53 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12435,6 +12435,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -14204,6 +14205,37 @@ const openapi: OpenAPISpec = {
required: ['device_id', 'device_name'],
type: 'object',
},
omnitec_metadata: {
description: 'Metadata for an Omnitec device.',
properties: {
has_gateway: {
description:
'Whether the Omnitec lock has a connected gateway for remote operations.',
type: 'boolean',
},
lock_id: {
description: 'Lock ID for an Omnitec device.',
format: 'float',
type: 'number',
},
lock_mac: {
description:
'Bluetooth MAC address for an Omnitec device.',
type: 'string',
},
lock_name: {
description: 'Lock name for an Omnitec device.',
type: 'string',
},
},
required: [
'lock_id',
'lock_name',
'lock_mac',
'has_gateway',
],
type: 'object',
},
ring_metadata: {
description: 'Metadata for a Ring device.',
properties: {
Expand Down Expand Up @@ -16502,6 +16534,7 @@ const openapi: OpenAPISpec = {
'lodgify',
'hostaway',
'acuity_scheduling',
'omnitec',
],
type: 'string',
},
Expand Down Expand Up @@ -30967,6 +31000,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -50612,6 +50646,7 @@ const openapi: OpenAPISpec = {
'lodgify',
'hostaway',
'acuity_scheduling',
'omnitec',
'yale_access',
'hid_cm',
'google_nest',
Expand Down Expand Up @@ -54770,6 +54805,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -54846,6 +54882,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -54938,6 +54975,7 @@ const openapi: OpenAPISpec = {
'lodgify',
'hostaway',
'acuity_scheduling',
'omnitec',
],
type: 'string',
},
Expand Down Expand Up @@ -55226,6 +55264,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -55300,6 +55339,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -55456,6 +55496,7 @@ const openapi: OpenAPISpec = {
'lodgify',
'hostaway',
'acuity_scheduling',
'omnitec',
],
type: 'string',
},
Expand Down Expand Up @@ -57121,6 +57162,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -57197,6 +57239,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -57289,6 +57332,7 @@ const openapi: OpenAPISpec = {
'lodgify',
'hostaway',
'acuity_scheduling',
'omnitec',
],
type: 'string',
},
Expand Down Expand Up @@ -57576,6 +57620,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -57650,6 +57695,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -57806,6 +57852,7 @@ const openapi: OpenAPISpec = {
'lodgify',
'hostaway',
'acuity_scheduling',
'omnitec',
],
type: 'string',
},
Expand Down Expand Up @@ -59890,6 +59937,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -59929,6 +59977,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -59970,6 +60019,7 @@ const openapi: OpenAPISpec = {
'korelock',
'smartthings',
'ultraloq',
'omnitec',
],
type: 'string',
},
Expand Down Expand Up @@ -60257,6 +60307,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -60293,6 +60344,7 @@ const openapi: OpenAPISpec = {
'akiles_lock',
'ultraloq_lock',
'korelock_lock',
'omnitec_lock',
],
type: 'string',
},
Expand Down Expand Up @@ -60396,6 +60448,7 @@ const openapi: OpenAPISpec = {
'korelock',
'smartthings',
'ultraloq',
'omnitec',
],
type: 'string',
},
Expand Down
Loading
Loading