@seamapi/types 1.289.0 → 1.290.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 (28) hide show
  1. package/dist/connect.cjs +70 -38
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +212 -164
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +20 -0
  5. package/lib/seam/connect/models/acs/acs-system.js +7 -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 +18 -18
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
  9. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
  11. package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
  12. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
  13. package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
  14. package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
  15. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
  16. package/lib/seam/connect/openapi.d.ts +17 -2
  17. package/lib/seam/connect/openapi.js +53 -25
  18. package/lib/seam/connect/openapi.js.map +1 -1
  19. package/lib/seam/connect/route-types.d.ts +164 -144
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/models/acs/acs-system.ts +8 -0
  22. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
  23. package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
  24. package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
  25. package/src/lib/seam/connect/openapi.ts +58 -25
  26. package/src/lib/seam/connect/route-types.ts +164 -144
  27. package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
  28. package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
@@ -86,16 +86,16 @@ export interface Routes {
86
86
  status: 'pending'
87
87
  result: null
88
88
  error: null
89
- action_type: 'SCAN_CARD'
89
+ action_type: 'SCAN_CREDENTIAL'
90
90
  }
91
91
  | {
92
92
  /** The ID of the action attempt. */
93
93
  action_attempt_id: string
94
94
  status: 'success'
95
95
  error: null
96
- action_type: 'SCAN_CARD'
96
+ action_type: 'SCAN_CREDENTIAL'
97
97
  result: {
98
- /** Snapshot of the card data read from the physical encoder. */
98
+ /** Snapshot of credential data read from physical encoder. */
99
99
  acs_credential_on_encoder: {
100
100
  /** Date and time the credential was created. */
101
101
  created_at: string | null
@@ -284,7 +284,7 @@ export interface Routes {
284
284
  action_attempt_id: string
285
285
  status: 'error'
286
286
  result: null
287
- action_type: 'SCAN_CARD'
287
+ action_type: 'SCAN_CREDENTIAL'
288
288
  error:
289
289
  | {
290
290
  type: 'uncategorized_error'
@@ -305,14 +305,14 @@ export interface Routes {
305
305
  status: 'pending'
306
306
  result: null
307
307
  error: null
308
- action_type: 'ENCODE_CARD'
308
+ action_type: 'ENCODE_CREDENTIAL'
309
309
  }
310
310
  | {
311
311
  /** The ID of the action attempt. */
312
312
  action_attempt_id: string
313
313
  status: 'success'
314
314
  error: null
315
- action_type: 'ENCODE_CARD'
315
+ action_type: 'ENCODE_CREDENTIAL'
316
316
  /** Means by which a user gains access at an entrance.
317
317
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
318
318
  result:
@@ -466,7 +466,7 @@ export interface Routes {
466
466
  action_attempt_id: string
467
467
  status: 'error'
468
468
  result: null
469
- action_type: 'ENCODE_CARD'
469
+ action_type: 'ENCODE_CREDENTIAL'
470
470
  error:
471
471
  | {
472
472
  type: 'uncategorized_error'
@@ -1103,16 +1103,16 @@ export interface Routes {
1103
1103
  status: 'pending'
1104
1104
  result: null
1105
1105
  error: null
1106
- action_type: 'SCAN_CARD'
1106
+ action_type: 'SCAN_CREDENTIAL'
1107
1107
  }
1108
1108
  | {
1109
1109
  /** The ID of the action attempt. */
1110
1110
  action_attempt_id: string
1111
1111
  status: 'success'
1112
1112
  error: null
1113
- action_type: 'SCAN_CARD'
1113
+ action_type: 'SCAN_CREDENTIAL'
1114
1114
  result: {
1115
- /** Snapshot of the card data read from the physical encoder. */
1115
+ /** Snapshot of credential data read from physical encoder. */
1116
1116
  acs_credential_on_encoder: {
1117
1117
  /** Date and time the credential was created. */
1118
1118
  created_at: string | null
@@ -1301,7 +1301,7 @@ export interface Routes {
1301
1301
  action_attempt_id: string
1302
1302
  status: 'error'
1303
1303
  result: null
1304
- action_type: 'SCAN_CARD'
1304
+ action_type: 'SCAN_CREDENTIAL'
1305
1305
  error:
1306
1306
  | {
1307
1307
  type: 'uncategorized_error'
@@ -1322,14 +1322,14 @@ export interface Routes {
1322
1322
  status: 'pending'
1323
1323
  result: null
1324
1324
  error: null
1325
- action_type: 'ENCODE_CARD'
1325
+ action_type: 'ENCODE_CREDENTIAL'
1326
1326
  }
1327
1327
  | {
1328
1328
  /** The ID of the action attempt. */
1329
1329
  action_attempt_id: string
1330
1330
  status: 'success'
1331
1331
  error: null
1332
- action_type: 'ENCODE_CARD'
1332
+ action_type: 'ENCODE_CREDENTIAL'
1333
1333
  /** Means by which a user gains access at an entrance.
1334
1334
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
1335
1335
  result:
@@ -1483,7 +1483,7 @@ export interface Routes {
1483
1483
  action_attempt_id: string
1484
1484
  status: 'error'
1485
1485
  result: null
1486
- action_type: 'ENCODE_CARD'
1486
+ action_type: 'ENCODE_CREDENTIAL'
1487
1487
  error:
1488
1488
  | {
1489
1489
  type: 'uncategorized_error'
@@ -2285,16 +2285,16 @@ export interface Routes {
2285
2285
  status: 'pending'
2286
2286
  result: null
2287
2287
  error: null
2288
- action_type: 'SCAN_CARD'
2288
+ action_type: 'SCAN_CREDENTIAL'
2289
2289
  }
2290
2290
  | {
2291
2291
  /** The ID of the action attempt. */
2292
2292
  action_attempt_id: string
2293
2293
  status: 'success'
2294
2294
  error: null
2295
- action_type: 'SCAN_CARD'
2295
+ action_type: 'SCAN_CREDENTIAL'
2296
2296
  result: {
2297
- /** Snapshot of the card data read from the physical encoder. */
2297
+ /** Snapshot of credential data read from physical encoder. */
2298
2298
  acs_credential_on_encoder: {
2299
2299
  /** Date and time the credential was created. */
2300
2300
  created_at: string | null
@@ -2483,7 +2483,7 @@ export interface Routes {
2483
2483
  action_attempt_id: string
2484
2484
  status: 'error'
2485
2485
  result: null
2486
- action_type: 'SCAN_CARD'
2486
+ action_type: 'SCAN_CREDENTIAL'
2487
2487
  error:
2488
2488
  | {
2489
2489
  type: 'uncategorized_error'
@@ -2504,14 +2504,14 @@ export interface Routes {
2504
2504
  status: 'pending'
2505
2505
  result: null
2506
2506
  error: null
2507
- action_type: 'ENCODE_CARD'
2507
+ action_type: 'ENCODE_CREDENTIAL'
2508
2508
  }
2509
2509
  | {
2510
2510
  /** The ID of the action attempt. */
2511
2511
  action_attempt_id: string
2512
2512
  status: 'success'
2513
2513
  error: null
2514
- action_type: 'ENCODE_CARD'
2514
+ action_type: 'ENCODE_CREDENTIAL'
2515
2515
  /** Means by which a user gains access at an entrance.
2516
2516
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
2517
2517
  result:
@@ -2665,7 +2665,7 @@ export interface Routes {
2665
2665
  action_attempt_id: string
2666
2666
  status: 'error'
2667
2667
  result: null
2668
- action_type: 'ENCODE_CARD'
2668
+ action_type: 'ENCODE_CREDENTIAL'
2669
2669
  error:
2670
2670
  | {
2671
2671
  type: 'uncategorized_error'
@@ -3289,16 +3289,16 @@ export interface Routes {
3289
3289
  status: 'pending'
3290
3290
  result: null
3291
3291
  error: null
3292
- action_type: 'SCAN_CARD'
3292
+ action_type: 'SCAN_CREDENTIAL'
3293
3293
  }
3294
3294
  | {
3295
3295
  /** The ID of the action attempt. */
3296
3296
  action_attempt_id: string
3297
3297
  status: 'success'
3298
3298
  error: null
3299
- action_type: 'SCAN_CARD'
3299
+ action_type: 'SCAN_CREDENTIAL'
3300
3300
  result: {
3301
- /** Snapshot of the card data read from the physical encoder. */
3301
+ /** Snapshot of credential data read from physical encoder. */
3302
3302
  acs_credential_on_encoder: {
3303
3303
  /** Date and time the credential was created. */
3304
3304
  created_at: string | null
@@ -3487,7 +3487,7 @@ export interface Routes {
3487
3487
  action_attempt_id: string
3488
3488
  status: 'error'
3489
3489
  result: null
3490
- action_type: 'SCAN_CARD'
3490
+ action_type: 'SCAN_CREDENTIAL'
3491
3491
  error:
3492
3492
  | {
3493
3493
  type: 'uncategorized_error'
@@ -3508,14 +3508,14 @@ export interface Routes {
3508
3508
  status: 'pending'
3509
3509
  result: null
3510
3510
  error: null
3511
- action_type: 'ENCODE_CARD'
3511
+ action_type: 'ENCODE_CREDENTIAL'
3512
3512
  }
3513
3513
  | {
3514
3514
  /** The ID of the action attempt. */
3515
3515
  action_attempt_id: string
3516
3516
  status: 'success'
3517
3517
  error: null
3518
- action_type: 'ENCODE_CARD'
3518
+ action_type: 'ENCODE_CREDENTIAL'
3519
3519
  /** Means by which a user gains access at an entrance.
3520
3520
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
3521
3521
  result:
@@ -3669,7 +3669,7 @@ export interface Routes {
3669
3669
  action_attempt_id: string
3670
3670
  status: 'error'
3671
3671
  result: null
3672
- action_type: 'ENCODE_CARD'
3672
+ action_type: 'ENCODE_CREDENTIAL'
3673
3673
  error:
3674
3674
  | {
3675
3675
  type: 'uncategorized_error'
@@ -5392,13 +5392,15 @@ export interface Routes {
5392
5392
  }
5393
5393
  }
5394
5394
  }
5395
- '/acs/encoders/encode_card': {
5396
- route: '/acs/encoders/encode_card'
5395
+ '/acs/encoders/encode_credential': {
5396
+ route: '/acs/encoders/encode_credential'
5397
5397
  method: 'POST'
5398
5398
  queryParams: {}
5399
5399
  jsonBody: {}
5400
5400
  commonParams: {
5401
+ /** ID of the encoder to use for the encoding. */
5401
5402
  device_id: string
5403
+ /** ID of the acs_credential to encode on a physical card. */
5402
5404
  acs_credential_id: string
5403
5405
  }
5404
5406
  formData: {}
@@ -5464,16 +5466,16 @@ export interface Routes {
5464
5466
  status: 'pending'
5465
5467
  result: null
5466
5468
  error: null
5467
- action_type: 'SCAN_CARD'
5469
+ action_type: 'SCAN_CREDENTIAL'
5468
5470
  }
5469
5471
  | {
5470
5472
  /** The ID of the action attempt. */
5471
5473
  action_attempt_id: string
5472
5474
  status: 'success'
5473
5475
  error: null
5474
- action_type: 'SCAN_CARD'
5476
+ action_type: 'SCAN_CREDENTIAL'
5475
5477
  result: {
5476
- /** Snapshot of the card data read from the physical encoder. */
5478
+ /** Snapshot of credential data read from physical encoder. */
5477
5479
  acs_credential_on_encoder: {
5478
5480
  /** Date and time the credential was created. */
5479
5481
  created_at: string | null
@@ -5662,7 +5664,7 @@ export interface Routes {
5662
5664
  action_attempt_id: string
5663
5665
  status: 'error'
5664
5666
  result: null
5665
- action_type: 'SCAN_CARD'
5667
+ action_type: 'SCAN_CREDENTIAL'
5666
5668
  error:
5667
5669
  | {
5668
5670
  type: 'uncategorized_error'
@@ -5683,14 +5685,14 @@ export interface Routes {
5683
5685
  status: 'pending'
5684
5686
  result: null
5685
5687
  error: null
5686
- action_type: 'ENCODE_CARD'
5688
+ action_type: 'ENCODE_CREDENTIAL'
5687
5689
  }
5688
5690
  | {
5689
5691
  /** The ID of the action attempt. */
5690
5692
  action_attempt_id: string
5691
5693
  status: 'success'
5692
5694
  error: null
5693
- action_type: 'ENCODE_CARD'
5695
+ action_type: 'ENCODE_CREDENTIAL'
5694
5696
  /** Means by which a user gains access at an entrance.
5695
5697
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5696
5698
  result:
@@ -5844,7 +5846,7 @@ export interface Routes {
5844
5846
  action_attempt_id: string
5845
5847
  status: 'error'
5846
5848
  result: null
5847
- action_type: 'ENCODE_CARD'
5849
+ action_type: 'ENCODE_CREDENTIAL'
5848
5850
  error:
5849
5851
  | {
5850
5852
  type: 'uncategorized_error'
@@ -6920,13 +6922,15 @@ export interface Routes {
6920
6922
  }>
6921
6923
  }
6922
6924
  }
6923
- '/acs/encoders/scan_card': {
6924
- route: '/acs/encoders/scan_card'
6925
+ '/acs/encoders/scan_credential': {
6926
+ route: '/acs/encoders/scan_credential'
6925
6927
  method: 'POST'
6926
6928
  queryParams: {}
6927
6929
  jsonBody: {}
6928
6930
  commonParams: {
6931
+ /** ID of the acs_system the encoder belongs to. */
6929
6932
  acs_system_id: string
6933
+ /** ID of the encoder to use for the scan. */
6930
6934
  device_id: string
6931
6935
  }
6932
6936
  formData: {}
@@ -6992,16 +6996,16 @@ export interface Routes {
6992
6996
  status: 'pending'
6993
6997
  result: null
6994
6998
  error: null
6995
- action_type: 'SCAN_CARD'
6999
+ action_type: 'SCAN_CREDENTIAL'
6996
7000
  }
6997
7001
  | {
6998
7002
  /** The ID of the action attempt. */
6999
7003
  action_attempt_id: string
7000
7004
  status: 'success'
7001
7005
  error: null
7002
- action_type: 'SCAN_CARD'
7006
+ action_type: 'SCAN_CREDENTIAL'
7003
7007
  result: {
7004
- /** Snapshot of the card data read from the physical encoder. */
7008
+ /** Snapshot of credential data read from physical encoder. */
7005
7009
  acs_credential_on_encoder: {
7006
7010
  /** Date and time the credential was created. */
7007
7011
  created_at: string | null
@@ -7190,7 +7194,7 @@ export interface Routes {
7190
7194
  action_attempt_id: string
7191
7195
  status: 'error'
7192
7196
  result: null
7193
- action_type: 'SCAN_CARD'
7197
+ action_type: 'SCAN_CREDENTIAL'
7194
7198
  error:
7195
7199
  | {
7196
7200
  type: 'uncategorized_error'
@@ -7211,14 +7215,14 @@ export interface Routes {
7211
7215
  status: 'pending'
7212
7216
  result: null
7213
7217
  error: null
7214
- action_type: 'ENCODE_CARD'
7218
+ action_type: 'ENCODE_CREDENTIAL'
7215
7219
  }
7216
7220
  | {
7217
7221
  /** The ID of the action attempt. */
7218
7222
  action_attempt_id: string
7219
7223
  status: 'success'
7220
7224
  error: null
7221
- action_type: 'ENCODE_CARD'
7225
+ action_type: 'ENCODE_CREDENTIAL'
7222
7226
  /** Means by which a user gains access at an entrance.
7223
7227
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
7224
7228
  result:
@@ -7372,7 +7376,7 @@ export interface Routes {
7372
7376
  action_attempt_id: string
7373
7377
  status: 'error'
7374
7378
  result: null
7375
- action_type: 'ENCODE_CARD'
7379
+ action_type: 'ENCODE_CREDENTIAL'
7376
7380
  error:
7377
7381
  | {
7378
7382
  type: 'uncategorized_error'
@@ -8105,6 +8109,10 @@ export interface Routes {
8105
8109
  /**
8106
8110
  * @deprecated Use `external_type_display_name`. */
8107
8111
  system_type_display_name?: string | undefined
8112
+ location: {
8113
+ /** Time zone in which the `acs_system` is located. */
8114
+ time_zone: string | null
8115
+ }
8108
8116
  /** Name of the `acs_system`. */
8109
8117
  name: string
8110
8118
  /** Date and time at which the `acs_system` was created. */
@@ -8248,6 +8256,10 @@ export interface Routes {
8248
8256
  /**
8249
8257
  * @deprecated Use `external_type_display_name`. */
8250
8258
  system_type_display_name?: string | undefined
8259
+ location: {
8260
+ /** Time zone in which the `acs_system` is located. */
8261
+ time_zone: string | null
8262
+ }
8251
8263
  /** Name of the `acs_system`. */
8252
8264
  name: string
8253
8265
  /** Date and time at which the `acs_system` was created. */
@@ -8391,6 +8403,10 @@ export interface Routes {
8391
8403
  /**
8392
8404
  * @deprecated Use `external_type_display_name`. */
8393
8405
  system_type_display_name?: string | undefined
8406
+ location: {
8407
+ /** Time zone in which the `acs_system` is located. */
8408
+ time_zone: string | null
8409
+ }
8394
8410
  /** Name of the `acs_system`. */
8395
8411
  name: string
8396
8412
  /** Date and time at which the `acs_system` was created. */
@@ -9369,16 +9385,16 @@ export interface Routes {
9369
9385
  status: 'pending'
9370
9386
  result: null
9371
9387
  error: null
9372
- action_type: 'SCAN_CARD'
9388
+ action_type: 'SCAN_CREDENTIAL'
9373
9389
  }
9374
9390
  | {
9375
9391
  /** The ID of the action attempt. */
9376
9392
  action_attempt_id: string
9377
9393
  status: 'success'
9378
9394
  error: null
9379
- action_type: 'SCAN_CARD'
9395
+ action_type: 'SCAN_CREDENTIAL'
9380
9396
  result: {
9381
- /** Snapshot of the card data read from the physical encoder. */
9397
+ /** Snapshot of credential data read from physical encoder. */
9382
9398
  acs_credential_on_encoder: {
9383
9399
  /** Date and time the credential was created. */
9384
9400
  created_at: string | null
@@ -9567,7 +9583,7 @@ export interface Routes {
9567
9583
  action_attempt_id: string
9568
9584
  status: 'error'
9569
9585
  result: null
9570
- action_type: 'SCAN_CARD'
9586
+ action_type: 'SCAN_CREDENTIAL'
9571
9587
  error:
9572
9588
  | {
9573
9589
  type: 'uncategorized_error'
@@ -9588,14 +9604,14 @@ export interface Routes {
9588
9604
  status: 'pending'
9589
9605
  result: null
9590
9606
  error: null
9591
- action_type: 'ENCODE_CARD'
9607
+ action_type: 'ENCODE_CREDENTIAL'
9592
9608
  }
9593
9609
  | {
9594
9610
  /** The ID of the action attempt. */
9595
9611
  action_attempt_id: string
9596
9612
  status: 'success'
9597
9613
  error: null
9598
- action_type: 'ENCODE_CARD'
9614
+ action_type: 'ENCODE_CREDENTIAL'
9599
9615
  /** Means by which a user gains access at an entrance.
9600
9616
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
9601
9617
  result:
@@ -9749,7 +9765,7 @@ export interface Routes {
9749
9765
  action_attempt_id: string
9750
9766
  status: 'error'
9751
9767
  result: null
9752
- action_type: 'ENCODE_CARD'
9768
+ action_type: 'ENCODE_CREDENTIAL'
9753
9769
  error:
9754
9770
  | {
9755
9771
  type: 'uncategorized_error'
@@ -10227,16 +10243,16 @@ export interface Routes {
10227
10243
  status: 'pending'
10228
10244
  result: null
10229
10245
  error: null
10230
- action_type: 'SCAN_CARD'
10246
+ action_type: 'SCAN_CREDENTIAL'
10231
10247
  }
10232
10248
  | {
10233
10249
  /** The ID of the action attempt. */
10234
10250
  action_attempt_id: string
10235
10251
  status: 'success'
10236
10252
  error: null
10237
- action_type: 'SCAN_CARD'
10253
+ action_type: 'SCAN_CREDENTIAL'
10238
10254
  result: {
10239
- /** Snapshot of the card data read from the physical encoder. */
10255
+ /** Snapshot of credential data read from physical encoder. */
10240
10256
  acs_credential_on_encoder: {
10241
10257
  /** Date and time the credential was created. */
10242
10258
  created_at: string | null
@@ -10425,7 +10441,7 @@ export interface Routes {
10425
10441
  action_attempt_id: string
10426
10442
  status: 'error'
10427
10443
  result: null
10428
- action_type: 'SCAN_CARD'
10444
+ action_type: 'SCAN_CREDENTIAL'
10429
10445
  error:
10430
10446
  | {
10431
10447
  type: 'uncategorized_error'
@@ -10446,14 +10462,14 @@ export interface Routes {
10446
10462
  status: 'pending'
10447
10463
  result: null
10448
10464
  error: null
10449
- action_type: 'ENCODE_CARD'
10465
+ action_type: 'ENCODE_CREDENTIAL'
10450
10466
  }
10451
10467
  | {
10452
10468
  /** The ID of the action attempt. */
10453
10469
  action_attempt_id: string
10454
10470
  status: 'success'
10455
10471
  error: null
10456
- action_type: 'ENCODE_CARD'
10472
+ action_type: 'ENCODE_CREDENTIAL'
10457
10473
  /** Means by which a user gains access at an entrance.
10458
10474
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
10459
10475
  result:
@@ -10607,7 +10623,7 @@ export interface Routes {
10607
10623
  action_attempt_id: string
10608
10624
  status: 'error'
10609
10625
  result: null
10610
- action_type: 'ENCODE_CARD'
10626
+ action_type: 'ENCODE_CREDENTIAL'
10611
10627
  error:
10612
10628
  | {
10613
10629
  type: 'uncategorized_error'
@@ -16690,16 +16706,16 @@ export interface Routes {
16690
16706
  status: 'pending'
16691
16707
  result: null
16692
16708
  error: null
16693
- action_type: 'SCAN_CARD'
16709
+ action_type: 'SCAN_CREDENTIAL'
16694
16710
  }
16695
16711
  | {
16696
16712
  /** The ID of the action attempt. */
16697
16713
  action_attempt_id: string
16698
16714
  status: 'success'
16699
16715
  error: null
16700
- action_type: 'SCAN_CARD'
16716
+ action_type: 'SCAN_CREDENTIAL'
16701
16717
  result: {
16702
- /** Snapshot of the card data read from the physical encoder. */
16718
+ /** Snapshot of credential data read from physical encoder. */
16703
16719
  acs_credential_on_encoder: {
16704
16720
  /** Date and time the credential was created. */
16705
16721
  created_at: string | null
@@ -16888,7 +16904,7 @@ export interface Routes {
16888
16904
  action_attempt_id: string
16889
16905
  status: 'error'
16890
16906
  result: null
16891
- action_type: 'SCAN_CARD'
16907
+ action_type: 'SCAN_CREDENTIAL'
16892
16908
  error:
16893
16909
  | {
16894
16910
  type: 'uncategorized_error'
@@ -16909,14 +16925,14 @@ export interface Routes {
16909
16925
  status: 'pending'
16910
16926
  result: null
16911
16927
  error: null
16912
- action_type: 'ENCODE_CARD'
16928
+ action_type: 'ENCODE_CREDENTIAL'
16913
16929
  }
16914
16930
  | {
16915
16931
  /** The ID of the action attempt. */
16916
16932
  action_attempt_id: string
16917
16933
  status: 'success'
16918
16934
  error: null
16919
- action_type: 'ENCODE_CARD'
16935
+ action_type: 'ENCODE_CREDENTIAL'
16920
16936
  /** Means by which a user gains access at an entrance.
16921
16937
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
16922
16938
  result:
@@ -17070,7 +17086,7 @@ export interface Routes {
17070
17086
  action_attempt_id: string
17071
17087
  status: 'error'
17072
17088
  result: null
17073
- action_type: 'ENCODE_CARD'
17089
+ action_type: 'ENCODE_CREDENTIAL'
17074
17090
  error:
17075
17091
  | {
17076
17092
  type: 'uncategorized_error'
@@ -17549,16 +17565,16 @@ export interface Routes {
17549
17565
  status: 'pending'
17550
17566
  result: null
17551
17567
  error: null
17552
- action_type: 'SCAN_CARD'
17568
+ action_type: 'SCAN_CREDENTIAL'
17553
17569
  }
17554
17570
  | {
17555
17571
  /** The ID of the action attempt. */
17556
17572
  action_attempt_id: string
17557
17573
  status: 'success'
17558
17574
  error: null
17559
- action_type: 'SCAN_CARD'
17575
+ action_type: 'SCAN_CREDENTIAL'
17560
17576
  result: {
17561
- /** Snapshot of the card data read from the physical encoder. */
17577
+ /** Snapshot of credential data read from physical encoder. */
17562
17578
  acs_credential_on_encoder: {
17563
17579
  /** Date and time the credential was created. */
17564
17580
  created_at: string | null
@@ -17747,7 +17763,7 @@ export interface Routes {
17747
17763
  action_attempt_id: string
17748
17764
  status: 'error'
17749
17765
  result: null
17750
- action_type: 'SCAN_CARD'
17766
+ action_type: 'SCAN_CREDENTIAL'
17751
17767
  error:
17752
17768
  | {
17753
17769
  type: 'uncategorized_error'
@@ -17768,14 +17784,14 @@ export interface Routes {
17768
17784
  status: 'pending'
17769
17785
  result: null
17770
17786
  error: null
17771
- action_type: 'ENCODE_CARD'
17787
+ action_type: 'ENCODE_CREDENTIAL'
17772
17788
  }
17773
17789
  | {
17774
17790
  /** The ID of the action attempt. */
17775
17791
  action_attempt_id: string
17776
17792
  status: 'success'
17777
17793
  error: null
17778
- action_type: 'ENCODE_CARD'
17794
+ action_type: 'ENCODE_CREDENTIAL'
17779
17795
  /** Means by which a user gains access at an entrance.
17780
17796
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
17781
17797
  result:
@@ -17929,7 +17945,7 @@ export interface Routes {
17929
17945
  action_attempt_id: string
17930
17946
  status: 'error'
17931
17947
  result: null
17932
- action_type: 'ENCODE_CARD'
17948
+ action_type: 'ENCODE_CREDENTIAL'
17933
17949
  error:
17934
17950
  | {
17935
17951
  type: 'uncategorized_error'
@@ -19910,16 +19926,16 @@ export interface Routes {
19910
19926
  status: 'pending'
19911
19927
  result: null
19912
19928
  error: null
19913
- action_type: 'SCAN_CARD'
19929
+ action_type: 'SCAN_CREDENTIAL'
19914
19930
  }
19915
19931
  | {
19916
19932
  /** The ID of the action attempt. */
19917
19933
  action_attempt_id: string
19918
19934
  status: 'success'
19919
19935
  error: null
19920
- action_type: 'SCAN_CARD'
19936
+ action_type: 'SCAN_CREDENTIAL'
19921
19937
  result: {
19922
- /** Snapshot of the card data read from the physical encoder. */
19938
+ /** Snapshot of credential data read from physical encoder. */
19923
19939
  acs_credential_on_encoder: {
19924
19940
  /** Date and time the credential was created. */
19925
19941
  created_at: string | null
@@ -20108,7 +20124,7 @@ export interface Routes {
20108
20124
  action_attempt_id: string
20109
20125
  status: 'error'
20110
20126
  result: null
20111
- action_type: 'SCAN_CARD'
20127
+ action_type: 'SCAN_CREDENTIAL'
20112
20128
  error:
20113
20129
  | {
20114
20130
  type: 'uncategorized_error'
@@ -20129,14 +20145,14 @@ export interface Routes {
20129
20145
  status: 'pending'
20130
20146
  result: null
20131
20147
  error: null
20132
- action_type: 'ENCODE_CARD'
20148
+ action_type: 'ENCODE_CREDENTIAL'
20133
20149
  }
20134
20150
  | {
20135
20151
  /** The ID of the action attempt. */
20136
20152
  action_attempt_id: string
20137
20153
  status: 'success'
20138
20154
  error: null
20139
- action_type: 'ENCODE_CARD'
20155
+ action_type: 'ENCODE_CREDENTIAL'
20140
20156
  /** Means by which a user gains access at an entrance.
20141
20157
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
20142
20158
  result:
@@ -20290,7 +20306,7 @@ export interface Routes {
20290
20306
  action_attempt_id: string
20291
20307
  status: 'error'
20292
20308
  result: null
20293
- action_type: 'ENCODE_CARD'
20309
+ action_type: 'ENCODE_CREDENTIAL'
20294
20310
  error:
20295
20311
  | {
20296
20312
  type: 'uncategorized_error'
@@ -20779,16 +20795,16 @@ export interface Routes {
20779
20795
  status: 'pending'
20780
20796
  result: null
20781
20797
  error: null
20782
- action_type: 'SCAN_CARD'
20798
+ action_type: 'SCAN_CREDENTIAL'
20783
20799
  }
20784
20800
  | {
20785
20801
  /** The ID of the action attempt. */
20786
20802
  action_attempt_id: string
20787
20803
  status: 'success'
20788
20804
  error: null
20789
- action_type: 'SCAN_CARD'
20805
+ action_type: 'SCAN_CREDENTIAL'
20790
20806
  result: {
20791
- /** Snapshot of the card data read from the physical encoder. */
20807
+ /** Snapshot of credential data read from physical encoder. */
20792
20808
  acs_credential_on_encoder: {
20793
20809
  /** Date and time the credential was created. */
20794
20810
  created_at: string | null
@@ -20977,7 +20993,7 @@ export interface Routes {
20977
20993
  action_attempt_id: string
20978
20994
  status: 'error'
20979
20995
  result: null
20980
- action_type: 'SCAN_CARD'
20996
+ action_type: 'SCAN_CREDENTIAL'
20981
20997
  error:
20982
20998
  | {
20983
20999
  type: 'uncategorized_error'
@@ -20998,14 +21014,14 @@ export interface Routes {
20998
21014
  status: 'pending'
20999
21015
  result: null
21000
21016
  error: null
21001
- action_type: 'ENCODE_CARD'
21017
+ action_type: 'ENCODE_CREDENTIAL'
21002
21018
  }
21003
21019
  | {
21004
21020
  /** The ID of the action attempt. */
21005
21021
  action_attempt_id: string
21006
21022
  status: 'success'
21007
21023
  error: null
21008
- action_type: 'ENCODE_CARD'
21024
+ action_type: 'ENCODE_CREDENTIAL'
21009
21025
  /** Means by which a user gains access at an entrance.
21010
21026
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
21011
21027
  result:
@@ -21159,7 +21175,7 @@ export interface Routes {
21159
21175
  action_attempt_id: string
21160
21176
  status: 'error'
21161
21177
  result: null
21162
- action_type: 'ENCODE_CARD'
21178
+ action_type: 'ENCODE_CREDENTIAL'
21163
21179
  error:
21164
21180
  | {
21165
21181
  type: 'uncategorized_error'
@@ -21687,16 +21703,16 @@ export interface Routes {
21687
21703
  status: 'pending'
21688
21704
  result: null
21689
21705
  error: null
21690
- action_type: 'SCAN_CARD'
21706
+ action_type: 'SCAN_CREDENTIAL'
21691
21707
  }
21692
21708
  | {
21693
21709
  /** The ID of the action attempt. */
21694
21710
  action_attempt_id: string
21695
21711
  status: 'success'
21696
21712
  error: null
21697
- action_type: 'SCAN_CARD'
21713
+ action_type: 'SCAN_CREDENTIAL'
21698
21714
  result: {
21699
- /** Snapshot of the card data read from the physical encoder. */
21715
+ /** Snapshot of credential data read from physical encoder. */
21700
21716
  acs_credential_on_encoder: {
21701
21717
  /** Date and time the credential was created. */
21702
21718
  created_at: string | null
@@ -21885,7 +21901,7 @@ export interface Routes {
21885
21901
  action_attempt_id: string
21886
21902
  status: 'error'
21887
21903
  result: null
21888
- action_type: 'SCAN_CARD'
21904
+ action_type: 'SCAN_CREDENTIAL'
21889
21905
  error:
21890
21906
  | {
21891
21907
  type: 'uncategorized_error'
@@ -21906,14 +21922,14 @@ export interface Routes {
21906
21922
  status: 'pending'
21907
21923
  result: null
21908
21924
  error: null
21909
- action_type: 'ENCODE_CARD'
21925
+ action_type: 'ENCODE_CREDENTIAL'
21910
21926
  }
21911
21927
  | {
21912
21928
  /** The ID of the action attempt. */
21913
21929
  action_attempt_id: string
21914
21930
  status: 'success'
21915
21931
  error: null
21916
- action_type: 'ENCODE_CARD'
21932
+ action_type: 'ENCODE_CREDENTIAL'
21917
21933
  /** Means by which a user gains access at an entrance.
21918
21934
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
21919
21935
  result:
@@ -22067,7 +22083,7 @@ export interface Routes {
22067
22083
  action_attempt_id: string
22068
22084
  status: 'error'
22069
22085
  result: null
22070
- action_type: 'ENCODE_CARD'
22086
+ action_type: 'ENCODE_CREDENTIAL'
22071
22087
  error:
22072
22088
  | {
22073
22089
  type: 'uncategorized_error'
@@ -22752,16 +22768,16 @@ export interface Routes {
22752
22768
  status: 'pending'
22753
22769
  result: null
22754
22770
  error: null
22755
- action_type: 'SCAN_CARD'
22771
+ action_type: 'SCAN_CREDENTIAL'
22756
22772
  }
22757
22773
  | {
22758
22774
  /** The ID of the action attempt. */
22759
22775
  action_attempt_id: string
22760
22776
  status: 'success'
22761
22777
  error: null
22762
- action_type: 'SCAN_CARD'
22778
+ action_type: 'SCAN_CREDENTIAL'
22763
22779
  result: {
22764
- /** Snapshot of the card data read from the physical encoder. */
22780
+ /** Snapshot of credential data read from physical encoder. */
22765
22781
  acs_credential_on_encoder: {
22766
22782
  /** Date and time the credential was created. */
22767
22783
  created_at: string | null
@@ -22950,7 +22966,7 @@ export interface Routes {
22950
22966
  action_attempt_id: string
22951
22967
  status: 'error'
22952
22968
  result: null
22953
- action_type: 'SCAN_CARD'
22969
+ action_type: 'SCAN_CREDENTIAL'
22954
22970
  error:
22955
22971
  | {
22956
22972
  type: 'uncategorized_error'
@@ -22971,14 +22987,14 @@ export interface Routes {
22971
22987
  status: 'pending'
22972
22988
  result: null
22973
22989
  error: null
22974
- action_type: 'ENCODE_CARD'
22990
+ action_type: 'ENCODE_CREDENTIAL'
22975
22991
  }
22976
22992
  | {
22977
22993
  /** The ID of the action attempt. */
22978
22994
  action_attempt_id: string
22979
22995
  status: 'success'
22980
22996
  error: null
22981
- action_type: 'ENCODE_CARD'
22997
+ action_type: 'ENCODE_CREDENTIAL'
22982
22998
  /** Means by which a user gains access at an entrance.
22983
22999
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
22984
23000
  result:
@@ -23132,7 +23148,7 @@ export interface Routes {
23132
23148
  action_attempt_id: string
23133
23149
  status: 'error'
23134
23150
  result: null
23135
- action_type: 'ENCODE_CARD'
23151
+ action_type: 'ENCODE_CREDENTIAL'
23136
23152
  error:
23137
23153
  | {
23138
23154
  type: 'uncategorized_error'
@@ -23616,16 +23632,16 @@ export interface Routes {
23616
23632
  status: 'pending'
23617
23633
  result: null
23618
23634
  error: null
23619
- action_type: 'SCAN_CARD'
23635
+ action_type: 'SCAN_CREDENTIAL'
23620
23636
  }
23621
23637
  | {
23622
23638
  /** The ID of the action attempt. */
23623
23639
  action_attempt_id: string
23624
23640
  status: 'success'
23625
23641
  error: null
23626
- action_type: 'SCAN_CARD'
23642
+ action_type: 'SCAN_CREDENTIAL'
23627
23643
  result: {
23628
- /** Snapshot of the card data read from the physical encoder. */
23644
+ /** Snapshot of credential data read from physical encoder. */
23629
23645
  acs_credential_on_encoder: {
23630
23646
  /** Date and time the credential was created. */
23631
23647
  created_at: string | null
@@ -23814,7 +23830,7 @@ export interface Routes {
23814
23830
  action_attempt_id: string
23815
23831
  status: 'error'
23816
23832
  result: null
23817
- action_type: 'SCAN_CARD'
23833
+ action_type: 'SCAN_CREDENTIAL'
23818
23834
  error:
23819
23835
  | {
23820
23836
  type: 'uncategorized_error'
@@ -23835,14 +23851,14 @@ export interface Routes {
23835
23851
  status: 'pending'
23836
23852
  result: null
23837
23853
  error: null
23838
- action_type: 'ENCODE_CARD'
23854
+ action_type: 'ENCODE_CREDENTIAL'
23839
23855
  }
23840
23856
  | {
23841
23857
  /** The ID of the action attempt. */
23842
23858
  action_attempt_id: string
23843
23859
  status: 'success'
23844
23860
  error: null
23845
- action_type: 'ENCODE_CARD'
23861
+ action_type: 'ENCODE_CREDENTIAL'
23846
23862
  /** Means by which a user gains access at an entrance.
23847
23863
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
23848
23864
  result:
@@ -23996,7 +24012,7 @@ export interface Routes {
23996
24012
  action_attempt_id: string
23997
24013
  status: 'error'
23998
24014
  result: null
23999
- action_type: 'ENCODE_CARD'
24015
+ action_type: 'ENCODE_CREDENTIAL'
24000
24016
  error:
24001
24017
  | {
24002
24018
  type: 'uncategorized_error'
@@ -25173,16 +25189,16 @@ export interface Routes {
25173
25189
  status: 'pending'
25174
25190
  result: null
25175
25191
  error: null
25176
- action_type: 'SCAN_CARD'
25192
+ action_type: 'SCAN_CREDENTIAL'
25177
25193
  }
25178
25194
  | {
25179
25195
  /** The ID of the action attempt. */
25180
25196
  action_attempt_id: string
25181
25197
  status: 'success'
25182
25198
  error: null
25183
- action_type: 'SCAN_CARD'
25199
+ action_type: 'SCAN_CREDENTIAL'
25184
25200
  result: {
25185
- /** Snapshot of the card data read from the physical encoder. */
25201
+ /** Snapshot of credential data read from physical encoder. */
25186
25202
  acs_credential_on_encoder: {
25187
25203
  /** Date and time the credential was created. */
25188
25204
  created_at: string | null
@@ -25371,7 +25387,7 @@ export interface Routes {
25371
25387
  action_attempt_id: string
25372
25388
  status: 'error'
25373
25389
  result: null
25374
- action_type: 'SCAN_CARD'
25390
+ action_type: 'SCAN_CREDENTIAL'
25375
25391
  error:
25376
25392
  | {
25377
25393
  type: 'uncategorized_error'
@@ -25392,14 +25408,14 @@ export interface Routes {
25392
25408
  status: 'pending'
25393
25409
  result: null
25394
25410
  error: null
25395
- action_type: 'ENCODE_CARD'
25411
+ action_type: 'ENCODE_CREDENTIAL'
25396
25412
  }
25397
25413
  | {
25398
25414
  /** The ID of the action attempt. */
25399
25415
  action_attempt_id: string
25400
25416
  status: 'success'
25401
25417
  error: null
25402
- action_type: 'ENCODE_CARD'
25418
+ action_type: 'ENCODE_CREDENTIAL'
25403
25419
  /** Means by which a user gains access at an entrance.
25404
25420
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
25405
25421
  result:
@@ -25553,7 +25569,7 @@ export interface Routes {
25553
25569
  action_attempt_id: string
25554
25570
  status: 'error'
25555
25571
  result: null
25556
- action_type: 'ENCODE_CARD'
25572
+ action_type: 'ENCODE_CREDENTIAL'
25557
25573
  error:
25558
25574
  | {
25559
25575
  type: 'uncategorized_error'
@@ -26041,16 +26057,16 @@ export interface Routes {
26041
26057
  status: 'pending'
26042
26058
  result: null
26043
26059
  error: null
26044
- action_type: 'SCAN_CARD'
26060
+ action_type: 'SCAN_CREDENTIAL'
26045
26061
  }
26046
26062
  | {
26047
26063
  /** The ID of the action attempt. */
26048
26064
  action_attempt_id: string
26049
26065
  status: 'success'
26050
26066
  error: null
26051
- action_type: 'SCAN_CARD'
26067
+ action_type: 'SCAN_CREDENTIAL'
26052
26068
  result: {
26053
- /** Snapshot of the card data read from the physical encoder. */
26069
+ /** Snapshot of credential data read from physical encoder. */
26054
26070
  acs_credential_on_encoder: {
26055
26071
  /** Date and time the credential was created. */
26056
26072
  created_at: string | null
@@ -26239,7 +26255,7 @@ export interface Routes {
26239
26255
  action_attempt_id: string
26240
26256
  status: 'error'
26241
26257
  result: null
26242
- action_type: 'SCAN_CARD'
26258
+ action_type: 'SCAN_CREDENTIAL'
26243
26259
  error:
26244
26260
  | {
26245
26261
  type: 'uncategorized_error'
@@ -26260,14 +26276,14 @@ export interface Routes {
26260
26276
  status: 'pending'
26261
26277
  result: null
26262
26278
  error: null
26263
- action_type: 'ENCODE_CARD'
26279
+ action_type: 'ENCODE_CREDENTIAL'
26264
26280
  }
26265
26281
  | {
26266
26282
  /** The ID of the action attempt. */
26267
26283
  action_attempt_id: string
26268
26284
  status: 'success'
26269
26285
  error: null
26270
- action_type: 'ENCODE_CARD'
26286
+ action_type: 'ENCODE_CREDENTIAL'
26271
26287
  /** Means by which a user gains access at an entrance.
26272
26288
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
26273
26289
  result:
@@ -26421,7 +26437,7 @@ export interface Routes {
26421
26437
  action_attempt_id: string
26422
26438
  status: 'error'
26423
26439
  result: null
26424
- action_type: 'ENCODE_CARD'
26440
+ action_type: 'ENCODE_CREDENTIAL'
26425
26441
  error:
26426
26442
  | {
26427
26443
  type: 'uncategorized_error'
@@ -28364,16 +28380,16 @@ export interface Routes {
28364
28380
  status: 'pending'
28365
28381
  result: null
28366
28382
  error: null
28367
- action_type: 'SCAN_CARD'
28383
+ action_type: 'SCAN_CREDENTIAL'
28368
28384
  }
28369
28385
  | {
28370
28386
  /** The ID of the action attempt. */
28371
28387
  action_attempt_id: string
28372
28388
  status: 'success'
28373
28389
  error: null
28374
- action_type: 'SCAN_CARD'
28390
+ action_type: 'SCAN_CREDENTIAL'
28375
28391
  result: {
28376
- /** Snapshot of the card data read from the physical encoder. */
28392
+ /** Snapshot of credential data read from physical encoder. */
28377
28393
  acs_credential_on_encoder: {
28378
28394
  /** Date and time the credential was created. */
28379
28395
  created_at: string | null
@@ -28562,7 +28578,7 @@ export interface Routes {
28562
28578
  action_attempt_id: string
28563
28579
  status: 'error'
28564
28580
  result: null
28565
- action_type: 'SCAN_CARD'
28581
+ action_type: 'SCAN_CREDENTIAL'
28566
28582
  error:
28567
28583
  | {
28568
28584
  type: 'uncategorized_error'
@@ -28583,14 +28599,14 @@ export interface Routes {
28583
28599
  status: 'pending'
28584
28600
  result: null
28585
28601
  error: null
28586
- action_type: 'ENCODE_CARD'
28602
+ action_type: 'ENCODE_CREDENTIAL'
28587
28603
  }
28588
28604
  | {
28589
28605
  /** The ID of the action attempt. */
28590
28606
  action_attempt_id: string
28591
28607
  status: 'success'
28592
28608
  error: null
28593
- action_type: 'ENCODE_CARD'
28609
+ action_type: 'ENCODE_CREDENTIAL'
28594
28610
  /** Means by which a user gains access at an entrance.
28595
28611
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
28596
28612
  result:
@@ -28744,7 +28760,7 @@ export interface Routes {
28744
28760
  action_attempt_id: string
28745
28761
  status: 'error'
28746
28762
  result: null
28747
- action_type: 'ENCODE_CARD'
28763
+ action_type: 'ENCODE_CREDENTIAL'
28748
28764
  error:
28749
28765
  | {
28750
28766
  type: 'uncategorized_error'
@@ -29346,16 +29362,16 @@ export interface Routes {
29346
29362
  status: 'pending'
29347
29363
  result: null
29348
29364
  error: null
29349
- action_type: 'SCAN_CARD'
29365
+ action_type: 'SCAN_CREDENTIAL'
29350
29366
  }
29351
29367
  | {
29352
29368
  /** The ID of the action attempt. */
29353
29369
  action_attempt_id: string
29354
29370
  status: 'success'
29355
29371
  error: null
29356
- action_type: 'SCAN_CARD'
29372
+ action_type: 'SCAN_CREDENTIAL'
29357
29373
  result: {
29358
- /** Snapshot of the card data read from the physical encoder. */
29374
+ /** Snapshot of credential data read from physical encoder. */
29359
29375
  acs_credential_on_encoder: {
29360
29376
  /** Date and time the credential was created. */
29361
29377
  created_at: string | null
@@ -29544,7 +29560,7 @@ export interface Routes {
29544
29560
  action_attempt_id: string
29545
29561
  status: 'error'
29546
29562
  result: null
29547
- action_type: 'SCAN_CARD'
29563
+ action_type: 'SCAN_CREDENTIAL'
29548
29564
  error:
29549
29565
  | {
29550
29566
  type: 'uncategorized_error'
@@ -29565,14 +29581,14 @@ export interface Routes {
29565
29581
  status: 'pending'
29566
29582
  result: null
29567
29583
  error: null
29568
- action_type: 'ENCODE_CARD'
29584
+ action_type: 'ENCODE_CREDENTIAL'
29569
29585
  }
29570
29586
  | {
29571
29587
  /** The ID of the action attempt. */
29572
29588
  action_attempt_id: string
29573
29589
  status: 'success'
29574
29590
  error: null
29575
- action_type: 'ENCODE_CARD'
29591
+ action_type: 'ENCODE_CREDENTIAL'
29576
29592
  /** Means by which a user gains access at an entrance.
29577
29593
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
29578
29594
  result:
@@ -29726,7 +29742,7 @@ export interface Routes {
29726
29742
  action_attempt_id: string
29727
29743
  status: 'error'
29728
29744
  result: null
29729
- action_type: 'ENCODE_CARD'
29745
+ action_type: 'ENCODE_CREDENTIAL'
29730
29746
  error:
29731
29747
  | {
29732
29748
  type: 'uncategorized_error'
@@ -31722,6 +31738,10 @@ export interface Routes {
31722
31738
  /**
31723
31739
  * @deprecated Use `external_type_display_name`. */
31724
31740
  system_type_display_name?: string | undefined
31741
+ location: {
31742
+ /** Time zone in which the `acs_system` is located. */
31743
+ time_zone: string | null
31744
+ }
31725
31745
  /** Name of the `acs_system`. */
31726
31746
  name: string
31727
31747
  /** Date and time at which the `acs_system` was created. */
@@ -32170,16 +32190,16 @@ export interface Routes {
32170
32190
  status: 'pending'
32171
32191
  result: null
32172
32192
  error: null
32173
- action_type: 'SCAN_CARD'
32193
+ action_type: 'SCAN_CREDENTIAL'
32174
32194
  }
32175
32195
  | {
32176
32196
  /** The ID of the action attempt. */
32177
32197
  action_attempt_id: string
32178
32198
  status: 'success'
32179
32199
  error: null
32180
- action_type: 'SCAN_CARD'
32200
+ action_type: 'SCAN_CREDENTIAL'
32181
32201
  result: {
32182
- /** Snapshot of the card data read from the physical encoder. */
32202
+ /** Snapshot of credential data read from physical encoder. */
32183
32203
  acs_credential_on_encoder: {
32184
32204
  /** Date and time the credential was created. */
32185
32205
  created_at: string | null
@@ -32368,7 +32388,7 @@ export interface Routes {
32368
32388
  action_attempt_id: string
32369
32389
  status: 'error'
32370
32390
  result: null
32371
- action_type: 'SCAN_CARD'
32391
+ action_type: 'SCAN_CREDENTIAL'
32372
32392
  error:
32373
32393
  | {
32374
32394
  type: 'uncategorized_error'
@@ -32389,14 +32409,14 @@ export interface Routes {
32389
32409
  status: 'pending'
32390
32410
  result: null
32391
32411
  error: null
32392
- action_type: 'ENCODE_CARD'
32412
+ action_type: 'ENCODE_CREDENTIAL'
32393
32413
  }
32394
32414
  | {
32395
32415
  /** The ID of the action attempt. */
32396
32416
  action_attempt_id: string
32397
32417
  status: 'success'
32398
32418
  error: null
32399
- action_type: 'ENCODE_CARD'
32419
+ action_type: 'ENCODE_CREDENTIAL'
32400
32420
  /** Means by which a user gains access at an entrance.
32401
32421
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
32402
32422
  result:
@@ -32550,7 +32570,7 @@ export interface Routes {
32550
32570
  action_attempt_id: string
32551
32571
  status: 'error'
32552
32572
  result: null
32553
- action_type: 'ENCODE_CARD'
32573
+ action_type: 'ENCODE_CREDENTIAL'
32554
32574
  error:
32555
32575
  | {
32556
32576
  type: 'uncategorized_error'