@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
@@ -933,6 +933,68 @@ export interface Routes {
933
933
  message: string
934
934
  }
935
935
  }
936
+ | {
937
+ /** ID of the action attempt. */
938
+ action_attempt_id: string
939
+ status: 'pending'
940
+ /** Result of the action attempt. Null for pending action attempts. */
941
+ result: null
942
+ /** Errors associated with the action attempt. Null for pending action attempts. */
943
+ error: null
944
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
945
+ }
946
+ | {
947
+ /** ID of the action attempt. */
948
+ action_attempt_id: string
949
+ status: 'success'
950
+ /** Errors associated with the action attempt. Null for successful action attempts. */
951
+ error: null
952
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
953
+ result: {}
954
+ }
955
+ | {
956
+ /** ID of the action attempt. */
957
+ action_attempt_id: string
958
+ status: 'error'
959
+ /** Result of the action attempt. Null for failed action attempts. */
960
+ result: null
961
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
962
+ error: {
963
+ type: string
964
+ message: string
965
+ }
966
+ }
967
+ | {
968
+ /** ID of the action attempt. */
969
+ action_attempt_id: string
970
+ status: 'pending'
971
+ /** Result of the action attempt. Null for pending action attempts. */
972
+ result: null
973
+ /** Errors associated with the action attempt. Null for pending action attempts. */
974
+ error: null
975
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
976
+ }
977
+ | {
978
+ /** ID of the action attempt. */
979
+ action_attempt_id: string
980
+ status: 'success'
981
+ /** Errors associated with the action attempt. Null for successful action attempts. */
982
+ error: null
983
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
984
+ result: {}
985
+ }
986
+ | {
987
+ /** ID of the action attempt. */
988
+ action_attempt_id: string
989
+ status: 'error'
990
+ /** Result of the action attempt. Null for failed action attempts. */
991
+ result: null
992
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
993
+ error: {
994
+ type: string
995
+ message: string
996
+ }
997
+ }
936
998
  | {
937
999
  /** ID of the action attempt. */
938
1000
  action_attempt_id: string
@@ -3102,6 +3164,68 @@ export interface Routes {
3102
3164
  message: string
3103
3165
  }
3104
3166
  }
3167
+ | {
3168
+ /** ID of the action attempt. */
3169
+ action_attempt_id: string
3170
+ status: 'pending'
3171
+ /** Result of the action attempt. Null for pending action attempts. */
3172
+ result: null
3173
+ /** Errors associated with the action attempt. Null for pending action attempts. */
3174
+ error: null
3175
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
3176
+ }
3177
+ | {
3178
+ /** ID of the action attempt. */
3179
+ action_attempt_id: string
3180
+ status: 'success'
3181
+ /** Errors associated with the action attempt. Null for successful action attempts. */
3182
+ error: null
3183
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
3184
+ result: {}
3185
+ }
3186
+ | {
3187
+ /** ID of the action attempt. */
3188
+ action_attempt_id: string
3189
+ status: 'error'
3190
+ /** Result of the action attempt. Null for failed action attempts. */
3191
+ result: null
3192
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
3193
+ error: {
3194
+ type: string
3195
+ message: string
3196
+ }
3197
+ }
3198
+ | {
3199
+ /** ID of the action attempt. */
3200
+ action_attempt_id: string
3201
+ status: 'pending'
3202
+ /** Result of the action attempt. Null for pending action attempts. */
3203
+ result: null
3204
+ /** Errors associated with the action attempt. Null for pending action attempts. */
3205
+ error: null
3206
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
3207
+ }
3208
+ | {
3209
+ /** ID of the action attempt. */
3210
+ action_attempt_id: string
3211
+ status: 'success'
3212
+ /** Errors associated with the action attempt. Null for successful action attempts. */
3213
+ error: null
3214
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
3215
+ result: {}
3216
+ }
3217
+ | {
3218
+ /** ID of the action attempt. */
3219
+ action_attempt_id: string
3220
+ status: 'error'
3221
+ /** Result of the action attempt. Null for failed action attempts. */
3222
+ result: null
3223
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
3224
+ error: {
3225
+ type: string
3226
+ message: string
3227
+ }
3228
+ }
3105
3229
  | {
3106
3230
  /** ID of the action attempt. */
3107
3231
  action_attempt_id: string
@@ -6810,6 +6934,68 @@ export interface Routes {
6810
6934
  message: string
6811
6935
  }
6812
6936
  }
6937
+ | {
6938
+ /** ID of the action attempt. */
6939
+ action_attempt_id: string
6940
+ status: 'pending'
6941
+ /** Result of the action attempt. Null for pending action attempts. */
6942
+ result: null
6943
+ /** Errors associated with the action attempt. Null for pending action attempts. */
6944
+ error: null
6945
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
6946
+ }
6947
+ | {
6948
+ /** ID of the action attempt. */
6949
+ action_attempt_id: string
6950
+ status: 'success'
6951
+ /** Errors associated with the action attempt. Null for successful action attempts. */
6952
+ error: null
6953
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
6954
+ result: {}
6955
+ }
6956
+ | {
6957
+ /** ID of the action attempt. */
6958
+ action_attempt_id: string
6959
+ status: 'error'
6960
+ /** Result of the action attempt. Null for failed action attempts. */
6961
+ result: null
6962
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
6963
+ error: {
6964
+ type: string
6965
+ message: string
6966
+ }
6967
+ }
6968
+ | {
6969
+ /** ID of the action attempt. */
6970
+ action_attempt_id: string
6971
+ status: 'pending'
6972
+ /** Result of the action attempt. Null for pending action attempts. */
6973
+ result: null
6974
+ /** Errors associated with the action attempt. Null for pending action attempts. */
6975
+ error: null
6976
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
6977
+ }
6978
+ | {
6979
+ /** ID of the action attempt. */
6980
+ action_attempt_id: string
6981
+ status: 'success'
6982
+ /** Errors associated with the action attempt. Null for successful action attempts. */
6983
+ error: null
6984
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
6985
+ result: {}
6986
+ }
6987
+ | {
6988
+ /** ID of the action attempt. */
6989
+ action_attempt_id: string
6990
+ status: 'error'
6991
+ /** Result of the action attempt. Null for failed action attempts. */
6992
+ result: null
6993
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
6994
+ error: {
6995
+ type: string
6996
+ message: string
6997
+ }
6998
+ }
6813
6999
  | {
6814
7000
  /** ID of the action attempt. */
6815
7001
  action_attempt_id: string
@@ -8983,6 +9169,68 @@ export interface Routes {
8983
9169
  message: string
8984
9170
  }
8985
9171
  }
