@seamapi/types 1.282.0 → 1.284.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 (31) hide show
  1. package/dist/connect.cjs +85 -14
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +336 -79
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  5. package/lib/seam/connect/models/acs/acs-system.js +3 -0
  6. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +62 -2
  8. package/lib/seam/connect/models/action-attempts/common.d.ts +19 -0
  9. package/lib/seam/connect/models/action-attempts/common.js +10 -0
  10. package/lib/seam/connect/models/action-attempts/common.js.map +1 -1
  11. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +30 -0
  12. package/lib/seam/connect/models/action-attempts/encode-card.js +2 -1
  13. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/scan-card.d.ts +32 -2
  15. package/lib/seam/connect/models/action-attempts/scan-card.js +6 -2
  16. package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -2
  18. package/lib/seam/connect/models/devices/device-provider.js +3 -2
  19. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  20. package/lib/seam/connect/openapi.d.ts +15 -60
  21. package/lib/seam/connect/openapi.js +60 -8
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +250 -10
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/acs-system.ts +3 -0
  26. package/src/lib/seam/connect/models/action-attempts/common.ts +11 -0
  27. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +2 -0
  28. package/src/lib/seam/connect/models/action-attempts/scan-card.ts +7 -1
  29. package/src/lib/seam/connect/models/devices/device-provider.ts +3 -2
  30. package/src/lib/seam/connect/openapi.ts +60 -8
  31. package/src/lib/seam/connect/route-types.ts +450 -82
@@ -285,10 +285,19 @@ export interface Routes {
285
285
  status: 'error'
286
286
  result: null
287
287
  action_type: 'SCAN_CARD'
288
- error: {
289
- type: 'no_card_on_encoder'
290
- message: string
291
- }
288
+ error:
289
+ | {
290
+ type: 'uncategorized_error'
291
+ message: string
292
+ }
293
+ | {
294
+ type: 'action_attempt_expired'
295
+ message: string
296
+ }
297
+ | {
298
+ type: 'no_card_on_encoder'
299
+ message: string
300
+ }
292
301
  }
