@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
@@ -501,40 +501,964 @@ export default {
501
501
  type: 'object',
502
502
  },
503
503
  action_attempt: {
504
- discriminator: { propertyName: 'status' },
505
504
  oneOf: [
506
505
  {
506
+ description: 'Locking door.',
507
507
  properties: {
508
- action_attempt_id: { format: 'uuid', type: 'string' },
509
- action_type: { type: 'string' },
508
+ action_attempt_id: {
509
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
510
+ format: 'uuid',
511
+ type: 'string',
512
+ },
513
+ action_type: { enum: ['LOCK_DOOR'], type: 'string' },
514
+ error: { format: 'null', nullable: true, type: 'string' },
515
+ result: { format: 'null', nullable: true, type: 'string' },
516
+ status: { enum: ['pending'], type: 'string' },
517
+ },
518
+ required: [
519
+ 'action_attempt_id',
520
+ 'status',
521
+ 'result',
522
+ 'error',
523
+ 'action_type',
524
+ ],
525
+ type: 'object',
526
+ },
527
+ {
528
+ description: 'Locking door succeeded.',
529
+ properties: {
530
+ action_attempt_id: {
531
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
532
+ format: 'uuid',
533
+ type: 'string',
534
+ },
535
+ action_type: { enum: ['LOCK_DOOR'], type: 'string' },
536
+ error: { format: 'null', nullable: true, type: 'string' },
537
+ result: { properties: {}, type: 'object' },
538
+ status: { enum: ['success'], type: 'string' },
539
+ },
540
+ required: [
541
+ 'action_attempt_id',
542
+ 'status',
543
+ 'error',
544
+ 'action_type',
545
+ 'result',
546
+ ],
547
+ type: 'object',
548
+ },
549
+ {
550
+ description: 'Locking door failed.',
551
+ properties: {
552
+ action_attempt_id: {
553
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
554
+ format: 'uuid',
555
+ type: 'string',
556
+ },
557
+ action_type: { enum: ['LOCK_DOOR'], type: 'string' },
558
+ error: {
559
+ properties: {
560
+ message: { type: 'string' },
561
+ type: { type: 'string' },
562
+ },
563
+ required: ['type', 'message'],
564
+ type: 'object',
565
+ },
566
+ result: { format: 'null', nullable: true, type: 'string' },
567
+ status: { enum: ['error'], type: 'string' },
568
+ },
569
+ required: [
570
+ 'action_attempt_id',
571
+ 'status',
572
+ 'result',
573
+ 'action_type',
574
+ 'error',
575
+ ],
576
+ type: 'object',
577
+ },
578
+ {
579
+ description: 'Unlocking door.',
580
+ properties: {
581
+ action_attempt_id: {
582
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
583
+ format: 'uuid',
584
+ type: 'string',
585
+ },
586
+ action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
587
+ error: { format: 'null', nullable: true, type: 'string' },
588
+ result: { format: 'null', nullable: true, type: 'string' },
589
+ status: { enum: ['pending'], type: 'string' },
590
+ },
591
+ required: [
592
+ 'action_attempt_id',
593
+ 'status',
594
+ 'result',
595
+ 'error',
596
+ 'action_type',
597
+ ],
598
+ type: 'object',
599
+ },
600
+ {
601
+ description: 'Unlocking door succeeded.',
602
+ properties: {
603
+ action_attempt_id: {
604
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
605
+ format: 'uuid',
606
+ type: 'string',
607
+ },
608
+ action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
609
+ error: { format: 'null', nullable: true, type: 'string' },
610
+ result: { properties: {}, type: 'object' },
611
+ status: { enum: ['success'], type: 'string' },
612
+ },
613
+ required: [
614
+ 'action_attempt_id',
615
+ 'status',
616
+ 'error',
617
+ 'action_type',
618
+ 'result',
619
+ ],
620
+ type: 'object',
621
+ },
622
+ {
623
+ description: 'Unlocking door failed.',
624
+ properties: {
625
+ action_attempt_id: {
626
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
627
+ format: 'uuid',
628
+ type: 'string',
629
+ },
630
+ action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
631
+ error: {
632
+ properties: {
633
+ message: { type: 'string' },
634
+ type: { type: 'string' },
635
+ },
636
+ required: ['type', 'message'],
637
+ type: 'object',
638
+ },
639
+ result: { format: 'null', nullable: true, type: 'string' },
640
+ status: { enum: ['error'], type: 'string' },
641
+ },
642
+ required: [
643
+ 'action_attempt_id',
644
+ 'status',
645
+ 'result',
646
+ 'action_type',
647
+ 'error',
648
+ ],
649
+ type: 'object',
650
+ },
651
+ {
652
+ description: 'Resetting sandbox workspace.',
653
+ properties: {
654
+ action_attempt_id: {
655
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
656
+ format: 'uuid',
657
+ type: 'string',
658
+ },
659
+ action_type: {
660
+ enum: ['RESET_SANDBOX_WORKSPACE'],
661
+ type: 'string',
662
+ },
663
+ error: { format: 'null', nullable: true, type: 'string' },
664
+ result: { format: 'null', nullable: true, type: 'string' },
665
+ status: { enum: ['pending'], type: 'string' },
666
+ },
667
+ required: [
668
+ 'action_attempt_id',
669
+ 'status',
670
+ 'result',
671
+ 'error',
672
+ 'action_type',
673
+ ],
674
+ type: 'object',
675
+ },
676
+ {
677
+ description: 'Resetting sandbox workspace succeeded.',
678
+ properties: {
679
+ action_attempt_id: {
680
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
681
+ format: 'uuid',
682
+ type: 'string',
683
+ },
684
+ action_type: {
685
+ enum: ['RESET_SANDBOX_WORKSPACE'],
686
+ type: 'string',
687
+ },
688
+ error: { format: 'null', nullable: true, type: 'string' },
689
+ result: { properties: {}, type: 'object' },
690
+ status: { enum: ['success'], type: 'string' },
691
+ },
692
+ required: [
693
+ 'action_attempt_id',
694
+ 'status',
695
+ 'error',
696
+ 'action_type',
697
+ 'result',
698
+ ],
699
+ type: 'object',
700
+ },
701
+ {
702
+ description: 'Resetting sandbox workspace failed.',
703
+ properties: {
704
+ action_attempt_id: {
705
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
706
+ format: 'uuid',
707
+ type: 'string',
708
+ },
709
+ action_type: {
710
+ enum: ['RESET_SANDBOX_WORKSPACE'],
711
+ type: 'string',
712
+ },
713
+ error: {
714
+ properties: {
715
+ message: { type: 'string' },
716
+ type: { type: 'string' },
717
+ },
718
+ required: ['type', 'message'],
719
+ type: 'object',
720
+ },
721
+ result: { format: 'null', nullable: true, type: 'string' },
722
+ status: { enum: ['error'], type: 'string' },
723
+ },
724
+ required: [
725
+ 'action_attempt_id',
726
+ 'status',
727
+ 'result',
728
+ 'action_type',
729
+ 'error',
730
+ ],
731
+ type: 'object',
732
+ },
733
+ {
734
+ description: 'Setting HVAC to cool.',
735
+ properties: {
736
+ action_attempt_id: {
737
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
738
+ format: 'uuid',
739
+ type: 'string',
740
+ },
741
+ action_type: { enum: ['SET_COOL'], type: 'string' },
742
+ error: { format: 'null', nullable: true, type: 'string' },
743
+ result: { format: 'null', nullable: true, type: 'string' },
744
+ status: { enum: ['pending'], type: 'string' },
745
+ },
746
+ required: [
747
+ 'action_attempt_id',
748
+ 'status',
749
+ 'result',
750
+ 'error',
751
+ 'action_type',
752
+ ],
753
+ type: 'object',
754
+ },
755
+ {
756
+ description: 'Setting HVAC to cool succeeded.',
757
+ properties: {
758
+ action_attempt_id: {
759
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
760
+ format: 'uuid',
761
+ type: 'string',
762
+ },
763
+ action_type: { enum: ['SET_COOL'], type: 'string' },
764
+ error: { format: 'null', nullable: true, type: 'string' },
765
+ result: { properties: {}, type: 'object' },
766
+ status: { enum: ['success'], type: 'string' },
767
+ },
768
+ required: [
769
+ 'action_attempt_id',
770
+ 'status',
771
+ 'error',
772
+ 'action_type',
773
+ 'result',
774
+ ],
775
+ type: 'object',
776
+ },
777
+ {
778
+ description: 'Setting HVAC to cool failed.',
779
+ properties: {
780
+ action_attempt_id: {
781
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
782
+ format: 'uuid',
783
+ type: 'string',
784
+ },
785
+ action_type: { enum: ['SET_COOL'], type: 'string' },
786
+ error: {
787
+ properties: {
788
+ message: { type: 'string' },
789
+ type: { type: 'string' },
790
+ },
791
+ required: ['type', 'message'],
792
+ type: 'object',
793
+ },
794
+ result: { format: 'null', nullable: true, type: 'string' },
795
+ status: { enum: ['error'], type: 'string' },
796
+ },
797
+ required: [
798
+ 'action_attempt_id',
799
+ 'status',
800
+ 'result',
801
+ 'action_type',
802
+ 'error',
803
+ ],
804
+ type: 'object',
805
+ },
806
+ {
807
+ description: 'Setting HVAC to heat mode.',
808
+ properties: {
809
+ action_attempt_id: {
810
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
811
+ format: 'uuid',
812
+ type: 'string',
813
+ },
814
+ action_type: { enum: ['SET_HEAT'], type: 'string' },
815
+ error: { format: 'null', nullable: true, type: 'string' },
816
+ result: { format: 'null', nullable: true, type: 'string' },
817
+ status: { enum: ['pending'], type: 'string' },
818
+ },
819
+ required: [
820
+ 'action_attempt_id',
821
+ 'status',
822
+ 'result',
823
+ 'error',
824
+ 'action_type',
825
+ ],
826
+ type: 'object',
827
+ },
828
+ {
829
+ description: 'Setting HVAC to heat mode succeeded.',
830
+ properties: {
831
+ action_attempt_id: {
832
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
833
+ format: 'uuid',
834
+ type: 'string',
835
+ },
836
+ action_type: { enum: ['SET_HEAT'], type: 'string' },
837
+ error: { format: 'null', nullable: true, type: 'string' },
838
+ result: { properties: {}, type: 'object' },
839
+ status: { enum: ['success'], type: 'string' },
840
+ },
841
+ required: [
842
+ 'action_attempt_id',
843
+ 'status',
844
+ 'error',
845
+ 'action_type',
846
+ 'result',
847
+ ],
848
+ type: 'object',
849
+ },
850
+ {
851
+ description: 'Setting HVAC to heat mode failed.',
852
+ properties: {
853
+ action_attempt_id: {
854
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
855
+ format: 'uuid',
856
+ type: 'string',
857
+ },
858
+ action_type: { enum: ['SET_HEAT'], type: 'string' },
859
+ error: {
860
+ properties: {
861
+ message: { type: 'string' },
862
+ type: { type: 'string' },
863
+ },
864
+ required: ['type', 'message'],
865
+ type: 'object',
866
+ },
867
+ result: { format: 'null', nullable: true, type: 'string' },
868
+ status: { enum: ['error'], type: 'string' },
869
+ },
870
+ required: [
871
+ 'action_attempt_id',
872
+ 'status',
873
+ 'result',
874
+ 'action_type',
875
+ 'error',
876
+ ],
877
+ type: 'object',
878
+ },
879
+ {
880
+ description: 'Setting HVAC to heat-cool mode.',
881
+ properties: {
882
+ action_attempt_id: {
883
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
884
+ format: 'uuid',
885
+ type: 'string',
886
+ },
887
+ action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
888
+ error: { format: 'null', nullable: true, type: 'string' },
889
+ result: { format: 'null', nullable: true, type: 'string' },
890
+ status: { enum: ['pending'], type: 'string' },
891
+ },
892
+ required: [
893
+ 'action_attempt_id',
894
+ 'status',
895
+ 'result',
896
+ 'error',
897
+ 'action_type',
898
+ ],
899
+ type: 'object',
900
+ },
901
+ {
902
+ description: 'Setting HVAC to heat-cool mode succeeded.',
903
+ properties: {
904
+ action_attempt_id: {
905
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
906
+ format: 'uuid',
907
+ type: 'string',
908
+ },
909
+ action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
910
+ error: { format: 'null', nullable: true, type: 'string' },
911
+ result: { properties: {}, type: 'object' },
912
+ status: { enum: ['success'], type: 'string' },
913
+ },
914
+ required: [
915
+ 'action_attempt_id',
916
+ 'status',
917
+ 'error',
918
+ 'action_type',
919
+ 'result',
920
+ ],
921
+ type: 'object',
922
+ },
923
+ {
924
+ description: 'Setting heat-cool mode failed.',
925
+ properties: {
926
+ action_attempt_id: {
927
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
928
+ format: 'uuid',
929
+ type: 'string',
930
+ },
931
+ action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
932
+ error: {
933
+ properties: {
934
+ message: { type: 'string' },
935
+ type: { type: 'string' },
936
+ },
937
+ required: ['type', 'message'],
938
+ type: 'object',
939
+ },
940
+ result: { format: 'null', nullable: true, type: 'string' },
941
+ status: { enum: ['error'], type: 'string' },
942
+ },
943
+ required: [
944
+ 'action_attempt_id',
945
+ 'status',
946
+ 'result',
947
+ 'action_type',
948
+ 'error',
949
+ ],
950
+ type: 'object',
951
+ },
952
+ {
953
+ description: 'Setting fan mode.',
954
+ properties: {
955
+ action_attempt_id: {
956
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
957
+ format: 'uuid',
958
+ type: 'string',
959
+ },
960
+ action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
961
+ error: { format: 'null', nullable: true, type: 'string' },
962
+ result: { format: 'null', nullable: true, type: 'string' },
963
+ status: { enum: ['pending'], type: 'string' },
964
+ },
965
+ required: [
966
+ 'action_attempt_id',
967
+ 'status',
968
+ 'result',
969
+ 'error',
970
+ 'action_type',
971
+ ],
972
+ type: 'object',
973
+ },
974
+ {
975
+ description: 'Setting fan mode succeeded.',
976
+ properties: {
977
+ action_attempt_id: {
978
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
979
+ format: 'uuid',
980
+ type: 'string',
981
+ },
982
+ action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
983
+ error: { format: 'null', nullable: true, type: 'string' },
984
+ result: { properties: {}, type: 'object' },
985
+ status: { enum: ['success'], type: 'string' },
986
+ },
987
+ required: [
988
+ 'action_attempt_id',
989
+ 'status',
990
+ 'error',
991
+ 'action_type',
992
+ 'result',
993
+ ],
994
+ type: 'object',
995
+ },
996
+ {
997
+ description: 'Setting fan mode failed.',
998
+ properties: {
999
+ action_attempt_id: {
1000
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1001
+ format: 'uuid',
1002
+ type: 'string',
1003
+ },
1004
+ action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
1005
+ error: {
1006
+ properties: {
1007
+ message: { type: 'string' },
1008
+ type: { type: 'string' },
1009
+ },
1010
+ required: ['type', 'message'],
1011
+ type: 'object',
1012
+ },
1013
+ result: { format: 'null', nullable: true, type: 'string' },
1014
+ status: { enum: ['error'], type: 'string' },
1015
+ },
1016
+ required: [
1017
+ 'action_attempt_id',
1018
+ 'status',
1019
+ 'result',
1020
+ 'action_type',
1021
+ 'error',
1022
+ ],
1023
+ type: 'object',
1024
+ },
1025
+ {
1026
+ description: 'Turning HVAC off.',
1027
+ properties: {
1028
+ action_attempt_id: {
1029
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1030
+ format: 'uuid',
1031
+ type: 'string',
1032
+ },
1033
+ action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
1034
+ error: { format: 'null', nullable: true, type: 'string' },
1035
+ result: { format: 'null', nullable: true, type: 'string' },
1036
+ status: { enum: ['pending'], type: 'string' },
1037
+ },
1038
+ required: [
1039
+ 'action_attempt_id',
1040
+ 'status',
1041
+ 'result',
1042
+ 'error',
1043
+ 'action_type',
1044
+ ],
1045
+ type: 'object',
1046
+ },
1047
+ {
1048
+ description: 'Turning HVAC off succeeded.',
1049
+ properties: {
1050
+ action_attempt_id: {
1051
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1052
+ format: 'uuid',
1053
+ type: 'string',
1054
+ },
1055
+ action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
1056
+ error: { format: 'null', nullable: true, type: 'string' },
1057
+ result: { properties: {}, type: 'object' },
1058
+ status: { enum: ['success'], type: 'string' },
1059
+ },
1060
+ required: [
1061
+ 'action_attempt_id',
1062
+ 'status',
1063
+ 'error',
1064
+ 'action_type',
1065
+ 'result',
1066
+ ],
1067
+ type: 'object',
1068
+ },
1069
+ {
1070
+ description: 'Turning HVAC off failed.',
1071
+ properties: {
1072
+ action_attempt_id: {
1073
+ description: '\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: {
1079
+ properties: {
1080
+ message: { type: 'string' },
1081
+ type: { type: 'string' },
1082
+ },
1083
+ required: ['type', 'message'],
1084
+ type: 'object',
1085
+ },
1086
+ result: { format: 'null', nullable: true, type: 'string' },
1087
+ status: { enum: ['error'], type: 'string' },
1088
+ },
1089
+ required: [
1090
+ 'action_attempt_id',
1091
+ 'status',
1092
+ 'result',
1093
+ 'action_type',
1094
+ 'error',
1095
+ ],
1096
+ type: 'object',
1097
+ },
1098
+ {
1099
+ properties: {
1100
+ action_attempt_id: {
1101
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1102
+ format: 'uuid',
1103
+ type: 'string',
1104
+ },
1105
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1106
+ error: { format: 'null', nullable: true, type: 'string' },
1107
+ result: { format: 'null', nullable: true, type: 'string' },
1108
+ status: { enum: ['pending'], type: 'string' },
1109
+ },
1110
+ required: [
1111
+ 'action_attempt_id',
1112
+ 'status',
1113
+ 'result',
1114
+ 'error',
1115
+ 'action_type',
1116
+ ],
1117
+ type: 'object',
1118
+ },
1119
+ {
1120
+ properties: {
1121
+ action_attempt_id: {
1122
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1123
+ format: 'uuid',
1124
+ type: 'string',
1125
+ },
1126
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1127
+ error: { format: 'null', nullable: true, type: 'string' },
1128
+ result: { nullable: true },
1129
+ status: { enum: ['success'], type: 'string' },
1130
+ },
1131
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1132
+ type: 'object',
1133
+ },
1134
+ {
1135
+ properties: {
1136
+ action_attempt_id: {
1137
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1138
+ format: 'uuid',
1139
+ type: 'string',
1140
+ },
1141
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1142
+ error: {
1143
+ properties: {
1144
+ message: { type: 'string' },
1145
+ type: { type: 'string' },
1146
+ },
1147
+ required: ['type', 'message'],
1148
+ type: 'object',
1149
+ },
1150
+ result: { format: 'null', nullable: true, type: 'string' },
1151
+ status: { enum: ['error'], type: 'string' },
1152
+ },
1153
+ required: [
1154
+ 'action_attempt_id',
1155
+ 'status',
1156
+ 'result',
1157
+ 'action_type',
1158
+ 'error',
1159
+ ],
1160
+ type: 'object',
1161
+ },
1162
+ {
1163
+ properties: {
1164
+ action_attempt_id: {
1165
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1166
+ format: 'uuid',
1167
+ type: 'string',
1168
+ },
1169
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1170
+ error: { format: 'null', nullable: true, type: 'string' },
1171
+ result: { format: 'null', nullable: true, type: 'string' },
1172
+ status: { enum: ['pending'], type: 'string' },
1173
+ },
1174
+ required: [
1175
+ 'action_attempt_id',
1176
+ 'status',
1177
+ 'result',
1178
+ 'error',
1179
+ 'action_type',
1180
+ ],
1181
+ type: 'object',
1182
+ },
1183
+ {
1184
+ properties: {
1185
+ action_attempt_id: {
1186
+ description: '\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: ['CREATE_ACCESS_CODE'], type: 'string' },
1191
+ error: { format: 'null', nullable: true, type: 'string' },
1192
+ result: { nullable: true },
1193
+ status: { enum: ['success'], type: 'string' },
1194
+ },
1195
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1196
+ type: 'object',
1197
+ },
1198
+ {
1199
+ properties: {
1200
+ action_attempt_id: {
1201
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1202
+ format: 'uuid',
1203
+ type: 'string',
1204
+ },
1205
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1206
+ error: {
1207
+ properties: {
1208
+ message: { type: 'string' },
1209
+ type: { type: 'string' },
1210
+ },
1211
+ required: ['type', 'message'],
1212
+ type: 'object',
1213
+ },
1214
+ result: { format: 'null', nullable: true, type: 'string' },
1215
+ status: { enum: ['error'], type: 'string' },
1216
+ },
1217
+ required: [
1218
+ 'action_attempt_id',
1219
+ 'status',
1220
+ 'result',
1221
+ 'action_type',
1222
+ 'error',
1223
+ ],
1224
+ type: 'object',
1225
+ },
1226
+ {
1227
+ properties: {
1228
+ action_attempt_id: {
1229
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1230
+ format: 'uuid',
1231
+ type: 'string',
1232
+ },
1233
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1234
+ error: { format: 'null', nullable: true, type: 'string' },
1235
+ result: { format: 'null', nullable: true, type: 'string' },
1236
+ status: { enum: ['pending'], type: 'string' },
1237
+ },
1238
+ required: [
1239
+ 'action_attempt_id',
1240
+ 'status',
1241
+ 'result',
1242
+ 'error',
1243
+ 'action_type',
1244
+ ],
1245
+ type: 'object',
1246
+ },
1247
+ {
1248
+ properties: {
1249
+ action_attempt_id: {
1250
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1251
+ format: 'uuid',
1252
+ type: 'string',
1253
+ },
1254
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1255
+ error: { format: 'null', nullable: true, type: 'string' },
1256
+ result: { nullable: true },
1257
+ status: { enum: ['success'], type: 'string' },
1258
+ },
1259
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1260
+ type: 'object',
1261
+ },
1262
+ {
1263
+ properties: {
1264
+ action_attempt_id: {
1265
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1266
+ format: 'uuid',
1267
+ type: 'string',
1268
+ },
1269
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1270
+ error: {
1271
+ properties: {
1272
+ message: { type: 'string' },
1273
+ type: { type: 'string' },
1274
+ },
1275
+ required: ['type', 'message'],
1276
+ type: 'object',
1277
+ },
1278
+ result: { format: 'null', nullable: true, type: 'string' },
1279
+ status: { enum: ['error'], type: 'string' },
1280
+ },
1281
+ required: [
1282
+ 'action_attempt_id',
1283
+ 'status',
1284
+ 'result',
1285
+ 'action_type',
1286
+ 'error',
1287
+ ],
1288
+ type: 'object',
1289
+ },
1290
+ {
1291
+ properties: {
1292
+ action_attempt_id: {
1293
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1294
+ format: 'uuid',
1295
+ type: 'string',
1296
+ },
1297
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1298
+ error: { format: 'null', nullable: true, type: 'string' },
1299
+ result: { format: 'null', nullable: true, type: 'string' },
1300
+ status: { enum: ['pending'], type: 'string' },
1301
+ },
1302
+ required: [
1303
+ 'action_attempt_id',
1304
+ 'status',
1305
+ 'result',
1306
+ 'error',
1307
+ 'action_type',
1308
+ ],
1309
+ type: 'object',
1310
+ },
1311
+ {
1312
+ properties: {
1313
+ action_attempt_id: {
1314
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1315
+ format: 'uuid',
1316
+ type: 'string',
1317
+ },
1318
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
510
1319
  error: { format: 'null', nullable: true, type: 'string' },
511
1320
  result: { nullable: true },
512
1321
  status: { enum: ['success'], type: 'string' },
513
1322
  },
514
- required: ['status', 'action_type', 'action_attempt_id', 'error'],
1323
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1324
+ type: 'object',
1325
+ },
1326
+ {
1327
+ properties: {
1328
+ action_attempt_id: {
1329
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1330
+ format: 'uuid',
1331
+ type: 'string',
1332
+ },
1333
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1334
+ error: {
1335
+ properties: {
1336
+ message: { type: 'string' },
1337
+ type: { type: 'string' },
1338
+ },
1339
+ required: ['type', 'message'],
1340
+ type: 'object',
1341
+ },
1342
+ result: { format: 'null', nullable: true, type: 'string' },
1343
+ status: { enum: ['error'], type: 'string' },
1344
+ },
1345
+ required: [
1346
+ 'action_attempt_id',
1347
+ 'status',
1348
+ 'result',
1349
+ 'action_type',
1350
+ 'error',
1351
+ ],
515
1352
  type: 'object',
516
1353
  },
517
1354
  {
518
1355
  properties: {
519
- action_attempt_id: { format: 'uuid', type: 'string' },
520
- action_type: { type: 'string' },
1356
+ action_attempt_id: {
1357
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1358
+ format: 'uuid',
1359
+ type: 'string',
1360
+ },
1361
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
521
1362
  error: { format: 'null', nullable: true, type: 'string' },
522
1363
  result: { format: 'null', nullable: true, type: 'string' },
523
1364
  status: { enum: ['pending'], type: 'string' },
524
1365
  },
525
1366
  required: [
1367
+ 'action_attempt_id',
1368
+ 'status',
1369
+ 'result',
1370
+ 'error',
1371
+ 'action_type',
1372
+ ],
1373
+ type: 'object',
1374
+ },
1375
+ {
1376
+ properties: {
1377
+ action_attempt_id: {
1378
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1379
+ format: 'uuid',
1380
+ type: 'string',
1381
+ },
1382
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1383
+ error: { format: 'null', nullable: true, type: 'string' },
1384
+ result: { nullable: true },
1385
+ status: { enum: ['success'], type: 'string' },
1386
+ },
1387
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1388
+ type: 'object',
1389
+ },
1390
+ {
1391
+ properties: {
1392
+ action_attempt_id: {
1393
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1394
+ format: 'uuid',
1395
+ type: 'string',
1396
+ },
1397
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1398
+ error: {
1399
+ properties: {
1400
+ message: { type: 'string' },
1401
+ type: { type: 'string' },
1402
+ },
1403
+ required: ['type', 'message'],
1404
+ type: 'object',
1405
+ },
1406
+ result: { format: 'null', nullable: true, type: 'string' },
1407
+ status: { enum: ['error'], type: 'string' },
1408
+ },
1409
+ required: [
1410
+ 'action_attempt_id',
526
1411
  'status',
1412
+ 'result',
527
1413
  'action_type',
1414
+ 'error',
1415
+ ],
1416
+ type: 'object',
1417
+ },
1418
+ {
1419
+ properties: {
1420
+ action_attempt_id: {
1421
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1422
+ format: 'uuid',
1423
+ type: 'string',
1424
+ },
1425
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1426
+ error: { format: 'null', nullable: true, type: 'string' },
1427
+ result: { format: 'null', nullable: true, type: 'string' },
1428
+ status: { enum: ['pending'], type: 'string' },
1429
+ },
1430
+ required: [
528
1431
  'action_attempt_id',
1432
+ 'status',
529
1433
  'result',
530
1434
  'error',
1435
+ 'action_type',
531
1436
  ],
532
1437
  type: 'object',
533
1438
  },
534
1439
  {
535
1440
  properties: {
536
- action_attempt_id: { format: 'uuid', type: 'string' },
537
- action_type: { type: 'string' },
1441
+ action_attempt_id: {
1442
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1443
+ format: 'uuid',
1444
+ type: 'string',
1445
+ },
1446
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1447
+ error: { format: 'null', nullable: true, type: 'string' },
1448
+ result: { nullable: true },
1449
+ status: { enum: ['success'], type: 'string' },
1450
+ },
1451
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1452
+ type: 'object',
1453
+ },
1454
+ {
1455
+ properties: {
1456
+ action_attempt_id: {
1457
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1458
+ format: 'uuid',
1459
+ type: 'string',
1460
+ },
1461
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
538
1462
  error: {
539
1463
  properties: {
540
1464
  message: { type: 'string' },
@@ -547,10 +1471,74 @@ export default {
547
1471
  status: { enum: ['error'], type: 'string' },
548
1472
  },
549
1473
  required: [
1474
+ 'action_attempt_id',
1475
+ 'status',
1476
+ 'result',
1477
+ 'action_type',
1478
+ 'error',
1479
+ ],
1480
+ type: 'object',
1481
+ },
1482
+ {
1483
+ properties: {
1484
+ action_attempt_id: {
1485
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1486
+ format: 'uuid',
1487
+ type: 'string',
1488
+ },
1489
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1490
+ error: { format: 'null', nullable: true, type: 'string' },
1491
+ result: { format: 'null', nullable: true, type: 'string' },
1492
+ status: { enum: ['pending'], type: 'string' },
1493
+ },
1494
+ required: [
1495
+ 'action_attempt_id',
550
1496
  'status',
1497
+ 'result',
1498
+ 'error',
551
1499
  'action_type',
1500
+ ],
1501
+ type: 'object',
1502
+ },
1503
+ {
1504
+ properties: {
1505
+ action_attempt_id: {
1506
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1507
+ format: 'uuid',
1508
+ type: 'string',
1509
+ },
1510
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1511
+ error: { format: 'null', nullable: true, type: 'string' },
1512
+ result: { nullable: true },
1513
+ status: { enum: ['success'], type: 'string' },
1514
+ },
1515
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1516
+ type: 'object',
1517
+ },
1518
+ {
1519
+ properties: {
1520
+ action_attempt_id: {
1521
+ description: '\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: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1526
+ error: {
1527
+ properties: {
1528
+ message: { type: 'string' },
1529
+ type: { type: 'string' },
1530
+ },
1531
+ required: ['type', 'message'],
1532
+ type: 'object',
1533
+ },
1534
+ result: { format: 'null', nullable: true, type: 'string' },
1535
+ status: { enum: ['error'], type: 'string' },
1536
+ },
1537
+ required: [
552
1538
  'action_attempt_id',
1539
+ 'status',
553
1540
  'result',
1541
+ 'action_type',
554
1542
  'error',
555
1543
  ],
556
1544
  type: 'object',
@@ -946,7 +1934,7 @@ export default {
946
1934
  model: {
947
1935
  properties: {
948
1936
  accessory_keypad_supported: {
949
- description: 'Indicates whether the device supports an accessory keypad.',
1937
+ description: '\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
950
1938
  type: 'boolean',
951
1939
  },
952
1940
  can_connect_accessory_keypad: {
@@ -1005,7 +1993,7 @@ export default {
1005
1993
  type: 'string',
1006
1994
  },
1007
1995
  supports_accessory_keypad: {
1008
- description: '\n ---\n deprecated: use model.accessory_keypad_supported\n ---\n ',
1996
+ description: '\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
1009
1997
  type: 'boolean',
1010
1998
  },
1011
1999
  supports_offline_access_codes: {
@@ -2488,7 +3476,7 @@ export default {
2488
3476
  model: {
2489
3477
  properties: {
2490
3478
  accessory_keypad_supported: {
2491
- description: 'Indicates whether the device supports an accessory keypad.',
3479
+ description: '\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
2492
3480
  type: 'boolean',
2493
3481
  },
2494
3482
  can_connect_accessory_keypad: {