@blindpay/node 3.3.0 → 3.4.1
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-Cu0yYexQ.d.ts → api-client-Bklw4zQi.d.ts} +1 -1
- package/dist/{api-client-DV5jG52T.d.mts → api-client-BlkRiojB.d.mts} +1 -1
- package/dist/{chunk-JOHWDSDM.mjs → chunk-VWWGGMMT.mjs} +5 -5
- package/dist/{index.d-yOiKSwHO.d.ts → index.d-Gvol1faW.d.mts} +244 -1
- package/dist/{index.d-yOiKSwHO.d.mts → index.d-Gvol1faW.d.ts} +244 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +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/api-keys/index.d.mts +2 -2
- package/dist/resources/api-keys/index.d.ts +2 -2
- package/dist/resources/available/available.test.js +1 -1
- package/dist/resources/available/available.test.mjs +2 -2
- 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 +1 -1
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +2 -2
- package/dist/resources/bank-accounts/index.d.mts +9 -3
- package/dist/resources/bank-accounts/index.d.ts +9 -3
- package/dist/resources/fees/fees.test.js +1 -1
- package/dist/resources/fees/fees.test.mjs +2 -2
- package/dist/resources/fees/index.d.mts +2 -2
- package/dist/resources/fees/index.d.ts +2 -2
- package/dist/resources/instances/index.d.mts +3 -2
- package/dist/resources/instances/index.d.ts +3 -2
- package/dist/resources/instances/instances.test.js +1 -1
- package/dist/resources/instances/instances.test.mjs +2 -2
- 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 +1 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +2 -2
- package/dist/resources/payins/index.d.mts +2 -2
- package/dist/resources/payins/index.d.ts +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/payins/quotes.d.mts +2 -2
- package/dist/resources/payins/quotes.d.ts +2 -2
- package/dist/resources/payouts/index.d.mts +2 -2
- package/dist/resources/payouts/index.d.ts +2 -2
- package/dist/resources/payouts/payouts.test.js +1 -1
- package/dist/resources/payouts/payouts.test.mjs +2 -2
- 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 +1 -1
- package/dist/resources/quotes/quotes.test.mjs +2 -2
- package/dist/resources/receivers/index.d.mts +90 -10
- package/dist/resources/receivers/index.d.ts +90 -10
- package/dist/resources/receivers/receivers.test.js +93 -1
- package/dist/resources/receivers/receivers.test.mjs +94 -2
- 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 +1 -1
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +2 -2
- 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 +1 -1
- package/dist/resources/transfers/transfers.test.mjs +2 -2
- 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 +1 -1
- package/dist/resources/upload/upload.test.mjs +2 -2
- package/dist/resources/virtual-accounts/index.d.mts +13 -4
- package/dist/resources/virtual-accounts/index.d.ts +13 -4
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +61 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +62 -2
- 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 +1 -1
- package/dist/resources/wallets/blockchain.test.mjs +2 -2
- 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 +1 -1
- package/dist/resources/wallets/custodial.test.mjs +2 -2
- package/dist/resources/wallets/offramp.d.mts +11 -8
- package/dist/resources/wallets/offramp.d.ts +11 -8
- package/dist/resources/wallets/offramp.test.js +21 -1
- package/dist/resources/wallets/offramp.test.mjs +22 -2
- 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 +1 -1
- package/dist/resources/webhooks/webhooks.test.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass,
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
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-Gvol1faW.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BlkRiojB.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
|
-
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
|
-
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
|
-
type BusinessType = "corporation" | "llc" | "partnership" | "sole_proprietorship" | "trust" | "non_profit";
|
|
10
|
-
type BusinessIndustry = "541511" | "541512" | "541519" | "518210" | "511210" | "541611" | "541618" | "541330" | "541990" | "522110" | "523110" | "523920" | "423430" | "423690" | "423110" | "423830" | "423840" | "423510" | "424210" | "424690" | "424990" | "454110" | "334111" | "334118" | "325412" | "339112" | "336111" | "336390" | "551112" | "561499" | "488510" | "484121" | "493110" | "424410" | "424480" | "315990" | "313110" | "213112" | "517110" | "541214";
|
|
11
|
-
type EstimatedAnnualRevenue = "0_99999" | "100000_999999" | "1000000_9999999" | "10000000_49999999" | "50000000_249999999" | "2500000000_plus";
|
|
12
|
-
type SourceOfWealth = "business_dividends_or_profits" | "investments" | "asset_sales" | "client_investor_contributions" | "gambling" | "charitable_contributions" | "inheritance" | "affiliate_or_royalty_income";
|
|
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
7
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
8
|
+
type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
|
|
9
|
+
type AmlStatus = "clear" | "hit" | "error";
|
|
10
|
+
type AmlHits = {
|
|
11
|
+
has_sanction_match: boolean;
|
|
12
|
+
has_pep_match: boolean;
|
|
13
|
+
has_watchlist_match: boolean;
|
|
14
|
+
has_crimelist_match: boolean;
|
|
15
|
+
has_adversemedia_match: boolean;
|
|
16
|
+
};
|
|
17
|
+
type FraudWarning = {
|
|
18
|
+
id: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
operation: string | null;
|
|
21
|
+
score: number | null;
|
|
22
|
+
};
|
|
23
|
+
type OwnerTaxType = "SSN" | "ITIN";
|
|
15
24
|
type KycType = "light" | "standard" | "enhanced";
|
|
16
25
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
17
26
|
type Owner = {
|
|
@@ -35,6 +44,9 @@ type Owner = {
|
|
|
35
44
|
proof_of_address_doc_file: string | null;
|
|
36
45
|
ownership_percentage: number | null;
|
|
37
46
|
title: string | null;
|
|
47
|
+
tax_type?: OwnerTaxType | null;
|
|
48
|
+
instance_id?: string;
|
|
49
|
+
receiver_id?: string;
|
|
38
50
|
};
|
|
39
51
|
type IndividualWithStandardKYC = {
|
|
40
52
|
id: string;
|
|
@@ -78,6 +90,24 @@ type IndividualWithStandardKYC = {
|
|
|
78
90
|
daily: number;
|
|
79
91
|
monthly: number;
|
|
80
92
|
};
|
|
93
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
94
|
+
aml_status?: AmlStatus | null;
|
|
95
|
+
aml_hits?: AmlHits | null;
|
|
96
|
+
account_purpose?: AccountPurpose | null;
|
|
97
|
+
account_purpose_other?: string | null;
|
|
98
|
+
occupation?: string | null;
|
|
99
|
+
external_id?: string | null;
|
|
100
|
+
is_fbo?: boolean | null;
|
|
101
|
+
selfie_file?: string | null;
|
|
102
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
103
|
+
source_of_funds_doc_file?: string | null;
|
|
104
|
+
business_description?: string | null;
|
|
105
|
+
business_industry?: BusinessIndustry | null;
|
|
106
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
107
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
108
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
109
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
110
|
+
publicly_traded?: boolean | null;
|
|
81
111
|
};
|
|
82
112
|
type IndividualWithEnhancedKYC = {
|
|
83
113
|
id: string;
|
|
@@ -126,6 +156,22 @@ type IndividualWithEnhancedKYC = {
|
|
|
126
156
|
daily: number;
|
|
127
157
|
monthly: number;
|
|
128
158
|
};
|
|
159
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
160
|
+
aml_status?: AmlStatus | null;
|
|
161
|
+
aml_hits?: AmlHits | null;
|
|
162
|
+
account_purpose?: AccountPurpose | null;
|
|
163
|
+
account_purpose_other?: string | null;
|
|
164
|
+
occupation?: string | null;
|
|
165
|
+
external_id?: string | null;
|
|
166
|
+
is_fbo?: boolean | null;
|
|
167
|
+
selfie_file?: string | null;
|
|
168
|
+
business_description?: string | null;
|
|
169
|
+
business_industry?: BusinessIndustry | null;
|
|
170
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
171
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
172
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
173
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
174
|
+
publicly_traded?: boolean | null;
|
|
129
175
|
};
|
|
130
176
|
type BusinessWithStandardKYB = {
|
|
131
177
|
id: string;
|
|
@@ -171,6 +217,21 @@ type BusinessWithStandardKYB = {
|
|
|
171
217
|
daily: number;
|
|
172
218
|
monthly: number;
|
|
173
219
|
};
|
|
220
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
221
|
+
aml_status?: AmlStatus | null;
|
|
222
|
+
aml_hits?: AmlHits | null;
|
|
223
|
+
account_purpose?: AccountPurpose | null;
|
|
224
|
+
account_purpose_other?: string | null;
|
|
225
|
+
occupation?: string | null;
|
|
226
|
+
selfie_file?: string | null;
|
|
227
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
228
|
+
source_of_funds_doc_file?: string | null;
|
|
229
|
+
business_description?: string | null;
|
|
230
|
+
business_industry?: BusinessIndustry | null;
|
|
231
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
232
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
233
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
234
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
174
235
|
};
|
|
175
236
|
type CreateIndividualWithStandardKYCInput = {
|
|
176
237
|
country: Country;
|
|
@@ -200,6 +261,10 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
200
261
|
state_province_region?: string | null;
|
|
201
262
|
tax_id?: string | null;
|
|
202
263
|
tos_id?: string | null;
|
|
264
|
+
account_purpose_other?: string | null;
|
|
265
|
+
occupation?: string | null;
|
|
266
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
267
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
203
268
|
};
|
|
204
269
|
type CreateIndividualWithStandardKYCResponse = {
|
|
205
270
|
id: string;
|
|
@@ -234,6 +299,10 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
234
299
|
state_province_region?: string | null;
|
|
235
300
|
tax_id?: string | null;
|
|
236
301
|
tos_id?: string | null;
|
|
302
|
+
account_purpose_other?: string | null;
|
|
303
|
+
occupation?: string | null;
|
|
304
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
305
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
237
306
|
};
|
|
238
307
|
type CreateIndividualWithEnhancedKYCResponse = {
|
|
239
308
|
id: string;
|
|
@@ -270,6 +339,10 @@ type CreateBusinessWithStandardKYBInput = {
|
|
|
270
339
|
tax_id?: string | null;
|
|
271
340
|
tos_id?: string | null;
|
|
272
341
|
website?: string | null;
|
|
342
|
+
account_purpose_other?: string | null;
|
|
343
|
+
occupation?: string | null;
|
|
344
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
345
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
273
346
|
};
|
|
274
347
|
type CreateBusinessWithStandardKYBResponse = {
|
|
275
348
|
id: string;
|
|
@@ -331,6 +404,10 @@ type UpdateReceiverInput = {
|
|
|
331
404
|
tax_id?: string;
|
|
332
405
|
tos_id?: string;
|
|
333
406
|
website?: string;
|
|
407
|
+
account_purpose_other?: string | null;
|
|
408
|
+
occupation?: string | null;
|
|
409
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
410
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
334
411
|
};
|
|
335
412
|
type DeleteReceiverInput = string;
|
|
336
413
|
type GetReceiverLimitsInput = string;
|
|
@@ -360,6 +437,9 @@ type GetLimitIncreaseRequestsResponse = Array<{
|
|
|
360
437
|
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
361
438
|
created_at: string;
|
|
362
439
|
updated_at: string;
|
|
440
|
+
approved_per_transaction?: number | null;
|
|
441
|
+
approved_daily?: number | null;
|
|
442
|
+
approved_monthly?: number | null;
|
|
363
443
|
}>;
|
|
364
444
|
type RequestLimitIncreaseInput = {
|
|
365
445
|
receiver_id: string;
|
|
@@ -385,4 +465,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
|
|
|
385
465
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
386
466
|
};
|
|
387
467
|
|
|
388
|
-
export { type
|
|
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 ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass,
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
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-Gvol1faW.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-Bklw4zQi.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
|
-
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
|
-
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
|
-
type BusinessType = "corporation" | "llc" | "partnership" | "sole_proprietorship" | "trust" | "non_profit";
|
|
10
|
-
type BusinessIndustry = "541511" | "541512" | "541519" | "518210" | "511210" | "541611" | "541618" | "541330" | "541990" | "522110" | "523110" | "523920" | "423430" | "423690" | "423110" | "423830" | "423840" | "423510" | "424210" | "424690" | "424990" | "454110" | "334111" | "334118" | "325412" | "339112" | "336111" | "336390" | "551112" | "561499" | "488510" | "484121" | "493110" | "424410" | "424480" | "315990" | "313110" | "213112" | "517110" | "541214";
|
|
11
|
-
type EstimatedAnnualRevenue = "0_99999" | "100000_999999" | "1000000_9999999" | "10000000_49999999" | "50000000_249999999" | "2500000000_plus";
|
|
12
|
-
type SourceOfWealth = "business_dividends_or_profits" | "investments" | "asset_sales" | "client_investor_contributions" | "gambling" | "charitable_contributions" | "inheritance" | "affiliate_or_royalty_income";
|
|
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
7
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
8
|
+
type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
|
|
9
|
+
type AmlStatus = "clear" | "hit" | "error";
|
|
10
|
+
type AmlHits = {
|
|
11
|
+
has_sanction_match: boolean;
|
|
12
|
+
has_pep_match: boolean;
|
|
13
|
+
has_watchlist_match: boolean;
|
|
14
|
+
has_crimelist_match: boolean;
|
|
15
|
+
has_adversemedia_match: boolean;
|
|
16
|
+
};
|
|
17
|
+
type FraudWarning = {
|
|
18
|
+
id: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
operation: string | null;
|
|
21
|
+
score: number | null;
|
|
22
|
+
};
|
|
23
|
+
type OwnerTaxType = "SSN" | "ITIN";
|
|
15
24
|
type KycType = "light" | "standard" | "enhanced";
|
|
16
25
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
17
26
|
type Owner = {
|
|
@@ -35,6 +44,9 @@ type Owner = {
|
|
|
35
44
|
proof_of_address_doc_file: string | null;
|
|
36
45
|
ownership_percentage: number | null;
|
|
37
46
|
title: string | null;
|
|
47
|
+
tax_type?: OwnerTaxType | null;
|
|
48
|
+
instance_id?: string;
|
|
49
|
+
receiver_id?: string;
|
|
38
50
|
};
|
|
39
51
|
type IndividualWithStandardKYC = {
|
|
40
52
|
id: string;
|
|
@@ -78,6 +90,24 @@ type IndividualWithStandardKYC = {
|
|
|
78
90
|
daily: number;
|
|
79
91
|
monthly: number;
|
|
80
92
|
};
|
|
93
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
94
|
+
aml_status?: AmlStatus | null;
|
|
95
|
+
aml_hits?: AmlHits | null;
|
|
96
|
+
account_purpose?: AccountPurpose | null;
|
|
97
|
+
account_purpose_other?: string | null;
|
|
98
|
+
occupation?: string | null;
|
|
99
|
+
external_id?: string | null;
|
|
100
|
+
is_fbo?: boolean | null;
|
|
101
|
+
selfie_file?: string | null;
|
|
102
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
103
|
+
source_of_funds_doc_file?: string | null;
|
|
104
|
+
business_description?: string | null;
|
|
105
|
+
business_industry?: BusinessIndustry | null;
|
|
106
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
107
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
108
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
109
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
110
|
+
publicly_traded?: boolean | null;
|
|
81
111
|
};
|
|
82
112
|
type IndividualWithEnhancedKYC = {
|
|
83
113
|
id: string;
|
|
@@ -126,6 +156,22 @@ type IndividualWithEnhancedKYC = {
|
|
|
126
156
|
daily: number;
|
|
127
157
|
monthly: number;
|
|
128
158
|
};
|
|
159
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
160
|
+
aml_status?: AmlStatus | null;
|
|
161
|
+
aml_hits?: AmlHits | null;
|
|
162
|
+
account_purpose?: AccountPurpose | null;
|
|
163
|
+
account_purpose_other?: string | null;
|
|
164
|
+
occupation?: string | null;
|
|
165
|
+
external_id?: string | null;
|
|
166
|
+
is_fbo?: boolean | null;
|
|
167
|
+
selfie_file?: string | null;
|
|
168
|
+
business_description?: string | null;
|
|
169
|
+
business_industry?: BusinessIndustry | null;
|
|
170
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
171
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
172
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
173
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
174
|
+
publicly_traded?: boolean | null;
|
|
129
175
|
};
|
|
130
176
|
type BusinessWithStandardKYB = {
|
|
131
177
|
id: string;
|
|
@@ -171,6 +217,21 @@ type BusinessWithStandardKYB = {
|
|
|
171
217
|
daily: number;
|
|
172
218
|
monthly: number;
|
|
173
219
|
};
|
|
220
|
+
fraud_warnings?: FraudWarning[] | null;
|
|
221
|
+
aml_status?: AmlStatus | null;
|
|
222
|
+
aml_hits?: AmlHits | null;
|
|
223
|
+
account_purpose?: AccountPurpose | null;
|
|
224
|
+
account_purpose_other?: string | null;
|
|
225
|
+
occupation?: string | null;
|
|
226
|
+
selfie_file?: string | null;
|
|
227
|
+
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
228
|
+
source_of_funds_doc_file?: string | null;
|
|
229
|
+
business_description?: string | null;
|
|
230
|
+
business_industry?: BusinessIndustry | null;
|
|
231
|
+
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
232
|
+
source_of_wealth?: SourceOfWealth | null;
|
|
233
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
234
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
174
235
|
};
|
|
175
236
|
type CreateIndividualWithStandardKYCInput = {
|
|
176
237
|
country: Country;
|
|
@@ -200,6 +261,10 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
200
261
|
state_province_region?: string | null;
|
|
201
262
|
tax_id?: string | null;
|
|
202
263
|
tos_id?: string | null;
|
|
264
|
+
account_purpose_other?: string | null;
|
|
265
|
+
occupation?: string | null;
|
|
266
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
267
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
203
268
|
};
|
|
204
269
|
type CreateIndividualWithStandardKYCResponse = {
|
|
205
270
|
id: string;
|
|
@@ -234,6 +299,10 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
234
299
|
state_province_region?: string | null;
|
|
235
300
|
tax_id?: string | null;
|
|
236
301
|
tos_id?: string | null;
|
|
302
|
+
account_purpose_other?: string | null;
|
|
303
|
+
occupation?: string | null;
|
|
304
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
305
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
237
306
|
};
|
|
238
307
|
type CreateIndividualWithEnhancedKYCResponse = {
|
|
239
308
|
id: string;
|
|
@@ -270,6 +339,10 @@ type CreateBusinessWithStandardKYBInput = {
|
|
|
270
339
|
tax_id?: string | null;
|
|
271
340
|
tos_id?: string | null;
|
|
272
341
|
website?: string | null;
|
|
342
|
+
account_purpose_other?: string | null;
|
|
343
|
+
occupation?: string | null;
|
|
344
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
345
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
273
346
|
};
|
|
274
347
|
type CreateBusinessWithStandardKYBResponse = {
|
|
275
348
|
id: string;
|
|
@@ -331,6 +404,10 @@ type UpdateReceiverInput = {
|
|
|
331
404
|
tax_id?: string;
|
|
332
405
|
tos_id?: string;
|
|
333
406
|
website?: string;
|
|
407
|
+
account_purpose_other?: string | null;
|
|
408
|
+
occupation?: string | null;
|
|
409
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
410
|
+
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
334
411
|
};
|
|
335
412
|
type DeleteReceiverInput = string;
|
|
336
413
|
type GetReceiverLimitsInput = string;
|
|
@@ -360,6 +437,9 @@ type GetLimitIncreaseRequestsResponse = Array<{
|
|
|
360
437
|
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
361
438
|
created_at: string;
|
|
362
439
|
updated_at: string;
|
|
440
|
+
approved_per_transaction?: number | null;
|
|
441
|
+
approved_daily?: number | null;
|
|
442
|
+
approved_monthly?: number | null;
|
|
363
443
|
}>;
|
|
364
444
|
type RequestLimitIncreaseInput = {
|
|
365
445
|
receiver_id: string;
|
|
@@ -385,4 +465,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
|
|
|
385
465
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
386
466
|
};
|
|
387
467
|
|
|
388
|
-
export { type
|
|
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 ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, 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.1";
|
|
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,14 +8,14 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-VWWGGMMT.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
15
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
16
15
|
import "../../chunk-ISHZTBAN.mjs";
|
|
17
16
|
import "../../chunk-UDRMLZWT.mjs";
|
|
18
17
|
import "../../chunk-LEPGLH7Q.mjs";
|
|
18
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
19
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
20
20
|
import "../../chunk-F5Z45GCA.mjs";
|
|
21
21
|
import "../../chunk-TBTA7A2P.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 = {
|
|
@@ -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-Gvol1faW.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
|
|
3
3
|
|
|
4
4
|
type InitiateInput = {
|
|
5
5
|
idempotency_key: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BlindpayApiResponse } from '../../index.d-
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
|
|
3
3
|
|
|
4
4
|
type InitiateInput = {
|
|
5
5
|
idempotency_key: string;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.4.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-VWWGGMMT.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
15
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
16
15
|
import "../../chunk-ISHZTBAN.mjs";
|
|
17
16
|
import "../../chunk-UDRMLZWT.mjs";
|
|
18
17
|
import "../../chunk-LEPGLH7Q.mjs";
|
|
18
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
19
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
20
20
|
import "../../chunk-F5Z45GCA.mjs";
|
|
21
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus,
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-Gvol1faW.mjs';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
|
|
3
3
|
|
|
4
4
|
type TransferTrackingStep = {
|
|
5
5
|
step: TrackingStatus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus,
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
1
|
+
import { S as StablecoinToken, N as Network, B as BlindpayApiResponse, T as TransactionStatus, t as TrackingStatus, P as PaginationParams, l as PaginationMetadata } from '../../index.d-Gvol1faW.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
|
|
3
3
|
|
|
4
4
|
type TransferTrackingStep = {
|
|
5
5
|
step: TrackingStatus;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.4.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|