Skip to content

Commit 1ea2b49

Browse files
authored
feat: Sync with Seam API via 3764c2d48c7db204c8f428ca0bde69a421d32fe7 (#2478)
1 parent eec3fb5 commit 1ea2b49

File tree

4 files changed

+149
-0
lines changed

4 files changed

+149
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,11 @@ export const device_metadata = z
684684
})
685685
.partial()
686686
.describe(`Metadata for a KeyNest device.`),
687+
ultraloq_metadata: z
688+
.object({
689+
device_id: z.string().describe(`Device ID for a Ultraloq device.`),
690+
})
691+
.describe(`Metadata for a Ultraloq device.`),
687692
})
688693
.partial().describe(`
689694
---

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const DEVICE_PROVIDERS = {
5353
KWIKSET2: 'kwikset2',
5454
KEYNEST: 'keynest',
5555
DORMAKABA_AMBIANCE: 'dormakaba_ambiance',
56+
ULTRALOQ: 'ultraloq',
5657
} as const
5758

5859
export type DeviceProviderName =

src/lib/seam/connect/openapi.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11494,6 +11494,17 @@ export default {
1149411494
required: ['device_id', 'device_name'],
1149511495
type: 'object',
1149611496
},
11497+
ultraloq_metadata: {
11498+
description: 'Metadata for a Ultraloq device.',
11499+
properties: {
11500+
device_id: {
11501+
description: 'Device ID for a Ultraloq device.',
11502+
type: 'string',
11503+
},
11504+
},
11505+
required: ['device_id'],
11506+
type: 'object',
11507+
},
1149711508
visionline_metadata: {
1149811509
description:
1149911510
'Metadata for an ASSA ABLOY Visionline system.',
@@ -13147,6 +13158,7 @@ export default {
1314713158
'kwikset2',
1314813159
'keynest',
1314913160
'dormakaba_ambiance',
13161+
'ultraloq',
1315013162
],
1315113163
type: 'string',
1315213164
},
@@ -39454,6 +39466,7 @@ export default {
3945439466
'kwikset2',
3945539467
'keynest',
3945639468
'dormakaba_ambiance',
39469+
'ultraloq',
3945739470
'yale_access',
3945839471
'hid_cm',
3945939472
'google_nest',
@@ -43119,6 +43132,7 @@ export default {
4311943132
'sensi',
4312043133
'smartthings',
4312143134
'keynest',
43135+
'ultraloq',
4312243136
],
4312343137
type: 'string',
4312443138
},
@@ -43617,6 +43631,7 @@ export default {
4361743631
'sensi',
4361843632
'smartthings',
4361943633
'keynest',
43634+
'ultraloq',
4362043635
],
4362143636
type: 'string',
4362243637
},
@@ -44480,6 +44495,7 @@ export default {
4448044495
'sensi',
4448144496
'smartthings',
4448244497
'keynest',
44498+
'ultraloq',
4448344499
],
4448444500
type: 'string',
4448544501
},
@@ -44976,6 +44992,7 @@ export default {
4497644992
'sensi',
4497744993
'smartthings',
4497844994
'keynest',
44995+
'ultraloq',
4497944996
],
4498044997
type: 'string',
4498144998
},
@@ -46825,6 +46842,7 @@ export default {
4682546842
'akiles',
4682646843
'kwikset2',
4682746844
'smartthings',
46845+
'ultraloq',
4682846846
],
4682946847
type: 'string',
4683046848
},
@@ -47246,6 +47264,7 @@ export default {
4724647264
'akiles',
4724747265
'kwikset2',
4724847266
'smartthings',
47267+
'ultraloq',
4724947268
],
4725047269
type: 'string',
4725147270
},

src/lib/seam/connect/route-types.ts

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12085,6 +12085,13 @@ export type Routes = {
1208512085
has_photo?: boolean | undefined
1208612086
}
1208712087
| undefined
12088+
/** Metadata for a Ultraloq device. */
12089+
ultraloq_metadata?:
12090+
| {
12091+
/** Device ID for a Ultraloq device. */
12092+
device_id: string
12093+
}
12094+
| undefined
1208812095
}) &
1208912096
({
1209012097
/** */
@@ -16167,6 +16174,13 @@ export type Routes = {
1616716174
has_photo?: boolean | undefined
1616816175
}
1616916176
| undefined
16177+
/** Metadata for a Ultraloq device. */
16178+
ultraloq_metadata?:
16179+
| {
16180+
/** Device ID for a Ultraloq device. */
16181+
device_id: string
16182+
}
16183+
| undefined
1617016184
}) &
1617116185
({
1617216186
/** */
@@ -35694,6 +35708,7 @@ export type Routes = {
3569435708
| 'kwikset2'
3569535709
| 'keynest'
3569635710
| 'dormakaba_ambiance'
35711+
| 'ultraloq'
3569735712
| 'yale_access'
3569835713
| 'hid_cm'
3569935714
| 'google_nest'
@@ -38000,6 +38015,13 @@ export type Routes = {
3800038015
has_photo?: boolean | undefined
3800138016
}
3800238017
| undefined
38018+
/** Metadata for a Ultraloq device. */
38019+
ultraloq_metadata?:
38020+
| {
38021+
/** Device ID for a Ultraloq device. */
38022+
device_id: string
38023+
}
38024+
| undefined
3800338025
}) &
3800438026
({
3800538027
/** */
@@ -38937,6 +38959,7 @@ export type Routes = {
3893738959
| 'sensi'
3893838960
| 'smartthings'
3893938961
| 'keynest'
38962+
| 'ultraloq'
3894038963
)
3894138964
| undefined
3894238965
/** Array of device IDs for which you want to list devices. */
@@ -39738,6 +39761,13 @@ export type Routes = {
3973839761
has_photo?: boolean | undefined
3973939762
}
3974039763
| undefined
39764+
/** Metadata for a Ultraloq device. */
39765+
ultraloq_metadata?:
39766+
| {
39767+
/** Device ID for a Ultraloq device. */
39768+
device_id: string
39769+
}
39770+
| undefined
3974139771
}) &
3974239772
({
3974339773
/** */
@@ -40607,6 +40637,7 @@ export type Routes = {
4060740637
| 'kwikset2'
4060840638
| 'keynest'
4060940639
| 'dormakaba_ambiance'
40640+
| 'ultraloq'
4061040641
display_name: string
4061140642
image_url: string
4061240643
provider_categories: (
@@ -41347,6 +41378,7 @@ export type Routes = {
4134741378
| 'sensi'
4134841379
| 'smartthings'
4134941380
| 'keynest'
41381+
| 'ultraloq'
4135041382
)
4135141383
| undefined
4135241384
/** Array of device IDs for which you want to list devices. */
@@ -47509,6 +47541,13 @@ export type Routes = {
4750947541
has_photo?: boolean | undefined
4751047542
}
4751147543
| undefined
47544+
/** Metadata for a Ultraloq device. */
47545+
ultraloq_metadata?:
47546+
| {
47547+
/** Device ID for a Ultraloq device. */
47548+
device_id: string
47549+
}
47550+
| undefined
4751247551
}) &
4751347552
({
4751447553
/** */
@@ -49023,6 +49062,13 @@ export type Routes = {
4902349062
has_photo?: boolean | undefined
4902449063
}
4902549064
| undefined
49065+
/** Metadata for a Ultraloq device. */
49066+
ultraloq_metadata?:
49067+
| {
49068+
/** Device ID for a Ultraloq device. */
49069+
device_id: string
49070+
}
49071+
| undefined
4902649072
}) &
4902749073
({
4902849074
/** */
@@ -49922,6 +49968,7 @@ export type Routes = {
4992249968
| 'akiles'
4992349969
| 'kwikset2'
4992449970
| 'smartthings'
49971+
| 'ultraloq'
4992549972
)
4992649973
| undefined
4992749974
/** Array of device IDs for which you want to list devices. */
@@ -50723,6 +50770,13 @@ export type Routes = {
5072350770
has_photo?: boolean | undefined
5072450771
}
5072550772
| undefined
50773+
/** Metadata for a Ultraloq device. */
50774+
ultraloq_metadata?:
50775+
| {
50776+
/** Device ID for a Ultraloq device. */
50777+
device_id: string
50778+
}
50779+
| undefined
5072650780
}) &
5072750781
({
5072850782
/** */
@@ -52236,6 +52290,13 @@ export type Routes = {
5223652290
has_photo?: boolean | undefined
5223752291
}
5223852292
| undefined
52293+
/** Metadata for a Ultraloq device. */
52294+
ultraloq_metadata?:
52295+
| {
52296+
/** Device ID for a Ultraloq device. */
52297+
device_id: string
52298+
}
52299+
| undefined
5223952300
}) &
5224052301
({
5224152302
/** */
@@ -59639,6 +59700,13 @@ export type Routes = {
5963959700
has_photo?: boolean | undefined
5964059701
}
5964159702
| undefined
59703+
/** Metadata for a Ultraloq device. */
59704+
ultraloq_metadata?:
59705+
| {
59706+
/** Device ID for a Ultraloq device. */
59707+
device_id: string
59708+
}
59709+
| undefined
5964259710
}) &
5964359711
({
5964459712
/** */
@@ -61152,6 +61220,13 @@ export type Routes = {
6115261220
has_photo?: boolean | undefined
6115361221
}
6115461222
| undefined
61223+
/** Metadata for a Ultraloq device. */
61224+
ultraloq_metadata?:
61225+
| {
61226+
/** Device ID for a Ultraloq device. */
61227+
device_id: string
61228+
}
61229+
| undefined
6115561230
}) &
6115661231
({
6115761232
/** */
@@ -71634,6 +71709,13 @@ export type Routes = {
7163471709
has_photo?: boolean | undefined
7163571710
}
7163671711
| undefined
71712+
/** Metadata for a Ultraloq device. */
71713+
ultraloq_metadata?:
71714+
| {
71715+
/** Device ID for a Ultraloq device. */
71716+
device_id: string
71717+
}
71718+
| undefined
7163771719
}) &
7163871720
({
7163971721
/** */
@@ -78248,6 +78330,13 @@ export type Routes = {
7824878330
has_photo?: boolean | undefined
7824978331
}
7825078332
| undefined
78333+
/** Metadata for a Ultraloq device. */
78334+
ultraloq_metadata?:
78335+
| {
78336+
/** Device ID for a Ultraloq device. */
78337+
device_id: string
78338+
}
78339+
| undefined
7825178340
}) &
7825278341
({
7825378342
/** */
@@ -82794,6 +82883,13 @@ export type Routes = {
8279482883
has_photo?: boolean | undefined
8279582884
}
8279682885
| undefined
82886+
/** Metadata for a Ultraloq device. */
82887+
ultraloq_metadata?:
82888+
| {
82889+
/** Device ID for a Ultraloq device. */
82890+
device_id: string
82891+
}
82892+
| undefined
8279782893
}) &
8279882894
({
8279982895
/** */
@@ -84307,6 +84403,13 @@ export type Routes = {
8430784403
has_photo?: boolean | undefined
8430884404
}
8430984405
| undefined
84406+
/** Metadata for a Ultraloq device. */
84407+
ultraloq_metadata?:
84408+
| {
84409+
/** Device ID for a Ultraloq device. */
84410+
device_id: string
84411+
}
84412+
| undefined
8431084413
}) &
8431184414
({
8431284415
/** */
@@ -92571,6 +92674,13 @@ export type Routes = {
9257192674
has_photo?: boolean | undefined
9257292675
}
9257392676
| undefined
92677+
/** Metadata for a Ultraloq device. */
92678+
ultraloq_metadata?:
92679+
| {
92680+
/** Device ID for a Ultraloq device. */
92681+
device_id: string
92682+
}
92683+
| undefined
9257492684
}) &
9257592685
({
9257692686
/** */
@@ -94086,6 +94196,13 @@ export type Routes = {
9408694196
has_photo?: boolean | undefined
9408794197
}
9408894198
| undefined
94199+
/** Metadata for a Ultraloq device. */
94200+
ultraloq_metadata?:
94201+
| {
94202+
/** Device ID for a Ultraloq device. */
94203+
device_id: string
94204+
}
94205+
| undefined
9408994206
}) &
9409094207
({
9409194208
/** */
@@ -96608,6 +96725,13 @@ export type Routes = {
9660896725
has_photo?: boolean | undefined
9660996726
}
9661096727
| undefined
96728+
/** Metadata for a Ultraloq device. */
96729+
ultraloq_metadata?:
96730+
| {
96731+
/** Device ID for a Ultraloq device. */
96732+
device_id: string
96733+
}
96734+
| undefined
9661196735
}) &
9661296736
({
9661396737
/** */

0 commit comments

Comments
 (0)