Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Oct 6, 2024
1 parent 130e7a2 commit 826cfec
Show file tree
Hide file tree
Showing 133 changed files with 2,030 additions and 1,621 deletions.
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ docs/EquipmentSet.md
docs/GameApi.md
docs/GetGameSearch200ResponseInner.md
docs/GetMetaAlmanaxBonuses200ResponseInner.md
docs/GetMetaVersion200Response.md
docs/GetMetaWebhooksTwitter200Response.md
docs/ImageUrls.md
docs/ItemListEntry.md
Expand Down Expand Up @@ -99,6 +100,7 @@ src/model/Equipment.js
src/model/EquipmentSet.js
src/model/GetGameSearch200ResponseInner.js
src/model/GetMetaAlmanaxBonuses200ResponseInner.js
src/model/GetMetaVersion200Response.js
src/model/GetMetaWebhooksTwitter200Response.js
src/model/ImageUrls.js
src/model/ItemListEntry.js
Expand Down Expand Up @@ -157,6 +159,7 @@ test/model/Equipment.spec.js
test/model/EquipmentSet.spec.js
test/model/GetGameSearch200ResponseInner.spec.js
test/model/GetMetaAlmanaxBonuses200ResponseInner.spec.js
test/model/GetMetaVersion200Response.spec.js
test/model/GetMetaWebhooksTwitter200Response.spec.js
test/model/ImageUrls.spec.js
test/model/ItemListEntry.spec.js
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.6.0-SNAPSHOT
7.9.0-SNAPSHOT
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ Your favorite language is missing? Please let me know!

This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.9.0
- Package version: 0.9.0
- Generator version: 7.6.0-SNAPSHOT
- API version: 0.9.1
- Package version: 0.9.1
- Generator version: 7.9.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h)

