@seamapi/types 1.69.0 → 1.71.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 (62) hide show
  1. package/dist/connect.cjs +2600 -895
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +11812 -8664
  4. package/dist/devicedb.cjs +9 -1
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +263 -2
  7. package/lib/seam/connect/openapi.d.ts +3483 -1430
  8. package/lib/seam/connect/openapi.js +2595 -890
  9. package/lib/seam/connect/openapi.js.map +1 -1
  10. package/lib/seam/connect/route-types.d.ts +1325 -230
  11. package/lib/seam/connect/unstable/models/acs/credential.js +1 -0
  12. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  13. package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.d.ts +22 -2
  14. package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js +7 -0
  15. package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js.map +1 -1
  16. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  17. package/lib/seam/connect/unstable/models/acs/system.js +1 -1
  18. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  19. package/lib/seam/connect/unstable/models/devices/index.d.ts +1 -0
  20. package/lib/seam/connect/unstable/models/devices/index.js +1 -0
  21. package/lib/seam/connect/unstable/models/devices/index.js.map +1 -1
  22. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +82 -8
  23. package/lib/seam/connect/unstable/models/devices/managed-device.js +2 -0
  24. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  25. package/lib/seam/connect/unstable/models/devices/phone-properties.d.ts +44 -0
  26. package/lib/seam/connect/unstable/models/devices/phone-properties.js +13 -0
  27. package/lib/seam/connect/unstable/models/devices/phone-properties.js.map +1 -0
  28. package/lib/seam/connect/unstable/models/devices/phone.d.ts +3529 -0
  29. package/lib/seam/connect/unstable/models/devices/phone.js +13 -0
  30. package/lib/seam/connect/unstable/models/devices/phone.js.map +1 -0
  31. package/lib/seam/connect/unstable/models/index.d.ts +1 -0
  32. package/lib/seam/connect/unstable/models/index.js +1 -0
  33. package/lib/seam/connect/unstable/models/index.js.map +1 -1
  34. package/lib/seam/connect/unstable/models/network.d.ts +18 -0
  35. package/lib/seam/connect/unstable/models/network.js +8 -0
  36. package/lib/seam/connect/unstable/models/network.js.map +1 -0
  37. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  38. package/lib/seam/connect/unstable/schemas.js +1 -1
  39. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  40. package/lib/seam/devicedb/index.d.ts +1 -1
  41. package/lib/seam/devicedb/public-models/device-model-v1.d.ts +52 -0
  42. package/lib/seam/devicedb/public-models/manufacturer.d.ts +30 -0
  43. package/lib/seam/devicedb/public-models/manufacturer.js +6 -0
  44. package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
  45. package/lib/seam/devicedb/route-specs.d.ts +160 -0
  46. package/lib/seam/devicedb/route-types.d.ts +16 -0
  47. package/package.json +1 -1
  48. package/src/lib/seam/connect/openapi.ts +2644 -915
  49. package/src/lib/seam/connect/route-types.ts +1701 -211
  50. package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -0
  51. package/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts +12 -0
  52. package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -1
  53. package/src/lib/seam/connect/unstable/models/devices/index.ts +1 -0
  54. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +2 -0
  55. package/src/lib/seam/connect/unstable/models/devices/phone-properties.ts +15 -0
  56. package/src/lib/seam/connect/unstable/models/devices/phone.ts +15 -0
  57. package/src/lib/seam/connect/unstable/models/index.ts +1 -0
  58. package/src/lib/seam/connect/unstable/models/network.ts +10 -0
  59. package/src/lib/seam/connect/unstable/schemas.ts +3 -0
  60. package/src/lib/seam/devicedb/index.ts +1 -0
  61. package/src/lib/seam/devicedb/public-models/manufacturer.ts +12 -0
  62. package/src/lib/seam/devicedb/route-types.ts +16 -0
package/dist/connect.cjs CHANGED
@@ -225,7 +225,7 @@ var openapi_default = {
225
225
  "brivo_account",
226
226
  "hid_credential_manager_organization",
227
227
  "visionline_system",
228
- "assa_abloy_credential_service_user"
228
+ "assa_abloy_credential_service"
229
229
  ],
230
230
  type: "string"
231
231
  },
@@ -240,7 +240,7 @@ var openapi_default = {
240
240
  "brivo_account",
241
241
  "hid_credential_manager_organization",
242
242
  "visionline_system",
243
- "assa_abloy_credential_service_user"
243
+ "assa_abloy_credential_service"
244
244
  ],
245
245
  type: "string"
246
246
  },
