@seamapi/types 1.579.0 → 1.581.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 (27) hide show
  1. package/dist/connect.cjs +89 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +303 -147
  4. package/dist/index.cjs +89 -5
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/batch.d.ts +278 -167
  7. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +15 -15
  8. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +15 -15
  9. package/lib/seam/connect/models/devices/device-provider.d.ts +9 -0
  10. package/lib/seam/connect/models/devices/device.d.ts +39 -21
  11. package/lib/seam/connect/models/devices/device.js +3 -0
  12. package/lib/seam/connect/models/devices/device.js.map +1 -1
  13. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +27 -15
  14. package/lib/seam/connect/models/events/devices.d.ts +2 -2
  15. package/lib/seam/connect/models/events/seam-event.d.ts +1 -1
  16. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
  17. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  18. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  19. package/lib/seam/connect/openapi.d.ts +30 -3
  20. package/lib/seam/connect/openapi.js +85 -4
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +127 -61
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/devices/device.ts +3 -0
  25. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  26. package/src/lib/seam/connect/openapi.ts +85 -4
  27. package/src/lib/seam/connect/route-types.ts +231 -51
@@ -1625,7 +1625,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1625
1625
  climate_preset_key: z.ZodOptional<z.ZodString>;
1626
1626
  can_edit: z.ZodOptional<z.ZodBoolean>;
1627
1627
  can_delete: z.ZodOptional<z.ZodBoolean>;
1628
- can_program: z.ZodOptional<z.ZodBoolean>;
1628
+ can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
1629
1629
  name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
1630
1630
  display_name: z.ZodOptional<z.ZodString>;
1631
1631
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
@@ -1653,7 +1653,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1653
1653
  climate_preset_key?: string | undefined;
1654
1654
  can_edit?: boolean | undefined;
1655
1655
  can_delete?: boolean | undefined;
1656
- can_program?: boolean | undefined;
1656
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
1657
1657
  name?: string | null | undefined;
1658
1658
  display_name?: string | undefined;
1659
1659
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -1673,7 +1673,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1673
1673
  climate_preset_key?: string | undefined;
1674
1674
  can_edit?: boolean | undefined;
1675
1675
  can_delete?: boolean | undefined;
1676
- can_program?: boolean | undefined;
1676
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
1677
1677
  name?: string | null | undefined;
1678
1678
  display_name?: string | undefined;
1679
1679
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -1694,7 +1694,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1694
1694
  climate_preset_key: z.ZodOptional<z.ZodString>;
1695
1695
  can_edit: z.ZodOptional<z.ZodBoolean>;
1696
1696
  can_delete: z.ZodOptional<z.ZodBoolean>;
1697
- can_program: z.ZodOptional<z.ZodBoolean>;
1697
+ can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
1698
1698
  name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
1699
1699
  display_name: z.ZodOptional<z.ZodString>;
1700
1700
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
@@ -1722,7 +1722,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1722
1722
  climate_preset_key?: string | undefined;
1723
1723
  can_edit?: boolean | undefined;
1724
1724
  can_delete?: boolean | undefined;
1725
- can_program?: boolean | undefined;
1725
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
1726
1726
  name?: string | null | undefined;
1727
1727
  display_name?: string | undefined;
1728
1728
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -1742,7 +1742,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1742
1742
  climate_preset_key?: string | undefined;
1743
1743
  can_edit?: boolean | undefined;
1744
1744
  can_delete?: boolean | undefined;
1745
- can_program?: boolean | undefined;
1745
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
1746
1746
  name?: string | null | undefined;
1747
1747
  display_name?: string | undefined;
1748
1748
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -1763,7 +1763,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1763
1763
  climate_preset_key: z.ZodString;
1764
1764
  can_edit: z.ZodBoolean;
1765
1765
  can_delete: z.ZodBoolean;
1766
- can_program: z.ZodBoolean;
1766
+ can_use_with_thermostat_daily_programs: z.ZodBoolean;
1767
1767
  name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1768
1768
  display_name: z.ZodString;
1769
1769
  climate_preset_mode: z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>;
@@ -1791,7 +1791,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1791
1791
  climate_preset_key: string;
