@marcohefti/request-network-api-client 0.5.10 → 0.5.11

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 (40) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/domains/client-ids/index.js +5 -5
  3. package/dist/cjs/domains/client-ids/index.js.map +1 -1
  4. package/dist/cjs/domains/currencies/index.js +15 -15
  5. package/dist/cjs/domains/currencies/index.js.map +1 -1
  6. package/dist/cjs/domains/payee-destination/index.js +276 -0
  7. package/dist/cjs/domains/payee-destination/index.js.map +1 -0
  8. package/dist/cjs/domains/payouts/index.js +2 -2
  9. package/dist/cjs/domains/payouts/index.js.map +1 -1
  10. package/dist/cjs/domains/requests/index.js +5 -3
  11. package/dist/cjs/domains/requests/index.js.map +1 -1
  12. package/dist/cjs/index.js +267 -108
  13. package/dist/cjs/index.js.map +1 -1
  14. package/dist/esm/domains/client-ids/index.d.mts +2 -2
  15. package/dist/esm/domains/client-ids/index.js +5 -5
  16. package/dist/esm/domains/client-ids/index.js.map +1 -1
  17. package/dist/esm/domains/currencies/index.d.mts +2 -2
  18. package/dist/esm/domains/currencies/index.js +15 -15
  19. package/dist/esm/domains/currencies/index.js.map +1 -1
  20. package/dist/esm/domains/payee-destination/index.d.mts +2 -0
  21. package/dist/esm/domains/payee-destination/index.js +274 -0
  22. package/dist/esm/domains/payee-destination/index.js.map +1 -0
  23. package/dist/esm/domains/payer/index.d.mts +2 -2
  24. package/dist/esm/domains/payouts/index.d.mts +2 -2
  25. package/dist/esm/domains/payouts/index.js +2 -2
  26. package/dist/esm/domains/payouts/index.js.map +1 -1
  27. package/dist/esm/domains/requests/index.d.mts +2 -2
  28. package/dist/esm/domains/requests/index.js +5 -3
  29. package/dist/esm/domains/requests/index.js.map +1 -1
  30. package/dist/esm/{index-BmWmfcnn.d.mts → index-B5uZTITr.d.mts} +1 -1
  31. package/dist/esm/index-BDVvifym.d.mts +31 -0
  32. package/dist/esm/{index-CNK36ZX5.d.mts → index-CTQxsAHa.d.mts} +1 -1
  33. package/dist/esm/{index-Q2g0D7V8.d.mts → index-CvPDycgF.d.mts} +1 -1
  34. package/dist/esm/{index-Cd7x0Hv-.d.mts → index-DzdJCXFj.d.mts} +1 -1
  35. package/dist/esm/{index-Bum0bfZQ.d.mts → index-y-zLkaVo.d.mts} +16 -16
  36. package/dist/esm/index.d.mts +88 -84
  37. package/dist/esm/index.js +267 -109
  38. package/dist/esm/index.js.map +1 -1
  39. package/dist/esm/{openapi-types-CtUFCrk4.d.mts → openapi-types-D-zUdw-r.d.mts} +301 -42
  40. package/package.json +8 -3
