@seamapi/types 1.283.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 +81 -13
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +335 -78
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  5. package/lib/seam/connect/models/acs/acs-system.js +2 -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 +3 -1
  18. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  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 +56 -6
  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 +2 -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 +2 -1
  30. package/src/lib/seam/connect/openapi.ts +56 -6
  31. package/src/lib/seam/connect/route-types.ts +440 -80
@@ -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,7 +8014,9 @@ export interface Routes {
7912
8014
  | 'assa_abloy_credential_service'
7913
8015
  | 'latch_building'
7914
8016
  | 'dormakaba_community'
8017
+ | 'legic_connect'
7915
8018
  | 'assa_abloy_vostio'
8019
+ | 'vostio_credential_service'
7916
8020
  )
7917
8021
  | undefined
7918
8022
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -7942,7 +8046,9 @@ export interface Routes {
7942
8046
  | 'assa_abloy_credential_service'
7943
8047
  | 'latch_building'
7944
8048
  | 'dormakaba_community'
8049
+ | 'legic_connect'
7945
8050
  | 'assa_abloy_vostio'
8051
+ | 'vostio_credential_service'
7946
8052
  )
7947
8053
  | undefined
7948
8054
  /**
@@ -8051,7 +8157,9 @@ export interface Routes {
8051
8157
  | 'assa_abloy_credential_service'
8052
8158
  | 'latch_building'
8053
8159
  | 'dormakaba_community'
8160
+ | 'legic_connect'
8054
8161
  | 'assa_abloy_vostio'
8162
+ | 'vostio_credential_service'
8055
8163
  )
8056
8164
  | undefined
8057
8165
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -8081,7 +8189,9 @@ export interface Routes {
8081
8189
  | 'assa_abloy_credential_service'
8082
8190
  | 'latch_building'
8083
8191
  | 'dormakaba_community'
8192
+ | 'legic_connect'
8084
8193
  | 'assa_abloy_vostio'
8194
+ | 'vostio_credential_service'
8085
8195
  )
8086
8196
  | undefined
8087
8197
  /**
@@ -8190,7 +8300,9 @@ export interface Routes {
8190
8300
  | 'assa_abloy_credential_service'
8191
8301
  | 'latch_building'
8192
8302
  | 'dormakaba_community'
8303
+ | 'legic_connect'
8193
8304
  | 'assa_abloy_vostio'
8305
+ | 'vostio_credential_service'
8194
8306
  )
8195
8307
  | undefined
8196
8308
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -8220,7 +8332,9 @@ export interface Routes {
8220
8332
  | 'assa_abloy_credential_service'
8221
8333
  | 'latch_building'
8222
8334
  | 'dormakaba_community'
8335
+ | 'legic_connect'
8223
8336
  | 'assa_abloy_vostio'
8337
+ | 'vostio_credential_service'
8224
8338
  )
8225
8339
  | undefined
8226
8340
  /**
@@ -9380,10 +9494,19 @@ export interface Routes {
9380
9494
  status: 'error'
9381
9495
  result: null
9382
9496
  action_type: 'SCAN_CARD'
9383
- error: {
9384
- type: 'no_card_on_encoder'
9385
- message: string
9386
- }
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
+ }
9387
9510
  }
9388
9511
  | {
9389
9512
  /** The ID of the action attempt. */
