@seamapi/types 1.210.0 → 1.211.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.
Files changed (46) hide show
  1. package/dist/connect.d.cts +2793 -1343
  2. package/dist/devicedb.d.cts +199 -795
  3. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  4. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  5. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  8. package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
  9. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  11. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  12. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  14. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  15. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  16. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  17. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  21. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  22. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  25. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  26. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  28. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  29. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  30. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  31. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  32. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  33. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  34. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  35. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  36. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  37. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  38. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  39. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  40. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  41. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  42. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  43. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  46. package/package.json +5 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const cooling_thermostat_capability_properties: z.ZodObject<{
2
+ export declare const cooling_thermostat_capability_properties: z.ZodObject<z.objectUtil.extendShape<{
3
3
  temperature_fahrenheit: z.ZodNumber;
4
4
  temperature_celsius: z.ZodNumber;
5
5
  relative_humidity: z.ZodNumber;
@@ -7,11 +7,18 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
7
7
  can_enable_automatic_cooling: z.ZodBoolean;
8
8
  available_hvac_mode_settings: z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">;
9
9
  is_heating_available: z.ZodLiteral<false>;
10
+ is_cooling_available: z.ZodLiteral<false>;
10
11
  is_heating: z.ZodBoolean;
11
12
  is_cooling: z.ZodBoolean;
12
13
  is_fan_running: z.ZodBoolean;
13
14
  fan_mode_setting: z.ZodEnum<["auto", "on"]>;
15
+ /**
16
+ * this is true if the current thermostat settings differ that what is on seam, and `current_climate_setting.manual_override_allowed: true`
17
+ */
14
18
  is_temporary_manual_override_active: z.ZodBoolean;
19
+ /**
20
+ * can be derived from `default_climate_setting`, or `active_climate_setting_schedule` if one is active
21
+ */
15
22
  current_climate_setting: z.ZodObject<{
16
23
  automatic_heating_enabled: z.ZodBoolean;
17
24
  automatic_cooling_enabled: z.ZodBoolean;
@@ -69,15 +76,16 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
69
76
  heating_set_point_fahrenheit?: number | undefined;
70
77
  }>>;
71
78
  is_climate_setting_schedule_active: z.ZodBoolean;
72
- active_climate_setting_schedule: z.ZodOptional<z.ZodObject<{
73
- name: z.ZodOptional<z.ZodString>;
74
- created_at: z.ZodString;
75
- errors: z.ZodAny;
79
+ active_climate_setting_schedule: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
76
80
  climate_setting_schedule_id: z.ZodString;
77
81
  schedule_type: z.ZodLiteral<"time_bound">;
78
82
  device_id: z.ZodString;
83
+ name: z.ZodOptional<z.ZodString>;
79
84
  schedule_starts_at: z.ZodString;
80
85
  schedule_ends_at: z.ZodString;
86
+ created_at: z.ZodString;
87
+ errors: z.ZodAny;
88
+ }, {
81
89
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
82
90
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
83
91
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -86,7 +94,7 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
86
94
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
87
95
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
88
96
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
89
- }, "strip", z.ZodTypeAny, {
97
+ }>, "strip", z.ZodTypeAny, {
90
98
  created_at: string;
91
99
  climate_setting_schedule_id: string;
92
100
  schedule_type: "time_bound";
@@ -121,12 +129,13 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
121
129
  heating_set_point_fahrenheit?: number | undefined;
122
130
  manual_override_allowed?: boolean | undefined;
123
131
  }>>;
132
+ }, {
124
133
  min_cooling_set_point_celsius: z.ZodNumber;
125
134
  min_cooling_set_point_fahrenheit: z.ZodNumber;
126
135
  max_cooling_set_point_celsius: z.ZodNumber;
127
136
  max_cooling_set_point_fahrenheit: z.ZodNumber;
128
137
  is_cooling_available: z.ZodLiteral<true>;
129
- }, "strip", z.ZodTypeAny, {
138
+ }>, "strip", z.ZodTypeAny, {
130
139
  temperature_fahrenheit: number;
131
140
  temperature_celsius: number;
132
141
  relative_humidity: number;
@@ -241,19 +250,26 @@ export declare const cooling_thermostat_capability_properties: z.ZodObject<{
241
250
  manual_override_allowed?: boolean | undefined;
242
251
  } | undefined;
243
252
  }>;
244
- export declare const heating_thermostat_capability_properties: z.ZodObject<{
253
+ export declare const heating_thermostat_capability_properties: z.ZodObject<z.objectUtil.extendShape<{
245
254
  temperature_fahrenheit: z.ZodNumber;
246
255
  temperature_celsius: z.ZodNumber;
247
256
  relative_humidity: z.ZodNumber;
248
257
  can_enable_automatic_heating: z.ZodBoolean;
249
258
  can_enable_automatic_cooling: z.ZodBoolean;
250
259
  available_hvac_mode_settings: z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">;
260
+ is_heating_available: z.ZodLiteral<false>;
251
261
  is_cooling_available: z.ZodLiteral<false>;
252
262
  is_heating: z.ZodBoolean;
253
263
  is_cooling: z.ZodBoolean;
254
264
  is_fan_running: z.ZodBoolean;
255
265
  fan_mode_setting: z.ZodEnum<["auto", "on"]>;
266
+ /**
267
+ * this is true if the current thermostat settings differ that what is on seam, and `current_climate_setting.manual_override_allowed: true`
268
+ */
256
269
  is_temporary_manual_override_active: z.ZodBoolean;
270
+ /**
271
+ * can be derived from `default_climate_setting`, or `active_climate_setting_schedule` if one is active
272
+ */
257
273
  current_climate_setting: z.ZodObject<{
258
274
  automatic_heating_enabled: z.ZodBoolean;
259
275
  automatic_cooling_enabled: z.ZodBoolean;
@@ -311,15 +327,16 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
311
327
  heating_set_point_fahrenheit?: number | undefined;
312
328
  }>>;
313
329
  is_climate_setting_schedule_active: z.ZodBoolean;
314
- active_climate_setting_schedule: z.ZodOptional<z.ZodObject<{
315
- name: z.ZodOptional<z.ZodString>;
316
- created_at: z.ZodString;
317
- errors: z.ZodAny;
330
+ active_climate_setting_schedule: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
318
331
  climate_setting_schedule_id: z.ZodString;
319
332
  schedule_type: z.ZodLiteral<"time_bound">;
320
333
  device_id: z.ZodString;
334
+ name: z.ZodOptional<z.ZodString>;
321
335
  schedule_starts_at: z.ZodString;
322
336
  schedule_ends_at: z.ZodString;
337
+ created_at: z.ZodString;
338
+ errors: z.ZodAny;
339
+ }, {
323
340
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
324
341
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
325
342
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -328,7 +345,7 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
328
345
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
329
346
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
330
347
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
331
- }, "strip", z.ZodTypeAny, {
348
+ }>, "strip", z.ZodTypeAny, {
332
349
  created_at: string;
333
350
  climate_setting_schedule_id: string;
334
351
  schedule_type: "time_bound";
@@ -363,12 +380,13 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
363
380
  heating_set_point_fahrenheit?: number | undefined;
364
381
  manual_override_allowed?: boolean | undefined;
365
382
  }>>;
383
+ }, {
366
384
  min_heating_set_point_celsius: z.ZodNumber;
367
385
  min_heating_set_point_fahrenheit: z.ZodNumber;
368
386
  max_heating_set_point_celsius: z.ZodNumber;
369
387
  max_heating_set_point_fahrenheit: z.ZodNumber;
370
388
  is_heating_available: z.ZodLiteral<true>;
371
- }, "strip", z.ZodTypeAny, {
389
+ }>, "strip", z.ZodTypeAny, {
372
390
  temperature_fahrenheit: number;
373
391
  temperature_celsius: number;
374
392
  relative_humidity: number;
@@ -483,18 +501,26 @@ export declare const heating_thermostat_capability_properties: z.ZodObject<{
483
501
  manual_override_allowed?: boolean | undefined;
484
502
  } | undefined;
485
503
  }>;
486
- export declare const heating_cooling_thermostat_capability_properties: z.ZodObject<{
504
+ export declare const heating_cooling_thermostat_capability_properties: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
487
505
  temperature_fahrenheit: z.ZodNumber;
488
506
  temperature_celsius: z.ZodNumber;
489
507
  relative_humidity: z.ZodNumber;
490
508
  can_enable_automatic_heating: z.ZodBoolean;
491
509
  can_enable_automatic_cooling: z.ZodBoolean;
492
510
  available_hvac_mode_settings: z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">;
511
+ is_heating_available: z.ZodLiteral<false>;
512
+ is_cooling_available: z.ZodLiteral<false>;
493
513
  is_heating: z.ZodBoolean;
494
514
  is_cooling: z.ZodBoolean;
495
515
  is_fan_running: z.ZodBoolean;
496
516
  fan_mode_setting: z.ZodEnum<["auto", "on"]>;
517
+ /**
518
+ * this is true if the current thermostat settings differ that what is on seam, and `current_climate_setting.manual_override_allowed: true`
519
+ */
497
520
  is_temporary_manual_override_active: z.ZodBoolean;
521
+ /**
522
+ * can be derived from `default_climate_setting`, or `active_climate_setting_schedule` if one is active
523
+ */
498
524
  current_climate_setting: z.ZodObject<{
499
525
  automatic_heating_enabled: z.ZodBoolean;
500
526
  automatic_cooling_enabled: z.ZodBoolean;
@@ -552,15 +578,16 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
552
578
  heating_set_point_fahrenheit?: number | undefined;
553
579
  }>>;
554
580
  is_climate_setting_schedule_active: z.ZodBoolean;
555
- active_climate_setting_schedule: z.ZodOptional<z.ZodObject<{
556
- name: z.ZodOptional<z.ZodString>;
557
- created_at: z.ZodString;
558
- errors: z.ZodAny;
581
+ active_climate_setting_schedule: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
559
582
  climate_setting_schedule_id: z.ZodString;
560
583
  schedule_type: z.ZodLiteral<"time_bound">;
561
584
  device_id: z.ZodString;
585
+ name: z.ZodOptional<z.ZodString>;
562
586
  schedule_starts_at: z.ZodString;
563
587
  schedule_ends_at: z.ZodString;
588
+ created_at: z.ZodString;
589
+ errors: z.ZodAny;
590
+ }, {
564
591
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
565
592
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
566
593
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -569,7 +596,7 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
569
596
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
570
597
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
571
598
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
572
- }, "strip", z.ZodTypeAny, {
599
+ }>, "strip", z.ZodTypeAny, {
573
600
  created_at: string;
574
601
  climate_setting_schedule_id: string;
575
602
  schedule_type: "time_bound";
@@ -604,19 +631,154 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
604
631
  heating_set_point_fahrenheit?: number | undefined;
605
632
  manual_override_allowed?: boolean | undefined;
606
633
  }>>;
634
+ }, {
607
635
  min_cooling_set_point_celsius: z.ZodNumber;
608
636
  min_cooling_set_point_fahrenheit: z.ZodNumber;
609
637
  max_cooling_set_point_celsius: z.ZodNumber;
610
638
  max_cooling_set_point_fahrenheit: z.ZodNumber;
639
+ is_cooling_available: z.ZodLiteral<true>;
640
+ }>, z.objectUtil.extendShape<{
641
+ temperature_fahrenheit: z.ZodNumber;
642
+ temperature_celsius: z.ZodNumber;
643
+ relative_humidity: z.ZodNumber;
644
+ can_enable_automatic_heating: z.ZodBoolean;
645
+ can_enable_automatic_cooling: z.ZodBoolean;
646
+ available_hvac_mode_settings: z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">;
647
+ is_heating_available: z.ZodLiteral<false>;
648
+ is_cooling_available: z.ZodLiteral<false>;
649
+ is_heating: z.ZodBoolean;
650
+ is_cooling: z.ZodBoolean;
651
+ is_fan_running: z.ZodBoolean;
652
+ fan_mode_setting: z.ZodEnum<["auto", "on"]>;
653
+ /**
654
+ * this is true if the current thermostat settings differ that what is on seam, and `current_climate_setting.manual_override_allowed: true`
655
+ */
656
+ is_temporary_manual_override_active: z.ZodBoolean;
657
+ /**
658
+ * can be derived from `default_climate_setting`, or `active_climate_setting_schedule` if one is active
659
+ */
660
+ current_climate_setting: z.ZodObject<{
661
+ automatic_heating_enabled: z.ZodBoolean;
662
+ automatic_cooling_enabled: z.ZodBoolean;
663
+ hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
664
+ cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
665
+ heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
666
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
667
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
668
+ manual_override_allowed: z.ZodBoolean;
669
+ }, "strip", z.ZodTypeAny, {
670
+ automatic_heating_enabled: boolean;
671
+ automatic_cooling_enabled: boolean;
672
+ hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
673
+ manual_override_allowed: boolean;
674
+ cooling_set_point_celsius?: number | undefined;
675
+ heating_set_point_celsius?: number | undefined;
676
+ cooling_set_point_fahrenheit?: number | undefined;
677
+ heating_set_point_fahrenheit?: number | undefined;
678
+ }, {
679
+ automatic_heating_enabled: boolean;
680
+ automatic_cooling_enabled: boolean;
681
+ hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
682
+ manual_override_allowed: boolean;
683
+ cooling_set_point_celsius?: number | undefined;
684
+ heating_set_point_celsius?: number | undefined;
685
+ cooling_set_point_fahrenheit?: number | undefined;
686
+ heating_set_point_fahrenheit?: number | undefined;
687
+ }>;
688
+ default_climate_setting: z.ZodOptional<z.ZodObject<{
689
+ automatic_heating_enabled: z.ZodBoolean;
690
+ automatic_cooling_enabled: z.ZodBoolean;
691
+ hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
692
+ cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
693
+ heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
694
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
695
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
696
+ manual_override_allowed: z.ZodBoolean;
697
+ }, "strip", z.ZodTypeAny, {
698
+ automatic_heating_enabled: boolean;
699
+ automatic_cooling_enabled: boolean;
700
+ hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
701
+ manual_override_allowed: boolean;
702
+ cooling_set_point_celsius?: number | undefined;
703
+ heating_set_point_celsius?: number | undefined;
704
+ cooling_set_point_fahrenheit?: number | undefined;
705
+ heating_set_point_fahrenheit?: number | undefined;
706
+ }, {
707
+ automatic_heating_enabled: boolean;
708
+ automatic_cooling_enabled: boolean;
709
+ hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
710
+ manual_override_allowed: boolean;
711
+ cooling_set_point_celsius?: number | undefined;
712
+ heating_set_point_celsius?: number | undefined;
713
+ cooling_set_point_fahrenheit?: number | undefined;
714
+ heating_set_point_fahrenheit?: number | undefined;
715
+ }>>;
716
+ is_climate_setting_schedule_active: z.ZodBoolean;
717
+ active_climate_setting_schedule: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
718
+ climate_setting_schedule_id: z.ZodString;
719
+ schedule_type: z.ZodLiteral<"time_bound">;
720
+ device_id: z.ZodString;
721
+ name: z.ZodOptional<z.ZodString>;
722
+ schedule_starts_at: z.ZodString;
723
+ schedule_ends_at: z.ZodString;
724
+ created_at: z.ZodString;
725
+ errors: z.ZodAny;
726
+ }, {
727
+ automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
728
+ automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
729
+ hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
730
+ cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
731
+ heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
732
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
733
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
734
+ manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
735
+ }>, "strip", z.ZodTypeAny, {
736
+ created_at: string;
737
+ climate_setting_schedule_id: string;
738
+ schedule_type: "time_bound";
739
+ device_id: string;
740
+ schedule_starts_at: string;
741
+ schedule_ends_at: string;
742
+ name?: string | undefined;
743
+ errors?: any;
744
+ automatic_heating_enabled?: boolean | undefined;
745
+ automatic_cooling_enabled?: boolean | undefined;
746
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
747
+ cooling_set_point_celsius?: number | undefined;
748
+ heating_set_point_celsius?: number | undefined;
749
+ cooling_set_point_fahrenheit?: number | undefined;
750
+ heating_set_point_fahrenheit?: number | undefined;
751
+ manual_override_allowed?: boolean | undefined;
752
+ }, {
753
+ created_at: string;
754
+ climate_setting_schedule_id: string;
755
+ schedule_type: "time_bound";
756
+ device_id: string;
757
+ schedule_starts_at: string;
758
+ schedule_ends_at: string;
759
+ name?: string | undefined;
760
+ errors?: any;
761
+ automatic_heating_enabled?: boolean | undefined;
762
+ automatic_cooling_enabled?: boolean | undefined;
763
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
764
+ cooling_set_point_celsius?: number | undefined;
765
+ heating_set_point_celsius?: number | undefined;
766
+ cooling_set_point_fahrenheit?: number | undefined;
767
+ heating_set_point_fahrenheit?: number | undefined;
768
+ manual_override_allowed?: boolean | undefined;
769
+ }>>;
770
+ }, {
611
771
  min_heating_set_point_celsius: z.ZodNumber;
612
772
  min_heating_set_point_fahrenheit: z.ZodNumber;
613
773
  max_heating_set_point_celsius: z.ZodNumber;
614
774
  max_heating_set_point_fahrenheit: z.ZodNumber;
775
+ is_heating_available: z.ZodLiteral<true>;
776
+ }>>, {
615
777
  is_cooling_available: z.ZodLiteral<true>;
616
778
  is_heating_available: z.ZodLiteral<true>;
617
779
  min_heating_cooling_delta_celsius: z.ZodNumber;
618
780
  min_heating_cooling_delta_fahrenheit: z.ZodNumber;
619
- }, "strip", z.ZodTypeAny, {
781
+ }>, "strip", z.ZodTypeAny, {
620
782
  temperature_fahrenheit: number;
621
783
  temperature_celsius: number;
622
784
  relative_humidity: number;
@@ -744,6 +906,10 @@ export declare const heating_cooling_thermostat_capability_properties: z.ZodObje
744
906
  } | undefined;
745
907
  }>;
