@marcohefti/request-network-api-client 0.5.12 → 0.6.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 (82) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/domains/currencies/v1/index.js +288 -0
  3. package/dist/cjs/domains/currencies/v1/index.js.map +1 -0
  4. package/dist/cjs/domains/pay/index.js +251 -0
  5. package/dist/cjs/domains/pay/index.js.map +1 -0
  6. package/dist/cjs/domains/pay/v1/index.js +241 -0
  7. package/dist/cjs/domains/pay/v1/index.js.map +1 -0
  8. package/dist/cjs/domains/payer/v1/index.js +355 -0
  9. package/dist/cjs/domains/payer/v1/index.js.map +1 -0
  10. package/dist/cjs/domains/payer/v2/index.js +355 -0
  11. package/dist/cjs/domains/payer/v2/index.js.map +1 -0
  12. package/dist/cjs/domains/payments/index.js +274 -0
  13. package/dist/cjs/domains/payments/index.js.map +1 -0
  14. package/dist/cjs/domains/requests/index.js +38 -10
  15. package/dist/cjs/domains/requests/index.js.map +1 -1
  16. package/dist/cjs/domains/requests/v1/index.js +499 -0
  17. package/dist/cjs/domains/requests/v1/index.js.map +1 -0
  18. package/dist/cjs/domains/secure-payments/index.js +248 -0
  19. package/dist/cjs/domains/secure-payments/index.js.map +1 -0
  20. package/dist/cjs/index.js +234 -242
  21. package/dist/cjs/index.js.map +1 -1
  22. package/dist/esm/{index-DJGHELE1.d.mts → currencies.v1.facade-ROQlpyCp.d.mts} +2 -34
  23. package/dist/esm/domains/client-ids/index.d.mts +2 -2
  24. package/dist/esm/domains/currencies/index.d.mts +3 -2
  25. package/dist/esm/domains/currencies/v1/index.d.mts +3 -0
  26. package/dist/esm/domains/currencies/v1/index.js +286 -0
  27. package/dist/esm/domains/currencies/v1/index.js.map +1 -0
  28. package/dist/esm/domains/pay/index.d.mts +3 -0
  29. package/dist/esm/domains/pay/index.js +248 -0
  30. package/dist/esm/domains/pay/index.js.map +1 -0
  31. package/dist/esm/domains/pay/v1/index.d.mts +2 -0
  32. package/dist/esm/domains/pay/v1/index.js +239 -0
  33. package/dist/esm/domains/pay/v1/index.js.map +1 -0
  34. package/dist/esm/domains/payer/index.d.mts +4 -2
  35. package/dist/esm/domains/payer/v1/index.d.mts +2 -0
  36. package/dist/esm/domains/payer/v1/index.js +353 -0
  37. package/dist/esm/domains/payer/v1/index.js.map +1 -0
  38. package/dist/esm/domains/payer/v2/index.d.mts +2 -0
  39. package/dist/esm/domains/payer/v2/index.js +353 -0
  40. package/dist/esm/domains/payer/v2/index.js.map +1 -0
  41. package/dist/esm/domains/payments/index.d.mts +3 -0
  42. package/dist/esm/domains/payments/index.js +272 -0
  43. package/dist/esm/domains/payments/index.js.map +1 -0
  44. package/dist/esm/domains/payouts/index.d.mts +2 -2
  45. package/dist/esm/domains/requests/index.d.mts +3 -2
  46. package/dist/esm/domains/requests/index.js +38 -10
  47. package/dist/esm/domains/requests/index.js.map +1 -1
  48. package/dist/esm/domains/requests/v1/index.d.mts +3 -0
  49. package/dist/esm/domains/requests/v1/index.js +497 -0
  50. package/dist/esm/domains/requests/v1/index.js.map +1 -0
  51. package/dist/esm/domains/secure-payments/index.d.mts +2 -0
  52. package/dist/esm/domains/secure-payments/index.js +246 -0
  53. package/dist/esm/domains/secure-payments/index.js.map +1 -0
  54. package/dist/esm/index-4zmukpkJ.d.mts +12 -0
  55. package/dist/esm/index-BPikysYP.d.mts +10 -0
  56. package/dist/esm/index-BlEg0bI1.d.mts +25 -0
  57. package/dist/esm/{index-hYoC2ndH.d.mts → index-CBcZqEQp.d.mts} +1 -1
  58. package/dist/esm/index-CS9UrTd6.d.mts +10 -0
  59. package/dist/esm/index-CeMw0yOZ.d.mts +3393 -0
  60. package/dist/esm/index-DPVFRK3h.d.mts +36 -0
  61. package/dist/esm/{index-DbnV_D6L.d.mts → index-DPx06HBi.d.mts} +18 -58
  62. package/dist/esm/index-DZ0iw_Xz.d.mts +10 -0
  63. package/dist/esm/index-DpFThmL3.d.mts +57 -0
  64. package/dist/esm/{index-y1nxa55y.d.mts → index-DuMayMNI.d.mts} +1 -1
  65. package/dist/esm/index-Kx46FKbk.d.mts +38 -0
  66. package/dist/esm/index-srhKdWh7.d.mts +21 -0
  67. package/dist/esm/index.d.mts +31 -3520
  68. package/dist/esm/index.js +234 -242
  69. package/dist/esm/index.js.map +1 -1
  70. package/dist/esm/{openapi-types-CQ1z27_K.d.mts → openapi-types-JhYQOcil.d.mts} +252 -117
  71. package/dist/esm/pay.v1.facade-wxvuDX9t.d.mts +17 -0
  72. package/dist/esm/payer.v1.facade-Rcl1BBPl.d.mts +31 -0
  73. package/dist/esm/payer.v2.facade-BqcIOIBY.d.mts +31 -0
  74. package/dist/esm/request.helpers-DgzNANMt.d.mts +51 -0
  75. package/package.json +6 -6
  76. package/dist/cjs/domains/payee-destination/index.js +0 -276
  77. package/dist/cjs/domains/payee-destination/index.js.map +0 -1
  78. package/dist/esm/domains/payee-destination/index.d.mts +0 -2
  79. package/dist/esm/domains/payee-destination/index.js +0 -274
  80. package/dist/esm/domains/payee-destination/index.js.map +0 -1
  81. package/dist/esm/index-DJjp2Jbk.d.mts +0 -79
  82. package/dist/esm/index-DQIf9k5x.d.mts +0 -31
