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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/README.md +80 -80
  2. package/dist/index.d.ts +4917 -293
  3. package/dist/index.js +2379 -348
  4. package/dist/index.js.map +1 -1
  5. package/package.json +10 -19
  6. package/dist/account-profile/account-profile.d.ts +0 -56
  7. package/dist/account-profile/account-profile.js +0 -3
  8. package/dist/account-profile/account-profile.js.map +0 -1
  9. package/dist/account-profile/types.d.ts +0 -138
  10. package/dist/account-profile/types.js +0 -3
  11. package/dist/account-profile/types.js.map +0 -1
  12. package/dist/achievements/achievements.d.ts +0 -34
  13. package/dist/achievements/achievements.js +0 -4
  14. package/dist/achievements/achievements.js.map +0 -1
  15. package/dist/achievements/types.d.ts +0 -70
  16. package/dist/achievements/types.js +0 -3
  17. package/dist/achievements/types.js.map +0 -1
  18. package/dist/auction-house/auction-house.d.ts +0 -17
  19. package/dist/auction-house/auction-house.js +0 -4
  20. package/dist/auction-house/auction-house.js.map +0 -1
  21. package/dist/auction-house/types.d.ts +0 -50
  22. package/dist/auction-house/types.js +0 -3
  23. package/dist/auction-house/types.js.map +0 -1
  24. package/dist/azerite-essence/azerite-essence.d.ts +0 -29
  25. package/dist/azerite-essence/azerite-essence.js +0 -4
  26. package/dist/azerite-essence/azerite-essence.js.map +0 -1
  27. package/dist/azerite-essence/types.d.ts +0 -57
  28. package/dist/azerite-essence/types.js +0 -3
  29. package/dist/azerite-essence/types.js.map +0 -1
  30. package/dist/base.d.ts +0 -115
  31. package/dist/base.js +0 -3
  32. package/dist/base.js.map +0 -1
  33. package/dist/character-achievements/character-achievements.d.ts +0 -18
  34. package/dist/character-achievements/character-achievements.js +0 -3
  35. package/dist/character-achievements/character-achievements.js.map +0 -1
  36. package/dist/character-achievements/types.d.ts +0 -56
  37. package/dist/character-achievements/types.js +0 -3
  38. package/dist/character-achievements/types.js.map +0 -1
  39. package/dist/character-appearance/character-appearance.d.ts +0 -12
  40. package/dist/character-appearance/character-appearance.js +0 -3
  41. package/dist/character-appearance/character-appearance.js.map +0 -1
  42. package/dist/character-appearance/types.d.ts +0 -53
  43. package/dist/character-appearance/types.js +0 -3
  44. package/dist/character-appearance/types.js.map +0 -1
  45. package/dist/character-collections/character-collections.d.ts +0 -42
  46. package/dist/character-collections/character-collections.js +0 -3
  47. package/dist/character-collections/character-collections.js.map +0 -1
  48. package/dist/character-collections/types.d.ts +0 -79
  49. package/dist/character-collections/types.js +0 -3
  50. package/dist/character-collections/types.js.map +0 -1
  51. package/dist/character-encounters/character-encounters.d.ts +0 -24
  52. package/dist/character-encounters/character-encounters.js +0 -3
  53. package/dist/character-encounters/character-encounters.js.map +0 -1
  54. package/dist/character-encounters/types.d.ts +0 -56
  55. package/dist/character-encounters/types.js +0 -3
  56. package/dist/character-encounters/types.js.map +0 -1
  57. package/dist/character-equipment/character-equipment.d.ts +0 -12
  58. package/dist/character-equipment/character-equipment.js +0 -3
  59. package/dist/character-equipment/character-equipment.js.map +0 -1
  60. package/dist/character-equipment/types.d.ts +0 -144
  61. package/dist/character-equipment/types.js +0 -3
  62. package/dist/character-equipment/types.js.map +0 -1
  63. package/dist/character-hunter-pets/character-hunter-pets.d.ts +0 -13
  64. package/dist/character-hunter-pets/character-hunter-pets.js +0 -3
  65. package/dist/character-hunter-pets/character-hunter-pets.js.map +0 -1
  66. package/dist/character-hunter-pets/types.d.ts +0 -19
  67. package/dist/character-hunter-pets/types.js +0 -3
  68. package/dist/character-hunter-pets/types.js.map +0 -1
  69. package/dist/character-media/character-media.d.ts +0 -12
  70. package/dist/character-media/character-media.js +0 -3
  71. package/dist/character-media/character-media.js.map +0 -1
  72. package/dist/character-media/types.d.ts +0 -12
  73. package/dist/character-media/types.js +0 -3
  74. package/dist/character-media/types.js.map +0 -1
  75. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.d.ts +0 -21
  76. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js +0 -3
  77. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js.map +0 -1
  78. package/dist/character-mythic-keystone-profile/types.d.ts +0 -46
  79. package/dist/character-mythic-keystone-profile/types.js +0 -3
  80. package/dist/character-mythic-keystone-profile/types.js.map +0 -1
  81. package/dist/character-professions/character-professions.d.ts +0 -12
  82. package/dist/character-professions/character-professions.js +0 -3
  83. package/dist/character-professions/character-professions.js.map +0 -1
  84. package/dist/character-professions/types.d.ts +0 -25
  85. package/dist/character-professions/types.js +0 -3
  86. package/dist/character-professions/types.js.map +0 -1
  87. package/dist/character-profile/character-profile.d.ts +0 -30
  88. package/dist/character-profile/character-profile.js +0 -3
  89. package/dist/character-profile/character-profile.js.map +0 -1
  90. package/dist/character-profile/types.d.ts +0 -55
  91. package/dist/character-profile/types.js +0 -3
  92. package/dist/character-profile/types.js.map +0 -1
  93. package/dist/character-pvp/character-pvp.d.ts +0 -12
  94. package/dist/character-pvp/character-pvp.js +0 -3
  95. package/dist/character-pvp/character-pvp.js.map +0 -1
  96. package/dist/character-pvp/types.d.ts +0 -19
  97. package/dist/character-pvp/types.js +0 -3
  98. package/dist/character-pvp/types.js.map +0 -1
  99. package/dist/character-quests/character-quests.d.ts +0 -18
  100. package/dist/character-quests/character-quests.js +0 -3
  101. package/dist/character-quests/character-quests.js.map +0 -1
  102. package/dist/character-quests/types.d.ts +0 -13
  103. package/dist/character-quests/types.js +0 -3
  104. package/dist/character-quests/types.js.map +0 -1
  105. package/dist/character-reputations/character-reputations.d.ts +0 -12
  106. package/dist/character-reputations/character-reputations.js +0 -3
  107. package/dist/character-reputations/character-reputations.js.map +0 -1
  108. package/dist/character-reputations/types.d.ts +0 -25
  109. package/dist/character-reputations/types.js +0 -3
  110. package/dist/character-reputations/types.js.map +0 -1
  111. package/dist/character-soulbinds/character-soulbinds.d.ts +0 -12
  112. package/dist/character-soulbinds/character-soulbinds.js +0 -3
  113. package/dist/character-soulbinds/character-soulbinds.js.map +0 -1
  114. package/dist/character-soulbinds/types.d.ts +0 -33
  115. package/dist/character-soulbinds/types.js +0 -3
  116. package/dist/character-soulbinds/types.js.map +0 -1
  117. package/dist/character-specializations/character-specializations.d.ts +0 -12
  118. package/dist/character-specializations/character-specializations.js +0 -3
  119. package/dist/character-specializations/character-specializations.js.map +0 -1
  120. package/dist/character-specializations/types.d.ts +0 -46
  121. package/dist/character-specializations/types.js +0 -3
  122. package/dist/character-specializations/types.js.map +0 -1
  123. package/dist/character-statistics/character-statistics.d.ts +0 -12
  124. package/dist/character-statistics/character-statistics.js +0 -3
  125. package/dist/character-statistics/character-statistics.js.map +0 -1
  126. package/dist/character-statistics/types.d.ts +0 -59
  127. package/dist/character-statistics/types.js +0 -3
  128. package/dist/character-statistics/types.js.map +0 -1
  129. package/dist/character-titles/character-titles.d.ts +0 -12
  130. package/dist/character-titles/character-titles.js +0 -3
  131. package/dist/character-titles/character-titles.js.map +0 -1
  132. package/dist/character-titles/types.d.ts +0 -11
  133. package/dist/character-titles/types.js +0 -3
  134. package/dist/character-titles/types.js.map +0 -1
  135. package/dist/chunk-24236PHF.js +0 -25
  136. package/dist/chunk-24236PHF.js.map +0 -1
  137. package/dist/chunk-26JOGQUD.js +0 -11
  138. package/dist/chunk-26JOGQUD.js.map +0 -1
  139. package/dist/chunk-2GRTSQL6.js +0 -37
  140. package/dist/chunk-2GRTSQL6.js.map +0 -1
  141. package/dist/chunk-36KZKLT6.js +0 -25
  142. package/dist/chunk-36KZKLT6.js.map +0 -1
  143. package/dist/chunk-3W2TUGVY.js +0 -30
  144. package/dist/chunk-3W2TUGVY.js.map +0 -1
  145. package/dist/chunk-3ZMQPXO2.js +0 -25
  146. package/dist/chunk-3ZMQPXO2.js.map +0 -1
  147. package/dist/chunk-42VH37MD.js +0 -19
  148. package/dist/chunk-42VH37MD.js.map +0 -1
  149. package/dist/chunk-4ECCICR5.js +0 -13
  150. package/dist/chunk-4ECCICR5.js.map +0 -1
  151. package/dist/chunk-5JEMELDR.js +0 -11
  152. package/dist/chunk-5JEMELDR.js.map +0 -1
  153. package/dist/chunk-6GBFNMK2.js +0 -25
  154. package/dist/chunk-6GBFNMK2.js.map +0 -1
  155. package/dist/chunk-7HVEQCDL.js +0 -19
  156. package/dist/chunk-7HVEQCDL.js.map +0 -1
  157. package/dist/chunk-ALS7FD7K.js +0 -18
  158. package/dist/chunk-ALS7FD7K.js.map +0 -1
  159. package/dist/chunk-CMQTS6M4.js +0 -24
  160. package/dist/chunk-CMQTS6M4.js.map +0 -1
  161. package/dist/chunk-D7O6VYRC.js +0 -11
  162. package/dist/chunk-D7O6VYRC.js.map +0 -1
  163. package/dist/chunk-DEHA3454.js +0 -19
  164. package/dist/chunk-DEHA3454.js.map +0 -1
  165. package/dist/chunk-DGHQJFYZ.js +0 -43
  166. package/dist/chunk-DGHQJFYZ.js.map +0 -1
  167. package/dist/chunk-DHX4ALS7.js +0 -31
  168. package/dist/chunk-DHX4ALS7.js.map +0 -1
  169. package/dist/chunk-EZKCAWKI.js +0 -62
  170. package/dist/chunk-EZKCAWKI.js.map +0 -1
  171. package/dist/chunk-FPLFZJUE.js +0 -13
  172. package/dist/chunk-FPLFZJUE.js.map +0 -1
  173. package/dist/chunk-G775CQBW.js +0 -11
  174. package/dist/chunk-G775CQBW.js.map +0 -1
  175. package/dist/chunk-GBIE4KXG.js +0 -60
  176. package/dist/chunk-GBIE4KXG.js.map +0 -1
  177. package/dist/chunk-GLXKCE6S.js +0 -11
  178. package/dist/chunk-GLXKCE6S.js.map +0 -1
  179. package/dist/chunk-GQWURIOG.js +0 -30
  180. package/dist/chunk-GQWURIOG.js.map +0 -1
  181. package/dist/chunk-GVZPDS6Q.js +0 -49
  182. package/dist/chunk-GVZPDS6Q.js.map +0 -1
  183. package/dist/chunk-HCIV2L64.js +0 -49
  184. package/dist/chunk-HCIV2L64.js.map +0 -1
  185. package/dist/chunk-JAJBQO52.js +0 -11
  186. package/dist/chunk-JAJBQO52.js.map +0 -1
  187. package/dist/chunk-JIJPTSGU.js +0 -11
  188. package/dist/chunk-JIJPTSGU.js.map +0 -1
  189. package/dist/chunk-JMTWNL23.js +0 -11
  190. package/dist/chunk-JMTWNL23.js.map +0 -1
  191. package/dist/chunk-JR5B6CK4.js +0 -30
  192. package/dist/chunk-JR5B6CK4.js.map +0 -1
  193. package/dist/chunk-JZUJDSZ4.js +0 -19
  194. package/dist/chunk-JZUJDSZ4.js.map +0 -1
  195. package/dist/chunk-LE4UHLYZ.js +0 -17
  196. package/dist/chunk-LE4UHLYZ.js.map +0 -1
  197. package/dist/chunk-LTJAQT2G.js +0 -16
  198. package/dist/chunk-LTJAQT2G.js.map +0 -1
  199. package/dist/chunk-LXEXXIEG.js +0 -17
  200. package/dist/chunk-LXEXXIEG.js.map +0 -1
  201. package/dist/chunk-MSX4CUNQ.js +0 -31
  202. package/dist/chunk-MSX4CUNQ.js.map +0 -1
  203. package/dist/chunk-ON72ACOS.js +0 -37
  204. package/dist/chunk-ON72ACOS.js.map +0 -1
  205. package/dist/chunk-OYEA5CMS.js +0 -18
  206. package/dist/chunk-OYEA5CMS.js.map +0 -1
  207. package/dist/chunk-QWKGL6OD.js +0 -55
  208. package/dist/chunk-QWKGL6OD.js.map +0 -1
  209. package/dist/chunk-QYEYBQGO.js +0 -31
  210. package/dist/chunk-QYEYBQGO.js.map +0 -1
  211. package/dist/chunk-RDKBICVU.js +0 -17
  212. package/dist/chunk-RDKBICVU.js.map +0 -1
  213. package/dist/chunk-RGGXKGN5.js +0 -33
  214. package/dist/chunk-RGGXKGN5.js.map +0 -1
  215. package/dist/chunk-RYBCDOQV.js +0 -60
  216. package/dist/chunk-RYBCDOQV.js.map +0 -1
  217. package/dist/chunk-SPTZICRM.js +0 -19
  218. package/dist/chunk-SPTZICRM.js.map +0 -1
  219. package/dist/chunk-U3H47BSV.js +0 -11
  220. package/dist/chunk-U3H47BSV.js.map +0 -1
  221. package/dist/chunk-U4WVCUZN.js +0 -19
  222. package/dist/chunk-U4WVCUZN.js.map +0 -1
  223. package/dist/chunk-ULWUM3DX.js +0 -49
  224. package/dist/chunk-ULWUM3DX.js.map +0 -1
  225. package/dist/chunk-V3MTDINM.js +0 -19
  226. package/dist/chunk-V3MTDINM.js.map +0 -1
  227. package/dist/chunk-VPH2NQRQ.js +0 -30
  228. package/dist/chunk-VPH2NQRQ.js.map +0 -1
  229. package/dist/chunk-VTEJNKYT.js +0 -11
  230. package/dist/chunk-VTEJNKYT.js.map +0 -1
  231. package/dist/chunk-WTFOGQ55.js +0 -60
  232. package/dist/chunk-WTFOGQ55.js.map +0 -1
  233. package/dist/chunk-WZGXR5WG.js +0 -37
  234. package/dist/chunk-WZGXR5WG.js.map +0 -1
  235. package/dist/chunk-X42TYTZZ.js +0 -43
  236. package/dist/chunk-X42TYTZZ.js.map +0 -1
  237. package/dist/chunk-XWV4O5Z4.js +0 -19
  238. package/dist/chunk-XWV4O5Z4.js.map +0 -1
  239. package/dist/chunk-YB62WBDV.js +0 -42
  240. package/dist/chunk-YB62WBDV.js.map +0 -1
  241. package/dist/chunk-YNXUFYX2.js +0 -36
  242. package/dist/chunk-YNXUFYX2.js.map +0 -1
  243. package/dist/chunk-Z6SN5O7U.js +0 -11
  244. package/dist/chunk-Z6SN5O7U.js.map +0 -1
  245. package/dist/connected-realm/connected-realm.d.ts +0 -24
  246. package/dist/connected-realm/connected-realm.js +0 -4
  247. package/dist/connected-realm/connected-realm.js.map +0 -1
  248. package/dist/connected-realm/types.d.ts +0 -111
  249. package/dist/connected-realm/types.js +0 -3
  250. package/dist/connected-realm/types.js.map +0 -1
  251. package/dist/covenant/covenant.d.ts +0 -45
  252. package/dist/covenant/covenant.js +0 -4
  253. package/dist/covenant/covenant.js.map +0 -1
  254. package/dist/covenant/types.d.ts +0 -119
  255. package/dist/covenant/types.js +0 -3
  256. package/dist/covenant/types.js.map +0 -1
  257. package/dist/creature/creature.d.ts +0 -52
  258. package/dist/creature/creature.js +0 -4
  259. package/dist/creature/creature.js.map +0 -1
  260. package/dist/creature/types.d.ts +0 -107
  261. package/dist/creature/types.js +0 -3
  262. package/dist/creature/types.js.map +0 -1
  263. package/dist/guild/guild.d.ts +0 -30
  264. package/dist/guild/guild.js +0 -3
  265. package/dist/guild/guild.js.map +0 -1
  266. package/dist/guild/types.d.ts +0 -100
  267. package/dist/guild/types.js +0 -3
  268. package/dist/guild/types.js.map +0 -1
  269. package/dist/guild-crest/guild-crest.d.ts +0 -23
  270. package/dist/guild-crest/guild-crest.js +0 -4
  271. package/dist/guild-crest/guild-crest.js.map +0 -1
  272. package/dist/guild-crest/types.d.ts +0 -47
  273. package/dist/guild-crest/types.js +0 -3
  274. package/dist/guild-crest/types.js.map +0 -1
  275. package/dist/heirloom/heirloom.d.ts +0 -17
  276. package/dist/heirloom/heirloom.js +0 -4
  277. package/dist/heirloom/heirloom.js.map +0 -1
  278. package/dist/heirloom/types.d.ts +0 -87
  279. package/dist/heirloom/types.js +0 -3
  280. package/dist/heirloom/types.js.map +0 -1
  281. package/dist/item/item.d.ts +0 -53
  282. package/dist/item/item.js +0 -4
  283. package/dist/item/item.js.map +0 -1
  284. package/dist/item/types.d.ts +0 -244
  285. package/dist/item/types.js +0 -3
  286. package/dist/item/types.js.map +0 -1
  287. package/dist/journal/journal.d.ts +0 -51
  288. package/dist/journal/journal.js +0 -4
  289. package/dist/journal/journal.js.map +0 -1
  290. package/dist/journal/types.d.ts +0 -160
  291. package/dist/journal/types.js +0 -3
  292. package/dist/journal/types.js.map +0 -1
  293. package/dist/media-search/media-search.d.ts +0 -12
  294. package/dist/media-search/media-search.js +0 -4
  295. package/dist/media-search/media-search.js.map +0 -1
  296. package/dist/media-search/types.d.ts +0 -29
  297. package/dist/media-search/types.js +0 -3
  298. package/dist/media-search/types.js.map +0 -1
  299. package/dist/modified-crafting/modified-crafting.d.ts +0 -33
  300. package/dist/modified-crafting/modified-crafting.js +0 -4
  301. package/dist/modified-crafting/modified-crafting.js.map +0 -1
  302. package/dist/modified-crafting/types.d.ts +0 -49
  303. package/dist/modified-crafting/types.js +0 -3
  304. package/dist/modified-crafting/types.js.map +0 -1
  305. package/dist/mount/mount.d.ts +0 -23
  306. package/dist/mount/mount.js +0 -4
  307. package/dist/mount/mount.js.map +0 -1
  308. package/dist/mount/types.d.ts +0 -62
  309. package/dist/mount/types.js +0 -3
  310. package/dist/mount/types.js.map +0 -1
  311. package/dist/mythic-keystone-affix/mythic-keystone-affix.d.ts +0 -23
  312. package/dist/mythic-keystone-affix/mythic-keystone-affix.js +0 -4
  313. package/dist/mythic-keystone-affix/mythic-keystone-affix.js.map +0 -1
  314. package/dist/mythic-keystone-affix/types.d.ts +0 -30
  315. package/dist/mythic-keystone-affix/types.js +0 -3
  316. package/dist/mythic-keystone-affix/types.js.map +0 -1
  317. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.d.ts +0 -44
  318. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js +0 -4
  319. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js.map +0 -1
  320. package/dist/mythic-keystone-dungeon/types.d.ts +0 -80
  321. package/dist/mythic-keystone-dungeon/types.js +0 -3
  322. package/dist/mythic-keystone-dungeon/types.js.map +0 -1
  323. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.d.ts +0 -20
  324. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js +0 -4
  325. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js.map +0 -1
  326. package/dist/mythic-keystone-leaderboard/types.d.ts +0 -61
  327. package/dist/mythic-keystone-leaderboard/types.js +0 -3
  328. package/dist/mythic-keystone-leaderboard/types.js.map +0 -1
  329. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.d.ts +0 -13
  330. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js +0 -4
  331. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js.map +0 -1
  332. package/dist/mythic-raid-leaderboard/types.d.ts +0 -36
  333. package/dist/mythic-raid-leaderboard/types.js +0 -3
  334. package/dist/mythic-raid-leaderboard/types.js.map +0 -1
  335. package/dist/pet/pet.d.ts +0 -40
  336. package/dist/pet/pet.js +0 -4
  337. package/dist/pet/pet.js.map +0 -1
  338. package/dist/pet/types.d.ts +0 -78
  339. package/dist/pet/types.js +0 -3
  340. package/dist/pet/types.js.map +0 -1
  341. package/dist/playable-class/playable-class.d.ts +0 -29
  342. package/dist/playable-class/playable-class.js +0 -4
  343. package/dist/playable-class/playable-class.js.map +0 -1
  344. package/dist/playable-class/types.d.ts +0 -47
  345. package/dist/playable-class/types.js +0 -3
  346. package/dist/playable-class/types.js.map +0 -1
  347. package/dist/playable-race/playable-race.d.ts +0 -17
  348. package/dist/playable-race/playable-race.js +0 -4
  349. package/dist/playable-race/playable-race.js.map +0 -1
  350. package/dist/playable-race/types.d.ts +0 -22
  351. package/dist/playable-race/types.js +0 -3
  352. package/dist/playable-race/types.js.map +0 -1
  353. package/dist/playable-specialization/playable-specialization.d.ts +0 -23
  354. package/dist/playable-specialization/playable-specialization.js +0 -4
  355. package/dist/playable-specialization/playable-specialization.js.map +0 -1
  356. package/dist/playable-specialization/types.d.ts +0 -55
  357. package/dist/playable-specialization/types.js +0 -3
  358. package/dist/playable-specialization/types.js.map +0 -1
  359. package/dist/power-type/power-type.d.ts +0 -17
  360. package/dist/power-type/power-type.js +0 -4
  361. package/dist/power-type/power-type.js.map +0 -1
  362. package/dist/power-type/types.d.ts +0 -17
  363. package/dist/power-type/types.js +0 -3
  364. package/dist/power-type/types.js.map +0 -1
  365. package/dist/profession/profession.d.ts +0 -42
  366. package/dist/profession/profession.js +0 -4
  367. package/dist/profession/profession.js.map +0 -1
  368. package/dist/profession/types.d.ts +0 -74
  369. package/dist/profession/types.js +0 -3
  370. package/dist/profession/types.js.map +0 -1
  371. package/dist/pvp-season/pvp-season.d.ts +0 -36
  372. package/dist/pvp-season/pvp-season.js +0 -4
  373. package/dist/pvp-season/pvp-season.js.map +0 -1
  374. package/dist/pvp-season/types.d.ts +0 -89
  375. package/dist/pvp-season/types.js +0 -3
  376. package/dist/pvp-season/types.js.map +0 -1
  377. package/dist/pvp-tier/pvp-tier.d.ts +0 -23
  378. package/dist/pvp-tier/pvp-tier.js +0 -4
  379. package/dist/pvp-tier/pvp-tier.js.map +0 -1
  380. package/dist/pvp-tier/types.d.ts +0 -37
  381. package/dist/pvp-tier/types.js +0 -3
  382. package/dist/pvp-tier/types.js.map +0 -1
  383. package/dist/quest/quest.d.ts +0 -50
  384. package/dist/quest/quest.js +0 -4
  385. package/dist/quest/quest.js.map +0 -1
  386. package/dist/quest/types.d.ts +0 -102
  387. package/dist/quest/types.js +0 -3
  388. package/dist/quest/types.js.map +0 -1
  389. package/dist/realm/realm.d.ts +0 -23
  390. package/dist/realm/realm.js +0 -4
  391. package/dist/realm/realm.js.map +0 -1
  392. package/dist/realm/types.d.ts +0 -81
  393. package/dist/realm/types.js +0 -3
  394. package/dist/realm/types.js.map +0 -1
  395. package/dist/region/region.d.ts +0 -17
  396. package/dist/region/region.js +0 -4
  397. package/dist/region/region.js.map +0 -1
  398. package/dist/region/types.d.ts +0 -21
  399. package/dist/region/types.js +0 -3
  400. package/dist/region/types.js.map +0 -1
  401. package/dist/reputations/reputations.d.ts +0 -28
  402. package/dist/reputations/reputations.js +0 -4
  403. package/dist/reputations/reputations.js.map +0 -1
  404. package/dist/reputations/types.d.ts +0 -51
  405. package/dist/reputations/types.js +0 -3
  406. package/dist/reputations/types.js.map +0 -1
  407. package/dist/spell/spell.d.ts +0 -24
  408. package/dist/spell/spell.js +0 -4
  409. package/dist/spell/spell.js.map +0 -1
  410. package/dist/spell/types.d.ts +0 -47
  411. package/dist/spell/types.js +0 -3
  412. package/dist/spell/types.js.map +0 -1
  413. package/dist/talent/talent.d.ts +0 -46
  414. package/dist/talent/talent.js +0 -4
  415. package/dist/talent/talent.js.map +0 -1
  416. package/dist/talent/types.d.ts +0 -161
  417. package/dist/talent/types.js +0 -3
  418. package/dist/talent/types.js.map +0 -1
  419. package/dist/tech-talent/tech-talent.d.ts +0 -34
  420. package/dist/tech-talent/tech-talent.js +0 -4
  421. package/dist/tech-talent/tech-talent.js.map +0 -1
  422. package/dist/tech-talent/types.d.ts +0 -52
  423. package/dist/tech-talent/types.js +0 -3
  424. package/dist/tech-talent/types.js.map +0 -1
  425. package/dist/title/title.d.ts +0 -17
  426. package/dist/title/title.js +0 -4
  427. package/dist/title/title.js.map +0 -1
  428. package/dist/title/types.d.ts +0 -18
  429. package/dist/title/types.js +0 -3
  430. package/dist/title/types.js.map +0 -1
  431. package/dist/toy/toy.d.ts +0 -17
  432. package/dist/toy/toy.js +0 -4
  433. package/dist/toy/toy.js.map +0 -1
  434. package/dist/toy/types.d.ts +0 -29
  435. package/dist/toy/types.js +0 -3
  436. package/dist/toy/types.js.map +0 -1
  437. package/dist/wow-token/types.d.ts +0 -12
  438. package/dist/wow-token/types.js +0 -3
  439. package/dist/wow-token/types.js.map +0 -1
  440. package/dist/wow-token/wow-token.d.ts +0 -11
  441. package/dist/wow-token/wow-token.js +0 -4
  442. package/dist/wow-token/wow-token.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,351 +1,2382 @@
