@blindpay/node 3.1.1 → 3.3.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 (119) hide show
  1. package/README.md +2 -2
  2. package/dist/api-client-Cu0yYexQ.d.ts +16 -0
  3. package/dist/api-client-DV5jG52T.d.mts +16 -0
  4. package/dist/chunk-ALHMJWQN.mjs +21 -0
  5. package/dist/{chunk-VOB7TMKL.mjs → chunk-F5Z45GCA.mjs} +8 -0
  6. package/dist/chunk-ISHZTBAN.mjs +39 -0
  7. package/dist/{chunk-I4KOWV46.mjs → chunk-JOHWDSDM.mjs} +44 -20
  8. package/dist/chunk-KMU6V4LW.mjs +50 -0
  9. package/dist/chunk-UDRMLZWT.mjs +53 -0
  10. package/dist/{chunk-CPOSU35L.mjs → chunk-UOAM7SX3.mjs} +43 -25
  11. package/dist/{chunk-U7CKUUO7.mjs → chunk-WE73MTQL.mjs} +3 -0
  12. package/dist/{chunk-67XECGMJ.mjs → chunk-YIZJM2GU.mjs} +4 -3
  13. package/dist/{api-client-CIPV5zmo.d.mts → index.d-yOiKSwHO.d.mts} +6 -19
  14. package/dist/{api-client-CIPV5zmo.d.ts → index.d-yOiKSwHO.d.ts} +6 -19
  15. package/dist/index.d.mts +19 -6
  16. package/dist/index.d.ts +19 -6
  17. package/dist/index.js +183 -30
  18. package/dist/index.mjs +43 -19
  19. package/dist/resources/api-keys/api-keys.test.js +175 -30
  20. package/dist/resources/api-keys/api-keys.test.mjs +12 -8
  21. package/dist/resources/api-keys/index.d.mts +2 -1
  22. package/dist/resources/api-keys/index.d.ts +2 -1
  23. package/dist/resources/available/available.test.js +199 -30
  24. package/dist/resources/available/available.test.mjs +36 -8
  25. package/dist/resources/available/index.d.mts +8 -2
  26. package/dist/resources/available/index.d.ts +8 -2
  27. package/dist/resources/available/index.js +3 -0
  28. package/dist/resources/available/index.mjs +1 -1
  29. package/dist/resources/bank-accounts/bank-accounts.test.js +230 -32
  30. package/dist/resources/bank-accounts/bank-accounts.test.mjs +67 -10
  31. package/dist/resources/bank-accounts/index.d.mts +83 -9
  32. package/dist/resources/bank-accounts/index.d.ts +83 -9
  33. package/dist/resources/bank-accounts/index.js +43 -25
  34. package/dist/resources/bank-accounts/index.mjs +1 -1
  35. package/dist/resources/fees/fees.test.d.mts +2 -0
  36. package/dist/resources/fees/fees.test.d.ts +2 -0
  37. package/dist/resources/fees/fees.test.js +19845 -0
  38. package/dist/resources/fees/fees.test.mjs +85 -0
  39. package/dist/resources/fees/index.d.mts +36 -0
  40. package/dist/resources/fees/index.d.ts +36 -0
  41. package/dist/resources/fees/index.js +36 -0
  42. package/dist/resources/fees/index.mjs +9 -0
  43. package/dist/resources/instances/index.d.mts +2 -1
  44. package/dist/resources/instances/index.d.ts +2 -1
  45. package/dist/resources/instances/instances.test.js +175 -30
  46. package/dist/resources/instances/instances.test.mjs +12 -8
  47. package/dist/resources/partner-fees/index.d.mts +2 -1
  48. package/dist/resources/partner-fees/index.d.ts +2 -1
  49. package/dist/resources/partner-fees/partner-fees.test.js +175 -30
  50. package/dist/resources/partner-fees/partner-fees.test.mjs +12 -8
  51. package/dist/resources/payins/index.d.mts +2 -1
  52. package/dist/resources/payins/index.d.ts +2 -1
  53. package/dist/resources/payins/payins-quotes.test.js +175 -30
  54. package/dist/resources/payins/payins-quotes.test.mjs +12 -8
  55. package/dist/resources/payins/payins.test.js +175 -30
  56. package/dist/resources/payins/payins.test.mjs +12 -8
  57. package/dist/resources/payins/quotes.d.mts +2 -1
  58. package/dist/resources/payins/quotes.d.ts +2 -1
  59. package/dist/resources/payouts/index.d.mts +15 -3
  60. package/dist/resources/payouts/index.d.ts +15 -3
  61. package/dist/resources/payouts/index.js +8 -0
  62. package/dist/resources/payouts/index.mjs +1 -1
  63. package/dist/resources/payouts/payouts.test.js +194 -30
  64. package/dist/resources/payouts/payouts.test.mjs +31 -8
  65. package/dist/resources/quotes/index.d.mts +2 -1
  66. package/dist/resources/quotes/index.d.ts +2 -1
  67. package/dist/resources/quotes/quotes.test.js +175 -30
  68. package/dist/resources/quotes/quotes.test.mjs +12 -8
  69. package/dist/resources/receivers/index.d.mts +134 -85
  70. package/dist/resources/receivers/index.d.ts +134 -85
  71. package/dist/resources/receivers/index.js +4 -3
  72. package/dist/resources/receivers/index.mjs +1 -1
  73. package/dist/resources/receivers/receivers.test.js +350 -184
  74. package/dist/resources/receivers/receivers.test.mjs +187 -162
  75. package/dist/resources/terms-of-service/index.d.mts +2 -1
  76. package/dist/resources/terms-of-service/index.d.ts +2 -1
  77. package/dist/resources/terms-of-service/terms-of-service.test.js +175 -30
  78. package/dist/resources/terms-of-service/terms-of-service.test.mjs +12 -8
  79. package/dist/resources/transfers/index.d.mts +94 -0
  80. package/dist/resources/transfers/index.d.ts +94 -0
  81. package/dist/resources/transfers/index.js +67 -0
  82. package/dist/resources/transfers/index.mjs +9 -0
  83. package/dist/resources/transfers/transfers.test.d.mts +2 -0
  84. package/dist/resources/transfers/transfers.test.d.ts +2 -0
  85. package/dist/resources/transfers/transfers.test.js +19931 -0
  86. package/dist/resources/transfers/transfers.test.mjs +171 -0
  87. package/dist/resources/upload/index.d.mts +16 -0
  88. package/dist/resources/upload/index.d.ts +16 -0
  89. package/dist/resources/upload/index.js +100 -0
  90. package/dist/resources/upload/index.mjs +9 -0
  91. package/dist/resources/upload/upload.test.d.mts +2 -0
  92. package/dist/resources/upload/upload.test.d.ts +2 -0
  93. package/dist/resources/upload/upload.test.js +19840 -0
  94. package/dist/resources/upload/upload.test.mjs +80 -0
  95. package/dist/resources/virtual-accounts/index.d.mts +4 -2
  96. package/dist/resources/virtual-accounts/index.d.ts +4 -2
  97. package/dist/resources/virtual-accounts/virtual-accounts.test.js +177 -31
  98. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +14 -9
  99. package/dist/resources/wallets/blockchain.d.mts +2 -1
  100. package/dist/resources/wallets/blockchain.d.ts +2 -1
  101. package/dist/resources/wallets/blockchain.test.js +175 -30
  102. package/dist/resources/wallets/blockchain.test.mjs +12 -8
  103. package/dist/resources/wallets/custodial.d.mts +55 -0
  104. package/dist/resources/wallets/custodial.d.ts +55 -0
  105. package/dist/resources/wallets/custodial.js +78 -0
  106. package/dist/resources/wallets/custodial.mjs +9 -0
  107. package/dist/resources/wallets/custodial.test.d.mts +2 -0
  108. package/dist/resources/wallets/custodial.test.d.ts +2 -0
  109. package/dist/resources/wallets/custodial.test.js +19901 -0
  110. package/dist/resources/wallets/custodial.test.mjs +141 -0
  111. package/dist/resources/wallets/offramp.d.mts +2 -1
  112. package/dist/resources/wallets/offramp.d.ts +2 -1
  113. package/dist/resources/wallets/offramp.test.js +175 -30
  114. package/dist/resources/wallets/offramp.test.mjs +12 -8
  115. package/dist/resources/webhooks/index.d.mts +3 -2
  116. package/dist/resources/webhooks/index.d.ts +3 -2
  117. package/dist/resources/webhooks/webhooks.test.js +175 -30
  118. package/dist/resources/webhooks/webhooks.test.mjs +12 -8
  119. package/package.json +3 -3