package/dist/esm/index.js CHANGED
@@ -401,7 +401,7 @@ var nodeFetchAdapter = {
401
401
  let text;
402
402
  if (res.status !== 204) {
403
403
  try {
404
- if (contentType.includes("application/json")) {
404
+ if (contentType.toLowerCase().includes("json")) {
405
405
  data = await res.json();
406
406
  } else {
407
407
  text = await res.text();
@@ -698,15 +698,25 @@ function truncateForLogs(value, depth = 0) {
698
698
  if (typeof value === "object") return truncateObjectForLogs(value, depth);
699
699
  return "[unserializable]";
700
700
  }
701
+ function resolveFallbackMessage(res) {
702
+ const raw = typeof res.text === "string" ? res.text.trim() : "";
703
+ if (!raw) {
704
+ return `HTTP ${String(res.status)}`;
705
+ }
706
+ if (raw.startsWith("<") || raw.length > 200) {
707
+ return `HTTP ${String(res.status)}`;
708
+ }
709
+ return raw;
710
+ }
701
711
  function mapToError(res, req, validation) {
702
712
  const operationId = req.meta?.operationId;
703
713
  const rawPayload = asRecord(res.data);
704
714
  let payload = rawPayload;
705
- if (validation.errors && operationId) {
715
+ if (validation.errors && operationId && rawPayload) {
706
716
  const schemaKey = { operationId, kind: "response", status: res.status };
707
717
  const parsed = parseWithRegistry({
708
718
  key: schemaKey,
709
- value: rawPayload ?? res.data,
719
+ value: rawPayload,
710
720
  description: `Error response for ${operationId}`,
711
721
  skipOnMissingSchema: true
712
722
  });
@@ -720,7 +730,7 @@ function mapToError(res, req, validation) {
720
730
  payload,
721
731
  status: res.status,
722
732
  headers: res.headers,
723
- fallbackMessage: res.text ?? `HTTP ${String(res.status)}`,
733
+ fallbackMessage: resolveFallbackMessage(res),
724
734
  meta: captureErrorContext ? {
725
735
  request: {
726
736
  method: req.method,
@@ -819,7 +829,7 @@ var browserFetchAdapter = {
819
829
  let text;
820
830
  if (res.status !== 204) {
821
831
  try {
822
- if (contentType.includes("application/json")) {
832
+ if (contentType.toLowerCase().includes("json")) {
823
833
  data = await res.json();
824
834
  } else {
825
835
  text = await res.text();
@@ -942,14 +952,14 @@ function buildPath(template, params) {
942
952
 
943
953
  // src/domains/client-ids/client-ids.facade.ts
944
954
  function createClientIdsApi(http) {
945
- const PATH_BASE = "/v2/client-ids";
955
+ const PATH_BASE2 = "/v2/client-ids";
946
956
  return {
947
957
  async list() {
948
958
  const OP = "ClientIdV2Controller_findAll_v2";
949
959
  return requestJson(http, {
950
960
  operationId: OP,
951
961
  method: "GET",
952
- path: PATH_BASE,
962
+ path: PATH_BASE2,
953
963
  schemaKey: { operationId: OP, kind: "response", status: 200 },
954
964
  description: "List client IDs"
955
965
  });
@@ -959,7 +969,7 @@ function createClientIdsApi(http) {
959
969
  return requestJson(http, {
960
970
  operationId: OP,
961
971
  method: "POST",
962
- path: PATH_BASE,
972
+ path: PATH_BASE2,
963
973
  body,
964
974
  requestSchemaKey: { operationId: OP, kind: "request", variant: "application/json" },
965
975
  schemaKey: { operationId: OP, kind: "response", status: 201 },
@@ -967,7 +977,7 @@ function createClientIdsApi(http) {
967
977
  });
968
978
  },
969
979
  async findOne(id) {
970
- const path = buildPath(`${PATH_BASE}/{id}`, { id });
980
+ const path = buildPath(`${PATH_BASE2}/{id}`, { id });
971
981
  const OP = "ClientIdV2Controller_findOne_v2";
972
982
  return requestJson(http, {
973
983
  operationId: OP,
@@ -978,7 +988,7 @@ function createClientIdsApi(http) {
978
988
  });
979
989
  },
980
990
  async update(id, body) {
981
- const path = buildPath(`${PATH_BASE}/{id}`, { id });
991
+ const path = buildPath(`${PATH_BASE2}/{id}`, { id });
982
992
  const OP = "ClientIdV2Controller_update_v2";
983
993
  return requestJson(http, {
984
994
  operationId: OP,
@@ -991,7 +1001,7 @@ function createClientIdsApi(http) {
991
1001
  });
992
1002
  },
993
1003
  async revoke(id) {
994
- const path = buildPath(`${PATH_BASE}/{id}`, { id });
1004
+ const path = buildPath(`${PATH_BASE2}/{id}`, { id });
995
1005
  const OP = "ClientIdV2Controller_delete_v2";
996
1006
  await requestVoid(http, {
997
1007
  operationId: OP,
@@ -1035,9 +1045,9 @@ var ClientIdV2Controller_findAll_v2_401 = ErrorEnvelopeSchema;
1035
1045
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_findAll_v2", kind: "response", status: 401 }, schema: ClientIdV2Controller_findAll_v2_401 });
1036
1046
  var ClientIdV2Controller_findAll_v2_429 = ErrorEnvelopeSchema;
1037
1047
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_findAll_v2", kind: "response", status: 429 }, schema: ClientIdV2Controller_findAll_v2_429 });
1038
- var ClientIdV2Controller_create_v2_Request = z.object({ "label": z.string(), "allowedDomains": z.array(z.string()), "feePercentage": z.string().optional(), "feeAddress": z.string().optional() }).passthrough();
1048
+ var ClientIdV2Controller_create_v2_Request = z.object({ "label": z.string(), "allowedDomains": z.array(z.string()), "feePercentage": z.string().optional(), "feeAddress": z.string().optional(), "operatorWalletAddress": z.string().optional(), "defaultPreApprovalExpiry": z.number().optional(), "defaultAuthorizationExpiry": z.number().optional() }).passthrough();
1039
1049
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_create_v2", kind: "request", variant: "application/json" }, schema: ClientIdV2Controller_create_v2_Request });
1040
- var ClientIdV2Controller_create_v2_201 = z.object({ "id": z.string().optional(), "clientId": z.string().optional(), "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "status": z.string().optional(), "createdAt": z.string().optional() }).passthrough();
1050
+ var ClientIdV2Controller_create_v2_201 = z.object({ "id": z.string().optional(), "clientId": z.string().optional(), "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "operatorWalletAddress": z.string().nullable().optional(), "defaultPreApprovalExpiry": z.number().nullable().optional(), "defaultAuthorizationExpiry": z.number().nullable().optional(), "status": z.string().optional(), "createdAt": z.string().optional() }).passthrough();
1041
1051
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_create_v2", kind: "response", status: 201 }, schema: ClientIdV2Controller_create_v2_201 });
1042
1052
  var ClientIdV2Controller_create_v2_400 = ErrorEnvelopeSchema;
1043
1053
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_create_v2", kind: "response", status: 400 }, schema: ClientIdV2Controller_create_v2_400 });
@@ -1045,7 +1055,7 @@ var ClientIdV2Controller_create_v2_401 = ErrorEnvelopeSchema;
1045
1055
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_create_v2", kind: "response", status: 401 }, schema: ClientIdV2Controller_create_v2_401 });
1046
1056
  var ClientIdV2Controller_create_v2_429 = ErrorEnvelopeSchema;
1047
1057
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_create_v2", kind: "response", status: 429 }, schema: ClientIdV2Controller_create_v2_429 });
1048
- var ClientIdV2Controller_findOne_v2_200 = z.object({ "id": z.string().optional(), "clientId": z.string().optional(), "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "status": z.string().optional(), "createdAt": z.string().optional(), "updatedAt": z.string().optional(), "lastUsedAt": z.string().nullable().optional() }).passthrough();
1058
+ var ClientIdV2Controller_findOne_v2_200 = z.object({ "id": z.string().optional(), "clientId": z.string().optional(), "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "operatorWalletAddress": z.string().nullable().optional(), "defaultPreApprovalExpiry": z.number().nullable().optional(), "defaultAuthorizationExpiry": z.number().nullable().optional(), "status": z.string().optional(), "createdAt": z.string().optional(), "updatedAt": z.string().optional(), "lastUsedAt": z.string().nullable().optional() }).passthrough();
1049
1059
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_findOne_v2", kind: "response", status: 200 }, schema: ClientIdV2Controller_findOne_v2_200 });
1050
1060
  var ClientIdV2Controller_findOne_v2_401 = ErrorEnvelopeSchema;
1051
1061
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_findOne_v2", kind: "response", status: 401 }, schema: ClientIdV2Controller_findOne_v2_401 });
@@ -1053,9 +1063,9 @@ var ClientIdV2Controller_findOne_v2_404 = ErrorEnvelopeSchema;
1053
1063
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_findOne_v2", kind: "response", status: 404 }, schema: ClientIdV2Controller_findOne_v2_404 });
1054
1064
  var ClientIdV2Controller_findOne_v2_429 = ErrorEnvelopeSchema;
1055
1065
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_findOne_v2", kind: "response", status: 429 }, schema: ClientIdV2Controller_findOne_v2_429 });
1056
- var ClientIdV2Controller_update_v2_Request = z.object({ "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "status": z.enum(["active", "inactive", "revoked"]).optional() }).passthrough();
1066
+ var ClientIdV2Controller_update_v2_Request = z.object({ "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "operatorWalletAddress": z.string().nullable().optional(), "defaultPreApprovalExpiry": z.number().nullable().optional(), "defaultAuthorizationExpiry": z.number().nullable().optional(), "status": z.enum(["active", "inactive", "revoked"]).optional() }).passthrough();
1057
1067
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_update_v2", kind: "request", variant: "application/json" }, schema: ClientIdV2Controller_update_v2_Request });
1058
- var ClientIdV2Controller_update_v2_200 = z.object({ "id": z.string().optional(), "clientId": z.string().optional(), "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "status": z.string().optional(), "updatedAt": z.string().optional() }).passthrough();
1068
+ var ClientIdV2Controller_update_v2_200 = z.object({ "id": z.string().optional(), "clientId": z.string().optional(), "label": z.string().optional(), "allowedDomains": z.array(z.string()).optional(), "feePercentage": z.string().nullable().optional(), "feeAddress": z.string().nullable().optional(), "operatorWalletAddress": z.string().nullable().optional(), "defaultPreApprovalExpiry": z.number().nullable().optional(), "defaultAuthorizationExpiry": z.number().nullable().optional(), "status": z.string().optional(), "updatedAt": z.string().optional() }).passthrough();
1059
1069
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_update_v2", kind: "response", status: 200 }, schema: ClientIdV2Controller_update_v2_200 });
1060
1070
  var ClientIdV2Controller_update_v2_400 = ErrorEnvelopeSchema;
1061
1071
  schemaRegistry.register({ key: { operationId: "ClientIdV2Controller_update_v2", kind: "response", status: 400 }, schema: ClientIdV2Controller_update_v2_400 });
@@ -1142,7 +1152,7 @@ var OP_LIST = "CurrenciesV2Controller_getNetworkTokens_v2";
1142
1152
  var OP_CONVERSION_ROUTES = "CurrenciesV2Controller_getConversionRoutes_v2";
1143
1153
  var CurrencyTokenSchema = z.object({
1144
1154
  id: z.string(),
1145
- name: z.string(),
1155
+ name: z.string().optional(),
1146
1156
  symbol: z.string(),
1147
1157
  decimals: z.number(),
1148
1158
  address: z.string().optional(),
@@ -1368,7 +1378,7 @@ var PayV1Controller_payRequest_v1_404 = ErrorEnvelopeSchema3;
1368
1378
  schemaRegistry.register({ key: { operationId: "PayV1Controller_payRequest_v1", kind: "response", status: 404 }, schema: PayV1Controller_payRequest_v1_404 });
1369
1379
  var PayV1Controller_payRequest_v1_429 = ErrorEnvelopeSchema3;
1370
1380
  schemaRegistry.register({ key: { operationId: "PayV1Controller_payRequest_v1", kind: "response", status: 429 }, schema: PayV1Controller_payRequest_v1_429 });
1371
- var PayoutV2Controller_payRequest_v2_Request = z.object({ "payee": z.string(), "amount": z.string(), "invoiceCurrency": z.string(), "paymentCurrency": z.string(), "feePercentage": z.string().optional(), "feeAddress": z.string().optional(), "recurrence": z.object({ "startDate": z.string(), "frequency": z.enum(["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]), "totalPayments": z.number(), "payer": z.string() }).passthrough().optional(), "payerWallet": z.string().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() }).passthrough();
1381
+ var PayoutV2Controller_payRequest_v2_Request = z.object({ "payee": z.string(), "amount": z.string(), "invoiceCurrency": z.string(), "paymentCurrency": z.string(), "feePercentage": z.string().optional(), "feeAddress": z.string().optional(), "recurrence": z.object({ "startDate": z.string(), "frequency": z.enum(["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]), "totalPayments": z.number(), "payer": z.string() }).passthrough().optional(), "payerWallet": z.string().optional(), "payerAddress": z.string().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() }).passthrough();
1372
1382
  schemaRegistry.register({ key: { operationId: "PayoutV2Controller_payRequest_v2", kind: "request", variant: "application/json" }, schema: PayoutV2Controller_payRequest_v2_Request });
1373
1383
  var PayoutV2Controller_payRequest_v2_201 = z.object({ "requestId": z.string() }).passthrough();
1374
1384
  schemaRegistry.register({ key: { operationId: "PayoutV2Controller_payRequest_v2", kind: "response", status: 201 }, schema: PayoutV2Controller_payRequest_v2_201 });
@@ -1376,7 +1386,7 @@ var PayoutV2Controller_payRequest_v2_404 = ErrorEnvelopeSchema3;
1376
1386
  schemaRegistry.register({ key: { operationId: "PayoutV2Controller_payRequest_v2", kind: "response", status: 404 }, schema: PayoutV2Controller_payRequest_v2_404 });
1377
1387
  var PayoutV2Controller_payRequest_v2_429 = ErrorEnvelopeSchema3;
1378
1388
  schemaRegistry.register({ key: { operationId: "PayoutV2Controller_payRequest_v2", kind: "response", status: 429 }, schema: PayoutV2Controller_payRequest_v2_429 });
1379
- var PayoutV2Controller_payBatchRequest_v2_Request = z.object({ "requests": z.array(z.object({ "payee": z.string(), "amount": z.string(), "invoiceCurrency": z.string(), "paymentCurrency": z.string() }).passthrough()).optional(), "requestIds": z.array(z.string()).optional(), "payer": z.string().optional() }).passthrough();
1389
+ var PayoutV2Controller_payBatchRequest_v2_Request = z.object({ "requests": z.array(z.object({ "payee": z.string(), "amount": z.string(), "invoiceCurrency": z.string(), "paymentCurrency": z.string() }).passthrough()).optional(), "requestIds": z.array(z.string()).optional(), "payer": z.string().optional(), "feePercentage": z.string().optional(), "feeAddress": z.string().optional() }).passthrough();
1380
1390
  schemaRegistry.register({ key: { operationId: "PayoutV2Controller_payBatchRequest_v2", kind: "request", variant: "application/json" }, schema: PayoutV2Controller_payBatchRequest_v2_Request });
1381
1391
  var PayoutV2Controller_payBatchRequest_v2_201 = z.object({ "ERC20ApprovalTransactions": z.array(z.object({ "data": z.string(), "to": z.string(), "value": z.number() }).passthrough()).optional(), "ERC20BatchPaymentTransaction": z.object({ "data": z.string(), "to": z.string(), "value": z.object({ "type": z.enum(["BigNumber"]), "hex": z.string() }).passthrough() }).passthrough().optional(), "ETHBatchPaymentTransaction": z.object({ "data": z.string(), "to": z.string(), "value": z.object({ "type": z.enum(["BigNumber"]), "hex": z.string() }).passthrough() }).passthrough().optional() }).passthrough();
1382
1392
  schemaRegistry.register({ key: { operationId: "PayoutV2Controller_payBatchRequest_v2", kind: "response", status: 201 }, schema: PayoutV2Controller_payBatchRequest_v2_201 });
@@ -1420,6 +1430,151 @@ function createPayApi(http) {
1420
1430
  };
1421
1431
  }
1422
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
+
1423
1578
  // src/domains/payer/index.ts
1424
1579
  var payer_exports = {};
1425
1580
  __export(payer_exports, {
@@ -1519,7 +1674,7 @@ function createPayerV1Api(http) {
1519
1674
  }
1520
1675
  };
1521
1676
  }
1522
- var ErrorDetailSchema4 = z.object({
1677
+ var ErrorDetailSchema5 = z.object({
1523
1678
  message: z.string(),
1524
1679
  code: z.string().optional(),
1525
1680
  field: z.string().optional(),
@@ -1529,18 +1684,18 @@ var ErrorDetailSchema4 = z.object({
1529
1684
  }).passthrough().optional(),
1530
1685
  meta: z.record(z.unknown()).optional()
1531
1686
  }).passthrough();
1532
- var ErrorEnvelopeSchema4 = z.object({
1687
+ var ErrorEnvelopeSchema5 = z.object({
1533
1688
  status: z.number().optional(),
1534
1689
  statusCode: z.number().optional(),
1535
1690
  code: z.string().optional(),
1536
1691
  error: z.string().optional(),
1537
1692
  message: z.union([
1538
1693
  z.string(),
1539
- z.array(z.union([z.string(), ErrorDetailSchema4])),
1540
- ErrorDetailSchema4
1694
+ z.array(z.union([z.string(), ErrorDetailSchema5])),
1695
+ ErrorDetailSchema5
1541
1696
  ]).optional(),
1542
1697
  detail: z.unknown().optional(),
1543
- errors: z.array(ErrorDetailSchema4).optional(),
1698
+ errors: z.array(ErrorDetailSchema5).optional(),
1544
1699
  requestId: z.string().optional(),
1545
1700
  correlationId: z.string().optional(),
1546
1701
  retryAfter: z.union([z.number(), z.string()]).optional(),
@@ -1553,19 +1708,19 @@ var PayerV1Controller_getComplianceData_v1_200 = z.object({ "agreementUrl": z.st
1553
1708
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 200 }, schema: PayerV1Controller_getComplianceData_v1_200 });
1554
1709
  var PayerV1Controller_getComplianceData_v1_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1555
1710
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 400 }, schema: PayerV1Controller_getComplianceData_v1_400 });
1556
- var PayerV1Controller_getComplianceData_v1_401 = ErrorEnvelopeSchema4;
1711
+ var PayerV1Controller_getComplianceData_v1_401 = ErrorEnvelopeSchema5;
1557
1712
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 401 }, schema: PayerV1Controller_getComplianceData_v1_401 });
1558
1713
  var PayerV1Controller_getComplianceData_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1559
1714
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 404 }, schema: PayerV1Controller_getComplianceData_v1_404 });
1560
- var PayerV1Controller_getComplianceData_v1_429 = ErrorEnvelopeSchema4;
1715
+ var PayerV1Controller_getComplianceData_v1_429 = ErrorEnvelopeSchema5;
1561
1716
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceData_v1", kind: "response", status: 429 }, schema: PayerV1Controller_getComplianceData_v1_429 });
1562
1717
  var PayerV1Controller_getComplianceStatus_v1_200 = z.object({ "kycStatus": z.string().optional(), "agreementStatus": z.string().optional(), "isCompliant": z.boolean().optional(), "userId": z.string().optional() }).passthrough();
1563
1718
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 200 }, schema: PayerV1Controller_getComplianceStatus_v1_200 });
1564
- var PayerV1Controller_getComplianceStatus_v1_401 = ErrorEnvelopeSchema4;
1719
+ var PayerV1Controller_getComplianceStatus_v1_401 = ErrorEnvelopeSchema5;
1565
1720
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 401 }, schema: PayerV1Controller_getComplianceStatus_v1_401 });
1566
1721
  var PayerV1Controller_getComplianceStatus_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1567
1722
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 404 }, schema: PayerV1Controller_getComplianceStatus_v1_404 });
1568
- var PayerV1Controller_getComplianceStatus_v1_429 = ErrorEnvelopeSchema4;
1723
+ var PayerV1Controller_getComplianceStatus_v1_429 = ErrorEnvelopeSchema5;
1569
1724
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getComplianceStatus_v1", kind: "response", status: 429 }, schema: PayerV1Controller_getComplianceStatus_v1_429 });
1570
1725
  var PayerV1Controller_updateComplianceStatus_v1_Request = z.object({ "agreementCompleted": z.boolean() }).passthrough();
1571
1726
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "request", variant: "application/json" }, schema: PayerV1Controller_updateComplianceStatus_v1_Request });
@@ -1573,19 +1728,19 @@ var PayerV1Controller_updateComplianceStatus_v1_200 = z.object({ "success": z.bo
1573
1728
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 200 }, schema: PayerV1Controller_updateComplianceStatus_v1_200 });
1574
1729
  var PayerV1Controller_updateComplianceStatus_v1_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1575
1730
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 400 }, schema: PayerV1Controller_updateComplianceStatus_v1_400 });
1576
- var PayerV1Controller_updateComplianceStatus_v1_401 = ErrorEnvelopeSchema4;
1731
+ var PayerV1Controller_updateComplianceStatus_v1_401 = ErrorEnvelopeSchema5;
1577
1732
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 401 }, schema: PayerV1Controller_updateComplianceStatus_v1_401 });
1578
1733
  var PayerV1Controller_updateComplianceStatus_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1579
1734
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 404 }, schema: PayerV1Controller_updateComplianceStatus_v1_404 });
1580
- var PayerV1Controller_updateComplianceStatus_v1_429 = ErrorEnvelopeSchema4;
1735
+ var PayerV1Controller_updateComplianceStatus_v1_429 = ErrorEnvelopeSchema5;
1581
1736
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_updateComplianceStatus_v1", kind: "response", status: 429 }, schema: PayerV1Controller_updateComplianceStatus_v1_429 });
1582
1737
  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();
1583
1738
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 200 }, schema: PayerV1Controller_getPaymentDetails_v1_200 });
1584
- var PayerV1Controller_getPaymentDetails_v1_401 = ErrorEnvelopeSchema4;
1739
+ var PayerV1Controller_getPaymentDetails_v1_401 = ErrorEnvelopeSchema5;
1585
1740
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 401 }, schema: PayerV1Controller_getPaymentDetails_v1_401 });
1586
1741
  var PayerV1Controller_getPaymentDetails_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1587
1742
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 404 }, schema: PayerV1Controller_getPaymentDetails_v1_404 });
1588
- var PayerV1Controller_getPaymentDetails_v1_429 = ErrorEnvelopeSchema4;
1743
+ var PayerV1Controller_getPaymentDetails_v1_429 = ErrorEnvelopeSchema5;
1589
1744
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_getPaymentDetails_v1", kind: "response", status: 429 }, schema: PayerV1Controller_getPaymentDetails_v1_429 });
1590
1745
  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();
1591
1746
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "request", variant: "application/json" }, schema: PayerV1Controller_createPaymentDetails_v1_Request });
@@ -1593,11 +1748,11 @@ var PayerV1Controller_createPaymentDetails_v1_201 = z.object({ "payment_detail":
1593
1748
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 201 }, schema: PayerV1Controller_createPaymentDetails_v1_201 });
1594
1749
  var PayerV1Controller_createPaymentDetails_v1_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1595
1750
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 400 }, schema: PayerV1Controller_createPaymentDetails_v1_400 });
1596
- var PayerV1Controller_createPaymentDetails_v1_401 = ErrorEnvelopeSchema4;
1751
+ var PayerV1Controller_createPaymentDetails_v1_401 = ErrorEnvelopeSchema5;
1597
1752
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 401 }, schema: PayerV1Controller_createPaymentDetails_v1_401 });
1598
1753
  var PayerV1Controller_createPaymentDetails_v1_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1599
1754
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 404 }, schema: PayerV1Controller_createPaymentDetails_v1_404 });
1600
- var PayerV1Controller_createPaymentDetails_v1_429 = ErrorEnvelopeSchema4;
1755
+ var PayerV1Controller_createPaymentDetails_v1_429 = ErrorEnvelopeSchema5;
1601
1756
  schemaRegistry.register({ key: { operationId: "PayerV1Controller_createPaymentDetails_v1", kind: "response", status: 429 }, schema: PayerV1Controller_createPaymentDetails_v1_429 });
1602
1757
  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();
1603
1758
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "request", variant: "application/json" }, schema: PayerV2Controller_getComplianceData_v2_Request });
@@ -1605,19 +1760,19 @@ var PayerV2Controller_getComplianceData_v2_200 = z.object({ "agreementUrl": z.st
1605
1760
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 200 }, schema: PayerV2Controller_getComplianceData_v2_200 });
1606
1761
  var PayerV2Controller_getComplianceData_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1607
1762
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 400 }, schema: PayerV2Controller_getComplianceData_v2_400 });
1608
- var PayerV2Controller_getComplianceData_v2_401 = ErrorEnvelopeSchema4;
1763
+ var PayerV2Controller_getComplianceData_v2_401 = ErrorEnvelopeSchema5;
1609
1764
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 401 }, schema: PayerV2Controller_getComplianceData_v2_401 });
1610
1765
  var PayerV2Controller_getComplianceData_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1611
