@blizzard-api/wow 2.0.2 → 2.1.0-next.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/README.md +2 -2
- package/dist/account-profile/account-profile.d.ts +56 -0
- package/dist/account-profile/account-profile.js +3 -0
- package/dist/account-profile/account-profile.js.map +1 -0
- package/dist/account-profile/types.d.ts +138 -0
- package/dist/account-profile/types.js +3 -0
- package/dist/account-profile/types.js.map +1 -0
- package/dist/achievements/achievements.d.ts +34 -0
- package/dist/achievements/achievements.js +4 -0
- package/dist/achievements/achievements.js.map +1 -0
- package/dist/achievements/types.d.ts +70 -0
- package/dist/achievements/types.js +3 -0
- package/dist/achievements/types.js.map +1 -0
- package/dist/auction-house/auction-house.d.ts +17 -0
- package/dist/auction-house/auction-house.js +4 -0
- package/dist/auction-house/auction-house.js.map +1 -0
- package/dist/auction-house/types.d.ts +50 -0
- package/dist/auction-house/types.js +3 -0
- package/dist/auction-house/types.js.map +1 -0
- package/dist/azerite-essence/azerite-essence.d.ts +29 -0
- package/dist/azerite-essence/azerite-essence.js +4 -0
- package/dist/azerite-essence/azerite-essence.js.map +1 -0
- package/dist/azerite-essence/types.d.ts +57 -0
- package/dist/azerite-essence/types.js +3 -0
- package/dist/azerite-essence/types.js.map +1 -0
- package/dist/base.d.ts +115 -0
- package/dist/base.js +3 -0
- package/dist/base.js.map +1 -0
- package/dist/character-achievements/character-achievements.d.ts +18 -0
- package/dist/character-achievements/character-achievements.js +3 -0
- package/dist/character-achievements/character-achievements.js.map +1 -0
- package/dist/character-achievements/types.d.ts +56 -0
- package/dist/character-achievements/types.js +3 -0
- package/dist/character-achievements/types.js.map +1 -0
- package/dist/character-appearance/character-appearance.d.ts +12 -0
- package/dist/character-appearance/character-appearance.js +3 -0
- package/dist/character-appearance/character-appearance.js.map +1 -0
- package/dist/character-appearance/types.d.ts +53 -0
- package/dist/character-appearance/types.js +3 -0
- package/dist/character-appearance/types.js.map +1 -0
- package/dist/character-collections/character-collections.d.ts +42 -0
- package/dist/character-collections/character-collections.js +3 -0
- package/dist/character-collections/character-collections.js.map +1 -0
- package/dist/character-collections/types.d.ts +79 -0
- package/dist/character-collections/types.js +3 -0
- package/dist/character-collections/types.js.map +1 -0
- package/dist/character-encounters/character-encounters.d.ts +24 -0
- package/dist/character-encounters/character-encounters.js +3 -0
- package/dist/character-encounters/character-encounters.js.map +1 -0
- package/dist/character-encounters/types.d.ts +56 -0
- package/dist/character-encounters/types.js +3 -0
- package/dist/character-encounters/types.js.map +1 -0
- package/dist/character-equipment/character-equipment.d.ts +12 -0
- package/dist/character-equipment/character-equipment.js +3 -0
- package/dist/character-equipment/character-equipment.js.map +1 -0
- package/dist/character-equipment/types.d.ts +144 -0
- package/dist/character-equipment/types.js +3 -0
- package/dist/character-equipment/types.js.map +1 -0
- package/dist/character-hunter-pets/character-hunter-pets.d.ts +13 -0
- package/dist/character-hunter-pets/character-hunter-pets.js +3 -0
- package/dist/character-hunter-pets/character-hunter-pets.js.map +1 -0
- package/dist/character-hunter-pets/types.d.ts +19 -0
- package/dist/character-hunter-pets/types.js +3 -0
- package/dist/character-hunter-pets/types.js.map +1 -0
- package/dist/character-media/character-media.d.ts +12 -0
- package/dist/character-media/character-media.js +3 -0
- package/dist/character-media/character-media.js.map +1 -0
- package/dist/character-media/types.d.ts +12 -0
- package/dist/character-media/types.js +3 -0
- package/dist/character-media/types.js.map +1 -0
- package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.d.ts +21 -0
- package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js +3 -0
- package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js.map +1 -0
- package/dist/character-mythic-keystone-profile/types.d.ts +46 -0
- package/dist/character-mythic-keystone-profile/types.js +3 -0
- package/dist/character-mythic-keystone-profile/types.js.map +1 -0
- package/dist/character-professions/character-professions.d.ts +12 -0
- package/dist/character-professions/character-professions.js +3 -0
- package/dist/character-professions/character-professions.js.map +1 -0
- package/dist/character-professions/types.d.ts +25 -0
- package/dist/character-professions/types.js +3 -0
- package/dist/character-professions/types.js.map +1 -0
- package/dist/character-profile/character-profile.d.ts +30 -0
- package/dist/character-profile/character-profile.js +3 -0
- package/dist/character-profile/character-profile.js.map +1 -0
- package/dist/character-profile/types.d.ts +55 -0
- package/dist/character-profile/types.js +3 -0
- package/dist/character-profile/types.js.map +1 -0
- package/dist/character-pvp/character-pvp.d.ts +12 -0
- package/dist/character-pvp/character-pvp.js +3 -0
- package/dist/character-pvp/character-pvp.js.map +1 -0
- package/dist/character-pvp/types.d.ts +19 -0
- package/dist/character-pvp/types.js +3 -0
- package/dist/character-pvp/types.js.map +1 -0
- package/dist/character-quests/character-quests.d.ts +18 -0
- package/dist/character-quests/character-quests.js +3 -0
- package/dist/character-quests/character-quests.js.map +1 -0
- package/dist/character-quests/types.d.ts +13 -0
- package/dist/character-quests/types.js +3 -0
- package/dist/character-quests/types.js.map +1 -0
- package/dist/character-reputations/character-reputations.d.ts +12 -0
- package/dist/character-reputations/character-reputations.js +3 -0
- package/dist/character-reputations/character-reputations.js.map +1 -0
- package/dist/character-reputations/types.d.ts +25 -0
- package/dist/character-reputations/types.js +3 -0
- package/dist/character-reputations/types.js.map +1 -0
- package/dist/character-soulbinds/character-soulbinds.d.ts +12 -0
- package/dist/character-soulbinds/character-soulbinds.js +3 -0
- package/dist/character-soulbinds/character-soulbinds.js.map +1 -0
- package/dist/character-soulbinds/types.d.ts +33 -0
- package/dist/character-soulbinds/types.js +3 -0
- package/dist/character-soulbinds/types.js.map +1 -0
- package/dist/character-specializations/character-specializations.d.ts +12 -0
- package/dist/character-specializations/character-specializations.js +3 -0
- package/dist/character-specializations/character-specializations.js.map +1 -0
- package/dist/character-specializations/types.d.ts +46 -0
- package/dist/character-specializations/types.js +3 -0
- package/dist/character-specializations/types.js.map +1 -0
- package/dist/character-statistics/character-statistics.d.ts +12 -0
- package/dist/character-statistics/character-statistics.js +3 -0
- package/dist/character-statistics/character-statistics.js.map +1 -0
- package/dist/character-statistics/types.d.ts +59 -0
- package/dist/character-statistics/types.js +3 -0
- package/dist/character-statistics/types.js.map +1 -0
- package/dist/character-titles/character-titles.d.ts +12 -0
- package/dist/character-titles/character-titles.js +3 -0
- package/dist/character-titles/character-titles.js.map +1 -0
- package/dist/character-titles/types.d.ts +11 -0
- package/dist/character-titles/types.js +3 -0
- package/dist/character-titles/types.js.map +1 -0
- package/dist/chunk-24236PHF.js +25 -0
- package/dist/chunk-24236PHF.js.map +1 -0
- package/dist/chunk-26JOGQUD.js +11 -0
- package/dist/chunk-26JOGQUD.js.map +1 -0
- package/dist/chunk-2GRTSQL6.js +37 -0
- package/dist/chunk-2GRTSQL6.js.map +1 -0
- package/dist/chunk-36KZKLT6.js +25 -0
- package/dist/chunk-36KZKLT6.js.map +1 -0
- package/dist/chunk-3W2TUGVY.js +30 -0
- package/dist/chunk-3W2TUGVY.js.map +1 -0
- package/dist/chunk-3ZMQPXO2.js +25 -0
- package/dist/chunk-3ZMQPXO2.js.map +1 -0
- package/dist/chunk-42VH37MD.js +19 -0
- package/dist/chunk-42VH37MD.js.map +1 -0
- package/dist/chunk-4ECCICR5.js +13 -0
- package/dist/chunk-4ECCICR5.js.map +1 -0
- package/dist/chunk-5JEMELDR.js +11 -0
- package/dist/chunk-5JEMELDR.js.map +1 -0
- package/dist/chunk-6GBFNMK2.js +25 -0
- package/dist/chunk-6GBFNMK2.js.map +1 -0
- package/dist/chunk-7HVEQCDL.js +19 -0
- package/dist/chunk-7HVEQCDL.js.map +1 -0
- package/dist/chunk-ALS7FD7K.js +18 -0
- package/dist/chunk-ALS7FD7K.js.map +1 -0
- package/dist/chunk-CMQTS6M4.js +24 -0
- package/dist/chunk-CMQTS6M4.js.map +1 -0
- package/dist/chunk-D7O6VYRC.js +11 -0
- package/dist/chunk-D7O6VYRC.js.map +1 -0
- package/dist/chunk-DEHA3454.js +19 -0
- package/dist/chunk-DEHA3454.js.map +1 -0
- package/dist/chunk-DGHQJFYZ.js +43 -0
- package/dist/chunk-DGHQJFYZ.js.map +1 -0
- package/dist/chunk-DHX4ALS7.js +31 -0
- package/dist/chunk-DHX4ALS7.js.map +1 -0
- package/dist/chunk-EZKCAWKI.js +62 -0
- package/dist/chunk-EZKCAWKI.js.map +1 -0
- package/dist/chunk-FPLFZJUE.js +13 -0
- package/dist/chunk-FPLFZJUE.js.map +1 -0
- package/dist/chunk-G775CQBW.js +11 -0
- package/dist/chunk-G775CQBW.js.map +1 -0
- package/dist/chunk-GBIE4KXG.js +60 -0
- package/dist/chunk-GBIE4KXG.js.map +1 -0
- package/dist/chunk-GLXKCE6S.js +11 -0
- package/dist/chunk-GLXKCE6S.js.map +1 -0
- package/dist/chunk-GQWURIOG.js +30 -0
- package/dist/chunk-GQWURIOG.js.map +1 -0
- package/dist/chunk-GVZPDS6Q.js +49 -0
- package/dist/chunk-GVZPDS6Q.js.map +1 -0
- package/dist/chunk-HCIV2L64.js +49 -0
- package/dist/chunk-HCIV2L64.js.map +1 -0
- package/dist/chunk-JAJBQO52.js +11 -0
- package/dist/chunk-JAJBQO52.js.map +1 -0
- package/dist/chunk-JIJPTSGU.js +11 -0
- package/dist/chunk-JIJPTSGU.js.map +1 -0
- package/dist/chunk-JMTWNL23.js +11 -0
- package/dist/chunk-JMTWNL23.js.map +1 -0
- package/dist/chunk-JR5B6CK4.js +30 -0
- package/dist/chunk-JR5B6CK4.js.map +1 -0
- package/dist/chunk-JZUJDSZ4.js +19 -0
- package/dist/chunk-JZUJDSZ4.js.map +1 -0
- package/dist/chunk-LE4UHLYZ.js +17 -0
- package/dist/chunk-LE4UHLYZ.js.map +1 -0
- package/dist/chunk-LTJAQT2G.js +16 -0
- package/dist/chunk-LTJAQT2G.js.map +1 -0
- package/dist/chunk-LXEXXIEG.js +17 -0
- package/dist/chunk-LXEXXIEG.js.map +1 -0
- package/dist/chunk-MSX4CUNQ.js +31 -0
- package/dist/chunk-MSX4CUNQ.js.map +1 -0
- package/dist/chunk-ON72ACOS.js +37 -0
- package/dist/chunk-ON72ACOS.js.map +1 -0
- package/dist/chunk-OYEA5CMS.js +18 -0
- package/dist/chunk-OYEA5CMS.js.map +1 -0
- package/dist/chunk-QWKGL6OD.js +55 -0
- package/dist/chunk-QWKGL6OD.js.map +1 -0
- package/dist/chunk-QYEYBQGO.js +31 -0
- package/dist/chunk-QYEYBQGO.js.map +1 -0
- package/dist/chunk-RDKBICVU.js +17 -0
- package/dist/chunk-RDKBICVU.js.map +1 -0
- package/dist/chunk-RGGXKGN5.js +33 -0
- package/dist/chunk-RGGXKGN5.js.map +1 -0
- package/dist/chunk-RYBCDOQV.js +60 -0
- package/dist/chunk-RYBCDOQV.js.map +1 -0
- package/dist/chunk-SPTZICRM.js +19 -0
- package/dist/chunk-SPTZICRM.js.map +1 -0
- package/dist/chunk-U3H47BSV.js +11 -0
- package/dist/chunk-U3H47BSV.js.map +1 -0
- package/dist/chunk-U4WVCUZN.js +19 -0
- package/dist/chunk-U4WVCUZN.js.map +1 -0
- package/dist/chunk-ULWUM3DX.js +49 -0
- package/dist/chunk-ULWUM3DX.js.map +1 -0
- package/dist/chunk-V3MTDINM.js +19 -0
- package/dist/chunk-V3MTDINM.js.map +1 -0
- package/dist/chunk-VPH2NQRQ.js +30 -0
- package/dist/chunk-VPH2NQRQ.js.map +1 -0
- package/dist/chunk-VTEJNKYT.js +11 -0
- package/dist/chunk-VTEJNKYT.js.map +1 -0
- package/dist/chunk-WTFOGQ55.js +60 -0
- package/dist/chunk-WTFOGQ55.js.map +1 -0
- package/dist/chunk-WZGXR5WG.js +37 -0
- package/dist/chunk-WZGXR5WG.js.map +1 -0
- package/dist/chunk-X42TYTZZ.js +43 -0
- package/dist/chunk-X42TYTZZ.js.map +1 -0
- package/dist/chunk-XWV4O5Z4.js +19 -0
- package/dist/chunk-XWV4O5Z4.js.map +1 -0
- package/dist/chunk-YB62WBDV.js +42 -0
- package/dist/chunk-YB62WBDV.js.map +1 -0
- package/dist/chunk-YNXUFYX2.js +36 -0
- package/dist/chunk-YNXUFYX2.js.map +1 -0
- package/dist/chunk-Z6SN5O7U.js +11 -0
- package/dist/chunk-Z6SN5O7U.js.map +1 -0
- package/dist/connected-realm/connected-realm.d.ts +24 -0
- package/dist/connected-realm/connected-realm.js +4 -0
- package/dist/connected-realm/connected-realm.js.map +1 -0
- package/dist/connected-realm/types.d.ts +111 -0
- package/dist/connected-realm/types.js +3 -0
- package/dist/connected-realm/types.js.map +1 -0
- package/dist/covenant/covenant.d.ts +45 -0
- package/dist/covenant/covenant.js +4 -0
- package/dist/covenant/covenant.js.map +1 -0
- package/dist/covenant/types.d.ts +119 -0
- package/dist/covenant/types.js +3 -0
- package/dist/covenant/types.js.map +1 -0
- package/dist/creature/creature.d.ts +52 -0
- package/dist/creature/creature.js +4 -0
- package/dist/creature/creature.js.map +1 -0
- package/dist/creature/types.d.ts +107 -0
- package/dist/creature/types.js +3 -0
- package/dist/creature/types.js.map +1 -0
- package/dist/guild/guild.d.ts +30 -0
- package/dist/guild/guild.js +3 -0
- package/dist/guild/guild.js.map +1 -0
- package/dist/guild/types.d.ts +100 -0
- package/dist/guild/types.js +3 -0
- package/dist/guild/types.js.map +1 -0
- package/dist/guild-crest/guild-crest.d.ts +23 -0
- package/dist/guild-crest/guild-crest.js +4 -0
- package/dist/guild-crest/guild-crest.js.map +1 -0
- package/dist/guild-crest/types.d.ts +47 -0
- package/dist/guild-crest/types.js +3 -0
- package/dist/guild-crest/types.js.map +1 -0
- package/dist/heirloom/heirloom.d.ts +17 -0
- package/dist/heirloom/heirloom.js +4 -0
- package/dist/heirloom/heirloom.js.map +1 -0
- package/dist/heirloom/types.d.ts +87 -0
- package/dist/heirloom/types.js +3 -0
- package/dist/heirloom/types.js.map +1 -0
- package/dist/index.d.ts +113 -4415
- package/dist/index.js +111 -1248
- package/dist/index.js.map +1 -1
- package/dist/item/item.d.ts +53 -0
- package/dist/item/item.js +4 -0
- package/dist/item/item.js.map +1 -0
- package/dist/item/types.d.ts +244 -0
- package/dist/item/types.js +3 -0
- package/dist/item/types.js.map +1 -0
- package/dist/journal/journal.d.ts +51 -0
- package/dist/journal/journal.js +4 -0
- package/dist/journal/journal.js.map +1 -0
- package/dist/journal/types.d.ts +160 -0
- package/dist/journal/types.js +3 -0
- package/dist/journal/types.js.map +1 -0
- package/dist/media-search/media-search.d.ts +12 -0
- package/dist/media-search/media-search.js +4 -0
- package/dist/media-search/media-search.js.map +1 -0
- package/dist/media-search/types.d.ts +29 -0
- package/dist/media-search/types.js +3 -0
- package/dist/media-search/types.js.map +1 -0
- package/dist/modified-crafting/modified-crafting.d.ts +33 -0
- package/dist/modified-crafting/modified-crafting.js +4 -0
- package/dist/modified-crafting/modified-crafting.js.map +1 -0
- package/dist/modified-crafting/types.d.ts +49 -0
- package/dist/modified-crafting/types.js +3 -0
- package/dist/modified-crafting/types.js.map +1 -0
- package/dist/mount/mount.d.ts +23 -0
- package/dist/mount/mount.js +4 -0
- package/dist/mount/mount.js.map +1 -0
- package/dist/mount/types.d.ts +62 -0
- package/dist/mount/types.js +3 -0
- package/dist/mount/types.js.map +1 -0
- package/dist/mythic-keystone-affix/mythic-keystone-affix.d.ts +23 -0
- package/dist/mythic-keystone-affix/mythic-keystone-affix.js +4 -0
- package/dist/mythic-keystone-affix/mythic-keystone-affix.js.map +1 -0
- package/dist/mythic-keystone-affix/types.d.ts +30 -0
- package/dist/mythic-keystone-affix/types.js +3 -0
- package/dist/mythic-keystone-affix/types.js.map +1 -0
- package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.d.ts +44 -0
- package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js +4 -0
- package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js.map +1 -0
- package/dist/mythic-keystone-dungeon/types.d.ts +80 -0
- package/dist/mythic-keystone-dungeon/types.js +3 -0
- package/dist/mythic-keystone-dungeon/types.js.map +1 -0
- package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.d.ts +20 -0
- package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js +4 -0
- package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js.map +1 -0
- package/dist/mythic-keystone-leaderboard/types.d.ts +61 -0
- package/dist/mythic-keystone-leaderboard/types.js +3 -0
- package/dist/mythic-keystone-leaderboard/types.js.map +1 -0
- package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.d.ts +13 -0
- package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js +4 -0
- package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js.map +1 -0
- package/dist/mythic-raid-leaderboard/types.d.ts +36 -0
- package/dist/mythic-raid-leaderboard/types.js +3 -0
- package/dist/mythic-raid-leaderboard/types.js.map +1 -0
- package/dist/pet/pet.d.ts +40 -0
- package/dist/pet/pet.js +4 -0
- package/dist/pet/pet.js.map +1 -0
- package/dist/pet/types.d.ts +78 -0
- package/dist/pet/types.js +3 -0
- package/dist/pet/types.js.map +1 -0
- package/dist/playable-class/playable-class.d.ts +29 -0
- package/dist/playable-class/playable-class.js +4 -0
- package/dist/playable-class/playable-class.js.map +1 -0
- package/dist/playable-class/types.d.ts +47 -0
- package/dist/playable-class/types.js +3 -0
- package/dist/playable-class/types.js.map +1 -0
- package/dist/playable-race/playable-race.d.ts +17 -0
- package/dist/playable-race/playable-race.js +4 -0
- package/dist/playable-race/playable-race.js.map +1 -0
- package/dist/playable-race/types.d.ts +22 -0
- package/dist/playable-race/types.js +3 -0
- package/dist/playable-race/types.js.map +1 -0
- package/dist/playable-specialization/playable-specialization.d.ts +23 -0
- package/dist/playable-specialization/playable-specialization.js +4 -0
- package/dist/playable-specialization/playable-specialization.js.map +1 -0
- package/dist/playable-specialization/types.d.ts +55 -0
- package/dist/playable-specialization/types.js +3 -0
- package/dist/playable-specialization/types.js.map +1 -0
- package/dist/power-type/power-type.d.ts +17 -0
- package/dist/power-type/power-type.js +4 -0
- package/dist/power-type/power-type.js.map +1 -0
- package/dist/power-type/types.d.ts +17 -0
- package/dist/power-type/types.js +3 -0
- package/dist/power-type/types.js.map +1 -0
- package/dist/profession/profession.d.ts +42 -0
- package/dist/profession/profession.js +4 -0
- package/dist/profession/profession.js.map +1 -0
- package/dist/profession/types.d.ts +74 -0
- package/dist/profession/types.js +3 -0
- package/dist/profession/types.js.map +1 -0
- package/dist/pvp-season/pvp-season.d.ts +36 -0
- package/dist/pvp-season/pvp-season.js +4 -0
- package/dist/pvp-season/pvp-season.js.map +1 -0
- package/dist/pvp-season/types.d.ts +89 -0
- package/dist/pvp-season/types.js +3 -0
- package/dist/pvp-season/types.js.map +1 -0
- package/dist/pvp-tier/pvp-tier.d.ts +23 -0
- package/dist/pvp-tier/pvp-tier.js +4 -0
- package/dist/pvp-tier/pvp-tier.js.map +1 -0
- package/dist/pvp-tier/types.d.ts +37 -0
- package/dist/pvp-tier/types.js +3 -0
- package/dist/pvp-tier/types.js.map +1 -0
- package/dist/quest/quest.d.ts +50 -0
- package/dist/quest/quest.js +4 -0
- package/dist/quest/quest.js.map +1 -0
- package/dist/quest/types.d.ts +102 -0
- package/dist/quest/types.js +3 -0
- package/dist/quest/types.js.map +1 -0
- package/dist/realm/realm.d.ts +23 -0
- package/dist/realm/realm.js +4 -0
- package/dist/realm/realm.js.map +1 -0
- package/dist/realm/types.d.ts +81 -0
- package/dist/realm/types.js +3 -0
- package/dist/realm/types.js.map +1 -0
- package/dist/region/region.d.ts +17 -0
- package/dist/region/region.js +4 -0
- package/dist/region/region.js.map +1 -0
- package/dist/region/types.d.ts +21 -0
- package/dist/region/types.js +3 -0
- package/dist/region/types.js.map +1 -0
- package/dist/reputations/reputations.d.ts +28 -0
- package/dist/reputations/reputations.js +4 -0
- package/dist/reputations/reputations.js.map +1 -0
- package/dist/reputations/types.d.ts +51 -0
- package/dist/reputations/types.js +3 -0
- package/dist/reputations/types.js.map +1 -0
- package/dist/spell/spell.d.ts +24 -0
- package/dist/spell/spell.js +4 -0
- package/dist/spell/spell.js.map +1 -0
- package/dist/spell/types.d.ts +47 -0
- package/dist/spell/types.js +3 -0
- package/dist/spell/types.js.map +1 -0
- package/dist/talent/talent.d.ts +46 -0
- package/dist/talent/talent.js +4 -0
- package/dist/talent/talent.js.map +1 -0
- package/dist/talent/types.d.ts +161 -0
- package/dist/talent/types.js +3 -0
- package/dist/talent/types.js.map +1 -0
- package/dist/tech-talent/tech-talent.d.ts +34 -0
- package/dist/tech-talent/tech-talent.js +4 -0
- package/dist/tech-talent/tech-talent.js.map +1 -0
- package/dist/tech-talent/types.d.ts +52 -0
- package/dist/tech-talent/types.js +3 -0
- package/dist/tech-talent/types.js.map +1 -0
- package/dist/title/title.d.ts +17 -0
- package/dist/title/title.js +4 -0
- package/dist/title/title.js.map +1 -0
- package/dist/title/types.d.ts +18 -0
- package/dist/title/types.js +3 -0
- package/dist/title/types.js.map +1 -0
- package/dist/toy/toy.d.ts +17 -0
- package/dist/toy/toy.js +4 -0
- package/dist/toy/toy.js.map +1 -0
- package/dist/toy/types.d.ts +29 -0
- package/dist/toy/types.js +3 -0
- package/dist/toy/types.js.map +1 -0
- package/dist/wow-token/types.d.ts +12 -0
- package/dist/wow-token/types.js +3 -0
- package/dist/wow-token/types.js.map +1 -0
- package/dist/wow-token/wow-token.d.ts +11 -0
- package/dist/wow-token/wow-token.js +4 -0
- package/dist/wow-token/wow-token.js.map +1 -0
- package/package.json +14 -5
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { BaseSearchParameters, Locales } from '@blizzard-api/core';
|
|
2
|
+
import { ResponseBase, NameIdKey, KeyBase, Factions } from '../base.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The response for a mount index.
|
|
6
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
7
|
+
*/
|
|
8
|
+
interface MountIndexResponse extends ResponseBase {
|
|
9
|
+
mounts: Array<NameIdKey>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The response for a mount.
|
|
13
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
14
|
+
*/
|
|
15
|
+
interface MountResponse extends ResponseBase {
|
|
16
|
+
creature_displays: Array<CreatureDisplay>;
|
|
17
|
+
description: string;
|
|
18
|
+
id: number;
|
|
19
|
+
name: string;
|
|
20
|
+
should_exclude_if_uncollected: boolean;
|
|
21
|
+
source: Source;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The search parameters for mounts.
|
|
25
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
26
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
27
|
+
*/
|
|
28
|
+
interface MountSearchParameters extends BaseSearchParameters {
|
|
29
|
+
locale: Locales;
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The response for a mount search.
|
|
34
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
35
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
36
|
+
*/
|
|
37
|
+
interface MountSearchResponseItem extends KeyBase {
|
|
38
|
+
data: {
|
|
39
|
+
creature_displays: Array<{
|
|
40
|
+
id: number;
|
|
41
|
+
}>;
|
|
42
|
+
faction?: {
|
|
43
|
+
name: Record<Locales, string>;
|
|
44
|
+
type: keyof typeof Factions;
|
|
45
|
+
};
|
|
46
|
+
id: number;
|
|
47
|
+
name: Record<Locales, string>;
|
|
48
|
+
source: {
|
|
49
|
+
name: Record<Locales, string>;
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
interface CreatureDisplay extends KeyBase {
|
|
55
|
+
id: number;
|
|
56
|
+
}
|
|
57
|
+
interface Source {
|
|
58
|
+
name: string;
|
|
59
|
+
type: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type { MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponseItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Resource } from '@blizzard-api/core';
|
|
2
|
+
import { MythicKeystoneAffixResponse, MythicKeystoneAffixIndexResponse, MythicKeystoneAffixMediaResponse } from './types.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a list of all Mythic Keystone affixes.
|
|
7
|
+
* @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
|
|
8
|
+
* @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
|
|
9
|
+
*/
|
|
10
|
+
declare function mythicKeystoneAffix(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Get a list of all Mythic Keystone affixes.
|
|
13
|
+
* @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
|
|
14
|
+
*/
|
|
15
|
+
declare function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get a list of all Mythic Keystone affix media.
|
|
18
|
+
* @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
|
|
19
|
+
* @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}
|
|
20
|
+
*/
|
|
21
|
+
declare function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse>;
|
|
22
|
+
|
|
23
|
+
export { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mythic-keystone-affix.js"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ResponseBase, NameIdKey, MediaAsset, NameId, KeyBase } from '../base.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The response for a Mythic Keystone affix index.
|
|
5
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
+
*/
|
|
7
|
+
interface MythicKeystoneAffixIndexResponse extends ResponseBase {
|
|
8
|
+
affixes: Array<NameIdKey>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The response for a Mythic Keystone affix media.
|
|
12
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
|
+
*/
|
|
14
|
+
interface MythicKeystoneAffixMediaResponse extends ResponseBase {
|
|
15
|
+
assets: Array<MediaAsset>;
|
|
16
|
+
id: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The response for a Mythic Keystone affix.
|
|
20
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
21
|
+
*/
|
|
22
|
+
interface MythicKeystoneAffixResponse extends NameId, ResponseBase {
|
|
23
|
+
description: string;
|
|
24
|
+
media: Media;
|
|
25
|
+
}
|
|
26
|
+
interface Media extends KeyBase {
|
|
27
|
+
id: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type { MythicKeystoneAffixIndexResponse, MythicKeystoneAffixMediaResponse, MythicKeystoneAffixResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Resource } from '@blizzard-api/core';
|
|
2
|
+
import { MythicKeystoneDungeonResponse, MythicKeystoneDungeonIndexResponse, MythicKeystoneIndexResponse, MythicKeystonePeriodResponse, MythicKeystonePeriodIndexResponse, MythicKeystoneSeasonResponse, MythicKeystoneSeasonIndexResponse } from './types.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a Mythic Keystone dungeon by ID.
|
|
7
|
+
* @param mythicKeystoneDungeonId The Mythic Keystone dungeon ID.
|
|
8
|
+
* @returns The Mythic Keystone dungeon. See {@link MythicKeystoneDungeonResponse}.
|
|
9
|
+
*/
|
|
10
|
+
declare function mythicKeystoneDungeon(mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Get a Mythic Keystone dungeon index.
|
|
13
|
+
* @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.
|
|
14
|
+
*/
|
|
15
|
+
declare function mythicKeystoneDungeonIndex(): Resource<MythicKeystoneDungeonIndexResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get a Mythic Keystone index.
|
|
18
|
+
* @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.
|
|
19
|
+
*/
|
|
20
|
+
declare function mythicKeystoneIndex(): Resource<MythicKeystoneIndexResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Get a Mythic Keystone period by ID.
|
|
23
|
+
* @param mythicKeystonePeriodId The Mythic Keystone period ID.
|
|
24
|
+
* @returns The Mythic Keystone period. See {@link MythicKeystonePeriodResponse}.
|
|
25
|
+
*/
|
|
26
|
+
declare function mythicKeystonePeriod(mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Get a Mythic Keystone period index.
|
|
29
|
+
* @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.
|
|
30
|
+
*/
|
|
31
|
+
declare function mythicKeystonePeriodIndex(): Resource<MythicKeystonePeriodIndexResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Get a Mythic Keystone season by ID.
|
|
34
|
+
* @param mythicKeystoneSeasonId The Mythic Keystone season ID.
|
|
35
|
+
* @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.
|
|
36
|
+
*/
|
|
37
|
+
declare function mythicKeystoneSeason(mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Get a Mythic Keystone season index.
|
|
40
|
+
* @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.
|
|
41
|
+
*/
|
|
42
|
+
declare function mythicKeystoneSeasonIndex(): Resource<MythicKeystoneSeasonIndexResponse>;
|
|
43
|
+
|
|
44
|
+
export { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex } from '../chunk-GVZPDS6Q.js';
|
|
2
|
+
import '../chunk-LTJAQT2G.js';
|
|
3
|
+
//# sourceMappingURL=mythic-keystone-dungeon.js.map
|
|
4
|
+
//# sourceMappingURL=mythic-keystone-dungeon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mythic-keystone-dungeon.js"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ResponseBase, NameIdKey, NameId, KeyBase } from '../base.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The response for a Mythic Keystone dungeon index.
|
|
5
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
+
*/
|
|
7
|
+
interface MythicKeystoneDungeonIndexResponse extends ResponseBase {
|
|
8
|
+
dungeons: Array<NameIdKey>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The response for a Mythic Keystone dungeon.
|
|
12
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
|
+
*/
|
|
14
|
+
interface MythicKeystoneDungeonResponse extends NameId, ResponseBase {
|
|
15
|
+
dungeon: NameIdKey;
|
|
16
|
+
is_tracked: boolean;
|
|
17
|
+
keystone_upgrades: Array<KeystoneUpgrade>;
|
|
18
|
+
map: NameId;
|
|
19
|
+
zone: Zone;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The response for a Mythic Keystone index.
|
|
23
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
24
|
+
*/
|
|
25
|
+
interface MythicKeystoneIndexResponse extends ResponseBase {
|
|
26
|
+
dungeons: {
|
|
27
|
+
href: string;
|
|
28
|
+
};
|
|
29
|
+
seasons: {
|
|
30
|
+
href: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The response for a Mythic Keystone period index.
|
|
35
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
36
|
+
*/
|
|
37
|
+
interface MythicKeystonePeriodIndexResponse extends ResponseBase {
|
|
38
|
+
current_period: Period;
|
|
39
|
+
periods: Array<Period>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The response for a Mythic Keystone period.
|
|
43
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
44
|
+
*/
|
|
45
|
+
interface MythicKeystonePeriodResponse extends ResponseBase {
|
|
46
|
+
end_timestamp: number;
|
|
47
|
+
id: number;
|
|
48
|
+
start_timestamp: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The response for a Mythic Keystone season index.
|
|
52
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
53
|
+
*/
|
|
54
|
+
interface MythicKeystoneSeasonIndexResponse extends ResponseBase {
|
|
55
|
+
current_season: Period;
|
|
56
|
+
seasons: Array<Period>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The response for a Mythic Keystone season.
|
|
60
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
61
|
+
*/
|
|
62
|
+
interface MythicKeystoneSeasonResponse extends ResponseBase {
|
|
63
|
+
end_timestamp: number;
|
|
64
|
+
id: number;
|
|
65
|
+
periods: Array<Period>;
|
|
66
|
+
season_name: null | string;
|
|
67
|
+
start_timestamp: number;
|
|
68
|
+
}
|
|
69
|
+
interface KeystoneUpgrade {
|
|
70
|
+
qualifying_duration: number;
|
|
71
|
+
upgrade_level: number;
|
|
72
|
+
}
|
|
73
|
+
interface Period extends KeyBase {
|
|
74
|
+
id: number;
|
|
75
|
+
}
|
|
76
|
+
interface Zone {
|
|
77
|
+
slug: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type { MythicKeystoneDungeonIndexResponse, MythicKeystoneDungeonResponse, MythicKeystoneIndexResponse, MythicKeystonePeriodIndexResponse, MythicKeystonePeriodResponse, MythicKeystoneSeasonIndexResponse, MythicKeystoneSeasonResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Resource } from '@blizzard-api/core';
|
|
2
|
+
import { MythicKeystoneLeaderboardResponse, MythicKeystoneLeaderboardIndexResponse } from './types.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.
|
|
7
|
+
* @param connectedRealmId The connected realm ID.
|
|
8
|
+
* @param dungeonId The dungeon ID.
|
|
9
|
+
* @param period The period ID.
|
|
10
|
+
* @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}.
|
|
11
|
+
*/
|
|
12
|
+
declare function mythicKeystoneLeaderboard(connectedRealmId: number, dungeonId: number, period: number): Resource<MythicKeystoneLeaderboardResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get a Mythic Keystone leaderboard index by connected realm ID.
|
|
15
|
+
* @param connectedRealmId The connected realm ID.
|
|
16
|
+
* @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.
|
|
17
|
+
*/
|
|
18
|
+
declare function mythicKeystoneLeaderboardIndex(connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse>;
|
|
19
|
+
|
|
20
|
+
export { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mythic-keystone-leaderboard.js"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ResponseBase, NameIdKey, NameId, Factions, Color, KeyBase } from '../base.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The response for a Mythic Keystone leaderboard index.
|
|
5
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
+
*/
|
|
7
|
+
interface MythicKeystoneLeaderboardIndexResponse extends ResponseBase {
|
|
8
|
+
current_leaderboards: Array<NameIdKey>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The response for a Mythic Keystone leaderboard.
|
|
12
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
|
+
*/
|
|
14
|
+
interface MythicKeystoneLeaderboardResponse extends ResponseBase {
|
|
15
|
+
connected_realm: {
|
|
16
|
+
href: string;
|
|
17
|
+
};
|
|
18
|
+
keystone_affixes: Array<KeystoneAffixElement>;
|
|
19
|
+
leading_groups: Array<LeadingGroup>;
|
|
20
|
+
map: NameId;
|
|
21
|
+
map_challenge_mode_id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
period: number;
|
|
24
|
+
period_end_timestamp: number;
|
|
25
|
+
period_start_timestamp: number;
|
|
26
|
+
}
|
|
27
|
+
interface KeystoneAffixElement {
|
|
28
|
+
keystone_affix: NameIdKey;
|
|
29
|
+
starting_level: number;
|
|
30
|
+
}
|
|
31
|
+
interface LeadingGroup {
|
|
32
|
+
completed_timestamp: number;
|
|
33
|
+
duration: number;
|
|
34
|
+
keystone_level: number;
|
|
35
|
+
members: Array<Member>;
|
|
36
|
+
mythic_rating: MythicRating;
|
|
37
|
+
ranking: number;
|
|
38
|
+
}
|
|
39
|
+
interface Member {
|
|
40
|
+
faction: {
|
|
41
|
+
type: keyof typeof Factions;
|
|
42
|
+
};
|
|
43
|
+
profile: Profile;
|
|
44
|
+
specialization: Specialization;
|
|
45
|
+
}
|
|
46
|
+
interface MythicRating {
|
|
47
|
+
color: Color;
|
|
48
|
+
rating: number;
|
|
49
|
+
}
|
|
50
|
+
interface Profile extends NameId {
|
|
51
|
+
realm: Realm;
|
|
52
|
+
}
|
|
53
|
+
interface Realm extends KeyBase {
|
|
54
|
+
id: number;
|
|
55
|
+
slug: string;
|
|
56
|
+
}
|
|
57
|
+
interface Specialization extends KeyBase {
|
|
58
|
+
id: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource } from '@blizzard-api/core';
|
|
2
|
+
import { Factions } from '../base.js';
|
|
3
|
+
import { MythicRaidLeaderboardResponse } from './types.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a Mythic Raid leaderboard by raid and faction.
|
|
7
|
+
* @param raid The slug of the raid.
|
|
8
|
+
* @param faction The faction. Either 'alliance' or 'horde'.
|
|
9
|
+
* @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.
|
|
10
|
+
*/
|
|
11
|
+
declare function mythicRaidLeaderboard(raid: string, faction: Lowercase<keyof typeof Factions>): Resource<MythicRaidLeaderboardResponse>;
|
|
12
|
+
|
|
13
|
+
export { mythicRaidLeaderboard };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mythic-raid-leaderboard.js"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Origins } from '@blizzard-api/core';
|
|
2
|
+
import { ResponseBase, Factions, NameId, KeyBase } from '../base.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The response for a Mythic Raid leaderboard.
|
|
6
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
7
|
+
*/
|
|
8
|
+
interface MythicRaidLeaderboardResponse extends ResponseBase {
|
|
9
|
+
criteria_type: string;
|
|
10
|
+
entries: Array<Entry>;
|
|
11
|
+
journal_instance: JournalInstance;
|
|
12
|
+
slug: string;
|
|
13
|
+
}
|
|
14
|
+
interface Entry {
|
|
15
|
+
faction: {
|
|
16
|
+
type: keyof typeof Factions;
|
|
17
|
+
};
|
|
18
|
+
guild: Guild;
|
|
19
|
+
rank: number;
|
|
20
|
+
region: 'cn' | Origins;
|
|
21
|
+
timestamp: number;
|
|
22
|
+
}
|
|
23
|
+
interface Guild extends NameId {
|
|
24
|
+
realm: Realm;
|
|
25
|
+
}
|
|
26
|
+
interface JournalInstance extends KeyBase {
|
|
27
|
+
id: number;
|
|
28
|
+
name: null;
|
|
29
|
+
}
|
|
30
|
+
interface Realm {
|
|
31
|
+
id: number;
|
|
32
|
+
name: null;
|
|
33
|
+
slug: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type { MythicRaidLeaderboardResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Resource } from '@blizzard-api/core';
|
|
2
|
+
import { PetResponse, PetAbilityResponse, PetAbilityIndexResponse, PetAbilityMediaResponse, PetIndexResponse, PetMediaResponse } from './types.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a pet by ID.
|
|
7
|
+
* @param petId The pet ID.
|
|
8
|
+
* @returns The pet. See {@link PetResponse}.
|
|
9
|
+
*/
|
|
10
|
+
declare function pet(petId: number): Resource<PetResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Get a pet ability by ID.
|
|
13
|
+
* @param petAbilityId The pet ability ID.
|
|
14
|
+
* @returns The pet ability. See {@link PetAbilityResponse}.
|
|
15
|
+
*/
|
|
16
|
+
declare function petAbility(petAbilityId: number): Resource<PetAbilityResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get a pet ability index.
|
|
19
|
+
* @returns The pet ability index. See {@link PetAbilityIndexResponse}.
|
|
20
|
+
*/
|
|
21
|
+
declare function petAbilityIndex(): Resource<PetAbilityIndexResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get a pet ability media by ID.
|
|
24
|
+
* @param petAbilityId The pet ability ID.
|
|
25
|
+
* @returns The pet ability media. See {@link PetAbilityMediaResponse}.
|
|
26
|
+
*/
|
|
27
|
+
declare function petAbilityMedia(petAbilityId: number): Resource<PetAbilityMediaResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Get a pet index.
|
|
30
|
+
* @returns The pet index. See {@link PetIndexResponse}.
|
|
31
|
+
*/
|
|
32
|
+
declare function petIndex(): Resource<PetIndexResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Get a pet media by ID.
|
|
35
|
+
* @param petId The pet ID.
|
|
36
|
+
* @returns The pet media. See {@link PetMediaResponse}.
|
|
37
|
+
*/
|
|
38
|
+
declare function petMedia(petId: number): Resource<PetMediaResponse>;
|
|
39
|
+
|
|
40
|
+
export { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia };
|
package/dist/pet/pet.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"pet.js"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ResponseBase, NameIdKey, MediaAsset, NameId, KeyBase } from '../base.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The response for a pet ability index.
|
|
5
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
+
*/
|
|
7
|
+
interface PetAbilityIndexResponse extends ResponseBase {
|
|
8
|
+
abilities: Array<NameIdKey>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The response for a pet ability media.
|
|
12
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
|
+
*/
|
|
14
|
+
interface PetAbilityMediaResponse extends ResponseBase {
|
|
15
|
+
assets: Array<MediaAsset>;
|
|
16
|
+
id: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The response for a pet ability.
|
|
20
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
21
|
+
*/
|
|
22
|
+
interface PetAbilityResponse extends NameId, ResponseBase {
|
|
23
|
+
battle_pet_type: BattlePetType;
|
|
24
|
+
media: Media;
|
|
25
|
+
rounds: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The response for a pet index.
|
|
29
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
30
|
+
*/
|
|
31
|
+
interface PetIndexResponse extends ResponseBase {
|
|
32
|
+
pets: Array<NameIdKey>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The response for a pet search.
|
|
36
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
37
|
+
*/
|
|
38
|
+
interface PetMediaResponse extends ResponseBase {
|
|
39
|
+
assets: Array<MediaAsset>;
|
|
40
|
+
id: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The response for a pet.
|
|
44
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
45
|
+
*/
|
|
46
|
+
interface PetResponse extends NameId, ResponseBase {
|
|
47
|
+
abilities: Array<Ability>;
|
|
48
|
+
battle_pet_type: BattlePetType;
|
|
49
|
+
creature: NameIdKey;
|
|
50
|
+
description: string;
|
|
51
|
+
icon: string;
|
|
52
|
+
is_alliance_only: boolean;
|
|
53
|
+
is_battlepet: boolean;
|
|
54
|
+
is_capturable: boolean;
|
|
55
|
+
is_horde_only: boolean;
|
|
56
|
+
is_random_creature_display: boolean;
|
|
57
|
+
is_tradable: boolean;
|
|
58
|
+
media: Media;
|
|
59
|
+
should_exclude_if_uncollected: boolean;
|
|
60
|
+
source: Source;
|
|
61
|
+
}
|
|
62
|
+
interface Ability {
|
|
63
|
+
ability: NameIdKey;
|
|
64
|
+
required_level: number;
|
|
65
|
+
slot: number;
|
|
66
|
+
}
|
|
67
|
+
interface BattlePetType extends NameId {
|
|
68
|
+
type: string;
|
|
69
|
+
}
|
|
70
|
+
interface Media extends KeyBase {
|
|
71
|
+
id: number;
|
|
72
|
+
}
|
|
73
|
+
interface Source {
|
|
74
|
+
name: string;
|
|
75
|
+
type: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type { PetAbilityIndexResponse, PetAbilityMediaResponse, PetAbilityResponse, PetIndexResponse, PetMediaResponse, PetResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Resource } from '@blizzard-api/core';
|
|
2
|
+
import { PlayableClassResponse, PlayableClassIndexResponse, PlayableClassMediaResponse, PvpTalentSlotsResponse } from './types.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a playable class by ID.
|
|
7
|
+
* @param playableClassId The playable class ID.
|
|
8
|
+
* @returns The playable class. See {@link PlayableClassResponse}.
|
|
9
|
+
*/
|
|
10
|
+
declare function playableClass(playableClassId: number): Resource<PlayableClassResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Get a playable class index.
|
|
13
|
+
* @returns The playable class index. See {@link PlayableClassIndexResponse}.
|
|
14
|
+
*/
|
|
15
|
+
declare function playableClassIndex(): Resource<PlayableClassIndexResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get playable class media by ID.
|
|
18
|
+
* @param playableClassId The playable class ID.
|
|
19
|
+
* @returns The playable class media. See {@link PlayableClassMediaResponse}.
|
|
20
|
+
*/
|
|
21
|
+
declare function playableClassMedia(playableClassId: number): Resource<PlayableClassMediaResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get a playable class's PvP talent slots by ID.
|
|
24
|
+
* @param playableClassId The playable class ID.
|
|
25
|
+
* @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.
|
|
26
|
+
*/
|
|
27
|
+
declare function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse>;
|
|
28
|
+
|
|
29
|
+
export { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"playable-class.js"}
|