@seamapi/types 1.283.0 → 1.285.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 (44) hide show
  1. package/dist/connect.cjs +104 -14
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +430 -82
  4. package/lib/seam/connect/models/acs/acs-entrance.d.ts +37 -4
  5. package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  8. package/lib/seam/connect/models/acs/acs-system.js +2 -0
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.d.ts +21 -0
  11. package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.js +9 -0
  12. package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.js.map +1 -0
  13. package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
  14. package/lib/seam/connect/models/acs/metadata/index.js +1 -0
  15. package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
  16. package/lib/seam/connect/models/acs/metadata/latch.d.ts +2 -2
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +62 -2
  18. package/lib/seam/connect/models/action-attempts/common.d.ts +19 -0
  19. package/lib/seam/connect/models/action-attempts/common.js +10 -0
  20. package/lib/seam/connect/models/action-attempts/common.js.map +1 -1
  21. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +30 -0
  22. package/lib/seam/connect/models/action-attempts/encode-card.js +2 -1
  23. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  24. package/lib/seam/connect/models/action-attempts/scan-card.d.ts +32 -2
  25. package/lib/seam/connect/models/action-attempts/scan-card.js +6 -2
  26. package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -1
  27. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -1
  28. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  29. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  30. package/lib/seam/connect/openapi.d.ts +38 -60
  31. package/lib/seam/connect/openapi.js +70 -6
  32. package/lib/seam/connect/openapi.js.map +1 -1
  33. package/lib/seam/connect/route-types.d.ts +285 -10
  34. package/package.json +1 -1
  35. package/src/lib/seam/connect/models/acs/acs-entrance.ts +3 -0
  36. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -0
  37. package/src/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.ts +13 -0
  38. package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
  39. package/src/lib/seam/connect/models/action-attempts/common.ts +11 -0
  40. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +2 -0
  41. package/src/lib/seam/connect/models/action-attempts/scan-card.ts +7 -1
  42. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
  43. package/src/lib/seam/connect/openapi.ts +70 -6
  44. package/src/lib/seam/connect/route-types.ts +505 -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
@@ -4207,6 +4275,19 @@ export interface Routes {
4207
4275
  access_point_name: string
4208
4276
  }
4209
4277
  | undefined
4278
+ assa_abloy_vostio_metadata?:
4279
+ | {
4280
+ door_type:
4281
+ | 'CommonDoor'
4282
+ | 'EntranceDoor'
4283
+ | 'GuestDoor'
4284
+ | 'Elevator'
4285
+ door_name: string
4286
+ door_number?: number | undefined
4287
+ stand_open?: boolean | undefined
4288
+ pms_id?: string | undefined
4289
+ }
4290
+ | undefined
4210
4291
  }>
4211
4292
  }
4212
4293
  }
@@ -4947,6 +5028,19 @@ export interface Routes {
4947
5028
  access_point_name: string
4948
5029
  }
4949
5030
  | undefined
5031
+ assa_abloy_vostio_metadata?:
5032
+ | {
5033
+ door_type:
5034
+ | 'CommonDoor'
5035
+ | 'EntranceDoor'
5036
+ | 'GuestDoor'
5037
+ | 'Elevator'
5038
+ door_name: string
5039
+ door_number?: number | undefined
5040
+ stand_open?: boolean | undefined
5041
+ pms_id?: string | undefined
5042
+ }
5043
+ | undefined
4950
5044
  }>
4951
5045
  }
4952
5046
  }
@@ -5575,10 +5669,19 @@ export interface Routes {
5575
5669
  status: 'error'
5576
5670
  result: null
5577
5671
  action_type: 'SCAN_CARD'
5578
- error: {
5579
- type: 'no_card_on_encoder'
5580
- message: string
5581
- }
5672
+ error:
5673
+ | {
5674
+ type: 'uncategorized_error'
5675
+ message: string
5676
+ }
5677
+ | {
5678
+ type: 'action_attempt_expired'
5679
+ message: string
5680
+ }
5681
+ | {
5682
+ type: 'no_card_on_encoder'
5683
+ message: string
5684
+ }
5582
5685
  }