1766
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 404 }, schema: PayerV2Controller_getComplianceData_v2_404 });
1612
- var PayerV2Controller_getComplianceData_v2_429 = ErrorEnvelopeSchema4;
1767
+ var PayerV2Controller_getComplianceData_v2_429 = ErrorEnvelopeSchema5;
1613
1768
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceData_v2", kind: "response", status: 429 }, schema: PayerV2Controller_getComplianceData_v2_429 });
1614
1769
  var PayerV2Controller_getComplianceStatus_v2_200 = z.object({ "kycStatus": z.string().optional(), "agreementStatus": z.string().optional(), "isCompliant": z.boolean().optional(), "userId": z.string().optional() }).passthrough();
1615
1770
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 200 }, schema: PayerV2Controller_getComplianceStatus_v2_200 });
1616
- var PayerV2Controller_getComplianceStatus_v2_401 = ErrorEnvelopeSchema4;
1771
+ var PayerV2Controller_getComplianceStatus_v2_401 = ErrorEnvelopeSchema5;
1617
1772
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 401 }, schema: PayerV2Controller_getComplianceStatus_v2_401 });
1618
1773
  var PayerV2Controller_getComplianceStatus_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1619
1774
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 404 }, schema: PayerV2Controller_getComplianceStatus_v2_404 });
1620
- var PayerV2Controller_getComplianceStatus_v2_429 = ErrorEnvelopeSchema4;
1775
+ var PayerV2Controller_getComplianceStatus_v2_429 = ErrorEnvelopeSchema5;
1621
1776
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getComplianceStatus_v2", kind: "response", status: 429 }, schema: PayerV2Controller_getComplianceStatus_v2_429 });
1622
1777
  var PayerV2Controller_updateComplianceStatus_v2_Request = z.object({ "agreementCompleted": z.boolean() }).passthrough();
