@pinta365/blizzard_api 0.3.6 → 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/README.md +1 -0
- package/esm/mod.d.ts +4 -2
- package/esm/mod.js +4 -2
- package/package.json +1 -1
- package/script/mod.d.ts +4 -2
- package/script/mod.js +8 -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 -43
- 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 -47
- 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,121 +0,0 @@
|
|
|
1
|
-
import type { Asset, KeyId, KeyNameId, LinkSelfHref, LocalizedString, NameId, TypeName } from "../../shared/index.js";
|
|
2
|
-
import type { Search, SearchParameters } from "../search.js";
|
|
3
|
-
export interface JournalExpansions extends LinkSelfHref {
|
|
4
|
-
tiers: KeyNameId[];
|
|
5
|
-
}
|
|
6
|
-
export interface JournalExpansion extends LinkSelfHref {
|
|
7
|
-
id: number;
|
|
8
|
-
name: LocalizedString;
|
|
9
|
-
dungeons: KeyNameId[];
|
|
10
|
-
raids: KeyNameId[];
|
|
11
|
-
}
|
|
12
|
-
export interface JournalEncounters extends LinkSelfHref {
|
|
13
|
-
encounters: KeyNameId[];
|
|
14
|
-
}
|
|
15
|
-
export interface EncounterSection {
|
|
16
|
-
id: number;
|
|
17
|
-
title: string;
|
|
18
|
-
body_text?: string;
|
|
19
|
-
sections?: EncounterSection[];
|
|
20
|
-
spell?: KeyNameId;
|
|
21
|
-
creature_display?: KeyId;
|
|
22
|
-
}
|
|
23
|
-
export interface JournalEncounter extends LinkSelfHref {
|
|
24
|
-
id: number;
|
|
25
|
-
name: LocalizedString;
|
|
26
|
-
description: LocalizedString;
|
|
27
|
-
creatures: {
|
|
28
|
-
id: number;
|
|
29
|
-
name: LocalizedString;
|
|
30
|
-
creature_display: KeyId;
|
|
31
|
-
}[];
|
|
32
|
-
items: {
|
|
33
|
-
id: number;
|
|
34
|
-
item: KeyNameId;
|
|
35
|
-
}[];
|
|
36
|
-
sections: EncounterSection[];
|
|
37
|
-
instance: KeyNameId;
|
|
38
|
-
category: {
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
modes: TypeName[];
|
|
42
|
-
}
|
|
43
|
-
export interface JournalInstances extends LinkSelfHref {
|
|
44
|
-
instances: KeyNameId[];
|
|
45
|
-
}
|
|
46
|
-
export interface JournalInstance extends LinkSelfHref {
|
|
47
|
-
id: number;
|
|
48
|
-
name: LocalizedString;
|
|
49
|
-
map: NameId;
|
|
50
|
-
area?: NameId;
|
|
51
|
-
description: LocalizedString;
|
|
52
|
-
encounters: KeyNameId[];
|
|
53
|
-
expansion: KeyNameId;
|
|
54
|
-
location?: NameId;
|
|
55
|
-
modes: {
|
|
56
|
-
mode: TypeName;
|
|
57
|
-
players: 5;
|
|
58
|
-
is_tracked: true;
|
|
59
|
-
}[];
|
|
60
|
-
media: KeyId;
|
|
61
|
-
minimum_level: number;
|
|
62
|
-
category: {
|
|
63
|
-
type: string;
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
export interface JournalInstanceMedia extends LinkSelfHref {
|
|
67
|
-
assets: Asset[];
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Returns an index of journal expansions.
|
|
71
|
-
*
|
|
72
|
-
* @returns A promise that resolves to an object representing a list of journal expansions.
|
|
73
|
-
*/
|
|
74
|
-
export declare function journalExpansions(): Promise<JournalExpansions>;
|
|
75
|
-
/**
|
|
76
|
-
* Returns a journal expansion by ID.
|
|
77
|
-
*
|
|
78
|
-
* @param journalExpansionId - The unique identifier for the journal expansion.
|
|
79
|
-
* @returns A promise that resolves to an object representing details about a journal expansion.
|
|
80
|
-
*/
|
|
81
|
-
export declare function journalExpansion(journalExpansionId: number): Promise<JournalExpansion>;
|
|
82
|
-
/**
|
|
83
|
-
* Returns an index of journal encounters.
|
|
84
|
-
*
|
|
85
|
-
* @returns A promise that resolves to an object representing a list of journal expansions.
|
|
86
|
-
*/
|
|
87
|
-
export declare function journalEncounters(): Promise<JournalEncounters>;
|
|
88
|
-
/**
|
|
89
|
-
* Returns a journal encounter by ID.
|
|
90
|
-
*
|
|
91
|
-
* @param journalEncounterId - The unique identifier for the journal encounter.
|
|
92
|
-
* @returns A promise that resolves to an object representing details about a journal encounter.
|
|
93
|
-
*/
|
|
94
|
-
export declare function journalEncounter(journalEncounterId: number): Promise<JournalEncounter>;
|
|
95
|
-
/**
|
|
96
|
-
* Performs a search of journal encounters.
|
|
97
|
-
*
|
|
98
|
-
* @param SearchParameters - Object containing search parameters.
|
|
99
|
-
* @returns A promise that resolves to an object representing details about a journal encounter search.
|
|
100
|
-
*/
|
|
101
|
-
export declare function searchJournalEncounter(searchParameters: SearchParameters): Promise<Search>;
|
|
102
|
-
/**
|
|
103
|
-
* Returns an index of journal instances.
|
|
104
|
-
*
|
|
105
|
-
* @returns A promise that resolves to an object representing a list of journal instances.
|
|
106
|
-
*/
|
|
107
|
-
export declare function journalInstances(): Promise<JournalInstances>;
|
|
108
|
-
/**
|
|
109
|
-
* Returns a journal instances by ID.
|
|
110
|
-
*
|
|
111
|
-
* @param journalInstanceId - The unique identifier for the journal instances.
|
|
112
|
-
* @returns A promise that resolves to an object representing details about a journal instances.
|
|
113
|
-
*/
|
|
114
|
-
export declare function journalInstance(journalInstanceId: number): Promise<JournalInstance>;
|
|
115
|
-
/**
|
|
116
|
-
* Returns media for a journal instance by ID.
|
|
117
|
-
*
|
|
118
|
-
* @param journalInstanceId - The unique identifier for the journal instance
|
|
119
|
-
* @returns A promise that resolves to an object representing media details about a journal instance.
|
|
120
|
-
*/
|
|
121
|
-
export declare function journalInstanceMedia(journalInstanceId: number): Promise<JournalInstanceMedia>;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.journalInstanceMedia = exports.journalInstance = exports.journalInstances = exports.searchJournalEncounter = exports.journalEncounter = exports.journalEncounters = exports.journalExpansion = exports.journalExpansions = void 0;
|
|
4
|
-
const index_js_1 = require("../../shared/index.js");
|
|
5
|
-
const search_js_1 = require("../search.js");
|
|
6
|
-
/**
|
|
7
|
-
* Returns an index of journal expansions.
|
|
8
|
-
*
|
|
9
|
-
* @returns A promise that resolves to an object representing a list of journal expansions.
|
|
10
|
-
*/
|
|
11
|
-
async function journalExpansions() {
|
|
12
|
-
return await (0, index_js_1.request)({
|
|
13
|
-
method: "GET",
|
|
14
|
-
url: "/data/wow/journal-expansion/index",
|
|
15
|
-
namespace: "static",
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
exports.journalExpansions = journalExpansions;
|
|
19
|
-
/**
|
|
20
|
-
* Returns a journal expansion by ID.
|
|
21
|
-
*
|
|
22
|
-
* @param journalExpansionId - The unique identifier for the journal expansion.
|
|
23
|
-
* @returns A promise that resolves to an object representing details about a journal expansion.
|
|
24
|
-
*/
|
|
25
|
-
async function journalExpansion(journalExpansionId) {
|
|
26
|
-
return await (0, index_js_1.request)({
|
|
27
|
-
method: "GET",
|
|
28
|
-
url: `/data/wow/journal-expansion/${journalExpansionId}`,
|
|
29
|
-
namespace: "static",
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
exports.journalExpansion = journalExpansion;
|
|
33
|
-
/**
|
|
34
|
-
* Returns an index of journal encounters.
|
|
35
|
-
*
|
|
36
|
-
* @returns A promise that resolves to an object representing a list of journal expansions.
|
|
37
|
-
*/
|
|
38
|
-
async function journalEncounters() {
|
|
39
|
-
return await (0, index_js_1.request)({
|
|
40
|
-
method: "GET",
|
|
41
|
-
url: "/data/wow/journal-encounter/index",
|
|
42
|
-
namespace: "static",
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
exports.journalEncounters = journalEncounters;
|
|
46
|
-
/**
|
|
47
|
-
* Returns a journal encounter by ID.
|
|
48
|
-
*
|
|
49
|
-
* @param journalEncounterId - The unique identifier for the journal encounter.
|
|
50
|
-
* @returns A promise that resolves to an object representing details about a journal encounter.
|
|
51
|
-
*/
|
|
52
|
-
async function journalEncounter(journalEncounterId) {
|
|
53
|
-
return await (0, index_js_1.request)({
|
|
54
|
-
method: "GET",
|
|
55
|
-
url: `/data/wow/journal-encounter/${journalEncounterId}`,
|
|
56
|
-
namespace: "static",
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
exports.journalEncounter = journalEncounter;
|
|
60
|
-
/**
|
|
61
|
-
* Performs a search of journal encounters.
|
|
62
|
-
*
|
|
63
|
-
* @param SearchParameters - Object containing search parameters.
|
|
64
|
-
* @returns A promise that resolves to an object representing details about a journal encounter search.
|
|
65
|
-
*/
|
|
66
|
-
async function searchJournalEncounter(searchParameters) {
|
|
67
|
-
return await (0, search_js_1.search)("/journal-encounter", "static", searchParameters);
|
|
68
|
-
}
|
|
69
|
-
exports.searchJournalEncounter = searchJournalEncounter;
|
|
70
|
-
/**
|
|
71
|
-
* Returns an index of journal instances.
|
|
72
|
-
*
|
|
73
|
-
* @returns A promise that resolves to an object representing a list of journal instances.
|
|
74
|
-
*/
|
|
75
|
-
async function journalInstances() {
|
|
76
|
-
return await (0, index_js_1.request)({
|
|
77
|
-
method: "GET",
|
|
78
|
-
url: "/data/wow/journal-instance/index",
|
|
79
|
-
namespace: "static",
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
exports.journalInstances = journalInstances;
|
|
83
|
-
/**
|
|
84
|
-
* Returns a journal instances by ID.
|
|
85
|
-
*
|
|
86
|
-
* @param journalInstanceId - The unique identifier for the journal instances.
|
|
87
|
-
* @returns A promise that resolves to an object representing details about a journal instances.
|
|
88
|
-
*/
|
|
89
|
-
async function journalInstance(journalInstanceId) {
|
|
90
|
-
return await (0, index_js_1.request)({
|
|
91
|
-
method: "GET",
|
|
92
|
-
url: `/data/wow/journal-instance/${journalInstanceId}`,
|
|
93
|
-
namespace: "static",
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
exports.journalInstance = journalInstance;
|
|
97
|
-
/**
|
|
98
|
-
* Returns media for a journal instance by ID.
|
|
99
|
-
*
|
|
100
|
-
* @param journalInstanceId - The unique identifier for the journal instance
|
|
101
|
-
* @returns A promise that resolves to an object representing media details about a journal instance.
|
|
102
|
-
*/
|
|
103
|
-
async function journalInstanceMedia(journalInstanceId) {
|
|
104
|
-
return await (0, index_js_1.request)({
|
|
105
|
-
method: "GET",
|
|
106
|
-
url: `/data/wow/media/journal-instance/${journalInstanceId}`,
|
|
107
|
-
namespace: "static",
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
exports.journalInstanceMedia = journalInstanceMedia;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Asset, KeyId, KeyNameId, LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
export interface KeystoneAffixes extends LinkSelfHref {
|
|
3
|
-
affixes: KeyNameId[];
|
|
4
|
-
}
|
|
5
|
-
export interface KeystoneAffix extends LinkSelfHref {
|
|
6
|
-
id: number;
|
|
7
|
-
name: LocalizedString;
|
|
8
|
-
description: LocalizedString;
|
|
9
|
-
media: KeyId;
|
|
10
|
-
}
|
|
11
|
-
export interface KeystoneAffixMedia extends LinkSelfHref {
|
|
12
|
-
assets: Asset[];
|
|
13
|
-
id: number;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Returns an index of mythic keystone affixes.
|
|
17
|
-
*
|
|
18
|
-
* @returns A promise that resolves to an object representing a list of the mythic keystone affixes.
|
|
19
|
-
*/
|
|
20
|
-
export declare function keystoneAffixes(): Promise<KeystoneAffixes>;
|
|
21
|
-
/**
|
|
22
|
-
* Returns a mythic keystone affix by ID.
|
|
23
|
-
*
|
|
24
|
-
* @param keystoneAffixId - The unique identifier for the mythic keystone affix
|
|
25
|
-
* @returns A promise that resolves to an object representing details about a mythic keystone affix by ID.
|
|
26
|
-
*/
|
|
27
|
-
export declare function keystoneAffix(keystoneAffixId: number): Promise<KeystoneAffix>;
|
|
28
|
-
/**
|
|
29
|
-
* Returns media for a mythic keystone affix by ID.
|
|
30
|
-
*
|
|
31
|
-
* @param keystoneAffixId - The unique identifier for the mythic keystone affix
|
|
32
|
-
* @returns A promise that resolves to an object representing media details about a mythic keystone affix.
|
|
33
|
-
*/
|
|
34
|
-
export declare function keystoneAffixMedia(keystoneAffixId: number): Promise<KeystoneAffixMedia>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.keystoneAffixMedia = exports.keystoneAffix = exports.keystoneAffixes = void 0;
|
|
4
|
-
const index_js_1 = require("../../shared/index.js");
|
|
5
|
-
/**
|
|
6
|
-
* Returns an index of mythic keystone affixes.
|
|
7
|
-
*
|
|
8
|
-
* @returns A promise that resolves to an object representing a list of the mythic keystone affixes.
|
|
9
|
-
*/
|
|
10
|
-
async function keystoneAffixes() {
|
|
11
|
-
return await (0, index_js_1.request)({
|
|
12
|
-
method: "GET",
|
|
13
|
-
url: "/data/wow/keystone-affix/index",
|
|
14
|
-
namespace: "static",
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
exports.keystoneAffixes = keystoneAffixes;
|
|
18
|
-
/**
|
|
19
|
-
* Returns a mythic keystone affix by ID.
|
|
20
|
-
*
|
|
21
|
-
* @param keystoneAffixId - The unique identifier for the mythic keystone affix
|
|
22
|
-
* @returns A promise that resolves to an object representing details about a mythic keystone affix by ID.
|
|
23
|
-
*/
|
|
24
|
-
async function keystoneAffix(keystoneAffixId) {
|
|
25
|
-
return await (0, index_js_1.request)({
|
|
26
|
-
method: "GET",
|
|
27
|
-
url: `/data/wow/keystone-affix/${keystoneAffixId}`,
|
|
28
|
-
namespace: "static",
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
exports.keystoneAffix = keystoneAffix;
|
|
32
|
-
/**
|
|
33
|
-
* Returns media for a mythic keystone affix by ID.
|
|
34
|
-
*
|
|
35
|
-
* @param keystoneAffixId - The unique identifier for the mythic keystone affix
|
|
36
|
-
* @returns A promise that resolves to an object representing media details about a mythic keystone affix.
|
|
37
|
-
*/
|
|
38
|
-
async function keystoneAffixMedia(keystoneAffixId) {
|
|
39
|
-
return await (0, index_js_1.request)({
|
|
40
|
-
method: "GET",
|
|
41
|
-
url: `/data/wow/media/keystone-affix/${keystoneAffixId}`,
|
|
42
|
-
namespace: "static",
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
exports.keystoneAffixMedia = keystoneAffixMedia;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Search, SearchParameters } from "../search.js";
|
|
2
|
-
/**
|
|
3
|
-
* Performs a search of media.
|
|
4
|
-
*
|
|
5
|
-
* @param SearchParameters - Object containing search parameters.
|
|
6
|
-
* @returns A promise that resolves to an object representing details about a media search.
|
|
7
|
-
*/
|
|
8
|
-
export declare function searchMedia(searchParameters: SearchParameters): Promise<Search>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchMedia = void 0;
|
|
4
|
-
const search_js_1 = require("../search.js");
|
|
5
|
-
/**
|
|
6
|
-
* Performs a search of media.
|
|
7
|
-
*
|
|
8
|
-
* @param SearchParameters - Object containing search parameters.
|
|
9
|
-
* @returns A promise that resolves to an object representing details about a media search.
|
|
10
|
-
*/
|
|
11
|
-
async function searchMedia(searchParameters) {
|
|
12
|
-
return await (0, search_js_1.search)("/media", "static", searchParameters);
|
|
13
|
-
}
|
|
14
|
-
exports.searchMedia = searchMedia;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { KeyNameId, LinkSelfHref, LocalizedString } from "../../shared/index.js";
|
|
2
|
-
export interface ModifiedCraftingParents extends LinkSelfHref {
|
|
3
|
-
categories: {
|
|
4
|
-
href: string;
|
|
5
|
-
};
|
|
6
|
-
slot_types: {
|
|
7
|
-
href: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface ModifiedCraftingCategories extends LinkSelfHref {
|
|
11
|
-
categories: KeyNameId;
|
|
12
|
-
}
|
|
13
|
-
export interface ModifiedCraftingCategory extends LinkSelfHref {
|
|
14
|
-
id: number;
|
|
15
|
-
name: LocalizedString;
|
|
16
|
-
}
|
|
17
|
-
export interface ModifiedCraftingSlotTypes extends LinkSelfHref {
|
|
18
|
-
slot_types: KeyNameId[];
|
|
19
|
-
}
|
|
20
|
-
export interface ModifiedCraftingSlotType extends LinkSelfHref {
|
|
21
|
-
id: number;
|
|
22
|
-
description: LocalizedString;
|
|
23
|
-
compatible_categories: KeyNameId[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Returns the parent index for Modified Crafting.
|
|
27
|
-
*
|
|
28
|
-
* @returns A promise that resolves to an object representing a list of the parent index for Modified Crafting.
|
|
29
|
-
*/
|
|
30
|
-
export declare function modifiedCraftingParents(): Promise<ModifiedCraftingParents>;
|
|
31
|
-
/**
|
|
32
|
-
* Returns the index of Modified Crafting categories.
|
|
33
|
-
*
|
|
34
|
-
* @returns A promise that resolves to an object representing a list of the index of Modified Crafting categories.
|
|
35
|
-
*/
|
|
36
|
-
export declare function modifiedCraftingCategories(): Promise<ModifiedCraftingCategories>;
|
|
37
|
-
/**
|
|
38
|
-
* Returns a Modified Crafting category by ID.
|
|
39
|
-
*
|
|
40
|
-
* @param categoryId - The unique identifier for the Modified Crafting category
|
|
41
|
-
* @returns A promise that resolves to an object representing details about a Modified Crafting category.
|
|
42
|
-
*/
|
|
43
|
-
export declare function modifiedCraftingCategory(categoryId: number): Promise<ModifiedCraftingCategory>;
|
|
44
|
-
/**
|
|
45
|
-
* Returns the index of Modified Crafting reagent slot types.
|
|
46
|
-
*
|
|
47
|
-
* @returns A promise that resolves to an object representing a list of the index of Modified Crafting reagent slot types
|
|
48
|
-
*/
|
|
49
|
-
export declare function modifiedCraftingSlotTypes(): Promise<ModifiedCraftingSlotTypes>;
|
|
50
|
-
/**
|
|
51
|
-
* Returns a Modified Crafting reagent slot type by ID.
|
|
52
|
-
*
|
|
53
|
-
* @param slotTypeId - The unique identifier for the Modified Crafting reagent slot type
|
|
54
|
-
* @returns A promise that resolves to an object representing details about a Modified Crafting reagent slot type by ID.
|
|
55
|
-
*/
|
|
56
|
-
export declare function modifiedCraftingSlotType(slotTypeId: number): Promise<ModifiedCraftingSlotType>;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.modifiedCraftingSlotType = exports.modifiedCraftingSlotTypes = exports.modifiedCraftingCategory = exports.modifiedCraftingCategories = exports.modifiedCraftingParents = void 0;
|
|
4
|
-
const index_js_1 = require("../../shared/index.js");
|
|
5
|
-
/**
|
|
6
|
-
* Returns the parent index for Modified Crafting.
|
|
7
|
-
*
|
|
8
|
-
* @returns A promise that resolves to an object representing a list of the parent index for Modified Crafting.
|
|
9
|
-
*/
|
|
10
|
-
async function modifiedCraftingParents() {
|
|
11
|
-
return await (0, index_js_1.request)({
|
|
12
|
-
method: "GET",
|
|
13
|
-
url: "/data/wow/modified-crafting/index",
|
|
14
|
-
namespace: "static",
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
exports.modifiedCraftingParents = modifiedCraftingParents;
|
|
18
|
-
/**
|
|
19
|
-
* Returns the index of Modified Crafting categories.
|
|
20
|
-
*
|
|
21
|
-
* @returns A promise that resolves to an object representing a list of the index of Modified Crafting categories.
|
|
22
|
-
*/
|
|
23
|
-
async function modifiedCraftingCategories() {
|
|
24
|
-
return await (0, index_js_1.request)({
|
|
25
|
-
method: "GET",
|
|
26
|
-
url: "/data/wow/modified-crafting/category/index",
|
|
27
|
-
namespace: "static",
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
exports.modifiedCraftingCategories = modifiedCraftingCategories;
|
|
31
|
-
/**
|
|
32
|
-
* Returns a Modified Crafting category by ID.
|
|
33
|
-
*
|
|
34
|
-
* @param categoryId - The unique identifier for the Modified Crafting category
|
|
35
|
-
* @returns A promise that resolves to an object representing details about a Modified Crafting category.
|
|
36
|
-
*/
|
|
37
|
-
async function modifiedCraftingCategory(categoryId) {
|
|
38
|
-
return await (0, index_js_1.request)({
|
|
39
|
-
method: "GET",
|
|
40
|
-
url: `/data/wow/modified-crafting/category/${categoryId}`,
|
|
41
|
-
namespace: "static",
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
exports.modifiedCraftingCategory = modifiedCraftingCategory;
|
|
45
|
-
/**
|
|
46
|
-
* Returns the index of Modified Crafting reagent slot types.
|
|
47
|
-
*
|
|
48
|
-
* @returns A promise that resolves to an object representing a list of the index of Modified Crafting reagent slot types
|
|
49
|
-
*/
|
|
50
|
-
async function modifiedCraftingSlotTypes() {
|
|
51
|
-
return await (0, index_js_1.request)({
|
|
52
|
-
method: "GET",
|
|
53
|
-
url: "/data/wow/modified-crafting/reagent-slot-type/index",
|
|
54
|
-
namespace: "static",
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
exports.modifiedCraftingSlotTypes = modifiedCraftingSlotTypes;
|
|
58
|
-
/**
|
|
59
|
-
* Returns a Modified Crafting reagent slot type by ID.
|
|
60
|
-
*
|
|
61
|
-
* @param slotTypeId - The unique identifier for the Modified Crafting reagent slot type
|
|
62
|
-
* @returns A promise that resolves to an object representing details about a Modified Crafting reagent slot type by ID.
|
|
63
|
-
*/
|
|
64
|
-
async function modifiedCraftingSlotType(slotTypeId) {
|
|
65
|
-
return await (0, index_js_1.request)({
|
|
66
|
-
method: "GET",
|
|
67
|
-
url: `/data/wow/modified-crafting/reagent-slot-type/${slotTypeId}`,
|
|
68
|
-
namespace: "static",
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
exports.modifiedCraftingSlotType = modifiedCraftingSlotType;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { KeyId, KeyNameId, LinkSelfHref, LocalizedString, TypeName } from "../../shared/index.js";
|
|
2
|
-
export interface Mounts extends LinkSelfHref {
|
|
3
|
-
mounts: KeyNameId[];
|
|
4
|
-
}
|
|
5
|
-
export interface Mount extends LinkSelfHref {
|
|
6
|
-
id: number;
|
|
7
|
-
name: LocalizedString;
|
|
8
|
-
creature_displays: KeyId[];
|
|
9
|
-
description: LocalizedString;
|
|
10
|
-
source: TypeName;
|
|
11
|
-
faction?: TypeName;
|
|
12
|
-
should_exclude_if_uncollected?: boolean;
|
|
13
|
-
requirements?: {
|
|
14
|
-
faction: TypeName;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Returns a index of mounts.
|
|
19
|
-
*
|
|
20
|
-
* @returns A promise that resolves to an object representing a list of the index of mounts.
|
|
21
|
-
*/
|
|
22
|
-
export declare function mounts(): Promise<Mounts>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns a mount by ID.
|
|
25
|
-
*
|
|
26
|
-
* @param mountId - The unique identifier for the mount by ID.
|
|
27
|
-
* @returns A promise that resolves to an object representing details about a mount.
|
|
28
|
-
*/
|
|
29
|
-
export declare function mount(mountId: number): Promise<Mount>;
|
|
30
|
-
export declare function searchMount(): void;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchMount = exports.mount = exports.mounts = void 0;
|
|
4
|
-
const index_js_1 = require("../../shared/index.js");
|
|
5
|
-
/**
|
|
6
|
-
* Returns a index of mounts.
|
|
7
|
-
*
|
|
8
|
-
* @returns A promise that resolves to an object representing a list of the index of mounts.
|
|
9
|
-
*/
|
|
10
|
-
async function mounts() {
|
|
11
|
-
return await (0, index_js_1.request)({
|
|
12
|
-
method: "GET",
|
|
13
|
-
url: "/data/wow/mount/index",
|
|
14
|
-
namespace: "static",
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
exports.mounts = mounts;
|
|
18
|
-
/**
|
|
19
|
-
* Returns a mount by ID.
|
|
20
|
-
*
|
|
21
|
-
* @param mountId - The unique identifier for the mount by ID.
|
|
22
|
-
* @returns A promise that resolves to an object representing details about a mount.
|
|
23
|
-
*/
|
|
24
|
-
async function mount(mountId) {
|
|
25
|
-
return await (0, index_js_1.request)({
|
|
26
|
-
method: "GET",
|
|
27
|
-
url: `/data/wow/mount/${mountId}`,
|
|
28
|
-
namespace: "static",
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
exports.mount = mount;
|
|
32
|
-
function searchMount() {
|
|
33
|
-
//TODO: Placeholder for the mount Search, will probably be using ./search.ts
|
|
34
|
-
throw new Error("Not implemented yet!");
|
|
35
|
-
}
|
|
36
|
-
exports.searchMount = searchMount;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import type { KeyId, KeyNameId, LinkSelfHref, LocalizedString, NameId } from "../../shared/index.js";
|
|
2
|
-
export interface MythicKeystoneDungeons extends LinkSelfHref {
|
|
3
|
-
dungeons: KeyNameId[];
|
|
4
|
-
}
|
|
5
|
-
export interface MythicKeystoneDungeon extends LinkSelfHref {
|
|
6
|
-
id: number;
|
|
7
|
-
name: LocalizedString;
|
|
8
|
-
map: NameId;
|
|
9
|
-
zone: {
|
|
10
|
-
slug: string;
|
|
11
|
-
};
|
|
12
|
-
dungeon: KeyNameId;
|
|
13
|
-
keystone_updates: {
|
|
14
|
-
upgrade_level: number;
|
|
15
|
-
qualifying_duration: number;
|
|
16
|
-
}[];
|
|
17
|
-
is_traacked: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface MythicKeystoneIndex extends LinkSelfHref {
|
|
20
|
-
seasons: {
|
|
21
|
-
href: string;
|
|
22
|
-
};
|
|
23
|
-
dungeons: {
|
|
24
|
-
href: string;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export interface MythicKeystonePeriods extends LinkSelfHref {
|
|
28
|
-
periods: KeyId[];
|
|
29
|
-
current_period: KeyId;
|
|
30
|
-
}
|
|
31
|
-
export interface MythicKeystonePeriod extends LinkSelfHref {
|
|
32
|
-
id: number;
|
|
33
|
-
start_timestamp: number;
|
|
34
|
-
end_timestamp: number;
|
|
35
|
-
}
|
|
36
|
-
export interface MythicKeystoneSeason extends LinkSelfHref {
|
|
37
|
-
id: number;
|
|
38
|
-
start_timestamp: number;
|
|
39
|
-
end_timestamp?: number;
|
|
40
|
-
periods: KeyId[];
|
|
41
|
-
season_name: LocalizedString;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Returns an index of Mythic Keystone dungeons.
|
|
45
|
-
*
|
|
46
|
-
* @returns A promise that resolves to an object representing a list of the Mythic Keystone dungeons.
|
|
47
|
-
*/
|
|
48
|
-
export declare function mythicKeystoneDungeons(): Promise<MythicKeystoneDungeons>;
|
|
49
|
-
/**
|
|
50
|
-
* Returns a Mythic Keystone dungeon by ID.
|
|
51
|
-
*
|
|
52
|
-
* @param dungeonId - The unique identifier for the Mythic Keystone dungeon
|
|
53
|
-
* @returns A promise that resolves to an object representing details about a Mythic Keystone dungeon by ID.
|
|
54
|
-
*/
|
|
55
|
-
export declare function mythicKeystoneDungeon(dungeonId: number): Promise<MythicKeystoneDungeon>;
|
|
56
|
-
/**
|
|
57
|
-
* Returns an index of links to other documents related to Mythic Keystone dungeons.
|
|
58
|
-
*
|
|
59
|
-
* @returns A promise that resolves to an object representing a index of links to other documents related to Mythic Keystone dungeons.
|
|
60
|
-
*/
|
|
61
|
-
export declare function mythicKeystoneIndex(): Promise<MythicKeystoneIndex>;
|
|
62
|
-
/**
|
|
63
|
-
* Returns an index of Mythic Keystone periods.
|
|
64
|
-
*
|
|
65
|
-
* @returns A promise that resolves to an object representing a index of Mythic Keystone periods.
|
|
66
|
-
*/
|
|
67
|
-
export declare function mythicKeystonePeriods(): Promise<MythicKeystonePeriods>;
|
|
68
|
-
/**
|
|
69
|
-
* Returns a Mythic Keystone period by ID.
|
|
70
|
-
*
|
|
71
|
-
* @param periodId - The unique identifier for the Mythic Keystone period
|
|
72
|
-
* @returns A promise that resolves to an object representing details about a Mythic Keystone period by ID.
|
|
73
|
-
*/
|
|
74
|
-
export declare function mythicKeystonePeriod(periodId: number): Promise<MythicKeystonePeriod>;
|
|
75
|
-
export interface MythicKeystoneSeasons extends LinkSelfHref {
|
|
76
|
-
"seasons": KeyId[];
|
|
77
|
-
"current_season": KeyId;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Returns an index of Mythic Keystone seasons.
|
|
81
|
-
*
|
|
82
|
-
* @returns A promise that resolves to an object representing a index of Mythic Keystone seasons
|
|
83
|
-
*/
|
|
84
|
-
export declare function mythicKeystoneSeasons(): Promise<MythicKeystoneSeasons>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns a Mythic Keystone season by ID.
|
|
87
|
-
*
|
|
88
|
-
* @param seasonId - The unique identifier for the Mythic Keystone season
|
|
89
|
-
* @returns A promise that resolves to an object representing details about a Mythic Keystone season by ID.
|
|
90
|
-
*/
|
|
91
|
-
export declare function mythicKeystoneSeason(seasonId: number): Promise<MythicKeystoneSeason>;
|