@@ -1,9 +1,15 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse, A as AccountClass, C as Country } from '../../api-client-CIPV5zmo.js';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, k as PaginationMetadata } from '../../index.d-yOiKSwHO.js';
2
+ import { I as InternalApiClient } from '../../api-client-Cu0yYexQ.js';
2
3
 
3
4
  type StrictOmit<T, K extends keyof T> = Omit<T, K>;
4
5
 
5
6
  type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
6
7
  type PurposeOfTransactions = "business_transactions" | "charitable_donations" | "investment_purposes" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_good_and_services" | "receive_payment_for_freelancing" | "receive_salary" | "other";
8
+ type AccountPurpose = "charitable_donations" | "ecommerce_retail_payments" | "investment_purposes" | "business_expenses" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_goods_and_services" | "receive_payments_for_goods_and_services" | "tax_optimization" | "third_party_money_transmission" | "other" | "payroll" | "treasury_management";
9
+ type BusinessType = "corporation" | "llc" | "partnership" | "sole_proprietorship" | "trust" | "non_profit";
10
+ type BusinessIndustry = "541511" | "541512" | "541519" | "518210" | "511210" | "541611" | "541618" | "541330" | "541990" | "522110" | "523110" | "523920" | "423430" | "423690" | "423110" | "423830" | "423840" | "423510" | "424210" | "424690" | "424990" | "454110" | "334111" | "334118" | "325412" | "339112" | "336111" | "336390" | "551112" | "561499" | "488510" | "484121" | "493110" | "424410" | "424480" | "315990" | "313110" | "213112" | "517110" | "541214";
11
+ type EstimatedAnnualRevenue = "0_99999" | "100000_999999" | "1000000_9999999" | "10000000_49999999" | "50000000_249999999" | "2500000000_plus";
12
+ type SourceOfWealth = "business_dividends_or_profits" | "investments" | "asset_sales" | "client_investor_contributions" | "gambling" | "charitable_contributions" | "inheritance" | "affiliate_or_royalty_income";
7
13
  type SourceOfFundsDocType = "business_income" | "gambling_proceeds" | "gifts" | "government_benefits" | "inheritance" | "investment_loans" | "pension_retirement" | "salary" | "sale_of_assets_real_estate" | "savings" | "esops" | "investment_proceeds" | "someone_else_funds";