package/dist/esm/index.js CHANGED
@@ -952,14 +952,14 @@ function buildPath(template, params) {
952
952
 
953
953
  // src/domains/client-ids/client-ids.facade.ts
954
954
  function createClientIdsApi(http) {
955
- const PATH_BASE2 = "/v2/client-ids";
955
+ const PATH_BASE3 = "/v2/client-ids";
956
956
  return {
957
957
  async list() {
958
958
  const OP = "ClientIdV2Controller_findAll_v2";
959
959
  return requestJson(http, {
960
960
  operationId: OP,
961
961
  method: "GET",
962
- path: PATH_BASE2,
962
+ path: PATH_BASE3,
963
963
  schemaKey: { operationId: OP, kind: "response", status: 200 },
964
964
  description: "List client IDs"
965
965
  });
@@ -969,7 +969,7 @@ function createClientIdsApi(http) {
969
969
  return requestJson(http, {
970
970
  operationId: OP,
971
971
  method: "POST",
972
- path: PATH_BASE2,
972
+ path: PATH_BASE3,
973
973
  body,
974
974
  requestSchemaKey: { operationId: OP, kind: "request", variant: "application/json" },
975
975
  schemaKey: { operationId: OP, kind: "response", status: 201 },
@@ -977,7 +977,7 @@ function createClientIdsApi(http) {
977
977
  });
978
978
  },
979
979
  async findOne(id) {
980
- const path = buildPath(`${PATH_BASE2}/{id}`, { id });
980
+ const path = buildPath(`${PATH_BASE3}/{id}`, { id });
981
981
  const OP = "ClientIdV2Controller_findOne_v2";
982
982
  return requestJson(http, {
983
983
  operationId: OP,
@@ -988,7 +988,7 @@ function createClientIdsApi(http) {
988
988
  });
989
989
  },
990
990
  async update(id, body) {
991
- const path = buildPath(`${PATH_BASE2}/{id}`, { id });
991
+ const path = buildPath(`${PATH_BASE3}/{id}`, { id });
992
992
  const OP = "ClientIdV2Controller_update_v2";
993
993
  return requestJson(http, {
994
994
  operationId: OP,
@@ -1001,7 +1001,7 @@ function createClientIdsApi(http) {
1001
1001
  });
1002
1002
  },
1003
1003
  async revoke(id) {
1004
- const path = buildPath(`${PATH_BASE2}/{id}`, { id });
1004
+ const path = buildPath(`${PATH_BASE3}/{id}`, { id });
1005
1005
  const OP = "ClientIdV2Controller_delete_v2";
1006
1006
  await requestVoid(http, {
1007
1007
  operationId: OP,
@@ -1430,151 +1430,6 @@ function createPayApi(http) {
1430
1430
  };
1431
1431
  }
1432
1432
 
1433
- // src/domains/payee-destination/index.ts
1434
- var payee_destination_exports = {};
1435
- __export(payee_destination_exports, {
1436
- createPayeeDestinationApi: () => createPayeeDestinationApi
1437
- });
1438
-
1439
- // src/domains/payee-destination/payee-destination.facade.ts
1440
- var OP_GET_SIGNING_DATA = "PayeeDestinationController_getSigningData_v2";
1441
- var OP_GET_ACTIVE = "PayeeDestinationController_getActivePayeeDestination_v2";
1442
- var OP_CREATE = "PayeeDestinationController_createPayeeDestination_v2";
1443
- var OP_GET_BY_ID = "PayeeDestinationController_getPayeeDestination_v2";
1444
- var OP_DEACTIVATE = "PayeeDestinationController_deactivatePayeeDestination_v2";
1445
- var PATH_BASE = "/v2/payee-destination";
1446
- function createPayeeDestinationApi(http) {
1447
- return {
1448
- async getSigningData(query, options) {
1449
- return requestJson(http, {
1450
- operationId: OP_GET_SIGNING_DATA,
1451
- method: "GET",
1452
- path: `${PATH_BASE}/signing-data`,
1453
- query,
1454
- schemaKey: { operationId: OP_GET_SIGNING_DATA, kind: "response", status: 200 },
1455
- description: "Get payee destination signing data",
1456
- signal: options?.signal,
1457
- timeoutMs: options?.timeoutMs,
1458
- validation: options?.validation,
1459
- meta: options?.meta
1460
- });
1461
- },
1462
- async getActive(walletAddress, options) {
1463
- return requestJson(http, {
1464
- operationId: OP_GET_ACTIVE,
1465
- method: "GET",
1466
- path: PATH_BASE,
1467
- query: { walletAddress },
1468
- schemaKey: { operationId: OP_GET_ACTIVE, kind: "response", status: 200 },
1469
- description: "Get active payee destination",
1470
- signal: options?.signal,
1471
- timeoutMs: options?.timeoutMs,
1472
- validation: options?.validation,
1473
- meta: options?.meta
1474
- });
1475
- },
1476
- async create(body, options) {
1477
- return requestJson(http, {
1478
- operationId: OP_CREATE,
1479
- method: "POST",
1480
- path: PATH_BASE,
1481
- body,
1482
- requestSchemaKey: { operationId: OP_CREATE, kind: "request", variant: "application/json" },
1483
- schemaKey: { operationId: OP_CREATE, kind: "response", status: 201 },
1484
- description: "Create payee destination",
1485
- signal: options?.signal,
1486
- timeoutMs: options?.timeoutMs,
1487
- validation: options?.validation,
1488
- meta: options?.meta
1489
- });
1490
- },
1491
- async getById(destinationId, options) {
1492
- return requestJson(http, {
1493
- operationId: OP_GET_BY_ID,
1494
- method: "GET",
1495
- path: `${PATH_BASE}/${encodeURIComponent(destinationId)}`,
1496
- schemaKey: { operationId: OP_GET_BY_ID, kind: "response", status: 200 },
1497
- description: "Get payee destination by ID",
1498
- signal: options?.signal,
1499
- timeoutMs: options?.timeoutMs,
1500
- validation: options?.validation,
1501
- meta: options?.meta
1502
- });
1503
- },
1504
- async deactivate(destinationId, body, options) {
1505
- return requestJson(http, {
1506
- operationId: OP_DEACTIVATE,
1507
- method: "DELETE",
1508
- path: `${PATH_BASE}/${encodeURIComponent(destinationId)}`,
1509
- body,
1510
- requestSchemaKey: { operationId: OP_DEACTIVATE, kind: "request", variant: "application/json" },
1511
- schemaKey: { operationId: OP_DEACTIVATE, kind: "response", status: 200 },
1512
- description: "Deactivate payee destination",
1513
- signal: options?.signal,
1514
- timeoutMs: options?.timeoutMs,
1515
- validation: options?.validation,
1516
- meta: options?.meta
1517
- });
1518
- }
1519
- };
1520
- }
1521
- var ErrorDetailSchema4 = z.object({
1522
- message: z.string(),
1523
- code: z.string().optional(),
1524
- field: z.string().optional(),
1525
- source: z.object({
1526
- pointer: z.string().optional(),
1527
- parameter: z.string().optional()
1528
- }).passthrough().optional(),
1529
- meta: z.record(z.unknown()).optional()
1530
- }).passthrough();
1531
- var ErrorEnvelopeSchema4 = z.object({
1532
- status: z.number().optional(),
1533
- statusCode: z.number().optional(),
1534
- code: z.string().optional(),
1535
- error: z.string().optional(),
1536
- message: z.union([
1537
- z.string(),
1538
- z.array(z.union([z.string(), ErrorDetailSchema4])),
1539
- ErrorDetailSchema4
1540
- ]).optional(),
1541
- detail: z.unknown().optional(),
1542
- errors: z.array(ErrorDetailSchema4).optional(),
1543
- requestId: z.string().optional(),
1544
- correlationId: z.string().optional(),
1545
- retryAfter: z.union([z.number(), z.string()]).optional(),
1546
- retryAfterMs: z.number().optional(),
1547
- meta: z.record(z.unknown()).optional()
1548
- }).passthrough();
1549
- var PayeeDestinationController_getSigningData_v2_200 = z.unknown();
1550
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getSigningData_v2", kind: "response", status: 200 }, schema: PayeeDestinationController_getSigningData_v2_200 });
1551
- var PayeeDestinationController_getSigningData_v2_429 = ErrorEnvelopeSchema4;
1552
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getSigningData_v2", kind: "response", status: 429 }, schema: PayeeDestinationController_getSigningData_v2_429 });
1553
- var PayeeDestinationController_getActivePayeeDestination_v2_200 = z.unknown();
1554
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getActivePayeeDestination_v2", kind: "response", status: 200 }, schema: PayeeDestinationController_getActivePayeeDestination_v2_200 });
1555
- var PayeeDestinationController_getActivePayeeDestination_v2_429 = ErrorEnvelopeSchema4;
1556
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getActivePayeeDestination_v2", kind: "response", status: 429 }, schema: PayeeDestinationController_getActivePayeeDestination_v2_429 });
1557
- var PayeeDestinationController_createPayeeDestination_v2_Request = z.object({ "signature": z.string(), "nonce": z.string() }).passthrough();
1558
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_createPayeeDestination_v2", kind: "request", variant: "application/json" }, schema: PayeeDestinationController_createPayeeDestination_v2_Request });
1559
- var PayeeDestinationController_createPayeeDestination_v2_201 = z.unknown();
1560
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_createPayeeDestination_v2", kind: "response", status: 201 }, schema: PayeeDestinationController_createPayeeDestination_v2_201 });
1561
- var PayeeDestinationController_createPayeeDestination_v2_429 = ErrorEnvelopeSchema4;
1562
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_createPayeeDestination_v2", kind: "response", status: 429 }, schema: PayeeDestinationController_createPayeeDestination_v2_429 });
1563
- var PayeeDestinationController_getPayeeDestination_v2_200 = z.unknown();
1564
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getPayeeDestination_v2", kind: "response", status: 200 }, schema: PayeeDestinationController_getPayeeDestination_v2_200 });
1565
- var PayeeDestinationController_getPayeeDestination_v2_404 = ErrorEnvelopeSchema4;
1566
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getPayeeDestination_v2", kind: "response", status: 404 }, schema: PayeeDestinationController_getPayeeDestination_v2_404 });
1567
- var PayeeDestinationController_getPayeeDestination_v2_429 = ErrorEnvelopeSchema4;
1568
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_getPayeeDestination_v2", kind: "response", status: 429 }, schema: PayeeDestinationController_getPayeeDestination_v2_429 });
1569
- var PayeeDestinationController_deactivatePayeeDestination_v2_Request = z.object({ "signature": z.string(), "nonce": z.string() }).passthrough();
1570
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_deactivatePayeeDestination_v2", kind: "request", variant: "application/json" }, schema: PayeeDestinationController_deactivatePayeeDestination_v2_Request });
1571
- var PayeeDestinationController_deactivatePayeeDestination_v2_200 = z.unknown();
1572
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_deactivatePayeeDestination_v2", kind: "response", status: 200 }, schema: PayeeDestinationController_deactivatePayeeDestination_v2_200 });
1573
- var PayeeDestinationController_deactivatePayeeDestination_v2_400 = ErrorEnvelopeSchema4;
1574
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_deactivatePayeeDestination_v2", kind: "response", status: 400 }, schema: PayeeDestinationController_deactivatePayeeDestination_v2_400 });
1575
- var PayeeDestinationController_deactivatePayeeDestination_v2_429 = ErrorEnvelopeSchema4;
1576
- schemaRegistry.register({ key: { operationId: "PayeeDestinationController_deactivatePayeeDestination_v2", kind: "response", status: 429 }, schema: PayeeDestinationController_deactivatePayeeDestination_v2_429 });
1577
-
1578
1433
  // src/domains/payer/index.ts
1579
1434
  var payer_exports = {};
1580
1435
  __export(payer_exports, {
@@ -1674,7 +1529,7 @@ function createPayerV1Api(http) {
1674
1529
  }
1675
1530
  };
1676
1531
  }
1677
- var ErrorDetailSchema5 = z.object({
1532
+ var ErrorDetailSchema4 = z.object({
1678
1533
  message: z.string(),
1679
1534
  code: z.string().optional(),
1680
1535
  field: z.string().optional(),
@@ -1684,18 +1539,18 @@ var ErrorDetailSchema5 = z.object({
1684
1539
  }).passthrough().optional(),
1685
1540
  meta: z.record(z.unknown()).optional()
1686
1541
  }).passthrough();
1687
- var ErrorEnvelopeSchema5 = z.object({
1542
+ var ErrorEnvelopeSchema4 = z.object({
1688
1543
  status: z.number().optional(),
1689
1544
  statusCode: z.number().optional(),
1690
1545
  code: z.string().optional(),
1691
1546
  error: z.string().optional(),
1692
1547
  message: z.union([
1693
1548
  z.string(),
1694
- z.array(z.union([z.string(), ErrorDetailSchema5])),
1695
- ErrorDetailSchema5
1549
+ z.array(z.union([z.string(), ErrorDetailSchema4])),
1550
+ ErrorDetailSchema4
1696
1551
  ]).optional(),
1697
1552
  detail: z.unknown().optional(),
1698
- errors: z.array(ErrorDetailSchema5).optional(),
1553
+ errors: z.array(ErrorDetailSchema4).optional(),
1699
1554
  requestId: z.string().optional(),
1700
1555
  correlationId: z.string().optional(),
1701
1556
  retryAfter: z.union([z.number(), z.string()]).optional(),
@@ -1708,19 +1563,19 @@ var PayerV1Controller_getComplianceData_v1_200 = z.object({ "agreementUrl": z.st
1708
1563
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 200 }, schema: PayerV1Controller_getComplianceData_v1_200 });
1709
1564
  var PayerV1Controller_getComplianceData_v1_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1710
1565
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 400 }, schema: PayerV1Controller_getComplianceData_v1_400 });
1711
- var PayerV1Controller_getComplianceData_v1_401 = ErrorEnvelopeSchema5;
1566
+ var PayerV1Controller_getComplianceData_v1_401 = ErrorEnvelopeSchema4;
1712
1567
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 401 }, schema: PayerV1Controller_getComplianceData_v1_401 });
1713
1568
  var PayerV1Controller_getComplianceData_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1714
1569
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 404 }, schema: PayerV1Controller_getComplianceData_v1_404 });
1715
- var PayerV1Controller_getComplianceData_v1_429 = ErrorEnvelopeSchema5;
1570
+ var PayerV1Controller_getComplianceData_v1_429 = ErrorEnvelopeSchema4;
1716
1571
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 429 }, schema: PayerV1Controller_getComplianceData_v1_429 });
1717
1572
  var PayerV1Controller_getComplianceStatus_v1_200 = z.object({ "kycStatus": z.string().optional(), "agreementStatus": z.string().optional(), "isCompliant": z.boolean().optional(), "userId": z.string().optional() }).passthrough();
1718
1573
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 200 }, schema: PayerV1Controller_getComplianceStatus_v1_200 });
1719
- var PayerV1Controller_getComplianceStatus_v1_401 = ErrorEnvelopeSchema5;
1574
+ var PayerV1Controller_getComplianceStatus_v1_401 = ErrorEnvelopeSchema4;
1720
1575
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 401 }, schema: PayerV1Controller_getComplianceStatus_v1_401 });
1721
1576
  var PayerV1Controller_getComplianceStatus_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1722
