@getivy/node-sdk 0.1.0-alpha.6 → 0.1.0-alpha.7
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 +13 -0
- package/README.md +1 -1
- package/package.json +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 +11 -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/charges.ts +0 -13
- package/src/resources/checkoutsession.ts +2284 -4255
- package/src/resources/orders.ts +4 -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'
|
|
@@ -270,7 +269,7 @@ export interface OrderRetrieveResponse {
|
|
|
270
269
|
|
|
271
270
|
export namespace OrderRetrieveResponse {
|
|
272
271
|
/**
|
|
273
|
-
* The
|
|
272
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
274
273
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
275
274
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
276
275
|
* as this is the format accepted by most banks.
|
|
@@ -283,25 +282,12 @@ export namespace OrderRetrieveResponse {
|
|
|
283
282
|
*/
|
|
284
283
|
total: number;
|
|
285
284
|
|
|
286
|
-
/**
|
|
287
|
-
* The shipping amount.
|
|
288
|
-
*/
|
|
289
285
|
shipping?: number;
|
|
290
286
|
|
|
291
|
-
/**
|
|
292
|
-
* The subtotal amount, i.e. the total amount without VAT and shipping.
|
|
293
|
-
*/
|
|
294
287
|
subTotal?: number;
|
|
295
288
|
|
|
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
289
|
totalNet?: number;
|
|
301
290
|
|
|
302
|
-
/**
|
|
303
|
-
* The VAT amount.
|
|
304
|
-
*/
|
|
305
291
|
vat?: number;
|
|
306
292
|
}
|
|
307
293
|
|
|
@@ -1542,7 +1528,6 @@ export namespace OrderRetrieveResponse {
|
|
|
1542
1528
|
| 'failed'
|
|
1543
1529
|
| 'canceled'
|
|
1544
1530
|
| 'processing'
|
|
1545
|
-
| 'in_handshake'
|
|
1546
1531
|
| 'waiting_for_payment'
|
|
1547
1532
|
| 'paid'
|
|
1548
1533
|
| 'in_refund'
|
|
@@ -1566,7 +1551,6 @@ export namespace OrderRetrieveResponse {
|
|
|
1566
1551
|
| 'failed'
|
|
1567
1552
|
| 'canceled'
|
|
1568
1553
|
| 'processing'
|
|
1569
|
-
| 'in_handshake'
|
|
1570
1554
|
| 'waiting_for_payment'
|
|
1571
1555
|
| 'paid'
|
|
1572
1556
|
| 'in_refund'
|
|
@@ -1613,7 +1597,7 @@ export interface OrderUpdateResponse {
|
|
|
1613
1597
|
merchantId: string;
|
|
1614
1598
|
|
|
1615
1599
|
/**
|
|
1616
|
-
* The
|
|
1600
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
1617
1601
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
1618
1602
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
1619
1603
|
* as this is the format accepted by most banks.
|
|
@@ -1640,7 +1624,6 @@ export interface OrderUpdateResponse {
|
|
|
1640
1624
|
| 'failed'
|
|
1641
1625
|
| 'canceled'
|
|
1642
1626
|
| 'processing'
|
|
1643
|
-
| 'in_handshake'
|
|
1644
1627
|
| 'waiting_for_payment'
|
|
1645
1628
|
| 'paid'
|
|
1646
1629
|
| 'in_refund'
|
|
@@ -1829,7 +1812,7 @@ export interface OrderUpdateResponse {
|
|
|
1829
1812
|
|
|
1830
1813
|
export namespace OrderUpdateResponse {
|
|
1831
1814
|
/**
|
|
1832
|
-
* The
|
|
1815
|
+
* The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
|
|
1833
1816
|
* represents EUR 10.23. Any amount of decimal places can be provided on
|
|
1834
1817
|
* initialization, but the actual transfer amount is rounded to 2 decimal places,
|
|
1835
1818
|
* as this is the format accepted by most banks.
|
|
@@ -1842,25 +1825,12 @@ export namespace OrderUpdateResponse {
|
|
|
1842
1825
|
*/
|
|
1843
1826
|
total: number;
|
|
1844
1827
|
|
|
1845
|
-
/**
|
|
1846
|
-
* The shipping amount.
|
|
1847
|
-
*/
|
|
1848
1828
|
shipping?: number;
|
|
1849
1829
|
|
|
1850
|
-
/**
|
|
1851
|
-
* The subtotal amount, i.e. the total amount without VAT and shipping.
|
|
1852
|
-
*/
|
|
1853
1830
|
subTotal?: number;
|
|
1854
1831
|
|
|
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
1832
|
totalNet?: number;
|
|
1860
1833
|
|
|
1861
|
-
/**
|
|
1862
|
-
* The VAT amount.
|
|
1863
|
-
*/
|
|
1864
1834
|
vat?: number;
|
|
1865
1835
|
}
|
|
1866
1836
|
|
|
@@ -3101,7 +3071,6 @@ export namespace OrderUpdateResponse {
|
|
|
3101
3071
|
| 'failed'
|
|
3102
3072
|
| 'canceled'
|
|
3103
3073
|
| 'processing'
|
|
3104
|
-
| 'in_handshake'
|
|
3105
3074
|
| 'waiting_for_payment'
|
|
3106
3075
|
| 'paid'
|
|
3107
3076
|
| 'in_refund'
|
|
@@ -3125,7 +3094,6 @@ export namespace OrderUpdateResponse {
|
|
|
3125
3094
|
| 'failed'
|
|
3126
3095
|
| 'canceled'
|
|
3127
3096
|
| 'processing'
|
|
3128
|
-
| 'in_handshake'
|
|
3129
3097
|
| 'waiting_for_payment'
|
|
3130
3098
|
| 'paid'
|
|
3131
3099
|
| 'in_refund'
|
|
@@ -3173,7 +3141,6 @@ export interface OrderUpdateParams {
|
|
|
3173
3141
|
| 'failed'
|
|
3174
3142
|
| 'canceled'
|
|
3175
3143
|
| 'processing'
|
|
3176
|
-
| 'in_handshake'
|
|
3177
3144
|
| 'waiting_for_payment'
|
|
3178
3145
|
| 'paid'
|
|
3179
3146
|
| '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.7'; // 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.7";
|
|
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.7'; // 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.7'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|