Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot authored Dec 5, 2024
1 parent 2a3a08c commit 4a30919
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 50 deletions.
2 changes: 1 addition & 1 deletion src/lib/seam/connect/models/acs/acs-access-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { z } from 'zod'
export const acs_access_group_external_type = z.enum([
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
])

Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/models/acs/acs-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const acs_system_external_type = z.enum([
'pti_site',
'alta_org',
'salto_ks_site',
'salto_space_system',
'brivo_account',
'hid_credential_manager_organization',
'visionline_system',
Expand Down
3 changes: 1 addition & 2 deletions src/lib/seam/connect/models/devices/device-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@ export const device_metadata = z
}),

tado_metadata: z.object({
serial_number: z.string(),
device_name: z.string(),
serial_no: z.string(),
device_type: z.string(),
}),
})
Expand Down
2 changes: 2 additions & 0 deletions src/lib/seam/connect/models/devices/device-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const DEVICE_PROVIDERS = {
VOSTIO: 'assa_abloy_vostio',
ASSA_ABLOY_VOSTIO_CREDENTIAL_SERVICE: 'assa_abloy_vostio_credential_service',
TADO: 'tado',
SALTO_SPACE: 'salto_space',
} as const

export type DeviceProviderName =
Expand Down Expand Up @@ -113,6 +114,7 @@ export const PROVIDER_CATEGORY_MAP = {
'salto_ks',
'assa_abloy_vostio',
'assa_abloy_vostio_credential_service',
'salto_space',
],

internal_beta: ALL_DEVICE_PROVIDERS,
Expand Down
25 changes: 12 additions & 13 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default {
enum: [
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
],
type: 'string',
Expand Down Expand Up @@ -228,7 +228,7 @@ export default {
enum: [
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
],
type: 'string',
Expand Down Expand Up @@ -912,6 +912,7 @@ export default {
'pti_site',
'alta_org',
'salto_ks_site',
'salto_space_system',
'brivo_account',
'hid_credential_manager_organization',
'visionline_system',
Expand Down Expand Up @@ -960,6 +961,7 @@ export default {
'pti_site',
'alta_org',
'salto_ks_site',
'salto_space_system',
'brivo_account',
'hid_credential_manager_organization',
'visionline_system',
Expand Down Expand Up @@ -5132,15 +5134,10 @@ export default {
},
tado_metadata: {
properties: {
device_name: { type: 'string' },
device_type: { type: 'string' },
serial_number: { type: 'string' },
serial_no: { type: 'string' },
},
required: [
'serial_number',
'device_name',
'device_type',
],
required: ['serial_no', 'device_type'],
type: 'object',
},
tedee_metadata: {
Expand Down Expand Up @@ -5854,6 +5851,7 @@ export default {
'assa_abloy_vostio',
'assa_abloy_vostio_credential_service',
'tado',
'salto_space',
],
type: 'string',
},
Expand Down Expand Up @@ -8500,7 +8498,7 @@ export default {
enum: [
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
],
type: 'string',
Expand Down Expand Up @@ -8535,7 +8533,7 @@ export default {
enum: [
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
],
type: 'string',
Expand Down Expand Up @@ -8641,7 +8639,7 @@ export default {
enum: [
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
],
type: 'string',
Expand Down Expand Up @@ -8676,7 +8674,7 @@ export default {
enum: [
'pti_unit',
'pti_access_level',
'salto_access_group',
'salto_ks_access_group',
'brivo_group',
],
type: 'string',
Expand Down Expand Up @@ -13495,6 +13493,7 @@ export default {
'assa_abloy_vostio',
'assa_abloy_vostio_credential_service',
'tado',
'salto_space',
'yale_access',
'hid_cm',
'google_nest',
Expand Down
Loading

0 comments on commit 4a30919

Please sign in to comment.