@seamapi/types 1.249.0 → 1.252.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/connect.cjs +254 -51
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1219 -12
  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/read-card.d.ts +96 -0
  8. package/lib/seam/connect/models/action-attempts/read-card.js +36 -0
  9. package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -0
  10. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  11. package/lib/seam/connect/models/events/acs/common.js +2 -1
  12. package/lib/seam/connect/models/events/acs/common.js.map +1 -1
  13. package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -6
  14. package/lib/seam/connect/models/events/acs/index.d.ts +35 -9
  15. package/lib/seam/connect/models/events/acs/systems.d.ts +60 -6
  16. package/lib/seam/connect/models/events/acs/systems.js +9 -1
  17. package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
  18. package/lib/seam/connect/models/events/acs/users.d.ts +6 -6
  19. package/lib/seam/connect/models/events/devices.d.ts +86 -0
  20. package/lib/seam/connect/models/events/devices.js +21 -0
  21. package/lib/seam/connect/models/events/devices.js.map +1 -1
  22. package/lib/seam/connect/models/events/seam-event.d.ts +35 -9
  23. package/lib/seam/connect/openapi.d.ts +138 -1
  24. package/lib/seam/connect/openapi.js +156 -0
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +1104 -153
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  29. package/src/lib/seam/connect/models/action-attempts/read-card.ts +46 -0
  30. package/src/lib/seam/connect/models/events/acs/common.ts +2 -1
  31. package/src/lib/seam/connect/models/events/acs/systems.ts +12 -1
  32. package/src/lib/seam/connect/models/events/devices.ts +33 -0
  33. package/src/lib/seam/connect/openapi.ts +158 -0
  34. package/src/lib/seam/connect/route-types.ts +1115 -55
@@ -1636,6 +1636,99 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1636
1636
  status: z.ZodLiteral<"pending">;
1637
1637
  result: z.ZodNull;
1638
1638
  error: z.ZodNull;
