@seamapi/types 1.496.0 → 1.498.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 +107 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +189 -10
- package/dist/index.cjs +107 -25
- 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 +80 -0
- package/lib/seam/connect/openapi.js +82 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +67 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +85 -2
- package/src/lib/seam/connect/route-types.ts +77 -0
package/dist/index.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" },
|
|
@@ -35791,6 +35799,26 @@ var openapi_default = {
|
|
|
35791
35799
|
minLength: 1,
|
|
35792
35800
|
type: "string"
|
|
35793
35801
|
}
|
|
35802
|
+
},
|
|
35803
|
+
{
|
|
35804
|
+
in: "query",
|
|
35805
|
+
name: "limit",
|
|
35806
|
+
schema: {
|
|
35807
|
+
default: 900,
|
|
35808
|
+
description: "Maximum number of records to return per page.",
|
|
35809
|
+
exclusiveMinimum: true,
|
|
35810
|
+
minimum: 0,
|
|
35811
|
+
type: "integer"
|
|
35812
|
+
}
|
|
35813
|
+
},
|
|
35814
|
+
{
|
|
35815
|
+
in: "query",
|
|
35816
|
+
name: "page_cursor",
|
|
35817
|
+
schema: {
|
|
35818
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
35819
|
+
nullable: true,
|
|
35820
|
+
type: "string"
|
|
35821
|
+
}
|
|
35794
35822
|
}
|
|
35795
35823
|
],
|
|
35796
35824
|
responses: {
|
|
@@ -35803,9 +35831,10 @@ var openapi_default = {
|
|
|
35803
35831
|
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
35804
35832
|
type: "array"
|
|
35805
35833
|
},
|
|
35806
|
-
ok: { type: "boolean" }
|
|
35834
|
+
ok: { type: "boolean" },
|
|
35835
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
35807
35836
|
},
|
|
35808
|
-
required: ["acs_entrances", "ok"],
|
|
35837
|
+
required: ["acs_entrances", "pagination", "ok"],
|
|
35809
35838
|
type: "object"
|
|
35810
35839
|
}
|
|
35811
35840
|
}
|
|
@@ -35868,6 +35897,13 @@ var openapi_default = {
|
|
|
35868
35897
|
format: "uuid",
|
|
35869
35898
|
type: "string"
|
|
35870
35899
|
},
|
|
35900
|
+
limit: {
|
|
35901
|
+
default: 900,
|
|
35902
|
+
description: "Maximum number of records to return per page.",
|
|
35903
|
+
exclusiveMinimum: true,
|
|
35904
|
+
minimum: 0,
|
|
35905
|
+
type: "integer"
|
|
35906
|
+
},
|
|
35871
35907
|
location_id: {
|
|
35872
35908
|
deprecated: true,
|
|
35873
35909
|
format: "uuid",
|
|
@@ -35875,6 +35911,11 @@ var openapi_default = {
|
|
|
35875
35911
|
type: "string",
|
|
35876
35912
|
"x-deprecated": "Use `space_id`."
|
|
35877
35913
|
},
|
|
35914
|
+
page_cursor: {
|
|
35915
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
35916
|
+
nullable: true,
|
|
35917
|
+
type: "string"
|
|
35918
|
+
},
|
|
35878
35919
|
search: {
|
|
35879
35920
|
description: "String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.",
|
|
35880
35921
|
minLength: 1,
|
|
@@ -35901,9 +35942,10 @@ var openapi_default = {
|
|
|
35901
35942
|
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
35902
35943
|
type: "array"
|
|
35903
35944
|
},
|
|
35904
|
-
ok: { type: "boolean" }
|
|
35945
|
+
ok: { type: "boolean" },
|
|
35946
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
35905
35947
|
},
|
|
35906
|
-
required: ["acs_entrances", "ok"],
|
|
35948
|
+
required: ["acs_entrances", "pagination", "ok"],
|
|
35907
35949
|
type: "object"
|
|
35908
35950
|
}
|
|
35909
35951
|
}
|
|
@@ -42152,7 +42194,9 @@ var openapi_default = {
|
|
|
42152
42194
|
"can_simulate_connection",
|
|
42153
42195
|
"can_simulate_disconnection",
|
|
42154
42196
|
"can_unlock_with_code",
|
|
42155
|
-
"can_run_thermostat_programs"
|
|
42197
|
+
"can_run_thermostat_programs",
|
|
42198
|
+
"can_simulate_hub_connection",
|
|
42199
|
+
"can_simulate_hub_disconnection"
|
|
42156
42200
|
],
|
|
42157
42201
|
type: "string"
|
|
42158
42202
|
},
|
|
@@ -42178,7 +42222,9 @@ var openapi_default = {
|
|
|
42178
42222
|
"can_simulate_connection",
|
|
42179
42223
|
"can_simulate_disconnection",
|
|
42180
42224
|
"can_unlock_with_code",
|
|
42181
|
-
"can_run_thermostat_programs"
|
|
42225
|
+
"can_run_thermostat_programs",
|
|
42226
|
+
"can_simulate_hub_connection",
|
|
42227
|
+
"can_simulate_hub_disconnection"
|
|
42182
42228
|
],
|
|
42183
42229
|
type: "string"
|
|
42184
42230
|
},
|
|
@@ -42450,7 +42496,9 @@ var openapi_default = {
|
|
|
42450
42496
|
"can_simulate_connection",
|
|
42451
42497
|
"can_simulate_disconnection",
|
|
42452
42498
|
"can_unlock_with_code",
|
|
42453
|
-
"can_run_thermostat_programs"
|
|
42499
|
+
"can_run_thermostat_programs",
|
|
42500
|
+
"can_simulate_hub_connection",
|
|
42501
|
+
"can_simulate_hub_disconnection"
|
|
42454
42502
|
],
|
|
42455
42503
|
type: "string"
|
|
42456
42504
|
},
|
|
@@ -42472,7 +42520,9 @@ var openapi_default = {
|
|
|
42472
42520
|
"can_simulate_connection",
|
|
42473
42521
|
"can_simulate_disconnection",
|
|
42474
42522
|
"can_unlock_with_code",
|
|
42475
|
-
"can_run_thermostat_programs"
|
|
42523
|
+
"can_run_thermostat_programs",
|
|
42524
|
+
"can_simulate_hub_connection",
|
|
42525
|
+
"can_simulate_hub_disconnection"
|
|
42476
42526
|
],
|
|
42477
42527
|
type: "string"
|
|
42478
42528
|
},
|
|
@@ -43384,7 +43434,9 @@ var openapi_default = {
|
|
|
43384
43434
|
"can_simulate_connection",
|
|
43385
43435
|
"can_simulate_disconnection",
|
|
43386
43436
|
"can_unlock_with_code",
|
|
43387
|
-
"can_run_thermostat_programs"
|
|
43437
|
+
"can_run_thermostat_programs",
|
|
43438
|
+
"can_simulate_hub_connection",
|
|
43439
|
+
"can_simulate_hub_disconnection"
|
|
43388
43440
|
],
|
|
43389
43441
|
type: "string"
|
|
43390
43442
|
},
|
|
@@ -43410,7 +43462,9 @@ var openapi_default = {
|
|
|
43410
43462
|
"can_simulate_connection",
|
|
43411
43463
|
"can_simulate_disconnection",
|
|
43412
43464
|
"can_unlock_with_code",
|
|
43413
|
-
"can_run_thermostat_programs"
|
|
43465
|
+
"can_run_thermostat_programs",
|
|
43466
|
+
"can_simulate_hub_connection",
|
|
43467
|
+
"can_simulate_hub_disconnection"
|
|
43414
43468
|
],
|
|
43415
43469
|
type: "string"
|
|
43416
43470
|
},
|
|
@@ -43679,7 +43733,9 @@ var openapi_default = {
|
|
|
43679
43733
|
"can_simulate_connection",
|
|
43680
43734
|
"can_simulate_disconnection",
|
|
43681
43735
|
"can_unlock_with_code",
|
|
43682
|
-
"can_run_thermostat_programs"
|
|
43736
|
+
"can_run_thermostat_programs",
|
|
43737
|
+
"can_simulate_hub_connection",
|
|
43738
|
+
"can_simulate_hub_disconnection"
|
|
43683
43739
|
],
|
|
43684
43740
|
type: "string"
|
|
43685
43741
|
},
|
|
@@ -43701,7 +43757,9 @@ var openapi_default = {
|
|
|
43701
43757
|
"can_simulate_connection",
|
|
43702
43758
|
"can_simulate_disconnection",
|
|
43703
43759
|
"can_unlock_with_code",
|
|
43704
|
-
"can_run_thermostat_programs"
|
|
43760
|
+
"can_run_thermostat_programs",
|
|
43761
|
+
"can_simulate_hub_connection",
|
|
43762
|
+
"can_simulate_hub_disconnection"
|
|
43705
43763
|
],
|
|
43706
43764
|
type: "string"
|
|
43707
43765
|
},
|
|
@@ -45580,7 +45638,9 @@ var openapi_default = {
|
|
|
45580
45638
|
"can_simulate_connection",
|
|
45581
45639
|
"can_simulate_disconnection",
|
|
45582
45640
|
"can_unlock_with_code",
|
|
45583
|
-
"can_run_thermostat_programs"
|
|
45641
|
+
"can_run_thermostat_programs",
|
|
45642
|
+
"can_simulate_hub_connection",
|
|
45643
|
+
"can_simulate_hub_disconnection"
|
|
45584
45644
|
],
|
|
45585
45645
|
type: "string"
|
|
45586
45646
|
},
|
|
@@ -45606,7 +45666,9 @@ var openapi_default = {
|
|
|
45606
45666
|
"can_simulate_connection",
|
|
45607
45667
|
"can_simulate_disconnection",
|
|
45608
45668
|
"can_unlock_with_code",
|
|
45609
|
-
"can_run_thermostat_programs"
|
|
45669
|
+
"can_run_thermostat_programs",
|
|
45670
|
+
"can_simulate_hub_connection",
|
|
45671
|
+
"can_simulate_hub_disconnection"
|
|
45610
45672
|
],
|
|
45611
45673
|
type: "string"
|
|
45612
45674
|
},
|
|
@@ -45827,7 +45889,9 @@ var openapi_default = {
|
|
|
45827
45889
|
"can_simulate_connection",
|
|
45828
45890
|
"can_simulate_disconnection",
|
|
45829
45891
|
"can_unlock_with_code",
|
|
45830
|
-
"can_run_thermostat_programs"
|
|
45892
|
+
"can_run_thermostat_programs",
|
|
45893
|
+
"can_simulate_hub_connection",
|
|
45894
|
+
"can_simulate_hub_disconnection"
|
|
45831
45895
|
],
|
|
45832
45896
|
type: "string"
|
|
45833
45897
|
},
|
|
@@ -45849,7 +45913,9 @@ var openapi_default = {
|
|
|
45849
45913
|
"can_simulate_connection",
|
|
45850
45914
|
"can_simulate_disconnection",
|
|
45851
45915
|
"can_unlock_with_code",
|
|
45852
|
-
"can_run_thermostat_programs"
|
|
45916
|
+
"can_run_thermostat_programs",
|
|
45917
|
+
"can_simulate_hub_connection",
|
|
45918
|
+
"can_simulate_hub_disconnection"
|
|
45853
45919
|
],
|
|
45854
45920
|
type: "string"
|
|
45855
45921
|
},
|
|
@@ -46360,7 +46426,9 @@ var openapi_default = {
|
|
|
46360
46426
|
"can_simulate_connection",
|
|
46361
46427
|
"can_simulate_disconnection",
|
|
46362
46428
|
"can_unlock_with_code",
|
|
46363
|
-
"can_run_thermostat_programs"
|
|
46429
|
+
"can_run_thermostat_programs",
|
|
46430
|
+
"can_simulate_hub_connection",
|
|
46431
|
+
"can_simulate_hub_disconnection"
|
|
46364
46432
|
],
|
|
46365
46433
|
type: "string"
|
|
46366
46434
|
},
|
|
@@ -46386,7 +46454,9 @@ var openapi_default = {
|
|
|
46386
46454
|
"can_simulate_connection",
|
|
46387
46455
|
"can_simulate_disconnection",
|
|
46388
46456
|
"can_unlock_with_code",
|
|
46389
|
-
"can_run_thermostat_programs"
|
|
46457
|
+
"can_run_thermostat_programs",
|
|
46458
|
+
"can_simulate_hub_connection",
|
|
46459
|
+
"can_simulate_hub_disconnection"
|
|
46390
46460
|
],
|
|
46391
46461
|
type: "string"
|
|
46392
46462
|
},
|
|
@@ -46551,7 +46621,9 @@ var openapi_default = {
|
|
|
46551
46621
|
"can_simulate_connection",
|
|
46552
46622
|
"can_simulate_disconnection",
|
|
46553
46623
|
"can_unlock_with_code",
|
|
46554
|
-
"can_run_thermostat_programs"
|
|
46624
|
+
"can_run_thermostat_programs",
|
|
46625
|
+
"can_simulate_hub_connection",
|
|
46626
|
+
"can_simulate_hub_disconnection"
|
|
46555
46627
|
],
|
|
46556
46628
|
type: "string"
|
|
46557
46629
|
},
|
|
@@ -46573,7 +46645,9 @@ var openapi_default = {
|
|
|
46573
46645
|
"can_simulate_connection",
|
|
46574
46646
|
"can_simulate_disconnection",
|
|
46575
46647
|
"can_unlock_with_code",
|
|
46576
|
-
"can_run_thermostat_programs"
|
|
46648
|
+
"can_run_thermostat_programs",
|
|
46649
|
+
"can_simulate_hub_connection",
|
|
46650
|
+
"can_simulate_hub_disconnection"
|
|
46577
46651
|
],
|
|
46578
46652
|
type: "string"
|
|
46579
46653
|
},
|
|
@@ -52870,7 +52944,9 @@ var openapi_default = {
|
|
|
52870
52944
|
"can_simulate_connection",
|
|
52871
52945
|
"can_simulate_disconnection",
|
|
52872
52946
|
"can_unlock_with_code",
|
|
52873
|
-
"can_run_thermostat_programs"
|
|
52947
|
+
"can_run_thermostat_programs",
|
|
52948
|
+
"can_simulate_hub_connection",
|
|
52949
|
+
"can_simulate_hub_disconnection"
|
|
52874
52950
|
],
|
|
52875
52951
|
type: "string"
|
|
52876
52952
|
},
|
|
@@ -52896,7 +52972,9 @@ var openapi_default = {
|
|
|
52896
52972
|
"can_simulate_connection",
|
|
52897
52973
|
"can_simulate_disconnection",
|
|
52898
52974
|
"can_unlock_with_code",
|
|
52899
|
-
"can_run_thermostat_programs"
|
|
52975
|
+
"can_run_thermostat_programs",
|
|
52976
|
+
"can_simulate_hub_connection",
|
|
52977
|
+
"can_simulate_hub_disconnection"
|
|
52900
52978
|
],
|
|
52901
52979
|
type: "string"
|
|
52902
52980
|
},
|
|
@@ -53075,7 +53153,9 @@ var openapi_default = {
|
|
|
53075
53153
|
"can_simulate_connection",
|
|
53076
53154
|
"can_simulate_disconnection",
|
|
53077
53155
|
"can_unlock_with_code",
|
|
53078
|
-
"can_run_thermostat_programs"
|
|
53156
|
+
"can_run_thermostat_programs",
|
|
53157
|
+
"can_simulate_hub_connection",
|
|
53158
|
+
"can_simulate_hub_disconnection"
|
|
53079
53159
|
],
|
|
53080
53160
|
type: "string"
|
|
53081
53161
|
},
|
|
@@ -53097,7 +53177,9 @@ var openapi_default = {
|
|
|
53097
53177
|
"can_simulate_connection",
|
|
53098
53178
|
"can_simulate_disconnection",
|
|
53099
53179
|
"can_unlock_with_code",
|
|
53100
|
-
"can_run_thermostat_programs"
|
|
53180
|
+
"can_run_thermostat_programs",
|
|
53181
|
+
"can_simulate_hub_connection",
|
|
53182
|
+
"can_simulate_hub_disconnection"
|
|
53101
53183
|
],
|
|
53102
53184
|
type: "string"
|
|
53103
53185
|
},
|