@seamapi/types 1.70.0 → 1.72.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 (56) 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 +1 -1
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +3 -1
  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/public-models/manufacturer.d.ts +1 -0
  41. package/lib/seam/devicedb/public-models/manufacturer.js +1 -1
  42. package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/lib/seam/connect/openapi.ts +2644 -915
  45. package/src/lib/seam/connect/route-types.ts +1701 -211
  46. package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -0
  47. package/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts +12 -0
  48. package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -1
  49. package/src/lib/seam/connect/unstable/models/devices/index.ts +1 -0
  50. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +2 -0
  51. package/src/lib/seam/connect/unstable/models/devices/phone-properties.ts +15 -0
  52. package/src/lib/seam/connect/unstable/models/devices/phone.ts +15 -0
  53. package/src/lib/seam/connect/unstable/models/index.ts +1 -0
  54. package/src/lib/seam/connect/unstable/models/network.ts +10 -0
  55. package/src/lib/seam/connect/unstable/schemas.ts +3 -0
  56. package/src/lib/seam/devicedb/public-models/manufacturer.ts +3 -1
@@ -195,7 +195,7 @@ export default {
195
195
  'brivo_account',
196
196
  'hid_credential_manager_organization',
197
197
  'visionline_system',
198
- 'assa_abloy_credential_service_user',
198
+ 'assa_abloy_credential_service',
199
199
  ],
200
200
  type: 'string',
201
201
  },
@@ -210,7 +210,7 @@ export default {
210
210
  'brivo_account',
211
211
  'hid_credential_manager_organization',
212
212
  'visionline_system',
213
- 'assa_abloy_credential_service_user',
213
+ 'assa_abloy_credential_service',
214
214
  ],
215
215
  type: 'string',
216
216
  },
