@seamapi/types 1.496.0 → 1.497.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 +69 -21
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +114 -10
- package/dist/index.cjs +69 -21
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +74 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.d.ts +12 -0
- package/lib/seam/connect/models/devices/device.js +2 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -0
- package/lib/seam/connect/openapi.d.ts +18 -0
- package/lib/seam/connect/openapi.js +46 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +54 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +46 -0
- package/src/lib/seam/connect/route-types.ts +64 -0
package/dist/connect.cjs
CHANGED
|
@@ -1160,7 +1160,9 @@ var device_capability_flags = zod.z.object({
|
|
|
1160
1160
|
can_simulate_connection: zod.z.boolean(),
|
|
1161
1161
|
can_simulate_disconnection: zod.z.boolean(),
|
|
1162
1162
|
can_unlock_with_code: zod.z.boolean(),
|
|
1163
|
-
can_run_thermostat_programs: zod.z.boolean()
|
|
1163
|
+
can_run_thermostat_programs: zod.z.boolean(),
|
|
1164
|
+
can_simulate_hub_connection: zod.z.boolean(),
|
|
1165
|
+
can_simulate_hub_disconnection: zod.z.boolean()
|
|
1164
1166
|
}).partial();
|
|
1165
1167
|
var battery_status = zod.z.enum(["critical", "low", "good", "full"]).describe(`Represents the current status of the battery charge level. Values are \`critical\`, which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; \`low\`, which signifies that the battery is under the preferred threshold and should be charged soon; \`good\`, which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and \`full\`, which represents a battery that is fully charged, providing the maximum duration of usage.
|
|
1166
1168
|
`);
|
|
@@ -13679,6 +13681,8 @@ var openapi_default = {
|
|
|
13679
13681
|
can_run_thermostat_programs: { type: "boolean" },
|
|
13680
13682
|
can_simulate_connection: { type: "boolean" },
|
|
13681
13683
|
can_simulate_disconnection: { type: "boolean" },
|
|
13684
|
+
can_simulate_hub_connection: { type: "boolean" },
|
|
13685
|
+
can_simulate_hub_disconnection: { type: "boolean" },
|
|
13682
13686
|
can_simulate_removal: { type: "boolean" },
|
|
13683
13687
|
can_turn_off_hvac: { type: "boolean" },
|
|
13684
13688
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -17036,6 +17040,8 @@ var openapi_default = {
|
|
|
17036
17040
|
can_run_thermostat_programs: { type: "boolean" },
|
|
17037
17041
|
can_simulate_connection: { type: "boolean" },
|
|
17038
17042
|
can_simulate_disconnection: { type: "boolean" },
|
|
17043
|
+
can_simulate_hub_connection: { type: "boolean" },
|
|
17044
|
+
can_simulate_hub_disconnection: { type: "boolean" },
|
|
17039
17045
|
can_simulate_removal: { type: "boolean" },
|
|
17040
17046
|
can_turn_off_hvac: { type: "boolean" },
|
|
17041
17047
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -26721,6 +26727,8 @@ var openapi_default = {
|
|
|
26721
26727
|
can_run_thermostat_programs: { type: "boolean" },
|
|
26722
26728
|
can_simulate_connection: { type: "boolean" },
|
|
26723
26729
|
can_simulate_disconnection: { type: "boolean" },
|
|
26730
|
+
can_simulate_hub_connection: { type: "boolean" },
|
|
26731
|
+
can_simulate_hub_disconnection: { type: "boolean" },
|
|
26724
26732
|
can_simulate_removal: { type: "boolean" },
|
|
26725
26733
|
can_turn_off_hvac: { type: "boolean" },
|
|
26726
26734
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -42152,7 +42160,9 @@ var openapi_default = {
|
|
|
42152
42160
|
"can_simulate_connection",
|
|
42153
42161
|
"can_simulate_disconnection",
|
|
42154
42162
|
"can_unlock_with_code",
|
|
42155
|
-
"can_run_thermostat_programs"
|
|
42163
|
+
"can_run_thermostat_programs",
|
|
42164
|
+
"can_simulate_hub_connection",
|
|
42165
|
+
"can_simulate_hub_disconnection"
|
|
42156
42166
|
],
|
|
42157
42167
|
type: "string"
|
|
42158
42168
|
},
|
|
@@ -42178,7 +42188,9 @@ var openapi_default = {
|
|
|
42178
42188
|
"can_simulate_connection",
|
|
42179
42189
|
"can_simulate_disconnection",
|
|
42180
42190
|
"can_unlock_with_code",
|
|
42181
|
-
"can_run_thermostat_programs"
|
|
42191
|
+
"can_run_thermostat_programs",
|
|
42192
|
+
"can_simulate_hub_connection",
|
|
42193
|
+
"can_simulate_hub_disconnection"
|
|
42182
42194
|
],
|
|
42183
42195
|
type: "string"
|
|
42184
42196
|
},
|
|
@@ -42450,7 +42462,9 @@ var openapi_default = {
|
|
|
42450
42462
|
"can_simulate_connection",
|
|
42451
42463
|
"can_simulate_disconnection",
|
|
42452
42464
|
"can_unlock_with_code",
|
|
42453
|
-
"can_run_thermostat_programs"
|
|
42465
|
+
"can_run_thermostat_programs",
|
|
42466
|
+
"can_simulate_hub_connection",
|
|
42467
|
+
"can_simulate_hub_disconnection"
|
|
42454
42468
|
],
|
|
42455
42469
|
type: "string"
|
|
42456
42470
|
},
|
|
@@ -42472,7 +42486,9 @@ var openapi_default = {
|
|
|
42472
42486
|
"can_simulate_connection",
|
|
42473
42487
|
"can_simulate_disconnection",
|
|
42474
42488
|
"can_unlock_with_code",
|
|
42475
|
-
"can_run_thermostat_programs"
|
|
42489
|
+
"can_run_thermostat_programs",
|
|
42490
|
+
"can_simulate_hub_connection",
|
|
42491
|
+
"can_simulate_hub_disconnection"
|
|
42476
42492
|
],
|
|
42477
42493
|
type: "string"
|
|
42478
42494
|
},
|
|
@@ -43384,7 +43400,9 @@ var openapi_default = {
|
|
|
43384
43400
|
"can_simulate_connection",
|
|
43385
43401
|
"can_simulate_disconnection",
|
|
43386
43402
|
"can_unlock_with_code",
|
|
43387
|
-
"can_run_thermostat_programs"
|
|
43403
|
+
"can_run_thermostat_programs",
|
|
43404
|
+
"can_simulate_hub_connection",
|
|
43405
|
+
"can_simulate_hub_disconnection"
|
|
43388
43406
|
],
|
|
43389
43407
|
type: "string"
|
|
43390
43408
|
},
|
|
@@ -43410,7 +43428,9 @@ var openapi_default = {
|
|
|
43410
43428
|
"can_simulate_connection",
|
|
43411
43429
|
"can_simulate_disconnection",
|
|
43412
43430
|
"can_unlock_with_code",
|
|
43413
|
-
"can_run_thermostat_programs"
|
|
43431
|
+
"can_run_thermostat_programs",
|
|
43432
|
+
"can_simulate_hub_connection",
|
|
43433
|
+
"can_simulate_hub_disconnection"
|
|
43414
43434
|
],
|
|
43415
43435
|
type: "string"
|
|
43416
43436
|
},
|
|
@@ -43679,7 +43699,9 @@ var openapi_default = {
|
|
|
43679
43699
|
"can_simulate_connection",
|
|
43680
43700
|
"can_simulate_disconnection",
|
|
43681
43701
|
"can_unlock_with_code",
|
|
43682
|
-
"can_run_thermostat_programs"
|
|
43702
|
+
"can_run_thermostat_programs",
|
|
43703
|
+
"can_simulate_hub_connection",
|
|
43704
|
+
"can_simulate_hub_disconnection"
|
|
43683
43705
|
],
|
|
43684
43706
|
type: "string"
|
|
43685
43707
|
},
|
|
@@ -43701,7 +43723,9 @@ var openapi_default = {
|
|
|
43701
43723
|
"can_simulate_connection",
|
|
43702
43724
|
"can_simulate_disconnection",
|
|
43703
43725
|
"can_unlock_with_code",
|
|
43704
|
-
"can_run_thermostat_programs"
|
|
43726
|
+
"can_run_thermostat_programs",
|
|
43727
|
+
"can_simulate_hub_connection",
|
|
43728
|
+
"can_simulate_hub_disconnection"
|
|
43705
43729
|
],
|
|
43706
43730
|
type: "string"
|
|
43707
43731
|
},
|
|
@@ -45580,7 +45604,9 @@ var openapi_default = {
|
|
|
45580
45604
|
"can_simulate_connection",
|
|
45581
45605
|
"can_simulate_disconnection",
|
|
45582
45606
|
"can_unlock_with_code",
|
|
45583
|
-
"can_run_thermostat_programs"
|
|
45607
|
+
"can_run_thermostat_programs",
|
|
45608
|
+
"can_simulate_hub_connection",
|
|
45609
|
+
"can_simulate_hub_disconnection"
|
|
45584
45610
|
],
|
|
45585
45611
|
type: "string"
|
|
45586
45612
|
},
|
|
@@ -45606,7 +45632,9 @@ var openapi_default = {
|
|
|
45606
45632
|
"can_simulate_connection",
|
|
45607
45633
|
"can_simulate_disconnection",
|
|
45608
45634
|
"can_unlock_with_code",
|
|
45609
|
-
"can_run_thermostat_programs"
|
|
45635
|
+
"can_run_thermostat_programs",
|
|
45636
|
+
"can_simulate_hub_connection",
|
|
45637
|
+
"can_simulate_hub_disconnection"
|
|
45610
45638
|
],
|
|
45611
45639
|
type: "string"
|
|
45612
45640
|
},
|
|
@@ -45827,7 +45855,9 @@ var openapi_default = {
|
|
|
45827
45855
|
"can_simulate_connection",
|
|
45828
45856
|
"can_simulate_disconnection",
|
|
45829
45857
|
"can_unlock_with_code",
|
|
45830
|
-
"can_run_thermostat_programs"
|
|
45858
|
+
"can_run_thermostat_programs",
|
|
45859
|
+
"can_simulate_hub_connection",
|
|
45860
|
+
"can_simulate_hub_disconnection"
|
|
45831
45861
|
],
|
|
45832
45862
|
type: "string"
|
|
45833
45863
|
},
|
|
@@ -45849,7 +45879,9 @@ var openapi_default = {
|
|
|
45849
45879
|
"can_simulate_connection",
|
|
45850
45880
|
"can_simulate_disconnection",
|
|
45851
45881
|
"can_unlock_with_code",
|
|
45852
|
-
"can_run_thermostat_programs"
|
|
45882
|
+
"can_run_thermostat_programs",
|
|
45883
|
+
"can_simulate_hub_connection",
|
|
45884
|
+
"can_simulate_hub_disconnection"
|
|
45853
45885
|
],
|
|
45854
45886
|
type: "string"
|
|
45855
45887
|
},
|
|
@@ -46360,7 +46392,9 @@ var openapi_default = {
|
|
|
46360
46392
|
"can_simulate_connection",
|
|
46361
46393
|
"can_simulate_disconnection",
|
|
46362
46394
|
"can_unlock_with_code",
|
|
46363
|
-
"can_run_thermostat_programs"
|
|
46395
|
+
"can_run_thermostat_programs",
|
|
46396
|
+
"can_simulate_hub_connection",
|
|
46397
|
+
"can_simulate_hub_disconnection"
|
|
46364
46398
|
],
|
|
46365
46399
|
type: "string"
|
|
46366
46400
|
},
|
|
@@ -46386,7 +46420,9 @@ var openapi_default = {
|
|
|
46386
46420
|
"can_simulate_connection",
|
|
46387
46421
|
"can_simulate_disconnection",
|
|
46388
46422
|
"can_unlock_with_code",
|
|
46389
|
-
"can_run_thermostat_programs"
|
|
46423
|
+
"can_run_thermostat_programs",
|
|
46424
|
+
"can_simulate_hub_connection",
|
|
46425
|
+
"can_simulate_hub_disconnection"
|
|
46390
46426
|
],
|
|
46391
46427
|
type: "string"
|
|
46392
46428
|
},
|
|
@@ -46551,7 +46587,9 @@ var openapi_default = {
|
|
|
46551
46587
|
"can_simulate_connection",
|
|
46552
46588
|
"can_simulate_disconnection",
|
|
46553
46589
|
"can_unlock_with_code",
|
|
46554
|
-
"can_run_thermostat_programs"
|
|
46590
|
+
"can_run_thermostat_programs",
|
|
46591
|
+
"can_simulate_hub_connection",
|
|
46592
|
+
"can_simulate_hub_disconnection"
|
|
46555
46593
|
],
|
|
46556
46594
|
type: "string"
|
|
46557
46595
|
},
|
|
@@ -46573,7 +46611,9 @@ var openapi_default = {
|
|
|
46573
46611
|
"can_simulate_connection",
|
|
46574
46612
|
"can_simulate_disconnection",
|
|
46575
46613
|
"can_unlock_with_code",
|
|
46576
|
-
"can_run_thermostat_programs"
|
|
46614
|
+
"can_run_thermostat_programs",
|
|
46615
|
+
"can_simulate_hub_connection",
|
|
46616
|
+
"can_simulate_hub_disconnection"
|
|
46577
46617
|
],
|
|
46578
46618
|
type: "string"
|
|
46579
46619
|
},
|
|
@@ -52870,7 +52910,9 @@ var openapi_default = {
|
|
|
52870
52910
|
"can_simulate_connection",
|
|
52871
52911
|
"can_simulate_disconnection",
|
|
52872
52912
|
"can_unlock_with_code",
|
|
52873
|
-
"can_run_thermostat_programs"
|
|
52913
|
+
"can_run_thermostat_programs",
|
|
52914
|
+
"can_simulate_hub_connection",
|
|
52915
|
+
"can_simulate_hub_disconnection"
|
|
52874
52916
|
],
|
|
52875
52917
|
type: "string"
|
|
52876
52918
|
},
|
|
@@ -52896,7 +52938,9 @@ var openapi_default = {
|
|
|
52896
52938
|
"can_simulate_connection",
|
|
52897
52939
|
"can_simulate_disconnection",
|
|
52898
52940
|
"can_unlock_with_code",
|
|
52899
|
-
"can_run_thermostat_programs"
|
|
52941
|
+
"can_run_thermostat_programs",
|
|
52942
|
+
"can_simulate_hub_connection",
|
|
52943
|
+
"can_simulate_hub_disconnection"
|
|
52900
52944
|
],
|
|
52901
52945
|
type: "string"
|
|
52902
52946
|
},
|
|
@@ -53075,7 +53119,9 @@ var openapi_default = {
|
|
|
53075
53119
|
"can_simulate_connection",
|
|
53076
53120
|
"can_simulate_disconnection",
|
|
53077
53121
|
"can_unlock_with_code",
|
|
53078
|
-
"can_run_thermostat_programs"
|
|
53122
|
+
"can_run_thermostat_programs",
|
|
53123
|
+
"can_simulate_hub_connection",
|
|
53124
|
+
"can_simulate_hub_disconnection"
|
|
53079
53125
|
],
|
|
53080
53126
|
type: "string"
|
|
53081
53127
|
},
|
|
@@ -53097,7 +53143,9 @@ var openapi_default = {
|
|
|
53097
53143
|
"can_simulate_connection",
|
|
53098
53144
|
"can_simulate_disconnection",
|
|
53099
53145
|
"can_unlock_with_code",
|
|
53100
|
-
"can_run_thermostat_programs"
|
|
53146
|
+
"can_run_thermostat_programs",
|
|
53147
|
+
"can_simulate_hub_connection",
|
|
53148
|
+
"can_simulate_hub_disconnection"
|
|
53101
53149
|
],
|
|
53102
53150
|
type: "string"
|
|
53103
53151
|
},
|