From 50aacfdb1c5040c5f59412a028e14776c354b512 Mon Sep 17 00:00:00 2001 From: KeKs0r <2970814+KeKs0r@users.noreply.github.com> Date: Mon, 9 Jun 2025 00:30:56 +0000 Subject: [PATCH] chore: update oas definitions --- ...stract-account-authenticators.endpoint.mdx | 2 +- ...act-accounts-by-authenticator.endpoint.mdx | 2 +- ...unts-details-by-authenticator.endpoint.mdx | 2 +- openAPI/osmosis.json | 26 +++++++------------ openAPI/xion.json | 15 +++-------- 5 files changed, 15 insertions(+), 32 deletions(-) diff --git a/docs/reference/xion/get-abstract-account-authenticators.endpoint.mdx b/docs/reference/xion/get-abstract-account-authenticators.endpoint.mdx index 52c690c..1411906 100644 --- a/docs/reference/xion/get-abstract-account-authenticators.endpoint.mdx +++ b/docs/reference/xion/get-abstract-account-authenticators.endpoint.mdx @@ -1,5 +1,5 @@ --- -route: GET /v2/smartAccount/{smart_account}/authenticators +route: GET /v3/smartAccount/{smart_account}/authenticators --- {/* Don't change the file name or the metadata in this file */} diff --git a/docs/reference/xion/get-abstract-accounts-by-authenticator.endpoint.mdx b/docs/reference/xion/get-abstract-accounts-by-authenticator.endpoint.mdx index 0a62c96..e5c46ee 100644 --- a/docs/reference/xion/get-abstract-accounts-by-authenticator.endpoint.mdx +++ b/docs/reference/xion/get-abstract-accounts-by-authenticator.endpoint.mdx @@ -1,5 +1,5 @@ --- -route: GET /v2/authenticators/{authenticator}/smartAccounts +route: GET /v3/authenticators/{authenticator}/smartAccounts --- {/* Don't change the file name or the metadata in this file */} diff --git a/docs/reference/xion/get-abstract-accounts-details-by-authenticator.endpoint.mdx b/docs/reference/xion/get-abstract-accounts-details-by-authenticator.endpoint.mdx index 470d5df..e29aa1d 100644 --- a/docs/reference/xion/get-abstract-accounts-details-by-authenticator.endpoint.mdx +++ b/docs/reference/xion/get-abstract-accounts-details-by-authenticator.endpoint.mdx @@ -1,5 +1,5 @@ --- -route: GET /v2/authenticators/{authenticator}/smartAccounts/details +route: GET /v3/authenticators/{authenticator}/smartAccounts/details --- {/* Don't change the file name or the metadata in this file */} diff --git a/openAPI/osmosis.json b/openAPI/osmosis.json index 8a36553..e8f1e0d 100644 --- a/openAPI/osmosis.json +++ b/openAPI/osmosis.json @@ -2558,7 +2558,7 @@ "type": "string", "description": "Date in the format YYYY-MM-DD HH:MM:SS" }, - "required": true, + "required": false, "name": "start_date", "in": "query" }, @@ -2567,7 +2567,7 @@ "type": "string", "description": "Date in the format YYYY-MM-DD HH:MM:SS" }, - "required": true, + "required": false, "name": "end_date", "in": "query" } @@ -2583,27 +2583,19 @@ "type": "object", "properties": { "labels": { - "type": "string", - "description": "Date in the format YYYY-MM-DD HH:MM:SS" + "type": "string" }, - "protorev": { - "type": "number", - "nullable": true + "source": { + "type": "string" }, - "tx_fees": { + "amount": { "type": "number" - }, - "swap_fees": { - "type": "number", - "nullable": true - }, - "taker_fees": { - "type": "number", - "nullable": true } }, "required": [ - "labels" + "labels", + "source", + "amount" ] } } diff --git a/openAPI/xion.json b/openAPI/xion.json index 6e84f71..198b6f9 100644 --- a/openAPI/xion.json +++ b/openAPI/xion.json @@ -25,15 +25,12 @@ "parameters": {} }, "paths": { - "/v2/smartAccount/{smart_account}/authenticators": { + "/v3/smartAccount/{smart_account}/authenticators": { "get": { "servers": [ { "url": "https://xion.numia.xyz" }, - { - "url": "https://xion-testnet.numia.xyz" - }, { "url": "https://xion-testnet-2.numia.xyz" } @@ -122,15 +119,12 @@ "summary": "Get Abstract Account Authenticators" } }, - "/v2/authenticators/{authenticator}/smartAccounts": { + "/v3/authenticators/{authenticator}/smartAccounts": { "get": { "servers": [ { "url": "https://xion.numia.xyz" }, - { - "url": "https://xion-testnet.numia.xyz" - }, { "url": "https://xion-testnet-2.numia.xyz" } @@ -196,15 +190,12 @@ "summary": "Get Abstract Accounts By Authenticator" } }, - "/v2/authenticators/{authenticator}/smartAccounts/details": { + "/v3/authenticators/{authenticator}/smartAccounts/details": { "get": { "servers": [ { "url": "https://xion.numia.xyz" }, - { - "url": "https://xion-testnet.numia.xyz" - }, { "url": "https://xion-testnet-2.numia.xyz" }