@blizzard-api/wow 4.2.0 → 4.2.1
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/dist/achievements/index.d.ts +1 -1
- package/dist/azerite-essence/index.d.ts +1 -1
- package/dist/character-achievements/index.d.ts +1 -1
- package/dist/character-appearance/index.d.ts +1 -1
- package/dist/character-collections/index.d.ts +1 -1
- package/dist/character-equipment/index.d.ts +1 -1
- package/dist/character-hunter-pets/index.d.ts +1 -1
- package/dist/character-pvp/index.d.ts +1 -1
- package/dist/character-soulbinds/index.d.ts +1 -1
- package/dist/covenant/index.d.ts +1 -1
- package/dist/creature/index.d.ts +1 -1
- package/dist/guild/index.d.ts +1 -1
- package/dist/guild-crest/index.d.ts +1 -1
- package/dist/heirloom/index.d.ts +1 -1
- package/dist/housing-decor/index.d.ts +1 -1
- package/dist/{index-t9XEyuoB.d.ts → index-0Bhntrik.d.ts} +4 -7
- package/dist/{index-C1YdeTeh.d.ts → index-B8gaHbmp.d.ts} +7 -20
- package/dist/{index-BXil5dXL.d.ts → index-BA-S_4s8.d.ts} +4 -10
- package/dist/{index-fgCzpXCR.d.ts → index-BDKw2T5h.d.ts} +3 -6
- package/dist/{index-DwH3cSMV.d.ts → index-BHHO7RV3.d.ts} +3 -6
- package/dist/{index-DdmXkF2F.d.ts → index-BKuDd7nT.d.ts} +3 -7
- package/dist/{index-CaRIVhVv.d.ts → index-Bz4N9R8o.d.ts} +3 -5
- package/dist/{index-BzlqLJ2o.d.ts → index-C9yo07sd.d.ts} +4 -8
- package/dist/{index-Djm0g1Yi.d.ts → index-CCBUIqOU.d.ts} +5 -10
- package/dist/{index-BmPjWZiM.d.ts → index-CT77a0JF.d.ts} +10 -19
- package/dist/{index-Mo0Nrg5B.d.ts → index-Cc4oZQrM.d.ts} +5 -14
- package/dist/{index-C0vm3zy-.d.ts → index-Cev12iRl.d.ts} +5 -12
- package/dist/{index-BM2O2XmC.d.ts → index-CljBIBHy.d.ts} +5 -13
- package/dist/{index-C_3k8Q6y.d.ts → index-D317dq94.d.ts} +7 -10
- package/dist/{index-BlmuhVLr.d.ts → index-DB-CW2qB.d.ts} +3 -6
- package/dist/{index-gYxee23q.d.ts → index-DFlcJK5P.d.ts} +3 -6
- package/dist/{index-DOEs0UyY.d.ts → index-DGUAqQfD.d.ts} +3 -4
- package/dist/{index-D8XusKs5.d.ts → index-DP01g0EB.d.ts} +4 -8
- package/dist/{index-CJD7VTCV.d.ts → index-DRLsvfW5.d.ts} +3 -5
- package/dist/{index-DxnUqJGs.d.ts → index-DVacJ9ne.d.ts} +6 -15
- package/dist/{index-CEF2RBas.d.ts → index-DWXx_hQX.d.ts} +3 -5
- package/dist/{index-CcOUGucU.d.ts → index-DXJEmC1r.d.ts} +5 -11
- package/dist/{index-Zo-8eUYk.d.ts → index-Dcoq8HHI.d.ts} +4 -11
- package/dist/{index-mg4RaAL2.d.ts → index-DkkhK4mL.d.ts} +3 -6
- package/dist/{index-CahuOTZl.d.ts → index-DzFNhtcD.d.ts} +11 -18
- package/dist/{index-YDf016Cx.d.ts → index-ECczWYo-.d.ts} +3 -6
- package/dist/{index-DqReVqKo.d.ts → index-G_mEQkdH.d.ts} +3 -5
- package/dist/{index-BT8uSt8c.d.ts → index-Ho48pOyM.d.ts} +4 -11
- package/dist/{index-DxnfWpb6.d.ts → index-QcJecti6.d.ts} +3 -7
- package/dist/{index-voS2LTm4.d.ts → index-U0fk242w.d.ts} +3 -6
- package/dist/{index-DMYMiLKS.d.ts → index-Y2Yt9EzH.d.ts} +3 -5
- package/dist/{index-DU34NE5y.d.ts → index-_gTBl2_Y.d.ts} +5 -12
- package/dist/{index-CHk_Cxrn.d.ts → index-bl4DdMgs.d.ts} +8 -11
- package/dist/{index-CPXZZPZt.d.ts → index-clqZ-M8A.d.ts} +3 -6
- package/dist/{index-D9zRWOGv.d.ts → index-eLWbd2FJ.d.ts} +3 -6
- package/dist/index.d.ts +35 -35
- package/dist/item/index.d.ts +1 -1
- package/dist/item-appearance/index.d.ts +1 -1
- package/dist/journal/index.d.ts +1 -1
- package/dist/mount/index.d.ts +1 -1
- package/dist/mythic-keystone-affix/index.d.ts +1 -1
- package/dist/mythic-keystone-dungeon/index.d.ts +1 -1
- package/dist/mythic-keystone-leaderboard/index.d.ts +1 -1
- package/dist/mythic-raid-leaderboard/index.d.ts +1 -1
- package/dist/neighborhood-map/index.d.ts +1 -1
- package/dist/pet/index.d.ts +1 -1
- package/dist/playable-class/index.d.ts +1 -1
- package/dist/playable-specialization/index.d.ts +1 -1
- package/dist/profession/index.d.ts +1 -1
- package/dist/pvp-season/index.d.ts +1 -1
- package/dist/pvp-tier/index.d.ts +1 -1
- package/dist/reputations/index.d.ts +1 -1
- package/dist/spell/index.d.ts +1 -1
- package/dist/talent/index.d.ts +1 -1
- package/dist/tech-talent/index.d.ts +1 -1
- package/dist/toy/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Href,
|
|
1
|
+
import { Href, IdKey, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a Mythic Keystone dungeon index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -30,8 +30,8 @@ interface MythicKeystoneIndexResponse extends ResponseBase {
|
|
|
30
30
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
31
31
|
*/
|
|
32
32
|
interface MythicKeystonePeriodIndexResponse extends ResponseBase {
|
|
33
|
-
current_period:
|
|
34
|
-
periods: Array<
|
|
33
|
+
current_period: IdKey;
|
|
34
|
+
periods: Array<IdKey>;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* The response for a Mythic Keystone period.
|
|
@@ -47,8 +47,8 @@ interface MythicKeystonePeriodResponse extends ResponseBase {
|
|
|
47
47
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
48
48
|
*/
|
|
49
49
|
interface MythicKeystoneSeasonIndexResponse extends ResponseBase {
|
|
50
|
-
current_season:
|
|
51
|
-
seasons: Array<
|
|
50
|
+
current_season: IdKey;
|
|
51
|
+
seasons: Array<IdKey>;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* The response for a Mythic Keystone season.
|
|
@@ -57,7 +57,7 @@ interface MythicKeystoneSeasonIndexResponse extends ResponseBase {
|
|
|
57
57
|
interface MythicKeystoneSeasonResponse extends ResponseBase {
|
|
58
58
|
end_timestamp?: number;
|
|
59
59
|
id: number;
|
|
60
|
-
periods: Array<
|
|
60
|
+
periods: Array<IdKey>;
|
|
61
61
|
season_name: null | string;
|
|
62
62
|
start_timestamp: number;
|
|
63
63
|
}
|
|
@@ -65,9 +65,6 @@ interface KeystoneUpgrade {
|
|
|
65
65
|
qualifying_duration: number;
|
|
66
66
|
upgrade_level: number;
|
|
67
67
|
}
|
|
68
|
-
interface Period extends KeyBase {
|
|
69
|
-
id: number;
|
|
70
|
-
}
|
|
71
68
|
interface Zone {
|
|
72
69
|
slug: string;
|
|
73
70
|
}
|
|
@@ -110,4 +107,4 @@ declare function mythicKeystoneSeason(mythicKeystoneSeasonId: number): Resource<
|
|
|
110
107
|
*/
|
|
111
108
|
declare function mythicKeystoneSeasonIndex(): Resource<MythicKeystoneSeasonIndexResponse>;
|
|
112
109
|
export { mythicKeystonePeriodIndex as a, MythicKeystoneDungeonIndexResponse as c, MythicKeystonePeriodIndexResponse as d, MythicKeystonePeriodResponse as f, mythicKeystonePeriod as i, MythicKeystoneDungeonResponse as l, MythicKeystoneSeasonResponse as m, mythicKeystoneDungeonIndex as n, mythicKeystoneSeason as o, MythicKeystoneSeasonIndexResponse as p, mythicKeystoneIndex as r, mythicKeystoneSeasonIndex as s, mythicKeystoneDungeon as t, MythicKeystoneIndexResponse as u };
|
|
113
|
-
//# sourceMappingURL=index-
|
|
110
|
+
//# sourceMappingURL=index-D317dq94.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for an index of neighborhood maps.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -10,10 +10,7 @@ interface NeighborhoodMapIndexResponse extends ResponseBase {
|
|
|
10
10
|
* The response for a neighborhood map.
|
|
11
11
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
12
12
|
*/
|
|
13
|
-
interface NeighborhoodMapResponse extends ResponseBase {
|
|
14
|
-
id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
}
|
|
13
|
+
interface NeighborhoodMapResponse extends NameId, ResponseBase {}
|
|
17
14
|
/**
|
|
18
15
|
* The response for a neighborhood within a neighborhood map.
|
|
19
16
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -42,4 +39,4 @@ declare function neighborhoodMap(neighborhoodMapId: number): Resource<Neighborho
|
|
|
42
39
|
*/
|
|
43
40
|
declare function neighborhood(neighborhoodMapId: number, neighborhoodId: number): Resource<NeighborhoodResponse>;
|
|
44
41
|
export { NeighborhoodMapResponse as a, NeighborhoodMapIndexResponse as i, neighborhoodMap as n, NeighborhoodResponse as o, neighborhoodMaps as r, neighborhood as t };
|
|
45
|
-
//# sourceMappingURL=index-
|
|
42
|
+
//# sourceMappingURL=index-DB-CW2qB.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyBase, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { IdKey, KeyBase, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a tech talent index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -20,7 +20,7 @@ interface TechTalentMediaResponse extends ResponseBase {
|
|
|
20
20
|
interface TechTalentResponse extends NameId, ResponseBase {
|
|
21
21
|
description?: string;
|
|
22
22
|
display_order: number;
|
|
23
|
-
media:
|
|
23
|
+
media: IdKey;
|
|
24
24
|
prerequisite_talent?: NameIdKey;
|
|
25
25
|
socket_type?: {
|
|
26
26
|
name: string;
|
|
@@ -50,9 +50,6 @@ interface TechTalentTreeResponse extends ResponseBase {
|
|
|
50
50
|
playable_class?: NameIdKey;
|
|
51
51
|
talents: Array<NameIdKey>;
|
|
52
52
|
}
|
|
53
|
-
interface Media extends KeyBase {
|
|
54
|
-
id: number;
|
|
55
|
-
}
|
|
56
53
|
interface SpellTooltip {
|
|
57
54
|
cast_time: string;
|
|
58
55
|
cooldown?: string;
|
|
@@ -94,4 +91,4 @@ declare function techTalentTree(techTalentTreeId: number): Resource<TechTalentTr
|
|
|
94
91
|
*/
|
|
95
92
|
declare function techTalentTreeIndex(): Resource<TechTalentTreeIndexResponse>;
|
|
96
93
|
export { techTalentTreeIndex as a, TechTalentResponse as c, techTalentTree as i, TechTalentTreeIndexResponse as l, techTalentIndex as n, TechTalentIndexResponse as o, techTalentMedia as r, TechTalentMediaResponse as s, techTalent as t, TechTalentTreeResponse as u };
|
|
97
|
-
//# sourceMappingURL=index-
|
|
94
|
+
//# sourceMappingURL=index-DFlcJK5P.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Character, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { Character, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface CharacterSoulbindsResponse extends ResponseBase {
|
|
3
3
|
character: Character;
|
|
4
4
|
chosen_covenant: NameIdKey;
|
|
@@ -24,8 +24,7 @@ interface Trait {
|
|
|
24
24
|
tier: number;
|
|
25
25
|
trait?: NameIdKey;
|
|
26
26
|
}
|
|
27
|
-
interface TypeClass {
|
|
28
|
-
name: string;
|
|
27
|
+
interface TypeClass extends NameType {
|
|
29
28
|
type: 'ENDURANCE' | 'FINESSE' | 'POTENCY';
|
|
30
29
|
}
|
|
31
30
|
/**
|
|
@@ -35,4 +34,4 @@ interface TypeClass {
|
|
|
35
34
|
*/
|
|
36
35
|
declare function characterSoulbinds(realmSlug: string, characterName: string): Resource<CharacterSoulbindsResponse>;
|
|
37
36
|
export { CharacterSoulbindsResponse as n, characterSoulbinds as t };
|
|
38
|
-
//# sourceMappingURL=index-
|
|
37
|
+
//# sourceMappingURL=index-DGUAqQfD.d.ts.map
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { Character, Faction,
|
|
1
|
+
import { Character, Faction, IdKey, NameId, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface CharacterPvpBracketStatisticsResponse extends ResponseBase {
|
|
3
3
|
bracket: Bracket;
|
|
4
4
|
character: Character;
|
|
5
5
|
faction: Faction;
|
|
6
6
|
rating: number;
|
|
7
|
-
season:
|
|
8
|
-
id: number;
|
|
9
|
-
};
|
|
7
|
+
season: IdKey;
|
|
10
8
|
season_match_statistics: MatchStatistics;
|
|
11
|
-
tier:
|
|
12
|
-
id: number;
|
|
13
|
-
};
|
|
9
|
+
tier: IdKey;
|
|
14
10
|
weekly_match_statistics: MatchStatistics;
|
|
15
11
|
}
|
|
16
12
|
interface CharacterPvpSummaryResponse extends ResponseBase {
|
|
@@ -46,4 +42,4 @@ declare function characterPvpBracketStatistics(realmSlug: string, characterName:
|
|
|
46
42
|
*/
|
|
47
43
|
declare function characterPvpSummary(realmSlug: string, characterName: string): Resource<CharacterPvpSummaryResponse>;
|
|
48
44
|
export { CharacterPvpSummaryResponse as i, characterPvpSummary as n, CharacterPvpBracketStatisticsResponse as r, characterPvpBracketStatistics as t };
|
|
49
|
-
//# sourceMappingURL=index-
|
|
45
|
+
//# sourceMappingURL=index-DP01g0EB.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyBase, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { IdKey, KeyBase, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a pvp talent index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -95,9 +95,7 @@ interface ClassTalentNodeRank {
|
|
|
95
95
|
}
|
|
96
96
|
interface HeroTalentTree extends NameId {
|
|
97
97
|
hero_talent_nodes: Array<HeroTalentTreeNode>;
|
|
98
|
-
media:
|
|
99
|
-
id: number;
|
|
100
|
-
};
|
|
98
|
+
media: IdKey;
|
|
101
99
|
playable_class: NameIdKey;
|
|
102
100
|
playable_specializations: Array<NameIdKey>;
|
|
103
101
|
}
|
|
@@ -225,4 +223,4 @@ declare function talentTreeIndex(): Resource<TalentTreeIndexResponse>;
|
|
|
225
223
|
*/
|
|
226
224
|
declare function talentTreeNodes(talentTreeId: number): Resource<TalentTreeNodesResponse>;
|
|
227
225
|
export { talentTree as a, PvpTalentIndexResponse as c, TalentResponse as d, TalentTreeIndexResponse as f, talentIndex as i, PvpTalentResponse as l, TalentTreeResponse as m, pvpTalentIndex as n, talentTreeIndex as o, TalentTreeNodesResponse as p, talent as r, talentTreeNodes as s, pvpTalent as t, TalentIndexResponse as u };
|
|
228
|
-
//# sourceMappingURL=index-
|
|
226
|
+
//# sourceMappingURL=index-DRLsvfW5.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IdKey, MediaAsset, NameId, NameIdKey, NameType, NullishNameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a pet ability index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -21,7 +21,7 @@ interface PetAbilityMediaResponse extends ResponseBase {
|
|
|
21
21
|
interface PetAbilityResponse extends NullishNameId, ResponseBase {
|
|
22
22
|
battle_pet_type: BattlePetType;
|
|
23
23
|
cooldown?: number;
|
|
24
|
-
media:
|
|
24
|
+
media: IdKey;
|
|
25
25
|
rounds: number;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -55,25 +55,16 @@ interface PetResponse extends NameId, ResponseBase {
|
|
|
55
55
|
is_horde_only: boolean;
|
|
56
56
|
is_random_creature_display: boolean;
|
|
57
57
|
is_tradable: boolean;
|
|
58
|
-
media:
|
|
58
|
+
media: IdKey;
|
|
59
59
|
should_exclude_if_uncollected?: boolean;
|
|
60
|
-
source?:
|
|
60
|
+
source?: NameType;
|
|
61
61
|
}
|
|
62
62
|
interface Ability {
|
|
63
63
|
ability: NameIdKey;
|
|
64
64
|
required_level: number;
|
|
65
65
|
slot: number;
|
|
66
66
|
}
|
|
67
|
-
interface BattlePetType extends NameId {
|
|
68
|
-
type: string;
|
|
69
|
-
}
|
|
70
|
-
interface Media extends KeyBase {
|
|
71
|
-
id: number;
|
|
72
|
-
}
|
|
73
|
-
interface Source {
|
|
74
|
-
name: string;
|
|
75
|
-
type: string;
|
|
76
|
-
}
|
|
67
|
+
interface BattlePetType extends NameId, NameType {}
|
|
77
68
|
/**
|
|
78
69
|
* Get a pet by ID.
|
|
79
70
|
* @param petId The pet ID.
|
|
@@ -109,4 +100,4 @@ declare function petIndex(): Resource<PetIndexResponse>;
|
|
|
109
100
|
*/
|
|
110
101
|
declare function petMedia(petId: number): Resource<PetMediaResponse>;
|
|
111
102
|
export { petIndex as a, PetAbilityMediaResponse as c, PetMediaResponse as d, PetResponse as f, petAbilityMedia as i, PetAbilityResponse as l, petAbility as n, petMedia as o, petAbilityIndex as r, PetAbilityIndexResponse as s, pet as t, PetIndexResponse as u };
|
|
112
|
-
//# sourceMappingURL=index-
|
|
103
|
+
//# sourceMappingURL=index-DVacJ9ne.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Faction, KeyBase, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { Faction, KeyBase, NameId, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a reputation faction index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -47,11 +47,9 @@ interface ReputationTier extends KeyBase {
|
|
|
47
47
|
id: number;
|
|
48
48
|
name?: string;
|
|
49
49
|
}
|
|
50
|
-
interface Tier {
|
|
51
|
-
id: number;
|
|
50
|
+
interface Tier extends NameId {
|
|
52
51
|
max_value: number;
|
|
53
52
|
min_value: number;
|
|
54
|
-
name: string;
|
|
55
53
|
}
|
|
56
54
|
/**
|
|
57
55
|
* Get a reputation faction by ID.
|
|
@@ -76,4 +74,4 @@ declare function reputationTiers(reputationTiersId: number): Resource<Reputation
|
|
|
76
74
|
*/
|
|
77
75
|
declare function reputationTiersIndex(): Resource<ReputationTiersIndexResponse>;
|
|
78
76
|
export { ReputationFactionIndexResponse as a, ReputationTiersResponse as c, reputationTiersIndex as i, reputationFactionIndex as n, ReputationFactionResponse as o, reputationTiers as r, ReputationTiersIndexResponse as s, reputationFaction as t };
|
|
79
|
-
//# sourceMappingURL=index-
|
|
77
|
+
//# sourceMappingURL=index-DWXx_hQX.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, KeyBase, Locales, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, IdKey, KeyBase, Locales, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The equipment slot types an item appearance can belong to.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -14,7 +14,7 @@ interface ItemAppearanceResponse extends ResponseBase {
|
|
|
14
14
|
item_display_info_id: number;
|
|
15
15
|
item_subclass?: NameIdKey;
|
|
16
16
|
items?: Array<NullishNameIdKey>;
|
|
17
|
-
media:
|
|
17
|
+
media: IdKey;
|
|
18
18
|
slot?: ItemAppearanceSlot;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -45,7 +45,7 @@ interface ItemAppearanceSetIndexResponse extends ResponseBase {
|
|
|
45
45
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
46
46
|
*/
|
|
47
47
|
interface ItemAppearanceSetResponse extends ResponseBase {
|
|
48
|
-
appearances: Array<
|
|
48
|
+
appearances: Array<IdKey>;
|
|
49
49
|
id: number;
|
|
50
50
|
set_name: string;
|
|
51
51
|
}
|
|
@@ -61,10 +61,7 @@ interface ItemAppearanceSlotIndexResponse extends ResponseBase {
|
|
|
61
61
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
62
62
|
*/
|
|
63
63
|
interface ItemAppearanceSlotResponse extends ResponseBase {
|
|
64
|
-
appearances: Array<
|
|
65
|
-
}
|
|
66
|
-
interface ItemAppearanceMedia extends KeyBase {
|
|
67
|
-
id: number;
|
|
64
|
+
appearances: Array<IdKey>;
|
|
68
65
|
}
|
|
69
66
|
interface ItemAppearanceSearchResponseItem extends KeyBase {
|
|
70
67
|
data: {
|
|
@@ -80,9 +77,6 @@ interface ItemAppearanceSlot {
|
|
|
80
77
|
name: string;
|
|
81
78
|
type: ItemAppearanceSlotType;
|
|
82
79
|
}
|
|
83
|
-
interface ItemAppearanceSummary extends KeyBase {
|
|
84
|
-
id: number;
|
|
85
|
-
}
|
|
86
80
|
/**
|
|
87
81
|
* Get an item appearance by ID.
|
|
88
82
|
* @param appearanceId The item appearance ID.
|
|
@@ -118,4 +112,4 @@ declare function itemAppearanceSlot(slotType: ItemAppearanceSlotType): Resource<
|
|
|
118
112
|
*/
|
|
119
113
|
declare function itemAppearanceSlotIndex(): Resource<ItemAppearanceSlotIndexResponse>;
|
|
120
114
|
export { itemAppearanceSlot as a, ItemAppearanceSearchParameters as c, ItemAppearanceSetResponse as d, ItemAppearanceSlotIndexResponse as f, itemAppearanceSetIndex as i, ItemAppearanceSearchResponse as l, ItemAppearanceSlotType as m, itemAppearanceSearch as n, itemAppearanceSlotIndex as o, ItemAppearanceSlotResponse as p, itemAppearanceSet as r, ItemAppearanceResponse as s, itemAppearance as t, ItemAppearanceSetIndexResponse as u };
|
|
121
|
-
//# sourceMappingURL=index-
|
|
115
|
+
//# sourceMappingURL=index-DXJEmC1r.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IdKey, MediaAsset, NameId, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* Interface for a response from the conduit index endpoint.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -15,7 +15,7 @@ interface ConduitResponse extends ResponseBase {
|
|
|
15
15
|
item: NameIdKey;
|
|
16
16
|
name: string;
|
|
17
17
|
ranks: Array<Rank>;
|
|
18
|
-
socket_type:
|
|
18
|
+
socket_type: NameType;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Interface for a response from the covenant index endpoint.
|
|
@@ -39,7 +39,7 @@ interface CovenantResponse extends ResponseBase {
|
|
|
39
39
|
class_abilities?: Array<ClassAbility>;
|
|
40
40
|
description: string;
|
|
41
41
|
id: number;
|
|
42
|
-
media?:
|
|
42
|
+
media?: IdKey;
|
|
43
43
|
name: string;
|
|
44
44
|
renown_rewards: Array<RenownReward>;
|
|
45
45
|
signature_ability?: SignatureAbility;
|
|
@@ -77,9 +77,6 @@ interface ClassAbilitySpellTooltip {
|
|
|
77
77
|
range?: string;
|
|
78
78
|
spell: NameIdKey;
|
|
79
79
|
}
|
|
80
|
-
interface Media extends KeyBase {
|
|
81
|
-
id: number;
|
|
82
|
-
}
|
|
83
80
|
interface Rank {
|
|
84
81
|
id: number;
|
|
85
82
|
spell_tooltip: SpellTooltip;
|
|
@@ -100,10 +97,6 @@ interface SignatureAbilitySpellTooltip {
|
|
|
100
97
|
range?: string;
|
|
101
98
|
spell: NameIdKey;
|
|
102
99
|
}
|
|
103
|
-
interface SocketType {
|
|
104
|
-
name: string;
|
|
105
|
-
type: string;
|
|
106
|
-
}
|
|
107
100
|
interface SpellTooltip {
|
|
108
101
|
cast_time: string;
|
|
109
102
|
description: string;
|
|
@@ -149,4 +142,4 @@ declare function soulbind(soulbindId: number): Resource<SoulbindResponse>;
|
|
|
149
142
|
*/
|
|
150
143
|
declare function soulbindIndex(): Resource<SoulbindIndexResponse>;
|
|
151
144
|
export { covenantMedia as a, ConduitIndexResponse as c, CovenantMediaResponse as d, CovenantResponse as f, covenantIndex as i, ConduitResponse as l, SoulbindResponse as m, conduitIndex as n, soulbind as o, SoulbindIndexResponse as p, covenant as r, soulbindIndex as s, conduit as t, CovenantIndexResponse as u };
|
|
152
|
-
//# sourceMappingURL=index-
|
|
145
|
+
//# sourceMappingURL=index-Dcoq8HHI.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color, Href, KeyBase, NameId, NameIdKey, NonNeutralFactions, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { Color, Href, IdKey, KeyBase, NameId, NameIdKey, NonNeutralFactions, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a Mythic Keystone leaderboard index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -39,7 +39,7 @@ interface Member {
|
|
|
39
39
|
type: NonNeutralFactions;
|
|
40
40
|
};
|
|
41
41
|
profile: Profile;
|
|
42
|
-
specialization:
|
|
42
|
+
specialization: IdKey;
|
|
43
43
|
}
|
|
44
44
|
interface MythicRating {
|
|
45
45
|
color: Color;
|
|
@@ -52,9 +52,6 @@ interface Realm$1 extends KeyBase {
|
|
|
52
52
|
id: number;
|
|
53
53
|
slug: string;
|
|
54
54
|
}
|
|
55
|
-
interface Specialization extends KeyBase {
|
|
56
|
-
id: number;
|
|
57
|
-
}
|
|
58
55
|
/**
|
|
59
56
|
* Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.
|
|
60
57
|
* @param connectedRealmId The connected realm ID.
|
|
@@ -70,4 +67,4 @@ declare function mythicKeystoneLeaderboard(connectedRealmId: number, dungeonId:
|
|
|
70
67
|
*/
|
|
71
68
|
declare function mythicKeystoneLeaderboardIndex(connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse>;
|
|
72
69
|
export { MythicKeystoneLeaderboardResponse as i, mythicKeystoneLeaderboardIndex as n, MythicKeystoneLeaderboardIndexResponse as r, mythicKeystoneLeaderboard as t };
|
|
73
|
-
//# sourceMappingURL=index-
|
|
70
|
+
//# sourceMappingURL=index-DkkhK4mL.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color,
|
|
1
|
+
import { Color, IdKey, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for the heirloom index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -13,8 +13,8 @@ interface HeirloomIndexResponse extends ResponseBase {
|
|
|
13
13
|
interface HeirloomResponse extends ResponseBase {
|
|
14
14
|
id: number;
|
|
15
15
|
item: NameIdKey;
|
|
16
|
-
media:
|
|
17
|
-
source:
|
|
16
|
+
media: IdKey;
|
|
17
|
+
source: NameType;
|
|
18
18
|
source_description: string;
|
|
19
19
|
upgrades: Array<Upgrade>;
|
|
20
20
|
}
|
|
@@ -23,7 +23,7 @@ interface AttackSpeedClass {
|
|
|
23
23
|
value: number;
|
|
24
24
|
}
|
|
25
25
|
interface Damage {
|
|
26
|
-
damage_class:
|
|
26
|
+
damage_class: NameType;
|
|
27
27
|
display_string: string;
|
|
28
28
|
max_value: number;
|
|
29
29
|
min_value: number;
|
|
@@ -32,23 +32,16 @@ interface Display {
|
|
|
32
32
|
color: Color;
|
|
33
33
|
display_string: string;
|
|
34
34
|
}
|
|
35
|
-
interface Media extends KeyBase {
|
|
36
|
-
id: number;
|
|
37
|
-
}
|
|
38
35
|
interface Requirements {
|
|
39
36
|
level: RequirementsLevel;
|
|
40
37
|
}
|
|
41
38
|
interface RequirementsLevel {
|
|
42
39
|
display_string: string;
|
|
43
40
|
}
|
|
44
|
-
interface Source {
|
|
45
|
-
name: string;
|
|
46
|
-
type: string;
|
|
47
|
-
}
|
|
48
41
|
interface Stat {
|
|
49
42
|
display: Display;
|
|
50
43
|
is_equip_bonus?: boolean;
|
|
51
|
-
type:
|
|
44
|
+
type: NameType;
|
|
52
45
|
value: number;
|
|
53
46
|
}
|
|
54
47
|
interface Upgrade {
|
|
@@ -56,17 +49,17 @@ interface Upgrade {
|
|
|
56
49
|
level: number;
|
|
57
50
|
}
|
|
58
51
|
interface UpgradeItem {
|
|
59
|
-
binding:
|
|
52
|
+
binding: NameType;
|
|
60
53
|
bonus_list: Array<number>;
|
|
61
54
|
context: number;
|
|
62
|
-
inventory_type:
|
|
63
|
-
item:
|
|
55
|
+
inventory_type: NameType;
|
|
56
|
+
item: IdKey;
|
|
64
57
|
item_class: NameIdKey;
|
|
65
58
|
item_subclass: NameIdKey;
|
|
66
59
|
level: AttackSpeedClass;
|
|
67
|
-
media:
|
|
60
|
+
media: IdKey;
|
|
68
61
|
name: string;
|
|
69
|
-
quality:
|
|
62
|
+
quality: NameType;
|
|
70
63
|
requirements: Requirements;
|
|
71
64
|
stats: Array<Stat>;
|
|
72
65
|
upgrades: Upgrades;
|
|
@@ -94,4 +87,4 @@ declare function heirloom(heirloomId: number): Resource<HeirloomResponse>;
|
|
|
94
87
|
*/
|
|
95
88
|
declare function heirloomIndex(): Resource<HeirloomIndexResponse>;
|
|
96
89
|
export { HeirloomResponse as i, heirloomIndex as n, HeirloomIndexResponse as r, heirloom as t };
|
|
97
|
-
//# sourceMappingURL=index-
|
|
90
|
+
//# sourceMappingURL=index-DzFNhtcD.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, KeyBase, Locales, MediaAsset, NameId, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, IdKey, KeyBase, Locales, MediaAsset, NameId, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a spell media.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -13,7 +13,7 @@ interface SpellMediaResponse extends ResponseBase {
|
|
|
13
13
|
*/
|
|
14
14
|
interface SpellResponse extends NameId, ResponseBase {
|
|
15
15
|
description: null | string;
|
|
16
|
-
media:
|
|
16
|
+
media: IdKey;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* The search parameters for spells.
|
|
@@ -32,9 +32,6 @@ interface SpellSearchParameters extends BaseSearchParameters {
|
|
|
32
32
|
interface SpellSearchResponse extends SearchResponseWithoutResults {
|
|
33
33
|
results: Array<SpellSearchResponseItem>;
|
|
34
34
|
}
|
|
35
|
-
interface Media extends KeyBase {
|
|
36
|
-
id: number;
|
|
37
|
-
}
|
|
38
35
|
interface SpellSearchResponseItem extends KeyBase {
|
|
39
36
|
data: {
|
|
40
37
|
id: number;
|
|
@@ -63,4 +60,4 @@ declare function spellMedia(spellId: number): Resource<SpellMediaResponse>;
|
|
|
63
60
|
*/
|
|
64
61
|
declare function spellSearch(options: SpellSearchParameters): Resource<SpellSearchResponse, Omit<SpellSearchParameters, 'locale' | 'name'>>;
|
|
65
62
|
export { SpellResponse as a, SpellMediaResponse as i, spellMedia as n, SpellSearchParameters as o, spellSearch as r, SpellSearchResponse as s, spell as t };
|
|
66
|
-
//# sourceMappingURL=index-
|
|
63
|
+
//# sourceMappingURL=index-ECczWYo-.d.ts.map
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { Character,
|
|
1
|
+
import { Character, IdKey, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface CharacterHunterPetsSummaryResponse extends ResponseBase {
|
|
3
3
|
character: Character;
|
|
4
4
|
hunter_pets: Array<HunterPet>;
|
|
5
5
|
}
|
|
6
6
|
interface HunterPet {
|
|
7
7
|
creature: NameIdKey;
|
|
8
|
-
creature_display:
|
|
9
|
-
id: number;
|
|
10
|
-
};
|
|
8
|
+
creature_display: IdKey;
|
|
11
9
|
is_active?: boolean;
|
|
12
10
|
is_summoned?: boolean;
|
|
13
11
|
level: number;
|
|
@@ -22,4 +20,4 @@ interface HunterPet {
|
|
|
22
20
|
*/
|
|
23
21
|
declare function characterHunterPetsSummary(realmSlug: string, characterName: string): Resource<CharacterHunterPetsSummaryResponse>;
|
|
24
22
|
export { CharacterHunterPetsSummaryResponse as n, characterHunterPetsSummary as t };
|
|
25
|
-
//# sourceMappingURL=index-
|
|
23
|
+
//# sourceMappingURL=index-G_mEQkdH.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IdKey, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a toy index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -13,18 +13,11 @@ interface ToyIndexResponse extends ResponseBase {
|
|
|
13
13
|
interface ToyResponse extends ResponseBase {
|
|
14
14
|
id: number;
|
|
15
15
|
item: NameIdKey;
|
|
16
|
-
media:
|
|
16
|
+
media: IdKey;
|
|
17
17
|
should_exclude_if_uncollected?: boolean;
|
|
18
|
-
source:
|
|
18
|
+
source: NameType;
|
|
19
19
|
source_description?: string;
|
|
20
20
|
}
|
|
21
|
-
interface Media extends KeyBase {
|
|
22
|
-
id: number;
|
|
23
|
-
}
|
|
24
|
-
interface Source {
|
|
25
|
-
name: string;
|
|
26
|
-
type: string;
|
|
27
|
-
}
|
|
28
21
|
/**
|
|
29
22
|
* Get a toy by ID.
|
|
30
23
|
* @param toyId The toy ID.
|
|
@@ -37,4 +30,4 @@ declare function toy(toyId: number): Resource<ToyResponse>;
|
|
|
37
30
|
*/
|
|
38
31
|
declare function toyIndex(): Resource<ToyIndexResponse>;
|
|
39
32
|
export { ToyResponse as i, toyIndex as n, ToyIndexResponse as r, toy as t };
|
|
40
|
-
//# sourceMappingURL=index-
|
|
33
|
+
//# sourceMappingURL=index-Ho48pOyM.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as PetStats, t as PetQuality } from "./types-BihzpfkI.js";
|
|
2
|
-
import { Character, Href, IdKey, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
|
+
import { Character, Href, IdKey, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
3
3
|
interface CharacterCollectionDecorResponse extends ResponseBase {
|
|
4
4
|
decor_collected: Array<DecorItem>;
|
|
5
5
|
}
|
|
@@ -59,11 +59,7 @@ interface Pet {
|
|
|
59
59
|
}
|
|
60
60
|
interface Slot {
|
|
61
61
|
appearances: Array<IdKey>;
|
|
62
|
-
slot:
|
|
63
|
-
}
|
|
64
|
-
interface SlotSlot {
|
|
65
|
-
name: string;
|
|
66
|
-
type: string;
|
|
62
|
+
slot: NameType;
|
|
67
63
|
}
|
|
68
64
|
interface Toy {
|
|
69
65
|
is_favorite?: boolean;
|
|
@@ -112,4 +108,4 @@ declare function characterToysCollectionSummary(realmSlug: string, characterName
|
|
|
112
108
|
*/
|
|
113
109
|
declare function characterTransmogCollectionSummary(realmSlug: string, characterName: string): Resource<CharacterTransmogCollectionSummaryResponse>;
|
|
114
110
|
export { characterPetsCollectionSummary as a, CharacterCollectionDecorResponse as c, CharacterMountsCollectionSummaryResponse as d, CharacterPetsCollectionSummaryResponse as f, characterMountsCollectionSummary as i, CharacterCollectionsIndexResponse as l, CharacterTransmogCollectionSummaryResponse as m, characterCollectionsIndex as n, characterToysCollectionSummary as o, CharacterToysCollectionSummaryResponse as p, characterHeirloomsCollectionSummary as r, characterTransmogCollectionSummary as s, characterCollectionDecor as t, CharacterHeirloomsCollectionSummaryResponse as u };
|
|
115
|
-
//# sourceMappingURL=index-
|
|
111
|
+
//# sourceMappingURL=index-QcJecti6.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color,
|
|
1
|
+
import { Color, IdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a guild crest border or emblem.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -22,7 +22,7 @@ interface Background {
|
|
|
22
22
|
}
|
|
23
23
|
interface Border {
|
|
24
24
|
id: number;
|
|
25
|
-
media:
|
|
25
|
+
media: IdKey;
|
|
26
26
|
}
|
|
27
27
|
interface Colors {
|
|
28
28
|
backgrounds: Array<Background>;
|
|
@@ -33,9 +33,6 @@ interface GuildCrestAsset {
|
|
|
33
33
|
key: string;
|
|
34
34
|
value: string;
|
|
35
35
|
}
|
|
36
|
-
interface Media extends KeyBase {
|
|
37
|
-
id: number;
|
|
38
|
-
}
|
|
39
36
|
/**
|
|
40
37
|
* Get a guild crest border by ID.
|
|
41
38
|
* @param borderId The guild crest border ID.
|
|
@@ -54,4 +51,4 @@ declare function guildCrestComponentsIndex(): Resource<GuildCrestComponentsIndex
|
|
|
54
51
|
*/
|
|
55
52
|
declare function guildCrestEmblem(emblemId: number): Resource<GuildCrestBorderEmblemResponse>;
|
|
56
53
|
export { GuildCrestComponentsIndexResponse as a, GuildCrestBorderEmblemResponse as i, guildCrestComponentsIndex as n, guildCrestEmblem as r, guildCrestBorder as t };
|
|
57
|
-
//# sourceMappingURL=index-
|
|
54
|
+
//# sourceMappingURL=index-U0fk242w.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Character, Color, Faction, Gender,
|
|
1
|
+
import { Character, Color, Faction, Gender, IdKey, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface CharacterAppearanceResponse extends ResponseBase {
|
|
3
3
|
active_spec: NameIdKey;
|
|
4
4
|
character: Character;
|
|
@@ -13,9 +13,7 @@ interface CharacterAppearanceResponse extends ResponseBase {
|
|
|
13
13
|
interface BorderEmblem {
|
|
14
14
|
color: RGBWithId;
|
|
15
15
|
id: number;
|
|
16
|
-
media:
|
|
17
|
-
id: number;
|
|
18
|
-
};
|
|
16
|
+
media: IdKey;
|
|
19
17
|
}
|
|
20
18
|
interface Choice {
|
|
21
19
|
display_order: number;
|
|
@@ -58,4 +56,4 @@ interface RGBWithId {
|
|
|
58
56
|
*/
|
|
59
57
|
declare function characterAppearanceSummary(realmSlug: string, characterName: string): Resource<CharacterAppearanceResponse>;
|
|
60
58
|
export { CharacterAppearanceResponse as n, characterAppearanceSummary as t };
|
|
61
|
-
//# sourceMappingURL=index-
|
|
59
|
+
//# sourceMappingURL=index-Y2Yt9EzH.d.ts.map
|