@seamapi/types 1.264.0 → 1.264.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.
Files changed (27) hide show
  1. package/dist/connect.cjs +74 -41
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +506 -336
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +64 -39
  5. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +61 -21
  6. package/lib/seam/connect/models/action-attempts/deprecated.js +13 -5
  7. package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
  8. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +3 -18
  9. package/lib/seam/connect/models/action-attempts/encode-card.js +1 -12
  10. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  11. package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
  12. package/lib/seam/connect/models/action-attempts/index.js +1 -0
  13. package/lib/seam/connect/models/action-attempts/index.js.map +1 -1
  14. package/lib/seam/connect/openapi.d.ts +69 -36
  15. package/lib/seam/connect/openapi.js +57 -31
  16. package/lib/seam/connect/openapi.js.map +1 -1
  17. package/lib/seam/connect/route-types.d.ts +320 -260
  18. package/lib/seam/connect/schemas.d.ts +1 -1
  19. package/lib/seam/connect/schemas.js +1 -1
  20. package/lib/seam/connect/schemas.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/action-attempts/deprecated.ts +13 -5
  23. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -12
  24. package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
  25. package/src/lib/seam/connect/openapi.ts +57 -33
  26. package/src/lib/seam/connect/route-types.ts +320 -260
  27. package/src/lib/seam/connect/schemas.ts +3 -0
@@ -946,8 +946,8 @@ declare const _default: {
946
946
  properties: {
947
947
  acs_credential_on_encoder?: never;
948
948
  acs_credential_on_seam?: never;
949
- acs_credential_id?: never;
950
- card_number?: never;
949
+ access_code?: never;
950
+ noise_threshold?: never;
951
951
  };
952
952
  type: string;
953
953
  nullable?: never;
@@ -1258,8 +1258,8 @@ declare const _default: {
1258
1258
  type: string;
1259
1259
  }[];
1260
1260
  };
1261
- acs_credential_id?: never;
1262
- card_number?: never;
1261
+ access_code?: never;
1262
+ noise_threshold?: never;
1263
1263
  };
1264
1264
  required: string[];
1265
1265
  type: string;