Expand Down Expand Up @@ -173,9 +173,11 @@ Class | Method | HTTP request | Description
*dofusdude.GameApi* | [**getGameSearch**](docs/GameApi.md#getGameSearch) | **GET** /{game}/{language}/search | Game Search
*dofusdude.GameApi* | [**getItemsAllSearch**](docs/GameApi.md#getItemsAllSearch) | **GET** /{game}/{language}/items/search | Search All Items
*dofusdude.MetaApi* | [**getGameSearchTypes**](docs/MetaApi.md#getGameSearchTypes) | **GET** /dofus2/meta/search/types | Available Game Search Types
*dofusdude.MetaApi* | [**getItemTypes**](docs/MetaApi.md#getItemTypes) | **GET** /dofus2/meta/items/types | Available Item Types
*dofusdude.MetaApi* | [**getMetaAlmanaxBonuses**](docs/MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses
*dofusdude.MetaApi* | [**getMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
*dofusdude.MetaApi* | [**getMetaElements**](docs/MetaApi.md#getMetaElements) | **GET** /dofus2/meta/elements | Effects and Condition Elements
*dofusdude.MetaApi* | [**getMetaVersion**](docs/MetaApi.md#getMetaVersion) | **GET** /dofus2/meta/version | Game Version
*dofusdude.MountsApi* | [**getAllMountsList**](docs/MountsApi.md#getAllMountsList) | **GET** /{game}/{language}/mounts/all | List All Mounts
*dofusdude.MountsApi* | [**getMountsList**](docs/MountsApi.md#getMountsList) | **GET** /{game}/{language}/mounts | List Mounts
*dofusdude.MountsApi* | [**getMountsSearch**](docs/MountsApi.md#getMountsSearch) | **GET** /{game}/{language}/mounts/search | Search Mounts
Expand Down Expand Up @@ -233,6 +235,7 @@ Class | Method | HTTP request | Description
- [dofusdude.EquipmentSet](docs/EquipmentSet.md)
- [dofusdude.GetGameSearch200ResponseInner](docs/GetGameSearch200ResponseInner.md)
- [dofusdude.GetMetaAlmanaxBonuses200ResponseInner](docs/GetMetaAlmanaxBonuses200ResponseInner.md)
- [dofusdude.GetMetaVersion200Response](docs/GetMetaVersion200Response.md)
- [dofusdude.GetMetaWebhooksTwitter200Response](docs/GetMetaWebhooksTwitter200Response.md)
- [dofusdude.ImageUrls](docs/ImageUrls.md)
- [dofusdude.ItemListEntry](docs/ItemListEntry.md)
Expand Down
8 changes: 6 additions & 2 deletions docs/ConsumablesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ let opts = {
'filterMaxLevel': 180, // Number | only results which level is equal or below this value
'pageSize': 2, // Number | size of the results from the list. -1 disables pagination and gets all in one response.
'pageNumber': 1, // Number | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16.
'fieldsItem': ["null"] // [String] | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
'fieldsItem': ["null"], // [String] | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getItemsConsumablesList(language, game, opts, (error, data, response) => {
if (error) {
Expand All @@ -118,6 +119,7 @@ Name | Type | Description | Notes
**pageSize** | **Number**| size of the results from the list. -1 disables pagination and gets all in one response. | [optional]
**pageNumber** | **Number**| page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional]
**fieldsItem** | [**[String]**](String.md)| adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down Expand Up @@ -154,7 +156,8 @@ let opts = {
'filterTypeName': "Bread", // String | only results with the translated type name
'filterMinLevel': 1, // Number | only results which level is equal or above this value
'filterMaxLevel': 200, // Number | only results which level is equal or below this value
'limit': 8 // Number | maximum number of returned results
'limit': 8, // Number | maximum number of returned results
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getItemsConsumablesSearch(language, game, query, opts, (error, data, response) => {
if (error) {
Expand All @@ -177,6 +180,7 @@ Name | Type | Description | Notes
**filterMinLevel** | **Number**| only results which level is equal or above this value | [optional]
**filterMaxLevel** | **Number**| only results which level is equal or below this value | [optional]
**limit** | **Number**| maximum number of returned results | [optional] [default to 8]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down
10 changes: 7 additions & 3 deletions docs/CosmeticsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ let opts = {
'filterMaxLevel': 5, // Number | only results which level is equal or below this value
'pageSize': 5, // Number | size of the results from the list. -1 disables pagination and gets all in one response.
'pageNumber': 1, // Number | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16.
'fieldsItem': ["null"] // [String] | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
'fieldsItem': ["null"], // [String] | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getCosmeticsList(language, game, opts, (error, data, response) => {
if (error) {
Expand All @@ -118,6 +119,7 @@ Name | Type | Description | Notes
**pageSize** | **Number**| size of the results from the list. -1 disables pagination and gets all in one response. | [optional]
**pageNumber** | **Number**| page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional]
**fieldsItem** | [**[String]**](String.md)| adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down Expand Up @@ -151,10 +153,11 @@ let language = "language_example"; // String | a valid language code
let game = "dofus2"; // String |
let query = "nedora"; // String | case sensitive search query
let opts = {
'filterTypeName': "Costume", // String | only results with the translated type name
'filterTypeName': "Wings", // String | only results with the translated type name
'filterMinLevel': 1, // Number | only results which level is equal or above this value
'filterMaxLevel': 2, // Number | only results which level is equal or below this value
'limit': 8 // Number | maximum number of returned results
'limit': 8, // Number | maximum number of returned results
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getCosmeticsSearch(language, game, query, opts, (error, data, response) => {
if (error) {
Expand All @@ -177,6 +180,7 @@ Name | Type | Description | Notes
**filterMinLevel** | **Number**| only results which level is equal or above this value | [optional]
**filterMaxLevel** | **Number**| only results which level is equal or below this value | [optional]
**limit** | **Number**| maximum number of returned results | [optional] [default to 8]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down
8 changes: 6 additions & 2 deletions docs/EquipmentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ let opts = {
'filterMaxLevel': 60, // Number | only results which level is equal or below this value
'pageSize': 5, // Number | size of the results from the list. -1 disables pagination and gets all in one response.
'pageNumber': 1, // Number | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16.
'fieldsItem': ["null"] // [String] | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
'fieldsItem': ["null"], // [String] | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getItemsEquipmentList(language, game, opts, (error, data, response) => {
if (error) {
Expand All @@ -118,6 +119,7 @@ Name | Type | Description | Notes
**pageSize** | **Number**| size of the results from the list. -1 disables pagination and gets all in one response. | [optional]
**pageNumber** | **Number**| page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional]
**fieldsItem** | [**[String]**](String.md)| adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down Expand Up @@ -154,7 +156,8 @@ let opts = {
'filterTypeName': "boots", // String | only results with the translated type name
'filterMinLevel': 150, // Number | only results which level is equal or above this value
'filterMaxLevel': 200, // Number | only results which level is equal or below this value
'limit': 8 // Number | maximum number of returned results
'limit': 8, // Number | maximum number of returned results
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getItemsEquipmentSearch(language, game, query, opts, (error, data, response) => {
if (error) {
Expand All @@ -177,6 +180,7 @@ Name | Type | Description | Notes
**filterMinLevel** | **Number**| only results which level is equal or above this value | [optional]
**filterMaxLevel** | **Number**| only results which level is equal or below this value | [optional]
**limit** | **Number**| maximum number of returned results | [optional] [default to 8]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down
8 changes: 6 additions & 2 deletions docs/GameApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ let query = "paztek"; // String | search query
let opts = {
'filterType': ["null"], // [String] | only results with all specific type
'limit': 8, // Number | maximum number of returned results
'fieldsItem': ["null"] // [String] | adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed.
'fieldsItem': ["null"], // [String] | adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed.
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getGameSearch(language, game, query, opts, (error, data, response) => {
if (error) {
Expand All @@ -51,6 +52,7 @@ Name | Type | Description | Notes
**filterType** | [**[String]**](String.md)| only results with all specific type | [optional]
**limit** | **Number**| maximum number of returned results | [optional] [default to 8]
**fieldsItem** | [**[String]**](String.md)| adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. | [optional]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down Expand Up @@ -87,7 +89,8 @@ let opts = {
'filterTypeName': "Bottes", // String | only results with the translated type name across all item_subtypes
'filterMinLevel': 190, // Number | only results which level is equal or above this value
'filterMaxLevel': 200, // Number | only results which level is equal or below this value
'limit': 8 // Number | maximum number of returned results
'limit': 8, // Number | maximum number of returned results
'filterTypeEnum': ["null"] // [String] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\".
};
apiInstance.getItemsAllSearch(language, game, query, opts, (error, data, response) => {
if (error) {
Expand All @@ -110,6 +113,7 @@ Name | Type | Description | Notes
**filterMinLevel** | **Number**| only results which level is equal or above this value | [optional]
**filterMaxLevel** | **Number**| only results which level is equal or below this value | [optional]
**limit** | **Number**| maximum number of returned results | [optional] [default to 8]
**filterTypeEnum** | [**[String]**](String.md)| multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | [optional]

### Return type

Expand Down
11 changes: 11 additions & 0 deletions docs/GetMetaVersion200Response.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# dofusdude.GetMetaVersion200Response

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**version** | **String** | | [optional]
**release** | **String** | | [optional]
**updateStamp** | **String** | | [optional]


84 changes: 84 additions & 0 deletions docs/MetaApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ All URIs are relative to *https://api.dofusdu.de*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getGameSearchTypes**](MetaApi.md#getGameSearchTypes) | **GET** /dofus2/meta/search/types | Available Game Search Types
[**getItemTypes**](MetaApi.md#getItemTypes) | **GET** /dofus2/meta/items/types | Available Item Types
[**getMetaAlmanaxBonuses**](MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses
[**getMetaAlmanaxBonusesSearch**](MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
[**getMetaElements**](MetaApi.md#getMetaElements) | **GET** /dofus2/meta/elements | Effects and Condition Elements
[**getMetaVersion**](MetaApi.md#getMetaVersion) | **GET** /dofus2/meta/version | Game Version



Expand Down Expand Up @@ -52,6 +54,47 @@ No authorization required
- **Accept**: application/json


## getItemTypes

> [String] getItemTypes()
Available Item Types

Get all types of all items. Primarily used for filtering more detailed types in listings or search endpoints. All names are english for comparing them inside applications. Ordering is not guaranteed to persist with game updates.

### Example

```javascript
import dofusdude from 'dofusdude-js';

let apiInstance = new dofusdude.MetaApi();
apiInstance.getItemTypes((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
```

### Parameters

This endpoint does not need any parameter.

### Return type

**[String]**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json


## getMetaAlmanaxBonuses

> [GetMetaAlmanaxBonuses200ResponseInner] getMetaAlmanaxBonuses(language)
Expand Down Expand Up @@ -188,3 +231,44 @@ No authorization required
- **Content-Type**: Not defined
- **Accept**: application/json


## getMetaVersion

> GetMetaVersion200Response getMetaVersion()
Game Version

The current game version of the hosted data.

### Example

```javascript
import dofusdude from 'dofusdude-js';

let apiInstance = new dofusdude.MetaApi();
apiInstance.getMetaVersion((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
```

### Parameters

This endpoint does not need any parameter.

### Return type

[**GetMetaVersion200Response**](GetMetaVersion200Response.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Loading

0 comments on commit 826cfec

Please sign in to comment.