@blizzard-api/wow 4.1.5 → 4.2.0
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/account-profile/index.d.ts +2 -2
- package/dist/account-profile/index.js +22 -10
- package/dist/account-profile/index.js.map +1 -1
- package/dist/character-achievements/index.js +3 -3
- package/dist/character-achievements/index.js.map +1 -1
- package/dist/character-collections/index.d.ts +2 -2
- package/dist/character-collections/index.js +19 -8
- package/dist/character-collections/index.js.map +1 -1
- package/dist/character-equipment/index.d.ts +1 -1
- package/dist/character-house/index.d.ts +2 -0
- package/dist/character-house/index.js +22 -0
- package/dist/character-house/index.js.map +1 -0
- package/dist/character-mythic-keystone-profile/index.d.ts +1 -1
- package/dist/connected-realm/index.d.ts +1 -1
- package/dist/guild/index.js +5 -5
- package/dist/guild/index.js.map +1 -1
- package/dist/{index-Ci1BPWNY.d.ts → index-6pDXsXr6.d.ts} +2 -2
- package/dist/index-BlmuhVLr.d.ts +45 -0
- package/dist/index-CAAhdmK-.d.ts +25 -0
- package/dist/{index-D2V0A1GF.d.ts → index-CEF2RBas.d.ts} +2 -2
- package/dist/index-CcOUGucU.d.ts +121 -0
- package/dist/{index-BYi-k0bg.d.ts → index-D4WW7V4l.d.ts} +5 -11
- package/dist/{index-XAI3xA9N.d.ts → index-DdmXkF2F.d.ts} +5 -15
- package/dist/{index-DPaRi4Ld.d.ts → index-DxnUqJGs.d.ts} +3 -3
- package/dist/{index-CNnXwh3U.d.ts → index-DxnfWpb6.d.ts} +21 -21
- package/dist/{index-BSld_0Rf.d.ts → index-DyhS61bj.d.ts} +2 -2
- package/dist/{index-DE8VhwEW.d.ts → index-FuJJlGI3.d.ts} +24 -26
- package/dist/index.d.ts +25 -9
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/dist/item-appearance/index.d.ts +2 -0
- package/dist/item-appearance/index.js +74 -0
- package/dist/item-appearance/index.js.map +1 -0
- package/dist/neighborhood-map/index.d.ts +2 -0
- package/dist/neighborhood-map/index.js +38 -0
- package/dist/neighborhood-map/index.js.map +1 -0
- package/dist/pet/index.d.ts +1 -1
- package/dist/quest/index.d.ts +1 -1
- package/dist/reputations/index.d.ts +1 -1
- package/dist/types-BihzpfkI.d.ts +18 -0
- package/package.json +3 -3
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n accountCollectionsIndex,\n accountHeirloomsCollectionSummary,\n accountMountsCollectionSummary,\n accountPetsCollectionSummary,\n accountProfileSummary,\n accountToysCollectionSummary,\n accountTransmogsCollectionSummary,\n protectedCharacterProfileSummary,\n} from './account-profile/index';\nimport {\n achievement,\n achievementCategory,\n achievementCategoryIndex,\n achievementIndex,\n achievementMedia,\n} from './achievements/index';\nimport { auctions, commodities } from './auction-house/index';\nimport {\n azeriteEssence,\n azeriteEssenceIndex,\n azeriteEssenceMedia,\n azeriteEssenceSearch,\n} from './azerite-essence/index';\nimport { characterAchievementsSummary, characterAchievementStatistics } from './character-achievements/index';\nimport { characterAppearanceSummary } from './character-appearance/index';\nimport {\n characterCollectionsIndex,\n characterHeirloomsCollectionSummary,\n characterMountsCollectionSummary,\n characterPetsCollectionSummary,\n characterToysCollectionSummary,\n characterTransmogCollectionSummary,\n} from './character-collections/index';\nimport { characterDungeons, characterEncountersSummary, characterRaids } from './character-encounters/index';\nimport { characterEquipmentSummary } from './character-equipment/index';\nimport { characterHunterPetsSummary } from './character-hunter-pets/index';\nimport { characterMediaSummary } from './character-media/index';\nimport {\n characterMythicKeystoneProfileIndex,\n characterMythicKeystoneSeasonDetails,\n} from './character-mythic-keystone-profile/index';\nimport { characterProfessionsSummary } from './character-professions/index';\nimport { characterProfileStatus, characterProfileSummary } from './character-profile/index';\nimport { characterPvpBracketStatistics, characterPvpSummary } from './character-pvp/index';\nimport { characterCompletedQuests, characterQuests } from './character-quests/index';\nimport { characterReputationsSummary } from './character-reputations/index';\nimport { characterSoulbinds } from './character-soulbinds/index';\nimport { characterSpecializationsSummary } from './character-specializations/index';\nimport { characterStatisticsSummary } from './character-statistics/index';\nimport { characterTitlesSummary } from './character-titles/index';\nimport { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/index';\nimport {\n conduit,\n conduitIndex,\n covenant,\n covenantIndex,\n covenantMedia,\n soulbind,\n soulbindIndex,\n} from './covenant/index';\nimport {\n creature,\n creatureDisplayMedia,\n creatureFamily,\n creatureFamilyIndex,\n creatureFamilyMedia,\n creatureSearch,\n creatureType,\n creatureTypeIndex,\n} from './creature/index';\nimport { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/index';\nimport { guild, guildAchievements, guildActivity, guildRoster } from './guild/index';\nimport { heirloom, heirloomIndex } from './heirloom/index';\nimport {\n decor,\n decorIndex,\n decorSearch,\n fixture,\n fixtureHook,\n fixtureHookIndex,\n fixtureHookSearch,\n fixtureIndex,\n fixtureSearch,\n room,\n roomIndex,\n roomSearch,\n} from './housing-decor/index';\nimport {\n item,\n itemClass,\n itemClassIndex,\n itemMedia,\n itemSearch,\n itemSet,\n itemSetIndex,\n itemSubclass,\n} from './item/index';\nimport {\n journalEncounter,\n journalEncounterIndex,\n journalEncounterSearch,\n journalExpansion,\n journalExpansionIndex,\n journalInstance,\n journalInstanceIndex,\n journalInstanceMedia,\n} from './journal/index';\nimport { mediaSearch } from './media-search/index';\nimport {\n modifiedCraftingCategory,\n modifiedCraftingCategoryIndex,\n modifiedCraftingIndex,\n modifiedCraftingReagentSlotType,\n modifiedCraftingReagentSlotTypeIndex,\n} from './modified-crafting/index';\nimport { mount, mountIndex, mountSearch } from './mount/index';\nimport { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia } from './mythic-keystone-affix/index';\nimport {\n mythicKeystoneDungeon,\n mythicKeystoneDungeonIndex,\n mythicKeystoneIndex,\n mythicKeystonePeriod,\n mythicKeystonePeriodIndex,\n mythicKeystoneSeason,\n mythicKeystoneSeasonIndex,\n} from './mythic-keystone-dungeon/index';\nimport { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex } from './mythic-keystone-leaderboard/index';\nimport { mythicRaidLeaderboard } from './mythic-raid-leaderboard/index';\nimport { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia } from './pet/index';\nimport { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots } from './playable-class/index';\nimport { playableRace, playableRaceIndex } from './playable-race/index';\nimport {\n playableSpecialization,\n playableSpecializationIndex,\n playableSpecializationMedia,\n} from './playable-specialization/index';\nimport { powerType, powerTypeIndex } from './power-type/index';\nimport {\n profession,\n professionIndex,\n professionMedia,\n professionSkillTier,\n recipe,\n recipeMedia,\n} from './profession/index';\nimport { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex } from './pvp-season/index';\nimport { pvpTier, pvpTierIndex, pvpTierMedia } from './pvp-tier/index';\nimport {\n quest,\n questArea,\n questAreaIndex,\n questCategory,\n questCategoryIndex,\n questIndex,\n questType,\n questTypeIndex,\n} from './quest/index';\nimport { realm, realmIndex, realmSearch } from './realm/index';\nimport { region, regionIndex } from './region/index';\nimport { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex } from './reputations/index';\nimport { spell, spellMedia, spellSearch } from './spell/index';\nimport {\n pvpTalent,\n pvpTalentIndex,\n talent,\n talentIndex,\n talentTree,\n talentTreeIndex,\n talentTreeNodes,\n} from './talent/index';\nimport { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex } from './tech-talent/index';\nimport { title, titleIndex } from './title/index';\nimport { toy, toyIndex } from './toy/index';\nimport { wowToken } from './wow-token/index';\n\n/**\n * The Blizzard API for World of Warcraft.\n * @see https://develop.battle.net/documentation/world-of-warcraft\n */\nconst wow = {\n //Account Profile\n accountCollectionsIndex,\n accountHeirloomsCollectionSummary,\n accountMountsCollectionSummary,\n accountPetsCollectionSummary,\n accountProfileSummary,\n accountToysCollectionSummary,\n accountTransmogsCollectionSummary,\n protectedCharacterProfileSummary,\n //Achievements\n achievement,\n achievementCategory,\n achievementCategoryIndex,\n achievementIndex,\n achievementMedia,\n //Auction House\n auctions,\n commodities,\n //Azerite Essence\n azeriteEssence,\n azeriteEssenceIndex,\n azeriteEssenceMedia,\n azeriteEssenceSearch,\n //Character Achievements\n characterAchievementsSummary,\n characterAchievementStatistics,\n //Character Appearance\n characterAppearanceSummary,\n //Character Collections\n characterCollectionsIndex,\n characterHeirloomsCollectionSummary,\n characterMountsCollectionSummary,\n characterPetsCollectionSummary,\n characterToysCollectionSummary,\n characterTransmogCollectionSummary,\n //Character Encounters\n characterDungeons,\n characterEncountersSummary,\n characterRaids,\n //Character Equipment\n characterEquipmentSummary,\n //Character Hunter Pets\n characterHunterPetsSummary,\n //Character Media\n characterMediaSummary,\n //Character Mythic Keystone Profile\n characterMythicKeystoneProfileIndex,\n characterMythicKeystoneSeasonDetails,\n //Character Professions\n characterProfessionsSummary,\n //Character Profile\n characterProfileStatus,\n characterProfileSummary,\n //Character PvP\n characterPvpBracketStatistics,\n characterPvpSummary,\n //Character Quests\n characterCompletedQuests,\n characterQuests,\n //Character Reputations\n characterReputationsSummary,\n //Character Soulbinds\n characterSoulbinds,\n //Character Specializations\n characterSpecializationsSummary,\n //Character Statistics\n characterStatisticsSummary,\n //Character Titles\n characterTitlesSummary,\n //Connected Realm\n connectedRealm,\n connectedRealmIndex,\n connectedRealmSearch,\n //Covenant\n conduit,\n conduitIndex,\n covenant,\n covenantIndex,\n covenantMedia,\n soulbind,\n soulbindIndex,\n //Creature\n creature,\n creatureDisplayMedia,\n creatureFamily,\n creatureFamilyIndex,\n creatureFamilyMedia,\n creatureSearch,\n creatureType,\n creatureTypeIndex,\n //Guild\n guild,\n guildAchievements,\n guildActivity,\n guildRoster,\n //Guild Crest\n guildCrestBorder,\n guildCrestComponentsIndex,\n guildCrestEmblem,\n //Heirloom\n heirloom,\n heirloomIndex,\n //Housing Decor\n decor,\n decorIndex,\n decorSearch,\n fixture,\n fixtureHook,\n fixtureHookIndex,\n fixtureHookSearch,\n fixtureIndex,\n fixtureSearch,\n room,\n roomIndex,\n roomSearch,\n //Item\n item,\n itemClass,\n itemClassIndex,\n itemMedia,\n itemSearch,\n itemSet,\n itemSetIndex,\n itemSubclass,\n //Journal\n journalEncounter,\n journalEncounterIndex,\n journalEncounterSearch,\n journalExpansion,\n journalExpansionIndex,\n journalInstance,\n journalInstanceIndex,\n journalInstanceMedia,\n //Media Search\n mediaSearch,\n //Modified Crafting\n modifiedCraftingCategory,\n modifiedCraftingCategoryIndex,\n modifiedCraftingIndex,\n modifiedCraftingReagentSlotType,\n modifiedCraftingReagentSlotTypeIndex,\n //Mount\n mount,\n mountIndex,\n mountSearch,\n //Mythic Keystone Affix\n mythicKeystoneAffix,\n mythicKeystoneAffixIndex,\n mythicKeystoneAffixMedia,\n //Mythic Keystone Dungeon\n mythicKeystoneDungeon,\n mythicKeystoneDungeonIndex,\n mythicKeystoneIndex,\n mythicKeystonePeriod,\n mythicKeystonePeriodIndex,\n mythicKeystoneSeason,\n mythicKeystoneSeasonIndex,\n //Mythic Keystone Leaderboard\n mythicKeystoneLeaderboard,\n mythicKeystoneLeaderboardIndex,\n //Mythic Raid Leaderboard\n mythicRaidLeaderboard,\n //Pet\n pet,\n petAbility,\n petAbilityIndex,\n petAbilityMedia,\n petIndex,\n petMedia,\n //Playable Class\n playableClass,\n playableClassIndex,\n playableClassMedia,\n pvpTalentSlots,\n //Playable\n playableRace,\n playableRaceIndex,\n //Playable Specialization\n playableSpecialization,\n playableSpecializationIndex,\n playableSpecializationMedia,\n //Power Type\n powerType,\n powerTypeIndex,\n //Profession\n profession,\n professionIndex,\n professionMedia,\n professionSkillTier,\n recipe,\n recipeMedia,\n //Pvp Season\n pvpLeaderboard,\n pvpLeaderboardIndex,\n pvpRewardsIndex,\n pvpSeason,\n pvpSeasonIndex,\n //Pvp Tier\n pvpTier,\n pvpTierIndex,\n pvpTierMedia,\n //Quest\n quest,\n questArea,\n questAreaIndex,\n questCategory,\n questCategoryIndex,\n questIndex,\n questType,\n questTypeIndex,\n //Realm\n realm,\n realmIndex,\n realmSearch,\n //Region\n region,\n regionIndex,\n //Reputations\n reputationFaction,\n reputationFactionIndex,\n reputationTiers,\n reputationTiersIndex,\n //Spell\n spell,\n spellMedia,\n spellSearch,\n //Talent\n pvpTalent,\n pvpTalentIndex,\n talent,\n talentIndex,\n talentTree,\n talentTreeIndex,\n talentTreeNodes,\n //Tech Talent\n techTalent,\n techTalentIndex,\n techTalentMedia,\n techTalentTree,\n techTalentTreeIndex,\n //Title\n title,\n titleIndex,\n //Toy\n toy,\n toyIndex,\n //WoW Token\n wowToken,\n};\nexport default wow;\nexport { wow };\n\n//Account Profile\nexport * from './account-profile/index';\nexport type * from './account-profile/types';\n//Achievements\nexport * from './achievements/index';\nexport type * from './achievements/types';\n//Auction House\nexport * from './auction-house/index';\nexport type * from './auction-house/types';\n//Azerite Essence\nexport * from './azerite-essence/index';\nexport type * from './azerite-essence/types';\n//Character Achievements\nexport * from './character-achievements/index';\nexport type * from './character-achievements/types';\n//Character Appearance\nexport * from './character-appearance/index';\nexport type * from './character-appearance/types';\n//Character Collections\nexport * from './character-collections/index';\nexport type * from './character-collections/types';\n//Character Encounters\nexport * from './character-encounters/index';\nexport type * from './character-encounters/types';\n//Character Equipment\nexport * from './character-equipment/index';\nexport type * from './character-equipment/types';\n//Character Hunter Pets\nexport * from './character-hunter-pets/index';\nexport type * from './character-hunter-pets/types';\n//Character Media\nexport * from './character-media/index';\nexport type * from './character-media/types';\n//Character Mythic Keystone Profile\nexport * from './character-mythic-keystone-profile/index';\nexport type * from './character-mythic-keystone-profile/types';\n//Character Professions\nexport * from './character-professions/index';\nexport type * from './character-professions/types';\n//Character Profile\nexport * from './character-profile/index';\nexport type * from './character-profile/types';\n//Character PvP\nexport * from './character-pvp/index';\nexport type * from './character-pvp/types';\n//Character Quests\nexport * from './character-quests/index';\nexport type * from './character-quests/types';\n//Character Reputations\nexport * from './character-reputations/index';\nexport type * from './character-reputations/types';\n//Character Soulbinds\nexport * from './character-soulbinds/index';\nexport type * from './character-soulbinds/types';\n//Character Specializations\nexport * from './character-specializations/index';\nexport type * from './character-specializations/types';\n//Character Statistics\nexport * from './character-statistics/index';\nexport type * from './character-statistics/types';\n//Character Titles\nexport * from './character-titles/index';\nexport type * from './character-titles/types';\n//Connected Realm\nexport * from './connected-realm/index';\nexport type * from './connected-realm/types';\n//Covenant\nexport * from './covenant/index';\nexport type * from './covenant/types';\n//Creature\nexport * from './creature/index';\nexport type * from './creature/types';\n//Guild\nexport * from './guild/index';\nexport type * from './guild/types';\n//Guild Crest\nexport * from './guild-crest/index';\nexport type * from './guild-crest/types';\n//Heirloom\nexport * from './heirloom/index';\nexport type * from './heirloom/types';\n//Housing Decor\nexport * from './housing-decor/index';\nexport type * from './housing-decor/types';\n//Item\nexport * from './item/index';\nexport type * from './item/types';\n//Journal\nexport * from './journal/index';\nexport type * from './journal/types';\n//Media Search\nexport * from './media-search/index';\nexport type * from './media-search/types';\n//Modified Crafting\nexport * from './modified-crafting/index';\nexport type * from './modified-crafting/types';\n//Mount\nexport * from './mount/index';\nexport type * from './mount/types';\n//Mythic Keystone Affix\nexport * from './mythic-keystone-affix/index';\nexport type * from './mythic-keystone-affix/types';\n//Mythic Keystone Dungeon\nexport * from './mythic-keystone-dungeon/index';\nexport type * from './mythic-keystone-dungeon/types';\n//Mythic Keystone Leaderboard\nexport * from './mythic-keystone-leaderboard/index';\nexport type * from './mythic-keystone-leaderboard/types';\n//Mythic Raid Leaderboard\nexport * from './mythic-raid-leaderboard/index';\nexport type * from './mythic-raid-leaderboard/types';\n//Pet\nexport * from './pet/index';\nexport type * from './pet/types';\n//Playable Class\nexport * from './playable-class/index';\nexport type * from './playable-class/types';\n//Playable Race\nexport * from './playable-race/index';\nexport type * from './playable-race/types';\n//Playable Specialization\nexport * from './playable-specialization/index';\nexport type * from './playable-specialization/types';\n//Power Type\nexport * from './power-type/index';\nexport type * from './power-type/types';\n//Profession\nexport * from './profession/index';\nexport type * from './profession/types';\n//Pvp Season\nexport * from './pvp-season/index';\nexport type * from './pvp-season/types';\n//Pvp Tier\nexport * from './pvp-tier/index';\nexport type * from './pvp-tier/types';\n//Quest\nexport * from './quest/index';\nexport type * from './quest/types';\n//Realm\nexport * from './realm/index';\nexport type * from './realm/types';\n//Region\nexport * from './region/index';\nexport type * from './region/types';\n//Reputations\nexport * from './reputations/index';\nexport type * from './reputations/types';\n//Spell\nexport * from './spell/index';\nexport type * from './spell/types';\n//Talent\nexport * from './talent/index';\nexport type * from './talent/types';\n//Tech Talent\nexport * from './tech-talent/index';\nexport type * from './tech-talent/types';\n//Title\nexport * from './title/index';\nexport type * from './title/types';\n//Toy\nexport * from './toy/index';\nexport type * from './toy/types';\n//WoW Token\nexport * from './wow-token/index';\nexport type * from './wow-token/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoLA,MAAM,MAAM;CAEV;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CAEA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CAEA;CAEA;CAEA;CACA;CAEA;CAEA;CACA;CAEA;CACA;CAEA;CACA;CAEA;CAEA;CAEA;CAEA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CAEA;AACF"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n accountCollectionsIndex,\n accountDecorCollection,\n accountHeirloomsCollectionSummary,\n accountMountsCollectionSummary,\n accountPetsCollectionSummary,\n accountProfileSummary,\n accountToysCollectionSummary,\n accountTransmogsCollectionSummary,\n protectedCharacterProfileSummary,\n} from './account-profile/index';\nimport {\n achievement,\n achievementCategory,\n achievementCategoryIndex,\n achievementIndex,\n achievementMedia,\n} from './achievements/index';\nimport { auctions, commodities } from './auction-house/index';\nimport {\n azeriteEssence,\n azeriteEssenceIndex,\n azeriteEssenceMedia,\n azeriteEssenceSearch,\n} from './azerite-essence/index';\nimport { characterAchievementsSummary, characterAchievementStatistics } from './character-achievements/index';\nimport { characterAppearanceSummary } from './character-appearance/index';\nimport {\n characterCollectionDecor,\n characterCollectionsIndex,\n characterHeirloomsCollectionSummary,\n characterMountsCollectionSummary,\n characterPetsCollectionSummary,\n characterToysCollectionSummary,\n characterTransmogCollectionSummary,\n} from './character-collections/index';\nimport { characterDungeons, characterEncountersSummary, characterRaids } from './character-encounters/index';\nimport { characterEquipmentSummary } from './character-equipment/index';\nimport { characterHouse } from './character-house/index';\nimport { characterHunterPetsSummary } from './character-hunter-pets/index';\nimport { characterMediaSummary } from './character-media/index';\nimport {\n characterMythicKeystoneProfileIndex,\n characterMythicKeystoneSeasonDetails,\n} from './character-mythic-keystone-profile/index';\nimport { characterProfessionsSummary } from './character-professions/index';\nimport { characterProfileStatus, characterProfileSummary } from './character-profile/index';\nimport { characterPvpBracketStatistics, characterPvpSummary } from './character-pvp/index';\nimport { characterCompletedQuests, characterQuests } from './character-quests/index';\nimport { characterReputationsSummary } from './character-reputations/index';\nimport { characterSoulbinds } from './character-soulbinds/index';\nimport { characterSpecializationsSummary } from './character-specializations/index';\nimport { characterStatisticsSummary } from './character-statistics/index';\nimport { characterTitlesSummary } from './character-titles/index';\nimport { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/index';\nimport {\n conduit,\n conduitIndex,\n covenant,\n covenantIndex,\n covenantMedia,\n soulbind,\n soulbindIndex,\n} from './covenant/index';\nimport {\n creature,\n creatureDisplayMedia,\n creatureFamily,\n creatureFamilyIndex,\n creatureFamilyMedia,\n creatureSearch,\n creatureType,\n creatureTypeIndex,\n} from './creature/index';\nimport { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/index';\nimport { guild, guildAchievements, guildActivity, guildRoster } from './guild/index';\nimport { heirloom, heirloomIndex } from './heirloom/index';\nimport {\n decor,\n decorIndex,\n decorSearch,\n fixture,\n fixtureHook,\n fixtureHookIndex,\n fixtureHookSearch,\n fixtureIndex,\n fixtureSearch,\n room,\n roomIndex,\n roomSearch,\n} from './housing-decor/index';\nimport {\n itemAppearance,\n itemAppearanceSearch,\n itemAppearanceSet,\n itemAppearanceSetIndex,\n itemAppearanceSlot,\n itemAppearanceSlotIndex,\n} from './item-appearance/index';\nimport {\n item,\n itemClass,\n itemClassIndex,\n itemMedia,\n itemSearch,\n itemSet,\n itemSetIndex,\n itemSubclass,\n} from './item/index';\nimport {\n journalEncounter,\n journalEncounterIndex,\n journalEncounterSearch,\n journalExpansion,\n journalExpansionIndex,\n journalInstance,\n journalInstanceIndex,\n journalInstanceMedia,\n} from './journal/index';\nimport { mediaSearch } from './media-search/index';\nimport {\n modifiedCraftingCategory,\n modifiedCraftingCategoryIndex,\n modifiedCraftingIndex,\n modifiedCraftingReagentSlotType,\n modifiedCraftingReagentSlotTypeIndex,\n} from './modified-crafting/index';\nimport { mount, mountIndex, mountSearch } from './mount/index';\nimport { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia } from './mythic-keystone-affix/index';\nimport {\n mythicKeystoneDungeon,\n mythicKeystoneDungeonIndex,\n mythicKeystoneIndex,\n mythicKeystonePeriod,\n mythicKeystonePeriodIndex,\n mythicKeystoneSeason,\n mythicKeystoneSeasonIndex,\n} from './mythic-keystone-dungeon/index';\nimport { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex } from './mythic-keystone-leaderboard/index';\nimport { mythicRaidLeaderboard } from './mythic-raid-leaderboard/index';\nimport { neighborhood, neighborhoodMap, neighborhoodMaps } from './neighborhood-map/index';\nimport { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia } from './pet/index';\nimport { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots } from './playable-class/index';\nimport { playableRace, playableRaceIndex } from './playable-race/index';\nimport {\n playableSpecialization,\n playableSpecializationIndex,\n playableSpecializationMedia,\n} from './playable-specialization/index';\nimport { powerType, powerTypeIndex } from './power-type/index';\nimport {\n profession,\n professionIndex,\n professionMedia,\n professionSkillTier,\n recipe,\n recipeMedia,\n} from './profession/index';\nimport { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex } from './pvp-season/index';\nimport { pvpTier, pvpTierIndex, pvpTierMedia } from './pvp-tier/index';\nimport {\n quest,\n questArea,\n questAreaIndex,\n questCategory,\n questCategoryIndex,\n questIndex,\n questType,\n questTypeIndex,\n} from './quest/index';\nimport { realm, realmIndex, realmSearch } from './realm/index';\nimport { region, regionIndex } from './region/index';\nimport { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex } from './reputations/index';\nimport { spell, spellMedia, spellSearch } from './spell/index';\nimport {\n pvpTalent,\n pvpTalentIndex,\n talent,\n talentIndex,\n talentTree,\n talentTreeIndex,\n talentTreeNodes,\n} from './talent/index';\nimport { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex } from './tech-talent/index';\nimport { title, titleIndex } from './title/index';\nimport { toy, toyIndex } from './toy/index';\nimport { wowToken } from './wow-token/index';\n\n/**\n * The Blizzard API for World of Warcraft.\n * @see https://develop.battle.net/documentation/world-of-warcraft\n */\nconst wow = {\n //Account Profile\n accountCollectionsIndex,\n accountDecorCollection,\n accountHeirloomsCollectionSummary,\n accountMountsCollectionSummary,\n accountPetsCollectionSummary,\n accountProfileSummary,\n accountToysCollectionSummary,\n accountTransmogsCollectionSummary,\n protectedCharacterProfileSummary,\n //Achievements\n achievement,\n achievementCategory,\n achievementCategoryIndex,\n achievementIndex,\n achievementMedia,\n //Auction House\n auctions,\n commodities,\n //Azerite Essence\n azeriteEssence,\n azeriteEssenceIndex,\n azeriteEssenceMedia,\n azeriteEssenceSearch,\n //Character Achievements\n characterAchievementsSummary,\n characterAchievementStatistics,\n //Character Appearance\n characterAppearanceSummary,\n //Character Collections\n characterCollectionDecor,\n characterCollectionsIndex,\n characterHeirloomsCollectionSummary,\n characterMountsCollectionSummary,\n characterPetsCollectionSummary,\n characterToysCollectionSummary,\n characterTransmogCollectionSummary,\n //Character Encounters\n characterDungeons,\n characterEncountersSummary,\n characterRaids,\n //Character Equipment\n characterEquipmentSummary,\n //Character House\n characterHouse,\n //Character Hunter Pets\n characterHunterPetsSummary,\n //Character Media\n characterMediaSummary,\n //Character Mythic Keystone Profile\n characterMythicKeystoneProfileIndex,\n characterMythicKeystoneSeasonDetails,\n //Character Professions\n characterProfessionsSummary,\n //Character Profile\n characterProfileStatus,\n characterProfileSummary,\n //Character PvP\n characterPvpBracketStatistics,\n characterPvpSummary,\n //Character Quests\n characterCompletedQuests,\n characterQuests,\n //Character Reputations\n characterReputationsSummary,\n //Character Soulbinds\n characterSoulbinds,\n //Character Specializations\n characterSpecializationsSummary,\n //Character Statistics\n characterStatisticsSummary,\n //Character Titles\n characterTitlesSummary,\n //Connected Realm\n connectedRealm,\n connectedRealmIndex,\n connectedRealmSearch,\n //Covenant\n conduit,\n conduitIndex,\n covenant,\n covenantIndex,\n covenantMedia,\n soulbind,\n soulbindIndex,\n //Creature\n creature,\n creatureDisplayMedia,\n creatureFamily,\n creatureFamilyIndex,\n creatureFamilyMedia,\n creatureSearch,\n creatureType,\n creatureTypeIndex,\n //Guild\n guild,\n guildAchievements,\n guildActivity,\n guildRoster,\n //Guild Crest\n guildCrestBorder,\n guildCrestComponentsIndex,\n guildCrestEmblem,\n //Heirloom\n heirloom,\n heirloomIndex,\n //Housing Decor\n decor,\n decorIndex,\n decorSearch,\n fixture,\n fixtureHook,\n fixtureHookIndex,\n fixtureHookSearch,\n fixtureIndex,\n fixtureSearch,\n room,\n roomIndex,\n roomSearch,\n //Item\n item,\n itemClass,\n itemClassIndex,\n itemMedia,\n itemSearch,\n itemSet,\n itemSetIndex,\n itemSubclass,\n //Item Appearance\n itemAppearance,\n itemAppearanceSearch,\n itemAppearanceSet,\n itemAppearanceSetIndex,\n itemAppearanceSlot,\n itemAppearanceSlotIndex,\n //Journal\n journalEncounter,\n journalEncounterIndex,\n journalEncounterSearch,\n journalExpansion,\n journalExpansionIndex,\n journalInstance,\n journalInstanceIndex,\n journalInstanceMedia,\n //Media Search\n mediaSearch,\n //Modified Crafting\n modifiedCraftingCategory,\n modifiedCraftingCategoryIndex,\n modifiedCraftingIndex,\n modifiedCraftingReagentSlotType,\n modifiedCraftingReagentSlotTypeIndex,\n //Mount\n mount,\n mountIndex,\n mountSearch,\n //Mythic Keystone Affix\n mythicKeystoneAffix,\n mythicKeystoneAffixIndex,\n mythicKeystoneAffixMedia,\n //Mythic Keystone Dungeon\n mythicKeystoneDungeon,\n mythicKeystoneDungeonIndex,\n mythicKeystoneIndex,\n mythicKeystonePeriod,\n mythicKeystonePeriodIndex,\n mythicKeystoneSeason,\n mythicKeystoneSeasonIndex,\n //Mythic Keystone Leaderboard\n mythicKeystoneLeaderboard,\n mythicKeystoneLeaderboardIndex,\n //Mythic Raid Leaderboard\n mythicRaidLeaderboard,\n //Neighborhood Map\n neighborhood,\n neighborhoodMap,\n neighborhoodMaps,\n //Pet\n pet,\n petAbility,\n petAbilityIndex,\n petAbilityMedia,\n petIndex,\n petMedia,\n //Playable Class\n playableClass,\n playableClassIndex,\n playableClassMedia,\n pvpTalentSlots,\n //Playable\n playableRace,\n playableRaceIndex,\n //Playable Specialization\n playableSpecialization,\n playableSpecializationIndex,\n playableSpecializationMedia,\n //Power Type\n powerType,\n powerTypeIndex,\n //Profession\n profession,\n professionIndex,\n professionMedia,\n professionSkillTier,\n recipe,\n recipeMedia,\n //Pvp Season\n pvpLeaderboard,\n pvpLeaderboardIndex,\n pvpRewardsIndex,\n pvpSeason,\n pvpSeasonIndex,\n //Pvp Tier\n pvpTier,\n pvpTierIndex,\n pvpTierMedia,\n //Quest\n quest,\n questArea,\n questAreaIndex,\n questCategory,\n questCategoryIndex,\n questIndex,\n questType,\n questTypeIndex,\n //Realm\n realm,\n realmIndex,\n realmSearch,\n //Region\n region,\n regionIndex,\n //Reputations\n reputationFaction,\n reputationFactionIndex,\n reputationTiers,\n reputationTiersIndex,\n //Spell\n spell,\n spellMedia,\n spellSearch,\n //Talent\n pvpTalent,\n pvpTalentIndex,\n talent,\n talentIndex,\n talentTree,\n talentTreeIndex,\n talentTreeNodes,\n //Tech Talent\n techTalent,\n techTalentIndex,\n techTalentMedia,\n techTalentTree,\n techTalentTreeIndex,\n //Title\n title,\n titleIndex,\n //Toy\n toy,\n toyIndex,\n //WoW Token\n wowToken,\n};\nexport default wow;\nexport { wow };\n\n//Shared\nexport type * from './shared/types';\n//Account Profile\nexport * from './account-profile/index';\nexport type * from './account-profile/types';\n//Achievements\nexport * from './achievements/index';\nexport type * from './achievements/types';\n//Auction House\nexport * from './auction-house/index';\nexport type * from './auction-house/types';\n//Azerite Essence\nexport * from './azerite-essence/index';\nexport type * from './azerite-essence/types';\n//Character Achievements\nexport * from './character-achievements/index';\nexport type * from './character-achievements/types';\n//Character Appearance\nexport * from './character-appearance/index';\nexport type * from './character-appearance/types';\n//Character Collections\nexport * from './character-collections/index';\nexport type * from './character-collections/types';\n//Character Encounters\nexport * from './character-encounters/index';\nexport type * from './character-encounters/types';\n//Character Equipment\nexport * from './character-equipment/index';\nexport type * from './character-equipment/types';\n//Character House\nexport * from './character-house/index';\nexport type * from './character-house/types';\n//Character Hunter Pets\nexport * from './character-hunter-pets/index';\nexport type * from './character-hunter-pets/types';\n//Character Media\nexport * from './character-media/index';\nexport type * from './character-media/types';\n//Character Mythic Keystone Profile\nexport * from './character-mythic-keystone-profile/index';\nexport type * from './character-mythic-keystone-profile/types';\n//Character Professions\nexport * from './character-professions/index';\nexport type * from './character-professions/types';\n//Character Profile\nexport * from './character-profile/index';\nexport type * from './character-profile/types';\n//Character PvP\nexport * from './character-pvp/index';\nexport type * from './character-pvp/types';\n//Character Quests\nexport * from './character-quests/index';\nexport type * from './character-quests/types';\n//Character Reputations\nexport * from './character-reputations/index';\nexport type * from './character-reputations/types';\n//Character Soulbinds\nexport * from './character-soulbinds/index';\nexport type * from './character-soulbinds/types';\n//Character Specializations\nexport * from './character-specializations/index';\nexport type * from './character-specializations/types';\n//Character Statistics\nexport * from './character-statistics/index';\nexport type * from './character-statistics/types';\n//Character Titles\nexport * from './character-titles/index';\nexport type * from './character-titles/types';\n//Connected Realm\nexport * from './connected-realm/index';\nexport type * from './connected-realm/types';\n//Covenant\nexport * from './covenant/index';\nexport type * from './covenant/types';\n//Creature\nexport * from './creature/index';\nexport type * from './creature/types';\n//Guild\nexport * from './guild/index';\nexport type * from './guild/types';\n//Guild Crest\nexport * from './guild-crest/index';\nexport type * from './guild-crest/types';\n//Heirloom\nexport * from './heirloom/index';\nexport type * from './heirloom/types';\n//Housing Decor\nexport * from './housing-decor/index';\nexport type * from './housing-decor/types';\n//Item\nexport * from './item/index';\nexport type * from './item/types';\n//Item Appearance\nexport * from './item-appearance/index';\nexport type * from './item-appearance/types';\n//Journal\nexport * from './journal/index';\nexport type * from './journal/types';\n//Media Search\nexport * from './media-search/index';\nexport type * from './media-search/types';\n//Modified Crafting\nexport * from './modified-crafting/index';\nexport type * from './modified-crafting/types';\n//Mount\nexport * from './mount/index';\nexport type * from './mount/types';\n//Mythic Keystone Affix\nexport * from './mythic-keystone-affix/index';\nexport type * from './mythic-keystone-affix/types';\n//Mythic Keystone Dungeon\nexport * from './mythic-keystone-dungeon/index';\nexport type * from './mythic-keystone-dungeon/types';\n//Mythic Keystone Leaderboard\nexport * from './mythic-keystone-leaderboard/index';\nexport type * from './mythic-keystone-leaderboard/types';\n//Mythic Raid Leaderboard\nexport * from './mythic-raid-leaderboard/index';\nexport type * from './mythic-raid-leaderboard/types';\n//Neighborhood Map\nexport * from './neighborhood-map/index';\nexport type * from './neighborhood-map/types';\n//Pet\nexport * from './pet/index';\nexport type * from './pet/types';\n//Playable Class\nexport * from './playable-class/index';\nexport type * from './playable-class/types';\n//Playable Race\nexport * from './playable-race/index';\nexport type * from './playable-race/types';\n//Playable Specialization\nexport * from './playable-specialization/index';\nexport type * from './playable-specialization/types';\n//Power Type\nexport * from './power-type/index';\nexport type * from './power-type/types';\n//Profession\nexport * from './profession/index';\nexport type * from './profession/types';\n//Pvp Season\nexport * from './pvp-season/index';\nexport type * from './pvp-season/types';\n//Pvp Tier\nexport * from './pvp-tier/index';\nexport type * from './pvp-tier/types';\n//Quest\nexport * from './quest/index';\nexport type * from './quest/types';\n//Realm\nexport * from './realm/index';\nexport type * from './realm/types';\n//Region\nexport * from './region/index';\nexport type * from './region/types';\n//Reputations\nexport * from './reputations/index';\nexport type * from './reputations/types';\n//Spell\nexport * from './spell/index';\nexport type * from './spell/types';\n//Talent\nexport * from './talent/index';\nexport type * from './talent/types';\n//Tech Talent\nexport * from './tech-talent/index';\nexport type * from './tech-talent/types';\n//Title\nexport * from './title/index';\nexport type * from './title/types';\n//Toy\nexport * from './toy/index';\nexport type * from './toy/types';\n//WoW Token\nexport * from './wow-token/index';\nexport type * from './wow-token/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgMA,MAAM,MAAM;CAEV;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CAEA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CAEA;CAEA;CAEA;CAEA;CACA;CAEA;CAEA;CACA;CAEA;CACA;CAEA;CACA;CAEA;CAEA;CAEA;CAEA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CAEA;AACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as itemAppearanceSlot, i as itemAppearanceSetIndex, n as itemAppearanceSearch, o as itemAppearanceSlotIndex, r as itemAppearanceSet, t as itemAppearance } from "../index-CcOUGucU.js";
|
|
2
|
+
export { itemAppearance, itemAppearanceSearch, itemAppearanceSet, itemAppearanceSetIndex, itemAppearanceSlot, itemAppearanceSlotIndex };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { wowBasePath, wowSearchBasePath } from "@blizzard-api/core";
|
|
2
|
+
// src/item-appearance/index.ts
|
|
3
|
+
/**
|
|
4
|
+
* Get an item appearance by ID.
|
|
5
|
+
* @param appearanceId The item appearance ID.
|
|
6
|
+
* @returns The item appearance. See {@link ItemAppearanceResponse}.
|
|
7
|
+
*/
|
|
8
|
+
function itemAppearance(appearanceId) {
|
|
9
|
+
return {
|
|
10
|
+
namespace: "static",
|
|
11
|
+
path: `${wowBasePath}/item-appearance/${appearanceId}`
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Search for item appearances.
|
|
16
|
+
* @param options The search parameters. See {@link ItemAppearanceSearchParameters}.
|
|
17
|
+
* @returns The search results. See {@link ItemAppearanceSearchResponse}.
|
|
18
|
+
*/
|
|
19
|
+
function itemAppearanceSearch(options) {
|
|
20
|
+
return {
|
|
21
|
+
namespace: "static",
|
|
22
|
+
parameters: {
|
|
23
|
+
_page: options._page,
|
|
24
|
+
id: options.id,
|
|
25
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
26
|
+
},
|
|
27
|
+
path: `${wowSearchBasePath}/item-appearance`
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Get an item appearance set by ID.
|
|
32
|
+
* @param appearanceSetId The item appearance set ID.
|
|
33
|
+
* @returns The item appearance set. See {@link ItemAppearanceSetResponse}.
|
|
34
|
+
*/
|
|
35
|
+
function itemAppearanceSet(appearanceSetId) {
|
|
36
|
+
return {
|
|
37
|
+
namespace: "static",
|
|
38
|
+
path: `${wowBasePath}/item-appearance/set/${appearanceSetId}`
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get an item appearance set index.
|
|
43
|
+
* @returns The item appearance set index. See {@link ItemAppearanceSetIndexResponse}.
|
|
44
|
+
*/
|
|
45
|
+
function itemAppearanceSetIndex() {
|
|
46
|
+
return {
|
|
47
|
+
namespace: "static",
|
|
48
|
+
path: `${wowBasePath}/item-appearance/set/index`
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get an item appearance slot by slot type.
|
|
53
|
+
* @param slotType The item appearance slot type.
|
|
54
|
+
* @returns The item appearance slot. See {@link ItemAppearanceSlotResponse}.
|
|
55
|
+
*/
|
|
56
|
+
function itemAppearanceSlot(slotType) {
|
|
57
|
+
return {
|
|
58
|
+
namespace: "static",
|
|
59
|
+
path: `${wowBasePath}/item-appearance/slot/${slotType}`
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get an item appearance slot index.
|
|
64
|
+
* @returns The item appearance slot index. See {@link ItemAppearanceSlotIndexResponse}.
|
|
65
|
+
*/
|
|
66
|
+
function itemAppearanceSlotIndex() {
|
|
67
|
+
return {
|
|
68
|
+
namespace: "static",
|
|
69
|
+
path: `${wowBasePath}/item-appearance/slot/index`
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
export { itemAppearance, itemAppearanceSearch, itemAppearanceSet, itemAppearanceSetIndex, itemAppearanceSlot, itemAppearanceSlotIndex };
|
|
73
|
+
|
|
74
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/item-appearance/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n ItemAppearanceResponse,\n ItemAppearanceSearchParameters,\n ItemAppearanceSearchResponse,\n ItemAppearanceSetIndexResponse,\n ItemAppearanceSetResponse,\n ItemAppearanceSlotIndexResponse,\n ItemAppearanceSlotResponse,\n ItemAppearanceSlotType,\n} from './types';\n\n/**\n * Get an item appearance by ID.\n * @param appearanceId The item appearance ID.\n * @returns The item appearance. See {@link ItemAppearanceResponse}.\n */\nexport function itemAppearance(appearanceId: number): Resource<ItemAppearanceResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/item-appearance/${appearanceId}`,\n };\n}\n/**\n * Search for item appearances.\n * @param options The search parameters. See {@link ItemAppearanceSearchParameters}.\n * @returns The search results. See {@link ItemAppearanceSearchResponse}.\n */\nexport function itemAppearanceSearch(\n options: ItemAppearanceSearchParameters,\n): Resource<ItemAppearanceSearchResponse, ItemAppearanceSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n id: options.id,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/item-appearance`,\n };\n}\n/**\n * Get an item appearance set by ID.\n * @param appearanceSetId The item appearance set ID.\n * @returns The item appearance set. See {@link ItemAppearanceSetResponse}.\n */\nexport function itemAppearanceSet(appearanceSetId: number): Resource<ItemAppearanceSetResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/item-appearance/set/${appearanceSetId}`,\n };\n}\n/**\n * Get an item appearance set index.\n * @returns The item appearance set index. See {@link ItemAppearanceSetIndexResponse}.\n */\nexport function itemAppearanceSetIndex(): Resource<ItemAppearanceSetIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/item-appearance/set/index`,\n };\n}\n/**\n * Get an item appearance slot by slot type.\n * @param slotType The item appearance slot type.\n * @returns The item appearance slot. See {@link ItemAppearanceSlotResponse}.\n */\nexport function itemAppearanceSlot(slotType: ItemAppearanceSlotType): Resource<ItemAppearanceSlotResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/item-appearance/slot/${slotType}`,\n };\n}\n/**\n * Get an item appearance slot index.\n * @returns The item appearance slot index. See {@link ItemAppearanceSlotIndexResponse}.\n */\nexport function itemAppearanceSlotIndex(): Resource<ItemAppearanceSlotIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/item-appearance/slot/index`,\n };\n}\n"],"mappings":";;;;;;;AAkBA,SAAgB,eAAe,cAAwD;CACrF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB;CAC1C;AACF;;;;;;AAMA,SAAgB,qBACd,SACwE;CACxE,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,IAAI,QAAQ;GACZ,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF;;;;;;AAMA,SAAgB,kBAAkB,iBAA8D;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,uBAAuB;CAC9C;AACF;;;;;AAKA,SAAgB,yBAAmE;CACjF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,mBAAmB,UAAwE;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,wBAAwB;CAC/C;AACF;;;;;AAKA,SAAgB,0BAAqE;CACnF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { wowBasePath } from "@blizzard-api/core";
|
|
2
|
+
// src/neighborhood-map/index.ts
|
|
3
|
+
/**
|
|
4
|
+
* Get an index of neighborhood maps.
|
|
5
|
+
* @returns The neighborhood map index. See {@link NeighborhoodMapIndexResponse}.
|
|
6
|
+
*/
|
|
7
|
+
function neighborhoodMaps() {
|
|
8
|
+
return {
|
|
9
|
+
namespace: "dynamic",
|
|
10
|
+
path: `${wowBasePath}/neighborhood-map/index`
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Get a neighborhood map by ID.
|
|
15
|
+
* @param neighborhoodMapId The neighborhood map ID.
|
|
16
|
+
* @returns The neighborhood map. See {@link NeighborhoodMapResponse}.
|
|
17
|
+
*/
|
|
18
|
+
function neighborhoodMap(neighborhoodMapId) {
|
|
19
|
+
return {
|
|
20
|
+
namespace: "dynamic",
|
|
21
|
+
path: `${wowBasePath}/neighborhood-map/${neighborhoodMapId}`
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get a neighborhood within a neighborhood map by ID.
|
|
26
|
+
* @param neighborhoodMapId The neighborhood map ID.
|
|
27
|
+
* @param neighborhoodId The neighborhood ID.
|
|
28
|
+
* @returns The neighborhood. See {@link NeighborhoodResponse}.
|
|
29
|
+
*/
|
|
30
|
+
function neighborhood(neighborhoodMapId, neighborhoodId) {
|
|
31
|
+
return {
|
|
32
|
+
namespace: "dynamic",
|
|
33
|
+
path: `${wowBasePath}/neighborhood-map/${neighborhoodMapId}/neighborhood/${neighborhoodId}`
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export { neighborhood, neighborhoodMap, neighborhoodMaps };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/neighborhood-map/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { NeighborhoodMapIndexResponse, NeighborhoodMapResponse, NeighborhoodResponse } from './types';\n\n/**\n * Get an index of neighborhood maps.\n * @returns The neighborhood map index. See {@link NeighborhoodMapIndexResponse}.\n */\nexport function neighborhoodMaps(): Resource<NeighborhoodMapIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/neighborhood-map/index`,\n };\n}\n\n/**\n * Get a neighborhood map by ID.\n * @param neighborhoodMapId The neighborhood map ID.\n * @returns The neighborhood map. See {@link NeighborhoodMapResponse}.\n */\nexport function neighborhoodMap(neighborhoodMapId: number): Resource<NeighborhoodMapResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/neighborhood-map/${neighborhoodMapId}`,\n };\n}\n\n/**\n * Get a neighborhood within a neighborhood map by ID.\n * @param neighborhoodMapId The neighborhood map ID.\n * @param neighborhoodId The neighborhood ID.\n * @returns The neighborhood. See {@link NeighborhoodResponse}.\n */\nexport function neighborhood(neighborhoodMapId: number, neighborhoodId: number): Resource<NeighborhoodResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/neighborhood-map/${neighborhoodMapId}/neighborhood/${neighborhoodId}`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,mBAA2D;CACzE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAOA,SAAgB,gBAAgB,mBAA8D;CAC5F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;CAC3C;AACF;;;;;;;AAQA,SAAgB,aAAa,mBAA2B,gBAAwD;CAC9G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB,kBAAkB,gBAAgB;CAC7E;AACF"}
|
package/dist/pet/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as petIndex, i as petAbilityMedia, n as petAbility, o as petMedia, r as petAbilityIndex, t as pet } from "../index-
|
|
1
|
+
import { a as petIndex, i as petAbilityMedia, n as petAbility, o as petMedia, r as petAbilityIndex, t as pet } from "../index-DxnUqJGs.js";
|
|
2
2
|
export { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia };
|
package/dist/quest/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as questCategoryIndex, c as questTypeIndex, i as questCategory, n as questArea, o as questIndex, r as questAreaIndex, s as questType, t as quest } from "../index-
|
|
1
|
+
import { a as questCategoryIndex, c as questTypeIndex, i as questCategory, n as questArea, o as questIndex, r as questAreaIndex, s as questType, t as quest } from "../index-DyhS61bj.js";
|
|
2
2
|
export { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reputationTiersIndex, n as reputationFactionIndex, r as reputationTiers, t as reputationFaction } from "../index-
|
|
1
|
+
import { i as reputationTiersIndex, n as reputationFactionIndex, r as reputationTiers, t as reputationFaction } from "../index-CEF2RBas.js";
|
|
2
2
|
export { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The quality attributes returned for a World of Warcraft battle pet.
|
|
3
|
+
*/
|
|
4
|
+
interface PetQuality {
|
|
5
|
+
name: string;
|
|
6
|
+
type: 'COMMON' | 'POOR' | 'RARE' | 'UNCOMMON';
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The statistics returned for a World of Warcraft battle pet.
|
|
10
|
+
*/
|
|
11
|
+
interface PetStats {
|
|
12
|
+
breed_id: number;
|
|
13
|
+
health: number;
|
|
14
|
+
power: number;
|
|
15
|
+
speed: number;
|
|
16
|
+
}
|
|
17
|
+
export { PetStats as n, PetQuality as t };
|
|
18
|
+
//# sourceMappingURL=types-BihzpfkI.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blizzard-api/wow",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "A series of helpers to interact with the World of Warcraft Blizzard API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@blizzard-api/core": "4.
|
|
45
|
+
"@blizzard-api/core": "4.5.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@blizzard-api/core": "4.
|
|
48
|
+
"@blizzard-api/core": "4.5.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": "^22.13.0 || ^24 || ^26"
|