1577
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 404 }, schema: PayerV1Controller_getComplianceStatus_v1_404 });
1723
- var PayerV1Controller_getComplianceStatus_v1_429 = ErrorEnvelopeSchema5;
1578
+ var PayerV1Controller_getComplianceStatus_v1_429 = ErrorEnvelopeSchema4;
1724
1579
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 429 }, schema: PayerV1Controller_getComplianceStatus_v1_429 });
1725
1580
  var PayerV1Controller_updateComplianceStatus_v1_Request = z.object({ "agreementCompleted": z.boolean() }).passthrough();
1726
1581
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "request", variant: "application/json" }, schema: PayerV1Controller_updateComplianceStatus_v1_Request });
@@ -1728,19 +1583,19 @@ var PayerV1Controller_updateComplianceStatus_v1_200 = z.object({ "success": z.bo
1728
1583
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 200 }, schema: PayerV1Controller_updateComplianceStatus_v1_200 });
1729
1584
  var PayerV1Controller_updateComplianceStatus_v1_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1730
1585
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 400 }, schema: PayerV1Controller_updateComplianceStatus_v1_400 });
1731
- var PayerV1Controller_updateComplianceStatus_v1_401 = ErrorEnvelopeSchema5;
1586
+ var PayerV1Controller_updateComplianceStatus_v1_401 = ErrorEnvelopeSchema4;
1732
1587
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 401 }, schema: PayerV1Controller_updateComplianceStatus_v1_401 });
1733
1588
  var PayerV1Controller_updateComplianceStatus_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1734
1589
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 404 }, schema: PayerV1Controller_updateComplianceStatus_v1_404 });
1735
- var PayerV1Controller_updateComplianceStatus_v1_429 = ErrorEnvelopeSchema5;
1590
+ var PayerV1Controller_updateComplianceStatus_v1_429 = ErrorEnvelopeSchema4;
1736
1591
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 429 }, schema: PayerV1Controller_updateComplianceStatus_v1_429 });
1737
1592
  var PayerV1Controller_getPaymentDetails_v1_200 = z.object({ "paymentDetails": z.array(z.object({ "id": z.string().optional(), "userId": z.string().optional(), "bankName": z.string().optional(), "accountName": z.string().optional(), "beneficiaryType": z.string().optional(), "accountNumber": z.string().optional(), "routingNumber": z.string().optional(), "currency": z.string().optional(), "status": z.string().optional(), "rails": z.string().optional() }).passthrough()).optional() }).passthrough();
1738
1593
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 200 }, schema: PayerV1Controller_getPaymentDetails_v1_200 });
1739
- var PayerV1Controller_getPaymentDetails_v1_401 = ErrorEnvelopeSchema5;
1594
+ var PayerV1Controller_getPaymentDetails_v1_401 = ErrorEnvelopeSchema4;
1740
1595
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 401 }, schema: PayerV1Controller_getPaymentDetails_v1_401 });
1741
1596
  var PayerV1Controller_getPaymentDetails_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1742
1597
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 404 }, schema: PayerV1Controller_getPaymentDetails_v1_404 });
1743
- var PayerV1Controller_getPaymentDetails_v1_429 = ErrorEnvelopeSchema5;
1598
+ var PayerV1Controller_getPaymentDetails_v1_429 = ErrorEnvelopeSchema4;
1744
1599
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 429 }, schema: PayerV1Controller_getPaymentDetails_v1_429 });
1745
1600
  var PayerV1Controller_createPaymentDetails_v1_Request = z.object({ "bankName": z.string(), "accountName": z.string(), "accountNumber": z.string().optional(), "routingNumber": z.string().optional(), "beneficiaryType": z.enum(["individual", "business"]), "currency": z.string(), "addressLine1": z.string(), "addressLine2": z.string().optional(), "city": z.string(), "state": z.string().optional(), "country": z.string(), "dateOfBirth": z.string(), "postalCode": z.string(), "rails": z.enum(["local", "swift", "wire"]).optional(), "sortCode": z.string().optional(), "iban": z.string().optional(), "swiftBic": z.string().optional(), "documentNumber": z.string().optional(), "documentType": z.string().optional(), "accountType": z.enum(["checking", "savings"]).optional(), "ribNumber": z.string().optional(), "bsbNumber": z.string().optional(), "ncc": z.string().optional(), "branchCode": z.string().optional(), "bankCode": z.string().optional(), "ifsc": z.string().optional() }).passthrough();
1746
1601
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "request", variant: "application/json" }, schema: PayerV1Controller_createPaymentDetails_v1_Request });
@@ -1748,11 +1603,11 @@ var PayerV1Controller_createPaymentDetails_v1_201 = z.object({ "payment_detail":
1748
1603
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 201 }, schema: PayerV1Controller_createPaymentDetails_v1_201 });
1749
1604
  var PayerV1Controller_createPaymentDetails_v1_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1750
1605
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 400 }, schema: PayerV1Controller_createPaymentDetails_v1_400 });
1751
- var PayerV1Controller_createPaymentDetails_v1_401 = ErrorEnvelopeSchema5;
1606
+ var PayerV1Controller_createPaymentDetails_v1_401 = ErrorEnvelopeSchema4;
1752
1607
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 401 }, schema: PayerV1Controller_createPaymentDetails_v1_401 });
1753
1608
  var PayerV1Controller_createPaymentDetails_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1754
1609
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 404 }, schema: PayerV1Controller_createPaymentDetails_v1_404 });
1755
- var PayerV1Controller_createPaymentDetails_v1_429 = ErrorEnvelopeSchema5;
1610
+ var PayerV1Controller_createPaymentDetails_v1_429 = ErrorEnvelopeSchema4;
1756
1611
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 429 }, schema: PayerV1Controller_createPaymentDetails_v1_429 });
1757
1612
  var PayerV2Controller_getComplianceData_v2_Request = z.object({ "clientUserId": z.string(), "email": z.string(), "firstName": z.string(), "lastName": z.string(), "beneficiaryType": z.enum(["individual", "business"]), "companyName": z.string().optional(), "dateOfBirth": z.string(), "addressLine1": z.string(), "addressLine2": z.string().optional(), "city": z.string(), "state": z.string(), "postcode": z.string(), "country": z.string(), "nationality": z.string(), "phone": z.string(), "ssn": z.string(), "sourceOfFunds": z.string().optional(), "businessActivity": z.string().optional() }).passthrough();
1758
1613
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "request", variant: "application/json" }, schema: PayerV2Controller_getComplianceData_v2_Request });
@@ -1760,19 +1615,19 @@ var PayerV2Controller_getComplianceData_v2_200 = z.object({ "agreementUrl": z.st
1760
1615
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 200 }, schema: PayerV2Controller_getComplianceData_v2_200 });
1761
1616
  var PayerV2Controller_getComplianceData_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1762
1617
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 400 }, schema: PayerV2Controller_getComplianceData_v2_400 });
1763
- var PayerV2Controller_getComplianceData_v2_401 = ErrorEnvelopeSchema5;
1618
+ var PayerV2Controller_getComplianceData_v2_401 = ErrorEnvelopeSchema4;
1764
1619
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 401 }, schema: PayerV2Controller_getComplianceData_v2_401 });
1765
1620
  var PayerV2Controller_getComplianceData_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1766
1621
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 404 }, schema: PayerV2Controller_getComplianceData_v2_404 });
1767
- var PayerV2Controller_getComplianceData_v2_429 = ErrorEnvelopeSchema5;
1622
+ var PayerV2Controller_getComplianceData_v2_429 = ErrorEnvelopeSchema4;
1768
1623
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 429 }, schema: PayerV2Controller_getComplianceData_v2_429 });
1769
1624
  var PayerV2Controller_getComplianceStatus_v2_200 = z.object({ "kycStatus": z.string().optional(), "agreementStatus": z.string().optional(), "isCompliant": z.boolean().optional(), "userId": z.string().optional() }).passthrough();
1770
1625
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 200 }, schema: PayerV2Controller_getComplianceStatus_v2_200 });
1771
- var PayerV2Controller_getComplianceStatus_v2_401 = ErrorEnvelopeSchema5;
1626
+ var PayerV2Controller_getComplianceStatus_v2_401 = ErrorEnvelopeSchema4;
1772
1627
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 401 }, schema: PayerV2Controller_getComplianceStatus_v2_401 });
1773
1628
  var PayerV2Controller_getComplianceStatus_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1774
1629
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 404 }, schema: PayerV2Controller_getComplianceStatus_v2_404 });
1775
- var PayerV2Controller_getComplianceStatus_v2_429 = ErrorEnvelopeSchema5;
1630
+ var PayerV2Controller_getComplianceStatus_v2_429 = ErrorEnvelopeSchema4;
1776
1631
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 429 }, schema: PayerV2Controller_getComplianceStatus_v2_429 });
1777
1632
  var PayerV2Controller_updateComplianceStatus_v2_Request = z.object({ "agreementCompleted": z.boolean() }).passthrough();
