@seamapi/types 1.254.0 → 1.255.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.
@@ -102,6 +102,35 @@ export interface Routes {
102
102
  type: string;
103
103
  message: string;
104
104
  };
105
+ } | {
106
+ /** The ID of the action attempt. */
107
+ action_attempt_id: string;
108
+ status: 'pending';
109
+ result: null;
110
+ error: null;
111
+ action_type: 'ENCODE_CARD';
112
+ } | {
113
+ /** The ID of the action attempt. */
114
+ action_attempt_id: string;
115
+ status: 'success';
116
+ error: null;
117
+ action_type: 'ENCODE_CARD';
118
+ result: {
119
+ /** Matching acs_credential currently encoded on this card. */
120
+ acs_credential_id: string | null;
121
+ /** A number or sting that physically identifies this card. */
122
+ card_number: string | null;
123
+ };
124
+ } | {
125
+ /** The ID of the action attempt. */
126
+ action_attempt_id: string;
127
+ status: 'error';
128
+ result: null;
129
+ action_type: 'ENCODE_CARD';
130
+ error: {
131
+ type: string;
132
+ message: string;
133
+ };
105
134
  } | {
106
135
  /** The ID of the action attempt. */
107
136
  action_attempt_id: string;
@@ -679,6 +708,35 @@ export interface Routes {
679
708
  type: string;
680
709
  message: string;
681
710
  };
711
+ } | {
712
+ /** The ID of the action attempt. */
713
+ action_attempt_id: string;
714
+ status: 'pending';
715
+ result: null;
716
+ error: null;
717
+ action_type: 'ENCODE_CARD';
718
+ } | {
719
+ /** The ID of the action attempt. */
720
+ action_attempt_id: string;
721
+ status: 'success';
722
+ error: null;
723
+ action_type: 'ENCODE_CARD';
724
+ result: {
725
+ /** Matching acs_credential currently encoded on this card. */
726
+ acs_credential_id: string | null;
727
+ /** A number or sting that physically identifies this card. */
728
+ card_number: string | null;
729
+ };
730
+ } | {
731
+ /** The ID of the action attempt. */
732
+ action_attempt_id: string;
733
+ status: 'error';
734
+ result: null;
735
+ action_type: 'ENCODE_CARD';
736
+ error: {
737
+ type: string;
738
+ message: string;
739
+ };
682
740
  } | {
683
741
  /** The ID of the action attempt. */
684
742
  action_attempt_id: string;
@@ -1413,6 +1471,35 @@ export interface Routes {
1413
1471
  type: string;
1414
1472
  message: string;
1415
1473
  };
1474
+ } | {
1475
+ /** The ID of the action attempt. */
1476
+ action_attempt_id: string;
1477
+ status: 'pending';
1478
+ result: null;
1479
+ error: null;
1480
+ action_type: 'ENCODE_CARD';
1481
+ } | {
1482
+ /** The ID of the action attempt. */
1483
+ action_attempt_id: string;
1484
+ status: 'success';
1485
+ error: null;
1486
+ action_type: 'ENCODE_CARD';
1487
+ result: {
1488
+ /** Matching acs_credential currently encoded on this card. */
1489
+ acs_credential_id: string | null;
1490
+ /** A number or sting that physically identifies this card. */
1491
+ card_number: string | null;
1492
+ };
1493
+ } | {
1494
+ /** The ID of the action attempt. */
1495
+ action_attempt_id: string;
1496
+ status: 'error';
1497
+ result: null;
1498
+ action_type: 'ENCODE_CARD';
1499
+ error: {
1500
+ type: string;
1501
+ message: string;
1502
+ };
1416
1503
  } | {
1417
1504
  /** The ID of the action attempt. */
1418
1505
  action_attempt_id: string;
@@ -1977,6 +2064,35 @@ export interface Routes {
1977
2064
  type: string;
1978
2065
  message: string;
1979
2066
  };
2067
+ } | {
2068
+ /** The ID of the action attempt. */
2069
+ action_attempt_id: string;
2070
+ status: 'pending';
2071
+ result: null;
2072
+ error: null;
2073
+ action_type: 'ENCODE_CARD';
2074
+ } | {
2075
+ /** The ID of the action attempt. */
2076
+ action_attempt_id: string;
2077
+ status: 'success';
2078
+ error: null;
2079
+ action_type: 'ENCODE_CARD';
2080
+ result: {
2081
+ /** Matching acs_credential currently encoded on this card. */
2082
+ acs_credential_id: string | null;
2083
+ /** A number or sting that physically identifies this card. */
2084
+ card_number: string | null;
2085
+ };
2086
+ } | {
2087
+ /** The ID of the action attempt. */
2088
+ action_attempt_id: string;
2089
+ status: 'error';
2090
+ result: null;
2091
+ action_type: 'ENCODE_CARD';
2092
+ error: {
2093
+ type: string;
2094
+ message: string;
2095
+ };
1980
2096
  } | {
1981
2097
  /** The ID of the action attempt. */
1982
2098
  action_attempt_id: string;
@@ -3119,24 +3235,482 @@ export interface Routes {
3119
3235
  errors: Array<{
3120
3236
  error_code: string;
3121
3237
  message: string;
3122
- }>;
3123
- warnings: Array<{
3124
- warning_code: string;
3238
+ }>;
3239
+ warnings: Array<{
3240
+ warning_code: string;
3241
+ message: string;
3242
+ }>;
3243
+ is_multi_phone_sync_credential?: boolean | undefined;
3244
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3245
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3246
+ visionline_metadata?: {
3247
+ card_function_type: 'guest' | 'staff';
3248
+ joiner_acs_credential_ids?: string[] | undefined;
3249
+ guest_acs_entrance_ids?: string[] | undefined;
3250
+ common_acs_entrance_ids?: string[] | undefined;
3251
+ is_valid?: boolean | undefined;
3252
+ card_id?: string | undefined;
3253
+ credential_id?: string | undefined;
3254
+ } | undefined;
3255
+ is_managed: true;
3256
+ };
3257
+ };
3258
+ };
3259
+ '/acs/encoders/encode_card': {
3260
+ route: '/acs/encoders/encode_card';
3261
+ method: 'POST';
3262
+ queryParams: {};
3263
+ jsonBody: {};
3264
+ commonParams: {
3265
+ acs_system_id: string;
3266
+ device_name: string;
3267
+ } | {
3268
+ device_id: string;
3269
+ };
3270
+ formData: {};
3271
+ jsonResponse: {
3272
+ action_attempt: {
3273
+ /** The ID of the action attempt. */
3274
+ action_attempt_id: string;
3275
+ status: 'pending';
3276
+ result: null;
3277
+ error: null;
3278
+ action_type: 'LOCK_DOOR';
3279
+ } | {
3280
+ /** The ID of the action attempt. */
3281
+ action_attempt_id: string;
3282
+ status: 'success';
3283
+ error: null;
3284
+ action_type: 'LOCK_DOOR';
3285
+ result: {};
3286
+ } | {
3287
+ /** The ID of the action attempt. */
3288
+ action_attempt_id: string;
3289
+ status: 'error';
3290
+ result: null;
3291
+ action_type: 'LOCK_DOOR';
3292
+ error: {
3293
+ type: string;
3294
+ message: string;
3295
+ };
3296
+ } | {
3297
+ /** The ID of the action attempt. */
3298
+ action_attempt_id: string;
3299
+ status: 'pending';
3300
+ result: null;
3301
+ error: null;
3302
+ action_type: 'UNLOCK_DOOR';
3303
+ } | {
3304
+ /** The ID of the action attempt. */
3305
+ action_attempt_id: string;
3306
+ status: 'success';
3307
+ error: null;
3308
+ action_type: 'UNLOCK_DOOR';
3309
+ result: {};
3310
+ } | {
3311
+ /** The ID of the action attempt. */
3312
+ action_attempt_id: string;
3313
+ status: 'error';
3314
+ result: null;
3315
+ action_type: 'UNLOCK_DOOR';
3316
+ error: {
3317
+ type: string;
3318
+ message: string;
3319
+ };
3320
+ } | {
3321
+ /** The ID of the action attempt. */
3322
+ action_attempt_id: string;
3323
+ status: 'pending';
3324
+ result: null;
3325
+ error: null;
3326
+ action_type: 'READ_CARD';
3327
+ } | {
3328
+ /** The ID of the action attempt. */
3329
+ action_attempt_id: string;
3330
+ status: 'success';
3331
+ error: null;
3332
+ action_type: 'READ_CARD';
3333
+ result: {
3334
+ /** Matching acs_credential currently encoded on this card. */
3335
+ acs_credential_id: string | null;
3336
+ /** A number or sting that physically identifies this card. */
3337
+ card_number: string | null;
3338
+ };
3339
+ } | {
3340
+ /** The ID of the action attempt. */
3341
+ action_attempt_id: string;
3342
+ status: 'error';
3343
+ result: null;
3344
+ action_type: 'READ_CARD';
3345
+ error: {
3346
+ type: string;
3347
+ message: string;
3348
+ };
3349
+ } | {
3350
+ /** The ID of the action attempt. */
3351
+ action_attempt_id: string;
3352
+ status: 'pending';
3353
+ result: null;
3354
+ error: null;
3355
+ action_type: 'ENCODE_CARD';
3356
+ } | {
3357
+ /** The ID of the action attempt. */
3358
+ action_attempt_id: string;
3359
+ status: 'success';
3360
+ error: null;
3361
+ action_type: 'ENCODE_CARD';
3362
+ result: {
3363
+ /** Matching acs_credential currently encoded on this card. */
3364
+ acs_credential_id: string | null;
3365
+ /** A number or sting that physically identifies this card. */
3366
+ card_number: string | null;
3367
+ };
3368
+ } | {
3369
+ /** The ID of the action attempt. */
3370
+ action_attempt_id: string;
3371
+ status: 'error';
3372
+ result: null;
3373
+ action_type: 'ENCODE_CARD';
3374
+ error: {
3375
+ type: string;
3376
+ message: string;
3377
+ };
3378
+ } | {
3379
+ /** The ID of the action attempt. */
3380
+ action_attempt_id: string;
3381
+ status: 'pending';
3382
+ result: null;
3383
+ error: null;
3384
+ action_type: 'RESET_SANDBOX_WORKSPACE';
3385
+ } | {
3386
+ /** The ID of the action attempt. */
3387
+ action_attempt_id: string;
3388
+ status: 'success';
3389
+ error: null;
3390
+ action_type: 'RESET_SANDBOX_WORKSPACE';
3391
+ result: {};
3392
+ } | {
3393
+ /** The ID of the action attempt. */
3394
+ action_attempt_id: string;
3395
+ status: 'error';
3396
+ result: null;
3397
+ action_type: 'RESET_SANDBOX_WORKSPACE';
3398
+ error: {
3399
+ type: string;
3400
+ message: string;
3401
+ };
3402
+ } | {
3403
+ /** The ID of the action attempt. */
3404
+ action_attempt_id: string;
3405
+ status: 'pending';
3406
+ result: null;
3407
+ error: null;
3408
+ action_type: 'SET_COOL';
3409
+ } | {
3410
+ /** The ID of the action attempt. */
3411
+ action_attempt_id: string;
3412
+ status: 'success';
3413
+ error: null;
3414
+ action_type: 'SET_COOL';
3415
+ result: {};
3416
+ } | {
3417
+ /** The ID of the action attempt. */
3418
+ action_attempt_id: string;
3419
+ status: 'error';
3420
+ result: null;
3421
+ action_type: 'SET_COOL';
3422
+ error: {
3423
+ type: string;
3424
+ message: string;
3425
+ };
3426
+ } | {
3427
+ /** The ID of the action attempt. */
3428
+ action_attempt_id: string;
3429
+ status: 'pending';
3430
+ result: null;
3431
+ error: null;
3432
+ action_type: 'SET_HEAT';
3433
+ } | {
3434
+ /** The ID of the action attempt. */
3435
+ action_attempt_id: string;
3436
+ status: 'success';
3437
+ error: null;
3438
+ action_type: 'SET_HEAT';
3439
+ result: {};
3440
+ } | {
3441
+ /** The ID of the action attempt. */
3442
+ action_attempt_id: string;
3443
+ status: 'error';
3444
+ result: null;
3445
+ action_type: 'SET_HEAT';
3446
+ error: {
3447
+ type: string;
3448
+ message: string;
3449
+ };
3450
+ } | {
3451
+ /** The ID of the action attempt. */
3452
+ action_attempt_id: string;
3453
+ status: 'pending';
3454
+ result: null;
3455
+ error: null;
3456
+ action_type: 'SET_HEAT_COOL';
3457
+ } | {
3458
+ /** The ID of the action attempt. */
3459
+ action_attempt_id: string;
3460
+ status: 'success';
3461
+ error: null;
3462
+ action_type: 'SET_HEAT_COOL';
3463
+ result: {};
3464
+ } | {
3465
+ /** The ID of the action attempt. */
3466
+ action_attempt_id: string;
3467
+ status: 'error';
3468
+ result: null;
3469
+ action_type: 'SET_HEAT_COOL';
3470
+ error: {
3471
+ type: string;
3472
+ message: string;
3473
+ };
3474
+ } | {
3475
+ /** The ID of the action attempt. */
3476
+ action_attempt_id: string;
3477
+ status: 'pending';
3478
+ result: null;
3479
+ error: null;
3480
+ action_type: 'SET_FAN_MODE';
3481
+ } | {
3482
+ /** The ID of the action attempt. */
3483
+ action_attempt_id: string;
3484
+ status: 'success';
3485
+ error: null;
3486
+ action_type: 'SET_FAN_MODE';
3487
+ result: {};
3488
+ } | {
3489
+ /** The ID of the action attempt. */
3490
+ action_attempt_id: string;
3491
+ status: 'error';
3492
+ result: null;
3493
+ action_type: 'SET_FAN_MODE';
3494
+ error: {
3495
+ type: string;
3496
+ message: string;
3497
+ };
3498
+ } | {
3499
+ /** The ID of the action attempt. */
3500
+ action_attempt_id: string;
3501
+ status: 'pending';
3502
+ result: null;
3503
+ error: null;
3504
+ action_type: 'SET_THERMOSTAT_OFF';
3505
+ } | {
3506
+ /** The ID of the action attempt. */
3507
+ action_attempt_id: string;
3508
+ status: 'success';
3509
+ error: null;
3510
+ action_type: 'SET_THERMOSTAT_OFF';
3511
+ result: {};
3512
+ } | {
3513
+ /** The ID of the action attempt. */
3514
+ action_attempt_id: string;
3515
+ status: 'error';
3516
+ result: null;
3517
+ action_type: 'SET_THERMOSTAT_OFF';
3518
+ error: {
3519
+ type: string;
3520
+ message: string;
3521
+ };
3522
+ } | {
3523
+ /** The ID of the action attempt. */
3524
+ action_attempt_id: string;
3525
+ status: 'pending';
3526
+ result: null;
3527
+ error: null;
3528
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
3529
+ } | {
3530
+ /** The ID of the action attempt. */
3531
+ action_attempt_id: string;
3532
+ status: 'success';
3533
+ error: null;
3534
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
3535
+ result: {};
3536
+ } | {
3537
+ /** The ID of the action attempt. */
3538
+ action_attempt_id: string;
3539
+ status: 'error';
3540
+ result: null;
3541
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
3542
+ error: {
3543
+ type: string;
3544
+ message: string;
3545
+ };
3546
+ } | {
3547
+ /** The ID of the action attempt. */
3548
+ action_attempt_id: string;
3549
+ status: 'pending';
3550
+ result: null;
3551
+ error: null;
3552
+ action_type: 'SYNC_ACCESS_CODES';
3553
+ } | {
3554
+ /** The ID of the action attempt. */
3555
+ action_attempt_id: string;
3556
+ status: 'success';
3557
+ error: null;
3558
+ action_type: 'SYNC_ACCESS_CODES';
3559
+ result?: any;
3560
+ } | {
3561
+ /** The ID of the action attempt. */
3562
+ action_attempt_id: string;
3563
+ status: 'error';
3564
+ result: null;
3565
+ action_type: 'SYNC_ACCESS_CODES';
3566
+ error: {
3567
+ type: string;
3568
+ message: string;
3569
+ };
3570
+ } | {
3571
+ /** The ID of the action attempt. */
3572
+ action_attempt_id: string;
3573
+ status: 'pending';
3574
+ result: null;
3575
+ error: null;
3576
+ action_type: 'CREATE_ACCESS_CODE';
3577
+ } | {
3578
+ /** The ID of the action attempt. */
3579
+ action_attempt_id: string;
3580
+ status: 'success';
3581
+ error: null;
3582
+ action_type: 'CREATE_ACCESS_CODE';
3583
+ result?: any;
3584
+ } | {
3585
+ /** The ID of the action attempt. */
3586
+ action_attempt_id: string;
3587
+ status: 'error';
3588
+ result: null;
3589
+ action_type: 'CREATE_ACCESS_CODE';
3590
+ error: {
3591
+ type: string;
3592
+ message: string;
3593
+ };
3594
+ } | {
3595
+ /** The ID of the action attempt. */
3596
+ action_attempt_id: string;
3597
+ status: 'pending';
3598
+ result: null;
3599
+ error: null;
3600
+ action_type: 'DELETE_ACCESS_CODE';
3601
+ } | {
3602
+ /** The ID of the action attempt. */
3603
+ action_attempt_id: string;
3604
+ status: 'success';
3605
+ error: null;
3606
+ action_type: 'DELETE_ACCESS_CODE';
3607
+ result?: any;
3608
+ } | {
3609
+ /** The ID of the action attempt. */
3610
+ action_attempt_id: string;
3611
+ status: 'error';
3612
+ result: null;
3613
+ action_type: 'DELETE_ACCESS_CODE';
3614
+ error: {
3615
+ type: string;
3616
+ message: string;
3617
+ };
3618
+ } | {
3619
+ /** The ID of the action attempt. */
3620
+ action_attempt_id: string;
3621
+ status: 'pending';
3622
+ result: null;
3623
+ error: null;
3624
+ action_type: 'UPDATE_ACCESS_CODE';
3625
+ } | {
3626
+ /** The ID of the action attempt. */
3627
+ action_attempt_id: string;
3628
+ status: 'success';
3629
+ error: null;
3630
+ action_type: 'UPDATE_ACCESS_CODE';
3631
+ result?: any;
3632
+ } | {
3633
+ /** The ID of the action attempt. */
3634
+ action_attempt_id: string;
3635
+ status: 'error';
3636
+ result: null;
3637
+ action_type: 'UPDATE_ACCESS_CODE';
3638
+ error: {
3639
+ type: string;
3640
+ message: string;
3641
+ };
3642
+ } | {
3643
+ /** The ID of the action attempt. */
3644
+ action_attempt_id: string;
3645
+ status: 'pending';
3646
+ result: null;
3647
+ error: null;
3648
+ action_type: 'CREATE_NOISE_THRESHOLD';
3649
+ } | {
3650
+ /** The ID of the action attempt. */
3651
+ action_attempt_id: string;
3652
+ status: 'success';
3653
+ error: null;
3654
+ action_type: 'CREATE_NOISE_THRESHOLD';
3655
+ result?: any;
3656
+ } | {
3657
+ /** The ID of the action attempt. */
3658
+ action_attempt_id: string;
3659
+ status: 'error';
3660
+ result: null;
3661
+ action_type: 'CREATE_NOISE_THRESHOLD';
3662
+ error: {
3663
+ type: string;
3125
3664
  message: string;
3126
- }>;
3127
- is_multi_phone_sync_credential?: boolean | undefined;
3128
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
3129
- latest_desired_state_synced_with_provider_at?: string | undefined;
3130
- visionline_metadata?: {
3131
- card_function_type: 'guest' | 'staff';
3132
- joiner_acs_credential_ids?: string[] | undefined;
3133
- guest_acs_entrance_ids?: string[] | undefined;
3134
- common_acs_entrance_ids?: string[] | undefined;
3135
- is_valid?: boolean | undefined;
3136
- card_id?: string | undefined;
3137
- credential_id?: string | undefined;
3138
- } | undefined;
3139
- is_managed: true;
3665
+ };
3666
+ } | {
3667
+ /** The ID of the action attempt. */
3668
+ action_attempt_id: string;
3669
+ status: 'pending';
3670
+ result: null;
3671
+ error: null;
3672
+ action_type: 'DELETE_NOISE_THRESHOLD';
3673
+ } | {
3674
+ /** The ID of the action attempt. */
3675
+ action_attempt_id: string;
3676
+ status: 'success';
3677
+ error: null;
3678
+ action_type: 'DELETE_NOISE_THRESHOLD';
3679
+ result?: any;
3680
+ } | {
3681
+ /** The ID of the action attempt. */
3682
+ action_attempt_id: string;
3683
+ status: 'error';
3684
+ result: null;
3685
+ action_type: 'DELETE_NOISE_THRESHOLD';
3686
+ error: {
3687
+ type: string;
3688
+ message: string;
3689
+ };
3690
+ } | {
3691
+ /** The ID of the action attempt. */
3692
+ action_attempt_id: string;
3693
+ status: 'pending';
3694
+ result: null;
3695
+ error: null;
3696
+ action_type: 'UPDATE_NOISE_THRESHOLD';
3697
+ } | {
3698
+ /** The ID of the action attempt. */
3699
+ action_attempt_id: string;
3700
+ status: 'success';
3701
+ error: null;
3702
+ action_type: 'UPDATE_NOISE_THRESHOLD';
3703
+ result?: any;
3704
+ } | {
3705
+ /** The ID of the action attempt. */
3706
+ action_attempt_id: string;
3707
+ status: 'error';
3708
+ result: null;
3709
+ action_type: 'UPDATE_NOISE_THRESHOLD';
3710
+ error: {
3711
+ type: string;
3712
+ message: string;
3713
+ };
3140
3714
  };
3141
3715
  };