1623
1778
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "request", variant: "application/json" }, schema: PayerV2Controller_updateComplianceStatus_v2_Request });
@@ -1625,19 +1780,19 @@ var PayerV2Controller_updateComplianceStatus_v2_200 = z.object({ "success": z.bo
1625
1780
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 200 }, schema: PayerV2Controller_updateComplianceStatus_v2_200 });
1626
1781
  var PayerV2Controller_updateComplianceStatus_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1627
1782
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 400 }, schema: PayerV2Controller_updateComplianceStatus_v2_400 });
1628
- var PayerV2Controller_updateComplianceStatus_v2_401 = ErrorEnvelopeSchema4;
1783
+ var PayerV2Controller_updateComplianceStatus_v2_401 = ErrorEnvelopeSchema5;
1629
1784
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 401 }, schema: PayerV2Controller_updateComplianceStatus_v2_401 });
1630
1785
  var PayerV2Controller_updateComplianceStatus_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1631
1786
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 404 }, schema: PayerV2Controller_updateComplianceStatus_v2_404 });
1632
- var PayerV2Controller_updateComplianceStatus_v2_429 = ErrorEnvelopeSchema4;
1787
+ var PayerV2Controller_updateComplianceStatus_v2_429 = ErrorEnvelopeSchema5;
1633
1788
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_updateComplianceStatus_v2", kind: "response", status: 429 }, schema: PayerV2Controller_updateComplianceStatus_v2_429 });
1634
1789
  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();