1792
1792
  can_edit: boolean;
1793
1793
  can_delete: boolean;
1794
- can_program: boolean;
1794
+ can_use_with_thermostat_daily_programs: boolean;
1795
1795
  display_name: string;
1796
1796
  manual_override_allowed: boolean;
1797
1797
  name?: string | null | undefined;
@@ -1811,7 +1811,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1811
1811
  climate_preset_key: string;
1812
1812
  can_edit: boolean;
1813
1813
  can_delete: boolean;
1814
- can_program: boolean;
1814
+ can_use_with_thermostat_daily_programs: boolean;
1815
1815
  display_name: string;
1816
1816
  manual_override_allowed: boolean;
1817
1817
  name?: string | null | undefined;
@@ -1992,7 +1992,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1992
1992
  climate_preset_key?: string | undefined;
1993
1993
  can_edit?: boolean | undefined;
1994
1994
  can_delete?: boolean | undefined;
1995
- can_program?: boolean | undefined;
1995
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
1996
1996
  name?: string | null | undefined;
1997
1997
  display_name?: string | undefined;
1998
1998
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -2013,7 +2013,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2013
2013
  climate_preset_key?: string | undefined;
2014
2014
  can_edit?: boolean | undefined;
2015
2015
  can_delete?: boolean | undefined;
2016
- can_program?: boolean | undefined;
2016
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
2017
2017
  name?: string | null | undefined;
2018
2018
  display_name?: string | undefined;
2019
2019
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -2034,7 +2034,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2034
2034
  climate_preset_key: string;
2035
2035
  can_edit: boolean;
2036
2036
  can_delete: boolean;
2037
- can_program: boolean;
2037
+ can_use_with_thermostat_daily_programs: boolean;
2038
2038
  display_name: string;
2039
2039
  manual_override_allowed: boolean;
2040
2040
  name?: string | null | undefined;
@@ -2125,7 +2125,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2125
2125
  climate_preset_key?: string | undefined;
2126
2126
  can_edit?: boolean | undefined;
2127
2127
  can_delete?: boolean | undefined;
2128
- can_program?: boolean | undefined;
2128
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
2129
2129
  name?: string | null | undefined;
2130
2130
  display_name?: string | undefined;
2131
2131
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -2146,7 +2146,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2146
2146
  climate_preset_key?: string | undefined;
2147
2147
  can_edit?: boolean | undefined;
2148
2148
  can_delete?: boolean | undefined;
2149
- can_program?: boolean | undefined;
2149
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
2150
2150
  name?: string | null | undefined;
2151
2151
  display_name?: string | undefined;
2152
2152
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -2167,7 +2167,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2167
2167
  climate_preset_key: string;
2168
2168
  can_edit: boolean;
2169
2169
  can_delete: boolean;
2170
- can_program: boolean;
2170
+ can_use_with_thermostat_daily_programs: boolean;
2171
2171
  display_name: string;
2172
2172
  manual_override_allowed: boolean;
2173
2173
  name?: string | null | undefined;
@@ -2830,6 +2830,9 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2830
2830
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
2831
2831
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
2832
2832
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
2833
+ can_program_thermostat_programs_as_weekday_weekend: z.ZodOptional<z.ZodBoolean>;
2834
+ can_program_thermostat_programs_as_different_each_day: z.ZodOptional<z.ZodBoolean>;
2835
+ can_program_thermostat_programs_as_same_each_day: z.ZodOptional<z.ZodBoolean>;
2833
2836
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
2834
2837
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
2835
2838
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
@@ -2983,6 +2986,9 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2983
2986
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
2984
2987
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
2985
2988
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
2989
+ can_program_thermostat_programs_as_weekday_weekend: z.ZodOptional<z.ZodBoolean>;
2990
+ can_program_thermostat_programs_as_different_each_day: z.ZodOptional<z.ZodBoolean>;
2991
+ can_program_thermostat_programs_as_same_each_day: z.ZodOptional<z.ZodBoolean>;
2986
2992
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
2987
2993
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
2988
2994
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
@@ -3209,6 +3215,9 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3209
3215
  can_simulate_disconnection?: boolean | undefined;