1639
+ }>, {
1640
+ action_type: z.ZodLiteral<"READ_CARD">;
1641
+ }>, "strip", z.ZodTypeAny, {
1642
+ status: "pending";
1643
+ action_attempt_id: string;
1644
+ error: null;
1645
+ result: null;
1646
+ action_type: "READ_CARD";
1647
+ }, {
1648
+ status: "pending";
1649
+ action_attempt_id: string;
1650
+ error: null;
1651
+ result: null;
1652
+ action_type: "READ_CARD";
1653
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1654
+ action_attempt_id: z.ZodString;
1655
+ status: z.ZodEnum<["pending", "success", "error"]>;
1656
+ }, {
1657
+ status: z.ZodLiteral<"success">;
1658
+ error: z.ZodNull;
1659
+ }>, {
1660
+ action_type: z.ZodLiteral<"READ_CARD">;
1661
+ result: z.ZodObject<{
1662
+ acs_credential_id: z.ZodNullable<z.ZodString>;
1663
+ card_number: z.ZodNullable<z.ZodString>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ acs_credential_id: string | null;
1666
+ card_number: string | null;
1667
+ }, {
1668
+ acs_credential_id: string | null;
1669
+ card_number: string | null;
1670
+ }>;
1671
+ }>, "strip", z.ZodTypeAny, {
1672
+ status: "success";
1673
+ action_attempt_id: string;
1674
+ error: null;
1675
+ result: {
1676
+ acs_credential_id: string | null;
1677
+ card_number: string | null;
1678
+ };
1679
+ action_type: "READ_CARD";
1680
+ }, {
1681
+ status: "success";
1682
+ action_attempt_id: string;
1683
+ error: null;
1684
+ result: {
1685
+ acs_credential_id: string | null;
1686
+ card_number: string | null;
1687
+ };
1688
+ action_type: "READ_CARD";
1689
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1690
+ action_attempt_id: z.ZodString;
1691
+ status: z.ZodEnum<["pending", "success", "error"]>;
1692
+ }, {
1693
+ status: z.ZodLiteral<"error">;
1694
+ result: z.ZodNull;
1695
+ }>, {
1696
+ action_type: z.ZodLiteral<"READ_CARD">;
1697
+ error: z.ZodObject<{
1698
+ type: z.ZodString;
1699
+ message: z.ZodString;
1700
+ }, "strip", z.ZodTypeAny, {
1701
+ message: string;
1702
+ type: string;
1703
+ }, {
1704
+ message: string;
1705
+ type: string;
1706
+ }>;
1707
+ }>, "strip", z.ZodTypeAny, {
1708
+ status: "error";
1709
+ action_attempt_id: string;
1710
+ error: {
1711
+ message: string;
1712
+ type: string;
1713
+ };
1714
+ result: null;
1715
+ action_type: "READ_CARD";
1716
+ }, {
1717
+ status: "error";
1718
+ action_attempt_id: string;
1719
+ error: {
1720
+ message: string;
1721
+ type: string;
1722
+ };
1723
+ result: null;
1724
+ action_type: "READ_CARD";
1725
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1726
+ action_attempt_id: z.ZodString;
1727
+ status: z.ZodEnum<["pending", "success", "error"]>;
1728
+ }, {
1729
+ status: z.ZodLiteral<"pending">;
1730
+ result: z.ZodNull;
1731
+ error: z.ZodNull;
1639
1732
  }>, {
1640
1733
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
1641
1734
  }>, "strip", z.ZodTypeAny, {
@@ -8083,40 +8176,65 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8083
8176
  created_at: z.ZodString;
8084
8177
  occurred_at: z.ZodString;
8085
8178
  }, {
8086
- connected_account_id: z.ZodString;
8179
+ connected_account_id: z.ZodOptional<z.ZodString>;
8087
8180
  acs_system_id: z.ZodString;
8088
8181
  }>, {}>, {
8089
8182
  event_type: z.ZodLiteral<"acs_system.connected">;
8090
8183
  }>, "strip", z.ZodTypeAny, {
8091
- connected_account_id: string;
8092
8184
  created_at: string;
8093
8185
  workspace_id: string;
8094
8186
  acs_system_id: string;
8095
8187
  event_id: string;
8096
8188
  occurred_at: string;
8097
8189
  event_type: "acs_system.connected";
8190
+ connected_account_id?: string | undefined;
8098
8191
  }, {
8099
- connected_account_id: string;
8100
8192
  created_at: string;
8101
8193
  workspace_id: string;
8102
8194
  acs_system_id: string;
8103
8195
  event_id: string;
8104
8196
  occurred_at: string;
8105
8197
  event_type: "acs_system.connected";
8198
+ connected_account_id?: string | undefined;
8106
8199
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8107
8200
  event_id: z.ZodString;
8108
8201
  workspace_id: z.ZodString;
8109
8202
  created_at: z.ZodString;
8110
8203
  occurred_at: z.ZodString;
8111
8204
  }, {
8112
- connected_account_id: z.ZodString;
8205
+ connected_account_id: z.ZodOptional<z.ZodString>;
8206
+ acs_system_id: z.ZodString;
8207
+ }>, {}>, {
8208
+ event_type: z.ZodLiteral<"acs_system.added">;
8209
+ }>, "strip", z.ZodTypeAny, {
8210
+ created_at: string;
8211
+ workspace_id: string;
8212
+ acs_system_id: string;
8213
+ event_id: string;
8214
+ occurred_at: string;
8215
+ event_type: "acs_system.added";
8216
+ connected_account_id?: string | undefined;
8217
+ }, {
8218
+ created_at: string;
8219
+ workspace_id: string;
8220
+ acs_system_id: string;
8221
+ event_id: string;
8222
+ occurred_at: string;
8223
+ event_type: "acs_system.added";
8224
+ connected_account_id?: string | undefined;
8225
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8226
+ event_id: z.ZodString;
8227
+ workspace_id: z.ZodString;
8228
+ created_at: z.ZodString;
8229
+ occurred_at: z.ZodString;
8230
+ }, {
8231
+ connected_account_id: z.ZodOptional<z.ZodString>;
8113
8232
  acs_system_id: z.ZodString;
8114
8233
  }>, {
8115
8234
  acs_credential_id: z.ZodString;
8116
8235
  }>, {
8117
8236
  event_type: z.ZodLiteral<"acs_credential.deleted">;
8118
8237
  }>, "strip", z.ZodTypeAny, {
8119
- connected_account_id: string;
8120
8238
  created_at: string;
8121
8239
  workspace_id: string;
8122
8240
  acs_system_id: string;
@@ -8124,8 +8242,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8124
8242
  event_id: string;
8125
8243
  occurred_at: string;
8126
8244
  event_type: "acs_credential.deleted";
8245
+ connected_account_id?: string | undefined;
8127
8246
  }, {
8128
- connected_account_id: string;
8129
8247
  created_at: string;
8130
8248
  workspace_id: string;
8131
8249
  acs_system_id: string;
@@ -8133,20 +8251,20 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8133
8251
  event_id: string;
8134
8252
  occurred_at: string;
8135
8253
  event_type: "acs_credential.deleted";
8254
+ connected_account_id?: string | undefined;
8136
8255
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8137
8256
  event_id: z.ZodString;
8138
8257
  workspace_id: z.ZodString;
8139
8258
  created_at: z.ZodString;
8140
8259
  occurred_at: z.ZodString;
8141
8260
  }, {
8142
- connected_account_id: z.ZodString;
8261
+ connected_account_id: z.ZodOptional<z.ZodString>;
8143
8262
  acs_system_id: z.ZodString;
8144
8263
  }>, {
8145
8264
  acs_user_id: z.ZodString;
8146
8265
  }>, {
8147
8266
  event_type: z.ZodLiteral<"acs_user.deleted">;
8148
8267
  }>, "strip", z.ZodTypeAny, {
8149
- connected_account_id: string;
8150
8268
  created_at: string;
8151
8269
  workspace_id: string;
8152
8270
  acs_system_id: string;
@@ -8154,8 +8272,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8154
8272
  event_id: string;
8155
8273
  occurred_at: string;
8156
8274
  event_type: "acs_user.deleted";
8275
+ connected_account_id?: string | undefined;
8157
8276
  }, {
8158
- connected_account_id: string;
8159
8277
  created_at: string;
8160
8278
  workspace_id: string;
8161
8279
  acs_system_id: string;
@@ -8163,6 +8281,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8163
8281
  event_id: string;
8164
8282
  occurred_at: string;
8165
8283
  event_type: "acs_user.deleted";
8284
+ connected_account_id?: string | undefined;
8166
8285
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8167
8286
  event_id: z.ZodString;
8168
8287
  workspace_id: z.ZodString;
@@ -10195,6 +10314,7 @@ declare const _default: {
10195
10314
  nullable: boolean;
10196
10315
  properties?: never;
10197
10316
  type?: never;
10317
+ required?: never;
10198
10318
  };
10199
10319
  status: {
10200
10320
  enum: string[];
@@ -10223,9 +10343,13 @@ declare const _default: {
10223
10343
  type?: never;
10224
10344
  };
10225
10345
  result: {
10226
- properties: {};
10346
+ properties: {
10347
+ acs_credential_id?: never;
10348
+ card_number?: never;
10349
+ };
10227
10350
  type: string;
10228
10351
  nullable?: never;
10352
+ required?: never;
10229
10353
  };
10230
10354
  status: {
10231
10355
  enum: string[];
@@ -10264,6 +10388,51 @@ declare const _default: {
10264
10388
  nullable: boolean;
10265
10389
  properties?: never;
10266
10390
  type?: never;
10391
+ required?: never;
10392
+ };
10393
+ status: {
10394
+ enum: string[];
10395
+ type: string;
10396
+ };
10397
+ };
10398
+ required: string[];
10399
+ type: string;
10400
+ } | {
10401
+ description: string;
10402
+ properties: {
10403
+ action_attempt_id: {
10404
+ description: string;
10405
+ format: string;
10406
+ type: string;
10407
+ 'x-title': string;
10408
+ };
10409
+ action_type: {
10410
+ enum: string[];
10411
+ type: string;
10412
+ };
10413
+ error: {
10414
+ nullable: boolean;
10415
+ properties?: never;
10416
+ required?: never;
10417
+ type?: never;
10418
+ };
10419
+ result: {
10420
+ properties: {
10421
+ acs_credential_id: {
10422
+ description: string;
10423
+ format: string;
10424
+ nullable: boolean;
10425
+ type: string;
10426
+ };
10427
+ card_number: {
10428
+ description: string;
10429
+ nullable: boolean;
10430
+ type: string;
10431
+ };
10432
+ };
10433
+ required: string[];
10434
+ type: string;
10435
+ nullable?: never;
10267
10436
  };
10268
10437
  status: {
10269
10438
  enum: string[];
@@ -10294,6 +10463,7 @@ declare const _default: {
10294
10463
  nullable: boolean;
10295
10464
  properties?: never;
10296
10465
  type?: never;
10466
+ required?: never;
10297
10467
  };
10298
10468
  status: {
10299
10469
  enum: string[];
@@ -10325,6 +10495,7 @@ declare const _default: {
10325
10495
  nullable?: never;
10326
10496
  properties?: never;
10327
10497
  type?: never;
10498
+ required?: never;
10328
10499
  };
10329
10500
  status: {
10330
10501
  enum: string[];
@@ -10363,6 +10534,7 @@ declare const _default: {
10363
10534
  nullable: boolean;
10364
10535
  properties?: never;
10365
10536
  type?: never;
10537
+ required?: never;
10366
10538
  };
10367
10539
  status: {
10368
10540
  enum: string[];
@@ -16368,6 +16540,90 @@ declare const _default: {
16368
16540
  'x-fern-sdk-return-value': string;
16369
16541
  };
16370
16542
  };
16543
+ '/acs/credentials/read_card': {
16544
+ post: {
16545
+ operationId: string;
16546
+ requestBody: {
16547
+ content: {
16548
+ 'application/json': {
16549
+ schema: {
16550
+ oneOf: ({
16551
+ properties: {
16552
+ acs_system_id: {
16553
+ format: string;
16554
+ type: string;
16555
+ };
16556
+ device_name: {
16557
+ type: string;
16558
+ };
16559
+ device_id?: never;
16560
+ };
16561
+ required: string[];
16562
+ type: string;
16563
+ } | {
16564
+ properties: {
16565
+ device_id: {
16566
+ format: string;
16567
+ type: string;
16568
+ };
16569
+ acs_system_id?: never;
16570
+ device_name?: never;
16571
+ };
16572
+ required: string[];
16573
+ type: string;
16574
+ })[];
16575
+ };
16576
+ };
16577
+ };
16578
+ };
16579
+ responses: {
16580
+ 200: {
16581
+ content: {
16582
+ 'application/json': {
16583
+ schema: {
16584
+ properties: {
16585
+ action_attempt: {
16586
+ $ref: string;
16587
+ };
16588
+ ok: {
16589
+ type: string;
16590
+ };
16591
+ };
16592
+ required: string[];
16593
+ type: string;
16594
+ };
16595
+ };
16596
+ };
16597
+ description: string;
16598
+ };
16599
+ 400: {
16600
+ description: string;
16601
+ };
16602
+ 401: {
16603
+ description: string;
16604
+ };
16605
+ };
16606
+ security: ({
16607
+ pat_with_workspace: never[];
16608
+ console_session?: never;
16609
+ api_key?: never;
16610
+ } | {
16611
+ console_session: never[];
16612
+ pat_with_workspace?: never;
16613
+ api_key?: never;
16614
+ } | {
16615
+ api_key: never[];
16616
+ pat_with_workspace?: never;
16617
+ console_session?: never;
16618
+ })[];
16619
+ summary: string;
16620
+ tags: string[];
16621
+ 'x-fern-sdk-group-name': string[];
16622
+ 'x-fern-sdk-method-name': string;
16623
+ 'x-fern-sdk-return-value': string;
16624
+ 'x-undocumented': string;
16625
+ };
16626
+ };
16371
16627
  '/acs/credentials/unassign': {
16372
16628
  patch: {
16373
16629
  operationId: string;
@@ -27494,6 +27750,35 @@ interface Routes {
27494
27750
  type: string;
27495
27751
  message: string;
27496
27752
  };
27753
+ } | {
27754
+ /** The ID of the action attempt. */
27755
+ action_attempt_id: string;
27756
+ status: 'pending';
27757
+ result: null;
27758
+ error: null;
27759
+ action_type: 'READ_CARD';
27760
+ } | {
27761
+ /** The ID of the action attempt. */
27762
+ action_attempt_id: string;
27763
+ status: 'success';
27764
+ error: null;
27765
+ action_type: 'READ_CARD';
27766
+ result: {
27767
+ /** Matching acs_credential currently encoded on this card. */
27768
+ acs_credential_id: string | null;
27769
+ /** A number or sting that physically identifies this card. */
27770
+ card_number: string | null;
27771
+ };
27772
+ } | {
27773
+ /** The ID of the action attempt. */
27774
+ action_attempt_id: string;
27775
+ status: 'error';
27776
+ result: null;
27777
+ action_type: 'READ_CARD';
27778
+ error: {
27779
+ type: string;
27780
+ message: string;
27781
+ };
27497
27782
  } | {
27498
27783
  /** The ID of the action attempt. */
27499
27784
  action_attempt_id: string;
@@ -28042,6 +28327,35 @@ interface Routes {
28042
28327
  type: string;
28043
28328
  message: string;
28044
28329
  };
28330
+ } | {
28331
+ /** The ID of the action attempt. */
28332
+ action_attempt_id: string;
28333
+ status: 'pending';
28334
+ result: null;
28335
+ error: null;
28336
+ action_type: 'READ_CARD';
28337
+ } | {
28338
+ /** The ID of the action attempt. */
28339
+ action_attempt_id: string;
28340
+ status: 'success';
28341
+ error: null;
28342
+ action_type: 'READ_CARD';
28343
+ result: {
28344
+ /** Matching acs_credential currently encoded on this card. */
28345
+ acs_credential_id: string | null;
28346
+ /** A number or sting that physically identifies this card. */
28347
+ card_number: string | null;
28348
+ };
28349
+ } | {
28350
+ /** The ID of the action attempt. */
28351
+ action_attempt_id: string;
28352
+ status: 'error';
28353
+ result: null;
28354
+ action_type: 'READ_CARD';
28355
+ error: {
28356
+ type: string;
28357
+ message: string;
28358
+ };
28045
28359
  } | {
28046
28360
  /** The ID of the action attempt. */
28047
28361
  action_attempt_id: string;
@@ -28747,6 +29061,35 @@ interface Routes {
28747
29061
  type: string;
28748
29062
  message: string;
28749
29063
  };
29064
+ } | {
29065
+ /** The ID of the action attempt. */
29066
+ action_attempt_id: string;
29067
+ status: 'pending';
29068
+ result: null;
29069
+ error: null;
29070
+ action_type: 'READ_CARD';
29071
+ } | {
29072
+ /** The ID of the action attempt. */
29073
+ action_attempt_id: string;
29074
+ status: 'success';
29075
+ error: null;
29076
+ action_type: 'READ_CARD';
29077
+ result: {
29078
+ /** Matching acs_credential currently encoded on this card. */
29079
+ acs_credential_id: string | null;
29080
+ /** A number or sting that physically identifies this card. */
29081
+ card_number: string | null;
29082
+ };
29083
+ } | {
29084
+ /** The ID of the action attempt. */
29085
+ action_attempt_id: string;
29086
+ status: 'error';
29087
+ result: null;
29088
+ action_type: 'READ_CARD';
29089
+ error: {
29090
+ type: string;
29091
+ message: string;
29092
+ };
28750
29093
  } | {
28751
29094
  /** The ID of the action attempt. */
28752
29095
  action_attempt_id: string;
@@ -29282,6 +29625,35 @@ interface Routes {
29282
29625
  type: string;
29283
29626
  message: string;
29284
29627
  };
29628
+ } | {
29629
+ /** The ID of the action attempt. */
29630
+ action_attempt_id: string;
29631
+ status: 'pending';
29632
+ result: null;
29633
+ error: null;
29634
+ action_type: 'READ_CARD';
29635
+ } | {
29636
+ /** The ID of the action attempt. */
29637
+ action_attempt_id: string;
29638
+ status: 'success';
29639
+ error: null;
29640
+ action_type: 'READ_CARD';
29641
+ result: {
29642
+ /** Matching acs_credential currently encoded on this card. */
29643
+ acs_credential_id: string | null;
29644
+ /** A number or sting that physically identifies this card. */
29645
+ card_number: string | null;
29646
+ };
29647
+ } | {
29648
+ /** The ID of the action attempt. */
29649
+ action_attempt_id: string;
29650
+ status: 'error';
29651
+ result: null;
29652
+ action_type: 'READ_CARD';
29653
+ error: {
29654
+ type: string;
29655
+ message: string;
29656
+ };
29285
29657
  } | {
29286
29658
  /** The ID of the action attempt. */
29287
29659
  action_attempt_id: string;
@@ -30227,6 +30599,435 @@ interface Routes {
30227
30599
  }>;
30228
30600
  };
30229
30601
  };
30602
+ '/acs/credentials/read_card': {
30603
+ route: '/acs/credentials/read_card';
30604
+ method: 'POST';
30605
+ queryParams: {};
30606
+ jsonBody: {};
30607
+ commonParams: {
30608
+ acs_system_id: string;
30609
+ device_name: string;
30610
+ } | {
30611
+ device_id: string;
30612
+ };
30613
+ formData: {};
30614
+ jsonResponse: {
30615
+ action_attempt: {
30616
+ /** The ID of the action attempt. */
30617
+ action_attempt_id: string;
30618
+ status: 'pending';
30619
+ result: null;
30620
+ error: null;
30621
+ action_type: 'LOCK_DOOR';
30622
+ } | {
30623
+ /** The ID of the action attempt. */
30624
+ action_attempt_id: string;
30625
+ status: 'success';
30626
+ error: null;
30627
+ action_type: 'LOCK_DOOR';
30628
+ result: {};
30629
+ } | {
30630
+ /** The ID of the action attempt. */
30631
+ action_attempt_id: string;
30632
+ status: 'error';
30633
+ result: null;
30634
+ action_type: 'LOCK_DOOR';
30635
+ error: {
30636
+ type: string;
30637
+ message: string;
30638
+ };
30639
+ } | {
30640
+ /** The ID of the action attempt. */
30641
+ action_attempt_id: string;
30642
+ status: 'pending';
30643
+ result: null;
30644
+ error: null;
30645
+ action_type: 'UNLOCK_DOOR';
30646
+ } | {
30647
+ /** The ID of the action attempt. */
30648
+ action_attempt_id: string;
30649
+ status: 'success';
30650
+ error: null;
30651
+ action_type: 'UNLOCK_DOOR';
30652
+ result: {};
30653
+ } | {
30654
+ /** The ID of the action attempt. */
30655
+ action_attempt_id: string;
30656
+ status: 'error';
30657
+ result: null;
30658
+ action_type: 'UNLOCK_DOOR';
30659
+ error: {
30660
+ type: string;
30661
+ message: string;
30662
+ };
30663
+ } | {
30664
+ /** The ID of the action attempt. */
30665
+ action_attempt_id: string;
30666
+ status: 'pending';
30667
+ result: null;
30668
+ error: null;
30669
+ action_type: 'READ_CARD';
30670
+ } | {
30671
+ /** The ID of the action attempt. */
30672
+ action_attempt_id: string;
30673
+ status: 'success';
30674
+ error: null;
30675
+ action_type: 'READ_CARD';
30676
+ result: {
30677
+ /** Matching acs_credential currently encoded on this card. */
30678
+ acs_credential_id: string | null;
30679
+ /** A number or sting that physically identifies this card. */
30680
+ card_number: string | null;
30681
+ };
30682
+ } | {
30683
+ /** The ID of the action attempt. */
30684
+ action_attempt_id: string;
30685
+ status: 'error';
30686
+ result: null;
30687
+ action_type: 'READ_CARD';
30688
+ error: {
30689
+ type: string;
30690
+ message: string;
30691
+ };
30692
+ } | {
30693
+ /** The ID of the action attempt. */
30694
+ action_attempt_id: string;
30695
+ status: 'pending';
30696
+ result: null;
30697
+ error: null;
30698
+ action_type: 'RESET_SANDBOX_WORKSPACE';
30699
+ } | {
30700
+ /** The ID of the action attempt. */
30701
+ action_attempt_id: string;
30702
+ status: 'success';
30703
+ error: null;
30704
+ action_type: 'RESET_SANDBOX_WORKSPACE';
30705
+ result: {};
30706
+ } | {
30707
+ /** The ID of the action attempt. */
30708
+ action_attempt_id: string;
30709
+ status: 'error';
30710
+ result: null;
30711
+ action_type: 'RESET_SANDBOX_WORKSPACE';
30712
+ error: {
30713
+ type: string;
30714
+ message: string;
30715
+ };
30716
+ } | {
30717
+ /** The ID of the action attempt. */
30718
+ action_attempt_id: string;
30719
+ status: 'pending';
30720
+ result: null;
30721
+ error: null;
30722
+ action_type: 'SET_COOL';
30723
+ } | {
30724
+ /** The ID of the action attempt. */
30725
+ action_attempt_id: string;
30726
+ status: 'success';
30727
+ error: null;
30728
+ action_type: 'SET_COOL';
30729
+ result: {};
30730
+ } | {
30731
+ /** The ID of the action attempt. */
30732
+ action_attempt_id: string;
30733
+ status: 'error';
30734
+ result: null;
30735
+ action_type: 'SET_COOL';
30736
+ error: {
30737
+ type: string;
30738
+ message: string;
30739
+ };
30740
+ } | {
30741
+ /** The ID of the action attempt. */
30742
+ action_attempt_id: string;
30743
+ status: 'pending';
30744
+ result: null;
30745
+ error: null;
30746
+ action_type: 'SET_HEAT';
30747
+ } | {
30748
+ /** The ID of the action attempt. */
30749
+ action_attempt_id: string;
30750
+ status: 'success';
30751
+ error: null;
30752
+ action_type: 'SET_HEAT';
30753
+ result: {};
30754
+ } | {
30755
+ /** The ID of the action attempt. */
30756
+ action_attempt_id: string;
30757
+ status: 'error';
30758
+ result: null;
30759
+ action_type: 'SET_HEAT';
30760
+ error: {
30761
+ type: string;
30762
+ message: string;
30763
+ };
30764
+ } | {
30765
+ /** The ID of the action attempt. */
30766
+ action_attempt_id: string;
30767
+ status: 'pending';
30768
+ result: null;
30769
+ error: null;
30770
+ action_type: 'SET_HEAT_COOL';
30771
+ } | {
30772
+ /** The ID of the action attempt. */
30773
+ action_attempt_id: string;
30774
+ status: 'success';
30775
+ error: null;
30776
+ action_type: 'SET_HEAT_COOL';
30777
+ result: {};
30778
+ } | {
30779
+ /** The ID of the action attempt. */
30780
+ action_attempt_id: string;
30781
+ status: 'error';
30782
+ result: null;
30783
+ action_type: 'SET_HEAT_COOL';
30784
+ error: {
30785
+ type: string;
30786
+ message: string;
30787
+ };
30788
+ } | {
30789
+ /** The ID of the action attempt. */
30790
+ action_attempt_id: string;
30791
+ status: 'pending';
30792
+ result: null;
30793
+ error: null;
30794
+ action_type: 'SET_FAN_MODE';
30795
+ } | {
30796
+ /** The ID of the action attempt. */
30797
+ action_attempt_id: string;
30798
+ status: 'success';
30799
+ error: null;
30800
+ action_type: 'SET_FAN_MODE';
30801
+ result: {};
30802
+ } | {
30803
+ /** The ID of the action attempt. */
30804
+ action_attempt_id: string;
30805
+ status: 'error';
30806
+ result: null;
30807
+ action_type: 'SET_FAN_MODE';
30808
+ error: {
30809
+ type: string;
30810
+ message: string;
30811
+ };
30812
+ } | {
30813
+ /** The ID of the action attempt. */
30814
+ action_attempt_id: string;
30815
+ status: 'pending';
30816
+ result: null;
30817
+ error: null;
30818
+ action_type: 'SET_THERMOSTAT_OFF';
30819
+ } | {
30820
+ /** The ID of the action attempt. */
30821
+ action_attempt_id: string;
30822
+ status: 'success';
30823
+ error: null;
30824
+ action_type: 'SET_THERMOSTAT_OFF';
30825
+ result: {};
30826
+ } | {
30827
+ /** The ID of the action attempt. */
30828
+ action_attempt_id: string;
30829
+ status: 'error';
30830
+ result: null;
30831
+ action_type: 'SET_THERMOSTAT_OFF';
30832
+ error: {
30833
+ type: string;
30834
+ message: string;
30835
+ };
30836
+ } | {
30837
+ /** The ID of the action attempt. */
30838
+ action_attempt_id: string;
30839
+ status: 'pending';
30840
+ result: null;
30841
+ error: null;
30842
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
30843
+ } | {
30844
+ /** The ID of the action attempt. */
30845
+ action_attempt_id: string;
30846
+ status: 'success';
30847
+ error: null;
30848
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
30849
+ result: {};
30850
+ } | {
30851
+ /** The ID of the action attempt. */
30852
+ action_attempt_id: string;
30853
+ status: 'error';
30854
+ result: null;
30855
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
30856
+ error: {
30857
+ type: string;
30858
+ message: string;
30859
+ };
30860
+ } | {
30861
+ /** The ID of the action attempt. */
30862
+ action_attempt_id: string;
30863
+ status: 'pending';
30864
+ result: null;
30865
+ error: null;
30866
+ action_type: 'SYNC_ACCESS_CODES';
30867
+ } | {
30868
+ /** The ID of the action attempt. */
30869
+ action_attempt_id: string;
30870
+ status: 'success';
30871
+ error: null;
30872
+ action_type: 'SYNC_ACCESS_CODES';
30873
+ result?: any;
30874
+ } | {
30875
+ /** The ID of the action attempt. */
30876
+ action_attempt_id: string;
30877
+ status: 'error';
30878
+ result: null;
30879
+ action_type: 'SYNC_ACCESS_CODES';
30880
+ error: {
30881
+ type: string;
30882
+ message: string;
30883
+ };
30884
+ } | {
30885
+ /** The ID of the action attempt. */
30886
+ action_attempt_id: string;
30887
+ status: 'pending';
30888
+ result: null;
30889
+ error: null;
30890
+ action_type: 'CREATE_ACCESS_CODE';
30891
+ } | {
30892
+ /** The ID of the action attempt. */
30893
+ action_attempt_id: string;
30894
+ status: 'success';
30895
+ error: null;
30896
+ action_type: 'CREATE_ACCESS_CODE';
30897
+ result?: any;
30898
+ } | {
30899
+ /** The ID of the action attempt. */
30900
+ action_attempt_id: string;
30901
+ status: 'error';
30902
+ result: null;
30903
+ action_type: 'CREATE_ACCESS_CODE';
30904
+ error: {
30905
+ type: string;
30906
+ message: string;
30907
+ };
30908
+ } | {
30909
+ /** The ID of the action attempt. */
30910
+ action_attempt_id: string;
30911
+ status: 'pending';
30912
+ result: null;
30913
+ error: null;
30914
+ action_type: 'DELETE_ACCESS_CODE';
30915
+ } | {
30916
+ /** The ID of the action attempt. */
30917
+ action_attempt_id: string;
30918
+ status: 'success';
30919
+ error: null;
30920
+ action_type: 'DELETE_ACCESS_CODE';
30921
+ result?: any;
30922
+ } | {
30923
+ /** The ID of the action attempt. */
30924
+ action_attempt_id: string;
30925
+ status: 'error';
30926
+ result: null;
30927
+ action_type: 'DELETE_ACCESS_CODE';
30928
+ error: {
30929
+ type: string;
30930
+ message: string;
30931
+ };
30932
+ } | {
30933
+ /** The ID of the action attempt. */
30934
+ action_attempt_id: string;
30935
+ status: 'pending';
30936
+ result: null;
30937
+ error: null;
30938
+ action_type: 'UPDATE_ACCESS_CODE';
30939
+ } | {
30940
+ /** The ID of the action attempt. */
30941
+ action_attempt_id: string;
30942
+ status: 'success';
30943
+ error: null;
30944
+ action_type: 'UPDATE_ACCESS_CODE';
30945
+ result?: any;
30946
+ } | {
30947
+ /** The ID of the action attempt. */
30948
+ action_attempt_id: string;
30949
+ status: 'error';
30950
+ result: null;
30951
+ action_type: 'UPDATE_ACCESS_CODE';
30952
+ error: {
30953
+ type: string;
30954
+ message: string;
30955
+ };
30956
+ } | {
30957
+ /** The ID of the action attempt. */
30958
+ action_attempt_id: string;
30959
+ status: 'pending';
30960
+ result: null;
30961
+ error: null;
30962
+ action_type: 'CREATE_NOISE_THRESHOLD';
30963
+ } | {
30964
+ /** The ID of the action attempt. */
30965
+ action_attempt_id: string;
30966
+ status: 'success';
30967
+ error: null;
30968
+ action_type: 'CREATE_NOISE_THRESHOLD';
30969
+ result?: any;
30970
+ } | {
30971
+ /** The ID of the action attempt. */
30972
+ action_attempt_id: string;
30973
+ status: 'error';
30974
+ result: null;
30975
+ action_type: 'CREATE_NOISE_THRESHOLD';
30976
+ error: {
30977
+ type: string;
30978
+ message: string;
30979
+ };
30980
+ } | {
30981
+ /** The ID of the action attempt. */
30982
+ action_attempt_id: string;
30983
+ status: 'pending';
30984
+ result: null;
30985
+ error: null;
30986
+ action_type: 'DELETE_NOISE_THRESHOLD';
30987
+ } | {
30988
+ /** The ID of the action attempt. */
30989
+ action_attempt_id: string;
30990
+ status: 'success';
30991
+ error: null;
30992
+ action_type: 'DELETE_NOISE_THRESHOLD';
30993
+ result?: any;
30994
+ } | {
30995
+ /** The ID of the action attempt. */
30996
+ action_attempt_id: string;
30997
+ status: 'error';
30998
+ result: null;
30999
+ action_type: 'DELETE_NOISE_THRESHOLD';
31000
+ error: {
31001
+ type: string;
31002
+ message: string;
31003
+ };
31004
+ } | {
31005
+ /** The ID of the action attempt. */
31006
+ action_attempt_id: string;
31007
+ status: 'pending';
31008
+ result: null;
31009
+ error: null;
31010
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31011
+ } | {
31012
+ /** The ID of the action attempt. */
31013
+ action_attempt_id: string;
31014
+ status: 'success';
31015
+ error: null;
31016
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31017
+ result?: any;
31018
+ } | {
31019
+ /** The ID of the action attempt. */
31020
+ action_attempt_id: string;
31021
+ status: 'error';
31022
+ result: null;
31023
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31024
+ error: {
31025
+ type: string;
31026
+ message: string;
31027
+ };
31028
+ };
31029
+ };
31030
+ };
30230
31031
  '/acs/credentials/unassign': {
30231
31032
  route: '/acs/credentials/unassign';
30232
31033
  method: 'PATCH' | 'POST';
@@ -31618,6 +32419,35 @@ interface Routes {
31618
32419
  type: string;
31619
32420
  message: string;
31620
32421
  };
32422
+ } | {
32423
+ /** The ID of the action attempt. */
32424
+ action_attempt_id: string;
32425
+ status: 'pending';
32426
+ result: null;
32427
+ error: null;
32428
+ action_type: 'READ_CARD';
32429
+ } | {
32430
+ /** The ID of the action attempt. */
32431
+ action_attempt_id: string;
32432
+ status: 'success';
32433
+ error: null;
32434
+ action_type: 'READ_CARD';
32435
+ result: {
32436
+ /** Matching acs_credential currently encoded on this card. */
32437
+ acs_credential_id: string | null;
32438
+ /** A number or sting that physically identifies this card. */
32439
+ card_number: string | null;
32440
+ };
32441
+ } | {
32442
+ /** The ID of the action attempt. */
32443
+ action_attempt_id: string;
32444
+ status: 'error';
32445
+ result: null;
32446
+ action_type: 'READ_CARD';
32447
+ error: {
32448
+ type: string;
32449
+ message: string;
32450
+ };
31621
32451
  } | {
31622
32452
  /** The ID of the action attempt. */
31623
32453
  action_attempt_id: string;
@@ -32015,6 +32845,35 @@ interface Routes {
32015
32845
  type: string;
32016
32846
  message: string;
32017
32847
  };
32848
+ } | {
32849
+ /** The ID of the action attempt. */
32850
+ action_attempt_id: string;
32851
+ status: 'pending';
32852
+ result: null;
32853
+ error: null;
32854
+ action_type: 'READ_CARD';
32855
+ } | {
32856
+ /** The ID of the action attempt. */
32857
+ action_attempt_id: string;
32858
+ status: 'success';
32859
+ error: null;
32860
+ action_type: 'READ_CARD';
32861
+ result: {
32862
+ /** Matching acs_credential currently encoded on this card. */
32863
+ acs_credential_id: string | null;
32864
+ /** A number or sting that physically identifies this card. */
32865
+ card_number: string | null;
32866
+ };
32867
+ } | {
32868
+ /** The ID of the action attempt. */
32869
+ action_attempt_id: string;
32870
+ status: 'error';
32871
+ result: null;
32872
+ action_type: 'READ_CARD';
32873
+ error: {
32874
+ type: string;
32875
+ message: string;
32876
+ };
32018
32877
  } | {
32019
32878
  /** The ID of the action attempt. */
32020
32879
  action_attempt_id: string;
@@ -34048,8 +34907,8 @@ interface Routes {
34048
34907
  device_ids?: string[] | undefined;
34049
34908
  access_code_id?: string | undefined;
34050
34909
  access_code_ids?: string[] | undefined;
34051
- 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.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;
34052
- 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.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;
34910
+ 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;
34911
+ 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;
34053
34912
  connected_account_id?: string | undefined;
34054
34913
  connect_webview_id?: string | undefined;
34055
34914
  limit?: number;
@@ -35898,6 +36757,35 @@ interface Routes {
35898
36757
  type: string;
35899
36758
  message: string;
35900
36759
  };
36760
+ } | {
36761
+ /** The ID of the action attempt. */
36762
+ action_attempt_id: string;
36763
+ status: 'pending';
36764
+ result: null;
36765
+ error: null;
36766
+ action_type: 'READ_CARD';
36767
+ } | {
36768
+ /** The ID of the action attempt. */
36769
+ action_attempt_id: string;
36770
+ status: 'success';
36771
+ error: null;
36772
+ action_type: 'READ_CARD';
36773
+ result: {
36774
+ /** Matching acs_credential currently encoded on this card. */
36775
+ acs_credential_id: string | null;
36776
+ /** A number or sting that physically identifies this card. */
36777
+ card_number: string | null;
36778
+ };
36779
+ } | {
36780
+ /** The ID of the action attempt. */
36781
+ action_attempt_id: string;
36782
+ status: 'error';
36783
+ result: null;
36784
+ action_type: 'READ_CARD';
36785
+ error: {
36786
+ type: string;
36787
+ message: string;
36788
+ };
35901
36789
  } | {
35902
36790
  /** The ID of the action attempt. */
35903
36791
  action_attempt_id: string;
@@ -36296,6 +37184,35 @@ interface Routes {
36296
37184
  type: string;
36297
37185
  message: string;
36298
37186
  };
37187
+ } | {
37188
+ /** The ID of the action attempt. */
37189
+ action_attempt_id: string;
37190
+ status: 'pending';
37191
+ result: null;
37192
+ error: null;
37193
+ action_type: 'READ_CARD';
37194
+ } | {
37195
+ /** The ID of the action attempt. */
37196
+ action_attempt_id: string;
37197
+ status: 'success';
37198
+ error: null;
37199
+ action_type: 'READ_CARD';
37200
+ result: {
37201
+ /** Matching acs_credential currently encoded on this card. */
37202
+ acs_credential_id: string | null;
37203
+ /** A number or sting that physically identifies this card. */
37204
+ card_number: string | null;
37205
+ };
37206
+ } | {
37207
+ /** The ID of the action attempt. */
37208
+ action_attempt_id: string;
37209
+ status: 'error';
37210
+ result: null;
37211
+ action_type: 'READ_CARD';
37212
+ error: {
37213
+ type: string;
37214
+ message: string;
37215
+ };
36299
37216
  } | {
36300
37217
  /** The ID of the action attempt. */
36301
37218
  action_attempt_id: string;
@@ -37622,6 +38539,35 @@ interface Routes {
37622
38539
  type: string;
37623
38540
  message: string;
37624
38541
  };
38542
+ } | {
38543
+ /** The ID of the action attempt. */
38544
+ action_attempt_id: string;
38545
+ status: 'pending';
38546
+ result: null;
38547
+ error: null;
38548
+ action_type: 'READ_CARD';
38549
+ } | {
38550
+ /** The ID of the action attempt. */
38551
+ action_attempt_id: string;
38552
+ status: 'success';
38553
+ error: null;
38554
+ action_type: 'READ_CARD';
38555
+ result: {
38556
+ /** Matching acs_credential currently encoded on this card. */
38557
+ acs_credential_id: string | null;
38558
+ /** A number or sting that physically identifies this card. */
38559
+ card_number: string | null;
38560
+ };
38561
+ } | {
38562
+ /** The ID of the action attempt. */
38563
+ action_attempt_id: string;
38564
+ status: 'error';
38565
+ result: null;
38566
+ action_type: 'READ_CARD';
38567
+ error: {
38568
+ type: string;
38569
+ message: string;
38570
+ };
37625
38571
  } | {
37626
38572
  /** The ID of the action attempt. */
37627
38573
  action_attempt_id: string;
@@ -38030,6 +38976,35 @@ interface Routes {
38030
38976
  type: string;
38031
38977
  message: string;
38032
38978
  };
38979
+ } | {
38980
+ /** The ID of the action attempt. */
38981
+ action_attempt_id: string;
38982
+ status: 'pending';
38983
+ result: null;
38984
+ error: null;
38985
+ action_type: 'READ_CARD';
38986
+ } | {
38987
+ /** The ID of the action attempt. */
38988
+ action_attempt_id: string;
38989
+ status: 'success';
38990
+ error: null;
38991
+ action_type: 'READ_CARD';
38992
+ result: {
38993
+ /** Matching acs_credential currently encoded on this card. */
38994
+ acs_credential_id: string | null;
38995
+ /** A number or sting that physically identifies this card. */
38996
+ card_number: string | null;
38997
+ };
38998
+ } | {
38999
+ /** The ID of the action attempt. */
39000
+ action_attempt_id: string;
39001
+ status: 'error';
39002
+ result: null;
39003
+ action_type: 'READ_CARD';
39004
+ error: {
39005
+ type: string;
39006
+ message: string;
39007
+ };
38033
39008
  } | {
38034
39009
  /** The ID of the action attempt. */
38035
39010
  action_attempt_id: string;
@@ -38477,6 +39452,35 @@ interface Routes {
38477
39452
  type: string;
38478
39453
  message: string;
38479
39454
  };
39455
+ } | {
39456
+ /** The ID of the action attempt. */
39457
+ action_attempt_id: string;
39458
+ status: 'pending';
39459
+ result: null;
39460
+ error: null;
39461
+ action_type: 'READ_CARD';
39462
+ } | {
39463
+ /** The ID of the action attempt. */
39464
+ action_attempt_id: string;
39465
+ status: 'success';
39466
+ error: null;
39467
+ action_type: 'READ_CARD';
39468
+ result: {
39469
+ /** Matching acs_credential currently encoded on this card. */
39470
+ acs_credential_id: string | null;
39471
+ /** A number or sting that physically identifies this card. */
39472
+ card_number: string | null;
39473
+ };
39474
+ } | {
39475
+ /** The ID of the action attempt. */
39476
+ action_attempt_id: string;
39477
+ status: 'error';
39478
+ result: null;
39479
+ action_type: 'READ_CARD';
39480
+ error: {
39481
+ type: string;
39482
+ message: string;
39483
+ };
38480
39484
  } | {
38481
39485
  /** The ID of the action attempt. */
38482
39486
  action_attempt_id: string;
@@ -39057,6 +40061,35 @@ interface Routes {
39057
40061
  type: string;
39058
40062
  message: string;
39059
40063
  };
40064
+ } | {
40065
+ /** The ID of the action attempt. */
40066
+ action_attempt_id: string;
40067
+ status: 'pending';
40068
+ result: null;
40069
+ error: null;
40070
+ action_type: 'READ_CARD';
40071
+ } | {
40072
+ /** The ID of the action attempt. */
40073
+ action_attempt_id: string;
40074
+ status: 'success';
40075
+ error: null;
40076
+ action_type: 'READ_CARD';
40077
+ result: {
40078
+ /** Matching acs_credential currently encoded on this card. */
40079
+ acs_credential_id: string | null;
40080
+ /** A number or sting that physically identifies this card. */
40081
+ card_number: string | null;
40082
+ };
40083
+ } | {
40084
+ /** The ID of the action attempt. */
40085
+ action_attempt_id: string;
40086
+ status: 'error';
40087
+ result: null;
40088
+ action_type: 'READ_CARD';
40089
+ error: {
40090
+ type: string;
40091
+ message: string;
40092
+ };
39060
40093
  } | {
39061
40094
  /** The ID of the action attempt. */
39062
40095
  action_attempt_id: string;
@@ -39457,6 +40490,35 @@ interface Routes {
39457
40490
  type: string;
39458
40491
  message: string;
39459
40492
  };
40493
+ } | {
40494
+ /** The ID of the action attempt. */
40495
+ action_attempt_id: string;
40496
+ status: 'pending';
40497
+ result: null;
40498
+ error: null;
40499
+ action_type: 'READ_CARD';
40500
+ } | {
40501
+ /** The ID of the action attempt. */
40502
+ action_attempt_id: string;
40503
+ status: 'success';
40504
+ error: null;
40505
+ action_type: 'READ_CARD';
40506
+ result: {
40507
+ /** Matching acs_credential currently encoded on this card. */
40508
+ acs_credential_id: string | null;
40509
+ /** A number or sting that physically identifies this card. */
40510
+ card_number: string | null;
40511
+ };
40512
+ } | {
40513
+ /** The ID of the action attempt. */
40514
+ action_attempt_id: string;
40515
+ status: 'error';
40516
+ result: null;
40517
+ action_type: 'READ_CARD';
40518
+ error: {
40519
+ type: string;
40520
+ message: string;
40521
+ };
39460
40522
  } | {
39461
40523
  /** The ID of the action attempt. */
39462
40524
  action_attempt_id: string;
@@ -40349,6 +41411,35 @@ interface Routes {
40349
41411
  type: string;
40350
41412
  message: string;
40351
41413
  };
41414
+ } | {
41415
+ /** The ID of the action attempt. */
41416
+ action_attempt_id: string;
41417
+ status: 'pending';
41418
+ result: null;
41419
+ error: null;
41420
+ action_type: 'READ_CARD';
41421
+ } | {
41422
+ /** The ID of the action attempt. */
41423
+ action_attempt_id: string;
41424
+ status: 'success';
41425
+ error: null;
41426
+ action_type: 'READ_CARD';
41427
+ result: {
41428
+ /** Matching acs_credential currently encoded on this card. */
41429
+ acs_credential_id: string | null;
41430
+ /** A number or sting that physically identifies this card. */
41431
+ card_number: string | null;
41432
+ };
41433
+ } | {
41434
+ /** The ID of the action attempt. */
41435
+ action_attempt_id: string;
41436
+ status: 'error';
41437
+ result: null;
41438
+ action_type: 'READ_CARD';
41439
+ error: {
41440
+ type: string;
41441
+ message: string;
41442
+ };
40352
41443
  } | {
40353
41444
  /** The ID of the action attempt. */
40354
41445
  action_attempt_id: string;
@@ -40751,6 +41842,35 @@ interface Routes {
40751
41842
  type: string;
40752
41843
  message: string;
40753
41844
  };
41845
+ } | {
41846
+ /** The ID of the action attempt. */
41847
+ action_attempt_id: string;
41848
+ status: 'pending';
41849
+ result: null;
41850
+ error: null;
41851
+ action_type: 'READ_CARD';
41852
+ } | {
41853
+ /** The ID of the action attempt. */
41854
+ action_attempt_id: string;
41855
+ status: 'success';
41856
+ error: null;
41857
+ action_type: 'READ_CARD';
41858
+ result: {
41859
+ /** Matching acs_credential currently encoded on this card. */
41860
+ acs_credential_id: string | null;
41861
+ /** A number or sting that physically identifies this card. */
41862
+ card_number: string | null;
41863
+ };
41864
+ } | {
41865
+ /** The ID of the action attempt. */
41866
+ action_attempt_id: string;
41867
+ status: 'error';
41868
+ result: null;
41869
+ action_type: 'READ_CARD';
41870
+ error: {
41871
+ type: string;
41872
+ message: string;
41873
+ };
40754
41874
  } | {
40755
41875
  /** The ID of the action attempt. */
40756
41876
  action_attempt_id: string;
@@ -41606,6 +42726,35 @@ interface Routes {
41606
42726
  type: string;
41607
42727
  message: string;
41608
42728
  };
42729
+ } | {
42730
+ /** The ID of the action attempt. */
42731
+ action_attempt_id: string;
42732
+ status: 'pending';
42733
+ result: null;
42734
+ error: null;
42735
+ action_type: 'READ_CARD';
42736
+ } | {
42737
+ /** The ID of the action attempt. */
42738
+ action_attempt_id: string;
42739
+ status: 'success';
42740
+ error: null;
42741
+ action_type: 'READ_CARD';
42742
+ result: {
42743
+ /** Matching acs_credential currently encoded on this card. */
42744
+ acs_credential_id: string | null;
42745
+ /** A number or sting that physically identifies this card. */
42746
+ card_number: string | null;
42747
+ };
42748
+ } | {
42749
+ /** The ID of the action attempt. */
42750
+ action_attempt_id: string;
42751
+ status: 'error';
42752
+ result: null;
42753
+ action_type: 'READ_CARD';
42754
+ error: {
42755
+ type: string;
42756
+ message: string;
42757
+ };
41609
42758
  } | {
41610
42759
  /** The ID of the action attempt. */
41611
42760
  action_attempt_id: string;
@@ -42125,6 +43274,35 @@ interface Routes {
42125
43274
  type: string;
42126
43275
  message: string;
42127
43276
  };
43277
+ } | {
43278
+ /** The ID of the action attempt. */
43279
+ action_attempt_id: string;
43280
+ status: 'pending';
43281
+ result: null;
43282
+ error: null;
43283
+ action_type: 'READ_CARD';
43284
+ } | {
43285
+ /** The ID of the action attempt. */
43286
+ action_attempt_id: string;
43287
+ status: 'success';
43288
+ error: null;
43289
+ action_type: 'READ_CARD';
43290
+ result: {
43291
+ /** Matching acs_credential currently encoded on this card. */
43292
+ acs_credential_id: string | null;
43293
+ /** A number or sting that physically identifies this card. */
43294
+ card_number: string | null;
43295
+ };
43296
+ } | {
43297
+ /** The ID of the action attempt. */
43298
+ action_attempt_id: string;
43299
+ status: 'error';
43300
+ result: null;
43301
+ action_type: 'READ_CARD';
43302
+ error: {
43303
+ type: string;
43304
+ message: string;
43305
+ };
42128
43306
  } | {
42129
43307
  /** The ID of the action attempt. */
42130
43308
  action_attempt_id: string;
@@ -43978,6 +45156,35 @@ interface Routes {
43978
45156
  type: string;
43979
45157
  message: string;
43980
45158
  };
45159
+ } | {
45160
+ /** The ID of the action attempt. */
45161
+ action_attempt_id: string;
45162
+ status: 'pending';
45163
+ result: null;
45164
+ error: null;
45165
+ action_type: 'READ_CARD';
45166
+ } | {
45167
+ /** The ID of the action attempt. */
45168
+ action_attempt_id: string;
45169
+ status: 'success';
45170
+ error: null;
45171
+ action_type: 'READ_CARD';
45172
+ result: {
45173
+ /** Matching acs_credential currently encoded on this card. */
45174
+ acs_credential_id: string | null;
45175
+ /** A number or sting that physically identifies this card. */
45176
+ card_number: string | null;
45177
+ };
45178
+ } | {
45179
+ /** The ID of the action attempt. */
45180
+ action_attempt_id: string;
45181
+ status: 'error';
45182
+ result: null;
45183
+ action_type: 'READ_CARD';
45184
+ error: {
45185
+ type: string;
45186
+ message: string;
45187
+ };
43981
45188
  } | {
43982
45189
  /** The ID of the action attempt. */
43983
45190
  action_attempt_id: string;