5583
5686
  | {
5584
5687
  /** The ID of the action attempt. */
@@ -5750,6 +5853,14 @@ export interface Routes {
5750
5853
  result: null
5751
5854
  action_type: 'ENCODE_CARD'
5752
5855
  error:
5856
+ | {
5857
+ type: 'uncategorized_error'
5858
+ message: string
5859
+ }
5860
+ | {
5861
+ type: 'action_attempt_expired'
5862
+ message: string
5863
+ }
5753
5864
  | {
5754
5865
  type: 'no_card_on_encoder'
5755
5866
  message: string
@@ -7081,10 +7192,19 @@ export interface Routes {
7081
7192
  status: 'error'
7082
7193
  result: null
7083
7194
  action_type: 'SCAN_CARD'
7084
- error: {
7085
- type: 'no_card_on_encoder'
7086
- message: string
7087
- }
7195
+ error:
7196
+ | {
7197
+ type: 'uncategorized_error'
7198
+ message: string
7199
+ }
7200
+ | {
7201
+ type: 'action_attempt_expired'
7202
+ message: string
7203
+ }
7204
+ | {
7205
+ type: 'no_card_on_encoder'
7206
+ message: string
7207
+ }
7088
7208
  }
7089
7209
  | {
7090
7210
  /** The ID of the action attempt. */
@@ -7256,6 +7376,14 @@ export interface Routes {
7256
7376
  result: null
7257
7377
  action_type: 'ENCODE_CARD'
7258
7378
  error:
7379
+ | {
7380
+ type: 'uncategorized_error'
7381
+ message: string
7382
+ }
7383
+ | {
7384
+ type: 'action_attempt_expired'
7385
+ message: string
7386
+ }
7259
7387
  | {
7260
7388
  type: 'no_card_on_encoder'
7261
7389
  message: string
@@ -7718,6 +7846,19 @@ export interface Routes {
7718
7846
  access_point_name: string
7719
7847
  }
7720
7848
  | undefined
7849
+ assa_abloy_vostio_metadata?:
7850
+ | {
7851
+ door_type:
7852
+ | 'CommonDoor'
7853
+ | 'EntranceDoor'
7854
+ | 'GuestDoor'
7855
+ | 'Elevator'
7856
+ door_name: string
7857
+ door_number?: number | undefined
7858
+ stand_open?: boolean | undefined
7859
+ pms_id?: string | undefined
7860
+ }
7861
+ | undefined
7721
7862
  }
7722
7863
  }
7723
7864
  }
@@ -7799,6 +7940,19 @@ export interface Routes {
7799
7940
  access_point_name: string
7800
7941
  }
7801
7942
  | undefined
7943
+ assa_abloy_vostio_metadata?:
7944
+ | {
7945
+ door_type:
7946
+ | 'CommonDoor'
7947
+ | 'EntranceDoor'
7948
+ | 'GuestDoor'
7949
+ | 'Elevator'
7950
+ door_name: string
7951
+ door_number?: number | undefined
7952
+ stand_open?: boolean | undefined
7953
+ pms_id?: string | undefined
7954
+ }
7955
+ | undefined
7802
7956
  }>
7803
7957
  }
7804
7958
  }
@@ -7912,7 +8066,9 @@ export interface Routes {
7912
8066
  | 'assa_abloy_credential_service'
7913
8067
  | 'latch_building'
7914
8068
  | 'dormakaba_community'
8069
+ | 'legic_connect'
7915
8070
  | 'assa_abloy_vostio'
8071
+ | 'vostio_credential_service'
7916
8072
  )
7917
8073
  | undefined
7918
8074
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -7942,7 +8098,9 @@ export interface Routes {
7942
8098
  | 'assa_abloy_credential_service'
7943
8099
  | 'latch_building'
7944
8100
  | 'dormakaba_community'
8101
+ | 'legic_connect'
7945
8102
  | 'assa_abloy_vostio'
8103
+ | 'vostio_credential_service'
7946
8104
  )
7947
8105
  | undefined
