Skip to content

Commit 0e67167

Browse files
kiln-botLeTamanoir
andcommitted
Update OpenAPI schema (#227)
* Update OpenAPI schema * bump version --------- Co-authored-by: Kiln Bot <[email protected]> Co-authored-by: LeTamanoir <[email protected]>
1 parent b6188a0 commit 0e67167

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kilnfi/sdk",
3-
"version": "4.2.2",
3+
"version": "4.2.3",
44
"autor": "Kiln <[email protected]> (https://kiln.fi)",
55
"license": "BUSL-1.1",
66
"description": "JavaScript sdk for Kiln API",

src/openapi/schema.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8052,7 +8052,7 @@ export interface components {
80528052
* @example NEAR
80538053
* @enum {string}
80548054
*/
8055-
token: "NEAR" | "ATOM" | "POL" | "ADA" | "OSMO" | "DOT" | "KSM" | "SOL" | "TIA" | "EGLD" | "ZETA" | "INJ" | "FET" | "TON" | "KAVA" | "BTC" | "OM" | "CRO" | "TRX";
8055+
token: "NEAR" | "ATOM" | "POL" | "ADA" | "OSMO" | "DOT" | "KSM" | "SOL" | "TIA" | "EGLD" | "ZETA" | "INJ" | "FET" | "TON" | "KAVA" | "BTC/BABY" | "OM" | "CRO" | "TRX";
80568056
};
80578057
XTZPortfolio: components["schemas"]["BasePortfolio"] & {
80588058
/**
@@ -19227,6 +19227,10 @@ export interface components {
1922719227
* @example 6300000000000000000000000
1922819228
*/
1922919229
balance: string;
19230+
/** @description Estimated value of rewards generated for that day in USD. The exchange rate is the rate at the end of the day provided by CoinGeckko. */
19231+
rewards_usd?: string;
19232+
/** @description Estimated value of the staked balance at the beginning of the day in USD. The exchange rate is the rate at the end of the day provided by CoinGeckko. */
19233+
balance_usd?: string;
1923019234
};
1923119235
MATICStake: {
1923219236
/**
@@ -36765,7 +36769,7 @@ export interface components {
3676536769
*/
3676636770
owner_address: string;
3676736771
/**
36768-
* @description Number of votes to cast
36772+
* @description A map of Super Representative (SR) addresses with the number of votes to cast for each. The key is a string representing the SR's address, and the value is an integer indicating how many votes to assign to that SR.
3676936773
* @example {
3677036774
* "TQzd66b9EFVHJfZK5AmiVhBjtJvXGeSPPZ": 1
3677136775
* }
@@ -37557,7 +37561,7 @@ export interface operations {
3755737561
* @example ETH
3755837562
* @enum {string}
3755937563
*/
37560-
protocol: "NEAR" | "ETH" | "ATOM" | "POL" | "ADA" | "OSMO" | "XTZ" | "DOT" | "KSM" | "SOL" | "DYDX" | "TIA" | "EGLD" | "ZETA" | "INJ" | "FET" | "TON" | "KAVA" | "BBN" | "CRO" | "OM" | "SUI" | "TRX";
37564+
protocol: "NEAR" | "ETH" | "ATOM" | "POL" | "ADA" | "OSMO" | "XTZ" | "DOT" | "KSM" | "SOL" | "DYDX" | "TIA" | "EGLD" | "ZETA" | "INJ" | "FET" | "TON" | "KAVA" | "BTC/BABY" | "CRO" | "OM" | "SUI" | "TRX";
3756137565
};
3756237566
};
3756337567
};
@@ -45007,6 +45011,8 @@ export interface operations {
4500745011
start_date?: components["parameters"]["StartDateParam"];
4500845012
/** @description Get data to this date (YYYY-MM-DD) */
4500945013
end_date?: components["parameters"]["EndDateParam"];
45014+
/** @description Include rewards and balance in USD in response. <br/> If a `format` parameter exists it will only work with `format=daily` */
45015+
include_usd?: components["parameters"]["IncludeUSDParam"];
4501045016
};
4501145017
header?: never;
4501245018
path?: never;

0 commit comments

Comments
 (0)