@blindpay/node 3.6.0 → 3.9.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 (89) hide show
  1. package/dist/{api-client-Bklw4zQi.d.ts → api-client-BWImXDBx.d.ts} +1 -1
  2. package/dist/{api-client-BlkRiojB.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
  3. package/dist/{chunk-HWFZN3VU.mjs → chunk-CLGWJEUF.mjs} +2 -2
  4. package/dist/{chunk-UOAM7SX3.mjs → chunk-HKWPAL4R.mjs} +10 -0
  5. package/dist/{index.d-Gvol1faW.d.mts → index.d-DK8eD9f3.d.mts} +6 -4
  6. package/dist/{index.d-Gvol1faW.d.ts → index.d-DK8eD9f3.d.ts} +6 -4
  7. package/dist/index.d.mts +4 -4
  8. package/dist/index.d.ts +4 -4
  9. package/dist/index.js +11 -1
  10. package/dist/index.mjs +2 -2
  11. package/dist/resources/api-keys/api-keys.test.js +11 -1
  12. package/dist/resources/api-keys/api-keys.test.mjs +2 -2
  13. package/dist/resources/api-keys/index.d.mts +2 -2
  14. package/dist/resources/api-keys/index.d.ts +2 -2
  15. package/dist/resources/available/available.test.js +11 -1
  16. package/dist/resources/available/available.test.mjs +2 -2
  17. package/dist/resources/available/index.d.mts +2 -2
  18. package/dist/resources/available/index.d.ts +2 -2
  19. package/dist/resources/bank-accounts/bank-accounts.test.js +11 -1
  20. package/dist/resources/bank-accounts/bank-accounts.test.mjs +2 -2
  21. package/dist/resources/bank-accounts/index.d.mts +25 -3
  22. package/dist/resources/bank-accounts/index.d.ts +25 -3
  23. package/dist/resources/bank-accounts/index.js +10 -0
  24. package/dist/resources/bank-accounts/index.mjs +1 -1
  25. package/dist/resources/fees/fees.test.js +12 -1
  26. package/dist/resources/fees/fees.test.mjs +3 -2
  27. package/dist/resources/fees/index.d.mts +3 -2
  28. package/dist/resources/fees/index.d.ts +3 -2
  29. package/dist/resources/instances/index.d.mts +2 -2
  30. package/dist/resources/instances/index.d.ts +2 -2
  31. package/dist/resources/instances/instances.test.js +11 -1
  32. package/dist/resources/instances/instances.test.mjs +2 -2
  33. package/dist/resources/partner-fees/index.d.mts +2 -2
  34. package/dist/resources/partner-fees/index.d.ts +2 -2
  35. package/dist/resources/partner-fees/partner-fees.test.js +11 -1
  36. package/dist/resources/partner-fees/partner-fees.test.mjs +2 -2
  37. package/dist/resources/payins/index.d.mts +14 -2
  38. package/dist/resources/payins/index.d.ts +14 -2
  39. package/dist/resources/payins/payins-quotes.test.js +13 -3
  40. package/dist/resources/payins/payins-quotes.test.mjs +4 -4
  41. package/dist/resources/payins/payins.test.js +31 -1
  42. package/dist/resources/payins/payins.test.mjs +22 -2
  43. package/dist/resources/payins/quotes.d.mts +4 -4
  44. package/dist/resources/payins/quotes.d.ts +4 -4
  45. package/dist/resources/payouts/index.d.mts +7 -3
  46. package/dist/resources/payouts/index.d.ts +7 -3
  47. package/dist/resources/payouts/payouts.test.js +11 -1
  48. package/dist/resources/payouts/payouts.test.mjs +2 -2
  49. package/dist/resources/quotes/index.d.mts +2 -2
  50. package/dist/resources/quotes/index.d.ts +2 -2
  51. package/dist/resources/quotes/quotes.test.js +11 -1
  52. package/dist/resources/quotes/quotes.test.mjs +2 -2
  53. package/dist/resources/receivers/index.d.mts +6 -7
  54. package/dist/resources/receivers/index.d.ts +6 -7
  55. package/dist/resources/receivers/receivers.test.js +12 -2
  56. package/dist/resources/receivers/receivers.test.mjs +3 -3
  57. package/dist/resources/terms-of-service/index.d.mts +2 -2
  58. package/dist/resources/terms-of-service/index.d.ts +2 -2
  59. package/dist/resources/terms-of-service/terms-of-service.test.js +11 -1
  60. package/dist/resources/terms-of-service/terms-of-service.test.mjs +2 -2
  61. package/dist/resources/transfers/index.d.mts +2 -2
  62. package/dist/resources/transfers/index.d.ts +2 -2
  63. package/dist/resources/transfers/transfers.test.js +11 -1
  64. package/dist/resources/transfers/transfers.test.mjs +2 -2
  65. package/dist/resources/upload/index.d.mts +1 -1
  66. package/dist/resources/upload/index.d.ts +1 -1
  67. package/dist/resources/upload/upload.test.js +11 -1
  68. package/dist/resources/upload/upload.test.mjs +2 -2
  69. package/dist/resources/virtual-accounts/index.d.mts +3 -3
  70. package/dist/resources/virtual-accounts/index.d.ts +3 -3
  71. package/dist/resources/virtual-accounts/virtual-accounts.test.js +11 -1
  72. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +2 -2
  73. package/dist/resources/wallets/blockchain.d.mts +2 -2
  74. package/dist/resources/wallets/blockchain.d.ts +2 -2
  75. package/dist/resources/wallets/blockchain.test.js +11 -1
  76. package/dist/resources/wallets/blockchain.test.mjs +2 -2
  77. package/dist/resources/wallets/custodial.d.mts +2 -2
  78. package/dist/resources/wallets/custodial.d.ts +2 -2
  79. package/dist/resources/wallets/custodial.test.js +11 -1
  80. package/dist/resources/wallets/custodial.test.mjs +2 -2
  81. package/dist/resources/wallets/offramp.d.mts +2 -2
  82. package/dist/resources/wallets/offramp.d.ts +2 -2
  83. package/dist/resources/wallets/offramp.test.js +11 -1
  84. package/dist/resources/wallets/offramp.test.mjs +2 -2
  85. package/dist/resources/webhooks/index.d.mts +2 -2
  86. package/dist/resources/webhooks/index.d.ts +2 -2
  87. package/dist/resources/webhooks/webhooks.test.js +11 -1
  88. package/dist/resources/webhooks/webhooks.test.mjs +2 -2
  89. package/package.json +2 -2
@@ -1,11 +1,10 @@
1
- import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type StrictOmit<T, K extends keyof T> = Omit<T, K>;
5
5
 
6
6
  type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
7
7
  type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
8
- type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
9
8
  type AmlStatus = "clear" | "hit" | "error";
10
9
  type AmlHits = {
11
10
  has_sanction_match: boolean;
@@ -53,7 +52,7 @@ type IndividualWithStandardKYC = {
53
52
  is_tos_accepted: boolean;
54
53
  type: Extract<AccountClass, "individual">;
55
54
  kyc_type: Extract<KycType, "standard">;
56
- kyc_status: string;
55
+ kyc_status: KycStatus;
57
56
  kyc_warnings: Array<{
58
57
  code: string | null;
59
58
  message: string | null;
@@ -114,7 +113,7 @@ type IndividualWithEnhancedKYC = {
114
113
  is_tos_accepted: boolean;
115
114
  type: Extract<AccountClass, "individual">;
116
115
  kyc_type: Extract<KycType, "enhanced">;
117
- kyc_status: string;
116
+ kyc_status: KycStatus;
118
117
  kyc_warnings: Array<{
119
118
  code: string | null;
120
119
  message: string | null;
@@ -179,7 +178,7 @@ type BusinessWithStandardKYB = {
179
178
  is_fbo: boolean;
180
179
  type: Extract<AccountClass, "business">;
181
180
  kyc_type: Extract<KycType, "standard">;
182
- kyc_status: string;
181
+ kyc_status: KycStatus;
183
182
  kyc_warnings: Array<{
184
183
  code: string | null;
185
184
  message: string | null;
@@ -465,4 +464,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
465
464
  requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
466
465
  };
467
466
 
468
- export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
467
+ export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
@@ -1,11 +1,10 @@
1
- import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type StrictOmit<T, K extends keyof T> = Omit<T, K>;
5
5
 
6
6
  type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
7
7
  type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
8
- type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
9
8
  type AmlStatus = "clear" | "hit" | "error";
10
9
  type AmlHits = {
11
10
  has_sanction_match: boolean;
@@ -53,7 +52,7 @@ type IndividualWithStandardKYC = {
53
52
  is_tos_accepted: boolean;
54
53
  type: Extract<AccountClass, "individual">;
55
54
  kyc_type: Extract<KycType, "standard">;
56
- kyc_status: string;
55
+ kyc_status: KycStatus;
57
56
  kyc_warnings: Array<{
58
57
  code: string | null;
59
58
  message: string | null;
@@ -114,7 +113,7 @@ type IndividualWithEnhancedKYC = {
114
113
  is_tos_accepted: boolean;
115
114
  type: Extract<AccountClass, "individual">;
116
115
  kyc_type: Extract<KycType, "enhanced">;
117
- kyc_status: string;
116
+ kyc_status: KycStatus;
118
117
  kyc_warnings: Array<{
119
118
  code: string | null;
120
119
  message: string | null;
@@ -179,7 +178,7 @@ type BusinessWithStandardKYB = {
179
178
  is_fbo: boolean;
180
179
  type: Extract<AccountClass, "business">;
181
180
  kyc_type: Extract<KycType, "standard">;
182
- kyc_status: string;
181
+ kyc_status: KycStatus;
183
182
  kyc_warnings: Array<{
184
183
  code: string | null;
185
184
  message: string | null;
@@ -465,4 +464,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
465
464
  requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
466
465
  };
467
466
 
468
- export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
467
+ export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -19611,7 +19621,7 @@ describe("Receivers", () => {
19611
19621
  kyc_type: "standard",
19612
19622
  is_tos_accepted: true,
19613
19623
  is_fbo: false,
19614
- kyc_status: "pending",
19624
+ kyc_status: "pending_review",
19615
19625
  kyc_warnings: null,
19616
19626
  email: "business@example.com",
19617
19627
  tax_id: "20096178000195",
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -139,7 +139,7 @@ var require_receivers_test = __commonJS({
139
139
  kyc_type: "standard",
140
140
  is_tos_accepted: true,
141
141
  is_fbo: false,
142
- kyc_status: "pending",
142
+ kyc_status: "pending_review",
143
143
  kyc_warnings: null,
144
144
  email: "business@example.com",
145
145
  tax_id: "20096178000195",
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type InitiateInput = {
5
5
  idempotency_key: string;
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type InitiateInput = {
5
5
  idempotency_key: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type TransferTrackingStep = {
5
5
  step: TrackingStatus;
@@ -1,5 +1,5 @@
1
- import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type TransferTrackingStep = {
5
5
  step: TrackingStatus;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,4 +1,4 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
2
 
3
3
  type UploadBucket = "avatar" | "onboarding" | "limit_increase";
4
4
  type UploadInput = {
@@ -1,4 +1,4 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
2
 
3
3
  type UploadBucket = "avatar" | "onboarding" | "limit_increase";
4
4
  type UploadInput = {
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,12 +1,12 @@
1
- import { B as BlindpayApiResponse, S as StablecoinToken, N as Network } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse, K as KycStatus, S as StablecoinToken, N as Network } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type BankingPartner = "jpmorgan" | "citi" | "hsbc" | "cfsb";
5
5
  type SoleProprietorDocType = "master_service_agreement" | "salary_slip" | "bank_statement";
6
6
  type VirtualAccount = {
7
7
  id: string;
8
8
  banking_partner: BankingPartner;
9
- kyc_status: string;
9
+ kyc_status: KycStatus;
10
10
  us: {
11
11
  ach: {
12
12
  routing_number: string;
@@ -1,12 +1,12 @@
1
- import { B as BlindpayApiResponse, S as StablecoinToken, N as Network } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse, K as KycStatus, S as StablecoinToken, N as Network } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type BankingPartner = "jpmorgan" | "citi" | "hsbc" | "cfsb";
5
5
  type SoleProprietorDocType = "master_service_agreement" | "salary_slip" | "bank_statement";
6
6
  type VirtualAccount = {
7
7
  id: string;
8
8
  banking_partner: BankingPartner;
9
- kyc_status: string;
9
+ kyc_status: KycStatus;
10
10
  us: {
11
11
  ach: {
12
12
  routing_number: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse, N as Network } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse, N as Network } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type GetBlockchainWalletMessage = string;
5
5
  type GetBlockchainWalletMessageResponse = {
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse, N as Network } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse, N as Network } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type GetBlockchainWalletMessage = string;
5
5
  type GetBlockchainWalletMessageResponse = {
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type CustodialWallet = {
5
5
  id: string;
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type CustodialWallet = {
5
5
  id: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type OfframpWalletNetwork = "tron" | "solana";
5
5
  type OfframpWallet = {
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type OfframpWalletNetwork = "tron" | "solana";
5
5
  type OfframpWallet = {
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type WebhookEvents = "receiver.new" | "receiver.update" | "bankAccount.new" | "payout.new" | "payout.update" | "payout.complete" | "payout.partnerFee" | "blockchainWallet.new" | "payin.new" | "payin.update" | "payin.complete" | "payin.partnerFee" | "tos.accept" | "limitIncrease.new" | "limitIncrease.update" | "virtualAccount.new" | "virtualAccount.complete" | "transfer.new" | "transfer.update" | "transfer.complete" | "wallet.new" | "wallet.inbound";
5
5
  type CreateWebhookEndpointInput = {