@blindpay/node 3.0.0 → 3.1.1

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 (77) hide show
  1. package/dist/{api-client-B7VQkM_4.d.mts → api-client-CIPV5zmo.d.mts} +38 -24
  2. package/dist/{api-client-B7VQkM_4.d.ts → api-client-CIPV5zmo.d.ts} +38 -24
  3. package/dist/{chunk-VRA5HP7F.mjs → chunk-E7M4CJKR.mjs} +0 -7
  4. package/dist/{chunk-WH2VNZE7.mjs → chunk-I4KOWV46.mjs} +8 -8
  5. package/dist/{chunk-W7NJUABI.mjs → chunk-VGU72ZNI.mjs} +1 -7
  6. package/dist/{chunk-VBZHAPK7.mjs → chunk-VOB7TMKL.mjs} +1 -9
  7. package/dist/index.d.mts +4 -4
  8. package/dist/index.d.ts +4 -4
  9. package/dist/index.js +2 -22
  10. package/dist/index.mjs +8 -8
  11. package/dist/resources/api-keys/api-keys.test.js +2 -22
  12. package/dist/resources/api-keys/api-keys.test.mjs +5 -5
  13. package/dist/resources/api-keys/index.d.mts +1 -1
  14. package/dist/resources/api-keys/index.d.ts +1 -1
  15. package/dist/resources/available/available.test.js +2 -22
  16. package/dist/resources/available/available.test.mjs +5 -5
  17. package/dist/resources/available/index.d.mts +1 -1
  18. package/dist/resources/available/index.d.ts +1 -1
  19. package/dist/resources/bank-accounts/bank-accounts.test.js +2 -22
  20. package/dist/resources/bank-accounts/bank-accounts.test.mjs +5 -5
  21. package/dist/resources/bank-accounts/index.d.mts +1 -1
  22. package/dist/resources/bank-accounts/index.d.ts +1 -1
  23. package/dist/resources/instances/index.d.mts +1 -1
  24. package/dist/resources/instances/index.d.ts +1 -1
  25. package/dist/resources/instances/instances.test.js +2 -22
  26. package/dist/resources/instances/instances.test.mjs +5 -5
  27. package/dist/resources/partner-fees/index.d.mts +1 -1
  28. package/dist/resources/partner-fees/index.d.ts +1 -1
  29. package/dist/resources/partner-fees/partner-fees.test.js +2 -22
  30. package/dist/resources/partner-fees/partner-fees.test.mjs +5 -5
  31. package/dist/resources/payins/index.d.mts +60 -123
  32. package/dist/resources/payins/index.d.ts +60 -123
  33. package/dist/resources/payins/index.js +0 -19
  34. package/dist/resources/payins/index.mjs +1 -1
  35. package/dist/resources/payins/payins-quotes.test.js +2 -108
  36. package/dist/resources/payins/payins-quotes.test.mjs +5 -91
  37. package/dist/resources/payins/payins.test.js +2 -157
  38. package/dist/resources/payins/payins.test.mjs +5 -140
  39. package/dist/resources/payins/quotes.d.mts +7 -72
  40. package/dist/resources/payins/quotes.d.ts +7 -72
  41. package/dist/resources/payins/quotes.js +0 -7
  42. package/dist/resources/payins/quotes.mjs +1 -1
  43. package/dist/resources/payouts/index.d.mts +2 -13
  44. package/dist/resources/payouts/index.d.ts +2 -13
  45. package/dist/resources/payouts/index.js +1 -9
  46. package/dist/resources/payouts/index.mjs +1 -1
  47. package/dist/resources/payouts/payouts.test.js +2 -148
  48. package/dist/resources/payouts/payouts.test.mjs +5 -131
  49. package/dist/resources/quotes/index.d.mts +16 -16
  50. package/dist/resources/quotes/index.d.ts +16 -16
  51. package/dist/resources/quotes/quotes.test.js +3 -23
  52. package/dist/resources/quotes/quotes.test.mjs +6 -6
  53. package/dist/resources/receivers/index.d.mts +1 -1
  54. package/dist/resources/receivers/index.d.ts +1 -1
  55. package/dist/resources/receivers/receivers.test.js +2 -22
  56. package/dist/resources/receivers/receivers.test.mjs +5 -5
  57. package/dist/resources/terms-of-service/index.d.mts +1 -1
  58. package/dist/resources/terms-of-service/index.d.ts +1 -1
  59. package/dist/resources/terms-of-service/terms-of-service.test.js +2 -22
  60. package/dist/resources/terms-of-service/terms-of-service.test.mjs +5 -5
  61. package/dist/resources/virtual-accounts/index.d.mts +1 -1
  62. package/dist/resources/virtual-accounts/index.d.ts +1 -1
  63. package/dist/resources/virtual-accounts/virtual-accounts.test.js +2 -22
  64. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +5 -5
  65. package/dist/resources/wallets/blockchain.d.mts +1 -1
  66. package/dist/resources/wallets/blockchain.d.ts +1 -1
  67. package/dist/resources/wallets/blockchain.test.js +2 -22
  68. package/dist/resources/wallets/blockchain.test.mjs +5 -5
  69. package/dist/resources/wallets/offramp.d.mts +1 -1
  70. package/dist/resources/wallets/offramp.d.ts +1 -1
  71. package/dist/resources/wallets/offramp.test.js +2 -22
  72. package/dist/resources/wallets/offramp.test.mjs +5 -5
  73. package/dist/resources/webhooks/index.d.mts +1 -1
  74. package/dist/resources/webhooks/index.d.ts +1 -1
  75. package/dist/resources/webhooks/webhooks.test.js +2 -22
  76. package/dist/resources/webhooks/webhooks.test.mjs +5 -5
  77. package/package.json +1 -1