8
14
  type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
9
15
  type KycType = "light" | "standard" | "enhanced";
@@ -26,7 +32,9 @@ type Owner = {
26
32
  id_doc_front_file: string;
27
33
  id_doc_back_file: string | null;
28
34
  proof_of_address_doc_type: ProofOfAddressDocType;
29
- proof_of_address_doc_file: string;
35
+ proof_of_address_doc_file: string | null;
36
+ ownership_percentage: number | null;
37
+ title: string | null;
30
38
  };
31
39
  type IndividualWithStandardKYC = {
32
40
  id: string;
@@ -165,123 +173,164 @@ type BusinessWithStandardKYB = {
165
173
  };
166
174
  };
167
175
  type CreateIndividualWithStandardKYCInput = {
168
- external_id?: string;
169
- address_line_1: string;
170
- address_line_2?: string;
171
- city: string;
172
176
  country: Country;
173
- date_of_birth: string;
174
177
  email: string;
175
- first_name: string;
176
- phone_number: string | null;
177
- id_doc_country: Country;
178
- id_doc_front_file: string;
179
- id_doc_type: IdentificationDocument;
180
- id_doc_back_file: string | null;
181
- last_name: string;
182
- postal_code: string;
183
- proof_of_address_doc_file: string;
184
- proof_of_address_doc_type: ProofOfAddressDocType;
185
- state_province_region: string;
186
- tax_id: string;
187
- tos_id: string;
178
+ account_purpose?: AccountPurpose | null;
179
+ address_line_1?: string | null;
180
+ address_line_2?: string | null;
181
+ city?: string | null;
182
+ date_of_birth?: string | null;
183
+ external_id?: string | null;
184
+ first_name?: string | null;
185
+ id_doc_back_file?: string | null;
186
+ id_doc_country?: Country | null;
187
+ id_doc_front_file?: string | null;
188
+ id_doc_type?: IdentificationDocument | null;
189
+ image_url?: string | null;
190
+ ip_address?: string | null;
191
+ last_name?: string | null;
192
+ phone_number?: string | null;
193
+ postal_code?: string | null;
194
+ proof_of_address_doc_file?: string | null;
195
+ proof_of_address_doc_type?: ProofOfAddressDocType | null;
196
+ selfie_file?: string | null;
197
+ source_of_funds_doc_file?: string | null;
198
+ source_of_funds_doc_type?: SourceOfFundsDocType | null;
199
+ source_of_wealth?: SourceOfWealth | null;
200
+ state_province_region?: string | null;
201
+ tax_id?: string | null;
202
+ tos_id?: string | null;
188
203
  };
