@xchainjs/xchain-thornode 0.3.1 → 0.3.3

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.
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.109.0
5
+ * The version of the OpenAPI document: 1.113.1
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,6 +115,12 @@ export interface BaseQuoteResponse {
115
115
  * @memberof BaseQuoteResponse
116
116
  */
117
117
  'dust_threshold'?: string;
118
+ /**
119
+ * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
120
+ * @type {string}
121
+ * @memberof BaseQuoteResponse
122
+ */
123
+ 'recommended_min_amount_in'?: string;
118
124
  }
119
125
  /**
120
126
  *
@@ -1489,7 +1495,7 @@ export interface QuoteLoanCloseResponse {
1489
1495
  * @type {string}
1490
1496
  * @memberof QuoteLoanCloseResponse
1491
1497
  */
1492
- 'inbound_address': string;
1498
+ 'inbound_address'?: string;
1493
1499
  /**
1494
1500
  * the approximate number of source chain blocks required before processing
1495
1501
  * @type {number}
@@ -1556,6 +1562,12 @@ export interface QuoteLoanCloseResponse {
1556
1562
  * @memberof QuoteLoanCloseResponse
1557
1563
  */
1558
1564
  'dust_threshold'?: string;
1565
+ /**
1566
+ * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
1567
+ * @type {string}
1568
+ * @memberof QuoteLoanCloseResponse
1569
+ */
1570
+ 'recommended_min_amount_in'?: string;
1559
1571
  /**
1560
1572
  * generated memo for the loan close
1561
1573
  * @type {string}
@@ -1592,7 +1604,7 @@ export interface QuoteLoanOpenResponse {
1592
1604
  * @type {string}
1593
1605
  * @memberof QuoteLoanOpenResponse
1594
1606
  */
1595
- 'inbound_address': string;
1607
+ 'inbound_address'?: string;
1596
1608
  /**
1597
1609
  * the approximate number of source chain blocks required before processing
1598
1610
  * @type {number}
@@ -1659,6 +1671,12 @@ export interface QuoteLoanOpenResponse {
1659
1671
  * @memberof QuoteLoanOpenResponse
1660
1672
  */
1661
1673
  'dust_threshold'?: string;
1674
+ /**
1675
+ * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
1676
+ * @type {string}
1677
+ * @memberof QuoteLoanOpenResponse
1678
+ */
1679
+ 'recommended_min_amount_in'?: string;
1662
1680
  /**
1663
1681
  * generated memo for the loan open
1664
1682
  * @type {string}
@@ -1768,6 +1786,12 @@ export interface QuoteSaverDepositResponse {
1768
1786
  * @memberof QuoteSaverDepositResponse
1769
1787
  */
1770
1788
  'dust_threshold'?: string;
1789
+ /**
1790
+ * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
1791
+ * @type {string}
1792
+ * @memberof QuoteSaverDepositResponse
1793
+ */
1794
+ 'recommended_min_amount_in'?: string;
1771
1795
  /**
1772
1796
  * generated memo for the deposit
1773
1797
  * @type {string}
@@ -1775,17 +1799,17 @@ export interface QuoteSaverDepositResponse {
1775
1799
  */
1776
1800
  'memo': string;
1777
1801
  /**
1778
- * migrate to expected_amount_deposit (will be deprecated in v1.104)
1802
+ * same as expected_amount_deposit, to be deprecated in favour of expected_amount_deposit
1779
1803
  * @type {string}
1780
1804
  * @memberof QuoteSaverDepositResponse
1781
1805
  */
1782
- 'expected_amount_out': string;
1806
+ 'expected_amount_out'?: string;
1783
1807
  /**
1784
1808
  * the amount of the target asset the user can expect to deposit after fees
1785
1809
  * @type {string}
1786
1810
  * @memberof QuoteSaverDepositResponse
1787
1811
  */
1788
- 'expected_amount_deposit'?: string;
1812
+ 'expected_amount_deposit': string;
1789
1813
  }
1790
1814
  /**
1791
1815
  *
@@ -1865,6 +1889,12 @@ export interface QuoteSaverWithdrawResponse {
1865
1889
  * @memberof QuoteSaverWithdrawResponse
1866
1890
  */
1867
1891
  'dust_threshold'?: string;
1892
+ /**
1893
+ * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
1894
+ * @type {string}
1895
+ * @memberof QuoteSaverWithdrawResponse
1896
+ */
1897
+ 'recommended_min_amount_in'?: string;
1868
1898
  /**
1869
1899
  * generated memo for the withdraw, the client can use this OR send the dust amount
1870
1900
  * @type {string}
@@ -1895,7 +1925,7 @@ export interface QuoteSwapResponse {
1895
1925
  * @type {string}
1896
1926
  * @memberof QuoteSwapResponse
1897
1927
  */
1898
- 'inbound_address': string;
1928
+ 'inbound_address'?: string;
1899
1929
  /**
1900
1930
  * the approximate number of source chain blocks required before processing
1901
1931
  * @type {number}
@@ -1962,6 +1992,12 @@ export interface QuoteSwapResponse {
1962
1992
  * @memberof QuoteSwapResponse
1963
1993
  */
1964
1994
  'dust_threshold'?: string;
1995
+ /**
1996
+ * The recommended minimum inbound amount for this transaction type & inbound asset. Sending less than this amount could result in failed refunds.
1997
+ * @type {string}
1998
+ * @memberof QuoteSwapResponse
1999
+ */
2000
+ 'recommended_min_amount_in'?: string;
1965
2001
  /**
1966
2002
  * generated memo for the swap
1967
2003
  * @type {string}
@@ -2828,6 +2864,12 @@ export interface VaultPubkeysResponse {
2828
2864
  * @memberof VaultPubkeysResponse
2829
2865
  */
2830
2866
  'yggdrasil': Array<VaultInfo>;
2867
+ /**
2868
+ *
2869
+ * @type {Array<VaultInfo>}
2870
+ * @memberof VaultPubkeysResponse
2871
+ */
2872
+ 'inactive': Array<VaultInfo>;
2831
2873
  }
2832
2874
  /**
2833
2875
  *
@@ -2868,11 +2910,17 @@ export interface VersionResponse {
2868
2910
  */
2869
2911
  'current': string;
2870
2912
  /**
2871
- * next version
2913
+ * next version (minimum version for a node to become Active)
2872
2914
  * @type {string}
2873
2915
  * @memberof VersionResponse
2874
2916
  */
2875
2917
  'next': string;
2918
+ /**
2919
+ * height at which the minimum joining version last changed
2920
+ * @type {number}
2921
+ * @memberof VersionResponse
2922
+ */
2923
+ 'next_since_height'?: number;
2876
2924
  /**
2877
2925
  * querier version
2878
2926
  * @type {string}
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.109.0
5
+ * The version of the OpenAPI document: 1.113.1
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.109.0
5
+ * The version of the OpenAPI document: 1.113.1
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.109.0
5
+ * The version of the OpenAPI document: 1.113.1
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.109.0
5
+ * The version of the OpenAPI document: 1.113.1
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
@@ -3976,7 +3976,7 @@ class VaultsApi extends BaseAPI {
3976
3976
  * Thornode API
3977
3977
  * Thornode REST API.
3978
3978
  *
3979
- * The version of the OpenAPI document: 1.109.0
3979
+ * The version of the OpenAPI document: 1.113.1
3980
3980
  * Contact: devs@thorchain.org
3981
3981
  *
3982
3982
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).