From cbdf39b0ed0cb2031ca3b63110501655f392fbde Mon Sep 17 00:00:00 2001 From: shoom3301 Date: Wed, 11 Dec 2024 12:45:55 +0500 Subject: [PATCH 1/2] feat: add collection for assets that free from fees --- .../content-types/tax-free-asset/schema.json | 34 + .../controllers/tax-free-asset.ts | 7 + .../documentation/1.0.0/tax-free-asset.json | 507 +++ .../tax-free-asset/routes/tax-free-asset.ts | 7 + .../tax-free-asset/services/tax-free-asset.ts | 7 + .../1.0.0/full_documentation.json | 3086 +++++++++++------ 6 files changed, 2567 insertions(+), 1081 deletions(-) create mode 100644 src/api/tax-free-asset/content-types/tax-free-asset/schema.json create mode 100644 src/api/tax-free-asset/controllers/tax-free-asset.ts create mode 100644 src/api/tax-free-asset/documentation/1.0.0/tax-free-asset.json create mode 100644 src/api/tax-free-asset/routes/tax-free-asset.ts create mode 100644 src/api/tax-free-asset/services/tax-free-asset.ts diff --git a/src/api/tax-free-asset/content-types/tax-free-asset/schema.json b/src/api/tax-free-asset/content-types/tax-free-asset/schema.json new file mode 100644 index 0000000..eec6890 --- /dev/null +++ b/src/api/tax-free-asset/content-types/tax-free-asset/schema.json @@ -0,0 +1,34 @@ +{ + "kind": "collectionType", + "collectionName": "tax_free_assets", + "info": { + "singularName": "tax-free-asset", + "pluralName": "tax-free-assets", + "displayName": "Tax Free Assets", + "description": "" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "chainId": { + "type": "enumeration", + "enum": [ + "MAINNET", + "GNOSIS_CHAIN", + "ARBITRUM_ONE", + "BASE", + "SEPOLIA" + ], + "required": true + }, + "description": { + "type": "string" + }, + "tokenIds": { + "type": "string", + "required": true + } + } +} diff --git a/src/api/tax-free-asset/controllers/tax-free-asset.ts b/src/api/tax-free-asset/controllers/tax-free-asset.ts new file mode 100644 index 0000000..930722e --- /dev/null +++ b/src/api/tax-free-asset/controllers/tax-free-asset.ts @@ -0,0 +1,7 @@ +/** + * tax-free-asset controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::tax-free-asset.tax-free-asset'); diff --git a/src/api/tax-free-asset/documentation/1.0.0/tax-free-asset.json b/src/api/tax-free-asset/documentation/1.0.0/tax-free-asset.json new file mode 100644 index 0000000..06c8ce9 --- /dev/null +++ b/src/api/tax-free-asset/documentation/1.0.0/tax-free-asset.json @@ -0,0 +1,507 @@ +{ + "/tax-free-assets": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaxFreeAssetListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Tax-free-asset" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/tax-free-assets" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaxFreeAssetResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Tax-free-asset" + ], + "parameters": [], + "operationId": "post/tax-free-assets", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaxFreeAssetRequest" + } + } + } + } + } + }, + "/tax-free-assets/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaxFreeAssetResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Tax-free-asset" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/tax-free-assets/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaxFreeAssetResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Tax-free-asset" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/tax-free-assets/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaxFreeAssetRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Tax-free-asset" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/tax-free-assets/{id}" + } + } +} diff --git a/src/api/tax-free-asset/routes/tax-free-asset.ts b/src/api/tax-free-asset/routes/tax-free-asset.ts new file mode 100644 index 0000000..73cae1e --- /dev/null +++ b/src/api/tax-free-asset/routes/tax-free-asset.ts @@ -0,0 +1,7 @@ +/** + * tax-free-asset router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::tax-free-asset.tax-free-asset'); diff --git a/src/api/tax-free-asset/services/tax-free-asset.ts b/src/api/tax-free-asset/services/tax-free-asset.ts new file mode 100644 index 0000000..26b2934 --- /dev/null +++ b/src/api/tax-free-asset/services/tax-free-asset.ts @@ -0,0 +1,7 @@ +/** + * tax-free-asset service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::tax-free-asset.tax-free-asset'); diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index e0328a7..9ee5656 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2024-09-05T14:53:06.706Z" + "x-generation-date": "2024-12-11T06:34:56.391Z" }, "x-strapi-config": { "path": "/documentation", @@ -25390,6 +25390,425 @@ } } }, + "TaxFreeAssetRequest": { + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "required": [ + "chainId", + "tokenIds" + ], + "type": "object", + "properties": { + "chainId": { + "type": "string", + "enum": [ + "MAINNET", + "GNOSIS_CHAIN", + "ARBITRUM_ONE", + "BASE", + "SEPOLIA" + ] + }, + "description": { + "type": "string" + }, + "tokenIds": { + "type": "string" + } + } + } + } + }, + "TaxFreeAssetListResponseDataItem": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "$ref": "#/components/schemas/TaxFreeAsset" + } + } + }, + "TaxFreeAssetListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TaxFreeAssetListResponseDataItem" + } + }, + "meta": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "integer" + }, + "pageSize": { + "type": "integer", + "minimum": 25 + }, + "pageCount": { + "type": "integer", + "maximum": 1 + }, + "total": { + "type": "integer" + } + } + } + } + } + } + }, + "TaxFreeAsset": { + "type": "object", + "required": [ + "chainId", + "tokenIds" + ], + "properties": { + "chainId": { + "type": "string", + "enum": [ + "MAINNET", + "GNOSIS_CHAIN", + "ARBITRUM_ONE", + "BASE", + "SEPOLIA" + ] + }, + "description": { + "type": "string" + }, + "tokenIds": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string", + "format": "email" + }, + "resetPasswordToken": { + "type": "string" + }, + "registrationToken": { + "type": "string" + }, + "isActive": { + "type": "boolean" + }, + "roles": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + }, + "users": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "permissions": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "properties": {}, + "conditions": {}, + "role": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "blocked": { + "type": "boolean" + }, + "preferedLanguage": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + }, + "TaxFreeAssetResponseDataObject": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "$ref": "#/components/schemas/TaxFreeAsset" + } + } + }, + "TaxFreeAssetResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/TaxFreeAssetResponseDataObject" + }, + "meta": { + "type": "object" + } + } + }, "TelegramSubscriptionRequest": { "type": "object", "required": [ @@ -26350,7 +26769,512 @@ } }, "tags": [ - "Article" + "Article" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/articles/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ArticleResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Article" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/articles/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ArticleRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Article" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/articles/{id}" + } + }, + "/authors": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthorListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Author" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/authors" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthorResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Author" + ], + "parameters": [], + "operationId": "post/authors", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthorRequest" + } + } + } + } + } + }, + "/authors/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthorResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Author" ], "parameters": [ { @@ -26364,7 +27288,7 @@ } } ], - "operationId": "get/articles/{id}" + "operationId": "get/authors/{id}" }, "put": { "responses": { @@ -26373,7 +27297,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleResponse" + "$ref": "#/components/schemas/AuthorResponse" } } } @@ -26430,7 +27354,7 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [ { @@ -26444,13 +27368,13 @@ } } ], - "operationId": "put/articles/{id}", + "operationId": "put/authors/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleRequest" + "$ref": "#/components/schemas/AuthorRequest" } } } @@ -26521,7 +27445,7 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [ { @@ -26535,10 +27459,10 @@ } } ], - "operationId": "delete/articles/{id}" + "operationId": "delete/authors/{id}" } }, - "/authors": { + "/bonding-pools": { "get": { "responses": { "200": { @@ -26546,7 +27470,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorListResponse" + "$ref": "#/components/schemas/BondingPoolListResponse" } } } @@ -26603,7 +27527,7 @@ } }, "tags": [ - "Author" + "Bonding-pool" ], "parameters": [ { @@ -26708,7 +27632,7 @@ } } ], - "operationId": "get/authors" + "operationId": "get/bonding-pools" }, "post": { "responses": { @@ -26717,7 +27641,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResponse" + "$ref": "#/components/schemas/BondingPoolResponse" } } } @@ -26774,23 +27698,23 @@ } }, "tags": [ - "Author" + "Bonding-pool" ], "parameters": [], - "operationId": "post/authors", + "operationId": "post/bonding-pools", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorRequest" + "$ref": "#/components/schemas/BondingPoolRequest" } } } } } }, - "/authors/{id}": { + "/bonding-pools/{id}": { "get": { "responses": { "200": { @@ -26798,7 +27722,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResponse" + "$ref": "#/components/schemas/BondingPoolResponse" } } } @@ -26855,7 +27779,7 @@ } }, "tags": [ - "Author" + "Bonding-pool" ], "parameters": [ { @@ -26869,7 +27793,7 @@ } } ], - "operationId": "get/authors/{id}" + "operationId": "get/bonding-pools/{id}" }, "put": { "responses": { @@ -26878,7 +27802,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResponse" + "$ref": "#/components/schemas/BondingPoolResponse" } } } @@ -26935,7 +27859,7 @@ } }, "tags": [ - "Author" + "Bonding-pool" ], "parameters": [ { @@ -26949,13 +27873,13 @@ } } ], - "operationId": "put/authors/{id}", + "operationId": "put/bonding-pools/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorRequest" + "$ref": "#/components/schemas/BondingPoolRequest" } } } @@ -27026,7 +27950,7 @@ } }, "tags": [ - "Author" + "Bonding-pool" ], "parameters": [ { @@ -27040,10 +27964,10 @@ } } ], - "operationId": "delete/authors/{id}" + "operationId": "delete/bonding-pools/{id}" } }, - "/bonding-pools": { + "/categories": { "get": { "responses": { "200": { @@ -27051,7 +27975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BondingPoolListResponse" + "$ref": "#/components/schemas/CategoryListResponse" } } } @@ -27108,7 +28032,7 @@ } }, "tags": [ - "Bonding-pool" + "Category" ], "parameters": [ { @@ -27213,7 +28137,7 @@ } } ], - "operationId": "get/bonding-pools" + "operationId": "get/categories" }, "post": { "responses": { @@ -27222,7 +28146,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BondingPoolResponse" + "$ref": "#/components/schemas/CategoryResponse" } } } @@ -27279,23 +28203,23 @@ } }, "tags": [ - "Bonding-pool" + "Category" ], "parameters": [], - "operationId": "post/bonding-pools", + "operationId": "post/categories", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BondingPoolRequest" + "$ref": "#/components/schemas/CategoryRequest" } } } } } }, - "/bonding-pools/{id}": { + "/categories/{id}": { "get": { "responses": { "200": { @@ -27303,7 +28227,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BondingPoolResponse" + "$ref": "#/components/schemas/CategoryResponse" } } } @@ -27360,7 +28284,7 @@ } }, "tags": [ - "Bonding-pool" + "Category" ], "parameters": [ { @@ -27374,7 +28298,7 @@ } } ], - "operationId": "get/bonding-pools/{id}" + "operationId": "get/categories/{id}" }, "put": { "responses": { @@ -27383,7 +28307,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BondingPoolResponse" + "$ref": "#/components/schemas/CategoryResponse" } } } @@ -27440,7 +28364,7 @@ } }, "tags": [ - "Bonding-pool" + "Category" ], "parameters": [ { @@ -27454,13 +28378,13 @@ } } ], - "operationId": "put/bonding-pools/{id}", + "operationId": "put/categories/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BondingPoolRequest" + "$ref": "#/components/schemas/CategoryRequest" } } } @@ -27531,7 +28455,7 @@ } }, "tags": [ - "Bonding-pool" + "Category" ], "parameters": [ { @@ -27545,10 +28469,10 @@ } } ], - "operationId": "delete/bonding-pools/{id}" + "operationId": "delete/categories/{id}" } }, - "/categories": { + "/environments": { "get": { "responses": { "200": { @@ -27556,7 +28480,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryListResponse" + "$ref": "#/components/schemas/EnvironmentListResponse" } } } @@ -27613,7 +28537,7 @@ } }, "tags": [ - "Category" + "Environment" ], "parameters": [ { @@ -27718,7 +28642,7 @@ } } ], - "operationId": "get/categories" + "operationId": "get/environments" }, "post": { "responses": { @@ -27727,7 +28651,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryResponse" + "$ref": "#/components/schemas/EnvironmentResponse" } } } @@ -27784,23 +28708,23 @@ } }, "tags": [ - "Category" + "Environment" ], "parameters": [], - "operationId": "post/categories", + "operationId": "post/environments", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryRequest" + "$ref": "#/components/schemas/EnvironmentRequest" } } } } } }, - "/categories/{id}": { + "/environments/{id}": { "get": { "responses": { "200": { @@ -27808,7 +28732,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryResponse" + "$ref": "#/components/schemas/EnvironmentResponse" } } } @@ -27865,7 +28789,7 @@ } }, "tags": [ - "Category" + "Environment" ], "parameters": [ { @@ -27879,7 +28803,7 @@ } } ], - "operationId": "get/categories/{id}" + "operationId": "get/environments/{id}" }, "put": { "responses": { @@ -27888,7 +28812,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryResponse" + "$ref": "#/components/schemas/EnvironmentResponse" } } } @@ -27945,7 +28869,7 @@ } }, "tags": [ - "Category" + "Environment" ], "parameters": [ { @@ -27959,13 +28883,13 @@ } } ], - "operationId": "put/categories/{id}", + "operationId": "put/environments/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryRequest" + "$ref": "#/components/schemas/EnvironmentRequest" } } } @@ -28036,7 +28960,7 @@ } }, "tags": [ - "Category" + "Environment" ], "parameters": [ { @@ -28050,10 +28974,10 @@ } } ], - "operationId": "delete/categories/{id}" + "operationId": "delete/environments/{id}" } }, - "/environments": { + "/faq-categories": { "get": { "responses": { "200": { @@ -28061,7 +28985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnvironmentListResponse" + "$ref": "#/components/schemas/FaqCategoryListResponse" } } } @@ -28118,7 +29042,7 @@ } }, "tags": [ - "Environment" + "Faq-category" ], "parameters": [ { @@ -28223,7 +29147,7 @@ } } ], - "operationId": "get/environments" + "operationId": "get/faq-categories" }, "post": { "responses": { @@ -28232,7 +29156,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnvironmentResponse" + "$ref": "#/components/schemas/FaqCategoryResponse" } } } @@ -28289,23 +29213,23 @@ } }, "tags": [ - "Environment" + "Faq-category" ], "parameters": [], - "operationId": "post/environments", + "operationId": "post/faq-categories", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnvironmentRequest" + "$ref": "#/components/schemas/FaqCategoryRequest" } } } } } }, - "/environments/{id}": { + "/faq-categories/{id}": { "get": { "responses": { "200": { @@ -28313,7 +29237,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnvironmentResponse" + "$ref": "#/components/schemas/FaqCategoryResponse" } } } @@ -28370,7 +29294,7 @@ } }, "tags": [ - "Environment" + "Faq-category" ], "parameters": [ { @@ -28384,7 +29308,7 @@ } } ], - "operationId": "get/environments/{id}" + "operationId": "get/faq-categories/{id}" }, "put": { "responses": { @@ -28393,7 +29317,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnvironmentResponse" + "$ref": "#/components/schemas/FaqCategoryResponse" } } } @@ -28450,7 +29374,7 @@ } }, "tags": [ - "Environment" + "Faq-category" ], "parameters": [ { @@ -28464,13 +29388,13 @@ } } ], - "operationId": "put/environments/{id}", + "operationId": "put/faq-categories/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnvironmentRequest" + "$ref": "#/components/schemas/FaqCategoryRequest" } } } @@ -28541,7 +29465,7 @@ } }, "tags": [ - "Environment" + "Faq-category" ], "parameters": [ { @@ -28555,10 +29479,10 @@ } } ], - "operationId": "delete/environments/{id}" + "operationId": "delete/faq-categories/{id}" } }, - "/faq-categories": { + "/faq-questions": { "get": { "responses": { "200": { @@ -28566,7 +29490,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryListResponse" + "$ref": "#/components/schemas/FaqQuestionListResponse" } } } @@ -28623,7 +29547,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -28728,7 +29652,7 @@ } } ], - "operationId": "get/faq-categories" + "operationId": "get/faq-questions" }, "post": { "responses": { @@ -28737,7 +29661,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryResponse" + "$ref": "#/components/schemas/FaqQuestionResponse" } } } @@ -28794,23 +29718,23 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [], - "operationId": "post/faq-categories", + "operationId": "post/faq-questions", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryRequest" + "$ref": "#/components/schemas/FaqQuestionRequest" } } } } } }, - "/faq-categories/{id}": { + "/faq-questions/{id}": { "get": { "responses": { "200": { @@ -28818,7 +29742,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryResponse" + "$ref": "#/components/schemas/FaqQuestionResponse" } } } @@ -28875,7 +29799,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -28889,7 +29813,7 @@ } } ], - "operationId": "get/faq-categories/{id}" + "operationId": "get/faq-questions/{id}" }, "put": { "responses": { @@ -28898,7 +29822,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryResponse" + "$ref": "#/components/schemas/FaqQuestionResponse" } } } @@ -28955,7 +29879,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -28969,13 +29893,13 @@ } } ], - "operationId": "put/faq-categories/{id}", + "operationId": "put/faq-questions/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryRequest" + "$ref": "#/components/schemas/FaqQuestionRequest" } } } @@ -29046,7 +29970,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -29060,10 +29984,10 @@ } } ], - "operationId": "delete/faq-categories/{id}" + "operationId": "delete/faq-questions/{id}" } }, - "/faq-questions": { + "/global": { "get": { "responses": { "200": { @@ -29071,7 +29995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionListResponse" + "$ref": "#/components/schemas/GlobalResponse" } } } @@ -29128,7 +30052,7 @@ } }, "tags": [ - "Faq-question" + "Global" ], "parameters": [ { @@ -29233,16 +30157,16 @@ } } ], - "operationId": "get/faq-questions" + "operationId": "get/global" }, - "post": { + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionResponse" + "$ref": "#/components/schemas/GlobalResponse" } } } @@ -29299,31 +30223,30 @@ } }, "tags": [ - "Faq-question" + "Global" ], "parameters": [], - "operationId": "post/faq-questions", + "operationId": "put/global", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionRequest" + "$ref": "#/components/schemas/GlobalRequest" } } } } - } - }, - "/faq-questions/{id}": { - "get": { + }, + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionResponse" + "type": "integer", + "format": "int64" } } } @@ -29380,30 +30303,21 @@ } }, "tags": [ - "Faq-question" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } + "Global" ], - "operationId": "get/faq-questions/{id}" - }, - "put": { + "parameters": [], + "operationId": "delete/global" + } + }, + "/global/localizations": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionResponse" + "$ref": "#/components/schemas/GlobalLocalizationResponse" } } } @@ -29460,115 +30374,23 @@ } }, "tags": [ - "Faq-question" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } + "Global" ], - "operationId": "put/faq-questions/{id}", + "parameters": [], + "operationId": "post/global/localizations", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionRequest" + "$ref": "#/components/schemas/GlobalLocalizationRequest" } } } } - }, - "delete": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int64" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "tags": [ - "Faq-question" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "delete/faq-questions/{id}" } }, - "/global": { + "/lead-form-submissions": { "get": { "responses": { "200": { @@ -29576,7 +30398,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalResponse" + "$ref": "#/components/schemas/LeadFormSubmissionListResponse" } } } @@ -29633,7 +30455,7 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], "parameters": [ { @@ -29738,96 +30560,16 @@ } } ], - "operationId": "get/global" - }, - "put": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GlobalResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "tags": [ - "Global" - ], - "parameters": [], - "operationId": "put/global", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GlobalRequest" - } - } - } - } + "operationId": "get/lead-form-submissions" }, - "delete": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/LeadFormSubmissionResponse" } } } @@ -29884,21 +30626,31 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], "parameters": [], - "operationId": "delete/global" + "operationId": "post/lead-form-submissions", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadFormSubmissionRequest" + } + } + } + } } }, - "/global/localizations": { - "post": { + "/lead-form-submissions/{id}": { + "get": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalLocalizationResponse" + "$ref": "#/components/schemas/LeadFormSubmissionResponse" } } } @@ -29955,23 +30707,195 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], - "parameters": [], - "operationId": "post/global/localizations", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/lead-form-submissions/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LeadFormSubmissionResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Lead-form-submission" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/lead-form-submissions/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalLocalizationRequest" + "$ref": "#/components/schemas/LeadFormSubmissionRequest" } } } } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Lead-form-submission" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/lead-form-submissions/{id}" } }, - "/lead-form-submissions": { + "/networks": { "get": { "responses": { "200": { @@ -29979,7 +30903,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionListResponse" + "$ref": "#/components/schemas/NetworkListResponse" } } } @@ -30036,7 +30960,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -30141,7 +31065,7 @@ } } ], - "operationId": "get/lead-form-submissions" + "operationId": "get/networks" }, "post": { "responses": { @@ -30150,7 +31074,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionResponse" + "$ref": "#/components/schemas/NetworkResponse" } } } @@ -30207,23 +31131,23 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [], - "operationId": "post/lead-form-submissions", + "operationId": "post/networks", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionRequest" + "$ref": "#/components/schemas/NetworkRequest" } } } } } }, - "/lead-form-submissions/{id}": { + "/networks/{id}": { "get": { "responses": { "200": { @@ -30231,7 +31155,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionResponse" + "$ref": "#/components/schemas/NetworkResponse" } } } @@ -30288,7 +31212,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -30302,7 +31226,7 @@ } } ], - "operationId": "get/lead-form-submissions/{id}" + "operationId": "get/networks/{id}" }, "put": { "responses": { @@ -30311,7 +31235,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionResponse" + "$ref": "#/components/schemas/NetworkResponse" } } } @@ -30368,7 +31292,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -30382,13 +31306,13 @@ } } ], - "operationId": "put/lead-form-submissions/{id}", + "operationId": "put/networks/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionRequest" + "$ref": "#/components/schemas/NetworkRequest" } } } @@ -30459,7 +31383,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -30473,10 +31397,10 @@ } } ], - "operationId": "delete/lead-form-submissions/{id}" + "operationId": "delete/networks/{id}" } }, - "/networks": { + "/notifications": { "get": { "responses": { "200": { @@ -30484,7 +31408,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkListResponse" + "$ref": "#/components/schemas/NotificationListResponse" } } } @@ -30541,7 +31465,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -30646,7 +31570,7 @@ } } ], - "operationId": "get/networks" + "operationId": "get/notifications" }, "post": { "responses": { @@ -30655,7 +31579,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -30712,23 +31636,23 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [], - "operationId": "post/networks", + "operationId": "post/notifications", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkRequest" + "$ref": "#/components/schemas/NotificationRequest" } } } } } }, - "/networks/{id}": { + "/notifications/{id}": { "get": { "responses": { "200": { @@ -30736,7 +31660,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -30793,7 +31717,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -30807,7 +31731,7 @@ } } ], - "operationId": "get/networks/{id}" + "operationId": "get/notifications/{id}" }, "put": { "responses": { @@ -30816,7 +31740,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -30873,7 +31797,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -30887,13 +31811,13 @@ } } ], - "operationId": "put/networks/{id}", + "operationId": "put/notifications/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkRequest" + "$ref": "#/components/schemas/NotificationRequest" } } } @@ -30964,7 +31888,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -30978,10 +31902,10 @@ } } ], - "operationId": "delete/networks/{id}" + "operationId": "delete/notifications/{id}" } }, - "/notifications": { + "/notification-list/{account}": { "get": { "responses": { "200": { @@ -30989,7 +31913,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationListResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -31050,110 +31974,21 @@ ], "parameters": [ { - "name": "sort", - "in": "query", - "description": "Sort by attributes ascending (asc) or descending (desc)", - "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pagination[withCount]", - "in": "query", - "description": "Return page/pageSize (default: true)", - "deprecated": false, - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "pagination[page]", - "in": "query", - "description": "Page number (default: 0)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "pagination[pageSize]", - "in": "query", - "description": "Page size (default: 25)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "pagination[start]", - "in": "query", - "description": "Offset value (default: 0)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "pagination[limit]", - "in": "query", - "description": "Number of entities to return (default: 25)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "fields", - "in": "query", - "description": "Fields to return (ex: title,author)", - "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "populate", - "in": "query", - "description": "Relations to return", - "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "filters", - "in": "query", - "description": "Filters to apply", - "deprecated": false, - "required": false, - "schema": { - "type": "object" - }, - "style": "deepObject" - }, - { - "name": "locale", - "in": "query", - "description": "Locale to apply", + "name": "account", + "in": "path", + "description": "", "deprecated": false, - "required": false, + "required": true, "schema": { - "type": "string" + "type": "number" } } ], - "operationId": "get/notifications" - }, - "post": { + "operationId": "get/notification-list/{account}" + } + }, + "/accounts/{account}/notifications": { + "get": { "responses": { "200": { "description": "OK", @@ -31219,21 +32054,22 @@ "tags": [ "Notification" ], - "parameters": [], - "operationId": "post/notifications", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } + "parameters": [ + { + "name": "account", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" } } - } + ], + "operationId": "get/accounts/{account}/notifications" } }, - "/notifications/{id}": { + "/push-notifications": { "get": { "responses": { "200": { @@ -31300,28 +32136,19 @@ "tags": [ "Notification" ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "get/notifications/{id}" - }, - "put": { + "parameters": [], + "operationId": "get/push-notifications" + } + }, + "/notification-templates": { + "get": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "$ref": "#/components/schemas/NotificationTemplateListResponse" } } } @@ -31378,41 +32205,121 @@ } }, "tags": [ - "Notification" + "Notification-template" ], "parameters": [ { - "name": "id", - "in": "path", - "description": "", + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", "deprecated": false, - "required": true, + "required": false, "schema": { - "type": "number" + "type": "string" } - } - ], - "operationId": "put/notifications/{id}", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" } } - } + ], + "operationId": "get/notification-templates" }, - "delete": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/NotificationTemplateResponse" } } } @@ -31469,24 +32376,23 @@ } }, "tags": [ - "Notification" + "Notification-template" ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" + "parameters": [], + "operationId": "post/notification-templates", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationTemplateRequest" + } } } - ], - "operationId": "delete/notifications/{id}" + } } }, - "/notification-list/{account}": { + "/notification-templates/{id}": { "get": { "responses": { "200": { @@ -31494,7 +32400,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "$ref": "#/components/schemas/NotificationTemplateResponse" } } } @@ -31551,11 +32457,11 @@ } }, "tags": [ - "Notification" + "Notification-template" ], "parameters": [ { - "name": "account", + "name": "id", "in": "path", "description": "", "deprecated": false, @@ -31565,18 +32471,16 @@ } } ], - "operationId": "get/notification-list/{account}" - } - }, - "/accounts/{account}/notifications": { - "get": { + "operationId": "get/notification-templates/{id}" + }, + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "$ref": "#/components/schemas/NotificationTemplateResponse" } } } @@ -31633,11 +32537,11 @@ } }, "tags": [ - "Notification" + "Notification-template" ], "parameters": [ { - "name": "account", + "name": "id", "in": "path", "description": "", "deprecated": false, @@ -31647,18 +32551,27 @@ } } ], - "operationId": "get/accounts/{account}/notifications" - } - }, - "/push-notifications": { - "get": { + "operationId": "put/notification-templates/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationTemplateRequest" + } + } + } + } + }, + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "type": "integer", + "format": "int64" } } } @@ -31715,13 +32628,24 @@ } }, "tags": [ - "Notification" + "Notification-template" ], - "parameters": [], - "operationId": "get/push-notifications" + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/notification-templates/{id}" } }, - "/notification-templates": { + "/notifications-consumer": { "get": { "responses": { "200": { @@ -31729,7 +32653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateListResponse" + "$ref": "#/components/schemas/NotificationsConsumerResponse" } } } @@ -31786,7 +32710,7 @@ } }, "tags": [ - "Notification-template" + "Notifications-consumer" ], "parameters": [ { @@ -31891,16 +32815,16 @@ } } ], - "operationId": "get/notification-templates" + "operationId": "get/notifications-consumer" }, - "post": { + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateResponse" + "$ref": "#/components/schemas/NotificationsConsumerResponse" } } } @@ -31957,23 +32881,93 @@ } }, "tags": [ - "Notification-template" + "Notifications-consumer" ], "parameters": [], - "operationId": "post/notification-templates", + "operationId": "put/notifications-consumer", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateRequest" + "$ref": "#/components/schemas/NotificationsConsumerRequest" } } } } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Notifications-consumer" + ], + "parameters": [], + "operationId": "delete/notifications-consumer" } }, - "/notification-templates/{id}": { + "/pages": { "get": { "responses": { "200": { @@ -31981,7 +32975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateResponse" + "$ref": "#/components/schemas/PageListResponse" } } } @@ -32038,30 +33032,121 @@ } }, "tags": [ - "Notification-template" + "Page" ], "parameters": [ { - "name": "id", - "in": "path", - "description": "", + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", "deprecated": false, - "required": true, + "required": false, "schema": { - "type": "number" + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" } } ], - "operationId": "get/notification-templates/{id}" + "operationId": "get/pages" }, - "put": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateResponse" + "$ref": "#/components/schemas/PageResponse" } } } @@ -32118,41 +33203,31 @@ } }, "tags": [ - "Notification-template" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } + "Page" ], - "operationId": "put/notification-templates/{id}", + "parameters": [], + "operationId": "post/pages", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateRequest" + "$ref": "#/components/schemas/PageRequest" } } } } - }, - "delete": { + } + }, + "/pages/{id}": { + "get": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/PageResponse" } } } @@ -32209,7 +33284,7 @@ } }, "tags": [ - "Notification-template" + "Page" ], "parameters": [ { @@ -32223,18 +33298,16 @@ } } ], - "operationId": "delete/notification-templates/{id}" - } - }, - "/notifications-consumer": { - "get": { + "operationId": "get/pages/{id}" + }, + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationsConsumerResponse" + "$ref": "#/components/schemas/PageResponse" } } } @@ -32291,121 +33364,41 @@ } }, "tags": [ - "Notifications-consumer" + "Page" ], "parameters": [ { - "name": "sort", - "in": "query", - "description": "Sort by attributes ascending (asc) or descending (desc)", - "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pagination[withCount]", - "in": "query", - "description": "Return page/pageSize (default: true)", - "deprecated": false, - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "name": "pagination[page]", - "in": "query", - "description": "Page number (default: 0)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "pagination[pageSize]", - "in": "query", - "description": "Page size (default: 25)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "pagination[start]", - "in": "query", - "description": "Offset value (default: 0)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "pagination[limit]", - "in": "query", - "description": "Number of entities to return (default: 25)", - "deprecated": false, - "required": false, - "schema": { - "type": "integer" - } - }, - { - "name": "fields", - "in": "query", - "description": "Fields to return (ex: title,author)", - "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "populate", - "in": "query", - "description": "Relations to return", - "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "filters", - "in": "query", - "description": "Filters to apply", - "deprecated": false, - "required": false, - "schema": { - "type": "object" - }, - "style": "deepObject" - }, - { - "name": "locale", - "in": "query", - "description": "Locale to apply", + "name": "id", + "in": "path", + "description": "", "deprecated": false, - "required": false, + "required": true, "schema": { - "type": "string" + "type": "number" } } ], - "operationId": "get/notifications-consumer" + "operationId": "put/pages/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageRequest" + } + } + } + } }, - "put": { + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationsConsumerResponse" + "type": "integer", + "format": "int64" } } } @@ -32462,30 +33455,32 @@ } }, "tags": [ - "Notifications-consumer" + "Page" ], - "parameters": [], - "operationId": "put/notifications-consumer", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationsConsumerRequest" - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" } } - } - }, - "delete": { + ], + "operationId": "delete/pages/{id}" + } + }, + "/pages/{id}/localizations": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/PageLocalizationResponse" } } } @@ -32542,13 +33537,34 @@ } }, "tags": [ - "Notifications-consumer" + "Page" ], - "parameters": [], - "operationId": "delete/notifications-consumer" + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "post/pages/{id}/localizations", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageLocalizationRequest" + } + } + } + } } }, - "/pages": { + "/product-features": { "get": { "responses": { "200": { @@ -32556,7 +33572,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageListResponse" + "$ref": "#/components/schemas/ProductFeatureListResponse" } } } @@ -32613,7 +33629,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -32718,7 +33734,7 @@ } } ], - "operationId": "get/pages" + "operationId": "get/product-features" }, "post": { "responses": { @@ -32727,7 +33743,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageResponse" + "$ref": "#/components/schemas/ProductFeatureResponse" } } } @@ -32784,23 +33800,23 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [], - "operationId": "post/pages", + "operationId": "post/product-features", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageRequest" + "$ref": "#/components/schemas/ProductFeatureRequest" } } } } } }, - "/pages/{id}": { + "/product-features/{id}": { "get": { "responses": { "200": { @@ -32808,7 +33824,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageResponse" + "$ref": "#/components/schemas/ProductFeatureResponse" } } } @@ -32865,7 +33881,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -32879,7 +33895,7 @@ } } ], - "operationId": "get/pages/{id}" + "operationId": "get/product-features/{id}" }, "put": { "responses": { @@ -32888,98 +33904,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "tags": [ - "Page" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "put/pages/{id}", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageRequest" - } - } - } - } - }, - "delete": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ProductFeatureResponse" } } } @@ -33036,7 +33961,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -33050,18 +33975,27 @@ } } ], - "operationId": "delete/pages/{id}" - } - }, - "/pages/{id}/localizations": { - "post": { + "operationId": "put/product-features/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProductFeatureRequest" + } + } + } + } + }, + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageLocalizationResponse" + "type": "integer", + "format": "int64" } } } @@ -33118,7 +34052,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -33132,20 +34066,10 @@ } } ], - "operationId": "post/pages/{id}/localizations", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageLocalizationRequest" - } - } - } - } + "operationId": "delete/product-features/{id}" } }, - "/product-features": { + "/solvers": { "get": { "responses": { "200": { @@ -33153,7 +34077,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureListResponse" + "$ref": "#/components/schemas/SolverListResponse" } } } @@ -33210,7 +34134,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -33315,7 +34239,7 @@ } } ], - "operationId": "get/product-features" + "operationId": "get/solvers" }, "post": { "responses": { @@ -33324,7 +34248,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureResponse" + "$ref": "#/components/schemas/SolverResponse" } } } @@ -33381,23 +34305,23 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [], - "operationId": "post/product-features", + "operationId": "post/solvers", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureRequest" + "$ref": "#/components/schemas/SolverRequest" } } } } } }, - "/product-features/{id}": { + "/solvers/{id}": { "get": { "responses": { "200": { @@ -33405,7 +34329,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureResponse" + "$ref": "#/components/schemas/SolverResponse" } } } @@ -33462,7 +34386,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -33476,7 +34400,7 @@ } } ], - "operationId": "get/product-features/{id}" + "operationId": "get/solvers/{id}" }, "put": { "responses": { @@ -33485,7 +34409,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureResponse" + "$ref": "#/components/schemas/SolverResponse" } } } @@ -33542,7 +34466,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -33556,13 +34480,13 @@ } } ], - "operationId": "put/product-features/{id}", + "operationId": "put/solvers/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureRequest" + "$ref": "#/components/schemas/SolverRequest" } } } @@ -33633,7 +34557,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -33647,10 +34571,10 @@ } } ], - "operationId": "delete/product-features/{id}" + "operationId": "delete/solvers/{id}" } }, - "/solvers": { + "/solver-bonding-pools": { "get": { "responses": { "200": { @@ -33658,7 +34582,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverListResponse" + "$ref": "#/components/schemas/SolverBondingPoolListResponse" } } } @@ -33715,7 +34639,7 @@ } }, "tags": [ - "Solver" + "Solver-bonding-pool" ], "parameters": [ { @@ -33820,7 +34744,7 @@ } } ], - "operationId": "get/solvers" + "operationId": "get/solver-bonding-pools" }, "post": { "responses": { @@ -33829,7 +34753,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverResponse" + "$ref": "#/components/schemas/SolverBondingPoolResponse" } } } @@ -33886,23 +34810,23 @@ } }, "tags": [ - "Solver" + "Solver-bonding-pool" ], "parameters": [], - "operationId": "post/solvers", + "operationId": "post/solver-bonding-pools", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverRequest" + "$ref": "#/components/schemas/SolverBondingPoolRequest" } } } } } }, - "/solvers/{id}": { + "/solver-bonding-pools/{id}": { "get": { "responses": { "200": { @@ -33910,7 +34834,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverResponse" + "$ref": "#/components/schemas/SolverBondingPoolResponse" } } } @@ -33967,7 +34891,7 @@ } }, "tags": [ - "Solver" + "Solver-bonding-pool" ], "parameters": [ { @@ -33981,7 +34905,7 @@ } } ], - "operationId": "get/solvers/{id}" + "operationId": "get/solver-bonding-pools/{id}" }, "put": { "responses": { @@ -33990,7 +34914,180 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverResponse" + "$ref": "#/components/schemas/SolverBondingPoolResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Solver-bonding-pool" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/solver-bonding-pools/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverBondingPoolRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Solver-bonding-pool" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/solver-bonding-pools/{id}" + } + }, + "/solver-networks": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverNetworkListResponse" } } } @@ -34047,180 +35144,7 @@ } }, "tags": [ - "Solver" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "put/solvers/{id}", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SolverRequest" - } - } - } - } - }, - "delete": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int64" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "tags": [ - "Solver" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "delete/solvers/{id}" - } - }, - "/solver-bonding-pools": { - "get": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SolverBondingPoolListResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "tags": [ - "Solver-bonding-pool" + "Solver-network" ], "parameters": [ { @@ -34325,7 +35249,7 @@ } } ], - "operationId": "get/solver-bonding-pools" + "operationId": "get/solver-networks" }, "post": { "responses": { @@ -34334,7 +35258,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverBondingPoolResponse" + "$ref": "#/components/schemas/SolverNetworkResponse" } } } @@ -34391,23 +35315,23 @@ } }, "tags": [ - "Solver-bonding-pool" + "Solver-network" ], "parameters": [], - "operationId": "post/solver-bonding-pools", + "operationId": "post/solver-networks", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverBondingPoolRequest" + "$ref": "#/components/schemas/SolverNetworkRequest" } } } } } }, - "/solver-bonding-pools/{id}": { + "/solver-networks/{id}": { "get": { "responses": { "200": { @@ -34415,7 +35339,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverBondingPoolResponse" + "$ref": "#/components/schemas/SolverNetworkResponse" } } } @@ -34472,7 +35396,7 @@ } }, "tags": [ - "Solver-bonding-pool" + "Solver-network" ], "parameters": [ { @@ -34486,7 +35410,7 @@ } } ], - "operationId": "get/solver-bonding-pools/{id}" + "operationId": "get/solver-networks/{id}" }, "put": { "responses": { @@ -34495,7 +35419,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverBondingPoolResponse" + "$ref": "#/components/schemas/SolverNetworkResponse" } } } @@ -34552,7 +35476,7 @@ } }, "tags": [ - "Solver-bonding-pool" + "Solver-network" ], "parameters": [ { @@ -34566,13 +35490,13 @@ } } ], - "operationId": "put/solver-bonding-pools/{id}", + "operationId": "put/solver-networks/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverBondingPoolRequest" + "$ref": "#/components/schemas/SolverNetworkRequest" } } } @@ -34643,7 +35567,7 @@ } }, "tags": [ - "Solver-bonding-pool" + "Solver-network" ], "parameters": [ { @@ -34657,10 +35581,10 @@ } } ], - "operationId": "delete/solver-bonding-pools/{id}" + "operationId": "delete/solver-networks/{id}" } }, - "/solver-networks": { + "/tags": { "get": { "responses": { "200": { @@ -34668,7 +35592,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverNetworkListResponse" + "$ref": "#/components/schemas/TagListResponse" } } } @@ -34725,7 +35649,7 @@ } }, "tags": [ - "Solver-network" + "Tag" ], "parameters": [ { @@ -34830,7 +35754,7 @@ } } ], - "operationId": "get/solver-networks" + "operationId": "get/tags" }, "post": { "responses": { @@ -34839,7 +35763,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverNetworkResponse" + "$ref": "#/components/schemas/TagResponse" } } } @@ -34896,23 +35820,23 @@ } }, "tags": [ - "Solver-network" + "Tag" ], "parameters": [], - "operationId": "post/solver-networks", + "operationId": "post/tags", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverNetworkRequest" + "$ref": "#/components/schemas/TagRequest" } } } } } }, - "/solver-networks/{id}": { + "/tags/{id}": { "get": { "responses": { "200": { @@ -34920,7 +35844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverNetworkResponse" + "$ref": "#/components/schemas/TagResponse" } } } @@ -34977,7 +35901,7 @@ } }, "tags": [ - "Solver-network" + "Tag" ], "parameters": [ { @@ -34991,7 +35915,7 @@ } } ], - "operationId": "get/solver-networks/{id}" + "operationId": "get/tags/{id}" }, "put": { "responses": { @@ -35000,7 +35924,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverNetworkResponse" + "$ref": "#/components/schemas/TagResponse" } } } @@ -35057,7 +35981,7 @@ } }, "tags": [ - "Solver-network" + "Tag" ], "parameters": [ { @@ -35071,13 +35995,13 @@ } } ], - "operationId": "put/solver-networks/{id}", + "operationId": "put/tags/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SolverNetworkRequest" + "$ref": "#/components/schemas/TagRequest" } } } @@ -35148,7 +36072,7 @@ } }, "tags": [ - "Solver-network" + "Tag" ], "parameters": [ { @@ -35162,10 +36086,10 @@ } } ], - "operationId": "delete/solver-networks/{id}" + "operationId": "delete/tags/{id}" } }, - "/tags": { + "/tax-free-assets": { "get": { "responses": { "200": { @@ -35173,7 +36097,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagListResponse" + "$ref": "#/components/schemas/TaxFreeAssetListResponse" } } } @@ -35230,7 +36154,7 @@ } }, "tags": [ - "Tag" + "Tax-free-asset" ], "parameters": [ { @@ -35335,7 +36259,7 @@ } } ], - "operationId": "get/tags" + "operationId": "get/tax-free-assets" }, "post": { "responses": { @@ -35344,7 +36268,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagResponse" + "$ref": "#/components/schemas/TaxFreeAssetResponse" } } } @@ -35401,23 +36325,23 @@ } }, "tags": [ - "Tag" + "Tax-free-asset" ], "parameters": [], - "operationId": "post/tags", + "operationId": "post/tax-free-assets", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagRequest" + "$ref": "#/components/schemas/TaxFreeAssetRequest" } } } } } }, - "/tags/{id}": { + "/tax-free-assets/{id}": { "get": { "responses": { "200": { @@ -35425,7 +36349,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagResponse" + "$ref": "#/components/schemas/TaxFreeAssetResponse" } } } @@ -35482,7 +36406,7 @@ } }, "tags": [ - "Tag" + "Tax-free-asset" ], "parameters": [ { @@ -35496,7 +36420,7 @@ } } ], - "operationId": "get/tags/{id}" + "operationId": "get/tax-free-assets/{id}" }, "put": { "responses": { @@ -35505,7 +36429,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagResponse" + "$ref": "#/components/schemas/TaxFreeAssetResponse" } } } @@ -35562,7 +36486,7 @@ } }, "tags": [ - "Tag" + "Tax-free-asset" ], "parameters": [ { @@ -35576,13 +36500,13 @@ } } ], - "operationId": "put/tags/{id}", + "operationId": "put/tax-free-assets/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagRequest" + "$ref": "#/components/schemas/TaxFreeAssetRequest" } } } @@ -35653,7 +36577,7 @@ } }, "tags": [ - "Tag" + "Tax-free-asset" ], "parameters": [ { @@ -35667,7 +36591,7 @@ } } ], - "operationId": "delete/tags/{id}" + "operationId": "delete/tax-free-assets/{id}" } }, "/telegram-subscriptions": { From 87eb33a3ca18a115d1a89f841032db989e72aa0b Mon Sep 17 00:00:00 2001 From: shoom3301 Date: Thu, 12 Dec 2024 14:47:10 +0500 Subject: [PATCH 2/2] chore: fix chainId --- .../content-types/tax-free-asset/schema.json | 16 +- .../1.0.0/full_documentation.json | 1146 ++++++++++++++--- 2 files changed, 1002 insertions(+), 160 deletions(-) diff --git a/src/api/tax-free-asset/content-types/tax-free-asset/schema.json b/src/api/tax-free-asset/content-types/tax-free-asset/schema.json index eec6890..b601fbf 100644 --- a/src/api/tax-free-asset/content-types/tax-free-asset/schema.json +++ b/src/api/tax-free-asset/content-types/tax-free-asset/schema.json @@ -12,23 +12,17 @@ }, "pluginOptions": {}, "attributes": { - "chainId": { - "type": "enumeration", - "enum": [ - "MAINNET", - "GNOSIS_CHAIN", - "ARBITRUM_ONE", - "BASE", - "SEPOLIA" - ], - "required": true - }, "description": { "type": "string" }, "tokenIds": { "type": "string", "required": true + }, + "chainId": { + "type": "relation", + "relation": "oneToOne", + "target": "api::network.network" } } } diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index 9ee5656..a85f644 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2024-12-11T06:34:56.391Z" + "x-generation-date": "2024-12-12T07:42:32.762Z" }, "x-strapi-config": { "path": "/documentation", @@ -25398,26 +25398,26 @@ "properties": { "data": { "required": [ - "chainId", "tokenIds" ], "type": "object", "properties": { - "chainId": { - "type": "string", - "enum": [ - "MAINNET", - "GNOSIS_CHAIN", - "ARBITRUM_ONE", - "BASE", - "SEPOLIA" - ] - }, "description": { "type": "string" }, "tokenIds": { "type": "string" + }, + "chainId": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "example": "string or id" } } } @@ -25472,35 +25472,16 @@ "TaxFreeAsset": { "type": "object", "required": [ - "chainId", "tokenIds" ], "properties": { - "chainId": { - "type": "string", - "enum": [ - "MAINNET", - "GNOSIS_CHAIN", - "ARBITRUM_ONE", - "BASE", - "SEPOLIA" - ] - }, "description": { "type": "string" }, "tokenIds": { "type": "string" }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { + "chainId": { "type": "object", "properties": { "data": { @@ -25512,29 +25493,13 @@ "attributes": { "type": "object", "properties": { - "firstname": { - "type": "string" - }, - "lastname": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string", - "format": "email" - }, - "resetPasswordToken": { - "type": "string" - }, - "registrationToken": { + "name": { "type": "string" }, - "isActive": { - "type": "boolean" + "chainId": { + "type": "integer" }, - "roles": { + "solver_networks": { "type": "object", "properties": { "data": { @@ -25548,112 +25513,976 @@ "attributes": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "code": { - "type": "string" - }, - "description": { - "type": "string" + "solver": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "displayName": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "alternativeText": { + "type": "string" + }, + "caption": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "formats": {}, + "hash": { + "type": "string" + }, + "ext": { + "type": "string" + }, + "mime": { + "type": "string" + }, + "size": { + "type": "number", + "format": "float" + }, + "url": { + "type": "string" + }, + "previewUrl": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "provider_metadata": {}, + "related": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "pathId": { + "type": "integer" + }, + "parent": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "children": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "files": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "alternativeText": { + "type": "string" + }, + "caption": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "formats": {}, + "hash": { + "type": "string" + }, + "ext": { + "type": "string" + }, + "mime": { + "type": "string" + }, + "size": { + "type": "number", + "format": "float" + }, + "url": { + "type": "string" + }, + "previewUrl": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "provider_metadata": {}, + "related": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "folderPath": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string", + "format": "email" + }, + "resetPasswordToken": { + "type": "string" + }, + "registrationToken": { + "type": "string" + }, + "isActive": { + "type": "boolean" + }, + "roles": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + }, + "users": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "permissions": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "properties": {}, + "conditions": {}, + "role": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "blocked": { + "type": "boolean" + }, + "preferedLanguage": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "path": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "folderPath": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "organization": { + "type": "string" + }, + "website": { + "type": "string" + }, + "description": { + "type": "string" + }, + "solverId": { + "type": "string" + }, + "solver_networks": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "solver_bonding_pools": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "joinedOn": { + "type": "string", + "format": "date-time" + }, + "bonding_pool": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "solver_bonding_pools": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "solvers": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } }, - "users": { + "network": { "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} } } } } }, - "permissions": { + "address": { + "type": "string" + }, + "payoutAddress": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "environment": { "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "subject": { - "type": "string" - }, - "properties": {}, - "conditions": {}, - "role": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} } } } - }, - "updatedBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} } } } @@ -25714,12 +26543,6 @@ } } }, - "blocked": { - "type": "boolean" - }, - "preferedLanguage": { - "type": "string" - }, "createdAt": { "type": "string", "format": "date-time" @@ -25768,6 +26591,31 @@ } } }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, "updatedBy": { "type": "object", "properties": {