@seamapi/types 1.384.0 → 1.385.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 (30) hide show
  1. package/dist/connect.cjs +456 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1668 -208
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -5
  5. package/lib/seam/connect/models/access-grants/access-grant.js +3 -0
  6. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  7. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
  8. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  9. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +156 -0
  11. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
  12. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  13. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +80 -0
  14. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js +28 -0
  15. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js.map +1 -0
  16. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +80 -0
  17. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js +28 -0
  18. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js.map +1 -0
  19. package/lib/seam/connect/openapi.d.ts +266 -175
  20. package/lib/seam/connect/openapi.js +408 -132
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +1246 -33
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -0
  25. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +4 -2
  26. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
  27. package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +39 -0
  28. package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +37 -0
  29. package/src/lib/seam/connect/openapi.ts +426 -136
  30. package/src/lib/seam/connect/route-types.ts +1372 -33
@@ -785,6 +785,62 @@ export interface Routes {
785
785
  type: string;
786
786
  message: string;
787
787
  };
788
+ } | {
789
+ /** ID of the action attempt. */
790
+ action_attempt_id: string;
791
+ status: 'pending';
792
+ /** Result of the action attempt. Null for pending action attempts. */
793
+ result: null;
794
+ /** Errors associated with the action attempt. Null for pending action attempts. */
795
+ error: null;
796
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
797
+ } | {
798
+ /** ID of the action attempt. */
799
+ action_attempt_id: string;
800
+ status: 'success';
801
+ /** Errors associated with the action attempt. Null for successful action attempts. */
802
+ error: null;
803
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
804
+ result: {};
805
+ } | {
806
+ /** ID of the action attempt. */
807
+ action_attempt_id: string;
808
+ status: 'error';
809
+ /** Result of the action attempt. Null for failed action attempts. */
810
+ result: null;
811
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
812
+ error: {
813
+ type: string;
814
+ message: string;
815
+ };
816
+ } | {
817
+ /** ID of the action attempt. */
818
+ action_attempt_id: string;
819
+ status: 'pending';
820
+ /** Result of the action attempt. Null for pending action attempts. */
821
+ result: null;
822
+ /** Errors associated with the action attempt. Null for pending action attempts. */
823
+ error: null;
824
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
825
+ } | {
826
+ /** ID of the action attempt. */
827
+ action_attempt_id: string;
828
+ status: 'success';
829
+ /** Errors associated with the action attempt. Null for successful action attempts. */
830
+ error: null;
831
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
832
+ result: {};
833
+ } | {
834
+ /** ID of the action attempt. */
835
+ action_attempt_id: string;
836
+ status: 'error';
837
+ /** Result of the action attempt. Null for failed action attempts. */
838
+ result: null;
839
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
840
+ error: {
841
+ type: string;
842
+ message: string;
843
+ };
788
844
  } | {
789
845
  /** ID of the action attempt. */
790
846
  action_attempt_id: string;
@@ -2680,6 +2736,62 @@ export interface Routes {
2680
2736
  type: string;
2681
2737
  message: string;
2682
2738
  };
2739
+ } | {
2740
+ /** ID of the action attempt. */
2741
+ action_attempt_id: string;
2742
+ status: 'pending';
2743
+ /** Result of the action attempt. Null for pending action attempts. */
2744
+ result: null;
2745
+ /** Errors associated with the action attempt. Null for pending action attempts. */
2746
+ error: null;
2747
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
2748
+ } | {
2749
+ /** ID of the action attempt. */
2750
+ action_attempt_id: string;
2751
+ status: 'success';
2752
+ /** Errors associated with the action attempt. Null for successful action attempts. */
2753
+ error: null;
2754
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
2755
+ result: {};
2756
+ } | {
2757
+ /** ID of the action attempt. */
2758
+ action_attempt_id: string;
2759
+ status: 'error';
2760
+ /** Result of the action attempt. Null for failed action attempts. */
2761
+ result: null;
2762
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
2763
+ error: {
2764
+ type: string;
2765
+ message: string;
2766
+ };
2767
+ } | {
2768
+ /** ID of the action attempt. */
2769
+ action_attempt_id: string;
2770
+ status: 'pending';
2771
+ /** Result of the action attempt. Null for pending action attempts. */
2772
+ result: null;
2773
+ /** Errors associated with the action attempt. Null for pending action attempts. */
2774
+ error: null;
2775
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
2776
+ } | {
2777
+ /** ID of the action attempt. */
2778
+ action_attempt_id: string;
2779
+ status: 'success';
2780
+ /** Errors associated with the action attempt. Null for successful action attempts. */
2781
+ error: null;
2782
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
2783
+ result: {};
2784
+ } | {
2785
+ /** ID of the action attempt. */
2786
+ action_attempt_id: string;
2787
+ status: 'error';
2788
+ /** Result of the action attempt. Null for failed action attempts. */
2789
+ result: null;
2790
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
2791
+ error: {
2792
+ type: string;
2793
+ message: string;
2794
+ };
2683
2795
  } | {
2684
2796
  /** ID of the action attempt. */
2685
2797
  action_attempt_id: string;
@@ -5955,6 +6067,62 @@ export interface Routes {
5955
6067
  type: string;
5956
6068
  message: string;
5957
6069
  };
6070
+ } | {
6071
+ /** ID of the action attempt. */
6072
+ action_attempt_id: string;
6073
+ status: 'pending';
6074
+ /** Result of the action attempt. Null for pending action attempts. */
6075
+ result: null;
6076
+ /** Errors associated with the action attempt. Null for pending action attempts. */
6077
+ error: null;
6078
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
6079
+ } | {
6080
+ /** ID of the action attempt. */
6081
+ action_attempt_id: string;
6082
+ status: 'success';
6083
+ /** Errors associated with the action attempt. Null for successful action attempts. */
6084
+ error: null;
6085
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
6086
+ result: {};
6087
+ } | {
6088
+ /** ID of the action attempt. */
6089
+ action_attempt_id: string;
6090
+ status: 'error';
6091
+ /** Result of the action attempt. Null for failed action attempts. */
6092
+ result: null;
6093
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
6094
+ error: {
6095
+ type: string;
6096
+ message: string;
6097
+ };
6098
+ } | {
6099
+ /** ID of the action attempt. */
6100
+ action_attempt_id: string;
6101
+ status: 'pending';
6102
+ /** Result of the action attempt. Null for pending action attempts. */
6103
+ result: null;
6104
+ /** Errors associated with the action attempt. Null for pending action attempts. */
6105
+ error: null;
6106
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
6107
+ } | {
6108
+ /** ID of the action attempt. */
6109
+ action_attempt_id: string;
6110
+ status: 'success';
6111
+ /** Errors associated with the action attempt. Null for successful action attempts. */
6112
+ error: null;
6113
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
6114
+ result: {};
6115
+ } | {
6116
+ /** ID of the action attempt. */
6117
+ action_attempt_id: string;
6118
+ status: 'error';
6119
+ /** Result of the action attempt. Null for failed action attempts. */
6120
+ result: null;
6121
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
6122
+ error: {
6123
+ type: string;
6124
+ message: string;
6125
+ };
5958
6126
  } | {
5959
6127
  /** ID of the action attempt. */
5960
6128
  action_attempt_id: string;
@@ -7854,6 +8022,62 @@ export interface Routes {
7854
8022
  type: string;
7855
8023
  message: string;
7856
8024
  };
8025
+ } | {
8026
+ /** ID of the action attempt. */
8027
+ action_attempt_id: string;
8028
+ status: 'pending';
8029
+ /** Result of the action attempt. Null for pending action attempts. */
8030
+ result: null;
8031
+ /** Errors associated with the action attempt. Null for pending action attempts. */
8032
+ error: null;
8033
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
8034
+ } | {
8035
+ /** ID of the action attempt. */
8036
+ action_attempt_id: string;
8037
+ status: 'success';
8038
+ /** Errors associated with the action attempt. Null for successful action attempts. */
8039
+ error: null;
8040
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
8041
+ result: {};
8042
+ } | {
8043
+ /** ID of the action attempt. */
8044
+ action_attempt_id: string;
8045
+ status: 'error';
8046
+ /** Result of the action attempt. Null for failed action attempts. */
8047
+ result: null;
8048
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
8049
+ error: {
8050
+ type: string;
8051
+ message: string;
8052
+ };
8053
+ } | {
8054
+ /** ID of the action attempt. */
8055
+ action_attempt_id: string;
8056
+ status: 'pending';
8057
+ /** Result of the action attempt. Null for pending action attempts. */
8058
+ result: null;
8059
+ /** Errors associated with the action attempt. Null for pending action attempts. */
8060
+ error: null;
8061
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
8062
+ } | {
8063
+ /** ID of the action attempt. */
8064
+ action_attempt_id: string;
8065
+ status: 'success';
8066
+ /** Errors associated with the action attempt. Null for successful action attempts. */
8067
+ error: null;
8068
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
8069
+ result: {};
8070
+ } | {
8071
+ /** ID of the action attempt. */
8072
+ action_attempt_id: string;
8073
+ status: 'error';
8074
+ /** Result of the action attempt. Null for failed action attempts. */
8075
+ result: null;
8076
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
8077
+ error: {
8078
+ type: string;
8079
+ message: string;
8080
+ };
7857
8081
  } | {
7858
8082
  /** ID of the action attempt. */
7859
8083
  action_attempt_id: string;
@@ -10675,6 +10899,62 @@ export interface Routes {
10675
10899
  type: string;
10676
10900
  message: string;
10677
10901
  };
10902
+ } | {
10903
+ /** ID of the action attempt. */
10904
+ action_attempt_id: string;
10905
+ status: 'pending';
10906
+ /** Result of the action attempt. Null for pending action attempts. */
10907
+ result: null;
10908
+ /** Errors associated with the action attempt. Null for pending action attempts. */
10909
+ error: null;
10910
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
10911
+ } | {
10912
+ /** ID of the action attempt. */
10913
+ action_attempt_id: string;
10914
+ status: 'success';
10915
+ /** Errors associated with the action attempt. Null for successful action attempts. */
10916
+ error: null;
10917
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
10918
+ result: {};
10919
+ } | {
10920
+ /** ID of the action attempt. */
10921
+ action_attempt_id: string;
10922
+ status: 'error';
10923
+ /** Result of the action attempt. Null for failed action attempts. */
10924
+ result: null;
10925
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
10926
+ error: {
10927
+ type: string;
10928
+ message: string;
10929
+ };
10930
+ } | {
10931
+ /** ID of the action attempt. */
10932
+ action_attempt_id: string;
10933
+ status: 'pending';
10934
+ /** Result of the action attempt. Null for pending action attempts. */
10935
+ result: null;
10936
+ /** Errors associated with the action attempt. Null for pending action attempts. */
10937
+ error: null;
10938
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
10939
+ } | {
10940
+ /** ID of the action attempt. */
10941
+ action_attempt_id: string;
10942
+ status: 'success';
10943
+ /** Errors associated with the action attempt. Null for successful action attempts. */
10944
+ error: null;
10945
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
10946
+ result: {};
10947
+ } | {
10948
+ /** ID of the action attempt. */
10949
+ action_attempt_id: string;
10950
+ status: 'error';
10951
+ /** Result of the action attempt. Null for failed action attempts. */
10952
+ result: null;
10953
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
10954
+ error: {
10955
+ type: string;
10956
+ message: string;
10957
+ };
10678
10958
  } | {
10679
10959
  /** ID of the action attempt. */
10680
10960
  action_attempt_id: string;
@@ -11732,6 +12012,62 @@ export interface Routes {
11732
12012
  type: string;
11733
12013
  message: string;
11734
12014
  };
12015
+ } | {
12016
+ /** ID of the action attempt. */
12017
+ action_attempt_id: string;
12018
+ status: 'pending';
12019
+ /** Result of the action attempt. Null for pending action attempts. */
12020
+ result: null;
12021
+ /** Errors associated with the action attempt. Null for pending action attempts. */
12022
+ error: null;
12023
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
12024
+ } | {
12025
+ /** ID of the action attempt. */
12026
+ action_attempt_id: string;
12027
+ status: 'success';
12028
+ /** Errors associated with the action attempt. Null for successful action attempts. */
12029
+ error: null;
12030
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
12031
+ result: {};
12032
+ } | {
12033
+ /** ID of the action attempt. */
12034
+ action_attempt_id: string;
12035
+ status: 'error';
12036
+ /** Result of the action attempt. Null for failed action attempts. */
12037
+ result: null;
12038
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
12039
+ error: {
12040
+ type: string;
12041
+ message: string;
12042
+ };
12043
+ } | {
12044
+ /** ID of the action attempt. */
12045
+ action_attempt_id: string;
12046
+ status: 'pending';
12047
+ /** Result of the action attempt. Null for pending action attempts. */
12048
+ result: null;
12049
+ /** Errors associated with the action attempt. Null for pending action attempts. */
12050
+ error: null;
12051
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
12052
+ } | {
12053
+ /** ID of the action attempt. */
12054
+ action_attempt_id: string;
12055
+ status: 'success';
12056
+ /** Errors associated with the action attempt. Null for successful action attempts. */
12057
+ error: null;
12058
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
12059
+ result: {};
12060
+ } | {
12061
+ /** ID of the action attempt. */
12062
+ action_attempt_id: string;
12063
+ status: 'error';
12064
+ /** Result of the action attempt. Null for failed action attempts. */
12065
+ result: null;
12066
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
12067
+ error: {
12068
+ type: string;
12069
+ message: string;
12070
+ };
11735
12071
  } | {
11736
12072
  /** ID of the action attempt. */
11737
12073
  action_attempt_id: string;
@@ -14560,6 +14896,62 @@ export interface Routes {
14560
14896
  type: string;
14561
14897
  message: string;
14562
14898
  };
14899
+ } | {
14900
+ /** ID of the action attempt. */
14901
+ action_attempt_id: string;
14902
+ status: 'pending';
14903
+ /** Result of the action attempt. Null for pending action attempts. */
14904
+ result: null;
14905
+ /** Errors associated with the action attempt. Null for pending action attempts. */
14906
+ error: null;
14907
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
14908
+ } | {
14909
+ /** ID of the action attempt. */
14910
+ action_attempt_id: string;
14911
+ status: 'success';
14912
+ /** Errors associated with the action attempt. Null for successful action attempts. */
14913
+ error: null;
14914
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
14915
+ result: {};
14916
+ } | {
14917
+ /** ID of the action attempt. */
14918
+ action_attempt_id: string;
14919
+ status: 'error';
14920
+ /** Result of the action attempt. Null for failed action attempts. */
14921
+ result: null;
14922
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
14923
+ error: {
14924
+ type: string;
14925
+ message: string;
14926
+ };
14927
+ } | {
14928
+ /** ID of the action attempt. */
14929
+ action_attempt_id: string;
14930
+ status: 'pending';
14931
+ /** Result of the action attempt. Null for pending action attempts. */
14932
+ result: null;
14933
+ /** Errors associated with the action attempt. Null for pending action attempts. */
14934
+ error: null;
14935
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
14936
+ } | {
14937
+ /** ID of the action attempt. */
14938
+ action_attempt_id: string;
14939
+ status: 'success';
14940
+ /** Errors associated with the action attempt. Null for successful action attempts. */
14941
+ error: null;
14942
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
14943
+ result: {};
14944
+ } | {
14945
+ /** ID of the action attempt. */
14946
+ action_attempt_id: string;
14947
+ status: 'error';
14948
+ /** Result of the action attempt. Null for failed action attempts. */
14949
+ result: null;
14950
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
14951
+ error: {
14952
+ type: string;
14953
+ message: string;
14954
+ };
14563
14955
  } | {
14564
14956
  /** ID of the action attempt. */
14565
14957
  action_attempt_id: string;
@@ -15521,6 +15913,62 @@ export interface Routes {
15521
15913
  type: string;
15522
15914
  message: string;
15523
15915
  };
15916
+ } | {
15917
+ /** ID of the action attempt. */
15918
+ action_attempt_id: string;
15919
+ status: 'pending';
15920
+ /** Result of the action attempt. Null for pending action attempts. */
15921
+ result: null;
15922
+ /** Errors associated with the action attempt. Null for pending action attempts. */
15923
+ error: null;
15924
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
15925
+ } | {
15926
+ /** ID of the action attempt. */
15927
+ action_attempt_id: string;
15928
+ status: 'success';
15929
+ /** Errors associated with the action attempt. Null for successful action attempts. */
15930
+ error: null;
15931
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
15932
+ result: {};
15933
+ } | {
15934
+ /** ID of the action attempt. */
15935
+ action_attempt_id: string;
15936
+ status: 'error';
15937
+ /** Result of the action attempt. Null for failed action attempts. */
15938
+ result: null;
15939
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
15940
+ error: {
15941
+ type: string;
15942
+ message: string;
15943
+ };
15944
+ } | {
15945
+ /** ID of the action attempt. */
15946
+ action_attempt_id: string;
15947
+ status: 'pending';
15948
+ /** Result of the action attempt. Null for pending action attempts. */
15949
+ result: null;
15950
+ /** Errors associated with the action attempt. Null for pending action attempts. */
15951
+ error: null;
15952
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
15953
+ } | {
15954
+ /** ID of the action attempt. */
15955
+ action_attempt_id: string;
15956
+ status: 'success';
15957
+ /** Errors associated with the action attempt. Null for successful action attempts. */
15958
+ error: null;
15959
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
15960
+ result: {};
15961
+ } | {
15962
+ /** ID of the action attempt. */
15963
+ action_attempt_id: string;
15964
+ status: 'error';
15965
+ /** Result of the action attempt. Null for failed action attempts. */
15966
+ result: null;
15967
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
15968
+ error: {
15969
+ type: string;
15970
+ message: string;
15971
+ };
15524
15972
  } | {
15525
15973
  /** ID of the action attempt. */
15526
15974
  action_attempt_id: string;
@@ -17875,30 +18323,6 @@ export interface Routes {
17875
18323
  }>;
17876
18324
  };
