@blindpay/node 3.11.0 → 4.0.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 (112) hide show
  1. package/dist/{api-client-5N_7-zad.d.ts → api-client-BWImXDBx.d.ts} +1 -1
  2. package/dist/{api-client-DYqrodZr.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
  3. package/dist/{chunk-IM2L5L4B.mjs → chunk-ECYZLQUR.mjs} +16 -24
  4. package/dist/{chunk-N4F3FBNB.mjs → chunk-L23IOSI3.mjs} +40 -40
  5. package/dist/{chunk-LEPGLH7Q.mjs → chunk-SWTOSLUI.mjs} +10 -10
  6. package/dist/{chunk-KMU6V4LW.mjs → chunk-TVOMVVOO.mjs} +11 -11
  7. package/dist/{chunk-FG25JHDX.mjs → chunk-VAVDEV6P.mjs} +14 -14
  8. package/dist/{chunk-QGNLMN6Z.mjs → chunk-YHI3J2CL.mjs} +7 -7
  9. package/dist/{index.d-CGeWvXXq.d.mts → index.d-DK8eD9f3.d.mts} +1 -1
  10. package/dist/{index.d-CGeWvXXq.d.ts → index.d-DK8eD9f3.d.ts} +1 -1
  11. package/dist/index.d.mts +4 -16
  12. package/dist/index.d.ts +4 -16
  13. package/dist/index.js +83 -153
  14. package/dist/index.mjs +14 -20
  15. package/dist/resources/api-keys/api-keys.test.js +83 -151
  16. package/dist/resources/api-keys/api-keys.test.mjs +9 -10
  17. package/dist/resources/api-keys/index.d.mts +2 -2
  18. package/dist/resources/api-keys/index.d.ts +2 -2
  19. package/dist/resources/available/available.test.js +83 -151
  20. package/dist/resources/available/available.test.mjs +9 -10
  21. package/dist/resources/available/index.d.mts +2 -2
  22. package/dist/resources/available/index.d.ts +2 -2
  23. package/dist/resources/bank-accounts/bank-accounts.test.js +110 -178
  24. package/dist/resources/bank-accounts/bank-accounts.test.mjs +36 -37
  25. package/dist/resources/bank-accounts/index.d.mts +31 -31
  26. package/dist/resources/bank-accounts/index.d.ts +31 -31
  27. package/dist/resources/bank-accounts/index.js +40 -40
  28. package/dist/resources/bank-accounts/index.mjs +1 -1
  29. package/dist/resources/customers/customers.test.js +83 -151
  30. package/dist/resources/customers/customers.test.mjs +9 -10
  31. package/dist/resources/customers/index.d.mts +70 -69
  32. package/dist/resources/customers/index.d.ts +70 -69
  33. package/dist/resources/fees/fees.test.js +83 -151
  34. package/dist/resources/fees/fees.test.mjs +9 -10
  35. package/dist/resources/fees/index.d.mts +2 -2
  36. package/dist/resources/fees/index.d.ts +2 -2
  37. package/dist/resources/instances/index.d.mts +2 -2
  38. package/dist/resources/instances/index.d.ts +2 -2
  39. package/dist/resources/instances/instances.test.js +83 -151
  40. package/dist/resources/instances/instances.test.mjs +9 -10
  41. package/dist/resources/partner-fees/index.d.mts +2 -2
  42. package/dist/resources/partner-fees/index.d.ts +2 -2
  43. package/dist/resources/partner-fees/partner-fees.test.js +83 -151
  44. package/dist/resources/partner-fees/partner-fees.test.mjs +9 -10
  45. package/dist/resources/payins/index.d.mts +2 -2
  46. package/dist/resources/payins/index.d.ts +2 -2
  47. package/dist/resources/payins/payins-quotes.test.js +83 -151
  48. package/dist/resources/payins/payins-quotes.test.mjs +9 -10
  49. package/dist/resources/payins/payins.test.js +83 -151
  50. package/dist/resources/payins/payins.test.mjs +9 -10
  51. package/dist/resources/payins/quotes.d.mts +2 -2
  52. package/dist/resources/payins/quotes.d.ts +2 -2
  53. package/dist/resources/payouts/index.d.mts +2 -2
  54. package/dist/resources/payouts/index.d.ts +2 -2
  55. package/dist/resources/payouts/payouts.test.js +83 -151
  56. package/dist/resources/payouts/payouts.test.mjs +9 -10
  57. package/dist/resources/quotes/index.d.mts +2 -2
  58. package/dist/resources/quotes/index.d.ts +2 -2
  59. package/dist/resources/quotes/quotes.test.js +83 -151
  60. package/dist/resources/quotes/quotes.test.mjs +9 -10
  61. package/dist/resources/terms-of-service/index.d.mts +2 -2
  62. package/dist/resources/terms-of-service/index.d.ts +2 -2
  63. package/dist/resources/terms-of-service/terms-of-service.test.js +83 -151
  64. package/dist/resources/terms-of-service/terms-of-service.test.mjs +9 -10
  65. package/dist/resources/transfers/index.d.mts +2 -2
  66. package/dist/resources/transfers/index.d.ts +2 -2
  67. package/dist/resources/transfers/transfers.test.js +83 -151
  68. package/dist/resources/transfers/transfers.test.mjs +9 -10
  69. package/dist/resources/upload/index.d.mts +1 -1
  70. package/dist/resources/upload/index.d.ts +1 -1
  71. package/dist/resources/upload/upload.test.js +83 -151
  72. package/dist/resources/upload/upload.test.mjs +9 -10
  73. package/dist/resources/virtual-accounts/index.d.mts +9 -9
  74. package/dist/resources/virtual-accounts/index.d.ts +9 -9
  75. package/dist/resources/virtual-accounts/index.js +10 -10
  76. package/dist/resources/virtual-accounts/index.mjs +1 -1
  77. package/dist/resources/virtual-accounts/virtual-accounts.test.js +87 -155
  78. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +13 -14
  79. package/dist/resources/wallets/blockchain.d.mts +15 -15
  80. package/dist/resources/wallets/blockchain.d.ts +15 -15
  81. package/dist/resources/wallets/blockchain.js +14 -14
  82. package/dist/resources/wallets/blockchain.mjs +1 -1
  83. package/dist/resources/wallets/blockchain.test.js +91 -159
  84. package/dist/resources/wallets/blockchain.test.mjs +17 -18
  85. package/dist/resources/wallets/custodial.d.mts +11 -11
  86. package/dist/resources/wallets/custodial.d.ts +11 -11
  87. package/dist/resources/wallets/custodial.js +11 -11
  88. package/dist/resources/wallets/custodial.mjs +1 -1
  89. package/dist/resources/wallets/custodial.test.js +87 -155
  90. package/dist/resources/wallets/custodial.test.mjs +13 -14
  91. package/dist/resources/wallets/offramp.d.mts +9 -9
  92. package/dist/resources/wallets/offramp.d.ts +9 -9
  93. package/dist/resources/wallets/offramp.js +7 -7
  94. package/dist/resources/wallets/offramp.mjs +1 -1
  95. package/dist/resources/wallets/offramp.test.js +89 -157
  96. package/dist/resources/wallets/offramp.test.mjs +15 -16
  97. package/dist/resources/webhooks/index.d.mts +2 -2
  98. package/dist/resources/webhooks/index.d.ts +2 -2
  99. package/dist/resources/webhooks/webhooks.test.js +83 -151
  100. package/dist/resources/webhooks/webhooks.test.mjs +9 -10
  101. package/package.json +1 -1
  102. package/dist/chunk-NAGY6BLL.mjs +0 -79
  103. package/dist/resources/receivers/index.d.mts +0 -513
  104. package/dist/resources/receivers/index.d.ts +0 -513
  105. package/dist/resources/receivers/index.js +0 -118
  106. package/dist/resources/receivers/index.mjs +0 -9
  107. package/dist/resources/receivers/receivers.test.d.mts +0 -2
  108. package/dist/resources/receivers/receivers.test.d.ts +0 -2
  109. package/dist/resources/receivers/receivers.test.js +0 -20510
  110. package/dist/resources/receivers/receivers.test.mjs +0 -652
  111. package/dist/strict-omit-ByJhzKNC.d.mts +0 -3
  112. package/dist/strict-omit-ByJhzKNC.d.ts +0 -3
@@ -8,27 +8,26 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-IM2L5L4B.mjs";
12
- import "../../chunk-FG25JHDX.mjs";
13
- import "../../chunk-KMU6V4LW.mjs";
14
- import "../../chunk-QGNLMN6Z.mjs";
11
+ } from "../../chunk-ECYZLQUR.mjs";
12
+ import "../../chunk-VAVDEV6P.mjs";
13
+ import "../../chunk-TVOMVVOO.mjs";
14
+ import "../../chunk-YHI3J2CL.mjs";
15
15
  import "../../chunk-UC57SCKQ.mjs";