3210
3216
  can_unlock_with_code?: boolean | undefined;
3211
3217
  can_run_thermostat_programs?: boolean | undefined;
3218
+ can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
3219
+ can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
3220
+ can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
3212
3221
  can_simulate_hub_connection?: boolean | undefined;
3213
3222
  can_simulate_hub_disconnection?: boolean | undefined;
3214
3223
  can_simulate_paid_subscription?: boolean | undefined;
@@ -3435,6 +3444,9 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3435
3444
  can_simulate_disconnection?: boolean | undefined;
3436
3445
  can_unlock_with_code?: boolean | undefined;
3437
3446
  can_run_thermostat_programs?: boolean | undefined;
3447
+ can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
3448
+ can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
3449
+ can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
3438
3450
  can_simulate_hub_connection?: boolean | undefined;
3439
3451
  can_simulate_hub_disconnection?: boolean | undefined;
3440
3452
  can_simulate_paid_subscription?: boolean | undefined;
@@ -1000,7 +1000,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
1000
1000
  climate_preset_key: z.ZodOptional<z.ZodString>;
1001
1001
  can_edit: z.ZodOptional<z.ZodBoolean>;
1002
1002
  can_delete: z.ZodOptional<z.ZodBoolean>;
1003
- can_program: z.ZodOptional<z.ZodBoolean>;
1003
+ can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
1004
1004
  name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
1005
1005
  display_name: z.ZodOptional<z.ZodString>;
