@blizzard-api/wow 4.0.2 → 4.0.3

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 { 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
@@ -34,15 +34,15 @@ import { a as modifiedCraftingReagentSlotTypeIndex, c as ModifiedCraftingIndexRe
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 { 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.3",
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",