9172
+ | {
9173
+ /** ID of the action attempt. */
9174
+ action_attempt_id: string
9175
+ status: 'pending'
9176
+ /** Result of the action attempt. Null for pending action attempts. */
9177
+ result: null
9178
+ /** Errors associated with the action attempt. Null for pending action attempts. */
9179
+ error: null
9180
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
9181
+ }
9182
+ | {
9183
+ /** ID of the action attempt. */
9184
+ action_attempt_id: string
9185
+ status: 'success'
9186
+ /** Errors associated with the action attempt. Null for successful action attempts. */
9187
+ error: null
9188
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
9189
+ result: {}
9190
+ }
9191
+ | {
9192
+ /** ID of the action attempt. */
9193
+ action_attempt_id: string
9194
+ status: 'error'
9195
+ /** Result of the action attempt. Null for failed action attempts. */
9196
+ result: null
9197
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
9198
+ error: {
9199
+ type: string
9200
+ message: string
9201
+ }
9202
+ }
9203
+ | {
9204
+ /** ID of the action attempt. */
9205
+ action_attempt_id: string
9206
+ status: 'pending'
9207
+ /** Result of the action attempt. Null for pending action attempts. */
9208
+ result: null
9209
+ /** Errors associated with the action attempt. Null for pending action attempts. */
9210
+ error: null
9211
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
9212
+ }
9213
+ | {
9214
+ /** ID of the action attempt. */
9215
+ action_attempt_id: string
9216
+ status: 'success'
9217
+ /** Errors associated with the action attempt. Null for successful action attempts. */
9218
+ error: null
9219
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
9220
+ result: {}
9221
+ }
9222
+ | {
9223
+ /** ID of the action attempt. */
9224
+ action_attempt_id: string
9225
+ status: 'error'
9226
+ /** Result of the action attempt. Null for failed action attempts. */
9227
+ result: null
9228
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
9229
+ error: {
9230
+ type: string
9231
+ message: string
9232
+ }
9233
+ }
8986
9234
  | {
8987
9235
  /** ID of the action attempt. */
8988
9236
  action_attempt_id: string
@@ -12343,6 +12591,68 @@ export interface Routes {
12343
12591
  message: string
12344
12592
  }
12345
12593
  }
12594
+ | {
12595
+ /** ID of the action attempt. */
12596
+ action_attempt_id: string
12597
+ status: 'pending'
12598
+ /** Result of the action attempt. Null for pending action attempts. */
12599
+ result: null
12600
+ /** Errors associated with the action attempt. Null for pending action attempts. */
12601
+ error: null
12602
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
12603
+ }
12604
+ | {
12605
+ /** ID of the action attempt. */
12606
+ action_attempt_id: string
12607
+ status: 'success'
12608
+ /** Errors associated with the action attempt. Null for successful action attempts. */
12609
+ error: null
12610
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
12611
+ result: {}
12612
+ }
12613
+ | {
12614
+ /** ID of the action attempt. */
12615
+ action_attempt_id: string
12616
+ status: 'error'
12617
+ /** Result of the action attempt. Null for failed action attempts. */
12618
+ result: null
12619
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
12620
+ error: {
12621
+ type: string
12622
+ message: string
12623
+ }
12624
+ }
12625
+ | {
12626
+ /** ID of the action attempt. */
12627
+ action_attempt_id: string
12628
+ status: 'pending'
12629
+ /** Result of the action attempt. Null for pending action attempts. */
12630
+ result: null
12631
+ /** Errors associated with the action attempt. Null for pending action attempts. */
12632
+ error: null
12633
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
12634
+ }
12635
+ | {
12636
+ /** ID of the action attempt. */
12637
+ action_attempt_id: string
12638
+ status: 'success'
12639
+ /** Errors associated with the action attempt. Null for successful action attempts. */
12640
+ error: null
12641
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
12642
+ result: {}
12643
+ }
12644
+ | {
12645
+ /** ID of the action attempt. */
12646
+ action_attempt_id: string
12647
+ status: 'error'
12648
+ /** Result of the action attempt. Null for failed action attempts. */
12649
+ result: null
12650
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
12651
+ error: {
12652
+ type: string
12653
+ message: string
12654
+ }
12655
+ }
12346
12656
  | {
12347
12657
  /** ID of the action attempt. */
12348
12658
  action_attempt_id: string
@@ -13571,6 +13881,68 @@ export interface Routes {
13571
13881
  message: string
13572
13882
  }
13573
13883
  }
13884
+ | {
13885
+ /** ID of the action attempt. */
13886
+ action_attempt_id: string
13887
+ status: 'pending'
13888
+ /** Result of the action attempt. Null for pending action attempts. */
13889
+ result: null
13890
+ /** Errors associated with the action attempt. Null for pending action attempts. */
13891
+ error: null
13892
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
13893
+ }
13894
+ | {
13895
+ /** ID of the action attempt. */
13896
+ action_attempt_id: string
13897
+ status: 'success'
13898
+ /** Errors associated with the action attempt. Null for successful action attempts. */
13899
+ error: null
13900
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
13901
+ result: {}
13902
+ }
13903
+ | {
13904
+ /** ID of the action attempt. */
13905
+ action_attempt_id: string
13906
+ status: 'error'
13907
+ /** Result of the action attempt. Null for failed action attempts. */
13908
+ result: null
13909
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
13910
+ error: {
13911
+ type: string
13912
+ message: string
13913
+ }
13914
+ }
13915
+ | {
13916
+ /** ID of the action attempt. */
13917
+ action_attempt_id: string
13918
+ status: 'pending'
13919
+ /** Result of the action attempt. Null for pending action attempts. */
13920
+ result: null
13921
+ /** Errors associated with the action attempt. Null for pending action attempts. */
13922
+ error: null
13923
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
13924
+ }
13925
+ | {
13926
+ /** ID of the action attempt. */
13927
+ action_attempt_id: string
13928
+ status: 'success'
13929
+ /** Errors associated with the action attempt. Null for successful action attempts. */
13930
+ error: null
13931
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
13932
+ result: {}
13933
+ }
13934
+ | {
13935
+ /** ID of the action attempt. */
13936
+ action_attempt_id: string
13937
+ status: 'error'
13938
+ /** Result of the action attempt. Null for failed action attempts. */
13939
+ result: null
13940
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
13941
+ error: {
13942
+ type: string
13943
+ message: string
13944
+ }
13945
+ }
13574
13946
  | {
13575
13947
  /** ID of the action attempt. */
13576
13948
  action_attempt_id: string
@@ -16984,6 +17356,68 @@ export interface Routes {
16984
17356
  message: string
16985
17357
  }
16986
17358
  }
