@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.
Files changed (423) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +153 -37
  3. package/esm/mod.d.ts +43 -6
  4. package/esm/mod.js +69 -6
  5. package/esm/src/client.d.ts +95 -0
  6. package/esm/src/client.js +52 -0
  7. package/esm/src/diablo3/community/act.d.ts +29 -0
  8. package/esm/src/diablo3/community/act.js +23 -0
  9. package/esm/src/diablo3/community/artisan.d.ts +50 -0
  10. package/esm/src/diablo3/community/artisan.js +25 -0
  11. package/esm/src/diablo3/community/follower.d.ts +25 -0
  12. package/esm/src/diablo3/community/follower.js +12 -0
  13. package/esm/src/diablo3/community/hero.d.ts +57 -0
  14. package/esm/src/diablo3/community/hero.js +25 -0
  15. package/esm/src/diablo3/community/item.d.ts +48 -0
  16. package/esm/src/diablo3/community/item.js +12 -0
  17. package/esm/src/diablo3/community/item_type.d.ts +26 -0
  18. package/esm/src/diablo3/community/item_type.js +23 -0
  19. package/esm/src/diablo3/community/profile.d.ts +352 -0
  20. package/esm/src/diablo3/community/profile.js +61 -0
  21. package/esm/src/diablo3/game_data/d3.d.ts +127 -0
  22. package/esm/src/diablo3/game_data/d3.js +72 -0
  23. package/esm/src/diablo3/index.d.ts +8 -0
  24. package/esm/src/diablo3/index.js +8 -0
  25. package/esm/src/diablo3/types.d.ts +8 -0
  26. package/esm/src/diablo3/types.js +1 -0
  27. package/esm/src/generated/diablo3_api.d.ts +156 -0
  28. package/esm/src/generated/diablo3_api.js +2 -0
  29. package/esm/src/generated/hearthstone_api.d.ts +51 -0
  30. package/esm/src/generated/hearthstone_api.js +2 -0
  31. package/esm/src/generated/sc2_api.d.ts +139 -0
  32. package/esm/src/generated/sc2_api.js +2 -0
  33. package/esm/src/generated/wow_api.d.ts +1482 -0
  34. package/esm/src/generated/wow_api.js +2 -0
  35. package/esm/src/generated/wow_classic_api.d.ts +555 -0
  36. package/esm/src/generated/wow_classic_api.js +2 -0
  37. package/esm/src/generated/wow_classic_era_api.d.ts +418 -0
  38. package/esm/src/generated/wow_classic_era_api.js +2 -0
  39. package/esm/src/hearthstone/game_data/card_backs.d.ts +31 -0
  40. package/esm/src/hearthstone/game_data/card_backs.js +22 -0
  41. package/esm/src/hearthstone/game_data/cards.d.ts +55 -0
  42. package/esm/src/hearthstone/game_data/cards.js +26 -0
  43. package/esm/src/hearthstone/game_data/decks.d.ts +29 -0
  44. package/esm/src/hearthstone/game_data/decks.js +13 -0
  45. package/esm/src/hearthstone/game_data/metadata.d.ts +82 -0
  46. package/esm/src/hearthstone/game_data/metadata.js +11 -0
  47. package/esm/src/hearthstone/index.d.ts +4 -0
  48. package/esm/src/hearthstone/index.js +4 -0
  49. package/esm/src/hearthstone/search.d.ts +21 -0
  50. package/esm/src/hearthstone/search.js +28 -0
  51. package/esm/src/hearthstone/types.d.ts +5 -0
  52. package/esm/src/hearthstone/types.js +1 -0
  53. package/esm/src/shared/bind.d.ts +14 -0
  54. package/esm/src/shared/bind.js +15 -0
  55. package/esm/src/shared/context.d.ts +163 -0
  56. package/esm/src/shared/context.js +304 -0
  57. package/esm/src/shared/errors.d.ts +53 -0
  58. package/esm/src/shared/errors.js +95 -0
  59. package/esm/src/shared/index.d.ts +4 -0
  60. package/esm/src/shared/index.js +2 -0
  61. package/esm/src/shared/types.d.ts +133 -0
  62. package/esm/src/shared/types.js +2 -0
  63. package/esm/src/starcraft2/community/account.d.ts +19 -0
  64. package/esm/src/starcraft2/community/account.js +15 -0
  65. package/esm/src/starcraft2/community/ladder.d.ts +29 -0
  66. package/esm/src/starcraft2/community/ladder.js +27 -0
  67. package/esm/src/starcraft2/community/legacy.d.ts +206 -0
  68. package/esm/src/starcraft2/community/legacy.js +83 -0
  69. package/esm/src/starcraft2/community/profile.d.ts +255 -0
  70. package/esm/src/starcraft2/community/profile.js +73 -0
  71. package/esm/src/starcraft2/game_data/league.d.ts +35 -0
  72. package/esm/src/starcraft2/game_data/league.js +20 -0
  73. package/esm/src/starcraft2/index.d.ts +5 -0
  74. package/esm/src/starcraft2/index.js +5 -0
  75. package/esm/src/starcraft2/types.d.ts +5 -0
  76. package/esm/src/starcraft2/types.js +1 -0
  77. package/esm/src/wow/game_data/achievement.d.ts +87 -0
  78. package/esm/src/wow/game_data/achievement.js +68 -0
  79. package/esm/src/wow/game_data/auction_house.d.ts +65 -0
  80. package/esm/src/wow/game_data/auction_house.js +33 -0
  81. package/esm/src/wow/game_data/azerite_essence.d.ts +50 -0
  82. package/esm/src/wow/game_data/azerite_essence.js +48 -0
  83. package/esm/src/wow/game_data/connected_realm.d.ts +62 -0
  84. package/esm/src/wow/game_data/connected_realm.js +35 -0
  85. package/esm/src/wow/game_data/covenant.d.ts +115 -0
  86. package/esm/src/wow/game_data/covenant.js +88 -0
  87. package/esm/src/wow/game_data/creature.d.ts +98 -0
  88. package/esm/src/wow/game_data/creature.js +99 -0
  89. package/esm/src/wow/game_data/guild_crest.d.ts +56 -0
  90. package/esm/src/wow/game_data/guild_crest.js +38 -0
  91. package/esm/src/wow/game_data/heirloom.d.ts +82 -0
  92. package/esm/src/wow/game_data/heirloom.js +25 -0
  93. package/esm/src/wow/game_data/housing.d.ts +111 -0
  94. package/esm/src/wow/game_data/housing.js +124 -0
  95. package/esm/src/wow/game_data/item.d.ts +183 -0
  96. package/esm/src/wow/game_data/item.js +100 -0
  97. package/esm/src/wow/game_data/item_appearance.d.ts +102 -0
  98. package/esm/src/wow/game_data/item_appearance.js +73 -0
  99. package/esm/src/wow/game_data/journal.d.ts +124 -0
  100. package/esm/src/wow/game_data/journal.js +98 -0
  101. package/esm/src/wow/game_data/keystone_affix.d.ts +39 -0
  102. package/esm/src/wow/game_data/keystone_affix.js +38 -0
  103. package/esm/src/wow/game_data/media_search.d.ts +9 -0
  104. package/esm/src/wow/game_data/media_search.js +10 -0
  105. package/esm/src/wow/game_data/modified_crafting.d.ts +65 -0
  106. package/esm/src/wow/game_data/modified_crafting.js +62 -0
  107. package/esm/src/wow/game_data/mount.d.ts +38 -0
  108. package/esm/src/wow/game_data/mount.js +35 -0
  109. package/esm/src/wow/game_data/mythic_keystone_dungeon.d.ts +92 -0
  110. package/esm/src/wow/game_data/mythic_keystone_dungeon.js +87 -0
  111. package/esm/src/wow/game_data/mythic_keystone_leaderboard.d.ts +70 -0
  112. package/esm/src/wow/game_data/mythic_keystone_leaderboard.js +28 -0
  113. package/esm/src/wow/game_data/mythic_raid_leaderboard.d.ts +36 -0
  114. package/esm/src/wow/game_data/mythic_raid_leaderboard.js +14 -0
  115. package/esm/src/wow/game_data/neighborhood.d.ts +36 -0
  116. package/esm/src/wow/game_data/neighborhood.js +38 -0
  117. package/esm/src/wow/game_data/pet.d.ts +93 -0
  118. package/esm/src/wow/game_data/pet.js +76 -0
  119. package/esm/src/wow/game_data/playable_class.d.ts +58 -0
  120. package/esm/src/wow/game_data/playable_class.js +51 -0
  121. package/esm/src/wow/game_data/playable_race.d.ts +31 -0
  122. package/esm/src/wow/game_data/playable_race.js +25 -0
  123. package/esm/src/wow/game_data/playable_specialization.d.ts +63 -0
  124. package/esm/src/wow/game_data/playable_specialization.js +38 -0
  125. package/esm/src/wow/game_data/power_type.d.ts +22 -0
  126. package/esm/src/wow/game_data/power_type.js +25 -0
  127. package/esm/src/wow/game_data/profession.d.ts +88 -0
  128. package/esm/src/wow/game_data/profession.js +78 -0
  129. package/esm/src/wow/game_data/pvp_season.d.ts +108 -0
  130. package/esm/src/wow/game_data/pvp_season.js +66 -0
  131. package/esm/src/wow/game_data/pvp_tier.d.ts +41 -0
  132. package/esm/src/wow/game_data/pvp_tier.js +38 -0
  133. package/esm/src/wow/game_data/quest.d.ts +116 -0
  134. package/esm/src/wow/game_data/quest.js +100 -0
  135. package/esm/src/wow/game_data/realm.d.ts +43 -0
  136. package/esm/src/wow/game_data/realm.js +35 -0
  137. package/esm/src/wow/game_data/region.d.ts +26 -0
  138. package/esm/src/wow/game_data/region.js +25 -0
  139. package/esm/src/wow/game_data/reputations.d.ts +57 -0
  140. package/esm/src/wow/game_data/reputations.js +50 -0
  141. package/esm/src/wow/game_data/spell.d.ts +34 -0
  142. package/esm/src/wow/game_data/spell.js +36 -0
  143. package/esm/src/wow/game_data/talent.d.ts +143 -0
  144. package/esm/src/wow/game_data/talent.js +89 -0
  145. package/esm/src/wow/game_data/tech_talent.d.ts +72 -0
  146. package/esm/src/wow/game_data/tech_talent.js +63 -0
  147. package/esm/src/wow/game_data/title.d.ts +33 -0
  148. package/esm/src/wow/game_data/title.js +25 -0
  149. package/esm/src/wow/game_data/token.d.ts +17 -0
  150. package/esm/src/wow/game_data/token.js +18 -0
  151. package/esm/src/wow/game_data/toy.d.ts +25 -0
  152. package/esm/src/wow/game_data/toy.js +25 -0
  153. package/esm/src/wow/index.d.ts +59 -0
  154. package/esm/src/wow/index.js +61 -0
  155. package/esm/src/wow/profile/account_profile.d.ts +185 -0
  156. package/esm/src/wow/profile/account_profile.js +132 -0
  157. package/esm/src/wow/profile/character_achievements.d.ts +88 -0
  158. package/esm/src/wow/profile/character_achievements.js +28 -0
  159. package/esm/src/wow/profile/character_appearance.d.ts +79 -0
  160. package/esm/src/wow/profile/character_appearance.js +14 -0
  161. package/esm/src/wow/profile/character_collections.d.ts +132 -0
  162. package/esm/src/wow/profile/character_collections.js +98 -0
  163. package/esm/src/wow/profile/character_encounters.d.ts +78 -0
  164. package/esm/src/wow/profile/character_encounters.js +42 -0
  165. package/esm/src/wow/profile/character_equipment.d.ts +177 -0
  166. package/esm/src/wow/profile/character_equipment.js +14 -0
  167. package/esm/src/wow/profile/character_house.d.ts +16 -0
  168. package/esm/src/wow/profile/character_house.js +17 -0
  169. package/esm/src/wow/profile/character_hunter_pets.d.ts +22 -0
  170. package/esm/src/wow/profile/character_hunter_pets.js +14 -0
  171. package/esm/src/wow/profile/character_media.d.ts +14 -0
  172. package/esm/src/wow/profile/character_media.js +14 -0
  173. package/esm/src/wow/profile/character_mythic_keystone_profile.d.ts +70 -0
  174. package/esm/src/wow/profile/character_mythic_keystone_profile.js +31 -0
  175. package/esm/src/wow/profile/character_professions.d.ts +29 -0
  176. package/esm/src/wow/profile/character_professions.js +14 -0
  177. package/esm/src/wow/profile/character_profile.d.ts +83 -0
  178. package/esm/src/wow/profile/character_profile.js +39 -0
  179. package/esm/src/wow/profile/character_pvp.d.ts +53 -0
  180. package/esm/src/wow/profile/character_pvp.js +29 -0
  181. package/esm/src/wow/profile/character_quests.d.ts +29 -0
  182. package/esm/src/wow/profile/character_quests.js +28 -0
  183. package/esm/src/wow/profile/character_reputations.d.ts +30 -0
  184. package/esm/src/wow/profile/character_reputations.js +14 -0
  185. package/esm/src/wow/profile/character_soulbinds.d.ts +31 -0
  186. package/esm/src/wow/profile/character_soulbinds.js +14 -0
  187. package/esm/src/wow/profile/character_specializations.d.ts +82 -0
  188. package/esm/src/wow/profile/character_specializations.js +14 -0
  189. package/esm/src/wow/profile/character_statistics.d.ts +104 -0
  190. package/esm/src/wow/profile/character_statistics.js +14 -0
  191. package/esm/src/wow/profile/character_titles.d.ts +14 -0
  192. package/esm/src/wow/profile/character_titles.js +14 -0
  193. package/esm/src/wow/profile/guild.d.ts +150 -0
  194. package/esm/src/wow/profile/guild.js +56 -0
  195. package/esm/src/wow/search.d.ts +23 -0
  196. package/esm/src/wow/search.js +29 -0
  197. package/esm/src/wow/types.d.ts +58 -0
  198. package/esm/src/wow/types.js +1 -0
  199. package/esm/src/wow_classic/auction_house.d.ts +41 -0
  200. package/esm/src/wow_classic/auction_house.js +31 -0
  201. package/esm/src/wow_classic/character_specializations.d.ts +45 -0
  202. package/esm/src/wow_classic/character_specializations.js +18 -0
  203. package/esm/src/wow_classic/era.d.ts +8 -0
  204. package/esm/src/wow_classic/era.js +10 -0
  205. package/esm/src/wow_classic/index.d.ts +15 -0
  206. package/esm/src/wow_classic/index.js +17 -0
  207. package/esm/src/wow_classic/profile_overrides.d.ts +125 -0
  208. package/esm/src/wow_classic/profile_overrides.js +111 -0
  209. package/esm/src/wow_classic/shared.d.ts +23 -0
  210. package/esm/src/wow_classic/shared.js +26 -0
  211. package/esm/src/wow_classic/types.d.ts +3 -0
  212. package/esm/src/wow_classic/types.js +1 -0
  213. package/package.json +23 -2
  214. package/script/mod.d.ts +43 -6
  215. package/script/mod.js +91 -21
  216. package/script/src/client.d.ts +95 -0
  217. package/script/src/client.js +89 -0
  218. package/script/src/diablo3/community/act.d.ts +29 -0
  219. package/script/src/diablo3/community/act.js +27 -0
  220. package/script/src/diablo3/community/artisan.d.ts +50 -0
  221. package/script/src/diablo3/community/artisan.js +29 -0
  222. package/script/src/diablo3/community/follower.d.ts +25 -0
  223. package/script/src/diablo3/community/follower.js +15 -0
  224. package/script/src/diablo3/community/hero.d.ts +57 -0
  225. package/script/src/diablo3/community/hero.js +29 -0
  226. package/script/src/diablo3/community/item.d.ts +48 -0
  227. package/script/src/diablo3/community/item.js +15 -0
  228. package/script/src/diablo3/community/item_type.d.ts +26 -0
  229. package/script/src/diablo3/community/item_type.js +27 -0
  230. package/script/src/diablo3/community/profile.d.ts +352 -0
  231. package/script/src/diablo3/community/profile.js +67 -0
  232. package/script/src/diablo3/game_data/d3.d.ts +127 -0
  233. package/script/src/diablo3/game_data/d3.js +80 -0
  234. package/script/src/diablo3/index.d.ts +8 -0
  235. package/script/src/diablo3/index.js +31 -0
  236. package/script/src/diablo3/types.d.ts +8 -0
  237. package/script/src/diablo3/types.js +2 -0
  238. package/script/src/generated/diablo3_api.d.ts +156 -0
  239. package/script/src/generated/diablo3_api.js +3 -0
  240. package/script/src/generated/hearthstone_api.d.ts +51 -0
  241. package/script/src/generated/hearthstone_api.js +3 -0
  242. package/script/src/generated/sc2_api.d.ts +139 -0
  243. package/script/src/generated/sc2_api.js +3 -0
  244. package/script/src/generated/wow_api.d.ts +1482 -0
  245. package/script/src/generated/wow_api.js +3 -0
  246. package/script/src/generated/wow_classic_api.d.ts +555 -0
  247. package/script/src/generated/wow_classic_api.js +3 -0
  248. package/script/src/generated/wow_classic_era_api.d.ts +418 -0
  249. package/script/src/generated/wow_classic_era_api.js +3 -0
  250. package/script/src/hearthstone/game_data/card_backs.d.ts +31 -0
  251. package/script/src/hearthstone/game_data/card_backs.js +26 -0
  252. package/script/src/hearthstone/game_data/cards.d.ts +55 -0
  253. package/script/src/hearthstone/game_data/cards.js +30 -0
  254. package/script/src/hearthstone/game_data/decks.d.ts +29 -0
  255. package/script/src/hearthstone/game_data/decks.js +16 -0
  256. package/script/src/hearthstone/game_data/metadata.d.ts +82 -0
  257. package/script/src/hearthstone/game_data/metadata.js +14 -0
  258. package/script/src/hearthstone/index.d.ts +4 -0
  259. package/script/src/hearthstone/index.js +13 -0
  260. package/script/src/hearthstone/search.d.ts +21 -0
  261. package/script/src/hearthstone/search.js +31 -0
  262. package/script/src/hearthstone/types.d.ts +5 -0
  263. package/script/src/hearthstone/types.js +2 -0
  264. package/script/src/shared/bind.d.ts +14 -0
  265. package/script/src/shared/bind.js +18 -0
  266. package/script/src/shared/context.d.ts +163 -0
  267. package/script/src/shared/context.js +312 -0
  268. package/script/src/shared/errors.d.ts +53 -0
  269. package/script/src/shared/errors.js +104 -0
  270. package/script/src/shared/index.d.ts +4 -0
  271. package/script/src/shared/index.js +10 -0
  272. package/script/src/shared/types.d.ts +133 -0
  273. package/script/src/shared/types.js +3 -0
  274. package/script/src/starcraft2/community/account.d.ts +19 -0
  275. package/script/src/starcraft2/community/account.js +18 -0
  276. package/script/src/starcraft2/community/ladder.d.ts +29 -0
  277. package/script/src/starcraft2/community/ladder.js +31 -0
  278. package/script/src/starcraft2/community/legacy.d.ts +206 -0
  279. package/script/src/starcraft2/community/legacy.js +91 -0
  280. package/script/src/starcraft2/community/profile.d.ts +255 -0
  281. package/script/src/starcraft2/community/profile.js +80 -0
  282. package/script/src/starcraft2/game_data/league.d.ts +35 -0
  283. package/script/src/starcraft2/game_data/league.js +23 -0
  284. package/script/src/starcraft2/index.d.ts +5 -0
  285. package/script/src/starcraft2/index.js +23 -0
  286. package/script/src/starcraft2/types.d.ts +5 -0
  287. package/script/src/starcraft2/types.js +2 -0
  288. package/script/src/wow/game_data/achievement.d.ts +87 -0
  289. package/script/src/wow/game_data/achievement.js +75 -0
  290. package/script/src/wow/game_data/auction_house.d.ts +65 -0
  291. package/script/src/wow/game_data/auction_house.js +37 -0
  292. package/script/src/wow/game_data/azerite_essence.d.ts +50 -0
  293. package/script/src/wow/game_data/azerite_essence.js +54 -0
  294. package/script/src/wow/game_data/connected_realm.d.ts +62 -0
  295. package/script/src/wow/game_data/connected_realm.js +40 -0
  296. package/script/src/wow/game_data/covenant.d.ts +115 -0
  297. package/script/src/wow/game_data/covenant.js +97 -0
  298. package/script/src/wow/game_data/creature.d.ts +98 -0
  299. package/script/src/wow/game_data/creature.js +109 -0
  300. package/script/src/wow/game_data/guild_crest.d.ts +56 -0
  301. package/script/src/wow/game_data/guild_crest.js +43 -0
  302. package/script/src/wow/game_data/heirloom.d.ts +82 -0
  303. package/script/src/wow/game_data/heirloom.js +29 -0
  304. package/script/src/wow/game_data/housing.d.ts +111 -0
  305. package/script/src/wow/game_data/housing.js +138 -0
  306. package/script/src/wow/game_data/item.d.ts +183 -0
  307. package/script/src/wow/game_data/item.js +110 -0
  308. package/script/src/wow/game_data/item_appearance.d.ts +102 -0
  309. package/script/src/wow/game_data/item_appearance.js +81 -0
  310. package/script/src/wow/game_data/journal.d.ts +124 -0
  311. package/script/src/wow/game_data/journal.js +108 -0
  312. package/script/src/wow/game_data/keystone_affix.d.ts +39 -0
  313. package/script/src/wow/game_data/keystone_affix.js +43 -0
  314. package/script/src/wow/game_data/media_search.d.ts +9 -0
  315. package/script/src/wow/game_data/media_search.js +13 -0
  316. package/script/src/wow/game_data/modified_crafting.d.ts +65 -0
  317. package/script/src/wow/game_data/modified_crafting.js +69 -0
  318. package/script/src/wow/game_data/mount.d.ts +38 -0
  319. package/script/src/wow/game_data/mount.js +40 -0
  320. package/script/src/wow/game_data/mythic_keystone_dungeon.d.ts +92 -0
  321. package/script/src/wow/game_data/mythic_keystone_dungeon.js +96 -0
  322. package/script/src/wow/game_data/mythic_keystone_leaderboard.d.ts +70 -0
  323. package/script/src/wow/game_data/mythic_keystone_leaderboard.js +32 -0
  324. package/script/src/wow/game_data/mythic_raid_leaderboard.d.ts +36 -0
  325. package/script/src/wow/game_data/mythic_raid_leaderboard.js +17 -0
  326. package/script/src/wow/game_data/neighborhood.d.ts +36 -0
  327. package/script/src/wow/game_data/neighborhood.js +43 -0
  328. package/script/src/wow/game_data/pet.d.ts +93 -0
  329. package/script/src/wow/game_data/pet.js +84 -0
  330. package/script/src/wow/game_data/playable_class.d.ts +58 -0
  331. package/script/src/wow/game_data/playable_class.js +57 -0
  332. package/script/src/wow/game_data/playable_race.d.ts +31 -0
  333. package/script/src/wow/game_data/playable_race.js +29 -0
  334. package/script/src/wow/game_data/playable_specialization.d.ts +63 -0
  335. package/script/src/wow/game_data/playable_specialization.js +43 -0
  336. package/script/src/wow/game_data/power_type.d.ts +22 -0
  337. package/script/src/wow/game_data/power_type.js +29 -0
  338. package/script/src/wow/game_data/profession.d.ts +88 -0
  339. package/script/src/wow/game_data/profession.js +86 -0
  340. package/script/src/wow/game_data/pvp_season.d.ts +108 -0
  341. package/script/src/wow/game_data/pvp_season.js +73 -0
  342. package/script/src/wow/game_data/pvp_tier.d.ts +41 -0
  343. package/script/src/wow/game_data/pvp_tier.js +43 -0
  344. package/script/src/wow/game_data/quest.d.ts +116 -0
  345. package/script/src/wow/game_data/quest.js +110 -0
  346. package/script/src/wow/game_data/realm.d.ts +43 -0
  347. package/script/src/wow/game_data/realm.js +40 -0
  348. package/script/src/wow/game_data/region.d.ts +26 -0
  349. package/script/src/wow/game_data/region.js +29 -0
  350. package/script/src/wow/game_data/reputations.d.ts +57 -0
  351. package/script/src/wow/game_data/reputations.js +56 -0
  352. package/script/src/wow/game_data/spell.d.ts +34 -0
  353. package/script/src/wow/game_data/spell.js +41 -0
  354. package/script/src/wow/game_data/talent.d.ts +143 -0
  355. package/script/src/wow/game_data/talent.js +98 -0
  356. package/script/src/wow/game_data/tech_talent.d.ts +72 -0
  357. package/script/src/wow/game_data/tech_talent.js +70 -0
  358. package/script/src/wow/game_data/title.d.ts +33 -0
  359. package/script/src/wow/game_data/title.js +29 -0
  360. package/script/src/wow/game_data/token.d.ts +17 -0
  361. package/script/src/wow/game_data/token.js +21 -0
  362. package/script/src/wow/game_data/toy.d.ts +25 -0
  363. package/script/src/wow/game_data/toy.js +29 -0
  364. package/script/src/wow/index.d.ts +59 -0
  365. package/script/src/wow/index.js +272 -0
  366. package/script/src/wow/profile/account_profile.d.ts +185 -0
  367. package/script/src/wow/profile/account_profile.js +143 -0
  368. package/script/src/wow/profile/character_achievements.d.ts +88 -0
  369. package/script/src/wow/profile/character_achievements.js +32 -0
  370. package/script/src/wow/profile/character_appearance.d.ts +79 -0
  371. package/script/src/wow/profile/character_appearance.js +17 -0
  372. package/script/src/wow/profile/character_collections.d.ts +132 -0
  373. package/script/src/wow/profile/character_collections.js +107 -0
  374. package/script/src/wow/profile/character_encounters.d.ts +78 -0
  375. package/script/src/wow/profile/character_encounters.js +47 -0
  376. package/script/src/wow/profile/character_equipment.d.ts +177 -0
  377. package/script/src/wow/profile/character_equipment.js +17 -0
  378. package/script/src/wow/profile/character_house.d.ts +16 -0
  379. package/script/src/wow/profile/character_house.js +20 -0
  380. package/script/src/wow/profile/character_hunter_pets.d.ts +22 -0
  381. package/script/src/wow/profile/character_hunter_pets.js +17 -0
  382. package/script/src/wow/profile/character_media.d.ts +14 -0
  383. package/script/src/wow/profile/character_media.js +17 -0
  384. package/script/src/wow/profile/character_mythic_keystone_profile.d.ts +70 -0
  385. package/script/src/wow/profile/character_mythic_keystone_profile.js +35 -0
  386. package/script/src/wow/profile/character_professions.d.ts +29 -0
  387. package/script/src/wow/profile/character_professions.js +17 -0
  388. package/script/src/wow/profile/character_profile.d.ts +83 -0
  389. package/script/src/wow/profile/character_profile.js +43 -0
  390. package/script/src/wow/profile/character_pvp.d.ts +53 -0
  391. package/script/src/wow/profile/character_pvp.js +33 -0
  392. package/script/src/wow/profile/character_quests.d.ts +29 -0
  393. package/script/src/wow/profile/character_quests.js +32 -0
  394. package/script/src/wow/profile/character_reputations.d.ts +30 -0
  395. package/script/src/wow/profile/character_reputations.js +17 -0
  396. package/script/src/wow/profile/character_soulbinds.d.ts +31 -0
  397. package/script/src/wow/profile/character_soulbinds.js +17 -0
  398. package/script/src/wow/profile/character_specializations.d.ts +82 -0
  399. package/script/src/wow/profile/character_specializations.js +17 -0
  400. package/script/src/wow/profile/character_statistics.d.ts +104 -0
  401. package/script/src/wow/profile/character_statistics.js +17 -0
  402. package/script/src/wow/profile/character_titles.d.ts +14 -0
  403. package/script/src/wow/profile/character_titles.js +17 -0
  404. package/script/src/wow/profile/guild.d.ts +150 -0
  405. package/script/src/wow/profile/guild.js +62 -0
  406. package/script/src/wow/search.d.ts +23 -0
  407. package/script/src/wow/search.js +32 -0
  408. package/script/src/wow/types.d.ts +58 -0
  409. package/script/src/wow/types.js +2 -0
  410. package/script/src/wow_classic/auction_house.d.ts +41 -0
  411. package/script/src/wow_classic/auction_house.js +35 -0
  412. package/script/src/wow_classic/character_specializations.d.ts +45 -0
  413. package/script/src/wow_classic/character_specializations.js +21 -0
  414. package/script/src/wow_classic/era.d.ts +8 -0
  415. package/script/src/wow_classic/era.js +30 -0
  416. package/script/src/wow_classic/index.d.ts +15 -0
  417. package/script/src/wow_classic/index.js +55 -0
  418. package/script/src/wow_classic/profile_overrides.d.ts +125 -0
  419. package/script/src/wow_classic/profile_overrides.js +123 -0
  420. package/script/src/wow_classic/shared.d.ts +23 -0
  421. package/script/src/wow_classic/shared.js +81 -0
  422. package/script/src/wow_classic/types.d.ts +3 -0
  423. package/script/src/wow_classic/types.js +2 -0