189
204
  type CreateIndividualWithStandardKYCResponse = {
190
205
  id: string;
191
206
  };
192
207
  type CreateIndividualWithEnhancedKYCInput = {
193
- external_id?: string;
194
- address_line_1: string;
195
- address_line_2?: string;
196
- city: string;
197
208
  country: Country;
198
- date_of_birth: string;
199
209
  email: string;
200
- first_name: string;
201
- id_doc_country: Country;
202
- id_doc_front_file: string;
203
- id_doc_type: IdentificationDocument;
204
- id_doc_back_file: string | null;
205
- individual_holding_doc_front_file: string;
206
- last_name: string;
207
- postal_code: string;
208
- phone_number: string | null;
209
- proof_of_address_doc_file: string;
210
- proof_of_address_doc_type: ProofOfAddressDocType;
211
- purpose_of_transactions: PurposeOfTransactions;
212
- source_of_funds_doc_file: string;
213
- source_of_funds_doc_type: SourceOfFundsDocType;
214
- purpose_of_transactions_explanation: string | null;
215
- state_province_region: string;
216
- tax_id: string;
217
- tos_id: string;
210
+ account_purpose?: AccountPurpose | null;
211
+ address_line_1?: string | null;
212
+ address_line_2?: string | null;
213
+ city?: string | null;
214
+ date_of_birth?: string | null;
215
+ external_id?: string | null;
216
+ first_name?: string | null;
217
+ id_doc_back_file?: string | null;
218
+ id_doc_country?: Country | null;
219
+ id_doc_front_file?: string | null;
220
+ id_doc_type?: IdentificationDocument | null;
221
+ image_url?: string | null;
222
+ ip_address?: string | null;
223
+ last_name?: string | null;
224
+ phone_number?: string | null;
225
+ postal_code?: string | null;
226
+ proof_of_address_doc_file?: string | null;
227
+ proof_of_address_doc_type?: ProofOfAddressDocType | null;
228
+ purpose_of_transactions?: PurposeOfTransactions | null;
229
+ purpose_of_transactions_explanation?: string | null;
230
+ selfie_file?: string | null;
231
+ source_of_funds_doc_file?: string | null;
232
+ source_of_funds_doc_type?: SourceOfFundsDocType | null;
233
+ source_of_wealth?: SourceOfWealth | null;
234
+ state_province_region?: string | null;
235
+ tax_id?: string | null;
236
+ tos_id?: string | null;
218
237
  };
219
238
  type CreateIndividualWithEnhancedKYCResponse = {
220
239
  id: string;
221
240
  };
