@seamapi/types 1.656.0 → 1.657.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 +7 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +64 -0
- package/dist/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +1 -0
- package/lib/seam/connect/models/devices/device-metadata.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.d.ts +4 -0
- package/lib/seam/connect/openapi.js +5 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +5 -1
- package/src/lib/seam/connect/route-types.ts +34 -0
package/dist/connect.d.cts
CHANGED
|
@@ -11583,12 +11583,15 @@ declare const batch: z.ZodObject<{
|
|
|
11583
11583
|
ultraloq_metadata: z.ZodOptional<z.ZodObject<{
|
|
11584
11584
|
device_id: z.ZodString;
|
|
11585
11585
|
device_name: z.ZodString;
|
|
11586
|
+
device_type: z.ZodString;
|
|
11586
11587
|
}, "strip", z.ZodTypeAny, {
|
|
11587
11588
|
device_id: string;
|
|
11588
11589
|
device_name: string;
|
|
11590
|
+
device_type: string;
|
|
11589
11591
|
}, {
|
|
11590
11592
|
device_id: string;
|
|
11591
11593
|
device_name: string;
|
|
11594
|
+
device_type: string;
|
|
11592
11595
|
}>>;
|
|
11593
11596
|
}, "strip", z.ZodTypeAny, {
|
|
11594
11597
|
ecobee_metadata?: {
|
|
@@ -11849,6 +11852,7 @@ declare const batch: z.ZodObject<{
|
|
|
11849
11852
|
ultraloq_metadata?: {
|
|
11850
11853
|
device_id: string;
|
|
11851
11854
|
device_name: string;
|
|
11855
|
+
device_type: string;
|
|
11852
11856
|
} | undefined;
|
|
11853
11857
|
}, {
|
|
11854
11858
|
ecobee_metadata?: {
|
|
@@ -12109,6 +12113,7 @@ declare const batch: z.ZodObject<{
|
|
|
12109
12113
|
ultraloq_metadata?: {
|
|
12110
12114
|
device_id: string;
|
|
12111
12115
|
device_name: string;
|
|
12116
|
+
device_type: string;
|
|
12112
12117
|
} | undefined;
|
|
12113
12118
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
12114
12119
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -13910,6 +13915,7 @@ declare const batch: z.ZodObject<{
|
|
|
13910
13915
|
ultraloq_metadata?: {
|
|
13911
13916
|
device_id: string;
|
|
13912
13917
|
device_name: string;
|
|
13918
|
+
device_type: string;
|
|
13913
13919
|
} | undefined;
|
|
13914
13920
|
} & {
|
|
13915
13921
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
@@ -14577,6 +14583,7 @@ declare const batch: z.ZodObject<{
|
|
|
14577
14583
|
ultraloq_metadata?: {
|
|
14578
14584
|
device_id: string;
|
|
14579
14585
|
device_name: string;
|
|
14586
|
+
device_type: string;
|
|
14580
14587
|
} | undefined;
|
|
14581
14588
|
} & {
|
|
14582
14589
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
@@ -22696,12 +22703,15 @@ declare const batch: z.ZodObject<{
|
|
|
22696
22703
|
ultraloq_metadata: z.ZodOptional<z.ZodObject<{
|
|
22697
22704
|
device_id: z.ZodString;
|
|
22698
22705
|
device_name: z.ZodString;
|
|
22706
|
+
device_type: z.ZodString;
|
|
22699
22707
|
}, "strip", z.ZodTypeAny, {
|
|
22700
22708
|
device_id: string;
|
|
22701
22709
|
device_name: string;
|
|
22710
|
+
device_type: string;
|
|
22702
22711
|
}, {
|
|
22703
22712
|
device_id: string;
|
|
22704
22713
|
device_name: string;
|
|
22714
|
+
device_type: string;
|
|
22705
22715
|
}>>;
|
|
22706
22716
|
}, "strip", z.ZodTypeAny, {
|
|
22707
22717
|
ecobee_metadata?: {
|
|
@@ -22962,6 +22972,7 @@ declare const batch: z.ZodObject<{
|
|
|
22962
22972
|
ultraloq_metadata?: {
|
|
22963
22973
|
device_id: string;
|
|
22964
22974
|
device_name: string;
|
|
22975
|
+
device_type: string;
|
|
22965
22976
|
} | undefined;
|
|
22966
22977
|
}, {
|
|
22967
22978
|
ecobee_metadata?: {
|
|
@@ -23222,6 +23233,7 @@ declare const batch: z.ZodObject<{
|
|
|
23222
23233
|
ultraloq_metadata?: {
|
|
23223
23234
|
device_id: string;
|
|
23224
23235
|
device_name: string;
|
|
23236
|
+
device_type: string;
|
|
23225
23237
|
} | undefined;
|
|
23226
23238
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
23227
23239
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -32243,6 +32255,7 @@ declare const batch: z.ZodObject<{
|
|
|
32243
32255
|
ultraloq_metadata?: {
|
|
32244
32256
|
device_id: string;
|
|
32245
32257
|
device_name: string;
|
|
32258
|
+
device_type: string;
|
|
32246
32259
|
} | undefined;
|
|
32247
32260
|
} & {
|
|
32248
32261
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
@@ -36266,6 +36279,7 @@ declare const batch: z.ZodObject<{
|
|
|
36266
36279
|
ultraloq_metadata?: {
|
|
36267
36280
|
device_id: string;
|
|
36268
36281
|
device_name: string;
|
|
36282
|
+
device_type: string;
|
|
36269
36283
|
} | undefined;
|
|
36270
36284
|
} & {
|
|
36271
36285
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
@@ -42162,12 +42176,15 @@ declare const device: z.ZodObject<{
|
|
|
42162
42176
|
ultraloq_metadata: z.ZodOptional<z.ZodObject<{
|
|
42163
42177
|
device_id: z.ZodString;
|
|
42164
42178
|
device_name: z.ZodString;
|
|
42179
|
+
device_type: z.ZodString;
|
|
42165
42180
|
}, "strip", z.ZodTypeAny, {
|
|
42166
42181
|
device_id: string;
|
|
42167
42182
|
device_name: string;
|
|
42183
|
+
device_type: string;
|
|
42168
42184
|
}, {
|
|
42169
42185
|
device_id: string;
|
|
42170
42186
|
device_name: string;
|
|
42187
|
+
device_type: string;
|
|
42171
42188
|
}>>;
|
|
42172
42189
|
}, "strip", z.ZodTypeAny, {
|
|
42173
42190
|
ecobee_metadata?: {
|
|
@@ -42428,6 +42445,7 @@ declare const device: z.ZodObject<{
|
|
|
42428
42445
|
ultraloq_metadata?: {
|
|
42429
42446
|
device_id: string;
|
|
42430
42447
|
device_name: string;
|
|
42448
|
+
device_type: string;
|
|
42431
42449
|
} | undefined;
|
|
42432
42450
|
}, {
|
|
42433
42451
|
ecobee_metadata?: {
|
|
@@ -42688,6 +42706,7 @@ declare const device: z.ZodObject<{
|
|
|
42688
42706
|
ultraloq_metadata?: {
|
|
42689
42707
|
device_id: string;
|
|
42690
42708
|
device_name: string;
|
|
42709
|
+
device_type: string;
|
|
42691
42710
|
} | undefined;
|
|
42692
42711
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
42693
42712
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -44489,6 +44508,7 @@ declare const device: z.ZodObject<{
|
|
|
44489
44508
|
ultraloq_metadata?: {
|
|
44490
44509
|
device_id: string;
|
|
44491
44510
|
device_name: string;
|
|
44511
|
+
device_type: string;
|
|
44492
44512
|
} | undefined;
|
|
44493
44513
|
} & {
|
|
44494
44514
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
@@ -45156,6 +45176,7 @@ declare const device: z.ZodObject<{
|
|
|
45156
45176
|
ultraloq_metadata?: {
|
|
45157
45177
|
device_id: string;
|
|
45158
45178
|
device_name: string;
|
|
45179
|
+
device_type: string;
|
|
45159
45180
|
} | undefined;
|
|
45160
45181
|
} & {
|
|
45161
45182
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
@@ -46496,12 +46517,15 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
46496
46517
|
ultraloq_metadata: z.ZodOptional<z.ZodObject<{
|
|
46497
46518
|
device_id: z.ZodString;
|
|
46498
46519
|
device_name: z.ZodString;
|
|
46520
|
+
device_type: z.ZodString;
|
|
46499
46521
|
}, "strip", z.ZodTypeAny, {
|
|
46500
46522
|
device_id: string;
|
|
46501
46523
|
device_name: string;
|
|
46524
|
+
device_type: string;
|
|
46502
46525
|
}, {
|
|
46503
46526
|
device_id: string;
|
|
46504
46527
|
device_name: string;
|
|
46528
|
+
device_type: string;
|
|
46505
46529
|
}>>;
|
|
46506
46530
|
}, "strip", z.ZodTypeAny, {
|
|
46507
46531
|
ecobee_metadata?: {
|
|
@@ -46762,6 +46786,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
46762
46786
|
ultraloq_metadata?: {
|
|
46763
46787
|
device_id: string;
|
|
46764
46788
|
device_name: string;
|
|
46789
|
+
device_type: string;
|
|
46765
46790
|
} | undefined;
|
|
46766
46791
|
}, {
|
|
46767
46792
|
ecobee_metadata?: {
|
|
@@ -47022,6 +47047,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
47022
47047
|
ultraloq_metadata?: {
|
|
47023
47048
|
device_id: string;
|
|
47024
47049
|
device_name: string;
|
|
47050
|
+
device_type: string;
|
|
47025
47051
|
} | undefined;
|
|
47026
47052
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
47027
47053
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -58616,6 +58642,10 @@ declare const _default: {
|
|
|
58616
58642
|
description: string;
|
|
58617
58643
|
type: string;
|
|
58618
58644
|
};
|
|
58645
|
+
device_type: {
|
|
58646
|
+
description: string;
|
|
58647
|
+
type: string;
|
|
58648
|
+
};
|
|
58619
58649
|
};
|
|
58620
58650
|
required: string[];
|
|
58621
58651
|
type: string;
|
|
@@ -122946,6 +122976,8 @@ type Routes = {
|
|
|
122946
122976
|
device_id: string;
|
|
122947
122977
|
/** Device name for an Ultraloq device. */
|
|
122948
122978
|
device_name: string;
|
|
122979
|
+
/** Device type for an Ultraloq device. */
|
|
122980
|
+
device_type: string;
|
|
122949
122981
|
} | undefined;
|
|
122950
122982
|
}) & ({
|
|
122951
122983
|
/** */
|
|
@@ -126312,6 +126344,8 @@ type Routes = {
|
|
|
126312
126344
|
device_id: string;
|
|
126313
126345
|
/** Device name for an Ultraloq device. */
|
|
126314
126346
|
device_name: string;
|
|
126347
|
+
/** Device type for an Ultraloq device. */
|
|
126348
|
+
device_type: string;
|
|
126315
126349
|
} | undefined;
|
|
126316
126350
|
}) & ({
|
|
126317
126351
|
/** */
|
|
@@ -139796,6 +139830,8 @@ type Routes = {
|
|
|
139796
139830
|
device_id: string;
|
|
139797
139831
|
/** Device name for an Ultraloq device. */
|
|
139798
139832
|
device_name: string;
|
|
139833
|
+
/** Device type for an Ultraloq device. */
|
|
139834
|
+
device_type: string;
|
|
139799
139835
|
} | undefined;
|
|
139800
139836
|
}) & ({
|
|
139801
139837
|
/** */
|
|
@@ -141066,6 +141102,8 @@ type Routes = {
|
|
|
141066
141102
|
device_id: string;
|
|
141067
141103
|
/** Device name for an Ultraloq device. */
|
|
141068
141104
|
device_name: string;
|
|
141105
|
+
/** Device type for an Ultraloq device. */
|
|
141106
|
+
device_type: string;
|
|
141069
141107
|
} | undefined;
|
|
141070
141108
|
}) & ({
|
|
141071
141109
|
/** */
|
|
@@ -147309,6 +147347,8 @@ type Routes = {
|
|
|
147309
147347
|
device_id: string;
|
|
147310
147348
|
/** Device name for an Ultraloq device. */
|
|
147311
147349
|
device_name: string;
|
|
147350
|
+
/** Device type for an Ultraloq device. */
|
|
147351
|
+
device_type: string;
|
|
147312
147352
|
} | undefined;
|
|
147313
147353
|
}) & ({
|
|
147314
147354
|
/** */
|
|
@@ -148530,6 +148570,8 @@ type Routes = {
|
|
|
148530
148570
|
device_id: string;
|
|
148531
148571
|
/** Device name for an Ultraloq device. */
|
|
148532
148572
|
device_name: string;
|
|
148573
|
+
/** Device type for an Ultraloq device. */
|
|
148574
|
+
device_type: string;
|
|
148533
148575
|
} | undefined;
|
|
148534
148576
|
}) & ({
|
|
148535
148577
|
/** */
|
|
@@ -149800,6 +149842,8 @@ type Routes = {
|
|
|
149800
149842
|
device_id: string;
|
|
149801
149843
|
/** Device name for an Ultraloq device. */
|
|
149802
149844
|
device_name: string;
|
|
149845
|
+
/** Device type for an Ultraloq device. */
|
|
149846
|
+
device_type: string;
|
|
149803
149847
|
} | undefined;
|
|
149804
149848
|
}) & ({
|
|
149805
149849
|
/** */
|
|
@@ -151020,6 +151064,8 @@ type Routes = {
|
|
|
151020
151064
|
device_id: string;
|
|
151021
151065
|
/** Device name for an Ultraloq device. */
|
|
151022
151066
|
device_name: string;
|
|
151067
|
+
/** Device type for an Ultraloq device. */
|
|
151068
|
+
device_type: string;
|
|
151023
151069
|
} | undefined;
|
|
151024
151070
|
}) & ({
|
|
151025
151071
|
/** */
|
|
@@ -157368,6 +157414,8 @@ type Routes = {
|
|
|
157368
157414
|
device_id: string;
|
|
157369
157415
|
/** Device name for an Ultraloq device. */
|
|
157370
157416
|
device_name: string;
|
|
157417
|
+
/** Device type for an Ultraloq device. */
|
|
157418
|
+
device_type: string;
|
|
157371
157419
|
} | undefined;
|
|
157372
157420
|
}) & ({
|
|
157373
157421
|
/** */
|
|
@@ -158588,6 +158636,8 @@ type Routes = {
|
|
|
158588
158636
|
device_id: string;
|
|
158589
158637
|
/** Device name for an Ultraloq device. */
|
|
158590
158638
|
device_name: string;
|
|
158639
|
+
/** Device type for an Ultraloq device. */
|
|
158640
|
+
device_type: string;
|
|
158591
158641
|
} | undefined;
|
|
158592
158642
|
}) & ({
|
|
158593
158643
|
/** */
|
|
@@ -167971,6 +168021,8 @@ type Routes = {
|
|
|
167971
168021
|
device_id: string;
|
|
167972
168022
|
/** Device name for an Ultraloq device. */
|
|
167973
168023
|
device_name: string;
|
|
168024
|
+
/** Device type for an Ultraloq device. */
|
|
168025
|
+
device_type: string;
|
|
167974
168026
|
} | undefined;
|
|
167975
168027
|
}) & ({
|
|
167976
168028
|
/** */
|
|
@@ -173623,6 +173675,8 @@ type Routes = {
|
|
|
173623
173675
|
device_id: string;
|
|
173624
173676
|
/** Device name for an Ultraloq device. */
|
|
173625
173677
|
device_name: string;
|
|
173678
|
+
/** Device type for an Ultraloq device. */
|
|
173679
|
+
device_type: string;
|
|
173626
173680
|
} | undefined;
|
|
173627
173681
|
}) & ({
|
|
173628
173682
|
/** */
|
|
@@ -177445,6 +177499,8 @@ type Routes = {
|
|
|
177445
177499
|
device_id: string;
|
|
177446
177500
|
/** Device name for an Ultraloq device. */
|
|
177447
177501
|
device_name: string;
|
|
177502
|
+
/** Device type for an Ultraloq device. */
|
|
177503
|
+
device_type: string;
|
|
177448
177504
|
} | undefined;
|
|
177449
177505
|
}) & ({
|
|
177450
177506
|
/** */
|
|
@@ -178665,6 +178721,8 @@ type Routes = {
|
|
|
178665
178721
|
device_id: string;
|
|
178666
178722
|
/** Device name for an Ultraloq device. */
|
|
178667
178723
|
device_name: string;
|
|
178724
|
+
/** Device type for an Ultraloq device. */
|
|
178725
|
+
device_type: string;
|
|
178668
178726
|
} | undefined;
|
|
178669
178727
|
}) & ({
|
|
178670
178728
|
/** */
|
|
@@ -185875,6 +185933,8 @@ type Routes = {
|
|
|
185875
185933
|
device_id: string;
|
|
185876
185934
|
/** Device name for an Ultraloq device. */
|
|
185877
185935
|
device_name: string;
|
|
185936
|
+
/** Device type for an Ultraloq device. */
|
|
185937
|
+
device_type: string;
|
|
185878
185938
|
} | undefined;
|
|
185879
185939
|
}) & ({
|
|
185880
185940
|
/** */
|
|
@@ -187097,6 +187157,8 @@ type Routes = {
|
|
|
187097
187157
|
device_id: string;
|
|
187098
187158
|
/** Device name for an Ultraloq device. */
|
|
187099
187159
|
device_name: string;
|
|
187160
|
+
/** Device type for an Ultraloq device. */
|
|
187161
|
+
device_type: string;
|
|
187100
187162
|
} | undefined;
|
|
187101
187163
|
}) & ({
|
|
187102
187164
|
/** */
|
|
@@ -189257,6 +189319,8 @@ type Routes = {
|
|
|
189257
189319
|
device_id: string;
|
|
189258
189320
|
/** Device name for an Ultraloq device. */
|
|
189259
189321
|
device_name: string;
|
|
189322
|
+
/** Device type for an Ultraloq device. */
|
|
189323
|
+
device_type: string;
|
|
189260
189324
|
} | undefined;
|
|
189261
189325
|
}) & ({
|
|
189262
189326
|
/** */
|
package/dist/index.cjs
CHANGED
|
@@ -1062,7 +1062,8 @@ var device_metadata = zod.z.object({
|
|
|
1062
1062
|
}).partial().describe(`Metadata for a KeyNest device.`),
|
|
1063
1063
|
ultraloq_metadata: zod.z.object({
|
|
1064
1064
|
device_id: zod.z.string().describe(`Device ID for an Ultraloq device.`),
|
|
1065
|
-
device_name: zod.z.string().describe(`Device name for an Ultraloq device.`)
|
|
1065
|
+
device_name: zod.z.string().describe(`Device name for an Ultraloq device.`),
|
|
1066
|
+
device_type: zod.z.string().describe(`Device type for an Ultraloq device.`)
|
|
1066
1067
|
}).describe(`Metadata for an Ultraloq device.`)
|
|
1067
1068
|
}).partial().describe(`
|
|
1068
1069
|
---
|
|
@@ -16147,9 +16148,13 @@ var openapi_default = {
|
|
|
16147
16148
|
device_name: {
|
|
16148
16149
|
description: "Device name for an Ultraloq device.",
|
|
16149
16150
|
type: "string"
|
|
16151
|
+
},
|
|
16152
|
+
device_type: {
|
|
16153
|
+
description: "Device type for an Ultraloq device.",
|
|
16154
|
+
type: "string"
|
|
16150
16155
|
}
|
|
16151
16156
|
},
|
|
16152
|
-
required: ["device_id", "device_name"],
|
|
16157
|
+
required: ["device_id", "device_name", "device_type"],
|
|
16153
16158
|
type: "object"
|
|
16154
16159
|
},
|
|
16155
16160
|
visionline_metadata: {
|