@blindpay/node 4.0.0 → 4.0.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/{chunk-ECYZLQUR.mjs → chunk-IJSACZHV.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/resources/api-keys/api-keys.test.js +1 -1
- package/dist/resources/api-keys/api-keys.test.mjs +1 -1
- package/dist/resources/available/available.test.js +1 -1
- package/dist/resources/available/available.test.mjs +1 -1
- package/dist/resources/bank-accounts/bank-accounts.test.js +62 -64
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +62 -64
- package/dist/resources/bank-accounts/index.d.mts +69 -71
- package/dist/resources/bank-accounts/index.d.ts +69 -71
- package/dist/resources/customers/customers.test.js +1 -1
- package/dist/resources/customers/customers.test.mjs +1 -1
- package/dist/resources/fees/fees.test.js +1 -1
- package/dist/resources/fees/fees.test.mjs +1 -1
- package/dist/resources/instances/instances.test.js +1 -1
- package/dist/resources/instances/instances.test.mjs +1 -1
- package/dist/resources/partner-fees/partner-fees.test.js +1 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +1 -1
- package/dist/resources/payins/payins-quotes.test.js +1 -1
- package/dist/resources/payins/payins-quotes.test.mjs +1 -1
- package/dist/resources/payins/payins.test.js +1 -1
- package/dist/resources/payins/payins.test.mjs +1 -1
- package/dist/resources/payouts/payouts.test.js +1 -1
- package/dist/resources/payouts/payouts.test.mjs +1 -1
- package/dist/resources/quotes/quotes.test.js +1 -1
- package/dist/resources/quotes/quotes.test.mjs +1 -1
- package/dist/resources/terms-of-service/terms-of-service.test.js +1 -1
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +1 -1
- package/dist/resources/transfers/transfers.test.js +1 -1
- package/dist/resources/transfers/transfers.test.mjs +1 -1
- package/dist/resources/upload/upload.test.js +1 -1
- package/dist/resources/upload/upload.test.mjs +1 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +1 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +1 -1
- package/dist/resources/wallets/blockchain.test.js +1 -1
- package/dist/resources/wallets/blockchain.test.mjs +1 -1
- package/dist/resources/wallets/custodial.test.js +1 -1
- package/dist/resources/wallets/custodial.test.mjs +1 -1
- package/dist/resources/wallets/offramp.test.js +1 -1
- package/dist/resources/wallets/offramp.test.mjs +1 -1
- package/dist/resources/webhooks/webhooks.test.js +1 -1
- package/dist/resources/webhooks/webhooks.test.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -18697,7 +18697,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18697
18697
|
var import_svix = require("svix");
|
|
18698
18698
|
|
|
18699
18699
|
// package.json
|
|
18700
|
-
var version = "4.0.
|
|
18700
|
+
var version = "4.0.1";
|
|
18701
18701
|
|
|
18702
18702
|
// src/internal/blindpay-error.ts
|
|
18703
18703
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19880,69 +19880,67 @@ describe("Bank accounts", () => {
|
|
|
19880
19880
|
});
|
|
19881
19881
|
describe("List bank accounts", () => {
|
|
19882
19882
|
it("should list bank accounts", () => __async(null, null, function* () {
|
|
19883
|
-
const mockedBankAccounts =
|
|
19884
|
-
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
|
|
19894
|
-
|
|
19895
|
-
|
|
19896
|
-
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19901
|
-
|
|
19902
|
-
|
|
19903
|
-
|
|
19904
|
-
|
|
19905
|
-
|
|
19906
|
-
|
|
19907
|
-
|
|
19908
|
-
|
|
19909
|
-
|
|
19910
|
-
|
|
19911
|
-
|
|
19912
|
-
|
|
19913
|
-
|
|
19914
|
-
|
|
19915
|
-
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
|
|
19919
|
-
|
|
19920
|
-
|
|
19921
|
-
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19925
|
-
|
|
19926
|
-
|
|
19927
|
-
|
|
19928
|
-
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
|
|
19932
|
-
|
|
19933
|
-
|
|
19934
|
-
|
|
19935
|
-
|
|
19936
|
-
|
|
19937
|
-
|
|
19938
|
-
|
|
19939
|
-
|
|
19940
|
-
|
|
19941
|
-
|
|
19942
|
-
|
|
19943
|
-
|
|
19944
|
-
]
|
|
19945
|
-
};
|
|
19883
|
+
const mockedBankAccounts = [
|
|
19884
|
+
{
|
|
19885
|
+
id: "ba_000000000000",
|
|
19886
|
+
type: "wire",
|
|
19887
|
+
name: "Bank Account Name",
|
|
19888
|
+
pix_key: "14947677768",
|
|
19889
|
+
beneficiary_name: "Individual full name or business name",
|
|
19890
|
+
routing_number: "012345678",
|
|
19891
|
+
account_number: "1001001234",
|
|
19892
|
+
account_type: "checking",
|
|
19893
|
+
account_class: "individual",
|
|
19894
|
+
address_line_1: "Address line 1",
|
|
19895
|
+
address_line_2: "Address line 2",
|
|
19896
|
+
city: "City",
|
|
19897
|
+
state_province_region: "State/Province/Region",
|
|
19898
|
+
country: "US",
|
|
19899
|
+
postal_code: "Postal code",
|
|
19900
|
+
spei_protocol: "clabe",
|
|
19901
|
+
spei_institution_code: "40002",
|
|
19902
|
+
spei_clabe: "5482347403740546",
|
|
19903
|
+
transfers_type: "CVU",
|
|
19904
|
+
transfers_account: "BM123123123123",
|
|
19905
|
+
ach_cop_beneficiary_first_name: "Fernando",
|
|
19906
|
+
ach_cop_beneficiary_last_name: "Guzman Alarc\xF3n",
|
|
19907
|
+
ach_cop_document_id: "1661105408",
|
|
19908
|
+
ach_cop_document_type: "CC",
|
|
19909
|
+
ach_cop_email: "fernando.guzman@gmail.com",
|
|
19910
|
+
ach_cop_bank_code: "051",
|
|
19911
|
+
ach_cop_bank_account: "12345678",
|
|
19912
|
+
swift_code_bic: "123456789",
|
|
19913
|
+
swift_account_holder_name: "John Doe",
|
|
19914
|
+
swift_account_number_iban: "123456789",
|
|
19915
|
+
swift_beneficiary_address_line_1: "123 Main Street, Suite 100, Downtown District, City Center CP 12345",
|
|
19916
|
+
swift_beneficiary_address_line_2: "456 Oak Avenue, Building 7, Financial District, Business Center CP 54321",
|
|
19917
|
+
swift_beneficiary_country: "MX",
|
|
19918
|
+
swift_beneficiary_city: "City",
|
|
19919
|
+
swift_beneficiary_state_province_region: "District",
|
|
19920
|
+
swift_beneficiary_postal_code: "11530",
|
|
19921
|
+
swift_bank_name: "Banco Regional SA",
|
|
19922
|
+
swift_bank_address_line_1: "123 Main Street, Suite 100, Downtown District, City Center CP 12345",
|
|
19923
|
+
swift_bank_address_line_2: "456 Oak Avenue, Building 7, Financial District, Business Center CP 54321",
|
|
19924
|
+
swift_bank_country: "MX",
|
|
19925
|
+
swift_bank_city: "City",
|
|
19926
|
+
swift_bank_state_province_region: "District",
|
|
19927
|
+
swift_bank_postal_code: "11530",
|
|
19928
|
+
swift_intermediary_bank_swift_code_bic: "AEIBARB1",
|
|
19929
|
+
swift_intermediary_bank_account_number_iban: "123456789",
|
|
19930
|
+
swift_intermediary_bank_name: "Banco Regional SA",
|
|
19931
|
+
swift_intermediary_bank_country: "US",
|
|
19932
|
+
tron_wallet_hash: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
|
|
19933
|
+
offramp_wallets: [
|
|
19934
|
+
{
|
|
19935
|
+
address: "TALJN9zTTEL9TVBb4WuTt6wLvPqJZr3hvb",
|
|
19936
|
+
id: "ow_000000000000",
|
|
19937
|
+
network: "tron",
|
|
19938
|
+
external_id: "your_external_id"
|
|
19939
|
+
}
|
|
19940
|
+
],
|
|
19941
|
+
created_at: "2021-01-01T00:00:00Z"
|
|
19942
|
+
}
|
|
19943
|
+
];
|
|
19946
19944
|
fetchMock.mockResponseOnce(JSON.stringify(mockedBankAccounts), {
|
|
19947
19945
|
headers: { "Content-Type": "application/json" }
|
|
19948
19946
|
});
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-IJSACZHV.mjs";
|
|
12
12
|
import "../../chunk-VAVDEV6P.mjs";
|
|
13
13
|
import "../../chunk-TVOMVVOO.mjs";
|
|
14
14
|
import "../../chunk-YHI3J2CL.mjs";
|
|
@@ -377,69 +377,67 @@ var require_bank_accounts_test = __commonJS({
|
|
|
377
377
|
});
|
|
378
378
|
describe("List bank accounts", () => {
|
|
379
379
|
it("should list bank accounts", () => __async(null, null, function* () {
|
|
380
|
-
const mockedBankAccounts =
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
]
|
|
442
|
-
};
|
|
380
|
+
const mockedBankAccounts = [
|
|
381
|
+
{
|
|
382
|
+
id: "ba_000000000000",
|
|
383
|
+
type: "wire",
|
|
384
|
+
name: "Bank Account Name",
|
|
385
|
+
pix_key: "14947677768",
|
|
386
|
+
beneficiary_name: "Individual full name or business name",
|
|
387
|
+
routing_number: "012345678",
|
|
388
|
+
account_number: "1001001234",
|
|
389
|
+
account_type: "checking",
|
|
390
|
+
account_class: "individual",
|
|
391
|
+
address_line_1: "Address line 1",
|
|
392
|
+
address_line_2: "Address line 2",
|
|
393
|
+
city: "City",
|
|
394
|
+
state_province_region: "State/Province/Region",
|
|
395
|
+
country: "US",
|
|
396
|
+
postal_code: "Postal code",
|
|
397
|
+
spei_protocol: "clabe",
|
|
398
|
+
spei_institution_code: "40002",
|
|
399
|
+
spei_clabe: "5482347403740546",
|
|
400
|
+
transfers_type: "CVU",
|
|
401
|
+
transfers_account: "BM123123123123",
|
|
402
|
+
ach_cop_beneficiary_first_name: "Fernando",
|
|
403
|
+
ach_cop_beneficiary_last_name: "Guzman Alarc\xF3n",
|
|
404
|
+
ach_cop_document_id: "1661105408",
|
|
405
|
+
ach_cop_document_type: "CC",
|
|
406
|
+
ach_cop_email: "fernando.guzman@gmail.com",
|
|
407
|
+
ach_cop_bank_code: "051",
|
|
408
|
+
ach_cop_bank_account: "12345678",
|
|
409
|
+
swift_code_bic: "123456789",
|
|
410
|
+
swift_account_holder_name: "John Doe",
|
|
411
|
+
swift_account_number_iban: "123456789",
|
|
412
|
+
swift_beneficiary_address_line_1: "123 Main Street, Suite 100, Downtown District, City Center CP 12345",
|
|
413
|
+
swift_beneficiary_address_line_2: "456 Oak Avenue, Building 7, Financial District, Business Center CP 54321",
|
|
414
|
+
swift_beneficiary_country: "MX",
|
|
415
|
+
swift_beneficiary_city: "City",
|
|
416
|
+
swift_beneficiary_state_province_region: "District",
|
|
417
|
+
swift_beneficiary_postal_code: "11530",
|
|
418
|
+
swift_bank_name: "Banco Regional SA",
|
|
419
|
+
swift_bank_address_line_1: "123 Main Street, Suite 100, Downtown District, City Center CP 12345",
|
|
420
|
+
swift_bank_address_line_2: "456 Oak Avenue, Building 7, Financial District, Business Center CP 54321",
|
|
421
|
+
swift_bank_country: "MX",
|
|
422
|
+
swift_bank_city: "City",
|
|
423
|
+
swift_bank_state_province_region: "District",
|
|
424
|
+
swift_bank_postal_code: "11530",
|
|
425
|
+
swift_intermediary_bank_swift_code_bic: "AEIBARB1",
|
|
426
|
+
swift_intermediary_bank_account_number_iban: "123456789",
|
|
427
|
+
swift_intermediary_bank_name: "Banco Regional SA",
|
|
428
|
+
swift_intermediary_bank_country: "US",
|
|
429
|
+
tron_wallet_hash: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
|
|
430
|
+
offramp_wallets: [
|
|
431
|
+
{
|
|
432
|
+
address: "TALJN9zTTEL9TVBb4WuTt6wLvPqJZr3hvb",
|
|
433
|
+
id: "ow_000000000000",
|
|
434
|
+
network: "tron",
|
|
435
|
+
external_id: "your_external_id"
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
created_at: "2021-01-01T00:00:00Z"
|
|
439
|
+
}
|
|
440
|
+
];
|
|
443
441
|
fetchMock.mockResponseOnce(JSON.stringify(mockedBankAccounts), {
|
|
444
442
|
headers: { "Content-Type": "application/json" }
|
|
445
443
|
});
|
|
@@ -11,79 +11,77 @@ type ListBankAccountsInput = {
|
|
|
11
11
|
bank_account_id?: string;
|
|
12
12
|
country?: Country;
|
|
13
13
|
};
|
|
14
|
-
type ListBankAccountsResponse = {
|
|
15
|
-
|
|
14
|
+
type ListBankAccountsResponse = Array<{
|
|
15
|
+
id: string;
|
|
16
|
+
type: Rail;
|
|
17
|
+
name: string;
|
|
18
|
+
pix_key?: string;
|
|
19
|
+
beneficiary_name?: string;
|
|
20
|
+
routing_number?: string;
|
|
21
|
+
account_number?: string;
|
|
22
|
+
account_type?: BankAccountType;
|
|
23
|
+
account_class?: AccountClass;
|
|
24
|
+
address_line_1?: string;
|
|
25
|
+
address_line_2?: string;
|
|
26
|
+
city?: string;
|
|
27
|
+
state_province_region?: string;
|
|
28
|
+
country?: Country;
|
|
29
|
+
postal_code?: string;
|
|
30
|
+
spei_protocol?: string;
|
|
31
|
+
spei_institution_code?: string;
|
|
32
|
+
spei_clabe?: string;
|
|
33
|
+
transfers_type?: "CVU" | "CBU" | "ALIAS";
|
|
34
|
+
transfers_account?: string;
|
|
35
|
+
ach_cop_beneficiary_first_name?: string;
|
|
36
|
+
ach_cop_beneficiary_last_name?: string;
|
|
37
|
+
ach_cop_document_id?: string;
|
|
38
|
+
ach_cop_document_type?: AchCopDocument;
|
|
39
|
+
ach_cop_email?: string;
|
|
40
|
+
ach_cop_bank_code?: string;
|
|
41
|
+
ach_cop_bank_account?: string;
|
|
42
|
+
swift_code_bic?: string;
|
|
43
|
+
swift_account_holder_name?: string;
|
|
44
|
+
swift_account_number_iban?: string;
|
|
45
|
+
swift_beneficiary_address_line_1?: string;
|
|
46
|
+
swift_beneficiary_address_line_2?: string;
|
|
47
|
+
swift_beneficiary_country?: Country;
|
|
48
|
+
swift_beneficiary_city?: string;
|
|
49
|
+
swift_beneficiary_state_province_region?: string;
|
|
50
|
+
swift_beneficiary_postal_code?: string;
|
|
51
|
+
swift_bank_name?: string;
|
|
52
|
+
swift_bank_address_line_1?: string;
|
|
53
|
+
swift_bank_address_line_2?: string;
|
|
54
|
+
swift_bank_country?: Country;
|
|
55
|
+
swift_bank_city?: string;
|
|
56
|
+
swift_bank_state_province_region?: string;
|
|
57
|
+
swift_bank_postal_code?: string;
|
|
58
|
+
swift_intermediary_bank_swift_code_bic?: string;
|
|
59
|
+
swift_intermediary_bank_account_number_iban?: string;
|
|
60
|
+
swift_intermediary_bank_name?: string;
|
|
61
|
+
swift_intermediary_bank_country?: Country;
|
|
62
|
+
pix_safe_bank_code?: string;
|
|
63
|
+
pix_safe_branch_code?: string;
|
|
64
|
+
pix_safe_cpf_cnpj?: string;
|
|
65
|
+
tron_wallet_hash?: string;
|
|
66
|
+
sepa_beneficiary_bic?: string | null;
|
|
67
|
+
offramp_wallets?: Array<{
|
|
68
|
+
address: string;
|
|
16
69
|
id: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
pix_key?: string;
|
|
20
|
-
beneficiary_name?: string;
|
|
21
|
-
routing_number?: string;
|
|
22
|
-
account_number?: string;
|
|
23
|
-
account_type?: BankAccountType;
|
|
24
|
-
account_class?: AccountClass;
|
|
25
|
-
address_line_1?: string;
|
|
26
|
-
address_line_2?: string;
|
|
27
|
-
city?: string;
|
|
28
|
-
state_province_region?: string;
|
|
29
|
-
country?: Country;
|
|
30
|
-
postal_code?: string;
|
|
31
|
-
spei_protocol?: string;
|
|
32
|
-
spei_institution_code?: string;
|
|
33
|
-
spei_clabe?: string;
|
|
34
|
-
transfers_type?: "CVU" | "CBU" | "ALIAS";
|
|
35
|
-
transfers_account?: string;
|
|
36
|
-
ach_cop_beneficiary_first_name?: string;
|
|
37
|
-
ach_cop_beneficiary_last_name?: string;
|
|
38
|
-
ach_cop_document_id?: string;
|
|
39
|
-
ach_cop_document_type?: AchCopDocument;
|
|
40
|
-
ach_cop_email?: string;
|
|
41
|
-
ach_cop_bank_code?: string;
|
|
42
|
-
ach_cop_bank_account?: string;
|
|
43
|
-
swift_code_bic?: string;
|
|
44
|
-
swift_account_holder_name?: string;
|
|
45
|
-
swift_account_number_iban?: string;
|
|
46
|
-
swift_beneficiary_address_line_1?: string;
|
|
47
|
-
swift_beneficiary_address_line_2?: string;
|
|
48
|
-
swift_beneficiary_country?: Country;
|
|
49
|
-
swift_beneficiary_city?: string;
|
|
50
|
-
swift_beneficiary_state_province_region?: string;
|
|
51
|
-
swift_beneficiary_postal_code?: string;
|
|
52
|
-
swift_bank_name?: string;
|
|
53
|
-
swift_bank_address_line_1?: string;
|
|
54
|
-
swift_bank_address_line_2?: string;
|
|
55
|
-
swift_bank_country?: Country;
|
|
56
|
-
swift_bank_city?: string;
|
|
57
|
-
swift_bank_state_province_region?: string;
|
|
58
|
-
swift_bank_postal_code?: string;
|
|
59
|
-
swift_intermediary_bank_swift_code_bic?: string;
|
|
60
|
-
swift_intermediary_bank_account_number_iban?: string;
|
|
61
|
-
swift_intermediary_bank_name?: string;
|
|
62
|
-
swift_intermediary_bank_country?: Country;
|
|
63
|
-
pix_safe_bank_code?: string;
|
|
64
|
-
pix_safe_branch_code?: string;
|
|
65
|
-
pix_safe_cpf_cnpj?: string;
|
|
66
|
-
tron_wallet_hash?: string;
|
|
67
|
-
sepa_beneficiary_bic?: string | null;
|
|
68
|
-
offramp_wallets?: Array<{
|
|
69
|
-
address: string;
|
|
70
|
-
id: string;
|
|
71
|
-
network: "tron";
|
|
72
|
-
external_id: string;
|
|
73
|
-
}>;
|
|
74
|
-
business_industry?: string | null;
|
|
75
|
-
phone_number?: string | null;
|
|
76
|
-
tax_id?: string | null;
|
|
77
|
-
date_of_birth?: string | null;
|
|
78
|
-
status?: string | null;
|
|
79
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
80
|
-
swift_payment_code?: string | null;
|
|
81
|
-
ted_bank_code?: string | null;
|
|
82
|
-
ted_branch_code?: string | null;
|
|
83
|
-
ted_cpf_cnpj?: string | null;
|
|
84
|
-
created_at: string;
|
|
70
|
+
network: "tron";
|
|
71
|
+
external_id: string;
|
|
85
72
|
}>;
|
|
86
|
-
|
|
73
|
+
business_industry?: string | null;
|
|
74
|
+
phone_number?: string | null;
|
|
75
|
+
tax_id?: string | null;
|
|
76
|
+
date_of_birth?: string | null;
|
|
77
|
+
status?: string | null;
|
|
78
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
79
|
+
swift_payment_code?: string | null;
|
|
80
|
+
ted_bank_code?: string | null;
|
|
81
|
+
ted_branch_code?: string | null;
|
|
82
|
+
ted_cpf_cnpj?: string | null;
|
|
83
|
+
created_at: string;
|
|
84
|
+
}>;
|
|
87
85
|
type GetBankAccountInput = {
|
|
88
86
|
customer_id: string;
|
|
89
87
|
id: string;
|
|
@@ -11,79 +11,77 @@ type ListBankAccountsInput = {
|
|
|
11
11
|
bank_account_id?: string;
|
|
12
12
|
country?: Country;
|
|
13
13
|
};
|
|
14
|
-
type ListBankAccountsResponse = {
|
|
15
|
-
|
|
14
|
+
type ListBankAccountsResponse = Array<{
|
|
15
|
+
id: string;
|
|
16
|
+
type: Rail;
|
|
17
|
+
name: string;
|
|
18
|
+
pix_key?: string;
|
|
19
|
+
beneficiary_name?: string;
|
|
20
|
+
routing_number?: string;
|
|
21
|
+
account_number?: string;
|
|
22
|
+
account_type?: BankAccountType;
|
|
23
|
+
account_class?: AccountClass;
|
|
24
|
+
address_line_1?: string;
|
|
25
|
+
address_line_2?: string;
|
|
26
|
+
city?: string;
|
|
27
|
+
state_province_region?: string;
|
|
28
|
+
country?: Country;
|
|
29
|
+
postal_code?: string;
|
|
30
|
+
spei_protocol?: string;
|
|
31
|
+
spei_institution_code?: string;
|
|
32
|
+
spei_clabe?: string;
|
|
33
|
+
transfers_type?: "CVU" | "CBU" | "ALIAS";
|
|
34
|
+
transfers_account?: string;
|
|
35
|
+
ach_cop_beneficiary_first_name?: string;
|
|
36
|
+
ach_cop_beneficiary_last_name?: string;
|
|
37
|
+
ach_cop_document_id?: string;
|
|
38
|
+
ach_cop_document_type?: AchCopDocument;
|
|
39
|
+
ach_cop_email?: string;
|
|
40
|
+
ach_cop_bank_code?: string;
|
|
41
|
+
ach_cop_bank_account?: string;
|
|
42
|
+
swift_code_bic?: string;
|
|
43
|
+
swift_account_holder_name?: string;
|
|
44
|
+
swift_account_number_iban?: string;
|
|
45
|
+
swift_beneficiary_address_line_1?: string;
|
|
46
|
+
swift_beneficiary_address_line_2?: string;
|
|
47
|
+
swift_beneficiary_country?: Country;
|
|
48
|
+
swift_beneficiary_city?: string;
|
|
49
|
+
swift_beneficiary_state_province_region?: string;
|
|
50
|
+
swift_beneficiary_postal_code?: string;
|
|
51
|
+
swift_bank_name?: string;
|
|
52
|
+
swift_bank_address_line_1?: string;
|
|
53
|
+
swift_bank_address_line_2?: string;
|
|
54
|
+
swift_bank_country?: Country;
|
|
55
|
+
swift_bank_city?: string;
|
|
56
|
+
swift_bank_state_province_region?: string;
|
|
57
|
+
swift_bank_postal_code?: string;
|
|
58
|
+
swift_intermediary_bank_swift_code_bic?: string;
|
|
59
|
+
swift_intermediary_bank_account_number_iban?: string;
|
|
60
|
+
swift_intermediary_bank_name?: string;
|
|
61
|
+
swift_intermediary_bank_country?: Country;
|
|
62
|
+
pix_safe_bank_code?: string;
|
|
63
|
+
pix_safe_branch_code?: string;
|
|
64
|
+
pix_safe_cpf_cnpj?: string;
|
|
65
|
+
tron_wallet_hash?: string;
|
|
66
|
+
sepa_beneficiary_bic?: string | null;
|
|
67
|
+
offramp_wallets?: Array<{
|
|
68
|
+
address: string;
|
|
16
69
|
id: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
pix_key?: string;
|
|
20
|
-
beneficiary_name?: string;
|
|
21
|
-
routing_number?: string;
|
|
22
|
-
account_number?: string;
|
|
23
|
-
account_type?: BankAccountType;
|
|
24
|
-
account_class?: AccountClass;
|
|
25
|
-
address_line_1?: string;
|
|
26
|
-
address_line_2?: string;
|
|
27
|
-
city?: string;
|
|
28
|
-
state_province_region?: string;
|
|
29
|
-
country?: Country;
|
|
30
|
-
postal_code?: string;
|
|
31
|
-
spei_protocol?: string;
|
|
32
|
-
spei_institution_code?: string;
|
|
33
|
-
spei_clabe?: string;
|
|
34
|
-
transfers_type?: "CVU" | "CBU" | "ALIAS";
|
|
35
|
-
transfers_account?: string;
|
|
36
|
-
ach_cop_beneficiary_first_name?: string;
|
|
37
|
-
ach_cop_beneficiary_last_name?: string;
|
|
38
|
-
ach_cop_document_id?: string;
|
|
39
|
-
ach_cop_document_type?: AchCopDocument;
|
|
40
|
-
ach_cop_email?: string;
|
|
41
|
-
ach_cop_bank_code?: string;
|
|
42
|
-
ach_cop_bank_account?: string;
|
|
43
|
-
swift_code_bic?: string;
|
|
44
|
-
swift_account_holder_name?: string;
|
|
45
|
-
swift_account_number_iban?: string;
|
|
46
|
-
swift_beneficiary_address_line_1?: string;
|
|
47
|
-
swift_beneficiary_address_line_2?: string;
|
|
48
|
-
swift_beneficiary_country?: Country;
|
|
49
|
-
swift_beneficiary_city?: string;
|
|
50
|
-
swift_beneficiary_state_province_region?: string;
|
|
51
|
-
swift_beneficiary_postal_code?: string;
|
|
52
|
-
swift_bank_name?: string;
|
|
53
|
-
swift_bank_address_line_1?: string;
|
|
54
|
-
swift_bank_address_line_2?: string;
|
|
55
|
-
swift_bank_country?: Country;
|
|
56
|
-
swift_bank_city?: string;
|
|
57
|
-
swift_bank_state_province_region?: string;
|
|
58
|
-
swift_bank_postal_code?: string;
|
|
59
|
-
swift_intermediary_bank_swift_code_bic?: string;
|
|
60
|
-
swift_intermediary_bank_account_number_iban?: string;
|
|
61
|
-
swift_intermediary_bank_name?: string;
|
|
62
|
-
swift_intermediary_bank_country?: Country;
|
|
63
|
-
pix_safe_bank_code?: string;
|
|
64
|
-
pix_safe_branch_code?: string;
|
|
65
|
-
pix_safe_cpf_cnpj?: string;
|
|
66
|
-
tron_wallet_hash?: string;
|
|
67
|
-
sepa_beneficiary_bic?: string | null;
|
|
68
|
-
offramp_wallets?: Array<{
|
|
69
|
-
address: string;
|
|
70
|
-
id: string;
|
|
71
|
-
network: "tron";
|
|
72
|
-
external_id: string;
|
|
73
|
-
}>;
|
|
74
|
-
business_industry?: string | null;
|
|
75
|
-
phone_number?: string | null;
|
|
76
|
-
tax_id?: string | null;
|
|
77
|
-
date_of_birth?: string | null;
|
|
78
|
-
status?: string | null;
|
|
79
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
80
|
-
swift_payment_code?: string | null;
|
|
81
|
-
ted_bank_code?: string | null;
|
|
82
|
-
ted_branch_code?: string | null;
|
|
83
|
-
ted_cpf_cnpj?: string | null;
|
|
84
|
-
created_at: string;
|
|
70
|
+
network: "tron";
|
|
71
|
+
external_id: string;
|
|
85
72
|
}>;
|
|
86
|
-
|
|
73
|
+
business_industry?: string | null;
|
|
74
|
+
phone_number?: string | null;
|
|
75
|
+
tax_id?: string | null;
|
|
76
|
+
date_of_birth?: string | null;
|
|
77
|
+
status?: string | null;
|
|
78
|
+
recipient_relationship?: RecipientRelationship | null;
|
|
79
|
+
swift_payment_code?: string | null;
|
|
80
|
+
ted_bank_code?: string | null;
|
|
81
|
+
ted_branch_code?: string | null;
|
|
82
|
+
ted_cpf_cnpj?: string | null;
|
|
83
|
+
created_at: string;
|
|
84
|
+
}>;
|
|
87
85
|
type GetBankAccountInput = {
|
|
88
86
|
customer_id: string;
|
|
89
87
|
id: string;
|
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -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 = "4.0.
|
|
18705
|
+
var version = "4.0.1";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|