@pinta365/blizzard_api 0.3.7 → 0.3.9
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,75 +0,0 @@
|
|
|
1
|
-
import type { Character, KeyId, KeyNameId, LinkSelfHref, LocalizedString, TypeName } from "../../shared/index.js";
|
|
2
|
-
export interface CharacterAppearanceSummary extends LinkSelfHref {
|
|
3
|
-
character: Character;
|
|
4
|
-
playable_race: KeyNameId;
|
|
5
|
-
playable_class: KeyNameId;
|
|
6
|
-
active_spec: KeyNameId;
|
|
7
|
-
gender: TypeName;
|
|
8
|
-
faction: TypeName;
|
|
9
|
-
guild_crest: {
|
|
10
|
-
emblem: {
|
|
11
|
-
id: number;
|
|
12
|
-
media: KeyId;
|
|
13
|
-
color: {
|
|
14
|
-
id: number;
|
|
15
|
-
rgba: {
|
|
16
|
-
r: number;
|
|
17
|
-
g: number;
|
|
18
|
-
b: number;
|
|
19
|
-
a: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
border: {
|
|
24
|
-
id: number;
|
|
25
|
-
media: KeyId;
|
|
26
|
-
color: {
|
|
27
|
-
id: number;
|
|
28
|
-
rgba: {
|
|
29
|
-
r: number;
|
|
30
|
-
g: number;
|
|
31
|
-
b: number;
|
|
32
|
-
a: number;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
background: {
|
|
37
|
-
color: {
|
|
38
|
-
id: number;
|
|
39
|
-
rgba: {
|
|
40
|
-
r: number;
|
|
41
|
-
g: number;
|
|
42
|
-
b: number;
|
|
43
|
-
a: number;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
items: {
|
|
49
|
-
id: number;
|
|
50
|
-
slot: TypeName;
|
|
51
|
-
enchant: number;
|
|
52
|
-
item_appearance_modifier_id: number;
|
|
53
|
-
internal_slot_id: number;
|
|
54
|
-
subclass: number;
|
|
55
|
-
}[];
|
|
56
|
-
customizations: {
|
|
57
|
-
option: {
|
|
58
|
-
name: LocalizedString;
|
|
59
|
-
id: number;
|
|
60
|
-
};
|
|
61
|
-
choice: {
|
|
62
|
-
name?: LocalizedString;
|
|
63
|
-
id: number;
|
|
64
|
-
display_order: number;
|
|
65
|
-
};
|
|
66
|
-
}[];
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Returns a summary of a character's appearance settings.
|
|
70
|
-
*
|
|
71
|
-
* @param realmSlug - The slug of the realm.
|
|
72
|
-
* @param characterName - The lowercase name of the character.
|
|
73
|
-
* @returns A promise that resolves to an object representing details about a character's appearance settings.
|
|
74
|
-
*/
|
|
75
|
-
export declare function characterAppearanceSummary(realmSlug: string, characterName: string): Promise<CharacterAppearanceSummary>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns a summary of a character's appearance settings.
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing details about a character's appearance settings.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterAppearanceSummary(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/appearance`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import type { Character, KeyId, KeyNameId, LinkSelfHref, TypeName } from "../../shared/index.js";
|
|
2
|
-
export interface Href {
|
|
3
|
-
href: string;
|
|
4
|
-
}
|
|
5
|
-
export interface CharacterCollectionTypes extends LinkSelfHref {
|
|
6
|
-
pets: Href;
|
|
7
|
-
mounts: Href;
|
|
8
|
-
heirlooms: Href;
|
|
9
|
-
toys: Href;
|
|
10
|
-
character: Character;
|
|
11
|
-
}
|
|
12
|
-
export interface Mount {
|
|
13
|
-
mounts: KeyNameId;
|
|
14
|
-
is_character_specific?: boolean;
|
|
15
|
-
is_useable: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface CharacterCollectionMounts extends LinkSelfHref {
|
|
18
|
-
mounts: Mount[];
|
|
19
|
-
}
|
|
20
|
-
export interface Pet {
|
|
21
|
-
species: KeyNameId;
|
|
22
|
-
level: number;
|
|
23
|
-
quality: TypeName;
|
|
24
|
-
stats: {
|
|
25
|
-
breed_id: number;
|
|
26
|
-
health: number;
|
|
27
|
-
power: number;
|
|
28
|
-
speed: number;
|
|
29
|
-
};
|
|
30
|
-
creature_display: KeyId;
|
|
31
|
-
id: number;
|
|
32
|
-
}
|
|
33
|
-
export interface CharacterCollectionPets extends LinkSelfHref {
|
|
34
|
-
pets: Pet[];
|
|
35
|
-
unlocked_battle_pet_slots: number;
|
|
36
|
-
}
|
|
37
|
-
export interface Toy {
|
|
38
|
-
toy: KeyNameId;
|
|
39
|
-
is_favorite?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface CharacterCollectionToys extends LinkSelfHref {
|
|
42
|
-
toys: Toy[];
|
|
43
|
-
}
|
|
44
|
-
export interface Heirloom {
|
|
45
|
-
heirloom: KeyNameId;
|
|
46
|
-
upgrade: {
|
|
47
|
-
level: number;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export interface CharacterCollectionHeirlooms extends LinkSelfHref {
|
|
51
|
-
heirlooms: Heirloom[];
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Returns an index of collection types for a character.
|
|
55
|
-
*
|
|
56
|
-
* @param realmSlug - The slug of the realm.
|
|
57
|
-
* @param characterName - The lowercase name of the character.
|
|
58
|
-
* @returns A promise that resolves to an object representing details about collection types for a character.
|
|
59
|
-
*/
|
|
60
|
-
export declare function characterCollectionTypes(realmSlug: string, characterName: string): Promise<CharacterCollectionTypes>;
|
|
61
|
-
/**
|
|
62
|
-
* Returns a summary of the mounts a character has obtained.
|
|
63
|
-
*
|
|
64
|
-
* @param realmSlug - The slug of the realm.
|
|
65
|
-
* @param characterName - The lowercase name of the character.
|
|
66
|
-
* @returns A promise that resolves to an object representing details about mounts a character has obtained.
|
|
67
|
-
*/
|
|
68
|
-
export declare function characterCollectionMounts(realmSlug: string, characterName: string): Promise<CharacterCollectionMounts>;
|
|
69
|
-
/**
|
|
70
|
-
* Returns a summary of the pets a character has obtained.
|
|
71
|
-
*
|
|
72
|
-
* @param realmSlug - The slug of the realm.
|
|
73
|
-
* @param characterName - The lowercase name of the character.
|
|
74
|
-
* @returns A promise that resolves to an object representing details about pets a character has obtained.
|
|
75
|
-
*/
|
|
76
|
-
export declare function characterCollectionPets(realmSlug: string, characterName: string): Promise<CharacterCollectionPets>;
|
|
77
|
-
/**
|
|
78
|
-
* Returns a summary of the toys a character has obtained.
|
|
79
|
-
*
|
|
80
|
-
* @param realmSlug - The slug of the realm.
|
|
81
|
-
* @param characterName - The lowercase name of the character.
|
|
82
|
-
* @returns A promise that resolves to an object representing details about toys a character has obtained.
|
|
83
|
-
*/
|
|
84
|
-
export declare function characterCollectionToys(realmSlug: string, characterName: string): Promise<CharacterCollectionToys>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns a summary of the heirlooms a character has obtained.
|
|
87
|
-
*
|
|
88
|
-
* @param realmSlug - The slug of the realm.
|
|
89
|
-
* @param characterName - The lowercase name of the character.
|
|
90
|
-
* @returns A promise that resolves to an object representing details about heirlooms a character has obtained.
|
|
91
|
-
*/
|
|
92
|
-
export declare function characterCollectionHeirlooms(realmSlug: string, characterName: string): Promise<CharacterCollectionHeirlooms>;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns an index of collection types for a character.
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing details about collection types for a character.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterCollectionTypes(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/collections`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Returns a summary of the mounts a character has obtained.
|
|
18
|
-
*
|
|
19
|
-
* @param realmSlug - The slug of the realm.
|
|
20
|
-
* @param characterName - The lowercase name of the character.
|
|
21
|
-
* @returns A promise that resolves to an object representing details about mounts a character has obtained.
|
|
22
|
-
*/
|
|
23
|
-
export async function characterCollectionMounts(realmSlug, characterName) {
|
|
24
|
-
return await request({
|
|
25
|
-
method: "GET",
|
|
26
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/collections/mounts`,
|
|
27
|
-
namespace: "profile",
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Returns a summary of the pets a character has obtained.
|
|
32
|
-
*
|
|
33
|
-
* @param realmSlug - The slug of the realm.
|
|
34
|
-
* @param characterName - The lowercase name of the character.
|
|
35
|
-
* @returns A promise that resolves to an object representing details about pets a character has obtained.
|
|
36
|
-
*/
|
|
37
|
-
export async function characterCollectionPets(realmSlug, characterName) {
|
|
38
|
-
return await request({
|
|
39
|
-
method: "GET",
|
|
40
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/collections/pets`,
|
|
41
|
-
namespace: "profile",
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Returns a summary of the toys a character has obtained.
|
|
46
|
-
*
|
|
47
|
-
* @param realmSlug - The slug of the realm.
|
|
48
|
-
* @param characterName - The lowercase name of the character.
|
|
49
|
-
* @returns A promise that resolves to an object representing details about toys a character has obtained.
|
|
50
|
-
*/
|
|
51
|
-
export async function characterCollectionToys(realmSlug, characterName) {
|
|
52
|
-
return await request({
|
|
53
|
-
method: "GET",
|
|
54
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/collections/toys`,
|
|
55
|
-
namespace: "profile",
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Returns a summary of the heirlooms a character has obtained.
|
|
60
|
-
*
|
|
61
|
-
* @param realmSlug - The slug of the realm.
|
|
62
|
-
* @param characterName - The lowercase name of the character.
|
|
63
|
-
* @returns A promise that resolves to an object representing details about heirlooms a character has obtained.
|
|
64
|
-
*/
|
|
65
|
-
export async function characterCollectionHeirlooms(realmSlug, characterName) {
|
|
66
|
-
return await request({
|
|
67
|
-
method: "GET",
|
|
68
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/collections/heirlooms`,
|
|
69
|
-
namespace: "profile",
|
|
70
|
-
});
|
|
71
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { Character, KeyNameId, LinkSelfHref, TypeName } from "../../shared/index.js";
|
|
2
|
-
export interface CharacterEncounters extends LinkSelfHref {
|
|
3
|
-
character: Character;
|
|
4
|
-
dungeons: {
|
|
5
|
-
href: string;
|
|
6
|
-
};
|
|
7
|
-
raids: {
|
|
8
|
-
href: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface CharacterEncounterDungeons extends LinkSelfHref {
|
|
12
|
-
expansions: {
|
|
13
|
-
expansion: KeyNameId;
|
|
14
|
-
instances: {
|
|
15
|
-
instance: KeyNameId;
|
|
16
|
-
modes: {
|
|
17
|
-
difficulty: TypeName;
|
|
18
|
-
status: TypeName;
|
|
19
|
-
progress: {
|
|
20
|
-
completed_count: number;
|
|
21
|
-
total_count: number;
|
|
22
|
-
encounters: {
|
|
23
|
-
encounter: KeyNameId;
|
|
24
|
-
completed_count: number;
|
|
25
|
-
last_kill_timestamp: number;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
}[];
|
|
29
|
-
}[];
|
|
30
|
-
}[];
|
|
31
|
-
}
|
|
32
|
-
export interface CharacterEncounterRaids extends LinkSelfHref {
|
|
33
|
-
character: Character;
|
|
34
|
-
expansions: {
|
|
35
|
-
expansion: KeyNameId;
|
|
36
|
-
instances: {
|
|
37
|
-
instance: KeyNameId;
|
|
38
|
-
modes: {
|
|
39
|
-
difficulty: TypeName;
|
|
40
|
-
status: TypeName;
|
|
41
|
-
progress: {
|
|
42
|
-
completed_count: number;
|
|
43
|
-
total_count: number;
|
|
44
|
-
encounters: {
|
|
45
|
-
encounter: KeyNameId;
|
|
46
|
-
completed_count: number;
|
|
47
|
-
last_kill_timestamp: number;
|
|
48
|
-
}[];
|
|
49
|
-
};
|
|
50
|
-
}[];
|
|
51
|
-
}[];
|
|
52
|
-
}[];
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Returns a summary of a character's encounters.
|
|
56
|
-
*
|
|
57
|
-
* @param realmSlug - The slug of the realm.
|
|
58
|
-
* @param characterName - The lowercase name of the character.
|
|
59
|
-
* @returns A promise that resolves to an object representing details about character's encounters.
|
|
60
|
-
*/
|
|
61
|
-
export declare function characterEncounters(realmSlug: string, characterName: string): Promise<CharacterEncounters>;
|
|
62
|
-
/**
|
|
63
|
-
* Returns a summary of a character's completed dungeons.
|
|
64
|
-
*
|
|
65
|
-
* @param realmSlug - The slug of the realm.
|
|
66
|
-
* @param characterName - The lowercase name of the character.
|
|
67
|
-
* @returns A promise that resolves to an object representing details about character's completed dungeons.
|
|
68
|
-
*/
|
|
69
|
-
export declare function characterEncounterDungeons(realmSlug: string, characterName: string): Promise<CharacterEncounterDungeons>;
|
|
70
|
-
/**
|
|
71
|
-
* Returns a summary of a character's completed raids.
|
|
72
|
-
*
|
|
73
|
-
* @param realmSlug - The slug of the realm.
|
|
74
|
-
* @param characterName - The lowercase name of the character.
|
|
75
|
-
* @returns A promise that resolves to an object representing details about character's completed raids.
|
|
76
|
-
*/
|
|
77
|
-
export declare function characterEncounterRaids(realmSlug: string, characterName: string): Promise<CharacterEncounterRaids>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns a summary of a character's encounters.
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing details about character's encounters.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterEncounters(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/encounters`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Returns a summary of a character's completed dungeons.
|
|
18
|
-
*
|
|
19
|
-
* @param realmSlug - The slug of the realm.
|
|
20
|
-
* @param characterName - The lowercase name of the character.
|
|
21
|
-
* @returns A promise that resolves to an object representing details about character's completed dungeons.
|
|
22
|
-
*/
|
|
23
|
-
export async function characterEncounterDungeons(realmSlug, characterName) {
|
|
24
|
-
return await request({
|
|
25
|
-
method: "GET",
|
|
26
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/encounters/dungeons`,
|
|
27
|
-
namespace: "profile",
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Returns a summary of a character's completed raids.
|
|
32
|
-
*
|
|
33
|
-
* @param realmSlug - The slug of the realm.
|
|
34
|
-
* @param characterName - The lowercase name of the character.
|
|
35
|
-
* @returns A promise that resolves to an object representing details about character's completed raids.
|
|
36
|
-
*/
|
|
37
|
-
export async function characterEncounterRaids(realmSlug, characterName) {
|
|
38
|
-
return await request({
|
|
39
|
-
method: "GET",
|
|
40
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/encounters/raids`,
|
|
41
|
-
namespace: "profile",
|
|
42
|
-
});
|
|
43
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import type { Character, KeyId, KeyNameId, LinkSelfHref, LocalizedString, TypeName } from "../../shared/index.js";
|
|
2
|
-
export interface Rgba {
|
|
3
|
-
r: number;
|
|
4
|
-
g: number;
|
|
5
|
-
b: number;
|
|
6
|
-
a: number;
|
|
7
|
-
}
|
|
8
|
-
export interface characterEquipments extends LinkSelfHref {
|
|
9
|
-
character: Character;
|
|
10
|
-
equipped_items: {
|
|
11
|
-
item: KeyId;
|
|
12
|
-
sockets?: {
|
|
13
|
-
socket_type: TypeName;
|
|
14
|
-
item: KeyNameId;
|
|
15
|
-
display_string: LocalizedString;
|
|
16
|
-
media: KeyId;
|
|
17
|
-
}[];
|
|
18
|
-
enchantments?: {
|
|
19
|
-
display_string: LocalizedString;
|
|
20
|
-
source_item?: KeyNameId;
|
|
21
|
-
enchantment_id: number;
|
|
22
|
-
enchantment_slot: {
|
|
23
|
-
id: number;
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
}[];
|
|
27
|
-
slot: TypeName;
|
|
28
|
-
quantity: number;
|
|
29
|
-
context: number;
|
|
30
|
-
bonus_list: number[];
|
|
31
|
-
quality: TypeName;
|
|
32
|
-
name: LocalizedString;
|
|
33
|
-
modified_appearance_id: number;
|
|
34
|
-
media: KeyId;
|
|
35
|
-
item_class: KeyNameId;
|
|
36
|
-
item_subclass: KeyNameId;
|
|
37
|
-
inventory_type: TypeName;
|
|
38
|
-
binding: TypeName;
|
|
39
|
-
armor: {
|
|
40
|
-
value: number;
|
|
41
|
-
display: {
|
|
42
|
-
display_string: LocalizedString;
|
|
43
|
-
color: Rgba;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
stats: {
|
|
47
|
-
type: TypeName;
|
|
48
|
-
value: number;
|
|
49
|
-
is_negated?: boolean;
|
|
50
|
-
is_equip_bonus?: boolean;
|
|
51
|
-
display: {
|
|
52
|
-
display_string: LocalizedString;
|
|
53
|
-
color: Rgba;
|
|
54
|
-
};
|
|
55
|
-
}[];
|
|
56
|
-
spells?: {
|
|
57
|
-
spell: KeyNameId;
|
|
58
|
-
description: LocalizedString;
|
|
59
|
-
}[];
|
|
60
|
-
sell_price: {
|
|
61
|
-
value: number;
|
|
62
|
-
display_strings: {
|
|
63
|
-
header: LocalizedString;
|
|
64
|
-
gold: string;
|
|
65
|
-
silver: string;
|
|
66
|
-
copper: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
requirements: {
|
|
70
|
-
level: {
|
|
71
|
-
value: number;
|
|
72
|
-
display_string: LocalizedString;
|
|
73
|
-
};
|
|
74
|
-
playable_classes: {
|
|
75
|
-
links: KeyNameId[];
|
|
76
|
-
display_string: LocalizedString;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
set: {
|
|
80
|
-
item_set: KeyNameId;
|
|
81
|
-
items: {
|
|
82
|
-
item: KeyNameId;
|
|
83
|
-
is_equipped?: boolean;
|
|
84
|
-
}[];
|
|
85
|
-
effects: {
|
|
86
|
-
display_string: LocalizedString;
|
|
87
|
-
required_count: number;
|
|
88
|
-
is_active?: boolean;
|
|
89
|
-
}[];
|
|
90
|
-
display_string: LocalizedString;
|
|
91
|
-
};
|
|
92
|
-
level: {
|
|
93
|
-
value: number;
|
|
94
|
-
display_string: LocalizedString;
|
|
95
|
-
};
|
|
96
|
-
transmog: {
|
|
97
|
-
item: KeyNameId;
|
|
98
|
-
display_string: LocalizedString;
|
|
99
|
-
item_modified_appearance_id: number;
|
|
100
|
-
};
|
|
101
|
-
durability: {
|
|
102
|
-
value: number;
|
|
103
|
-
display_string: LocalizedString;
|
|
104
|
-
};
|
|
105
|
-
is_subclass_hidden?: boolean;
|
|
106
|
-
name_description: {
|
|
107
|
-
display_string: LocalizedString;
|
|
108
|
-
color: Rgba;
|
|
109
|
-
};
|
|
110
|
-
}[];
|
|
111
|
-
equipped_item_sets: {
|
|
112
|
-
item_set: KeyNameId;
|
|
113
|
-
items: {
|
|
114
|
-
item: KeyNameId;
|
|
115
|
-
is_equipped?: boolean;
|
|
116
|
-
}[];
|
|
117
|
-
effects: {
|
|
118
|
-
display_string: LocalizedString;
|
|
119
|
-
required_count: number;
|
|
120
|
-
is_active: boolean;
|
|
121
|
-
}[];
|
|
122
|
-
display_string: LocalizedString;
|
|
123
|
-
}[];
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Returns a summary of the items equipped by a character.
|
|
127
|
-
*
|
|
128
|
-
* @param realmSlug - The slug of the realm.
|
|
129
|
-
* @param characterName - The lowercase name of the character.
|
|
130
|
-
* @returns A promise that resolves to an object representing details about items equipped by a character.
|
|
131
|
-
*/
|
|
132
|
-
export declare function characterEquipments(realmSlug: string, characterName: string): Promise<characterEquipments>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns a summary of the items equipped by a character.
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing details about items equipped by a character.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterEquipments(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/equipment`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Character, KeyId, KeyNameId, LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
export interface CharacterHunterPets extends LinkSelfHref {
|
|
3
|
-
character: Character;
|
|
4
|
-
hunter_pets: {
|
|
5
|
-
name: LocalizedString;
|
|
6
|
-
level: number;
|
|
7
|
-
creature: KeyNameId;
|
|
8
|
-
slot: number;
|
|
9
|
-
is_active?: boolean;
|
|
10
|
-
is_summoned?: boolean;
|
|
11
|
-
creature_display: KeyId;
|
|
12
|
-
}[];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
|
|
16
|
-
*
|
|
17
|
-
* @param realmSlug - The slug of the realm.
|
|
18
|
-
* @param characterName - The lowercase name of the character.
|
|
19
|
-
* @returns A promise that resolves to an object representing a summary of the character's hunter pets.
|
|
20
|
-
*/
|
|
21
|
-
export declare function characterHunterPets(realmSlug: string, characterName: string): Promise<CharacterHunterPets>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing a summary of the character's hunter pets.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterHunterPets(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Asset, Character, LinkSelfHref } from "../../shared/index.js";
|
|
2
|
-
export interface CharacterMedia extends LinkSelfHref {
|
|
3
|
-
character: Character;
|
|
4
|
-
assets: Asset[];
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Returns a summary of the media assets available for a character (such as an avatar render).
|
|
8
|
-
*
|
|
9
|
-
* @param realmSlug - The slug of the realm.
|
|
10
|
-
* @param characterName - The lowercase name of the character.
|
|
11
|
-
* @returns A promise that resolves to an object representing a summary of the media assets available for a character.
|
|
12
|
-
*/
|
|
13
|
-
export declare function characterMedia(realmSlug: string, characterName: string): Promise<CharacterMedia>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns a summary of the media assets available for a character (such as an avatar render).
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing a summary of the media assets available for a character.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterMedia(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/character-media`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { Character, KeyId, KeyNameId, LinkSelfHref } from "../../shared/index.js";
|
|
2
|
-
export interface MythicRating {
|
|
3
|
-
color: {
|
|
4
|
-
r: number;
|
|
5
|
-
g: number;
|
|
6
|
-
b: number;
|
|
7
|
-
a: number;
|
|
8
|
-
};
|
|
9
|
-
rating: number;
|
|
10
|
-
}
|
|
11
|
-
export interface CharacterMythicKeystoneProfile extends LinkSelfHref {
|
|
12
|
-
current_period: {
|
|
13
|
-
period: KeyId;
|
|
14
|
-
};
|
|
15
|
-
seasons: KeyId[];
|
|
16
|
-
character: Character;
|
|
17
|
-
current_mythic_rating: MythicRating;
|
|
18
|
-
}
|
|
19
|
-
export interface CharacterMythicKeystoneSeasonDetails extends LinkSelfHref {
|
|
20
|
-
season: KeyId;
|
|
21
|
-
best_runs: {
|
|
22
|
-
completed_timestamp: number;
|
|
23
|
-
duration: number;
|
|
24
|
-
keystone_level: number;
|
|
25
|
-
keystone_affixes: KeyNameId[];
|
|
26
|
-
members: {
|
|
27
|
-
character: Character;
|
|
28
|
-
specialization: KeyNameId;
|
|
29
|
-
race: KeyNameId;
|
|
30
|
-
equipped_item_level: number;
|
|
31
|
-
}[];
|
|
32
|
-
dungeon: KeyNameId;
|
|
33
|
-
is_completed_within_time: boolean;
|
|
34
|
-
mythic_rating: MythicRating;
|
|
35
|
-
map_rating: MythicRating;
|
|
36
|
-
}[];
|
|
37
|
-
character: Character;
|
|
38
|
-
mythic_rating: MythicRating;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Returns the Mythic Keystone profile index for a character.
|
|
42
|
-
*
|
|
43
|
-
* @param realmSlug - The slug of the realm.
|
|
44
|
-
* @param characterName - The lowercase name of the character.
|
|
45
|
-
* @returns A promise that resolves to an object representing a Mythic Keystone profile.
|
|
46
|
-
*/
|
|
47
|
-
export declare function characterMythicKeystoneProfile(realmSlug: string, characterName: string): Promise<CharacterMythicKeystoneProfile>;
|
|
48
|
-
/**
|
|
49
|
-
* Returns the Mythic Keystone season details for a character.
|
|
50
|
-
*
|
|
51
|
-
* Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
|
|
52
|
-
*
|
|
53
|
-
* @param realmSlug - The slug of the realm.
|
|
54
|
-
* @param characterName - The lowercase name of the character.
|
|
55
|
-
* @param seasonId - The lowercase name of the character.
|
|
56
|
-
* @returns A promise that resolves to an object representing a Mythic Keystone season details.
|
|
57
|
-
*/
|
|
58
|
-
export declare function characterMythicKeystoneSeasonDetails(realmSlug: string, characterName: string, seasonId: number): Promise<CharacterMythicKeystoneSeasonDetails>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { request } from "../../shared/index.js";
|
|
2
|
-
/**
|
|
3
|
-
* Returns the Mythic Keystone profile index for a character.
|
|
4
|
-
*
|
|
5
|
-
* @param realmSlug - The slug of the realm.
|
|
6
|
-
* @param characterName - The lowercase name of the character.
|
|
7
|
-
* @returns A promise that resolves to an object representing a Mythic Keystone profile.
|
|
8
|
-
*/
|
|
9
|
-
export async function characterMythicKeystoneProfile(realmSlug, characterName) {
|
|
10
|
-
return await request({
|
|
11
|
-
method: "GET",
|
|
12
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`,
|
|
13
|
-
namespace: "profile",
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Returns the Mythic Keystone season details for a character.
|
|
18
|
-
*
|
|
19
|
-
* Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
|
|
20
|
-
*
|
|
21
|
-
* @param realmSlug - The slug of the realm.
|
|
22
|
-
* @param characterName - The lowercase name of the character.
|
|
23
|
-
* @param seasonId - The lowercase name of the character.
|
|
24
|
-
* @returns A promise that resolves to an object representing a Mythic Keystone season details.
|
|
25
|
-
*/
|
|
26
|
-
export async function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
|
|
27
|
-
return await request({
|
|
28
|
-
method: "GET",
|
|
29
|
-
url: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`,
|
|
30
|
-
namespace: "profile",
|
|
31
|
-
});
|
|
32
|
-
}
|