3142
3716
  };
@@ -3230,6 +3804,35 @@ export interface Routes {
3230
3804
  type: string;
3231
3805
  message: string;
3232
3806
  };
3807
+ } | {
3808
+ /** The ID of the action attempt. */
3809
+ action_attempt_id: string;
3810
+ status: 'pending';
3811
+ result: null;
3812
+ error: null;
3813
+ action_type: 'ENCODE_CARD';
3814
+ } | {
3815
+ /** The ID of the action attempt. */
3816
+ action_attempt_id: string;
3817
+ status: 'success';
3818
+ error: null;
3819
+ action_type: 'ENCODE_CARD';
3820
+ result: {
3821
+ /** Matching acs_credential currently encoded on this card. */
3822
+ acs_credential_id: string | null;
3823
+ /** A number or sting that physically identifies this card. */
3824
+ card_number: string | null;
3825
+ };
3826
+ } | {
3827
+ /** The ID of the action attempt. */
3828
+ action_attempt_id: string;
3829
+ status: 'error';
3830
+ result: null;
3831
+ action_type: 'ENCODE_CARD';
3832
+ error: {
3833
+ type: string;
3834
+ message: string;
3835
+ };
3233
3836
  } | {
3234
3837
  /** The ID of the action attempt. */
3235
3838
  action_attempt_id: string;
@@ -4771,6 +5374,35 @@ export interface Routes {
4771
5374
  type: string;
4772
5375
  message: string;
4773
5376
  };
5377
+ } | {
5378
+ /** The ID of the action attempt. */
5379
+ action_attempt_id: string;
5380
+ status: 'pending';
5381
+ result: null;
5382
+ error: null;
5383
+ action_type: 'ENCODE_CARD';
5384
+ } | {
5385
+ /** The ID of the action attempt. */
5386
+ action_attempt_id: string;
5387
+ status: 'success';
5388
+ error: null;
5389
+ action_type: 'ENCODE_CARD';
5390
+ result: {
5391
+ /** Matching acs_credential currently encoded on this card. */
5392
+ acs_credential_id: string | null;
5393
+ /** A number or sting that physically identifies this card. */
5394
+ card_number: string | null;
5395
+ };
5396
+ } | {
5397
+ /** The ID of the action attempt. */
5398
+ action_attempt_id: string;
5399
+ status: 'error';
5400
+ result: null;
5401
+ action_type: 'ENCODE_CARD';
5402
+ error: {
5403
+ type: string;
5404
+ message: string;
5405
+ };
4774
5406
  } | {
4775
5407
  /** The ID of the action attempt. */
4776
5408
  action_attempt_id: string;
@@ -5197,6 +5829,35 @@ export interface Routes {
5197
5829
  type: string;
5198
5830
  message: string;
5199
5831
  };
5832
+ } | {
5833
+ /** The ID of the action attempt. */
5834
+ action_attempt_id: string;
5835
+ status: 'pending';
5836
+ result: null;
5837
+ error: null;
5838
+ action_type: 'ENCODE_CARD';
5839
+ } | {
5840
+ /** The ID of the action attempt. */
5841
+ action_attempt_id: string;
5842
+ status: 'success';
5843
+ error: null;
5844
+ action_type: 'ENCODE_CARD';
5845
+ result: {
5846
+ /** Matching acs_credential currently encoded on this card. */
5847
+ acs_credential_id: string | null;
5848
+ /** A number or sting that physically identifies this card. */
5849
+ card_number: string | null;
5850
+ };
5851
+ } | {
5852
+ /** The ID of the action attempt. */
5853
+ action_attempt_id: string;
5854
+ status: 'error';
5855
+ result: null;
5856
+ action_type: 'ENCODE_CARD';
5857
+ error: {
5858
+ type: string;
5859
+ message: string;
5860
+ };
5200
5861
  } | {
5201
5862
  /** The ID of the action attempt. */
5202
5863
  action_attempt_id: string;
@@ -9145,6 +9806,35 @@ export interface Routes {
9145
9806
  type: string;
9146
9807
  message: string;
9147
9808
  };
9809
+ } | {
9810
+ /** The ID of the action attempt. */
9811
+ action_attempt_id: string;
9812
+ status: 'pending';
9813
+ result: null;
9814
+ error: null;
9815
+ action_type: 'ENCODE_CARD';
9816
+ } | {
9817
+ /** The ID of the action attempt. */
9818
+ action_attempt_id: string;
9819
+ status: 'success';
9820
+ error: null;
9821
+ action_type: 'ENCODE_CARD';
9822
+ result: {
9823
+ /** Matching acs_credential currently encoded on this card. */
9824
+ acs_credential_id: string | null;
9825
+ /** A number or sting that physically identifies this card. */
9826
+ card_number: string | null;
9827
+ };
9828
+ } | {
9829
+ /** The ID of the action attempt. */
9830
+ action_attempt_id: string;
9831
+ status: 'error';
9832
+ result: null;
9833
+ action_type: 'ENCODE_CARD';
9834
+ error: {
9835
+ type: string;
9836
+ message: string;
9837
+ };
9148
9838
  } | {
9149
9839
  /** The ID of the action attempt. */
9150
9840
  action_attempt_id: string;
@@ -9572,6 +10262,35 @@ export interface Routes {
9572
10262
  type: string;
9573
10263
  message: string;
9574
10264
  };
10265
+ } | {
10266
+ /** The ID of the action attempt. */
10267
+ action_attempt_id: string;
10268
+ status: 'pending';
10269
+ result: null;
10270
+ error: null;
10271
+ action_type: 'ENCODE_CARD';
10272
+ } | {
10273
+ /** The ID of the action attempt. */
10274
+ action_attempt_id: string;
10275
+ status: 'success';
10276
+ error: null;
10277
+ action_type: 'ENCODE_CARD';
10278
+ result: {
10279
+ /** Matching acs_credential currently encoded on this card. */
10280
+ acs_credential_id: string | null;
10281
+ /** A number or sting that physically identifies this card. */
10282
+ card_number: string | null;
10283
+ };
10284
+ } | {
10285
+ /** The ID of the action attempt. */
10286
+ action_attempt_id: string;
10287
+ status: 'error';
10288
+ result: null;
10289
+ action_type: 'ENCODE_CARD';
10290
+ error: {
10291
+ type: string;
10292
+ message: string;
10293
+ };
9575
10294
  } | {
9576
10295
  /** The ID of the action attempt. */
9577
10296
  action_attempt_id: string;
@@ -10862,20 +11581,44 @@ export interface Routes {
10862
11581
  status: 'pending';
10863
11582
  result: null;
10864
11583
  error: null;
10865
- action_type: 'LOCK_DOOR';
11584
+ action_type: 'LOCK_DOOR';
11585
+ } | {
11586
+ /** The ID of the action attempt. */
11587
+ action_attempt_id: string;
11588
+ status: 'success';
11589
+ error: null;
11590
+ action_type: 'LOCK_DOOR';
11591
+ result: {};
11592
+ } | {
11593
+ /** The ID of the action attempt. */
11594
+ action_attempt_id: string;
11595
+ status: 'error';
11596
+ result: null;
11597
+ action_type: 'LOCK_DOOR';
11598
+ error: {
11599
+ type: string;
11600
+ message: string;
11601
+ };
11602
+ } | {
11603
+ /** The ID of the action attempt. */
11604
+ action_attempt_id: string;
11605
+ status: 'pending';
11606
+ result: null;
11607
+ error: null;
11608
+ action_type: 'UNLOCK_DOOR';
10866
11609
  } | {
10867
11610
  /** The ID of the action attempt. */
10868
11611
  action_attempt_id: string;
10869
11612
  status: 'success';
10870
11613
  error: null;
10871
- action_type: 'LOCK_DOOR';
11614
+ action_type: 'UNLOCK_DOOR';
10872
11615
  result: {};
10873
11616
  } | {
10874
11617
  /** The ID of the action attempt. */
10875
11618
  action_attempt_id: string;
10876
11619
  status: 'error';
10877
11620
  result: null;
10878
- action_type: 'LOCK_DOOR';
11621
+ action_type: 'UNLOCK_DOOR';
10879
11622
  error: {
10880
11623
  type: string;
10881
11624
  message: string;
@@ -10886,20 +11629,25 @@ export interface Routes {
10886
11629
  status: 'pending';
10887
11630
  result: null;
10888
11631
  error: null;
10889
- action_type: 'UNLOCK_DOOR';
11632
+ action_type: 'READ_CARD';
10890
11633
  } | {
10891
11634
  /** The ID of the action attempt. */
10892
11635
  action_attempt_id: string;
10893
11636
  status: 'success';
10894
11637
  error: null;
10895
- action_type: 'UNLOCK_DOOR';
10896
- result: {};
11638
+ action_type: 'READ_CARD';
11639
+ result: {
11640
+ /** Matching acs_credential currently encoded on this card. */
11641
+ acs_credential_id: string | null;
11642
+ /** A number or sting that physically identifies this card. */
11643
+ card_number: string | null;
11644
+ };
10897
11645
  } | {
10898
11646
  /** The ID of the action attempt. */
10899
11647
  action_attempt_id: string;
10900
11648
  status: 'error';
10901
11649
  result: null;
10902
- action_type: 'UNLOCK_DOOR';
11650
+ action_type: 'READ_CARD';
10903
11651
  error: {
10904
11652
  type: string;
10905
11653
  message: string;
@@ -10910,13 +11658,13 @@ export interface Routes {
10910
11658
  status: 'pending';
10911
11659
  result: null;
10912
11660
  error: null;
10913
- action_type: 'READ_CARD';
11661
+ action_type: 'ENCODE_CARD';
10914
11662
  } | {
10915
11663
  /** The ID of the action attempt. */
10916
11664
  action_attempt_id: string;
10917
11665
  status: 'success';
10918
11666
  error: null;
10919
- action_type: 'READ_CARD';
11667
+ action_type: 'ENCODE_CARD';
10920
11668
  result: {
10921
11669
  /** Matching acs_credential currently encoded on this card. */
10922
11670
  acs_credential_id: string | null;
@@ -10928,7 +11676,7 @@ export interface Routes {
10928
11676
  action_attempt_id: string;
10929
11677
  status: 'error';
10930
11678
  result: null;
10931
- action_type: 'READ_CARD';
11679
+ action_type: 'ENCODE_CARD';
10932
11680
  error: {
10933
11681
  type: string;
10934
11682
  message: string;
@@ -11370,6 +12118,35 @@ export interface Routes {
11370
12118
  type: string;
11371
12119
  message: string;
11372
12120
  };
12121
+ } | {
12122
+ /** The ID of the action attempt. */
12123
+ action_attempt_id: string;
12124
+ status: 'pending';
12125
+ result: null;
12126
+ error: null;
12127
+ action_type: 'ENCODE_CARD';
12128
+ } | {
12129
+ /** The ID of the action attempt. */
12130
+ action_attempt_id: string;
12131
+ status: 'success';
12132
+ error: null;
12133
+ action_type: 'ENCODE_CARD';
12134
+ result: {
12135
+ /** Matching acs_credential currently encoded on this card. */
12136
+ acs_credential_id: string | null;
12137
+ /** A number or sting that physically identifies this card. */
12138
+ card_number: string | null;
12139
+ };
12140
+ } | {
12141
+ /** The ID of the action attempt. */
12142
+ action_attempt_id: string;
12143
+ status: 'error';
12144
+ result: null;
12145
+ action_type: 'ENCODE_CARD';
12146
+ error: {
12147
+ type: string;
12148
+ message: string;
12149
+ };
11373
12150
  } | {
11374
12151
  /** The ID of the action attempt. */
11375
12152
  action_attempt_id: string;
@@ -11846,6 +12623,35 @@ export interface Routes {
11846
12623
  type: string;
11847
12624
  message: string;
11848
12625
  };
12626
+ } | {
12627
+ /** The ID of the action attempt. */
12628
+ action_attempt_id: string;
12629
+ status: 'pending';
12630
+ result: null;
12631
+ error: null;
12632
+ action_type: 'ENCODE_CARD';
12633
+ } | {
12634
+ /** The ID of the action attempt. */
12635
+ action_attempt_id: string;
12636
+ status: 'success';
12637
+ error: null;
12638
+ action_type: 'ENCODE_CARD';
12639
+ result: {
12640
+ /** Matching acs_credential currently encoded on this card. */
12641
+ acs_credential_id: string | null;
12642
+ /** A number or sting that physically identifies this card. */
12643
+ card_number: string | null;
12644
+ };
12645
+ } | {
12646
+ /** The ID of the action attempt. */
12647
+ action_attempt_id: string;
12648
+ status: 'error';
12649
+ result: null;
12650
+ action_type: 'ENCODE_CARD';
12651
+ error: {
12652
+ type: string;
12653
+ message: string;
12654
+ };
11849
12655
  } | {
11850
12656
  /** The ID of the action attempt. */
11851
12657
  action_attempt_id: string;
@@ -12455,6 +13261,35 @@ export interface Routes {
12455
13261
  type: string;
12456
13262
  message: string;
12457
13263
  };
13264
+ } | {
13265
+ /** The ID of the action attempt. */
13266
+ action_attempt_id: string;
13267
+ status: 'pending';
13268
+ result: null;
13269
+ error: null;
13270
+ action_type: 'ENCODE_CARD';
13271
+ } | {
13272
+ /** The ID of the action attempt. */
13273
+ action_attempt_id: string;
13274
+ status: 'success';
13275
+ error: null;
13276
+ action_type: 'ENCODE_CARD';
13277
+ result: {
13278
+ /** Matching acs_credential currently encoded on this card. */
13279
+ acs_credential_id: string | null;
13280
+ /** A number or sting that physically identifies this card. */
13281
+ card_number: string | null;
13282
+ };
13283
+ } | {
13284
+ /** The ID of the action attempt. */
13285
+ action_attempt_id: string;
13286
+ status: 'error';
13287
+ result: null;
13288
+ action_type: 'ENCODE_CARD';
13289
+ error: {
13290
+ type: string;
13291
+ message: string;
13292
+ };
12458
13293
  } | {
12459
13294
  /** The ID of the action attempt. */
12460
13295
  action_attempt_id: string;
@@ -12884,6 +13719,35 @@ export interface Routes {
12884
13719
  type: string;
12885
13720
  message: string;
12886
13721
  };
13722
+ } | {
13723
+ /** The ID of the action attempt. */
13724
+ action_attempt_id: string;
13725
+ status: 'pending';
13726
+ result: null;
13727
+ error: null;
13728
+ action_type: 'ENCODE_CARD';
13729
+ } | {
13730
+ /** The ID of the action attempt. */
13731
+ action_attempt_id: string;
13732
+ status: 'success';
13733
+ error: null;
13734
+ action_type: 'ENCODE_CARD';
13735
+ result: {
13736
+ /** Matching acs_credential currently encoded on this card. */
13737
+ acs_credential_id: string | null;
13738
+ /** A number or sting that physically identifies this card. */
13739
+ card_number: string | null;
13740
+ };
13741
+ } | {
13742
+ /** The ID of the action attempt. */
13743
+ action_attempt_id: string;
13744
+ status: 'error';
13745
+ result: null;
13746
+ action_type: 'ENCODE_CARD';
13747
+ error: {
13748
+ type: string;
13749
+ message: string;
13750
+ };
12887
13751
  } | {
12888
13752
  /** The ID of the action attempt. */
12889
13753
  action_attempt_id: string;
@@ -13808,6 +14672,35 @@ export interface Routes {
13808
14672
  type: string;
13809
14673
  message: string;
13810
14674
  };
14675
+ } | {
14676
+ /** The ID of the action attempt. */
14677
+ action_attempt_id: string;
14678
+ status: 'pending';
14679
+ result: null;
14680
+ error: null;
14681
+ action_type: 'ENCODE_CARD';
14682
+ } | {
14683
+ /** The ID of the action attempt. */
14684
+ action_attempt_id: string;
14685
+ status: 'success';
14686
+ error: null;
14687
+ action_type: 'ENCODE_CARD';
14688
+ result: {
14689
+ /** Matching acs_credential currently encoded on this card. */
14690
+ acs_credential_id: string | null;
14691
+ /** A number or sting that physically identifies this card. */
14692
+ card_number: string | null;
14693
+ };
14694
+ } | {
14695
+ /** The ID of the action attempt. */
14696
+ action_attempt_id: string;
14697
+ status: 'error';
14698
+ result: null;
14699
+ action_type: 'ENCODE_CARD';
14700
+ error: {
14701
+ type: string;
14702
+ message: string;
14703
+ };
13811
14704
  } | {
13812
14705
  /** The ID of the action attempt. */
13813
14706
  action_attempt_id: string;
@@ -14239,6 +15132,35 @@ export interface Routes {
14239
15132
  type: string;
14240
15133
  message: string;
14241
15134
  };
15135
+ } | {
15136
+ /** The ID of the action attempt. */
15137
+ action_attempt_id: string;
15138
+ status: 'pending';
15139
+ result: null;
15140
+ error: null;
15141
+ action_type: 'ENCODE_CARD';
15142
+ } | {
15143
+ /** The ID of the action attempt. */
15144
+ action_attempt_id: string;
15145
+ status: 'success';
15146
+ error: null;
15147
+ action_type: 'ENCODE_CARD';
15148
+ result: {
15149
+ /** Matching acs_credential currently encoded on this card. */
15150
+ acs_credential_id: string | null;
15151
+ /** A number or sting that physically identifies this card. */
15152
+ card_number: string | null;
15153
+ };
15154
+ } | {
15155
+ /** The ID of the action attempt. */
15156
+ action_attempt_id: string;
15157
+ status: 'error';
15158
+ result: null;
15159
+ action_type: 'ENCODE_CARD';
15160
+ error: {
15161
+ type: string;
15162
+ message: string;
15163
+ };
14242
15164
  } | {
14243
15165
  /** The ID of the action attempt. */
14244
15166
  action_attempt_id: string;
@@ -15126,6 +16048,35 @@ export interface Routes {
15126
16048
  type: string;
15127
16049
  message: string;
15128
16050
  };
16051
+ } | {
16052
+ /** The ID of the action attempt. */
16053
+ action_attempt_id: string;
16054
+ status: 'pending';
16055
+ result: null;
16056
+ error: null;
16057
+ action_type: 'ENCODE_CARD';
16058
+ } | {
16059
+ /** The ID of the action attempt. */
16060
+ action_attempt_id: string;
16061
+ status: 'success';
16062
+ error: null;
16063
+ action_type: 'ENCODE_CARD';
16064
+ result: {
16065
+ /** Matching acs_credential currently encoded on this card. */
16066
+ acs_credential_id: string | null;
16067
+ /** A number or sting that physically identifies this card. */
16068
+ card_number: string | null;
16069
+ };
16070
+ } | {
16071
+ /** The ID of the action attempt. */
16072
+ action_attempt_id: string;
16073
+ status: 'error';
16074
+ result: null;
16075
+ action_type: 'ENCODE_CARD';
16076
+ error: {
16077
+ type: string;
16078
+ message: string;
16079
+ };
15129
16080
  } | {
15130
16081
  /** The ID of the action attempt. */
15131
16082
  action_attempt_id: string;
@@ -15674,6 +16625,35 @@ export interface Routes {
15674
16625
  type: string;
15675
16626
  message: string;
15676
16627
  };
16628
+ } | {
16629
+ /** The ID of the action attempt. */
16630
+ action_attempt_id: string;
16631
+ status: 'pending';
16632
+ result: null;
16633
+ error: null;
16634
+ action_type: 'ENCODE_CARD';
16635
+ } | {
16636
+ /** The ID of the action attempt. */
16637
+ action_attempt_id: string;
16638
+ status: 'success';
16639
+ error: null;
16640
+ action_type: 'ENCODE_CARD';
16641
+ result: {
16642
+ /** Matching acs_credential currently encoded on this card. */
16643
+ acs_credential_id: string | null;
16644
+ /** A number or sting that physically identifies this card. */
16645
+ card_number: string | null;
16646
+ };
16647
+ } | {
16648
+ /** The ID of the action attempt. */
16649
+ action_attempt_id: string;
16650
+ status: 'error';
16651
+ result: null;
16652
+ action_type: 'ENCODE_CARD';
16653
+ error: {
16654
+ type: string;
16655
+ message: string;
16656
+ };
15677
16657
  } | {
15678
16658
  /** The ID of the action attempt. */
15679
16659
  action_attempt_id: string;
@@ -17562,6 +18542,35 @@ export interface Routes {
17562
18542
  type: string;
17563
18543
  message: string;
17564
18544
  };
18545
+ } | {
18546
+ /** The ID of the action attempt. */
18547
+ action_attempt_id: string;
18548
+ status: 'pending';
18549
+ result: null;
18550
+ error: null;
18551
+ action_type: 'ENCODE_CARD';
18552
+ } | {
18553
+ /** The ID of the action attempt. */
18554
+ action_attempt_id: string;
18555
+ status: 'success';
18556
+ error: null;
18557
+ action_type: 'ENCODE_CARD';
18558
+ result: {
18559
+ /** Matching acs_credential currently encoded on this card. */
18560
+ acs_credential_id: string | null;
18561
+ /** A number or sting that physically identifies this card. */
18562
+ card_number: string | null;
18563
+ };
18564
+ } | {
18565
+ /** The ID of the action attempt. */
18566
+ action_attempt_id: string;
18567
+ status: 'error';
18568
+ result: null;
18569
+ action_type: 'ENCODE_CARD';
18570
+ error: {
18571
+ type: string;
18572
+ message: string;
18573
+ };
17565
18574
  } | {
17566
18575
  /** The ID of the action attempt. */
17567
18576
  action_attempt_id: string;