@xchainjs/xchain-thornode 0.3.4 → 0.3.5
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/lib/generated/thornodeApi/api.d.ts +41 -11
- package/lib/generated/thornodeApi/base.d.ts +1 -1
- package/lib/generated/thornodeApi/common.d.ts +1 -1
- package/lib/generated/thornodeApi/configuration.d.ts +1 -1
- package/lib/generated/thornodeApi/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.118.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -151,25 +151,37 @@ export interface Borrower {
|
|
|
151
151
|
* @type {string}
|
|
152
152
|
* @memberof Borrower
|
|
153
153
|
*/
|
|
154
|
-
'
|
|
154
|
+
'debt_issued': string;
|
|
155
155
|
/**
|
|
156
156
|
*
|
|
157
157
|
* @type {string}
|
|
158
158
|
* @memberof Borrower
|
|
159
159
|
*/
|
|
160
|
-
'
|
|
160
|
+
'debt_repaid': string;
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @type {string}
|
|
164
164
|
* @memberof Borrower
|
|
165
165
|
*/
|
|
166
|
-
'
|
|
166
|
+
'debt_current': string;
|
|
167
167
|
/**
|
|
168
168
|
*
|
|
169
169
|
* @type {string}
|
|
170
170
|
* @memberof Borrower
|
|
171
171
|
*/
|
|
172
|
-
'
|
|
172
|
+
'collateral_deposited': string;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof Borrower
|
|
177
|
+
*/
|
|
178
|
+
'collateral_withdrawn': string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof Borrower
|
|
183
|
+
*/
|
|
184
|
+
'collateral_current': string;
|
|
173
185
|
/**
|
|
174
186
|
*
|
|
175
187
|
* @type {number}
|
|
@@ -377,10 +389,10 @@ export interface InvariantResponse {
|
|
|
377
389
|
'broken': boolean;
|
|
378
390
|
/**
|
|
379
391
|
* Informative message about the invariant result.
|
|
380
|
-
* @type {string}
|
|
392
|
+
* @type {Array<string>}
|
|
381
393
|
* @memberof InvariantResponse
|
|
382
394
|
*/
|
|
383
|
-
'msg': string
|
|
395
|
+
'msg': Array<string>;
|
|
384
396
|
}
|
|
385
397
|
/**
|
|
386
398
|
*
|
|
@@ -1456,6 +1468,12 @@ export interface Pool {
|
|
|
1456
1468
|
* @memberof Pool
|
|
1457
1469
|
*/
|
|
1458
1470
|
'loan_collateral': string;
|
|
1471
|
+
/**
|
|
1472
|
+
* the current loan collateralization ratio
|
|
1473
|
+
* @type {string}
|
|
1474
|
+
* @memberof Pool
|
|
1475
|
+
*/
|
|
1476
|
+
'loan_cr': string;
|
|
1459
1477
|
}
|
|
1460
1478
|
/**
|
|
1461
1479
|
*
|
|
@@ -1639,13 +1657,13 @@ export interface QuoteLoanCloseResponse {
|
|
|
1639
1657
|
* @type {string}
|
|
1640
1658
|
* @memberof QuoteLoanCloseResponse
|
|
1641
1659
|
*/
|
|
1642
|
-
'
|
|
1660
|
+
'expected_collateral_withdrawn': string;
|
|
1643
1661
|
/**
|
|
1644
1662
|
* the expected amount of TOR debt decrease on the loan
|
|
1645
1663
|
* @type {string}
|
|
1646
1664
|
* @memberof QuoteLoanCloseResponse
|
|
1647
1665
|
*/
|
|
1648
|
-
'
|
|
1666
|
+
'expected_debt_repaid': string;
|
|
1649
1667
|
}
|
|
1650
1668
|
/**
|
|
1651
1669
|
*
|
|
@@ -1760,13 +1778,13 @@ export interface QuoteLoanOpenResponse {
|
|
|
1760
1778
|
* @type {string}
|
|
1761
1779
|
* @memberof QuoteLoanOpenResponse
|
|
1762
1780
|
*/
|
|
1763
|
-
'
|
|
1781
|
+
'expected_collateral_deposited': string;
|
|
1764
1782
|
/**
|
|
1765
1783
|
* the expected amount of TOR debt increase on the loan
|
|
1766
1784
|
* @type {string}
|
|
1767
1785
|
* @memberof QuoteLoanOpenResponse
|
|
1768
1786
|
*/
|
|
1769
|
-
'
|
|
1787
|
+
'expected_debt_issued': string;
|
|
1770
1788
|
}
|
|
1771
1789
|
/**
|
|
1772
1790
|
*
|
|
@@ -2248,6 +2266,18 @@ export interface StreamingSwap {
|
|
|
2248
2266
|
* @memberof StreamingSwap
|
|
2249
2267
|
*/
|
|
2250
2268
|
'out'?: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* the list of swap indexes that failed
|
|
2271
|
+
* @type {Array<number>}
|
|
2272
|
+
* @memberof StreamingSwap
|
|
2273
|
+
*/
|
|
2274
|
+
'failed_swaps'?: Array<number>;
|
|
2275
|
+
/**
|
|
2276
|
+
* the list of reasons that sub-swaps have failed
|
|
2277
|
+
* @type {Array<string>}
|
|
2278
|
+
* @memberof StreamingSwap
|
|
2279
|
+
*/
|
|
2280
|
+
'failed_swap_reasons'?: Array<string>;
|
|
2251
2281
|
}
|
|
2252
2282
|
/**
|
|
2253
2283
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.118.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.118.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.118.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.118.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/lib/index.esm.js
CHANGED
|
@@ -4149,7 +4149,7 @@ class VaultsApi extends BaseAPI {
|
|
|
4149
4149
|
* Thornode API
|
|
4150
4150
|
* Thornode REST API.
|
|
4151
4151
|
*
|
|
4152
|
-
* The version of the OpenAPI document: 1.
|
|
4152
|
+
* The version of the OpenAPI document: 1.118.0
|
|
4153
4153
|
* Contact: devs@thorchain.org
|
|
4154
4154
|
*
|
|
4155
4155
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|