@blindpay/node 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JOHWDSDM.mjs → chunk-3I7S2HKM.mjs} +20 -20
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +20 -20
- package/dist/resources/api-keys/api-keys.test.js +1 -1
- package/dist/resources/api-keys/api-keys.test.mjs +6 -6
- package/dist/resources/available/available.test.js +1 -1
- package/dist/resources/available/available.test.mjs +6 -6
- package/dist/resources/bank-accounts/bank-accounts.test.js +1 -1
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +6 -6
- package/dist/resources/bank-accounts/index.d.mts +7 -0
- package/dist/resources/bank-accounts/index.d.ts +7 -0
- package/dist/resources/fees/fees.test.js +1 -1
- package/dist/resources/fees/fees.test.mjs +6 -6
- package/dist/resources/instances/instances.test.js +1 -1
- package/dist/resources/instances/instances.test.mjs +6 -6
- package/dist/resources/partner-fees/partner-fees.test.js +1 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +6 -6
- package/dist/resources/payins/payins-quotes.test.js +1 -1
- package/dist/resources/payins/payins-quotes.test.mjs +6 -6
- package/dist/resources/payins/payins.test.js +1 -1
- package/dist/resources/payins/payins.test.mjs +6 -6
- package/dist/resources/payouts/payouts.test.js +1 -1
- package/dist/resources/payouts/payouts.test.mjs +6 -6
- package/dist/resources/quotes/quotes.test.js +1 -1
- package/dist/resources/quotes/quotes.test.mjs +6 -6
- package/dist/resources/receivers/index.d.mts +75 -2
- package/dist/resources/receivers/index.d.ts +75 -2
- package/dist/resources/receivers/receivers.test.js +93 -1
- package/dist/resources/receivers/receivers.test.mjs +98 -6
- package/dist/resources/terms-of-service/terms-of-service.test.js +1 -1
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +6 -6
- package/dist/resources/transfers/transfers.test.js +1 -1
- package/dist/resources/transfers/transfers.test.mjs +6 -6
- package/dist/resources/upload/upload.test.js +1 -1
- package/dist/resources/upload/upload.test.mjs +6 -6
- package/dist/resources/virtual-accounts/index.d.mts +11 -2
- package/dist/resources/virtual-accounts/index.d.ts +11 -2
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +61 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +66 -6
- package/dist/resources/wallets/blockchain.test.js +1 -1
- package/dist/resources/wallets/blockchain.test.mjs +6 -6
- package/dist/resources/wallets/custodial.test.js +1 -1
- package/dist/resources/wallets/custodial.test.mjs +6 -6
- package/dist/resources/wallets/offramp.d.mts +9 -6
- package/dist/resources/wallets/offramp.d.ts +9 -6
- package/dist/resources/wallets/offramp.test.js +21 -1
- package/dist/resources/wallets/offramp.test.mjs +26 -6
- package/dist/resources/webhooks/webhooks.test.js +1 -1
- package/dist/resources/webhooks/webhooks.test.mjs +6 -6
- package/package.json +1 -1
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-FG25JHDX.mjs";
|
|
11
|
+
} from "../../chunk-3I7S2HKM.mjs";
|
|
13
12
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
+
import "../../chunk-LEPGLH7Q.mjs";
|
|
15
15
|
import "../../chunk-UC57SCKQ.mjs";
|
|
16
|
-
import "../../chunk-ISHZTBAN.mjs";
|
|
17
16
|
import "../../chunk-UDRMLZWT.mjs";
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-TBTA7A2P.mjs";
|
|
18
|
+
import "../../chunk-FG25JHDX.mjs";
|
|
19
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
20
20
|
import "../../chunk-F5Z45GCA.mjs";
|
|
21
|
-
import "../../chunk-TBTA7A2P.mjs";
|
|
22
21
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
22
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
23
|
+
import "../../chunk-ISHZTBAN.mjs";
|
|
24
24
|
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
-
import "../../chunk-B5T7AQLH.mjs";
|
|
26
25
|
import "../../chunk-RC5NN5UF.mjs";
|
|
26
|
+
import "../../chunk-B5T7AQLH.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
@@ -7,11 +7,27 @@ type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEME
|
|
|
7
7
|
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";
|
|
8
8
|
type AccountPurpose = "charitable_donations" | "ecommerce_retail_payments" | "investment_purposes" | "business_expenses" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_goods_and_services" | "receive_payments_for_goods_and_services" | "tax_optimization" | "third_party_money_transmission" | "other" | "payroll" | "treasury_management";
|
|
9
9
|
type BusinessType = "corporation" | "llc" | "partnership" | "sole_proprietorship" | "trust" | "non_profit";
|
|
10
|
-
type BusinessIndustry = "
|
|
10
|
+
type BusinessIndustry = "111998" | "112120" | "113310" | "115114" | "211120" | "212114" | "213112" | "221310" | "236115" | "236220" | "237310" | "238210" | "311421" | "312130" | "313110" | "315990" | "322220" | "325412" | "334111" | "334118" | "334210" | "336110" | "336111" | "336390" | "337121" | "339112" | "339910" | "339920" | "339930" | "423110" | "423430" | "423510" | "423690" | "423830" | "423840" | "423940" | "424210" | "424410" | "424480" | "424690" | "424990" | "444110" | "445110" | "445320" | "449210" | "454110" | "455110" | "455219" | "456110" | "457110" | "458110" | "458210" | "458310" | "459120" | "459210" | "481111" | "483111" | "484121" | "485210" | "488510" | "493110" | "511210" | "512250" | "513130" | "516120" | "517110" | "517111" | "517112" | "517410" | "518210" | "519130" | "522110" | "522210" | "522320" | "523110" | "523150" | "523920" | "523940" | "523999" | "524113" | "531110" | "531120" | "531130" | "531190" | "531210" | "531311" | "531312" | "531320" | "531390" | "532111" | "541110" | "541211" | "541214" | "541330" | "541430" | "541511" | "541512" | "541519" | "541611" | "541618" | "541715" | "541810" | "541922" | "541930" | "541940" | "541990" | "551112" | "561311" | "561422" | "561499" | "561510" | "561612" | "561730" | "561740" | "562111" | "562920" | "611110" | "611310" | "611410" | "611710" | "621111" | "621210" | "621399" | "621511" | "621910" | "622110" | "623110" | "623220" | "624410" | "711110" | "711211" | "711410" | "711510" | "712110" | "713110" | "713210" | "721110" | "722511" | "722513" | "811111" | "811210" | "812111" | "812112" | "812199" | "813110" | "813211" | "813219";
|
|
11
11
|
type EstimatedAnnualRevenue = "0_99999" | "100000_999999" | "1000000_9999999" | "10000000_49999999" | "50000000_249999999" | "2500000000_plus";
|
|
12
12
|
type SourceOfWealth = "business_dividends_or_profits" | "investments" | "asset_sales" | "client_investor_contributions" | "gambling" | "charitable_contributions" | "inheritance" | "affiliate_or_royalty_income";
|
|
13
13
|
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";
|
|
14
14
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
15
|
+
type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
|
|
16
|
+
type AmlStatus = "clear" | "hit" | "error";
|
|
17
|
+
type AmlHits = {
|
|
18
|
+
has_sanction_match: boolean;
|
|
19
|
+
has_pep_match: boolean;
|
|
20
|
+
has_watchlist_match: boolean;
|
|
21
|
+
has_crimelist_match: boolean;
|
|
22
|
+
has_adversemedia_match: boolean;
|
|
23
|
+
};
|
|
24
|
+
type FraudWarning = {
|
|
25
|
+
id: string | null;
|
|
26
|
+
name: string | null;
|
|
27
|
+
operation: string | null;
|
|
28
|
+
score: number | null;
|
|
29
|
+
};
|
|
30
|
+
type OwnerTaxType = "SSN" | "ITIN";
|
|
15
31
|
type KycType = "light" | "standard" | "enhanced";
|
|
16
32
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
17
33
|
type Owner = {
|
|
@@ -35,6 +51,9 @@ type Owner = {
|
|
|
35
51
|
proof_of_address_doc_file: string | null;
|
|
36
52
|
ownership_percentage: number | null;
|
|
37
53
|
title: string | null;
|
|
54
|
+
tax_type?: OwnerTaxType | null;
|
|
55
|
+
instance_id?: string;
|
|
56
|
+
receiver_id?: string;
|
|
38
57
|
};
|
|
39
58
|
type IndividualWithStandardKYC = {
|
|
40
59
|
id: string;
|
|
@@ -78,6 +97,22 @@ type IndividualWithStandardKYC = {
|
|
|
78
97
|
daily: number;
|
|
79
98
|
monthly: number;
|
|
80
99
|
};
|
|
100
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
101
|
+
aml_status?: AmlStatus | null;
|
|
102
|
+
aml_hits?: AmlHits | null;
|
|
103
|
+
account_purpose?: AccountPurpose | null;
|
|
104
|
+
account_purpose_other?: string | null;
|
|
105
|
+
occupation?: string | null;
|
|
106
|
+
external_id?: string | null;
|
|
107
|
+
is_fbo?: boolean | null;
|
|
108
|
+
selfie_file?: string | null;
|
|
109
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
110
|
+
source_of_funds_doc_file?: string | null;
|
|
111
|
+
business_description?: string | null;
|
|
112
|
+
business_industry?: BusinessIndustry | null;
|
|
113
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
114
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
115
|
+
publicly_traded?: boolean | null;
|
|
81
116
|
};
|
|
82
117
|
type IndividualWithEnhancedKYC = {
|
|
83
118
|
id: string;
|
|
@@ -126,6 +161,20 @@ type IndividualWithEnhancedKYC = {
|
|
|
126
161
|
daily: number;
|
|
127
162
|
monthly: number;
|
|
128
163
|
};
|
|
164
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
165
|
+
aml_status?: AmlStatus | null;
|
|
166
|
+
aml_hits?: AmlHits | null;
|
|
167
|
+
account_purpose?: AccountPurpose | null;
|
|
168
|
+
account_purpose_other?: string | null;
|
|
169
|
+
occupation?: string | null;
|
|
170
|
+
external_id?: string | null;
|
|
171
|
+
is_fbo?: boolean | null;
|
|
172
|
+
selfie_file?: string | null;
|
|
173
|
+
business_description?: string | null;
|
|
174
|
+
business_industry?: BusinessIndustry | null;
|
|
175
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
176
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
177
|
+
publicly_traded?: boolean | null;
|
|
129
178
|
};
|
|
130
179
|
type BusinessWithStandardKYB = {
|
|
131
180
|
id: string;
|
|
@@ -171,6 +220,19 @@ type BusinessWithStandardKYB = {
|
|
|
171
220
|
daily: number;
|
|
172
221
|
monthly: number;
|
|
173
222
|
};
|
|
223
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
224
|
+
aml_status?: AmlStatus | null;
|
|
225
|
+
aml_hits?: AmlHits | null;
|
|
226
|
+
account_purpose?: AccountPurpose | null;
|
|
227
|
+
account_purpose_other?: string | null;
|
|
228
|
+
occupation?: string | null;
|
|
229
|
+
selfie_file?: string | null;
|
|
230
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
231
|
+
source_of_funds_doc_file?: string | null;
|
|
232
|
+
business_description?: string | null;
|
|
233
|
+
business_industry?: BusinessIndustry | null;
|
|
234
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
235
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
174
236
|
};
|
|
175
237
|
type CreateIndividualWithStandardKYCInput = {
|
|
176
238
|
country: Country;
|
|
@@ -200,6 +262,8 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
200
262
|
state_province_region?: string | null;
|
|
201
263
|
tax_id?: string | null;
|
|
202
264
|
tos_id?: string | null;
|
|
265
|
+
account_purpose_other?: string | null;
|
|
266
|
+
occupation?: string | null;
|
|
203
267
|
};
|
|
204
268
|
type CreateIndividualWithStandardKYCResponse = {
|
|
205
269
|
id: string;
|
|
@@ -234,6 +298,8 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
234
298
|
state_province_region?: string | null;
|
|
235
299
|
tax_id?: string | null;
|
|
236
300
|
tos_id?: string | null;
|
|
301
|
+
account_purpose_other?: string | null;
|
|
302
|
+
occupation?: string | null;
|
|
237
303
|
};
|
|
238
304
|
type CreateIndividualWithEnhancedKYCResponse = {
|
|
239
305
|
id: string;
|
|
@@ -270,6 +336,8 @@ type CreateBusinessWithStandardKYBInput = {
|
|
|
270
336
|
tax_id?: string | null;
|
|
271
337
|
tos_id?: string | null;
|
|
272
338
|
website?: string | null;
|
|
339
|
+
account_purpose_other?: string | null;
|
|
340
|
+
occupation?: string | null;
|
|
273
341
|
};
|
|
274
342
|
type CreateBusinessWithStandardKYBResponse = {
|
|
275
343
|
id: string;
|
|
@@ -331,6 +399,8 @@ type UpdateReceiverInput = {
|
|
|
331
399
|
tax_id?: string;
|
|
332
400
|
tos_id?: string;
|
|
333
401
|
website?: string;
|
|
402
|
+
account_purpose_other?: string | null;
|
|
403
|
+
occupation?: string | null;
|
|
334
404
|
};
|
|
335
405
|
type DeleteReceiverInput = string;
|
|
336
406
|
type GetReceiverLimitsInput = string;
|
|
@@ -360,6 +430,9 @@ type GetLimitIncreaseRequestsResponse = Array<{
|
|
|
360
430
|
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
361
431
|
created_at: string;
|
|
362
432
|
updated_at: string;
|
|
433
|
+
approved_per_transaction?: number | null;
|
|
434
|
+
approved_daily?: number | null;
|
|
435
|
+
approved_monthly?: number | null;
|
|
363
436
|
}>;
|
|
364
437
|
type RequestLimitIncreaseInput = {
|
|
365
438
|
receiver_id: string;
|
|
@@ -385,4 +458,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
|
|
|
385
458
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
386
459
|
};
|
|
387
460
|
|
|
388
|
-
export { type AccountPurpose, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, 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 ProofOfAddressDocType, type PurposeOfTransactions, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
|
|
461
|
+
export { type AccountPurpose, type AmlHits, type AmlStatus, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, 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 PurposeOfTransactions, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
|
|
@@ -7,11 +7,27 @@ type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEME
|
|
|
7
7
|
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";
|
|
8
8
|
type AccountPurpose = "charitable_donations" | "ecommerce_retail_payments" | "investment_purposes" | "business_expenses" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_goods_and_services" | "receive_payments_for_goods_and_services" | "tax_optimization" | "third_party_money_transmission" | "other" | "payroll" | "treasury_management";
|
|
9
9
|
type BusinessType = "corporation" | "llc" | "partnership" | "sole_proprietorship" | "trust" | "non_profit";
|
|
10
|
-
type BusinessIndustry = "
|
|
10
|
+
type BusinessIndustry = "111998" | "112120" | "113310" | "115114" | "211120" | "212114" | "213112" | "221310" | "236115" | "236220" | "237310" | "238210" | "311421" | "312130" | "313110" | "315990" | "322220" | "325412" | "334111" | "334118" | "334210" | "336110" | "336111" | "336390" | "337121" | "339112" | "339910" | "339920" | "339930" | "423110" | "423430" | "423510" | "423690" | "423830" | "423840" | "423940" | "424210" | "424410" | "424480" | "424690" | "424990" | "444110" | "445110" | "445320" | "449210" | "454110" | "455110" | "455219" | "456110" | "457110" | "458110" | "458210" | "458310" | "459120" | "459210" | "481111" | "483111" | "484121" | "485210" | "488510" | "493110" | "511210" | "512250" | "513130" | "516120" | "517110" | "517111" | "517112" | "517410" | "518210" | "519130" | "522110" | "522210" | "522320" | "523110" | "523150" | "523920" | "523940" | "523999" | "524113" | "531110" | "531120" | "531130" | "531190" | "531210" | "531311" | "531312" | "531320" | "531390" | "532111" | "541110" | "541211" | "541214" | "541330" | "541430" | "541511" | "541512" | "541519" | "541611" | "541618" | "541715" | "541810" | "541922" | "541930" | "541940" | "541990" | "551112" | "561311" | "561422" | "561499" | "561510" | "561612" | "561730" | "561740" | "562111" | "562920" | "611110" | "611310" | "611410" | "611710" | "621111" | "621210" | "621399" | "621511" | "621910" | "622110" | "623110" | "623220" | "624410" | "711110" | "711211" | "711410" | "711510" | "712110" | "713110" | "713210" | "721110" | "722511" | "722513" | "811111" | "811210" | "812111" | "812112" | "812199" | "813110" | "813211" | "813219";
|
|
11
11
|
type EstimatedAnnualRevenue = "0_99999" | "100000_999999" | "1000000_9999999" | "10000000_49999999" | "50000000_249999999" | "2500000000_plus";
|
|
12
12
|
type SourceOfWealth = "business_dividends_or_profits" | "investments" | "asset_sales" | "client_investor_contributions" | "gambling" | "charitable_contributions" | "inheritance" | "affiliate_or_royalty_income";
|
|
13
13
|
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";
|
|
14
14
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
15
|
+
type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
|
|
16
|
+
type AmlStatus = "clear" | "hit" | "error";
|
|
17
|
+
type AmlHits = {
|
|
18
|
+
has_sanction_match: boolean;
|
|
19
|
+
has_pep_match: boolean;
|
|
20
|
+
has_watchlist_match: boolean;
|
|
21
|
+
has_crimelist_match: boolean;
|
|
22
|
+
has_adversemedia_match: boolean;
|
|
23
|
+
};
|
|
24
|
+
type FraudWarning = {
|
|
25
|
+
id: string | null;
|
|
26
|
+
name: string | null;
|
|
27
|
+
operation: string | null;
|
|
28
|
+
score: number | null;
|
|
29
|
+
};
|
|
30
|
+
type OwnerTaxType = "SSN" | "ITIN";
|
|
15
31
|
type KycType = "light" | "standard" | "enhanced";
|
|
16
32
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
17
33
|
type Owner = {
|
|
@@ -35,6 +51,9 @@ type Owner = {
|
|
|
35
51
|
proof_of_address_doc_file: string | null;
|
|
36
52
|
ownership_percentage: number | null;
|
|
37
53
|
title: string | null;
|
|
54
|
+
tax_type?: OwnerTaxType | null;
|
|
55
|
+
instance_id?: string;
|
|
56
|
+
receiver_id?: string;
|
|
38
57
|
};
|
|
39
58
|
type IndividualWithStandardKYC = {
|
|
40
59
|
id: string;
|
|
@@ -78,6 +97,22 @@ type IndividualWithStandardKYC = {
|
|
|
78
97
|
daily: number;
|
|
79
98
|
monthly: number;
|
|
80
99
|
};
|
|
100
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
101
|
+
aml_status?: AmlStatus | null;
|
|
102
|
+
aml_hits?: AmlHits | null;
|
|
103
|
+
account_purpose?: AccountPurpose | null;
|
|
104
|
+
account_purpose_other?: string | null;
|
|
105
|
+
occupation?: string | null;
|
|
106
|
+
external_id?: string | null;
|
|
107
|
+
is_fbo?: boolean | null;
|
|
108
|
+
selfie_file?: string | null;
|
|
109
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
110
|
+
source_of_funds_doc_file?: string | null;
|
|
111
|
+
business_description?: string | null;
|
|
112
|
+
business_industry?: BusinessIndustry | null;
|
|
113
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
114
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
115
|
+
publicly_traded?: boolean | null;
|
|
81
116
|
};
|
|
82
117
|
type IndividualWithEnhancedKYC = {
|
|
83
118
|
id: string;
|
|
@@ -126,6 +161,20 @@ type IndividualWithEnhancedKYC = {
|
|
|
126
161
|
daily: number;
|
|
127
162
|
monthly: number;
|
|
128
163
|
};
|
|
164
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
165
|
+
aml_status?: AmlStatus | null;
|
|
166
|
+
aml_hits?: AmlHits | null;
|
|
167
|
+
account_purpose?: AccountPurpose | null;
|
|
168
|
+
account_purpose_other?: string | null;
|
|
169
|
+
occupation?: string | null;
|
|
170
|
+
external_id?: string | null;
|
|
171
|
+
is_fbo?: boolean | null;
|
|
172
|
+
selfie_file?: string | null;
|
|
173
|
+
business_description?: string | null;
|
|
174
|
+
business_industry?: BusinessIndustry | null;
|
|
175
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
176
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
177
|
+
publicly_traded?: boolean | null;
|
|
129
178
|
};
|
|
130
179
|
type BusinessWithStandardKYB = {
|
|
131
180
|
id: string;
|
|
@@ -171,6 +220,19 @@ type BusinessWithStandardKYB = {
|
|
|
171
220
|
daily: number;
|
|
172
221
|
monthly: number;
|
|
173
222
|
};
|
|
223
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
224
|
+
aml_status?: AmlStatus | null;
|
|
225
|
+
aml_hits?: AmlHits | null;
|
|
226
|
+
account_purpose?: AccountPurpose | null;
|
|
227
|
+
account_purpose_other?: string | null;
|
|
228
|
+
occupation?: string | null;
|
|
229
|
+
selfie_file?: string | null;
|
|
230
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
231
|
+
source_of_funds_doc_file?: string | null;
|
|
232
|
+
business_description?: string | null;
|
|
233
|
+
business_industry?: BusinessIndustry | null;
|
|
234
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
235
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
174
236
|
};
|
|
175
237
|
type CreateIndividualWithStandardKYCInput = {
|
|
176
238
|
country: Country;
|
|
@@ -200,6 +262,8 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
200
262
|
state_province_region?: string | null;
|
|
201
263
|
tax_id?: string | null;
|
|
202
264
|
tos_id?: string | null;
|
|
265
|
+
account_purpose_other?: string | null;
|
|
266
|
+
occupation?: string | null;
|
|
203
267
|
};
|
|
204
268
|
type CreateIndividualWithStandardKYCResponse = {
|
|
205
269
|
id: string;
|
|
@@ -234,6 +298,8 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
234
298
|
state_province_region?: string | null;
|
|
235
299
|
tax_id?: string | null;
|
|
236
300
|
tos_id?: string | null;
|
|
301
|
+
account_purpose_other?: string | null;
|
|
302
|
+
occupation?: string | null;
|
|
237
303
|
};
|
|
238
304
|
type CreateIndividualWithEnhancedKYCResponse = {
|
|
239
305
|
id: string;
|
|
@@ -270,6 +336,8 @@ type CreateBusinessWithStandardKYBInput = {
|
|
|
270
336
|
tax_id?: string | null;
|
|
271
337
|
tos_id?: string | null;
|
|
272
338
|
website?: string | null;
|
|
339
|
+
account_purpose_other?: string | null;
|
|
340
|
+
occupation?: string | null;
|
|
273
341
|
};
|
|
274
342
|
type CreateBusinessWithStandardKYBResponse = {
|
|
275
343
|
id: string;
|
|
@@ -331,6 +399,8 @@ type UpdateReceiverInput = {
|
|
|
331
399
|
tax_id?: string;
|
|
332
400
|
tos_id?: string;
|
|
333
401
|
website?: string;
|
|
402
|
+
account_purpose_other?: string | null;
|
|
403
|
+
occupation?: string | null;
|
|
334
404
|
};
|
|
335
405
|
type DeleteReceiverInput = string;
|
|
336
406
|
type GetReceiverLimitsInput = string;
|
|
@@ -360,6 +430,9 @@ type GetLimitIncreaseRequestsResponse = Array<{
|
|
|
360
430
|
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
361
431
|
created_at: string;
|
|
362
432
|
updated_at: string;
|
|
433
|
+
approved_per_transaction?: number | null;
|
|
434
|
+
approved_daily?: number | null;
|
|
435
|
+
approved_monthly?: number | null;
|
|
363
436
|
}>;
|
|
364
437
|
type RequestLimitIncreaseInput = {
|
|
365
438
|
receiver_id: string;
|
|
@@ -385,4 +458,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
|
|
|
385
458
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
386
459
|
};
|
|
387
460
|
|
|
388
|
-
export { type AccountPurpose, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, 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 ProofOfAddressDocType, type PurposeOfTransactions, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
|
|
461
|
+
export { type AccountPurpose, type AmlHits, type AmlStatus, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, 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 PurposeOfTransactions, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
|
|
@@ -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.4.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19812,6 +19812,71 @@ describe("Receivers", () => {
|
|
|
19812
19812
|
}));
|
|
19813
19813
|
});
|
|
19814
19814
|
describe("Get receiver", () => {
|
|
19815
|
+
it("should get a receiver with new fields", () => __async(null, null, function* () {
|
|
19816
|
+
const mockedReceiver = {
|
|
19817
|
+
id: "re_YuaMcI2B8zbQ",
|
|
19818
|
+
is_tos_accepted: true,
|
|
19819
|
+
type: "individual",
|
|
19820
|
+
kyc_type: "standard",
|
|
19821
|
+
kyc_status: "approved",
|
|
19822
|
+
kyc_warnings: null,
|
|
19823
|
+
email: "john@example.com",
|
|
19824
|
+
tax_id: "12345678900",
|
|
19825
|
+
address_line_1: "123 Main St",
|
|
19826
|
+
city: "New York",
|
|
19827
|
+
state_province_region: "NY",
|
|
19828
|
+
country: "US",
|
|
19829
|
+
postal_code: "10001",
|
|
19830
|
+
ip_address: null,
|
|
19831
|
+
image_url: null,
|
|
19832
|
+
phone_number: "+15555555555",
|
|
19833
|
+
proof_of_address_doc_type: "UTILITY_BILL",
|
|
19834
|
+
proof_of_address_doc_file: "https://example.com/image.png",
|
|
19835
|
+
first_name: "John",
|
|
19836
|
+
last_name: "Doe",
|
|
19837
|
+
date_of_birth: "1990-01-01T00:00:00.000Z",
|
|
19838
|
+
id_doc_country: "US",
|
|
19839
|
+
id_doc_type: "PASSPORT",
|
|
19840
|
+
id_doc_front_file: "https://example.com/image.png",
|
|
19841
|
+
id_doc_back_file: "https://example.com/image.png",
|
|
19842
|
+
aiprise_validation_key: "",
|
|
19843
|
+
instance_id: "in_000000000000",
|
|
19844
|
+
tos_id: null,
|
|
19845
|
+
created_at: "2021-01-01T00:00:00.000Z",
|
|
19846
|
+
updated_at: "2021-01-01T00:00:00.000Z",
|
|
19847
|
+
limit: {
|
|
19848
|
+
per_transaction: 1e5,
|
|
19849
|
+
daily: 2e5,
|
|
19850
|
+
monthly: 1e6
|
|
19851
|
+
},
|
|
19852
|
+
fraud_warnings: [
|
|
19853
|
+
{
|
|
19854
|
+
id: "UC114",
|
|
19855
|
+
name: "User never used a Datacenter proxy",
|
|
19856
|
+
operation: "+",
|
|
19857
|
+
score: 10
|
|
19858
|
+
}
|
|
19859
|
+
],
|
|
19860
|
+
aml_status: "clear",
|
|
19861
|
+
aml_hits: {
|
|
19862
|
+
has_sanction_match: false,
|
|
19863
|
+
has_pep_match: false,
|
|
19864
|
+
has_watchlist_match: false,
|
|
19865
|
+
has_crimelist_match: false,
|
|
19866
|
+
has_adversemedia_match: false
|
|
19867
|
+
},
|
|
19868
|
+
account_purpose_other: null,
|
|
19869
|
+
occupation: "Software Engineer",
|
|
19870
|
+
external_id: "ext_123",
|
|
19871
|
+
is_fbo: false
|
|
19872
|
+
};
|
|
19873
|
+
fetchMock.mockResponseOnce(JSON.stringify(mockedReceiver), {
|
|
19874
|
+
headers: { "Content-Type": "application/json" }
|
|
19875
|
+
});
|
|
19876
|
+
const { data, error } = yield blindpay.receivers.get("re_YuaMcI2B8zbQ");
|
|
19877
|
+
globalExpect(error).toBeNull();
|
|
19878
|
+
globalExpect(data).toEqual(mockedReceiver);
|
|
19879
|
+
}));
|
|
19815
19880
|
it("should get a receiver", () => __async(null, null, function* () {
|
|
19816
19881
|
const mockedReceiver = {
|
|
19817
19882
|
id: "re_YuaMcI2B8zbQ",
|
|
@@ -20005,6 +20070,33 @@ describe("Receivers", () => {
|
|
|
20005
20070
|
globalExpect(data).toEqual(mockedLimitIncreaseRequests);
|
|
20006
20071
|
}));
|
|
20007
20072
|
});
|
|
20073
|
+
describe("Get limit increase requests with approved fields", () => {
|
|
20074
|
+
it("should get limit increase requests with approved amounts", () => __async(null, null, function* () {
|
|
20075
|
+
const mockedLimitIncreaseRequests = [
|
|
20076
|
+
{
|
|
20077
|
+
id: "rl_000000000000",
|
|
20078
|
+
receiver_id: "re_YuaMcI2B8zbQ",
|
|
20079
|
+
status: "approved",
|
|
20080
|
+
daily: 5e4,
|
|
20081
|
+
monthly: 25e4,
|
|
20082
|
+
per_transaction: 25e3,
|
|
20083
|
+
supporting_document_file: "https://example.com/bank-statement.pdf",
|
|
20084
|
+
supporting_document_type: "individual_bank_statement",
|
|
20085
|
+
created_at: "2025-01-15T10:30:00.000Z",
|
|
20086
|
+
updated_at: "2025-01-15T10:30:00.000Z",
|
|
20087
|
+
approved_per_transaction: 2e4,
|
|
20088
|
+
approved_daily: 4e4,
|
|
20089
|
+
approved_monthly: 2e5
|
|
20090
|
+
}
|
|
20091
|
+
];
|
|
20092
|
+
fetchMock.mockResponseOnce(JSON.stringify(mockedLimitIncreaseRequests), {
|
|
20093
|
+
headers: { "Content-Type": "application/json" }
|
|
20094
|
+
});
|
|
20095
|
+
const { data, error } = yield blindpay.receivers.getLimitIncreaseRequests("re_YuaMcI2B8zbQ");
|
|
20096
|
+
globalExpect(error).toBeNull();
|
|
20097
|
+
globalExpect(data).toEqual(mockedLimitIncreaseRequests);
|
|
20098
|
+
}));
|
|
20099
|
+
});
|
|
20008
20100
|
describe("Request limit increase", () => {
|
|
20009
20101
|
it("should request a limit increase for a receiver", () => __async(null, null, function* () {
|
|
20010
20102
|
const mockedResponse = {
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-FG25JHDX.mjs";
|
|
11
|
+
} from "../../chunk-3I7S2HKM.mjs";
|
|
13
12
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
+
import "../../chunk-LEPGLH7Q.mjs";
|
|
15
15
|
import "../../chunk-UC57SCKQ.mjs";
|
|
16
|
-
import "../../chunk-ISHZTBAN.mjs";
|
|
17
16
|
import "../../chunk-UDRMLZWT.mjs";
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-TBTA7A2P.mjs";
|
|
18
|
+
import "../../chunk-FG25JHDX.mjs";
|
|
19
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
20
20
|
import "../../chunk-F5Z45GCA.mjs";
|
|
21
|
-
import "../../chunk-TBTA7A2P.mjs";
|
|
22
21
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
22
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
23
|
+
import "../../chunk-ISHZTBAN.mjs";
|
|
24
24
|
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
-
import "../../chunk-B5T7AQLH.mjs";
|
|
26
25
|
import "../../chunk-RC5NN5UF.mjs";
|
|
26
|
+
import "../../chunk-B5T7AQLH.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
@@ -340,6 +340,71 @@ var require_receivers_test = __commonJS({
|
|
|
340
340
|
}));
|
|
341
341
|
});
|
|
342
342
|
describe("Get receiver", () => {
|
|
343
|
+
it("should get a receiver with new fields", () => __async(null, null, function* () {
|
|
344
|
+
const mockedReceiver = {
|
|
345
|
+
id: "re_YuaMcI2B8zbQ",
|
|
346
|
+
is_tos_accepted: true,
|
|
347
|
+
type: "individual",
|
|
348
|
+
kyc_type: "standard",
|
|
349
|
+
kyc_status: "approved",
|
|
350
|
+
kyc_warnings: null,
|
|
351
|
+
email: "john@example.com",
|
|
352
|
+
tax_id: "12345678900",
|
|
353
|
+
address_line_1: "123 Main St",
|
|
354
|
+
city: "New York",
|
|
355
|
+
state_province_region: "NY",
|
|
356
|
+
country: "US",
|
|
357
|
+
postal_code: "10001",
|
|
358
|
+
ip_address: null,
|
|
359
|
+
image_url: null,
|
|
360
|
+
phone_number: "+15555555555",
|
|
361
|
+
proof_of_address_doc_type: "UTILITY_BILL",
|
|
362
|
+
proof_of_address_doc_file: "https://example.com/image.png",
|
|
363
|
+
first_name: "John",
|
|
364
|
+
last_name: "Doe",
|
|
365
|
+
date_of_birth: "1990-01-01T00:00:00.000Z",
|
|
366
|
+
id_doc_country: "US",
|
|
367
|
+
id_doc_type: "PASSPORT",
|
|
368
|
+
id_doc_front_file: "https://example.com/image.png",
|
|
369
|
+
id_doc_back_file: "https://example.com/image.png",
|
|
370
|
+
aiprise_validation_key: "",
|
|
371
|
+
instance_id: "in_000000000000",
|
|
372
|
+
tos_id: null,
|
|
373
|
+
created_at: "2021-01-01T00:00:00.000Z",
|
|
374
|
+
updated_at: "2021-01-01T00:00:00.000Z",
|
|
375
|
+
limit: {
|
|
376
|
+
per_transaction: 1e5,
|
|
377
|
+
daily: 2e5,
|
|
378
|
+
monthly: 1e6
|
|
379
|
+
},
|
|
380
|
+
fraud_warnings: [
|
|
381
|
+
{
|
|
382
|
+
id: "UC114",
|
|
383
|
+
name: "User never used a Datacenter proxy",
|
|
384
|
+
operation: "+",
|
|
385
|
+
score: 10
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
aml_status: "clear",
|
|
389
|
+
aml_hits: {
|
|
390
|
+
has_sanction_match: false,
|
|
391
|
+
has_pep_match: false,
|
|
392
|
+
has_watchlist_match: false,
|
|
393
|
+
has_crimelist_match: false,
|
|
394
|
+
has_adversemedia_match: false
|
|
395
|
+
},
|
|
396
|
+
account_purpose_other: null,
|
|
397
|
+
occupation: "Software Engineer",
|
|
398
|
+
external_id: "ext_123",
|
|
399
|
+
is_fbo: false
|
|
400
|
+
};
|
|
401
|
+
fetchMock.mockResponseOnce(JSON.stringify(mockedReceiver), {
|
|
402
|
+
headers: { "Content-Type": "application/json" }
|
|
403
|
+
});
|
|
404
|
+
const { data, error } = yield blindpay.receivers.get("re_YuaMcI2B8zbQ");
|
|
405
|
+
globalExpect(error).toBeNull();
|
|
406
|
+
globalExpect(data).toEqual(mockedReceiver);
|
|
407
|
+
}));
|
|
343
408
|
it("should get a receiver", () => __async(null, null, function* () {
|
|
344
409
|
const mockedReceiver = {
|
|
345
410
|
id: "re_YuaMcI2B8zbQ",
|
|
@@ -533,6 +598,33 @@ var require_receivers_test = __commonJS({
|
|
|
533
598
|
globalExpect(data).toEqual(mockedLimitIncreaseRequests);
|
|
534
599
|
}));
|
|
535
600
|
});
|
|
601
|
+
describe("Get limit increase requests with approved fields", () => {
|
|
602
|
+
it("should get limit increase requests with approved amounts", () => __async(null, null, function* () {
|
|
603
|
+
const mockedLimitIncreaseRequests = [
|
|
604
|
+
{
|
|
605
|
+
id: "rl_000000000000",
|
|
606
|
+
receiver_id: "re_YuaMcI2B8zbQ",
|
|
607
|
+
status: "approved",
|
|
608
|
+
daily: 5e4,
|
|
609
|
+
monthly: 25e4,
|
|
610
|
+
per_transaction: 25e3,
|
|
611
|
+
supporting_document_file: "https://example.com/bank-statement.pdf",
|
|
612
|
+
supporting_document_type: "individual_bank_statement",
|
|
613
|
+
created_at: "2025-01-15T10:30:00.000Z",
|
|
614
|
+
updated_at: "2025-01-15T10:30:00.000Z",
|
|
615
|
+
approved_per_transaction: 2e4,
|
|
616
|
+
approved_daily: 4e4,
|
|
617
|
+
approved_monthly: 2e5
|
|
618
|
+
}
|
|
619
|
+
];
|
|
620
|
+
fetchMock.mockResponseOnce(JSON.stringify(mockedLimitIncreaseRequests), {
|
|
621
|
+
headers: { "Content-Type": "application/json" }
|
|
622
|
+
});
|
|
623
|
+
const { data, error } = yield blindpay.receivers.getLimitIncreaseRequests("re_YuaMcI2B8zbQ");
|
|
624
|
+
globalExpect(error).toBeNull();
|
|
625
|
+
globalExpect(data).toEqual(mockedLimitIncreaseRequests);
|
|
626
|
+
}));
|
|
627
|
+
});
|
|
536
628
|
describe("Request limit increase", () => {
|
|
537
629
|
it("should request a limit increase for a receiver", () => __async(null, null, function* () {
|
|
538
630
|
const mockedResponse = {
|
|
@@ -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.4.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-FG25JHDX.mjs";
|
|
11
|
+
} from "../../chunk-3I7S2HKM.mjs";
|
|
13
12
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
13
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
14
|
+
import "../../chunk-LEPGLH7Q.mjs";
|
|
15
15
|
import "../../chunk-UC57SCKQ.mjs";
|
|
16
|
-
import "../../chunk-ISHZTBAN.mjs";
|
|
17
16
|
import "../../chunk-UDRMLZWT.mjs";
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-TBTA7A2P.mjs";
|
|
18
|
+
import "../../chunk-FG25JHDX.mjs";
|
|
19
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
20
20
|
import "../../chunk-F5Z45GCA.mjs";
|
|
21
|
-
import "../../chunk-TBTA7A2P.mjs";
|
|
22
21
|
import "../../chunk-YIZJM2GU.mjs";
|
|
23
22
|
import "../../chunk-Z6EYX4D3.mjs";
|
|
23
|
+
import "../../chunk-ISHZTBAN.mjs";
|
|
24
24
|
import "../../chunk-ALHMJWQN.mjs";
|
|
25
|
-
import "../../chunk-B5T7AQLH.mjs";
|
|
26
25
|
import "../../chunk-RC5NN5UF.mjs";
|
|
26
|
+
import "../../chunk-B5T7AQLH.mjs";
|
|
27
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
28
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
@@ -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.4.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|