@getivy/node-sdk 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/bin/cli +12 -5
  3. package/internal/types.d.mts +6 -6
  4. package/internal/types.d.mts.map +1 -1
  5. package/internal/types.d.ts +6 -6
  6. package/internal/types.d.ts.map +1 -1
  7. package/package.json +1 -1
  8. package/resources/banks.d.mts +5 -5
  9. package/resources/banks.d.mts.map +1 -1
  10. package/resources/banks.d.ts +5 -5
  11. package/resources/banks.d.ts.map +1 -1
  12. package/resources/beneficiary-payouts.d.mts +1 -1
  13. package/resources/beneficiary-payouts.d.mts.map +1 -1
  14. package/resources/beneficiary-payouts.d.ts +1 -1
  15. package/resources/beneficiary-payouts.d.ts.map +1 -1
  16. package/resources/checkoutsession.d.mts +5 -5
  17. package/resources/checkoutsession.d.mts.map +1 -1
  18. package/resources/checkoutsession.d.ts +5 -5
  19. package/resources/checkoutsession.d.ts.map +1 -1
  20. package/resources/deposits.d.mts +4 -4
  21. package/resources/deposits.d.mts.map +1 -1
  22. package/resources/deposits.d.ts +4 -4
  23. package/resources/deposits.d.ts.map +1 -1
  24. package/resources/orders.d.mts +13 -13
  25. package/resources/orders.d.mts.map +1 -1
  26. package/resources/orders.d.ts +13 -13
  27. package/resources/orders.d.ts.map +1 -1
  28. package/resources/payouts.d.mts +4 -4
  29. package/resources/payouts.d.mts.map +1 -1
  30. package/resources/payouts.d.ts +4 -4
  31. package/resources/payouts.d.ts.map +1 -1
  32. package/resources/refunds.d.mts +2 -2
  33. package/resources/refunds.d.mts.map +1 -1
  34. package/resources/refunds.d.ts +2 -2
  35. package/resources/refunds.d.ts.map +1 -1
  36. package/resources/returns.d.mts +2 -2
  37. package/resources/returns.d.mts.map +1 -1
  38. package/resources/returns.d.ts +2 -2
  39. package/resources/returns.d.ts.map +1 -1
  40. package/resources/transactions.d.mts +2 -2
  41. package/resources/transactions.d.mts.map +1 -1
  42. package/resources/transactions.d.ts +2 -2
  43. package/resources/transactions.d.ts.map +1 -1
  44. package/src/internal/types.ts +6 -8
  45. package/src/resources/banks.ts +5 -5
  46. package/src/resources/beneficiary-payouts.ts +1 -1
  47. package/src/resources/checkoutsession.ts +5 -5
  48. package/src/resources/deposits.ts +4 -4
  49. package/src/resources/orders.ts +13 -13
  50. package/src/resources/payouts.ts +4 -4
  51. package/src/resources/refunds.ts +2 -2
  52. package/src/resources/returns.ts +2 -2
  53. package/src/resources/transactions.ts +2 -2
  54. package/src/version.ts +1 -1
  55. package/version.d.mts +1 -1
  56. package/version.d.ts +1 -1
  57. package/version.js +1 -1
  58. package/version.mjs +1 -1
@@ -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,7 @@ 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
5515
 
5516
5516
  bankCode?: FinancialAddress.BankCode;
5517
5517
 
@@ -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,7 @@ 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
98
 
99
99
  bankCode?: Payee.BankCode;
100
100
 
