@seamapi/types 1.251.0 → 1.252.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.
@@ -80,6 +80,38 @@ export interface Routes {
80
80
  message: string
81
81
  }
82
82
  }
83
+ | {
84
+ /** The ID of the action attempt. */
85
+ action_attempt_id: string
86
+ status: 'pending'
87
+ result: null
88
+ error: null
89
+ action_type: 'READ_CARD'
90
+ }
91
+ | {
92
+ /** The ID of the action attempt. */
93
+ action_attempt_id: string
94
+ status: 'success'
95
+ error: null
96
+ action_type: 'READ_CARD'
97
+ result: {
98
+ /** Matching acs_credential currently encoded on this card. */
99
+ acs_credential_id: string | null
100
+ /** A number or sting that physically identifies this card. */
101
+ card_number: string | null
102
+ }
103
+ }
104
+ | {
105
+ /** The ID of the action attempt. */
106
+ action_attempt_id: string
107
+ status: 'error'
108
+ result: null
109
+ action_type: 'READ_CARD'
110
+ error: {
111
+ type: string
112
+ message: string
113
+ }
114
+ }
83
115
  | {
84
116
  /** The ID of the action attempt. */
85
117
  action_attempt_id: string
@@ -684,6 +716,38 @@ export interface Routes {
684
716
  message: string
685
717
  }
686
718
  }
719
+ | {
720
+ /** The ID of the action attempt. */
721
+ action_attempt_id: string
722
+ status: 'pending'
723
+ result: null
724
+ error: null
725
+ action_type: 'READ_CARD'
726
+ }
727
+ | {
728
+ /** The ID of the action attempt. */
729
+ action_attempt_id: string
730
+ status: 'success'
731
+ error: null
732
+ action_type: 'READ_CARD'
733
+ result: {
734
+ /** Matching acs_credential currently encoded on this card. */
735
+ acs_credential_id: string | null
736
+ /** A number or sting that physically identifies this card. */
737
+ card_number: string | null
738
+ }
739
+ }
740
+ | {
741
+ /** The ID of the action attempt. */
742
+ action_attempt_id: string
743
+ status: 'error'
744
+ result: null
745
+ action_type: 'READ_CARD'
746
+ error: {
747
+ type: string
748
+ message: string
749
+ }
750
+ }
687
751
  | {
688
752
  /** The ID of the action attempt. */
689
753
  action_attempt_id: string
@@ -1453,6 +1517,38 @@ export interface Routes {
1453
1517
  message: string
1454
1518
  }
1455
1519
  }
1520
+ | {
1521
+ /** The ID of the action attempt. */
1522
+ action_attempt_id: string
1523
+ status: 'pending'
1524
+ result: null
1525
+ error: null
1526
+ action_type: 'READ_CARD'
1527
+ }
1528
+ | {
1529
+ /** The ID of the action attempt. */
1530
+ action_attempt_id: string
1531
+ status: 'success'
1532
+ error: null
1533
+ action_type: 'READ_CARD'
1534
+ result: {
1535
+ /** Matching acs_credential currently encoded on this card. */
1536
+ acs_credential_id: string | null
1537
+ /** A number or sting that physically identifies this card. */
1538
+ card_number: string | null
1539
+ }
1540
+ }
1541
+ | {
1542
+ /** The ID of the action attempt. */
1543
+ action_attempt_id: string
1544
+ status: 'error'
1545
+ result: null
1546
+ action_type: 'READ_CARD'
1547
+ error: {
1548
+ type: string
1549
+ message: string
1550
+ }
1551
+ }
1456
1552
  | {
1457
1553
  /** The ID of the action attempt. */
1458
1554
  action_attempt_id: string
@@ -2044,6 +2140,38 @@ export interface Routes {
2044
2140
  message: string
2045
2141
  }
2046
2142
  }
