@pinta365/blizzard_api 0.3.7 → 0.4.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/esm/mod.d.ts +3 -2
- package/esm/mod.js +3 -2
- package/package.json +1 -1
- package/script/mod.d.ts +3 -2
- package/script/mod.js +6 -1
- package/esm/src/hearthstone/game_data/card_backs.d.ts +0 -22
- package/esm/src/hearthstone/game_data/card_backs.js +0 -23
- package/esm/src/hearthstone/game_data/cards.d.ts +0 -37
- package/esm/src/hearthstone/game_data/cards.js +0 -27
- package/esm/src/hearthstone/game_data/decks.d.ts +0 -88
- package/esm/src/hearthstone/game_data/decks.js +0 -14
- package/esm/src/hearthstone/game_data/metadata.d.ts +0 -95
- package/esm/src/hearthstone/game_data/metadata.js +0 -12
- package/esm/src/hearthstone/index.d.ts +0 -4
- package/esm/src/hearthstone/index.js +0 -4
- package/esm/src/hearthstone/search.d.ts +0 -20
- package/esm/src/hearthstone/search.js +0 -29
- package/esm/src/shared/auth.d.ts +0 -24
- package/esm/src/shared/auth.js +0 -58
- package/esm/src/shared/config.d.ts +0 -40
- package/esm/src/shared/config.js +0 -48
- package/esm/src/shared/errors.d.ts +0 -44
- package/esm/src/shared/errors.js +0 -83
- package/esm/src/shared/index.d.ts +0 -4
- package/esm/src/shared/index.js +0 -3
- package/esm/src/shared/request.d.ts +0 -13
- package/esm/src/shared/request.js +0 -46
- package/esm/src/shared/types.d.ts +0 -120
- package/esm/src/shared/types.js +0 -2
- package/esm/src/starcraft2/game_data/league.d.ts +0 -32
- package/esm/src/starcraft2/game_data/league.js +0 -21
- package/esm/src/starcraft2/index.d.ts +0 -1
- package/esm/src/starcraft2/index.js +0 -1
- package/esm/src/wow/game_data/achievement.d.ts +0 -84
- package/esm/src/wow/game_data/achievement.js +0 -69
- package/esm/src/wow/game_data/auction_house.d.ts +0 -64
- package/esm/src/wow/game_data/auction_house.js +0 -34
- package/esm/src/wow/game_data/azerite_essence.d.ts +0 -49
- package/esm/src/wow/game_data/azerite_essence.js +0 -49
- package/esm/src/wow/game_data/connected_realm.d.ts +0 -54
- package/esm/src/wow/game_data/connected_realm.js +0 -36
- package/esm/src/wow/game_data/covenant.d.ts +0 -108
- package/esm/src/wow/game_data/covenant.js +0 -89
- package/esm/src/wow/game_data/creature.d.ts +0 -97
- package/esm/src/wow/game_data/creature.js +0 -100
- package/esm/src/wow/game_data/guild_crest.d.ts +0 -55
- package/esm/src/wow/game_data/guild_crest.js +0 -39
- package/esm/src/wow/game_data/heirloom.d.ts +0 -79
- package/esm/src/wow/game_data/heirloom.js +0 -26
- package/esm/src/wow/game_data/item.d.ts +0 -166
- package/esm/src/wow/game_data/item.js +0 -101
- package/esm/src/wow/game_data/journal.d.ts +0 -121
- package/esm/src/wow/game_data/journal.js +0 -99
- package/esm/src/wow/game_data/keystone_affix.d.ts +0 -34
- package/esm/src/wow/game_data/keystone_affix.js +0 -39
- package/esm/src/wow/game_data/media_search.d.ts +0 -8
- package/esm/src/wow/game_data/media_search.js +0 -10
- package/esm/src/wow/game_data/modified_crafting.d.ts +0 -56
- package/esm/src/wow/game_data/modified_crafting.js +0 -63
- package/esm/src/wow/game_data/mount.d.ts +0 -30
- package/esm/src/wow/game_data/mount.js +0 -30
- package/esm/src/wow/game_data/mythic_keystone_dungeon.d.ts +0 -91
- package/esm/src/wow/game_data/mythic_keystone_dungeon.js +0 -88
- package/esm/src/wow/game_data/mythic_keystone_leaderboard.d.ts +0 -58
- package/esm/src/wow/game_data/mythic_keystone_leaderboard.js +0 -29
- package/esm/src/wow/game_data/mythic_raid_leaderboard.d.ts +0 -31
- package/esm/src/wow/game_data/mythic_raid_leaderboard.js +0 -15
- package/esm/src/wow/game_data/pet.d.ts +0 -91
- package/esm/src/wow/game_data/pet.js +0 -77
- package/esm/src/wow/game_data/playable_class.d.ts +0 -57
- package/esm/src/wow/game_data/playable_class.js +0 -52
- package/esm/src/wow/game_data/playable_race.d.ts +0 -29
- package/esm/src/wow/game_data/playable_race.js +0 -26
- package/esm/src/wow/game_data/power_type.d.ts +0 -21
- package/esm/src/wow/game_data/power_type.js +0 -26
- package/esm/src/wow/game_data/profession.d.ts +0 -85
- package/esm/src/wow/game_data/profession.js +0 -79
- package/esm/src/wow/game_data/pvp_season.d.ts +0 -99
- package/esm/src/wow/game_data/pvp_season.js +0 -66
- package/esm/src/wow/game_data/pvp_tier.d.ts +0 -40
- package/esm/src/wow/game_data/pvp_tier.js +0 -39
- package/esm/src/wow/game_data/quest.d.ts +0 -114
- package/esm/src/wow/game_data/quest.js +0 -101
- package/esm/src/wow/game_data/realm.d.ts +0 -42
- package/esm/src/wow/game_data/realm.js +0 -36
- package/esm/src/wow/game_data/region.d.ts +0 -24
- package/esm/src/wow/game_data/region.js +0 -26
- package/esm/src/wow/game_data/reputations.d.ts +0 -50
- package/esm/src/wow/game_data/reputations.js +0 -51
- package/esm/src/wow/game_data/spell.d.ts +0 -33
- package/esm/src/wow/game_data/spell.js +0 -37
- package/esm/src/wow/game_data/talent.d.ts +0 -129
- package/esm/src/wow/game_data/talent.js +0 -90
- package/esm/src/wow/game_data/tech_talent.d.ts +0 -70
- package/esm/src/wow/game_data/tech_talent.js +0 -64
- package/esm/src/wow/game_data/title.d.ts +0 -25
- package/esm/src/wow/game_data/title.js +0 -26
- package/esm/src/wow/game_data/token.d.ts +0 -16
- package/esm/src/wow/game_data/token.js +0 -19
- package/esm/src/wow/game_data/toy.d.ts +0 -24
- package/esm/src/wow/game_data/toy.js +0 -26
- package/esm/src/wow/index.d.ts +0 -53
- package/esm/src/wow/index.js +0 -55
- package/esm/src/wow/profile/character_achievements.d.ts +0 -87
- package/esm/src/wow/profile/character_achievements.js +0 -29
- package/esm/src/wow/profile/character_appearance.d.ts +0 -75
- package/esm/src/wow/profile/character_appearance.js +0 -15
- package/esm/src/wow/profile/character_collections.d.ts +0 -92
- package/esm/src/wow/profile/character_collections.js +0 -71
- package/esm/src/wow/profile/character_encounters.d.ts +0 -77
- package/esm/src/wow/profile/character_encounters.js +0 -43
- package/esm/src/wow/profile/character_equipment.d.ts +0 -132
- package/esm/src/wow/profile/character_equipment.js +0 -15
- package/esm/src/wow/profile/character_hunter_pets.d.ts +0 -21
- package/esm/src/wow/profile/character_hunter_pets.js +0 -15
- package/esm/src/wow/profile/character_media.d.ts +0 -13
- package/esm/src/wow/profile/character_media.js +0 -15
- package/esm/src/wow/profile/character_mythic_keystone_profile.d.ts +0 -58
- package/esm/src/wow/profile/character_mythic_keystone_profile.js +0 -32
- package/esm/src/wow/profile/character_professions.d.ts +0 -26
- package/esm/src/wow/profile/character_professions.js +0 -15
- package/esm/src/wow/profile/character_profile.d.ts +0 -82
- package/esm/src/wow/profile/character_profile.js +0 -40
- package/esm/src/wow/profile/character_pvp.d.ts +0 -51
- package/esm/src/wow/profile/character_pvp.js +0 -30
- package/esm/src/wow/profile/character_quests.d.ts +0 -28
- package/esm/src/wow/profile/character_quests.js +0 -29
- package/esm/src/wow/profile/character_reputations.d.ts +0 -22
- package/esm/src/wow/profile/character_reputations.js +0 -15
- package/esm/src/wow/profile/character_soulbinds.d.ts +0 -30
- package/esm/src/wow/profile/character_soulbinds.js +0 -15
- package/esm/src/wow/profile/character_specializations.d.ts +0 -44
- package/esm/src/wow/profile/character_specializations.js +0 -15
- package/esm/src/wow/profile/character_statistics.d.ts +0 -116
- package/esm/src/wow/profile/character_statistics.js +0 -15
- package/esm/src/wow/profile/character_titles.d.ts +0 -13
- package/esm/src/wow/profile/character_titles.js +0 -15
- package/esm/src/wow/profile/guild.d.ts +0 -117
- package/esm/src/wow/profile/guild.js +0 -57
- package/esm/src/wow/search.d.ts +0 -21
- package/esm/src/wow/search.js +0 -30
- package/script/src/hearthstone/game_data/card_backs.d.ts +0 -22
- package/script/src/hearthstone/game_data/card_backs.js +0 -28
- package/script/src/hearthstone/game_data/cards.d.ts +0 -37
- package/script/src/hearthstone/game_data/cards.js +0 -32
- package/script/src/hearthstone/game_data/decks.d.ts +0 -88
- package/script/src/hearthstone/game_data/decks.js +0 -18
- package/script/src/hearthstone/game_data/metadata.d.ts +0 -95
- package/script/src/hearthstone/game_data/metadata.js +0 -16
- package/script/src/hearthstone/index.d.ts +0 -4
- package/script/src/hearthstone/index.js +0 -13
- package/script/src/hearthstone/search.d.ts +0 -20
- package/script/src/hearthstone/search.js +0 -33
- package/script/src/shared/auth.d.ts +0 -24
- package/script/src/shared/auth.js +0 -63
- package/script/src/shared/config.d.ts +0 -40
- package/script/src/shared/config.js +0 -55
- package/script/src/shared/errors.d.ts +0 -44
- package/script/src/shared/errors.js +0 -91
- package/script/src/shared/index.d.ts +0 -4
- package/script/src/shared/index.js +0 -9
- package/script/src/shared/request.d.ts +0 -13
- package/script/src/shared/request.js +0 -50
- package/script/src/shared/types.d.ts +0 -120
- package/script/src/shared/types.js +0 -3
- package/script/src/starcraft2/game_data/league.d.ts +0 -32
- package/script/src/starcraft2/game_data/league.js +0 -25
- package/script/src/starcraft2/index.d.ts +0 -1
- package/script/src/starcraft2/index.js +0 -5
- package/script/src/wow/game_data/achievement.d.ts +0 -84
- package/script/src/wow/game_data/achievement.js +0 -77
- package/script/src/wow/game_data/auction_house.d.ts +0 -64
- package/script/src/wow/game_data/auction_house.js +0 -39
- package/script/src/wow/game_data/azerite_essence.d.ts +0 -49
- package/script/src/wow/game_data/azerite_essence.js +0 -56
- package/script/src/wow/game_data/connected_realm.d.ts +0 -54
- package/script/src/wow/game_data/connected_realm.js +0 -42
- package/script/src/wow/game_data/covenant.d.ts +0 -108
- package/script/src/wow/game_data/covenant.js +0 -99
- package/script/src/wow/game_data/creature.d.ts +0 -97
- package/script/src/wow/game_data/creature.js +0 -111
- package/script/src/wow/game_data/guild_crest.d.ts +0 -55
- package/script/src/wow/game_data/guild_crest.js +0 -45
- package/script/src/wow/game_data/heirloom.d.ts +0 -79
- package/script/src/wow/game_data/heirloom.js +0 -31
- package/script/src/wow/game_data/item.d.ts +0 -166
- package/script/src/wow/game_data/item.js +0 -112
- package/script/src/wow/game_data/journal.d.ts +0 -121
- package/script/src/wow/game_data/journal.js +0 -110
- package/script/src/wow/game_data/keystone_affix.d.ts +0 -34
- package/script/src/wow/game_data/keystone_affix.js +0 -45
- package/script/src/wow/game_data/media_search.d.ts +0 -8
- package/script/src/wow/game_data/media_search.js +0 -14
- package/script/src/wow/game_data/modified_crafting.d.ts +0 -56
- package/script/src/wow/game_data/modified_crafting.js +0 -71
- package/script/src/wow/game_data/mount.d.ts +0 -30
- package/script/src/wow/game_data/mount.js +0 -36
- package/script/src/wow/game_data/mythic_keystone_dungeon.d.ts +0 -91
- package/script/src/wow/game_data/mythic_keystone_dungeon.js +0 -98
- package/script/src/wow/game_data/mythic_keystone_leaderboard.d.ts +0 -58
- package/script/src/wow/game_data/mythic_keystone_leaderboard.js +0 -34
- package/script/src/wow/game_data/mythic_raid_leaderboard.d.ts +0 -31
- package/script/src/wow/game_data/mythic_raid_leaderboard.js +0 -19
- package/script/src/wow/game_data/pet.d.ts +0 -91
- package/script/src/wow/game_data/pet.js +0 -86
- package/script/src/wow/game_data/playable_class.d.ts +0 -57
- package/script/src/wow/game_data/playable_class.js +0 -59
- package/script/src/wow/game_data/playable_race.d.ts +0 -29
- package/script/src/wow/game_data/playable_race.js +0 -31
- package/script/src/wow/game_data/power_type.d.ts +0 -21
- package/script/src/wow/game_data/power_type.js +0 -31
- package/script/src/wow/game_data/profession.d.ts +0 -85
- package/script/src/wow/game_data/profession.js +0 -88
- package/script/src/wow/game_data/pvp_season.d.ts +0 -99
- package/script/src/wow/game_data/pvp_season.js +0 -74
- package/script/src/wow/game_data/pvp_tier.d.ts +0 -40
- package/script/src/wow/game_data/pvp_tier.js +0 -45
- package/script/src/wow/game_data/quest.d.ts +0 -114
- package/script/src/wow/game_data/quest.js +0 -112
- package/script/src/wow/game_data/realm.d.ts +0 -42
- package/script/src/wow/game_data/realm.js +0 -42
- package/script/src/wow/game_data/region.d.ts +0 -24
- package/script/src/wow/game_data/region.js +0 -31
- package/script/src/wow/game_data/reputations.d.ts +0 -50
- package/script/src/wow/game_data/reputations.js +0 -58
- package/script/src/wow/game_data/spell.d.ts +0 -33
- package/script/src/wow/game_data/spell.js +0 -43
- package/script/src/wow/game_data/talent.d.ts +0 -129
- package/script/src/wow/game_data/talent.js +0 -100
- package/script/src/wow/game_data/tech_talent.d.ts +0 -70
- package/script/src/wow/game_data/tech_talent.js +0 -72
- package/script/src/wow/game_data/title.d.ts +0 -25
- package/script/src/wow/game_data/title.js +0 -31
- package/script/src/wow/game_data/token.d.ts +0 -16
- package/script/src/wow/game_data/token.js +0 -23
- package/script/src/wow/game_data/toy.d.ts +0 -24
- package/script/src/wow/game_data/toy.js +0 -31
- package/script/src/wow/index.d.ts +0 -53
- package/script/src/wow/index.js +0 -228
- package/script/src/wow/profile/character_achievements.d.ts +0 -87
- package/script/src/wow/profile/character_achievements.js +0 -34
- package/script/src/wow/profile/character_appearance.d.ts +0 -75
- package/script/src/wow/profile/character_appearance.js +0 -19
- package/script/src/wow/profile/character_collections.d.ts +0 -92
- package/script/src/wow/profile/character_collections.js +0 -79
- package/script/src/wow/profile/character_encounters.d.ts +0 -77
- package/script/src/wow/profile/character_encounters.js +0 -49
- package/script/src/wow/profile/character_equipment.d.ts +0 -132
- package/script/src/wow/profile/character_equipment.js +0 -19
- package/script/src/wow/profile/character_hunter_pets.d.ts +0 -21
- package/script/src/wow/profile/character_hunter_pets.js +0 -19
- package/script/src/wow/profile/character_media.d.ts +0 -13
- package/script/src/wow/profile/character_media.js +0 -19
- package/script/src/wow/profile/character_mythic_keystone_profile.d.ts +0 -58
- package/script/src/wow/profile/character_mythic_keystone_profile.js +0 -37
- package/script/src/wow/profile/character_professions.d.ts +0 -26
- package/script/src/wow/profile/character_professions.js +0 -19
- package/script/src/wow/profile/character_profile.d.ts +0 -82
- package/script/src/wow/profile/character_profile.js +0 -45
- package/script/src/wow/profile/character_pvp.d.ts +0 -51
- package/script/src/wow/profile/character_pvp.js +0 -35
- package/script/src/wow/profile/character_quests.d.ts +0 -28
- package/script/src/wow/profile/character_quests.js +0 -34
- package/script/src/wow/profile/character_reputations.d.ts +0 -22
- package/script/src/wow/profile/character_reputations.js +0 -19
- package/script/src/wow/profile/character_soulbinds.d.ts +0 -30
- package/script/src/wow/profile/character_soulbinds.js +0 -19
- package/script/src/wow/profile/character_specializations.d.ts +0 -44
- package/script/src/wow/profile/character_specializations.js +0 -19
- package/script/src/wow/profile/character_statistics.d.ts +0 -116
- package/script/src/wow/profile/character_statistics.js +0 -19
- package/script/src/wow/profile/character_titles.d.ts +0 -13
- package/script/src/wow/profile/character_titles.js +0 -19
- package/script/src/wow/profile/guild.d.ts +0 -117
- package/script/src/wow/profile/guild.js +0 -64
- package/script/src/wow/search.d.ts +0 -21
- package/script/src/wow/search.js +0 -34
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import type { KeyNameId, LinkSelfHref, LocalizedString, TypeName } from "../../shared/index.js";
|
|
2
|
-
export interface Quests extends LinkSelfHref {
|
|
3
|
-
categories: {
|
|
4
|
-
href: string;
|
|
5
|
-
};
|
|
6
|
-
areas: {
|
|
7
|
-
href: string;
|
|
8
|
-
};
|
|
9
|
-
types: {
|
|
10
|
-
href: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface Quest extends LinkSelfHref {
|
|
14
|
-
id: number;
|
|
15
|
-
title: LocalizedString;
|
|
16
|
-
area: KeyNameId;
|
|
17
|
-
description: LocalizedString;
|
|
18
|
-
requirements: {
|
|
19
|
-
min_character_level: number;
|
|
20
|
-
max_character_level: number;
|
|
21
|
-
faction: TypeName;
|
|
22
|
-
};
|
|
23
|
-
rewards: {
|
|
24
|
-
experience: number;
|
|
25
|
-
reputations: {
|
|
26
|
-
reward: KeyNameId;
|
|
27
|
-
value: number;
|
|
28
|
-
}[];
|
|
29
|
-
money: {
|
|
30
|
-
value: number;
|
|
31
|
-
units: {
|
|
32
|
-
gold: number;
|
|
33
|
-
silver: number;
|
|
34
|
-
copper: number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export interface QuestCategories extends LinkSelfHref {
|
|
40
|
-
categories: KeyNameId[];
|
|
41
|
-
}
|
|
42
|
-
export interface QuestCategory extends LinkSelfHref {
|
|
43
|
-
id: number;
|
|
44
|
-
category: LocalizedString;
|
|
45
|
-
quests: KeyNameId[];
|
|
46
|
-
}
|
|
47
|
-
export interface QuestAreas extends LinkSelfHref {
|
|
48
|
-
areas: KeyNameId[];
|
|
49
|
-
}
|
|
50
|
-
export interface QuestArea extends LinkSelfHref {
|
|
51
|
-
id: number;
|
|
52
|
-
area: LocalizedString;
|
|
53
|
-
quests: KeyNameId[];
|
|
54
|
-
}
|
|
55
|
-
export interface QuestTypes extends LinkSelfHref {
|
|
56
|
-
types: KeyNameId[];
|
|
57
|
-
}
|
|
58
|
-
export interface QuestType extends LinkSelfHref {
|
|
59
|
-
id: number;
|
|
60
|
-
type: LocalizedString;
|
|
61
|
-
quests: KeyNameId[];
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Returns the parent index for quests.
|
|
65
|
-
*
|
|
66
|
-
* @returns A promise that resolves to an object representing a list of quests.
|
|
67
|
-
*/
|
|
68
|
-
export declare function quests(): Promise<Quests>;
|
|
69
|
-
/**
|
|
70
|
-
* Returns a quest by ID.
|
|
71
|
-
*
|
|
72
|
-
* @param questId - The unique identifier for the quest.
|
|
73
|
-
* @returns A promise that resolves to an object representing details about a quest.
|
|
74
|
-
*/
|
|
75
|
-
export declare function quest(questId: number): Promise<Quest>;
|
|
76
|
-
/**
|
|
77
|
-
* Returns an index of quest categories (such as quests for a specific class, profession, or storyline).
|
|
78
|
-
*
|
|
79
|
-
* @returns A promise that resolves to an object representing a list of quest categories.
|
|
80
|
-
*/
|
|
81
|
-
export declare function questCategories(): Promise<QuestCategories>;
|
|
82
|
-
/**
|
|
83
|
-
* Returns a quest category by ID.
|
|
84
|
-
*
|
|
85
|
-
* @param questCategoryId - The unique identifier for the quest category.
|
|
86
|
-
* @returns A promise that resolves to an object representing details about a quest category.
|
|
87
|
-
*/
|
|
88
|
-
export declare function questCategory(questCategoryId: number): Promise<QuestCategory>;
|
|
89
|
-
/**
|
|
90
|
-
* Returns an index of quest areas.
|
|
91
|
-
*
|
|
92
|
-
* @returns A promise that resolves to an object representing a list of quest areas.
|
|
93
|
-
*/
|
|
94
|
-
export declare function questAreas(): Promise<QuestAreas>;
|
|
95
|
-
/**
|
|
96
|
-
* Returns a quest area by ID.
|
|
97
|
-
*
|
|
98
|
-
* @param questAreaId - The unique identifier for the quest area.
|
|
99
|
-
* @returns A promise that resolves to an object representing details about a quest area.
|
|
100
|
-
*/
|
|
101
|
-
export declare function questArea(questAreaId: number): Promise<QuestArea>;
|
|
102
|
-
/**
|
|
103
|
-
* Returns an index of quest types (such as PvP quests, raid quests, or account quests).
|
|
104
|
-
*
|
|
105
|
-
* @returns A promise that resolves to an object representing a list of quest types.
|
|
106
|
-
*/
|
|
107
|
-
export declare function questTypes(): Promise<QuestTypes>;
|
|
108
|
-
/**
|
|
109
|
-
* Returns a quest type by ID.
|
|
110
|
-
*
|
|
111
|
-
* @param questTypeId - The unique identifier for the quest type.
|
|
112
|
-
* @returns A promise that resolves to an object representing details about a quest type.
|
|
113
|
-
*/
|
|
114
|
-
export declare function questType(questTypeId: number): Promise<QuestType>;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns the parent index for quests.
|
|
4
|
-
*
|
|
5
|
-
* @returns A promise that resolves to an object representing a list of quests.
|
|
6
|
-
*/
|
|
7
|
-
export async function quests() {
|
|
8
|
-
return await request({
|
|
9
|
-
method: "GET",
|
|
10
|
-
url: "/data/wow/quest/index",
|
|
11
|
-
namespace: "static",
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Returns a quest by ID.
|
|
16
|
-
*
|
|
17
|
-
* @param questId - The unique identifier for the quest.
|
|
18
|
-
* @returns A promise that resolves to an object representing details about a quest.
|
|
19
|
-
*/
|
|
20
|
-
export async function quest(questId) {
|
|
21
|
-
return await request({
|
|
22
|
-
method: "GET",
|
|
23
|
-
url: `/data/wow/quest/${questId}`,
|
|
24
|
-
namespace: "static",
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Returns an index of quest categories (such as quests for a specific class, profession, or storyline).
|
|
29
|
-
*
|
|
30
|
-
* @returns A promise that resolves to an object representing a list of quest categories.
|
|
31
|
-
*/
|
|
32
|
-
export async function questCategories() {
|
|
33
|
-
return await request({
|
|
34
|
-
method: "GET",
|
|
35
|
-
url: "/data/wow/quest/category/index",
|
|
36
|
-
namespace: "static",
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Returns a quest category by ID.
|
|
41
|
-
*
|
|
42
|
-
* @param questCategoryId - The unique identifier for the quest category.
|
|
43
|
-
* @returns A promise that resolves to an object representing details about a quest category.
|
|
44
|
-
*/
|
|
45
|
-
export async function questCategory(questCategoryId) {
|
|
46
|
-
return await request({
|
|
47
|
-
method: "GET",
|
|
48
|
-
url: `/data/wow/quest/category/${questCategoryId}`,
|
|
49
|
-
namespace: "static",
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Returns an index of quest areas.
|
|
54
|
-
*
|
|
55
|
-
* @returns A promise that resolves to an object representing a list of quest areas.
|
|
56
|
-
*/
|
|
57
|
-
export async function questAreas() {
|
|
58
|
-
return await request({
|
|
59
|
-
method: "GET",
|
|
60
|
-
url: "/data/wow/quest/area/index",
|
|
61
|
-
namespace: "static",
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Returns a quest area by ID.
|
|
66
|
-
*
|
|
67
|
-
* @param questAreaId - The unique identifier for the quest area.
|
|
68
|
-
* @returns A promise that resolves to an object representing details about a quest area.
|
|
69
|
-
*/
|
|
70
|
-
export async function questArea(questAreaId) {
|
|
71
|
-
return await request({
|
|
72
|
-
method: "GET",
|
|
73
|
-
url: `/data/wow/quest/area/${questAreaId}`,
|
|
74
|
-
namespace: "static",
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Returns an index of quest types (such as PvP quests, raid quests, or account quests).
|
|
79
|
-
*
|
|
80
|
-
* @returns A promise that resolves to an object representing a list of quest types.
|
|
81
|
-
*/
|
|
82
|
-
export async function questTypes() {
|
|
83
|
-
return await request({
|
|
84
|
-
method: "GET",
|
|
85
|
-
url: "/data/wow/quest/type/index",
|
|
86
|
-
namespace: "static",
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Returns a quest type by ID.
|
|
91
|
-
*
|
|
92
|
-
* @param questTypeId - The unique identifier for the quest type.
|
|
93
|
-
* @returns A promise that resolves to an object representing details about a quest type.
|
|
94
|
-
*/
|
|
95
|
-
export async function questType(questTypeId) {
|
|
96
|
-
return await request({
|
|
97
|
-
method: "GET",
|
|
98
|
-
url: `/data/wow/quest/type/${questTypeId}`,
|
|
99
|
-
namespace: "static",
|
|
100
|
-
});
|
|
101
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { KeyName, KeyNameId, LinkSelfHref, LocalizedString, TypeName } from "../../shared/index.js";
|
|
2
|
-
import type { Search, SearchParameters } from "../search.js";
|
|
3
|
-
export interface RealmList extends KeyNameId {
|
|
4
|
-
slug: string;
|
|
5
|
-
}
|
|
6
|
-
export interface Realms extends LinkSelfHref {
|
|
7
|
-
realms: RealmList[];
|
|
8
|
-
}
|
|
9
|
-
export interface Realm extends LinkSelfHref {
|
|
10
|
-
id: number;
|
|
11
|
-
region: KeyName;
|
|
12
|
-
connected_realm: {
|
|
13
|
-
href: string;
|
|
14
|
-
};
|
|
15
|
-
name: LocalizedString;
|
|
16
|
-
category: LocalizedString;
|
|
17
|
-
locale: string;
|
|
18
|
-
timezone: string;
|
|
19
|
-
type: TypeName;
|
|
20
|
-
is_tournament: boolean;
|
|
21
|
-
slug: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Returns an index of realms.
|
|
25
|
-
*
|
|
26
|
-
* @returns A promise that resolves to an object representing a list of realms.
|
|
27
|
-
*/
|
|
28
|
-
export declare function realms(): Promise<Realms>;
|
|
29
|
-
/**
|
|
30
|
-
* Returns a single realm by slug or ID.
|
|
31
|
-
*
|
|
32
|
-
* @param realmSlug - The unique identifier for the realm.
|
|
33
|
-
* @returns A promise that resolves to an object representing details about a realm.
|
|
34
|
-
*/
|
|
35
|
-
export declare function realm(realmSlug: string): Promise<Realm>;
|
|
36
|
-
/**
|
|
37
|
-
* Performs a search of realms.
|
|
38
|
-
*
|
|
39
|
-
* @param SearchParameters - Object containing search parameters.
|
|
40
|
-
* @returns A promise that resolves to an object representing details about a realm search.
|
|
41
|
-
*/
|
|
42
|
-
export declare function searchRealm(searchParameters: SearchParameters): Promise<Search>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
import { search } from "../search.js";
|
|
3
|
-
/**
|
|
4
|
-
* Returns an index of realms.
|
|
5
|
-
*
|
|
6
|
-
* @returns A promise that resolves to an object representing a list of realms.
|
|
7
|
-
*/
|
|
8
|
-
export async function realms() {
|
|
9
|
-
return await request({
|
|
10
|
-
method: "GET",
|
|
11
|
-
url: "/data/wow/realm/index",
|
|
12
|
-
namespace: "dynamic",
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Returns a single realm by slug or ID.
|
|
17
|
-
*
|
|
18
|
-
* @param realmSlug - The unique identifier for the realm.
|
|
19
|
-
* @returns A promise that resolves to an object representing details about a realm.
|
|
20
|
-
*/
|
|
21
|
-
export async function realm(realmSlug) {
|
|
22
|
-
return await request({
|
|
23
|
-
method: "GET",
|
|
24
|
-
url: `/data/wow/realm/${realmSlug}`,
|
|
25
|
-
namespace: "dynamic",
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Performs a search of realms.
|
|
30
|
-
*
|
|
31
|
-
* @param SearchParameters - Object containing search parameters.
|
|
32
|
-
* @returns A promise that resolves to an object representing details about a realm search.
|
|
33
|
-
*/
|
|
34
|
-
export async function searchRealm(searchParameters) {
|
|
35
|
-
return await search("/realm", "dynamic", searchParameters);
|
|
36
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
export interface Regions extends LinkSelfHref {
|
|
3
|
-
regions: {
|
|
4
|
-
href: string;
|
|
5
|
-
}[];
|
|
6
|
-
}
|
|
7
|
-
export interface Region extends LinkSelfHref {
|
|
8
|
-
id: number;
|
|
9
|
-
name: LocalizedString;
|
|
10
|
-
tag: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Returns an index of regions.
|
|
14
|
-
*
|
|
15
|
-
* @returns A promise that resolves to an object representing a list of regions.
|
|
16
|
-
*/
|
|
17
|
-
export declare function regions(): Promise<Regions>;
|
|
18
|
-
/**
|
|
19
|
-
* Returns a region by ID.
|
|
20
|
-
*
|
|
21
|
-
* @param regionId - The unique identifier for the region.
|
|
22
|
-
* @returns A promise that resolves to an object representing details about a region.
|
|
23
|
-
*/
|
|
24
|
-
export declare function region(regionId: number): Promise<Region>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns an index of regions.
|
|
4
|
-
*
|
|
5
|
-
* @returns A promise that resolves to an object representing a list of regions.
|
|
6
|
-
*/
|
|
7
|
-
export async function regions() {
|
|
8
|
-
return await request({
|
|
9
|
-
method: "GET",
|
|
10
|
-
url: "/data/wow/region/index",
|
|
11
|
-
namespace: "dynamic",
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Returns a region by ID.
|
|
16
|
-
*
|
|
17
|
-
* @param regionId - The unique identifier for the region.
|
|
18
|
-
* @returns A promise that resolves to an object representing details about a region.
|
|
19
|
-
*/
|
|
20
|
-
export async function region(regionId) {
|
|
21
|
-
return await request({
|
|
22
|
-
method: "GET",
|
|
23
|
-
url: `/data/wow/region/${regionId}`,
|
|
24
|
-
namespace: "dynamic",
|
|
25
|
-
});
|
|
26
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { KeyId, KeyNameId, LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
export interface ReputationFactions extends LinkSelfHref {
|
|
3
|
-
factions: KeyNameId[];
|
|
4
|
-
root_factions: KeyNameId[];
|
|
5
|
-
}
|
|
6
|
-
export interface ReputationFaction extends LinkSelfHref {
|
|
7
|
-
id: number;
|
|
8
|
-
name: LocalizedString;
|
|
9
|
-
description: LocalizedString;
|
|
10
|
-
reputation_tiers: KeyId;
|
|
11
|
-
}
|
|
12
|
-
export interface ReputationTiers extends LinkSelfHref {
|
|
13
|
-
reputation_tiers: KeyNameId[];
|
|
14
|
-
}
|
|
15
|
-
export interface ReputationTier extends LinkSelfHref {
|
|
16
|
-
id: number;
|
|
17
|
-
tiers: {
|
|
18
|
-
name: LocalizedString;
|
|
19
|
-
min_value: number;
|
|
20
|
-
max_value: number;
|
|
21
|
-
id: number;
|
|
22
|
-
}[];
|
|
23
|
-
faction: KeyNameId;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Returns an index of reputation factions.
|
|
27
|
-
*
|
|
28
|
-
* @returns A promise that resolves to an object representing a list of reputation factions.
|
|
29
|
-
*/
|
|
30
|
-
export declare function reputationFactions(): Promise<ReputationFactions>;
|
|
31
|
-
/**
|
|
32
|
-
* Returns a single reputation faction by ID.
|
|
33
|
-
*
|
|
34
|
-
* @param reputationFactionId - The unique identifier for the reputation faction.
|
|
35
|
-
* @returns A promise that resolves to an object representing details about a reputation faction.
|
|
36
|
-
*/
|
|
37
|
-
export declare function reputationFaction(reputationFactionId: string): Promise<ReputationFaction>;
|
|
38
|
-
/**
|
|
39
|
-
* Returns an index of reputation tiers.
|
|
40
|
-
*
|
|
41
|
-
* @returns A promise that resolves to an object representing a list of reputation tiers.
|
|
42
|
-
*/
|
|
43
|
-
export declare function reputationTiers(): Promise<ReputationTiers>;
|
|
44
|
-
/**
|
|
45
|
-
* Returns a single set of reputation tiers by ID.
|
|
46
|
-
*
|
|
47
|
-
* @param reputationTiersId - The unique identifier for the reputation tier.
|
|
48
|
-
* @returns A promise that resolves to an object representing details about a reputation tier.
|
|
49
|
-
*/
|
|
50
|
-
export declare function reputationTier(reputationTiersId: string): Promise<ReputationTier>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns an index of reputation factions.
|
|
4
|
-
*
|
|
5
|
-
* @returns A promise that resolves to an object representing a list of reputation factions.
|
|
6
|
-
*/
|
|
7
|
-
export async function reputationFactions() {
|
|
8
|
-
return await request({
|
|
9
|
-
method: "GET",
|
|
10
|
-
url: "/data/wow/reputation-faction/index",
|
|
11
|
-
namespace: "static",
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Returns a single reputation faction by ID.
|
|
16
|
-
*
|
|
17
|
-
* @param reputationFactionId - The unique identifier for the reputation faction.
|
|
18
|
-
* @returns A promise that resolves to an object representing details about a reputation faction.
|
|
19
|
-
*/
|
|
20
|
-
export async function reputationFaction(reputationFactionId) {
|
|
21
|
-
return await request({
|
|
22
|
-
method: "GET",
|
|
23
|
-
url: `/data/wow/reputation-faction/${reputationFactionId}`,
|
|
24
|
-
namespace: "static",
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Returns an index of reputation tiers.
|
|
29
|
-
*
|
|
30
|
-
* @returns A promise that resolves to an object representing a list of reputation tiers.
|
|
31
|
-
*/
|
|
32
|
-
export async function reputationTiers() {
|
|
33
|
-
return await request({
|
|
34
|
-
method: "GET",
|
|
35
|
-
url: "/data/wow/reputation-tiers/index",
|
|
36
|
-
namespace: "static",
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Returns a single set of reputation tiers by ID.
|
|
41
|
-
*
|
|
42
|
-
* @param reputationTiersId - The unique identifier for the reputation tier.
|
|
43
|
-
* @returns A promise that resolves to an object representing details about a reputation tier.
|
|
44
|
-
*/
|
|
45
|
-
export async function reputationTier(reputationTiersId) {
|
|
46
|
-
return await request({
|
|
47
|
-
method: "GET",
|
|
48
|
-
url: `/data/wow/reputation-tiers/${reputationTiersId}`,
|
|
49
|
-
namespace: "static",
|
|
50
|
-
});
|
|
51
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { Asset, KeyId, LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
import type { Search, SearchParameters } from "../search.js";
|
|
3
|
-
export interface Spell extends LinkSelfHref {
|
|
4
|
-
id: number;
|
|
5
|
-
name: LocalizedString;
|
|
6
|
-
description: LocalizedString;
|
|
7
|
-
media: KeyId;
|
|
8
|
-
}
|
|
9
|
-
export interface SpellMedia extends LinkSelfHref {
|
|
10
|
-
assets: Asset[];
|
|
11
|
-
id: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Returns a spell by ID.
|
|
15
|
-
*
|
|
16
|
-
* @param spellId - The unique identifier for the spell.
|
|
17
|
-
* @returns A promise that resolves to an object representing details about a spell.
|
|
18
|
-
*/
|
|
19
|
-
export declare function spell(spellId: number): Promise<Spell>;
|
|
20
|
-
/**
|
|
21
|
-
* Returns media for a spell by ID.
|
|
22
|
-
*
|
|
23
|
-
* @param spellId - The unique identifier for the spell.
|
|
24
|
-
* @returns A promise that resolves to an object representing details about a spell.
|
|
25
|
-
*/
|
|
26
|
-
export declare function spellMedia(spellId: number): Promise<SpellMedia>;
|
|
27
|
-
/**
|
|
28
|
-
* Performs a search of spells.
|
|
29
|
-
*
|
|
30
|
-
* @param SearchParameters - Object containing search parameters.
|
|
31
|
-
* @returns A promise that resolves to an object representing details about a spell search.
|
|
32
|
-
*/
|
|
33
|
-
export declare function searchSpell(searchParameters: SearchParameters): Promise<Search>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
import { search } from "../search.js";
|
|
3
|
-
/**
|
|
4
|
-
* Returns a spell by ID.
|
|
5
|
-
*
|
|
6
|
-
* @param spellId - The unique identifier for the spell.
|
|
7
|
-
* @returns A promise that resolves to an object representing details about a spell.
|
|
8
|
-
*/
|
|
9
|
-
export async function spell(spellId) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/data/wow/spell/${spellId}`,
|
|
13
|
-
namespace: "static",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Returns media for a spell by ID.
|
|
18
|
-
*
|
|
19
|
-
* @param spellId - The unique identifier for the spell.
|
|
20
|
-
* @returns A promise that resolves to an object representing details about a spell.
|
|
21
|
-
*/
|
|
22
|
-
export async function spellMedia(spellId) {
|
|
23
|
-
return await request({
|
|
24
|
-
method: "GET",
|
|
25
|
-
url: `/data/wow/media/spell/${spellId}`,
|
|
26
|
-
namespace: "static",
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Performs a search of spells.
|
|
31
|
-
*
|
|
32
|
-
* @param SearchParameters - Object containing search parameters.
|
|
33
|
-
* @returns A promise that resolves to an object representing details about a spell search.
|
|
34
|
-
*/
|
|
35
|
-
export async function searchSpell(searchParameters) {
|
|
36
|
-
return await search("/spell", "static", searchParameters);
|
|
37
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import type { KeyName, KeyNameId, LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
export interface TalentTrees extends LinkSelfHref {
|
|
3
|
-
spec_talent_trees: KeyNameId;
|
|
4
|
-
class_talent_trees: KeyName;
|
|
5
|
-
}
|
|
6
|
-
export interface SpellTooltip {
|
|
7
|
-
spell: KeyNameId;
|
|
8
|
-
description: string;
|
|
9
|
-
cast_time: string;
|
|
10
|
-
power_cost?: string;
|
|
11
|
-
range?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface Tooltip {
|
|
14
|
-
talent: KeyNameId;
|
|
15
|
-
spell_tooltip: SpellTooltip;
|
|
16
|
-
}
|
|
17
|
-
export interface Rank {
|
|
18
|
-
rank: number;
|
|
19
|
-
tooltip?: Tooltip;
|
|
20
|
-
choice_of_tooltips?: Tooltip[];
|
|
21
|
-
}
|
|
22
|
-
export interface NodeType {
|
|
23
|
-
id: number;
|
|
24
|
-
type: string;
|
|
25
|
-
}
|
|
26
|
-
export interface TalentNode {
|
|
27
|
-
id: number;
|
|
28
|
-
locked_by?: number[];
|
|
29
|
-
unlocks?: number[];
|
|
30
|
-
node_type: NodeType;
|
|
31
|
-
ranks: Rank[];
|
|
32
|
-
display_row: number;
|
|
33
|
-
display_col: number;
|
|
34
|
-
raw_position_x: number;
|
|
35
|
-
raw_position_y: number;
|
|
36
|
-
}
|
|
37
|
-
export interface TalentTree extends LinkSelfHref {
|
|
38
|
-
id: number;
|
|
39
|
-
playable_class: KeyNameId;
|
|
40
|
-
playable_specialization: KeyNameId;
|
|
41
|
-
name: LocalizedString;
|
|
42
|
-
media: {
|
|
43
|
-
key: {
|
|
44
|
-
href: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
restriction_lines: {
|
|
48
|
-
required_points: number;
|
|
49
|
-
restricted_row: number;
|
|
50
|
-
is_for_class: boolean;
|
|
51
|
-
}[];
|
|
52
|
-
class_talent_nodes: TalentNode[];
|
|
53
|
-
}
|
|
54
|
-
export interface TalentTreeNodes extends LinkSelfHref {
|
|
55
|
-
id: number;
|
|
56
|
-
spec_talent_trees?: KeyName[];
|
|
57
|
-
talent_nodes?: TalentNode[];
|
|
58
|
-
}
|
|
59
|
-
export interface Talents extends LinkSelfHref {
|
|
60
|
-
talents: KeyNameId[];
|
|
61
|
-
}
|
|
62
|
-
export interface Talent extends LinkSelfHref {
|
|
63
|
-
id: number;
|
|
64
|
-
rank_descriptions: {
|
|
65
|
-
rank: number;
|
|
66
|
-
description: LocalizedString;
|
|
67
|
-
}[];
|
|
68
|
-
spell: KeyNameId;
|
|
69
|
-
playable_class: KeyNameId;
|
|
70
|
-
playable_specialization: KeyNameId;
|
|
71
|
-
}
|
|
72
|
-
export interface PvpTalents extends LinkSelfHref {
|
|
73
|
-
pvp_talents: KeyNameId[];
|
|
74
|
-
}
|
|
75
|
-
export interface PvpTalent extends LinkSelfHref {
|
|
76
|
-
id: number;
|
|
77
|
-
spell: KeyNameId;
|
|
78
|
-
playable_specialization: KeyNameId;
|
|
79
|
-
description: LocalizedString;
|
|
80
|
-
unlock_player_level: number;
|
|
81
|
-
compatible_slots: number[];
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Returns an index of talent trees.
|
|
85
|
-
*
|
|
86
|
-
* @returns A promise that resolves to an object representing a list of talent trees.
|
|
87
|
-
*/
|
|
88
|
-
export declare function talentTrees(): Promise<TalentTrees>;
|
|
89
|
-
/**
|
|
90
|
-
* Returns a talent tree by specialization ID.
|
|
91
|
-
*
|
|
92
|
-
* @param talentTreeId - The unique identifier for the talent tree.
|
|
93
|
-
* @param specId - The unique identifier for the specialization.
|
|
94
|
-
* @returns A promise that resolves to an object representing details about a talent tree.
|
|
95
|
-
*/
|
|
96
|
-
export declare function talentTree(talentTreeId: number, specId: number): Promise<TalentTree>;
|
|
97
|
-
/**
|
|
98
|
-
* 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.
|
|
99
|
-
*
|
|
100
|
-
* @param talentTreeId - The unique identifier for the talent tree.
|
|
101
|
-
* @returns A promise that resolves to an object representing details about the talent tree nodes.
|
|
102
|
-
*/
|
|
103
|
-
export declare function talentTreeNodes(talentTreeId: number): Promise<TalentTreeNodes>;
|
|
104
|
-
/**
|
|
105
|
-
* Returns an index of talents.
|
|
106
|
-
*
|
|
107
|
-
* @returns A promise that resolves to an object representing a list of talents.
|
|
108
|
-
*/
|
|
109
|
-
export declare function talents(): Promise<Talents>;
|
|
110
|
-
/**
|
|
111
|
-
* Returns a talent by ID.
|
|
112
|
-
*
|
|
113
|
-
* @param talentId - The unique identifier for the talent.
|
|
114
|
-
* @returns A promise that resolves to an object representing details about the talent.
|
|
115
|
-
*/
|
|
116
|
-
export declare function talent(talentId: number): Promise<Talent>;
|
|
117
|
-
/**
|
|
118
|
-
* Returns an index of PvP talents.
|
|
119
|
-
*
|
|
120
|
-
* @returns A promise that resolves to an object representing a list of PvP talents.
|
|
121
|
-
*/
|
|
122
|
-
export declare function pvpTalents(): Promise<PvpTalents>;
|
|
123
|
-
/**
|
|
124
|
-
* Returns a PvP talent by ID.
|
|
125
|
-
*
|
|
126
|
-
* @param pvpTalentId - The unique identifier for the PvP talent.
|
|
127
|
-
* @returns A promise that resolves to an object representing details about the PvP talent.
|
|
128
|
-
*/
|
|
129
|
-
export declare function pvpTalent(pvpTalentId: number): Promise<PvpTalent>;
|