@blindpay/node 2.2.0 → 2.4.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 (53) hide show
  1. package/dist/{chunk-QCRVXYWF.mjs → chunk-4DVSRRBP.mjs} +10 -4
  2. package/dist/{chunk-IZYPRCCV.mjs → chunk-FG25JHDX.mjs} +8 -0
  3. package/dist/{chunk-E7M4CJKR.mjs → chunk-OTRFWEEC.mjs} +3 -0
  4. package/dist/chunk-Z6EYX4D3.mjs +29 -0
  5. package/dist/index.d.mts +4 -2
  6. package/dist/index.d.ts +4 -2
  7. package/dist/index.js +31 -2
  8. package/dist/index.mjs +4 -3
  9. package/dist/resources/api-keys/api-keys.test.js +31 -2
  10. package/dist/resources/api-keys/api-keys.test.mjs +4 -3
  11. package/dist/resources/available/available.test.js +31 -2
  12. package/dist/resources/available/available.test.mjs +4 -3
  13. package/dist/resources/bank-accounts/bank-accounts.test.js +31 -2
  14. package/dist/resources/bank-accounts/bank-accounts.test.mjs +4 -3
  15. package/dist/resources/instances/instances.test.js +31 -2
  16. package/dist/resources/instances/instances.test.mjs +4 -3
  17. package/dist/resources/partner-fees/partner-fees.test.js +31 -2
  18. package/dist/resources/partner-fees/partner-fees.test.mjs +4 -3
  19. package/dist/resources/payins/payins-quotes.test.js +67 -2
  20. package/dist/resources/payins/payins-quotes.test.mjs +40 -3
  21. package/dist/resources/payins/payins.test.js +31 -2
  22. package/dist/resources/payins/payins.test.mjs +4 -3
  23. package/dist/resources/payins/quotes.d.mts +31 -2
  24. package/dist/resources/payins/quotes.d.ts +31 -2
  25. package/dist/resources/payins/quotes.js +3 -0
  26. package/dist/resources/payins/quotes.mjs +1 -1
  27. package/dist/resources/payouts/payouts.test.js +31 -2
  28. package/dist/resources/payouts/payouts.test.mjs +4 -3
  29. package/dist/resources/quotes/quotes.test.js +31 -2
  30. package/dist/resources/quotes/quotes.test.mjs +4 -3
  31. package/dist/resources/receivers/receivers.test.js +31 -2
  32. package/dist/resources/receivers/receivers.test.mjs +4 -3
  33. package/dist/resources/terms-of-service/index.d.mts +15 -0
  34. package/dist/resources/terms-of-service/index.d.ts +15 -0
  35. package/dist/resources/terms-of-service/index.js +44 -0
  36. package/dist/resources/terms-of-service/index.mjs +9 -0
  37. package/dist/resources/terms-of-service/terms-of-service.test.d.mts +2 -0
  38. package/dist/resources/terms-of-service/terms-of-service.test.d.ts +2 -0
  39. package/dist/resources/terms-of-service/terms-of-service.test.js +19674 -0
  40. package/dist/resources/terms-of-service/terms-of-service.test.mjs +60 -0
  41. package/dist/resources/virtual-accounts/virtual-accounts.test.js +31 -2
  42. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +4 -3
  43. package/dist/resources/wallets/blockchain.d.mts +21 -1
  44. package/dist/resources/wallets/blockchain.d.ts +21 -1
  45. package/dist/resources/wallets/blockchain.js +8 -0
  46. package/dist/resources/wallets/blockchain.mjs +1 -1
  47. package/dist/resources/wallets/blockchain.test.js +96 -2
  48. package/dist/resources/wallets/blockchain.test.mjs +69 -3
  49. package/dist/resources/wallets/offramp.test.js +31 -2
  50. package/dist/resources/wallets/offramp.test.mjs +4 -3
  51. package/dist/resources/webhooks/webhooks.test.js +31 -2
  52. package/dist/resources/webhooks/webhooks.test.mjs +4 -3
  53. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createBlockchainWalletsResource,
3
3
  init_blockchain