16
- import "../../chunk-Z6EYX4D3.mjs";
17
16
  import "../../chunk-ISHZTBAN.mjs";
18
17
  import "../../chunk-UDRMLZWT.mjs";
19
- import "../../chunk-LEPGLH7Q.mjs";
20
- import "../../chunk-VGU72ZNI.mjs";
18
+ import "../../chunk-SWTOSLUI.mjs";
21
19
  import "../../chunk-E7M4CJKR.mjs";
20
+ import "../../chunk-F5Z45GCA.mjs";
22
21
  import "../../chunk-TBTA7A2P.mjs";
23
- import "../../chunk-NAGY6BLL.mjs";
22
+ import "../../chunk-Z6EYX4D3.mjs";
24
23
  import "../../chunk-SLKVEQUY.mjs";
25
24
  import "../../chunk-ALHMJWQN.mjs";
26
25
  import "../../chunk-KYOUR4KX.mjs";
27
26
  import "../../chunk-RC5NN5UF.mjs";
28
- import "../../chunk-F5Z45GCA.mjs";
27
+ import "../../chunk-VGU72ZNI.mjs";
29
28
  import "../../chunk-LRHWT4JU.mjs";
30
29
  import "../../chunk-WE73MTQL.mjs";
31
- import "../../chunk-N4F3FBNB.mjs";
30
+ import "../../chunk-L23IOSI3.mjs";
32
31
  import {
33
32
  __async,
34
33
  __commonJS
@@ -54,8 +53,8 @@ var require_bank_accounts_test = __commonJS({
54
53
  fetchMock.mockResponseOnce(JSON.stringify(mockedPixAccount), {
55
54
  headers: { "Content-Type": "application/json" }
56
55
  });
57
- const { data, error } = yield blindpay.receivers.bankAccounts.createPix({
58
- receiver_id: "re_000000000000",
56
+ const { data, error } = yield blindpay.customers.bankAccounts.createPix({
57
+ customer_id: "re_000000000000",
59
58
  name: "PIX Account",
60
59
  pix_key: "14947677768"
61
60
  });
@@ -77,8 +76,8 @@ var require_bank_accounts_test = __commonJS({
77
76
  fetchMock.mockResponseOnce(JSON.stringify(mockedArgentinaTransfersAccount), {
78
77
  headers: { "Content-Type": "application/json" }
79
78
  });
80
- const { data, error } = yield blindpay.receivers.bankAccounts.createArgentinaTransfers({
81
- receiver_id: "re_000000000000",
79
+ const { data, error } = yield blindpay.customers.bankAccounts.createArgentinaTransfers({
80
+ customer_id: "re_000000000000",
82
81
  name: "Argentina Transfers Account",
83
82
  beneficiary_name: "Individual full name or business name",
84
83
  transfers_type: "CVU",
@@ -103,8 +102,8 @@ var require_bank_accounts_test = __commonJS({
103
102
  fetchMock.mockResponseOnce(JSON.stringify(mockedSpeiAccount), {
104
103
  headers: { "Content-Type": "application/json" }
105
104
  });
106
- const { data, error } = yield blindpay.receivers.bankAccounts.createSpei({
107
- receiver_id: "re_000000000000",
105
+ const { data, error } = yield blindpay.customers.bankAccounts.createSpei({
106
+ customer_id: "re_000000000000",
108
107
  name: "SPEI Account",
109
108
  beneficiary_name: "Individual full name or business name",
110
109
  spei_protocol: "clabe",
@@ -134,8 +133,8 @@ var require_bank_accounts_test = __commonJS({
134
133
  fetchMock.mockResponseOnce(JSON.stringify(mockedColombiaAchAccount), {
135
134
  headers: { "Content-Type": "application/json" }
136
135
  });
137
- const { data, error } = yield blindpay.receivers.bankAccounts.createColombiaAch({
138
- receiver_id: "re_000000000000",
136
+ const { data, error } = yield blindpay.customers.bankAccounts.createColombiaAch({
137
+ customer_id: "re_000000000000",
139
138
  name: "Colombia ACH Account",
140
139
  account_type: "checking",
141
140
  ach_cop_beneficiary_first_name: "Fernando",
@@ -180,8 +179,8 @@ var require_bank_accounts_test = __commonJS({
180
179
  fetchMock.mockResponseOnce(JSON.stringify(mockedAchAccount), {
181
180
  headers: { "Content-Type": "application/json" }
182
181
  });
183
- const { data, error } = yield blindpay.receivers.bankAccounts.createAch({
184
- receiver_id: "re_000000000000",
182
+ const { data, error } = yield blindpay.customers.bankAccounts.createAch({
183
+ customer_id: "re_000000000000",
185
184
  name: "ACH Account",
186
185
  account_class: "individual",
187
186
  account_number: "1001001234",
@@ -221,8 +220,8 @@ var require_bank_accounts_test = __commonJS({
221
220
  fetchMock.mockResponseOnce(JSON.stringify(mockedWireAccount), {
222
221
  headers: { "Content-Type": "application/json" }
223
222
  });
224
- const { data, error } = yield blindpay.receivers.bankAccounts.createWire({
225
- receiver_id: "re_000000000000",
223
+ const { data, error } = yield blindpay.customers.bankAccounts.createWire({
224
+ customer_id: "re_000000000000",
226
225
  name: "Wire Account",
227
226
  account_class: "individual",
228
227
  account_number: "1001001234",
@@ -281,8 +280,8 @@ var require_bank_accounts_test = __commonJS({
281
280
  fetchMock.mockResponseOnce(JSON.stringify(mockedInternationalSwiftAccount), {
282
281
  headers: { "Content-Type": "application/json" }
283
282
  });
284
- const { data, error } = yield blindpay.receivers.bankAccounts.createInternationalSwift({
285
- receiver_id: "re_000000000000",
283
+ const { data, error } = yield blindpay.customers.bankAccounts.createInternationalSwift({
284
+ customer_id: "re_000000000000",
286
285
  name: "International Swift Account",
287
286
  account_class: "individual",
288
287
  recipient_relationship: "first_party",
@@ -331,8 +330,8 @@ var require_bank_accounts_test = __commonJS({
331
330
  fetchMock.mockResponseOnce(JSON.stringify(mockedRtpAccount), {
332
331
  headers: { "Content-Type": "application/json" }
333
332
  });
334
- const { data, error } = yield blindpay.receivers.bankAccounts.createRtp({
335
- receiver_id: "re_000000000000",
333
+ const { data, error } = yield blindpay.customers.bankAccounts.createRtp({
334
+ customer_id: "re_000000000000",
336
335
  name: "John Doe RTP",
337
336
  account_class: "individual",
338
337
  beneficiary_name: "John Doe",
@@ -353,7 +352,7 @@ var require_bank_accounts_test = __commonJS({
353
352
  it("should get a bank account", () => __async(null, null, function* () {
354
353
  const mockedBankAccount = {
355
354
  id: "ba_000000000000",
356
- receiver_id: "rcv_123",
355
+ customer_id: "rcv_123",
357
356
  account_holder_name: "Individual full name or business name",
358
357
  account_number: "1001001234",
359
358
  routing_number: "012345678",
@@ -368,8 +367,8 @@ var require_bank_accounts_test = __commonJS({
368
367
  fetchMock.mockResponseOnce(JSON.stringify(mockedBankAccount), {
369
368
  headers: { "Content-Type": "application/json" }
370
369
  });
371
- const { data, error } = yield blindpay.receivers.bankAccounts.get({
372
- receiver_id: "re_000000000000",
370
+ const { data, error } = yield blindpay.customers.bankAccounts.get({
371
+ customer_id: "re_000000000000",
373
372
  id: "ba_000000000000"
374
373
  });
375
374
  globalExpect(error).toBeNull();
@@ -444,8 +443,8 @@ var require_bank_accounts_test = __commonJS({
444
443
  fetchMock.mockResponseOnce(JSON.stringify(mockedBankAccounts), {
445
444
  headers: { "Content-Type": "application/json" }
446
445
  });
447
- const { data, error } = yield blindpay.receivers.bankAccounts.list({
448
- receiver_id: "re_000000000000"
446
+ const { data, error } = yield blindpay.customers.bankAccounts.list({
447
+ customer_id: "re_000000000000"
449
448
  });
450
449
  globalExpect(error).toBeNull();
451
450
  globalExpect(data).toEqual(mockedBankAccounts);
@@ -468,8 +467,8 @@ var require_bank_accounts_test = __commonJS({
468
467
  fetchMock.mockResponseOnce(JSON.stringify(mockedPixSafeAccount), {
469
468
  headers: { "Content-Type": "application/json" }
470
469
  });
471
- const { data, error } = yield blindpay.receivers.bankAccounts.createPixSafe({
472
- receiver_id: "re_000000000000",
470
+ const { data, error } = yield blindpay.customers.bankAccounts.createPixSafe({
471
+ customer_id: "re_000000000000",
473
472
  name: "PIX Safe Account",
474
473
  beneficiary_name: "Maria Silva",
475
474
  account_number: "123456789",
@@ -504,8 +503,8 @@ var require_bank_accounts_test = __commonJS({
504
503
  fetchMock.mockResponseOnce(JSON.stringify(mockedSepaAccount), {
505
504
  headers: { "Content-Type": "application/json" }
506
505
  });
507
- const { data, error } = yield blindpay.receivers.bankAccounts.createSepa({
508
- receiver_id: "re_000000000000",
506
+ const { data, error } = yield blindpay.customers.bankAccounts.createSepa({
507
+ customer_id: "re_000000000000",
509
508
  name: "SEPA Account",
510
509
  account_class: "individual",
511
510
  sepa_iban: "BE68539007547034",
@@ -525,8 +524,8 @@ var require_bank_accounts_test = __commonJS({
525
524
  fetchMock.mockResponseOnce(JSON.stringify({ data: null }), {
526
525
  headers: { "Content-Type": "application/json" }
527
526
  });
528
- const { data, error } = yield blindpay.receivers.bankAccounts.delete({
529
- receiver_id: "re_000000000000",
527
+ const { data, error } = yield blindpay.customers.bankAccounts.delete({
528
+ customer_id: "re_000000000000",
530
529
  id: "ba_000000000000"
531
530
  });
532
531
  globalExpect(error).toBeNull();
@@ -1,10 +1,10 @@
1
- import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-CGeWvXXq.mjs';
2
- import { I as InternalApiClient } from '../../api-client-DYqrodZr.mjs';
1
+ import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
  import { SpeiProtocol } from '../payouts/index.mjs';
4
4
 
5
5
  type RecipientRelationship = "first_party" | "employee" | "independent_contractor" | "vendor_or_supplier" | "subsidiary_or_affiliate" | "merchant_or_partner" | "customer" | "landlord" | "family" | "other";
6
6
  type ListBankAccountsInput = {
7
- receiver_id: string;
7
+ customer_id: string;
8
8
  status?: string;
9
9
  type?: Rail;
10
10
  name?: string;
@@ -85,12 +85,12 @@ type ListBankAccountsResponse = {
85
85
  }>;
86
86
  };
87
87
  type GetBankAccountInput = {
88
- receiver_id: string;
88
+ customer_id: string;
89
89
  id: string;
90
90
  };
91
91
  type GetBankAccountResponse = {
92
92
  id: string;
93
- receiver_id: string;
93
+ customer_id: string;
94
94
  account_holder_name: string;
95
95
  account_number: string;
96
96
  routing_number: string;
@@ -104,11 +104,11 @@ type GetBankAccountResponse = {
104
104
  updated_at: string;
105
105
  };
106
106
  type DeleteBankAccountInput = {
107
- receiver_id: string;
107
+ customer_id: string;
108
108
  id: string;
109
109
  };
110
110
  type CreatePixInput = {
111
- receiver_id: string;
111
+ customer_id: string;
112
112
  name: string;
113
113
  pix_key: string;
114
114
  };
@@ -120,7 +120,7 @@ type CreatePixResponse = {
120
120
  created_at: string;
121
121
  };
122
122
  type CreatePixSafeInput = {
123
- receiver_id: string;
123
+ customer_id: string;
124
124
  name: string;
125
125
  beneficiary_name: string;
126
126
  account_number: string;
@@ -142,7 +142,7 @@ type CreatePixSafeResponse = {
142
142
  created_at: string;
143
143
  };
144
144
  type CreateArgentinaTransfersInput = {
145
- receiver_id: string;
145
+ customer_id: string;
146
146
  name: string;
147
147
  beneficiary_name: string;
148
148
  transfers_account: string;
@@ -158,7 +158,7 @@ type CreateArgentinaTransfersResponse = {
158
158
  created_at: string;
159
159
  };
160
160
  type CreateSpeiInput = {
161
- receiver_id: string;
161
+ customer_id: string;
162
162
  beneficiary_name: string;
163
163
  name: string;
164
164
  spei_clabe: string;
@@ -176,7 +176,7 @@ type CreateSpeiResponse = {
176
176
  created_at: string;
177
177
  };
178
178
  type CreateColombiaAchInput = {
179
- receiver_id: string;
179
+ customer_id: string;
180
180
  name: string;
181
181
  account_type: BankAccountType;
182
182
  ach_cop_beneficiary_first_name: string;
@@ -202,7 +202,7 @@ type CreateColombiaAchResponse = {
202
202
  created_at: string;
203
203
  };
204
204
  type CreateAchInput = {
205
- receiver_id: string;
205
+ customer_id: string;
206
206
  name: string;
207
207
  account_class: AccountClass;
208
208
  account_number: string;
@@ -247,7 +247,7 @@ type CreateAchResponse = {
247
247
  created_at: string;
248
248
  };
249
249
  type CreateWireInput = {
250
- receiver_id: string;
250
+ customer_id: string;
251
251
  name: string;
252
252
  account_class: AccountClass;
253
253
  account_number: string;
@@ -283,7 +283,7 @@ type CreateWireResponse = {
283
283
  created_at: string;
284
284
  };
285
285
  type CreateInternationalSwiftInput = {
286
- receiver_id: string;
286
+ customer_id: string;
287
287
  name: string;
288
288
  account_class: AccountClass;
289
289
  recipient_relationship: RecipientRelationship;
@@ -350,7 +350,7 @@ type CreateInternationalSwiftResponse = {
350
350
  created_at: string;
351
351
  };
352
352
  type CreateRtpInput = {
353
- receiver_id: string;
353
+ customer_id: string;
354
354
  name: string;
355
355
  account_class: AccountClass;
356
356
  beneficiary_name: string;
@@ -386,7 +386,7 @@ type CreateRtpResponse = {
386
386
  created_at: string;
387
387
  };
388
388
  type CreateSepaInput = {
389
- receiver_id: string;
389
+ customer_id: string;
390
390
  name: string;
391
391
  account_class: AccountClass;
392
392
  sepa_iban: string;
@@ -417,7 +417,7 @@ type CreateSepaResponse = {
417
417
  created_at: string;
418
418
  };
419
419
  type CreateTedInput = {
420
- receiver_id: string;
420
+ customer_id: string;
421
421
  name: string;
422
422
  beneficiary_name: string;
423
423
  ted_bank_code: string;
@@ -435,20 +435,20 @@ type CreateTedResponse = {
435
435
  created_at: string;
436
436
  };
437
437
  declare function createBankAccountsResource(instanceId: string, client: InternalApiClient): {
438
- list({ receiver_id, ...params }: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
439
- get({ receiver_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
440
- delete({ receiver_id, id }: DeleteBankAccountInput): Promise<BlindpayApiResponse<void>>;
441
- createPix({ receiver_id, ...data }: CreatePixInput): Promise<BlindpayApiResponse<CreatePixResponse>>;
442
- createPixSafe({ receiver_id, ...data }: CreatePixSafeInput): Promise<BlindpayApiResponse<CreatePixSafeResponse>>;
443
- createArgentinaTransfers({ receiver_id, ...data }: CreateArgentinaTransfersInput): Promise<BlindpayApiResponse<CreateArgentinaTransfersResponse>>;
444
- createSpei({ receiver_id, ...data }: CreateSpeiInput): Promise<BlindpayApiResponse<CreateSpeiResponse>>;
445
- createColombiaAch({ receiver_id, ...data }: CreateColombiaAchInput): Promise<BlindpayApiResponse<CreateColombiaAchResponse>>;
446
- createAch({ receiver_id, ...data }: CreateAchInput): Promise<BlindpayApiResponse<CreateAchResponse>>;
447
- createWire({ receiver_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
448
- createInternationalSwift({ receiver_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
449
- createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
450
- createTed({ receiver_id, ...data }: CreateTedInput): Promise<BlindpayApiResponse<CreateTedResponse>>;
451
- createSepa({ receiver_id, ...data }: CreateSepaInput): Promise<BlindpayApiResponse<CreateSepaResponse>>;
438
+ list({ customer_id, ...params }: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
439
+ get({ customer_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
440
+ delete({ customer_id, id }: DeleteBankAccountInput): Promise<BlindpayApiResponse<void>>;
441
+ createPix({ customer_id, ...data }: CreatePixInput): Promise<BlindpayApiResponse<CreatePixResponse>>;
442
+ createPixSafe({ customer_id, ...data }: CreatePixSafeInput): Promise<BlindpayApiResponse<CreatePixSafeResponse>>;
443
+ createArgentinaTransfers({ customer_id, ...data }: CreateArgentinaTransfersInput): Promise<BlindpayApiResponse<CreateArgentinaTransfersResponse>>;
444
+ createSpei({ customer_id, ...data }: CreateSpeiInput): Promise<BlindpayApiResponse<CreateSpeiResponse>>;
445
+ createColombiaAch({ customer_id, ...data }: CreateColombiaAchInput): Promise<BlindpayApiResponse<CreateColombiaAchResponse>>;
446
+ createAch({ customer_id, ...data }: CreateAchInput): Promise<BlindpayApiResponse<CreateAchResponse>>;
447
+ createWire({ customer_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
448
+ createInternationalSwift({ customer_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
449
+ createRtp({ customer_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
450
+ createTed({ customer_id, ...data }: CreateTedInput): Promise<BlindpayApiResponse<CreateTedResponse>>;
451
+ createSepa({ customer_id, ...data }: CreateSepaInput): Promise<BlindpayApiResponse<CreateSepaResponse>>;
452
452
  };
453
453
 
454
454
  export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreatePixSafeInput, type CreatePixSafeResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSepaInput, type CreateSepaResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateTedInput, type CreateTedResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, type RecipientRelationship, createBankAccountsResource };
@@ -1,10 +1,10 @@
1
- import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-CGeWvXXq.js';
2
- import { I as InternalApiClient } from '../../api-client-5N_7-zad.js';
1
+ import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
  import { SpeiProtocol } from '../payouts/index.js';
4
4
 
5
5
  type RecipientRelationship = "first_party" | "employee" | "independent_contractor" | "vendor_or_supplier" | "subsidiary_or_affiliate" | "merchant_or_partner" | "customer" | "landlord" | "family" | "other";
6
6
  type ListBankAccountsInput = {
7
- receiver_id: string;
7
+ customer_id: string;
8
8
  status?: string;
9
9
  type?: Rail;
10
10
  name?: string;
@@ -85,12 +85,12 @@ type ListBankAccountsResponse = {
85
85
  }>;
86
86
  };
87
87
  type GetBankAccountInput = {
88
- receiver_id: string;
88
+ customer_id: string;
89
89
  id: string;
90
90
  };
91
91
  type GetBankAccountResponse = {
92
92
  id: string;
93
- receiver_id: string;
93
+ customer_id: string;
94
94
  account_holder_name: string;
95
95
  account_number: string;
96
96
  routing_number: string;
@@ -104,11 +104,11 @@ type GetBankAccountResponse = {
104
104
  updated_at: string;
105
105
  };
106
106
  type DeleteBankAccountInput = {
107
- receiver_id: string;
107
+ customer_id: string;
108
108
  id: string;
109
109
  };
110
110
  type CreatePixInput = {
111
- receiver_id: string;
111
+ customer_id: string;
112
112
  name: string;
113
113
  pix_key: string;
114
114
  };
@@ -120,7 +120,7 @@ type CreatePixResponse = {
120
120
  created_at: string;
121
121
  };
122
122
  type CreatePixSafeInput = {
123
- receiver_id: string;
123
+ customer_id: string;
124
124
  name: string;
125
125
  beneficiary_name: string;
126
126
  account_number: string;
@@ -142,7 +142,7 @@ type CreatePixSafeResponse = {
142
142
  created_at: string;
143
143
  };
144
144
  type CreateArgentinaTransfersInput = {
145
- receiver_id: string;
145
+ customer_id: string;
146
146
  name: string;
147
147
  beneficiary_name: string;
148
148
  transfers_account: string;
@@ -158,7 +158,7 @@ type CreateArgentinaTransfersResponse = {
158
158
  created_at: string;
159
159
  };
160
160
  type CreateSpeiInput = {
161
- receiver_id: string;
161
+ customer_id: string;
162
162
  beneficiary_name: string;
163
163
  name: string;
164
164
  spei_clabe: string;
@@ -176,7 +176,7 @@ type CreateSpeiResponse = {
176
176
  created_at: string;
177
177
  };
178
178
  type CreateColombiaAchInput = {
179
- receiver_id: string;
179
+ customer_id: string;
180
180
  name: string;
181
181
  account_type: BankAccountType;
182
182
  ach_cop_beneficiary_first_name: string;
@@ -202,7 +202,7 @@ type CreateColombiaAchResponse = {
202
202
  created_at: string;
203
203
  };
204
204
  type CreateAchInput = {
205
- receiver_id: string;
205
+ customer_id: string;
206
206
  name: string;
207
207
  account_class: AccountClass;
208
208
  account_number: string;
@@ -247,7 +247,7 @@ type CreateAchResponse = {
247
247
  created_at: string;
248
248
  };
249
249
  type CreateWireInput = {
250
- receiver_id: string;
250
+ customer_id: string;
251
251
  name: string;
252
252
  account_class: AccountClass;
253
253
  account_number: string;
@@ -283,7 +283,7 @@ type CreateWireResponse = {
283
283
  created_at: string;
284
284
  };
285
285
  type CreateInternationalSwiftInput = {
286
- receiver_id: string;
286
+ customer_id: string;
287
287
  name: string;
288
288
  account_class: AccountClass;
289
289
  recipient_relationship: RecipientRelationship;
@@ -350,7 +350,7 @@ type CreateInternationalSwiftResponse = {
350
350
  created_at: string;
351
351
  };
352
352
  type CreateRtpInput = {
353
- receiver_id: string;
353
+ customer_id: string;
354
354
  name: string;
355
355
  account_class: AccountClass;
356
356
  beneficiary_name: string;
@@ -386,7 +386,7 @@ type CreateRtpResponse = {
386
386
  created_at: string;
387
387
  };
388
388
  type CreateSepaInput = {
389
- receiver_id: string;
389
+ customer_id: string;
390
390
  name: string;
391
391
  account_class: AccountClass;
392
392
  sepa_iban: string;
@@ -417,7 +417,7 @@ type CreateSepaResponse = {
417
417
  created_at: string;
418
418
  };
419
419
  type CreateTedInput = {
420
- receiver_id: string;
420
+ customer_id: string;
421
421
  name: string;
422
422
  beneficiary_name: string;
423
423
  ted_bank_code: string;
@@ -435,20 +435,20 @@ type CreateTedResponse = {
435
435
  created_at: string;
436
436
  };
437
437
  declare function createBankAccountsResource(instanceId: string, client: InternalApiClient): {
438
- list({ receiver_id, ...params }: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
439
- get({ receiver_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
440
- delete({ receiver_id, id }: DeleteBankAccountInput): Promise<BlindpayApiResponse<void>>;
441
- createPix({ receiver_id, ...data }: CreatePixInput): Promise<BlindpayApiResponse<CreatePixResponse>>;
442
- createPixSafe({ receiver_id, ...data }: CreatePixSafeInput): Promise<BlindpayApiResponse<CreatePixSafeResponse>>;
443
- createArgentinaTransfers({ receiver_id, ...data }: CreateArgentinaTransfersInput): Promise<BlindpayApiResponse<CreateArgentinaTransfersResponse>>;
444
- createSpei({ receiver_id, ...data }: CreateSpeiInput): Promise<BlindpayApiResponse<CreateSpeiResponse>>;
445
- createColombiaAch({ receiver_id, ...data }: CreateColombiaAchInput): Promise<BlindpayApiResponse<CreateColombiaAchResponse>>;
446
- createAch({ receiver_id, ...data }: CreateAchInput): Promise<BlindpayApiResponse<CreateAchResponse>>;
447
- createWire({ receiver_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
448
- createInternationalSwift({ receiver_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
449
- createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
450
- createTed({ receiver_id, ...data }: CreateTedInput): Promise<BlindpayApiResponse<CreateTedResponse>>;
451
- createSepa({ receiver_id, ...data }: CreateSepaInput): Promise<BlindpayApiResponse<CreateSepaResponse>>;
438
+ list({ customer_id, ...params }: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
439
+ get({ customer_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
440
+ delete({ customer_id, id }: DeleteBankAccountInput): Promise<BlindpayApiResponse<void>>;
441
+ createPix({ customer_id, ...data }: CreatePixInput): Promise<BlindpayApiResponse<CreatePixResponse>>;
442
+ createPixSafe({ customer_id, ...data }: CreatePixSafeInput): Promise<BlindpayApiResponse<CreatePixSafeResponse>>;
443
+ createArgentinaTransfers({ customer_id, ...data }: CreateArgentinaTransfersInput): Promise<BlindpayApiResponse<CreateArgentinaTransfersResponse>>;
444
+ createSpei({ customer_id, ...data }: CreateSpeiInput): Promise<BlindpayApiResponse<CreateSpeiResponse>>;
445
+ createColombiaAch({ customer_id, ...data }: CreateColombiaAchInput): Promise<BlindpayApiResponse<CreateColombiaAchResponse>>;
446
+ createAch({ customer_id, ...data }: CreateAchInput): Promise<BlindpayApiResponse<CreateAchResponse>>;
447
+ createWire({ customer_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
448
+ createInternationalSwift({ customer_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
449
+ createRtp({ customer_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
450
+ createTed({ customer_id, ...data }: CreateTedInput): Promise<BlindpayApiResponse<CreateTedResponse>>;
451
+ createSepa({ customer_id, ...data }: CreateSepaInput): Promise<BlindpayApiResponse<CreateSepaResponse>>;
452
452
  };
453
453
 
454
454
  export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreatePixSafeInput, type CreatePixSafeResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSepaInput, type CreateSepaResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateTedInput, type CreateTedResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, type RecipientRelationship, createBankAccountsResource };