@@ -16,13 +16,13 @@ type BlindpaySuccessResponse<T> = {
16
16
 
17
17
  type CurrencyType = "sender" | "receiver";
18
18
 
19
- type Network = "base" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "arbitrum" | "polygon" | "polygon_amoy" | "ethereum" | "stellar" | "stellar_testnet" | "tron"
19
+ type Network = "base" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "arbitrum" | "polygon" | "polygon_amoy" | "ethereum" | "stellar" | "stellar_testnet" | "tron" | "solana" | "solana_devnet";
20
20
 
21
21
  type StablecoinToken = "USDC" | "USDT" | "USDB"
22
22
 
23
23
  type TransactionDocumentType = "invoice" | "purchase_order" | "delivery_slip" | "contract" | "customs_declaration" | "bill_of_lading" | "others";
24
24
 
25
- type BankAccountType = "checking" | "savings";
25
+ type BankAccountType = "checking" | "saving";
26
26
 
27
27
  type Currency = "USDC" | "USDT" | "USDB" | "BRL" | "USD" | "MXN" | "COP" | "ARS";
28
28
 
@@ -302,17 +302,17 @@ type AchCopDocument = "CC" | "CE" | "NIT" | "PASS" | "PEP";
302
302
 
303
303
  type PayinTrackingTransaction = {
304
304
  step: TrackingStatus
305
- status: 'failed' | 'completed' | null;
305
+ status?: 'failed' | 'completed' | null;
306
306
  external_id: string | null;
307
- completed_at: string | null;
308
- sender_name: string | null;
309
- sender_tax_id: string | null;
310
- sender_bank_code: string | null;
311
- sender_account_number: string | null;
312
- trace_number: string | null;
313
- transaction_reference: string | null;
314
- description: string | null;
315
- pse_instruction: {
307
+ completed_at?: string | null;
308
+ sender_name?: string | null;
309
+ sender_tax_id?: string | null;
310
+ sender_bank_code?: string | null;
311
+ sender_account_number?: string | null;
312
+ trace_number?: string | null;
313
+ transaction_reference?: string | null;
314
+ description?: string | null;
315
+ pse_instruction?: {
316
316
  payment_link: string;
317
317
  fid: string;
318
318
  full_name: string;
@@ -320,33 +320,47 @@ type PayinTrackingTransaction = {
320
320
  document_type: Extract<AchCopDocument, 'CC' | 'NIT'>;
321
321
  phone: string;
322
322
  email: string;
323
- bank_code: string | null;
323
+ bank_code?: string | null;
324
324
  } | null
325
- transfers_instruction: {
325
+ transfers_instruction?: {
326
326
  account: string;
327
327
  type: ArgentinaTransfers;
328
- tax_id: string | null;
328
+ tax_id?: string | null;
329
329
  } | null
330
330
  };
331
331
 
332
- type PayinTrackingPayment = {
332
+ type PayinTrackingPayment = {
333
333
  step: TrackingStatus
334
334
  provider_name?: string | null
335
335
  completed_at?: string | null
336
336
  };
337
337
 
338
- type PayinTrackingComplete = {
338
+ type PayinTrackingComplete = {
339
339
  step: TrackingStatus
340
- transaction_hash: string | null;
341
- completed_at: string | null;
340
+ transaction_hash?: string | null;
341
+ completed_at?: string | null;
342
342
  };
343
343
 
344
- type PayinTrackingPartnerFee = {
344
+ type PayinTrackingPartnerFee = {
345
345
  step: TrackingStatus
346
346
  transaction_hash?: string | null
347
347
  completed_at?: string | null
348
348
  }
349
349
 
350
+ type PayinPaymentMethod = "ach" | "wire" | "pix" | "spei" | "transfers" | "pse"
351
+
352
+ type PayerRules = {
353
+ pix_allowed_tax_ids?: string[] | null;
354
+ transfers_allowed_tax_id?: string | null;
355
+ pse_allowed_tax_ids?: string[] | null;
356
+ pse_full_name?: string | null;
357
+ pse_document_type?: Extract<AchCopDocument, 'CC' | 'NIT'> | null;
358
+ pse_document_number?: string | null;
359
+ pse_email?: string | null;
360
+ pse_phone?: string | null;
361
+ pse_bank_code?: string | null;
362
+ }
363
+
350
364
  type TrackingStatus = 'processing' | 'on_hold' | 'completed';
351
365
 
352
366
  type EstimatedTimeOfArrival = '5_min' | '30_min' | '2_hours' | '1_business_day' | '2_business_days' | '5_business_days';
@@ -358,7 +372,7 @@ type PayoutTrackingTransaction = {
358
372
  completed_at: string | null
359
373
  };
360
374
 
361
- type PayoutTrackingPayment = {
375
+ type PayoutTrackingPayment = {
362
376
  step: TrackingStatus
363
377
  provider_name: string | null ;
364
378
  provider_transaction_id: string | null ;
@@ -373,7 +387,7 @@ type PayoutTrackingTransaction = {
373
387
  completed_at: string | null ;
374
388
  };
375
389
 
376
- type PayoutTrackingLiquidity = {
390
+ type PayoutTrackingLiquidity = {
377
391
  step: TrackingStatus
378
392
  provider_transaction_id: string | null ;
379
393
  provider_status: 'deposited' | 'converted' | 'withdrawn' | null;
@@ -388,7 +402,7 @@ type PayoutTrackingComplete = {
388
402
  completed_at: string | null;
389
403
  };
390
404
 
391
- type PayoutTrackingPartnerFee = {
405
+ type PayoutTrackingPartnerFee = {
392
406
  step: TrackingStatus
393
407
  transaction_hash: string | null;
394
408
  completed_at: string | null;
@@ -407,4 +421,4 @@ interface InternalApiClient {
407
421
  delete: <T>(path: string, body?: Record<string, unknown>) => Promise<BlindpayApiResponse<T>>;
408
422
  }
409
423
 
410
- export type { AccountClass as A, BlindpayApiResponse as B, Country as C, InternalApiClient as I, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, PayinTrackingTransaction as d, PayinTrackingPayment as e, PayinTrackingComplete as f, PayinTrackingPartnerFee as g, PaginationMetadata as h, CurrencyType as i, Currency as j, PayoutTrackingTransaction as k, PayoutTrackingPayment as l, PayoutTrackingLiquidity as m, PayoutTrackingComplete as n, PayoutTrackingPartnerFee as o, TransactionDocumentType as p };
424
+ export type { AccountClass as A, BlindpayApiResponse as B, Country as C, InternalApiClient as I, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, PayinTrackingTransaction as d, PayinTrackingPayment as e, PayinTrackingComplete as f, PayinTrackingPartnerFee as g, PayinPaymentMethod as h, Currency as i, PayerRules as j, PaginationMetadata as k, CurrencyType as l, PayoutTrackingTransaction as m, PayoutTrackingPayment as n, PayoutTrackingLiquidity as o, PayoutTrackingComplete as p, PayoutTrackingPartnerFee as q, TransactionDocumentType as r };
@@ -16,13 +16,13 @@ type BlindpaySuccessResponse<T> = {
16
16
 
17
17
  type CurrencyType = "sender" | "receiver";
18
18
 
19
- type Network = "base" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "arbitrum" | "polygon" | "polygon_amoy" | "ethereum" | "stellar" | "stellar_testnet" | "tron"
19
+ type Network = "base" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "arbitrum" | "polygon" | "polygon_amoy" | "ethereum" | "stellar" | "stellar_testnet" | "tron" | "solana" | "solana_devnet";
20
20
 
21
21
  type StablecoinToken = "USDC" | "USDT" | "USDB"
22
22
 
23
23
  type TransactionDocumentType = "invoice" | "purchase_order" | "delivery_slip" | "contract" | "customs_declaration" | "bill_of_lading" | "others";
24
24
 
25
- type BankAccountType = "checking" | "savings";
25
+ type BankAccountType = "checking" | "saving";
26
26
 
27
27
  type Currency = "USDC" | "USDT" | "USDB" | "BRL" | "USD" | "MXN" | "COP" | "ARS";
28
28
 
@@ -302,17 +302,17 @@ type AchCopDocument = "CC" | "CE" | "NIT" | "PASS" | "PEP";
302
302
 
303
303
  type PayinTrackingTransaction = {
304
304
  step: TrackingStatus
305
- status: 'failed' | 'completed' | null;
305
+ status?: 'failed' | 'completed' | null;
306
306
  external_id: string | null;
307
- completed_at: string | null;
308
- sender_name: string | null;
309
- sender_tax_id: string | null;
310
- sender_bank_code: string | null;
311
- sender_account_number: string | null;
312
- trace_number: string | null;
313
- transaction_reference: string | null;
314
- description: string | null;
315
- pse_instruction: {
307
+ completed_at?: string | null;
308
+ sender_name?: string | null;
309
+ sender_tax_id?: string | null;
310
+ sender_bank_code?: string | null;
311
+ sender_account_number?: string | null;
312
+ trace_number?: string | null;
313
+ transaction_reference?: string | null;
314
+ description?: string | null;
315
+ pse_instruction?: {
316
316
  payment_link: string;
317
317
  fid: string;
318
318
  full_name: string;
@@ -320,33 +320,47 @@ type PayinTrackingTransaction = {
320
320
  document_type: Extract<AchCopDocument, 'CC' | 'NIT'>;
321
321
  phone: string;
322
322
  email: string;
323
- bank_code: string | null;
323
+ bank_code?: string | null;
324
324
  } | null
325
- transfers_instruction: {
325
+ transfers_instruction?: {
326
326
  account: string;
327
327
  type: ArgentinaTransfers;
328
- tax_id: string | null;
328
+ tax_id?: string | null;
329
329
  } | null
330
330
  };
331
331
 
332
- type PayinTrackingPayment = {
332
+ type PayinTrackingPayment = {
333
333
  step: TrackingStatus
334
334
  provider_name?: string | null
335
335
  completed_at?: string | null
336
336
  };
337
337
 
338
- type PayinTrackingComplete = {
338
+ type PayinTrackingComplete = {
339
339
  step: TrackingStatus
340
- transaction_hash: string | null;
341
- completed_at: string | null;
340
+ transaction_hash?: string | null;
341
+ completed_at?: string | null;
342
342
  };
343
343
 
344
- type PayinTrackingPartnerFee = {
344
+ type PayinTrackingPartnerFee = {
345
345
  step: TrackingStatus
346
346
  transaction_hash?: string | null
347
347
  completed_at?: string | null
348
348
  }
349
349
 
350
+ type PayinPaymentMethod = "ach" | "wire" | "pix" | "spei" | "transfers" | "pse"
351
+
352
+ type PayerRules = {
353
+ pix_allowed_tax_ids?: string[] | null;
354
+ transfers_allowed_tax_id?: string | null;
355
+ pse_allowed_tax_ids?: string[] | null;
356
+ pse_full_name?: string | null;
357
+ pse_document_type?: Extract<AchCopDocument, 'CC' | 'NIT'> | null;
358
+ pse_document_number?: string | null;
359
+ pse_email?: string | null;
360
+ pse_phone?: string | null;
361
+ pse_bank_code?: string | null;
362
+ }
363
+
350
364
  type TrackingStatus = 'processing' | 'on_hold' | 'completed';
351
365
 
352
366
  type EstimatedTimeOfArrival = '5_min' | '30_min' | '2_hours' | '1_business_day' | '2_business_days' | '5_business_days';
@@ -358,7 +372,7 @@ type PayoutTrackingTransaction = {
358
372
  completed_at: string | null
359
373
  };
360
374
 
361
- type PayoutTrackingPayment = {
375
+ type PayoutTrackingPayment = {
362
376
  step: TrackingStatus
363
377
  provider_name: string | null ;
364
378
  provider_transaction_id: string | null ;
@@ -373,7 +387,7 @@ type PayoutTrackingTransaction = {
373
387
  completed_at: string | null ;
374
388
  };
375
389
 
376
- type PayoutTrackingLiquidity = {
390
+ type PayoutTrackingLiquidity = {
377
391
  step: TrackingStatus
378
392
  provider_transaction_id: string | null ;
379
393
  provider_status: 'deposited' | 'converted' | 'withdrawn' | null;
@@ -388,7 +402,7 @@ type PayoutTrackingComplete = {
388
402
  completed_at: string | null;
389
403
  };
390
404
 
391
- type PayoutTrackingPartnerFee = {
405
+ type PayoutTrackingPartnerFee = {
392
406
  step: TrackingStatus
393
407
  transaction_hash: string | null;
394
408
  completed_at: string | null;
@@ -407,4 +421,4 @@ interface InternalApiClient {
407
421
  delete: <T>(path: string, body?: Record<string, unknown>) => Promise<BlindpayApiResponse<T>>;
408
422
  }
409
423
 
410
- export type { AccountClass as A, BlindpayApiResponse as B, Country as C, InternalApiClient as I, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, PayinTrackingTransaction as d, PayinTrackingPayment as e, PayinTrackingComplete as f, PayinTrackingPartnerFee as g, PaginationMetadata as h, CurrencyType as i, Currency as j, PayoutTrackingTransaction as k, PayoutTrackingPayment as l, PayoutTrackingLiquidity as m, PayoutTrackingComplete as n, PayoutTrackingPartnerFee as o, TransactionDocumentType as p };
424
+ export type { AccountClass as A, BlindpayApiResponse as B, Country as C, InternalApiClient as I, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, PayinTrackingTransaction as d, PayinTrackingPayment as e, PayinTrackingComplete as f, PayinTrackingPartnerFee as g, PayinPaymentMethod as h, Currency as i, PayerRules as j, PaginationMetadata as k, CurrencyType as l, PayoutTrackingTransaction as m, PayoutTrackingPayment as n, PayoutTrackingLiquidity as o, PayoutTrackingComplete as p, PayoutTrackingPartnerFee as q, TransactionDocumentType as r };
@@ -13,13 +13,6 @@ function createPayinQuotesResource(instanceId, client) {
13
13
  getFxRate(_b) {
14
14
  var data = __objRest(_b, []);
15
15
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
16
- },
17
- get(id) {
18
- return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
19
- },
20
- list(params) {
21
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
22
- return client.get(`/instances/${instanceId}/payin-quotes${queryParams}`);
23
16
  }
24
17
  };
25
18
  }
@@ -33,27 +33,27 @@ import {
33
33
  import {
34
34
  createPayinsResource,
35
35
  init_payins
36
- } from "./chunk-W7NJUABI.mjs";
36
+ } from "./chunk-VGU72ZNI.mjs";
37
37
  import {
38
38
  createPayinQuotesResource,
39
39
  init_quotes
40
- } from "./chunk-VRA5HP7F.mjs";
40
+ } from "./chunk-E7M4CJKR.mjs";
41
41
  import {
42
42
  createPayoutsResource,
43
43
  init_payouts
44
- } from "./chunk-VBZHAPK7.mjs";
44
+ } from "./chunk-VOB7TMKL.mjs";
45
45
  import {
46
46
  createApiKeysResource,
47
47
  init_api_keys
48
48
  } from "./chunk-LRHWT4JU.mjs";
49
- import {
50
- createBankAccountsResource,
51
- init_bank_accounts
52
- } from "./chunk-CPOSU35L.mjs";
53
49
  import {
54
50
  createAvailableResource,
55
51
  init_available
56
52
  } from "./chunk-U7CKUUO7.mjs";
53
+ import {
54
+ createBankAccountsResource,
55
+ init_bank_accounts
56
+ } from "./chunk-CPOSU35L.mjs";
57
57
  import {
58
58
  createInstancesResource,
59
59
  init_instances
@@ -69,7 +69,7 @@ import {
69
69
  var version;
70
70
  var init_package = __esm({
71
71
  "package.json"() {
72
- version = "3.0.0";
72
+ version = "3.1.1";
73
73
  }
74
74
  });
75
75
 
@@ -1,6 +1,5 @@
1
1
  import {
2
- __esm,
3
- __objRest
2
+ __esm
4
3
  } from "./chunk-OBKEW4AQ.mjs";
5
4
 
6
5
  // src/resources/payins/index.ts
@@ -16,11 +15,6 @@ function createPayinsResource(instanceId, client) {
16
15
  getTrack(payinId) {
17
16
  return client.get(`/e/payins/${payinId}`);
18
17
  },
19
- export(_a) {
20
- var params = __objRest(_a, []);
21
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
22
- return client.get(`/instances/${instanceId}/export/payins${queryParams}`);
23
- },
24
18
  createEvm(payin_quote_id) {
25
19
  return client.post(`/instances/${instanceId}/payins/evm`, {
26
20
  payin_quote_id
@@ -10,10 +10,6 @@ function createPayoutsResource(instanceId, client) {
10
10
  const queryParams = params ? `?${new URLSearchParams(params)}` : "";
11
11
  return client.get(`/instances/${instanceId}/payouts${queryParams}`);
12
12
  },
13
- export(params) {
14
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
15
- return client.get(`/instances/${instanceId}/export/payouts${queryParams}`);
16
- },
17
13
  get(payoutId) {
18
14
  return client.get(`/instances/${instanceId}/payouts/${payoutId}`);
19
15
  },
@@ -32,12 +28,8 @@ function createPayoutsResource(instanceId, client) {
32
28
  var data = __objRest(_c, []);
33
29
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
34
30
  },
35
- authorizeSolana(_d) {
31
+ createSolana(_d) {
36
32
  var data = __objRest(_d, []);
37
- return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
38
- },
39
- createSolana(_e) {
40
- var data = __objRest(_e, []);
41
33
  return client.post(`/instances/${instanceId}/payouts/solana`, data);
42
34
  }
43
35
  };
package/dist/index.d.mts CHANGED
@@ -9,11 +9,11 @@ export { DeleteInstanceMemberInput, GetInstanceMembersResponse, InstanceMemberRo
9
9
  import { createPartnerFeesResource } from './resources/partner-fees/index.mjs';
10
10
  export { CreatePartnerFeeInput, CreatePartnerFeeResponse, DeletePartnerFeeInput, GetPartnerFeeInput, GetPartnerFeeResponse, ListPartnerFeesResponse } from './resources/partner-fees/index.mjs';
11
11
  import { createPayinsResource } from './resources/payins/index.mjs';
12
- export { CreateEvmPayinInput, CreateEvmPayinResponse, CreatePayinInput, ExportPayinsInput, ExportPayinsResponse, GetPayinInput, GetPayinResponse, GetPayinTrackInput, GetPayinTrackResponse, ListPayinsInput, ListPayinsResponse, Payin } from './resources/payins/index.mjs';
12
+ export { BlindpayBankDetails, CreateEvmPayinInput, CreateEvmPayinResponse, CreatePayinInput, GetPayinInput, GetPayinResponse, GetPayinTrackInput, GetPayinTrackResponse, ListPayinsInput, ListPayinsResponse, Payin } from './resources/payins/index.mjs';
13
13
  import { createPayinQuotesResource } from './resources/payins/quotes.mjs';
14
- export { CreatePayinQuoteInput, CreatePayinQuoteResponse, GetPayinFxRateInput, GetPayinFxRateResponse, GetPayinQuoteInput, GetPayinQuoteResponse, ListPayinQuotesInput, ListPayinQuotesResponse, PayinPaymentMethod } from './resources/payins/quotes.mjs';
14
+ export { CreatePayinQuoteInput, CreatePayinQuoteResponse, GetPayinFxRateInput, GetPayinFxRateResponse } from './resources/payins/quotes.mjs';
15
15
  import { createPayoutsResource } from './resources/payouts/index.mjs';
16
- export { AuthorizeSolanaInput, AuthorizeSolanaResponse, AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPayoutInput, CreateEvmPayoutResponse, CreatePayoutInput, CreateSolanaPayoutInput, CreateSolanaPayoutResponse, CreateStellarPayoutInput, CreateStellarPayoutResponse, ExportPayoutsInput, ExportPayoutsResponse, GetPayoutInput, GetPayoutResponse, GetPayoutTrackInput, GetPayoutTrackResponse, ListPayoutsInput, ListPayoutsResponse, Payout, SpeiProtocol } from './resources/payouts/index.mjs';
16
+ export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPayoutInput, CreateEvmPayoutResponse, CreatePayoutInput, CreateSolanaPayoutInput, CreateSolanaPayoutResponse, CreateStellarPayoutInput, CreateStellarPayoutResponse, GetPayoutInput, GetPayoutResponse, GetPayoutTrackInput, GetPayoutTrackResponse, ListPayoutsInput, ListPayoutsResponse, Payout, SpeiProtocol } from './resources/payouts/index.mjs';
17
17
  import { createQuotesResource } from './resources/quotes/index.mjs';
18
18
  export { CreateQuoteInput, CreateQuoteResponse, GetFxRateInput, GetFxRateResponse } from './resources/quotes/index.mjs';
19
19
  import { createReceiversResource } from './resources/receivers/index.mjs';
@@ -27,7 +27,7 @@ import { createOfframpWalletsResource } from './resources/wallets/offramp.mjs';
27
27
  export { CreateOfframpWalletInput, CreateOfframpWalletResponse, GetOfframpWalletInput, GetOfframpWalletResponse, ListOfframpWalletsInput, ListOfframpWalletsResponse, OfframpWallet } from './resources/wallets/offramp.mjs';
28
28
  import { createWebhookEndpointsResource } from './resources/webhooks/index.mjs';
29
29
  export { CreateWebhookEndpointInput, CreateWebhookEndpointResponse, DeleteWebhookEndpointInput, GetPortalAccessUrlResponse, GetWebhookEndpointSecretInput, GetWebhookEndpointSecretResponse, ListWebhookEndpointsResponse, WebhookEvents } from './resources/webhooks/index.mjs';
30
- import './api-client-B7VQkM_4.mjs';
30
+ import './api-client-CIPV5zmo.mjs';
31
31
 
32
32
  declare class BlindPay {
33
33
  private readonly baseUrl;
package/dist/index.d.ts CHANGED
@@ -9,11 +9,11 @@ export { DeleteInstanceMemberInput, GetInstanceMembersResponse, InstanceMemberRo
9
9
  import { createPartnerFeesResource } from './resources/partner-fees/index.js';
10
10
  export { CreatePartnerFeeInput, CreatePartnerFeeResponse, DeletePartnerFeeInput, GetPartnerFeeInput, GetPartnerFeeResponse, ListPartnerFeesResponse } from './resources/partner-fees/index.js';
11
11
  import { createPayinsResource } from './resources/payins/index.js';
12
- export { CreateEvmPayinInput, CreateEvmPayinResponse, CreatePayinInput, ExportPayinsInput, ExportPayinsResponse, GetPayinInput, GetPayinResponse, GetPayinTrackInput, GetPayinTrackResponse, ListPayinsInput, ListPayinsResponse, Payin } from './resources/payins/index.js';
12
+ export { BlindpayBankDetails, CreateEvmPayinInput, CreateEvmPayinResponse, CreatePayinInput, GetPayinInput, GetPayinResponse, GetPayinTrackInput, GetPayinTrackResponse, ListPayinsInput, ListPayinsResponse, Payin } from './resources/payins/index.js';
13
13
  import { createPayinQuotesResource } from './resources/payins/quotes.js';
14
- export { CreatePayinQuoteInput, CreatePayinQuoteResponse, GetPayinFxRateInput, GetPayinFxRateResponse, GetPayinQuoteInput, GetPayinQuoteResponse, ListPayinQuotesInput, ListPayinQuotesResponse, PayinPaymentMethod } from './resources/payins/quotes.js';
14
+ export { CreatePayinQuoteInput, CreatePayinQuoteResponse, GetPayinFxRateInput, GetPayinFxRateResponse } from './resources/payins/quotes.js';
15
15
  import { createPayoutsResource } from './resources/payouts/index.js';
16
- export { AuthorizeSolanaInput, AuthorizeSolanaResponse, AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPayoutInput, CreateEvmPayoutResponse, CreatePayoutInput, CreateSolanaPayoutInput, CreateSolanaPayoutResponse, CreateStellarPayoutInput, CreateStellarPayoutResponse, ExportPayoutsInput, ExportPayoutsResponse, GetPayoutInput, GetPayoutResponse, GetPayoutTrackInput, GetPayoutTrackResponse, ListPayoutsInput, ListPayoutsResponse, Payout, SpeiProtocol } from './resources/payouts/index.js';
16
+ export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPayoutInput, CreateEvmPayoutResponse, CreatePayoutInput, CreateSolanaPayoutInput, CreateSolanaPayoutResponse, CreateStellarPayoutInput, CreateStellarPayoutResponse, GetPayoutInput, GetPayoutResponse, GetPayoutTrackInput, GetPayoutTrackResponse, ListPayoutsInput, ListPayoutsResponse, Payout, SpeiProtocol } from './resources/payouts/index.js';
17
17
  import { createQuotesResource } from './resources/quotes/index.js';
18
18
  export { CreateQuoteInput, CreateQuoteResponse, GetFxRateInput, GetFxRateResponse } from './resources/quotes/index.js';
19
19
  import { createReceiversResource } from './resources/receivers/index.js';
@@ -27,7 +27,7 @@ import { createOfframpWalletsResource } from './resources/wallets/offramp.js';
27
27
  export { CreateOfframpWalletInput, CreateOfframpWalletResponse, GetOfframpWalletInput, GetOfframpWalletResponse, ListOfframpWalletsInput, ListOfframpWalletsResponse, OfframpWallet } from './resources/wallets/offramp.js';
28
28
  import { createWebhookEndpointsResource } from './resources/webhooks/index.js';
29
29
  export { CreateWebhookEndpointInput, CreateWebhookEndpointResponse, DeleteWebhookEndpointInput, GetPortalAccessUrlResponse, GetWebhookEndpointSecretInput, GetWebhookEndpointSecretResponse, ListWebhookEndpointsResponse, WebhookEvents } from './resources/webhooks/index.js';
30
- import './api-client-B7VQkM_4.js';
30
+ import './api-client-CIPV5zmo.js';
31
31
 
32
32
  declare class BlindPay {
33
33
  private readonly baseUrl;
package/dist/index.js CHANGED
@@ -91,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
91
91
  var import_svix = require("svix");
92
92
 
93
93
  // package.json
94
- var version = "3.0.0";
94
+ var version = "3.1.1";
95
95
 
96
96
  // src/internal/blindpay-error.ts
97
97
  var BlindPayError = class extends Error {
@@ -294,11 +294,6 @@ function createPayinsResource(instanceId, client) {
294
294
  getTrack(payinId) {
295
295
  return client.get(`/e/payins/${payinId}`);
296
296
  },
297
- export(_a) {
298
- var params = __objRest(_a, []);
299
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
300
- return client.get(`/instances/${instanceId}/export/payins${queryParams}`);
301
- },
302
297
  createEvm(payin_quote_id) {
303
298
  return client.post(`/instances/${instanceId}/payins/evm`, {
304
299
  payin_quote_id
@@ -317,13 +312,6 @@ function createPayinQuotesResource(instanceId, client) {
317
312
  getFxRate(_b) {
318
313
  var data = __objRest(_b, []);
319
314
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
320
- },
321
- get(id) {
322
- return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
323
- },
324
- list(params) {
325
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
326
- return client.get(`/instances/${instanceId}/payin-quotes${queryParams}`);
327
315
  }
328
316
  };
329
317
  }
@@ -335,10 +323,6 @@ function createPayoutsResource(instanceId, client) {
335
323
  const queryParams = params ? `?${new URLSearchParams(params)}` : "";
336
324
  return client.get(`/instances/${instanceId}/payouts${queryParams}`);
337
325
  },
338
- export(params) {
339
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
340
- return client.get(`/instances/${instanceId}/export/payouts${queryParams}`);
341
- },
342
326
  get(payoutId) {
343
327
  return client.get(`/instances/${instanceId}/payouts/${payoutId}`);
344
328
  },
@@ -357,12 +341,8 @@ function createPayoutsResource(instanceId, client) {
357
341
  var data = __objRest(_c, []);
358
342
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
359
343
  },
360
- authorizeSolana(_d) {
344
+ createSolana(_d) {
361
345
  var data = __objRest(_d, []);
362
- return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
363
- },
364
- createSolana(_e) {
365
- var data = __objRest(_e, []);
366
346
  return client.post(`/instances/${instanceId}/payouts/solana`, data);
367
347
  }
368
348
  };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BlindPay,
3
3
  init_client
4
- } from "./chunk-WH2VNZE7.mjs";
4
+ } from "./chunk-I4KOWV46.mjs";
5
5
  import {
6
6
  createBlockchainWalletsResource,
7
7
  init_blockchain
@@ -34,27 +34,27 @@ import {
34
34
  import {
35
35
  createPayinsResource,
36
36
  init_payins
37
- } from "./chunk-W7NJUABI.mjs";
37
+ } from "./chunk-VGU72ZNI.mjs";
38
38
  import {
39
39
  createPayinQuotesResource,
40
40
  init_quotes
41
- } from "./chunk-VRA5HP7F.mjs";
41
+ } from "./chunk-E7M4CJKR.mjs";
42
42
  import {
43
43
  createPayoutsResource,
44
44
  init_payouts
45
- } from "./chunk-VBZHAPK7.mjs";
45
+ } from "./chunk-VOB7TMKL.mjs";
46
46
  import {
47
47
  createApiKeysResource,
48
48
  init_api_keys
49
49
  } from "./chunk-LRHWT4JU.mjs";
50
- import {
51
- createBankAccountsResource,
52
- init_bank_accounts
53
- } from "./chunk-CPOSU35L.mjs";
54
50
  import {
55
51
  createAvailableResource,
56
52
  init_available
57
53
  } from "./chunk-U7CKUUO7.mjs";
54
+ import {
55
+ createBankAccountsResource,
56
+ init_bank_accounts
57
+ } from "./chunk-CPOSU35L.mjs";
58
58
  import {
59
59
  createInstancesResource,
60
60
  init_instances
@@ -18697,7 +18697,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18697
18697
  var import_svix = require("svix");
18698
18698
 
18699
18699
  // package.json
18700
- var version = "3.0.0";
18700
+ var version = "3.1.1";
18701
18701
 
18702
18702
  // src/internal/blindpay-error.ts
18703
18703
  var BlindPayError = class extends Error {
@@ -18900,11 +18900,6 @@ function createPayinsResource(instanceId, client) {
18900
18900
  getTrack(payinId) {
18901
18901
  return client.get(`/e/payins/${payinId}`);
18902
18902
  },
18903
- export(_a3) {
18904
- var params = __objRest(_a3, []);
18905
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18906
- return client.get(`/instances/${instanceId}/export/payins${queryParams}`);
18907
- },
18908
18903
  createEvm(payin_quote_id) {
18909
18904
  return client.post(`/instances/${instanceId}/payins/evm`, {
18910
18905
  payin_quote_id
@@ -18923,13 +18918,6 @@ function createPayinQuotesResource(instanceId, client) {
18923
18918
  getFxRate(_b) {
18924
18919
  var data = __objRest(_b, []);
18925
18920
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
18926
- },
18927
- get(id) {
18928
- return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
18929
- },
18930
- list(params) {
18931
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18932
- return client.get(`/instances/${instanceId}/payin-quotes${queryParams}`);
18933
18921
  }
18934
18922
  };
18935
18923
  }
@@ -18941,10 +18929,6 @@ function createPayoutsResource(instanceId, client) {
18941
18929
  const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18942
18930
  return client.get(`/instances/${instanceId}/payouts${queryParams}`);
18943
18931
  },
18944
- export(params) {
18945
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18946
- return client.get(`/instances/${instanceId}/export/payouts${queryParams}`);
18947
- },
18948
18932
  get(payoutId) {
18949
18933
  return client.get(`/instances/${instanceId}/payouts/${payoutId}`);
18950
18934
  },
@@ -18963,12 +18947,8 @@ function createPayoutsResource(instanceId, client) {
18963
18947
  var data = __objRest(_c, []);
18964
18948
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18965
18949
  },
18966
- authorizeSolana(_d) {
18950
+ createSolana(_d) {
18967
18951
  var data = __objRest(_d, []);
18968
- return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18969
- },
18970
- createSolana(_e) {
18971
- var data = __objRest(_e, []);
18972
18952
  return client.post(`/instances/${instanceId}/payouts/solana`, data);
18973
18953
  }
18974
18954
  };
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  BlindPay,
9
9
  init_client
10
- } from "../../chunk-WH2VNZE7.mjs";
10
+ } from "../../chunk-I4KOWV46.mjs";
11
11
  import "../../chunk-FG25JHDX.mjs";
12
12
  import "../../chunk-QGNLMN6Z.mjs";
13
13
  import "../../chunk-UC57SCKQ.mjs";
@@ -16,12 +16,12 @@ import "../../chunk-67XECGMJ.mjs";
16
16
  import "../../chunk-Z6EYX4D3.mjs";
17
17
  import "../../chunk-LEPGLH7Q.mjs";
18
18
  import "../../chunk-RC5NN5UF.mjs";
19
- import "../../chunk-W7NJUABI.mjs";
20
- import "../../chunk-VRA5HP7F.mjs";
21
- import "../../chunk-VBZHAPK7.mjs";
19
+ import "../../chunk-VGU72ZNI.mjs";
20
+ import "../../chunk-E7M4CJKR.mjs";
21
+ import "../../chunk-VOB7TMKL.mjs";
22
22
  import "../../chunk-LRHWT4JU.mjs";
23
- import "../../chunk-CPOSU35L.mjs";
24
23
  import "../../chunk-U7CKUUO7.mjs";
24
+ import "../../chunk-CPOSU35L.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.mjs';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-CIPV5zmo.mjs';
2
2
 
3
3
  type ListApiKeysResponse = Array<{
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.js';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-CIPV5zmo.js';
2
2
 
3
3
  type ListApiKeysResponse = Array<{
4
4
  id: string;