17359
+ | {
17360
+ /** ID of the action attempt. */
17361
+ action_attempt_id: string
17362
+ status: 'pending'
17363
+ /** Result of the action attempt. Null for pending action attempts. */
17364
+ result: null
17365
+ /** Errors associated with the action attempt. Null for pending action attempts. */
17366
+ error: null
17367
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
17368
+ }
17369
+ | {
17370
+ /** ID of the action attempt. */
17371
+ action_attempt_id: string
17372
+ status: 'success'
17373
+ /** Errors associated with the action attempt. Null for successful action attempts. */
17374
+ error: null
17375
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
17376
+ result: {}
17377
+ }
17378
+ | {
17379
+ /** ID of the action attempt. */
17380
+ action_attempt_id: string
17381
+ status: 'error'
17382
+ /** Result of the action attempt. Null for failed action attempts. */
17383
+ result: null
17384
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
17385
+ error: {
17386
+ type: string
17387
+ message: string
17388
+ }
17389
+ }
17390
+ | {
17391
+ /** ID of the action attempt. */
17392
+ action_attempt_id: string
17393
+ status: 'pending'
17394
+ /** Result of the action attempt. Null for pending action attempts. */
17395
+ result: null
17396
+ /** Errors associated with the action attempt. Null for pending action attempts. */
17397
+ error: null
17398
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
17399
+ }
17400
+ | {
17401
+ /** ID of the action attempt. */
17402
+ action_attempt_id: string
17403
+ status: 'success'
17404
+ /** Errors associated with the action attempt. Null for successful action attempts. */
17405
+ error: null
17406
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
17407
+ result: {}
17408
+ }
17409
+ | {
17410
+ /** ID of the action attempt. */
17411
+ action_attempt_id: string
17412
+ status: 'error'
17413
+ /** Result of the action attempt. Null for failed action attempts. */
17414
+ result: null
17415
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
17416
+ error: {
17417
+ type: string
17418
+ message: string
17419
+ }
17420
+ }
16987
17421
  | {
16988
17422
  /** ID of the action attempt. */
16989
17423
  action_attempt_id: string
@@ -18113,6 +18547,68 @@ export interface Routes {
18113
18547
  message: string
18114
18548
  }
18115
18549
  }
18550
+ | {
18551
+ /** ID of the action attempt. */
18552
+ action_attempt_id: string
18553
+ status: 'pending'
18554
+ /** Result of the action attempt. Null for pending action attempts. */
18555
+ result: null
18556
+ /** Errors associated with the action attempt. Null for pending action attempts. */
18557
+ error: null
18558
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
18559
+ }
18560
+ | {
18561
+ /** ID of the action attempt. */
18562
+ action_attempt_id: string
18563
+ status: 'success'
18564
+ /** Errors associated with the action attempt. Null for successful action attempts. */
18565
+ error: null
18566
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
18567
+ result: {}
18568
+ }
18569
+ | {
18570
+ /** ID of the action attempt. */
18571
+ action_attempt_id: string
18572
+ status: 'error'
18573
+ /** Result of the action attempt. Null for failed action attempts. */
18574
+ result: null
18575
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
18576
+ error: {
18577
+ type: string
18578
+ message: string
18579
+ }
18580
+ }
18581
+ | {
18582
+ /** ID of the action attempt. */
18583
+ action_attempt_id: string
18584
+ status: 'pending'
18585
+ /** Result of the action attempt. Null for pending action attempts. */
18586
+ result: null
18587
+ /** Errors associated with the action attempt. Null for pending action attempts. */
18588
+ error: null
18589
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
18590
+ }
18591
+ | {
18592
+ /** ID of the action attempt. */
18593
+ action_attempt_id: string
18594
+ status: 'success'
18595
+ /** Errors associated with the action attempt. Null for successful action attempts. */
18596
+ error: null
18597
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
18598
+ result: {}
18599
+ }
18600
+ | {
18601
+ /** ID of the action attempt. */
18602
+ action_attempt_id: string
18603
+ status: 'error'
18604
+ /** Result of the action attempt. Null for failed action attempts. */
18605
+ result: null
18606
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
18607
+ error: {
18608
+ type: string
18609
+ message: string
18610
+ }
18611
+ }
18116
18612
  | {
18117
18613
  /** ID of the action attempt. */
18118
18614
  action_attempt_id: string
@@ -21240,30 +21736,6 @@ export interface Routes {
21240
21736
  }>
21241
21737
  }
21242
21738
  }
21243
- '/devices/simulate/access_code_lock': {
21244
- route: '/devices/simulate/access_code_lock'
21245
- method: 'POST'
21246
- queryParams: {}
21247
- jsonBody: {
21248
- device_id: string
21249
- access_code_id: string
21250
- }
21251
- commonParams: {}
21252
- formData: {}
21253
- jsonResponse: {}
21254
- }
21255
- '/devices/simulate/access_code_unlock': {
21256
- route: '/devices/simulate/access_code_unlock'
21257
- method: 'POST'
21258
- queryParams: {}
21259
- jsonBody: {
21260
- device_id: string
21261
- access_code_id: string
21262
- }
21263
- commonParams: {}
21264
- formData: {}
21265
- jsonResponse: {}
21266
- }
21267
21739
  '/devices/simulate/connect': {
21268
21740
  route: '/devices/simulate/connect'
21269
21741
  method: 'POST'
@@ -29925,6 +30397,68 @@ export interface Routes {
29925
30397
  message: string
29926
30398
  }
29927
30399
  }
30400
+ | {
30401
+ /** ID of the action attempt. */
30402
+ action_attempt_id: string
30403
+ status: 'pending'
30404
+ /** Result of the action attempt. Null for pending action attempts. */
30405
+ result: null
30406
+ /** Errors associated with the action attempt. Null for pending action attempts. */
30407
+ error: null
30408
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
30409
+ }
30410
+ | {
30411
+ /** ID of the action attempt. */
30412
+ action_attempt_id: string
30413
+ status: 'success'
30414
+ /** Errors associated with the action attempt. Null for successful action attempts. */
30415
+ error: null
30416
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
30417
+ result: {}
30418
+ }
30419
+ | {
30420
+ /** ID of the action attempt. */
30421
+ action_attempt_id: string
30422
+ status: 'error'
30423
+ /** Result of the action attempt. Null for failed action attempts. */
30424
+ result: null
30425
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
30426
+ error: {
30427
+ type: string
30428
+ message: string
30429
+ }
30430
+ }
30431
+ | {
30432
+ /** ID of the action attempt. */
30433
+ action_attempt_id: string
30434
+ status: 'pending'
30435
+ /** Result of the action attempt. Null for pending action attempts. */
30436
+ result: null
30437
+ /** Errors associated with the action attempt. Null for pending action attempts. */
30438
+ error: null
30439
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
30440
+ }
30441
+ | {
30442
+ /** ID of the action attempt. */
30443
+ action_attempt_id: string
30444
+ status: 'success'
30445
+ /** Errors associated with the action attempt. Null for successful action attempts. */
30446
+ error: null
30447
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
30448
+ result: {}
30449
+ }
30450
+ | {
30451
+ /** ID of the action attempt. */
30452
+ action_attempt_id: string
30453
+ status: 'error'
30454
+ /** Result of the action attempt. Null for failed action attempts. */
30455
+ result: null
30456
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
30457
+ error: {
30458
+ type: string
30459
+ message: string
30460
+ }
30461
+ }
29928
30462
  | {
29929
30463
  /** ID of the action attempt. */
29930
30464
  action_attempt_id: string
@@ -30152,6 +30686,33 @@ export interface Routes {
30152
30686
  }
30153
30687
  }