4
- } from "./chunk-IZYPRCCV.mjs";
4
+ } from "./chunk-FG25JHDX.mjs";
5
5
  import {
6
6
  createOfframpWalletsResource,
7
7
  init_offramp
@@ -18,6 +18,10 @@ import {
18
18
  createReceiversResource,
19
19
  init_receivers
20
20
  } from "./chunk-67XECGMJ.mjs";
21
+ import {
22
+ createTermsOfServiceResource,
23
+ init_terms_of_service
24
+ } from "./chunk-Z6EYX4D3.mjs";
21
25
  import {
22
26
  createVirtualAccountsResource,
23
27
  init_virtual_accounts
@@ -33,7 +37,7 @@ import {
33
37
  import {
34
38
  createPayinQuotesResource,
35
39
  init_quotes
36
- } from "./chunk-E7M4CJKR.mjs";
40
+ } from "./chunk-OTRFWEEC.mjs";
37
41
  import {
38
42
  createPayoutsResource,
39
43
  init_payouts
@@ -65,7 +69,7 @@ import {
65
69
  var version;
66
70
  var init_package = __esm({
67
71
  "package.json"() {
68
- version = "2.2.0";
72
+ version = "2.4.0";
69
73
  }
70
74
  });
71
75
 
@@ -101,6 +105,7 @@ var init_client = __esm({
101
105
  init_payouts();
102
106
  init_quotes2();
103
107
  init_receivers();
108
+ init_terms_of_service();
104
109
  init_virtual_accounts();
105
110
  init_blockchain();
106
111
  init_offramp();
@@ -138,7 +143,8 @@ var init_client = __esm({
138
143
  this.available = createAvailableResource(this.api);
139
144
  this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
140
145
  apiKeys: createApiKeysResource(this.instanceId, this.api),
141
- webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
146
+ webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
147
+ tos: createTermsOfServiceResource(this.instanceId, this.api)
142
148
  });
143
149
  this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
144
150
  this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
@@ -68,6 +68,14 @@ function createBlockchainWalletsResource(instanceId, client) {
68
68
  mintUsdbStellar(_e) {
69
69
  var data = __objRest(_e, []);
70
70
  return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
71
+ },
72
+ mintUsdbSolana(_f) {
73
+ var data = __objRest(_f, []);
74
+ return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
75
+ },
76
+ prepareSolanaDelegationTransaction(_g) {
77
+ var data = __objRest(_g, []);
78
+ return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
71
79
  }
72
80
  };
73
81
  }
@@ -13,6 +13,9 @@ 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}`);
16
19
  }
17
20
  };
18
21
  }
@@ -0,0 +1,29 @@
1
+ import {
2
+ __esm
3
+ } from "./chunk-OBKEW4AQ.mjs";
4
+
5
+ // src/resources/terms-of-service/index.ts
6
+ function createTermsOfServiceResource(instanceId, client) {
7
+ return {
8
+ initiate({
9
+ idempotency_key,
10
+ receiver_id,
11
+ redirect_url
12
+ }) {
13
+ return client.post(`/e/instances/${instanceId}/tos`, {
14
+ idempotency_key,
15
+ receiver_id,
16
+ redirect_url
17
+ });
18
+ }
19
+ };
20
+ }
21
+ var init_terms_of_service = __esm({
22
+ "src/resources/terms-of-service/index.ts"() {
23
+ }
24
+ });
25
+
26
+ export {
27
+ createTermsOfServiceResource,
28
+ init_terms_of_service
29
+ };
package/dist/index.d.mts CHANGED
@@ -11,17 +11,18 @@ export { CreatePartnerFeeInput, CreatePartnerFeeResponse, DeletePartnerFeeInput,
11
11
  import { createPayinsResource } from './resources/payins/index.mjs';
12
12
  export { CreateEvmPayinInput, CreateEvmPayinResponse, CreatePayinInput, ExportPayinsInput, ExportPayinsResponse, 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 } from './resources/payins/quotes.mjs';
14
+ export { CreatePayinQuoteInput, CreatePayinQuoteResponse, GetPayinFxRateInput, GetPayinFxRateResponse, GetPayinQuoteInput, GetPayinQuoteResponse, PayinPaymentMethod } from './resources/payins/quotes.mjs';
15
15
  import { createPayoutsResource } from './resources/payouts/index.mjs';
16
16
  export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPayoutInput, CreateEvmPayoutResponse, CreatePayoutInput, CreateStellarPayoutInput, CreateStellarPayoutResponse, ExportPayoutsInput, ExportPayoutsResponse, 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';
20
20
  export { BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversResponse, Owner, OwnerRole, ProofOfAddressDocType, PurposeOfTransactions, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, SourceOfFundsDocType, UpdateReceiverInput } from './resources/receivers/index.mjs';
21
+ import { createTermsOfServiceResource } from './resources/terms-of-service/index.mjs';
21
22
  import { createVirtualAccountsResource } from './resources/virtual-accounts/index.mjs';
22
23
  export { CreateVirtualAccountInput, CreateVirtualAccountResponse, GetVirtualAccountInput, GetVirtualAccountResponse, UpdateVirtualAccountInput, VirtualAccount } from './resources/virtual-accounts/index.mjs';
23
24
  import { createBlockchainWalletsResource } from './resources/wallets/blockchain.mjs';
24
- export { CreateAssetTrustlineInput, CreateAssetTrustlineResponse, CreateBlockchainWalletResponse, CreateBlockchainWalletWithAddressInput, CreateBlockchainWalletWithHashInput, DeleteBlockchainWalletInput, GetBlockchainWalletInput, GetBlockchainWalletMessage, GetBlockchainWalletMessageResponse, GetBlockchainWalletResponse, ListBlockchainWalletsInput, ListBlockchainWalletsResponse, MintUsdbStellarInput } from './resources/wallets/blockchain.mjs';
25
+ export { CreateAssetTrustlineInput, CreateAssetTrustlineResponse, CreateBlockchainWalletResponse, CreateBlockchainWalletWithAddressInput, CreateBlockchainWalletWithHashInput, DeleteBlockchainWalletInput, GetBlockchainWalletInput, GetBlockchainWalletMessage, GetBlockchainWalletMessageResponse, GetBlockchainWalletResponse, ListBlockchainWalletsInput, ListBlockchainWalletsResponse, MintUsdbSolanaInput, MintUsdbSolanaResponse, MintUsdbStellarInput, PrepareSolanaDelegationTransactionInput, PrepareSolanaDelegationTransactionResponse } from './resources/wallets/blockchain.mjs';
25
26
  import { createOfframpWalletsResource } from './resources/wallets/offramp.mjs';
26
27
  export { CreateOfframpWalletInput, CreateOfframpWalletResponse, GetOfframpWalletInput, GetOfframpWalletResponse, ListOfframpWalletsInput, ListOfframpWalletsResponse, OfframpWallet } from './resources/wallets/offramp.mjs';
27
28
  import { createWebhookEndpointsResource } from './resources/webhooks/index.mjs';
@@ -48,6 +49,7 @@ declare class BlindPay {
48
49
  readonly instances: ReturnType<typeof createInstancesResource> & {
49
50
  apiKeys: ReturnType<typeof createApiKeysResource>;
50
51
  webhookEndpoints: ReturnType<typeof createWebhookEndpointsResource>;
52
+ tos: ReturnType<typeof createTermsOfServiceResource>;
51
53
  };
52
54
  readonly wallets: {
53
55
  blockchain: ReturnType<typeof createBlockchainWalletsResource>;
package/dist/index.d.ts CHANGED
@@ -11,17 +11,18 @@ export { CreatePartnerFeeInput, CreatePartnerFeeResponse, DeletePartnerFeeInput,
11
11
  import { createPayinsResource } from './resources/payins/index.js';
12
12
  export { CreateEvmPayinInput, CreateEvmPayinResponse, CreatePayinInput, ExportPayinsInput, ExportPayinsResponse, 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 } from './resources/payins/quotes.js';
14
+ export { CreatePayinQuoteInput, CreatePayinQuoteResponse, GetPayinFxRateInput, GetPayinFxRateResponse, GetPayinQuoteInput, GetPayinQuoteResponse, PayinPaymentMethod } from './resources/payins/quotes.js';
15
15
  import { createPayoutsResource } from './resources/payouts/index.js';
16
16
  export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPayoutInput, CreateEvmPayoutResponse, CreatePayoutInput, CreateStellarPayoutInput, CreateStellarPayoutResponse, ExportPayoutsInput, ExportPayoutsResponse, 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';
20
20
  export { BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversResponse, Owner, OwnerRole, ProofOfAddressDocType, PurposeOfTransactions, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, SourceOfFundsDocType, UpdateReceiverInput } from './resources/receivers/index.js';
21
+ import { createTermsOfServiceResource } from './resources/terms-of-service/index.js';
21
22
  import { createVirtualAccountsResource } from './resources/virtual-accounts/index.js';
22
23
  export { CreateVirtualAccountInput, CreateVirtualAccountResponse, GetVirtualAccountInput, GetVirtualAccountResponse, UpdateVirtualAccountInput, VirtualAccount } from './resources/virtual-accounts/index.js';
23
24
  import { createBlockchainWalletsResource } from './resources/wallets/blockchain.js';
24
- export { CreateAssetTrustlineInput, CreateAssetTrustlineResponse, CreateBlockchainWalletResponse, CreateBlockchainWalletWithAddressInput, CreateBlockchainWalletWithHashInput, DeleteBlockchainWalletInput, GetBlockchainWalletInput, GetBlockchainWalletMessage, GetBlockchainWalletMessageResponse, GetBlockchainWalletResponse, ListBlockchainWalletsInput, ListBlockchainWalletsResponse, MintUsdbStellarInput } from './resources/wallets/blockchain.js';
25
+ export { CreateAssetTrustlineInput, CreateAssetTrustlineResponse, CreateBlockchainWalletResponse, CreateBlockchainWalletWithAddressInput, CreateBlockchainWalletWithHashInput, DeleteBlockchainWalletInput, GetBlockchainWalletInput, GetBlockchainWalletMessage, GetBlockchainWalletMessageResponse, GetBlockchainWalletResponse, ListBlockchainWalletsInput, ListBlockchainWalletsResponse, MintUsdbSolanaInput, MintUsdbSolanaResponse, MintUsdbStellarInput, PrepareSolanaDelegationTransactionInput, PrepareSolanaDelegationTransactionResponse } from './resources/wallets/blockchain.js';
25
26
  import { createOfframpWalletsResource } from './resources/wallets/offramp.js';
26
27
  export { CreateOfframpWalletInput, CreateOfframpWalletResponse, GetOfframpWalletInput, GetOfframpWalletResponse, ListOfframpWalletsInput, ListOfframpWalletsResponse, OfframpWallet } from './resources/wallets/offramp.js';
27
28
  import { createWebhookEndpointsResource } from './resources/webhooks/index.js';
@@ -48,6 +49,7 @@ declare class BlindPay {
48
49
  readonly instances: ReturnType<typeof createInstancesResource> & {
49
50
  apiKeys: ReturnType<typeof createApiKeysResource>;
50
51
  webhookEndpoints: ReturnType<typeof createWebhookEndpointsResource>;
52
+ tos: ReturnType<typeof createTermsOfServiceResource>;
51
53
  };
52
54
  readonly wallets: {
53
55
  blockchain: ReturnType<typeof createBlockchainWalletsResource>;
package/dist/index.js CHANGED
@@ -91,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
91
91
  var import_node_crypto = require("crypto");
92
92
 
93
93
  // package.json
94
- var version = "2.2.0";
94
+ var version = "2.4.0";
95
95
 
96
96
  // src/internal/blindpay-error.ts
97
97
  var BlindPayError = class extends Error {
@@ -317,6 +317,9 @@ function createPayinQuotesResource(instanceId, client) {
317
317
  getFxRate(_b) {
318
318
  var data = __objRest(_b, []);
319
319
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
320
+ },
321
+ get(id) {
322
+ return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
320
323
  }
321
324
  };
322
325
  }
@@ -421,6 +424,23 @@ function createReceiversResource(instanceId, client) {
421
424
  };
422
425
  }
423
426
 
427
+ // src/resources/terms-of-service/index.ts
428
+ function createTermsOfServiceResource(instanceId, client) {
429
+ return {
430
+ initiate({
431
+ idempotency_key,
432
+ receiver_id,
433
+ redirect_url
434
+ }) {
435
+ return client.post(`/e/instances/${instanceId}/tos`, {
436
+ idempotency_key,
437
+ receiver_id,
438
+ redirect_url
439
+ });
440
+ }
441
+ };
442
+ }
443
+
424
444
  // src/resources/virtual-accounts/index.ts
425
445
  function createVirtualAccountsResource(instanceId, client) {
426
446
  return {
@@ -515,6 +535,14 @@ function createBlockchainWalletsResource(instanceId, client) {
515
535
  mintUsdbStellar(_e) {
516
536
  var data = __objRest(_e, []);
517
537
  return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
538
+ },
539
+ mintUsdbSolana(_f) {
540
+ var data = __objRest(_f, []);
541
+ return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
542
+ },
543
+ prepareSolanaDelegationTransaction(_g) {
544
+ var data = __objRest(_g, []);
545
+ return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
518
546
  }
519
547
  };
520
548
  }
@@ -611,7 +639,8 @@ var BlindPay = class {
611
639
  this.available = createAvailableResource(this.api);
612
640
  this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
613
641
  apiKeys: createApiKeysResource(this.instanceId, this.api),
614
- webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
642
+ webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
643
+ tos: createTermsOfServiceResource(this.instanceId, this.api)
615
644
  });
616
645
  this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
617
646
  this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  BlindPay,
3
3
  init_client
4
- } from "./chunk-QCRVXYWF.mjs";
4
+ } from "./chunk-4DVSRRBP.mjs";
5
5
  import {
6
6
  createBlockchainWalletsResource,
7
7
  init_blockchain
8
- } from "./chunk-IZYPRCCV.mjs";
8
+ } from "./chunk-FG25JHDX.mjs";
9
9
  import {
10
10
  createOfframpWalletsResource,
11
11
  init_offramp
@@ -22,6 +22,7 @@ import {
22
22
  createReceiversResource,
23
23
  init_receivers
24
24
  } from "./chunk-67XECGMJ.mjs";
25
+ import "./chunk-Z6EYX4D3.mjs";
25
26
  import {
26
27
  createVirtualAccountsResource,
27
28
  init_virtual_accounts
@@ -37,7 +38,7 @@ import {
37
38
  import {
38
39
  createPayinQuotesResource,
39
40
  init_quotes
40
- } from "./chunk-E7M4CJKR.mjs";
41
+ } from "./chunk-OTRFWEEC.mjs";
41
42
  import {
42
43
  createPayoutsResource,
43
44
  init_payouts
@@ -18697,7 +18697,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18697
18697
  var import_node_crypto = require("crypto");
18698
18698
 
18699
18699
  // package.json
18700
- var version = "2.2.0";
18700
+ var version = "2.4.0";
18701
18701
 
18702
18702
  // src/internal/blindpay-error.ts
18703
18703
  var BlindPayError = class extends Error {
@@ -18923,6 +18923,9 @@ function createPayinQuotesResource(instanceId, client) {
18923
18923
  getFxRate(_b) {
18924
18924
  var data = __objRest(_b, []);
18925
18925
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
18926
+ },
18927
+ get(id) {
18928
+ return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
18926
18929
  }
18927
18930
  };
18928
18931
  }
@@ -19027,6 +19030,23 @@ function createReceiversResource(instanceId, client) {
19027
19030
  };
19028
19031
  }
19029
19032
 
19033
+ // src/resources/terms-of-service/index.ts
19034
+ function createTermsOfServiceResource(instanceId, client) {
19035
+ return {
19036
+ initiate({
19037
+ idempotency_key,
19038
+ receiver_id,
19039
+ redirect_url
19040
+ }) {
19041
+ return client.post(`/e/instances/${instanceId}/tos`, {
19042
+ idempotency_key,
19043
+ receiver_id,
19044
+ redirect_url
19045
+ });
19046
+ }
19047
+ };
19048
+ }
19049
+
19030
19050
  // src/resources/virtual-accounts/index.ts
19031
19051
  function createVirtualAccountsResource(instanceId, client) {
19032
19052
  return {
@@ -19121,6 +19141,14 @@ function createBlockchainWalletsResource(instanceId, client) {
19121
19141
  mintUsdbStellar(_e) {
19122
19142
  var data = __objRest(_e, []);
19123
19143
  return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
19144
+ },
19145
+ mintUsdbSolana(_f) {
19146
+ var data = __objRest(_f, []);
19147
+ return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
19148
+ },
19149
+ prepareSolanaDelegationTransaction(_g) {
19150
+ var data = __objRest(_g, []);
19151
+ return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
19124
19152
  }
19125
19153
  };
19126
19154
  }
@@ -19217,7 +19245,8 @@ var BlindPay = class {
19217
19245
  this.available = createAvailableResource(this.api);
19218
19246
  this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
19219
19247
  apiKeys: createApiKeysResource(this.instanceId, this.api),
19220
- webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
19248
+ webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
19249
+ tos: createTermsOfServiceResource(this.instanceId, this.api)
19221
19250
  });
19222
19251
  this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
19223
19252
  this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
@@ -7,16 +7,17 @@ import {
7
7
  import {
8
8
  BlindPay,
9
9
  init_client
10
- } from "../../chunk-QCRVXYWF.mjs";
11
- import "../../chunk-IZYPRCCV.mjs";
10
+ } from "../../chunk-4DVSRRBP.mjs";
11
+ import "../../chunk-FG25JHDX.mjs";
12
12
  import "../../chunk-QGNLMN6Z.mjs";
13
13
  import "../../chunk-UC57SCKQ.mjs";
14
14
  import "../../chunk-TBTA7A2P.mjs";
15
15
  import "../../chunk-67XECGMJ.mjs";
16
+ import "../../chunk-Z6EYX4D3.mjs";
16
17
  import "../../chunk-5XJJKYXE.mjs";
17
18
  import "../../chunk-RC5NN5UF.mjs";
18
19
  import "../../chunk-W7NJUABI.mjs";
19
- import "../../chunk-E7M4CJKR.mjs";
20
+ import "../../chunk-OTRFWEEC.mjs";
20
21
  import "../../chunk-3QQCDR3E.mjs";
21
22
  import "../../chunk-LRHWT4JU.mjs";
22
23
  import "../../chunk-U7CKUUO7.mjs";
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_node_crypto = require("crypto");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "2.2.0";
18705
+ var version = "2.4.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18928,6 +18928,9 @@ function createPayinQuotesResource(instanceId, client) {
18928
18928
  getFxRate(_b) {
18929
18929
  var data = __objRest(_b, []);
18930
18930
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
18931
+ },
18932
+ get(id) {
18933
+ return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
18931
18934
  }
18932
18935
  };
18933
18936
  }
@@ -19032,6 +19035,23 @@ function createReceiversResource(instanceId, client) {
19032
19035
  };
19033
19036
  }
19034
19037
 
19038
+ // src/resources/terms-of-service/index.ts
19039
+ function createTermsOfServiceResource(instanceId, client) {
19040
+ return {
19041
+ initiate({
19042
+ idempotency_key,
19043
+ receiver_id,
19044
+ redirect_url
19045
+ }) {
19046
+ return client.post(`/e/instances/${instanceId}/tos`, {
19047
+ idempotency_key,
19048
+ receiver_id,
19049
+ redirect_url
19050
+ });
19051
+ }
19052
+ };
19053
+ }
19054
+
19035
19055
  // src/resources/virtual-accounts/index.ts
19036
19056
  function createVirtualAccountsResource(instanceId, client) {
19037
19057
  return {
@@ -19126,6 +19146,14 @@ function createBlockchainWalletsResource(instanceId, client) {
19126
19146
  mintUsdbStellar(_e) {
19127
19147
  var data = __objRest(_e, []);
19128
19148
  return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
19149
+ },
19150
+ mintUsdbSolana(_f) {
19151
+ var data = __objRest(_f, []);
19152
+ return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
19153
+ },
19154
+ prepareSolanaDelegationTransaction(_g) {
19155
+ var data = __objRest(_g, []);
19156
+ return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
19129
19157
  }
19130
19158
  };
19131
19159
  }
@@ -19222,7 +19250,8 @@ var BlindPay = class {
19222
19250
  this.available = createAvailableResource(this.api);
19223
19251
  this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
19224
19252
  apiKeys: createApiKeysResource(this.instanceId, this.api),
19225
- webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
19253
+ webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
19254
+ tos: createTermsOfServiceResource(this.instanceId, this.api)
19226
19255
  });
19227
19256
  this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
19228
19257
  this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
@@ -8,16 +8,17 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-QCRVXYWF.mjs";
12
- import "../../chunk-IZYPRCCV.mjs";
11
+ } from "../../chunk-4DVSRRBP.mjs";
12
+ import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
+ import "../../chunk-Z6EYX4D3.mjs";
17
18
  import "../../chunk-5XJJKYXE.mjs";
18
19
  import "../../chunk-RC5NN5UF.mjs";
19
20
  import "../../chunk-W7NJUABI.mjs";
20
- import "../../chunk-E7M4CJKR.mjs";
21
+ import "../../chunk-OTRFWEEC.mjs";
21
22
  import "../../chunk-3QQCDR3E.mjs";
22
23
  import "../../chunk-LRHWT4JU.mjs";
23
24
  import "../../chunk-U7CKUUO7.mjs";
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_node_crypto = require("crypto");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "2.2.0";
18705
+ var version = "2.4.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18928,6 +18928,9 @@ function createPayinQuotesResource(instanceId, client) {
18928
18928
  getFxRate(_b) {
18929
18929
  var data = __objRest(_b, []);
18930
18930
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
18931
+ },
18932
+ get(id) {
18933
+ return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
18931
18934
  }
18932
18935
  };
18933
18936
  }
@@ -19032,6 +19035,23 @@ function createReceiversResource(instanceId, client) {
19032
19035
  };
19033
19036
  }
19034
19037
 
19038
+ // src/resources/terms-of-service/index.ts
19039
+ function createTermsOfServiceResource(instanceId, client) {
19040
+ return {
19041
+ initiate({
19042
+ idempotency_key,
19043
+ receiver_id,
19044
+ redirect_url
19045
+ }) {
19046
+ return client.post(`/e/instances/${instanceId}/tos`, {
19047
+ idempotency_key,
19048
+ receiver_id,
19049
+ redirect_url
19050
+ });
19051
+ }
19052
+ };
19053
+ }
19054
+
19035
19055
  // src/resources/virtual-accounts/index.ts
19036
19056
  function createVirtualAccountsResource(instanceId, client) {
19037
19057
  return {
@@ -19126,6 +19146,14 @@ function createBlockchainWalletsResource(instanceId, client) {
19126
19146
  mintUsdbStellar(_e) {
19127
19147
  var data = __objRest(_e, []);
19128
19148
  return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
19149
+ },
19150
+ mintUsdbSolana(_f) {
19151
+ var data = __objRest(_f, []);
19152
+ return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
19153
+ },
19154
+ prepareSolanaDelegationTransaction(_g) {
19155
+ var data = __objRest(_g, []);
19156
+ return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
19129
19157
  }
19130
19158
  };
19131
19159
  }
@@ -19222,7 +19250,8 @@ var BlindPay = class {
19222
19250
  this.available = createAvailableResource(this.api);
19223
19251
  this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
19224
19252
  apiKeys: createApiKeysResource(this.instanceId, this.api),
19225
- webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
19253
+ webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
19254
+ tos: createTermsOfServiceResource(this.instanceId, this.api)
19226
19255
  });
19227
19256
  this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
19228
19257
  this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
@@ -8,16 +8,17 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-QCRVXYWF.mjs";
12
- import "../../chunk-IZYPRCCV.mjs";
11
+ } from "../../chunk-4DVSRRBP.mjs";
12
+ import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
+ import "../../chunk-Z6EYX4D3.mjs";
17
18
  import "../../chunk-5XJJKYXE.mjs";
18
19
  import "../../chunk-RC5NN5UF.mjs";
19
20
  import "../../chunk-W7NJUABI.mjs";
20
- import "../../chunk-E7M4CJKR.mjs";
21
+ import "../../chunk-OTRFWEEC.mjs";
21
22
  import "../../chunk-3QQCDR3E.mjs";
22
23
  import "../../chunk-LRHWT4JU.mjs";
23
24
  import "../../chunk-U7CKUUO7.mjs";
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_node_crypto = require("crypto");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "2.2.0";
18705
+ var version = "2.4.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18928,6 +18928,9 @@ function createPayinQuotesResource(instanceId, client) {
18928
18928
  getFxRate(_b) {
18929
18929
  var data = __objRest(_b, []);
18930
18930
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
18931
+ },
18932
+ get(id) {
18933
+ return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
18931
18934
  }
18932
18935
  };
18933
18936
  }
@@ -19032,6 +19035,23 @@ function createReceiversResource(instanceId, client) {
19032
19035
  };
19033
19036
  }
19034
19037
 
19038
+ // src/resources/terms-of-service/index.ts
19039
+ function createTermsOfServiceResource(instanceId, client) {
19040
+ return {
19041
+ initiate({
19042
+ idempotency_key,
19043
+ receiver_id,
19044
+ redirect_url
19045
+ }) {
19046
+ return client.post(`/e/instances/${instanceId}/tos`, {
19047
+ idempotency_key,
19048
+ receiver_id,
19049
+ redirect_url
19050
+ });
19051
+ }
19052
+ };
19053
+ }
19054
+
19035
19055
  // src/resources/virtual-accounts/index.ts
19036
19056
  function createVirtualAccountsResource(instanceId, client) {
19037
19057
  return {
@@ -19126,6 +19146,14 @@ function createBlockchainWalletsResource(instanceId, client) {
19126
19146
  mintUsdbStellar(_e) {
19127
19147
  var data = __objRest(_e, []);
19128
19148
  return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
19149
+ },
19150
+ mintUsdbSolana(_f) {
19151
+ var data = __objRest(_f, []);
19152
+ return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
19153
+ },
19154
+ prepareSolanaDelegationTransaction(_g) {
19155
+ var data = __objRest(_g, []);
19156
+ return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
19129
19157
  }
19130
19158
  };
19131
19159
  }
@@ -19222,7 +19250,8 @@ var BlindPay = class {
19222
19250
  this.available = createAvailableResource(this.api);
19223
19251
  this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
19224
19252
  apiKeys: createApiKeysResource(this.instanceId, this.api),
19225
- webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
19253
+ webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
19254
+ tos: createTermsOfServiceResource(this.instanceId, this.api)
19226
19255
  });
19227
19256
  this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
19228
19257
  this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
@@ -8,16 +8,17 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-QCRVXYWF.mjs";
12
- import "../../chunk-IZYPRCCV.mjs";
11
+ } from "../../chunk-4DVSRRBP.mjs";
12
+ import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
+ import "../../chunk-Z6EYX4D3.mjs";
17
18
  import "../../chunk-5XJJKYXE.mjs";
18
19
  import "../../chunk-RC5NN5UF.mjs";
19
20
  import "../../chunk-W7NJUABI.mjs";
20
- import "../../chunk-E7M4CJKR.mjs";
21
+ import "../../chunk-OTRFWEEC.mjs";
21
22
  import "../../chunk-3QQCDR3E.mjs";
22
23
  import "../../chunk-LRHWT4JU.mjs";
23
24
  import "../../chunk-U7CKUUO7.mjs";