@seamapi/types 1.254.0 → 1.255.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1729,6 +1729,99 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1729
1729
  status: z.ZodLiteral<"pending">;
1730
1730
  result: z.ZodNull;
1731
1731
  error: z.ZodNull;
1732
+ }>, {
1733
+ action_type: z.ZodLiteral<"ENCODE_CARD">;
1734
+ }>, "strip", z.ZodTypeAny, {
1735
+ status: "pending";
1736
+ action_attempt_id: string;
1737
+ error: null;
1738
+ result: null;
1739
+ action_type: "ENCODE_CARD";
1740
+ }, {
1741
+ status: "pending";
1742
+ action_attempt_id: string;
1743
+ error: null;
1744
+ result: null;
1745
+ action_type: "ENCODE_CARD";
1746
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1747
+ action_attempt_id: z.ZodString;
1748
+ status: z.ZodEnum<["pending", "success", "error"]>;
1749
+ }, {
1750
+ status: z.ZodLiteral<"success">;
1751
+ error: z.ZodNull;
1752
+ }>, {
1753
+ action_type: z.ZodLiteral<"ENCODE_CARD">;
1754
+ result: z.ZodObject<{
1755
+ acs_credential_id: z.ZodNullable<z.ZodString>;
1756
+ card_number: z.ZodNullable<z.ZodString>;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ acs_credential_id: string | null;
1759
+ card_number: string | null;
1760
+ }, {
1761
+ acs_credential_id: string | null;
1762
+ card_number: string | null;
1763
+ }>;
1764
+ }>, "strip", z.ZodTypeAny, {
1765
+ status: "success";
1766
+ action_attempt_id: string;
1767
+ error: null;
1768
+ result: {
1769
+ acs_credential_id: string | null;
1770
+ card_number: string | null;
1771
+ };
1772
+ action_type: "ENCODE_CARD";
1773
+ }, {
1774
+ status: "success";
1775
+ action_attempt_id: string;
1776
+ error: null;
1777
+ result: {
1778
+ acs_credential_id: string | null;
1779
+ card_number: string | null;
1780
+ };
1781
+ action_type: "ENCODE_CARD";
1782
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1783
+ action_attempt_id: z.ZodString;
1784
+ status: z.ZodEnum<["pending", "success", "error"]>;
1785
+ }, {
1786
+ status: z.ZodLiteral<"error">;
1787
+ result: z.ZodNull;
1788
+ }>, {
1789
+ action_type: z.ZodLiteral<"ENCODE_CARD">;
1790
+ error: z.ZodObject<{
1791
+ type: z.ZodString;
1792
+ message: z.ZodString;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ message: string;
1795
+ type: string;
1796
+ }, {
1797
+ message: string;
1798
+ type: string;
1799
+ }>;
1800
+ }>, "strip", z.ZodTypeAny, {
1801
+ status: "error";
1802
+ action_attempt_id: string;
1803
+ error: {
1804
+ message: string;
1805
+ type: string;
1806
+ };
1807
+ result: null;
1808
+ action_type: "ENCODE_CARD";
1809
+ }, {
1810
+ status: "error";
1811
+ action_attempt_id: string;
1812
+ error: {
1813
+ message: string;
1814
+ type: string;
1815
+ };
1816
+ result: null;
1817
+ action_type: "ENCODE_CARD";
1818
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1819
+ action_attempt_id: z.ZodString;
1820
+ status: z.ZodEnum<["pending", "success", "error"]>;
1821
+ }, {
1822
+ status: z.ZodLiteral<"pending">;
1823
+ result: z.ZodNull;
1824
+ error: z.ZodNull;
1732
1825
  }>, {
1733
1826
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
1734
1827
  }>, "strip", z.ZodTypeAny, {
@@ -17454,6 +17547,90 @@ declare const _default: {
17454
17547
  'x-fern-sdk-method-name': string;
17455
17548
  };
17456
17549
  };
