Skip to content

Commit

Permalink
Update OpenAPI schema (#163)
Browse files Browse the repository at this point in the history
* Update OpenAPI schema

* bump version 3.1.22

---------

Co-authored-by: Kiln Bot <[email protected]>
Co-authored-by: ilies <[email protected]>
  • Loading branch information
3 people committed Nov 26, 2024
1 parent 84e73de commit cffa028
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kilnfi/sdk",
"version": "3.1.21",
"version": "3.1.22",
"autor": "Kiln <[email protected]> (https://kiln.fi)",
"license": "BUSL-1.1",
"description": "JavaScript sdk for Kiln API",
Expand Down
68 changes: 68 additions & 0 deletions src/openapi/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5222,6 +5222,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/v1/kava/transaction/restake-rewards": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Restake Rewards Transaction
* @description Generates a restake rewards transaction on Kava
*/
post: operations["postKavaRestakeRewardsTx"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/kava/transaction/redelegate": {
parameters: {
query?: never;
Expand Down Expand Up @@ -42655,6 +42675,54 @@ export interface operations {
};
};
};
postKavaRestakeRewardsTx: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** @description Transaction to craft */
requestBody: {
content: {
"application/json; charset=utf-8": components["schemas"]["KAVACraftRestakeRewardsTxPayload"];
};
};
responses: {
/** @description Successful operation */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json; charset=utf-8": {
data: components["schemas"]["KAVAUnsignedTx"];
};
};
};
/** @description Invalid parameters */
400: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Internal server error */
500: {
headers: {
[name: string]: unknown;
};
content?: never;
};
};
};
postKavaRedelegateTx: {
parameters: {
query?: never;
Expand Down

0 comments on commit cffa028

Please sign in to comment.