746
908
  export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
909
+ min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
910
+ min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
911
+ max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
912
+ max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
747
913
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
748
914
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
749
915
  relative_humidity: z.ZodOptional<z.ZodNumber>;
@@ -812,15 +978,16 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
812
978
  heating_set_point_fahrenheit?: number | undefined;
813
979
  }>>>;
814
980
  is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
815
- active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
816
- name: z.ZodOptional<z.ZodString>;
817
- created_at: z.ZodString;
818
- errors: z.ZodAny;
981
+ active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
819
982
  climate_setting_schedule_id: z.ZodString;
820
983
  schedule_type: z.ZodLiteral<"time_bound">;
821
984
  device_id: z.ZodString;
985
+ name: z.ZodOptional<z.ZodString>;
822
986
  schedule_starts_at: z.ZodString;
823
987
  schedule_ends_at: z.ZodString;
988
+ created_at: z.ZodString;
989
+ errors: z.ZodAny;
990
+ }, {
824
991
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
825
992
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
826
993
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -829,7 +996,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
829
996
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
830
997
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
831
998
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
832
- }, "strip", z.ZodTypeAny, {
999
+ }>, "strip", z.ZodTypeAny, {
833
1000
  created_at: string;
834
1001
  climate_setting_schedule_id: string;
835
1002
  schedule_type: "time_bound";
@@ -864,10 +1031,6 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
864
1031
  heating_set_point_fahrenheit?: number | undefined;
865
1032
  manual_override_allowed?: boolean | undefined;
866
1033
  }>>>;
