@blizzard-api/wow 2.0.3 → 2.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/dist/account-profile/account-profile.d.ts +56 -0
  2. package/dist/account-profile/account-profile.js +3 -0
  3. package/dist/account-profile/account-profile.js.map +1 -0
  4. package/dist/account-profile/types.d.ts +138 -0
  5. package/dist/account-profile/types.js +3 -0
  6. package/dist/account-profile/types.js.map +1 -0
  7. package/dist/achievements/achievements.d.ts +34 -0
  8. package/dist/achievements/achievements.js +4 -0
  9. package/dist/achievements/achievements.js.map +1 -0
  10. package/dist/achievements/types.d.ts +70 -0
  11. package/dist/achievements/types.js +3 -0
  12. package/dist/achievements/types.js.map +1 -0
  13. package/dist/auction-house/auction-house.d.ts +17 -0
  14. package/dist/auction-house/auction-house.js +4 -0
  15. package/dist/auction-house/auction-house.js.map +1 -0
  16. package/dist/auction-house/types.d.ts +50 -0
  17. package/dist/auction-house/types.js +3 -0
  18. package/dist/auction-house/types.js.map +1 -0
  19. package/dist/azerite-essence/azerite-essence.d.ts +29 -0
  20. package/dist/azerite-essence/azerite-essence.js +4 -0
  21. package/dist/azerite-essence/azerite-essence.js.map +1 -0
  22. package/dist/azerite-essence/types.d.ts +57 -0
  23. package/dist/azerite-essence/types.js +3 -0
  24. package/dist/azerite-essence/types.js.map +1 -0
  25. package/dist/base.d.ts +115 -0
  26. package/dist/base.js +3 -0
  27. package/dist/base.js.map +1 -0
  28. package/dist/character-achievements/character-achievements.d.ts +18 -0
  29. package/dist/character-achievements/character-achievements.js +3 -0
  30. package/dist/character-achievements/character-achievements.js.map +1 -0
  31. package/dist/character-achievements/types.d.ts +56 -0
  32. package/dist/character-achievements/types.js +3 -0
  33. package/dist/character-achievements/types.js.map +1 -0
  34. package/dist/character-appearance/character-appearance.d.ts +12 -0
  35. package/dist/character-appearance/character-appearance.js +3 -0
  36. package/dist/character-appearance/character-appearance.js.map +1 -0
  37. package/dist/character-appearance/types.d.ts +53 -0
  38. package/dist/character-appearance/types.js +3 -0
  39. package/dist/character-appearance/types.js.map +1 -0
  40. package/dist/character-collections/character-collections.d.ts +42 -0
  41. package/dist/character-collections/character-collections.js +3 -0
  42. package/dist/character-collections/character-collections.js.map +1 -0
  43. package/dist/character-collections/types.d.ts +79 -0
  44. package/dist/character-collections/types.js +3 -0
  45. package/dist/character-collections/types.js.map +1 -0
  46. package/dist/character-encounters/character-encounters.d.ts +24 -0
  47. package/dist/character-encounters/character-encounters.js +3 -0
  48. package/dist/character-encounters/character-encounters.js.map +1 -0
  49. package/dist/character-encounters/types.d.ts +56 -0
  50. package/dist/character-encounters/types.js +3 -0
  51. package/dist/character-encounters/types.js.map +1 -0
  52. package/dist/character-equipment/character-equipment.d.ts +12 -0
  53. package/dist/character-equipment/character-equipment.js +3 -0
  54. package/dist/character-equipment/character-equipment.js.map +1 -0
  55. package/dist/character-equipment/types.d.ts +144 -0
  56. package/dist/character-equipment/types.js +3 -0
  57. package/dist/character-equipment/types.js.map +1 -0
  58. package/dist/character-hunter-pets/character-hunter-pets.d.ts +13 -0
  59. package/dist/character-hunter-pets/character-hunter-pets.js +3 -0
  60. package/dist/character-hunter-pets/character-hunter-pets.js.map +1 -0
  61. package/dist/character-hunter-pets/types.d.ts +19 -0
  62. package/dist/character-hunter-pets/types.js +3 -0
  63. package/dist/character-hunter-pets/types.js.map +1 -0
  64. package/dist/character-media/character-media.d.ts +12 -0
  65. package/dist/character-media/character-media.js +3 -0
  66. package/dist/character-media/character-media.js.map +1 -0
  67. package/dist/character-media/types.d.ts +12 -0
  68. package/dist/character-media/types.js +3 -0
  69. package/dist/character-media/types.js.map +1 -0
  70. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.d.ts +21 -0
  71. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js +3 -0
  72. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js.map +1 -0
  73. package/dist/character-mythic-keystone-profile/types.d.ts +46 -0
  74. package/dist/character-mythic-keystone-profile/types.js +3 -0
  75. package/dist/character-mythic-keystone-profile/types.js.map +1 -0
  76. package/dist/character-professions/character-professions.d.ts +12 -0
  77. package/dist/character-professions/character-professions.js +3 -0
  78. package/dist/character-professions/character-professions.js.map +1 -0
  79. package/dist/character-professions/types.d.ts +25 -0
  80. package/dist/character-professions/types.js +3 -0
  81. package/dist/character-professions/types.js.map +1 -0
  82. package/dist/character-profile/character-profile.d.ts +30 -0
  83. package/dist/character-profile/character-profile.js +3 -0
  84. package/dist/character-profile/character-profile.js.map +1 -0
  85. package/dist/character-profile/types.d.ts +55 -0
  86. package/dist/character-profile/types.js +3 -0
  87. package/dist/character-profile/types.js.map +1 -0
  88. package/dist/character-pvp/character-pvp.d.ts +12 -0
  89. package/dist/character-pvp/character-pvp.js +3 -0
  90. package/dist/character-pvp/character-pvp.js.map +1 -0
  91. package/dist/character-pvp/types.d.ts +19 -0
  92. package/dist/character-pvp/types.js +3 -0
  93. package/dist/character-pvp/types.js.map +1 -0
  94. package/dist/character-quests/character-quests.d.ts +18 -0
  95. package/dist/character-quests/character-quests.js +3 -0
  96. package/dist/character-quests/character-quests.js.map +1 -0
  97. package/dist/character-quests/types.d.ts +13 -0
  98. package/dist/character-quests/types.js +3 -0
  99. package/dist/character-quests/types.js.map +1 -0
  100. package/dist/character-reputations/character-reputations.d.ts +12 -0
  101. package/dist/character-reputations/character-reputations.js +3 -0
  102. package/dist/character-reputations/character-reputations.js.map +1 -0
  103. package/dist/character-reputations/types.d.ts +25 -0
  104. package/dist/character-reputations/types.js +3 -0
  105. package/dist/character-reputations/types.js.map +1 -0
  106. package/dist/character-soulbinds/character-soulbinds.d.ts +12 -0
  107. package/dist/character-soulbinds/character-soulbinds.js +3 -0
  108. package/dist/character-soulbinds/character-soulbinds.js.map +1 -0
  109. package/dist/character-soulbinds/types.d.ts +33 -0
  110. package/dist/character-soulbinds/types.js +3 -0
  111. package/dist/character-soulbinds/types.js.map +1 -0
  112. package/dist/character-specializations/character-specializations.d.ts +12 -0
  113. package/dist/character-specializations/character-specializations.js +3 -0
  114. package/dist/character-specializations/character-specializations.js.map +1 -0
  115. package/dist/character-specializations/types.d.ts +46 -0
  116. package/dist/character-specializations/types.js +3 -0
  117. package/dist/character-specializations/types.js.map +1 -0
  118. package/dist/character-statistics/character-statistics.d.ts +12 -0
  119. package/dist/character-statistics/character-statistics.js +3 -0
  120. package/dist/character-statistics/character-statistics.js.map +1 -0
  121. package/dist/character-statistics/types.d.ts +59 -0
  122. package/dist/character-statistics/types.js +3 -0
  123. package/dist/character-statistics/types.js.map +1 -0
  124. package/dist/character-titles/character-titles.d.ts +12 -0
  125. package/dist/character-titles/character-titles.js +3 -0
  126. package/dist/character-titles/character-titles.js.map +1 -0
  127. package/dist/character-titles/types.d.ts +11 -0
  128. package/dist/character-titles/types.js +3 -0
  129. package/dist/character-titles/types.js.map +1 -0
  130. package/dist/chunk-24236PHF.js +25 -0
  131. package/dist/chunk-24236PHF.js.map +1 -0
  132. package/dist/chunk-26JOGQUD.js +11 -0
  133. package/dist/chunk-26JOGQUD.js.map +1 -0
  134. package/dist/chunk-2GRTSQL6.js +37 -0
  135. package/dist/chunk-2GRTSQL6.js.map +1 -0
  136. package/dist/chunk-36KZKLT6.js +25 -0
  137. package/dist/chunk-36KZKLT6.js.map +1 -0
  138. package/dist/chunk-3W2TUGVY.js +30 -0
  139. package/dist/chunk-3W2TUGVY.js.map +1 -0
  140. package/dist/chunk-3ZMQPXO2.js +25 -0
  141. package/dist/chunk-3ZMQPXO2.js.map +1 -0
  142. package/dist/chunk-42VH37MD.js +19 -0
  143. package/dist/chunk-42VH37MD.js.map +1 -0
  144. package/dist/chunk-4ECCICR5.js +13 -0
  145. package/dist/chunk-4ECCICR5.js.map +1 -0
  146. package/dist/chunk-5JEMELDR.js +11 -0
  147. package/dist/chunk-5JEMELDR.js.map +1 -0
  148. package/dist/chunk-6GBFNMK2.js +25 -0
  149. package/dist/chunk-6GBFNMK2.js.map +1 -0
  150. package/dist/chunk-7HVEQCDL.js +19 -0
  151. package/dist/chunk-7HVEQCDL.js.map +1 -0
  152. package/dist/chunk-ALS7FD7K.js +18 -0
  153. package/dist/chunk-ALS7FD7K.js.map +1 -0
  154. package/dist/chunk-CMQTS6M4.js +24 -0
  155. package/dist/chunk-CMQTS6M4.js.map +1 -0
  156. package/dist/chunk-D7O6VYRC.js +11 -0
  157. package/dist/chunk-D7O6VYRC.js.map +1 -0
  158. package/dist/chunk-DEHA3454.js +19 -0
  159. package/dist/chunk-DEHA3454.js.map +1 -0
  160. package/dist/chunk-DGHQJFYZ.js +43 -0
  161. package/dist/chunk-DGHQJFYZ.js.map +1 -0
  162. package/dist/chunk-DHX4ALS7.js +31 -0
  163. package/dist/chunk-DHX4ALS7.js.map +1 -0
  164. package/dist/chunk-EZKCAWKI.js +62 -0
  165. package/dist/chunk-EZKCAWKI.js.map +1 -0
  166. package/dist/chunk-FPLFZJUE.js +13 -0
  167. package/dist/chunk-FPLFZJUE.js.map +1 -0
  168. package/dist/chunk-G775CQBW.js +11 -0
  169. package/dist/chunk-G775CQBW.js.map +1 -0
  170. package/dist/chunk-GBIE4KXG.js +60 -0
  171. package/dist/chunk-GBIE4KXG.js.map +1 -0
  172. package/dist/chunk-GLXKCE6S.js +11 -0
  173. package/dist/chunk-GLXKCE6S.js.map +1 -0
  174. package/dist/chunk-GQWURIOG.js +30 -0
  175. package/dist/chunk-GQWURIOG.js.map +1 -0
  176. package/dist/chunk-GVZPDS6Q.js +49 -0
  177. package/dist/chunk-GVZPDS6Q.js.map +1 -0
  178. package/dist/chunk-HCIV2L64.js +49 -0
  179. package/dist/chunk-HCIV2L64.js.map +1 -0
  180. package/dist/chunk-JAJBQO52.js +11 -0
  181. package/dist/chunk-JAJBQO52.js.map +1 -0
  182. package/dist/chunk-JIJPTSGU.js +11 -0
  183. package/dist/chunk-JIJPTSGU.js.map +1 -0
  184. package/dist/chunk-JMTWNL23.js +11 -0
  185. package/dist/chunk-JMTWNL23.js.map +1 -0
  186. package/dist/chunk-JR5B6CK4.js +30 -0
  187. package/dist/chunk-JR5B6CK4.js.map +1 -0
  188. package/dist/chunk-JZUJDSZ4.js +19 -0
  189. package/dist/chunk-JZUJDSZ4.js.map +1 -0
  190. package/dist/chunk-LE4UHLYZ.js +17 -0
  191. package/dist/chunk-LE4UHLYZ.js.map +1 -0
  192. package/dist/chunk-LTJAQT2G.js +16 -0
  193. package/dist/chunk-LTJAQT2G.js.map +1 -0
  194. package/dist/chunk-LXEXXIEG.js +17 -0
  195. package/dist/chunk-LXEXXIEG.js.map +1 -0
  196. package/dist/chunk-MSX4CUNQ.js +31 -0
  197. package/dist/chunk-MSX4CUNQ.js.map +1 -0
  198. package/dist/chunk-ON72ACOS.js +37 -0
  199. package/dist/chunk-ON72ACOS.js.map +1 -0
  200. package/dist/chunk-OYEA5CMS.js +18 -0
  201. package/dist/chunk-OYEA5CMS.js.map +1 -0
  202. package/dist/chunk-QWKGL6OD.js +55 -0
  203. package/dist/chunk-QWKGL6OD.js.map +1 -0
  204. package/dist/chunk-QYEYBQGO.js +31 -0
  205. package/dist/chunk-QYEYBQGO.js.map +1 -0
  206. package/dist/chunk-RDKBICVU.js +17 -0
  207. package/dist/chunk-RDKBICVU.js.map +1 -0
  208. package/dist/chunk-RGGXKGN5.js +33 -0
  209. package/dist/chunk-RGGXKGN5.js.map +1 -0
  210. package/dist/chunk-RYBCDOQV.js +60 -0
  211. package/dist/chunk-RYBCDOQV.js.map +1 -0
  212. package/dist/chunk-SPTZICRM.js +19 -0
  213. package/dist/chunk-SPTZICRM.js.map +1 -0
  214. package/dist/chunk-U3H47BSV.js +11 -0
  215. package/dist/chunk-U3H47BSV.js.map +1 -0
  216. package/dist/chunk-U4WVCUZN.js +19 -0
  217. package/dist/chunk-U4WVCUZN.js.map +1 -0
  218. package/dist/chunk-ULWUM3DX.js +49 -0
  219. package/dist/chunk-ULWUM3DX.js.map +1 -0
  220. package/dist/chunk-V3MTDINM.js +19 -0
  221. package/dist/chunk-V3MTDINM.js.map +1 -0
  222. package/dist/chunk-VPH2NQRQ.js +30 -0
  223. package/dist/chunk-VPH2NQRQ.js.map +1 -0
  224. package/dist/chunk-VTEJNKYT.js +11 -0
  225. package/dist/chunk-VTEJNKYT.js.map +1 -0
  226. package/dist/chunk-WTFOGQ55.js +60 -0
  227. package/dist/chunk-WTFOGQ55.js.map +1 -0
  228. package/dist/chunk-WZGXR5WG.js +37 -0
  229. package/dist/chunk-WZGXR5WG.js.map +1 -0
  230. package/dist/chunk-X42TYTZZ.js +43 -0
  231. package/dist/chunk-X42TYTZZ.js.map +1 -0
  232. package/dist/chunk-XWV4O5Z4.js +19 -0
  233. package/dist/chunk-XWV4O5Z4.js.map +1 -0
  234. package/dist/chunk-YB62WBDV.js +42 -0
  235. package/dist/chunk-YB62WBDV.js.map +1 -0
  236. package/dist/chunk-YNXUFYX2.js +36 -0
  237. package/dist/chunk-YNXUFYX2.js.map +1 -0
  238. package/dist/chunk-Z6SN5O7U.js +11 -0
  239. package/dist/chunk-Z6SN5O7U.js.map +1 -0
  240. package/dist/connected-realm/connected-realm.d.ts +24 -0
  241. package/dist/connected-realm/connected-realm.js +4 -0
  242. package/dist/connected-realm/connected-realm.js.map +1 -0
  243. package/dist/connected-realm/types.d.ts +111 -0
  244. package/dist/connected-realm/types.js +3 -0
  245. package/dist/connected-realm/types.js.map +1 -0
  246. package/dist/covenant/covenant.d.ts +45 -0
  247. package/dist/covenant/covenant.js +4 -0
  248. package/dist/covenant/covenant.js.map +1 -0
  249. package/dist/covenant/types.d.ts +119 -0
  250. package/dist/covenant/types.js +3 -0
  251. package/dist/covenant/types.js.map +1 -0
  252. package/dist/creature/creature.d.ts +52 -0
  253. package/dist/creature/creature.js +4 -0
  254. package/dist/creature/creature.js.map +1 -0
  255. package/dist/creature/types.d.ts +107 -0
  256. package/dist/creature/types.js +3 -0
  257. package/dist/creature/types.js.map +1 -0
  258. package/dist/guild/guild.d.ts +30 -0
  259. package/dist/guild/guild.js +3 -0
  260. package/dist/guild/guild.js.map +1 -0
  261. package/dist/guild/types.d.ts +100 -0
  262. package/dist/guild/types.js +3 -0
  263. package/dist/guild/types.js.map +1 -0
  264. package/dist/guild-crest/guild-crest.d.ts +23 -0
  265. package/dist/guild-crest/guild-crest.js +4 -0
  266. package/dist/guild-crest/guild-crest.js.map +1 -0
  267. package/dist/guild-crest/types.d.ts +47 -0
  268. package/dist/guild-crest/types.js +3 -0
  269. package/dist/guild-crest/types.js.map +1 -0
  270. package/dist/heirloom/heirloom.d.ts +17 -0
  271. package/dist/heirloom/heirloom.js +4 -0
  272. package/dist/heirloom/heirloom.js.map +1 -0
  273. package/dist/heirloom/types.d.ts +87 -0
  274. package/dist/heirloom/types.js +3 -0
  275. package/dist/heirloom/types.js.map +1 -0
  276. package/dist/index.d.ts +113 -4415
  277. package/dist/index.js +111 -1249
  278. package/dist/index.js.map +1 -1
  279. package/dist/item/item.d.ts +53 -0
  280. package/dist/item/item.js +4 -0
  281. package/dist/item/item.js.map +1 -0
  282. package/dist/item/types.d.ts +244 -0
  283. package/dist/item/types.js +3 -0
  284. package/dist/item/types.js.map +1 -0
  285. package/dist/journal/journal.d.ts +51 -0
  286. package/dist/journal/journal.js +4 -0
  287. package/dist/journal/journal.js.map +1 -0
  288. package/dist/journal/types.d.ts +160 -0
  289. package/dist/journal/types.js +3 -0
  290. package/dist/journal/types.js.map +1 -0
  291. package/dist/media-search/media-search.d.ts +12 -0
  292. package/dist/media-search/media-search.js +4 -0
  293. package/dist/media-search/media-search.js.map +1 -0
  294. package/dist/media-search/types.d.ts +29 -0
  295. package/dist/media-search/types.js +3 -0
  296. package/dist/media-search/types.js.map +1 -0
  297. package/dist/modified-crafting/modified-crafting.d.ts +33 -0
  298. package/dist/modified-crafting/modified-crafting.js +4 -0
  299. package/dist/modified-crafting/modified-crafting.js.map +1 -0
  300. package/dist/modified-crafting/types.d.ts +49 -0
  301. package/dist/modified-crafting/types.js +3 -0
  302. package/dist/modified-crafting/types.js.map +1 -0
  303. package/dist/mount/mount.d.ts +23 -0
  304. package/dist/mount/mount.js +4 -0
  305. package/dist/mount/mount.js.map +1 -0
  306. package/dist/mount/types.d.ts +62 -0
  307. package/dist/mount/types.js +3 -0
  308. package/dist/mount/types.js.map +1 -0
  309. package/dist/mythic-keystone-affix/mythic-keystone-affix.d.ts +23 -0
  310. package/dist/mythic-keystone-affix/mythic-keystone-affix.js +4 -0
  311. package/dist/mythic-keystone-affix/mythic-keystone-affix.js.map +1 -0
  312. package/dist/mythic-keystone-affix/types.d.ts +30 -0
  313. package/dist/mythic-keystone-affix/types.js +3 -0
  314. package/dist/mythic-keystone-affix/types.js.map +1 -0
  315. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.d.ts +44 -0
  316. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js +4 -0
  317. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js.map +1 -0
  318. package/dist/mythic-keystone-dungeon/types.d.ts +80 -0
  319. package/dist/mythic-keystone-dungeon/types.js +3 -0
  320. package/dist/mythic-keystone-dungeon/types.js.map +1 -0
  321. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.d.ts +20 -0
  322. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js +4 -0
  323. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js.map +1 -0
  324. package/dist/mythic-keystone-leaderboard/types.d.ts +61 -0
  325. package/dist/mythic-keystone-leaderboard/types.js +3 -0
  326. package/dist/mythic-keystone-leaderboard/types.js.map +1 -0
  327. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.d.ts +13 -0
  328. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js +4 -0
  329. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js.map +1 -0
  330. package/dist/mythic-raid-leaderboard/types.d.ts +36 -0
  331. package/dist/mythic-raid-leaderboard/types.js +3 -0
  332. package/dist/mythic-raid-leaderboard/types.js.map +1 -0
  333. package/dist/pet/pet.d.ts +40 -0
  334. package/dist/pet/pet.js +4 -0
  335. package/dist/pet/pet.js.map +1 -0
  336. package/dist/pet/types.d.ts +78 -0
  337. package/dist/pet/types.js +3 -0
  338. package/dist/pet/types.js.map +1 -0
  339. package/dist/playable-class/playable-class.d.ts +29 -0
  340. package/dist/playable-class/playable-class.js +4 -0
  341. package/dist/playable-class/playable-class.js.map +1 -0
  342. package/dist/playable-class/types.d.ts +47 -0
  343. package/dist/playable-class/types.js +3 -0
  344. package/dist/playable-class/types.js.map +1 -0
  345. package/dist/playable-race/playable-race.d.ts +17 -0
  346. package/dist/playable-race/playable-race.js +4 -0
  347. package/dist/playable-race/playable-race.js.map +1 -0
  348. package/dist/playable-race/types.d.ts +22 -0
  349. package/dist/playable-race/types.js +3 -0
  350. package/dist/playable-race/types.js.map +1 -0
  351. package/dist/playable-specialization/playable-specialization.d.ts +23 -0
  352. package/dist/playable-specialization/playable-specialization.js +4 -0
  353. package/dist/playable-specialization/playable-specialization.js.map +1 -0
  354. package/dist/playable-specialization/types.d.ts +55 -0
  355. package/dist/playable-specialization/types.js +3 -0
  356. package/dist/playable-specialization/types.js.map +1 -0
  357. package/dist/power-type/power-type.d.ts +17 -0
  358. package/dist/power-type/power-type.js +4 -0
  359. package/dist/power-type/power-type.js.map +1 -0
  360. package/dist/power-type/types.d.ts +17 -0
  361. package/dist/power-type/types.js +3 -0
  362. package/dist/power-type/types.js.map +1 -0
  363. package/dist/profession/profession.d.ts +42 -0
  364. package/dist/profession/profession.js +4 -0
  365. package/dist/profession/profession.js.map +1 -0
  366. package/dist/profession/types.d.ts +74 -0
  367. package/dist/profession/types.js +3 -0
  368. package/dist/profession/types.js.map +1 -0
  369. package/dist/pvp-season/pvp-season.d.ts +36 -0
  370. package/dist/pvp-season/pvp-season.js +4 -0
  371. package/dist/pvp-season/pvp-season.js.map +1 -0
  372. package/dist/pvp-season/types.d.ts +89 -0
  373. package/dist/pvp-season/types.js +3 -0
  374. package/dist/pvp-season/types.js.map +1 -0
  375. package/dist/pvp-tier/pvp-tier.d.ts +23 -0
  376. package/dist/pvp-tier/pvp-tier.js +4 -0
  377. package/dist/pvp-tier/pvp-tier.js.map +1 -0
  378. package/dist/pvp-tier/types.d.ts +37 -0
  379. package/dist/pvp-tier/types.js +3 -0
  380. package/dist/pvp-tier/types.js.map +1 -0
  381. package/dist/quest/quest.d.ts +50 -0
  382. package/dist/quest/quest.js +4 -0
  383. package/dist/quest/quest.js.map +1 -0
  384. package/dist/quest/types.d.ts +102 -0
  385. package/dist/quest/types.js +3 -0
  386. package/dist/quest/types.js.map +1 -0
  387. package/dist/realm/realm.d.ts +23 -0
  388. package/dist/realm/realm.js +4 -0
  389. package/dist/realm/realm.js.map +1 -0
  390. package/dist/realm/types.d.ts +81 -0
  391. package/dist/realm/types.js +3 -0
  392. package/dist/realm/types.js.map +1 -0
  393. package/dist/region/region.d.ts +17 -0
  394. package/dist/region/region.js +4 -0
  395. package/dist/region/region.js.map +1 -0
  396. package/dist/region/types.d.ts +21 -0
  397. package/dist/region/types.js +3 -0
  398. package/dist/region/types.js.map +1 -0
  399. package/dist/reputations/reputations.d.ts +28 -0
  400. package/dist/reputations/reputations.js +4 -0
  401. package/dist/reputations/reputations.js.map +1 -0
  402. package/dist/reputations/types.d.ts +51 -0
  403. package/dist/reputations/types.js +3 -0
  404. package/dist/reputations/types.js.map +1 -0
  405. package/dist/spell/spell.d.ts +24 -0
  406. package/dist/spell/spell.js +4 -0
  407. package/dist/spell/spell.js.map +1 -0
  408. package/dist/spell/types.d.ts +47 -0
  409. package/dist/spell/types.js +3 -0
  410. package/dist/spell/types.js.map +1 -0
  411. package/dist/talent/talent.d.ts +46 -0
  412. package/dist/talent/talent.js +4 -0
  413. package/dist/talent/talent.js.map +1 -0
  414. package/dist/talent/types.d.ts +161 -0
  415. package/dist/talent/types.js +3 -0
  416. package/dist/talent/types.js.map +1 -0
  417. package/dist/tech-talent/tech-talent.d.ts +34 -0
  418. package/dist/tech-talent/tech-talent.js +4 -0
  419. package/dist/tech-talent/tech-talent.js.map +1 -0
  420. package/dist/tech-talent/types.d.ts +52 -0
  421. package/dist/tech-talent/types.js +3 -0
  422. package/dist/tech-talent/types.js.map +1 -0
  423. package/dist/title/title.d.ts +17 -0
  424. package/dist/title/title.js +4 -0
  425. package/dist/title/title.js.map +1 -0
  426. package/dist/title/types.d.ts +18 -0
  427. package/dist/title/types.js +3 -0
  428. package/dist/title/types.js.map +1 -0
  429. package/dist/toy/toy.d.ts +17 -0
  430. package/dist/toy/toy.js +4 -0
  431. package/dist/toy/toy.js.map +1 -0
  432. package/dist/toy/types.d.ts +29 -0
  433. package/dist/toy/types.js +3 -0
  434. package/dist/toy/types.js.map +1 -0
  435. package/dist/wow-token/types.d.ts +12 -0
  436. package/dist/wow-token/types.js +3 -0
  437. package/dist/wow-token/types.js.map +1 -0
  438. package/dist/wow-token/wow-token.d.ts +11 -0
  439. package/dist/wow-token/wow-token.js +4 -0
  440. package/dist/wow-token/wow-token.js.map +1 -0
  441. package/package.json +14 -5