30154
30688
  }
30689
+ '/locks/simulate/keypad_code_entry': {
30690
+ route: '/locks/simulate/keypad_code_entry'
30691
+ method: 'POST'
30692
+ queryParams: {}
30693
+ jsonBody: {
30694
+ device_id: string
30695
+ code: string
30696
+ }
30697
+ commonParams: {}
30698
+ formData: {}
30699
+ jsonResponse: {
30700
+ action_attempt?: any
30701
+ }
30702
+ }
30703
+ '/locks/simulate/manual_lock_via_keypad': {
30704
+ route: '/locks/simulate/manual_lock_via_keypad'
30705
+ method: 'POST'
30706
+ queryParams: {}
30707
+ jsonBody: {
30708
+ device_id: string
30709
+ }
30710
+ commonParams: {}
30711
+ formData: {}
30712
+ jsonResponse: {
30713
+ action_attempt?: any
30714
+ }
30715
+ }
30155
30716
  '/locks/unlock_door': {
30156
30717
  route: '/locks/unlock_door'
30157
30718
  method: 'POST'
@@ -31056,6 +31617,68 @@ export interface Routes {
31056
31617
  message: string
31057
31618
  }
31058
31619
  }
31620
+ | {
31621
+ /** ID of the action attempt. */
31622
+ action_attempt_id: string
31623
+ status: 'pending'
31624
+ /** Result of the action attempt. Null for pending action attempts. */
31625
+ result: null
31626
+ /** Errors associated with the action attempt. Null for pending action attempts. */
31627
+ error: null
31628
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
31629
+ }
31630
+ | {
31631
+ /** ID of the action attempt. */
31632
+ action_attempt_id: string
31633
+ status: 'success'
31634
+ /** Errors associated with the action attempt. Null for successful action attempts. */
31635
+ error: null
31636
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
31637
+ result: {}
31638
+ }
31639
+ | {
31640
+ /** ID of the action attempt. */
31641
+ action_attempt_id: string
31642
+ status: 'error'
31643
+ /** Result of the action attempt. Null for failed action attempts. */
31644
+ result: null
31645
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
31646
+ error: {
31647
+ type: string
31648
+ message: string
31649
+ }
31650
+ }
31651
+ | {
31652
+ /** ID of the action attempt. */
31653
+ action_attempt_id: string
31654
+ status: 'pending'
31655
+ /** Result of the action attempt. Null for pending action attempts. */
31656
+ result: null
31657
+ /** Errors associated with the action attempt. Null for pending action attempts. */
31658
+ error: null
31659
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
31660
+ }
31661
+ | {
31662
+ /** ID of the action attempt. */
31663
+ action_attempt_id: string
31664
+ status: 'success'
31665
+ /** Errors associated with the action attempt. Null for successful action attempts. */
31666
+ error: null
31667
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
31668
+ result: {}
31669
+ }
31670
+ | {
31671
+ /** ID of the action attempt. */
31672
+ action_attempt_id: string
31673
+ status: 'error'
31674
+ /** Result of the action attempt. Null for failed action attempts. */
31675
+ result: null
31676
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
31677
+ error: {
31678
+ type: string
31679
+ message: string
31680
+ }
31681
+ }
31059
31682
  | {
31060
31683
  /** ID of the action attempt. */
31061
31684
  action_attempt_id: string
@@ -34146,6 +34769,68 @@ export interface Routes {
34146
34769
  message: string
34147
34770
  }
34148
34771
  }
34772
+ | {
34773
+ /** ID of the action attempt. */
34774
+ action_attempt_id: string
34775
+ status: 'pending'
34776
+ /** Result of the action attempt. Null for pending action attempts. */
34777
+ result: null
34778
+ /** Errors associated with the action attempt. Null for pending action attempts. */
34779
+ error: null
34780
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
34781
+ }
34782
+ | {
34783
+ /** ID of the action attempt. */
34784
+ action_attempt_id: string
34785
+ status: 'success'
34786
+ /** Errors associated with the action attempt. Null for successful action attempts. */
34787
+ error: null
34788
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
34789
+ result: {}
34790
+ }
34791
+ | {
34792
+ /** ID of the action attempt. */
34793
+ action_attempt_id: string
34794
+ status: 'error'
34795
+ /** Result of the action attempt. Null for failed action attempts. */
34796
+ result: null
34797
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
34798
+ error: {
34799
+ type: string
34800
+ message: string
34801
+ }
34802
+ }
34803
+ | {
34804
+ /** ID of the action attempt. */
34805
+ action_attempt_id: string
34806
+ status: 'pending'
34807
+ /** Result of the action attempt. Null for pending action attempts. */
34808
+ result: null
34809
+ /** Errors associated with the action attempt. Null for pending action attempts. */
34810
+ error: null
34811
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
34812
+ }
34813
+ | {
34814
+ /** ID of the action attempt. */
34815
+ action_attempt_id: string
34816
+ status: 'success'
34817
+ /** Errors associated with the action attempt. Null for successful action attempts. */
34818
+ error: null
34819
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
34820
+ result: {}
34821
+ }
34822
+ | {
34823
+ /** ID of the action attempt. */
34824
+ action_attempt_id: string
34825
+ status: 'error'
34826
+ /** Result of the action attempt. Null for failed action attempts. */
34827
+ result: null
34828
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
34829
+ error: {
34830
+ type: string
34831
+ message: string
34832
+ }
34833
+ }
34149
34834
  | {
34150
34835
  /** ID of the action attempt. */
34151
34836
  action_attempt_id: string
@@ -35288,6 +35973,68 @@ export interface Routes {
35288
35973
  message: string
35289
35974
  }
35290
35975
  }