7948
8106
  /**
@@ -8051,7 +8209,9 @@ export interface Routes {
8051
8209
  | 'assa_abloy_credential_service'
8052
8210
  | 'latch_building'
8053
8211
  | 'dormakaba_community'
8212
+ | 'legic_connect'
8054
8213
  | 'assa_abloy_vostio'
8214
+ | 'vostio_credential_service'
8055
8215
  )
8056
8216
  | undefined
8057
8217
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -8081,7 +8241,9 @@ export interface Routes {
8081
8241
  | 'assa_abloy_credential_service'
8082
8242
  | 'latch_building'
8083
8243
  | 'dormakaba_community'
8244
+ | 'legic_connect'
8084
8245
  | 'assa_abloy_vostio'
8246
+ | 'vostio_credential_service'
8085
8247
  )
8086
8248
  | undefined
8087
8249
  /**
@@ -8190,7 +8352,9 @@ export interface Routes {
8190
8352
  | 'assa_abloy_credential_service'
8191
8353
  | 'latch_building'
8192
8354
  | 'dormakaba_community'
8355
+ | 'legic_connect'
8193
8356
  | 'assa_abloy_vostio'
8357
+ | 'vostio_credential_service'
8194
8358
  )
8195
8359
  | undefined
8196
8360
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -8220,7 +8384,9 @@ export interface Routes {
8220
8384
  | 'assa_abloy_credential_service'
8221
8385
  | 'latch_building'
8222
8386
  | 'dormakaba_community'
8387
+ | 'legic_connect'
8223
8388
  | 'assa_abloy_vostio'
8389
+ | 'vostio_credential_service'
8224
8390
  )
8225
8391
  | undefined
8226
8392
  /**
@@ -8784,6 +8950,19 @@ export interface Routes {
8784
8950
  access_point_name: string
8785
8951
  }
8786
8952
  | undefined
8953
+ assa_abloy_vostio_metadata?:
8954
+ | {
8955
+ door_type:
8956
+ | 'CommonDoor'
8957
+ | 'EntranceDoor'
8958
+ | 'GuestDoor'
8959
+ | 'Elevator'
8960
+ door_name: string
8961
+ door_number?: number | undefined
8962
+ stand_open?: boolean | undefined
8963
+ pms_id?: string | undefined
8964
+ }
8965
+ | undefined
8787
8966
  }>
8788
8967
  }
8789
8968
  }
@@ -9380,10 +9559,19 @@ export interface Routes {
9380
9559
  status: 'error'
9381
9560
  result: null
9382
9561
  action_type: 'SCAN_CARD'
9383
- error: {
9384
- type: 'no_card_on_encoder'
9385
- message: string
9386
- }
9562
+ error:
9563
+ | {
9564
+ type: 'uncategorized_error'
9565
+ message: string
9566
+ }
9567
+ | {
9568
+ type: 'action_attempt_expired'
9569
+ message: string
9570
+ }
9571
+ | {
9572
+ type: 'no_card_on_encoder'
9573
+ message: string
9574
+ }
9387
9575
  }
9388
9576
  | {
9389
9577
  /** The ID of the action attempt. */
