Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Oct 21, 2024
1 parent c7ba53c commit c2d1a92
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 108 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## dofusdude-ts@0.9.3
## dofusdude-ts@0.9.4

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:

Expand Down Expand Up @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install dofusdude-ts@0.9.3 --save
npm install dofusdude-ts@0.9.4 --save
```

_unPublished (not recommended):_
Expand Down
133 changes: 34 additions & 99 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* dofusdude
* # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
*
* The version of the OpenAPI document: 0.9.3
* The version of the OpenAPI document: 0.9.4
* Contact: stelzo@steado.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -316,99 +316,6 @@ export interface ConditionTreeRelation {
*/
'children'?: Array<ConditionTreeNode>;
}
/**
*
* @export
* @interface Cosmetic
*/
export interface Cosmetic {
/**
*
* @type {number}
* @memberof Cosmetic
*/
'ankama_id'?: number;
/**
*
* @type {string}
* @memberof Cosmetic
*/
'name'?: string;
/**
*
* @type {string}
* @memberof Cosmetic
*/
'description'?: string;
/**
*
* @type {CosmeticType}
* @memberof Cosmetic
*/
'type'?: CosmeticType;
/**
*
* @type {number}
* @memberof Cosmetic
*/
'level'?: number;
/**
*
* @type {number}
* @memberof Cosmetic
*/
'pods'?: number;
/**
*
* @type {ImageUrls}
* @memberof Cosmetic
*/
'image_urls'?: ImageUrls;
/**
*
* @type {Array<EffectsEntry>}
* @memberof Cosmetic
*/
'effects'?: Array<EffectsEntry> | null;
/**
*
* @type {Array<ConditionEntry>}
* @memberof Cosmetic
* @deprecated
*/
'conditions'?: Array<ConditionEntry> | null;
/**
*
* @type {ConditionTreeNode}
* @memberof Cosmetic
*/
'condition_tree'?: ConditionTreeNode;
/**
*
* @type {Array<RecipeEntry>}
* @memberof Cosmetic
*/
'recipe'?: Array<RecipeEntry> | null;
}
/**
*
* @export
* @interface CosmeticType
*/
export interface CosmeticType {
/**
*
* @type {string}
* @memberof CosmeticType
*/
'name'?: string;
/**
*
* @type {number}
* @memberof CosmeticType
*/
'id'?: number;
}
/**
*
* @export
Expand Down Expand Up @@ -1483,10 +1390,10 @@ export interface Resource {
'description'?: string;
/**
*
* @type {CosmeticType}
* @type {ResourceType}
* @memberof Resource
*/
'type'?: CosmeticType;
'type'?: ResourceType;
/**
*
* @type {number}
Expand Down Expand Up @@ -1531,6 +1438,25 @@ export interface Resource {
*/
'recipe'?: Array<RecipeEntry> | null;
}
/**
*
* @export
* @interface ResourceType
*/
export interface ResourceType {
/**
*
* @type {string}
* @memberof ResourceType
*/
'name'?: string;
/**
*
* @type {number}
* @memberof ResourceType
*/
'id'?: number;
}
/**
*
* @export
Expand Down Expand Up @@ -3177,7 +3103,7 @@ export const CosmeticsApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getCosmeticsSingle(language: GetCosmeticsSingleLanguageEnum, ankamaId: number, game: GetCosmeticsSingleGameEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cosmetic>> {
async getCosmeticsSingle(language: GetCosmeticsSingleLanguageEnum, ankamaId: number, game: GetCosmeticsSingleGameEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Equipment>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getCosmeticsSingle(language, ankamaId, game, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CosmeticsApi.getCosmeticsSingle']?.[localVarOperationServerIndex]?.url;
Expand Down Expand Up @@ -3255,7 +3181,7 @@ export const CosmeticsApiFactory = function (configuration?: Configuration, base
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCosmeticsSingle(language: GetCosmeticsSingleLanguageEnum, ankamaId: number, game: GetCosmeticsSingleGameEnum, options?: RawAxiosRequestConfig): AxiosPromise<Cosmetic> {
getCosmeticsSingle(language: GetCosmeticsSingleLanguageEnum, ankamaId: number, game: GetCosmeticsSingleGameEnum, options?: RawAxiosRequestConfig): AxiosPromise<Equipment> {
return localVarFp.getCosmeticsSingle(language, ankamaId, game, options).then((request) => request(axios, basePath));
},
};
Expand Down Expand Up @@ -3412,7 +3338,16 @@ export const GetCosmeticsListFieldsItemEnum = {
Recipe: 'recipe',
Description: 'description',
Conditions: 'conditions',
Effects: 'effects'
Effects: 'effects',
IsWeapon: 'is_weapon',
Pods: 'pods',
ParentSet: 'parent_set',
CriticalHitProbability: 'critical_hit_probability',
CriticalHitBonus: 'critical_hit_bonus',
IsTwoHanded: 'is_two_handed',
MaxCastPerTurn: 'max_cast_per_turn',
ApCost: 'ap_cost',
Range: 'range'
} as const;
export type GetCosmeticsListFieldsItemEnum = typeof GetCosmeticsListFieldsItemEnum[keyof typeof GetCosmeticsListFieldsItemEnum];
/**
Expand Down
2 changes: 1 addition & 1 deletion base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* dofusdude
* # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
*
* The version of the OpenAPI document: 0.9.3
* The version of the OpenAPI document: 0.9.4
* Contact: stelzo@steado.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* dofusdude
* # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
*
* The version of the OpenAPI document: 0.9.3
* The version of the OpenAPI document: 0.9.4
* Contact: stelzo@steado.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* dofusdude
* # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
*
* The version of the OpenAPI document: 0.9.3
* The version of the OpenAPI document: 0.9.4
* Contact: stelzo@steado.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* dofusdude
* # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
*
* The version of the OpenAPI document: 0.9.3
* The version of the OpenAPI document: 0.9.4
* Contact: stelzo@steado.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dofusdude-ts",
"version": "0.9.3",
"version": "0.9.4",
"description": "OpenAPI client for dofusdude-ts",
"author": "OpenAPI-Generator Contributors",
"repository": {
Expand Down

0 comments on commit c2d1a92

Please sign in to comment.