From fdc50817acfc80db6abe75a1cbc558b679b88521 Mon Sep 17 00:00:00 2001 From: veado <61792675+veado@users.noreply.github.com> Date: Wed, 5 Oct 2022 10:19:04 +0200 Subject: [PATCH] Update types/api for latest thornode@1.97.2 (#2412) --- package.json | 2 +- .../generated/thornode/apis/BucketsApi.ts | 67 +++++++++++++++++++ .../generated/thornode/apis/HealthApi.ts | 2 +- .../thornode/apis/LiquidityProvidersApi.ts | 2 +- .../types/generated/thornode/apis/MimirApi.ts | 2 +- .../generated/thornode/apis/NetworkApi.ts | 2 +- .../types/generated/thornode/apis/NodesApi.ts | 2 +- .../types/generated/thornode/apis/POLApi.ts | 2 +- .../types/generated/thornode/apis/PoolsApi.ts | 2 +- .../types/generated/thornode/apis/QueueApi.ts | 2 +- .../types/generated/thornode/apis/TSSApi.ts | 2 +- .../generated/thornode/apis/ThornamesApi.ts | 2 +- .../thornode/apis/TransactionsApi.ts | 2 +- .../generated/thornode/apis/VaultsApi.ts | 2 +- .../types/generated/thornode/apis/index.ts | 1 + .../generated/thornode/models/BanResponse.ts | 2 +- .../types/generated/thornode/models/Bucket.ts | 40 +++++++++++ .../generated/thornode/models/ChainHeight.ts | 2 +- .../types/generated/thornode/models/Coin.ts | 2 +- .../thornode/models/ConstantsResponse.ts | 2 +- .../generated/thornode/models/KeysignInfo.ts | 2 +- .../thornode/models/KeysignMetrics.ts | 2 +- .../thornode/models/KeysignResponse.ts | 2 +- .../generated/thornode/models/LastBlock.ts | 2 +- .../thornode/models/LiquidityProvider.ts | 2 +- .../thornode/models/MetricsResponse.ts | 2 +- .../thornode/models/MimirNodesResponse.ts | 2 +- .../generated/thornode/models/MimirVote.ts | 2 +- .../thornode/models/NetworkResponse.ts | 2 +- .../types/generated/thornode/models/Node.ts | 2 +- .../thornode/models/NodeBondProvider.ts | 2 +- .../thornode/models/NodeBondProviders.ts | 2 +- .../generated/thornode/models/NodeJail.ts | 2 +- .../thornode/models/NodePreflightStatus.ts | 2 +- .../thornode/models/NodePubKeySet.ts | 2 +- .../generated/thornode/models/ObservedTx.ts | 2 +- .../generated/thornode/models/POLResponse.ts | 2 +- .../types/generated/thornode/models/Ping.ts | 2 +- .../types/generated/thornode/models/Pool.ts | 2 +- .../thornode/models/QueueResponse.ts | 2 +- .../thornode/models/TssKeysignMetric.ts | 2 +- .../generated/thornode/models/TssMetric.ts | 2 +- .../types/generated/thornode/models/Tx.ts | 2 +- .../generated/thornode/models/TxOutItem.ts | 2 +- .../generated/thornode/models/TxResponse.ts | 2 +- .../thornode/models/TxSignersResponse.ts | 2 +- .../types/generated/thornode/models/Vault.ts | 2 +- .../generated/thornode/models/VaultAddress.ts | 2 +- .../generated/thornode/models/VaultInfo.ts | 2 +- .../thornode/models/VaultPubkeysResponse.ts | 2 +- .../generated/thornode/models/VaultRouter.ts | 2 +- .../thornode/models/VersionResponse.ts | 2 +- .../types/generated/thornode/models/index.ts | 1 + .../types/generated/thornode/runtime.ts | 2 +- 54 files changed, 159 insertions(+), 50 deletions(-) create mode 100644 src/renderer/types/generated/thornode/apis/BucketsApi.ts create mode 100644 src/renderer/types/generated/thornode/models/Bucket.ts diff --git a/package.json b/package.json index d529f6fe3..9f424689d 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "generate:types": "yarn generate:types:midgard && yarn generate:types:thornode", "generate:types:midgard": "yarn clean:types:midgard && TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i https://midgard.ninerealms.com/v2/swagger.json -g typescript-rxjs -o ./src/renderer/types/generated/midgard --reserved-words-mappings in=in --enable-post-process-file", "clean:types:midgard": "rimraf ./src/renderer/types/generated/midgard", - "generate:types:thornode": "yarn clean:types:thornode && TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i https://gitlab.com/thorchain/thornode/-/raw/release-1.95.0/openapi/openapi.yaml -g typescript-rxjs -o ./src/renderer/types/generated/thornode --enable-post-process-file --skip-validate-spec", + "generate:types:thornode": "yarn clean:types:thornode && TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i https://gitlab.com/thorchain/thornode/-/raw/release-1.97.2/openapi/openapi.yaml -g typescript-rxjs -o ./src/renderer/types/generated/thornode --enable-post-process-file --skip-validate-spec", "clean:types:thornode": "rimraf ./src/renderer/types/generated/thornode", "storybook": "sb dev -p 9009 --no-manager-cache", "build-storybook": "sb build", diff --git a/src/renderer/types/generated/thornode/apis/BucketsApi.ts b/src/renderer/types/generated/thornode/apis/BucketsApi.ts new file mode 100644 index 000000000..06ae9345e --- /dev/null +++ b/src/renderer/types/generated/thornode/apis/BucketsApi.ts @@ -0,0 +1,67 @@ +// tslint:disable +/** + * Thornode API + * Thornode REST API. + * + * The version of the OpenAPI document: 1.97.2 + * Contact: devs@thorchain.org + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { Observable } from 'rxjs'; +import { BaseAPI, HttpQuery, throwIfNullOrUndefined, encodeURI } from '../runtime'; +import { + Bucket, +} from '../models'; + +export interface BucketRequest { + asset: string; + height?: number; +} + +export interface BucketsRequest { + height?: number; +} + +/** + * no description + */ +export class BucketsApi extends BaseAPI { + + /** + * Returns the bucket information for the provided asset. + */ + bucket = ({ asset, height }: BucketRequest): Observable => { + throwIfNullOrUndefined(asset, 'bucket'); + + const query: HttpQuery = {}; + + if (height != null) { query['height'] = height; } + + return this.request({ + path: '/thorchain/bucket/{asset}'.replace('{asset}', encodeURI(asset)), + method: 'GET', + query, + }); + }; + + /** + * Returns the bucket information for all assets. + */ + buckets = ({ height }: BucketsRequest): Observable> => { + + const query: HttpQuery = {}; + + if (height != null) { query['height'] = height; } + + return this.request>({ + path: '/thorchain/buckets', + method: 'GET', + query, + }); + }; + +} diff --git a/src/renderer/types/generated/thornode/apis/HealthApi.ts b/src/renderer/types/generated/thornode/apis/HealthApi.ts index 4456af514..500d8cd13 100644 --- a/src/renderer/types/generated/thornode/apis/HealthApi.ts +++ b/src/renderer/types/generated/thornode/apis/HealthApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/LiquidityProvidersApi.ts b/src/renderer/types/generated/thornode/apis/LiquidityProvidersApi.ts index cf5c52b33..018b9adc3 100644 --- a/src/renderer/types/generated/thornode/apis/LiquidityProvidersApi.ts +++ b/src/renderer/types/generated/thornode/apis/LiquidityProvidersApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/MimirApi.ts b/src/renderer/types/generated/thornode/apis/MimirApi.ts index 2d8438ee3..24af86673 100644 --- a/src/renderer/types/generated/thornode/apis/MimirApi.ts +++ b/src/renderer/types/generated/thornode/apis/MimirApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/NetworkApi.ts b/src/renderer/types/generated/thornode/apis/NetworkApi.ts index 70b025917..0c6aff09c 100644 --- a/src/renderer/types/generated/thornode/apis/NetworkApi.ts +++ b/src/renderer/types/generated/thornode/apis/NetworkApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/NodesApi.ts b/src/renderer/types/generated/thornode/apis/NodesApi.ts index f7b7424c3..2f0b30dce 100644 --- a/src/renderer/types/generated/thornode/apis/NodesApi.ts +++ b/src/renderer/types/generated/thornode/apis/NodesApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/POLApi.ts b/src/renderer/types/generated/thornode/apis/POLApi.ts index ba34d75d3..eb4d566f6 100644 --- a/src/renderer/types/generated/thornode/apis/POLApi.ts +++ b/src/renderer/types/generated/thornode/apis/POLApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/PoolsApi.ts b/src/renderer/types/generated/thornode/apis/PoolsApi.ts index 54b94007b..a2be91d9c 100644 --- a/src/renderer/types/generated/thornode/apis/PoolsApi.ts +++ b/src/renderer/types/generated/thornode/apis/PoolsApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/QueueApi.ts b/src/renderer/types/generated/thornode/apis/QueueApi.ts index 8c321b016..35dfd3252 100644 --- a/src/renderer/types/generated/thornode/apis/QueueApi.ts +++ b/src/renderer/types/generated/thornode/apis/QueueApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/TSSApi.ts b/src/renderer/types/generated/thornode/apis/TSSApi.ts index 8dbe10f49..2b9b48bb5 100644 --- a/src/renderer/types/generated/thornode/apis/TSSApi.ts +++ b/src/renderer/types/generated/thornode/apis/TSSApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/ThornamesApi.ts b/src/renderer/types/generated/thornode/apis/ThornamesApi.ts index 5361719eb..8f0e23485 100644 --- a/src/renderer/types/generated/thornode/apis/ThornamesApi.ts +++ b/src/renderer/types/generated/thornode/apis/ThornamesApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/TransactionsApi.ts b/src/renderer/types/generated/thornode/apis/TransactionsApi.ts index 044802d0f..9d33f980b 100644 --- a/src/renderer/types/generated/thornode/apis/TransactionsApi.ts +++ b/src/renderer/types/generated/thornode/apis/TransactionsApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/VaultsApi.ts b/src/renderer/types/generated/thornode/apis/VaultsApi.ts index f1a86b80a..e95002db5 100644 --- a/src/renderer/types/generated/thornode/apis/VaultsApi.ts +++ b/src/renderer/types/generated/thornode/apis/VaultsApi.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/apis/index.ts b/src/renderer/types/generated/thornode/apis/index.ts index 7625f8a0e..ee92985ce 100644 --- a/src/renderer/types/generated/thornode/apis/index.ts +++ b/src/renderer/types/generated/thornode/apis/index.ts @@ -1,3 +1,4 @@ +export * from './BucketsApi'; export * from './HealthApi'; export * from './LiquidityProvidersApi'; export * from './MimirApi'; diff --git a/src/renderer/types/generated/thornode/models/BanResponse.ts b/src/renderer/types/generated/thornode/models/BanResponse.ts index bc5afdc9b..06ed7ca75 100644 --- a/src/renderer/types/generated/thornode/models/BanResponse.ts +++ b/src/renderer/types/generated/thornode/models/BanResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Bucket.ts b/src/renderer/types/generated/thornode/models/Bucket.ts new file mode 100644 index 000000000..47eada4cd --- /dev/null +++ b/src/renderer/types/generated/thornode/models/Bucket.ts @@ -0,0 +1,40 @@ +// tslint:disable +/** + * Thornode API + * Thornode REST API. + * + * The version of the OpenAPI document: 1.97.2 + * Contact: devs@thorchain.org + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +/** + * @export + * @interface Bucket + */ +export interface Bucket { + /** + * @type {string} + * @memberof Bucket + */ + balance_asset: string; + /** + * @type {string} + * @memberof Bucket + */ + asset: string; + /** + * the total pool liquidity provider units + * @type {string} + * @memberof Bucket + */ + LP_units: string; + /** + * @type {string} + * @memberof Bucket + */ + status: string; +} diff --git a/src/renderer/types/generated/thornode/models/ChainHeight.ts b/src/renderer/types/generated/thornode/models/ChainHeight.ts index e94cba343..5a490da98 100644 --- a/src/renderer/types/generated/thornode/models/ChainHeight.ts +++ b/src/renderer/types/generated/thornode/models/ChainHeight.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Coin.ts b/src/renderer/types/generated/thornode/models/Coin.ts index d32ca8a9f..910dbc59d 100644 --- a/src/renderer/types/generated/thornode/models/Coin.ts +++ b/src/renderer/types/generated/thornode/models/Coin.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/ConstantsResponse.ts b/src/renderer/types/generated/thornode/models/ConstantsResponse.ts index d30d3a9b5..5f4a9ea04 100644 --- a/src/renderer/types/generated/thornode/models/ConstantsResponse.ts +++ b/src/renderer/types/generated/thornode/models/ConstantsResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/KeysignInfo.ts b/src/renderer/types/generated/thornode/models/KeysignInfo.ts index 8d13027ce..15e65fffa 100644 --- a/src/renderer/types/generated/thornode/models/KeysignInfo.ts +++ b/src/renderer/types/generated/thornode/models/KeysignInfo.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/KeysignMetrics.ts b/src/renderer/types/generated/thornode/models/KeysignMetrics.ts index 4e277aa5d..309b9ca13 100644 --- a/src/renderer/types/generated/thornode/models/KeysignMetrics.ts +++ b/src/renderer/types/generated/thornode/models/KeysignMetrics.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/KeysignResponse.ts b/src/renderer/types/generated/thornode/models/KeysignResponse.ts index 177b63689..ac56199be 100644 --- a/src/renderer/types/generated/thornode/models/KeysignResponse.ts +++ b/src/renderer/types/generated/thornode/models/KeysignResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/LastBlock.ts b/src/renderer/types/generated/thornode/models/LastBlock.ts index 33f7b4874..32f102cca 100644 --- a/src/renderer/types/generated/thornode/models/LastBlock.ts +++ b/src/renderer/types/generated/thornode/models/LastBlock.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/LiquidityProvider.ts b/src/renderer/types/generated/thornode/models/LiquidityProvider.ts index 1a3d972d0..4c8e1bc25 100644 --- a/src/renderer/types/generated/thornode/models/LiquidityProvider.ts +++ b/src/renderer/types/generated/thornode/models/LiquidityProvider.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/MetricsResponse.ts b/src/renderer/types/generated/thornode/models/MetricsResponse.ts index d635a3a69..4e8243020 100644 --- a/src/renderer/types/generated/thornode/models/MetricsResponse.ts +++ b/src/renderer/types/generated/thornode/models/MetricsResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/MimirNodesResponse.ts b/src/renderer/types/generated/thornode/models/MimirNodesResponse.ts index 4b1e84fe5..e0980e77c 100644 --- a/src/renderer/types/generated/thornode/models/MimirNodesResponse.ts +++ b/src/renderer/types/generated/thornode/models/MimirNodesResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/MimirVote.ts b/src/renderer/types/generated/thornode/models/MimirVote.ts index 7489602d7..33e7bc502 100644 --- a/src/renderer/types/generated/thornode/models/MimirVote.ts +++ b/src/renderer/types/generated/thornode/models/MimirVote.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/NetworkResponse.ts b/src/renderer/types/generated/thornode/models/NetworkResponse.ts index 555a98661..a9de2b462 100644 --- a/src/renderer/types/generated/thornode/models/NetworkResponse.ts +++ b/src/renderer/types/generated/thornode/models/NetworkResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Node.ts b/src/renderer/types/generated/thornode/models/Node.ts index d45d36fe6..bc7024113 100644 --- a/src/renderer/types/generated/thornode/models/Node.ts +++ b/src/renderer/types/generated/thornode/models/Node.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/NodeBondProvider.ts b/src/renderer/types/generated/thornode/models/NodeBondProvider.ts index 806b5f7cf..e2c88cc9b 100644 --- a/src/renderer/types/generated/thornode/models/NodeBondProvider.ts +++ b/src/renderer/types/generated/thornode/models/NodeBondProvider.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/NodeBondProviders.ts b/src/renderer/types/generated/thornode/models/NodeBondProviders.ts index 4d183f096..ee2b7b04b 100644 --- a/src/renderer/types/generated/thornode/models/NodeBondProviders.ts +++ b/src/renderer/types/generated/thornode/models/NodeBondProviders.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/NodeJail.ts b/src/renderer/types/generated/thornode/models/NodeJail.ts index 026db4922..6289a6597 100644 --- a/src/renderer/types/generated/thornode/models/NodeJail.ts +++ b/src/renderer/types/generated/thornode/models/NodeJail.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/NodePreflightStatus.ts b/src/renderer/types/generated/thornode/models/NodePreflightStatus.ts index 9ca46514b..da7908d8a 100644 --- a/src/renderer/types/generated/thornode/models/NodePreflightStatus.ts +++ b/src/renderer/types/generated/thornode/models/NodePreflightStatus.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/NodePubKeySet.ts b/src/renderer/types/generated/thornode/models/NodePubKeySet.ts index e48376427..318781ead 100644 --- a/src/renderer/types/generated/thornode/models/NodePubKeySet.ts +++ b/src/renderer/types/generated/thornode/models/NodePubKeySet.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/ObservedTx.ts b/src/renderer/types/generated/thornode/models/ObservedTx.ts index e05b0c677..c43b3f7ae 100644 --- a/src/renderer/types/generated/thornode/models/ObservedTx.ts +++ b/src/renderer/types/generated/thornode/models/ObservedTx.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/POLResponse.ts b/src/renderer/types/generated/thornode/models/POLResponse.ts index 5d009dab1..ad2834ce0 100644 --- a/src/renderer/types/generated/thornode/models/POLResponse.ts +++ b/src/renderer/types/generated/thornode/models/POLResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Ping.ts b/src/renderer/types/generated/thornode/models/Ping.ts index 9323fa172..93a9ab50d 100644 --- a/src/renderer/types/generated/thornode/models/Ping.ts +++ b/src/renderer/types/generated/thornode/models/Ping.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Pool.ts b/src/renderer/types/generated/thornode/models/Pool.ts index 2bafc6fef..8105c796a 100644 --- a/src/renderer/types/generated/thornode/models/Pool.ts +++ b/src/renderer/types/generated/thornode/models/Pool.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/QueueResponse.ts b/src/renderer/types/generated/thornode/models/QueueResponse.ts index 5fac9cb0b..fbf4ed194 100644 --- a/src/renderer/types/generated/thornode/models/QueueResponse.ts +++ b/src/renderer/types/generated/thornode/models/QueueResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/TssKeysignMetric.ts b/src/renderer/types/generated/thornode/models/TssKeysignMetric.ts index 179e2cce3..e730f5c63 100644 --- a/src/renderer/types/generated/thornode/models/TssKeysignMetric.ts +++ b/src/renderer/types/generated/thornode/models/TssKeysignMetric.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/TssMetric.ts b/src/renderer/types/generated/thornode/models/TssMetric.ts index 9bf5825ad..a0e1d8774 100644 --- a/src/renderer/types/generated/thornode/models/TssMetric.ts +++ b/src/renderer/types/generated/thornode/models/TssMetric.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Tx.ts b/src/renderer/types/generated/thornode/models/Tx.ts index 66053c992..60ae33416 100644 --- a/src/renderer/types/generated/thornode/models/Tx.ts +++ b/src/renderer/types/generated/thornode/models/Tx.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/TxOutItem.ts b/src/renderer/types/generated/thornode/models/TxOutItem.ts index 88062bd58..b016be481 100644 --- a/src/renderer/types/generated/thornode/models/TxOutItem.ts +++ b/src/renderer/types/generated/thornode/models/TxOutItem.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/TxResponse.ts b/src/renderer/types/generated/thornode/models/TxResponse.ts index 70d2bc635..90e30a160 100644 --- a/src/renderer/types/generated/thornode/models/TxResponse.ts +++ b/src/renderer/types/generated/thornode/models/TxResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/TxSignersResponse.ts b/src/renderer/types/generated/thornode/models/TxSignersResponse.ts index e623cdd28..5adaa2e4d 100644 --- a/src/renderer/types/generated/thornode/models/TxSignersResponse.ts +++ b/src/renderer/types/generated/thornode/models/TxSignersResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/Vault.ts b/src/renderer/types/generated/thornode/models/Vault.ts index 9fb71fd45..68e353509 100644 --- a/src/renderer/types/generated/thornode/models/Vault.ts +++ b/src/renderer/types/generated/thornode/models/Vault.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/VaultAddress.ts b/src/renderer/types/generated/thornode/models/VaultAddress.ts index 2b65dcf5e..3e9371f71 100644 --- a/src/renderer/types/generated/thornode/models/VaultAddress.ts +++ b/src/renderer/types/generated/thornode/models/VaultAddress.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/VaultInfo.ts b/src/renderer/types/generated/thornode/models/VaultInfo.ts index 772cf2e78..eb5cb5d47 100644 --- a/src/renderer/types/generated/thornode/models/VaultInfo.ts +++ b/src/renderer/types/generated/thornode/models/VaultInfo.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/VaultPubkeysResponse.ts b/src/renderer/types/generated/thornode/models/VaultPubkeysResponse.ts index 63e81e80f..627e7e211 100644 --- a/src/renderer/types/generated/thornode/models/VaultPubkeysResponse.ts +++ b/src/renderer/types/generated/thornode/models/VaultPubkeysResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/VaultRouter.ts b/src/renderer/types/generated/thornode/models/VaultRouter.ts index 48a546138..84fa63cd0 100644 --- a/src/renderer/types/generated/thornode/models/VaultRouter.ts +++ b/src/renderer/types/generated/thornode/models/VaultRouter.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/VersionResponse.ts b/src/renderer/types/generated/thornode/models/VersionResponse.ts index 449155732..17a7f2056 100644 --- a/src/renderer/types/generated/thornode/models/VersionResponse.ts +++ b/src/renderer/types/generated/thornode/models/VersionResponse.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/renderer/types/generated/thornode/models/index.ts b/src/renderer/types/generated/thornode/models/index.ts index 134f5120d..57d50de1b 100644 --- a/src/renderer/types/generated/thornode/models/index.ts +++ b/src/renderer/types/generated/thornode/models/index.ts @@ -1,4 +1,5 @@ export * from './BanResponse'; +export * from './Bucket'; export * from './ChainHeight'; export * from './Coin'; export * from './ConstantsResponse'; diff --git a/src/renderer/types/generated/thornode/runtime.ts b/src/renderer/types/generated/thornode/runtime.ts index e3f8219e3..aa697b9ba 100644 --- a/src/renderer/types/generated/thornode/runtime.ts +++ b/src/renderer/types/generated/thornode/runtime.ts @@ -3,7 +3,7 @@ * Thornode API * Thornode REST API. * - * The version of the OpenAPI document: 1.89.0 + * The version of the OpenAPI document: 1.97.2 * Contact: devs@thorchain.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).