@seamapi/types 1.210.0 → 1.212.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 (54) hide show
  1. package/dist/connect.cjs +1 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2857 -1402
  4. package/dist/devicedb.d.cts +199 -795
  5. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  7. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  9. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  10. package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  12. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  13. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  14. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  15. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  16. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  17. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  21. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  22. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  23. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  24. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  25. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  26. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  27. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  28. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  29. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  30. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  31. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  32. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  33. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  34. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  35. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  36. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  37. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  38. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  39. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  40. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  41. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  42. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  43. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  44. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  45. package/lib/seam/connect/openapi.d.ts +4 -0
  46. package/lib/seam/connect/openapi.js +1 -0
  47. package/lib/seam/connect/openapi.js.map +1 -1
  48. package/lib/seam/connect/route-types.d.ts +1 -0
  49. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  50. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  51. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  52. package/package.json +5 -1
  53. package/src/lib/seam/connect/openapi.ts +1 -0
  54. package/src/lib/seam/connect/route-types.ts +1 -0
@@ -329,7 +329,7 @@ export declare const routes: {
329
329
  }[];
330
330
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
331
331
  product_url?: string | undefined;
332
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
332
+ }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
333
333
  main_category: z.ZodLiteral<"smartlock">;
334
334
  physical_properties: z.ZodObject<{
335
335
  lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
@@ -360,11 +360,12 @@ export declare const routes: {
360
360
  can_program_access_schedules: boolean;
361
361
  can_program_access_codes_offline: boolean;
362
362
  }>;
363
+ }, Pick<{
363
364
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
364
365
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
365
366
  can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
366
367
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
367
- }, "strip", z.ZodTypeAny, {
368
+ }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
368
369
  main_category: "smartlock";