17877
18325
  };
17878
- '/devices/simulate/access_code_lock': {
17879
- route: '/devices/simulate/access_code_lock';
17880
- method: 'POST';
17881
- queryParams: {};
17882
- jsonBody: {
17883
- device_id: string;
17884
- access_code_id: string;
17885
- };
17886
- commonParams: {};
17887
- formData: {};
17888
- jsonResponse: {};
17889
- };
17890
- '/devices/simulate/access_code_unlock': {
17891
- route: '/devices/simulate/access_code_unlock';
17892
- method: 'POST';
17893
- queryParams: {};
17894
- jsonBody: {
17895
- device_id: string;
17896
- access_code_id: string;
17897
- };
17898
- commonParams: {};
17899
- formData: {};
17900
- jsonResponse: {};
17901
- };
17902
18326
  '/devices/simulate/connect': {
17903
18327
  route: '/devices/simulate/connect';
17904
18328
  method: 'POST';
@@ -24722,6 +25146,62 @@ export interface Routes {
24722
25146
  type: string;
24723
25147
  message: string;
24724
25148
  };
25149
+ } | {
25150
+ /** ID of the action attempt. */
25151
+ action_attempt_id: string;
25152
+ status: 'pending';
25153
+ /** Result of the action attempt. Null for pending action attempts. */
25154
+ result: null;
25155
+ /** Errors associated with the action attempt. Null for pending action attempts. */
25156
+ error: null;
25157
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
25158
+ } | {
25159
+ /** ID of the action attempt. */
25160
+ action_attempt_id: string;
25161
+ status: 'success';
25162
+ /** Errors associated with the action attempt. Null for successful action attempts. */
25163
+ error: null;
25164
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
25165
+ result: {};
25166
+ } | {
25167
+ /** ID of the action attempt. */
25168
+ action_attempt_id: string;
25169
+ status: 'error';
25170
+ /** Result of the action attempt. Null for failed action attempts. */
25171
+ result: null;
25172
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
25173
+ error: {
25174
+ type: string;
25175
+ message: string;
25176
+ };
25177
+ } | {
25178
+ /** ID of the action attempt. */
25179
+ action_attempt_id: string;
25180
+ status: 'pending';
25181
+ /** Result of the action attempt. Null for pending action attempts. */
25182
+ result: null;
25183
+ /** Errors associated with the action attempt. Null for pending action attempts. */
25184
+ error: null;
25185
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
25186
+ } | {
25187
+ /** ID of the action attempt. */
25188
+ action_attempt_id: string;
25189
+ status: 'success';
25190
+ /** Errors associated with the action attempt. Null for successful action attempts. */
25191
+ error: null;
25192
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
25193
+ result: {};
25194
+ } | {
25195
+ /** ID of the action attempt. */
25196
+ action_attempt_id: string;
25197
+ status: 'error';
25198
+ /** Result of the action attempt. Null for failed action attempts. */
25199
+ result: null;
25200
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
25201
+ error: {
25202
+ type: string;
25203
+ message: string;
25204
+ };
24725
25205
  } | {
24726
25206
  /** ID of the action attempt. */
24727
25207
  action_attempt_id: string;
@@ -24929,6 +25409,33 @@ export interface Routes {
24929
25409
  };
24930
25410
  };