35976
+ | {
35977
+ /** ID of the action attempt. */
35978
+ action_attempt_id: string
35979
+ status: 'pending'
35980
+ /** Result of the action attempt. Null for pending action attempts. */
35981
+ result: null
35982
+ /** Errors associated with the action attempt. Null for pending action attempts. */
35983
+ error: null
35984
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
35985
+ }
35986
+ | {
35987
+ /** ID of the action attempt. */
35988
+ action_attempt_id: string
35989
+ status: 'success'
35990
+ /** Errors associated with the action attempt. Null for successful action attempts. */
35991
+ error: null
35992
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
35993
+ result: {}
35994
+ }
35995
+ | {
35996
+ /** ID of the action attempt. */
35997
+ action_attempt_id: string
35998
+ status: 'error'
35999
+ /** Result of the action attempt. Null for failed action attempts. */
36000
+ result: null
36001
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
36002
+ error: {
36003
+ type: string
36004
+ message: string
36005
+ }
36006
+ }
36007
+ | {
36008
+ /** ID of the action attempt. */
36009
+ action_attempt_id: string
36010
+ status: 'pending'
36011
+ /** Result of the action attempt. Null for pending action attempts. */
36012
+ result: null
36013
+ /** Errors associated with the action attempt. Null for pending action attempts. */
36014
+ error: null
36015
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
36016
+ }
36017
+ | {
36018
+ /** ID of the action attempt. */
36019
+ action_attempt_id: string
36020
+ status: 'success'
36021
+ /** Errors associated with the action attempt. Null for successful action attempts. */
36022
+ error: null
36023
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
36024
+ result: {}
36025
+ }
36026
+ | {
36027
+ /** ID of the action attempt. */
36028
+ action_attempt_id: string
36029
+ status: 'error'
36030
+ /** Result of the action attempt. Null for failed action attempts. */
36031
+ result: null
36032
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
36033
+ error: {
36034
+ type: string
36035
+ message: string
36036
+ }
36037
+ }
35291
36038
  | {
35292
36039
  /** ID of the action attempt. */
35293
36040
  action_attempt_id: string
@@ -36469,6 +37216,68 @@ export interface Routes {
36469
37216
  message: string
36470
37217
  }
36471
37218
  }
37219
+ | {
37220
+ /** ID of the action attempt. */
37221
+ action_attempt_id: string
37222
+ status: 'pending'
37223
+ /** Result of the action attempt. Null for pending action attempts. */
37224
+ result: null
37225
+ /** Errors associated with the action attempt. Null for pending action attempts. */
37226
+ error: null
37227
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
37228
+ }
37229
+ | {
37230
+ /** ID of the action attempt. */
37231
+ action_attempt_id: string
37232
+ status: 'success'
37233
+ /** Errors associated with the action attempt. Null for successful action attempts. */
37234
+ error: null
37235
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
37236
+ result: {}
37237
+ }
37238
+ | {
37239
+ /** ID of the action attempt. */
37240
+ action_attempt_id: string
37241
+ status: 'error'
37242
+ /** Result of the action attempt. Null for failed action attempts. */
37243
+ result: null
37244
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
37245
+ error: {
37246
+ type: string
37247
+ message: string
37248
+ }
37249
+ }
37250
+ | {
37251
+ /** ID of the action attempt. */
37252
+ action_attempt_id: string
37253
+ status: 'pending'
37254
+ /** Result of the action attempt. Null for pending action attempts. */
37255
+ result: null
37256
+ /** Errors associated with the action attempt. Null for pending action attempts. */
37257
+ error: null
37258
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
37259
+ }
37260
+ | {
37261
+ /** ID of the action attempt. */
37262
+ action_attempt_id: string
37263
+ status: 'success'
37264
+ /** Errors associated with the action attempt. Null for successful action attempts. */
37265
+ error: null
37266
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
37267
+ result: {}
37268
+ }
37269
+ | {
37270
+ /** ID of the action attempt. */
37271
+ action_attempt_id: string
37272
+ status: 'error'
37273
+ /** Result of the action attempt. Null for failed action attempts. */
37274
+ result: null
37275
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
37276
+ error: {
37277
+ type: string
37278
+ message: string
37279
+ }
37280
+ }
36472
37281
  | {
36473
37282
  /** ID of the action attempt. */
36474
37283
  action_attempt_id: string
@@ -37176,6 +37985,32 @@ export interface Routes {
37176
37985
  }>
37177
37986
  }
37178
37987
  }
37988
+ '/seam/instant_key/v1/client_sessions/exchange_short_code': {
37989
+ route: '/seam/instant_key/v1/client_sessions/exchange_short_code'
37990
+ method: 'POST'
37991
+ queryParams: {}
37992
+ jsonBody: {
37993
+ /** The short code to exchange for a client session token */
37994
+ short_code: string
37995
+ }
37996
+ commonParams: {}
37997
+ formData: {}
37998
+ jsonResponse: {
37999
+ /** */
38000
+ client_session: {
38001
+ client_session_id: string
38002
+ workspace_id: string
38003
+ created_at: string
38004
+ expires_at: string
38005
+ token: string
38006
+ user_identifier_key: string | null
38007
+ device_count: number
38008
+ connected_account_ids: string[]
38009
+ connect_webview_ids: string[]
38010
+ user_identity_ids: string[]
38011
+ }
38012
+ }
38013
+ }
37179
38014
  '/thermostats/activate_climate_preset': {
37180
38015
  route: '/thermostats/activate_climate_preset'
37181
38016
  method: 'POST'
@@ -38082,6 +38917,68 @@ export interface Routes {
38082
38917
  message: string
38083
38918
  }
38084
38919
  }
