@seamapi/types 1.176.0 → 1.177.1

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 (116) hide show
  1. package/dist/connect.cjs +1390 -142
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +13104 -2318
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +1038 -0
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js +22 -0
  7. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -0
  8. package/lib/seam/connect/models/action-attempts/common.d.ts +53 -0
  9. package/lib/seam/connect/models/action-attempts/common.js +24 -0
  10. package/lib/seam/connect/models/action-attempts/common.js.map +1 -0
  11. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +485 -0
  12. package/lib/seam/connect/models/action-attempts/deprecated.js +108 -0
  13. package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -0
  14. package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
  15. package/lib/seam/connect/models/action-attempts/index.js +2 -0
  16. package/lib/seam/connect/models/action-attempts/index.js.map +1 -0
  17. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +72 -0
  18. package/lib/seam/connect/models/action-attempts/lock-door.js +25 -0
  19. package/lib/seam/connect/models/action-attempts/lock-door.js.map +1 -0
  20. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +71 -0
  21. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.js +28 -0
  22. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.js.map +1 -0
  23. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +71 -0
  24. package/lib/seam/connect/models/action-attempts/set-cool.js +25 -0
  25. package/lib/seam/connect/models/action-attempts/set-cool.js.map +1 -0
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +71 -0
  27. package/lib/seam/connect/models/action-attempts/set-fan-mode.js +25 -0
  28. package/lib/seam/connect/models/action-attempts/set-fan-mode.js.map +1 -0
  29. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +71 -0
  30. package/lib/seam/connect/models/action-attempts/set-heat-cool.js +25 -0
  31. package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +1 -0
  32. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +71 -0
  33. package/lib/seam/connect/models/action-attempts/set-heat.js +25 -0
  34. package/lib/seam/connect/models/action-attempts/set-heat.js.map +1 -0
  35. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +71 -0
  36. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +25 -0
  37. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +1 -0
  38. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +72 -0
  39. package/lib/seam/connect/models/action-attempts/unlock-door.js +25 -0
  40. package/lib/seam/connect/models/action-attempts/unlock-door.js.map +1 -0
  41. package/lib/seam/connect/models/devices/managed-device.js +6 -2
  42. package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
  43. package/lib/seam/connect/models/events/access-codes.d.ts +1 -1
  44. package/lib/seam/connect/models/events/access-codes.js +1 -1
  45. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  46. package/lib/seam/connect/models/events/acs/common.d.ts +1 -1
  47. package/lib/seam/connect/models/events/acs/common.js +1 -1
  48. package/lib/seam/connect/models/events/acs/common.js.map +1 -1
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +1 -1
  50. package/lib/seam/connect/models/events/acs/credentials.js +1 -1
  51. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  52. package/lib/seam/connect/models/events/acs/users.d.ts +1 -1
  53. package/lib/seam/connect/models/events/acs/users.js +1 -1
  54. package/lib/seam/connect/models/events/acs/users.js.map +1 -1
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +10 -10
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +1 -1
  57. package/lib/seam/connect/models/events/client-sessions.js +1 -1
  58. package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
  59. package/lib/seam/connect/models/events/common.d.ts +1 -1
  60. package/lib/seam/connect/models/events/common.js +1 -1
  61. package/lib/seam/connect/models/events/common.js.map +1 -1
  62. package/lib/seam/connect/models/events/connected-accounts.d.ts +1 -1
  63. package/lib/seam/connect/models/events/connected-accounts.js +1 -1
  64. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  65. package/lib/seam/connect/models/events/devices.d.ts +1 -1
  66. package/lib/seam/connect/models/events/devices.js +1 -1
  67. package/lib/seam/connect/models/events/devices.js.map +1 -1
  68. package/lib/seam/connect/models/events/enrollment-automations.d.ts +1 -1
  69. package/lib/seam/connect/models/events/enrollment-automations.js +1 -1
  70. package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
  71. package/lib/seam/connect/models/events/phones.d.ts +1 -1
  72. package/lib/seam/connect/models/events/phones.js +1 -1
  73. package/lib/seam/connect/models/events/phones.js.map +1 -1
  74. package/lib/seam/connect/models/events/seam-event.d.ts +1 -1
  75. package/lib/seam/connect/models/events/seam-event.js +1 -1
  76. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  77. package/lib/seam/connect/models/index.d.ts +1 -0
  78. package/lib/seam/connect/models/index.js +1 -0
  79. package/lib/seam/connect/models/index.js.map +1 -1
  80. package/lib/seam/connect/openapi.d.ts +116 -4
  81. package/lib/seam/connect/openapi.js +999 -11
  82. package/lib/seam/connect/openapi.js.map +1 -1
  83. package/lib/seam/connect/route-types.d.ts +11960 -2324
  84. package/lib/seam/connect/schemas.d.ts +1 -1
  85. package/lib/seam/connect/schemas.js +1 -1
  86. package/lib/seam/connect/schemas.js.map +1 -1
  87. package/package.json +1 -1
  88. package/src/lib/seam/connect/model-types.ts +1 -0
  89. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +25 -0
  90. package/src/lib/seam/connect/models/action-attempts/common.ts +27 -0
  91. package/src/lib/seam/connect/models/action-attempts/deprecated.ts +122 -0
  92. package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
  93. package/src/lib/seam/connect/models/action-attempts/lock-door.ts +35 -0
  94. package/src/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.ts +39 -0
  95. package/src/lib/seam/connect/models/action-attempts/set-cool.ts +33 -0
  96. package/src/lib/seam/connect/models/action-attempts/set-fan-mode.ts +33 -0
  97. package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +33 -0
  98. package/src/lib/seam/connect/models/action-attempts/set-heat.ts +33 -0
  99. package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +36 -0
  100. package/src/lib/seam/connect/models/action-attempts/unlock-door.ts +35 -0
  101. package/src/lib/seam/connect/models/devices/managed-device.ts +8 -2
  102. package/src/lib/seam/connect/models/events/access-codes.ts +1 -1
  103. package/src/lib/seam/connect/models/events/acs/common.ts +1 -1
  104. package/src/lib/seam/connect/models/events/acs/credentials.ts +1 -1
  105. package/src/lib/seam/connect/models/events/acs/users.ts +1 -1
  106. package/src/lib/seam/connect/models/events/client-sessions.ts +1 -1
  107. package/src/lib/seam/connect/models/events/common.ts +1 -1
  108. package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
  109. package/src/lib/seam/connect/models/events/devices.ts +1 -1
  110. package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -1
  111. package/src/lib/seam/connect/models/events/phones.ts +1 -1
  112. package/src/lib/seam/connect/models/events/seam-event.ts +1 -1
  113. package/src/lib/seam/connect/models/index.ts +1 -0
  114. package/src/lib/seam/connect/openapi.ts +1044 -11
  115. package/src/lib/seam/connect/route-types.ts +13034 -2684
  116. package/src/lib/seam/connect/schemas.ts +6 -1
