@seamapi/types 1.247.1 → 1.249.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 +55 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +206 -97
- package/lib/seam/connect/models/acs/acs-credential.d.ts +18 -0
- package/lib/seam/connect/models/acs/acs-credential.js +3 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +21 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +21 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +1 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +31 -26
- package/lib/seam/connect/models/devices/phone.d.ts +21 -18
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -18
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/modes.d.ts +3 -1
- package/lib/seam/connect/models/thermostats/modes.js +2 -1
- package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +44 -0
- package/lib/seam/connect/openapi.js +49 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -53
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +3 -0
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +1 -0
- package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +49 -10
- package/src/lib/seam/connect/route-types.ts +164 -53
package/dist/connect.cjs
CHANGED
|
@@ -136,7 +136,8 @@ var lock_capability_properties = zod.z.object({
|
|
|
136
136
|
door_open: zod.z.boolean().optional()
|
|
137
137
|
});
|
|
138
138
|
var hvac_mode_setting = zod.z.enum(["off", "heat", "cool", "heat_cool"]);
|
|
139
|
-
var fan_mode_setting = zod.z.enum(["auto", "on"]);
|
|
139
|
+
var fan_mode_setting = zod.z.enum(["auto", "on", "circulate"]);
|
|
140
|
+
zod.z.array(fan_mode_setting);
|
|
140
141
|
|
|
141
142
|
// src/lib/seam/connect/models/thermostats/climate-preset.ts
|
|
142
143
|
var climate_preset = zod.z.object({
|
|
@@ -174,6 +175,7 @@ var thermostat_capability_properties = zod.z.object({
|
|
|
174
175
|
temperature_celsius: zod.z.number(),
|
|
175
176
|
relative_humidity: zod.z.number().min(0).max(1),
|
|
176
177
|
available_hvac_mode_settings: zod.z.array(hvac_mode_setting),
|
|
178
|
+
available_fan_mode_settings: zod.z.array(fan_mode_setting),
|
|
177
179
|
is_heating: zod.z.boolean(),
|
|
178
180
|
is_cooling: zod.z.boolean(),
|
|
179
181
|
is_fan_running: zod.z.boolean(),
|
|
@@ -1148,6 +1150,9 @@ var common_acs_credential = zod.z.object({
|
|
|
1148
1150
|
parent_acs_credential_id: zod.z.string().uuid().optional(),
|
|
1149
1151
|
display_name: zod.z.string().min(1),
|
|
1150
1152
|
code: zod.z.string().optional().nullable(),
|
|
1153
|
+
card_number: zod.z.string().optional().nullable(),
|
|
1154
|
+
is_encoded: zod.z.boolean().optional(),
|
|
1155
|
+
encoded_at: zod.z.string().datetime().optional().nullable(),
|
|
1151
1156
|
access_method: acs_credential_access_method_type,
|
|
1152
1157
|
external_type: acs_credential_external_type.optional(),
|
|
1153
1158
|
external_type_display_name: zod.z.string().optional(),
|
|
@@ -2619,9 +2624,11 @@ var openapi_default = {
|
|
|
2619
2624
|
acs_credential_pool_id: { format: "uuid", type: "string" },
|
|
2620
2625
|
acs_system_id: { format: "uuid", type: "string" },
|
|
2621
2626
|
acs_user_id: { format: "uuid", type: "string" },
|
|
2627
|
+
card_number: { nullable: true, type: "string" },
|
|
2622
2628
|
code: { nullable: true, type: "string" },
|
|
2623
2629
|
created_at: { format: "date-time", type: "string" },
|
|
2624
2630
|
display_name: { minLength: 1, type: "string" },
|
|
2631
|
+
encoded_at: { format: "date-time", nullable: true, type: "string" },
|
|
2625
2632
|
ends_at: { type: "string" },
|
|
2626
2633
|
errors: {
|
|
2627
2634
|
items: {
|
|
@@ -2645,6 +2652,7 @@ var openapi_default = {
|
|
|
2645
2652
|
type: "string"
|
|
2646
2653
|
},
|
|
2647
2654
|
external_type_display_name: { type: "string" },
|
|
2655
|
+
is_encoded: { type: "boolean" },
|
|
2648
2656
|
is_latest_desired_state_synced_with_provider: { type: "boolean" },
|
|
2649
2657
|
is_managed: { enum: [true], type: "boolean" },
|
|
2650
2658
|
is_multi_phone_sync_credential: { type: "boolean" },
|
|
@@ -4548,7 +4556,10 @@ var openapi_default = {
|
|
|
4548
4556
|
cooling_set_point_celsius: { format: "float", type: "number" },
|
|
4549
4557
|
cooling_set_point_fahrenheit: { format: "float", type: "number" },
|
|
4550
4558
|
display_name: { type: "string" },
|
|
4551
|
-
fan_mode_setting: {
|
|
4559
|
+
fan_mode_setting: {
|
|
4560
|
+
enum: ["auto", "on", "circulate"],
|
|
4561
|
+
type: "string"
|
|
4562
|
+
},
|
|
4552
4563
|
heating_set_point_celsius: { format: "float", type: "number" },
|
|
4553
4564
|
heating_set_point_fahrenheit: { format: "float", type: "number" },
|
|
4554
4565
|
hvac_mode_setting: {
|
|
@@ -5660,7 +5671,7 @@ var openapi_default = {
|
|
|
5660
5671
|
},
|
|
5661
5672
|
display_name: { type: "string" },
|
|
5662
5673
|
fan_mode_setting: {
|
|
5663
|
-
enum: ["auto", "on"],
|
|
5674
|
+
enum: ["auto", "on", "circulate"],
|
|
5664
5675
|
type: "string"
|
|
5665
5676
|
},
|
|
5666
5677
|
heating_set_point_celsius: {
|
|
@@ -5693,6 +5704,13 @@ var openapi_default = {
|
|
|
5693
5704
|
},
|
|
5694
5705
|
type: "array"
|
|
5695
5706
|
},
|
|
5707
|
+
available_fan_mode_settings: {
|
|
5708
|
+
items: {
|
|
5709
|
+
enum: ["auto", "on", "circulate"],
|
|
5710
|
+
type: "string"
|
|
5711
|
+
},
|
|
5712
|
+
type: "array"
|
|
5713
|
+
},
|
|
5696
5714
|
available_hvac_mode_settings: {
|
|
5697
5715
|
items: {
|
|
5698
5716
|
enum: ["off", "heat", "cool", "heat_cool"],
|
|
@@ -5715,7 +5733,7 @@ var openapi_default = {
|
|
|
5715
5733
|
},
|
|
5716
5734
|
display_name: { type: "string" },
|
|
5717
5735
|
fan_mode_setting: {
|
|
5718
|
-
enum: ["auto", "on"],
|
|
5736
|
+
enum: ["auto", "on", "circulate"],
|
|
5719
5737
|
type: "string"
|
|
5720
5738
|
},
|
|
5721
5739
|
heating_set_point_celsius: {
|
|
@@ -5755,7 +5773,7 @@ var openapi_default = {
|
|
|
5755
5773
|
},
|
|
5756
5774
|
display_name: { type: "string" },
|
|
5757
5775
|
fan_mode_setting: {
|
|
5758
|
-
enum: ["auto", "on"],
|
|
5776
|
+
enum: ["auto", "on", "circulate"],
|
|
5759
5777
|
type: "string"
|
|
5760
5778
|
},
|
|
5761
5779
|
heating_set_point_celsius: {
|
|
@@ -5788,7 +5806,7 @@ var openapi_default = {
|
|
|
5788
5806
|
},
|
|
5789
5807
|
fan_mode_setting: {
|
|
5790
5808
|
deprecated: true,
|
|
5791
|
-
enum: ["auto", "on"],
|
|
5809
|
+
enum: ["auto", "on", "circulate"],
|
|
5792
5810
|
type: "string",
|
|
5793
5811
|
"x-deprecated": "use current_climate_setting.fan_mode_setting instead."
|
|
5794
5812
|
},
|
|
@@ -9083,9 +9101,15 @@ var openapi_default = {
|
|
|
9083
9101
|
},
|
|
9084
9102
|
acs_system_id: { format: "uuid", type: "string" },
|
|
9085
9103
|
acs_user_id: { format: "uuid", type: "string" },
|
|
9104
|
+
card_number: { nullable: true, type: "string" },
|
|
9086
9105
|
code: { nullable: true, type: "string" },
|
|
9087
9106
|
created_at: { format: "date-time", type: "string" },
|
|
9088
9107
|
display_name: { minLength: 1, type: "string" },
|
|
9108
|
+
encoded_at: {
|
|
9109
|
+
format: "date-time",
|
|
9110
|
+
nullable: true,
|
|
9111
|
+
type: "string"
|
|
9112
|
+
},
|
|
9089
9113
|
ends_at: { type: "string" },
|
|
9090
9114
|
errors: {
|
|
9091
9115
|
items: {
|
|
@@ -9109,6 +9133,7 @@ var openapi_default = {
|
|
|
9109
9133
|
type: "string"
|
|
9110
9134
|
},
|
|
9111
9135
|
external_type_display_name: { type: "string" },
|
|
9136
|
+
is_encoded: { type: "boolean" },
|
|
9112
9137
|
is_latest_desired_state_synced_with_provider: {
|
|
9113
9138
|
type: "boolean"
|
|
9114
9139
|
},
|
|
@@ -9260,9 +9285,15 @@ var openapi_default = {
|
|
|
9260
9285
|
},
|
|
9261
9286
|
acs_system_id: { format: "uuid", type: "string" },
|
|
9262
9287
|
acs_user_id: { format: "uuid", type: "string" },
|
|
9288
|
+
card_number: { nullable: true, type: "string" },
|
|
9263
9289
|
code: { nullable: true, type: "string" },
|
|
9264
9290
|
created_at: { format: "date-time", type: "string" },
|
|
9265
9291
|
display_name: { minLength: 1, type: "string" },
|
|
9292
|
+
encoded_at: {
|
|
9293
|
+
format: "date-time",
|
|
9294
|
+
nullable: true,
|
|
9295
|
+
type: "string"
|
|
9296
|
+
},
|
|
9266
9297
|
ends_at: { type: "string" },
|
|
9267
9298
|
errors: {
|
|
9268
9299
|
items: {
|
|
@@ -9286,6 +9317,7 @@ var openapi_default = {
|
|
|
9286
9317
|
type: "string"
|
|
9287
9318
|
},
|
|
9288
9319
|
external_type_display_name: { type: "string" },
|
|
9320
|
+
is_encoded: { type: "boolean" },
|
|
9289
9321
|
is_latest_desired_state_synced_with_provider: {
|
|
9290
9322
|
type: "boolean"
|
|
9291
9323
|
},
|
|
@@ -15195,7 +15227,10 @@ var openapi_default = {
|
|
|
15195
15227
|
type: "number"
|
|
15196
15228
|
},
|
|
15197
15229
|
device_id: { format: "uuid", type: "string" },
|
|
15198
|
-
fan_mode_setting: {
|
|
15230
|
+
fan_mode_setting: {
|
|
15231
|
+
enum: ["auto", "on", "circulate"],
|
|
15232
|
+
type: "string"
|
|
15233
|
+
},
|
|
15199
15234
|
heating_set_point_celsius: {
|
|
15200
15235
|
format: "float",
|
|
15201
15236
|
type: "number"
|
|
@@ -16136,11 +16171,14 @@ var openapi_default = {
|
|
|
16136
16171
|
device_id: { format: "uuid", type: "string" },
|
|
16137
16172
|
fan_mode: {
|
|
16138
16173
|
deprecated: true,
|
|
16139
|
-
enum: ["auto", "on"],
|
|
16174
|
+
enum: ["auto", "on", "circulate"],
|
|
16140
16175
|
type: "string",
|
|
16141
16176
|
"x-deprecated": "use fan_mode_setting instead."
|
|
16142
16177
|
},
|
|
16143
|
-
fan_mode_setting: {
|
|
16178
|
+
fan_mode_setting: {
|
|
16179
|
+
enum: ["auto", "on", "circulate"],
|
|
16180
|
+
type: "string"
|
|
16181
|
+
},
|
|
16144
16182
|
sync: { default: false, type: "boolean" }
|
|
16145
16183
|
},
|
|
16146
16184
|
required: ["device_id"],
|
|
@@ -16201,7 +16239,10 @@ var openapi_default = {
|
|
|
16201
16239
|
type: "number"
|
|
16202
16240
|
},
|
|
16203
16241
|
device_id: { format: "uuid", type: "string" },
|
|
16204
|
-
fan_mode_setting: {
|
|
16242
|
+
fan_mode_setting: {
|
|
16243
|
+
enum: ["auto", "on", "circulate"],
|
|
16244
|
+
type: "string"
|
|
16245
|
+
},
|
|
16205
16246
|
heating_set_point_celsius: {
|
|
16206
16247
|
format: "float",
|
|
16207
16248
|
type: "number"
|
|
@@ -16269,7 +16310,10 @@ var openapi_default = {
|
|
|
16269
16310
|
type: "number"
|
|
16270
16311
|
},
|
|
16271
16312
|
device_id: { format: "uuid", type: "string" },
|
|
16272
|
-
fan_mode_setting: {
|
|
16313
|
+
fan_mode_setting: {
|
|
16314
|
+
enum: ["auto", "on", "circulate"],
|
|
16315
|
+
type: "string"
|
|
16316
|
+
},
|
|
16273
16317
|
heating_set_point_celsius: {
|
|
16274
16318
|
format: "float",
|
|
16275
16319
|
type: "number"
|