@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
package/dist/connect.cjs CHANGED
@@ -769,389 +769,22 @@ var openapi_default = {
769
769
  },
770
770
  {
771
771
  properties: {
772
- august_metadata: {
772
+ assa_abloy_credential_service_metadata: {
773
773
  properties: {
774
- has_keypad: { type: "boolean" },
775
- house_id: { type: "string" },
776
- house_name: { type: "string" },
777
- keypad_battery_level: { type: "string" },
778
- lock_id: { type: "string" },
779
- lock_name: { type: "string" },
780
- model: { type: "string" }
781
- },
782
- required: [
783
- "lock_id",
784
- "lock_name",
785
- "house_name",
786
- "has_keypad"
787
- ],
788
- type: "object"
789
- },
790
- avigilon_alta_metadata: {
791
- properties: {
792
- entry_name: { type: "string" },
793
- org_name: { type: "string" },
794
- site_id: { type: "number" },
795
- site_name: { type: "string" },
796
- zone_id: { type: "number" },
797
- zone_name: { type: "string" }
798
- },
799
- required: [
800
- "entry_name",
801
- "org_name",
802
- "zone_id",
803
- "zone_name",
804
- "site_id",
805
- "site_name"
806
- ],
807
- type: "object"
808
- },
809
- brivo_metadata: {
810
- properties: { device_name: { type: "string" } },
811
- required: ["device_name"],
812
- type: "object"
813
- },
814
- controlbyweb_metadata: {
815
- properties: {
816
- device_id: { type: "string" },
817
- device_name: { type: "string" },
818
- relay_name: { nullable: true, type: "string" }
819
- },
820
- required: [
821
- "device_id",
822
- "device_name",
823
- "relay_name"
824
- ],
825
- type: "object"
826
- },
827
- dormakaba_oracode_metadata: {
828
- properties: {
829
- device_id: { type: "number" },
830
- door_id: { type: "number" },
831
- door_name: { type: "string" },
832
- iana_timezone: { type: "string" },
833
- predefined_time_slots: {
774
+ endpoints: {
834
775
  items: {
835
776
  properties: {
836
- check_in_time: { type: "string" },
837
- check_out_time: { type: "string" },
838
- dormakaba_oracode_user_level_id: {
839
- format: "uuid",
840
- type: "string"
841
- },
842
- ext_dormakaba_oracode_user_level_prefix: {
843
- type: "number"
844
- },
845
- is_24_hour: { type: "boolean" },
846
- is_biweekly_mode: { type: "boolean" },
847
- is_master: { type: "boolean" },
848
- is_one_shot: { type: "boolean" },
849
- name: { type: "string" },
850
- prefix: { type: "number" }
777
+ endpoint_id: { type: "string" },
778
+ is_active: { type: "boolean" }
851
779
  },
852
- required: [
853
- "name",
854
- "prefix",
855
- "check_in_time",
856
- "check_out_time",
857
- "is_24_hour",
858
- "is_biweekly_mode",
859
- "is_one_shot",
860
- "is_master",
861
- "ext_dormakaba_oracode_user_level_prefix",
862
- "dormakaba_oracode_user_level_id"
863
- ],
780
+ required: ["endpoint_id", "is_active"],
864
781
  type: "object"
865
782
  },
866
783
  type: "array"
867
784
  },
868
- site_id: { type: "number" },
869
- site_name: { type: "string" }
870
- },
871
- required: [
872
- "door_id",
873
- "door_name",
874
- "site_id",
875
- "site_name"
876
- ],
877
- type: "object"
878
- },
879
- ecobee_metadata: {
880
- properties: {
881
- device_name: { type: "string" },
882
- ecobee_device_id: { type: "string" }
883
- },
884
- required: ["ecobee_device_id", "device_name"],
885
- type: "object"
886
- },
887
- four_suites_metadata: {
888
- properties: {
889
- device_id: { type: "number" },
890
- device_name: { type: "string" },
891
- reclose_delay_in_seconds: { type: "number" }
892
- },
893
- required: [
894
- "device_id",
895
- "device_name",
896
- "reclose_delay_in_seconds"
897
- ],
898
- type: "object"
899
- },
900
- genie_metadata: {
901
- properties: {
902
- device_name: { type: "string" },
903
- door_name: { type: "string" }
904
- },
905
- required: ["device_name", "door_name"],
906
- type: "object"
907
- },
908
- hubitat_metadata: {
909
- properties: {
910
- device_id: { type: "string" },
911
- device_label: { type: "string" },
912
- device_name: { type: "string" }
913
- },
914
- required: [
915
- "device_id",
916
- "device_name",
917
- "device_label"
918
- ],
919
- type: "object"
920
- },
921
- igloo_metadata: {
922
- properties: {
923
- bridge_id: { type: "string" },
924
- device_id: { type: "string" },
925
- model: { type: "string" }
926
- },
927
- required: ["device_id", "bridge_id"],
928
- type: "object"
929
- },
930
- igloohome_metadata: {
931
- properties: {
932
- bridge_id: { type: "string" },
933
- bridge_name: { type: "string" },
934
- device_id: { type: "string" },
935
- device_name: { type: "string" }
936
- },
937
- required: ["device_id", "device_name"],
938
- type: "object"
939
- },
940
- kwikset_metadata: {
941
- properties: {
942
- device_id: { type: "string" },
943
- device_name: { type: "string" },
944
- model_number: { type: "string" }
945
- },
946
- required: [
947
- "device_id",
948
- "device_name",
949
- "model_number"
950
- ],
951
- type: "object"
952
- },
953
- lockly_metadata: {
954
- properties: {
955
- device_id: { type: "string" },
956
- device_name: { type: "string" },
957
- model: { type: "string" }
958
- },
959
- required: ["device_id", "device_name"],
960
- type: "object"
961
- },
962
- minut_metadata: {
963
- properties: {
964
- device_id: { type: "string" },
965
- device_name: { type: "string" },
966
- latest_sensor_values: {
967
- properties: {
968
- accelerometer_z: {
969
- properties: {
970
- time: { type: "string" },
971
- value: { type: "number" }
972
- },
973
- required: ["time", "value"],
974
- type: "object"
975
- },
976
- humidity: {
977
- properties: {
978
- time: { type: "string" },
979
- value: { type: "number" }
980
- },
981
- required: ["time", "value"],
982
- type: "object"
983
- },
984
- pressure: {
985
- properties: {
986
- time: { type: "string" },
987
- value: { type: "number" }
988
- },
989
- required: ["time", "value"],
990
- type: "object"
991
- },
992
- sound: {
993
- properties: {
994
- time: { type: "string" },
995
- value: { type: "number" }
996
- },
997
- required: ["time", "value"],
998
- type: "object"
999
- },
1000
- temperature: {
1001
- properties: {
1002
- time: { type: "string" },
1003
- value: { type: "number" }
1004
- },
1005
- required: ["time", "value"],
1006
- type: "object"
1007
- }
1008
- },
1009
- required: [
1010
- "temperature",
1011
- "sound",
1012
- "humidity",
1013
- "pressure",
1014
- "accelerometer_z"
1015
- ],
1016
- type: "object"
1017
- }
1018
- },
1019
- required: [
1020
- "device_id",
1021
- "device_name",
1022
- "latest_sensor_values"
1023
- ],
1024
- type: "object"
1025
- },
1026
- nest_metadata: {
1027
- properties: {
1028
- custom_name: { type: "string" },
1029
- device_name: { type: "string" },
1030
- nest_device_id: { type: "string" }
1031
- },
1032
- required: [
1033
- "nest_device_id",
1034
- "device_name",
1035
- "custom_name"
1036
- ],
1037
- type: "object"
1038
- },
1039
- noiseaware_metadata: {
1040
- properties: {
1041
- device_id: { type: "string" },
1042
- device_model: {
1043
- enum: ["indoor", "outdoor"],
1044
- type: "string"
1045
- },
1046
- device_name: { type: "string" },
1047
- noise_level_decibel: { type: "number" },
1048
- noise_level_nrs: { type: "number" }
785
+ has_active_endpoint: { type: "boolean" }
1049
786
  },
1050
- required: [
1051
- "device_model",
1052
- "noise_level_nrs",
1053
- "noise_level_decibel",
1054
- "device_name",
1055
- "device_id"
1056
- ],
1057
- type: "object"
1058
- },
1059
- nuki_metadata: {
1060
- properties: {
1061
- device_id: { type: "string" },
1062
- device_name: { type: "string" },
1063
- keypad_battery_critical: { type: "boolean" }
1064
- },
1065
- required: ["device_id", "device_name"],
1066
- type: "object"
1067
- },
1068
- salto_metadata: {
1069
- properties: {
1070
- battery_level: { type: "string" },
1071
- customer_reference: { type: "string" },
1072
- lock_id: { type: "string" },
1073
- lock_type: { type: "string" },
1074
- locked_state: { type: "string" },
1075
- model: { type: "string" }
1076
- },
1077
- required: [
1078
- "lock_id",
1079
- "customer_reference",
1080
- "lock_type",
1081
- "battery_level",
1082
- "locked_state"
1083
- ],
1084
- type: "object"
1085
- },
1086
- schlage_metadata: {
1087
- properties: {
1088
- access_code_length: { type: "number" },
1089
- device_id: { type: "string" },
1090
- device_name: { type: "string" },
1091
- model: { type: "string" }
1092
- },
1093
- required: [
1094
- "device_id",
1095
- "device_name",
1096
- "access_code_length"
1097
- ],
1098
- type: "object"
1099
- },
1100
- seam_bridge_metadata: {
1101
- properties: {
1102
- device_num: { type: "number" },
1103
- name: { type: "string" },
1104
- unlock_method: {
1105
- enum: ["bridge", "doorking"],
1106
- type: "string"
1107
- }
1108
- },
1109
- required: ["device_num", "name"],
1110
- type: "object"
1111
- },
1112
- smartthings_metadata: {
1113
- properties: {
1114
- device_id: { type: "string" },
1115
- device_name: { type: "string" },
1116
- location_id: { type: "string" },
1117
- model: { type: "string" }
1118
- },
1119
- required: ["device_id", "device_name"],
1120
- type: "object"
1121
- },
1122
- ttlock_metadata: {
1123
- properties: {
1124
- lock_alias: { type: "string" },
1125
- lock_id: { type: "number" }
1126
- },
1127
- required: ["lock_id", "lock_alias"],
1128
- type: "object"
1129
- },
1130
- two_n_metadata: {
1131
- properties: {
1132
- device_id: { type: "number" },
1133
- device_name: { type: "string" }
1134
- },
1135
- required: ["device_id", "device_name"],
1136
- type: "object"
1137
- },
1138
- wyze_metadata: {
1139
- properties: {
1140
- device_id: { type: "string" },
1141
- device_info_model: { type: "string" },
1142
- device_name: { type: "string" },
1143
- product_model: { type: "string" },
1144
- product_name: { type: "string" },
1145
- product_type: { type: "string" }
1146
- },
1147
- required: [
1148
- "device_id",
1149
- "device_name",
1150
- "product_name",
1151
- "product_type",
1152
- "product_model",
1153
- "device_info_model"
1154
- ],
787
+ required: ["has_active_endpoint", "endpoints"],
1155
788
  type: "object"
1156
789
  }
1157
790
  },
@@ -1160,598 +793,861 @@ var openapi_default = {
1160
793
  ]
1161
794
  },
1162
795
  {
1163
- allOf: [
1164
- {
796
+ properties: {
797
+ august_metadata: {
1165
798
  properties: {
1166
- _experimental_supported_code_from_access_codes_lengths: { items: { type: "number" }, type: "array" },
1167
- code_constraints: {
799
+ has_keypad: { type: "boolean" },
800
+ house_id: { type: "string" },
801
+ house_name: { type: "string" },
802
+ keypad_battery_level: { type: "string" },
803
+ lock_id: { type: "string" },
804
+ lock_name: { type: "string" },
805
+ model: { type: "string" }
806
+ },
807
+ required: [
808
+ "lock_id",
809
+ "lock_name",
810
+ "house_name",
811
+ "has_keypad"
812
+ ],
813
+ type: "object"
814
+ },
815
+ avigilon_alta_metadata: {
816
+ properties: {
817
+ entry_name: { type: "string" },
818
+ org_name: { type: "string" },
819
+ site_id: { type: "number" },
820
+ site_name: { type: "string" },
821
+ zone_id: { type: "number" },
822
+ zone_name: { type: "string" }
823
+ },
824
+ required: [
825
+ "entry_name",
826
+ "org_name",
827
+ "zone_id",
828
+ "zone_name",
829
+ "site_id",
830
+ "site_name"
831
+ ],
832
+ type: "object"
833
+ },
834
+ brivo_metadata: {
835
+ properties: { device_name: { type: "string" } },
836
+ required: ["device_name"],
837
+ type: "object"
838
+ },
839
+ controlbyweb_metadata: {
840
+ properties: {
841
+ device_id: { type: "string" },
842
+ device_name: { type: "string" },
843
+ relay_name: { nullable: true, type: "string" }
844
+ },
845
+ required: ["device_id", "device_name", "relay_name"],
846
+ type: "object"
847
+ },
848
+ dormakaba_oracode_metadata: {
849
+ properties: {
850
+ device_id: { type: "number" },
851
+ door_id: { type: "number" },
852
+ door_name: { type: "string" },
853
+ iana_timezone: { type: "string" },
854
+ predefined_time_slots: {
1168
855
  items: {
1169
- oneOf: [
1170
- {
1171
- properties: {
1172
- constraint_type: {
1173
- enum: [
1174
- "no_zeros",
1175
- "cannot_start_with_12",
1176
- "no_triple_consecutive_ints",
1177
- "cannot_specify_pin_code",
1178
- "pin_code_matches_existing_set",
1179
- "start_date_in_future"
1180
- ],
1181
- type: "string"
1182
- }
1183
- },
1184
- required: ["constraint_type"],
1185
- type: "object"
856
+ properties: {
857
+ check_in_time: { type: "string" },
858
+ check_out_time: { type: "string" },
859
+ dormakaba_oracode_user_level_id: {
860
+ format: "uuid",
861
+ type: "string"
1186
862
  },
1187
- {
1188
- properties: {
1189
- constraint_type: {
1190
- enum: ["name_length"],
1191
- type: "string"
1192
- },
1193
- max_length: { type: "number" },
1194
- min_length: { type: "number" }
1195
- },
1196
- required: ["constraint_type"],
1197
- type: "object"
1198
- }
1199
- ]
863
+ ext_dormakaba_oracode_user_level_prefix: {
864
+ type: "number"
865
+ },
866
+ is_24_hour: { type: "boolean" },
867
+ is_biweekly_mode: { type: "boolean" },
868
+ is_master: { type: "boolean" },
869
+ is_one_shot: { type: "boolean" },
870
+ name: { type: "string" },
871
+ prefix: { type: "number" }
872
+ },
873
+ required: [
874
+ "name",
875
+ "prefix",
876
+ "check_in_time",
877
+ "check_out_time",
878
+ "is_24_hour",
879
+ "is_biweekly_mode",
880
+ "is_one_shot",
881
+ "is_master",
882
+ "ext_dormakaba_oracode_user_level_prefix",
883
+ "dormakaba_oracode_user_level_id"
884
+ ],
885
+ type: "object"
1200
886
  },
1201
887
  type: "array"
1202
888
  },
1203
- door_open: { type: "boolean" },
1204
- has_native_entry_events: { type: "boolean" },
1205
- keypad_battery: {
1206
- properties: { level: { type: "number" } },
1207
- required: ["level"],
1208
- type: "object"
1209
- },
1210
- locked: { type: "boolean" },
1211
- max_active_codes_supported: { type: "number" },
1212
- supported_code_lengths: {
1213
- items: { type: "number" },
1214
- type: "array"
1215
- },
1216
- supports_backup_access_code_pool: { type: "boolean" }
889
+ site_id: { type: "number" },
890
+ site_name: { type: "string" }
891
+ },
892
+ required: [
893
+ "door_id",
894
+ "door_name",
895
+ "site_id",
896
+ "site_name"
897
+ ],
898
+ type: "object"
899
+ },
900
+ ecobee_metadata: {
901
+ properties: {
902
+ device_name: { type: "string" },
903
+ ecobee_device_id: { type: "string" }
1217
904
  },
905
+ required: ["ecobee_device_id", "device_name"],
1218
906
  type: "object"
1219
907
  },
1220
- {
1221
- oneOf: [
1222
- {
908
+ four_suites_metadata: {
909
+ properties: {
910
+ device_id: { type: "number" },
911
+ device_name: { type: "string" },
912
+ reclose_delay_in_seconds: { type: "number" }
913
+ },
914
+ required: [
915
+ "device_id",
916
+ "device_name",
917
+ "reclose_delay_in_seconds"
918
+ ],
919
+ type: "object"
920
+ },
921
+ genie_metadata: {
922
+ properties: {
923
+ device_name: { type: "string" },
924
+ door_name: { type: "string" }
925
+ },
926
+ required: ["device_name", "door_name"],
927
+ type: "object"
928
+ },
929
+ hubitat_metadata: {
930
+ properties: {
931
+ device_id: { type: "string" },
932
+ device_label: { type: "string" },
933
+ device_name: { type: "string" }
934
+ },
935
+ required: ["device_id", "device_name", "device_label"],
936
+ type: "object"
937
+ },
938
+ igloo_metadata: {
939
+ properties: {
940
+ bridge_id: { type: "string" },
941
+ device_id: { type: "string" },
942
+ model: { type: "string" }
943
+ },
944
+ required: ["device_id", "bridge_id"],
945
+ type: "object"
946
+ },
947
+ igloohome_metadata: {
948
+ properties: {
949
+ bridge_id: { type: "string" },
950
+ bridge_name: { type: "string" },
951
+ device_id: { type: "string" },
952
+ device_name: { type: "string" }
953
+ },
954
+ required: ["device_id", "device_name"],
955
+ type: "object"
956
+ },
957
+ kwikset_metadata: {
958
+ properties: {
959
+ device_id: { type: "string" },
960
+ device_name: { type: "string" },
961
+ model_number: { type: "string" }
962
+ },
963
+ required: ["device_id", "device_name", "model_number"],
964
+ type: "object"
965
+ },
966
+ lockly_metadata: {
967
+ properties: {
968
+ device_id: { type: "string" },
969
+ device_name: { type: "string" },
970
+ model: { type: "string" }
971
+ },
972
+ required: ["device_id", "device_name"],
973
+ type: "object"
974
+ },
975
+ minut_metadata: {
976
+ properties: {
977
+ device_id: { type: "string" },
978
+ device_name: { type: "string" },
979
+ latest_sensor_values: {
1223
980
  properties: {
1224
- active_climate_setting_schedule: {
981
+ accelerometer_z: {
1225
982
  properties: {
1226
- automatic_cooling_enabled: {
1227
- type: "boolean"
1228
- },
1229
- automatic_heating_enabled: {
1230
- type: "boolean"
1231
- },
1232
- climate_setting_schedule_id: {
1233
- format: "uuid",
1234
- type: "string"
1235
- },
1236
- cooling_set_point_celsius: { type: "number" },
1237
- cooling_set_point_fahrenheit: {
1238
- type: "number"
1239
- },
1240
- created_at: {
1241
- format: "date-time",
1242
- type: "string"
1243
- },
1244
- device_id: { type: "string" },
1245
- errors: {
1246
- 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.',
1247
- nullable: true
1248
- },
1249
- heating_set_point_celsius: { type: "number" },
1250
- heating_set_point_fahrenheit: {
1251
- type: "number"
1252
- },
1253
- hvac_mode_setting: {
1254
- enum: ["off", "heat", "cool", "heat_cool"],
1255
- type: "string"
1256
- },
1257
- manual_override_allowed: { type: "boolean" },
1258
- name: { type: "string" },
1259
- schedule_ends_at: { type: "string" },
1260
- schedule_starts_at: { type: "string" },
1261
- schedule_type: {
1262
- enum: ["time_bound"],
1263
- type: "string"
1264
- }
983
+ time: { type: "string" },
984
+ value: { type: "number" }
1265
985
  },
1266
- required: [
1267
- "climate_setting_schedule_id",
1268
- "schedule_type",
1269
- "device_id",
1270
- "schedule_starts_at",
1271
- "schedule_ends_at",
1272
- "created_at"
1273
- ],
986
+ required: ["time", "value"],
1274
987
  type: "object"
1275
988
  },
1276
- available_hvac_mode_settings: {
1277
- items: {
1278
- enum: ["off", "heat", "cool", "heat_cool"],
1279
- type: "string"
1280
- },
1281
- type: "array"
1282
- },
1283
- can_enable_automatic_cooling: { type: "boolean" },
1284
- can_enable_automatic_heating: { type: "boolean" },
1285
- current_climate_setting: {
989
+ humidity: {
1286
990
  properties: {
1287
- automatic_cooling_enabled: {
1288
- type: "boolean"
1289
- },
1290
- automatic_heating_enabled: {
1291
- type: "boolean"
1292
- },
1293
- cooling_set_point_celsius: { type: "number" },
1294
- cooling_set_point_fahrenheit: {
1295
- type: "number"
1296
- },
1297
- heating_set_point_celsius: { type: "number" },
1298
- heating_set_point_fahrenheit: {
1299
- type: "number"
1300
- },
1301
- hvac_mode_setting: {
1302
- enum: ["off", "heat", "cool", "heat_cool"],
1303
- type: "string"
1304
- },
1305
- manual_override_allowed: { type: "boolean" }
991
+ time: { type: "string" },
992
+ value: { type: "number" }
1306
993
  },
1307
- required: [
1308
- "automatic_heating_enabled",
1309
- "automatic_cooling_enabled",
1310
- "hvac_mode_setting",
1311
- "manual_override_allowed"
1312
- ],
994
+ required: ["time", "value"],
1313
995
  type: "object"
1314
996
  },
1315
- default_climate_setting: {
997
+ pressure: {
1316
998
  properties: {
1317
- automatic_cooling_enabled: {
1318
- type: "boolean"
1319
- },
1320
- automatic_heating_enabled: {
1321
- type: "boolean"
1322
- },
1323
- cooling_set_point_celsius: { type: "number" },
1324
- cooling_set_point_fahrenheit: {
1325
- type: "number"
1326
- },
1327
- heating_set_point_celsius: { type: "number" },
1328
- heating_set_point_fahrenheit: {
1329
- type: "number"
1330
- },
1331
- hvac_mode_setting: {
1332
- enum: ["off", "heat", "cool", "heat_cool"],
1333
- type: "string"
1334
- },
1335
- manual_override_allowed: { type: "boolean" }
999
+ time: { type: "string" },
1000
+ value: { type: "number" }
1336
1001
  },
1337
- required: [
1338
- "automatic_heating_enabled",
1339
- "automatic_cooling_enabled",
1340
- "hvac_mode_setting",
1341
- "manual_override_allowed"
1342
- ],
1002
+ required: ["time", "value"],
1343
1003
  type: "object"
1344
1004
  },
1345
- fan_mode_setting: {
1346
- enum: ["auto", "on"],
1347
- type: "string"
1348
- },
1349
- is_climate_setting_schedule_active: {
1350
- type: "boolean"
1351
- },
1352
- is_cooling: { type: "boolean" },
1353
- is_cooling_available: {
1354
- enum: [true],
1355
- type: "boolean"
1356
- },
1357
- is_fan_running: { type: "boolean" },
1358
- is_heating: { type: "boolean" },
1359
- is_heating_available: {
1360
- enum: [true],
1361
- type: "boolean"
1362
- },
1363
- is_temporary_manual_override_active: {
1364
- type: "boolean"
1365
- },
1366
- max_cooling_set_point_celsius: { type: "number" },
1367
- max_cooling_set_point_fahrenheit: {
1368
- type: "number"
1369
- },
1370
- max_heating_set_point_celsius: { type: "number" },
1371
- max_heating_set_point_fahrenheit: {
1372
- type: "number"
1373
- },
1374
- min_cooling_set_point_celsius: { type: "number" },
1375
- min_cooling_set_point_fahrenheit: {
1376
- type: "number"
1377
- },
1378
- min_heating_cooling_delta_celsius: {
1379
- type: "number"
1380
- },
1381
- min_heating_cooling_delta_fahrenheit: {
1382
- type: "number"
1383
- },
1384
- min_heating_set_point_celsius: { type: "number" },
1385
- min_heating_set_point_fahrenheit: {
1386
- type: "number"
1387
- },
1388
- relative_humidity: {
1389
- maximum: 1,
1390
- minimum: 0,
1391
- type: "number"
1392
- },
1393
- temperature_celsius: { type: "number" },
1394
- temperature_fahrenheit: { type: "number" }
1395
- },
1396
- type: "object"
1397
- },
1398
- {
1399
- properties: {
1400
- active_climate_setting_schedule: {
1005
+ sound: {
1401
1006
  properties: {
1402
- automatic_cooling_enabled: {
1403
- type: "boolean"
1404
- },
1405
- automatic_heating_enabled: {
1406
- type: "boolean"
1407
- },
1408
- climate_setting_schedule_id: {
1409
- format: "uuid",
1410
- type: "string"
1411
- },
1412
- cooling_set_point_celsius: { type: "number" },
1413
- cooling_set_point_fahrenheit: {
1414
- type: "number"
1415
- },
1416
- created_at: {
1417
- format: "date-time",
1418
- type: "string"
1419
- },
1420
- device_id: { type: "string" },
1421
- errors: {
1422
- 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.',
1423
- nullable: true
1424
- },
1425
- heating_set_point_celsius: { type: "number" },
1426
- heating_set_point_fahrenheit: {
1427
- type: "number"
1428
- },
1429
- hvac_mode_setting: {
1430
- enum: ["off", "heat", "cool", "heat_cool"],
1431
- type: "string"
1432
- },
1433
- manual_override_allowed: { type: "boolean" },
1434
- name: { type: "string" },
1435
- schedule_ends_at: { type: "string" },
1436
- schedule_starts_at: { type: "string" },
1437
- schedule_type: {
1438
- enum: ["time_bound"],
1439
- type: "string"
1440
- }
1007
+ time: { type: "string" },
1008
+ value: { type: "number" }
1441
1009
  },
1442
- required: [
1443
- "climate_setting_schedule_id",
1444
- "schedule_type",
1445
- "device_id",
1446
- "schedule_starts_at",
1447
- "schedule_ends_at",
1448
- "created_at"
1449
- ],
1010
+ required: ["time", "value"],
1450
1011
  type: "object"
1451
1012
  },
1452
- available_hvac_mode_settings: {
1453
- items: {
1454
- enum: ["off", "heat", "cool", "heat_cool"],
1455
- type: "string"
1456
- },
1457
- type: "array"
1458
- },
1459
- can_enable_automatic_cooling: { type: "boolean" },
1460
- can_enable_automatic_heating: { type: "boolean" },
1461
- current_climate_setting: {
1013
+ temperature: {
1462
1014
  properties: {
1463
- automatic_cooling_enabled: {
1464
- type: "boolean"
1465
- },
1466
- automatic_heating_enabled: {
1467
- type: "boolean"
1468
- },
1469
- cooling_set_point_celsius: { type: "number" },
1470
- cooling_set_point_fahrenheit: {
1471
- type: "number"
1472
- },
1473
- heating_set_point_celsius: { type: "number" },
1474
- heating_set_point_fahrenheit: {
1475
- type: "number"
1476
- },
1477
- hvac_mode_setting: {
1478
- enum: ["off", "heat", "cool", "heat_cool"],
1479
- type: "string"
1480
- },
1481
- manual_override_allowed: { type: "boolean" }
1015
+ time: { type: "string" },
1016
+ value: { type: "number" }
1482
1017
  },
1483
- required: [
1484
- "automatic_heating_enabled",
1485
- "automatic_cooling_enabled",
1486
- "hvac_mode_setting",
1487
- "manual_override_allowed"
1488
- ],
1018
+ required: ["time", "value"],
1489
1019
  type: "object"
1020
+ }
1021
+ },
1022
+ required: [
1023
+ "temperature",
1024
+ "sound",
1025
+ "humidity",
1026
+ "pressure",
1027
+ "accelerometer_z"
1028
+ ],
1029
+ type: "object"
1030
+ }
1031
+ },
1032
+ required: [
1033
+ "device_id",
1034
+ "device_name",
1035
+ "latest_sensor_values"
1036
+ ],
1037
+ type: "object"
1038
+ },
1039
+ nest_metadata: {
1040
+ properties: {
1041
+ custom_name: { type: "string" },
1042
+ device_name: { type: "string" },
1043
+ nest_device_id: { type: "string" }
1044
+ },
1045
+ required: [
1046
+ "nest_device_id",
1047
+ "device_name",
1048
+ "custom_name"
1049
+ ],
1050
+ type: "object"
1051
+ },
1052
+ noiseaware_metadata: {
1053
+ properties: {
1054
+ device_id: { type: "string" },
1055
+ device_model: {
1056
+ enum: ["indoor", "outdoor"],
1057
+ type: "string"
1058
+ },
1059
+ device_name: { type: "string" },
1060
+ noise_level_decibel: { type: "number" },
1061
+ noise_level_nrs: { type: "number" }
1062
+ },
1063
+ required: [
1064
+ "device_model",
1065
+ "noise_level_nrs",
1066
+ "noise_level_decibel",
1067
+ "device_name",
1068
+ "device_id"
1069
+ ],
1070
+ type: "object"
1071
+ },
1072
+ nuki_metadata: {
1073
+ properties: {
1074
+ device_id: { type: "string" },
1075
+ device_name: { type: "string" },
1076
+ keypad_battery_critical: { type: "boolean" }
1077
+ },
1078
+ required: ["device_id", "device_name"],
1079
+ type: "object"
1080
+ },
1081
+ salto_metadata: {
1082
+ properties: {
1083
+ battery_level: { type: "string" },
1084
+ customer_reference: { type: "string" },
1085
+ lock_id: { type: "string" },
1086
+ lock_type: { type: "string" },
1087
+ locked_state: { type: "string" },
1088
+ model: { type: "string" }
1089
+ },
1090
+ required: [
1091
+ "lock_id",
1092
+ "customer_reference",
1093
+ "lock_type",
1094
+ "battery_level",
1095
+ "locked_state"
1096
+ ],
1097
+ type: "object"
1098
+ },
1099
+ schlage_metadata: {
1100
+ properties: {
1101
+ access_code_length: { type: "number" },
1102
+ device_id: { type: "string" },
1103
+ device_name: { type: "string" },
1104
+ model: { type: "string" }
1105
+ },
1106
+ required: [
1107
+ "device_id",
1108
+ "device_name",
1109
+ "access_code_length"
1110
+ ],
1111
+ type: "object"
1112
+ },
1113
+ seam_bridge_metadata: {
1114
+ properties: {
1115
+ device_num: { type: "number" },
1116
+ name: { type: "string" },
1117
+ unlock_method: {
1118
+ enum: ["bridge", "doorking"],
1119
+ type: "string"
1120
+ }
1121
+ },
1122
+ required: ["device_num", "name"],
1123
+ type: "object"
1124
+ },
1125
+ smartthings_metadata: {
1126
+ properties: {
1127
+ device_id: { type: "string" },
1128
+ device_name: { type: "string" },
1129
+ location_id: { type: "string" },
1130
+ model: { type: "string" }
1131
+ },
1132
+ required: ["device_id", "device_name"],
1133
+ type: "object"
1134
+ },
1135
+ ttlock_metadata: {
1136
+ properties: {
1137
+ lock_alias: { type: "string" },
1138
+ lock_id: { type: "number" }
1139
+ },
1140
+ required: ["lock_id", "lock_alias"],
1141
+ type: "object"
1142
+ },
1143
+ two_n_metadata: {
1144
+ properties: {
1145
+ device_id: { type: "number" },
1146
+ device_name: { type: "string" }
1147
+ },
1148
+ required: ["device_id", "device_name"],
1149
+ type: "object"
1150
+ },
1151
+ wyze_metadata: {
1152
+ properties: {
1153
+ device_id: { type: "string" },
1154
+ device_info_model: { type: "string" },
1155
+ device_name: { type: "string" },
1156
+ product_model: { type: "string" },
1157
+ product_name: { type: "string" },
1158
+ product_type: { type: "string" }
1159
+ },
1160
+ required: [
1161
+ "device_id",
1162
+ "device_name",
1163
+ "product_name",
1164
+ "product_type",
1165
+ "product_model",
1166
+ "device_info_model"
1167
+ ],
1168
+ type: "object"
1169
+ }
1170
+ },
1171
+ type: "object"
1172
+ }
1173
+ ]
1174
+ },
1175
+ {
1176
+ allOf: [
1177
+ {
1178
+ properties: {
1179
+ _experimental_supported_code_from_access_codes_lengths: {
1180
+ items: { type: "number" },
1181
+ type: "array"
1182
+ },
1183
+ code_constraints: {
1184
+ items: {
1185
+ oneOf: [
1186
+ {
1187
+ properties: {
1188
+ constraint_type: {
1189
+ enum: [
1190
+ "no_zeros",
1191
+ "cannot_start_with_12",
1192
+ "no_triple_consecutive_ints",
1193
+ "cannot_specify_pin_code",
1194
+ "pin_code_matches_existing_set",
1195
+ "start_date_in_future"
1196
+ ],
1197
+ type: "string"
1198
+ }
1490
1199
  },
1491
- default_climate_setting: {
1492
- properties: {
1493
- automatic_cooling_enabled: {
1494
- type: "boolean"
1495
- },
1496
- automatic_heating_enabled: {
1497
- type: "boolean"
1498
- },
1499
- cooling_set_point_celsius: { type: "number" },
1500
- cooling_set_point_fahrenheit: {
1501
- type: "number"
1502
- },
1503
- heating_set_point_celsius: { type: "number" },
1504
- heating_set_point_fahrenheit: {
1505
- type: "number"
1506
- },
1507
- hvac_mode_setting: {
1508
- enum: ["off", "heat", "cool", "heat_cool"],
1509
- type: "string"
1510
- },
1511
- manual_override_allowed: { type: "boolean" }
1200
+ required: ["constraint_type"],
1201
+ type: "object"
1202
+ },
1203
+ {
1204
+ properties: {
1205
+ constraint_type: {
1206
+ enum: ["name_length"],
1207
+ type: "string"
1512
1208
  },
1513
- required: [
1514
- "automatic_heating_enabled",
1515
- "automatic_cooling_enabled",
1516
- "hvac_mode_setting",
1517
- "manual_override_allowed"
1518
- ],
1519
- type: "object"
1209
+ max_length: { type: "number" },
1210
+ min_length: { type: "number" }
1520
1211
  },
1521
- fan_mode_setting: {
1522
- enum: ["auto", "on"],
1212
+ required: ["constraint_type"],
1213
+ type: "object"
1214
+ }
1215
+ ]
1216
+ },
1217
+ type: "array"
1218
+ },
1219
+ door_open: { type: "boolean" },
1220
+ has_native_entry_events: { type: "boolean" },
1221
+ keypad_battery: {
1222
+ properties: { level: { type: "number" } },
1223
+ required: ["level"],
1224
+ type: "object"
1225
+ },
1226
+ locked: { type: "boolean" },
1227
+ max_active_codes_supported: { type: "number" },
1228
+ supported_code_lengths: {
1229
+ items: { type: "number" },
1230
+ type: "array"
1231
+ },
1232
+ supports_backup_access_code_pool: { type: "boolean" }
1233
+ },
1234
+ type: "object"
1235
+ },
1236
+ {
1237
+ oneOf: [
1238
+ {
1239
+ properties: {
1240
+ active_climate_setting_schedule: {
1241
+ properties: {
1242
+ automatic_cooling_enabled: { type: "boolean" },
1243
+ automatic_heating_enabled: { type: "boolean" },
1244
+ climate_setting_schedule_id: {
1245
+ format: "uuid",
1523
1246
  type: "string"
1524
1247
  },
1525
- is_climate_setting_schedule_active: {
1526
- type: "boolean"
1527
- },
1528
- is_cooling: { type: "boolean" },
1529
- is_cooling_available: {
1530
- enum: [false],
1531
- type: "boolean"
1532
- },
1533
- is_fan_running: { type: "boolean" },
1534
- is_heating: { type: "boolean" },
1535
- is_heating_available: {
1536
- enum: [true],
1537
- type: "boolean"
1538
- },
1539
- is_temporary_manual_override_active: {
1540
- type: "boolean"
1248
+ cooling_set_point_celsius: { type: "number" },
1249
+ cooling_set_point_fahrenheit: { type: "number" },
1250
+ created_at: {
1251
+ format: "date-time",
1252
+ type: "string"
1541
1253
  },
1542
- max_heating_set_point_celsius: { type: "number" },
1543
- max_heating_set_point_fahrenheit: {
1544
- type: "number"
1254
+ device_id: { type: "string" },
1255
+ errors: {
1256
+ 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.',
1257
+ nullable: true
1545
1258
  },
1546
- min_heating_set_point_celsius: { type: "number" },
1547
- min_heating_set_point_fahrenheit: {
1548
- type: "number"
1259
+ heating_set_point_celsius: { type: "number" },
1260
+ heating_set_point_fahrenheit: { type: "number" },
1261
+ hvac_mode_setting: {
1262
+ enum: ["off", "heat", "cool", "heat_cool"],
1263
+ type: "string"
1549
1264
  },
1550
- relative_humidity: {
1551
- maximum: 1,
1552
- minimum: 0,
1553
- type: "number"
1265
+ manual_override_allowed: { type: "boolean" },
1266
+ name: { type: "string" },
1267
+ schedule_ends_at: { type: "string" },
1268
+ schedule_starts_at: { type: "string" },
1269
+ schedule_type: {
1270
+ enum: ["time_bound"],
1271
+ type: "string"
1272
+ }
1273
+ },
1274
+ required: [
1275
+ "climate_setting_schedule_id",
1276
+ "schedule_type",
1277
+ "device_id",
1278
+ "schedule_starts_at",
1279
+ "schedule_ends_at",
1280
+ "created_at"
1281
+ ],
1282
+ type: "object"
1283
+ },
1284
+ available_hvac_mode_settings: {
1285
+ items: {
1286
+ enum: ["off", "heat", "cool", "heat_cool"],
1287
+ type: "string"
1288
+ },
1289
+ type: "array"
1290
+ },
1291
+ can_enable_automatic_cooling: { type: "boolean" },
1292
+ can_enable_automatic_heating: { type: "boolean" },
1293
+ current_climate_setting: {
1294
+ properties: {
1295
+ automatic_cooling_enabled: { type: "boolean" },
1296
+ automatic_heating_enabled: { type: "boolean" },
1297
+ cooling_set_point_celsius: { type: "number" },
1298
+ cooling_set_point_fahrenheit: { type: "number" },
1299
+ heating_set_point_celsius: { type: "number" },
1300
+ heating_set_point_fahrenheit: { type: "number" },
1301
+ hvac_mode_setting: {
1302
+ enum: ["off", "heat", "cool", "heat_cool"],
1303
+ type: "string"
1554
1304
  },
1555
- temperature_celsius: { type: "number" },
1556
- temperature_fahrenheit: { type: "number" }
1305
+ manual_override_allowed: { type: "boolean" }
1557
1306
  },
1307
+ required: [
1308
+ "automatic_heating_enabled",
1309
+ "automatic_cooling_enabled",
1310
+ "hvac_mode_setting",
1311
+ "manual_override_allowed"
1312
+ ],
1558
1313
  type: "object"
1559
1314
  },
1560
- {
1315
+ default_climate_setting: {
1561
1316
  properties: {
1562
- active_climate_setting_schedule: {
1563
- properties: {
1564
- automatic_cooling_enabled: {
1565
- type: "boolean"
1566
- },
1567
- automatic_heating_enabled: {
1568
- type: "boolean"
1569
- },
1570
- climate_setting_schedule_id: {
1571
- format: "uuid",
1572
- type: "string"
1573
- },
1574
- cooling_set_point_celsius: { type: "number" },
1575
- cooling_set_point_fahrenheit: {
1576
- type: "number"
1577
- },
1578
- created_at: {
1579
- format: "date-time",
1580
- type: "string"
1581
- },
1582
- device_id: { type: "string" },
1583
- errors: {
1584
- 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.',
1585
- nullable: true
1586
- },
1587
- heating_set_point_celsius: { type: "number" },
1588
- heating_set_point_fahrenheit: {
1589
- type: "number"
1590
- },
1591
- hvac_mode_setting: {
1592
- enum: ["off", "heat", "cool", "heat_cool"],
1593
- type: "string"
1594
- },
1595
- manual_override_allowed: { type: "boolean" },
1596
- name: { type: "string" },
1597
- schedule_ends_at: { type: "string" },
1598
- schedule_starts_at: { type: "string" },
1599
- schedule_type: {
1600
- enum: ["time_bound"],
1601
- type: "string"
1602
- }
1603
- },
1604
- required: [
1605
- "climate_setting_schedule_id",
1606
- "schedule_type",
1607
- "device_id",
1608
- "schedule_starts_at",
1609
- "schedule_ends_at",
1610
- "created_at"
1611
- ],
1612
- type: "object"
1317
+ automatic_cooling_enabled: { type: "boolean" },
1318
+ automatic_heating_enabled: { type: "boolean" },
1319
+ cooling_set_point_celsius: { type: "number" },
1320
+ cooling_set_point_fahrenheit: { type: "number" },
1321
+ heating_set_point_celsius: { type: "number" },
1322
+ heating_set_point_fahrenheit: { type: "number" },
1323
+ hvac_mode_setting: {
1324
+ enum: ["off", "heat", "cool", "heat_cool"],
1325
+ type: "string"
1613
1326
  },
1614
- available_hvac_mode_settings: {
1615
- items: {
1616
- enum: ["off", "heat", "cool", "heat_cool"],
1617
- type: "string"
1618
- },
1619
- type: "array"
1327
+ manual_override_allowed: { type: "boolean" }
1328
+ },
1329
+ required: [
1330
+ "automatic_heating_enabled",
1331
+ "automatic_cooling_enabled",
1332
+ "hvac_mode_setting",
1333
+ "manual_override_allowed"
1334
+ ],
1335
+ type: "object"
1336
+ },
1337
+ fan_mode_setting: {
1338
+ enum: ["auto", "on"],
1339
+ type: "string"
1340
+ },
1341
+ is_climate_setting_schedule_active: {
1342
+ type: "boolean"
1343
+ },
1344
+ is_cooling: { type: "boolean" },
1345
+ is_cooling_available: {
1346
+ enum: [true],
1347
+ type: "boolean"
1348
+ },
1349
+ is_fan_running: { type: "boolean" },
1350
+ is_heating: { type: "boolean" },
1351
+ is_heating_available: {
1352
+ enum: [true],
1353
+ type: "boolean"
1354
+ },
1355
+ is_temporary_manual_override_active: {
1356
+ type: "boolean"
1357
+ },
1358
+ max_cooling_set_point_celsius: { type: "number" },
1359
+ max_cooling_set_point_fahrenheit: { type: "number" },
1360
+ max_heating_set_point_celsius: { type: "number" },
1361
+ max_heating_set_point_fahrenheit: { type: "number" },
1362
+ min_cooling_set_point_celsius: { type: "number" },
1363
+ min_cooling_set_point_fahrenheit: { type: "number" },
1364
+ min_heating_cooling_delta_celsius: { type: "number" },
1365
+ min_heating_cooling_delta_fahrenheit: {
1366
+ type: "number"
1367
+ },
1368
+ min_heating_set_point_celsius: { type: "number" },
1369
+ min_heating_set_point_fahrenheit: { type: "number" },
1370
+ relative_humidity: {
1371
+ maximum: 1,
1372
+ minimum: 0,
1373
+ type: "number"
1374
+ },
1375
+ temperature_celsius: { type: "number" },
1376
+ temperature_fahrenheit: { type: "number" }
1377
+ },
1378
+ type: "object"
1379
+ },
1380
+ {
1381
+ properties: {
1382
+ active_climate_setting_schedule: {
1383
+ properties: {
1384
+ automatic_cooling_enabled: { type: "boolean" },
1385
+ automatic_heating_enabled: { type: "boolean" },
1386
+ climate_setting_schedule_id: {
1387
+ format: "uuid",
1388
+ type: "string"
1620
1389
  },
1621
- can_enable_automatic_cooling: { type: "boolean" },
1622
- can_enable_automatic_heating: { type: "boolean" },
1623
- current_climate_setting: {
1624
- properties: {
1625
- automatic_cooling_enabled: {
1626
- type: "boolean"
1627
- },
1628
- automatic_heating_enabled: {
1629
- type: "boolean"
1630
- },
1631
- cooling_set_point_celsius: { type: "number" },
1632
- cooling_set_point_fahrenheit: {
1633
- type: "number"
1634
- },
1635
- heating_set_point_celsius: { type: "number" },
1636
- heating_set_point_fahrenheit: {
1637
- type: "number"
1638
- },
1639
- hvac_mode_setting: {
1640
- enum: ["off", "heat", "cool", "heat_cool"],
1641
- type: "string"
1642
- },
1643
- manual_override_allowed: { type: "boolean" }
1644
- },
1645
- required: [
1646
- "automatic_heating_enabled",
1647
- "automatic_cooling_enabled",
1648
- "hvac_mode_setting",
1649
- "manual_override_allowed"
1650
- ],
1651
- type: "object"
1390
+ cooling_set_point_celsius: { type: "number" },
1391
+ cooling_set_point_fahrenheit: { type: "number" },
1392
+ created_at: {
1393
+ format: "date-time",
1394
+ type: "string"
1652
1395
  },
1653
- default_climate_setting: {
1654
- properties: {
1655
- automatic_cooling_enabled: {
1656
- type: "boolean"
1657
- },
1658
- automatic_heating_enabled: {
1659
- type: "boolean"
1660
- },
1661
- cooling_set_point_celsius: { type: "number" },
1662
- cooling_set_point_fahrenheit: {
1663
- type: "number"
1664
- },
1665
- heating_set_point_celsius: { type: "number" },
1666
- heating_set_point_fahrenheit: {
1667
- type: "number"
1668
- },
1669
- hvac_mode_setting: {
1670
- enum: ["off", "heat", "cool", "heat_cool"],
1671
- type: "string"
1672
- },
1673
- manual_override_allowed: { type: "boolean" }
1674
- },
1675
- required: [
1676
- "automatic_heating_enabled",
1677
- "automatic_cooling_enabled",
1678
- "hvac_mode_setting",
1679
- "manual_override_allowed"
1680
- ],
1681
- type: "object"
1396
+ device_id: { type: "string" },
1397
+ errors: {
1398
+ 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.',
1399
+ nullable: true
1682
1400
  },
1683
- fan_mode_setting: {
1684
- enum: ["auto", "on"],
1401
+ heating_set_point_celsius: { type: "number" },
1402
+ heating_set_point_fahrenheit: { type: "number" },
1403
+ hvac_mode_setting: {
1404
+ enum: ["off", "heat", "cool", "heat_cool"],
1685
1405
  type: "string"
1686
1406
  },
1687
- is_climate_setting_schedule_active: {
1688
- type: "boolean"
1689
- },
1690
- is_cooling: { type: "boolean" },
1691
- is_cooling_available: {
1692
- enum: [true],
1693
- type: "boolean"
1407
+ manual_override_allowed: { type: "boolean" },
1408
+ name: { type: "string" },
1409
+ schedule_ends_at: { type: "string" },
1410
+ schedule_starts_at: { type: "string" },
1411
+ schedule_type: {
1412
+ enum: ["time_bound"],
1413
+ type: "string"
1414
+ }
1415
+ },
1416
+ required: [
1417
+ "climate_setting_schedule_id",
1418
+ "schedule_type",
1419
+ "device_id",
1420
+ "schedule_starts_at",
1421
+ "schedule_ends_at",
1422
+ "created_at"
1423
+ ],
1424
+ type: "object"
1425
+ },
1426
+ available_hvac_mode_settings: {
1427
+ items: {
1428
+ enum: ["off", "heat", "cool", "heat_cool"],
1429
+ type: "string"
1430
+ },
1431
+ type: "array"
1432
+ },
1433
+ can_enable_automatic_cooling: { type: "boolean" },
1434
+ can_enable_automatic_heating: { type: "boolean" },
1435
+ current_climate_setting: {
1436
+ properties: {
1437
+ automatic_cooling_enabled: { type: "boolean" },
1438
+ automatic_heating_enabled: { type: "boolean" },
1439
+ cooling_set_point_celsius: { type: "number" },
1440
+ cooling_set_point_fahrenheit: { type: "number" },
1441
+ heating_set_point_celsius: { type: "number" },
1442
+ heating_set_point_fahrenheit: { type: "number" },
1443
+ hvac_mode_setting: {
1444
+ enum: ["off", "heat", "cool", "heat_cool"],
1445
+ type: "string"
1694
1446
  },
1695
- is_fan_running: { type: "boolean" },
1696
- is_heating: { type: "boolean" },
1697
- is_heating_available: {
1698
- enum: [false],
1699
- type: "boolean"
1447
+ manual_override_allowed: { type: "boolean" }
1448
+ },
1449
+ required: [
1450
+ "automatic_heating_enabled",
1451
+ "automatic_cooling_enabled",
1452
+ "hvac_mode_setting",
1453
+ "manual_override_allowed"
1454
+ ],
1455
+ type: "object"
1456
+ },
1457
+ default_climate_setting: {
1458
+ properties: {
1459
+ automatic_cooling_enabled: { type: "boolean" },
1460
+ automatic_heating_enabled: { type: "boolean" },
1461
+ cooling_set_point_celsius: { type: "number" },
1462
+ cooling_set_point_fahrenheit: { type: "number" },
1463
+ heating_set_point_celsius: { type: "number" },
1464
+ heating_set_point_fahrenheit: { type: "number" },
1465
+ hvac_mode_setting: {
1466
+ enum: ["off", "heat", "cool", "heat_cool"],
1467
+ type: "string"
1700
1468
  },
1701
- is_temporary_manual_override_active: {
1702
- type: "boolean"
1469
+ manual_override_allowed: { type: "boolean" }
1470
+ },
1471
+ required: [
1472
+ "automatic_heating_enabled",
1473
+ "automatic_cooling_enabled",
1474
+ "hvac_mode_setting",
1475
+ "manual_override_allowed"
1476
+ ],
1477
+ type: "object"
1478
+ },
1479
+ fan_mode_setting: {
1480
+ enum: ["auto", "on"],
1481
+ type: "string"
1482
+ },
1483
+ is_climate_setting_schedule_active: {
1484
+ type: "boolean"
1485
+ },
1486
+ is_cooling: { type: "boolean" },
1487
+ is_cooling_available: {
1488
+ enum: [false],
1489
+ type: "boolean"
1490
+ },
1491
+ is_fan_running: { type: "boolean" },
1492
+ is_heating: { type: "boolean" },
1493
+ is_heating_available: {
1494
+ enum: [true],
1495
+ type: "boolean"
1496
+ },
1497
+ is_temporary_manual_override_active: {
1498
+ type: "boolean"
1499
+ },
1500
+ max_heating_set_point_celsius: { type: "number" },
1501
+ max_heating_set_point_fahrenheit: { type: "number" },
1502
+ min_heating_set_point_celsius: { type: "number" },
1503
+ min_heating_set_point_fahrenheit: { type: "number" },
1504
+ relative_humidity: {
1505
+ maximum: 1,
1506
+ minimum: 0,
1507
+ type: "number"
1508
+ },
1509
+ temperature_celsius: { type: "number" },
1510
+ temperature_fahrenheit: { type: "number" }
1511
+ },
1512
+ type: "object"
1513
+ },
1514
+ {
1515
+ properties: {
1516
+ active_climate_setting_schedule: {
1517
+ properties: {
1518
+ automatic_cooling_enabled: { type: "boolean" },
1519
+ automatic_heating_enabled: { type: "boolean" },
1520
+ climate_setting_schedule_id: {
1521
+ format: "uuid",
1522
+ type: "string"
1703
1523
  },
1704
- max_cooling_set_point_celsius: { type: "number" },
1705
- max_cooling_set_point_fahrenheit: {
1706
- type: "number"
1524
+ cooling_set_point_celsius: { type: "number" },
1525
+ cooling_set_point_fahrenheit: { type: "number" },
1526
+ created_at: {
1527
+ format: "date-time",
1528
+ type: "string"
1707
1529
  },
1708
- min_cooling_set_point_celsius: { type: "number" },
1709
- min_cooling_set_point_fahrenheit: {
1710
- type: "number"
1530
+ device_id: { type: "string" },
1531
+ errors: {
1532
+ 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.',
1533
+ nullable: true
1711
1534
  },
1712
- relative_humidity: {
1713
- maximum: 1,
1714
- minimum: 0,
1715
- type: "number"
1535
+ heating_set_point_celsius: { type: "number" },
1536
+ heating_set_point_fahrenheit: { type: "number" },
1537
+ hvac_mode_setting: {
1538
+ enum: ["off", "heat", "cool", "heat_cool"],
1539
+ type: "string"
1716
1540
  },
1717
- temperature_celsius: { type: "number" },
1718
- temperature_fahrenheit: { type: "number" }
1541
+ manual_override_allowed: { type: "boolean" },
1542
+ name: { type: "string" },
1543
+ schedule_ends_at: { type: "string" },
1544
+ schedule_starts_at: { type: "string" },
1545
+ schedule_type: {
1546
+ enum: ["time_bound"],
1547
+ type: "string"
1548
+ }
1719
1549
  },
1550
+ required: [
1551
+ "climate_setting_schedule_id",
1552
+ "schedule_type",
1553
+ "device_id",
1554
+ "schedule_starts_at",
1555
+ "schedule_ends_at",
1556
+ "created_at"
1557
+ ],
1720
1558
  type: "object"
1721
- }
1722
- ]
1723
- }
1724
- ]
1725
- }
1726
- ]
1727
- },
1728
- {
1729
- properties: {
1730
- properties: {
1731
- properties: {
1732
- assa_abloy_credential_service_metadata: {
1733
- properties: {
1734
- endpoints: {
1559
+ },
1560
+ available_hvac_mode_settings: {
1735
1561
  items: {
1736
- properties: {
1737
- endpoint_id: { type: "string" },
1738
- is_active: { type: "boolean" }
1739
- },
1740
- required: ["endpoint_id", "is_active"],
1741
- type: "object"
1562
+ enum: ["off", "heat", "cool", "heat_cool"],
1563
+ type: "string"
1742
1564
  },
1743
1565
  type: "array"
1744
1566
  },
1745
- has_active_endpoint: { type: "boolean" }
1567
+ can_enable_automatic_cooling: { type: "boolean" },
1568
+ can_enable_automatic_heating: { type: "boolean" },
1569
+ current_climate_setting: {
1570
+ properties: {
1571
+ automatic_cooling_enabled: { type: "boolean" },
1572
+ automatic_heating_enabled: { type: "boolean" },
1573
+ cooling_set_point_celsius: { type: "number" },
1574
+ cooling_set_point_fahrenheit: { type: "number" },
1575
+ heating_set_point_celsius: { type: "number" },
1576
+ heating_set_point_fahrenheit: { type: "number" },
1577
+ hvac_mode_setting: {
1578
+ enum: ["off", "heat", "cool", "heat_cool"],
1579
+ type: "string"
1580
+ },
1581
+ manual_override_allowed: { type: "boolean" }
1582
+ },
1583
+ required: [
1584
+ "automatic_heating_enabled",
1585
+ "automatic_cooling_enabled",
1586
+ "hvac_mode_setting",
1587
+ "manual_override_allowed"
1588
+ ],
1589
+ type: "object"
1590
+ },
1591
+ default_climate_setting: {
1592
+ properties: {
1593
+ automatic_cooling_enabled: { type: "boolean" },
1594
+ automatic_heating_enabled: { type: "boolean" },
1595
+ cooling_set_point_celsius: { type: "number" },
1596
+ cooling_set_point_fahrenheit: { type: "number" },
1597
+ heating_set_point_celsius: { type: "number" },
1598
+ heating_set_point_fahrenheit: { type: "number" },
1599
+ hvac_mode_setting: {
1600
+ enum: ["off", "heat", "cool", "heat_cool"],
1601
+ type: "string"
1602
+ },
1603
+ manual_override_allowed: { type: "boolean" }
1604
+ },
1605
+ required: [
1606
+ "automatic_heating_enabled",
1607
+ "automatic_cooling_enabled",
1608
+ "hvac_mode_setting",
1609
+ "manual_override_allowed"
1610
+ ],
1611
+ type: "object"
1612
+ },
1613
+ fan_mode_setting: {
1614
+ enum: ["auto", "on"],
1615
+ type: "string"
1616
+ },
1617
+ is_climate_setting_schedule_active: {
1618
+ type: "boolean"
1619
+ },
1620
+ is_cooling: { type: "boolean" },
1621
+ is_cooling_available: {
1622
+ enum: [true],
1623
+ type: "boolean"
1624
+ },
1625
+ is_fan_running: { type: "boolean" },
1626
+ is_heating: { type: "boolean" },
1627
+ is_heating_available: {
1628
+ enum: [false],
1629
+ type: "boolean"
1630
+ },
1631
+ is_temporary_manual_override_active: {
1632
+ type: "boolean"
1633
+ },
1634
+ max_cooling_set_point_celsius: { type: "number" },
1635
+ max_cooling_set_point_fahrenheit: { type: "number" },
1636
+ min_cooling_set_point_celsius: { type: "number" },
1637
+ min_cooling_set_point_fahrenheit: { type: "number" },
1638
+ relative_humidity: {
1639
+ maximum: 1,
1640
+ minimum: 0,
1641
+ type: "number"
1642
+ },
1643
+ temperature_celsius: { type: "number" },
1644
+ temperature_fahrenheit: { type: "number" }
1746
1645
  },
1747
- required: ["has_active_endpoint", "endpoints"],
1748
1646
  type: "object"
1749
1647
  }
1750
- },
1751
- type: "object"
1648
+ ]
1752
1649
  }
1753
- },
1754
- type: "object"
1650
+ ]
1755
1651
  }
1756
1652
  ],
1757
1653
  description: "Properties of the device."
@@ -4796,13 +4692,41 @@ var openapi_default = {
4796
4692
  acs_entrance_id: { format: "uuid", type: "string" },
4797
4693
  acs_system_id: { format: "uuid", type: "string" },
4798
4694
  created_at: { format: "date-time", type: "string" },
4799
- display_name: { type: "string" }
4695
+ display_name: { type: "string" },
4696
+ visionline_metadata: {
4697
+ nullable: true,
4698
+ properties: {
4699
+ door_name: { type: "string" },
4700
+ profiles: {
4701
+ items: {
4702
+ properties: {
4703
+ visionline_door_profile_id: {
4704
+ type: "string"
4705
+ },
4706
+ visionline_door_profile_type: {
4707
+ enum: ["BLE", "commonDoor", "touch"],
4708
+ type: "string"
4709
+ }
4710
+ },
4711
+ required: [
4712
+ "visionline_door_profile_id",
4713
+ "visionline_door_profile_type"
4714
+ ],
4715
+ type: "object"
4716
+ },
4717
+ type: "array"
4718
+ }
4719
+ },
4720
+ required: ["door_name"],
4721
+ type: "object"
4722
+ }
4800
4723
  },
4801
4724
  required: [
4802
4725
  "acs_entrance_id",
4803
4726
  "display_name",
4804
4727
  "acs_system_id",
4805
- "created_at"
4728
+ "created_at",
4729
+ "visionline_metadata"
4806
4730
  ],
4807
4731
  type: "object"
4808
4732
  },
@@ -4903,13 +4827,41 @@ var openapi_default = {
4903
4827
  acs_entrance_id: { format: "uuid", type: "string" },
4904
4828
  acs_system_id: { format: "uuid", type: "string" },
4905
4829
  created_at: { format: "date-time", type: "string" },
4906
- display_name: { type: "string" }
4830
+ display_name: { type: "string" },
4831
+ visionline_metadata: {
4832
+ nullable: true,
4833
+ properties: {
4834
+ door_name: { type: "string" },
4835
+ profiles: {
4836
+ items: {
4837
+ properties: {
4838
+ visionline_door_profile_id: {
4839
+ type: "string"
4840
+ },
4841
+ visionline_door_profile_type: {
4842
+ enum: ["BLE", "commonDoor", "touch"],
4843
+ type: "string"
4844
+ }
4845
+ },
4846
+ required: [
4847
+ "visionline_door_profile_id",
4848
+ "visionline_door_profile_type"
4849
+ ],
4850
+ type: "object"
4851
+ },
4852
+ type: "array"
4853
+ }
4854
+ },
4855
+ required: ["door_name"],
4856
+ type: "object"
4857
+ }
4907
4858
  },
4908
4859
  required: [
4909
4860
  "acs_entrance_id",
4910
4861
  "display_name",
4911
4862
  "acs_system_id",
4912
- "created_at"
4863
+ "created_at",
4864
+ "visionline_metadata"
4913
4865
  ],
4914
4866
  type: "object"
4915
4867
  },
@@ -5331,13 +5283,41 @@ var openapi_default = {
5331
5283
  acs_entrance_id: { format: "uuid", type: "string" },
5332
5284
  acs_system_id: { format: "uuid", type: "string" },
5333
5285
  created_at: { format: "date-time", type: "string" },
5334
- display_name: { type: "string" }
5286
+ display_name: { type: "string" },
5287
+ visionline_metadata: {
5288
+ nullable: true,
5289
+ properties: {
5290
+ door_name: { type: "string" },
5291
+ profiles: {
5292
+ items: {
5293
+ properties: {
5294
+ visionline_door_profile_id: {
5295
+ type: "string"
5296
+ },
5297
+ visionline_door_profile_type: {
5298
+ enum: ["BLE", "commonDoor", "touch"],
5299
+ type: "string"
5300
+ }
5301
+ },
5302
+ required: [
5303
+ "visionline_door_profile_id",
5304
+ "visionline_door_profile_type"
5305
+ ],
5306
+ type: "object"
5307
+ },
5308
+ type: "array"
5309
+ }
5310
+ },
5311
+ required: ["door_name"],
5312
+ type: "object"
5313
+ }
5335
5314
  },
5336
5315
  required: [
5337
5316
  "acs_entrance_id",
5338
5317
  "display_name",
5339
5318
  "acs_system_id",
5340
- "created_at"
5319
+ "created_at",
5320
+ "visionline_metadata"
5341
5321
  ],
5342
5322
  type: "object"
5343
5323
  },