@@ -523,40 +523,1006 @@ export default {
523
523
  type: 'object',
524
524
  },
525
525
  action_attempt: {
526
- discriminator: { propertyName: 'status' },
527
526
  oneOf: [
528
527
  {
528
+ description: 'Locking door.',
529
529
  properties: {
530
- action_attempt_id: { format: 'uuid', type: 'string' },
531
- action_type: { type: 'string' },
530
+ action_attempt_id: {
531
+ description:
532
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
533
+ format: 'uuid',
534
+ type: 'string',
535
+ },
536
+ action_type: { enum: ['LOCK_DOOR'], type: 'string' },
537
+ error: { format: 'null', nullable: true, type: 'string' },
538
+ result: { format: 'null', nullable: true, type: 'string' },
539
+ status: { enum: ['pending'], type: 'string' },
540
+ },
541
+ required: [
542
+ 'action_attempt_id',
543
+ 'status',
544
+ 'result',
545
+ 'error',
546
+ 'action_type',
547
+ ],
548
+ type: 'object',
549
+ },
550
+ {
551
+ description: 'Locking door succeeded.',
552
+ properties: {
553
+ action_attempt_id: {
554
+ description:
555
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
556
+ format: 'uuid',
557
+ type: 'string',
558
+ },
559
+ action_type: { enum: ['LOCK_DOOR'], type: 'string' },
560
+ error: { format: 'null', nullable: true, type: 'string' },
561
+ result: { properties: {}, type: 'object' },
562
+ status: { enum: ['success'], type: 'string' },
563
+ },
564
+ required: [
565
+ 'action_attempt_id',
566
+ 'status',
567
+ 'error',
568
+ 'action_type',
569
+ 'result',
570
+ ],
571
+ type: 'object',
572
+ },
573
+ {
574
+ description: 'Locking door failed.',
575
+ properties: {
576
+ action_attempt_id: {
577
+ description:
578
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
579
+ format: 'uuid',
580
+ type: 'string',
581
+ },
582
+ action_type: { enum: ['LOCK_DOOR'], type: 'string' },
583
+ error: {
584
+ properties: {
585
+ message: { type: 'string' },
586
+ type: { type: 'string' },
587
+ },
588
+ required: ['type', 'message'],
589
+ type: 'object',
590
+ },
591
+ result: { format: 'null', nullable: true, type: 'string' },
592
+ status: { enum: ['error'], type: 'string' },
593
+ },
594
+ required: [
595
+ 'action_attempt_id',
596
+ 'status',
597
+ 'result',
598
+ 'action_type',
599
+ 'error',
600
+ ],
601
+ type: 'object',
602
+ },
603
+ {
604
+ description: 'Unlocking door.',
605
+ properties: {
606
+ action_attempt_id: {
607
+ description:
608
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
609
+ format: 'uuid',
610
+ type: 'string',
611
+ },
612
+ action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
613
+ error: { format: 'null', nullable: true, type: 'string' },
614
+ result: { format: 'null', nullable: true, type: 'string' },
615
+ status: { enum: ['pending'], type: 'string' },
616
+ },
617
+ required: [
618
+ 'action_attempt_id',
619
+ 'status',
620
+ 'result',
621
+ 'error',
622
+ 'action_type',
623
+ ],
624
+ type: 'object',
625
+ },
626
+ {
627
+ description: 'Unlocking door succeeded.',
628
+ properties: {
629
+ action_attempt_id: {
630
+ description:
631
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
632
+ format: 'uuid',
633
+ type: 'string',
634
+ },
635
+ action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
636
+ error: { format: 'null', nullable: true, type: 'string' },
637
+ result: { properties: {}, type: 'object' },
638
+ status: { enum: ['success'], type: 'string' },
639
+ },
640
+ required: [
641
+ 'action_attempt_id',
642
+ 'status',
643
+ 'error',
644
+ 'action_type',
645
+ 'result',
646
+ ],
647
+ type: 'object',
648
+ },
649
+ {
650
+ description: 'Unlocking door failed.',
651
+ properties: {
652
+ action_attempt_id: {
653
+ description:
654
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
655
+ format: 'uuid',
656
+ type: 'string',
657
+ },
658
+ action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
659
+ error: {
660
+ properties: {
661
+ message: { type: 'string' },
662
+ type: { type: 'string' },
663
+ },
664
+ required: ['type', 'message'],
665
+ type: 'object',
666
+ },
667
+ result: { format: 'null', nullable: true, type: 'string' },
668
+ status: { enum: ['error'], type: 'string' },
669
+ },
670
+ required: [
671
+ 'action_attempt_id',
672
+ 'status',
673
+ 'result',
674
+ 'action_type',
675
+ 'error',
676
+ ],
677
+ type: 'object',
678
+ },
679
+ {
680
+ description: 'Resetting sandbox workspace.',
681
+ properties: {
682
+ action_attempt_id: {
683
+ description:
684
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
685
+ format: 'uuid',
686
+ type: 'string',
687
+ },
688
+ action_type: {
689
+ enum: ['RESET_SANDBOX_WORKSPACE'],
690
+ type: 'string',
691
+ },
692
+ error: { format: 'null', nullable: true, type: 'string' },
693
+ result: { format: 'null', nullable: true, type: 'string' },
694
+ status: { enum: ['pending'], type: 'string' },
695
+ },
696
+ required: [
697
+ 'action_attempt_id',
698
+ 'status',
699
+ 'result',
700
+ 'error',
701
+ 'action_type',
702
+ ],
703
+ type: 'object',
704
+ },
705
+ {
706
+ description: 'Resetting sandbox workspace succeeded.',
707
+ properties: {
708
+ action_attempt_id: {
709
+ description:
710
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
711
+ format: 'uuid',
712
+ type: 'string',
713
+ },
714
+ action_type: {
715
+ enum: ['RESET_SANDBOX_WORKSPACE'],
716
+ type: 'string',
717
+ },
718
+ error: { format: 'null', nullable: true, type: 'string' },
719
+ result: { properties: {}, type: 'object' },
720
+ status: { enum: ['success'], type: 'string' },
721
+ },
722
+ required: [
723
+ 'action_attempt_id',
724
+ 'status',
725
+ 'error',
726
+ 'action_type',
727
+ 'result',
728
+ ],
729
+ type: 'object',
730
+ },
731
+ {
732
+ description: 'Resetting sandbox workspace failed.',
733
+ properties: {
734
+ action_attempt_id: {
735
+ description:
736
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
737
+ format: 'uuid',
738
+ type: 'string',
739
+ },
740
+ action_type: {
741
+ enum: ['RESET_SANDBOX_WORKSPACE'],
742
+ type: 'string',
743
+ },
744
+ error: {
745
+ properties: {
746
+ message: { type: 'string' },
747
+ type: { type: 'string' },
748
+ },
749
+ required: ['type', 'message'],
750
+ type: 'object',
751
+ },
752
+ result: { format: 'null', nullable: true, type: 'string' },
753
+ status: { enum: ['error'], type: 'string' },
754
+ },
755
+ required: [
756
+ 'action_attempt_id',
757
+ 'status',
758
+ 'result',
759
+ 'action_type',
760
+ 'error',
761
+ ],
762
+ type: 'object',
763
+ },
764
+ {
765
+ description: 'Setting HVAC to cool.',
766
+ properties: {
767
+ action_attempt_id: {
768
+ description:
769
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
770
+ format: 'uuid',
771
+ type: 'string',
772
+ },
773
+ action_type: { enum: ['SET_COOL'], type: 'string' },
774
+ error: { format: 'null', nullable: true, type: 'string' },
775
+ result: { format: 'null', nullable: true, type: 'string' },
776
+ status: { enum: ['pending'], type: 'string' },
777
+ },
778
+ required: [
779
+ 'action_attempt_id',
780
+ 'status',
781
+ 'result',
782
+ 'error',
783
+ 'action_type',
784
+ ],
785
+ type: 'object',
786
+ },
787
+ {
788
+ description: 'Setting HVAC to cool succeeded.',
789
+ properties: {
790
+ action_attempt_id: {
791
+ description:
792
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
793
+ format: 'uuid',
794
+ type: 'string',
795
+ },
796
+ action_type: { enum: ['SET_COOL'], type: 'string' },
797
+ error: { format: 'null', nullable: true, type: 'string' },
798
+ result: { properties: {}, type: 'object' },
799
+ status: { enum: ['success'], type: 'string' },
800
+ },
801
+ required: [
802
+ 'action_attempt_id',
803
+ 'status',
804
+ 'error',
805
+ 'action_type',
806
+ 'result',
807
+ ],
808
+ type: 'object',
809
+ },
810
+ {
811
+ description: 'Setting HVAC to cool failed.',
812
+ properties: {
813
+ action_attempt_id: {
814
+ description:
815
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
816
+ format: 'uuid',
817
+ type: 'string',
818
+ },
819
+ action_type: { enum: ['SET_COOL'], type: 'string' },
820
+ error: {
821
+ properties: {
822
+ message: { type: 'string' },
823
+ type: { type: 'string' },
824
+ },
825
+ required: ['type', 'message'],
826
+ type: 'object',
827
+ },
828
+ result: { format: 'null', nullable: true, type: 'string' },
829
+ status: { enum: ['error'], type: 'string' },
830
+ },
831
+ required: [
832
+ 'action_attempt_id',
833
+ 'status',
834
+ 'result',
835
+ 'action_type',
836
+ 'error',
837
+ ],
838
+ type: 'object',
839
+ },
840
+ {
841
+ description: 'Setting HVAC to heat mode.',
842
+ properties: {
843
+ action_attempt_id: {
844
+ description:
845
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
846
+ format: 'uuid',
847
+ type: 'string',
848
+ },
849
+ action_type: { enum: ['SET_HEAT'], type: 'string' },
850
+ error: { format: 'null', nullable: true, type: 'string' },
851
+ result: { format: 'null', nullable: true, type: 'string' },
852
+ status: { enum: ['pending'], type: 'string' },
853
+ },
854
+ required: [
855
+ 'action_attempt_id',
856
+ 'status',
857
+ 'result',
858
+ 'error',
859
+ 'action_type',
860
+ ],
861
+ type: 'object',
862
+ },
863
+ {
864
+ description: 'Setting HVAC to heat mode succeeded.',
865
+ properties: {
866
+ action_attempt_id: {
867
+ description:
868
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
869
+ format: 'uuid',
870
+ type: 'string',
871
+ },
872
+ action_type: { enum: ['SET_HEAT'], type: 'string' },
873
+ error: { format: 'null', nullable: true, type: 'string' },
874
+ result: { properties: {}, type: 'object' },
875
+ status: { enum: ['success'], type: 'string' },
876
+ },
877
+ required: [
878
+ 'action_attempt_id',
879
+ 'status',
880
+ 'error',
881
+ 'action_type',
882
+ 'result',
883
+ ],
884
+ type: 'object',
885
+ },
886
+ {
887
+ description: 'Setting HVAC to heat mode failed.',
888
+ properties: {
889
+ action_attempt_id: {
890
+ description:
891
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
892
+ format: 'uuid',
893
+ type: 'string',
894
+ },
895
+ action_type: { enum: ['SET_HEAT'], type: 'string' },
896
+ error: {
897
+ properties: {
898
+ message: { type: 'string' },
899
+ type: { type: 'string' },
900
+ },
901
+ required: ['type', 'message'],
902
+ type: 'object',
903
+ },
904
+ result: { format: 'null', nullable: true, type: 'string' },
905
+ status: { enum: ['error'], type: 'string' },
906
+ },
907
+ required: [
908
+ 'action_attempt_id',
909
+ 'status',
910
+ 'result',
911
+ 'action_type',
912
+ 'error',
913
+ ],
914
+ type: 'object',
915
+ },
916
+ {
917
+ description: 'Setting HVAC to heat-cool mode.',
918
+ properties: {
919
+ action_attempt_id: {
920
+ description:
921
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
922
+ format: 'uuid',
923
+ type: 'string',
924
+ },
925
+ action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
926
+ error: { format: 'null', nullable: true, type: 'string' },
927
+ result: { format: 'null', nullable: true, type: 'string' },
928
+ status: { enum: ['pending'], type: 'string' },
929
+ },
930
+ required: [
931
+ 'action_attempt_id',
932
+ 'status',
933
+ 'result',
934
+ 'error',
935
+ 'action_type',
936
+ ],
937
+ type: 'object',
938
+ },
939
+ {
940
+ description: 'Setting HVAC to heat-cool mode succeeded.',
941
+ properties: {
942
+ action_attempt_id: {
943
+ description:
944
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
945
+ format: 'uuid',
946
+ type: 'string',
947
+ },
948
+ action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
949
+ error: { format: 'null', nullable: true, type: 'string' },
950
+ result: { properties: {}, type: 'object' },
951
+ status: { enum: ['success'], type: 'string' },
952
+ },
953
+ required: [
954
+ 'action_attempt_id',
955
+ 'status',
956
+ 'error',
957
+ 'action_type',
958
+ 'result',
959
+ ],
960
+ type: 'object',
961
+ },
962
+ {
963
+ description: 'Setting heat-cool mode failed.',
964
+ properties: {
965
+ action_attempt_id: {
966
+ description:
967
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
968
+ format: 'uuid',
969
+ type: 'string',
970
+ },
971
+ action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
972
+ error: {
973
+ properties: {
974
+ message: { type: 'string' },
975
+ type: { type: 'string' },
976
+ },
977
+ required: ['type', 'message'],
978
+ type: 'object',
979
+ },
980
+ result: { format: 'null', nullable: true, type: 'string' },
981
+ status: { enum: ['error'], type: 'string' },
982
+ },
983
+ required: [
984
+ 'action_attempt_id',
985
+ 'status',
986
+ 'result',
987
+ 'action_type',
988
+ 'error',
989
+ ],
990
+ type: 'object',
991
+ },
992
+ {
993
+ description: 'Setting fan mode.',
994
+ properties: {
995
+ action_attempt_id: {
996
+ description:
997
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
998
+ format: 'uuid',
999
+ type: 'string',
1000
+ },
1001
+ action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
1002
+ error: { format: 'null', nullable: true, type: 'string' },
1003
+ result: { format: 'null', nullable: true, type: 'string' },
1004
+ status: { enum: ['pending'], type: 'string' },
1005
+ },
1006
+ required: [
1007
+ 'action_attempt_id',
1008
+ 'status',
1009
+ 'result',
1010
+ 'error',
1011
+ 'action_type',
1012
+ ],
1013
+ type: 'object',
1014
+ },
1015
+ {
1016
+ description: 'Setting fan mode succeeded.',
1017
+ properties: {
1018
+ action_attempt_id: {
1019
+ description:
1020
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1021
+ format: 'uuid',
1022
+ type: 'string',
1023
+ },
1024
+ action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
1025
+ error: { format: 'null', nullable: true, type: 'string' },
1026
+ result: { properties: {}, type: 'object' },
1027
+ status: { enum: ['success'], type: 'string' },
1028
+ },
1029
+ required: [
1030
+ 'action_attempt_id',
1031
+ 'status',
1032
+ 'error',
1033
+ 'action_type',
1034
+ 'result',
1035
+ ],
1036
+ type: 'object',
1037
+ },
1038
+ {
1039
+ description: 'Setting fan mode failed.',
1040
+ properties: {
1041
+ action_attempt_id: {
1042
+ description:
1043
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1044
+ format: 'uuid',
1045
+ type: 'string',
1046
+ },
1047
+ action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
1048
+ error: {
1049
+ properties: {
1050
+ message: { type: 'string' },
1051
+ type: { type: 'string' },
1052
+ },
1053
+ required: ['type', 'message'],
1054
+ type: 'object',
1055
+ },
1056
+ result: { format: 'null', nullable: true, type: 'string' },
1057
+ status: { enum: ['error'], type: 'string' },
1058
+ },
1059
+ required: [
1060
+ 'action_attempt_id',
1061
+ 'status',
1062
+ 'result',
1063
+ 'action_type',
1064
+ 'error',
1065
+ ],
1066
+ type: 'object',
1067
+ },
1068
+ {
1069
+ description: 'Turning HVAC off.',
1070
+ properties: {
1071
+ action_attempt_id: {
1072
+ description:
1073
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1074
+ format: 'uuid',
1075
+ type: 'string',
1076
+ },
1077
+ action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
1078
+ error: { format: 'null', nullable: true, type: 'string' },
1079
+ result: { format: 'null', nullable: true, type: 'string' },
1080
+ status: { enum: ['pending'], type: 'string' },
1081
+ },
1082
+ required: [
1083
+ 'action_attempt_id',
1084
+ 'status',
1085
+ 'result',
1086
+ 'error',
1087
+ 'action_type',
1088
+ ],
1089
+ type: 'object',
1090
+ },
1091
+ {
1092
+ description: 'Turning HVAC off succeeded.',
1093
+ properties: {
1094
+ action_attempt_id: {
1095
+ description:
1096
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1097
+ format: 'uuid',
1098
+ type: 'string',
1099
+ },
1100
+ action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
1101
+ error: { format: 'null', nullable: true, type: 'string' },
1102
+ result: { properties: {}, type: 'object' },
1103
+ status: { enum: ['success'], type: 'string' },
1104
+ },
1105
+ required: [
1106
+ 'action_attempt_id',
1107
+ 'status',
1108
+ 'error',
1109
+ 'action_type',
1110
+ 'result',
1111
+ ],
1112
+ type: 'object',
1113
+ },
1114
+ {
1115
+ description: 'Turning HVAC off failed.',
1116
+ properties: {
1117
+ action_attempt_id: {
1118
+ description:
1119
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1120
+ format: 'uuid',
1121
+ type: 'string',
1122
+ },
1123
+ action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
1124
+ error: {
1125
+ properties: {
1126
+ message: { type: 'string' },
1127
+ type: { type: 'string' },
1128
+ },
1129
+ required: ['type', 'message'],
1130
+ type: 'object',
1131
+ },
1132
+ result: { format: 'null', nullable: true, type: 'string' },
1133
+ status: { enum: ['error'], type: 'string' },
1134
+ },
1135
+ required: [
1136
+ 'action_attempt_id',
1137
+ 'status',
1138
+ 'result',
1139
+ 'action_type',
1140
+ 'error',
1141
+ ],
1142
+ type: 'object',
1143
+ },
1144
+ {
1145
+ properties: {
1146
+ action_attempt_id: {
1147
+ description:
1148
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1149
+ format: 'uuid',
1150
+ type: 'string',
1151
+ },
1152
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1153
+ error: { format: 'null', nullable: true, type: 'string' },
1154
+ result: { format: 'null', nullable: true, type: 'string' },
1155
+ status: { enum: ['pending'], type: 'string' },
1156
+ },
1157
+ required: [
1158
+ 'action_attempt_id',
1159
+ 'status',
1160
+ 'result',
1161
+ 'error',
1162
+ 'action_type',
1163
+ ],
1164
+ type: 'object',
1165
+ },
1166
+ {
1167
+ properties: {
1168
+ action_attempt_id: {
1169
+ description:
1170
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1171
+ format: 'uuid',
1172
+ type: 'string',
1173
+ },
1174
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1175
+ error: { format: 'null', nullable: true, type: 'string' },
1176
+ result: { nullable: true },
1177
+ status: { enum: ['success'], type: 'string' },
1178
+ },
1179
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1180
+ type: 'object',
1181
+ },
1182
+ {
1183
+ properties: {
1184
+ action_attempt_id: {
1185
+ description:
1186
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1187
+ format: 'uuid',
1188
+ type: 'string',
1189
+ },
1190
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1191
+ error: {
1192
+ properties: {
1193
+ message: { type: 'string' },
1194
+ type: { type: 'string' },
1195
+ },
1196
+ required: ['type', 'message'],
1197
+ type: 'object',
1198
+ },
1199
+ result: { format: 'null', nullable: true, type: 'string' },
1200
+ status: { enum: ['error'], type: 'string' },
1201
+ },
1202
+ required: [
1203
+ 'action_attempt_id',
1204
+ 'status',
1205
+ 'result',
1206
+ 'action_type',
1207
+ 'error',
1208
+ ],
1209
+ type: 'object',
1210
+ },
1211
+ {
1212
+ properties: {
1213
+ action_attempt_id: {
1214
+ description:
1215
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1216
+ format: 'uuid',
1217
+ type: 'string',
1218
+ },
1219
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1220
+ error: { format: 'null', nullable: true, type: 'string' },
1221
+ result: { format: 'null', nullable: true, type: 'string' },
1222
+ status: { enum: ['pending'], type: 'string' },
1223
+ },
1224
+ required: [
1225
+ 'action_attempt_id',
1226
+ 'status',
1227
+ 'result',
1228
+ 'error',
1229
+ 'action_type',
1230
+ ],
1231
+ type: 'object',
1232
+ },
1233
+ {
1234
+ properties: {
1235
+ action_attempt_id: {
1236
+ description:
1237
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1238
+ format: 'uuid',
1239
+ type: 'string',
1240
+ },
1241
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1242
+ error: { format: 'null', nullable: true, type: 'string' },
1243
+ result: { nullable: true },
1244
+ status: { enum: ['success'], type: 'string' },
1245
+ },
1246
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1247
+ type: 'object',
1248
+ },
1249
+ {
1250
+ properties: {
1251
+ action_attempt_id: {
1252
+ description:
1253
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1254
+ format: 'uuid',
1255
+ type: 'string',
1256
+ },
1257
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1258
+ error: {
1259
+ properties: {
1260
+ message: { type: 'string' },
1261
+ type: { type: 'string' },
1262
+ },
1263
+ required: ['type', 'message'],
1264
+ type: 'object',
1265
+ },
1266
+ result: { format: 'null', nullable: true, type: 'string' },
1267
+ status: { enum: ['error'], type: 'string' },
1268
+ },
1269
+ required: [
1270
+ 'action_attempt_id',
1271
+ 'status',
1272
+ 'result',
1273
+ 'action_type',
1274
+ 'error',
1275
+ ],
1276
+ type: 'object',
1277
+ },
1278
+ {
1279
+ properties: {
1280
+ action_attempt_id: {
1281
+ description:
1282
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1283
+ format: 'uuid',
1284
+ type: 'string',
1285
+ },
1286
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1287
+ error: { format: 'null', nullable: true, type: 'string' },
1288
+ result: { format: 'null', nullable: true, type: 'string' },
1289
+ status: { enum: ['pending'], type: 'string' },
1290
+ },
1291
+ required: [
1292
+ 'action_attempt_id',
1293
+ 'status',
1294
+ 'result',
1295
+ 'error',
1296
+ 'action_type',
1297
+ ],
1298
+ type: 'object',
1299
+ },
1300
+ {
1301
+ properties: {
1302
+ action_attempt_id: {
1303
+ description:
1304
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1305
+ format: 'uuid',
1306
+ type: 'string',
1307
+ },
1308
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1309
+ error: { format: 'null', nullable: true, type: 'string' },
1310
+ result: { nullable: true },
1311
+ status: { enum: ['success'], type: 'string' },
1312
+ },
1313
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1314
+ type: 'object',
1315
+ },
1316
+ {
1317
+ properties: {
1318
+ action_attempt_id: {
1319
+ description:
1320
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1321
+ format: 'uuid',
1322
+ type: 'string',
1323
+ },
1324
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1325
+ error: {
1326
+ properties: {
1327
+ message: { type: 'string' },
1328
+ type: { type: 'string' },
1329
+ },
1330
+ required: ['type', 'message'],
1331
+ type: 'object',
1332
+ },
1333
+ result: { format: 'null', nullable: true, type: 'string' },
1334
+ status: { enum: ['error'], type: 'string' },
1335
+ },
1336
+ required: [
1337
+ 'action_attempt_id',
1338
+ 'status',
1339
+ 'result',
1340
+ 'action_type',
1341
+ 'error',
1342
+ ],
1343
+ type: 'object',
1344
+ },
1345
+ {
1346
+ properties: {
1347
+ action_attempt_id: {
1348
+ description:
1349
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1350
+ format: 'uuid',
1351
+ type: 'string',
1352
+ },
1353
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1354
+ error: { format: 'null', nullable: true, type: 'string' },
1355
+ result: { format: 'null', nullable: true, type: 'string' },
1356
+ status: { enum: ['pending'], type: 'string' },
1357
+ },
1358
+ required: [
1359
+ 'action_attempt_id',
1360
+ 'status',
1361
+ 'result',
1362
+ 'error',
1363
+ 'action_type',
1364
+ ],
1365
+ type: 'object',
1366
+ },
1367
+ {
1368
+ properties: {
1369
+ action_attempt_id: {
1370
+ description:
1371
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1372
+ format: 'uuid',
1373
+ type: 'string',
1374
+ },
1375
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
532
1376
  error: { format: 'null', nullable: true, type: 'string' },
533
1377
  result: { nullable: true },
534
1378
  status: { enum: ['success'], type: 'string' },
535
1379
  },
536
- required: ['status', 'action_type', 'action_attempt_id', 'error'],
1380
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1381
+ type: 'object',
1382
+ },
1383
+ {
1384
+ properties: {
1385
+ action_attempt_id: {
1386
+ description:
1387
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1388
+ format: 'uuid',
1389
+ type: 'string',
1390
+ },
1391
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1392
+ error: {
1393
+ properties: {
1394
+ message: { type: 'string' },
1395
+ type: { type: 'string' },
1396
+ },
1397
+ required: ['type', 'message'],
1398
+ type: 'object',
1399
+ },
1400
+ result: { format: 'null', nullable: true, type: 'string' },
1401
+ status: { enum: ['error'], type: 'string' },
1402
+ },
1403
+ required: [
1404
+ 'action_attempt_id',
1405
+ 'status',
1406
+ 'result',
1407
+ 'action_type',
1408
+ 'error',
1409
+ ],
537
1410
  type: 'object',
538
1411
  },
539
1412
  {
540
1413
  properties: {
541
- action_attempt_id: { format: 'uuid', type: 'string' },
542
- action_type: { type: 'string' },
1414
+ action_attempt_id: {
1415
+ description:
1416
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1417
+ format: 'uuid',
1418
+ type: 'string',
1419
+ },
1420
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
543
1421
  error: { format: 'null', nullable: true, type: 'string' },
544
1422
  result: { format: 'null', nullable: true, type: 'string' },
545
1423
  status: { enum: ['pending'], type: 'string' },
546
1424
  },
547
1425
  required: [
1426
+ 'action_attempt_id',
1427
+ 'status',
1428
+ 'result',
1429
+ 'error',
1430
+ 'action_type',
1431
+ ],
1432
+ type: 'object',
1433
+ },
1434
+ {
1435
+ properties: {
1436
+ action_attempt_id: {
1437
+ description:
1438
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1439
+ format: 'uuid',
1440
+ type: 'string',
1441
+ },
1442
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1443
+ error: { format: 'null', nullable: true, type: 'string' },
1444
+ result: { nullable: true },
1445
+ status: { enum: ['success'], type: 'string' },
1446
+ },
1447
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1448
+ type: 'object',
1449
+ },
1450
+ {
1451
+ properties: {
1452
+ action_attempt_id: {
1453
+ description:
1454
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1455
+ format: 'uuid',
1456
+ type: 'string',
1457
+ },
1458
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1459
+ error: {
1460
+ properties: {
1461
+ message: { type: 'string' },
1462
+ type: { type: 'string' },
1463
+ },
1464
+ required: ['type', 'message'],
1465
+ type: 'object',
1466
+ },
1467
+ result: { format: 'null', nullable: true, type: 'string' },
1468
+ status: { enum: ['error'], type: 'string' },
1469
+ },
1470
+ required: [
1471
+ 'action_attempt_id',
548
1472
  'status',
1473
+ 'result',
549
1474
  'action_type',
1475
+ 'error',
1476
+ ],
1477
+ type: 'object',
1478
+ },
1479
+ {
1480
+ properties: {
1481
+ action_attempt_id: {
1482
+ description:
1483
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1484
+ format: 'uuid',
1485
+ type: 'string',
1486
+ },
1487
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1488
+ error: { format: 'null', nullable: true, type: 'string' },
1489
+ result: { format: 'null', nullable: true, type: 'string' },
1490
+ status: { enum: ['pending'], type: 'string' },
1491
+ },
1492
+ required: [
550
1493
  'action_attempt_id',
1494
+ 'status',
551
1495
  'result',
552
1496
  'error',
1497
+ 'action_type',
553
1498
  ],
554
1499
  type: 'object',
555
1500
  },
556
1501
  {
557
1502
  properties: {
558
- action_attempt_id: { format: 'uuid', type: 'string' },
559
- action_type: { type: 'string' },
1503
+ action_attempt_id: {
1504
+ description:
1505
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1506
+ format: 'uuid',
1507
+ type: 'string',
1508
+ },
1509
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1510
+ error: { format: 'null', nullable: true, type: 'string' },
1511
+ result: { nullable: true },
1512
+ status: { enum: ['success'], type: 'string' },
1513
+ },
1514
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1515
+ type: 'object',
1516
+ },
1517
+ {
1518
+ properties: {
1519
+ action_attempt_id: {
1520
+ description:
1521
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1522
+ format: 'uuid',
1523
+ type: 'string',
1524
+ },
1525
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
560
1526
  error: {
561
1527
  properties: {
562
1528
  message: { type: 'string' },
@@ -569,10 +1535,77 @@ export default {
569
1535
  status: { enum: ['error'], type: 'string' },
570
1536
  },
571
1537
  required: [
1538
+ 'action_attempt_id',
1539
+ 'status',
1540
+ 'result',
1541
+ 'action_type',
1542
+ 'error',
1543
+ ],
1544
+ type: 'object',
1545
+ },
1546
+ {
1547
+ properties: {
1548
+ action_attempt_id: {
1549
+ description:
1550
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1551
+ format: 'uuid',
1552
+ type: 'string',
1553
+ },
1554
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1555
+ error: { format: 'null', nullable: true, type: 'string' },
1556
+ result: { format: 'null', nullable: true, type: 'string' },
1557
+ status: { enum: ['pending'], type: 'string' },
1558
+ },
1559
+ required: [
1560
+ 'action_attempt_id',
572
1561
  'status',
1562
+ 'result',
1563
+ 'error',
573
1564
  'action_type',
1565
+ ],
1566
+ type: 'object',
1567
+ },
1568
+ {
1569
+ properties: {
1570
+ action_attempt_id: {
1571
+ description:
1572
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1573
+ format: 'uuid',
1574
+ type: 'string',
1575
+ },
1576
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1577
+ error: { format: 'null', nullable: true, type: 'string' },
1578
+ result: { nullable: true },
1579
+ status: { enum: ['success'], type: 'string' },
1580
+ },
1581
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1582
+ type: 'object',
1583
+ },
1584
+ {
1585
+ properties: {
1586
+ action_attempt_id: {
1587
+ description:
1588
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1589
+ format: 'uuid',
1590
+ type: 'string',
1591
+ },
1592
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1593
+ error: {
1594
+ properties: {
1595
+ message: { type: 'string' },
1596
+ type: { type: 'string' },
1597
+ },
1598
+ required: ['type', 'message'],
1599
+ type: 'object',
1600
+ },
1601
+ result: { format: 'null', nullable: true, type: 'string' },
1602
+ status: { enum: ['error'], type: 'string' },
1603
+ },
1604
+ required: [
574
1605
  'action_attempt_id',
1606
+ 'status',
575
1607
  'result',
1608
+ 'action_type',
576
1609
  'error',
577
1610
  ],
578
1611
  type: 'object',
@@ -985,7 +2018,7 @@ export default {
985
2018
  properties: {
986
2019
  accessory_keypad_supported: {
987
2020
  description:
988
- 'Indicates whether the device supports an accessory keypad.',
2021
+ '\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
989
2022
  type: 'boolean',
990
2023
  },
991
2024
  can_connect_accessory_keypad: {
@@ -1056,7 +2089,7 @@ export default {
1056
2089
  },
1057
2090
  supports_accessory_keypad: {
1058
2091
  description:
1059
- '\n ---\n deprecated: use model.accessory_keypad_supported\n ---\n ',
2092
+ '\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
1060
2093
  type: 'boolean',
1061
2094
  },
1062
2095
  supports_offline_access_codes: {
@@ -2568,7 +3601,7 @@ export default {
2568
3601
  properties: {
2569
3602
  accessory_keypad_supported: {
2570
3603
  description:
2571
- 'Indicates whether the device supports an accessory keypad.',
3604
+ '\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
2572
3605
  type: 'boolean',
2573
3606
  },
2574
3607
  can_connect_accessory_keypad: {