@@ -626,968 +626,2395 @@ export default {
626
626
  {
627
627
  allOf: [
628
628
  {
629
- properties: {
630
- battery: {
631
- description:
632
- '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.',
629
+ allOf: [
630
+ {
633
631
  properties: {
634
- level: { maximum: 1, minimum: 0, type: 'number' },
635
- status: {
636
- enum: ['critical', 'low', 'good', 'full'],
637
- type: 'string',
632
+ battery: {
633
+ description:
634
+ '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.',
635
+ properties: {
636
+ level: { maximum: 1, minimum: 0, type: 'number' },
637
+ status: {
638
+ enum: ['critical', 'low', 'good', 'full'],
639
+ type: 'string',
640
+ },
641
+ },
642
+ required: ['level', 'status'],
643
+ type: 'object',
638
644
  },
639
- },
640
- required: ['level', 'status'],
641
- type: 'object',
642
- },
643
- battery_level: {
644
- description:
645
- 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
646
- maximum: 1,
647
- minimum: 0,
648
- type: 'number',
649
- },
650
- has_direct_power: {
651
- description:
652
- 'Indicates whether the device has direct power.',
653
- type: 'boolean',
654
- },
655
- image_alt_text: {
656
- description: 'Alt text for the device image.',
657
- type: 'string',
658
- },
659
- image_url: {
660
- description: 'Image URL for the device.',
661
- format: 'uri',
662
- type: 'string',
663
- },
664
- manufacturer: {
665
- description: 'Manufacturer of the device.',
666
- type: 'string',
667
- },
668
- model: {
669
- properties: {
670
- accessory_keypad_supported: {
645
+ battery_level: {
646
+ description:
647
+ 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
648
+ maximum: 1,
649
+ minimum: 0,
650
+ type: 'number',
651
+ },
652
+ has_direct_power: {
671
653
  description:
672
- 'Indicates whether the device supports an accessory keypad.',
654
+ 'Indicates whether the device has direct power.',
673
655
  type: 'boolean',
674
656
  },
675
- display_name: {
676
- description: 'Display name of the device model.',
657
+ image_alt_text: {
658
+ description: 'Alt text for the device image.',
659
+ type: 'string',
660
+ },
661
+ image_url: {
662
+ description: 'Image URL for the device.',
663
+ format: 'uri',
677
664
  type: 'string',
678
665
  },
679
- manufacturer_display_name: {
666
+ manufacturer: {
667
+ description: 'Manufacturer of the device.',
668
+ type: 'string',
669
+ },
670
+ model: {
671
+ properties: {
672
+ accessory_keypad_supported: {
673
+ description:
674
+ 'Indicates whether the device supports an accessory keypad.',
675
+ type: 'boolean',
676
+ },
677
+ display_name: {
678
+ description:
679
+ 'Display name of the device model.',
680
+ type: 'string',
681
+ },
682
+ manufacturer_display_name: {
683
+ description:
684
+ 'Display name that corresponds to the manufacturer-specific terminology for the device.',
685
+ type: 'string',
686
+ },
687
+ offline_access_codes_supported: {
688
+ description:
689
+ 'Indicates whether the device supports offline access codes.',
690
+ type: 'boolean',
691
+ },
692
+ online_access_codes_supported: {
693
+ description:
694
+ 'Indicates whether the device supports online access codes.',
695
+ type: 'boolean',
696
+ },
697
+ },
698
+ required: [
699
+ 'display_name',
700
+ 'manufacturer_display_name',
701
+ ],
702
+ type: 'object',
703
+ },
704
+ name: {
680
705
  description:
681
- 'Display name that corresponds to the manufacturer-specific terminology for the device.',
706
+ 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
682
707
  type: 'string',
683
708
  },
684
- offline_access_codes_supported: {
709
+ offline_access_codes_enabled: {
685
710
  description:
686
- 'Indicates whether the device supports offline access codes.',
711
+ 'Indicates whether it is currently possible to use offline access codes for the device.',
687
712
  type: 'boolean',
688
713
  },
689
- online_access_codes_supported: {
714
+ online: {
690
715
  description:
691
- 'Indicates whether the device supports online access codes.',
716
+ 'Indicates whether the device is online.',
717
+ type: 'boolean',
718
+ },
719
+ online_access_codes_enabled: {
720
+ description:
721
+ 'Indicates whether it is currently possible to use online access codes for the device.',
722
+ type: 'boolean',
723
+ },
724
+ serial_number: {
725
+ description: 'Serial number of the device.',
726
+ type: 'string',
727
+ },
728
+ supports_accessory_keypad: {
729
+ description:
730
+ 'Deprecated. Use model.accessory_keypad_supported.',
731
+ type: 'boolean',
732
+ },
733
+ supports_offline_access_codes: {
734
+ description:
735
+ 'Deprecated. Use offline_access_codes_enabled.',
692
736
  type: 'boolean',
693
737
  },
694
738
  },
695
- required: ['display_name', 'manufacturer_display_name'],
696
- type: 'object',
697
- },
698
- name: {
699
- description:
700
- 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
701
- type: 'string',
702
- },
703
- offline_access_codes_enabled: {
704
- description:
705
- 'Indicates whether it is currently possible to use offline access codes for the device.',
706
- type: 'boolean',
707
- },
708
- online: {
709
- description: 'Indicates whether the device is online.',
710
- type: 'boolean',
711
- },
712
- online_access_codes_enabled: {
713
- description:
714
- 'Indicates whether it is currently possible to use online access codes for the device.',
715
- type: 'boolean',
716
- },
717
- serial_number: {
718
- description: 'Serial number of the device.',
719
- type: 'string',
720
- },
721
- supports_accessory_keypad: {
722
- description:
723
- 'Deprecated. Use model.accessory_keypad_supported.',
724
- type: 'boolean',
725
- },
726
- supports_offline_access_codes: {
727
- description:
728
- 'Deprecated. Use offline_access_codes_enabled.',
729
- type: 'boolean',
730
- },
731
- },
732
- required: ['online', 'name', 'model'],
733
- type: 'object',
734
- },
735
- {
736
- properties: {
737
- august_metadata: {
738
- properties: {
739
- has_keypad: { type: 'boolean' },
740
- house_id: { type: 'string' },
741
- house_name: { type: 'string' },
742
- keypad_battery_level: { type: 'string' },
743
- lock_id: { type: 'string' },
744
- lock_name: { type: 'string' },
745
- model: { type: 'string' },
746
- },
747
- required: [
748
- 'lock_id',
749
- 'lock_name',
750
- 'house_name',
751
- 'has_keypad',
752
- ],
753
- type: 'object',
754
- },
755
- avigilon_alta_metadata: {
756
- properties: {
757
- entry_name: { type: 'string' },
758
- org_name: { type: 'string' },
759
- site_id: { type: 'number' },
760
- site_name: { type: 'string' },
761
- zone_id: { type: 'number' },
762
- zone_name: { type: 'string' },
763
- },
764
- required: [
765
- 'entry_name',
766
- 'org_name',
767
- 'zone_id',
768
- 'zone_name',
769
- 'site_id',
770
- 'site_name',
771
- ],
772
- type: 'object',
773
- },
774
- brivo_metadata: {
775
- properties: { device_name: { type: 'string' } },
776
- required: ['device_name'],
777
- type: 'object',
778
- },
779
- controlbyweb_metadata: {
780
- properties: {
781
- device_id: { type: 'string' },
782
- device_name: { type: 'string' },
783
- relay_name: { nullable: true, type: 'string' },
784
- },
785
- required: ['device_id', 'device_name', 'relay_name'],
739
+ required: ['online', 'name', 'model'],
786
740
  type: 'object',
787
741
  },
788
- dormakaba_oracode_metadata: {
742
+ {
789
743
  properties: {
790
- device_id: { type: 'number' },
791
- door_id: { type: 'number' },
792
- door_name: { type: 'string' },
793
- iana_timezone: { type: 'string' },
794
- predefined_time_slots: {
795
- items: {
796
- properties: {
797
- check_in_time: { type: 'string' },
798
- check_out_time: { type: 'string' },
799
- dormakaba_oracode_user_level_id: {
800
- format: 'uuid',
801
- type: 'string',
802
- },
803
- ext_dormakaba_oracode_user_level_prefix: {
804
- type: 'number',
805
- },
806
- is_24_hour: { type: 'boolean' },
807
- is_biweekly_mode: { type: 'boolean' },
808
- is_master: { type: 'boolean' },
809
- is_one_shot: { type: 'boolean' },
810
- name: { type: 'string' },
811
- prefix: { type: 'number' },
812
- },
813
- required: [
814
- 'name',
815
- 'prefix',
816
- 'check_in_time',
817
- 'check_out_time',
818
- 'is_24_hour',
819
- 'is_biweekly_mode',
820
- 'is_one_shot',
821
- 'is_master',
822
- 'ext_dormakaba_oracode_user_level_prefix',
823
- 'dormakaba_oracode_user_level_id',
824
- ],
825
- type: 'object',
744
+ august_metadata: {
745
+ properties: {
746
+ has_keypad: { type: 'boolean' },
747
+ house_id: { type: 'string' },
748
+ house_name: { type: 'string' },
749
+ keypad_battery_level: { type: 'string' },
750
+ lock_id: { type: 'string' },
751
+ lock_name: { type: 'string' },
752
+ model: { type: 'string' },
826
753
  },
827
- type: 'array',
754
+ required: [
755
+ 'lock_id',
756
+ 'lock_name',
757
+ 'house_name',
758
+ 'has_keypad',
759
+ ],
760
+ type: 'object',
828
761
  },
829
- site_id: { type: 'number' },
830
- site_name: { type: 'string' },
831
- },
832
- required: [
833
- 'door_id',
834
- 'door_name',
835
- 'site_id',
836
- 'site_name',
837
- ],
838
- type: 'object',
839
- },
840
- ecobee_metadata: {
841
- properties: {
842
- device_name: { type: 'string' },
843
- ecobee_device_id: { type: 'string' },
844
- },
845
- required: ['ecobee_device_id', 'device_name'],
846
- type: 'object',
847
- },
848
- four_suites_metadata: {
849
- properties: {
850
- device_id: { type: 'number' },
851
- device_name: { type: 'string' },
852
- reclose_delay_in_seconds: { type: 'number' },
853
- },
854
- required: [
855
- 'device_id',
856
- 'device_name',
857
- 'reclose_delay_in_seconds',
858
- ],
859
- type: 'object',
860
- },
861
- genie_metadata: {
862
- properties: {
863
- device_name: { type: 'string' },
864
- door_name: { type: 'string' },
865
- },
866
- required: ['device_name', 'door_name'],
867
- type: 'object',
868
- },
869
- hubitat_metadata: {
870
- properties: {
871
- device_id: { type: 'string' },
872
- device_label: { type: 'string' },
873
- device_name: { type: 'string' },
874
- },
875
- required: ['device_id', 'device_name', 'device_label'],
876
- type: 'object',
877
- },
878
- igloo_metadata: {
879
- properties: {
880
- bridge_id: { type: 'string' },
881
- device_id: { type: 'string' },
882
- model: { type: 'string' },
883
- },
884
- required: ['device_id', 'bridge_id'],
885
- type: 'object',
886
- },
887
- igloohome_metadata: {
888
- properties: {
889
- bridge_id: { type: 'string' },
890
- bridge_name: { type: 'string' },
891
- device_id: { type: 'string' },
892
- device_name: { type: 'string' },
893
- },
894
- required: ['device_id', 'device_name'],
895
- type: 'object',
896
- },
897
- kwikset_metadata: {
898
- properties: {
899
- device_id: { type: 'string' },
900
- device_name: { type: 'string' },
901
- model_number: { type: 'string' },
902
- },
903
- required: ['device_id', 'device_name', 'model_number'],
904
- type: 'object',
905
- },
906
- lockly_metadata: {
907
- properties: {
908
- device_id: { type: 'string' },
909
- device_name: { type: 'string' },
910
- model: { type: 'string' },
911
- },
912
- required: ['device_id', 'device_name'],
913
- type: 'object',
914
- },
915
- minut_metadata: {
916
- properties: {
917
- device_id: { type: 'string' },
918
- device_name: { type: 'string' },
919
- latest_sensor_values: {
762
+ avigilon_alta_metadata: {
920
763
  properties: {
921
- accelerometer_z: {
922
- properties: {
923
- time: { type: 'string' },
924
- value: { type: 'number' },
925
- },
926
- required: ['time', 'value'],
927
- type: 'object',
928
- },
929
- humidity: {
930
- properties: {
931
- time: { type: 'string' },
932
- value: { type: 'number' },
933
- },
934
- required: ['time', 'value'],
935
- type: 'object',
936
- },
937
- pressure: {
938
- properties: {
939
- time: { type: 'string' },
940
- value: { type: 'number' },
941
- },
942
- required: ['time', 'value'],
943
- type: 'object',
944
- },
945
- sound: {
946
- properties: {
947
- time: { type: 'string' },
948
- value: { type: 'number' },
949
- },
950
- required: ['time', 'value'],
951
- type: 'object',
952
- },
953
- temperature: {
954
- properties: {
955
- time: { type: 'string' },
956
- value: { type: 'number' },
957
- },
958
- required: ['time', 'value'],
959
- type: 'object',
960
- },
764
+ entry_name: { type: 'string' },
765
+ org_name: { type: 'string' },
766
+ site_id: { type: 'number' },
767
+ site_name: { type: 'string' },
768
+ zone_id: { type: 'number' },
769
+ zone_name: { type: 'string' },
961
770
  },
962
771
  required: [
963
- 'temperature',
964
- 'sound',
965
- 'humidity',
966
- 'pressure',
967
- 'accelerometer_z',
772
+ 'entry_name',
773
+ 'org_name',
774
+ 'zone_id',
775
+ 'zone_name',
776
+ 'site_id',
777
+ 'site_name',
968
778
  ],
969
779
  type: 'object',
970
780
  },
971
- },
972
- required: [
973
- 'device_id',
974
- 'device_name',
975
- 'latest_sensor_values',
976
- ],
977
- type: 'object',
978
- },
979
- nest_metadata: {
980
- properties: {
981
- custom_name: { type: 'string' },
982
- device_name: { type: 'string' },
983
- nest_device_id: { type: 'string' },
984
- },
985
- required: [
986
- 'nest_device_id',
987
- 'device_name',
988
- 'custom_name',
989
- ],
990
- type: 'object',
991
- },
992
- noiseaware_metadata: {
993
- properties: {
994
- device_id: { type: 'string' },
995
- device_model: {
996
- enum: ['indoor', 'outdoor'],
997
- type: 'string',
781
+ brivo_metadata: {
782
+ properties: { device_name: { type: 'string' } },
783
+ required: ['device_name'],
784
+ type: 'object',
998
785
  },
999
- device_name: { type: 'string' },
1000
- noise_level_decibel: { type: 'number' },
1001
- noise_level_nrs: { type: 'number' },
1002
- },
1003
- required: [
1004
- 'device_model',
1005
- 'noise_level_nrs',
1006
- 'noise_level_decibel',
1007
- 'device_name',
1008
- 'device_id',
1009
- ],
1010
- type: 'object',
1011
- },
1012
- nuki_metadata: {
1013
- properties: {
1014
- device_id: { type: 'string' },
1015
- device_name: { type: 'string' },
1016
- keypad_battery_critical: { type: 'boolean' },
1017
- },
1018
- required: ['device_id', 'device_name'],
1019
- type: 'object',
1020
- },
1021
- salto_metadata: {
1022
- properties: {
1023
- battery_level: { type: 'string' },
1024
- customer_reference: { type: 'string' },
1025
- lock_id: { type: 'string' },
1026
- lock_type: { type: 'string' },
1027
- locked_state: { type: 'string' },
1028
- model: { type: 'string' },
1029
- },
1030
- required: [
1031
- 'lock_id',
1032
- 'customer_reference',
1033
- 'lock_type',
1034
- 'battery_level',
1035
- 'locked_state',
1036
- ],
1037
- type: 'object',
1038
- },
1039
- schlage_metadata: {
1040
- properties: {
1041
- access_code_length: { type: 'number' },
1042
- device_id: { type: 'string' },
1043
- device_name: { type: 'string' },
1044
- model: { type: 'string' },
1045
- },
1046
- required: [
1047
- 'device_id',
1048
- 'device_name',
1049
- 'access_code_length',
1050
- ],
1051
- type: 'object',
1052
- },
1053
- seam_bridge_metadata: {
1054
- properties: {
1055
- device_num: { type: 'number' },
1056
- name: { type: 'string' },
1057
- unlock_method: {
1058
- enum: ['bridge', 'doorking'],
1059
- type: 'string',
786
+ controlbyweb_metadata: {
787
+ properties: {
788
+ device_id: { type: 'string' },
789
+ device_name: { type: 'string' },
790
+ relay_name: { nullable: true, type: 'string' },
791
+ },
792
+ required: [
793
+ 'device_id',
794
+ 'device_name',
795
+ 'relay_name',
796
+ ],
797
+ type: 'object',
1060
798
  },
1061
- },
1062
- required: ['device_num', 'name'],
1063
- type: 'object',
1064
- },
1065
- smartthings_metadata: {
1066
- properties: {
1067
- device_id: { type: 'string' },
1068
- device_name: { type: 'string' },
1069
- location_id: { type: 'string' },
1070
- model: { type: 'string' },
1071
- },
1072
- required: ['device_id', 'device_name'],
1073
- type: 'object',
1074
- },
1075
- ttlock_metadata: {
1076
- properties: {
1077
- lock_alias: { type: 'string' },
1078
- lock_id: { type: 'number' },
1079
- },
1080
- required: ['lock_id', 'lock_alias'],
1081
- type: 'object',
1082
- },
1083
- two_n_metadata: {
1084
- properties: {
1085
- device_id: { type: 'number' },
1086
- device_name: { type: 'string' },
1087
- },
1088
- required: ['device_id', 'device_name'],
1089
- type: 'object',
1090
- },
1091
- wyze_metadata: {
1092
- properties: {
1093
- device_id: { type: 'string' },
1094
- device_info_model: { type: 'string' },
1095
- device_name: { type: 'string' },
1096
- product_model: { type: 'string' },
1097
- product_name: { type: 'string' },
1098
- product_type: { type: 'string' },
1099
- },
1100
- required: [
1101
- 'device_id',
1102
- 'device_name',
1103
- 'product_name',
1104
- 'product_type',
1105
- 'product_model',
1106
- 'device_info_model',
1107
- ],
1108
- type: 'object',
1109
- },
1110
- },
1111
- type: 'object',
1112
- },
1113
- ],
1114
- },
1115
- {
1116
- allOf: [
1117
- {
1118
- properties: {
1119
- code_constraints: {
1120
- items: {
1121
- oneOf: [
1122
- {
1123
- properties: {
1124
- constraint_type: {
1125
- enum: [
1126
- 'no_zeros',
1127
- 'cannot_start_with_12',
1128
- 'no_triple_consecutive_ints',
1129
- 'cannot_specify_pin_code',
1130
- 'pin_code_matches_existing_set',
1131
- 'start_date_in_future',
799
+ dormakaba_oracode_metadata: {
800
+ properties: {
801
+ device_id: { type: 'number' },
802
+ door_id: { type: 'number' },
803
+ door_name: { type: 'string' },
804
+ iana_timezone: { type: 'string' },
805
+ predefined_time_slots: {
806
+ items: {
807
+ properties: {
808
+ check_in_time: { type: 'string' },
809
+ check_out_time: { type: 'string' },
810
+ dormakaba_oracode_user_level_id: {
811
+ format: 'uuid',
812
+ type: 'string',
813
+ },
814
+ ext_dormakaba_oracode_user_level_prefix: {
815
+ type: 'number',
816
+ },
817
+ is_24_hour: { type: 'boolean' },
818
+ is_biweekly_mode: { type: 'boolean' },
819
+ is_master: { type: 'boolean' },
820
+ is_one_shot: { type: 'boolean' },
821
+ name: { type: 'string' },
822
+ prefix: { type: 'number' },
823
+ },
824
+ required: [
825
+ 'name',
826
+ 'prefix',
827
+ 'check_in_time',
828
+ 'check_out_time',
829
+ 'is_24_hour',
830
+ 'is_biweekly_mode',
831
+ 'is_one_shot',
832
+ 'is_master',
833
+ 'ext_dormakaba_oracode_user_level_prefix',
834
+ 'dormakaba_oracode_user_level_id',
1132
835
  ],
1133
- type: 'string',
836
+ type: 'object',
1134
837
  },
838
+ type: 'array',
1135
839
  },
1136
- required: ['constraint_type'],
1137
- type: 'object',
840
+ site_id: { type: 'number' },
841
+ site_name: { type: 'string' },
1138
842
  },
1139
- {
1140
- properties: {
1141
- constraint_type: {
1142
- enum: ['name_length'],
1143
- type: 'string',
1144
- },
1145
- max_length: { type: 'number' },
1146
- min_length: { type: 'number' },
1147
- },
1148
- required: ['constraint_type'],
1149
- type: 'object',
843
+ required: [
844
+ 'door_id',
845
+ 'door_name',
846
+ 'site_id',
847
+ 'site_name',
848
+ ],
849
+ type: 'object',
850
+ },
851
+ ecobee_metadata: {
852
+ properties: {
853
+ device_name: { type: 'string' },
854
+ ecobee_device_id: { type: 'string' },
1150
855
  },
1151
- ],
1152
- },
1153
- type: 'array',
1154
- },
1155
- door_open: { type: 'boolean' },
1156
- has_native_entry_events: { type: 'boolean' },
1157
- keypad_battery: {
1158
- properties: { level: { type: 'number' } },
1159
- required: ['level'],
1160
- type: 'object',
1161
- },
1162
- locked: { type: 'boolean' },
1163
- max_active_codes_supported: { type: 'number' },
1164
- supported_code_lengths: {
1165
- items: { type: 'number' },
1166
- type: 'array',
1167
- },
1168
- supports_backup_access_code_pool: { type: 'boolean' },
856
+ required: ['ecobee_device_id', 'device_name'],
857
+ type: 'object',
858
+ },
859
+ four_suites_metadata: {
860
+ properties: {
861
+ device_id: { type: 'number' },
862
+ device_name: { type: 'string' },
863
+ reclose_delay_in_seconds: { type: 'number' },
864
+ },
865
+ required: [
866
+ 'device_id',
867
+ 'device_name',
868
+ 'reclose_delay_in_seconds',
869
+ ],
870
+ type: 'object',
871
+ },
872
+ genie_metadata: {
873
+ properties: {
874
+ device_name: { type: 'string' },
875
+ door_name: { type: 'string' },
876
+ },
877
+ required: ['device_name', 'door_name'],
878
+ type: 'object',
879
+ },
880
+ hubitat_metadata: {
881
+ properties: {
882
+ device_id: { type: 'string' },
883
+ device_label: { type: 'string' },
884
+ device_name: { type: 'string' },
885
+ },
886
+ required: [
887
+ 'device_id',
888
+ 'device_name',
889
+ 'device_label',
890
+ ],
891
+ type: 'object',
892
+ },
893
+ igloo_metadata: {
894
+ properties: {
895
+ bridge_id: { type: 'string' },
896
+ device_id: { type: 'string' },
897
+ model: { type: 'string' },
898
+ },
899
+ required: ['device_id', 'bridge_id'],
900
+ type: 'object',
901
+ },
902
+ igloohome_metadata: {
903
+ properties: {
904
+ bridge_id: { type: 'string' },
905
+ bridge_name: { type: 'string' },
906
+ device_id: { type: 'string' },
907
+ device_name: { type: 'string' },
908
+ },
909
+ required: ['device_id', 'device_name'],
910
+ type: 'object',
911
+ },
912
+ kwikset_metadata: {
913
+ properties: {
914
+ device_id: { type: 'string' },
915
+ device_name: { type: 'string' },
916
+ model_number: { type: 'string' },
917
+ },
918
+ required: [
919
+ 'device_id',
920
+ 'device_name',
921
+ 'model_number',
922
+ ],
923
+ type: 'object',
924
+ },
925
+ lockly_metadata: {
926
+ properties: {
927
+ device_id: { type: 'string' },
928
+ device_name: { type: 'string' },
929
+ model: { type: 'string' },
930
+ },
931
+ required: ['device_id', 'device_name'],
932
+ type: 'object',
933
+ },
934
+ minut_metadata: {
935
+ properties: {
936
+ device_id: { type: 'string' },
937
+ device_name: { type: 'string' },
938
+ latest_sensor_values: {
939
+ properties: {
940
+ accelerometer_z: {
941
+ properties: {
942
+ time: { type: 'string' },
943
+ value: { type: 'number' },
944
+ },
945
+ required: ['time', 'value'],
946
+ type: 'object',
947
+ },
948
+ humidity: {
949
+ properties: {
950
+ time: { type: 'string' },
951
+ value: { type: 'number' },
952
+ },
953
+ required: ['time', 'value'],
954
+ type: 'object',
955
+ },
956
+ pressure: {
957
+ properties: {
958
+ time: { type: 'string' },
959
+ value: { type: 'number' },
960
+ },
961
+ required: ['time', 'value'],
962
+ type: 'object',
963
+ },
964
+ sound: {
965
+ properties: {
966
+ time: { type: 'string' },
967
+ value: { type: 'number' },
968
+ },
969
+ required: ['time', 'value'],
970
+ type: 'object',
971
+ },
972
+ temperature: {
973
+ properties: {
974
+ time: { type: 'string' },
975
+ value: { type: 'number' },
976
+ },
977
+ required: ['time', 'value'],
978
+ type: 'object',
979
+ },
980
+ },
981
+ required: [
982
+ 'temperature',
983
+ 'sound',
984
+ 'humidity',
985
+ 'pressure',
986
+ 'accelerometer_z',
987
+ ],
988
+ type: 'object',
989
+ },
990
+ },
991
+ required: [
992
+ 'device_id',
993
+ 'device_name',
994
+ 'latest_sensor_values',
995
+ ],
996
+ type: 'object',
997
+ },
998
+ nest_metadata: {
999
+ properties: {
1000
+ custom_name: { type: 'string' },
1001
+ device_name: { type: 'string' },
1002
+ nest_device_id: { type: 'string' },
1003
+ },
1004
+ required: [
1005
+ 'nest_device_id',
1006
+ 'device_name',
1007
+ 'custom_name',
1008
+ ],
1009
+ type: 'object',
1010
+ },
1011
+ noiseaware_metadata: {
1012
+ properties: {
1013
+ device_id: { type: 'string' },
1014
+ device_model: {
1015
+ enum: ['indoor', 'outdoor'],
1016
+ type: 'string',
1017
+ },
1018
+ device_name: { type: 'string' },
1019
+ noise_level_decibel: { type: 'number' },
1020
+ noise_level_nrs: { type: 'number' },
1021
+ },
1022
+ required: [
1023
+ 'device_model',
1024
+ 'noise_level_nrs',
1025
+ 'noise_level_decibel',
1026
+ 'device_name',
1027
+ 'device_id',
1028
+ ],
1029
+ type: 'object',
1030
+ },
1031
+ nuki_metadata: {
1032
+ properties: {
1033
+ device_id: { type: 'string' },
1034
+ device_name: { type: 'string' },
1035
+ keypad_battery_critical: { type: 'boolean' },
1036
+ },
1037
+ required: ['device_id', 'device_name'],
1038
+ type: 'object',
1039
+ },
1040
+ salto_metadata: {
1041
+ properties: {
1042
+ battery_level: { type: 'string' },
1043
+ customer_reference: { type: 'string' },
1044
+ lock_id: { type: 'string' },
1045
+ lock_type: { type: 'string' },
1046
+ locked_state: { type: 'string' },
1047
+ model: { type: 'string' },
1048
+ },
1049
+ required: [
1050
+ 'lock_id',
1051
+ 'customer_reference',
1052
+ 'lock_type',
1053
+ 'battery_level',
1054
+ 'locked_state',
1055
+ ],
1056
+ type: 'object',
1057
+ },
1058
+ schlage_metadata: {
1059
+ properties: {
1060
+ access_code_length: { type: 'number' },
1061
+ device_id: { type: 'string' },
1062
+ device_name: { type: 'string' },
1063
+ model: { type: 'string' },
1064
+ },
1065
+ required: [
1066
+ 'device_id',
1067
+ 'device_name',
1068
+ 'access_code_length',
1069
+ ],
1070
+ type: 'object',
1071
+ },
1072
+ seam_bridge_metadata: {
1073
+ properties: {
1074
+ device_num: { type: 'number' },
1075
+ name: { type: 'string' },
1076
+ unlock_method: {
1077
+ enum: ['bridge', 'doorking'],
1078
+ type: 'string',
1079
+ },
1080
+ },
1081
+ required: ['device_num', 'name'],
1082
+ type: 'object',
1083
+ },
1084
+ smartthings_metadata: {
1085
+ properties: {
1086
+ device_id: { type: 'string' },
1087
+ device_name: { type: 'string' },
1088
+ location_id: { type: 'string' },
1089
+ model: { type: 'string' },
1090
+ },
1091
+ required: ['device_id', 'device_name'],
1092
+ type: 'object',
1093
+ },
1094
+ ttlock_metadata: {
1095
+ properties: {
1096
+ lock_alias: { type: 'string' },
1097
+ lock_id: { type: 'number' },
1098
+ },
1099
+ required: ['lock_id', 'lock_alias'],
1100
+ type: 'object',
1101
+ },
1102
+ two_n_metadata: {
1103
+ properties: {
1104
+ device_id: { type: 'number' },
1105
+ device_name: { type: 'string' },
1106
+ },
1107
+ required: ['device_id', 'device_name'],
1108
+ type: 'object',
1109
+ },
1110
+ wyze_metadata: {
1111
+ properties: {
1112
+ device_id: { type: 'string' },
1113
+ device_info_model: { type: 'string' },
1114
+ device_name: { type: 'string' },
1115
+ product_model: { type: 'string' },
1116
+ product_name: { type: 'string' },
1117
+ product_type: { type: 'string' },
1118
+ },
1119
+ required: [
1120
+ 'device_id',
1121
+ 'device_name',
1122
+ 'product_name',
1123
+ 'product_type',
1124
+ 'product_model',
1125
+ 'device_info_model',
1126
+ ],
1127
+ type: 'object',
1128
+ },
1129
+ },
1130
+ type: 'object',
1131
+ },
1132
+ ],
1133
+ },
1134
+ {
1135
+ allOf: [
1136
+ {
1137
+ properties: {
1138
+ code_constraints: {
1139
+ items: {
1140
+ oneOf: [
1141
+ {
1142
+ properties: {
1143
+ constraint_type: {
1144
+ enum: [
1145
+ 'no_zeros',
1146
+ 'cannot_start_with_12',
1147
+ 'no_triple_consecutive_ints',
1148
+ 'cannot_specify_pin_code',
1149
+ 'pin_code_matches_existing_set',
1150
+ 'start_date_in_future',
1151
+ ],
1152
+ type: 'string',
1153
+ },
1154
+ },
1155
+ required: ['constraint_type'],
1156
+ type: 'object',
1157
+ },
1158
+ {
1159
+ properties: {
1160
+ constraint_type: {
1161
+ enum: ['name_length'],
1162
+ type: 'string',
1163
+ },
1164
+ max_length: { type: 'number' },
1165
+ min_length: { type: 'number' },
1166
+ },
1167
+ required: ['constraint_type'],
1168
+ type: 'object',
1169
+ },
1170
+ ],
1171
+ },
1172
+ type: 'array',
1173
+ },
1174
+ door_open: { type: 'boolean' },
1175
+ has_native_entry_events: { type: 'boolean' },
1176
+ keypad_battery: {
1177
+ properties: { level: { type: 'number' } },
1178
+ required: ['level'],
1179
+ type: 'object',
1180
+ },
1181
+ locked: { type: 'boolean' },
1182
+ max_active_codes_supported: { type: 'number' },
1183
+ supported_code_lengths: {
1184
+ items: { type: 'number' },
1185
+ type: 'array',
1186
+ },
1187
+ supports_backup_access_code_pool: { type: 'boolean' },
1188
+ },
1189
+ type: 'object',
1190
+ },
1191
+ {
1192
+ oneOf: [
1193
+ {
1194
+ properties: {
1195
+ active_climate_setting_schedule: {
1196
+ properties: {
1197
+ automatic_cooling_enabled: {
1198
+ type: 'boolean',
1199
+ },
1200
+ automatic_heating_enabled: {
1201
+ type: 'boolean',
1202
+ },
1203
+ climate_setting_schedule_id: {
1204
+ format: 'uuid',
1205
+ type: 'string',
1206
+ },
1207
+ cooling_set_point_celsius: { type: 'number' },
1208
+ cooling_set_point_fahrenheit: {
1209
+ type: 'number',
1210
+ },
1211
+ created_at: {
1212
+ format: 'date-time',
1213
+ type: 'string',
1214
+ },
1215
+ device_id: { type: 'string' },
1216
+ errors: {
1217
+ description:
1218
+ '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.',
1219
+ nullable: true,
1220
+ },
1221
+ heating_set_point_celsius: { type: 'number' },
1222
+ heating_set_point_fahrenheit: {
1223
+ type: 'number',
1224
+ },
1225
+ hvac_mode_setting: {
1226
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1227
+ type: 'string',
1228
+ },
1229
+ manual_override_allowed: { type: 'boolean' },
1230
+ name: { type: 'string' },
1231
+ schedule_ends_at: { type: 'string' },
1232
+ schedule_starts_at: { type: 'string' },
1233
+ schedule_type: {
1234
+ enum: ['time_bound'],
1235
+ type: 'string',
1236
+ },
1237
+ },
1238
+ required: [
1239
+ 'climate_setting_schedule_id',
1240
+ 'schedule_type',
1241
+ 'device_id',
1242
+ 'schedule_starts_at',
1243
+ 'schedule_ends_at',
1244
+ 'created_at',
1245
+ ],
1246
+ type: 'object',
1247
+ },
1248
+ available_hvac_mode_settings: {
1249
+ items: {
1250
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1251
+ type: 'string',
1252
+ },
1253
+ type: 'array',
1254
+ },
1255
+ can_enable_automatic_cooling: { type: 'boolean' },
1256
+ can_enable_automatic_heating: { type: 'boolean' },
1257
+ current_climate_setting: {
1258
+ properties: {
1259
+ automatic_cooling_enabled: {
1260
+ type: 'boolean',
1261
+ },
1262
+ automatic_heating_enabled: {
1263
+ type: 'boolean',
1264
+ },
1265
+ cooling_set_point_celsius: { type: 'number' },
1266
+ cooling_set_point_fahrenheit: {
1267
+ type: 'number',
1268
+ },
1269
+ heating_set_point_celsius: { type: 'number' },
1270
+ heating_set_point_fahrenheit: {
1271
+ type: 'number',
1272
+ },
1273
+ hvac_mode_setting: {
1274
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1275
+ type: 'string',
1276
+ },
1277
+ manual_override_allowed: { type: 'boolean' },
1278
+ },
1279
+ required: [
1280
+ 'automatic_heating_enabled',
1281
+ 'automatic_cooling_enabled',
1282
+ 'hvac_mode_setting',
1283
+ 'manual_override_allowed',
1284
+ ],
1285
+ type: 'object',
1286
+ },
1287
+ default_climate_setting: {
1288
+ properties: {
1289
+ automatic_cooling_enabled: {
1290
+ type: 'boolean',
1291
+ },
1292
+ automatic_heating_enabled: {
1293
+ type: 'boolean',
1294
+ },
1295
+ cooling_set_point_celsius: { type: 'number' },
1296
+ cooling_set_point_fahrenheit: {
1297
+ type: 'number',
1298
+ },
1299
+ heating_set_point_celsius: { type: 'number' },
1300
+ heating_set_point_fahrenheit: {
1301
+ type: 'number',
1302
+ },
1303
+ hvac_mode_setting: {
1304
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1305
+ type: 'string',
1306
+ },
1307
+ manual_override_allowed: { type: 'boolean' },
1308
+ },
1309
+ required: [
1310
+ 'automatic_heating_enabled',
1311
+ 'automatic_cooling_enabled',
1312
+ 'hvac_mode_setting',
1313
+ 'manual_override_allowed',
1314
+ ],
1315
+ type: 'object',
1316
+ },
1317
+ fan_mode_setting: {
1318
+ enum: ['auto', 'on'],
1319
+ type: 'string',
1320
+ },
1321
+ is_climate_setting_schedule_active: {
1322
+ type: 'boolean',
1323
+ },
1324
+ is_cooling: { type: 'boolean' },
1325
+ is_cooling_available: {
1326
+ enum: [true],
1327
+ type: 'boolean',
1328
+ },
1329
+ is_fan_running: { type: 'boolean' },
1330
+ is_heating: { type: 'boolean' },
1331
+ is_heating_available: {
1332
+ enum: [true],
1333
+ type: 'boolean',
1334
+ },
1335
+ is_temporary_manual_override_active: {
1336
+ type: 'boolean',
1337
+ },
1338
+ max_cooling_set_point_celsius: { type: 'number' },
1339
+ max_cooling_set_point_fahrenheit: {
1340
+ type: 'number',
1341
+ },
1342
+ max_heating_set_point_celsius: { type: 'number' },
1343
+ max_heating_set_point_fahrenheit: {
1344
+ type: 'number',
1345
+ },
1346
+ min_cooling_set_point_celsius: { type: 'number' },
1347
+ min_cooling_set_point_fahrenheit: {
1348
+ type: 'number',
1349
+ },
1350
+ min_heating_cooling_delta_celsius: {
1351
+ type: 'number',
1352
+ },
1353
+ min_heating_cooling_delta_fahrenheit: {
1354
+ type: 'number',
1355
+ },
1356
+ min_heating_set_point_celsius: { type: 'number' },
1357
+ min_heating_set_point_fahrenheit: {
1358
+ type: 'number',
1359
+ },
1360
+ relative_humidity: {
1361
+ maximum: 1,
1362
+ minimum: 0,
1363
+ type: 'number',
1364
+ },
1365
+ temperature_celsius: { type: 'number' },
1366
+ temperature_fahrenheit: { type: 'number' },
1367
+ },
1368
+ type: 'object',
1369
+ },
1370
+ {
1371
+ properties: {
1372
+ active_climate_setting_schedule: {
1373
+ properties: {
1374
+ automatic_cooling_enabled: {
1375
+ type: 'boolean',
1376
+ },
1377
+ automatic_heating_enabled: {
1378
+ type: 'boolean',
1379
+ },
1380
+ climate_setting_schedule_id: {
1381
+ format: 'uuid',
1382
+ type: 'string',
1383
+ },
1384
+ cooling_set_point_celsius: { type: 'number' },
1385
+ cooling_set_point_fahrenheit: {
1386
+ type: 'number',
1387
+ },
1388
+ created_at: {
1389
+ format: 'date-time',
1390
+ type: 'string',
1391
+ },
1392
+ device_id: { type: 'string' },
1393
+ errors: {
1394
+ description:
1395
+ '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.',
1396
+ nullable: true,
1397
+ },
1398
+ heating_set_point_celsius: { type: 'number' },
1399
+ heating_set_point_fahrenheit: {
1400
+ type: 'number',
1401
+ },
1402
+ hvac_mode_setting: {
1403
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1404
+ type: 'string',
1405
+ },
1406
+ manual_override_allowed: { type: 'boolean' },
1407
+ name: { type: 'string' },
1408
+ schedule_ends_at: { type: 'string' },
1409
+ schedule_starts_at: { type: 'string' },
1410
+ schedule_type: {
1411
+ enum: ['time_bound'],
1412
+ type: 'string',
1413
+ },
1414
+ },
1415
+ required: [
1416
+ 'climate_setting_schedule_id',
1417
+ 'schedule_type',
1418
+ 'device_id',
1419
+ 'schedule_starts_at',
1420
+ 'schedule_ends_at',
1421
+ 'created_at',
1422
+ ],
1423
+ type: 'object',
1424
+ },
1425
+ available_hvac_mode_settings: {
1426
+ items: {
1427
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1428
+ type: 'string',
1429
+ },
1430
+ type: 'array',
1431
+ },
1432
+ can_enable_automatic_cooling: { type: 'boolean' },
1433
+ can_enable_automatic_heating: { type: 'boolean' },
1434
+ current_climate_setting: {
1435
+ properties: {
1436
+ automatic_cooling_enabled: {
1437
+ type: 'boolean',
1438
+ },
1439
+ automatic_heating_enabled: {
1440
+ type: 'boolean',
1441
+ },
1442
+ cooling_set_point_celsius: { type: 'number' },
1443
+ cooling_set_point_fahrenheit: {
1444
+ type: 'number',
1445
+ },
1446
+ heating_set_point_celsius: { type: 'number' },
1447
+ heating_set_point_fahrenheit: {
1448
+ type: 'number',
1449
+ },
1450
+ hvac_mode_setting: {
1451
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1452
+ type: 'string',
1453
+ },
1454
+ manual_override_allowed: { type: 'boolean' },
1455
+ },
1456
+ required: [
1457
+ 'automatic_heating_enabled',
1458
+ 'automatic_cooling_enabled',
1459
+ 'hvac_mode_setting',
1460
+ 'manual_override_allowed',
1461
+ ],
1462
+ type: 'object',
1463
+ },
1464
+ default_climate_setting: {
1465
+ properties: {
1466
+ automatic_cooling_enabled: {
1467
+ type: 'boolean',
1468
+ },
1469
+ automatic_heating_enabled: {
1470
+ type: 'boolean',
1471
+ },
1472
+ cooling_set_point_celsius: { type: 'number' },
1473
+ cooling_set_point_fahrenheit: {
1474
+ type: 'number',
1475
+ },
1476
+ heating_set_point_celsius: { type: 'number' },
1477
+ heating_set_point_fahrenheit: {
1478
+ type: 'number',
1479
+ },
1480
+ hvac_mode_setting: {
1481
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1482
+ type: 'string',
1483
+ },
1484
+ manual_override_allowed: { type: 'boolean' },
1485
+ },
1486
+ required: [
1487
+ 'automatic_heating_enabled',
1488
+ 'automatic_cooling_enabled',
1489
+ 'hvac_mode_setting',
1490
+ 'manual_override_allowed',
1491
+ ],
1492
+ type: 'object',
1493
+ },
1494
+ fan_mode_setting: {
1495
+ enum: ['auto', 'on'],
1496
+ type: 'string',
1497
+ },
1498
+ is_climate_setting_schedule_active: {
1499
+ type: 'boolean',
1500
+ },
1501
+ is_cooling: { type: 'boolean' },
1502
+ is_cooling_available: {
1503
+ enum: [false],
1504
+ type: 'boolean',
1505
+ },
1506
+ is_fan_running: { type: 'boolean' },
1507
+ is_heating: { type: 'boolean' },
1508
+ is_heating_available: {
1509
+ enum: [true],
1510
+ type: 'boolean',
1511
+ },
1512
+ is_temporary_manual_override_active: {
1513
+ type: 'boolean',
1514
+ },
1515
+ max_heating_set_point_celsius: { type: 'number' },
1516
+ max_heating_set_point_fahrenheit: {
1517
+ type: 'number',
1518
+ },
1519
+ min_heating_set_point_celsius: { type: 'number' },
1520
+ min_heating_set_point_fahrenheit: {
1521
+ type: 'number',
1522
+ },
1523
+ relative_humidity: {
1524
+ maximum: 1,
1525
+ minimum: 0,
1526
+ type: 'number',
1527
+ },
1528
+ temperature_celsius: { type: 'number' },
1529
+ temperature_fahrenheit: { type: 'number' },
1530
+ },
1531
+ type: 'object',
1532
+ },
1533
+ {
1534
+ properties: {
1535
+ active_climate_setting_schedule: {
1536
+ properties: {
1537
+ automatic_cooling_enabled: {
1538
+ type: 'boolean',
1539
+ },
1540
+ automatic_heating_enabled: {
1541
+ type: 'boolean',
1542
+ },
1543
+ climate_setting_schedule_id: {
1544
+ format: 'uuid',
1545
+ type: 'string',
1546
+ },
1547
+ cooling_set_point_celsius: { type: 'number' },
1548
+ cooling_set_point_fahrenheit: {
1549
+ type: 'number',
1550
+ },
1551
+ created_at: {
1552
+ format: 'date-time',
1553
+ type: 'string',
1554
+ },
1555
+ device_id: { type: 'string' },
1556
+ errors: {
1557
+ description:
1558
+ '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.',
1559
+ nullable: true,
1560
+ },
1561
+ heating_set_point_celsius: { type: 'number' },
1562
+ heating_set_point_fahrenheit: {
1563
+ type: 'number',
1564
+ },
1565
+ hvac_mode_setting: {
1566
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1567
+ type: 'string',
1568
+ },
1569
+ manual_override_allowed: { type: 'boolean' },
1570
+ name: { type: 'string' },
1571
+ schedule_ends_at: { type: 'string' },
1572
+ schedule_starts_at: { type: 'string' },
1573
+ schedule_type: {
1574
+ enum: ['time_bound'],
1575
+ type: 'string',
1576
+ },
1577
+ },
1578
+ required: [
1579
+ 'climate_setting_schedule_id',
1580
+ 'schedule_type',
1581
+ 'device_id',
1582
+ 'schedule_starts_at',
1583
+ 'schedule_ends_at',
1584
+ 'created_at',
1585
+ ],
1586
+ type: 'object',
1587
+ },
1588
+ available_hvac_mode_settings: {
1589
+ items: {
1590
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1591
+ type: 'string',
1592
+ },
1593
+ type: 'array',
1594
+ },
1595
+ can_enable_automatic_cooling: { type: 'boolean' },
1596
+ can_enable_automatic_heating: { type: 'boolean' },
1597
+ current_climate_setting: {
1598
+ properties: {
1599
+ automatic_cooling_enabled: {
1600
+ type: 'boolean',
1601
+ },
1602
+ automatic_heating_enabled: {
1603
+ type: 'boolean',
1604
+ },
1605
+ cooling_set_point_celsius: { type: 'number' },
1606
+ cooling_set_point_fahrenheit: {
1607
+ type: 'number',
1608
+ },
1609
+ heating_set_point_celsius: { type: 'number' },
1610
+ heating_set_point_fahrenheit: {
1611
+ type: 'number',
1612
+ },
1613
+ hvac_mode_setting: {
1614
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1615
+ type: 'string',
1616
+ },
1617
+ manual_override_allowed: { type: 'boolean' },
1618
+ },
1619
+ required: [
1620
+ 'automatic_heating_enabled',
1621
+ 'automatic_cooling_enabled',
1622
+ 'hvac_mode_setting',
1623
+ 'manual_override_allowed',
1624
+ ],
1625
+ type: 'object',
1626
+ },
1627
+ default_climate_setting: {
1628
+ properties: {
1629
+ automatic_cooling_enabled: {
1630
+ type: 'boolean',
1631
+ },
1632
+ automatic_heating_enabled: {
1633
+ type: 'boolean',
1634
+ },
1635
+ cooling_set_point_celsius: { type: 'number' },
1636
+ cooling_set_point_fahrenheit: {
1637
+ type: 'number',
1638
+ },
1639
+ heating_set_point_celsius: { type: 'number' },
1640
+ heating_set_point_fahrenheit: {
1641
+ type: 'number',
1642
+ },
1643
+ hvac_mode_setting: {
1644
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1645
+ type: 'string',
1646
+ },
1647
+ manual_override_allowed: { type: 'boolean' },
1648
+ },
1649
+ required: [
1650
+ 'automatic_heating_enabled',
1651
+ 'automatic_cooling_enabled',
1652
+ 'hvac_mode_setting',
1653
+ 'manual_override_allowed',
1654
+ ],
1655
+ type: 'object',
1656
+ },
1657
+ fan_mode_setting: {
1658
+ enum: ['auto', 'on'],
1659
+ type: 'string',
1660
+ },
1661
+ is_climate_setting_schedule_active: {
1662
+ type: 'boolean',
1663
+ },
1664
+ is_cooling: { type: 'boolean' },
1665
+ is_cooling_available: {
1666
+ enum: [true],
1667
+ type: 'boolean',
1668
+ },
1669
+ is_fan_running: { type: 'boolean' },
1670
+ is_heating: { type: 'boolean' },
1671
+ is_heating_available: {
1672
+ enum: [false],
1673
+ type: 'boolean',
1674
+ },
1675
+ is_temporary_manual_override_active: {
1676
+ type: 'boolean',
1677
+ },
1678
+ max_cooling_set_point_celsius: { type: 'number' },
1679
+ max_cooling_set_point_fahrenheit: {
1680
+ type: 'number',
1681
+ },
1682
+ min_cooling_set_point_celsius: { type: 'number' },
1683
+ min_cooling_set_point_fahrenheit: {
1684
+ type: 'number',
1685
+ },
1686
+ relative_humidity: {
1687
+ maximum: 1,
1688
+ minimum: 0,
1689
+ type: 'number',
1690
+ },
1691
+ temperature_celsius: { type: 'number' },
1692
+ temperature_fahrenheit: { type: 'number' },
1693
+ },
1694
+ type: 'object',
1695
+ },
1696
+ ],
1697
+ },
1698
+ ],
1699
+ },
1700
+ ],
1701
+ },
1702
+ {
1703
+ properties: {
1704
+ assa_abloy_credential_service_metadata: {
1705
+ properties: {
1706
+ endpoints: {
1707
+ items: {
1708
+ properties: {
1709
+ endpoint_id: { type: 'string' },
1710
+ is_active: { type: 'boolean' },
1711
+ },
1712
+ required: ['endpoint_id', 'is_active'],
1713
+ type: 'object',
1714
+ },
1715
+ type: 'array',
1716
+ },
1717
+ has_active_endpoint: { type: 'boolean' },
1169
1718
  },
1719
+ required: ['has_active_endpoint', 'endpoints'],
1170
1720
  type: 'object',
1171
1721
  },
1722
+ },
1723
+ type: 'object',
1724
+ },
1725
+ ],
1726
+ description: 'Properties of the device.',
1727
+ },
1728
+ warnings: {
1729
+ description:
1730
+ '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.',
1731
+ items: {
1732
+ properties: {
1733
+ message: { type: 'string' },
1734
+ warning_code: { type: 'string' },
1735
+ },
1736
+ required: ['warning_code', 'message'],
1737
+ type: 'object',
1738
+ },
1739
+ type: 'array',
1740
+ },
1741
+ workspace_id: {
1742
+ description:
1743
+ 'Unique identifier for the Seam workspace associated with the device.',
1744
+ format: 'uuid',
1745
+ type: 'string',
1746
+ },
1747
+ },
1748
+ required: [
1749
+ 'device_id',
1750
+ 'device_type',
1751
+ 'capabilities_supported',
1752
+ 'properties',
1753
+ 'location',
1754
+ 'connected_account_id',
1755
+ 'workspace_id',
1756
+ 'errors',
1757
+ 'warnings',
1758
+ 'created_at',
1759
+ 'is_managed',
1760
+ ],
1761
+ type: 'object',
1762
+ },
1763
+ device_provider: {
1764
+ properties: {
1765
+ device_provider_name: { type: 'string' },
1766
+ display_name: { type: 'string' },
1767
+ image_url: { type: 'string' },
1768
+ provider_categories: {
1769
+ items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
1770
+ type: 'array',
1771
+ },
1772
+ },
1773
+ required: [
1774
+ 'device_provider_name',
1775
+ 'display_name',
1776
+ 'image_url',
1777
+ 'provider_categories',
1778
+ ],
1779
+ type: 'object',
1780
+ },
1781
+ enrollment_automation: {
1782
+ properties: {
1783
+ created_at: { format: 'date-time', type: 'string' },
1784
+ credential_manager_acs_system_id: { format: 'uuid', type: 'string' },
1785
+ enrollment_automation_id: { format: 'uuid', type: 'string' },
1786
+ user_identity_id: { format: 'uuid', type: 'string' },
1787
+ workspace_id: { format: 'uuid', type: 'string' },
1788
+ },
1789
+ required: [
1790
+ 'credential_manager_acs_system_id',
1791
+ 'user_identity_id',
1792
+ 'created_at',
1793
+ 'workspace_id',
1794
+ 'enrollment_automation_id',
1795
+ ],
1796
+ type: 'object',
1797
+ },
1798
+ event: {
1799
+ properties: {
1800
+ created_at: { format: 'date-time', type: 'string' },
1801
+ device_id: { format: 'uuid', type: 'string' },
1802
+ event_id: { format: 'uuid', type: 'string' },
1803
+ event_type: { type: 'string' },
1804
+ occurred_at: { format: 'date-time', type: 'string' },
1805
+ workspace_id: { format: 'uuid', type: 'string' },
1806
+ },
1807
+ required: [
1808
+ 'event_id',
1809
+ 'event_type',
1810
+ 'workspace_id',
1811
+ 'created_at',
1812
+ 'occurred_at',
1813
+ ],
1814
+ type: 'object',
1815
+ },
1816
+ noise_threshold: {
1817
+ properties: {
1818
+ device_id: { format: 'uuid', type: 'string' },
1819
+ ends_daily_at: { type: 'string' },
1820
+ name: { type: 'string' },
1821
+ noise_threshold_decibels: { type: 'number' },
1822
+ noise_threshold_id: { format: 'uuid', type: 'string' },
1823
+ noise_threshold_nrs: { type: 'number' },
1824
+ starts_daily_at: { type: 'string' },
1825
+ },
1826
+ required: [
1827
+ 'noise_threshold_id',
1828
+ 'device_id',
1829
+ 'name',
1830
+ 'starts_daily_at',
1831
+ 'ends_daily_at',
1832
+ 'noise_threshold_decibels',
1833
+ ],
1834
+ type: 'object',
1835
+ },
1836
+ phone: {
1837
+ properties: {
1838
+ assa_abloy_credential_service_metadata: {
1839
+ properties: {
1840
+ endpoints: {
1841
+ items: {
1842
+ properties: {
1843
+ endpoint_id: { type: 'string' },
1844
+ is_active: { type: 'boolean' },
1845
+ },
1846
+ required: ['endpoint_id', 'is_active'],
1847
+ type: 'object',
1848
+ },
1849
+ type: 'array',
1850
+ },
1851
+ has_active_endpoint: { type: 'boolean' },
1852
+ },
1853
+ required: ['has_active_endpoint', 'endpoints'],
1854
+ type: 'object',
1855
+ },
1856
+ capabilities_supported: {
1857
+ description:
1858
+ '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.',
1859
+ items: {
1860
+ enum: [
1861
+ 'access_code',
1862
+ 'lock',
1863
+ 'noise_detection',
1864
+ 'thermostat',
1865
+ 'battery',
1866
+ 'phone',
1867
+ ],
1868
+ type: 'string',
1869
+ },
1870
+ type: 'array',
1871
+ },
1872
+ created_at: {
1873
+ description:
1874
+ 'Date and time at which the device object was created.',
1875
+ format: 'date-time',
1876
+ type: 'string',
1877
+ },
1878
+ device_id: {
1879
+ description: 'Unique identifier for the device.',
1880
+ format: 'uuid',
1881
+ type: 'string',
1882
+ },
1883
+ device_type: { enum: ['android_phone', 'ios_phone'], type: 'string' },
1884
+ errors: {
1885
+ description:
1886
+ '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.',
1887
+ items: {
1888
+ properties: {
1889
+ error_code: { type: 'string' },
1890
+ message: { type: 'string' },
1891
+ },
1892
+ required: ['error_code', 'message'],
1893
+ type: 'object',
1894
+ },
1895
+ type: 'array',
1896
+ },
1897
+ is_managed: {
1898
+ description: 'Indicates whether Seam manages the device.',
1899
+ enum: [true],
1900
+ type: 'boolean',
1901
+ },
1902
+ location: {
1903
+ description: 'Location information for the device.',
1904
+ nullable: true,
1905
+ properties: {
1906
+ location_name: {
1907
+ description: 'Name of the device location.',
1908
+ type: 'string',
1909
+ },
1910
+ timezone: {
1911
+ description: 'Time zone of the device location.',
1912
+ type: 'string',
1913
+ },
1914
+ },
1915
+ type: 'object',
1916
+ },
1917
+ properties: {
1918
+ allOf: [
1919
+ {
1920
+ allOf: [
1172
1921
  {
1173
- oneOf: [
1922
+ allOf: [
1174
1923
  {
1175
1924
  properties: {
1176
- active_climate_setting_schedule: {
1925
+ battery: {
1926
+ description:
1927
+ '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.',
1177
1928
  properties: {
1178
- automatic_cooling_enabled: { type: 'boolean' },
1179
- automatic_heating_enabled: { type: 'boolean' },
1180
- climate_setting_schedule_id: {
1181
- format: 'uuid',
1929
+ level: { maximum: 1, minimum: 0, type: 'number' },
1930
+ status: {
1931
+ enum: ['critical', 'low', 'good', 'full'],
1182
1932
  type: 'string',
1183
1933
  },
1184
- cooling_set_point_celsius: { type: 'number' },
1185
- cooling_set_point_fahrenheit: { type: 'number' },
1186
- created_at: {
1187
- format: 'date-time',
1188
- type: 'string',
1189
- },
1190
- device_id: { type: 'string' },
1191
- errors: {
1934
+ },
1935
+ required: ['level', 'status'],
1936
+ type: 'object',
1937
+ },
1938
+ battery_level: {
1939
+ description:
1940
+ 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
1941
+ maximum: 1,
1942
+ minimum: 0,
1943
+ type: 'number',
1944
+ },
1945
+ has_direct_power: {
1946
+ description:
1947
+ '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: {
1192
1966
  description:
1193
- '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.',
1194
- nullable: true,
1967
+ 'Indicates whether the device supports an accessory keypad.',
1968
+ type: 'boolean',
1195
1969
  },
1196
- heating_set_point_celsius: { type: 'number' },
1197
- heating_set_point_fahrenheit: { type: 'number' },
1198
- hvac_mode_setting: {
1199
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1970
+ display_name: {
1971
+ description:
1972
+ 'Display name of the device model.',
1200
1973
  type: 'string',
1201
1974
  },
1202
- manual_override_allowed: { type: 'boolean' },
1203
- name: { type: 'string' },
1204
- schedule_ends_at: { type: 'string' },
1205
- schedule_starts_at: { type: 'string' },
1206
- schedule_type: {
1207
- enum: ['time_bound'],
1975
+ manufacturer_display_name: {
1976
+ description:
1977
+ 'Display name that corresponds to the manufacturer-specific terminology for the device.',
1208
1978
  type: 'string',
1209
1979
  },
1980
+ offline_access_codes_supported: {
1981
+ description:
1982
+ 'Indicates whether the device supports offline access codes.',
1983
+ type: 'boolean',
1984
+ },
1985
+ online_access_codes_supported: {
1986
+ description:
1987
+ 'Indicates whether the device supports online access codes.',
1988
+ type: 'boolean',
1989
+ },
1210
1990
  },
1211
1991
  required: [
1212
- 'climate_setting_schedule_id',
1213
- 'schedule_type',
1214
- 'device_id',
1215
- 'schedule_starts_at',
1216
- 'schedule_ends_at',
1217
- 'created_at',
1992
+ 'display_name',
1993
+ 'manufacturer_display_name',
1218
1994
  ],
1219
1995
  type: 'object',
1220
1996
  },
1221
- available_hvac_mode_settings: {
1222
- items: {
1223
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1224
- type: 'string',
1997
+ name: {
1998
+ description:
1999
+ 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
2000
+ type: 'string',
2001
+ },
2002
+ offline_access_codes_enabled: {
2003
+ description:
2004
+ 'Indicates whether it is currently possible to use offline access codes for the device.',
2005
+ type: 'boolean',
2006
+ },
2007
+ online: {
2008
+ description:
2009
+ 'Indicates whether the device is online.',
2010
+ type: 'boolean',
2011
+ },
2012
+ online_access_codes_enabled: {
2013
+ description:
2014
+ 'Indicates whether it is currently possible to use online access codes for the device.',
2015
+ type: 'boolean',
2016
+ },
2017
+ serial_number: {
2018
+ description: 'Serial number of the device.',
2019
+ type: 'string',
2020
+ },
2021
+ supports_accessory_keypad: {
2022
+ description:
2023
+ 'Deprecated. Use model.accessory_keypad_supported.',
2024
+ type: 'boolean',
2025
+ },
2026
+ supports_offline_access_codes: {
2027
+ description:
2028
+ 'Deprecated. Use offline_access_codes_enabled.',
2029
+ type: 'boolean',
2030
+ },
2031
+ },
2032
+ required: ['online', 'name', 'model'],
2033
+ type: 'object',
2034
+ },
2035
+ {
2036
+ properties: {
2037
+ august_metadata: {
2038
+ properties: {
2039
+ has_keypad: { type: 'boolean' },
2040
+ house_id: { type: 'string' },
2041
+ house_name: { type: 'string' },
2042
+ keypad_battery_level: { type: 'string' },
2043
+ lock_id: { type: 'string' },
2044
+ lock_name: { type: 'string' },
2045
+ model: { type: 'string' },
1225
2046
  },
1226
- type: 'array',
2047
+ required: [
2048
+ 'lock_id',
2049
+ 'lock_name',
2050
+ 'house_name',
2051
+ 'has_keypad',
2052
+ ],
2053
+ type: 'object',
1227
2054
  },
1228
- can_enable_automatic_cooling: { type: 'boolean' },
1229
- can_enable_automatic_heating: { type: 'boolean' },
1230
- current_climate_setting: {
2055
+ avigilon_alta_metadata: {
1231
2056
  properties: {
1232
- automatic_cooling_enabled: { type: 'boolean' },
1233
- automatic_heating_enabled: { type: 'boolean' },
1234
- cooling_set_point_celsius: { type: 'number' },
1235
- cooling_set_point_fahrenheit: { type: 'number' },
1236
- heating_set_point_celsius: { type: 'number' },
1237
- heating_set_point_fahrenheit: { type: 'number' },
1238
- hvac_mode_setting: {
1239
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1240
- type: 'string',
1241
- },
1242
- manual_override_allowed: { type: 'boolean' },
2057
+ entry_name: { type: 'string' },
2058
+ org_name: { type: 'string' },
2059
+ site_id: { type: 'number' },
2060
+ site_name: { type: 'string' },
2061
+ zone_id: { type: 'number' },
2062
+ zone_name: { type: 'string' },
1243
2063
  },
1244
2064
  required: [
1245
- 'automatic_heating_enabled',
1246
- 'automatic_cooling_enabled',
1247
- 'hvac_mode_setting',
1248
- 'manual_override_allowed',
2065
+ 'entry_name',
2066
+ 'org_name',
2067
+ 'zone_id',
2068
+ 'zone_name',
2069
+ 'site_id',
2070
+ 'site_name',
1249
2071
  ],
1250
2072
  type: 'object',
1251
2073
  },
1252
- default_climate_setting: {
2074
+ brivo_metadata: {
2075
+ properties: { device_name: { type: 'string' } },
2076
+ required: ['device_name'],
2077
+ type: 'object',
2078
+ },
2079
+ controlbyweb_metadata: {
1253
2080
  properties: {
1254
- automatic_cooling_enabled: { type: 'boolean' },
1255
- automatic_heating_enabled: { type: 'boolean' },
1256
- cooling_set_point_celsius: { type: 'number' },
1257
- cooling_set_point_fahrenheit: { type: 'number' },
1258
- heating_set_point_celsius: { type: 'number' },
1259
- heating_set_point_fahrenheit: { type: 'number' },
1260
- hvac_mode_setting: {
1261
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1262
- type: 'string',
2081
+ device_id: { type: 'string' },
2082
+ device_name: { type: 'string' },
2083
+ relay_name: { nullable: true, type: 'string' },
2084
+ },
2085
+ required: [
2086
+ 'device_id',
2087
+ 'device_name',
2088
+ 'relay_name',
2089
+ ],
2090
+ type: 'object',
2091
+ },
2092
+ dormakaba_oracode_metadata: {
2093
+ properties: {
2094
+ device_id: { type: 'number' },
2095
+ door_id: { type: 'number' },
2096
+ door_name: { type: 'string' },
2097
+ iana_timezone: { type: 'string' },
2098
+ predefined_time_slots: {
2099
+ items: {
2100
+ properties: {
2101
+ check_in_time: { type: 'string' },
2102
+ check_out_time: { type: 'string' },
2103
+ dormakaba_oracode_user_level_id: {
2104
+ format: 'uuid',
2105
+ type: 'string',
2106
+ },
2107
+ ext_dormakaba_oracode_user_level_prefix: {
2108
+ type: 'number',
2109
+ },
2110
+ is_24_hour: { type: 'boolean' },
2111
+ is_biweekly_mode: { type: 'boolean' },
2112
+ is_master: { type: 'boolean' },
2113
+ is_one_shot: { type: 'boolean' },
2114
+ name: { type: 'string' },
2115
+ prefix: { type: 'number' },
2116
+ },
2117
+ required: [
2118
+ 'name',
2119
+ 'prefix',
2120
+ 'check_in_time',
2121
+ 'check_out_time',
2122
+ 'is_24_hour',
2123
+ 'is_biweekly_mode',
2124
+ 'is_one_shot',
2125
+ 'is_master',
2126
+ 'ext_dormakaba_oracode_user_level_prefix',
2127
+ 'dormakaba_oracode_user_level_id',
2128
+ ],
2129
+ type: 'object',
2130
+ },
2131
+ type: 'array',
1263
2132
  },
1264
- manual_override_allowed: { type: 'boolean' },
2133
+ site_id: { type: 'number' },
2134
+ site_name: { type: 'string' },
1265
2135
  },
1266
2136
  required: [
1267
- 'automatic_heating_enabled',
1268
- 'automatic_cooling_enabled',
1269
- 'hvac_mode_setting',
1270
- 'manual_override_allowed',
2137
+ 'door_id',
2138
+ 'door_name',
2139
+ 'site_id',
2140
+ 'site_name',
1271
2141
  ],
1272
2142
  type: 'object',
1273
2143
  },
1274
- fan_mode_setting: {
1275
- enum: ['auto', 'on'],
1276
- type: 'string',
2144
+ ecobee_metadata: {
2145
+ properties: {
2146
+ device_name: { type: 'string' },
2147
+ ecobee_device_id: { type: 'string' },
2148
+ },
2149
+ required: ['ecobee_device_id', 'device_name'],
2150
+ type: 'object',
1277
2151
  },
1278
- is_climate_setting_schedule_active: {
1279
- type: 'boolean',
2152
+ four_suites_metadata: {
2153
+ properties: {
2154
+ device_id: { type: 'number' },
2155
+ device_name: { type: 'string' },
2156
+ reclose_delay_in_seconds: { type: 'number' },
2157
+ },
2158
+ required: [
2159
+ 'device_id',
2160
+ 'device_name',
2161
+ 'reclose_delay_in_seconds',
2162
+ ],
2163
+ type: 'object',
1280
2164
  },
1281
- is_cooling: { type: 'boolean' },
1282
- is_cooling_available: {
1283
- enum: [true],
1284
- type: 'boolean',
2165
+ genie_metadata: {
2166
+ properties: {
2167
+ device_name: { type: 'string' },
2168
+ door_name: { type: 'string' },
2169
+ },
2170
+ required: ['device_name', 'door_name'],
2171
+ type: 'object',
1285
2172
  },
1286
- is_fan_running: { type: 'boolean' },
1287
- is_heating: { type: 'boolean' },
1288
- is_heating_available: {
1289
- enum: [true],
1290
- type: 'boolean',
2173
+ hubitat_metadata: {
2174
+ properties: {
2175
+ device_id: { type: 'string' },
2176
+ device_label: { type: 'string' },
2177
+ device_name: { type: 'string' },
2178
+ },
2179
+ required: [
2180
+ 'device_id',
2181
+ 'device_name',
2182
+ 'device_label',
2183
+ ],
2184
+ type: 'object',
1291
2185
  },
1292
- is_temporary_manual_override_active: {
1293
- type: 'boolean',
2186
+ igloo_metadata: {
2187
+ properties: {
2188
+ bridge_id: { type: 'string' },
2189
+ device_id: { type: 'string' },
2190
+ model: { type: 'string' },
2191
+ },
2192
+ required: ['device_id', 'bridge_id'],
2193
+ type: 'object',
1294
2194
  },
1295
- max_cooling_set_point_celsius: { type: 'number' },
1296
- max_cooling_set_point_fahrenheit: { type: 'number' },
1297
- max_heating_set_point_celsius: { type: 'number' },
1298
- max_heating_set_point_fahrenheit: { type: 'number' },
1299
- min_cooling_set_point_celsius: { type: 'number' },
1300
- min_cooling_set_point_fahrenheit: { type: 'number' },
1301
- min_heating_cooling_delta_celsius: { type: 'number' },
1302
- min_heating_cooling_delta_fahrenheit: {
1303
- type: 'number',
2195
+ igloohome_metadata: {
2196
+ properties: {
2197
+ bridge_id: { type: 'string' },
2198
+ bridge_name: { type: 'string' },
2199
+ device_id: { type: 'string' },
2200
+ device_name: { type: 'string' },
2201
+ },
2202
+ required: ['device_id', 'device_name'],
2203
+ type: 'object',
1304
2204
  },
1305
- min_heating_set_point_celsius: { type: 'number' },
1306
- min_heating_set_point_fahrenheit: { type: 'number' },
1307
- relative_humidity: {
1308
- maximum: 1,
1309
- minimum: 0,
1310
- type: 'number',
2205
+ kwikset_metadata: {
2206
+ properties: {
2207
+ device_id: { type: 'string' },
2208
+ device_name: { type: 'string' },
2209
+ model_number: { type: 'string' },
2210
+ },
2211
+ required: [
2212
+ 'device_id',
2213
+ 'device_name',
2214
+ 'model_number',
2215
+ ],
2216
+ type: 'object',
1311
2217
  },
1312
- temperature_celsius: { type: 'number' },
1313
- temperature_fahrenheit: { type: 'number' },
1314
- },
1315
- type: 'object',
1316
- },
1317
- {
1318
- properties: {
1319
- active_climate_setting_schedule: {
2218
+ lockly_metadata: {
1320
2219
  properties: {
1321
- automatic_cooling_enabled: { type: 'boolean' },
1322
- automatic_heating_enabled: { type: 'boolean' },
1323
- climate_setting_schedule_id: {
1324
- format: 'uuid',
1325
- type: 'string',
1326
- },
1327
- cooling_set_point_celsius: { type: 'number' },
1328
- cooling_set_point_fahrenheit: { type: 'number' },
1329
- created_at: {
1330
- format: 'date-time',
1331
- type: 'string',
1332
- },
1333
2220
  device_id: { type: 'string' },
1334
- errors: {
1335
- description:
1336
- '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.',
1337
- nullable: true,
1338
- },
1339
- heating_set_point_celsius: { type: 'number' },
1340
- heating_set_point_fahrenheit: { type: 'number' },
1341
- hvac_mode_setting: {
1342
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1343
- type: 'string',
1344
- },
1345
- manual_override_allowed: { type: 'boolean' },
1346
- name: { type: 'string' },
1347
- schedule_ends_at: { type: 'string' },
1348
- schedule_starts_at: { type: 'string' },
1349
- schedule_type: {
1350
- enum: ['time_bound'],
1351
- type: 'string',
2221
+ device_name: { type: 'string' },
2222
+ model: { type: 'string' },
2223
+ },
2224
+ required: ['device_id', 'device_name'],
2225
+ type: 'object',
2226
+ },
2227
+ minut_metadata: {
2228
+ properties: {
2229
+ device_id: { type: 'string' },
2230
+ device_name: { type: 'string' },
2231
+ latest_sensor_values: {
2232
+ properties: {
2233
+ accelerometer_z: {
2234
+ properties: {
2235
+ time: { type: 'string' },
2236
+ value: { type: 'number' },
2237
+ },
2238
+ required: ['time', 'value'],
2239
+ type: 'object',
2240
+ },
2241
+ humidity: {
2242
+ properties: {
2243
+ time: { type: 'string' },
2244
+ value: { type: 'number' },
2245
+ },
2246
+ required: ['time', 'value'],
2247
+ type: 'object',
2248
+ },
2249
+ pressure: {
2250
+ properties: {
2251
+ time: { type: 'string' },
2252
+ value: { type: 'number' },
2253
+ },
2254
+ required: ['time', 'value'],
2255
+ type: 'object',
2256
+ },
2257
+ sound: {
2258
+ properties: {
2259
+ time: { type: 'string' },
2260
+ value: { type: 'number' },
2261
+ },
2262
+ required: ['time', 'value'],
2263
+ type: 'object',
2264
+ },
2265
+ temperature: {
2266
+ properties: {
2267
+ time: { type: 'string' },
2268
+ value: { type: 'number' },
2269
+ },
2270
+ required: ['time', 'value'],
2271
+ type: 'object',
2272
+ },
2273
+ },
2274
+ required: [
2275
+ 'temperature',
2276
+ 'sound',
2277
+ 'humidity',
2278
+ 'pressure',
2279
+ 'accelerometer_z',
2280
+ ],
2281
+ type: 'object',
1352
2282
  },
1353
2283
  },
1354
2284
  required: [
1355
- 'climate_setting_schedule_id',
1356
- 'schedule_type',
1357
2285
  'device_id',
1358
- 'schedule_starts_at',
1359
- 'schedule_ends_at',
1360
- 'created_at',
2286
+ 'device_name',
2287
+ 'latest_sensor_values',
1361
2288
  ],
1362
2289
  type: 'object',
1363
2290
  },
1364
- available_hvac_mode_settings: {
1365
- items: {
1366
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1367
- type: 'string',
2291
+ nest_metadata: {
2292
+ properties: {
2293
+ custom_name: { type: 'string' },
2294
+ device_name: { type: 'string' },
2295
+ nest_device_id: { type: 'string' },
1368
2296
  },
1369
- type: 'array',
2297
+ required: [
2298
+ 'nest_device_id',
2299
+ 'device_name',
2300
+ 'custom_name',
2301
+ ],
2302
+ type: 'object',
1370
2303
  },
1371
- can_enable_automatic_cooling: { type: 'boolean' },
1372
- can_enable_automatic_heating: { type: 'boolean' },
1373
- current_climate_setting: {
2304
+ noiseaware_metadata: {
1374
2305
  properties: {
1375
- automatic_cooling_enabled: { type: 'boolean' },
1376
- automatic_heating_enabled: { type: 'boolean' },
1377
- cooling_set_point_celsius: { type: 'number' },
1378
- cooling_set_point_fahrenheit: { type: 'number' },
1379
- heating_set_point_celsius: { type: 'number' },
1380
- heating_set_point_fahrenheit: { type: 'number' },
1381
- hvac_mode_setting: {
1382
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2306
+ device_id: { type: 'string' },
2307
+ device_model: {
2308
+ enum: ['indoor', 'outdoor'],
1383
2309
  type: 'string',
1384
2310
  },
1385
- manual_override_allowed: { type: 'boolean' },
2311
+ device_name: { type: 'string' },
2312
+ noise_level_decibel: { type: 'number' },
2313
+ noise_level_nrs: { type: 'number' },
1386
2314
  },
1387
2315
  required: [
1388
- 'automatic_heating_enabled',
1389
- 'automatic_cooling_enabled',
1390
- 'hvac_mode_setting',
1391
- 'manual_override_allowed',
2316
+ 'device_model',
2317
+ 'noise_level_nrs',
2318
+ 'noise_level_decibel',
2319
+ 'device_name',
2320
+ 'device_id',
1392
2321
  ],
1393
2322
  type: 'object',
1394
2323
  },
1395
- default_climate_setting: {
2324
+ nuki_metadata: {
1396
2325
  properties: {
1397
- automatic_cooling_enabled: { type: 'boolean' },
1398
- automatic_heating_enabled: { type: 'boolean' },
1399
- cooling_set_point_celsius: { type: 'number' },
1400
- cooling_set_point_fahrenheit: { type: 'number' },
1401
- heating_set_point_celsius: { type: 'number' },
1402
- heating_set_point_fahrenheit: { type: 'number' },
1403
- hvac_mode_setting: {
1404
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1405
- type: 'string',
1406
- },
1407
- manual_override_allowed: { type: 'boolean' },
2326
+ device_id: { type: 'string' },
2327
+ device_name: { type: 'string' },
2328
+ keypad_battery_critical: { type: 'boolean' },
2329
+ },
2330
+ required: ['device_id', 'device_name'],
2331
+ type: 'object',
2332
+ },
2333
+ salto_metadata: {
2334
+ properties: {
2335
+ battery_level: { type: 'string' },
2336
+ customer_reference: { type: 'string' },
2337
+ lock_id: { type: 'string' },
2338
+ lock_type: { type: 'string' },
2339
+ locked_state: { type: 'string' },
2340
+ model: { type: 'string' },
1408
2341
  },
1409
2342
  required: [
1410
- 'automatic_heating_enabled',
1411
- 'automatic_cooling_enabled',
1412
- 'hvac_mode_setting',
1413
- 'manual_override_allowed',
2343
+ 'lock_id',
2344
+ 'customer_reference',
2345
+ 'lock_type',
2346
+ 'battery_level',
2347
+ 'locked_state',
1414
2348
  ],
1415
2349
  type: 'object',
1416
2350
  },
1417
- fan_mode_setting: {
1418
- enum: ['auto', 'on'],
1419
- type: 'string',
2351
+ schlage_metadata: {
2352
+ properties: {
2353
+ access_code_length: { type: 'number' },
2354
+ device_id: { type: 'string' },
2355
+ device_name: { type: 'string' },
2356
+ model: { type: 'string' },
2357
+ },
2358
+ required: [
2359
+ 'device_id',
2360
+ 'device_name',
2361
+ 'access_code_length',
2362
+ ],
2363
+ type: 'object',
1420
2364
  },
1421
- is_climate_setting_schedule_active: {
1422
- type: 'boolean',
2365
+ seam_bridge_metadata: {
2366
+ properties: {
2367
+ device_num: { type: 'number' },
2368
+ name: { type: 'string' },
2369
+ unlock_method: {
2370
+ enum: ['bridge', 'doorking'],
2371
+ type: 'string',
2372
+ },
2373
+ },
2374
+ required: ['device_num', 'name'],
2375
+ type: 'object',
1423
2376
  },
1424
- is_cooling: { type: 'boolean' },
1425
- is_cooling_available: {
1426
- enum: [false],
1427
- type: 'boolean',
2377
+ smartthings_metadata: {
2378
+ properties: {
2379
+ device_id: { type: 'string' },
2380
+ device_name: { type: 'string' },
2381
+ location_id: { type: 'string' },
2382
+ model: { type: 'string' },
2383
+ },
2384
+ required: ['device_id', 'device_name'],
2385
+ type: 'object',
1428
2386
  },
1429
- is_fan_running: { type: 'boolean' },
1430
- is_heating: { type: 'boolean' },
1431
- is_heating_available: {
1432
- enum: [true],
1433
- type: 'boolean',
2387
+ ttlock_metadata: {
2388
+ properties: {
2389
+ lock_alias: { type: 'string' },
2390
+ lock_id: { type: 'number' },
2391
+ },
2392
+ required: ['lock_id', 'lock_alias'],
2393
+ type: 'object',
1434
2394
  },
1435
- is_temporary_manual_override_active: {
1436
- type: 'boolean',
2395
+ two_n_metadata: {
2396
+ properties: {
2397
+ device_id: { type: 'number' },
2398
+ device_name: { type: 'string' },
2399
+ },
2400
+ required: ['device_id', 'device_name'],
2401
+ type: 'object',
1437
2402
  },
1438
- max_heating_set_point_celsius: { type: 'number' },
1439
- max_heating_set_point_fahrenheit: { type: 'number' },
1440
- min_heating_set_point_celsius: { type: 'number' },
1441
- min_heating_set_point_fahrenheit: { type: 'number' },
1442
- relative_humidity: {
1443
- maximum: 1,
1444
- minimum: 0,
1445
- type: 'number',
2403
+ wyze_metadata: {
2404
+ properties: {
2405
+ device_id: { type: 'string' },
2406
+ device_info_model: { type: 'string' },
2407
+ device_name: { type: 'string' },
2408
+ product_model: { type: 'string' },
2409
+ product_name: { type: 'string' },
2410
+ product_type: { type: 'string' },
2411
+ },
2412
+ required: [
2413
+ 'device_id',
2414
+ 'device_name',
2415
+ 'product_name',
2416
+ 'product_type',
2417
+ 'product_model',
2418
+ 'device_info_model',
2419
+ ],
2420
+ type: 'object',
1446
2421
  },
1447
- temperature_celsius: { type: 'number' },
1448
- temperature_fahrenheit: { type: 'number' },
1449
2422
  },
1450
2423
  type: 'object',
1451
2424
  },
2425
+ ],
2426
+ },
2427
+ {
2428
+ allOf: [
1452
2429
  {
1453
2430
  properties: {
1454
- active_climate_setting_schedule: {
2431
+ code_constraints: {
2432
+ items: {
2433
+ oneOf: [
2434
+ {
2435
+ properties: {
2436
+ constraint_type: {
2437
+ enum: [
2438
+ 'no_zeros',
2439
+ 'cannot_start_with_12',
2440
+ 'no_triple_consecutive_ints',
2441
+ 'cannot_specify_pin_code',
2442
+ 'pin_code_matches_existing_set',
2443
+ 'start_date_in_future',
2444
+ ],
2445
+ type: 'string',
2446
+ },
2447
+ },
2448
+ required: ['constraint_type'],
2449
+ type: 'object',
2450
+ },
2451
+ {
2452
+ properties: {
2453
+ constraint_type: {
2454
+ enum: ['name_length'],
2455
+ type: 'string',
2456
+ },
2457
+ max_length: { type: 'number' },
2458
+ min_length: { type: 'number' },
2459
+ },
2460
+ required: ['constraint_type'],
2461
+ type: 'object',
2462
+ },
2463
+ ],
2464
+ },
2465
+ type: 'array',
2466
+ },
2467
+ door_open: { type: 'boolean' },
2468
+ has_native_entry_events: { type: 'boolean' },
2469
+ keypad_battery: {
2470
+ properties: { level: { type: 'number' } },
2471
+ required: ['level'],
2472
+ type: 'object',
2473
+ },
2474
+ locked: { type: 'boolean' },
2475
+ max_active_codes_supported: { type: 'number' },
2476
+ supported_code_lengths: {
2477
+ items: { type: 'number' },
2478
+ type: 'array',
2479
+ },
2480
+ supports_backup_access_code_pool: { type: 'boolean' },
2481
+ },
2482
+ type: 'object',
2483
+ },
2484
+ {
2485
+ oneOf: [
2486
+ {
1455
2487
  properties: {
1456
- automatic_cooling_enabled: { type: 'boolean' },
1457
- automatic_heating_enabled: { type: 'boolean' },
1458
- climate_setting_schedule_id: {
1459
- format: 'uuid',
2488
+ active_climate_setting_schedule: {
2489
+ properties: {
2490
+ automatic_cooling_enabled: {
2491
+ type: 'boolean',
2492
+ },
2493
+ automatic_heating_enabled: {
2494
+ type: 'boolean',
2495
+ },
2496
+ climate_setting_schedule_id: {
2497
+ format: 'uuid',
2498
+ type: 'string',
2499
+ },
2500
+ cooling_set_point_celsius: { type: 'number' },
2501
+ cooling_set_point_fahrenheit: {
2502
+ type: 'number',
2503
+ },
2504
+ created_at: {
2505
+ format: 'date-time',
2506
+ type: 'string',
2507
+ },
2508
+ device_id: { type: 'string' },
2509
+ errors: {
2510
+ description:
2511
+ '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.',
2512
+ nullable: true,
2513
+ },
2514
+ heating_set_point_celsius: { type: 'number' },
2515
+ heating_set_point_fahrenheit: {
2516
+ type: 'number',
2517
+ },
2518
+ hvac_mode_setting: {
2519
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2520
+ type: 'string',
2521
+ },
2522
+ manual_override_allowed: { type: 'boolean' },
2523
+ name: { type: 'string' },
2524
+ schedule_ends_at: { type: 'string' },
2525
+ schedule_starts_at: { type: 'string' },
2526
+ schedule_type: {
2527
+ enum: ['time_bound'],
2528
+ type: 'string',
2529
+ },
2530
+ },
2531
+ required: [
2532
+ 'climate_setting_schedule_id',
2533
+ 'schedule_type',
2534
+ 'device_id',
2535
+ 'schedule_starts_at',
2536
+ 'schedule_ends_at',
2537
+ 'created_at',
2538
+ ],
2539
+ type: 'object',
2540
+ },
2541
+ available_hvac_mode_settings: {
2542
+ items: {
2543
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2544
+ type: 'string',
2545
+ },
2546
+ type: 'array',
2547
+ },
2548
+ can_enable_automatic_cooling: { type: 'boolean' },
2549
+ can_enable_automatic_heating: { type: 'boolean' },
2550
+ current_climate_setting: {
2551
+ properties: {
2552
+ automatic_cooling_enabled: {
2553
+ type: 'boolean',
2554
+ },
2555
+ automatic_heating_enabled: {
2556
+ type: 'boolean',
2557
+ },
2558
+ cooling_set_point_celsius: { type: 'number' },
2559
+ cooling_set_point_fahrenheit: {
2560
+ type: 'number',
2561
+ },
2562
+ heating_set_point_celsius: { type: 'number' },
2563
+ heating_set_point_fahrenheit: {
2564
+ type: 'number',
2565
+ },
2566
+ hvac_mode_setting: {
2567
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2568
+ type: 'string',
2569
+ },
2570
+ manual_override_allowed: { type: 'boolean' },
2571
+ },
2572
+ required: [
2573
+ 'automatic_heating_enabled',
2574
+ 'automatic_cooling_enabled',
2575
+ 'hvac_mode_setting',
2576
+ 'manual_override_allowed',
2577
+ ],
2578
+ type: 'object',
2579
+ },
2580
+ default_climate_setting: {
2581
+ properties: {
2582
+ automatic_cooling_enabled: {
2583
+ type: 'boolean',
2584
+ },
2585
+ automatic_heating_enabled: {
2586
+ type: 'boolean',
2587
+ },
2588
+ cooling_set_point_celsius: { type: 'number' },
2589
+ cooling_set_point_fahrenheit: {
2590
+ type: 'number',
2591
+ },
2592
+ heating_set_point_celsius: { type: 'number' },
2593
+ heating_set_point_fahrenheit: {
2594
+ type: 'number',
2595
+ },
2596
+ hvac_mode_setting: {
2597
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2598
+ type: 'string',
2599
+ },
2600
+ manual_override_allowed: { type: 'boolean' },
2601
+ },
2602
+ required: [
2603
+ 'automatic_heating_enabled',
2604
+ 'automatic_cooling_enabled',
2605
+ 'hvac_mode_setting',
2606
+ 'manual_override_allowed',
2607
+ ],
2608
+ type: 'object',
2609
+ },
2610
+ fan_mode_setting: {
2611
+ enum: ['auto', 'on'],
1460
2612
  type: 'string',
1461
2613
  },
1462
- cooling_set_point_celsius: { type: 'number' },
1463
- cooling_set_point_fahrenheit: { type: 'number' },
1464
- created_at: {
1465
- format: 'date-time',
1466
- type: 'string',
2614
+ is_climate_setting_schedule_active: {
2615
+ type: 'boolean',
2616
+ },
2617
+ is_cooling: { type: 'boolean' },
2618
+ is_cooling_available: {
2619
+ enum: [true],
2620
+ type: 'boolean',
2621
+ },
2622
+ is_fan_running: { type: 'boolean' },
2623
+ is_heating: { type: 'boolean' },
2624
+ is_heating_available: {
2625
+ enum: [true],
2626
+ type: 'boolean',
2627
+ },
2628
+ is_temporary_manual_override_active: {
2629
+ type: 'boolean',
2630
+ },
2631
+ max_cooling_set_point_celsius: { type: 'number' },
2632
+ max_cooling_set_point_fahrenheit: {
2633
+ type: 'number',
2634
+ },
2635
+ max_heating_set_point_celsius: { type: 'number' },
2636
+ max_heating_set_point_fahrenheit: {
2637
+ type: 'number',
1467
2638
  },
1468
- device_id: { type: 'string' },
1469
- errors: {
1470
- description:
1471
- '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.',
1472
- nullable: true,
2639
+ min_cooling_set_point_celsius: { type: 'number' },
2640
+ min_cooling_set_point_fahrenheit: {
2641
+ type: 'number',
1473
2642
  },
1474
- heating_set_point_celsius: { type: 'number' },
1475
- heating_set_point_fahrenheit: { type: 'number' },
1476
- hvac_mode_setting: {
1477
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1478
- type: 'string',
2643
+ min_heating_cooling_delta_celsius: {
2644
+ type: 'number',
1479
2645
  },
1480
- manual_override_allowed: { type: 'boolean' },
1481
- name: { type: 'string' },
1482
- schedule_ends_at: { type: 'string' },
1483
- schedule_starts_at: { type: 'string' },
1484
- schedule_type: {
1485
- enum: ['time_bound'],
1486
- type: 'string',
2646
+ min_heating_cooling_delta_fahrenheit: {
2647
+ type: 'number',
2648
+ },
2649
+ min_heating_set_point_celsius: { type: 'number' },
2650
+ min_heating_set_point_fahrenheit: {
2651
+ type: 'number',
2652
+ },
2653
+ relative_humidity: {
2654
+ maximum: 1,
2655
+ minimum: 0,
2656
+ type: 'number',
1487
2657
  },
2658
+ temperature_celsius: { type: 'number' },
2659
+ temperature_fahrenheit: { type: 'number' },
1488
2660
  },
1489
- required: [
1490
- 'climate_setting_schedule_id',
1491
- 'schedule_type',
1492
- 'device_id',
1493
- 'schedule_starts_at',
1494
- 'schedule_ends_at',
1495
- 'created_at',
1496
- ],
1497
2661
  type: 'object',
1498
2662
  },
1499
- available_hvac_mode_settings: {
1500
- items: {
1501
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1502
- type: 'string',
1503
- },
1504
- type: 'array',
1505
- },
1506
- can_enable_automatic_cooling: { type: 'boolean' },
1507
- can_enable_automatic_heating: { type: 'boolean' },
1508
- current_climate_setting: {
2663
+ {
1509
2664
  properties: {
1510
- automatic_cooling_enabled: { type: 'boolean' },
1511
- automatic_heating_enabled: { type: 'boolean' },
1512
- cooling_set_point_celsius: { type: 'number' },
1513
- cooling_set_point_fahrenheit: { type: 'number' },
1514
- heating_set_point_celsius: { type: 'number' },
1515
- heating_set_point_fahrenheit: { type: 'number' },
1516
- hvac_mode_setting: {
1517
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2665
+ active_climate_setting_schedule: {
2666
+ properties: {
2667
+ automatic_cooling_enabled: {
2668
+ type: 'boolean',
2669
+ },
2670
+ automatic_heating_enabled: {
2671
+ type: 'boolean',
2672
+ },
2673
+ climate_setting_schedule_id: {
2674
+ format: 'uuid',
2675
+ type: 'string',
2676
+ },
2677
+ cooling_set_point_celsius: { type: 'number' },
2678
+ cooling_set_point_fahrenheit: {
2679
+ type: 'number',
2680
+ },
2681
+ created_at: {
2682
+ format: 'date-time',
2683
+ type: 'string',
2684
+ },
2685
+ device_id: { type: 'string' },
2686
+ errors: {
2687
+ description:
2688
+ '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.',
2689
+ nullable: true,
2690
+ },
2691
+ heating_set_point_celsius: { type: 'number' },
2692
+ heating_set_point_fahrenheit: {
2693
+ type: 'number',
2694
+ },
2695
+ hvac_mode_setting: {
2696
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2697
+ type: 'string',
2698
+ },
2699
+ manual_override_allowed: { type: 'boolean' },
2700
+ name: { type: 'string' },
2701
+ schedule_ends_at: { type: 'string' },
2702
+ schedule_starts_at: { type: 'string' },
2703
+ schedule_type: {
2704
+ enum: ['time_bound'],
2705
+ type: 'string',
2706
+ },
2707
+ },
2708
+ required: [
2709
+ 'climate_setting_schedule_id',
2710
+ 'schedule_type',
2711
+ 'device_id',
2712
+ 'schedule_starts_at',
2713
+ 'schedule_ends_at',
2714
+ 'created_at',
2715
+ ],
2716
+ type: 'object',
2717
+ },
2718
+ available_hvac_mode_settings: {
2719
+ items: {
2720
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2721
+ type: 'string',
2722
+ },
2723
+ type: 'array',
2724
+ },
2725
+ can_enable_automatic_cooling: { type: 'boolean' },
2726
+ can_enable_automatic_heating: { type: 'boolean' },
2727
+ current_climate_setting: {
2728
+ properties: {
2729
+ automatic_cooling_enabled: {
2730
+ type: 'boolean',
2731
+ },
2732
+ automatic_heating_enabled: {
2733
+ type: 'boolean',
2734
+ },
2735
+ cooling_set_point_celsius: { type: 'number' },
2736
+ cooling_set_point_fahrenheit: {
2737
+ type: 'number',
2738
+ },
2739
+ heating_set_point_celsius: { type: 'number' },
2740
+ heating_set_point_fahrenheit: {
2741
+ type: 'number',
2742
+ },
2743
+ hvac_mode_setting: {
2744
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2745
+ type: 'string',
2746
+ },
2747
+ manual_override_allowed: { type: 'boolean' },
2748
+ },
2749
+ required: [
2750
+ 'automatic_heating_enabled',
2751
+ 'automatic_cooling_enabled',
2752
+ 'hvac_mode_setting',
2753
+ 'manual_override_allowed',
2754
+ ],
2755
+ type: 'object',
2756
+ },
2757
+ default_climate_setting: {
2758
+ properties: {
2759
+ automatic_cooling_enabled: {
2760
+ type: 'boolean',
2761
+ },
2762
+ automatic_heating_enabled: {
2763
+ type: 'boolean',
2764
+ },
2765
+ cooling_set_point_celsius: { type: 'number' },
2766
+ cooling_set_point_fahrenheit: {
2767
+ type: 'number',
2768
+ },
2769
+ heating_set_point_celsius: { type: 'number' },
2770
+ heating_set_point_fahrenheit: {
2771
+ type: 'number',
2772
+ },
2773
+ hvac_mode_setting: {
2774
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2775
+ type: 'string',
2776
+ },
2777
+ manual_override_allowed: { type: 'boolean' },
2778
+ },
2779
+ required: [
2780
+ 'automatic_heating_enabled',
2781
+ 'automatic_cooling_enabled',
2782
+ 'hvac_mode_setting',
2783
+ 'manual_override_allowed',
2784
+ ],
2785
+ type: 'object',
2786
+ },
2787
+ fan_mode_setting: {
2788
+ enum: ['auto', 'on'],
1518
2789
  type: 'string',
1519
2790
  },
1520
- manual_override_allowed: { type: 'boolean' },
2791
+ is_climate_setting_schedule_active: {
2792
+ type: 'boolean',
2793
+ },
2794
+ is_cooling: { type: 'boolean' },
2795
+ is_cooling_available: {
2796
+ enum: [false],
2797
+ type: 'boolean',
2798
+ },
2799
+ is_fan_running: { type: 'boolean' },
2800
+ is_heating: { type: 'boolean' },
2801
+ is_heating_available: {
2802
+ enum: [true],
2803
+ type: 'boolean',
2804
+ },
2805
+ is_temporary_manual_override_active: {
2806
+ type: 'boolean',
2807
+ },
2808
+ max_heating_set_point_celsius: { type: 'number' },
2809
+ max_heating_set_point_fahrenheit: {
2810
+ type: 'number',
2811
+ },
2812
+ min_heating_set_point_celsius: { type: 'number' },
2813
+ min_heating_set_point_fahrenheit: {
2814
+ type: 'number',
2815
+ },
2816
+ relative_humidity: {
2817
+ maximum: 1,
2818
+ minimum: 0,
2819
+ type: 'number',
2820
+ },
2821
+ temperature_celsius: { type: 'number' },
2822
+ temperature_fahrenheit: { type: 'number' },
1521
2823
  },
1522
- required: [
1523
- 'automatic_heating_enabled',
1524
- 'automatic_cooling_enabled',
1525
- 'hvac_mode_setting',
1526
- 'manual_override_allowed',
1527
- ],
1528
2824
  type: 'object',
1529
2825
  },
1530
- default_climate_setting: {
2826
+ {
1531
2827
  properties: {
1532
- automatic_cooling_enabled: { type: 'boolean' },
1533
- automatic_heating_enabled: { type: 'boolean' },
1534
- cooling_set_point_celsius: { type: 'number' },
1535
- cooling_set_point_fahrenheit: { type: 'number' },
1536
- heating_set_point_celsius: { type: 'number' },
1537
- heating_set_point_fahrenheit: { type: 'number' },
1538
- hvac_mode_setting: {
1539
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2828
+ active_climate_setting_schedule: {
2829
+ properties: {
2830
+ automatic_cooling_enabled: {
2831
+ type: 'boolean',
2832
+ },
2833
+ automatic_heating_enabled: {
2834
+ type: 'boolean',
2835
+ },
2836
+ climate_setting_schedule_id: {
2837
+ format: 'uuid',
2838
+ type: 'string',
2839
+ },
2840
+ cooling_set_point_celsius: { type: 'number' },
2841
+ cooling_set_point_fahrenheit: {
2842
+ type: 'number',
2843
+ },
2844
+ created_at: {
2845
+ format: 'date-time',
2846
+ type: 'string',
2847
+ },
2848
+ device_id: { type: 'string' },
2849
+ errors: {
2850
+ description:
2851
+ '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.',
2852
+ nullable: true,
2853
+ },
2854
+ heating_set_point_celsius: { type: 'number' },
2855
+ heating_set_point_fahrenheit: {
2856
+ type: 'number',
2857
+ },
2858
+ hvac_mode_setting: {
2859
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2860
+ type: 'string',
2861
+ },
2862
+ manual_override_allowed: { type: 'boolean' },
2863
+ name: { type: 'string' },
2864
+ schedule_ends_at: { type: 'string' },
2865
+ schedule_starts_at: { type: 'string' },
2866
+ schedule_type: {
2867
+ enum: ['time_bound'],
2868
+ type: 'string',
2869
+ },
2870
+ },
2871
+ required: [
2872
+ 'climate_setting_schedule_id',
2873
+ 'schedule_type',
2874
+ 'device_id',
2875
+ 'schedule_starts_at',
2876
+ 'schedule_ends_at',
2877
+ 'created_at',
2878
+ ],
2879
+ type: 'object',
2880
+ },
2881
+ available_hvac_mode_settings: {
2882
+ items: {
2883
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2884
+ type: 'string',
2885
+ },
2886
+ type: 'array',
2887
+ },
2888
+ can_enable_automatic_cooling: { type: 'boolean' },
2889
+ can_enable_automatic_heating: { type: 'boolean' },
2890
+ current_climate_setting: {
2891
+ properties: {
2892
+ automatic_cooling_enabled: {
2893
+ type: 'boolean',
2894
+ },
2895
+ automatic_heating_enabled: {
2896
+ type: 'boolean',
2897
+ },
2898
+ cooling_set_point_celsius: { type: 'number' },
2899
+ cooling_set_point_fahrenheit: {
2900
+ type: 'number',
2901
+ },
2902
+ heating_set_point_celsius: { type: 'number' },
2903
+ heating_set_point_fahrenheit: {
2904
+ type: 'number',
2905
+ },
2906
+ hvac_mode_setting: {
2907
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2908
+ type: 'string',
2909
+ },
2910
+ manual_override_allowed: { type: 'boolean' },
2911
+ },
2912
+ required: [
2913
+ 'automatic_heating_enabled',
2914
+ 'automatic_cooling_enabled',
2915
+ 'hvac_mode_setting',
2916
+ 'manual_override_allowed',
2917
+ ],
2918
+ type: 'object',
2919
+ },
2920
+ default_climate_setting: {
2921
+ properties: {
2922
+ automatic_cooling_enabled: {
2923
+ type: 'boolean',
2924
+ },
2925
+ automatic_heating_enabled: {
2926
+ type: 'boolean',
2927
+ },
2928
+ cooling_set_point_celsius: { type: 'number' },
2929
+ cooling_set_point_fahrenheit: {
2930
+ type: 'number',
2931
+ },
2932
+ heating_set_point_celsius: { type: 'number' },
2933
+ heating_set_point_fahrenheit: {
2934
+ type: 'number',
2935
+ },
2936
+ hvac_mode_setting: {
2937
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2938
+ type: 'string',
2939
+ },
2940
+ manual_override_allowed: { type: 'boolean' },
2941
+ },
2942
+ required: [
2943
+ 'automatic_heating_enabled',
2944
+ 'automatic_cooling_enabled',
2945
+ 'hvac_mode_setting',
2946
+ 'manual_override_allowed',
2947
+ ],
2948
+ type: 'object',
2949
+ },
2950
+ fan_mode_setting: {
2951
+ enum: ['auto', 'on'],
1540
2952
  type: 'string',
1541
2953
  },
1542
- manual_override_allowed: { type: 'boolean' },
2954
+ is_climate_setting_schedule_active: {
2955
+ type: 'boolean',
2956
+ },
2957
+ is_cooling: { type: 'boolean' },
2958
+ is_cooling_available: {
2959
+ enum: [true],
2960
+ type: 'boolean',
2961
+ },
2962
+ is_fan_running: { type: 'boolean' },
2963
+ is_heating: { type: 'boolean' },
2964
+ is_heating_available: {
2965
+ enum: [false],
2966
+ type: 'boolean',
2967
+ },
2968
+ is_temporary_manual_override_active: {
2969
+ type: 'boolean',
2970
+ },
2971
+ max_cooling_set_point_celsius: { type: 'number' },
2972
+ max_cooling_set_point_fahrenheit: {
2973
+ type: 'number',
2974
+ },
2975
+ min_cooling_set_point_celsius: { type: 'number' },
2976
+ min_cooling_set_point_fahrenheit: {
2977
+ type: 'number',
2978
+ },
2979
+ relative_humidity: {
2980
+ maximum: 1,
2981
+ minimum: 0,
2982
+ type: 'number',
2983
+ },
2984
+ temperature_celsius: { type: 'number' },
2985
+ temperature_fahrenheit: { type: 'number' },
1543
2986
  },
1544
- required: [
1545
- 'automatic_heating_enabled',
1546
- 'automatic_cooling_enabled',
1547
- 'hvac_mode_setting',
1548
- 'manual_override_allowed',
1549
- ],
1550
2987
  type: 'object',
1551
2988
  },
1552
- fan_mode_setting: {
1553
- enum: ['auto', 'on'],
1554
- type: 'string',
1555
- },
1556
- is_climate_setting_schedule_active: {
1557
- type: 'boolean',
1558
- },
1559
- is_cooling: { type: 'boolean' },
1560
- is_cooling_available: {
1561
- enum: [true],
1562
- type: 'boolean',
1563
- },
1564
- is_fan_running: { type: 'boolean' },
1565
- is_heating: { type: 'boolean' },
1566
- is_heating_available: {
1567
- enum: [false],
1568
- type: 'boolean',
1569
- },
1570
- is_temporary_manual_override_active: {
1571
- type: 'boolean',
1572
- },
1573
- max_cooling_set_point_celsius: { type: 'number' },
1574
- max_cooling_set_point_fahrenheit: { type: 'number' },
1575
- min_cooling_set_point_celsius: { type: 'number' },
1576
- min_cooling_set_point_fahrenheit: { type: 'number' },
1577
- relative_humidity: {
1578
- maximum: 1,
1579
- minimum: 0,
1580
- type: 'number',
1581
- },
1582
- temperature_celsius: { type: 'number' },
1583
- temperature_fahrenheit: { type: 'number' },
1584
- },
1585
- type: 'object',
2989
+ ],
1586
2990
  },
1587
2991
  ],
1588
2992
  },
1589
2993
  ],
1590
2994
  },
2995
+ {
2996
+ properties: {
2997
+ assa_abloy_credential_service_metadata: {
2998
+ properties: {
2999
+ endpoints: {
3000
+ items: {
3001
+ properties: {
3002
+ endpoint_id: { type: 'string' },
3003
+ is_active: { type: 'boolean' },
3004
+ },
3005
+ required: ['endpoint_id', 'is_active'],
3006
+ type: 'object',
3007
+ },
3008
+ type: 'array',
3009
+ },
3010
+ has_active_endpoint: { type: 'boolean' },
3011
+ },
3012
+ required: ['has_active_endpoint', 'endpoints'],
3013
+ type: 'object',
3014
+ },
3015
+ },
3016
+ type: 'object',
3017
+ },
1591
3018
  ],
1592
3019
  description: 'Properties of the device.',
1593
3020
  },
@@ -1617,7 +3044,6 @@ export default {
1617
3044
  'capabilities_supported',
1618
3045
  'properties',
1619
3046
  'location',
1620
- 'connected_account_id',
1621
3047
  'workspace_id',
1622
3048
  'errors',
1623
3049
  'warnings',
@@ -1626,62 +3052,6 @@ export default {
1626
3052
  ],
1627
3053
  type: 'object',
1628
3054
  },
1629
- device_provider: {
1630
- properties: {
1631
- device_provider_name: { type: 'string' },
1632
- display_name: { type: 'string' },
1633
- image_url: { type: 'string' },
1634
- provider_categories: {
1635
- items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
1636
- type: 'array',
1637
- },
1638
- },
1639
- required: [
1640
- 'device_provider_name',
1641
- 'display_name',
1642
- 'image_url',
1643
- 'provider_categories',
1644
- ],
1645
- type: 'object',
1646
- },
1647
- event: {
1648
- properties: {
1649
- created_at: { format: 'date-time', type: 'string' },
1650
- device_id: { format: 'uuid', type: 'string' },
1651
- event_id: { format: 'uuid', type: 'string' },
1652
- event_type: { type: 'string' },
1653
- occurred_at: { format: 'date-time', type: 'string' },
1654
- workspace_id: { format: 'uuid', type: 'string' },
1655
- },
1656
- required: [
1657
- 'event_id',
1658
- 'event_type',
1659
- 'workspace_id',
1660
- 'created_at',
1661
- 'occurred_at',
1662
- ],
1663
- type: 'object',
1664
- },
1665
- noise_threshold: {
1666
- properties: {
1667
- device_id: { format: 'uuid', type: 'string' },
1668
- ends_daily_at: { type: 'string' },
1669
- name: { type: 'string' },
1670
- noise_threshold_decibels: { type: 'number' },
1671
- noise_threshold_id: { format: 'uuid', type: 'string' },
1672
- noise_threshold_nrs: { type: 'number' },
1673
- starts_daily_at: { type: 'string' },
1674
- },
1675
- required: [
1676
- 'noise_threshold_id',
1677
- 'device_id',
1678
- 'name',
1679
- 'starts_daily_at',
1680
- 'ends_daily_at',
1681
- 'noise_threshold_decibels',
1682
- ],
1683
- type: 'object',
1684
- },
1685
3055
  service_health: {
1686
3056
  properties: {
1687
3057
  description: { type: 'string' },
@@ -5103,6 +6473,14 @@ export default {
5103
6473
  'application/json': {
5104
6474
  schema: {
5105
6475
  properties: {
6476
+ access_schedule: {
6477
+ properties: {
6478
+ ends_at: { format: 'date-time', type: 'string' },
6479
+ starts_at: { format: 'date-time', type: 'string' },
6480
+ },
6481
+ required: ['starts_at', 'ends_at'],
6482
+ type: 'object',
6483
+ },
5106
6484
  acs_user_id: { format: 'uuid', type: 'string' },
5107
6485
  email: {
5108
6486
  description: 'Deprecated: use email_address.',
@@ -5152,6 +6530,14 @@ export default {
5152
6530
  'application/json': {
5153
6531
  schema: {
5154
6532
  properties: {
6533
+ access_schedule: {
6534
+ properties: {
6535
+ ends_at: { format: 'date-time', type: 'string' },
6536
+ starts_at: { format: 'date-time', type: 'string' },
6537
+ },
6538
+ required: ['starts_at', 'ends_at'],
6539
+ type: 'object',
6540
+ },
5155
6541
  acs_user_id: { format: 'uuid', type: 'string' },
5156
6542
  email: {
5157
6543
  description: 'Deprecated: use email_address.',
@@ -7765,12 +9151,121 @@ export default {
7765
9151
  'application/json': {
7766
9152
  schema: {
7767
9153
  properties: {
7768
- action_attempt: {
7769
- $ref: '#/components/schemas/action_attempt',
9154
+ action_attempt: {
9155
+ $ref: '#/components/schemas/action_attempt',
9156
+ },
9157
+ ok: { type: 'boolean' },
9158
+ },
9159
+ required: ['action_attempt', 'ok'],
9160
+ type: 'object',
9161
+ },
9162
+ },
9163
+ },
9164
+ description: 'OK',
9165
+ },
9166
+ 400: { description: 'Bad Request' },
9167
+ 401: { description: 'Unauthorized' },
9168
+ },
9169
+ security: [
9170
+ { access_token: [], seam_workspace: [] },
9171
+ { seam_client_session_token: [] },
9172
+ { client_session_token: [] },
9173
+ ],
9174
+ summary: '/locks/lock_door',
9175
+ tags: ['/locks'],
9176
+ 'x-fern-sdk-group-name': ['locks'],
9177
+ 'x-fern-sdk-method-name': 'lock_door',
9178
+ 'x-fern-sdk-return-value': 'action_attempt',
9179
+ },
9180
+ },
9181
+ '/locks/unlock_door': {
9182
+ post: {
9183
+ operationId: 'locksUnlockDoorPost',
9184
+ requestBody: {
9185
+ content: {
9186
+ 'application/json': {
9187
+ schema: {
9188
+ properties: {
9189
+ device_id: { format: 'uuid', type: 'string' },
9190
+ sync: { default: false, type: 'boolean' },
9191
+ },
9192
+ required: ['device_id'],
9193
+ type: 'object',
9194
+ },
9195
+ },
9196
+ },
9197
+ },
9198
+ responses: {
9199
+ 200: {
9200
+ content: {
9201
+ 'application/json': {
9202
+ schema: {
9203
+ properties: {
9204
+ action_attempt: {
9205
+ $ref: '#/components/schemas/action_attempt',
9206
+ },
9207
+ ok: { type: 'boolean' },
9208
+ },
9209
+ required: ['action_attempt', 'ok'],
9210
+ type: 'object',
9211
+ },
9212
+ },
9213
+ },
9214
+ description: 'OK',
9215
+ },
9216
+ 400: { description: 'Bad Request' },
9217
+ 401: { description: 'Unauthorized' },
9218
+ },
9219
+ security: [
9220
+ { access_token: [], seam_workspace: [] },
9221
+ { seam_client_session_token: [] },
9222
+ { client_session_token: [] },
9223
+ ],
9224
+ summary: '/locks/unlock_door',
9225
+ tags: ['/locks'],
9226
+ 'x-fern-sdk-group-name': ['locks'],
9227
+ 'x-fern-sdk-method-name': 'unlock_door',
9228
+ 'x-fern-sdk-return-value': 'action_attempt',
9229
+ },
9230
+ },
9231
+ '/networks/get': {
9232
+ post: {
9233
+ operationId: 'networksGetPost',
9234
+ requestBody: {
9235
+ content: {
9236
+ 'application/json': {
9237
+ schema: {
9238
+ properties: { network_id: { format: 'uuid', type: 'string' } },
9239
+ required: ['network_id'],
9240
+ type: 'object',
9241
+ },
9242
+ },
9243
+ },
9244
+ },
9245
+ responses: {
9246
+ 200: {
9247
+ content: {
9248
+ 'application/json': {
9249
+ schema: {
9250
+ properties: {
9251
+ network: {
9252
+ properties: {
9253
+ created_at: { format: 'date-time', type: 'string' },
9254
+ display_name: { type: 'string' },
9255
+ network_id: { format: 'uuid', type: 'string' },
9256
+ workspace_id: { format: 'uuid', type: 'string' },
9257
+ },
9258
+ required: [
9259
+ 'network_id',
9260
+ 'workspace_id',
9261
+ 'display_name',
9262
+ 'created_at',
9263
+ ],
9264
+ type: 'object',
7770
9265
  },
7771
9266
  ok: { type: 'boolean' },
7772
9267
  },
7773
- required: ['action_attempt', 'ok'],
9268
+ required: ['network', 'ok'],
7774
9269
  type: 'object',
7775
9270
  },
7776
9271
  },
@@ -7781,32 +9276,22 @@ export default {
7781
9276
  401: { description: 'Unauthorized' },
7782
9277
  },
7783
9278
  security: [
7784
- { access_token: [], seam_workspace: [] },
7785
- { seam_client_session_token: [] },
7786
- { client_session_token: [] },
9279
+ { pat_with_workspace: [] },
9280
+ { console_session: [] },
9281
+ { api_key: [] },
7787
9282
  ],
7788
- summary: '/locks/lock_door',
7789
- tags: ['/locks'],
7790
- 'x-fern-sdk-group-name': ['locks'],
7791
- 'x-fern-sdk-method-name': 'lock_door',
7792
- 'x-fern-sdk-return-value': 'action_attempt',
9283
+ summary: '/networks/get',
9284
+ tags: [],
9285
+ 'x-fern-sdk-group-name': ['networks'],
9286
+ 'x-fern-sdk-method-name': 'get',
7793
9287
  },
7794
9288
  },
7795
- '/locks/unlock_door': {
9289
+ '/networks/list': {
7796
9290
  post: {
7797
- operationId: 'locksUnlockDoorPost',
9291
+ operationId: 'networksListPost',
7798
9292
  requestBody: {
7799
9293
  content: {
7800
- 'application/json': {
7801
- schema: {
7802
- properties: {
7803
- device_id: { format: 'uuid', type: 'string' },
7804
- sync: { default: false, type: 'boolean' },
7805
- },
7806
- required: ['device_id'],
7807
- type: 'object',
7808
- },
7809
- },
9294
+ 'application/json': { schema: { properties: {}, type: 'object' } },
7810
9295
  },
7811
9296
  },
7812
9297
  responses: {
@@ -7815,12 +9300,27 @@ export default {
7815
9300
  'application/json': {
7816
9301
  schema: {
7817
9302
  properties: {
7818
- action_attempt: {
7819
- $ref: '#/components/schemas/action_attempt',
9303
+ networks: {
9304
+ items: {
9305
+ properties: {
9306
+ created_at: { format: 'date-time', type: 'string' },
9307
+ display_name: { type: 'string' },
9308
+ network_id: { format: 'uuid', type: 'string' },
9309
+ workspace_id: { format: 'uuid', type: 'string' },
9310
+ },
9311
+ required: [
9312
+ 'network_id',
9313
+ 'workspace_id',
9314
+ 'display_name',
9315
+ 'created_at',
9316
+ ],
9317
+ type: 'object',
9318
+ },
9319
+ type: 'array',
7820
9320
  },
7821
9321
  ok: { type: 'boolean' },
7822
9322
  },
7823
- required: ['action_attempt', 'ok'],
9323
+ required: ['networks', 'ok'],
7824
9324
  type: 'object',
7825
9325
  },
7826
9326
  },
@@ -7831,15 +9331,14 @@ export default {
7831
9331
  401: { description: 'Unauthorized' },
7832
9332
  },
7833
9333
  security: [
7834
- { access_token: [], seam_workspace: [] },
7835
- { seam_client_session_token: [] },
7836
- { client_session_token: [] },
9334
+ { pat_with_workspace: [] },
9335
+ { console_session: [] },
9336
+ { api_key: [] },
7837
9337
  ],
7838
- summary: '/locks/unlock_door',
7839
- tags: ['/locks'],
7840
- 'x-fern-sdk-group-name': ['locks'],
7841
- 'x-fern-sdk-method-name': 'unlock_door',
7842
- 'x-fern-sdk-return-value': 'action_attempt',
9338
+ summary: '/networks/list',
9339
+ tags: [],
9340
+ 'x-fern-sdk-group-name': ['networks'],
9341
+ 'x-fern-sdk-method-name': 'list',
7843
9342
  },
7844
9343
  },
7845
9344
  '/noise_sensors/noise_thresholds/create': {
@@ -8252,6 +9751,135 @@ export default {
8252
9751
  'x-fern-sdk-method-name': 'trigger_noise_threshold',
8253
9752
  },
8254
9753
  },
9754
+ '/phones/list': {
9755
+ post: {
9756
+ operationId: 'phonesListPost',
9757
+ requestBody: {
9758
+ content: {
9759
+ 'application/json': {
9760
+ schema: {
9761
+ properties: {
9762
+ owner_user_identity_id: { format: 'uuid', type: 'string' },
9763
+ },
9764
+ type: 'object',
9765
+ },
9766
+ },
9767
+ },
9768
+ },
9769
+ responses: {
9770
+ 200: {
9771
+ content: {
9772
+ 'application/json': {
9773
+ schema: {
9774
+ properties: {
9775
+ ok: { type: 'boolean' },
9776
+ phones: {
9777
+ items: { $ref: '#/components/schemas/phone' },
9778
+ type: 'array',
9779
+ },
9780
+ },
9781
+ required: ['phones', 'ok'],
9782
+ type: 'object',
9783
+ },
9784
+ },
9785
+ },
9786
+ description: 'OK',
9787
+ },
9788
+ 400: { description: 'Bad Request' },
9789
+ 401: { description: 'Unauthorized' },
9790
+ },
9791
+ security: [
9792
+ { api_key: [] },
9793
+ { pat_with_workspace: [] },
9794
+ { console_session: [] },
9795
+ ],
9796
+ summary: '/phones/list',
9797
+ tags: [],
9798
+ 'x-fern-sdk-group-name': ['phones'],
9799
+ 'x-fern-sdk-method-name': 'list',
9800
+ 'x-fern-sdk-return-value': 'phones',
9801
+ },
9802
+ },
9803
+ '/phones/simulate/create_sandbox_phone': {
9804
+ post: {
9805
+ operationId: 'phonesSimulateCreateSandboxPhonePost',
9806
+ requestBody: {
9807
+ content: {
9808
+ 'application/json': {
9809
+ schema: {
9810
+ properties: {
9811
+ assa_abloy_credential_service_acs_system_id: {
9812
+ format: 'uuid',
9813
+ type: 'string',
9814
+ },
9815
+ custom_sdk_installation_id: { type: 'string' },
9816
+ phone_metadata: {
9817
+ default: {},
9818
+ properties: {
9819
+ application_version: { default: '1.0.0', type: 'string' },
9820
+ ble_capability: { default: true, type: 'boolean' },
9821
+ device_manufacturer: {
9822
+ default: 'Samsung',
9823
+ type: 'string',
9824
+ },
9825
+ device_model: {
9826
+ default: 'Samsung Galaxy S10',
9827
+ type: 'string',
9828
+ },
9829
+ hce_capability: { default: false, type: 'boolean' },
9830
+ nfc_capability: { default: false, type: 'boolean' },
9831
+ operating_system: {
9832
+ default: 'android',
9833
+ enum: ['android', 'ios'],
9834
+ type: 'string',
9835
+ },
9836
+ os_version: { default: '10', type: 'string' },
9837
+ seos_applet_version: { default: '1.0.0', type: 'string' },
9838
+ },
9839
+ type: 'object',
9840
+ },
9841
+ user_identity_id: { format: 'uuid', type: 'string' },
9842
+ },
9843
+ required: [
9844
+ 'assa_abloy_credential_service_acs_system_id',
9845
+ 'user_identity_id',
9846
+ ],
9847
+ type: 'object',
9848
+ },
9849
+ },
9850
+ },
9851
+ },
9852
+ responses: {
9853
+ 200: {
9854
+ content: {
9855
+ 'application/json': {
9856
+ schema: {
9857
+ properties: {
9858
+ ok: { type: 'boolean' },
9859
+ phone: { $ref: '#/components/schemas/phone' },
9860
+ },
9861
+ required: ['phone', 'ok'],
9862
+ type: 'object',
9863
+ },
9864
+ },
9865
+ },
9866
+ description: 'OK',
9867
+ },
9868
+ 400: { description: 'Bad Request' },
9869
+ 401: { description: 'Unauthorized' },
9870
+ },
9871
+ security: [
9872
+ { access_token: [], seam_workspace: [] },
9873
+ { seam_client_session_token: [] },
9874
+ { client_session_token: [] },
9875
+ ],
9876
+ summary: '/phones/simulate/create_sandbox_phone',
9877
+ tags: [],
9878
+ 'x-fern-sdk-group-name': ['phones', 'simulate'],
9879
+ 'x-fern-sdk-method-name': 'create_sandbox_phone',
9880
+ 'x-fern-sdk-return-value': 'phone',
9881
+ },
9882
+ },
8255
9883
  '/thermostats/climate_setting_schedules/create': {
8256
9884
  post: {
8257
9885
  operationId: 'thermostatsClimateSettingSchedulesCreatePost',
@@ -9471,6 +11099,55 @@ export default {
9471
11099
  'x-fern-sdk-method-name': 'create',
9472
11100
  },
9473
11101
  },
11102
+ '/user_identities/enrollment_automations/get': {
11103
+ post: {
11104
+ operationId: 'userIdentitiesEnrollmentAutomationsGetPost',
11105
+ requestBody: {
11106
+ content: {
11107
+ 'application/json': {
11108
+ schema: {
11109
+ properties: {
11110
+ enrollment_automation_id: { format: 'uuid', type: 'string' },
11111
+ },
11112
+ required: ['enrollment_automation_id'],
11113
+ type: 'object',
11114
+ },
11115
+ },
11116
+ },
11117
+ },
11118
+ responses: {
11119
+ 200: {
11120
+ content: {
11121
+ 'application/json': {
11122
+ schema: {
11123
+ properties: {
11124
+ enrollment_automation: {
11125
+ $ref: '#/components/schemas/enrollment_automation',
11126
+ },
11127
+ ok: { type: 'boolean' },
11128
+ },
11129
+ required: ['enrollment_automation', 'ok'],
11130
+ type: 'object',
11131
+ },
11132
+ },
11133
+ },
11134
+ description: 'OK',
11135
+ },
11136
+ 400: { description: 'Bad Request' },
11137
+ 401: { description: 'Unauthorized' },
11138
+ },
11139
+ security: [
11140
+ { client_session: [] },
11141
+ { pat_with_workspace: [] },
11142
+ { console_session: [] },
11143
+ { api_key: [] },
11144
+ ],
11145
+ summary: '/user_identities/enrollment_automations/get',
11146
+ tags: [],
11147
+ 'x-fern-sdk-group-name': ['user_identities', 'enrollment_automations'],
11148
+ 'x-fern-sdk-method-name': 'get',
11149
+ },
11150
+ },
9474
11151
  '/user_identities/enrollment_automations/launch': {
9475
11152
  post: {
9476
11153
  operationId: 'userIdentitiesEnrollmentAutomationsLaunchPost',
@@ -9557,6 +11234,58 @@ export default {
9557
11234
  'x-fern-sdk-method-name': 'launch',
9558
11235
  },
9559
11236
  },
11237
+ '/user_identities/enrollment_automations/list': {
11238
+ post: {
11239
+ operationId: 'userIdentitiesEnrollmentAutomationsListPost',
11240
+ requestBody: {
11241
+ content: {
11242
+ 'application/json': {
11243
+ schema: {
11244
+ properties: {
11245
+ user_identity_id: { format: 'uuid', type: 'string' },
11246
+ },
11247
+ required: ['user_identity_id'],
11248
+ type: 'object',
11249
+ },
11250
+ },
11251
+ },
11252
+ },
11253
+ responses: {
11254
+ 200: {
11255
+ content: {
11256
+ 'application/json': {
11257
+ schema: {
11258
+ properties: {
11259
+ enrollment_automations: {
11260
+ items: {
11261
+ $ref: '#/components/schemas/enrollment_automation',
11262
+ },
11263
+ type: 'array',
11264
+ },
11265
+ ok: { type: 'boolean' },
11266
+ },
11267
+ required: ['enrollment_automations', 'ok'],
11268
+ type: 'object',
11269
+ },
11270
+ },
11271
+ },
11272
+ description: 'OK',
11273
+ },
11274
+ 400: { description: 'Bad Request' },
11275
+ 401: { description: 'Unauthorized' },
11276
+ },
11277
+ security: [
11278
+ { client_session: [] },
11279
+ { pat_with_workspace: [] },
11280
+ { console_session: [] },
11281
+ { api_key: [] },
11282
+ ],
11283
+ summary: '/user_identities/enrollment_automations/list',
11284
+ tags: [],
11285
+ 'x-fern-sdk-group-name': ['user_identities', 'enrollment_automations'],
11286
+ 'x-fern-sdk-method-name': 'list',
11287
+ },
11288
+ },
9560
11289
  '/user_identities/get': {
9561
11290
  post: {
9562
11291
  operationId: 'userIdentitiesGetPost',