1635
1790
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 200 }, schema: PayerV2Controller_getPaymentDetails_v2_200 });
1636
- var PayerV2Controller_getPaymentDetails_v2_401 = ErrorEnvelopeSchema4;
1791
+ var PayerV2Controller_getPaymentDetails_v2_401 = ErrorEnvelopeSchema5;
1637
1792
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 401 }, schema: PayerV2Controller_getPaymentDetails_v2_401 });
1638
1793
  var PayerV2Controller_getPaymentDetails_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1639
1794
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 404 }, schema: PayerV2Controller_getPaymentDetails_v2_404 });
1640
- var PayerV2Controller_getPaymentDetails_v2_429 = ErrorEnvelopeSchema4;
1795
+ var PayerV2Controller_getPaymentDetails_v2_429 = ErrorEnvelopeSchema5;
1641
1796
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_getPaymentDetails_v2", kind: "response", status: 429 }, schema: PayerV2Controller_getPaymentDetails_v2_429 });
1642
1797
  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();
1643
1798
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "request", variant: "application/json" }, schema: PayerV2Controller_createPaymentDetails_v2_Request });
@@ -1645,11 +1800,11 @@ var PayerV2Controller_createPaymentDetails_v2_201 = z.object({ "payment_detail":
1645
1800
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 201 }, schema: PayerV2Controller_createPaymentDetails_v2_201 });
1646
1801
  var PayerV2Controller_createPaymentDetails_v2_400 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1647
1802
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 400 }, schema: PayerV2Controller_createPaymentDetails_v2_400 });
1648
- var PayerV2Controller_createPaymentDetails_v2_401 = ErrorEnvelopeSchema4;
1803
+ var PayerV2Controller_createPaymentDetails_v2_401 = ErrorEnvelopeSchema5;
1649
1804
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 401 }, schema: PayerV2Controller_createPaymentDetails_v2_401 });
1650
1805
  var PayerV2Controller_createPaymentDetails_v2_404 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1651
1806
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 404 }, schema: PayerV2Controller_createPaymentDetails_v2_404 });
1652
- var PayerV2Controller_createPaymentDetails_v2_429 = ErrorEnvelopeSchema4;
1807
+ var PayerV2Controller_createPaymentDetails_v2_429 = ErrorEnvelopeSchema5;
1653
1808
  schemaRegistry.register({ key: { operationId: "PayerV2Controller_createPaymentDetails_v2", kind: "response", status: 429 }, schema: PayerV2Controller_createPaymentDetails_v2_429 });
1654
1809
 
1655
1810
  // src/domains/payer/v2/index.ts
@@ -1756,7 +1911,7 @@ var payments_exports = {};
1756
1911
  __export(payments_exports, {
1757
1912
  createPaymentsApi: () => createPaymentsApi
1758
1913
  });