package/dist/index.d.ts CHANGED
@@ -1,4421 +1,119 @@
1
- import { ProtectedResource, Resource, BaseSearchParameters, Locales, SearchResponse, Origins } from '@blizzard-api/core';
2
-
3
- /**
4
- *
5
- */
6
- /**
7
- * A record containing the RGBA values of a color.
8
- */
9
- interface Color {
10
- a: number;
11
- b: number;
12
- g: number;
13
- r: number;
14
- }
15
- /**
16
- * The playable gender names/descriptions in World of Warcraft.
17
- */
18
- interface GenderName {
19
- female: string;
20
- male: string;
21
- }
22
- interface Href {
23
- href: string;
24
- }
25
- /**
26
- * Base record interface containing key.href property that often appear in Blizzard API responses.
27
- */
28
- interface KeyBase {
29
- key: Href;
30
- }
31
- /**
32
- * The media asset associated with a character or entity in World of Warcraft.
33
- */
34
- interface MediaAsset$1 {
35
- file_data_id: number;
36
- key: string;
37
- value: string;
38
- }
39
- /**
40
- * Base record interface containing name and id properties that often appear together in Blizzard API responses.
41
- */
42
- interface NameId {
43
- id: number;
44
- name: string;
45
- }
46
- /**
47
- * Base record containing both {@link KeyBase} and {@link NameId} interfaces.
48
- */
49
- interface NameIdKey extends KeyBase, NameId {
50
- }
51
- /**
52
- * Base interface for Blizzard API responses.
53
- */
54
- interface ResponseBase {
55
- _links: {
56
- self: Href;
57
- };
58
- }
59
- /**
60
- * The playable genders in World of Warcraft.
61
- */
62
- declare const Genders: {
63
- readonly FEMALE: "FEMALE";
64
- readonly MALE: "MALE";
65
- };
66
- /**
67
- * The gender associated with a character or entity in World of Warcraft.
68
- */
69
- interface Gender {
70
- name: Capitalize<Lowercase<keyof typeof Genders>>;
71
- type: keyof typeof Genders;
72
- }
73
- /**
74
- * The playable factions in World of Warcraft.
75
- */
76
- declare const Factions: {
77
- readonly ALLIANCE: "ALLIANCE";
78
- readonly HORDE: "HORDE";
79
- };
80
- /**
81
- * The standard structure to represent a World of Warcraft Character.
82
- */
83
- interface Character$2 extends NameIdKey {
84
- realm: Realm$4;
85
- }
86
- /**
87
- * The faction associated with a character or entity in World of Warcraft.
88
- */
89
- interface Faction {
90
- name: Capitalize<Lowercase<keyof typeof Factions>>;
91
- type: keyof typeof Factions;
92
- }
93
- /**
94
- * The standard structure to represent a World of Warcraft Realm.
95
- */
96
- interface Realm$4 extends NameIdKey {
97
- slug: string;
98
- }
99
-
100
- interface AccountCollectionsIndexResponse {
101
- _links: Links;
102
- heirlooms: Href;
103
- mounts: Href;
104
- pets: Href;
105
- toys: Href;
106
- transmogs: Href;
107
- }
108
- interface AccountHeirloomsCollectionSummaryResponse {
109
- _links: Links;
110
- heirlooms: Array<Heirloom$1>;
111
- }
112
- interface AccountMountsCollectionSummaryResponse {
113
- _links: Links;
114
- mounts: Array<Mount$1>;
115
- }
116
- interface AccountPetsCollectionSummaryResponse {
117
- _links: Links;
118
- pets: Array<Pet$1>;
119
- unlocked_battle_pet_slots: number;
120
- }
121
- interface AccountProfileSummaryResponse {
122
- _links: Links;
123
- collections: Href;
124
- id: number;
125
- wow_accounts?: Array<WowAccount>;
126
- }
127
- interface AccountToysCollectionSummaryResponse {
128
- _links: Links;
129
- toys: Array<Toy$1>;
130
- }
131
- interface AccountTransmogsCollectionSummaryResponse {
132
- _links: Links;
133
- appearance_sets: Array<NameIdKey>;
134
- slots: Array<Slot$1>;
135
- }
136
- interface ProtectedCharacterProfileSummaryResponse {
137
- _links: Links;
138
- bind_position: Position;
139
- character: NameIdKey & Realm$4;
140
- id: number;
141
- money: number;
142
- name: string;
143
- position: Position;
144
- protected_stats: ProtectedStats;
145
- wow_account: number;
146
- }
147
- interface Character$1 {
148
- character: Href;
149
- faction: Faction;
150
- gender: Gender;
151
- id: number;
152
- level: number;
153
- name: string;
154
- playable_class: NameIdKey;
155
- playable_race: NameIdKey;
156
- protected_character: Href;
157
- realm: Realm$4;
158
- }
159
- interface Heirloom$1 {
160
- heirloom: NameIdKey;
161
- upgrade: {
162
- level: number;
163
- };
164
- }
165
- interface Links {
166
- profile: Href;
167
- self: Href;
168
- user: Href;
169
- }
170
- interface Mount$1 {
171
- is_favorite?: boolean;
172
- mount: NameIdKey;
173
- }
174
- interface Pet$1 {
175
- active_slot?: number;
176
- creature_display?: KeyBase & {
177
- id: number;
178
- };
179
- id: number;
180
- is_active?: boolean;
181
- is_favorite?: boolean;
182
- level: number;
183
- name?: string;
184
- quality: Quality$1;
185
- species: NameIdKey;
186
- stats: Stats$1;
187
- }
188
- interface Position {
189
- facing: number;
190
- map: NameId;
191
- x: number;
192
- y: number;
193
- z: number;
194
- zone: NameId;
195
- }
196
- interface ProtectedStats {
197
- level_gold_gained: number;
198
- level_gold_lost: number;
199
- level_item_value_gained: number;
200
- level_number_deaths: number;
201
- total_gold_gained: number;
202
- total_gold_lost: number;
203
- total_item_value_gained: number;
204
- total_number_deaths: number;
205
- }
206
- interface Quality$1 {
207
- name: 'Common' | 'Poor' | 'Rare' | 'Uncommon';
208
- type: 'COMMON' | 'POOR' | 'RARE' | 'UNCOMMON';
209
- }
210
- interface Slot$1 {
211
- appearances: Array<KeyBase & {
212
- id: number;
213
- }>;
214
- slot: Slot$1;
215
- }
216
- interface Slot$1 {
217
- name: string;
218
- type: string;
219
- }
220
- interface Stats$1 {
221
- breed_id: number;
222
- health: number;
223
- power: number;
224
- speed: number;
225
- }
226
- interface Toy$1 {
227
- is_favorite?: boolean;
228
- toy: NameIdKey;
229
- }
230
- interface WowAccount {
231
- characters: Array<Character$1>;
232
- id: number;
233
- }
234
-
235
- /**
236
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
237
- * @param token The OAuth 2.0 access token to use for authentication.
238
- * @returns an index of collection types for an account.
239
- */
240
- declare function accountCollectionsIndex(token: string): ProtectedResource<AccountCollectionsIndexResponse>;
241
- /**
242
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
243
- * @param token The OAuth 2.0 access token to use for authentication.
244
- * @returns a summary of the heirlooms an account has obtained.
245
- */
246
- declare function accountHeirloomsCollectionSummary(token: string): ProtectedResource<AccountHeirloomsCollectionSummaryResponse>;
247
- /**
248
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
249
- * @param token The OAuth 2.0 access token to use for authentication.
250
- * @returns a summary of the mounts an account has obtained.
251
- */
252
- declare function accountMountsCollectionSummary(token: string): ProtectedResource<AccountMountsCollectionSummaryResponse>;
253
- /**
254
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
255
- * @param token The OAuth 2.0 access token to use for authentication.
256
- * @returns a summary of the battle pets an account has obtained.
257
- */
258
- declare function accountPetsCollectionSummary(token: string): ProtectedResource<AccountPetsCollectionSummaryResponse>;
259
- /**
260
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
261
- * @param token The OAuth 2.0 access token to use for authentication.
262
- * @returns a profile summary for an account.
263
- */
264
- declare function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse>;
265
- /**
266
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
267
- * @param token The OAuth 2.0 access token to use for authentication.
268
- * @returns a summary of the toys an account has obtained.
269
- */
270
- declare function accountToysCollectionSummary(token: string): ProtectedResource<AccountToysCollectionSummaryResponse>;
271
- /**
272
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
273
- * @param token The OAuth 2.0 access token to use for authentication.
274
- * @returns a summary of the transmog unlocks an account has obtained.
275
- */
276
- declare function accountTransmogsCollectionSummary(token: string): ProtectedResource<AccountTransmogsCollectionSummaryResponse>;
277
- /**
278
- * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
279
- * @param realmId The realm ID.
280
- * @param characterId The character ID.
281
- * @param token The OAuth 2.0 access token to use for authentication.
282
- * @returns a protected profile summary for a character.
283
- */
284
- declare function protectedCharacterProfileSummary(realmId: number, characterId: number, token: string): ProtectedResource<ProtectedCharacterProfileSummaryResponse>;
285
-
286
- /**
287
- * Interface for a response from the achievement category index endpoint.
288
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
289
- */
290
- interface AchievementCategoryIndexResponse extends ResponseBase {
291
- categories: Array<NameIdKey>;
292
- guild_categories: Array<NameIdKey>;
293
- root_categories: Array<NameIdKey>;
294
- }
295
- /**
296
- * Interface for a response from the achievement category endpoint.
297
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
298
- */
299
- interface AchievementCategoryResponse extends NameId, ResponseBase {
300
- achievements: Array<NameIdKey>;
301
- aggregates_by_faction: {
302
- alliance: {
303
- points: number;
304
- quantity: number;
305
- };
306
- horde: {
307
- points: number;
308
- quantity: number;
309
- };
310
- };
311
- display_order: number;
312
- isGuildCategory: boolean;
313
- parent_category: NameIdKey;
314
- }
315
- /**
316
- * Interface for a response from the achievement index endpoint.
317
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
318
- */
319
- interface AchievementIndexResponse extends ResponseBase {
320
- achievements: Array<NameIdKey>;
321
- }
322
- /**
323
- * Interface for a response from the achievement media endpoint.
324
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
325
- */
326
- interface AchievementMediaResponse extends ResponseBase {
327
- assets: Array<AchievementMediaItem>;
328
- id: number;
329
- }
330
- /**
331
- * Interface for a response from the achievement endpoint.
332
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
333
- */
334
- interface AchievementResponse extends NameId, ResponseBase {
335
- category: NameIdKey;
336
- criteria: {
337
- amount: number;
338
- description: string;
339
- id: number;
340
- };
341
- description: string;
342
- display_order: number;
343
- is_account_wide: boolean;
344
- media: KeyBase;
345
- points: number;
346
- }
347
- interface AchievementMediaItem {
348
- file_data_id: number;
349
- key: string;
350
- value: string;
351
- }
352
-
353
- /**
354
- * Get an achievement by ID.
355
- * @param achievementId The achievement ID.
356
- * @returns The achievement. See {@link AchievementResponse}.
357
- */
358
- declare function achievement(achievementId: number): Resource<AchievementResponse>;
359
- /**
360
- * Get an achievement category by ID.
361
- * @param achievementCategoryId The achievement category ID.
362
- * @returns The achievement category. See {@link AchievementCategoryResponse}.
363
- */
364
- declare function achievementCategory(achievementCategoryId: number): Resource<AchievementCategoryResponse>;
365
- /**
366
- * Get an achievement category index.
367
- * @returns The achievement category index. See {@link AchievementCategoryIndexResponse}.
368
- */
369
- declare function achievementCategoryIndex(): Resource<AchievementCategoryIndexResponse>;
370
- /**
371
- * Get an achievement index.
372
- * @returns The achievement index. See {@link AchievementIndexResponse}.
373
- */
374
- declare function achievementIndex(): Resource<AchievementIndexResponse>;
375
- /**
376
- * Get achievement media by ID.
377
- * @param achievementId The achievement ID.
378
- * @returns The achievement media. See {@link AchievementMediaResponse}.
379
- */
380
- declare function achievementMedia(achievementId: number): Resource<AchievementMediaResponse>;
381
-
382
- /**
383
- * Interface for a response from the auction house commodities endpoint.
384
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
385
- */
386
- interface AuctionHouseCommoditiesResponse extends ResponseBase {
387
- auctions: Array<AuctionHouseCommodity>;
388
- }
389
- /**
390
- * Interface for a response from the auction house endpoint.
391
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
392
- */
393
- interface AuctionHouseResponse extends ResponseBase {
394
- auctions: Array<AuctionHousePosting>;
395
- commodities: {
396
- href: string;
397
- };
398
- connected_realm: {
399
- href: string;
400
- };
401
- }
402
- interface AuctionHouseCommodity {
403
- id: number;
404
- item: {
405
- id: number;
406
- };
407
- quantity: number;
408
- time_left: AuctionHouseTimeLeft;
409
- unit_price: number;
410
- }
411
- interface AuctionHousePosting {
412
- bid: number;
413
- buyout: number;
414
- id: number;
415
- item: {
416
- bonus_lists: Array<number>;
417
- context: number;
418
- id: number;
419
- modifiers: Array<{
420
- type: number;
421
- value: number;
422
- }>;
423
- };
424
- quantity: number;
425
- time_left: AuctionHouseTimeLeft;
426
- }
427
- type AuctionHouseTimeLeft = 'LONG' | 'MEDIUM' | 'SHORT' | 'VERY_LONG';
428
-
429
- /**
430
- * Get auction house data for a connected realm.
431
- * @param connectedRealmId The ID of the connected realm.
432
- * @returns The auction house data. See {@link AuctionHouseResponse}.
433
- */
434
- declare function auctions(connectedRealmId: number): Resource<AuctionHouseResponse>;
435
- /**
436
- * Get auction house data for all connected realms.
437
- * @returns The auction house data. See {@link AuctionHouseResponse}.
438
- */
439
- declare function commodities(): Resource<AuctionHouseCommoditiesResponse>;
440
-
441
- /**
442
- * Interface for a response from the azerite essence index endpoint.
443
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
444
- */
445
- interface AzeriteEssenceIndexResponse extends ResponseBase {
446
- azerite_essences: Array<NameIdKey>;
447
- }
448
- /**
449
- * Interface for a response from the azerite essence media endpoint.
450
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
451
- */
452
- interface AzeriteEssenceMediaResponse extends ResponseBase {
453
- assets: Array<MediaAsset$1>;
454
- id: number;
455
- }
456
- /**
457
- * Interface for a response from the azerite essence endpoint.
458
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
459
- */
460
- interface AzeriteEssenceResponse extends NameId, ResponseBase {
461
- allowed_specializations: Array<NameIdKey>;
462
- media: Media$f;
463
- powers: Array<Power>;
464
- }
465
- /**
466
- * Interface for search parameters for azerite essences.
467
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
468
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
469
- */
470
- interface AzeriteEssenceSearchParameters extends BaseSearchParameters {
471
- 'allowed_specializations.id'?: number;
472
- }
473
- /**
474
- * Interface for a response item from the azerite essence search endpoint.
475
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
476
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
477
- */
478
- interface AzeriteEssenceSearchResponseItem extends KeyBase {
479
- data: {
480
- allowed_specializations: Array<NameId>;
481
- name: Record<Locales, string>;
482
- };
483
- }
484
- interface Media$f extends KeyBase {
485
- id: number;
486
- }
487
- interface Power {
488
- id: number;
489
- main_power_spell: NameIdKey;
490
- passive_power_spell: NameIdKey;
491
- rank: number;
492
- }
493
-
494
- /**
495
- * Get an azerite essence by ID.
496
- * @param azeriteEssenceId The azerite essence ID.
497
- * @returns The azerite essence. See {@link AzeriteEssenceResponse}.
498
- */
499
- declare function azeriteEssence(azeriteEssenceId: number): Resource<AzeriteEssenceResponse>;
500
- /**
501
- * Get an azerite essence index.
502
- * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.
503
- */
504
- declare function azeriteEssenceIndex(): Resource<AzeriteEssenceIndexResponse>;
505
- /**
506
- * Get azerite essence media by ID.
507
- * @param azeriteEssenceId The azerite essence ID.
508
- * @returns The azerite essence media. See {@link AzeriteEssenceMediaResponse}.
509
- */
510
- declare function azeriteEssenceMedia(azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse>;
511
- /**
512
- * Search for azerite essences.
513
- * @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.
514
- * @returns The search results. See {@link SearchResponse}.
515
- */
516
- declare function azeriteEssenceSearch(options: AzeriteEssenceSearchParameters): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, AzeriteEssenceSearchParameters>;
517
-
518
- interface CharacterAchievementsSummaryResponse extends ResponseBase {
519
- achievements: Array<Achievement$1>;
520
- category_progress: Array<CategoryProgress$1>;
521
- character: Character$2;
522
- recent_events: Array<RecentEvent$1>;
523
- statistics: Href;
524
- total_points: number;
525
- total_quantity: number;
526
- }
527
- interface CharacterAchievementStatisticsResponse extends ResponseBase {
528
- categories: Array<Category$2>;
529
- character: Character$2;
530
- }
531
- interface Achievement$1 {
532
- achievement: NameIdKey;
533
- completed_timestamp?: number;
534
- criteria?: Criteria$1;
535
- id: number;
536
- }
537
- interface Category$2 {
538
- id: number;
539
- name: string;
540
- statistics: Array<Statistic>;
541
- sub_categories: Array<SubCategory>;
542
- }
543
- interface CategoryProgress$1 {
544
- category: NameIdKey;
545
- points: number;
546
- quantity: number;
547
- }
548
- interface Criteria$1 {
549
- amount?: number;
550
- child_criteria?: Array<Criteria$1>;
551
- id: number;
552
- is_completed: boolean;
553
- }
554
- interface RecentEvent$1 {
555
- achievement: NameIdKey;
556
- timestamp: number;
557
- }
558
- interface Statistic {
559
- description?: string;
560
- id: number;
561
- last_updated_timestamp: number;
562
- name: string;
563
- quantity: number;
564
- }
565
- interface SubCategory {
566
- id: number;
567
- name: string;
568
- statistics: Array<Statistic>;
569
- }
570
-
571
- /**
572
- * @param realmSlug The slug of the realm.
573
- * @param characterName The lowercase name of the character.
574
- * @returns a summary of the achievements a character has completed.
575
- */
576
- declare function characterAchievementsSummary(realmSlug: string, characterName: string): Resource<CharacterAchievementsSummaryResponse>;
577
- /**
578
- * @param realmSlug The slug of the realm.
579
- * @param characterName The lowercase name of the character.
580
- * @returns a character's statistics as they pertain to achievements.
581
- */
582
- declare function characterAchievementStatistics(realmSlug: string, characterName: string): Resource<CharacterAchievementStatisticsResponse>;
583
-
584
- interface CharacterAppearanceResponse extends ResponseBase {
585
- active_spec: NameIdKey;
586
- character: Character$2;
587
- customizations: Array<Customization>;
588
- faction: Faction;
589
- gender: Gender;
590
- guild_crest: GuildCrest;
591
- items: Array<Item$2>;
592
- playable_class: NameIdKey;
593
- playable_race: NameIdKey;
594
- }
595
- interface BorderEmblem {
596
- color: RGBWithId;
597
- id: number;
598
- media: KeyBase & {
599
- id: number;
600
- };
601
- }
602
- interface Choice {
603
- display_order: number;
604
- id: number;
605
- name?: string;
606
- }
607
- interface Customization {
608
- choice: Choice;
609
- option: NameId;
610
- }
611
- interface GuildCrest {
612
- background: {
613
- color: RGBWithId;
614
- };
615
- border: BorderEmblem;
616
- emblem: BorderEmblem;
617
- }
618
- interface Item$2 {
619
- enchant: number;
620
- id: number;
621
- internal_slot_id: number;
622
- item_appearance_modifier_id: number;
623
- slot: {
624
- name: string;
625
- type: string;
626
- };
627
- subclass: number;
628
- }
629
- interface RGBWithId {
630
- id: number;
631
- rgba: Color;
632
- }
633
-
634
- /**
635
- * @param realmSlug The slug of the realm.
636
- * @param characterName The lowercase name of the character.
637
- * @returns a summary of a character's appearance settings.
638
- */
639
- declare function characterAppearanceSummary(realmSlug: string, characterName: string): Resource<CharacterAppearanceResponse>;
640
-
641
- interface CharacterCollectionsIndexResponse extends ResponseBase {
642
- character: Character$2;
643
- heirlooms: Href;
644
- mounts: Href;
645
- pets: Href;
646
- toys: Href;
647
- transmogs: Href;
648
- }
649
- interface CharacterHeirloomsCollectionSummaryResponse extends ResponseBase {
650
- heirlooms: Array<Heirloom>;
651
- }
652
- interface CharacterMountsCollectionSummaryResponse extends ResponseBase {
653
- mounts: Array<Mount>;
654
- }
655
- interface CharacterPetsCollectionSummaryResponse extends ResponseBase {
656
- pets: Array<Pet>;
657
- unlocked_battle_pet_slots: number;
658
- }
659
- interface CharacterToysCollectionSummaryResponse extends ResponseBase {
660
- toys: Array<Toy>;
661
- }
662
- interface CharacterTransmogCollectionSummaryResponse extends ResponseBase {
663
- appearance_sets: Array<NameIdKey>;
664
- slots: Array<Slot>;
665
- }
666
- interface Heirloom {
667
- heirloom: NameIdKey;
668
- upgrade: {
669
- level: number;
670
- };
671
- }
672
- interface Mount {
673
- is_character_specific?: boolean;
674
- is_favorite?: boolean;
675
- is_useable: boolean;
676
- mount: NameIdKey;
677
- }
678
- interface Pet {
679
- active_slot?: number;
680
- creature_display?: KeyBase & {
681
- id: number;
682
- };
683
- id: number;
684
- is_active?: boolean;
685
- is_favorite?: boolean;
686
- level: number;
687
- name?: string;
688
- quality: Quality;
689
- species: NameIdKey;
690
- stats: Stats;
691
- }
692
- interface Quality {
693
- name: 'Common' | 'Poor' | 'Rare' | 'Uncommon';
694
- type: 'COMMON' | 'POOR' | 'RARE' | 'UNCOMMON';
695
- }
696
- interface Slot {
697
- appearances: Array<KeyBase & {
698
- id: number;
699
- }>;
700
- slot: Slot;
701
- }
702
- interface Slot {
703
- name: string;
704
- type: string;
705
- }
706
- interface Stats {
707
- breed_id: number;
708
- health: number;
709
- power: number;
710
- speed: number;
711
- }
712
- interface Toy {
713
- is_favorite?: boolean;
714
- toy: NameIdKey;
715
- }
716
-
717
- /**
718
- * @param realmSlug The slug of the realm.
719
- * @param characterName The lowercase name of the character.
720
- * @returns an index of collection types for a character.
721
- */
722
- declare function characterCollectionsIndex(realmSlug: string, characterName: string): Resource<CharacterCollectionsIndexResponse>;
723
- /**
724
- * @param realmSlug The slug of the realm.
725
- * @param characterName The lowercase name of the character.
726
- * @returns a summary of the heirlooms a character has obtained.
727
- */
728
- declare function characterHeirloomsCollectionSummary(realmSlug: string, characterName: string): Resource<CharacterHeirloomsCollectionSummaryResponse>;
729
- /**
730
- * @param realmSlug The slug of the realm.
731
- * @param characterName The lowercase name of the character.
732
- * @returns a summary of the mounts a character has obtained.
733
- */
734
- declare function characterMountsCollectionSummary(realmSlug: string, characterName: string): Resource<CharacterMountsCollectionSummaryResponse>;
735
- /**
736
- * @param realmSlug The slug of the realm.
737
- * @param characterName The lowercase name of the character.
738
- * @returns a summary of the battle pets a character has obtained.
739
- */
740
- declare function characterPetsCollectionSummary(realmSlug: string, characterName: string): Resource<CharacterPetsCollectionSummaryResponse>;
741
- /**
742
- * @param realmSlug The slug of the realm.
743
- * @param characterName The lowercase name of the character.
744
- * @returns a summary of the toys a character has obtained.
745
- */
746
- declare function characterToysCollectionSummary(realmSlug: string, characterName: string): Resource<CharacterToysCollectionSummaryResponse>;
747
- /**
748
- * @param realmSlug The slug of the realm.
749
- * @param characterName The lowercase name of the character.
750
- * @returns a summary of the transmog unlocks a character has obtained.
751
- */
752
- declare function characterTransmogCollectionSummary(realmSlug: string, characterName: string): Resource<CharacterTransmogCollectionSummaryResponse>;
753
-
754
- interface CharacterDungeonsResponse extends ResponseBase {
755
- expansions: Array<Expansion<DungeonMode>>;
756
- }
757
- interface CharacterEncountersSummaryResponse extends ResponseBase {
758
- character: Character$2;
759
- dungeons: Href;
760
- raids: Href;
761
- }
762
- interface CharacterRaidsResponse extends ResponseBase {
763
- character: Character$2;
764
- expansions: Array<Expansion<RaidMode>>;
765
- }
766
- interface DungeonDifficulties {
767
- name: 'Heroic' | 'Mythic' | 'Mythic+ Dungeons' | 'Normal';
768
- type: 'HEROIC' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'NORMAL';
769
- }
770
- interface DungeonMode {
771
- difficulty: DungeonDifficulties;
772
- progress: Progress;
773
- status: Status;
774
- }
775
- interface Encounter {
776
- completed_count: number;
777
- encounter: NameIdKey;
778
- last_kill_timestamp: number;
779
- }
780
- interface Expansion<T> {
781
- expansion: NameIdKey;
782
- instances: Array<Instance<T>>;
783
- }
784
- interface Instance<T> {
785
- instance: NameIdKey;
786
- modes: Array<T>;
787
- }
788
- interface Progress {
789
- completed_count: number;
790
- encounters: Array<Encounter>;
791
- total_count: number;
792
- }
793
- interface RaidDifficulties {
794
- name: '10 Player' | '10 Player (Heroic)' | '25 Player' | '25 Player (Heroic)' | 'Heroic' | 'Mythic' | 'Normal' | 'Raid Finder';
795
- type: 'HEROIC' | 'LEGACY_10_MAN' | 'LEGACY_10_MAN_HEROIC' | 'LEGACY_25_MAN' | 'LEGACY_25_MAN_HEROIC' | 'LFR' | 'MYTHIC' | 'NORMAL';
796
- }
797
- interface RaidMode {
798
- difficulty: RaidDifficulties;
799
- progress: Progress;
800
- status: Status;
801
- }
802
- interface Status {
803
- name: 'Complete' | 'In Progress';
804
- type: 'COMPLETE' | 'IN_PROGRESS';
805
- }
806
-
807
- /**
808
- * @param realmSlug The slug of the realm.
809
- * @param characterName The lowercase name of the character.
810
- * @returns a summary of a character's completed dungeons.
811
- */
812
- declare function characterDungeons(realmSlug: string, characterName: string): Resource<CharacterDungeonsResponse>;
813
- /**
814
- * @param realmSlug The slug of the realm.
815
- * @param characterName The lowercase name of the character.
816
- * @returns a summary of a character's encounters.
817
- */
818
- declare function characterEncountersSummary(realmSlug: string, characterName: string): Resource<CharacterEncountersSummaryResponse>;
819
- /**
820
- * @param realmSlug The slug of the realm.
821
- * @param characterName The lowercase name of the character.
822
- * @returns a summary of a character's completed raids.
823
- */
824
- declare function characterRaids(realmSlug: string, characterName: string): Resource<CharacterRaidsResponse>;
825
-
826
- interface CharacterEquipmentSummaryResponse extends ResponseBase {
827
- character: Character$2;
828
- equipped_item_sets: Array<Set>;
829
- equipped_items: Array<EquippedItem>;
830
- }
831
- interface Armor$1 {
832
- display: NameDescription;
833
- value: number;
834
- }
835
- interface Damage$2 {
836
- damage_class: NameType;
837
- display_string: string;
838
- max_value: number;
839
- min_value: number;
840
- }
841
- interface DisplayStrings {
842
- copper: string;
843
- gold: string;
844
- header: string;
845
- silver: string;
846
- }
847
- interface DisplayStringValue {
848
- display_string: string;
849
- value: number;
850
- }
851
- interface Effect$1 {
852
- display_string: string;
853
- is_active: boolean;
854
- required_count: number;
855
- }
856
- interface Enchantment {
857
- display_string: string;
858
- enchantment_id: number;
859
- enchantment_slot: EnchantmentSlot;
860
- source_item?: NameIdKey;
861
- }
862
- interface EnchantmentSlot {
863
- id: number;
864
- type: string;
865
- }
866
- interface EquippedItem {
867
- armor?: Armor$1;
868
- binding: NameType;
869
- bonus_list?: Array<number>;
870
- context: number;
871
- description?: string;
872
- durability?: DisplayStringValue;
873
- enchantments?: Array<Enchantment>;
874
- inventory_type: NameType;
875
- is_subclass_hidden?: boolean;
876
- item: KeyBase & {
877
- id: number;
878
- };
879
- item_class: NameIdKey;
880
- item_subclass: NameIdKey;
881
- level: DisplayStringValue;
882
- limit_category?: string;
883
- media: KeyBase & {
884
- id: number;
885
- };
886
- modified_appearance_id?: number;
887
- modified_crafting_stat?: Array<ModifiedCraftingStat>;
888
- name: string;
889
- name_description: NameDescription;
890
- quality: NameType;
891
- quantity: number;
892
- requirements?: Requirements$3;
893
- sell_price?: SellPrice;
894
- set?: Set;
895
- slot: NameType;
896
- sockets?: Array<Socket$1>;
897
- spells?: Array<Spell$1>;
898
- stats?: Array<Stat$2>;
899
- transmog?: Transmog;
900
- unique_equipped?: string;
901
- weapon?: Weapon$2;
902
- }
903
- interface ItemElement extends NameIdKey {
904
- is_equipped?: boolean;
905
- }
906
- interface ModifiedCraftingStat {
907
- id: number;
908
- name: string;
909
- type: string;
910
- }
911
- interface NameDescription {
912
- color: Color;
913
- display_string: string;
914
- }
915
- interface NameType {
916
- name: string;
917
- type: string;
918
- }
919
- interface PlayableClasses {
920
- display_string: string;
921
- links: Array<NameIdKey>;
922
- }
923
- interface Requirements$3 {
924
- level: DisplayStringValue;
925
- playable_classes?: PlayableClasses;
926
- }
927
- interface SellPrice {
928
- display_strings: DisplayStrings;
929
- value: number;
930
- }
931
- interface Set {
932
- display_string: string;
933
- effects: Array<Effect$1>;
934
- item_set: NameIdKey;
935
- items: Array<ItemElement>;
936
- }
937
- interface Socket$1 {
938
- display_string: string;
939
- item: NameIdKey;
940
- media: KeyBase & {
941
- id: number;
942
- };
943
- socket_type: NameType;
944
- }
945
- interface Spell$1 {
946
- description: string;
947
- spell: NameIdKey;
948
- }
949
- interface Stat$2 {
950
- display: NameDescription;
951
- is_equip_bonus?: boolean;
952
- is_negated?: boolean;
953
- type: NameType;
954
- value: number;
955
- }
956
- interface Transmog {
957
- display_string: string;
958
- item: NameIdKey;
959
- item_modified_appearance_id: number;
960
- }
961
- interface Weapon$2 {
962
- attack_speed: DisplayStringValue;
963
- damage: Damage$2;
964
- dps: DisplayStringValue;
965
- }
966
-
967
- /**
968
- * @param realmSlug The slug of the realm.
969
- * @param characterName The lowercase name of the character.
970
- * @returns a summary of the items equipped by a character.
971
- */
972
- declare function characterEquipmentSummary(realmSlug: string, characterName: string): Resource<CharacterEquipmentSummaryResponse>;
973
-
974
- interface CharacterHunterPetsSummaryResponse extends ResponseBase {
975
- character: Character$2;
976
- hunter_pets: Array<HunterPet>;
977
- }
978
- interface HunterPet {
979
- creature: NameIdKey;
980
- creature_display: KeyBase & {
981
- id: number;
982
- };
983
- is_active?: boolean;
984
- is_summoned?: boolean;
985
- level: number;
986
- name: string;
987
- slot: number;
988
- }
989
-
990
- /**
991
- * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
992
- * @param realmSlug The slug of the realm.
993
- * @param characterName The lowercase name of the character.
994
- * @returns a summary of the character's hunter pets.
995
- */
996
- declare function characterHunterPetsSummary(realmSlug: string, characterName: string): Resource<CharacterHunterPetsSummaryResponse>;
997
-
998
- interface CharacterMediaSummaryResponse extends ResponseBase {
999
- assets: Array<Asset$1>;
1000
- character: Character$2;
1001
- }
1002
- interface Asset$1 {
1003
- key: string;
1004
- value: string;
1005
- }
1006
-
1007
- /**
1008
- * @param realmSlug The slug of the realm.
1009
- * @param characterName The lowercase name of the character.
1010
- * @returns a summary of the media assets available for a character (such as an avatar render).
1011
- */
1012
- declare function characterMediaSummary(realmSlug: string, characterName: string): Resource<CharacterMediaSummaryResponse>;
1013
-
1014
- interface CharacterMythicKeystoneProfileIndexResponse extends ResponseBase {
1015
- character: Character$2;
1016
- current_period: CurrentPeriod;
1017
- seasons: Array<KeyBase & {
1018
- id: number;
1019
- }>;
1020
- }
1021
- interface CharacterMythicKeystoneSeasonDetailsResponse extends ResponseBase {
1022
- best_runs: Array<BestRun>;
1023
- character: NameIdKey;
1024
- mythic_rating: MythicRating$1;
1025
- season: KeyBase & {
1026
- id: number;
1027
- };
1028
- }
1029
- interface BestRun {
1030
- completed_timestamp: number;
1031
- dungeon: NameIdKey;
1032
- duration: number;
1033
- is_completed_within_time: boolean;
1034
- keystone_affixes: Array<NameIdKey>;
1035
- keystone_level: number;
1036
- members: Array<Member$2>;
1037
- mythic_rating: MythicRating$1;
1038
- }
1039
- interface CurrentPeriod {
1040
- period: KeyBase & {
1041
- id: number;
1042
- };
1043
- }
1044
- interface Member$2 {
1045
- character: NameId & {
1046
- realm: Realm$4;
1047
- };
1048
- equipped_item_level: number;
1049
- race: NameIdKey;
1050
- specialization: NameIdKey;
1051
- }
1052
- interface MythicRating$1 {
1053
- color: Color;
1054
- rating: number;
1055
- }
1056
-
1057
- /**
1058
- * @param realmSlug The slug of the realm.
1059
- * @param characterName The lowercase name of the character.
1060
- * @returns Returns the Mythic Keystone season details for a character. Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
1061
- */
1062
- declare function characterMythicKeystoneProfileIndex(realmSlug: string, characterName: string): Resource<CharacterMythicKeystoneProfileIndexResponse>;
1063
- /**
1064
- * Returns the Mythic Keystone season details for a character.
1065
- * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
1066
- * @param realmSlug The slug of the realm.
1067
- * @param characterName The lowercase name of the character.
1068
- * @param seasonId The ID of the season.
1069
- * @returns the Mythic Keystone season details for a character.
1070
- */
1071
- declare function characterMythicKeystoneSeasonDetails(realmSlug: string, characterName: string, seasonId: number): Resource<CharacterMythicKeystoneSeasonDetailsResponse>;
1072
-
1073
- interface CharacterProfessionsSummaryResponse extends ResponseBase {
1074
- character: Character$2;
1075
- primaries: Array<Primary>;
1076
- secondaries: Array<Secondary>;
1077
- }
1078
- interface Primary {
1079
- profession: NameIdKey;
1080
- tiers: Array<Tier$1>;
1081
- }
1082
- interface Secondary {
1083
- max_skill_points?: number;
1084
- profession: NameIdKey;
1085
- skill_points?: number;
1086
- tiers?: Array<Tier$1>;
1087
- }
1088
- interface Tier$1 {
1089
- known_recipes?: Array<NameIdKey>;
1090
- max_skill_points: number;
1091
- skill_points: number;
1092
- tier: NameId;
1093
- }
1094
-
1095
- /**
1096
- * @param realmSlug The slug of the realm.
1097
- * @param characterName The lowercase name of the character.
1098
- * @returns a summary of the professions for a character.
1099
- */
1100
- declare function characterProfessionsSummary(realmSlug: string, characterName: string): Resource<CharacterProfessionsSummaryResponse>;
1101
-
1102
- interface CharacterProfileStatusResponse extends ResponseBase {
1103
- id: number;
1104
- is_valid: boolean;
1105
- }
1106
- interface CharacterProfileSummaryResponse extends ResponseBase {
1107
- achievement_points: number;
1108
- achievements: Href;
1109
- achievements_statistics: Href;
1110
- active_spec: NameIdKey;
1111
- active_title: NameIdKey & {
1112
- display_string: string;
1113
- };
1114
- appearance: Href;
1115
- average_item_level: number;
1116
- character_class: NameIdKey;
1117
- collections: Href;
1118
- covenant_progress: CovenantProgress;
1119
- encounters: Href;
1120
- equipment: Href;
1121
- equipped_item_level: number;
1122
- experience: number;
1123
- faction: Faction;
1124
- gender: Faction;
1125
- guild: Guild$2;
1126
- hunter_pets: Href;
1127
- id: number;
1128
- last_login_timestamp: number;
1129
- level: number;
1130
- media: Href;
1131
- mythic_keystone_profile: Href;
1132
- name: string;
1133
- name_search: string;
1134
- professions: Href;
1135
- pvp_summary: Href;
1136
- quests: Href;
1137
- race: NameIdKey;
1138
- realm: Realm$4;
1139
- reputations: Href;
1140
- specializations: Href;
1141
- statistics: Href;
1142
- titles: Href;
1143
- }
1144
- interface CovenantProgress {
1145
- chosen_covenant: NameIdKey;
1146
- renown_level: number;
1147
- soulbinds: Href;
1148
- }
1149
- interface Guild$2 extends NameIdKey {
1150
- faction: Faction;
1151
- realm: Realm$4;
1152
- }
1153
-
1154
- /**
1155
- * 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:
1156
- * - an HTTP 404 Not Found error is returned
1157
- * - the is_valid value is false
1158
- * - the returned character ID doesn't match the previously recorded value for the character
1159
- *
1160
- * The following example illustrates how to use this endpoint:
1161
- *
1162
- * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.
1163
- * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.
1164
- * 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.
1165
- * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.
1166
- * @param realmSlug The slug of the realm.
1167
- * @param characterName The lowercase name of the character.
1168
- * @returns the status of the character profile for a character.
1169
- */
1170
- declare function characterProfileStatus(realmSlug: string, characterName: string): Resource<CharacterProfileStatusResponse>;
1171
- /**
1172
- * Returns a summary of the character profile for a character.
1173
- * @param realmSlug The slug of the realm.
1174
- * @param characterName The lowercase name of the character.
1175
- * @returns a summary of the character profile for a character.
1176
- */
1177
- declare function characterProfileSummary(realmSlug: string, characterName: string): Resource<CharacterProfileSummaryResponse>;
1178
-
1179
- interface CharacterPvpSummaryResponse extends ResponseBase {
1180
- character: Character$2;
1181
- honor_level: number;
1182
- honorable_kills: number;
1183
- pvp_map_statistics: Array<PvpMapStatistic>;
1184
- }
1185
- interface MatchStatistics {
1186
- lost: number;
1187
- played: number;
1188
- won: number;
1189
- }
1190
- interface PvpMapStatistic {
1191
- match_statistics: MatchStatistics;
1192
- world_map: NameId;
1193
- }
1194
-
1195
- /**
1196
- * @param realmSlug The slug of the realm.
1197
- * @param characterName The lowercase name of the character.
1198
- * @returns a PvP summary for a character.
1199
- */
1200
- declare function characterPvpSummary(realmSlug: string, characterName: string): Resource<CharacterPvpSummaryResponse>;
1201
-
1202
- interface CharacterCompletedQuestsResponse extends ResponseBase {
1203
- character: Character$2;
1204
- quests: Array<NameIdKey>;
1205
- }
1206
- interface CharacterQuestsResponse extends ResponseBase {
1207
- character: Character$2;
1208
- completed: Href;
1209
- in_progress: Array<NameIdKey>;
1210
- }
1211
-
1212
- /**
1213
- * @param realmSlug The slug of the realm.
1214
- * @param characterName The lowercase name of the character.
1215
- * @returns a list of quests that a character has completed.
1216
- */
1217
- declare function characterCompletedQuests(realmSlug: string, characterName: string): Resource<CharacterCompletedQuestsResponse>;
1218
- /**
1219
- * @param realmSlug The slug of the realm.
1220
- * @param characterName The lowercase name of the character.
1221
- * @returns a character's active quests as well as a link to the character's completed quests.
1222
- */
1223
- declare function characterQuests(realmSlug: string, characterName: string): Resource<CharacterQuestsResponse>;
1224
-
1225
- interface CharacterReputationsSummaryResponse extends ResponseBase {
1226
- character: Character$2;
1227
- reputations: Array<Reputation$1>;
1228
- }
1229
- interface Paragon {
1230
- max: number;
1231
- raw: number;
1232
- value: number;
1233
- }
1234
- interface Reputation$1 {
1235
- faction: NameIdKey;
1236
- paragon?: Paragon;
1237
- standing: Standing;
1238
- }
1239
- interface Standing {
1240
- max: number;
1241
- name: string;
1242
- raw: number;
1243
- tier: number;
1244
- value: number;
1245
- }
1246
-
1247
- /**
1248
- * @param realmSlug The slug of the realm.
1249
- * @param characterName The lowercase name of the character.
1250
- * @returns a summary of a character's reputations.
1251
- */
1252
- declare function characterReputationsSummary(realmSlug: string, characterName: string): Resource<CharacterReputationsSummaryResponse>;
1253
-
1254
- interface CharacterSoulbindsResponse extends ResponseBase {
1255
- character: Character$2;
1256
- chosen_covenant: NameIdKey;
1257
- renown_level: number;
1258
- soulbinds: Array<Soulbind>;
1259
- }
1260
- interface ConduitSocket {
1261
- socket: Socket;
1262
- type: TypeClass;
1263
- }
1264
- interface Socket {
1265
- conduit: NameIdKey;
1266
- rank: number;
1267
- }
1268
- interface Soulbind {
1269
- is_active?: boolean;
1270
- soulbind: NameIdKey;
1271
- traits: Array<Trait>;
1272
- }
1273
- interface Trait {
1274
- conduit_socket?: ConduitSocket;
1275
- display_order: number;
1276
- tier: number;
1277
- trait?: NameIdKey;
1278
- }
1279
- interface TypeClass {
1280
- name: 'Endurance Conduit Slot' | 'Finesse Conduit Slot' | 'Potency Conduit Slot';
1281
- type: 'ENDURANCE' | 'FINESSE' | 'POTENCY';
1282
- }
1283
-
1284
- /**
1285
- * @param realmSlug The slug of the realm.
1286
- * @param characterName The lowercase name of the character.
1287
- * @returns a character's soulbinds.
1288
- */
1289
- declare function characterSoulbinds(realmSlug: string, characterName: string): Resource<CharacterSoulbindsResponse>;
1290
-
1291
- interface CharacterSpecializationsSummaryResponse extends ResponseBase {
1292
- active_hero_talent: NameIdKey;
1293
- active_specialization: NameIdKey;
1294
- character: Character$2;
1295
- specializations: Array<Specialization$1>;
1296
- }
1297
- interface Loadout {
1298
- is_active: boolean;
1299
- selected_class_talent_tree: NameIdKey;
1300
- selected_class_talents: Array<SelectedTalent>;
1301
- selected_spec_talent_tree: NameIdKey;
1302
- selected_spec_talents?: Array<SelectedTalent>;
1303
- talent_loadout_code: string;
1304
- }
1305
- interface PvpTalentSlot {
1306
- selected: Selected;
1307
- slot_number: number;
1308
- }
1309
- interface Selected {
1310
- spell_tooltip: SpellTooltip$2;
1311
- talent: NameIdKey;
1312
- }
1313
- interface SelectedTalent {
1314
- default_points?: number;
1315
- id: number;
1316
- rank: number;
1317
- tooltip: Selected;
1318
- }
1319
- interface Specialization$1 {
1320
- glyphs?: Array<NameIdKey>;
1321
- loadouts: Array<Loadout>;
1322
- pvp_talent_slots?: Array<PvpTalentSlot>;
1323
- specialization: NameIdKey;
1324
- }
1325
- interface SpellTooltip$2 {
1326
- cast_time: '1.5 sec cast' | '2.5 sec cast' | '3 sec cast' | 'Channeled' | 'Instant' | 'Passive';
1327
- cooldown?: string;
1328
- description: string;
1329
- power_cost?: string;
1330
- range?: '8-30 yd range' | '15 yd range' | '30 yd range' | '40 yd range' | '50 yd range' | '55 yd range' | '100 yd range' | 'Melee Range';
1331
- spell: NameIdKey;
1332
- }
1333
-
1334
- /**
1335
- * @param realmSlug The slug of the realm.
1336
- * @param characterName The lowercase name of the character.
1337
- * @returns a summary of a character's specializations.
1338
- */
1339
- declare function characterSpecializationsSummary(realmSlug: string, characterName: string): Resource<CharacterSpecializationsSummaryResponse>;
1340
-
1341
- interface CharacterStatisticsSummaryResponse extends ResponseBase {
1342
- agility: BaseEffectiveStat;
1343
- armor: BaseEffectiveStat;
1344
- attack_power: number;
1345
- avoidance: Rating;
1346
- block: RatingWithValue;
1347
- bonus_armor: number;
1348
- character: Character$2;
1349
- dodge: RatingWithValue;
1350
- health: number;
1351
- intellect: BaseEffectiveStat;
1352
- lifesteal: RatingWithValue;
1353
- main_hand_damage_max: number;
1354
- main_hand_damage_min: number;
1355
- main_hand_dps: number;
1356
- main_hand_speed: number;
1357
- mana_regen: number;
1358
- mana_regen_combat: number;
1359
- mastery: RatingWithValue;
1360
- melee_crit: RatingWithValue;
1361
- melee_haste: RatingWithValue;
1362
- off_hand_damage_max: number;
1363
- off_hand_damage_min: number;
1364
- off_hand_dps: number;
1365
- off_hand_speed: number;
1366
- parry: RatingWithValue;
1367
- power: number;
1368
- power_type: Character$2;
1369
- ranged_crit: RatingWithValue;
1370
- ranged_haste: RatingWithValue;
1371
- speed: Rating;
1372
- spell_crit: RatingWithValue;
1373
- spell_haste: RatingWithValue;
1374
- spell_penetration: number;
1375
- spell_power: number;
1376
- stamina: BaseEffectiveStat;
1377
- strength: BaseEffectiveStat;
1378
- versatility: number;
1379
- versatility_damage_done_bonus: number;
1380
- versatility_damage_taken_bonus: number;
1381
- versatility_healing_done_bonus: number;
1382
- }
1383
- interface BaseEffectiveStat {
1384
- base: number;
1385
- effective: number;
1386
- }
1387
- interface Rating {
1388
- rating: number;
1389
- rating_bonus: number;
1390
- }
1391
- interface RatingWithValue {
1392
- rating: number;
1393
- rating_bonus: number;
1394
- value: number;
1395
- }
1396
-
1397
- /**
1398
- * @param realmSlug The slug of the realm.
1399
- * @param characterName The lowercase name of the character.
1400
- * @returns a statistics summary for a character.
1401
- */
1402
- declare function characterStatisticsSummary(realmSlug: string, characterName: string): Resource<CharacterStatisticsSummaryResponse>;
1403
-
1404
- interface CharacterTitlesSummaryResponse extends ResponseBase {
1405
- active_title: NameIdKey & {
1406
- display_string: string;
1407
- };
1408
- character: Character$2;
1409
- titles: Array<NameIdKey>;
1410
- }
1411
-
1412
- /**
1413
- * @param realmSlug The slug of the realm.
1414
- * @param characterName The lowercase name of the character.
1415
- * @returns a summary of titles a character has obtained.
1416
- */
1417
- declare function characterTitlesSummary(realmSlug: string, characterName: string): Resource<CharacterTitlesSummaryResponse>;
1418
-
1419
- /**
1420
- * The category of a realm.
1421
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1422
- */
1423
- type RealmCategory = 'Brazil' | 'English' | 'French' | 'German' | 'Italian' | 'Latin America' | 'Oceanic' | 'PS' | 'Russian' | 'Spanish' | 'United States' | '한국';
1424
- /**
1425
- * The response for a realm index.
1426
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1427
- */
1428
- interface RealmIndexResponse extends ResponseBase {
1429
- realms: Array<Realm$4>;
1430
- }
1431
- /**
1432
- * The response for a realm.
1433
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1434
- */
1435
- interface RealmResponse extends NameId, ResponseBase {
1436
- category: RealmCategory;
1437
- connected_realm: {
1438
- href: string;
1439
- };
1440
- is_tournament: boolean;
1441
- locale: WithoutUnderscore<Locales>;
1442
- region: NameIdKey;
1443
- slug: string;
1444
- timezone: RealmTimezone;
1445
- type: {
1446
- name: RealmType;
1447
- type: RealmTypeCapitalized;
1448
- };
1449
- }
1450
- /**
1451
- * The search parameters for realms.
1452
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1453
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
1454
- */
1455
- interface RealmSearchParameters extends BaseSearchParameters {
1456
- timezone?: RealmTimezone;
1457
- }
1458
- /**
1459
- * The response for a realm search.
1460
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1461
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
1462
- */
1463
- interface RealmSearchResponseItem extends KeyBase {
1464
- data: {
1465
- category: Record<Locales, string | undefined>;
1466
- id: number;
1467
- is_tournament: boolean;
1468
- locale: WithoutUnderscore<Locales>;
1469
- name: Record<Locales, string | undefined>;
1470
- region: {
1471
- id: number;
1472
- name: Record<Locales, string | undefined>;
1473
- };
1474
- slug: string;
1475
- timezone: RealmTimezone;
1476
- type: {
1477
- name: Record<Locales, string | undefined>;
1478
- type: RealmTypeCapitalized;
1479
- };
1480
- };
1481
- }
1482
- /**
1483
- * The timezone of a realm.
1484
- */
1485
- type RealmTimezone = 'America/Chicago' | 'America/Denver' | 'America/Los_Angeles' | 'America/New_York' | 'America/Sao_Paulo' | 'Asia/Seoul' | 'Australia/Melbourne' | 'Europe/Paris';
1486
- /**
1487
- * The type of a realm, not capitalized or shortened.
1488
- */
1489
- type RealmType = 'Normal' | 'Roleplaying';
1490
- /**
1491
- * The type of a realm, capitalized and shortended).
1492
- */
1493
- type RealmTypeCapitalized = 'NORMAL' | 'RP';
1494
- type WithoutUnderscore<T extends string> = T extends `${infer Prefix}_${infer Suffix}` ? `${Prefix}${Suffix}` : never;
1495
-
1496
- /**
1497
- * Connected Realm Index API response.
1498
- * @see https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
1499
- */
1500
- interface ConnectedRealmIndexResponse extends ResponseBase {
1501
- connected_realms: Array<{
1502
- href: string;
1503
- }>;
1504
- }
1505
- /**
1506
- * Connected Realm API response.
1507
- * @see https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
1508
- */
1509
- interface ConnectedRealmResponse extends ResponseBase {
1510
- auctions: {
1511
- href: string;
1512
- };
1513
- has_queue: boolean;
1514
- id: number;
1515
- mythic_leaderboards: {
1516
- href: string;
1517
- };
1518
- population: {
1519
- name: RealmPopulation;
1520
- type: RealmPopulationCapitalized;
1521
- };
1522
- realm_locked_status?: RealmLockedStatus;
1523
- realms: Array<Realm$3>;
1524
- status: {
1525
- name: RealmStatus;
1526
- type: Uppercase<RealmStatus>;
1527
- };
1528
- }
1529
- /**
1530
- * Connected Realm Search API parameters.
1531
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1532
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
1533
- */
1534
- interface ConnectedRealmSearchParameters extends BaseSearchParameters {
1535
- 'realms.timezone'?: RealmTimezone;
1536
- 'status.type'?: Uppercase<RealmStatus>;
1537
- }
1538
- /**
1539
- * Connected Realm Search API response item.
1540
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1541
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
1542
- */
1543
- interface ConnectedRealmSearchResponseItem extends KeyBase {
1544
- data: {
1545
- has_queue: boolean;
1546
- id: number;
1547
- population: SearchRealmPopulation;
1548
- realms: Array<SearchRealm>;
1549
- status: SearchRealmStatus;
1550
- };
1551
- }
1552
- interface Realm$3 {
1553
- category: RealmCategory;
1554
- connected_realm: {
1555
- href: string;
1556
- };
1557
- id: number;
1558
- is_tournament: boolean;
1559
- locale: WithoutUnderscore<Locales>;
1560
- name: string;
1561
- region: NameIdKey;
1562
- slug: string;
1563
- timezone: RealmTimezone;
1564
- type: {
1565
- name: RealmType;
1566
- type: RealmTypeCapitalized;
1567
- };
1568
- }
1569
- interface RealmLockedStatus {
1570
- is_locked_for_new_characters: boolean;
1571
- is_locked_for_pct: boolean;
1572
- }
1573
- type RealmPopulation = 'Full' | 'High' | 'Low' | 'Medium' | 'New Players';
1574
- type RealmPopulationCapitalized = 'FULL' | 'HIGH' | 'LOW' | 'MEDIUM' | 'RECOMMENDED';
1575
- type RealmStatus = 'Down' | 'Up';
1576
- interface SearchRealm {
1577
- category: Record<Locales, string | undefined>;
1578
- id: number;
1579
- is_tournament: boolean;
1580
- locale: WithoutUnderscore<Locales>;
1581
- name: Record<Locales, string | undefined>;
1582
- region: {
1583
- id: number;
1584
- name: Record<Locales, string | undefined>;
1585
- };
1586
- slug: string;
1587
- timezone: RealmTimezone;
1588
- type: {
1589
- name: Record<Locales, string | undefined>;
1590
- type: RealmTypeCapitalized;
1591
- };
1592
- }
1593
- interface SearchRealmPopulation {
1594
- name: Record<Locales, string>;
1595
- type: RealmPopulationCapitalized;
1596
- }
1597
- interface SearchRealmStatus {
1598
- name: Record<Locales, string>;
1599
- type: Uppercase<RealmStatus>;
1600
- }
1601
-
1602
- /**
1603
- * Get a connected realm by ID.
1604
- * @param connectedRealmId The connected realm ID.
1605
- * @returns The connected realm. See {@link ConnectedRealmResponse}.
1606
- */
1607
- declare function connectedRealm(connectedRealmId: number): Resource<ConnectedRealmResponse>;
1608
- /**
1609
- * Get a connected realm index.
1610
- * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.
1611
- */
1612
- declare function connectedRealmIndex(): Resource<ConnectedRealmIndexResponse>;
1613
- /**
1614
- * Search for connected realms.
1615
- * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.
1616
- * @returns The search results. See {@link SearchResponse} & {@link ConnectedRealmSearchResponseItem}.
1617
- */
1618
- declare function connectedRealmSearch(options: ConnectedRealmSearchParameters): Resource<SearchResponse<ConnectedRealmSearchResponseItem>, ConnectedRealmSearchParameters>;
1619
-
1620
- /**
1621
- * Interface for a response from the conduit index endpoint.
1622
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1623
- */
1624
- interface ConduitIndexResponse extends ResponseBase {
1625
- conduits: Array<NameIdKey>;
1626
- }
1627
- /**
1628
- * Interface for a response from the conduit endpoint.
1629
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1630
- */
1631
- interface ConduitResponse extends ResponseBase {
1632
- id: number;
1633
- item: Item$1;
1634
- name: string;
1635
- ranks: Array<Rank$1>;
1636
- socket_type: SocketType;
1637
- }
1638
- /**
1639
- * Interface for a response from the covenant index endpoint.
1640
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1641
- */
1642
- interface CovenantIndexResponse extends ResponseBase {
1643
- covenants: Array<NameIdKey>;
1644
- }
1645
- /**
1646
- * Interface for a response from the covenant media endpoint.
1647
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1648
- */
1649
- interface CovenantMediaResponse extends ResponseBase {
1650
- class_abilities: Array<ClassAbility>;
1651
- description: string;
1652
- id: number;
1653
- media: Media$e;
1654
- name: string;
1655
- renown_rewards: Array<RenownReward>;
1656
- signature_ability: SignatureAbility;
1657
- soulbinds: Array<NameIdKey>;
1658
- }
1659
- /**
1660
- * Interface for a response from the covenant endpoint.
1661
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1662
- */
1663
- interface CovenantResponse extends ResponseBase {
1664
- description: string;
1665
- id: number;
1666
- name: string;
1667
- renown_rewards: Array<RenownReward>;
1668
- }
1669
- /**
1670
- * Interface for a response from the soulbind index endpoint.
1671
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1672
- */
1673
- interface SoulbindIndexResponse extends ResponseBase {
1674
- soulbinds: Array<NameIdKey>;
1675
- }
1676
- /**
1677
- * Interface for a response from the soulbind endpoint.
1678
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1679
- */
1680
- interface SoulbindResponse extends ResponseBase {
1681
- covenant: NameIdKey;
1682
- creature: NameIdKey;
1683
- follower: NameIdKey;
1684
- id: number;
1685
- name: string;
1686
- talent_tree: NameIdKey;
1687
- }
1688
- interface ClassAbility {
1689
- id: number;
1690
- playable_class: NameIdKey;
1691
- spell_tooltip: ClassAbilitySpellTooltip;
1692
- }
1693
- interface ClassAbilitySpellTooltip {
1694
- cast_time: string;
1695
- cooldown?: string;
1696
- description: string;
1697
- power_cost?: null | string;
1698
- range?: string;
1699
- spell: NameIdKey;
1700
- }
1701
- interface Item$1 extends KeyBase {
1702
- id: number;
1703
- }
1704
- interface Media$e extends KeyBase {
1705
- id: number;
1706
- }
1707
- interface Rank$1 {
1708
- id: number;
1709
- spell_tooltip: SpellTooltip$1;
1710
- tier: number;
1711
- }
1712
- interface RenownReward {
1713
- level: number;
1714
- reward: NameIdKey;
1715
- }
1716
- interface SignatureAbility {
1717
- id: number;
1718
- spell_tooltip: SignatureAbilitySpellTooltip;
1719
- }
1720
- interface SignatureAbilitySpellTooltip {
1721
- cast_time: string;
1722
- cooldown: string;
1723
- description: string;
1724
- spell: NameIdKey;
1725
- }
1726
- interface SocketType {
1727
- name: string;
1728
- type: string;
1729
- }
1730
- interface SpellTooltip$1 {
1731
- cast_time: string;
1732
- description: string;
1733
- spell: Item$1;
1734
- }
1735
-
1736
- /**
1737
- * Get a conduit by ID.
1738
- * @param conduitId The conduit ID.
1739
- * @returns The conduit. See {@link ConduitResponse}.
1740
- */
1741
- declare function conduit(conduitId: number): Resource<ConduitResponse>;
1742
- /**
1743
- * Get a conduit index.
1744
- * @returns The conduit index. See {@link ConduitIndexResponse}.
1745
- */
1746
- declare function conduitIndex(): Resource<ConduitIndexResponse>;
1747
- /**
1748
- * Get a covenant by ID.
1749
- * @param covenantId The covenant ID.
1750
- * @returns The covenant. See {@link CovenantResponse}.
1751
- */
1752
- declare function covenant(covenantId: number): Resource<CovenantResponse>;
1753
- /**
1754
- * Get a covenant index.
1755
- * @returns The covenant index. See {@link CovenantIndexResponse}.
1756
- */
1757
- declare function covenantIndex(): Resource<CovenantIndexResponse>;
1758
- /**
1759
- * Get covenant media by ID.
1760
- * @param covenantId The covenant ID.
1761
- * @returns The covenant media. See {@link CovenantMediaResponse}.
1762
- */
1763
- declare function covenantMedia(covenantId: number): Resource<CovenantMediaResponse>;
1764
- /**
1765
- * Get a soulbind by ID.
1766
- * @param soulbindId The soulbind ID.
1767
- * @returns The soulbind. See {@link SoulbindResponse}.
1768
- */
1769
- declare function soulbind(soulbindId: number): Resource<SoulbindResponse>;
1770
- /**
1771
- * Get a soulbind index.
1772
- * @returns The soulbind index. See {@link SoulbindIndexResponse}.
1773
- */
1774
- declare function soulbindIndex(): Resource<SoulbindIndexResponse>;
1775
-
1776
- /**
1777
- * The response for creature display media.
1778
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1779
- */
1780
- interface CreatureDisplayMediaResponse extends ResponseBase {
1781
- assets: Array<DisplayMediaAsset>;
1782
- id: number;
1783
- }
1784
- /**
1785
- * The response for a creature family index.
1786
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1787
- */
1788
- interface CreatureFamilyIndexResponse extends ResponseBase {
1789
- creature_families: Array<NameIdKey>;
1790
- }
1791
- /**
1792
- * The response for creature family media.
1793
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1794
- */
1795
- interface CreatureFamilyMediaResponse extends ResponseBase {
1796
- assets: Array<MediaAsset$1>;
1797
- id: number;
1798
- }
1799
- /**
1800
- * The response for a creature family.
1801
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1802
- */
1803
- interface CreatureFamilyResponse extends ResponseBase {
1804
- id: number;
1805
- media: Media$d;
1806
- name: string;
1807
- specialization: NameIdKey;
1808
- }
1809
- /**
1810
- * The response for a creature.
1811
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1812
- */
1813
- interface CreatureResponse extends ResponseBase {
1814
- creature_displays: Array<CreatureDisplay$2>;
1815
- family: NameIdKey;
1816
- id: number;
1817
- is_tameable: boolean;
1818
- name: string;
1819
- type: NameIdKey;
1820
- }
1821
- /**
1822
- * The search parameters for a creature.
1823
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1824
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
1825
- */
1826
- interface CreatureSearchParameters extends BaseSearchParameters {
1827
- locale: Locales;
1828
- name: string;
1829
- }
1830
- /**
1831
- * The response for a creature search.
1832
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1833
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
1834
- */
1835
- interface CreatureSearchResponseItem extends KeyBase {
1836
- data: {
1837
- creature_displays: Array<{
1838
- id: number;
1839
- }>;
1840
- family?: {
1841
- id: number;
1842
- name: Record<Locales, string | undefined>;
1843
- };
1844
- id: number;
1845
- is_tameable: boolean;
1846
- name: Record<Locales, string | undefined>;
1847
- type: {
1848
- id: number;
1849
- name: Record<Locales, string | undefined>;
1850
- };
1851
- };
1852
- }
1853
- /**
1854
- * The response for a creature type index.
1855
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1856
- */
1857
- interface CreatureTypeIndexResponse extends ResponseBase {
1858
- creature_types: Array<NameIdKey>;
1859
- }
1860
- /**
1861
- * The response for a creature type.
1862
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1863
- */
1864
- interface CreatureTypeResponse extends ResponseBase {
1865
- id: number;
1866
- name: string;
1867
- }
1868
- interface CreatureDisplay$2 extends KeyBase {
1869
- id: number;
1870
- }
1871
- interface DisplayMediaAsset {
1872
- key: string;
1873
- value: string;
1874
- }
1875
- interface Media$d extends KeyBase {
1876
- id: number;
1877
- }
1878
-
1879
- /**
1880
- * Get a creature by ID.
1881
- * @param creatureId The creature ID.
1882
- * @returns The creature. See {@link CreatureResponse}.
1883
- */
1884
- declare function creature(creatureId: number): Resource<CreatureResponse>;
1885
- /**
1886
- * Get creature display media by ID.
1887
- * @param creatureDisplayId The creature display ID.
1888
- * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.
1889
- */
1890
- declare function creatureDisplayMedia(creatureDisplayId: number): Resource<CreatureDisplayMediaResponse>;
1891
- /**
1892
- * Get a creature family by ID.
1893
- * @param creatureFamilyId The creature family ID.
1894
- * @returns The creature family. See {@link CreatureFamilyResponse}.
1895
- */
1896
- declare function creatureFamily(creatureFamilyId: number): Resource<CreatureFamilyResponse>;
1897
- /**
1898
- * Get a creature family index.
1899
- * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.
1900
- */
1901
- declare function creatureFamilyIndex(): Resource<CreatureFamilyIndexResponse>;
1902
- /**
1903
- * Get creature family media by ID.
1904
- * @param creatureFamilyId The creature family ID.
1905
- * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.
1906
- */
1907
- declare function creatureFamilyMedia(creatureFamilyId: number): Resource<CreatureFamilyMediaResponse>;
1908
- /**
1909
- * Search for creatures.
1910
- * @param options The creature search parameters. See {@link CreatureSearchParameters}.
1911
- * @returns The creature search results. See {@link SearchResponse} & {@link CreatureSearchResponseItem}.
1912
- */
1913
- declare function creatureSearch(options: CreatureSearchParameters): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'locale' | 'name'>>;
1914
- /**
1915
- * Get a creature type by ID.
1916
- * @param creatureTypeId The creature type ID.
1917
- * @returns The creature type. See {@link CreatureTypeResponse}.
1918
- */
1919
- declare function creatureType(creatureTypeId: number): Resource<CreatureTypeResponse>;
1920
- /**
1921
- * Get a creature type index.
1922
- * @returns The creature type index. See {@link CreatureTypeIndexResponse}.
1923
- */
1924
- declare function creatureTypeIndex(): Resource<CreatureTypeIndexResponse>;
1925
-
1926
- /**
1927
- * The response for a guild crest border or emblem.
1928
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1929
- */
1930
- interface GuildCrestBorderEmblemResponse extends ResponseBase {
1931
- assets: Array<GuildCrestAsset>;
1932
- id: number;
1933
- }
1934
- /**
1935
- * The response for the guild crest components index.
1936
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1937
- */
1938
- interface GuildCrestComponentsIndexResponse extends ResponseBase {
1939
- borders: Array<Border$1>;
1940
- colors: Colors;
1941
- emblems: Array<Border$1>;
1942
- }
1943
- interface Background {
1944
- id: number;
1945
- rgba: RGBA;
1946
- }
1947
- interface Border$1 {
1948
- id: number;
1949
- media: Media$c;
1950
- }
1951
- interface Colors {
1952
- backgrounds: Array<Background>;
1953
- borders: Array<Background>;
1954
- emblems: Array<Background>;
1955
- }
1956
- interface GuildCrestAsset {
1957
- key: string;
1958
- value: string;
1959
- }
1960
- interface Media$c extends KeyBase {
1961
- id: number;
1962
- }
1963
- interface RGBA {
1964
- a: number;
1965
- b: number;
1966
- g: number;
1967
- r: number;
1968
- }
1969
-
1970
- /**
1971
- * Get a guild crest border by ID.
1972
- * @param borderId The guild crest border ID.
1973
- * @returns The guild crest border. See {@link GuildCrestBorderEmblemResponse}.
1974
- */
1975
- declare function guildCrestBorder(borderId: number): Resource<GuildCrestBorderEmblemResponse>;
1976
- /**
1977
- * Get the guild crest components index.
1978
- * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.
1979
- */
1980
- declare function guildCrestComponentsIndex(): Resource<GuildCrestComponentsIndexResponse>;
1981
- /**
1982
- * Get a guild crest emblem by ID.
1983
- * @param emblemId The guild crest emblem ID.
1984
- * @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}.
1985
- */
1986
- declare function guildCrestEmblem(emblemId: number): Resource<GuildCrestBorderEmblemResponse>;
1987
-
1988
- interface GuildAchievementsResponse extends ResponseBase {
1989
- achievements: Array<Achievement>;
1990
- category_progress: Array<CategoryProgress>;
1991
- guild: Guild$1;
1992
- recent_events: Array<RecentEvent>;
1993
- total_points: number;
1994
- total_quantity: number;
1995
- }
1996
- interface GuildActivityResponse extends ResponseBase {
1997
- activities: Array<ActivityElement>;
1998
- guild: Guild$1;
1999
- }
2000
- interface GuildResponse extends ResponseBase {
2001
- achievement_points: number;
2002
- achievements: Href;
2003
- activity: Href;
2004
- created_timestamp: number;
2005
- crest: Crest;
2006
- faction: Faction;
2007
- id: number;
2008
- member_count: number;
2009
- name: string;
2010
- name_search: string;
2011
- realm: Realm$4;
2012
- roster: Href;
2013
- }
2014
- interface GuildRosterResponse extends ResponseBase {
2015
- guild: Guild$1;
2016
- members: Array<Member$1>;
2017
- }
2018
- interface Achievement {
2019
- achievement: NameIdKey;
2020
- completed_timestamp?: number;
2021
- criteria?: Criteria;
2022
- id: number;
2023
- }
2024
- interface ActivityElement {
2025
- activity: {
2026
- type: string;
2027
- };
2028
- character_achievement: CharacterAchievement;
2029
- timestamp: number;
2030
- }
2031
- interface Border {
2032
- color: RgbWithId;
2033
- id: number;
2034
- media: KeyBase & {
2035
- id: number;
2036
- };
2037
- }
2038
- interface CategoryProgress {
2039
- category: NameIdKey;
2040
- points: number;
2041
- quantity: number;
2042
- }
2043
- interface CharacterAchievement {
2044
- achievement: NameIdKey;
2045
- character: Character$2;
2046
- }
2047
- interface Crest {
2048
- background: {
2049
- color: RgbWithId;
2050
- };
2051
- border: Border;
2052
- emblem: Border;
2053
- }
2054
- interface Criteria {
2055
- amount?: number;
2056
- child_criteria?: Array<Criteria>;
2057
- id: number;
2058
- is_completed: boolean;
2059
- }
2060
- interface Guild$1 extends NameIdKey {
2061
- faction: Faction;
2062
- realm: Realm$4;
2063
- }
2064
- interface Member$1 {
2065
- character: RosterMemberCharacter;
2066
- rank: number;
2067
- }
2068
- interface Playable extends KeyBase {
2069
- id: number;
2070
- }
2071
- interface RecentEvent {
2072
- achievement: NameIdKey;
2073
- timestamp: number;
2074
- }
2075
- interface RgbWithId {
2076
- id: number;
2077
- rgba: Color;
2078
- }
2079
- interface RosterMemberCharacter extends Character$2 {
2080
- level: number;
2081
- playable_class: Playable;
2082
- playable_race: Playable;
2083
- }
2084
-
2085
- /**
2086
- * @param realmSlug The slug of the realm.
2087
- * @param nameSlug The lowercase name of the guild.
2088
- * @returns a single guild by its name and realm.
2089
- */
2090
- declare function guild(realmSlug: string, nameSlug: string): Resource<GuildResponse>;
2091
- /**
2092
- * @param realmSlug The slug of the realm.
2093
- * @param nameSlug The lowercase name of the guild.
2094
- * @returns a single guild's achievements by name and realm.
2095
- */
2096
- declare function guildAchievements(realmSlug: string, nameSlug: string): Resource<GuildAchievementsResponse>;
2097
- /**
2098
- * @param realmSlug The slug of the realm.
2099
- * @param nameSlug The lowercase name of the guild.
2100
- * @returns a single guild's activity by name and realm.
2101
- */
2102
- declare function guildActivity(realmSlug: string, nameSlug: string): Resource<GuildActivityResponse>;
2103
- /**
2104
- * @param realmSlug The slug of the realm.
2105
- * @param nameSlug The lowercase name of the guild.
2106
- * @returns a single guild's roster by its name and realm.
2107
- */
2108
- declare function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse>;
2109
-
2110
- /**
2111
- * The response for the heirloom index.
2112
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2113
- */
2114
- interface HeirloomIndexResponse extends ResponseBase {
2115
- heirlooms: Array<NameIdKey>;
2116
- }
2117
- /**
2118
- * The response for a heirloom.
2119
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2120
- */
2121
- interface HeirloomResponse extends ResponseBase {
2122
- id: number;
2123
- item: NameIdKey;
2124
- media: Media$b;
2125
- source: Source$3;
2126
- source_description: string;
2127
- upgrades: Array<Upgrade>;
2128
- }
2129
- interface AttackSpeedClass {
2130
- display_string: string;
2131
- value: number;
2132
- }
2133
- interface Damage$1 {
2134
- damage_class: Source$3;
2135
- display_string: string;
2136
- max_value: number;
2137
- min_value: number;
2138
- }
2139
- interface Display$1 {
2140
- color: Color;
2141
- display_string: string;
2142
- }
2143
- interface Media$b extends KeyBase {
2144
- id: number;
2145
- }
2146
- interface Requirements$2 {
2147
- level: RequirementsLevel;
2148
- }
2149
- interface RequirementsLevel {
2150
- display_string: string;
2151
- }
2152
- interface Source$3 {
2153
- name: string;
2154
- type: string;
2155
- }
2156
- interface Stat$1 {
2157
- display: Display$1;
2158
- is_equip_bonus?: boolean;
2159
- type: Source$3;
2160
- value: number;
2161
- }
2162
- interface Upgrade {
2163
- item: UpgradeItem;
2164
- level: number;
2165
- }
2166
- interface UpgradeItem {
2167
- binding: Source$3;
2168
- bonus_list: Array<number>;
2169
- context: number;
2170
- inventory_type: Source$3;
2171
- item: Media$b;
2172
- item_class: NameIdKey;
2173
- item_subclass: NameIdKey;
2174
- level: AttackSpeedClass;
2175
- media: Media$b;
2176
- name: string;
2177
- quality: Source$3;
2178
- requirements: Requirements$2;
2179
- stats: Array<Stat$1>;
2180
- upgrades: Upgrades;
2181
- weapon: Weapon$1;
2182
- }
2183
- interface Upgrades {
2184
- display_string: string;
2185
- max_value: number;
2186
- value: number;
2187
- }
2188
- interface Weapon$1 {
2189
- attack_speed: AttackSpeedClass;
2190
- damage: Damage$1;
2191
- dps: AttackSpeedClass;
2192
- }
2193
-
2194
- /**
2195
- * Get a heirloom by ID.
2196
- * @param heirloomId The heirloom ID.
2197
- * @returns The heirloom. See {@link HeirloomResponse}.
2198
- */
2199
- declare function heirloom(heirloomId: number): Resource<HeirloomResponse>;
2200
- /**
2201
- * Get the heirloom index.
2202
- * @returns The heirloom index. See {@link HeirloomIndexResponse}.
2203
- */
2204
- declare function heirloomIndex(): Resource<HeirloomIndexResponse>;
2205
-
2206
- /**
2207
- * The response for an item class index.
2208
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2209
- */
2210
- interface ItemClassIndexResponse extends ResponseBase {
2211
- item_classes: Array<NameIdKey>;
2212
- }
2213
- /**
2214
- * The response for an item class.
2215
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2216
- */
2217
- interface ItemClassResponse extends ResponseBase {
2218
- class_id: number;
2219
- item_subclasses: Array<NameIdKey>;
2220
- name: string;
2221
- }
2222
- /**
2223
- * The response for an item media.
2224
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2225
- */
2226
- interface ItemMediaResponse extends ResponseBase {
2227
- assets: Array<MediaAsset$1>;
2228
- id: number;
2229
- }
2230
- /**
2231
- * The response for an item.
2232
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2233
- */
2234
- interface ItemResponse extends NameId, ResponseBase {
2235
- description?: string;
2236
- inventory_type: InventoryType;
2237
- is_equippable: boolean;
2238
- is_stackable: boolean;
2239
- item_class: NameIdKey;
2240
- item_subclass: NameIdKey;
2241
- level: number;
2242
- max_count: number;
2243
- media: Media$a;
2244
- preview_item: PreviewItem;
2245
- purchase_price: number;
2246
- purchase_quantity: number;
2247
- quality: ItemQuality;
2248
- required_level: number;
2249
- sell_price: number;
2250
- }
2251
- /**
2252
- * The parameters for an item search.
2253
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2254
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2255
- */
2256
- interface ItemSearchParameters extends BaseSearchParameters {
2257
- locale: Locales;
2258
- name: string;
2259
- }
2260
- /**
2261
- * The response for an item search.
2262
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2263
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2264
- */
2265
- interface ItemSearchResponseItem extends KeyBase {
2266
- data: {
2267
- id: number;
2268
- inventory_type: InventoryType;
2269
- is_equippable: boolean;
2270
- is_stackable: boolean;
2271
- item_class: {
2272
- id: number;
2273
- name: Record<Locales, string | undefined>;
2274
- };
2275
- item_subclass: {
2276
- id: number;
2277
- name: Record<Locales, string | undefined>;
2278
- };
2279
- level: number;
2280
- max_count: number;
2281
- media: {
2282
- id: number;
2283
- };
2284
- name: Record<Locales, string | undefined>;
2285
- purchase_price: number;
2286
- purchase_quantity: number;
2287
- quality: ItemQuality;
2288
- required_level: number;
2289
- sell_price: number;
2290
- };
2291
- }
2292
- /**
2293
- * The response for an item set index.
2294
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2295
- */
2296
- interface ItemSetIndexResponse extends ResponseBase {
2297
- item_sets: Array<NameIdKey>;
2298
- }
2299
- /**
2300
- * The response for an item set.
2301
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2302
- */
2303
- interface ItemSetResponse extends ResponseBase {
2304
- effects: Array<Effect>;
2305
- id: number;
2306
- items: Array<NameIdKey>;
2307
- name: string;
2308
- }
2309
- /**
2310
- * The response for an item subclass.
2311
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2312
- */
2313
- interface ItemSubClassResponse extends ResponseBase {
2314
- class_id: number;
2315
- display_name: string;
2316
- hide_subclass_in_tooltips: boolean;
2317
- subclass_id: number;
2318
- verbose_name: string;
2319
- }
2320
- interface Armor {
2321
- display: Display;
2322
- value: number;
2323
- }
2324
- interface Damage {
2325
- damage_class: {
2326
- name: string;
2327
- type: string;
2328
- };
2329
- display_string: string;
2330
- max_value: number;
2331
- min_value: number;
2332
- }
2333
- interface Display {
2334
- color: Color;
2335
- display_string: string;
2336
- }
2337
- interface Durability {
2338
- display_string: string;
2339
- value: number;
2340
- }
2341
- interface Effect {
2342
- display_string: string;
2343
- required_count: number;
2344
- }
2345
- interface InventoryType {
2346
- name: Record<Locales, string | undefined>;
2347
- type: 'BACK' | 'BAG' | 'CHEST' | 'FEET' | 'FINGER' | 'HANDS' | 'HEAD' | 'LEGS' | 'NECK' | 'NON_EQUIP' | 'SHIRT' | 'SHOULDER' | 'TABARD' | 'TRINKET' | 'TWOHWEAPON' | 'WAIST' | 'WRIST';
2348
- }
2349
- interface ItemQuality {
2350
- name: Record<Locales, string | undefined>;
2351
- type: 'ARTIFACT' | 'COMMON' | 'EPIC' | 'HEIRLOOM' | 'LEGENDARY' | 'POOR' | 'RARE' | 'UNCOMMON';
2352
- }
2353
- interface Media$a extends KeyBase {
2354
- id: number;
2355
- }
2356
- interface PreviewItem {
2357
- armor?: Armor;
2358
- binding?: {
2359
- name: string;
2360
- type: string;
2361
- };
2362
- bonus_list?: Array<number>;
2363
- container_slots?: Durability;
2364
- context?: number;
2365
- crafting_reagent?: string;
2366
- description?: string;
2367
- durability?: Durability;
2368
- inventory_type: InventoryType;
2369
- is_subclass_hidden?: boolean;
2370
- item: Media$a;
2371
- item_class: NameIdKey;
2372
- item_subclass: NameIdKey;
2373
- level?: Durability;
2374
- media: Media$a;
2375
- name: string;
2376
- quality: ItemQuality;
2377
- recipe?: Recipe;
2378
- requirements?: Requirements$1;
2379
- sell_price?: number;
2380
- shield_block?: Armor;
2381
- spells?: Array<Spell>;
2382
- stats?: Array<Stat>;
2383
- unique_equipped?: 'Unique';
2384
- weapon?: Weapon;
2385
- }
2386
- interface Recipe {
2387
- item: RecipeItem;
2388
- reagents: Array<NameIdKey & {
2389
- quantity: number;
2390
- }>;
2391
- reagents_display_string: string;
2392
- }
2393
- interface RecipeItem {
2394
- armor?: Armor;
2395
- binding: {
2396
- name: string;
2397
- type: string;
2398
- };
2399
- durability: Durability;
2400
- inventory_type: InventoryType;
2401
- item: Media$a;
2402
- item_class: NameIdKey;
2403
- item_subclass: NameIdKey;
2404
- level: Durability;
2405
- media: Media$a;
2406
- name: string;
2407
- quality: ItemQuality;
2408
- requirements: Requirements$1;
2409
- sell_price: {
2410
- display_strings: RecipeItemDisplayStrings;
2411
- value: number;
2412
- };
2413
- stats: Array<Stat>;
2414
- weapon?: Weapon;
2415
- }
2416
- interface RecipeItemDisplayStrings {
2417
- copper: string;
2418
- gold: string;
2419
- header: string;
2420
- silver: string;
2421
- }
2422
- interface Requirements$1 {
2423
- level: Durability;
2424
- }
2425
- interface Spell {
2426
- description: string;
2427
- spell: NameIdKey;
2428
- }
2429
- interface Stat {
2430
- display: Display;
2431
- is_negated?: boolean;
2432
- type: {
2433
- name: StatType;
2434
- type: StatTypeCapitalized;
2435
- };
2436
- value: number;
2437
- }
2438
- type StatType = 'Agility' | 'Critical Strike' | 'Haste' | 'Intellect' | 'Mastery' | 'Stamina' | 'Strength' | 'Versatility';
2439
- type StatTypeCapitalized = 'AGILITY' | 'CRIT_RATING' | 'HASTE_RATING' | 'INTELLECT' | 'MASTERY' | 'STAMINA' | 'STRENGTH' | 'VERSATILITY';
2440
- interface Weapon {
2441
- attack_speed: Durability;
2442
- damage: Damage;
2443
- dps: Durability;
2444
- }
2445
-
2446
- /**
2447
- * Get an item by ID.
2448
- * @param itemId The item ID.
2449
- * @returns The item. See {@link ItemResponse}.
2450
- */
2451
- declare function item(itemId: number): Resource<ItemResponse>;
2452
- /**
2453
- * Get an item class by ID.
2454
- * @param itemClassId The item class ID.
2455
- * @returns The item class. See {@link ItemClassResponse}.
2456
- */
2457
- declare function itemClass(itemClassId: number): Resource<ItemClassResponse>;
2458
- /**
2459
- * Get an item class index.
2460
- * @returns The item class index. See {@link ItemClassIndexResponse}.
2461
- */
2462
- declare function itemClassIndex(): Resource<ItemClassIndexResponse>;
2463
- /**
2464
- * Get item media by ID.
2465
- * @param itemId The item ID.
2466
- * @returns The item media. See {@link ItemMediaResponse}.
2467
- */
2468
- declare function itemMedia(itemId: number): Resource<ItemMediaResponse>;
2469
- /**
2470
- * Search for items.
2471
- * @param options The search parameters. See {@link ItemSearchParameters}.
2472
- * @returns The search results. See {@link SearchResponse}.
2473
- */
2474
- declare function itemSearch(options: ItemSearchParameters): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, 'locale' | 'name'>>;
2475
- /**
2476
- * Get an item set by ID.
2477
- * @param itemSetId The item set ID.
2478
- * @returns The item set. See {@link ItemSetResponse}.
2479
- */
2480
- declare function itemSet(itemSetId: number): Resource<ItemSetResponse>;
2481
- /**
2482
- * Get an item set index.
2483
- * @returns The item set index. See {@link ItemSetIndexResponse}.
2484
- */
2485
- declare function itemSetIndex(): Resource<ItemSetIndexResponse>;
2486
- /**
2487
- * Get an item subclass by ID.
2488
- * @param itemClassId The item class ID.
2489
- * @param itemSubclassId The item subclass ID.
2490
- * @returns The item subclass. See {@link ItemSubClassResponse}.
2491
- */
2492
- declare function itemSubClass(itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse>;
2493
-
2494
- /**
2495
- * The response for a journal encounter index.
2496
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2497
- */
2498
- interface JournalEncounterIndexResponse extends ResponseBase {
2499
- encounters: Array<NameIdKey>;
2500
- }
2501
- /**
2502
- * The response for a journal encounter.
2503
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2504
- */
2505
- interface JournalEncounterResponse extends NameId, ResponseBase {
2506
- category: Category$1;
2507
- creatures: Array<Creature>;
2508
- description: string;
2509
- faction?: Faction;
2510
- instance: NameIdKey;
2511
- items: Array<Item>;
2512
- modes?: Array<Mode>;
2513
- sections: Array<JournalSection>;
2514
- }
2515
- /**
2516
- * The parameters for a journal encounter search.
2517
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2518
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2519
- */
2520
- interface JournalEncounterSearchParameters extends BaseSearchParameters {
2521
- instanceName: string;
2522
- locale: Locales;
2523
- }
2524
- /**
2525
- * The response for a journal encounter search.
2526
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2527
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2528
- */
2529
- interface JournalEncounterSearchResponseItem extends KeyBase {
2530
- data: {
2531
- category: Category$1;
2532
- creatures: Array<JournalEncounterSearchCreature>;
2533
- id: number;
2534
- instance: {
2535
- id: number;
2536
- name: Record<Locales, string>;
2537
- };
2538
- items: Array<JournalEncounterSearchItem>;
2539
- modes?: Array<{
2540
- name: Record<Locales, string>;
2541
- type: EncounterMode;
2542
- }>;
2543
- name: Record<Locales, string>;
2544
- sections: Array<JournalSection>;
2545
- };
2546
- }
2547
- /**
2548
- * The response for a journal expansion index.
2549
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2550
- */
2551
- interface JournalExpansionIndexResponse extends ResponseBase {
2552
- tiers: Array<NameIdKey>;
2553
- }
2554
- /**
2555
- * The response for a journal expansion.
2556
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2557
- */
2558
- interface JournalExpansionResponse extends NameId, ResponseBase {
2559
- dungeons: Array<NameIdKey>;
2560
- raids: Array<NameIdKey>;
2561
- }
2562
- /**
2563
- * The response for a journal instance index.
2564
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2565
- */
2566
- interface JournalInstanceIndexResponse extends ResponseBase {
2567
- instances: Array<NameIdKey>;
2568
- }
2569
- /**
2570
- * The response for journal instance media.
2571
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2572
- */
2573
- interface JournalInstanceMediaResponse extends ResponseBase {
2574
- assets: Array<Asset>;
2575
- }
2576
- /**
2577
- * The response for a journal instance.
2578
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2579
- */
2580
- interface JournalInstanceResponse extends NameId, ResponseBase {
2581
- area: NameId;
2582
- category: Category$1;
2583
- description: string;
2584
- encounters: Array<NameIdKey>;
2585
- expansion: NameIdKey;
2586
- location: NameId;
2587
- map: NameId;
2588
- media: Media$9;
2589
- minimum_level: number;
2590
- modes: Array<ModeElement>;
2591
- order_index: number;
2592
- }
2593
- interface Asset {
2594
- key: string;
2595
- value: string;
2596
- }
2597
- interface Category$1 {
2598
- type: EncounterCategory;
2599
- }
2600
- interface Creature extends NameId {
2601
- creature_display: CreatureDisplay$1;
2602
- description?: string;
2603
- }
2604
- interface CreatureDisplay$1 extends KeyBase {
2605
- id: number;
2606
- }
2607
- type EncounterCategory = 'DUNGEON' | 'RAID' | 'WORLD_BOSS';
2608
- type EncounterMode = 'HEROIC' | 'LFR' | 'MYTHIC' | 'NORMAL';
2609
- interface Item {
2610
- id: number;
2611
- item: NameIdKey;
2612
- }
2613
- interface JournalEncounterSearchCreature {
2614
- creature_display: {
2615
- id: number;
2616
- };
2617
- id: number;
2618
- name: Record<Locales, string>;
2619
- }
2620
- interface JournalEncounterSearchItem {
2621
- id: number;
2622
- item: {
2623
- id: number;
2624
- name: Record<Locales, string>;
2625
- };
2626
- }
2627
- interface JournalSection {
2628
- body_text?: string;
2629
- creature_display?: CreatureDisplay$1;
2630
- id: number;
2631
- sections?: Array<JournalSection>;
2632
- spell?: NameIdKey;
2633
- title: string;
2634
- }
2635
- interface Media$9 extends KeyBase {
2636
- id: number;
2637
- }
2638
- interface Mode {
2639
- name: ModeName;
2640
- type: ModeType;
2641
- }
2642
- interface ModeElement {
2643
- is_tracked: boolean;
2644
- mode: Mode;
2645
- players: number;
2646
- }
2647
- type ModeName = '10 Player' | '10 Player (Heroic)' | '25 Player' | '25 Player (Heroic)' | 'Heroic' | 'Mythic' | 'Mythic+ Dungeons' | 'Normal' | 'Raid Finder';
2648
- type ModeType = 'HEROIC' | 'LEGACY_10_MAN' | 'LEGACY_10_MAN_HEROIC' | 'LEGACY_25_MAN' | 'LEGACY_25_MAN_HEROIC' | 'LFR' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'NORMAL';
2649
-
2650
- /**
2651
- * Get a journal encounter by ID.
2652
- * @param journalEncounterId The journal encounter ID.
2653
- * @returns The journal encounter. See {@link JournalEncounterResponse}.
2654
- */
2655
- declare function journalEncounter(journalEncounterId: number): Resource<JournalEncounterResponse>;
2656
- /**
2657
- * Get the journal encounter index.
2658
- * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.
2659
- */
2660
- declare function journalEncounterIndex(): Resource<JournalEncounterIndexResponse>;
2661
- /**
2662
- * Search for journal encounters.
2663
- * @param options The search parameters. See {@link JournalEncounterSearchParameters}.
2664
- * @returns The search results. See {@link SearchResponse}.
2665
- */
2666
- declare function journalEncounterSearch(options: JournalEncounterSearchParameters): Resource<SearchResponse<JournalEncounterSearchResponseItem>, Omit<JournalEncounterSearchParameters, 'instanceName' | 'locale'>>;
2667
- /**
2668
- * Get a journal expansion by ID.
2669
- * @param journalExpansionId The journal expansion ID.
2670
- * @returns The journal expansion. See {@link JournalExpansionResponse}.
2671
- */
2672
- declare function journalExpansion(journalExpansionId: number): Resource<JournalExpansionResponse>;
2673
- /**
2674
- * Get the journal expansion index.
2675
- * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.
2676
- */
2677
- declare function journalExpansionIndex(): Resource<JournalExpansionIndexResponse>;
2678
- /**
2679
- * Get a journal instance by ID.
2680
- * @param journalInstanceId The journal instance ID.
2681
- * @returns The journal instance. See {@link JournalInstanceResponse}.
2682
- */
2683
- declare function journalInstance(journalInstanceId: number): Resource<JournalInstanceResponse>;
2684
- /**
2685
- * Get the journal instance index.
2686
- * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.
2687
- */
2688
- declare function journalInstanceIndex(): Resource<JournalInstanceIndexResponse>;
2689
- /**
2690
- * Get journal instance media by ID.
2691
- * @param journalInstanceId The journal instance ID.
2692
- * @returns The journal instance media. See {@link JournalInstanceMediaResponse}.
2693
- */
2694
- declare function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse>;
2695
-
2696
- /**
2697
- * The search parameters for media.
2698
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2699
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2700
- */
2701
- interface MediaSearchParameters extends BaseSearchParameters {
2702
- tags?: string;
2703
- }
2704
- /**
2705
- * The response for a media search.
2706
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2707
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2708
- */
2709
- interface MediaSearchResponseItem extends KeyBase {
2710
- data: {
2711
- assets: Array<MediaAsset>;
2712
- id: number;
2713
- };
2714
- }
2715
- interface MediaAsset {
2716
- file_data_id: number;
2717
- key: string;
2718
- value: string;
2719
- }
2720
-
2721
- /**
2722
- * Search for media.
2723
- * @param options The search parameters. See {@link MediaSearchParameters}.
2724
- * @returns The search results. See {@link SearchResponse}.
2725
- */
2726
- declare function mediaSearch(options: MediaSearchParameters): Resource<SearchResponse<MediaSearchResponseItem>, MediaSearchParameters>;
2727
-
2728
- /**
2729
- * The response for a modified crafting category index.
2730
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2731
- */
2732
- interface ModifiedCraftingCategoryIndexResponse extends ResponseBase {
2733
- categories: Array<NameIdKey>;
2734
- }
2735
- /**
2736
- * The response for a modified crafting category.
2737
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2738
- */
2739
- interface ModifiedCraftingCategoryResponse extends NameId, ResponseBase {
2740
- }
2741
- /**
2742
- * The response for a modified crafting index.
2743
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2744
- */
2745
- interface ModifiedCraftingIndexResponse extends ResponseBase {
2746
- categories: {
2747
- href: string;
2748
- };
2749
- slot_types: {
2750
- href: string;
2751
- };
2752
- }
2753
- /**
2754
- * The response for a modified crafting reagent slot type index.
2755
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2756
- */
2757
- interface ModifiedCraftingReagentSlotTypeIndexResponse extends ResponseBase {
2758
- slot_types: Array<SlotType>;
2759
- }
2760
- /**
2761
- * The response for a modified crafting reagent slot type.
2762
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2763
- */
2764
- interface ModifiedCraftingReagentSlotTypeResponse extends ResponseBase {
2765
- compatible_categories: Array<NameIdKey>;
2766
- description: string;
2767
- id: number;
2768
- }
2769
- interface SlotType extends KeyBase {
2770
- id: number;
2771
- name?: string;
2772
- }
2773
-
2774
- /**
2775
- * Get a modified crafting category by ID.
2776
- * @param modifiedCraftingCategoryId The modified crafting category ID.
2777
- * @returns The modified crafting category. See {@link ModifiedCraftingCategoryResponse}.
2778
- */
2779
- declare function modifiedCraftingCategory(modifiedCraftingCategoryId: number): Resource<ModifiedCraftingCategoryResponse>;
2780
- /**
2781
- * Get a modified crafting category index.
2782
- * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.
2783
- */
2784
- declare function modifiedCraftingCategoryIndex(): Resource<ModifiedCraftingCategoryIndexResponse>;
2785
- /**
2786
- * Get a modified crafting index.
2787
- * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.
2788
- */
2789
- declare function modifiedCraftingIndex(): Resource<ModifiedCraftingIndexResponse>;
2790
- /**
2791
- * Get a modified crafting reagent slot type by ID.
2792
- * @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID.
2793
- * @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}.
2794
- */
2795
- declare function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId: number): Resource<ModifiedCraftingReagentSlotTypeResponse>;
2796
- /**
2797
- * Get a modified crafting reagent slot type index.
2798
- * @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}.
2799
- */
2800
- declare function modifiedCraftingReagentSlotTypeIndex(): Resource<ModifiedCraftingReagentSlotTypeIndexResponse>;
2801
-
2802
- /**
2803
- * The response for a mount index.
2804
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2805
- */
2806
- interface MountIndexResponse extends ResponseBase {
2807
- mounts: Array<NameIdKey>;
2808
- }
2809
- /**
2810
- * The response for a mount.
2811
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2812
- */
2813
- interface MountResponse extends ResponseBase {
2814
- creature_displays: Array<CreatureDisplay>;
2815
- description: string;
2816
- id: number;
2817
- name: string;
2818
- should_exclude_if_uncollected: boolean;
2819
- source: Source$2;
2820
- }
2821
- /**
2822
- * The search parameters for mounts.
2823
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2824
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2825
- */
2826
- interface MountSearchParameters extends BaseSearchParameters {
2827
- locale: Locales;
2828
- name: string;
2829
- }
2830
- /**
2831
- * The response for a mount search.
2832
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2833
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
2834
- */
2835
- interface MountSearchResponseItem extends KeyBase {
2836
- data: {
2837
- creature_displays: Array<{
2838
- id: number;
2839
- }>;
2840
- faction?: {
2841
- name: Record<Locales, string>;
2842
- type: keyof typeof Factions;
2843
- };
2844
- id: number;
2845
- name: Record<Locales, string>;
2846
- source: {
2847
- name: Record<Locales, string>;
2848
- type: string;
2849
- };
2850
- };
2851
- }
2852
- interface CreatureDisplay extends KeyBase {
2853
- id: number;
2854
- }
2855
- interface Source$2 {
2856
- name: string;
2857
- type: string;
2858
- }
2859
-
2860
- /**
2861
- * Get a mount by ID.
2862
- * @param mountId The mount ID.
2863
- * @returns The mount. See {@link MountResponse}.
2864
- */
2865
- declare function mount(mountId: number): Resource<MountResponse>;
2866
- /**
2867
- * Get a mount index.
2868
- * @returns The mount index. See {@link MountIndexResponse}.
2869
- */
2870
- declare function mountIndex(): Resource<MountIndexResponse>;
2871
- /**
2872
- * Get a mount search.
2873
- * @param options The search parameters. See {@link MountSearchParameters}.
2874
- * @returns The search results. See {@link SearchResponse}.
2875
- */
2876
- declare function mountSearch(options: MountSearchParameters): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, 'locale' | 'name'>>;
2877
-
2878
- /**
2879
- * The response for a Mythic Keystone affix index.
2880
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2881
- */
2882
- interface MythicKeystoneAffixIndexResponse extends ResponseBase {
2883
- affixes: Array<NameIdKey>;
2884
- }
2885
- /**
2886
- * The response for a Mythic Keystone affix media.
2887
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2888
- */
2889
- interface MythicKeystoneAffixMediaResponse extends ResponseBase {
2890
- assets: Array<MediaAsset$1>;
2891
- id: number;
2892
- }
2893
- /**
2894
- * The response for a Mythic Keystone affix.
2895
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2896
- */
2897
- interface MythicKeystoneAffixResponse extends NameId, ResponseBase {
2898
- description: string;
2899
- media: Media$8;
2900
- }
2901
- interface Media$8 extends KeyBase {
2902
- id: number;
2903
- }
2904
-
2905
- /**
2906
- * Get a list of all Mythic Keystone affixes.
2907
- * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
2908
- * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
2909
- */
2910
- declare function mythicKeystoneAffix(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse>;
2911
- /**
2912
- * Get a list of all Mythic Keystone affixes.
2913
- * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
2914
- */
2915
- declare function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexResponse>;
2916
- /**
2917
- * Get a list of all Mythic Keystone affix media.
2918
- * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
2919
- * @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}
2920
- */
2921
- declare function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse>;
2922
-
2923
- /**
2924
- * The response for a Mythic Keystone dungeon index.
2925
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2926
- */
2927
- interface MythicKeystoneDungeonIndexResponse extends ResponseBase {
2928
- dungeons: Array<NameIdKey>;
2929
- }
2930
- /**
2931
- * The response for a Mythic Keystone dungeon.
2932
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2933
- */
2934
- interface MythicKeystoneDungeonResponse extends NameId, ResponseBase {
2935
- dungeon: NameIdKey;
2936
- is_tracked: boolean;
2937
- keystone_upgrades: Array<KeystoneUpgrade>;
2938
- map: NameId;
2939
- zone: Zone;
2940
- }
2941
- /**
2942
- * The response for a Mythic Keystone index.
2943
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2944
- */
2945
- interface MythicKeystoneIndexResponse extends ResponseBase {
2946
- dungeons: {
2947
- href: string;
2948
- };
2949
- seasons: {
2950
- href: string;
2951
- };
2952
- }
2953
- /**
2954
- * The response for a Mythic Keystone period index.
2955
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2956
- */
2957
- interface MythicKeystonePeriodIndexResponse extends ResponseBase {
2958
- current_period: Period;
2959
- periods: Array<Period>;
2960
- }
2961
- /**
2962
- * The response for a Mythic Keystone period.
2963
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2964
- */
2965
- interface MythicKeystonePeriodResponse extends ResponseBase {
2966
- end_timestamp: number;
2967
- id: number;
2968
- start_timestamp: number;
2969
- }
2970
- /**
2971
- * The response for a Mythic Keystone season index.
2972
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2973
- */
2974
- interface MythicKeystoneSeasonIndexResponse extends ResponseBase {
2975
- current_season: Period;
2976
- seasons: Array<Period>;
2977
- }
2978
- /**
2979
- * The response for a Mythic Keystone season.
2980
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
2981
- */
2982
- interface MythicKeystoneSeasonResponse extends ResponseBase {
2983
- end_timestamp: number;
2984
- id: number;
2985
- periods: Array<Period>;
2986
- season_name: null | string;
2987
- start_timestamp: number;
2988
- }
2989
- interface KeystoneUpgrade {
2990
- qualifying_duration: number;
2991
- upgrade_level: number;
2992
- }
2993
- interface Period extends KeyBase {
2994
- id: number;
2995
- }
2996
- interface Zone {
2997
- slug: string;
2998
- }
2999
-
3000
- /**
3001
- * Get a Mythic Keystone dungeon by ID.
3002
- * @param mythicKeystoneDungeonId The Mythic Keystone dungeon ID.
3003
- * @returns The Mythic Keystone dungeon. See {@link MythicKeystoneDungeonResponse}.
3004
- */
3005
- declare function mythicKeystoneDungeon(mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse>;
3006
- /**
3007
- * Get a Mythic Keystone dungeon index.
3008
- * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.
3009
- */
3010
- declare function mythicKeystoneDungeonIndex(): Resource<MythicKeystoneDungeonIndexResponse>;
3011
- /**
3012
- * Get a Mythic Keystone index.
3013
- * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.
3014
- */
3015
- declare function mythicKeystoneIndex(): Resource<MythicKeystoneIndexResponse>;
3016
- /**
3017
- * Get a Mythic Keystone period by ID.
3018
- * @param mythicKeystonePeriodId The Mythic Keystone period ID.
3019
- * @returns The Mythic Keystone period. See {@link MythicKeystonePeriodResponse}.
3020
- */
3021
- declare function mythicKeystonePeriod(mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse>;
3022
- /**
3023
- * Get a Mythic Keystone period index.
3024
- * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.
3025
- */
3026
- declare function mythicKeystonePeriodIndex(): Resource<MythicKeystonePeriodIndexResponse>;
3027
- /**
3028
- * Get a Mythic Keystone season by ID.
3029
- * @param mythicKeystoneSeasonId The Mythic Keystone season ID.
3030
- * @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.
3031
- */
3032
- declare function mythicKeystoneSeason(mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse>;
3033
- /**
3034
- * Get a Mythic Keystone season index.
3035
- * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.
3036
- */
3037
- declare function mythicKeystoneSeasonIndex(): Resource<MythicKeystoneSeasonIndexResponse>;
3038
-
3039
- /**
3040
- * The response for a Mythic Keystone leaderboard index.
3041
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3042
- */
3043
- interface MythicKeystoneLeaderboardIndexResponse extends ResponseBase {
3044
- current_leaderboards: Array<NameIdKey>;
3045
- }
3046
- /**
3047
- * The response for a Mythic Keystone leaderboard.
3048
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3049
- */
3050
- interface MythicKeystoneLeaderboardResponse extends ResponseBase {
3051
- connected_realm: {
3052
- href: string;
3053
- };
3054
- keystone_affixes: Array<KeystoneAffixElement>;
3055
- leading_groups: Array<LeadingGroup>;
3056
- map: NameId;
3057
- map_challenge_mode_id: number;
3058
- name: string;
3059
- period: number;
3060
- period_end_timestamp: number;
3061
- period_start_timestamp: number;
3062
- }
3063
- interface KeystoneAffixElement {
3064
- keystone_affix: NameIdKey;
3065
- starting_level: number;
3066
- }
3067
- interface LeadingGroup {
3068
- completed_timestamp: number;
3069
- duration: number;
3070
- keystone_level: number;
3071
- members: Array<Member>;
3072
- mythic_rating: MythicRating;
3073
- ranking: number;
3074
- }
3075
- interface Member {
3076
- faction: {
3077
- type: keyof typeof Factions;
3078
- };
3079
- profile: Profile;
3080
- specialization: Specialization;
3081
- }
3082
- interface MythicRating {
3083
- color: Color;
3084
- rating: number;
3085
- }
3086
- interface Profile extends NameId {
3087
- realm: Realm$2;
3088
- }
3089
- interface Realm$2 extends KeyBase {
3090
- id: number;
3091
- slug: string;
3092
- }
3093
- interface Specialization extends KeyBase {
3094
- id: number;
3095
- }
3096
-
3097
- /**
3098
- * Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.
3099
- * @param connectedRealmId The connected realm ID.
3100
- * @param dungeonId The dungeon ID.
3101
- * @param period The period ID.
3102
- * @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}.
3103
- */
3104
- declare function mythicKeystoneLeaderboard(connectedRealmId: number, dungeonId: number, period: number): Resource<MythicKeystoneLeaderboardResponse>;
3105
- /**
3106
- * Get a Mythic Keystone leaderboard index by connected realm ID.
3107
- * @param connectedRealmId The connected realm ID.
3108
- * @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.
3109
- */
3110
- declare function mythicKeystoneLeaderboardIndex(connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse>;
3111
-
3112
- /**
3113
- * The response for a Mythic Raid leaderboard.
3114
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3115
- */
3116
- interface MythicRaidLeaderboardResponse extends ResponseBase {
3117
- criteria_type: string;
3118
- entries: Array<Entry$1>;
3119
- journal_instance: JournalInstance;
3120
- slug: string;
3121
- }
3122
- interface Entry$1 {
3123
- faction: {
3124
- type: keyof typeof Factions;
3125
- };
3126
- guild: Guild;
3127
- rank: number;
3128
- region: 'cn' | Origins;
3129
- timestamp: number;
3130
- }
3131
- interface Guild extends NameId {
3132
- realm: Realm$1;
3133
- }
3134
- interface JournalInstance extends KeyBase {
3135
- id: number;
3136
- name: null;
3137
- }
3138
- interface Realm$1 {
3139
- id: number;
3140
- name: null;
3141
- slug: string;
3142
- }
3143
-
3144
- /**
3145
- * Get a Mythic Raid leaderboard by raid and faction.
3146
- * @param raid The slug of the raid.
3147
- * @param faction The faction. Either 'alliance' or 'horde'.
3148
- * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.
3149
- */
3150
- declare function mythicRaidLeaderboard(raid: string, faction: Lowercase<keyof typeof Factions>): Resource<MythicRaidLeaderboardResponse>;
3151
-
3152
- /**
3153
- * The response for a pet ability index.
3154
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3155
- */
3156
- interface PetAbilityIndexResponse extends ResponseBase {
3157
- abilities: Array<NameIdKey>;
3158
- }
3159
- /**
3160
- * The response for a pet ability media.
3161
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3162
- */
3163
- interface PetAbilityMediaResponse extends ResponseBase {
3164
- assets: Array<MediaAsset$1>;
3165
- id: number;
3166
- }
3167
- /**
3168
- * The response for a pet ability.
3169
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3170
- */
3171
- interface PetAbilityResponse extends NameId, ResponseBase {
3172
- battle_pet_type: BattlePetType;
3173
- media: Media$7;
3174
- rounds: number;
3175
- }
3176
- /**
3177
- * The response for a pet index.
3178
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3179
- */
3180
- interface PetIndexResponse extends ResponseBase {
3181
- pets: Array<NameIdKey>;
3182
- }
3183
- /**
3184
- * The response for a pet search.
3185
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3186
- */
3187
- interface PetMediaResponse extends ResponseBase {
3188
- assets: Array<MediaAsset$1>;
3189
- id: number;
3190
- }
3191
- /**
3192
- * The response for a pet.
3193
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3194
- */
3195
- interface PetResponse extends NameId, ResponseBase {
3196
- abilities: Array<Ability>;
3197
- battle_pet_type: BattlePetType;
3198
- creature: NameIdKey;
3199
- description: string;
3200
- icon: string;
3201
- is_alliance_only: boolean;
3202
- is_battlepet: boolean;
3203
- is_capturable: boolean;
3204
- is_horde_only: boolean;
3205
- is_random_creature_display: boolean;
3206
- is_tradable: boolean;
3207
- media: Media$7;
3208
- should_exclude_if_uncollected: boolean;
3209
- source: Source$1;
3210
- }
3211
- interface Ability {
3212
- ability: NameIdKey;
3213
- required_level: number;
3214
- slot: number;
3215
- }
3216
- interface BattlePetType extends NameId {
3217
- type: string;
3218
- }
3219
- interface Media$7 extends KeyBase {
3220
- id: number;
3221
- }
3222
- interface Source$1 {
3223
- name: string;
3224
- type: string;
3225
- }
3226
-
3227
- /**
3228
- * Get a pet by ID.
3229
- * @param petId The pet ID.
3230
- * @returns The pet. See {@link PetResponse}.
3231
- */
3232
- declare function pet(petId: number): Resource<PetResponse>;
3233
- /**
3234
- * Get a pet ability by ID.
3235
- * @param petAbilityId The pet ability ID.
3236
- * @returns The pet ability. See {@link PetAbilityResponse}.
3237
- */
3238
- declare function petAbility(petAbilityId: number): Resource<PetAbilityResponse>;
3239
- /**
3240
- * Get a pet ability index.
3241
- * @returns The pet ability index. See {@link PetAbilityIndexResponse}.
3242
- */
3243
- declare function petAbilityIndex(): Resource<PetAbilityIndexResponse>;
3244
- /**
3245
- * Get a pet ability media by ID.
3246
- * @param petAbilityId The pet ability ID.
3247
- * @returns The pet ability media. See {@link PetAbilityMediaResponse}.
3248
- */
3249
- declare function petAbilityMedia(petAbilityId: number): Resource<PetAbilityMediaResponse>;
3250
- /**
3251
- * Get a pet index.
3252
- * @returns The pet index. See {@link PetIndexResponse}.
3253
- */
3254
- declare function petIndex(): Resource<PetIndexResponse>;
3255
- /**
3256
- * Get a pet media by ID.
3257
- * @param petId The pet ID.
3258
- * @returns The pet media. See {@link PetMediaResponse}.
3259
- */
3260
- declare function petMedia(petId: number): Resource<PetMediaResponse>;
3261
-
3262
- /**
3263
- * The response for a playable class index.
3264
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3265
- */
3266
- interface PlayableClassIndexResponse extends ResponseBase {
3267
- classes: Array<NameIdKey>;
3268
- }
3269
- /**
3270
- * The response for playable class media.
3271
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3272
- */
3273
- interface PlayableClassMediaResponse extends ResponseBase {
3274
- assets: Array<MediaAsset$1>;
3275
- id: number;
3276
- }
3277
- /**
3278
- * The response for a playable class.
3279
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3280
- */
3281
- interface PlayableClassResponse extends NameId, ResponseBase {
3282
- gender_name: GenderName;
3283
- media: Media$6;
3284
- playable_races: Array<NameIdKey>;
3285
- power_type: NameIdKey;
3286
- pvp_talent_slots: {
3287
- href: string;
3288
- };
3289
- specializations: Array<NameIdKey>;
3290
- }
3291
- /**
3292
- * The response for a playable class's PvP talent slots.
3293
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3294
- */
3295
- interface PvpTalentSlotsResponse extends ResponseBase {
3296
- talent_slots: Array<TalentSlot>;
3297
- }
3298
- interface Media$6 extends KeyBase {
3299
- id: number;
3300
- }
3301
- interface TalentSlot {
3302
- slot_number: number;
3303
- unlock_player_level: number;
3304
- }
3305
-
3306
- /**
3307
- * Get a playable class by ID.
3308
- * @param playableClassId The playable class ID.
3309
- * @returns The playable class. See {@link PlayableClassResponse}.
3310
- */
3311
- declare function playableClass(playableClassId: number): Resource<PlayableClassResponse>;
3312
- /**
3313
- * Get a playable class index.
3314
- * @returns The playable class index. See {@link PlayableClassIndexResponse}.
3315
- */
3316
- declare function playableClassIndex(): Resource<PlayableClassIndexResponse>;
3317
- /**
3318
- * Get playable class media by ID.
3319
- * @param playableClassId The playable class ID.
3320
- * @returns The playable class media. See {@link PlayableClassMediaResponse}.
3321
- */
3322
- declare function playableClassMedia(playableClassId: number): Resource<PlayableClassMediaResponse>;
3323
- /**
3324
- * Get a playable class's PvP talent slots by ID.
3325
- * @param playableClassId The playable class ID.
3326
- * @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.
3327
- */
3328
- declare function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse>;
3329
-
3330
- /**
3331
- * The playable race index response.
3332
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3333
- */
3334
- interface PlayableRaceIndexResponse extends ResponseBase {
3335
- races: Array<NameIdKey>;
3336
- }
3337
- /**
3338
- * The playable race response.
3339
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3340
- */
3341
- interface PlayableRaceResponse extends NameId, ResponseBase {
3342
- faction: Faction;
3343
- gender_name: GenderName;
3344
- is_allied_race: boolean;
3345
- is_selectable: boolean;
3346
- playable_classes: Array<NameIdKey>;
3347
- }
3348
-
3349
- /**
3350
- * Get a playable race by ID.
3351
- * @param playableRaceId The playable race ID.
3352
- * @returns The playable race. See {@link PlayableRaceResponse}.
3353
- */
3354
- declare function playableRace(playableRaceId: number): Resource<PlayableRaceResponse>;
3355
- /**
3356
- * Get a playable race index.
3357
- * @returns The playable race index. See {@link PlayableRaceIndexResponse}.
3358
- */
3359
- declare function playableRaceIndex(): Resource<PlayableRaceIndexResponse>;
3360
-
3361
- /**
3362
- * The response for a playable specialization index.
3363
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3364
- */
3365
- interface PlayableSpecializationIndexResponse extends ResponseBase {
3366
- character_specializations: Array<NameIdKey>;
3367
- pet_specializations: Array<NameIdKey>;
3368
- }
3369
- /**
3370
- * The response for a playable specialization media.
3371
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3372
- */
3373
- interface PlayableSpecializationMediaResponse extends ResponseBase {
3374
- assets: Array<MediaAsset$1>;
3375
- id: number;
3376
- }
3377
- /**
3378
- * The response for a playable specialization.
3379
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3380
- */
3381
- interface PlayableSpecializationResponse extends NameId, ResponseBase {
3382
- gender_description: GenderName;
3383
- media: Media$5;
3384
- playable_class: NameIdKey;
3385
- power_type: NameIdKey;
3386
- primary_stat_type: PrimaryStatType;
3387
- pvp_talents: Array<PvpTalent>;
3388
- role: PrimaryStatType;
3389
- spec_talent_tree: SpecTalentTree$1;
3390
- }
3391
- interface Media$5 extends KeyBase {
3392
- id: number;
3393
- }
3394
- interface PrimaryStatType {
3395
- name: string;
3396
- type: string;
3397
- }
3398
- interface PvpTalent {
3399
- spell_tooltip: SpellTooltip;
3400
- talent: NameIdKey;
3401
- }
3402
- interface SpecTalentTree$1 extends KeyBase {
3403
- name: string;
3404
- }
3405
- interface SpellTooltip {
3406
- cast_time: string;
3407
- cooldown?: string;
3408
- description: string;
3409
- power_cost?: string;
3410
- range?: string;
3411
- }
3412
-
3413
- /**
3414
- * Get a playable specialization by ID.
3415
- * @param specializationId The playable specialization ID.
3416
- * @returns The playable specialization. See {@link PlayableSpecializationResponse}.
3417
- */
3418
- declare function playableSpecialization(specializationId: number): Resource<PlayableSpecializationResponse>;
3419
- /**
3420
- * Get a playable specialization index.
3421
- * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.
3422
- */
3423
- declare function playableSpecializationIndex(): Resource<PlayableSpecializationIndexResponse>;
3424
- /**
3425
- * Get a playable specialization media by ID.
3426
- * @param specializationId The playable specialization ID.
3427
- * @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.
3428
- */
3429
- declare function playableSpecializationMedia(specializationId: number): Resource<PlayableSpecializationMediaResponse>;
3430
-
3431
- /**
3432
- * The response for a power type index.
3433
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3434
- */
3435
- interface PowerTypeIndexResponse extends ResponseBase {
3436
- power_types: Array<NameIdKey>;
3437
- }
3438
- /**
3439
- * The response for a power type.
3440
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3441
- */
3442
- interface PowerTypeResponse extends NameId, ResponseBase {
3443
- }
3444
-
3445
- /**
3446
- * Get a power type by ID.
3447
- * @param powerTypeId The power type ID.
3448
- * @returns The power type. See {@link PowerTypeResponse}.
3449
- */
3450
- declare function powerType(powerTypeId: number): Resource<PowerTypeResponse>;
3451
- /**
3452
- * Get a power type index.
3453
- * @returns The power type index. See {@link PowerTypeIndexResponse}.
3454
- */
3455
- declare function powerTypeIndex(): Resource<PowerTypeIndexResponse>;
3456
-
3457
- /**
3458
- * The response for a profession index.
3459
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3460
- */
3461
- interface ProfessionIndexResponse extends ResponseBase {
3462
- professions: Array<NameIdKey>;
3463
- }
3464
- /**
3465
- * The response for a profession media.
3466
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3467
- */
3468
- interface ProfessionMediaResponse extends ResponseBase {
3469
- assets: Array<MediaAsset$1>;
3470
- id: number;
3471
- }
3472
- /**
3473
- * The response for a profession.
3474
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3475
- */
3476
- interface ProfessionResponse extends NameId, ResponseBase {
3477
- description: string;
3478
- media: Media$4;
3479
- skill_tiers: Array<NameIdKey>;
3480
- type: Type;
3481
- }
3482
- /**
3483
- * The response for a profession skill tier.
3484
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3485
- */
3486
- interface ProfessionSkillTierResponse extends NameId, ResponseBase {
3487
- categories: Array<Category>;
3488
- maximum_skill_level: number;
3489
- minimum_skill_level: number;
3490
- }
3491
- /**
3492
- * The response for a recipe media.
3493
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3494
- */
3495
- interface RecipeMediaResponse extends ResponseBase {
3496
- assets: Array<MediaAsset$1>;
3497
- id: number;
3498
- }
3499
- /**
3500
- * The response for a recipe.
3501
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3502
- */
3503
- interface RecipeResponse extends NameId, ResponseBase {
3504
- crafted_item: NameIdKey;
3505
- crafted_quantity: CraftedQuantity;
3506
- media: Media$4;
3507
- reagents: Array<Reagent>;
3508
- }
3509
- interface Category {
3510
- name: string;
3511
- recipes: Array<NameIdKey>;
3512
- }
3513
- interface CraftedQuantity {
3514
- value: number;
3515
- }
3516
- interface Media$4 extends KeyBase {
3517
- id: number;
3518
- }
3519
- interface Reagent {
3520
- quantity: number;
3521
- reagent: NameIdKey;
3522
- }
3523
- interface Type {
3524
- name: string;
3525
- type: string;
3526
- }
3527
-
3528
- /**
3529
- * Get a profession by ID.
3530
- * @param professionId The profession ID.
3531
- * @returns The profession. See {@link ProfessionResponse}.
3532
- */
3533
- declare function profession(professionId: number): Resource<ProfessionResponse>;
3534
- /**
3535
- * Get a profession index.
3536
- * @returns The profession index. See {@link ProfessionIndexResponse}.
3537
- */
3538
- declare function professionIndex(): Resource<ProfessionIndexResponse>;
3539
- /**
3540
- * Get profession media by ID.
3541
- * @param professionId The profession ID.
3542
- * @returns The profession media. See {@link ProfessionMediaResponse}.
3543
- */
3544
- declare function professionMedia(professionId: number): Resource<ProfessionMediaResponse>;
3545
- /**
3546
- * Get a profession's skill tier by ID.
3547
- * @param professionId The profession ID.
3548
- * @param skillTierId The skill tier ID.
3549
- * @returns The profession's skill tier. See {@link ProfessionSkillTierResponse}.
3550
- */
3551
- declare function professionSkillTier(professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse>;
3552
- /**
3553
- * Get a recipe by ID.
3554
- * @param recipeId The recipe ID.
3555
- * @returns The recipe. See {@link RecipeResponse}.
3556
- */
3557
- declare function recipe(recipeId: number): Resource<RecipeResponse>;
3558
- /**
3559
- * Get recipe media by ID.
3560
- * @param recipeId The recipe ID.
3561
- * @returns The recipe media. See {@link RecipeMediaResponse}.
3562
- */
3563
- declare function recipeMedia(recipeId: number): Resource<RecipeMediaResponse>;
3564
-
3565
- /**
3566
- * The response for a PvP leaderboard index.
3567
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3568
- */
3569
- interface PvpLeaderboardIndexResponse extends ResponseBase {
3570
- leaderboards: Array<NameIdKey>;
3571
- season: Season;
3572
- }
3573
- /**
3574
- * The response for a PvP leaderboard.
3575
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3576
- */
3577
- interface PvpLeaderboardResponse extends ResponseBase {
3578
- bracket: Bracket$1;
3579
- entries: Array<Entry>;
3580
- name: string;
3581
- season: Season;
3582
- }
3583
- /**
3584
- * The response for PvP rewards index.
3585
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3586
- */
3587
- interface PvpRewardsIndexResponse extends ResponseBase {
3588
- rewards: Array<Reward>;
3589
- season: Season;
3590
- }
3591
- /**
3592
- * The response for a PvP season index.
3593
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3594
- */
3595
- interface PvpSeasonIndexResponse extends ResponseBase {
3596
- current_season: Season;
3597
- seasons: Array<Season>;
3598
- }
3599
- /**
3600
- * The response for a PvP season.
3601
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3602
- */
3603
- interface PvpSeasonResponse extends ResponseBase {
3604
- id: number;
3605
- leaderboards: {
3606
- href: string;
3607
- };
3608
- rewards: {
3609
- href: string;
3610
- };
3611
- season_name?: string;
3612
- season_start_timestamp: number;
3613
- }
3614
- interface Bracket$1 {
3615
- id: number;
3616
- type: 'ARENA_3v3' | 'BATTLEGROUNDS' | 'SHUFFLE';
3617
- }
3618
- interface Character extends NameId {
3619
- realm: Realm;
3620
- }
3621
- interface Entry {
3622
- character: Character;
3623
- faction: {
3624
- type: keyof typeof Factions;
3625
- };
3626
- rank: number;
3627
- rating: number;
3628
- season_match_statistics: SeasonMatchStatistics;
3629
- tier: Season;
3630
- }
3631
- interface Realm extends KeyBase {
3632
- id: number;
3633
- slug: string;
3634
- }
3635
- interface Reward {
3636
- achievement: NameIdKey;
3637
- bracket: Bracket$1;
3638
- faction?: Faction;
3639
- rating_cutoff: number;
3640
- specialization?: NameIdKey;
3641
- }
3642
- interface Season extends KeyBase {
3643
- id: number;
3644
- }
3645
- interface SeasonMatchStatistics {
3646
- lost: number;
3647
- played: number;
3648
- won: number;
3649
- }
3650
-
3651
- /**
3652
- * Get a PvP leaderboard by PvP season ID and bracket.
3653
- * @param pvpSeasonId The PvP season ID.
3654
- * @param bracket The PvP bracket.
3655
- * @returns The PvP leaderboard. See {@link PvpLeaderboardResponse}.
3656
- */
3657
- declare function pvpLeaderboard(pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse>;
3658
- /**
3659
- * Get a PvP leaderboard index by PvP season ID.
3660
- * @param pvpSeasonId The PvP season ID.
3661
- * @returns The PvP leaderboard index. See {@link PvpLeaderboardIndexResponse}.
3662
- */
3663
- declare function pvpLeaderboardIndex(pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse>;
3664
- /**
3665
- * Get a PvP reward index by PvP season ID.
3666
- * @param pvpSeasonId The PvP season ID.
3667
- * @returns The PvP reward index. See {@link PvpRewardsIndexResponse}.
3668
- */
3669
- declare function pvpRewardsIndex(pvpSeasonId: number): Resource<PvpRewardsIndexResponse>;
3670
- /**
3671
- * Get a PvP season by ID.
3672
- * @param pvpSeasonId The PvP season ID.
3673
- * @returns The PvP season. See {@link PvpSeasonResponse}.
3674
- */
3675
- declare function pvpSeason(pvpSeasonId: number): Resource<PvpSeasonResponse>;
3676
- /**
3677
- * Get a PvP season index.
3678
- * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.
3679
- */
3680
- declare function pvpSeasonIndex(): Resource<PvpSeasonIndexResponse>;
3681
-
3682
- /**
3683
- * The response for a PvP tier index.
3684
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3685
- */
3686
- interface PvpTierIndexResponse extends ResponseBase {
3687
- tiers: Array<NameIdKey>;
3688
- }
3689
- /**
3690
- * The response for a PvP tier media.
3691
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3692
- */
3693
- interface PvpTierMediaResponse extends ResponseBase {
3694
- assets: Array<MediaAsset$1>;
3695
- id: number;
3696
- }
3697
- /**
3698
- * The response for a PvP tier.
3699
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3700
- */
3701
- interface PvpTierResponse extends NameId, ResponseBase {
3702
- bracket: Bracket;
3703
- max_rating: number;
3704
- media: Media$3;
3705
- min_rating: number;
3706
- rating_type: number;
3707
- }
3708
- interface Bracket {
3709
- id: number;
3710
- type: string;
3711
- }
3712
- interface Media$3 extends KeyBase {
3713
- id: number;
3714
- }
3715
-
3716
- /**
3717
- * Get a PvP tier by ID.
3718
- * @param pvpTierId The PvP tier ID.
3719
- * @returns The PvP tier. See {@link PvpTierResponse}.
3720
- */
3721
- declare function pvpTier(pvpTierId: number): Resource<PvpTierResponse>;
3722
- /**
3723
- * Get a PvP tier index.
3724
- * @returns The PvP tier index. See {@link PvpTierIndexResponse}.
3725
- */
3726
- declare function pvpTierIndex(): Resource<PvpTierIndexResponse>;
3727
- /**
3728
- * Get PvP tier media by ID.
3729
- * @param pvpTierId The PvP tier ID.
3730
- * @returns The PvP tier media. See {@link PvpTierMediaResponse}.
3731
- */
3732
- declare function pvpTierMedia(pvpTierId: number): Resource<PvpTierMediaResponse>;
3733
-
3734
- /**
3735
- * The response for a quest area index.
3736
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3737
- */
3738
- interface QuestAreaIndexResponse extends ResponseBase {
3739
- areas: Array<NameIdKey>;
3740
- }
3741
- /**
3742
- * The response for a quest area.
3743
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3744
- */
3745
- interface QuestAreaResponse extends ResponseBase {
3746
- area: string;
3747
- id: number;
3748
- quests: Array<NameIdKey>;
3749
- }
3750
- /**
3751
- * The response for a quest category index.
3752
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3753
- */
3754
- interface QuestCategoryIndexResponse extends ResponseBase {
3755
- categories: Array<NameIdKey>;
3756
- }
3757
- /**
3758
- * The response for a quest category.
3759
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3760
- */
3761
- interface QuestCategoryResponse extends ResponseBase {
3762
- category: string;
3763
- id: number;
3764
- quests: Array<NameIdKey>;
3765
- }
3766
- /**
3767
- * The response for a quest index.
3768
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3769
- */
3770
- interface QuestIndexResponse extends ResponseBase {
3771
- areas: {
3772
- href: string;
3773
- };
3774
- categories: {
3775
- href: string;
3776
- };
3777
- types: {
3778
- href: string;
3779
- };
3780
- }
3781
- /**
3782
- * The response for a quest.
3783
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3784
- */
3785
- interface QuestResponse extends ResponseBase {
3786
- area: NameIdKey;
3787
- description: string;
3788
- id: number;
3789
- requirements: Requirements;
3790
- rewards: Rewards;
3791
- title: string;
3792
- }
3793
- /**
3794
- * The response for a quest type index.
3795
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3796
- */
3797
- interface QuestTypeIndexResponse extends ResponseBase {
3798
- types: Array<NameIdKey>;
3799
- }
3800
- /**
3801
- * The response for a quest type.
3802
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3803
- */
3804
- interface QuestTypeResponse extends ResponseBase {
3805
- id: number;
3806
- quests: Array<NameIdKey>;
3807
- type: string;
3808
- }
3809
- interface Money {
3810
- units: Units;
3811
- value: number;
3812
- }
3813
- interface Reputation {
3814
- reward: NameIdKey;
3815
- value: number;
3816
- }
3817
- interface Requirements {
3818
- faction: Faction;
3819
- max_character_level: number;
3820
- min_character_level: number;
3821
- }
3822
- interface Rewards {
3823
- experience: number;
3824
- money: Money;
3825
- reputations: Array<Reputation>;
3826
- }
3827
- interface Units {
3828
- copper: number;
3829
- gold: number;
3830
- silver: number;
3831
- }
3832
-
3833
- /**
3834
- * Get a quest by ID.
3835
- * @param questId The quest ID.
3836
- * @returns The quest. See {@link QuestResponse}.
3837
- */
3838
- declare function quest(questId: number): Resource<QuestResponse>;
3839
- /**
3840
- * Get a quest area by ID.
3841
- * @param questAreaId The quest area ID.
3842
- * @returns The quest area. See {@link QuestAreaResponse}.
3843
- */
3844
- declare function questArea(questAreaId: number): Resource<QuestAreaResponse>;
3845
- /**
3846
- * Get a quest area index.
3847
- * @returns The quest area index. See {@link QuestAreaIndexResponse}.
3848
- */
3849
- declare function questAreaIndex(): Resource<QuestAreaIndexResponse>;
3850
- /**
3851
- * Get a quest category by ID.
3852
- * @param questCategoryId The quest category ID.
3853
- * @returns The quest category. See {@link QuestCategoryResponse}.
3854
- */
3855
- declare function questCategory(questCategoryId: number): Resource<QuestCategoryResponse>;
3856
- /**
3857
- * Get a quest category index.
3858
- * @returns The quest category index. See {@link QuestCategoryIndexResponse}.
3859
- */
3860
- declare function questCategoryIndex(): Resource<QuestCategoryIndexResponse>;
3861
- /**
3862
- * Get a quest index.
3863
- * @returns The quest index. See {@link QuestIndexResponse}.
3864
- */
3865
- declare function questIndex(): Resource<QuestIndexResponse>;
3866
- /**
3867
- * Get a quest type by ID.
3868
- * @param questTypeId The quest type ID.
3869
- * @returns The quest type. See {@link QuestTypeResponse}.
3870
- */
3871
- declare function questType(questTypeId: number): Resource<QuestTypeResponse>;
3872
- /**
3873
- * Get a quest type index.
3874
- * @returns The quest type index. See {@link QuestTypeIndexResponse}.
3875
- */
3876
- declare function questTypeIndex(): Resource<QuestTypeIndexResponse>;
3877
-
3878
- /**
3879
- * Get a realm by slug.
3880
- * @param realmSlug The realm slug.
3881
- * @returns The realm. See {@link RealmResponse}.
3882
- */
3883
- declare function realm(realmSlug: string): Resource<RealmResponse>;
3884
- /**
3885
- * Get a realm index.
3886
- * @returns The realm index. See {@link RealmIndexResponse}.
3887
- */
3888
- declare function realmIndex(): Resource<RealmIndexResponse>;
3889
- /**
3890
- * Search for realms.
3891
- * @param options The search parameters. See {@link RealmSearchParameters}.
3892
- * @returns The search results. See {@link SearchResponse}.
3893
- */
3894
- declare function realmSearch(options: RealmSearchParameters): Resource<SearchResponse<RealmSearchResponseItem>, RealmSearchParameters>;
3895
-
3896
- /**
3897
- * The response for a region index.
3898
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3899
- */
3900
- interface RegionIndexResponse extends ResponseBase {
3901
- regions: Array<{
3902
- href: string;
3903
- }>;
3904
- }
3905
- /**
3906
- * The response for a region.
3907
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3908
- */
3909
- interface RegionResponse extends NameId, ResponseBase {
3910
- patch_string: string;
3911
- tag: string;
3912
- }
3913
-
3914
- /**
3915
- * Get a region by ID.
3916
- * @param regionId The region ID.
3917
- * @returns The region. See {@link RegionResponse}.
3918
- */
3919
- declare function region(regionId: number): Resource<RegionResponse>;
3920
- /**
3921
- * Get a region index.
3922
- * @returns The region index. See {@link RegionIndexResponse}.
3923
- */
3924
- declare function regionIndex(): Resource<RegionIndexResponse>;
3925
-
3926
- /**
3927
- * The response for a reputation faction index.
3928
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3929
- */
3930
- interface ReputationFactionIndexResponse extends ResponseBase {
3931
- factions: Array<NameIdKey>;
3932
- root_factions: Array<NameIdKey>;
3933
- }
3934
- /**
3935
- * The response for a reputation faction.
3936
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3937
- */
3938
- interface ReputationFactionResponse extends ResponseBase {
3939
- description: string;
3940
- id: number;
3941
- name: string;
3942
- reputation_tiers: ReputationTiers;
3943
- }
3944
- /**
3945
- * The response for a reputation tier index.
3946
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3947
- */
3948
- interface ReputationTiersIndexResponse extends ResponseBase {
3949
- reputation_tiers: Array<ReputationTier>;
3950
- }
3951
- /**
3952
- * The response for a reputation tier.
3953
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
3954
- */
3955
- interface ReputationTiersResponse extends ResponseBase {
3956
- faction?: NameIdKey;
3957
- id: number;
3958
- tiers: Array<Tier>;
3959
- }
3960
- interface ReputationTier extends KeyBase {
3961
- id: number;
3962
- name?: string;
3963
- }
3964
- interface ReputationTiers extends KeyBase {
3965
- id: number;
3966
- }
3967
- interface Tier {
3968
- id: number;
3969
- max_value: number;
3970
- min_value: number;
3971
- name: string;
3972
- }
3973
-
3974
- /**
3975
- * Get a reputation faction by ID.
3976
- * @param reputationFactionId The reputation faction ID.
3977
- * @returns The reputation faction. See {@link ReputationFactionResponse}.
3978
- */
3979
- declare function reputationFaction(reputationFactionId: number): Resource<ReputationFactionResponse>;
3980
- /**
3981
- * Get a reputation faction index.
3982
- * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.
3983
- */
3984
- declare function reputationFactionIndex(): Resource<ReputationFactionIndexResponse>;
3985
- /**
3986
- * Get a reputation tier by ID.
3987
- * @param reputationTiersId The reputation tier ID.
3988
- * @returns The reputation tier. See {@link ReputationTiersResponse}.
3989
- */
3990
- declare function reputationTiers(reputationTiersId: number): Resource<ReputationTiersResponse>;
3991
- /**
3992
- * Get a reputation tier index.
3993
- * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.
3994
- */
3995
- declare function reputationTiersIndex(): Resource<ReputationTiersIndexResponse>;
3996
-
3997
- /**
3998
- * The response for a spell media.
3999
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4000
- */
4001
- interface SpellMediaResponse extends ResponseBase {
4002
- assets: Array<MediaAsset$1>;
4003
- id: number;
4004
- }
4005
- /**
4006
- * The response for a spell.
4007
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4008
- */
4009
- interface SpellResponse extends NameId, ResponseBase {
4010
- description: null | string;
4011
- media: Media$2;
4012
- }
4013
- /**
4014
- * The search parameters for spells.
4015
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4016
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
4017
- */
4018
- interface SpellSearchParameters extends BaseSearchParameters {
4019
- locale: Locales;
4020
- name: string;
4021
- }
4022
- /**
4023
- * The response for a spell search.
4024
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4025
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
4026
- */
4027
- interface SpellSearchResponseItem extends KeyBase {
4028
- data: {
4029
- id: number;
4030
- media: {
4031
- id: number;
4032
- };
4033
- name: Record<Locales, string | undefined>;
4034
- };
4035
- }
4036
- interface Media$2 extends KeyBase {
4037
- id: number;
4038
- }
4039
-
4040
- /**
4041
- * Get a spell by ID.
4042
- * @param spellId The spell ID.
4043
- * @returns The spell. See {@link SpellResponse}.
4044
- */
4045
- declare function spell(spellId: number): Resource<SpellResponse>;
4046
- /**
4047
- * Get spell media by ID.
4048
- * @param spellId The spell ID.
4049
- * @returns The spell media. See {@link SpellMediaResponse}.
4050
- */
4051
- declare function spellMedia(spellId: number): Resource<SpellMediaResponse>;
4052
- /**
4053
- * Get a spell search.
4054
- * @param options The spell search options. See {@link SpellSearchParameters}.
4055
- * @returns The spell search. See {@link SearchResponse}.
4056
- */
4057
- declare function spellSearch(options: SpellSearchParameters): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, 'locale' | 'name'>>;
4058
-
4059
- /**
4060
- * The response for a pvp talent index.
4061
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4062
- */
4063
- interface PvpTalentIndexResponse extends ResponseBase {
4064
- pvp_talents: Array<NameIdKey>;
4065
- }
4066
- /**
4067
- * The response for a pvp talent.
4068
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4069
- */
4070
- interface PvpTalentResponse extends ResponseBase {
4071
- compatible_slots: Array<number>;
4072
- description: string;
4073
- id: number;
4074
- playable_specialization: NameIdKey;
4075
- spell: NameIdKey;
4076
- unlock_player_level: number;
4077
- }
4078
- /**
4079
- * The response for a talent index.
4080
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4081
- */
4082
- interface TalentIndexResponse extends ResponseBase {
4083
- talents: Array<NameIdKey>;
4084
- }
4085
- /**
4086
- * The response for a talent.
4087
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4088
- */
4089
- interface TalentResponse extends ResponseBase {
4090
- id: number;
4091
- playable_class: PlayableClass;
4092
- rank_descriptions: Array<RankDescription>;
4093
- spell: NameIdKey;
4094
- }
4095
- /**
4096
- * The response for a talent tree index.
4097
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4098
- */
4099
- interface TalentTreeIndexResponse extends ResponseBase {
4100
- class_talent_trees: Array<TalentTree$1>;
4101
- spec_talent_trees: Array<TalentTree$1>;
4102
- }
4103
- /**
4104
- * The response for a talent tree nodes.
4105
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4106
- */
4107
- interface TalentTreeNodesResponse extends ResponseBase {
4108
- id: number;
4109
- spec_talent_trees: Array<SpecTalentTree>;
4110
- talent_nodes: Array<TalentNode>;
4111
- }
4112
- /**
4113
- * The response for a talent tree.
4114
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4115
- */
4116
- interface TalentTreeResponse extends NameId, ResponseBase {
4117
- class_talent_nodes: Array<ClassTalentNode>;
4118
- media: {
4119
- href: string;
4120
- };
4121
- playable_class: NameIdKey;
4122
- playable_specialization: NameIdKey;
4123
- restriction_lines: Array<RestrictionLine>;
4124
- spec_talent_nodes: Array<SpecTalentNode>;
4125
- }
4126
- interface ChoiceOfTooltip {
4127
- spell_tooltip: PurpleSpellTooltip;
4128
- talent: NameIdKey;
4129
- }
4130
- interface ClassTalentNode {
4131
- display_col: number;
4132
- display_row: number;
4133
- id: number;
4134
- locked_by?: Array<number>;
4135
- node_type: NodeType;
4136
- ranks: Array<ClassTalentNodeRank>;
4137
- raw_position_x: number;
4138
- raw_position_y: number;
4139
- unlocks?: Array<number>;
4140
- }
4141
- interface ClassTalentNodeRank {
4142
- choice_of_tooltips?: Array<Tooltip>;
4143
- default_points?: number;
4144
- rank: number;
4145
- tooltip?: Tooltip;
4146
- }
4147
- interface NodeType {
4148
- id: number;
4149
- type: 'ACTIVE' | 'CHOICE' | 'PASSIVE';
4150
- }
4151
- interface PlayableClass extends KeyBase {
4152
- id: number;
4153
- }
4154
- interface PurpleSpellTooltip {
4155
- cast_time: string;
4156
- description: string;
4157
- spell: NameIdKey;
4158
- }
4159
- interface Rank {
4160
- choice_of_tooltips?: Array<Tooltip>;
4161
- rank: number;
4162
- tooltip?: Tooltip;
4163
- }
4164
- interface RankDescription {
4165
- description: null;
4166
- rank: number;
4167
- }
4168
- interface RestrictionLine {
4169
- is_for_class: boolean;
4170
- required_points: number;
4171
- restricted_row: number;
4172
- }
4173
- interface SpecTalentNode {
4174
- display_col: number;
4175
- display_row: number;
4176
- id: number;
4177
- locked_by?: Array<number>;
4178
- node_type: NodeType;
4179
- ranks: Array<SpecTalentNodeRank>;
4180
- raw_position_x: number;
4181
- raw_position_y: number;
4182
- unlocks?: Array<number>;
4183
- }
4184
- interface SpecTalentNodeRank {
4185
- choice_of_tooltips?: Array<ChoiceOfTooltip>;
4186
- rank: number;
4187
- tooltip?: Tooltip;
4188
- }
4189
- interface SpecTalentTree extends KeyBase {
4190
- name: string;
4191
- }
4192
- interface TalentNode {
4193
- display_col: number;
4194
- display_row: number;
4195
- id: number;
4196
- node_type: NodeType;
4197
- ranks: Array<Rank>;
4198
- raw_position_x: number;
4199
- raw_position_y: number;
4200
- }
4201
- interface TalentTree$1 extends KeyBase {
4202
- name: string;
4203
- }
4204
- interface Tooltip {
4205
- spell_tooltip: TooltipSpellTooltip;
4206
- talent: NameIdKey;
4207
- }
4208
- interface TooltipSpellTooltip {
4209
- cast_time: string;
4210
- cooldown?: string;
4211
- description: string;
4212
- power_cost?: string;
4213
- range?: string;
4214
- spell: NameIdKey;
4215
- }
4216
-
4217
- /**
4218
- * Get a PvP talent by ID.
4219
- * @param pvpTalentId The PvP talent ID.
4220
- * @returns The PvP talent. See {@link PvpTalentResponse}.
4221
- */
4222
- declare function pvpTalent(pvpTalentId: number): Resource<PvpTalentResponse>;
4223
- /**
4224
- * Get a PvP talent index.
4225
- * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.
4226
- */
4227
- declare function pvpTalentIndex(): Resource<PvpTalentIndexResponse>;
4228
- /**
4229
- * Get a talent by ID.
4230
- * @param talentId The talent ID.
4231
- * @returns The talent. See {@link TalentResponse}.
4232
- */
4233
- declare function talent(talentId: number): Resource<TalentResponse>;
4234
- /**
4235
- * Get a talent index.
4236
- * @returns The talent index. See {@link TalentIndexResponse}.
4237
- */
4238
- declare function talentIndex(): Resource<TalentIndexResponse>;
4239
- /**
4240
- * Get a talent tree by ID.
4241
- * @param talentTreeId The talent tree ID.
4242
- * @param specId The playable specialization ID.
4243
- * @returns The talent tree. See {@link TalentTreeResponse}.
4244
- */
4245
- declare function talentTree(talentTreeId: number, specId: number): Resource<TalentTreeResponse>;
4246
- /**
4247
- * Get a talent tree index.
4248
- * @returns The talent tree index. See {@link TalentTreeIndexResponse}.
4249
- */
4250
- declare function talentTreeIndex(): Resource<TalentTreeIndexResponse>;
4251
- /**
4252
- * Get talent tree nodes by talent tree ID.
4253
- * @param talentTreeId The talent tree ID.
4254
- * @returns The talent tree nodes. See {@link TalentTreeNodesResponse}.
4255
- */
4256
- declare function talentTreeNodes(talentTreeId: number): Resource<TalentTreeNodesResponse>;
4257
-
4258
- /**
4259
- * The response for a tech talent index.
4260
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4261
- */
4262
- interface TechTalentIndexResponse extends ResponseBase {
4263
- talents: Array<NameIdKey>;
4264
- }
4265
- /**
4266
- * The response for a tech talent media.
4267
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4268
- */
4269
- interface TechTalentMediaResponse extends ResponseBase {
4270
- assets: Array<MediaAsset$1>;
4271
- }
4272
- /**
4273
- * The response for a tech talent.
4274
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4275
- */
4276
- interface TechTalentResponse extends NameId, ResponseBase {
4277
- display_order: number;
4278
- media: Media$1;
4279
- talent_tree: Media$1;
4280
- tier: number;
4281
- }
4282
- /**
4283
- * The response for a tech talent tree index.
4284
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4285
- */
4286
- interface TechTalentTreeIndexResponse extends ResponseBase {
4287
- talent_trees: Array<TalentTree>;
4288
- }
4289
- /**
4290
- * The response for a tech talent tree.
4291
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4292
- */
4293
- interface TechTalentTreeResponse extends ResponseBase {
4294
- id: number;
4295
- max_tiers: number;
4296
- playable_class: NameIdKey;
4297
- talents: Array<NameIdKey>;
4298
- }
4299
- interface Media$1 extends KeyBase {
4300
- id: number;
4301
- }
4302
- interface TalentTree extends KeyBase {
4303
- id: number;
4304
- name?: string;
4305
- }
4306
-
4307
- /**
4308
- * Get a tech talent by ID.
4309
- * @param techTalentId The tech talent ID.
4310
- * @returns The tech talent. See {@link TechTalentResponse}.
4311
- */
4312
- declare function techTalent(techTalentId: number): Resource<TechTalentResponse>;
4313
- /**
4314
- * Get a tech talent index.
4315
- * @returns The tech talent index. See {@link TechTalentIndexResponse}.
4316
- */
4317
- declare function techTalentIndex(): Resource<TechTalentIndexResponse>;
4318
- /**
4319
- * Get tech talent media by ID.
4320
- * @param techTalentId The tech talent ID.
4321
- * @returns The tech talent media. See {@link TechTalentMediaResponse}.
4322
- */
4323
- declare function techTalentMedia(techTalentId: number): Resource<TechTalentMediaResponse>;
4324
- /**
4325
- * Get a tech talent tree by ID.
4326
- * @param techTalentTreeId The tech talent tree ID.
4327
- * @returns The tech talent tree. See {@link TechTalentTreeResponse}.
4328
- */
4329
- declare function techTalentTree(techTalentTreeId: number): Resource<TechTalentTreeResponse>;
4330
- /**
4331
- * Get a tech talent tree index.
4332
- * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.
4333
- */
4334
- declare function techTalentTreeIndex(): Resource<TechTalentTreeIndexResponse>;
4335
-
4336
- /**
4337
- * The response for a title index.
4338
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4339
- */
4340
- interface TitleIndexResponse extends ResponseBase {
4341
- titles: Array<NameIdKey>;
4342
- }
4343
- /**
4344
- * The response for a title.
4345
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4346
- */
4347
- interface TitleResponse extends NameId, ResponseBase {
4348
- gender_name: GenderName;
4349
- }
4350
-
4351
- /**
4352
- * Get a title by ID.
4353
- * @param titleId The title ID.
4354
- * @returns The title. See {@link TitleResponse}.
4355
- */
4356
- declare function title(titleId: number): Resource<TitleResponse>;
4357
- /**
4358
- * Get a title index.
4359
- * @returns The title index. See {@link TitleIndexResponse}.
4360
- */
4361
- declare function titleIndex(): Resource<TitleIndexResponse>;
4362
-
4363
- /**
4364
- * The response for a toy index.
4365
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4366
- */
4367
- interface ToyIndexResponse extends ResponseBase {
4368
- toys: Array<NameIdKey>;
4369
- }
4370
- /**
4371
- * The response for a toy.
4372
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4373
- */
4374
- interface ToyResponse extends ResponseBase {
4375
- id: number;
4376
- item: NameIdKey;
4377
- media: Media;
4378
- source: Source;
4379
- source_description: string;
4380
- }
4381
- interface Media extends KeyBase {
4382
- id: number;
4383
- }
4384
- interface Source {
4385
- name: string;
4386
- type: string;
4387
- }
4388
-
4389
- /**
4390
- * Get a toy by ID.
4391
- * @param toyId The toy ID.
4392
- * @returns The toy. See {@link ToyResponse}.
4393
- */
4394
- declare function toy(toyId: number): Resource<ToyResponse>;
4395
- /**
4396
- * Get a toy index.
4397
- * @returns The toy index. See {@link ToyIndexResponse}.
4398
- */
4399
- declare function toyIndex(): Resource<ToyIndexResponse>;
4400
-
4401
- /**
4402
- * The response for a WoW token.
4403
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
4404
- */
4405
- interface WowTokenResponse extends ResponseBase {
4406
- last_updated_timestamp: number;
4407
- price: number;
4408
- }
4409
-
4410
- /**
4411
- * Get the current WoW token price.
4412
- * @returns The WoW token price. See {@link WowTokenResponse}.
4413
- */
4414
- declare function wowToken(): Resource<WowTokenResponse>;
1
+ import { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary } from './account-profile/account-profile.js';
2
+ import { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia } from './achievements/achievements.js';
3
+ import { auctions, commodities } from './auction-house/auction-house.js';
4
+ import { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch } from './azerite-essence/azerite-essence.js';
5
+ import { characterAchievementsSummary, characterAchievementStatistics } from './character-achievements/character-achievements.js';
6
+ import { characterAppearanceSummary } from './character-appearance/character-appearance.js';
7
+ import { characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary } from './character-collections/character-collections.js';
8
+ import { characterDungeons, characterEncountersSummary, characterRaids } from './character-encounters/character-encounters.js';
9
+ import { characterEquipmentSummary } from './character-equipment/character-equipment.js';
10
+ import { characterHunterPetsSummary } from './character-hunter-pets/character-hunter-pets.js';
11
+ import { characterMediaSummary } from './character-media/character-media.js';
12
+ import { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails } from './character-mythic-keystone-profile/character-mythic-keystone-profile.js';
13
+ import { characterProfessionsSummary } from './character-professions/character-professions.js';
14
+ import { characterProfileStatus, characterProfileSummary } from './character-profile/character-profile.js';
15
+ import { characterPvpSummary } from './character-pvp/character-pvp.js';
16
+ import { characterCompletedQuests, characterQuests } from './character-quests/character-quests.js';
17
+ import { characterReputationsSummary } from './character-reputations/character-reputations.js';
18
+ import { characterSoulbinds } from './character-soulbinds/character-soulbinds.js';
19
+ import { characterSpecializationsSummary } from './character-specializations/character-specializations.js';
20
+ import { characterStatisticsSummary } from './character-statistics/character-statistics.js';
21
+ import { characterTitlesSummary } from './character-titles/character-titles.js';
22
+ import { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/connected-realm.js';
23
+ import { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex } from './covenant/covenant.js';
24
+ import { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex } from './creature/creature.js';
25
+ import { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/guild-crest.js';
26
+ import { guild, guildAchievements, guildActivity, guildRoster } from './guild/guild.js';
27
+ import { heirloom, heirloomIndex } from './heirloom/heirloom.js';
28
+ import { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass } from './item/item.js';
29
+ import { journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia } from './journal/journal.js';
30
+ import { mediaSearch } from './media-search/media-search.js';
31
+ import { modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex } from './modified-crafting/modified-crafting.js';
32
+ import { mount, mountIndex, mountSearch } from './mount/mount.js';
33
+ import { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia } from './mythic-keystone-affix/mythic-keystone-affix.js';
34
+ import { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex } from './mythic-keystone-dungeon/mythic-keystone-dungeon.js';
35
+ import { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex } from './mythic-keystone-leaderboard/mythic-keystone-leaderboard.js';
36
+ import { mythicRaidLeaderboard } from './mythic-raid-leaderboard/mythic-raid-leaderboard.js';
37
+ import { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia } from './pet/pet.js';
38
+ import { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots } from './playable-class/playable-class.js';
39
+ import { playableRace, playableRaceIndex } from './playable-race/playable-race.js';
40
+ import { playableSpecialization, playableSpecializationIndex, playableSpecializationMedia } from './playable-specialization/playable-specialization.js';
41
+ import { powerType, powerTypeIndex } from './power-type/power-type.js';
42
+ import { profession, professionIndex, professionMedia, professionSkillTier, recipe, recipeMedia } from './profession/profession.js';
43
+ import { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex } from './pvp-season/pvp-season.js';
44
+ import { pvpTier, pvpTierIndex, pvpTierMedia } from './pvp-tier/pvp-tier.js';
45
+ import { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex } from './quest/quest.js';
46
+ import { realm, realmIndex, realmSearch } from './realm/realm.js';
47
+ import { region, regionIndex } from './region/region.js';
48
+ import { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex } from './reputations/reputations.js';
49
+ import { spell, spellMedia, spellSearch } from './spell/spell.js';
50
+ import { pvpTalent, pvpTalentIndex, talentIndex, talentTree, talentTreeIndex, talentTreeNodes } from './talent/talent.js';
51
+ export { talent } from './talent/talent.js';
52
+ import { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex } from './tech-talent/tech-talent.js';
53
+ import { title, titleIndex } from './title/title.js';
54
+ import { toy, toyIndex } from './toy/toy.js';
55
+ import { wowToken } from './wow-token/wow-token.js';
56
+ export { AccountCollectionsIndexResponse, AccountHeirloomsCollectionSummaryResponse, AccountMountsCollectionSummaryResponse, AccountPetsCollectionSummaryResponse, AccountProfileSummaryResponse, AccountToysCollectionSummaryResponse, AccountTransmogsCollectionSummaryResponse, ProtectedCharacterProfileSummaryResponse } from './account-profile/types.js';
57
+ export { AchievementCategoryIndexResponse, AchievementCategoryResponse, AchievementIndexResponse, AchievementMediaResponse, AchievementResponse } from './achievements/types.js';
58
+ export { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './auction-house/types.js';
59
+ export { AzeriteEssenceIndexResponse, AzeriteEssenceMediaResponse, AzeriteEssenceResponse, AzeriteEssenceSearchParameters, AzeriteEssenceSearchResponseItem } from './azerite-essence/types.js';
60
+ export { CharacterAchievementStatisticsResponse, CharacterAchievementsSummaryResponse } from './character-achievements/types.js';
61
+ export { CharacterAppearanceResponse } from './character-appearance/types.js';
62
+ export { CharacterCollectionsIndexResponse, CharacterHeirloomsCollectionSummaryResponse, CharacterMountsCollectionSummaryResponse, CharacterPetsCollectionSummaryResponse, CharacterToysCollectionSummaryResponse, CharacterTransmogCollectionSummaryResponse } from './character-collections/types.js';
63
+ export { CharacterDungeonsResponse, CharacterEncountersSummaryResponse, CharacterRaidsResponse } from './character-encounters/types.js';
64
+ export { CharacterEquipmentSummaryResponse } from './character-equipment/types.js';
65
+ export { CharacterHunterPetsSummaryResponse } from './character-hunter-pets/types.js';
66
+ export { CharacterMediaSummaryResponse } from './character-media/types.js';
67
+ export { CharacterMythicKeystoneProfileIndexResponse, CharacterMythicKeystoneSeasonDetailsResponse } from './character-mythic-keystone-profile/types.js';
68
+ export { CharacterProfessionsSummaryResponse } from './character-professions/types.js';
69
+ export { CharacterProfileStatusResponse, CharacterProfileSummaryResponse } from './character-profile/types.js';
70
+ export { CharacterPvpSummaryResponse } from './character-pvp/types.js';
71
+ export { CharacterCompletedQuestsResponse, CharacterQuestsResponse } from './character-quests/types.js';
72
+ export { CharacterReputationsSummaryResponse } from './character-reputations/types.js';
73
+ export { CharacterSoulbindsResponse } from './character-soulbinds/types.js';
74
+ export { CharacterSpecializationsSummaryResponse } from './character-specializations/types.js';
75
+ export { CharacterStatisticsSummaryResponse } from './character-statistics/types.js';
76
+ export { CharacterTitlesSummaryResponse } from './character-titles/types.js';
77
+ export { ConnectedRealmIndexResponse, ConnectedRealmResponse, ConnectedRealmSearchParameters, ConnectedRealmSearchResponseItem } from './connected-realm/types.js';
78
+ export { ConduitIndexResponse, ConduitResponse, CovenantIndexResponse, CovenantMediaResponse, CovenantResponse, SoulbindIndexResponse, SoulbindResponse } from './covenant/types.js';
79
+ export { CreatureDisplayMediaResponse, CreatureFamilyIndexResponse, CreatureFamilyMediaResponse, CreatureFamilyResponse, CreatureResponse, CreatureSearchParameters, CreatureSearchResponseItem, CreatureTypeIndexResponse, CreatureTypeResponse } from './creature/types.js';
80
+ export { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './guild/types.js';
81
+ export { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './guild-crest/types.js';
82
+ export { HeirloomIndexResponse, HeirloomResponse } from './heirloom/types.js';
83
+ export { ItemClassIndexResponse, ItemClassResponse, ItemMediaResponse, ItemResponse, ItemSearchParameters, ItemSearchResponseItem, ItemSetIndexResponse, ItemSetResponse, ItemSubClassResponse } from './item/types.js';
84
+ export { JournalEncounterIndexResponse, JournalEncounterResponse, JournalEncounterSearchParameters, JournalEncounterSearchResponseItem, JournalExpansionIndexResponse, JournalExpansionResponse, JournalInstanceIndexResponse, JournalInstanceMediaResponse, JournalInstanceResponse } from './journal/types.js';
85
+ export { MediaSearchParameters, MediaSearchResponseItem } from './media-search/types.js';
86
+ export { ModifiedCraftingCategoryIndexResponse, ModifiedCraftingCategoryResponse, ModifiedCraftingIndexResponse, ModifiedCraftingReagentSlotTypeIndexResponse, ModifiedCraftingReagentSlotTypeResponse } from './modified-crafting/types.js';
87
+ export { MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponseItem } from './mount/types.js';
88
+ export { MythicKeystoneAffixIndexResponse, MythicKeystoneAffixMediaResponse, MythicKeystoneAffixResponse } from './mythic-keystone-affix/types.js';
89
+ export { MythicKeystoneDungeonIndexResponse, MythicKeystoneDungeonResponse, MythicKeystoneIndexResponse, MythicKeystonePeriodIndexResponse, MythicKeystonePeriodResponse, MythicKeystoneSeasonIndexResponse, MythicKeystoneSeasonResponse } from './mythic-keystone-dungeon/types.js';
90
+ export { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './mythic-keystone-leaderboard/types.js';
91
+ export { MythicRaidLeaderboardResponse } from './mythic-raid-leaderboard/types.js';
92
+ export { PetAbilityIndexResponse, PetAbilityMediaResponse, PetAbilityResponse, PetIndexResponse, PetMediaResponse, PetResponse } from './pet/types.js';
93
+ export { PlayableClassIndexResponse, PlayableClassMediaResponse, PlayableClassResponse, PvpTalentSlotsResponse } from './playable-class/types.js';
94
+ export { PlayableRaceIndexResponse, PlayableRaceResponse } from './playable-race/types.js';
95
+ export { PlayableSpecializationIndexResponse, PlayableSpecializationMediaResponse, PlayableSpecializationResponse } from './playable-specialization/types.js';
96
+ export { PowerTypeIndexResponse, PowerTypeResponse } from './power-type/types.js';
97
+ export { ProfessionIndexResponse, ProfessionMediaResponse, ProfessionResponse, ProfessionSkillTierResponse, RecipeMediaResponse, RecipeResponse } from './profession/types.js';
98
+ export { PvpLeaderboardIndexResponse, PvpLeaderboardResponse, PvpRewardsIndexResponse, PvpSeasonIndexResponse, PvpSeasonResponse } from './pvp-season/types.js';
99
+ export { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './pvp-tier/types.js';
100
+ export { QuestAreaIndexResponse, QuestAreaResponse, QuestCategoryIndexResponse, QuestCategoryResponse, QuestIndexResponse, QuestResponse, QuestTypeIndexResponse, QuestTypeResponse } from './quest/types.js';
101
+ export { RealmCategory, RealmIndexResponse, RealmResponse, RealmSearchParameters, RealmSearchResponseItem, RealmTimezone, RealmType, RealmTypeCapitalized, WithoutUnderscore } from './realm/types.js';
102
+ export { RegionIndexResponse, RegionResponse } from './region/types.js';
103
+ export { ReputationFactionIndexResponse, ReputationFactionResponse, ReputationTiersIndexResponse, ReputationTiersResponse } from './reputations/types.js';
104
+ export { SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponseItem } from './spell/types.js';
105
+ export { PvpTalentIndexResponse, PvpTalentResponse, TalentIndexResponse, TalentResponse, TalentTreeIndexResponse, TalentTreeNodesResponse, TalentTreeResponse } from './talent/types.js';
106
+ export { TechTalentIndexResponse, TechTalentMediaResponse, TechTalentResponse, TechTalentTreeIndexResponse, TechTalentTreeResponse } from './tech-talent/types.js';
107
+ export { TitleIndexResponse, TitleResponse } from './title/types.js';
108
+ export { ToyIndexResponse, ToyResponse } from './toy/types.js';
109
+ export { WowTokenResponse } from './wow-token/types.js';
110
+ import '@blizzard-api/core';
111
+ import './base.js';
4415
112
 
4416
113
  /**
4417
114
  * The Blizzard API for World of Warcraft.
4418
115
  * @see https://develop.battle.net/documentation/world-of-warcraft
116
+ * @deprecated Use the appropriate named export from it's sub-folder instead, e.g. import { achievement } from "@blizzard-api/wow/achievements". This is done to improve treeshaking capabilities. This export will be removed in a future release.
4419
117
  */
4420
118
  declare const wow: {
4421
119
  accountCollectionsIndex: typeof accountCollectionsIndex;
@@ -4599,4 +297,4 @@ declare const wow: {
4599
297
  wowToken: typeof wowToken;
4600
298
  };
4601
299
 
4602
- export { type AccountCollectionsIndexResponse, type AccountHeirloomsCollectionSummaryResponse, type AccountMountsCollectionSummaryResponse, type AccountPetsCollectionSummaryResponse, type AccountProfileSummaryResponse, type AccountToysCollectionSummaryResponse, type AccountTransmogsCollectionSummaryResponse, type AchievementCategoryIndexResponse, type AchievementCategoryResponse, type AchievementIndexResponse, type AchievementMediaResponse, type AchievementResponse, type AuctionHouseCommoditiesResponse, type AuctionHouseResponse, type AzeriteEssenceIndexResponse, type AzeriteEssenceMediaResponse, type AzeriteEssenceResponse, type AzeriteEssenceSearchParameters, type AzeriteEssenceSearchResponseItem, type CharacterAchievementStatisticsResponse, type CharacterAchievementsSummaryResponse, type CharacterAppearanceResponse, type CharacterCollectionsIndexResponse, type CharacterCompletedQuestsResponse, type CharacterDungeonsResponse, type CharacterEncountersSummaryResponse, type CharacterEquipmentSummaryResponse, type CharacterHeirloomsCollectionSummaryResponse, type CharacterHunterPetsSummaryResponse, type CharacterMediaSummaryResponse, type CharacterMountsCollectionSummaryResponse, type CharacterMythicKeystoneProfileIndexResponse, type CharacterMythicKeystoneSeasonDetailsResponse, type CharacterPetsCollectionSummaryResponse, type CharacterProfessionsSummaryResponse, type CharacterProfileStatusResponse, type CharacterProfileSummaryResponse, type CharacterPvpSummaryResponse, type CharacterQuestsResponse, type CharacterRaidsResponse, type CharacterReputationsSummaryResponse, type CharacterSoulbindsResponse, type CharacterSpecializationsSummaryResponse, type CharacterStatisticsSummaryResponse, type CharacterTitlesSummaryResponse, type CharacterToysCollectionSummaryResponse, type CharacterTransmogCollectionSummaryResponse, type ConduitIndexResponse, type ConduitResponse, type ConnectedRealmIndexResponse, type ConnectedRealmResponse, type ConnectedRealmSearchParameters, type ConnectedRealmSearchResponseItem, type CovenantIndexResponse, type CovenantMediaResponse, type CovenantResponse, type CreatureDisplayMediaResponse, type CreatureFamilyIndexResponse, type CreatureFamilyMediaResponse, type CreatureFamilyResponse, type CreatureResponse, type CreatureSearchParameters, type CreatureSearchResponseItem, type CreatureTypeIndexResponse, type CreatureTypeResponse, type GuildAchievementsResponse, type GuildActivityResponse, type GuildCrestBorderEmblemResponse, type GuildCrestComponentsIndexResponse, type GuildResponse, type GuildRosterResponse, type HeirloomIndexResponse, type HeirloomResponse, type ItemClassIndexResponse, type ItemClassResponse, type ItemMediaResponse, type ItemResponse, type ItemSearchParameters, type ItemSearchResponseItem, type ItemSetIndexResponse, type ItemSetResponse, type ItemSubClassResponse, type JournalEncounterIndexResponse, type JournalEncounterResponse, type JournalEncounterSearchParameters, type JournalEncounterSearchResponseItem, type JournalExpansionIndexResponse, type JournalExpansionResponse, type JournalInstanceIndexResponse, type JournalInstanceMediaResponse, type JournalInstanceResponse, type MediaSearchParameters, type MediaSearchResponseItem, type ModifiedCraftingCategoryIndexResponse, type ModifiedCraftingCategoryResponse, type ModifiedCraftingIndexResponse, type ModifiedCraftingReagentSlotTypeIndexResponse, type ModifiedCraftingReagentSlotTypeResponse, type MountIndexResponse, type MountResponse, type MountSearchParameters, type MountSearchResponseItem, type MythicKeystoneAffixIndexResponse, type MythicKeystoneAffixMediaResponse, type MythicKeystoneAffixResponse, type MythicKeystoneDungeonIndexResponse, type MythicKeystoneDungeonResponse, type MythicKeystoneIndexResponse, type MythicKeystoneLeaderboardIndexResponse, type MythicKeystoneLeaderboardResponse, type MythicKeystonePeriodIndexResponse, type MythicKeystonePeriodResponse, type MythicKeystoneSeasonIndexResponse, type MythicKeystoneSeasonResponse, type MythicRaidLeaderboardResponse, type PetAbilityIndexResponse, type PetAbilityMediaResponse, type PetAbilityResponse, type PetIndexResponse, type PetMediaResponse, type PetResponse, type PlayableClassIndexResponse, type PlayableClassMediaResponse, type PlayableClassResponse, type PlayableRaceIndexResponse, type PlayableRaceResponse, type PlayableSpecializationIndexResponse, type PlayableSpecializationMediaResponse, type PlayableSpecializationResponse, type PowerTypeIndexResponse, type PowerTypeResponse, type ProfessionIndexResponse, type ProfessionMediaResponse, type ProfessionResponse, type ProfessionSkillTierResponse, type ProtectedCharacterProfileSummaryResponse, type PvpLeaderboardIndexResponse, type PvpLeaderboardResponse, type PvpRewardsIndexResponse, type PvpSeasonIndexResponse, type PvpSeasonResponse, type PvpTalentIndexResponse, type PvpTalentResponse, type PvpTalentSlotsResponse, type PvpTierIndexResponse, type PvpTierMediaResponse, type PvpTierResponse, type QuestAreaIndexResponse, type QuestAreaResponse, type QuestCategoryIndexResponse, type QuestCategoryResponse, type QuestIndexResponse, type QuestResponse, type QuestTypeIndexResponse, type QuestTypeResponse, type RealmCategory, type RealmIndexResponse, type RealmResponse, type RealmSearchParameters, type RealmSearchResponseItem, type RealmTimezone, type RealmType, type RealmTypeCapitalized, type RecipeMediaResponse, type RecipeResponse, type RegionIndexResponse, type RegionResponse, type ReputationFactionIndexResponse, type ReputationFactionResponse, type ReputationTiersIndexResponse, type ReputationTiersResponse, type SoulbindIndexResponse, type SoulbindResponse, type SpellMediaResponse, type SpellResponse, type SpellSearchParameters, type SpellSearchResponseItem, type TalentIndexResponse, type TalentResponse, type TalentTreeIndexResponse, type TalentTreeNodesResponse, type TalentTreeResponse, type TechTalentIndexResponse, type TechTalentMediaResponse, type TechTalentResponse, type TechTalentTreeIndexResponse, type TechTalentTreeResponse, type TitleIndexResponse, type TitleResponse, type ToyIndexResponse, type ToyResponse, type WithoutUnderscore, type WowTokenResponse, accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, wow as default, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, protectedCharacterProfileSummary, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wow, wowToken };
300
+ export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, wow as default, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, protectedCharacterProfileSummary, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wow, wowToken };