@blindpay/node 3.8.0 → 3.10.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/{api-client-B9lW57MD.d.ts → api-client-BWImXDBx.d.ts} +1 -1
- package/dist/{api-client-Ct0AsDO5.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
- package/dist/{chunk-57QRKKXM.mjs → chunk-7PWF4J3Z.mjs} +8 -8
- package/dist/{chunk-BGXC2F73.mjs → chunk-KYOUR4KX.mjs} +4 -0
- package/dist/{chunk-UOAM7SX3.mjs → chunk-N4F3FBNB.mjs} +20 -0
- package/dist/{index.d-CxmQ6ci9.d.mts → index.d-DK8eD9f3.d.mts} +5 -3
- package/dist/{index.d-CxmQ6ci9.d.ts → index.d-DK8eD9f3.d.ts} +5 -3
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +25 -1
- package/dist/index.mjs +8 -8
- package/dist/resources/api-keys/api-keys.test.js +25 -1
- package/dist/resources/api-keys/api-keys.test.mjs +4 -4
- package/dist/resources/api-keys/index.d.mts +2 -2
- package/dist/resources/api-keys/index.d.ts +2 -2
- package/dist/resources/available/available.test.js +25 -1
- package/dist/resources/available/available.test.mjs +4 -4
- package/dist/resources/available/index.d.mts +2 -2
- package/dist/resources/available/index.d.ts +2 -2
- package/dist/resources/bank-accounts/bank-accounts.test.js +63 -1
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +42 -4
- package/dist/resources/bank-accounts/index.d.mts +59 -3
- package/dist/resources/bank-accounts/index.d.ts +59 -3
- package/dist/resources/bank-accounts/index.js +20 -0
- package/dist/resources/bank-accounts/index.mjs +1 -1
- package/dist/resources/fees/fees.test.js +26 -1
- package/dist/resources/fees/fees.test.mjs +5 -4
- package/dist/resources/fees/index.d.mts +3 -2
- package/dist/resources/fees/index.d.ts +3 -2
- package/dist/resources/instances/index.d.mts +10 -3
- package/dist/resources/instances/index.d.ts +10 -3
- package/dist/resources/instances/index.js +4 -0
- package/dist/resources/instances/index.mjs +1 -1
- package/dist/resources/instances/instances.test.js +25 -1
- package/dist/resources/instances/instances.test.mjs +4 -4
- package/dist/resources/partner-fees/index.d.mts +2 -2
- package/dist/resources/partner-fees/index.d.ts +2 -2
- package/dist/resources/partner-fees/partner-fees.test.js +25 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +4 -4
- package/dist/resources/payins/index.d.mts +3 -2
- package/dist/resources/payins/index.d.ts +3 -2
- package/dist/resources/payins/payins-quotes.test.js +25 -1
- package/dist/resources/payins/payins-quotes.test.mjs +4 -4
- package/dist/resources/payins/payins.test.js +25 -1
- package/dist/resources/payins/payins.test.mjs +4 -4
- package/dist/resources/payins/quotes.d.mts +2 -2
- package/dist/resources/payins/quotes.d.ts +2 -2
- package/dist/resources/payouts/index.d.mts +8 -3
- package/dist/resources/payouts/index.d.ts +8 -3
- package/dist/resources/payouts/payouts.test.js +25 -1
- package/dist/resources/payouts/payouts.test.mjs +4 -4
- package/dist/resources/quotes/index.d.mts +3 -6
- package/dist/resources/quotes/index.d.ts +3 -6
- package/dist/resources/quotes/quotes.test.js +26 -5
- package/dist/resources/quotes/quotes.test.mjs +5 -8
- package/dist/resources/receivers/index.d.mts +6 -7
- package/dist/resources/receivers/index.d.ts +6 -7
- package/dist/resources/receivers/receivers.test.js +26 -2
- package/dist/resources/receivers/receivers.test.mjs +5 -5
- package/dist/resources/terms-of-service/index.d.mts +2 -2
- package/dist/resources/terms-of-service/index.d.ts +2 -2
- package/dist/resources/terms-of-service/terms-of-service.test.js +25 -1
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +4 -4
- package/dist/resources/transfers/index.d.mts +2 -2
- package/dist/resources/transfers/index.d.ts +2 -2
- package/dist/resources/transfers/transfers.test.js +25 -1
- package/dist/resources/transfers/transfers.test.mjs +4 -4
- package/dist/resources/upload/index.d.mts +1 -1
- package/dist/resources/upload/index.d.ts +1 -1
- package/dist/resources/upload/upload.test.js +25 -1
- package/dist/resources/upload/upload.test.mjs +4 -4
- package/dist/resources/virtual-accounts/index.d.mts +3 -3
- package/dist/resources/virtual-accounts/index.d.ts +3 -3
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +25 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +4 -4
- package/dist/resources/wallets/blockchain.d.mts +2 -2
- package/dist/resources/wallets/blockchain.d.ts +2 -2
- package/dist/resources/wallets/blockchain.test.js +25 -1
- package/dist/resources/wallets/blockchain.test.mjs +4 -4
- package/dist/resources/wallets/custodial.d.mts +2 -2
- package/dist/resources/wallets/custodial.d.ts +2 -2
- package/dist/resources/wallets/custodial.test.js +25 -1
- package/dist/resources/wallets/custodial.test.mjs +4 -4
- package/dist/resources/wallets/offramp.d.mts +3 -3
- package/dist/resources/wallets/offramp.d.ts +3 -3
- package/dist/resources/wallets/offramp.test.js +25 -1
- package/dist/resources/wallets/offramp.test.mjs +4 -4
- package/dist/resources/webhooks/index.d.mts +3 -3
- package/dist/resources/webhooks/index.d.ts +3 -3
- package/dist/resources/webhooks/webhooks.test.js +25 -1
- package/dist/resources/webhooks/webhooks.test.mjs +4 -4
- package/package.json +1 -1
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -19611,7 +19635,7 @@ describe("Receivers", () => {
|
|
|
19611
19635
|
kyc_type: "standard",
|
|
19612
19636
|
is_tos_accepted: true,
|
|
19613
19637
|
is_fbo: false,
|
|
19614
|
-
kyc_status: "
|
|
19638
|
+
kyc_status: "pending_review",
|
|
19615
19639
|
kyc_warnings: null,
|
|
19616
19640
|
email: "business@example.com",
|
|
19617
19641
|
tax_id: "20096178000195",
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -139,7 +139,7 @@ var require_receivers_test = __commonJS({
|
|
|
139
139
|
kyc_type: "standard",
|
|
140
140
|
is_tos_accepted: true,
|
|
141
141
|
is_fbo: false,
|
|
142
|
-
kyc_status: "
|
|
142
|
+
kyc_status: "pending_review",
|
|
143
143
|
kyc_warnings: null,
|
|
144
144
|
email: "business@example.com",
|
|
145
145
|
tax_id: "20096178000195",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type InitiateInput = {
|
|
5
5
|
idempotency_key: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type InitiateInput = {
|
|
5
5
|
idempotency_key: string;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type TransferTrackingStep = {
|
|
5
5
|
step: TrackingStatus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type TransferTrackingStep = {
|
|
5
5
|
step: TrackingStatus;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse, S as StablecoinToken, N as Network } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse, K as KycStatus, S as StablecoinToken, N as Network } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type BankingPartner = "jpmorgan" | "citi" | "hsbc" | "cfsb";
|
|
5
5
|
type SoleProprietorDocType = "master_service_agreement" | "salary_slip" | "bank_statement";
|
|
6
6
|
type VirtualAccount = {
|
|
7
7
|
id: string;
|
|
8
8
|
banking_partner: BankingPartner;
|
|
9
|
-
kyc_status:
|
|
9
|
+
kyc_status: KycStatus;
|
|
10
10
|
us: {
|
|
11
11
|
ach: {
|
|
12
12
|
routing_number: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse, S as StablecoinToken, N as Network } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse, K as KycStatus, S as StablecoinToken, N as Network } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type BankingPartner = "jpmorgan" | "citi" | "hsbc" | "cfsb";
|
|
5
5
|
type SoleProprietorDocType = "master_service_agreement" | "salary_slip" | "bank_statement";
|
|
6
6
|
type VirtualAccount = {
|
|
7
7
|
id: string;
|
|
8
8
|
banking_partner: BankingPartner;
|
|
9
|
-
kyc_status:
|
|
9
|
+
kyc_status: KycStatus;
|
|
10
10
|
us: {
|
|
11
11
|
ach: {
|
|
12
12
|
routing_number: string;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse, N as Network } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse, N as Network } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type GetBlockchainWalletMessage = string;
|
|
5
5
|
type GetBlockchainWalletMessageResponse = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse, N as Network } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse, N as Network } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type GetBlockchainWalletMessage = string;
|
|
5
5
|
type GetBlockchainWalletMessageResponse = {
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type CustodialWallet = {
|
|
5
5
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse, N as Network, S as StablecoinToken } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type CustodialWallet = {
|
|
5
5
|
id: string;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.10.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,26 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18865
18865
|
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18866
18866
|
type: "rtp"
|
|
18867
18867
|
}, data));
|
|
18868
|
+
},
|
|
18869
|
+
createTed(_u) {
|
|
18870
|
+
var _v = _u, {
|
|
18871
|
+
receiver_id
|
|
18872
|
+
} = _v, data = __objRest(_v, [
|
|
18873
|
+
"receiver_id"
|
|
18874
|
+
]);
|
|
18875
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18876
|
+
type: "ted"
|
|
18877
|
+
}, data));
|
|
18878
|
+
},
|
|
18879
|
+
createSepa(_w) {
|
|
18880
|
+
var _x = _w, {
|
|
18881
|
+
receiver_id
|
|
18882
|
+
} = _x, data = __objRest(_x, [
|
|
18883
|
+
"receiver_id"
|
|
18884
|
+
]);
|
|
18885
|
+
return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
|
|
18886
|
+
type: "sepa"
|
|
18887
|
+
}, data));
|
|
18868
18888
|
}
|
|
18869
18889
|
};
|
|
18870
18890
|
}
|
|
@@ -18899,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
|
|
|
18899
18919
|
role
|
|
18900
18920
|
}) {
|
|
18901
18921
|
return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
|
|
18922
|
+
},
|
|
18923
|
+
migrateOwnership(_b) {
|
|
18924
|
+
var data = __objRest(_b, []);
|
|
18925
|
+
return client.post(`/instances/${instanceId}/ownership`, data);
|
|
18902
18926
|
}
|
|
18903
18927
|
};
|
|
18904
18928
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-7PWF4J3Z.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
|
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
23
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
+
import "../../chunk-KYOUR4KX.mjs";
|
|
26
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-N4F3FBNB.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|