@@ -9555,6 +9743,14 @@ export interface Routes {
9555
9743
  result: null
9556
9744
  action_type: 'ENCODE_CARD'
9557
9745
  error:
9746
+ | {
9747
+ type: 'uncategorized_error'
9748
+ message: string
9749
+ }
9750
+ | {
9751
+ type: 'action_attempt_expired'
9752
+ message: string
9753
+ }
9558
9754
  | {
9559
9755
  type: 'no_card_on_encoder'
9560
9756
  message: string
@@ -10222,10 +10418,19 @@ export interface Routes {
10222
10418
  status: 'error'
10223
10419
  result: null
10224
10420
  action_type: 'SCAN_CARD'
10225
- error: {
10226
- type: 'no_card_on_encoder'
10227
- message: string
10228
- }
10421
+ error:
10422
+ | {
10423
+ type: 'uncategorized_error'
10424
+ message: string
10425
+ }
10426
+ | {
10427
+ type: 'action_attempt_expired'
10428
+ message: string
10429
+ }
10430
+ | {
10431
+ type: 'no_card_on_encoder'
10432
+ message: string
10433
+ }
10229
10434
  }
10230
10435
  | {
10231
10436
  /** The ID of the action attempt. */
@@ -10397,6 +10602,14 @@ export interface Routes {
10397
10602
  result: null
10398
10603
  action_type: 'ENCODE_CARD'
10399
10604
  error:
10605
+ | {
10606
+ type: 'uncategorized_error'
10607
+ message: string
10608
+ }
10609
+ | {
10610
+ type: 'action_attempt_expired'
10611
+ message: string
10612
+ }
10400
10613
  | {
10401
10614
  type: 'no_card_on_encoder'
10402
10615
  message: string
@@ -10960,6 +11173,7 @@ export interface Routes {
10960
11173
  accepted_providers?:
10961
11174
  | Array<
10962
11175
  | 'dormakaba_community'
11176
+ | 'legic_connect'
10963
11177
  | 'akuvox'
10964
11178
  | 'august'
10965
11179
  | 'avigilon_alta'
@@ -10999,6 +11213,7 @@ export interface Routes {
10999
11213
  | 'latch'
11000
11214
  | 'akiles'
11001
11215
  | 'assa_abloy_vostio'
11216
+ | 'vostio_credential_service'
11002
11217
  | 'yale_access'
11003
11218
  | 'hid_cm'
11004
11219
  | 'google_nest'
@@ -12768,6 +12983,7 @@ export interface Routes {
12768
12983
  device_providers: Array<{
12769
12984
  device_provider_name:
12770
12985
  | 'dormakaba_community'
12986
+ | 'legic_connect'
12771
12987
  | 'akuvox'
12772
12988
  | 'august'
12773
12989
  | 'avigilon_alta'
@@ -12807,6 +13023,7 @@ export interface Routes {
12807
13023
  | 'latch'
12808
13024
  | 'akiles'
12809
13025
  | 'assa_abloy_vostio'
13026
+ | 'vostio_credential_service'
12810
13027
  display_name: string
12811
13028
  image_url: string
12812
13029
  provider_categories: Array<
@@ -16629,10 +16846,19 @@ export interface Routes {
16629
16846
  status: 'error'
16630
16847
  result: null
16631
16848
  action_type: 'SCAN_CARD'
16632
- error: {
16633
- type: 'no_card_on_encoder'
16634
- message: string
16635
- }
16849
+ error:
16850
+ | {
16851
+ type: 'uncategorized_error'
16852
+ message: string
16853
+ }
16854
+ | {
16855
+ type: 'action_attempt_expired'
16856
+ message: string
16857
+ }
16858
+ | {
16859
+ type: 'no_card_on_encoder'
16860
+ message: string
16861
+ }
16636
16862
  }
16637
16863
  | {
16638
16864
  /** The ID of the action attempt. */
@@ -16804,6 +17030,14 @@ export interface Routes {
16804
17030
  result: null
16805
17031
  action_type: 'ENCODE_CARD'
16806
17032
  error:
17033
+ | {
17034
+ type: 'uncategorized_error'
17035
+ message: string
17036
+ }
17037
+ | {
17038
+ type: 'action_attempt_expired'
17039
+ message: string
17040
+ }
16807
17041
  | {
16808
17042
  type: 'no_card_on_encoder'
16809
17043
  message: string
@@ -17472,10 +17706,19 @@ export interface Routes {
17472
17706
  status: 'error'
17473
17707
  result: null
17474
17708
  action_type: 'SCAN_CARD'
17475
- error: {
17476
- type: 'no_card_on_encoder'
17477
- message: string
17478
- }
17709
+ error:
17710
+ | {
17711
+ type: 'uncategorized_error'
17712
+ message: string
17713
+ }
17714
+ | {
17715
+ type: 'action_attempt_expired'
17716
+ message: string
17717
+ }
17718
+ | {
17719
+ type: 'no_card_on_encoder'
17720
+ message: string
17721
+ }
17479
17722
  }
17480
17723
  | {
17481
17724
  /** The ID of the action attempt. */
@@ -17647,6 +17890,14 @@ export interface Routes {
17647
17890
  result: null
17648
17891
  action_type: 'ENCODE_CARD'
17649
17892
  error:
17893
+ | {
17894
+ type: 'uncategorized_error'
17895
+ message: string
17896
+ }
17897
+ | {
17898
+ type: 'action_attempt_expired'
17899
+ message: string
17900
+ }
17650
17901
  | {
17651
17902
  type: 'no_card_on_encoder'
17652
17903
  message: string
@@ -19805,10 +20056,19 @@ export interface Routes {
19805
20056
  status: 'error'
19806
20057
  result: null
19807
20058
  action_type: 'SCAN_CARD'
19808
- error: {
19809
- type: 'no_card_on_encoder'
19810
- message: string
19811
- }
20059
+ error:
20060
+ | {
20061
+ type: 'uncategorized_error'
20062
+ message: string
20063
+ }
20064
+ | {
20065
+ type: 'action_attempt_expired'
20066
+ message: string
20067
+ }
20068
+ | {
20069
+ type: 'no_card_on_encoder'
20070
+ message: string
20071
+ }
19812
20072
  }
19813
20073
  | {
19814
20074
  /** The ID of the action attempt. */
@@ -19980,6 +20240,14 @@ export interface Routes {
19980
20240
  result: null
19981
20241
  action_type: 'ENCODE_CARD'
19982
20242
  error:
20243
+ | {
20244
+ type: 'uncategorized_error'
20245
+ message: string
20246
+ }
20247
+ | {
20248
+ type: 'action_attempt_expired'
20249
+ message: string
20250
+ }
19983
20251
  | {
19984
20252
  type: 'no_card_on_encoder'
19985
20253
  message: string
@@ -20658,10 +20926,19 @@ export interface Routes {
20658
20926
  status: 'error'
20659
20927
  result: null
20660
20928
  action_type: 'SCAN_CARD'
20661
- error: {
20662
- type: 'no_card_on_encoder'
20663
- message: string
20664
- }
20929
+ error:
20930
+ | {
20931
+ type: 'uncategorized_error'
20932
+ message: string
20933
+ }
20934
+ | {
20935
+ type: 'action_attempt_expired'
20936
+ message: string
20937
+ }
20938
+ | {
20939
+ type: 'no_card_on_encoder'
20940
+ message: string
20941
+ }
20665
20942
  }
20666
20943
  | {
20667
20944
  /** The ID of the action attempt. */
@@ -20833,6 +21110,14 @@ export interface Routes {
20833
21110
  result: null
20834
21111
  action_type: 'ENCODE_CARD'
20835
21112
  error:
21113
+ | {
21114
+ type: 'uncategorized_error'
21115
+ message: string
21116
+ }
21117
+ | {
21118
+ type: 'action_attempt_expired'
21119
+ message: string
21120
+ }
20836
21121
  | {
20837
21122
  type: 'no_card_on_encoder'
20838
21123
  message: string
@@ -21550,10 +21835,19 @@ export interface Routes {
21550
21835
  status: 'error'
21551
21836
  result: null
21552
21837
  action_type: 'SCAN_CARD'
21553
- error: {
21554
- type: 'no_card_on_encoder'
21555
- message: string
21556
- }
21838
+ error:
21839
+ | {
21840
+ type: 'uncategorized_error'
21841
+ message: string
21842
+ }
21843
+ | {
21844
+ type: 'action_attempt_expired'
21845
+ message: string
21846
+ }
21847
+ | {
21848
+ type: 'no_card_on_encoder'
21849
+ message: string
21850
+ }
21557
21851
  }
21558
21852
  | {
21559
21853
  /** The ID of the action attempt. */
@@ -21725,6 +22019,14 @@ export interface Routes {
21725
22019
  result: null
21726
22020
  action_type: 'ENCODE_CARD'
21727
22021
  error:
22022
+ | {
22023
+ type: 'uncategorized_error'
22024
+ message: string
22025
+ }
22026
+ | {
22027
+ type: 'action_attempt_expired'
22028
+ message: string
22029
+ }
21728
22030
  | {
21729
22031
  type: 'no_card_on_encoder'
21730
22032
  message: string
@@ -22599,10 +22901,19 @@ export interface Routes {
22599
22901
  status: 'error'
22600
22902
  result: null
22601
22903
  action_type: 'SCAN_CARD'
22602
- error: {
22603
- type: 'no_card_on_encoder'
22604
- message: string
22605
- }
22904
+ error:
22905
+ | {
22906
+ type: 'uncategorized_error'
22907
+ message: string
22908
+ }
22909
+ | {
22910
+ type: 'action_attempt_expired'
22911
+ message: string
22912
+ }
22913
+ | {
22914
+ type: 'no_card_on_encoder'
22915
+ message: string
22916
+ }
22606
22917
  }
22607
22918
  | {
22608
22919
  /** The ID of the action attempt. */
@@ -22774,6 +23085,14 @@ export interface Routes {
22774
23085
  result: null
22775
23086
  action_type: 'ENCODE_CARD'
22776
23087
  error:
23088
+ | {
23089
+ type: 'uncategorized_error'
23090
+ message: string
23091
+ }
23092
+ | {
23093
+ type: 'action_attempt_expired'
23094
+ message: string
23095
+ }
22777
23096
  | {
22778
23097
  type: 'no_card_on_encoder'
22779
23098
  message: string
@@ -23444,10 +23763,19 @@ export interface Routes {
23444
23763
  status: 'error'
23445
23764
  result: null
23446
23765
  action_type: 'SCAN_CARD'
23447
- error: {
23448
- type: 'no_card_on_encoder'
23449
- message: string
23450
- }
23766
+ error:
23767
+ | {
23768
+ type: 'uncategorized_error'
23769
+ message: string
23770
+ }
23771
+ | {
23772
+ type: 'action_attempt_expired'
23773
+ message: string
23774
+ }
23775
+ | {
23776
+ type: 'no_card_on_encoder'
23777
+ message: string
23778
+ }
23451
23779
  }
23452
23780
  | {
23453
23781
  /** The ID of the action attempt. */
@@ -23619,6 +23947,14 @@ export interface Routes {
23619
23947
  result: null
23620
23948
  action_type: 'ENCODE_CARD'
23621
23949
  error:
23950
+ | {
23951
+ type: 'uncategorized_error'
23952
+ message: string
23953
+ }
23954
+ | {
23955
+ type: 'action_attempt_expired'
23956
+ message: string
23957
+ }
23622
23958
  | {
23623
23959
  type: 'no_card_on_encoder'
23624
23960
  message: string
@@ -24974,10 +25310,19 @@ export interface Routes {
24974
25310
  status: 'error'
24975
25311
  result: null
24976
25312
  action_type: 'SCAN_CARD'
24977
- error: {
24978
- type: 'no_card_on_encoder'
24979
- message: string
24980
- }
25313
+ error:
25314
+ | {
25315
+ type: 'uncategorized_error'
25316
+ message: string
25317
+ }
25318
+ | {
25319
+ type: 'action_attempt_expired'
25320
+ message: string
25321
+ }
25322
+ | {
25323
+ type: 'no_card_on_encoder'
25324
+ message: string
25325
+ }
24981
25326
  }
24982
25327
  | {
24983
25328
  /** The ID of the action attempt. */
@@ -25149,6 +25494,14 @@ export interface Routes {
25149
25494
  result: null
25150
25495
  action_type: 'ENCODE_CARD'
25151
25496
  error:
25497
+ | {
25498
+ type: 'uncategorized_error'
25499
+ message: string
25500
+ }
25501
+ | {
25502
+ type: 'action_attempt_expired'
25503
+ message: string
25504
+ }
25152
25505
  | {
25153
25506
  type: 'no_card_on_encoder'
25154
25507
  message: string
@@ -25821,10 +26174,19 @@ export interface Routes {
25821
26174
  status: 'error'
25822
26175
  result: null
25823
26176
  action_type: 'SCAN_CARD'
25824
- error: {
25825
- type: 'no_card_on_encoder'
25826
- message: string
25827
- }
26177
+ error:
26178
+ | {
26179
+ type: 'uncategorized_error'
26180
+ message: string
26181
+ }
26182
+ | {
26183
+ type: 'action_attempt_expired'
26184
+ message: string
26185
+ }
26186
+ | {
26187
+ type: 'no_card_on_encoder'
26188
+ message: string
26189
+ }
25828
26190
  }
25829
26191
  | {
25830
26192
  /** The ID of the action attempt. */
@@ -25996,6 +26358,14 @@ export interface Routes {
25996
26358
  result: null
25997
26359
  action_type: 'ENCODE_CARD'
25998
26360
  error:
26361
+ | {
26362
+ type: 'uncategorized_error'
26363
+ message: string
26364
+ }
26365
+ | {
26366
+ type: 'action_attempt_expired'
26367
+ message: string
26368
+ }
25999
26369
  | {
26000
26370
  type: 'no_card_on_encoder'
26001
26371
  message: string
@@ -28115,10 +28485,19 @@ export interface Routes {
28115
28485
  status: 'error'
28116
28486
  result: null
28117
28487
  action_type: 'SCAN_CARD'
28118
- error: {
28119
- type: 'no_card_on_encoder'
28120
- message: string
28121
- }
28488
+ error:
28489
+ | {
28490
+ type: 'uncategorized_error'
28491
+ message: string
28492
+ }
28493
+ | {
28494
+ type: 'action_attempt_expired'
28495
+ message: string
28496
+ }
28497
+ | {
28498
+ type: 'no_card_on_encoder'
28499
+ message: string
28500
+ }
28122
28501
  }
28123
28502
  | {
28124
28503
  /** The ID of the action attempt. */
@@ -28290,6 +28669,14 @@ export interface Routes {
28290
28669
  result: null
28291
28670
  action_type: 'ENCODE_CARD'
28292
28671
  error:
28672
+ | {
28673
+ type: 'uncategorized_error'
28674
+ message: string
28675
+ }
28676
+ | {
28677
+ type: 'action_attempt_expired'
28678
+ message: string
28679
+ }
28293
28680
  | {
28294
28681
  type: 'no_card_on_encoder'
28295
28682
  message: string
@@ -29079,10 +29466,19 @@ export interface Routes {
29079
29466
  status: 'error'
29080
29467
  result: null
29081
29468
  action_type: 'SCAN_CARD'
29082
- error: {
29083
- type: 'no_card_on_encoder'
29084
- message: string
29085
- }
29469
+ error:
29470
+ | {
29471
+ type: 'uncategorized_error'
29472
+ message: string
29473
+ }
29474
+ | {
29475
+ type: 'action_attempt_expired'
29476
+ message: string
29477
+ }
29478
+ | {
29479
+ type: 'no_card_on_encoder'
29480
+ message: string
29481
+ }
29086
29482
  }
29087
29483
  | {
29088
29484
  /** The ID of the action attempt. */
@@ -29254,6 +29650,14 @@ export interface Routes {
29254
29650
  result: null
29255
29651
  action_type: 'ENCODE_CARD'
29256
29652
  error:
29653
+ | {
29654
+ type: 'uncategorized_error'
29655
+ message: string
29656
+ }
29657
+ | {
29658
+ type: 'action_attempt_expired'
29659
+ message: string
29660
+ }
29257
29661
  | {
29258
29662
  type: 'no_card_on_encoder'
29259
29663
  message: string
@@ -31188,7 +31592,9 @@ export interface Routes {
31188
31592
  | 'assa_abloy_credential_service'
31189
31593
  | 'latch_building'
31190
31594
  | 'dormakaba_community'
31595
+ | 'legic_connect'
31191
31596
  | 'assa_abloy_vostio'
31597
+ | 'vostio_credential_service'
31192
31598
  )
31193
31599
  | undefined
31194
31600
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
@@ -31218,7 +31624,9 @@ export interface Routes {
31218
31624
  | 'assa_abloy_credential_service'
31219
31625
  | 'latch_building'
31220
31626
  | 'dormakaba_community'
31627
+ | 'legic_connect'
31221
31628
  | 'assa_abloy_vostio'
31629
+ | 'vostio_credential_service'
31222
31630
  )
31223
31631
  | undefined
31224
31632
  /**
@@ -31869,10 +32277,19 @@ export interface Routes {
31869
32277
  status: 'error'
31870
32278
  result: null
31871
32279
  action_type: 'SCAN_CARD'
31872
- error: {
31873
- type: 'no_card_on_encoder'
31874
- message: string
31875
- }
32280
+ error:
32281
+ | {
32282
+ type: 'uncategorized_error'
32283
+ message: string
32284
+ }
32285
+ | {
32286
+ type: 'action_attempt_expired'
32287
+ message: string
32288
+ }
32289
+ | {
32290
+ type: 'no_card_on_encoder'
32291
+ message: string
32292
+ }
31876
32293
  }
31877
32294
  | {
31878
32295
  /** The ID of the action attempt. */
@@ -32044,6 +32461,14 @@ export interface Routes {
32044
32461
  result: null
32045
32462
  action_type: 'ENCODE_CARD'
32046
32463
  error:
32464
+ | {
32465
+ type: 'uncategorized_error'
32466
+ message: string
32467
+ }
32468
+ | {
32469
+ type: 'action_attempt_expired'
32470
+ message: string
32471
+ }
32047
32472
  | {
32048
32473
  type: 'no_card_on_encoder'
32049
32474
  message: string