17550
+ '/acs/encoders/encode_card': {
17551
+ post: {
17552
+ operationId: string;
17553
+ requestBody: {
17554
+ content: {
17555
+ 'application/json': {
17556
+ schema: {
17557
+ oneOf: ({
17558
+ properties: {
17559
+ acs_system_id: {
17560
+ format: string;
17561
+ type: string;
17562
+ };
17563
+ device_name: {
17564
+ type: string;
17565
+ };
17566
+ device_id?: never;
17567
+ };
17568
+ required: string[];
17569
+ type: string;
17570
+ } | {
17571
+ properties: {
17572
+ device_id: {
17573
+ format: string;
17574
+ type: string;
17575
+ };
17576
+ acs_system_id?: never;
17577
+ device_name?: never;
17578
+ };
17579
+ required: string[];
17580
+ type: string;
17581
+ })[];
17582
+ };
17583
+ };
17584
+ };
17585
+ };
17586
+ responses: {
17587
+ 200: {
17588
+ content: {
17589
+ 'application/json': {
17590
+ schema: {
17591
+ properties: {
17592
+ action_attempt: {
17593
+ $ref: string;
17594
+ };
17595
+ ok: {
17596
+ type: string;
17597
+ };
17598
+ };
17599
+ required: string[];
17600
+ type: string;
17601
+ };
17602
+ };
17603
+ };
17604
+ description: string;
17605
+ };
17606
+ 400: {
17607
+ description: string;
17608
+ };
17609
+ 401: {
17610
+ description: string;
17611
+ };
17612
+ };
17613
+ security: ({
17614
+ pat_with_workspace: never[];
17615
+ console_session?: never;
17616
+ api_key?: never;
17617
+ } | {
17618
+ console_session: never[];
17619
+ pat_with_workspace?: never;
17620
+ api_key?: never;
17621
+ } | {
17622
+ api_key: never[];
17623
+ pat_with_workspace?: never;
17624
+ console_session?: never;
17625
+ })[];
17626
+ summary: string;
17627
+ tags: string[];
17628
+ 'x-fern-sdk-group-name': string[];
17629
+ 'x-fern-sdk-method-name': string;
17630
+ 'x-fern-sdk-return-value': string;
17631
+ 'x-undocumented': string;
17632
+ };
17633
+ };
17457
17634
  '/acs/encoders/read_card': {
17458
17635
  post: {
17459
17636
  operationId: string;
@@ -27938,6 +28115,35 @@ interface Routes {
27938
28115
  type: string;
27939
28116
  message: string;
27940
28117
  };
28118
+ } | {
28119
+ /** The ID of the action attempt. */
28120
+ action_attempt_id: string;
28121
+ status: 'pending';
28122
+ result: null;
28123
+ error: null;
28124
+ action_type: 'ENCODE_CARD';
28125
+ } | {
28126
+ /** The ID of the action attempt. */
28127
+ action_attempt_id: string;
28128
+ status: 'success';
28129
+ error: null;
28130
+ action_type: 'ENCODE_CARD';
28131
+ result: {
28132
+ /** Matching acs_credential currently encoded on this card. */
28133
+ acs_credential_id: string | null;
28134
+ /** A number or sting that physically identifies this card. */
28135
+ card_number: string | null;
28136
+ };
28137
+ } | {
28138
+ /** The ID of the action attempt. */
28139
+ action_attempt_id: string;
28140
+ status: 'error';
28141
+ result: null;
28142
+ action_type: 'ENCODE_CARD';
28143
+ error: {
28144
+ type: string;
28145
+ message: string;
28146
+ };
27941
28147
  } | {
27942
28148
  /** The ID of the action attempt. */
27943
28149
  action_attempt_id: string;
@@ -28515,6 +28721,35 @@ interface Routes {
28515
28721
  type: string;
28516
28722
  message: string;
28517
28723
  };
28724
+ } | {
28725
+ /** The ID of the action attempt. */
28726
+ action_attempt_id: string;
28727
+ status: 'pending';
28728
+ result: null;
28729
+ error: null;
28730
+ action_type: 'ENCODE_CARD';
28731
+ } | {
28732
+ /** The ID of the action attempt. */
28733
+ action_attempt_id: string;
28734
+ status: 'success';
28735
+ error: null;
28736
+ action_type: 'ENCODE_CARD';
28737
+ result: {
28738
+ /** Matching acs_credential currently encoded on this card. */
28739
+ acs_credential_id: string | null;
28740
+ /** A number or sting that physically identifies this card. */
28741
+ card_number: string | null;
28742
+ };
28743
+ } | {
28744
+ /** The ID of the action attempt. */
28745
+ action_attempt_id: string;
28746
+ status: 'error';
28747
+ result: null;
28748
+ action_type: 'ENCODE_CARD';
28749
+ error: {
28750
+ type: string;
28751
+ message: string;
28752
+ };
28518
28753
  } | {
28519
28754
  /** The ID of the action attempt. */
28520
28755
  action_attempt_id: string;
@@ -29249,6 +29484,35 @@ interface Routes {
29249
29484
  type: string;
29250
29485
  message: string;
29251
29486
  };
29487
+ } | {
29488
+ /** The ID of the action attempt. */
29489
+ action_attempt_id: string;
29490
+ status: 'pending';
29491
+ result: null;
29492
+ error: null;
29493
+ action_type: 'ENCODE_CARD';
29494
+ } | {
29495
+ /** The ID of the action attempt. */
29496
+ action_attempt_id: string;
29497
+ status: 'success';
29498
+ error: null;
29499
+ action_type: 'ENCODE_CARD';
29500
+ result: {
29501
+ /** Matching acs_credential currently encoded on this card. */
29502
+ acs_credential_id: string | null;
29503
+ /** A number or sting that physically identifies this card. */
29504
+ card_number: string | null;
29505
+ };
29506
+ } | {
29507
+ /** The ID of the action attempt. */
29508
+ action_attempt_id: string;
29509
+ status: 'error';
29510
+ result: null;
29511
+ action_type: 'ENCODE_CARD';
29512
+ error: {
29513
+ type: string;
29514
+ message: string;
29515
+ };
29252
29516
  } | {
29253
29517
  /** The ID of the action attempt. */
29254
29518
  action_attempt_id: string;
@@ -29813,6 +30077,35 @@ interface Routes {
29813
30077
  type: string;
29814
30078
  message: string;
29815
30079
  };
30080
+ } | {
30081
+ /** The ID of the action attempt. */
30082
+ action_attempt_id: string;
30083
+ status: 'pending';
30084
+ result: null;
30085
+ error: null;
30086
+ action_type: 'ENCODE_CARD';
30087
+ } | {
30088
+ /** The ID of the action attempt. */
30089
+ action_attempt_id: string;
30090
+ status: 'success';
30091
+ error: null;
30092
+ action_type: 'ENCODE_CARD';
30093
+ result: {
30094
+ /** Matching acs_credential currently encoded on this card. */
30095
+ acs_credential_id: string | null;
30096
+ /** A number or sting that physically identifies this card. */
30097
+ card_number: string | null;
30098
+ };
30099
+ } | {
30100
+ /** The ID of the action attempt. */
30101
+ action_attempt_id: string;
30102
+ status: 'error';
30103
+ result: null;
30104
+ action_type: 'ENCODE_CARD';
30105
+ error: {
30106
+ type: string;
30107
+ message: string;
30108
+ };
29816
30109
  } | {
29817
30110
  /** The ID of the action attempt. */
29818
30111
  action_attempt_id: string;
@@ -30976,6 +31269,464 @@ interface Routes {
30976
31269
  };
30977
31270
  };
30978
31271
  };
