@seamapi/types 1.934.0 → 1.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +6 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +46 -0
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.js +4 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +5 -0
- package/src/lib/seam/connect/route-types.ts +34 -0
package/dist/connect.d.cts
CHANGED
|
@@ -15788,6 +15788,7 @@ declare const device: z.ZodObject<{
|
|
|
15788
15788
|
omnitec_metadata: z.ZodOptional<z.ZodObject<{
|
|
15789
15789
|
lock_id: z.ZodNumber;
|
|
15790
15790
|
lock_name: z.ZodString;
|
|
15791
|
+
lock_alias: z.ZodOptional<z.ZodString>;
|
|
15791
15792
|
lock_mac: z.ZodString;
|
|
15792
15793
|
has_gateway: z.ZodBoolean;
|
|
15793
15794
|
timezone_raw_offset_ms: z.ZodNumber;
|
|
@@ -15797,12 +15798,14 @@ declare const device: z.ZodObject<{
|
|
|
15797
15798
|
has_gateway: boolean;
|
|
15798
15799
|
timezone_raw_offset_ms: number;
|
|
15799
15800
|
lock_mac: string;
|
|
15801
|
+
lock_alias?: string | undefined;
|
|
15800
15802
|
}, {
|
|
15801
15803
|
lock_id: number;
|
|
15802
15804
|
lock_name: string;
|
|
15803
15805
|
has_gateway: boolean;
|
|
15804
15806
|
timezone_raw_offset_ms: number;
|
|
15805
15807
|
lock_mac: string;
|
|
15808
|
+
lock_alias?: string | undefined;
|
|
15806
15809
|
}>>;
|
|
15807
15810
|
tado_metadata: z.ZodOptional<z.ZodObject<{
|
|
15808
15811
|
serial_no: z.ZodString;
|
|
@@ -16200,6 +16203,7 @@ declare const device: z.ZodObject<{
|
|
|
16200
16203
|
has_gateway: boolean;
|
|
16201
16204
|
timezone_raw_offset_ms: number;
|
|
16202
16205
|
lock_mac: string;
|
|
16206
|
+
lock_alias?: string | undefined;
|
|
16203
16207
|
} | undefined;
|
|
16204
16208
|
tado_metadata?: {
|
|
16205
16209
|
serial_no: string;
|
|
@@ -16493,6 +16497,7 @@ declare const device: z.ZodObject<{
|
|
|
16493
16497
|
has_gateway: boolean;
|
|
16494
16498
|
timezone_raw_offset_ms: number;
|
|
16495
16499
|
lock_mac: string;
|
|
16500
|
+
lock_alias?: string | undefined;
|
|
16496
16501
|
} | undefined;
|
|
16497
16502
|
tado_metadata?: {
|
|
16498
16503
|
serial_no: string;
|
|
@@ -18712,6 +18717,7 @@ declare const device: z.ZodObject<{
|
|
|
18712
18717
|
has_gateway: boolean;
|
|
18713
18718
|
timezone_raw_offset_ms: number;
|
|
18714
18719
|
lock_mac: string;
|
|
18720
|
+
lock_alias?: string | undefined;
|
|
18715
18721
|
} | undefined;
|
|
18716
18722
|
tado_metadata?: {
|
|
18717
18723
|
serial_no: string;
|
|
@@ -19501,6 +19507,7 @@ declare const device: z.ZodObject<{
|
|
|
19501
19507
|
has_gateway: boolean;
|
|
19502
19508
|
timezone_raw_offset_ms: number;
|
|
19503
19509
|
lock_mac: string;
|
|
19510
|
+
lock_alias?: string | undefined;
|
|
19504
19511
|
} | undefined;
|
|
19505
19512
|
tado_metadata?: {
|
|
19506
19513
|
serial_no: string;
|
|
@@ -20880,6 +20887,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
20880
20887
|
omnitec_metadata: z.ZodOptional<z.ZodObject<{
|
|
20881
20888
|
lock_id: z.ZodNumber;
|
|
20882
20889
|
lock_name: z.ZodString;
|
|
20890
|
+
lock_alias: z.ZodOptional<z.ZodString>;
|
|
20883
20891
|
lock_mac: z.ZodString;
|
|
20884
20892
|
has_gateway: z.ZodBoolean;
|
|
20885
20893
|
timezone_raw_offset_ms: z.ZodNumber;
|
|
@@ -20889,12 +20897,14 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
20889
20897
|
has_gateway: boolean;
|
|
20890
20898
|
timezone_raw_offset_ms: number;
|
|
20891
20899
|
lock_mac: string;
|
|
20900
|
+
lock_alias?: string | undefined;
|
|
20892
20901
|
}, {
|
|
20893
20902
|
lock_id: number;
|
|
20894
20903
|
lock_name: string;
|
|
20895
20904
|
has_gateway: boolean;
|
|
20896
20905
|
timezone_raw_offset_ms: number;
|
|
20897
20906
|
lock_mac: string;
|
|
20907
|
+
lock_alias?: string | undefined;
|
|
20898
20908
|
}>>;
|
|
20899
20909
|
tado_metadata: z.ZodOptional<z.ZodObject<{
|
|
20900
20910
|
serial_no: z.ZodString;
|
|
@@ -21292,6 +21302,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
21292
21302
|
has_gateway: boolean;
|
|
21293
21303
|
timezone_raw_offset_ms: number;
|
|
21294
21304
|
lock_mac: string;
|
|
21305
|
+
lock_alias?: string | undefined;
|
|
21295
21306
|
} | undefined;
|
|
21296
21307
|
tado_metadata?: {
|
|
21297
21308
|
serial_no: string;
|
|
@@ -21585,6 +21596,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
21585
21596
|
has_gateway: boolean;
|
|
21586
21597
|
timezone_raw_offset_ms: number;
|
|
21587
21598
|
lock_mac: string;
|
|
21599
|
+
lock_alias?: string | undefined;
|
|
21588
21600
|
} | undefined;
|
|
21589
21601
|
tado_metadata?: {
|
|
21590
21602
|
serial_no: string;
|
|
@@ -42289,6 +42301,8 @@ type Routes = {
|
|
|
42289
42301
|
lock_id: number;
|
|
42290
42302
|
/** Lock name for an Omnitec device. */
|
|
42291
42303
|
lock_name: string;
|
|
42304
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
42305
|
+
lock_alias?: string | undefined;
|
|
42292
42306
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
42293
42307
|
lock_mac: string;
|
|
42294
42308
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -49000,6 +49014,8 @@ type Routes = {
|
|
|
49000
49014
|
lock_id: number;
|
|
49001
49015
|
/** Lock name for an Omnitec device. */
|
|
49002
49016
|
lock_name: string;
|
|
49017
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
49018
|
+
lock_alias?: string | undefined;
|
|
49003
49019
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
49004
49020
|
lock_mac: string;
|
|
49005
49021
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -71483,6 +71499,8 @@ type Routes = {
|
|
|
71483
71499
|
lock_id: number;
|
|
71484
71500
|
/** Lock name for an Omnitec device. */
|
|
71485
71501
|
lock_name: string;
|
|
71502
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
71503
|
+
lock_alias?: string | undefined;
|
|
71486
71504
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
71487
71505
|
lock_mac: string;
|
|
71488
71506
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -72988,6 +73006,8 @@ type Routes = {
|
|
|
72988
73006
|
lock_id: number;
|
|
72989
73007
|
/** Lock name for an Omnitec device. */
|
|
72990
73008
|
lock_name: string;
|
|
73009
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
73010
|
+
lock_alias?: string | undefined;
|
|
72991
73011
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
72992
73012
|
lock_mac: string;
|
|
72993
73013
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -83560,6 +83580,8 @@ type Routes = {
|
|
|
83560
83580
|
lock_id: number;
|
|
83561
83581
|
/** Lock name for an Omnitec device. */
|
|
83562
83582
|
lock_name: string;
|
|
83583
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
83584
|
+
lock_alias?: string | undefined;
|
|
83563
83585
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
83564
83586
|
lock_mac: string;
|
|
83565
83587
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -85015,6 +85037,8 @@ type Routes = {
|
|
|
85015
85037
|
lock_id: number;
|
|
85016
85038
|
/** Lock name for an Omnitec device. */
|
|
85017
85039
|
lock_name: string;
|
|
85040
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
85041
|
+
lock_alias?: string | undefined;
|
|
85018
85042
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
85019
85043
|
lock_mac: string;
|
|
85020
85044
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -86520,6 +86544,8 @@ type Routes = {
|
|
|
86520
86544
|
lock_id: number;
|
|
86521
86545
|
/** Lock name for an Omnitec device. */
|
|
86522
86546
|
lock_name: string;
|
|
86547
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
86548
|
+
lock_alias?: string | undefined;
|
|
86523
86549
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
86524
86550
|
lock_mac: string;
|
|
86525
86551
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -87974,6 +88000,8 @@ type Routes = {
|
|
|
87974
88000
|
lock_id: number;
|
|
87975
88001
|
/** Lock name for an Omnitec device. */
|
|
87976
88002
|
lock_name: string;
|
|
88003
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
88004
|
+
lock_alias?: string | undefined;
|
|
87977
88005
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
87978
88006
|
lock_mac: string;
|
|
87979
88007
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -96205,6 +96233,8 @@ type Routes = {
|
|
|
96205
96233
|
lock_id: number;
|
|
96206
96234
|
/** Lock name for an Omnitec device. */
|
|
96207
96235
|
lock_name: string;
|
|
96236
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
96237
|
+
lock_alias?: string | undefined;
|
|
96208
96238
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
96209
96239
|
lock_mac: string;
|
|
96210
96240
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -97659,6 +97689,8 @@ type Routes = {
|
|
|
97659
97689
|
lock_id: number;
|
|
97660
97690
|
/** Lock name for an Omnitec device. */
|
|
97661
97691
|
lock_name: string;
|
|
97692
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
97693
|
+
lock_alias?: string | undefined;
|
|
97662
97694
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
97663
97695
|
lock_mac: string;
|
|
97664
97696
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -113182,6 +113214,8 @@ type Routes = {
|
|
|
113182
113214
|
lock_id: number;
|
|
113183
113215
|
/** Lock name for an Omnitec device. */
|
|
113184
113216
|
lock_name: string;
|
|
113217
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
113218
|
+
lock_alias?: string | undefined;
|
|
113185
113219
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
113186
113220
|
lock_mac: string;
|
|
113187
113221
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -120644,6 +120678,8 @@ type Routes = {
|
|
|
120644
120678
|
lock_id: number;
|
|
120645
120679
|
/** Lock name for an Omnitec device. */
|
|
120646
120680
|
lock_name: string;
|
|
120681
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
120682
|
+
lock_alias?: string | undefined;
|
|
120647
120683
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
120648
120684
|
lock_mac: string;
|
|
120649
120685
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -125525,6 +125561,8 @@ type Routes = {
|
|
|
125525
125561
|
lock_id: number;
|
|
125526
125562
|
/** Lock name for an Omnitec device. */
|
|
125527
125563
|
lock_name: string;
|
|
125564
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
125565
|
+
lock_alias?: string | undefined;
|
|
125528
125566
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
125529
125567
|
lock_mac: string;
|
|
125530
125568
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -126979,6 +127017,8 @@ type Routes = {
|
|
|
126979
127017
|
lock_id: number;
|
|
126980
127018
|
/** Lock name for an Omnitec device. */
|
|
126981
127019
|
lock_name: string;
|
|
127020
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
127021
|
+
lock_alias?: string | undefined;
|
|
126982
127022
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
126983
127023
|
lock_mac: string;
|
|
126984
127024
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -136149,6 +136189,8 @@ type Routes = {
|
|
|
136149
136189
|
lock_id: number;
|
|
136150
136190
|
/** Lock name for an Omnitec device. */
|
|
136151
136191
|
lock_name: string;
|
|
136192
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
136193
|
+
lock_alias?: string | undefined;
|
|
136152
136194
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
136153
136195
|
lock_mac: string;
|
|
136154
136196
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -137605,6 +137647,8 @@ type Routes = {
|
|
|
137605
137647
|
lock_id: number;
|
|
137606
137648
|
/** Lock name for an Omnitec device. */
|
|
137607
137649
|
lock_name: string;
|
|
137650
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
137651
|
+
lock_alias?: string | undefined;
|
|
137608
137652
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
137609
137653
|
lock_mac: string;
|
|
137610
137654
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
|
@@ -140316,6 +140360,8 @@ type Routes = {
|
|
|
140316
140360
|
lock_id: number;
|
|
140317
140361
|
/** Lock name for an Omnitec device. */
|
|
140318
140362
|
lock_name: string;
|
|
140363
|
+
/** Operator-assigned alias for an Omnitec device. */
|
|
140364
|
+
lock_alias?: string | undefined;
|
|
140319
140365
|
/** Bluetooth MAC address for an Omnitec device. */
|
|
140320
140366
|
lock_mac: string;
|
|
140321
140367
|
/** Whether the Omnitec lock has a connected gateway for remote operations. */
|
package/dist/index.cjs
CHANGED
|
@@ -1173,6 +1173,7 @@ var device_metadata = zod.z.object({
|
|
|
1173
1173
|
omnitec_metadata: zod.z.object({
|
|
1174
1174
|
lock_id: zod.z.number().describe(`Lock ID for an Omnitec device.`),
|
|
1175
1175
|
lock_name: zod.z.string().describe(`Lock name for an Omnitec device.`),
|
|
1176
|
+
lock_alias: zod.z.string().optional().describe(`Operator-assigned alias for an Omnitec device.`),
|
|
1176
1177
|
lock_mac: zod.z.string().describe(`Bluetooth MAC address for an Omnitec device.`),
|
|
1177
1178
|
has_gateway: zod.z.boolean().describe(
|
|
1178
1179
|
`Whether the Omnitec lock has a connected gateway for remote operations.`
|
|
@@ -2283,6 +2284,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2283
2284
|
"nest",
|
|
2284
2285
|
"tedee",
|
|
2285
2286
|
"honeywell_resideo",
|
|
2287
|
+
"first_alert",
|
|
2286
2288
|
"visionline",
|
|
2287
2289
|
"assa_abloy_credential_service",
|
|
2288
2290
|
"dormakaba_ambiance",
|
|
@@ -2296,7 +2298,6 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2296
2298
|
"ultraloq",
|
|
2297
2299
|
"dormakaba_oracode",
|
|
2298
2300
|
"ring",
|
|
2299
|
-
"first_alert",
|
|
2300
2301
|
"korelock",
|
|
2301
2302
|
"keyincode",
|
|
2302
2303
|
"sifely",
|
|
@@ -20753,6 +20754,10 @@ var openapi = {
|
|
|
20753
20754
|
description: "Whether the Omnitec lock has a connected gateway for remote operations.",
|
|
20754
20755
|
type: "boolean"
|
|
20755
20756
|
},
|
|
20757
|
+
lock_alias: {
|
|
20758
|
+
description: "Operator-assigned alias for an Omnitec device.",
|
|
20759
|
+
type: "string"
|
|
20760
|
+
},
|
|
20756
20761
|
lock_id: {
|
|
20757
20762
|
description: "Lock ID for an Omnitec device.",
|
|
20758
20763
|
format: "float",
|