1778
1633
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "request", variant: "application/json" }, schema: PayerV2Controller_updateComplianceStatus_v2_Request });
@@ -1780,19 +1635,19 @@ var PayerV2Controller_updateComplianceStatus_v2_200 = z.object({ "success": z.bo
1780
1635
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 200 }, schema: PayerV2Controller_updateComplianceStatus_v2_200 });
1781
1636
  var PayerV2Controller_updateComplianceStatus_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1782
1637
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 400 }, schema: PayerV2Controller_updateComplianceStatus_v2_400 });
1783
- var PayerV2Controller_updateComplianceStatus_v2_401 = ErrorEnvelopeSchema5;
1638
+ var PayerV2Controller_updateComplianceStatus_v2_401 = ErrorEnvelopeSchema4;
1784
1639
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 401 }, schema: PayerV2Controller_updateComplianceStatus_v2_401 });
1785
1640
  var PayerV2Controller_updateComplianceStatus_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1786
1641
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 404 }, schema: PayerV2Controller_updateComplianceStatus_v2_404 });
1787
- var PayerV2Controller_updateComplianceStatus_v2_429 = ErrorEnvelopeSchema5;
1642
+ var PayerV2Controller_updateComplianceStatus_v2_429 = ErrorEnvelopeSchema4;
1788
1643
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 429 }, schema: PayerV2Controller_updateComplianceStatus_v2_429 });
1789
1644
  var PayerV2Controller_getPaymentDetails_v2_200 = z.object({ "paymentDetails": z.array(z.object({ "id": z.string().optional(), "userId": z.string().optional(), "bankName": z.string().optional(), "accountName": z.string().optional(), "beneficiaryType": z.string().optional(), "accountNumber": z.string().optional(), "routingNumber": z.string().optional(), "currency": z.string().optional(), "status": z.string().optional(), "rails": z.string().optional() }).passthrough()).optional() }).passthrough();
1790
1645
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 200 }, schema: PayerV2Controller_getPaymentDetails_v2_200 });
1791
- var PayerV2Controller_getPaymentDetails_v2_401 = ErrorEnvelopeSchema5;
1646
+ var PayerV2Controller_getPaymentDetails_v2_401 = ErrorEnvelopeSchema4;
1792
1647
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 401 }, schema: PayerV2Controller_getPaymentDetails_v2_401 });
1793
1648
  var PayerV2Controller_getPaymentDetails_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1794
1649
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 404 }, schema: PayerV2Controller_getPaymentDetails_v2_404 });
1795
- var PayerV2Controller_getPaymentDetails_v2_429 = ErrorEnvelopeSchema5;
1650
+ var PayerV2Controller_getPaymentDetails_v2_429 = ErrorEnvelopeSchema4;
1796
1651
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 429 }, schema: PayerV2Controller_getPaymentDetails_v2_429 });
1797
1652
  var PayerV2Controller_createPaymentDetails_v2_Request = z.object({ "bankName": z.string(), "accountName": z.string(), "accountNumber": z.string().optional(), "routingNumber": z.string().optional(), "beneficiaryType": z.enum(["individual", "business"]), "currency": z.string(), "addressLine1": z.string(), "addressLine2": z.string().optional(), "city": z.string(), "state": z.string().optional(), "country": z.string(), "dateOfBirth": z.string(), "postalCode": z.string(), "rails": z.enum(["local", "swift", "wire"]).optional(), "sortCode": z.string().optional(), "iban": z.string().optional(), "swiftBic": z.string().optional(), "documentNumber": z.string().optional(), "documentType": z.string().optional(), "accountType": z.enum(["checking", "savings"]).optional(), "ribNumber": z.string().optional(), "bsbNumber": z.string().optional(), "ncc": z.string().optional(), "branchCode": z.string().optional(), "bankCode": z.string().optional(), "ifsc": z.string().optional() }).passthrough();
1798
1653
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "request", variant: "application/json" }, schema: PayerV2Controller_createPaymentDetails_v2_Request });
@@ -1800,11 +1655,11 @@ var PayerV2Controller_createPaymentDetails_v2_201 = z.object({ "payment_detail":
1800
1655
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 201 }, schema: PayerV2Controller_createPaymentDetails_v2_201 });
1801
1656
  var PayerV2Controller_createPaymentDetails_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1802
1657
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 400 }, schema: PayerV2Controller_createPaymentDetails_v2_400 });
1803
- var PayerV2Controller_createPaymentDetails_v2_401 = ErrorEnvelopeSchema5;
1658
+ var PayerV2Controller_createPaymentDetails_v2_401 = ErrorEnvelopeSchema4;
1804
1659
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 401 }, schema: PayerV2Controller_createPaymentDetails_v2_401 });
1805
1660
  var PayerV2Controller_createPaymentDetails_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1806
1661
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 404 }, schema: PayerV2Controller_createPaymentDetails_v2_404 });
1807
- var PayerV2Controller_createPaymentDetails_v2_429 = ErrorEnvelopeSchema5;
1662
+ var PayerV2Controller_createPaymentDetails_v2_429 = ErrorEnvelopeSchema4;
1808
1663
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 429 }, schema: PayerV2Controller_createPaymentDetails_v2_429 });
1809
1664
 
1810
1665
  // src/domains/payer/v2/index.ts
@@ -1911,7 +1766,7 @@ var payments_exports = {};
1911
1766
  __export(payments_exports, {
1912
1767
  createPaymentsApi: () => createPaymentsApi
1913
1768
  });
1914
- var ErrorDetailSchema6 = z.object({
1769
+ var ErrorDetailSchema5 = z.object({
1915
1770
  message: z.string(),
1916
1771
  code: z.string().optional(),
1917
1772
  field: z.string().optional(),
@@ -1921,18 +1776,18 @@ var ErrorDetailSchema6 = z.object({
1921
1776
  }).passthrough().optional(),
1922
1777
  meta: z.record(z.unknown()).optional()
1923
1778
  }).passthrough();
1924
- var ErrorEnvelopeSchema6 = z.object({
1779
+ var ErrorEnvelopeSchema5 = z.object({
1925
1780
  status: z.number().optional(),
1926
1781
  statusCode: z.number().optional(),
1927
1782
  code: z.string().optional(),
1928
1783
  error: z.string().optional(),
1929
1784
  message: z.union([
1930
1785
  z.string(),
1931
- z.array(z.union([z.string(), ErrorDetailSchema6])),
1932
- ErrorDetailSchema6
1786
+ z.array(z.union([z.string(), ErrorDetailSchema5])),
1787
+ ErrorDetailSchema5
1933
1788
  ]).optional(),
1934
1789
  detail: z.unknown().optional(),
1935
- errors: z.array(ErrorDetailSchema6).optional(),
1790
+ errors: z.array(ErrorDetailSchema5).optional(),
1936
1791
  requestId: z.string().optional(),
1937
1792
  correlationId: z.string().optional(),
1938
1793
  retryAfter: z.union([z.number(), z.string()]).optional(),
@@ -1945,7 +1800,7 @@ var PaymentV2Controller_searchPayments_v2_400 = z.object({ "statusCode": z.numbe
1945
1800
  schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 400 }, schema: PaymentV2Controller_searchPayments_v2_400 });
1946
1801
  var PaymentV2Controller_searchPayments_v2_401 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1947
1802
  schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 401 }, schema: PaymentV2Controller_searchPayments_v2_401 });
1948
- var PaymentV2Controller_searchPayments_v2_429 = ErrorEnvelopeSchema6;
1803
+ var PaymentV2Controller_searchPayments_v2_429 = ErrorEnvelopeSchema5;
1949
1804
  schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 429 }, schema: PaymentV2Controller_searchPayments_v2_429 });
1950
1805
 
1951
1806
  // src/domains/payments/payments.schemas.ts
@@ -2143,7 +1998,7 @@ __export(payouts_exports, {
2143
1998
  });
2144
1999
 
2145
2000
  // src/domains/payouts/payouts.facade.ts
2146
- var OP_CREATE2 = "PayoutV2Controller_payRequest_v2";
2001
+ var OP_CREATE = "PayoutV2Controller_payRequest_v2";
2147
2002
  var OP_CREATE_BATCH = "PayoutV2Controller_payBatchRequest_v2";
2148
2003
  var OP_RECURRING_STATUS = "PayoutV2Controller_getRecurringPaymentStatus_v2";
2149
2004
  var OP_SUBMIT_SIGNATURE = "PayoutV2Controller_submitRecurringPaymentSignature_v2";
