@xchainjs/xchain-thornode 1.0.0 → 1.0.1

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/index.js CHANGED
@@ -44,7 +44,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
44
44
  * Thornode API
45
45
  * Thornode REST API.
46
46
  *
47
- * The version of the OpenAPI document: 3.1.1
47
+ * The version of the OpenAPI document: 3.5.1
48
48
  * Contact: devs@thorchain.org
49
49
  *
50
50
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -89,7 +89,7 @@ class RequiredError extends Error {
89
89
  * Thornode API
90
90
  * Thornode REST API.
91
91
  *
92
- * The version of the OpenAPI document: 3.1.1
92
+ * The version of the OpenAPI document: 3.5.1
93
93
  * Contact: devs@thorchain.org
94
94
  *
95
95
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -162,7 +162,7 @@ const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, confi
162
162
  * Thornode API
163
163
  * Thornode REST API.
164
164
  *
165
- * The version of the OpenAPI document: 3.1.1
165
+ * The version of the OpenAPI document: 3.5.1
166
166
  * Contact: devs@thorchain.org
167
167
  *
168
168
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3509,12 +3509,13 @@ const QuoteApiAxiosParamCreator = function (configuration) {
3509
3509
  * @param {number} [streamingInterval] the interval in which streaming swaps are swapped
3510
3510
  * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
3511
3511
  * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
3512
+ * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
3512
3513
  * @param {number} [affiliateBps] the affiliate fee in basis points
3513
3514
  * @param {string} [affiliate] the affiliate (address or thorname)
3514
3515
  * @param {*} [options] Override http request option.
3515
3516
  * @throws {RequiredError}
3516
3517
  */
3517
- quoteswap: (height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options = {}) => __awaiter(this, void 0, void 0, function* () {
3518
+ quoteswap: (height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options = {}) => __awaiter(this, void 0, void 0, function* () {
3518
3519
  const localVarPath = `/thorchain/quote/swap`;
3519
3520
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3520
3521
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3552,6 +3553,9 @@ const QuoteApiAxiosParamCreator = function (configuration) {
3552
3553
  if (toleranceBps !== undefined) {
3553
3554
  localVarQueryParameter['tolerance_bps'] = toleranceBps;
3554
3555
  }
3556
+ if (liquidityToleranceBps !== undefined) {
3557
+ localVarQueryParameter['liquidity_tolerance_bps'] = liquidityToleranceBps;
3558
+ }
3555
3559
  if (affiliateBps !== undefined) {
3556
3560
  localVarQueryParameter['affiliate_bps'] = affiliateBps;
3557
3561
  }
@@ -3651,14 +3655,15 @@ const QuoteApiFp = function (configuration) {
3651
3655
  * @param {number} [streamingInterval] the interval in which streaming swaps are swapped
3652
3656
  * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
3653
3657
  * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
3658
+ * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
3654
3659
  * @param {number} [affiliateBps] the affiliate fee in basis points
3655
3660
  * @param {string} [affiliate] the affiliate (address or thorname)
3656
3661
  * @param {*} [options] Override http request option.
3657
3662
  * @throws {RequiredError}
3658
3663
  */
3659
- quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options) {
3664
+ quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options) {
3660
3665
  return __awaiter(this, void 0, void 0, function* () {
3661
- const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options);
3666
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options);
3662
3667
  return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
3663
3668
  });
3664
3669
  },
@@ -3735,13 +3740,14 @@ const QuoteApiFactory = function (configuration, basePath, axios) {
3735
3740
  * @param {number} [streamingInterval] the interval in which streaming swaps are swapped
3736
3741
  * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
3737
3742
  * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
3743
+ * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
3738
3744
  * @param {number} [affiliateBps] the affiliate fee in basis points
3739
3745
  * @param {string} [affiliate] the affiliate (address or thorname)
3740
3746
  * @param {*} [options] Override http request option.
3741
3747
  * @throws {RequiredError}
3742
3748
  */
3743
- quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options) {
3744
- return localVarFp.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options).then((request) => request(axios, basePath));
3749
+ quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options) {
3750
+ return localVarFp.quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options).then((request) => request(axios, basePath));
3745
3751
  },
3746
3752
  };
3747
3753
  };
@@ -3820,14 +3826,15 @@ class QuoteApi extends BaseAPI {
3820
3826
  * @param {number} [streamingInterval] the interval in which streaming swaps are swapped
3821
3827
  * @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
3822
3828
  * @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
3829
+ * @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
3823
3830
  * @param {number} [affiliateBps] the affiliate fee in basis points
3824
3831
  * @param {string} [affiliate] the affiliate (address or thorname)
3825
3832
  * @param {*} [options] Override http request option.
3826
3833
  * @throws {RequiredError}
3827
3834
  * @memberof QuoteApi
3828
3835
  */
3829
- quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options) {
3830
- return QuoteApiFp(this.configuration).quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, affiliateBps, affiliate, options).then((request) => request(this.axios, this.basePath));
3836
+ quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options) {
3837
+ return QuoteApiFp(this.configuration).quoteswap(height, fromAsset, toAsset, amount, destination, refundAddress, streamingInterval, streamingQuantity, toleranceBps, liquidityToleranceBps, affiliateBps, affiliate, options).then((request) => request(this.axios, this.basePath));
3831
3838
  }
