@seamapi/types 1.242.0 → 1.242.1
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 +77 -42
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +120 -62
- package/dist/devicedb.cjs +9 -6
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +123 -70
- package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
- package/lib/seam/connect/models/acs/acs-system.js +23 -20
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +8 -8
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +6 -6
- package/lib/seam/connect/models/devices/phone.d.ts +5 -5
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
- 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/models/thermostats/index.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/index.js +1 -1
- package/lib/seam/connect/models/thermostats/index.js.map +1 -1
- package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +9 -0
- package/lib/seam/connect/openapi.js +46 -21
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +64 -36
- package/lib/seam/devicedb/models/device-model.d.ts +59 -24
- package/lib/seam/devicedb/models/device-model.js +9 -6
- package/lib/seam/devicedb/models/device-model.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +56 -38
- package/lib/seam/devicedb/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +49 -21
- package/src/lib/seam/connect/route-types.ts +68 -36
- package/src/lib/seam/devicedb/models/device-model.ts +24 -19
- package/src/lib/seam/devicedb/route-types.ts +8 -8
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
- /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
- /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
|
@@ -3634,15 +3634,23 @@ export interface Routes {
|
|
|
3634
3634
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3635
3635
|
message: string
|
|
3636
3636
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3637
|
-
error_code: '
|
|
3637
|
+
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
3638
|
+
}
|
|
3639
|
+
| {
|
|
3640
|
+
/** Date and time at which Seam created the error. */
|
|
3641
|
+
created_at: string
|
|
3642
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3643
|
+
message: string
|
|
3644
|
+
/** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
|
|
3645
|
+
error_code: 'acs_system_disconnected'
|
|
3638
3646
|
}
|
|
3639
3647
|
| {
|
|
3640
3648
|
/** Date and time at which Seam created the error. */
|
|
3641
3649
|
created_at: string
|
|
3642
3650
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3643
3651
|
message: string
|
|
3644
|
-
/** Indicates that the
|
|
3645
|
-
error_code: '
|
|
3652
|
+
/** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
|
|
3653
|
+
error_code: 'account_disconnected'
|
|
3646
3654
|
}
|
|
3647
3655
|
>
|
|
3648
3656
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -3651,8 +3659,8 @@ export interface Routes {
|
|
|
3651
3659
|
created_at: string
|
|
3652
3660
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
3653
3661
|
message: string
|
|
3654
|
-
/**
|
|
3655
|
-
warning_code: '
|
|
3662
|
+
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
3663
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
3656
3664
|
}>
|
|
3657
3665
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
3658
3666
|
can_automate_enrollment?: boolean | undefined
|
|
@@ -3754,15 +3762,23 @@ export interface Routes {
|
|
|
3754
3762
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3755
3763
|
message: string
|
|
3756
3764
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3757
|
-
error_code: '
|
|
3765
|
+
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
3758
3766
|
}
|
|
3759
3767
|
| {
|
|
3760
3768
|
/** Date and time at which Seam created the error. */
|
|
3761
3769
|
created_at: string
|
|
3762
3770
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3763
3771
|
message: string
|
|
3764
|
-
/** Indicates that the
|
|
3765
|
-
error_code: '
|
|
3772
|
+
/** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
|
|
3773
|
+
error_code: 'acs_system_disconnected'
|
|
3774
|
+
}
|
|
3775
|
+
| {
|
|
3776
|
+
/** Date and time at which Seam created the error. */
|
|
3777
|
+
created_at: string
|
|
3778
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3779
|
+
message: string
|
|
3780
|
+
/** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
|
|
3781
|
+
error_code: 'account_disconnected'
|
|
3766
3782
|
}
|
|
3767
3783
|
>
|
|
3768
3784
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -3771,8 +3787,8 @@ export interface Routes {
|
|
|
3771
3787
|
created_at: string
|
|
3772
3788
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
3773
3789
|
message: string
|
|
3774
|
-
/**
|
|
3775
|
-
warning_code: '
|
|
3790
|
+
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
3791
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
3776
3792
|
}>
|
|
3777
3793
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
3778
3794
|
can_automate_enrollment?: boolean | undefined
|
|
@@ -3874,15 +3890,23 @@ export interface Routes {
|
|
|
3874
3890
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3875
3891
|
message: string
|
|
3876
3892
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3877
|
-
error_code: '
|
|
3893
|
+
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
3878
3894
|
}
|
|
3879
3895
|
| {
|
|
3880
3896
|
/** Date and time at which Seam created the error. */
|
|
3881
3897
|
created_at: string
|
|
3882
3898
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3883
3899
|
message: string
|
|
3884
|
-
/** Indicates that the
|
|
3885
|
-
error_code: '
|
|
3900
|
+
/** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
|
|
3901
|
+
error_code: 'acs_system_disconnected'
|
|
3902
|
+
}
|
|
3903
|
+
| {
|
|
3904
|
+
/** Date and time at which Seam created the error. */
|
|
3905
|
+
created_at: string
|
|
3906
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3907
|
+
message: string
|
|
3908
|
+
/** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
|
|
3909
|
+
error_code: 'account_disconnected'
|
|
3886
3910
|
}
|
|
3887
3911
|
>
|
|
3888
3912
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -3891,8 +3915,8 @@ export interface Routes {
|
|
|
3891
3915
|
created_at: string
|
|
3892
3916
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
3893
3917
|
message: string
|
|
3894
|
-
/**
|
|
3895
|
-
warning_code: '
|
|
3918
|
+
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
3919
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
3896
3920
|
}>
|
|
3897
3921
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
3898
3922
|
can_automate_enrollment?: boolean | undefined
|
|
@@ -6479,7 +6503,7 @@ export interface Routes {
|
|
|
6479
6503
|
climate_preset_key: string
|
|
6480
6504
|
can_edit: boolean
|
|
6481
6505
|
can_delete: boolean
|
|
6482
|
-
name
|
|
6506
|
+
name?: string | null
|
|
6483
6507
|
display_name: string
|
|
6484
6508
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
6485
6509
|
hvac_mode_setting?:
|
|
@@ -7224,7 +7248,7 @@ export interface Routes {
|
|
|
7224
7248
|
climate_preset_key: string
|
|
7225
7249
|
can_edit: boolean
|
|
7226
7250
|
can_delete: boolean
|
|
7227
|
-
name
|
|
7251
|
+
name?: string | null
|
|
7228
7252
|
display_name: string
|
|
7229
7253
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
7230
7254
|
hvac_mode_setting?:
|
|
@@ -8635,7 +8659,7 @@ export interface Routes {
|
|
|
8635
8659
|
climate_preset_key: string
|
|
8636
8660
|
can_edit: boolean
|
|
8637
8661
|
can_delete: boolean
|
|
8638
|
-
name
|
|
8662
|
+
name?: string | null
|
|
8639
8663
|
display_name: string
|
|
8640
8664
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
8641
8665
|
hvac_mode_setting?:
|
|
@@ -9214,7 +9238,7 @@ export interface Routes {
|
|
|
9214
9238
|
climate_preset_key: string
|
|
9215
9239
|
can_edit: boolean
|
|
9216
9240
|
can_delete: boolean
|
|
9217
|
-
name
|
|
9241
|
+
name?: string | null
|
|
9218
9242
|
display_name: string
|
|
9219
9243
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
9220
9244
|
hvac_mode_setting?:
|
|
@@ -9959,7 +9983,7 @@ export interface Routes {
|
|
|
9959
9983
|
climate_preset_key: string
|
|
9960
9984
|
can_edit: boolean
|
|
9961
9985
|
can_delete: boolean
|
|
9962
|
-
name
|
|
9986
|
+
name?: string | null
|
|
9963
9987
|
display_name: string
|
|
9964
9988
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
9965
9989
|
hvac_mode_setting?:
|
|
@@ -10538,7 +10562,7 @@ export interface Routes {
|
|
|
10538
10562
|
climate_preset_key: string
|
|
10539
10563
|
can_edit: boolean
|
|
10540
10564
|
can_delete: boolean
|
|
10541
|
-
name
|
|
10565
|
+
name?: string | null
|
|
10542
10566
|
display_name: string
|
|
10543
10567
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
10544
10568
|
hvac_mode_setting?:
|
|
@@ -12209,7 +12233,7 @@ export interface Routes {
|
|
|
12209
12233
|
climate_preset_key: string
|
|
12210
12234
|
can_edit: boolean
|
|
12211
12235
|
can_delete: boolean
|
|
12212
|
-
name
|
|
12236
|
+
name?: string | null
|
|
12213
12237
|
display_name: string
|
|
12214
12238
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
12215
12239
|
hvac_mode_setting?:
|
|
@@ -12788,7 +12812,7 @@ export interface Routes {
|
|
|
12788
12812
|
climate_preset_key: string
|
|
12789
12813
|
can_edit: boolean
|
|
12790
12814
|
can_delete: boolean
|
|
12791
|
-
name
|
|
12815
|
+
name?: string | null
|
|
12792
12816
|
display_name: string
|
|
12793
12817
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
12794
12818
|
hvac_mode_setting?:
|
|
@@ -15384,7 +15408,7 @@ export interface Routes {
|
|
|
15384
15408
|
jsonBody: {
|
|
15385
15409
|
device_id: string
|
|
15386
15410
|
climate_preset_key: string
|
|
15387
|
-
name
|
|
15411
|
+
name?: string | null
|
|
15388
15412
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
15389
15413
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
|
|
15390
15414
|
cooling_set_point_celsius?: number | undefined
|
|
@@ -15400,7 +15424,7 @@ export interface Routes {
|
|
|
15400
15424
|
climate_preset_key: string
|
|
15401
15425
|
can_edit: boolean
|
|
15402
15426
|
can_delete: boolean
|
|
15403
|
-
name
|
|
15427
|
+
name?: string | null
|
|
15404
15428
|
display_name: string
|
|
15405
15429
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
15406
15430
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
|
|
@@ -15929,7 +15953,7 @@ export interface Routes {
|
|
|
15929
15953
|
climate_preset_key: string
|
|
15930
15954
|
can_edit: boolean
|
|
15931
15955
|
can_delete: boolean
|
|
15932
|
-
name
|
|
15956
|
+
name?: string | null
|
|
15933
15957
|
display_name: string
|
|
15934
15958
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
15935
15959
|
hvac_mode_setting?:
|
|
@@ -17572,7 +17596,7 @@ export interface Routes {
|
|
|
17572
17596
|
climate_preset_key: string
|
|
17573
17597
|
can_edit: boolean
|
|
17574
17598
|
can_delete: boolean
|
|
17575
|
-
name
|
|
17599
|
+
name?: string | null
|
|
17576
17600
|
display_name: string
|
|
17577
17601
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
17578
17602
|
hvac_mode_setting?:
|
|
@@ -18692,7 +18716,7 @@ export interface Routes {
|
|
|
18692
18716
|
jsonBody: {
|
|
18693
18717
|
device_id: string
|
|
18694
18718
|
climate_preset_key: string
|
|
18695
|
-
name
|
|
18719
|
+
name?: string | null
|
|
18696
18720
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
18697
18721
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
|
|
18698
18722
|
cooling_set_point_celsius?: number | undefined
|
|
@@ -18708,7 +18732,7 @@ export interface Routes {
|
|
|
18708
18732
|
climate_preset_key: string
|
|
18709
18733
|
can_edit: boolean
|
|
18710
18734
|
can_delete: boolean
|
|
18711
|
-
name
|
|
18735
|
+
name?: string | null
|
|
18712
18736
|
display_name: string
|
|
18713
18737
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
18714
18738
|
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
|
|
@@ -19405,7 +19429,7 @@ export interface Routes {
|
|
|
19405
19429
|
climate_preset_key: string
|
|
19406
19430
|
can_edit: boolean
|
|
19407
19431
|
can_delete: boolean
|
|
19408
|
-
name
|
|
19432
|
+
name?: string | null
|
|
19409
19433
|
display_name: string
|
|
19410
19434
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
19411
19435
|
hvac_mode_setting?:
|
|
@@ -19986,7 +20010,7 @@ export interface Routes {
|
|
|
19986
20010
|
climate_preset_key: string
|
|
19987
20011
|
can_edit: boolean
|
|
19988
20012
|
can_delete: boolean
|
|
19989
|
-
name
|
|
20013
|
+
name?: string | null
|
|
19990
20014
|
display_name: string
|
|
19991
20015
|
fan_mode_setting?: ('auto' | 'on') | undefined
|
|
19992
20016
|
hvac_mode_setting?:
|
|
@@ -20161,15 +20185,23 @@ export interface Routes {
|
|
|
20161
20185
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
20162
20186
|
message: string
|
|
20163
20187
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
20164
|
-
error_code: '
|
|
20188
|
+
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
20189
|
+
}
|
|
20190
|
+
| {
|
|
20191
|
+
/** Date and time at which Seam created the error. */
|
|
20192
|
+
created_at: string
|
|
20193
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
20194
|
+
message: string
|
|
20195
|
+
/** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
|
|
20196
|
+
error_code: 'acs_system_disconnected'
|
|
20165
20197
|
}
|
|
20166
20198
|
| {
|
|
20167
20199
|
/** Date and time at which Seam created the error. */
|
|
20168
20200
|
created_at: string
|
|
20169
20201
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
20170
20202
|
message: string
|
|
20171
|
-
/** Indicates that the
|
|
20172
|
-
error_code: '
|
|
20203
|
+
/** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
|
|
20204
|
+
error_code: 'account_disconnected'
|
|
20173
20205
|
}
|
|
20174
20206
|
>
|
|
20175
20207
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -20178,8 +20210,8 @@ export interface Routes {
|
|
|
20178
20210
|
created_at: string
|
|
20179
20211
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
20180
20212
|
message: string
|
|
20181
|
-
/**
|
|
20182
|
-
warning_code: '
|
|
20213
|
+
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
20214
|
+
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
20183
20215
|
}>
|
|
20184
20216
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
20185
20217
|
can_automate_enrollment?: boolean | undefined
|
|
@@ -55,10 +55,6 @@ const smartlock = z
|
|
|
55
55
|
can_remotely_unlock: true,
|
|
56
56
|
can_program_offline_access_codes: true,
|
|
57
57
|
can_program_online_access_codes: true,
|
|
58
|
-
can_hvac_heat: true,
|
|
59
|
-
can_hvac_cool: true,
|
|
60
|
-
can_hvac_heat_cool: true,
|
|
61
|
-
can_turn_off_hvac: true,
|
|
62
58
|
}),
|
|
63
59
|
)
|
|
64
60
|
|
|
@@ -72,21 +68,30 @@ const sensor = z.object({
|
|
|
72
68
|
}),
|
|
73
69
|
})
|
|
74
70
|
|
|
75
|
-
export const thermostat = z
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
})
|
|
71
|
+
export const thermostat = z
|
|
72
|
+
.object({
|
|
73
|
+
main_category: z.literal(device_category.enum.thermostat),
|
|
74
|
+
physical_properties: z.object({
|
|
75
|
+
available_modes: z.enum(['heat', 'cool', 'fan', 'eco']).array(),
|
|
76
|
+
is_heat_pump_compatible: z.boolean(),
|
|
77
|
+
has_occupancy_detection: z.boolean(),
|
|
78
|
+
supports_demand_response: z.boolean(),
|
|
79
|
+
has_humidity_sensor: z.boolean(),
|
|
80
|
+
has_temperature_sensor: z.boolean(),
|
|
81
|
+
supports_emergency_heating_mode: z.boolean(),
|
|
82
|
+
}),
|
|
83
|
+
software_features: z.object({
|
|
84
|
+
can_program_climate_schedules: z.boolean(),
|
|
85
|
+
}),
|
|
86
|
+
})
|
|
87
|
+
.merge(
|
|
88
|
+
device_model_capability_flags.pick({
|
|
89
|
+
can_hvac_heat: true,
|
|
90
|
+
can_hvac_cool: true,
|
|
91
|
+
can_hvac_heat_cool: true,
|
|
92
|
+
can_turn_off_hvac: true,
|
|
93
|
+
}),
|
|
94
|
+
)
|
|
90
95
|
|
|
91
96
|
export type ThermostatProperties = z.infer<typeof thermostat>
|
|
92
97
|
|
|
@@ -112,10 +112,6 @@ export interface Routes {
|
|
|
112
112
|
can_remotely_unlock?: true | undefined
|
|
113
113
|
can_program_offline_access_codes?: true | undefined
|
|
114
114
|
can_program_online_access_codes?: true | undefined
|
|
115
|
-
can_hvac_heat?: true | undefined
|
|
116
|
-
can_hvac_cool?: true | undefined
|
|
117
|
-
can_hvac_heat_cool?: true | undefined
|
|
118
|
-
can_turn_off_hvac?: true | undefined
|
|
119
115
|
}
|
|
120
116
|
| {
|
|
121
117
|
main_category: 'sensor'
|
|
@@ -140,6 +136,10 @@ export interface Routes {
|
|
|
140
136
|
software_features: {
|
|
141
137
|
can_program_climate_schedules: boolean
|
|
142
138
|
}
|
|
139
|
+
can_hvac_heat?: true | undefined
|
|
140
|
+
can_hvac_cool?: true | undefined
|
|
141
|
+
can_hvac_heat_cool?: true | undefined
|
|
142
|
+
can_turn_off_hvac?: true | undefined
|
|
143
143
|
}
|
|
144
144
|
| {
|
|
145
145
|
main_category: 'relay'
|
|
@@ -304,10 +304,6 @@ export interface Routes {
|
|
|
304
304
|
can_remotely_unlock?: true | undefined
|
|
305
305
|
can_program_offline_access_codes?: true | undefined
|
|
306
306
|
can_program_online_access_codes?: true | undefined
|
|
307
|
-
can_hvac_heat?: true | undefined
|
|
308
|
-
can_hvac_cool?: true | undefined
|
|
309
|
-
can_hvac_heat_cool?: true | undefined
|
|
310
|
-
can_turn_off_hvac?: true | undefined
|
|
311
307
|
}
|
|
312
308
|
| {
|
|
313
309
|
main_category: 'sensor'
|
|
@@ -332,6 +328,10 @@ export interface Routes {
|
|
|
332
328
|
software_features: {
|
|
333
329
|
can_program_climate_schedules: boolean
|
|
334
330
|
}
|
|
331
|
+
can_hvac_heat?: true | undefined
|
|
332
|
+
can_hvac_cool?: true | undefined
|
|
333
|
+
can_hvac_heat_cool?: true | undefined
|
|
334
|
+
can_turn_off_hvac?: true | undefined
|
|
335
335
|
}
|
|
336
336
|
| {
|
|
337
337
|
main_category: 'relay'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"climate-setting-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-setting-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACtE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,+ZAA+Z,CACha;CACJ,CAAC,CAAA"}
|
|
File without changes
|
|
File without changes
|