1
- import { title, titleIndex } from './chunk-42VH37MD.js';
2
- export { title, titleIndex } from './chunk-42VH37MD.js';
3
- import { toy, toyIndex } from './chunk-SPTZICRM.js';
4
- export { toy, toyIndex } from './chunk-SPTZICRM.js';
5
- import { wowToken } from './chunk-4ECCICR5.js';
6
- export { wowToken } from './chunk-4ECCICR5.js';
7
- import { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex } from './chunk-MSX4CUNQ.js';
8
- export { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex } from './chunk-MSX4CUNQ.js';
9
- import { spell, spellMedia, spellSearch } from './chunk-VPH2NQRQ.js';
10
- export { spell, spellMedia, spellSearch } from './chunk-VPH2NQRQ.js';
11
- import { pvpTalent, pvpTalentIndex, talentIndex, talentTree, talentTreeIndex, talentTreeNodes } from './chunk-HCIV2L64.js';
12
- export { pvpTalent, pvpTalentIndex, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes } from './chunk-HCIV2L64.js';
13
- import { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex } from './chunk-WZGXR5WG.js';
14
- export { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex } from './chunk-WZGXR5WG.js';
15
- import { pvpTier, pvpTierIndex, pvpTierMedia } from './chunk-6GBFNMK2.js';
16
- export { pvpTier, pvpTierIndex, pvpTierMedia } from './chunk-6GBFNMK2.js';
17
- import { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex } from './chunk-QWKGL6OD.js';
18
- export { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex } from './chunk-QWKGL6OD.js';
19
- import { realm, realmIndex, realmSearch } from './chunk-GQWURIOG.js';
20
- export { realm, realmIndex, realmSearch } from './chunk-GQWURIOG.js';
21
- import { region, regionIndex } from './chunk-U4WVCUZN.js';
22
- export { region, regionIndex } from './chunk-U4WVCUZN.js';
23
- import { playableSpecialization, playableSpecializationIndex, playableSpecializationMedia } from './chunk-3ZMQPXO2.js';
24
- export { playableSpecialization, playableSpecializationIndex, playableSpecializationMedia } from './chunk-3ZMQPXO2.js';
25
- import { powerType, powerTypeIndex } from './chunk-V3MTDINM.js';
26
- export { powerType, powerTypeIndex } from './chunk-V3MTDINM.js';
27
- import { profession, professionIndex, professionMedia, professionSkillTier, recipe, recipeMedia } from './chunk-DGHQJFYZ.js';
28
- export { profession, professionIndex, professionMedia, professionSkillTier, recipe, recipeMedia } from './chunk-DGHQJFYZ.js';
29
- import { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex } from './chunk-2GRTSQL6.js';
30
- export { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex } from './chunk-2GRTSQL6.js';
31
- import { mythicRaidLeaderboard } from './chunk-FPLFZJUE.js';
32
- export { mythicRaidLeaderboard } from './chunk-FPLFZJUE.js';
33
- import { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia } from './chunk-X42TYTZZ.js';
34
- export { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia } from './chunk-X42TYTZZ.js';
35
- import { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots } from './chunk-DHX4ALS7.js';
36
- export { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots } from './chunk-DHX4ALS7.js';
37
- import { playableRace, playableRaceIndex } from './chunk-XWV4O5Z4.js';
38
- export { playableRace, playableRaceIndex } from './chunk-XWV4O5Z4.js';
39
- import { mount, mountIndex, mountSearch } from './chunk-JR5B6CK4.js';
40
- export { mount, mountIndex, mountSearch } from './chunk-JR5B6CK4.js';
41
- import { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia } from './chunk-36KZKLT6.js';
42
- export { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia } from './chunk-36KZKLT6.js';
43
- import { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex } from './chunk-GVZPDS6Q.js';
44
- export { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex } from './chunk-GVZPDS6Q.js';
45
- import { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex } from './chunk-7HVEQCDL.js';
46
- export { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex } from './chunk-7HVEQCDL.js';
47
- import { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass } from './chunk-RYBCDOQV.js';
48
- export { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass } from './chunk-RYBCDOQV.js';
49
- import { journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia } from './chunk-WTFOGQ55.js';
50
- export { journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia } from './chunk-WTFOGQ55.js';
51
- import { mediaSearch } from './chunk-ALS7FD7K.js';
52
- export { mediaSearch } from './chunk-ALS7FD7K.js';
53
- import { modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex } from './chunk-ON72ACOS.js';
54
- export { modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex } from './chunk-ON72ACOS.js';
55
- import { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex } from './chunk-GBIE4KXG.js';
56
- export { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex } from './chunk-GBIE4KXG.js';
57
- import { guild, guildAchievements, guildActivity, guildRoster } from './chunk-3W2TUGVY.js';
58
- export { guild, guildAchievements, guildActivity, guildRoster } from './chunk-3W2TUGVY.js';
59
- import { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './chunk-24236PHF.js';
60
- export { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './chunk-24236PHF.js';
61
- import { heirloom, heirloomIndex } from './chunk-DEHA3454.js';
62
- export { heirloom, heirloomIndex } from './chunk-DEHA3454.js';
63
- import { characterStatisticsSummary } from './chunk-G775CQBW.js';
64
- export { characterStatisticsSummary } from './chunk-G775CQBW.js';
65
- import { characterTitlesSummary } from './chunk-D7O6VYRC.js';
66
- export { characterTitlesSummary } from './chunk-D7O6VYRC.js';
67
- import { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './chunk-QYEYBQGO.js';
68
- export { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './chunk-QYEYBQGO.js';
69
- import { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex } from './chunk-ULWUM3DX.js';
70
- export { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex } from './chunk-ULWUM3DX.js';
71
- import { characterCompletedQuests, characterQuests } from './chunk-RDKBICVU.js';
72
- export { characterCompletedQuests, characterQuests } from './chunk-RDKBICVU.js';
73
- import { characterReputationsSummary } from './chunk-5JEMELDR.js';
74
- export { characterReputationsSummary } from './chunk-5JEMELDR.js';
75
- import { characterSoulbinds } from './chunk-26JOGQUD.js';
76
- export { characterSoulbinds } from './chunk-26JOGQUD.js';
77
- import { characterSpecializationsSummary } from './chunk-JIJPTSGU.js';
78
- export { characterSpecializationsSummary } from './chunk-JIJPTSGU.js';
79
- import { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails } from './chunk-LE4UHLYZ.js';
80
- export { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails } from './chunk-LE4UHLYZ.js';
81
- import { characterProfessionsSummary } from './chunk-GLXKCE6S.js';
82
- export { characterProfessionsSummary } from './chunk-GLXKCE6S.js';
83
- import { characterProfileStatus, characterProfileSummary } from './chunk-LXEXXIEG.js';
84
- export { characterProfileStatus, characterProfileSummary } from './chunk-LXEXXIEG.js';
85
- import { characterPvpSummary } from './chunk-U3H47BSV.js';
86
- export { characterPvpSummary } from './chunk-U3H47BSV.js';
87
- import { characterDungeons, characterEncountersSummary, characterRaids } from './chunk-CMQTS6M4.js';
88
- export { characterDungeons, characterEncountersSummary, characterRaids } from './chunk-CMQTS6M4.js';
89
- import { characterEquipmentSummary } from './chunk-JMTWNL23.js';
90
- export { characterEquipmentSummary } from './chunk-JMTWNL23.js';
91
- import { characterHunterPetsSummary } from './chunk-JAJBQO52.js';
92
- export { characterHunterPetsSummary } from './chunk-JAJBQO52.js';
93
- import { characterMediaSummary } from './chunk-VTEJNKYT.js';
94
- export { characterMediaSummary } from './chunk-VTEJNKYT.js';
95
- import { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch } from './chunk-RGGXKGN5.js';
96
- export { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch } from './chunk-RGGXKGN5.js';
97
- import { characterAchievementsSummary, characterAchievementStatistics } from './chunk-OYEA5CMS.js';
98
- export { characterAchievementStatistics, characterAchievementsSummary } from './chunk-OYEA5CMS.js';
99
- import { characterAppearanceSummary } from './chunk-Z6SN5O7U.js';
100
- export { characterAppearanceSummary } from './chunk-Z6SN5O7U.js';
101
- import { characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary } from './chunk-YB62WBDV.js';
102
- export { characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary } from './chunk-YB62WBDV.js';
103
- import { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary } from './chunk-EZKCAWKI.js';
104
- export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary } from './chunk-EZKCAWKI.js';
105
- import { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia } from './chunk-YNXUFYX2.js';
106
- export { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia } from './chunk-YNXUFYX2.js';
107
- import { auctions, commodities } from './chunk-JZUJDSZ4.js';
108
- export { auctions, commodities } from './chunk-JZUJDSZ4.js';
109
- import './chunk-LTJAQT2G.js';
110
-
111
- // src/index.ts
112
- var wow = {
113
- //Account Profile
114
- accountCollectionsIndex,
115
- accountHeirloomsCollectionSummary,
116
- accountMountsCollectionSummary,
117
- accountPetsCollectionSummary,
118
- accountProfileSummary,
119
- accountToysCollectionSummary,
120
- accountTransmogsCollectionSummary,
121
- protectedCharacterProfileSummary,
122
- //Achievements
123
- achievement,
124
- achievementCategory,
125
- achievementCategoryIndex,
126
- achievementIndex,
127
- achievementMedia,
128
- //Auction House
129
- auctions,
130
- commodities,
131
- //Azerite Essence
132
- azeriteEssence,
133
- azeriteEssenceIndex,
134
- azeriteEssenceMedia,
135
- azeriteEssenceSearch,
136
- //Character Achievements
137
- characterAchievementsSummary,
138
- characterAchievementStatistics,
139
- //Character Appearance
140
- characterAppearanceSummary,
141
- //Character Collections
142
- characterCollectionsIndex,
143
- characterHeirloomsCollectionSummary,
144
- characterMountsCollectionSummary,
145
- characterPetsCollectionSummary,
146
- characterToysCollectionSummary,
147
- characterTransmogCollectionSummary,
148
- //Character Encounters
149
- characterDungeons,
150
- characterEncountersSummary,
151
- characterRaids,
152
- //Character Equipment
153
- characterEquipmentSummary,
154
- //Character Hunter Pets
155
- characterHunterPetsSummary,
156
- //Character Media
157
- characterMediaSummary,
158
- //Character Mythic Keystone Profile
159
- characterMythicKeystoneProfileIndex,
160
- characterMythicKeystoneSeasonDetails,
161
- //Character Professions
162
- characterProfessionsSummary,
163
- //Character Profile
164
- characterProfileStatus,
165
- characterProfileSummary,
166
- //Character PvP
167
- characterPvpSummary,
168
- //Character Quests
169
- characterCompletedQuests,
170
- characterQuests,
171
- //Character Reputations
172
- characterReputationsSummary,
173
- //Character Soulbinds
174
- characterSoulbinds,
175
- //Character Specializations
176
- characterSpecializationsSummary,
177
- //Character Statistics
178
- characterStatisticsSummary,
179
- //Character Titles
180
- characterTitlesSummary,
181
- //Connected Realm
182
- connectedRealm,
183
- connectedRealmIndex,
184
- connectedRealmSearch,
185
- //Covenant
186
- conduit,
187
- conduitIndex,
188
- covenant,
189
- covenantIndex,
190
- covenantMedia,
191
- soulbind,
192
- soulbindIndex,
193
- //Creature
194
- creature,
195
- creatureDisplayMedia,
196
- creatureFamily,
197
- creatureFamilyIndex,
198
- creatureFamilyMedia,
199
- creatureSearch,
200
- creatureType,
201
- creatureTypeIndex,
202
- //Guild
203
- guild,
204
- guildAchievements,
205
- guildActivity,
206
- guildRoster,
207
- //Guild Crest
208
- guildCrestBorder,
209
- guildCrestComponentsIndex,
210
- guildCrestEmblem,
211
- //Heirloom
212
- heirloom,
213
- heirloomIndex,
214
- //Item
215
- item,
216
- itemClass,
217
- itemClassIndex,
218
- itemMedia,
219
- itemSearch,
220
- itemSet,
221
- itemSetIndex,
222
- itemSubClass,
223
- //Journal
224
- journalEncounter,
225
- journalEncounterIndex,
226
- journalEncounterSearch,
227
- journalExpansion,
228
- journalExpansionIndex,
229
- journalInstance,
230
- journalInstanceIndex,
231
- journalInstanceMedia,
232
- //Media Search
233
- mediaSearch,
234
- //Modified Crafting
235
- modifiedCraftingCategory,
236
- modifiedCraftingCategoryIndex,
237
- modifiedCraftingIndex,
238
- modifiedCraftingReagentSlotType,
239
- modifiedCraftingReagentSlotTypeIndex,
240
- //Mount
241
- mount,
242
- mountIndex,
243
- mountSearch,
244
- //Mythic Keystone Affix
245
- mythicKeystoneAffix,
246
- mythicKeystoneAffixIndex,
247
- mythicKeystoneAffixMedia,
248
- //Mythic Keystone Dungeon
249
- mythicKeystoneDungeon,
250
- mythicKeystoneDungeonIndex,
251
- mythicKeystoneIndex,
252
- mythicKeystonePeriod,
253
- mythicKeystonePeriodIndex,
254
- mythicKeystoneSeason,
255
- mythicKeystoneSeasonIndex,
256
- //Mythic Keystone Leaderboard
257
- mythicKeystoneLeaderboard,
258
- mythicKeystoneLeaderboardIndex,
259
- //Mythic Raid Leaderboard
260
- mythicRaidLeaderboard,
261
- //Pet
262
- pet,
263
- petAbility,
264
- petAbilityIndex,
265
- petAbilityMedia,
266
- petIndex,
267
- petMedia,
268
- //Playable Class
269
- playableClass,
270
- playableClassIndex,
271
- playableClassMedia,
272
- pvpTalentSlots,
273
- //Playable
274
- playableRace,
275
- playableRaceIndex,
276
- //Playable Specialization
277
- playableSpecialization,
278
- playableSpecializationIndex,
279
- playableSpecializationMedia,
280
- //Power Type
281
- powerType,
282
- powerTypeIndex,
283
- //Profession
284
- profession,
285
- professionIndex,
286
- professionMedia,
287
- professionSkillTier,
288
- recipe,
289
- recipeMedia,
290
- //Pvp Season
291
- pvpLeaderboard,
292
- pvpLeaderboardIndex,
293
- pvpRewardsIndex,
294
- pvpSeason,
295
- pvpSeasonIndex,
296
- //Pvp Tier
297
- pvpTier,
298
- pvpTierIndex,
299
- pvpTierMedia,
300
- //Quest
301
- quest,
302
- questArea,
303
- questAreaIndex,
304
- questCategory,
305
- questCategoryIndex,
306
- questIndex,
307
- questType,
308
- questTypeIndex,
309
- //Realm
310
- realm,
311
- realmIndex,
312
- realmSearch,
313
- //Region
314
- region,
315
- regionIndex,
316
- //Reputations
317
- reputationFaction,
318
- reputationFactionIndex,
319
- reputationTiers,
320
- reputationTiersIndex,
321
- //Spell
322
- spell,
323
- spellMedia,
324
- spellSearch,
325
- //Talent
326
- pvpTalent,
327
- pvpTalentIndex,
328
- talentIndex,
329
- talentTree,
330
- talentTreeIndex,
331
- talentTreeNodes,
332
- //Tech Talent
333
- techTalent,
334
- techTalentIndex,
335
- techTalentMedia,
336
- techTalentTree,
337
- techTalentTreeIndex,
338
- //Title
339
- title,
340
- titleIndex,
341
- //Toy
342
- toy,
343
- toyIndex,
344
- //WoW Token
345
- wowToken
1
+ import { wowBasePath, wowMediaBasePath, wowSearchBasePath } from "@blizzard-api/core";
2
+
3
+ //#region src/account-profile/account-profile.ts
4
+ const accountProfileBase = "/profile/user/wow";
5
+ /**
6
+ * 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}
7
+ * @param token The OAuth 2.0 access token to use for authentication.
8
+ * @returns an index of collection types for an account.
9
+ */
10
+ function accountCollectionsIndex(token) {
11
+ return {
12
+ namespace: "profile",
13
+ path: `${accountProfileBase}/collections`,
14
+ token
15
+ };
16
+ }
17
+ /**
18
+ * 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}
19
+ * @param token The OAuth 2.0 access token to use for authentication.
20
+ * @returns a summary of the heirlooms an account has obtained.
21
+ */
22
+ function accountHeirloomsCollectionSummary(token) {
23
+ return {
24
+ namespace: "profile",
25
+ path: `${accountProfileBase}/collections/heirlooms`,
26
+ token
27
+ };
28
+ }
29
+ /**
30
+ * 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}
31
+ * @param token The OAuth 2.0 access token to use for authentication.
32
+ * @returns a summary of the mounts an account has obtained.
33
+ */
34
+ function accountMountsCollectionSummary(token) {
35
+ return {
36
+ namespace: "profile",
37
+ path: `${accountProfileBase}/collections/mounts`,
38
+ token
39
+ };
40
+ }
41
+ /**
42
+ * 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}
43
+ * @param token The OAuth 2.0 access token to use for authentication.
44
+ * @returns a summary of the battle pets an account has obtained.
45
+ */
46
+ function accountPetsCollectionSummary(token) {
47
+ return {
48
+ namespace: "profile",
49
+ path: `${accountProfileBase}/collections/pets`,
50
+ token
51
+ };
52
+ }
53
+ /**
54
+ * 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}
55
+ * @param token The OAuth 2.0 access token to use for authentication.
56
+ * @returns a profile summary for an account.
57
+ */
58
+ function accountProfileSummary(token) {
59
+ return {
60
+ namespace: "profile",
61
+ path: `${accountProfileBase}`,
62
+ token
63
+ };
64
+ }
65
+ /**
66
+ * 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}
67
+ * @param token The OAuth 2.0 access token to use for authentication.
68
+ * @returns a summary of the toys an account has obtained.
69
+ */
70
+ function accountToysCollectionSummary(token) {
71
+ return {
72
+ namespace: "profile",
73
+ path: `${accountProfileBase}/collections/toys`,
74
+ token
75
+ };
76
+ }
77
+ /**
78
+ * 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}
79
+ * @param token The OAuth 2.0 access token to use for authentication.
80
+ * @returns a summary of the transmog unlocks an account has obtained.
81
+ */
82
+ function accountTransmogsCollectionSummary(token) {
83
+ return {
84
+ namespace: "profile",
85
+ path: `${accountProfileBase}/collections/transmogs`,
86
+ token
87
+ };
88
+ }
89
+ /**
90
+ * 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}
91
+ * @param realmId The realm ID.
92
+ * @param characterId The character ID.
93
+ * @param token The OAuth 2.0 access token to use for authentication.
94
+ * @returns a protected profile summary for a character.
95
+ */
96
+ function protectedCharacterProfileSummary(realmId, characterId, token) {
97
+ return {
98
+ namespace: "profile",
99
+ path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,
100
+ token
101
+ };
102
+ }
103
+
104
+ //#endregion
105
+ //#region src/achievements/achievements.ts
106
+ const achievementBase = `${wowBasePath}/achievement`;
107
+ const achievementCategoryBase = `${wowBasePath}/achievement-category`;
108
+ /**
109
+ * Get an achievement by ID.
110
+ * @param achievementId The achievement ID.
111
+ * @returns The achievement. See {@link AchievementResponse}.
112
+ */
113
+ function achievement(achievementId) {
114
+ return {
115
+ namespace: "static",
116
+ path: `${achievementBase}/${achievementId}`
117
+ };
118
+ }
119
+ /**
120
+ * Get an achievement category by ID.
121
+ * @param achievementCategoryId The achievement category ID.
122
+ * @returns The achievement category. See {@link AchievementCategoryResponse}.
123
+ */
124
+ function achievementCategory(achievementCategoryId) {
125
+ return {
126
+ namespace: "static",
127
+ path: `${achievementCategoryBase}/${achievementCategoryId}`
128
+ };
129
+ }
130
+ /**
131
+ * Get an achievement category index.
132
+ * @returns The achievement category index. See {@link AchievementCategoryIndexResponse}.
133
+ */
134
+ function achievementCategoryIndex() {
135
+ return {
136
+ namespace: "static",
137
+ path: `${achievementCategoryBase}/index`
138
+ };
139
+ }
140
+ /**
141
+ * Get an achievement index.
142
+ * @returns The achievement index. See {@link AchievementIndexResponse}.
143
+ */
144
+ function achievementIndex() {
145
+ return {
146
+ namespace: "static",
147
+ path: `${achievementBase}/index`
148
+ };
149
+ }
150
+ /**
151
+ * Get achievement media by ID.
152
+ * @param achievementId The achievement ID.
153
+ * @returns The achievement media. See {@link AchievementMediaResponse}.
154
+ */
155
+ function achievementMedia(achievementId) {
156
+ return {
157
+ namespace: "static",
158
+ path: `${wowMediaBasePath}/achievement/${achievementId}`
159
+ };
160
+ }
161
+
162
+ //#endregion
163
+ //#region src/auction-house/auction-house.ts
164
+ /**
165
+ * Get auction house data for a connected realm.
166
+ * @param connectedRealmId The ID of the connected realm.
167
+ * @returns The auction house data. See {@link AuctionHouseResponse}.
168
+ */
169
+ function auctions(connectedRealmId) {
170
+ return {
171
+ namespace: "dynamic",
172
+ path: `${wowBasePath}/connected-realm/${connectedRealmId}/auctions`
173
+ };
174
+ }
175
+ /**
176
+ * Get auction house data for all connected realms.
177
+ * @returns The auction house data. See {@link AuctionHouseResponse}.
178
+ */
179
+ function commodities() {
180
+ return {
181
+ namespace: "dynamic",
182
+ path: `${wowBasePath}/auctions/commodities`
183
+ };
184
+ }
185
+
186
+ //#endregion
187
+ //#region src/azerite-essence/azerite-essence.ts
188
+ /**
189
+ * Get an azerite essence by ID.
190
+ * @param azeriteEssenceId The azerite essence ID.
191
+ * @returns The azerite essence. See {@link AzeriteEssenceResponse}.
192
+ */
193
+ function azeriteEssence(azeriteEssenceId) {
194
+ return {
195
+ namespace: "static",
196
+ path: `${wowBasePath}/azerite-essence/${azeriteEssenceId}`
197
+ };
198
+ }
199
+ /**
200
+ * Get an azerite essence index.
201
+ * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.
202
+ */
203
+ function azeriteEssenceIndex() {
204
+ return {
205
+ namespace: "static",
206
+ path: `${wowBasePath}/azerite-essence/index`
207
+ };
208
+ }
209
+ /**
210
+ * Get azerite essence media by ID.
211
+ * @param azeriteEssenceId The azerite essence ID.
212
+ * @returns The azerite essence media. See {@link AzeriteEssenceMediaResponse}.
213
+ */
214
+ function azeriteEssenceMedia(azeriteEssenceId) {
215
+ return {
216
+ namespace: "static",
217
+ path: `${wowMediaBasePath}/azerite-essence/${azeriteEssenceId}`
218
+ };
219
+ }
220
+ /**
221
+ * Search for azerite essences.
222
+ * @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.
223
+ * @returns The search results. See {@link AzeriteEssenceSearchResponse}.
224
+ */
225
+ function azeriteEssenceSearch(options) {
226
+ return {
227
+ namespace: "static",
228
+ parameters: {
229
+ _page: options._page,
230
+ "allowed_specializations.id": options["allowed_specializations.id"],
231
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
232
+ },
233
+ path: `${wowSearchBasePath}/azerite-essence`
234
+ };
235
+ }
236
+
237
+ //#endregion
238
+ //#region src/character-achievements/character-achievements.ts
239
+ const basePath$2 = "/profile/wow/character";
240
+ /**
241
+ * @param realmSlug The slug of the realm.
242
+ * @param characterName The lowercase name of the character.
243
+ * @returns a summary of the achievements a character has completed.
244
+ */
245
+ function characterAchievementsSummary(realmSlug, characterName) {
246
+ return {
247
+ namespace: "profile",
248
+ path: `${basePath$2}/${realmSlug}/${characterName.toLowerCase()}/achievements`
249
+ };
250
+ }
251
+ /**
252
+ * @param realmSlug The slug of the realm.
253
+ * @param characterName The lowercase name of the character.
254
+ * @returns a character's statistics as they pertain to achievements.
255
+ */
256
+ function characterAchievementStatistics(realmSlug, characterName) {
257
+ return {
258
+ namespace: "profile",
259
+ path: `${basePath$2}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`
260
+ };
261
+ }
262
+
263
+ //#endregion
264
+ //#region src/character-appearance/character-appearance.ts
265
+ /**
266
+ * @param realmSlug The slug of the realm.
267
+ * @param characterName The lowercase name of the character.
268
+ * @returns a summary of a character's appearance settings.
269
+ */
270
+ function characterAppearanceSummary(realmSlug, characterName) {
271
+ return {
272
+ namespace: "profile",
273
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/appearance`
274
+ };
275
+ }
276
+
277
+ //#endregion
278
+ //#region src/character-collections/character-collections.ts
279
+ const basePath$1 = "/profile/wow/character";
280
+ /**
281
+ * @param realmSlug The slug of the realm.
282
+ * @param characterName The lowercase name of the character.
283
+ * @returns an index of collection types for a character.
284
+ */
285
+ function characterCollectionsIndex(realmSlug, characterName) {
286
+ return {
287
+ namespace: "profile",
288
+ path: `${basePath$1}/${realmSlug}/${characterName}/collections`
289
+ };
290
+ }
291
+ /**
292
+ * @param realmSlug The slug of the realm.
293
+ * @param characterName The lowercase name of the character.
294
+ * @returns a summary of the heirlooms a character has obtained.
295
+ */
296
+ function characterHeirloomsCollectionSummary(realmSlug, characterName) {
297
+ return {
298
+ namespace: "profile",
299
+ path: `${basePath$1}/${realmSlug}/${characterName}/collections/heirlooms`
300
+ };
301
+ }
302
+ /**
303
+ * @param realmSlug The slug of the realm.
304
+ * @param characterName The lowercase name of the character.
305
+ * @returns a summary of the mounts a character has obtained.
306
+ */
307
+ function characterMountsCollectionSummary(realmSlug, characterName) {
308
+ return {
309
+ namespace: "profile",
310
+ path: `${basePath$1}/${realmSlug}/${characterName}/collections/mounts`
311
+ };
312
+ }
313
+ /**
314
+ * @param realmSlug The slug of the realm.
315
+ * @param characterName The lowercase name of the character.
316
+ * @returns a summary of the battle pets a character has obtained.
317
+ */
318
+ function characterPetsCollectionSummary(realmSlug, characterName) {
319
+ return {
320
+ namespace: "profile",
321
+ path: `${basePath$1}/${realmSlug}/${characterName}/collections/pets`
322
+ };
323
+ }
324
+ /**
325
+ * @param realmSlug The slug of the realm.
326
+ * @param characterName The lowercase name of the character.
327
+ * @returns a summary of the toys a character has obtained.
328
+ */
329
+ function characterToysCollectionSummary(realmSlug, characterName) {
330
+ return {
331
+ namespace: "profile",
332
+ path: `${basePath$1}/${realmSlug}/${characterName}/collections/toys`
333
+ };
334
+ }
335
+ /**
336
+ * @param realmSlug The slug of the realm.
337
+ * @param characterName The lowercase name of the character.
338
+ * @returns a summary of the transmog unlocks a character has obtained.
339
+ */
340
+ function characterTransmogCollectionSummary(realmSlug, characterName) {
341
+ return {
342
+ namespace: "profile",
343
+ path: `${basePath$1}/${realmSlug}/${characterName}/collections/transmogs`
344
+ };
345
+ }
346
+
347
+ //#endregion
348
+ //#region src/character-encounters/character-encounters.ts
349
+ const bathPase = "profile/wow/character";
350
+ /**
351
+ * @param realmSlug The slug of the realm.
352
+ * @param characterName The lowercase name of the character.
353
+ * @returns a summary of a character's completed dungeons.
354
+ */
355
+ function characterDungeons(realmSlug, characterName) {
356
+ return {
357
+ namespace: "profile",
358
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/dungeons`
359
+ };
360
+ }
361
+ /**
362
+ * @param realmSlug The slug of the realm.
363
+ * @param characterName The lowercase name of the character.
364
+ * @returns a summary of a character's encounters.
365
+ */
366
+ function characterEncountersSummary(realmSlug, characterName) {
367
+ return {
368
+ namespace: "profile",
369
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters`
370
+ };
371
+ }
372
+ /**
373
+ * @param realmSlug The slug of the realm.
374
+ * @param characterName The lowercase name of the character.
375
+ * @returns a summary of a character's completed raids.
376
+ */
377
+ function characterRaids(realmSlug, characterName) {
378
+ return {
379
+ namespace: "profile",
380
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/raids`
381
+ };
382
+ }
383
+
384
+ //#endregion
385
+ //#region src/character-equipment/character-equipment.ts
386
+ /**
387
+ * @param realmSlug The slug of the realm.
388
+ * @param characterName The lowercase name of the character.
389
+ * @returns a summary of the items equipped by a character.
390
+ */
391
+ function characterEquipmentSummary(realmSlug, characterName) {
392
+ return {
393
+ namespace: "profile",
394
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`
395
+ };
396
+ }
397
+
398
+ //#endregion
399
+ //#region src/character-hunter-pets/character-hunter-pets.ts
400
+ /**
401
+ * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
402
+ * @param realmSlug The slug of the realm.
403
+ * @param characterName The lowercase name of the character.
404
+ * @returns a summary of the character's hunter pets.
405
+ */
406
+ function characterHunterPetsSummary(realmSlug, characterName) {
407
+ return {
408
+ namespace: "profile",
409
+ path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`
410
+ };
411
+ }
412
+
413
+ //#endregion
414
+ //#region src/character-media/character-media.ts
415
+ /**
416
+ * @param realmSlug The slug of the realm.
417
+ * @param characterName The lowercase name of the character.
418
+ * @returns a summary of the media assets available for a character (such as an avatar render).
419
+ */
420
+ function characterMediaSummary(realmSlug, characterName) {
421
+ return {
422
+ namespace: "profile",
423
+ path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`
424
+ };
425
+ }
426
+
427
+ //#endregion
428
+ //#region src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts
429
+ /**
430
+ * @param realmSlug The slug of the realm.
431
+ * @param characterName The lowercase name of the character.
432
+ * @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.
433
+ */
434
+ function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
435
+ return {
436
+ namespace: "profile",
437
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`
438
+ };
439
+ }
440
+ /**
441
+ * Returns the Mythic Keystone season details for a character.
442
+ * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
443
+ * @param realmSlug The slug of the realm.
444
+ * @param characterName The lowercase name of the character.
445
+ * @param seasonId The ID of the season.
446
+ * @returns the Mythic Keystone season details for a character.
447
+ */
448
+ function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
449
+ return {
450
+ namespace: "profile",
451
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`
452
+ };
453
+ }
454
+
455
+ //#endregion
456
+ //#region src/character-professions/character-professions.ts
457
+ /**
458
+ * @param realmSlug The slug of the realm.
459
+ * @param characterName The lowercase name of the character.
460
+ * @returns a summary of the professions for a character.
461
+ */
462
+ function characterProfessionsSummary(realmSlug, characterName) {
463
+ return {
464
+ namespace: "profile",
465
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`
466
+ };
467
+ }
468
+
469
+ //#endregion
470
+ //#region src/character-profile/character-profile.ts
471
+ /**
472
+ * 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:
473
+ * - an HTTP 404 Not Found error is returned
474
+ * - the is_valid value is false
475
+ * - the returned character ID doesn't match the previously recorded value for the character
476
+ *
477
+ * The following example illustrates how to use this endpoint:
478
+ *
479
+ * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.
480
+ * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.
481
+ * 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.
482
+ * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.
483
+ * @param realmSlug The slug of the realm.
484
+ * @param characterName The lowercase name of the character.
485
+ * @returns the status of the character profile for a character.
486
+ */
487
+ function characterProfileStatus(realmSlug, characterName) {
488
+ return {
489
+ namespace: "profile",
490
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`
491
+ };
492
+ }
493
+ /**
494
+ * Returns a summary of the character profile for a character.
495
+ * @param realmSlug The slug of the realm.
496
+ * @param characterName The lowercase name of the character.
497
+ * @returns a summary of the character profile for a character.
498
+ */
499
+ function characterProfileSummary(realmSlug, characterName) {
500
+ return {
501
+ namespace: "profile",
502
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`
503
+ };
504
+ }
505
+
506
+ //#endregion
507
+ //#region src/character-pvp/character-pvp.ts
508
+ /**
509
+ * @param realmSlug The slug of the realm.
510
+ * @param characterName The lowercase name of the character.
511
+ * @param bracketId The ID of the PvP bracket.
512
+ * @returns a PvP bracket statistics for a character.
513
+ */
514
+ function characterPvpBracketStatistics(realmSlug, characterName, bracketId) {
515
+ return {
516
+ namespace: "profile",
517
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-bracket/${bracketId}`
518
+ };
519
+ }
520
+ /**
521
+ * @param realmSlug The slug of the realm.
522
+ * @param characterName The lowercase name of the character.
523
+ * @returns a PvP summary for a character.
524
+ */
525
+ function characterPvpSummary(realmSlug, characterName) {
526
+ return {
527
+ namespace: "profile",
528
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`
529
+ };
530
+ }
531
+
532
+ //#endregion
533
+ //#region src/character-quests/character-quests.ts
534
+ /**
535
+ * @param realmSlug The slug of the realm.
536
+ * @param characterName The lowercase name of the character.
537
+ * @returns a list of quests that a character has completed.
538
+ */
539
+ function characterCompletedQuests(realmSlug, characterName) {
540
+ return {
541
+ namespace: "profile",
542
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`
543
+ };
544
+ }
545
+ /**
546
+ * @param realmSlug The slug of the realm.
547
+ * @param characterName The lowercase name of the character.
548
+ * @returns a character's active quests as well as a link to the character's completed quests.
549
+ */
550
+ function characterQuests(realmSlug, characterName) {
551
+ return {
552
+ namespace: "profile",
553
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests`
554
+ };
555
+ }
556
+
557
+ //#endregion
558
+ //#region src/character-reputations/character-reputations.ts
559
+ /**
560
+ * @param realmSlug The slug of the realm.
561
+ * @param characterName The lowercase name of the character.
562
+ * @returns a summary of a character's reputations.
563
+ */
564
+ function characterReputationsSummary(realmSlug, characterName) {
565
+ return {
566
+ namespace: "profile",
567
+ path: `/profile/wow/character/${realmSlug}/${characterName}/reputations`
568
+ };
569
+ }
570
+
571
+ //#endregion
572
+ //#region src/character-soulbinds/character-soulbinds.ts
573
+ /**
574
+ * @param realmSlug The slug of the realm.
575
+ * @param characterName The lowercase name of the character.
576
+ * @returns a character's soulbinds.
577
+ */
578
+ function characterSoulbinds(realmSlug, characterName) {
579
+ return {
580
+ namespace: "profile",
581
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/soulbinds`
582
+ };
583
+ }
584
+
585
+ //#endregion
586
+ //#region src/character-specializations/character-specializations.ts
587
+ /**
588
+ * @param realmSlug The slug of the realm.
589
+ * @param characterName The lowercase name of the character.
590
+ * @returns a summary of a character's specializations.
591
+ */
592
+ function characterSpecializationsSummary(realmSlug, characterName) {
593
+ return {
594
+ namespace: "profile",
595
+ path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`
596
+ };
597
+ }
598
+
599
+ //#endregion
600
+ //#region src/character-statistics/character-statistics.ts
601
+ /**
602
+ * @param realmSlug The slug of the realm.
603
+ * @param characterName The lowercase name of the character.
604
+ * @returns a statistics summary for a character.
605
+ */
606
+ function characterStatisticsSummary(realmSlug, characterName) {
607
+ return {
608
+ namespace: "profile",
609
+ path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`
610
+ };
611
+ }
612
+
613
+ //#endregion
614
+ //#region src/character-titles/character-titles.ts
615
+ /**
616
+ * @param realmSlug The slug of the realm.
617
+ * @param characterName The lowercase name of the character.
618
+ * @returns a summary of titles a character has obtained.
619
+ */
620
+ function characterTitlesSummary(realmSlug, characterName) {
621
+ return {
622
+ namespace: "profile",
623
+ path: `/profile/wow/character/${realmSlug}/${characterName}/titles`
624
+ };
625
+ }
626
+
627
+ //#endregion
628
+ //#region src/connected-realm/connected-realm.ts
629
+ /**
630
+ * Get a connected realm by ID.
631
+ * @param connectedRealmId The connected realm ID.
632
+ * @returns The connected realm. See {@link ConnectedRealmResponse}.
633
+ */
634
+ function connectedRealm(connectedRealmId) {
635
+ return {
636
+ namespace: "dynamic",
637
+ path: `${wowBasePath}/connected-realm/${connectedRealmId}`
638
+ };
639
+ }
640
+ /**
641
+ * Get a connected realm index.
642
+ * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.
643
+ */
644
+ function connectedRealmIndex() {
645
+ return {
646
+ namespace: "dynamic",
647
+ path: `${wowBasePath}/connected-realm/index`
648
+ };
649
+ }
650
+ /**
651
+ * Search for connected realms.
652
+ * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.
653
+ * @returns The search results. See {@link ConnectedRealmSearchResponse}.
654
+ */
655
+ function connectedRealmSearch(options) {
656
+ return {
657
+ namespace: "dynamic",
658
+ parameters: {
659
+ _page: options._page,
660
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
661
+ "realms.timezone": options["realms.timezone"],
662
+ "status.type": options["status.type"]
663
+ },
664
+ path: `${wowBasePath}/search/connected-realm`
665
+ };
666
+ }
667
+
668
+ //#endregion
669
+ //#region src/covenant/covenant.ts
670
+ /**
671
+ * Get a conduit by ID.
672
+ * @param conduitId The conduit ID.
673
+ * @returns The conduit. See {@link ConduitResponse}.
674
+ */
675
+ function conduit(conduitId) {
676
+ return {
677
+ namespace: "static",
678
+ path: `${wowBasePath}/covenant/conduit/${conduitId}`
679
+ };
680
+ }
681
+ /**
682
+ * Get a conduit index.
683
+ * @returns The conduit index. See {@link ConduitIndexResponse}.
684
+ */
685
+ function conduitIndex() {
686
+ return {
687
+ namespace: "static",
688
+ path: `${wowBasePath}/covenant/conduit/index`
689
+ };
690
+ }
691
+ /**
692
+ * Get a covenant by ID.
693
+ * @param covenantId The covenant ID.
694
+ * @returns The covenant. See {@link CovenantResponse}.
695
+ */
696
+ function covenant(covenantId) {
697
+ return {
698
+ namespace: "static",
699
+ path: `${wowBasePath}/covenant/${covenantId}`
700
+ };
701
+ }
702
+ /**
703
+ * Get a covenant index.
704
+ * @returns The covenant index. See {@link CovenantIndexResponse}.
705
+ */
706
+ function covenantIndex() {
707
+ return {
708
+ namespace: "static",
709
+ path: `${wowBasePath}/covenant/index`
710
+ };
711
+ }
712
+ /**
713
+ * Get covenant media by ID.
714
+ * @param covenantId The covenant ID.
715
+ * @returns The covenant media. See {@link CovenantMediaResponse}.
716
+ */
717
+ function covenantMedia(covenantId) {
718
+ return {
719
+ namespace: "static",
720
+ path: `${wowMediaBasePath}/covenant/${covenantId}`
721
+ };
722
+ }
723
+ /**
724
+ * Get a soulbind by ID.
725
+ * @param soulbindId The soulbind ID.
726
+ * @returns The soulbind. See {@link SoulbindResponse}.
727
+ */
728
+ function soulbind(soulbindId) {
729
+ return {
730
+ namespace: "static",
731
+ path: `${wowBasePath}/covenant/soulbind/${soulbindId}`
732
+ };
733
+ }
734
+ /**
735
+ * Get a soulbind index.
736
+ * @returns The soulbind index. See {@link SoulbindIndexResponse}.
737
+ */
738
+ function soulbindIndex() {
739
+ return {
740
+ namespace: "static",
741
+ path: `${wowBasePath}/covenant/soulbind/index`
742
+ };
743
+ }
744
+
745
+ //#endregion
746
+ //#region src/creature/creature.ts
747
+ /**
748
+ * Get a creature by ID.
749
+ * @param creatureId The creature ID.
750
+ * @returns The creature. See {@link CreatureResponse}.
751
+ */
752
+ function creature(creatureId) {
753
+ return {
754
+ namespace: "static",
755
+ path: `${wowBasePath}/creature/${creatureId}`
756
+ };
757
+ }
758
+ /**
759
+ * Get creature display media by ID.
760
+ * @param creatureDisplayId The creature display ID.
761
+ * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.
762
+ */
763
+ function creatureDisplayMedia(creatureDisplayId) {
764
+ return {
765
+ namespace: "static",
766
+ path: `${wowMediaBasePath}/creature-display/${creatureDisplayId}`
767
+ };
768
+ }
769
+ /**
770
+ * Get a creature family by ID.
771
+ * @param creatureFamilyId The creature family ID.
772
+ * @returns The creature family. See {@link CreatureFamilyResponse}.
773
+ */
774
+ function creatureFamily(creatureFamilyId) {
775
+ return {
776
+ namespace: "static",
777
+ path: `${wowBasePath}/creature-family/${creatureFamilyId}`
778
+ };
779
+ }
780
+ /**
781
+ * Get a creature family index.
782
+ * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.
783
+ */
784
+ function creatureFamilyIndex() {
785
+ return {
786
+ namespace: "static",
787
+ path: `${wowBasePath}/creature-family/index`
788
+ };
789
+ }
790
+ /**
791
+ * Get creature family media by ID.
792
+ * @param creatureFamilyId The creature family ID.
793
+ * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.
794
+ */
795
+ function creatureFamilyMedia(creatureFamilyId) {
796
+ return {
797
+ namespace: "static",
798
+ path: `${wowMediaBasePath}/creature-family/${creatureFamilyId}`
799
+ };
800
+ }
801
+ /**
802
+ * Search for creatures.
803
+ * @param options The creature search parameters. See {@link CreatureSearchParameters}.
804
+ * @returns The creature search results. See {@link CreatureSearchResponse}.
805
+ */
806
+ function creatureSearch(options) {
807
+ return {
808
+ namespace: "static",
809
+ parameters: {
810
+ _page: options._page,
811
+ [`name.${options.locale}`]: options.name,
812
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
813
+ },
814
+ path: `${wowSearchBasePath}/creature`
815
+ };
816
+ }
817
+ /**
818
+ * Get a creature type by ID.
819
+ * @param creatureTypeId The creature type ID.
820
+ * @returns The creature type. See {@link CreatureTypeResponse}.
821
+ */
822
+ function creatureType(creatureTypeId) {
823
+ return {
824
+ namespace: "static",
825
+ path: `${wowBasePath}/creature-type/${creatureTypeId}`
826
+ };
827
+ }
828
+ /**
829
+ * Get a creature type index.
830
+ * @returns The creature type index. See {@link CreatureTypeIndexResponse}.
831
+ */
832
+ function creatureTypeIndex() {
833
+ return {
834
+ namespace: "static",
835
+ path: `${wowBasePath}/creature-type/index`
836
+ };
837
+ }
838
+
839
+ //#endregion
840
+ //#region src/guild-crest/guild-crest.ts
841
+ /**
842
+ * Get a guild crest border by ID.
843
+ * @param borderId The guild crest border ID.
844
+ * @returns The guild crest border. See {@link GuildCrestBorderEmblemResponse}.
845
+ */
846
+ function guildCrestBorder(borderId) {
847
+ return {
848
+ namespace: "static",
849
+ path: `${wowMediaBasePath}/guild-crest/border/${borderId}`
850
+ };
851
+ }
852
+ /**
853
+ * Get the guild crest components index.
854
+ * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.
855
+ */
856
+ function guildCrestComponentsIndex() {
857
+ return {
858
+ namespace: "static",
859
+ path: `${wowBasePath}/guild-crest/index`
860
+ };
861
+ }
862
+ /**
863
+ * Get a guild crest emblem by ID.
864
+ * @param emblemId The guild crest emblem ID.
865
+ * @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}.
866
+ */
867
+ function guildCrestEmblem(emblemId) {
868
+ return {
869
+ namespace: "static",
870
+ path: `${wowMediaBasePath}/guild-crest/emblem/${emblemId}`
871
+ };
872
+ }
873
+
874
+ //#endregion
875
+ //#region src/guild/guild.ts
876
+ const basePath = "/data/wow/guild";
877
+ /**
878
+ * @param realmSlug The slug of the realm.
879
+ * @param nameSlug The lowercase name of the guild.
880
+ * @returns a single guild by its name and realm.
881
+ */
882
+ function guild(realmSlug, nameSlug) {
883
+ return {
884
+ namespace: "profile",
885
+ path: `${basePath}/${realmSlug}/${nameSlug}`
886
+ };
887
+ }
888
+ /**
889
+ * @param realmSlug The slug of the realm.
890
+ * @param nameSlug The lowercase name of the guild.
891
+ * @returns a single guild's achievements by name and realm.
892
+ */
893
+ function guildAchievements(realmSlug, nameSlug) {
894
+ return {
895
+ namespace: "profile",
896
+ path: `${basePath}/${realmSlug}/${nameSlug}/achievements`
897
+ };
898
+ }
899
+ /**
900
+ * @param realmSlug The slug of the realm.
901
+ * @param nameSlug The lowercase name of the guild.
902
+ * @returns a single guild's activity by name and realm.
903
+ */
904
+ function guildActivity(realmSlug, nameSlug) {
905
+ return {
906
+ namespace: "profile",
907
+ path: `${basePath}/${realmSlug}/${nameSlug}/activity`
908
+ };
909
+ }
910
+ /**
911
+ * @param realmSlug The slug of the realm.
912
+ * @param nameSlug The lowercase name of the guild.
913
+ * @returns a single guild's roster by its name and realm.
914
+ */
915
+ function guildRoster(realmSlug, nameSlug) {
916
+ return {
917
+ namespace: "profile",
918
+ path: `${basePath}/${realmSlug}/${nameSlug}/roster`
919
+ };
920
+ }
921
+
922
+ //#endregion
923
+ //#region src/heirloom/heirloom.ts
924
+ /**
925
+ * Get a heirloom by ID.
926
+ * @param heirloomId The heirloom ID.
927
+ * @returns The heirloom. See {@link HeirloomResponse}.
928
+ */
929
+ function heirloom(heirloomId) {
930
+ return {
931
+ namespace: "static",
932
+ path: `${wowBasePath}/heirloom/${heirloomId}`
933
+ };
934
+ }
935
+ /**
936
+ * Get the heirloom index.
937
+ * @returns The heirloom index. See {@link HeirloomIndexResponse}.
938
+ */
939
+ function heirloomIndex() {
940
+ return {
941
+ namespace: "static",
942
+ path: `${wowBasePath}/heirloom/index`
943
+ };
944
+ }
945
+
946
+ //#endregion
947
+ //#region src/item/item.ts
948
+ /**
949
+ * Get an item by ID.
950
+ * @param itemId The item ID.
951
+ * @returns The item. See {@link ItemResponse}.
952
+ */
953
+ function item(itemId) {
954
+ return {
955
+ namespace: "static",
956
+ path: `${wowBasePath}/item/${itemId}`
957
+ };
958
+ }
959
+ /**
960
+ * Get an item class by ID.
961
+ * @param itemClassId The item class ID.
962
+ * @returns The item class. See {@link ItemClassResponse}.
963
+ */
964
+ function itemClass(itemClassId) {
965
+ return {
966
+ namespace: "static",
967
+ path: `${wowBasePath}/item-class/${itemClassId}`
968
+ };
969
+ }
970
+ /**
971
+ * Get an item class index.
972
+ * @returns The item class index. See {@link ItemClassIndexResponse}.
973
+ */
974
+ function itemClassIndex() {
975
+ return {
976
+ namespace: "static",
977
+ path: `${wowBasePath}/item-class/index`
978
+ };
979
+ }
980
+ /**
981
+ * Get item media by ID.
982
+ * @param itemId The item ID.
983
+ * @returns The item media. See {@link ItemMediaResponse}.
984
+ */
985
+ function itemMedia(itemId) {
986
+ return {
987
+ namespace: "static",
988
+ path: `${wowMediaBasePath}/item/${itemId}`
989
+ };
990
+ }
991
+ /**
992
+ * Search for items.
993
+ * @param options The search parameters. See {@link ItemSearchParameters}.
994
+ * @returns The search results. See {@link ItemSearchResponse}.
995
+ */
996
+ function itemSearch(options) {
997
+ return {
998
+ namespace: "static",
999
+ parameters: {
1000
+ _page: options._page,
1001
+ [`name.${options.locale}`]: options.name,
1002
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
1003
+ },
1004
+ path: `${wowSearchBasePath}/item`
1005
+ };
1006
+ }
1007
+ /**
1008
+ * Get an item set by ID.
1009
+ * @param itemSetId The item set ID.
1010
+ * @returns The item set. See {@link ItemSetResponse}.
1011
+ */
1012
+ function itemSet(itemSetId) {
1013
+ return {
1014
+ namespace: "static",
1015
+ path: `${wowBasePath}/item-set/${itemSetId}`
1016
+ };
1017
+ }
1018
+ /**
1019
+ * Get an item set index.
1020
+ * @returns The item set index. See {@link ItemSetIndexResponse}.
1021
+ */
1022
+ function itemSetIndex() {
1023
+ return {
1024
+ namespace: "static",
1025
+ path: `${wowBasePath}/item-set/index`
1026
+ };
1027
+ }
1028
+ /**
1029
+ * Get an item subclass by ID.
1030
+ * @param itemClassId The item class ID.
1031
+ * @param itemSubclassId The item subclass ID.
1032
+ * @returns The item subclass. See {@link ItemSubClassResponse}.
1033
+ */
1034
+ function itemSubClass(itemClassId, itemSubclassId) {
1035
+ return {
1036
+ namespace: "static",
1037
+ path: `${wowBasePath}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`
1038
+ };
1039
+ }
1040
+
1041
+ //#endregion
1042
+ //#region src/journal/journal.ts
1043
+ /**
1044
+ * Get a journal encounter by ID.
1045
+ * @param journalEncounterId The journal encounter ID.
1046
+ * @returns The journal encounter. See {@link JournalEncounterResponse}.
1047
+ */
1048
+ function journalEncounter(journalEncounterId) {
1049
+ return {
1050
+ namespace: "static",
1051
+ path: `${wowBasePath}/journal-encounter/${journalEncounterId}`
1052
+ };
1053
+ }
1054
+ /**
1055
+ * Get the journal encounter index.
1056
+ * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.
1057
+ */
1058
+ function journalEncounterIndex() {
1059
+ return {
1060
+ namespace: "static",
1061
+ path: `${wowBasePath}/journal-encounter/index`
1062
+ };
1063
+ }
1064
+ /**
1065
+ * Search for journal encounters.
1066
+ * @param options The search parameters. See {@link JournalEncounterSearchParameters}.
1067
+ * @returns The search results. See {@link JournalEncounterSearchResponse}.
1068
+ */
1069
+ function journalEncounterSearch(options) {
1070
+ return {
1071
+ namespace: "static",
1072
+ parameters: {
1073
+ _page: options._page,
1074
+ [`instance.name.${options.locale}`]: options.instanceName,
1075
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
1076
+ },
1077
+ path: `${wowSearchBasePath}/journal-encounter`
1078
+ };
1079
+ }
1080
+ /**
1081
+ * Get a journal expansion by ID.
1082
+ * @param journalExpansionId The journal expansion ID.
1083
+ * @returns The journal expansion. See {@link JournalExpansionResponse}.
1084
+ */
1085
+ function journalExpansion(journalExpansionId) {
1086
+ return {
1087
+ namespace: "static",
1088
+ path: `${wowBasePath}/journal-expansion/${journalExpansionId}`
1089
+ };
1090
+ }
1091
+ /**
1092
+ * Get the journal expansion index.
1093
+ * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.
1094
+ */
1095
+ function journalExpansionIndex() {
1096
+ return {
1097
+ namespace: "static",
1098
+ path: `${wowBasePath}/journal-expansion/index`
1099
+ };
1100
+ }
1101
+ /**
1102
+ * Get a journal instance by ID.
1103
+ * @param journalInstanceId The journal instance ID.
1104
+ * @returns The journal instance. See {@link JournalInstanceResponse}.
1105
+ */
1106
+ function journalInstance(journalInstanceId) {
1107
+ return {
1108
+ namespace: "static",
1109
+ path: `${wowBasePath}/journal-instance/${journalInstanceId}`
1110
+ };
1111
+ }
1112
+ /**
1113
+ * Get the journal instance index.
1114
+ * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.
1115
+ */
1116
+ function journalInstanceIndex() {
1117
+ return {
1118
+ namespace: "static",
1119
+ path: `${wowBasePath}/journal-instance/index`
1120
+ };
1121
+ }
1122
+ /**
1123
+ * Get journal instance media by ID.
1124
+ * @param journalInstanceId The journal instance ID.
1125
+ * @returns The journal instance media. See {@link JournalInstanceMediaResponse}.
1126
+ */
1127
+ function journalInstanceMedia(journalInstanceId) {
1128
+ return {
1129
+ namespace: "static",
1130
+ path: `${wowMediaBasePath}/journal-instance/${journalInstanceId}`
1131
+ };
1132
+ }
1133
+
1134
+ //#endregion
1135
+ //#region src/media-search/media-search.ts
1136
+ /**
1137
+ * Search for media.
1138
+ * @param options The search parameters. See {@link MediaSearchParameters}.
1139
+ * @returns The search results. See {@link MediaSearchResponse}.
1140
+ */
1141
+ function mediaSearch(options) {
1142
+ return {
1143
+ namespace: "static",
1144
+ parameters: {
1145
+ _page: options._page,
1146
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
1147
+ tags: options.tags
1148
+ },
1149
+ path: `${wowSearchBasePath}/media`
1150
+ };
1151
+ }
1152
+
1153
+ //#endregion
1154
+ //#region src/modified-crafting/modified-crafting.ts
1155
+ /**
1156
+ * Get a modified crafting category by ID.
1157
+ * @param modifiedCraftingCategoryId The modified crafting category ID.
1158
+ * @returns The modified crafting category. See {@link ModifiedCraftingCategoryResponse}.
1159
+ */
1160
+ function modifiedCraftingCategory(modifiedCraftingCategoryId) {
1161
+ return {
1162
+ namespace: "static",
1163
+ path: `${wowBasePath}/modified-crafting/category/${modifiedCraftingCategoryId}`
1164
+ };
1165
+ }
1166
+ /**
1167
+ * Get a modified crafting category index.
1168
+ * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.
1169
+ */
1170
+ function modifiedCraftingCategoryIndex() {
1171
+ return {
1172
+ namespace: "static",
1173
+ path: `${wowBasePath}/modified-crafting/category/index`
1174
+ };
1175
+ }
1176
+ /**
1177
+ * Get a modified crafting index.
1178
+ * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.
1179
+ */
1180
+ function modifiedCraftingIndex() {
1181
+ return {
1182
+ namespace: "static",
1183
+ path: `${wowBasePath}/modified-crafting/index`
1184
+ };
1185
+ }
1186
+ /**
1187
+ * Get a modified crafting reagent slot type by ID.
1188
+ * @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID.
1189
+ * @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}.
1190
+ */
1191
+ function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) {
1192
+ return {
1193
+ namespace: "static",
1194
+ path: `${wowBasePath}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`
1195
+ };
1196
+ }
1197
+ /**
1198
+ * Get a modified crafting reagent slot type index.
1199
+ * @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}.
1200
+ */
1201
+ function modifiedCraftingReagentSlotTypeIndex() {
1202
+ return {
1203
+ namespace: "static",
1204
+ path: `${wowBasePath}/modified-crafting/reagent-slot-type/index`
1205
+ };
1206
+ }
1207
+
1208
+ //#endregion
1209
+ //#region src/mount/mount.ts
1210
+ /**
1211
+ * Get a mount by ID.
1212
+ * @param mountId The mount ID.
1213
+ * @returns The mount. See {@link MountResponse}.
1214
+ */
1215
+ function mount(mountId) {
1216
+ return {
1217
+ namespace: "static",
1218
+ path: `${wowBasePath}/mount/${mountId}`
1219
+ };
1220
+ }
1221
+ /**
1222
+ * Get a mount index.
1223
+ * @returns The mount index. See {@link MountIndexResponse}.
1224
+ */
1225
+ function mountIndex() {
1226
+ return {
1227
+ namespace: "static",
1228
+ path: `${wowBasePath}/mount/index`
1229
+ };
1230
+ }
1231
+ /**
1232
+ * Get a mount search.
1233
+ * @param options The search parameters. See {@link MountSearchParameters}.
1234
+ * @returns The search results. See {@link MountSearchResponse}.
1235
+ */
1236
+ function mountSearch(options) {
1237
+ return {
1238
+ namespace: "static",
1239
+ parameters: {
1240
+ _page: options._page,
1241
+ [`name.${options.locale}`]: options.name,
1242
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
1243
+ },
1244
+ path: `${wowSearchBasePath}/mount`
1245
+ };
1246
+ }
1247
+
1248
+ //#endregion
1249
+ //#region src/mythic-keystone-affix/mythic-keystone-affix.ts
1250
+ /**
1251
+ * Get a list of all Mythic Keystone affixes.
1252
+ * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
1253
+ * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
1254
+ */
1255
+ function mythicKeystoneAffix(mythicKeystoneAffixId) {
1256
+ return {
1257
+ namespace: "static",
1258
+ path: `${wowBasePath}/keystone-affix/${mythicKeystoneAffixId}`
1259
+ };
1260
+ }
1261
+ /**
1262
+ * Get a list of all Mythic Keystone affixes.
1263
+ * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
1264
+ */
1265
+ function mythicKeystoneAffixIndex() {
1266
+ return {
1267
+ namespace: "static",
1268
+ path: `${wowBasePath}/keystone-affix/index`
1269
+ };
1270
+ }
1271
+ /**
1272
+ * Get a list of all Mythic Keystone affix media.
1273
+ * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
1274
+ * @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}
1275
+ */
1276
+ function mythicKeystoneAffixMedia(mythicKeystoneAffixId) {
1277
+ return {
1278
+ namespace: "static",
1279
+ path: `${wowMediaBasePath}/keystone-affix/${mythicKeystoneAffixId}`
1280
+ };
1281
+ }
1282
+
1283
+ //#endregion
1284
+ //#region src/mythic-keystone-dungeon/mythic-keystone-dungeon.ts
1285
+ /**
1286
+ * Get a Mythic Keystone dungeon by ID.
1287
+ * @param mythicKeystoneDungeonId The Mythic Keystone dungeon ID.
1288
+ * @returns The Mythic Keystone dungeon. See {@link MythicKeystoneDungeonResponse}.
1289
+ */
1290
+ function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
1291
+ return {
1292
+ namespace: "dynamic",
1293
+ path: `${wowBasePath}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`
1294
+ };
1295
+ }
1296
+ /**
1297
+ * Get a Mythic Keystone dungeon index.
1298
+ * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.
1299
+ */
1300
+ function mythicKeystoneDungeonIndex() {
1301
+ return {
1302
+ namespace: "dynamic",
1303
+ path: `${wowBasePath}/mythic-keystone/dungeon/index`
1304
+ };
1305
+ }
1306
+ /**
1307
+ * Get a Mythic Keystone index.
1308
+ * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.
1309
+ */
1310
+ function mythicKeystoneIndex() {
1311
+ return {
1312
+ namespace: "dynamic",
1313
+ path: `${wowBasePath}/mythic-keystone/index`
1314
+ };
1315
+ }
1316
+ /**
1317
+ * Get a Mythic Keystone period by ID.
1318
+ * @param mythicKeystonePeriodId The Mythic Keystone period ID.
1319
+ * @returns The Mythic Keystone period. See {@link MythicKeystonePeriodResponse}.
1320
+ */
1321
+ function mythicKeystonePeriod(mythicKeystonePeriodId) {
1322
+ return {
1323
+ namespace: "dynamic",
1324
+ path: `${wowBasePath}/mythic-keystone/period/${mythicKeystonePeriodId}`
1325
+ };
1326
+ }
1327
+ /**
1328
+ * Get a Mythic Keystone period index.
1329
+ * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.
1330
+ */
1331
+ function mythicKeystonePeriodIndex() {
1332
+ return {
1333
+ namespace: "dynamic",
1334
+ path: `${wowBasePath}/mythic-keystone/period/index`
1335
+ };
1336
+ }
1337
+ /**
1338
+ * Get a Mythic Keystone season by ID.
1339
+ * @param mythicKeystoneSeasonId The Mythic Keystone season ID.
1340
+ * @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.
1341
+ */
1342
+ function mythicKeystoneSeason(mythicKeystoneSeasonId) {
1343
+ return {
1344
+ namespace: "dynamic",
1345
+ path: `${wowBasePath}/mythic-keystone/season/${mythicKeystoneSeasonId}`
1346
+ };
1347
+ }
1348
+ /**
1349
+ * Get a Mythic Keystone season index.
1350
+ * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.
1351
+ */
1352
+ function mythicKeystoneSeasonIndex() {
1353
+ return {
1354
+ namespace: "dynamic",
1355
+ path: `${wowBasePath}/mythic-keystone/season/index`
1356
+ };
1357
+ }
1358
+
1359
+ //#endregion
1360
+ //#region src/mythic-keystone-leaderboard/mythic-keystone-leaderboard.ts
1361
+ /**
1362
+ * Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.
1363
+ * @param connectedRealmId The connected realm ID.
1364
+ * @param dungeonId The dungeon ID.
1365
+ * @param period The period ID.
1366
+ * @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}.
1367
+ */
1368
+ function mythicKeystoneLeaderboard(connectedRealmId, dungeonId, period) {
1369
+ return {
1370
+ namespace: "dynamic",
1371
+ path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`
1372
+ };
1373
+ }
1374
+ /**
1375
+ * Get a Mythic Keystone leaderboard index by connected realm ID.
1376
+ * @param connectedRealmId The connected realm ID.
1377
+ * @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.
1378
+ */
1379
+ function mythicKeystoneLeaderboardIndex(connectedRealmId) {
1380
+ return {
1381
+ namespace: "dynamic",
1382
+ path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`
1383
+ };
1384
+ }
1385
+
1386
+ //#endregion
1387
+ //#region src/mythic-raid-leaderboard/mythic-raid-leaderboard.ts
1388
+ /**
1389
+ * Get a Mythic Raid leaderboard by raid and faction.
1390
+ * @param raid The slug of the raid.
1391
+ * @param faction The faction. Either 'alliance' or 'horde'.
1392
+ * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.
1393
+ */
1394
+ function mythicRaidLeaderboard(raid, faction) {
1395
+ return {
1396
+ namespace: "dynamic",
1397
+ path: `${wowBasePath}/leaderboard/hall-of-fame/${raid}/${faction}`
1398
+ };
1399
+ }
1400
+
1401
+ //#endregion
1402
+ //#region src/pet/pet.ts
1403
+ /**
1404
+ * Get a pet by ID.
1405
+ * @param petId The pet ID.
1406
+ * @returns The pet. See {@link PetResponse}.
1407
+ */
1408
+ function pet(petId) {
1409
+ return {
1410
+ namespace: "static",
1411
+ path: `${wowBasePath}/pet/${petId}`
1412
+ };
1413
+ }
1414
+ /**
1415
+ * Get a pet ability by ID.
1416
+ * @param petAbilityId The pet ability ID.
1417
+ * @returns The pet ability. See {@link PetAbilityResponse}.
1418
+ */
1419
+ function petAbility(petAbilityId) {
1420
+ return {
1421
+ namespace: "static",
1422
+ path: `${wowBasePath}/pet-ability/${petAbilityId}`
1423
+ };
1424
+ }
1425
+ /**
1426
+ * Get a pet ability index.
1427
+ * @returns The pet ability index. See {@link PetAbilityIndexResponse}.
1428
+ */
1429
+ function petAbilityIndex() {
1430
+ return {
1431
+ namespace: "static",
1432
+ path: `${wowBasePath}/pet-ability/index`
1433
+ };
1434
+ }
1435
+ /**
1436
+ * Get a pet ability media by ID.
1437
+ * @param petAbilityId The pet ability ID.
1438
+ * @returns The pet ability media. See {@link PetAbilityMediaResponse}.
1439
+ */
1440
+ function petAbilityMedia(petAbilityId) {
1441
+ return {
1442
+ namespace: "static",
1443
+ path: `${wowMediaBasePath}/pet-ability/${petAbilityId}`
1444
+ };
1445
+ }
1446
+ /**
1447
+ * Get a pet index.
1448
+ * @returns The pet index. See {@link PetIndexResponse}.
1449
+ */
1450
+ function petIndex() {
1451
+ return {
1452
+ namespace: "static",
1453
+ path: `${wowBasePath}/pet/index`
1454
+ };
1455
+ }
1456
+ /**
1457
+ * Get a pet media by ID.
1458
+ * @param petId The pet ID.
1459
+ * @returns The pet media. See {@link PetMediaResponse}.
1460
+ */
1461
+ function petMedia(petId) {
1462
+ return {
1463
+ namespace: "static",
1464
+ path: `${wowMediaBasePath}/pet/${petId}`
1465
+ };
1466
+ }
1467
+
1468
+ //#endregion
1469
+ //#region src/playable-class/playable-class.ts
1470
+ /**
1471
+ * Get a playable class by ID.
1472
+ * @param playableClassId The playable class ID.
1473
+ * @returns The playable class. See {@link PlayableClassResponse}.
1474
+ */
1475
+ function playableClass(playableClassId) {
1476
+ return {
1477
+ namespace: "static",
1478
+ path: `${wowBasePath}/playable-class/${playableClassId}`
1479
+ };
1480
+ }
1481
+ /**
1482
+ * Get a playable class index.
1483
+ * @returns The playable class index. See {@link PlayableClassIndexResponse}.
1484
+ */
1485
+ function playableClassIndex() {
1486
+ return {
1487
+ namespace: "static",
1488
+ path: `${wowBasePath}/playable-class/index`
1489
+ };
1490
+ }
1491
+ /**
1492
+ * Get playable class media by ID.
1493
+ * @param playableClassId The playable class ID.
1494
+ * @returns The playable class media. See {@link PlayableClassMediaResponse}.
1495
+ */
1496
+ function playableClassMedia(playableClassId) {
1497
+ return {
1498
+ namespace: "static",
1499
+ path: `${wowMediaBasePath}/playable-class/${playableClassId}`
1500
+ };
1501
+ }
1502
+ /**
1503
+ * Get a playable class's PvP talent slots by ID.
1504
+ * @param playableClassId The playable class ID.
1505
+ * @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.
1506
+ */
1507
+ function pvpTalentSlots(playableClassId) {
1508
+ return {
1509
+ namespace: "static",
1510
+ path: `${wowBasePath}/playable-class/${playableClassId}/pvp-talent-slots`
1511
+ };
1512
+ }
1513
+
1514
+ //#endregion
1515
+ //#region src/playable-race/playable-race.ts
1516
+ /**
1517
+ * Get a playable race by ID.
1518
+ * @param playableRaceId The playable race ID.
1519
+ * @returns The playable race. See {@link PlayableRaceResponse}.
1520
+ */
1521
+ function playableRace(playableRaceId) {
1522
+ return {
1523
+ namespace: "static",
1524
+ path: `${wowBasePath}/playable-race/${playableRaceId}`
1525
+ };
1526
+ }
1527
+ /**
1528
+ * Get a playable race index.
1529
+ * @returns The playable race index. See {@link PlayableRaceIndexResponse}.
1530
+ */
1531
+ function playableRaceIndex() {
1532
+ return {
1533
+ namespace: "static",
1534
+ path: `${wowBasePath}/playable-race/index`
1535
+ };
1536
+ }
1537
+
1538
+ //#endregion
1539
+ //#region src/playable-specialization/playable-specialization.ts
1540
+ /**
1541
+ * Get a playable specialization by ID.
1542
+ * @param specializationId The playable specialization ID.
1543
+ * @returns The playable specialization. See {@link PlayableSpecializationResponse}.
1544
+ */
1545
+ function playableSpecialization(specializationId) {
1546
+ return {
1547
+ namespace: "static",
1548
+ path: `${wowBasePath}/playable-specialization/${specializationId}`
1549
+ };
1550
+ }
1551
+ /**
1552
+ * Get a playable specialization index.
1553
+ * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.
1554
+ */
1555
+ function playableSpecializationIndex() {
1556
+ return {
1557
+ namespace: "static",
1558
+ path: `${wowBasePath}/playable-specialization/index`
1559
+ };
1560
+ }
1561
+ /**
1562
+ * Get a playable specialization media by ID.
1563
+ * @param specializationId The playable specialization ID.
1564
+ * @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.
1565
+ */
1566
+ function playableSpecializationMedia(specializationId) {
1567
+ return {
1568
+ namespace: "static",
1569
+ path: `${wowMediaBasePath}/playable-specialization/${specializationId}`
1570
+ };
1571
+ }
1572
+
1573
+ //#endregion
1574
+ //#region src/power-type/power-type.ts
1575
+ /**
1576
+ * Get a power type by ID.
1577
+ * @param powerTypeId The power type ID.
1578
+ * @returns The power type. See {@link PowerTypeResponse}.
1579
+ */
1580
+ function powerType(powerTypeId) {
1581
+ return {
1582
+ namespace: "static",
1583
+ path: `${wowBasePath}/power-type/${powerTypeId}`
1584
+ };
1585
+ }
1586
+ /**
1587
+ * Get a power type index.
1588
+ * @returns The power type index. See {@link PowerTypeIndexResponse}.
1589
+ */
1590
+ function powerTypeIndex() {
1591
+ return {
1592
+ namespace: "static",
1593
+ path: `${wowBasePath}/power-type/index`
1594
+ };
1595
+ }
1596
+
1597
+ //#endregion
1598
+ //#region src/profession/profession.ts
1599
+ /**
1600
+ * Get a profession by ID.
1601
+ * @param professionId The profession ID.
1602
+ * @returns The profession. See {@link ProfessionResponse}.
1603
+ */
1604
+ function profession(professionId) {
1605
+ return {
1606
+ namespace: "static",
1607
+ path: `${wowBasePath}/profession/${professionId}`
1608
+ };
1609
+ }
1610
+ /**
1611
+ * Get a profession index.
1612
+ * @returns The profession index. See {@link ProfessionIndexResponse}.
1613
+ */
1614
+ function professionIndex() {
1615
+ return {
1616
+ namespace: "static",
1617
+ path: `${wowBasePath}/profession/index`
1618
+ };
1619
+ }
1620
+ /**
1621
+ * Get profession media by ID.
1622
+ * @param professionId The profession ID.
1623
+ * @returns The profession media. See {@link ProfessionMediaResponse}.
1624
+ */
1625
+ function professionMedia(professionId) {
1626
+ return {
1627
+ namespace: "static",
1628
+ path: `${wowMediaBasePath}/profession/${professionId}`
1629
+ };
1630
+ }
1631
+ /**
1632
+ * Get a profession's skill tier by ID.
1633
+ * @param professionId The profession ID.
1634
+ * @param skillTierId The skill tier ID.
1635
+ * @returns The profession's skill tier. See {@link ProfessionSkillTierResponse}.
1636
+ */
1637
+ function professionSkillTier(professionId, skillTierId) {
1638
+ return {
1639
+ namespace: "static",
1640
+ path: `${wowBasePath}/profession/${professionId}/skill-tier/${skillTierId}`
1641
+ };
1642
+ }
1643
+ /**
1644
+ * Get a recipe by ID.
1645
+ * @param recipeId The recipe ID.
1646
+ * @returns The recipe. See {@link RecipeResponse}.
1647
+ */
1648
+ function recipe(recipeId) {
1649
+ return {
1650
+ namespace: "static",
1651
+ path: `${wowBasePath}/recipe/${recipeId}`
1652
+ };
1653
+ }
1654
+ /**
1655
+ * Get recipe media by ID.
1656
+ * @param recipeId The recipe ID.
1657
+ * @returns The recipe media. See {@link RecipeMediaResponse}.
1658
+ */
1659
+ function recipeMedia(recipeId) {
1660
+ return {
1661
+ namespace: "static",
1662
+ path: `${wowMediaBasePath}/recipe/${recipeId}`
1663
+ };
1664
+ }
1665
+
1666
+ //#endregion
1667
+ //#region src/pvp-season/pvp-season.ts
1668
+ /**
1669
+ * Get a PvP leaderboard by PvP season ID and bracket.
1670
+ * @param pvpSeasonId The PvP season ID.
1671
+ * @param bracket The PvP bracket.
1672
+ * @returns The PvP leaderboard. See {@link PvpLeaderboardResponse}.
1673
+ */
1674
+ function pvpLeaderboard(pvpSeasonId, bracket) {
1675
+ return {
1676
+ namespace: "dynamic",
1677
+ path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`
1678
+ };
1679
+ }
1680
+ /**
1681
+ * Get a PvP leaderboard index by PvP season ID.
1682
+ * @param pvpSeasonId The PvP season ID.
1683
+ * @returns The PvP leaderboard index. See {@link PvpLeaderboardIndexResponse}.
1684
+ */
1685
+ function pvpLeaderboardIndex(pvpSeasonId) {
1686
+ return {
1687
+ namespace: "dynamic",
1688
+ path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`
1689
+ };
1690
+ }
1691
+ /**
1692
+ * Get a PvP reward index by PvP season ID.
1693
+ * @param pvpSeasonId The PvP season ID.
1694
+ * @returns The PvP reward index. See {@link PvpRewardsIndexResponse}.
1695
+ */
1696
+ function pvpRewardsIndex(pvpSeasonId) {
1697
+ return {
1698
+ namespace: "dynamic",
1699
+ path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-reward/index`
1700
+ };
1701
+ }
1702
+ /**
1703
+ * Get a PvP season by ID.
1704
+ * @param pvpSeasonId The PvP season ID.
1705
+ * @returns The PvP season. See {@link PvpSeasonResponse}.
1706
+ */
1707
+ function pvpSeason(pvpSeasonId) {
1708
+ return {
1709
+ namespace: "dynamic",
1710
+ path: `${wowBasePath}/pvp-season/${pvpSeasonId}`
1711
+ };
1712
+ }
1713
+ /**
1714
+ * Get a PvP season index.
1715
+ * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.
1716
+ */
1717
+ function pvpSeasonIndex() {
1718
+ return {
1719
+ namespace: "dynamic",
1720
+ path: `${wowBasePath}/pvp-season/index`
1721
+ };
1722
+ }
1723
+
1724
+ //#endregion
1725
+ //#region src/pvp-tier/pvp-tier.ts
1726
+ /**
1727
+ * Get a PvP tier by ID.
1728
+ * @param pvpTierId The PvP tier ID.
1729
+ * @returns The PvP tier. See {@link PvpTierResponse}.
1730
+ */
1731
+ function pvpTier(pvpTierId) {
1732
+ return {
1733
+ namespace: "static",
1734
+ path: `${wowBasePath}/pvp-tier/${pvpTierId}`
1735
+ };
1736
+ }
1737
+ /**
1738
+ * Get a PvP tier index.
1739
+ * @returns The PvP tier index. See {@link PvpTierIndexResponse}.
1740
+ */
1741
+ function pvpTierIndex() {
1742
+ return {
1743
+ namespace: "static",
1744
+ path: `${wowBasePath}/pvp-tier/index`
1745
+ };
1746
+ }
1747
+ /**
1748
+ * Get PvP tier media by ID.
1749
+ * @param pvpTierId The PvP tier ID.
1750
+ * @returns The PvP tier media. See {@link PvpTierMediaResponse}.
1751
+ */
1752
+ function pvpTierMedia(pvpTierId) {
1753
+ return {
1754
+ namespace: "static",
1755
+ path: `${wowMediaBasePath}/pvp-tier/${pvpTierId}`
1756
+ };
1757
+ }
1758
+
1759
+ //#endregion
1760
+ //#region src/quest/quest.ts
1761
+ /**
1762
+ * Get a quest by ID.
1763
+ * @param questId The quest ID.
1764
+ * @returns The quest. See {@link QuestResponse}.
1765
+ */
1766
+ function quest(questId) {
1767
+ return {
1768
+ namespace: "static",
1769
+ path: `${wowBasePath}/quest/${questId}`
1770
+ };
1771
+ }
1772
+ /**
1773
+ * Get a quest area by ID.
1774
+ * @param questAreaId The quest area ID.
1775
+ * @returns The quest area. See {@link QuestAreaResponse}.
1776
+ */
1777
+ function questArea(questAreaId) {
1778
+ return {
1779
+ namespace: "static",
1780
+ path: `${wowBasePath}/quest/area/${questAreaId}`
1781
+ };
1782
+ }
1783
+ /**
1784
+ * Get a quest area index.
1785
+ * @returns The quest area index. See {@link QuestAreaIndexResponse}.
1786
+ */
1787
+ function questAreaIndex() {
1788
+ return {
1789
+ namespace: "static",
1790
+ path: `${wowBasePath}/quest/area/index`
1791
+ };
1792
+ }
1793
+ /**
1794
+ * Get a quest category by ID.
1795
+ * @param questCategoryId The quest category ID.
1796
+ * @returns The quest category. See {@link QuestCategoryResponse}.
1797
+ */
1798
+ function questCategory(questCategoryId) {
1799
+ return {
1800
+ namespace: "static",
1801
+ path: `${wowBasePath}/quest/category/${questCategoryId}`
1802
+ };
1803
+ }
1804
+ /**
1805
+ * Get a quest category index.
1806
+ * @returns The quest category index. See {@link QuestCategoryIndexResponse}.
1807
+ */
1808
+ function questCategoryIndex() {
1809
+ return {
1810
+ namespace: "static",
1811
+ path: `${wowBasePath}/quest/category/index`
1812
+ };
1813
+ }
1814
+ /**
1815
+ * Get a quest index.
1816
+ * @returns The quest index. See {@link QuestIndexResponse}.
1817
+ */
1818
+ function questIndex() {
1819
+ return {
1820
+ namespace: "static",
1821
+ path: `${wowBasePath}/quest/index`
1822
+ };
1823
+ }
1824
+ /**
1825
+ * Get a quest type by ID.
1826
+ * @param questTypeId The quest type ID.
1827
+ * @returns The quest type. See {@link QuestTypeResponse}.
1828
+ */
1829
+ function questType(questTypeId) {
1830
+ return {
1831
+ namespace: "static",
1832
+ path: `${wowBasePath}/quest/type/${questTypeId}`
1833
+ };
1834
+ }
1835
+ /**
1836
+ * Get a quest type index.
1837
+ * @returns The quest type index. See {@link QuestTypeIndexResponse}.
1838
+ */
1839
+ function questTypeIndex() {
1840
+ return {
1841
+ namespace: "static",
1842
+ path: `${wowBasePath}/quest/type/index`
1843
+ };
1844
+ }
1845
+
1846
+ //#endregion
1847
+ //#region src/realm/realm.ts
1848
+ /**
1849
+ * Get a realm by slug.
1850
+ * @param realmSlug The realm slug.
1851
+ * @returns The realm. See {@link RealmResponse}.
1852
+ */
1853
+ function realm(realmSlug) {
1854
+ return {
1855
+ namespace: "dynamic",
1856
+ path: `${wowBasePath}/realm/${realmSlug}`
1857
+ };
1858
+ }
1859
+ /**
1860
+ * Get a realm index.
1861
+ * @returns The realm index. See {@link RealmIndexResponse}.
1862
+ */
1863
+ function realmIndex() {
1864
+ return {
1865
+ namespace: "dynamic",
1866
+ path: `${wowBasePath}/realm/index`
1867
+ };
1868
+ }
1869
+ /**
1870
+ * Search for realms.
1871
+ * @param options The search parameters. See {@link RealmSearchParameters}.
1872
+ * @returns The search results. See {@link RealmSearchResponse}.
1873
+ */
1874
+ function realmSearch(options) {
1875
+ return {
1876
+ namespace: "dynamic",
1877
+ parameters: {
1878
+ _page: options._page,
1879
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
1880
+ timezone: options.timezone
1881
+ },
1882
+ path: `${wowSearchBasePath}/realm`
1883
+ };
1884
+ }
1885
+
1886
+ //#endregion
1887
+ //#region src/region/region.ts
1888
+ /**
1889
+ * Get a region by ID.
1890
+ * @param regionId The region ID.
1891
+ * @returns The region. See {@link RegionResponse}.
1892
+ */
1893
+ function region(regionId) {
1894
+ return {
1895
+ namespace: "dynamic",
1896
+ path: `${wowBasePath}/region/${regionId}`
1897
+ };
1898
+ }
1899
+ /**
1900
+ * Get a region index.
1901
+ * @returns The region index. See {@link RegionIndexResponse}.
1902
+ */
1903
+ function regionIndex() {
1904
+ return {
1905
+ namespace: "dynamic",
1906
+ path: `${wowBasePath}/region/index`
1907
+ };
1908
+ }
1909
+
1910
+ //#endregion
1911
+ //#region src/reputations/reputations.ts
1912
+ /**
1913
+ * Get a reputation faction by ID.
1914
+ * @param reputationFactionId The reputation faction ID.
1915
+ * @returns The reputation faction. See {@link ReputationFactionResponse}.
1916
+ */
1917
+ function reputationFaction(reputationFactionId) {
1918
+ return {
1919
+ namespace: "static",
1920
+ path: `${wowBasePath}/reputation-faction/${reputationFactionId}`
1921
+ };
1922
+ }
1923
+ /**
1924
+ * Get a reputation faction index.
1925
+ * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.
1926
+ */
1927
+ function reputationFactionIndex() {
1928
+ return {
1929
+ namespace: "static",
1930
+ path: `${wowBasePath}/reputation-faction/index`
1931
+ };
1932
+ }
1933
+ /**
1934
+ * Get a reputation tier by ID.
1935
+ * @param reputationTiersId The reputation tier ID.
1936
+ * @returns The reputation tier. See {@link ReputationTiersResponse}.
1937
+ */
1938
+ function reputationTiers(reputationTiersId) {
1939
+ return {
1940
+ namespace: "static",
1941
+ path: `${wowBasePath}/reputation-tiers/${reputationTiersId}`
1942
+ };
1943
+ }
1944
+ /**
1945
+ * Get a reputation tier index.
1946
+ * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.
1947
+ */
1948
+ function reputationTiersIndex() {
1949
+ return {
1950
+ namespace: "static",
1951
+ path: `${wowBasePath}/reputation-tiers/index`
1952
+ };
1953
+ }
1954
+
1955
+ //#endregion
1956
+ //#region src/spell/spell.ts
1957
+ /**
1958
+ * Get a spell by ID.
1959
+ * @param spellId The spell ID.
1960
+ * @returns The spell. See {@link SpellResponse}.
1961
+ */
1962
+ function spell(spellId) {
1963
+ return {
1964
+ namespace: "static",
1965
+ path: `${wowBasePath}/spell/${spellId}`
1966
+ };
1967
+ }
1968
+ /**
1969
+ * Get spell media by ID.
1970
+ * @param spellId The spell ID.
1971
+ * @returns The spell media. See {@link SpellMediaResponse}.
1972
+ */
1973
+ function spellMedia(spellId) {
1974
+ return {
1975
+ namespace: "static",
1976
+ path: `${wowMediaBasePath}/spell/${spellId}`
1977
+ };
1978
+ }
1979
+ /**
1980
+ * Get a spell search.
1981
+ * @param options The spell search options. See {@link SpellSearchParameters}.
1982
+ * @returns The spell search. See {@link SpellSearchResponse}.
1983
+ */
1984
+ function spellSearch(options) {
1985
+ return {
1986
+ namespace: "static",
1987
+ parameters: {
1988
+ _page: options._page,
1989
+ [`name.${options.locale}`]: options.name,
1990
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
1991
+ },
1992
+ path: `${wowSearchBasePath}/spell`
1993
+ };
1994
+ }
1995
+
1996
+ //#endregion
1997
+ //#region src/talent/talent.ts
1998
+ /**
1999
+ * Get a PvP talent by ID.
2000
+ * @param pvpTalentId The PvP talent ID.
2001
+ * @returns The PvP talent. See {@link PvpTalentResponse}.
2002
+ */
2003
+ function pvpTalent(pvpTalentId) {
2004
+ return {
2005
+ namespace: "static",
2006
+ path: `${wowBasePath}/pvp-talent/${pvpTalentId}`
2007
+ };
2008
+ }
2009
+ /**
2010
+ * Get a PvP talent index.
2011
+ * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.
2012
+ */
2013
+ function pvpTalentIndex() {
2014
+ return {
2015
+ namespace: "static",
2016
+ path: `${wowBasePath}/pvp-talent/index`
2017
+ };
2018
+ }
2019
+ /**
2020
+ * Get a talent by ID.
2021
+ * @param talentId The talent ID.
2022
+ * @returns The talent. See {@link TalentResponse}.
2023
+ */
2024
+ function talent(talentId) {
2025
+ return {
2026
+ namespace: "static",
2027
+ path: `${wowBasePath}/talent/${talentId}`
2028
+ };
2029
+ }
2030
+ /**
2031
+ * Get a talent index.
2032
+ * @returns The talent index. See {@link TalentIndexResponse}.
2033
+ */
2034
+ function talentIndex() {
2035
+ return {
2036
+ namespace: "static",
2037
+ path: `${wowBasePath}/talent/index`
2038
+ };
2039
+ }
2040
+ /**
2041
+ * Get a talent tree by ID.
2042
+ * @param talentTreeId The talent tree ID.
2043
+ * @param specId The playable specialization ID.
2044
+ * @returns The talent tree. See {@link TalentTreeResponse}.
2045
+ */
2046
+ function talentTree(talentTreeId, specId) {
2047
+ return {
2048
+ namespace: "static",
2049
+ path: `${wowBasePath}/talent-tree/${talentTreeId}/playable-specialization/${specId}`
2050
+ };
2051
+ }
2052
+ /**
2053
+ * Get a talent tree index.
2054
+ * @returns The talent tree index. See {@link TalentTreeIndexResponse}.
2055
+ */
2056
+ function talentTreeIndex() {
2057
+ return {
2058
+ namespace: "static",
2059
+ path: `${wowBasePath}/talent-tree/index`
2060
+ };
2061
+ }
2062
+ /**
2063
+ * Get talent tree nodes by talent tree ID.
2064
+ * @param talentTreeId The talent tree ID.
2065
+ * @returns The talent tree nodes. See {@link TalentTreeNodesResponse}.
2066
+ */
2067
+ function talentTreeNodes(talentTreeId) {
2068
+ return {
2069
+ namespace: "static",
2070
+ path: `${wowBasePath}/talent-tree/${talentTreeId}`
2071
+ };
2072
+ }
2073
+
2074
+ //#endregion
2075
+ //#region src/tech-talent/tech-talent.ts
2076
+ /**
2077
+ * Get a tech talent by ID.
2078
+ * @param techTalentId The tech talent ID.
2079
+ * @returns The tech talent. See {@link TechTalentResponse}.
2080
+ */
2081
+ function techTalent(techTalentId) {
2082
+ return {
2083
+ namespace: "static",
2084
+ path: `${wowBasePath}/tech-talent/${techTalentId}`
2085
+ };
2086
+ }
2087
+ /**
2088
+ * Get a tech talent index.
2089
+ * @returns The tech talent index. See {@link TechTalentIndexResponse}.
2090
+ */
2091
+ function techTalentIndex() {
2092
+ return {
2093
+ namespace: "static",
2094
+ path: `${wowBasePath}/tech-talent/index`
2095
+ };
2096
+ }
2097
+ /**
2098
+ * Get tech talent media by ID.
2099
+ * @param techTalentId The tech talent ID.
2100
+ * @returns The tech talent media. See {@link TechTalentMediaResponse}.
2101
+ */
2102
+ function techTalentMedia(techTalentId) {
2103
+ return {
2104
+ namespace: "static",
2105
+ path: `${wowMediaBasePath}/tech-talent/${techTalentId}`
2106
+ };
2107
+ }
2108
+ /**
2109
+ * Get a tech talent tree by ID.
2110
+ * @param techTalentTreeId The tech talent tree ID.
2111
+ * @returns The tech talent tree. See {@link TechTalentTreeResponse}.
2112
+ */
2113
+ function techTalentTree(techTalentTreeId) {
2114
+ return {
2115
+ namespace: "static",
2116
+ path: `${wowBasePath}/tech-talent-tree/${techTalentTreeId}`
2117
+ };
2118
+ }
2119
+ /**
2120
+ * Get a tech talent tree index.
2121
+ * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.
2122
+ */
2123
+ function techTalentTreeIndex() {
2124
+ return {
2125
+ namespace: "static",
2126
+ path: `${wowBasePath}/tech-talent-tree/index`
2127
+ };
2128
+ }
2129
+
2130
+ //#endregion
2131
+ //#region src/title/title.ts
2132
+ /**
2133
+ * Get a title by ID.
2134
+ * @param titleId The title ID.
2135
+ * @returns The title. See {@link TitleResponse}.
2136
+ */
2137
+ function title(titleId) {
2138
+ return {
2139
+ namespace: "static",
2140
+ path: `${wowBasePath}/title/${titleId}`
2141
+ };
2142
+ }
2143
+ /**
2144
+ * Get a title index.
2145
+ * @returns The title index. See {@link TitleIndexResponse}.
2146
+ */
2147
+ function titleIndex() {
2148
+ return {
2149
+ namespace: "static",
2150
+ path: `${wowBasePath}/title/index`
2151
+ };
2152
+ }
2153
+
2154
+ //#endregion
2155
+ //#region src/toy/toy.ts
2156
+ /**
2157
+ * Get a toy by ID.
2158
+ * @param toyId The toy ID.
2159
+ * @returns The toy. See {@link ToyResponse}.
2160
+ */
2161
+ function toy(toyId) {
2162
+ return {
2163
+ namespace: "static",
2164
+ path: `${wowBasePath}/toy/${toyId}`
2165
+ };
2166
+ }
2167
+ /**
2168
+ * Get a toy index.
2169
+ * @returns The toy index. See {@link ToyIndexResponse}.
2170
+ */
2171
+ function toyIndex() {
2172
+ return {
2173
+ namespace: "static",
2174
+ path: `${wowBasePath}/toy/index`
2175
+ };
2176
+ }
2177
+
2178
+ //#endregion
2179
+ //#region src/wow-token/wow-token.ts
2180
+ /**
2181
+ * Get the current WoW token price.
2182
+ * @returns The WoW token price. See {@link WowTokenResponse}.
2183
+ */
2184
+ function wowToken() {
2185
+ return {
2186
+ namespace: "dynamic",
2187
+ path: `${wowBasePath}/token/index`
2188
+ };
2189
+ }
2190
+
2191
+ //#endregion
2192
+ //#region src/index.ts
2193
+ /**
2194
+ * The Blizzard API for World of Warcraft.
2195
+ * @see https://develop.battle.net/documentation/world-of-warcraft
2196
+ */
2197
+ const wow = {
2198
+ accountCollectionsIndex,
2199
+ accountHeirloomsCollectionSummary,
2200
+ accountMountsCollectionSummary,
2201
+ accountPetsCollectionSummary,
2202
+ accountProfileSummary,
2203
+ accountToysCollectionSummary,
2204
+ accountTransmogsCollectionSummary,
2205
+ protectedCharacterProfileSummary,
2206
+ achievement,
2207
+ achievementCategory,
2208
+ achievementCategoryIndex,
2209
+ achievementIndex,
2210
+ achievementMedia,
2211
+ auctions,
2212
+ commodities,
2213
+ azeriteEssence,
2214
+ azeriteEssenceIndex,
2215
+ azeriteEssenceMedia,
2216
+ azeriteEssenceSearch,
2217
+ characterAchievementsSummary,
2218
+ characterAchievementStatistics,
2219
+ characterAppearanceSummary,
2220
+ characterCollectionsIndex,
2221
+ characterHeirloomsCollectionSummary,
2222
+ characterMountsCollectionSummary,
2223
+ characterPetsCollectionSummary,
2224
+ characterToysCollectionSummary,
2225
+ characterTransmogCollectionSummary,
2226
+ characterDungeons,
2227
+ characterEncountersSummary,
2228
+ characterRaids,
2229
+ characterEquipmentSummary,
2230
+ characterHunterPetsSummary,
2231
+ characterMediaSummary,
2232
+ characterMythicKeystoneProfileIndex,
2233
+ characterMythicKeystoneSeasonDetails,
2234
+ characterProfessionsSummary,
2235
+ characterProfileStatus,
2236
+ characterProfileSummary,
2237
+ characterPvpBracketStatistics,
2238
+ characterPvpSummary,
2239
+ characterCompletedQuests,
2240
+ characterQuests,
2241
+ characterReputationsSummary,
2242
+ characterSoulbinds,
2243
+ characterSpecializationsSummary,
2244
+ characterStatisticsSummary,
2245
+ characterTitlesSummary,
2246
+ connectedRealm,
2247
+ connectedRealmIndex,
2248
+ connectedRealmSearch,
2249
+ conduit,
2250
+ conduitIndex,
2251
+ covenant,
2252
+ covenantIndex,
2253
+ covenantMedia,
2254
+ soulbind,
2255
+ soulbindIndex,
2256
+ creature,
2257
+ creatureDisplayMedia,
2258
+ creatureFamily,
2259
+ creatureFamilyIndex,
2260
+ creatureFamilyMedia,
2261
+ creatureSearch,
2262
+ creatureType,
2263
+ creatureTypeIndex,
2264
+ guild,
2265
+ guildAchievements,
2266
+ guildActivity,
2267
+ guildRoster,
2268
+ guildCrestBorder,
2269
+ guildCrestComponentsIndex,
2270
+ guildCrestEmblem,
2271
+ heirloom,
2272
+ heirloomIndex,
2273
+ item,
2274
+ itemClass,
2275
+ itemClassIndex,
2276
+ itemMedia,
2277
+ itemSearch,
2278
+ itemSet,
2279
+ itemSetIndex,
2280
+ itemSubClass,
2281
+ journalEncounter,
2282
+ journalEncounterIndex,
2283
+ journalEncounterSearch,
2284
+ journalExpansion,
2285
+ journalExpansionIndex,
2286
+ journalInstance,
2287
+ journalInstanceIndex,
2288
+ journalInstanceMedia,
2289
+ mediaSearch,
2290
+ modifiedCraftingCategory,
2291
+ modifiedCraftingCategoryIndex,
2292
+ modifiedCraftingIndex,
2293
+ modifiedCraftingReagentSlotType,
2294
+ modifiedCraftingReagentSlotTypeIndex,
2295
+ mount,
2296
+ mountIndex,
2297
+ mountSearch,
2298
+ mythicKeystoneAffix,
2299
+ mythicKeystoneAffixIndex,
2300
+ mythicKeystoneAffixMedia,
2301
+ mythicKeystoneDungeon,
2302
+ mythicKeystoneDungeonIndex,
2303
+ mythicKeystoneIndex,
2304
+ mythicKeystonePeriod,
2305
+ mythicKeystonePeriodIndex,
2306
+ mythicKeystoneSeason,
2307
+ mythicKeystoneSeasonIndex,
2308
+ mythicKeystoneLeaderboard,
2309
+ mythicKeystoneLeaderboardIndex,
2310
+ mythicRaidLeaderboard,
2311
+ pet,
2312
+ petAbility,
2313
+ petAbilityIndex,
2314
+ petAbilityMedia,
2315
+ petIndex,
2316
+ petMedia,
2317
+ playableClass,
2318
+ playableClassIndex,
2319
+ playableClassMedia,
2320
+ pvpTalentSlots,
2321
+ playableRace,
2322
+ playableRaceIndex,
2323
+ playableSpecialization,
2324
+ playableSpecializationIndex,
2325
+ playableSpecializationMedia,
2326
+ powerType,
2327
+ powerTypeIndex,
2328
+ profession,
2329
+ professionIndex,
2330
+ professionMedia,
2331
+ professionSkillTier,
2332
+ recipe,
2333
+ recipeMedia,
2334
+ pvpLeaderboard,
2335
+ pvpLeaderboardIndex,
2336
+ pvpRewardsIndex,
2337
+ pvpSeason,
2338
+ pvpSeasonIndex,
2339
+ pvpTier,
2340
+ pvpTierIndex,
2341
+ pvpTierMedia,
2342
+ quest,
2343
+ questArea,
2344
+ questAreaIndex,
2345
+ questCategory,
2346
+ questCategoryIndex,
2347
+ questIndex,
2348
+ questType,
2349
+ questTypeIndex,
2350
+ realm,
2351
+ realmIndex,
2352
+ realmSearch,
2353
+ region,
2354
+ regionIndex,
2355
+ reputationFaction,
2356
+ reputationFactionIndex,
2357
+ reputationTiers,
2358
+ reputationTiersIndex,
2359
+ spell,
2360
+ spellMedia,
2361
+ spellSearch,
2362
+ pvpTalent,
2363
+ pvpTalentIndex,
2364
+ talentIndex,
2365
+ talentTree,
2366
+ talentTreeIndex,
2367
+ talentTreeNodes,
2368
+ techTalent,
2369
+ techTalentIndex,
2370
+ techTalentMedia,
2371
+ techTalentTree,
2372
+ techTalentTreeIndex,
2373
+ title,
2374
+ titleIndex,
2375
+ toy,
2376
+ toyIndex,
2377
+ wowToken
346
2378
  };
347
- var index_default = wow;
348
2379
 
349
- export { index_default as default, wow };
350
- //# sourceMappingURL=index.js.map
2380
+ //#endregion
2381
+ 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, characterPvpBracketStatistics, 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, wow, 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, wowToken };
351
2382
  //# sourceMappingURL=index.js.map