222
241
  type CreateBusinessWithStandardKYBInput = {
223
- external_id?: string;
224
- address_line_1: string;
225
- address_line_2?: string;
226
- alternate_name: string;
227
- city: string;
228
242
  country: Country;
229
243
  email: string;
230
- formation_date: string;
231
- incorporation_doc_file: string;
232
- legal_name: string;
233
- owners: Array<StrictOmit<Owner, "id">>;
234
- postal_code: string;
235
- proof_of_address_doc_file: string;
236
- proof_of_address_doc_type: ProofOfAddressDocType;
237
- proof_of_ownership_doc_file: string;
238
- state_province_region: string;
239
- tax_id: string;
240
- tos_id: string;
241
- website: string | null;
244
+ account_purpose?: AccountPurpose | null;
245
+ address_line_1?: string | null;
246
+ address_line_2?: string | null;
247
+ alternate_name?: string | null;
248
+ business_description?: string | null;
249
+ business_industry?: BusinessIndustry | null;
250
+ business_type?: BusinessType | null;
251
+ city?: string | null;
252
+ estimated_annual_revenue?: EstimatedAnnualRevenue | null;
253
+ external_id?: string | null;
254
+ formation_date?: string | null;
255
+ image_url?: string | null;
256
+ incorporation_doc_file?: string | null;
257
+ ip_address?: string | null;
258
+ legal_name?: string | null;
259
+ owners?: Array<StrictOmit<Owner, "id">> | null;
260
+ phone_number?: string | null;
261
+ postal_code?: string | null;
262
+ proof_of_address_doc_file?: string | null;
263
+ proof_of_address_doc_type?: ProofOfAddressDocType | null;
264
+ proof_of_ownership_doc_file?: string | null;
265
+ publicly_traded?: boolean | null;
266
+ source_of_funds_doc_file?: string | null;
267
+ source_of_funds_doc_type?: SourceOfFundsDocType | null;
268
+ source_of_wealth?: SourceOfWealth | null;
269
+ state_province_region?: string | null;
270
+ tax_id?: string | null;
271
+ tos_id?: string | null;
272
+ website?: string | null;
242
273
  };
243
274
  type CreateBusinessWithStandardKYBResponse = {
244
275
  id: string;
245
276
  };
246
- type ListReceiversResponse = Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
277
+ type ListReceiversInput = PaginationParams & {
278
+ full_name?: string;
279
+ receiver_name?: string;
280
+ status?: string;
281
+ receiver_id?: string;
282
+ bank_account_id?: string;
283
+ country?: Country;
284
+ };
285
+ type ListReceiversResponse = {
286
+ data: Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
287
+ pagination: PaginationMetadata;
288
+ };
247
289
  type GetReceiverInput = string;
248
290
  type GetReceiverResponse = IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB;
249
291
  type UpdateReceiverInput = {
250
292
  receiver_id: string;
251
- email?: string;
252
- tax_id?: string;
293
+ account_purpose?: AccountPurpose | null;
253
294
  address_line_1?: string;
254
295
  address_line_2?: string;
296
+ alternate_name?: string;
297
+ business_description?: string;
298
+ business_industry?: BusinessIndustry | null;
299
+ business_type?: BusinessType | null;
255
300
  city?: string;
256
- state_province_region?: string;
257
301
  country?: Country;
258
- postal_code?: string;
259
- ip_address?: string;
260
- image_url?: string;
261
- phone_number?: string;
262
- proof_of_address_doc_type?: ProofOfAddressDocType;
263
- proof_of_address_doc_file?: string;
264
- first_name?: string;
265
- last_name?: string;
266
302
  date_of_birth?: string;
303
+ email?: string;
304
+ estimated_annual_revenue?: EstimatedAnnualRevenue | null;
305
+ external_id?: string;
306
+ first_name?: string;
307
+ formation_date?: string;
308
+ id_doc_back_file?: string;
267
309
  id_doc_country?: Country;
268
- id_doc_type?: IdentificationDocument;
269
310
  id_doc_front_file?: string;
270
- id_doc_back_file?: string;
271
- legal_name?: string;
272
- alternate_name?: string;
273
- formation_date?: string;
274
- website?: string;
275
- owners?: Array<Pick<Owner, "first_name" | "last_name" | "role" | "date_of_birth" | "tax_id" | "address_line_1" | "address_line_2" | "city" | "state_province_region" | "country" | "postal_code" | "id_doc_country" | "id_doc_type" | "id_doc_front_file" | "id_doc_back_file">>;
311
+ id_doc_type?: IdentificationDocument;
312
+ image_url?: string;
276
313
  incorporation_doc_file?: string;
314
+ ip_address?: string;
315
+ last_name?: string;
316
+ legal_name?: string;
317
+ owners?: Array<StrictOmit<Owner, "id">>;
318
+ phone_number?: string;
319
+ postal_code?: string;
320
+ proof_of_address_doc_file?: string;
321
+ proof_of_address_doc_type?: ProofOfAddressDocType;
277
322
  proof_of_ownership_doc_file?: string;
278
- source_of_funds_doc_type?: SourceOfFundsDocType;
279
- source_of_funds_doc_file?: string;
280
- individual_holding_doc_front_file?: string;
323
+ publicly_traded?: boolean | null;
281
324
  purpose_of_transactions?: PurposeOfTransactions;
282
325
  purpose_of_transactions_explanation?: string;
283
- external_id?: string;
326
+ selfie_file?: string;
327
+ source_of_funds_doc_file?: string;
328
+ source_of_funds_doc_type?: SourceOfFundsDocType;
329
+ source_of_wealth?: SourceOfWealth | null;
330
+ state_province_region?: string;
331
+ tax_id?: string;
284
332
  tos_id?: string;
333
+ website?: string;
285
334
  };