@@ -0,0 +1,58 @@
1
+ export type { Achievement, AchievementCategories, AchievementCategory, AchievementMedia, Achievements, AggregatesByFaction, } from "./game_data/achievement.js";
2
+ export type { AuctionItem, AuctionListing, Auctions, Commodities, commodity } from "./game_data/auction_house.js";
3
+ export type { AzeriteEssenceDetails, AzeritEessenceMedia, AzeriteEssences, AzeritePower, } from "./game_data/azerite_essence.js";
4
+ export type { ConnectedRealm, ConnectedRealmRealm, ConnectedRealms } from "./game_data/connected_realm.js";
5
+ export type { ClassAbility, Covenant, CovenantAbilitySpellTooltip, CovenantConduit, CovenantConduitRank, CovenantConduits, CovenantConduitSpellTooltip, CovenantMedia, Covenants, CovenantSoulbind, CovenantSoulbinds, SignatureAbility, } from "./game_data/covenant.js";
6
+ export type { Creature, CreatureDisplayAssets, CreatureDisplayMedia, CreatureFamilies, CreatureFamily, CreatureFamilyAssets, CreatureFamilyMedia, CreatureType, CreatureTypes, } from "./game_data/creature.js";
7
+ export type { Border, Emblem, GuildCrestBorder, GuildCrestEmblem, GuildCrests, IdRgba, } from "./game_data/guild_crest.js";
8
+ export type { Heirloom, Heirlooms, Upgrade, UpgradeStats, ValueDisplayString } from "./game_data/heirloom.js";
9
+ export type { Decor, Decors, Fixture, FixtureHook, FixtureHooks, Fixtures, Room, Rooms } from "./game_data/housing.js";
10
+ export type { Item, ItemClass, ItemClasses, ItemMedia, ItemSet, ItemSets, ItemSubclass } from "./game_data/item.js";
11
+ export type { AppearanceSlot, ItemAppearance, ItemAppearanceSearch, ItemAppearanceSearchResult, ItemAppearanceSet, ItemAppearanceSets, ItemAppearanceSlot, ItemAppearanceSlotRef, ItemAppearanceSlots, } from "./game_data/item_appearance.js";
12
+ export type { EncounterSection, JournalEncounter, JournalEncounters, JournalExpansion, JournalExpansions, JournalInstance, JournalInstanceMedia, JournalInstances, } from "./game_data/journal.js";
13
+ export type { KeystoneAffix, KeystoneAffixes, KeystoneAffixMedia } from "./game_data/keystone_affix.js";
14
+ export type { ModifiedCraftingCategories, ModifiedCraftingCategory, ModifiedCraftingParents, ModifiedCraftingSlotType, ModifiedCraftingSlotTypes, } from "./game_data/modified_crafting.js";
15
+ export type { Mount, Mounts } from "./game_data/mount.js";
16
+ export type { MythicKeystoneDungeon, MythicKeystoneDungeons, MythicKeystoneIndex, MythicKeystonePeriod, MythicKeystonePeriods, MythicKeystoneSeason, MythicKeystoneSeasons, } from "./game_data/mythic_keystone_dungeon.js";
17
+ export type { MythicKeystoneLeaderboard, MythicKeystoneLeaderboards, MythicLeaderboardRating, } from "./game_data/mythic_keystone_leaderboard.js";
18
+ export type { MythicRaidLeaderboard } from "./game_data/mythic_raid_leaderboard.js";
19
+ export type { Neighborhood, NeighborhoodMap, NeighborhoodMaps } from "./game_data/neighborhood.js";
20
+ export type { Pet, PetAbilities, PetAbility, PetAbilityMedia, PetMedia, Pets } from "./game_data/pet.js";
21
+ export type { PlayableClass, PlayableClasses, PlayableClassMedia, PlayableClassPvpTalentSlots, } from "./game_data/playable_class.js";
22
+ export type { PlayableRace, PlayableRaces } from "./game_data/playable_race.js";
23
+ export type { PlayableSpecialization, PlayableSpecializationMedia, PlayableSpecializations, } from "./game_data/playable_specialization.js";
24
+ export type { PowerType, PowerTypes } from "./game_data/power_type.js";
25
+ export type { Profession, ProfessionMedia, ProfessionRecipie, professionRecipieMedia, Professions, ProfessionSkillTier, } from "./game_data/profession.js";
26
+ export type { PvpSeason, PvpSeasonLeaderboard, PvpSeasonLeaderboards, PvpSeasonRewards, PvpSeasons, } from "./game_data/pvp_season.js";
27
+ export type { PvpTier, PvpTierMedia, PvpTiers } from "./game_data/pvp_tier.js";
28
+ export type { Quest, QuestArea, QuestAreas, QuestCategories, QuestCategory, Quests, QuestType, QuestTypes, } from "./game_data/quest.js";
29
+ export type { Realm, RealmList, Realms } from "./game_data/realm.js";
30
+ export type { Region, Regions } from "./game_data/region.js";
31
+ export type { ReputationFaction, ReputationFactions, ReputationTier, ReputationTiers, } from "./game_data/reputations.js";
32
+ export type { Spell, SpellMedia } from "./game_data/spell.js";
33
+ export type { HeroTalentTree, NodeType, PvpTalent, PvpTalents, Rank, SpellTooltip, Talent, TalentNode, Talents, TalentTree, TalentTreeNodes, TalentTrees, Tooltip, } from "./game_data/talent.js";
34
+ export type { TechTalent, TechTalentMedia, TechTalents, TechTalentTree, TechTalentTreeRef, TechTalentTrees, } from "./game_data/tech_talent.js";
35
+ export type { Title, Titles } from "./game_data/title.js";
36
+ export type { WowToken } from "./game_data/token.js";
37
+ export type { Toy, Toys } from "./game_data/toy.js";
38
+ export type { AccountCharacter, AccountCollectionsIndex, AccountDecorCollection, AccountHeirloomsCollection, AccountMount, AccountMountsCollection, AccountPetsCollection, AccountProfileSummary, AccountToysCollection, AccountTransmogsCollection, ProtectedCharacterProfile, } from "./profile/account_profile.js";
39
+ export type { AchievementCriteria, AchievementStatistic, AchievementsubCategory, CharacterAchievementStatistics, CharacterAchievementSummary, } from "./profile/character_achievements.js";
40
+ export type { CharacterAppearanceSummary } from "./profile/character_appearance.js";
41
+ export type { CharacterCollectionDecor, CharacterCollectionHeirlooms, CharacterCollectionMounts, CharacterCollectionPets, CharacterCollectionToys, CharacterCollectionTransmogs, CharacterCollectionTypes, CollectedHeirloom, CollectedMount, CollectedPet, CollectedToy, DecorItem, TransmogrifiedSlot, } from "./profile/character_collections.js";
42
+ export type { CharacterEncounterDungeons, CharacterEncounterRaids, CharacterEncounters, } from "./profile/character_encounters.js";
43
+ export type { characterEquipments, EquippedItemWeapon, Rgba } from "./profile/character_equipment.js";
44
+ export type { CharacterHouse } from "./profile/character_house.js";
45
+ export type { CharacterHunterPets } from "./profile/character_hunter_pets.js";
46
+ export type { CharacterMedia } from "./profile/character_media.js";
47
+ export type { CharacterMythicKeystoneProfile, CharacterMythicKeystoneSeasonDetails, MythicKeystoneBestRun, MythicKeystoneMemberCharacter, MythicRating, } from "./profile/character_mythic_keystone_profile.js";
48
+ export type { CharacterProfession, CharacterProfessions, Tier } from "./profile/character_professions.js";
49
+ export type { CharacterProfile, CharacterProfileStatus, CharacterRealm } from "./profile/character_profile.js";
50
+ export type { CharacterPvpBracketStatistics, CharacterPvpSummary, MatchStatistic } from "./profile/character_pvp.js";
51
+ export type { CharacterCompletedQuests, CharacterQuests } from "./profile/character_quests.js";
52
+ export type { CharacterReputations } from "./profile/character_reputations.js";
53
+ export type { CharacterSoulbinds } from "./profile/character_soulbinds.js";
54
+ export type { CharacterSpecializations, CharacterSpecializationTalent, ClassicSpecializationTalent, Detail, } from "./profile/character_specializations.js";
55
+ export type { CharacterStatistics, StatRating, StatRatingBonus } from "./profile/character_statistics.js";
56
+ export type { CharacterTitles } from "./profile/character_titles.js";
57
+ export type { CrestAsset, Critiera, Guild, GuildAchievements, GuildActivity, GuildCrestRgba, GuildReference, GuildRoster, GuildRosterMemberCharacter, } from "./profile/guild.js";
58
+ export type { Search, SearchParameters } from "./search.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * This module provides the Classic Era auction house endpoints. Classic Era realms have separate Alliance, Horde and
3
+ * neutral auction houses, so auctions are listed per auction house instead of per connected realm.
4
+ */
5
+ import type { ApiContext } from "../shared/index.js";
6
+ import type { Href, LinkSelfHref, NamedRef } from "../shared/index.js";
7
+ export interface AuctionHouses extends LinkSelfHref {
8
+ auctions: NamedRef[];
9
+ }
10
+ export interface AuctionHouseAuctions extends LinkSelfHref {
11
+ connected_realm: Href;
12
+ auctions: {
13
+ id: number;
14
+ item: {
15
+ id: number;
16
+ rand?: number;
17
+ seed?: number;
18
+ };
19
+ bid?: number;
20
+ buyout?: number;
21
+ quantity: number;
22
+ time_left: string;
23
+ }[];
24
+ id: number;
25
+ name: string;
26
+ }
27
+ /**
28
+ * Returns an index of the auction houses (Alliance, Horde, neutral) of a Classic Era connected realm.
29
+ *
30
+ * @param connectedRealmId - The ID of the connected realm.
31
+ * @returns A promise that resolves to an object listing the auction houses.
32
+ */
33
+ export declare function auctionHouses(ctx: ApiContext, connectedRealmId: number): Promise<AuctionHouses>;
34
+ /**
35
+ * Returns all active auctions of one auction house of a Classic Era connected realm.
36
+ *
37
+ * @param connectedRealmId - The ID of the connected realm.
38
+ * @param auctionHouseId - The ID of the auction house, from auctionHouses().
39
+ * @returns A promise that resolves to an object listing the auctions.
40
+ */
41
+ export declare function auctionHouse(ctx: ApiContext, connectedRealmId: number, auctionHouseId: number): Promise<AuctionHouseAuctions>;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This module provides the Classic Era auction house endpoints. Classic Era realms have separate Alliance, Horde and
4
+ * neutral auction houses, so auctions are listed per auction house instead of per connected realm.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.auctionHouses = auctionHouses;
8
+ exports.auctionHouse = auctionHouse;
9
+ /**
10
+ * Returns an index of the auction houses (Alliance, Horde, neutral) of a Classic Era connected realm.
11
+ *
12
+ * @param connectedRealmId - The ID of the connected realm.
13
+ * @returns A promise that resolves to an object listing the auction houses.
14
+ */
15
+ async function auctionHouses(ctx, connectedRealmId) {
16
+ return await ctx.request({
17
+ method: "GET",
18
+ url: `/data/wow/connected-realm/${connectedRealmId}/auctions/index`,
19
+ namespace: "dynamic",
20
+ });
21
+ }
22
+ /**
23
+ * Returns all active auctions of one auction house of a Classic Era connected realm.
24
+ *
25
+ * @param connectedRealmId - The ID of the connected realm.
26
+ * @param auctionHouseId - The ID of the auction house, from auctionHouses().
27
+ * @returns A promise that resolves to an object listing the auctions.
28
+ */
29
+ async function auctionHouse(ctx, connectedRealmId, auctionHouseId) {
30
+ return await ctx.request({
31
+ method: "GET",
32
+ url: `/data/wow/connected-realm/${connectedRealmId}/auctions/${auctionHouseId}`,
33
+ namespace: "dynamic",
34
+ });
35
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * This module provides the Classic Era character specializations endpoint. Era characters have talent trees with
3
+ * points spent per tree (and dual-spec groups) instead of Retail's loadouts, so the response has its own shape.
4
+ */
5
+ import type { ApiContext } from "../shared/index.js";
6
+ import type { Character, Href } from "../shared/index.js";
7
+ export interface ClassicEraTalent {
8
+ talent: {
9
+ id: number;
10
+ };
11
+ spell_tooltip: {
12
+ spell: {
13
+ name: string;
14
+ id: number;
15
+ };
16
+ description: string;
17
+ cast_time: string;
18
+ power_cost?: string | null;
19
+ range?: string;
20
+ cooldown?: string;
21
+ };
22
+ talent_rank: number;
23
+ }
24
+ export interface ClassicEraCharacterSpecializations {
25
+ _links: {
26
+ self: Href;
27
+ };
28
+ character: Character;
29
+ specialization_groups: {
30
+ is_active: boolean;
31
+ specializations: {
32
+ specialization_name: string;
33
+ spent_points: number;
34
+ talents: ClassicEraTalent[];
35
+ }[];
36
+ }[];
37
+ }
38
+ /**
39
+ * Returns a summary of a character's talent trees (Classic Era).
40
+ *
41
+ * @param realmSlug - The slug of the realm.
42
+ * @param characterName - The lowercase name of the character.
43
+ * @returns A promise that resolves to an object representing the character's talent groups.
44
+ */
45
+ export declare function characterSpecializations(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicEraCharacterSpecializations>;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * This module provides the Classic Era character specializations endpoint. Era characters have talent trees with
4
+ * points spent per tree (and dual-spec groups) instead of Retail's loadouts, so the response has its own shape.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.characterSpecializations = characterSpecializations;
8
+ /**
9
+ * Returns a summary of a character's talent trees (Classic Era).
10
+ *
11
+ * @param realmSlug - The slug of the realm.
12
+ * @param characterName - The lowercase name of the character.
13
+ * @returns A promise that resolves to an object representing the character's talent groups.
14
+ */
15
+ async function characterSpecializations(ctx, realmSlug, characterName) {
16
+ return await ctx.request({
17
+ method: "GET",
18
+ url: `/profile/wow/character/${realmSlug}/${characterName}/specializations`,
19
+ namespace: "profile",
20
+ });
21
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * World of Warcraft Classic Era endpoints (Era, Season of Discovery, Hardcore, Anniversary), namespace variant
3
+ * "classic1x". The client binds them to a "classic1x" context.
4
+ * Verified against the live API (EU) on 2026-09-30.
5
+ */
6
+ export * from "./shared.js";
7
+ export { auctionHouse, auctionHouses } from "./auction_house.js";
8
+ export { characterSpecializations } from "./character_specializations.js";
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /**
3
+ * World of Warcraft Classic Era endpoints (Era, Season of Discovery, Hardcore, Anniversary), namespace variant
4
+ * "classic1x". The client binds them to a "classic1x" context.
5
+ * Verified against the live API (EU) on 2026-09-30.
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.characterSpecializations = exports.auctionHouses = exports.auctionHouse = void 0;
23
+ __exportStar(require("./shared.js"), exports);
24
+ // Game Data APIs
25
+ var auction_house_js_1 = require("./auction_house.js");
26
+ Object.defineProperty(exports, "auctionHouse", { enumerable: true, get: function () { return auction_house_js_1.auctionHouse; } });
27
+ Object.defineProperty(exports, "auctionHouses", { enumerable: true, get: function () { return auction_house_js_1.auctionHouses; } });
28
+ // Profile APIs
29
+ var character_specializations_js_1 = require("./character_specializations.js");
30
+ Object.defineProperty(exports, "characterSpecializations", { enumerable: true, get: function () { return character_specializations_js_1.characterSpecializations; } });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * World of Warcraft Classic (progression) endpoints, namespace variant "classic".
3
+ * These are the Retail endpoint functions that the Classic API supports; the client binds them to a "classic" context.
4
+ * Verified against the live API (EU) on 2026-09-30.
5
+ */
6
+ export * from "./shared.js";
7
+ export { auctions } from "../wow/game_data/auction_house.js";
8
+ export { mythicKeystonePeriod, mythicKeystonePeriods, mythicKeystoneSeason, mythicKeystoneSeasons, } from "../wow/game_data/mythic_keystone_dungeon.js";
9
+ export { mythicKeystoneLeaderboard, mythicKeystoneLeaderboards } from "../wow/game_data/mythic_keystone_leaderboard.js";
10
+ export { playableSpecialization, playableSpecializationMedia, playableSpecializations, } from "../wow/game_data/playable_specialization.js";
11
+ export { pvpSeason, pvpSeasonLeaderboard, pvpSeasonLeaderboards, pvpSeasonRewards, pvpSeasons, } from "../wow/game_data/pvp_season.js";
12
+ export { token } from "../wow/game_data/token.js";
13
+ export { characterAchievementStatistics } from "../wow/profile/character_achievements.js";
14
+ export { characterPvpBracketStatistics } from "../wow/profile/character_pvp.js";
15
+ export { characterAchievementSummary, characterSpecializations, commodities } from "./profile_overrides.js";
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * World of Warcraft Classic (progression) endpoints, namespace variant "classic".
4
+ * These are the Retail endpoint functions that the Classic API supports; the client binds them to a "classic" context.
5
+ * Verified against the live API (EU) on 2026-09-30.
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.commodities = exports.characterSpecializations = exports.characterAchievementSummary = exports.characterPvpBracketStatistics = exports.characterAchievementStatistics = exports.token = exports.pvpSeasons = exports.pvpSeasonRewards = exports.pvpSeasonLeaderboards = exports.pvpSeasonLeaderboard = exports.pvpSeason = exports.playableSpecializations = exports.playableSpecializationMedia = exports.playableSpecialization = exports.mythicKeystoneLeaderboards = exports.mythicKeystoneLeaderboard = exports.mythicKeystoneSeasons = exports.mythicKeystoneSeason = exports.mythicKeystonePeriods = exports.mythicKeystonePeriod = exports.auctions = void 0;
23
+ __exportStar(require("./shared.js"), exports);
24
+ // Game Data APIs
25
+ var auction_house_js_1 = require("../wow/game_data/auction_house.js");
26
+ Object.defineProperty(exports, "auctions", { enumerable: true, get: function () { return auction_house_js_1.auctions; } });
27
+ var mythic_keystone_dungeon_js_1 = require("../wow/game_data/mythic_keystone_dungeon.js");
28
+ Object.defineProperty(exports, "mythicKeystonePeriod", { enumerable: true, get: function () { return mythic_keystone_dungeon_js_1.mythicKeystonePeriod; } });
29
+ Object.defineProperty(exports, "mythicKeystonePeriods", { enumerable: true, get: function () { return mythic_keystone_dungeon_js_1.mythicKeystonePeriods; } });
30
+ Object.defineProperty(exports, "mythicKeystoneSeason", { enumerable: true, get: function () { return mythic_keystone_dungeon_js_1.mythicKeystoneSeason; } });
31
+ Object.defineProperty(exports, "mythicKeystoneSeasons", { enumerable: true, get: function () { return mythic_keystone_dungeon_js_1.mythicKeystoneSeasons; } });
32
+ var mythic_keystone_leaderboard_js_1 = require("../wow/game_data/mythic_keystone_leaderboard.js");
33
+ Object.defineProperty(exports, "mythicKeystoneLeaderboard", { enumerable: true, get: function () { return mythic_keystone_leaderboard_js_1.mythicKeystoneLeaderboard; } });
34
+ Object.defineProperty(exports, "mythicKeystoneLeaderboards", { enumerable: true, get: function () { return mythic_keystone_leaderboard_js_1.mythicKeystoneLeaderboards; } });
35
+ var playable_specialization_js_1 = require("../wow/game_data/playable_specialization.js");
36
+ Object.defineProperty(exports, "playableSpecialization", { enumerable: true, get: function () { return playable_specialization_js_1.playableSpecialization; } });
37
+ Object.defineProperty(exports, "playableSpecializationMedia", { enumerable: true, get: function () { return playable_specialization_js_1.playableSpecializationMedia; } });
38
+ Object.defineProperty(exports, "playableSpecializations", { enumerable: true, get: function () { return playable_specialization_js_1.playableSpecializations; } });
39
+ var pvp_season_js_1 = require("../wow/game_data/pvp_season.js");
40
+ Object.defineProperty(exports, "pvpSeason", { enumerable: true, get: function () { return pvp_season_js_1.pvpSeason; } });
41
+ Object.defineProperty(exports, "pvpSeasonLeaderboard", { enumerable: true, get: function () { return pvp_season_js_1.pvpSeasonLeaderboard; } });
42
+ Object.defineProperty(exports, "pvpSeasonLeaderboards", { enumerable: true, get: function () { return pvp_season_js_1.pvpSeasonLeaderboards; } });
43
+ Object.defineProperty(exports, "pvpSeasonRewards", { enumerable: true, get: function () { return pvp_season_js_1.pvpSeasonRewards; } });
44
+ Object.defineProperty(exports, "pvpSeasons", { enumerable: true, get: function () { return pvp_season_js_1.pvpSeasons; } });
45
+ var token_js_1 = require("../wow/game_data/token.js");
46
+ Object.defineProperty(exports, "token", { enumerable: true, get: function () { return token_js_1.token; } });
47
+ // Profile APIs
48
+ var character_achievements_js_1 = require("../wow/profile/character_achievements.js");
49
+ Object.defineProperty(exports, "characterAchievementStatistics", { enumerable: true, get: function () { return character_achievements_js_1.characterAchievementStatistics; } });
50
+ var character_pvp_js_1 = require("../wow/profile/character_pvp.js");
51
+ Object.defineProperty(exports, "characterPvpBracketStatistics", { enumerable: true, get: function () { return character_pvp_js_1.characterPvpBracketStatistics; } });
52
+ var profile_overrides_js_1 = require("./profile_overrides.js");
53
+ Object.defineProperty(exports, "characterAchievementSummary", { enumerable: true, get: function () { return profile_overrides_js_1.characterAchievementSummary; } });
54
+ Object.defineProperty(exports, "characterSpecializations", { enumerable: true, get: function () { return profile_overrides_js_1.characterSpecializations; } });
55
+ Object.defineProperty(exports, "commodities", { enumerable: true, get: function () { return profile_overrides_js_1.commodities; } });
@@ -0,0 +1,125 @@
1
+ /**
2
+ * Classic versions of Retail endpoints whose Classic responses lack fields that Retail always returns.
3
+ * Each one makes the same request as the Retail endpoint, but returns a type where those fields are optional,
4
+ * so the Retail types can keep them required.
5
+ * Verified against the live API (EU) on 2026-10-01.
6
+ */
7
+ import type { ApiContext } from "../shared/index.js";
8
+ import type { AchievementCategories } from "../wow/game_data/achievement.js";
9
+ import type { Commodities } from "../wow/game_data/auction_house.js";
10
+ import type { ConnectedRealm } from "../wow/game_data/connected_realm.js";
11
+ import type { CharacterAchievementSummary } from "../wow/profile/character_achievements.js";
12
+ import type { CharacterAppearanceSummary } from "../wow/profile/character_appearance.js";
13
+ import type { CharacterProfile } from "../wow/profile/character_profile.js";
14
+ import type { CharacterPvpSummary } from "../wow/profile/character_pvp.js";
15
+ import type { CharacterSpecializations } from "../wow/profile/character_specializations.js";
16
+ import type { CharacterStatistics } from "../wow/profile/character_statistics.js";
17
+ import type { GuildAchievements } from "../wow/profile/guild.js";
18
+ /** Makes the keys K of T optional. */
19
+ type WithOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
20
+ /** Character profile as returned for Classic: Retail-only links and fields are optional. */
21
+ export interface ClassicCharacterProfile extends WithOptional<CharacterProfile, "active_spec" | "achievement_points" | "achievements" | "encounters" | "mythic_keystone_profile" | "collections" | "quests" | "achievements_statistics" | "professions" | "name_search" | "is_remix"> {
22
+ }
23
+ /** Character appearance as returned for Classic (no active specialization on Era). */
24
+ export interface ClassicCharacterAppearanceSummary extends WithOptional<CharacterAppearanceSummary, "active_spec"> {
25
+ }
26
+ /** Character PvP summary as returned for Classic (no honor level). */
27
+ export interface ClassicCharacterPvpSummary extends WithOptional<CharacterPvpSummary, "honor_level"> {
28
+ }
29
+ /** Character achievement summary as returned for Classic (no statistics link). */
30
+ export interface ClassicCharacterAchievementSummary extends WithOptional<CharacterAchievementSummary, "statistics"> {
31
+ }
32
+ /** Character statistics as returned for Classic: Retail-only secondary stats are optional. */
33
+ export interface ClassicCharacterStatistics extends WithOptional<CharacterStatistics, "speed" | "melee_haste" | "mastery" | "bonus_armor" | "lifesteal" | "versatility" | "versatility_damage_done_bonus" | "versatility_healing_done_bonus" | "versatility_damage_taken_bonus" | "avoidance" | "ranged_haste" | "spell_haste"> {
34
+ }
35
+ /** Character specializations as returned for Classic progression (talent groups instead of loadouts). */
36
+ export interface ClassicCharacterSpecializations extends WithOptional<CharacterSpecializations, "specializations"> {
37
+ }
38
+ /** Guild achievements as returned for Classic (totals and achievements may be missing). */
39
+ export interface ClassicGuildAchievements extends WithOptional<GuildAchievements, "total_quantity" | "total_points" | "achievements"> {
40
+ }
41
+ /** Connected realm as returned for Classic (no mythic leaderboards link). */
42
+ export interface ClassicConnectedRealm extends WithOptional<ConnectedRealm, "mythic_leaderboards"> {
43
+ }
44
+ /** Achievement categories as returned for Classic (no guild categories on Era). */
45
+ export interface ClassicAchievementCategories extends WithOptional<AchievementCategories, "guild_categories"> {
46
+ }
47
+ /** Commodities as returned for Classic (the auctions list can be missing). */
48
+ export interface ClassicCommodities extends WithOptional<Commodities, "auctions"> {
49
+ }
50
+ /**
51
+ * Returns a profile summary for a character.
52
+ *
53
+ * @param realmSlug - The slug of the realm.
54
+ * @param characterName - The lowercase name of the character.
55
+ * @returns A promise that resolves to an object representing a profile summary for a character.
56
+ */
57
+ export declare function characterProfile(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicCharacterProfile>;
58
+ /**
59
+ * Returns a summary of a character's appearance settings.
60
+ *
61
+ * @param realmSlug - The slug of the realm.
62
+ * @param characterName - The lowercase name of the character.
63
+ * @returns A promise that resolves to an object representing a summary of a character's appearance settings.
64
+ */
65
+ export declare function characterAppearanceSummary(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicCharacterAppearanceSummary>;
66
+ /**
67
+ * Returns a PvP summary for a character.
68
+ *
69
+ * @param realmSlug - The slug of the realm.
70
+ * @param characterName - The lowercase name of the character.
71
+ * @returns A promise that resolves to an object representing a PvP summary for a character.
72
+ */
73
+ export declare function characterPvpSummary(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicCharacterPvpSummary>;
74
+ /**
75
+ * Returns a summary of the achievements a character has completed.
76
+ *
77
+ * @param realmSlug - The slug of the realm.
78
+ * @param characterName - The lowercase name of the character.
79
+ * @returns A promise that resolves to an object representing a summary of the achievements a character has completed.
80
+ */
81
+ export declare function characterAchievementSummary(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicCharacterAchievementSummary>;
82
+ /**
83
+ * Returns a statistics summary for a character.
84
+ *
85
+ * @param realmSlug - The slug of the realm.
86
+ * @param characterName - The lowercase name of the character.
87
+ * @returns A promise that resolves to an object representing a statistics summary for a character.
88
+ */
89
+ export declare function characterStatistics(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicCharacterStatistics>;
90
+ /**
91
+ * Returns a summary of a character's specializations.
92
+ *
93
+ * @param realmSlug - The slug of the realm.
94
+ * @param characterName - The lowercase name of the character.
95
+ * @returns A promise that resolves to an object representing a summary of a character's specializations.
96
+ */
97
+ export declare function characterSpecializations(ctx: ApiContext, realmSlug: string, characterName: string): Promise<ClassicCharacterSpecializations>;
98
+ /**
99
+ * Returns a single guild's achievements by name.
100
+ *
101
+ * @param realmSlug - The slug of the realm.
102
+ * @param nameSlug - The slug of the guild.
103
+ * @returns A promise that resolves to an object representing a guild's achievements.
104
+ */
105
+ export declare function guildAchievements(ctx: ApiContext, realmSlug: string, nameSlug: string): Promise<ClassicGuildAchievements>;
106
+ /**
107
+ * Returns a connected realm by ID.
108
+ *
109
+ * @param connectedRealmId - The ID of the connected realm.
110
+ * @returns A promise that resolves to an object representing details about a connected realm.
111
+ */
112
+ export declare function connectedRealm(ctx: ApiContext, connectedRealmId: number): Promise<ClassicConnectedRealm>;
113
+ /**
114
+ * Returns an index of achievement categories.
115
+ *
116
+ * @returns A promise that resolves to an object representing a list of the index of achievement categories.
117
+ */
118
+ export declare function achievementCategories(ctx: ApiContext): Promise<ClassicAchievementCategories>;
119
+ /**
120
+ * Returns all active auctions for commodity items for the entire game region.
121
+ *
122
+ * @returns A promise that resolves to an object representing the region's commodity auctions.
123
+ */
124
+ export declare function commodities(ctx: ApiContext): Promise<ClassicCommodities>;
125
+ export {};
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ /**
3
+ * Classic versions of Retail endpoints whose Classic responses lack fields that Retail always returns.
4
+ * Each one makes the same request as the Retail endpoint, but returns a type where those fields are optional,
5
+ * so the Retail types can keep them required.
6
+ * Verified against the live API (EU) on 2026-10-01.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.characterProfile = characterProfile;
10
+ exports.characterAppearanceSummary = characterAppearanceSummary;
11
+ exports.characterPvpSummary = characterPvpSummary;
12
+ exports.characterAchievementSummary = characterAchievementSummary;
13
+ exports.characterStatistics = characterStatistics;
14
+ exports.characterSpecializations = characterSpecializations;
15
+ exports.guildAchievements = guildAchievements;
16
+ exports.connectedRealm = connectedRealm;
17
+ exports.achievementCategories = achievementCategories;
18
+ exports.commodities = commodities;
19
+ const achievement_js_1 = require("../wow/game_data/achievement.js");
20
+ const auction_house_js_1 = require("../wow/game_data/auction_house.js");
21
+ const connected_realm_js_1 = require("../wow/game_data/connected_realm.js");
22
+ const character_achievements_js_1 = require("../wow/profile/character_achievements.js");
23
+ const character_appearance_js_1 = require("../wow/profile/character_appearance.js");
24
+ const character_profile_js_1 = require("../wow/profile/character_profile.js");
25
+ const character_pvp_js_1 = require("../wow/profile/character_pvp.js");
26
+ const character_specializations_js_1 = require("../wow/profile/character_specializations.js");
27
+ const character_statistics_js_1 = require("../wow/profile/character_statistics.js");
28
+ const guild_js_1 = require("../wow/profile/guild.js");
29
+ /**
30
+ * Returns a profile summary for a character.
31
+ *
32
+ * @param realmSlug - The slug of the realm.
33
+ * @param characterName - The lowercase name of the character.
34
+ * @returns A promise that resolves to an object representing a profile summary for a character.
35
+ */
36
+ async function characterProfile(ctx, realmSlug, characterName) {
37
+ return await (0, character_profile_js_1.characterProfile)(ctx, realmSlug, characterName);
38
+ }
39
+ /**
40
+ * Returns a summary of a character's appearance settings.
41
+ *
42
+ * @param realmSlug - The slug of the realm.
43
+ * @param characterName - The lowercase name of the character.
44
+ * @returns A promise that resolves to an object representing a summary of a character's appearance settings.
45
+ */
46
+ async function characterAppearanceSummary(ctx, realmSlug, characterName) {
47
+ return await (0, character_appearance_js_1.characterAppearanceSummary)(ctx, realmSlug, characterName);
48
+ }
49
+ /**
50
+ * Returns a PvP summary for a character.
51
+ *
52
+ * @param realmSlug - The slug of the realm.
53
+ * @param characterName - The lowercase name of the character.
54
+ * @returns A promise that resolves to an object representing a PvP summary for a character.
55
+ */
56
+ async function characterPvpSummary(ctx, realmSlug, characterName) {
57
+ return await (0, character_pvp_js_1.characterPvpSummary)(ctx, realmSlug, characterName);
58
+ }
59
+ /**
60
+ * Returns a summary of the achievements a character has completed.
61
+ *
62
+ * @param realmSlug - The slug of the realm.
63
+ * @param characterName - The lowercase name of the character.
64
+ * @returns A promise that resolves to an object representing a summary of the achievements a character has completed.
65
+ */
66
+ async function characterAchievementSummary(ctx, realmSlug, characterName) {
67
+ return await (0, character_achievements_js_1.characterAchievementSummary)(ctx, realmSlug, characterName);
68
+ }
69
+ /**
70
+ * Returns a statistics summary for a character.
71
+ *
72
+ * @param realmSlug - The slug of the realm.
73
+ * @param characterName - The lowercase name of the character.
74
+ * @returns A promise that resolves to an object representing a statistics summary for a character.
75
+ */
76
+ async function characterStatistics(ctx, realmSlug, characterName) {
77
+ return await (0, character_statistics_js_1.characterStatistics)(ctx, realmSlug, characterName);
78
+ }
79
+ /**
80
+ * Returns a summary of a character's specializations.
81
+ *
82
+ * @param realmSlug - The slug of the realm.
83
+ * @param characterName - The lowercase name of the character.
84
+ * @returns A promise that resolves to an object representing a summary of a character's specializations.
85
+ */
86
+ async function characterSpecializations(ctx, realmSlug, characterName) {
87
+ return await (0, character_specializations_js_1.characterSpecializations)(ctx, realmSlug, characterName);
88
+ }
89
+ /**
90
+ * Returns a single guild's achievements by name.
91
+ *
92
+ * @param realmSlug - The slug of the realm.
93
+ * @param nameSlug - The slug of the guild.
94
+ * @returns A promise that resolves to an object representing a guild's achievements.
95
+ */
96
+ async function guildAchievements(ctx, realmSlug, nameSlug) {
97
+ return await (0, guild_js_1.guildAchievements)(ctx, realmSlug, nameSlug);
98
+ }
99
+ /**
100
+ * Returns a connected realm by ID.
101
+ *
102
+ * @param connectedRealmId - The ID of the connected realm.
103
+ * @returns A promise that resolves to an object representing details about a connected realm.
104
+ */
105
+ async function connectedRealm(ctx, connectedRealmId) {
106
+ return await (0, connected_realm_js_1.connectedRealm)(ctx, connectedRealmId);
107
+ }
108
+ /**
109
+ * Returns an index of achievement categories.
110
+ *
111
+ * @returns A promise that resolves to an object representing a list of the index of achievement categories.
112
+ */
113
+ async function achievementCategories(ctx) {
114
+ return await (0, achievement_js_1.achievementCategories)(ctx);
115
+ }
116
+ /**
117
+ * Returns all active auctions for commodity items for the entire game region.
118
+ *
119
+ * @returns A promise that resolves to an object representing the region's commodity auctions.
120
+ */
121
+ async function commodities(ctx) {
122
+ return await (0, auction_house_js_1.commodities)(ctx);
123
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Endpoints that work for both Classic flavors (progression and Era). They are the Retail endpoint functions;
3
+ * the client binds them to a context whose namespaces carry the "classic" or "classic1x" variant.
4
+ * Verified against the live API (EU) on 2026-09-30.
5
+ */
6
+ export { achievement, achievementCategory, achievementMedia, achievements } from "../wow/game_data/achievement.js";
7
+ export { connectedRealms, searchConnectedRealm } from "../wow/game_data/connected_realm.js";
8
+ export { creature, creatureDisplayMedia, creatureFamilies, creatureFamily, creatureFamilyMedia, creatureType, creatureTypes, searchCreature, } from "../wow/game_data/creature.js";
9
+ export { guildCrestBorder, guildCrestEmblem, guildCrests } from "../wow/game_data/guild_crest.js";
10
+ export { item, itemClass, itemClasses, itemMedia, itemSubclass, searchItem } from "../wow/game_data/item.js";
11
+ export { searchMedia } from "../wow/game_data/media_search.js";
12
+ export { playableClass, playableClasses, playableClassMedia } from "../wow/game_data/playable_class.js";
13
+ export { playableRace, playableRaces } from "../wow/game_data/playable_race.js";
14
+ export { powerType, powerTypes } from "../wow/game_data/power_type.js";
15
+ export { realm, realms, searchRealm } from "../wow/game_data/realm.js";
16
+ export { region, regions } from "../wow/game_data/region.js";
17
+ export { characterEquipments } from "../wow/profile/character_equipment.js";
18
+ export { characterHunterPets } from "../wow/profile/character_hunter_pets.js";
19
+ export { characterMedia } from "../wow/profile/character_media.js";
20
+ export { characterProfileStatus } from "../wow/profile/character_profile.js";
21
+ export { characterReputations } from "../wow/profile/character_reputations.js";
22
+ export { guild, guildActivity, guildRoster } from "../wow/profile/guild.js";
23
+ export { achievementCategories, characterAppearanceSummary, characterProfile, characterPvpSummary, characterStatistics, connectedRealm, guildAchievements, } from "./profile_overrides.js";