@@ -2152,12 +2007,12 @@ function createPayoutsApi(http) {
2152
2007
  return {
2153
2008
  async create(body, options) {
2154
2009
  return requestJson(http, {
2155
- operationId: OP_CREATE2,
2010
+ operationId: OP_CREATE,
2156
2011
  method: "POST",
2157
2012
  path: "/v2/payouts",
2158
2013
  body,
2159
- requestSchemaKey: { operationId: OP_CREATE2, kind: "request", variant: "application/json" },
2160
- schemaKey: { operationId: OP_CREATE2, kind: "response", status: 201 },
2014
+ requestSchemaKey: { operationId: OP_CREATE, kind: "request", variant: "application/json" },
2015
+ schemaKey: { operationId: OP_CREATE, kind: "response", status: 201 },
2161
2016
  description: "Create payout",
2162
2017
  signal: options?.signal,
2163
2018
  timeoutMs: options?.timeoutMs,
@@ -2236,12 +2091,14 @@ __export(requests_exports, {
2236
2091
  });
2237
2092
 
2238
2093
  // src/domains/requests/requests.facade.ts
2239
- var OP_CREATE3 = "RequestControllerV2_createRequest_v2";
2094
+ var OP_CREATE2 = "RequestControllerV2_createRequest_v2";
2095
+ var OP_LIST2 = "RequestControllerV2_listRequests_v2";
2240
2096
  var OP_PAYMENT_ROUTES = "RequestControllerV2_getRequestPaymentRoutes_v2";
2241
2097
  var OP_PAYMENT_CALLDATA = "RequestControllerV2_getPaymentCalldata_v2";
2242
2098
  var OP_UPDATE = "RequestControllerV2_updateRequest_v2";
2243
2099
  var OP_SEND_PAYMENT_INTENT = "RequestControllerV2_sendPaymentIntent_v2";
2244
2100
  var OP_REQUEST_STATUS = "RequestControllerV2_getRequestStatus_v2";
2101
+ var PATH_BASE = "/v2/request";
2245
2102
  var KIND_CALLDATA = "calldata";
2246
2103
  var KIND_PAYMENT_INTENT = "paymentIntent";
2247
2104
  function isPaymentIntentPayload(payload) {
@@ -2252,14 +2109,32 @@ function isCalldataPayload(payload) {
2252
2109
  }
2253
2110
  function createRequestsApi(http) {
2254
2111
  return {
2112
+ async list(options) {
2113
+ return requestJson(http, {
2114
+ operationId: OP_LIST2,
2115
+ method: "GET",
2116
+ path: PATH_BASE,
2117
+ query: buildRequestQuery({
2118
+ walletAddress: options.walletAddress,
2119
+ limit: options.limit,
2120
+ offset: options.offset
2121
+ }),
2122
+ schemaKey: { operationId: OP_LIST2, kind: "response", status: 200 },
2123
+ description: "List requests",
2124
+ signal: options.signal,
2125
+ timeoutMs: options.timeoutMs,
2126
+ validation: options.validation,
2127
+ meta: options.meta
2128
+ });
2129
+ },
2255
2130
  async create(body, options) {
2256
2131
  return requestJson(http, {
2257
- operationId: OP_CREATE3,
2132
+ operationId: OP_CREATE2,
2258
2133
  method: "POST",
2259
- path: "/v2/request",
2134
+ path: PATH_BASE,
2260
2135
  body,
2261
- requestSchemaKey: { operationId: OP_CREATE3, kind: "request", variant: "application/json" },
2262
- schemaKey: { operationId: OP_CREATE3, kind: "response", status: 201 },
2136
+ requestSchemaKey: { operationId: OP_CREATE2, kind: "request", variant: "application/json" },
2137
+ schemaKey: { operationId: OP_CREATE2, kind: "response", status: 201 },
2263
2138
  description: "Create request",
2264
2139
  signal: options?.signal,
2265
2140
  timeoutMs: options?.timeoutMs,
@@ -2268,7 +2143,7 @@ function createRequestsApi(http) {
2268
2143
  });
2269
2144
  },
2270
2145
  async getRequestStatus(requestId, options) {
2271
- const path = `/v2/request/${encodeURIComponent(requestId)}`;
2146
+ const path = `${PATH_BASE}/${encodeURIComponent(requestId)}`;
2272
2147
  const raw = await requestJson(http, {
2273
2148
  operationId: OP_REQUEST_STATUS,
2274
2149
  method: "GET",
@@ -2283,7 +2158,7 @@ function createRequestsApi(http) {
2283
2158
  return normalizeRequestStatusResponse(raw);
2284
2159
  },
2285
2160
  async getPaymentRoutes(requestId, options) {
2286
- const path = `/v2/request/${encodeURIComponent(requestId)}/routes`;
2161
+ const path = `${PATH_BASE}/${encodeURIComponent(requestId)}/routes`;
2287
2162
  return requestJson(http, {
2288
2163
  operationId: OP_PAYMENT_ROUTES,
2289
2164
  method: "GET",
@@ -2303,7 +2178,7 @@ function createRequestsApi(http) {
2303
2178
  });
2304
2179
  },
2305
2180
  async getPaymentCalldata(requestId, options) {
2306
- const path = `/v2/request/${encodeURIComponent(requestId)}/pay`;
2181
+ const path = `${PATH_BASE}/${encodeURIComponent(requestId)}/pay`;
2307
2182
  const queryInput = {
2308
2183
  wallet: options?.wallet,
2309
2184
  chain: options?.chain,
@@ -2334,12 +2209,14 @@ function createRequestsApi(http) {
2334
2209
  }
2335
2210
  throw new ValidationError("Unexpected payment calldata response", raw);
2336
2211
  },
2337
- async update(requestId, options) {
2338
- const path = `/v2/request/${encodeURIComponent(requestId)}`;
2212
+ async update(requestId, body, options) {
2213
+ const path = `${PATH_BASE}/${encodeURIComponent(requestId)}`;
2339
2214
  await requestVoid(http, {
2340
2215
  operationId: OP_UPDATE,
2341
2216
  method: "PATCH",
2342
2217
  path,
2218
+ body,
2219
+ requestSchemaKey: { operationId: OP_UPDATE, kind: "request", variant: "application/json" },
2343
2220
  signal: options?.signal,
2344
2221
  timeoutMs: options?.timeoutMs,
2345
2222
  validation: options?.validation,
@@ -2347,7 +2224,7 @@ function createRequestsApi(http) {
2347
2224
  });
2348
2225
  },
2349
2226
  async sendPaymentIntent(paymentIntentId, body, options) {
2350
- const path = `/v2/request/payment-intents/${encodeURIComponent(paymentIntentId)}`;
2227
+ const path = `${PATH_BASE}/payment-intents/${encodeURIComponent(paymentIntentId)}`;
2351
2228
  await requestVoid(http, {
2352
2229
  operationId: OP_SEND_PAYMENT_INTENT,
2353
2230
  method: "POST",
@@ -2362,7 +2239,7 @@ function createRequestsApi(http) {
2362
2239
  }
2363
2240
  };
2364
2241
  }
2365
- var ErrorDetailSchema7 = z.object({
2242
+ var ErrorDetailSchema6 = z.object({
2366
2243
  message: z.string(),
2367
2244
  code: z.string().optional(),
2368
2245
  field: z.string().optional(),
@@ -2372,18 +2249,18 @@ var ErrorDetailSchema7 = z.object({
2372
2249
  }).passthrough().optional(),
2373
2250
  meta: z.record(z.unknown()).optional()
2374
2251
  }).passthrough();
2375
- var ErrorEnvelopeSchema7 = z.object({
2252
+ var ErrorEnvelopeSchema6 = z.object({
2376
2253
  status: z.number().optional(),
2377
2254
  statusCode: z.number().optional(),
2378
2255
  code: z.string().optional(),
2379
2256
  error: z.string().optional(),
2380
2257
  message: z.union([
2381
2258
  z.string(),
2382
- z.array(z.union([z.string(), ErrorDetailSchema7])),
2383
- ErrorDetailSchema7
2259
+ z.array(z.union([z.string(), ErrorDetailSchema6])),
2260
+ ErrorDetailSchema6
2384
2261
  ]).optional(),
2385
2262
  detail: z.unknown().optional(),
2386
- errors: z.array(ErrorDetailSchema7).optional(),
2263
+ errors: z.array(ErrorDetailSchema6).optional(),
2387
2264
  requestId: z.string().optional(),
2388
2265
  correlationId: z.string().optional(),
2389
2266
  retryAfter: z.union([z.number(), z.string()]).optional(),
@@ -2394,105 +2271,111 @@ var RequestControllerV1_createRequest_v1_Request = z.object({ "payer": z.string(
2394
2271
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "request", variant: "application/json" }, schema: RequestControllerV1_createRequest_v1_Request });
2395
2272
  var RequestControllerV1_createRequest_v1_201 = z.object({ "paymentReference": z.string().optional(), "requestID": z.string().optional() }).passthrough();
2396
2273
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 201 }, schema: RequestControllerV1_createRequest_v1_201 });
2397
- var RequestControllerV1_createRequest_v1_400 = ErrorEnvelopeSchema7;
2274
+ var RequestControllerV1_createRequest_v1_400 = ErrorEnvelopeSchema6;
2398
2275
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 400 }, schema: RequestControllerV1_createRequest_v1_400 });
2399
- var RequestControllerV1_createRequest_v1_401 = ErrorEnvelopeSchema7;
2276
+ var RequestControllerV1_createRequest_v1_401 = ErrorEnvelopeSchema6;
2400
2277
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 401 }, schema: RequestControllerV1_createRequest_v1_401 });
2401
- var RequestControllerV1_createRequest_v1_404 = ErrorEnvelopeSchema7;
2278
+ var RequestControllerV1_createRequest_v1_404 = ErrorEnvelopeSchema6;
2402
2279
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 404 }, schema: RequestControllerV1_createRequest_v1_404 });
2403
- var RequestControllerV1_createRequest_v1_429 = ErrorEnvelopeSchema7;
2280
+ var RequestControllerV1_createRequest_v1_429 = ErrorEnvelopeSchema6;
2404
2281
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 429 }, schema: RequestControllerV1_createRequest_v1_429 });
2405
2282
  var RequestControllerV1_getRequestStatus_v1_200 = z.object({ "hasBeenPaid": z.boolean().optional(), "paymentReference": z.string().optional(), "requestId": z.string().optional(), "isListening": z.boolean().optional(), "txHash": z.string().nullable().optional() }).passthrough();
2406
2283
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getRequestStatus_v1_200 });
2407
- var RequestControllerV1_getRequestStatus_v1_401 = ErrorEnvelopeSchema7;
2284
+ var RequestControllerV1_getRequestStatus_v1_401 = ErrorEnvelopeSchema6;
2408
2285
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 401 }, schema: RequestControllerV1_getRequestStatus_v1_401 });
2409
- var RequestControllerV1_getRequestStatus_v1_404 = ErrorEnvelopeSchema7;
2286
+ var RequestControllerV1_getRequestStatus_v1_404 = ErrorEnvelopeSchema6;
2410
2287
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getRequestStatus_v1_404 });
2411
- var RequestControllerV1_getRequestStatus_v1_429 = ErrorEnvelopeSchema7;
2288
+ var RequestControllerV1_getRequestStatus_v1_429 = ErrorEnvelopeSchema6;
2412
2289
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getRequestStatus_v1_429 });
2413
2290
  var RequestControllerV1_stopRecurrenceRequest_v1_200 = z.unknown();
