@seamapi/types 1.69.0 → 1.71.0

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