@@ -157,7 +157,7 @@ export namespace DepositRetrieveResponse {
157
157
  * The payer account identifier
158
158
  */
159
159
  export interface Payer {
160
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
160
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
161
161
 
162
162
  bankCode?: Payer.BankCode;
163
163
 
@@ -235,7 +235,7 @@ export namespace DepositRetrieveResponse {
235
235
  /**
236
236
  * The currency of the return
237
237
  */
238
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USDC';
238
+ currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK' | 'USD' | 'USDC';
239
239
 
240
240
  /**
241
241
  * The ID of the associated deposit
@@ -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,7 @@ 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
544
 
545
545
  bankCode?: BankAccount.BankCode;
546
546
 
@@ -661,7 +661,7 @@ export namespace OrderCreateResponse {
661
661
  * when requested via order/details and therefore requires authentication.
662
662
  */
663
663
  export interface MerchantFinancialAddress {
664
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
664
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
665
665
 
666
666
  bankCode?: MerchantFinancialAddress.BankCode;
667
667
 
@@ -727,7 +727,7 @@ export namespace OrderCreateResponse {
727
727
  * after successful PIS flow.
728
728
  */
729
729
  export interface PayerFinancialAddress {
730
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
730
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
731
731
 
732
732
  bankCode?: PayerFinancialAddress.BankCode;
733
733
 
@@ -1403,7 +1403,7 @@ export namespace OrderRetrieveResponse {
1403
1403
  * The price object. All values in decimals, e.g. 0.13 for 13 cents.
1404
1404
  */
1405
1405
  export interface Price {
1406
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
1406
+ currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
1407
1407
 
1408
1408
  total: number;
1409
1409
 
@@ -1705,7 +1705,7 @@ export namespace OrderRetrieveResponse {
1705
1705
 
1706
1706
  export namespace Destination {
1707
1707
  export interface BankAccount {
1708
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
1708
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
1709
1709
 
1710
1710
  bankCode?: BankAccount.BankCode;
1711
1711
 
@@ -1826,7 +1826,7 @@ export namespace OrderRetrieveResponse {
1826
1826
  * when requested via order/details and therefore requires authentication.
1827
1827
  */
1828
1828
  export interface MerchantFinancialAddress {
1829
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
1829
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
1830
1830
 
1831
1831
  bankCode?: MerchantFinancialAddress.BankCode;
1832
1832
 
@@ -1892,7 +1892,7 @@ export namespace OrderRetrieveResponse {
1892
1892
  * after successful PIS flow.
1893
1893
  */
1894
1894
  export interface PayerFinancialAddress {
1895
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
1895
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
1896
1896
 
1897
1897
  bankCode?: PayerFinancialAddress.BankCode;
1898
1898
 
@@ -2568,7 +2568,7 @@ export namespace OrderExpireResponse {
2568
2568
  * The price object. All values in decimals, e.g. 0.13 for 13 cents.
2569
2569
  */
2570
2570
  export interface Price {
2571
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
2571
+ currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
2572
2572
 
2573
2573
  total: number;
2574
2574
 
@@ -2870,7 +2870,7 @@ export namespace OrderExpireResponse {
2870
2870
 
2871
2871
  export namespace Destination {
2872
2872
  export interface BankAccount {
2873
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
2873
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
2874
2874
 
2875
2875
  bankCode?: BankAccount.BankCode;
2876
2876
 
@@ -2991,7 +2991,7 @@ export namespace OrderExpireResponse {
2991
2991
  * when requested via order/details and therefore requires authentication.
2992
2992
  */
2993
2993
  export interface MerchantFinancialAddress {
2994
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
2994
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
2995
2995
 
2996
2996
  bankCode?: MerchantFinancialAddress.BankCode;
2997
2997
 
@@ -3057,7 +3057,7 @@ export namespace OrderExpireResponse {
3057
3057
  * after successful PIS flow.
3058
3058
  */
3059
3059
  export interface PayerFinancialAddress {
3060
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
3060
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
3061
3061
 
3062
3062
  bankCode?: PayerFinancialAddress.BankCode;
3063
3063
 
@@ -3537,7 +3537,7 @@ export interface OrderCreateParams {
3537
3537
  /**
3538
3538
  * The currency code of the order
3539
3539
  */
3540
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
3540
+ currency: 'EUR' | 'USD' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
3541
3541
 
3542
3542
  /**
3543
3543
  * The merchant's unique reference ID for the order
@@ -94,7 +94,7 @@ 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
98
 
99
99
  bankCode?: Destination.BankCode;
100
100
 
@@ -255,7 +255,7 @@ export namespace PayoutRetrieveResponse {
255
255
  * The payout destination
256
256
  */
257
257
  export interface Destination {
258
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
258
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
259
259
 
260
260
  bankCode?: Destination.BankCode;
261
261
 
@@ -427,7 +427,7 @@ export namespace PayoutListResponse {
427
427
  * The payout destination
428
428
  */
429
429
  export interface Destination {
430
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
430
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
431
431
 
432
432
  bankCode?: Destination.BankCode;
433
433
 
@@ -582,7 +582,7 @@ export namespace PayoutCreateParams {
582
582
 
583
583
  export namespace Destination {
584
584
  export interface FinancialAddress {
585
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
585
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
586
586
 
587
587
  bankCode?: FinancialAddress.BankCode;
588
588
 
@@ -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
@@ -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
@@ -114,7 +114,7 @@ export namespace TransactionListResponse {
114
114
  /**
115
115
  * Type of financial address
116
116
  */
117
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
117
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
118
118
 
119
119
  bankCode?: Creditor.BankCode;
120
120
 
@@ -175,7 +175,7 @@ export namespace TransactionListResponse {
175
175
  /**
176
176
  * Type of financial address
177
177
  */
178
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
178
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet' | 'aba';
179
179
 
180
180
  bankCode?: Debtor.BankCode;
181
181
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.3.0'; // x-release-please-version
1
+ export const VERSION = '2.4.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.3.0";
1
+ export declare const VERSION = "2.4.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.3.0";
1
+ export declare const VERSION = "2.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.3.0'; // x-release-please-version
4
+ exports.VERSION = '2.4.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.3.0'; // x-release-please-version
1
+ export const VERSION = '2.4.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map