@seamapi/types 1.131.0 → 1.132.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 +23 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +51 -45
- package/lib/seam/connect/openapi.d.ts +5 -2
- package/lib/seam/connect/openapi.js +23 -19
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +46 -43
- package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.d.ts +8 -0
- package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.js +5 -0
- package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +6 -3
- package/lib/seam/connect/unstable/models/acs/system.js +5 -2
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/device-metadata.d.ts +8 -8
- package/lib/seam/connect/unstable/models/devices/device-metadata.js +2 -2
- package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/device-type.d.ts +1 -1
- package/lib/seam/connect/unstable/models/devices/device-type.js +1 -1
- package/lib/seam/connect/unstable/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +19 -19
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +3 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +23 -19
- package/src/lib/seam/connect/route-types.ts +122 -43
- package/src/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.ts +5 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +21 -17
- package/src/lib/seam/connect/unstable/models/devices/device-metadata.ts +2 -2
- package/src/lib/seam/connect/unstable/models/devices/device-type.ts +1 -1
|
@@ -1336,6 +1336,7 @@ export interface Routes {
|
|
|
1336
1336
|
connected_account_ids: string[]
|
|
1337
1337
|
image_url: string
|
|
1338
1338
|
image_alt_text: string
|
|
1339
|
+
can_automate_enrollment?: boolean | undefined
|
|
1339
1340
|
}
|
|
1340
1341
|
}
|
|
1341
1342
|
}
|
|
@@ -1377,6 +1378,7 @@ export interface Routes {
|
|
|
1377
1378
|
connected_account_ids: string[]
|
|
1378
1379
|
image_url: string
|
|
1379
1380
|
image_alt_text: string
|
|
1381
|
+
can_automate_enrollment?: boolean | undefined
|
|
1380
1382
|
}>
|
|
1381
1383
|
}
|
|
1382
1384
|
}
|
|
@@ -1917,7 +1919,7 @@ export interface Routes {
|
|
|
1917
1919
|
| 'assa_abloy_credential_service'
|
|
1918
1920
|
| 'seam_bridge'
|
|
1919
1921
|
| 'tedee'
|
|
1920
|
-
| '
|
|
1922
|
+
| 'honeywell_resideo'
|
|
1921
1923
|
| 'yale_access'
|
|
1922
1924
|
| 'hid_cm'
|
|
1923
1925
|
| 'google_nest'
|
|
@@ -2222,7 +2224,11 @@ export interface Routes {
|
|
|
2222
2224
|
| 'tedee_lock'
|
|
2223
2225
|
)
|
|
2224
2226
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
2225
|
-
| (
|
|
2227
|
+
| (
|
|
2228
|
+
| 'ecobee_thermostat'
|
|
2229
|
+
| 'nest_thermostat'
|
|
2230
|
+
| 'honeywell_resideo_thermostat'
|
|
2231
|
+
)
|
|
2226
2232
|
| ('ios_phone' | 'android_phone')
|
|
2227
2233
|
/** Optional nickname to describe the device, settable through Seam */
|
|
2228
2234
|
nickname?: string | undefined
|
|
@@ -2477,9 +2483,9 @@ export interface Routes {
|
|
|
2477
2483
|
device_name: string
|
|
2478
2484
|
}
|
|
2479
2485
|
| undefined
|
|
2480
|
-
|
|
2486
|
+
honeywell_resideo_metadata?:
|
|
2481
2487
|
| {
|
|
2482
|
-
|
|
2488
|
+
honeywell_resideo_device_id: string
|
|
2483
2489
|
device_name: string
|
|
2484
2490
|
}
|
|
2485
2491
|
| undefined
|
|
@@ -2917,7 +2923,11 @@ export interface Routes {
|
|
|
2917
2923
|
| 'tedee_lock'
|
|
2918
2924
|
)
|
|
2919
2925
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
2920
|
-
| (
|
|
2926
|
+
| (
|
|
2927
|
+
| 'ecobee_thermostat'
|
|
2928
|
+
| 'nest_thermostat'
|
|
2929
|
+
| 'honeywell_resideo_thermostat'
|
|
2930
|
+
)
|
|
2921
2931
|
| ('ios_phone' | 'android_phone')
|
|
2922
2932
|
)
|
|
2923
2933
|
| undefined
|
|
@@ -2952,7 +2962,11 @@ export interface Routes {
|
|
|
2952
2962
|
| 'tedee_lock'
|
|
2953
2963
|
)
|
|
2954
2964
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
2955
|
-
| (
|
|
2965
|
+
| (
|
|
2966
|
+
| 'ecobee_thermostat'
|
|
2967
|
+
| 'nest_thermostat'
|
|
2968
|
+
| 'honeywell_resideo_thermostat'
|
|
2969
|
+
)
|
|
2956
2970
|
| ('ios_phone' | 'android_phone')
|
|
2957
2971
|
>
|
|
2958
2972
|
| undefined
|
|
@@ -2991,7 +3005,7 @@ export interface Routes {
|
|
|
2991
3005
|
| 'smartthings'
|
|
2992
3006
|
| 'dormakaba_oracode'
|
|
2993
3007
|
| 'tedee'
|
|
2994
|
-
| '
|
|
3008
|
+
| 'honeywell_resideo'
|
|
2995
3009
|
)
|
|
2996
3010
|
| undefined
|
|
2997
3011
|
device_ids?: string[] | undefined
|
|
@@ -3036,7 +3050,11 @@ export interface Routes {
|
|
|
3036
3050
|
| 'tedee_lock'
|
|
3037
3051
|
)
|
|
3038
3052
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3039
|
-
| (
|
|
3053
|
+
| (
|
|
3054
|
+
| 'ecobee_thermostat'
|
|
3055
|
+
| 'nest_thermostat'
|
|
3056
|
+
| 'honeywell_resideo_thermostat'
|
|
3057
|
+
)
|
|
3040
3058
|
| ('ios_phone' | 'android_phone')
|
|
3041
3059
|
/** Optional nickname to describe the device, settable through Seam */
|
|
3042
3060
|
nickname?: string | undefined
|
|
@@ -3291,9 +3309,9 @@ export interface Routes {
|
|
|
3291
3309
|
device_name: string
|
|
3292
3310
|
}
|
|
3293
3311
|
| undefined
|
|
3294
|
-
|
|
3312
|
+
honeywell_resideo_metadata?:
|
|
3295
3313
|
| {
|
|
3296
|
-
|
|
3314
|
+
honeywell_resideo_device_id: string
|
|
3297
3315
|
device_name: string
|
|
3298
3316
|
}
|
|
3299
3317
|
| undefined
|
|
@@ -3745,7 +3763,7 @@ export interface Routes {
|
|
|
3745
3763
|
| 'assa_abloy_credential_service'
|
|
3746
3764
|
| 'seam_bridge'
|
|
3747
3765
|
| 'tedee'
|
|
3748
|
-
| '
|
|
3766
|
+
| 'honeywell_resideo'
|
|
3749
3767
|
display_name: string
|
|
3750
3768
|
image_url: string
|
|
3751
3769
|
provider_categories: Array<
|
|
@@ -3803,7 +3821,11 @@ export interface Routes {
|
|
|
3803
3821
|
| 'tedee_lock'
|
|
3804
3822
|
)
|
|
3805
3823
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3806
|
-
| (
|
|
3824
|
+
| (
|
|
3825
|
+
| 'ecobee_thermostat'
|
|
3826
|
+
| 'nest_thermostat'
|
|
3827
|
+
| 'honeywell_resideo_thermostat'
|
|
3828
|
+
)
|
|
3807
3829
|
| ('ios_phone' | 'android_phone')
|
|
3808
3830
|
/** Unique identifier for the account associated with the device. */
|
|
3809
3831
|
connected_account_id: string
|
|
@@ -3914,7 +3936,11 @@ export interface Routes {
|
|
|
3914
3936
|
| 'tedee_lock'
|
|
3915
3937
|
)
|
|
3916
3938
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3917
|
-
| (
|
|
3939
|
+
| (
|
|
3940
|
+
| 'ecobee_thermostat'
|
|
3941
|
+
| 'nest_thermostat'
|
|
3942
|
+
| 'honeywell_resideo_thermostat'
|
|
3943
|
+
)
|
|
3918
3944
|
| ('ios_phone' | 'android_phone')
|
|
3919
3945
|
)
|
|
3920
3946
|
| undefined
|
|
@@ -3949,7 +3975,11 @@ export interface Routes {
|
|
|
3949
3975
|
| 'tedee_lock'
|
|
3950
3976
|
)
|
|
3951
3977
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3952
|
-
| (
|
|
3978
|
+
| (
|
|
3979
|
+
| 'ecobee_thermostat'
|
|
3980
|
+
| 'nest_thermostat'
|
|
3981
|
+
| 'honeywell_resideo_thermostat'
|
|
3982
|
+
)
|
|
3953
3983
|
| ('ios_phone' | 'android_phone')
|
|
3954
3984
|
>
|
|
3955
3985
|
| undefined
|
|
@@ -3988,7 +4018,7 @@ export interface Routes {
|
|
|
3988
4018
|
| 'smartthings'
|
|
3989
4019
|
| 'dormakaba_oracode'
|
|
3990
4020
|
| 'tedee'
|
|
3991
|
-
| '
|
|
4021
|
+
| 'honeywell_resideo'
|
|
3992
4022
|
)
|
|
3993
4023
|
| undefined
|
|
3994
4024
|
device_ids?: string[] | undefined
|
|
@@ -4033,7 +4063,11 @@ export interface Routes {
|
|
|
4033
4063
|
| 'tedee_lock'
|
|
4034
4064
|
)
|
|
4035
4065
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
4036
|
-
| (
|
|
4066
|
+
| (
|
|
4067
|
+
| 'ecobee_thermostat'
|
|
4068
|
+
| 'nest_thermostat'
|
|
4069
|
+
| 'honeywell_resideo_thermostat'
|
|
4070
|
+
)
|
|
4037
4071
|
| ('ios_phone' | 'android_phone')
|
|
4038
4072
|
/** Unique identifier for the account associated with the device. */
|
|
4039
4073
|
connected_account_id: string
|
|
@@ -4413,7 +4447,11 @@ export interface Routes {
|
|
|
4413
4447
|
| 'tedee_lock'
|
|
4414
4448
|
)
|
|
4415
4449
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
4416
|
-
| (
|
|
4450
|
+
| (
|
|
4451
|
+
| 'ecobee_thermostat'
|
|
4452
|
+
| 'nest_thermostat'
|
|
4453
|
+
| 'honeywell_resideo_thermostat'
|
|
4454
|
+
)
|
|
4417
4455
|
| ('ios_phone' | 'android_phone')
|
|
4418
4456
|
/** Optional nickname to describe the device, settable through Seam */
|
|
4419
4457
|
nickname?: string | undefined
|
|
@@ -4668,9 +4706,9 @@ export interface Routes {
|
|
|
4668
4706
|
device_name: string
|
|
4669
4707
|
}
|
|
4670
4708
|
| undefined
|
|
4671
|
-
|
|
4709
|
+
honeywell_resideo_metadata?:
|
|
4672
4710
|
| {
|
|
4673
|
-
|
|
4711
|
+
honeywell_resideo_device_id: string
|
|
4674
4712
|
device_name: string
|
|
4675
4713
|
}
|
|
4676
4714
|
| undefined
|
|
@@ -5099,7 +5137,11 @@ export interface Routes {
|
|
|
5099
5137
|
| 'tedee_lock'
|
|
5100
5138
|
)
|
|
5101
5139
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5102
|
-
| (
|
|
5140
|
+
| (
|
|
5141
|
+
| 'ecobee_thermostat'
|
|
5142
|
+
| 'nest_thermostat'
|
|
5143
|
+
| 'honeywell_resideo_thermostat'
|
|
5144
|
+
)
|
|
5103
5145
|
| ('ios_phone' | 'android_phone')
|
|
5104
5146
|
/** Optional nickname to describe the device, settable through Seam */
|
|
5105
5147
|
nickname?: string | undefined
|
|
@@ -5354,9 +5396,9 @@ export interface Routes {
|
|
|
5354
5396
|
device_name: string
|
|
5355
5397
|
}
|
|
5356
5398
|
| undefined
|
|
5357
|
-
|
|
5399
|
+
honeywell_resideo_metadata?:
|
|
5358
5400
|
| {
|
|
5359
|
-
|
|
5401
|
+
honeywell_resideo_device_id: string
|
|
5360
5402
|
device_name: string
|
|
5361
5403
|
}
|
|
5362
5404
|
| undefined
|
|
@@ -5794,7 +5836,11 @@ export interface Routes {
|
|
|
5794
5836
|
| 'tedee_lock'
|
|
5795
5837
|
)
|
|
5796
5838
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5797
|
-
| (
|
|
5839
|
+
| (
|
|
5840
|
+
| 'ecobee_thermostat'
|
|
5841
|
+
| 'nest_thermostat'
|
|
5842
|
+
| 'honeywell_resideo_thermostat'
|
|
5843
|
+
)
|
|
5798
5844
|
| ('ios_phone' | 'android_phone')
|
|
5799
5845
|
)
|
|
5800
5846
|
| undefined
|
|
@@ -5829,7 +5875,11 @@ export interface Routes {
|
|
|
5829
5875
|
| 'tedee_lock'
|
|
5830
5876
|
)
|
|
5831
5877
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5832
|
-
| (
|
|
5878
|
+
| (
|
|
5879
|
+
| 'ecobee_thermostat'
|
|
5880
|
+
| 'nest_thermostat'
|
|
5881
|
+
| 'honeywell_resideo_thermostat'
|
|
5882
|
+
)
|
|
5833
5883
|
| ('ios_phone' | 'android_phone')
|
|
5834
5884
|
>
|
|
5835
5885
|
| undefined
|
|
@@ -5868,7 +5918,7 @@ export interface Routes {
|
|
|
5868
5918
|
| 'smartthings'
|
|
5869
5919
|
| 'dormakaba_oracode'
|
|
5870
5920
|
| 'tedee'
|
|
5871
|
-
| '
|
|
5921
|
+
| 'honeywell_resideo'
|
|
5872
5922
|
)
|
|
5873
5923
|
| undefined
|
|
5874
5924
|
device_ids?: string[] | undefined
|
|
@@ -5913,7 +5963,11 @@ export interface Routes {
|
|
|
5913
5963
|
| 'tedee_lock'
|
|
5914
5964
|
)
|
|
5915
5965
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5916
|
-
| (
|
|
5966
|
+
| (
|
|
5967
|
+
| 'ecobee_thermostat'
|
|
5968
|
+
| 'nest_thermostat'
|
|
5969
|
+
| 'honeywell_resideo_thermostat'
|
|
5970
|
+
)
|
|
5917
5971
|
| ('ios_phone' | 'android_phone')
|
|
5918
5972
|
/** Optional nickname to describe the device, settable through Seam */
|
|
5919
5973
|
nickname?: string | undefined
|
|
@@ -6168,9 +6222,9 @@ export interface Routes {
|
|
|
6168
6222
|
device_name: string
|
|
6169
6223
|
}
|
|
6170
6224
|
| undefined
|
|
6171
|
-
|
|
6225
|
+
honeywell_resideo_metadata?:
|
|
6172
6226
|
| {
|
|
6173
|
-
|
|
6227
|
+
honeywell_resideo_device_id: string
|
|
6174
6228
|
device_name: string
|
|
6175
6229
|
}
|
|
6176
6230
|
| undefined
|
|
@@ -6599,7 +6653,11 @@ export interface Routes {
|
|
|
6599
6653
|
| 'tedee_lock'
|
|
6600
6654
|
)
|
|
6601
6655
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
6602
|
-
| (
|
|
6656
|
+
| (
|
|
6657
|
+
| 'ecobee_thermostat'
|
|
6658
|
+
| 'nest_thermostat'
|
|
6659
|
+
| 'honeywell_resideo_thermostat'
|
|
6660
|
+
)
|
|
6603
6661
|
| ('ios_phone' | 'android_phone')
|
|
6604
6662
|
/** Optional nickname to describe the device, settable through Seam */
|
|
6605
6663
|
nickname?: string | undefined
|
|
@@ -6854,9 +6912,9 @@ export interface Routes {
|
|
|
6854
6912
|
device_name: string
|
|
6855
6913
|
}
|
|
6856
6914
|
| undefined
|
|
6857
|
-
|
|
6915
|
+
honeywell_resideo_metadata?:
|
|
6858
6916
|
| {
|
|
6859
|
-
|
|
6917
|
+
honeywell_resideo_device_id: string
|
|
6860
6918
|
device_name: string
|
|
6861
6919
|
}
|
|
6862
6920
|
| undefined
|
|
@@ -7958,7 +8016,11 @@ export interface Routes {
|
|
|
7958
8016
|
| 'tedee_lock'
|
|
7959
8017
|
)
|
|
7960
8018
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
7961
|
-
| (
|
|
8019
|
+
| (
|
|
8020
|
+
| 'ecobee_thermostat'
|
|
8021
|
+
| 'nest_thermostat'
|
|
8022
|
+
| 'honeywell_resideo_thermostat'
|
|
8023
|
+
)
|
|
7962
8024
|
| ('ios_phone' | 'android_phone')
|
|
7963
8025
|
/** Optional nickname to describe the device, settable through Seam */
|
|
7964
8026
|
nickname?: string | undefined
|
|
@@ -8213,9 +8275,9 @@ export interface Routes {
|
|
|
8213
8275
|
device_name: string
|
|
8214
8276
|
}
|
|
8215
8277
|
| undefined
|
|
8216
|
-
|
|
8278
|
+
honeywell_resideo_metadata?:
|
|
8217
8279
|
| {
|
|
8218
|
-
|
|
8280
|
+
honeywell_resideo_device_id: string
|
|
8219
8281
|
device_name: string
|
|
8220
8282
|
}
|
|
8221
8283
|
| undefined
|
|
@@ -8735,7 +8797,11 @@ export interface Routes {
|
|
|
8735
8797
|
| 'tedee_lock'
|
|
8736
8798
|
)
|
|
8737
8799
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
8738
|
-
| (
|
|
8800
|
+
| (
|
|
8801
|
+
| 'ecobee_thermostat'
|
|
8802
|
+
| 'nest_thermostat'
|
|
8803
|
+
| 'honeywell_resideo_thermostat'
|
|
8804
|
+
)
|
|
8739
8805
|
| ('ios_phone' | 'android_phone')
|
|
8740
8806
|
)
|
|
8741
8807
|
| undefined
|
|
@@ -8770,7 +8836,11 @@ export interface Routes {
|
|
|
8770
8836
|
| 'tedee_lock'
|
|
8771
8837
|
)
|
|
8772
8838
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
8773
|
-
| (
|
|
8839
|
+
| (
|
|
8840
|
+
| 'ecobee_thermostat'
|
|
8841
|
+
| 'nest_thermostat'
|
|
8842
|
+
| 'honeywell_resideo_thermostat'
|
|
8843
|
+
)
|
|
8774
8844
|
| ('ios_phone' | 'android_phone')
|
|
8775
8845
|
>
|
|
8776
8846
|
| undefined
|
|
@@ -8809,7 +8879,7 @@ export interface Routes {
|
|
|
8809
8879
|
| 'smartthings'
|
|
8810
8880
|
| 'dormakaba_oracode'
|
|
8811
8881
|
| 'tedee'
|
|
8812
|
-
| '
|
|
8882
|
+
| 'honeywell_resideo'
|
|
8813
8883
|
)
|
|
8814
8884
|
| undefined
|
|
8815
8885
|
device_ids?: string[] | undefined
|
|
@@ -8854,7 +8924,11 @@ export interface Routes {
|
|
|
8854
8924
|
| 'tedee_lock'
|
|
8855
8925
|
)
|
|
8856
8926
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
8857
|
-
| (
|
|
8927
|
+
| (
|
|
8928
|
+
| 'ecobee_thermostat'
|
|
8929
|
+
| 'nest_thermostat'
|
|
8930
|
+
| 'honeywell_resideo_thermostat'
|
|
8931
|
+
)
|
|
8858
8932
|
| ('ios_phone' | 'android_phone')
|
|
8859
8933
|
/** Optional nickname to describe the device, settable through Seam */
|
|
8860
8934
|
nickname?: string | undefined
|
|
@@ -9109,9 +9183,9 @@ export interface Routes {
|
|
|
9109
9183
|
device_name: string
|
|
9110
9184
|
}
|
|
9111
9185
|
| undefined
|
|
9112
|
-
|
|
9186
|
+
honeywell_resideo_metadata?:
|
|
9113
9187
|
| {
|
|
9114
|
-
|
|
9188
|
+
honeywell_resideo_device_id: string
|
|
9115
9189
|
device_name: string
|
|
9116
9190
|
}
|
|
9117
9191
|
| undefined
|
|
@@ -9832,7 +9906,11 @@ export interface Routes {
|
|
|
9832
9906
|
| 'tedee_lock'
|
|
9833
9907
|
)
|
|
9834
9908
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
9835
|
-
| (
|
|
9909
|
+
| (
|
|
9910
|
+
| 'ecobee_thermostat'
|
|
9911
|
+
| 'nest_thermostat'
|
|
9912
|
+
| 'honeywell_resideo_thermostat'
|
|
9913
|
+
)
|
|
9836
9914
|
| ('ios_phone' | 'android_phone')
|
|
9837
9915
|
/** Optional nickname to describe the device, settable through Seam */
|
|
9838
9916
|
nickname?: string | undefined
|
|
@@ -10087,9 +10165,9 @@ export interface Routes {
|
|
|
10087
10165
|
device_name: string
|
|
10088
10166
|
}
|
|
10089
10167
|
| undefined
|
|
10090
|
-
|
|
10168
|
+
honeywell_resideo_metadata?:
|
|
10091
10169
|
| {
|
|
10092
|
-
|
|
10170
|
+
honeywell_resideo_device_id: string
|
|
10093
10171
|
device_name: string
|
|
10094
10172
|
}
|
|
10095
10173
|
| undefined
|
|
@@ -10524,6 +10602,7 @@ export interface Routes {
|
|
|
10524
10602
|
connected_account_ids: string[]
|
|
10525
10603
|
image_url: string
|
|
10526
10604
|
image_alt_text: string
|
|
10605
|
+
can_automate_enrollment?: boolean | undefined
|
|
10527
10606
|
}>
|
|
10528
10607
|
}
|
|
10529
10608
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { acs_system_capability_flags } from './acs_system_capability_flags.js'
|
|
4
|
+
|
|
3
5
|
// If changed, update seam.acs_system.external_type generated column
|
|
4
6
|
export const acs_system_external_type = z.enum([
|
|
5
7
|
'pti_site',
|
|
@@ -13,22 +15,24 @@ export const acs_system_external_type = z.enum([
|
|
|
13
15
|
|
|
14
16
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>
|
|
15
17
|
|
|
16
|
-
export const acs_system = z
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
export const acs_system = z
|
|
19
|
+
.object({
|
|
20
|
+
acs_system_id: z.string().uuid(),
|
|
21
|
+
external_type: acs_system_external_type,
|
|
22
|
+
external_type_display_name: z.string(),
|
|
23
|
+
system_type: acs_system_external_type.describe(
|
|
24
|
+
'deprecated: use external_type',
|
|
25
|
+
),
|
|
26
|
+
system_type_display_name: z
|
|
27
|
+
.string()
|
|
28
|
+
.describe('deprecated: use external_type_display_name'),
|
|
29
|
+
name: z.string(),
|
|
30
|
+
created_at: z.string().datetime(),
|
|
31
|
+
workspace_id: z.string().uuid(),
|
|
32
|
+
connected_account_ids: z.array(z.string()),
|
|
33
|
+
image_url: z.string(),
|
|
34
|
+
image_alt_text: z.string(),
|
|
35
|
+
})
|
|
36
|
+
.merge(acs_system_capability_flags)
|
|
33
37
|
|
|
34
38
|
export type AcsSystem = z.output<typeof acs_system>
|
|
@@ -174,8 +174,8 @@ export const device_metadata = z
|
|
|
174
174
|
device_name: z.string(),
|
|
175
175
|
}),
|
|
176
176
|
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
honeywell_resideo_metadata: z.object({
|
|
178
|
+
honeywell_resideo_device_id: z.string(),
|
|
179
179
|
device_name: z.string(),
|
|
180
180
|
}),
|
|
181
181
|
|
|
@@ -66,7 +66,7 @@ export type NoiseSensorDeviceType = z.infer<typeof noise_sensor_device_type>
|
|
|
66
66
|
export const THERMOSTAT_DEVICE_TYPE = {
|
|
67
67
|
ECOBEE_THERMOSTAT: 'ecobee_thermostat',
|
|
68
68
|
NEST_THERMOSTAT: 'nest_thermostat',
|
|
69
|
-
|
|
69
|
+
HONEYWELL_RESIDEO_THERMOSTAT: 'honeywell_resideo_thermostat',
|
|
70
70
|
} as const
|
|
71
71
|
|
|
72
72
|
type ThermostatDeviceTypeFromMapping =
|