3832
3839
  }
3833
3840
  /**
@@ -4573,6 +4580,324 @@ class StreamingSwapApi extends BaseAPI {
4573
4580
  return StreamingSwapApiFp(this.configuration).streamSwaps(height, options).then((request) => request(this.axios, this.basePath));
4574
4581
  }
4575
4582
  }
4583
+ /**
4584
+ * TCYClaimersApi - axios parameter creator
4585
+ * @export
4586
+ */
4587
+ const TCYClaimersApiAxiosParamCreator = function (configuration) {
4588
+ return {
4589
+ /**
4590
+ * Returns the tcy claimer information for an address.
4591
+ * @param {string} address
4592
+ * @param {number} [height] optional block height, defaults to current tip
4593
+ * @param {*} [options] Override http request option.
4594
+ * @throws {RequiredError}
4595
+ */
4596
+ tcyClaimer: (address, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
4597
+ // verify required parameter 'address' is not null or undefined
4598
+ assertParamExists('tcyClaimer', 'address', address);
4599
+ const localVarPath = `/thorchain/tcy_claimer/{address}`
4600
+ .replace(`{${"address"}}`, encodeURIComponent(String(address)));
4601
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4602
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4603
+ let baseOptions;
4604
+ if (configuration) {
4605
+ baseOptions = configuration.baseOptions;
4606
+ }
4607
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4608
+ const localVarHeaderParameter = {};
4609
+ const localVarQueryParameter = {};
4610
+ if (height !== undefined) {
4611
+ localVarQueryParameter['height'] = height;
4612
+ }
4613
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4614
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4615
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4616
+ return {
4617
+ url: toPathString(localVarUrlObj),
4618
+ options: localVarRequestOptions,
4619
+ };
4620
+ }),
4621
+ /**
4622
+ * Returns all tcy claimers information.
4623
+ * @param {number} [height] optional block height, defaults to current tip
4624
+ * @param {*} [options] Override http request option.
4625
+ * @throws {RequiredError}
4626
+ */
4627
+ tcyClaimers: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
4628
+ const localVarPath = `/thorchain/tcy_claimers`;
4629
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4630
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4631
+ let baseOptions;
4632
+ if (configuration) {
4633
+ baseOptions = configuration.baseOptions;
4634
+ }
4635
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4636
+ const localVarHeaderParameter = {};
4637
+ const localVarQueryParameter = {};
4638
+ if (height !== undefined) {
4639
+ localVarQueryParameter['height'] = height;
4640
+ }
4641
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4643
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4644
+ return {
4645
+ url: toPathString(localVarUrlObj),
4646
+ options: localVarRequestOptions,
4647
+ };
4648
+ }),
4649
+ };
4650
+ };
4651
+ /**
4652
+ * TCYClaimersApi - functional programming interface
4653
+ * @export
4654
+ */
4655
+ const TCYClaimersApiFp = function (configuration) {
4656
+ const localVarAxiosParamCreator = TCYClaimersApiAxiosParamCreator(configuration);
4657
+ return {
4658
+ /**
4659
+ * Returns the tcy claimer information for an address.
4660
+ * @param {string} address
4661
+ * @param {number} [height] optional block height, defaults to current tip
4662
+ * @param {*} [options] Override http request option.
4663
+ * @throws {RequiredError}
4664
+ */
4665
+ tcyClaimer(address, height, options) {
4666
+ return __awaiter(this, void 0, void 0, function* () {
4667
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tcyClaimer(address, height, options);
4668
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4669
+ });
4670
+ },
4671
+ /**
4672
+ * Returns all tcy claimers information.
4673
+ * @param {number} [height] optional block height, defaults to current tip
4674
+ * @param {*} [options] Override http request option.
4675
+ * @throws {RequiredError}
4676
+ */
4677
+ tcyClaimers(height, options) {
4678
+ return __awaiter(this, void 0, void 0, function* () {
4679
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tcyClaimers(height, options);
4680
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4681
+ });
4682
+ },
4683
+ };
4684
+ };
4685
+ /**
4686
+ * TCYClaimersApi - factory interface
4687
+ * @export
4688
+ */
4689
+ const TCYClaimersApiFactory = function (configuration, basePath, axios) {
4690
+ const localVarFp = TCYClaimersApiFp(configuration);
4691
+ return {
4692
+ /**
4693
+ * Returns the tcy claimer information for an address.
4694
+ * @param {string} address
4695
+ * @param {number} [height] optional block height, defaults to current tip
4696
+ * @param {*} [options] Override http request option.
4697
+ * @throws {RequiredError}
4698
+ */
4699
+ tcyClaimer(address, height, options) {
4700
+ return localVarFp.tcyClaimer(address, height, options).then((request) => request(axios, basePath));
4701
+ },
4702
+ /**
4703
+ * Returns all tcy claimers information.
4704
+ * @param {number} [height] optional block height, defaults to current tip
4705
+ * @param {*} [options] Override http request option.
4706
+ * @throws {RequiredError}
4707
+ */
4708
+ tcyClaimers(height, options) {
4709
+ return localVarFp.tcyClaimers(height, options).then((request) => request(axios, basePath));
4710
+ },
4711
+ };
4712
+ };
4713
+ /**
4714
+ * TCYClaimersApi - object-oriented interface
4715
+ * @export
4716
+ * @class TCYClaimersApi
4717
+ * @extends {BaseAPI}
4718
+ */
4719
+ class TCYClaimersApi extends BaseAPI {
4720
+ /**
4721
+ * Returns the tcy claimer information for an address.
4722
+ * @param {string} address
4723
+ * @param {number} [height] optional block height, defaults to current tip
4724
+ * @param {*} [options] Override http request option.
4725
+ * @throws {RequiredError}
4726
+ * @memberof TCYClaimersApi
4727
+ */
4728
+ tcyClaimer(address, height, options) {
4729
+ return TCYClaimersApiFp(this.configuration).tcyClaimer(address, height, options).then((request) => request(this.axios, this.basePath));
4730
+ }
4731
+ /**
4732
+ * Returns all tcy claimers information.
4733
+ * @param {number} [height] optional block height, defaults to current tip
4734
+ * @param {*} [options] Override http request option.
4735
+ * @throws {RequiredError}
4736
+ * @memberof TCYClaimersApi
4737
+ */
4738
+ tcyClaimers(height, options) {
4739
+ return TCYClaimersApiFp(this.configuration).tcyClaimers(height, options).then((request) => request(this.axios, this.basePath));
4740
+ }
4741
+ }
4742
+ /**
4743
+ * TCYStakersApi - axios parameter creator
4744
+ * @export
4745
+ */
4746
+ const TCYStakersApiAxiosParamCreator = function (configuration) {
4747
+ return {
4748
+ /**
4749
+ * Returns the tcy staker information for an address.
4750
+ * @param {string} address
4751
+ * @param {number} [height] optional block height, defaults to current tip
4752
+ * @param {*} [options] Override http request option.
4753
+ * @throws {RequiredError}
4754
+ */
4755
+ tcyStaker: (address, height, options = {}) => __awaiter(this, void 0, void 0, function* () {
4756
+ // verify required parameter 'address' is not null or undefined
4757
+ assertParamExists('tcyStaker', 'address', address);
4758
+ const localVarPath = `/thorchain/tcy_staker/{address}`
4759
+ .replace(`{${"address"}}`, encodeURIComponent(String(address)));
4760
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4761
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4762
+ let baseOptions;
4763
+ if (configuration) {
4764
+ baseOptions = configuration.baseOptions;
4765
+ }
4766
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4767
+ const localVarHeaderParameter = {};
4768
+ const localVarQueryParameter = {};
4769
+ if (height !== undefined) {
4770
+ localVarQueryParameter['height'] = height;
4771
+ }
4772
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4773
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4774
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4775
+ return {
4776
+ url: toPathString(localVarUrlObj),
4777
+ options: localVarRequestOptions,
4778
+ };
4779
+ }),
4780
+ /**
4781
+ * Returns all tcy stakers information.
4782
+ * @param {number} [height] optional block height, defaults to current tip
4783
+ * @param {*} [options] Override http request option.
4784
+ * @throws {RequiredError}
4785
+ */
4786
+ tcyStakers: (height, options = {}) => __awaiter(this, void 0, void 0, function* () {
4787
+ const localVarPath = `/thorchain/tcy_stakers`;
4788
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4789
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4790
+ let baseOptions;
4791
+ if (configuration) {
4792
+ baseOptions = configuration.baseOptions;
4793
+ }
4794
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4795
+ const localVarHeaderParameter = {};
4796
+ const localVarQueryParameter = {};
4797
+ if (height !== undefined) {
4798
+ localVarQueryParameter['height'] = height;
4799
+ }
4800
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4802
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4803
+ return {
4804
+ url: toPathString(localVarUrlObj),
4805
+ options: localVarRequestOptions,
4806
+ };
4807
+ }),
4808
+ };
4809
+ };
4810
+ /**
4811
+ * TCYStakersApi - functional programming interface
4812
+ * @export
4813
+ */
4814
+ const TCYStakersApiFp = function (configuration) {
4815
+ const localVarAxiosParamCreator = TCYStakersApiAxiosParamCreator(configuration);
4816
+ return {
4817
+ /**
4818
+ * Returns the tcy staker information for an address.
4819
+ * @param {string} address
4820
+ * @param {number} [height] optional block height, defaults to current tip
4821
+ * @param {*} [options] Override http request option.
4822
+ * @throws {RequiredError}
4823
+ */
4824
+ tcyStaker(address, height, options) {
4825
+ return __awaiter(this, void 0, void 0, function* () {
4826
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tcyStaker(address, height, options);
4827
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4828
+ });
4829
+ },
4830
+ /**
4831
+ * Returns all tcy stakers information.
4832
+ * @param {number} [height] optional block height, defaults to current tip
4833
+ * @param {*} [options] Override http request option.
4834
+ * @throws {RequiredError}
4835
+ */
4836
+ tcyStakers(height, options) {
4837
+ return __awaiter(this, void 0, void 0, function* () {
4838
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tcyStakers(height, options);
4839
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default.default, BASE_PATH, configuration);
4840
+ });
4841
+ },
4842
+ };
4843
+ };
4844
+ /**
4845
+ * TCYStakersApi - factory interface
4846
+ * @export
4847
+ */
4848
+ const TCYStakersApiFactory = function (configuration, basePath, axios) {
4849
+ const localVarFp = TCYStakersApiFp(configuration);
4850
+ return {
4851
+ /**
4852
+ * Returns the tcy staker information for an address.
4853
+ * @param {string} address
4854
+ * @param {number} [height] optional block height, defaults to current tip
4855
+ * @param {*} [options] Override http request option.
4856
+ * @throws {RequiredError}
4857
+ */
4858
+ tcyStaker(address, height, options) {
4859
+ return localVarFp.tcyStaker(address, height, options).then((request) => request(axios, basePath));
4860
+ },
4861
+ /**
4862
+ * Returns all tcy stakers information.
4863
+ * @param {number} [height] optional block height, defaults to current tip
4864
+ * @param {*} [options] Override http request option.
4865
+ * @throws {RequiredError}
4866
+ */
4867
+ tcyStakers(height, options) {
4868
+ return localVarFp.tcyStakers(height, options).then((request) => request(axios, basePath));
4869
+ },
4870
+ };
4871
+ };
4872
+ /**
4873
+ * TCYStakersApi - object-oriented interface
4874
+ * @export
4875
+ * @class TCYStakersApi
4876
+ * @extends {BaseAPI}
4877
+ */
4878
+ class TCYStakersApi extends BaseAPI {
4879
+ /**
4880
+ * Returns the tcy staker information for an address.
4881
+ * @param {string} address
4882
+ * @param {number} [height] optional block height, defaults to current tip
4883
+ * @param {*} [options] Override http request option.
4884
+ * @throws {RequiredError}
4885
+ * @memberof TCYStakersApi
4886
+ */
4887
+ tcyStaker(address, height, options) {
4888
+ return TCYStakersApiFp(this.configuration).tcyStaker(address, height, options).then((request) => request(this.axios, this.basePath));
4889
+ }
4890
+ /**
4891
+ * Returns all tcy stakers information.
4892
+ * @param {number} [height] optional block height, defaults to current tip
4893
+ * @param {*} [options] Override http request option.
4894
+ * @throws {RequiredError}
4895
+ * @memberof TCYStakersApi
4896
+ */
4897
+ tcyStakers(height, options) {
4898
+ return TCYStakersApiFp(this.configuration).tcyStakers(height, options).then((request) => request(this.axios, this.basePath));
4899
+ }
4900
+ }
4576
4901
  /**
4577
4902
  * TSSApi - axios parameter creator
4578
4903
  * @export
@@ -6064,7 +6389,7 @@ class VaultsApi extends BaseAPI {
6064
6389
  * Thornode API
6065
6390
  * Thornode REST API.
6066
6391
  *
6067
- * The version of the OpenAPI document: 3.1.1
6392
+ * The version of the OpenAPI document: 3.5.1
6068
6393
  * Contact: devs@thorchain.org
6069
6394
  *
6070
6395
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6189,6 +6514,14 @@ exports.StreamingSwapApi = StreamingSwapApi;
6189
6514
  exports.StreamingSwapApiAxiosParamCreator = StreamingSwapApiAxiosParamCreator;
6190
6515
  exports.StreamingSwapApiFactory = StreamingSwapApiFactory;
6191
6516
  exports.StreamingSwapApiFp = StreamingSwapApiFp;
6517
+ exports.TCYClaimersApi = TCYClaimersApi;
6518
+ exports.TCYClaimersApiAxiosParamCreator = TCYClaimersApiAxiosParamCreator;
6519
+ exports.TCYClaimersApiFactory = TCYClaimersApiFactory;
6520
+ exports.TCYClaimersApiFp = TCYClaimersApiFp;
6521
+ exports.TCYStakersApi = TCYStakersApi;
6522
+ exports.TCYStakersApiAxiosParamCreator = TCYStakersApiAxiosParamCreator;
6523
+ exports.TCYStakersApiFactory = TCYStakersApiFactory;
6524
+ exports.TCYStakersApiFp = TCYStakersApiFp;
6192
6525
  exports.THORNODE_API_9R_URL = THORNODE_API_9R_URL;
6193
6526
  exports.TSSApi = TSSApi;
6194
6527
  exports.TSSApiAxiosParamCreator = TSSApiAxiosParamCreator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-thornode",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "license": "MIT",
5
5
  "description": "Thornode module that exposes all thornode functions using openapi-generator-cli",
6
6
  "keywords": [