@blizzard-api/wow 2.1.0-next.0 → 3.0.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 +80 -80
- package/dist/index.d.ts +4917 -293
- package/dist/index.js +2379 -348
- package/dist/index.js.map +1 -1
- package/package.json +10 -19
- package/dist/account-profile/account-profile.d.ts +0 -56
- package/dist/account-profile/account-profile.js +0 -3
- package/dist/account-profile/account-profile.js.map +0 -1
- package/dist/account-profile/types.d.ts +0 -138
- package/dist/account-profile/types.js +0 -3
- package/dist/account-profile/types.js.map +0 -1
- package/dist/achievements/achievements.d.ts +0 -34
- package/dist/achievements/achievements.js +0 -4
- package/dist/achievements/achievements.js.map +0 -1
- package/dist/achievements/types.d.ts +0 -70
- package/dist/achievements/types.js +0 -3
- package/dist/achievements/types.js.map +0 -1
- package/dist/auction-house/auction-house.d.ts +0 -17
- package/dist/auction-house/auction-house.js +0 -4
- package/dist/auction-house/auction-house.js.map +0 -1
- package/dist/auction-house/types.d.ts +0 -50
- package/dist/auction-house/types.js +0 -3
- package/dist/auction-house/types.js.map +0 -1
- package/dist/azerite-essence/azerite-essence.d.ts +0 -29
- package/dist/azerite-essence/azerite-essence.js +0 -4
- package/dist/azerite-essence/azerite-essence.js.map +0 -1
- package/dist/azerite-essence/types.d.ts +0 -57
- package/dist/azerite-essence/types.js +0 -3
- package/dist/azerite-essence/types.js.map +0 -1
- package/dist/base.d.ts +0 -115
- package/dist/base.js +0 -3
- package/dist/base.js.map +0 -1
- package/dist/character-achievements/character-achievements.d.ts +0 -18
- package/dist/character-achievements/character-achievements.js +0 -3
- package/dist/character-achievements/character-achievements.js.map +0 -1
- package/dist/character-achievements/types.d.ts +0 -56
- package/dist/character-achievements/types.js +0 -3
- package/dist/character-achievements/types.js.map +0 -1
- package/dist/character-appearance/character-appearance.d.ts +0 -12
- package/dist/character-appearance/character-appearance.js +0 -3
- package/dist/character-appearance/character-appearance.js.map +0 -1
- package/dist/character-appearance/types.d.ts +0 -53
- package/dist/character-appearance/types.js +0 -3
- package/dist/character-appearance/types.js.map +0 -1
- package/dist/character-collections/character-collections.d.ts +0 -42
- package/dist/character-collections/character-collections.js +0 -3
- package/dist/character-collections/character-collections.js.map +0 -1
- package/dist/character-collections/types.d.ts +0 -79
- package/dist/character-collections/types.js +0 -3
- package/dist/character-collections/types.js.map +0 -1
- package/dist/character-encounters/character-encounters.d.ts +0 -24
- package/dist/character-encounters/character-encounters.js +0 -3
- package/dist/character-encounters/character-encounters.js.map +0 -1
- package/dist/character-encounters/types.d.ts +0 -56
- package/dist/character-encounters/types.js +0 -3
- package/dist/character-encounters/types.js.map +0 -1
- package/dist/character-equipment/character-equipment.d.ts +0 -12
- package/dist/character-equipment/character-equipment.js +0 -3
- package/dist/character-equipment/character-equipment.js.map +0 -1
- package/dist/character-equipment/types.d.ts +0 -144
- package/dist/character-equipment/types.js +0 -3
- package/dist/character-equipment/types.js.map +0 -1
- package/dist/character-hunter-pets/character-hunter-pets.d.ts +0 -13
- package/dist/character-hunter-pets/character-hunter-pets.js +0 -3
- package/dist/character-hunter-pets/character-hunter-pets.js.map +0 -1
- package/dist/character-hunter-pets/types.d.ts +0 -19
- package/dist/character-hunter-pets/types.js +0 -3
- package/dist/character-hunter-pets/types.js.map +0 -1
- package/dist/character-media/character-media.d.ts +0 -12
- package/dist/character-media/character-media.js +0 -3
- package/dist/character-media/character-media.js.map +0 -1
- package/dist/character-media/types.d.ts +0 -12
- package/dist/character-media/types.js +0 -3
- package/dist/character-media/types.js.map +0 -1
- package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.d.ts +0 -21
- package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js +0 -3
- package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js.map +0 -1
- package/dist/character-mythic-keystone-profile/types.d.ts +0 -46
- package/dist/character-mythic-keystone-profile/types.js +0 -3
- package/dist/character-mythic-keystone-profile/types.js.map +0 -1
- package/dist/character-professions/character-professions.d.ts +0 -12
- package/dist/character-professions/character-professions.js +0 -3
- package/dist/character-professions/character-professions.js.map +0 -1
- package/dist/character-professions/types.d.ts +0 -25
- package/dist/character-professions/types.js +0 -3
- package/dist/character-professions/types.js.map +0 -1
- package/dist/character-profile/character-profile.d.ts +0 -30
- package/dist/character-profile/character-profile.js +0 -3
- package/dist/character-profile/character-profile.js.map +0 -1
- package/dist/character-profile/types.d.ts +0 -55
- package/dist/character-profile/types.js +0 -3
- package/dist/character-profile/types.js.map +0 -1
- package/dist/character-pvp/character-pvp.d.ts +0 -12
- package/dist/character-pvp/character-pvp.js +0 -3
- package/dist/character-pvp/character-pvp.js.map +0 -1
- package/dist/character-pvp/types.d.ts +0 -19
- package/dist/character-pvp/types.js +0 -3
- package/dist/character-pvp/types.js.map +0 -1
- package/dist/character-quests/character-quests.d.ts +0 -18
- package/dist/character-quests/character-quests.js +0 -3
- package/dist/character-quests/character-quests.js.map +0 -1
- package/dist/character-quests/types.d.ts +0 -13
- package/dist/character-quests/types.js +0 -3
- package/dist/character-quests/types.js.map +0 -1
- package/dist/character-reputations/character-reputations.d.ts +0 -12
- package/dist/character-reputations/character-reputations.js +0 -3
- package/dist/character-reputations/character-reputations.js.map +0 -1
- package/dist/character-reputations/types.d.ts +0 -25
- package/dist/character-reputations/types.js +0 -3
- package/dist/character-reputations/types.js.map +0 -1
- package/dist/character-soulbinds/character-soulbinds.d.ts +0 -12
- package/dist/character-soulbinds/character-soulbinds.js +0 -3
- package/dist/character-soulbinds/character-soulbinds.js.map +0 -1
- package/dist/character-soulbinds/types.d.ts +0 -33
- package/dist/character-soulbinds/types.js +0 -3
- package/dist/character-soulbinds/types.js.map +0 -1
- package/dist/character-specializations/character-specializations.d.ts +0 -12
- package/dist/character-specializations/character-specializations.js +0 -3
- package/dist/character-specializations/character-specializations.js.map +0 -1
- package/dist/character-specializations/types.d.ts +0 -46
- package/dist/character-specializations/types.js +0 -3
- package/dist/character-specializations/types.js.map +0 -1
- package/dist/character-statistics/character-statistics.d.ts +0 -12
- package/dist/character-statistics/character-statistics.js +0 -3
- package/dist/character-statistics/character-statistics.js.map +0 -1
- package/dist/character-statistics/types.d.ts +0 -59
- package/dist/character-statistics/types.js +0 -3
- package/dist/character-statistics/types.js.map +0 -1
- package/dist/character-titles/character-titles.d.ts +0 -12
- package/dist/character-titles/character-titles.js +0 -3
- package/dist/character-titles/character-titles.js.map +0 -1
- package/dist/character-titles/types.d.ts +0 -11
- package/dist/character-titles/types.js +0 -3
- package/dist/character-titles/types.js.map +0 -1
- package/dist/chunk-24236PHF.js +0 -25
- package/dist/chunk-24236PHF.js.map +0 -1
- package/dist/chunk-26JOGQUD.js +0 -11
- package/dist/chunk-26JOGQUD.js.map +0 -1
- package/dist/chunk-2GRTSQL6.js +0 -37
- package/dist/chunk-2GRTSQL6.js.map +0 -1
- package/dist/chunk-36KZKLT6.js +0 -25
- package/dist/chunk-36KZKLT6.js.map +0 -1
- package/dist/chunk-3W2TUGVY.js +0 -30
- package/dist/chunk-3W2TUGVY.js.map +0 -1
- package/dist/chunk-3ZMQPXO2.js +0 -25
- package/dist/chunk-3ZMQPXO2.js.map +0 -1
- package/dist/chunk-42VH37MD.js +0 -19
- package/dist/chunk-42VH37MD.js.map +0 -1
- package/dist/chunk-4ECCICR5.js +0 -13
- package/dist/chunk-4ECCICR5.js.map +0 -1
- package/dist/chunk-5JEMELDR.js +0 -11
- package/dist/chunk-5JEMELDR.js.map +0 -1
- package/dist/chunk-6GBFNMK2.js +0 -25
- package/dist/chunk-6GBFNMK2.js.map +0 -1
- package/dist/chunk-7HVEQCDL.js +0 -19
- package/dist/chunk-7HVEQCDL.js.map +0 -1
- package/dist/chunk-ALS7FD7K.js +0 -18
- package/dist/chunk-ALS7FD7K.js.map +0 -1
- package/dist/chunk-CMQTS6M4.js +0 -24
- package/dist/chunk-CMQTS6M4.js.map +0 -1
- package/dist/chunk-D7O6VYRC.js +0 -11
- package/dist/chunk-D7O6VYRC.js.map +0 -1
- package/dist/chunk-DEHA3454.js +0 -19
- package/dist/chunk-DEHA3454.js.map +0 -1
- package/dist/chunk-DGHQJFYZ.js +0 -43
- package/dist/chunk-DGHQJFYZ.js.map +0 -1
- package/dist/chunk-DHX4ALS7.js +0 -31
- package/dist/chunk-DHX4ALS7.js.map +0 -1
- package/dist/chunk-EZKCAWKI.js +0 -62
- package/dist/chunk-EZKCAWKI.js.map +0 -1
- package/dist/chunk-FPLFZJUE.js +0 -13
- package/dist/chunk-FPLFZJUE.js.map +0 -1
- package/dist/chunk-G775CQBW.js +0 -11
- package/dist/chunk-G775CQBW.js.map +0 -1
- package/dist/chunk-GBIE4KXG.js +0 -60
- package/dist/chunk-GBIE4KXG.js.map +0 -1
- package/dist/chunk-GLXKCE6S.js +0 -11
- package/dist/chunk-GLXKCE6S.js.map +0 -1
- package/dist/chunk-GQWURIOG.js +0 -30
- package/dist/chunk-GQWURIOG.js.map +0 -1
- package/dist/chunk-GVZPDS6Q.js +0 -49
- package/dist/chunk-GVZPDS6Q.js.map +0 -1
- package/dist/chunk-HCIV2L64.js +0 -49
- package/dist/chunk-HCIV2L64.js.map +0 -1
- package/dist/chunk-JAJBQO52.js +0 -11
- package/dist/chunk-JAJBQO52.js.map +0 -1
- package/dist/chunk-JIJPTSGU.js +0 -11
- package/dist/chunk-JIJPTSGU.js.map +0 -1
- package/dist/chunk-JMTWNL23.js +0 -11
- package/dist/chunk-JMTWNL23.js.map +0 -1
- package/dist/chunk-JR5B6CK4.js +0 -30
- package/dist/chunk-JR5B6CK4.js.map +0 -1
- package/dist/chunk-JZUJDSZ4.js +0 -19
- package/dist/chunk-JZUJDSZ4.js.map +0 -1
- package/dist/chunk-LE4UHLYZ.js +0 -17
- package/dist/chunk-LE4UHLYZ.js.map +0 -1
- package/dist/chunk-LTJAQT2G.js +0 -16
- package/dist/chunk-LTJAQT2G.js.map +0 -1
- package/dist/chunk-LXEXXIEG.js +0 -17
- package/dist/chunk-LXEXXIEG.js.map +0 -1
- package/dist/chunk-MSX4CUNQ.js +0 -31
- package/dist/chunk-MSX4CUNQ.js.map +0 -1
- package/dist/chunk-ON72ACOS.js +0 -37
- package/dist/chunk-ON72ACOS.js.map +0 -1
- package/dist/chunk-OYEA5CMS.js +0 -18
- package/dist/chunk-OYEA5CMS.js.map +0 -1
- package/dist/chunk-QWKGL6OD.js +0 -55
- package/dist/chunk-QWKGL6OD.js.map +0 -1
- package/dist/chunk-QYEYBQGO.js +0 -31
- package/dist/chunk-QYEYBQGO.js.map +0 -1
- package/dist/chunk-RDKBICVU.js +0 -17
- package/dist/chunk-RDKBICVU.js.map +0 -1
- package/dist/chunk-RGGXKGN5.js +0 -33
- package/dist/chunk-RGGXKGN5.js.map +0 -1
- package/dist/chunk-RYBCDOQV.js +0 -60
- package/dist/chunk-RYBCDOQV.js.map +0 -1
- package/dist/chunk-SPTZICRM.js +0 -19
- package/dist/chunk-SPTZICRM.js.map +0 -1
- package/dist/chunk-U3H47BSV.js +0 -11
- package/dist/chunk-U3H47BSV.js.map +0 -1
- package/dist/chunk-U4WVCUZN.js +0 -19
- package/dist/chunk-U4WVCUZN.js.map +0 -1
- package/dist/chunk-ULWUM3DX.js +0 -49
- package/dist/chunk-ULWUM3DX.js.map +0 -1
- package/dist/chunk-V3MTDINM.js +0 -19
- package/dist/chunk-V3MTDINM.js.map +0 -1
- package/dist/chunk-VPH2NQRQ.js +0 -30
- package/dist/chunk-VPH2NQRQ.js.map +0 -1
- package/dist/chunk-VTEJNKYT.js +0 -11
- package/dist/chunk-VTEJNKYT.js.map +0 -1
- package/dist/chunk-WTFOGQ55.js +0 -60
- package/dist/chunk-WTFOGQ55.js.map +0 -1
- package/dist/chunk-WZGXR5WG.js +0 -37
- package/dist/chunk-WZGXR5WG.js.map +0 -1
- package/dist/chunk-X42TYTZZ.js +0 -43
- package/dist/chunk-X42TYTZZ.js.map +0 -1
- package/dist/chunk-XWV4O5Z4.js +0 -19
- package/dist/chunk-XWV4O5Z4.js.map +0 -1
- package/dist/chunk-YB62WBDV.js +0 -42
- package/dist/chunk-YB62WBDV.js.map +0 -1
- package/dist/chunk-YNXUFYX2.js +0 -36
- package/dist/chunk-YNXUFYX2.js.map +0 -1
- package/dist/chunk-Z6SN5O7U.js +0 -11
- package/dist/chunk-Z6SN5O7U.js.map +0 -1
- package/dist/connected-realm/connected-realm.d.ts +0 -24
- package/dist/connected-realm/connected-realm.js +0 -4
- package/dist/connected-realm/connected-realm.js.map +0 -1
- package/dist/connected-realm/types.d.ts +0 -111
- package/dist/connected-realm/types.js +0 -3
- package/dist/connected-realm/types.js.map +0 -1
- package/dist/covenant/covenant.d.ts +0 -45
- package/dist/covenant/covenant.js +0 -4
- package/dist/covenant/covenant.js.map +0 -1
- package/dist/covenant/types.d.ts +0 -119
- package/dist/covenant/types.js +0 -3
- package/dist/covenant/types.js.map +0 -1
- package/dist/creature/creature.d.ts +0 -52
- package/dist/creature/creature.js +0 -4
- package/dist/creature/creature.js.map +0 -1
- package/dist/creature/types.d.ts +0 -107
- package/dist/creature/types.js +0 -3
- package/dist/creature/types.js.map +0 -1
- package/dist/guild/guild.d.ts +0 -30
- package/dist/guild/guild.js +0 -3
- package/dist/guild/guild.js.map +0 -1
- package/dist/guild/types.d.ts +0 -100
- package/dist/guild/types.js +0 -3
- package/dist/guild/types.js.map +0 -1
- package/dist/guild-crest/guild-crest.d.ts +0 -23
- package/dist/guild-crest/guild-crest.js +0 -4
- package/dist/guild-crest/guild-crest.js.map +0 -1
- package/dist/guild-crest/types.d.ts +0 -47
- package/dist/guild-crest/types.js +0 -3
- package/dist/guild-crest/types.js.map +0 -1
- package/dist/heirloom/heirloom.d.ts +0 -17
- package/dist/heirloom/heirloom.js +0 -4
- package/dist/heirloom/heirloom.js.map +0 -1
- package/dist/heirloom/types.d.ts +0 -87
- package/dist/heirloom/types.js +0 -3
- package/dist/heirloom/types.js.map +0 -1
- package/dist/item/item.d.ts +0 -53
- package/dist/item/item.js +0 -4
- package/dist/item/item.js.map +0 -1
- package/dist/item/types.d.ts +0 -244
- package/dist/item/types.js +0 -3
- package/dist/item/types.js.map +0 -1
- package/dist/journal/journal.d.ts +0 -51
- package/dist/journal/journal.js +0 -4
- package/dist/journal/journal.js.map +0 -1
- package/dist/journal/types.d.ts +0 -160
- package/dist/journal/types.js +0 -3
- package/dist/journal/types.js.map +0 -1
- package/dist/media-search/media-search.d.ts +0 -12
- package/dist/media-search/media-search.js +0 -4
- package/dist/media-search/media-search.js.map +0 -1
- package/dist/media-search/types.d.ts +0 -29
- package/dist/media-search/types.js +0 -3
- package/dist/media-search/types.js.map +0 -1
- package/dist/modified-crafting/modified-crafting.d.ts +0 -33
- package/dist/modified-crafting/modified-crafting.js +0 -4
- package/dist/modified-crafting/modified-crafting.js.map +0 -1
- package/dist/modified-crafting/types.d.ts +0 -49
- package/dist/modified-crafting/types.js +0 -3
- package/dist/modified-crafting/types.js.map +0 -1
- package/dist/mount/mount.d.ts +0 -23
- package/dist/mount/mount.js +0 -4
- package/dist/mount/mount.js.map +0 -1
- package/dist/mount/types.d.ts +0 -62
- package/dist/mount/types.js +0 -3
- package/dist/mount/types.js.map +0 -1
- package/dist/mythic-keystone-affix/mythic-keystone-affix.d.ts +0 -23
- package/dist/mythic-keystone-affix/mythic-keystone-affix.js +0 -4
- package/dist/mythic-keystone-affix/mythic-keystone-affix.js.map +0 -1
- package/dist/mythic-keystone-affix/types.d.ts +0 -30
- package/dist/mythic-keystone-affix/types.js +0 -3
- package/dist/mythic-keystone-affix/types.js.map +0 -1
- package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.d.ts +0 -44
- package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js +0 -4
- package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js.map +0 -1
- package/dist/mythic-keystone-dungeon/types.d.ts +0 -80
- package/dist/mythic-keystone-dungeon/types.js +0 -3
- package/dist/mythic-keystone-dungeon/types.js.map +0 -1
- package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.d.ts +0 -20
- package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js +0 -4
- package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js.map +0 -1
- package/dist/mythic-keystone-leaderboard/types.d.ts +0 -61
- package/dist/mythic-keystone-leaderboard/types.js +0 -3
- package/dist/mythic-keystone-leaderboard/types.js.map +0 -1
- package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.d.ts +0 -13
- package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js +0 -4
- package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js.map +0 -1
- package/dist/mythic-raid-leaderboard/types.d.ts +0 -36
- package/dist/mythic-raid-leaderboard/types.js +0 -3
- package/dist/mythic-raid-leaderboard/types.js.map +0 -1
- package/dist/pet/pet.d.ts +0 -40
- package/dist/pet/pet.js +0 -4
- package/dist/pet/pet.js.map +0 -1
- package/dist/pet/types.d.ts +0 -78
- package/dist/pet/types.js +0 -3
- package/dist/pet/types.js.map +0 -1
- package/dist/playable-class/playable-class.d.ts +0 -29
- package/dist/playable-class/playable-class.js +0 -4
- package/dist/playable-class/playable-class.js.map +0 -1
- package/dist/playable-class/types.d.ts +0 -47
- package/dist/playable-class/types.js +0 -3
- package/dist/playable-class/types.js.map +0 -1
- package/dist/playable-race/playable-race.d.ts +0 -17
- package/dist/playable-race/playable-race.js +0 -4
- package/dist/playable-race/playable-race.js.map +0 -1
- package/dist/playable-race/types.d.ts +0 -22
- package/dist/playable-race/types.js +0 -3
- package/dist/playable-race/types.js.map +0 -1
- package/dist/playable-specialization/playable-specialization.d.ts +0 -23
- package/dist/playable-specialization/playable-specialization.js +0 -4
- package/dist/playable-specialization/playable-specialization.js.map +0 -1
- package/dist/playable-specialization/types.d.ts +0 -55
- package/dist/playable-specialization/types.js +0 -3
- package/dist/playable-specialization/types.js.map +0 -1
- package/dist/power-type/power-type.d.ts +0 -17
- package/dist/power-type/power-type.js +0 -4
- package/dist/power-type/power-type.js.map +0 -1
- package/dist/power-type/types.d.ts +0 -17
- package/dist/power-type/types.js +0 -3
- package/dist/power-type/types.js.map +0 -1
- package/dist/profession/profession.d.ts +0 -42
- package/dist/profession/profession.js +0 -4
- package/dist/profession/profession.js.map +0 -1
- package/dist/profession/types.d.ts +0 -74
- package/dist/profession/types.js +0 -3
- package/dist/profession/types.js.map +0 -1
- package/dist/pvp-season/pvp-season.d.ts +0 -36
- package/dist/pvp-season/pvp-season.js +0 -4
- package/dist/pvp-season/pvp-season.js.map +0 -1
- package/dist/pvp-season/types.d.ts +0 -89
- package/dist/pvp-season/types.js +0 -3
- package/dist/pvp-season/types.js.map +0 -1
- package/dist/pvp-tier/pvp-tier.d.ts +0 -23
- package/dist/pvp-tier/pvp-tier.js +0 -4
- package/dist/pvp-tier/pvp-tier.js.map +0 -1
- package/dist/pvp-tier/types.d.ts +0 -37
- package/dist/pvp-tier/types.js +0 -3
- package/dist/pvp-tier/types.js.map +0 -1
- package/dist/quest/quest.d.ts +0 -50
- package/dist/quest/quest.js +0 -4
- package/dist/quest/quest.js.map +0 -1
- package/dist/quest/types.d.ts +0 -102
- package/dist/quest/types.js +0 -3
- package/dist/quest/types.js.map +0 -1
- package/dist/realm/realm.d.ts +0 -23
- package/dist/realm/realm.js +0 -4
- package/dist/realm/realm.js.map +0 -1
- package/dist/realm/types.d.ts +0 -81
- package/dist/realm/types.js +0 -3
- package/dist/realm/types.js.map +0 -1
- package/dist/region/region.d.ts +0 -17
- package/dist/region/region.js +0 -4
- package/dist/region/region.js.map +0 -1
- package/dist/region/types.d.ts +0 -21
- package/dist/region/types.js +0 -3
- package/dist/region/types.js.map +0 -1
- package/dist/reputations/reputations.d.ts +0 -28
- package/dist/reputations/reputations.js +0 -4
- package/dist/reputations/reputations.js.map +0 -1
- package/dist/reputations/types.d.ts +0 -51
- package/dist/reputations/types.js +0 -3
- package/dist/reputations/types.js.map +0 -1
- package/dist/spell/spell.d.ts +0 -24
- package/dist/spell/spell.js +0 -4
- package/dist/spell/spell.js.map +0 -1
- package/dist/spell/types.d.ts +0 -47
- package/dist/spell/types.js +0 -3
- package/dist/spell/types.js.map +0 -1
- package/dist/talent/talent.d.ts +0 -46
- package/dist/talent/talent.js +0 -4
- package/dist/talent/talent.js.map +0 -1
- package/dist/talent/types.d.ts +0 -161
- package/dist/talent/types.js +0 -3
- package/dist/talent/types.js.map +0 -1
- package/dist/tech-talent/tech-talent.d.ts +0 -34
- package/dist/tech-talent/tech-talent.js +0 -4
- package/dist/tech-talent/tech-talent.js.map +0 -1
- package/dist/tech-talent/types.d.ts +0 -52
- package/dist/tech-talent/types.js +0 -3
- package/dist/tech-talent/types.js.map +0 -1
- package/dist/title/title.d.ts +0 -17
- package/dist/title/title.js +0 -4
- package/dist/title/title.js.map +0 -1
- package/dist/title/types.d.ts +0 -18
- package/dist/title/types.js +0 -3
- package/dist/title/types.js.map +0 -1
- package/dist/toy/toy.d.ts +0 -17
- package/dist/toy/toy.js +0 -4
- package/dist/toy/toy.js.map +0 -1
- package/dist/toy/types.d.ts +0 -29
- package/dist/toy/types.js +0 -3
- package/dist/toy/types.js.map +0 -1
- package/dist/wow-token/types.d.ts +0 -12
- package/dist/wow-token/types.js +0 -3
- package/dist/wow-token/types.js.map +0 -1
- package/dist/wow-token/wow-token.d.ts +0 -11
- package/dist/wow-token/wow-token.js +0 -4
- package/dist/wow-token/wow-token.js.map +0 -1
package/dist/realm/types.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Locales, BaseSearchParameters } from '@blizzard-api/core';
|
|
2
|
-
import { ResponseBase, Realm, NameId, NameIdKey, KeyBase } from '../base.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* The category of a realm.
|
|
6
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
7
|
-
*/
|
|
8
|
-
type RealmCategory = 'Brazil' | 'English' | 'French' | 'German' | 'Italian' | 'Latin America' | 'Oceanic' | 'PS' | 'Russian' | 'Spanish' | 'United States' | '한국';
|
|
9
|
-
/**
|
|
10
|
-
* The response for a realm index.
|
|
11
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
12
|
-
*/
|
|
13
|
-
interface RealmIndexResponse extends ResponseBase {
|
|
14
|
-
realms: Array<Realm>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* The response for a realm.
|
|
18
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
19
|
-
*/
|
|
20
|
-
interface RealmResponse extends NameId, ResponseBase {
|
|
21
|
-
category: RealmCategory;
|
|
22
|
-
connected_realm: {
|
|
23
|
-
href: string;
|
|
24
|
-
};
|
|
25
|
-
is_tournament: boolean;
|
|
26
|
-
locale: WithoutUnderscore<Locales>;
|
|
27
|
-
region: NameIdKey;
|
|
28
|
-
slug: string;
|
|
29
|
-
timezone: RealmTimezone;
|
|
30
|
-
type: {
|
|
31
|
-
name: RealmType;
|
|
32
|
-
type: RealmTypeCapitalized;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The search parameters for realms.
|
|
37
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
38
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
39
|
-
*/
|
|
40
|
-
interface RealmSearchParameters extends BaseSearchParameters {
|
|
41
|
-
timezone?: RealmTimezone;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* The response for a realm search.
|
|
45
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
46
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
47
|
-
*/
|
|
48
|
-
interface RealmSearchResponseItem extends KeyBase {
|
|
49
|
-
data: {
|
|
50
|
-
category: Record<Locales, string | undefined>;
|
|
51
|
-
id: number;
|
|
52
|
-
is_tournament: boolean;
|
|
53
|
-
locale: WithoutUnderscore<Locales>;
|
|
54
|
-
name: Record<Locales, string | undefined>;
|
|
55
|
-
region: {
|
|
56
|
-
id: number;
|
|
57
|
-
name: Record<Locales, string | undefined>;
|
|
58
|
-
};
|
|
59
|
-
slug: string;
|
|
60
|
-
timezone: RealmTimezone;
|
|
61
|
-
type: {
|
|
62
|
-
name: Record<Locales, string | undefined>;
|
|
63
|
-
type: RealmTypeCapitalized;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* The timezone of a realm.
|
|
69
|
-
*/
|
|
70
|
-
type RealmTimezone = 'America/Chicago' | 'America/Denver' | 'America/Los_Angeles' | 'America/New_York' | 'America/Sao_Paulo' | 'Asia/Seoul' | 'Australia/Melbourne' | 'Europe/Paris';
|
|
71
|
-
/**
|
|
72
|
-
* The type of a realm, not capitalized or shortened.
|
|
73
|
-
*/
|
|
74
|
-
type RealmType = 'Normal' | 'Roleplaying';
|
|
75
|
-
/**
|
|
76
|
-
* The type of a realm, capitalized and shortended).
|
|
77
|
-
*/
|
|
78
|
-
type RealmTypeCapitalized = 'NORMAL' | 'RP';
|
|
79
|
-
type WithoutUnderscore<T extends string> = T extends `${infer Prefix}_${infer Suffix}` ? `${Prefix}${Suffix}` : never;
|
|
80
|
-
|
|
81
|
-
export type { RealmCategory, RealmIndexResponse, RealmResponse, RealmSearchParameters, RealmSearchResponseItem, RealmTimezone, RealmType, RealmTypeCapitalized, WithoutUnderscore };
|
package/dist/realm/types.js
DELETED
package/dist/realm/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/dist/region/region.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@blizzard-api/core';
|
|
2
|
-
import { RegionResponse, RegionIndexResponse } from './types.js';
|
|
3
|
-
import '../base.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Get a region by ID.
|
|
7
|
-
* @param regionId The region ID.
|
|
8
|
-
* @returns The region. See {@link RegionResponse}.
|
|
9
|
-
*/
|
|
10
|
-
declare function region(regionId: number): Resource<RegionResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Get a region index.
|
|
13
|
-
* @returns The region index. See {@link RegionIndexResponse}.
|
|
14
|
-
*/
|
|
15
|
-
declare function regionIndex(): Resource<RegionIndexResponse>;
|
|
16
|
-
|
|
17
|
-
export { region, regionIndex };
|
package/dist/region/region.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"region.js"}
|
package/dist/region/types.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ResponseBase, NameId } from '../base.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The response for a region index.
|
|
5
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
-
*/
|
|
7
|
-
interface RegionIndexResponse extends ResponseBase {
|
|
8
|
-
regions: Array<{
|
|
9
|
-
href: string;
|
|
10
|
-
}>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* The response for a region.
|
|
14
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
15
|
-
*/
|
|
16
|
-
interface RegionResponse extends NameId, ResponseBase {
|
|
17
|
-
patch_string: string;
|
|
18
|
-
tag: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type { RegionIndexResponse, RegionResponse };
|
package/dist/region/types.js
DELETED
package/dist/region/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@blizzard-api/core';
|
|
2
|
-
import { ReputationFactionResponse, ReputationFactionIndexResponse, ReputationTiersResponse, ReputationTiersIndexResponse } from './types.js';
|
|
3
|
-
import '../base.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Get a reputation faction by ID.
|
|
7
|
-
* @param reputationFactionId The reputation faction ID.
|
|
8
|
-
* @returns The reputation faction. See {@link ReputationFactionResponse}.
|
|
9
|
-
*/
|
|
10
|
-
declare function reputationFaction(reputationFactionId: number): Resource<ReputationFactionResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Get a reputation faction index.
|
|
13
|
-
* @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.
|
|
14
|
-
*/
|
|
15
|
-
declare function reputationFactionIndex(): Resource<ReputationFactionIndexResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Get a reputation tier by ID.
|
|
18
|
-
* @param reputationTiersId The reputation tier ID.
|
|
19
|
-
* @returns The reputation tier. See {@link ReputationTiersResponse}.
|
|
20
|
-
*/
|
|
21
|
-
declare function reputationTiers(reputationTiersId: number): Resource<ReputationTiersResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Get a reputation tier index.
|
|
24
|
-
* @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.
|
|
25
|
-
*/
|
|
26
|
-
declare function reputationTiersIndex(): Resource<ReputationTiersIndexResponse>;
|
|
27
|
-
|
|
28
|
-
export { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"reputations.js"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ResponseBase, NameIdKey, KeyBase } from '../base.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The response for a reputation faction index.
|
|
5
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
-
*/
|
|
7
|
-
interface ReputationFactionIndexResponse extends ResponseBase {
|
|
8
|
-
factions: Array<NameIdKey>;
|
|
9
|
-
root_factions: Array<NameIdKey>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* The response for a reputation faction.
|
|
13
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
14
|
-
*/
|
|
15
|
-
interface ReputationFactionResponse extends ResponseBase {
|
|
16
|
-
description: string;
|
|
17
|
-
id: number;
|
|
18
|
-
name: string;
|
|
19
|
-
reputation_tiers: ReputationTiers;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* The response for a reputation tier index.
|
|
23
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
24
|
-
*/
|
|
25
|
-
interface ReputationTiersIndexResponse extends ResponseBase {
|
|
26
|
-
reputation_tiers: Array<ReputationTier>;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* The response for a reputation tier.
|
|
30
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
31
|
-
*/
|
|
32
|
-
interface ReputationTiersResponse extends ResponseBase {
|
|
33
|
-
faction?: NameIdKey;
|
|
34
|
-
id: number;
|
|
35
|
-
tiers: Array<Tier>;
|
|
36
|
-
}
|
|
37
|
-
interface ReputationTier extends KeyBase {
|
|
38
|
-
id: number;
|
|
39
|
-
name?: string;
|
|
40
|
-
}
|
|
41
|
-
interface ReputationTiers extends KeyBase {
|
|
42
|
-
id: number;
|
|
43
|
-
}
|
|
44
|
-
interface Tier {
|
|
45
|
-
id: number;
|
|
46
|
-
max_value: number;
|
|
47
|
-
min_value: number;
|
|
48
|
-
name: string;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type { ReputationFactionIndexResponse, ReputationFactionResponse, ReputationTiersIndexResponse, ReputationTiersResponse };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/dist/spell/spell.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Resource, SearchResponse } from '@blizzard-api/core';
|
|
2
|
-
import { SpellResponse, SpellMediaResponse, SpellSearchParameters, SpellSearchResponseItem } from './types.js';
|
|
3
|
-
import '../base.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Get a spell by ID.
|
|
7
|
-
* @param spellId The spell ID.
|
|
8
|
-
* @returns The spell. See {@link SpellResponse}.
|
|
9
|
-
*/
|
|
10
|
-
declare function spell(spellId: number): Resource<SpellResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Get spell media by ID.
|
|
13
|
-
* @param spellId The spell ID.
|
|
14
|
-
* @returns The spell media. See {@link SpellMediaResponse}.
|
|
15
|
-
*/
|
|
16
|
-
declare function spellMedia(spellId: number): Resource<SpellMediaResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* Get a spell search.
|
|
19
|
-
* @param options The spell search options. See {@link SpellSearchParameters}.
|
|
20
|
-
* @returns The spell search. See {@link SearchResponse}.
|
|
21
|
-
*/
|
|
22
|
-
declare function spellSearch(options: SpellSearchParameters): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, 'locale' | 'name'>>;
|
|
23
|
-
|
|
24
|
-
export { spell, spellMedia, spellSearch };
|
package/dist/spell/spell.js
DELETED
package/dist/spell/spell.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"spell.js"}
|
package/dist/spell/types.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { BaseSearchParameters, Locales } from '@blizzard-api/core';
|
|
2
|
-
import { ResponseBase, MediaAsset, NameId, KeyBase } from '../base.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* The response for a spell media.
|
|
6
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
7
|
-
*/
|
|
8
|
-
interface SpellMediaResponse extends ResponseBase {
|
|
9
|
-
assets: Array<MediaAsset>;
|
|
10
|
-
id: number;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* The response for a spell.
|
|
14
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
15
|
-
*/
|
|
16
|
-
interface SpellResponse extends NameId, ResponseBase {
|
|
17
|
-
description: null | string;
|
|
18
|
-
media: Media;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* The search parameters for spells.
|
|
22
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
23
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
24
|
-
*/
|
|
25
|
-
interface SpellSearchParameters extends BaseSearchParameters {
|
|
26
|
-
locale: Locales;
|
|
27
|
-
name: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* The response for a spell search.
|
|
31
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
32
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
33
|
-
*/
|
|
34
|
-
interface SpellSearchResponseItem extends KeyBase {
|
|
35
|
-
data: {
|
|
36
|
-
id: number;
|
|
37
|
-
media: {
|
|
38
|
-
id: number;
|
|
39
|
-
};
|
|
40
|
-
name: Record<Locales, string | undefined>;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
interface Media extends KeyBase {
|
|
44
|
-
id: number;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export type { SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponseItem };
|
package/dist/spell/types.js
DELETED
package/dist/spell/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/dist/talent/talent.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@blizzard-api/core';
|
|
2
|
-
import { PvpTalentResponse, PvpTalentIndexResponse, TalentResponse, TalentIndexResponse, TalentTreeResponse, TalentTreeIndexResponse, TalentTreeNodesResponse } from './types.js';
|
|
3
|
-
import '../base.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Get a PvP talent by ID.
|
|
7
|
-
* @param pvpTalentId The PvP talent ID.
|
|
8
|
-
* @returns The PvP talent. See {@link PvpTalentResponse}.
|
|
9
|
-
*/
|
|
10
|
-
declare function pvpTalent(pvpTalentId: number): Resource<PvpTalentResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Get a PvP talent index.
|
|
13
|
-
* @returns The PvP talent index. See {@link PvpTalentIndexResponse}.
|
|
14
|
-
*/
|
|
15
|
-
declare function pvpTalentIndex(): Resource<PvpTalentIndexResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Get a talent by ID.
|
|
18
|
-
* @param talentId The talent ID.
|
|
19
|
-
* @returns The talent. See {@link TalentResponse}.
|
|
20
|
-
*/
|
|
21
|
-
declare function talent(talentId: number): Resource<TalentResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Get a talent index.
|
|
24
|
-
* @returns The talent index. See {@link TalentIndexResponse}.
|
|
25
|
-
*/
|
|
26
|
-
declare function talentIndex(): Resource<TalentIndexResponse>;
|
|
27
|
-
/**
|
|
28
|
-
* Get a talent tree by ID.
|
|
29
|
-
* @param talentTreeId The talent tree ID.
|
|
30
|
-
* @param specId The playable specialization ID.
|
|
31
|
-
* @returns The talent tree. See {@link TalentTreeResponse}.
|
|
32
|
-
*/
|
|
33
|
-
declare function talentTree(talentTreeId: number, specId: number): Resource<TalentTreeResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* Get a talent tree index.
|
|
36
|
-
* @returns The talent tree index. See {@link TalentTreeIndexResponse}.
|
|
37
|
-
*/
|
|
38
|
-
declare function talentTreeIndex(): Resource<TalentTreeIndexResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* Get talent tree nodes by talent tree ID.
|
|
41
|
-
* @param talentTreeId The talent tree ID.
|
|
42
|
-
* @returns The talent tree nodes. See {@link TalentTreeNodesResponse}.
|
|
43
|
-
*/
|
|
44
|
-
declare function talentTreeNodes(talentTreeId: number): Resource<TalentTreeNodesResponse>;
|
|
45
|
-
|
|
46
|
-
export { pvpTalent, pvpTalentIndex, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes };
|
package/dist/talent/talent.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"talent.js"}
|
package/dist/talent/types.d.ts
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { ResponseBase, NameIdKey, NameId, KeyBase } from '../base.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The response for a pvp talent index.
|
|
5
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
-
*/
|
|
7
|
-
interface PvpTalentIndexResponse extends ResponseBase {
|
|
8
|
-
pvp_talents: Array<NameIdKey>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The response for a pvp talent.
|
|
12
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
|
-
*/
|
|
14
|
-
interface PvpTalentResponse extends ResponseBase {
|
|
15
|
-
compatible_slots: Array<number>;
|
|
16
|
-
description: string;
|
|
17
|
-
id: number;
|
|
18
|
-
playable_specialization: NameIdKey;
|
|
19
|
-
spell: NameIdKey;
|
|
20
|
-
unlock_player_level: number;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* The response for a talent index.
|
|
24
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
25
|
-
*/
|
|
26
|
-
interface TalentIndexResponse extends ResponseBase {
|
|
27
|
-
talents: Array<NameIdKey>;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* The response for a talent.
|
|
31
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
32
|
-
*/
|
|
33
|
-
interface TalentResponse extends ResponseBase {
|
|
34
|
-
id: number;
|
|
35
|
-
playable_class: PlayableClass;
|
|
36
|
-
rank_descriptions: Array<RankDescription>;
|
|
37
|
-
spell: NameIdKey;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* The response for a talent tree index.
|
|
41
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
42
|
-
*/
|
|
43
|
-
interface TalentTreeIndexResponse extends ResponseBase {
|
|
44
|
-
class_talent_trees: Array<TalentTree>;
|
|
45
|
-
spec_talent_trees: Array<TalentTree>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The response for a talent tree nodes.
|
|
49
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
50
|
-
*/
|
|
51
|
-
interface TalentTreeNodesResponse extends ResponseBase {
|
|
52
|
-
id: number;
|
|
53
|
-
spec_talent_trees: Array<SpecTalentTree>;
|
|
54
|
-
talent_nodes: Array<TalentNode>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* The response for a talent tree.
|
|
58
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
59
|
-
*/
|
|
60
|
-
interface TalentTreeResponse extends NameId, ResponseBase {
|
|
61
|
-
class_talent_nodes: Array<ClassTalentNode>;
|
|
62
|
-
media: {
|
|
63
|
-
href: string;
|
|
64
|
-
};
|
|
65
|
-
playable_class: NameIdKey;
|
|
66
|
-
playable_specialization: NameIdKey;
|
|
67
|
-
restriction_lines: Array<RestrictionLine>;
|
|
68
|
-
spec_talent_nodes: Array<SpecTalentNode>;
|
|
69
|
-
}
|
|
70
|
-
interface ChoiceOfTooltip {
|
|
71
|
-
spell_tooltip: PurpleSpellTooltip;
|
|
72
|
-
talent: NameIdKey;
|
|
73
|
-
}
|
|
74
|
-
interface ClassTalentNode {
|
|
75
|
-
display_col: number;
|
|
76
|
-
display_row: number;
|
|
77
|
-
id: number;
|
|
78
|
-
locked_by?: Array<number>;
|
|
79
|
-
node_type: NodeType;
|
|
80
|
-
ranks: Array<ClassTalentNodeRank>;
|
|
81
|
-
raw_position_x: number;
|
|
82
|
-
raw_position_y: number;
|
|
83
|
-
unlocks?: Array<number>;
|
|
84
|
-
}
|
|
85
|
-
interface ClassTalentNodeRank {
|
|
86
|
-
choice_of_tooltips?: Array<Tooltip>;
|
|
87
|
-
default_points?: number;
|
|
88
|
-
rank: number;
|
|
89
|
-
tooltip?: Tooltip;
|
|
90
|
-
}
|
|
91
|
-
interface NodeType {
|
|
92
|
-
id: number;
|
|
93
|
-
type: 'ACTIVE' | 'CHOICE' | 'PASSIVE';
|
|
94
|
-
}
|
|
95
|
-
interface PlayableClass extends KeyBase {
|
|
96
|
-
id: number;
|
|
97
|
-
}
|
|
98
|
-
interface PurpleSpellTooltip {
|
|
99
|
-
cast_time: string;
|
|
100
|
-
description: string;
|
|
101
|
-
spell: NameIdKey;
|
|
102
|
-
}
|
|
103
|
-
interface Rank {
|
|
104
|
-
choice_of_tooltips?: Array<Tooltip>;
|
|
105
|
-
rank: number;
|
|
106
|
-
tooltip?: Tooltip;
|
|
107
|
-
}
|
|
108
|
-
interface RankDescription {
|
|
109
|
-
description: null;
|
|
110
|
-
rank: number;
|
|
111
|
-
}
|
|
112
|
-
interface RestrictionLine {
|
|
113
|
-
is_for_class: boolean;
|
|
114
|
-
required_points: number;
|
|
115
|
-
restricted_row: number;
|
|
116
|
-
}
|
|
117
|
-
interface SpecTalentNode {
|
|
118
|
-
display_col: number;
|
|
119
|
-
display_row: number;
|
|
120
|
-
id: number;
|
|
121
|
-
locked_by?: Array<number>;
|
|
122
|
-
node_type: NodeType;
|
|
123
|
-
ranks: Array<SpecTalentNodeRank>;
|
|
124
|
-
raw_position_x: number;
|
|
125
|
-
raw_position_y: number;
|
|
126
|
-
unlocks?: Array<number>;
|
|
127
|
-
}
|
|
128
|
-
interface SpecTalentNodeRank {
|
|
129
|
-
choice_of_tooltips?: Array<ChoiceOfTooltip>;
|
|
130
|
-
rank: number;
|
|
131
|
-
tooltip?: Tooltip;
|
|
132
|
-
}
|
|
133
|
-
interface SpecTalentTree extends KeyBase {
|
|
134
|
-
name: string;
|
|
135
|
-
}
|
|
136
|
-
interface TalentNode {
|
|
137
|
-
display_col: number;
|
|
138
|
-
display_row: number;
|
|
139
|
-
id: number;
|
|
140
|
-
node_type: NodeType;
|
|
141
|
-
ranks: Array<Rank>;
|
|
142
|
-
raw_position_x: number;
|
|
143
|
-
raw_position_y: number;
|
|
144
|
-
}
|
|
145
|
-
interface TalentTree extends KeyBase {
|
|
146
|
-
name: string;
|
|
147
|
-
}
|
|
148
|
-
interface Tooltip {
|
|
149
|
-
spell_tooltip: TooltipSpellTooltip;
|
|
150
|
-
talent: NameIdKey;
|
|
151
|
-
}
|
|
152
|
-
interface TooltipSpellTooltip {
|
|
153
|
-
cast_time: string;
|
|
154
|
-
cooldown?: string;
|
|
155
|
-
description: string;
|
|
156
|
-
power_cost?: string;
|
|
157
|
-
range?: string;
|
|
158
|
-
spell: NameIdKey;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export type { PvpTalentIndexResponse, PvpTalentResponse, TalentIndexResponse, TalentResponse, TalentTreeIndexResponse, TalentTreeNodesResponse, TalentTreeResponse };
|
package/dist/talent/types.js
DELETED
package/dist/talent/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@blizzard-api/core';
|
|
2
|
-
import { TechTalentResponse, TechTalentIndexResponse, TechTalentMediaResponse, TechTalentTreeResponse, TechTalentTreeIndexResponse } from './types.js';
|
|
3
|
-
import '../base.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Get a tech talent by ID.
|
|
7
|
-
* @param techTalentId The tech talent ID.
|
|
8
|
-
* @returns The tech talent. See {@link TechTalentResponse}.
|
|
9
|
-
*/
|
|
10
|
-
declare function techTalent(techTalentId: number): Resource<TechTalentResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Get a tech talent index.
|
|
13
|
-
* @returns The tech talent index. See {@link TechTalentIndexResponse}.
|
|
14
|
-
*/
|
|
15
|
-
declare function techTalentIndex(): Resource<TechTalentIndexResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Get tech talent media by ID.
|
|
18
|
-
* @param techTalentId The tech talent ID.
|
|
19
|
-
* @returns The tech talent media. See {@link TechTalentMediaResponse}.
|
|
20
|
-
*/
|
|
21
|
-
declare function techTalentMedia(techTalentId: number): Resource<TechTalentMediaResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Get a tech talent tree by ID.
|
|
24
|
-
* @param techTalentTreeId The tech talent tree ID.
|
|
25
|
-
* @returns The tech talent tree. See {@link TechTalentTreeResponse}.
|
|
26
|
-
*/
|
|
27
|
-
declare function techTalentTree(techTalentTreeId: number): Resource<TechTalentTreeResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Get a tech talent tree index.
|
|
30
|
-
* @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.
|
|
31
|
-
*/
|
|
32
|
-
declare function techTalentTreeIndex(): Resource<TechTalentTreeIndexResponse>;
|
|
33
|
-
|
|
34
|
-
export { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"tech-talent.js"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ResponseBase, NameIdKey, MediaAsset, NameId, KeyBase } from '../base.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The response for a tech talent index.
|
|
5
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
-
*/
|
|
7
|
-
interface TechTalentIndexResponse extends ResponseBase {
|
|
8
|
-
talents: Array<NameIdKey>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The response for a tech talent media.
|
|
12
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
|
-
*/
|
|
14
|
-
interface TechTalentMediaResponse extends ResponseBase {
|
|
15
|
-
assets: Array<MediaAsset>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* The response for a tech talent.
|
|
19
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
20
|
-
*/
|
|
21
|
-
interface TechTalentResponse extends NameId, ResponseBase {
|
|
22
|
-
display_order: number;
|
|
23
|
-
media: Media;
|
|
24
|
-
talent_tree: Media;
|
|
25
|
-
tier: number;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* The response for a tech talent tree index.
|
|
29
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
30
|
-
*/
|
|
31
|
-
interface TechTalentTreeIndexResponse extends ResponseBase {
|
|
32
|
-
talent_trees: Array<TalentTree>;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* The response for a tech talent tree.
|
|
36
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
37
|
-
*/
|
|
38
|
-
interface TechTalentTreeResponse extends ResponseBase {
|
|
39
|
-
id: number;
|
|
40
|
-
max_tiers: number;
|
|
41
|
-
playable_class: NameIdKey;
|
|
42
|
-
talents: Array<NameIdKey>;
|
|
43
|
-
}
|
|
44
|
-
interface Media extends KeyBase {
|
|
45
|
-
id: number;
|
|
46
|
-
}
|
|
47
|
-
interface TalentTree extends KeyBase {
|
|
48
|
-
id: number;
|
|
49
|
-
name?: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type { TechTalentIndexResponse, TechTalentMediaResponse, TechTalentResponse, TechTalentTreeIndexResponse, TechTalentTreeResponse };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|