@seamapi/types 1.254.0 → 1.256.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.
- package/dist/connect.cjs +273 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1314 -0
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +23 -2
- package/lib/seam/connect/models/acs/metadata/salto.js +8 -1
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +96 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js +36 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +114 -0
- package/lib/seam/connect/openapi.js +177 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1086 -27
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +10 -3
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +46 -0
- package/src/lib/seam/connect/openapi.ts +179 -0
- package/src/lib/seam/connect/route-types.ts +1195 -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;
|
|
@@ -2420,6 +2536,16 @@ export interface Routes {
|
|
|
2420
2536
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
2421
2537
|
}> | undefined;
|
|
2422
2538
|
} | undefined;
|
|
2539
|
+
salto_ks_metadata?: {
|
|
2540
|
+
door_name: string;
|
|
2541
|
+
locked_state: string;
|
|
2542
|
+
lock_type: string;
|
|
2543
|
+
online: boolean;
|
|
2544
|
+
battery_level: string;
|
|
2545
|
+
left_open_alarm: boolean;
|
|
2546
|
+
intrusion_alarm: boolean;
|
|
2547
|
+
privacy_mode: boolean;
|
|
2548
|
+
} | undefined;
|
|
2423
2549
|
}>;
|
|
2424
2550
|
};
|
|
2425
2551
|
};
|
|
@@ -2919,6 +3045,16 @@ export interface Routes {
|
|
|
2919
3045
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
2920
3046
|
}> | undefined;
|
|
2921
3047
|
} | undefined;
|
|
3048
|
+
salto_ks_metadata?: {
|
|
3049
|
+
door_name: string;
|
|
3050
|
+
locked_state: string;
|
|
3051
|
+
lock_type: string;
|
|
3052
|
+
online: boolean;
|
|
3053
|
+
battery_level: string;
|
|
3054
|
+
left_open_alarm: boolean;
|
|
3055
|
+
intrusion_alarm: boolean;
|
|
3056
|
+
privacy_mode: boolean;
|
|
3057
|
+
} | undefined;
|
|
2922
3058
|
}>;
|
|
2923
3059
|
};
|
|
2924
3060
|
};
|
|
@@ -3119,24 +3255,482 @@ export interface Routes {
|
|
|
3119
3255
|
errors: Array<{
|
|
3120
3256
|
error_code: string;
|
|
3121
3257
|
message: string;
|
|
3122
|
-
}>;
|
|
3123
|
-
warnings: Array<{
|
|
3124
|
-
warning_code: string;
|
|
3258
|
+
}>;
|
|
3259
|
+
warnings: Array<{
|
|
3260
|
+
warning_code: string;
|
|
3261
|
+
message: string;
|
|
3262
|
+
}>;
|
|
3263
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
3264
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
3265
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
3266
|
+
visionline_metadata?: {
|
|
3267
|
+
card_function_type: 'guest' | 'staff';
|
|
3268
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
3269
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
3270
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
3271
|
+
is_valid?: boolean | undefined;
|
|
3272
|
+
card_id?: string | undefined;
|
|
3273
|
+
credential_id?: string | undefined;
|
|
3274
|
+
} | undefined;
|
|
3275
|
+
is_managed: true;
|
|
3276
|
+
};
|
|
3277
|
+
};
|
|
3278
|
+
};
|
|
3279
|
+
'/acs/encoders/encode_card': {
|
|
3280
|
+
route: '/acs/encoders/encode_card';
|
|
3281
|
+
method: 'POST';
|
|
3282
|
+
queryParams: {};
|
|
3283
|
+
jsonBody: {};
|
|
3284
|
+
commonParams: {
|
|
3285
|
+
acs_system_id: string;
|
|
3286
|
+
device_name: string;
|
|
3287
|
+
} | {
|
|
3288
|
+
device_id: string;
|
|
3289
|
+
};
|
|
3290
|
+
formData: {};
|
|
3291
|
+
jsonResponse: {
|
|
3292
|
+
action_attempt: {
|
|
3293
|
+
/** The ID of the action attempt. */
|
|
3294
|
+
action_attempt_id: string;
|
|
3295
|
+
status: 'pending';
|
|
3296
|
+
result: null;
|
|
3297
|
+
error: null;
|
|
3298
|
+
action_type: 'LOCK_DOOR';
|
|
3299
|
+
} | {
|
|
3300
|
+
/** The ID of the action attempt. */
|
|
3301
|
+
action_attempt_id: string;
|
|
3302
|
+
status: 'success';
|
|
3303
|
+
error: null;
|
|
3304
|
+
action_type: 'LOCK_DOOR';
|
|
3305
|
+
result: {};
|
|
3306
|
+
} | {
|
|
3307
|
+
/** The ID of the action attempt. */
|
|
3308
|
+
action_attempt_id: string;
|
|
3309
|
+
status: 'error';
|
|
3310
|
+
result: null;
|
|
3311
|
+
action_type: 'LOCK_DOOR';
|
|
3312
|
+
error: {
|
|
3313
|
+
type: string;
|
|
3314
|
+
message: string;
|
|
3315
|
+
};
|
|
3316
|
+
} | {
|
|
3317
|
+
/** The ID of the action attempt. */
|
|
3318
|
+
action_attempt_id: string;
|
|
3319
|
+
status: 'pending';
|
|
3320
|
+
result: null;
|
|
3321
|
+
error: null;
|
|
3322
|
+
action_type: 'UNLOCK_DOOR';
|
|
3323
|
+
} | {
|
|
3324
|
+
/** The ID of the action attempt. */
|
|
3325
|
+
action_attempt_id: string;
|
|
3326
|
+
status: 'success';
|
|
3327
|
+
error: null;
|
|
3328
|
+
action_type: 'UNLOCK_DOOR';
|
|
3329
|
+
result: {};
|
|
3330
|
+
} | {
|
|
3331
|
+
/** The ID of the action attempt. */
|
|
3332
|
+
action_attempt_id: string;
|
|
3333
|
+
status: 'error';
|
|
3334
|
+
result: null;
|
|
3335
|
+
action_type: 'UNLOCK_DOOR';
|
|
3336
|
+
error: {
|
|
3337
|
+
type: string;
|
|
3338
|
+
message: string;
|
|
3339
|
+
};
|
|
3340
|
+
} | {
|
|
3341
|
+
/** The ID of the action attempt. */
|
|
3342
|
+
action_attempt_id: string;
|
|
3343
|
+
status: 'pending';
|
|
3344
|
+
result: null;
|
|
3345
|
+
error: null;
|
|
3346
|
+
action_type: 'READ_CARD';
|
|
3347
|
+
} | {
|
|
3348
|
+
/** The ID of the action attempt. */
|
|
3349
|
+
action_attempt_id: string;
|
|
3350
|
+
status: 'success';
|
|
3351
|
+
error: null;
|
|
3352
|
+
action_type: 'READ_CARD';
|
|
3353
|
+
result: {
|
|
3354
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
3355
|
+
acs_credential_id: string | null;
|
|
3356
|
+
/** A number or sting that physically identifies this card. */
|
|
3357
|
+
card_number: string | null;
|
|
3358
|
+
};
|
|
3359
|
+
} | {
|
|
3360
|
+
/** The ID of the action attempt. */
|
|
3361
|
+
action_attempt_id: string;
|
|
3362
|
+
status: 'error';
|
|
3363
|
+
result: null;
|
|
3364
|
+
action_type: 'READ_CARD';
|
|
3365
|
+
error: {
|
|
3366
|
+
type: string;
|
|
3367
|
+
message: string;
|
|
3368
|
+
};
|
|
3369
|
+
} | {
|
|
3370
|
+
/** The ID of the action attempt. */
|
|
3371
|
+
action_attempt_id: string;
|
|
3372
|
+
status: 'pending';
|
|
3373
|
+
result: null;
|
|
3374
|
+
error: null;
|
|
3375
|
+
action_type: 'ENCODE_CARD';
|
|
3376
|
+
} | {
|
|
3377
|
+
/** The ID of the action attempt. */
|
|
3378
|
+
action_attempt_id: string;
|
|
3379
|
+
status: 'success';
|
|
3380
|
+
error: null;
|
|
3381
|
+
action_type: 'ENCODE_CARD';
|
|
3382
|
+
result: {
|
|
3383
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
3384
|
+
acs_credential_id: string | null;
|
|
3385
|
+
/** A number or sting that physically identifies this card. */
|
|
3386
|
+
card_number: string | null;
|
|
3387
|
+
};
|
|
3388
|
+
} | {
|
|
3389
|
+
/** The ID of the action attempt. */
|
|
3390
|
+
action_attempt_id: string;
|
|
3391
|
+
status: 'error';
|
|
3392
|
+
result: null;
|
|
3393
|
+
action_type: 'ENCODE_CARD';
|
|
3394
|
+
error: {
|
|
3395
|
+
type: string;
|
|
3396
|
+
message: string;
|
|
3397
|
+
};
|
|
3398
|
+
} | {
|
|
3399
|
+
/** The ID of the action attempt. */
|
|
3400
|
+
action_attempt_id: string;
|
|
3401
|
+
status: 'pending';
|
|
3402
|
+
result: null;
|
|
3403
|
+
error: null;
|
|
3404
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
3405
|
+
} | {
|
|
3406
|
+
/** The ID of the action attempt. */
|
|
3407
|
+
action_attempt_id: string;
|
|
3408
|
+
status: 'success';
|
|
3409
|
+
error: null;
|
|
3410
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
3411
|
+
result: {};
|
|
3412
|
+
} | {
|
|
3413
|
+
/** The ID of the action attempt. */
|
|
3414
|
+
action_attempt_id: string;
|
|
3415
|
+
status: 'error';
|
|
3416
|
+
result: null;
|
|
3417
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
3418
|
+
error: {
|
|
3419
|
+
type: string;
|
|
3420
|
+
message: string;
|
|
3421
|
+
};
|
|
3422
|
+
} | {
|
|
3423
|
+
/** The ID of the action attempt. */
|
|
3424
|
+
action_attempt_id: string;
|
|
3425
|
+
status: 'pending';
|
|
3426
|
+
result: null;
|
|
3427
|
+
error: null;
|
|
3428
|
+
action_type: 'SET_COOL';
|
|
3429
|
+
} | {
|
|
3430
|
+
/** The ID of the action attempt. */
|
|
3431
|
+
action_attempt_id: string;
|
|
3432
|
+
status: 'success';
|
|
3433
|
+
error: null;
|
|
3434
|
+
action_type: 'SET_COOL';
|
|
3435
|
+
result: {};
|
|
3436
|
+
} | {
|
|
3437
|
+
/** The ID of the action attempt. */
|
|
3438
|
+
action_attempt_id: string;
|
|
3439
|
+
status: 'error';
|
|
3440
|
+
result: null;
|
|
3441
|
+
action_type: 'SET_COOL';
|
|
3442
|
+
error: {
|
|
3443
|
+
type: string;
|
|
3444
|
+
message: string;
|
|
3445
|
+
};
|
|
3446
|
+
} | {
|
|
3447
|
+
/** The ID of the action attempt. */
|
|
3448
|
+
action_attempt_id: string;
|
|
3449
|
+
status: 'pending';
|
|
3450
|
+
result: null;
|
|
3451
|
+
error: null;
|
|
3452
|
+
action_type: 'SET_HEAT';
|
|
3453
|
+
} | {
|
|
3454
|
+
/** The ID of the action attempt. */
|
|
3455
|
+
action_attempt_id: string;
|
|
3456
|
+
status: 'success';
|
|
3457
|
+
error: null;
|
|
3458
|
+
action_type: 'SET_HEAT';
|
|
3459
|
+
result: {};
|
|
3460
|
+
} | {
|
|
3461
|
+
/** The ID of the action attempt. */
|
|
3462
|
+
action_attempt_id: string;
|
|
3463
|
+
status: 'error';
|
|
3464
|
+
result: null;
|
|
3465
|
+
action_type: 'SET_HEAT';
|
|
3466
|
+
error: {
|
|
3467
|
+
type: string;
|
|
3468
|
+
message: string;
|
|
3469
|
+
};
|
|
3470
|
+
} | {
|
|
3471
|
+
/** The ID of the action attempt. */
|
|
3472
|
+
action_attempt_id: string;
|
|
3473
|
+
status: 'pending';
|
|
3474
|
+
result: null;
|
|
3475
|
+
error: null;
|
|
3476
|
+
action_type: 'SET_HEAT_COOL';
|
|
3477
|
+
} | {
|
|
3478
|
+
/** The ID of the action attempt. */
|
|
3479
|
+
action_attempt_id: string;
|
|
3480
|
+
status: 'success';
|
|
3481
|
+
error: null;
|
|
3482
|
+
action_type: 'SET_HEAT_COOL';
|
|
3483
|
+
result: {};
|
|
3484
|
+
} | {
|
|
3485
|
+
/** The ID of the action attempt. */
|
|
3486
|
+
action_attempt_id: string;
|
|
3487
|
+
status: 'error';
|
|
3488
|
+
result: null;
|
|
3489
|
+
action_type: 'SET_HEAT_COOL';
|
|
3490
|
+
error: {
|
|
3491
|
+
type: string;
|
|
3492
|
+
message: string;
|
|
3493
|
+
};
|
|
3494
|
+
} | {
|
|
3495
|
+
/** The ID of the action attempt. */
|
|
3496
|
+
action_attempt_id: string;
|
|
3497
|
+
status: 'pending';
|
|
3498
|
+
result: null;
|
|
3499
|
+
error: null;
|
|
3500
|
+
action_type: 'SET_FAN_MODE';
|
|
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
|
+
/** The ID of the action attempt. */
|
|
3510
|
+
action_attempt_id: string;
|
|
3511
|
+
status: 'error';
|
|
3512
|
+
result: null;
|
|
3513
|
+
action_type: 'SET_FAN_MODE';
|
|
3514
|
+
error: {
|
|
3515
|
+
type: string;
|
|
3516
|
+
message: string;
|
|
3517
|
+
};
|
|
3518
|
+
} | {
|
|
3519
|
+
/** The ID of the action attempt. */
|
|
3520
|
+
action_attempt_id: string;
|
|
3521
|
+
status: 'pending';
|
|
3522
|
+
result: null;
|
|
3523
|
+
error: null;
|
|
3524
|
+
action_type: 'SET_THERMOSTAT_OFF';
|
|
3525
|
+
} | {
|
|
3526
|
+
/** The ID of the action attempt. */
|
|
3527
|
+
action_attempt_id: string;
|
|
3528
|
+
status: 'success';
|
|
3529
|
+
error: null;
|
|
3530
|
+
action_type: 'SET_THERMOSTAT_OFF';
|
|
3531
|
+
result: {};
|
|
3532
|
+
} | {
|
|
3533
|
+
/** The ID of the action attempt. */
|
|
3534
|
+
action_attempt_id: string;
|
|
3535
|
+
status: 'error';
|
|
3536
|
+
result: null;
|
|
3537
|
+
action_type: 'SET_THERMOSTAT_OFF';
|
|
3538
|
+
error: {
|
|
3539
|
+
type: string;
|
|
3540
|
+
message: string;
|
|
3541
|
+
};
|
|
3542
|
+
} | {
|
|
3543
|
+
/** The ID of the action attempt. */
|
|
3544
|
+
action_attempt_id: string;
|
|
3545
|
+
status: 'pending';
|
|
3546
|
+
result: null;
|
|
3547
|
+
error: null;
|
|
3548
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
3549
|
+
} | {
|
|
3550
|
+
/** The ID of the action attempt. */
|
|
3551
|
+
action_attempt_id: string;
|
|
3552
|
+
status: 'success';
|
|
3553
|
+
error: null;
|
|
3554
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
3555
|
+
result: {};
|
|
3556
|
+
} | {
|
|
3557
|
+
/** The ID of the action attempt. */
|
|
3558
|
+
action_attempt_id: string;
|
|
3559
|
+
status: 'error';
|
|
3560
|
+
result: null;
|
|
3561
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
3562
|
+
error: {
|
|
3563
|
+
type: string;
|
|
3564
|
+
message: string;
|
|
3565
|
+
};
|
|
3566
|
+
} | {
|
|
3567
|
+
/** The ID of the action attempt. */
|
|
3568
|
+
action_attempt_id: string;
|
|
3569
|
+
status: 'pending';
|
|
3570
|
+
result: null;
|
|
3571
|
+
error: null;
|
|
3572
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
3573
|
+
} | {
|
|
3574
|
+
/** The ID of the action attempt. */
|
|
3575
|
+
action_attempt_id: string;
|
|
3576
|
+
status: 'success';
|
|
3577
|
+
error: null;
|
|
3578
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
3579
|
+
result?: any;
|
|
3580
|
+
} | {
|
|
3581
|
+
/** The ID of the action attempt. */
|
|
3582
|
+
action_attempt_id: string;
|
|
3583
|
+
status: 'error';
|
|
3584
|
+
result: null;
|
|
3585
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
3586
|
+
error: {
|
|
3587
|
+
type: string;
|
|
3588
|
+
message: string;
|
|
3589
|
+
};
|
|
3590
|
+
} | {
|
|
3591
|
+
/** The ID of the action attempt. */
|
|
3592
|
+
action_attempt_id: string;
|
|
3593
|
+
status: 'pending';
|
|
3594
|
+
result: null;
|
|
3595
|
+
error: null;
|
|
3596
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
3597
|
+
} | {
|
|
3598
|
+
/** The ID of the action attempt. */
|
|
3599
|
+
action_attempt_id: string;
|
|
3600
|
+
status: 'success';
|
|
3601
|
+
error: null;
|
|
3602
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
3603
|
+
result?: any;
|
|
3604
|
+
} | {
|
|
3605
|
+
/** The ID of the action attempt. */
|
|
3606
|
+
action_attempt_id: string;
|
|
3607
|
+
status: 'error';
|
|
3608
|
+
result: null;
|
|
3609
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
3610
|
+
error: {
|
|
3611
|
+
type: string;
|
|
3612
|
+
message: string;
|
|
3613
|
+
};
|
|
3614
|
+
} | {
|
|
3615
|
+
/** The ID of the action attempt. */
|
|
3616
|
+
action_attempt_id: string;
|
|
3617
|
+
status: 'pending';
|
|
3618
|
+
result: null;
|
|
3619
|
+
error: null;
|
|
3620
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
3621
|
+
} | {
|
|
3622
|
+
/** The ID of the action attempt. */
|
|
3623
|
+
action_attempt_id: string;
|
|
3624
|
+
status: 'success';
|
|
3625
|
+
error: null;
|
|
3626
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
3627
|
+
result?: any;
|
|
3628
|
+
} | {
|
|
3629
|
+
/** The ID of the action attempt. */
|
|
3630
|
+
action_attempt_id: string;
|
|
3631
|
+
status: 'error';
|
|
3632
|
+
result: null;
|
|
3633
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
3634
|
+
error: {
|
|
3635
|
+
type: string;
|
|
3636
|
+
message: string;
|
|
3637
|
+
};
|
|
3638
|
+
} | {
|
|
3639
|
+
/** The ID of the action attempt. */
|
|
3640
|
+
action_attempt_id: string;
|
|
3641
|
+
status: 'pending';
|
|
3642
|
+
result: null;
|
|
3643
|
+
error: null;
|
|
3644
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
3645
|
+
} | {
|
|
3646
|
+
/** The ID of the action attempt. */
|
|
3647
|
+
action_attempt_id: string;
|
|
3648
|
+
status: 'success';
|
|
3649
|
+
error: null;
|
|
3650
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
3651
|
+
result?: any;
|
|
3652
|
+
} | {
|
|
3653
|
+
/** The ID of the action attempt. */
|
|
3654
|
+
action_attempt_id: string;
|
|
3655
|
+
status: 'error';
|
|
3656
|
+
result: null;
|
|
3657
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
3658
|
+
error: {
|
|
3659
|
+
type: string;
|
|
3660
|
+
message: string;
|
|
3661
|
+
};
|
|
3662
|
+
} | {
|
|
3663
|
+
/** The ID of the action attempt. */
|
|
3664
|
+
action_attempt_id: string;
|
|
3665
|
+
status: 'pending';
|
|
3666
|
+
result: null;
|
|
3667
|
+
error: null;
|
|
3668
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
3669
|
+
} | {
|
|
3670
|
+
/** The ID of the action attempt. */
|
|
3671
|
+
action_attempt_id: string;
|
|
3672
|
+
status: 'success';
|
|
3673
|
+
error: null;
|
|
3674
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
3675
|
+
result?: any;
|
|
3676
|
+
} | {
|
|
3677
|
+
/** The ID of the action attempt. */
|
|
3678
|
+
action_attempt_id: string;
|
|
3679
|
+
status: 'error';
|
|
3680
|
+
result: null;
|
|
3681
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
3682
|
+
error: {
|
|
3683
|
+
type: string;
|
|
3125
3684
|
message: string;
|
|
3126
|
-
}
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3685
|
+
};
|
|
3686
|
+
} | {
|
|
3687
|
+
/** The ID of the action attempt. */
|
|
3688
|
+
action_attempt_id: string;
|
|
3689
|
+
status: 'pending';
|
|
3690
|
+
result: null;
|
|
3691
|
+
error: null;
|
|
3692
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
3693
|
+
} | {
|
|
3694
|
+
/** The ID of the action attempt. */
|
|
3695
|
+
action_attempt_id: string;
|
|
3696
|
+
status: 'success';
|
|
3697
|
+
error: null;
|
|
3698
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
3699
|
+
result?: any;
|
|
3700
|
+
} | {
|
|
3701
|
+
/** The ID of the action attempt. */
|
|
3702
|
+
action_attempt_id: string;
|
|
3703
|
+
status: 'error';
|
|
3704
|
+
result: null;
|
|
3705
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
3706
|
+
error: {
|
|
3707
|
+
type: string;
|
|
3708
|
+
message: string;
|
|
3709
|
+
};
|
|
3710
|
+
} | {
|
|
3711
|
+
/** The ID of the action attempt. */
|
|
3712
|
+
action_attempt_id: string;
|
|
3713
|
+
status: 'pending';
|
|
3714
|
+
result: null;
|
|
3715
|
+
error: null;
|
|
3716
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
3717
|
+
} | {
|
|
3718
|
+
/** The ID of the action attempt. */
|
|
3719
|
+
action_attempt_id: string;
|
|
3720
|
+
status: 'success';
|
|
3721
|
+
error: null;
|
|
3722
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
3723
|
+
result?: any;
|
|
3724
|
+
} | {
|
|
3725
|
+
/** The ID of the action attempt. */
|
|
3726
|
+
action_attempt_id: string;
|
|
3727
|
+
status: 'error';
|
|
3728
|
+
result: null;
|
|
3729
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
3730
|
+
error: {
|
|
3731
|
+
type: string;
|
|
3732
|
+
message: string;
|
|
3733
|
+
};
|
|
3140
3734
|
};
|
|
3141
3735
|
};
|
|
3142
3736
|
};
|
|
@@ -3230,6 +3824,35 @@ export interface Routes {
|
|
|
3230
3824
|
type: string;
|
|
3231
3825
|
message: string;
|
|
3232
3826
|
};
|
|
3827
|
+
} | {
|
|
3828
|
+
/** The ID of the action attempt. */
|
|
3829
|
+
action_attempt_id: string;
|
|
3830
|
+
status: 'pending';
|
|
3831
|
+
result: null;
|
|
3832
|
+
error: null;
|
|
3833
|
+
action_type: 'ENCODE_CARD';
|
|
3834
|
+
} | {
|
|
3835
|
+
/** The ID of the action attempt. */
|
|
3836
|
+
action_attempt_id: string;
|
|
3837
|
+
status: 'success';
|
|
3838
|
+
error: null;
|
|
3839
|
+
action_type: 'ENCODE_CARD';
|
|
3840
|
+
result: {
|
|
3841
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
3842
|
+
acs_credential_id: string | null;
|
|
3843
|
+
/** A number or sting that physically identifies this card. */
|
|
3844
|
+
card_number: string | null;
|
|
3845
|
+
};
|
|
3846
|
+
} | {
|
|
3847
|
+
/** The ID of the action attempt. */
|
|
3848
|
+
action_attempt_id: string;
|
|
3849
|
+
status: 'error';
|
|
3850
|
+
result: null;
|
|
3851
|
+
action_type: 'ENCODE_CARD';
|
|
3852
|
+
error: {
|
|
3853
|
+
type: string;
|
|
3854
|
+
message: string;
|
|
3855
|
+
};
|
|
3233
3856
|
} | {
|
|
3234
3857
|
/** The ID of the action attempt. */
|
|
3235
3858
|
action_attempt_id: string;
|
|
@@ -3602,6 +4225,16 @@ export interface Routes {
|
|
|
3602
4225
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
3603
4226
|
}> | undefined;
|
|
3604
4227
|
} | undefined;
|
|
4228
|
+
salto_ks_metadata?: {
|
|
4229
|
+
door_name: string;
|
|
4230
|
+
locked_state: string;
|
|
4231
|
+
lock_type: string;
|
|
4232
|
+
online: boolean;
|
|
4233
|
+
battery_level: string;
|
|
4234
|
+
left_open_alarm: boolean;
|
|
4235
|
+
intrusion_alarm: boolean;
|
|
4236
|
+
privacy_mode: boolean;
|
|
4237
|
+
} | undefined;
|
|
3605
4238
|
};
|
|
3606
4239
|
};
|
|
3607
4240
|
};
|
|
@@ -3651,6 +4284,16 @@ export interface Routes {
|
|
|
3651
4284
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
3652
4285
|
}> | undefined;
|
|
3653
4286
|
} | undefined;
|
|
4287
|
+
salto_ks_metadata?: {
|
|
4288
|
+
door_name: string;
|
|
4289
|
+
locked_state: string;
|
|
4290
|
+
lock_type: string;
|
|
4291
|
+
online: boolean;
|
|
4292
|
+
battery_level: string;
|
|
4293
|
+
left_open_alarm: boolean;
|
|
4294
|
+
intrusion_alarm: boolean;
|
|
4295
|
+
privacy_mode: boolean;
|
|
4296
|
+
} | undefined;
|
|
3654
4297
|
}>;
|
|
3655
4298
|
};
|
|
3656
4299
|
};
|
|
@@ -4400,6 +5043,16 @@ export interface Routes {
|
|
|
4400
5043
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
4401
5044
|
}> | undefined;
|
|
4402
5045
|
} | undefined;
|
|
5046
|
+
salto_ks_metadata?: {
|
|
5047
|
+
door_name: string;
|
|
5048
|
+
locked_state: string;
|
|
5049
|
+
lock_type: string;
|
|
5050
|
+
online: boolean;
|
|
5051
|
+
battery_level: string;
|
|
5052
|
+
left_open_alarm: boolean;
|
|
5053
|
+
intrusion_alarm: boolean;
|
|
5054
|
+
privacy_mode: boolean;
|
|
5055
|
+
} | undefined;
|
|
4403
5056
|
}>;
|
|
4404
5057
|
};
|
|
4405
5058
|
};
|
|
@@ -4771,6 +5424,35 @@ export interface Routes {
|
|
|
4771
5424
|
type: string;
|
|
4772
5425
|
message: string;
|
|
4773
5426
|
};
|
|
5427
|
+
} | {
|
|
5428
|
+
/** The ID of the action attempt. */
|
|
5429
|
+
action_attempt_id: string;
|
|
5430
|
+
status: 'pending';
|
|
5431
|
+
result: null;
|
|
5432
|
+
error: null;
|
|
5433
|
+
action_type: 'ENCODE_CARD';
|
|
5434
|
+
} | {
|
|
5435
|
+
/** The ID of the action attempt. */
|
|
5436
|
+
action_attempt_id: string;
|
|
5437
|
+
status: 'success';
|
|
5438
|
+
error: null;
|
|
5439
|
+
action_type: 'ENCODE_CARD';
|
|
5440
|
+
result: {
|
|
5441
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
5442
|
+
acs_credential_id: string | null;
|
|
5443
|
+
/** A number or sting that physically identifies this card. */
|
|
5444
|
+
card_number: string | null;
|
|
5445
|
+
};
|
|
5446
|
+
} | {
|
|
5447
|
+
/** The ID of the action attempt. */
|
|
5448
|
+
action_attempt_id: string;
|
|
5449
|
+
status: 'error';
|
|
5450
|
+
result: null;
|
|
5451
|
+
action_type: 'ENCODE_CARD';
|
|
5452
|
+
error: {
|
|
5453
|
+
type: string;
|
|
5454
|
+
message: string;
|
|
5455
|
+
};
|
|
4774
5456
|
} | {
|
|
4775
5457
|
/** The ID of the action attempt. */
|
|
4776
5458
|
action_attempt_id: string;
|
|
@@ -5197,6 +5879,35 @@ export interface Routes {
|
|
|
5197
5879
|
type: string;
|
|
5198
5880
|
message: string;
|
|
5199
5881
|
};
|
|
5882
|
+
} | {
|
|
5883
|
+
/** The ID of the action attempt. */
|
|
5884
|
+
action_attempt_id: string;
|
|
5885
|
+
status: 'pending';
|
|
5886
|
+
result: null;
|
|
5887
|
+
error: null;
|
|
5888
|
+
action_type: 'ENCODE_CARD';
|
|
5889
|
+
} | {
|
|
5890
|
+
/** The ID of the action attempt. */
|
|
5891
|
+
action_attempt_id: string;
|
|
5892
|
+
status: 'success';
|
|
5893
|
+
error: null;
|
|
5894
|
+
action_type: 'ENCODE_CARD';
|
|
5895
|
+
result: {
|
|
5896
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
5897
|
+
acs_credential_id: string | null;
|
|
5898
|
+
/** A number or sting that physically identifies this card. */
|
|
5899
|
+
card_number: string | null;
|
|
5900
|
+
};
|
|
5901
|
+
} | {
|
|
5902
|
+
/** The ID of the action attempt. */
|
|
5903
|
+
action_attempt_id: string;
|
|
5904
|
+
status: 'error';
|
|
5905
|
+
result: null;
|
|
5906
|
+
action_type: 'ENCODE_CARD';
|
|
5907
|
+
error: {
|
|
5908
|
+
type: string;
|
|
5909
|
+
message: string;
|
|
5910
|
+
};
|
|
5200
5911
|
} | {
|
|
5201
5912
|
/** The ID of the action attempt. */
|
|
5202
5913
|
action_attempt_id: string;
|
|
@@ -9145,6 +9856,35 @@ export interface Routes {
|
|
|
9145
9856
|
type: string;
|
|
9146
9857
|
message: string;
|
|
9147
9858
|
};
|
|
9859
|
+
} | {
|
|
9860
|
+
/** The ID of the action attempt. */
|
|
9861
|
+
action_attempt_id: string;
|
|
9862
|
+
status: 'pending';
|
|
9863
|
+
result: null;
|
|
9864
|
+
error: null;
|
|
9865
|
+
action_type: 'ENCODE_CARD';
|
|
9866
|
+
} | {
|
|
9867
|
+
/** The ID of the action attempt. */
|
|
9868
|
+
action_attempt_id: string;
|
|
9869
|
+
status: 'success';
|
|
9870
|
+
error: null;
|
|
9871
|
+
action_type: 'ENCODE_CARD';
|
|
9872
|
+
result: {
|
|
9873
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
9874
|
+
acs_credential_id: string | null;
|
|
9875
|
+
/** A number or sting that physically identifies this card. */
|
|
9876
|
+
card_number: string | null;
|
|
9877
|
+
};
|
|
9878
|
+
} | {
|
|
9879
|
+
/** The ID of the action attempt. */
|
|
9880
|
+
action_attempt_id: string;
|
|
9881
|
+
status: 'error';
|
|
9882
|
+
result: null;
|
|
9883
|
+
action_type: 'ENCODE_CARD';
|
|
9884
|
+
error: {
|
|
9885
|
+
type: string;
|
|
9886
|
+
message: string;
|
|
9887
|
+
};
|
|
9148
9888
|
} | {
|
|
9149
9889
|
/** The ID of the action attempt. */
|
|
9150
9890
|
action_attempt_id: string;
|
|
@@ -9572,6 +10312,35 @@ export interface Routes {
|
|
|
9572
10312
|
type: string;
|
|
9573
10313
|
message: string;
|
|
9574
10314
|
};
|
|
10315
|
+
} | {
|
|
10316
|
+
/** The ID of the action attempt. */
|
|
10317
|
+
action_attempt_id: string;
|
|
10318
|
+
status: 'pending';
|
|
10319
|
+
result: null;
|
|
10320
|
+
error: null;
|
|
10321
|
+
action_type: 'ENCODE_CARD';
|
|
10322
|
+
} | {
|
|
10323
|
+
/** The ID of the action attempt. */
|
|
10324
|
+
action_attempt_id: string;
|
|
10325
|
+
status: 'success';
|
|
10326
|
+
error: null;
|
|
10327
|
+
action_type: 'ENCODE_CARD';
|
|
10328
|
+
result: {
|
|
10329
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
10330
|
+
acs_credential_id: string | null;
|
|
10331
|
+
/** A number or sting that physically identifies this card. */
|
|
10332
|
+
card_number: string | null;
|
|
10333
|
+
};
|
|
10334
|
+
} | {
|
|
10335
|
+
/** The ID of the action attempt. */
|
|
10336
|
+
action_attempt_id: string;
|
|
10337
|
+
status: 'error';
|
|
10338
|
+
result: null;
|
|
10339
|
+
action_type: 'ENCODE_CARD';
|
|
10340
|
+
error: {
|
|
10341
|
+
type: string;
|
|
10342
|
+
message: string;
|
|
10343
|
+
};
|
|
9575
10344
|
} | {
|
|
9576
10345
|
/** The ID of the action attempt. */
|
|
9577
10346
|
action_attempt_id: string;
|
|
@@ -10862,20 +11631,44 @@ export interface Routes {
|
|
|
10862
11631
|
status: 'pending';
|
|
10863
11632
|
result: null;
|
|
10864
11633
|
error: null;
|
|
10865
|
-
action_type: 'LOCK_DOOR';
|
|
11634
|
+
action_type: 'LOCK_DOOR';
|
|
11635
|
+
} | {
|
|
11636
|
+
/** The ID of the action attempt. */
|
|
11637
|
+
action_attempt_id: string;
|
|
11638
|
+
status: 'success';
|
|
11639
|
+
error: null;
|
|
11640
|
+
action_type: 'LOCK_DOOR';
|
|
11641
|
+
result: {};
|
|
11642
|
+
} | {
|
|
11643
|
+
/** The ID of the action attempt. */
|
|
11644
|
+
action_attempt_id: string;
|
|
11645
|
+
status: 'error';
|
|
11646
|
+
result: null;
|
|
11647
|
+
action_type: 'LOCK_DOOR';
|
|
11648
|
+
error: {
|
|
11649
|
+
type: string;
|
|
11650
|
+
message: string;
|
|
11651
|
+
};
|
|
11652
|
+
} | {
|
|
11653
|
+
/** The ID of the action attempt. */
|
|
11654
|
+
action_attempt_id: string;
|
|
11655
|
+
status: 'pending';
|
|
11656
|
+
result: null;
|
|
11657
|
+
error: null;
|
|
11658
|
+
action_type: 'UNLOCK_DOOR';
|
|
10866
11659
|
} | {
|
|
10867
11660
|
/** The ID of the action attempt. */
|
|
10868
11661
|
action_attempt_id: string;
|
|
10869
11662
|
status: 'success';
|
|
10870
11663
|
error: null;
|
|
10871
|
-
action_type: '
|
|
11664
|
+
action_type: 'UNLOCK_DOOR';
|
|
10872
11665
|
result: {};
|
|
10873
11666
|
} | {
|
|
10874
11667
|
/** The ID of the action attempt. */
|
|
10875
11668
|
action_attempt_id: string;
|
|
10876
11669
|
status: 'error';
|
|
10877
11670
|
result: null;
|
|
10878
|
-
action_type: '
|
|
11671
|
+
action_type: 'UNLOCK_DOOR';
|
|
10879
11672
|
error: {
|
|
10880
11673
|
type: string;
|
|
10881
11674
|
message: string;
|
|
@@ -10886,20 +11679,25 @@ export interface Routes {
|
|
|
10886
11679
|
status: 'pending';
|
|
10887
11680
|
result: null;
|
|
10888
11681
|
error: null;
|
|
10889
|
-
action_type: '
|
|
11682
|
+
action_type: 'READ_CARD';
|
|
10890
11683
|
} | {
|
|
10891
11684
|
/** The ID of the action attempt. */
|
|
10892
11685
|
action_attempt_id: string;
|
|
10893
11686
|
status: 'success';
|
|
10894
11687
|
error: null;
|
|
10895
|
-
action_type: '
|
|
10896
|
-
result: {
|
|
11688
|
+
action_type: 'READ_CARD';
|
|
11689
|
+
result: {
|
|
11690
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
11691
|
+
acs_credential_id: string | null;
|
|
11692
|
+
/** A number or sting that physically identifies this card. */
|
|
11693
|
+
card_number: string | null;
|
|
11694
|
+
};
|
|
10897
11695
|
} | {
|
|
10898
11696
|
/** The ID of the action attempt. */
|
|
10899
11697
|
action_attempt_id: string;
|
|
10900
11698
|
status: 'error';
|
|
10901
11699
|
result: null;
|
|
10902
|
-
action_type: '
|
|
11700
|
+
action_type: 'READ_CARD';
|
|
10903
11701
|
error: {
|
|
10904
11702
|
type: string;
|
|
10905
11703
|
message: string;
|
|
@@ -10910,13 +11708,13 @@ export interface Routes {
|
|
|
10910
11708
|
status: 'pending';
|
|
10911
11709
|
result: null;
|
|
10912
11710
|
error: null;
|
|
10913
|
-
action_type: '
|
|
11711
|
+
action_type: 'ENCODE_CARD';
|
|
10914
11712
|
} | {
|
|
10915
11713
|
/** The ID of the action attempt. */
|
|
10916
11714
|
action_attempt_id: string;
|
|
10917
11715
|
status: 'success';
|
|
10918
11716
|
error: null;
|
|
10919
|
-
action_type: '
|
|
11717
|
+
action_type: 'ENCODE_CARD';
|
|
10920
11718
|
result: {
|
|
10921
11719
|
/** Matching acs_credential currently encoded on this card. */
|
|
10922
11720
|
acs_credential_id: string | null;
|
|
@@ -10928,7 +11726,7 @@ export interface Routes {
|
|
|
10928
11726
|
action_attempt_id: string;
|
|
10929
11727
|
status: 'error';
|
|
10930
11728
|
result: null;
|
|
10931
|
-
action_type: '
|
|
11729
|
+
action_type: 'ENCODE_CARD';
|
|
10932
11730
|
error: {
|
|
10933
11731
|
type: string;
|
|
10934
11732
|
message: string;
|
|
@@ -11370,6 +12168,35 @@ export interface Routes {
|
|
|
11370
12168
|
type: string;
|
|
11371
12169
|
message: string;
|
|
11372
12170
|
};
|
|
12171
|
+
} | {
|
|
12172
|
+
/** The ID of the action attempt. */
|
|
12173
|
+
action_attempt_id: string;
|
|
12174
|
+
status: 'pending';
|
|
12175
|
+
result: null;
|
|
12176
|
+
error: null;
|
|
12177
|
+
action_type: 'ENCODE_CARD';
|
|
12178
|
+
} | {
|
|
12179
|
+
/** The ID of the action attempt. */
|
|
12180
|
+
action_attempt_id: string;
|
|
12181
|
+
status: 'success';
|
|
12182
|
+
error: null;
|
|
12183
|
+
action_type: 'ENCODE_CARD';
|
|
12184
|
+
result: {
|
|
12185
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
12186
|
+
acs_credential_id: string | null;
|
|
12187
|
+
/** A number or sting that physically identifies this card. */
|
|
12188
|
+
card_number: string | null;
|
|
12189
|
+
};
|
|
12190
|
+
} | {
|
|
12191
|
+
/** The ID of the action attempt. */
|
|
12192
|
+
action_attempt_id: string;
|
|
12193
|
+
status: 'error';
|
|
12194
|
+
result: null;
|
|
12195
|
+
action_type: 'ENCODE_CARD';
|
|
12196
|
+
error: {
|
|
12197
|
+
type: string;
|
|
12198
|
+
message: string;
|
|
12199
|
+
};
|
|
11373
12200
|
} | {
|
|
11374
12201
|
/** The ID of the action attempt. */
|
|
11375
12202
|
action_attempt_id: string;
|
|
@@ -11846,6 +12673,35 @@ export interface Routes {
|
|
|
11846
12673
|
type: string;
|
|
11847
12674
|
message: string;
|
|
11848
12675
|
};
|
|
12676
|
+
} | {
|
|
12677
|
+
/** The ID of the action attempt. */
|
|
12678
|
+
action_attempt_id: string;
|
|
12679
|
+
status: 'pending';
|
|
12680
|
+
result: null;
|
|
12681
|
+
error: null;
|
|
12682
|
+
action_type: 'ENCODE_CARD';
|
|
12683
|
+
} | {
|
|
12684
|
+
/** The ID of the action attempt. */
|
|
12685
|
+
action_attempt_id: string;
|
|
12686
|
+
status: 'success';
|
|
12687
|
+
error: null;
|
|
12688
|
+
action_type: 'ENCODE_CARD';
|
|
12689
|
+
result: {
|
|
12690
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
12691
|
+
acs_credential_id: string | null;
|
|
12692
|
+
/** A number or sting that physically identifies this card. */
|
|
12693
|
+
card_number: string | null;
|
|
12694
|
+
};
|
|
12695
|
+
} | {
|
|
12696
|
+
/** The ID of the action attempt. */
|
|
12697
|
+
action_attempt_id: string;
|
|
12698
|
+
status: 'error';
|
|
12699
|
+
result: null;
|
|
12700
|
+
action_type: 'ENCODE_CARD';
|
|
12701
|
+
error: {
|
|
12702
|
+
type: string;
|
|
12703
|
+
message: string;
|
|
12704
|
+
};
|
|
11849
12705
|
} | {
|
|
11850
12706
|
/** The ID of the action attempt. */
|
|
11851
12707
|
action_attempt_id: string;
|
|
@@ -12455,6 +13311,35 @@ export interface Routes {
|
|
|
12455
13311
|
type: string;
|
|
12456
13312
|
message: string;
|
|
12457
13313
|
};
|
|
13314
|
+
} | {
|
|
13315
|
+
/** The ID of the action attempt. */
|
|
13316
|
+
action_attempt_id: string;
|
|
13317
|
+
status: 'pending';
|
|
13318
|
+
result: null;
|
|
13319
|
+
error: null;
|
|
13320
|
+
action_type: 'ENCODE_CARD';
|
|
13321
|
+
} | {
|
|
13322
|
+
/** The ID of the action attempt. */
|
|
13323
|
+
action_attempt_id: string;
|
|
13324
|
+
status: 'success';
|
|
13325
|
+
error: null;
|
|
13326
|
+
action_type: 'ENCODE_CARD';
|
|
13327
|
+
result: {
|
|
13328
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
13329
|
+
acs_credential_id: string | null;
|
|
13330
|
+
/** A number or sting that physically identifies this card. */
|
|
13331
|
+
card_number: string | null;
|
|
13332
|
+
};
|
|
13333
|
+
} | {
|
|
13334
|
+
/** The ID of the action attempt. */
|
|
13335
|
+
action_attempt_id: string;
|
|
13336
|
+
status: 'error';
|
|
13337
|
+
result: null;
|
|
13338
|
+
action_type: 'ENCODE_CARD';
|
|
13339
|
+
error: {
|
|
13340
|
+
type: string;
|
|
13341
|
+
message: string;
|
|
13342
|
+
};
|
|
12458
13343
|
} | {
|
|
12459
13344
|
/** The ID of the action attempt. */
|
|
12460
13345
|
action_attempt_id: string;
|
|
@@ -12884,6 +13769,35 @@ export interface Routes {
|
|
|
12884
13769
|
type: string;
|
|
12885
13770
|
message: string;
|
|
12886
13771
|
};
|
|
13772
|
+
} | {
|
|
13773
|
+
/** The ID of the action attempt. */
|
|
13774
|
+
action_attempt_id: string;
|
|
13775
|
+
status: 'pending';
|
|
13776
|
+
result: null;
|
|
13777
|
+
error: null;
|
|
13778
|
+
action_type: 'ENCODE_CARD';
|
|
13779
|
+
} | {
|
|
13780
|
+
/** The ID of the action attempt. */
|
|
13781
|
+
action_attempt_id: string;
|
|
13782
|
+
status: 'success';
|
|
13783
|
+
error: null;
|
|
13784
|
+
action_type: 'ENCODE_CARD';
|
|
13785
|
+
result: {
|
|
13786
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
13787
|
+
acs_credential_id: string | null;
|
|
13788
|
+
/** A number or sting that physically identifies this card. */
|
|
13789
|
+
card_number: string | null;
|
|
13790
|
+
};
|
|
13791
|
+
} | {
|
|
13792
|
+
/** The ID of the action attempt. */
|
|
13793
|
+
action_attempt_id: string;
|
|
13794
|
+
status: 'error';
|
|
13795
|
+
result: null;
|
|
13796
|
+
action_type: 'ENCODE_CARD';
|
|
13797
|
+
error: {
|
|
13798
|
+
type: string;
|
|
13799
|
+
message: string;
|
|
13800
|
+
};
|
|
12887
13801
|
} | {
|
|
12888
13802
|
/** The ID of the action attempt. */
|
|
12889
13803
|
action_attempt_id: string;
|
|
@@ -13808,6 +14722,35 @@ export interface Routes {
|
|
|
13808
14722
|
type: string;
|
|
13809
14723
|
message: string;
|
|
13810
14724
|
};
|
|
14725
|
+
} | {
|
|
14726
|
+
/** The ID of the action attempt. */
|
|
14727
|
+
action_attempt_id: string;
|
|
14728
|
+
status: 'pending';
|
|
14729
|
+
result: null;
|
|
14730
|
+
error: null;
|
|
14731
|
+
action_type: 'ENCODE_CARD';
|
|
14732
|
+
} | {
|
|
14733
|
+
/** The ID of the action attempt. */
|
|
14734
|
+
action_attempt_id: string;
|
|
14735
|
+
status: 'success';
|
|
14736
|
+
error: null;
|
|
14737
|
+
action_type: 'ENCODE_CARD';
|
|
14738
|
+
result: {
|
|
14739
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
14740
|
+
acs_credential_id: string | null;
|
|
14741
|
+
/** A number or sting that physically identifies this card. */
|
|
14742
|
+
card_number: string | null;
|
|
14743
|
+
};
|
|
14744
|
+
} | {
|
|
14745
|
+
/** The ID of the action attempt. */
|
|
14746
|
+
action_attempt_id: string;
|
|
14747
|
+
status: 'error';
|
|
14748
|
+
result: null;
|
|
14749
|
+
action_type: 'ENCODE_CARD';
|
|
14750
|
+
error: {
|
|
14751
|
+
type: string;
|
|
14752
|
+
message: string;
|
|
14753
|
+
};
|
|
13811
14754
|
} | {
|
|
13812
14755
|
/** The ID of the action attempt. */
|
|
13813
14756
|
action_attempt_id: string;
|
|
@@ -14239,6 +15182,35 @@ export interface Routes {
|
|
|
14239
15182
|
type: string;
|
|
14240
15183
|
message: string;
|
|
14241
15184
|
};
|
|
15185
|
+
} | {
|
|
15186
|
+
/** The ID of the action attempt. */
|
|
15187
|
+
action_attempt_id: string;
|
|
15188
|
+
status: 'pending';
|
|
15189
|
+
result: null;
|
|
15190
|
+
error: null;
|
|
15191
|
+
action_type: 'ENCODE_CARD';
|
|
15192
|
+
} | {
|
|
15193
|
+
/** The ID of the action attempt. */
|
|
15194
|
+
action_attempt_id: string;
|
|
15195
|
+
status: 'success';
|
|
15196
|
+
error: null;
|
|
15197
|
+
action_type: 'ENCODE_CARD';
|
|
15198
|
+
result: {
|
|
15199
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
15200
|
+
acs_credential_id: string | null;
|
|
15201
|
+
/** A number or sting that physically identifies this card. */
|
|
15202
|
+
card_number: string | null;
|
|
15203
|
+
};
|
|
15204
|
+
} | {
|
|
15205
|
+
/** The ID of the action attempt. */
|
|
15206
|
+
action_attempt_id: string;
|
|
15207
|
+
status: 'error';
|
|
15208
|
+
result: null;
|
|
15209
|
+
action_type: 'ENCODE_CARD';
|
|
15210
|
+
error: {
|
|
15211
|
+
type: string;
|
|
15212
|
+
message: string;
|
|
15213
|
+
};
|
|
14242
15214
|
} | {
|
|
14243
15215
|
/** The ID of the action attempt. */
|
|
14244
15216
|
action_attempt_id: string;
|
|
@@ -15126,6 +16098,35 @@ export interface Routes {
|
|
|
15126
16098
|
type: string;
|
|
15127
16099
|
message: string;
|
|
15128
16100
|
};
|
|
16101
|
+
} | {
|
|
16102
|
+
/** The ID of the action attempt. */
|
|
16103
|
+
action_attempt_id: string;
|
|
16104
|
+
status: 'pending';
|
|
16105
|
+
result: null;
|
|
16106
|
+
error: null;
|
|
16107
|
+
action_type: 'ENCODE_CARD';
|
|
16108
|
+
} | {
|
|
16109
|
+
/** The ID of the action attempt. */
|
|
16110
|
+
action_attempt_id: string;
|
|
16111
|
+
status: 'success';
|
|
16112
|
+
error: null;
|
|
16113
|
+
action_type: 'ENCODE_CARD';
|
|
16114
|
+
result: {
|
|
16115
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
16116
|
+
acs_credential_id: string | null;
|
|
16117
|
+
/** A number or sting that physically identifies this card. */
|
|
16118
|
+
card_number: string | null;
|
|
16119
|
+
};
|
|
16120
|
+
} | {
|
|
16121
|
+
/** The ID of the action attempt. */
|
|
16122
|
+
action_attempt_id: string;
|
|
16123
|
+
status: 'error';
|
|
16124
|
+
result: null;
|
|
16125
|
+
action_type: 'ENCODE_CARD';
|
|
16126
|
+
error: {
|
|
16127
|
+
type: string;
|
|
16128
|
+
message: string;
|
|
16129
|
+
};
|
|
15129
16130
|
} | {
|
|
15130
16131
|
/** The ID of the action attempt. */
|
|
15131
16132
|
action_attempt_id: string;
|
|
@@ -15674,6 +16675,35 @@ export interface Routes {
|
|
|
15674
16675
|
type: string;
|
|
15675
16676
|
message: string;
|
|
15676
16677
|
};
|
|
16678
|
+
} | {
|
|
16679
|
+
/** The ID of the action attempt. */
|
|
16680
|
+
action_attempt_id: string;
|
|
16681
|
+
status: 'pending';
|
|
16682
|
+
result: null;
|
|
16683
|
+
error: null;
|
|
16684
|
+
action_type: 'ENCODE_CARD';
|
|
16685
|
+
} | {
|
|
16686
|
+
/** The ID of the action attempt. */
|
|
16687
|
+
action_attempt_id: string;
|
|
16688
|
+
status: 'success';
|
|
16689
|
+
error: null;
|
|
16690
|
+
action_type: 'ENCODE_CARD';
|
|
16691
|
+
result: {
|
|
16692
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
16693
|
+
acs_credential_id: string | null;
|
|
16694
|
+
/** A number or sting that physically identifies this card. */
|
|
16695
|
+
card_number: string | null;
|
|
16696
|
+
};
|
|
16697
|
+
} | {
|
|
16698
|
+
/** The ID of the action attempt. */
|
|
16699
|
+
action_attempt_id: string;
|
|
16700
|
+
status: 'error';
|
|
16701
|
+
result: null;
|
|
16702
|
+
action_type: 'ENCODE_CARD';
|
|
16703
|
+
error: {
|
|
16704
|
+
type: string;
|
|
16705
|
+
message: string;
|
|
16706
|
+
};
|
|
15677
16707
|
} | {
|
|
15678
16708
|
/** The ID of the action attempt. */
|
|
15679
16709
|
action_attempt_id: string;
|
|
@@ -17562,6 +18592,35 @@ export interface Routes {
|
|
|
17562
18592
|
type: string;
|
|
17563
18593
|
message: string;
|
|
17564
18594
|
};
|
|
18595
|
+
} | {
|
|
18596
|
+
/** The ID of the action attempt. */
|
|
18597
|
+
action_attempt_id: string;
|
|
18598
|
+
status: 'pending';
|
|
18599
|
+
result: null;
|
|
18600
|
+
error: null;
|
|
18601
|
+
action_type: 'ENCODE_CARD';
|
|
18602
|
+
} | {
|
|
18603
|
+
/** The ID of the action attempt. */
|
|
18604
|
+
action_attempt_id: string;
|
|
18605
|
+
status: 'success';
|
|
18606
|
+
error: null;
|
|
18607
|
+
action_type: 'ENCODE_CARD';
|
|
18608
|
+
result: {
|
|
18609
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
18610
|
+
acs_credential_id: string | null;
|
|
18611
|
+
/** A number or sting that physically identifies this card. */
|
|
18612
|
+
card_number: string | null;
|
|
18613
|
+
};
|
|
18614
|
+
} | {
|
|
18615
|
+
/** The ID of the action attempt. */
|
|
18616
|
+
action_attempt_id: string;
|
|
18617
|
+
status: 'error';
|
|
18618
|
+
result: null;
|
|
18619
|
+
action_type: 'ENCODE_CARD';
|
|
18620
|
+
error: {
|
|
18621
|
+
type: string;
|
|
18622
|
+
message: string;
|
|
18623
|
+
};
|
|
17565
18624
|
} | {
|
|
17566
18625
|
/** The ID of the action attempt. */
|
|
17567
18626
|
action_attempt_id: string;
|