@seamapi/types 1.91.2 → 1.92.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 (26) hide show
  1. package/dist/connect.cjs +888 -908
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1196 -1143
  4. package/lib/seam/connect/openapi.d.ts +1103 -1053
  5. package/lib/seam/connect/openapi.js +875 -895
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +102 -99
  8. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +39 -0
  9. package/lib/seam/connect/unstable/models/acs/entrance.js +15 -0
  10. package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -1
  11. package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +6 -6
  12. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +95 -125
  13. package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
  14. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  15. package/lib/seam/connect/unstable/models/devices/phone-properties.d.ts +35 -57
  16. package/lib/seam/connect/unstable/models/devices/phone-properties.js +9 -11
  17. package/lib/seam/connect/unstable/models/devices/phone-properties.js.map +1 -1
  18. package/lib/seam/connect/unstable/models/devices/phone.js +1 -1
  19. package/lib/seam/connect/unstable/models/devices/phone.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/openapi.ts +878 -899
  22. package/src/lib/seam/connect/route-types.ts +153 -135
  23. package/src/lib/seam/connect/unstable/models/acs/entrance.ts +17 -0
  24. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
  25. package/src/lib/seam/connect/unstable/models/devices/phone-properties.ts +11 -13
  26. package/src/lib/seam/connect/unstable/models/devices/phone.ts +1 -1
@@ -722,389 +722,22 @@ export default {
722
722
  },
