Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Nov 29, 2024
1 parent b00b29e commit b9ecceb
Show file tree
Hide file tree
Showing 14 changed files with 151 additions and 151 deletions.
18 changes: 9 additions & 9 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ docs/Effect.md
docs/EffectType.md
docs/Equipment.md
docs/EquipmentApi.md
docs/EquipmentSet.md
docs/Error.md
docs/GameApi.md
docs/GameSearch.md
Expand All @@ -34,12 +35,12 @@ docs/GetMetaAlmanaxBonuses200ResponseInner.md
docs/GetMetaWebhooksTwitter200Response.md
docs/Images.md
docs/ItemSubtype.md
docs/ListEquipmentSet.md
docs/ListEquipmentSets.md
docs/ListItem.md
docs/ListItemGeneral.md
docs/ListItems.md
docs/ListMounts.md
docs/ListSet.md
docs/ListSets.md
docs/MetaApi.md
docs/Mount.md
docs/MountFamily.md
Expand All @@ -54,7 +55,6 @@ docs/Recipe.md
docs/Resource.md
docs/ResourcesApi.md
docs/RssWebhook.md
docs/Set.md
docs/SetsApi.md
docs/TranslatedId.md
docs/TwitterWebhook.md
Expand Down Expand Up @@ -95,6 +95,7 @@ src/model/CreateTwitterWebhook.js
src/model/Effect.js
src/model/EffectType.js
src/model/Equipment.js
src/model/EquipmentSet.js
src/model/Error.js
src/model/GameSearch.js
src/model/GameSearchItem.js
Expand All @@ -103,12 +104,12 @@ src/model/GetMetaAlmanaxBonuses200ResponseInner.js
src/model/GetMetaWebhooksTwitter200Response.js
src/model/Images.js
src/model/ItemSubtype.js
src/model/ListEquipmentSet.js
src/model/ListEquipmentSets.js
src/model/ListItem.js
src/model/ListItemGeneral.js
src/model/ListItems.js
src/model/ListMounts.js
src/model/ListSet.js
src/model/ListSets.js
src/model/Mount.js
src/model/MountFamily.js
src/model/PagedLinks.js
Expand All @@ -119,7 +120,6 @@ src/model/Range.js
src/model/Recipe.js
src/model/Resource.js
src/model/RssWebhook.js
src/model/Set.js
src/model/TranslatedId.js
src/model/TwitterWebhook.js
src/model/Version.js
Expand Down Expand Up @@ -153,6 +153,7 @@ test/model/CreateTwitterWebhook.spec.js
test/model/Effect.spec.js
test/model/EffectType.spec.js
test/model/Equipment.spec.js
test/model/EquipmentSet.spec.js
test/model/Error.spec.js
test/model/GameSearch.spec.js
test/model/GameSearchItem.spec.js
Expand All @@ -161,12 +162,12 @@ test/model/GetMetaAlmanaxBonuses200ResponseInner.spec.js
test/model/GetMetaWebhooksTwitter200Response.spec.js
test/model/Images.spec.js
test/model/ItemSubtype.spec.js
test/model/ListEquipmentSet.spec.js
test/model/ListEquipmentSets.spec.js
test/model/ListItem.spec.js
test/model/ListItemGeneral.spec.js
test/model/ListItems.spec.js
test/model/ListMounts.spec.js
test/model/ListSet.spec.js
test/model/ListSets.spec.js
test/model/Mount.spec.js
test/model/MountFamily.spec.js
test/model/PagedLinks.spec.js
Expand All @@ -177,7 +178,6 @@ test/model/Range.spec.js
test/model/Recipe.spec.js
test/model/Resource.spec.js
test/model/RssWebhook.spec.js
test/model/Set.spec.js
test/model/TranslatedId.spec.js
test/model/TwitterWebhook.spec.js
test/model/Version.spec.js
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ Class | Method | HTTP request | Description
- [dofusdude.Effect](docs/Effect.md)
- [dofusdude.EffectType](docs/EffectType.md)
- [dofusdude.Equipment](docs/Equipment.md)
- [dofusdude.EquipmentSet](docs/EquipmentSet.md)
- [dofusdude.Error](docs/Error.md)
- [dofusdude.GameSearch](docs/GameSearch.md)
- [dofusdude.GameSearchItem](docs/GameSearchItem.md)
Expand All @@ -241,12 +242,12 @@ Class | Method | HTTP request | Description
- [dofusdude.GetMetaWebhooksTwitter200Response](docs/GetMetaWebhooksTwitter200Response.md)
- [dofusdude.Images](docs/Images.md)
- [dofusdude.ItemSubtype](docs/ItemSubtype.md)
- [dofusdude.ListEquipmentSet](docs/ListEquipmentSet.md)
- [dofusdude.ListEquipmentSets](docs/ListEquipmentSets.md)
- [dofusdude.ListItem](docs/ListItem.md)
- [dofusdude.ListItemGeneral](docs/ListItemGeneral.md)
- [dofusdude.ListItems](docs/ListItems.md)
- [dofusdude.ListMounts](docs/ListMounts.md)
- [dofusdude.ListSet](docs/ListSet.md)
- [dofusdude.ListSets](docs/ListSets.md)
- [dofusdude.Mount](docs/Mount.md)
- [dofusdude.MountFamily](docs/MountFamily.md)
- [dofusdude.PagedLinks](docs/PagedLinks.md)
Expand All @@ -257,7 +258,6 @@ Class | Method | HTTP request | Description
- [dofusdude.Recipe](docs/Recipe.md)
- [dofusdude.Resource](docs/Resource.md)
- [dofusdude.RssWebhook](docs/RssWebhook.md)
- [dofusdude.Set](docs/Set.md)
- [dofusdude.TranslatedId](docs/TranslatedId.md)
- [dofusdude.TwitterWebhook](docs/TwitterWebhook.md)
- [dofusdude.Version](docs/Version.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/Set.md → docs/EquipmentSet.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dofusdude.Set
# dofusdude.EquipmentSet

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/ListSet.md → docs/ListEquipmentSet.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dofusdude.ListSet
# dofusdude.ListEquipmentSet

## Properties

Expand Down
4 changes: 2 additions & 2 deletions docs/ListSets.md → docs/ListEquipmentSets.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# dofusdude.ListSets
# dofusdude.ListEquipmentSets

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**links** | [**PagedLinks**](PagedLinks.md) | | [optional]
**sets** | [**[ListSet]**](ListSet.md) | | [optional]
**sets** | [**[ListEquipmentSet]**](ListEquipmentSet.md) | | [optional]


16 changes: 8 additions & 8 deletions docs/SetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Method | HTTP request | Description

## getAllSetsList

> ListSets getAllSetsList(language, game, opts)
> ListEquipmentSets getAllSetsList(language, game, opts)
List All Sets

Expand Down Expand Up @@ -60,7 +60,7 @@ Name | Type | Description | Notes

### Return type

[**ListSets**](ListSets.md)
[**ListEquipmentSets**](ListEquipmentSets.md)

### Authorization

Expand All @@ -74,7 +74,7 @@ No authorization required

## getSetsList

> ListSets getSetsList(language, game, opts)
> ListEquipmentSet getSetsList(language, game, opts)
List Sets

Expand Down Expand Up @@ -125,7 +125,7 @@ Name | Type | Description | Notes

### Return type

[**ListSets**](ListSets.md)
[**ListEquipmentSet**](ListEquipmentSet.md)

### Authorization

Expand All @@ -139,7 +139,7 @@ No authorization required

## getSetsSearch

> [ListSet] getSetsSearch(language, game, query, opts)
> [ListEquipmentSet] getSetsSearch(language, game, query, opts)
Search Sets

Expand Down Expand Up @@ -184,7 +184,7 @@ Name | Type | Description | Notes

### Return type

[**[ListSet]**](ListSet.md)
[**[ListEquipmentSet]**](ListEquipmentSet.md)

### Authorization

Expand All @@ -198,7 +198,7 @@ No authorization required

## getSetsSingle

> Set getSetsSingle(language, ankamaId, game)
> EquipmentSet getSetsSingle(language, ankamaId, game)
Single Sets

Expand Down Expand Up @@ -233,7 +233,7 @@ Name | Type | Description | Notes

### Return type

[**Set**](Set.md)
[**EquipmentSet**](EquipmentSet.md)

### Authorization

Expand Down
30 changes: 15 additions & 15 deletions src/api/SetsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@


import ApiClient from "../ApiClient";
import EquipmentSet from '../model/EquipmentSet';
import Error from '../model/Error';
import ListSet from '../model/ListSet';
import ListSets from '../model/ListSets';
import Set from '../model/Set';
import ListEquipmentSet from '../model/ListEquipmentSet';
import ListEquipmentSets from '../model/ListEquipmentSets';

/**
* Sets service.
Expand All @@ -41,7 +41,7 @@ export default class SetsApi {
* Callback function to receive the result of the getAllSetsList operation.
* @callback module:api/SetsApi~getAllSetsListCallback
* @param {String} error Error message, if any.
* @param {module:model/ListSets} data The data returned by the service call.
* @param {module:model/ListEquipmentSets} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/

Expand All @@ -58,7 +58,7 @@ export default class SetsApi {
* @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 cosmetic items in it.
* @param {module:api/SetsApi~getAllSetsListCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/ListSets}
* data is of type: {@link module:model/ListEquipmentSets}
*/
getAllSetsList(language, game, opts, callback) {
opts = opts || {};
Expand Down Expand Up @@ -92,7 +92,7 @@ export default class SetsApi {
let authNames = [];
let contentTypes = [];
let accepts = ['application/json'];
let returnType = ListSets;
let returnType = ListEquipmentSets;
return this.apiClient.callApi(
'/{game}/v1/{language}/sets/all', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
Expand All @@ -104,7 +104,7 @@ export default class SetsApi {
* Callback function to receive the result of the getSetsList operation.
* @callback module:api/SetsApi~getSetsListCallback
* @param {String} error Error message, if any.
* @param {module:model/ListSets} data The data returned by the service call.
* @param {module:model/ListEquipmentSet} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/

Expand All @@ -123,7 +123,7 @@ export default class SetsApi {
* @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 cosmetic items in it.
* @param {module:api/SetsApi~getSetsListCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/ListSets}
* data is of type: {@link module:model/ListEquipmentSet}
*/
getSetsList(language, game, opts, callback) {
opts = opts || {};
Expand Down Expand Up @@ -159,7 +159,7 @@ export default class SetsApi {
let authNames = [];
let contentTypes = [];
let accepts = ['application/json'];
let returnType = ListSets;
let returnType = ListEquipmentSet;
return this.apiClient.callApi(
'/{game}/v1/{language}/sets', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
Expand All @@ -171,7 +171,7 @@ export default class SetsApi {
* Callback function to receive the result of the getSetsSearch operation.
* @callback module:api/SetsApi~getSetsSearchCallback
* @param {String} error Error message, if any.
* @param {Array.<module:model/ListSet>} data The data returned by the service call.
* @param {Array.<module:model/ListEquipmentSet>} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/

Expand All @@ -187,7 +187,7 @@ export default class SetsApi {
* @param {Number} [limit = 8)] 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 {module:api/SetsApi~getSetsSearchCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link Array.<module:model/ListSet>}
* data is of type: {@link Array.<module:model/ListEquipmentSet>}
*/
getSetsSearch(language, game, query, opts, callback) {
opts = opts || {};
Expand Down Expand Up @@ -224,7 +224,7 @@ export default class SetsApi {
let authNames = [];
let contentTypes = [];
let accepts = ['application/json'];
let returnType = [ListSet];
let returnType = [ListEquipmentSet];
return this.apiClient.callApi(
'/{game}/v1/{language}/sets/search', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
Expand All @@ -236,7 +236,7 @@ export default class SetsApi {
* Callback function to receive the result of the getSetsSingle operation.
* @callback module:api/SetsApi~getSetsSingleCallback
* @param {String} error Error message, if any.
* @param {module:model/Set} data The data returned by the service call.
* @param {module:model/EquipmentSet} data The data returned by the service call.
* @param {String} response The complete HTTP response.
*/

Expand All @@ -247,7 +247,7 @@ export default class SetsApi {
* @param {Number} ankamaId identifier
* @param {module:model/String} game dofus3 | dofus3beta
* @param {module:api/SetsApi~getSetsSingleCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/Set}
* data is of type: {@link module:model/EquipmentSet}
*/
getSetsSingle(language, ankamaId, game, callback) {
let postBody = null;
Expand Down Expand Up @@ -279,7 +279,7 @@ export default class SetsApi {
let authNames = [];
let contentTypes = [];
let accepts = ['application/json'];
let returnType = Set;
let returnType = EquipmentSet;
return this.apiClient.callApi(
'/{game}/v1/{language}/sets/{ankama_id}', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
Expand Down
Loading

0 comments on commit b9ecceb

Please sign in to comment.