@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,55 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/quest/quest.ts
4
+ function quest(questId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/quest/${questId}`
8
+ };
9
+ }
10
+ function questArea(questAreaId) {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/quest/area/${questAreaId}`
14
+ };
15
+ }
16
+ function questAreaIndex() {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/quest/area/index`
20
+ };
21
+ }
22
+ function questCategory(questCategoryId) {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/quest/category/${questCategoryId}`
26
+ };
27
+ }
28
+ function questCategoryIndex() {
29
+ return {
30
+ namespace: "static",
31
+ path: `${base}/quest/category/index`
32
+ };
33
+ }
34
+ function questIndex() {
35
+ return {
36
+ namespace: "static",
37
+ path: `${base}/quest/index`
38
+ };
39
+ }
40
+ function questType(questTypeId) {
41
+ return {
42
+ namespace: "static",
43
+ path: `${base}/quest/type/${questTypeId}`
44
+ };
45
+ }
46
+ function questTypeIndex() {
47
+ return {
48
+ namespace: "static",
49
+ path: `${base}/quest/type/index`
50
+ };
51
+ }
52
+
53
+ export { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex };
54
+ //# sourceMappingURL=chunk-QWKGL6OD.js.map
55
+ //# sourceMappingURL=chunk-QWKGL6OD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/quest/quest.ts"],"names":[],"mappings":";;;AAkBO,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;AAMO,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,cAAc,eAA0D,EAAA;AACtF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,gBAAA,EAAmB,eAAe,CAAA,CAAA;AAAA,GACjD,CAAA;AACF,CAAA;AAKO,SAAS,kBAA2D,GAAA;AACzE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,qBAAA,CAAA;AAAA,GACf,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,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","file":"chunk-QWKGL6OD.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n QuestAreaIndexResponse,\n QuestAreaResponse,\n QuestCategoryIndexResponse,\n QuestCategoryResponse,\n QuestIndexResponse,\n QuestResponse,\n QuestTypeIndexResponse,\n QuestTypeResponse,\n} from './types';\n\n/**\n * Get a quest by ID.\n * @param questId The quest ID.\n * @returns The quest. See {@link QuestResponse}.\n */\nexport function quest(questId: number): Resource<QuestResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/${questId}`,\n };\n}\n/**\n * Get a quest area by ID.\n * @param questAreaId The quest area ID.\n * @returns The quest area. See {@link QuestAreaResponse}.\n */\nexport function questArea(questAreaId: number): Resource<QuestAreaResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/area/${questAreaId}`,\n };\n}\n/**\n * Get a quest area index.\n * @returns The quest area index. See {@link QuestAreaIndexResponse}.\n */\nexport function questAreaIndex(): Resource<QuestAreaIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/area/index`,\n };\n}\n/**\n * Get a quest category by ID.\n * @param questCategoryId The quest category ID.\n * @returns The quest category. See {@link QuestCategoryResponse}.\n */\nexport function questCategory(questCategoryId: number): Resource<QuestCategoryResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/category/${questCategoryId}`,\n };\n}\n/**\n * Get a quest category index.\n * @returns The quest category index. See {@link QuestCategoryIndexResponse}.\n */\nexport function questCategoryIndex(): Resource<QuestCategoryIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/category/index`,\n };\n}\n/**\n * Get a quest index.\n * @returns The quest index. See {@link QuestIndexResponse}.\n */\nexport function questIndex(): Resource<QuestIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/index`,\n };\n}\n/**\n * Get a quest type by ID.\n * @param questTypeId The quest type ID.\n * @returns The quest type. See {@link QuestTypeResponse}.\n */\nexport function questType(questTypeId: number): Resource<QuestTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/type/${questTypeId}`,\n };\n}\n/**\n * Get a quest type index.\n * @returns The quest type index. See {@link QuestTypeIndexResponse}.\n */\nexport function questTypeIndex(): Resource<QuestTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/type/index`,\n };\n}\n"]}
@@ -0,0 +1,31 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/connected-realm/connected-realm.ts
4
+ function connectedRealm(connectedRealmId) {
5
+ return {
6
+ namespace: "dynamic",
7
+ path: `${base}/connected-realm/${connectedRealmId}`
8
+ };
9
+ }
10
+ function connectedRealmIndex() {
11
+ return {
12
+ namespace: "dynamic",
13
+ path: `${base}/connected-realm/index`
14
+ };
15
+ }
16
+ function connectedRealmSearch(options) {
17
+ return {
18
+ namespace: "dynamic",
19
+ parameters: {
20
+ _page: options._page,
21
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
22
+ "realms.timezone": options["realms.timezone"],
23
+ "status.type": options["status.type"]
24
+ },
25
+ path: `${base}/search/connected-realm`
26
+ };
27
+ }
28
+
29
+ export { connectedRealm, connectedRealmIndex, connectedRealmSearch };
30
+ //# sourceMappingURL=chunk-QYEYBQGO.js.map
31
+ //# sourceMappingURL=chunk-QYEYBQGO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/connected-realm/connected-realm.ts"],"names":[],"mappings":";;;AAcO,SAAS,eAAe,gBAA4D,EAAA;AACzF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;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,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,sBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,qBACd,OAC4F,EAAA;AAC5F,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,iBAAA,EAAmB,QAAQ,iBAAiB,CAAA;AAAA,MAC5C,aAAA,EAAe,QAAQ,aAAa,CAAA;AAAA,KACtC;AAAA,IACA,IAAA,EAAM,GAAG,IAAI,CAAA,uBAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-QYEYBQGO.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n ConnectedRealmIndexResponse,\n ConnectedRealmResponse,\n ConnectedRealmSearchParameters,\n ConnectedRealmSearchResponseItem,\n} from './types';\n\n/**\n * Get a connected realm by ID.\n * @param connectedRealmId The connected realm ID.\n * @returns The connected realm. See {@link ConnectedRealmResponse}.\n */\nexport function connectedRealm(connectedRealmId: number): Resource<ConnectedRealmResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/connected-realm/${connectedRealmId}`,\n };\n}\n/**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\nexport function connectedRealmIndex(): Resource<ConnectedRealmIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/connected-realm/index`,\n };\n}\n/**\n * Search for connected realms.\n * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.\n * @returns The search results. See {@link SearchResponse} & {@link ConnectedRealmSearchResponseItem}.\n */\nexport function connectedRealmSearch(\n options: ConnectedRealmSearchParameters,\n): Resource<SearchResponse<ConnectedRealmSearchResponseItem>, ConnectedRealmSearchParameters> {\n return {\n namespace: 'dynamic',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n 'realms.timezone': options['realms.timezone'],\n 'status.type': options['status.type'],\n },\n path: `${base}/search/connected-realm`,\n };\n}\n"]}
@@ -0,0 +1,17 @@
1
+ // src/character-quests/character-quests.ts
2
+ function characterCompletedQuests(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`
6
+ };
7
+ }
8
+ function characterQuests(realmSlug, characterName) {
9
+ return {
10
+ namespace: "profile",
11
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests`
12
+ };
13
+ }
14
+
15
+ export { characterCompletedQuests, characterQuests };
16
+ //# sourceMappingURL=chunk-RDKBICVU.js.map
17
+ //# sourceMappingURL=chunk-RDKBICVU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-quests/character-quests.ts"],"names":[],"mappings":";AAQO,SAAS,wBAAA,CACd,WACA,aAC4C,EAAA;AAC5C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,uBAAA,EAA0B,SAAS,CAAA,CAAA,EAAI,aAAa,CAAA,iBAAA,CAAA;AAAA,GAC5D,CAAA;AACF,CAAA;AAOO,SAAS,eAAA,CAAgB,WAAmB,aAA0D,EAAA;AAC3G,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAM,EAAA,CAAA,uBAAA,EAA0B,SAAS,CAAA,CAAA,EAAI,aAAa,CAAA,OAAA,CAAA;AAAA,GAC5D,CAAA;AACF","file":"chunk-RDKBICVU.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterCompletedQuestsResponse, CharacterQuestsResponse } 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 list of quests that a character has completed.\r\n */\r\nexport function characterCompletedQuests(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterCompletedQuestsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`,\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 active quests as well as a link to the character's completed quests.\r\n */\r\nexport function characterQuests(realmSlug: string, characterName: string): Resource<CharacterQuestsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/quests`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,33 @@
1
+ import { base, mediaBase, searchBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/azerite-essence/azerite-essence.ts
4
+ function azeriteEssence(azeriteEssenceId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/azerite-essence/${azeriteEssenceId}`
8
+ };
9
+ }
10
+ function azeriteEssenceIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/azerite-essence/index`
14
+ };
15
+ }
16
+ function azeriteEssenceMedia(azeriteEssenceId) {
17
+ return { namespace: "static", path: `${mediaBase}/azerite-essence/${azeriteEssenceId}` };
18
+ }
19
+ function azeriteEssenceSearch(options) {
20
+ return {
21
+ namespace: "static",
22
+ parameters: {
23
+ _page: options._page,
24
+ "allowed_specializations.id": options["allowed_specializations.id"],
25
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
26
+ },
27
+ path: `${searchBase}/azerite-essence`
28
+ };
29
+ }
30
+
31
+ export { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch };
32
+ //# sourceMappingURL=chunk-RGGXKGN5.js.map
33
+ //# sourceMappingURL=chunk-RGGXKGN5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/azerite-essence/azerite-essence.ts"],"names":[],"mappings":";;;AAeO,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,EAAE,WAAW,QAAU,EAAA,IAAA,EAAM,GAAG,SAAS,CAAA,iBAAA,EAAoB,gBAAgB,CAAG,CAAA,EAAA,CAAA;AACzF,CAAA;AAMO,SAAS,qBACd,OAC4F,EAAA;AAC5F,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,UAAY,EAAA;AAAA,MACV,OAAO,OAAQ,CAAA,KAAA;AAAA,MACf,4BAAA,EAA8B,QAAQ,4BAA4B,CAAA;AAAA,MAClE,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,gBAAA,CAAA;AAAA,GACrB,CAAA;AACF","file":"chunk-RGGXKGN5.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n AzeriteEssenceIndexResponse,\n AzeriteEssenceMediaResponse,\n AzeriteEssenceResponse,\n AzeriteEssenceSearchParameters,\n AzeriteEssenceSearchResponseItem,\n} from './types';\n\n/**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\nexport function azeriteEssence(azeriteEssenceId: number): Resource<AzeriteEssenceResponse> {\n return {\n namespace: 'static',\n path: `${base}/azerite-essence/${azeriteEssenceId}`,\n };\n}\n/**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\nexport function azeriteEssenceIndex(): Resource<AzeriteEssenceIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/azerite-essence/index`,\n };\n}\n/**\n * Get azerite essence media by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence media. See {@link AzeriteEssenceMediaResponse}.\n */\nexport function azeriteEssenceMedia(azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> {\n return { namespace: 'static', path: `${mediaBase}/azerite-essence/${azeriteEssenceId}` };\n}\n/**\n * Search for azerite essences.\n * @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function azeriteEssenceSearch(\n options: AzeriteEssenceSearchParameters,\n): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, AzeriteEssenceSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n 'allowed_specializations.id': options['allowed_specializations.id'],\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${searchBase}/azerite-essence`,\n };\n}\n"]}
@@ -0,0 +1,60 @@
1
+ import { base, mediaBase, searchBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/item/item.ts
4
+ function item(itemId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/item/${itemId}`
8
+ };
9
+ }
10
+ function itemClass(itemClassId) {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/item-class/${itemClassId}`
14
+ };
15
+ }
16
+ function itemClassIndex() {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/item-class/index`
20
+ };
21
+ }
22
+ function itemMedia(itemId) {
23
+ return {
24
+ namespace: "static",
25
+ path: `${mediaBase}/item/${itemId}`
26
+ };
27
+ }
28
+ function itemSearch(options) {
29
+ return {
30
+ namespace: "static",
31
+ parameters: {
32
+ _page: options._page,
33
+ [`name.${options.locale}`]: options.name,
34
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
35
+ },
36
+ path: `${searchBase}/item`
37
+ };
38
+ }
39
+ function itemSet(itemSetId) {
40
+ return {
41
+ namespace: "static",
42
+ path: `${base}/item-set/${itemSetId}`
43
+ };
44
+ }
45
+ function itemSetIndex() {
46
+ return {
47
+ namespace: "static",
48
+ path: `${base}/item-set/index`
49
+ };
50
+ }
51
+ function itemSubClass(itemClassId, itemSubclassId) {
52
+ return {
53
+ namespace: "static",
54
+ path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`
55
+ };
56
+ }
57
+
58
+ export { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass };
59
+ //# sourceMappingURL=chunk-RYBCDOQV.js.map
60
+ //# sourceMappingURL=chunk-RYBCDOQV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/item/item.ts"],"names":[],"mappings":";;;AAmBO,SAAS,KAAK,MAAwC,EAAA;AAC3D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,MAAA,EAAS,MAAM,CAAA,CAAA;AAAA,GAC9B,CAAA;AACF,CAAA;AAMO,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,UAAU,MAA6C,EAAA;AACrE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,SAAS,CAAA,MAAA,EAAS,MAAM,CAAA,CAAA;AAAA,GACnC,CAAA;AACF,CAAA;AAMO,SAAS,WACd,OACiG,EAAA;AACjG,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,KAAA,CAAA;AAAA,GACrB,CAAA;AACF,CAAA;AAMO,SAAS,QAAQ,SAA8C,EAAA;AACpE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,UAAA,EAAa,SAAS,CAAA,CAAA;AAAA,GACrC,CAAA;AACF,CAAA;AAKO,SAAS,YAA+C,GAAA;AAC7D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,eAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAOO,SAAS,YAAA,CAAa,aAAqB,cAAwD,EAAA;AACxG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,MAAM,CAAG,EAAA,IAAI,CAAe,YAAA,EAAA,WAAW,kBAAkB,cAAc,CAAA,CAAA;AAAA,GACzE,CAAA;AACF","file":"chunk-RYBCDOQV.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n ItemClassIndexResponse,\n ItemClassResponse,\n ItemMediaResponse,\n ItemResponse,\n ItemSearchParameters,\n ItemSearchResponseItem,\n ItemSetIndexResponse,\n ItemSetResponse,\n ItemSubClassResponse,\n} from './types';\n\n/**\n * Get an item by ID.\n * @param itemId The item ID.\n * @returns The item. See {@link ItemResponse}.\n */\nexport function item(itemId: number): Resource<ItemResponse> {\n return {\n namespace: 'static',\n path: `${base}/item/${itemId}`,\n };\n}\n/**\n * Get an item class by ID.\n * @param itemClassId The item class ID.\n * @returns The item class. See {@link ItemClassResponse}.\n */\nexport function itemClass(itemClassId: number): Resource<ItemClassResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-class/${itemClassId}`,\n };\n}\n/**\n * Get an item class index.\n * @returns The item class index. See {@link ItemClassIndexResponse}.\n */\nexport function itemClassIndex(): Resource<ItemClassIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-class/index`,\n };\n}\n/**\n * Get item media by ID.\n * @param itemId The item ID.\n * @returns The item media. See {@link ItemMediaResponse}.\n */\nexport function itemMedia(itemId: number): Resource<ItemMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/item/${itemId}`,\n };\n}\n/**\n * Search for items.\n * @param options The search parameters. See {@link ItemSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function itemSearch(\n options: ItemSearchParameters,\n): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, '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}/item`,\n };\n}\n/**\n * Get an item set by ID.\n * @param itemSetId The item set ID.\n * @returns The item set. See {@link ItemSetResponse}.\n */\nexport function itemSet(itemSetId: number): Resource<ItemSetResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-set/${itemSetId}`,\n };\n}\n/**\n * Get an item set index.\n * @returns The item set index. See {@link ItemSetIndexResponse}.\n */\nexport function itemSetIndex(): Resource<ItemSetIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-set/index`,\n };\n}\n/**\n * Get an item subclass by ID.\n * @param itemClassId The item class ID.\n * @param itemSubclassId The item subclass ID.\n * @returns The item subclass. See {@link ItemSubClassResponse}.\n */\nexport function itemSubClass(itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,\n };\n}\n"]}
@@ -0,0 +1,19 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/toy/toy.ts
4
+ function toy(toyId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/toy/${toyId}`
8
+ };
9
+ }
10
+ function toyIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/toy/index`
14
+ };
15
+ }
16
+
17
+ export { toy, toyIndex };
18
+ //# sourceMappingURL=chunk-SPTZICRM.js.map
19
+ //# sourceMappingURL=chunk-SPTZICRM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/toy/toy.ts"],"names":[],"mappings":";;;AASO,SAAS,IAAI,KAAsC,EAAA;AACxD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,KAAA,EAAQ,KAAK,CAAA,CAAA;AAAA,GAC5B,CAAA;AACF,CAAA;AAKO,SAAS,QAAuC,GAAA;AACrD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,UAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-SPTZICRM.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { ToyIndexResponse, ToyResponse } from './types';\n\n/**\n * Get a toy by ID.\n * @param toyId The toy ID.\n * @returns The toy. See {@link ToyResponse}.\n */\nexport function toy(toyId: number): Resource<ToyResponse> {\n return {\n namespace: 'static',\n path: `${base}/toy/${toyId}`,\n };\n}\n/**\n * Get a toy index.\n * @returns The toy index. See {@link ToyIndexResponse}.\n */\nexport function toyIndex(): Resource<ToyIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/toy/index`,\n };\n}\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-pvp/character-pvp.ts
2
+ function characterPvpSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`
6
+ };
7
+ }
8
+
9
+ export { characterPvpSummary };
10
+ //# sourceMappingURL=chunk-U3H47BSV.js.map
11
+ //# sourceMappingURL=chunk-U3H47BSV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-pvp/character-pvp.ts"],"names":[],"mappings":";AAQO,SAAS,mBAAA,CAAoB,WAAmB,aAA8D,EAAA;AACnH,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-U3H47BSV.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterPvpSummaryResponse } 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 PvP summary for a character.\r\n */\r\nexport function characterPvpSummary(realmSlug: string, characterName: string): Resource<CharacterPvpSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,19 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/region/region.ts
4
+ function region(regionId) {
5
+ return {
6
+ namespace: "dynamic",
7
+ path: `${base}/region/${regionId}`
8
+ };
9
+ }
10
+ function regionIndex() {
11
+ return {
12
+ namespace: "dynamic",
13
+ path: `${base}/region/index`
14
+ };
15
+ }
16
+
17
+ export { region, regionIndex };
18
+ //# sourceMappingURL=chunk-U4WVCUZN.js.map
19
+ //# sourceMappingURL=chunk-U4WVCUZN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/region/region.ts"],"names":[],"mappings":";;;AASO,SAAS,OAAO,QAA4C,EAAA;AACjE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;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,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,aAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-U4WVCUZN.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { RegionIndexResponse, RegionResponse } from './types';\n\n/**\n * Get a region by ID.\n * @param regionId The region ID.\n * @returns The region. See {@link RegionResponse}.\n */\nexport function region(regionId: number): Resource<RegionResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/region/${regionId}`,\n };\n}\n/**\n * Get a region index.\n * @returns The region index. See {@link RegionIndexResponse}.\n */\nexport function regionIndex(): Resource<RegionIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/region/index`,\n };\n}\n"]}
@@ -0,0 +1,49 @@
1
+ import { base, mediaBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/covenant/covenant.ts
4
+ function conduit(conduitId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/covenant/conduit/${conduitId}`
8
+ };
9
+ }
10
+ function conduitIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/covenant/conduit/index`
14
+ };
15
+ }
16
+ function covenant(covenantId) {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/covenant/${covenantId}`
20
+ };
21
+ }
22
+ function covenantIndex() {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/covenant/index`
26
+ };
27
+ }
28
+ function covenantMedia(covenantId) {
29
+ return {
30
+ namespace: "static",
31
+ path: `${mediaBase}/covenant/${covenantId}`
32
+ };
33
+ }
34
+ function soulbind(soulbindId) {
35
+ return {
36
+ namespace: "static",
37
+ path: `${base}/covenant/soulbind/${soulbindId}`
38
+ };
39
+ }
40
+ function soulbindIndex() {
41
+ return {
42
+ namespace: "static",
43
+ path: `${base}/covenant/soulbind/index`
44
+ };
45
+ }
46
+
47
+ export { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex };
48
+ //# sourceMappingURL=chunk-ULWUM3DX.js.map
49
+ //# sourceMappingURL=chunk-ULWUM3DX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/covenant/covenant.ts"],"names":[],"mappings":";;;AAiBO,SAAS,QAAQ,SAA8C,EAAA;AACpE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,kBAAA,EAAqB,SAAS,CAAA,CAAA;AAAA,GAC7C,CAAA;AACF,CAAA;AAKO,SAAS,YAA+C,GAAA;AAC7D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,uBAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,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;AAKO,SAAS,aAAiD,GAAA;AAC/D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,eAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,cAAc,UAAqD,EAAA;AACjF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,SAAS,CAAA,UAAA,EAAa,UAAU,CAAA,CAAA;AAAA,GAC3C,CAAA;AACF,CAAA;AAMO,SAAS,SAAS,UAAgD,EAAA;AACvE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,mBAAA,EAAsB,UAAU,CAAA,CAAA;AAAA,GAC/C,CAAA;AACF,CAAA;AAKO,SAAS,aAAiD,GAAA;AAC/D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,wBAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-ULWUM3DX.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n ConduitIndexResponse,\n ConduitResponse,\n CovenantIndexResponse,\n CovenantMediaResponse,\n CovenantResponse,\n SoulbindIndexResponse,\n SoulbindResponse,\n} from './types';\n\n/**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\nexport function conduit(conduitId: number): Resource<ConduitResponse> {\n return {\n namespace: 'static',\n path: `${base}/covenant/conduit/${conduitId}`,\n };\n}\n/**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\nexport function conduitIndex(): Resource<ConduitIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/covenant/conduit/index`,\n };\n}\n/**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\nexport function covenant(covenantId: number): Resource<CovenantResponse> {\n return {\n namespace: 'static',\n path: `${base}/covenant/${covenantId}`,\n };\n}\n/**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\nexport function covenantIndex(): Resource<CovenantIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/covenant/index`,\n };\n}\n/**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\nexport function covenantMedia(covenantId: number): Resource<CovenantMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/covenant/${covenantId}`,\n };\n}\n/**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\nexport function soulbind(soulbindId: number): Resource<SoulbindResponse> {\n return {\n namespace: 'static',\n path: `${base}/covenant/soulbind/${soulbindId}`,\n };\n}\n/**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\nexport function soulbindIndex(): Resource<SoulbindIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/covenant/soulbind/index`,\n };\n}\n"]}
@@ -0,0 +1,19 @@
1
+ import { base } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/power-type/power-type.ts
4
+ function powerType(powerTypeId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/power-type/${powerTypeId}`
8
+ };
9
+ }
10
+ function powerTypeIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/power-type/index`
14
+ };
15
+ }
16
+
17
+ export { powerType, powerTypeIndex };
18
+ //# sourceMappingURL=chunk-V3MTDINM.js.map
19
+ //# sourceMappingURL=chunk-V3MTDINM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/power-type/power-type.ts"],"names":[],"mappings":";;;AASO,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","file":"chunk-V3MTDINM.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PowerTypeIndexResponse, PowerTypeResponse } from './types';\n\n/**\n * Get a power type by ID.\n * @param powerTypeId The power type ID.\n * @returns The power type. See {@link PowerTypeResponse}.\n */\nexport function powerType(powerTypeId: number): Resource<PowerTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/power-type/${powerTypeId}`,\n };\n}\n/**\n * Get a power type index.\n * @returns The power type index. See {@link PowerTypeIndexResponse}.\n */\nexport function powerTypeIndex(): Resource<PowerTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/power-type/index`,\n };\n}\n"]}
@@ -0,0 +1,30 @@
1
+ import { base, mediaBase, searchBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/spell/spell.ts
4
+ function spell(spellId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/spell/${spellId}`
8
+ };
9
+ }
10
+ function spellMedia(spellId) {
11
+ return {
12
+ namespace: "static",
13
+ path: `${mediaBase}/spell/${spellId}`
14
+ };
15
+ }
16
+ function spellSearch(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}/spell`
25
+ };
26
+ }
27
+
28
+ export { spell, spellMedia, spellSearch };
29
+ //# sourceMappingURL=chunk-VPH2NQRQ.js.map
30
+ //# sourceMappingURL=chunk-VPH2NQRQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/spell/spell.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;AAMO,SAAS,WAAW,OAA+C,EAAA;AACxE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,SAAS,CAAA,OAAA,EAAU,OAAO,CAAA,CAAA;AAAA,GACrC,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-VPH2NQRQ.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type { SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponseItem } from './types';\n\n/**\n * Get a spell by ID.\n * @param spellId The spell ID.\n * @returns The spell. See {@link SpellResponse}.\n */\nexport function spell(spellId: number): Resource<SpellResponse> {\n return {\n namespace: 'static',\n path: `${base}/spell/${spellId}`,\n };\n}\n/**\n * Get spell media by ID.\n * @param spellId The spell ID.\n * @returns The spell media. See {@link SpellMediaResponse}.\n */\nexport function spellMedia(spellId: number): Resource<SpellMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/spell/${spellId}`,\n };\n}\n/**\n * Get a spell search.\n * @param options The spell search options. See {@link SpellSearchParameters}.\n * @returns The spell search. See {@link SearchResponse}.\n */\nexport function spellSearch(\n options: SpellSearchParameters,\n): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, '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}/spell`,\n };\n}\n"]}
@@ -0,0 +1,11 @@
1
+ // src/character-media/character-media.ts
2
+ function characterMediaSummary(realmSlug, characterName) {
3
+ return {
4
+ namespace: "profile",
5
+ path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`
6
+ };
7
+ }
8
+
9
+ export { characterMediaSummary };
10
+ //# sourceMappingURL=chunk-VTEJNKYT.js.map
11
+ //# sourceMappingURL=chunk-VTEJNKYT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/character-media/character-media.ts"],"names":[],"mappings":";AAQO,SAAS,qBAAA,CACd,WACA,aACyC,EAAA;AACzC,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-VTEJNKYT.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterMediaSummaryResponse } 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 media assets available for a character (such as an avatar render).\r\n */\r\nexport function characterMediaSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterMediaSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`,\r\n };\r\n}\r\n"]}
@@ -0,0 +1,60 @@
1
+ import { base, searchBase, mediaBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/journal/journal.ts
4
+ function journalEncounter(journalEncounterId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/journal-encounter/${journalEncounterId}`
8
+ };
9
+ }
10
+ function journalEncounterIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/journal-encounter/index`
14
+ };
15
+ }
16
+ function journalEncounterSearch(options) {
17
+ return {
18
+ namespace: "static",
19
+ parameters: {
20
+ _page: options._page,
21
+ [`instance.name.${options.locale}`]: options.instanceName,
22
+ orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
23
+ },
24
+ path: `${searchBase}/journal-encounter`
25
+ };
26
+ }
27
+ function journalExpansion(journalExpansionId) {
28
+ return {
29
+ namespace: "static",
30
+ path: `${base}/journal-expansion/${journalExpansionId}`
31
+ };
32
+ }
33
+ function journalExpansionIndex() {
34
+ return {
35
+ namespace: "static",
36
+ path: `${base}/journal-expansion/index`
37
+ };
38
+ }
39
+ function journalInstance(journalInstanceId) {
40
+ return {
41
+ namespace: "static",
42
+ path: `${base}/journal-instance/${journalInstanceId}`
43
+ };
44
+ }
45
+ function journalInstanceIndex() {
46
+ return {
47
+ namespace: "static",
48
+ path: `${base}/journal-instance/index`
49
+ };
50
+ }
51
+ function journalInstanceMedia(journalInstanceId) {
52
+ return {
53
+ namespace: "static",
54
+ path: `${mediaBase}/journal-instance/${journalInstanceId}`
55
+ };
56
+ }
57
+
58
+ export { journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia };
59
+ //# sourceMappingURL=chunk-WTFOGQ55.js.map
60
+ //# sourceMappingURL=chunk-WTFOGQ55.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/journal/journal.ts"],"names":[],"mappings":";;;AAmBO,SAAS,iBAAiB,kBAAgE,EAAA;AAC/F,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,mBAAA,EAAsB,kBAAkB,CAAA,CAAA;AAAA,GACvD,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,uBACd,OAIA,EAAA;AACA,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,UAAY,EAAA;AAAA,MACV,OAAO,OAAQ,CAAA,KAAA;AAAA,MACf,CAAC,CAAiB,cAAA,EAAA,OAAA,CAAQ,MAAM,CAAA,CAAE,GAAG,OAAQ,CAAA,YAAA;AAAA,MAC7C,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,kBAAA,CAAA;AAAA,GACrB,CAAA;AACF,CAAA;AAMO,SAAS,iBAAiB,kBAAgE,EAAA;AAC/F,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,mBAAA,EAAsB,kBAAkB,CAAA,CAAA;AAAA,GACvD,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,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,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","file":"chunk-WTFOGQ55.js","sourcesContent":["import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n JournalEncounterIndexResponse,\n JournalEncounterResponse,\n JournalEncounterSearchParameters,\n JournalEncounterSearchResponseItem,\n JournalExpansionIndexResponse,\n JournalExpansionResponse,\n JournalInstanceIndexResponse,\n JournalInstanceMediaResponse,\n JournalInstanceResponse,\n} from './types';\n\n/**\n * Get a journal encounter by ID.\n * @param journalEncounterId The journal encounter ID.\n * @returns The journal encounter. See {@link JournalEncounterResponse}.\n */\nexport function journalEncounter(journalEncounterId: number): Resource<JournalEncounterResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-encounter/${journalEncounterId}`,\n };\n}\n/**\n * Get the journal encounter index.\n * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.\n */\nexport function journalEncounterIndex(): Resource<JournalEncounterIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-encounter/index`,\n };\n}\n/**\n * Search for journal encounters.\n * @param options The search parameters. See {@link JournalEncounterSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function journalEncounterSearch(\n options: JournalEncounterSearchParameters,\n): Resource<\n SearchResponse<JournalEncounterSearchResponseItem>,\n Omit<JournalEncounterSearchParameters, 'instanceName' | 'locale'>\n> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`instance.name.${options.locale}`]: options.instanceName,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${searchBase}/journal-encounter`,\n };\n}\n/**\n * Get a journal expansion by ID.\n * @param journalExpansionId The journal expansion ID.\n * @returns The journal expansion. See {@link JournalExpansionResponse}.\n */\nexport function journalExpansion(journalExpansionId: number): Resource<JournalExpansionResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-expansion/${journalExpansionId}`,\n };\n}\n/**\n * Get the journal expansion index.\n * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.\n */\nexport function journalExpansionIndex(): Resource<JournalExpansionIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-expansion/index`,\n };\n}\n/**\n * Get a journal instance by ID.\n * @param journalInstanceId The journal instance ID.\n * @returns The journal instance. See {@link JournalInstanceResponse}.\n */\nexport function journalInstance(journalInstanceId: number): Resource<JournalInstanceResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-instance/${journalInstanceId}`,\n };\n}\n/**\n * Get the journal instance index.\n * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.\n */\nexport function journalInstanceIndex(): Resource<JournalInstanceIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-instance/index`,\n };\n}\n/**\n * Get journal instance media by ID.\n * @param journalInstanceId The journal instance ID.\n * @returns The journal instance media. See {@link JournalInstanceMediaResponse}.\n */\nexport function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/journal-instance/${journalInstanceId}`,\n };\n}\n"]}
@@ -0,0 +1,37 @@
1
+ import { base, mediaBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/tech-talent/tech-talent.ts
4
+ function techTalent(techTalentId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/tech-talent/${techTalentId}`
8
+ };
9
+ }
10
+ function techTalentIndex() {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/tech-talent/index`
14
+ };
15
+ }
16
+ function techTalentMedia(techTalentId) {
17
+ return {
18
+ namespace: "static",
19
+ path: `${mediaBase}/tech-talent/${techTalentId}`
20
+ };
21
+ }
22
+ function techTalentTree(techTalentTreeId) {
23
+ return {
24
+ namespace: "static",
25
+ path: `${base}/tech-talent-tree/${techTalentTreeId}`
26
+ };
27
+ }
28
+ function techTalentTreeIndex() {
29
+ return {
30
+ namespace: "static",
31
+ path: `${base}/tech-talent-tree/index`
32
+ };
33
+ }
34
+
35
+ export { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex };
36
+ //# sourceMappingURL=chunk-WZGXR5WG.js.map
37
+ //# sourceMappingURL=chunk-WZGXR5WG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/tech-talent/tech-talent.ts"],"names":[],"mappings":";;;AAeO,SAAS,WAAW,YAAoD,EAAA;AAC7E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,aAAA,EAAgB,YAAY,CAAA,CAAA;AAAA,GAC3C,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,SAAS,CAAA,aAAA,EAAgB,YAAY,CAAA,CAAA;AAAA,GAChD,CAAA;AACF,CAAA;AAMO,SAAS,eAAe,gBAA4D,EAAA;AACzF,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,kBAAA,EAAqB,gBAAgB,CAAA,CAAA;AAAA,GACpD,CAAA;AACF,CAAA;AAKO,SAAS,mBAA6D,GAAA;AAC3E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,uBAAA,CAAA;AAAA,GACf,CAAA;AACF","file":"chunk-WZGXR5WG.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n TechTalentIndexResponse,\n TechTalentMediaResponse,\n TechTalentResponse,\n TechTalentTreeIndexResponse,\n TechTalentTreeResponse,\n} from './types';\n\n/**\n * Get a tech talent by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent. See {@link TechTalentResponse}.\n */\nexport function techTalent(techTalentId: number): Resource<TechTalentResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent/${techTalentId}`,\n };\n}\n/**\n * Get a tech talent index.\n * @returns The tech talent index. See {@link TechTalentIndexResponse}.\n */\nexport function techTalentIndex(): Resource<TechTalentIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent/index`,\n };\n}\n/**\n * Get tech talent media by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent media. See {@link TechTalentMediaResponse}.\n */\nexport function techTalentMedia(techTalentId: number): Resource<TechTalentMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/tech-talent/${techTalentId}`,\n };\n}\n/**\n * Get a tech talent tree by ID.\n * @param techTalentTreeId The tech talent tree ID.\n * @returns The tech talent tree. See {@link TechTalentTreeResponse}.\n */\nexport function techTalentTree(techTalentTreeId: number): Resource<TechTalentTreeResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent-tree/${techTalentTreeId}`,\n };\n}\n/**\n * Get a tech talent tree index.\n * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.\n */\nexport function techTalentTreeIndex(): Resource<TechTalentTreeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent-tree/index`,\n };\n}\n"]}
@@ -0,0 +1,43 @@
1
+ import { base, mediaBase } from './chunk-LTJAQT2G.js';
2
+
3
+ // src/pet/pet.ts
4
+ function pet(petId) {
5
+ return {
6
+ namespace: "static",
7
+ path: `${base}/pet/${petId}`
8
+ };
9
+ }
10
+ function petAbility(petAbilityId) {
11
+ return {
12
+ namespace: "static",
13
+ path: `${base}/pet-ability/${petAbilityId}`
14
+ };
15
+ }
16
+ function petAbilityIndex() {
17
+ return {
18
+ namespace: "static",
19
+ path: `${base}/pet-ability/index`
20
+ };
21
+ }
22
+ function petAbilityMedia(petAbilityId) {
23
+ return {
24
+ namespace: "static",
25
+ path: `${mediaBase}/pet-ability/${petAbilityId}`
26
+ };
27
+ }
28
+ function petIndex() {
29
+ return {
30
+ namespace: "static",
31
+ path: `${base}/pet/index`
32
+ };
33
+ }
34
+ function petMedia(petId) {
35
+ return {
36
+ namespace: "static",
37
+ path: `${mediaBase}/pet/${petId}`
38
+ };
39
+ }
40
+
41
+ export { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia };
42
+ //# sourceMappingURL=chunk-X42TYTZZ.js.map
43
+ //# sourceMappingURL=chunk-X42TYTZZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pet/pet.ts"],"names":[],"mappings":";;;AAgBO,SAAS,IAAI,KAAsC,EAAA;AACxD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,KAAA,EAAQ,KAAK,CAAA,CAAA;AAAA,GAC5B,CAAA;AACF,CAAA;AAMO,SAAS,WAAW,YAAoD,EAAA;AAC7E,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,IAAI,CAAA,aAAA,EAAgB,YAAY,CAAA,CAAA;AAAA,GAC3C,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,SAAS,CAAA,aAAA,EAAgB,YAAY,CAAA,CAAA;AAAA,GAChD,CAAA;AACF,CAAA;AAKO,SAAS,QAAuC,GAAA;AACrD,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAA,EAAM,GAAG,IAAI,CAAA,UAAA,CAAA;AAAA,GACf,CAAA;AACF,CAAA;AAMO,SAAS,SAAS,KAA2C,EAAA;AAClE,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,QAAA;AAAA,IACX,IAAM,EAAA,CAAA,EAAG,SAAS,CAAA,KAAA,EAAQ,KAAK,CAAA,CAAA;AAAA,GACjC,CAAA;AACF","file":"chunk-X42TYTZZ.js","sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n PetAbilityIndexResponse,\n PetAbilityMediaResponse,\n PetAbilityResponse,\n PetIndexResponse,\n PetMediaResponse,\n PetResponse,\n} from './types';\n\n/**\n * Get a pet by ID.\n * @param petId The pet ID.\n * @returns The pet. See {@link PetResponse}.\n */\nexport function pet(petId: number): Resource<PetResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet/${petId}`,\n };\n}\n/**\n * Get a pet ability by ID.\n * @param petAbilityId The pet ability ID.\n * @returns The pet ability. See {@link PetAbilityResponse}.\n */\nexport function petAbility(petAbilityId: number): Resource<PetAbilityResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet-ability/${petAbilityId}`,\n };\n}\n/**\n * Get a pet ability index.\n * @returns The pet ability index. See {@link PetAbilityIndexResponse}.\n */\nexport function petAbilityIndex(): Resource<PetAbilityIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet-ability/index`,\n };\n}\n/**\n * Get a pet ability media by ID.\n * @param petAbilityId The pet ability ID.\n * @returns The pet ability media. See {@link PetAbilityMediaResponse}.\n */\nexport function petAbilityMedia(petAbilityId: number): Resource<PetAbilityMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/pet-ability/${petAbilityId}`,\n };\n}\n/**\n * Get a pet index.\n * @returns The pet index. See {@link PetIndexResponse}.\n */\nexport function petIndex(): Resource<PetIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet/index`,\n };\n}\n/**\n * Get a pet media by ID.\n * @param petId The pet ID.\n * @returns The pet media. See {@link PetMediaResponse}.\n */\nexport function petMedia(petId: number): Resource<PetMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/pet/${petId}`,\n };\n}\n"]}