diff --git a/README.md b/README.md index d7ff285..ff6a10c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## dofusdude-ts@1.0.0-rc.4 +## dofusdude-ts@1.0.0-rc.5 This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments: @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co _published:_ ``` -npm install dofusdude-ts@1.0.0-rc.4 --save +npm install dofusdude-ts@1.0.0-rc.5 --save ``` _unPublished (not recommended):_ diff --git a/api.ts b/api.ts index 1716f71..b3aca33 100644 --- a/api.ts +++ b/api.ts @@ -4,7 +4,7 @@ * dofusdude * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 1.0.0-rc.4 + * The version of the OpenAPI document: 1.0.0-rc.5 * Contact: stelzo@steado.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -746,7 +746,13 @@ export interface EquipmentSet { * @type {boolean} * @memberof EquipmentSet */ - 'is_cosmetic'?: boolean; + 'contains_cosmetics'?: boolean; + /** + * + * @type {boolean} + * @memberof EquipmentSet + */ + 'contains_cosmetics_only'?: boolean; } /** * @@ -946,7 +952,13 @@ export interface ListEquipmentSet { * @type {boolean} * @memberof ListEquipmentSet */ - 'is_cosmetic'?: boolean; + 'contains_cosmetics'?: boolean; + /** + * + * @type {boolean} + * @memberof ListEquipmentSet + */ + 'contains_cosmetics_only'?: boolean; } /** * @@ -6603,11 +6615,12 @@ export const SetsApiAxiosParamCreator = function (configuration?: Configuration) * @param {number} [filterMinHighestEquipmentLevel] only results where the equipment with the highest level is above or equal to this value * @param {number} [filterMaxHighestEquipmentLevel] only results where the equipment with the highest level is below or equal to this value * @param {number} [limit] maximum number of returned results - * @param {boolean} [filterIsCosmetic] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmeticsOnly] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmetics] filter sets based on if they got any cosmetic items in it * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSetsSearch: async (language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterIsCosmetic?: boolean, options: RawAxiosRequestConfig = {}): Promise => { + getSetsSearch: async (language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterContainsCosmeticsOnly?: boolean, filterContainsCosmetics?: boolean, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'language' is not null or undefined assertParamExists('getSetsSearch', 'language', language) // verify required parameter 'game' is not null or undefined @@ -6644,8 +6657,12 @@ export const SetsApiAxiosParamCreator = function (configuration?: Configuration) localVarQueryParameter['limit'] = limit; } - if (filterIsCosmetic !== undefined) { - localVarQueryParameter['filter[is_cosmetic]'] = filterIsCosmetic; + if (filterContainsCosmeticsOnly !== undefined) { + localVarQueryParameter['filter[contains_cosmetics_only]'] = filterContainsCosmeticsOnly; + } + + if (filterContainsCosmetics !== undefined) { + localVarQueryParameter['filter[contains_cosmetics]'] = filterContainsCosmetics; } @@ -6762,12 +6779,13 @@ export const SetsApiFp = function(configuration?: Configuration) { * @param {number} [filterMinHighestEquipmentLevel] only results where the equipment with the highest level is above or equal to this value * @param {number} [filterMaxHighestEquipmentLevel] only results where the equipment with the highest level is below or equal to this value * @param {number} [limit] maximum number of returned results - * @param {boolean} [filterIsCosmetic] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmeticsOnly] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmetics] filter sets based on if they got any cosmetic items in it * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSetsSearch(language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterIsCosmetic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic, options); + async getSetsSearch(language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterContainsCosmeticsOnly?: boolean, filterContainsCosmetics?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterContainsCosmeticsOnly, filterContainsCosmetics, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['SetsApi.getSetsSearch']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); @@ -6842,12 +6860,13 @@ export const SetsApiFactory = function (configuration?: Configuration, basePath? * @param {number} [filterMinHighestEquipmentLevel] only results where the equipment with the highest level is above or equal to this value * @param {number} [filterMaxHighestEquipmentLevel] only results where the equipment with the highest level is below or equal to this value * @param {number} [limit] maximum number of returned results - * @param {boolean} [filterIsCosmetic] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmeticsOnly] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmetics] filter sets based on if they got any cosmetic items in it * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSetsSearch(language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterIsCosmetic?: boolean, options?: RawAxiosRequestConfig): AxiosPromise> { - return localVarFp.getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic, options).then((request) => request(axios, basePath)); + getSetsSearch(language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterContainsCosmeticsOnly?: boolean, filterContainsCosmetics?: boolean, options?: RawAxiosRequestConfig): AxiosPromise> { + return localVarFp.getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterContainsCosmeticsOnly, filterContainsCosmetics, options).then((request) => request(axios, basePath)); }, /** * Retrieve a specific set with id. @@ -6920,13 +6939,14 @@ export class SetsApi extends BaseAPI { * @param {number} [filterMinHighestEquipmentLevel] only results where the equipment with the highest level is above or equal to this value * @param {number} [filterMaxHighestEquipmentLevel] only results where the equipment with the highest level is below or equal to this value * @param {number} [limit] maximum number of returned results - * @param {boolean} [filterIsCosmetic] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmeticsOnly] filter sets based on if they only got cosmetic items in it. If true, the item ids are for the cosmetic endpoints instead of equipment. + * @param {boolean} [filterContainsCosmetics] filter sets based on if they got any cosmetic items in it * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SetsApi */ - public getSetsSearch(language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterIsCosmetic?: boolean, options?: RawAxiosRequestConfig) { - return SetsApiFp(this.configuration).getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterIsCosmetic, options).then((request) => request(this.axios, this.basePath)); + public getSetsSearch(language: GetSetsSearchLanguageEnum, game: GetSetsSearchGameEnum, query: string, filterMinHighestEquipmentLevel?: number, filterMaxHighestEquipmentLevel?: number, limit?: number, filterContainsCosmeticsOnly?: boolean, filterContainsCosmetics?: boolean, options?: RawAxiosRequestConfig) { + return SetsApiFp(this.configuration).getSetsSearch(language, game, query, filterMinHighestEquipmentLevel, filterMaxHighestEquipmentLevel, limit, filterContainsCosmeticsOnly, filterContainsCosmetics, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/base.ts b/base.ts index 4e2aa80..95f8545 100644 --- a/base.ts +++ b/base.ts @@ -4,7 +4,7 @@ * dofusdude * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 1.0.0-rc.4 + * The version of the OpenAPI document: 1.0.0-rc.5 * Contact: stelzo@steado.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/common.ts b/common.ts index 055dfbe..f1897c4 100644 --- a/common.ts +++ b/common.ts @@ -4,7 +4,7 @@ * dofusdude * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 1.0.0-rc.4 + * The version of the OpenAPI document: 1.0.0-rc.5 * Contact: stelzo@steado.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/configuration.ts b/configuration.ts index f06957d..1e3b783 100644 --- a/configuration.ts +++ b/configuration.ts @@ -4,7 +4,7 @@ * dofusdude * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 1.0.0-rc.4 + * The version of the OpenAPI document: 1.0.0-rc.5 * Contact: stelzo@steado.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/index.ts b/index.ts index 227b17e..eba45c4 100644 --- a/index.ts +++ b/index.ts @@ -4,7 +4,7 @@ * dofusdude * # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). * - * The version of the OpenAPI document: 1.0.0-rc.4 + * The version of the OpenAPI document: 1.0.0-rc.5 * Contact: stelzo@steado.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/package-lock.json b/package-lock.json index d046176..c8860f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dofusdude-ts", - "version": "1.0.0-rc.4", + "version": "1.0.0-rc.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dofusdude-ts", - "version": "1.0.0-rc.4", + "version": "1.0.0-rc.5", "license": "Unlicense", "dependencies": { "axios": "^1.6.1" diff --git a/package.json b/package.json index 7db34ac..1809dfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dofusdude-ts", - "version": "1.0.0-rc.4", + "version": "1.0.0-rc.5", "description": "OpenAPI client for dofusdude-ts", "author": "OpenAPI-Generator Contributors", "repository": {