@seamapi/types 1.527.0 → 1.528.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 +45 -21
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +62 -10
- package/dist/index.cjs +45 -21
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +37 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
- package/lib/seam/connect/openapi.d.ts +9 -0
- package/lib/seam/connect/openapi.js +23 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +23 -0
- package/src/lib/seam/connect/route-types.ts +32 -0
package/dist/connect.cjs
CHANGED
|
@@ -1146,7 +1146,8 @@ var device_capability_flags = zod.z.object({
|
|
|
1146
1146
|
can_unlock_with_code: zod.z.boolean(),
|
|
1147
1147
|
can_run_thermostat_programs: zod.z.boolean(),
|
|
1148
1148
|
can_simulate_hub_connection: zod.z.boolean(),
|
|
1149
|
-
can_simulate_hub_disconnection: zod.z.boolean()
|
|
1149
|
+
can_simulate_hub_disconnection: zod.z.boolean(),
|
|
1150
|
+
can_simulate_paid_subscription: zod.z.boolean()
|
|
1150
1151
|
}).partial();
|
|
1151
1152
|
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.
|
|
1152
1153
|
`);
|
|
@@ -13743,6 +13744,7 @@ var openapi_default = {
|
|
|
13743
13744
|
can_simulate_disconnection: { type: "boolean" },
|
|
13744
13745
|
can_simulate_hub_connection: { type: "boolean" },
|
|
13745
13746
|
can_simulate_hub_disconnection: { type: "boolean" },
|
|
13747
|
+
can_simulate_paid_subscription: { type: "boolean" },
|
|
13746
13748
|
can_simulate_removal: { type: "boolean" },
|
|
13747
13749
|
can_turn_off_hvac: { type: "boolean" },
|
|
13748
13750
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -16997,6 +16999,7 @@ var openapi_default = {
|
|
|
16997
16999
|
can_simulate_disconnection: { type: "boolean" },
|
|
16998
17000
|
can_simulate_hub_connection: { type: "boolean" },
|
|
16999
17001
|
can_simulate_hub_disconnection: { type: "boolean" },
|
|
17002
|
+
can_simulate_paid_subscription: { type: "boolean" },
|
|
17000
17003
|
can_simulate_removal: { type: "boolean" },
|
|
17001
17004
|
can_turn_off_hvac: { type: "boolean" },
|
|
17002
17005
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -26747,6 +26750,7 @@ var openapi_default = {
|
|
|
26747
26750
|
can_simulate_disconnection: { type: "boolean" },
|
|
26748
26751
|
can_simulate_hub_connection: { type: "boolean" },
|
|
26749
26752
|
can_simulate_hub_disconnection: { type: "boolean" },
|
|
26753
|
+
can_simulate_paid_subscription: { type: "boolean" },
|
|
26750
26754
|
can_simulate_removal: { type: "boolean" },
|
|
26751
26755
|
can_turn_off_hvac: { type: "boolean" },
|
|
26752
26756
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -42666,7 +42670,8 @@ var openapi_default = {
|
|
|
42666
42670
|
"can_unlock_with_code",
|
|
42667
42671
|
"can_run_thermostat_programs",
|
|
42668
42672
|
"can_simulate_hub_connection",
|
|
42669
|
-
"can_simulate_hub_disconnection"
|
|
42673
|
+
"can_simulate_hub_disconnection",
|
|
42674
|
+
"can_simulate_paid_subscription"
|
|
42670
42675
|
],
|
|
42671
42676
|
type: "string"
|
|
42672
42677
|
},
|
|
@@ -42694,7 +42699,8 @@ var openapi_default = {
|
|
|
42694
42699
|
"can_unlock_with_code",
|
|
42695
42700
|
"can_run_thermostat_programs",
|
|
42696
42701
|
"can_simulate_hub_connection",
|
|
42697
|
-
"can_simulate_hub_disconnection"
|
|
42702
|
+
"can_simulate_hub_disconnection",
|
|
42703
|
+
"can_simulate_paid_subscription"
|
|
42698
42704
|
],
|
|
42699
42705
|
type: "string"
|
|
42700
42706
|
},
|
|
@@ -42968,7 +42974,8 @@ var openapi_default = {
|
|
|
42968
42974
|
"can_unlock_with_code",
|
|
42969
42975
|
"can_run_thermostat_programs",
|
|
42970
42976
|
"can_simulate_hub_connection",
|
|
42971
|
-
"can_simulate_hub_disconnection"
|
|
42977
|
+
"can_simulate_hub_disconnection",
|
|
42978
|
+
"can_simulate_paid_subscription"
|
|
42972
42979
|
],
|
|
42973
42980
|
type: "string"
|
|
42974
42981
|
},
|
|
@@ -42992,7 +42999,8 @@ var openapi_default = {
|
|
|
42992
42999
|
"can_unlock_with_code",
|
|
42993
43000
|
"can_run_thermostat_programs",
|
|
42994
43001
|
"can_simulate_hub_connection",
|
|
42995
|
-
"can_simulate_hub_disconnection"
|
|
43002
|
+
"can_simulate_hub_disconnection",
|
|
43003
|
+
"can_simulate_paid_subscription"
|
|
42996
43004
|
],
|
|
42997
43005
|
type: "string"
|
|
42998
43006
|
},
|
|
@@ -43906,7 +43914,8 @@ var openapi_default = {
|
|
|
43906
43914
|
"can_unlock_with_code",
|
|
43907
43915
|
"can_run_thermostat_programs",
|
|
43908
43916
|
"can_simulate_hub_connection",
|
|
43909
|
-
"can_simulate_hub_disconnection"
|
|
43917
|
+
"can_simulate_hub_disconnection",
|
|
43918
|
+
"can_simulate_paid_subscription"
|
|
43910
43919
|
],
|
|
43911
43920
|
type: "string"
|
|
43912
43921
|
},
|
|
@@ -43934,7 +43943,8 @@ var openapi_default = {
|
|
|
43934
43943
|
"can_unlock_with_code",
|
|
43935
43944
|
"can_run_thermostat_programs",
|
|
43936
43945
|
"can_simulate_hub_connection",
|
|
43937
|
-
"can_simulate_hub_disconnection"
|
|
43946
|
+
"can_simulate_hub_disconnection",
|
|
43947
|
+
"can_simulate_paid_subscription"
|
|
43938
43948
|
],
|
|
43939
43949
|
type: "string"
|
|
43940
43950
|
},
|
|
@@ -44205,7 +44215,8 @@ var openapi_default = {
|
|
|
44205
44215
|
"can_unlock_with_code",
|
|
44206
44216
|
"can_run_thermostat_programs",
|
|
44207
44217
|
"can_simulate_hub_connection",
|
|
44208
|
-
"can_simulate_hub_disconnection"
|
|
44218
|
+
"can_simulate_hub_disconnection",
|
|
44219
|
+
"can_simulate_paid_subscription"
|
|
44209
44220
|
],
|
|
44210
44221
|
type: "string"
|
|
44211
44222
|
},
|
|
@@ -44229,7 +44240,8 @@ var openapi_default = {
|
|
|
44229
44240
|
"can_unlock_with_code",
|
|
44230
44241
|
"can_run_thermostat_programs",
|
|
44231
44242
|
"can_simulate_hub_connection",
|
|
44232
|
-
"can_simulate_hub_disconnection"
|
|
44243
|
+
"can_simulate_hub_disconnection",
|
|
44244
|
+
"can_simulate_paid_subscription"
|
|
44233
44245
|
],
|
|
44234
44246
|
type: "string"
|
|
44235
44247
|
},
|
|
@@ -46120,7 +46132,8 @@ var openapi_default = {
|
|
|
46120
46132
|
"can_unlock_with_code",
|
|
46121
46133
|
"can_run_thermostat_programs",
|
|
46122
46134
|
"can_simulate_hub_connection",
|
|
46123
|
-
"can_simulate_hub_disconnection"
|
|
46135
|
+
"can_simulate_hub_disconnection",
|
|
46136
|
+
"can_simulate_paid_subscription"
|
|
46124
46137
|
],
|
|
46125
46138
|
type: "string"
|
|
46126
46139
|
},
|
|
@@ -46148,7 +46161,8 @@ var openapi_default = {
|
|
|
46148
46161
|
"can_unlock_with_code",
|
|
46149
46162
|
"can_run_thermostat_programs",
|
|
46150
46163
|
"can_simulate_hub_connection",
|
|
46151
|
-
"can_simulate_hub_disconnection"
|
|
46164
|
+
"can_simulate_hub_disconnection",
|
|
46165
|
+
"can_simulate_paid_subscription"
|
|
46152
46166
|
],
|
|
46153
46167
|
type: "string"
|
|
46154
46168
|
},
|
|
@@ -46371,7 +46385,8 @@ var openapi_default = {
|
|
|
46371
46385
|
"can_unlock_with_code",
|
|
46372
46386
|
"can_run_thermostat_programs",
|
|
46373
46387
|
"can_simulate_hub_connection",
|
|
46374
|
-
"can_simulate_hub_disconnection"
|
|
46388
|
+
"can_simulate_hub_disconnection",
|
|
46389
|
+
"can_simulate_paid_subscription"
|
|
46375
46390
|
],
|
|
46376
46391
|
type: "string"
|
|
46377
46392
|
},
|
|
@@ -46395,7 +46410,8 @@ var openapi_default = {
|
|
|
46395
46410
|
"can_unlock_with_code",
|
|
46396
46411
|
"can_run_thermostat_programs",
|
|
46397
46412
|
"can_simulate_hub_connection",
|
|
46398
|
-
"can_simulate_hub_disconnection"
|
|
46413
|
+
"can_simulate_hub_disconnection",
|
|
46414
|
+
"can_simulate_paid_subscription"
|
|
46399
46415
|
],
|
|
46400
46416
|
type: "string"
|
|
46401
46417
|
},
|
|
@@ -46908,7 +46924,8 @@ var openapi_default = {
|
|
|
46908
46924
|
"can_unlock_with_code",
|
|
46909
46925
|
"can_run_thermostat_programs",
|
|
46910
46926
|
"can_simulate_hub_connection",
|
|
46911
|
-
"can_simulate_hub_disconnection"
|
|
46927
|
+
"can_simulate_hub_disconnection",
|
|
46928
|
+
"can_simulate_paid_subscription"
|
|
46912
46929
|
],
|
|
46913
46930
|
type: "string"
|
|
46914
46931
|
},
|
|
@@ -46936,7 +46953,8 @@ var openapi_default = {
|
|
|
46936
46953
|
"can_unlock_with_code",
|
|
46937
46954
|
"can_run_thermostat_programs",
|
|
46938
46955
|
"can_simulate_hub_connection",
|
|
46939
|
-
"can_simulate_hub_disconnection"
|
|
46956
|
+
"can_simulate_hub_disconnection",
|
|
46957
|
+
"can_simulate_paid_subscription"
|
|
46940
46958
|
],
|
|
46941
46959
|
type: "string"
|
|
46942
46960
|
},
|
|
@@ -47103,7 +47121,8 @@ var openapi_default = {
|
|
|
47103
47121
|
"can_unlock_with_code",
|
|
47104
47122
|
"can_run_thermostat_programs",
|
|
47105
47123
|
"can_simulate_hub_connection",
|
|
47106
|
-
"can_simulate_hub_disconnection"
|
|
47124
|
+
"can_simulate_hub_disconnection",
|
|
47125
|
+
"can_simulate_paid_subscription"
|
|
47107
47126
|
],
|
|
47108
47127
|
type: "string"
|
|
47109
47128
|
},
|
|
@@ -47127,7 +47146,8 @@ var openapi_default = {
|
|
|
47127
47146
|
"can_unlock_with_code",
|
|
47128
47147
|
"can_run_thermostat_programs",
|
|
47129
47148
|
"can_simulate_hub_connection",
|
|
47130
|
-
"can_simulate_hub_disconnection"
|
|
47149
|
+
"can_simulate_hub_disconnection",
|
|
47150
|
+
"can_simulate_paid_subscription"
|
|
47131
47151
|
],
|
|
47132
47152
|
type: "string"
|
|
47133
47153
|
},
|
|
@@ -53938,7 +53958,8 @@ var openapi_default = {
|
|
|
53938
53958
|
"can_unlock_with_code",
|
|
53939
53959
|
"can_run_thermostat_programs",
|
|
53940
53960
|
"can_simulate_hub_connection",
|
|
53941
|
-
"can_simulate_hub_disconnection"
|
|
53961
|
+
"can_simulate_hub_disconnection",
|
|
53962
|
+
"can_simulate_paid_subscription"
|
|
53942
53963
|
],
|
|
53943
53964
|
type: "string"
|
|
53944
53965
|
},
|
|
@@ -53966,7 +53987,8 @@ var openapi_default = {
|
|
|
53966
53987
|
"can_unlock_with_code",
|
|
53967
53988
|
"can_run_thermostat_programs",
|
|
53968
53989
|
"can_simulate_hub_connection",
|
|
53969
|
-
"can_simulate_hub_disconnection"
|
|
53990
|
+
"can_simulate_hub_disconnection",
|
|
53991
|
+
"can_simulate_paid_subscription"
|
|
53970
53992
|
],
|
|
53971
53993
|
type: "string"
|
|
53972
53994
|
},
|
|
@@ -54147,7 +54169,8 @@ var openapi_default = {
|
|
|
54147
54169
|
"can_unlock_with_code",
|
|
54148
54170
|
"can_run_thermostat_programs",
|
|
54149
54171
|
"can_simulate_hub_connection",
|
|
54150
|
-
"can_simulate_hub_disconnection"
|
|
54172
|
+
"can_simulate_hub_disconnection",
|
|
54173
|
+
"can_simulate_paid_subscription"
|
|
54151
54174
|
],
|
|
54152
54175
|
type: "string"
|
|
54153
54176
|
},
|
|
@@ -54171,7 +54194,8 @@ var openapi_default = {
|
|
|
54171
54194
|
"can_unlock_with_code",
|
|
54172
54195
|
"can_run_thermostat_programs",
|
|
54173
54196
|
"can_simulate_hub_connection",
|
|
54174
|
-
"can_simulate_hub_disconnection"
|
|
54197
|
+
"can_simulate_hub_disconnection",
|
|
54198
|
+
"can_simulate_paid_subscription"
|
|
54175
54199
|
],
|
|
54176
54200
|
type: "string"
|
|
54177
54201
|
},
|