@blindpay/node 2.0.1 → 2.0.3
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-4CYRFSJ7.mjs → chunk-2QAVOGLK.mjs} +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +5 -5
- package/dist/resources/api-keys/api-keys.test.js +1 -1
- package/dist/resources/api-keys/api-keys.test.mjs +2 -2
- package/dist/resources/available/available.test.js +1 -1
- package/dist/resources/available/available.test.mjs +2 -2
- package/dist/resources/bank-accounts/bank-accounts.test.js +1 -1
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +2 -2
- package/dist/resources/instances/instances.test.js +1 -1
- package/dist/resources/instances/instances.test.mjs +2 -2
- package/dist/resources/partner-fees/partner-fees.test.js +1 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +2 -2
- package/dist/resources/payins/payins-quotes.test.js +1 -1
- package/dist/resources/payins/payins-quotes.test.mjs +2 -2
- package/dist/resources/payins/payins.test.js +1 -1
- package/dist/resources/payins/payins.test.mjs +2 -2
- package/dist/resources/payouts/payouts.test.js +1 -1
- package/dist/resources/payouts/payouts.test.mjs +2 -2
- package/dist/resources/quotes/quotes.test.js +1 -1
- package/dist/resources/quotes/quotes.test.mjs +2 -2
- package/dist/resources/receivers/index.d.mts +8 -3
- package/dist/resources/receivers/index.d.ts +8 -3
- package/dist/resources/receivers/receivers.test.js +3 -1
- package/dist/resources/receivers/receivers.test.mjs +4 -2
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +1 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +2 -2
- package/dist/resources/wallets/blockchain.test.js +1 -1
- package/dist/resources/wallets/blockchain.test.mjs +2 -2
- package/dist/resources/wallets/offramp.test.js +1 -1
- package/dist/resources/wallets/offramp.test.mjs +2 -2
- package/dist/resources/webhooks/webhooks.test.js +1 -1
- package/dist/resources/webhooks/webhooks.test.mjs +2 -2
- package/package.json +1 -1
|
@@ -6,10 +6,6 @@ import {
|
|
|
6
6
|
createOfframpWalletsResource,
|
|
7
7
|
init_offramp
|
|
8
8
|
} from "./chunk-QGNLMN6Z.mjs";
|
|
9
|
-
import {
|
|
10
|
-
createWebhookEndpointsResource,
|
|
11
|
-
init_webhooks
|
|
12
|
-
} from "./chunk-UC57SCKQ.mjs";
|
|
13
9
|
import {
|
|
14
10
|
createQuotesResource,
|
|
15
11
|
init_quotes as init_quotes2
|
|
@@ -22,6 +18,10 @@ import {
|
|
|
22
18
|
createVirtualAccountsResource,
|
|
23
19
|
init_virtual_accounts
|
|
24
20
|
} from "./chunk-5XJJKYXE.mjs";
|
|
21
|
+
import {
|
|
22
|
+
createWebhookEndpointsResource,
|
|
23
|
+
init_webhooks
|
|
24
|
+
} from "./chunk-UC57SCKQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
createPartnerFeesResource,
|
|
27
27
|
init_partner_fees
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
var version;
|
|
66
66
|
var init_package = __esm({
|
|
67
67
|
"package.json"() {
|
|
68
|
-
version = "2.0.
|
|
68
|
+
version = "2.0.3";
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlindPay,
|
|
3
3
|
init_client
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2QAVOGLK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createBlockchainWalletsResource,
|
|
7
7
|
init_blockchain
|
|
@@ -10,10 +10,6 @@ import {
|
|
|
10
10
|
createOfframpWalletsResource,
|
|
11
11
|
init_offramp
|
|
12
12
|
} from "./chunk-QGNLMN6Z.mjs";
|
|
13
|
-
import {
|
|
14
|
-
createWebhookEndpointsResource,
|
|
15
|
-
init_webhooks
|
|
16
|
-
} from "./chunk-UC57SCKQ.mjs";
|
|
17
13
|
import {
|
|
18
14
|
createQuotesResource,
|
|
19
15
|
init_quotes as init_quotes2
|
|
@@ -26,6 +22,10 @@ import {
|
|
|
26
22
|
createVirtualAccountsResource,
|
|
27
23
|
init_virtual_accounts
|
|
28
24
|
} from "./chunk-5XJJKYXE.mjs";
|
|
25
|
+
import {
|
|
26
|
+
createWebhookEndpointsResource,
|
|
27
|
+
init_webhooks
|
|
28
|
+
} from "./chunk-UC57SCKQ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
createPartnerFeesResource,
|
|
31
31
|
init_partner_fees
|
|
@@ -18709,7 +18709,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18709
18709
|
var import_node_crypto = require("crypto");
|
|
18710
18710
|
|
|
18711
18711
|
// package.json
|
|
18712
|
-
var version = "2.0.
|
|
18712
|
+
var version = "2.0.3";
|
|
18713
18713
|
|
|
18714
18714
|
// src/internal/blindpay-error.ts
|
|
18715
18715
|
var BlindPayError = class extends Error {
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
BlindPay,
|
|
9
9
|
init_client
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
11
11
|
import "../../chunk-IZYPRCCV.mjs";
|
|
12
12
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
13
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
14
13
|
import "../../chunk-TBTA7A2P.mjs";
|
|
15
14
|
import "../../chunk-E6ALTWR5.mjs";
|
|
16
15
|
import "../../chunk-5XJJKYXE.mjs";
|
|
16
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
17
17
|
import "../../chunk-RC5NN5UF.mjs";
|
|
18
18
|
import "../../chunk-W7NJUABI.mjs";
|
|
19
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { I as InternalApiClient, B as BlindpayApiResponse, A as AccountClass, C as Country } from '../../api-client-Cw2mNJeR.mjs';
|
|
2
2
|
|
|
3
3
|
type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
|
|
4
|
-
type PurposeOfTransactions = "business_transactions" | "charitable_donations" | "investment_purposes" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses";
|
|
5
|
-
type SourceOfFundsDocType = "business_income" | "gambling_proceeds" | "gifts" | "government_benefits" | "inheritance" | "investment_loans" | "pension_retirement" | "salary" | "sale_of_assets_real_estate" | "savings" | "esops" | "investment_proceeds";
|
|
4
|
+
type PurposeOfTransactions = "business_transactions" | "charitable_donations" | "investment_purposes" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_good_and_services" | "receive_payment_for_freelancing" | "receive_salary" | "other";
|
|
5
|
+
type SourceOfFundsDocType = "business_income" | "gambling_proceeds" | "gifts" | "government_benefits" | "inheritance" | "investment_loans" | "pension_retirement" | "salary" | "sale_of_assets_real_estate" | "savings" | "esops" | "investment_proceeds" | "someone_else_funds";
|
|
6
6
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
7
7
|
type KycType = "light" | "standard" | "enhanced";
|
|
8
8
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
@@ -138,7 +138,7 @@ type BusinessWithStandardKYB = {
|
|
|
138
138
|
postal_code: string;
|
|
139
139
|
ip_address: string | null;
|
|
140
140
|
image_url: string | null;
|
|
141
|
-
phone_number: string;
|
|
141
|
+
phone_number: string | null;
|
|
142
142
|
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
143
143
|
proof_of_address_doc_file: string;
|
|
144
144
|
legal_name: string;
|
|
@@ -161,6 +161,7 @@ type BusinessWithStandardKYB = {
|
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
163
|
type CreateIndividualWithStandardKYCInput = {
|
|
164
|
+
external_id?: string;
|
|
164
165
|
address_line_1: string;
|
|
165
166
|
address_line_2?: string;
|
|
166
167
|
city: string;
|
|
@@ -168,6 +169,7 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
168
169
|
date_of_birth: string;
|
|
169
170
|
email: string;
|
|
170
171
|
first_name: string;
|
|
172
|
+
phone_number: string | null;
|
|
171
173
|
id_doc_country: Country;
|
|
172
174
|
id_doc_front_file: string;
|
|
173
175
|
id_doc_type: IdentificationDocument;
|
|
@@ -183,6 +185,7 @@ type CreateIndividualWithStandardKYCResponse = {
|
|
|
183
185
|
id: string;
|
|
184
186
|
};
|
|
185
187
|
type CreateIndividualWithEnhancedKYCInput = {
|
|
188
|
+
external_id?: string;
|
|
186
189
|
address_line_1: string;
|
|
187
190
|
address_line_2?: string;
|
|
188
191
|
city: string;
|
|
@@ -196,6 +199,7 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
196
199
|
individual_holding_doc_front_file: string;
|
|
197
200
|
last_name: string;
|
|
198
201
|
postal_code: string;
|
|
202
|
+
phone_number: string | null;
|
|
199
203
|
proof_of_address_doc_file: string;
|
|
200
204
|
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
201
205
|
purpose_of_transactions: PurposeOfTransactions;
|
|
@@ -209,6 +213,7 @@ type CreateIndividualWithEnhancedKYCResponse = {
|
|
|
209
213
|
id: string;
|
|
210
214
|
};
|
|
211
215
|
type CreateBusinessWithStandardKYBInput = {
|
|
216
|
+
external_id?: string;
|
|
212
217
|
address_line_1: string;
|
|
213
218
|
address_line_2?: string;
|
|
214
219
|
alternate_name: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { I as InternalApiClient, B as BlindpayApiResponse, A as AccountClass, C as Country } from '../../api-client-Cw2mNJeR.js';
|
|
2
2
|
|
|
3
3
|
type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
|
|
4
|
-
type PurposeOfTransactions = "business_transactions" | "charitable_donations" | "investment_purposes" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses";
|
|
5
|
-
type SourceOfFundsDocType = "business_income" | "gambling_proceeds" | "gifts" | "government_benefits" | "inheritance" | "investment_loans" | "pension_retirement" | "salary" | "sale_of_assets_real_estate" | "savings" | "esops" | "investment_proceeds";
|
|
4
|
+
type PurposeOfTransactions = "business_transactions" | "charitable_donations" | "investment_purposes" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_good_and_services" | "receive_payment_for_freelancing" | "receive_salary" | "other";
|
|
5
|
+
type SourceOfFundsDocType = "business_income" | "gambling_proceeds" | "gifts" | "government_benefits" | "inheritance" | "investment_loans" | "pension_retirement" | "salary" | "sale_of_assets_real_estate" | "savings" | "esops" | "investment_proceeds" | "someone_else_funds";
|
|
6
6
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
7
7
|
type KycType = "light" | "standard" | "enhanced";
|
|
8
8
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
@@ -138,7 +138,7 @@ type BusinessWithStandardKYB = {
|
|
|
138
138
|
postal_code: string;
|
|
139
139
|
ip_address: string | null;
|
|
140
140
|
image_url: string | null;
|
|
141
|
-
phone_number: string;
|
|
141
|
+
phone_number: string | null;
|
|
142
142
|
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
143
143
|
proof_of_address_doc_file: string;
|
|
144
144
|
legal_name: string;
|
|
@@ -161,6 +161,7 @@ type BusinessWithStandardKYB = {
|
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
163
|
type CreateIndividualWithStandardKYCInput = {
|
|
164
|
+
external_id?: string;
|
|
164
165
|
address_line_1: string;
|
|
165
166
|
address_line_2?: string;
|
|
166
167
|
city: string;
|
|
@@ -168,6 +169,7 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
168
169
|
date_of_birth: string;
|
|
169
170
|
email: string;
|
|
170
171
|
first_name: string;
|
|
172
|
+
phone_number: string | null;
|
|
171
173
|
id_doc_country: Country;
|
|
172
174
|
id_doc_front_file: string;
|
|
173
175
|
id_doc_type: IdentificationDocument;
|
|
@@ -183,6 +185,7 @@ type CreateIndividualWithStandardKYCResponse = {
|
|
|
183
185
|
id: string;
|
|
184
186
|
};
|
|
185
187
|
type CreateIndividualWithEnhancedKYCInput = {
|
|
188
|
+
external_id?: string;
|
|
186
189
|
address_line_1: string;
|
|
187
190
|
address_line_2?: string;
|
|
188
191
|
city: string;
|
|
@@ -196,6 +199,7 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
196
199
|
individual_holding_doc_front_file: string;
|
|
197
200
|
last_name: string;
|
|
198
201
|
postal_code: string;
|
|
202
|
+
phone_number: string | null;
|
|
199
203
|
proof_of_address_doc_file: string;
|
|
200
204
|
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
201
205
|
purpose_of_transactions: PurposeOfTransactions;
|
|
@@ -209,6 +213,7 @@ type CreateIndividualWithEnhancedKYCResponse = {
|
|
|
209
213
|
id: string;
|
|
210
214
|
};
|
|
211
215
|
type CreateBusinessWithStandardKYBInput = {
|
|
216
|
+
external_id?: string;
|
|
212
217
|
address_line_1: string;
|
|
213
218
|
address_line_2?: string;
|
|
214
219
|
alternate_name: string;
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -19505,6 +19505,7 @@ describe("Receivers", () => {
|
|
|
19505
19505
|
state_province_region: "SP",
|
|
19506
19506
|
country: "BR",
|
|
19507
19507
|
postal_code: "01310-100",
|
|
19508
|
+
phone_number: "+5511987654321",
|
|
19508
19509
|
first_name: "Bernardo",
|
|
19509
19510
|
last_name: "Simonassi",
|
|
19510
19511
|
date_of_birth: "1998-02-02T00:00:00.000Z",
|
|
@@ -19536,6 +19537,7 @@ describe("Receivers", () => {
|
|
|
19536
19537
|
postal_code: "01310-100",
|
|
19537
19538
|
first_name: "Bernardo",
|
|
19538
19539
|
last_name: "Simonassi",
|
|
19540
|
+
phone_number: "+5511987654321",
|
|
19539
19541
|
date_of_birth: "1998-02-02T00:00:00.000Z",
|
|
19540
19542
|
id_doc_country: "BR",
|
|
19541
19543
|
id_doc_type: "PASSPORT",
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -212,6 +212,7 @@ var require_receivers_test = __commonJS({
|
|
|
212
212
|
state_province_region: "SP",
|
|
213
213
|
country: "BR",
|
|
214
214
|
postal_code: "01310-100",
|
|
215
|
+
phone_number: "+5511987654321",
|
|
215
216
|
first_name: "Bernardo",
|
|
216
217
|
last_name: "Simonassi",
|
|
217
218
|
date_of_birth: "1998-02-02T00:00:00.000Z",
|
|
@@ -243,6 +244,7 @@ var require_receivers_test = __commonJS({
|
|
|
243
244
|
postal_code: "01310-100",
|
|
244
245
|
first_name: "Bernardo",
|
|
245
246
|
last_name: "Simonassi",
|
|
247
|
+
phone_number: "+5511987654321",
|
|
246
248
|
date_of_birth: "1998-02-02T00:00:00.000Z",
|
|
247
249
|
id_doc_country: "BR",
|
|
248
250
|
id_doc_type: "PASSPORT",
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|
|
@@ -18714,7 +18714,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18714
18714
|
var import_node_crypto = require("crypto");
|
|
18715
18715
|
|
|
18716
18716
|
// package.json
|
|
18717
|
-
var version = "2.0.
|
|
18717
|
+
var version = "2.0.3";
|
|
18718
18718
|
|
|
18719
18719
|
// src/internal/blindpay-error.ts
|
|
18720
18720
|
var BlindPayError = class extends Error {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-2QAVOGLK.mjs";
|
|
12
12
|
import "../../chunk-IZYPRCCV.mjs";
|
|
13
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
15
14
|
import "../../chunk-TBTA7A2P.mjs";
|
|
16
15
|
import "../../chunk-E6ALTWR5.mjs";
|
|
17
16
|
import "../../chunk-5XJJKYXE.mjs";
|
|
17
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
18
18
|
import "../../chunk-RC5NN5UF.mjs";
|
|
19
19
|
import "../../chunk-W7NJUABI.mjs";
|
|
20
20
|
import "../../chunk-E7M4CJKR.mjs";
|