@blindpay/node 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/{chunk-4CYRFSJ7.mjs → chunk-AHAC4IDO.mjs} +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.mjs +1 -1
  4. package/dist/resources/api-keys/api-keys.test.js +1 -1
  5. package/dist/resources/api-keys/api-keys.test.mjs +1 -1
  6. package/dist/resources/available/available.test.js +1 -1
  7. package/dist/resources/available/available.test.mjs +1 -1
  8. package/dist/resources/bank-accounts/bank-accounts.test.js +1 -1
  9. package/dist/resources/bank-accounts/bank-accounts.test.mjs +1 -1
  10. package/dist/resources/instances/instances.test.js +1 -1
  11. package/dist/resources/instances/instances.test.mjs +1 -1
  12. package/dist/resources/partner-fees/partner-fees.test.js +1 -1
  13. package/dist/resources/partner-fees/partner-fees.test.mjs +1 -1
  14. package/dist/resources/payins/payins-quotes.test.js +1 -1
  15. package/dist/resources/payins/payins-quotes.test.mjs +1 -1
  16. package/dist/resources/payins/payins.test.js +1 -1
  17. package/dist/resources/payins/payins.test.mjs +1 -1
  18. package/dist/resources/payouts/payouts.test.js +1 -1
  19. package/dist/resources/payouts/payouts.test.mjs +1 -1
  20. package/dist/resources/quotes/quotes.test.js +1 -1
  21. package/dist/resources/quotes/quotes.test.mjs +1 -1
  22. package/dist/resources/receivers/index.d.mts +5 -2
  23. package/dist/resources/receivers/index.d.ts +5 -2
  24. package/dist/resources/receivers/receivers.test.js +1 -1
  25. package/dist/resources/receivers/receivers.test.mjs +1 -1
  26. package/dist/resources/virtual-accounts/virtual-accounts.test.js +1 -1
  27. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +1 -1
  28. package/dist/resources/wallets/blockchain.test.js +1 -1
  29. package/dist/resources/wallets/blockchain.test.mjs +1 -1
  30. package/dist/resources/wallets/offramp.test.js +1 -1
  31. package/dist/resources/wallets/offramp.test.mjs +1 -1
  32. package/dist/resources/webhooks/webhooks.test.js +1 -1
  33. package/dist/resources/webhooks/webhooks.test.mjs +1 -1
  34. package/package.json +1 -1
@@ -65,7 +65,7 @@ import {
65
65
  var version;
66
66
  var init_package = __esm({
67
67
  "package.json"() {
68
- version = "2.0.1";
68
+ version = "2.0.2";
69
69
  }
70
70
  });
71
71
 
package/dist/index.js CHANGED
@@ -91,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
91
91
  var import_node_crypto = require("crypto");
92
92
 
93
93
  // package.json
94
- var version = "2.0.1";
94
+ var version = "2.0.2";
95
95
 
96
96
  // src/internal/blindpay-error.ts
97
97
  var BlindPayError = class extends Error {
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BlindPay,
3
3
  init_client
4
- } from "./chunk-4CYRFSJ7.mjs";
4
+ } from "./chunk-AHAC4IDO.mjs";
5
5
  import {
6
6
  createBlockchainWalletsResource,
7
7
  init_blockchain
@@ -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.1";
18712
+ var version = "2.0.2";
18713
18713
 
18714
18714
  // src/internal/blindpay-error.ts
18715
18715
  var BlindPayError = class extends Error {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  BlindPay,
9
9
  init_client
10
- } from "../../chunk-4CYRFSJ7.mjs";
10
+ } from "../../chunk-AHAC4IDO.mjs";
11
11
  import "../../chunk-IZYPRCCV.mjs";
12
12
  import "../../chunk-QGNLMN6Z.mjs";
13
13
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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";
@@ -161,6 +161,7 @@ type BusinessWithStandardKYB = {
161
161
  };
162
162
  };
163
163
  type CreateIndividualWithStandardKYCInput = {
164
+ externalId?: string;
164
165
  address_line_1: string;
165
166
  address_line_2?: string;
166
167
  city: string;
@@ -183,6 +184,7 @@ type CreateIndividualWithStandardKYCResponse = {
183
184
  id: string;
184
185
  };
185
186
  type CreateIndividualWithEnhancedKYCInput = {
187
+ externalId?: string;
186
188
  address_line_1: string;
187
189
  address_line_2?: string;
188
190
  city: string;
@@ -209,6 +211,7 @@ type CreateIndividualWithEnhancedKYCResponse = {
209
211
  id: string;
210
212
  };
211
213
  type CreateBusinessWithStandardKYBInput = {
214
+ externalId?: string;
212
215
  address_line_1: string;
213
216
  address_line_2?: string;
214
217
  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";
@@ -161,6 +161,7 @@ type BusinessWithStandardKYB = {
161
161
  };
162
162
  };
163
163
  type CreateIndividualWithStandardKYCInput = {
164
+ externalId?: string;
164
165
  address_line_1: string;
165
166
  address_line_2?: string;
166
167
  city: string;
@@ -183,6 +184,7 @@ type CreateIndividualWithStandardKYCResponse = {
183
184
  id: string;
184
185
  };
185
186
  type CreateIndividualWithEnhancedKYCInput = {
187
+ externalId?: string;
186
188
  address_line_1: string;
187
189
  address_line_2?: string;
188
190
  city: string;
@@ -209,6 +211,7 @@ type CreateIndividualWithEnhancedKYCResponse = {
209
211
  id: string;
210
212
  };
211
213
  type CreateBusinessWithStandardKYBInput = {
214
+ externalId?: string;
212
215
  address_line_1: string;
213
216
  address_line_2?: string;
214
217
  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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.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.1";
18717
+ var version = "2.0.2";
18718
18718
 
18719
18719
  // src/internal/blindpay-error.ts
18720
18720
  var BlindPayError = class extends Error {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-4CYRFSJ7.mjs";
11
+ } from "../../chunk-AHAC4IDO.mjs";
12
12
  import "../../chunk-IZYPRCCV.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blindpay/node",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Official Node.js SDK for Blindpay API - Global payments infrastructure",
5
5
  "keywords": [
6
6
  "blindpay",