24931
25411
  };
25412
+ '/locks/simulate/keypad_code_entry': {
25413
+ route: '/locks/simulate/keypad_code_entry';
25414
+ method: 'POST';
25415
+ queryParams: {};
25416
+ jsonBody: {
25417
+ device_id: string;
25418
+ code: string;
25419
+ };
25420
+ commonParams: {};
25421
+ formData: {};
25422
+ jsonResponse: {
25423
+ action_attempt?: any;
25424
+ };
25425
+ };
25426
+ '/locks/simulate/manual_lock_via_keypad': {
25427
+ route: '/locks/simulate/manual_lock_via_keypad';
25428
+ method: 'POST';
25429
+ queryParams: {};
25430
+ jsonBody: {
25431
+ device_id: string;
25432
+ };
25433
+ commonParams: {};
25434
+ formData: {};
25435
+ jsonResponse: {
25436
+ action_attempt?: any;
25437
+ };
25438
+ };
24932
25439
  '/locks/unlock_door': {
24933
25440
  route: '/locks/unlock_door';
24934
25441
  method: 'POST';
@@ -25685,6 +26192,62 @@ export interface Routes {
25685
26192
  type: string;
25686
26193
  message: string;
25687
26194
  };
26195
+ } | {
26196
+ /** ID of the action attempt. */
26197
+ action_attempt_id: string;
26198
+ status: 'pending';
26199
+ /** Result of the action attempt. Null for pending action attempts. */
26200
+ result: null;
26201
+ /** Errors associated with the action attempt. Null for pending action attempts. */
26202
+ error: null;
26203
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
26204
+ } | {
26205
+ /** ID of the action attempt. */
26206
+ action_attempt_id: string;
26207
+ status: 'success';
26208
+ /** Errors associated with the action attempt. Null for successful action attempts. */
26209
+ error: null;
26210
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
26211
+ result: {};
26212
+ } | {
26213
+ /** ID of the action attempt. */
26214
+ action_attempt_id: string;
26215
+ status: 'error';
26216
+ /** Result of the action attempt. Null for failed action attempts. */
26217
+ result: null;
26218
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
26219
+ error: {
26220
+ type: string;
26221
+ message: string;
26222
+ };
26223
+ } | {
26224
+ /** ID of the action attempt. */
26225
+ action_attempt_id: string;
26226
+ status: 'pending';
26227
+ /** Result of the action attempt. Null for pending action attempts. */
26228
+ result: null;
26229
+ /** Errors associated with the action attempt. Null for pending action attempts. */
26230
+ error: null;
26231
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
26232
+ } | {
26233
+ /** ID of the action attempt. */
26234
+ action_attempt_id: string;
26235
+ status: 'success';
26236
+ /** Errors associated with the action attempt. Null for successful action attempts. */
26237
+ error: null;
26238
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
26239
+ result: {};
26240
+ } | {
26241
+ /** ID of the action attempt. */
26242
+ action_attempt_id: string;
26243
+ status: 'error';
26244
+ /** Result of the action attempt. Null for failed action attempts. */
26245
+ result: null;
26246
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
26247
+ error: {
26248
+ type: string;
26249
+ message: string;
26250
+ };
25688
26251
  } | {
25689
26252
  /** ID of the action attempt. */
25690
26253
  action_attempt_id: string;
@@ -28131,6 +28694,62 @@ export interface Routes {
28131
28694
  type: string;
28132
28695
  message: string;
28133
28696
  };
28697
+ } | {
28698
+ /** ID of the action attempt. */
28699
+ action_attempt_id: string;
28700
+ status: 'pending';
28701
+ /** Result of the action attempt. Null for pending action attempts. */
28702
+ result: null;
28703
+ /** Errors associated with the action attempt. Null for pending action attempts. */
28704
+ error: null;
28705
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
28706
+ } | {
28707
+ /** ID of the action attempt. */
28708
+ action_attempt_id: string;
28709
+ status: 'success';
28710
+ /** Errors associated with the action attempt. Null for successful action attempts. */
28711
+ error: null;
28712
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
28713
+ result: {};
28714
+ } | {
28715
+ /** ID of the action attempt. */
28716
+ action_attempt_id: string;
28717
+ status: 'error';
28718
+ /** Result of the action attempt. Null for failed action attempts. */
28719
+ result: null;
28720
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
28721
+ error: {
28722
+ type: string;
28723
+ message: string;
28724
+ };
28725
+ } | {
28726
+ /** ID of the action attempt. */
28727
+ action_attempt_id: string;
28728
+ status: 'pending';
28729
+ /** Result of the action attempt. Null for pending action attempts. */
28730
+ result: null;
28731
+ /** Errors associated with the action attempt. Null for pending action attempts. */
28732
+ error: null;
28733
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
28734
+ } | {
28735
+ /** ID of the action attempt. */
28736
+ action_attempt_id: string;
28737
+ status: 'success';
28738
+ /** Errors associated with the action attempt. Null for successful action attempts. */
28739
+ error: null;
28740
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
28741
+ result: {};
28742
+ } | {
28743
+ /** ID of the action attempt. */
28744
+ action_attempt_id: string;
28745
+ status: 'error';
28746
+ /** Result of the action attempt. Null for failed action attempts. */
28747
+ result: null;
28748
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
28749
+ error: {
28750
+ type: string;
28751
+ message: string;
28752
+ };
28134
28753
  } | {
28135
28754
  /** ID of the action attempt. */
28136
28755
  action_attempt_id: string;
@@ -29105,6 +29724,62 @@ export interface Routes {
29105
29724
  type: string;
29106
29725
  message: string;
29107
29726
  };
29727
+ } | {
29728
+ /** ID of the action attempt. */
29729
+ action_attempt_id: string;
29730
+ status: 'pending';
29731
+ /** Result of the action attempt. Null for pending action attempts. */
29732
+ result: null;
29733
+ /** Errors associated with the action attempt. Null for pending action attempts. */
29734
+ error: null;
29735
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
29736
+ } | {
29737
+ /** ID of the action attempt. */
29738
+ action_attempt_id: string;
29739
+ status: 'success';
29740
+ /** Errors associated with the action attempt. Null for successful action attempts. */
29741
+ error: null;
29742
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
29743
+ result: {};
29744
+ } | {
29745
+ /** ID of the action attempt. */
29746
+ action_attempt_id: string;
29747
+ status: 'error';
29748
+ /** Result of the action attempt. Null for failed action attempts. */
29749
+ result: null;
29750
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
29751
+ error: {
29752
+ type: string;
29753
+ message: string;
29754
+ };
29755
+ } | {
29756
+ /** ID of the action attempt. */
29757
+ action_attempt_id: string;
29758
+ status: 'pending';
29759
+ /** Result of the action attempt. Null for pending action attempts. */
29760
+ result: null;
29761
+ /** Errors associated with the action attempt. Null for pending action attempts. */
29762
+ error: null;
29763
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
29764
+ } | {
29765
+ /** ID of the action attempt. */
29766
+ action_attempt_id: string;
29767
+ status: 'success';
29768
+ /** Errors associated with the action attempt. Null for successful action attempts. */
29769
+ error: null;
29770
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
29771
+ result: {};
29772
+ } | {
29773
+ /** ID of the action attempt. */
29774
+ action_attempt_id: string;
29775
+ status: 'error';
29776
+ /** Result of the action attempt. Null for failed action attempts. */
29777
+ result: null;
29778
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
29779
+ error: {
29780
+ type: string;
29781
+ message: string;
29782
+ };
29108
29783
  } | {
29109
29784
  /** ID of the action attempt. */
29110
29785
  action_attempt_id: string;
@@ -30118,6 +30793,62 @@ export interface Routes {
30118
30793
  type: string;
30119
30794
  message: string;
30120
30795
  };
30796
+ } | {
30797
+ /** ID of the action attempt. */
30798
+ action_attempt_id: string;
30799
+ status: 'pending';
30800
+ /** Result of the action attempt. Null for pending action attempts. */
30801
+ result: null;
30802
+ /** Errors associated with the action attempt. Null for pending action attempts. */
30803
+ error: null;
30804
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
30805
+ } | {
30806
+ /** ID of the action attempt. */
30807
+ action_attempt_id: string;
30808
+ status: 'success';
30809
+ /** Errors associated with the action attempt. Null for successful action attempts. */
30810
+ error: null;
30811
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
30812
+ result: {};
30813
+ } | {
30814
+ /** ID of the action attempt. */
30815
+ action_attempt_id: string;
30816
+ status: 'error';
30817
+ /** Result of the action attempt. Null for failed action attempts. */
30818
+ result: null;
30819
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
30820
+ error: {
30821
+ type: string;
30822
+ message: string;
30823
+ };
30824
+ } | {
30825
+ /** ID of the action attempt. */
30826
+ action_attempt_id: string;
30827
+ status: 'pending';
30828
+ /** Result of the action attempt. Null for pending action attempts. */
30829
+ result: null;
30830
+ /** Errors associated with the action attempt. Null for pending action attempts. */
30831
+ error: null;
30832
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
30833
+ } | {
30834
+ /** ID of the action attempt. */
30835
+ action_attempt_id: string;
30836
+ status: 'success';
30837
+ /** Errors associated with the action attempt. Null for successful action attempts. */
30838
+ error: null;
30839
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
30840
+ result: {};
30841
+ } | {
30842
+ /** ID of the action attempt. */
30843
+ action_attempt_id: string;
30844
+ status: 'error';
30845
+ /** Result of the action attempt. Null for failed action attempts. */
30846
+ result: null;
30847
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
30848
+ error: {
30849
+ type: string;
30850
+ message: string;
30851
+ };
30121
30852
  } | {
30122
30853
  /** ID of the action attempt. */
30123
30854
  action_attempt_id: string;
@@ -30781,6 +31512,32 @@ export interface Routes {
30781
31512
  }>;
30782
31513
  };
