@pinta365/blizzard_api 0.4.0 → 0.6.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/LICENSE +0 -0
- package/README.md +153 -37
- package/esm/mod.d.ts +43 -6
- package/esm/mod.js +69 -6
- package/esm/src/client.d.ts +95 -0
- package/esm/src/client.js +52 -0
- package/esm/src/diablo3/community/act.d.ts +29 -0
- package/esm/src/diablo3/community/act.js +23 -0
- package/esm/src/diablo3/community/artisan.d.ts +50 -0
- package/esm/src/diablo3/community/artisan.js +25 -0
- package/esm/src/diablo3/community/follower.d.ts +25 -0
- package/esm/src/diablo3/community/follower.js +12 -0
- package/esm/src/diablo3/community/hero.d.ts +57 -0
- package/esm/src/diablo3/community/hero.js +25 -0
- package/esm/src/diablo3/community/item.d.ts +48 -0
- package/esm/src/diablo3/community/item.js +12 -0
- package/esm/src/diablo3/community/item_type.d.ts +26 -0
- package/esm/src/diablo3/community/item_type.js +23 -0
- package/esm/src/diablo3/community/profile.d.ts +352 -0
- package/esm/src/diablo3/community/profile.js +61 -0
- package/esm/src/diablo3/game_data/d3.d.ts +127 -0
- package/esm/src/diablo3/game_data/d3.js +72 -0
- package/esm/src/diablo3/index.d.ts +8 -0
- package/esm/src/diablo3/index.js +8 -0
- package/esm/src/diablo3/types.d.ts +8 -0
- package/esm/src/diablo3/types.js +1 -0
- package/esm/src/generated/diablo3_api.d.ts +156 -0
- package/esm/src/generated/diablo3_api.js +2 -0
- package/esm/src/generated/hearthstone_api.d.ts +51 -0
- package/esm/src/generated/hearthstone_api.js +2 -0
- package/esm/src/generated/sc2_api.d.ts +139 -0
- package/esm/src/generated/sc2_api.js +2 -0
- package/esm/src/generated/wow_api.d.ts +1482 -0
- package/esm/src/generated/wow_api.js +2 -0
- package/esm/src/generated/wow_classic_api.d.ts +555 -0
- package/esm/src/generated/wow_classic_api.js +2 -0
- package/esm/src/generated/wow_classic_era_api.d.ts +418 -0
- package/esm/src/generated/wow_classic_era_api.js +2 -0
- package/esm/src/hearthstone/game_data/card_backs.d.ts +31 -0
- package/esm/src/hearthstone/game_data/card_backs.js +22 -0
- package/esm/src/hearthstone/game_data/cards.d.ts +55 -0
- package/esm/src/hearthstone/game_data/cards.js +26 -0
- package/esm/src/hearthstone/game_data/decks.d.ts +29 -0
- package/esm/src/hearthstone/game_data/decks.js +13 -0
- package/esm/src/hearthstone/game_data/metadata.d.ts +82 -0
- package/esm/src/hearthstone/game_data/metadata.js +11 -0
- package/esm/src/hearthstone/index.d.ts +4 -0
- package/esm/src/hearthstone/index.js +4 -0
- package/esm/src/hearthstone/search.d.ts +21 -0
- package/esm/src/hearthstone/search.js +28 -0
- package/esm/src/hearthstone/types.d.ts +5 -0
- package/esm/src/hearthstone/types.js +1 -0
- package/esm/src/shared/bind.d.ts +14 -0
- package/esm/src/shared/bind.js +15 -0
- package/esm/src/shared/context.d.ts +163 -0
- package/esm/src/shared/context.js +304 -0
- package/esm/src/shared/errors.d.ts +53 -0
- package/esm/src/shared/errors.js +95 -0
- package/esm/src/shared/index.d.ts +4 -0
- package/esm/src/shared/index.js +2 -0
- package/esm/src/shared/types.d.ts +133 -0
- package/esm/src/shared/types.js +2 -0
- package/esm/src/starcraft2/community/account.d.ts +19 -0
- package/esm/src/starcraft2/community/account.js +15 -0
- package/esm/src/starcraft2/community/ladder.d.ts +29 -0
- package/esm/src/starcraft2/community/ladder.js +27 -0
- package/esm/src/starcraft2/community/legacy.d.ts +206 -0
- package/esm/src/starcraft2/community/legacy.js +83 -0
- package/esm/src/starcraft2/community/profile.d.ts +255 -0
- package/esm/src/starcraft2/community/profile.js +73 -0
- package/esm/src/starcraft2/game_data/league.d.ts +35 -0
- package/esm/src/starcraft2/game_data/league.js +20 -0
- package/esm/src/starcraft2/index.d.ts +5 -0
- package/esm/src/starcraft2/index.js +5 -0
- package/esm/src/starcraft2/types.d.ts +5 -0
- package/esm/src/starcraft2/types.js +1 -0
- package/esm/src/wow/game_data/achievement.d.ts +87 -0
- package/esm/src/wow/game_data/achievement.js +68 -0
- package/esm/src/wow/game_data/auction_house.d.ts +65 -0
- package/esm/src/wow/game_data/auction_house.js +33 -0
- package/esm/src/wow/game_data/azerite_essence.d.ts +50 -0
- package/esm/src/wow/game_data/azerite_essence.js +48 -0
- package/esm/src/wow/game_data/connected_realm.d.ts +62 -0
- package/esm/src/wow/game_data/connected_realm.js +35 -0
- package/esm/src/wow/game_data/covenant.d.ts +115 -0
- package/esm/src/wow/game_data/covenant.js +88 -0
- package/esm/src/wow/game_data/creature.d.ts +98 -0
- package/esm/src/wow/game_data/creature.js +99 -0
- package/esm/src/wow/game_data/guild_crest.d.ts +56 -0
- package/esm/src/wow/game_data/guild_crest.js +38 -0
- package/esm/src/wow/game_data/heirloom.d.ts +82 -0
- package/esm/src/wow/game_data/heirloom.js +25 -0
- package/esm/src/wow/game_data/housing.d.ts +111 -0
- package/esm/src/wow/game_data/housing.js +124 -0
- package/esm/src/wow/game_data/item.d.ts +183 -0
- package/esm/src/wow/game_data/item.js +100 -0
- package/esm/src/wow/game_data/item_appearance.d.ts +102 -0
- package/esm/src/wow/game_data/item_appearance.js +73 -0
- package/esm/src/wow/game_data/journal.d.ts +124 -0
- package/esm/src/wow/game_data/journal.js +98 -0
- package/esm/src/wow/game_data/keystone_affix.d.ts +39 -0
- package/esm/src/wow/game_data/keystone_affix.js +38 -0
- package/esm/src/wow/game_data/media_search.d.ts +9 -0
- package/esm/src/wow/game_data/media_search.js +10 -0
- package/esm/src/wow/game_data/modified_crafting.d.ts +65 -0
- package/esm/src/wow/game_data/modified_crafting.js +62 -0
- package/esm/src/wow/game_data/mount.d.ts +38 -0
- package/esm/src/wow/game_data/mount.js +35 -0
- package/esm/src/wow/game_data/mythic_keystone_dungeon.d.ts +92 -0
- package/esm/src/wow/game_data/mythic_keystone_dungeon.js +87 -0
- package/esm/src/wow/game_data/mythic_keystone_leaderboard.d.ts +70 -0
- package/esm/src/wow/game_data/mythic_keystone_leaderboard.js +28 -0
- package/esm/src/wow/game_data/mythic_raid_leaderboard.d.ts +36 -0
- package/esm/src/wow/game_data/mythic_raid_leaderboard.js +14 -0
- package/esm/src/wow/game_data/neighborhood.d.ts +36 -0
- package/esm/src/wow/game_data/neighborhood.js +38 -0
- package/esm/src/wow/game_data/pet.d.ts +93 -0
- package/esm/src/wow/game_data/pet.js +76 -0
- package/esm/src/wow/game_data/playable_class.d.ts +58 -0
- package/esm/src/wow/game_data/playable_class.js +51 -0
- package/esm/src/wow/game_data/playable_race.d.ts +31 -0
- package/esm/src/wow/game_data/playable_race.js +25 -0
- package/esm/src/wow/game_data/playable_specialization.d.ts +63 -0
- package/esm/src/wow/game_data/playable_specialization.js +38 -0
- package/esm/src/wow/game_data/power_type.d.ts +22 -0
- package/esm/src/wow/game_data/power_type.js +25 -0
- package/esm/src/wow/game_data/profession.d.ts +88 -0
- package/esm/src/wow/game_data/profession.js +78 -0
- package/esm/src/wow/game_data/pvp_season.d.ts +108 -0
- package/esm/src/wow/game_data/pvp_season.js +66 -0
- package/esm/src/wow/game_data/pvp_tier.d.ts +41 -0
- package/esm/src/wow/game_data/pvp_tier.js +38 -0
- package/esm/src/wow/game_data/quest.d.ts +116 -0
- package/esm/src/wow/game_data/quest.js +100 -0
- package/esm/src/wow/game_data/realm.d.ts +43 -0
- package/esm/src/wow/game_data/realm.js +35 -0
- package/esm/src/wow/game_data/region.d.ts +26 -0
- package/esm/src/wow/game_data/region.js +25 -0
- package/esm/src/wow/game_data/reputations.d.ts +57 -0
- package/esm/src/wow/game_data/reputations.js +50 -0
- package/esm/src/wow/game_data/spell.d.ts +34 -0
- package/esm/src/wow/game_data/spell.js +36 -0
- package/esm/src/wow/game_data/talent.d.ts +143 -0
- package/esm/src/wow/game_data/talent.js +89 -0
- package/esm/src/wow/game_data/tech_talent.d.ts +72 -0
- package/esm/src/wow/game_data/tech_talent.js +63 -0
- package/esm/src/wow/game_data/title.d.ts +33 -0
- package/esm/src/wow/game_data/title.js +25 -0
- package/esm/src/wow/game_data/token.d.ts +17 -0
- package/esm/src/wow/game_data/token.js +18 -0
- package/esm/src/wow/game_data/toy.d.ts +25 -0
- package/esm/src/wow/game_data/toy.js +25 -0
- package/esm/src/wow/index.d.ts +59 -0
- package/esm/src/wow/index.js +61 -0
- package/esm/src/wow/profile/account_profile.d.ts +185 -0
- package/esm/src/wow/profile/account_profile.js +132 -0
- package/esm/src/wow/profile/character_achievements.d.ts +88 -0
- package/esm/src/wow/profile/character_achievements.js +28 -0
- package/esm/src/wow/profile/character_appearance.d.ts +79 -0
- package/esm/src/wow/profile/character_appearance.js +14 -0
- package/esm/src/wow/profile/character_collections.d.ts +132 -0
- package/esm/src/wow/profile/character_collections.js +98 -0
- package/esm/src/wow/profile/character_encounters.d.ts +78 -0
- package/esm/src/wow/profile/character_encounters.js +42 -0
- package/esm/src/wow/profile/character_equipment.d.ts +177 -0
- package/esm/src/wow/profile/character_equipment.js +14 -0
- package/esm/src/wow/profile/character_house.d.ts +16 -0
- package/esm/src/wow/profile/character_house.js +17 -0
- package/esm/src/wow/profile/character_hunter_pets.d.ts +22 -0
- package/esm/src/wow/profile/character_hunter_pets.js +14 -0
- package/esm/src/wow/profile/character_media.d.ts +14 -0
- package/esm/src/wow/profile/character_media.js +14 -0
- package/esm/src/wow/profile/character_mythic_keystone_profile.d.ts +70 -0
- package/esm/src/wow/profile/character_mythic_keystone_profile.js +31 -0
- package/esm/src/wow/profile/character_professions.d.ts +29 -0
- package/esm/src/wow/profile/character_professions.js +14 -0
- package/esm/src/wow/profile/character_profile.d.ts +83 -0
- package/esm/src/wow/profile/character_profile.js +39 -0
- package/esm/src/wow/profile/character_pvp.d.ts +53 -0
- package/esm/src/wow/profile/character_pvp.js +29 -0
- package/esm/src/wow/profile/character_quests.d.ts +29 -0
- package/esm/src/wow/profile/character_quests.js +28 -0
- package/esm/src/wow/profile/character_reputations.d.ts +30 -0
- package/esm/src/wow/profile/character_reputations.js +14 -0
- package/esm/src/wow/profile/character_soulbinds.d.ts +31 -0
- package/esm/src/wow/profile/character_soulbinds.js +14 -0
- package/esm/src/wow/profile/character_specializations.d.ts +82 -0
- package/esm/src/wow/profile/character_specializations.js +14 -0
- package/esm/src/wow/profile/character_statistics.d.ts +104 -0
- package/esm/src/wow/profile/character_statistics.js +14 -0
- package/esm/src/wow/profile/character_titles.d.ts +14 -0
- package/esm/src/wow/profile/character_titles.js +14 -0
- package/esm/src/wow/profile/guild.d.ts +150 -0
- package/esm/src/wow/profile/guild.js +56 -0
- package/esm/src/wow/search.d.ts +23 -0
- package/esm/src/wow/search.js +29 -0
- package/esm/src/wow/types.d.ts +58 -0
- package/esm/src/wow/types.js +1 -0
- package/esm/src/wow_classic/auction_house.d.ts +41 -0
- package/esm/src/wow_classic/auction_house.js +31 -0
- package/esm/src/wow_classic/character_specializations.d.ts +45 -0
- package/esm/src/wow_classic/character_specializations.js +18 -0
- package/esm/src/wow_classic/era.d.ts +8 -0
- package/esm/src/wow_classic/era.js +10 -0
- package/esm/src/wow_classic/index.d.ts +15 -0
- package/esm/src/wow_classic/index.js +17 -0
- package/esm/src/wow_classic/profile_overrides.d.ts +125 -0
- package/esm/src/wow_classic/profile_overrides.js +111 -0
- package/esm/src/wow_classic/shared.d.ts +23 -0
- package/esm/src/wow_classic/shared.js +26 -0
- package/esm/src/wow_classic/types.d.ts +3 -0
- package/esm/src/wow_classic/types.js +1 -0
- package/package.json +23 -2
- package/script/mod.d.ts +43 -6
- package/script/mod.js +91 -21
- package/script/src/client.d.ts +95 -0
- package/script/src/client.js +89 -0
- package/script/src/diablo3/community/act.d.ts +29 -0
- package/script/src/diablo3/community/act.js +27 -0
- package/script/src/diablo3/community/artisan.d.ts +50 -0
- package/script/src/diablo3/community/artisan.js +29 -0
- package/script/src/diablo3/community/follower.d.ts +25 -0
- package/script/src/diablo3/community/follower.js +15 -0
- package/script/src/diablo3/community/hero.d.ts +57 -0
- package/script/src/diablo3/community/hero.js +29 -0
- package/script/src/diablo3/community/item.d.ts +48 -0
- package/script/src/diablo3/community/item.js +15 -0
- package/script/src/diablo3/community/item_type.d.ts +26 -0
- package/script/src/diablo3/community/item_type.js +27 -0
- package/script/src/diablo3/community/profile.d.ts +352 -0
- package/script/src/diablo3/community/profile.js +67 -0
- package/script/src/diablo3/game_data/d3.d.ts +127 -0
- package/script/src/diablo3/game_data/d3.js +80 -0
- package/script/src/diablo3/index.d.ts +8 -0
- package/script/src/diablo3/index.js +31 -0
- package/script/src/diablo3/types.d.ts +8 -0
- package/script/src/diablo3/types.js +2 -0
- package/script/src/generated/diablo3_api.d.ts +156 -0
- package/script/src/generated/diablo3_api.js +3 -0
- package/script/src/generated/hearthstone_api.d.ts +51 -0
- package/script/src/generated/hearthstone_api.js +3 -0
- package/script/src/generated/sc2_api.d.ts +139 -0
- package/script/src/generated/sc2_api.js +3 -0
- package/script/src/generated/wow_api.d.ts +1482 -0
- package/script/src/generated/wow_api.js +3 -0
- package/script/src/generated/wow_classic_api.d.ts +555 -0
- package/script/src/generated/wow_classic_api.js +3 -0
- package/script/src/generated/wow_classic_era_api.d.ts +418 -0
- package/script/src/generated/wow_classic_era_api.js +3 -0
- package/script/src/hearthstone/game_data/card_backs.d.ts +31 -0
- package/script/src/hearthstone/game_data/card_backs.js +26 -0
- package/script/src/hearthstone/game_data/cards.d.ts +55 -0
- package/script/src/hearthstone/game_data/cards.js +30 -0
- package/script/src/hearthstone/game_data/decks.d.ts +29 -0
- package/script/src/hearthstone/game_data/decks.js +16 -0
- package/script/src/hearthstone/game_data/metadata.d.ts +82 -0
- package/script/src/hearthstone/game_data/metadata.js +14 -0
- package/script/src/hearthstone/index.d.ts +4 -0
- package/script/src/hearthstone/index.js +13 -0
- package/script/src/hearthstone/search.d.ts +21 -0
- package/script/src/hearthstone/search.js +31 -0
- package/script/src/hearthstone/types.d.ts +5 -0
- package/script/src/hearthstone/types.js +2 -0
- package/script/src/shared/bind.d.ts +14 -0
- package/script/src/shared/bind.js +18 -0
- package/script/src/shared/context.d.ts +163 -0
- package/script/src/shared/context.js +312 -0
- package/script/src/shared/errors.d.ts +53 -0
- package/script/src/shared/errors.js +104 -0
- package/script/src/shared/index.d.ts +4 -0
- package/script/src/shared/index.js +10 -0
- package/script/src/shared/types.d.ts +133 -0
- package/script/src/shared/types.js +3 -0
- package/script/src/starcraft2/community/account.d.ts +19 -0
- package/script/src/starcraft2/community/account.js +18 -0
- package/script/src/starcraft2/community/ladder.d.ts +29 -0
- package/script/src/starcraft2/community/ladder.js +31 -0
- package/script/src/starcraft2/community/legacy.d.ts +206 -0
- package/script/src/starcraft2/community/legacy.js +91 -0
- package/script/src/starcraft2/community/profile.d.ts +255 -0
- package/script/src/starcraft2/community/profile.js +80 -0
- package/script/src/starcraft2/game_data/league.d.ts +35 -0
- package/script/src/starcraft2/game_data/league.js +23 -0
- package/script/src/starcraft2/index.d.ts +5 -0
- package/script/src/starcraft2/index.js +23 -0
- package/script/src/starcraft2/types.d.ts +5 -0
- package/script/src/starcraft2/types.js +2 -0
- package/script/src/wow/game_data/achievement.d.ts +87 -0
- package/script/src/wow/game_data/achievement.js +75 -0
- package/script/src/wow/game_data/auction_house.d.ts +65 -0
- package/script/src/wow/game_data/auction_house.js +37 -0
- package/script/src/wow/game_data/azerite_essence.d.ts +50 -0
- package/script/src/wow/game_data/azerite_essence.js +54 -0
- package/script/src/wow/game_data/connected_realm.d.ts +62 -0
- package/script/src/wow/game_data/connected_realm.js +40 -0
- package/script/src/wow/game_data/covenant.d.ts +115 -0
- package/script/src/wow/game_data/covenant.js +97 -0
- package/script/src/wow/game_data/creature.d.ts +98 -0
- package/script/src/wow/game_data/creature.js +109 -0
- package/script/src/wow/game_data/guild_crest.d.ts +56 -0
- package/script/src/wow/game_data/guild_crest.js +43 -0
- package/script/src/wow/game_data/heirloom.d.ts +82 -0
- package/script/src/wow/game_data/heirloom.js +29 -0
- package/script/src/wow/game_data/housing.d.ts +111 -0
- package/script/src/wow/game_data/housing.js +138 -0
- package/script/src/wow/game_data/item.d.ts +183 -0
- package/script/src/wow/game_data/item.js +110 -0
- package/script/src/wow/game_data/item_appearance.d.ts +102 -0
- package/script/src/wow/game_data/item_appearance.js +81 -0
- package/script/src/wow/game_data/journal.d.ts +124 -0
- package/script/src/wow/game_data/journal.js +108 -0
- package/script/src/wow/game_data/keystone_affix.d.ts +39 -0
- package/script/src/wow/game_data/keystone_affix.js +43 -0
- package/script/src/wow/game_data/media_search.d.ts +9 -0
- package/script/src/wow/game_data/media_search.js +13 -0
- package/script/src/wow/game_data/modified_crafting.d.ts +65 -0
- package/script/src/wow/game_data/modified_crafting.js +69 -0
- package/script/src/wow/game_data/mount.d.ts +38 -0
- package/script/src/wow/game_data/mount.js +40 -0
- package/script/src/wow/game_data/mythic_keystone_dungeon.d.ts +92 -0
- package/script/src/wow/game_data/mythic_keystone_dungeon.js +96 -0
- package/script/src/wow/game_data/mythic_keystone_leaderboard.d.ts +70 -0
- package/script/src/wow/game_data/mythic_keystone_leaderboard.js +32 -0
- package/script/src/wow/game_data/mythic_raid_leaderboard.d.ts +36 -0
- package/script/src/wow/game_data/mythic_raid_leaderboard.js +17 -0
- package/script/src/wow/game_data/neighborhood.d.ts +36 -0
- package/script/src/wow/game_data/neighborhood.js +43 -0
- package/script/src/wow/game_data/pet.d.ts +93 -0
- package/script/src/wow/game_data/pet.js +84 -0
- package/script/src/wow/game_data/playable_class.d.ts +58 -0
- package/script/src/wow/game_data/playable_class.js +57 -0
- package/script/src/wow/game_data/playable_race.d.ts +31 -0
- package/script/src/wow/game_data/playable_race.js +29 -0
- package/script/src/wow/game_data/playable_specialization.d.ts +63 -0
- package/script/src/wow/game_data/playable_specialization.js +43 -0
- package/script/src/wow/game_data/power_type.d.ts +22 -0
- package/script/src/wow/game_data/power_type.js +29 -0
- package/script/src/wow/game_data/profession.d.ts +88 -0
- package/script/src/wow/game_data/profession.js +86 -0
- package/script/src/wow/game_data/pvp_season.d.ts +108 -0
- package/script/src/wow/game_data/pvp_season.js +73 -0
- package/script/src/wow/game_data/pvp_tier.d.ts +41 -0
- package/script/src/wow/game_data/pvp_tier.js +43 -0
- package/script/src/wow/game_data/quest.d.ts +116 -0
- package/script/src/wow/game_data/quest.js +110 -0
- package/script/src/wow/game_data/realm.d.ts +43 -0
- package/script/src/wow/game_data/realm.js +40 -0
- package/script/src/wow/game_data/region.d.ts +26 -0
- package/script/src/wow/game_data/region.js +29 -0
- package/script/src/wow/game_data/reputations.d.ts +57 -0
- package/script/src/wow/game_data/reputations.js +56 -0
- package/script/src/wow/game_data/spell.d.ts +34 -0
- package/script/src/wow/game_data/spell.js +41 -0
- package/script/src/wow/game_data/talent.d.ts +143 -0
- package/script/src/wow/game_data/talent.js +98 -0
- package/script/src/wow/game_data/tech_talent.d.ts +72 -0
- package/script/src/wow/game_data/tech_talent.js +70 -0
- package/script/src/wow/game_data/title.d.ts +33 -0
- package/script/src/wow/game_data/title.js +29 -0
- package/script/src/wow/game_data/token.d.ts +17 -0
- package/script/src/wow/game_data/token.js +21 -0
- package/script/src/wow/game_data/toy.d.ts +25 -0
- package/script/src/wow/game_data/toy.js +29 -0
- package/script/src/wow/index.d.ts +59 -0
- package/script/src/wow/index.js +272 -0
- package/script/src/wow/profile/account_profile.d.ts +185 -0
- package/script/src/wow/profile/account_profile.js +143 -0
- package/script/src/wow/profile/character_achievements.d.ts +88 -0
- package/script/src/wow/profile/character_achievements.js +32 -0
- package/script/src/wow/profile/character_appearance.d.ts +79 -0
- package/script/src/wow/profile/character_appearance.js +17 -0
- package/script/src/wow/profile/character_collections.d.ts +132 -0
- package/script/src/wow/profile/character_collections.js +107 -0
- package/script/src/wow/profile/character_encounters.d.ts +78 -0
- package/script/src/wow/profile/character_encounters.js +47 -0
- package/script/src/wow/profile/character_equipment.d.ts +177 -0
- package/script/src/wow/profile/character_equipment.js +17 -0
- package/script/src/wow/profile/character_house.d.ts +16 -0
- package/script/src/wow/profile/character_house.js +20 -0
- package/script/src/wow/profile/character_hunter_pets.d.ts +22 -0
- package/script/src/wow/profile/character_hunter_pets.js +17 -0
- package/script/src/wow/profile/character_media.d.ts +14 -0
- package/script/src/wow/profile/character_media.js +17 -0
- package/script/src/wow/profile/character_mythic_keystone_profile.d.ts +70 -0
- package/script/src/wow/profile/character_mythic_keystone_profile.js +35 -0
- package/script/src/wow/profile/character_professions.d.ts +29 -0
- package/script/src/wow/profile/character_professions.js +17 -0
- package/script/src/wow/profile/character_profile.d.ts +83 -0
- package/script/src/wow/profile/character_profile.js +43 -0
- package/script/src/wow/profile/character_pvp.d.ts +53 -0
- package/script/src/wow/profile/character_pvp.js +33 -0
- package/script/src/wow/profile/character_quests.d.ts +29 -0
- package/script/src/wow/profile/character_quests.js +32 -0
- package/script/src/wow/profile/character_reputations.d.ts +30 -0
- package/script/src/wow/profile/character_reputations.js +17 -0
- package/script/src/wow/profile/character_soulbinds.d.ts +31 -0
- package/script/src/wow/profile/character_soulbinds.js +17 -0
- package/script/src/wow/profile/character_specializations.d.ts +82 -0
- package/script/src/wow/profile/character_specializations.js +17 -0
- package/script/src/wow/profile/character_statistics.d.ts +104 -0
- package/script/src/wow/profile/character_statistics.js +17 -0
- package/script/src/wow/profile/character_titles.d.ts +14 -0
- package/script/src/wow/profile/character_titles.js +17 -0
- package/script/src/wow/profile/guild.d.ts +150 -0
- package/script/src/wow/profile/guild.js +62 -0
- package/script/src/wow/search.d.ts +23 -0
- package/script/src/wow/search.js +32 -0
- package/script/src/wow/types.d.ts +58 -0
- package/script/src/wow/types.js +2 -0
- package/script/src/wow_classic/auction_house.d.ts +41 -0
- package/script/src/wow_classic/auction_house.js +35 -0
- package/script/src/wow_classic/character_specializations.d.ts +45 -0
- package/script/src/wow_classic/character_specializations.js +21 -0
- package/script/src/wow_classic/era.d.ts +8 -0
- package/script/src/wow_classic/era.js +30 -0
- package/script/src/wow_classic/index.d.ts +15 -0
- package/script/src/wow_classic/index.js +55 -0
- package/script/src/wow_classic/profile_overrides.d.ts +125 -0
- package/script/src/wow_classic/profile_overrides.js +123 -0
- package/script/src/wow_classic/shared.d.ts +23 -0
- package/script/src/wow_classic/shared.js +81 -0
- package/script/src/wow_classic/types.d.ts +3 -0
- package/script/src/wow_classic/types.js +2 -0
|
@@ -0,0 +1,1482 @@
|
|
|
1
|
+
import type { AccountCollectionsIndex, AccountDecorCollection, AccountHeirloomsCollection, AccountMountsCollection, AccountPetsCollection, AccountProfileSummary, AccountToysCollection, AccountTransmogsCollection, ProtectedCharacterProfile } from "../wow/profile/account_profile.js";
|
|
2
|
+
import type { Achievement, AchievementCategories, AchievementCategory, AchievementMedia, Achievements } from "../wow/game_data/achievement.js";
|
|
3
|
+
import type { Auctions, Commodities } from "../wow/game_data/auction_house.js";
|
|
4
|
+
import type { AzeriteEssenceDetails, AzeritEessenceMedia, AzeriteEssences } from "../wow/game_data/azerite_essence.js";
|
|
5
|
+
import type { CharacterAchievementStatistics, CharacterAchievementSummary } from "../wow/profile/character_achievements.js";
|
|
6
|
+
import type { CharacterAppearanceSummary } from "../wow/profile/character_appearance.js";
|
|
7
|
+
import type { CharacterCollectionDecor, CharacterCollectionHeirlooms, CharacterCollectionMounts, CharacterCollectionPets, CharacterCollectionToys, CharacterCollectionTransmogs, CharacterCollectionTypes } from "../wow/profile/character_collections.js";
|
|
8
|
+
import type { CharacterCompletedQuests, CharacterQuests } from "../wow/profile/character_quests.js";
|
|
9
|
+
import type { CharacterEncounterDungeons, CharacterEncounterRaids, CharacterEncounters } from "../wow/profile/character_encounters.js";
|
|
10
|
+
import type { CharacterHouse } from "../wow/profile/character_house.js";
|
|
11
|
+
import type { CharacterHunterPets } from "../wow/profile/character_hunter_pets.js";
|
|
12
|
+
import type { CharacterMedia } from "../wow/profile/character_media.js";
|
|
13
|
+
import type { CharacterMythicKeystoneProfile, CharacterMythicKeystoneSeasonDetails } from "../wow/profile/character_mythic_keystone_profile.js";
|
|
14
|
+
import type { CharacterProfessions } from "../wow/profile/character_professions.js";
|
|
15
|
+
import type { CharacterProfile, CharacterProfileStatus } from "../wow/profile/character_profile.js";
|
|
16
|
+
import type { CharacterPvpBracketStatistics, CharacterPvpSummary } from "../wow/profile/character_pvp.js";
|
|
17
|
+
import type { CharacterReputations } from "../wow/profile/character_reputations.js";
|
|
18
|
+
import type { CharacterSoulbinds } from "../wow/profile/character_soulbinds.js";
|
|
19
|
+
import type { CharacterSpecializations } from "../wow/profile/character_specializations.js";
|
|
20
|
+
import type { CharacterStatistics } from "../wow/profile/character_statistics.js";
|
|
21
|
+
import type { CharacterTitles } from "../wow/profile/character_titles.js";
|
|
22
|
+
import type { ConnectedRealm, ConnectedRealms } from "../wow/game_data/connected_realm.js";
|
|
23
|
+
import type { Covenant, CovenantConduit, CovenantConduits, Covenants, CovenantSoulbind, CovenantSoulbinds } from "../wow/game_data/covenant.js";
|
|
24
|
+
import type { Creature, CreatureDisplayMedia, CreatureFamilies, CreatureFamily, CreatureFamilyMedia, CreatureType, CreatureTypes } from "../wow/game_data/creature.js";
|
|
25
|
+
import type { Decor, Decors, Fixture, FixtureHook, FixtureHooks, Fixtures, Room, Rooms } from "../wow/game_data/housing.js";
|
|
26
|
+
import type { Guild, GuildAchievements, GuildActivity, GuildRoster } from "../wow/profile/guild.js";
|
|
27
|
+
import type { GuildCrestBorder, GuildCrestEmblem, GuildCrests } from "../wow/game_data/guild_crest.js";
|
|
28
|
+
import type { Heirloom, Heirlooms } from "../wow/game_data/heirloom.js";
|
|
29
|
+
import type { Item, ItemClass, ItemClasses, ItemMedia, ItemSet, ItemSets, ItemSubclass } from "../wow/game_data/item.js";
|
|
30
|
+
import type { ItemAppearance, ItemAppearanceSearch, ItemAppearanceSet, ItemAppearanceSets, ItemAppearanceSlot, ItemAppearanceSlots } from "../wow/game_data/item_appearance.js";
|
|
31
|
+
import type { JournalEncounter, JournalEncounters, JournalExpansion, JournalExpansions, JournalInstance, JournalInstanceMedia, JournalInstances } from "../wow/game_data/journal.js";
|
|
32
|
+
import type { KeystoneAffix, KeystoneAffixes, KeystoneAffixMedia } from "../wow/game_data/keystone_affix.js";
|
|
33
|
+
import type { ModifiedCraftingCategories, ModifiedCraftingCategory, ModifiedCraftingParents, ModifiedCraftingSlotType, ModifiedCraftingSlotTypes } from "../wow/game_data/modified_crafting.js";
|
|
34
|
+
import type { Mount, Mounts } from "../wow/game_data/mount.js";
|
|
35
|
+
import type { MythicKeystoneDungeon, MythicKeystoneDungeons, MythicKeystoneIndex, MythicKeystonePeriod, MythicKeystonePeriods, MythicKeystoneSeason, MythicKeystoneSeasons } from "../wow/game_data/mythic_keystone_dungeon.js";
|
|
36
|
+
import type { MythicKeystoneLeaderboard, MythicKeystoneLeaderboards } from "../wow/game_data/mythic_keystone_leaderboard.js";
|
|
37
|
+
import type { MythicRaidLeaderboard } from "../wow/game_data/mythic_raid_leaderboard.js";
|
|
38
|
+
import type { Neighborhood, NeighborhoodMap, NeighborhoodMaps } from "../wow/game_data/neighborhood.js";
|
|
39
|
+
import type { Pet, PetAbilities, PetAbility, PetAbilityMedia, PetMedia, Pets } from "../wow/game_data/pet.js";
|
|
40
|
+
import type { PlayableClass, PlayableClasses, PlayableClassMedia, PlayableClassPvpTalentSlots } from "../wow/game_data/playable_class.js";
|
|
41
|
+
import type { PlayableRace, PlayableRaces } from "../wow/game_data/playable_race.js";
|
|
42
|
+
import type { PlayableSpecialization, PlayableSpecializationMedia, PlayableSpecializations } from "../wow/game_data/playable_specialization.js";
|
|
43
|
+
import type { PowerType, PowerTypes } from "../wow/game_data/power_type.js";
|
|
44
|
+
import type { Profession, ProfessionMedia, ProfessionRecipie, professionRecipieMedia, Professions, ProfessionSkillTier } from "../wow/game_data/profession.js";
|
|
45
|
+
import type { PvpSeason, PvpSeasonLeaderboard, PvpSeasonLeaderboards, PvpSeasonRewards, PvpSeasons } from "../wow/game_data/pvp_season.js";
|
|
46
|
+
import type { PvpTalent, PvpTalents, Talent, Talents, TalentTree, TalentTreeNodes, TalentTrees } from "../wow/game_data/talent.js";
|
|
47
|
+
import type { PvpTier, PvpTierMedia, PvpTiers } from "../wow/game_data/pvp_tier.js";
|
|
48
|
+
import type { Quest, QuestArea, QuestAreas, QuestCategories, QuestCategory, Quests, QuestType, QuestTypes } from "../wow/game_data/quest.js";
|
|
49
|
+
import type { Realm, Realms } from "../wow/game_data/realm.js";
|
|
50
|
+
import type { Region, Regions } from "../wow/game_data/region.js";
|
|
51
|
+
import type { ReputationFaction, ReputationFactions, ReputationTier, ReputationTiers } from "../wow/game_data/reputations.js";
|
|
52
|
+
import type { Search, SearchParameters } from "../wow/search.js";
|
|
53
|
+
import type { Spell, SpellMedia } from "../wow/game_data/spell.js";
|
|
54
|
+
import type { TechTalent, TechTalentMedia, TechTalents, TechTalentTree, TechTalentTrees } from "../wow/game_data/tech_talent.js";
|
|
55
|
+
import type { Title, Titles } from "../wow/game_data/title.js";
|
|
56
|
+
import type { Toy, Toys } from "../wow/game_data/toy.js";
|
|
57
|
+
import type { WowToken } from "../wow/game_data/token.js";
|
|
58
|
+
import type { characterEquipments } from "../wow/profile/character_equipment.js";
|
|
59
|
+
/**
|
|
60
|
+
* World of Warcraft endpoints.
|
|
61
|
+
*/
|
|
62
|
+
export interface WowApi {
|
|
63
|
+
/**
|
|
64
|
+
* Returns an index of collection types for an account.
|
|
65
|
+
* Requires a user access token (client.forUser(token)).
|
|
66
|
+
*
|
|
67
|
+
* @returns A promise that resolves to an object with links to the account's collections.
|
|
68
|
+
*/
|
|
69
|
+
accountCollectionsIndex(): Promise<AccountCollectionsIndex>;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the housing decor collected by an account.
|
|
72
|
+
* Requires a user access token (client.forUser(token)).
|
|
73
|
+
*
|
|
74
|
+
* @returns A promise that resolves to an object representing the account's decor.
|
|
75
|
+
*/
|
|
76
|
+
accountDecorCollection(): Promise<AccountDecorCollection>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the heirlooms collected by an account.
|
|
79
|
+
* Requires a user access token (client.forUser(token)).
|
|
80
|
+
*
|
|
81
|
+
* @returns A promise that resolves to an object representing the account's heirlooms.
|
|
82
|
+
*/
|
|
83
|
+
accountHeirloomsCollection(): Promise<AccountHeirloomsCollection>;
|
|
84
|
+
/**
|
|
85
|
+
* Returns the mounts collected by an account.
|
|
86
|
+
* Requires a user access token (client.forUser(token)).
|
|
87
|
+
*
|
|
88
|
+
* @returns A promise that resolves to an object representing the account's mounts.
|
|
89
|
+
*/
|
|
90
|
+
accountMountsCollection(): Promise<AccountMountsCollection>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the battle pets collected by an account.
|
|
93
|
+
* Requires a user access token (client.forUser(token)).
|
|
94
|
+
*
|
|
95
|
+
* @returns A promise that resolves to an object representing the account's pets.
|
|
96
|
+
*/
|
|
97
|
+
accountPetsCollection(): Promise<AccountPetsCollection>;
|
|
98
|
+
/**
|
|
99
|
+
* Returns a profile summary for an account, including its WoW accounts and characters.
|
|
100
|
+
* Requires a user access token (client.forUser(token)).
|
|
101
|
+
*
|
|
102
|
+
* @returns A promise that resolves to an object representing the account profile summary.
|
|
103
|
+
*/
|
|
104
|
+
accountProfileSummary(): Promise<AccountProfileSummary>;
|
|
105
|
+
/**
|
|
106
|
+
* Returns the toys collected by an account.
|
|
107
|
+
* Requires a user access token (client.forUser(token)).
|
|
108
|
+
*
|
|
109
|
+
* @returns A promise that resolves to an object representing the account's toys.
|
|
110
|
+
*/
|
|
111
|
+
accountToysCollection(): Promise<AccountToysCollection>;
|
|
112
|
+
/**
|
|
113
|
+
* Returns the transmog appearances and sets collected by an account.
|
|
114
|
+
* Requires a user access token (client.forUser(token)).
|
|
115
|
+
*
|
|
116
|
+
* @returns A promise that resolves to an object representing the account's transmogs.
|
|
117
|
+
*/
|
|
118
|
+
accountTransmogsCollection(): Promise<AccountTransmogsCollection>;
|
|
119
|
+
/**
|
|
120
|
+
* Fetches and returns details of a specific achievement identified by its ID.
|
|
121
|
+
*
|
|
122
|
+
* @param achievementId - The unique identifier of the achievement to retrieve.
|
|
123
|
+
* @returns A promise that resolves to an object representing the achievement details.
|
|
124
|
+
*/
|
|
125
|
+
achievement(achievementId: number): Promise<Achievement>;
|
|
126
|
+
/**
|
|
127
|
+
* Fetches and returns an index of achievement categories.
|
|
128
|
+
*
|
|
129
|
+
* @returns A promise that resolves to an object representing the index of achievement categories.
|
|
130
|
+
*/
|
|
131
|
+
achievementCategories(): Promise<AchievementCategories>;
|
|
132
|
+
/**
|
|
133
|
+
* Fetches and returns details of a specific achievement category identified by its ID.
|
|
134
|
+
*
|
|
135
|
+
* @param achievementCategoryId - The unique identifier of the achievement category to retrieve.
|
|
136
|
+
* @returns A promise that resolves to an object representing the achievement category details.
|
|
137
|
+
*/
|
|
138
|
+
achievementCategory(achievementCategoryId: number): Promise<AchievementCategory>;
|
|
139
|
+
/**
|
|
140
|
+
* Fetches and returns media details for a specific achievement identified by its ID.
|
|
141
|
+
*
|
|
142
|
+
* @param achievementId - The unique identifier of the achievement to retrieve media details for.
|
|
143
|
+
* @returns A promise that resolves to an object representing the achievement media details.
|
|
144
|
+
*/
|
|
145
|
+
achievementMedia(achievementId: number): Promise<AchievementMedia>;
|
|
146
|
+
/**
|
|
147
|
+
* Fetches and returns an index of achievements.
|
|
148
|
+
*
|
|
149
|
+
* @returns A promise that resolves to an object representing the index of achievements.
|
|
150
|
+
*/
|
|
151
|
+
achievements(): Promise<Achievements>;
|
|
152
|
+
/**
|
|
153
|
+
* Returns all active auctions for a connected realm.
|
|
154
|
+
*
|
|
155
|
+
* Auction house data updates at a set interval. The value was initially set at 1 hour; however, it might change over time without notice.
|
|
156
|
+
*
|
|
157
|
+
* NOTE: Depending on the number of active auctions on the specified connected realm, the response from this endpoint may be rather large.
|
|
158
|
+
*
|
|
159
|
+
* @param connectedRealmId - The id of the connected realm to return auctions from.
|
|
160
|
+
* @returns A promise that resolves to an object representing the auctions being listed.
|
|
161
|
+
*/
|
|
162
|
+
auctions(connectedRealmId: number): Promise<Auctions>;
|
|
163
|
+
/**
|
|
164
|
+
* Returns details about a specific Azerite Essence Id
|
|
165
|
+
*
|
|
166
|
+
* @param azeriteEssenceId - The unique identifier Azerite Essence.
|
|
167
|
+
* @returns A promise that resolves to an object representing details about an Azerite Essences.
|
|
168
|
+
*/
|
|
169
|
+
azeriteEssence(azeriteEssenceId: number): Promise<AzeriteEssenceDetails>;
|
|
170
|
+
/**
|
|
171
|
+
* Returns media details about a specific Azerite Essence Id
|
|
172
|
+
*
|
|
173
|
+
* @param azeriteEssenceId - The unique identifier Azerite Essence.
|
|
174
|
+
* @returns A promise that resolves to an object representing media details about an Azerite Essences.
|
|
175
|
+
*/
|
|
176
|
+
azeriteEssenceMedia(azeriteEssenceId: number): Promise<AzeritEessenceMedia>;
|
|
177
|
+
/**
|
|
178
|
+
* Returns Azerite Essences Index
|
|
179
|
+
*
|
|
180
|
+
* @returns A promise that resolves to an object representing a list of all Azerite Essences.
|
|
181
|
+
*/
|
|
182
|
+
azeriteEssences(): Promise<AzeriteEssences>;
|
|
183
|
+
/**
|
|
184
|
+
* Returns a character's statistics as they pertain to achievements.
|
|
185
|
+
*
|
|
186
|
+
* @param realmSlug - The slug of the realm.
|
|
187
|
+
* @param characterName - The lowercase name of the character.
|
|
188
|
+
* @returns A promise that resolves to an object representing details about a characters achievement statistics.
|
|
189
|
+
*/
|
|
190
|
+
characterAchievementStatistics(realmSlug: string, characterName: string): Promise<CharacterAchievementStatistics>;
|
|
191
|
+
/**
|
|
192
|
+
* Returns a summary of the achievements a character has completed.
|
|
193
|
+
*
|
|
194
|
+
* @param realmSlug - The slug of the realm.
|
|
195
|
+
* @param characterName - The lowercase name of the character.
|
|
196
|
+
* @returns A promise that resolves to an object representing details about a characters achievement summary.
|
|
197
|
+
*/
|
|
198
|
+
characterAchievementSummary(realmSlug: string, characterName: string): Promise<CharacterAchievementSummary>;
|
|
199
|
+
/**
|
|
200
|
+
* Returns a summary of a character's appearance settings.
|
|
201
|
+
*
|
|
202
|
+
* @param realmSlug - The slug of the realm.
|
|
203
|
+
* @param characterName - The lowercase name of the character.
|
|
204
|
+
* @returns A promise that resolves to an object representing details about a character's appearance settings.
|
|
205
|
+
*/
|
|
206
|
+
characterAppearanceSummary(realmSlug: string, characterName: string): Promise<CharacterAppearanceSummary>;
|
|
207
|
+
/**
|
|
208
|
+
* Returns a summary of the housing decor collection a character has obtained.
|
|
209
|
+
*
|
|
210
|
+
* @param realmSlug - The slug of the realm.
|
|
211
|
+
* @param characterName - The lowercase name of the character.
|
|
212
|
+
* @returns A promise that resolves to an object representing details about decor a character has collected.
|
|
213
|
+
*/
|
|
214
|
+
characterCollectionDecor(realmSlug: string, characterName: string): Promise<CharacterCollectionDecor>;
|
|
215
|
+
/**
|
|
216
|
+
* Returns a summary of the heirlooms a character has obtained.
|
|
217
|
+
*
|
|
218
|
+
* @param realmSlug - The slug of the realm.
|
|
219
|
+
* @param characterName - The lowercase name of the character.
|
|
220
|
+
* @returns A promise that resolves to an object representing details about heirlooms a character has obtained.
|
|
221
|
+
*/
|
|
222
|
+
characterCollectionHeirlooms(realmSlug: string, characterName: string): Promise<CharacterCollectionHeirlooms>;
|
|
223
|
+
/**
|
|
224
|
+
* Returns a summary of the mounts a character has obtained.
|
|
225
|
+
*
|
|
226
|
+
* @param realmSlug - The slug of the realm.
|
|
227
|
+
* @param characterName - The lowercase name of the character.
|
|
228
|
+
* @returns A promise that resolves to an object representing details about mounts a character has obtained.
|
|
229
|
+
*/
|
|
230
|
+
characterCollectionMounts(realmSlug: string, characterName: string): Promise<CharacterCollectionMounts>;
|
|
231
|
+
/**
|
|
232
|
+
* Returns a summary of the pets a character has obtained.
|
|
233
|
+
*
|
|
234
|
+
* @param realmSlug - The slug of the realm.
|
|
235
|
+
* @param characterName - The lowercase name of the character.
|
|
236
|
+
* @returns A promise that resolves to an object representing details about pets a character has obtained.
|
|
237
|
+
*/
|
|
238
|
+
characterCollectionPets(realmSlug: string, characterName: string): Promise<CharacterCollectionPets>;
|
|
239
|
+
/**
|
|
240
|
+
* Returns a summary of the toys a character has obtained.
|
|
241
|
+
*
|
|
242
|
+
* @param realmSlug - The slug of the realm.
|
|
243
|
+
* @param characterName - The lowercase name of the character.
|
|
244
|
+
* @returns A promise that resolves to an object representing details about toys a character has obtained.
|
|
245
|
+
*/
|
|
246
|
+
characterCollectionToys(realmSlug: string, characterName: string): Promise<CharacterCollectionToys>;
|
|
247
|
+
/**
|
|
248
|
+
* Returns a summary of the transmog appearances a character has obtained.
|
|
249
|
+
*
|
|
250
|
+
* @param realmSlug - The slug of the realm.
|
|
251
|
+
* @param characterName - The lowercase name of the character.
|
|
252
|
+
* @returns A promise that resolves to an object representing details about transmog appearances a character has collected.
|
|
253
|
+
*/
|
|
254
|
+
characterCollectionTransmogs(realmSlug: string, characterName: string): Promise<CharacterCollectionTransmogs>;
|
|
255
|
+
/**
|
|
256
|
+
* Returns an index of collection types for a character.
|
|
257
|
+
*
|
|
258
|
+
* @param realmSlug - The slug of the realm.
|
|
259
|
+
* @param characterName - The lowercase name of the character.
|
|
260
|
+
* @returns A promise that resolves to an object representing details about collection types for a character.
|
|
261
|
+
*/
|
|
262
|
+
characterCollectionTypes(realmSlug: string, characterName: string): Promise<CharacterCollectionTypes>;
|
|
263
|
+
/**
|
|
264
|
+
* Returns a list of quests that a character has completed.
|
|
265
|
+
*
|
|
266
|
+
* @param realmSlug - The slug of the realm.
|
|
267
|
+
* @param characterName - The lowercase name of the character.
|
|
268
|
+
* @returns A promise that resolves to an object representing a list of quests that a character has completed.
|
|
269
|
+
*/
|
|
270
|
+
characterCompletedQuests(realmSlug: string, characterName: string): Promise<CharacterCompletedQuests>;
|
|
271
|
+
/**
|
|
272
|
+
* Returns a summary of a character's completed dungeons.
|
|
273
|
+
*
|
|
274
|
+
* @param realmSlug - The slug of the realm.
|
|
275
|
+
* @param characterName - The lowercase name of the character.
|
|
276
|
+
* @returns A promise that resolves to an object representing details about character's completed dungeons.
|
|
277
|
+
*/
|
|
278
|
+
characterEncounterDungeons(realmSlug: string, characterName: string): Promise<CharacterEncounterDungeons>;
|
|
279
|
+
/**
|
|
280
|
+
* Returns a summary of a character's completed raids.
|
|
281
|
+
*
|
|
282
|
+
* @param realmSlug - The slug of the realm.
|
|
283
|
+
* @param characterName - The lowercase name of the character.
|
|
284
|
+
* @returns A promise that resolves to an object representing details about character's completed raids.
|
|
285
|
+
*/
|
|
286
|
+
characterEncounterRaids(realmSlug: string, characterName: string): Promise<CharacterEncounterRaids>;
|
|
287
|
+
/**
|
|
288
|
+
* Returns a summary of a character's encounters.
|
|
289
|
+
*
|
|
290
|
+
* @param realmSlug - The slug of the realm.
|
|
291
|
+
* @param characterName - The lowercase name of the character.
|
|
292
|
+
* @returns A promise that resolves to an object representing details about character's encounters.
|
|
293
|
+
*/
|
|
294
|
+
characterEncounters(realmSlug: string, characterName: string): Promise<CharacterEncounters>;
|
|
295
|
+
/**
|
|
296
|
+
* Returns a summary of the items equipped by a character.
|
|
297
|
+
*
|
|
298
|
+
* @param realmSlug - The slug of the realm.
|
|
299
|
+
* @param characterName - The lowercase name of the character.
|
|
300
|
+
* @returns A promise that resolves to an object representing details about items equipped by a character.
|
|
301
|
+
*/
|
|
302
|
+
characterEquipments(realmSlug: string, characterName: string): Promise<characterEquipments>;
|
|
303
|
+
/**
|
|
304
|
+
* Returns a summary of a house a character has built.
|
|
305
|
+
*
|
|
306
|
+
* @param realmSlug - The slug of the realm.
|
|
307
|
+
* @param characterName - The lowercase name of the character.
|
|
308
|
+
* @param houseNumber - The number of the character's house (e.g. 1 for house-1).
|
|
309
|
+
*/
|
|
310
|
+
characterHouse(realmSlug: string, characterName: string, houseNumber: number): Promise<CharacterHouse>;
|
|
311
|
+
/**
|
|
312
|
+
* If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
|
|
313
|
+
*
|
|
314
|
+
* @param realmSlug - The slug of the realm.
|
|
315
|
+
* @param characterName - The lowercase name of the character.
|
|
316
|
+
* @returns A promise that resolves to an object representing a summary of the character's hunter pets.
|
|
317
|
+
*/
|
|
318
|
+
characterHunterPets(realmSlug: string, characterName: string): Promise<CharacterHunterPets>;
|
|
319
|
+
/**
|
|
320
|
+
* Returns a summary of the media assets available for a character (such as an avatar render).
|
|
321
|
+
*
|
|
322
|
+
* @param realmSlug - The slug of the realm.
|
|
323
|
+
* @param characterName - The lowercase name of the character.
|
|
324
|
+
* @returns A promise that resolves to an object representing a summary of the media assets available for a character.
|
|
325
|
+
*/
|
|
326
|
+
characterMedia(realmSlug: string, characterName: string): Promise<CharacterMedia>;
|
|
327
|
+
/**
|
|
328
|
+
* Returns the Mythic Keystone profile index for a character.
|
|
329
|
+
*
|
|
330
|
+
* @param realmSlug - The slug of the realm.
|
|
331
|
+
* @param characterName - The lowercase name of the character.
|
|
332
|
+
* @returns A promise that resolves to an object representing a Mythic Keystone profile.
|
|
333
|
+
*/
|
|
334
|
+
characterMythicKeystoneProfile(realmSlug: string, characterName: string): Promise<CharacterMythicKeystoneProfile>;
|
|
335
|
+
/**
|
|
336
|
+
* Returns the Mythic Keystone season details for a character.
|
|
337
|
+
*
|
|
338
|
+
* Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
|
|
339
|
+
*
|
|
340
|
+
* @param realmSlug - The slug of the realm.
|
|
341
|
+
* @param characterName - The lowercase name of the character.
|
|
342
|
+
* @param seasonId - The lowercase name of the character.
|
|
343
|
+
* @returns A promise that resolves to an object representing a Mythic Keystone season details.
|
|
344
|
+
*/
|
|
345
|
+
characterMythicKeystoneSeasonDetails(realmSlug: string, characterName: string, seasonId: number): Promise<CharacterMythicKeystoneSeasonDetails>;
|
|
346
|
+
/**
|
|
347
|
+
* Returns a summary of professions for a character.
|
|
348
|
+
*
|
|
349
|
+
* @param realmSlug - The slug of the realm.
|
|
350
|
+
* @param characterName - The lowercase name of the character.
|
|
351
|
+
* @returns A promise that resolves to an object representing a summary of professions for a character.
|
|
352
|
+
*/
|
|
353
|
+
characterProfessions(realmSlug: string, characterName: string): Promise<CharacterProfessions>;
|
|
354
|
+
/**
|
|
355
|
+
* Returns a profile summary for a character.
|
|
356
|
+
*
|
|
357
|
+
* @param realmSlug - The slug of the realm.
|
|
358
|
+
* @param characterName - The lowercase name of the character.
|
|
359
|
+
* @returns A promise that resolves to an object representing a profile summary.
|
|
360
|
+
*/
|
|
361
|
+
characterProfile(realmSlug: string, characterName: string): Promise<CharacterProfile>;
|
|
362
|
+
/**
|
|
363
|
+
* Returns the status and a unique ID for a character. A client should delete information about a character from their application if any of the following conditions occur:
|
|
364
|
+
*
|
|
365
|
+
* an HTTP 404 Not Found error is returned
|
|
366
|
+
* the is_valid value is false
|
|
367
|
+
* the returned character ID doesn't match the previously recorded value for the character
|
|
368
|
+
*
|
|
369
|
+
* The following example illustrates how to use this endpoint:
|
|
370
|
+
*
|
|
371
|
+
* A client requests and stores information about a character, including its unique character ID and the timestamp of the request.
|
|
372
|
+
* After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.
|
|
373
|
+
* If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.
|
|
374
|
+
* If the character is valid and the character IDs match, the client retains the data for another 30 days.
|
|
375
|
+
*
|
|
376
|
+
* @param realmSlug - The slug of the realm.
|
|
377
|
+
* @param characterName - The lowercase name of the character.
|
|
378
|
+
* @returns A promise that resolves to an object representing a profile summary status.
|
|
379
|
+
*/
|
|
380
|
+
characterProfileStatus(realmSlug: string, characterName: string): Promise<CharacterProfileStatus>;
|
|
381
|
+
/**
|
|
382
|
+
* Returns the PvP bracket statistics for a character.
|
|
383
|
+
*
|
|
384
|
+
* @param realmSlug - The slug of the realm.
|
|
385
|
+
* @param characterName - The lowercase name of the character.
|
|
386
|
+
* @param pvpBracket - The PvP bracket type.
|
|
387
|
+
* @returns A promise that resolves to an object representing the PvP bracket statistics for a character.
|
|
388
|
+
*/
|
|
389
|
+
characterPvpBracketStatistics(realmSlug: string, characterName: string, pvpBracket: string): Promise<CharacterPvpBracketStatistics>;
|
|
390
|
+
/**
|
|
391
|
+
* Returns a PvP summary for a character.
|
|
392
|
+
*
|
|
393
|
+
* @param realmSlug - The slug of the realm.
|
|
394
|
+
* @param characterName - The lowercase name of the character.
|
|
395
|
+
* @returns A promise that resolves to an object representing the PvP summary for a character.
|
|
396
|
+
*/
|
|
397
|
+
characterPvpSummary(realmSlug: string, characterName: string): Promise<CharacterPvpSummary>;
|
|
398
|
+
/**
|
|
399
|
+
* Returns a character's active quests as well as a link to the character's completed quests.
|
|
400
|
+
*
|
|
401
|
+
* @param realmSlug - The slug of the realm.
|
|
402
|
+
* @param characterName - The lowercase name of the character.
|
|
403
|
+
* @returns A promise that resolves to an object representing a character's active quests as well as a link to the character's completed quests.
|
|
404
|
+
*/
|
|
405
|
+
characterQuests(realmSlug: string, characterName: string): Promise<CharacterQuests>;
|
|
406
|
+
/**
|
|
407
|
+
* Returns a summary of a character's reputations.
|
|
408
|
+
*
|
|
409
|
+
* @param realmSlug - The slug of the realm.
|
|
410
|
+
* @param characterName - The lowercase name of the character.
|
|
411
|
+
* @returns A promise that resolves to an object representing a character's reputations.
|
|
412
|
+
*/
|
|
413
|
+
characterReputations(realmSlug: string, characterName: string): Promise<CharacterReputations>;
|
|
414
|
+
/**
|
|
415
|
+
* Returns a character's soulbinds.
|
|
416
|
+
*
|
|
417
|
+
* @param realmSlug - The slug of the realm.
|
|
418
|
+
* @param characterName - The lowercase name of the character.
|
|
419
|
+
* @returns A promise that resolves to an object representing a character's soulbinds.
|
|
420
|
+
*/
|
|
421
|
+
characterSoulbinds(realmSlug: string, characterName: string): Promise<CharacterSoulbinds>;
|
|
422
|
+
/**
|
|
423
|
+
* Returns a summary of a character's specializations.
|
|
424
|
+
*
|
|
425
|
+
* @param realmSlug - The slug of the realm.
|
|
426
|
+
* @param characterName - The lowercase name of the character.
|
|
427
|
+
* @returns A promise that resolves to an object representing a summary of a character's specializations.
|
|
428
|
+
*/
|
|
429
|
+
characterSpecializations(realmSlug: string, characterName: string): Promise<CharacterSpecializations>;
|
|
430
|
+
/**
|
|
431
|
+
* Returns a statistics summary for a character.
|
|
432
|
+
*
|
|
433
|
+
* @param realmSlug - The slug of the realm.
|
|
434
|
+
* @param characterName - The lowercase name of the character.
|
|
435
|
+
* @returns A promise that resolves to an object representing a statistics summary for a character.
|
|
436
|
+
*/
|
|
437
|
+
characterStatistics(realmSlug: string, characterName: string): Promise<CharacterStatistics>;
|
|
438
|
+
/**
|
|
439
|
+
* Returns a summary of titles a character has obtained.
|
|
440
|
+
*
|
|
441
|
+
* @param realmSlug - The slug of the realm.
|
|
442
|
+
* @param characterName - The lowercase name of the character.
|
|
443
|
+
* @returns A promise that resolves to an object representing a summary of titles a character has obtained.
|
|
444
|
+
*/
|
|
445
|
+
characterTitles(realmSlug: string, characterName: string): Promise<CharacterTitles>;
|
|
446
|
+
/**
|
|
447
|
+
* Returns all active auctions for commodity items for the entire game region.
|
|
448
|
+
*
|
|
449
|
+
* Auction house data updates at a set interval. The value was initially set at 1 hour; however, it might change over time without notice.
|
|
450
|
+
*
|
|
451
|
+
* NOTE: Depending on the number of active auctions on the specified region, the response from this endpoint may be rather large.
|
|
452
|
+
*
|
|
453
|
+
* @returns A promise that resolves to an object representing the commodities being listed.
|
|
454
|
+
*/
|
|
455
|
+
commodities(): Promise<Commodities>;
|
|
456
|
+
/**
|
|
457
|
+
* Returns details about a Connected Realms Id
|
|
458
|
+
*
|
|
459
|
+
* @param connectedRealmId - The unique identifier Connected Realms.
|
|
460
|
+
* @returns A promise that resolves to an object representing details about an Connected Realms.
|
|
461
|
+
*/
|
|
462
|
+
connectedRealm(connectedRealmId: number): Promise<ConnectedRealm>;
|
|
463
|
+
/**
|
|
464
|
+
* Returns the Connected Realms Index
|
|
465
|
+
*
|
|
466
|
+
* @returns A promise that resolves to an object representing a list of all Connected Realms.
|
|
467
|
+
*/
|
|
468
|
+
connectedRealms(): Promise<ConnectedRealms>;
|
|
469
|
+
/**
|
|
470
|
+
* Returns details about a Covenant
|
|
471
|
+
*
|
|
472
|
+
* @param covenantId - The unique identifier for the Covenant
|
|
473
|
+
* @returns A promise that resolves to an object representing details about a Covenant.
|
|
474
|
+
*/
|
|
475
|
+
covenant(covenantId: number): Promise<Covenant>;
|
|
476
|
+
/**
|
|
477
|
+
* Returns details about a Covenant Conduit
|
|
478
|
+
*
|
|
479
|
+
* @param conduitId - The unique identifier for the Covenant Conduit
|
|
480
|
+
* @returns A promise that resolves to an object representing details about a Covenant Conduit.
|
|
481
|
+
*/
|
|
482
|
+
covenantConduit(conduitId: number): Promise<CovenantConduit>;
|
|
483
|
+
/**
|
|
484
|
+
* Returns an index of Covenant Conduits.
|
|
485
|
+
*
|
|
486
|
+
* @returns A promise that resolves to an object representing a list of all Covenant Conduits.
|
|
487
|
+
*/
|
|
488
|
+
covenantConduits(): Promise<CovenantConduits>;
|
|
489
|
+
/**
|
|
490
|
+
* Returns an index of Covenants.
|
|
491
|
+
*
|
|
492
|
+
* @returns A promise that resolves to an object representing a list of all Covenants.
|
|
493
|
+
*/
|
|
494
|
+
covenants(): Promise<Covenants>;
|
|
495
|
+
/**
|
|
496
|
+
* Returns details about a Covenant Soulbind
|
|
497
|
+
*
|
|
498
|
+
* @param soulbindId - The unique identifier for the Covenant Soulbind
|
|
499
|
+
* @returns A promise that resolves to an object representing details about a Covenant Soulbind.
|
|
500
|
+
*/
|
|
501
|
+
covenantSoulbind(soulbindId: number): Promise<CovenantSoulbind>;
|
|
502
|
+
/**
|
|
503
|
+
* Returns an index of Covenant Soulbinds.
|
|
504
|
+
*
|
|
505
|
+
* @returns A promise that resolves to an object representing a list of all Covenant Soulbinds.
|
|
506
|
+
*/
|
|
507
|
+
covenantSoulbinds(): Promise<CovenantSoulbinds>;
|
|
508
|
+
/**
|
|
509
|
+
* Returns details about a creature
|
|
510
|
+
*
|
|
511
|
+
* @param creatureId - The unique identifier for the creature
|
|
512
|
+
* @returns A promise that resolves to an object representing details about a creature.
|
|
513
|
+
*/
|
|
514
|
+
creature(creatureId: number): Promise<Creature>;
|
|
515
|
+
/**
|
|
516
|
+
* Returns media details about a specific Creature display
|
|
517
|
+
*
|
|
518
|
+
* @param creatureDisplayId - The unique identifier Creature display Id.
|
|
519
|
+
* @returns A promise that resolves to an object representing media details about a Creature display.
|
|
520
|
+
*/
|
|
521
|
+
creatureDisplayMedia(creatureDisplayId: number): Promise<CreatureDisplayMedia>;
|
|
522
|
+
/**
|
|
523
|
+
* Returns an index of creature families.
|
|
524
|
+
*
|
|
525
|
+
* @returns A promise that resolves to an object representing a list of all creature families.
|
|
526
|
+
*/
|
|
527
|
+
creatureFamilies(): Promise<CreatureFamilies>;
|
|
528
|
+
/**
|
|
529
|
+
* Returns details about a creature family
|
|
530
|
+
*
|
|
531
|
+
* @param creatureFamilyId - The unique identifier for the creature family
|
|
532
|
+
* @returns A promise that resolves to an object representing details about a creature family.
|
|
533
|
+
*/
|
|
534
|
+
creatureFamily(creatureFamilyId: number): Promise<CreatureFamily>;
|
|
535
|
+
/**
|
|
536
|
+
* Returns media details about a specific Creature family
|
|
537
|
+
*
|
|
538
|
+
* @param creatureFamilyId - The unique identifier Creature family Id.
|
|
539
|
+
* @returns A promise that resolves to an object representing media details about a Creature family.
|
|
540
|
+
*/
|
|
541
|
+
creatureFamilyMedia(creatureFamilyId: number): Promise<CreatureFamilyMedia>;
|
|
542
|
+
/**
|
|
543
|
+
* Returns details about a creature types
|
|
544
|
+
*
|
|
545
|
+
* @param creatureTypeId - The unique identifier for the creature types
|
|
546
|
+
* @returns A promise that resolves to an object representing details about a creature types.
|
|
547
|
+
*/
|
|
548
|
+
creatureType(creatureTypeId: number): Promise<CreatureType>;
|
|
549
|
+
/**
|
|
550
|
+
* Returns an index of creature types.
|
|
551
|
+
*
|
|
552
|
+
* @returns A promise that resolves to an object representing a list of all creature types.
|
|
553
|
+
*/
|
|
554
|
+
creatureTypes(): Promise<CreatureTypes>;
|
|
555
|
+
/**
|
|
556
|
+
* Returns a decor by ID.
|
|
557
|
+
*
|
|
558
|
+
* @param decorId - The ID of the decor.
|
|
559
|
+
*/
|
|
560
|
+
decor(decorId: number): Promise<Decor>;
|
|
561
|
+
/**
|
|
562
|
+
* Returns an index of decor.
|
|
563
|
+
*/
|
|
564
|
+
decors(): Promise<Decors>;
|
|
565
|
+
/**
|
|
566
|
+
* Returns a fixture by ID.
|
|
567
|
+
*
|
|
568
|
+
* @param fixtureId - The ID of the fixture.
|
|
569
|
+
*/
|
|
570
|
+
fixture(fixtureId: number): Promise<Fixture>;
|
|
571
|
+
/**
|
|
572
|
+
* Returns a fixture hook by ID.
|
|
573
|
+
*
|
|
574
|
+
* @param fixtureHookId - The ID of the fixture hook.
|
|
575
|
+
*/
|
|
576
|
+
fixtureHook(fixtureHookId: number): Promise<FixtureHook>;
|
|
577
|
+
/**
|
|
578
|
+
* Returns an index of fixture hooks.
|
|
579
|
+
*/
|
|
580
|
+
fixtureHooks(): Promise<FixtureHooks>;
|
|
581
|
+
/**
|
|
582
|
+
* Returns an index of fixtures.
|
|
583
|
+
*/
|
|
584
|
+
fixtures(): Promise<Fixtures>;
|
|
585
|
+
/**
|
|
586
|
+
* Returns a single guild by its name and realm.
|
|
587
|
+
*
|
|
588
|
+
* @param realmSlug - The slug of the realm.
|
|
589
|
+
* @param nameSlug - The slug of the guild.
|
|
590
|
+
* @returns A promise that resolves to an object representing a single guild by its name and realm.
|
|
591
|
+
*/
|
|
592
|
+
guild(realmSlug: string, nameSlug: string): Promise<Guild>;
|
|
593
|
+
/**
|
|
594
|
+
* Returns a single guild's achievements by name and realm.
|
|
595
|
+
*
|
|
596
|
+
* @param realmSlug - The slug of the realm.
|
|
597
|
+
* @param nameSlug - The slug of the guild.
|
|
598
|
+
* @returns A promise that resolves to an object representing a single guild's achievements by its name and realm.
|
|
599
|
+
*/
|
|
600
|
+
guildAchievements(realmSlug: string, nameSlug: string): Promise<GuildAchievements>;
|
|
601
|
+
/**
|
|
602
|
+
* Returns a single guild's activity by name and realm.
|
|
603
|
+
*
|
|
604
|
+
* @param realmSlug - The slug of the realm.
|
|
605
|
+
* @param nameSlug - The slug of the guild.
|
|
606
|
+
* @returns A promise that resolves to an object representing a single guild's activity by its name and realm.
|
|
607
|
+
*/
|
|
608
|
+
guildActivity(realmSlug: string, nameSlug: string): Promise<GuildActivity>;
|
|
609
|
+
/**
|
|
610
|
+
* Returns a Guild Crest Border Media
|
|
611
|
+
*
|
|
612
|
+
* @param borderId - The unique identifier for the Covenant
|
|
613
|
+
* @returns A promise that resolves to an object representing details about a Guild Crest Border Media.
|
|
614
|
+
*/
|
|
615
|
+
guildCrestBorder(borderId: number): Promise<GuildCrestBorder>;
|
|
616
|
+
/**
|
|
617
|
+
* Returns a Crest Emblem Media
|
|
618
|
+
*
|
|
619
|
+
* @param emblemId - The unique identifier for the Crest Emblem Media
|
|
620
|
+
* @returns A promise that resolves to an object representing details about a Crest Emblem Media.
|
|
621
|
+
*/
|
|
622
|
+
guildCrestEmblem(emblemId: number): Promise<GuildCrestEmblem>;
|
|
623
|
+
/**
|
|
624
|
+
* Returns the Guild Crest Components Index
|
|
625
|
+
*
|
|
626
|
+
* @returns A promise that resolves to an object representing a list of all Guild Crest Components.
|
|
627
|
+
*/
|
|
628
|
+
guildCrests(): Promise<GuildCrests>;
|
|
629
|
+
/**
|
|
630
|
+
* Returns a single guild's roster by its name and realm.
|
|
631
|
+
*
|
|
632
|
+
* @param realmSlug - The slug of the realm.
|
|
633
|
+
* @param nameSlug - The slug of the guild.
|
|
634
|
+
* @returns A promise that resolves to an object representing a single guild's roster by its name and realm.
|
|
635
|
+
*/
|
|
636
|
+
guildRoster(realmSlug: string, nameSlug: string): Promise<GuildRoster>;
|
|
637
|
+
/**
|
|
638
|
+
* Returns a Heirloom
|
|
639
|
+
*
|
|
640
|
+
* @param heirloomId - The unique identifier for the Heirloom
|
|
641
|
+
* @returns A promise that resolves to an object representing details about a Heirloom.
|
|
642
|
+
*/
|
|
643
|
+
heirloom(heirloomId: number): Promise<Heirloom>;
|
|
644
|
+
/**
|
|
645
|
+
* Returns the Heirloom Index
|
|
646
|
+
*
|
|
647
|
+
* @returns A promise that resolves to an object representing a list of all Heirlooms.
|
|
648
|
+
*/
|
|
649
|
+
heirlooms(): Promise<Heirlooms>;
|
|
650
|
+
/**
|
|
651
|
+
* Returns an item by ID.
|
|
652
|
+
*
|
|
653
|
+
* @param itemId - The unique identifier for the item by ID.
|
|
654
|
+
* @returns A promise that resolves to an object representing details about an item by ID.
|
|
655
|
+
*/
|
|
656
|
+
item(itemId: number): Promise<Item>;
|
|
657
|
+
/**
|
|
658
|
+
* Returns an item appearance by ID.
|
|
659
|
+
*
|
|
660
|
+
* @param appearanceId - The unique identifier for the item appearance by ID.
|
|
661
|
+
* @returns A promise that resolves to an object representing details about an item appearance.
|
|
662
|
+
*/
|
|
663
|
+
itemAppearance(appearanceId: number): Promise<ItemAppearance>;
|
|
664
|
+
/**
|
|
665
|
+
* Returns an item appearance set by ID.
|
|
666
|
+
*
|
|
667
|
+
* @param appearanceSetId - The unique identifier for the item appearance set by ID.
|
|
668
|
+
* @returns A promise that resolves to an object representing details about an item appearance set.
|
|
669
|
+
*/
|
|
670
|
+
itemAppearanceSet(appearanceSetId: number): Promise<ItemAppearanceSet>;
|
|
671
|
+
/**
|
|
672
|
+
* Returns a index of item appearance sets.
|
|
673
|
+
*
|
|
674
|
+
* @returns A promise that resolves to an object representing a list of the index of item appearance sets.
|
|
675
|
+
*/
|
|
676
|
+
itemAppearanceSets(): Promise<ItemAppearanceSets>;
|
|
677
|
+
/**
|
|
678
|
+
* Returns an item appearance slot by slot type.
|
|
679
|
+
*
|
|
680
|
+
* @param slotType - The slot type (e.g. "HEAD", "SHOULDER", "BODY").
|
|
681
|
+
* @returns A promise that resolves to an object representing details about an item appearance slot.
|
|
682
|
+
*/
|
|
683
|
+
itemAppearanceSlot(slotType: string): Promise<ItemAppearanceSlot>;
|
|
684
|
+
/**
|
|
685
|
+
* Returns a index of item appearance slots.
|
|
686
|
+
*
|
|
687
|
+
* @returns A promise that resolves to an object representing a list of the index of item appearance slots.
|
|
688
|
+
*/
|
|
689
|
+
itemAppearanceSlots(): Promise<ItemAppearanceSlots>;
|
|
690
|
+
/**
|
|
691
|
+
* Returns an item class by ID.
|
|
692
|
+
*
|
|
693
|
+
* @param itemClassId - The unique identifier for the item class by ID.
|
|
694
|
+
* @returns A promise that resolves to an object representing details about an item class by ID.
|
|
695
|
+
*/
|
|
696
|
+
itemClass(itemClassId: number): Promise<ItemClass>;
|
|
697
|
+
/**
|
|
698
|
+
* Returns an index of item classes.
|
|
699
|
+
*
|
|
700
|
+
* @returns A promise that resolves to an object representing a list of item classes.
|
|
701
|
+
*/
|
|
702
|
+
itemClasses(): Promise<ItemClasses>;
|
|
703
|
+
/**
|
|
704
|
+
* Returns media details about a specific item Id
|
|
705
|
+
*
|
|
706
|
+
* @param itemId - The unique identifier for the item
|
|
707
|
+
* @returns A promise that resolves to an object representing media details about an item.
|
|
708
|
+
*/
|
|
709
|
+
itemMedia(itemId: number): Promise<ItemMedia>;
|
|
710
|
+
/**
|
|
711
|
+
* Returns an item set by ID.
|
|
712
|
+
*
|
|
713
|
+
* @param itemSetId - The unique identifier for the item set by ID.
|
|
714
|
+
* @returns A promise that resolves to an object representing details about an item set by ID.
|
|
715
|
+
*/
|
|
716
|
+
itemSet(itemSetId: number): Promise<ItemSet>;
|
|
717
|
+
/**
|
|
718
|
+
* Returns an index of item sets.
|
|
719
|
+
*
|
|
720
|
+
* @returns A promise that resolves to an object representing a list of item sets.
|
|
721
|
+
*/
|
|
722
|
+
itemSets(): Promise<ItemSets>;
|
|
723
|
+
/**
|
|
724
|
+
* Returns an item subclass by ID.
|
|
725
|
+
*
|
|
726
|
+
* @param itemClassId - The unique identifier for the item class by ID.
|
|
727
|
+
* @param itemSubclassId - The unique identifier for the item subclass by ID.
|
|
728
|
+
* @returns A promise that resolves to an object representing details about an item set by ID.
|
|
729
|
+
*/
|
|
730
|
+
itemSubclass(itemClassId: number, itemSubclassId: number): Promise<ItemSubclass>;
|
|
731
|
+
/**
|
|
732
|
+
* Returns a journal encounter by ID.
|
|
733
|
+
*
|
|
734
|
+
* @param journalEncounterId - The unique identifier for the journal encounter.
|
|
735
|
+
* @returns A promise that resolves to an object representing details about a journal encounter.
|
|
736
|
+
*/
|
|
737
|
+
journalEncounter(journalEncounterId: number): Promise<JournalEncounter>;
|
|
738
|
+
/**
|
|
739
|
+
* Returns an index of journal encounters.
|
|
740
|
+
*
|
|
741
|
+
* @returns A promise that resolves to an object representing a list of journal expansions.
|
|
742
|
+
*/
|
|
743
|
+
journalEncounters(): Promise<JournalEncounters>;
|
|
744
|
+
/**
|
|
745
|
+
* Returns a journal expansion by ID.
|
|
746
|
+
*
|
|
747
|
+
* @param journalExpansionId - The unique identifier for the journal expansion.
|
|
748
|
+
* @returns A promise that resolves to an object representing details about a journal expansion.
|
|
749
|
+
*/
|
|
750
|
+
journalExpansion(journalExpansionId: number): Promise<JournalExpansion>;
|
|
751
|
+
/**
|
|
752
|
+
* Returns an index of journal expansions.
|
|
753
|
+
*
|
|
754
|
+
* @returns A promise that resolves to an object representing a list of journal expansions.
|
|
755
|
+
*/
|
|
756
|
+
journalExpansions(): Promise<JournalExpansions>;
|
|
757
|
+
/**
|
|
758
|
+
* Returns a journal instances by ID.
|
|
759
|
+
*
|
|
760
|
+
* @param journalInstanceId - The unique identifier for the journal instances.
|
|
761
|
+
* @returns A promise that resolves to an object representing details about a journal instances.
|
|
762
|
+
*/
|
|
763
|
+
journalInstance(journalInstanceId: number): Promise<JournalInstance>;
|
|
764
|
+
/**
|
|
765
|
+
* Returns media for a journal instance by ID.
|
|
766
|
+
*
|
|
767
|
+
* @param journalInstanceId - The unique identifier for the journal instance
|
|
768
|
+
* @returns A promise that resolves to an object representing media details about a journal instance.
|
|
769
|
+
*/
|
|
770
|
+
journalInstanceMedia(journalInstanceId: number): Promise<JournalInstanceMedia>;
|
|
771
|
+
/**
|
|
772
|
+
* Returns an index of journal instances.
|
|
773
|
+
*
|
|
774
|
+
* @returns A promise that resolves to an object representing a list of journal instances.
|
|
775
|
+
*/
|
|
776
|
+
journalInstances(): Promise<JournalInstances>;
|
|
777
|
+
/**
|
|
778
|
+
* Returns a mythic keystone affix by ID.
|
|
779
|
+
*
|
|
780
|
+
* @param keystoneAffixId - The unique identifier for the mythic keystone affix
|
|
781
|
+
* @returns A promise that resolves to an object representing details about a mythic keystone affix by ID.
|
|
782
|
+
*/
|
|
783
|
+
keystoneAffix(keystoneAffixId: number): Promise<KeystoneAffix>;
|
|
784
|
+
/**
|
|
785
|
+
* Returns an index of mythic keystone affixes.
|
|
786
|
+
*
|
|
787
|
+
* @returns A promise that resolves to an object representing a list of the mythic keystone affixes.
|
|
788
|
+
*/
|
|
789
|
+
keystoneAffixes(): Promise<KeystoneAffixes>;
|
|
790
|
+
/**
|
|
791
|
+
* Returns media for a mythic keystone affix by ID.
|
|
792
|
+
*
|
|
793
|
+
* @param keystoneAffixId - The unique identifier for the mythic keystone affix
|
|
794
|
+
* @returns A promise that resolves to an object representing media details about a mythic keystone affix.
|
|
795
|
+
*/
|
|
796
|
+
keystoneAffixMedia(keystoneAffixId: number): Promise<KeystoneAffixMedia>;
|
|
797
|
+
/**
|
|
798
|
+
* Returns the index of Modified Crafting categories.
|
|
799
|
+
*
|
|
800
|
+
* @returns A promise that resolves to an object representing a list of the index of Modified Crafting categories.
|
|
801
|
+
*/
|
|
802
|
+
modifiedCraftingCategories(): Promise<ModifiedCraftingCategories>;
|
|
803
|
+
/**
|
|
804
|
+
* Returns a Modified Crafting category by ID.
|
|
805
|
+
*
|
|
806
|
+
* @param categoryId - The unique identifier for the Modified Crafting category
|
|
807
|
+
* @returns A promise that resolves to an object representing details about a Modified Crafting category.
|
|
808
|
+
*/
|
|
809
|
+
modifiedCraftingCategory(categoryId: number): Promise<ModifiedCraftingCategory>;
|
|
810
|
+
/**
|
|
811
|
+
* Returns the parent index for Modified Crafting.
|
|
812
|
+
*
|
|
813
|
+
* @returns A promise that resolves to an object representing a list of the parent index for Modified Crafting.
|
|
814
|
+
*/
|
|
815
|
+
modifiedCraftingParents(): Promise<ModifiedCraftingParents>;
|
|
816
|
+
/**
|
|
817
|
+
* Returns a Modified Crafting reagent slot type by ID.
|
|
818
|
+
*
|
|
819
|
+
* @param slotTypeId - The unique identifier for the Modified Crafting reagent slot type
|
|
820
|
+
* @returns A promise that resolves to an object representing details about a Modified Crafting reagent slot type by ID.
|
|
821
|
+
*/
|
|
822
|
+
modifiedCraftingSlotType(slotTypeId: number): Promise<ModifiedCraftingSlotType>;
|
|
823
|
+
/**
|
|
824
|
+
* Returns the index of Modified Crafting reagent slot types.
|
|
825
|
+
*
|
|
826
|
+
* @returns A promise that resolves to an object representing a list of the index of Modified Crafting reagent slot types
|
|
827
|
+
*/
|
|
828
|
+
modifiedCraftingSlotTypes(): Promise<ModifiedCraftingSlotTypes>;
|
|
829
|
+
/**
|
|
830
|
+
* Returns a mount by ID.
|
|
831
|
+
*
|
|
832
|
+
* @param mountId - The unique identifier for the mount by ID.
|
|
833
|
+
* @returns A promise that resolves to an object representing details about a mount.
|
|
834
|
+
*/
|
|
835
|
+
mount(mountId: number): Promise<Mount>;
|
|
836
|
+
/**
|
|
837
|
+
* Returns a index of mounts.
|
|
838
|
+
*
|
|
839
|
+
* @returns A promise that resolves to an object representing a list of the index of mounts.
|
|
840
|
+
*/
|
|
841
|
+
mounts(): Promise<Mounts>;
|
|
842
|
+
/**
|
|
843
|
+
* Returns a Mythic Keystone dungeon by ID.
|
|
844
|
+
*
|
|
845
|
+
* @param dungeonId - The unique identifier for the Mythic Keystone dungeon
|
|
846
|
+
* @returns A promise that resolves to an object representing details about a Mythic Keystone dungeon by ID.
|
|
847
|
+
*/
|
|
848
|
+
mythicKeystoneDungeon(dungeonId: number): Promise<MythicKeystoneDungeon>;
|
|
849
|
+
/**
|
|
850
|
+
* Returns an index of Mythic Keystone dungeons.
|
|
851
|
+
*
|
|
852
|
+
* @returns A promise that resolves to an object representing a list of the Mythic Keystone dungeons.
|
|
853
|
+
*/
|
|
854
|
+
mythicKeystoneDungeons(): Promise<MythicKeystoneDungeons>;
|
|
855
|
+
/**
|
|
856
|
+
* Returns an index of links to other documents related to Mythic Keystone dungeons.
|
|
857
|
+
*
|
|
858
|
+
* @returns A promise that resolves to an object representing a index of links to other documents related to Mythic Keystone dungeons.
|
|
859
|
+
*/
|
|
860
|
+
mythicKeystoneIndex(): Promise<MythicKeystoneIndex>;
|
|
861
|
+
/**
|
|
862
|
+
* Returns a weekly Mythic Keystone Leaderboard by period.
|
|
863
|
+
*
|
|
864
|
+
* @param connectedRealmId - The unique identifier for the connected realm
|
|
865
|
+
* @param dungeonId - The unique identifier for the dungeon
|
|
866
|
+
* @param period - The unique identifier for the period
|
|
867
|
+
* @returns A promise that resolves to an object representing details about a weekly Mythic Keystone Leaderboard by period.
|
|
868
|
+
*/
|
|
869
|
+
mythicKeystoneLeaderboard(connectedRealmId: number, dungeonId: number, period: number): Promise<MythicKeystoneLeaderboard>;
|
|
870
|
+
/**
|
|
871
|
+
* Returns an index of Mythic Keystone Leaderboard dungeon instances for a connected realm.
|
|
872
|
+
*
|
|
873
|
+
* @param connectedRealmId - The unique identifier for the connected realm
|
|
874
|
+
* @returns A promise that resolves to an object representing an index of Mythic Keystone Leaderboard dungeon instances for a connected realm.
|
|
875
|
+
*/
|
|
876
|
+
mythicKeystoneLeaderboards(connectedRealmId: number): Promise<MythicKeystoneLeaderboards>;
|
|
877
|
+
/**
|
|
878
|
+
* Returns a Mythic Keystone period by ID.
|
|
879
|
+
*
|
|
880
|
+
* @param periodId - The unique identifier for the Mythic Keystone period
|
|
881
|
+
* @returns A promise that resolves to an object representing details about a Mythic Keystone period by ID.
|
|
882
|
+
*/
|
|
883
|
+
mythicKeystonePeriod(periodId: number): Promise<MythicKeystonePeriod>;
|
|
884
|
+
/**
|
|
885
|
+
* Returns an index of Mythic Keystone periods.
|
|
886
|
+
*
|
|
887
|
+
* @returns A promise that resolves to an object representing a index of Mythic Keystone periods.
|
|
888
|
+
*/
|
|
889
|
+
mythicKeystonePeriods(): Promise<MythicKeystonePeriods>;
|
|
890
|
+
/**
|
|
891
|
+
* Returns a Mythic Keystone season by ID.
|
|
892
|
+
*
|
|
893
|
+
* @param seasonId - The unique identifier for the Mythic Keystone season
|
|
894
|
+
* @returns A promise that resolves to an object representing details about a Mythic Keystone season by ID.
|
|
895
|
+
*/
|
|
896
|
+
mythicKeystoneSeason(seasonId: number): Promise<MythicKeystoneSeason>;
|
|
897
|
+
/**
|
|
898
|
+
* Returns an index of Mythic Keystone seasons.
|
|
899
|
+
*
|
|
900
|
+
* @returns A promise that resolves to an object representing a index of Mythic Keystone seasons
|
|
901
|
+
*/
|
|
902
|
+
mythicKeystoneSeasons(): Promise<MythicKeystoneSeasons>;
|
|
903
|
+
/**
|
|
904
|
+
* Returns the leaderboard for a given raid and faction.
|
|
905
|
+
*
|
|
906
|
+
* @param raid - The slug of the raid (e.g. "uldir", "nyalotha-the-waking-city").
|
|
907
|
+
* @param faction - The faction, "alliance" or "horde".
|
|
908
|
+
* @returns A promise that resolves to an object representing the leaderboard for a given raid and faction.
|
|
909
|
+
*/
|
|
910
|
+
mythicRaidLeaderboard(raid: string, faction: "alliance" | "horde"): Promise<MythicRaidLeaderboard>;
|
|
911
|
+
/**
|
|
912
|
+
* Returns a neighborhood by ID within a neighborhood map.
|
|
913
|
+
*
|
|
914
|
+
* @param neighborhoodMapId - The ID of the neighborhood map.
|
|
915
|
+
* @param neighborhoodId - The ID of the neighborhood.
|
|
916
|
+
*/
|
|
917
|
+
neighborhood(neighborhoodMapId: number, neighborhoodId: number): Promise<Neighborhood>;
|
|
918
|
+
/**
|
|
919
|
+
* Returns a neighborhood map by ID.
|
|
920
|
+
*
|
|
921
|
+
* @param neighborhoodMapId - The ID of the neighborhood map.
|
|
922
|
+
*/
|
|
923
|
+
neighborhoodMap(neighborhoodMapId: number): Promise<NeighborhoodMap>;
|
|
924
|
+
/**
|
|
925
|
+
* Returns an index of neighborhood maps.
|
|
926
|
+
*/
|
|
927
|
+
neighborhoodMaps(): Promise<NeighborhoodMaps>;
|
|
928
|
+
/**
|
|
929
|
+
* Returns a battle pet by ID.
|
|
930
|
+
*
|
|
931
|
+
* @param petId - The unique identifier for the battle pet
|
|
932
|
+
* @returns A promise that resolves to an object representing details about a battle pet.
|
|
933
|
+
*/
|
|
934
|
+
pet(petId: number): Promise<Pet>;
|
|
935
|
+
/**
|
|
936
|
+
* Returns an index of pet abilities.
|
|
937
|
+
*
|
|
938
|
+
* @returns A promise that resolves to an object representing a list of the index of pet abilities.
|
|
939
|
+
*/
|
|
940
|
+
petAbilities(): Promise<PetAbilities>;
|
|
941
|
+
/**
|
|
942
|
+
* Returns a pet ability by ID.
|
|
943
|
+
*
|
|
944
|
+
* @param petAbilityId - The unique identifier for the battle pet ability
|
|
945
|
+
* @returns A promise that resolves to an object representing details about a battle pet ability.
|
|
946
|
+
*/
|
|
947
|
+
petAbility(petAbilityId: number): Promise<PetAbility>;
|
|
948
|
+
/**
|
|
949
|
+
* Returns media for a battle pet by ID.
|
|
950
|
+
*
|
|
951
|
+
* @param petAbilityId - The unique identifier for the battle pet
|
|
952
|
+
* @returns A promise that resolves to an object representing media details about a battle pet.
|
|
953
|
+
*/
|
|
954
|
+
petAbilityMedia(petAbilityId: number): Promise<PetAbilityMedia>;
|
|
955
|
+
/**
|
|
956
|
+
* Returns media for a battle pet by ID.
|
|
957
|
+
*
|
|
958
|
+
* @param petId - The unique identifier for the battle pet
|
|
959
|
+
* @returns A promise that resolves to an object representing media details about a battle pet.
|
|
960
|
+
*/
|
|
961
|
+
petMedia(petId: number): Promise<PetMedia>;
|
|
962
|
+
/**
|
|
963
|
+
* Returns an index of battle pets.
|
|
964
|
+
*
|
|
965
|
+
* @returns A promise that resolves to an object representing a list of the index of battle pets.
|
|
966
|
+
*/
|
|
967
|
+
pets(): Promise<Pets>;
|
|
968
|
+
/**
|
|
969
|
+
* Returns a playable class by ID.
|
|
970
|
+
*
|
|
971
|
+
* @param classId - The unique identifier for the playable class
|
|
972
|
+
* @returns A promise that resolves to an object representing details about a playable class.
|
|
973
|
+
*/
|
|
974
|
+
playableClass(classId: number): Promise<PlayableClass>;
|
|
975
|
+
/**
|
|
976
|
+
* Returns an index of playable classes.
|
|
977
|
+
*
|
|
978
|
+
* @returns A promise that resolves to an object representing a list of the index of playable classes.
|
|
979
|
+
*/
|
|
980
|
+
playableClasses(): Promise<PlayableClasses>;
|
|
981
|
+
/**
|
|
982
|
+
* Returns media for a playable class by ID.
|
|
983
|
+
*
|
|
984
|
+
* @param playableClassId - The unique identifier for the playable class
|
|
985
|
+
* @returns A promise that resolves to an object representing media details about a playable class.
|
|
986
|
+
*/
|
|
987
|
+
playableClassMedia(playableClassId: number): Promise<PlayableClassMedia>;
|
|
988
|
+
/**
|
|
989
|
+
* Returns the PvP talent slots for a playable class by ID.
|
|
990
|
+
*
|
|
991
|
+
* @param classId - The unique identifier for the playable class
|
|
992
|
+
* @returns A promise that resolves to an object representing PvP talent slots for a playable class.
|
|
993
|
+
*/
|
|
994
|
+
playableClassPvpTalentSlots(classId: number): Promise<PlayableClassPvpTalentSlots>;
|
|
995
|
+
/**
|
|
996
|
+
* Returns a playable race by ID.
|
|
997
|
+
*
|
|
998
|
+
* @param playableRaceId - The unique identifier for the playable race
|
|
999
|
+
* @returns A promise that resolves to an object representing details about a playable race.
|
|
1000
|
+
*/
|
|
1001
|
+
playableRace(playableRaceId: number): Promise<PlayableRace>;
|
|
1002
|
+
/**
|
|
1003
|
+
* Returns an index of playable races.
|
|
1004
|
+
*
|
|
1005
|
+
* @returns A promise that resolves to an object representing a list of the index of playable races.
|
|
1006
|
+
*/
|
|
1007
|
+
playableRaces(): Promise<PlayableRaces>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Returns a playable specialization by ID.
|
|
1010
|
+
*
|
|
1011
|
+
* @param specId - The unique identifier for the playable specialization
|
|
1012
|
+
* @returns A promise that resolves to an object representing details about a playable specialization.
|
|
1013
|
+
*/
|
|
1014
|
+
playableSpecialization(specId: number): Promise<PlayableSpecialization>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Returns media for a playable specialization by ID.
|
|
1017
|
+
*
|
|
1018
|
+
* @param specId - The unique identifier for the playable specialization
|
|
1019
|
+
* @returns A promise that resolves to an object representing media details about a playable specialization.
|
|
1020
|
+
*/
|
|
1021
|
+
playableSpecializationMedia(specId: number): Promise<PlayableSpecializationMedia>;
|
|
1022
|
+
/**
|
|
1023
|
+
* Returns an index of playable specializations.
|
|
1024
|
+
*
|
|
1025
|
+
* @returns A promise that resolves to an object representing a list of the index of playable specializations.
|
|
1026
|
+
*/
|
|
1027
|
+
playableSpecializations(): Promise<PlayableSpecializations>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Returns a power type by ID.
|
|
1030
|
+
*
|
|
1031
|
+
* @param powerTypeId - The unique identifier for the power type.
|
|
1032
|
+
* @returns A promise that resolves to an object representing details about a power type.
|
|
1033
|
+
*/
|
|
1034
|
+
powerType(powerTypeId: number): Promise<PowerType>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Returns an index of power types.
|
|
1037
|
+
*
|
|
1038
|
+
* @returns A promise that resolves to an object representing a list of power types.
|
|
1039
|
+
*/
|
|
1040
|
+
powerTypes(): Promise<PowerTypes>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Returns a profession by ID.
|
|
1043
|
+
*
|
|
1044
|
+
* @param professionId - The unique identifier for the profession.
|
|
1045
|
+
* @returns A promise that resolves to an object representing details about a profession.
|
|
1046
|
+
*/
|
|
1047
|
+
profession(professionId: number): Promise<Profession>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Returns media for a profession by ID.
|
|
1050
|
+
*
|
|
1051
|
+
* @param professionId - The unique identifier for the profession
|
|
1052
|
+
* @returns A promise that resolves to an object representing media details about a profession.
|
|
1053
|
+
*/
|
|
1054
|
+
professionMedia(professionId: number): Promise<ProfessionMedia>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Returns a recipe by ID.
|
|
1057
|
+
*
|
|
1058
|
+
* @param recipeId - The unique identifier for the recipe.
|
|
1059
|
+
* @returns A promise that resolves to an object representing details about a recipe.
|
|
1060
|
+
*/
|
|
1061
|
+
professionRecipie(recipeId: number): Promise<ProfessionRecipie>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Returns media for a recipe by ID.
|
|
1064
|
+
*
|
|
1065
|
+
* @param recipeId - The unique identifier for the recipe
|
|
1066
|
+
* @returns A promise that resolves to an object representing media details about a recipe.
|
|
1067
|
+
*/
|
|
1068
|
+
professionRecipieMedia(recipeId: number): Promise<professionRecipieMedia>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Returns an index of professions.
|
|
1071
|
+
*
|
|
1072
|
+
* @returns A promise that resolves to an object representing a list of professions.
|
|
1073
|
+
*/
|
|
1074
|
+
professions(): Promise<Professions>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Returns a skill tier for a profession by ID.
|
|
1077
|
+
*
|
|
1078
|
+
* @param professionId - The unique identifier for the profession
|
|
1079
|
+
* @param skillTierId - The unique identifier for the skill tier
|
|
1080
|
+
* @returns A promise that resolves to an object representing details about a skill tier.
|
|
1081
|
+
*/
|
|
1082
|
+
professionSkillTier(professionId: number, skillTierId: number): Promise<ProfessionSkillTier>;
|
|
1083
|
+
/**
|
|
1084
|
+
* Returns a protected profile summary for a character (money, deaths, position, ...).
|
|
1085
|
+
* Requires a user access token (client.forUser(token)).
|
|
1086
|
+
*
|
|
1087
|
+
* @param realmId - The ID of the character's realm.
|
|
1088
|
+
* @param characterId - The ID of the character.
|
|
1089
|
+
* @returns A promise that resolves to an object representing the protected character profile.
|
|
1090
|
+
*/
|
|
1091
|
+
protectedCharacterProfile(realmId: number, characterId: number): Promise<ProtectedCharacterProfile>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Returns a PvP season by ID.
|
|
1094
|
+
*
|
|
1095
|
+
* @param pvpSeasonId - The unique identifier for the PvP season.
|
|
1096
|
+
* @returns A promise that resolves to an object representing details about a PvP season.
|
|
1097
|
+
*/
|
|
1098
|
+
pvpSeason(pvpSeasonId: number): Promise<PvpSeason>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Returns the PvP leaderboard of a specific PvP bracket for a PvP season.
|
|
1101
|
+
*
|
|
1102
|
+
* @param pvpSeasonId - The unique identifier for the PvP season.
|
|
1103
|
+
* @param pvpBracket - The name of the PvP bracket (e.g. "2v2", "3v3", "rbg", "shuffle-overall"), as listed by
|
|
1104
|
+
* pvpSeasonLeaderboards().
|
|
1105
|
+
* @returns A promise that resolves to an object representing details about the PvP bracket.
|
|
1106
|
+
*/
|
|
1107
|
+
pvpSeasonLeaderboard(pvpSeasonId: number, pvpBracket: string): Promise<PvpSeasonLeaderboard>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Returns an index of PvP leaderboards for a PvP season.
|
|
1110
|
+
*
|
|
1111
|
+
* @param pvpSeasonId - The unique identifier for the PvP season.
|
|
1112
|
+
* @returns A promise that resolves to an object representing details about the PvP leaderboards.
|
|
1113
|
+
*/
|
|
1114
|
+
pvpSeasonLeaderboards(pvpSeasonId: number): Promise<PvpSeasonLeaderboards>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Returns an index of PvP rewards for a PvP season.
|
|
1117
|
+
*
|
|
1118
|
+
* @param pvpSeasonId - The unique identifier for the PvP season.
|
|
1119
|
+
* @returns A promise that resolves to an object representing details about the PvP rewards.
|
|
1120
|
+
*/
|
|
1121
|
+
pvpSeasonRewards(pvpSeasonId: number): Promise<PvpSeasonRewards>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Returns an index of PvP seasons.
|
|
1124
|
+
*
|
|
1125
|
+
* @returns A promise that resolves to an object representing a list of PvP seasons.
|
|
1126
|
+
*/
|
|
1127
|
+
pvpSeasons(): Promise<PvpSeasons>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Returns a PvP talent by ID.
|
|
1130
|
+
*
|
|
1131
|
+
* @param pvpTalentId - The unique identifier for the PvP talent.
|
|
1132
|
+
* @returns A promise that resolves to an object representing details about the PvP talent.
|
|
1133
|
+
*/
|
|
1134
|
+
pvpTalent(pvpTalentId: number): Promise<PvpTalent>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Returns an index of PvP talents.
|
|
1137
|
+
*
|
|
1138
|
+
* @returns A promise that resolves to an object representing a list of PvP talents.
|
|
1139
|
+
*/
|
|
1140
|
+
pvpTalents(): Promise<PvpTalents>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Returns a PvP tier by ID.
|
|
1143
|
+
*
|
|
1144
|
+
* @param pvpTierId - The unique identifier for the PvP tier.
|
|
1145
|
+
* @returns A promise that resolves to an object representing details about a PvP tier.
|
|
1146
|
+
*/
|
|
1147
|
+
pvpTier(pvpTierId: number): Promise<PvpTier>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Returns media for a PvP tier by ID.
|
|
1150
|
+
*
|
|
1151
|
+
* @param pvpTierId - The unique identifier for the PvP tier
|
|
1152
|
+
* @returns A promise that resolves to an object representing media details about a PvP tier.
|
|
1153
|
+
*/
|
|
1154
|
+
pvpTierMedia(pvpTierId: number): Promise<PvpTierMedia>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Returns an index of PvP tiers.
|
|
1157
|
+
*
|
|
1158
|
+
* @returns A promise that resolves to an object representing a list of PvP tiers.
|
|
1159
|
+
*/
|
|
1160
|
+
pvpTiers(): Promise<PvpTiers>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Returns a quest by ID.
|
|
1163
|
+
*
|
|
1164
|
+
* @param questId - The unique identifier for the quest.
|
|
1165
|
+
* @returns A promise that resolves to an object representing details about a quest.
|
|
1166
|
+
*/
|
|
1167
|
+
quest(questId: number): Promise<Quest>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Returns a quest area by ID.
|
|
1170
|
+
*
|
|
1171
|
+
* @param questAreaId - The unique identifier for the quest area.
|
|
1172
|
+
* @returns A promise that resolves to an object representing details about a quest area.
|
|
1173
|
+
*/
|
|
1174
|
+
questArea(questAreaId: number): Promise<QuestArea>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Returns an index of quest areas.
|
|
1177
|
+
*
|
|
1178
|
+
* @returns A promise that resolves to an object representing a list of quest areas.
|
|
1179
|
+
*/
|
|
1180
|
+
questAreas(): Promise<QuestAreas>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Returns an index of quest categories (such as quests for a specific class, profession, or storyline).
|
|
1183
|
+
*
|
|
1184
|
+
* @returns A promise that resolves to an object representing a list of quest categories.
|
|
1185
|
+
*/
|
|
1186
|
+
questCategories(): Promise<QuestCategories>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Returns a quest category by ID.
|
|
1189
|
+
*
|
|
1190
|
+
* @param questCategoryId - The unique identifier for the quest category.
|
|
1191
|
+
* @returns A promise that resolves to an object representing details about a quest category.
|
|
1192
|
+
*/
|
|
1193
|
+
questCategory(questCategoryId: number): Promise<QuestCategory>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Returns the parent index for quests.
|
|
1196
|
+
*
|
|
1197
|
+
* @returns A promise that resolves to an object representing a list of quests.
|
|
1198
|
+
*/
|
|
1199
|
+
quests(): Promise<Quests>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Returns a quest type by ID.
|
|
1202
|
+
*
|
|
1203
|
+
* @param questTypeId - The unique identifier for the quest type.
|
|
1204
|
+
* @returns A promise that resolves to an object representing details about a quest type.
|
|
1205
|
+
*/
|
|
1206
|
+
questType(questTypeId: number): Promise<QuestType>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Returns an index of quest types (such as PvP quests, raid quests, or account quests).
|
|
1209
|
+
*
|
|
1210
|
+
* @returns A promise that resolves to an object representing a list of quest types.
|
|
1211
|
+
*/
|
|
1212
|
+
questTypes(): Promise<QuestTypes>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Returns a single realm by slug or ID.
|
|
1215
|
+
*
|
|
1216
|
+
* @param realmSlugOrId - The unique identifier for the realm.
|
|
1217
|
+
* @returns A promise that resolves to an object representing details about a realm.
|
|
1218
|
+
*/
|
|
1219
|
+
realm(realmSlugOrId: string | number): Promise<Realm>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Returns an index of realms.
|
|
1222
|
+
*
|
|
1223
|
+
* @returns A promise that resolves to an object representing a list of realms.
|
|
1224
|
+
*/
|
|
1225
|
+
realms(): Promise<Realms>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Returns a region by ID.
|
|
1228
|
+
*
|
|
1229
|
+
* @param regionId - The unique identifier for the region.
|
|
1230
|
+
* @returns A promise that resolves to an object representing details about a region.
|
|
1231
|
+
*/
|
|
1232
|
+
region(regionId: number): Promise<Region>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Returns an index of regions.
|
|
1235
|
+
*
|
|
1236
|
+
* @returns A promise that resolves to an object representing a list of regions.
|
|
1237
|
+
*/
|
|
1238
|
+
regions(): Promise<Regions>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Returns a single reputation faction by ID.
|
|
1241
|
+
*
|
|
1242
|
+
* @param reputationFactionId - The unique identifier for the reputation faction.
|
|
1243
|
+
* @returns A promise that resolves to an object representing details about a reputation faction.
|
|
1244
|
+
*/
|
|
1245
|
+
reputationFaction(reputationFactionId: string): Promise<ReputationFaction>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Returns an index of reputation factions.
|
|
1248
|
+
*
|
|
1249
|
+
* @returns A promise that resolves to an object representing a list of reputation factions.
|
|
1250
|
+
*/
|
|
1251
|
+
reputationFactions(): Promise<ReputationFactions>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Returns a single set of reputation tiers by ID.
|
|
1254
|
+
*
|
|
1255
|
+
* @param reputationTiersId - The unique identifier for the reputation tier.
|
|
1256
|
+
* @returns A promise that resolves to an object representing details about a reputation tier.
|
|
1257
|
+
*/
|
|
1258
|
+
reputationTier(reputationTiersId: string): Promise<ReputationTier>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Returns an index of reputation tiers.
|
|
1261
|
+
*
|
|
1262
|
+
* @returns A promise that resolves to an object representing a list of reputation tiers.
|
|
1263
|
+
*/
|
|
1264
|
+
reputationTiers(): Promise<ReputationTiers>;
|
|
1265
|
+
/**
|
|
1266
|
+
* Returns a room by ID.
|
|
1267
|
+
*
|
|
1268
|
+
* @param roomId - The ID of the room.
|
|
1269
|
+
*/
|
|
1270
|
+
room(roomId: number): Promise<Room>;
|
|
1271
|
+
/**
|
|
1272
|
+
* Returns an index of rooms.
|
|
1273
|
+
*/
|
|
1274
|
+
rooms(): Promise<Rooms>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Performs a search of azerite essences.
|
|
1277
|
+
*
|
|
1278
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1279
|
+
* @returns A promise that resolves to an object representing details about a Azerite Essences search.
|
|
1280
|
+
*/
|
|
1281
|
+
searchAzeriteEssence(searchParameters: SearchParameters): Promise<Search>;
|
|
1282
|
+
/**
|
|
1283
|
+
* Performs a search of connected realms.
|
|
1284
|
+
*
|
|
1285
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1286
|
+
* @returns A promise that resolves to an object representing details about the connected realms search.
|
|
1287
|
+
*/
|
|
1288
|
+
searchConnectedRealm(searchParameters: SearchParameters): Promise<Search>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Performs a search of creatures.
|
|
1291
|
+
*
|
|
1292
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1293
|
+
* @returns A promise that resolves to an object representing details about a creature search.
|
|
1294
|
+
*/
|
|
1295
|
+
searchCreature(searchParameters: SearchParameters): Promise<Search>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Performs a search of decor.
|
|
1298
|
+
*
|
|
1299
|
+
* @param searchParameters - Object containing search parameters.
|
|
1300
|
+
*/
|
|
1301
|
+
searchDecor(searchParameters: SearchParameters): Promise<Search>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Performs a search of fixtures.
|
|
1304
|
+
*
|
|
1305
|
+
* @param searchParameters - Object containing search parameters.
|
|
1306
|
+
*/
|
|
1307
|
+
searchFixture(searchParameters: SearchParameters): Promise<Search>;
|
|
1308
|
+
/**
|
|
1309
|
+
* Performs a search of fixture hooks.
|
|
1310
|
+
*
|
|
1311
|
+
* @param searchParameters - Object containing search parameters.
|
|
1312
|
+
*/
|
|
1313
|
+
searchFixtureHook(searchParameters: SearchParameters): Promise<Search>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Performs a search of items.
|
|
1316
|
+
*
|
|
1317
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1318
|
+
* @returns A promise that resolves to an object representing details about an item search.
|
|
1319
|
+
*/
|
|
1320
|
+
searchItem(searchParameters: SearchParameters): Promise<Search>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Performs a search of item appearances.
|
|
1323
|
+
*
|
|
1324
|
+
* @param searchParameters - Object containing search parameters.
|
|
1325
|
+
* @returns A promise that resolves to an object representing details about an item appearance search.
|
|
1326
|
+
*/
|
|
1327
|
+
searchItemAppearance(searchParameters: SearchParameters): Promise<ItemAppearanceSearch>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Performs a search of journal encounters.
|
|
1330
|
+
*
|
|
1331
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1332
|
+
* @returns A promise that resolves to an object representing details about a journal encounter search.
|
|
1333
|
+
*/
|
|
1334
|
+
searchJournalEncounter(searchParameters: SearchParameters): Promise<Search>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Performs a search of media.
|
|
1337
|
+
*
|
|
1338
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1339
|
+
* @returns A promise that resolves to an object representing details about a media search.
|
|
1340
|
+
*/
|
|
1341
|
+
searchMedia(searchParameters: SearchParameters): Promise<Search>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Performs a search of mounts.
|
|
1344
|
+
*
|
|
1345
|
+
* @param searchParameters - Object containing search parameters.
|
|
1346
|
+
* @returns A promise that resolves to an object representing details about a mount search.
|
|
1347
|
+
*/
|
|
1348
|
+
searchMount(searchParameters: SearchParameters): Promise<Search>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Performs a search of realms.
|
|
1351
|
+
*
|
|
1352
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1353
|
+
* @returns A promise that resolves to an object representing details about a realm search.
|
|
1354
|
+
*/
|
|
1355
|
+
searchRealm(searchParameters: SearchParameters): Promise<Search>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Performs a search of rooms.
|
|
1358
|
+
*
|
|
1359
|
+
* @param searchParameters - Object containing search parameters.
|
|
1360
|
+
*/
|
|
1361
|
+
searchRoom(searchParameters: SearchParameters): Promise<Search>;
|
|
1362
|
+
/**
|
|
1363
|
+
* Performs a search of spells.
|
|
1364
|
+
*
|
|
1365
|
+
* @param SearchParameters - Object containing search parameters.
|
|
1366
|
+
* @returns A promise that resolves to an object representing details about a spell search.
|
|
1367
|
+
*/
|
|
1368
|
+
searchSpell(searchParameters: SearchParameters): Promise<Search>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Returns a spell by ID.
|
|
1371
|
+
*
|
|
1372
|
+
* @param spellId - The unique identifier for the spell.
|
|
1373
|
+
* @returns A promise that resolves to an object representing details about a spell.
|
|
1374
|
+
*/
|
|
1375
|
+
spell(spellId: number): Promise<Spell>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Returns media for a spell by ID.
|
|
1378
|
+
*
|
|
1379
|
+
* @param spellId - The unique identifier for the spell.
|
|
1380
|
+
* @returns A promise that resolves to an object representing details about a spell.
|
|
1381
|
+
*/
|
|
1382
|
+
spellMedia(spellId: number): Promise<SpellMedia>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Returns a talent by ID.
|
|
1385
|
+
*
|
|
1386
|
+
* @param talentId - The unique identifier for the talent.
|
|
1387
|
+
* @returns A promise that resolves to an object representing details about the talent.
|
|
1388
|
+
*/
|
|
1389
|
+
talent(talentId: number): Promise<Talent>;
|
|
1390
|
+
/**
|
|
1391
|
+
* Returns an index of talents.
|
|
1392
|
+
*
|
|
1393
|
+
* @returns A promise that resolves to an object representing a list of talents.
|
|
1394
|
+
*/
|
|
1395
|
+
talents(): Promise<Talents>;
|
|
1396
|
+
/**
|
|
1397
|
+
* Returns a talent tree by specialization ID.
|
|
1398
|
+
*
|
|
1399
|
+
* @param talentTreeId - The unique identifier for the talent tree.
|
|
1400
|
+
* @param specId - The unique identifier for the specialization.
|
|
1401
|
+
* @returns A promise that resolves to an object representing details about a talent tree.
|
|
1402
|
+
*/
|
|
1403
|
+
talentTree(talentTreeId: number, specId: number): Promise<TalentTree>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Returns all talent tree nodes as well as links to associated playable specializations given a talent tree id. This is useful to generate loadout export codes.
|
|
1406
|
+
*
|
|
1407
|
+
* @param talentTreeId - The unique identifier for the talent tree.
|
|
1408
|
+
* @returns A promise that resolves to an object representing details about the talent tree nodes.
|
|
1409
|
+
*/
|
|
1410
|
+
talentTreeNodes(talentTreeId: number): Promise<TalentTreeNodes>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Returns an index of talent trees.
|
|
1413
|
+
*
|
|
1414
|
+
* @returns A promise that resolves to an object representing a list of talent trees.
|
|
1415
|
+
*/
|
|
1416
|
+
talentTrees(): Promise<TalentTrees>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Returns a tech talent by ID.
|
|
1419
|
+
*
|
|
1420
|
+
* @param techTalentId - The unique identifier for the tech talent tree.
|
|
1421
|
+
* @returns A promise that resolves to an object representing details about the tech talent tree.
|
|
1422
|
+
*/
|
|
1423
|
+
techTalent(techTalentId: number): Promise<TechTalent>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Returns media for a tech talent by ID.
|
|
1426
|
+
*
|
|
1427
|
+
* @param techTalentId - The unique identifier for the tech talent.
|
|
1428
|
+
* @returns A promise that resolves to an object representing details about a tech talent.
|
|
1429
|
+
*/
|
|
1430
|
+
techTalentMedia(techTalentId: number): Promise<TechTalentMedia>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Returns an index of tech talents.
|
|
1433
|
+
*
|
|
1434
|
+
* @returns A promise that resolves to an object representing a list of tech talents trees
|
|
1435
|
+
*/
|
|
1436
|
+
techTalents(): Promise<TechTalents>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Returns a tech talent tree by ID.
|
|
1439
|
+
*
|
|
1440
|
+
* @param techTalentTreeId - The unique identifier for the tech talent tree.
|
|
1441
|
+
* @returns A promise that resolves to an object representing details about the tech talent tree.
|
|
1442
|
+
*/
|
|
1443
|
+
techTalentTree(techTalentTreeId: number): Promise<TechTalentTree>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Returns an index of tech talent trees.
|
|
1446
|
+
*
|
|
1447
|
+
* @returns A promise that resolves to an object representing a list of tech talents trees
|
|
1448
|
+
*/
|
|
1449
|
+
techTalentTrees(): Promise<TechTalentTrees>;
|
|
1450
|
+
/**
|
|
1451
|
+
* Returns a title by ID.
|
|
1452
|
+
*
|
|
1453
|
+
* @param titleId - The unique identifier for the title.
|
|
1454
|
+
* @returns A promise that resolves to an object representing details about a title.
|
|
1455
|
+
*/
|
|
1456
|
+
title(titleId: number): Promise<Title>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Returns an index of titles.
|
|
1459
|
+
*
|
|
1460
|
+
* @returns A promise that resolves to an object representing a list of titles.
|
|
1461
|
+
*/
|
|
1462
|
+
titles(): Promise<Titles>;
|
|
1463
|
+
/**
|
|
1464
|
+
* Fetches and returns last known price and last updated timestamp for a wow token.
|
|
1465
|
+
*
|
|
1466
|
+
* @returns A promise that resolves to an object representing price and last updated timestamp.
|
|
1467
|
+
*/
|
|
1468
|
+
token(): Promise<WowToken>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Returns a toy by id.
|
|
1471
|
+
*
|
|
1472
|
+
* @param toyId - The unique identifier for the toy.
|
|
1473
|
+
* @returns A promise that resolves to an object representing details about a toy.
|
|
1474
|
+
*/
|
|
1475
|
+
toy(toyId: number): Promise<Toy>;
|
|
1476
|
+
/**
|
|
1477
|
+
* Returns an index of toys.
|
|
1478
|
+
*
|
|
1479
|
+
* @returns A promise that resolves to an object representing a list of toys.
|
|
1480
|
+
*/
|
|
1481
|
+
toys(): Promise<Toys>;
|
|
1482
|
+
}
|