723
723
  {
724
724
  properties: {
725
- august_metadata: {
725
+ assa_abloy_credential_service_metadata: {
726
726
  properties: {
727
- has_keypad: { type: 'boolean' },
728
- house_id: { type: 'string' },
729
- house_name: { type: 'string' },
730
- keypad_battery_level: { type: 'string' },
731
- lock_id: { type: 'string' },
732
- lock_name: { type: 'string' },
733
- model: { type: 'string' },
734
- },
735
- required: [
736
- 'lock_id',
737
- 'lock_name',
738
- 'house_name',
739
- 'has_keypad',
740
- ],
741
- type: 'object',
742
- },
743
- avigilon_alta_metadata: {
744
- properties: {
745
- entry_name: { type: 'string' },
746
- org_name: { type: 'string' },
747
- site_id: { type: 'number' },
748
- site_name: { type: 'string' },
749
- zone_id: { type: 'number' },
750
- zone_name: { type: 'string' },
751
- },
752
- required: [
753
- 'entry_name',
754
- 'org_name',
755
- 'zone_id',
756
- 'zone_name',
757
- 'site_id',
758
- 'site_name',
759
- ],
760
- type: 'object',
761
- },
762
- brivo_metadata: {
763
- properties: { device_name: { type: 'string' } },
764
- required: ['device_name'],
765
- type: 'object',
766
- },
767
- controlbyweb_metadata: {
768
- properties: {
769
- device_id: { type: 'string' },
770
- device_name: { type: 'string' },
771
- relay_name: { nullable: true, type: 'string' },
772
- },
773
- required: [
774
- 'device_id',
775
- 'device_name',
776
- 'relay_name',
777
- ],
778
- type: 'object',
779
- },
780
- dormakaba_oracode_metadata: {
781
- properties: {
782
- device_id: { type: 'number' },
783
- door_id: { type: 'number' },
784
- door_name: { type: 'string' },
785
- iana_timezone: { type: 'string' },
786
- predefined_time_slots: {
727
+ endpoints: {
787
728
  items: {
788
729
  properties: {
789
- check_in_time: { type: 'string' },
790
- check_out_time: { type: 'string' },
791
- dormakaba_oracode_user_level_id: {
792
- format: 'uuid',
793
- type: 'string',
794
- },
795
- ext_dormakaba_oracode_user_level_prefix: {
796
- type: 'number',
797
- },
798
- is_24_hour: { type: 'boolean' },
799
- is_biweekly_mode: { type: 'boolean' },
800
- is_master: { type: 'boolean' },
801
- is_one_shot: { type: 'boolean' },
802
- name: { type: 'string' },
803
- prefix: { type: 'number' },
730
+ endpoint_id: { type: 'string' },
731
+ is_active: { type: 'boolean' },
804
732
  },
805
- required: [
806
- 'name',
807
- 'prefix',
808
- 'check_in_time',
809
- 'check_out_time',
810
- 'is_24_hour',
811
- 'is_biweekly_mode',
812
- 'is_one_shot',
813
- 'is_master',
814
- 'ext_dormakaba_oracode_user_level_prefix',
815
- 'dormakaba_oracode_user_level_id',
816
- ],
733
+ required: ['endpoint_id', 'is_active'],
817
734
  type: 'object',
818
735
  },
819
736
  type: 'array',
820
737
  },
821
- site_id: { type: 'number' },
822
- site_name: { type: 'string' },
823
- },
824
- required: [
825
- 'door_id',
826
- 'door_name',
827
- 'site_id',
828
- 'site_name',
829
- ],
830
- type: 'object',
831
- },
832
- ecobee_metadata: {
833
- properties: {
834
- device_name: { type: 'string' },
835
- ecobee_device_id: { type: 'string' },
836
- },
837
- required: ['ecobee_device_id', 'device_name'],
838
- type: 'object',
839
- },
840
- four_suites_metadata: {
841
- properties: {
842
- device_id: { type: 'number' },
843
- device_name: { type: 'string' },
844
- reclose_delay_in_seconds: { type: 'number' },
845
- },
846
- required: [
847
- 'device_id',
848
- 'device_name',
849
- 'reclose_delay_in_seconds',
850
- ],
851
- type: 'object',
852
- },
853
- genie_metadata: {
854
- properties: {
855
- device_name: { type: 'string' },
856
- door_name: { type: 'string' },
857
- },
858
- required: ['device_name', 'door_name'],
859
- type: 'object',
860
- },
861
- hubitat_metadata: {
862
- properties: {
863
- device_id: { type: 'string' },
864
- device_label: { type: 'string' },
865
- device_name: { type: 'string' },
866
- },
867
- required: [
868
- 'device_id',
869
- 'device_name',
870
- 'device_label',
871
- ],
872
- type: 'object',
873
- },
874
- igloo_metadata: {
875
- properties: {
876
- bridge_id: { type: 'string' },
877
- device_id: { type: 'string' },
878
- model: { type: 'string' },
879
- },
880
- required: ['device_id', 'bridge_id'],
881
- type: 'object',
882
- },
883
- igloohome_metadata: {
884
- properties: {
885
- bridge_id: { type: 'string' },
886
- bridge_name: { type: 'string' },
887
- device_id: { type: 'string' },
888
- device_name: { type: 'string' },
889
- },
890
- required: ['device_id', 'device_name'],
891
- type: 'object',
892
- },
893
- kwikset_metadata: {
894
- properties: {
895
- device_id: { type: 'string' },
896
- device_name: { type: 'string' },
897
- model_number: { type: 'string' },
898
- },
899
- required: [
900
- 'device_id',
901
- 'device_name',
902
- 'model_number',
903
- ],
904
- type: 'object',
905
- },
906
- lockly_metadata: {
907
- properties: {
908
- device_id: { type: 'string' },
909
- device_name: { type: 'string' },
910
- model: { type: 'string' },
911
- },
912
- required: ['device_id', 'device_name'],
913
- type: 'object',
914
- },
915
- minut_metadata: {
916
- properties: {
917
- device_id: { type: 'string' },
918
- device_name: { type: 'string' },
919
- latest_sensor_values: {
920
- properties: {
921
- accelerometer_z: {
922
- properties: {
923
- time: { type: 'string' },
924
- value: { type: 'number' },
925
- },
926
- required: ['time', 'value'],
927
- type: 'object',
928
- },
929
- humidity: {
930
- properties: {
931
- time: { type: 'string' },
932
- value: { type: 'number' },
933
- },
934
- required: ['time', 'value'],
935
- type: 'object',
936
- },
937
- pressure: {
938
- properties: {
939
- time: { type: 'string' },
940
- value: { type: 'number' },
941
- },
942
- required: ['time', 'value'],
943
- type: 'object',
944
- },
945
- sound: {
946
- properties: {
947
- time: { type: 'string' },
948
- value: { type: 'number' },
949
- },
950
- required: ['time', 'value'],
951
- type: 'object',
952
- },
953
- temperature: {
954
- properties: {
955
- time: { type: 'string' },
956
- value: { type: 'number' },
957
- },
958
- required: ['time', 'value'],
959
- type: 'object',
960
- },
961
- },
962
- required: [
963
- 'temperature',
964
- 'sound',
965
- 'humidity',
966
- 'pressure',
967
- 'accelerometer_z',
968
- ],
969
- type: 'object',
970
- },
738
+ has_active_endpoint: { type: 'boolean' },
971
739
  },
972
- required: [
973
- 'device_id',
974
- 'device_name',
975
- 'latest_sensor_values',
976
- ],
977
- type: 'object',
978
- },
979
- nest_metadata: {
980
- properties: {
981
- custom_name: { type: 'string' },
982
- device_name: { type: 'string' },
983
- nest_device_id: { type: 'string' },
984
- },
985
- required: [
986
- 'nest_device_id',
987
- 'device_name',
988
- 'custom_name',
989
- ],
990
- type: 'object',
991
- },
992
- noiseaware_metadata: {
993
- properties: {
994
- device_id: { type: 'string' },
995
- device_model: {
996
- enum: ['indoor', 'outdoor'],
997
- type: 'string',
998
- },
999
- device_name: { type: 'string' },
1000
- noise_level_decibel: { type: 'number' },
1001
- noise_level_nrs: { type: 'number' },
1002
- },
1003
- required: [
1004
- 'device_model',
1005
- 'noise_level_nrs',
1006
- 'noise_level_decibel',
1007
- 'device_name',
1008
- 'device_id',
1009
- ],
1010
- type: 'object',
1011
- },
1012
- nuki_metadata: {
1013
- properties: {
1014
- device_id: { type: 'string' },
1015
- device_name: { type: 'string' },
1016
- keypad_battery_critical: { type: 'boolean' },
1017
- },
1018
- required: ['device_id', 'device_name'],
1019
- type: 'object',
1020
- },
1021
- salto_metadata: {
1022
- properties: {
1023
- battery_level: { type: 'string' },
1024
- customer_reference: { type: 'string' },
1025
- lock_id: { type: 'string' },
1026
- lock_type: { type: 'string' },
1027
- locked_state: { type: 'string' },
1028
- model: { type: 'string' },
1029
- },
1030
- required: [
1031
- 'lock_id',
1032
- 'customer_reference',
1033
- 'lock_type',
1034
- 'battery_level',
1035
- 'locked_state',
1036
- ],
1037
- type: 'object',
1038
- },
1039
- schlage_metadata: {
1040
- properties: {
1041
- access_code_length: { type: 'number' },
1042
- device_id: { type: 'string' },
1043
- device_name: { type: 'string' },
1044
- model: { type: 'string' },
1045
- },
1046
- required: [
1047
- 'device_id',
1048
- 'device_name',
1049
- 'access_code_length',
1050
- ],
1051
- type: 'object',
1052
- },
1053
- seam_bridge_metadata: {
1054
- properties: {
1055
- device_num: { type: 'number' },
1056
- name: { type: 'string' },
1057
- unlock_method: {
1058
- enum: ['bridge', 'doorking'],
1059
- type: 'string',
1060
- },
1061
- },
1062
- required: ['device_num', 'name'],
1063
- type: 'object',
1064
- },
1065
- smartthings_metadata: {
1066
- properties: {
1067
- device_id: { type: 'string' },
1068
- device_name: { type: 'string' },
1069
- location_id: { type: 'string' },
1070
- model: { type: 'string' },
1071
- },
1072
- required: ['device_id', 'device_name'],
1073
- type: 'object',
1074
- },
1075
- ttlock_metadata: {
1076
- properties: {
1077
- lock_alias: { type: 'string' },
1078
- lock_id: { type: 'number' },
1079
- },
1080
- required: ['lock_id', 'lock_alias'],
1081
- type: 'object',
1082
- },
1083
- two_n_metadata: {
1084
- properties: {
1085
- device_id: { type: 'number' },
1086
- device_name: { type: 'string' },
1087
- },
1088
- required: ['device_id', 'device_name'],
1089
- type: 'object',
1090
- },
1091
- wyze_metadata: {
1092
- properties: {
1093
- device_id: { type: 'string' },
1094
- device_info_model: { type: 'string' },
1095
- device_name: { type: 'string' },
1096
- product_model: { type: 'string' },
1097
- product_name: { type: 'string' },
1098
- product_type: { type: 'string' },
1099
- },
1100
- required: [
1101
- 'device_id',
1102
- 'device_name',
1103
- 'product_name',
1104
- 'product_type',
1105
- 'product_model',
1106
- 'device_info_model',
1107
- ],
740
+ required: ['has_active_endpoint', 'endpoints'],
1108
741
  type: 'object',
1109
742
  },
1110
743
  },
@@ -1113,598 +746,861 @@ export default {
1113
746
  ],
1114
747
  },
1115
748
  {
1116
- allOf: [
1117
- {
749
+ properties: {
750
+ august_metadata: {
751
+ properties: {
752
+ has_keypad: { type: 'boolean' },
753
+ house_id: { type: 'string' },
754
+ house_name: { type: 'string' },
755
+ keypad_battery_level: { type: 'string' },
756
+ lock_id: { type: 'string' },
757
+ lock_name: { type: 'string' },
758
+ model: { type: 'string' },
759
+ },
760
+ required: [
761
+ 'lock_id',
762
+ 'lock_name',
763
+ 'house_name',
764
+ 'has_keypad',
765
+ ],
766
+ type: 'object',
767
+ },
768
+ avigilon_alta_metadata: {
1118
769
  properties: {
1119
- _experimental_supported_code_from_access_codes_lengths: { items: { type: 'number' }, type: 'array' },
1120
- code_constraints: {
770
+ entry_name: { type: 'string' },
771
+ org_name: { type: 'string' },
772
+ site_id: { type: 'number' },
773
+ site_name: { type: 'string' },
774
+ zone_id: { type: 'number' },
775
+ zone_name: { type: 'string' },
776
+ },
777
+ required: [
778
+ 'entry_name',
779
+ 'org_name',
780
+ 'zone_id',
781
+ 'zone_name',
782
+ 'site_id',
783
+ 'site_name',
784
+ ],
785
+ type: 'object',
786
+ },
787
+ brivo_metadata: {
788
+ properties: { device_name: { type: 'string' } },
789
+ required: ['device_name'],
790
+ type: 'object',
791
+ },
792
+ controlbyweb_metadata: {
793
+ properties: {
794
+ device_id: { type: 'string' },
795
+ device_name: { type: 'string' },
796
+ relay_name: { nullable: true, type: 'string' },
797
+ },
798
+ required: ['device_id', 'device_name', 'relay_name'],
799
+ type: 'object',
800
+ },
801
+ dormakaba_oracode_metadata: {
802
+ properties: {
803
+ device_id: { type: 'number' },
804
+ door_id: { type: 'number' },
805
+ door_name: { type: 'string' },
806
+ iana_timezone: { type: 'string' },
807
+ predefined_time_slots: {
1121
808
  items: {
1122
- oneOf: [
1123
- {
1124
- properties: {
1125
- constraint_type: {
1126
- enum: [
1127
- 'no_zeros',
1128
- 'cannot_start_with_12',
1129
- 'no_triple_consecutive_ints',
1130
- 'cannot_specify_pin_code',
1131
- 'pin_code_matches_existing_set',
1132
- 'start_date_in_future',
1133
- ],
1134
- type: 'string',
1135
- },
1136
- },
1137
- required: ['constraint_type'],
1138
- type: 'object',
809
+ properties: {
810
+ check_in_time: { type: 'string' },
811
+ check_out_time: { type: 'string' },
812
+ dormakaba_oracode_user_level_id: {
813
+ format: 'uuid',
814
+ type: 'string',
1139
815
  },
1140
- {
1141
- properties: {
1142
- constraint_type: {
1143
- enum: ['name_length'],
1144
- type: 'string',
1145
- },
1146
- max_length: { type: 'number' },
1147
- min_length: { type: 'number' },
1148
- },
1149
- required: ['constraint_type'],
1150
- type: 'object',
816
+ ext_dormakaba_oracode_user_level_prefix: {
817
+ type: 'number',
1151
818
  },
819
+ is_24_hour: { type: 'boolean' },
820
+ is_biweekly_mode: { type: 'boolean' },
821
+ is_master: { type: 'boolean' },
822
+ is_one_shot: { type: 'boolean' },
823
+ name: { type: 'string' },
824
+ prefix: { type: 'number' },
825
+ },
826
+ required: [
827
+ 'name',
828
+ 'prefix',
829
+ 'check_in_time',
830
+ 'check_out_time',
831
+ 'is_24_hour',
832
+ 'is_biweekly_mode',
833
+ 'is_one_shot',
834
+ 'is_master',
835
+ 'ext_dormakaba_oracode_user_level_prefix',
836
+ 'dormakaba_oracode_user_level_id',
1152
837
  ],
838
+ type: 'object',
1153
839
  },
1154
840
  type: 'array',
1155
841
  },
1156
- door_open: { type: 'boolean' },
1157
- has_native_entry_events: { type: 'boolean' },
1158
- keypad_battery: {
1159
- properties: { level: { type: 'number' } },
1160
- required: ['level'],
1161
- type: 'object',
1162
- },
1163
- locked: { type: 'boolean' },
1164
- max_active_codes_supported: { type: 'number' },
1165
- supported_code_lengths: {
1166
- items: { type: 'number' },
1167
- type: 'array',
1168
- },
1169
- supports_backup_access_code_pool: { type: 'boolean' },
842
+ site_id: { type: 'number' },
843
+ site_name: { type: 'string' },
1170
844
  },
845
+ required: [
846
+ 'door_id',
847
+ 'door_name',
848
+ 'site_id',
849
+ 'site_name',
850
+ ],
1171
851
  type: 'object',
1172
852
  },
1173
- {
1174
- oneOf: [
1175
- {
853
+ ecobee_metadata: {
854
+ properties: {
855
+ device_name: { type: 'string' },
856
+ ecobee_device_id: { type: 'string' },
857
+ },
858
+ required: ['ecobee_device_id', 'device_name'],
859
+ type: 'object',
860
+ },
861
+ four_suites_metadata: {
862
+ properties: {
863
+ device_id: { type: 'number' },
864
+ device_name: { type: 'string' },
865
+ reclose_delay_in_seconds: { type: 'number' },
866
+ },
867
+ required: [
868
+ 'device_id',
869
+ 'device_name',
870
+ 'reclose_delay_in_seconds',
871
+ ],
872
+ type: 'object',
873
+ },
874
+ genie_metadata: {
875
+ properties: {
876
+ device_name: { type: 'string' },
877
+ door_name: { type: 'string' },
878
+ },
879
+ required: ['device_name', 'door_name'],
880
+ type: 'object',
881
+ },
882
+ hubitat_metadata: {
883
+ properties: {
884
+ device_id: { type: 'string' },
885
+ device_label: { type: 'string' },
886
+ device_name: { type: 'string' },
887
+ },
888
+ required: ['device_id', 'device_name', 'device_label'],
889
+ type: 'object',
890
+ },
891
+ igloo_metadata: {
892
+ properties: {
893
+ bridge_id: { type: 'string' },
894
+ device_id: { type: 'string' },
895
+ model: { type: 'string' },
896
+ },
897
+ required: ['device_id', 'bridge_id'],
898
+ type: 'object',
899
+ },
900
+ igloohome_metadata: {
901
+ properties: {
902
+ bridge_id: { type: 'string' },
903
+ bridge_name: { type: 'string' },
904
+ device_id: { type: 'string' },
905
+ device_name: { type: 'string' },
906
+ },
907
+ required: ['device_id', 'device_name'],
908
+ type: 'object',
909
+ },
910
+ kwikset_metadata: {
911
+ properties: {
912
+ device_id: { type: 'string' },
913
+ device_name: { type: 'string' },
914
+ model_number: { type: 'string' },
915
+ },
916
+ required: ['device_id', 'device_name', 'model_number'],
917
+ type: 'object',
918
+ },
919
+ lockly_metadata: {
920
+ properties: {
921
+ device_id: { type: 'string' },
922
+ device_name: { type: 'string' },
923
+ model: { type: 'string' },
924
+ },
925
+ required: ['device_id', 'device_name'],
926
+ type: 'object',
927
+ },
928
+ minut_metadata: {
929
+ properties: {
930
+ device_id: { type: 'string' },
931
+ device_name: { type: 'string' },
932
+ latest_sensor_values: {
1176
933
  properties: {
1177
- active_climate_setting_schedule: {
934
+ accelerometer_z: {
1178
935
  properties: {
1179
- automatic_cooling_enabled: {
1180
- type: 'boolean',
1181
- },
1182
- automatic_heating_enabled: {
1183
- type: 'boolean',
1184
- },
1185
- climate_setting_schedule_id: {
1186
- format: 'uuid',
1187
- type: 'string',
1188
- },
1189
- cooling_set_point_celsius: { type: 'number' },
1190
- cooling_set_point_fahrenheit: {
1191
- type: 'number',
1192
- },
1193
- created_at: {
1194
- format: 'date-time',
1195
- type: 'string',
1196
- },
1197
- device_id: { type: 'string' },
1198
- errors: {
1199
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1200
- nullable: true,
1201
- },
1202
- heating_set_point_celsius: { type: 'number' },
1203
- heating_set_point_fahrenheit: {
1204
- type: 'number',
1205
- },
1206
- hvac_mode_setting: {
1207
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1208
- type: 'string',
1209
- },
1210
- manual_override_allowed: { type: 'boolean' },
1211
- name: { type: 'string' },
1212
- schedule_ends_at: { type: 'string' },
1213
- schedule_starts_at: { type: 'string' },
1214
- schedule_type: {
1215
- enum: ['time_bound'],
1216
- type: 'string',
1217
- },
936
+ time: { type: 'string' },
937
+ value: { type: 'number' },
1218
938
  },
1219
- required: [
1220
- 'climate_setting_schedule_id',
1221
- 'schedule_type',
1222
- 'device_id',
1223
- 'schedule_starts_at',
1224
- 'schedule_ends_at',
1225
- 'created_at',
1226
- ],
939
+ required: ['time', 'value'],
1227
940
  type: 'object',
1228
941
  },
1229
- available_hvac_mode_settings: {
1230
- items: {
1231
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1232
- type: 'string',
942
+ humidity: {
943
+ properties: {
944
+ time: { type: 'string' },
945
+ value: { type: 'number' },
1233
946
  },
1234
- type: 'array',
947
+ required: ['time', 'value'],
948
+ type: 'object',
1235
949
  },
1236
- can_enable_automatic_cooling: { type: 'boolean' },
1237
- can_enable_automatic_heating: { type: 'boolean' },
1238
- current_climate_setting: {
950
+ pressure: {
1239
951
  properties: {
1240
- automatic_cooling_enabled: {
1241
- type: 'boolean',
1242
- },
1243
- automatic_heating_enabled: {
1244
- type: 'boolean',
1245
- },
1246
- cooling_set_point_celsius: { type: 'number' },
1247
- cooling_set_point_fahrenheit: {
1248
- type: 'number',
1249
- },
1250
- heating_set_point_celsius: { type: 'number' },
1251
- heating_set_point_fahrenheit: {
1252
- type: 'number',
1253
- },
1254
- hvac_mode_setting: {
1255
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1256
- type: 'string',
1257
- },
1258
- manual_override_allowed: { type: 'boolean' },
952
+ time: { type: 'string' },
953
+ value: { type: 'number' },
1259
954
  },
1260
- required: [
1261
- 'automatic_heating_enabled',
1262
- 'automatic_cooling_enabled',
1263
- 'hvac_mode_setting',
1264
- 'manual_override_allowed',
1265
- ],
955
+ required: ['time', 'value'],
1266
956
  type: 'object',
1267
957
  },
1268
- default_climate_setting: {
958
+ sound: {
1269
959
  properties: {
1270
- automatic_cooling_enabled: {
1271
- type: 'boolean',
1272
- },
1273
- automatic_heating_enabled: {
1274
- type: 'boolean',
1275
- },
1276
- cooling_set_point_celsius: { type: 'number' },
1277
- cooling_set_point_fahrenheit: {
1278
- type: 'number',
1279
- },
1280
- heating_set_point_celsius: { type: 'number' },
1281
- heating_set_point_fahrenheit: {
1282
- type: 'number',
1283
- },
1284
- hvac_mode_setting: {
1285
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1286
- type: 'string',
1287
- },
1288
- manual_override_allowed: { type: 'boolean' },
960
+ time: { type: 'string' },
961
+ value: { type: 'number' },
1289
962
  },
1290
- required: [
1291
- 'automatic_heating_enabled',
1292
- 'automatic_cooling_enabled',
1293
- 'hvac_mode_setting',
1294
- 'manual_override_allowed',
1295
- ],
963
+ required: ['time', 'value'],
1296
964
  type: 'object',
1297
965
  },
1298
- fan_mode_setting: {
1299
- enum: ['auto', 'on'],
1300
- type: 'string',
1301
- },
1302
- is_climate_setting_schedule_active: {
1303
- type: 'boolean',
1304
- },
1305
- is_cooling: { type: 'boolean' },
1306
- is_cooling_available: {
1307
- enum: [true],
1308
- type: 'boolean',
1309
- },
1310
- is_fan_running: { type: 'boolean' },
1311
- is_heating: { type: 'boolean' },
1312
- is_heating_available: {
1313
- enum: [true],
1314
- type: 'boolean',
1315
- },
1316
- is_temporary_manual_override_active: {
1317
- type: 'boolean',
1318
- },
1319
- max_cooling_set_point_celsius: { type: 'number' },
1320
- max_cooling_set_point_fahrenheit: {
1321
- type: 'number',
1322
- },
1323
- max_heating_set_point_celsius: { type: 'number' },
1324
- max_heating_set_point_fahrenheit: {
1325
- type: 'number',
1326
- },
1327
- min_cooling_set_point_celsius: { type: 'number' },
1328
- min_cooling_set_point_fahrenheit: {
1329
- type: 'number',
1330
- },
1331
- min_heating_cooling_delta_celsius: {
1332
- type: 'number',
1333
- },
1334
- min_heating_cooling_delta_fahrenheit: {
1335
- type: 'number',
1336
- },
1337
- min_heating_set_point_celsius: { type: 'number' },
1338
- min_heating_set_point_fahrenheit: {
1339
- type: 'number',
1340
- },
1341
- relative_humidity: {
1342
- maximum: 1,
1343
- minimum: 0,
1344
- type: 'number',
1345
- },
1346
- temperature_celsius: { type: 'number' },
1347
- temperature_fahrenheit: { type: 'number' },
1348
- },
1349
- type: 'object',
1350
- },
1351
- {
1352
- properties: {
1353
- active_climate_setting_schedule: {
966
+ temperature: {
1354
967
  properties: {
1355
- automatic_cooling_enabled: {
1356
- type: 'boolean',
1357
- },
1358
- automatic_heating_enabled: {
1359
- type: 'boolean',
1360
- },
1361
- climate_setting_schedule_id: {
1362
- format: 'uuid',
1363
- type: 'string',
1364
- },
1365
- cooling_set_point_celsius: { type: 'number' },
1366
- cooling_set_point_fahrenheit: {
1367
- type: 'number',
1368
- },
1369
- created_at: {
1370
- format: 'date-time',
1371
- type: 'string',
1372
- },
1373
- device_id: { type: 'string' },
1374
- errors: {
1375
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1376
- nullable: true,
1377
- },
1378
- heating_set_point_celsius: { type: 'number' },
1379
- heating_set_point_fahrenheit: {
1380
- type: 'number',
1381
- },
1382
- hvac_mode_setting: {
1383
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1384
- type: 'string',
1385
- },
1386
- manual_override_allowed: { type: 'boolean' },
1387
- name: { type: 'string' },
1388
- schedule_ends_at: { type: 'string' },
1389
- schedule_starts_at: { type: 'string' },
1390
- schedule_type: {
1391
- enum: ['time_bound'],
1392
- type: 'string',
1393
- },
968
+ time: { type: 'string' },
969
+ value: { type: 'number' },
1394
970
  },
1395
- required: [
1396
- 'climate_setting_schedule_id',
1397
- 'schedule_type',
1398
- 'device_id',
1399
- 'schedule_starts_at',
1400
- 'schedule_ends_at',
1401
- 'created_at',
1402
- ],
971
+ required: ['time', 'value'],
1403
972
  type: 'object',
1404
973
  },
1405
- available_hvac_mode_settings: {
1406
- items: {
1407
- enum: ['off', 'heat', 'cool', 'heat_cool'],
974
+ },
975
+ required: [
976
+ 'temperature',
977
+ 'sound',
978
+ 'humidity',
979
+ 'pressure',
980
+ 'accelerometer_z',
981
+ ],
982
+ type: 'object',
983
+ },
984
+ },
985
+ required: [
986
+ 'device_id',
987
+ 'device_name',
988
+ 'latest_sensor_values',
989
+ ],
990
+ type: 'object',
991
+ },
992
+ nest_metadata: {
993
+ properties: {
994
+ custom_name: { type: 'string' },
995
+ device_name: { type: 'string' },
996
+ nest_device_id: { type: 'string' },
997
+ },
998
+ required: [
999
+ 'nest_device_id',
1000
+ 'device_name',
1001
+ 'custom_name',
1002
+ ],
1003
+ type: 'object',
1004
+ },
1005
+ noiseaware_metadata: {
1006
+ properties: {
1007
+ device_id: { type: 'string' },
1008
+ device_model: {
1009
+ enum: ['indoor', 'outdoor'],
1010
+ type: 'string',
1011
+ },
1012
+ device_name: { type: 'string' },
1013
+ noise_level_decibel: { type: 'number' },
1014
+ noise_level_nrs: { type: 'number' },
1015
+ },
1016
+ required: [
1017
+ 'device_model',
1018
+ 'noise_level_nrs',
1019
+ 'noise_level_decibel',
1020
+ 'device_name',
1021
+ 'device_id',
1022
+ ],
1023
+ type: 'object',
1024
+ },
1025
+ nuki_metadata: {
1026
+ properties: {
1027
+ device_id: { type: 'string' },
1028
+ device_name: { type: 'string' },
1029
+ keypad_battery_critical: { type: 'boolean' },
1030
+ },
1031
+ required: ['device_id', 'device_name'],
1032
+ type: 'object',
1033
+ },
1034
+ salto_metadata: {
1035
+ properties: {
1036
+ battery_level: { type: 'string' },
1037
+ customer_reference: { type: 'string' },
1038
+ lock_id: { type: 'string' },
1039
+ lock_type: { type: 'string' },
1040
+ locked_state: { type: 'string' },
1041
+ model: { type: 'string' },
1042
+ },
1043
+ required: [
1044
+ 'lock_id',
1045
+ 'customer_reference',
1046
+ 'lock_type',
1047
+ 'battery_level',
1048
+ 'locked_state',
1049
+ ],
1050
+ type: 'object',
1051
+ },
1052
+ schlage_metadata: {
1053
+ properties: {
1054
+ access_code_length: { type: 'number' },
1055
+ device_id: { type: 'string' },
1056
+ device_name: { type: 'string' },
1057
+ model: { type: 'string' },
1058
+ },
1059
+ required: [
1060
+ 'device_id',
1061
+ 'device_name',
1062
+ 'access_code_length',
1063
+ ],
1064
+ type: 'object',
1065
+ },
1066
+ seam_bridge_metadata: {
1067
+ properties: {
1068
+ device_num: { type: 'number' },
1069
+ name: { type: 'string' },
1070
+ unlock_method: {
1071
+ enum: ['bridge', 'doorking'],
1072
+ type: 'string',
1073
+ },
1074
+ },
1075
+ required: ['device_num', 'name'],
1076
+ type: 'object',
1077
+ },
1078
+ smartthings_metadata: {
1079
+ properties: {
1080
+ device_id: { type: 'string' },
1081
+ device_name: { type: 'string' },
1082
+ location_id: { type: 'string' },
1083
+ model: { type: 'string' },
1084
+ },
1085
+ required: ['device_id', 'device_name'],
1086
+ type: 'object',
1087
+ },
1088
+ ttlock_metadata: {
1089
+ properties: {
1090
+ lock_alias: { type: 'string' },
1091
+ lock_id: { type: 'number' },
1092
+ },
1093
+ required: ['lock_id', 'lock_alias'],
1094
+ type: 'object',
1095
+ },
1096
+ two_n_metadata: {
1097
+ properties: {
1098
+ device_id: { type: 'number' },
1099
+ device_name: { type: 'string' },
1100
+ },
1101
+ required: ['device_id', 'device_name'],
1102
+ type: 'object',
1103
+ },
1104
+ wyze_metadata: {
1105
+ properties: {
1106
+ device_id: { type: 'string' },
1107
+ device_info_model: { type: 'string' },
1108
+ device_name: { type: 'string' },
1109
+ product_model: { type: 'string' },
1110
+ product_name: { type: 'string' },
1111
+ product_type: { type: 'string' },
1112
+ },
1113
+ required: [
1114
+ 'device_id',
1115
+ 'device_name',
1116
+ 'product_name',
1117
+ 'product_type',
1118
+ 'product_model',
1119
+ 'device_info_model',
1120
+ ],
1121
+ type: 'object',
1122
+ },
1123
+ },
1124
+ type: 'object',
1125
+ },
1126
+ ],
1127
+ },
1128
+ {
1129
+ allOf: [
1130
+ {
1131
+ properties: {
1132
+ _experimental_supported_code_from_access_codes_lengths: {
1133
+ items: { type: 'number' },
1134
+ type: 'array',
1135
+ },
1136
+ code_constraints: {
1137
+ items: {
1138
+ oneOf: [
1139
+ {
1140
+ properties: {
1141
+ constraint_type: {
1142
+ enum: [
1143
+ 'no_zeros',
1144
+ 'cannot_start_with_12',
1145
+ 'no_triple_consecutive_ints',
1146
+ 'cannot_specify_pin_code',
1147
+ 'pin_code_matches_existing_set',
1148
+ 'start_date_in_future',
1149
+ ],
1408
1150
  type: 'string',
1409
1151
  },
1410
- type: 'array',
1411
1152
  },
1412
- can_enable_automatic_cooling: { type: 'boolean' },
1413
- can_enable_automatic_heating: { type: 'boolean' },
1414
- current_climate_setting: {
1415
- properties: {
1416
- automatic_cooling_enabled: {
1417
- type: 'boolean',
1418
- },
1419
- automatic_heating_enabled: {
1420
- type: 'boolean',
1421
- },
1422
- cooling_set_point_celsius: { type: 'number' },
1423
- cooling_set_point_fahrenheit: {
1424
- type: 'number',
1425
- },
1426
- heating_set_point_celsius: { type: 'number' },
1427
- heating_set_point_fahrenheit: {
1428
- type: 'number',
1429
- },
1430
- hvac_mode_setting: {
1431
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1432
- type: 'string',
1433
- },
1434
- manual_override_allowed: { type: 'boolean' },
1435
- },
1436
- required: [
1437
- 'automatic_heating_enabled',
1438
- 'automatic_cooling_enabled',
1439
- 'hvac_mode_setting',
1440
- 'manual_override_allowed',
1441
- ],
1442
- type: 'object',
1443
- },
1444
- default_climate_setting: {
1445
- properties: {
1446
- automatic_cooling_enabled: {
1447
- type: 'boolean',
1448
- },
1449
- automatic_heating_enabled: {
1450
- type: 'boolean',
1451
- },
1452
- cooling_set_point_celsius: { type: 'number' },
1453
- cooling_set_point_fahrenheit: {
1454
- type: 'number',
1455
- },
1456
- heating_set_point_celsius: { type: 'number' },
1457
- heating_set_point_fahrenheit: {
1458
- type: 'number',
1459
- },
1460
- hvac_mode_setting: {
1461
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1462
- type: 'string',
1463
- },
1464
- manual_override_allowed: { type: 'boolean' },
1153
+ required: ['constraint_type'],
1154
+ type: 'object',
1155
+ },
1156
+ {
1157
+ properties: {
1158
+ constraint_type: {
1159
+ enum: ['name_length'],
1160
+ type: 'string',
1465
1161
  },
1466
- required: [
1467
- 'automatic_heating_enabled',
1468
- 'automatic_cooling_enabled',
1469
- 'hvac_mode_setting',
1470
- 'manual_override_allowed',
1471
- ],
1472
- type: 'object',
1162
+ max_length: { type: 'number' },
1163
+ min_length: { type: 'number' },
1473
1164
  },
1474
- fan_mode_setting: {
1475
- enum: ['auto', 'on'],
1165
+ required: ['constraint_type'],
1166
+ type: 'object',
1167
+ },
1168
+ ],
1169
+ },
1170
+ type: 'array',
1171
+ },
1172
+ door_open: { type: 'boolean' },
1173
+ has_native_entry_events: { type: 'boolean' },
1174
+ keypad_battery: {
1175
+ properties: { level: { type: 'number' } },
1176
+ required: ['level'],
1177
+ type: 'object',
1178
+ },
1179
+ locked: { type: 'boolean' },
1180
+ max_active_codes_supported: { type: 'number' },
1181
+ supported_code_lengths: {
1182
+ items: { type: 'number' },
1183
+ type: 'array',
1184
+ },
1185
+ supports_backup_access_code_pool: { type: 'boolean' },
1186
+ },
1187
+ type: 'object',
1188
+ },
1189
+ {
1190
+ oneOf: [
1191
+ {
1192
+ properties: {
1193
+ active_climate_setting_schedule: {
1194
+ properties: {
1195
+ automatic_cooling_enabled: { type: 'boolean' },
1196
+ automatic_heating_enabled: { type: 'boolean' },
1197
+ climate_setting_schedule_id: {
1198
+ format: 'uuid',
1476
1199
  type: 'string',
1477
1200
  },
1478
- is_climate_setting_schedule_active: {
1479
- type: 'boolean',
1480
- },
1481
- is_cooling: { type: 'boolean' },
1482
- is_cooling_available: {
1483
- enum: [false],
1484
- type: 'boolean',
1201
+ cooling_set_point_celsius: { type: 'number' },
1202
+ cooling_set_point_fahrenheit: { type: 'number' },
1203
+ created_at: {
1204
+ format: 'date-time',
1205
+ type: 'string',
1485
1206
  },
1486
- is_fan_running: { type: 'boolean' },
1487
- is_heating: { type: 'boolean' },
1488
- is_heating_available: {
1489
- enum: [true],
1490
- type: 'boolean',
1207
+ device_id: { type: 'string' },
1208
+ errors: {
1209
+ description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1210
+ nullable: true,
1491
1211
  },
1492
- is_temporary_manual_override_active: {
1493
- type: 'boolean',
1212
+ heating_set_point_celsius: { type: 'number' },
1213
+ heating_set_point_fahrenheit: { type: 'number' },
1214
+ hvac_mode_setting: {
1215
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1216
+ type: 'string',
1494
1217
  },
1495
- max_heating_set_point_celsius: { type: 'number' },
1496
- max_heating_set_point_fahrenheit: {
1497
- type: 'number',
1218
+ manual_override_allowed: { type: 'boolean' },
1219
+ name: { type: 'string' },
1220
+ schedule_ends_at: { type: 'string' },
1221
+ schedule_starts_at: { type: 'string' },
1222
+ schedule_type: {
1223
+ enum: ['time_bound'],
1224
+ type: 'string',
1498
1225
  },
1499
- min_heating_set_point_celsius: { type: 'number' },
1500
- min_heating_set_point_fahrenheit: {
1501
- type: 'number',
1226
+ },
1227
+ required: [
1228
+ 'climate_setting_schedule_id',
1229
+ 'schedule_type',
1230
+ 'device_id',
1231
+ 'schedule_starts_at',
1232
+ 'schedule_ends_at',
1233
+ 'created_at',
1234
+ ],
1235
+ type: 'object',
1236
+ },
1237
+ available_hvac_mode_settings: {
1238
+ items: {
1239
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1240
+ type: 'string',
1241
+ },
1242
+ type: 'array',
1243
+ },
1244
+ can_enable_automatic_cooling: { type: 'boolean' },
1245
+ can_enable_automatic_heating: { type: 'boolean' },
1246
+ current_climate_setting: {
1247
+ properties: {
1248
+ automatic_cooling_enabled: { type: 'boolean' },
1249
+ automatic_heating_enabled: { type: 'boolean' },
1250
+ cooling_set_point_celsius: { type: 'number' },
1251
+ cooling_set_point_fahrenheit: { type: 'number' },
1252
+ heating_set_point_celsius: { type: 'number' },
1253
+ heating_set_point_fahrenheit: { type: 'number' },
1254
+ hvac_mode_setting: {
1255
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1256
+ type: 'string',
1502
1257
  },
1503
- relative_humidity: {
1504
- maximum: 1,
1505
- minimum: 0,
1506
- type: 'number',
1258
+ manual_override_allowed: { type: 'boolean' },
1259
+ },
1260
+ required: [
1261
+ 'automatic_heating_enabled',
1262
+ 'automatic_cooling_enabled',
1263
+ 'hvac_mode_setting',
1264
+ 'manual_override_allowed',
1265
+ ],
1266
+ type: 'object',
1267
+ },
1268
+ default_climate_setting: {
1269
+ properties: {
1270
+ automatic_cooling_enabled: { type: 'boolean' },
1271
+ automatic_heating_enabled: { type: 'boolean' },
1272
+ cooling_set_point_celsius: { type: 'number' },
1273
+ cooling_set_point_fahrenheit: { type: 'number' },
1274
+ heating_set_point_celsius: { type: 'number' },
1275
+ heating_set_point_fahrenheit: { type: 'number' },
1276
+ hvac_mode_setting: {
1277
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1278
+ type: 'string',
1507
1279
  },
1508
- temperature_celsius: { type: 'number' },
1509
- temperature_fahrenheit: { type: 'number' },
1280
+ manual_override_allowed: { type: 'boolean' },
1510
1281
  },
1282
+ required: [
1283
+ 'automatic_heating_enabled',
1284
+ 'automatic_cooling_enabled',
1285
+ 'hvac_mode_setting',
1286
+ 'manual_override_allowed',
1287
+ ],
1511
1288
  type: 'object',
1512
1289
  },
1513
- {
1290
+ fan_mode_setting: {
1291
+ enum: ['auto', 'on'],
1292
+ type: 'string',
1293
+ },
1294
+ is_climate_setting_schedule_active: {
1295
+ type: 'boolean',
1296
+ },
1297
+ is_cooling: { type: 'boolean' },
1298
+ is_cooling_available: {
1299
+ enum: [true],
1300
+ type: 'boolean',
1301
+ },
1302
+ is_fan_running: { type: 'boolean' },
1303
+ is_heating: { type: 'boolean' },
1304
+ is_heating_available: {
1305
+ enum: [true],
1306
+ type: 'boolean',
1307
+ },
1308
+ is_temporary_manual_override_active: {
1309
+ type: 'boolean',
1310
+ },
1311
+ max_cooling_set_point_celsius: { type: 'number' },
1312
+ max_cooling_set_point_fahrenheit: { type: 'number' },
1313
+ max_heating_set_point_celsius: { type: 'number' },
1314
+ max_heating_set_point_fahrenheit: { type: 'number' },
1315
+ min_cooling_set_point_celsius: { type: 'number' },
1316
+ min_cooling_set_point_fahrenheit: { type: 'number' },
1317
+ min_heating_cooling_delta_celsius: { type: 'number' },
1318
+ min_heating_cooling_delta_fahrenheit: {
1319
+ type: 'number',
1320
+ },
1321
+ min_heating_set_point_celsius: { type: 'number' },
1322
+ min_heating_set_point_fahrenheit: { type: 'number' },
1323
+ relative_humidity: {
1324
+ maximum: 1,
1325
+ minimum: 0,
1326
+ type: 'number',
1327
+ },
1328
+ temperature_celsius: { type: 'number' },
1329
+ temperature_fahrenheit: { type: 'number' },
1330
+ },
1331
+ type: 'object',
1332
+ },
1333
+ {
1334
+ properties: {
1335
+ active_climate_setting_schedule: {
1514
1336
  properties: {
1515
- active_climate_setting_schedule: {
1516
- properties: {
1517
- automatic_cooling_enabled: {
1518
- type: 'boolean',
1519
- },
1520
- automatic_heating_enabled: {
1521
- type: 'boolean',
1522
- },
1523
- climate_setting_schedule_id: {
1524
- format: 'uuid',
1525
- type: 'string',
1526
- },
1527
- cooling_set_point_celsius: { type: 'number' },
1528
- cooling_set_point_fahrenheit: {
1529
- type: 'number',
1530
- },
1531
- created_at: {
1532
- format: 'date-time',
1533
- type: 'string',
1534
- },
1535
- device_id: { type: 'string' },
1536
- errors: {
1537
- description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1538
- nullable: true,
1539
- },
1540
- heating_set_point_celsius: { type: 'number' },
1541
- heating_set_point_fahrenheit: {
1542
- type: 'number',
1543
- },
1544
- hvac_mode_setting: {
1545
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1546
- type: 'string',
1547
- },
1548
- manual_override_allowed: { type: 'boolean' },
1549
- name: { type: 'string' },
1550
- schedule_ends_at: { type: 'string' },
1551
- schedule_starts_at: { type: 'string' },
1552
- schedule_type: {
1553
- enum: ['time_bound'],
1554
- type: 'string',
1555
- },
1556
- },
1557
- required: [
1558
- 'climate_setting_schedule_id',
1559
- 'schedule_type',
1560
- 'device_id',
1561
- 'schedule_starts_at',
1562
- 'schedule_ends_at',
1563
- 'created_at',
1564
- ],
1565
- type: 'object',
1337
+ automatic_cooling_enabled: { type: 'boolean' },
1338
+ automatic_heating_enabled: { type: 'boolean' },
1339
+ climate_setting_schedule_id: {
1340
+ format: 'uuid',
1341
+ type: 'string',
1566
1342
  },
1567
- available_hvac_mode_settings: {
1568
- items: {
1569
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1570
- type: 'string',
1571
- },
1572
- type: 'array',
1343
+ cooling_set_point_celsius: { type: 'number' },
1344
+ cooling_set_point_fahrenheit: { type: 'number' },
1345
+ created_at: {
1346
+ format: 'date-time',
1347
+ type: 'string',
1573
1348
  },
1574
- can_enable_automatic_cooling: { type: 'boolean' },
1575
- can_enable_automatic_heating: { type: 'boolean' },
1576
- current_climate_setting: {
1577
- properties: {
1578
- automatic_cooling_enabled: {
1579
- type: 'boolean',
1580
- },
1581
- automatic_heating_enabled: {
1582
- type: 'boolean',
1583
- },
1584
- cooling_set_point_celsius: { type: 'number' },
1585
- cooling_set_point_fahrenheit: {
1586
- type: 'number',
1587
- },
1588
- heating_set_point_celsius: { type: 'number' },
1589
- heating_set_point_fahrenheit: {
1590
- type: 'number',
1591
- },
1592
- hvac_mode_setting: {
1593
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1594
- type: 'string',
1595
- },
1596
- manual_override_allowed: { type: 'boolean' },
1597
- },
1598
- required: [
1599
- 'automatic_heating_enabled',
1600
- 'automatic_cooling_enabled',
1601
- 'hvac_mode_setting',
1602
- 'manual_override_allowed',
1603
- ],
1604
- type: 'object',
1349
+ device_id: { type: 'string' },
1350
+ errors: {
1351
+ description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1352
+ nullable: true,
1605
1353
  },
1606
- default_climate_setting: {
1607
- properties: {
1608
- automatic_cooling_enabled: {
1609
- type: 'boolean',
1610
- },
1611
- automatic_heating_enabled: {
1612
- type: 'boolean',
1613
- },
1614
- cooling_set_point_celsius: { type: 'number' },
1615
- cooling_set_point_fahrenheit: {
1616
- type: 'number',
1617
- },
1618
- heating_set_point_celsius: { type: 'number' },
1619
- heating_set_point_fahrenheit: {
1620
- type: 'number',
1621
- },
1622
- hvac_mode_setting: {
1623
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1624
- type: 'string',
1625
- },
1626
- manual_override_allowed: { type: 'boolean' },
1627
- },
1628
- required: [
1629
- 'automatic_heating_enabled',
1630
- 'automatic_cooling_enabled',
1631
- 'hvac_mode_setting',
1632
- 'manual_override_allowed',
1633
- ],
1634
- type: 'object',
1354
+ heating_set_point_celsius: { type: 'number' },
1355
+ heating_set_point_fahrenheit: { type: 'number' },
1356
+ hvac_mode_setting: {
1357
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1358
+ type: 'string',
1635
1359
  },
1636
- fan_mode_setting: {
1637
- enum: ['auto', 'on'],
1360
+ manual_override_allowed: { type: 'boolean' },
1361
+ name: { type: 'string' },
1362
+ schedule_ends_at: { type: 'string' },
1363
+ schedule_starts_at: { type: 'string' },
1364
+ schedule_type: {
1365
+ enum: ['time_bound'],
1638
1366
  type: 'string',
1639
1367
  },
1640
- is_climate_setting_schedule_active: {
1641
- type: 'boolean',
1368
+ },
1369
+ required: [
1370
+ 'climate_setting_schedule_id',
1371
+ 'schedule_type',
1372
+ 'device_id',
1373
+ 'schedule_starts_at',
1374
+ 'schedule_ends_at',
1375
+ 'created_at',
1376
+ ],
1377
+ type: 'object',
1378
+ },
1379
+ available_hvac_mode_settings: {
1380
+ items: {
1381
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1382
+ type: 'string',
1383
+ },
1384
+ type: 'array',
1385
+ },
1386
+ can_enable_automatic_cooling: { type: 'boolean' },
1387
+ can_enable_automatic_heating: { type: 'boolean' },
1388
+ current_climate_setting: {
1389
+ properties: {
1390
+ automatic_cooling_enabled: { type: 'boolean' },
1391
+ automatic_heating_enabled: { type: 'boolean' },
1392
+ cooling_set_point_celsius: { type: 'number' },
1393
+ cooling_set_point_fahrenheit: { type: 'number' },
1394
+ heating_set_point_celsius: { type: 'number' },
1395
+ heating_set_point_fahrenheit: { type: 'number' },
1396
+ hvac_mode_setting: {
1397
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1398
+ type: 'string',
1642
1399
  },
1643
- is_cooling: { type: 'boolean' },
1644
- is_cooling_available: {
1645
- enum: [true],
1646
- type: 'boolean',
1400
+ manual_override_allowed: { type: 'boolean' },
1401
+ },
1402
+ required: [
1403
+ 'automatic_heating_enabled',
1404
+ 'automatic_cooling_enabled',
1405
+ 'hvac_mode_setting',
1406
+ 'manual_override_allowed',
1407
+ ],
1408
+ type: 'object',
1409
+ },
1410
+ default_climate_setting: {
1411
+ properties: {
1412
+ automatic_cooling_enabled: { type: 'boolean' },
1413
+ automatic_heating_enabled: { type: 'boolean' },
1414
+ cooling_set_point_celsius: { type: 'number' },
1415
+ cooling_set_point_fahrenheit: { type: 'number' },
1416
+ heating_set_point_celsius: { type: 'number' },
1417
+ heating_set_point_fahrenheit: { type: 'number' },
1418
+ hvac_mode_setting: {
1419
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1420
+ type: 'string',
1647
1421
  },
1648
- is_fan_running: { type: 'boolean' },
1649
- is_heating: { type: 'boolean' },
1650
- is_heating_available: {
1651
- enum: [false],
1652
- type: 'boolean',
1422
+ manual_override_allowed: { type: 'boolean' },
1423
+ },
1424
+ required: [
1425
+ 'automatic_heating_enabled',
1426
+ 'automatic_cooling_enabled',
1427
+ 'hvac_mode_setting',
1428
+ 'manual_override_allowed',
1429
+ ],
1430
+ type: 'object',
1431
+ },
1432
+ fan_mode_setting: {
1433
+ enum: ['auto', 'on'],
1434
+ type: 'string',
1435
+ },
1436
+ is_climate_setting_schedule_active: {
1437
+ type: 'boolean',
1438
+ },
1439
+ is_cooling: { type: 'boolean' },
1440
+ is_cooling_available: {
1441
+ enum: [false],
1442
+ type: 'boolean',
1443
+ },
1444
+ is_fan_running: { type: 'boolean' },
1445
+ is_heating: { type: 'boolean' },
1446
+ is_heating_available: {
1447
+ enum: [true],
1448
+ type: 'boolean',
1449
+ },
1450
+ is_temporary_manual_override_active: {
1451
+ type: 'boolean',
1452
+ },
1453
+ max_heating_set_point_celsius: { type: 'number' },
1454
+ max_heating_set_point_fahrenheit: { type: 'number' },
1455
+ min_heating_set_point_celsius: { type: 'number' },
1456
+ min_heating_set_point_fahrenheit: { type: 'number' },
1457
+ relative_humidity: {
1458
+ maximum: 1,
1459
+ minimum: 0,
1460
+ type: 'number',
1461
+ },
1462
+ temperature_celsius: { type: 'number' },
1463
+ temperature_fahrenheit: { type: 'number' },
1464
+ },
1465
+ type: 'object',
1466
+ },
1467
+ {
1468
+ properties: {
1469
+ active_climate_setting_schedule: {
1470
+ properties: {
1471
+ automatic_cooling_enabled: { type: 'boolean' },
1472
+ automatic_heating_enabled: { type: 'boolean' },
1473
+ climate_setting_schedule_id: {
1474
+ format: 'uuid',
1475
+ type: 'string',
1653
1476
  },
1654
- is_temporary_manual_override_active: {
1655
- type: 'boolean',
1477
+ cooling_set_point_celsius: { type: 'number' },
1478
+ cooling_set_point_fahrenheit: { type: 'number' },
1479
+ created_at: {
1480
+ format: 'date-time',
1481
+ type: 'string',
1656
1482
  },
1657
- max_cooling_set_point_celsius: { type: 'number' },
1658
- max_cooling_set_point_fahrenheit: {
1659
- type: 'number',
1483
+ device_id: { type: 'string' },
1484
+ errors: {
1485
+ description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1486
+ nullable: true,
1660
1487
  },
1661
- min_cooling_set_point_celsius: { type: 'number' },
1662
- min_cooling_set_point_fahrenheit: {
1663
- type: 'number',
1488
+ heating_set_point_celsius: { type: 'number' },
1489
+ heating_set_point_fahrenheit: { type: 'number' },
1490
+ hvac_mode_setting: {
1491
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1492
+ type: 'string',
1664
1493
  },
1665
- relative_humidity: {
1666
- maximum: 1,
1667
- minimum: 0,
1668
- type: 'number',
1494
+ manual_override_allowed: { type: 'boolean' },
1495
+ name: { type: 'string' },
1496
+ schedule_ends_at: { type: 'string' },
1497
+ schedule_starts_at: { type: 'string' },
1498
+ schedule_type: {
1499
+ enum: ['time_bound'],
1500
+ type: 'string',
1669
1501
  },
1670
- temperature_celsius: { type: 'number' },
1671
- temperature_fahrenheit: { type: 'number' },
1672
1502
  },
1503
+ required: [
1504
+ 'climate_setting_schedule_id',
1505
+ 'schedule_type',
1506
+ 'device_id',
1507
+ 'schedule_starts_at',
1508
+ 'schedule_ends_at',
1509
+ 'created_at',
1510
+ ],
1673
1511
  type: 'object',
1674
1512
  },
1675
- ],
1676
- },
1677
- ],
1678
- },
1679
- ],
1680
- },
1681
- {
1682
- properties: {
1683
- properties: {
1684
- properties: {
1685
- assa_abloy_credential_service_metadata: {
1686
- properties: {
1687
- endpoints: {
1513
+ available_hvac_mode_settings: {
1688
1514
  items: {
1689
- properties: {
1690
- endpoint_id: { type: 'string' },
1691
- is_active: { type: 'boolean' },
1692
- },
1693
- required: ['endpoint_id', 'is_active'],
1694
- type: 'object',
1515
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1516
+ type: 'string',
1695
1517
  },
1696
1518
  type: 'array',
1697
1519
  },
1698
- has_active_endpoint: { type: 'boolean' },
1520
+ can_enable_automatic_cooling: { type: 'boolean' },
1521
+ can_enable_automatic_heating: { type: 'boolean' },
1522
+ current_climate_setting: {
1523
+ properties: {
1524
+ automatic_cooling_enabled: { type: 'boolean' },
1525
+ automatic_heating_enabled: { type: 'boolean' },
1526
+ cooling_set_point_celsius: { type: 'number' },
1527
+ cooling_set_point_fahrenheit: { type: 'number' },
1528
+ heating_set_point_celsius: { type: 'number' },
1529
+ heating_set_point_fahrenheit: { type: 'number' },
1530
+ hvac_mode_setting: {
1531
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1532
+ type: 'string',
1533
+ },
1534
+ manual_override_allowed: { type: 'boolean' },
1535
+ },
1536
+ required: [
1537
+ 'automatic_heating_enabled',
1538
+ 'automatic_cooling_enabled',
1539
+ 'hvac_mode_setting',
1540
+ 'manual_override_allowed',
1541
+ ],
1542
+ type: 'object',
1543
+ },
1544
+ default_climate_setting: {
1545
+ properties: {
1546
+ automatic_cooling_enabled: { type: 'boolean' },
1547
+ automatic_heating_enabled: { type: 'boolean' },
1548
+ cooling_set_point_celsius: { type: 'number' },
1549
+ cooling_set_point_fahrenheit: { type: 'number' },
1550
+ heating_set_point_celsius: { type: 'number' },
1551
+ heating_set_point_fahrenheit: { type: 'number' },
1552
+ hvac_mode_setting: {
1553
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1554
+ type: 'string',
1555
+ },
1556
+ manual_override_allowed: { type: 'boolean' },
1557
+ },
1558
+ required: [
1559
+ 'automatic_heating_enabled',
1560
+ 'automatic_cooling_enabled',
1561
+ 'hvac_mode_setting',
1562
+ 'manual_override_allowed',
1563
+ ],
1564
+ type: 'object',
1565
+ },
1566
+ fan_mode_setting: {
1567
+ enum: ['auto', 'on'],
1568
+ type: 'string',
1569
+ },
1570
+ is_climate_setting_schedule_active: {
1571
+ type: 'boolean',
1572
+ },
1573
+ is_cooling: { type: 'boolean' },
1574
+ is_cooling_available: {
1575
+ enum: [true],
1576
+ type: 'boolean',
1577
+ },
1578
+ is_fan_running: { type: 'boolean' },
1579
+ is_heating: { type: 'boolean' },
1580
+ is_heating_available: {
1581
+ enum: [false],
1582
+ type: 'boolean',
1583
+ },
1584
+ is_temporary_manual_override_active: {
1585
+ type: 'boolean',
1586
+ },
1587
+ max_cooling_set_point_celsius: { type: 'number' },
1588
+ max_cooling_set_point_fahrenheit: { type: 'number' },
1589
+ min_cooling_set_point_celsius: { type: 'number' },
1590
+ min_cooling_set_point_fahrenheit: { type: 'number' },
1591
+ relative_humidity: {
1592
+ maximum: 1,
1593
+ minimum: 0,
1594
+ type: 'number',
1595
+ },
1596
+ temperature_celsius: { type: 'number' },
1597
+ temperature_fahrenheit: { type: 'number' },
1699
1598
  },
1700
- required: ['has_active_endpoint', 'endpoints'],
1701
1599
  type: 'object',
1702
1600
  },
1703
- },
1704
- type: 'object',
1601
+ ],
1705
1602
  },
1706
- },
1707
- type: 'object',
1603
+ ],
1708
1604
  },
1709
1605
  ],
1710
1606
  description: 'Properties of the device.',
@@ -4750,12 +4646,40 @@ export default {
4750
4646
  acs_system_id: { format: 'uuid', type: 'string' },
4751
4647
  created_at: { format: 'date-time', type: 'string' },
4752
4648
  display_name: { type: 'string' },
4649
+ visionline_metadata: {
4650
+ nullable: true,
4651
+ properties: {
4652
+ door_name: { type: 'string' },
4653
+ profiles: {
4654
+ items: {
4655
+ properties: {
4656
+ visionline_door_profile_id: {
4657
+ type: 'string',
4658
+ },
4659
+ visionline_door_profile_type: {
4660
+ enum: ['BLE', 'commonDoor', 'touch'],
4661
+ type: 'string',
4662
+ },
4663
+ },
4664
+ required: [
4665
+ 'visionline_door_profile_id',
4666
+ 'visionline_door_profile_type',
4667
+ ],
4668
+ type: 'object',
4669
+ },
4670
+ type: 'array',
4671
+ },
4672
+ },
4673
+ required: ['door_name'],
4674
+ type: 'object',
4675
+ },
4753
4676
  },
4754
4677
  required: [
4755
4678
  'acs_entrance_id',
4756
4679
  'display_name',
4757
4680
  'acs_system_id',
4758
4681
  'created_at',
4682
+ 'visionline_metadata',
4759
4683
  ],
4760
4684
  type: 'object',
4761
4685
  },
@@ -4857,12 +4781,40 @@ export default {
4857
4781
  acs_system_id: { format: 'uuid', type: 'string' },
4858
4782
  created_at: { format: 'date-time', type: 'string' },
4859
4783
  display_name: { type: 'string' },
4784
+ visionline_metadata: {
4785
+ nullable: true,
4786
+ properties: {
4787
+ door_name: { type: 'string' },
4788
+ profiles: {
4789
+ items: {
4790
+ properties: {
4791
+ visionline_door_profile_id: {
4792
+ type: 'string',
4793
+ },
4794
+ visionline_door_profile_type: {
4795
+ enum: ['BLE', 'commonDoor', 'touch'],
4796
+ type: 'string',
4797
+ },
4798
+ },
4799
+ required: [
4800
+ 'visionline_door_profile_id',
4801
+ 'visionline_door_profile_type',
4802
+ ],
4803
+ type: 'object',
4804
+ },
4805
+ type: 'array',
4806
+ },
4807
+ },
4808
+ required: ['door_name'],
4809
+ type: 'object',
4810
+ },
4860
4811
  },
4861
4812
  required: [
4862
4813
  'acs_entrance_id',
4863
4814
  'display_name',
4864
4815
  'acs_system_id',
4865
4816
  'created_at',
4817
+ 'visionline_metadata',
4866
4818
  ],
4867
4819
  type: 'object',
4868
4820
  },
@@ -5285,12 +5237,40 @@ export default {
5285
5237
  acs_system_id: { format: 'uuid', type: 'string' },
5286
5238
  created_at: { format: 'date-time', type: 'string' },
5287
5239
  display_name: { type: 'string' },
5240
+ visionline_metadata: {
5241
+ nullable: true,
5242
+ properties: {
5243
+ door_name: { type: 'string' },
5244
+ profiles: {
5245
+ items: {
5246
+ properties: {
5247
+ visionline_door_profile_id: {
5248
+ type: 'string',
5249
+ },
5250
+ visionline_door_profile_type: {
5251
+ enum: ['BLE', 'commonDoor', 'touch'],
5252
+ type: 'string',
5253
+ },
5254
+ },
5255
+ required: [
5256
+ 'visionline_door_profile_id',
5257
+ 'visionline_door_profile_type',
5258
+ ],
5259
+ type: 'object',
5260
+ },
5261
+ type: 'array',
5262
+ },
5263
+ },
5264
+ required: ['door_name'],
5265
+ type: 'object',
5266
+ },
5288
5267
  },
5289
5268
  required: [
5290
5269
  'acs_entrance_id',
5291
5270
  'display_name',
5292
5271
  'acs_system_id',
5293
5272
  'created_at',
5273
+ 'visionline_metadata',
5294
5274
  ],
5295
5275
  type: 'object',
5296
5276
  },