293
302
  | {
294
303
  /** The ID of the action attempt. */
@@ -460,6 +469,14 @@ export interface Routes {
460
469
  result: null
461
470
  action_type: 'ENCODE_CARD'
462
471
  error:
472
+ | {
473
+ type: 'uncategorized_error'
474
+ message: string
475
+ }
476
+ | {
477
+ type: 'action_attempt_expired'
478
+ message: string
479
+ }
463
480
  | {
464
481
  type: 'no_card_on_encoder'
465
482
  message: string
@@ -1286,10 +1303,19 @@ export interface Routes {
1286
1303
  status: 'error'
1287
1304
  result: null
1288
1305
  action_type: 'SCAN_CARD'
1289
- error: {
1290
- type: 'no_card_on_encoder'
1291
- message: string
1292
- }
1306
+ error:
1307
+ | {
1308
+ type: 'uncategorized_error'
1309
+ message: string
1310
+ }
1311
+ | {
1312
+ type: 'action_attempt_expired'
1313
+ message: string
1314
+ }
1315
+ | {
1316
+ type: 'no_card_on_encoder'
1317
+ message: string
1318
+ }
1293
1319
  }
1294
1320
  | {
1295
1321
  /** The ID of the action attempt. */
@@ -1461,6 +1487,14 @@ export interface Routes {
1461
1487
  result: null
1462
1488
  action_type: 'ENCODE_CARD'
1463
1489
  error:
1490
+ | {
1491
+ type: 'uncategorized_error'
1492
+ message: string
1493
+ }
1494
+ | {
1495
+ type: 'action_attempt_expired'
1496
+ message: string
1497
+ }
1464
1498
  | {
1465
1499
  type: 'no_card_on_encoder'
1466
1500
  message: string
@@ -2452,10 +2486,19 @@ export interface Routes {
2452
2486
  status: 'error'
2453
2487
  result: null
2454
2488
  action_type: 'SCAN_CARD'
2455
- error: {
2456
- type: 'no_card_on_encoder'
2457
- message: string
2458
- }
2489
+ error:
2490
+ | {
2491
+ type: 'uncategorized_error'
2492
+ message: string
2493
+ }
2494
+ | {
2495
+ type: 'action_attempt_expired'
2496
+ message: string
2497
+ }
2498
+ | {
2499
+ type: 'no_card_on_encoder'
2500
+ message: string
2501
+ }
2459
2502
  }
2460
2503
  | {
2461
2504
  /** The ID of the action attempt. */
@@ -2627,6 +2670,14 @@ export interface Routes {
2627
2670
  result: null
2628
2671
  action_type: 'ENCODE_CARD'
2629
2672
  error:
2673
+ | {
2674
+ type: 'uncategorized_error'
2675
+ message: string
2676
+ }
2677
+ | {
2678
+ type: 'action_attempt_expired'
2679
+ message: string
2680
+ }
2630
2681
  | {
2631
2682
  type: 'no_card_on_encoder'
2632
2683
  message: string
@@ -3440,10 +3491,19 @@ export interface Routes {
3440
3491
  status: 'error'
3441
3492
  result: null
3442
3493
  action_type: 'SCAN_CARD'
3443
- error: {
3444
- type: 'no_card_on_encoder'
3445
- message: string
3446
- }
3494
+ error:
3495
+ | {
3496
+ type: 'uncategorized_error'
3497
+ message: string
3498
+ }
3499
+ | {
3500
+ type: 'action_attempt_expired'
3501
+ message: string
3502
+ }
3503
+ | {
3504
+ type: 'no_card_on_encoder'
3505
+ message: string
3506
+ }
3447
3507
  }
3448
3508
  | {
3449
3509
  /** The ID of the action attempt. */
@@ -3615,6 +3675,14 @@ export interface Routes {
3615
3675
  result: null
3616
3676
  action_type: 'ENCODE_CARD'
3617
3677
  error:
3678
+ | {
3679
+ type: 'uncategorized_error'
3680
+ message: string
3681
+ }
3682
+ | {
3683
+ type: 'action_attempt_expired'
3684
+ message: string
3685
+ }
3618
3686
  | {
3619
3687
  type: 'no_card_on_encoder'
3620
3688
  message: string
@@ -5575,10 +5643,19 @@ export interface Routes {
5575
5643
  status: 'error'
5576
5644
  result: null
5577
5645
  action_type: 'SCAN_CARD'
5578
- error: {
5579
- type: 'no_card_on_encoder'
5580
- message: string
5581
- }
5646
+ error:
5647
+ | {
5648
+ type: 'uncategorized_error'
5649
+ message: string
5650
+ }
5651
+ | {
5652
+ type: 'action_attempt_expired'
5653
+ message: string
5654
+ }
5655
+ | {
5656
+ type: 'no_card_on_encoder'
5657
+ message: string
5658
+ }
5582
5659
  }
5583
5660
  | {
5584
5661
  /** The ID of the action attempt. */
@@ -5750,6 +5827,14 @@ export interface Routes {
5750
5827
  result: null
5751
5828
  action_type: 'ENCODE_CARD'
5752
5829
  error:
5830
+ | {
5831
+ type: 'uncategorized_error'
5832
+ message: string
5833
+ }
5834
+ | {
5835
+ type: 'action_attempt_expired'
5836
+ message: string
5837
+ }
5753
5838
  | {
5754
5839
  type: 'no_card_on_encoder'
5755
5840
  message: string
@@ -7081,10 +7166,19 @@ export interface Routes {
7081
7166
  status: 'error'
7082
7167
  result: null
7083
7168
  action_type: 'SCAN_CARD'
7084
- error: {
7085
- type: 'no_card_on_encoder'
7086
- message: string
7087
- }
7169
+ error:
7170
+ | {
7171
+ type: 'uncategorized_error'
7172
+ message: string
7173
+ }
7174
+ | {
7175
+ type: 'action_attempt_expired'
7176
+ message: string
7177
+ }
7178
+ | {
7179
+ type: 'no_card_on_encoder'
7180
+ message: string
7181
+ }
7088
7182
  }
7089
7183
  | {
7090
7184
  /** The ID of the action attempt. */
@@ -7256,6 +7350,14 @@ export interface Routes {
7256
7350
  result: null
7257
7351
  action_type: 'ENCODE_CARD'
7258
7352
  error:
7353
+ | {
7354
+ type: 'uncategorized_error'
7355
+ message: string
7356
+ }
7357
+ | {
7358
+ type: 'action_attempt_expired'
7359
+ message: string
7360
+ }
7259
7361
  | {
7260
7362
  type: 'no_card_on_encoder'
7261
7363
  message: string
@@ -7912,6 +8014,9 @@ export interface Routes {
7912
8014
  | 'assa_abloy_credential_service'
7913
8015
  | 'latch_building'
7914
8016
  | 'dormakaba_community'
8017
+ | 'legic_connect'
8018
+ | 'assa_abloy_vostio'
8019
+ | 'vostio_credential_service'
7915
8020
  )
7916
8021
  | undefined
7917
8022
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -7941,6 +8046,9 @@ export interface Routes {
7941
8046
  | 'assa_abloy_credential_service'
7942
8047
  | 'latch_building'
7943
8048
  | 'dormakaba_community'
8049
+ | 'legic_connect'
8050
+ | 'assa_abloy_vostio'
8051
+ | 'vostio_credential_service'
7944
8052
  )
7945
8053
  | undefined
7946
8054
  /**
@@ -8049,6 +8157,9 @@ export interface Routes {
8049
8157
  | 'assa_abloy_credential_service'
8050
8158
  | 'latch_building'
8051
8159
  | 'dormakaba_community'
8160
+ | 'legic_connect'
8161
+ | 'assa_abloy_vostio'
8162
+ | 'vostio_credential_service'
8052
8163
  )
8053
8164
  | undefined
8054
8165
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -8078,6 +8189,9 @@ export interface Routes {
8078
8189
  | 'assa_abloy_credential_service'
8079
8190
  | 'latch_building'
8080
8191
  | 'dormakaba_community'
8192
+ | 'legic_connect'
8193
+ | 'assa_abloy_vostio'
8194
+ | 'vostio_credential_service'
8081
8195
  )
8082
8196
  | undefined
8083
8197
  /**
@@ -8186,6 +8300,9 @@ export interface Routes {
8186
8300
  | 'assa_abloy_credential_service'
8187
8301
  | 'latch_building'
8188
8302
  | 'dormakaba_community'
8303
+ | 'legic_connect'
8304
+ | 'assa_abloy_vostio'
8305
+ | 'vostio_credential_service'
8189
8306
  )
8190
8307
  | undefined
8191
8308
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -8215,6 +8332,9 @@ export interface Routes {
8215
8332
  | 'assa_abloy_credential_service'
8216
8333
  | 'latch_building'
8217
8334
  | 'dormakaba_community'
8335
+ | 'legic_connect'
8336
+ | 'assa_abloy_vostio'
8337
+ | 'vostio_credential_service'
8218
8338
  )
8219
8339
  | undefined
8220
8340
  /**
@@ -9374,10 +9494,19 @@ export interface Routes {
9374
9494
  status: 'error'
9375
9495
  result: null
9376
9496
  action_type: 'SCAN_CARD'
9377
- error: {
9378
- type: 'no_card_on_encoder'
9379
- message: string
9380
- }
9497
+ error:
9498
+ | {
9499
+ type: 'uncategorized_error'
9500
+ message: string
9501
+ }
9502
+ | {
9503
+ type: 'action_attempt_expired'
9504
+ message: string
9505
+ }
9506
+ | {
9507
+ type: 'no_card_on_encoder'
9508
+ message: string
9509
+ }
9381
9510
  }
9382
9511
  | {
9383
9512
  /** The ID of the action attempt. */
@@ -9549,6 +9678,14 @@ export interface Routes {
9549
9678
  result: null
9550
9679
  action_type: 'ENCODE_CARD'
9551
9680
  error:
9681
+ | {
9682
+ type: 'uncategorized_error'
9683
+ message: string
9684
+ }
9685
+ | {
9686
+ type: 'action_attempt_expired'
9687
+ message: string
9688
+ }
9552
9689
  | {
9553
9690
  type: 'no_card_on_encoder'
9554
9691
  message: string
@@ -10216,10 +10353,19 @@ export interface Routes {
10216
10353
  status: 'error'
10217
10354
  result: null
10218
10355
  action_type: 'SCAN_CARD'
10219
- error: {
10220
- type: 'no_card_on_encoder'
10221
- message: string
10222
- }
10356
+ error:
10357
+ | {
10358
+ type: 'uncategorized_error'
10359
+ message: string
10360
+ }
10361
+ | {
10362
+ type: 'action_attempt_expired'
10363
+ message: string
10364
+ }
10365
+ | {
10366
+ type: 'no_card_on_encoder'
10367
+ message: string
10368
+ }
10223
10369
  }
10224
10370
  | {
10225
10371
  /** The ID of the action attempt. */
@@ -10391,6 +10537,14 @@ export interface Routes {
10391
10537
  result: null
10392
10538
  action_type: 'ENCODE_CARD'
10393
10539
  error:
10540
+ | {
10541
+ type: 'uncategorized_error'
10542
+ message: string
10543
+ }
10544
+ | {
10545
+ type: 'action_attempt_expired'
10546
+ message: string
10547
+ }
10394
10548
  | {
10395
10549
  type: 'no_card_on_encoder'
10396
10550
  message: string
@@ -10954,6 +11108,7 @@ export interface Routes {
10954
11108
  accepted_providers?:
10955
11109
  | Array<
10956
11110
  | 'dormakaba_community'
11111
+ | 'legic_connect'
10957
11112
  | 'akuvox'
10958
11113
  | 'august'
10959
11114
  | 'avigilon_alta'
@@ -10992,7 +11147,8 @@ export interface Routes {
10992
11147
  | 'honeywell_resideo'
10993
11148
  | 'latch'
10994
11149
  | 'akiles'
10995
- | 'vostio'
11150
+ | 'assa_abloy_vostio'
11151
+ | 'vostio_credential_service'
10996
11152
  | 'yale_access'
10997
11153
  | 'hid_cm'
10998
11154
  | 'google_nest'
@@ -12762,6 +12918,7 @@ export interface Routes {
12762
12918
  device_providers: Array<{
12763
12919
  device_provider_name:
12764
12920
  | 'dormakaba_community'
12921
+ | 'legic_connect'
12765
12922
  | 'akuvox'
12766
12923
  | 'august'
12767
12924
  | 'avigilon_alta'
@@ -12800,7 +12957,8 @@ export interface Routes {
12800
12957
  | 'honeywell_resideo'
12801
12958
  | 'latch'
12802
12959
  | 'akiles'
12803
- | 'vostio'
12960
+ | 'assa_abloy_vostio'
12961
+ | 'vostio_credential_service'
12804
12962
  display_name: string
12805
12963
  image_url: string
12806
12964
  provider_categories: Array<
@@ -16623,10 +16781,19 @@ export interface Routes {
16623
16781
  status: 'error'
16624
16782
  result: null
16625
16783
  action_type: 'SCAN_CARD'
16626
- error: {
16627
- type: 'no_card_on_encoder'
16628
- message: string
16629
- }
16784
+ error:
16785
+ | {
16786
+ type: 'uncategorized_error'
16787
+ message: string
16788
+ }
16789
+ | {
16790
+ type: 'action_attempt_expired'
16791
+ message: string
16792
+ }
16793
+ | {
16794
+ type: 'no_card_on_encoder'
16795
+ message: string
16796
+ }
16630
16797
  }
16631
16798
  | {
16632
16799
  /** The ID of the action attempt. */
@@ -16798,6 +16965,14 @@ export interface Routes {
16798
16965
  result: null
16799
16966
  action_type: 'ENCODE_CARD'
16800
16967
  error:
16968
+ | {
16969
+ type: 'uncategorized_error'
16970
+ message: string
16971
+ }
16972
+ | {
16973
+ type: 'action_attempt_expired'
16974
+ message: string
16975
+ }
16801
16976
  | {
16802
16977
  type: 'no_card_on_encoder'
16803
16978
  message: string
@@ -17466,10 +17641,19 @@ export interface Routes {
17466
17641
  status: 'error'
17467
17642
  result: null
17468
17643
  action_type: 'SCAN_CARD'
17469
- error: {
17470
- type: 'no_card_on_encoder'
17471
- message: string
17472
- }
17644
+ error:
17645
+ | {
17646
+ type: 'uncategorized_error'
17647
+ message: string
17648
+ }
17649
+ | {
17650
+ type: 'action_attempt_expired'
17651
+ message: string
17652
+ }
17653
+ | {
17654
+ type: 'no_card_on_encoder'
17655
+ message: string
17656
+ }
17473
17657
  }
17474
17658
  | {
17475
17659
  /** The ID of the action attempt. */
@@ -17641,6 +17825,14 @@ export interface Routes {
17641
17825
  result: null
17642
17826
  action_type: 'ENCODE_CARD'
17643
17827
  error:
17828
+ | {
17829
+ type: 'uncategorized_error'
17830
+ message: string
17831
+ }
17832
+ | {
17833
+ type: 'action_attempt_expired'
17834
+ message: string
17835
+ }
17644
17836
  | {
17645
17837
  type: 'no_card_on_encoder'
17646
17838
  message: string
@@ -19799,10 +19991,19 @@ export interface Routes {
19799
19991
  status: 'error'
19800
19992
  result: null
19801
19993
  action_type: 'SCAN_CARD'
19802
- error: {
19803
- type: 'no_card_on_encoder'
19804
- message: string
19805
- }
19994
+ error:
19995
+ | {
19996
+ type: 'uncategorized_error'
19997
+ message: string
19998
+ }
19999
+ | {
20000
+ type: 'action_attempt_expired'
20001
+ message: string
20002
+ }
20003
+ | {
20004
+ type: 'no_card_on_encoder'
20005
+ message: string
20006
+ }
19806
20007
  }
19807
20008
  | {
19808
20009
  /** The ID of the action attempt. */
@@ -19974,6 +20175,14 @@ export interface Routes {
19974
20175
  result: null
19975
20176
  action_type: 'ENCODE_CARD'
19976
20177
  error:
20178
+ | {
20179
+ type: 'uncategorized_error'
20180
+ message: string
20181
+ }
20182
+ | {
20183
+ type: 'action_attempt_expired'
20184
+ message: string
20185
+ }
19977
20186
  | {
19978
20187
  type: 'no_card_on_encoder'
19979
20188
  message: string
@@ -20652,10 +20861,19 @@ export interface Routes {
20652
20861
  status: 'error'
20653
20862
  result: null
20654
20863
  action_type: 'SCAN_CARD'
20655
- error: {
20656
- type: 'no_card_on_encoder'
20657
- message: string
20658
- }
20864
+ error:
20865
+ | {
20866
+ type: 'uncategorized_error'
20867
+ message: string
20868
+ }
20869
+ | {
20870
+ type: 'action_attempt_expired'
20871
+ message: string
20872
+ }
20873
+ | {
20874
+ type: 'no_card_on_encoder'
20875
+ message: string
20876
+ }
20659
20877
  }
20660
20878
  | {
20661
20879
  /** The ID of the action attempt. */
@@ -20827,6 +21045,14 @@ export interface Routes {
20827
21045
  result: null
20828
21046
  action_type: 'ENCODE_CARD'
20829
21047
  error:
21048
+ | {
21049
+ type: 'uncategorized_error'
21050
+ message: string
21051
+ }
21052
+ | {
21053
+ type: 'action_attempt_expired'
21054
+ message: string
21055
+ }
20830
21056
  | {
20831
21057
  type: 'no_card_on_encoder'
20832
21058
  message: string
@@ -21544,10 +21770,19 @@ export interface Routes {
21544
21770
  status: 'error'
21545
21771
  result: null
21546
21772
  action_type: 'SCAN_CARD'
21547
- error: {
21548
- type: 'no_card_on_encoder'
21549
- message: string
21550
- }
21773
+ error:
21774
+ | {
21775
+ type: 'uncategorized_error'
21776
+ message: string
21777
+ }
21778
+ | {
21779
+ type: 'action_attempt_expired'
21780
+ message: string
21781
+ }
21782
+ | {
21783
+ type: 'no_card_on_encoder'
21784
+ message: string
21785
+ }
21551
21786
  }
21552
21787
  | {
21553
21788
  /** The ID of the action attempt. */
@@ -21719,6 +21954,14 @@ export interface Routes {
21719
21954
  result: null
21720
21955
  action_type: 'ENCODE_CARD'
21721
21956
  error:
21957
+ | {
21958
+ type: 'uncategorized_error'
21959
+ message: string
21960
+ }
21961
+ | {
21962
+ type: 'action_attempt_expired'
21963
+ message: string
21964
+ }
21722
21965
  | {
21723
21966
  type: 'no_card_on_encoder'
21724
21967
  message: string
@@ -22593,10 +22836,19 @@ export interface Routes {
22593
22836
  status: 'error'
22594
22837
  result: null
22595
22838
  action_type: 'SCAN_CARD'
22596
- error: {
22597
- type: 'no_card_on_encoder'
22598
- message: string
22599
- }
22839
+ error:
22840
+ | {
22841
+ type: 'uncategorized_error'
22842
+ message: string
22843
+ }
22844
+ | {
22845
+ type: 'action_attempt_expired'
22846
+ message: string
22847
+ }
22848
+ | {
22849
+ type: 'no_card_on_encoder'
22850
+ message: string
22851
+ }
22600
22852
  }
22601
22853
  | {
22602
22854
  /** The ID of the action attempt. */
@@ -22768,6 +23020,14 @@ export interface Routes {
22768
23020
  result: null
22769
23021
  action_type: 'ENCODE_CARD'
22770
23022
  error:
23023
+ | {
23024
+ type: 'uncategorized_error'
23025
+ message: string
23026
+ }
23027
+ | {
23028
+ type: 'action_attempt_expired'
23029
+ message: string
23030
+ }
22771
23031
  | {
22772
23032
  type: 'no_card_on_encoder'
22773
23033
  message: string
@@ -23438,10 +23698,19 @@ export interface Routes {
23438
23698
  status: 'error'
23439
23699
  result: null
23440
23700
  action_type: 'SCAN_CARD'
23441
- error: {
23442
- type: 'no_card_on_encoder'
23443
- message: string
23444
- }
23701
+ error:
23702
+ | {
23703
+ type: 'uncategorized_error'
23704
+ message: string
23705
+ }
23706
+ | {
23707
+ type: 'action_attempt_expired'
23708
+ message: string
23709
+ }
23710
+ | {
23711
+ type: 'no_card_on_encoder'
23712
+ message: string
23713
+ }
23445
23714
  }
23446
23715
  | {
23447
23716
  /** The ID of the action attempt. */
@@ -23613,6 +23882,14 @@ export interface Routes {
23613
23882
  result: null
23614
23883
  action_type: 'ENCODE_CARD'
23615
23884
  error:
23885
+ | {
23886
+ type: 'uncategorized_error'
23887
+ message: string
23888
+ }
23889
+ | {
23890
+ type: 'action_attempt_expired'
23891
+ message: string
23892
+ }
23616
23893
  | {
23617
23894
  type: 'no_card_on_encoder'
23618
23895
  message: string
@@ -24968,10 +25245,19 @@ export interface Routes {
24968
25245
  status: 'error'
24969
25246
  result: null
24970
25247
  action_type: 'SCAN_CARD'
24971
- error: {
24972
- type: 'no_card_on_encoder'
24973
- message: string
24974
- }
25248
+ error:
25249
+ | {
25250
+ type: 'uncategorized_error'
25251
+ message: string
25252
+ }
25253
+ | {
25254
+ type: 'action_attempt_expired'
25255
+ message: string
25256
+ }
25257
+ | {
25258
+ type: 'no_card_on_encoder'
25259
+ message: string
25260
+ }
24975
25261
  }
24976
25262
  | {
24977
25263
  /** The ID of the action attempt. */
@@ -25143,6 +25429,14 @@ export interface Routes {
25143
25429
  result: null
25144
25430
  action_type: 'ENCODE_CARD'
25145
25431
  error:
25432
+ | {
25433
+ type: 'uncategorized_error'
25434
+ message: string
25435
+ }
25436
+ | {
25437
+ type: 'action_attempt_expired'
25438
+ message: string
25439
+ }
25146
25440
  | {
25147
25441
  type: 'no_card_on_encoder'
25148
25442
  message: string
@@ -25815,10 +26109,19 @@ export interface Routes {
25815
26109
  status: 'error'
25816
26110
  result: null
25817
26111
  action_type: 'SCAN_CARD'
25818
- error: {
25819
- type: 'no_card_on_encoder'
25820
- message: string
25821
- }
26112
+ error:
26113
+ | {
26114
+ type: 'uncategorized_error'
26115
+ message: string
26116
+ }
26117
+ | {
26118
+ type: 'action_attempt_expired'
26119
+ message: string
26120
+ }
26121
+ | {
26122
+ type: 'no_card_on_encoder'
26123
+ message: string
26124
+ }
25822
26125
  }
25823
26126
  | {
25824
26127
  /** The ID of the action attempt. */
@@ -25990,6 +26293,14 @@ export interface Routes {
25990
26293
  result: null
25991
26294
  action_type: 'ENCODE_CARD'
25992
26295
  error:
26296
+ | {
26297
+ type: 'uncategorized_error'
26298
+ message: string
26299
+ }
26300
+ | {
26301
+ type: 'action_attempt_expired'
26302
+ message: string
26303
+ }
25993
26304
  | {
25994
26305
  type: 'no_card_on_encoder'
25995
26306
  message: string
@@ -28109,10 +28420,19 @@ export interface Routes {
28109
28420
  status: 'error'
28110
28421
  result: null
28111
28422
  action_type: 'SCAN_CARD'
28112
- error: {
28113
- type: 'no_card_on_encoder'
28114
- message: string
28115
- }
28423
+ error:
28424
+ | {
28425
+ type: 'uncategorized_error'
28426
+ message: string
28427
+ }
28428
+ | {
28429
+ type: 'action_attempt_expired'
28430
+ message: string
28431
+ }
28432
+ | {
28433
+ type: 'no_card_on_encoder'
28434
+ message: string
28435
+ }
28116
28436
  }
28117
28437
  | {
28118
28438
  /** The ID of the action attempt. */
@@ -28284,6 +28604,14 @@ export interface Routes {
28284
28604
  result: null
28285
28605
  action_type: 'ENCODE_CARD'
28286
28606
  error:
28607
+ | {
28608
+ type: 'uncategorized_error'
28609
+ message: string
28610
+ }
28611
+ | {
28612
+ type: 'action_attempt_expired'
28613
+ message: string
28614
+ }
28287
28615
  | {
28288
28616
  type: 'no_card_on_encoder'
28289
28617
  message: string
@@ -29073,10 +29401,19 @@ export interface Routes {
29073
29401
  status: 'error'
29074
29402
  result: null
29075
29403
  action_type: 'SCAN_CARD'
29076
- error: {
29077
- type: 'no_card_on_encoder'
29078
- message: string
29079
- }
29404
+ error:
29405
+ | {
29406
+ type: 'uncategorized_error'
29407
+ message: string
29408
+ }
29409
+ | {
29410
+ type: 'action_attempt_expired'
29411
+ message: string
29412
+ }
29413
+ | {
29414
+ type: 'no_card_on_encoder'
29415
+ message: string
29416
+ }
29080
29417
  }
29081
29418
  | {
29082
29419
  /** The ID of the action attempt. */
@@ -29248,6 +29585,14 @@ export interface Routes {
29248
29585
  result: null
29249
29586
  action_type: 'ENCODE_CARD'
29250
29587
  error:
29588
+ | {
29589
+ type: 'uncategorized_error'
29590
+ message: string
29591
+ }
29592
+ | {
29593
+ type: 'action_attempt_expired'
29594
+ message: string
29595
+ }
29251
29596
  | {
29252
29597
  type: 'no_card_on_encoder'
29253
29598
  message: string
@@ -31182,6 +31527,9 @@ export interface Routes {
31182
31527
  | 'assa_abloy_credential_service'
31183
31528
  | 'latch_building'
31184
31529
  | 'dormakaba_community'
31530
+ | 'legic_connect'
31531
+ | 'assa_abloy_vostio'
31532
+ | 'vostio_credential_service'
31185
31533
  )
31186
31534
  | undefined
31187
31535
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -31211,6 +31559,9 @@ export interface Routes {
31211
31559
  | 'assa_abloy_credential_service'
31212
31560
  | 'latch_building'
31213
31561
  | 'dormakaba_community'
31562
+ | 'legic_connect'
31563
+ | 'assa_abloy_vostio'
31564
+ | 'vostio_credential_service'
31214
31565
  )
31215
31566
  | undefined
31216
31567
  /**
@@ -31861,10 +32212,19 @@ export interface Routes {
31861
32212
  status: 'error'
31862
32213
  result: null
31863
32214
  action_type: 'SCAN_CARD'
31864
- error: {
31865
- type: 'no_card_on_encoder'
31866
- message: string
31867
- }
32215
+ error:
32216
+ | {
32217
+ type: 'uncategorized_error'
32218
+ message: string
32219
+ }
32220
+ | {
32221
+ type: 'action_attempt_expired'
32222
+ message: string
32223
+ }
32224
+ | {
32225
+ type: 'no_card_on_encoder'
32226
+ message: string
32227
+ }
31868
32228
  }
31869
32229
  | {
31870
32230
  /** The ID of the action attempt. */
@@ -32036,6 +32396,14 @@ export interface Routes {
32036
32396
  result: null
32037
32397
  action_type: 'ENCODE_CARD'
32038
32398
  error:
32399
+ | {
32400
+ type: 'uncategorized_error'
32401
+ message: string
32402
+ }
32403
+ | {
32404
+ type: 'action_attempt_expired'
32405
+ message: string
32406
+ }
32039
32407
  | {
32040
32408
  type: 'no_card_on_encoder'
32041
32409
  message: string