30783
31514
  };
31515
+ '/seam/instant_key/v1/client_sessions/exchange_short_code': {
31516
+ route: '/seam/instant_key/v1/client_sessions/exchange_short_code';
31517
+ method: 'POST';
31518
+ queryParams: {};
31519
+ jsonBody: {
31520
+ /** The short code to exchange for a client session token */
31521
+ short_code: string;
31522
+ };
31523
+ commonParams: {};
31524
+ formData: {};
31525
+ jsonResponse: {
31526
+ /** */
31527
+ client_session: {
31528
+ client_session_id: string;
31529
+ workspace_id: string;
31530
+ created_at: string;
31531
+ expires_at: string;
31532
+ token: string;
31533
+ user_identifier_key: string | null;
31534
+ device_count: number;
31535
+ connected_account_ids: string[];
31536
+ connect_webview_ids: string[];
31537
+ user_identity_ids: string[];
31538
+ };
31539
+ };
31540
+ };
30784
31541
  '/thermostats/activate_climate_preset': {
30785
31542
  route: '/thermostats/activate_climate_preset';
30786
31543
  method: 'POST';
@@ -31539,6 +32296,62 @@ export interface Routes {
31539
32296
  type: string;
31540
32297
  message: string;
31541
32298
  };
32299
+ } | {
32300
+ /** ID of the action attempt. */
32301
+ action_attempt_id: string;
32302
+ status: 'pending';
32303
+ /** Result of the action attempt. Null for pending action attempts. */
32304
+ result: null;
32305
+ /** Errors associated with the action attempt. Null for pending action attempts. */
32306
+ error: null;
32307
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
32308
+ } | {
32309
+ /** ID of the action attempt. */
32310
+ action_attempt_id: string;
32311
+ status: 'success';
32312
+ /** Errors associated with the action attempt. Null for successful action attempts. */
32313
+ error: null;
32314
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
32315
+ result: {};
32316
+ } | {
32317
+ /** ID of the action attempt. */
32318
+ action_attempt_id: string;
32319
+ status: 'error';
32320
+ /** Result of the action attempt. Null for failed action attempts. */
32321
+ result: null;
32322
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
32323
+ error: {
32324
+ type: string;
32325
+ message: string;
32326
+ };
32327
+ } | {
32328
+ /** ID of the action attempt. */
32329
+ action_attempt_id: string;
32330
+ status: 'pending';
32331
+ /** Result of the action attempt. Null for pending action attempts. */
32332
+ result: null;
32333
+ /** Errors associated with the action attempt. Null for pending action attempts. */
32334
+ error: null;
32335
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
32336
+ } | {
32337
+ /** ID of the action attempt. */
32338
+ action_attempt_id: string;
32339
+ status: 'success';
32340
+ /** Errors associated with the action attempt. Null for successful action attempts. */
32341
+ error: null;
32342
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
32343
+ result: {};
32344
+ } | {
32345
+ /** ID of the action attempt. */
32346
+ action_attempt_id: string;
32347
+ status: 'error';
32348
+ /** Result of the action attempt. Null for failed action attempts. */
32349
+ result: null;
32350
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
32351
+ error: {
32352
+ type: string;
32353
+ message: string;
32354
+ };
31542
32355
  } | {
31543
32356
  /** ID of the action attempt. */
31544
32357
  action_attempt_id: string;
@@ -32508,6 +33321,62 @@ export interface Routes {
32508
33321
  type: string;
32509
33322
  message: string;
32510
33323
  };
33324
+ } | {
33325
+ /** ID of the action attempt. */
33326
+ action_attempt_id: string;
33327
+ status: 'pending';
33328
+ /** Result of the action attempt. Null for pending action attempts. */
33329
+ result: null;
33330
+ /** Errors associated with the action attempt. Null for pending action attempts. */
33331
+ error: null;
33332
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
33333
+ } | {
33334
+ /** ID of the action attempt. */
33335
+ action_attempt_id: string;
33336
+ status: 'success';
33337
+ /** Errors associated with the action attempt. Null for successful action attempts. */
33338
+ error: null;
33339
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
33340
+ result: {};
33341
+ } | {
33342
+ /** ID of the action attempt. */
33343
+ action_attempt_id: string;
33344
+ status: 'error';
33345
+ /** Result of the action attempt. Null for failed action attempts. */
33346
+ result: null;
33347
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
33348
+ error: {
33349
+ type: string;
33350
+ message: string;
33351
+ };
33352
+ } | {
33353
+ /** ID of the action attempt. */
33354
+ action_attempt_id: string;
33355
+ status: 'pending';
33356
+ /** Result of the action attempt. Null for pending action attempts. */
33357
+ result: null;
33358
+ /** Errors associated with the action attempt. Null for pending action attempts. */
33359
+ error: null;
33360
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
33361
+ } | {
33362
+ /** ID of the action attempt. */
33363
+ action_attempt_id: string;
33364
+ status: 'success';
33365
+ /** Errors associated with the action attempt. Null for successful action attempts. */
33366
+ error: null;
33367
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
33368
+ result: {};
33369
+ } | {
33370
+ /** ID of the action attempt. */
33371
+ action_attempt_id: string;
33372
+ status: 'error';
33373
+ /** Result of the action attempt. Null for failed action attempts. */
33374
+ result: null;
33375
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
33376
+ error: {
33377
+ type: string;
33378
+ message: string;
33379
+ };
32511
33380
  } | {
32512
33381
  /** ID of the action attempt. */
32513
33382
  action_attempt_id: string;
@@ -34240,6 +35109,62 @@ export interface Routes {
34240
35109
  type: string;
34241
35110
  message: string;
34242
35111
  };
35112
+ } | {
35113
+ /** ID of the action attempt. */
35114
+ action_attempt_id: string;
35115
+ status: 'pending';
35116
+ /** Result of the action attempt. Null for pending action attempts. */
35117
+ result: null;
35118
+ /** Errors associated with the action attempt. Null for pending action attempts. */
35119
+ error: null;
35120
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
35121
+ } | {
35122
+ /** ID of the action attempt. */
35123
+ action_attempt_id: string;
35124
+ status: 'success';
35125
+ /** Errors associated with the action attempt. Null for successful action attempts. */
35126
+ error: null;
35127
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
35128
+ result: {};
35129
+ } | {
35130
+ /** ID of the action attempt. */
35131
+ action_attempt_id: string;
35132
+ status: 'error';
35133
+ /** Result of the action attempt. Null for failed action attempts. */
35134
+ result: null;
35135
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
35136
+ error: {
35137
+ type: string;
35138
+ message: string;
35139
+ };
35140
+ } | {
35141
+ /** ID of the action attempt. */
35142
+ action_attempt_id: string;
35143
+ status: 'pending';
35144
+ /** Result of the action attempt. Null for pending action attempts. */
35145
+ result: null;
35146
+ /** Errors associated with the action attempt. Null for pending action attempts. */
35147
+ error: null;
35148
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
35149
+ } | {
35150
+ /** ID of the action attempt. */
35151
+ action_attempt_id: string;
35152
+ status: 'success';
35153
+ /** Errors associated with the action attempt. Null for successful action attempts. */
35154
+ error: null;
35155
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
35156
+ result: {};
35157
+ } | {
35158
+ /** ID of the action attempt. */
35159
+ action_attempt_id: string;
35160
+ status: 'error';
35161
+ /** Result of the action attempt. Null for failed action attempts. */
35162
+ result: null;
35163
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
35164
+ error: {
35165
+ type: string;
35166
+ message: string;
35167
+ };
34243
35168
  } | {
34244
35169
  /** ID of the action attempt. */
34245
35170
  action_attempt_id: string;
@@ -35213,6 +36138,62 @@ export interface Routes {
35213
36138
  type: string;
35214
36139
  message: string;
35215
36140
  };
36141
+ } | {
36142
+ /** ID of the action attempt. */
36143
+ action_attempt_id: string;
36144
+ status: 'pending';
36145
+ /** Result of the action attempt. Null for pending action attempts. */
36146
+ result: null;
36147
+ /** Errors associated with the action attempt. Null for pending action attempts. */
36148
+ error: null;
36149
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
36150
+ } | {
36151
+ /** ID of the action attempt. */
36152
+ action_attempt_id: string;
36153
+ status: 'success';
36154
+ /** Errors associated with the action attempt. Null for successful action attempts. */
36155
+ error: null;
36156
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
36157
+ result: {};
36158
+ } | {
36159
+ /** ID of the action attempt. */
36160
+ action_attempt_id: string;
36161
+ status: 'error';
36162
+ /** Result of the action attempt. Null for failed action attempts. */
36163
+ result: null;
36164
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
36165
+ error: {
36166
+ type: string;
36167
+ message: string;
36168
+ };
36169
+ } | {
36170
+ /** ID of the action attempt. */
36171
+ action_attempt_id: string;
36172
+ status: 'pending';
36173
+ /** Result of the action attempt. Null for pending action attempts. */
36174
+ result: null;
36175
+ /** Errors associated with the action attempt. Null for pending action attempts. */
36176
+ error: null;
36177
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
36178
+ } | {
36179
+ /** ID of the action attempt. */
36180
+ action_attempt_id: string;
36181
+ status: 'success';
36182
+ /** Errors associated with the action attempt. Null for successful action attempts. */
36183
+ error: null;
36184
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
36185
+ result: {};
36186
+ } | {
36187
+ /** ID of the action attempt. */
36188
+ action_attempt_id: string;
36189
+ status: 'error';
36190
+ /** Result of the action attempt. Null for failed action attempts. */
36191
+ result: null;
36192
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
36193
+ error: {
36194
+ type: string;
36195
+ message: string;
36196
+ };
35216
36197
  } | {
35217
36198
  /** ID of the action attempt. */
35218
36199
  action_attempt_id: string;
@@ -37621,6 +38602,62 @@ export interface Routes {
37621
38602
  type: string;
37622
38603
  message: string;
37623
38604
  };
38605
+ } | {
38606
+ /** ID of the action attempt. */
38607
+ action_attempt_id: string;
38608
+ status: 'pending';
38609
+ /** Result of the action attempt. Null for pending action attempts. */
38610
+ result: null;
38611
+ /** Errors associated with the action attempt. Null for pending action attempts. */
38612
+ error: null;
38613
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
38614
+ } | {
38615
+ /** ID of the action attempt. */
38616
+ action_attempt_id: string;
38617
+ status: 'success';
38618
+ /** Errors associated with the action attempt. Null for successful action attempts. */
38619
+ error: null;
38620
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
38621
+ result: {};
38622
+ } | {
38623
+ /** ID of the action attempt. */
38624
+ action_attempt_id: string;
38625
+ status: 'error';
38626
+ /** Result of the action attempt. Null for failed action attempts. */
38627
+ result: null;
38628
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
38629
+ error: {
38630
+ type: string;
38631
+ message: string;
38632
+ };
38633
+ } | {
38634
+ /** ID of the action attempt. */
38635
+ action_attempt_id: string;
38636
+ status: 'pending';
38637
+ /** Result of the action attempt. Null for pending action attempts. */
38638
+ result: null;
38639
+ /** Errors associated with the action attempt. Null for pending action attempts. */
38640
+ error: null;
38641
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
38642
+ } | {
38643
+ /** ID of the action attempt. */
38644
+ action_attempt_id: string;
38645
+ status: 'success';
38646
+ /** Errors associated with the action attempt. Null for successful action attempts. */
38647
+ error: null;
38648
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
38649
+ result: {};
38650
+ } | {
38651
+ /** ID of the action attempt. */
38652
+ action_attempt_id: string;
38653
+ status: 'error';
38654
+ /** Result of the action attempt. Null for failed action attempts. */
38655
+ result: null;
38656
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
38657
+ error: {
38658
+ type: string;
38659
+ message: string;
38660
+ };
37624
38661
  } | {
37625
38662
  /** ID of the action attempt. */
37626
38663
  action_attempt_id: string;
@@ -38776,6 +39813,62 @@ export interface Routes {
38776
39813
  type: string;
38777
39814
  message: string;
38778
39815
  };
39816
+ } | {
39817
+ /** ID of the action attempt. */
39818
+ action_attempt_id: string;
39819
+ status: 'pending';
39820
+ /** Result of the action attempt. Null for pending action attempts. */
39821
+ result: null;
39822
+ /** Errors associated with the action attempt. Null for pending action attempts. */
39823
+ error: null;
39824
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
39825
+ } | {
39826
+ /** ID of the action attempt. */
39827
+ action_attempt_id: string;
39828
+ status: 'success';
39829
+ /** Errors associated with the action attempt. Null for successful action attempts. */
39830
+ error: null;
39831
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
39832
+ result: {};
39833
+ } | {
39834
+ /** ID of the action attempt. */
39835
+ action_attempt_id: string;
39836
+ status: 'error';
39837
+ /** Result of the action attempt. Null for failed action attempts. */
39838
+ result: null;
39839
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
39840
+ error: {
39841
+ type: string;
39842
+ message: string;
39843
+ };
39844
+ } | {
39845
+ /** ID of the action attempt. */
39846
+ action_attempt_id: string;
39847
+ status: 'pending';
39848
+ /** Result of the action attempt. Null for pending action attempts. */
39849
+ result: null;
39850
+ /** Errors associated with the action attempt. Null for pending action attempts. */
39851
+ error: null;
39852
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
39853
+ } | {
39854
+ /** ID of the action attempt. */
39855
+ action_attempt_id: string;
39856
+ status: 'success';
39857
+ /** Errors associated with the action attempt. Null for successful action attempts. */
39858
+ error: null;
39859
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
39860
+ result: {};
39861
+ } | {
39862
+ /** ID of the action attempt. */
39863
+ action_attempt_id: string;
39864
+ status: 'error';
39865
+ /** Result of the action attempt. Null for failed action attempts. */
39866
+ result: null;
39867
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
39868
+ error: {
39869
+ type: string;
39870
+ message: string;
39871
+ };
38779
39872
  } | {
38780
39873
  /** ID of the action attempt. */
38781
39874
  action_attempt_id: string;
@@ -39768,6 +40861,62 @@ export interface Routes {
39768
40861
  type: string;
39769
40862
  message: string;
39770
40863
  };
40864
+ } | {
40865
+ /** ID of the action attempt. */
40866
+ action_attempt_id: string;
40867
+ status: 'pending';
40868
+ /** Result of the action attempt. Null for pending action attempts. */
40869
+ result: null;
40870
+ /** Errors associated with the action attempt. Null for pending action attempts. */
40871
+ error: null;
40872
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
40873
+ } | {
40874
+ /** ID of the action attempt. */
40875
+ action_attempt_id: string;
40876
+ status: 'success';
40877
+ /** Errors associated with the action attempt. Null for successful action attempts. */
40878
+ error: null;
40879
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
40880
+ result: {};
40881
+ } | {
40882
+ /** ID of the action attempt. */
40883
+ action_attempt_id: string;
40884
+ status: 'error';
40885
+ /** Result of the action attempt. Null for failed action attempts. */
40886
+ result: null;
40887
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
40888
+ error: {
40889
+ type: string;
40890
+ message: string;
40891
+ };
40892
+ } | {
40893
+ /** ID of the action attempt. */
40894
+ action_attempt_id: string;
40895
+ status: 'pending';
40896
+ /** Result of the action attempt. Null for pending action attempts. */
40897
+ result: null;
40898
+ /** Errors associated with the action attempt. Null for pending action attempts. */
40899
+ error: null;
40900
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
40901
+ } | {
40902
+ /** ID of the action attempt. */
40903
+ action_attempt_id: string;
40904
+ status: 'success';
40905
+ /** Errors associated with the action attempt. Null for successful action attempts. */
40906
+ error: null;
40907
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
40908
+ result: {};
40909
+ } | {
40910
+ /** ID of the action attempt. */
40911
+ action_attempt_id: string;
40912
+ status: 'error';
40913
+ /** Result of the action attempt. Null for failed action attempts. */
40914
+ result: null;
40915
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
40916
+ error: {
40917
+ type: string;
40918
+ message: string;
40919
+ };
39771
40920
  } | {
39772
40921
  /** ID of the action attempt. */
39773
40922
  action_attempt_id: string;
@@ -40109,12 +41258,14 @@ export interface Routes {
40109
41258
  location_ids?: string[] | undefined;
40110
41259
  /** When used, creates a new location with the given entrances and devices, and gives the user access to this location. */
40111
41260
  location?: {
41261
+ /** Name of the location. */
41262
+ name?: string | undefined;
40112
41263
  /** Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to add to the location to which access is being granted. */
40113
41264
  acs_entrance_ids?: string[];
40114
41265
  /** Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to add to the location to which access is being granted. */
40115
41266
  device_ids?: string[];
40116
41267
  } | undefined;
40117
- desired_access_methods: Array<{
41268
+ requested_access_methods: Array<{
40118
41269
  /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
40119
41270
  mode: 'code' | 'card' | 'mobile_key';
40120
41271
  }>;
@@ -40143,9 +41294,11 @@ export interface Routes {
40143
41294
  mode: 'code' | 'card' | 'mobile_key';
40144
41295
  /** Date and time at which the requested access method was added to this access grant. */
40145
41296
  created_at: string;
40146
- /** IDs of the locations to which access is being given. */
40147
- provisioned_access_method_ids: string[];
41297
+ /** IDs of the access methods that were created for this requested access method. */
41298
+ created_access_method_ids: string[];
40148
41299
  }>;
41300
+ /** IDs of the access methods that were created for this access grant. */
41301
+ access_method_ids: string[];
40149
41302
  /** Display name of the access grant. */
40150
41303
  display_name: string;
40151
41304
  /** Date and time at which the access grant was created. */
@@ -40182,9 +41335,11 @@ export interface Routes {
40182
41335
  mode: 'code' | 'card' | 'mobile_key';
40183
41336
  /** Date and time at which the requested access method was added to this access grant. */
40184
41337
  created_at: string;
40185
- /** IDs of the locations to which access is being given. */
40186
- provisioned_access_method_ids: string[];
41338
+ /** IDs of the access methods that were created for this requested access method. */
41339
+ created_access_method_ids: string[];
40187
41340
  }>;
41341
+ /** IDs of the access methods that were created for this access grant. */
41342
+ access_method_ids: string[];
40188
41343
  /** Display name of the access grant. */
40189
41344
  display_name: string;
40190
41345
  /** Date and time at which the access grant was created. */
@@ -40226,9 +41381,11 @@ export interface Routes {
40226
41381
  mode: 'code' | 'card' | 'mobile_key';
40227
41382
  /** Date and time at which the requested access method was added to this access grant. */
40228
41383
  created_at: string;
40229
- /** IDs of the locations to which access is being given. */
40230
- provisioned_access_method_ids: string[];
41384
+ /** IDs of the access methods that were created for this requested access method. */
41385
+ created_access_method_ids: string[];
40231
41386
  }>;
41387
+ /** IDs of the access methods that were created for this access grant. */
41388
+ access_method_ids: string[];
40232
41389
  /** Display name of the access grant. */
40233
41390
  display_name: string;
40234
41391
  /** Date and time at which the access grant was created. */
@@ -40236,8 +41393,8 @@ export interface Routes {
40236
41393
  }>;
40237
41394
  };
40238
41395
  };
40239
- '/unstable_access_grants/list_access_methods': {
40240
- route: '/unstable_access_grants/list_access_methods';
41396
+ '/unstable_access_methods/list': {
41397
+ route: '/unstable_access_methods/list';
40241
41398
  method: 'GET' | 'POST';
40242
41399
  queryParams: {};
40243
41400
  jsonBody: {};
@@ -43363,6 +44520,62 @@ export interface Routes {
43363
44520
  type: string;
43364
44521
  message: string;
43365
44522
  };
44523
+ } | {
44524
+ /** ID of the action attempt. */
44525
+ action_attempt_id: string;
44526
+ status: 'pending';
44527
+ /** Result of the action attempt. Null for pending action attempts. */
44528
+ result: null;
44529
+ /** Errors associated with the action attempt. Null for pending action attempts. */
44530
+ error: null;
44531
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
44532
+ } | {
44533
+ /** ID of the action attempt. */
44534
+ action_attempt_id: string;
44535
+ status: 'success';
44536
+ /** Errors associated with the action attempt. Null for successful action attempts. */
44537
+ error: null;
44538
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
44539
+ result: {};
44540
+ } | {
44541
+ /** ID of the action attempt. */
44542
+ action_attempt_id: string;
44543
+ status: 'error';
44544
+ /** Result of the action attempt. Null for failed action attempts. */
44545
+ result: null;
44546
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
44547
+ error: {
44548
+ type: string;
44549
+ message: string;
44550
+ };
44551
+ } | {
44552
+ /** ID of the action attempt. */
44553
+ action_attempt_id: string;
44554
+ status: 'pending';
44555
+ /** Result of the action attempt. Null for pending action attempts. */
44556
+ result: null;
44557
+ /** Errors associated with the action attempt. Null for pending action attempts. */
44558
+ error: null;
44559
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
44560
+ } | {
44561
+ /** ID of the action attempt. */
44562
+ action_attempt_id: string;
44563
+ status: 'success';
44564
+ /** Errors associated with the action attempt. Null for successful action attempts. */
44565
+ error: null;
44566
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
44567
+ result: {};
44568
+ } | {
44569
+ /** ID of the action attempt. */
44570
+ action_attempt_id: string;
44571
+ status: 'error';
44572
+ /** Result of the action attempt. Null for failed action attempts. */
44573
+ result: null;
44574
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
44575
+ error: {
44576
+ type: string;
44577
+ message: string;
44578
+ };
43366
44579
  } | {
43367
44580
  /** ID of the action attempt. */
43368
44581
  action_attempt_id: string;