369
370
  physical_properties: {
370
371
  has_physical_key: boolean;
@@ -541,600 +542,36 @@ export declare const routes: {
541
542
  has_rfid_reader: boolean;
542
543
  has_nfc_reader: boolean;
543
544
  has_wiegand_interface: boolean;
544
- };
545
- software_features: {
546
- can_remotely_unlock: boolean;
547
- can_program_access_codes: boolean;
548
- can_unlock_with_face_recognition: boolean;
549
- supports_onvif: boolean;
550
- };
551
- }, {
552
- main_category: "intercom";
553
- physical_properties: {
554
- has_camera: boolean;
555
- has_rfid_reader?: boolean | undefined;
556
- has_nfc_reader?: boolean | undefined;
557
- has_wiegand_interface?: boolean | undefined;
558
- };
559
- software_features: {
560
- can_remotely_unlock: boolean;
561
- can_program_access_codes: boolean;
562
- can_unlock_with_face_recognition?: boolean | undefined;
563
- supports_onvif?: boolean | undefined;
564
- };
565
- }>, z.ZodObject<{
566
- main_category: z.ZodLiteral<"accessory">;
567
- }, "strip", z.ZodTypeAny, {
568
- main_category: "accessory";
569
- }, {
570
- main_category: "accessory";
571
- }>]>>;
572
- }, "strip", z.ZodTypeAny, {
573
- device_model: ({
574
- description: string;
575
- display_name: string;
576
- device_model_id: string;
577
- manufacturer: {
578
- manufacturer_id: string;
579
- display_name: string;
580
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
581
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
582
- is_connect_webview_supported: boolean;
583
- requires_seam_support_to_add_account: boolean;
584
- annotations: {
585
- message: string;
586
- annotation_code: "subscription_required";
587
- }[];
588
- description?: string | undefined;
589
- logo?: {
590
- height: number;
591
- width: number;
592
- url: string;
593
- } | undefined;
594
- website?: string | undefined;
595
- legal_name?: string | undefined;
596
- parent_organization?: string | undefined;
597
- headquarters?: string[] | undefined;
598
- countries_of_origin?: string[] | undefined;
599
- founding_year?: string | undefined;
600
- us_customer_support_tel?: string | undefined;
601
- us_customer_support_email?: string | undefined;
602
- us_customer_support_contact_url?: string | undefined;
603
- seam_api_guide?: string | undefined;
604
- };
605
- is_device_supported: boolean;
606
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
607
- hardware: {
608
- has_physical_key?: boolean | undefined;
609
- };
610
- aesthetic_variants: {
611
- display_name: string;
612
- slug: string;
613
- images: {
614
- height: number;
615
- width: number;
616
- url: string;
617
- }[];
618
- primary_color_hex?: string | undefined;
619
- manufacturer_sku?: string | undefined;
620
- front_image?: {
621
- height: number;
622
- width: number;
623
- url: string;
624
- } | undefined;
625
- back_image?: {
626
- height: number;
627
- width: number;
628
- url: string;
629
- } | undefined;
630
- }[];
631
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
632
- product_url?: string | undefined;
633
- } & {
634
- main_category: "smartlock";
635
- physical_properties: {
636
- has_physical_key: boolean;
637
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
638
- has_camera: boolean;
639
- };
640
- software_features: {
641
- can_remotely_unlock: boolean;
642
- can_program_access_codes: boolean;
643
- can_program_access_schedules: boolean;
644
- can_program_access_codes_offline: boolean;
645
- };
646
- can_remotely_unlock?: true | undefined;
647
- can_remotely_lock?: true | undefined;
648
- can_program_offline_access_codes?: true | undefined;
649
- can_program_online_access_codes?: true | undefined;
650
- }) | ({
651
- description: string;
652
- display_name: string;
653
- device_model_id: string;
654
- manufacturer: {
655
- manufacturer_id: string;
656
- display_name: string;
657
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
658
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
659
- is_connect_webview_supported: boolean;
660
- requires_seam_support_to_add_account: boolean;
661
- annotations: {
662
- message: string;
663
- annotation_code: "subscription_required";
664
- }[];
665
- description?: string | undefined;
666
- logo?: {
667
- height: number;
668
- width: number;
669
- url: string;
670
- } | undefined;
671
- website?: string | undefined;
672
- legal_name?: string | undefined;
673
- parent_organization?: string | undefined;
674
- headquarters?: string[] | undefined;
675
- countries_of_origin?: string[] | undefined;
676
- founding_year?: string | undefined;
677
- us_customer_support_tel?: string | undefined;
678
- us_customer_support_email?: string | undefined;
679
- us_customer_support_contact_url?: string | undefined;
680
- seam_api_guide?: string | undefined;
681
- };
682
- is_device_supported: boolean;
683
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
684
- hardware: {
685
- has_physical_key?: boolean | undefined;
686
- };
687
- aesthetic_variants: {
688
- display_name: string;
689
- slug: string;
690
- images: {
691
- height: number;
692
- width: number;
693
- url: string;
694
- }[];
695
- primary_color_hex?: string | undefined;
696
- manufacturer_sku?: string | undefined;
697
- front_image?: {
698
- height: number;
699
- width: number;
700
- url: string;
701
- } | undefined;
702
- back_image?: {
703
- height: number;
704
- width: number;
705
- url: string;
706
- } | undefined;
707
- }[];
708
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
709
- product_url?: string | undefined;
710
- } & {
711
- main_category: "sensor";
712
- physical_properties: {
713
- has_noise_sensor: boolean;
714
- has_humidity_sensor: boolean;
715
- has_temperature_sensor: boolean;
716
- has_occupancy_detection: boolean;
717
- };
718
- }) | ({
719
- description: string;
720
- display_name: string;
721
- device_model_id: string;
722
- manufacturer: {
723
- manufacturer_id: string;
724
- display_name: string;
725
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
726
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
727
- is_connect_webview_supported: boolean;
728
- requires_seam_support_to_add_account: boolean;
729
- annotations: {
730
- message: string;
731
- annotation_code: "subscription_required";
732
- }[];
733
- description?: string | undefined;
734
- logo?: {
735
- height: number;
736
- width: number;
737
- url: string;
738
- } | undefined;
739
- website?: string | undefined;
740
- legal_name?: string | undefined;
741
- parent_organization?: string | undefined;
742
- headquarters?: string[] | undefined;
743
- countries_of_origin?: string[] | undefined;
744
- founding_year?: string | undefined;
745
- us_customer_support_tel?: string | undefined;
746
- us_customer_support_email?: string | undefined;
747
- us_customer_support_contact_url?: string | undefined;
748
- seam_api_guide?: string | undefined;
749
- };
750
- is_device_supported: boolean;
751
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
752
- hardware: {
753
- has_physical_key?: boolean | undefined;
754
- };
755
- aesthetic_variants: {
756
- display_name: string;
757
- slug: string;
758
- images: {
759
- height: number;
760
- width: number;
761
- url: string;
762
- }[];
763
- primary_color_hex?: string | undefined;
764
- manufacturer_sku?: string | undefined;
765
- front_image?: {
766
- height: number;
767
- width: number;
768
- url: string;
769
- } | undefined;
770
- back_image?: {
771
- height: number;
772
- width: number;
773
- url: string;
774
- } | undefined;
775
- }[];
776
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
777
- product_url?: string | undefined;
778
- } & {
779
- main_category: "thermostat";
780
- physical_properties: {
781
- has_humidity_sensor: boolean;
782
- has_temperature_sensor: boolean;
783
- has_occupancy_detection: boolean;
784
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
785
- is_heat_pump_compatible: boolean;
786
- supports_demand_response: boolean;
787
- supports_emergency_heating_mode: boolean;
788
- };
789
- software_features: {
790
- can_program_climate_schedules: boolean;
791
- };
792
- }) | ({
793
- description: string;
794
- display_name: string;
795
- device_model_id: string;
796
- manufacturer: {
797
- manufacturer_id: string;
798
- display_name: string;
799
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
800
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
801
- is_connect_webview_supported: boolean;
802
- requires_seam_support_to_add_account: boolean;
803
- annotations: {
804
- message: string;
805
- annotation_code: "subscription_required";
806
- }[];
807
- description?: string | undefined;
808
- logo?: {
809
- height: number;
810
- width: number;
811
- url: string;
812
- } | undefined;
813
- website?: string | undefined;
814
- legal_name?: string | undefined;
815
- parent_organization?: string | undefined;
816
- headquarters?: string[] | undefined;
817
- countries_of_origin?: string[] | undefined;
818
- founding_year?: string | undefined;
819
- us_customer_support_tel?: string | undefined;
820
- us_customer_support_email?: string | undefined;
821
- us_customer_support_contact_url?: string | undefined;
822
- seam_api_guide?: string | undefined;
823
- };
824
- is_device_supported: boolean;
825
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
826
- hardware: {
827
- has_physical_key?: boolean | undefined;
828
- };
829
- aesthetic_variants: {
830
- display_name: string;
831
- slug: string;
832
- images: {
833
- height: number;
834
- width: number;
835
- url: string;
836
- }[];
837
- primary_color_hex?: string | undefined;
838
- manufacturer_sku?: string | undefined;
839
- front_image?: {
840
- height: number;
841
- width: number;
842
- url: string;
843
- } | undefined;
844
- back_image?: {
845
- height: number;
846
- width: number;
847
- url: string;
848
- } | undefined;
849
- }[];
850
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
851
- product_url?: string | undefined;
852
- } & {
853
- main_category: "relay";
854
- }) | ({
855
- description: string;
856
- display_name: string;
857
- device_model_id: string;
858
- manufacturer: {
859
- manufacturer_id: string;
860
- display_name: string;
861
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
862
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
863
- is_connect_webview_supported: boolean;
864
- requires_seam_support_to_add_account: boolean;
865
- annotations: {
866
- message: string;
867
- annotation_code: "subscription_required";
868
- }[];
869
- description?: string | undefined;
870
- logo?: {
871
- height: number;
872
- width: number;
873
- url: string;
874
- } | undefined;
875
- website?: string | undefined;
876
- legal_name?: string | undefined;
877
- parent_organization?: string | undefined;
878
- headquarters?: string[] | undefined;
879
- countries_of_origin?: string[] | undefined;
880
- founding_year?: string | undefined;
881
- us_customer_support_tel?: string | undefined;
882
- us_customer_support_email?: string | undefined;
883
- us_customer_support_contact_url?: string | undefined;
884
- seam_api_guide?: string | undefined;
885
- };
886
- is_device_supported: boolean;
887
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
888
- hardware: {
889
- has_physical_key?: boolean | undefined;
890
- };
891
- aesthetic_variants: {
892
- display_name: string;
893
- slug: string;
894
- images: {
895
- height: number;
896
- width: number;
897
- url: string;
898
- }[];
899
- primary_color_hex?: string | undefined;
900
- manufacturer_sku?: string | undefined;
901
- front_image?: {
902
- height: number;
903
- width: number;
904
- url: string;
905
- } | undefined;
906
- back_image?: {
907
- height: number;
908
- width: number;
909
- url: string;
910
- } | undefined;
911
- }[];
912
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
913
- product_url?: string | undefined;
914
- } & {
915
- main_category: "intercom";
916
- physical_properties: {
917
- has_camera: boolean;
918
- has_rfid_reader: boolean;
919
- has_nfc_reader: boolean;
920
- has_wiegand_interface: boolean;
921
- };
922
- software_features: {
923
- can_remotely_unlock: boolean;
924
- can_program_access_codes: boolean;
925
- can_unlock_with_face_recognition: boolean;
926
- supports_onvif: boolean;
927
- };
928
- }) | ({
929
- description: string;
930
- display_name: string;
931
- device_model_id: string;
932
- manufacturer: {
933
- manufacturer_id: string;
934
- display_name: string;
935
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
936
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
937
- is_connect_webview_supported: boolean;
938
- requires_seam_support_to_add_account: boolean;
939
- annotations: {
940
- message: string;
941
- annotation_code: "subscription_required";
942
- }[];
943
- description?: string | undefined;
944
- logo?: {
945
- height: number;
946
- width: number;
947
- url: string;
948
- } | undefined;
949
- website?: string | undefined;
950
- legal_name?: string | undefined;
951
- parent_organization?: string | undefined;
952
- headquarters?: string[] | undefined;
953
- countries_of_origin?: string[] | undefined;
954
- founding_year?: string | undefined;
955
- us_customer_support_tel?: string | undefined;
956
- us_customer_support_email?: string | undefined;
957
- us_customer_support_contact_url?: string | undefined;
958
- seam_api_guide?: string | undefined;
959
- };
960
- is_device_supported: boolean;
961
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
962
- hardware: {
963
- has_physical_key?: boolean | undefined;
964
- };
965
- aesthetic_variants: {
966
- display_name: string;
967
- slug: string;
968
- images: {
969
- height: number;
970
- width: number;
971
- url: string;
972
- }[];
973
- primary_color_hex?: string | undefined;
974
- manufacturer_sku?: string | undefined;
975
- front_image?: {
976
- height: number;
977
- width: number;
978
- url: string;
979
- } | undefined;
980
- back_image?: {
981
- height: number;
982
- width: number;
983
- url: string;
984
- } | undefined;
985
- }[];
986
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
987
- product_url?: string | undefined;
988
- } & {
989
- main_category: "accessory";
990
- });
991
- }, {
992
- device_model: ({
993
- description: string;
994
- display_name: string;
995
- device_model_id: string;
996
- manufacturer: {
997
- manufacturer_id: string;
998
- display_name: string;
999
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1000
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1001
- is_connect_webview_supported: boolean;
1002
- requires_seam_support_to_add_account: boolean;
1003
- annotations: {
1004
- message: string;
1005
- annotation_code: "subscription_required";
1006
- }[];
1007
- description?: string | undefined;
1008
- logo?: {
1009
- height: number;
1010
- width: number;
1011
- url: string;
1012
- } | undefined;
1013
- website?: string | undefined;
1014
- legal_name?: string | undefined;
1015
- parent_organization?: string | undefined;
1016
- headquarters?: string[] | undefined;
1017
- countries_of_origin?: string[] | undefined;
1018
- founding_year?: string | undefined;
1019
- us_customer_support_tel?: string | undefined;
1020
- us_customer_support_email?: string | undefined;
1021
- us_customer_support_contact_url?: string | undefined;
1022
- seam_api_guide?: string | undefined;
1023
- };
1024
- is_device_supported: boolean;
1025
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1026
- hardware: {
1027
- has_physical_key?: boolean | undefined;
1028
- };
1029
- aesthetic_variants: {
1030
- display_name: string;
1031
- slug: string;
1032
- images: {
1033
- height: number;
1034
- width: number;
1035
- url: string;
1036
- }[];
1037
- primary_color_hex?: string | undefined;
1038
- manufacturer_sku?: string | undefined;
1039
- front_image?: {
1040
- height: number;
1041
- width: number;
1042
- url: string;
1043
- } | undefined;
1044
- back_image?: {
1045
- height: number;
1046
- width: number;
1047
- url: string;
1048
- } | undefined;
1049
- }[];
1050
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1051
- product_url?: string | undefined;
1052
- } & {
1053
- main_category: "smartlock";
1054
- physical_properties: {
1055
- has_physical_key: boolean;
1056
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1057
- has_camera: boolean;
1058
- };
1059
- software_features: {
1060
- can_remotely_unlock: boolean;
1061
- can_program_access_codes: boolean;
1062
- can_program_access_schedules: boolean;
1063
- can_program_access_codes_offline: boolean;
1064
- };
1065
- can_remotely_unlock?: true | undefined;
1066
- can_remotely_lock?: true | undefined;
1067
- can_program_offline_access_codes?: true | undefined;
1068
- can_program_online_access_codes?: true | undefined;
1069
- }) | ({
1070
- description: string;
1071
- display_name: string;
1072
- device_model_id: string;
1073
- manufacturer: {
1074
- manufacturer_id: string;
1075
- display_name: string;
1076
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1077
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1078
- is_connect_webview_supported: boolean;
1079
- requires_seam_support_to_add_account: boolean;
1080
- annotations: {
1081
- message: string;
1082
- annotation_code: "subscription_required";
1083
- }[];
1084
- description?: string | undefined;
1085
- logo?: {
1086
- height: number;
1087
- width: number;
1088
- url: string;
1089
- } | undefined;
1090
- website?: string | undefined;
1091
- legal_name?: string | undefined;
1092
- parent_organization?: string | undefined;
1093
- headquarters?: string[] | undefined;
1094
- countries_of_origin?: string[] | undefined;
1095
- founding_year?: string | undefined;
1096
- us_customer_support_tel?: string | undefined;
1097
- us_customer_support_email?: string | undefined;
1098
- us_customer_support_contact_url?: string | undefined;
1099
- seam_api_guide?: string | undefined;
1100
- };
1101
- is_device_supported: boolean;
1102
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1103
- hardware: {
1104
- has_physical_key?: boolean | undefined;
1105
- };
1106
- aesthetic_variants: {
1107
- display_name: string;
1108
- slug: string;
1109
- images: {
1110
- height: number;
1111
- width: number;
1112
- url: string;
1113
- }[];
1114
- primary_color_hex?: string | undefined;
1115
- manufacturer_sku?: string | undefined;
1116
- front_image?: {
1117
- height: number;
1118
- width: number;
1119
- url: string;
1120
- } | undefined;
1121
- back_image?: {
1122
- height: number;
1123
- width: number;
1124
- url: string;
1125
- } | undefined;
1126
- }[];
1127
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1128
- product_url?: string | undefined;
1129
- } & {
1130
- main_category: "sensor";
545
+ };
546
+ software_features: {
547
+ can_remotely_unlock: boolean;
548
+ can_program_access_codes: boolean;
549
+ can_unlock_with_face_recognition: boolean;
550
+ supports_onvif: boolean;
551
+ };
552
+ }, {
553
+ main_category: "intercom";
1131
554
  physical_properties: {
1132
- has_noise_sensor: boolean;
1133
- has_humidity_sensor: boolean;
1134
- has_temperature_sensor: boolean;
1135
- has_occupancy_detection: boolean;
555
+ has_camera: boolean;
556
+ has_rfid_reader?: boolean | undefined;
557
+ has_nfc_reader?: boolean | undefined;
558
+ has_wiegand_interface?: boolean | undefined;
559
+ };
560
+ software_features: {
561
+ can_remotely_unlock: boolean;
562
+ can_program_access_codes: boolean;
563
+ can_unlock_with_face_recognition?: boolean | undefined;
564
+ supports_onvif?: boolean | undefined;
1136
565
  };
1137
- }) | ({
566
+ }>, z.ZodObject<{
567
+ main_category: z.ZodLiteral<"accessory">;
568
+ }, "strip", z.ZodTypeAny, {
569
+ main_category: "accessory";
570
+ }, {
571
+ main_category: "accessory";
572
+ }>]>>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ device_model: {
1138
575
  description: string;
1139
576
  display_name: string;
1140
577
  device_model_id: string;
@@ -1194,7 +631,32 @@ export declare const routes: {
1194
631
  }[];
1195
632
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1196
633
  product_url?: string | undefined;
1197
- } & {
634
+ } & ({
635
+ main_category: "smartlock";
636
+ physical_properties: {
637
+ has_physical_key: boolean;
638
+ lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
639
+ has_camera: boolean;
640
+ };
641
+ software_features: {
642
+ can_remotely_unlock: boolean;
643
+ can_program_access_codes: boolean;
644
+ can_program_access_schedules: boolean;
645
+ can_program_access_codes_offline: boolean;
646
+ };
647
+ can_remotely_unlock?: true | undefined;
648
+ can_remotely_lock?: true | undefined;
649
+ can_program_offline_access_codes?: true | undefined;
650
+ can_program_online_access_codes?: true | undefined;
651
+ } | {
652
+ main_category: "sensor";
653
+ physical_properties: {
654
+ has_noise_sensor: boolean;
655
+ has_humidity_sensor: boolean;
656
+ has_temperature_sensor: boolean;
657
+ has_occupancy_detection: boolean;
658
+ };
659
+ } | {
1198
660
  main_category: "thermostat";
1199
661
  physical_properties: {
1200
662
  has_humidity_sensor: boolean;
@@ -1208,69 +670,27 @@ export declare const routes: {
1208
670
  software_features: {
1209
671
  can_program_climate_schedules: boolean;
1210
672
  };
1211
- }) | ({
1212
- description: string;
1213
- display_name: string;
1214
- device_model_id: string;
1215
- manufacturer: {
1216
- manufacturer_id: string;
1217
- display_name: string;
1218
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1219
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1220
- is_connect_webview_supported: boolean;
1221
- requires_seam_support_to_add_account: boolean;
1222
- annotations: {
1223
- message: string;
1224
- annotation_code: "subscription_required";
1225
- }[];
1226
- description?: string | undefined;
1227
- logo?: {
1228
- height: number;
1229
- width: number;
1230
- url: string;
1231
- } | undefined;
1232
- website?: string | undefined;
1233
- legal_name?: string | undefined;
1234
- parent_organization?: string | undefined;
1235
- headquarters?: string[] | undefined;
1236
- countries_of_origin?: string[] | undefined;
1237
- founding_year?: string | undefined;
1238
- us_customer_support_tel?: string | undefined;
1239
- us_customer_support_email?: string | undefined;
1240
- us_customer_support_contact_url?: string | undefined;
1241
- seam_api_guide?: string | undefined;
673
+ } | {
674
+ main_category: "relay";
675
+ } | {
676
+ main_category: "intercom";
677
+ physical_properties: {
678
+ has_camera: boolean;
679
+ has_rfid_reader: boolean;
680
+ has_nfc_reader: boolean;
681
+ has_wiegand_interface: boolean;
1242
682
  };
1243
- is_device_supported: boolean;
1244
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1245
- hardware: {
1246
- has_physical_key?: boolean | undefined;
683
+ software_features: {
684
+ can_remotely_unlock: boolean;
685
+ can_program_access_codes: boolean;
686
+ can_unlock_with_face_recognition: boolean;
687
+ supports_onvif: boolean;
1247
688
  };
1248
- aesthetic_variants: {
1249
- display_name: string;
1250
- slug: string;
1251
- images: {
1252
- height: number;
1253
- width: number;
1254
- url: string;
1255
- }[];
1256
- primary_color_hex?: string | undefined;
1257
- manufacturer_sku?: string | undefined;
1258
- front_image?: {
1259
- height: number;
1260
- width: number;
1261
- url: string;
1262
- } | undefined;
1263
- back_image?: {
1264
- height: number;
1265
- width: number;
1266
- url: string;
1267
- } | undefined;
1268
- }[];
1269
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1270
- product_url?: string | undefined;
1271
- } & {
1272
- main_category: "relay";
1273
- }) | ({
689
+ } | {
690
+ main_category: "accessory";
691
+ });
692
+ }, {
693
+ device_model: {
1274
694
  description: string;
1275
695
  display_name: string;
1276
696
  device_model_id: string;
@@ -1330,7 +750,48 @@ export declare const routes: {
1330
750
  }[];
1331
751
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1332
752
  product_url?: string | undefined;
1333
- } & {
753
+ } & ({
754
+ main_category: "smartlock";
755
+ physical_properties: {
756
+ has_physical_key: boolean;
757
+ lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
758
+ has_camera: boolean;
759
+ };
760
+ software_features: {
761
+ can_remotely_unlock: boolean;
762
+ can_program_access_codes: boolean;
763
+ can_program_access_schedules: boolean;
764
+ can_program_access_codes_offline: boolean;
765
+ };
766
+ can_remotely_unlock?: true | undefined;
767
+ can_remotely_lock?: true | undefined;
768
+ can_program_offline_access_codes?: true | undefined;
769
+ can_program_online_access_codes?: true | undefined;
770
+ } | {
771
+ main_category: "sensor";
772
+ physical_properties: {
773
+ has_noise_sensor: boolean;
774
+ has_humidity_sensor: boolean;
775
+ has_temperature_sensor: boolean;
776
+ has_occupancy_detection: boolean;
777
+ };
778
+ } | {
779
+ main_category: "thermostat";
780
+ physical_properties: {
781
+ has_humidity_sensor: boolean;
782
+ has_temperature_sensor: boolean;
783
+ has_occupancy_detection: boolean;
784
+ available_modes: ("heat" | "cool" | "fan" | "eco")[];
785
+ is_heat_pump_compatible: boolean;
786
+ supports_demand_response: boolean;
787
+ supports_emergency_heating_mode: boolean;
788
+ };
789
+ software_features: {
790
+ can_program_climate_schedules: boolean;
791
+ };
792
+ } | {
793
+ main_category: "relay";
794
+ } | {
1334
795
  main_category: "intercom";
1335
796
  physical_properties: {
1336
797
  has_camera: boolean;
@@ -1344,67 +805,7 @@ export declare const routes: {
1344
805
  can_unlock_with_face_recognition?: boolean | undefined;
1345
806
  supports_onvif?: boolean | undefined;
1346
807
  };
1347
- }) | ({
1348
- description: string;
1349
- display_name: string;
1350
- device_model_id: string;
1351
- manufacturer: {
1352
- manufacturer_id: string;
1353
- display_name: string;
1354
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1355
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1356
- is_connect_webview_supported: boolean;
1357
- requires_seam_support_to_add_account: boolean;
1358
- annotations: {
1359
- message: string;
1360
- annotation_code: "subscription_required";
1361
- }[];
1362
- description?: string | undefined;
1363
- logo?: {
1364
- height: number;
1365
- width: number;
1366
- url: string;
1367
- } | undefined;
1368
- website?: string | undefined;
1369
- legal_name?: string | undefined;
1370
- parent_organization?: string | undefined;
1371
- headquarters?: string[] | undefined;
1372
- countries_of_origin?: string[] | undefined;
1373
- founding_year?: string | undefined;
1374
- us_customer_support_tel?: string | undefined;
1375
- us_customer_support_email?: string | undefined;
1376
- us_customer_support_contact_url?: string | undefined;
1377
- seam_api_guide?: string | undefined;
1378
- };
1379
- is_device_supported: boolean;
1380
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1381
- hardware: {
1382
- has_physical_key?: boolean | undefined;
1383
- };
1384
- aesthetic_variants: {
1385
- display_name: string;
1386
- slug: string;
1387
- images: {
1388
- height: number;
1389
- width: number;
1390
- url: string;
1391
- }[];
1392
- primary_color_hex?: string | undefined;
1393
- manufacturer_sku?: string | undefined;
1394
- front_image?: {
1395
- height: number;
1396
- width: number;
1397
- url: string;
1398
- } | undefined;
1399
- back_image?: {
1400
- height: number;
1401
- width: number;
1402
- url: string;
1403
- } | undefined;
1404
- }[];
1405
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1406
- product_url?: string | undefined;
1407
- } & {
808
+ } | {
1408
809
  main_category: "accessory";
1409
810
  });
1410
811
  }>;
@@ -1423,8 +824,8 @@ export declare const routes: {
1423
824
  include_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1424
825
  exclude_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1425
826
  }, "strip", z.ZodTypeAny, {
1426
- main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1427
827
  manufacturer_id?: string | undefined;
828
+ main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1428
829
  manufacturer_ids?: string[] | undefined;
1429
830
  integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
1430
831
  integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
@@ -1432,8 +833,8 @@ export declare const routes: {
1432
833
  include_if?: string[] | undefined;
1433
834
  exclude_if?: string[] | undefined;
1434
835
  }, {
1435
- main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1436
836
  manufacturer_id?: string | undefined;
837
+ main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1437
838
  manufacturer_ids?: string[] | undefined;
1438
839
  integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
1439
840
  integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
@@ -1760,7 +1161,7 @@ export declare const routes: {
1760
1161
  }[];
1761
1162
  power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1762
1163
  product_url?: string | undefined;
1763
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
1164
+ }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
1764
1165
  main_category: z.ZodLiteral<"smartlock">;
1765
1166
  physical_properties: z.ZodObject<{
1766
1167
  lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
@@ -1791,11 +1192,12 @@ export declare const routes: {
1791
1192
  can_program_access_schedules: boolean;
1792
1193
  can_program_access_codes_offline: boolean;
1793
1194
  }>;
1195
+ }, Pick<{
1794
1196
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1795
1197
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
1796
1198
  can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1797
1199
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1798
- }, "strip", z.ZodTypeAny, {
1200
+ }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
1799
1201
  main_category: "smartlock";
1800
1202
  physical_properties: {
1801
1203
  has_physical_key: boolean;
@@ -2306,6 +1708,7 @@ export declare const routes: {
2306
1708
  message: string;
2307
1709
  annotation_code: "subscription_required";
2308
1710
  }[];
1711
+ description?: string | undefined;
2309
1712
  logo?: {
2310
1713
  height: number;
2311
1714
  width: number;
@@ -2321,7 +1724,6 @@ export declare const routes: {
2321
1724
  us_customer_support_email?: string | undefined;
2322
1725
  us_customer_support_contact_url?: string | undefined;
2323
1726
  seam_api_guide?: string | undefined;
2324
- description?: string | undefined;
2325
1727
  }, {
2326
1728
  manufacturer_id: string;
2327
1729
  display_name: string;
@@ -2334,6 +1736,7 @@ export declare const routes: {
2334
1736
  message: string;
2335
1737
  annotation_code: "subscription_required";
2336
1738
  }[];
1739
+ description?: string | undefined;
2337
1740
  logo?: {
2338
1741
  height: number;
2339
1742
  width: number;
@@ -2349,7 +1752,6 @@ export declare const routes: {
2349
1752
  us_customer_support_email?: string | undefined;
2350
1753
  us_customer_support_contact_url?: string | undefined;
2351
1754
  seam_api_guide?: string | undefined;
2352
- description?: string | undefined;
2353
1755
  }>;
2354
1756
  }, "strip", z.ZodTypeAny, {
2355
1757
  manufacturer: {
@@ -2364,6 +1766,7 @@ export declare const routes: {
2364
1766
  message: string;
2365
1767
  annotation_code: "subscription_required";
2366
1768
  }[];
1769
+ description?: string | undefined;
2367
1770
  logo?: {
2368
1771
  height: number;
2369
1772
  width: number;
@@ -2379,7 +1782,6 @@ export declare const routes: {
2379
1782
  us_customer_support_email?: string | undefined;
2380
1783
  us_customer_support_contact_url?: string | undefined;
2381
1784
  seam_api_guide?: string | undefined;
2382
- description?: string | undefined;
2383
1785
  };
2384
1786
  }, {
2385
1787
  manufacturer: {
@@ -2394,6 +1796,7 @@ export declare const routes: {
2394
1796
  message: string;
2395
1797
  annotation_code: "subscription_required";
2396
1798
  }[];
1799
+ description?: string | undefined;
2397
1800
  logo?: {
2398
1801
  height: number;
2399
1802
  width: number;
@@ -2409,7 +1812,6 @@ export declare const routes: {
2409
1812
  us_customer_support_email?: string | undefined;
2410
1813
  us_customer_support_contact_url?: string | undefined;
2411
1814
  seam_api_guide?: string | undefined;
2412
- description?: string | undefined;
2413
1815
  };
2414
1816
  }>;
2415
1817
  };
@@ -2486,6 +1888,7 @@ export declare const routes: {
2486
1888
  message: string;
2487
1889
  annotation_code: "subscription_required";
2488
1890
  }[];
1891
+ description?: string | undefined;
2489
1892
  logo?: {
2490
1893
  height: number;
2491
1894
  width: number;
@@ -2501,7 +1904,6 @@ export declare const routes: {
2501
1904
  us_customer_support_email?: string | undefined;
2502
1905
  us_customer_support_contact_url?: string | undefined;
2503
1906
  seam_api_guide?: string | undefined;
2504
- description?: string | undefined;
2505
1907
  }, {
2506
1908
  manufacturer_id: string;
2507
1909
  display_name: string;
@@ -2514,6 +1916,7 @@ export declare const routes: {
2514
1916
  message: string;
2515
1917
  annotation_code: "subscription_required";
2516
1918
  }[];
1919
+ description?: string | undefined;
2517
1920
  logo?: {
2518
1921
  height: number;
2519
1922
  width: number;
@@ -2529,7 +1932,6 @@ export declare const routes: {
2529
1932
  us_customer_support_email?: string | undefined;
2530
1933
  us_customer_support_contact_url?: string | undefined;
2531
1934
  seam_api_guide?: string | undefined;
2532
- description?: string | undefined;
2533
1935
  }>, "many">;
2534
1936
  }, "strip", z.ZodTypeAny, {
2535
1937
  manufacturers: {
@@ -2544,6 +1946,7 @@ export declare const routes: {
2544
1946
  message: string;
2545
1947
  annotation_code: "subscription_required";
2546
1948
  }[];
1949
+ description?: string | undefined;
2547
1950
  logo?: {
2548
1951
  height: number;
2549
1952
  width: number;
@@ -2559,7 +1962,6 @@ export declare const routes: {
2559
1962
  us_customer_support_email?: string | undefined;
2560
1963
  us_customer_support_contact_url?: string | undefined;
2561
1964
  seam_api_guide?: string | undefined;
2562
- description?: string | undefined;
2563
1965
  }[];
2564
1966
  }, {
2565
1967
  manufacturers: {
@@ -2574,6 +1976,7 @@ export declare const routes: {
2574
1976
  message: string;
2575
1977
  annotation_code: "subscription_required";
2576
1978
  }[];
1979
+ description?: string | undefined;
2577
1980
  logo?: {
2578
1981
  height: number;
2579
1982
  width: number;
@@ -2589,7 +1992,6 @@ export declare const routes: {
2589
1992
  us_customer_support_email?: string | undefined;
2590
1993
  us_customer_support_contact_url?: string | undefined;
2591
1994
  seam_api_guide?: string | undefined;
2592
- description?: string | undefined;
2593
1995
  }[];
2594
1996
  }>;
2595
1997
  };