@seamapi/types 1.395.1 → 1.395.2
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 +57 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +578 -502
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
- package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +37 -30
- package/lib/seam/connect/models/devices/phone.d.ts +2 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
- package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
- package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
- package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
- package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
- package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
- package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
- package/lib/seam/connect/models/events/common.d.ts +2 -2
- package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +132 -132
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +35 -8
- package/lib/seam/connect/openapi.js +43 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +136 -102
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +47 -10
- package/src/lib/seam/connect/route-types.ts +617 -505
|
@@ -143,12 +143,13 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
143
143
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
144
144
|
thermostat_schedule_id: z.ZodString;
|
|
145
145
|
device_id: z.ZodString;
|
|
146
|
-
name: z.
|
|
146
|
+
name: z.ZodNullable<z.ZodString>;
|
|
147
147
|
climate_preset_key: z.ZodString;
|
|
148
148
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
149
149
|
starts_at: z.ZodString;
|
|
150
150
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
151
151
|
ends_at: z.ZodString;
|
|
152
|
+
workspace_id: z.ZodString;
|
|
152
153
|
created_at: z.ZodString;
|
|
153
154
|
errors: z.ZodArray<z.ZodObject<{
|
|
154
155
|
error_code: z.ZodString;
|
|
@@ -161,8 +162,10 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
161
162
|
error_code: string;
|
|
162
163
|
}>, "many">;
|
|
163
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
name: string | null;
|
|
164
166
|
climate_preset_key: string;
|
|
165
167
|
device_id: string;
|
|
168
|
+
workspace_id: string;
|
|
166
169
|
created_at: string;
|
|
167
170
|
thermostat_schedule_id: string;
|
|
168
171
|
starts_at: string;
|
|
@@ -171,12 +174,13 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
171
174
|
message: string;
|
|
172
175
|
error_code: string;
|
|
173
176
|
}[];
|
|
174
|
-
name?: string | undefined;
|
|
175
177
|
max_override_period_minutes?: number | null | undefined;
|
|
176
178
|
is_override_allowed?: boolean | undefined;
|
|
177
179
|
}, {
|
|
180
|
+
name: string | null;
|
|
178
181
|
climate_preset_key: string;
|
|
179
182
|
device_id: string;
|
|
183
|
+
workspace_id: string;
|
|
180
184
|
created_at: string;
|
|
181
185
|
thermostat_schedule_id: string;
|
|
182
186
|
starts_at: string;
|
|
@@ -185,14 +189,13 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
185
189
|
message: string;
|
|
186
190
|
error_code: string;
|
|
187
191
|
}[];
|
|
188
|
-
name?: string | undefined;
|
|
189
192
|
max_override_period_minutes?: number | null | undefined;
|
|
190
193
|
is_override_allowed?: boolean | undefined;
|
|
191
194
|
}>>>>;
|
|
192
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
195
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
196
|
thermostat_daily_program_id: z.ZodString;
|
|
194
197
|
device_id: z.ZodString;
|
|
195
|
-
name: z.
|
|
198
|
+
name: z.ZodNullable<z.ZodString>;
|
|
196
199
|
periods: z.ZodArray<z.ZodObject<{
|
|
197
200
|
starts_at_time: z.ZodString;
|
|
198
201
|
climate_preset_key: z.ZodString;
|
|
@@ -203,28 +206,30 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
203
206
|
climate_preset_key: string;
|
|
204
207
|
starts_at_time: string;
|
|
205
208
|
}>, "many">;
|
|
209
|
+
workspace_id: z.ZodString;
|
|
206
210
|
created_at: z.ZodString;
|
|
207
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
name: string | null;
|
|
208
213
|
thermostat_daily_program_id: string;
|
|
209
214
|
device_id: string;
|
|
210
215
|
periods: {
|
|
211
216
|
climate_preset_key: string;
|
|
212
217
|
starts_at_time: string;
|
|
213
218
|
}[];
|
|
219
|
+
workspace_id: string;
|
|
214
220
|
created_at: string;
|
|
215
|
-
name?: string | undefined;
|
|
216
221
|
}, {
|
|
222
|
+
name: string | null;
|
|
217
223
|
thermostat_daily_program_id: string;
|
|
218
224
|
device_id: string;
|
|
219
225
|
periods: {
|
|
220
226
|
climate_preset_key: string;
|
|
221
227
|
starts_at_time: string;
|
|
222
228
|
}[];
|
|
229
|
+
workspace_id: string;
|
|
223
230
|
created_at: string;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
227
|
-
device_id: z.ZodString;
|
|
231
|
+
}>, "many">>>;
|
|
232
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
228
233
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
229
234
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
230
235
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -234,7 +239,6 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
234
239
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
235
240
|
created_at: z.ZodString;
|
|
236
241
|
}, "strip", z.ZodTypeAny, {
|
|
237
|
-
device_id: string;
|
|
238
242
|
created_at: string;
|
|
239
243
|
monday_program_id: string | null;
|
|
240
244
|
tuesday_program_id: string | null;
|
|
@@ -244,7 +248,6 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
244
248
|
saturday_program_id: string | null;
|
|
245
249
|
sunday_program_id: string | null;
|
|
246
250
|
}, {
|
|
247
|
-
device_id: string;
|
|
248
251
|
created_at: string;
|
|
249
252
|
monday_program_id: string | null;
|
|
250
253
|
tuesday_program_id: string | null;
|
|
@@ -338,8 +341,10 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
338
341
|
}[] | undefined;
|
|
339
342
|
fallback_climate_preset_key?: string | null | undefined;
|
|
340
343
|
active_thermostat_schedule?: {
|
|
344
|
+
name: string | null;
|
|
341
345
|
climate_preset_key: string;
|
|
342
346
|
device_id: string;
|
|
347
|
+
workspace_id: string;
|
|
343
348
|
created_at: string;
|
|
344
349
|
thermostat_schedule_id: string;
|
|
345
350
|
starts_at: string;
|
|
@@ -348,22 +353,21 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
348
353
|
message: string;
|
|
349
354
|
error_code: string;
|
|
350
355
|
}[];
|
|
351
|
-
name?: string | undefined;
|
|
352
356
|
max_override_period_minutes?: number | null | undefined;
|
|
353
357
|
is_override_allowed?: boolean | undefined;
|
|
354
358
|
} | null | undefined;
|
|
355
359
|
thermostat_daily_programs?: {
|
|
360
|
+
name: string | null;
|
|
356
361
|
thermostat_daily_program_id: string;
|
|
357
362
|
device_id: string;
|
|
358
363
|
periods: {
|
|
359
364
|
climate_preset_key: string;
|
|
360
365
|
starts_at_time: string;
|
|
361
366
|
}[];
|
|
367
|
+
workspace_id: string;
|
|
362
368
|
created_at: string;
|
|
363
|
-
|
|
364
|
-
}[] | null | undefined;
|
|
369
|
+
}[] | undefined;
|
|
365
370
|
thermostat_weekly_program?: {
|
|
366
|
-
device_id: string;
|
|
367
371
|
created_at: string;
|
|
368
372
|
monday_program_id: string | null;
|
|
369
373
|
tuesday_program_id: string | null;
|
|
@@ -447,8 +451,10 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
447
451
|
}[] | undefined;
|
|
448
452
|
fallback_climate_preset_key?: string | null | undefined;
|
|
449
453
|
active_thermostat_schedule?: {
|
|
454
|
+
name: string | null;
|
|
450
455
|
climate_preset_key: string;
|
|
451
456
|
device_id: string;
|
|
457
|
+
workspace_id: string;
|
|
452
458
|
created_at: string;
|
|
453
459
|
thermostat_schedule_id: string;
|
|
454
460
|
starts_at: string;
|
|
@@ -457,22 +463,21 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
457
463
|
message: string;
|
|
458
464
|
error_code: string;
|
|
459
465
|
}[];
|
|
460
|
-
name?: string | undefined;
|
|
461
466
|
max_override_period_minutes?: number | null | undefined;
|
|
462
467
|
is_override_allowed?: boolean | undefined;
|
|
463
468
|
} | null | undefined;
|
|
464
469
|
thermostat_daily_programs?: {
|
|
470
|
+
name: string | null;
|
|
465
471
|
thermostat_daily_program_id: string;
|
|
466
472
|
device_id: string;
|
|
467
473
|
periods: {
|
|
468
474
|
climate_preset_key: string;
|
|
469
475
|
starts_at_time: string;
|
|
470
476
|
}[];
|
|
477
|
+
workspace_id: string;
|
|
471
478
|
created_at: string;
|
|
472
|
-
|
|
473
|
-
}[] | null | undefined;
|
|
479
|
+
}[] | undefined;
|
|
474
480
|
thermostat_weekly_program?: {
|
|
475
|
-
device_id: string;
|
|
476
481
|
created_at: string;
|
|
477
482
|
monday_program_id: string | null;
|
|
478
483
|
tuesday_program_id: string | null;
|
|
@@ -31,13 +31,8 @@ export const thermostat_capability_properties = z
|
|
|
31
31
|
available_climate_presets: z.array(climate_preset),
|
|
32
32
|
fallback_climate_preset_key: z.string().min(1).nullable().default(null),
|
|
33
33
|
active_thermostat_schedule: thermostat_schedule.nullable().default(null),
|
|
34
|
-
thermostat_daily_programs: z
|
|
35
|
-
|
|
36
|
-
.nullable()
|
|
37
|
-
.default(null),
|
|
38
|
-
thermostat_weekly_program: thermostat_weekly_program
|
|
39
|
-
.nullable()
|
|
40
|
-
.default(null),
|
|
34
|
+
thermostat_daily_programs: z.array(thermostat_daily_program).optional(),
|
|
35
|
+
thermostat_weekly_program: thermostat_weekly_program.nullable().optional(),
|
|
41
36
|
min_cooling_set_point_celsius: z.number(),
|
|
42
37
|
min_cooling_set_point_fahrenheit: z.number(),
|
|
43
38
|
max_cooling_set_point_celsius: z.number(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAA;AAEnC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACxD,2BAA2B,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;IAC3B,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC;;;;KAI3C,CAAC;IAEF;;OAEG;IACH,mCAAmC,EAAE,CAAC,CAAC,OAAO,EAAE;IAEhD;;OAEG;IACH,uBAAuB,EAAE,eAAe;IACxC,uBAAuB,EAAE,eAAe,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACF,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;IAClD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACvE,0BAA0B,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACxE,yBAAyB,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAA;AAEnC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,4BAA4B,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACxD,2BAA2B,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;IAC3B,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC;;;;KAI3C,CAAC;IAEF;;OAEG;IACH,mCAAmC,EAAE,CAAC,CAAC,OAAO,EAAE;IAEhD;;OAEG;IACH,uBAAuB,EAAE,eAAe;IACxC,uBAAuB,EAAE,eAAe,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACF,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;IAClD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACvE,0BAA0B,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACxE,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE;IACvE,yBAAyB,EAAE,yBAAyB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1E,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE;IACzC,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,iCAAiC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7C,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;IAChD,qBAAqB,EAAE,CAAC;SACrB,MAAM,CAAC;QACN,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7C,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9C,CAAC;SACD,QAAQ,EAAE;CACd,CAAC;KACD,OAAO,EAAE,CAAA"}
|
|
@@ -3440,12 +3440,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3440
3440
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3441
3441
|
thermostat_schedule_id: z.ZodString;
|
|
3442
3442
|
device_id: z.ZodString;
|
|
3443
|
-
name: z.
|
|
3443
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3444
3444
|
climate_preset_key: z.ZodString;
|
|
3445
3445
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3446
3446
|
starts_at: z.ZodString;
|
|
3447
3447
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
3448
3448
|
ends_at: z.ZodString;
|
|
3449
|
+
workspace_id: z.ZodString;
|
|
3449
3450
|
created_at: z.ZodString;
|
|
3450
3451
|
errors: z.ZodArray<z.ZodObject<{
|
|
3451
3452
|
error_code: z.ZodString;
|
|
@@ -3458,8 +3459,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3458
3459
|
error_code: string;
|
|
3459
3460
|
}>, "many">;
|
|
3460
3461
|
}, "strip", z.ZodTypeAny, {
|
|
3462
|
+
name: string | null;
|
|
3461
3463
|
climate_preset_key: string;
|
|
3462
3464
|
device_id: string;
|
|
3465
|
+
workspace_id: string;
|
|
3463
3466
|
created_at: string;
|
|
3464
3467
|
thermostat_schedule_id: string;
|
|
3465
3468
|
starts_at: string;
|
|
@@ -3468,12 +3471,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3468
3471
|
message: string;
|
|
3469
3472
|
error_code: string;
|
|
3470
3473
|
}[];
|
|
3471
|
-
name?: string | undefined;
|
|
3472
3474
|
max_override_period_minutes?: number | null | undefined;
|
|
3473
3475
|
is_override_allowed?: boolean | undefined;
|
|
3474
3476
|
}, {
|
|
3477
|
+
name: string | null;
|
|
3475
3478
|
climate_preset_key: string;
|
|
3476
3479
|
device_id: string;
|
|
3480
|
+
workspace_id: string;
|
|
3477
3481
|
created_at: string;
|
|
3478
3482
|
thermostat_schedule_id: string;
|
|
3479
3483
|
starts_at: string;
|
|
@@ -3482,14 +3486,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3482
3486
|
message: string;
|
|
3483
3487
|
error_code: string;
|
|
3484
3488
|
}[];
|
|
3485
|
-
name?: string | undefined;
|
|
3486
3489
|
max_override_period_minutes?: number | null | undefined;
|
|
3487
3490
|
is_override_allowed?: boolean | undefined;
|
|
3488
3491
|
}>>>>;
|
|
3489
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
3492
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3490
3493
|
thermostat_daily_program_id: z.ZodString;
|
|
3491
3494
|
device_id: z.ZodString;
|
|
3492
|
-
name: z.
|
|
3495
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3493
3496
|
periods: z.ZodArray<z.ZodObject<{
|
|
3494
3497
|
starts_at_time: z.ZodString;
|
|
3495
3498
|
climate_preset_key: z.ZodString;
|
|
@@ -3500,28 +3503,30 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3500
3503
|
climate_preset_key: string;
|
|
3501
3504
|
starts_at_time: string;
|
|
3502
3505
|
}>, "many">;
|
|
3506
|
+
workspace_id: z.ZodString;
|
|
3503
3507
|
created_at: z.ZodString;
|
|
3504
3508
|
}, "strip", z.ZodTypeAny, {
|
|
3509
|
+
name: string | null;
|
|
3505
3510
|
thermostat_daily_program_id: string;
|
|
3506
3511
|
device_id: string;
|
|
3507
3512
|
periods: {
|
|
3508
3513
|
climate_preset_key: string;
|
|
3509
3514
|
starts_at_time: string;
|
|
3510
3515
|
}[];
|
|
3516
|
+
workspace_id: string;
|
|
3511
3517
|
created_at: string;
|
|
3512
|
-
name?: string | undefined;
|
|
3513
3518
|
}, {
|
|
3519
|
+
name: string | null;
|
|
3514
3520
|
thermostat_daily_program_id: string;
|
|
3515
3521
|
device_id: string;
|
|
3516
3522
|
periods: {
|
|
3517
3523
|
climate_preset_key: string;
|
|
3518
3524
|
starts_at_time: string;
|
|
3519
3525
|
}[];
|
|
3526
|
+
workspace_id: string;
|
|
3520
3527
|
created_at: string;
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3524
|
-
device_id: z.ZodString;
|
|
3528
|
+
}>, "many">>>;
|
|
3529
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3525
3530
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
3526
3531
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
3527
3532
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3531,7 +3536,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3531
3536
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
3532
3537
|
created_at: z.ZodString;
|
|
3533
3538
|
}, "strip", z.ZodTypeAny, {
|
|
3534
|
-
device_id: string;
|
|
3535
3539
|
created_at: string;
|
|
3536
3540
|
monday_program_id: string | null;
|
|
3537
3541
|
tuesday_program_id: string | null;
|
|
@@ -3541,7 +3545,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3541
3545
|
saturday_program_id: string | null;
|
|
3542
3546
|
sunday_program_id: string | null;
|
|
3543
3547
|
}, {
|
|
3544
|
-
device_id: string;
|
|
3545
3548
|
created_at: string;
|
|
3546
3549
|
monday_program_id: string | null;
|
|
3547
3550
|
tuesday_program_id: string | null;
|
|
@@ -3635,8 +3638,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3635
3638
|
}[] | undefined;
|
|
3636
3639
|
fallback_climate_preset_key?: string | null | undefined;
|
|
3637
3640
|
active_thermostat_schedule?: {
|
|
3641
|
+
name: string | null;
|
|
3638
3642
|
climate_preset_key: string;
|
|
3639
3643
|
device_id: string;
|
|
3644
|
+
workspace_id: string;
|
|
3640
3645
|
created_at: string;
|
|
3641
3646
|
thermostat_schedule_id: string;
|
|
3642
3647
|
starts_at: string;
|
|
@@ -3645,22 +3650,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3645
3650
|
message: string;
|
|
3646
3651
|
error_code: string;
|
|
3647
3652
|
}[];
|
|
3648
|
-
name?: string | undefined;
|
|
3649
3653
|
max_override_period_minutes?: number | null | undefined;
|
|
3650
3654
|
is_override_allowed?: boolean | undefined;
|
|
3651
3655
|
} | null | undefined;
|
|
3652
3656
|
thermostat_daily_programs?: {
|
|
3657
|
+
name: string | null;
|
|
3653
3658
|
thermostat_daily_program_id: string;
|
|
3654
3659
|
device_id: string;
|
|
3655
3660
|
periods: {
|
|
3656
3661
|
climate_preset_key: string;
|
|
3657
3662
|
starts_at_time: string;
|
|
3658
3663
|
}[];
|
|
3664
|
+
workspace_id: string;
|
|
3659
3665
|
created_at: string;
|
|
3660
|
-
|
|
3661
|
-
}[] | null | undefined;
|
|
3666
|
+
}[] | undefined;
|
|
3662
3667
|
thermostat_weekly_program?: {
|
|
3663
|
-
device_id: string;
|
|
3664
3668
|
created_at: string;
|
|
3665
3669
|
monday_program_id: string | null;
|
|
3666
3670
|
tuesday_program_id: string | null;
|
|
@@ -3744,8 +3748,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3744
3748
|
}[] | undefined;
|
|
3745
3749
|
fallback_climate_preset_key?: string | null | undefined;
|
|
3746
3750
|
active_thermostat_schedule?: {
|
|
3751
|
+
name: string | null;
|
|
3747
3752
|
climate_preset_key: string;
|
|
3748
3753
|
device_id: string;
|
|
3754
|
+
workspace_id: string;
|
|
3749
3755
|
created_at: string;
|
|
3750
3756
|
thermostat_schedule_id: string;
|
|
3751
3757
|
starts_at: string;
|
|
@@ -3754,22 +3760,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3754
3760
|
message: string;
|
|
3755
3761
|
error_code: string;
|
|
3756
3762
|
}[];
|
|
3757
|
-
name?: string | undefined;
|
|
3758
3763
|
max_override_period_minutes?: number | null | undefined;
|
|
3759
3764
|
is_override_allowed?: boolean | undefined;
|
|
3760
3765
|
} | null | undefined;
|
|
3761
3766
|
thermostat_daily_programs?: {
|
|
3767
|
+
name: string | null;
|
|
3762
3768
|
thermostat_daily_program_id: string;
|
|
3763
3769
|
device_id: string;
|
|
3764
3770
|
periods: {
|
|
3765
3771
|
climate_preset_key: string;
|
|
3766
3772
|
starts_at_time: string;
|
|
3767
3773
|
}[];
|
|
3774
|
+
workspace_id: string;
|
|
3768
3775
|
created_at: string;
|
|
3769
|
-
|
|
3770
|
-
}[] | null | undefined;
|
|
3776
|
+
}[] | undefined;
|
|
3771
3777
|
thermostat_weekly_program?: {
|
|
3772
|
-
device_id: string;
|
|
3773
3778
|
created_at: string;
|
|
3774
3779
|
monday_program_id: string | null;
|
|
3775
3780
|
tuesday_program_id: string | null;
|
|
@@ -4394,6 +4399,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4394
4399
|
} | null;
|
|
4395
4400
|
display_name: string;
|
|
4396
4401
|
device_id: string;
|
|
4402
|
+
workspace_id: string;
|
|
4397
4403
|
created_at: string;
|
|
4398
4404
|
errors: ({
|
|
4399
4405
|
message: string;
|
|
@@ -4924,8 +4930,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4924
4930
|
}[] | undefined;
|
|
4925
4931
|
fallback_climate_preset_key?: string | null | undefined;
|
|
4926
4932
|
active_thermostat_schedule?: {
|
|
4933
|
+
name: string | null;
|
|
4927
4934
|
climate_preset_key: string;
|
|
4928
4935
|
device_id: string;
|
|
4936
|
+
workspace_id: string;
|
|
4929
4937
|
created_at: string;
|
|
4930
4938
|
thermostat_schedule_id: string;
|
|
4931
4939
|
starts_at: string;
|
|
@@ -4934,22 +4942,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4934
4942
|
message: string;
|
|
4935
4943
|
error_code: string;
|
|
4936
4944
|
}[];
|
|
4937
|
-
name?: string | undefined;
|
|
4938
4945
|
max_override_period_minutes?: number | null | undefined;
|
|
4939
4946
|
is_override_allowed?: boolean | undefined;
|
|
4940
4947
|
} | null | undefined;
|
|
4941
4948
|
thermostat_daily_programs?: {
|
|
4949
|
+
name: string | null;
|
|
4942
4950
|
thermostat_daily_program_id: string;
|
|
4943
4951
|
device_id: string;
|
|
4944
4952
|
periods: {
|
|
4945
4953
|
climate_preset_key: string;
|
|
4946
4954
|
starts_at_time: string;
|
|
4947
4955
|
}[];
|
|
4956
|
+
workspace_id: string;
|
|
4948
4957
|
created_at: string;
|
|
4949
|
-
|
|
4950
|
-
}[] | null | undefined;
|
|
4958
|
+
}[] | undefined;
|
|
4951
4959
|
thermostat_weekly_program?: {
|
|
4952
|
-
device_id: string;
|
|
4953
4960
|
created_at: string;
|
|
4954
4961
|
monday_program_id: string | null;
|
|
4955
4962
|
tuesday_program_id: string | null;
|
|
@@ -4976,7 +4983,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4976
4983
|
upper_limit_fahrenheit: number | null;
|
|
4977
4984
|
} | undefined;
|
|
4978
4985
|
};
|
|
4979
|
-
workspace_id: string;
|
|
4980
4986
|
is_managed: true;
|
|
4981
4987
|
can_remotely_unlock?: boolean | undefined;
|
|
4982
4988
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -4997,6 +5003,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4997
5003
|
} | null;
|
|
4998
5004
|
display_name: string;
|
|
4999
5005
|
device_id: string;
|
|
5006
|
+
workspace_id: string;
|
|
5000
5007
|
created_at: string;
|
|
5001
5008
|
errors: ({
|
|
5002
5009
|
message: string;
|
|
@@ -5527,8 +5534,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5527
5534
|
}[] | undefined;
|
|
5528
5535
|
fallback_climate_preset_key?: string | null | undefined;
|
|
5529
5536
|
active_thermostat_schedule?: {
|
|
5537
|
+
name: string | null;
|
|
5530
5538
|
climate_preset_key: string;
|
|
5531
5539
|
device_id: string;
|
|
5540
|
+
workspace_id: string;
|
|
5532
5541
|
created_at: string;
|
|
5533
5542
|
thermostat_schedule_id: string;
|
|
5534
5543
|
starts_at: string;
|
|
@@ -5537,22 +5546,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5537
5546
|
message: string;
|
|
5538
5547
|
error_code: string;
|
|
5539
5548
|
}[];
|
|
5540
|
-
name?: string | undefined;
|
|
5541
5549
|
max_override_period_minutes?: number | null | undefined;
|
|
5542
5550
|
is_override_allowed?: boolean | undefined;
|
|
5543
5551
|
} | null | undefined;
|
|
5544
5552
|
thermostat_daily_programs?: {
|
|
5553
|
+
name: string | null;
|
|
5545
5554
|
thermostat_daily_program_id: string;
|
|
5546
5555
|
device_id: string;
|
|
5547
5556
|
periods: {
|
|
5548
5557
|
climate_preset_key: string;
|
|
5549
5558
|
starts_at_time: string;
|
|
5550
5559
|
}[];
|
|
5560
|
+
workspace_id: string;
|
|
5551
5561
|
created_at: string;
|
|
5552
|
-
|
|
5553
|
-
}[] | null | undefined;
|
|
5562
|
+
}[] | undefined;
|
|
5554
5563
|
thermostat_weekly_program?: {
|
|
5555
|
-
device_id: string;
|
|
5556
5564
|
created_at: string;
|
|
5557
5565
|
monday_program_id: string | null;
|
|
5558
5566
|
tuesday_program_id: string | null;
|
|
@@ -5579,7 +5587,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5579
5587
|
upper_limit_fahrenheit: number | null;
|
|
5580
5588
|
} | undefined;
|
|
5581
5589
|
};
|
|
5582
|
-
workspace_id: string;
|
|
5583
5590
|
is_managed: true;
|
|
5584
5591
|
can_remotely_unlock?: boolean | undefined;
|
|
5585
5592
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -87,6 +87,7 @@ export declare const phone: z.ZodObject<{
|
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
display_name: string;
|
|
89
89
|
device_id: string;
|
|
90
|
+
workspace_id: string;
|
|
90
91
|
created_at: string;
|
|
91
92
|
errors: {
|
|
92
93
|
message: string;
|
|
@@ -110,11 +111,11 @@ export declare const phone: z.ZodObject<{
|
|
|
110
111
|
has_active_phone: boolean;
|
|
111
112
|
} | undefined;
|
|
112
113
|
};
|
|
113
|
-
workspace_id: string;
|
|
114
114
|
nickname?: string | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
display_name: string;
|
|
117
117
|
device_id: string;
|
|
118
|
+
workspace_id: string;
|
|
118
119
|
created_at: string;
|
|
119
120
|
errors: {
|
|
120
121
|
message: string;
|
|
@@ -138,6 +139,5 @@ export declare const phone: z.ZodObject<{
|
|
|
138
139
|
has_active_phone: boolean;
|
|
139
140
|
} | undefined;
|
|
140
141
|
};
|
|
141
|
-
workspace_id: string;
|
|
142
142
|
nickname?: string | undefined;
|
|
143
143
|
}>;
|