2414
2291
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 200 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_200 });
2415
- var RequestControllerV1_stopRecurrenceRequest_v1_401 = ErrorEnvelopeSchema7;
2292
+ var RequestControllerV1_stopRecurrenceRequest_v1_401 = ErrorEnvelopeSchema6;
2416
2293
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 401 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_401 });
2417
- var RequestControllerV1_stopRecurrenceRequest_v1_404 = ErrorEnvelopeSchema7;
2294
+ var RequestControllerV1_stopRecurrenceRequest_v1_404 = ErrorEnvelopeSchema6;
2418
2295
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 404 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_404 });
2419
- var RequestControllerV1_stopRecurrenceRequest_v1_429 = ErrorEnvelopeSchema7;
2296
+ var RequestControllerV1_stopRecurrenceRequest_v1_429 = ErrorEnvelopeSchema6;
2420
2297
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 429 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_429 });
2421
2298
  var RequestControllerV1_getPaymentCalldata_v1_200 = z.union([z.object({ "transactions": z.array(z.object({ "data": z.string(), "to": z.string(), "value": z.object({ "type": z.enum(["BigNumber"]).optional(), "hex": z.string().optional() }).passthrough() }).passthrough()), "metadata": z.object({ "stepsRequired": z.number(), "needsApproval": z.boolean(), "approvalTransactionIndex": z.number().nullable().optional(), "hasEnoughBalance": z.boolean(), "hasEnoughGas": z.boolean() }).passthrough() }).passthrough(), z.object({ "paymentIntentId": z.string(), "paymentIntent": z.string(), "approvalPermitPayload": z.string().nullable().optional(), "approvalCalldata": z.object({ "to": z.string().optional(), "data": z.string().optional(), "value": z.string().optional() }).passthrough().nullable().optional(), "metadata": z.object({ "supportsEIP2612": z.boolean() }).passthrough() }).passthrough()]);
2422
2299
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getPaymentCalldata_v1_200 });
2423
- var RequestControllerV1_getPaymentCalldata_v1_400 = ErrorEnvelopeSchema7;
2300
+ var RequestControllerV1_getPaymentCalldata_v1_400 = ErrorEnvelopeSchema6;
2424
2301
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 400 }, schema: RequestControllerV1_getPaymentCalldata_v1_400 });
2425
- var RequestControllerV1_getPaymentCalldata_v1_401 = ErrorEnvelopeSchema7;
2302
+ var RequestControllerV1_getPaymentCalldata_v1_401 = ErrorEnvelopeSchema6;
2426
2303
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 401 }, schema: RequestControllerV1_getPaymentCalldata_v1_401 });
2427
- var RequestControllerV1_getPaymentCalldata_v1_404 = ErrorEnvelopeSchema7;
2304
+ var RequestControllerV1_getPaymentCalldata_v1_404 = ErrorEnvelopeSchema6;
2428
2305
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getPaymentCalldata_v1_404 });
2429
- var RequestControllerV1_getPaymentCalldata_v1_429 = ErrorEnvelopeSchema7;
2306
+ var RequestControllerV1_getPaymentCalldata_v1_429 = ErrorEnvelopeSchema6;
2430
2307
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getPaymentCalldata_v1_429 });
2431
2308
  var RequestControllerV1_getRequestPaymentRoutes_v1_200 = z.object({ "routes": z.array(z.object({ "id": z.string(), "fee": z.number(), "feeBreakdown": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "amountInUSD": z.string().nullable().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).optional(), "speed": z.union([z.string(), z.number()]), "price_impact": z.number().optional(), "chain": z.string(), "token": z.string() }).passthrough()) }).passthrough();
2432
2309
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_200 });
2433
- var RequestControllerV1_getRequestPaymentRoutes_v1_400 = ErrorEnvelopeSchema7;
2310
+ var RequestControllerV1_getRequestPaymentRoutes_v1_400 = ErrorEnvelopeSchema6;
2434
2311
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 400 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_400 });
2435
- var RequestControllerV1_getRequestPaymentRoutes_v1_401 = ErrorEnvelopeSchema7;
2312
+ var RequestControllerV1_getRequestPaymentRoutes_v1_401 = ErrorEnvelopeSchema6;
2436
2313
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 401 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_401 });
2437
- var RequestControllerV1_getRequestPaymentRoutes_v1_404 = ErrorEnvelopeSchema7;
2314
+ var RequestControllerV1_getRequestPaymentRoutes_v1_404 = ErrorEnvelopeSchema6;
2438
2315
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_404 });
2439
- var RequestControllerV1_getRequestPaymentRoutes_v1_429 = ErrorEnvelopeSchema7;
2316
+ var RequestControllerV1_getRequestPaymentRoutes_v1_429 = ErrorEnvelopeSchema6;
2440
2317
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_429 });
2441
2318
  var RequestControllerV1_sendPaymentIntent_v1_Request = z.object({ "signedPaymentIntent": z.object({ "signature": z.string(), "nonce": z.string(), "deadline": z.string() }).passthrough(), "signedApprovalPermit": z.object({ "signature": z.string(), "nonce": z.string(), "deadline": z.string() }).passthrough().optional() }).passthrough();
2442
2319
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "request", variant: "application/json" }, schema: RequestControllerV1_sendPaymentIntent_v1_Request });
2443
- var RequestControllerV1_sendPaymentIntent_v1_401 = ErrorEnvelopeSchema7;
2320
+ var RequestControllerV1_sendPaymentIntent_v1_401 = ErrorEnvelopeSchema6;
2444
2321
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "response", status: 401 }, schema: RequestControllerV1_sendPaymentIntent_v1_401 });
2445
- var RequestControllerV1_sendPaymentIntent_v1_404 = ErrorEnvelopeSchema7;
2322
+ var RequestControllerV1_sendPaymentIntent_v1_404 = ErrorEnvelopeSchema6;
2446
2323
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "response", status: 404 }, schema: RequestControllerV1_sendPaymentIntent_v1_404 });
2447
- var RequestControllerV1_sendPaymentIntent_v1_429 = ErrorEnvelopeSchema7;
2324
+ var RequestControllerV1_sendPaymentIntent_v1_429 = ErrorEnvelopeSchema6;
2448
2325
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "response", status: 429 }, schema: RequestControllerV1_sendPaymentIntent_v1_429 });
2326
+ var RequestControllerV2_listRequests_v2_200 = z.object({ "requests": z.array(z.object({ "requestId": z.string().optional(), "paymentReference": z.string().optional(), "amount": z.string().nullable().optional(), "invoiceCurrency": z.string().optional(), "paymentCurrency": z.string().optional(), "hasBeenPaid": z.boolean().optional(), "status": z.string().nullable().optional(), "reference": z.string().nullable().optional(), "createdAt": z.string().nullable().optional(), "txHash": z.string().nullable().optional(), "payee": z.string().nullable().optional(), "payer": z.string().nullable().optional() }).passthrough()), "pagination": z.object({ "total": z.number().optional(), "limit": z.number().optional(), "offset": z.number().optional() }).passthrough() }).passthrough();
2327
+ schemaRegistry.register({ key: { operationId: "RequestControllerV2_listRequests_v2", kind: "response", status: 200 }, schema: RequestControllerV2_listRequests_v2_200 });
2328
+ var RequestControllerV2_listRequests_v2_400 = ErrorEnvelopeSchema6;
2329
+ schemaRegistry.register({ key: { operationId: "RequestControllerV2_listRequests_v2", kind: "response", status: 400 }, schema: RequestControllerV2_listRequests_v2_400 });
2330
+ var RequestControllerV2_listRequests_v2_429 = ErrorEnvelopeSchema6;
2331
+ schemaRegistry.register({ key: { operationId: "RequestControllerV2_listRequests_v2", kind: "response", status: 429 }, schema: RequestControllerV2_listRequests_v2_429 });
2449
2332
  var RequestControllerV2_createRequest_v2_Request = z.object({ "payer": z.string().optional(), "payee": z.string().optional(), "amount": z.string(), "invoiceCurrency": z.string(), "paymentCurrency": z.string(), "recurrence": z.object({ "startDate": z.string(), "frequency": z.enum(["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]) }).passthrough().optional(), "isCryptoToFiatAvailable": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().optional(), "reference": z.string().optional(), "originalRequestId": z.string().optional(), "originalRequestPaymentReference": z.string().optional() }).passthrough();
2450
2333
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "request", variant: "application/json" }, schema: RequestControllerV2_createRequest_v2_Request });
2451
2334
  var RequestControllerV2_createRequest_v2_201 = z.object({ "paymentReference": z.string().optional(), "requestId": z.string().optional() }).passthrough();
2452
2335
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 201 }, schema: RequestControllerV2_createRequest_v2_201 });
2453
- var RequestControllerV2_createRequest_v2_400 = ErrorEnvelopeSchema7;
2336
+ var RequestControllerV2_createRequest_v2_400 = ErrorEnvelopeSchema6;
2454
2337
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 400 }, schema: RequestControllerV2_createRequest_v2_400 });
2455
- var RequestControllerV2_createRequest_v2_404 = ErrorEnvelopeSchema7;
2456
- schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 404 }, schema: RequestControllerV2_createRequest_v2_404 });
2457
- var RequestControllerV2_createRequest_v2_429 = ErrorEnvelopeSchema7;
2338
+ var RequestControllerV2_createRequest_v2_403 = ErrorEnvelopeSchema6;
2339
+ schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 403 }, schema: RequestControllerV2_createRequest_v2_403 });
2340
+ var RequestControllerV2_createRequest_v2_429 = ErrorEnvelopeSchema6;
2458
2341
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 429 }, schema: RequestControllerV2_createRequest_v2_429 });
2459
- var RequestControllerV2_getRequestStatus_v2_200 = z.object({ "hasBeenPaid": z.boolean().optional(), "paymentReference": z.string().optional(), "requestId": z.string().optional(), "isListening": z.boolean().optional(), "txHash": z.string().nullable().optional(), "recurrence": z.object({}).passthrough().optional(), "originalRequestId": z.string().optional(), "status": z.string().optional(), "isCryptoToFiatAvailable": z.boolean().optional(), "originalRequestPaymentReference": z.string().optional(), "payments": z.array(z.object({}).passthrough()).optional(), "isRecurrenceStopped": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().nullable().optional(), "reference": z.string().nullable().optional(), "amountInUsd": z.string().nullable().optional(), "conversionRate": z.string().nullable().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown", "mixed"]).optional(), "conversionBreakdown": z.object({ "paidAmount": z.string().optional(), "paidAmountInUsd": z.string().optional(), "remainingAmount": z.string().optional(), "remainingAmountInUsd": z.string().optional(), "currentMarketRate": z.string().nullable().optional(), "currentMarketRateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "payments": z.array(z.object({ "amount": z.string().optional(), "amountInUsd": z.string().optional(), "conversionRate": z.string().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "timestamp": z.string().optional() }).passthrough()).optional() }).passthrough().nullable().optional(), "fees": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "currency": z.string().optional() }).passthrough()).nullable().optional() }).passthrough();
2342
+ var RequestControllerV2_getRequestStatus_v2_200 = z.object({ "hasBeenPaid": z.boolean().optional(), "paymentReference": z.string().optional(), "requestId": z.string().optional(), "payee": z.string().nullable().optional(), "isListening": z.boolean().optional(), "txHash": z.string().nullable().optional(), "recurrence": z.object({}).passthrough().optional(), "originalRequestId": z.string().optional(), "status": z.string().optional(), "isCryptoToFiatAvailable": z.boolean().optional(), "originalRequestPaymentReference": z.string().optional(), "payments": z.array(z.object({}).passthrough()).optional(), "isRecurrenceStopped": z.boolean().optional(), "customerInfo": z.object({ "firstName": z.string().optional(), "lastName": z.string().optional(), "email": z.string().optional(), "address": z.object({ "street": z.string().optional(), "city": z.string().optional(), "state": z.string().optional(), "postalCode": z.string().optional(), "country": z.string().optional() }).passthrough().optional() }).passthrough().nullable().optional(), "reference": z.string().nullable().optional(), "amountInUsd": z.string().nullable().optional(), "conversionRate": z.string().nullable().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown", "mixed"]).optional(), "conversionBreakdown": z.object({ "paidAmount": z.string().optional(), "paidAmountInUsd": z.string().optional(), "remainingAmount": z.string().optional(), "remainingAmountInUsd": z.string().optional(), "currentMarketRate": z.string().nullable().optional(), "currentMarketRateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "payments": z.array(z.object({ "amount": z.string().optional(), "amountInUsd": z.string().optional(), "conversionRate": z.string().optional(), "rateSource": z.enum(["lifi", "chainlink", "coingecko", "unknown"]).optional(), "timestamp": z.string().optional() }).passthrough()).optional() }).passthrough().nullable().optional(), "fees": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "currency": z.string().optional() }).passthrough()).nullable().optional() }).passthrough();
2460
2343
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getRequestStatus_v2_200 });
2461
- var RequestControllerV2_getRequestStatus_v2_404 = ErrorEnvelopeSchema7;
2344
+ var RequestControllerV2_getRequestStatus_v2_404 = ErrorEnvelopeSchema6;
2462
2345
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getRequestStatus_v2_404 });
2463
- var RequestControllerV2_getRequestStatus_v2_429 = ErrorEnvelopeSchema7;
2346
+ var RequestControllerV2_getRequestStatus_v2_429 = ErrorEnvelopeSchema6;
2464
2347
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getRequestStatus_v2_429 });
2465
2348
  var RequestControllerV2_updateRequest_v2_Request = z.object({ "isRecurrenceStopped": z.boolean() }).passthrough();