@@ -651,952 +651,2355 @@ var openapi_default = {
651
651
  {
652
652
  allOf: [
653
653
  {
654
- properties: {
655
- battery: {
656
- description: 'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
657
- properties: {
658
- level: { maximum: 1, minimum: 0, type: "number" },
659
- status: {
660
- enum: ["critical", "low", "good", "full"],
661
- type: "string"
662
- }
663
- },
664
- required: ["level", "status"],
665
- type: "object"
666
- },
667
- battery_level: {
668
- description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
669
- maximum: 1,
670
- minimum: 0,
671
- type: "number"
672
- },
673
- has_direct_power: {
674
- description: "Indicates whether the device has direct power.",
675
- type: "boolean"
676
- },
677
- image_alt_text: {
678
- description: "Alt text for the device image.",
679
- type: "string"
680
- },
681
- image_url: {
682
- description: "Image URL for the device.",
683
- format: "uri",
684
- type: "string"
685
- },
686
- manufacturer: {
687
- description: "Manufacturer of the device.",
688
- type: "string"
689
- },
690
- model: {
654
+ allOf: [
655
+ {
691
656
  properties: {
692
- accessory_keypad_supported: {
693
- description: "Indicates whether the device supports an accessory keypad.",
657
+ battery: {
658
+ description: 'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
659
+ properties: {
660
+ level: { maximum: 1, minimum: 0, type: "number" },
661
+ status: {
662
+ enum: ["critical", "low", "good", "full"],
663
+ type: "string"
664
+ }
665
+ },
666
+ required: ["level", "status"],
667
+ type: "object"
668
+ },
669
+ battery_level: {
670
+ description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
671
+ maximum: 1,
672
+ minimum: 0,
673
+ type: "number"
674
+ },
675
+ has_direct_power: {
676
+ description: "Indicates whether the device has direct power.",
694
677
  type: "boolean"
695
678
  },
696
- display_name: {
697
- description: "Display name of the device model.",
679
+ image_alt_text: {
680
+ description: "Alt text for the device image.",
681
+ type: "string"
682
+ },
683
+ image_url: {
684
+ description: "Image URL for the device.",
685
+ format: "uri",
698
686
  type: "string"
699
687
  },
700
- manufacturer_display_name: {
701
- description: "Display name that corresponds to the manufacturer-specific terminology for the device.",
688
+ manufacturer: {
689
+ description: "Manufacturer of the device.",
690
+ type: "string"
691
+ },
692
+ model: {
693
+ properties: {
694
+ accessory_keypad_supported: {
695
+ description: "Indicates whether the device supports an accessory keypad.",
696
+ type: "boolean"
697
+ },
698
+ display_name: {
699
+ description: "Display name of the device model.",
700
+ type: "string"
701
+ },
702
+ manufacturer_display_name: {
703
+ description: "Display name that corresponds to the manufacturer-specific terminology for the device.",
704
+ type: "string"
705
+ },
706
+ offline_access_codes_supported: {
707
+ description: "Indicates whether the device supports offline access codes.",
708
+ type: "boolean"
709
+ },
710
+ online_access_codes_supported: {
711
+ description: "Indicates whether the device supports online access codes.",
712
+ type: "boolean"
713
+ }
714
+ },
715
+ required: [
716
+ "display_name",
717
+ "manufacturer_display_name"
718
+ ],
719
+ type: "object"
720
+ },
721
+ name: {
722
+ description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
702
723
  type: "string"
703
724
  },
704
- offline_access_codes_supported: {
705
- description: "Indicates whether the device supports offline access codes.",
725
+ offline_access_codes_enabled: {
726
+ description: "Indicates whether it is currently possible to use offline access codes for the device.",
706
727
  type: "boolean"
707
728
  },
708
- online_access_codes_supported: {
709
- description: "Indicates whether the device supports online access codes.",
729
+ online: {
730
+ description: "Indicates whether the device is online.",
731
+ type: "boolean"
732
+ },
733
+ online_access_codes_enabled: {
734
+ description: "Indicates whether it is currently possible to use online access codes for the device.",
735
+ type: "boolean"
736
+ },
737
+ serial_number: {
738
+ description: "Serial number of the device.",
739
+ type: "string"
740
+ },
741
+ supports_accessory_keypad: {
742
+ description: "Deprecated. Use model.accessory_keypad_supported.",
743
+ type: "boolean"
744
+ },
745
+ supports_offline_access_codes: {
746
+ description: "Deprecated. Use offline_access_codes_enabled.",
710
747
  type: "boolean"
711
748
  }
712
749
  },
713
- required: ["display_name", "manufacturer_display_name"],
714
- type: "object"
715
- },
716
- name: {
717
- description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
718
- type: "string"
719
- },
720
- offline_access_codes_enabled: {
721
- description: "Indicates whether it is currently possible to use offline access codes for the device.",
722
- type: "boolean"
723
- },
724
- online: {
725
- description: "Indicates whether the device is online.",
726
- type: "boolean"
727
- },
728
- online_access_codes_enabled: {
729
- description: "Indicates whether it is currently possible to use online access codes for the device.",
730
- type: "boolean"
731
- },
732
- serial_number: {
733
- description: "Serial number of the device.",
734
- type: "string"
735
- },
736
- supports_accessory_keypad: {
737
- description: "Deprecated. Use model.accessory_keypad_supported.",
738
- type: "boolean"
739
- },
740
- supports_offline_access_codes: {
741
- description: "Deprecated. Use offline_access_codes_enabled.",
742
- type: "boolean"
743
- }
744
- },
745
- required: ["online", "name", "model"],
746
- type: "object"
747
- },
748
- {
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
- ],
750
+ required: ["online", "name", "model"],
766
751
  type: "object"
767
752
  },
768
- avigilon_alta_metadata: {
753
+ {
769
754
  properties: {
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" }
755
+ august_metadata: {
756
+ properties: {
757
+ has_keypad: { type: "boolean" },
758
+ house_id: { type: "string" },
759
+ house_name: { type: "string" },
760
+ keypad_battery_level: { type: "string" },
761
+ lock_id: { type: "string" },
762
+ lock_name: { type: "string" },
763
+ model: { type: "string" }
764
+ },
765
+ required: [
766
+ "lock_id",
767
+ "lock_name",
768
+ "house_name",
769
+ "has_keypad"
770
+ ],
771
+ type: "object"
772
+ },
773
+ avigilon_alta_metadata: {
774
+ properties: {
775
+ entry_name: { type: "string" },
776
+ org_name: { type: "string" },
777
+ site_id: { type: "number" },
778
+ site_name: { type: "string" },
779
+ zone_id: { type: "number" },
780
+ zone_name: { type: "string" }
781
+ },
782
+ required: [
783
+ "entry_name",
784
+ "org_name",
785
+ "zone_id",
786
+ "zone_name",
787
+ "site_id",
788
+ "site_name"
789
+ ],
790
+ type: "object"
791
+ },
792
+ brivo_metadata: {
793
+ properties: { device_name: { type: "string" } },
794
+ required: ["device_name"],
795
+ type: "object"
796
+ },
797
+ controlbyweb_metadata: {
798
+ properties: {
799
+ device_id: { type: "string" },
800
+ device_name: { type: "string" },
801
+ relay_name: { nullable: true, type: "string" }
802
+ },
803
+ required: [
804
+ "device_id",
805
+ "device_name",
806
+ "relay_name"
807
+ ],
808
+ type: "object"
809
+ },
810
+ dormakaba_oracode_metadata: {
811
+ properties: {
812
+ device_id: { type: "number" },
813
+ door_id: { type: "number" },
814
+ door_name: { type: "string" },
815
+ iana_timezone: { type: "string" },
816
+ predefined_time_slots: {
817
+ items: {
818
+ properties: {
819
+ check_in_time: { type: "string" },
820
+ check_out_time: { type: "string" },
821
+ dormakaba_oracode_user_level_id: {
822
+ format: "uuid",
823
+ type: "string"
824
+ },
825
+ ext_dormakaba_oracode_user_level_prefix: {
826
+ type: "number"
827
+ },
828
+ is_24_hour: { type: "boolean" },
829
+ is_biweekly_mode: { type: "boolean" },
830
+ is_master: { type: "boolean" },
831
+ is_one_shot: { type: "boolean" },
832
+ name: { type: "string" },
833
+ prefix: { type: "number" }
834
+ },
835
+ required: [
836
+ "name",
837
+ "prefix",
838
+ "check_in_time",
839
+ "check_out_time",
840
+ "is_24_hour",
841
+ "is_biweekly_mode",
842
+ "is_one_shot",
843
+ "is_master",
844
+ "ext_dormakaba_oracode_user_level_prefix",
845
+ "dormakaba_oracode_user_level_id"
846
+ ],
847
+ type: "object"
848
+ },
849
+ type: "array"
850
+ },
851
+ site_id: { type: "number" },
852
+ site_name: { type: "string" }
853
+ },
854
+ required: [
855
+ "door_id",
856
+ "door_name",
857
+ "site_id",
858
+ "site_name"
859
+ ],
860
+ type: "object"
861
+ },
862
+ ecobee_metadata: {
863
+ properties: {
864
+ device_name: { type: "string" },
865
+ ecobee_device_id: { type: "string" }
866
+ },
867
+ required: ["ecobee_device_id", "device_name"],
868
+ type: "object"
869
+ },
870
+ four_suites_metadata: {
871
+ properties: {
872
+ device_id: { type: "number" },
873
+ device_name: { type: "string" },
874
+ reclose_delay_in_seconds: { type: "number" }
875
+ },
876
+ required: [
877
+ "device_id",
878
+ "device_name",
879
+ "reclose_delay_in_seconds"
880
+ ],
881
+ type: "object"
882
+ },
883
+ genie_metadata: {
884
+ properties: {
885
+ device_name: { type: "string" },
886
+ door_name: { type: "string" }
887
+ },
888
+ required: ["device_name", "door_name"],
889
+ type: "object"
890
+ },
891
+ hubitat_metadata: {
892
+ properties: {
893
+ device_id: { type: "string" },
894
+ device_label: { type: "string" },
895
+ device_name: { type: "string" }
896
+ },
897
+ required: [
898
+ "device_id",
899
+ "device_name",
900
+ "device_label"
901
+ ],
902
+ type: "object"
903
+ },
904
+ igloo_metadata: {
905
+ properties: {
906
+ bridge_id: { type: "string" },
907
+ device_id: { type: "string" },
908
+ model: { type: "string" }
909
+ },
910
+ required: ["device_id", "bridge_id"],
911
+ type: "object"
912
+ },
913
+ igloohome_metadata: {
914
+ properties: {
915
+ bridge_id: { type: "string" },
916
+ bridge_name: { type: "string" },
917
+ device_id: { type: "string" },
918
+ device_name: { type: "string" }
919
+ },
920
+ required: ["device_id", "device_name"],
921
+ type: "object"
922
+ },
923
+ kwikset_metadata: {
924
+ properties: {
925
+ device_id: { type: "string" },
926
+ device_name: { type: "string" },
927
+ model_number: { type: "string" }
928
+ },
929
+ required: [
930
+ "device_id",
931
+ "device_name",
932
+ "model_number"
933
+ ],
934
+ type: "object"
935
+ },
936
+ lockly_metadata: {
937
+ properties: {
938
+ device_id: { type: "string" },
939
+ device_name: { type: "string" },
940
+ model: { type: "string" }
941
+ },
942
+ required: ["device_id", "device_name"],
943
+ type: "object"
944
+ },
945
+ minut_metadata: {
946
+ properties: {
947
+ device_id: { type: "string" },
948
+ device_name: { type: "string" },
949
+ latest_sensor_values: {
950
+ properties: {
951
+ accelerometer_z: {
952
+ properties: {
953
+ time: { type: "string" },
954
+ value: { type: "number" }
955
+ },
956
+ required: ["time", "value"],
957
+ type: "object"
958
+ },
959
+ humidity: {
960
+ properties: {
961
+ time: { type: "string" },
962
+ value: { type: "number" }
963
+ },
964
+ required: ["time", "value"],
965
+ type: "object"
966
+ },
967
+ pressure: {
968
+ properties: {
969
+ time: { type: "string" },
970
+ value: { type: "number" }
971
+ },
972
+ required: ["time", "value"],
973
+ type: "object"
974
+ },
975
+ sound: {
976
+ properties: {
977
+ time: { type: "string" },
978
+ value: { type: "number" }
979
+ },
980
+ required: ["time", "value"],
981
+ type: "object"
982
+ },
983
+ temperature: {
984
+ properties: {
985
+ time: { type: "string" },
986
+ value: { type: "number" }
987
+ },
988
+ required: ["time", "value"],
989
+ type: "object"
990
+ }
991
+ },
992
+ required: [
993
+ "temperature",
994
+ "sound",
995
+ "humidity",
996
+ "pressure",
997
+ "accelerometer_z"
998
+ ],
999
+ type: "object"
1000
+ }
1001
+ },
1002
+ required: [
1003
+ "device_id",
1004
+ "device_name",
1005
+ "latest_sensor_values"
1006
+ ],
1007
+ type: "object"
1008
+ },
1009
+ nest_metadata: {
1010
+ properties: {
1011
+ custom_name: { type: "string" },
1012
+ device_name: { type: "string" },
1013
+ nest_device_id: { type: "string" }
1014
+ },
1015
+ required: [
1016
+ "nest_device_id",
1017
+ "device_name",
1018
+ "custom_name"
1019
+ ],
1020
+ type: "object"
1021
+ },
1022
+ noiseaware_metadata: {
1023
+ properties: {
1024
+ device_id: { type: "string" },
1025
+ device_model: {
1026
+ enum: ["indoor", "outdoor"],
1027
+ type: "string"
1028
+ },
1029
+ device_name: { type: "string" },
1030
+ noise_level_decibel: { type: "number" },
1031
+ noise_level_nrs: { type: "number" }
1032
+ },
1033
+ required: [
1034
+ "device_model",
1035
+ "noise_level_nrs",
1036
+ "noise_level_decibel",
1037
+ "device_name",
1038
+ "device_id"
1039
+ ],
1040
+ type: "object"
1041
+ },
1042
+ nuki_metadata: {
1043
+ properties: {
1044
+ device_id: { type: "string" },
1045
+ device_name: { type: "string" },
1046
+ keypad_battery_critical: { type: "boolean" }
1047
+ },
1048
+ required: ["device_id", "device_name"],
1049
+ type: "object"
1050
+ },
1051
+ salto_metadata: {
1052
+ properties: {
1053
+ battery_level: { type: "string" },
1054
+ customer_reference: { type: "string" },
1055
+ lock_id: { type: "string" },
1056
+ lock_type: { type: "string" },
1057
+ locked_state: { type: "string" },
1058
+ model: { type: "string" }
1059
+ },
1060
+ required: [
1061
+ "lock_id",
1062
+ "customer_reference",
1063
+ "lock_type",
1064
+ "battery_level",
1065
+ "locked_state"
1066
+ ],
1067
+ type: "object"
1068
+ },
1069
+ schlage_metadata: {
1070
+ properties: {
1071
+ access_code_length: { type: "number" },
1072
+ device_id: { type: "string" },
1073
+ device_name: { type: "string" },
1074
+ model: { type: "string" }
1075
+ },
1076
+ required: [
1077
+ "device_id",
1078
+ "device_name",
1079
+ "access_code_length"
1080
+ ],
1081
+ type: "object"
1082
+ },
1083
+ seam_bridge_metadata: {
1084
+ properties: {
1085
+ device_num: { type: "number" },
1086
+ name: { type: "string" },
1087
+ unlock_method: {
1088
+ enum: ["bridge", "doorking"],
1089
+ type: "string"
1090
+ }
1091
+ },
1092
+ required: ["device_num", "name"],
1093
+ type: "object"
1094
+ },
1095
+ smartthings_metadata: {
1096
+ properties: {
1097
+ device_id: { type: "string" },
1098
+ device_name: { type: "string" },
1099
+ location_id: { type: "string" },
1100
+ model: { type: "string" }
1101
+ },
1102
+ required: ["device_id", "device_name"],
1103
+ type: "object"
1104
+ },
1105
+ ttlock_metadata: {
1106
+ properties: {
1107
+ lock_alias: { type: "string" },
1108
+ lock_id: { type: "number" }
1109
+ },
1110
+ required: ["lock_id", "lock_alias"],
1111
+ type: "object"
1112
+ },
1113
+ two_n_metadata: {
1114
+ properties: {
1115
+ device_id: { type: "number" },
1116
+ device_name: { type: "string" }
1117
+ },
1118
+ required: ["device_id", "device_name"],
1119
+ type: "object"
1120
+ },
1121
+ wyze_metadata: {
1122
+ properties: {
1123
+ device_id: { type: "string" },
1124
+ device_info_model: { type: "string" },
1125
+ device_name: { type: "string" },
1126
+ product_model: { type: "string" },
1127
+ product_name: { type: "string" },
1128
+ product_type: { type: "string" }
1129
+ },
1130
+ required: [
1131
+ "device_id",
1132
+ "device_name",
1133
+ "product_name",
1134
+ "product_type",
1135
+ "product_model",
1136
+ "device_info_model"
1137
+ ],
1138
+ type: "object"
1139
+ }
776
1140
  },
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
1141
  type: "object"
791
- },
792
- controlbyweb_metadata: {
1142
+ }
1143
+ ]
1144
+ },
1145
+ {
1146
+ allOf: [
1147
+ {
793
1148
  properties: {
794
- device_id: { type: "string" },
795
- device_name: { type: "string" },
796
- relay_name: { nullable: true, type: "string" }
1149
+ code_constraints: {
1150
+ items: {
1151
+ oneOf: [
1152
+ {
1153
+ properties: {
1154
+ constraint_type: {
1155
+ enum: [
1156
+ "no_zeros",
1157
+ "cannot_start_with_12",
1158
+ "no_triple_consecutive_ints",
1159
+ "cannot_specify_pin_code",
1160
+ "pin_code_matches_existing_set",
1161
+ "start_date_in_future"
1162
+ ],
1163
+ type: "string"
1164
+ }
1165
+ },
1166
+ required: ["constraint_type"],
1167
+ type: "object"
1168
+ },
1169
+ {
1170
+ properties: {
1171
+ constraint_type: {
1172
+ enum: ["name_length"],
1173
+ type: "string"
1174
+ },
1175
+ max_length: { type: "number" },
1176
+ min_length: { type: "number" }
1177
+ },
1178
+ required: ["constraint_type"],
1179
+ type: "object"
1180
+ }
1181
+ ]
1182
+ },
1183
+ type: "array"
1184
+ },
1185
+ door_open: { type: "boolean" },
1186
+ has_native_entry_events: { type: "boolean" },
1187
+ keypad_battery: {
1188
+ properties: { level: { type: "number" } },
1189
+ required: ["level"],
1190
+ type: "object"
1191
+ },
1192
+ locked: { type: "boolean" },
1193
+ max_active_codes_supported: { type: "number" },
1194
+ supported_code_lengths: {
1195
+ items: { type: "number" },
1196
+ type: "array"
1197
+ },
1198
+ supports_backup_access_code_pool: { type: "boolean" }
797
1199
  },
798
- required: ["device_id", "device_name", "relay_name"],
799
1200
  type: "object"
800
1201
  },
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: {
808
- items: {
809
- properties: {
810
- check_in_time: { type: "string" },
811
- check_out_time: { type: "string" },
812
- dormakaba_oracode_user_level_id: {
813
- format: "uuid",
1202
+ {
1203
+ oneOf: [
1204
+ {
1205
+ properties: {
1206
+ active_climate_setting_schedule: {
1207
+ properties: {
1208
+ automatic_cooling_enabled: {
1209
+ type: "boolean"
1210
+ },
1211
+ automatic_heating_enabled: {
1212
+ type: "boolean"
1213
+ },
1214
+ climate_setting_schedule_id: {
1215
+ format: "uuid",
1216
+ type: "string"
1217
+ },
1218
+ cooling_set_point_celsius: { type: "number" },
1219
+ cooling_set_point_fahrenheit: {
1220
+ type: "number"
1221
+ },
1222
+ created_at: {
1223
+ format: "date-time",
1224
+ type: "string"
1225
+ },
1226
+ device_id: { type: "string" },
1227
+ errors: {
1228
+ 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.',
1229
+ nullable: true
1230
+ },
1231
+ heating_set_point_celsius: { type: "number" },
1232
+ heating_set_point_fahrenheit: {
1233
+ type: "number"
1234
+ },
1235
+ hvac_mode_setting: {
1236
+ enum: ["off", "heat", "cool", "heat_cool"],
1237
+ type: "string"
1238
+ },
1239
+ manual_override_allowed: { type: "boolean" },
1240
+ name: { type: "string" },
1241
+ schedule_ends_at: { type: "string" },
1242
+ schedule_starts_at: { type: "string" },
1243
+ schedule_type: {
1244
+ enum: ["time_bound"],
1245
+ type: "string"
1246
+ }
1247
+ },
1248
+ required: [
1249
+ "climate_setting_schedule_id",
1250
+ "schedule_type",
1251
+ "device_id",
1252
+ "schedule_starts_at",
1253
+ "schedule_ends_at",
1254
+ "created_at"
1255
+ ],
1256
+ type: "object"
1257
+ },
1258
+ available_hvac_mode_settings: {
1259
+ items: {
1260
+ enum: ["off", "heat", "cool", "heat_cool"],
814
1261
  type: "string"
815
1262
  },
816
- ext_dormakaba_oracode_user_level_prefix: {
817
- type: "number"
1263
+ type: "array"
1264
+ },
1265
+ can_enable_automatic_cooling: { type: "boolean" },
1266
+ can_enable_automatic_heating: { type: "boolean" },
1267
+ current_climate_setting: {
1268
+ properties: {
1269
+ automatic_cooling_enabled: {
1270
+ type: "boolean"
1271
+ },
1272
+ automatic_heating_enabled: {
1273
+ type: "boolean"
1274
+ },
1275
+ cooling_set_point_celsius: { type: "number" },
1276
+ cooling_set_point_fahrenheit: {
1277
+ type: "number"
1278
+ },
1279
+ heating_set_point_celsius: { type: "number" },
1280
+ heating_set_point_fahrenheit: {
1281
+ type: "number"
1282
+ },
1283
+ hvac_mode_setting: {
1284
+ enum: ["off", "heat", "cool", "heat_cool"],
1285
+ type: "string"
1286
+ },
1287
+ manual_override_allowed: { type: "boolean" }
1288
+ },
1289
+ required: [
1290
+ "automatic_heating_enabled",
1291
+ "automatic_cooling_enabled",
1292
+ "hvac_mode_setting",
1293
+ "manual_override_allowed"
1294
+ ],
1295
+ type: "object"
1296
+ },
1297
+ default_climate_setting: {
1298
+ properties: {
1299
+ automatic_cooling_enabled: {
1300
+ type: "boolean"
1301
+ },
1302
+ automatic_heating_enabled: {
1303
+ type: "boolean"
1304
+ },
1305
+ cooling_set_point_celsius: { type: "number" },
1306
+ cooling_set_point_fahrenheit: {
1307
+ type: "number"
1308
+ },
1309
+ heating_set_point_celsius: { type: "number" },
1310
+ heating_set_point_fahrenheit: {
1311
+ type: "number"
1312
+ },
1313
+ hvac_mode_setting: {
1314
+ enum: ["off", "heat", "cool", "heat_cool"],
1315
+ type: "string"
1316
+ },
1317
+ manual_override_allowed: { type: "boolean" }
818
1318
  },
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" }
1319
+ required: [
1320
+ "automatic_heating_enabled",
1321
+ "automatic_cooling_enabled",
1322
+ "hvac_mode_setting",
1323
+ "manual_override_allowed"
1324
+ ],
1325
+ type: "object"
1326
+ },
1327
+ fan_mode_setting: {
1328
+ enum: ["auto", "on"],
1329
+ type: "string"
1330
+ },
1331
+ is_climate_setting_schedule_active: {
1332
+ type: "boolean"
1333
+ },
1334
+ is_cooling: { type: "boolean" },
1335
+ is_cooling_available: {
1336
+ enum: [true],
1337
+ type: "boolean"
1338
+ },
1339
+ is_fan_running: { type: "boolean" },
1340
+ is_heating: { type: "boolean" },
1341
+ is_heating_available: {
1342
+ enum: [true],
1343
+ type: "boolean"
1344
+ },
1345
+ is_temporary_manual_override_active: {
1346
+ type: "boolean"
1347
+ },
1348
+ max_cooling_set_point_celsius: { type: "number" },
1349
+ max_cooling_set_point_fahrenheit: {
1350
+ type: "number"
1351
+ },
1352
+ max_heating_set_point_celsius: { type: "number" },
1353
+ max_heating_set_point_fahrenheit: {
1354
+ type: "number"
825
1355
  },
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"
837
- ],
838
- type: "object"
1356
+ min_cooling_set_point_celsius: { type: "number" },
1357
+ min_cooling_set_point_fahrenheit: {
1358
+ type: "number"
1359
+ },
1360
+ min_heating_cooling_delta_celsius: {
1361
+ type: "number"
1362
+ },
1363
+ min_heating_cooling_delta_fahrenheit: {
1364
+ type: "number"
1365
+ },
1366
+ min_heating_set_point_celsius: { type: "number" },
1367
+ min_heating_set_point_fahrenheit: {
1368
+ type: "number"
1369
+ },
1370
+ relative_humidity: {
1371
+ maximum: 1,
1372
+ minimum: 0,
1373
+ type: "number"
1374
+ },
1375
+ temperature_celsius: { type: "number" },
1376
+ temperature_fahrenheit: { type: "number" }
839
1377
  },
840
- type: "array"
1378
+ type: "object"
841
1379
  },
842
- site_id: { type: "number" },
843
- site_name: { type: "string" }
844
- },
845
- required: [
846
- "door_id",
847
- "door_name",
848
- "site_id",
849
- "site_name"
850
- ],
851
- type: "object"
852
- },
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: {
1380
+ {
1381
+ properties: {
1382
+ active_climate_setting_schedule: {
1383
+ properties: {
1384
+ automatic_cooling_enabled: {
1385
+ type: "boolean"
1386
+ },
1387
+ automatic_heating_enabled: {
1388
+ type: "boolean"
1389
+ },
1390
+ climate_setting_schedule_id: {
1391
+ format: "uuid",
1392
+ type: "string"
1393
+ },
1394
+ cooling_set_point_celsius: { type: "number" },
1395
+ cooling_set_point_fahrenheit: {
1396
+ type: "number"
1397
+ },
1398
+ created_at: {
1399
+ format: "date-time",
1400
+ type: "string"
1401
+ },
1402
+ device_id: { type: "string" },
1403
+ errors: {
1404
+ 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.',
1405
+ nullable: true
1406
+ },
1407
+ heating_set_point_celsius: { type: "number" },
1408
+ heating_set_point_fahrenheit: {
1409
+ type: "number"
1410
+ },
1411
+ hvac_mode_setting: {
1412
+ enum: ["off", "heat", "cool", "heat_cool"],
1413
+ type: "string"
1414
+ },
1415
+ manual_override_allowed: { type: "boolean" },
1416
+ name: { type: "string" },
1417
+ schedule_ends_at: { type: "string" },
1418
+ schedule_starts_at: { type: "string" },
1419
+ schedule_type: {
1420
+ enum: ["time_bound"],
1421
+ type: "string"
1422
+ }
1423
+ },
1424
+ required: [
1425
+ "climate_setting_schedule_id",
1426
+ "schedule_type",
1427
+ "device_id",
1428
+ "schedule_starts_at",
1429
+ "schedule_ends_at",
1430
+ "created_at"
1431
+ ],
1432
+ type: "object"
1433
+ },
1434
+ available_hvac_mode_settings: {
1435
+ items: {
1436
+ enum: ["off", "heat", "cool", "heat_cool"],
1437
+ type: "string"
1438
+ },
1439
+ type: "array"
1440
+ },
1441
+ can_enable_automatic_cooling: { type: "boolean" },
1442
+ can_enable_automatic_heating: { type: "boolean" },
1443
+ current_climate_setting: {
1444
+ properties: {
1445
+ automatic_cooling_enabled: {
1446
+ type: "boolean"
1447
+ },
1448
+ automatic_heating_enabled: {
1449
+ type: "boolean"
1450
+ },
1451
+ cooling_set_point_celsius: { type: "number" },
1452
+ cooling_set_point_fahrenheit: {
1453
+ type: "number"
1454
+ },
1455
+ heating_set_point_celsius: { type: "number" },
1456
+ heating_set_point_fahrenheit: {
1457
+ type: "number"
1458
+ },
1459
+ hvac_mode_setting: {
1460
+ enum: ["off", "heat", "cool", "heat_cool"],
1461
+ type: "string"
1462
+ },
1463
+ manual_override_allowed: { type: "boolean" }
1464
+ },
1465
+ required: [
1466
+ "automatic_heating_enabled",
1467
+ "automatic_cooling_enabled",
1468
+ "hvac_mode_setting",
1469
+ "manual_override_allowed"
1470
+ ],
1471
+ type: "object"
1472
+ },
1473
+ default_climate_setting: {
1474
+ properties: {
1475
+ automatic_cooling_enabled: {
1476
+ type: "boolean"
1477
+ },
1478
+ automatic_heating_enabled: {
1479
+ type: "boolean"
1480
+ },
1481
+ cooling_set_point_celsius: { type: "number" },
1482
+ cooling_set_point_fahrenheit: {
1483
+ type: "number"
1484
+ },
1485
+ heating_set_point_celsius: { type: "number" },
1486
+ heating_set_point_fahrenheit: {
1487
+ type: "number"
1488
+ },
1489
+ hvac_mode_setting: {
1490
+ enum: ["off", "heat", "cool", "heat_cool"],
1491
+ type: "string"
1492
+ },
1493
+ manual_override_allowed: { type: "boolean" }
1494
+ },
1495
+ required: [
1496
+ "automatic_heating_enabled",
1497
+ "automatic_cooling_enabled",
1498
+ "hvac_mode_setting",
1499
+ "manual_override_allowed"
1500
+ ],
1501
+ type: "object"
1502
+ },
1503
+ fan_mode_setting: {
1504
+ enum: ["auto", "on"],
1505
+ type: "string"
1506
+ },
1507
+ is_climate_setting_schedule_active: {
1508
+ type: "boolean"
1509
+ },
1510
+ is_cooling: { type: "boolean" },
1511
+ is_cooling_available: {
1512
+ enum: [false],
1513
+ type: "boolean"
1514
+ },
1515
+ is_fan_running: { type: "boolean" },
1516
+ is_heating: { type: "boolean" },
1517
+ is_heating_available: {
1518
+ enum: [true],
1519
+ type: "boolean"
1520
+ },
1521
+ is_temporary_manual_override_active: {
1522
+ type: "boolean"
1523
+ },
1524
+ max_heating_set_point_celsius: { type: "number" },
1525
+ max_heating_set_point_fahrenheit: {
1526
+ type: "number"
1527
+ },
1528
+ min_heating_set_point_celsius: { type: "number" },
1529
+ min_heating_set_point_fahrenheit: {
1530
+ type: "number"
1531
+ },
1532
+ relative_humidity: {
1533
+ maximum: 1,
1534
+ minimum: 0,
1535
+ type: "number"
1536
+ },
1537
+ temperature_celsius: { type: "number" },
1538
+ temperature_fahrenheit: { type: "number" }
1539
+ },
1540
+ type: "object"
1541
+ },
1542
+ {
933
1543
  properties: {
934
- accelerometer_z: {
1544
+ active_climate_setting_schedule: {
935
1545
  properties: {
936
- time: { type: "string" },
937
- value: { type: "number" }
1546
+ automatic_cooling_enabled: {
1547
+ type: "boolean"
1548
+ },
1549
+ automatic_heating_enabled: {
1550
+ type: "boolean"
1551
+ },
1552
+ climate_setting_schedule_id: {
1553
+ format: "uuid",
1554
+ type: "string"
1555
+ },
1556
+ cooling_set_point_celsius: { type: "number" },
1557
+ cooling_set_point_fahrenheit: {
1558
+ type: "number"
1559
+ },
1560
+ created_at: {
1561
+ format: "date-time",
1562
+ type: "string"
1563
+ },
1564
+ device_id: { type: "string" },
1565
+ errors: {
1566
+ 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.',
1567
+ nullable: true
1568
+ },
1569
+ heating_set_point_celsius: { type: "number" },
1570
+ heating_set_point_fahrenheit: {
1571
+ type: "number"
1572
+ },
1573
+ hvac_mode_setting: {
1574
+ enum: ["off", "heat", "cool", "heat_cool"],
1575
+ type: "string"
1576
+ },
1577
+ manual_override_allowed: { type: "boolean" },
1578
+ name: { type: "string" },
1579
+ schedule_ends_at: { type: "string" },
1580
+ schedule_starts_at: { type: "string" },
1581
+ schedule_type: {
1582
+ enum: ["time_bound"],
1583
+ type: "string"
1584
+ }
938
1585
  },
939
- required: ["time", "value"],
1586
+ required: [
1587
+ "climate_setting_schedule_id",
1588
+ "schedule_type",
1589
+ "device_id",
1590
+ "schedule_starts_at",
1591
+ "schedule_ends_at",
1592
+ "created_at"
1593
+ ],
940
1594
  type: "object"
941
1595
  },
942
- humidity: {
943
- properties: {
944
- time: { type: "string" },
945
- value: { type: "number" }
1596
+ available_hvac_mode_settings: {
1597
+ items: {
1598
+ enum: ["off", "heat", "cool", "heat_cool"],
1599
+ type: "string"
946
1600
  },
947
- required: ["time", "value"],
948
- type: "object"
1601
+ type: "array"
949
1602
  },
950
- pressure: {
1603
+ can_enable_automatic_cooling: { type: "boolean" },
1604
+ can_enable_automatic_heating: { type: "boolean" },
1605
+ current_climate_setting: {
951
1606
  properties: {
952
- time: { type: "string" },
953
- value: { type: "number" }
1607
+ automatic_cooling_enabled: {
1608
+ type: "boolean"
1609
+ },
1610
+ automatic_heating_enabled: {
1611
+ type: "boolean"
1612
+ },
1613
+ cooling_set_point_celsius: { type: "number" },
1614
+ cooling_set_point_fahrenheit: {
1615
+ type: "number"
1616
+ },
1617
+ heating_set_point_celsius: { type: "number" },
1618
+ heating_set_point_fahrenheit: {
1619
+ type: "number"
1620
+ },
1621
+ hvac_mode_setting: {
1622
+ enum: ["off", "heat", "cool", "heat_cool"],
1623
+ type: "string"
1624
+ },
1625
+ manual_override_allowed: { type: "boolean" }
954
1626
  },
955
- required: ["time", "value"],
1627
+ required: [
1628
+ "automatic_heating_enabled",
1629
+ "automatic_cooling_enabled",
1630
+ "hvac_mode_setting",
1631
+ "manual_override_allowed"
1632
+ ],
956
1633
  type: "object"
957
1634
  },
958
- sound: {
1635
+ default_climate_setting: {
959
1636
  properties: {
960
- time: { type: "string" },
961
- value: { type: "number" }
1637
+ automatic_cooling_enabled: {
1638
+ type: "boolean"
1639
+ },
1640
+ automatic_heating_enabled: {
1641
+ type: "boolean"
1642
+ },
1643
+ cooling_set_point_celsius: { type: "number" },
1644
+ cooling_set_point_fahrenheit: {
1645
+ type: "number"
1646
+ },
1647
+ heating_set_point_celsius: { type: "number" },
1648
+ heating_set_point_fahrenheit: {
1649
+ type: "number"
1650
+ },
1651
+ hvac_mode_setting: {
1652
+ enum: ["off", "heat", "cool", "heat_cool"],
1653
+ type: "string"
1654
+ },
1655
+ manual_override_allowed: { type: "boolean" }
962
1656
  },
963
- required: ["time", "value"],
1657
+ required: [
1658
+ "automatic_heating_enabled",
1659
+ "automatic_cooling_enabled",
1660
+ "hvac_mode_setting",
1661
+ "manual_override_allowed"
1662
+ ],
964
1663
  type: "object"
965
1664
  },
966
- temperature: {
967
- properties: {
968
- time: { type: "string" },
969
- value: { type: "number" }
970
- },
971
- required: ["time", "value"],
972
- type: "object"
973
- }
1665
+ fan_mode_setting: {
1666
+ enum: ["auto", "on"],
1667
+ type: "string"
1668
+ },
1669
+ is_climate_setting_schedule_active: {
1670
+ type: "boolean"
1671
+ },
1672
+ is_cooling: { type: "boolean" },
1673
+ is_cooling_available: {
1674
+ enum: [true],
1675
+ type: "boolean"
1676
+ },
1677
+ is_fan_running: { type: "boolean" },
1678
+ is_heating: { type: "boolean" },
1679
+ is_heating_available: {
1680
+ enum: [false],
1681
+ type: "boolean"
1682
+ },
1683
+ is_temporary_manual_override_active: {
1684
+ type: "boolean"
1685
+ },
1686
+ max_cooling_set_point_celsius: { type: "number" },
1687
+ max_cooling_set_point_fahrenheit: {
1688
+ type: "number"
1689
+ },
1690
+ min_cooling_set_point_celsius: { type: "number" },
1691
+ min_cooling_set_point_fahrenheit: {
1692
+ type: "number"
1693
+ },
1694
+ relative_humidity: {
1695
+ maximum: 1,
1696
+ minimum: 0,
1697
+ type: "number"
1698
+ },
1699
+ temperature_celsius: { type: "number" },
1700
+ temperature_fahrenheit: { type: "number" }
974
1701
  },
975
- required: [
976
- "temperature",
977
- "sound",
978
- "humidity",
979
- "pressure",
980
- "accelerometer_z"
981
- ],
982
1702
  type: "object"
983
1703
  }
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"
1704
+ ]
1122
1705
  }
1123
- },
1124
- type: "object"
1706
+ ]
1125
1707
  }
1126
1708
  ]
1127
1709
  },
1128
1710
  {
1129
- allOf: [
1130
- {
1711
+ properties: {
1712
+ assa_abloy_credential_service_metadata: {
1131
1713
  properties: {
1132
- code_constraints: {
1714
+ endpoints: {
1133
1715
  items: {
1134
- oneOf: [
1135
- {
1136
- properties: {
1137
- constraint_type: {
1138
- enum: [
1139
- "no_zeros",
1140
- "cannot_start_with_12",
1141
- "no_triple_consecutive_ints",
1142
- "cannot_specify_pin_code",
1143
- "pin_code_matches_existing_set",
1144
- "start_date_in_future"
1145
- ],
1146
- type: "string"
1147
- }
1148
- },
1149
- required: ["constraint_type"],
1150
- type: "object"
1151
- },
1152
- {
1153
- properties: {
1154
- constraint_type: {
1155
- enum: ["name_length"],
1156
- type: "string"
1157
- },
1158
- max_length: { type: "number" },
1159
- min_length: { type: "number" }
1160
- },
1161
- required: ["constraint_type"],
1162
- type: "object"
1163
- }
1164
- ]
1716
+ properties: {
1717
+ endpoint_id: { type: "string" },
1718
+ is_active: { type: "boolean" }
1719
+ },
1720
+ required: ["endpoint_id", "is_active"],
1721
+ type: "object"
1165
1722
  },
1166
1723
  type: "array"
1167
1724
  },
1168
- door_open: { type: "boolean" },
1169
- has_native_entry_events: { type: "boolean" },
1170
- keypad_battery: {
1171
- properties: { level: { type: "number" } },
1172
- required: ["level"],
1173
- type: "object"
1174
- },
1175
- locked: { type: "boolean" },
1176
- max_active_codes_supported: { type: "number" },
1177
- supported_code_lengths: {
1178
- items: { type: "number" },
1179
- type: "array"
1180
- },
1181
- supports_backup_access_code_pool: { type: "boolean" }
1725
+ has_active_endpoint: { type: "boolean" }
1182
1726
  },
1727
+ required: ["has_active_endpoint", "endpoints"],
1183
1728
  type: "object"
1729
+ }
1730
+ },
1731
+ type: "object"
1732
+ }
1733
+ ],
1734
+ description: "Properties of the device."
1735
+ },
1736
+ warnings: {
1737
+ description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
1738
+ items: {
1739
+ properties: {
1740
+ message: { type: "string" },
1741
+ warning_code: { type: "string" }
1742
+ },
1743
+ required: ["warning_code", "message"],
1744
+ type: "object"
1745
+ },
1746
+ type: "array"
1747
+ },
1748
+ workspace_id: {
1749
+ description: "Unique identifier for the Seam workspace associated with the device.",
1750
+ format: "uuid",
1751
+ type: "string"
1752
+ }
1753
+ },
1754
+ required: [
1755
+ "device_id",
1756
+ "device_type",
1757
+ "capabilities_supported",
1758
+ "properties",
1759
+ "location",
1760
+ "connected_account_id",
1761
+ "workspace_id",
1762
+ "errors",
1763
+ "warnings",
1764
+ "created_at",
1765
+ "is_managed"
1766
+ ],
1767
+ type: "object"
1768
+ },
1769
+ device_provider: {
1770
+ properties: {
1771
+ device_provider_name: { type: "string" },
1772
+ display_name: { type: "string" },
1773
+ image_url: { type: "string" },
1774
+ provider_categories: {
1775
+ items: { enum: ["stable", "consumer_smartlocks"], type: "string" },
1776
+ type: "array"
1777
+ }
1778
+ },
1779
+ required: [
1780
+ "device_provider_name",
1781
+ "display_name",
1782
+ "image_url",
1783
+ "provider_categories"
1784
+ ],
1785
+ type: "object"
1786
+ },
1787
+ enrollment_automation: {
1788
+ properties: {
1789
+ created_at: { format: "date-time", type: "string" },
1790
+ credential_manager_acs_system_id: { format: "uuid", type: "string" },
1791
+ enrollment_automation_id: { format: "uuid", type: "string" },
1792
+ user_identity_id: { format: "uuid", type: "string" },
1793
+ workspace_id: { format: "uuid", type: "string" }
1794
+ },
1795
+ required: [
1796
+ "credential_manager_acs_system_id",
1797
+ "user_identity_id",
1798
+ "created_at",
1799
+ "workspace_id",
1800
+ "enrollment_automation_id"
1801
+ ],
1802
+ type: "object"
1803
+ },
1804
+ event: {
1805
+ properties: {
1806
+ created_at: { format: "date-time", type: "string" },
1807
+ device_id: { format: "uuid", type: "string" },
1808
+ event_id: { format: "uuid", type: "string" },
1809
+ event_type: { type: "string" },
1810
+ occurred_at: { format: "date-time", type: "string" },
1811
+ workspace_id: { format: "uuid", type: "string" }
1812
+ },
1813
+ required: [
1814
+ "event_id",
1815
+ "event_type",
1816
+ "workspace_id",
1817
+ "created_at",
1818
+ "occurred_at"
1819
+ ],
1820
+ type: "object"
1821
+ },
1822
+ noise_threshold: {
1823
+ properties: {
1824
+ device_id: { format: "uuid", type: "string" },
1825
+ ends_daily_at: { type: "string" },
1826
+ name: { type: "string" },
1827
+ noise_threshold_decibels: { type: "number" },
1828
+ noise_threshold_id: { format: "uuid", type: "string" },
1829
+ noise_threshold_nrs: { type: "number" },
1830
+ starts_daily_at: { type: "string" }
1831
+ },
1832
+ required: [
1833
+ "noise_threshold_id",
1834
+ "device_id",
1835
+ "name",
1836
+ "starts_daily_at",
1837
+ "ends_daily_at",
1838
+ "noise_threshold_decibels"
1839
+ ],
1840
+ type: "object"
1841
+ },
1842
+ phone: {
1843
+ properties: {
1844
+ assa_abloy_credential_service_metadata: {
1845
+ properties: {
1846
+ endpoints: {
1847
+ items: {
1848
+ properties: {
1849
+ endpoint_id: { type: "string" },
1850
+ is_active: { type: "boolean" }
1184
1851
  },
1852
+ required: ["endpoint_id", "is_active"],
1853
+ type: "object"
1854
+ },
1855
+ type: "array"
1856
+ },
1857
+ has_active_endpoint: { type: "boolean" }
1858
+ },
1859
+ required: ["has_active_endpoint", "endpoints"],
1860
+ type: "object"
1861
+ },
1862
+ capabilities_supported: {
1863
+ description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
1864
+ items: {
1865
+ enum: [
1866
+ "access_code",
1867
+ "lock",
1868
+ "noise_detection",
1869
+ "thermostat",
1870
+ "battery",
1871
+ "phone"
1872
+ ],
1873
+ type: "string"
1874
+ },
1875
+ type: "array"
1876
+ },
1877
+ created_at: {
1878
+ description: "Date and time at which the device object was created.",
1879
+ format: "date-time",
1880
+ type: "string"
1881
+ },
1882
+ device_id: {
1883
+ description: "Unique identifier for the device.",
1884
+ format: "uuid",
1885
+ type: "string"
1886
+ },
1887
+ device_type: { enum: ["android_phone", "ios_phone"], type: "string" },
1888
+ errors: {
1889
+ description: 'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
1890
+ items: {
1891
+ properties: {
1892
+ error_code: { type: "string" },
1893
+ message: { type: "string" }
1894
+ },
1895
+ required: ["error_code", "message"],
1896
+ type: "object"
1897
+ },
1898
+ type: "array"
1899
+ },
1900
+ is_managed: {
1901
+ description: "Indicates whether Seam manages the device.",
1902
+ enum: [true],
1903
+ type: "boolean"
1904
+ },
1905
+ location: {
1906
+ description: "Location information for the device.",
1907
+ nullable: true,
1908
+ properties: {
1909
+ location_name: {
1910
+ description: "Name of the device location.",
1911
+ type: "string"
1912
+ },
1913
+ timezone: {
1914
+ description: "Time zone of the device location.",
1915
+ type: "string"
1916
+ }
1917
+ },
1918
+ type: "object"
1919
+ },
1920
+ properties: {
1921
+ allOf: [
1922
+ {
1923
+ allOf: [
1185
1924
  {
1186
- oneOf: [
1925
+ allOf: [
1187
1926
  {
1188
1927
  properties: {
1189
- active_climate_setting_schedule: {
1928
+ battery: {
1929
+ description: 'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
1190
1930
  properties: {
1191
- automatic_cooling_enabled: { type: "boolean" },
1192
- automatic_heating_enabled: { type: "boolean" },
1193
- climate_setting_schedule_id: {
1194
- format: "uuid",
1931
+ level: { maximum: 1, minimum: 0, type: "number" },
1932
+ status: {
1933
+ enum: ["critical", "low", "good", "full"],
1195
1934
  type: "string"
1935
+ }
1936
+ },
1937
+ required: ["level", "status"],
1938
+ type: "object"
1939
+ },
1940
+ battery_level: {
1941
+ description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
1942
+ maximum: 1,
1943
+ minimum: 0,
1944
+ type: "number"
1945
+ },
1946
+ has_direct_power: {
1947
+ description: "Indicates whether the device has direct power.",
1948
+ type: "boolean"
1949
+ },
1950
+ image_alt_text: {
1951
+ description: "Alt text for the device image.",
1952
+ type: "string"
1953
+ },
1954
+ image_url: {
1955
+ description: "Image URL for the device.",
1956
+ format: "uri",
1957
+ type: "string"
1958
+ },
1959
+ manufacturer: {
1960
+ description: "Manufacturer of the device.",
1961
+ type: "string"
1962
+ },
1963
+ model: {
1964
+ properties: {
1965
+ accessory_keypad_supported: {
1966
+ description: "Indicates whether the device supports an accessory keypad.",
1967
+ type: "boolean"
1196
1968
  },
1197
- cooling_set_point_celsius: { type: "number" },
1198
- cooling_set_point_fahrenheit: { type: "number" },
1199
- created_at: {
1200
- format: "date-time",
1969
+ display_name: {
1970
+ description: "Display name of the device model.",
1201
1971
  type: "string"
1202
1972
  },
1203
- device_id: { type: "string" },
1204
- errors: {
1205
- 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.',
1206
- nullable: true
1207
- },
1208
- heating_set_point_celsius: { type: "number" },
1209
- heating_set_point_fahrenheit: { type: "number" },
1210
- hvac_mode_setting: {
1211
- enum: ["off", "heat", "cool", "heat_cool"],
1973
+ manufacturer_display_name: {
1974
+ description: "Display name that corresponds to the manufacturer-specific terminology for the device.",
1212
1975
  type: "string"
1213
1976
  },
1214
- manual_override_allowed: { type: "boolean" },
1215
- name: { type: "string" },
1216
- schedule_ends_at: { type: "string" },
1217
- schedule_starts_at: { type: "string" },
1218
- schedule_type: {
1219
- enum: ["time_bound"],
1220
- type: "string"
1977
+ offline_access_codes_supported: {
1978
+ description: "Indicates whether the device supports offline access codes.",
1979
+ type: "boolean"
1980
+ },
1981
+ online_access_codes_supported: {
1982
+ description: "Indicates whether the device supports online access codes.",
1983
+ type: "boolean"
1221
1984
  }
1222
1985
  },
1223
1986
  required: [
1224
- "climate_setting_schedule_id",
1225
- "schedule_type",
1226
- "device_id",
1227
- "schedule_starts_at",
1228
- "schedule_ends_at",
1229
- "created_at"
1987
+ "display_name",
1988
+ "manufacturer_display_name"
1230
1989
  ],
1231
1990
  type: "object"
1232
1991
  },
1233
- available_hvac_mode_settings: {
1234
- items: {
1235
- enum: ["off", "heat", "cool", "heat_cool"],
1236
- type: "string"
1992
+ name: {
1993
+ description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
1994
+ type: "string"
1995
+ },
1996
+ offline_access_codes_enabled: {
1997
+ description: "Indicates whether it is currently possible to use offline access codes for the device.",
1998
+ type: "boolean"
1999
+ },
2000
+ online: {
2001
+ description: "Indicates whether the device is online.",
2002
+ type: "boolean"
2003
+ },
2004
+ online_access_codes_enabled: {
2005
+ description: "Indicates whether it is currently possible to use online access codes for the device.",
2006
+ type: "boolean"
2007
+ },
2008
+ serial_number: {
2009
+ description: "Serial number of the device.",
2010
+ type: "string"
2011
+ },
2012
+ supports_accessory_keypad: {
2013
+ description: "Deprecated. Use model.accessory_keypad_supported.",
2014
+ type: "boolean"
2015
+ },
2016
+ supports_offline_access_codes: {
2017
+ description: "Deprecated. Use offline_access_codes_enabled.",
2018
+ type: "boolean"
2019
+ }
2020
+ },
2021
+ required: ["online", "name", "model"],
2022
+ type: "object"
2023
+ },
2024
+ {
2025
+ properties: {
2026
+ august_metadata: {
2027
+ properties: {
2028
+ has_keypad: { type: "boolean" },
2029
+ house_id: { type: "string" },
2030
+ house_name: { type: "string" },
2031
+ keypad_battery_level: { type: "string" },
2032
+ lock_id: { type: "string" },
2033
+ lock_name: { type: "string" },
2034
+ model: { type: "string" }
1237
2035
  },
1238
- type: "array"
2036
+ required: [
2037
+ "lock_id",
2038
+ "lock_name",
2039
+ "house_name",
2040
+ "has_keypad"
2041
+ ],
2042
+ type: "object"
1239
2043
  },
1240
- can_enable_automatic_cooling: { type: "boolean" },
1241
- can_enable_automatic_heating: { type: "boolean" },
1242
- current_climate_setting: {
2044
+ avigilon_alta_metadata: {
1243
2045
  properties: {
1244
- automatic_cooling_enabled: { type: "boolean" },
1245
- automatic_heating_enabled: { type: "boolean" },
1246
- cooling_set_point_celsius: { type: "number" },
1247
- cooling_set_point_fahrenheit: { type: "number" },
1248
- heating_set_point_celsius: { type: "number" },
1249
- heating_set_point_fahrenheit: { type: "number" },
1250
- hvac_mode_setting: {
1251
- enum: ["off", "heat", "cool", "heat_cool"],
1252
- type: "string"
1253
- },
1254
- manual_override_allowed: { type: "boolean" }
2046
+ entry_name: { type: "string" },
2047
+ org_name: { type: "string" },
2048
+ site_id: { type: "number" },
2049
+ site_name: { type: "string" },
2050
+ zone_id: { type: "number" },
2051
+ zone_name: { type: "string" }
1255
2052
  },
1256
2053
  required: [
1257
- "automatic_heating_enabled",
1258
- "automatic_cooling_enabled",
1259
- "hvac_mode_setting",
1260
- "manual_override_allowed"
2054
+ "entry_name",
2055
+ "org_name",
2056
+ "zone_id",
2057
+ "zone_name",
2058
+ "site_id",
2059
+ "site_name"
1261
2060
  ],
1262
2061
  type: "object"
1263
2062
  },
1264
- default_climate_setting: {
2063
+ brivo_metadata: {
2064
+ properties: { device_name: { type: "string" } },
2065
+ required: ["device_name"],
2066
+ type: "object"
2067
+ },
2068
+ controlbyweb_metadata: {
1265
2069
  properties: {
1266
- automatic_cooling_enabled: { type: "boolean" },
1267
- automatic_heating_enabled: { type: "boolean" },
1268
- cooling_set_point_celsius: { type: "number" },
1269
- cooling_set_point_fahrenheit: { type: "number" },
1270
- heating_set_point_celsius: { type: "number" },
1271
- heating_set_point_fahrenheit: { type: "number" },
1272
- hvac_mode_setting: {
1273
- enum: ["off", "heat", "cool", "heat_cool"],
1274
- type: "string"
2070
+ device_id: { type: "string" },
2071
+ device_name: { type: "string" },
2072
+ relay_name: { nullable: true, type: "string" }
2073
+ },
2074
+ required: [
2075
+ "device_id",
2076
+ "device_name",
2077
+ "relay_name"
2078
+ ],
2079
+ type: "object"
2080
+ },
2081
+ dormakaba_oracode_metadata: {
2082
+ properties: {
2083
+ device_id: { type: "number" },
2084
+ door_id: { type: "number" },
2085
+ door_name: { type: "string" },
2086
+ iana_timezone: { type: "string" },
2087
+ predefined_time_slots: {
2088
+ items: {
2089
+ properties: {
2090
+ check_in_time: { type: "string" },
2091
+ check_out_time: { type: "string" },
2092
+ dormakaba_oracode_user_level_id: {
2093
+ format: "uuid",
2094
+ type: "string"
2095
+ },
2096
+ ext_dormakaba_oracode_user_level_prefix: {
2097
+ type: "number"
2098
+ },
2099
+ is_24_hour: { type: "boolean" },
2100
+ is_biweekly_mode: { type: "boolean" },
2101
+ is_master: { type: "boolean" },
2102
+ is_one_shot: { type: "boolean" },
2103
+ name: { type: "string" },
2104
+ prefix: { type: "number" }
2105
+ },
2106
+ required: [
2107
+ "name",
2108
+ "prefix",
2109
+ "check_in_time",
2110
+ "check_out_time",
2111
+ "is_24_hour",
2112
+ "is_biweekly_mode",
2113
+ "is_one_shot",
2114
+ "is_master",
2115
+ "ext_dormakaba_oracode_user_level_prefix",
2116
+ "dormakaba_oracode_user_level_id"
2117
+ ],
2118
+ type: "object"
2119
+ },
2120
+ type: "array"
1275
2121
  },
1276
- manual_override_allowed: { type: "boolean" }
2122
+ site_id: { type: "number" },
2123
+ site_name: { type: "string" }
1277
2124
  },
1278
2125
  required: [
1279
- "automatic_heating_enabled",
1280
- "automatic_cooling_enabled",
1281
- "hvac_mode_setting",
1282
- "manual_override_allowed"
2126
+ "door_id",
2127
+ "door_name",
2128
+ "site_id",
2129
+ "site_name"
1283
2130
  ],
1284
2131
  type: "object"
1285
2132
  },
1286
- fan_mode_setting: {
1287
- enum: ["auto", "on"],
1288
- type: "string"
2133
+ ecobee_metadata: {
2134
+ properties: {
2135
+ device_name: { type: "string" },
2136
+ ecobee_device_id: { type: "string" }
2137
+ },
2138
+ required: ["ecobee_device_id", "device_name"],
2139
+ type: "object"
1289
2140
  },
1290
- is_climate_setting_schedule_active: {
1291
- type: "boolean"
2141
+ four_suites_metadata: {
2142
+ properties: {
2143
+ device_id: { type: "number" },
2144
+ device_name: { type: "string" },
2145
+ reclose_delay_in_seconds: { type: "number" }
2146
+ },
2147
+ required: [
2148
+ "device_id",
2149
+ "device_name",
2150
+ "reclose_delay_in_seconds"
2151
+ ],
2152
+ type: "object"
1292
2153
  },
1293
- is_cooling: { type: "boolean" },
1294
- is_cooling_available: {
1295
- enum: [true],
1296
- type: "boolean"
2154
+ genie_metadata: {
2155
+ properties: {
2156
+ device_name: { type: "string" },
2157
+ door_name: { type: "string" }
2158
+ },
2159
+ required: ["device_name", "door_name"],
2160
+ type: "object"
1297
2161
  },
1298
- is_fan_running: { type: "boolean" },
1299
- is_heating: { type: "boolean" },
1300
- is_heating_available: {
1301
- enum: [true],
1302
- type: "boolean"
2162
+ hubitat_metadata: {
2163
+ properties: {
2164
+ device_id: { type: "string" },
2165
+ device_label: { type: "string" },
2166
+ device_name: { type: "string" }
2167
+ },
2168
+ required: [
2169
+ "device_id",
2170
+ "device_name",
2171
+ "device_label"
2172
+ ],
2173
+ type: "object"
1303
2174
  },
1304
- is_temporary_manual_override_active: {
1305
- type: "boolean"
2175
+ igloo_metadata: {
2176
+ properties: {
2177
+ bridge_id: { type: "string" },
2178
+ device_id: { type: "string" },
2179
+ model: { type: "string" }
2180
+ },
2181
+ required: ["device_id", "bridge_id"],
2182
+ type: "object"
1306
2183
  },
1307
- max_cooling_set_point_celsius: { type: "number" },
1308
- max_cooling_set_point_fahrenheit: { type: "number" },
1309
- max_heating_set_point_celsius: { type: "number" },
1310
- max_heating_set_point_fahrenheit: { type: "number" },
1311
- min_cooling_set_point_celsius: { type: "number" },
1312
- min_cooling_set_point_fahrenheit: { type: "number" },
1313
- min_heating_cooling_delta_celsius: { type: "number" },
1314
- min_heating_cooling_delta_fahrenheit: {
1315
- type: "number"
2184
+ igloohome_metadata: {
2185
+ properties: {
2186
+ bridge_id: { type: "string" },
2187
+ bridge_name: { type: "string" },
2188
+ device_id: { type: "string" },
2189
+ device_name: { type: "string" }
2190
+ },
2191
+ required: ["device_id", "device_name"],
2192
+ type: "object"
1316
2193
  },
1317
- min_heating_set_point_celsius: { type: "number" },
1318
- min_heating_set_point_fahrenheit: { type: "number" },
1319
- relative_humidity: {
1320
- maximum: 1,
1321
- minimum: 0,
1322
- type: "number"
2194
+ kwikset_metadata: {
2195
+ properties: {
2196
+ device_id: { type: "string" },
2197
+ device_name: { type: "string" },
2198
+ model_number: { type: "string" }
2199
+ },
2200
+ required: [
2201
+ "device_id",
2202
+ "device_name",
2203
+ "model_number"
2204
+ ],
2205
+ type: "object"
1323
2206
  },
1324
- temperature_celsius: { type: "number" },
1325
- temperature_fahrenheit: { type: "number" }
1326
- },
1327
- type: "object"
1328
- },
1329
- {
1330
- properties: {
1331
- active_climate_setting_schedule: {
2207
+ lockly_metadata: {
1332
2208
  properties: {
1333
- automatic_cooling_enabled: { type: "boolean" },
1334
- automatic_heating_enabled: { type: "boolean" },
1335
- climate_setting_schedule_id: {
1336
- format: "uuid",
1337
- type: "string"
1338
- },
1339
- cooling_set_point_celsius: { type: "number" },
1340
- cooling_set_point_fahrenheit: { type: "number" },
1341
- created_at: {
1342
- format: "date-time",
1343
- type: "string"
1344
- },
1345
2209
  device_id: { type: "string" },
1346
- errors: {
1347
- 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.',
1348
- nullable: true
1349
- },
1350
- heating_set_point_celsius: { type: "number" },
1351
- heating_set_point_fahrenheit: { type: "number" },
1352
- hvac_mode_setting: {
1353
- enum: ["off", "heat", "cool", "heat_cool"],
1354
- type: "string"
1355
- },
1356
- manual_override_allowed: { type: "boolean" },
1357
- name: { type: "string" },
1358
- schedule_ends_at: { type: "string" },
1359
- schedule_starts_at: { type: "string" },
1360
- schedule_type: {
1361
- enum: ["time_bound"],
1362
- type: "string"
2210
+ device_name: { type: "string" },
2211
+ model: { type: "string" }
2212
+ },
2213
+ required: ["device_id", "device_name"],
2214
+ type: "object"
2215
+ },
2216
+ minut_metadata: {
2217
+ properties: {
2218
+ device_id: { type: "string" },
2219
+ device_name: { type: "string" },
2220
+ latest_sensor_values: {
2221
+ properties: {
2222
+ accelerometer_z: {
2223
+ properties: {
2224
+ time: { type: "string" },
2225
+ value: { type: "number" }
2226
+ },
2227
+ required: ["time", "value"],
2228
+ type: "object"
2229
+ },
2230
+ humidity: {
2231
+ properties: {
2232
+ time: { type: "string" },
2233
+ value: { type: "number" }
2234
+ },
2235
+ required: ["time", "value"],
2236
+ type: "object"
2237
+ },
2238
+ pressure: {
2239
+ properties: {
2240
+ time: { type: "string" },
2241
+ value: { type: "number" }
2242
+ },
2243
+ required: ["time", "value"],
2244
+ type: "object"
2245
+ },
2246
+ sound: {
2247
+ properties: {
2248
+ time: { type: "string" },
2249
+ value: { type: "number" }
2250
+ },
2251
+ required: ["time", "value"],
2252
+ type: "object"
2253
+ },
2254
+ temperature: {
2255
+ properties: {
2256
+ time: { type: "string" },
2257
+ value: { type: "number" }
2258
+ },
2259
+ required: ["time", "value"],
2260
+ type: "object"
2261
+ }
2262
+ },
2263
+ required: [
2264
+ "temperature",
2265
+ "sound",
2266
+ "humidity",
2267
+ "pressure",
2268
+ "accelerometer_z"
2269
+ ],
2270
+ type: "object"
1363
2271
  }
1364
2272
  },
1365
2273
  required: [
1366
- "climate_setting_schedule_id",
1367
- "schedule_type",
1368
2274
  "device_id",
1369
- "schedule_starts_at",
1370
- "schedule_ends_at",
1371
- "created_at"
2275
+ "device_name",
2276
+ "latest_sensor_values"
1372
2277
  ],
1373
2278
  type: "object"
1374
2279
  },
1375
- available_hvac_mode_settings: {
1376
- items: {
1377
- enum: ["off", "heat", "cool", "heat_cool"],
1378
- type: "string"
2280
+ nest_metadata: {
2281
+ properties: {
2282
+ custom_name: { type: "string" },
2283
+ device_name: { type: "string" },
2284
+ nest_device_id: { type: "string" }
1379
2285
  },
1380
- type: "array"
2286
+ required: [
2287
+ "nest_device_id",
2288
+ "device_name",
2289
+ "custom_name"
2290
+ ],
2291
+ type: "object"
1381
2292
  },
1382
- can_enable_automatic_cooling: { type: "boolean" },
1383
- can_enable_automatic_heating: { type: "boolean" },
1384
- current_climate_setting: {
2293
+ noiseaware_metadata: {
1385
2294
  properties: {
1386
- automatic_cooling_enabled: { type: "boolean" },
1387
- automatic_heating_enabled: { type: "boolean" },
1388
- cooling_set_point_celsius: { type: "number" },
1389
- cooling_set_point_fahrenheit: { type: "number" },
1390
- heating_set_point_celsius: { type: "number" },
1391
- heating_set_point_fahrenheit: { type: "number" },
1392
- hvac_mode_setting: {
1393
- enum: ["off", "heat", "cool", "heat_cool"],
2295
+ device_id: { type: "string" },
2296
+ device_model: {
2297
+ enum: ["indoor", "outdoor"],
1394
2298
  type: "string"
1395
2299
  },
1396
- manual_override_allowed: { type: "boolean" }
2300
+ device_name: { type: "string" },
2301
+ noise_level_decibel: { type: "number" },
2302
+ noise_level_nrs: { type: "number" }
1397
2303
  },
1398
2304
  required: [
1399
- "automatic_heating_enabled",
1400
- "automatic_cooling_enabled",
1401
- "hvac_mode_setting",
1402
- "manual_override_allowed"
2305
+ "device_model",
2306
+ "noise_level_nrs",
2307
+ "noise_level_decibel",
2308
+ "device_name",
2309
+ "device_id"
1403
2310
  ],
1404
2311
  type: "object"
1405
2312
  },
1406
- default_climate_setting: {
2313
+ nuki_metadata: {
1407
2314
  properties: {
1408
- automatic_cooling_enabled: { type: "boolean" },
1409
- automatic_heating_enabled: { type: "boolean" },
1410
- cooling_set_point_celsius: { type: "number" },
1411
- cooling_set_point_fahrenheit: { type: "number" },
1412
- heating_set_point_celsius: { type: "number" },
1413
- heating_set_point_fahrenheit: { type: "number" },
1414
- hvac_mode_setting: {
1415
- enum: ["off", "heat", "cool", "heat_cool"],
1416
- type: "string"
1417
- },
1418
- manual_override_allowed: { type: "boolean" }
2315
+ device_id: { type: "string" },
2316
+ device_name: { type: "string" },
2317
+ keypad_battery_critical: { type: "boolean" }
2318
+ },
2319
+ required: ["device_id", "device_name"],
2320
+ type: "object"
2321
+ },
2322
+ salto_metadata: {
2323
+ properties: {
2324
+ battery_level: { type: "string" },
2325
+ customer_reference: { type: "string" },
2326
+ lock_id: { type: "string" },
2327
+ lock_type: { type: "string" },
2328
+ locked_state: { type: "string" },
2329
+ model: { type: "string" }
1419
2330
  },
1420
2331
  required: [
1421
- "automatic_heating_enabled",
1422
- "automatic_cooling_enabled",
1423
- "hvac_mode_setting",
1424
- "manual_override_allowed"
2332
+ "lock_id",
2333
+ "customer_reference",
2334
+ "lock_type",
2335
+ "battery_level",
2336
+ "locked_state"
1425
2337
  ],
1426
2338
  type: "object"
1427
2339
  },
1428
- fan_mode_setting: {
1429
- enum: ["auto", "on"],
1430
- type: "string"
2340
+ schlage_metadata: {
2341
+ properties: {
2342
+ access_code_length: { type: "number" },
2343
+ device_id: { type: "string" },
2344
+ device_name: { type: "string" },
2345
+ model: { type: "string" }
2346
+ },
2347
+ required: [
2348
+ "device_id",
2349
+ "device_name",
2350
+ "access_code_length"
2351
+ ],
2352
+ type: "object"
1431
2353
  },
1432
- is_climate_setting_schedule_active: {
1433
- type: "boolean"
2354
+ seam_bridge_metadata: {
2355
+ properties: {
2356
+ device_num: { type: "number" },
2357
+ name: { type: "string" },
2358
+ unlock_method: {
2359
+ enum: ["bridge", "doorking"],
2360
+ type: "string"
2361
+ }
2362
+ },
2363
+ required: ["device_num", "name"],
2364
+ type: "object"
1434
2365
  },
1435
- is_cooling: { type: "boolean" },
1436
- is_cooling_available: {
1437
- enum: [false],
1438
- type: "boolean"
2366
+ smartthings_metadata: {
2367
+ properties: {
2368
+ device_id: { type: "string" },
2369
+ device_name: { type: "string" },
2370
+ location_id: { type: "string" },
2371
+ model: { type: "string" }
2372
+ },
2373
+ required: ["device_id", "device_name"],
2374
+ type: "object"
1439
2375
  },
1440
- is_fan_running: { type: "boolean" },
1441
- is_heating: { type: "boolean" },
1442
- is_heating_available: {
1443
- enum: [true],
1444
- type: "boolean"
2376
+ ttlock_metadata: {
2377
+ properties: {
2378
+ lock_alias: { type: "string" },
2379
+ lock_id: { type: "number" }
2380
+ },
2381
+ required: ["lock_id", "lock_alias"],
2382
+ type: "object"
1445
2383
  },
1446
- is_temporary_manual_override_active: {
1447
- type: "boolean"
2384
+ two_n_metadata: {
2385
+ properties: {
2386
+ device_id: { type: "number" },
2387
+ device_name: { type: "string" }
2388
+ },
2389
+ required: ["device_id", "device_name"],
2390
+ type: "object"
1448
2391
  },
1449
- max_heating_set_point_celsius: { type: "number" },
1450
- max_heating_set_point_fahrenheit: { type: "number" },
1451
- min_heating_set_point_celsius: { type: "number" },
1452
- min_heating_set_point_fahrenheit: { type: "number" },
1453
- relative_humidity: {
1454
- maximum: 1,
1455
- minimum: 0,
1456
- type: "number"
2392
+ wyze_metadata: {
2393
+ properties: {
2394
+ device_id: { type: "string" },
2395
+ device_info_model: { type: "string" },
2396
+ device_name: { type: "string" },
2397
+ product_model: { type: "string" },
2398
+ product_name: { type: "string" },
2399
+ product_type: { type: "string" }
2400
+ },
2401
+ required: [
2402
+ "device_id",
2403
+ "device_name",
2404
+ "product_name",
2405
+ "product_type",
2406
+ "product_model",
2407
+ "device_info_model"
2408
+ ],
2409
+ type: "object"
2410
+ }
2411
+ },
2412
+ type: "object"
2413
+ }
2414
+ ]
2415
+ },
2416
+ {
2417
+ allOf: [
2418
+ {
2419
+ properties: {
2420
+ code_constraints: {
2421
+ items: {
2422
+ oneOf: [
2423
+ {
2424
+ properties: {
2425
+ constraint_type: {
2426
+ enum: [
2427
+ "no_zeros",
2428
+ "cannot_start_with_12",
2429
+ "no_triple_consecutive_ints",
2430
+ "cannot_specify_pin_code",
2431
+ "pin_code_matches_existing_set",
2432
+ "start_date_in_future"
2433
+ ],
2434
+ type: "string"
2435
+ }
2436
+ },
2437
+ required: ["constraint_type"],
2438
+ type: "object"
2439
+ },
2440
+ {
2441
+ properties: {
2442
+ constraint_type: {
2443
+ enum: ["name_length"],
2444
+ type: "string"
2445
+ },
2446
+ max_length: { type: "number" },
2447
+ min_length: { type: "number" }
2448
+ },
2449
+ required: ["constraint_type"],
2450
+ type: "object"
2451
+ }
2452
+ ]
2453
+ },
2454
+ type: "array"
2455
+ },
2456
+ door_open: { type: "boolean" },
2457
+ has_native_entry_events: { type: "boolean" },
2458
+ keypad_battery: {
2459
+ properties: { level: { type: "number" } },
2460
+ required: ["level"],
2461
+ type: "object"
2462
+ },
2463
+ locked: { type: "boolean" },
2464
+ max_active_codes_supported: { type: "number" },
2465
+ supported_code_lengths: {
2466
+ items: { type: "number" },
2467
+ type: "array"
1457
2468
  },
1458
- temperature_celsius: { type: "number" },
1459
- temperature_fahrenheit: { type: "number" }
2469
+ supports_backup_access_code_pool: { type: "boolean" }
1460
2470
  },
1461
2471
  type: "object"
1462
2472
  },
1463
2473
  {
1464
- properties: {
1465
- active_climate_setting_schedule: {
2474
+ oneOf: [
2475
+ {
1466
2476
  properties: {
1467
- automatic_cooling_enabled: { type: "boolean" },
1468
- automatic_heating_enabled: { type: "boolean" },
1469
- climate_setting_schedule_id: {
1470
- format: "uuid",
2477
+ active_climate_setting_schedule: {
2478
+ properties: {
2479
+ automatic_cooling_enabled: {
2480
+ type: "boolean"
2481
+ },
2482
+ automatic_heating_enabled: {
2483
+ type: "boolean"
2484
+ },
2485
+ climate_setting_schedule_id: {
2486
+ format: "uuid",
2487
+ type: "string"
2488
+ },
2489
+ cooling_set_point_celsius: { type: "number" },
2490
+ cooling_set_point_fahrenheit: {
2491
+ type: "number"
2492
+ },
2493
+ created_at: {
2494
+ format: "date-time",
2495
+ type: "string"
2496
+ },
2497
+ device_id: { type: "string" },
2498
+ errors: {
2499
+ 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.',
2500
+ nullable: true
2501
+ },
2502
+ heating_set_point_celsius: { type: "number" },
2503
+ heating_set_point_fahrenheit: {
2504
+ type: "number"
2505
+ },
2506
+ hvac_mode_setting: {
2507
+ enum: ["off", "heat", "cool", "heat_cool"],
2508
+ type: "string"
2509
+ },
2510
+ manual_override_allowed: { type: "boolean" },
2511
+ name: { type: "string" },
2512
+ schedule_ends_at: { type: "string" },
2513
+ schedule_starts_at: { type: "string" },
2514
+ schedule_type: {
2515
+ enum: ["time_bound"],
2516
+ type: "string"
2517
+ }
2518
+ },
2519
+ required: [
2520
+ "climate_setting_schedule_id",
2521
+ "schedule_type",
2522
+ "device_id",
2523
+ "schedule_starts_at",
2524
+ "schedule_ends_at",
2525
+ "created_at"
2526
+ ],
2527
+ type: "object"
2528
+ },
2529
+ available_hvac_mode_settings: {
2530
+ items: {
2531
+ enum: ["off", "heat", "cool", "heat_cool"],
2532
+ type: "string"
2533
+ },
2534
+ type: "array"
2535
+ },
2536
+ can_enable_automatic_cooling: { type: "boolean" },
2537
+ can_enable_automatic_heating: { type: "boolean" },
2538
+ current_climate_setting: {
2539
+ properties: {
2540
+ automatic_cooling_enabled: {
2541
+ type: "boolean"
2542
+ },
2543
+ automatic_heating_enabled: {
2544
+ type: "boolean"
2545
+ },
2546
+ cooling_set_point_celsius: { type: "number" },
2547
+ cooling_set_point_fahrenheit: {
2548
+ type: "number"
2549
+ },
2550
+ heating_set_point_celsius: { type: "number" },
2551
+ heating_set_point_fahrenheit: {
2552
+ type: "number"
2553
+ },
2554
+ hvac_mode_setting: {
2555
+ enum: ["off", "heat", "cool", "heat_cool"],
2556
+ type: "string"
2557
+ },
2558
+ manual_override_allowed: { type: "boolean" }
2559
+ },
2560
+ required: [
2561
+ "automatic_heating_enabled",
2562
+ "automatic_cooling_enabled",
2563
+ "hvac_mode_setting",
2564
+ "manual_override_allowed"
2565
+ ],
2566
+ type: "object"
2567
+ },
2568
+ default_climate_setting: {
2569
+ properties: {
2570
+ automatic_cooling_enabled: {
2571
+ type: "boolean"
2572
+ },
2573
+ automatic_heating_enabled: {
2574
+ type: "boolean"
2575
+ },
2576
+ cooling_set_point_celsius: { type: "number" },
2577
+ cooling_set_point_fahrenheit: {
2578
+ type: "number"
2579
+ },
2580
+ heating_set_point_celsius: { type: "number" },
2581
+ heating_set_point_fahrenheit: {
2582
+ type: "number"
2583
+ },
2584
+ hvac_mode_setting: {
2585
+ enum: ["off", "heat", "cool", "heat_cool"],
2586
+ type: "string"
2587
+ },
2588
+ manual_override_allowed: { type: "boolean" }
2589
+ },
2590
+ required: [
2591
+ "automatic_heating_enabled",
2592
+ "automatic_cooling_enabled",
2593
+ "hvac_mode_setting",
2594
+ "manual_override_allowed"
2595
+ ],
2596
+ type: "object"
2597
+ },
2598
+ fan_mode_setting: {
2599
+ enum: ["auto", "on"],
1471
2600
  type: "string"
1472
2601
  },
1473
- cooling_set_point_celsius: { type: "number" },
1474
- cooling_set_point_fahrenheit: { type: "number" },
1475
- created_at: {
1476
- format: "date-time",
2602
+ is_climate_setting_schedule_active: {
2603
+ type: "boolean"
2604
+ },
2605
+ is_cooling: { type: "boolean" },
2606
+ is_cooling_available: {
2607
+ enum: [true],
2608
+ type: "boolean"
2609
+ },
2610
+ is_fan_running: { type: "boolean" },
2611
+ is_heating: { type: "boolean" },
2612
+ is_heating_available: {
2613
+ enum: [true],
2614
+ type: "boolean"
2615
+ },
2616
+ is_temporary_manual_override_active: {
2617
+ type: "boolean"
2618
+ },
2619
+ max_cooling_set_point_celsius: { type: "number" },
2620
+ max_cooling_set_point_fahrenheit: {
2621
+ type: "number"
2622
+ },
2623
+ max_heating_set_point_celsius: { type: "number" },
2624
+ max_heating_set_point_fahrenheit: {
2625
+ type: "number"
2626
+ },
2627
+ min_cooling_set_point_celsius: { type: "number" },
2628
+ min_cooling_set_point_fahrenheit: {
2629
+ type: "number"
2630
+ },
2631
+ min_heating_cooling_delta_celsius: {
2632
+ type: "number"
2633
+ },
2634
+ min_heating_cooling_delta_fahrenheit: {
2635
+ type: "number"
2636
+ },
2637
+ min_heating_set_point_celsius: { type: "number" },
2638
+ min_heating_set_point_fahrenheit: {
2639
+ type: "number"
2640
+ },
2641
+ relative_humidity: {
2642
+ maximum: 1,
2643
+ minimum: 0,
2644
+ type: "number"
2645
+ },
2646
+ temperature_celsius: { type: "number" },
2647
+ temperature_fahrenheit: { type: "number" }
2648
+ },
2649
+ type: "object"
2650
+ },
2651
+ {
2652
+ properties: {
2653
+ active_climate_setting_schedule: {
2654
+ properties: {
2655
+ automatic_cooling_enabled: {
2656
+ type: "boolean"
2657
+ },
2658
+ automatic_heating_enabled: {
2659
+ type: "boolean"
2660
+ },
2661
+ climate_setting_schedule_id: {
2662
+ format: "uuid",
2663
+ type: "string"
2664
+ },
2665
+ cooling_set_point_celsius: { type: "number" },
2666
+ cooling_set_point_fahrenheit: {
2667
+ type: "number"
2668
+ },
2669
+ created_at: {
2670
+ format: "date-time",
2671
+ type: "string"
2672
+ },
2673
+ device_id: { type: "string" },
2674
+ errors: {
2675
+ 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.',
2676
+ nullable: true
2677
+ },
2678
+ heating_set_point_celsius: { type: "number" },
2679
+ heating_set_point_fahrenheit: {
2680
+ type: "number"
2681
+ },
2682
+ hvac_mode_setting: {
2683
+ enum: ["off", "heat", "cool", "heat_cool"],
2684
+ type: "string"
2685
+ },
2686
+ manual_override_allowed: { type: "boolean" },
2687
+ name: { type: "string" },
2688
+ schedule_ends_at: { type: "string" },
2689
+ schedule_starts_at: { type: "string" },
2690
+ schedule_type: {
2691
+ enum: ["time_bound"],
2692
+ type: "string"
2693
+ }
2694
+ },
2695
+ required: [
2696
+ "climate_setting_schedule_id",
2697
+ "schedule_type",
2698
+ "device_id",
2699
+ "schedule_starts_at",
2700
+ "schedule_ends_at",
2701
+ "created_at"
2702
+ ],
2703
+ type: "object"
2704
+ },
2705
+ available_hvac_mode_settings: {
2706
+ items: {
2707
+ enum: ["off", "heat", "cool", "heat_cool"],
2708
+ type: "string"
2709
+ },
2710
+ type: "array"
2711
+ },
2712
+ can_enable_automatic_cooling: { type: "boolean" },
2713
+ can_enable_automatic_heating: { type: "boolean" },
2714
+ current_climate_setting: {
2715
+ properties: {
2716
+ automatic_cooling_enabled: {
2717
+ type: "boolean"
2718
+ },
2719
+ automatic_heating_enabled: {
2720
+ type: "boolean"
2721
+ },
2722
+ cooling_set_point_celsius: { type: "number" },
2723
+ cooling_set_point_fahrenheit: {
2724
+ type: "number"
2725
+ },
2726
+ heating_set_point_celsius: { type: "number" },
2727
+ heating_set_point_fahrenheit: {
2728
+ type: "number"
2729
+ },
2730
+ hvac_mode_setting: {
2731
+ enum: ["off", "heat", "cool", "heat_cool"],
2732
+ type: "string"
2733
+ },
2734
+ manual_override_allowed: { type: "boolean" }
2735
+ },
2736
+ required: [
2737
+ "automatic_heating_enabled",
2738
+ "automatic_cooling_enabled",
2739
+ "hvac_mode_setting",
2740
+ "manual_override_allowed"
2741
+ ],
2742
+ type: "object"
2743
+ },
2744
+ default_climate_setting: {
2745
+ properties: {
2746
+ automatic_cooling_enabled: {
2747
+ type: "boolean"
2748
+ },
2749
+ automatic_heating_enabled: {
2750
+ type: "boolean"
2751
+ },
2752
+ cooling_set_point_celsius: { type: "number" },
2753
+ cooling_set_point_fahrenheit: {
2754
+ type: "number"
2755
+ },
2756
+ heating_set_point_celsius: { type: "number" },
2757
+ heating_set_point_fahrenheit: {
2758
+ type: "number"
2759
+ },
2760
+ hvac_mode_setting: {
2761
+ enum: ["off", "heat", "cool", "heat_cool"],
2762
+ type: "string"
2763
+ },
2764
+ manual_override_allowed: { type: "boolean" }
2765
+ },
2766
+ required: [
2767
+ "automatic_heating_enabled",
2768
+ "automatic_cooling_enabled",
2769
+ "hvac_mode_setting",
2770
+ "manual_override_allowed"
2771
+ ],
2772
+ type: "object"
2773
+ },
2774
+ fan_mode_setting: {
2775
+ enum: ["auto", "on"],
1477
2776
  type: "string"
1478
2777
  },
1479
- device_id: { type: "string" },
1480
- errors: {
1481
- 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.',
1482
- nullable: true
2778
+ is_climate_setting_schedule_active: {
2779
+ type: "boolean"
1483
2780
  },
1484
- heating_set_point_celsius: { type: "number" },
1485
- heating_set_point_fahrenheit: { type: "number" },
1486
- hvac_mode_setting: {
1487
- enum: ["off", "heat", "cool", "heat_cool"],
1488
- type: "string"
2781
+ is_cooling: { type: "boolean" },
2782
+ is_cooling_available: {
2783
+ enum: [false],
2784
+ type: "boolean"
1489
2785
  },
1490
- manual_override_allowed: { type: "boolean" },
1491
- name: { type: "string" },
1492
- schedule_ends_at: { type: "string" },
1493
- schedule_starts_at: { type: "string" },
1494
- schedule_type: {
1495
- enum: ["time_bound"],
1496
- type: "string"
1497
- }
1498
- },
1499
- required: [
1500
- "climate_setting_schedule_id",
1501
- "schedule_type",
1502
- "device_id",
1503
- "schedule_starts_at",
1504
- "schedule_ends_at",
1505
- "created_at"
1506
- ],
1507
- type: "object"
1508
- },
1509
- available_hvac_mode_settings: {
1510
- items: {
1511
- enum: ["off", "heat", "cool", "heat_cool"],
1512
- type: "string"
1513
- },
1514
- type: "array"
1515
- },
1516
- can_enable_automatic_cooling: { type: "boolean" },
1517
- can_enable_automatic_heating: { type: "boolean" },
1518
- current_climate_setting: {
1519
- properties: {
1520
- automatic_cooling_enabled: { type: "boolean" },
1521
- automatic_heating_enabled: { type: "boolean" },
1522
- cooling_set_point_celsius: { type: "number" },
1523
- cooling_set_point_fahrenheit: { type: "number" },
1524
- heating_set_point_celsius: { type: "number" },
1525
- heating_set_point_fahrenheit: { type: "number" },
1526
- hvac_mode_setting: {
1527
- enum: ["off", "heat", "cool", "heat_cool"],
1528
- type: "string"
2786
+ is_fan_running: { type: "boolean" },
2787
+ is_heating: { type: "boolean" },
2788
+ is_heating_available: {
2789
+ enum: [true],
2790
+ type: "boolean"
2791
+ },
2792
+ is_temporary_manual_override_active: {
2793
+ type: "boolean"
2794
+ },
2795
+ max_heating_set_point_celsius: { type: "number" },
2796
+ max_heating_set_point_fahrenheit: {
2797
+ type: "number"
1529
2798
  },
1530
- manual_override_allowed: { type: "boolean" }
2799
+ min_heating_set_point_celsius: { type: "number" },
2800
+ min_heating_set_point_fahrenheit: {
2801
+ type: "number"
2802
+ },
2803
+ relative_humidity: {
2804
+ maximum: 1,
2805
+ minimum: 0,
2806
+ type: "number"
2807
+ },
2808
+ temperature_celsius: { type: "number" },
2809
+ temperature_fahrenheit: { type: "number" }
1531
2810
  },
1532
- required: [
1533
- "automatic_heating_enabled",
1534
- "automatic_cooling_enabled",
1535
- "hvac_mode_setting",
1536
- "manual_override_allowed"
1537
- ],
1538
2811
  type: "object"
1539
2812
  },
1540
- default_climate_setting: {
2813
+ {
1541
2814
  properties: {
1542
- automatic_cooling_enabled: { type: "boolean" },
1543
- automatic_heating_enabled: { type: "boolean" },
1544
- cooling_set_point_celsius: { type: "number" },
1545
- cooling_set_point_fahrenheit: { type: "number" },
1546
- heating_set_point_celsius: { type: "number" },
1547
- heating_set_point_fahrenheit: { type: "number" },
1548
- hvac_mode_setting: {
1549
- enum: ["off", "heat", "cool", "heat_cool"],
2815
+ active_climate_setting_schedule: {
2816
+ properties: {
2817
+ automatic_cooling_enabled: {
2818
+ type: "boolean"
2819
+ },
2820
+ automatic_heating_enabled: {
2821
+ type: "boolean"
2822
+ },
2823
+ climate_setting_schedule_id: {
2824
+ format: "uuid",
2825
+ type: "string"
2826
+ },
2827
+ cooling_set_point_celsius: { type: "number" },
2828
+ cooling_set_point_fahrenheit: {
2829
+ type: "number"
2830
+ },
2831
+ created_at: {
2832
+ format: "date-time",
2833
+ type: "string"
2834
+ },
2835
+ device_id: { type: "string" },
2836
+ errors: {
2837
+ 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.',
2838
+ nullable: true
2839
+ },
2840
+ heating_set_point_celsius: { type: "number" },
2841
+ heating_set_point_fahrenheit: {
2842
+ type: "number"
2843
+ },
2844
+ hvac_mode_setting: {
2845
+ enum: ["off", "heat", "cool", "heat_cool"],
2846
+ type: "string"
2847
+ },
2848
+ manual_override_allowed: { type: "boolean" },
2849
+ name: { type: "string" },
2850
+ schedule_ends_at: { type: "string" },
2851
+ schedule_starts_at: { type: "string" },
2852
+ schedule_type: {
2853
+ enum: ["time_bound"],
2854
+ type: "string"
2855
+ }
2856
+ },
2857
+ required: [
2858
+ "climate_setting_schedule_id",
2859
+ "schedule_type",
2860
+ "device_id",
2861
+ "schedule_starts_at",
2862
+ "schedule_ends_at",
2863
+ "created_at"
2864
+ ],
2865
+ type: "object"
2866
+ },
2867
+ available_hvac_mode_settings: {
2868
+ items: {
2869
+ enum: ["off", "heat", "cool", "heat_cool"],
2870
+ type: "string"
2871
+ },
2872
+ type: "array"
2873
+ },
2874
+ can_enable_automatic_cooling: { type: "boolean" },
2875
+ can_enable_automatic_heating: { type: "boolean" },
2876
+ current_climate_setting: {
2877
+ properties: {
2878
+ automatic_cooling_enabled: {
2879
+ type: "boolean"
2880
+ },
2881
+ automatic_heating_enabled: {
2882
+ type: "boolean"
2883
+ },
2884
+ cooling_set_point_celsius: { type: "number" },
2885
+ cooling_set_point_fahrenheit: {
2886
+ type: "number"
2887
+ },
2888
+ heating_set_point_celsius: { type: "number" },
2889
+ heating_set_point_fahrenheit: {
2890
+ type: "number"
2891
+ },
2892
+ hvac_mode_setting: {
2893
+ enum: ["off", "heat", "cool", "heat_cool"],
2894
+ type: "string"
2895
+ },
2896
+ manual_override_allowed: { type: "boolean" }
2897
+ },
2898
+ required: [
2899
+ "automatic_heating_enabled",
2900
+ "automatic_cooling_enabled",
2901
+ "hvac_mode_setting",
2902
+ "manual_override_allowed"
2903
+ ],
2904
+ type: "object"
2905
+ },
2906
+ default_climate_setting: {
2907
+ properties: {
2908
+ automatic_cooling_enabled: {
2909
+ type: "boolean"
2910
+ },
2911
+ automatic_heating_enabled: {
2912
+ type: "boolean"
2913
+ },
2914
+ cooling_set_point_celsius: { type: "number" },
2915
+ cooling_set_point_fahrenheit: {
2916
+ type: "number"
2917
+ },
2918
+ heating_set_point_celsius: { type: "number" },
2919
+ heating_set_point_fahrenheit: {
2920
+ type: "number"
2921
+ },
2922
+ hvac_mode_setting: {
2923
+ enum: ["off", "heat", "cool", "heat_cool"],
2924
+ type: "string"
2925
+ },
2926
+ manual_override_allowed: { type: "boolean" }
2927
+ },
2928
+ required: [
2929
+ "automatic_heating_enabled",
2930
+ "automatic_cooling_enabled",
2931
+ "hvac_mode_setting",
2932
+ "manual_override_allowed"
2933
+ ],
2934
+ type: "object"
2935
+ },
2936
+ fan_mode_setting: {
2937
+ enum: ["auto", "on"],
1550
2938
  type: "string"
1551
2939
  },
1552
- manual_override_allowed: { type: "boolean" }
2940
+ is_climate_setting_schedule_active: {
2941
+ type: "boolean"
2942
+ },
2943
+ is_cooling: { type: "boolean" },
2944
+ is_cooling_available: {
2945
+ enum: [true],
2946
+ type: "boolean"
2947
+ },
2948
+ is_fan_running: { type: "boolean" },
2949
+ is_heating: { type: "boolean" },
2950
+ is_heating_available: {
2951
+ enum: [false],
2952
+ type: "boolean"
2953
+ },
2954
+ is_temporary_manual_override_active: {
2955
+ type: "boolean"
2956
+ },
2957
+ max_cooling_set_point_celsius: { type: "number" },
2958
+ max_cooling_set_point_fahrenheit: {
2959
+ type: "number"
2960
+ },
2961
+ min_cooling_set_point_celsius: { type: "number" },
2962
+ min_cooling_set_point_fahrenheit: {
2963
+ type: "number"
2964
+ },
2965
+ relative_humidity: {
2966
+ maximum: 1,
2967
+ minimum: 0,
2968
+ type: "number"
2969
+ },
2970
+ temperature_celsius: { type: "number" },
2971
+ temperature_fahrenheit: { type: "number" }
1553
2972
  },
1554
- required: [
1555
- "automatic_heating_enabled",
1556
- "automatic_cooling_enabled",
1557
- "hvac_mode_setting",
1558
- "manual_override_allowed"
1559
- ],
1560
2973
  type: "object"
1561
- },
1562
- fan_mode_setting: {
1563
- enum: ["auto", "on"],
1564
- type: "string"
1565
- },
1566
- is_climate_setting_schedule_active: {
1567
- type: "boolean"
1568
- },
1569
- is_cooling: { type: "boolean" },
1570
- is_cooling_available: {
1571
- enum: [true],
1572
- type: "boolean"
1573
- },
1574
- is_fan_running: { type: "boolean" },
1575
- is_heating: { type: "boolean" },
1576
- is_heating_available: {
1577
- enum: [false],
1578
- type: "boolean"
1579
- },
1580
- is_temporary_manual_override_active: {
1581
- type: "boolean"
1582
- },
1583
- max_cooling_set_point_celsius: { type: "number" },
1584
- max_cooling_set_point_fahrenheit: { type: "number" },
1585
- min_cooling_set_point_celsius: { type: "number" },
1586
- min_cooling_set_point_fahrenheit: { type: "number" },
1587
- relative_humidity: {
1588
- maximum: 1,
1589
- minimum: 0,
1590
- type: "number"
1591
- },
1592
- temperature_celsius: { type: "number" },
1593
- temperature_fahrenheit: { type: "number" }
1594
- },
1595
- type: "object"
2974
+ }
2975
+ ]
1596
2976
  }
1597
2977
  ]
1598
2978
  }
1599
2979
  ]
2980
+ },
2981
+ {
2982
+ properties: {
2983
+ assa_abloy_credential_service_metadata: {
2984
+ properties: {
2985
+ endpoints: {
2986
+ items: {
2987
+ properties: {
2988
+ endpoint_id: { type: "string" },
2989
+ is_active: { type: "boolean" }
2990
+ },
2991
+ required: ["endpoint_id", "is_active"],
2992
+ type: "object"
2993
+ },
2994
+ type: "array"
2995
+ },
2996
+ has_active_endpoint: { type: "boolean" }
2997
+ },
2998
+ required: ["has_active_endpoint", "endpoints"],
2999
+ type: "object"
3000
+ }
3001
+ },
3002
+ type: "object"
1600
3003
  }
1601
3004
  ],
1602
3005
  description: "Properties of the device."
@@ -1625,7 +3028,6 @@ var openapi_default = {
1625
3028
  "capabilities_supported",
1626
3029
  "properties",
1627
3030
  "location",
1628
- "connected_account_id",
1629
3031
  "workspace_id",
1630
3032
  "errors",
1631
3033
  "warnings",
@@ -1634,62 +3036,6 @@ var openapi_default = {
1634
3036
  ],
1635
3037
  type: "object"
1636
3038
  },
1637
- device_provider: {
1638
- properties: {
1639
- device_provider_name: { type: "string" },
1640
- display_name: { type: "string" },
1641
- image_url: { type: "string" },
1642
- provider_categories: {
1643
- items: { enum: ["stable", "consumer_smartlocks"], type: "string" },
1644
- type: "array"
1645
- }
1646
- },
1647
- required: [
1648
- "device_provider_name",
1649
- "display_name",
1650
- "image_url",
1651
- "provider_categories"
1652
- ],
1653
- type: "object"
1654
- },
1655
- event: {
1656
- properties: {
1657
- created_at: { format: "date-time", type: "string" },
1658
- device_id: { format: "uuid", type: "string" },
1659
- event_id: { format: "uuid", type: "string" },
1660
- event_type: { type: "string" },
1661
- occurred_at: { format: "date-time", type: "string" },
1662
- workspace_id: { format: "uuid", type: "string" }
1663
- },
1664
- required: [
1665
- "event_id",
1666
- "event_type",
1667
- "workspace_id",
1668
- "created_at",
1669
- "occurred_at"
1670
- ],
1671
- type: "object"
1672
- },
1673
- noise_threshold: {
1674
- properties: {
1675
- device_id: { format: "uuid", type: "string" },
1676
- ends_daily_at: { type: "string" },
1677
- name: { type: "string" },
1678
- noise_threshold_decibels: { type: "number" },
1679
- noise_threshold_id: { format: "uuid", type: "string" },
1680
- noise_threshold_nrs: { type: "number" },
1681
- starts_daily_at: { type: "string" }
1682
- },
1683
- required: [
1684
- "noise_threshold_id",
1685
- "device_id",
1686
- "name",
1687
- "starts_daily_at",
1688
- "ends_daily_at",
1689
- "noise_threshold_decibels"
1690
- ],
1691
- type: "object"
1692
- },
1693
3039
  service_health: {
1694
3040
  properties: {
1695
3041
  description: { type: "string" },
@@ -5088,6 +6434,14 @@ var openapi_default = {
5088
6434
  "application/json": {
5089
6435
  schema: {
5090
6436
  properties: {
6437
+ access_schedule: {
6438
+ properties: {
6439
+ ends_at: { format: "date-time", type: "string" },
6440
+ starts_at: { format: "date-time", type: "string" }
6441
+ },
6442
+ required: ["starts_at", "ends_at"],
6443
+ type: "object"
6444
+ },
5091
6445
  acs_user_id: { format: "uuid", type: "string" },
5092
6446
  email: {
5093
6447
  description: "Deprecated: use email_address.",
@@ -5137,6 +6491,14 @@ var openapi_default = {
5137
6491
  "application/json": {
5138
6492
  schema: {
5139
6493
  properties: {
6494
+ access_schedule: {
6495
+ properties: {
6496
+ ends_at: { format: "date-time", type: "string" },
6497
+ starts_at: { format: "date-time", type: "string" }
6498
+ },
6499
+ required: ["starts_at", "ends_at"],
6500
+ type: "object"
6501
+ },
5140
6502
  acs_user_id: { format: "uuid", type: "string" },
5141
6503
  email: {
5142
6504
  description: "Deprecated: use email_address.",
@@ -7724,18 +9086,115 @@ var openapi_default = {
7724
9086
  "x-fern-sdk-return-value": "devices"
7725
9087
  }
7726
9088
  },
7727
- "/locks/lock_door": {
9089
+ "/locks/lock_door": {
9090
+ post: {
9091
+ operationId: "locksLockDoorPost",
9092
+ requestBody: {
9093
+ content: {
9094
+ "application/json": {
9095
+ schema: {
9096
+ properties: {
9097
+ device_id: { format: "uuid", type: "string" },
9098
+ sync: { default: false, type: "boolean" }
9099
+ },
9100
+ required: ["device_id"],
9101
+ type: "object"
9102
+ }
9103
+ }
9104
+ }
9105
+ },
9106
+ responses: {
9107
+ 200: {
9108
+ content: {
9109
+ "application/json": {
9110
+ schema: {
9111
+ properties: {
9112
+ action_attempt: {
9113
+ $ref: "#/components/schemas/action_attempt"
9114
+ },
9115
+ ok: { type: "boolean" }
9116
+ },
9117
+ required: ["action_attempt", "ok"],
9118
+ type: "object"
9119
+ }
9120
+ }
9121
+ },
9122
+ description: "OK"
9123
+ },
9124
+ 400: { description: "Bad Request" },
9125
+ 401: { description: "Unauthorized" }
9126
+ },
9127
+ security: [
9128
+ { access_token: [], seam_workspace: [] },
9129
+ { seam_client_session_token: [] },
9130
+ { client_session_token: [] }
9131
+ ],
9132
+ summary: "/locks/lock_door",
9133
+ tags: ["/locks"],
9134
+ "x-fern-sdk-group-name": ["locks"],
9135
+ "x-fern-sdk-method-name": "lock_door",
9136
+ "x-fern-sdk-return-value": "action_attempt"
9137
+ }
9138
+ },
9139
+ "/locks/unlock_door": {
9140
+ post: {
9141
+ operationId: "locksUnlockDoorPost",
9142
+ requestBody: {
9143
+ content: {
9144
+ "application/json": {
9145
+ schema: {
9146
+ properties: {
9147
+ device_id: { format: "uuid", type: "string" },
9148
+ sync: { default: false, type: "boolean" }
9149
+ },
9150
+ required: ["device_id"],
9151
+ type: "object"
9152
+ }
9153
+ }
9154
+ }
9155
+ },
9156
+ responses: {
9157
+ 200: {
9158
+ content: {
9159
+ "application/json": {
9160
+ schema: {
9161
+ properties: {
9162
+ action_attempt: {
9163
+ $ref: "#/components/schemas/action_attempt"
9164
+ },
9165
+ ok: { type: "boolean" }
9166
+ },
9167
+ required: ["action_attempt", "ok"],
9168
+ type: "object"
9169
+ }
9170
+ }
9171
+ },
9172
+ description: "OK"
9173
+ },
9174
+ 400: { description: "Bad Request" },
9175
+ 401: { description: "Unauthorized" }
9176
+ },
9177
+ security: [
9178
+ { access_token: [], seam_workspace: [] },
9179
+ { seam_client_session_token: [] },
9180
+ { client_session_token: [] }
9181
+ ],
9182
+ summary: "/locks/unlock_door",
9183
+ tags: ["/locks"],
9184
+ "x-fern-sdk-group-name": ["locks"],
9185
+ "x-fern-sdk-method-name": "unlock_door",
9186
+ "x-fern-sdk-return-value": "action_attempt"
9187
+ }
9188
+ },
9189
+ "/networks/get": {
7728
9190
  post: {
7729
- operationId: "locksLockDoorPost",
9191
+ operationId: "networksGetPost",
7730
9192
  requestBody: {
7731
9193
  content: {
7732
9194
  "application/json": {
7733
9195
  schema: {
7734
- properties: {
7735
- device_id: { format: "uuid", type: "string" },
7736
- sync: { default: false, type: "boolean" }
7737
- },
7738
- required: ["device_id"],
9196
+ properties: { network_id: { format: "uuid", type: "string" } },
9197
+ required: ["network_id"],
7739
9198
  type: "object"
7740
9199
  }
7741
9200
  }
@@ -7747,12 +9206,24 @@ var openapi_default = {
7747
9206
  "application/json": {
7748
9207
  schema: {
7749
9208
  properties: {
7750
- action_attempt: {
7751
- $ref: "#/components/schemas/action_attempt"
9209
+ network: {
9210
+ properties: {
9211
+ created_at: { format: "date-time", type: "string" },
9212
+ display_name: { type: "string" },
9213
+ network_id: { format: "uuid", type: "string" },
9214
+ workspace_id: { format: "uuid", type: "string" }
9215
+ },
9216
+ required: [
9217
+ "network_id",
9218
+ "workspace_id",
9219
+ "display_name",
9220
+ "created_at"
9221
+ ],
9222
+ type: "object"
7752
9223
  },
7753
9224
  ok: { type: "boolean" }
7754
9225
  },
7755
- required: ["action_attempt", "ok"],
9226
+ required: ["network", "ok"],
7756
9227
  type: "object"
7757
9228
  }
7758
9229
  }
@@ -7763,32 +9234,22 @@ var openapi_default = {
7763
9234
  401: { description: "Unauthorized" }
7764
9235
  },
7765
9236
  security: [
7766
- { access_token: [], seam_workspace: [] },
7767
- { seam_client_session_token: [] },
7768
- { client_session_token: [] }
9237
+ { pat_with_workspace: [] },
9238
+ { console_session: [] },
9239
+ { api_key: [] }
7769
9240
  ],
7770
- summary: "/locks/lock_door",
7771
- tags: ["/locks"],
7772
- "x-fern-sdk-group-name": ["locks"],
7773
- "x-fern-sdk-method-name": "lock_door",
7774
- "x-fern-sdk-return-value": "action_attempt"
9241
+ summary: "/networks/get",
9242
+ tags: [],
9243
+ "x-fern-sdk-group-name": ["networks"],
9244
+ "x-fern-sdk-method-name": "get"
7775
9245
  }
7776
9246
  },
7777
- "/locks/unlock_door": {
9247
+ "/networks/list": {
7778
9248
  post: {
7779
- operationId: "locksUnlockDoorPost",
9249
+ operationId: "networksListPost",
7780
9250
  requestBody: {
7781
9251
  content: {
7782
- "application/json": {
7783
- schema: {
7784
- properties: {
7785
- device_id: { format: "uuid", type: "string" },
7786
- sync: { default: false, type: "boolean" }
7787
- },
7788
- required: ["device_id"],
7789
- type: "object"
7790
- }
7791
- }
9252
+ "application/json": { schema: { properties: {}, type: "object" } }
7792
9253
  }
7793
9254
  },
7794
9255
  responses: {
@@ -7797,12 +9258,27 @@ var openapi_default = {
7797
9258
  "application/json": {
7798
9259
  schema: {
7799
9260
  properties: {
7800
- action_attempt: {
7801
- $ref: "#/components/schemas/action_attempt"
9261
+ networks: {
9262
+ items: {
9263
+ properties: {
9264
+ created_at: { format: "date-time", type: "string" },
9265
+ display_name: { type: "string" },
9266
+ network_id: { format: "uuid", type: "string" },
9267
+ workspace_id: { format: "uuid", type: "string" }
9268
+ },
9269
+ required: [
9270
+ "network_id",
9271
+ "workspace_id",
9272
+ "display_name",
9273
+ "created_at"
9274
+ ],
9275
+ type: "object"
9276
+ },
9277
+ type: "array"
7802
9278
  },
7803
9279
  ok: { type: "boolean" }
7804
9280
  },
7805
- required: ["action_attempt", "ok"],
9281
+ required: ["networks", "ok"],
7806
9282
  type: "object"
7807
9283
  }
7808
9284
  }
@@ -7813,15 +9289,14 @@ var openapi_default = {
7813
9289
  401: { description: "Unauthorized" }
7814
9290
  },
7815
9291
  security: [
7816
- { access_token: [], seam_workspace: [] },
7817
- { seam_client_session_token: [] },
7818
- { client_session_token: [] }
9292
+ { pat_with_workspace: [] },
9293
+ { console_session: [] },
9294
+ { api_key: [] }
7819
9295
  ],
7820
- summary: "/locks/unlock_door",
7821
- tags: ["/locks"],
7822
- "x-fern-sdk-group-name": ["locks"],
7823
- "x-fern-sdk-method-name": "unlock_door",
7824
- "x-fern-sdk-return-value": "action_attempt"
9296
+ summary: "/networks/list",
9297
+ tags: [],
9298
+ "x-fern-sdk-group-name": ["networks"],
9299
+ "x-fern-sdk-method-name": "list"
7825
9300
  }
7826
9301
  },
7827
9302
  "/noise_sensors/noise_thresholds/create": {
@@ -8234,6 +9709,135 @@ var openapi_default = {
8234
9709
  "x-fern-sdk-method-name": "trigger_noise_threshold"
8235
9710
  }
8236
9711
  },
9712
+ "/phones/list": {
9713
+ post: {
9714
+ operationId: "phonesListPost",
9715
+ requestBody: {
9716
+ content: {
9717
+ "application/json": {
9718
+ schema: {
9719
+ properties: {
9720
+ owner_user_identity_id: { format: "uuid", type: "string" }
9721
+ },
9722
+ type: "object"
9723
+ }
9724
+ }
9725
+ }
9726
+ },
9727
+ responses: {
9728
+ 200: {
9729
+ content: {
9730
+ "application/json": {
9731
+ schema: {
9732
+ properties: {
9733
+ ok: { type: "boolean" },
9734
+ phones: {
9735
+ items: { $ref: "#/components/schemas/phone" },
9736
+ type: "array"
9737
+ }
9738
+ },
9739
+ required: ["phones", "ok"],
9740
+ type: "object"
9741
+ }
9742
+ }
9743
+ },
9744
+ description: "OK"
9745
+ },
9746
+ 400: { description: "Bad Request" },
9747
+ 401: { description: "Unauthorized" }
9748
+ },
9749
+ security: [
9750
+ { api_key: [] },
9751
+ { pat_with_workspace: [] },
9752
+ { console_session: [] }
9753
+ ],
9754
+ summary: "/phones/list",
9755
+ tags: [],
9756
+ "x-fern-sdk-group-name": ["phones"],
9757
+ "x-fern-sdk-method-name": "list",
9758
+ "x-fern-sdk-return-value": "phones"
9759
+ }
9760
+ },
9761
+ "/phones/simulate/create_sandbox_phone": {
9762
+ post: {
9763
+ operationId: "phonesSimulateCreateSandboxPhonePost",
9764
+ requestBody: {
9765
+ content: {
9766
+ "application/json": {
9767
+ schema: {
9768
+ properties: {
9769
+ assa_abloy_credential_service_acs_system_id: {
9770
+ format: "uuid",
9771
+ type: "string"
9772
+ },
9773
+ custom_sdk_installation_id: { type: "string" },
9774
+ phone_metadata: {
9775
+ default: {},
9776
+ properties: {
9777
+ application_version: { default: "1.0.0", type: "string" },
9778
+ ble_capability: { default: true, type: "boolean" },
9779
+ device_manufacturer: {
9780
+ default: "Samsung",
9781
+ type: "string"
9782
+ },
9783
+ device_model: {
9784
+ default: "Samsung Galaxy S10",
9785
+ type: "string"
9786
+ },
9787
+ hce_capability: { default: false, type: "boolean" },
9788
+ nfc_capability: { default: false, type: "boolean" },
9789
+ operating_system: {
9790
+ default: "android",
9791
+ enum: ["android", "ios"],
9792
+ type: "string"
9793
+ },
9794
+ os_version: { default: "10", type: "string" },
9795
+ seos_applet_version: { default: "1.0.0", type: "string" }
9796
+ },
9797
+ type: "object"
9798
+ },
9799
+ user_identity_id: { format: "uuid", type: "string" }
9800
+ },
9801
+ required: [
9802
+ "assa_abloy_credential_service_acs_system_id",
9803
+ "user_identity_id"
9804
+ ],
9805
+ type: "object"
9806
+ }
9807
+ }
9808
+ }
9809
+ },
9810
+ responses: {
9811
+ 200: {
9812
+ content: {
9813
+ "application/json": {
9814
+ schema: {
9815
+ properties: {
9816
+ ok: { type: "boolean" },
9817
+ phone: { $ref: "#/components/schemas/phone" }
9818
+ },
9819
+ required: ["phone", "ok"],
9820
+ type: "object"
9821
+ }
9822
+ }
9823
+ },
9824
+ description: "OK"
9825
+ },
9826
+ 400: { description: "Bad Request" },
9827
+ 401: { description: "Unauthorized" }
9828
+ },
9829
+ security: [
9830
+ { access_token: [], seam_workspace: [] },
9831
+ { seam_client_session_token: [] },
9832
+ { client_session_token: [] }
9833
+ ],
9834
+ summary: "/phones/simulate/create_sandbox_phone",
9835
+ tags: [],
9836
+ "x-fern-sdk-group-name": ["phones", "simulate"],
9837
+ "x-fern-sdk-method-name": "create_sandbox_phone",
9838
+ "x-fern-sdk-return-value": "phone"
9839
+ }
9840
+ },
8237
9841
  "/thermostats/climate_setting_schedules/create": {
8238
9842
  post: {
8239
9843
  operationId: "thermostatsClimateSettingSchedulesCreatePost",
@@ -9452,6 +11056,55 @@ var openapi_default = {
9452
11056
  "x-fern-sdk-method-name": "create"
9453
11057
  }
9454
11058
  },
11059
+ "/user_identities/enrollment_automations/get": {
11060
+ post: {
11061
+ operationId: "userIdentitiesEnrollmentAutomationsGetPost",
11062
+ requestBody: {
11063
+ content: {
11064
+ "application/json": {
11065
+ schema: {
11066
+ properties: {
11067
+ enrollment_automation_id: { format: "uuid", type: "string" }
11068
+ },
11069
+ required: ["enrollment_automation_id"],
11070
+ type: "object"
11071
+ }
11072
+ }
11073
+ }
11074
+ },
11075
+ responses: {
11076
+ 200: {
11077
+ content: {
11078
+ "application/json": {
11079
+ schema: {
11080
+ properties: {
11081
+ enrollment_automation: {
11082
+ $ref: "#/components/schemas/enrollment_automation"
11083
+ },
11084
+ ok: { type: "boolean" }
11085
+ },
11086
+ required: ["enrollment_automation", "ok"],
11087
+ type: "object"
11088
+ }
11089
+ }
11090
+ },
11091
+ description: "OK"
11092
+ },
11093
+ 400: { description: "Bad Request" },
11094
+ 401: { description: "Unauthorized" }
11095
+ },
11096
+ security: [
11097
+ { client_session: [] },
11098
+ { pat_with_workspace: [] },
11099
+ { console_session: [] },
11100
+ { api_key: [] }
11101
+ ],
11102
+ summary: "/user_identities/enrollment_automations/get",
11103
+ tags: [],
11104
+ "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11105
+ "x-fern-sdk-method-name": "get"
11106
+ }
11107
+ },
9455
11108
  "/user_identities/enrollment_automations/launch": {
9456
11109
  post: {
9457
11110
  operationId: "userIdentitiesEnrollmentAutomationsLaunchPost",
@@ -9538,6 +11191,58 @@ var openapi_default = {
9538
11191
  "x-fern-sdk-method-name": "launch"
9539
11192
  }
9540
11193
  },
11194
+ "/user_identities/enrollment_automations/list": {
11195
+ post: {
11196
+ operationId: "userIdentitiesEnrollmentAutomationsListPost",
11197
+ requestBody: {
11198
+ content: {
11199
+ "application/json": {
11200
+ schema: {
11201
+ properties: {
11202
+ user_identity_id: { format: "uuid", type: "string" }
11203
+ },
11204
+ required: ["user_identity_id"],
11205
+ type: "object"
11206
+ }
11207
+ }
11208
+ }
11209
+ },
11210
+ responses: {
11211
+ 200: {
11212
+ content: {
11213
+ "application/json": {
11214
+ schema: {
11215
+ properties: {
11216
+ enrollment_automations: {
11217
+ items: {
11218
+ $ref: "#/components/schemas/enrollment_automation"
11219
+ },
11220
+ type: "array"
11221
+ },
11222
+ ok: { type: "boolean" }
11223
+ },
11224
+ required: ["enrollment_automations", "ok"],
11225
+ type: "object"
11226
+ }
11227
+ }
11228
+ },
11229
+ description: "OK"
11230
+ },
11231
+ 400: { description: "Bad Request" },
11232
+ 401: { description: "Unauthorized" }
11233
+ },
11234
+ security: [
11235
+ { client_session: [] },
11236
+ { pat_with_workspace: [] },
11237
+ { console_session: [] },
11238
+ { api_key: [] }
11239
+ ],
11240
+ summary: "/user_identities/enrollment_automations/list",
11241
+ tags: [],
11242
+ "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11243
+ "x-fern-sdk-method-name": "list"
11244
+ }
11245
+ },
9541
11246
  "/user_identities/get": {
9542
11247
  post: {
9543
11248
  operationId: "userIdentitiesGetPost",