867
- min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
868
- min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
869
- max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
870
- max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
871
1034
  min_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
872
1035
  min_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
873
1036
  max_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
@@ -883,6 +1046,8 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
883
1046
  can_enable_automatic_heating?: boolean | undefined;
884
1047
  can_enable_automatic_cooling?: boolean | undefined;
885
1048
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1049
+ is_heating_available?: true | undefined;
1050
+ is_cooling_available?: true | undefined;
886
1051
  is_heating?: boolean | undefined;
887
1052
  is_cooling?: boolean | undefined;
888
1053
  is_fan_running?: boolean | undefined;
@@ -935,8 +1100,6 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
935
1100
  min_heating_set_point_fahrenheit?: number | undefined;
936
1101
  max_heating_set_point_celsius?: number | undefined;
937
1102
  max_heating_set_point_fahrenheit?: number | undefined;
938
- is_cooling_available?: true | undefined;
939
- is_heating_available?: true | undefined;
940
1103
  min_heating_cooling_delta_celsius?: number | undefined;
941
1104
  min_heating_cooling_delta_fahrenheit?: number | undefined;
942
1105
  }, {
@@ -946,6 +1109,8 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
946
1109
  can_enable_automatic_heating?: boolean | undefined;
947
1110
  can_enable_automatic_cooling?: boolean | undefined;
948
1111
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1112
+ is_heating_available?: true | undefined;
1113
+ is_cooling_available?: true | undefined;
949
1114
  is_heating?: boolean | undefined;
950
1115
  is_cooling?: boolean | undefined;
951
1116
  is_fan_running?: boolean | undefined;
@@ -998,8 +1163,6 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
998
1163
  min_heating_set_point_fahrenheit?: number | undefined;
999
1164
  max_heating_set_point_celsius?: number | undefined;
1000
1165
  max_heating_set_point_fahrenheit?: number | undefined;
1001
- is_cooling_available?: true | undefined;
1002
- is_heating_available?: true | undefined;
1003
1166
  min_heating_cooling_delta_celsius?: number | undefined;
1004
1167
  min_heating_cooling_delta_fahrenheit?: number | undefined;
1005
1168
  }>, z.ZodObject<{
@@ -1072,15 +1235,16 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1072
1235
  heating_set_point_fahrenheit?: number | undefined;
1073
1236
  }>>>;