2466
2349
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "request", variant: "application/json" }, schema: RequestControllerV2_updateRequest_v2_Request });
2467
2350
  var RequestControllerV2_updateRequest_v2_200 = z.unknown();
2468
2351
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "response", status: 200 }, schema: RequestControllerV2_updateRequest_v2_200 });
2469
- var RequestControllerV2_updateRequest_v2_404 = ErrorEnvelopeSchema7;
2352
+ var RequestControllerV2_updateRequest_v2_404 = ErrorEnvelopeSchema6;
2470
2353
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "response", status: 404 }, schema: RequestControllerV2_updateRequest_v2_404 });
2471
- var RequestControllerV2_updateRequest_v2_429 = ErrorEnvelopeSchema7;
2354
+ var RequestControllerV2_updateRequest_v2_429 = ErrorEnvelopeSchema6;
2472
2355
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "response", status: 429 }, schema: RequestControllerV2_updateRequest_v2_429 });
2473
2356
  var RequestControllerV2_getPaymentCalldata_v2_200 = z.union([z.object({ "transactions": z.array(z.object({ "data": z.string(), "to": z.string(), "value": z.object({ "type": z.enum(["BigNumber"]).optional(), "hex": z.string().optional() }).passthrough() }).passthrough()), "metadata": z.object({ "stepsRequired": z.number(), "needsApproval": z.boolean(), "approvalTransactionIndex": z.number().nullable().optional(), "hasEnoughBalance": z.boolean(), "hasEnoughGas": z.boolean() }).passthrough() }).passthrough(), z.object({ "paymentIntentId": z.string(), "paymentIntent": z.string(), "approvalPermitPayload": z.string().nullable().optional(), "approvalCalldata": z.object({ "to": z.string().optional(), "data": z.string().optional(), "value": z.string().optional() }).passthrough().nullable().optional(), "metadata": z.object({ "supportsEIP2612": z.boolean() }).passthrough() }).passthrough()]);
2474
2357
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getPaymentCalldata_v2_200 });
2475
- var RequestControllerV2_getPaymentCalldata_v2_400 = ErrorEnvelopeSchema7;
2358
+ var RequestControllerV2_getPaymentCalldata_v2_400 = ErrorEnvelopeSchema6;
2476
2359
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 400 }, schema: RequestControllerV2_getPaymentCalldata_v2_400 });
2477
- var RequestControllerV2_getPaymentCalldata_v2_404 = ErrorEnvelopeSchema7;
2360
+ var RequestControllerV2_getPaymentCalldata_v2_404 = ErrorEnvelopeSchema6;
2478
2361
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getPaymentCalldata_v2_404 });
2479
- var RequestControllerV2_getPaymentCalldata_v2_429 = ErrorEnvelopeSchema7;
2362
+ var RequestControllerV2_getPaymentCalldata_v2_429 = ErrorEnvelopeSchema6;
2480
2363
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getPaymentCalldata_v2_429 });
2481
2364
  var RequestControllerV2_getRequestPaymentRoutes_v2_200 = z.object({ "routes": z.array(z.object({ "id": z.string(), "fee": z.number(), "feeBreakdown": z.array(z.object({ "type": z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp", "protocol"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().nullable().optional(), "amountInUSD": z.string().nullable().optional(), "currency": z.string().optional(), "receiverAddress": z.string().optional(), "network": z.string().optional(), "rateProvider": z.string().optional() }).passthrough()).optional(), "speed": z.union([z.string(), z.number()]), "price_impact": z.number().optional(), "chain": z.string(), "token": z.string() }).passthrough()) }).passthrough();
2482
2365
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_200 });
2483
- var RequestControllerV2_getRequestPaymentRoutes_v2_400 = ErrorEnvelopeSchema7;
2366
+ var RequestControllerV2_getRequestPaymentRoutes_v2_400 = ErrorEnvelopeSchema6;
2484
2367
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 400 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_400 });
2485
- var RequestControllerV2_getRequestPaymentRoutes_v2_404 = ErrorEnvelopeSchema7;
2368
+ var RequestControllerV2_getRequestPaymentRoutes_v2_404 = ErrorEnvelopeSchema6;
2486
2369
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_404 });
2487
- var RequestControllerV2_getRequestPaymentRoutes_v2_429 = ErrorEnvelopeSchema7;
2370
+ var RequestControllerV2_getRequestPaymentRoutes_v2_429 = ErrorEnvelopeSchema6;
2488
2371
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_429 });
2489
2372
  var RequestControllerV2_sendPaymentIntent_v2_Request = z.object({ "signedPaymentIntent": z.object({ "signature": z.string(), "nonce": z.string(), "deadline": z.string() }).passthrough(), "signedApprovalPermit": z.object({ "signature": z.string(), "nonce": z.string(), "deadline": z.string() }).passthrough().optional() }).passthrough();
2490
2373
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "request", variant: "application/json" }, schema: RequestControllerV2_sendPaymentIntent_v2_Request });
2491
2374
  var RequestControllerV2_sendPaymentIntent_v2_200 = z.unknown();
