@blindpay/node 2.2.0 → 2.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.
- package/dist/{chunk-QCRVXYWF.mjs → chunk-DZ4K6K32.mjs} +9 -3
- package/dist/{chunk-IZYPRCCV.mjs → chunk-FG25JHDX.mjs} +8 -0
- package/dist/chunk-Z6EYX4D3.mjs +29 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +28 -2
- package/dist/index.mjs +3 -2
- package/dist/resources/api-keys/api-keys.test.js +28 -2
- package/dist/resources/api-keys/api-keys.test.mjs +3 -2
- package/dist/resources/available/available.test.js +28 -2
- package/dist/resources/available/available.test.mjs +3 -2
- package/dist/resources/bank-accounts/bank-accounts.test.js +28 -2
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +3 -2
- package/dist/resources/instances/instances.test.js +28 -2
- package/dist/resources/instances/instances.test.mjs +3 -2
- package/dist/resources/partner-fees/partner-fees.test.js +28 -2
- package/dist/resources/partner-fees/partner-fees.test.mjs +3 -2
- package/dist/resources/payins/payins-quotes.test.js +28 -2
- package/dist/resources/payins/payins-quotes.test.mjs +3 -2
- package/dist/resources/payins/payins.test.js +28 -2
- package/dist/resources/payins/payins.test.mjs +3 -2
- package/dist/resources/payouts/payouts.test.js +28 -2
- package/dist/resources/payouts/payouts.test.mjs +3 -2
- package/dist/resources/quotes/quotes.test.js +28 -2
- package/dist/resources/quotes/quotes.test.mjs +3 -2
- package/dist/resources/receivers/receivers.test.js +28 -2
- package/dist/resources/receivers/receivers.test.mjs +3 -2
- package/dist/resources/terms-of-service/index.d.mts +15 -0
- package/dist/resources/terms-of-service/index.d.ts +15 -0
- package/dist/resources/terms-of-service/index.js +44 -0
- package/dist/resources/terms-of-service/index.mjs +9 -0
- package/dist/resources/terms-of-service/terms-of-service.test.d.mts +2 -0
- package/dist/resources/terms-of-service/terms-of-service.test.d.ts +2 -0
- package/dist/resources/terms-of-service/terms-of-service.test.js +19671 -0
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +60 -0
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +28 -2
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +3 -2
- package/dist/resources/wallets/blockchain.d.mts +21 -1
- package/dist/resources/wallets/blockchain.d.ts +21 -1
- package/dist/resources/wallets/blockchain.js +8 -0
- package/dist/resources/wallets/blockchain.mjs +1 -1
- package/dist/resources/wallets/blockchain.test.js +93 -2
- package/dist/resources/wallets/blockchain.test.mjs +68 -2
- package/dist/resources/wallets/offramp.test.js +28 -2
- package/dist/resources/wallets/offramp.test.mjs +3 -2
- package/dist/resources/webhooks/webhooks.test.js +28 -2
- package/dist/resources/webhooks/webhooks.test.mjs +3 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createBlockchainWalletsResource,
|
|
3
3
|
init_blockchain
|
|
4
|
-
} from "./chunk-
|
|
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
|
|
@@ -65,7 +69,7 @@ import {
|
|
|
65
69
|
var version;
|
|
66
70
|
var init_package = __esm({
|
|
67
71
|
"package.json"() {
|
|
68
|
-
version = "2.
|
|
72
|
+
version = "2.3.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
|
}
|
|
@@ -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
|
@@ -18,10 +18,11 @@ 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
|
@@ -18,10 +18,11 @@ 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.
|
|
94
|
+
var version = "2.3.0";
|
|
95
95
|
|
|
96
96
|
// src/internal/blindpay-error.ts
|
|
97
97
|
var BlindPayError = class extends Error {
|
|
@@ -421,6 +421,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
421
421
|
};
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
+
// src/resources/terms-of-service/index.ts
|
|
425
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
426
|
+
return {
|
|
427
|
+
initiate({
|
|
428
|
+
idempotency_key,
|
|
429
|
+
receiver_id,
|
|
430
|
+
redirect_url
|
|
431
|
+
}) {
|
|
432
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
433
|
+
idempotency_key,
|
|
434
|
+
receiver_id,
|
|
435
|
+
redirect_url
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
|
|
424
441
|
// src/resources/virtual-accounts/index.ts
|
|
425
442
|
function createVirtualAccountsResource(instanceId, client) {
|
|
426
443
|
return {
|
|
@@ -515,6 +532,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
515
532
|
mintUsdbStellar(_e) {
|
|
516
533
|
var data = __objRest(_e, []);
|
|
517
534
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
535
|
+
},
|
|
536
|
+
mintUsdbSolana(_f) {
|
|
537
|
+
var data = __objRest(_f, []);
|
|
538
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
539
|
+
},
|
|
540
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
541
|
+
var data = __objRest(_g, []);
|
|
542
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
518
543
|
}
|
|
519
544
|
};
|
|
520
545
|
}
|
|
@@ -611,7 +636,8 @@ var BlindPay = class {
|
|
|
611
636
|
this.available = createAvailableResource(this.api);
|
|
612
637
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
613
638
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
614
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
639
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
640
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
615
641
|
});
|
|
616
642
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
617
643
|
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-
|
|
4
|
+
} from "./chunk-DZ4K6K32.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createBlockchainWalletsResource,
|
|
7
7
|
init_blockchain
|
|
8
|
-
} from "./chunk-
|
|
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
|
|
@@ -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.
|
|
18700
|
+
var version = "2.3.0";
|
|
18701
18701
|
|
|
18702
18702
|
// src/internal/blindpay-error.ts
|
|
18703
18703
|
var BlindPayError = class extends Error {
|
|
@@ -19027,6 +19027,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19027
19027
|
};
|
|
19028
19028
|
}
|
|
19029
19029
|
|
|
19030
|
+
// src/resources/terms-of-service/index.ts
|
|
19031
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19032
|
+
return {
|
|
19033
|
+
initiate({
|
|
19034
|
+
idempotency_key,
|
|
19035
|
+
receiver_id,
|
|
19036
|
+
redirect_url
|
|
19037
|
+
}) {
|
|
19038
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19039
|
+
idempotency_key,
|
|
19040
|
+
receiver_id,
|
|
19041
|
+
redirect_url
|
|
19042
|
+
});
|
|
19043
|
+
}
|
|
19044
|
+
};
|
|
19045
|
+
}
|
|
19046
|
+
|
|
19030
19047
|
// src/resources/virtual-accounts/index.ts
|
|
19031
19048
|
function createVirtualAccountsResource(instanceId, client) {
|
|
19032
19049
|
return {
|
|
@@ -19121,6 +19138,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
19121
19138
|
mintUsdbStellar(_e) {
|
|
19122
19139
|
var data = __objRest(_e, []);
|
|
19123
19140
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
19141
|
+
},
|
|
19142
|
+
mintUsdbSolana(_f) {
|
|
19143
|
+
var data = __objRest(_f, []);
|
|
19144
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
19145
|
+
},
|
|
19146
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
19147
|
+
var data = __objRest(_g, []);
|
|
19148
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
19124
19149
|
}
|
|
19125
19150
|
};
|
|
19126
19151
|
}
|
|
@@ -19217,7 +19242,8 @@ var BlindPay = class {
|
|
|
19217
19242
|
this.available = createAvailableResource(this.api);
|
|
19218
19243
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19219
19244
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19220
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19245
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19246
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19221
19247
|
});
|
|
19222
19248
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19223
19249
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|
|
@@ -7,12 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
BlindPay,
|
|
9
9
|
init_client
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-DZ4K6K32.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";
|
|
@@ -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.
|
|
18705
|
+
var version = "2.3.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19032,6 +19032,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19032
19032
|
};
|
|
19033
19033
|
}
|
|
19034
19034
|
|
|
19035
|
+
// src/resources/terms-of-service/index.ts
|
|
19036
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19037
|
+
return {
|
|
19038
|
+
initiate({
|
|
19039
|
+
idempotency_key,
|
|
19040
|
+
receiver_id,
|
|
19041
|
+
redirect_url
|
|
19042
|
+
}) {
|
|
19043
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19044
|
+
idempotency_key,
|
|
19045
|
+
receiver_id,
|
|
19046
|
+
redirect_url
|
|
19047
|
+
});
|
|
19048
|
+
}
|
|
19049
|
+
};
|
|
19050
|
+
}
|
|
19051
|
+
|
|
19035
19052
|
// src/resources/virtual-accounts/index.ts
|
|
19036
19053
|
function createVirtualAccountsResource(instanceId, client) {
|
|
19037
19054
|
return {
|
|
@@ -19126,6 +19143,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
19126
19143
|
mintUsdbStellar(_e) {
|
|
19127
19144
|
var data = __objRest(_e, []);
|
|
19128
19145
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
19146
|
+
},
|
|
19147
|
+
mintUsdbSolana(_f) {
|
|
19148
|
+
var data = __objRest(_f, []);
|
|
19149
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
19150
|
+
},
|
|
19151
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
19152
|
+
var data = __objRest(_g, []);
|
|
19153
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
19129
19154
|
}
|
|
19130
19155
|
};
|
|
19131
19156
|
}
|
|
@@ -19222,7 +19247,8 @@ var BlindPay = class {
|
|
|
19222
19247
|
this.available = createAvailableResource(this.api);
|
|
19223
19248
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19224
19249
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19225
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19250
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19251
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19226
19252
|
});
|
|
19227
19253
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19228
19254
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|
|
@@ -8,12 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-DZ4K6K32.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";
|
|
@@ -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.
|
|
18705
|
+
var version = "2.3.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19032,6 +19032,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19032
19032
|
};
|
|
19033
19033
|
}
|
|
19034
19034
|
|
|
19035
|
+
// src/resources/terms-of-service/index.ts
|
|
19036
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19037
|
+
return {
|
|
19038
|
+
initiate({
|
|
19039
|
+
idempotency_key,
|
|
19040
|
+
receiver_id,
|
|
19041
|
+
redirect_url
|
|
19042
|
+
}) {
|
|
19043
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19044
|
+
idempotency_key,
|
|
19045
|
+
receiver_id,
|
|
19046
|
+
redirect_url
|
|
19047
|
+
});
|
|
19048
|
+
}
|
|
19049
|
+
};
|
|
19050
|
+
}
|
|
19051
|
+
|
|
19035
19052
|
// src/resources/virtual-accounts/index.ts
|
|
19036
19053
|
function createVirtualAccountsResource(instanceId, client) {
|
|
19037
19054
|
return {
|
|
@@ -19126,6 +19143,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
19126
19143
|
mintUsdbStellar(_e) {
|
|
19127
19144
|
var data = __objRest(_e, []);
|
|
19128
19145
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
19146
|
+
},
|
|
19147
|
+
mintUsdbSolana(_f) {
|
|
19148
|
+
var data = __objRest(_f, []);
|
|
19149
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
19150
|
+
},
|
|
19151
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
19152
|
+
var data = __objRest(_g, []);
|
|
19153
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
19129
19154
|
}
|
|
19130
19155
|
};
|
|
19131
19156
|
}
|
|
@@ -19222,7 +19247,8 @@ var BlindPay = class {
|
|
|
19222
19247
|
this.available = createAvailableResource(this.api);
|
|
19223
19248
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19224
19249
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19225
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19250
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19251
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19226
19252
|
});
|
|
19227
19253
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19228
19254
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|
|
@@ -8,12 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-DZ4K6K32.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";
|
|
@@ -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.
|
|
18705
|
+
var version = "2.3.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19032,6 +19032,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19032
19032
|
};
|
|
19033
19033
|
}
|
|
19034
19034
|
|
|
19035
|
+
// src/resources/terms-of-service/index.ts
|
|
19036
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19037
|
+
return {
|
|
19038
|
+
initiate({
|
|
19039
|
+
idempotency_key,
|
|
19040
|
+
receiver_id,
|
|
19041
|
+
redirect_url
|
|
19042
|
+
}) {
|
|
19043
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19044
|
+
idempotency_key,
|
|
19045
|
+
receiver_id,
|
|
19046
|
+
redirect_url
|
|
19047
|
+
});
|
|
19048
|
+
}
|
|
19049
|
+
};
|
|
19050
|
+
}
|
|
19051
|
+
|
|
19035
19052
|
// src/resources/virtual-accounts/index.ts
|
|
19036
19053
|
function createVirtualAccountsResource(instanceId, client) {
|
|
19037
19054
|
return {
|
|
@@ -19126,6 +19143,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
19126
19143
|
mintUsdbStellar(_e) {
|
|
19127
19144
|
var data = __objRest(_e, []);
|
|
19128
19145
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
19146
|
+
},
|
|
19147
|
+
mintUsdbSolana(_f) {
|
|
19148
|
+
var data = __objRest(_f, []);
|
|
19149
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
19150
|
+
},
|
|
19151
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
19152
|
+
var data = __objRest(_g, []);
|
|
19153
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
19129
19154
|
}
|
|
19130
19155
|
};
|
|
19131
19156
|
}
|
|
@@ -19222,7 +19247,8 @@ var BlindPay = class {
|
|
|
19222
19247
|
this.available = createAvailableResource(this.api);
|
|
19223
19248
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19224
19249
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19225
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19250
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19251
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19226
19252
|
});
|
|
19227
19253
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19228
19254
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|
|
@@ -8,12 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-DZ4K6K32.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";
|
|
@@ -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.
|
|
18705
|
+
var version = "2.3.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19032,6 +19032,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19032
19032
|
};
|
|
19033
19033
|
}
|
|
19034
19034
|
|
|
19035
|
+
// src/resources/terms-of-service/index.ts
|
|
19036
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19037
|
+
return {
|
|
19038
|
+
initiate({
|
|
19039
|
+
idempotency_key,
|
|
19040
|
+
receiver_id,
|
|
19041
|
+
redirect_url
|
|
19042
|
+
}) {
|
|
19043
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19044
|
+
idempotency_key,
|
|
19045
|
+
receiver_id,
|
|
19046
|
+
redirect_url
|
|
19047
|
+
});
|
|
19048
|
+
}
|
|
19049
|
+
};
|
|
19050
|
+
}
|
|
19051
|
+
|
|
19035
19052
|
// src/resources/virtual-accounts/index.ts
|
|
19036
19053
|
function createVirtualAccountsResource(instanceId, client) {
|
|
19037
19054
|
return {
|
|
@@ -19126,6 +19143,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
19126
19143
|
mintUsdbStellar(_e) {
|
|
19127
19144
|
var data = __objRest(_e, []);
|
|
19128
19145
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
19146
|
+
},
|
|
19147
|
+
mintUsdbSolana(_f) {
|
|
19148
|
+
var data = __objRest(_f, []);
|
|
19149
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
19150
|
+
},
|
|
19151
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
19152
|
+
var data = __objRest(_g, []);
|
|
19153
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
19129
19154
|
}
|
|
19130
19155
|
};
|
|
19131
19156
|
}
|
|
@@ -19222,7 +19247,8 @@ var BlindPay = class {
|
|
|
19222
19247
|
this.available = createAvailableResource(this.api);
|
|
19223
19248
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19224
19249
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19225
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19250
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19251
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19226
19252
|
});
|
|
19227
19253
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19228
19254
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|
|
@@ -8,12 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-DZ4K6K32.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";
|
|
@@ -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.
|
|
18705
|
+
var version = "2.3.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19032,6 +19032,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19032
19032
|
};
|
|
19033
19033
|
}
|
|
19034
19034
|
|
|
19035
|
+
// src/resources/terms-of-service/index.ts
|
|
19036
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19037
|
+
return {
|
|
19038
|
+
initiate({
|
|
19039
|
+
idempotency_key,
|
|
19040
|
+
receiver_id,
|
|
19041
|
+
redirect_url
|
|
19042
|
+
}) {
|
|
19043
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19044
|
+
idempotency_key,
|
|
19045
|
+
receiver_id,
|
|
19046
|
+
redirect_url
|
|
19047
|
+
});
|
|
19048
|
+
}
|
|
19049
|
+
};
|
|
19050
|
+
}
|
|
19051
|
+
|
|
19035
19052
|
// src/resources/virtual-accounts/index.ts
|
|
19036
19053
|
function createVirtualAccountsResource(instanceId, client) {
|
|
19037
19054
|
return {
|
|
@@ -19126,6 +19143,14 @@ function createBlockchainWalletsResource(instanceId, client) {
|
|
|
19126
19143
|
mintUsdbStellar(_e) {
|
|
19127
19144
|
var data = __objRest(_e, []);
|
|
19128
19145
|
return client.post(`/instances/${instanceId}/mint-usdb-stellar`, data);
|
|
19146
|
+
},
|
|
19147
|
+
mintUsdbSolana(_f) {
|
|
19148
|
+
var data = __objRest(_f, []);
|
|
19149
|
+
return client.post(`/instances/${instanceId}/mint-usdb-solana`, data);
|
|
19150
|
+
},
|
|
19151
|
+
prepareSolanaDelegationTransaction(_g) {
|
|
19152
|
+
var data = __objRest(_g, []);
|
|
19153
|
+
return client.post(`/instances/${instanceId}/prepare-delegate-solana`, data);
|
|
19129
19154
|
}
|
|
19130
19155
|
};
|
|
19131
19156
|
}
|
|
@@ -19222,7 +19247,8 @@ var BlindPay = class {
|
|
|
19222
19247
|
this.available = createAvailableResource(this.api);
|
|
19223
19248
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19224
19249
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19225
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19250
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19251
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19226
19252
|
});
|
|
19227
19253
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19228
19254
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|