@getivy/node-sdk 0.1.0-alpha.6 → 0.1.0-alpha.8
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/README.md +1 -1
- package/package.json +1 -1
- package/resources/banks.d.ts +12 -0
- package/resources/banks.d.ts.map +1 -1
- package/resources/charges.d.ts +0 -13
- package/resources/charges.d.ts.map +1 -1
- package/resources/checkoutsession.d.ts +524 -1114
- package/resources/checkoutsession.d.ts.map +1 -1
- package/resources/orders.d.ts +19 -37
- package/resources/orders.d.ts.map +1 -1
- package/resources/refunds.d.ts +1 -1
- package/resources/refunds.d.ts.map +1 -1
- package/src/resources/banks.ts +15 -0
- package/src/resources/charges.ts +0 -13
- package/src/resources/checkoutsession.ts +2284 -4255
- package/src/resources/orders.ts +14 -37
- package/src/resources/refunds.ts +0 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/orders.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface OrderRetrieveResponse {
|
|
|
54
54
|
merchantId: string;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* The
|
|
57
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
58
58
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
59
59
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
60
60
|
* as this is the format accepted by most banks.
|
|
@@ -81,7 +81,6 @@ export interface OrderRetrieveResponse {
|
|
|
81
81
|
| 'failed'
|
|
82
82
|
| 'canceled'
|
|
83
83
|
| 'processing'
|
|
84
|
-
| 'in_handshake'
|
|
85
84
|
| 'waiting_for_payment'
|
|
86
85
|
| 'paid'
|
|
87
86
|
| 'in_refund'
|
|
@@ -94,6 +93,11 @@ export interface OrderRetrieveResponse {
|
|
|
94
93
|
|
|
95
94
|
updatedAt: string;
|
|
96
95
|
|
|
96
|
+
/**
|
|
97
|
+
* The unique identifier of the customer's bank.
|
|
98
|
+
*/
|
|
99
|
+
bankId?: string;
|
|
100
|
+
|
|
97
101
|
/**
|
|
98
102
|
* The bank statement reference of the payment for the order. This is the reference
|
|
99
103
|
* that will be visible on the bank statement.
|
|
@@ -270,7 +274,7 @@ export interface OrderRetrieveResponse {
|
|
|
270
274
|
|
|
271
275
|
export namespace OrderRetrieveResponse {
|
|
272
276
|
/**
|
|
273
|
-
* The
|
|
277
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
274
278
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
275
279
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
276
280
|
* as this is the format accepted by most banks.
|
|
@@ -283,25 +287,12 @@ export namespace OrderRetrieveResponse {
|
|
|
283
287
|
*/
|
|
284
288
|
total: number;
|
|
285
289
|
|
|
286
|
-
/**
|
|
287
|
-
* The shipping amount.
|
|
288
|
-
*/
|
|
289
290
|
shipping?: number;
|
|
290
291
|
|
|
291
|
-
/**
|
|
292
|
-
* The subtotal amount, i.e. the total amount without VAT and shipping.
|
|
293
|
-
*/
|
|
294
292
|
subTotal?: number;
|
|
295
293
|
|
|
296
|
-
/**
|
|
297
|
-
* The total net amount, i.e. the total amount without VAT. This value is rounded
|
|
298
|
-
* to 2 decimal places for the actual transfer.
|
|
299
|
-
*/
|
|
300
294
|
totalNet?: number;
|
|
301
295
|
|
|
302
|
-
/**
|
|
303
|
-
* The VAT amount.
|
|
304
|
-
*/
|
|
305
296
|
vat?: number;
|
|
306
297
|
}
|
|
307
298
|
|
|
@@ -1542,7 +1533,6 @@ export namespace OrderRetrieveResponse {
|
|
|
1542
1533
|
| 'failed'
|
|
1543
1534
|
| 'canceled'
|
|
1544
1535
|
| 'processing'
|
|
1545
|
-
| 'in_handshake'
|
|
1546
1536
|
| 'waiting_for_payment'
|
|
1547
1537
|
| 'paid'
|
|
1548
1538
|
| 'in_refund'
|
|
@@ -1566,7 +1556,6 @@ export namespace OrderRetrieveResponse {
|
|
|
1566
1556
|
| 'failed'
|
|
1567
1557
|
| 'canceled'
|
|
1568
1558
|
| 'processing'
|
|
1569
|
-
| 'in_handshake'
|
|
1570
1559
|
| 'waiting_for_payment'
|
|
1571
1560
|
| 'paid'
|
|
1572
1561
|
| 'in_refund'
|
|
@@ -1613,7 +1602,7 @@ export interface OrderUpdateResponse {
|
|
|
1613
1602
|
merchantId: string;
|
|
1614
1603
|
|
|
1615
1604
|
/**
|
|
1616
|
-
* The
|
|
1605
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
1617
1606
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
1618
1607
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
1619
1608
|
* as this is the format accepted by most banks.
|
|
@@ -1640,7 +1629,6 @@ export interface OrderUpdateResponse {
|
|
|
1640
1629
|
| 'failed'
|
|
1641
1630
|
| 'canceled'
|
|
1642
1631
|
| 'processing'
|
|
1643
|
-
| 'in_handshake'
|
|
1644
1632
|
| 'waiting_for_payment'
|
|
1645
1633
|
| 'paid'
|
|
1646
1634
|
| 'in_refund'
|
|
@@ -1653,6 +1641,11 @@ export interface OrderUpdateResponse {
|
|
|
1653
1641
|
|
|
1654
1642
|
updatedAt: string;
|
|
1655
1643
|
|
|
1644
|
+
/**
|
|
1645
|
+
* The unique identifier of the customer's bank.
|
|
1646
|
+
*/
|
|
1647
|
+
bankId?: string;
|
|
1648
|
+
|
|
1656
1649
|
/**
|
|
1657
1650
|
* The bank statement reference of the payment for the order. This is the reference
|
|
1658
1651
|
* that will be visible on the bank statement.
|
|
@@ -1829,7 +1822,7 @@ export interface OrderUpdateResponse {
|
|
|
1829
1822
|
|
|
1830
1823
|
export namespace OrderUpdateResponse {
|
|
1831
1824
|
/**
|
|
1832
|
-
* The
|
|
1825
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
1833
1826
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
1834
1827
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
1835
1828
|
* as this is the format accepted by most banks.
|
|
@@ -1842,25 +1835,12 @@ export namespace OrderUpdateResponse {
|
|
|
1842
1835
|
*/
|
|
1843
1836
|
total: number;
|
|
1844
1837
|
|
|
1845
|
-
/**
|
|
1846
|
-
* The shipping amount.
|
|
1847
|
-
*/
|
|
1848
1838
|
shipping?: number;
|
|
1849
1839
|
|
|
1850
|
-
/**
|
|
1851
|
-
* The subtotal amount, i.e. the total amount without VAT and shipping.
|
|
1852
|
-
*/
|
|
1853
1840
|
subTotal?: number;
|
|
1854
1841
|
|
|
1855
|
-
/**
|
|
1856
|
-
* The total net amount, i.e. the total amount without VAT. This value is rounded
|
|
1857
|
-
* to 2 decimal places for the actual transfer.
|
|
1858
|
-
*/
|
|
1859
1842
|
totalNet?: number;
|
|
1860
1843
|
|
|
1861
|
-
/**
|
|
1862
|
-
* The VAT amount.
|
|
1863
|
-
*/
|
|
1864
1844
|
vat?: number;
|
|
1865
1845
|
}
|
|
1866
1846
|
|
|
@@ -3101,7 +3081,6 @@ export namespace OrderUpdateResponse {
|
|
|
3101
3081
|
| 'failed'
|
|
3102
3082
|
| 'canceled'
|
|
3103
3083
|
| 'processing'
|
|
3104
|
-
| 'in_handshake'
|
|
3105
3084
|
| 'waiting_for_payment'
|
|
3106
3085
|
| 'paid'
|
|
3107
3086
|
| 'in_refund'
|
|
@@ -3125,7 +3104,6 @@ export namespace OrderUpdateResponse {
|
|
|
3125
3104
|
| 'failed'
|
|
3126
3105
|
| 'canceled'
|
|
3127
3106
|
| 'processing'
|
|
3128
|
-
| 'in_handshake'
|
|
3129
3107
|
| 'waiting_for_payment'
|
|
3130
3108
|
| 'paid'
|
|
3131
3109
|
| 'in_refund'
|
|
@@ -3173,7 +3151,6 @@ export interface OrderUpdateParams {
|
|
|
3173
3151
|
| 'failed'
|
|
3174
3152
|
| 'canceled'
|
|
3175
3153
|
| 'processing'
|
|
3176
|
-
| 'in_handshake'
|
|
3177
3154
|
| 'waiting_for_payment'
|
|
3178
3155
|
| 'paid'
|
|
3179
3156
|
| 'in_refund'
|
package/src/resources/refunds.ts
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.8'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.8";
|
|
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 = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.8'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.8'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|