2492
2375
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "response", status: 200 }, schema: RequestControllerV2_sendPaymentIntent_v2_200 });
2493
- var RequestControllerV2_sendPaymentIntent_v2_404 = ErrorEnvelopeSchema7;
2376
+ var RequestControllerV2_sendPaymentIntent_v2_404 = ErrorEnvelopeSchema6;
2494
2377
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "response", status: 404 }, schema: RequestControllerV2_sendPaymentIntent_v2_404 });
2495
- var RequestControllerV2_sendPaymentIntent_v2_429 = ErrorEnvelopeSchema7;
2378
+ var RequestControllerV2_sendPaymentIntent_v2_429 = ErrorEnvelopeSchema6;
2496
2379
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "response", status: 429 }, schema: RequestControllerV2_sendPaymentIntent_v2_429 });
2497
2380
  var NullableRequestStatusSchema = z.preprocess((value) => {
2498
2381
  if (!value || typeof value !== "object") {
@@ -2526,6 +2409,115 @@ schemaRegistry.register({
2526
2409
  schema: FlexibleRoutesSchema
2527
2410
  });
2528
2411
 
2412
+ // src/domains/secure-payments/index.ts
2413
+ var secure_payments_exports = {};
2414
+ __export(secure_payments_exports, {
2415
+ createSecurePaymentsApi: () => createSecurePaymentsApi
2416
+ });
2417
+
2418
+ // src/domains/secure-payments/secure-payments.facade.ts
2419
+ var OP_FIND_BY_REQUEST_ID = "SecurePaymentController_findSecurePayment_v2";
2420
+ var OP_CREATE3 = "SecurePaymentController_createSecurePayment_v2";
2421
+ var OP_GET_BY_TOKEN = "SecurePaymentController_getSecurePaymentByToken_v2";
2422
+ var PATH_BASE2 = "/v2/secure-payments";
2423
+ function createSecurePaymentsApi(http) {
2424
+ return {
2425
+ async create(body, options) {
2426
+ return requestJson(http, {
2427
+ operationId: OP_CREATE3,
2428
+ method: "POST",
2429
+ path: PATH_BASE2,
2430
+ body,
2431
+ requestSchemaKey: { operationId: OP_CREATE3, kind: "request", variant: "application/json" },
2432
+ schemaKey: { operationId: OP_CREATE3, kind: "response", status: 201 },
2433
+ description: "Create secure payment",
2434
+ signal: options?.signal,
2435
+ timeoutMs: options?.timeoutMs,
2436
+ validation: options?.validation,
2437
+ meta: options?.meta
2438
+ });
2439
+ },
2440
+ async findByRequestId(requestId, options) {
2441
+ return requestJson(http, {
2442
+ operationId: OP_FIND_BY_REQUEST_ID,
2443
+ method: "GET",
2444
+ path: PATH_BASE2,
2445
+ query: { requestId },
2446
+ schemaKey: { operationId: OP_FIND_BY_REQUEST_ID, kind: "response", status: 200 },
2447
+ description: "Find secure payment by request ID",
2448
+ signal: options?.signal,
2449
+ timeoutMs: options?.timeoutMs,
2450
+ validation: options?.validation,
2451
+ meta: options?.meta
2452
+ });
2453
+ },
2454
+ async getByToken(token, options) {
2455
+ return requestJson(http, {
2456
+ operationId: OP_GET_BY_TOKEN,
2457
+ method: "GET",
2458
+ path: `${PATH_BASE2}/${encodeURIComponent(token)}`,
2459
+ query: buildRequestQuery({ wallet: options?.wallet }),
2460
+ schemaKey: { operationId: OP_GET_BY_TOKEN, kind: "response", status: 200 },
2461
+ description: "Get secure payment by token",
2462
+ signal: options?.signal,
2463
+ timeoutMs: options?.timeoutMs,
2464
+ validation: options?.validation,
2465
+ meta: options?.meta
2466
+ });
2467
+ }
2468
+ };
2469
+ }
2470
+ var ErrorDetailSchema7 = z.object({
2471
+ message: z.string(),
2472
+ code: z.string().optional(),
2473
+ field: z.string().optional(),
2474
+ source: z.object({
2475
+ pointer: z.string().optional(),
2476
+ parameter: z.string().optional()
2477
+ }).passthrough().optional(),
2478
+ meta: z.record(z.unknown()).optional()
2479
+ }).passthrough();
2480
+ var ErrorEnvelopeSchema7 = z.object({
2481
+ status: z.number().optional(),
2482
+ statusCode: z.number().optional(),
2483
+ code: z.string().optional(),
2484
+ error: z.string().optional(),
2485
+ message: z.union([
2486
+ z.string(),
2487
+ z.array(z.union([z.string(), ErrorDetailSchema7])),
2488
+ ErrorDetailSchema7
2489
+ ]).optional(),
2490
+ detail: z.unknown().optional(),
2491
+ errors: z.array(ErrorDetailSchema7).optional(),
2492
+ requestId: z.string().optional(),
2493
+ correlationId: z.string().optional(),
2494
+ retryAfter: z.union([z.number(), z.string()]).optional(),
2495
+ retryAfterMs: z.number().optional(),
2496
+ meta: z.record(z.unknown()).optional()
2497
+ }).passthrough();
2498
+ var SecurePaymentController_findSecurePayment_v2_200 = z.object({ "token": z.string(), "securePaymentUrl": z.string(), "status": z.enum(["pending", "completed", "expired", "invalidated"]), "paymentType": z.enum(["single", "batch"]), "createdAt": z.string().nullable(), "expiresAt": z.string() }).passthrough();
2499
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_findSecurePayment_v2", kind: "response", status: 200 }, schema: SecurePaymentController_findSecurePayment_v2_200 });
2500
+ var SecurePaymentController_findSecurePayment_v2_404 = ErrorEnvelopeSchema7;
2501
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_findSecurePayment_v2", kind: "response", status: 404 }, schema: SecurePaymentController_findSecurePayment_v2_404 });
2502
+ var SecurePaymentController_findSecurePayment_v2_429 = ErrorEnvelopeSchema7;
2503
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_findSecurePayment_v2", kind: "response", status: 429 }, schema: SecurePaymentController_findSecurePayment_v2_429 });
2504
+ var SecurePaymentController_createSecurePayment_v2_Request = z.object({ "requests": z.array(z.object({ "destinationId": z.string(), "amount": z.string() }).passthrough()), "feePercentage": z.string().optional(), "feeAddress": z.string().optional() }).passthrough();
2505
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_createSecurePayment_v2", kind: "request", variant: "application/json" }, schema: SecurePaymentController_createSecurePayment_v2_Request });
2506
+ var SecurePaymentController_createSecurePayment_v2_201 = z.object({ "requestIds": z.array(z.string()), "securePaymentUrl": z.string(), "token": z.string() }).passthrough();
2507
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_createSecurePayment_v2", kind: "response", status: 201 }, schema: SecurePaymentController_createSecurePayment_v2_201 });
2508
+ var SecurePaymentController_createSecurePayment_v2_429 = ErrorEnvelopeSchema7;
2509
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_createSecurePayment_v2", kind: "response", status: 429 }, schema: SecurePaymentController_createSecurePayment_v2_429 });
2510
+ var SecurePaymentController_getSecurePaymentByToken_v2_200 = z.object({ "paymentType": z.enum(["single"]), "payee": z.string(), "network": z.string(), "amount": z.string(), "paymentCurrency": z.string(), "isNativeCurrency": z.boolean(), "status": z.enum(["pending", "completed", "expired", "invalidated"]), "destination": z.object({ "destinationId": z.string(), "payeeAddress": z.string(), "tokenAddress": z.string(), "walletAddress": z.string(), "network": z.string() }).passthrough(), "transactions": z.array(z.unknown()), "metadata": z.object({ "stepsRequired": z.number(), "needsApproval": z.boolean(), "approvalTransactionIndex": z.number().optional(), "paymentTransactionIndex": z.number(), "hasEnoughBalance": z.boolean().optional(), "hasEnoughGas": z.boolean().optional(), "platformFee": z.object({ "percentage": z.string(), "address": z.string() }).passthrough().optional() }).passthrough().optional() }).passthrough();
2511
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_getSecurePaymentByToken_v2", kind: "response", status: 200 }, schema: SecurePaymentController_getSecurePaymentByToken_v2_200 });
2512
+ var SecurePaymentController_getSecurePaymentByToken_v2_403 = ErrorEnvelopeSchema7;
2513
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_getSecurePaymentByToken_v2", kind: "response", status: 403 }, schema: SecurePaymentController_getSecurePaymentByToken_v2_403 });
2514
+ var SecurePaymentController_getSecurePaymentByToken_v2_404 = ErrorEnvelopeSchema7;
2515
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_getSecurePaymentByToken_v2", kind: "response", status: 404 }, schema: SecurePaymentController_getSecurePaymentByToken_v2_404 });
2516
+ var SecurePaymentController_getSecurePaymentByToken_v2_409 = ErrorEnvelopeSchema7;
2517
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_getSecurePaymentByToken_v2", kind: "response", status: 409 }, schema: SecurePaymentController_getSecurePaymentByToken_v2_409 });
2518
+ var SecurePaymentController_getSecurePaymentByToken_v2_429 = ErrorEnvelopeSchema7;
2519
+ schemaRegistry.register({ key: { operationId: "SecurePaymentController_getSecurePaymentByToken_v2", kind: "response", status: 429 }, schema: SecurePaymentController_getSecurePaymentByToken_v2_429 });
2520
+
2529
2521
  // src/request.client.ts
2530
2522
  function createRequestClient(options) {
2531
2523
  const http = createHttpClient(options);
@@ -2537,7 +2529,7 @@ function createRequestClient(options) {
2537
2529
  payouts: createPayoutsApi(http),
2538
2530
  payments: createPaymentsApi(http),
2539
2531
  payer: createPayerApi(http),
2540
- payeeDestination: createPayeeDestinationApi(http),
2532
+ securePayments: createSecurePaymentsApi(http),
2541
2533
  pay: createPayApi(http)
2542
2534
  };
2543
2535
  }
@@ -3648,6 +3640,6 @@ function assertRequestRecurringEvent(event) {
3648
3640
  }
3649
3641
  }
3650
3642
 
3651
- export { DEFAULT_RETRY_CONFIG, RequestApiError, SchemaRegistry, ValidationError, browserFetchAdapter, buildRequestApiError, client_ids_exports as clientIds, computeRetryDelay, createHttpClient, createRequestClient, currencies_exports as currencies, v1_exports as currenciesV1, isRequestApiError, nodeFetchAdapter, parseWithRegistry, parseWithSchema, pay_exports as pay, v1_exports2 as payV1, payee_destination_exports as payeeDestination, payer_exports as payer, v1_exports3 as payerV1, v2_exports as payerV2, payments_exports as payments, payouts_exports as payouts, requests_exports as requests, v1_exports4 as requestsV1, schemaRegistry, shouldRetryRequest, webhooks_exports as webhooks };
3643
+ export { DEFAULT_RETRY_CONFIG, RequestApiError, SchemaRegistry, ValidationError, browserFetchAdapter, buildRequestApiError, client_ids_exports as clientIds, computeRetryDelay, createHttpClient, createRequestClient, currencies_exports as currencies, v1_exports as currenciesV1, isRequestApiError, nodeFetchAdapter, parseWithRegistry, parseWithSchema, pay_exports as pay, v1_exports2 as payV1, payer_exports as payer, v1_exports3 as payerV1, v2_exports as payerV2, payments_exports as payments, payouts_exports as payouts, requests_exports as requests, v1_exports4 as requestsV1, schemaRegistry, secure_payments_exports as securePayments, shouldRetryRequest, webhooks_exports as webhooks };
3652
3644
  //# sourceMappingURL=index.js.map
3653
3645
  //# sourceMappingURL=index.js.map