38920
+ | {
38921
+ /** ID of the action attempt. */
38922
+ action_attempt_id: string
38923
+ status: 'pending'
38924
+ /** Result of the action attempt. Null for pending action attempts. */
38925
+ result: null
38926
+ /** Errors associated with the action attempt. Null for pending action attempts. */
38927
+ error: null
38928
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
38929
+ }
38930
+ | {
38931
+ /** ID of the action attempt. */
38932
+ action_attempt_id: string
38933
+ status: 'success'
38934
+ /** Errors associated with the action attempt. Null for successful action attempts. */
38935
+ error: null
38936
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
38937
+ result: {}
38938
+ }
38939
+ | {
38940
+ /** ID of the action attempt. */
38941
+ action_attempt_id: string
38942
+ status: 'error'
38943
+ /** Result of the action attempt. Null for failed action attempts. */
38944
+ result: null
38945
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
38946
+ error: {
38947
+ type: string
38948
+ message: string
38949
+ }
38950
+ }
38951
+ | {
38952
+ /** ID of the action attempt. */
38953
+ action_attempt_id: string
38954
+ status: 'pending'
38955
+ /** Result of the action attempt. Null for pending action attempts. */
38956
+ result: null
38957
+ /** Errors associated with the action attempt. Null for pending action attempts. */
38958
+ error: null
38959
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
38960
+ }
38961
+ | {
38962
+ /** ID of the action attempt. */
38963
+ action_attempt_id: string
38964
+ status: 'success'
38965
+ /** Errors associated with the action attempt. Null for successful action attempts. */
38966
+ error: null
38967
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
38968
+ result: {}
38969
+ }
38970
+ | {
38971
+ /** ID of the action attempt. */
38972
+ action_attempt_id: string
38973
+ status: 'error'
38974
+ /** Result of the action attempt. Null for failed action attempts. */
38975
+ result: null
38976
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
38977
+ error: {
38978
+ type: string
38979
+ message: string
38980
+ }
38981
+ }
38085
38982
  | {
38086
38983
  /** ID of the action attempt. */
38087
38984
  action_attempt_id: string
@@ -39219,6 +40116,68 @@ export interface Routes {
39219
40116
  message: string
39220
40117
  }
39221
40118
  }
40119
+ | {
40120
+ /** ID of the action attempt. */
40121
+ action_attempt_id: string
40122
+ status: 'pending'
40123
+ /** Result of the action attempt. Null for pending action attempts. */
40124
+ result: null
40125
+ /** Errors associated with the action attempt. Null for pending action attempts. */
40126
+ error: null
40127
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
40128
+ }
40129
+ | {
40130
+ /** ID of the action attempt. */
40131
+ action_attempt_id: string
40132
+ status: 'success'
40133
+ /** Errors associated with the action attempt. Null for successful action attempts. */
40134
+ error: null
40135
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
40136
+ result: {}
40137
+ }
40138
+ | {
40139
+ /** ID of the action attempt. */
40140
+ action_attempt_id: string
40141
+ status: 'error'
40142
+ /** Result of the action attempt. Null for failed action attempts. */
40143
+ result: null
40144
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
40145
+ error: {
40146
+ type: string
40147
+ message: string
40148
+ }
40149
+ }
40150
+ | {
40151
+ /** ID of the action attempt. */
40152
+ action_attempt_id: string
40153
+ status: 'pending'
40154
+ /** Result of the action attempt. Null for pending action attempts. */
40155
+ result: null
40156
+ /** Errors associated with the action attempt. Null for pending action attempts. */
40157
+ error: null
40158
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
40159
+ }
40160
+ | {
40161
+ /** ID of the action attempt. */
40162
+ action_attempt_id: string
40163
+ status: 'success'
40164
+ /** Errors associated with the action attempt. Null for successful action attempts. */
40165
+ error: null
40166
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
40167
+ result: {}
40168
+ }
40169
+ | {
40170
+ /** ID of the action attempt. */
40171
+ action_attempt_id: string
40172
+ status: 'error'
40173
+ /** Result of the action attempt. Null for failed action attempts. */
40174
+ result: null
40175
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
40176
+ error: {
40177
+ type: string
40178
+ message: string
40179
+ }
40180
+ }
39222
40181
  | {
39223
40182
  /** ID of the action attempt. */
39224
40183
  action_attempt_id: string
@@ -41342,6 +42301,68 @@ export interface Routes {
41342
42301
  message: string
41343
42302
  }
41344
42303
  }
42304
+ | {
42305
+ /** ID of the action attempt. */
42306
+ action_attempt_id: string
42307
+ status: 'pending'
42308
+ /** Result of the action attempt. Null for pending action attempts. */
42309
+ result: null
42310
+ /** Errors associated with the action attempt. Null for pending action attempts. */
42311
+ error: null
42312
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
42313
+ }
42314
+ | {
42315
+ /** ID of the action attempt. */
42316
+ action_attempt_id: string
42317
+ status: 'success'
42318
+ /** Errors associated with the action attempt. Null for successful action attempts. */
42319
+ error: null
42320
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
42321
+ result: {}
42322
+ }
42323
+ | {
42324
+ /** ID of the action attempt. */
42325
+ action_attempt_id: string
42326
+ status: 'error'
42327
+ /** Result of the action attempt. Null for failed action attempts. */
42328
+ result: null
42329
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
42330
+ error: {
42331
+ type: string
42332
+ message: string
42333
+ }
42334
+ }
42335
+ | {
42336
+ /** ID of the action attempt. */
42337
+ action_attempt_id: string
42338
+ status: 'pending'
42339
+ /** Result of the action attempt. Null for pending action attempts. */
42340
+ result: null
42341
+ /** Errors associated with the action attempt. Null for pending action attempts. */
42342
+ error: null
42343
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
42344
+ }
42345
+ | {
42346
+ /** ID of the action attempt. */
42347
+ action_attempt_id: string
42348
+ status: 'success'
42349
+ /** Errors associated with the action attempt. Null for successful action attempts. */
42350
+ error: null
42351
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
42352
+ result: {}
42353
+ }
42354
+ | {
42355
+ /** ID of the action attempt. */
42356
+ action_attempt_id: string
42357
+ status: 'error'
42358
+ /** Result of the action attempt. Null for failed action attempts. */
42359
+ result: null
42360
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
42361
+ error: {
42362
+ type: string
42363
+ message: string
42364
+ }
42365
+ }
41345
42366
  | {
41346
42367
  /** ID of the action attempt. */
41347
42368
  action_attempt_id: string
@@ -42483,6 +43504,68 @@ export interface Routes {
42483
43504
  message: string
42484
43505
  }
42485
43506
  }
