@seamapi/types 1.251.0 → 1.252.1

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.
@@ -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, {
@@ -10221,6 +10314,7 @@ declare const _default: {
10221
10314
  nullable: boolean;
10222
10315
  properties?: never;
10223
10316
  type?: never;
10317
+ required?: never;
10224
10318
  };
10225
10319
  status: {
10226
10320
  enum: string[];
@@ -10249,9 +10343,13 @@ declare const _default: {
10249
10343
  type?: never;
10250
10344
  };
10251
10345
  result: {
10252
- properties: {};
10346
+ properties: {
10347
+ acs_credential_id?: never;
10348
+ card_number?: never;
10349
+ };
10253
10350
  type: string;
10254
10351
  nullable?: never;
10352
+ required?: never;
10255
10353
  };
10256
10354
  status: {
10257
10355
  enum: string[];
@@ -10290,6 +10388,51 @@ declare const _default: {
10290
10388
  nullable: boolean;
10291
10389
  properties?: never;
10292
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;
10293
10436
  };
10294
10437
  status: {
10295
10438
  enum: string[];
@@ -10320,6 +10463,7 @@ declare const _default: {
10320
10463
  nullable: boolean;
10321
10464
  properties?: never;
10322
10465
  type?: never;
10466
+ required?: never;
10323
10467
  };
10324
10468
  status: {
10325
10469
  enum: string[];
@@ -10351,6 +10495,7 @@ declare const _default: {
10351
10495
  nullable?: never;
10352
10496
  properties?: never;
10353
10497
  type?: never;
10498
+ required?: never;
10354
10499
  };
10355
10500
  status: {
10356
10501
  enum: string[];
@@ -10389,6 +10534,7 @@ declare const _default: {
10389
10534
  nullable: boolean;
10390
10535
  properties?: never;
10391
10536
  type?: never;
10537
+ required?: never;
10392
10538
  };
10393
10539
  status: {
10394
10540
  enum: string[];
@@ -16394,6 +16540,90 @@ declare const _default: {
16394
16540
  'x-fern-sdk-return-value': string;
16395
16541
  };
16396
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
+ };
16397
16627
  '/acs/credentials/unassign': {
16398
16628
  patch: {
16399
16629
  operationId: string;
@@ -23837,6 +24067,7 @@ declare const _default: {
23837
24067
  tags: string[];
23838
24068
  'x-fern-sdk-group-name': string[];
23839
24069
  'x-fern-sdk-method-name': string;
24070
+ 'x-fern-sdk-return-value': string;
23840
24071
  };
23841
24072
  };
23842
24073
  '/thermostats/delete_climate_preset': {
@@ -25212,7 +25443,6 @@ declare const _default: {
25212
25443
  tags: string[];
25213
25444
  'x-fern-sdk-group-name': string[];
25214
25445
  'x-fern-sdk-method-name': string;
25215
- 'x-fern-sdk-return-value': string;
25216
25446
  };
25217
25447
  };
25218
25448
  '/user_identities/add_acs_user': {
@@ -27520,6 +27750,35 @@ interface Routes {
27520
27750
  type: string;
27521
27751
  message: string;
27522
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
+ };
27523
27782
  } | {
27524
27783
  /** The ID of the action attempt. */
27525
27784
  action_attempt_id: string;
@@ -28068,6 +28327,35 @@ interface Routes {
28068
28327
  type: string;
28069
28328
  message: string;
28070
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
+ };
28071
28359
  } | {
28072
28360
  /** The ID of the action attempt. */
28073
28361
  action_attempt_id: string;
@@ -28773,6 +29061,35 @@ interface Routes {
28773
29061
  type: string;
28774
29062
  message: string;
28775
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
+ };
28776
29093
  } | {
28777
29094
  /** The ID of the action attempt. */
28778
29095
  action_attempt_id: string;
@@ -29308,6 +29625,35 @@ interface Routes {
29308
29625
  type: string;
29309
29626
  message: string;
29310
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
+ };
29311
29657
  } | {
29312
29658
  /** The ID of the action attempt. */
29313
29659
  action_attempt_id: string;
@@ -30253,6 +30599,435 @@ interface Routes {
30253
30599
  }>;
30254
30600
  };
30255
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
+ };
30256
31031
  '/acs/credentials/unassign': {
30257
31032
  route: '/acs/credentials/unassign';
30258
31033
  method: 'PATCH' | 'POST';
@@ -31644,6 +32419,35 @@ interface Routes {
31644
32419
  type: string;
31645
32420
  message: string;
31646
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
+ };
31647
32451
  } | {
31648
32452
  /** The ID of the action attempt. */
31649
32453
  action_attempt_id: string;
@@ -32041,6 +32845,35 @@ interface Routes {
32041
32845
  type: string;
32042
32846
  message: string;
32043
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
+ };
32044
32877
  } | {
32045
32878
  /** The ID of the action attempt. */
32046
32879
  action_attempt_id: string;
@@ -35924,6 +36757,35 @@ interface Routes {
35924
36757
  type: string;
35925
36758
  message: string;
35926
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
+ };
35927
36789
  } | {
35928
36790
  /** The ID of the action attempt. */
35929
36791
  action_attempt_id: string;
@@ -36322,6 +37184,35 @@ interface Routes {
36322
37184
  type: string;
36323
37185
  message: string;
36324
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
+ };
36325
37216
  } | {
36326
37217
  /** The ID of the action attempt. */
36327
37218
  action_attempt_id: string;
@@ -37648,6 +38539,35 @@ interface Routes {
37648
38539
  type: string;
37649
38540
  message: string;
37650
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
+ };
37651
38571
  } | {
37652
38572
  /** The ID of the action attempt. */
37653
38573
  action_attempt_id: string;
@@ -38056,6 +38976,35 @@ interface Routes {
38056
38976
  type: string;
38057
38977
  message: string;
38058
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
+ };
38059
39008
  } | {
38060
39009
  /** The ID of the action attempt. */
38061
39010
  action_attempt_id: string;
@@ -38503,6 +39452,35 @@ interface Routes {
38503
39452
  type: string;
38504
39453
  message: string;
38505
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
+ };
38506
39484
  } | {
38507
39485
  /** The ID of the action attempt. */
38508
39486
  action_attempt_id: string;
@@ -39083,6 +40061,35 @@ interface Routes {
39083
40061
  type: string;
39084
40062
  message: string;
39085
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
+ };
39086
40093
  } | {
39087
40094
  /** The ID of the action attempt. */
39088
40095
  action_attempt_id: string;
@@ -39483,6 +40490,35 @@ interface Routes {
39483
40490
  type: string;
39484
40491
  message: string;
39485
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
+ };
39486
40522
  } | {
39487
40523
  /** The ID of the action attempt. */
39488
40524
  action_attempt_id: string;
@@ -40375,6 +41411,35 @@ interface Routes {
40375
41411
  type: string;
40376
41412
  message: string;
40377
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
+ };
40378
41443
  } | {
40379
41444
  /** The ID of the action attempt. */
40380
41445
  action_attempt_id: string;
@@ -40777,6 +41842,35 @@ interface Routes {
40777
41842
  type: string;
40778
41843
  message: string;
40779
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
+ };
40780
41874
  } | {
40781
41875
  /** The ID of the action attempt. */
40782
41876
  action_attempt_id: string;
@@ -41632,6 +42726,35 @@ interface Routes {
41632
42726
  type: string;
41633
42727
  message: string;
41634
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
+ };
41635
42758
  } | {
41636
42759
  /** The ID of the action attempt. */
41637
42760
  action_attempt_id: string;
@@ -42151,6 +43274,35 @@ interface Routes {
42151
43274
  type: string;
42152
43275
  message: string;
42153
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
+ };
42154
43306
  } | {
42155
43307
  /** The ID of the action attempt. */
42156
43308
  action_attempt_id: string;
@@ -44004,6 +45156,35 @@ interface Routes {
44004
45156
  type: string;
44005
45157
  message: string;
44006
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
+ };
44007
45188
  } | {
44008
45189
  /** The ID of the action attempt. */
44009
45190
  action_attempt_id: string;