@seamapi/types 1.253.1 → 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.
Files changed (27) hide show
  1. package/dist/connect.cjs +268 -69
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1324 -2
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +96 -0
  8. package/lib/seam/connect/models/action-attempts/encode-card.js +36 -0
  9. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
  10. package/lib/seam/connect/models/events/devices.d.ts +91 -1
  11. package/lib/seam/connect/models/events/devices.js +5 -2
  12. package/lib/seam/connect/models/events/devices.js.map +1 -1
  13. package/lib/seam/connect/models/events/seam-event.d.ts +86 -0
  14. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +29 -0
  15. package/lib/seam/connect/models/thermostats/climate-preset.js +8 -0
  16. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  17. package/lib/seam/connect/openapi.d.ts +116 -0
  18. package/lib/seam/connect/openapi.js +167 -0
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +1056 -29
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  23. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +46 -0
  24. package/src/lib/seam/connect/models/events/devices.ts +5 -2
  25. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +11 -0
  26. package/src/lib/seam/connect/openapi.ts +169 -0
  27. package/src/lib/seam/connect/route-types.ts +1157 -13
@@ -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;
@@ -7220,6 +7881,15 @@ export interface Routes {
7220
7881
  created_at: string;
7221
7882
  occurred_at: string;
7222
7883
  event_description: string;
7884
+ thermostat_schedule_id?: string | undefined;
7885
+ is_fallback_climate_preset?: boolean | undefined;
7886
+ climate_preset_key?: string | undefined;
7887
+ hvac_mode_setting?: string | undefined;
7888
+ fan_mode_setting?: string | undefined;
7889
+ cooling_set_point_celsius?: number | undefined;
7890
+ heating_set_point_celsius?: number | undefined;
7891
+ cooling_set_point_fahrenheit?: number | undefined;
7892
+ heating_set_point_fahrenheit?: number | undefined;
7223
7893
  } | undefined;
7224
7894
  message?: string | undefined;
7225
7895
  };
@@ -7236,8 +7906,8 @@ export interface Routes {
7236
7906
  device_ids?: string[] | undefined;
7237
7907
  access_code_id?: string | undefined;
7238
7908
  access_code_ids?: string[] | undefined;
7239
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
7240
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
7909
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
7910
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
7241
7911
  connected_account_id?: string | undefined;
7242
7912
  connect_webview_id?: string | undefined;
7243
7913
  limit?: number;
@@ -7258,6 +7928,15 @@ export interface Routes {
7258
7928
  created_at: string;
7259
7929
  occurred_at: string;
7260
7930
  event_description: string;
7931
+ thermostat_schedule_id?: string | undefined;
7932
+ is_fallback_climate_preset?: boolean | undefined;
7933
+ climate_preset_key?: string | undefined;
7934
+ hvac_mode_setting?: string | undefined;
7935
+ fan_mode_setting?: string | undefined;
7936
+ cooling_set_point_celsius?: number | undefined;
7937
+ heating_set_point_celsius?: number | undefined;
7938
+ cooling_set_point_fahrenheit?: number | undefined;
7939
+ heating_set_point_fahrenheit?: number | undefined;
7261
7940
  }>;
7262
7941
  };
7263
7942
  };