1006
1006
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
@@ -2231,7 +2231,7 @@ export declare const device_events: readonly [z.ZodObject<{
2231
2231
  climate_preset_key: z.ZodOptional<z.ZodString>;
2232
2232
  can_edit: z.ZodOptional<z.ZodBoolean>;
2233
2233
  can_delete: z.ZodOptional<z.ZodBoolean>;
2234
- can_program: z.ZodOptional<z.ZodBoolean>;
2234
+ can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
2235
2235
  name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
2236
2236
  display_name: z.ZodOptional<z.ZodString>;
2237
2237
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
@@ -2681,7 +2681,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2681
2681
  climate_preset_key: z.ZodOptional<z.ZodString>;
2682
2682
  can_edit: z.ZodOptional<z.ZodBoolean>;
2683
2683
  can_delete: z.ZodOptional<z.ZodBoolean>;
2684
- can_program: z.ZodOptional<z.ZodBoolean>;
2684
+ can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
2685
2685
  name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
2686
2686
  display_name: z.ZodOptional<z.ZodString>;
2687
2687
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
@@ -3,7 +3,7 @@ export declare const climate_preset: z.ZodObject<{
3
3
  climate_preset_key: z.ZodString;
4
4
  can_edit: z.ZodBoolean;
5
5
  can_delete: z.ZodBoolean;
6
- can_program: z.ZodBoolean;
6
+ can_use_with_thermostat_daily_programs: z.ZodBoolean;
7
7
  name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
8
8
  display_name: z.ZodString;
9
9
  climate_preset_mode: z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>;
@@ -31,7 +31,7 @@ export declare const climate_preset: z.ZodObject<{
31
31
  climate_preset_key: string;
32
32
  can_edit: boolean;
33
33
  can_delete: boolean;
34
- can_program: boolean;
34
+ can_use_with_thermostat_daily_programs: boolean;
35
35
  display_name: string;
36
36
  manual_override_allowed: boolean;
37
37
  name?: string | null | undefined;
@@ -51,7 +51,7 @@ export declare const climate_preset: z.ZodObject<{
51
51
  climate_preset_key: string;
52
52
  can_edit: boolean;
53
53
  can_delete: boolean;
54
- can_program: boolean;
54
+ can_use_with_thermostat_daily_programs: boolean;
55
55
  display_name: string;
56
56
  manual_override_allowed: boolean;
57
57
  name?: string | null | undefined;
@@ -73,7 +73,7 @@ export declare const climate_setting: z.ZodObject<{
73
73
  climate_preset_key: z.ZodOptional<z.ZodString>;
74
74
  can_edit: z.ZodOptional<z.ZodBoolean>;
75
75
  can_delete: z.ZodOptional<z.ZodBoolean>;
76
- can_program: z.ZodOptional<z.ZodBoolean>;
76
+ can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
77
77
  name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
78
78
  display_name: z.ZodOptional<z.ZodString>;
79
79
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
@@ -101,7 +101,7 @@ export declare const climate_setting: z.ZodObject<{
101
101
  climate_preset_key?: string | undefined;
102
102
  can_edit?: boolean | undefined;
103
103
  can_delete?: boolean | undefined;
104
- can_program?: boolean | undefined;
104
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
105
105
  name?: string | null | undefined;
106
106
  display_name?: string | undefined;
107
107
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -121,7 +121,7 @@ export declare const climate_setting: z.ZodObject<{
121
121
  climate_preset_key?: string | undefined;
122
122
  can_edit?: boolean | undefined;
123
123
  can_delete?: boolean | undefined;
124
- can_program?: boolean | undefined;
124
+ can_use_with_thermostat_daily_programs?: boolean | undefined;
125
125
  name?: string | null | undefined;
126
126
  display_name?: string | undefined;
127
127
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -10,7 +10,7 @@ export const climate_preset = z.object({
10
10
  can_delete: z
11
11
  .boolean()
12
12
  .describe('Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted.'),
13
- can_program: z
13
+ can_use_with_thermostat_daily_programs: z
14
14
  .boolean()
15
15
  .describe('Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.'),
16
16
  name: z
@@ -1 +1 @@
1
- {"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,mBAAmB,EACnB,gBAA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uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAC3C;;;;oRAIgR,CACjR;IACD,eAAe,EAAE,CAAC;SACf,MAAM,CAAC;QACN,WAAW,EAAE,CAAC;aACX,MAAM,EAAE;aACR,QAAQ,CAAC,iDAAiD,CAAC;QAC9D,YAAY,EAAE,CAAC;aACZ,OAAO,EAAE;aACT,QAAQ,CAAC,yDAAyD,CAAC;QACtE,KAAK,EAAE,CAAC;aACL,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;aACxB,QAAQ,CACP,0EAA0E,CAC3E;KACJ,CAAC;SACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;;GAEtB,CAAC;CACH,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,+IAA+I,CAChJ;IACH,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,CACP,4JAA4J,CAC7J;IACH,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,6JAA6J,CAC9J;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,CACP,8LAA8L,CAC/L;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CACP,u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"}
@@ -4423,6 +4423,15 @@ declare const _default: {
4423
4423
  can_program_online_access_codes: {
4424
4424
  type: string;
4425
4425
  };
4426
+ can_program_thermostat_programs_as_different_each_day: {
4427
+ type: string;
4428
+ };
4429
+ can_program_thermostat_programs_as_same_each_day: {
4430
+ type: string;
4431
+ };
4432
+ can_program_thermostat_programs_as_weekday_weekend: {
4433
+ type: string;
4434
+ };
4426
4435
  can_remotely_lock: {
4427
4436
  type: string;
4428
4437
  };
@@ -6261,7 +6270,7 @@ declare const _default: {
6261
6270
  description: string;
6262
6271
  type: string;
6263
6272
  };
6264
- can_program: {
6273
+ can_use_with_thermostat_daily_programs: {
6265
6274
  description: string;
6266
6275
  type: string;
6267
6276
  };
@@ -6376,7 +6385,7 @@ declare const _default: {
6376
6385
  description: string;
6377
6386
  type: string;
6378
6387
  };
6379
- can_program: {
6388
+ can_use_with_thermostat_daily_programs: {
6380
6389
  description: string;
6381
6390
  type: string;
6382
6391
  };
@@ -6470,7 +6479,7 @@ declare const _default: {
6470
6479
  description: string;
6471
6480
  type: string;
6472
6481
  };
6473
- can_program: {
6482
+ can_use_with_thermostat_daily_programs: {
6474
6483
  description: string;
6475
6484
  type: string;
6476
6485
  };
@@ -7003,6 +7012,15 @@ declare const _default: {
7003
7012
  can_program_online_access_codes: {
7004
7013
  type: string;
7005
7014
  };
7015
+ can_program_thermostat_programs_as_different_each_day: {
7016
+ type: string;
7017
+ };
7018
+ can_program_thermostat_programs_as_same_each_day: {
7019
+ type: string;
7020
+ };
7021
+ can_program_thermostat_programs_as_weekday_weekend: {
7022
+ type: string;
7023
+ };
7006
7024
  can_remotely_lock: {
7007
7025
  type: string;
7008
7026
  };
@@ -13466,6 +13484,15 @@ declare const _default: {
13466
13484
  can_program_online_access_codes: {
13467
13485
  type: string;
13468
13486
  };
13487
+ can_program_thermostat_programs_as_different_each_day: {
13488
+ type: string;
13489
+ };
13490
+ can_program_thermostat_programs_as_same_each_day: {
13491
+ type: string;
13492
+ };
13493
+ can_program_thermostat_programs_as_weekday_weekend: {
13494
+ type: string;
13495
+ };
13469
13496
  can_remotely_lock: {
13470
13497
  type: string;
13471
13498
  };
@@ -8268,6 +8268,13 @@ export default {
8268
8268
  can_hvac_heat_cool: { type: 'boolean' },
8269
8269
  can_program_offline_access_codes: { type: 'boolean' },
8270
8270
  can_program_online_access_codes: { type: 'boolean' },
8271
+ can_program_thermostat_programs_as_different_each_day: {
8272
+ type: 'boolean',
8273
+ },
8274
+ can_program_thermostat_programs_as_same_each_day: { type: 'boolean' },
8275
+ can_program_thermostat_programs_as_weekday_weekend: {
8276
+ type: 'boolean',
8277
+ },
8271
8278
  can_remotely_lock: { type: 'boolean' },
8272
8279
  can_remotely_unlock: { type: 'boolean' },
8273
8280
  can_run_thermostat_programs: { type: 'boolean' },
@@ -10528,7 +10535,7 @@ export default {
10528
10535
  description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
10529
10536
  type: 'boolean',
10530
10537
  },
10531
- can_program: {
10538
+ can_use_with_thermostat_daily_programs: {
10532
10539
  description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.',
10533
10540
  type: 'boolean',
10534
10541
  },
@@ -10623,7 +10630,7 @@ export default {
10623
10630
  'climate_preset_key',
10624
10631
  'can_edit',
10625
10632
  'can_delete',
10626
- 'can_program',
10633
+ 'can_use_with_thermostat_daily_programs',
10627
10634
  'display_name',
10628
10635
  'manual_override_allowed',
10629
10636
  ],
@@ -10661,7 +10668,7 @@ export default {
10661
10668
  description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
10662
10669
  type: 'boolean',
10663
10670
  },
10664
- can_program: {
10671
+ can_use_with_thermostat_daily_programs: {
10665
10672
  description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.',
10666
10673
  type: 'boolean',
10667
10674
  },
@@ -10762,7 +10769,7 @@ export default {
10762
10769
  description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
10763
10770
  type: 'boolean',
10764
10771
  },
10765
- can_program: {
10772
+ can_use_with_thermostat_daily_programs: {
10766
10773
  description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.',
10767
10774
  type: 'boolean',
10768
10775
  },
@@ -11601,6 +11608,13 @@ export default {
11601
11608
  can_hvac_heat_cool: { type: 'boolean' },
11602
11609
  can_program_offline_access_codes: { type: 'boolean' },
11603
11610
  can_program_online_access_codes: { type: 'boolean' },
11611
+ can_program_thermostat_programs_as_different_each_day: {
11612
+ type: 'boolean',
11613
+ },
11614
+ can_program_thermostat_programs_as_same_each_day: { type: 'boolean' },
11615
+ can_program_thermostat_programs_as_weekday_weekend: {
11616
+ type: 'boolean',
11617
+ },
11604
11618
  can_remotely_lock: { type: 'boolean' },
11605
11619
  can_remotely_unlock: { type: 'boolean' },
11606
11620
  can_run_thermostat_programs: { type: 'boolean' },
@@ -21512,6 +21526,13 @@ export default {
21512
21526
  can_hvac_heat_cool: { type: 'boolean' },
21513
21527
  can_program_offline_access_codes: { type: 'boolean' },
21514
21528
  can_program_online_access_codes: { type: 'boolean' },
21529
+ can_program_thermostat_programs_as_different_each_day: {
21530
+ type: 'boolean',
21531
+ },
21532
+ can_program_thermostat_programs_as_same_each_day: { type: 'boolean' },
21533
+ can_program_thermostat_programs_as_weekday_weekend: {
21534
+ type: 'boolean',
21535
+ },
21515
21536
  can_remotely_lock: { type: 'boolean' },
21516
21537
  can_remotely_unlock: { type: 'boolean' },
21517
21538
  can_run_thermostat_programs: { type: 'boolean' },
@@ -37567,6 +37588,9 @@ export default {
37567
37588
  'can_simulate_disconnection',
37568
37589
  'can_unlock_with_code',
37569
37590
  'can_run_thermostat_programs',
37591
+ 'can_program_thermostat_programs_as_weekday_weekend',
37592
+ 'can_program_thermostat_programs_as_different_each_day',
37593
+ 'can_program_thermostat_programs_as_same_each_day',
37570
37594
  'can_simulate_hub_connection',
37571
37595
  'can_simulate_hub_disconnection',
37572
37596
  'can_simulate_paid_subscription',
@@ -37596,6 +37620,9 @@ export default {
37596
37620
  'can_simulate_disconnection',
37597
37621
  'can_unlock_with_code',
37598
37622
  'can_run_thermostat_programs',
37623
+ 'can_program_thermostat_programs_as_weekday_weekend',
37624
+ 'can_program_thermostat_programs_as_different_each_day',
37625
+ 'can_program_thermostat_programs_as_same_each_day',
37599
37626
  'can_simulate_hub_connection',
37600
37627
  'can_simulate_hub_disconnection',
37601
37628
  'can_simulate_paid_subscription',
@@ -37867,6 +37894,9 @@ export default {
37867
37894
  'can_simulate_disconnection',
37868
37895
  'can_unlock_with_code',
37869
37896
  'can_run_thermostat_programs',
37897
+ 'can_program_thermostat_programs_as_weekday_weekend',
37898
+ 'can_program_thermostat_programs_as_different_each_day',
37899
+ 'can_program_thermostat_programs_as_same_each_day',
37870
37900
  'can_simulate_hub_connection',
37871
37901
  'can_simulate_hub_disconnection',
37872
37902
  'can_simulate_paid_subscription',
@@ -37892,6 +37922,9 @@ export default {
37892
37922
  'can_simulate_disconnection',
37893
37923
  'can_unlock_with_code',
37894
37924
  'can_run_thermostat_programs',
37925
+ 'can_program_thermostat_programs_as_weekday_weekend',
37926
+ 'can_program_thermostat_programs_as_different_each_day',
37927
+ 'can_program_thermostat_programs_as_same_each_day',
37895
37928
  'can_simulate_hub_connection',
37896
37929
  'can_simulate_hub_disconnection',
37897
37930
  'can_simulate_paid_subscription',
@@ -38855,6 +38888,9 @@ export default {
38855
38888
  'can_simulate_disconnection',
38856
38889
  'can_unlock_with_code',
38857
38890
  'can_run_thermostat_programs',
38891
+ 'can_program_thermostat_programs_as_weekday_weekend',
38892
+ 'can_program_thermostat_programs_as_different_each_day',
38893
+ 'can_program_thermostat_programs_as_same_each_day',
38858
38894
  'can_simulate_hub_connection',
38859
38895
  'can_simulate_hub_disconnection',
38860
38896
  'can_simulate_paid_subscription',
@@ -38884,6 +38920,9 @@ export default {
38884
38920
  'can_simulate_disconnection',
38885
38921
  'can_unlock_with_code',
38886
38922
  'can_run_thermostat_programs',
38923
+ 'can_program_thermostat_programs_as_weekday_weekend',
38924
+ 'can_program_thermostat_programs_as_different_each_day',
38925
+ 'can_program_thermostat_programs_as_same_each_day',
38887
38926
  'can_simulate_hub_connection',
38888
38927
  'can_simulate_hub_disconnection',
38889
38928
  'can_simulate_paid_subscription',
@@ -39163,6 +39202,9 @@ export default {
39163
39202
  'can_simulate_disconnection',
39164
39203
  'can_unlock_with_code',
39165
39204
  'can_run_thermostat_programs',
39205
+ 'can_program_thermostat_programs_as_weekday_weekend',
39206
+ 'can_program_thermostat_programs_as_different_each_day',
39207
+ 'can_program_thermostat_programs_as_same_each_day',
39166
39208
  'can_simulate_hub_connection',
39167
39209
  'can_simulate_hub_disconnection',
39168
39210
  'can_simulate_paid_subscription',
@@ -39188,6 +39230,9 @@ export default {
39188
39230
  'can_simulate_disconnection',
39189
39231
  'can_unlock_with_code',
39190
39232
  'can_run_thermostat_programs',
39233
+ 'can_program_thermostat_programs_as_weekday_weekend',
39234
+ 'can_program_thermostat_programs_as_different_each_day',
39235
+ 'can_program_thermostat_programs_as_same_each_day',
39191
39236
  'can_simulate_hub_connection',
39192
39237
  'can_simulate_hub_disconnection',
39193
39238
  'can_simulate_paid_subscription',
@@ -41111,6 +41156,9 @@ export default {
41111
41156
  'can_simulate_disconnection',
41112
41157
  'can_unlock_with_code',
41113
41158
  'can_run_thermostat_programs',
41159
+ 'can_program_thermostat_programs_as_weekday_weekend',
41160
+ 'can_program_thermostat_programs_as_different_each_day',
41161
+ 'can_program_thermostat_programs_as_same_each_day',
41114
41162
  'can_simulate_hub_connection',
41115
41163
  'can_simulate_hub_disconnection',
41116
41164
  'can_simulate_paid_subscription',
@@ -41140,6 +41188,9 @@ export default {
41140
41188
  'can_simulate_disconnection',
41141
41189
  'can_unlock_with_code',
41142
41190
  'can_run_thermostat_programs',
41191
+ 'can_program_thermostat_programs_as_weekday_weekend',
41192
+ 'can_program_thermostat_programs_as_different_each_day',
41193
+ 'can_program_thermostat_programs_as_same_each_day',
41143
41194
  'can_simulate_hub_connection',
41144
41195
  'can_simulate_hub_disconnection',
41145
41196
  'can_simulate_paid_subscription',
@@ -41350,6 +41401,9 @@ export default {
41350
41401
  'can_simulate_disconnection',
41351
41402
  'can_unlock_with_code',
41352
41403
  'can_run_thermostat_programs',
41404
+ 'can_program_thermostat_programs_as_weekday_weekend',
41405
+ 'can_program_thermostat_programs_as_different_each_day',
41406
+ 'can_program_thermostat_programs_as_same_each_day',
41353
41407
  'can_simulate_hub_connection',
41354
41408
  'can_simulate_hub_disconnection',
41355
41409
  'can_simulate_paid_subscription',
@@ -41375,6 +41429,9 @@ export default {
41375
41429
  'can_simulate_disconnection',
41376
41430
  'can_unlock_with_code',
41377
41431
  'can_run_thermostat_programs',
41432
+ 'can_program_thermostat_programs_as_weekday_weekend',
41433
+ 'can_program_thermostat_programs_as_different_each_day',
41434
+ 'can_program_thermostat_programs_as_same_each_day',
41378
41435
  'can_simulate_hub_connection',
41379
41436
  'can_simulate_hub_disconnection',
41380
41437
  'can_simulate_paid_subscription',
@@ -41889,6 +41946,9 @@ export default {
41889
41946
  'can_simulate_disconnection',
41890
41947
  'can_unlock_with_code',
41891
41948
  'can_run_thermostat_programs',
41949
+ 'can_program_thermostat_programs_as_weekday_weekend',
41950
+ 'can_program_thermostat_programs_as_different_each_day',
41951
+ 'can_program_thermostat_programs_as_same_each_day',
41892
41952
  'can_simulate_hub_connection',
41893
41953
  'can_simulate_hub_disconnection',
41894
41954
  'can_simulate_paid_subscription',
@@ -41918,6 +41978,9 @@ export default {
41918
41978
  'can_simulate_disconnection',
41919
41979
  'can_unlock_with_code',
41920
41980
  'can_run_thermostat_programs',
41981
+ 'can_program_thermostat_programs_as_weekday_weekend',
41982
+ 'can_program_thermostat_programs_as_different_each_day',
41983
+ 'can_program_thermostat_programs_as_same_each_day',
41921
41984
  'can_simulate_hub_connection',
41922
41985
  'can_simulate_hub_disconnection',
41923
41986
  'can_simulate_paid_subscription',
@@ -42072,6 +42135,9 @@ export default {
42072
42135
  'can_simulate_disconnection',
42073
42136
  'can_unlock_with_code',
42074
42137
  'can_run_thermostat_programs',
42138
+ 'can_program_thermostat_programs_as_weekday_weekend',
42139
+ 'can_program_thermostat_programs_as_different_each_day',
42140
+ 'can_program_thermostat_programs_as_same_each_day',
42075
42141
  'can_simulate_hub_connection',
42076
42142
  'can_simulate_hub_disconnection',
42077
42143
  'can_simulate_paid_subscription',
@@ -42097,6 +42163,9 @@ export default {
42097
42163
  'can_simulate_disconnection',
42098
42164
  'can_unlock_with_code',
42099
42165
  'can_run_thermostat_programs',
42166
+ 'can_program_thermostat_programs_as_weekday_weekend',
42167
+ 'can_program_thermostat_programs_as_different_each_day',
42168
+ 'can_program_thermostat_programs_as_same_each_day',
42100
42169
  'can_simulate_hub_connection',
42101
42170
  'can_simulate_hub_disconnection',
42102
42171
  'can_simulate_paid_subscription',
@@ -49951,6 +50020,9 @@ export default {
49951
50020
  'can_simulate_disconnection',
49952
50021
  'can_unlock_with_code',
49953
50022
  'can_run_thermostat_programs',
50023
+ 'can_program_thermostat_programs_as_weekday_weekend',
50024
+ 'can_program_thermostat_programs_as_different_each_day',
50025
+ 'can_program_thermostat_programs_as_same_each_day',
49954
50026
  'can_simulate_hub_connection',
49955
50027
  'can_simulate_hub_disconnection',
49956
50028
  'can_simulate_paid_subscription',
@@ -49980,6 +50052,9 @@ export default {
49980
50052
  'can_simulate_disconnection',
49981
50053
  'can_unlock_with_code',
49982
50054
  'can_run_thermostat_programs',
50055
+ 'can_program_thermostat_programs_as_weekday_weekend',
50056
+ 'can_program_thermostat_programs_as_different_each_day',
50057
+ 'can_program_thermostat_programs_as_same_each_day',
49983
50058
  'can_simulate_hub_connection',
49984
50059
  'can_simulate_hub_disconnection',
49985
50060
  'can_simulate_paid_subscription',
@@ -50148,6 +50223,9 @@ export default {
50148
50223
  'can_simulate_disconnection',
50149
50224
  'can_unlock_with_code',
50150
50225
  'can_run_thermostat_programs',
50226
+ 'can_program_thermostat_programs_as_weekday_weekend',
50227
+ 'can_program_thermostat_programs_as_different_each_day',
50228
+ 'can_program_thermostat_programs_as_same_each_day',
50151
50229
  'can_simulate_hub_connection',
50152
50230
  'can_simulate_hub_disconnection',
50153
50231
  'can_simulate_paid_subscription',
@@ -50173,6 +50251,9 @@ export default {
50173
50251
  'can_simulate_disconnection',
50174
50252
  'can_unlock_with_code',
50175
50253
  'can_run_thermostat_programs',
50254
+ 'can_program_thermostat_programs_as_weekday_weekend',
50255
+ 'can_program_thermostat_programs_as_different_each_day',
50256
+ 'can_program_thermostat_programs_as_same_each_day',
50176
50257
  'can_simulate_hub_connection',
50177
50258
  'can_simulate_hub_disconnection',
50178
50259
  'can_simulate_paid_subscription',