1759
- var ErrorDetailSchema5 = z.object({
1914
+ var ErrorDetailSchema6 = z.object({
1760
1915
  message: z.string(),
1761
1916
  code: z.string().optional(),
1762
1917
  field: z.string().optional(),
@@ -1766,18 +1921,18 @@ var ErrorDetailSchema5 = z.object({
1766
1921
  }).passthrough().optional(),
1767
1922
  meta: z.record(z.unknown()).optional()
1768
1923
  }).passthrough();
1769
- var ErrorEnvelopeSchema5 = z.object({
1924
+ var ErrorEnvelopeSchema6 = z.object({
1770
1925
  status: z.number().optional(),
1771
1926
  statusCode: z.number().optional(),
1772
1927
  code: z.string().optional(),
1773
1928
  error: z.string().optional(),
1774
1929
  message: z.union([
1775
1930
  z.string(),
1776
- z.array(z.union([z.string(), ErrorDetailSchema5])),
1777
- ErrorDetailSchema5
1931
+ z.array(z.union([z.string(), ErrorDetailSchema6])),
1932
+ ErrorDetailSchema6
1778
1933
  ]).optional(),
1779
1934
  detail: z.unknown().optional(),
1780
- errors: z.array(ErrorDetailSchema5).optional(),
1935
+ errors: z.array(ErrorDetailSchema6).optional(),
1781
1936
  requestId: z.string().optional(),
1782
1937
  correlationId: z.string().optional(),
1783
1938
  retryAfter: z.union([z.number(), z.string()]).optional(),
@@ -1790,7 +1945,7 @@ var PaymentV2Controller_searchPayments_v2_400 = z.object({ "statusCode": z.numbe
1790
1945
  schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 400 }, schema: PaymentV2Controller_searchPayments_v2_400 });
1791
1946
  var PaymentV2Controller_searchPayments_v2_401 = z.object({ "statusCode": z.number().optional(), "message": z.string().optional(), "error": z.string().optional() }).passthrough();
1792
1947
  schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 401 }, schema: PaymentV2Controller_searchPayments_v2_401 });
1793
- var PaymentV2Controller_searchPayments_v2_429 = ErrorEnvelopeSchema5;
1948
+ var PaymentV2Controller_searchPayments_v2_429 = ErrorEnvelopeSchema6;
1794
1949
  schemaRegistry.register({ key: { operationId: "PaymentV2Controller_searchPayments_v2", kind: "response", status: 429 }, schema: PaymentV2Controller_searchPayments_v2_429 });
1795
1950
 
1796
1951
  // src/domains/payments/payments.schemas.ts
@@ -1812,8 +1967,8 @@ var FeeSchema = z.object({
1812
1967
  type: z.enum(["gas", "platform", "crosschain", "crypto-to-fiat", "offramp"]).optional(),
1813
1968
  stage: z.enum(["sending", "receiving", "proxying", "refunding"]).optional(),
1814
1969
  provider: z.string().optional(),
1815
- amount: z.string().optional(),
1816
- amountInUSD: z.string().optional(),
1970
+ amount: z.string().nullable().optional(),
1971
+ amountInUSD: z.string().nullable().optional(),
1817
1972
  currency: z.string().optional(),
1818
1973
  receiverAddress: z.string().optional(),
1819
1974
  network: z.string().optional(),
@@ -1988,7 +2143,7 @@ __export(payouts_exports, {
1988
2143
  });
1989
2144
 
1990
2145
  // src/domains/payouts/payouts.facade.ts
1991
- var OP_CREATE = "PayoutV2Controller_payRequest_v2";
2146
+ var OP_CREATE2 = "PayoutV2Controller_payRequest_v2";
1992
2147
  var OP_CREATE_BATCH = "PayoutV2Controller_payBatchRequest_v2";
1993
2148
  var OP_RECURRING_STATUS = "PayoutV2Controller_getRecurringPaymentStatus_v2";
1994
2149
  var OP_SUBMIT_SIGNATURE = "PayoutV2Controller_submitRecurringPaymentSignature_v2";
@@ -1997,12 +2152,12 @@ function createPayoutsApi(http) {
1997
2152
  return {
1998
2153
  async create(body, options) {
1999
2154
  return requestJson(http, {
2000
- operationId: OP_CREATE,
2155
+ operationId: OP_CREATE2,
2001
2156
  method: "POST",
2002
2157
  path: "/v2/payouts",
2003
2158
  body,
2004
- requestSchemaKey: { operationId: OP_CREATE, kind: "request", variant: "application/json" },
2005
- schemaKey: { operationId: OP_CREATE, kind: "response", status: 201 },
2159
+ requestSchemaKey: { operationId: OP_CREATE2, kind: "request", variant: "application/json" },
2160
+ schemaKey: { operationId: OP_CREATE2, kind: "response", status: 201 },
2006
2161
  description: "Create payout",
2007
2162
  signal: options?.signal,
2008
2163
  timeoutMs: options?.timeoutMs,
@@ -2081,7 +2236,7 @@ __export(requests_exports, {
2081
2236
  });
2082
2237
 
2083
2238
  // src/domains/requests/requests.facade.ts
2084
- var OP_CREATE2 = "RequestControllerV2_createRequest_v2";
2239
+ var OP_CREATE3 = "RequestControllerV2_createRequest_v2";
2085
2240
  var OP_PAYMENT_ROUTES = "RequestControllerV2_getRequestPaymentRoutes_v2";
2086
2241
  var OP_PAYMENT_CALLDATA = "RequestControllerV2_getPaymentCalldata_v2";
2087
2242
  var OP_UPDATE = "RequestControllerV2_updateRequest_v2";
@@ -2099,12 +2254,12 @@ function createRequestsApi(http) {
2099
2254
  return {
2100
2255
  async create(body, options) {
2101
2256
  return requestJson(http, {
2102
- operationId: OP_CREATE2,
2257
+ operationId: OP_CREATE3,
2103
2258
  method: "POST",
2104
2259
  path: "/v2/request",
2105
2260
  body,
2106
- requestSchemaKey: { operationId: OP_CREATE2, kind: "request", variant: "application/json" },
2107
- schemaKey: { operationId: OP_CREATE2, kind: "response", status: 201 },
2261
+ requestSchemaKey: { operationId: OP_CREATE3, kind: "request", variant: "application/json" },
2262
+ schemaKey: { operationId: OP_CREATE3, kind: "response", status: 201 },
2108
2263
  description: "Create request",
2109
2264
  signal: options?.signal,
2110
2265
  timeoutMs: options?.timeoutMs,
@@ -2207,7 +2362,7 @@ function createRequestsApi(http) {
2207
2362
  }
2208
2363
  };
2209
2364
  }
2210
- var ErrorDetailSchema6 = z.object({
2365
+ var ErrorDetailSchema7 = z.object({
2211
2366
  message: z.string(),
2212
2367
  code: z.string().optional(),
2213
2368
  field: z.string().optional(),
@@ -2217,18 +2372,18 @@ var ErrorDetailSchema6 = z.object({
2217
2372
  }).passthrough().optional(),
2218
2373
  meta: z.record(z.unknown()).optional()
2219
2374
  }).passthrough();
2220
- var ErrorEnvelopeSchema6 = z.object({
2375
+ var ErrorEnvelopeSchema7 = z.object({
2221
2376
  status: z.number().optional(),
2222
2377
  statusCode: z.number().optional(),
2223
2378
  code: z.string().optional(),
2224
2379
  error: z.string().optional(),
2225
2380
  message: z.union([
2226
2381
  z.string(),
2227
- z.array(z.union([z.string(), ErrorDetailSchema6])),
2228
- ErrorDetailSchema6
2382
+ z.array(z.union([z.string(), ErrorDetailSchema7])),
2383
+ ErrorDetailSchema7
2229
2384
  ]).optional(),
2230
2385
  detail: z.unknown().optional(),
2231
- errors: z.array(ErrorDetailSchema6).optional(),
2386
+ errors: z.array(ErrorDetailSchema7).optional(),
2232
2387
  requestId: z.string().optional(),
2233
2388
  correlationId: z.string().optional(),
2234
2389
  retryAfter: z.union([z.number(), z.string()]).optional(),
@@ -2239,103 +2394,105 @@ var RequestControllerV1_createRequest_v1_Request = z.object({ "payer": z.string(
2239
2394
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "request", variant: "application/json" }, schema: RequestControllerV1_createRequest_v1_Request });
2240
2395
  var RequestControllerV1_createRequest_v1_201 = z.object({ "paymentReference": z.string().optional(), "requestID": z.string().optional() }).passthrough();
2241
2396
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 201 }, schema: RequestControllerV1_createRequest_v1_201 });
2242
- var RequestControllerV1_createRequest_v1_400 = ErrorEnvelopeSchema6;
2397
+ var RequestControllerV1_createRequest_v1_400 = ErrorEnvelopeSchema7;
2243
2398
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 400 }, schema: RequestControllerV1_createRequest_v1_400 });
2244
- var RequestControllerV1_createRequest_v1_401 = ErrorEnvelopeSchema6;
2399
+ var RequestControllerV1_createRequest_v1_401 = ErrorEnvelopeSchema7;
2245
2400
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 401 }, schema: RequestControllerV1_createRequest_v1_401 });
2246
- var RequestControllerV1_createRequest_v1_404 = ErrorEnvelopeSchema6;
2401
+ var RequestControllerV1_createRequest_v1_404 = ErrorEnvelopeSchema7;
2247
2402
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 404 }, schema: RequestControllerV1_createRequest_v1_404 });
2248
- var RequestControllerV1_createRequest_v1_429 = ErrorEnvelopeSchema6;
2403
+ var RequestControllerV1_createRequest_v1_429 = ErrorEnvelopeSchema7;
2249
2404
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_createRequest_v1", kind: "response", status: 429 }, schema: RequestControllerV1_createRequest_v1_429 });
2250
2405
  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();
2251
2406
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getRequestStatus_v1_200 });
2252
- var RequestControllerV1_getRequestStatus_v1_401 = ErrorEnvelopeSchema6;
2407
+ var RequestControllerV1_getRequestStatus_v1_401 = ErrorEnvelopeSchema7;
2253
2408
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 401 }, schema: RequestControllerV1_getRequestStatus_v1_401 });
2254
- var RequestControllerV1_getRequestStatus_v1_404 = ErrorEnvelopeSchema6;
2409
+ var RequestControllerV1_getRequestStatus_v1_404 = ErrorEnvelopeSchema7;
2255
2410
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getRequestStatus_v1_404 });
2256
- var RequestControllerV1_getRequestStatus_v1_429 = ErrorEnvelopeSchema6;
2411
+ var RequestControllerV1_getRequestStatus_v1_429 = ErrorEnvelopeSchema7;
2257
2412
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestStatus_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getRequestStatus_v1_429 });
2258
2413
  var RequestControllerV1_stopRecurrenceRequest_v1_200 = z.unknown();
