@seamapi/types 1.395.0 → 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 +58 -80
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +705 -778
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -9
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- 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 -65
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +136 -183
- package/package.json +2 -2
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -12
- 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 -74
- package/src/lib/seam/connect/route-types.ts +617 -595
|
@@ -9,18 +9,18 @@ export declare const bridge_connected_system: z.ZodObject<{
|
|
|
9
9
|
workspace_id: z.ZodString;
|
|
10
10
|
workspace_display_name: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
workspace_id: string;
|
|
12
13
|
connected_account_id: string;
|
|
13
14
|
bridge_id: string;
|
|
14
|
-
workspace_id: string;
|
|
15
15
|
acs_system_id: string;
|
|
16
16
|
bridge_created_at: string;
|
|
17
17
|
connected_account_created_at: string;
|
|
18
18
|
acs_system_display_name: string;
|
|
19
19
|
workspace_display_name: string;
|
|
20
20
|
}, {
|
|
21
|
+
workspace_id: string;
|
|
21
22
|
connected_account_id: string;
|
|
22
23
|
bridge_id: string;
|
|
23
|
-
workspace_id: string;
|
|
24
24
|
acs_system_id: string;
|
|
25
25
|
bridge_created_at: string;
|
|
26
26
|
connected_account_created_at: string;
|
|
@@ -4,12 +4,12 @@ export declare const bridge: z.ZodObject<{
|
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
workspace_id: string;
|
|
7
8
|
created_at: string;
|
|
8
9
|
bridge_id: string;
|
|
9
|
-
workspace_id: string;
|
|
10
10
|
}, {
|
|
11
|
+
workspace_id: string;
|
|
11
12
|
created_at: string;
|
|
12
13
|
bridge_id: string;
|
|
13
|
-
workspace_id: string;
|
|
14
14
|
}>;
|
|
15
15
|
export type Bridge = z.infer<typeof bridge>;
|
|
@@ -11,8 +11,8 @@ export declare const client_session: z.ZodObject<{
|
|
|
11
11
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
12
12
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
created_at: string;
|
|
15
14
|
workspace_id: string;
|
|
15
|
+
created_at: string;
|
|
16
16
|
connected_account_ids: string[];
|
|
17
17
|
client_session_id: string;
|
|
18
18
|
expires_at: string;
|
|
@@ -22,8 +22,8 @@ export declare const client_session: z.ZodObject<{
|
|
|
22
22
|
connect_webview_ids: string[];
|
|
23
23
|
user_identity_ids: string[];
|
|
24
24
|
}, {
|
|
25
|
-
created_at: string;
|
|
26
25
|
workspace_id: string;
|
|
26
|
+
created_at: string;
|
|
27
27
|
connected_account_ids: string[];
|
|
28
28
|
client_session_id: string;
|
|
29
29
|
expires_at: string;
|
|
@@ -23,11 +23,11 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
url: string;
|
|
25
25
|
status: "failed" | "pending" | "authorized";
|
|
26
|
+
workspace_id: string;
|
|
26
27
|
created_at: string;
|
|
27
28
|
connected_account_id: string | null;
|
|
28
29
|
custom_metadata: Record<string, string | boolean>;
|
|
29
30
|
automatically_manage_new_devices: boolean;
|
|
30
|
-
workspace_id: string;
|
|
31
31
|
connect_webview_id: string;
|
|
32
32
|
device_selection_mode: "none" | "multiple" | "single";
|
|
33
33
|
accepted_providers: string[];
|
|
@@ -43,11 +43,11 @@ export declare const connect_webview: z.ZodObject<{
|
|
|
43
43
|
}, {
|
|
44
44
|
url: string;
|
|
45
45
|
status: "failed" | "pending" | "authorized";
|
|
46
|
+
workspace_id: string;
|
|
46
47
|
created_at: string;
|
|
47
48
|
connected_account_id: string | null;
|
|
48
49
|
custom_metadata: Record<string, string | boolean>;
|
|
49
50
|
automatically_manage_new_devices: boolean;
|
|
50
|
-
workspace_id: string;
|
|
51
51
|
connect_webview_id: string;
|
|
52
52
|
device_selection_mode: "none" | "multiple" | "single";
|
|
53
53
|
accepted_providers: string[];
|
|
@@ -218,12 +218,13 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
218
218
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
219
219
|
thermostat_schedule_id: z.ZodString;
|
|
220
220
|
device_id: z.ZodString;
|
|
221
|
-
name: z.
|
|
221
|
+
name: z.ZodNullable<z.ZodString>;
|
|
222
222
|
climate_preset_key: z.ZodString;
|
|
223
223
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
224
224
|
starts_at: z.ZodString;
|
|
225
225
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
226
226
|
ends_at: z.ZodString;
|
|
227
|
+
workspace_id: z.ZodString;
|
|
227
228
|
created_at: z.ZodString;
|
|
228
229
|
errors: z.ZodArray<z.ZodObject<{
|
|
229
230
|
error_code: z.ZodString;
|
|
@@ -236,8 +237,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
236
237
|
error_code: string;
|
|
237
238
|
}>, "many">;
|
|
238
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
+
name: string | null;
|
|
239
241
|
climate_preset_key: string;
|
|
240
242
|
device_id: string;
|
|
243
|
+
workspace_id: string;
|
|
241
244
|
created_at: string;
|
|
242
245
|
thermostat_schedule_id: string;
|
|
243
246
|
starts_at: string;
|
|
@@ -246,12 +249,13 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
246
249
|
message: string;
|
|
247
250
|
error_code: string;
|
|
248
251
|
}[];
|
|
249
|
-
name?: string | undefined;
|
|
250
252
|
max_override_period_minutes?: number | null | undefined;
|
|
251
253
|
is_override_allowed?: boolean | undefined;
|
|
252
254
|
}, {
|
|
255
|
+
name: string | null;
|
|
253
256
|
climate_preset_key: string;
|
|
254
257
|
device_id: string;
|
|
258
|
+
workspace_id: string;
|
|
255
259
|
created_at: string;
|
|
256
260
|
thermostat_schedule_id: string;
|
|
257
261
|
starts_at: string;
|
|
@@ -260,14 +264,13 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
260
264
|
message: string;
|
|
261
265
|
error_code: string;
|
|
262
266
|
}[];
|
|
263
|
-
name?: string | undefined;
|
|
264
267
|
max_override_period_minutes?: number | null | undefined;
|
|
265
268
|
is_override_allowed?: boolean | undefined;
|
|
266
269
|
}>>>>;
|
|
267
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
270
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
268
271
|
thermostat_daily_program_id: z.ZodString;
|
|
269
272
|
device_id: z.ZodString;
|
|
270
|
-
name: z.
|
|
273
|
+
name: z.ZodNullable<z.ZodString>;
|
|
271
274
|
periods: z.ZodArray<z.ZodObject<{
|
|
272
275
|
starts_at_time: z.ZodString;
|
|
273
276
|
climate_preset_key: z.ZodString;
|
|
@@ -278,28 +281,30 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
278
281
|
climate_preset_key: string;
|
|
279
282
|
starts_at_time: string;
|
|
280
283
|
}>, "many">;
|
|
284
|
+
workspace_id: z.ZodString;
|
|
281
285
|
created_at: z.ZodString;
|
|
282
286
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
+
name: string | null;
|
|
283
288
|
thermostat_daily_program_id: string;
|
|
284
289
|
device_id: string;
|
|
285
290
|
periods: {
|
|
286
291
|
climate_preset_key: string;
|
|
287
292
|
starts_at_time: string;
|
|
288
293
|
}[];
|
|
294
|
+
workspace_id: string;
|
|
289
295
|
created_at: string;
|
|
290
|
-
name?: string | undefined;
|
|
291
296
|
}, {
|
|
297
|
+
name: string | null;
|
|
292
298
|
thermostat_daily_program_id: string;
|
|
293
299
|
device_id: string;
|
|
294
300
|
periods: {
|
|
295
301
|
climate_preset_key: string;
|
|
296
302
|
starts_at_time: string;
|
|
297
303
|
}[];
|
|
304
|
+
workspace_id: string;
|
|
298
305
|
created_at: string;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
302
|
-
device_id: z.ZodString;
|
|
306
|
+
}>, "many">>>;
|
|
307
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
303
308
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
304
309
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
305
310
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -309,7 +314,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
309
314
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
310
315
|
created_at: z.ZodString;
|
|
311
316
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
device_id: string;
|
|
313
317
|
created_at: string;
|
|
314
318
|
monday_program_id: string | null;
|
|
315
319
|
tuesday_program_id: string | null;
|
|
@@ -319,7 +323,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
319
323
|
saturday_program_id: string | null;
|
|
320
324
|
sunday_program_id: string | null;
|
|
321
325
|
}, {
|
|
322
|
-
device_id: string;
|
|
323
326
|
created_at: string;
|
|
324
327
|
monday_program_id: string | null;
|
|
325
328
|
tuesday_program_id: string | null;
|
|
@@ -413,8 +416,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
413
416
|
}[] | undefined;
|
|
414
417
|
fallback_climate_preset_key?: string | null | undefined;
|
|
415
418
|
active_thermostat_schedule?: {
|
|
419
|
+
name: string | null;
|
|
416
420
|
climate_preset_key: string;
|
|
417
421
|
device_id: string;
|
|
422
|
+
workspace_id: string;
|
|
418
423
|
created_at: string;
|
|
419
424
|
thermostat_schedule_id: string;
|
|
420
425
|
starts_at: string;
|
|
@@ -423,22 +428,21 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
423
428
|
message: string;
|
|
424
429
|
error_code: string;
|
|
425
430
|
}[];
|
|
426
|
-
name?: string | undefined;
|
|
427
431
|
max_override_period_minutes?: number | null | undefined;
|
|
428
432
|
is_override_allowed?: boolean | undefined;
|
|
429
433
|
} | null | undefined;
|
|
430
434
|
thermostat_daily_programs?: {
|
|
435
|
+
name: string | null;
|
|
431
436
|
thermostat_daily_program_id: string;
|
|
432
437
|
device_id: string;
|
|
433
438
|
periods: {
|
|
434
439
|
climate_preset_key: string;
|
|
435
440
|
starts_at_time: string;
|
|
436
441
|
}[];
|
|
442
|
+
workspace_id: string;
|
|
437
443
|
created_at: string;
|
|
438
|
-
|
|
439
|
-
}[] | null | undefined;
|
|
444
|
+
}[] | undefined;
|
|
440
445
|
thermostat_weekly_program?: {
|
|
441
|
-
device_id: string;
|
|
442
446
|
created_at: string;
|
|
443
447
|
monday_program_id: string | null;
|
|
444
448
|
tuesday_program_id: string | null;
|
|
@@ -522,8 +526,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
522
526
|
}[] | undefined;
|
|
523
527
|
fallback_climate_preset_key?: string | null | undefined;
|
|
524
528
|
active_thermostat_schedule?: {
|
|
529
|
+
name: string | null;
|
|
525
530
|
climate_preset_key: string;
|
|
526
531
|
device_id: string;
|
|
532
|
+
workspace_id: string;
|
|
527
533
|
created_at: string;
|
|
528
534
|
thermostat_schedule_id: string;
|
|
529
535
|
starts_at: string;
|
|
@@ -532,22 +538,21 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
532
538
|
message: string;
|
|
533
539
|
error_code: string;
|
|
534
540
|
}[];
|
|
535
|
-
name?: string | undefined;
|
|
536
541
|
max_override_period_minutes?: number | null | undefined;
|
|
537
542
|
is_override_allowed?: boolean | undefined;
|
|
538
543
|
} | null | undefined;
|
|
539
544
|
thermostat_daily_programs?: {
|
|
545
|
+
name: string | null;
|
|
540
546
|
thermostat_daily_program_id: string;
|
|
541
547
|
device_id: string;
|
|
542
548
|
periods: {
|
|
543
549
|
climate_preset_key: string;
|
|
544
550
|
starts_at_time: string;
|
|
545
551
|
}[];
|
|
552
|
+
workspace_id: string;
|
|
546
553
|
created_at: string;
|
|
547
|
-
|
|
548
|
-
}[] | null | undefined;
|
|
554
|
+
}[] | undefined;
|
|
549
555
|
thermostat_weekly_program?: {
|
|
550
|
-
device_id: string;
|
|
551
556
|
created_at: string;
|
|
552
557
|
monday_program_id: string | null;
|
|
553
558
|
tuesday_program_id: string | null;
|
|
@@ -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"}
|