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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/dist/account-profile/account-profile.d.ts +56 -0
  2. package/dist/account-profile/account-profile.js +3 -0
  3. package/dist/account-profile/account-profile.js.map +1 -0
  4. package/dist/account-profile/types.d.ts +138 -0
  5. package/dist/account-profile/types.js +3 -0
  6. package/dist/account-profile/types.js.map +1 -0
  7. package/dist/achievements/achievements.d.ts +34 -0
  8. package/dist/achievements/achievements.js +4 -0
  9. package/dist/achievements/achievements.js.map +1 -0
  10. package/dist/achievements/types.d.ts +70 -0
  11. package/dist/achievements/types.js +3 -0
  12. package/dist/achievements/types.js.map +1 -0
  13. package/dist/auction-house/auction-house.d.ts +17 -0
  14. package/dist/auction-house/auction-house.js +4 -0
  15. package/dist/auction-house/auction-house.js.map +1 -0
  16. package/dist/auction-house/types.d.ts +50 -0
  17. package/dist/auction-house/types.js +3 -0
  18. package/dist/auction-house/types.js.map +1 -0
  19. package/dist/azerite-essence/azerite-essence.d.ts +29 -0
  20. package/dist/azerite-essence/azerite-essence.js +4 -0
  21. package/dist/azerite-essence/azerite-essence.js.map +1 -0
  22. package/dist/azerite-essence/types.d.ts +57 -0
  23. package/dist/azerite-essence/types.js +3 -0
  24. package/dist/azerite-essence/types.js.map +1 -0
  25. package/dist/base.d.ts +115 -0
  26. package/dist/base.js +3 -0
  27. package/dist/base.js.map +1 -0
  28. package/dist/character-achievements/character-achievements.d.ts +18 -0
  29. package/dist/character-achievements/character-achievements.js +3 -0
  30. package/dist/character-achievements/character-achievements.js.map +1 -0
  31. package/dist/character-achievements/types.d.ts +56 -0
  32. package/dist/character-achievements/types.js +3 -0
  33. package/dist/character-achievements/types.js.map +1 -0
  34. package/dist/character-appearance/character-appearance.d.ts +12 -0
  35. package/dist/character-appearance/character-appearance.js +3 -0
  36. package/dist/character-appearance/character-appearance.js.map +1 -0
  37. package/dist/character-appearance/types.d.ts +53 -0
  38. package/dist/character-appearance/types.js +3 -0
  39. package/dist/character-appearance/types.js.map +1 -0
  40. package/dist/character-collections/character-collections.d.ts +42 -0
  41. package/dist/character-collections/character-collections.js +3 -0
  42. package/dist/character-collections/character-collections.js.map +1 -0
  43. package/dist/character-collections/types.d.ts +79 -0
  44. package/dist/character-collections/types.js +3 -0
  45. package/dist/character-collections/types.js.map +1 -0
  46. package/dist/character-encounters/character-encounters.d.ts +24 -0
  47. package/dist/character-encounters/character-encounters.js +3 -0
  48. package/dist/character-encounters/character-encounters.js.map +1 -0
  49. package/dist/character-encounters/types.d.ts +56 -0
  50. package/dist/character-encounters/types.js +3 -0
  51. package/dist/character-encounters/types.js.map +1 -0
  52. package/dist/character-equipment/character-equipment.d.ts +12 -0
  53. package/dist/character-equipment/character-equipment.js +3 -0
  54. package/dist/character-equipment/character-equipment.js.map +1 -0
  55. package/dist/character-equipment/types.d.ts +144 -0
  56. package/dist/character-equipment/types.js +3 -0
  57. package/dist/character-equipment/types.js.map +1 -0
  58. package/dist/character-hunter-pets/character-hunter-pets.d.ts +13 -0
  59. package/dist/character-hunter-pets/character-hunter-pets.js +3 -0
  60. package/dist/character-hunter-pets/character-hunter-pets.js.map +1 -0
  61. package/dist/character-hunter-pets/types.d.ts +19 -0
  62. package/dist/character-hunter-pets/types.js +3 -0
  63. package/dist/character-hunter-pets/types.js.map +1 -0
  64. package/dist/character-media/character-media.d.ts +12 -0
  65. package/dist/character-media/character-media.js +3 -0
  66. package/dist/character-media/character-media.js.map +1 -0
  67. package/dist/character-media/types.d.ts +12 -0
  68. package/dist/character-media/types.js +3 -0
  69. package/dist/character-media/types.js.map +1 -0
  70. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.d.ts +21 -0
  71. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js +3 -0
  72. package/dist/character-mythic-keystone-profile/character-mythic-keystone-profile.js.map +1 -0
  73. package/dist/character-mythic-keystone-profile/types.d.ts +46 -0
  74. package/dist/character-mythic-keystone-profile/types.js +3 -0
  75. package/dist/character-mythic-keystone-profile/types.js.map +1 -0
  76. package/dist/character-professions/character-professions.d.ts +12 -0
  77. package/dist/character-professions/character-professions.js +3 -0
  78. package/dist/character-professions/character-professions.js.map +1 -0
  79. package/dist/character-professions/types.d.ts +25 -0
  80. package/dist/character-professions/types.js +3 -0
  81. package/dist/character-professions/types.js.map +1 -0
  82. package/dist/character-profile/character-profile.d.ts +30 -0
  83. package/dist/character-profile/character-profile.js +3 -0
  84. package/dist/character-profile/character-profile.js.map +1 -0
  85. package/dist/character-profile/types.d.ts +55 -0
  86. package/dist/character-profile/types.js +3 -0
  87. package/dist/character-profile/types.js.map +1 -0
  88. package/dist/character-pvp/character-pvp.d.ts +12 -0
  89. package/dist/character-pvp/character-pvp.js +3 -0
  90. package/dist/character-pvp/character-pvp.js.map +1 -0
  91. package/dist/character-pvp/types.d.ts +19 -0
  92. package/dist/character-pvp/types.js +3 -0
  93. package/dist/character-pvp/types.js.map +1 -0
  94. package/dist/character-quests/character-quests.d.ts +18 -0
  95. package/dist/character-quests/character-quests.js +3 -0
  96. package/dist/character-quests/character-quests.js.map +1 -0
  97. package/dist/character-quests/types.d.ts +13 -0
  98. package/dist/character-quests/types.js +3 -0
  99. package/dist/character-quests/types.js.map +1 -0
  100. package/dist/character-reputations/character-reputations.d.ts +12 -0
  101. package/dist/character-reputations/character-reputations.js +3 -0
  102. package/dist/character-reputations/character-reputations.js.map +1 -0
  103. package/dist/character-reputations/types.d.ts +25 -0
  104. package/dist/character-reputations/types.js +3 -0
  105. package/dist/character-reputations/types.js.map +1 -0
  106. package/dist/character-soulbinds/character-soulbinds.d.ts +12 -0
  107. package/dist/character-soulbinds/character-soulbinds.js +3 -0
  108. package/dist/character-soulbinds/character-soulbinds.js.map +1 -0
  109. package/dist/character-soulbinds/types.d.ts +33 -0
  110. package/dist/character-soulbinds/types.js +3 -0
  111. package/dist/character-soulbinds/types.js.map +1 -0
  112. package/dist/character-specializations/character-specializations.d.ts +12 -0
  113. package/dist/character-specializations/character-specializations.js +3 -0
  114. package/dist/character-specializations/character-specializations.js.map +1 -0
  115. package/dist/character-specializations/types.d.ts +46 -0
  116. package/dist/character-specializations/types.js +3 -0
  117. package/dist/character-specializations/types.js.map +1 -0
  118. package/dist/character-statistics/character-statistics.d.ts +12 -0
  119. package/dist/character-statistics/character-statistics.js +3 -0
  120. package/dist/character-statistics/character-statistics.js.map +1 -0
  121. package/dist/character-statistics/types.d.ts +59 -0
  122. package/dist/character-statistics/types.js +3 -0
  123. package/dist/character-statistics/types.js.map +1 -0
  124. package/dist/character-titles/character-titles.d.ts +12 -0
  125. package/dist/character-titles/character-titles.js +3 -0
  126. package/dist/character-titles/character-titles.js.map +1 -0
  127. package/dist/character-titles/types.d.ts +11 -0
  128. package/dist/character-titles/types.js +3 -0
  129. package/dist/character-titles/types.js.map +1 -0
  130. package/dist/chunk-24236PHF.js +25 -0
  131. package/dist/chunk-24236PHF.js.map +1 -0
  132. package/dist/chunk-26JOGQUD.js +11 -0
  133. package/dist/chunk-26JOGQUD.js.map +1 -0
  134. package/dist/chunk-2GRTSQL6.js +37 -0
  135. package/dist/chunk-2GRTSQL6.js.map +1 -0
  136. package/dist/chunk-36KZKLT6.js +25 -0
  137. package/dist/chunk-36KZKLT6.js.map +1 -0
  138. package/dist/chunk-3W2TUGVY.js +30 -0
  139. package/dist/chunk-3W2TUGVY.js.map +1 -0
  140. package/dist/chunk-3ZMQPXO2.js +25 -0
  141. package/dist/chunk-3ZMQPXO2.js.map +1 -0
  142. package/dist/chunk-42VH37MD.js +19 -0
  143. package/dist/chunk-42VH37MD.js.map +1 -0
  144. package/dist/chunk-4ECCICR5.js +13 -0
  145. package/dist/chunk-4ECCICR5.js.map +1 -0
  146. package/dist/chunk-5JEMELDR.js +11 -0
  147. package/dist/chunk-5JEMELDR.js.map +1 -0
  148. package/dist/chunk-6GBFNMK2.js +25 -0
  149. package/dist/chunk-6GBFNMK2.js.map +1 -0
  150. package/dist/chunk-7HVEQCDL.js +19 -0
  151. package/dist/chunk-7HVEQCDL.js.map +1 -0
  152. package/dist/chunk-ALS7FD7K.js +18 -0
  153. package/dist/chunk-ALS7FD7K.js.map +1 -0
  154. package/dist/chunk-CMQTS6M4.js +24 -0
  155. package/dist/chunk-CMQTS6M4.js.map +1 -0
  156. package/dist/chunk-D7O6VYRC.js +11 -0
  157. package/dist/chunk-D7O6VYRC.js.map +1 -0
  158. package/dist/chunk-DEHA3454.js +19 -0
  159. package/dist/chunk-DEHA3454.js.map +1 -0
  160. package/dist/chunk-DGHQJFYZ.js +43 -0
  161. package/dist/chunk-DGHQJFYZ.js.map +1 -0
  162. package/dist/chunk-DHX4ALS7.js +31 -0
  163. package/dist/chunk-DHX4ALS7.js.map +1 -0
  164. package/dist/chunk-EZKCAWKI.js +62 -0
  165. package/dist/chunk-EZKCAWKI.js.map +1 -0
  166. package/dist/chunk-FPLFZJUE.js +13 -0
  167. package/dist/chunk-FPLFZJUE.js.map +1 -0
  168. package/dist/chunk-G775CQBW.js +11 -0
  169. package/dist/chunk-G775CQBW.js.map +1 -0
  170. package/dist/chunk-GBIE4KXG.js +60 -0
  171. package/dist/chunk-GBIE4KXG.js.map +1 -0
  172. package/dist/chunk-GLXKCE6S.js +11 -0
  173. package/dist/chunk-GLXKCE6S.js.map +1 -0
  174. package/dist/chunk-GQWURIOG.js +30 -0
  175. package/dist/chunk-GQWURIOG.js.map +1 -0
  176. package/dist/chunk-GVZPDS6Q.js +49 -0
  177. package/dist/chunk-GVZPDS6Q.js.map +1 -0
  178. package/dist/chunk-HCIV2L64.js +49 -0
  179. package/dist/chunk-HCIV2L64.js.map +1 -0
  180. package/dist/chunk-JAJBQO52.js +11 -0
  181. package/dist/chunk-JAJBQO52.js.map +1 -0
  182. package/dist/chunk-JIJPTSGU.js +11 -0
  183. package/dist/chunk-JIJPTSGU.js.map +1 -0
  184. package/dist/chunk-JMTWNL23.js +11 -0
  185. package/dist/chunk-JMTWNL23.js.map +1 -0
  186. package/dist/chunk-JR5B6CK4.js +30 -0
  187. package/dist/chunk-JR5B6CK4.js.map +1 -0
  188. package/dist/chunk-JZUJDSZ4.js +19 -0
  189. package/dist/chunk-JZUJDSZ4.js.map +1 -0
  190. package/dist/chunk-LE4UHLYZ.js +17 -0
  191. package/dist/chunk-LE4UHLYZ.js.map +1 -0
  192. package/dist/chunk-LTJAQT2G.js +16 -0
  193. package/dist/chunk-LTJAQT2G.js.map +1 -0
  194. package/dist/chunk-LXEXXIEG.js +17 -0
  195. package/dist/chunk-LXEXXIEG.js.map +1 -0
  196. package/dist/chunk-MSX4CUNQ.js +31 -0
  197. package/dist/chunk-MSX4CUNQ.js.map +1 -0
  198. package/dist/chunk-ON72ACOS.js +37 -0
  199. package/dist/chunk-ON72ACOS.js.map +1 -0
  200. package/dist/chunk-OYEA5CMS.js +18 -0
  201. package/dist/chunk-OYEA5CMS.js.map +1 -0
  202. package/dist/chunk-QWKGL6OD.js +55 -0
  203. package/dist/chunk-QWKGL6OD.js.map +1 -0
  204. package/dist/chunk-QYEYBQGO.js +31 -0
  205. package/dist/chunk-QYEYBQGO.js.map +1 -0
  206. package/dist/chunk-RDKBICVU.js +17 -0
  207. package/dist/chunk-RDKBICVU.js.map +1 -0
  208. package/dist/chunk-RGGXKGN5.js +33 -0
  209. package/dist/chunk-RGGXKGN5.js.map +1 -0
  210. package/dist/chunk-RYBCDOQV.js +60 -0
  211. package/dist/chunk-RYBCDOQV.js.map +1 -0
  212. package/dist/chunk-SPTZICRM.js +19 -0
  213. package/dist/chunk-SPTZICRM.js.map +1 -0
  214. package/dist/chunk-U3H47BSV.js +11 -0
  215. package/dist/chunk-U3H47BSV.js.map +1 -0
  216. package/dist/chunk-U4WVCUZN.js +19 -0
  217. package/dist/chunk-U4WVCUZN.js.map +1 -0
  218. package/dist/chunk-ULWUM3DX.js +49 -0
  219. package/dist/chunk-ULWUM3DX.js.map +1 -0
  220. package/dist/chunk-V3MTDINM.js +19 -0
  221. package/dist/chunk-V3MTDINM.js.map +1 -0
  222. package/dist/chunk-VPH2NQRQ.js +30 -0
  223. package/dist/chunk-VPH2NQRQ.js.map +1 -0
  224. package/dist/chunk-VTEJNKYT.js +11 -0
  225. package/dist/chunk-VTEJNKYT.js.map +1 -0
  226. package/dist/chunk-WTFOGQ55.js +60 -0
  227. package/dist/chunk-WTFOGQ55.js.map +1 -0
  228. package/dist/chunk-WZGXR5WG.js +37 -0
  229. package/dist/chunk-WZGXR5WG.js.map +1 -0
  230. package/dist/chunk-X42TYTZZ.js +43 -0
  231. package/dist/chunk-X42TYTZZ.js.map +1 -0
  232. package/dist/chunk-XWV4O5Z4.js +19 -0
  233. package/dist/chunk-XWV4O5Z4.js.map +1 -0
  234. package/dist/chunk-YB62WBDV.js +42 -0
  235. package/dist/chunk-YB62WBDV.js.map +1 -0
  236. package/dist/chunk-YNXUFYX2.js +36 -0
  237. package/dist/chunk-YNXUFYX2.js.map +1 -0
  238. package/dist/chunk-Z6SN5O7U.js +11 -0
  239. package/dist/chunk-Z6SN5O7U.js.map +1 -0
  240. package/dist/connected-realm/connected-realm.d.ts +24 -0
  241. package/dist/connected-realm/connected-realm.js +4 -0
  242. package/dist/connected-realm/connected-realm.js.map +1 -0
  243. package/dist/connected-realm/types.d.ts +111 -0
  244. package/dist/connected-realm/types.js +3 -0
  245. package/dist/connected-realm/types.js.map +1 -0
  246. package/dist/covenant/covenant.d.ts +45 -0
  247. package/dist/covenant/covenant.js +4 -0
  248. package/dist/covenant/covenant.js.map +1 -0
  249. package/dist/covenant/types.d.ts +119 -0
  250. package/dist/covenant/types.js +3 -0
  251. package/dist/covenant/types.js.map +1 -0
  252. package/dist/creature/creature.d.ts +52 -0
  253. package/dist/creature/creature.js +4 -0
  254. package/dist/creature/creature.js.map +1 -0
  255. package/dist/creature/types.d.ts +107 -0
  256. package/dist/creature/types.js +3 -0
  257. package/dist/creature/types.js.map +1 -0
  258. package/dist/guild/guild.d.ts +30 -0
  259. package/dist/guild/guild.js +3 -0
  260. package/dist/guild/guild.js.map +1 -0
  261. package/dist/guild/types.d.ts +100 -0
  262. package/dist/guild/types.js +3 -0
  263. package/dist/guild/types.js.map +1 -0
  264. package/dist/guild-crest/guild-crest.d.ts +23 -0
  265. package/dist/guild-crest/guild-crest.js +4 -0
  266. package/dist/guild-crest/guild-crest.js.map +1 -0
  267. package/dist/guild-crest/types.d.ts +47 -0
  268. package/dist/guild-crest/types.js +3 -0
  269. package/dist/guild-crest/types.js.map +1 -0
  270. package/dist/heirloom/heirloom.d.ts +17 -0
  271. package/dist/heirloom/heirloom.js +4 -0
  272. package/dist/heirloom/heirloom.js.map +1 -0
  273. package/dist/heirloom/types.d.ts +87 -0
  274. package/dist/heirloom/types.js +3 -0
  275. package/dist/heirloom/types.js.map +1 -0
  276. package/dist/index.d.ts +113 -4415
  277. package/dist/index.js +111 -1249
  278. package/dist/index.js.map +1 -1
  279. package/dist/item/item.d.ts +53 -0
  280. package/dist/item/item.js +4 -0
  281. package/dist/item/item.js.map +1 -0
  282. package/dist/item/types.d.ts +244 -0
  283. package/dist/item/types.js +3 -0
  284. package/dist/item/types.js.map +1 -0
  285. package/dist/journal/journal.d.ts +51 -0
  286. package/dist/journal/journal.js +4 -0
  287. package/dist/journal/journal.js.map +1 -0
  288. package/dist/journal/types.d.ts +160 -0
  289. package/dist/journal/types.js +3 -0
  290. package/dist/journal/types.js.map +1 -0
  291. package/dist/media-search/media-search.d.ts +12 -0
  292. package/dist/media-search/media-search.js +4 -0
  293. package/dist/media-search/media-search.js.map +1 -0
  294. package/dist/media-search/types.d.ts +29 -0
  295. package/dist/media-search/types.js +3 -0
  296. package/dist/media-search/types.js.map +1 -0
  297. package/dist/modified-crafting/modified-crafting.d.ts +33 -0
  298. package/dist/modified-crafting/modified-crafting.js +4 -0
  299. package/dist/modified-crafting/modified-crafting.js.map +1 -0
  300. package/dist/modified-crafting/types.d.ts +49 -0
  301. package/dist/modified-crafting/types.js +3 -0
  302. package/dist/modified-crafting/types.js.map +1 -0
  303. package/dist/mount/mount.d.ts +23 -0
  304. package/dist/mount/mount.js +4 -0
  305. package/dist/mount/mount.js.map +1 -0
  306. package/dist/mount/types.d.ts +62 -0
  307. package/dist/mount/types.js +3 -0
  308. package/dist/mount/types.js.map +1 -0
  309. package/dist/mythic-keystone-affix/mythic-keystone-affix.d.ts +23 -0
  310. package/dist/mythic-keystone-affix/mythic-keystone-affix.js +4 -0
  311. package/dist/mythic-keystone-affix/mythic-keystone-affix.js.map +1 -0
  312. package/dist/mythic-keystone-affix/types.d.ts +30 -0
  313. package/dist/mythic-keystone-affix/types.js +3 -0
  314. package/dist/mythic-keystone-affix/types.js.map +1 -0
  315. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.d.ts +44 -0
  316. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js +4 -0
  317. package/dist/mythic-keystone-dungeon/mythic-keystone-dungeon.js.map +1 -0
  318. package/dist/mythic-keystone-dungeon/types.d.ts +80 -0
  319. package/dist/mythic-keystone-dungeon/types.js +3 -0
  320. package/dist/mythic-keystone-dungeon/types.js.map +1 -0
  321. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.d.ts +20 -0
  322. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js +4 -0
  323. package/dist/mythic-keystone-leaderboard/mythic-keystone-leaderboard.js.map +1 -0
  324. package/dist/mythic-keystone-leaderboard/types.d.ts +61 -0
  325. package/dist/mythic-keystone-leaderboard/types.js +3 -0
  326. package/dist/mythic-keystone-leaderboard/types.js.map +1 -0
  327. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.d.ts +13 -0
  328. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js +4 -0
  329. package/dist/mythic-raid-leaderboard/mythic-raid-leaderboard.js.map +1 -0
  330. package/dist/mythic-raid-leaderboard/types.d.ts +36 -0
  331. package/dist/mythic-raid-leaderboard/types.js +3 -0
  332. package/dist/mythic-raid-leaderboard/types.js.map +1 -0
  333. package/dist/pet/pet.d.ts +40 -0
  334. package/dist/pet/pet.js +4 -0
  335. package/dist/pet/pet.js.map +1 -0
  336. package/dist/pet/types.d.ts +78 -0
  337. package/dist/pet/types.js +3 -0
  338. package/dist/pet/types.js.map +1 -0
  339. package/dist/playable-class/playable-class.d.ts +29 -0
  340. package/dist/playable-class/playable-class.js +4 -0
  341. package/dist/playable-class/playable-class.js.map +1 -0
  342. package/dist/playable-class/types.d.ts +47 -0
  343. package/dist/playable-class/types.js +3 -0
  344. package/dist/playable-class/types.js.map +1 -0
  345. package/dist/playable-race/playable-race.d.ts +17 -0
  346. package/dist/playable-race/playable-race.js +4 -0
  347. package/dist/playable-race/playable-race.js.map +1 -0
  348. package/dist/playable-race/types.d.ts +22 -0
  349. package/dist/playable-race/types.js +3 -0
  350. package/dist/playable-race/types.js.map +1 -0
  351. package/dist/playable-specialization/playable-specialization.d.ts +23 -0
  352. package/dist/playable-specialization/playable-specialization.js +4 -0
  353. package/dist/playable-specialization/playable-specialization.js.map +1 -0
  354. package/dist/playable-specialization/types.d.ts +55 -0
  355. package/dist/playable-specialization/types.js +3 -0
  356. package/dist/playable-specialization/types.js.map +1 -0
  357. package/dist/power-type/power-type.d.ts +17 -0
  358. package/dist/power-type/power-type.js +4 -0
  359. package/dist/power-type/power-type.js.map +1 -0
  360. package/dist/power-type/types.d.ts +17 -0
  361. package/dist/power-type/types.js +3 -0
  362. package/dist/power-type/types.js.map +1 -0
  363. package/dist/profession/profession.d.ts +42 -0
  364. package/dist/profession/profession.js +4 -0
  365. package/dist/profession/profession.js.map +1 -0
  366. package/dist/profession/types.d.ts +74 -0
  367. package/dist/profession/types.js +3 -0
  368. package/dist/profession/types.js.map +1 -0
  369. package/dist/pvp-season/pvp-season.d.ts +36 -0
  370. package/dist/pvp-season/pvp-season.js +4 -0
  371. package/dist/pvp-season/pvp-season.js.map +1 -0
  372. package/dist/pvp-season/types.d.ts +89 -0
  373. package/dist/pvp-season/types.js +3 -0
  374. package/dist/pvp-season/types.js.map +1 -0
  375. package/dist/pvp-tier/pvp-tier.d.ts +23 -0
  376. package/dist/pvp-tier/pvp-tier.js +4 -0
  377. package/dist/pvp-tier/pvp-tier.js.map +1 -0
  378. package/dist/pvp-tier/types.d.ts +37 -0
  379. package/dist/pvp-tier/types.js +3 -0
  380. package/dist/pvp-tier/types.js.map +1 -0
  381. package/dist/quest/quest.d.ts +50 -0
  382. package/dist/quest/quest.js +4 -0
  383. package/dist/quest/quest.js.map +1 -0
  384. package/dist/quest/types.d.ts +102 -0
  385. package/dist/quest/types.js +3 -0
  386. package/dist/quest/types.js.map +1 -0
  387. package/dist/realm/realm.d.ts +23 -0
  388. package/dist/realm/realm.js +4 -0
  389. package/dist/realm/realm.js.map +1 -0
  390. package/dist/realm/types.d.ts +81 -0
  391. package/dist/realm/types.js +3 -0
  392. package/dist/realm/types.js.map +1 -0
  393. package/dist/region/region.d.ts +17 -0
  394. package/dist/region/region.js +4 -0
  395. package/dist/region/region.js.map +1 -0
  396. package/dist/region/types.d.ts +21 -0
  397. package/dist/region/types.js +3 -0
  398. package/dist/region/types.js.map +1 -0
  399. package/dist/reputations/reputations.d.ts +28 -0
  400. package/dist/reputations/reputations.js +4 -0
  401. package/dist/reputations/reputations.js.map +1 -0
  402. package/dist/reputations/types.d.ts +51 -0
  403. package/dist/reputations/types.js +3 -0
  404. package/dist/reputations/types.js.map +1 -0
  405. package/dist/spell/spell.d.ts +24 -0
  406. package/dist/spell/spell.js +4 -0
  407. package/dist/spell/spell.js.map +1 -0
  408. package/dist/spell/types.d.ts +47 -0
  409. package/dist/spell/types.js +3 -0
  410. package/dist/spell/types.js.map +1 -0
  411. package/dist/talent/talent.d.ts +46 -0
  412. package/dist/talent/talent.js +4 -0
  413. package/dist/talent/talent.js.map +1 -0
  414. package/dist/talent/types.d.ts +161 -0
  415. package/dist/talent/types.js +3 -0
  416. package/dist/talent/types.js.map +1 -0
  417. package/dist/tech-talent/tech-talent.d.ts +34 -0
  418. package/dist/tech-talent/tech-talent.js +4 -0
  419. package/dist/tech-talent/tech-talent.js.map +1 -0
  420. package/dist/tech-talent/types.d.ts +52 -0
  421. package/dist/tech-talent/types.js +3 -0
  422. package/dist/tech-talent/types.js.map +1 -0
  423. package/dist/title/title.d.ts +17 -0
  424. package/dist/title/title.js +4 -0
  425. package/dist/title/title.js.map +1 -0
  426. package/dist/title/types.d.ts +18 -0
  427. package/dist/title/types.js +3 -0
  428. package/dist/title/types.js.map +1 -0
  429. package/dist/toy/toy.d.ts +17 -0
  430. package/dist/toy/toy.js +4 -0
  431. package/dist/toy/toy.js.map +1 -0
  432. package/dist/toy/types.d.ts +29 -0
  433. package/dist/toy/types.js +3 -0
  434. package/dist/toy/types.js.map +1 -0
  435. package/dist/wow-token/types.d.ts +12 -0
  436. package/dist/wow-token/types.js +3 -0
  437. package/dist/wow-token/types.js.map +1 -0
  438. package/dist/wow-token/wow-token.d.ts +11 -0
  439. package/dist/wow-token/wow-token.js +4 -0
  440. package/dist/wow-token/wow-token.js.map +1 -0
  441. package/package.json +14 -5
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/account-profile/account-profile.ts"],"names":[],"mappings":";AAYA,IAAM,kBAAqB,GAAA,mBAAA,CAAA;AAOpB,SAAS,wBAAwB,KAAmE,EAAA;AACzG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,YAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,kCACd,KAC8D,EAAA;AAC9D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,sBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,+BACd,KAC2D,EAAA;AAC3D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,mBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,6BAA6B,KAAwE,EAAA;AACnH,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,iBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,sBAAsB,KAAiE,EAAA;AACrG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,6BAA6B,KAAwE,EAAA;AACnH,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,iBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,kCACd,KAC8D,EAAA;AAC9D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,sBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AASO,SAAS,gCAAA,CACd,OACA,EAAA,WAAA,EACA,KAC6D,EAAA;AAC7D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAAG,EAAA,kBAAkB,CAAwB,qBAAA,EAAA,OAAO,IAAI,WAAW,CAAA,CAAA;AAAA,IACzE,KAAA;AAAA,GACF,CAAA;AACF","file":"chunk-EZKCAWKI.js","sourcesContent":["import type { ProtectedResource } from '@blizzard-api/core';\r\nimport type {\r\n AccountCollectionsIndexResponse,\r\n AccountHeirloomsCollectionSummaryResponse,\r\n AccountMountsCollectionSummaryResponse,\r\n AccountPetsCollectionSummaryResponse,\r\n AccountProfileSummaryResponse,\r\n AccountToysCollectionSummaryResponse,\r\n AccountTransmogsCollectionSummaryResponse,\r\n ProtectedCharacterProfileSummaryResponse,\r\n} from './types';\r\n\r\nconst accountProfileBase = '/profile/user/wow';\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns an index of collection types for an account.\r\n */\r\nexport function accountCollectionsIndex(token: string): ProtectedResource<AccountCollectionsIndexResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the heirlooms an account has obtained.\r\n */\r\nexport function accountHeirloomsCollectionSummary(\r\n token: string,\r\n): ProtectedResource<AccountHeirloomsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/heirlooms`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the mounts an account has obtained.\r\n */\r\nexport function accountMountsCollectionSummary(\r\n token: string,\r\n): ProtectedResource<AccountMountsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/mounts`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the battle pets an account has obtained.\r\n */\r\nexport function accountPetsCollectionSummary(token: string): ProtectedResource<AccountPetsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/pets`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a profile summary for an account.\r\n */\r\nexport function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the toys an account has obtained.\r\n */\r\nexport function accountToysCollectionSummary(token: string): ProtectedResource<AccountToysCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/toys`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the transmog unlocks an account has obtained.\r\n */\r\nexport function accountTransmogsCollectionSummary(\r\n token: string,\r\n): ProtectedResource<AccountTransmogsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/transmogs`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\n * 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}\r\n * @param realmId The realm ID.\r\n * @param characterId The character ID.\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a protected profile summary for a character.\r\n */\r\nexport function protectedCharacterProfileSummary(\r\n realmId: number,\r\n characterId: number,\r\n token: string,\r\n): ProtectedResource<ProtectedCharacterProfileSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,\r\n token,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,13 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/mythic-raid-leaderboard/mythic-raid-leaderboard.ts
4
+ function mythicRaidLeaderboard(raid, faction) {
5
+ return {
6
+ namespace: "dynamic",
7
+ path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`
8
+ };
9
+ }
10
+
11
+ export { mythicRaidLeaderboard };
12
+ //# sourceMappingURL=chunk-FPLFZJUE.js.map
13
+ //# sourceMappingURL=chunk-FPLFZJUE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/mythic-raid-leaderboard/mythic-raid-leaderboard.ts"],"names":[],"mappings":";;;AAWO,SAAS,qBAAA,CACd,MACA,OACyC,EAAA;AACzC,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAAG,EAAA,IAAI,CAA6B,0BAAA,EAAA,IAAI,IAAI,OAAO,CAAA,CAAA;AAAA,GAC3D,CAAA;AACF","file":"chunk-FPLFZJUE.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { Factions } from '../base';\nimport { base } from '../base';\nimport type { MythicRaidLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Raid leaderboard by raid and faction.\n * @param raid The slug of the raid.\n * @param faction The faction. Either 'alliance' or 'horde'.\n * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.\n */\nexport function mythicRaidLeaderboard(\n raid: string,\n faction: Lowercase<keyof typeof Factions>,\n): Resource<MythicRaidLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,\n };\n}\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-statistics/character-statistics.ts
2
+ function characterStatisticsSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`
6
+ };
7
+ }
8
+
9
+ export { characterStatisticsSummary };
10
+ //# sourceMappingURL=chunk-G775CQBW.js.map
11
+ //# sourceMappingURL=chunk-G775CQBW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-statistics/character-statistics.ts"],"names":[],"mappings":";AAQO,SAAS,0BAAA,CACd,WACA,aAC8C,EAAA;AAC9C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,uBAAA,EAA0B,SAAS,CAAA,CAAA,EAAI,aAAa,CAAA,WAAA,CAAA;AAAA,GAC5D,CAAA;AACF","file":"chunk-G775CQBW.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterStatisticsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a statistics summary for a character.\r\n */\r\nexport function characterStatisticsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterStatisticsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,60 @@
1
+ import { base, mediaBase, searchBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/creature/creature.ts
4
+ function creature(creatureId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/creature/${creatureId}`
8
+ };
9
+ }
10
+ function creatureDisplayMedia(creatureDisplayId) {
11
+ return {
12
+ namespace: "static",
13
+ path: `${mediaBase}/creature-display/${creatureDisplayId}`
14
+ };
15
+ }
16
+ function creatureFamily(creatureFamilyId) {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/creature-family/${creatureFamilyId}`
20
+ };
21
+ }
22
+ function creatureFamilyIndex() {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/creature-family/index`
26
+ };
27
+ }
28
+ function creatureFamilyMedia(creatureFamilyId) {
29
+ return {
30
+ namespace: "static",
31
+ path: `${mediaBase}/creature-family/${creatureFamilyId}`
32
+ };
33
+ }
34
+ function creatureSearch(options) {
35
+ return {
36
+ namespace: "static",
37
+ parameters: {
38
+ _page: options._page,
39
+ [`name.${options.locale}`]: options.name,
40
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
41
+ },
42
+ path: `${searchBase}/creature`
43
+ };
44
+ }
45
+ function creatureType(creatureTypeId) {
46
+ return {
47
+ namespace: "static",
48
+ path: `${base}/creature-type/${creatureTypeId}`
49
+ };
50
+ }
51
+ function creatureTypeIndex() {
52
+ return {
53
+ namespace: "static",
54
+ path: `${base}/creature-type/index`
55
+ };
56
+ }
57
+
58
+ export { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex };
59
+ //# sourceMappingURL=chunk-GBIE4KXG.js.map
60
+ //# sourceMappingURL=chunk-GBIE4KXG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/creature/creature.ts"],"names":[],"mappings":";;;AAmBO,SAAS,SAAS,UAAgD,EAAA;AACvE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,UAAA,EAAa,UAAU,CAAA,CAAA;AAAA,GACtC,CAAA;AACF,CAAA;AAMO,SAAS,qBAAqB,iBAAmE,EAAA;AACtG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,SAAS,CAAA,kBAAA,EAAqB,iBAAiB,CAAA,CAAA;AAAA,GAC1D,CAAA;AACF,CAAA;AAMO,SAAS,eAAe,gBAA4D,EAAA;AACzF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,iBAAA,EAAoB,gBAAgB,CAAA,CAAA;AAAA,GACnD,CAAA;AACF,CAAA;AAKO,SAAS,mBAA6D,GAAA;AAC3E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,sBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,oBAAoB,gBAAiE,EAAA;AACnG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,SAAS,CAAA,iBAAA,EAAoB,gBAAgB,CAAA,CAAA;AAAA,GACxD,CAAA;AACF,CAAA;AAMO,SAAS,eACd,OACyG,EAAA;AACzG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,UAAY,EAAA;AAAA,MACV,OAAO,OAAQ,CAAA,KAAA;AAAA,MACf,CAAC,CAAQ,KAAA,EAAA,OAAA,CAAQ,MAAM,CAAA,CAAE,GAAG,OAAQ,CAAA,IAAA;AAAA,MACpC,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,OAAQ,CAAA,OAAO,CAAI,GAAA,OAAA,CAAQ,OAAQ,CAAA,IAAA,CAAK,GAAG,CAAA,GAAI,OAAQ,CAAA,OAAA;AAAA,KAChF;AAAA,IACA,IAAA,EAAM,GAAG,UAAU,CAAA,SAAA,CAAA;AAAA,GACrB,CAAA;AACF,CAAA;AAMO,SAAS,aAAa,cAAwD,EAAA;AACnF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,eAAA,EAAkB,cAAc,CAAA,CAAA;AAAA,GAC/C,CAAA;AACF,CAAA;AAKO,SAAS,iBAAyD,GAAA;AACvE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,oBAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-GBIE4KXG.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n CreatureDisplayMediaResponse,\n CreatureFamilyIndexResponse,\n CreatureFamilyMediaResponse,\n CreatureFamilyResponse,\n CreatureResponse,\n CreatureSearchParameters,\n CreatureSearchResponseItem,\n CreatureTypeIndexResponse,\n CreatureTypeResponse,\n} from './types';\n\n/**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\nexport function creature(creatureId: number): Resource<CreatureResponse> {\n return {\n namespace: 'static',\n path: `${base}/creature/${creatureId}`,\n };\n}\n/**\n * Get creature display media by ID.\n * @param creatureDisplayId The creature display ID.\n * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.\n */\nexport function creatureDisplayMedia(creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/creature-display/${creatureDisplayId}`,\n };\n}\n/**\n * Get a creature family by ID.\n * @param creatureFamilyId The creature family ID.\n * @returns The creature family. See {@link CreatureFamilyResponse}.\n */\nexport function creatureFamily(creatureFamilyId: number): Resource<CreatureFamilyResponse> {\n return {\n namespace: 'static',\n path: `${base}/creature-family/${creatureFamilyId}`,\n };\n}\n/**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\nexport function creatureFamilyIndex(): Resource<CreatureFamilyIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/creature-family/index`,\n };\n}\n/**\n * Get creature family media by ID.\n * @param creatureFamilyId The creature family ID.\n * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.\n */\nexport function creatureFamilyMedia(creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/creature-family/${creatureFamilyId}`,\n };\n}\n/**\n * Search for creatures.\n * @param options The creature search parameters. See {@link CreatureSearchParameters}.\n * @returns The creature search results. See {@link SearchResponse} & {@link CreatureSearchResponseItem}.\n */\nexport function creatureSearch(\n options: CreatureSearchParameters,\n): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${searchBase}/creature`,\n };\n}\n/**\n * Get a creature type by ID.\n * @param creatureTypeId The creature type ID.\n * @returns The creature type. See {@link CreatureTypeResponse}.\n */\nexport function creatureType(creatureTypeId: number): Resource<CreatureTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/creature-type/${creatureTypeId}`,\n };\n}\n/**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\nexport function creatureTypeIndex(): Resource<CreatureTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/creature-type/index`,\n };\n}\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-professions/character-professions.ts
2
+ function characterProfessionsSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`
6
+ };
7
+ }
8
+
9
+ export { characterProfessionsSummary };
10
+ //# sourceMappingURL=chunk-GLXKCE6S.js.map
11
+ //# sourceMappingURL=chunk-GLXKCE6S.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-professions/character-professions.ts"],"names":[],"mappings":";AAQO,SAAS,2BAAA,CACd,WACA,aAC+C,EAAA;AAC/C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAA0B,uBAAA,EAAA,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,aAAa,CAAA,YAAA,CAAA;AAAA,GAC1E,CAAA;AACF","file":"chunk-GLXKCE6S.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterProfessionsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the professions for a character.\r\n */\r\nexport function characterProfessionsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterProfessionsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,30 @@
1
+ import { base, searchBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/realm/realm.ts
4
+ function realm(realmSlug) {
5
+ return {
6
+ namespace: "dynamic",
7
+ path: `${base}/realm/${realmSlug}`
8
+ };
9
+ }
10
+ function realmIndex() {
11
+ return {
12
+ namespace: "dynamic",
13
+ path: `${base}/realm/index`
14
+ };
15
+ }
16
+ function realmSearch(options) {
17
+ return {
18
+ namespace: "dynamic",
19
+ parameters: {
20
+ _page: options._page,
21
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
22
+ timezone: options.timezone
23
+ },
24
+ path: `${searchBase}/realm`
25
+ };
26
+ }
27
+
28
+ export { realm, realmIndex, realmSearch };
29
+ //# sourceMappingURL=chunk-GQWURIOG.js.map
30
+ //# sourceMappingURL=chunk-GQWURIOG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/realm/realm.ts"],"names":[],"mappings":";;;AASO,SAAS,MAAM,SAA4C,EAAA;AAChE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,OAAA,EAAU,SAAS,CAAA,CAAA;AAAA,GAClC,CAAA;AACF,CAAA;AAKO,SAAS,UAA2C,GAAA;AACzD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,YAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,YACd,OAC0E,EAAA;AAC1E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,UAAY,EAAA;AAAA,MACV,OAAO,OAAQ,CAAA,KAAA;AAAA,MACf,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,OAAQ,CAAA,OAAO,CAAI,GAAA,OAAA,CAAQ,OAAQ,CAAA,IAAA,CAAK,GAAG,CAAA,GAAI,OAAQ,CAAA,OAAA;AAAA,MAC9E,UAAU,OAAQ,CAAA,QAAA;AAAA,KACpB;AAAA,IACA,IAAA,EAAM,GAAG,UAAU,CAAA,MAAA,CAAA;AAAA,GACrB,CAAA;AACF","file":"chunk-GQWURIOG.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, searchBase } from '../base';\nimport type { RealmIndexResponse, RealmResponse, RealmSearchParameters, RealmSearchResponseItem } from './types';\n\n/**\n * Get a realm by slug.\n * @param realmSlug The realm slug.\n * @returns The realm. See {@link RealmResponse}.\n */\nexport function realm(realmSlug: string): Resource<RealmResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/realm/${realmSlug}`,\n };\n}\n/**\n * Get a realm index.\n * @returns The realm index. See {@link RealmIndexResponse}.\n */\nexport function realmIndex(): Resource<RealmIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/realm/index`,\n };\n}\n/**\n * Search for realms.\n * @param options The search parameters. See {@link RealmSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function realmSearch(\n options: RealmSearchParameters,\n): Resource<SearchResponse<RealmSearchResponseItem>, RealmSearchParameters> {\n return {\n namespace: 'dynamic',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n timezone: options.timezone,\n },\n path: `${searchBase}/realm`,\n };\n}\n"]}
@@ -0,0 +1,49 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/mythic-keystone-dungeon/mythic-keystone-dungeon.ts
4
+ function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
5
+ return {
6
+ namespace: "dynamic",
7
+ path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`
8
+ };
9
+ }
10
+ function mythicKeystoneDungeonIndex() {
11
+ return {
12
+ namespace: "dynamic",
13
+ path: `${base}/mythic-keystone/dungeon/index`
14
+ };
15
+ }
16
+ function mythicKeystoneIndex() {
17
+ return {
18
+ namespace: "dynamic",
19
+ path: `${base}/mythic-keystone/index`
20
+ };
21
+ }
22
+ function mythicKeystonePeriod(mythicKeystonePeriodId) {
23
+ return {
24
+ namespace: "dynamic",
25
+ path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`
26
+ };
27
+ }
28
+ function mythicKeystonePeriodIndex() {
29
+ return {
30
+ namespace: "dynamic",
31
+ path: `${base}/mythic-keystone/period/index`
32
+ };
33
+ }
34
+ function mythicKeystoneSeason(mythicKeystoneSeasonId) {
35
+ return {
36
+ namespace: "dynamic",
37
+ path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`
38
+ };
39
+ }
40
+ function mythicKeystoneSeasonIndex() {
41
+ return {
42
+ namespace: "dynamic",
43
+ path: `${base}/mythic-keystone/season/index`
44
+ };
45
+ }
46
+
47
+ export { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex };
48
+ //# sourceMappingURL=chunk-GVZPDS6Q.js.map
49
+ //# sourceMappingURL=chunk-GVZPDS6Q.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/mythic-keystone-dungeon/mythic-keystone-dungeon.ts"],"names":[],"mappings":";;;AAiBO,SAAS,sBAAsB,uBAA0E,EAAA;AAC9G,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,yBAAA,EAA4B,uBAAuB,CAAA,CAAA;AAAA,GAClE,CAAA;AACF,CAAA;AAKO,SAAS,0BAA2E,GAAA;AACzF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,8BAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAKO,SAAS,mBAA6D,GAAA;AAC3E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,sBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,qBAAqB,sBAAwE,EAAA;AAC3G,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,wBAAA,EAA2B,sBAAsB,CAAA,CAAA;AAAA,GAChE,CAAA;AACF,CAAA;AAKO,SAAS,yBAAyE,GAAA;AACvF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,6BAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,qBAAqB,sBAAwE,EAAA;AAC3G,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,wBAAA,EAA2B,sBAAsB,CAAA,CAAA;AAAA,GAChE,CAAA;AACF,CAAA;AAKO,SAAS,yBAAyE,GAAA;AACvF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,6BAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-GVZPDS6Q.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n MythicKeystoneDungeonIndexResponse,\n MythicKeystoneDungeonResponse,\n MythicKeystoneIndexResponse,\n MythicKeystonePeriodIndexResponse,\n MythicKeystonePeriodResponse,\n MythicKeystoneSeasonIndexResponse,\n MythicKeystoneSeasonResponse,\n} from './types';\n\n/**\n * Get a Mythic Keystone dungeon by ID.\n * @param mythicKeystoneDungeonId The Mythic Keystone dungeon ID.\n * @returns The Mythic Keystone dungeon. See {@link MythicKeystoneDungeonResponse}.\n */\nexport function mythicKeystoneDungeon(mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,\n };\n}\n/**\n * Get a Mythic Keystone dungeon index.\n * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.\n */\nexport function mythicKeystoneDungeonIndex(): Resource<MythicKeystoneDungeonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/dungeon/index`,\n };\n}\n/**\n * Get a Mythic Keystone index.\n * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.\n */\nexport function mythicKeystoneIndex(): Resource<MythicKeystoneIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/index`,\n };\n}\n/**\n * Get a Mythic Keystone period by ID.\n * @param mythicKeystonePeriodId The Mythic Keystone period ID.\n * @returns The Mythic Keystone period. See {@link MythicKeystonePeriodResponse}.\n */\nexport function mythicKeystonePeriod(mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,\n };\n}\n/**\n * Get a Mythic Keystone period index.\n * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.\n */\nexport function mythicKeystonePeriodIndex(): Resource<MythicKeystonePeriodIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/period/index`,\n };\n}\n/**\n * Get a Mythic Keystone season by ID.\n * @param mythicKeystoneSeasonId The Mythic Keystone season ID.\n * @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.\n */\nexport function mythicKeystoneSeason(mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,\n };\n}\n/**\n * Get a Mythic Keystone season index.\n * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.\n */\nexport function mythicKeystoneSeasonIndex(): Resource<MythicKeystoneSeasonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/season/index`,\n };\n}\n"]}
@@ -0,0 +1,49 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/talent/talent.ts
4
+ function pvpTalent(pvpTalentId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/pvp-talent/${pvpTalentId}`
8
+ };
9
+ }
10
+ function pvpTalentIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/pvp-talent/index`
14
+ };
15
+ }
16
+ function talent(talentId) {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/talent/${talentId}`
20
+ };
21
+ }
22
+ function talentIndex() {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/talent/index`
26
+ };
27
+ }
28
+ function talentTree(talentTreeId, specId) {
29
+ return {
30
+ namespace: "static",
31
+ path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`
32
+ };
33
+ }
34
+ function talentTreeIndex() {
35
+ return {
36
+ namespace: "static",
37
+ path: `${base}/talent-tree/index`
38
+ };
39
+ }
40
+ function talentTreeNodes(talentTreeId) {
41
+ return {
42
+ namespace: "static",
43
+ path: `${base}/talent-tree/${talentTreeId}`
44
+ };
45
+ }
46
+
47
+ export { pvpTalent, pvpTalentIndex, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes };
48
+ //# sourceMappingURL=chunk-HCIV2L64.js.map
49
+ //# sourceMappingURL=chunk-HCIV2L64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/talent/talent.ts"],"names":[],"mappings":";;;AAiBO,SAAS,UAAU,WAAkD,EAAA;AAC1E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,YAAA,EAAe,WAAW,CAAA,CAAA;AAAA,GACzC,CAAA;AACF,CAAA;AAKO,SAAS,cAAmD,GAAA;AACjE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,iBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,OAAO,QAA4C,EAAA;AACjE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,QAAA,EAAW,QAAQ,CAAA,CAAA;AAAA,GAClC,CAAA;AACF,CAAA;AAKO,SAAS,WAA6C,GAAA;AAC3D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,aAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAOO,SAAS,UAAA,CAAW,cAAsB,MAA8C,EAAA;AAC7F,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,MAAM,CAAG,EAAA,IAAI,CAAgB,aAAA,EAAA,YAAY,4BAA4B,MAAM,CAAA,CAAA;AAAA,GAC7E,CAAA;AACF,CAAA;AAKO,SAAS,eAAqD,GAAA;AACnE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,kBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,gBAAgB,YAAyD,EAAA;AACvF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,aAAA,EAAgB,YAAY,CAAA,CAAA;AAAA,GAC3C,CAAA;AACF","file":"chunk-HCIV2L64.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n PvpTalentIndexResponse,\n PvpTalentResponse,\n TalentIndexResponse,\n TalentResponse,\n TalentTreeIndexResponse,\n TalentTreeNodesResponse,\n TalentTreeResponse,\n} from './types';\n\n/**\n * Get a PvP talent by ID.\n * @param pvpTalentId The PvP talent ID.\n * @returns The PvP talent. See {@link PvpTalentResponse}.\n */\nexport function pvpTalent(pvpTalentId: number): Resource<PvpTalentResponse> {\n return {\n namespace: 'static',\n path: `${base}/pvp-talent/${pvpTalentId}`,\n };\n}\n/**\n * Get a PvP talent index.\n * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.\n */\nexport function pvpTalentIndex(): Resource<PvpTalentIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pvp-talent/index`,\n };\n}\n/**\n * Get a talent by ID.\n * @param talentId The talent ID.\n * @returns The talent. See {@link TalentResponse}.\n */\nexport function talent(talentId: number): Resource<TalentResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent/${talentId}`,\n };\n}\n/**\n * Get a talent index.\n * @returns The talent index. See {@link TalentIndexResponse}.\n */\nexport function talentIndex(): Resource<TalentIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent/index`,\n };\n}\n/**\n * Get a talent tree by ID.\n * @param talentTreeId The talent tree ID.\n * @param specId The playable specialization ID.\n * @returns The talent tree. See {@link TalentTreeResponse}.\n */\nexport function talentTree(talentTreeId: number, specId: number): Resource<TalentTreeResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,\n };\n}\n/**\n * Get a talent tree index.\n * @returns The talent tree index. See {@link TalentTreeIndexResponse}.\n */\nexport function talentTreeIndex(): Resource<TalentTreeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent-tree/index`,\n };\n}\n/**\n * Get talent tree nodes by talent tree ID.\n * @param talentTreeId The talent tree ID.\n * @returns The talent tree nodes. See {@link TalentTreeNodesResponse}.\n */\nexport function talentTreeNodes(talentTreeId: number): Resource<TalentTreeNodesResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent-tree/${talentTreeId}`,\n };\n}\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-hunter-pets/character-hunter-pets.ts
2
+ function characterHunterPetsSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`
6
+ };
7
+ }
8
+
9
+ export { characterHunterPetsSummary };
10
+ //# sourceMappingURL=chunk-JAJBQO52.js.map
11
+ //# sourceMappingURL=chunk-JAJBQO52.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-hunter-pets/character-hunter-pets.ts"],"names":[],"mappings":";AASO,SAAS,0BAAA,CACd,WACA,aAC8C,EAAA;AAC9C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,uBAAA,EAA0B,SAAS,CAAA,CAAA,EAAI,aAAa,CAAA,YAAA,CAAA;AAAA,GAC5D,CAAA;AACF","file":"chunk-JAJBQO52.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterHunterPetsSummaryResponse } from './types';\r\n\r\n/**\r\n * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the character's hunter pets.\r\n */\r\nexport function characterHunterPetsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterHunterPetsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-specializations/character-specializations.ts
2
+ function characterSpecializationsSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`
6
+ };
7
+ }
8
+
9
+ export { characterSpecializationsSummary };
10
+ //# sourceMappingURL=chunk-JIJPTSGU.js.map
11
+ //# sourceMappingURL=chunk-JIJPTSGU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-specializations/character-specializations.ts"],"names":[],"mappings":";AAQO,SAAS,+BAAA,CACd,WACA,aACmD,EAAA;AACnD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,uBAAA,EAA0B,SAAS,CAAA,CAAA,EAAI,aAAa,CAAA,gBAAA,CAAA;AAAA,GAC5D,CAAA;AACF","file":"chunk-JIJPTSGU.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterSpecializationsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's specializations.\r\n */\r\nexport function characterSpecializationsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterSpecializationsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-equipment/character-equipment.ts
2
+ function characterEquipmentSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`
6
+ };
7
+ }
8
+
9
+ export { characterEquipmentSummary };
10
+ //# sourceMappingURL=chunk-JMTWNL23.js.map
11
+ //# sourceMappingURL=chunk-JMTWNL23.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-equipment/character-equipment.ts"],"names":[],"mappings":";AAQO,SAAS,yBAAA,CACd,WACA,aAC6C,EAAA;AAC7C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAA0B,uBAAA,EAAA,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,aAAa,CAAA,UAAA,CAAA;AAAA,GAC1E,CAAA;AACF","file":"chunk-JMTWNL23.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterEquipmentSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the items equipped by a character.\r\n */\r\nexport function characterEquipmentSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterEquipmentSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,30 @@
1
+ import { base, searchBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/mount/mount.ts
4
+ function mount(mountId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/mount/${mountId}`
8
+ };
9
+ }
10
+ function mountIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/mount/index`
14
+ };
15
+ }
16
+ function mountSearch(options) {
17
+ return {
18
+ namespace: "static",
19
+ parameters: {
20
+ _page: options._page,
21
+ [`name.${options.locale}`]: options.name,
22
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
23
+ },
24
+ path: `${searchBase}/mount`
25
+ };
26
+ }
27
+
28
+ export { mount, mountIndex, mountSearch };
29
+ //# sourceMappingURL=chunk-JR5B6CK4.js.map
30
+ //# sourceMappingURL=chunk-JR5B6CK4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/mount/mount.ts"],"names":[],"mappings":";;;AASO,SAAS,MAAM,OAA0C,EAAA;AAC9D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,OAAA,EAAU,OAAO,CAAA,CAAA;AAAA,GAChC,CAAA;AACF,CAAA;AAKO,SAAS,UAA2C,GAAA;AACzD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,YAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,YACd,OACmG,EAAA;AACnG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,UAAY,EAAA;AAAA,MACV,OAAO,OAAQ,CAAA,KAAA;AAAA,MACf,CAAC,CAAQ,KAAA,EAAA,OAAA,CAAQ,MAAM,CAAA,CAAE,GAAG,OAAQ,CAAA,IAAA;AAAA,MACpC,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,OAAQ,CAAA,OAAO,CAAI,GAAA,OAAA,CAAQ,OAAQ,CAAA,IAAA,CAAK,GAAG,CAAA,GAAI,OAAQ,CAAA,OAAA;AAAA,KAChF;AAAA,IACA,IAAA,EAAM,GAAG,UAAU,CAAA,MAAA,CAAA;AAAA,GACrB,CAAA;AACF","file":"chunk-JR5B6CK4.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, searchBase } from '../base';\nimport type { MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponseItem } from './types';\n\n/**\n * Get a mount by ID.\n * @param mountId The mount ID.\n * @returns The mount. See {@link MountResponse}.\n */\nexport function mount(mountId: number): Resource<MountResponse> {\n return {\n namespace: 'static',\n path: `${base}/mount/${mountId}`,\n };\n}\n/**\n * Get a mount index.\n * @returns The mount index. See {@link MountIndexResponse}.\n */\nexport function mountIndex(): Resource<MountIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/mount/index`,\n };\n}\n/**\n * Get a mount search.\n * @param options The search parameters. See {@link MountSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function mountSearch(\n options: MountSearchParameters,\n): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${searchBase}/mount`,\n };\n}\n"]}
@@ -0,0 +1,19 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/auction-house/auction-house.ts
4
+ function auctions(connectedRealmId) {
5
+ return {
6
+ namespace: "dynamic",
7
+ path: `${base}/connected-realm/${connectedRealmId}/auctions`
8
+ };
9
+ }
10
+ function commodities() {
11
+ return {
12
+ namespace: "dynamic",
13
+ path: `${base}/auctions/commodities`
14
+ };
15
+ }
16
+
17
+ export { auctions, commodities };
18
+ //# sourceMappingURL=chunk-JZUJDSZ4.js.map
19
+ //# sourceMappingURL=chunk-JZUJDSZ4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/auction-house/auction-house.ts"],"names":[],"mappings":";;;AASO,SAAS,SAAS,gBAA0D,EAAA;AACjF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,iBAAA,EAAoB,gBAAgB,CAAA,SAAA,CAAA;AAAA,GACnD,CAAA;AACF,CAAA;AAKO,SAAS,WAAyD,GAAA;AACvE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,qBAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-JZUJDSZ4.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\n/**\n * Get auction house data for a connected realm.\n * @param connectedRealmId The ID of the connected realm.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\nexport function auctions(connectedRealmId: number): Resource<AuctionHouseResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/connected-realm/${connectedRealmId}/auctions`,\n };\n}\n/**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\nexport function commodities(): Resource<AuctionHouseCommoditiesResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/auctions/commodities`,\n };\n}\n"]}
@@ -0,0 +1,17 @@
1
+ // src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts
2
+ function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`
6
+ };
7
+ }
8
+ function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
9
+ return {
10
+ namespace: "profile",
11
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`
12
+ };
13
+ }
14
+
15
+ export { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails };
16
+ //# sourceMappingURL=chunk-LE4UHLYZ.js.map
17
+ //# sourceMappingURL=chunk-LE4UHLYZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts"],"names":[],"mappings":";AAWO,SAAS,mCAAA,CACd,WACA,aACuD,EAAA;AACvD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,uBAAA,EAA0B,SAAS,CAAA,CAAA,EAAI,aAAa,CAAA,wBAAA,CAAA;AAAA,GAC5D,CAAA;AACF,CAAA;AAUO,SAAS,oCAAA,CACd,SACA,EAAA,aAAA,EACA,QACwD,EAAA;AACxD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAA0B,uBAAA,EAAA,SAAS,CAAI,CAAA,EAAA,aAAa,mCAAmC,QAAQ,CAAA,CAAA;AAAA,GACvG,CAAA;AACF","file":"chunk-LE4UHLYZ.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type {\r\n CharacterMythicKeystoneProfileIndexResponse,\r\n CharacterMythicKeystoneSeasonDetailsResponse,\r\n} from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @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.\r\n */\r\nexport function characterMythicKeystoneProfileIndex(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterMythicKeystoneProfileIndexResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`,\r\n };\r\n}\r\n\r\n/**\r\n * Returns the Mythic Keystone season details for a character.\r\n * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @param seasonId The ID of the season.\r\n * @returns the Mythic Keystone season details for a character.\r\n */\r\nexport function characterMythicKeystoneSeasonDetails(\r\n realmSlug: string,\r\n characterName: string,\r\n seasonId: number,\r\n): Resource<CharacterMythicKeystoneSeasonDetailsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,16 @@
1
+ // src/base.ts
2
+ var base = "/data/wow";
3
+ var mediaBase = `${base}/media`;
4
+ var searchBase = `${base}/search`;
5
+ var Genders = {
6
+ FEMALE: "FEMALE",
7
+ MALE: "MALE"
8
+ };
9
+ var Factions = {
10
+ ALLIANCE: "ALLIANCE",
11
+ HORDE: "HORDE"
12
+ };
13
+
14
+ export { Factions, Genders, base, mediaBase, searchBase };
15
+ //# sourceMappingURL=chunk-LTJAQT2G.js.map
16
+ //# sourceMappingURL=chunk-LTJAQT2G.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/base.ts"],"names":[],"mappings":";AASO,IAAM,IAAO,GAAA,YAAA;AAKP,IAAA,SAAA,GAAY,GAAG,IAAI,CAAA,MAAA,EAAA;AAKnB,IAAA,UAAA,GAAa,GAAG,IAAI,CAAA,OAAA,EAAA;AAoE1B,IAAM,OAAU,GAAA;AAAA,EACrB,MAAQ,EAAA,QAAA;AAAA,EACR,IAAM,EAAA,MAAA;AACR,EAAA;AAaO,IAAM,QAAW,GAAA;AAAA,EACtB,QAAU,EAAA,UAAA;AAAA,EACV,KAAO,EAAA,OAAA;AACT","file":"chunk-LTJAQT2G.js","sourcesContent":["/**\r\n * @file base.ts\r\n * @module base\r\n * @description Contains base constants and interfaces for the Blizzard API.\r\n */\r\n\r\n/**\r\n * The base request path for the Blizzard API for world of warcraft.\r\n */\r\nexport const base = '/data/wow';\r\n\r\n/**\r\n * The base request path for media in the Blizzard API for world of warcraft.\r\n */\r\nexport const mediaBase = `${base}/media` as const;\r\n\r\n/**\r\n * The base request path for search in the Blizzard API for world of warcraft.\r\n */\r\nexport const searchBase = `${base}/search` as const;\r\n\r\n/**\r\n *\r\n */\r\n\r\n/**\r\n * A record containing the RGBA values of a color.\r\n */\r\nexport interface Color {\r\n a: number;\r\n b: number;\r\n g: number;\r\n r: number;\r\n}\r\n/**\r\n * The playable gender names/descriptions in World of Warcraft.\r\n */\r\nexport interface GenderName {\r\n female: string;\r\n male: string;\r\n}\r\n\r\nexport interface Href {\r\n href: string;\r\n}\r\n\r\n/**\r\n * Base record interface containing key.href property that often appear in Blizzard API responses.\r\n */\r\nexport interface KeyBase {\r\n key: Href;\r\n}\r\n\r\n/**\r\n * The media asset associated with a character or entity in World of Warcraft.\r\n */\r\nexport interface MediaAsset {\r\n file_data_id: number;\r\n key: string;\r\n value: string;\r\n}\r\n\r\n/**\r\n * Base record interface containing name and id properties that often appear together in Blizzard API responses.\r\n */\r\nexport interface NameId {\r\n id: number;\r\n name: string;\r\n}\r\n\r\n/**\r\n * Base record containing both {@link KeyBase} and {@link NameId} interfaces.\r\n */\r\nexport interface NameIdKey extends KeyBase, NameId {}\r\n\r\n/**\r\n * Base interface for Blizzard API responses.\r\n */\r\nexport interface ResponseBase {\r\n _links: {\r\n self: Href;\r\n };\r\n}\r\n\r\n/**\r\n * The playable genders in World of Warcraft.\r\n */\r\nexport const Genders = {\r\n FEMALE: 'FEMALE',\r\n MALE: 'MALE',\r\n} as const;\r\n\r\n/**\r\n * The gender associated with a character or entity in World of Warcraft.\r\n */\r\nexport interface Gender {\r\n name: Capitalize<Lowercase<keyof typeof Genders>>;\r\n type: keyof typeof Genders;\r\n}\r\n\r\n/**\r\n * The playable factions in World of Warcraft.\r\n */\r\nexport const Factions = {\r\n ALLIANCE: 'ALLIANCE',\r\n HORDE: 'HORDE',\r\n} as const;\r\n\r\n/**\r\n * The standard structure to represent a World of Warcraft Character.\r\n */\r\nexport interface Character extends NameIdKey {\r\n realm: Realm;\r\n}\r\n\r\n/**\r\n * The faction associated with a character or entity in World of Warcraft.\r\n */\r\nexport interface Faction {\r\n name: Capitalize<Lowercase<keyof typeof Factions>>;\r\n type: keyof typeof Factions;\r\n}\r\n\r\n/**\r\n * The standard structure to represent a World of Warcraft Realm.\r\n */\r\nexport interface Realm extends NameIdKey {\r\n slug: string;\r\n}\r\n"]}
@@ -0,0 +1,17 @@
1
+ // src/character-profile/character-profile.ts
2
+ function characterProfileStatus(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`
6
+ };
7
+ }
8
+ function characterProfileSummary(realmSlug, characterName) {
9
+ return {
10
+ namespace: "profile",
11
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`
12
+ };
13
+ }
14
+
15
+ export { characterProfileStatus, characterProfileSummary };
16
+ //# sourceMappingURL=chunk-LXEXXIEG.js.map
17
+ //# sourceMappingURL=chunk-LXEXXIEG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-profile/character-profile.ts"],"names":[],"mappings":";AAmBO,SAAS,sBAAA,CACd,WACA,aAC0C,EAAA;AAC1C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAA0B,uBAAA,EAAA,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,aAAa,CAAA,OAAA,CAAA;AAAA,GAC1E,CAAA;AACF,CAAA;AAQO,SAAS,uBAAA,CACd,WACA,aAC2C,EAAA;AAC3C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAA0B,uBAAA,EAAA,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,aAAa,CAAA,CAAA;AAAA,GAC1E,CAAA;AACF","file":"chunk-LXEXXIEG.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterProfileStatusResponse, CharacterProfileSummaryResponse } from './types';\r\n\r\n/**\r\n * 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:\r\n * - an HTTP 404 Not Found error is returned\r\n * - the is_valid value is false\r\n * - the returned character ID doesn't match the previously recorded value for the character\r\n *\r\n * The following example illustrates how to use this endpoint:\r\n *\r\n * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.\r\n * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.\r\n * 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.\r\n * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns the status of the character profile for a character.\r\n */\r\nexport function characterProfileStatus(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterProfileStatusResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`,\r\n };\r\n}\r\n\r\n/**\r\n * Returns a summary of the character profile for a character.\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the character profile for a character.\r\n */\r\nexport function characterProfileSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterProfileSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,31 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/reputations/reputations.ts
4
+ function reputationFaction(reputationFactionId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/reputation-faction/${reputationFactionId}`
8
+ };
9
+ }
10
+ function reputationFactionIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/reputation-faction/index`
14
+ };
15
+ }
16
+ function reputationTiers(reputationTiersId) {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/reputation-tiers/${reputationTiersId}`
20
+ };
21
+ }
22
+ function reputationTiersIndex() {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/reputation-tiers/index`
26
+ };
27
+ }
28
+
29
+ export { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex };
30
+ //# sourceMappingURL=chunk-MSX4CUNQ.js.map
31
+ //# sourceMappingURL=chunk-MSX4CUNQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/reputations/reputations.ts"],"names":[],"mappings":";;;AAcO,SAAS,kBAAkB,mBAAkE,EAAA;AAClG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,oBAAA,EAAuB,mBAAmB,CAAA,CAAA;AAAA,GACzD,CAAA;AACF,CAAA;AAKO,SAAS,sBAAmE,GAAA;AACjF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,yBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,gBAAgB,iBAA8D,EAAA;AAC5F,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,kBAAA,EAAqB,iBAAiB,CAAA,CAAA;AAAA,GACrD,CAAA;AACF,CAAA;AAKO,SAAS,oBAA+D,GAAA;AAC7E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,uBAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-MSX4CUNQ.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n ReputationFactionIndexResponse,\n ReputationFactionResponse,\n ReputationTiersIndexResponse,\n ReputationTiersResponse,\n} from './types';\n\n/**\n * Get a reputation faction by ID.\n * @param reputationFactionId The reputation faction ID.\n * @returns The reputation faction. See {@link ReputationFactionResponse}.\n */\nexport function reputationFaction(reputationFactionId: number): Resource<ReputationFactionResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-faction/${reputationFactionId}`,\n };\n}\n/**\n * Get a reputation faction index.\n * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.\n */\nexport function reputationFactionIndex(): Resource<ReputationFactionIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-faction/index`,\n };\n}\n/**\n * Get a reputation tier by ID.\n * @param reputationTiersId The reputation tier ID.\n * @returns The reputation tier. See {@link ReputationTiersResponse}.\n */\nexport function reputationTiers(reputationTiersId: number): Resource<ReputationTiersResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-tiers/${reputationTiersId}`,\n };\n}\n/**\n * Get a reputation tier index.\n * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.\n */\nexport function reputationTiersIndex(): Resource<ReputationTiersIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-tiers/index`,\n };\n}\n"]}
@@ -0,0 +1,37 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/modified-crafting/modified-crafting.ts
4
+ function modifiedCraftingCategory(modifiedCraftingCategoryId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`
8
+ };
9
+ }
10
+ function modifiedCraftingCategoryIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/modified-crafting/category/index`
14
+ };
15
+ }
16
+ function modifiedCraftingIndex() {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/modified-crafting/index`
20
+ };
21
+ }
22
+ function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`
26
+ };
27
+ }
28
+ function modifiedCraftingReagentSlotTypeIndex() {
29
+ return {
30
+ namespace: "static",
31
+ path: `${base}/modified-crafting/reagent-slot-type/index`
32
+ };
33
+ }
34
+
35
+ export { modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex };
36
+ //# sourceMappingURL=chunk-ON72ACOS.js.map
37
+ //# sourceMappingURL=chunk-ON72ACOS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/modified-crafting/modified-crafting.ts"],"names":[],"mappings":";;;AAeO,SAAS,yBACd,0BAC4C,EAAA;AAC5C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,4BAAA,EAA+B,0BAA0B,CAAA,CAAA;AAAA,GACxE,CAAA;AACF,CAAA;AAKO,SAAS,6BAAiF,GAAA;AAC/F,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,iCAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAKO,SAAS,qBAAiE,GAAA;AAC/E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,wBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,gCACd,iCACmD,EAAA;AACnD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,qCAAA,EAAwC,iCAAiC,CAAA,CAAA;AAAA,GACxF,CAAA;AACF,CAAA;AAKO,SAAS,oCAA+F,GAAA;AAC7G,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,0CAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-ON72ACOS.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n ModifiedCraftingCategoryIndexResponse,\n ModifiedCraftingCategoryResponse,\n ModifiedCraftingIndexResponse,\n ModifiedCraftingReagentSlotTypeIndexResponse,\n ModifiedCraftingReagentSlotTypeResponse,\n} from './types';\n\n/**\n * Get a modified crafting category by ID.\n * @param modifiedCraftingCategoryId The modified crafting category ID.\n * @returns The modified crafting category. See {@link ModifiedCraftingCategoryResponse}.\n */\nexport function modifiedCraftingCategory(\n modifiedCraftingCategoryId: number,\n): Resource<ModifiedCraftingCategoryResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,\n };\n}\n/**\n * Get a modified crafting category index.\n * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.\n */\nexport function modifiedCraftingCategoryIndex(): Resource<ModifiedCraftingCategoryIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/category/index`,\n };\n}\n/**\n * Get a modified crafting index.\n * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.\n */\nexport function modifiedCraftingIndex(): Resource<ModifiedCraftingIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/index`,\n };\n}\n/**\n * Get a modified crafting reagent slot type by ID.\n * @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID.\n * @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}.\n */\nexport function modifiedCraftingReagentSlotType(\n modifiedCraftingReagentSlotTypeId: number,\n): Resource<ModifiedCraftingReagentSlotTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,\n };\n}\n/**\n * Get a modified crafting reagent slot type index.\n * @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}.\n */\nexport function modifiedCraftingReagentSlotTypeIndex(): Resource<ModifiedCraftingReagentSlotTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/reagent-slot-type/index`,\n };\n}\n"]}
@@ -0,0 +1,18 @@
1
+ // src/character-achievements/character-achievements.ts
2
+ var basePath = "/profile/wow/character";
3
+ function characterAchievementsSummary(realmSlug, characterName) {
4
+ return {
5
+ namespace: "profile",
6
+ path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`
7
+ };
8
+ }
9
+ function characterAchievementStatistics(realmSlug, characterName) {
10
+ return {
11
+ namespace: "profile",
12
+ path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`
13
+ };
14
+ }
15
+
16
+ export { characterAchievementStatistics, characterAchievementsSummary };
17
+ //# sourceMappingURL=chunk-OYEA5CMS.js.map
18
+ //# sourceMappingURL=chunk-OYEA5CMS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-achievements/character-achievements.ts"],"names":[],"mappings":";AAGA,IAAM,QAAW,GAAA,wBAAA,CAAA;AAOV,SAAS,4BAAA,CACd,WACA,aACgD,EAAA;AAChD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,QAAQ,CAAA,CAAA,EAAI,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,aAAa,CAAA,aAAA,CAAA;AAAA,GAC/D,CAAA;AACF,CAAA;AAOO,SAAS,8BAAA,CACd,WACA,aACkD,EAAA;AAClD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,QAAQ,CAAA,CAAA,EAAI,SAAS,CAAI,CAAA,EAAA,aAAA,CAAc,aAAa,CAAA,wBAAA,CAAA;AAAA,GAC/D,CAAA;AACF","file":"chunk-OYEA5CMS.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterAchievementsSummaryResponse, CharacterAchievementStatisticsResponse } from './types';\r\n\r\nconst basePath = '/profile/wow/character';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the achievements a character has completed.\r\n */\r\nexport function characterAchievementsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterAchievementsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a character's statistics as they pertain to achievements.\r\n */\r\nexport function characterAchievementStatistics(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterAchievementStatisticsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`,\r\n };\r\n}\r\n"]}