2259
2414
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 200 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_200 });
2260
- var RequestControllerV1_stopRecurrenceRequest_v1_401 = ErrorEnvelopeSchema6;
2415
+ var RequestControllerV1_stopRecurrenceRequest_v1_401 = ErrorEnvelopeSchema7;
2261
2416
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 401 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_401 });
2262
- var RequestControllerV1_stopRecurrenceRequest_v1_404 = ErrorEnvelopeSchema6;
2417
+ var RequestControllerV1_stopRecurrenceRequest_v1_404 = ErrorEnvelopeSchema7;
2263
2418
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 404 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_404 });
2264
- var RequestControllerV1_stopRecurrenceRequest_v1_429 = ErrorEnvelopeSchema6;
2419
+ var RequestControllerV1_stopRecurrenceRequest_v1_429 = ErrorEnvelopeSchema7;
2265
2420
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_stopRecurrenceRequest_v1", kind: "response", status: 429 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_429 });
2266
- 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(), "paymentTransactionIndex": z.number().nullable().optional(), "hasEnoughBalance": z.boolean().optional(), "hasEnoughGas": z.boolean().optional() }).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()]);
2421
+ 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()]);
2267
2422
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getPaymentCalldata_v1_200 });
2268
- var RequestControllerV1_getPaymentCalldata_v1_400 = ErrorEnvelopeSchema6;
2423
+ var RequestControllerV1_getPaymentCalldata_v1_400 = ErrorEnvelopeSchema7;
2269
2424
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 400 }, schema: RequestControllerV1_getPaymentCalldata_v1_400 });
2270
- var RequestControllerV1_getPaymentCalldata_v1_401 = ErrorEnvelopeSchema6;
2425
+ var RequestControllerV1_getPaymentCalldata_v1_401 = ErrorEnvelopeSchema7;
2271
2426
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 401 }, schema: RequestControllerV1_getPaymentCalldata_v1_401 });
2272
- var RequestControllerV1_getPaymentCalldata_v1_404 = ErrorEnvelopeSchema6;
2427
+ var RequestControllerV1_getPaymentCalldata_v1_404 = ErrorEnvelopeSchema7;
2273
2428
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getPaymentCalldata_v1_404 });
2274
- var RequestControllerV1_getPaymentCalldata_v1_429 = ErrorEnvelopeSchema6;
2429
+ var RequestControllerV1_getPaymentCalldata_v1_429 = ErrorEnvelopeSchema7;
2275
2430
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getPaymentCalldata_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getPaymentCalldata_v1_429 });
2276
2431
  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"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "amountInUSD": z.string().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();
2277
2432
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 200 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_200 });
2278
- var RequestControllerV1_getRequestPaymentRoutes_v1_400 = ErrorEnvelopeSchema6;
2433
+ var RequestControllerV1_getRequestPaymentRoutes_v1_400 = ErrorEnvelopeSchema7;
2279
2434
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 400 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_400 });
2280
- var RequestControllerV1_getRequestPaymentRoutes_v1_401 = ErrorEnvelopeSchema6;
2435
+ var RequestControllerV1_getRequestPaymentRoutes_v1_401 = ErrorEnvelopeSchema7;
2281
2436
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 401 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_401 });
2282
- var RequestControllerV1_getRequestPaymentRoutes_v1_404 = ErrorEnvelopeSchema6;
2437
+ var RequestControllerV1_getRequestPaymentRoutes_v1_404 = ErrorEnvelopeSchema7;
2283
2438
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 404 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_404 });
2284
- var RequestControllerV1_getRequestPaymentRoutes_v1_429 = ErrorEnvelopeSchema6;
2439
+ var RequestControllerV1_getRequestPaymentRoutes_v1_429 = ErrorEnvelopeSchema7;
2285
2440
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_getRequestPaymentRoutes_v1", kind: "response", status: 429 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_429 });
2286
2441
  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();
2287
2442
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "request", variant: "application/json" }, schema: RequestControllerV1_sendPaymentIntent_v1_Request });
2288
- var RequestControllerV1_sendPaymentIntent_v1_401 = ErrorEnvelopeSchema6;
2443
+ var RequestControllerV1_sendPaymentIntent_v1_401 = ErrorEnvelopeSchema7;
2289
2444
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "response", status: 401 }, schema: RequestControllerV1_sendPaymentIntent_v1_401 });
2290
- var RequestControllerV1_sendPaymentIntent_v1_404 = ErrorEnvelopeSchema6;
2445
+ var RequestControllerV1_sendPaymentIntent_v1_404 = ErrorEnvelopeSchema7;
2291
2446
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "response", status: 404 }, schema: RequestControllerV1_sendPaymentIntent_v1_404 });
2292
- var RequestControllerV1_sendPaymentIntent_v1_429 = ErrorEnvelopeSchema6;
2447
+ var RequestControllerV1_sendPaymentIntent_v1_429 = ErrorEnvelopeSchema7;
2293
2448
  schemaRegistry.register({ key: { operationId: "RequestControllerV1_sendPaymentIntent_v1", kind: "response", status: 429 }, schema: RequestControllerV1_sendPaymentIntent_v1_429 });
2294
2449
  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();
2295
2450
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "request", variant: "application/json" }, schema: RequestControllerV2_createRequest_v2_Request });
2296
2451
  var RequestControllerV2_createRequest_v2_201 = z.object({ "paymentReference": z.string().optional(), "requestId": z.string().optional() }).passthrough();
2297
2452
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 201 }, schema: RequestControllerV2_createRequest_v2_201 });
2298
- var RequestControllerV2_createRequest_v2_400 = ErrorEnvelopeSchema6;
2453
+ var RequestControllerV2_createRequest_v2_400 = ErrorEnvelopeSchema7;
2299
2454
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 400 }, schema: RequestControllerV2_createRequest_v2_400 });
2300
- var RequestControllerV2_createRequest_v2_404 = ErrorEnvelopeSchema6;
2455
+ var RequestControllerV2_createRequest_v2_404 = ErrorEnvelopeSchema7;
2301
2456
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 404 }, schema: RequestControllerV2_createRequest_v2_404 });
2302
- var RequestControllerV2_createRequest_v2_429 = ErrorEnvelopeSchema6;
2457
+ var RequestControllerV2_createRequest_v2_429 = ErrorEnvelopeSchema7;
2303
2458
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_createRequest_v2", kind: "response", status: 429 }, schema: RequestControllerV2_createRequest_v2_429 });
2304
- 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() }).passthrough();
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"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "currency": z.string().optional() }).passthrough()).nullable().optional() }).passthrough();
2305
2460
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getRequestStatus_v2_200 });
2306
- var RequestControllerV2_getRequestStatus_v2_404 = ErrorEnvelopeSchema6;
2461
+ var RequestControllerV2_getRequestStatus_v2_404 = ErrorEnvelopeSchema7;
2307
2462
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getRequestStatus_v2_404 });
2308
- var RequestControllerV2_getRequestStatus_v2_429 = ErrorEnvelopeSchema6;
2463
+ var RequestControllerV2_getRequestStatus_v2_429 = ErrorEnvelopeSchema7;
2309
2464
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestStatus_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getRequestStatus_v2_429 });
2465
+ var RequestControllerV2_updateRequest_v2_Request = z.object({ "isRecurrenceStopped": z.boolean() }).passthrough();
2466
+ schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "request", variant: "application/json" }, schema: RequestControllerV2_updateRequest_v2_Request });
2310
2467
  var RequestControllerV2_updateRequest_v2_200 = z.unknown();
