@blindpay/node 3.8.0 → 3.9.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-CLGWJEUF.mjs} +7 -7
- package/dist/{chunk-UOAM7SX3.mjs → chunk-HKWPAL4R.mjs} +10 -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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -1
- package/dist/index.mjs +7 -7
- package/dist/resources/api-keys/api-keys.test.js +11 -1
- package/dist/resources/api-keys/api-keys.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/available/available.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +3 -3
- package/dist/resources/bank-accounts/index.d.mts +25 -3
- package/dist/resources/bank-accounts/index.d.ts +25 -3
- package/dist/resources/bank-accounts/index.js +10 -0
- package/dist/resources/bank-accounts/index.mjs +1 -1
- package/dist/resources/fees/fees.test.js +12 -1
- package/dist/resources/fees/fees.test.mjs +4 -3
- 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 +2 -2
- package/dist/resources/instances/index.d.ts +2 -2
- package/dist/resources/instances/instances.test.js +11 -1
- package/dist/resources/instances/instances.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/payins/payins-quotes.test.mjs +3 -3
- package/dist/resources/payins/payins.test.js +11 -1
- package/dist/resources/payins/payins.test.mjs +3 -3
- 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 +6 -2
- package/dist/resources/payouts/index.d.ts +6 -2
- package/dist/resources/payouts/payouts.test.js +11 -1
- package/dist/resources/payouts/payouts.test.mjs +3 -3
- package/dist/resources/quotes/index.d.mts +2 -2
- package/dist/resources/quotes/index.d.ts +2 -2
- package/dist/resources/quotes/quotes.test.js +11 -1
- package/dist/resources/quotes/quotes.test.mjs +3 -3
- 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 +12 -2
- package/dist/resources/receivers/receivers.test.mjs +4 -4
- 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 +11 -1
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/transfers/transfers.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/upload/upload.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/wallets/blockchain.test.mjs +3 -3
- 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 +11 -1
- package/dist/resources/wallets/custodial.test.mjs +3 -3
- package/dist/resources/wallets/offramp.d.mts +2 -2
- package/dist/resources/wallets/offramp.d.ts +2 -2
- package/dist/resources/wallets/offramp.test.js +11 -1
- package/dist/resources/wallets/offramp.test.mjs +3 -3
- package/dist/resources/webhooks/index.d.mts +2 -2
- package/dist/resources/webhooks/index.d.ts +2 -2
- package/dist/resources/webhooks/webhooks.test.js +11 -1
- package/dist/resources/webhooks/webhooks.test.mjs +3 -3
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -68,6 +68,7 @@ var require_fees_test = __commonJS({
|
|
|
68
68
|
arbitrum: mockFeeOptions,
|
|
69
69
|
stellar: mockFeeOptions,
|
|
70
70
|
solana: mockFeeOptions,
|
|
71
|
+
ted: mockFeeOptions,
|
|
71
72
|
created_at: "2025-01-01T00:00:00Z",
|
|
72
73
|
updated_at: "2025-01-01T00:00:00Z"
|
|
73
74
|
};
|
|
@@ -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 FeeOptions = {
|
|
5
5
|
payin_flat: number;
|
|
@@ -26,6 +26,7 @@ type GetFeesResponse = {
|
|
|
26
26
|
arbitrum: FeeOptions;
|
|
27
27
|
stellar: FeeOptions;
|
|
28
28
|
solana: FeeOptions;
|
|
29
|
+
ted: FeeOptions;
|
|
29
30
|
created_at: string;
|
|
30
31
|
updated_at: string;
|
|
31
32
|
};
|
|
@@ -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 FeeOptions = {
|
|
5
5
|
payin_flat: number;
|
|
@@ -26,6 +26,7 @@ type GetFeesResponse = {
|
|
|
26
26
|
arbitrum: FeeOptions;
|
|
27
27
|
stellar: FeeOptions;
|
|
28
28
|
solana: FeeOptions;
|
|
29
|
+
ted: FeeOptions;
|
|
29
30
|
created_at: string;
|
|
30
31
|
updated_at: string;
|
|
31
32
|
};
|
|
@@ -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 InstanceMemberRole = "owner" | "admin" | "finance" | "checker" | "operations" | "developer" | "viewer";
|
|
5
5
|
type GetInstanceMembersResponse = Array<{
|
|
@@ -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 InstanceMemberRole = "owner" | "admin" | "finance" | "checker" | "operations" | "developer" | "viewer";
|
|
5
5
|
type GetInstanceMembersResponse = Array<{
|
|
@@ -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.9.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,16 @@ 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));
|
|
18868
18878
|
}
|
|
18869
18879
|
};
|
|
18870
18880
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -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 ListPartnerFeesResponse = Array<{
|
|
5
5
|
id: 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 ListPartnerFeesResponse = Array<{
|
|
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.9.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,16 @@ 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));
|
|
18868
18878
|
}
|
|
18869
18879
|
};
|
|
18870
18880
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type BlindpayBankDetails = {
|
|
5
5
|
routing_number: string;
|
|
@@ -59,6 +59,7 @@ type Payin = {
|
|
|
59
59
|
sender_amount: number;
|
|
60
60
|
receiver_amount: number;
|
|
61
61
|
token: StablecoinToken;
|
|
62
|
+
partner_fee_id?: string | null;
|
|
62
63
|
partner_fee_amount?: number | null;
|
|
63
64
|
total_fee_amount?: number | null;
|
|
64
65
|
commercial_quotation: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type BlindpayBankDetails = {
|
|
5
5
|
routing_number: string;
|
|
@@ -59,6 +59,7 @@ type Payin = {
|
|
|
59
59
|
sender_amount: number;
|
|
60
60
|
receiver_amount: number;
|
|
61
61
|
token: StablecoinToken;
|
|
62
|
+
partner_fee_id?: string | null;
|
|
62
63
|
partner_fee_amount?: number | null;
|
|
63
64
|
total_fee_amount?: number | null;
|
|
64
65
|
commercial_quotation: number;
|
|
@@ -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.9.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,16 @@ 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));
|
|
18868
18878
|
}
|
|
18869
18879
|
};
|
|
18870
18880
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.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.9.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,16 @@ 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));
|
|
18868
18878
|
}
|
|
18869
18879
|
};
|
|
18870
18880
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type CreatePayinQuoteInput = {
|
|
5
5
|
blockchain_wallet_id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type CreatePayinQuoteInput = {
|
|
5
5
|
blockchain_wallet_id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type SpeiProtocol = "clabe" | "debitcard" | "phonenum";
|
|
5
5
|
type Payout = {
|
|
@@ -26,6 +26,7 @@ type Payout = {
|
|
|
26
26
|
description: string;
|
|
27
27
|
sender_amount: number;
|
|
28
28
|
receiver_amount: number;
|
|
29
|
+
partner_fee_id?: string | null;
|
|
29
30
|
partner_fee_amount: number;
|
|
30
31
|
commercial_quotation: number;
|
|
31
32
|
blindpay_quotation: number;
|
|
@@ -68,6 +69,9 @@ type Payout = {
|
|
|
68
69
|
has_virtual_account: boolean;
|
|
69
70
|
billing_fee_amount?: string | null;
|
|
70
71
|
jpm_track_data?: Record<string, unknown> | string | null;
|
|
72
|
+
ted_bank_code?: string | null;
|
|
73
|
+
ted_branch_code?: string | null;
|
|
74
|
+
ted_cpf_cnpj?: string | null;
|
|
71
75
|
};
|
|
72
76
|
type ListPayoutsInput = PaginationParams & {
|
|
73
77
|
receiver_id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type SpeiProtocol = "clabe" | "debitcard" | "phonenum";
|
|
5
5
|
type Payout = {
|
|
@@ -26,6 +26,7 @@ type Payout = {
|
|
|
26
26
|
description: string;
|
|
27
27
|
sender_amount: number;
|
|
28
28
|
receiver_amount: number;
|
|
29
|
+
partner_fee_id?: string | null;
|
|
29
30
|
partner_fee_amount: number;
|
|
30
31
|
commercial_quotation: number;
|
|
31
32
|
blindpay_quotation: number;
|
|
@@ -68,6 +69,9 @@ type Payout = {
|
|
|
68
69
|
has_virtual_account: boolean;
|
|
69
70
|
billing_fee_amount?: string | null;
|
|
70
71
|
jpm_track_data?: Record<string, unknown> | string | null;
|
|
72
|
+
ted_bank_code?: string | null;
|
|
73
|
+
ted_branch_code?: string | null;
|
|
74
|
+
ted_cpf_cnpj?: string | null;
|
|
71
75
|
};
|
|
72
76
|
type ListPayoutsInput = PaginationParams & {
|
|
73
77
|
receiver_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.9.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,16 @@ 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));
|
|
18868
18878
|
}
|
|
18869
18879
|
};
|
|
18870
18880
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type CreateQuoteInput = {
|
|
5
5
|
bank_account_id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type CreateQuoteInput = {
|
|
5
5
|
bank_account_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.9.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18865,6 +18865,16 @@ 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));
|
|
18868
18878
|
}
|
|
18869
18879
|
};
|
|
18870
18880
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CLGWJEUF.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-
|
|
24
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
25
25
|
import "../../chunk-BGXC2F73.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-HKWPAL4R.mjs";
|
|
31
31
|
import {
|
|
32
32
|
__async,
|
|
33
33
|
__commonJS
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
|
|
3
3
|
|
|
4
4
|
type StrictOmit<T, K extends keyof T> = Omit<T, K>;
|
|
5
5
|
|
|
6
6
|
type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
|
|
7
7
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
8
|
-
type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
|
|
9
8
|
type AmlStatus = "clear" | "hit" | "error";
|
|
10
9
|
type AmlHits = {
|
|
11
10
|
has_sanction_match: boolean;
|
|
@@ -53,7 +52,7 @@ type IndividualWithStandardKYC = {
|
|
|
53
52
|
is_tos_accepted: boolean;
|
|
54
53
|
type: Extract<AccountClass, "individual">;
|
|
55
54
|
kyc_type: Extract<KycType, "standard">;
|
|
56
|
-
kyc_status:
|
|
55
|
+
kyc_status: KycStatus;
|
|
57
56
|
kyc_warnings: Array<{
|
|
58
57
|
code: string | null;
|
|
59
58
|
message: string | null;
|
|
@@ -114,7 +113,7 @@ type IndividualWithEnhancedKYC = {
|
|
|
114
113
|
is_tos_accepted: boolean;
|
|
115
114
|
type: Extract<AccountClass, "individual">;
|
|
116
115
|
kyc_type: Extract<KycType, "enhanced">;
|
|
117
|
-
kyc_status:
|
|
116
|
+
kyc_status: KycStatus;
|
|
118
117
|
kyc_warnings: Array<{
|
|
119
118
|
code: string | null;
|
|
120
119
|
message: string | null;
|
|
@@ -179,7 +178,7 @@ type BusinessWithStandardKYB = {
|
|
|
179
178
|
is_fbo: boolean;
|
|
180
179
|
type: Extract<AccountClass, "business">;
|
|
181
180
|
kyc_type: Extract<KycType, "standard">;
|
|
182
|
-
kyc_status:
|
|
181
|
+
kyc_status: KycStatus;
|
|
183
182
|
kyc_warnings: Array<{
|
|
184
183
|
code: string | null;
|
|
185
184
|
message: string | null;
|
|
@@ -465,4 +464,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
|
|
|
465
464
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
466
465
|
};
|
|
467
466
|
|
|
468
|
-
export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type
|
|
467
|
+
export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
|
|
3
3
|
|
|
4
4
|
type StrictOmit<T, K extends keyof T> = Omit<T, K>;
|
|
5
5
|
|
|
6
6
|
type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
|
|
7
7
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
8
|
-
type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
|
|
9
8
|
type AmlStatus = "clear" | "hit" | "error";
|
|
10
9
|
type AmlHits = {
|
|
11
10
|
has_sanction_match: boolean;
|
|
@@ -53,7 +52,7 @@ type IndividualWithStandardKYC = {
|
|
|
53
52
|
is_tos_accepted: boolean;
|
|
54
53
|
type: Extract<AccountClass, "individual">;
|
|
55
54
|
kyc_type: Extract<KycType, "standard">;
|
|
56
|
-
kyc_status:
|
|
55
|
+
kyc_status: KycStatus;
|
|
57
56
|
kyc_warnings: Array<{
|
|
58
57
|
code: string | null;
|
|
59
58
|
message: string | null;
|
|
@@ -114,7 +113,7 @@ type IndividualWithEnhancedKYC = {
|
|
|
114
113
|
is_tos_accepted: boolean;
|
|
115
114
|
type: Extract<AccountClass, "individual">;
|
|
116
115
|
kyc_type: Extract<KycType, "enhanced">;
|
|
117
|
-
kyc_status:
|
|
116
|
+
kyc_status: KycStatus;
|
|
118
117
|
kyc_warnings: Array<{
|
|
119
118
|
code: string | null;
|
|
120
119
|
message: string | null;
|
|
@@ -179,7 +178,7 @@ type BusinessWithStandardKYB = {
|
|
|
179
178
|
is_fbo: boolean;
|
|
180
179
|
type: Extract<AccountClass, "business">;
|
|
181
180
|
kyc_type: Extract<KycType, "standard">;
|
|
182
|
-
kyc_status:
|
|
181
|
+
kyc_status: KycStatus;
|
|
183
182
|
kyc_warnings: Array<{
|
|
184
183
|
code: string | null;
|
|
185
184
|
message: string | null;
|
|
@@ -465,4 +464,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
|
|
|
465
464
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
466
465
|
};
|
|
467
466
|
|
|
468
|
-
export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type
|
|
467
|
+
export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
|