1074
1237
  is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
1075
- active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1076
- name: z.ZodOptional<z.ZodString>;
1077
- created_at: z.ZodString;
1078
- errors: z.ZodAny;
1238
+ active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1079
1239
  climate_setting_schedule_id: z.ZodString;
1080
1240
  schedule_type: z.ZodLiteral<"time_bound">;
1081
1241
  device_id: z.ZodString;
1242
+ name: z.ZodOptional<z.ZodString>;
1082
1243
  schedule_starts_at: z.ZodString;
1083
1244
  schedule_ends_at: z.ZodString;
1245
+ created_at: z.ZodString;
1246
+ errors: z.ZodAny;
1247
+ }, {
1084
1248
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
1085
1249
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
1086
1250
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -1089,7 +1253,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1089
1253
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1090
1254
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1091
1255
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
1092
- }, "strip", z.ZodTypeAny, {
1256
+ }>, "strip", z.ZodTypeAny, {
1093
1257
  created_at: string;
1094
1258
  climate_setting_schedule_id: string;
1095
1259
  schedule_type: "time_bound";
@@ -1136,6 +1300,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1136
1300
  can_enable_automatic_heating?: boolean | undefined;
1137
1301
  can_enable_automatic_cooling?: boolean | undefined;
1138
1302
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1303
+ is_heating_available?: true | undefined;
1139
1304
  is_cooling_available?: false | undefined;
1140
1305
  is_heating?: boolean | undefined;
1141
1306
  is_cooling?: boolean | undefined;
@@ -1185,7 +1350,6 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1185
1350
  min_heating_set_point_fahrenheit?: number | undefined;
1186
1351
  max_heating_set_point_celsius?: number | undefined;
1187
1352
  max_heating_set_point_fahrenheit?: number | undefined;
1188
- is_heating_available?: true | undefined;
1189
1353
  }, {
1190
1354
  temperature_fahrenheit?: number | undefined;
1191
1355
  temperature_celsius?: number | undefined;
@@ -1193,6 +1357,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1193
1357
  can_enable_automatic_heating?: boolean | undefined;
1194
1358
  can_enable_automatic_cooling?: boolean | undefined;
1195
1359
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1360
+ is_heating_available?: true | undefined;
1196
1361
  is_cooling_available?: false | undefined;
1197
1362
  is_heating?: boolean | undefined;
1198
1363
  is_cooling?: boolean | undefined;
@@ -1242,7 +1407,6 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1242
1407
  min_heating_set_point_fahrenheit?: number | undefined;
1243
1408
  max_heating_set_point_celsius?: number | undefined;
1244
1409
  max_heating_set_point_fahrenheit?: number | undefined;
1245
- is_heating_available?: true | undefined;
1246
1410
  }>, z.ZodObject<{
1247
1411
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
1248
1412
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -1313,15 +1477,16 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1313
1477
  heating_set_point_fahrenheit?: number | undefined;
1314
1478
  }>>>;