286
335
  type DeleteReceiverInput = string;
287
336
  type GetReceiverLimitsInput = string;
@@ -324,7 +373,7 @@ type RequestLimitIncreaseResponse = {
324
373
  id: string;
325
374
  };
326
375
  declare function createReceiversResource(instanceId: string, client: InternalApiClient): {
327
- list(): Promise<BlindpayApiResponse<ListReceiversResponse>>;
376
+ list(params?: ListReceiversInput): Promise<BlindpayApiResponse<ListReceiversResponse>>;
328
377
  createIndividualWithStandardKYC(data: CreateIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithStandardKYCResponse>>;
329
378
  createIndividualWithEnhancedKYC(data: CreateIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithEnhancedKYCResponse>>;
330
379
  createBusinessWithStandardKYB(data: CreateBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateBusinessWithStandardKYBResponse>>;
@@ -336,4 +385,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
336
385
  requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
337
386
  };
338
387
 
339
- export { type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, 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 ListReceiversResponse, type Owner, type OwnerRole, type ProofOfAddressDocType, type PurposeOfTransactions, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type UpdateReceiverInput, createReceiversResource };
388
+ export { type AccountPurpose, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, 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 ProofOfAddressDocType, type PurposeOfTransactions, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
@@ -51,8 +51,9 @@ __export(receivers_exports, {
51
51
  module.exports = __toCommonJS(receivers_exports);
52
52
  function createReceiversResource(instanceId, client) {
53
53
  return {
54
- list() {
55
- return client.get(`/instances/${instanceId}/receivers`);
54
+ list(params) {
55
+ const queryParams = params ? `?${new URLSearchParams(params)}` : "";
56
+ return client.get(`/instances/${instanceId}/receivers${queryParams}`);
56
57
  },
57
58
  createIndividualWithStandardKYC(data) {
58
59
  return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
@@ -77,7 +78,7 @@ function createReceiversResource(instanceId, client) {
77
78
  },
78
79
  update(_a) {
79
80
  var _b = _a, { receiver_id } = _b, data = __objRest(_b, ["receiver_id"]);
80
- return client.patch(`/instances/${instanceId}/receivers/${receiver_id}`, data);
81
+ return client.put(`/instances/${instanceId}/receivers/${receiver_id}`, data);
81
82
  },
82
83
  delete(receiver_id) {
83
84
  return client.delete(`/instances/${instanceId}/receivers/${receiver_id}`);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createReceiversResource,
3
3
  init_receivers
4
- } from "../../chunk-67XECGMJ.mjs";
4
+ } from "../../chunk-YIZJM2GU.mjs";
5
5
  import "../../chunk-OBKEW4AQ.mjs";
6
6
  init_receivers();
7
7
  export {