@getivy/node-sdk 2.3.0 → 2.5.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/CHANGELOG.md +21 -0
- package/bin/cli +12 -5
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/banks.d.mts +5 -5
- package/resources/banks.d.mts.map +1 -1
- package/resources/banks.d.ts +5 -5
- package/resources/banks.d.ts.map +1 -1
- package/resources/beneficiary-payouts.d.mts +1 -1
- package/resources/beneficiary-payouts.d.mts.map +1 -1
- package/resources/beneficiary-payouts.d.ts +1 -1
- package/resources/beneficiary-payouts.d.ts.map +1 -1
- package/resources/checkoutsession.d.mts +11 -5
- package/resources/checkoutsession.d.mts.map +1 -1
- package/resources/checkoutsession.d.ts +11 -5
- package/resources/checkoutsession.d.ts.map +1 -1
- package/resources/deposits.d.mts +16 -4
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +16 -4
- package/resources/deposits.d.ts.map +1 -1
- package/resources/orders.d.mts +67 -13
- package/resources/orders.d.mts.map +1 -1
- package/resources/orders.d.ts +67 -13
- package/resources/orders.d.ts.map +1 -1
- package/resources/payouts.d.mts +28 -4
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +28 -4
- package/resources/payouts.d.ts.map +1 -1
- package/resources/refunds.d.mts +2 -2
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +2 -2
- package/resources/refunds.d.ts.map +1 -1
- package/resources/returns.d.mts +2 -2
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +2 -2
- package/resources/returns.d.ts.map +1 -1
- package/resources/transactions.d.mts +2 -2
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +2 -2
- package/resources/transactions.d.ts.map +1 -1
- package/src/internal/types.ts +6 -8
- package/src/resources/banks.ts +5 -5
- package/src/resources/beneficiary-payouts.ts +1 -1
- package/src/resources/checkoutsession.ts +15 -5
- package/src/resources/deposits.ts +24 -4
- package/src/resources/orders.ts +103 -13
- package/src/resources/payouts.ts +44 -4
- package/src/resources/refunds.ts +2 -2
- package/src/resources/returns.ts +2 -2
- package/src/resources/transactions.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -86,7 +86,7 @@ export declare namespace TransactionListResponse {
|
|
|
86
86
|
/**
|
|
87
87
|
* Type of financial address
|
|
88
88
|
*/
|
|
89
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
89
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
90
90
|
bankCode?: Creditor.BankCode;
|
|
91
91
|
bban?: Creditor.Bban;
|
|
92
92
|
iban?: Creditor.Iban;
|
|
@@ -128,7 +128,7 @@ export declare namespace TransactionListResponse {
|
|
|
128
128
|
/**
|
|
129
129
|
* Type of financial address
|
|
130
130
|
*/
|
|
131
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
131
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
132
132
|
bankCode?: Debtor.BankCode;
|
|
133
133
|
bban?: Debtor.Bban;
|
|
134
134
|
iban?: Debtor.Iban;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;C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<T> =
|
|
|
40
40
|
: T extends (...args: infer A) => unknown ? A
|
|
41
41
|
: never;
|
|
42
42
|
|
|
43
|
-
/* eslint-disable */
|
|
44
43
|
/**
|
|
45
44
|
* These imports attempt to get types from a parent package's dependencies.
|
|
46
45
|
* Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which
|
|
@@ -63,19 +62,18 @@ type OverloadedParameters<T> =
|
|
|
63
62
|
*
|
|
64
63
|
* [1]: https://www.typescriptlang.org/tsconfig/#typeAcquisition
|
|
65
64
|
*/
|
|
66
|
-
/** @ts-ignore For users with \@types/node */
|
|
65
|
+
/** @ts-ignore For users with \@types/node */ /* prettier-ignore */
|
|
67
66
|
type UndiciTypesRequestInit = NotAny<import('../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/undici-types/index.d.ts').RequestInit>;
|
|
68
|
-
/** @ts-ignore For users with undici */
|
|
67
|
+
/** @ts-ignore For users with undici */ /* prettier-ignore */
|
|
69
68
|
type UndiciRequestInit = NotAny<import('../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/undici/index.d.ts').RequestInit>;
|
|
70
|
-
/** @ts-ignore For users with \@types/bun */
|
|
69
|
+
/** @ts-ignore For users with \@types/bun */ /* prettier-ignore */
|
|
71
70
|
type BunRequestInit = globalThis.FetchRequestInit;
|
|
72
|
-
/** @ts-ignore For users with node-fetch@2 */
|
|
71
|
+
/** @ts-ignore For users with node-fetch@2 */ /* prettier-ignore */
|
|
73
72
|
type NodeFetch2RequestInit = NotAny<import('../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit>;
|
|
74
|
-
/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */
|
|
73
|
+
/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ /* prettier-ignore */
|
|
75
74
|
type NodeFetch3RequestInit = NotAny<import('../node_modules/node-fetch').RequestInit> | NotAny<import('../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/node-fetch').RequestInit>;
|
|
76
|
-
/** @ts-ignore For users who use Deno */
|
|
75
|
+
/** @ts-ignore For users who use Deno */ /* prettier-ignore */
|
|
77
76
|
type FetchRequestInit = NonNullable<OverloadedParameters<typeof fetch>[1]>;
|
|
78
|
-
/* eslint-enable */
|
|
79
77
|
|
|
80
78
|
type RequestInits =
|
|
81
79
|
| NotAny<UndiciTypesRequestInit>
|
package/src/resources/banks.ts
CHANGED
|
@@ -36,7 +36,7 @@ export interface BankRetrieveResponse {
|
|
|
36
36
|
*/
|
|
37
37
|
id: string;
|
|
38
38
|
|
|
39
|
-
currencies: Array<'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK'>;
|
|
39
|
+
currencies: Array<'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK'>;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Whether the bank is a default bank.
|
|
@@ -370,7 +370,7 @@ export namespace BankListResponse {
|
|
|
370
370
|
*/
|
|
371
371
|
id: string;
|
|
372
372
|
|
|
373
|
-
currencies: Array<'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK'>;
|
|
373
|
+
currencies: Array<'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK'>;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Whether the bank is a default bank.
|
|
@@ -705,7 +705,7 @@ export namespace BankSearchResponse {
|
|
|
705
705
|
*/
|
|
706
706
|
id: string;
|
|
707
707
|
|
|
708
|
-
currencies: Array<'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK'>;
|
|
708
|
+
currencies: Array<'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK'>;
|
|
709
709
|
|
|
710
710
|
/**
|
|
711
711
|
* Whether the bank is a default bank.
|
|
@@ -1028,7 +1028,7 @@ export interface BankListParams {
|
|
|
1028
1028
|
/**
|
|
1029
1029
|
* ISO 4217 currency code. Filter banks with provided currency only.
|
|
1030
1030
|
*/
|
|
1031
|
-
currency?: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
1031
|
+
currency?: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
1032
1032
|
|
|
1033
1033
|
/**
|
|
1034
1034
|
* If provided the list will show banks in this group only. Groups are e.g.
|
|
@@ -1317,7 +1317,7 @@ export interface BankSearchParams {
|
|
|
1317
1317
|
/**
|
|
1318
1318
|
* ISO 4217 currency code. Filter banks with provided currency only.
|
|
1319
1319
|
*/
|
|
1320
|
-
currency?: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
1320
|
+
currency?: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
1321
1321
|
|
|
1322
1322
|
/**
|
|
1323
1323
|
* If provided the list will show banks in this group only. Groups are e.g.
|
|
@@ -42,7 +42,7 @@ export namespace BeneficiaryPayoutCreateResponse {
|
|
|
42
42
|
* The currency of the balance which was settled to the beneficiary bank account or
|
|
43
43
|
* wallet.
|
|
44
44
|
*/
|
|
45
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
45
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Description of the payout
|
|
@@ -966,7 +966,7 @@ export namespace CheckoutsessionCreateResponse {
|
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
export interface Price {
|
|
969
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
969
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
970
970
|
|
|
971
971
|
total: number;
|
|
972
972
|
|
|
@@ -2455,7 +2455,7 @@ export namespace CheckoutsessionRetrieveResponse {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
|
|
2457
2457
|
export interface Price {
|
|
2458
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
2458
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
2459
2459
|
|
|
2460
2460
|
total: number;
|
|
2461
2461
|
|
|
@@ -3944,7 +3944,7 @@ export namespace CheckoutsessionExpireResponse {
|
|
|
3944
3944
|
}
|
|
3945
3945
|
|
|
3946
3946
|
export interface Price {
|
|
3947
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
3947
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
3948
3948
|
|
|
3949
3949
|
total: number;
|
|
3950
3950
|
|
|
@@ -4869,7 +4869,7 @@ export namespace CheckoutsessionCreateParams {
|
|
|
4869
4869
|
* Price of the checkout session
|
|
4870
4870
|
*/
|
|
4871
4871
|
export interface Price {
|
|
4872
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
4872
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
4873
4873
|
|
|
4874
4874
|
total: number;
|
|
4875
4875
|
|
|
@@ -5511,7 +5511,9 @@ export namespace CheckoutsessionCreateParams {
|
|
|
5511
5511
|
}
|
|
5512
5512
|
|
|
5513
5513
|
export interface FinancialAddress {
|
|
5514
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
5514
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
5515
|
+
|
|
5516
|
+
aba?: FinancialAddress.Aba;
|
|
5515
5517
|
|
|
5516
5518
|
bankCode?: FinancialAddress.BankCode;
|
|
5517
5519
|
|
|
@@ -5525,6 +5527,14 @@ export namespace CheckoutsessionCreateParams {
|
|
|
5525
5527
|
}
|
|
5526
5528
|
|
|
5527
5529
|
export namespace FinancialAddress {
|
|
5530
|
+
export interface Aba {
|
|
5531
|
+
accountHolderName: string;
|
|
5532
|
+
|
|
5533
|
+
accountNumber: string;
|
|
5534
|
+
|
|
5535
|
+
routingNumber: string;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5528
5538
|
export interface BankCode {
|
|
5529
5539
|
accountHolderName: string;
|
|
5530
5540
|
|
|
@@ -27,7 +27,7 @@ export interface DepositRetrieveResponse {
|
|
|
27
27
|
/**
|
|
28
28
|
* The currency of the deposit
|
|
29
29
|
*/
|
|
30
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USDC';
|
|
30
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USD' | 'USDC';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* The payee account identifier
|
|
@@ -94,7 +94,9 @@ export namespace DepositRetrieveResponse {
|
|
|
94
94
|
* The payee account identifier
|
|
95
95
|
*/
|
|
96
96
|
export interface Payee {
|
|
97
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
97
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
98
|
+
|
|
99
|
+
aba?: Payee.Aba;
|
|
98
100
|
|
|
99
101
|
bankCode?: Payee.BankCode;
|
|
100
102
|
|
|
@@ -108,6 +110,14 @@ export namespace DepositRetrieveResponse {
|
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
export namespace Payee {
|
|
113
|
+
export interface Aba {
|
|
114
|
+
accountHolderName: string;
|
|
115
|
+
|
|
116
|
+
accountNumber: string;
|
|
117
|
+
|
|
118
|
+
routingNumber: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
111
121
|
export interface BankCode {
|
|
112
122
|
accountHolderName: string;
|
|
113
123
|
|
|
@@ -157,7 +167,9 @@ export namespace DepositRetrieveResponse {
|
|
|
157
167
|
* The payer account identifier
|
|
158
168
|
*/
|
|
159
169
|
export interface Payer {
|
|
160
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
170
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
171
|
+
|
|
172
|
+
aba?: Payer.Aba;
|
|
161
173
|
|
|
162
174
|
bankCode?: Payer.BankCode;
|
|
163
175
|
|
|
@@ -171,6 +183,14 @@ export namespace DepositRetrieveResponse {
|
|
|
171
183
|
}
|
|
172
184
|
|
|
173
185
|
export namespace Payer {
|
|
186
|
+
export interface Aba {
|
|
187
|
+
accountHolderName: string;
|
|
188
|
+
|
|
189
|
+
accountNumber: string;
|
|
190
|
+
|
|
191
|
+
routingNumber: string;
|
|
192
|
+
}
|
|
193
|
+
|
|
174
194
|
export interface BankCode {
|
|
175
195
|
accountHolderName: string;
|
|
176
196
|
|
|
@@ -235,7 +255,7 @@ export namespace DepositRetrieveResponse {
|
|
|
235
255
|
/**
|
|
236
256
|
* The currency of the return
|
|
237
257
|
*/
|
|
238
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USDC';
|
|
258
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USD' | 'USDC';
|
|
239
259
|
|
|
240
260
|
/**
|
|
241
261
|
* The ID of the associated deposit
|
package/src/resources/orders.ts
CHANGED
|
@@ -238,7 +238,7 @@ export namespace OrderCreateResponse {
|
|
|
238
238
|
* The price object. All values in decimals, e.g. 0.13 for 13 cents.
|
|
239
239
|
*/
|
|
240
240
|
export interface Price {
|
|
241
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
241
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
242
242
|
|
|
243
243
|
total: number;
|
|
244
244
|
|
|
@@ -540,7 +540,9 @@ export namespace OrderCreateResponse {
|
|
|
540
540
|
|
|
541
541
|
export namespace Destination {
|
|
542
542
|
export interface BankAccount {
|
|
543
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
543
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
544
|
+
|
|
545
|
+
aba?: BankAccount.Aba;
|
|
544
546
|
|
|
545
547
|
bankCode?: BankAccount.BankCode;
|
|
546
548
|
|
|
@@ -556,6 +558,14 @@ export namespace OrderCreateResponse {
|
|
|
556
558
|
}
|
|
557
559
|
|
|
558
560
|
export namespace BankAccount {
|
|
561
|
+
export interface Aba {
|
|
562
|
+
accountHolderName: string;
|
|
563
|
+
|
|
564
|
+
accountNumber: string;
|
|
565
|
+
|
|
566
|
+
routingNumber: string;
|
|
567
|
+
}
|
|
568
|
+
|
|
559
569
|
export interface BankCode {
|
|
560
570
|
accountHolderName: string;
|
|
561
571
|
|
|
@@ -661,7 +671,9 @@ export namespace OrderCreateResponse {
|
|
|
661
671
|
* when requested via order/details and therefore requires authentication.
|
|
662
672
|
*/
|
|
663
673
|
export interface MerchantFinancialAddress {
|
|
664
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
674
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
675
|
+
|
|
676
|
+
aba?: MerchantFinancialAddress.Aba;
|
|
665
677
|
|
|
666
678
|
bankCode?: MerchantFinancialAddress.BankCode;
|
|
667
679
|
|
|
@@ -677,6 +689,14 @@ export namespace OrderCreateResponse {
|
|
|
677
689
|
}
|
|
678
690
|
|
|
679
691
|
export namespace MerchantFinancialAddress {
|
|
692
|
+
export interface Aba {
|
|
693
|
+
accountHolderName: string;
|
|
694
|
+
|
|
695
|
+
accountNumber: string;
|
|
696
|
+
|
|
697
|
+
routingNumber: string;
|
|
698
|
+
}
|
|
699
|
+
|
|
680
700
|
export interface BankCode {
|
|
681
701
|
accountHolderName: string;
|
|
682
702
|
|
|
@@ -727,7 +747,9 @@ export namespace OrderCreateResponse {
|
|
|
727
747
|
* after successful PIS flow.
|
|
728
748
|
*/
|
|
729
749
|
export interface PayerFinancialAddress {
|
|
730
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
750
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
751
|
+
|
|
752
|
+
aba?: PayerFinancialAddress.Aba;
|
|
731
753
|
|
|
732
754
|
bankCode?: PayerFinancialAddress.BankCode;
|
|
733
755
|
|
|
@@ -741,6 +763,14 @@ export namespace OrderCreateResponse {
|
|
|
741
763
|
}
|
|
742
764
|
|
|
743
765
|
export namespace PayerFinancialAddress {
|
|
766
|
+
export interface Aba {
|
|
767
|
+
accountNumber: string;
|
|
768
|
+
|
|
769
|
+
routingNumber: string;
|
|
770
|
+
|
|
771
|
+
accountHolderName?: string;
|
|
772
|
+
}
|
|
773
|
+
|
|
744
774
|
export interface BankCode {
|
|
745
775
|
accountNumber: string;
|
|
746
776
|
|
|
@@ -1403,7 +1433,7 @@ export namespace OrderRetrieveResponse {
|
|
|
1403
1433
|
* The price object. All values in decimals, e.g. 0.13 for 13 cents.
|
|
1404
1434
|
*/
|
|
1405
1435
|
export interface Price {
|
|
1406
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
1436
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
1407
1437
|
|
|
1408
1438
|
total: number;
|
|
1409
1439
|
|
|
@@ -1705,7 +1735,9 @@ export namespace OrderRetrieveResponse {
|
|
|
1705
1735
|
|
|
1706
1736
|
export namespace Destination {
|
|
1707
1737
|
export interface BankAccount {
|
|
1708
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
1738
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
1739
|
+
|
|
1740
|
+
aba?: BankAccount.Aba;
|
|
1709
1741
|
|
|
1710
1742
|
bankCode?: BankAccount.BankCode;
|
|
1711
1743
|
|
|
@@ -1721,6 +1753,14 @@ export namespace OrderRetrieveResponse {
|
|
|
1721
1753
|
}
|
|
1722
1754
|
|
|
1723
1755
|
export namespace BankAccount {
|
|
1756
|
+
export interface Aba {
|
|
1757
|
+
accountHolderName: string;
|
|
1758
|
+
|
|
1759
|
+
accountNumber: string;
|
|
1760
|
+
|
|
1761
|
+
routingNumber: string;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1724
1764
|
export interface BankCode {
|
|
1725
1765
|
accountHolderName: string;
|
|
1726
1766
|
|
|
@@ -1826,7 +1866,9 @@ export namespace OrderRetrieveResponse {
|
|
|
1826
1866
|
* when requested via order/details and therefore requires authentication.
|
|
1827
1867
|
*/
|
|
1828
1868
|
export interface MerchantFinancialAddress {
|
|
1829
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
1869
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
1870
|
+
|
|
1871
|
+
aba?: MerchantFinancialAddress.Aba;
|
|
1830
1872
|
|
|
1831
1873
|
bankCode?: MerchantFinancialAddress.BankCode;
|
|
1832
1874
|
|
|
@@ -1842,6 +1884,14 @@ export namespace OrderRetrieveResponse {
|
|
|
1842
1884
|
}
|
|
1843
1885
|
|
|
1844
1886
|
export namespace MerchantFinancialAddress {
|
|
1887
|
+
export interface Aba {
|
|
1888
|
+
accountHolderName: string;
|
|
1889
|
+
|
|
1890
|
+
accountNumber: string;
|
|
1891
|
+
|
|
1892
|
+
routingNumber: string;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1845
1895
|
export interface BankCode {
|
|
1846
1896
|
accountHolderName: string;
|
|
1847
1897
|
|
|
@@ -1892,7 +1942,9 @@ export namespace OrderRetrieveResponse {
|
|
|
1892
1942
|
* after successful PIS flow.
|
|
1893
1943
|
*/
|
|
1894
1944
|
export interface PayerFinancialAddress {
|
|
1895
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
1945
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
1946
|
+
|
|
1947
|
+
aba?: PayerFinancialAddress.Aba;
|
|
1896
1948
|
|
|
1897
1949
|
bankCode?: PayerFinancialAddress.BankCode;
|
|
1898
1950
|
|
|
@@ -1906,6 +1958,14 @@ export namespace OrderRetrieveResponse {
|
|
|
1906
1958
|
}
|
|
1907
1959
|
|
|
1908
1960
|
export namespace PayerFinancialAddress {
|
|
1961
|
+
export interface Aba {
|
|
1962
|
+
accountNumber: string;
|
|
1963
|
+
|
|
1964
|
+
routingNumber: string;
|
|
1965
|
+
|
|
1966
|
+
accountHolderName?: string;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1909
1969
|
export interface BankCode {
|
|
1910
1970
|
accountNumber: string;
|
|
1911
1971
|
|
|
@@ -2568,7 +2628,7 @@ export namespace OrderExpireResponse {
|
|
|
2568
2628
|
* The price object. All values in decimals, e.g. 0.13 for 13 cents.
|
|
2569
2629
|
*/
|
|
2570
2630
|
export interface Price {
|
|
2571
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
2631
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
2572
2632
|
|
|
2573
2633
|
total: number;
|
|
2574
2634
|
|
|
@@ -2870,7 +2930,9 @@ export namespace OrderExpireResponse {
|
|
|
2870
2930
|
|
|
2871
2931
|
export namespace Destination {
|
|
2872
2932
|
export interface BankAccount {
|
|
2873
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
2933
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
2934
|
+
|
|
2935
|
+
aba?: BankAccount.Aba;
|
|
2874
2936
|
|
|
2875
2937
|
bankCode?: BankAccount.BankCode;
|
|
2876
2938
|
|
|
@@ -2886,6 +2948,14 @@ export namespace OrderExpireResponse {
|
|
|
2886
2948
|
}
|
|
2887
2949
|
|
|
2888
2950
|
export namespace BankAccount {
|
|
2951
|
+
export interface Aba {
|
|
2952
|
+
accountHolderName: string;
|
|
2953
|
+
|
|
2954
|
+
accountNumber: string;
|
|
2955
|
+
|
|
2956
|
+
routingNumber: string;
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2889
2959
|
export interface BankCode {
|
|
2890
2960
|
accountHolderName: string;
|
|
2891
2961
|
|
|
@@ -2991,7 +3061,9 @@ export namespace OrderExpireResponse {
|
|
|
2991
3061
|
* when requested via order/details and therefore requires authentication.
|
|
2992
3062
|
*/
|
|
2993
3063
|
export interface MerchantFinancialAddress {
|
|
2994
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
3064
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
3065
|
+
|
|
3066
|
+
aba?: MerchantFinancialAddress.Aba;
|
|
2995
3067
|
|
|
2996
3068
|
bankCode?: MerchantFinancialAddress.BankCode;
|
|
2997
3069
|
|
|
@@ -3007,6 +3079,14 @@ export namespace OrderExpireResponse {
|
|
|
3007
3079
|
}
|
|
3008
3080
|
|
|
3009
3081
|
export namespace MerchantFinancialAddress {
|
|
3082
|
+
export interface Aba {
|
|
3083
|
+
accountHolderName: string;
|
|
3084
|
+
|
|
3085
|
+
accountNumber: string;
|
|
3086
|
+
|
|
3087
|
+
routingNumber: string;
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3010
3090
|
export interface BankCode {
|
|
3011
3091
|
accountHolderName: string;
|
|
3012
3092
|
|
|
@@ -3057,7 +3137,9 @@ export namespace OrderExpireResponse {
|
|
|
3057
3137
|
* after successful PIS flow.
|
|
3058
3138
|
*/
|
|
3059
3139
|
export interface PayerFinancialAddress {
|
|
3060
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
3140
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
3141
|
+
|
|
3142
|
+
aba?: PayerFinancialAddress.Aba;
|
|
3061
3143
|
|
|
3062
3144
|
bankCode?: PayerFinancialAddress.BankCode;
|
|
3063
3145
|
|
|
@@ -3071,6 +3153,14 @@ export namespace OrderExpireResponse {
|
|
|
3071
3153
|
}
|
|
3072
3154
|
|
|
3073
3155
|
export namespace PayerFinancialAddress {
|
|
3156
|
+
export interface Aba {
|
|
3157
|
+
accountNumber: string;
|
|
3158
|
+
|
|
3159
|
+
routingNumber: string;
|
|
3160
|
+
|
|
3161
|
+
accountHolderName?: string;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3074
3164
|
export interface BankCode {
|
|
3075
3165
|
accountNumber: string;
|
|
3076
3166
|
|
|
@@ -3537,7 +3627,7 @@ export interface OrderCreateParams {
|
|
|
3537
3627
|
/**
|
|
3538
3628
|
* The currency code of the order
|
|
3539
3629
|
*/
|
|
3540
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
3630
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
3541
3631
|
|
|
3542
3632
|
/**
|
|
3543
3633
|
* The merchant's unique reference ID for the order
|
package/src/resources/payouts.ts
CHANGED
|
@@ -94,7 +94,9 @@ export namespace Payout {
|
|
|
94
94
|
* The payout destination
|
|
95
95
|
*/
|
|
96
96
|
export interface Destination {
|
|
97
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
97
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
98
|
+
|
|
99
|
+
aba?: Destination.Aba;
|
|
98
100
|
|
|
99
101
|
bankCode?: Destination.BankCode;
|
|
100
102
|
|
|
@@ -108,6 +110,14 @@ export namespace Payout {
|
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
export namespace Destination {
|
|
113
|
+
export interface Aba {
|
|
114
|
+
accountHolderName: string;
|
|
115
|
+
|
|
116
|
+
accountNumber: string;
|
|
117
|
+
|
|
118
|
+
routingNumber: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
111
121
|
export interface BankCode {
|
|
112
122
|
accountHolderName: string;
|
|
113
123
|
|
|
@@ -255,7 +265,9 @@ export namespace PayoutRetrieveResponse {
|
|
|
255
265
|
* The payout destination
|
|
256
266
|
*/
|
|
257
267
|
export interface Destination {
|
|
258
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
268
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
269
|
+
|
|
270
|
+
aba?: Destination.Aba;
|
|
259
271
|
|
|
260
272
|
bankCode?: Destination.BankCode;
|
|
261
273
|
|
|
@@ -269,6 +281,14 @@ export namespace PayoutRetrieveResponse {
|
|
|
269
281
|
}
|
|
270
282
|
|
|
271
283
|
export namespace Destination {
|
|
284
|
+
export interface Aba {
|
|
285
|
+
accountHolderName: string;
|
|
286
|
+
|
|
287
|
+
accountNumber: string;
|
|
288
|
+
|
|
289
|
+
routingNumber: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
272
292
|
export interface BankCode {
|
|
273
293
|
accountHolderName: string;
|
|
274
294
|
|
|
@@ -427,7 +447,9 @@ export namespace PayoutListResponse {
|
|
|
427
447
|
* The payout destination
|
|
428
448
|
*/
|
|
429
449
|
export interface Destination {
|
|
430
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
450
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
451
|
+
|
|
452
|
+
aba?: Destination.Aba;
|
|
431
453
|
|
|
432
454
|
bankCode?: Destination.BankCode;
|
|
433
455
|
|
|
@@ -441,6 +463,14 @@ export namespace PayoutListResponse {
|
|
|
441
463
|
}
|
|
442
464
|
|
|
443
465
|
export namespace Destination {
|
|
466
|
+
export interface Aba {
|
|
467
|
+
accountHolderName: string;
|
|
468
|
+
|
|
469
|
+
accountNumber: string;
|
|
470
|
+
|
|
471
|
+
routingNumber: string;
|
|
472
|
+
}
|
|
473
|
+
|
|
444
474
|
export interface BankCode {
|
|
445
475
|
accountHolderName: string;
|
|
446
476
|
|
|
@@ -582,7 +612,9 @@ export namespace PayoutCreateParams {
|
|
|
582
612
|
|
|
583
613
|
export namespace Destination {
|
|
584
614
|
export interface FinancialAddress {
|
|
585
|
-
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
|
|
615
|
+
type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
|
|
616
|
+
|
|
617
|
+
aba?: FinancialAddress.Aba;
|
|
586
618
|
|
|
587
619
|
bankCode?: FinancialAddress.BankCode;
|
|
588
620
|
|
|
@@ -596,6 +628,14 @@ export namespace PayoutCreateParams {
|
|
|
596
628
|
}
|
|
597
629
|
|
|
598
630
|
export namespace FinancialAddress {
|
|
631
|
+
export interface Aba {
|
|
632
|
+
accountHolderName: string;
|
|
633
|
+
|
|
634
|
+
accountNumber: string;
|
|
635
|
+
|
|
636
|
+
routingNumber: string;
|
|
637
|
+
}
|
|
638
|
+
|
|
599
639
|
export interface BankCode {
|
|
600
640
|
accountHolderName: string;
|
|
601
641
|
|
package/src/resources/refunds.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface Refund {
|
|
|
37
37
|
/**
|
|
38
38
|
* Refund's currency.
|
|
39
39
|
*/
|
|
40
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
40
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* The id of the refunded order
|
|
@@ -69,7 +69,7 @@ export interface RefundCreateResponse {
|
|
|
69
69
|
/**
|
|
70
70
|
* Refund's currency.
|
|
71
71
|
*/
|
|
72
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
72
|
+
currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* The id of the refunded order
|
package/src/resources/returns.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface ReturnCreateResponse {
|
|
|
39
39
|
/**
|
|
40
40
|
* The currency of the return
|
|
41
41
|
*/
|
|
42
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USDC';
|
|
42
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USD' | 'USDC';
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* The ID of the associated deposit
|
|
@@ -86,7 +86,7 @@ export interface ReturnRetrieveResponse {
|
|
|
86
86
|
/**
|
|
87
87
|
* The currency of the return
|
|
88
88
|
*/
|
|
89
|
-
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USDC';
|
|
89
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USD' | 'USDC';
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* The ID of the associated deposit
|