2311
2468
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "response", status: 200 }, schema: RequestControllerV2_updateRequest_v2_200 });
2312
- var RequestControllerV2_updateRequest_v2_404 = ErrorEnvelopeSchema6;
2469
+ var RequestControllerV2_updateRequest_v2_404 = ErrorEnvelopeSchema7;
2313
2470
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "response", status: 404 }, schema: RequestControllerV2_updateRequest_v2_404 });
2314
- var RequestControllerV2_updateRequest_v2_429 = ErrorEnvelopeSchema6;
2471
+ var RequestControllerV2_updateRequest_v2_429 = ErrorEnvelopeSchema7;
2315
2472
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_updateRequest_v2", kind: "response", status: 429 }, schema: RequestControllerV2_updateRequest_v2_429 });
2316
- 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(), "paymentTransactionIndex": z.number().nullable().optional(), "hasEnoughBalance": z.boolean().optional(), "hasEnoughGas": z.boolean().optional() }).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()]);
2473
+ 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()]);
2317
2474
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getPaymentCalldata_v2_200 });
2318
- var RequestControllerV2_getPaymentCalldata_v2_400 = ErrorEnvelopeSchema6;
2475
+ var RequestControllerV2_getPaymentCalldata_v2_400 = ErrorEnvelopeSchema7;
2319
2476
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 400 }, schema: RequestControllerV2_getPaymentCalldata_v2_400 });
2320
- var RequestControllerV2_getPaymentCalldata_v2_404 = ErrorEnvelopeSchema6;
2477
+ var RequestControllerV2_getPaymentCalldata_v2_404 = ErrorEnvelopeSchema7;
2321
2478
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getPaymentCalldata_v2_404 });
2322
- var RequestControllerV2_getPaymentCalldata_v2_429 = ErrorEnvelopeSchema6;
2479
+ var RequestControllerV2_getPaymentCalldata_v2_429 = ErrorEnvelopeSchema7;
2323
2480
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getPaymentCalldata_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getPaymentCalldata_v2_429 });
2324
2481
  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"]).optional(), "stage": z.enum(["sending", "receiving", "proxying", "refunding", "overall"]).optional(), "provider": z.string().optional(), "amount": z.string().optional(), "amountInUSD": z.string().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();
2325
2482
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 200 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_200 });
2326
- var RequestControllerV2_getRequestPaymentRoutes_v2_400 = ErrorEnvelopeSchema6;
2483
+ var RequestControllerV2_getRequestPaymentRoutes_v2_400 = ErrorEnvelopeSchema7;
2327
2484
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 400 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_400 });
2328
- var RequestControllerV2_getRequestPaymentRoutes_v2_404 = ErrorEnvelopeSchema6;
2485
+ var RequestControllerV2_getRequestPaymentRoutes_v2_404 = ErrorEnvelopeSchema7;
2329
2486
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 404 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_404 });
2330
- var RequestControllerV2_getRequestPaymentRoutes_v2_429 = ErrorEnvelopeSchema6;
2487
+ var RequestControllerV2_getRequestPaymentRoutes_v2_429 = ErrorEnvelopeSchema7;
2331
2488
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_getRequestPaymentRoutes_v2", kind: "response", status: 429 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_429 });
2332
2489
  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();
2333
2490
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "request", variant: "application/json" }, schema: RequestControllerV2_sendPaymentIntent_v2_Request });
2334
2491
  var RequestControllerV2_sendPaymentIntent_v2_200 = z.unknown();
2335
2492
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "response", status: 200 }, schema: RequestControllerV2_sendPaymentIntent_v2_200 });
2336
- var RequestControllerV2_sendPaymentIntent_v2_404 = ErrorEnvelopeSchema6;
2493
+ var RequestControllerV2_sendPaymentIntent_v2_404 = ErrorEnvelopeSchema7;
2337
2494
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "response", status: 404 }, schema: RequestControllerV2_sendPaymentIntent_v2_404 });
2338
- var RequestControllerV2_sendPaymentIntent_v2_429 = ErrorEnvelopeSchema6;
2495
+ var RequestControllerV2_sendPaymentIntent_v2_429 = ErrorEnvelopeSchema7;
2339
2496
  schemaRegistry.register({ key: { operationId: "RequestControllerV2_sendPaymentIntent_v2", kind: "response", status: 429 }, schema: RequestControllerV2_sendPaymentIntent_v2_429 });
2340
2497
  var NullableRequestStatusSchema = z.preprocess((value) => {
2341
2498
  if (!value || typeof value !== "object") {
@@ -2380,6 +2537,7 @@ function createRequestClient(options) {
2380
2537
  payouts: createPayoutsApi(http),
2381
2538
  payments: createPaymentsApi(http),
2382
2539
  payer: createPayerApi(http),
2540
+ payeeDestination: createPayeeDestinationApi(http),
2383
2541
  pay: createPayApi(http)
2384
2542
  };
2385
2543
  }
@@ -2391,7 +2549,7 @@ __export(v1_exports4, {
2391
2549
  });
2392
2550
 
2393
2551
  // src/domains/requests/v1/requests.v1.facade.ts
2394
- var OP_CREATE3 = "RequestControllerV1_createRequest_v1";
2552
+ var OP_CREATE4 = "RequestControllerV1_createRequest_v1";
2395
2553
  var OP_PAYMENT_ROUTES2 = "RequestControllerV1_getRequestPaymentRoutes_v1";
2396
2554
  var OP_PAYMENT_CALLDATA2 = "RequestControllerV1_getPaymentCalldata_v1";
2397
2555
  var OP_REQUEST_STATUS2 = "RequestControllerV1_getRequestStatus_v1";
@@ -2409,12 +2567,12 @@ function createRequestsV1Api(http) {
2409
2567
  return {
2410
2568
  async create(body, options) {
2411
2569
  return requestJson(http, {
2412
- operationId: OP_CREATE3,
2570
+ operationId: OP_CREATE4,
2413
2571
  method: "POST",
2414
2572
  path: "/v1/request",
2415
2573
  body,
2416
- requestSchemaKey: { operationId: OP_CREATE3, kind: "request", variant: "application/json" },
2417
- schemaKey: { operationId: OP_CREATE3, kind: "response", status: 201 },
2574
+ requestSchemaKey: { operationId: OP_CREATE4, kind: "request", variant: "application/json" },
2575
+ schemaKey: { operationId: OP_CREATE4, kind: "response", status: 201 },
2418
2576
  description: "Create legacy request",
2419
2577
  signal: options?.signal,
2420
2578
  timeoutMs: options?.timeoutMs,
@@ -3490,6 +3648,6 @@ function assertRequestRecurringEvent(event) {
3490
3648
  }
3491
3649
  }
3492
3650
 
3493
- 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, shouldRetryRequest, webhooks_exports as webhooks };
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 };
3494
3652
  //# sourceMappingURL=index.js.map
3495
3653
  //# sourceMappingURL=index.js.map