1315
1479
  is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
1316
- active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1317
- name: z.ZodOptional<z.ZodString>;
1318
- created_at: z.ZodString;
1319
- errors: z.ZodAny;
1480
+ active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1320
1481
  climate_setting_schedule_id: z.ZodString;
1321
1482
  schedule_type: z.ZodLiteral<"time_bound">;
1322
1483
  device_id: z.ZodString;
1484
+ name: z.ZodOptional<z.ZodString>;
1323
1485
  schedule_starts_at: z.ZodString;
1324
1486
  schedule_ends_at: z.ZodString;
1487
+ created_at: z.ZodString;
1488
+ errors: z.ZodAny;
1489
+ }, {
1325
1490
  automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
1326
1491
  automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
1327
1492
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -1330,7 +1495,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1330
1495
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1331
1496
  heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1332
1497
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
1333
- }, "strip", z.ZodTypeAny, {
1498
+ }>, "strip", z.ZodTypeAny, {
1334
1499
  created_at: string;
1335
1500
  climate_setting_schedule_id: string;
1336
1501
  schedule_type: "time_bound";
@@ -1378,6 +1543,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1378
1543
  can_enable_automatic_cooling?: boolean | undefined;
1379
1544
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1380
1545
  is_heating_available?: false | undefined;
1546
+ is_cooling_available?: true | undefined;
1381
1547
  is_heating?: boolean | undefined;
1382
1548
  is_cooling?: boolean | undefined;
1383
1549
  is_fan_running?: boolean | undefined;
@@ -1426,7 +1592,6 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1426
1592
  min_cooling_set_point_fahrenheit?: number | undefined;
1427
1593
  max_cooling_set_point_celsius?: number | undefined;
1428
1594
  max_cooling_set_point_fahrenheit?: number | undefined;
1429
- is_cooling_available?: true | undefined;
1430
1595
  }, {
1431
1596
  temperature_fahrenheit?: number | undefined;
1432
1597
  temperature_celsius?: number | undefined;
@@ -1435,6 +1600,7 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1435
1600
  can_enable_automatic_cooling?: boolean | undefined;
1436
1601
  available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1437
1602
  is_heating_available?: false | undefined;
1603
+ is_cooling_available?: true | undefined;
1438
1604
  is_heating?: boolean | undefined;
1439
1605
  is_cooling?: boolean | undefined;
1440
1606
  is_fan_running?: boolean | undefined;
@@ -1483,5 +1649,4 @@ export declare const thermostat_capability_properties: z.ZodUnion<[z.ZodObject<{
1483
1649
  min_cooling_set_point_fahrenheit?: number | undefined;
1484
1650
  max_cooling_set_point_celsius?: number | undefined;
1485
1651
  max_cooling_set_point_fahrenheit?: number | undefined;
1486
- is_cooling_available?: true | undefined;
1487
1652
  }>]>;
@@ -54,22 +54,24 @@ export declare const PROVIDER_CATEGORY_MAP: {
54
54
  };
55
55
  export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
56
56
  export declare const PUBLIC_PROVIDER_CATEGORIES: typeof PROVIDER_CATEGORIES;
57
- export declare const device_provider: z.ZodObject<{
57
+ export declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
58
+ device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
58
59
  display_name: z.ZodString;
59
60
  image_url: z.ZodString;
60
- device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
61
61
  provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
62
+ }, z.objectUtil.extendShape<{
62
63
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
63
64
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
64
65
  can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
65
66
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
67
+ }, {
66
68
  can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
67
69
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
68
70
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
69
- }, "strip", z.ZodTypeAny, {
71
+ }>>, "strip", z.ZodTypeAny, {
70
72
  display_name: string;
71
73
  image_url: string;
72
- device_provider_name: "linear" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "assa_abloy_credential_service" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
74
+ device_provider_name: DeviceProviderName;
73
75
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
74
76
  can_remotely_unlock?: boolean | undefined;
75
77
  can_remotely_lock?: boolean | undefined;
@@ -81,7 +83,7 @@ export declare const device_provider: z.ZodObject<{
81
83
  }, {
82
84
  display_name: string;
83
85
  image_url: string;
84
- device_provider_name: "linear" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "assa_abloy_credential_service" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
86
+ device_provider_name: DeviceProviderName;
85
87
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
86
88
  can_remotely_unlock?: boolean | undefined;
87
89
  can_remotely_lock?: boolean | undefined;