@@ -1313,7 +1313,38 @@ declare const _default: {
1313
1313
  required: string[];
1314
1314
  type: string;
1315
1315
  } | {
1316
- description: string;
1316
+ properties: {
1317
+ action_attempt_id: {
1318
+ description: string;
1319
+ format: string;
1320
+ type: string;
1321
+ 'x-title': string;
1322
+ };
1323
+ action_type: {
1324
+ enum: string[];
1325
+ type: string;
1326
+ };
1327
+ error: {
1328
+ nullable: boolean;
1329
+ properties?: never;
1330
+ required?: never;
1331
+ type?: never;
1332
+ };
1333
+ result: {
1334
+ nullable: boolean;
1335
+ properties?: never;
1336
+ type?: never;
1337
+ required?: never;
1338
+ };
1339
+ status: {
1340
+ enum: string[];
1341
+ type: string;
1342
+ };
1343
+ };
1344
+ required: string[];
1345
+ type: string;
1346
+ description?: never;
1347
+ } | {
1317
1348
  properties: {
1318
1349
  action_attempt_id: {
1319
1350
  description: string;
@@ -1333,23 +1364,14 @@ declare const _default: {
1333
1364
  };
1334
1365
  result: {
1335
1366
  properties: {
1336
- acs_credential_id: {
1337
- description: string;
1338
- format: string;
1339
- nullable: boolean;
1340
- type: string;
1341
- };
1342
- card_number: {
1343
- description: string;
1344
- nullable: boolean;
1345
- type: string;
1346
- };
1347
1367
  acs_credential_on_encoder?: never;
1348
1368
  acs_credential_on_seam?: never;
1369
+ access_code?: never;
1370
+ noise_threshold?: never;
1349
1371
  };
1350
- required: string[];
1351
1372
  type: string;
1352
1373
  nullable?: never;
1374
+ required?: never;
1353
1375
  };
1354
1376
  status: {
1355
1377
  enum: string[];
@@ -1358,6 +1380,7 @@ declare const _default: {
1358
1380
  };
1359
1381
  required: string[];
1360
1382
  type: string;
1383
+ description?: never;
1361
1384
  } | {
1362
1385
  properties: {
1363
1386
  action_attempt_id: {
@@ -1371,10 +1394,18 @@ declare const _default: {
1371
1394
  type: string;
1372
1395
  };
1373
1396
  error: {
1374
- nullable: boolean;
1375
- properties?: never;
1376
- required?: never;
1377
- type?: never;
1397
+ properties: {
1398
+ message: {
1399
+ type: string;
1400
+ };
1401
+ type: {
1402
+ type: string;
1403
+ enum?: never;
1404
+ };
1405
+ };
1406
+ required: string[];
1407
+ type: string;
1408
+ nullable?: never;
1378
1409
  };
1379
1410
  result: {
1380
1411
  nullable: boolean;
@@ -1409,9 +1440,14 @@ declare const _default: {
1409
1440
  type?: never;
1410
1441
  };
1411
1442
  result: {
1443
+ properties: {
1444
+ access_code: {};
1445
+ acs_credential_on_encoder?: never;
1446
+ acs_credential_on_seam?: never;
1447
+ noise_threshold?: never;
1448
+ };
1449
+ type: string;
1412
1450
  nullable?: never;
1413
- properties?: never;
1414
- type?: never;
1415
1451
  required?: never;
1416
1452
  };
1417
1453
  status: {
@@ -1435,23 +1471,20 @@ declare const _default: {
1435
1471
  type: string;
1436
1472
  };
1437
1473
  error: {
1474
+ nullable: boolean;
1475
+ properties?: never;
1476
+ required?: never;
1477
+ type?: never;
1478
+ };
1479
+ result: {
1438
1480
  properties: {
1439
- message: {
1440
- type: string;
1441
- };
1442
- type: {
1443
- type: string;
1444
- enum?: never;
1445
- };
1481
+ noise_threshold: {};
1482
+ acs_credential_on_encoder?: never;
1483
+ acs_credential_on_seam?: never;
1484
+ access_code?: never;
1446
1485
  };
1447
- required: string[];
1448
1486
  type: string;
1449
1487
  nullable?: never;
1450
- };
1451
- result: {
1452
- nullable: boolean;
1453
- properties?: never;
1454
- type?: never;
1455
1488
  required?: never;
1456
1489
  };
1457
1490
  status: {
@@ -1557,23 +1557,7 @@ export default {
1557
1557
  },
1558
1558
  action_type: { enum: ['ENCODE_CARD'], type: 'string' },
1559
1559
  error: { nullable: true },
1560
- result: {
1561
- properties: {
1562
- acs_credential_id: {
1563
- description: 'Matching acs_credential currently encoded on this card.',
1564
- format: 'uuid',
1565
- nullable: true,
1566
- type: 'string',
1567
- },
1568
- card_number: {
1569
- description: 'A number or string that physically identifies this card.',
1570
- nullable: true,
1571
- type: 'string',
1572
- },
1573
- },
1574
- required: ['acs_credential_id', 'card_number'],
1575
- type: 'object',
1576
- },
1560
+ result: { properties: {}, type: 'object' },
1577
1561
  status: { enum: ['success'], type: 'string' },
1578
1562
  },
1579
1563
  required: [
@@ -2197,10 +2181,16 @@ export default {
2197
2181
  },
2198
2182
  action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
2199
2183
  error: { nullable: true },
2200
- result: {},
2184
+ result: { properties: {}, type: 'object' },
2201
2185
  status: { enum: ['success'], type: 'string' },
2202
2186
  },
2203
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2187
+ required: [
2188
+ 'action_attempt_id',
2189
+ 'status',
2190
+ 'error',
2191
+ 'action_type',
2192
+ 'result',
2193
+ ],
2204
2194
  type: 'object',
2205
2195
  },
2206
2196
  {
@@ -2264,10 +2254,16 @@ export default {
2264
2254
  },
2265
2255
  action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
2266
2256
  error: { nullable: true },
2267
- result: {},
2257
+ result: { properties: { access_code: {} }, type: 'object' },
2268
2258
  status: { enum: ['success'], type: 'string' },
2269
2259
  },
2270
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2260
+ required: [
2261
+ 'action_attempt_id',
2262
+ 'status',
2263
+ 'error',
2264
+ 'action_type',
2265
+ 'result',
2266
+ ],
2271
2267
  type: 'object',
2272
2268
  },
2273
2269
  {
@@ -2331,10 +2327,16 @@ export default {
2331
2327
  },
2332
2328
  action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
2333
2329
  error: { nullable: true },
2334
- result: {},
2330
+ result: { properties: {}, type: 'object' },
2335
2331
  status: { enum: ['success'], type: 'string' },
2336
2332
  },
2337
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2333
+ required: [
2334
+ 'action_attempt_id',
2335
+ 'status',
2336
+ 'error',
2337
+ 'action_type',
2338
+ 'result',
2339
+ ],
2338
2340
  type: 'object',
2339
2341
  },
2340
2342
  {
@@ -2398,10 +2400,16 @@ export default {
2398
2400
  },
2399
2401
  action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
2400
2402
  error: { nullable: true },
2401
- result: {},
2403
+ result: { properties: { access_code: {} }, type: 'object' },
2402
2404
  status: { enum: ['success'], type: 'string' },
2403
2405
  },
2404
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2406
+ required: [
2407
+ 'action_attempt_id',
2408
+ 'status',
2409
+ 'error',
2410
+ 'action_type',
2411
+ 'result',
2412
+ ],
2405
2413
  type: 'object',
2406
2414
  },
2407
2415
  {
@@ -2465,10 +2473,16 @@ export default {
2465
2473
  },
2466
2474
  action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
2467
2475
  error: { nullable: true },
2468
- result: {},
2476
+ result: { properties: { noise_threshold: {} }, type: 'object' },
2469
2477
  status: { enum: ['success'], type: 'string' },
2470
2478
  },
2471
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2479
+ required: [
2480
+ 'action_attempt_id',
2481
+ 'status',
2482
+ 'error',
2483
+ 'action_type',
2484
+ 'result',
2485
+ ],
2472
2486
  type: 'object',
2473
2487
  },
2474
2488
  {
@@ -2532,10 +2546,16 @@ export default {
2532
2546
  },
2533
2547
  action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
2534
2548
  error: { nullable: true },
2535
- result: {},
2549
+ result: { properties: {}, type: 'object' },
2536
2550
  status: { enum: ['success'], type: 'string' },
2537
2551
  },
2538
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2552
+ required: [
2553
+ 'action_attempt_id',
2554
+ 'status',
2555
+ 'error',
2556
+ 'action_type',
2557
+ 'result',
2558
+ ],
2539
2559
  type: 'object',
2540
2560
  },
2541
2561
  {
@@ -2599,10 +2619,16 @@ export default {
2599
2619
  },
2600
2620
  action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
2601
2621
  error: { nullable: true },
2602
- result: {},
2622
+ result: { properties: { noise_threshold: {} }, type: 'object' },
2603
2623
  status: { enum: ['success'], type: 'string' },
2604
2624
  },
2605
- required: ['action_attempt_id', 'status', 'error', 'action_type'],
2625
+ required: [
2626
+ 'action_attempt_id',
2627
+ 'status',
2628
+ 'error',
2629
+ 'action_type',
2630
+ 'result',
2631
+ ],
2606
2632
  type: 'object',
2607
2633
  },
2608
2634
  {