@blizzard-api/wow 4.0.2 → 4.0.4

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.
@@ -1,6 +1,7 @@
1
- import { Factions, KeyBase, NameId, Origins, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { KeyBase, NameId, NonNeutralFactions, Origins, Resource, ResponseBase } from "@blizzard-api/core";
2
2
 
3
3
  //#region src/mythic-raid-leaderboard/types.d.ts
4
+ type KnownRaidSlugs = 'battle-of-dazaralor' | 'crucible-of-storms' | 'nyalotha-the-waking-city' | 'the-eternal-palace' | 'uldir' | 'castle-nathria' | 'sanctum-of-domination' | 'sepulcher-of-the-first-ones' | 'aberrus-the-shadowed-crucible' | 'amirdrassil-the-dreams-hope' | 'vault-of-the-incarnates' | 'liberation-of-undermine' | 'manaforge-omega' | 'nerubar-palace' | 'march-on-queldanas' | 'the-dreamrift' | 'the-voidspire' | (string & {});
4
5
  /**
5
6
  * The response for a Mythic Raid leaderboard.
6
7
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -13,7 +14,7 @@ interface MythicRaidLeaderboardResponse extends ResponseBase {
13
14
  }
14
15
  interface Entry {
15
16
  faction: {
16
- type: Factions;
17
+ type: NonNeutralFactions;
17
18
  };
18
19
  guild: Guild;
19
20
  rank: number;
@@ -40,7 +41,7 @@ interface Realm$1 {
40
41
  * @param faction The faction. Either 'alliance' or 'horde'.
41
42
  * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.
42
43
  */
43
- declare function mythicRaidLeaderboard(raid: string, faction: Lowercase<Factions>): Resource<MythicRaidLeaderboardResponse>;
44
+ declare function mythicRaidLeaderboard(raid: KnownRaidSlugs, faction: Lowercase<NonNeutralFactions>): Resource<MythicRaidLeaderboardResponse>;
44
45
  //#endregion
45
- export { MythicRaidLeaderboardResponse as n, mythicRaidLeaderboard as t };
46
- //# sourceMappingURL=index-8go905Or2.d.ts.map
46
+ export { KnownRaidSlugs as n, MythicRaidLeaderboardResponse as r, mythicRaidLeaderboard as t };
47
+ //# sourceMappingURL=index-Awzmubcb2.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Faction, Factions, Href, KeyBase, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { Faction, Href, KeyBase, NameId, NameIdKey, NonNeutralFactions, Resource, ResponseBase } from "@blizzard-api/core";
2
2
 
3
3
  //#region src/pvp-season/types.d.ts
4
4
  /**
@@ -60,7 +60,7 @@ interface Character$1 extends NameId {
60
60
  interface Entry {
61
61
  character: Character$1;
62
62
  faction: {
63
- type: Factions;
63
+ type: NonNeutralFactions;
64
64
  };
65
65
  rank: number;
66
66
  rating: number;
@@ -120,4 +120,4 @@ declare function pvpSeason(pvpSeasonId: number): Resource<PvpSeasonResponse>;
120
120
  declare function pvpSeasonIndex(): Resource<PvpSeasonIndexResponse>;
121
121
  //#endregion
122
122
  export { pvpSeasonIndex as a, PvpRewardsIndexResponse as c, pvpSeason as i, PvpSeasonIndexResponse as l, pvpLeaderboardIndex as n, PvpLeaderboardIndexResponse as o, pvpRewardsIndex as r, PvpLeaderboardResponse as s, pvpLeaderboard as t, PvpSeasonResponse as u };
123
- //# sourceMappingURL=index-Cry2-cm82.d.ts.map
123
+ //# sourceMappingURL=index-BlLUJk4H2.d.ts.map
@@ -1,4 +1,4 @@
1
- import { BaseSearchParameters, Faction, KeyBase, Locales, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
1
+ import { BaseSearchParameters, Faction, Factions, Href, KeyBase, Locales, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
2
 
3
3
  //#region src/journal/types.d.ts
4
4
  /**
@@ -100,11 +100,12 @@ interface Creature extends NameId {
100
100
  creature_display: CreatureDisplay;
101
101
  description?: string;
102
102
  }
103
- interface CreatureDisplay extends KeyBase {
103
+ interface CreatureDisplay {
104
104
  id: number;
105
+ key?: Href;
105
106
  }
106
107
  type EncounterCategory = 'DUNGEON' | 'EVENT' | 'RAID' | 'WORLD_BOSS';
107
- type EncounterMode = 'HEROIC' | 'LFR' | 'MYTHIC' | 'NORMAL';
108
+ type EncounterMode = 'HEROIC' | 'LFR' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'NORMAL';
108
109
  interface Item {
109
110
  id: number;
110
111
  item: NameIdKey;
@@ -127,6 +128,10 @@ interface JournalEncounterSearchResponseItem extends KeyBase {
127
128
  data: {
128
129
  category: Category;
129
130
  creatures: Array<JournalEncounterSearchCreature>;
131
+ faction?: {
132
+ name: Record<Locales, string>;
133
+ type: Factions;
134
+ };
130
135
  id: number;
131
136
  instance: {
132
137
  id: number;
@@ -138,7 +143,7 @@ interface JournalEncounterSearchResponseItem extends KeyBase {
138
143
  type: EncounterMode;
139
144
  }>;
140
145
  name: Record<Locales, string>;
141
- sections?: Array<JournalSection>;
146
+ sections?: Array<JournalSectionSearch>;
142
147
  };
143
148
  }
144
149
  interface JournalSection {
@@ -152,6 +157,17 @@ interface JournalSection {
152
157
  };
153
158
  title?: null | string;
154
159
  }
160
+ interface JournalSectionSearch {
161
+ body_text?: null | string;
162
+ creature_display?: CreatureDisplay;
163
+ id: number;
164
+ sections?: Array<JournalSubSectionSearch>;
165
+ spell?: KeyBase & {
166
+ id: number;
167
+ name?: string;
168
+ };
169
+ title?: Record<Locales, string>;
170
+ }
155
171
  interface JournalSubSection {
156
172
  body_text?: null | string;
157
173
  creature_display?: CreatureDisplay;
@@ -217,6 +233,71 @@ interface JournalSubSection6 {
217
233
  };
218
234
  title?: string;
219
235
  }
236
+ interface JournalSubSectionSearch {
237
+ body_text?: null | string;
238
+ creature_display?: CreatureDisplay;
239
+ id: number;
240
+ sections?: Array<JournalSubSectionSearch2>;
241
+ spell?: KeyBase & {
242
+ id: number;
243
+ name?: string;
244
+ };
245
+ title?: Record<Locales, string>;
246
+ }
247
+ interface JournalSubSectionSearch2 {
248
+ body_text?: null | string;
249
+ creature_display?: CreatureDisplay;
250
+ id: number;
251
+ sections?: Array<JournalSubSectionSearch3>;
252
+ spell?: KeyBase & {
253
+ id: number;
254
+ name?: string;
255
+ };
256
+ title?: Record<Locales, string>;
257
+ }
258
+ interface JournalSubSectionSearch3 {
259
+ body_text?: null | string;
260
+ creature_display?: CreatureDisplay;
261
+ id: number;
262
+ sections?: Array<JournalSubSectionSearch4>;
263
+ spell?: KeyBase & {
264
+ id: number;
265
+ name?: string;
266
+ };
267
+ title?: Record<Locales, string>;
268
+ }
269
+ interface JournalSubSectionSearch4 {
270
+ body_text?: null | string;
271
+ creature_display?: CreatureDisplay;
272
+ id: number;
273
+ sections?: Array<JournalSubSectionSearch5>;
274
+ spell?: KeyBase & {
275
+ id: number;
276
+ name?: string;
277
+ };
278
+ title?: Record<Locales, string>;
279
+ }
280
+ interface JournalSubSectionSearch5 {
281
+ body_text?: null | string;
282
+ creature_display?: CreatureDisplay;
283
+ id: number;
284
+ sections?: Array<JournalSubSectionSearch6>;
285
+ spell?: KeyBase & {
286
+ id: number;
287
+ name?: string;
288
+ };
289
+ title?: Record<Locales, string>;
290
+ }
291
+ interface JournalSubSectionSearch6 {
292
+ body_text?: null | string;
293
+ creature_display?: CreatureDisplay;
294
+ id: number;
295
+ spell?: KeyBase & {
296
+ id: number;
297
+ name?: string;
298
+ };
299
+ title?: string;
300
+ }
220
301
  interface Media extends KeyBase {
221
302
  id: number;
222
303
  }
@@ -280,4 +361,4 @@ declare function journalInstanceIndex(): Resource<JournalInstanceIndexResponse>;
280
361
  declare function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse>;
281
362
  //#endregion
282
363
  export { JournalInstanceResponse as _, journalExpansionIndex as a, journalInstanceMedia as c, JournalEncounterSearchParameters as d, JournalEncounterSearchResponse as f, JournalInstanceMediaResponse as g, JournalInstanceIndexResponse as h, journalExpansion as i, JournalEncounterIndexResponse as l, JournalExpansionResponse as m, journalEncounterIndex as n, journalInstance as o, JournalExpansionIndexResponse as p, journalEncounterSearch as r, journalInstanceIndex as s, journalEncounter as t, JournalEncounterResponse as u };
283
- //# sourceMappingURL=index-Do1l3j1C.d.ts.map
364
+ //# sourceMappingURL=index-CnUQDcQw.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Factions, Href, KeyBase, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { Color, Href, KeyBase, NameId, NameIdKey, NonNeutralFactions, Resource, ResponseBase } from "@blizzard-api/core";
2
2
 
3
3
  //#region src/mythic-keystone-leaderboard/types.d.ts
4
4
  /**
@@ -25,6 +25,7 @@ interface MythicKeystoneLeaderboardResponse extends ResponseBase {
25
25
  }
26
26
  interface KeystoneAffixElement {
27
27
  keystone_affix: NameIdKey;
28
+ max_level?: number;
28
29
  starting_level: number;
29
30
  }
30
31
  interface LeadingGroup {
@@ -32,15 +33,20 @@ interface LeadingGroup {
32
33
  duration: number;
33
34
  keystone_level: number;
34
35
  members: Array<Member>;
36
+ mythic_rating: MythicRating;
35
37
  ranking: number;
36
38
  }
37
39
  interface Member {
38
40
  faction: {
39
- type: Factions;
41
+ type: NonNeutralFactions;
40
42
  };
41
43
  profile: Profile;
42
44
  specialization: Specialization;
43
45
  }
46
+ interface MythicRating {
47
+ color: Color;
48
+ rating: number;
49
+ }
44
50
  interface Profile extends NameId {
45
51
  realm: Realm$1;
46
52
  }
@@ -69,4 +75,4 @@ declare function mythicKeystoneLeaderboard(connectedRealmId: number, dungeonId:
69
75
  declare function mythicKeystoneLeaderboardIndex(connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse>;
70
76
  //#endregion
71
77
  export { MythicKeystoneLeaderboardResponse as i, mythicKeystoneLeaderboardIndex as n, MythicKeystoneLeaderboardIndexResponse as r, mythicKeystoneLeaderboard as t };
72
- //# sourceMappingURL=index-CQXTvcKu2.d.ts.map
78
+ //# sourceMappingURL=index-D8aCcItd2.d.ts.map
package/dist/index.d.ts CHANGED
@@ -28,21 +28,21 @@ import { a as GuildAchievementsResponse, c as GuildRosterResponse, i as guildRos
28
28
  import { i as HeirloomResponse, n as heirloomIndex, r as HeirloomIndexResponse, t as heirloom } from "./index-ZAJGdEvm.js";
29
29
  import { C as RoomIndexReponse, S as GenericDecorSearchParameters, T as RoomSearchResponse, _ as FixtureHookResponse, a as fixtureHook, b as FixtureResponse, c as fixtureIndex, d as roomIndex, f as roomSearch, g as FixtureHookIndexResponse, h as DecorSearchResponse, i as fixture, l as fixtureSearch, m as DecorResponse, n as decorIndex, o as fixtureHookIndex, p as DecorIndexResponse, r as decorSearch, s as fixtureHookSearch, t as decor, u as room, v as FixtureHookSearchResponse, w as RoomResponse, x as FixtureSearchResponse, y as FixtureIndexResponse } from "./index-CMDZfaJk.js";
30
30
  import { _ as ItemSubClassResponse, a as itemSearch, c as itemSubClass, d as ItemMediaResponse, f as ItemResponse, g as ItemSetResponse, h as ItemSetIndexResponse, i as itemMedia, l as ItemClassIndexResponse, m as ItemSearchResponse, n as itemClass, o as itemSet, p as ItemSearchParameters, r as itemClassIndex, s as itemSetIndex, t as item, u as ItemClassResponse } from "./index-CP1gTrDv.js";
31
- import { _ as JournalInstanceResponse, a as journalExpansionIndex, c as journalInstanceMedia, d as JournalEncounterSearchParameters, f as JournalEncounterSearchResponse, g as JournalInstanceMediaResponse, h as JournalInstanceIndexResponse, i as journalExpansion, l as JournalEncounterIndexResponse, m as JournalExpansionResponse, n as journalEncounterIndex, o as journalInstance, p as JournalExpansionIndexResponse, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter, u as JournalEncounterResponse } from "./index-Do1l3j1C.js";
31
+ import { _ as JournalInstanceResponse, a as journalExpansionIndex, c as journalInstanceMedia, d as JournalEncounterSearchParameters, f as JournalEncounterSearchResponse, g as JournalInstanceMediaResponse, h as JournalInstanceIndexResponse, i as journalExpansion, l as JournalEncounterIndexResponse, m as JournalExpansionResponse, n as journalEncounterIndex, o as journalInstance, p as JournalExpansionIndexResponse, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter, u as JournalEncounterResponse } from "./index-CnUQDcQw.js";
32
32
  import { n as MediaSearchParameters, r as MediaSearchResponse, t as mediaSearch } from "./index-DDHIN-u0.js";
33
33
  import { a as modifiedCraftingReagentSlotTypeIndex, c as ModifiedCraftingIndexResponse, i as modifiedCraftingReagentSlotType, l as ModifiedCraftingReagentSlotTypeIndexResponse, n as modifiedCraftingCategoryIndex, o as ModifiedCraftingCategoryIndexResponse, r as modifiedCraftingIndex, s as ModifiedCraftingCategoryResponse, t as modifiedCraftingCategory, u as ModifiedCraftingReagentSlotTypeResponse } from "./index-DxEXkR_n.js";
34
34
  import { a as MountResponse, i as MountIndexResponse, n as mountIndex, o as MountSearchParameters, r as mountSearch, s as MountSearchResponse, t as mount } from "./index-CH3CudPP.js";
35
35
  import { a as MythicKeystoneAffixMediaResponse, i as MythicKeystoneAffixIndexResponse, n as mythicKeystoneAffixIndex, o as MythicKeystoneAffixResponse, r as mythicKeystoneAffixMedia, t as mythicKeystoneAffix } from "./index-Bd_PavJU.js";
36
36
  import { a as mythicKeystonePeriodIndex, c as MythicKeystoneDungeonIndexResponse, d as MythicKeystonePeriodIndexResponse, f as MythicKeystonePeriodResponse, i as mythicKeystonePeriod, l as MythicKeystoneDungeonResponse, m as MythicKeystoneSeasonResponse, n as mythicKeystoneDungeonIndex, o as mythicKeystoneSeason, p as MythicKeystoneSeasonIndexResponse, r as mythicKeystoneIndex, s as mythicKeystoneSeasonIndex, t as mythicKeystoneDungeon, u as MythicKeystoneIndexResponse } from "./index-h17WWDmt.js";
37
- import { i as MythicKeystoneLeaderboardResponse, n as mythicKeystoneLeaderboardIndex, r as MythicKeystoneLeaderboardIndexResponse, t as mythicKeystoneLeaderboard } from "./index-CQXTvcKu2.js";
38
- import { n as MythicRaidLeaderboardResponse, t as mythicRaidLeaderboard } from "./index-8go905Or2.js";
37
+ import { i as MythicKeystoneLeaderboardResponse, n as mythicKeystoneLeaderboardIndex, r as MythicKeystoneLeaderboardIndexResponse, t as mythicKeystoneLeaderboard } from "./index-D8aCcItd2.js";
38
+ import { n as KnownRaidSlugs, r as MythicRaidLeaderboardResponse, t as mythicRaidLeaderboard } from "./index-Awzmubcb2.js";
39
39
  import { a as petIndex, c as PetAbilityMediaResponse, d as PetMediaResponse, f as PetResponse, i as petAbilityMedia, l as PetAbilityResponse, n as petAbility, o as petMedia, r as petAbilityIndex, s as PetAbilityIndexResponse, t as pet, u as PetIndexResponse } from "./index-J46u_PSy2.js";
40
40
  import { a as PlayableClassIndexResponse, c as PvpTalentSlotsResponse, i as pvpTalentSlots, n as playableClassIndex, o as PlayableClassMediaResponse, r as playableClassMedia, s as PlayableClassResponse, t as playableClass } from "./index-BM5t9AbX2.js";
41
41
  import { i as PlayableRaceResponse, n as playableRaceIndex, r as PlayableRaceIndexResponse, t as playableRace } from "./index-BUSzkCHP2.js";
42
42
  import { a as PlayableSpecializationMediaResponse, i as PlayableSpecializationIndexResponse, n as playableSpecializationIndex, o as PlayableSpecializationResponse, r as playableSpecializationMedia, t as playableSpecialization } from "./index-C9JT3jCN2.js";
43
43
  import { i as PowerTypeResponse, n as powerTypeIndex, r as PowerTypeIndexResponse, t as powerType } from "./index-CWFif_SP2.js";
44
44
  import { a as recipe, c as ProfessionMediaResponse, d as RecipeMediaResponse, f as RecipeResponse, i as professionSkillTier, l as ProfessionResponse, n as professionIndex, o as recipeMedia, r as professionMedia, s as ProfessionIndexResponse, t as profession, u as ProfessionSkillTierResponse } from "./index-DugS9-SV2.js";
45
- import { a as pvpSeasonIndex, c as PvpRewardsIndexResponse, i as pvpSeason, l as PvpSeasonIndexResponse, n as pvpLeaderboardIndex, o as PvpLeaderboardIndexResponse, r as pvpRewardsIndex, s as PvpLeaderboardResponse, t as pvpLeaderboard, u as PvpSeasonResponse } from "./index-Cry2-cm82.js";
45
+ import { a as pvpSeasonIndex, c as PvpRewardsIndexResponse, i as pvpSeason, l as PvpSeasonIndexResponse, n as pvpLeaderboardIndex, o as PvpLeaderboardIndexResponse, r as pvpRewardsIndex, s as PvpLeaderboardResponse, t as pvpLeaderboard, u as PvpSeasonResponse } from "./index-BlLUJk4H2.js";
46
46
  import { a as PvpTierMediaResponse, i as PvpTierIndexResponse, n as pvpTierIndex, o as PvpTierResponse, r as pvpTierMedia, t as pvpTier } from "./index-BgkVcJkr2.js";
47
47
  import { a as questCategoryIndex, c as questTypeIndex, d as QuestCategoryIndexResponse, f as QuestCategoryResponse, g as QuestTypeResponse, h as QuestTypeIndexResponse, i as questCategory, l as QuestAreaIndexResponse, m as QuestResponse, n as questArea, o as questIndex, p as QuestIndexResponse, r as questAreaIndex, s as questType, t as quest, u as QuestAreaResponse } from "./index-BXawY6VA2.js";
48
48
  import { realm, realmIndex, realmSearch } from "./realm/index.js";
@@ -255,5 +255,5 @@ declare const wow: {
255
255
  wowToken: typeof wowToken;
256
256
  };
257
257
  //#endregion
258
- export { AccountCollectionsIndexResponse, AccountHeirloomsCollectionSummaryResponse, AccountMountsCollectionSummaryResponse, AccountPetsCollectionSummaryResponse, AccountProfileSummaryResponse, AccountToysCollectionSummaryResponse, AccountTransmogsCollectionSummaryResponse, AchievementCategoryIndexResponse, AchievementCategoryResponse, AchievementIndexResponse, AchievementMediaResponse, AchievementResponse, AuctionHouseCommoditiesResponse, AuctionHouseResponse, AzeriteEssenceIndexResponse, AzeriteEssenceMediaResponse, AzeriteEssenceResponse, AzeriteEssenceSearchParameters, AzeriteEssenceSearchResponse, CharacterAchievementStatisticsResponse, CharacterAchievementsSummaryResponse, CharacterAppearanceResponse, CharacterCollectionsIndexResponse, CharacterCompletedQuestsResponse, CharacterDungeonsResponse, CharacterEncountersSummaryResponse, CharacterEquipmentSummaryResponse, CharacterHeirloomsCollectionSummaryResponse, CharacterHunterPetsSummaryResponse, CharacterMediaSummaryResponse, CharacterMountsCollectionSummaryResponse, CharacterMythicKeystoneProfileIndexResponse, CharacterMythicKeystoneSeasonDetailsResponse, CharacterPetsCollectionSummaryResponse, CharacterProfessionsSummaryResponse, CharacterProfileStatusResponse, CharacterProfileSummaryResponse, CharacterPvpBracketStatisticsResponse, CharacterPvpSummaryResponse, CharacterQuestsResponse, CharacterRaidsResponse, CharacterReputationsSummaryResponse, CharacterSoulbindsResponse, CharacterSpecializationsSummaryResponse, CharacterStatisticsSummaryResponse, CharacterTitlesSummaryResponse, CharacterToysCollectionSummaryResponse, CharacterTransmogCollectionSummaryResponse, ConduitIndexResponse, ConduitResponse, ConnectedRealmIndexResponse, ConnectedRealmResponse, ConnectedRealmSearchParameters, ConnectedRealmSearchResponse, CovenantIndexResponse, CovenantMediaResponse, CovenantResponse, CreatureDisplayMediaResponse, CreatureFamilyIndexResponse, CreatureFamilyMediaResponse, CreatureFamilyResponse, CreatureResponse, CreatureSearchParameters, CreatureSearchResponse, CreatureTypeIndexResponse, CreatureTypeResponse, DecorIndexResponse, DecorResponse, DecorSearchResponse, FixtureHookIndexResponse, FixtureHookResponse, FixtureHookSearchResponse, FixtureIndexResponse, FixtureResponse, FixtureSearchResponse, GenericDecorSearchParameters, GuildAchievementsResponse, GuildActivityResponse, GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse, GuildResponse, GuildRosterResponse, HeirloomIndexResponse, HeirloomResponse, ItemClassIndexResponse, ItemClassResponse, ItemMediaResponse, ItemResponse, ItemSearchParameters, ItemSearchResponse, ItemSetIndexResponse, ItemSetResponse, ItemSubClassResponse, JournalEncounterIndexResponse, JournalEncounterResponse, JournalEncounterSearchParameters, JournalEncounterSearchResponse, JournalExpansionIndexResponse, JournalExpansionResponse, JournalInstanceIndexResponse, JournalInstanceMediaResponse, JournalInstanceResponse, MediaSearchParameters, MediaSearchResponse, ModifiedCraftingCategoryIndexResponse, ModifiedCraftingCategoryResponse, ModifiedCraftingIndexResponse, ModifiedCraftingReagentSlotTypeIndexResponse, ModifiedCraftingReagentSlotTypeResponse, MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponse, MythicKeystoneAffixIndexResponse, MythicKeystoneAffixMediaResponse, MythicKeystoneAffixResponse, MythicKeystoneDungeonIndexResponse, MythicKeystoneDungeonResponse, MythicKeystoneIndexResponse, MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse, MythicKeystonePeriodIndexResponse, MythicKeystonePeriodResponse, MythicKeystoneSeasonIndexResponse, MythicKeystoneSeasonResponse, MythicRaidLeaderboardResponse, PetAbilityIndexResponse, PetAbilityMediaResponse, PetAbilityResponse, PetIndexResponse, PetMediaResponse, PetResponse, PlayableClassIndexResponse, PlayableClassMediaResponse, PlayableClassResponse, PlayableRaceIndexResponse, PlayableRaceResponse, PlayableSpecializationIndexResponse, PlayableSpecializationMediaResponse, PlayableSpecializationResponse, PowerTypeIndexResponse, PowerTypeResponse, ProfessionIndexResponse, ProfessionMediaResponse, ProfessionResponse, ProfessionSkillTierResponse, ProtectedCharacterProfileSummaryResponse, PvpLeaderboardIndexResponse, PvpLeaderboardResponse, PvpRewardsIndexResponse, PvpSeasonIndexResponse, PvpSeasonResponse, PvpTalentIndexResponse, PvpTalentResponse, PvpTalentSlotsResponse, PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse, QuestAreaIndexResponse, QuestAreaResponse, QuestCategoryIndexResponse, QuestCategoryResponse, QuestIndexResponse, QuestResponse, QuestTypeIndexResponse, QuestTypeResponse, RealmCategory, RealmIndexResponse, RealmLocales, RealmResponse, RealmSearchParameters, RealmSearchResponse, RealmTimezone, RealmTypeCapitalized, RecipeMediaResponse, RecipeResponse, RegionIndexResponse, RegionResponse, ReputationFactionIndexResponse, ReputationFactionResponse, ReputationTiersIndexResponse, ReputationTiersResponse, RoomIndexReponse, RoomResponse, RoomSearchResponse, SoulbindIndexResponse, SoulbindResponse, SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponse, TalentIndexResponse, TalentResponse, TalentTreeIndexResponse, TalentTreeNodesResponse, TalentTreeResponse, TechTalentIndexResponse, TechTalentMediaResponse, TechTalentResponse, TechTalentTreeIndexResponse, TechTalentTreeResponse, TitleIndexResponse, TitleResponse, ToyIndexResponse, ToyResponse, WowTokenResponse, accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpBracketStatistics, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, decor, decorIndex, decorSearch, wow as default, wow, fixture, fixtureHook, fixtureHookIndex, fixtureHookSearch, fixtureIndex, fixtureSearch, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, protectedCharacterProfileSummary, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, room, roomIndex, roomSearch, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wowToken };
258
+ export { AccountCollectionsIndexResponse, AccountHeirloomsCollectionSummaryResponse, AccountMountsCollectionSummaryResponse, AccountPetsCollectionSummaryResponse, AccountProfileSummaryResponse, AccountToysCollectionSummaryResponse, AccountTransmogsCollectionSummaryResponse, AchievementCategoryIndexResponse, AchievementCategoryResponse, AchievementIndexResponse, AchievementMediaResponse, AchievementResponse, AuctionHouseCommoditiesResponse, AuctionHouseResponse, AzeriteEssenceIndexResponse, AzeriteEssenceMediaResponse, AzeriteEssenceResponse, AzeriteEssenceSearchParameters, AzeriteEssenceSearchResponse, CharacterAchievementStatisticsResponse, CharacterAchievementsSummaryResponse, CharacterAppearanceResponse, CharacterCollectionsIndexResponse, CharacterCompletedQuestsResponse, CharacterDungeonsResponse, CharacterEncountersSummaryResponse, CharacterEquipmentSummaryResponse, CharacterHeirloomsCollectionSummaryResponse, CharacterHunterPetsSummaryResponse, CharacterMediaSummaryResponse, CharacterMountsCollectionSummaryResponse, CharacterMythicKeystoneProfileIndexResponse, CharacterMythicKeystoneSeasonDetailsResponse, CharacterPetsCollectionSummaryResponse, CharacterProfessionsSummaryResponse, CharacterProfileStatusResponse, CharacterProfileSummaryResponse, CharacterPvpBracketStatisticsResponse, CharacterPvpSummaryResponse, CharacterQuestsResponse, CharacterRaidsResponse, CharacterReputationsSummaryResponse, CharacterSoulbindsResponse, CharacterSpecializationsSummaryResponse, CharacterStatisticsSummaryResponse, CharacterTitlesSummaryResponse, CharacterToysCollectionSummaryResponse, CharacterTransmogCollectionSummaryResponse, ConduitIndexResponse, ConduitResponse, ConnectedRealmIndexResponse, ConnectedRealmResponse, ConnectedRealmSearchParameters, ConnectedRealmSearchResponse, CovenantIndexResponse, CovenantMediaResponse, CovenantResponse, CreatureDisplayMediaResponse, CreatureFamilyIndexResponse, CreatureFamilyMediaResponse, CreatureFamilyResponse, CreatureResponse, CreatureSearchParameters, CreatureSearchResponse, CreatureTypeIndexResponse, CreatureTypeResponse, DecorIndexResponse, DecorResponse, DecorSearchResponse, FixtureHookIndexResponse, FixtureHookResponse, FixtureHookSearchResponse, FixtureIndexResponse, FixtureResponse, FixtureSearchResponse, GenericDecorSearchParameters, GuildAchievementsResponse, GuildActivityResponse, GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse, GuildResponse, GuildRosterResponse, HeirloomIndexResponse, HeirloomResponse, ItemClassIndexResponse, ItemClassResponse, ItemMediaResponse, ItemResponse, ItemSearchParameters, ItemSearchResponse, ItemSetIndexResponse, ItemSetResponse, ItemSubClassResponse, JournalEncounterIndexResponse, JournalEncounterResponse, JournalEncounterSearchParameters, JournalEncounterSearchResponse, JournalExpansionIndexResponse, JournalExpansionResponse, JournalInstanceIndexResponse, JournalInstanceMediaResponse, JournalInstanceResponse, KnownRaidSlugs, MediaSearchParameters, MediaSearchResponse, ModifiedCraftingCategoryIndexResponse, ModifiedCraftingCategoryResponse, ModifiedCraftingIndexResponse, ModifiedCraftingReagentSlotTypeIndexResponse, ModifiedCraftingReagentSlotTypeResponse, MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponse, MythicKeystoneAffixIndexResponse, MythicKeystoneAffixMediaResponse, MythicKeystoneAffixResponse, MythicKeystoneDungeonIndexResponse, MythicKeystoneDungeonResponse, MythicKeystoneIndexResponse, MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse, MythicKeystonePeriodIndexResponse, MythicKeystonePeriodResponse, MythicKeystoneSeasonIndexResponse, MythicKeystoneSeasonResponse, MythicRaidLeaderboardResponse, PetAbilityIndexResponse, PetAbilityMediaResponse, PetAbilityResponse, PetIndexResponse, PetMediaResponse, PetResponse, PlayableClassIndexResponse, PlayableClassMediaResponse, PlayableClassResponse, PlayableRaceIndexResponse, PlayableRaceResponse, PlayableSpecializationIndexResponse, PlayableSpecializationMediaResponse, PlayableSpecializationResponse, PowerTypeIndexResponse, PowerTypeResponse, ProfessionIndexResponse, ProfessionMediaResponse, ProfessionResponse, ProfessionSkillTierResponse, ProtectedCharacterProfileSummaryResponse, PvpLeaderboardIndexResponse, PvpLeaderboardResponse, PvpRewardsIndexResponse, PvpSeasonIndexResponse, PvpSeasonResponse, PvpTalentIndexResponse, PvpTalentResponse, PvpTalentSlotsResponse, PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse, QuestAreaIndexResponse, QuestAreaResponse, QuestCategoryIndexResponse, QuestCategoryResponse, QuestIndexResponse, QuestResponse, QuestTypeIndexResponse, QuestTypeResponse, RealmCategory, RealmIndexResponse, RealmLocales, RealmResponse, RealmSearchParameters, RealmSearchResponse, RealmTimezone, RealmTypeCapitalized, RecipeMediaResponse, RecipeResponse, RegionIndexResponse, RegionResponse, ReputationFactionIndexResponse, ReputationFactionResponse, ReputationTiersIndexResponse, ReputationTiersResponse, RoomIndexReponse, RoomResponse, RoomSearchResponse, SoulbindIndexResponse, SoulbindResponse, SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponse, TalentIndexResponse, TalentResponse, TalentTreeIndexResponse, TalentTreeNodesResponse, TalentTreeResponse, TechTalentIndexResponse, TechTalentMediaResponse, TechTalentResponse, TechTalentTreeIndexResponse, TechTalentTreeResponse, TitleIndexResponse, TitleResponse, ToyIndexResponse, ToyResponse, WowTokenResponse, accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpBracketStatistics, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, decor, decorIndex, decorSearch, wow as default, wow, fixture, fixtureHook, fixtureHookIndex, fixtureHookSearch, fixtureIndex, fixtureSearch, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, protectedCharacterProfileSummary, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, room, roomIndex, roomSearch, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wowToken };
259
259
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import { a as journalExpansionIndex, c as journalInstanceMedia, i as journalExpansion, n as journalEncounterIndex, o as journalInstance, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter } from "../index-Do1l3j1C.js";
1
+ import { a as journalExpansionIndex, c as journalInstanceMedia, i as journalExpansion, n as journalEncounterIndex, o as journalInstance, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter } from "../index-CnUQDcQw.js";
2
2
  export { journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia };
@@ -1,2 +1,2 @@
1
- import { n as mythicKeystoneLeaderboardIndex, t as mythicKeystoneLeaderboard } from "../index-CQXTvcKu2.js";
1
+ import { n as mythicKeystoneLeaderboardIndex, t as mythicKeystoneLeaderboard } from "../index-D8aCcItd2.js";
2
2
  export { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex };
@@ -1,2 +1,2 @@
1
- import { t as mythicRaidLeaderboard } from "../index-8go905Or2.js";
1
+ import { t as mythicRaidLeaderboard } from "../index-Awzmubcb2.js";
2
2
  export { mythicRaidLeaderboard };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-raid-leaderboard/index.ts"],"sourcesContent":["import type { Factions, Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { MythicRaidLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Raid leaderboard by raid and faction.\n * @param raid The slug of the raid.\n * @param faction The faction. Either 'alliance' or 'horde'.\n * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.\n */\nexport function mythicRaidLeaderboard(\n raid: string,\n faction: Lowercase<Factions>,\n): Resource<MythicRaidLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/leaderboard/hall-of-fame/${raid}/${faction}`,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,sBACd,MACA,SACyC;CACzC,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,4BAA4B,KAAK,GAAG;EAC1D"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-raid-leaderboard/index.ts"],"sourcesContent":["import type { NonNeutralFactions, Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { KnownRaidSlugs, MythicRaidLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Raid leaderboard by raid and faction.\n * @param raid The slug of the raid.\n * @param faction The faction. Either 'alliance' or 'horde'.\n * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.\n */\nexport function mythicRaidLeaderboard(\n raid: KnownRaidSlugs,\n faction: Lowercase<NonNeutralFactions>,\n): Resource<MythicRaidLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/leaderboard/hall-of-fame/${raid}/${faction}`,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,sBACd,MACA,SACyC;CACzC,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,4BAA4B,KAAK,GAAG;EAC1D"}
@@ -1,2 +1,2 @@
1
- import { a as pvpSeasonIndex, i as pvpSeason, n as pvpLeaderboardIndex, r as pvpRewardsIndex, t as pvpLeaderboard } from "../index-Cry2-cm82.js";
1
+ import { a as pvpSeasonIndex, i as pvpSeason, n as pvpLeaderboardIndex, r as pvpRewardsIndex, t as pvpLeaderboard } from "../index-BlLUJk4H2.js";
2
2
  export { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blizzard-api/wow",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "license": "MIT",
5
5
  "author": "Putro",
6
6
  "description": "A series of helpers to interact with the World of Warcraft Blizzard API",
@@ -43,10 +43,10 @@
43
43
  ],
44
44
  "dependencies": {},
45
45
  "peerDependencies": {
46
- "@blizzard-api/core": "4.0.0"
46
+ "@blizzard-api/core": "4.1.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@blizzard-api/core": "4.0.0"
49
+ "@blizzard-api/core": "4.1.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsdown",