@seamapi/types 1.258.2 → 1.258.3
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 +4 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +25 -27
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +3 -3
- package/lib/seam/connect/models/devices/device.d.ts +4 -4
- package/lib/seam/connect/models/devices/phone.d.ts +3 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +0 -2
- package/lib/seam/connect/openapi.js +3 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -16
- package/package.json +2 -2
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +3 -6
- package/src/lib/seam/connect/route-types.ts +16 -16
package/dist/connect.d.cts
CHANGED
|
@@ -4709,7 +4709,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4709
4709
|
device_id: z.ZodString;
|
|
4710
4710
|
name: z.ZodOptional<z.ZodString>;
|
|
4711
4711
|
climate_preset_key: z.ZodString;
|
|
4712
|
-
max_override_period_minutes: z.
|
|
4712
|
+
max_override_period_minutes: z.ZodNumber;
|
|
4713
4713
|
starts_at: z.ZodString;
|
|
4714
4714
|
ends_at: z.ZodString;
|
|
4715
4715
|
created_at: z.ZodString;
|
|
@@ -4729,11 +4729,11 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4729
4729
|
climate_preset_key: string;
|
|
4730
4730
|
thermostat_schedule_id: string;
|
|
4731
4731
|
device_id: string;
|
|
4732
|
+
max_override_period_minutes: number;
|
|
4732
4733
|
starts_at: string;
|
|
4733
4734
|
ends_at: string;
|
|
4734
4735
|
errors?: any;
|
|
4735
4736
|
name?: string | undefined;
|
|
4736
|
-
max_override_period_minutes?: number | undefined;
|
|
4737
4737
|
}>>>>;
|
|
4738
4738
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
4739
4739
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4879,11 +4879,11 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4879
4879
|
climate_preset_key: string;
|
|
4880
4880
|
thermostat_schedule_id: string;
|
|
4881
4881
|
device_id: string;
|
|
4882
|
+
max_override_period_minutes: number;
|
|
4882
4883
|
starts_at: string;
|
|
4883
4884
|
ends_at: string;
|
|
4884
4885
|
errors?: any;
|
|
4885
4886
|
name?: string | undefined;
|
|
4886
|
-
max_override_period_minutes?: number | undefined;
|
|
4887
4887
|
} | null | undefined;
|
|
4888
4888
|
min_cooling_set_point_celsius?: number | undefined;
|
|
4889
4889
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -5693,11 +5693,11 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5693
5693
|
climate_preset_key: string;
|
|
5694
5694
|
thermostat_schedule_id: string;
|
|
5695
5695
|
device_id: string;
|
|
5696
|
+
max_override_period_minutes: number;
|
|
5696
5697
|
starts_at: string;
|
|
5697
5698
|
ends_at: string;
|
|
5698
5699
|
errors?: any;
|
|
5699
5700
|
name?: string | undefined;
|
|
5700
|
-
max_override_period_minutes?: number | undefined;
|
|
5701
5701
|
} | null | undefined;
|
|
5702
5702
|
min_cooling_set_point_celsius?: number | undefined;
|
|
5703
5703
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -7313,7 +7313,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
7313
7313
|
device_id: z.ZodString;
|
|
7314
7314
|
name: z.ZodOptional<z.ZodString>;
|
|
7315
7315
|
climate_preset_key: z.ZodString;
|
|
7316
|
-
max_override_period_minutes: z.
|
|
7316
|
+
max_override_period_minutes: z.ZodNumber;
|
|
7317
7317
|
starts_at: z.ZodString;
|
|
7318
7318
|
ends_at: z.ZodString;
|
|
7319
7319
|
created_at: z.ZodString;
|
|
@@ -7333,11 +7333,11 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
7333
7333
|
climate_preset_key: string;
|
|
7334
7334
|
thermostat_schedule_id: string;
|
|
7335
7335
|
device_id: string;
|
|
7336
|
+
max_override_period_minutes: number;
|
|
7336
7337
|
starts_at: string;
|
|
7337
7338
|
ends_at: string;
|
|
7338
7339
|
errors?: any;
|
|
7339
7340
|
name?: string | undefined;
|
|
7340
|
-
max_override_period_minutes?: number | undefined;
|
|
7341
7341
|
}>>>>;
|
|
7342
7342
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
7343
7343
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7483,11 +7483,11 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
7483
7483
|
climate_preset_key: string;
|
|
7484
7484
|
thermostat_schedule_id: string;
|
|
7485
7485
|
device_id: string;
|
|
7486
|
+
max_override_period_minutes: number;
|
|
7486
7487
|
starts_at: string;
|
|
7487
7488
|
ends_at: string;
|
|
7488
7489
|
errors?: any;
|
|
7489
7490
|
name?: string | undefined;
|
|
7490
|
-
max_override_period_minutes?: number | undefined;
|
|
7491
7491
|
} | null | undefined;
|
|
7492
7492
|
min_cooling_set_point_celsius?: number | undefined;
|
|
7493
7493
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -9579,7 +9579,7 @@ declare const thermostat_schedule: z.ZodObject<{
|
|
|
9579
9579
|
device_id: z.ZodString;
|
|
9580
9580
|
name: z.ZodOptional<z.ZodString>;
|
|
9581
9581
|
climate_preset_key: z.ZodString;
|
|
9582
|
-
max_override_period_minutes: z.
|
|
9582
|
+
max_override_period_minutes: z.ZodNumber;
|
|
9583
9583
|
starts_at: z.ZodString;
|
|
9584
9584
|
ends_at: z.ZodString;
|
|
9585
9585
|
created_at: z.ZodString;
|
|
@@ -9599,11 +9599,11 @@ declare const thermostat_schedule: z.ZodObject<{
|
|
|
9599
9599
|
climate_preset_key: string;
|
|
9600
9600
|
thermostat_schedule_id: string;
|
|
9601
9601
|
device_id: string;
|
|
9602
|
+
max_override_period_minutes: number;
|
|
9602
9603
|
starts_at: string;
|
|
9603
9604
|
ends_at: string;
|
|
9604
9605
|
errors?: any;
|
|
9605
9606
|
name?: string | undefined;
|
|
9606
|
-
max_override_period_minutes?: number | undefined;
|
|
9607
9607
|
}>;
|
|
9608
9608
|
type ThermostatSchedule = z.infer<typeof thermostat_schedule>;
|
|
9609
9609
|
|
|
@@ -12220,7 +12220,6 @@ declare const _default: {
|
|
|
12220
12220
|
description: string;
|
|
12221
12221
|
};
|
|
12222
12222
|
max_override_period_minutes: {
|
|
12223
|
-
default: number;
|
|
12224
12223
|
minimum: number;
|
|
12225
12224
|
type: string;
|
|
12226
12225
|
};
|
|
@@ -12969,7 +12968,6 @@ declare const _default: {
|
|
|
12969
12968
|
description: string;
|
|
12970
12969
|
};
|
|
12971
12970
|
max_override_period_minutes: {
|
|
12972
|
-
default: number;
|
|
12973
12971
|
minimum: number;
|
|
12974
12972
|
type: string;
|
|
12975
12973
|
};
|
|
@@ -32317,7 +32315,7 @@ interface Routes {
|
|
|
32317
32315
|
device_id: string;
|
|
32318
32316
|
name?: string | undefined;
|
|
32319
32317
|
climate_preset_key: string;
|
|
32320
|
-
max_override_period_minutes
|
|
32318
|
+
max_override_period_minutes: number;
|
|
32321
32319
|
starts_at: string;
|
|
32322
32320
|
ends_at: string;
|
|
32323
32321
|
created_at: string;
|
|
@@ -35704,7 +35702,7 @@ interface Routes {
|
|
|
35704
35702
|
device_id: string;
|
|
35705
35703
|
name?: string | undefined;
|
|
35706
35704
|
climate_preset_key: string;
|
|
35707
|
-
max_override_period_minutes
|
|
35705
|
+
max_override_period_minutes: number;
|
|
35708
35706
|
starts_at: string;
|
|
35709
35707
|
ends_at: string;
|
|
35710
35708
|
created_at: string;
|
|
@@ -36164,7 +36162,7 @@ interface Routes {
|
|
|
36164
36162
|
device_id: string;
|
|
36165
36163
|
name?: string | undefined;
|
|
36166
36164
|
climate_preset_key: string;
|
|
36167
|
-
max_override_period_minutes
|
|
36165
|
+
max_override_period_minutes: number;
|
|
36168
36166
|
starts_at: string;
|
|
36169
36167
|
ends_at: string;
|
|
36170
36168
|
created_at: string;
|
|
@@ -37022,7 +37020,7 @@ interface Routes {
|
|
|
37022
37020
|
device_id: string;
|
|
37023
37021
|
name?: string | undefined;
|
|
37024
37022
|
climate_preset_key: string;
|
|
37025
|
-
max_override_period_minutes
|
|
37023
|
+
max_override_period_minutes: number;
|
|
37026
37024
|
starts_at: string;
|
|
37027
37025
|
ends_at: string;
|
|
37028
37026
|
created_at: string;
|
|
@@ -37457,7 +37455,7 @@ interface Routes {
|
|
|
37457
37455
|
device_id: string;
|
|
37458
37456
|
name?: string | undefined;
|
|
37459
37457
|
climate_preset_key: string;
|
|
37460
|
-
max_override_period_minutes
|
|
37458
|
+
max_override_period_minutes: number;
|
|
37461
37459
|
starts_at: string;
|
|
37462
37460
|
ends_at: string;
|
|
37463
37461
|
created_at: string;
|
|
@@ -37917,7 +37915,7 @@ interface Routes {
|
|
|
37917
37915
|
device_id: string;
|
|
37918
37916
|
name?: string | undefined;
|
|
37919
37917
|
climate_preset_key: string;
|
|
37920
|
-
max_override_period_minutes
|
|
37918
|
+
max_override_period_minutes: number;
|
|
37921
37919
|
starts_at: string;
|
|
37922
37920
|
ends_at: string;
|
|
37923
37921
|
created_at: string;
|
|
@@ -38352,7 +38350,7 @@ interface Routes {
|
|
|
38352
38350
|
device_id: string;
|
|
38353
38351
|
name?: string | undefined;
|
|
38354
38352
|
climate_preset_key: string;
|
|
38355
|
-
max_override_period_minutes
|
|
38353
|
+
max_override_period_minutes: number;
|
|
38356
38354
|
starts_at: string;
|
|
38357
38355
|
ends_at: string;
|
|
38358
38356
|
created_at: string;
|
|
@@ -39758,7 +39756,7 @@ interface Routes {
|
|
|
39758
39756
|
device_id: string;
|
|
39759
39757
|
name?: string | undefined;
|
|
39760
39758
|
climate_preset_key: string;
|
|
39761
|
-
max_override_period_minutes
|
|
39759
|
+
max_override_period_minutes: number;
|
|
39762
39760
|
starts_at: string;
|
|
39763
39761
|
ends_at: string;
|
|
39764
39762
|
created_at: string;
|
|
@@ -40193,7 +40191,7 @@ interface Routes {
|
|
|
40193
40191
|
device_id: string;
|
|
40194
40192
|
name?: string | undefined;
|
|
40195
40193
|
climate_preset_key: string;
|
|
40196
|
-
max_override_period_minutes
|
|
40194
|
+
max_override_period_minutes: number;
|
|
40197
40195
|
starts_at: string;
|
|
40198
40196
|
ends_at: string;
|
|
40199
40197
|
created_at: string;
|
|
@@ -43201,7 +43199,7 @@ interface Routes {
|
|
|
43201
43199
|
device_id: string;
|
|
43202
43200
|
name?: string | undefined;
|
|
43203
43201
|
climate_preset_key: string;
|
|
43204
|
-
max_override_period_minutes
|
|
43202
|
+
max_override_period_minutes: number;
|
|
43205
43203
|
starts_at: string;
|
|
43206
43204
|
ends_at: string;
|
|
43207
43205
|
created_at: string;
|
|
@@ -44579,7 +44577,7 @@ interface Routes {
|
|
|
44579
44577
|
device_id: string;
|
|
44580
44578
|
name?: string | undefined;
|
|
44581
44579
|
climate_preset_key: string;
|
|
44582
|
-
max_override_period_minutes
|
|
44580
|
+
max_override_period_minutes: number;
|
|
44583
44581
|
starts_at: string;
|
|
44584
44582
|
ends_at: string;
|
|
44585
44583
|
created_at: string;
|
|
@@ -45118,7 +45116,7 @@ interface Routes {
|
|
|
45118
45116
|
device_id: string;
|
|
45119
45117
|
name?: string | undefined;
|
|
45120
45118
|
climate_preset_key: string;
|
|
45121
|
-
max_override_period_minutes
|
|
45119
|
+
max_override_period_minutes: number;
|
|
45122
45120
|
starts_at: string;
|
|
45123
45121
|
ends_at: string;
|
|
45124
45122
|
created_at: string;
|
|
@@ -45153,7 +45151,7 @@ interface Routes {
|
|
|
45153
45151
|
device_id: string;
|
|
45154
45152
|
name?: string | undefined;
|
|
45155
45153
|
climate_preset_key: string;
|
|
45156
|
-
max_override_period_minutes
|
|
45154
|
+
max_override_period_minutes: number;
|
|
45157
45155
|
starts_at: string;
|
|
45158
45156
|
ends_at: string;
|
|
45159
45157
|
created_at: string;
|
|
@@ -45178,7 +45176,7 @@ interface Routes {
|
|
|
45178
45176
|
device_id: string;
|
|
45179
45177
|
name?: string | undefined;
|
|
45180
45178
|
climate_preset_key: string;
|
|
45181
|
-
max_override_period_minutes
|
|
45179
|
+
max_override_period_minutes: number;
|
|
45182
45180
|
starts_at: string;
|
|
45183
45181
|
ends_at: string;
|
|
45184
45182
|
created_at: string;
|
|
@@ -46258,7 +46256,7 @@ interface Routes {
|
|
|
46258
46256
|
device_id: string;
|
|
46259
46257
|
name?: string | undefined;
|
|
46260
46258
|
climate_preset_key: string;
|
|
46261
|
-
max_override_period_minutes
|
|
46259
|
+
max_override_period_minutes: number;
|
|
46262
46260
|
starts_at: string;
|
|
46263
46261
|
ends_at: string;
|
|
46264
46262
|
created_at: string;
|
|
@@ -46695,7 +46693,7 @@ interface Routes {
|
|
|
46695
46693
|
device_id: string;
|
|
46696
46694
|
name?: string | undefined;
|
|
46697
46695
|
climate_preset_key: string;
|
|
46698
|
-
max_override_period_minutes
|
|
46696
|
+
max_override_period_minutes: number;
|
|
46699
46697
|
starts_at: string;
|
|
46700
46698
|
ends_at: string;
|
|
46701
46699
|
created_at: string;
|
|
@@ -211,7 +211,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
211
211
|
device_id: z.ZodString;
|
|
212
212
|
name: z.ZodOptional<z.ZodString>;
|
|
213
213
|
climate_preset_key: z.ZodString;
|
|
214
|
-
max_override_period_minutes: z.
|
|
214
|
+
max_override_period_minutes: z.ZodNumber;
|
|
215
215
|
starts_at: z.ZodString;
|
|
216
216
|
ends_at: z.ZodString;
|
|
217
217
|
created_at: z.ZodString;
|
|
@@ -231,11 +231,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
231
231
|
climate_preset_key: string;
|
|
232
232
|
thermostat_schedule_id: string;
|
|
233
233
|
device_id: string;
|
|
234
|
+
max_override_period_minutes: number;
|
|
234
235
|
starts_at: string;
|
|
235
236
|
ends_at: string;
|
|
236
237
|
name?: string | undefined;
|
|
237
238
|
errors?: any;
|
|
238
|
-
max_override_period_minutes?: number | undefined;
|
|
239
239
|
}>>>>;
|
|
240
240
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
241
241
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -381,11 +381,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
381
381
|
climate_preset_key: string;
|
|
382
382
|
thermostat_schedule_id: string;
|
|
383
383
|
device_id: string;
|
|
384
|
+
max_override_period_minutes: number;
|
|
384
385
|
starts_at: string;
|
|
385
386
|
ends_at: string;
|
|
386
387
|
name?: string | undefined;
|
|
387
388
|
errors?: any;
|
|
388
|
-
max_override_period_minutes?: number | undefined;
|
|
389
389
|
} | null | undefined;
|
|
390
390
|
min_cooling_set_point_celsius?: number | undefined;
|
|
391
391
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -136,7 +136,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
136
136
|
device_id: z.ZodString;
|
|
137
137
|
name: z.ZodOptional<z.ZodString>;
|
|
138
138
|
climate_preset_key: z.ZodString;
|
|
139
|
-
max_override_period_minutes: z.
|
|
139
|
+
max_override_period_minutes: z.ZodNumber;
|
|
140
140
|
starts_at: z.ZodString;
|
|
141
141
|
ends_at: z.ZodString;
|
|
142
142
|
created_at: z.ZodString;
|
|
@@ -156,11 +156,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
156
156
|
climate_preset_key: string;
|
|
157
157
|
thermostat_schedule_id: string;
|
|
158
158
|
device_id: string;
|
|
159
|
+
max_override_period_minutes: number;
|
|
159
160
|
starts_at: string;
|
|
160
161
|
ends_at: string;
|
|
161
162
|
name?: string | undefined;
|
|
162
163
|
errors?: any;
|
|
163
|
-
max_override_period_minutes?: number | undefined;
|
|
164
164
|
}>>>>;
|
|
165
165
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
166
166
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -306,11 +306,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
306
306
|
climate_preset_key: string;
|
|
307
307
|
thermostat_schedule_id: string;
|
|
308
308
|
device_id: string;
|
|
309
|
+
max_override_period_minutes: number;
|
|
309
310
|
starts_at: string;
|
|
310
311
|
ends_at: string;
|
|
311
312
|
name?: string | undefined;
|
|
312
313
|
errors?: any;
|
|
313
|
-
max_override_period_minutes?: number | undefined;
|
|
314
314
|
} | null | undefined;
|
|
315
315
|
min_cooling_set_point_celsius?: number | undefined;
|
|
316
316
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1706,7 +1706,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1706
1706
|
device_id: z.ZodString;
|
|
1707
1707
|
name: z.ZodOptional<z.ZodString>;
|
|
1708
1708
|
climate_preset_key: z.ZodString;
|
|
1709
|
-
max_override_period_minutes: z.
|
|
1709
|
+
max_override_period_minutes: z.ZodNumber;
|
|
1710
1710
|
starts_at: z.ZodString;
|
|
1711
1711
|
ends_at: z.ZodString;
|
|
1712
1712
|
created_at: z.ZodString;
|
|
@@ -1726,11 +1726,11 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1726
1726
|
climate_preset_key: string;
|
|
1727
1727
|
thermostat_schedule_id: string;
|
|
1728
1728
|
device_id: string;
|
|
1729
|
+
max_override_period_minutes: number;
|
|
1729
1730
|
starts_at: string;
|
|
1730
1731
|
ends_at: string;
|
|
1731
1732
|
name?: string | undefined;
|
|
1732
1733
|
errors?: any;
|
|
1733
|
-
max_override_period_minutes?: number | undefined;
|
|
1734
1734
|
}>>>>;
|
|
1735
1735
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1736
1736
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1876,11 +1876,11 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1876
1876
|
climate_preset_key: string;
|
|
1877
1877
|
thermostat_schedule_id: string;
|
|
1878
1878
|
device_id: string;
|
|
1879
|
+
max_override_period_minutes: number;
|
|
1879
1880
|
starts_at: string;
|
|
1880
1881
|
ends_at: string;
|
|
1881
1882
|
name?: string | undefined;
|
|
1882
1883
|
errors?: any;
|
|
1883
|
-
max_override_period_minutes?: number | undefined;
|
|
1884
1884
|
} | null | undefined;
|
|
1885
1885
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1886
1886
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -2694,11 +2694,11 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2694
2694
|
climate_preset_key: string;
|
|
2695
2695
|
thermostat_schedule_id: string;
|
|
2696
2696
|
device_id: string;
|
|
2697
|
+
max_override_period_minutes: number;
|
|
2697
2698
|
starts_at: string;
|
|
2698
2699
|
ends_at: string;
|
|
2699
2700
|
name?: string | undefined;
|
|
2700
2701
|
errors?: any;
|
|
2701
|
-
max_override_period_minutes?: number | undefined;
|
|
2702
2702
|
} | null | undefined;
|
|
2703
2703
|
min_cooling_set_point_celsius?: number | undefined;
|
|
2704
2704
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1488,7 +1488,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1488
1488
|
device_id: z.ZodString;
|
|
1489
1489
|
name: z.ZodOptional<z.ZodString>;
|
|
1490
1490
|
climate_preset_key: z.ZodString;
|
|
1491
|
-
max_override_period_minutes: z.
|
|
1491
|
+
max_override_period_minutes: z.ZodNumber;
|
|
1492
1492
|
starts_at: z.ZodString;
|
|
1493
1493
|
ends_at: z.ZodString;
|
|
1494
1494
|
created_at: z.ZodString;
|
|
@@ -1508,11 +1508,11 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1508
1508
|
climate_preset_key: string;
|
|
1509
1509
|
thermostat_schedule_id: string;
|
|
1510
1510
|
device_id: string;
|
|
1511
|
+
max_override_period_minutes: number;
|
|
1511
1512
|
starts_at: string;
|
|
1512
1513
|
ends_at: string;
|
|
1513
1514
|
name?: string | undefined;
|
|
1514
1515
|
errors?: any;
|
|
1515
|
-
max_override_period_minutes?: number | undefined;
|
|
1516
1516
|
}>>>>;
|
|
1517
1517
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1518
1518
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1658,11 +1658,11 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1658
1658
|
climate_preset_key: string;
|
|
1659
1659
|
thermostat_schedule_id: string;
|
|
1660
1660
|
device_id: string;
|
|
1661
|
+
max_override_period_minutes: number;
|
|
1661
1662
|
starts_at: string;
|
|
1662
1663
|
ends_at: string;
|
|
1663
1664
|
name?: string | undefined;
|
|
1664
1665
|
errors?: any;
|
|
1665
|
-
max_override_period_minutes?: number | undefined;
|
|
1666
1666
|
} | null | undefined;
|
|
1667
1667
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1668
1668
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1487,7 +1487,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1487
1487
|
device_id: z.ZodString;
|
|
1488
1488
|
name: z.ZodOptional<z.ZodString>;
|
|
1489
1489
|
climate_preset_key: z.ZodString;
|
|
1490
|
-
max_override_period_minutes: z.
|
|
1490
|
+
max_override_period_minutes: z.ZodNumber;
|
|
1491
1491
|
starts_at: z.ZodString;
|
|
1492
1492
|
ends_at: z.ZodString;
|
|
1493
1493
|
created_at: z.ZodString;
|
|
@@ -1507,11 +1507,11 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1507
1507
|
climate_preset_key: string;
|
|
1508
1508
|
thermostat_schedule_id: string;
|
|
1509
1509
|
device_id: string;
|
|
1510
|
+
max_override_period_minutes: number;
|
|
1510
1511
|
starts_at: string;
|
|
1511
1512
|
ends_at: string;
|
|
1512
1513
|
name?: string | undefined;
|
|
1513
1514
|
errors?: any;
|
|
1514
|
-
max_override_period_minutes?: number | undefined;
|
|
1515
1515
|
}>>>>;
|
|
1516
1516
|
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1517
1517
|
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1657,11 +1657,11 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1657
1657
|
climate_preset_key: string;
|
|
1658
1658
|
thermostat_schedule_id: string;
|
|
1659
1659
|
device_id: string;
|
|
1660
|
+
max_override_period_minutes: number;
|
|
1660
1661
|
starts_at: string;
|
|
1661
1662
|
ends_at: string;
|
|
1662
1663
|
name?: string | undefined;
|
|
1663
1664
|
errors?: any;
|
|
1664
|
-
max_override_period_minutes?: number | undefined;
|
|
1665
1665
|
} | null | undefined;
|
|
1666
1666
|
min_cooling_set_point_celsius?: number | undefined;
|
|
1667
1667
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -4,7 +4,7 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
4
4
|
device_id: z.ZodString;
|
|
5
5
|
name: z.ZodOptional<z.ZodString>;
|
|
6
6
|
climate_preset_key: z.ZodString;
|
|
7
|
-
max_override_period_minutes: z.
|
|
7
|
+
max_override_period_minutes: z.ZodNumber;
|
|
8
8
|
starts_at: z.ZodString;
|
|
9
9
|
ends_at: z.ZodString;
|
|
10
10
|
created_at: z.ZodString;
|
|
@@ -24,10 +24,10 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
24
24
|
climate_preset_key: string;
|
|
25
25
|
thermostat_schedule_id: string;
|
|
26
26
|
device_id: string;
|
|
27
|
+
max_override_period_minutes: number;
|
|
27
28
|
starts_at: string;
|
|
28
29
|
ends_at: string;
|
|
29
30
|
name?: string | undefined;
|
|
30
31
|
errors?: any;
|
|
31
|
-
max_override_period_minutes?: number | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type ThermostatSchedule = z.infer<typeof thermostat_schedule>;
|
|
@@ -4,7 +4,7 @@ export const thermostat_schedule = z.object({
|
|
|
4
4
|
device_id: z.string().uuid(),
|
|
5
5
|
name: z.string().optional(),
|
|
6
6
|
climate_preset_key: z.string(),
|
|
7
|
-
max_override_period_minutes: z.number().int().nonnegative()
|
|
7
|
+
max_override_period_minutes: z.number().int().nonnegative(),
|
|
8
8
|
starts_at: z.string().datetime(),
|
|
9
9
|
ends_at: z.string().datetime(),
|
|
10
10
|
created_at: z.string().datetime(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,+ZAA+Z,CACha;CACJ,CAAC,CAAA"}
|
|
@@ -2514,7 +2514,6 @@ declare const _default: {
|
|
|
2514
2514
|
description: string;
|
|
2515
2515
|
};
|
|
2516
2516
|
max_override_period_minutes: {
|
|
2517
|
-
default: number;
|
|
2518
2517
|
minimum: number;
|
|
2519
2518
|
type: string;
|
|
2520
2519
|
};
|
|
@@ -3263,7 +3262,6 @@ declare const _default: {
|
|
|
3263
3262
|
description: string;
|
|
3264
3263
|
};
|
|
3265
3264
|
max_override_period_minutes: {
|
|
3266
|
-
default: number;
|
|
3267
3265
|
minimum: number;
|
|
3268
3266
|
type: string;
|
|
3269
3267
|
};
|
|
@@ -3423,7 +3423,6 @@ export default {
|
|
|
3423
3423
|
description: 'Collection of errors associated with the thermostat schedule, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
|
|
3424
3424
|
},
|
|
3425
3425
|
max_override_period_minutes: {
|
|
3426
|
-
default: 0,
|
|
3427
3426
|
minimum: 0,
|
|
3428
3427
|
type: 'integer',
|
|
3429
3428
|
},
|
|
@@ -3438,6 +3437,7 @@ export default {
|
|
|
3438
3437
|
'thermostat_schedule_id',
|
|
3439
3438
|
'device_id',
|
|
3440
3439
|
'climate_preset_key',
|
|
3440
|
+
'max_override_period_minutes',
|
|
3441
3441
|
'starts_at',
|
|
3442
3442
|
'ends_at',
|
|
3443
3443
|
'created_at',
|
|
@@ -4040,11 +4040,7 @@ export default {
|
|
|
4040
4040
|
errors: {
|
|
4041
4041
|
description: 'Collection of errors associated with the thermostat schedule, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
|
|
4042
4042
|
},
|
|
4043
|
-
max_override_period_minutes: {
|
|
4044
|
-
default: 0,
|
|
4045
|
-
minimum: 0,
|
|
4046
|
-
type: 'integer',
|
|
4047
|
-
},
|
|
4043
|
+
max_override_period_minutes: { minimum: 0, type: 'integer' },
|
|
4048
4044
|
name: { type: 'string' },
|
|
4049
4045
|
starts_at: { format: 'date-time', type: 'string' },
|
|
4050
4046
|
thermostat_schedule_id: { format: 'uuid', type: 'string' },
|
|
@@ -4053,6 +4049,7 @@ export default {
|
|
|
4053
4049
|
'thermostat_schedule_id',
|
|
4054
4050
|
'device_id',
|
|
4055
4051
|
'climate_preset_key',
|
|
4052
|
+
'max_override_period_minutes',
|
|
4056
4053
|
'starts_at',
|
|
4057
4054
|
'ends_at',
|
|
4058
4055
|
'created_at',
|