@@ -9127,6 +9806,35 @@ export interface Routes {
9127
9806
  type: string;
9128
9807
  message: string;
9129
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
+ };
9130
9838
  } | {
9131
9839
  /** The ID of the action attempt. */
9132
9840
  action_attempt_id: string;
@@ -9554,6 +10262,35 @@ export interface Routes {
9554
10262
  type: string;
9555
10263
  message: string;
9556
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
+ };
9557
10294
  } | {
9558
10295
  /** The ID of the action attempt. */
9559
10296
  action_attempt_id: string;
@@ -10844,20 +11581,44 @@ export interface Routes {
10844
11581
  status: 'pending';
10845
11582
  result: null;
10846
11583
  error: null;
10847
- 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';
10848
11609
  } | {
10849
11610
  /** The ID of the action attempt. */
10850
11611
  action_attempt_id: string;
10851
11612
  status: 'success';
10852
11613
  error: null;
10853
- action_type: 'LOCK_DOOR';
11614
+ action_type: 'UNLOCK_DOOR';
10854
11615
  result: {};
10855
11616
  } | {
10856
11617
  /** The ID of the action attempt. */
10857
11618
  action_attempt_id: string;
10858
11619
  status: 'error';
10859
11620
  result: null;
10860
- action_type: 'LOCK_DOOR';
11621
+ action_type: 'UNLOCK_DOOR';
10861
11622
  error: {
10862
11623
  type: string;
10863
11624
  message: string;
@@ -10868,20 +11629,25 @@ export interface Routes {
10868
11629
  status: 'pending';
10869
11630
  result: null;
10870
11631
  error: null;
10871
- action_type: 'UNLOCK_DOOR';
11632
+ action_type: 'READ_CARD';
10872
11633
  } | {
10873
11634
  /** The ID of the action attempt. */
10874
11635
  action_attempt_id: string;
10875
11636
  status: 'success';
10876
11637
  error: null;
10877
- action_type: 'UNLOCK_DOOR';
10878
- 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
+ };
10879
11645
  } | {
10880
11646
  /** The ID of the action attempt. */
10881
11647
  action_attempt_id: string;
10882
11648
  status: 'error';
10883
11649
  result: null;
10884
- action_type: 'UNLOCK_DOOR';
11650
+ action_type: 'READ_CARD';
10885
11651
  error: {
10886
11652
  type: string;
10887
11653
  message: string;
@@ -10892,13 +11658,13 @@ export interface Routes {
10892
11658
  status: 'pending';
10893
11659
  result: null;
10894
11660
  error: null;
10895
- action_type: 'READ_CARD';
11661
+ action_type: 'ENCODE_CARD';
10896
11662
  } | {
10897
11663
  /** The ID of the action attempt. */
10898
11664
  action_attempt_id: string;
10899
11665
  status: 'success';
10900
11666
  error: null;
10901
- action_type: 'READ_CARD';
11667
+ action_type: 'ENCODE_CARD';
10902
11668
  result: {
10903
11669
  /** Matching acs_credential currently encoded on this card. */
10904
11670
  acs_credential_id: string | null;
@@ -10910,7 +11676,7 @@ export interface Routes {
10910
11676
  action_attempt_id: string;
10911
11677
  status: 'error';
10912
11678
  result: null;
10913
- action_type: 'READ_CARD';
11679
+ action_type: 'ENCODE_CARD';
10914
11680
  error: {
10915
11681
  type: string;
10916
11682
  message: string;
@@ -11352,6 +12118,35 @@ export interface Routes {
11352
12118
  type: string;
11353
12119
  message: string;
11354
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
+ };
11355
12150
  } | {
11356
12151
  /** The ID of the action attempt. */
11357
12152
  action_attempt_id: string;
@@ -11828,6 +12623,35 @@ export interface Routes {
11828
12623
  type: string;
11829
12624
  message: string;
11830
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
+ };
11831
12655
  } | {
11832
12656
  /** The ID of the action attempt. */
11833
12657
  action_attempt_id: string;
@@ -12437,6 +13261,35 @@ export interface Routes {
12437
13261
  type: string;
12438
13262
  message: string;
12439
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
+ };
12440
13293
  } | {
12441
13294
  /** The ID of the action attempt. */
12442
13295
  action_attempt_id: string;
@@ -12866,6 +13719,35 @@ export interface Routes {
12866
13719
  type: string;
12867
13720
  message: string;
12868
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
+ };
12869
13751
  } | {
12870
13752
  /** The ID of the action attempt. */
12871
13753
  action_attempt_id: string;
@@ -13790,6 +14672,35 @@ export interface Routes {
13790
14672
  type: string;
13791
14673
  message: string;
13792
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
+ };
13793
14704
  } | {
13794
14705
  /** The ID of the action attempt. */
13795
14706
  action_attempt_id: string;
@@ -14221,6 +15132,35 @@ export interface Routes {
14221
15132
  type: string;
14222
15133
  message: string;
14223
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
+ };
14224
15164
  } | {
14225
15165
  /** The ID of the action attempt. */
14226
15166
  action_attempt_id: string;
@@ -15108,6 +16048,35 @@ export interface Routes {
15108
16048
  type: string;
15109
16049
  message: string;
15110
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
+ };
15111
16080
  } | {
15112
16081
  /** The ID of the action attempt. */
15113
16082
  action_attempt_id: string;
@@ -15656,6 +16625,35 @@ export interface Routes {
15656
16625
  type: string;
15657
16626
  message: string;
15658
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
+ };
15659
16657
  } | {
15660
16658
  /** The ID of the action attempt. */
15661
16659
  action_attempt_id: string;
@@ -17544,6 +18542,35 @@ export interface Routes {
17544
18542
  type: string;
17545
18543
  message: string;
17546
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
+ };
17547
18574
  } | {
17548
18575
  /** The ID of the action attempt. */
17549
18576
  action_attempt_id: string;