@seamapi/types 1.527.0 → 1.529.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 +53 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +185 -10
- package/dist/index.cjs +53 -22
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +47 -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/models/events/access-methods.d.ts +6 -0
- package/lib/seam/connect/models/events/access-methods.js +4 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.d.ts +114 -0
- package/lib/seam/connect/openapi.js +27 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +28 -0
- package/src/lib/seam/connect/route-types.ts +42 -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
|
`);
|
|
@@ -4286,7 +4287,10 @@ var access_method_event = common_event.extend({
|
|
|
4286
4287
|
)
|
|
4287
4288
|
});
|
|
4288
4289
|
var access_method_issued_event = access_method_event.extend({
|
|
4289
|
-
event_type: zod.z.literal("access_method.issued")
|
|
4290
|
+
event_type: zod.z.literal("access_method.issued"),
|
|
4291
|
+
code: zod.z.string().optional().describe(
|
|
4292
|
+
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4293
|
+
)
|
|
4290
4294
|
}).describe(`
|
|
4291
4295
|
---
|
|
4292
4296
|
route_path: /access_methods
|
|
@@ -13743,6 +13747,7 @@ var openapi_default = {
|
|
|
13743
13747
|
can_simulate_disconnection: { type: "boolean" },
|
|
13744
13748
|
can_simulate_hub_connection: { type: "boolean" },
|
|
13745
13749
|
can_simulate_hub_disconnection: { type: "boolean" },
|
|
13750
|
+
can_simulate_paid_subscription: { type: "boolean" },
|
|
13746
13751
|
can_simulate_removal: { type: "boolean" },
|
|
13747
13752
|
can_turn_off_hvac: { type: "boolean" },
|
|
13748
13753
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -16997,6 +17002,7 @@ var openapi_default = {
|
|
|
16997
17002
|
can_simulate_disconnection: { type: "boolean" },
|
|
16998
17003
|
can_simulate_hub_connection: { type: "boolean" },
|
|
16999
17004
|
can_simulate_hub_disconnection: { type: "boolean" },
|
|
17005
|
+
can_simulate_paid_subscription: { type: "boolean" },
|
|
17000
17006
|
can_simulate_removal: { type: "boolean" },
|
|
17001
17007
|
can_turn_off_hvac: { type: "boolean" },
|
|
17002
17008
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -18565,6 +18571,10 @@ var openapi_default = {
|
|
|
18565
18571
|
format: "uuid",
|
|
18566
18572
|
type: "string"
|
|
18567
18573
|
},
|
|
18574
|
+
code: {
|
|
18575
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
18576
|
+
type: "string"
|
|
18577
|
+
},
|
|
18568
18578
|
created_at: {
|
|
18569
18579
|
description: "Date and time at which the event was created.",
|
|
18570
18580
|
format: "date-time",
|
|
@@ -26747,6 +26757,7 @@ var openapi_default = {
|
|
|
26747
26757
|
can_simulate_disconnection: { type: "boolean" },
|
|
26748
26758
|
can_simulate_hub_connection: { type: "boolean" },
|
|
26749
26759
|
can_simulate_hub_disconnection: { type: "boolean" },
|
|
26760
|
+
can_simulate_paid_subscription: { type: "boolean" },
|
|
26750
26761
|
can_simulate_removal: { type: "boolean" },
|
|
26751
26762
|
can_turn_off_hvac: { type: "boolean" },
|
|
26752
26763
|
can_unlock_with_code: { type: "boolean" },
|
|
@@ -42666,7 +42677,8 @@ var openapi_default = {
|
|
|
42666
42677
|
"can_unlock_with_code",
|
|
42667
42678
|
"can_run_thermostat_programs",
|
|
42668
42679
|
"can_simulate_hub_connection",
|
|
42669
|
-
"can_simulate_hub_disconnection"
|
|
42680
|
+
"can_simulate_hub_disconnection",
|
|
42681
|
+
"can_simulate_paid_subscription"
|
|
42670
42682
|
],
|
|
42671
42683
|
type: "string"
|
|
42672
42684
|
},
|
|
@@ -42694,7 +42706,8 @@ var openapi_default = {
|
|
|
42694
42706
|
"can_unlock_with_code",
|
|
42695
42707
|
"can_run_thermostat_programs",
|
|
42696
42708
|
"can_simulate_hub_connection",
|
|
42697
|
-
"can_simulate_hub_disconnection"
|
|
42709
|
+
"can_simulate_hub_disconnection",
|
|
42710
|
+
"can_simulate_paid_subscription"
|
|
42698
42711
|
],
|
|
42699
42712
|
type: "string"
|
|
42700
42713
|
},
|
|
@@ -42968,7 +42981,8 @@ var openapi_default = {
|
|
|
42968
42981
|
"can_unlock_with_code",
|
|
42969
42982
|
"can_run_thermostat_programs",
|
|
42970
42983
|
"can_simulate_hub_connection",
|
|
42971
|
-
"can_simulate_hub_disconnection"
|
|
42984
|
+
"can_simulate_hub_disconnection",
|
|
42985
|
+
"can_simulate_paid_subscription"
|
|
42972
42986
|
],
|
|
42973
42987
|
type: "string"
|
|
42974
42988
|
},
|
|
@@ -42992,7 +43006,8 @@ var openapi_default = {
|
|
|
42992
43006
|
"can_unlock_with_code",
|
|
42993
43007
|
"can_run_thermostat_programs",
|
|
42994
43008
|
"can_simulate_hub_connection",
|
|
42995
|
-
"can_simulate_hub_disconnection"
|
|
43009
|
+
"can_simulate_hub_disconnection",
|
|
43010
|
+
"can_simulate_paid_subscription"
|
|
42996
43011
|
],
|
|
42997
43012
|
type: "string"
|
|
42998
43013
|
},
|
|
@@ -43906,7 +43921,8 @@ var openapi_default = {
|
|
|
43906
43921
|
"can_unlock_with_code",
|
|
43907
43922
|
"can_run_thermostat_programs",
|
|
43908
43923
|
"can_simulate_hub_connection",
|
|
43909
|
-
"can_simulate_hub_disconnection"
|
|
43924
|
+
"can_simulate_hub_disconnection",
|
|
43925
|
+
"can_simulate_paid_subscription"
|
|
43910
43926
|
],
|
|
43911
43927
|
type: "string"
|
|
43912
43928
|
},
|
|
@@ -43934,7 +43950,8 @@ var openapi_default = {
|
|
|
43934
43950
|
"can_unlock_with_code",
|
|
43935
43951
|
"can_run_thermostat_programs",
|
|
43936
43952
|
"can_simulate_hub_connection",
|
|
43937
|
-
"can_simulate_hub_disconnection"
|
|
43953
|
+
"can_simulate_hub_disconnection",
|
|
43954
|
+
"can_simulate_paid_subscription"
|
|
43938
43955
|
],
|
|
43939
43956
|
type: "string"
|
|
43940
43957
|
},
|
|
@@ -44205,7 +44222,8 @@ var openapi_default = {
|
|
|
44205
44222
|
"can_unlock_with_code",
|
|
44206
44223
|
"can_run_thermostat_programs",
|
|
44207
44224
|
"can_simulate_hub_connection",
|
|
44208
|
-
"can_simulate_hub_disconnection"
|
|
44225
|
+
"can_simulate_hub_disconnection",
|
|
44226
|
+
"can_simulate_paid_subscription"
|
|
44209
44227
|
],
|
|
44210
44228
|
type: "string"
|
|
44211
44229
|
},
|
|
@@ -44229,7 +44247,8 @@ var openapi_default = {
|
|
|
44229
44247
|
"can_unlock_with_code",
|
|
44230
44248
|
"can_run_thermostat_programs",
|
|
44231
44249
|
"can_simulate_hub_connection",
|
|
44232
|
-
"can_simulate_hub_disconnection"
|
|
44250
|
+
"can_simulate_hub_disconnection",
|
|
44251
|
+
"can_simulate_paid_subscription"
|
|
44233
44252
|
],
|
|
44234
44253
|
type: "string"
|
|
44235
44254
|
},
|
|
@@ -46120,7 +46139,8 @@ var openapi_default = {
|
|
|
46120
46139
|
"can_unlock_with_code",
|
|
46121
46140
|
"can_run_thermostat_programs",
|
|
46122
46141
|
"can_simulate_hub_connection",
|
|
46123
|
-
"can_simulate_hub_disconnection"
|
|
46142
|
+
"can_simulate_hub_disconnection",
|
|
46143
|
+
"can_simulate_paid_subscription"
|
|
46124
46144
|
],
|
|
46125
46145
|
type: "string"
|
|
46126
46146
|
},
|
|
@@ -46148,7 +46168,8 @@ var openapi_default = {
|
|
|
46148
46168
|
"can_unlock_with_code",
|
|
46149
46169
|
"can_run_thermostat_programs",
|
|
46150
46170
|
"can_simulate_hub_connection",
|
|
46151
|
-
"can_simulate_hub_disconnection"
|
|
46171
|
+
"can_simulate_hub_disconnection",
|
|
46172
|
+
"can_simulate_paid_subscription"
|
|
46152
46173
|
],
|
|
46153
46174
|
type: "string"
|
|
46154
46175
|
},
|
|
@@ -46371,7 +46392,8 @@ var openapi_default = {
|
|
|
46371
46392
|
"can_unlock_with_code",
|
|
46372
46393
|
"can_run_thermostat_programs",
|
|
46373
46394
|
"can_simulate_hub_connection",
|
|
46374
|
-
"can_simulate_hub_disconnection"
|
|
46395
|
+
"can_simulate_hub_disconnection",
|
|
46396
|
+
"can_simulate_paid_subscription"
|
|
46375
46397
|
],
|
|
46376
46398
|
type: "string"
|
|
46377
46399
|
},
|
|
@@ -46395,7 +46417,8 @@ var openapi_default = {
|
|
|
46395
46417
|
"can_unlock_with_code",
|
|
46396
46418
|
"can_run_thermostat_programs",
|
|
46397
46419
|
"can_simulate_hub_connection",
|
|
46398
|
-
"can_simulate_hub_disconnection"
|
|
46420
|
+
"can_simulate_hub_disconnection",
|
|
46421
|
+
"can_simulate_paid_subscription"
|
|
46399
46422
|
],
|
|
46400
46423
|
type: "string"
|
|
46401
46424
|
},
|
|
@@ -46908,7 +46931,8 @@ var openapi_default = {
|
|
|
46908
46931
|
"can_unlock_with_code",
|
|
46909
46932
|
"can_run_thermostat_programs",
|
|
46910
46933
|
"can_simulate_hub_connection",
|
|
46911
|
-
"can_simulate_hub_disconnection"
|
|
46934
|
+
"can_simulate_hub_disconnection",
|
|
46935
|
+
"can_simulate_paid_subscription"
|
|
46912
46936
|
],
|
|
46913
46937
|
type: "string"
|
|
46914
46938
|
},
|
|
@@ -46936,7 +46960,8 @@ var openapi_default = {
|
|
|
46936
46960
|
"can_unlock_with_code",
|
|
46937
46961
|
"can_run_thermostat_programs",
|
|
46938
46962
|
"can_simulate_hub_connection",
|
|
46939
|
-
"can_simulate_hub_disconnection"
|
|
46963
|
+
"can_simulate_hub_disconnection",
|
|
46964
|
+
"can_simulate_paid_subscription"
|
|
46940
46965
|
],
|
|
46941
46966
|
type: "string"
|
|
46942
46967
|
},
|
|
@@ -47103,7 +47128,8 @@ var openapi_default = {
|
|
|
47103
47128
|
"can_unlock_with_code",
|
|
47104
47129
|
"can_run_thermostat_programs",
|
|
47105
47130
|
"can_simulate_hub_connection",
|
|
47106
|
-
"can_simulate_hub_disconnection"
|
|
47131
|
+
"can_simulate_hub_disconnection",
|
|
47132
|
+
"can_simulate_paid_subscription"
|
|
47107
47133
|
],
|
|
47108
47134
|
type: "string"
|
|
47109
47135
|
},
|
|
@@ -47127,7 +47153,8 @@ var openapi_default = {
|
|
|
47127
47153
|
"can_unlock_with_code",
|
|
47128
47154
|
"can_run_thermostat_programs",
|
|
47129
47155
|
"can_simulate_hub_connection",
|
|
47130
|
-
"can_simulate_hub_disconnection"
|
|
47156
|
+
"can_simulate_hub_disconnection",
|
|
47157
|
+
"can_simulate_paid_subscription"
|
|
47131
47158
|
],
|
|
47132
47159
|
type: "string"
|
|
47133
47160
|
},
|
|
@@ -53938,7 +53965,8 @@ var openapi_default = {
|
|
|
53938
53965
|
"can_unlock_with_code",
|
|
53939
53966
|
"can_run_thermostat_programs",
|
|
53940
53967
|
"can_simulate_hub_connection",
|
|
53941
|
-
"can_simulate_hub_disconnection"
|
|
53968
|
+
"can_simulate_hub_disconnection",
|
|
53969
|
+
"can_simulate_paid_subscription"
|
|
53942
53970
|
],
|
|
53943
53971
|
type: "string"
|
|
53944
53972
|
},
|
|
@@ -53966,7 +53994,8 @@ var openapi_default = {
|
|
|
53966
53994
|
"can_unlock_with_code",
|
|
53967
53995
|
"can_run_thermostat_programs",
|
|
53968
53996
|
"can_simulate_hub_connection",
|
|
53969
|
-
"can_simulate_hub_disconnection"
|
|
53997
|
+
"can_simulate_hub_disconnection",
|
|
53998
|
+
"can_simulate_paid_subscription"
|
|
53970
53999
|
],
|
|
53971
54000
|
type: "string"
|
|
53972
54001
|
},
|
|
@@ -54147,7 +54176,8 @@ var openapi_default = {
|
|
|
54147
54176
|
"can_unlock_with_code",
|
|
54148
54177
|
"can_run_thermostat_programs",
|
|
54149
54178
|
"can_simulate_hub_connection",
|
|
54150
|
-
"can_simulate_hub_disconnection"
|
|
54179
|
+
"can_simulate_hub_disconnection",
|
|
54180
|
+
"can_simulate_paid_subscription"
|
|
54151
54181
|
],
|
|
54152
54182
|
type: "string"
|
|
54153
54183
|
},
|
|
@@ -54171,7 +54201,8 @@ var openapi_default = {
|
|
|
54171
54201
|
"can_unlock_with_code",
|
|
54172
54202
|
"can_run_thermostat_programs",
|
|
54173
54203
|
"can_simulate_hub_connection",
|
|
54174
|
-
"can_simulate_hub_disconnection"
|
|
54204
|
+
"can_simulate_hub_disconnection",
|
|
54205
|
+
"can_simulate_paid_subscription"
|
|
54175
54206
|
],
|
|
54176
54207
|
type: "string"
|
|
54177
54208
|
},
|