@@ -9555,6 +9678,14 @@ export interface Routes {
9555
9678
  result: null
9556
9679
  action_type: 'ENCODE_CARD'
9557
9680
  error:
9681
+ | {
9682
+ type: 'uncategorized_error'
9683
+ message: string
9684
+ }
9685
+ | {
9686
+ type: 'action_attempt_expired'
9687
+ message: string
9688
+ }
9558
9689
  | {
9559
9690
  type: 'no_card_on_encoder'
9560
9691
  message: string
@@ -10222,10 +10353,19 @@ export interface Routes {
10222
10353
  status: 'error'
10223
10354
  result: null
10224
10355
  action_type: 'SCAN_CARD'
10225
- error: {
10226
- type: 'no_card_on_encoder'
10227
- message: string
10228
- }
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
+ }
10229
10369
  }
10230
10370
  | {
10231
10371
  /** The ID of the action attempt. */
@@ -10397,6 +10537,14 @@ export interface Routes {
10397
10537
  result: null
10398
10538
  action_type: 'ENCODE_CARD'
10399
10539
  error:
10540
+ | {
10541
+ type: 'uncategorized_error'
10542
+ message: string
10543
+ }
10544
+ | {
10545
+ type: 'action_attempt_expired'
10546
+ message: string
10547
+ }
10400
10548
  | {
10401
10549
  type: 'no_card_on_encoder'
10402
10550
  message: string
@@ -10960,6 +11108,7 @@ export interface Routes {
10960
11108
  accepted_providers?:
10961
11109
  | Array<
10962
11110
  | 'dormakaba_community'
11111
+ | 'legic_connect'
10963
11112
  | 'akuvox'
10964
11113
  | 'august'
10965
11114
  | 'avigilon_alta'
@@ -10999,6 +11148,7 @@ export interface Routes {
10999
11148
  | 'latch'
11000
11149
  | 'akiles'
11001
11150
  | 'assa_abloy_vostio'
11151
+ | 'vostio_credential_service'
11002
11152
  | 'yale_access'
11003
11153
  | 'hid_cm'
11004
11154
  | 'google_nest'
@@ -12768,6 +12918,7 @@ export interface Routes {
12768
12918
  device_providers: Array<{
12769
12919
  device_provider_name:
12770
12920
  | 'dormakaba_community'
12921
+ | 'legic_connect'
12771
12922
  | 'akuvox'
12772
12923
  | 'august'
12773
12924
  | 'avigilon_alta'
@@ -12807,6 +12958,7 @@ export interface Routes {
12807
12958
  | 'latch'
12808
12959
  | 'akiles'
12809
12960
  | 'assa_abloy_vostio'
12961
+ | 'vostio_credential_service'
12810
12962
  display_name: string
12811
12963
  image_url: string
12812
12964
  provider_categories: Array<
@@ -16629,10 +16781,19 @@ export interface Routes {
16629
16781
  status: 'error'
16630
16782
  result: null
16631
16783
  action_type: 'SCAN_CARD'
16632
- error: {
16633
- type: 'no_card_on_encoder'
16634
- message: string
16635
- }
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
+ }
16636
16797
  }
16637
16798
  | {
16638
16799
  /** The ID of the action attempt. */
@@ -16804,6 +16965,14 @@ export interface Routes {
16804
16965
  result: null
16805
16966
  action_type: 'ENCODE_CARD'
16806
16967
  error:
16968
+ | {
16969
+ type: 'uncategorized_error'
16970
+ message: string
16971
+ }
16972
+ | {
16973
+ type: 'action_attempt_expired'
16974
+ message: string
16975
+ }
16807
16976
  | {
16808
16977
  type: 'no_card_on_encoder'
16809
16978
  message: string
@@ -17472,10 +17641,19 @@ export interface Routes {
17472
17641
  status: 'error'
17473
17642
  result: null
17474
17643
  action_type: 'SCAN_CARD'
17475
- error: {
17476
- type: 'no_card_on_encoder'
17477
- message: string
17478
- }
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
+ }
17479
17657
  }
17480
17658
  | {
17481
17659
  /** The ID of the action attempt. */
@@ -17647,6 +17825,14 @@ export interface Routes {
17647
17825
  result: null
17648
17826
  action_type: 'ENCODE_CARD'
17649
17827
  error:
17828
+ | {
17829
+ type: 'uncategorized_error'
17830
+ message: string
17831
+ }
17832
+ | {
17833
+ type: 'action_attempt_expired'
17834
+ message: string
17835
+ }
17650
17836
  | {
17651
17837
  type: 'no_card_on_encoder'
17652
17838
  message: string
@@ -19805,10 +19991,19 @@ export interface Routes {
19805
19991
  status: 'error'
19806
19992
  result: null
19807
19993
  action_type: 'SCAN_CARD'
19808
- error: {
19809
- type: 'no_card_on_encoder'
19810
- message: string
19811
- }
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
+ }
19812
20007
  }
19813
20008
  | {
19814
20009
  /** The ID of the action attempt. */
@@ -19980,6 +20175,14 @@ export interface Routes {
19980
20175
  result: null
19981
20176
  action_type: 'ENCODE_CARD'
19982
20177
  error:
20178
+ | {
20179
+ type: 'uncategorized_error'
20180
+ message: string
20181
+ }
20182
+ | {
20183
+ type: 'action_attempt_expired'
20184
+ message: string
20185
+ }
19983
20186
  | {
19984
20187
  type: 'no_card_on_encoder'
19985
20188
  message: string
@@ -20658,10 +20861,19 @@ export interface Routes {
20658
20861
  status: 'error'
20659
20862
  result: null
20660
20863
  action_type: 'SCAN_CARD'
20661
- error: {
20662
- type: 'no_card_on_encoder'
20663
- message: string
20664
- }
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
+ }
20665
20877
  }
20666
20878
  | {
20667
20879
  /** The ID of the action attempt. */
@@ -20833,6 +21045,14 @@ export interface Routes {
20833
21045
  result: null
20834
21046
  action_type: 'ENCODE_CARD'
20835
21047
  error:
21048
+ | {
21049
+ type: 'uncategorized_error'
21050
+ message: string
21051
+ }
21052
+ | {
21053
+ type: 'action_attempt_expired'
21054
+ message: string
21055
+ }
20836
21056
  | {
20837
21057
  type: 'no_card_on_encoder'
20838
21058
  message: string
@@ -21550,10 +21770,19 @@ export interface Routes {
21550
21770
  status: 'error'
21551
21771
  result: null
21552
21772
  action_type: 'SCAN_CARD'
21553
- error: {
21554
- type: 'no_card_on_encoder'
21555
- message: string
21556
- }
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
+ }
21557
21786
  }
21558
21787
  | {
21559
21788
  /** The ID of the action attempt. */
@@ -21725,6 +21954,14 @@ export interface Routes {
21725
21954
  result: null
21726
21955
  action_type: 'ENCODE_CARD'
21727
21956
  error:
21957
+ | {
21958
+ type: 'uncategorized_error'
21959
+ message: string
21960
+ }
21961
+ | {
21962
+ type: 'action_attempt_expired'
21963
+ message: string
21964
+ }
21728
21965
  | {
21729
21966
  type: 'no_card_on_encoder'
21730
21967
  message: string
@@ -22599,10 +22836,19 @@ export interface Routes {
22599
22836
  status: 'error'
22600
22837
  result: null
22601
22838
  action_type: 'SCAN_CARD'
22602
- error: {
22603
- type: 'no_card_on_encoder'
22604
- message: string
22605
- }
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
+ }
22606
22852
  }
22607
22853
  | {
22608
22854
  /** The ID of the action attempt. */
@@ -22774,6 +23020,14 @@ export interface Routes {
22774
23020
  result: null
22775
23021
  action_type: 'ENCODE_CARD'
22776
23022
  error:
23023
+ | {
23024
+ type: 'uncategorized_error'
23025
+ message: string
23026
+ }
23027
+ | {
23028
+ type: 'action_attempt_expired'
23029
+ message: string
23030
+ }
22777
23031
  | {
22778
23032
  type: 'no_card_on_encoder'
22779
23033
  message: string
@@ -23444,10 +23698,19 @@ export interface Routes {
23444
23698
  status: 'error'
23445
23699
  result: null
23446
23700
  action_type: 'SCAN_CARD'
23447
- error: {
23448
- type: 'no_card_on_encoder'
23449
- message: string
23450
- }
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
+ }
23451
23714
  }
23452
23715
  | {
23453
23716
  /** The ID of the action attempt. */
@@ -23619,6 +23882,14 @@ export interface Routes {
23619
23882
  result: null
23620
23883
  action_type: 'ENCODE_CARD'
23621
23884
  error:
23885
+ | {
23886
+ type: 'uncategorized_error'
23887
+ message: string
23888
+ }
23889
+ | {
23890
+ type: 'action_attempt_expired'
23891
+ message: string
23892
+ }
23622
23893
  | {
23623
23894
  type: 'no_card_on_encoder'
23624
23895
  message: string
@@ -24974,10 +25245,19 @@ export interface Routes {
24974
25245
  status: 'error'
24975
25246
  result: null
24976
25247
  action_type: 'SCAN_CARD'
24977
- error: {
24978
- type: 'no_card_on_encoder'
24979
- message: string
24980
- }
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
+ }
24981
25261
  }
24982
25262
  | {
24983
25263
  /** The ID of the action attempt. */
@@ -25149,6 +25429,14 @@ export interface Routes {
25149
25429
  result: null
25150
25430
  action_type: 'ENCODE_CARD'
25151
25431
  error:
25432
+ | {
25433
+ type: 'uncategorized_error'
25434
+ message: string
25435
+ }
25436
+ | {
25437
+ type: 'action_attempt_expired'
25438
+ message: string
25439
+ }
25152
25440
  | {
25153
25441
  type: 'no_card_on_encoder'
25154
25442
  message: string
@@ -25821,10 +26109,19 @@ export interface Routes {
25821
26109
  status: 'error'
25822
26110
  result: null
25823
26111
  action_type: 'SCAN_CARD'
25824
- error: {
25825
- type: 'no_card_on_encoder'
25826
- message: string
25827
- }
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
+ }
25828
26125
  }
25829
26126
  | {
25830
26127
  /** The ID of the action attempt. */
@@ -25996,6 +26293,14 @@ export interface Routes {
25996
26293
  result: null
25997
26294
  action_type: 'ENCODE_CARD'
25998
26295
  error:
26296
+ | {
26297
+ type: 'uncategorized_error'
26298
+ message: string
26299
+ }
26300
+ | {
26301
+ type: 'action_attempt_expired'
26302
+ message: string
26303
+ }
25999
26304
  | {
26000
26305
  type: 'no_card_on_encoder'
26001
26306
  message: string
@@ -28115,10 +28420,19 @@ export interface Routes {
28115
28420
  status: 'error'
28116
28421
  result: null
28117
28422
  action_type: 'SCAN_CARD'
28118
- error: {
28119
- type: 'no_card_on_encoder'
28120
- message: string
28121
- }
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
+ }
28122
28436
  }
28123
28437
  | {
28124
28438
  /** The ID of the action attempt. */
@@ -28290,6 +28604,14 @@ export interface Routes {
28290
28604
  result: null
28291
28605
  action_type: 'ENCODE_CARD'
28292
28606
  error:
28607
+ | {
28608
+ type: 'uncategorized_error'
28609
+ message: string
28610
+ }
28611
+ | {
28612
+ type: 'action_attempt_expired'
28613
+ message: string
28614
+ }
28293
28615
  | {
28294
28616
  type: 'no_card_on_encoder'
28295
28617
  message: string
@@ -29079,10 +29401,19 @@ export interface Routes {
29079
29401
  status: 'error'
29080
29402
  result: null
29081
29403
  action_type: 'SCAN_CARD'
29082
- error: {
29083
- type: 'no_card_on_encoder'
29084
- message: string
29085
- }
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
+ }
29086
29417
  }
29087
29418
  | {
29088
29419
  /** The ID of the action attempt. */
@@ -29254,6 +29585,14 @@ export interface Routes {
29254
29585
  result: null
29255
29586
  action_type: 'ENCODE_CARD'
29256
29587
  error:
29588
+ | {
29589
+ type: 'uncategorized_error'
29590
+ message: string
29591
+ }
29592
+ | {
29593
+ type: 'action_attempt_expired'
29594
+ message: string
29595
+ }
29257
29596
  | {
29258
29597
  type: 'no_card_on_encoder'
29259
29598
  message: string
@@ -31188,7 +31527,9 @@ export interface Routes {
31188
31527
  | 'assa_abloy_credential_service'
31189
31528
  | 'latch_building'
31190
31529
  | 'dormakaba_community'
31530
+ | 'legic_connect'
31191
31531
  | 'assa_abloy_vostio'
31532
+ | 'vostio_credential_service'
31192
31533
  )
31193
31534
  | undefined
31194
31535
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -31218,7 +31559,9 @@ export interface Routes {
31218
31559
  | 'assa_abloy_credential_service'
31219
31560
  | 'latch_building'
31220
31561
  | 'dormakaba_community'
31562
+ | 'legic_connect'
31221
31563
  | 'assa_abloy_vostio'
31564
+ | 'vostio_credential_service'
31222
31565
  )
31223
31566
  | undefined
31224
31567
  /**
@@ -31869,10 +32212,19 @@ export interface Routes {
31869
32212
  status: 'error'
31870
32213
  result: null
31871
32214
  action_type: 'SCAN_CARD'
31872
- error: {
31873
- type: 'no_card_on_encoder'
31874
- message: string
31875
- }
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
+ }
31876
32228
  }
31877
32229
  | {
31878
32230
  /** The ID of the action attempt. */
@@ -32044,6 +32396,14 @@ export interface Routes {
32044
32396
  result: null
32045
32397
  action_type: 'ENCODE_CARD'
32046
32398
  error:
32399
+ | {
32400
+ type: 'uncategorized_error'
32401
+ message: string
32402
+ }
32403
+ | {
32404
+ type: 'action_attempt_expired'
32405
+ message: string
32406
+ }
32047
32407
  | {
32048
32408
  type: 'no_card_on_encoder'
32049
32409
  message: string