43507
+ | {
43508
+ /** ID of the action attempt. */
43509
+ action_attempt_id: string
43510
+ status: 'pending'
43511
+ /** Result of the action attempt. Null for pending action attempts. */
43512
+ result: null
43513
+ /** Errors associated with the action attempt. Null for pending action attempts. */
43514
+ error: null
43515
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
43516
+ }
43517
+ | {
43518
+ /** ID of the action attempt. */
43519
+ action_attempt_id: string
43520
+ status: 'success'
43521
+ /** Errors associated with the action attempt. Null for successful action attempts. */
43522
+ error: null
43523
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
43524
+ result: {}
43525
+ }
43526
+ | {
43527
+ /** ID of the action attempt. */
43528
+ action_attempt_id: string
43529
+ status: 'error'
43530
+ /** Result of the action attempt. Null for failed action attempts. */
43531
+ result: null
43532
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
43533
+ error: {
43534
+ type: string
43535
+ message: string
43536
+ }
43537
+ }
43538
+ | {
43539
+ /** ID of the action attempt. */
43540
+ action_attempt_id: string
43541
+ status: 'pending'
43542
+ /** Result of the action attempt. Null for pending action attempts. */
43543
+ result: null
43544
+ /** Errors associated with the action attempt. Null for pending action attempts. */
43545
+ error: null
43546
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
43547
+ }
43548
+ | {
43549
+ /** ID of the action attempt. */
43550
+ action_attempt_id: string
43551
+ status: 'success'
43552
+ /** Errors associated with the action attempt. Null for successful action attempts. */
43553
+ error: null
43554
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
43555
+ result: {}
43556
+ }
43557
+ | {
43558
+ /** ID of the action attempt. */
43559
+ action_attempt_id: string
43560
+ status: 'error'
43561
+ /** Result of the action attempt. Null for failed action attempts. */
43562
+ result: null
43563
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
43564
+ error: {
43565
+ type: string
43566
+ message: string
43567
+ }
43568
+ }
42486
43569
  | {
42487
43570
  /** ID of the action attempt. */
42488
43571
  action_attempt_id: string
@@ -45551,6 +46634,68 @@ export interface Routes {
45551
46634
  message: string
45552
46635
  }
45553
46636
  }
46637
+ | {
46638
+ /** ID of the action attempt. */
46639
+ action_attempt_id: string
46640
+ status: 'pending'
46641
+ /** Result of the action attempt. Null for pending action attempts. */
46642
+ result: null
46643
+ /** Errors associated with the action attempt. Null for pending action attempts. */
46644
+ error: null
46645
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
46646
+ }
46647
+ | {
46648
+ /** ID of the action attempt. */
46649
+ action_attempt_id: string
46650
+ status: 'success'
46651
+ /** Errors associated with the action attempt. Null for successful action attempts. */
46652
+ error: null
46653
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
46654
+ result: {}
46655
+ }
46656
+ | {
46657
+ /** ID of the action attempt. */
46658
+ action_attempt_id: string
46659
+ status: 'error'
46660
+ /** Result of the action attempt. Null for failed action attempts. */
46661
+ result: null
46662
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
46663
+ error: {
46664
+ type: string
46665
+ message: string
46666
+ }
46667
+ }
46668
+ | {
46669
+ /** ID of the action attempt. */
46670
+ action_attempt_id: string
46671
+ status: 'pending'
46672
+ /** Result of the action attempt. Null for pending action attempts. */
46673
+ result: null
46674
+ /** Errors associated with the action attempt. Null for pending action attempts. */
46675
+ error: null
46676
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
46677
+ }
46678
+ | {
46679
+ /** ID of the action attempt. */
46680
+ action_attempt_id: string
46681
+ status: 'success'
46682
+ /** Errors associated with the action attempt. Null for successful action attempts. */
46683
+ error: null
46684
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
46685
+ result: {}
46686
+ }
46687
+ | {
46688
+ /** ID of the action attempt. */
46689
+ action_attempt_id: string
46690
+ status: 'error'
46691
+ /** Result of the action attempt. Null for failed action attempts. */
46692
+ result: null
46693
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
46694
+ error: {
46695
+ type: string
46696
+ message: string
46697
+ }
46698
+ }
45554
46699
  | {
45555
46700
  /** ID of the action attempt. */
45556
46701
  action_attempt_id: string
@@ -46874,6 +48019,68 @@ export interface Routes {
46874
48019
  message: string
46875
48020
  }
46876
48021
  }
48022
+ | {
48023
+ /** ID of the action attempt. */
48024
+ action_attempt_id: string
48025
+ status: 'pending'
48026
+ /** Result of the action attempt. Null for pending action attempts. */
48027
+ result: null
48028
+ /** Errors associated with the action attempt. Null for pending action attempts. */
48029
+ error: null
48030
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
48031
+ }
48032
+ | {
48033
+ /** ID of the action attempt. */
48034
+ action_attempt_id: string
48035
+ status: 'success'
48036
+ /** Errors associated with the action attempt. Null for successful action attempts. */
48037
+ error: null
48038
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
48039
+ result: {}
48040
+ }
48041
+ | {
48042
+ /** ID of the action attempt. */
48043
+ action_attempt_id: string
48044
+ status: 'error'
48045
+ /** Result of the action attempt. Null for failed action attempts. */
48046
+ result: null
48047
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
48048
+ error: {
48049
+ type: string
48050
+ message: string
48051
+ }
48052
+ }
48053
+ | {
48054
+ /** ID of the action attempt. */
48055
+ action_attempt_id: string
48056
+ status: 'pending'
48057
+ /** Result of the action attempt. Null for pending action attempts. */
48058
+ result: null
48059
+ /** Errors associated with the action attempt. Null for pending action attempts. */
48060
+ error: null
48061
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
48062
+ }
48063
+ | {
48064
+ /** ID of the action attempt. */
48065
+ action_attempt_id: string
48066
+ status: 'success'
48067
+ /** Errors associated with the action attempt. Null for successful action attempts. */
48068
+ error: null
48069
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
48070
+ result: {}
48071
+ }
48072
+ | {
48073
+ /** ID of the action attempt. */
48074
+ action_attempt_id: string
48075
+ status: 'error'
48076
+ /** Result of the action attempt. Null for failed action attempts. */
48077
+ result: null
48078
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
48079
+ error: {
48080
+ type: string
48081
+ message: string
48082
+ }
48083
+ }
46877
48084
  | {
46878
48085
  /** ID of the action attempt. */
46879
48086
  action_attempt_id: string
@@ -48038,6 +49245,68 @@ export interface Routes {
48038
49245
  message: string
48039
49246
  }
48040
49247
  }
