@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.
- package/dist/connect.cjs +89 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +303 -147
- package/dist/index.cjs +89 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +278 -167
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +15 -15
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +15 -15
- package/lib/seam/connect/models/devices/device-provider.d.ts +9 -0
- package/lib/seam/connect/models/devices/device.d.ts +39 -21
- package/lib/seam/connect/models/devices/device.js +3 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +27 -15
- package/lib/seam/connect/models/events/devices.d.ts +2 -2
- package/lib/seam/connect/models/events/seam-event.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +30 -3
- package/lib/seam/connect/openapi.js +85 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +127 -61
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +3 -0
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +85 -4
- package/src/lib/seam/connect/route-types.ts +231 -51
package/package.json
CHANGED
|
@@ -23,6 +23,9 @@ export const device_capability_flags = z
|
|
|
23
23
|
can_simulate_disconnection: z.boolean(),
|
|
24
24
|
can_unlock_with_code: z.boolean(),
|
|
25
25
|
can_run_thermostat_programs: z.boolean(),
|
|
26
|
+
can_program_thermostat_programs_as_weekday_weekend: z.boolean(),
|
|
27
|
+
can_program_thermostat_programs_as_different_each_day: z.boolean(),
|
|
28
|
+
can_program_thermostat_programs_as_same_each_day: z.boolean(),
|
|
26
29
|
can_simulate_hub_connection: z.boolean(),
|
|
27
30
|
can_simulate_hub_disconnection: z.boolean(),
|
|
28
31
|
can_simulate_paid_subscription: z.boolean(),
|
|
@@ -22,7 +22,7 @@ export const climate_preset = z.object({
|
|
|
22
22
|
.describe(
|
|
23
23
|
'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted.',
|
|
24
24
|
),
|
|
25
|
-
|
|
25
|
+
can_use_with_thermostat_daily_programs: z
|
|
26
26
|
.boolean()
|
|
27
27
|
.describe(
|
|
28
28
|
'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.',
|
|
@@ -9359,6 +9359,13 @@ export default {
|
|
|
9359
9359
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
9360
9360
|
can_program_offline_access_codes: { type: 'boolean' },
|
|
9361
9361
|
can_program_online_access_codes: { type: 'boolean' },
|
|
9362
|
+
can_program_thermostat_programs_as_different_each_day: {
|
|
9363
|
+
type: 'boolean',
|
|
9364
|
+
},
|
|
9365
|
+
can_program_thermostat_programs_as_same_each_day: { type: 'boolean' },
|
|
9366
|
+
can_program_thermostat_programs_as_weekday_weekend: {
|
|
9367
|
+
type: 'boolean',
|
|
9368
|
+
},
|
|
9362
9369
|
can_remotely_lock: { type: 'boolean' },
|
|
9363
9370
|
can_remotely_unlock: { type: 'boolean' },
|
|
9364
9371
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
@@ -11853,7 +11860,7 @@ export default {
|
|
|
11853
11860
|
'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
|
|
11854
11861
|
type: 'boolean',
|
|
11855
11862
|
},
|
|
11856
|
-
|
|
11863
|
+
can_use_with_thermostat_daily_programs: {
|
|
11857
11864
|
description:
|
|
11858
11865
|
'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.',
|
|
11859
11866
|
type: 'boolean',
|
|
@@ -11965,7 +11972,7 @@ export default {
|
|
|
11965
11972
|
'climate_preset_key',
|
|
11966
11973
|
'can_edit',
|
|
11967
11974
|
'can_delete',
|
|
11968
|
-
'
|
|
11975
|
+
'can_use_with_thermostat_daily_programs',
|
|
11969
11976
|
'display_name',
|
|
11970
11977
|
'manual_override_allowed',
|
|
11971
11978
|
],
|
|
@@ -12007,7 +12014,7 @@ export default {
|
|
|
12007
12014
|
'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
|
|
12008
12015
|
type: 'boolean',
|
|
12009
12016
|
},
|
|
12010
|
-
|
|
12017
|
+
can_use_with_thermostat_daily_programs: {
|
|
12011
12018
|
description:
|
|
12012
12019
|
'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.',
|
|
12013
12020
|
type: 'boolean',
|
|
@@ -12127,7 +12134,7 @@ export default {
|
|
|
12127
12134
|
'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
|
|
12128
12135
|
type: 'boolean',
|
|
12129
12136
|
},
|
|
12130
|
-
|
|
12137
|
+
can_use_with_thermostat_daily_programs: {
|
|
12131
12138
|
description:
|
|
12132
12139
|
'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.',
|
|
12133
12140
|
type: 'boolean',
|
|
@@ -13101,6 +13108,13 @@ export default {
|
|
|
13101
13108
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
13102
13109
|
can_program_offline_access_codes: { type: 'boolean' },
|
|
13103
13110
|
can_program_online_access_codes: { type: 'boolean' },
|
|
13111
|
+
can_program_thermostat_programs_as_different_each_day: {
|
|
13112
|
+
type: 'boolean',
|
|
13113
|
+
},
|
|
13114
|
+
can_program_thermostat_programs_as_same_each_day: { type: 'boolean' },
|
|
13115
|
+
can_program_thermostat_programs_as_weekday_weekend: {
|
|
13116
|
+
type: 'boolean',
|
|
13117
|
+
},
|
|
13104
13118
|
can_remotely_lock: { type: 'boolean' },
|
|
13105
13119
|
can_remotely_unlock: { type: 'boolean' },
|
|
13106
13120
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
@@ -24011,6 +24025,13 @@ export default {
|
|
|
24011
24025
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
24012
24026
|
can_program_offline_access_codes: { type: 'boolean' },
|
|
24013
24027
|
can_program_online_access_codes: { type: 'boolean' },
|
|
24028
|
+
can_program_thermostat_programs_as_different_each_day: {
|
|
24029
|
+
type: 'boolean',
|
|
24030
|
+
},
|
|
24031
|
+
can_program_thermostat_programs_as_same_each_day: { type: 'boolean' },
|
|
24032
|
+
can_program_thermostat_programs_as_weekday_weekend: {
|
|
24033
|
+
type: 'boolean',
|
|
24034
|
+
},
|
|
24014
24035
|
can_remotely_lock: { type: 'boolean' },
|
|
24015
24036
|
can_remotely_unlock: { type: 'boolean' },
|
|
24016
24037
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
@@ -41186,6 +41207,9 @@ export default {
|
|
|
41186
41207
|
'can_simulate_disconnection',
|
|
41187
41208
|
'can_unlock_with_code',
|
|
41188
41209
|
'can_run_thermostat_programs',
|
|
41210
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
41211
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
41212
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
41189
41213
|
'can_simulate_hub_connection',
|
|
41190
41214
|
'can_simulate_hub_disconnection',
|
|
41191
41215
|
'can_simulate_paid_subscription',
|
|
@@ -41215,6 +41239,9 @@ export default {
|
|
|
41215
41239
|
'can_simulate_disconnection',
|
|
41216
41240
|
'can_unlock_with_code',
|
|
41217
41241
|
'can_run_thermostat_programs',
|
|
41242
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
41243
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
41244
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
41218
41245
|
'can_simulate_hub_connection',
|
|
41219
41246
|
'can_simulate_hub_disconnection',
|
|
41220
41247
|
'can_simulate_paid_subscription',
|
|
@@ -41502,6 +41529,9 @@ export default {
|
|
|
41502
41529
|
'can_simulate_disconnection',
|
|
41503
41530
|
'can_unlock_with_code',
|
|
41504
41531
|
'can_run_thermostat_programs',
|
|
41532
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
41533
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
41534
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
41505
41535
|
'can_simulate_hub_connection',
|
|
41506
41536
|
'can_simulate_hub_disconnection',
|
|
41507
41537
|
'can_simulate_paid_subscription',
|
|
@@ -41527,6 +41557,9 @@ export default {
|
|
|
41527
41557
|
'can_simulate_disconnection',
|
|
41528
41558
|
'can_unlock_with_code',
|
|
41529
41559
|
'can_run_thermostat_programs',
|
|
41560
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
41561
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
41562
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
41530
41563
|
'can_simulate_hub_connection',
|
|
41531
41564
|
'can_simulate_hub_disconnection',
|
|
41532
41565
|
'can_simulate_paid_subscription',
|
|
@@ -42524,6 +42557,9 @@ export default {
|
|
|
42524
42557
|
'can_simulate_disconnection',
|
|
42525
42558
|
'can_unlock_with_code',
|
|
42526
42559
|
'can_run_thermostat_programs',
|
|
42560
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
42561
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
42562
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
42527
42563
|
'can_simulate_hub_connection',
|
|
42528
42564
|
'can_simulate_hub_disconnection',
|
|
42529
42565
|
'can_simulate_paid_subscription',
|
|
@@ -42553,6 +42589,9 @@ export default {
|
|
|
42553
42589
|
'can_simulate_disconnection',
|
|
42554
42590
|
'can_unlock_with_code',
|
|
42555
42591
|
'can_run_thermostat_programs',
|
|
42592
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
42593
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
42594
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
42556
42595
|
'can_simulate_hub_connection',
|
|
42557
42596
|
'can_simulate_hub_disconnection',
|
|
42558
42597
|
'can_simulate_paid_subscription',
|
|
@@ -42849,6 +42888,9 @@ export default {
|
|
|
42849
42888
|
'can_simulate_disconnection',
|
|
42850
42889
|
'can_unlock_with_code',
|
|
42851
42890
|
'can_run_thermostat_programs',
|
|
42891
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
42892
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
42893
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
42852
42894
|
'can_simulate_hub_connection',
|
|
42853
42895
|
'can_simulate_hub_disconnection',
|
|
42854
42896
|
'can_simulate_paid_subscription',
|
|
@@ -42874,6 +42916,9 @@ export default {
|
|
|
42874
42916
|
'can_simulate_disconnection',
|
|
42875
42917
|
'can_unlock_with_code',
|
|
42876
42918
|
'can_run_thermostat_programs',
|
|
42919
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
42920
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
42921
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
42877
42922
|
'can_simulate_hub_connection',
|
|
42878
42923
|
'can_simulate_hub_disconnection',
|
|
42879
42924
|
'can_simulate_paid_subscription',
|
|
@@ -44868,6 +44913,9 @@ export default {
|
|
|
44868
44913
|
'can_simulate_disconnection',
|
|
44869
44914
|
'can_unlock_with_code',
|
|
44870
44915
|
'can_run_thermostat_programs',
|
|
44916
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
44917
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
44918
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
44871
44919
|
'can_simulate_hub_connection',
|
|
44872
44920
|
'can_simulate_hub_disconnection',
|
|
44873
44921
|
'can_simulate_paid_subscription',
|
|
@@ -44897,6 +44945,9 @@ export default {
|
|
|
44897
44945
|
'can_simulate_disconnection',
|
|
44898
44946
|
'can_unlock_with_code',
|
|
44899
44947
|
'can_run_thermostat_programs',
|
|
44948
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
44949
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
44950
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
44900
44951
|
'can_simulate_hub_connection',
|
|
44901
44952
|
'can_simulate_hub_disconnection',
|
|
44902
44953
|
'can_simulate_paid_subscription',
|
|
@@ -45119,6 +45170,9 @@ export default {
|
|
|
45119
45170
|
'can_simulate_disconnection',
|
|
45120
45171
|
'can_unlock_with_code',
|
|
45121
45172
|
'can_run_thermostat_programs',
|
|
45173
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
45174
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
45175
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
45122
45176
|
'can_simulate_hub_connection',
|
|
45123
45177
|
'can_simulate_hub_disconnection',
|
|
45124
45178
|
'can_simulate_paid_subscription',
|
|
@@ -45144,6 +45198,9 @@ export default {
|
|
|
45144
45198
|
'can_simulate_disconnection',
|
|
45145
45199
|
'can_unlock_with_code',
|
|
45146
45200
|
'can_run_thermostat_programs',
|
|
45201
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
45202
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
45203
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
45147
45204
|
'can_simulate_hub_connection',
|
|
45148
45205
|
'can_simulate_hub_disconnection',
|
|
45149
45206
|
'can_simulate_paid_subscription',
|
|
@@ -45684,6 +45741,9 @@ export default {
|
|
|
45684
45741
|
'can_simulate_disconnection',
|
|
45685
45742
|
'can_unlock_with_code',
|
|
45686
45743
|
'can_run_thermostat_programs',
|
|
45744
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
45745
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
45746
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
45687
45747
|
'can_simulate_hub_connection',
|
|
45688
45748
|
'can_simulate_hub_disconnection',
|
|
45689
45749
|
'can_simulate_paid_subscription',
|
|
@@ -45713,6 +45773,9 @@ export default {
|
|
|
45713
45773
|
'can_simulate_disconnection',
|
|
45714
45774
|
'can_unlock_with_code',
|
|
45715
45775
|
'can_run_thermostat_programs',
|
|
45776
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
45777
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
45778
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
45716
45779
|
'can_simulate_hub_connection',
|
|
45717
45780
|
'can_simulate_hub_disconnection',
|
|
45718
45781
|
'can_simulate_paid_subscription',
|
|
@@ -45879,6 +45942,9 @@ export default {
|
|
|
45879
45942
|
'can_simulate_disconnection',
|
|
45880
45943
|
'can_unlock_with_code',
|
|
45881
45944
|
'can_run_thermostat_programs',
|
|
45945
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
45946
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
45947
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
45882
45948
|
'can_simulate_hub_connection',
|
|
45883
45949
|
'can_simulate_hub_disconnection',
|
|
45884
45950
|
'can_simulate_paid_subscription',
|
|
@@ -45904,6 +45970,9 @@ export default {
|
|
|
45904
45970
|
'can_simulate_disconnection',
|
|
45905
45971
|
'can_unlock_with_code',
|
|
45906
45972
|
'can_run_thermostat_programs',
|
|
45973
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
45974
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
45975
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
45907
45976
|
'can_simulate_hub_connection',
|
|
45908
45977
|
'can_simulate_hub_disconnection',
|
|
45909
45978
|
'can_simulate_paid_subscription',
|
|
@@ -54037,6 +54106,9 @@ export default {
|
|
|
54037
54106
|
'can_simulate_disconnection',
|
|
54038
54107
|
'can_unlock_with_code',
|
|
54039
54108
|
'can_run_thermostat_programs',
|
|
54109
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
54110
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
54111
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
54040
54112
|
'can_simulate_hub_connection',
|
|
54041
54113
|
'can_simulate_hub_disconnection',
|
|
54042
54114
|
'can_simulate_paid_subscription',
|
|
@@ -54066,6 +54138,9 @@ export default {
|
|
|
54066
54138
|
'can_simulate_disconnection',
|
|
54067
54139
|
'can_unlock_with_code',
|
|
54068
54140
|
'can_run_thermostat_programs',
|
|
54141
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
54142
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
54143
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
54069
54144
|
'can_simulate_hub_connection',
|
|
54070
54145
|
'can_simulate_hub_disconnection',
|
|
54071
54146
|
'can_simulate_paid_subscription',
|
|
@@ -54246,6 +54321,9 @@ export default {
|
|
|
54246
54321
|
'can_simulate_disconnection',
|
|
54247
54322
|
'can_unlock_with_code',
|
|
54248
54323
|
'can_run_thermostat_programs',
|
|
54324
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
54325
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
54326
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
54249
54327
|
'can_simulate_hub_connection',
|
|
54250
54328
|
'can_simulate_hub_disconnection',
|
|
54251
54329
|
'can_simulate_paid_subscription',
|
|
@@ -54271,6 +54349,9 @@ export default {
|
|
|
54271
54349
|
'can_simulate_disconnection',
|
|
54272
54350
|
'can_unlock_with_code',
|
|
54273
54351
|
'can_run_thermostat_programs',
|
|
54352
|
+
'can_program_thermostat_programs_as_weekday_weekend',
|
|
54353
|
+
'can_program_thermostat_programs_as_different_each_day',
|
|
54354
|
+
'can_program_thermostat_programs_as_same_each_day',
|
|
54274
54355
|
'can_simulate_hub_connection',
|
|
54275
54356
|
'can_simulate_hub_disconnection',
|
|
54276
54357
|
'can_simulate_paid_subscription',
|