@pinta365/blizzard_api 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -4
- package/esm/mod.d.ts +4 -2
- package/esm/mod.js +2 -0
- package/esm/src/client.d.ts +9 -1
- package/esm/src/client.js +2 -0
- package/esm/src/generated/wow_forever_api.d.ts +939 -0
- package/esm/src/generated/wow_forever_api.js +2 -0
- package/esm/src/shared/context.d.ts +13 -2
- package/esm/src/shared/context.js +24 -9
- package/esm/src/shared/types.d.ts +1 -1
- package/esm/src/wow/game_data/achievement.d.ts +4 -0
- package/esm/src/wow/game_data/item.d.ts +29 -6
- package/esm/src/wow/game_data/mount.d.ts +2 -1
- package/esm/src/wow/game_data/reputations.d.ts +7 -1
- package/esm/src/wow/game_data/talent.d.ts +6 -2
- package/esm/src/wow/profile/character_statistics.d.ts +4 -0
- package/esm/src/wow_forever/account.d.ts +42 -0
- package/esm/src/wow_forever/account.js +24 -0
- package/esm/src/wow_forever/character.d.ts +336 -0
- package/esm/src/wow_forever/character.js +269 -0
- package/esm/src/wow_forever/game_data.d.ts +196 -0
- package/esm/src/wow_forever/game_data.js +166 -0
- package/esm/src/wow_forever/guild.d.ts +88 -0
- package/esm/src/wow_forever/guild.js +57 -0
- package/esm/src/wow_forever/index.d.ts +39 -0
- package/esm/src/wow_forever/index.js +45 -0
- package/esm/src/wow_forever/ruleset.d.ts +32 -0
- package/esm/src/wow_forever/ruleset.js +30 -0
- package/esm/src/wow_forever/types.d.ts +5 -0
- package/esm/src/wow_forever/types.js +1 -0
- package/package.json +5 -1
- package/script/mod.d.ts +4 -2
- package/script/mod.js +3 -1
- package/script/src/client.d.ts +9 -1
- package/script/src/client.js +2 -0
- package/script/src/generated/wow_forever_api.d.ts +939 -0
- package/script/src/generated/wow_forever_api.js +3 -0
- package/script/src/shared/context.d.ts +13 -2
- package/script/src/shared/context.js +24 -9
- package/script/src/shared/types.d.ts +1 -1
- package/script/src/wow/game_data/achievement.d.ts +4 -0
- package/script/src/wow/game_data/item.d.ts +29 -6
- package/script/src/wow/game_data/mount.d.ts +2 -1
- package/script/src/wow/game_data/reputations.d.ts +7 -1
- package/script/src/wow/game_data/talent.d.ts +6 -2
- package/script/src/wow/profile/character_statistics.d.ts +4 -0
- package/script/src/wow_forever/account.d.ts +42 -0
- package/script/src/wow_forever/account.js +28 -0
- package/script/src/wow_forever/character.d.ts +336 -0
- package/script/src/wow_forever/character.js +296 -0
- package/script/src/wow_forever/game_data.d.ts +196 -0
- package/script/src/wow_forever/game_data.js +185 -0
- package/script/src/wow_forever/guild.d.ts +88 -0
- package/script/src/wow_forever/guild.js +63 -0
- package/script/src/wow_forever/index.d.ts +39 -0
- package/script/src/wow_forever/index.js +180 -0
- package/script/src/wow_forever/ruleset.d.ts +32 -0
- package/script/src/wow_forever/ruleset.js +34 -0
- package/script/src/wow_forever/types.d.ts +5 -0
- package/script/src/wow_forever/types.js +2 -0
|
@@ -0,0 +1,939 @@
|
|
|
1
|
+
import type { AccountCollectionsIndex, AccountHeirloomsCollection, AccountMountsCollection, AccountPetsCollection, AccountToysCollection } from "../wow/profile/account_profile.js";
|
|
2
|
+
import type { Achievement, AchievementCategory, AchievementMedia, Achievements } from "../wow/game_data/achievement.js";
|
|
3
|
+
import type { Creature, CreatureDisplayMedia, CreatureFamilies, CreatureFamily, CreatureFamilyMedia, CreatureType, CreatureTypes } from "../wow/game_data/creature.js";
|
|
4
|
+
import type { ForeverAccountProfileSummary, ForeverAccountTransmogsCollection } from "../wow_forever/account.js";
|
|
5
|
+
import type { ForeverAchievementCategories, ForeverHeirlooms, ForeverItemAppearanceSearch, ForeverJournalEncounters, ForeverJournalExpansions, ForeverJournalInstances, ForeverMount, ForeverPet, ForeverPetAbilities, ForeverPlayableSpecialization, ForeverPlayableSpecializations, ForeverProfessionRecipie, ForeverQuest, ForeverReputationFaction, ForeverTalentTree, ForeverTalentTrees, ForeverTitle } from "../wow_forever/game_data.js";
|
|
6
|
+
import type { ForeverCharacterAchievementStatistics, ForeverCharacterAchievementSummary, ForeverCharacterAppearanceSummary, ForeverCharacterCollectionHeirlooms, ForeverCharacterCollectionMounts, ForeverCharacterCollectionPets, ForeverCharacterCollectionToys, ForeverCharacterCollectionTransmogs, ForeverCharacterCollectionTypes, ForeverCharacterCompletedQuests, ForeverCharacterEncounterDungeons, ForeverCharacterEncounterRaids, ForeverCharacterEncounters, ForeverCharacterEquipment, ForeverCharacterMedia, ForeverCharacterMythicKeystoneProfile, ForeverCharacterProfessions, ForeverCharacterProfile, ForeverCharacterProfileStatus, ForeverCharacterPvpSummary, ForeverCharacterQuests, ForeverCharacterReputations, ForeverCharacterSpecializations, ForeverCharacterStatistics, ForeverCharacterTitles } from "../wow_forever/character.js";
|
|
7
|
+
import type { ForeverGuild, ForeverGuildAchievements, ForeverGuildActivity, ForeverGuildRoster } from "../wow_forever/guild.js";
|
|
8
|
+
import type { ForeverRuleset, ForeverRulesets } from "../wow_forever/ruleset.js";
|
|
9
|
+
import type { GuildCrestBorder, GuildCrestEmblem, GuildCrests } from "../wow/game_data/guild_crest.js";
|
|
10
|
+
import type { Heirloom } from "../wow/game_data/heirloom.js";
|
|
11
|
+
import type { Item, ItemClass, ItemClasses, ItemMedia, ItemSet, ItemSets, ItemSubclass } from "../wow/game_data/item.js";
|
|
12
|
+
import type { ItemAppearance, ItemAppearanceSet, ItemAppearanceSets, ItemAppearanceSlot, ItemAppearanceSlots } from "../wow/game_data/item_appearance.js";
|
|
13
|
+
import type { JournalEncounter, JournalExpansion, JournalInstance, JournalInstanceMedia } from "../wow/game_data/journal.js";
|
|
14
|
+
import type { Mounts } from "../wow/game_data/mount.js";
|
|
15
|
+
import type { PetAbility, PetAbilityMedia, PetMedia, Pets } from "../wow/game_data/pet.js";
|
|
16
|
+
import type { PlayableClass, PlayableClasses, PlayableClassMedia } from "../wow/game_data/playable_class.js";
|
|
17
|
+
import type { PlayableRace, PlayableRaces } from "../wow/game_data/playable_race.js";
|
|
18
|
+
import type { PlayableSpecializationMedia } from "../wow/game_data/playable_specialization.js";
|
|
19
|
+
import type { PowerType, PowerTypes } from "../wow/game_data/power_type.js";
|
|
20
|
+
import type { Profession, ProfessionMedia, professionRecipieMedia, Professions, ProfessionSkillTier } from "../wow/game_data/profession.js";
|
|
21
|
+
import type { QuestArea, QuestAreas, QuestCategories, QuestCategory, Quests, QuestType, QuestTypes } from "../wow/game_data/quest.js";
|
|
22
|
+
import type { Region, Regions } from "../wow/game_data/region.js";
|
|
23
|
+
import type { ReputationFactions, ReputationTier, ReputationTiers } from "../wow/game_data/reputations.js";
|
|
24
|
+
import type { Search, SearchParameters } from "../wow/search.js";
|
|
25
|
+
import type { Spell, SpellMedia } from "../wow/game_data/spell.js";
|
|
26
|
+
import type { Talent, Talents, TalentTreeNodes } from "../wow/game_data/talent.js";
|
|
27
|
+
import type { Titles } from "../wow/game_data/title.js";
|
|
28
|
+
import type { Toy, Toys } from "../wow/game_data/toy.js";
|
|
29
|
+
/**
|
|
30
|
+
* World of Warcraft: Forever endpoints (game data and account profile).
|
|
31
|
+
*/
|
|
32
|
+
export interface WowForeverApi {
|
|
33
|
+
/**
|
|
34
|
+
* Returns an index of collection types for an account.
|
|
35
|
+
* Requires a user access token (client.forUser(token)).
|
|
36
|
+
*
|
|
37
|
+
* @returns A promise that resolves to an object with links to the account's collections.
|
|
38
|
+
*/
|
|
39
|
+
accountCollectionsIndex(): Promise<AccountCollectionsIndex>;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the heirlooms collected by an account.
|
|
42
|
+
* Requires a user access token (client.forUser(token)).
|
|
43
|
+
*
|
|
44
|
+
* @returns A promise that resolves to an object representing the account's heirlooms.
|
|
45
|
+
*/
|
|
46
|
+
accountHeirloomsCollection(): Promise<AccountHeirloomsCollection>;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the mounts collected by an account.
|
|
49
|
+
* Requires a user access token (client.forUser(token)).
|
|
50
|
+
*
|
|
51
|
+
* @returns A promise that resolves to an object representing the account's mounts.
|
|
52
|
+
*/
|
|
53
|
+
accountMountsCollection(): Promise<AccountMountsCollection>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns the battle pets collected by an account.
|
|
56
|
+
* Requires a user access token (client.forUser(token)).
|
|
57
|
+
*
|
|
58
|
+
* @returns A promise that resolves to an object representing the account's pets.
|
|
59
|
+
*/
|
|
60
|
+
accountPetsCollection(): Promise<AccountPetsCollection>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns a profile summary for an account, including its WoW accounts and Forever characters.
|
|
63
|
+
* Requires a user access token (client.forUser(token)).
|
|
64
|
+
*
|
|
65
|
+
* @returns A promise that resolves to an object representing the account profile summary.
|
|
66
|
+
*/
|
|
67
|
+
accountProfileSummary(): Promise<ForeverAccountProfileSummary>;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the toys collected by an account.
|
|
70
|
+
* Requires a user access token (client.forUser(token)).
|
|
71
|
+
*
|
|
72
|
+
* @returns A promise that resolves to an object representing the account's toys.
|
|
73
|
+
*/
|
|
74
|
+
accountToysCollection(): Promise<AccountToysCollection>;
|
|
75
|
+
/**
|
|
76
|
+
* Returns the transmog appearances and sets collected by an account.
|
|
77
|
+
* Requires a user access token (client.forUser(token)).
|
|
78
|
+
*
|
|
79
|
+
* @returns A promise that resolves to an object representing the account's transmogs.
|
|
80
|
+
*/
|
|
81
|
+
accountTransmogsCollection(): Promise<ForeverAccountTransmogsCollection>;
|
|
82
|
+
/**
|
|
83
|
+
* Fetches and returns details of a specific achievement identified by its ID.
|
|
84
|
+
*
|
|
85
|
+
* @param achievementId - The unique identifier of the achievement to retrieve.
|
|
86
|
+
* @returns A promise that resolves to an object representing the achievement details.
|
|
87
|
+
*/
|
|
88
|
+
achievement(achievementId: number): Promise<Achievement>;
|
|
89
|
+
/**
|
|
90
|
+
* Returns an index of achievement categories.
|
|
91
|
+
*
|
|
92
|
+
* @returns A promise that resolves to an object representing an index of achievement categories.
|
|
93
|
+
*/
|
|
94
|
+
achievementCategories(): Promise<ForeverAchievementCategories>;
|
|
95
|
+
/**
|
|
96
|
+
* Fetches and returns details of a specific achievement category identified by its ID.
|
|
97
|
+
*
|
|
98
|
+
* @param achievementCategoryId - The unique identifier of the achievement category to retrieve.
|
|
99
|
+
* @returns A promise that resolves to an object representing the achievement category details.
|
|
100
|
+
*/
|
|
101
|
+
achievementCategory(achievementCategoryId: number): Promise<AchievementCategory>;
|
|
102
|
+
/**
|
|
103
|
+
* Fetches and returns media details for a specific achievement identified by its ID.
|
|
104
|
+
*
|
|
105
|
+
* @param achievementId - The unique identifier of the achievement to retrieve media details for.
|
|
106
|
+
* @returns A promise that resolves to an object representing the achievement media details.
|
|
107
|
+
*/
|
|
108
|
+
achievementMedia(achievementId: number): Promise<AchievementMedia>;
|
|
109
|
+
/**
|
|
110
|
+
* Fetches and returns an index of achievements.
|
|
111
|
+
*
|
|
112
|
+
* @returns A promise that resolves to an object representing the index of achievements.
|
|
113
|
+
*/
|
|
114
|
+
achievements(): Promise<Achievements>;
|
|
115
|
+
/**
|
|
116
|
+
* Returns a character's statistics as they pertain to achievements.
|
|
117
|
+
*
|
|
118
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
119
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
120
|
+
* @returns A promise that resolves to an object representing the achievement statistics.
|
|
121
|
+
*/
|
|
122
|
+
characterAchievementStatistics(name: string, surname: string): Promise<ForeverCharacterAchievementStatistics>;
|
|
123
|
+
/**
|
|
124
|
+
* Returns a summary of the achievements a character has completed.
|
|
125
|
+
*
|
|
126
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
127
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
128
|
+
* @returns A promise that resolves to an object representing the achievement summary.
|
|
129
|
+
*/
|
|
130
|
+
characterAchievementSummary(name: string, surname: string): Promise<ForeverCharacterAchievementSummary>;
|
|
131
|
+
/**
|
|
132
|
+
* Returns a summary of a character's appearance settings.
|
|
133
|
+
*
|
|
134
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
135
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
136
|
+
* @returns A promise that resolves to an object representing the appearance summary.
|
|
137
|
+
*/
|
|
138
|
+
characterAppearanceSummary(name: string, surname: string): Promise<ForeverCharacterAppearanceSummary>;
|
|
139
|
+
/**
|
|
140
|
+
* Returns the heirlooms a character has collected.
|
|
141
|
+
*
|
|
142
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
143
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
144
|
+
* @returns A promise that resolves to an object representing the collected heirlooms.
|
|
145
|
+
*/
|
|
146
|
+
characterCollectionHeirlooms(name: string, surname: string): Promise<ForeverCharacterCollectionHeirlooms>;
|
|
147
|
+
/**
|
|
148
|
+
* Returns the mounts a character has collected.
|
|
149
|
+
*
|
|
150
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
151
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
152
|
+
* @returns A promise that resolves to an object representing the collected mounts.
|
|
153
|
+
*/
|
|
154
|
+
characterCollectionMounts(name: string, surname: string): Promise<ForeverCharacterCollectionMounts>;
|
|
155
|
+
/**
|
|
156
|
+
* Returns the battle pets a character has collected.
|
|
157
|
+
*
|
|
158
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
159
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
160
|
+
* @returns A promise that resolves to an object representing the collected pets.
|
|
161
|
+
*/
|
|
162
|
+
characterCollectionPets(name: string, surname: string): Promise<ForeverCharacterCollectionPets>;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the toys a character has collected.
|
|
165
|
+
*
|
|
166
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
167
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
168
|
+
* @returns A promise that resolves to an object representing the collected toys.
|
|
169
|
+
*/
|
|
170
|
+
characterCollectionToys(name: string, surname: string): Promise<ForeverCharacterCollectionToys>;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the transmog appearances a character has collected.
|
|
173
|
+
*
|
|
174
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
175
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
176
|
+
* @returns A promise that resolves to an object representing the collected transmogs.
|
|
177
|
+
*/
|
|
178
|
+
characterCollectionTransmogs(name: string, surname: string): Promise<ForeverCharacterCollectionTransmogs>;
|
|
179
|
+
/**
|
|
180
|
+
* Returns an index of collection types for a character.
|
|
181
|
+
*
|
|
182
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
183
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
184
|
+
* @returns A promise that resolves to an object representing the collection index.
|
|
185
|
+
*/
|
|
186
|
+
characterCollectionTypes(name: string, surname: string): Promise<ForeverCharacterCollectionTypes>;
|
|
187
|
+
/**
|
|
188
|
+
* Returns the quests a character has completed.
|
|
189
|
+
*
|
|
190
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
191
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
192
|
+
* @returns A promise that resolves to an object representing the completed quests.
|
|
193
|
+
*/
|
|
194
|
+
characterCompletedQuests(name: string, surname: string): Promise<ForeverCharacterCompletedQuests>;
|
|
195
|
+
/**
|
|
196
|
+
* Returns a summary of a character's completed dungeons.
|
|
197
|
+
*
|
|
198
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
199
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
200
|
+
* @returns A promise that resolves to an object representing the completed dungeons.
|
|
201
|
+
*/
|
|
202
|
+
characterEncounterDungeons(name: string, surname: string): Promise<ForeverCharacterEncounterDungeons>;
|
|
203
|
+
/**
|
|
204
|
+
* Returns a summary of a character's completed raids.
|
|
205
|
+
*
|
|
206
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
207
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
208
|
+
* @returns A promise that resolves to an object representing the completed raids.
|
|
209
|
+
*/
|
|
210
|
+
characterEncounterRaids(name: string, surname: string): Promise<ForeverCharacterEncounterRaids>;
|
|
211
|
+
/**
|
|
212
|
+
* Returns a summary of a character's encounters.
|
|
213
|
+
*
|
|
214
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
215
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
216
|
+
* @returns A promise that resolves to an object representing the encounter summary.
|
|
217
|
+
*/
|
|
218
|
+
characterEncounters(name: string, surname: string): Promise<ForeverCharacterEncounters>;
|
|
219
|
+
/**
|
|
220
|
+
* Returns a summary of the items equipped by a character.
|
|
221
|
+
*
|
|
222
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
223
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
224
|
+
* @returns A promise that resolves to an object representing the equipped items.
|
|
225
|
+
*/
|
|
226
|
+
characterEquipments(name: string, surname: string): Promise<ForeverCharacterEquipment>;
|
|
227
|
+
/**
|
|
228
|
+
* Returns a summary of the media assets available for a character (such as an avatar render).
|
|
229
|
+
*
|
|
230
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
231
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
232
|
+
* @returns A promise that resolves to an object representing the character's media assets.
|
|
233
|
+
*/
|
|
234
|
+
characterMedia(name: string, surname: string): Promise<ForeverCharacterMedia>;
|
|
235
|
+
/**
|
|
236
|
+
* Returns the Mythic Keystone profile index for a character.
|
|
237
|
+
*
|
|
238
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
239
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
240
|
+
* @returns A promise that resolves to an object representing the Mythic Keystone profile.
|
|
241
|
+
*/
|
|
242
|
+
characterMythicKeystoneProfile(name: string, surname: string): Promise<ForeverCharacterMythicKeystoneProfile>;
|
|
243
|
+
/**
|
|
244
|
+
* Returns a summary of a character's professions.
|
|
245
|
+
*
|
|
246
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
247
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
248
|
+
* @returns A promise that resolves to an object representing the professions.
|
|
249
|
+
*/
|
|
250
|
+
characterProfessions(name: string, surname: string): Promise<ForeverCharacterProfessions>;
|
|
251
|
+
/**
|
|
252
|
+
* Returns a profile summary for a character.
|
|
253
|
+
*
|
|
254
|
+
* @param name - The character's name (first part), e.g. "Anduin". Case-insensitive.
|
|
255
|
+
* @param surname - The character's surname (second part), e.g. "Wrynn". Case-insensitive.
|
|
256
|
+
* @returns A promise that resolves to an object representing a profile summary.
|
|
257
|
+
*/
|
|
258
|
+
characterProfile(name: string, surname: string): Promise<ForeverCharacterProfile>;
|
|
259
|
+
/**
|
|
260
|
+
* Returns the status and a unique ID for a character. Use the ID to check whether a character with the same name is
|
|
261
|
+
* still the same character.
|
|
262
|
+
*
|
|
263
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
264
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
265
|
+
* @returns A promise that resolves to an object representing the character's status.
|
|
266
|
+
*/
|
|
267
|
+
characterProfileStatus(name: string, surname: string): Promise<ForeverCharacterProfileStatus>;
|
|
268
|
+
/**
|
|
269
|
+
* Returns a PvP summary for a character.
|
|
270
|
+
*
|
|
271
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
272
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
273
|
+
* @returns A promise that resolves to an object representing the PvP summary.
|
|
274
|
+
*/
|
|
275
|
+
characterPvpSummary(name: string, surname: string): Promise<ForeverCharacterPvpSummary>;
|
|
276
|
+
/**
|
|
277
|
+
* Returns a character's active quests and links to its completed quests.
|
|
278
|
+
*
|
|
279
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
280
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
281
|
+
* @returns A promise that resolves to an object representing the quests.
|
|
282
|
+
*/
|
|
283
|
+
characterQuests(name: string, surname: string): Promise<ForeverCharacterQuests>;
|
|
284
|
+
/**
|
|
285
|
+
* Returns a summary of a character's reputations.
|
|
286
|
+
*
|
|
287
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
288
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
289
|
+
* @returns A promise that resolves to an object representing the reputations.
|
|
290
|
+
*/
|
|
291
|
+
characterReputations(name: string, surname: string): Promise<ForeverCharacterReputations>;
|
|
292
|
+
/**
|
|
293
|
+
* Returns a summary of a character's specializations.
|
|
294
|
+
*
|
|
295
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
296
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
297
|
+
* @returns A promise that resolves to an object representing the specializations.
|
|
298
|
+
*/
|
|
299
|
+
characterSpecializations(name: string, surname: string): Promise<ForeverCharacterSpecializations>;
|
|
300
|
+
/**
|
|
301
|
+
* Returns a statistics summary for a character.
|
|
302
|
+
*
|
|
303
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
304
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
305
|
+
* @returns A promise that resolves to an object representing the statistics.
|
|
306
|
+
*/
|
|
307
|
+
characterStatistics(name: string, surname: string): Promise<ForeverCharacterStatistics>;
|
|
308
|
+
/**
|
|
309
|
+
* Returns a summary of the titles a character has obtained.
|
|
310
|
+
*
|
|
311
|
+
* @param name - The character's name (first part). Case-insensitive.
|
|
312
|
+
* @param surname - The character's surname (second part). Case-insensitive.
|
|
313
|
+
* @returns A promise that resolves to an object representing the titles.
|
|
314
|
+
*/
|
|
315
|
+
characterTitles(name: string, surname: string): Promise<ForeverCharacterTitles>;
|
|
316
|
+
/**
|
|
317
|
+
* Returns details about a creature
|
|
318
|
+
*
|
|
319
|
+
* @param creatureId - The unique identifier for the creature
|
|
320
|
+
* @returns A promise that resolves to an object representing details about a creature.
|
|
321
|
+
*/
|
|
322
|
+
creature(creatureId: number): Promise<Creature>;
|
|
323
|
+
/**
|
|
324
|
+
* Returns media details about a specific Creature display
|
|
325
|
+
*
|
|
326
|
+
* @param creatureDisplayId - The unique identifier Creature display Id.
|
|
327
|
+
* @returns A promise that resolves to an object representing media details about a Creature display.
|
|
328
|
+
*/
|
|
329
|
+
creatureDisplayMedia(creatureDisplayId: number): Promise<CreatureDisplayMedia>;
|
|
330
|
+
/**
|
|
331
|
+
* Returns an index of creature families.
|
|
332
|
+
*
|
|
333
|
+
* @returns A promise that resolves to an object representing a list of all creature families.
|
|
334
|
+
*/
|
|
335
|
+
creatureFamilies(): Promise<CreatureFamilies>;
|
|
336
|
+
/**
|
|
337
|
+
* Returns details about a creature family
|
|
338
|
+
*
|
|
339
|
+
* @param creatureFamilyId - The unique identifier for the creature family
|
|
340
|
+
* @returns A promise that resolves to an object representing details about a creature family.
|
|
341
|
+
*/
|
|
342
|
+
creatureFamily(creatureFamilyId: number): Promise<CreatureFamily>;
|
|
343
|
+
/**
|
|
344
|
+
* Returns media details about a specific Creature family
|
|
345
|
+
*
|
|
346
|
+
* @param creatureFamilyId - The unique identifier Creature family Id.
|
|
347
|
+
* @returns A promise that resolves to an object representing media details about a Creature family.
|
|
348
|
+
*/
|
|
349
|
+
creatureFamilyMedia(creatureFamilyId: number): Promise<CreatureFamilyMedia>;
|
|
350
|
+
/**
|
|
351
|
+
* Returns details about a creature types
|
|
352
|
+
*
|
|
353
|
+
* @param creatureTypeId - The unique identifier for the creature types
|
|
354
|
+
* @returns A promise that resolves to an object representing details about a creature types.
|
|
355
|
+
*/
|
|
356
|
+
creatureType(creatureTypeId: number): Promise<CreatureType>;
|
|
357
|
+
/**
|
|
358
|
+
* Returns an index of creature types.
|
|
359
|
+
*
|
|
360
|
+
* @returns A promise that resolves to an object representing a list of all creature types.
|
|
361
|
+
*/
|
|
362
|
+
creatureTypes(): Promise<CreatureTypes>;
|
|
363
|
+
/**
|
|
364
|
+
* Returns a single guild by its name slug.
|
|
365
|
+
*
|
|
366
|
+
* @param nameSlug - The slug of the guild, e.g. "unbound".
|
|
367
|
+
* @returns A promise that resolves to an object representing the guild.
|
|
368
|
+
*/
|
|
369
|
+
guild(nameSlug: string): Promise<ForeverGuild>;
|
|
370
|
+
/**
|
|
371
|
+
* Returns a guild's achievements.
|
|
372
|
+
*
|
|
373
|
+
* @param nameSlug - The slug of the guild.
|
|
374
|
+
* @returns A promise that resolves to an object representing the guild's achievements.
|
|
375
|
+
*/
|
|
376
|
+
guildAchievements(nameSlug: string): Promise<ForeverGuildAchievements>;
|
|
377
|
+
/**
|
|
378
|
+
* Returns a guild's recent activity.
|
|
379
|
+
*
|
|
380
|
+
* @param nameSlug - The slug of the guild.
|
|
381
|
+
* @returns A promise that resolves to an object representing the guild's activity.
|
|
382
|
+
*/
|
|
383
|
+
guildActivity(nameSlug: string): Promise<ForeverGuildActivity>;
|
|
384
|
+
/**
|
|
385
|
+
* Returns a Guild Crest Border Media
|
|
386
|
+
*
|
|
387
|
+
* @param borderId - The unique identifier for the Covenant
|
|
388
|
+
* @returns A promise that resolves to an object representing details about a Guild Crest Border Media.
|
|
389
|
+
*/
|
|
390
|
+
guildCrestBorder(borderId: number): Promise<GuildCrestBorder>;
|
|
391
|
+
/**
|
|
392
|
+
* Returns a Crest Emblem Media
|
|
393
|
+
*
|
|
394
|
+
* @param emblemId - The unique identifier for the Crest Emblem Media
|
|
395
|
+
* @returns A promise that resolves to an object representing details about a Crest Emblem Media.
|
|
396
|
+
*/
|
|
397
|
+
guildCrestEmblem(emblemId: number): Promise<GuildCrestEmblem>;
|
|
398
|
+
/**
|
|
399
|
+
* Returns the Guild Crest Components Index
|
|
400
|
+
*
|
|
401
|
+
* @returns A promise that resolves to an object representing a list of all Guild Crest Components.
|
|
402
|
+
*/
|
|
403
|
+
guildCrests(): Promise<GuildCrests>;
|
|
404
|
+
/**
|
|
405
|
+
* Returns a guild's roster.
|
|
406
|
+
*
|
|
407
|
+
* @param nameSlug - The slug of the guild.
|
|
408
|
+
* @returns A promise that resolves to an object representing the guild's roster.
|
|
409
|
+
*/
|
|
410
|
+
guildRoster(nameSlug: string): Promise<ForeverGuildRoster>;
|
|
411
|
+
/**
|
|
412
|
+
* Returns a Heirloom
|
|
413
|
+
*
|
|
414
|
+
* @param heirloomId - The unique identifier for the Heirloom
|
|
415
|
+
* @returns A promise that resolves to an object representing details about a Heirloom.
|
|
416
|
+
*/
|
|
417
|
+
heirloom(heirloomId: number): Promise<Heirloom>;
|
|
418
|
+
/**
|
|
419
|
+
* Returns an index of heirlooms.
|
|
420
|
+
*
|
|
421
|
+
* @returns A promise that resolves to an object representing an index of heirlooms.
|
|
422
|
+
*/
|
|
423
|
+
heirlooms(): Promise<ForeverHeirlooms>;
|
|
424
|
+
/**
|
|
425
|
+
* Returns an item by ID.
|
|
426
|
+
*
|
|
427
|
+
* @param itemId - The unique identifier for the item by ID.
|
|
428
|
+
* @returns A promise that resolves to an object representing details about an item by ID.
|
|
429
|
+
*/
|
|
430
|
+
item(itemId: number): Promise<Item>;
|
|
431
|
+
/**
|
|
432
|
+
* Returns an item appearance by ID.
|
|
433
|
+
*
|
|
434
|
+
* @param appearanceId - The unique identifier for the item appearance by ID.
|
|
435
|
+
* @returns A promise that resolves to an object representing details about an item appearance.
|
|
436
|
+
*/
|
|
437
|
+
itemAppearance(appearanceId: number): Promise<ItemAppearance>;
|
|
438
|
+
/**
|
|
439
|
+
* Returns an item appearance set by ID.
|
|
440
|
+
*
|
|
441
|
+
* @param appearanceSetId - The unique identifier for the item appearance set by ID.
|
|
442
|
+
* @returns A promise that resolves to an object representing details about an item appearance set.
|
|
443
|
+
*/
|
|
444
|
+
itemAppearanceSet(appearanceSetId: number): Promise<ItemAppearanceSet>;
|
|
445
|
+
/**
|
|
446
|
+
* Returns a index of item appearance sets.
|
|
447
|
+
*
|
|
448
|
+
* @returns A promise that resolves to an object representing a list of the index of item appearance sets.
|
|
449
|
+
*/
|
|
450
|
+
itemAppearanceSets(): Promise<ItemAppearanceSets>;
|
|
451
|
+
/**
|
|
452
|
+
* Returns an item appearance slot by slot type.
|
|
453
|
+
*
|
|
454
|
+
* @param slotType - The slot type (e.g. "HEAD", "SHOULDER", "BODY").
|
|
455
|
+
* @returns A promise that resolves to an object representing details about an item appearance slot.
|
|
456
|
+
*/
|
|
457
|
+
itemAppearanceSlot(slotType: string): Promise<ItemAppearanceSlot>;
|
|
458
|
+
/**
|
|
459
|
+
* Returns a index of item appearance slots.
|
|
460
|
+
*
|
|
461
|
+
* @returns A promise that resolves to an object representing a list of the index of item appearance slots.
|
|
462
|
+
*/
|
|
463
|
+
itemAppearanceSlots(): Promise<ItemAppearanceSlots>;
|
|
464
|
+
/**
|
|
465
|
+
* Returns an item class by ID.
|
|
466
|
+
*
|
|
467
|
+
* @param itemClassId - The unique identifier for the item class by ID.
|
|
468
|
+
* @returns A promise that resolves to an object representing details about an item class by ID.
|
|
469
|
+
*/
|
|
470
|
+
itemClass(itemClassId: number): Promise<ItemClass>;
|
|
471
|
+
/**
|
|
472
|
+
* Returns an index of item classes.
|
|
473
|
+
*
|
|
474
|
+
* @returns A promise that resolves to an object representing a list of item classes.
|
|
475
|
+
*/
|
|
476
|
+
itemClasses(): Promise<ItemClasses>;
|
|
477
|
+
/**
|
|
478
|
+
* Returns media details about a specific item Id
|
|
479
|
+
*
|
|
480
|
+
* @param itemId - The unique identifier for the item
|
|
481
|
+
* @returns A promise that resolves to an object representing media details about an item.
|
|
482
|
+
*/
|
|
483
|
+
itemMedia(itemId: number): Promise<ItemMedia>;
|
|
484
|
+
/**
|
|
485
|
+
* Returns an item set by ID.
|
|
486
|
+
*
|
|
487
|
+
* @param itemSetId - The unique identifier for the item set by ID.
|
|
488
|
+
* @returns A promise that resolves to an object representing details about an item set by ID.
|
|
489
|
+
*/
|
|
490
|
+
itemSet(itemSetId: number): Promise<ItemSet>;
|
|
491
|
+
/**
|
|
492
|
+
* Returns an index of item sets.
|
|
493
|
+
*
|
|
494
|
+
* @returns A promise that resolves to an object representing a list of item sets.
|
|
495
|
+
*/
|
|
496
|
+
itemSets(): Promise<ItemSets>;
|
|
497
|
+
/**
|
|
498
|
+
* Returns an item subclass by ID.
|
|
499
|
+
*
|
|
500
|
+
* @param itemClassId - The unique identifier for the item class by ID.
|
|
501
|
+
* @param itemSubclassId - The unique identifier for the item subclass by ID.
|
|
502
|
+
* @returns A promise that resolves to an object representing details about an item set by ID.
|
|
503
|
+
*/
|
|
504
|
+
itemSubclass(itemClassId: number, itemSubclassId: number): Promise<ItemSubclass>;
|
|
505
|
+
/**
|
|
506
|
+
* Returns a journal encounter by ID.
|
|
507
|
+
*
|
|
508
|
+
* @param journalEncounterId - The unique identifier for the journal encounter.
|
|
509
|
+
* @returns A promise that resolves to an object representing details about a journal encounter.
|
|
510
|
+
*/
|
|
511
|
+
journalEncounter(journalEncounterId: number): Promise<JournalEncounter>;
|
|
512
|
+
/**
|
|
513
|
+
* Returns an index of journal encounters.
|
|
514
|
+
*
|
|
515
|
+
* @returns A promise that resolves to an object representing an index of journal encounters.
|
|
516
|
+
*/
|
|
517
|
+
journalEncounters(): Promise<ForeverJournalEncounters>;
|
|
518
|
+
/**
|
|
519
|
+
* Returns a journal expansion by ID.
|
|
520
|
+
*
|
|
521
|
+
* @param journalExpansionId - The unique identifier for the journal expansion.
|
|
522
|
+
* @returns A promise that resolves to an object representing details about a journal expansion.
|
|
523
|
+
*/
|
|
524
|
+
journalExpansion(journalExpansionId: number): Promise<JournalExpansion>;
|
|
525
|
+
/**
|
|
526
|
+
* Returns an index of journal expansions.
|
|
527
|
+
*
|
|
528
|
+
* @returns A promise that resolves to an object representing an index of journal expansions.
|
|
529
|
+
*/
|
|
530
|
+
journalExpansions(): Promise<ForeverJournalExpansions>;
|
|
531
|
+
/**
|
|
532
|
+
* Returns a journal instances by ID.
|
|
533
|
+
*
|
|
534
|
+
* @param journalInstanceId - The unique identifier for the journal instances.
|
|
535
|
+
* @returns A promise that resolves to an object representing details about a journal instances.
|
|
536
|
+
*/
|
|
537
|
+
journalInstance(journalInstanceId: number): Promise<JournalInstance>;
|
|
538
|
+
/**
|
|
539
|
+
* Returns media for a journal instance by ID.
|
|
540
|
+
*
|
|
541
|
+
* @param journalInstanceId - The unique identifier for the journal instance
|
|
542
|
+
* @returns A promise that resolves to an object representing media details about a journal instance.
|
|
543
|
+
*/
|
|
544
|
+
journalInstanceMedia(journalInstanceId: number): Promise<JournalInstanceMedia>;
|
|
545
|
+
/**
|
|
546
|
+
* Returns an index of journal instances.
|
|
547
|
+
*
|
|
548
|
+
* @returns A promise that resolves to an object representing an index of journal instances.
|
|
549
|
+
*/
|
|
550
|
+
journalInstances(): Promise<ForeverJournalInstances>;
|
|
551
|
+
/**
|
|
552
|
+
* Returns a mount by ID.
|
|
553
|
+
*
|
|
554
|
+
* @param mountId - The ID of the mount.
|
|
555
|
+
* @returns A promise that resolves to an object representing the mount.
|
|
556
|
+
*/
|
|
557
|
+
mount(mountId: number): Promise<ForeverMount>;
|
|
558
|
+
/**
|
|
559
|
+
* Returns a index of mounts.
|
|
560
|
+
*
|
|
561
|
+
* @returns A promise that resolves to an object representing a list of the index of mounts.
|
|
562
|
+
*/
|
|
563
|
+
mounts(): Promise<Mounts>;
|
|
564
|
+
/**
|
|
565
|
+
* Returns a battle pet by ID.
|
|
566
|
+
*
|
|
567
|
+
* @param petId - The ID of the pet.
|
|
568
|
+
* @returns A promise that resolves to an object representing the battle pet.
|
|
569
|
+
*/
|
|
570
|
+
pet(petId: number): Promise<ForeverPet>;
|
|
571
|
+
/**
|
|
572
|
+
* Returns an index of pet abilities.
|
|
573
|
+
*
|
|
574
|
+
* @returns A promise that resolves to an object representing an index of pet abilities.
|
|
575
|
+
*/
|
|
576
|
+
petAbilities(): Promise<ForeverPetAbilities>;
|
|
577
|
+
/**
|
|
578
|
+
* Returns a pet ability by ID.
|
|
579
|
+
*
|
|
580
|
+
* @param petAbilityId - The unique identifier for the battle pet ability
|
|
581
|
+
* @returns A promise that resolves to an object representing details about a battle pet ability.
|
|
582
|
+
*/
|
|
583
|
+
petAbility(petAbilityId: number): Promise<PetAbility>;
|
|
584
|
+
/**
|
|
585
|
+
* Returns media for a battle pet by ID.
|
|
586
|
+
*
|
|
587
|
+
* @param petAbilityId - The unique identifier for the battle pet
|
|
588
|
+
* @returns A promise that resolves to an object representing media details about a battle pet.
|
|
589
|
+
*/
|
|
590
|
+
petAbilityMedia(petAbilityId: number): Promise<PetAbilityMedia>;
|
|
591
|
+
/**
|
|
592
|
+
* Returns media for a battle pet by ID.
|
|
593
|
+
*
|
|
594
|
+
* @param petId - The unique identifier for the battle pet
|
|
595
|
+
* @returns A promise that resolves to an object representing media details about a battle pet.
|
|
596
|
+
*/
|
|
597
|
+
petMedia(petId: number): Promise<PetMedia>;
|
|
598
|
+
/**
|
|
599
|
+
* Returns an index of battle pets.
|
|
600
|
+
*
|
|
601
|
+
* @returns A promise that resolves to an object representing a list of the index of battle pets.
|
|
602
|
+
*/
|
|
603
|
+
pets(): Promise<Pets>;
|
|
604
|
+
/**
|
|
605
|
+
* Returns a playable class by ID.
|
|
606
|
+
*
|
|
607
|
+
* @param classId - The unique identifier for the playable class
|
|
608
|
+
* @returns A promise that resolves to an object representing details about a playable class.
|
|
609
|
+
*/
|
|
610
|
+
playableClass(classId: number): Promise<PlayableClass>;
|
|
611
|
+
/**
|
|
612
|
+
* Returns an index of playable classes.
|
|
613
|
+
*
|
|
614
|
+
* @returns A promise that resolves to an object representing a list of the index of playable classes.
|
|
615
|
+
*/
|
|
616
|
+
playableClasses(): Promise<PlayableClasses>;
|
|
617
|
+
/**
|
|
618
|
+
* Returns media for a playable class by ID.
|
|
619
|
+
*
|
|
620
|
+
* @param playableClassId - The unique identifier for the playable class
|
|
621
|
+
* @returns A promise that resolves to an object representing media details about a playable class.
|
|
622
|
+
*/
|
|
623
|
+
playableClassMedia(playableClassId: number): Promise<PlayableClassMedia>;
|
|
624
|
+
/**
|
|
625
|
+
* Returns a playable race by ID.
|
|
626
|
+
*
|
|
627
|
+
* @param playableRaceId - The unique identifier for the playable race
|
|
628
|
+
* @returns A promise that resolves to an object representing details about a playable race.
|
|
629
|
+
*/
|
|
630
|
+
playableRace(playableRaceId: number): Promise<PlayableRace>;
|
|
631
|
+
/**
|
|
632
|
+
* Returns an index of playable races.
|
|
633
|
+
*
|
|
634
|
+
* @returns A promise that resolves to an object representing a list of the index of playable races.
|
|
635
|
+
*/
|
|
636
|
+
playableRaces(): Promise<PlayableRaces>;
|
|
637
|
+
/**
|
|
638
|
+
* Returns a playable specialization by ID.
|
|
639
|
+
*
|
|
640
|
+
* @param specId - The ID of the playable specialization.
|
|
641
|
+
* @returns A promise that resolves to an object representing the playable specialization.
|
|
642
|
+
*/
|
|
643
|
+
playableSpecialization(specId: number): Promise<ForeverPlayableSpecialization>;
|
|
644
|
+
/**
|
|
645
|
+
* Returns media for a playable specialization by ID.
|
|
646
|
+
*
|
|
647
|
+
* @param specId - The unique identifier for the playable specialization
|
|
648
|
+
* @returns A promise that resolves to an object representing media details about a playable specialization.
|
|
649
|
+
*/
|
|
650
|
+
playableSpecializationMedia(specId: number): Promise<PlayableSpecializationMedia>;
|
|
651
|
+
/**
|
|
652
|
+
* Returns an index of playable specializations.
|
|
653
|
+
*
|
|
654
|
+
* @returns A promise that resolves to an object representing an index of playable specializations.
|
|
655
|
+
*/
|
|
656
|
+
playableSpecializations(): Promise<ForeverPlayableSpecializations>;
|
|
657
|
+
/**
|
|
658
|
+
* Returns a power type by ID.
|
|
659
|
+
*
|
|
660
|
+
* @param powerTypeId - The unique identifier for the power type.
|
|
661
|
+
* @returns A promise that resolves to an object representing details about a power type.
|
|
662
|
+
*/
|
|
663
|
+
powerType(powerTypeId: number): Promise<PowerType>;
|
|
664
|
+
/**
|
|
665
|
+
* Returns an index of power types.
|
|
666
|
+
*
|
|
667
|
+
* @returns A promise that resolves to an object representing a list of power types.
|
|
668
|
+
*/
|
|
669
|
+
powerTypes(): Promise<PowerTypes>;
|
|
670
|
+
/**
|
|
671
|
+
* Returns a profession by ID.
|
|
672
|
+
*
|
|
673
|
+
* @param professionId - The unique identifier for the profession.
|
|
674
|
+
* @returns A promise that resolves to an object representing details about a profession.
|
|
675
|
+
*/
|
|
676
|
+
profession(professionId: number): Promise<Profession>;
|
|
677
|
+
/**
|
|
678
|
+
* Returns media for a profession by ID.
|
|
679
|
+
*
|
|
680
|
+
* @param professionId - The unique identifier for the profession
|
|
681
|
+
* @returns A promise that resolves to an object representing media details about a profession.
|
|
682
|
+
*/
|
|
683
|
+
professionMedia(professionId: number): Promise<ProfessionMedia>;
|
|
684
|
+
/**
|
|
685
|
+
* Returns a recipe by ID.
|
|
686
|
+
*
|
|
687
|
+
* @param recipeId - The ID of the recipe.
|
|
688
|
+
* @returns A promise that resolves to an object representing the recipe.
|
|
689
|
+
*/
|
|
690
|
+
professionRecipie(recipeId: number): Promise<ForeverProfessionRecipie>;
|
|
691
|
+
/**
|
|
692
|
+
* Returns media for a recipe by ID.
|
|
693
|
+
*
|
|
694
|
+
* @param recipeId - The unique identifier for the recipe
|
|
695
|
+
* @returns A promise that resolves to an object representing media details about a recipe.
|
|
696
|
+
*/
|
|
697
|
+
professionRecipieMedia(recipeId: number): Promise<professionRecipieMedia>;
|
|
698
|
+
/**
|
|
699
|
+
* Returns an index of professions.
|
|
700
|
+
*
|
|
701
|
+
* @returns A promise that resolves to an object representing a list of professions.
|
|
702
|
+
*/
|
|
703
|
+
professions(): Promise<Professions>;
|
|
704
|
+
/**
|
|
705
|
+
* Returns a skill tier for a profession by ID.
|
|
706
|
+
*
|
|
707
|
+
* @param professionId - The unique identifier for the profession
|
|
708
|
+
* @param skillTierId - The unique identifier for the skill tier
|
|
709
|
+
* @returns A promise that resolves to an object representing details about a skill tier.
|
|
710
|
+
*/
|
|
711
|
+
professionSkillTier(professionId: number, skillTierId: number): Promise<ProfessionSkillTier>;
|
|
712
|
+
/**
|
|
713
|
+
* Returns a quest by ID.
|
|
714
|
+
*
|
|
715
|
+
* @param questId - The ID of the quest.
|
|
716
|
+
* @returns A promise that resolves to an object representing the quest.
|
|
717
|
+
*/
|
|
718
|
+
quest(questId: number): Promise<ForeverQuest>;
|
|
719
|
+
/**
|
|
720
|
+
* Returns a quest area by ID.
|
|
721
|
+
*
|
|
722
|
+
* @param questAreaId - The unique identifier for the quest area.
|
|
723
|
+
* @returns A promise that resolves to an object representing details about a quest area.
|
|
724
|
+
*/
|
|
725
|
+
questArea(questAreaId: number): Promise<QuestArea>;
|
|
726
|
+
/**
|
|
727
|
+
* Returns an index of quest areas.
|
|
728
|
+
*
|
|
729
|
+
* @returns A promise that resolves to an object representing a list of quest areas.
|
|
730
|
+
*/
|
|
731
|
+
questAreas(): Promise<QuestAreas>;
|
|
732
|
+
/**
|
|
733
|
+
* Returns an index of quest categories (such as quests for a specific class, profession, or storyline).
|
|
734
|
+
*
|
|
735
|
+
* @returns A promise that resolves to an object representing a list of quest categories.
|
|
736
|
+
*/
|
|
737
|
+
questCategories(): Promise<QuestCategories>;
|
|
738
|
+
/**
|
|
739
|
+
* Returns a quest category by ID.
|
|
740
|
+
*
|
|
741
|
+
* @param questCategoryId - The unique identifier for the quest category.
|
|
742
|
+
* @returns A promise that resolves to an object representing details about a quest category.
|
|
743
|
+
*/
|
|
744
|
+
questCategory(questCategoryId: number): Promise<QuestCategory>;
|
|
745
|
+
/**
|
|
746
|
+
* Returns the parent index for quests.
|
|
747
|
+
*
|
|
748
|
+
* @returns A promise that resolves to an object representing a list of quests.
|
|
749
|
+
*/
|
|
750
|
+
quests(): Promise<Quests>;
|
|
751
|
+
/**
|
|
752
|
+
* Returns a quest type by ID.
|
|
753
|
+
*
|
|
754
|
+
* @param questTypeId - The unique identifier for the quest type.
|
|
755
|
+
* @returns A promise that resolves to an object representing details about a quest type.
|
|
756
|
+
*/
|
|
757
|
+
questType(questTypeId: number): Promise<QuestType>;
|
|
758
|
+
/**
|
|
759
|
+
* Returns an index of quest types (such as PvP quests, raid quests, or account quests).
|
|
760
|
+
*
|
|
761
|
+
* @returns A promise that resolves to an object representing a list of quest types.
|
|
762
|
+
*/
|
|
763
|
+
questTypes(): Promise<QuestTypes>;
|
|
764
|
+
/**
|
|
765
|
+
* Returns a region by ID.
|
|
766
|
+
*
|
|
767
|
+
* @param regionId - The unique identifier for the region.
|
|
768
|
+
* @returns A promise that resolves to an object representing details about a region.
|
|
769
|
+
*/
|
|
770
|
+
region(regionId: number): Promise<Region>;
|
|
771
|
+
/**
|
|
772
|
+
* Returns an index of regions.
|
|
773
|
+
*
|
|
774
|
+
* @returns A promise that resolves to an object representing a list of regions.
|
|
775
|
+
*/
|
|
776
|
+
regions(): Promise<Regions>;
|
|
777
|
+
/**
|
|
778
|
+
* Returns a reputation faction by ID.
|
|
779
|
+
*
|
|
780
|
+
* @param reputationFactionId - The ID of the reputation faction.
|
|
781
|
+
* @returns A promise that resolves to an object representing the reputation faction.
|
|
782
|
+
*/
|
|
783
|
+
reputationFaction(reputationFactionId: string): Promise<ForeverReputationFaction>;
|
|
784
|
+
/**
|
|
785
|
+
* Returns an index of reputation factions.
|
|
786
|
+
*
|
|
787
|
+
* @returns A promise that resolves to an object representing a list of reputation factions.
|
|
788
|
+
*/
|
|
789
|
+
reputationFactions(): Promise<ReputationFactions>;
|
|
790
|
+
/**
|
|
791
|
+
* Returns a single set of reputation tiers by ID.
|
|
792
|
+
*
|
|
793
|
+
* @param reputationTiersId - The unique identifier for the reputation tier.
|
|
794
|
+
* @returns A promise that resolves to an object representing details about a reputation tier.
|
|
795
|
+
*/
|
|
796
|
+
reputationTier(reputationTiersId: string): Promise<ReputationTier>;
|
|
797
|
+
/**
|
|
798
|
+
* Returns an index of reputation tiers.
|
|
799
|
+
*
|
|
800
|
+
* @returns A promise that resolves to an object representing a list of reputation tiers.
|
|
801
|
+
*/
|
|
802
|
+
reputationTiers(): Promise<ReputationTiers>;
|
|
803
|
+
/**
|
|
804
|
+
* Returns a ruleset by ID.
|
|
805
|
+
*
|
|
806
|
+
* @param rulesetId - The ID of the ruleset.
|
|
807
|
+
* @returns A promise that resolves to an object representing the ruleset.
|
|
808
|
+
*/
|
|
809
|
+
ruleset(rulesetId: number): Promise<ForeverRuleset>;
|
|
810
|
+
/**
|
|
811
|
+
* Returns an index of the rulesets in the region.
|
|
812
|
+
*
|
|
813
|
+
* @returns A promise that resolves to an object representing the ruleset index.
|
|
814
|
+
*/
|
|
815
|
+
rulesets(): Promise<ForeverRulesets>;
|
|
816
|
+
/**
|
|
817
|
+
* Performs a search of creatures.
|
|
818
|
+
*
|
|
819
|
+
* @param SearchParameters - Object containing search parameters.
|
|
820
|
+
* @returns A promise that resolves to an object representing details about a creature search.
|
|
821
|
+
*/
|
|
822
|
+
searchCreature(searchParameters: SearchParameters): Promise<Search>;
|
|
823
|
+
/**
|
|
824
|
+
* Performs a search of items.
|
|
825
|
+
*
|
|
826
|
+
* @param SearchParameters - Object containing search parameters.
|
|
827
|
+
* @returns A promise that resolves to an object representing details about an item search.
|
|
828
|
+
*/
|
|
829
|
+
searchItem(searchParameters: SearchParameters): Promise<Search>;
|
|
830
|
+
/**
|
|
831
|
+
* Performs a search of item appearances.
|
|
832
|
+
*
|
|
833
|
+
* @param searchParameters - Search parameters, e.g. `{ _page: 1, orderby: "id" }`.
|
|
834
|
+
* @returns A promise that resolves to an object representing the search results.
|
|
835
|
+
*/
|
|
836
|
+
searchItemAppearance(searchParameters: SearchParameters): Promise<ForeverItemAppearanceSearch>;
|
|
837
|
+
/**
|
|
838
|
+
* Performs a search of journal encounters.
|
|
839
|
+
*
|
|
840
|
+
* @param SearchParameters - Object containing search parameters.
|
|
841
|
+
* @returns A promise that resolves to an object representing details about a journal encounter search.
|
|
842
|
+
*/
|
|
843
|
+
searchJournalEncounter(searchParameters: SearchParameters): Promise<Search>;
|
|
844
|
+
/**
|
|
845
|
+
* Performs a search of media.
|
|
846
|
+
*
|
|
847
|
+
* @param SearchParameters - Object containing search parameters.
|
|
848
|
+
* @returns A promise that resolves to an object representing details about a media search.
|
|
849
|
+
*/
|
|
850
|
+
searchMedia(searchParameters: SearchParameters): Promise<Search>;
|
|
851
|
+
/**
|
|
852
|
+
* Performs a search of mounts.
|
|
853
|
+
*
|
|
854
|
+
* @param searchParameters - Object containing search parameters.
|
|
855
|
+
* @returns A promise that resolves to an object representing details about a mount search.
|
|
856
|
+
*/
|
|
857
|
+
searchMount(searchParameters: SearchParameters): Promise<Search>;
|
|
858
|
+
/**
|
|
859
|
+
* Performs a search of spells.
|
|
860
|
+
*
|
|
861
|
+
* @param SearchParameters - Object containing search parameters.
|
|
862
|
+
* @returns A promise that resolves to an object representing details about a spell search.
|
|
863
|
+
*/
|
|
864
|
+
searchSpell(searchParameters: SearchParameters): Promise<Search>;
|
|
865
|
+
/**
|
|
866
|
+
* Returns a spell by ID.
|
|
867
|
+
*
|
|
868
|
+
* @param spellId - The unique identifier for the spell.
|
|
869
|
+
* @returns A promise that resolves to an object representing details about a spell.
|
|
870
|
+
*/
|
|
871
|
+
spell(spellId: number): Promise<Spell>;
|
|
872
|
+
/**
|
|
873
|
+
* Returns media for a spell by ID.
|
|
874
|
+
*
|
|
875
|
+
* @param spellId - The unique identifier for the spell.
|
|
876
|
+
* @returns A promise that resolves to an object representing details about a spell.
|
|
877
|
+
*/
|
|
878
|
+
spellMedia(spellId: number): Promise<SpellMedia>;
|
|
879
|
+
/**
|
|
880
|
+
* Returns a talent by ID.
|
|
881
|
+
*
|
|
882
|
+
* @param talentId - The unique identifier for the talent.
|
|
883
|
+
* @returns A promise that resolves to an object representing details about the talent.
|
|
884
|
+
*/
|
|
885
|
+
talent(talentId: number): Promise<Talent>;
|
|
886
|
+
/**
|
|
887
|
+
* Returns an index of talents.
|
|
888
|
+
*
|
|
889
|
+
* @returns A promise that resolves to an object representing a list of talents.
|
|
890
|
+
*/
|
|
891
|
+
talents(): Promise<Talents>;
|
|
892
|
+
/**
|
|
893
|
+
* Returns a talent tree by specialization ID.
|
|
894
|
+
*
|
|
895
|
+
* @param talentTreeId - The unique identifier for the talent tree.
|
|
896
|
+
* @param specId - The unique identifier for the specialization.
|
|
897
|
+
* @returns A promise that resolves to an object representing details about a talent tree.
|
|
898
|
+
*/
|
|
899
|
+
talentTree(talentTreeId: number, specId: number): Promise<ForeverTalentTree>;
|
|
900
|
+
/**
|
|
901
|
+
* Returns all talent tree nodes as well as links to associated playable specializations given a talent tree id. This is useful to generate loadout export codes.
|
|
902
|
+
*
|
|
903
|
+
* @param talentTreeId - The unique identifier for the talent tree.
|
|
904
|
+
* @returns A promise that resolves to an object representing details about the talent tree nodes.
|
|
905
|
+
*/
|
|
906
|
+
talentTreeNodes(talentTreeId: number): Promise<TalentTreeNodes>;
|
|
907
|
+
/**
|
|
908
|
+
* Returns an index of talent trees.
|
|
909
|
+
*
|
|
910
|
+
* @returns A promise that resolves to an object representing an index of talent trees.
|
|
911
|
+
*/
|
|
912
|
+
talentTrees(): Promise<ForeverTalentTrees>;
|
|
913
|
+
/**
|
|
914
|
+
* Returns a title by ID.
|
|
915
|
+
*
|
|
916
|
+
* @param titleId - The ID of the title.
|
|
917
|
+
* @returns A promise that resolves to an object representing the title.
|
|
918
|
+
*/
|
|
919
|
+
title(titleId: number): Promise<ForeverTitle>;
|
|
920
|
+
/**
|
|
921
|
+
* Returns an index of titles.
|
|
922
|
+
*
|
|
923
|
+
* @returns A promise that resolves to an object representing a list of titles.
|
|
924
|
+
*/
|
|
925
|
+
titles(): Promise<Titles>;
|
|
926
|
+
/**
|
|
927
|
+
* Returns a toy by id.
|
|
928
|
+
*
|
|
929
|
+
* @param toyId - The unique identifier for the toy.
|
|
930
|
+
* @returns A promise that resolves to an object representing details about a toy.
|
|
931
|
+
*/
|
|
932
|
+
toy(toyId: number): Promise<Toy>;
|
|
933
|
+
/**
|
|
934
|
+
* Returns an index of toys.
|
|
935
|
+
*
|
|
936
|
+
* @returns A promise that resolves to an object representing a list of toys.
|
|
937
|
+
*/
|
|
938
|
+
toys(): Promise<Toys>;
|
|
939
|
+
}
|