2143
+ | {
2144
+ /** The ID of the action attempt. */
2145
+ action_attempt_id: string
2146
+ status: 'pending'
2147
+ result: null
2148
+ error: null
2149
+ action_type: 'READ_CARD'
2150
+ }
2151
+ | {
2152
+ /** The ID of the action attempt. */
2153
+ action_attempt_id: string
2154
+ status: 'success'
2155
+ error: null
2156
+ action_type: 'READ_CARD'
2157
+ result: {
2158
+ /** Matching acs_credential currently encoded on this card. */
2159
+ acs_credential_id: string | null
2160
+ /** A number or sting that physically identifies this card. */
2161
+ card_number: string | null
2162
+ }
2163
+ }
2164
+ | {
2165
+ /** The ID of the action attempt. */
2166
+ action_attempt_id: string
2167
+ status: 'error'
2168
+ result: null
2169
+ action_type: 'READ_CARD'
2170
+ error: {
2171
+ type: string
2172
+ message: string
2173
+ }
2174
+ }
2047
2175
  | {
2048
2176
  /** The ID of the action attempt. */
2049
2177
  action_attempt_id: string
@@ -3100,56 +3228,538 @@ export interface Routes {
3100
3228
  card_id?: string | undefined
3101
3229
  credential_id?: string | undefined
3102
3230
  }
3103
- | undefined
3104
- is_managed: true
3105
- }>
3106
- }
3107
- }
3108
- '/acs/credentials/list_accessible_entrances': {
3109
- route: '/acs/credentials/list_accessible_entrances'
3110
- method: 'GET' | 'POST'
3111
- queryParams: {}
3112
- jsonBody: {}
3113
- commonParams: {
3114
- acs_credential_id: string
3115
- }
3116
- formData: {}
3117
- jsonResponse: {
3118
- acs_entrances: Array<{
3119
- acs_system_id: string
3120
- acs_entrance_id: string
3121
- created_at: string
3122
- display_name: string
3123
- errors: Array<{
3124
- error_code: string
3125
- message: string
3126
- }>
3127
- latch_metadata?:
3128
- | {
3129
- accessibility_type: string
3130
- door_name: string
3131
- door_type: string
3132
- is_connected: boolean
3231
+ | undefined
3232
+ is_managed: true
3233
+ }>
3234
+ }
3235
+ }
3236
+ '/acs/credentials/list_accessible_entrances': {
3237
+ route: '/acs/credentials/list_accessible_entrances'
3238
+ method: 'GET' | 'POST'
3239
+ queryParams: {}
3240
+ jsonBody: {}
3241
+ commonParams: {
3242
+ acs_credential_id: string
3243
+ }
3244
+ formData: {}
3245
+ jsonResponse: {
3246
+ acs_entrances: Array<{
3247
+ acs_system_id: string
3248
+ acs_entrance_id: string
3249
+ created_at: string
3250
+ display_name: string
3251
+ errors: Array<{
3252
+ error_code: string
3253
+ message: string
3254
+ }>
3255
+ latch_metadata?:
3256
+ | {
3257
+ accessibility_type: string
3258
+ door_name: string
3259
+ door_type: string
3260
+ is_connected: boolean
3261
+ }
3262
+ | undefined
3263
+ visionline_metadata?:
3264
+ | {
3265
+ door_name: string
3266
+ door_category:
3267
+ | 'entrance'
3268
+ | 'guest'
3269
+ | 'elevator reader'
3270
+ | 'common'
3271
+ | 'common (PMS)'
3272
+ profiles?:
3273
+ | Array<{
3274
+ visionline_door_profile_id: string
3275
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
3276
+ }>
3277
+ | undefined
3278
+ }
3279
+ | undefined
3280
+ }>
3281
+ }
3282
+ }
3283
+ '/acs/credentials/read_card': {
3284
+ route: '/acs/credentials/read_card'
3285
+ method: 'POST'
3286
+ queryParams: {}
3287
+ jsonBody: {}
3288
+ commonParams:
3289
+ | {
3290
+ acs_system_id: string
3291
+ device_name: string
3292
+ }
3293
+ | {
3294
+ device_id: string
3295
+ }
3296
+ formData: {}
3297
+ jsonResponse: {
3298
+ action_attempt:
3299
+ | {
3300
+ /** The ID of the action attempt. */
3301
+ action_attempt_id: string
3302
+ status: 'pending'
3303
+ result: null
3304
+ error: null
3305
+ action_type: 'LOCK_DOOR'
3306
+ }
3307
+ | {
3308
+ /** The ID of the action attempt. */
3309
+ action_attempt_id: string
3310
+ status: 'success'
3311
+ error: null
3312
+ action_type: 'LOCK_DOOR'
3313
+ result: {}
3314
+ }
3315
+ | {
3316
+ /** The ID of the action attempt. */
3317
+ action_attempt_id: string
3318
+ status: 'error'
3319
+ result: null
3320
+ action_type: 'LOCK_DOOR'
3321
+ error: {
3322
+ type: string
3323
+ message: string
3324
+ }
3325
+ }
3326
+ | {
3327
+ /** The ID of the action attempt. */
3328
+ action_attempt_id: string
3329
+ status: 'pending'
3330
+ result: null
3331
+ error: null
3332
+ action_type: 'UNLOCK_DOOR'
3333
+ }
3334
+ | {
3335
+ /** The ID of the action attempt. */
3336
+ action_attempt_id: string
3337
+ status: 'success'
3338
+ error: null
3339
+ action_type: 'UNLOCK_DOOR'
3340
+ result: {}
3341
+ }
3342
+ | {
3343
+ /** The ID of the action attempt. */
3344
+ action_attempt_id: string
3345
+ status: 'error'
3346
+ result: null
3347
+ action_type: 'UNLOCK_DOOR'
3348
+ error: {
3349
+ type: string
3350
+ message: string
3351
+ }
3352
+ }
3353
+ | {
3354
+ /** The ID of the action attempt. */
3355
+ action_attempt_id: string
3356
+ status: 'pending'
3357
+ result: null
3358
+ error: null
3359
+ action_type: 'READ_CARD'
3360
+ }
3361
+ | {
3362
+ /** The ID of the action attempt. */
3363
+ action_attempt_id: string
3364
+ status: 'success'
3365
+ error: null
3366
+ action_type: 'READ_CARD'
3367
+ result: {
3368
+ /** Matching acs_credential currently encoded on this card. */
3369
+ acs_credential_id: string | null
3370
+ /** A number or sting that physically identifies this card. */
3371
+ card_number: string | null
3372
+ }
3373
+ }
3374
+ | {
3375
+ /** The ID of the action attempt. */
3376
+ action_attempt_id: string
3377
+ status: 'error'
3378
+ result: null
3379
+ action_type: 'READ_CARD'
3380
+ error: {
3381
+ type: string
3382
+ message: string
3383
+ }
3384
+ }
3385
+ | {
3386
+ /** The ID of the action attempt. */
3387
+ action_attempt_id: string
3388
+ status: 'pending'
3389
+ result: null
3390
+ error: null
3391
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3392
+ }
3393
+ | {
3394
+ /** The ID of the action attempt. */
3395
+ action_attempt_id: string
3396
+ status: 'success'
3397
+ error: null
3398
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3399
+ result: {}
3400
+ }
3401
+ | {
3402
+ /** The ID of the action attempt. */
3403
+ action_attempt_id: string
3404
+ status: 'error'
3405
+ result: null
3406
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3407
+ error: {
3408
+ type: string
3409
+ message: string
3410
+ }
3411
+ }
3412
+ | {
3413
+ /** The ID of the action attempt. */
3414
+ action_attempt_id: string
3415
+ status: 'pending'
3416
+ result: null
3417
+ error: null
3418
+ action_type: 'SET_COOL'
3419
+ }
3420
+ | {
3421
+ /** The ID of the action attempt. */
3422
+ action_attempt_id: string
3423
+ status: 'success'
3424
+ error: null
3425
+ action_type: 'SET_COOL'
3426
+ result: {}
3427
+ }
3428
+ | {
3429
+ /** The ID of the action attempt. */
3430
+ action_attempt_id: string
3431
+ status: 'error'
3432
+ result: null
3433
+ action_type: 'SET_COOL'
3434
+ error: {
3435
+ type: string
3436
+ message: string
3437
+ }
3438
+ }
3439
+ | {
3440
+ /** The ID of the action attempt. */
3441
+ action_attempt_id: string
3442
+ status: 'pending'
3443
+ result: null
3444
+ error: null
3445
+ action_type: 'SET_HEAT'
3446
+ }
3447
+ | {
3448
+ /** The ID of the action attempt. */
3449
+ action_attempt_id: string
3450
+ status: 'success'
3451
+ error: null
3452
+ action_type: 'SET_HEAT'
3453
+ result: {}
3454
+ }
3455
+ | {
3456
+ /** The ID of the action attempt. */
3457
+ action_attempt_id: string
3458
+ status: 'error'
3459
+ result: null
3460
+ action_type: 'SET_HEAT'
3461
+ error: {
3462
+ type: string
3463
+ message: string
3464
+ }
3465
+ }
3466
+ | {
3467
+ /** The ID of the action attempt. */
3468
+ action_attempt_id: string
3469
+ status: 'pending'
3470
+ result: null
3471
+ error: null
3472
+ action_type: 'SET_HEAT_COOL'
3473
+ }
3474
+ | {
3475
+ /** The ID of the action attempt. */
3476
+ action_attempt_id: string
3477
+ status: 'success'
3478
+ error: null
3479
+ action_type: 'SET_HEAT_COOL'
3480
+ result: {}
3481
+ }
3482
+ | {
3483
+ /** The ID of the action attempt. */
3484
+ action_attempt_id: string
3485
+ status: 'error'
3486
+ result: null
3487
+ action_type: 'SET_HEAT_COOL'
3488
+ error: {
3489
+ type: string
3490
+ message: string
3491
+ }
3492
+ }
3493
+ | {
3494
+ /** The ID of the action attempt. */
3495
+ action_attempt_id: string
3496
+ status: 'pending'
3497
+ result: null
3498
+ error: null
3499
+ action_type: 'SET_FAN_MODE'
3500
+ }
3501
+ | {
3502
+ /** The ID of the action attempt. */
3503
+ action_attempt_id: string
3504
+ status: 'success'
3505
+ error: null
3506
+ action_type: 'SET_FAN_MODE'
3507
+ result: {}
3508
+ }
3509
+ | {
3510
+ /** The ID of the action attempt. */
3511
+ action_attempt_id: string
3512
+ status: 'error'
3513
+ result: null
3514
+ action_type: 'SET_FAN_MODE'
3515
+ error: {
3516
+ type: string
3517
+ message: string
3518
+ }
3519
+ }
3520
+ | {
3521
+ /** The ID of the action attempt. */
3522
+ action_attempt_id: string
3523
+ status: 'pending'
3524
+ result: null
3525
+ error: null
3526
+ action_type: 'SET_THERMOSTAT_OFF'
3527
+ }
3528
+ | {
3529
+ /** The ID of the action attempt. */
3530
+ action_attempt_id: string
3531
+ status: 'success'
3532
+ error: null
3533
+ action_type: 'SET_THERMOSTAT_OFF'
3534
+ result: {}
3535
+ }
3536
+ | {
3537
+ /** The ID of the action attempt. */
3538
+ action_attempt_id: string
3539
+ status: 'error'
3540
+ result: null
3541
+ action_type: 'SET_THERMOSTAT_OFF'
3542
+ error: {
3543
+ type: string
3544
+ message: string
3545
+ }
3546
+ }
3547
+ | {
3548
+ /** The ID of the action attempt. */
3549
+ action_attempt_id: string
3550
+ status: 'pending'
3551
+ result: null
3552
+ error: null
3553
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
3554
+ }
3555
+ | {
3556
+ /** The ID of the action attempt. */
3557
+ action_attempt_id: string
3558
+ status: 'success'
3559
+ error: null
3560
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
3561
+ result: {}
3562
+ }
3563
+ | {
3564
+ /** The ID of the action attempt. */
3565
+ action_attempt_id: string
3566
+ status: 'error'
3567
+ result: null
3568
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
3569
+ error: {
3570
+ type: string
3571
+ message: string
3572
+ }
3573
+ }
3574
+ | {
3575
+ /** The ID of the action attempt. */
3576
+ action_attempt_id: string
3577
+ status: 'pending'
3578
+ result: null
3579
+ error: null
3580
+ action_type: 'SYNC_ACCESS_CODES'
3581
+ }
3582
+ | {
3583
+ /** The ID of the action attempt. */
3584
+ action_attempt_id: string
3585
+ status: 'success'
3586
+ error: null
3587
+ action_type: 'SYNC_ACCESS_CODES'
3588
+ result?: any
3589
+ }
3590
+ | {
3591
+ /** The ID of the action attempt. */
3592
+ action_attempt_id: string
3593
+ status: 'error'
3594
+ result: null
3595
+ action_type: 'SYNC_ACCESS_CODES'
3596
+ error: {
3597
+ type: string
3598
+ message: string
3599
+ }
3600
+ }
3601
+ | {
3602
+ /** The ID of the action attempt. */
3603
+ action_attempt_id: string
3604
+ status: 'pending'
3605
+ result: null
3606
+ error: null
3607
+ action_type: 'CREATE_ACCESS_CODE'
3608
+ }
3609
+ | {
3610
+ /** The ID of the action attempt. */
3611
+ action_attempt_id: string
3612
+ status: 'success'
3613
+ error: null
3614
+ action_type: 'CREATE_ACCESS_CODE'
3615
+ result?: any
3616
+ }
3617
+ | {
3618
+ /** The ID of the action attempt. */
3619
+ action_attempt_id: string
3620
+ status: 'error'
3621
+ result: null
3622
+ action_type: 'CREATE_ACCESS_CODE'
3623
+ error: {
3624
+ type: string
3625
+ message: string
3626
+ }
3627
+ }
3628
+ | {
3629
+ /** The ID of the action attempt. */
3630
+ action_attempt_id: string
3631
+ status: 'pending'
3632
+ result: null
3633
+ error: null
3634
+ action_type: 'DELETE_ACCESS_CODE'
3635
+ }
3636
+ | {
3637
+ /** The ID of the action attempt. */
3638
+ action_attempt_id: string
3639
+ status: 'success'
3640
+ error: null
3641
+ action_type: 'DELETE_ACCESS_CODE'
3642
+ result?: any
3643
+ }
3644
+ | {
3645
+ /** The ID of the action attempt. */
3646
+ action_attempt_id: string
3647
+ status: 'error'
3648
+ result: null
3649
+ action_type: 'DELETE_ACCESS_CODE'
3650
+ error: {
3651
+ type: string
3652
+ message: string
3653
+ }
3654
+ }
3655
+ | {
3656
+ /** The ID of the action attempt. */
3657
+ action_attempt_id: string
3658
+ status: 'pending'
3659
+ result: null
3660
+ error: null
3661
+ action_type: 'UPDATE_ACCESS_CODE'
3662
+ }
3663
+ | {
3664
+ /** The ID of the action attempt. */
3665
+ action_attempt_id: string
3666
+ status: 'success'
3667
+ error: null
3668
+ action_type: 'UPDATE_ACCESS_CODE'
3669
+ result?: any
3670
+ }
3671
+ | {
3672
+ /** The ID of the action attempt. */
3673
+ action_attempt_id: string
3674
+ status: 'error'
3675
+ result: null
3676
+ action_type: 'UPDATE_ACCESS_CODE'
3677
+ error: {
3678
+ type: string
3679
+ message: string
3133
3680
  }
3134
- | undefined
3135
- visionline_metadata?:
3136
- | {
3137
- door_name: string
3138
- door_category:
3139
- | 'entrance'
3140
- | 'guest'
3141
- | 'elevator reader'
3142
- | 'common'
3143
- | 'common (PMS)'
3144
- profiles?:
3145
- | Array<{
3146
- visionline_door_profile_id: string
3147
- visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
3148
- }>
3149
- | undefined
3681
+ }
3682
+ | {
3683
+ /** The ID of the action attempt. */
3684
+ action_attempt_id: string
3685
+ status: 'pending'
3686
+ result: null
3687
+ error: null
3688
+ action_type: 'CREATE_NOISE_THRESHOLD'
3689
+ }
3690
+ | {
3691
+ /** The ID of the action attempt. */
3692
+ action_attempt_id: string
3693
+ status: 'success'
3694
+ error: null
3695
+ action_type: 'CREATE_NOISE_THRESHOLD'
3696
+ result?: any
3697
+ }
3698
+ | {
3699
+ /** The ID of the action attempt. */
3700
+ action_attempt_id: string
3701
+ status: 'error'
3702
+ result: null
3703
+ action_type: 'CREATE_NOISE_THRESHOLD'
3704
+ error: {
3705
+ type: string
3706
+ message: string
3150
3707
  }
3151
- | undefined
3152
- }>
3708
+ }
3709
+ | {
3710
+ /** The ID of the action attempt. */
3711
+ action_attempt_id: string
3712
+ status: 'pending'
3713
+ result: null
3714
+ error: null
3715
+ action_type: 'DELETE_NOISE_THRESHOLD'
3716
+ }
3717
+ | {
3718
+ /** The ID of the action attempt. */
3719
+ action_attempt_id: string
3720
+ status: 'success'
3721
+ error: null
3722
+ action_type: 'DELETE_NOISE_THRESHOLD'
3723
+ result?: any
3724
+ }
3725
+ | {
3726
+ /** The ID of the action attempt. */
3727
+ action_attempt_id: string
3728
+ status: 'error'
3729
+ result: null
3730
+ action_type: 'DELETE_NOISE_THRESHOLD'
3731
+ error: {
3732
+ type: string
3733
+ message: string
3734
+ }
3735
+ }
3736
+ | {
3737
+ /** The ID of the action attempt. */
3738
+ action_attempt_id: string
3739
+ status: 'pending'
3740
+ result: null
3741
+ error: null
3742
+ action_type: 'UPDATE_NOISE_THRESHOLD'
3743
+ }
3744
+ | {
3745
+ /** The ID of the action attempt. */
3746
+ action_attempt_id: string
3747
+ status: 'success'
3748
+ error: null
3749
+ action_type: 'UPDATE_NOISE_THRESHOLD'
3750
+ result?: any
3751
+ }
3752
+ | {
3753
+ /** The ID of the action attempt. */
3754
+ action_attempt_id: string
3755
+ status: 'error'
3756
+ result: null
3757
+ action_type: 'UPDATE_NOISE_THRESHOLD'
3758
+ error: {
3759
+ type: string
3760
+ message: string
3761
+ }
3762
+ }
3153
3763
  }
3154
3764
  }
3155
3765
  '/acs/credentials/unassign': {
@@ -4826,6 +5436,38 @@ export interface Routes {
4826
5436
  message: string
4827
5437
  }
4828
5438
  }
5439
+ | {
5440
+ /** The ID of the action attempt. */
5441
+ action_attempt_id: string
5442
+ status: 'pending'
5443
+ result: null
5444
+ error: null
5445
+ action_type: 'READ_CARD'
5446
+ }
5447
+ | {
5448
+ /** The ID of the action attempt. */
5449
+ action_attempt_id: string
5450
+ status: 'success'
5451
+ error: null
5452
+ action_type: 'READ_CARD'
5453
+ result: {
5454
+ /** Matching acs_credential currently encoded on this card. */
5455
+ acs_credential_id: string | null
5456
+ /** A number or sting that physically identifies this card. */
5457
+ card_number: string | null
5458
+ }
5459
+ }
5460
+ | {
5461
+ /** The ID of the action attempt. */
5462
+ action_attempt_id: string
5463
+ status: 'error'
5464
+ result: null
5465
+ action_type: 'READ_CARD'
5466
+ error: {
5467
+ type: string
5468
+ message: string
5469
+ }
5470
+ }
4829
5471
  | {
4830
5472
  /** The ID of the action attempt. */
4831
5473
  action_attempt_id: string
@@ -5271,6 +5913,38 @@ export interface Routes {
5271
5913
  message: string
5272
5914
  }
5273
5915
  }
5916
+ | {
5917
+ /** The ID of the action attempt. */
5918
+ action_attempt_id: string
5919
+ status: 'pending'
5920
+ result: null
5921
+ error: null
5922
+ action_type: 'READ_CARD'
5923
+ }
5924
+ | {
5925
+ /** The ID of the action attempt. */
5926
+ action_attempt_id: string
5927
+ status: 'success'
5928
+ error: null
5929
+ action_type: 'READ_CARD'
5930
+ result: {
5931
+ /** Matching acs_credential currently encoded on this card. */
5932
+ acs_credential_id: string | null
5933
+ /** A number or sting that physically identifies this card. */
5934
+ card_number: string | null
5935
+ }
5936
+ }
5937
+ | {
5938
+ /** The ID of the action attempt. */
5939
+ action_attempt_id: string
5940
+ status: 'error'
5941
+ result: null
5942
+ action_type: 'READ_CARD'
5943
+ error: {
5944
+ type: string
5945
+ message: string
5946
+ }
5947
+ }
5274
5948
  | {
5275
5949
  /** The ID of the action attempt. */
5276
5950
  action_attempt_id: string
@@ -10983,6 +11657,38 @@ export interface Routes {
10983
11657
  message: string
10984
11658
  }
10985
11659
  }
11660
+ | {
11661
+ /** The ID of the action attempt. */
11662
+ action_attempt_id: string
11663
+ status: 'pending'
11664
+ result: null
11665
+ error: null
11666
+ action_type: 'READ_CARD'
11667
+ }
11668
+ | {
11669
+ /** The ID of the action attempt. */
11670
+ action_attempt_id: string
11671
+ status: 'success'
11672
+ error: null
11673
+ action_type: 'READ_CARD'
11674
+ result: {
11675
+ /** Matching acs_credential currently encoded on this card. */
11676
+ acs_credential_id: string | null
11677
+ /** A number or sting that physically identifies this card. */
11678
+ card_number: string | null
11679
+ }
11680
+ }
11681
+ | {
11682
+ /** The ID of the action attempt. */
11683
+ action_attempt_id: string
11684
+ status: 'error'
11685
+ result: null
11686
+ action_type: 'READ_CARD'
11687
+ error: {
11688
+ type: string
11689
+ message: string
11690
+ }
11691
+ }
10986
11692
  | {
10987
11693
  /** The ID of the action attempt. */
10988
11694
  action_attempt_id: string
@@ -11381,14 +12087,41 @@ export interface Routes {
11381
12087
  status: 'pending'
11382
12088
  result: null
11383
12089
  error: null
11384
- action_type: 'LOCK_DOOR'
12090
+ action_type: 'LOCK_DOOR'
12091
+ }
12092
+ | {
12093
+ /** The ID of the action attempt. */
12094
+ action_attempt_id: string
12095
+ status: 'success'
12096
+ error: null
12097
+ action_type: 'LOCK_DOOR'
12098
+ result: {}
12099
+ }
12100
+ | {
12101
+ /** The ID of the action attempt. */
12102
+ action_attempt_id: string
12103
+ status: 'error'
12104
+ result: null
12105
+ action_type: 'LOCK_DOOR'
12106
+ error: {
12107
+ type: string
12108
+ message: string
12109
+ }
12110
+ }
12111
+ | {
12112
+ /** The ID of the action attempt. */
12113
+ action_attempt_id: string
12114
+ status: 'pending'
12115
+ result: null
12116
+ error: null
12117
+ action_type: 'UNLOCK_DOOR'
11385
12118
  }
11386
12119
  | {
11387
12120
  /** The ID of the action attempt. */
11388
12121
  action_attempt_id: string
11389
12122
  status: 'success'
11390
12123
  error: null
11391
- action_type: 'LOCK_DOOR'
12124
+ action_type: 'UNLOCK_DOOR'
11392
12125
  result: {}
11393
12126
  }
11394
12127
  | {
@@ -11396,7 +12129,7 @@ export interface Routes {
11396
12129
  action_attempt_id: string
11397
12130
  status: 'error'
11398
12131
  result: null
11399
- action_type: 'LOCK_DOOR'
12132
+ action_type: 'UNLOCK_DOOR'
11400
12133
  error: {
11401
12134
  type: string
11402
12135
  message: string
@@ -11408,22 +12141,27 @@ export interface Routes {
11408
12141
  status: 'pending'
11409
12142
  result: null
11410
12143
  error: null
11411
- action_type: 'UNLOCK_DOOR'
12144
+ action_type: 'READ_CARD'
11412
12145
  }
11413
12146
  | {
11414
12147
  /** The ID of the action attempt. */
11415
12148
  action_attempt_id: string
11416
12149
  status: 'success'
11417
12150
  error: null
11418
- action_type: 'UNLOCK_DOOR'
11419
- result: {}
12151
+ action_type: 'READ_CARD'
12152
+ result: {
12153
+ /** Matching acs_credential currently encoded on this card. */
12154
+ acs_credential_id: string | null
12155
+ /** A number or sting that physically identifies this card. */
12156
+ card_number: string | null
12157
+ }
11420
12158
  }
11421
12159
  | {
11422
12160
  /** The ID of the action attempt. */
11423
12161
  action_attempt_id: string
11424
12162
  status: 'error'
11425
12163
  result: null
11426
- action_type: 'UNLOCK_DOOR'
12164
+ action_type: 'READ_CARD'
11427
12165
  error: {
11428
12166
  type: string
11429
12167
  message: string
@@ -13280,6 +14018,38 @@ export interface Routes {
13280
14018
  message: string
13281
14019
  }
13282
14020
  }
14021
+ | {
14022
+ /** The ID of the action attempt. */
14023
+ action_attempt_id: string
14024
+ status: 'pending'
14025
+ result: null
14026
+ error: null
14027
+ action_type: 'READ_CARD'
14028
+ }
14029
+ | {
14030
+ /** The ID of the action attempt. */
14031
+ action_attempt_id: string
14032
+ status: 'success'
14033
+ error: null
14034
+ action_type: 'READ_CARD'
14035
+ result: {
14036
+ /** Matching acs_credential currently encoded on this card. */
14037
+ acs_credential_id: string | null
14038
+ /** A number or sting that physically identifies this card. */
14039
+ card_number: string | null
14040
+ }
14041
+ }
14042
+ | {
14043
+ /** The ID of the action attempt. */
14044
+ action_attempt_id: string
14045
+ status: 'error'
14046
+ result: null
14047
+ action_type: 'READ_CARD'
14048
+ error: {
14049
+ type: string
14050
+ message: string
14051
+ }
14052
+ }
13283
14053
  | {
13284
14054
  /** The ID of the action attempt. */
13285
14055
  action_attempt_id: string
@@ -13736,6 +14506,38 @@ export interface Routes {
13736
14506
  message: string
13737
14507
  }
13738
14508
  }
14509
+ | {
14510
+ /** The ID of the action attempt. */
14511
+ action_attempt_id: string
14512
+ status: 'pending'
14513
+ result: null
14514
+ error: null
14515
+ action_type: 'READ_CARD'
14516
+ }
14517
+ | {
14518
+ /** The ID of the action attempt. */
14519
+ action_attempt_id: string
14520
+ status: 'success'
14521
+ error: null
14522
+ action_type: 'READ_CARD'
14523
+ result: {
14524
+ /** Matching acs_credential currently encoded on this card. */
14525
+ acs_credential_id: string | null
14526
+ /** A number or sting that physically identifies this card. */
14527
+ card_number: string | null
14528
+ }
14529
+ }
14530
+ | {
14531
+ /** The ID of the action attempt. */
14532
+ action_attempt_id: string
14533
+ status: 'error'
14534
+ result: null
14535
+ action_type: 'READ_CARD'
14536
+ error: {
14537
+ type: string
14538
+ message: string
14539
+ }
14540
+ }
13739
14541
  | {
13740
14542
  /** The ID of the action attempt. */
13741
14543
  action_attempt_id: string
@@ -14231,6 +15033,38 @@ export interface Routes {
14231
15033
  message: string
14232
15034
  }
14233
15035
  }
15036
+ | {
15037
+ /** The ID of the action attempt. */
15038
+ action_attempt_id: string
15039
+ status: 'pending'
15040
+ result: null
15041
+ error: null
15042
+ action_type: 'READ_CARD'
15043
+ }
15044
+ | {
15045
+ /** The ID of the action attempt. */
15046
+ action_attempt_id: string
15047
+ status: 'success'
15048
+ error: null
15049
+ action_type: 'READ_CARD'
15050
+ result: {
15051
+ /** Matching acs_credential currently encoded on this card. */
15052
+ acs_credential_id: string | null
15053
+ /** A number or sting that physically identifies this card. */
15054
+ card_number: string | null
15055
+ }
15056
+ }
15057
+ | {
15058
+ /** The ID of the action attempt. */
15059
+ action_attempt_id: string
15060
+ status: 'error'
15061
+ result: null
15062
+ action_type: 'READ_CARD'
15063
+ error: {
15064
+ type: string
15065
+ message: string
15066
+ }
15067
+ }
14234
15068
  | {
14235
15069
  /** The ID of the action attempt. */
14236
15070
  action_attempt_id: string
@@ -14883,6 +15717,38 @@ export interface Routes {
14883
15717
  message: string
14884
15718
  }
14885
15719
  }
15720
+ | {
15721
+ /** The ID of the action attempt. */
15722
+ action_attempt_id: string
15723
+ status: 'pending'
15724
+ result: null
15725
+ error: null
15726
+ action_type: 'READ_CARD'
15727
+ }
15728
+ | {
15729
+ /** The ID of the action attempt. */
15730
+ action_attempt_id: string
15731
+ status: 'success'
15732
+ error: null
15733
+ action_type: 'READ_CARD'
15734
+ result: {
15735
+ /** Matching acs_credential currently encoded on this card. */
15736
+ acs_credential_id: string | null
15737
+ /** A number or sting that physically identifies this card. */
15738
+ card_number: string | null
15739
+ }
15740
+ }
15741
+ | {
15742
+ /** The ID of the action attempt. */
15743
+ action_attempt_id: string
15744
+ status: 'error'
15745
+ result: null
15746
+ action_type: 'READ_CARD'
15747
+ error: {
15748
+ type: string
15749
+ message: string
15750
+ }
15751
+ }
14886
15752
  | {
14887
15753
  /** The ID of the action attempt. */
14888
15754
  action_attempt_id: string
@@ -15331,6 +16197,38 @@ export interface Routes {
15331
16197
  message: string
15332
16198
  }
15333
16199
  }
16200
+ | {
16201
+ /** The ID of the action attempt. */
16202
+ action_attempt_id: string
16203
+ status: 'pending'
16204
+ result: null
16205
+ error: null
16206
+ action_type: 'READ_CARD'
16207
+ }
16208
+ | {
16209
+ /** The ID of the action attempt. */
16210
+ action_attempt_id: string
16211
+ status: 'success'
16212
+ error: null
16213
+ action_type: 'READ_CARD'
16214
+ result: {
16215
+ /** Matching acs_credential currently encoded on this card. */
16216
+ acs_credential_id: string | null
16217
+ /** A number or sting that physically identifies this card. */
16218
+ card_number: string | null
16219
+ }
16220
+ }
16221
+ | {
16222
+ /** The ID of the action attempt. */
16223
+ action_attempt_id: string
16224
+ status: 'error'
16225
+ result: null
16226
+ action_type: 'READ_CARD'
16227
+ error: {
16228
+ type: string
16229
+ message: string
16230
+ }
16231
+ }
15334
16232
  | {
15335
16233
  /** The ID of the action attempt. */
15336
16234
  action_attempt_id: string
@@ -16439,6 +17337,38 @@ export interface Routes {
16439
17337
  message: string
16440
17338
  }
16441
17339
  }
17340
+ | {
17341
+ /** The ID of the action attempt. */
17342
+ action_attempt_id: string
17343
+ status: 'pending'
17344
+ result: null
17345
+ error: null
17346
+ action_type: 'READ_CARD'
17347
+ }
17348
+ | {
17349
+ /** The ID of the action attempt. */
17350
+ action_attempt_id: string
17351
+ status: 'success'
17352
+ error: null
17353
+ action_type: 'READ_CARD'
17354
+ result: {
17355
+ /** Matching acs_credential currently encoded on this card. */
17356
+ acs_credential_id: string | null
17357
+ /** A number or sting that physically identifies this card. */
17358
+ card_number: string | null
17359
+ }
17360
+ }
17361
+ | {
17362
+ /** The ID of the action attempt. */
17363
+ action_attempt_id: string
17364
+ status: 'error'
17365
+ result: null
17366
+ action_type: 'READ_CARD'
17367
+ error: {
17368
+ type: string
17369
+ message: string
17370
+ }
17371
+ }
16442
17372
  | {
16443
17373
  /** The ID of the action attempt. */
16444
17374
  action_attempt_id: string
@@ -16889,6 +17819,38 @@ export interface Routes {
16889
17819
  message: string
16890
17820
  }
16891
17821
  }
17822
+ | {
17823
+ /** The ID of the action attempt. */
17824
+ action_attempt_id: string
17825
+ status: 'pending'
17826
+ result: null
17827
+ error: null
17828
+ action_type: 'READ_CARD'
17829
+ }
17830
+ | {
17831
+ /** The ID of the action attempt. */
17832
+ action_attempt_id: string
17833
+ status: 'success'
17834
+ error: null
17835
+ action_type: 'READ_CARD'
17836
+ result: {
17837
+ /** Matching acs_credential currently encoded on this card. */
17838
+ acs_credential_id: string | null
17839
+ /** A number or sting that physically identifies this card. */
17840
+ card_number: string | null
17841
+ }
17842
+ }
17843
+ | {
17844
+ /** The ID of the action attempt. */
17845
+ action_attempt_id: string
17846
+ status: 'error'
17847
+ result: null
17848
+ action_type: 'READ_CARD'
17849
+ error: {
17850
+ type: string
17851
+ message: string
17852
+ }
17853
+ }
16892
17854
  | {
16893
17855
  /** The ID of the action attempt. */
16894
17856
  action_attempt_id: string
@@ -18101,6 +19063,38 @@ export interface Routes {
18101
19063
  message: string
18102
19064
  }
18103
19065
  }
19066
+ | {
19067
+ /** The ID of the action attempt. */
19068
+ action_attempt_id: string
19069
+ status: 'pending'
19070
+ result: null
19071
+ error: null
19072
+ action_type: 'READ_CARD'
19073
+ }
19074
+ | {
19075
+ /** The ID of the action attempt. */
19076
+ action_attempt_id: string
19077
+ status: 'success'
19078
+ error: null
19079
+ action_type: 'READ_CARD'
19080
+ result: {
19081
+ /** Matching acs_credential currently encoded on this card. */
19082
+ acs_credential_id: string | null
19083
+ /** A number or sting that physically identifies this card. */
19084
+ card_number: string | null
19085
+ }
19086
+ }
19087
+ | {
19088
+ /** The ID of the action attempt. */
19089
+ action_attempt_id: string
19090
+ status: 'error'
19091
+ result: null
19092
+ action_type: 'READ_CARD'
19093
+ error: {
19094
+ type: string
19095
+ message: string
19096
+ }
19097
+ }
18104
19098
  | {
18105
19099
  /** The ID of the action attempt. */
18106
19100
  action_attempt_id: string
@@ -18668,6 +19662,38 @@ export interface Routes {
18668
19662
  message: string
18669
19663
  }
18670
19664
  }
19665
+ | {
19666
+ /** The ID of the action attempt. */
19667
+ action_attempt_id: string
19668
+ status: 'pending'
19669
+ result: null
19670
+ error: null
19671
+ action_type: 'READ_CARD'
19672
+ }
19673
+ | {
19674
+ /** The ID of the action attempt. */
19675
+ action_attempt_id: string
19676
+ status: 'success'
19677
+ error: null
19678
+ action_type: 'READ_CARD'
19679
+ result: {
19680
+ /** Matching acs_credential currently encoded on this card. */
19681
+ acs_credential_id: string | null
19682
+ /** A number or sting that physically identifies this card. */
19683
+ card_number: string | null
19684
+ }
19685
+ }
19686
+ | {
19687
+ /** The ID of the action attempt. */
19688
+ action_attempt_id: string
19689
+ status: 'error'
19690
+ result: null
19691
+ action_type: 'READ_CARD'
19692
+ error: {
19693
+ type: string
19694
+ message: string
19695
+ }
19696
+ }
18671
19697
  | {
18672
19698
  /** The ID of the action attempt. */
18673
19699
  action_attempt_id: string
@@ -20956,6 +21982,38 @@ export interface Routes {
20956
21982
  message: string
20957
21983
  }
20958
21984
  }
21985
+ | {
21986
+ /** The ID of the action attempt. */
21987
+ action_attempt_id: string
21988
+ status: 'pending'
21989
+ result: null
21990
+ error: null
21991
+ action_type: 'READ_CARD'
21992
+ }
21993
+ | {
21994
+ /** The ID of the action attempt. */
21995
+ action_attempt_id: string
21996
+ status: 'success'
21997
+ error: null
21998
+ action_type: 'READ_CARD'
21999
+ result: {
22000
+ /** Matching acs_credential currently encoded on this card. */
22001
+ acs_credential_id: string | null
22002
+ /** A number or sting that physically identifies this card. */
22003
+ card_number: string | null
22004
+ }
22005
+ }
22006
+ | {
22007
+ /** The ID of the action attempt. */
22008
+ action_attempt_id: string
22009
+ status: 'error'
22010
+ result: null
22011
+ action_type: 'READ_CARD'
22012
+ error: {
22013
+ type: string
22014
+ message: string
22015
+ }
22016
+ }
20959
22017
  | {
20960
22018
  /** The ID of the action attempt. */
20961
22019
  action_attempt_id: string