31272
+ '/acs/encoders/encode_card': {
31273
+ route: '/acs/encoders/encode_card';
31274
+ method: 'POST';
31275
+ queryParams: {};
31276
+ jsonBody: {};
31277
+ commonParams: {
31278
+ acs_system_id: string;
31279
+ device_name: string;
31280
+ } | {
31281
+ device_id: string;
31282
+ };
31283
+ formData: {};
31284
+ jsonResponse: {
31285
+ action_attempt: {
31286
+ /** The ID of the action attempt. */
31287
+ action_attempt_id: string;
31288
+ status: 'pending';
31289
+ result: null;
31290
+ error: null;
31291
+ action_type: 'LOCK_DOOR';
31292
+ } | {
31293
+ /** The ID of the action attempt. */
31294
+ action_attempt_id: string;
31295
+ status: 'success';
31296
+ error: null;
31297
+ action_type: 'LOCK_DOOR';
31298
+ result: {};
31299
+ } | {
31300
+ /** The ID of the action attempt. */
31301
+ action_attempt_id: string;
31302
+ status: 'error';
31303
+ result: null;
31304
+ action_type: 'LOCK_DOOR';
31305
+ error: {
31306
+ type: string;
31307
+ message: string;
31308
+ };
31309
+ } | {
31310
+ /** The ID of the action attempt. */
31311
+ action_attempt_id: string;
31312
+ status: 'pending';
31313
+ result: null;
31314
+ error: null;
31315
+ action_type: 'UNLOCK_DOOR';
31316
+ } | {
31317
+ /** The ID of the action attempt. */
31318
+ action_attempt_id: string;
31319
+ status: 'success';
31320
+ error: null;
31321
+ action_type: 'UNLOCK_DOOR';
31322
+ result: {};
31323
+ } | {
31324
+ /** The ID of the action attempt. */
31325
+ action_attempt_id: string;
31326
+ status: 'error';
31327
+ result: null;
31328
+ action_type: 'UNLOCK_DOOR';
31329
+ error: {
31330
+ type: string;
31331
+ message: string;
31332
+ };
31333
+ } | {
31334
+ /** The ID of the action attempt. */
31335
+ action_attempt_id: string;
31336
+ status: 'pending';
31337
+ result: null;
31338
+ error: null;
31339
+ action_type: 'READ_CARD';
31340
+ } | {
31341
+ /** The ID of the action attempt. */
31342
+ action_attempt_id: string;
31343
+ status: 'success';
31344
+ error: null;
31345
+ action_type: 'READ_CARD';
31346
+ result: {
31347
+ /** Matching acs_credential currently encoded on this card. */
31348
+ acs_credential_id: string | null;
31349
+ /** A number or sting that physically identifies this card. */
31350
+ card_number: string | null;
31351
+ };
31352
+ } | {
31353
+ /** The ID of the action attempt. */
31354
+ action_attempt_id: string;
31355
+ status: 'error';
31356
+ result: null;
31357
+ action_type: 'READ_CARD';
31358
+ error: {
31359
+ type: string;
31360
+ message: string;
31361
+ };
31362
+ } | {
31363
+ /** The ID of the action attempt. */
31364
+ action_attempt_id: string;
31365
+ status: 'pending';
31366
+ result: null;
31367
+ error: null;
31368
+ action_type: 'ENCODE_CARD';
31369
+ } | {
31370
+ /** The ID of the action attempt. */
31371
+ action_attempt_id: string;
31372
+ status: 'success';
31373
+ error: null;
31374
+ action_type: 'ENCODE_CARD';
31375
+ result: {
31376
+ /** Matching acs_credential currently encoded on this card. */
31377
+ acs_credential_id: string | null;
31378
+ /** A number or sting that physically identifies this card. */
31379
+ card_number: string | null;
31380
+ };
31381
+ } | {
31382
+ /** The ID of the action attempt. */
31383
+ action_attempt_id: string;
31384
+ status: 'error';
31385
+ result: null;
31386
+ action_type: 'ENCODE_CARD';
31387
+ error: {
31388
+ type: string;
31389
+ message: string;
31390
+ };
31391
+ } | {
31392
+ /** The ID of the action attempt. */
31393
+ action_attempt_id: string;
31394
+ status: 'pending';
31395
+ result: null;
31396
+ error: null;
31397
+ action_type: 'RESET_SANDBOX_WORKSPACE';
31398
+ } | {
31399
+ /** The ID of the action attempt. */
31400
+ action_attempt_id: string;
31401
+ status: 'success';
31402
+ error: null;
31403
+ action_type: 'RESET_SANDBOX_WORKSPACE';
31404
+ result: {};
31405
+ } | {
31406
+ /** The ID of the action attempt. */
31407
+ action_attempt_id: string;
31408
+ status: 'error';
31409
+ result: null;
31410
+ action_type: 'RESET_SANDBOX_WORKSPACE';
31411
+ error: {
31412
+ type: string;
31413
+ message: string;
31414
+ };
31415
+ } | {
31416
+ /** The ID of the action attempt. */
31417
+ action_attempt_id: string;
31418
+ status: 'pending';
31419
+ result: null;
31420
+ error: null;
31421
+ action_type: 'SET_COOL';
31422
+ } | {
31423
+ /** The ID of the action attempt. */
31424
+ action_attempt_id: string;
31425
+ status: 'success';
31426
+ error: null;
31427
+ action_type: 'SET_COOL';
31428
+ result: {};
31429
+ } | {
31430
+ /** The ID of the action attempt. */
31431
+ action_attempt_id: string;
31432
+ status: 'error';
31433
+ result: null;
31434
+ action_type: 'SET_COOL';
31435
+ error: {
31436
+ type: string;
31437
+ message: string;
31438
+ };
31439
+ } | {
31440
+ /** The ID of the action attempt. */
31441
+ action_attempt_id: string;
31442
+ status: 'pending';
31443
+ result: null;
31444
+ error: null;
31445
+ action_type: 'SET_HEAT';
31446
+ } | {
31447
+ /** The ID of the action attempt. */
31448
+ action_attempt_id: string;
31449
+ status: 'success';
31450
+ error: null;
31451
+ action_type: 'SET_HEAT';
31452
+ result: {};
31453
+ } | {
31454
+ /** The ID of the action attempt. */
31455
+ action_attempt_id: string;
31456
+ status: 'error';
31457
+ result: null;
31458
+ action_type: 'SET_HEAT';
31459
+ error: {
31460
+ type: string;
31461
+ message: string;
31462
+ };
31463
+ } | {
31464
+ /** The ID of the action attempt. */
31465
+ action_attempt_id: string;
31466
+ status: 'pending';
31467
+ result: null;
31468
+ error: null;
31469
+ action_type: 'SET_HEAT_COOL';
31470
+ } | {
31471
+ /** The ID of the action attempt. */
31472
+ action_attempt_id: string;
31473
+ status: 'success';
31474
+ error: null;
31475
+ action_type: 'SET_HEAT_COOL';
31476
+ result: {};
31477
+ } | {
31478
+ /** The ID of the action attempt. */
31479
+ action_attempt_id: string;
31480
+ status: 'error';
31481
+ result: null;
31482
+ action_type: 'SET_HEAT_COOL';
31483
+ error: {
31484
+ type: string;
31485
+ message: string;
31486
+ };
31487
+ } | {
31488
+ /** The ID of the action attempt. */
31489
+ action_attempt_id: string;
31490
+ status: 'pending';
31491
+ result: null;
31492
+ error: null;
31493
+ action_type: 'SET_FAN_MODE';
31494
+ } | {
31495
+ /** The ID of the action attempt. */
31496
+ action_attempt_id: string;
31497
+ status: 'success';
31498
+ error: null;
31499
+ action_type: 'SET_FAN_MODE';
31500
+ result: {};
31501
+ } | {
31502
+ /** The ID of the action attempt. */
31503
+ action_attempt_id: string;
31504
+ status: 'error';
31505
+ result: null;
31506
+ action_type: 'SET_FAN_MODE';
31507
+ error: {
31508
+ type: string;
31509
+ message: string;
31510
+ };
31511
+ } | {
31512
+ /** The ID of the action attempt. */
31513
+ action_attempt_id: string;
31514
+ status: 'pending';
31515
+ result: null;
31516
+ error: null;
31517
+ action_type: 'SET_THERMOSTAT_OFF';
31518
+ } | {
31519
+ /** The ID of the action attempt. */
31520
+ action_attempt_id: string;
31521
+ status: 'success';
31522
+ error: null;
31523
+ action_type: 'SET_THERMOSTAT_OFF';
31524
+ result: {};
31525
+ } | {
31526
+ /** The ID of the action attempt. */
31527
+ action_attempt_id: string;
31528
+ status: 'error';
31529
+ result: null;
31530
+ action_type: 'SET_THERMOSTAT_OFF';
31531
+ error: {
31532
+ type: string;
31533
+ message: string;
31534
+ };
31535
+ } | {
31536
+ /** The ID of the action attempt. */
31537
+ action_attempt_id: string;
31538
+ status: 'pending';
31539
+ result: null;
31540
+ error: null;
31541
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
31542
+ } | {
31543
+ /** The ID of the action attempt. */
31544
+ action_attempt_id: string;
31545
+ status: 'success';
31546
+ error: null;
31547
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
31548
+ result: {};
31549
+ } | {
31550
+ /** The ID of the action attempt. */
31551
+ action_attempt_id: string;
31552
+ status: 'error';
31553
+ result: null;
31554
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
31555
+ error: {
31556
+ type: string;
31557
+ message: string;
31558
+ };
31559
+ } | {
31560
+ /** The ID of the action attempt. */
31561
+ action_attempt_id: string;
31562
+ status: 'pending';
31563
+ result: null;
31564
+ error: null;
31565
+ action_type: 'SYNC_ACCESS_CODES';
31566
+ } | {
31567
+ /** The ID of the action attempt. */
31568
+ action_attempt_id: string;
31569
+ status: 'success';
31570
+ error: null;
31571
+ action_type: 'SYNC_ACCESS_CODES';
31572
+ result?: any;
31573
+ } | {
31574
+ /** The ID of the action attempt. */
31575
+ action_attempt_id: string;
31576
+ status: 'error';
31577
+ result: null;
31578
+ action_type: 'SYNC_ACCESS_CODES';
31579
+ error: {
31580
+ type: string;
31581
+ message: string;
31582
+ };
31583
+ } | {
31584
+ /** The ID of the action attempt. */
31585
+ action_attempt_id: string;
31586
+ status: 'pending';
31587
+ result: null;
31588
+ error: null;
31589
+ action_type: 'CREATE_ACCESS_CODE';
31590
+ } | {
31591
+ /** The ID of the action attempt. */
31592
+ action_attempt_id: string;
31593
+ status: 'success';
31594
+ error: null;
31595
+ action_type: 'CREATE_ACCESS_CODE';
31596
+ result?: any;
31597
+ } | {
31598
+ /** The ID of the action attempt. */
31599
+ action_attempt_id: string;
31600
+ status: 'error';
31601
+ result: null;
31602
+ action_type: 'CREATE_ACCESS_CODE';
31603
+ error: {
31604
+ type: string;
31605
+ message: string;
31606
+ };
31607
+ } | {
31608
+ /** The ID of the action attempt. */
31609
+ action_attempt_id: string;
31610
+ status: 'pending';
31611
+ result: null;
31612
+ error: null;
31613
+ action_type: 'DELETE_ACCESS_CODE';
31614
+ } | {
31615
+ /** The ID of the action attempt. */
31616
+ action_attempt_id: string;
31617
+ status: 'success';
31618
+ error: null;
31619
+ action_type: 'DELETE_ACCESS_CODE';
31620
+ result?: any;
31621
+ } | {
31622
+ /** The ID of the action attempt. */
31623
+ action_attempt_id: string;
31624
+ status: 'error';
31625
+ result: null;
31626
+ action_type: 'DELETE_ACCESS_CODE';
31627
+ error: {
31628
+ type: string;
31629
+ message: string;
31630
+ };
31631
+ } | {
31632
+ /** The ID of the action attempt. */
31633
+ action_attempt_id: string;
31634
+ status: 'pending';
31635
+ result: null;
31636
+ error: null;
31637
+ action_type: 'UPDATE_ACCESS_CODE';
31638
+ } | {
31639
+ /** The ID of the action attempt. */
31640
+ action_attempt_id: string;
31641
+ status: 'success';
31642
+ error: null;
31643
+ action_type: 'UPDATE_ACCESS_CODE';
31644
+ result?: any;
31645
+ } | {
31646
+ /** The ID of the action attempt. */
31647
+ action_attempt_id: string;
31648
+ status: 'error';
31649
+ result: null;
31650
+ action_type: 'UPDATE_ACCESS_CODE';
31651
+ error: {
31652
+ type: string;
31653
+ message: string;
31654
+ };
31655
+ } | {
31656
+ /** The ID of the action attempt. */
31657
+ action_attempt_id: string;
31658
+ status: 'pending';
31659
+ result: null;
31660
+ error: null;
31661
+ action_type: 'CREATE_NOISE_THRESHOLD';
31662
+ } | {
31663
+ /** The ID of the action attempt. */
31664
+ action_attempt_id: string;
31665
+ status: 'success';
31666
+ error: null;
31667
+ action_type: 'CREATE_NOISE_THRESHOLD';
31668
+ result?: any;
31669
+ } | {
31670
+ /** The ID of the action attempt. */
31671
+ action_attempt_id: string;
31672
+ status: 'error';
31673
+ result: null;
31674
+ action_type: 'CREATE_NOISE_THRESHOLD';
31675
+ error: {
31676
+ type: string;
31677
+ message: string;
31678
+ };
31679
+ } | {
31680
+ /** The ID of the action attempt. */
31681
+ action_attempt_id: string;
31682
+ status: 'pending';
31683
+ result: null;
31684
+ error: null;
31685
+ action_type: 'DELETE_NOISE_THRESHOLD';
31686
+ } | {
31687
+ /** The ID of the action attempt. */
31688
+ action_attempt_id: string;
31689
+ status: 'success';
31690
+ error: null;
31691
+ action_type: 'DELETE_NOISE_THRESHOLD';
31692
+ result?: any;
31693
+ } | {
31694
+ /** The ID of the action attempt. */
31695
+ action_attempt_id: string;
31696
+ status: 'error';
31697
+ result: null;
31698
+ action_type: 'DELETE_NOISE_THRESHOLD';
31699
+ error: {
31700
+ type: string;
31701
+ message: string;
31702
+ };
31703
+ } | {
31704
+ /** The ID of the action attempt. */
31705
+ action_attempt_id: string;
31706
+ status: 'pending';
31707
+ result: null;
31708
+ error: null;
31709
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31710
+ } | {
31711
+ /** The ID of the action attempt. */
31712
+ action_attempt_id: string;
31713
+ status: 'success';
31714
+ error: null;
31715
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31716
+ result?: any;
31717
+ } | {
31718
+ /** The ID of the action attempt. */
31719
+ action_attempt_id: string;
31720
+ status: 'error';
31721
+ result: null;
31722
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31723
+ error: {
31724
+ type: string;
31725
+ message: string;
31726
+ };
31727
+ };
31728
+ };
31729
+ };
30979
31730
  '/acs/encoders/read_card': {
30980
31731
  route: '/acs/encoders/read_card';
30981
31732
  method: 'POST';
@@ -31066,6 +31817,35 @@ interface Routes {
31066
31817
  type: string;
31067
31818
  message: string;
31068
31819
  };
31820
+ } | {
31821
+ /** The ID of the action attempt. */
31822
+ action_attempt_id: string;
31823
+ status: 'pending';
31824
+ result: null;
31825
+ error: null;
31826
+ action_type: 'ENCODE_CARD';
31827
+ } | {
31828
+ /** The ID of the action attempt. */
31829
+ action_attempt_id: string;
31830
+ status: 'success';
31831
+ error: null;
31832
+ action_type: 'ENCODE_CARD';
31833
+ result: {
31834
+ /** Matching acs_credential currently encoded on this card. */
31835
+ acs_credential_id: string | null;
31836
+ /** A number or sting that physically identifies this card. */
31837
+ card_number: string | null;
31838
+ };
31839
+ } | {
31840
+ /** The ID of the action attempt. */
31841
+ action_attempt_id: string;
31842
+ status: 'error';
31843
+ result: null;
31844
+ action_type: 'ENCODE_CARD';
31845
+ error: {
31846
+ type: string;
31847
+ message: string;
31848
+ };
31069
31849
  } | {
31070
31850
  /** The ID of the action attempt. */
31071
31851
  action_attempt_id: string;
@@ -32607,6 +33387,35 @@ interface Routes {
32607
33387
  type: string;
32608
33388
  message: string;
32609
33389
  };
33390
+ } | {
33391
+ /** The ID of the action attempt. */
33392
+ action_attempt_id: string;
33393
+ status: 'pending';
33394
+ result: null;
33395
+ error: null;
33396
+ action_type: 'ENCODE_CARD';
33397
+ } | {
33398
+ /** The ID of the action attempt. */
33399
+ action_attempt_id: string;
33400
+ status: 'success';
33401
+ error: null;
33402
+ action_type: 'ENCODE_CARD';
33403
+ result: {
33404
+ /** Matching acs_credential currently encoded on this card. */
33405
+ acs_credential_id: string | null;
33406
+ /** A number or sting that physically identifies this card. */
33407
+ card_number: string | null;
33408
+ };
33409
+ } | {
33410
+ /** The ID of the action attempt. */
33411
+ action_attempt_id: string;
33412
+ status: 'error';
33413
+ result: null;
33414
+ action_type: 'ENCODE_CARD';
33415
+ error: {
33416
+ type: string;
33417
+ message: string;
33418
+ };
32610
33419
  } | {
32611
33420
  /** The ID of the action attempt. */
32612
33421
  action_attempt_id: string;
@@ -33033,6 +33842,35 @@ interface Routes {
33033
33842
  type: string;
33034
33843
  message: string;
33035
33844
  };
33845
+ } | {
33846
+ /** The ID of the action attempt. */
33847
+ action_attempt_id: string;
33848
+ status: 'pending';
33849
+ result: null;
33850
+ error: null;
33851
+ action_type: 'ENCODE_CARD';
33852
+ } | {
33853
+ /** The ID of the action attempt. */
33854
+ action_attempt_id: string;
33855
+ status: 'success';
33856
+ error: null;
33857
+ action_type: 'ENCODE_CARD';
33858
+ result: {
33859
+ /** Matching acs_credential currently encoded on this card. */
33860
+ acs_credential_id: string | null;
33861
+ /** A number or sting that physically identifies this card. */
33862
+ card_number: string | null;
33863
+ };
33864
+ } | {
33865
+ /** The ID of the action attempt. */
33866
+ action_attempt_id: string;
33867
+ status: 'error';
33868
+ result: null;
33869
+ action_type: 'ENCODE_CARD';
33870
+ error: {
33871
+ type: string;
33872
+ message: string;
33873
+ };
33036
33874
  } | {
33037
33875
  /** The ID of the action attempt. */
33038
33876
  action_attempt_id: string;
@@ -36981,6 +37819,35 @@ interface Routes {
36981
37819
  type: string;
36982
37820
  message: string;
36983
37821
  };
37822
+ } | {
37823
+ /** The ID of the action attempt. */
37824
+ action_attempt_id: string;
37825
+ status: 'pending';
37826
+ result: null;
37827
+ error: null;
37828
+ action_type: 'ENCODE_CARD';
37829
+ } | {
37830
+ /** The ID of the action attempt. */
37831
+ action_attempt_id: string;
37832
+ status: 'success';
37833
+ error: null;
37834
+ action_type: 'ENCODE_CARD';
37835
+ result: {
37836
+ /** Matching acs_credential currently encoded on this card. */
37837
+ acs_credential_id: string | null;
37838
+ /** A number or sting that physically identifies this card. */
37839
+ card_number: string | null;
37840
+ };
37841
+ } | {
37842
+ /** The ID of the action attempt. */
37843
+ action_attempt_id: string;
37844
+ status: 'error';
37845
+ result: null;
37846
+ action_type: 'ENCODE_CARD';
37847
+ error: {
37848
+ type: string;
37849
+ message: string;
37850
+ };
36984
37851
  } | {
36985
37852
  /** The ID of the action attempt. */
36986
37853
  action_attempt_id: string;
@@ -37408,6 +38275,35 @@ interface Routes {
37408
38275
  type: string;
37409
38276
  message: string;
37410
38277
  };
38278
+ } | {
38279
+ /** The ID of the action attempt. */
38280
+ action_attempt_id: string;
38281
+ status: 'pending';
38282
+ result: null;
38283
+ error: null;
38284
+ action_type: 'ENCODE_CARD';
38285
+ } | {
38286
+ /** The ID of the action attempt. */
38287
+ action_attempt_id: string;
38288
+ status: 'success';
38289
+ error: null;
38290
+ action_type: 'ENCODE_CARD';
38291
+ result: {
38292
+ /** Matching acs_credential currently encoded on this card. */
38293
+ acs_credential_id: string | null;
38294
+ /** A number or sting that physically identifies this card. */
38295
+ card_number: string | null;
38296
+ };
38297
+ } | {
38298
+ /** The ID of the action attempt. */
38299
+ action_attempt_id: string;
38300
+ status: 'error';
38301
+ result: null;
38302
+ action_type: 'ENCODE_CARD';
38303
+ error: {
38304
+ type: string;
38305
+ message: string;
38306
+ };
37411
38307
  } | {
37412
38308
  /** The ID of the action attempt. */
37413
38309
  action_attempt_id: string;
@@ -38769,6 +39665,35 @@ interface Routes {
38769
39665
  type: string;
38770
39666
  message: string;
38771
39667
  };
39668
+ } | {
39669
+ /** The ID of the action attempt. */
39670
+ action_attempt_id: string;
39671
+ status: 'pending';
39672
+ result: null;
39673
+ error: null;
39674
+ action_type: 'ENCODE_CARD';
39675
+ } | {
39676
+ /** The ID of the action attempt. */
39677
+ action_attempt_id: string;
39678
+ status: 'success';
39679
+ error: null;
39680
+ action_type: 'ENCODE_CARD';
39681
+ result: {
39682
+ /** Matching acs_credential currently encoded on this card. */
39683
+ acs_credential_id: string | null;
39684
+ /** A number or sting that physically identifies this card. */
39685
+ card_number: string | null;
39686
+ };
39687
+ } | {
39688
+ /** The ID of the action attempt. */
39689
+ action_attempt_id: string;
39690
+ status: 'error';
39691
+ result: null;
39692
+ action_type: 'ENCODE_CARD';
39693
+ error: {
39694
+ type: string;
39695
+ message: string;
39696
+ };
38772
39697
  } | {
38773
39698
  /** The ID of the action attempt. */
38774
39699
  action_attempt_id: string;
@@ -39206,6 +40131,35 @@ interface Routes {
39206
40131
  type: string;
39207
40132
  message: string;
39208
40133
  };
40134
+ } | {
40135
+ /** The ID of the action attempt. */
40136
+ action_attempt_id: string;
40137
+ status: 'pending';
40138
+ result: null;
40139
+ error: null;
40140
+ action_type: 'ENCODE_CARD';
40141
+ } | {
40142
+ /** The ID of the action attempt. */
40143
+ action_attempt_id: string;
40144
+ status: 'success';
40145
+ error: null;
40146
+ action_type: 'ENCODE_CARD';
40147
+ result: {
40148
+ /** Matching acs_credential currently encoded on this card. */
40149
+ acs_credential_id: string | null;
40150
+ /** A number or sting that physically identifies this card. */
40151
+ card_number: string | null;
40152
+ };
40153
+ } | {
40154
+ /** The ID of the action attempt. */
40155
+ action_attempt_id: string;
40156
+ status: 'error';
40157
+ result: null;
40158
+ action_type: 'ENCODE_CARD';
40159
+ error: {
40160
+ type: string;
40161
+ message: string;
40162
+ };
39209
40163
  } | {
39210
40164
  /** The ID of the action attempt. */
39211
40165
  action_attempt_id: string;
@@ -39682,6 +40636,35 @@ interface Routes {
39682
40636
  type: string;
39683
40637
  message: string;
39684
40638
  };
40639
+ } | {
40640
+ /** The ID of the action attempt. */
40641
+ action_attempt_id: string;
40642
+ status: 'pending';
40643
+ result: null;
40644
+ error: null;
40645
+ action_type: 'ENCODE_CARD';
40646
+ } | {
40647
+ /** The ID of the action attempt. */
40648
+ action_attempt_id: string;
40649
+ status: 'success';
40650
+ error: null;
40651
+ action_type: 'ENCODE_CARD';
40652
+ result: {
40653
+ /** Matching acs_credential currently encoded on this card. */
40654
+ acs_credential_id: string | null;
40655
+ /** A number or sting that physically identifies this card. */
40656
+ card_number: string | null;
40657
+ };
40658
+ } | {
40659
+ /** The ID of the action attempt. */
40660
+ action_attempt_id: string;
40661
+ status: 'error';
40662
+ result: null;
40663
+ action_type: 'ENCODE_CARD';
40664
+ error: {
40665
+ type: string;
40666
+ message: string;
40667
+ };
39685
40668
  } | {
39686
40669
  /** The ID of the action attempt. */
39687
40670
  action_attempt_id: string;
@@ -40291,6 +41274,35 @@ interface Routes {
40291
41274
  type: string;
40292
41275
  message: string;
40293
41276
  };
41277
+ } | {
41278
+ /** The ID of the action attempt. */
41279
+ action_attempt_id: string;
41280
+ status: 'pending';
41281
+ result: null;
41282
+ error: null;
41283
+ action_type: 'ENCODE_CARD';
41284
+ } | {
41285
+ /** The ID of the action attempt. */
41286
+ action_attempt_id: string;
41287
+ status: 'success';
41288
+ error: null;
41289
+ action_type: 'ENCODE_CARD';
41290
+ result: {
41291
+ /** Matching acs_credential currently encoded on this card. */
41292
+ acs_credential_id: string | null;
41293
+ /** A number or sting that physically identifies this card. */
41294
+ card_number: string | null;
41295
+ };
41296
+ } | {
41297
+ /** The ID of the action attempt. */
41298
+ action_attempt_id: string;
41299
+ status: 'error';
41300
+ result: null;
41301
+ action_type: 'ENCODE_CARD';
41302
+ error: {
41303
+ type: string;
41304
+ message: string;
41305
+ };
40294
41306
  } | {
40295
41307
  /** The ID of the action attempt. */
40296
41308
  action_attempt_id: string;
@@ -40720,6 +41732,35 @@ interface Routes {
40720
41732
  type: string;
40721
41733
  message: string;
40722
41734
  };
41735
+ } | {
41736
+ /** The ID of the action attempt. */
41737
+ action_attempt_id: string;
41738
+ status: 'pending';
41739
+ result: null;
41740
+ error: null;
41741
+ action_type: 'ENCODE_CARD';
41742
+ } | {
41743
+ /** The ID of the action attempt. */
41744
+ action_attempt_id: string;
41745
+ status: 'success';
41746
+ error: null;
41747
+ action_type: 'ENCODE_CARD';
41748
+ result: {
41749
+ /** Matching acs_credential currently encoded on this card. */
41750
+ acs_credential_id: string | null;
41751
+ /** A number or sting that physically identifies this card. */
41752
+ card_number: string | null;
41753
+ };
41754
+ } | {
41755
+ /** The ID of the action attempt. */
41756
+ action_attempt_id: string;
41757
+ status: 'error';
41758
+ result: null;
41759
+ action_type: 'ENCODE_CARD';
41760
+ error: {
41761
+ type: string;
41762
+ message: string;
41763
+ };
40723
41764
  } | {
40724
41765
  /** The ID of the action attempt. */
40725
41766
  action_attempt_id: string;
@@ -41644,6 +42685,35 @@ interface Routes {
41644
42685
  type: string;
41645
42686
  message: string;
41646
42687
  };
42688
+ } | {
42689
+ /** The ID of the action attempt. */
42690
+ action_attempt_id: string;
42691
+ status: 'pending';
42692
+ result: null;
42693
+ error: null;
42694
+ action_type: 'ENCODE_CARD';
42695
+ } | {
42696
+ /** The ID of the action attempt. */
42697
+ action_attempt_id: string;
42698
+ status: 'success';
42699
+ error: null;
42700
+ action_type: 'ENCODE_CARD';
42701
+ result: {
42702
+ /** Matching acs_credential currently encoded on this card. */
42703
+ acs_credential_id: string | null;
42704
+ /** A number or sting that physically identifies this card. */
42705
+ card_number: string | null;
42706
+ };
42707
+ } | {
42708
+ /** The ID of the action attempt. */
42709
+ action_attempt_id: string;
42710
+ status: 'error';
42711
+ result: null;
42712
+ action_type: 'ENCODE_CARD';
42713
+ error: {
42714
+ type: string;
42715
+ message: string;
42716
+ };
41647
42717
  } | {
41648
42718
  /** The ID of the action attempt. */
41649
42719
  action_attempt_id: string;
@@ -42075,6 +43145,35 @@ interface Routes {
42075
43145
  type: string;
42076
43146
  message: string;
42077
43147
  };
43148
+ } | {
43149
+ /** The ID of the action attempt. */
43150
+ action_attempt_id: string;
43151
+ status: 'pending';
43152
+ result: null;
43153
+ error: null;
43154
+ action_type: 'ENCODE_CARD';
43155
+ } | {
43156
+ /** The ID of the action attempt. */
43157
+ action_attempt_id: string;
43158
+ status: 'success';
43159
+ error: null;
43160
+ action_type: 'ENCODE_CARD';
43161
+ result: {
43162
+ /** Matching acs_credential currently encoded on this card. */
43163
+ acs_credential_id: string | null;
43164
+ /** A number or sting that physically identifies this card. */
43165
+ card_number: string | null;
43166
+ };
43167
+ } | {
43168
+ /** The ID of the action attempt. */
43169
+ action_attempt_id: string;
43170
+ status: 'error';
43171
+ result: null;
43172
+ action_type: 'ENCODE_CARD';
43173
+ error: {
43174
+ type: string;
43175
+ message: string;
43176
+ };
42078
43177
  } | {
42079
43178
  /** The ID of the action attempt. */
42080
43179
  action_attempt_id: string;
@@ -42962,6 +44061,35 @@ interface Routes {
42962
44061
  type: string;
42963
44062
  message: string;
42964
44063
  };
44064
+ } | {
44065
+ /** The ID of the action attempt. */
44066
+ action_attempt_id: string;
44067
+ status: 'pending';
44068
+ result: null;
44069
+ error: null;
44070
+ action_type: 'ENCODE_CARD';
44071
+ } | {
44072
+ /** The ID of the action attempt. */
44073
+ action_attempt_id: string;
44074
+ status: 'success';
44075
+ error: null;
44076
+ action_type: 'ENCODE_CARD';
44077
+ result: {
44078
+ /** Matching acs_credential currently encoded on this card. */
44079
+ acs_credential_id: string | null;
44080
+ /** A number or sting that physically identifies this card. */
44081
+ card_number: string | null;
44082
+ };
44083
+ } | {
44084
+ /** The ID of the action attempt. */
44085
+ action_attempt_id: string;
44086
+ status: 'error';
44087
+ result: null;
44088
+ action_type: 'ENCODE_CARD';
44089
+ error: {
44090
+ type: string;
44091
+ message: string;
44092
+ };
42965
44093
  } | {
42966
44094
  /** The ID of the action attempt. */
42967
44095
  action_attempt_id: string;
@@ -43510,6 +44638,35 @@ interface Routes {
43510
44638
  type: string;
43511
44639
  message: string;
43512
44640
  };
44641
+ } | {
44642
+ /** The ID of the action attempt. */
44643
+ action_attempt_id: string;
44644
+ status: 'pending';
44645
+ result: null;
44646
+ error: null;
44647
+ action_type: 'ENCODE_CARD';
44648
+ } | {
44649
+ /** The ID of the action attempt. */
44650
+ action_attempt_id: string;
44651
+ status: 'success';
44652
+ error: null;
44653
+ action_type: 'ENCODE_CARD';
44654
+ result: {
44655
+ /** Matching acs_credential currently encoded on this card. */
44656
+ acs_credential_id: string | null;
44657
+ /** A number or sting that physically identifies this card. */
44658
+ card_number: string | null;
44659
+ };
44660
+ } | {
44661
+ /** The ID of the action attempt. */
44662
+ action_attempt_id: string;
44663
+ status: 'error';
44664
+ result: null;
44665
+ action_type: 'ENCODE_CARD';
44666
+ error: {
44667
+ type: string;
44668
+ message: string;
44669
+ };
43513
44670
  } | {
43514
44671
  /** The ID of the action attempt. */
43515
44672
  action_attempt_id: string;
@@ -45398,6 +46555,35 @@ interface Routes {
45398
46555
  type: string;
45399
46556
  message: string;
45400
46557
  };
46558
+ } | {
46559
+ /** The ID of the action attempt. */
46560
+ action_attempt_id: string;
46561
+ status: 'pending';
46562
+ result: null;
46563
+ error: null;
46564
+ action_type: 'ENCODE_CARD';
46565
+ } | {
46566
+ /** The ID of the action attempt. */
46567
+ action_attempt_id: string;
46568
+ status: 'success';
46569
+ error: null;
46570
+ action_type: 'ENCODE_CARD';
46571
+ result: {
46572
+ /** Matching acs_credential currently encoded on this card. */
46573
+ acs_credential_id: string | null;
46574
+ /** A number or sting that physically identifies this card. */
46575
+ card_number: string | null;
46576
+ };
46577
+ } | {
46578
+ /** The ID of the action attempt. */
46579
+ action_attempt_id: string;
46580
+ status: 'error';
46581
+ result: null;
46582
+ action_type: 'ENCODE_CARD';
46583
+ error: {
46584
+ type: string;
46585
+ message: string;
46586
+ };
45401
46587
  } | {
45402
46588
  /** The ID of the action attempt. */
45403
46589
  action_attempt_id: string;