49248
+ | {
49249
+ /** ID of the action attempt. */
49250
+ action_attempt_id: string
49251
+ status: 'pending'
49252
+ /** Result of the action attempt. Null for pending action attempts. */
49253
+ result: null
49254
+ /** Errors associated with the action attempt. Null for pending action attempts. */
49255
+ error: null
49256
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
49257
+ }
49258
+ | {
49259
+ /** ID of the action attempt. */
49260
+ action_attempt_id: string
49261
+ status: 'success'
49262
+ /** Errors associated with the action attempt. Null for successful action attempts. */
49263
+ error: null
49264
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
49265
+ result: {}
49266
+ }
49267
+ | {
49268
+ /** ID of the action attempt. */
49269
+ action_attempt_id: string
49270
+ status: 'error'
49271
+ /** Result of the action attempt. Null for failed action attempts. */
49272
+ result: null
49273
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
49274
+ error: {
49275
+ type: string
49276
+ message: string
49277
+ }
49278
+ }
49279
+ | {
49280
+ /** ID of the action attempt. */
49281
+ action_attempt_id: string
49282
+ status: 'pending'
49283
+ /** Result of the action attempt. Null for pending action attempts. */
49284
+ result: null
49285
+ /** Errors associated with the action attempt. Null for pending action attempts. */
49286
+ error: null
49287
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
49288
+ }
49289
+ | {
49290
+ /** ID of the action attempt. */
49291
+ action_attempt_id: string
49292
+ status: 'success'
49293
+ /** Errors associated with the action attempt. Null for successful action attempts. */
49294
+ error: null
49295
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
49296
+ result: {}
49297
+ }
49298
+ | {
49299
+ /** ID of the action attempt. */
49300
+ action_attempt_id: string
49301
+ status: 'error'
49302
+ /** Result of the action attempt. Null for failed action attempts. */
49303
+ result: null
49304
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
49305
+ error: {
49306
+ type: string
49307
+ message: string
49308
+ }
49309
+ }
48041
49310
  | {
48042
49311
  /** ID of the action attempt. */
48043
49312
  action_attempt_id: string
@@ -48407,13 +49676,15 @@ export interface Routes {
48407
49676
  /** When used, creates a new location with the given entrances and devices, and gives the user access to this location. */
48408
49677
  location?:
48409
49678
  | {
49679
+ /** Name of the location. */
49680
+ name?: string | undefined
48410
49681
  /** 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. */
48411
49682
  acs_entrance_ids?: string[]
48412
49683
  /** 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. */
48413
49684
  device_ids?: string[]
48414
49685
  }
48415
49686
  | undefined
48416
- desired_access_methods: Array<{
49687
+ requested_access_methods: Array<{
48417
49688
  /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
48418
49689
  mode: 'code' | 'card' | 'mobile_key'
48419
49690
  }>
@@ -48442,9 +49713,11 @@ export interface Routes {
48442
49713
  mode: 'code' | 'card' | 'mobile_key'
48443
49714
  /** Date and time at which the requested access method was added to this access grant. */
48444
49715
  created_at: string
48445
- /** IDs of the locations to which access is being given. */
48446
- provisioned_access_method_ids: string[]
49716
+ /** IDs of the access methods that were created for this requested access method. */
49717
+ created_access_method_ids: string[]
48447
49718
  }>
49719
+ /** IDs of the access methods that were created for this access grant. */
49720
+ access_method_ids: string[]
48448
49721
  /** Display name of the access grant. */
48449
49722
  display_name: string
48450
49723
  /** Date and time at which the access grant was created. */
@@ -48481,9 +49754,11 @@ export interface Routes {
48481
49754
  mode: 'code' | 'card' | 'mobile_key'
48482
49755
  /** Date and time at which the requested access method was added to this access grant. */
48483
49756
  created_at: string
48484
- /** IDs of the locations to which access is being given. */
48485
- provisioned_access_method_ids: string[]
49757
+ /** IDs of the access methods that were created for this requested access method. */
49758
+ created_access_method_ids: string[]
48486
49759
  }>
49760
+ /** IDs of the access methods that were created for this access grant. */
49761
+ access_method_ids: string[]
48487
49762
  /** Display name of the access grant. */
48488
49763
  display_name: string
48489
49764
  /** Date and time at which the access grant was created. */
@@ -48525,9 +49800,11 @@ export interface Routes {
48525
49800
  mode: 'code' | 'card' | 'mobile_key'
48526
49801
  /** Date and time at which the requested access method was added to this access grant. */
48527
49802
  created_at: string
48528
- /** IDs of the locations to which access is being given. */
48529
- provisioned_access_method_ids: string[]
49803
+ /** IDs of the access methods that were created for this requested access method. */
49804
+ created_access_method_ids: string[]
48530
49805
  }>
49806
+ /** IDs of the access methods that were created for this access grant. */
49807
+ access_method_ids: string[]
48531
49808
  /** Display name of the access grant. */
48532
49809
  display_name: string
48533
49810
  /** Date and time at which the access grant was created. */
@@ -48535,8 +49812,8 @@ export interface Routes {
48535
49812
  }>
48536
49813
  }
48537
49814
  }
48538
- '/unstable_access_grants/list_access_methods': {
48539
- route: '/unstable_access_grants/list_access_methods'
49815
+ '/unstable_access_methods/list': {
49816
+ route: '/unstable_access_methods/list'
48540
49817
  method: 'GET' | 'POST'
48541
49818
  queryParams: {}
48542
49819
  jsonBody: {}
@@ -52350,6 +53627,68 @@ export interface Routes {
52350
53627
  message: string
52351
53628
  }
52352
53629
  }
53630
+ | {
53631
+ /** ID of the action attempt. */
53632
+ action_attempt_id: string
53633
+ status: 'pending'
53634
+ /** Result of the action attempt. Null for pending action attempts. */
53635
+ result: null
53636
+ /** Errors associated with the action attempt. Null for pending action attempts. */
53637
+ error: null
53638
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
53639
+ }
53640
+ | {
53641
+ /** ID of the action attempt. */
53642
+ action_attempt_id: string
53643
+ status: 'success'
53644
+ /** Errors associated with the action attempt. Null for successful action attempts. */
53645
+ error: null
53646
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
53647
+ result: {}
53648
+ }
53649
+ | {
53650
+ /** ID of the action attempt. */
53651
+ action_attempt_id: string
53652
+ status: 'error'
53653
+ /** Result of the action attempt. Null for failed action attempts. */
53654
+ result: null
53655
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
53656
+ error: {
53657
+ type: string
53658
+ message: string
53659
+ }
53660
+ }
53661
+ | {
53662
+ /** ID of the action attempt. */
53663
+ action_attempt_id: string
53664
+ status: 'pending'
53665
+ /** Result of the action attempt. Null for pending action attempts. */
53666
+ result: null
53667
+ /** Errors associated with the action attempt. Null for pending action attempts. */
53668
+ error: null
53669
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
53670
+ }
53671
+ | {
53672
+ /** ID of the action attempt. */
53673
+ action_attempt_id: string
53674
+ status: 'success'
53675
+ /** Errors associated with the action attempt. Null for successful action attempts. */
53676
+ error: null
53677
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
53678
+ result: {}
53679
+ }
53680
+ | {
53681
+ /** ID of the action attempt. */
53682
+ action_attempt_id: string
53683
+ status: 'error'
53684
+ /** Result of the action attempt. Null for failed action attempts. */
53685
+ result: null
53686
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
53687
+ error: {
53688
+ type: string
53689
+ message: string
53690
+ }
53691
+ }
52353
53692
  | {
52354
53693
  /** ID of the action attempt. */
52355
53694
  action_attempt_id: string