@blizzard-api/wow 4.0.4 → 4.0.6

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 (171) hide show
  1. package/dist/account-profile/index.d.ts +1 -1
  2. package/dist/account-profile/index.js +1 -1
  3. package/dist/account-profile/index.js.map +1 -1
  4. package/dist/achievements/index.d.ts +1 -1
  5. package/dist/achievements/index.js.map +1 -1
  6. package/dist/auction-house/index.d.ts +1 -1
  7. package/dist/auction-house/index.js.map +1 -1
  8. package/dist/azerite-essence/index.d.ts +1 -1
  9. package/dist/azerite-essence/index.js.map +1 -1
  10. package/dist/character-achievements/index.d.ts +1 -1
  11. package/dist/character-achievements/index.js.map +1 -1
  12. package/dist/character-appearance/index.d.ts +1 -1
  13. package/dist/character-appearance/index.js.map +1 -1
  14. package/dist/character-collections/index.d.ts +1 -1
  15. package/dist/character-collections/index.js.map +1 -1
  16. package/dist/character-encounters/index.d.ts +1 -1
  17. package/dist/character-encounters/index.js.map +1 -1
  18. package/dist/character-equipment/index.d.ts +1 -1
  19. package/dist/character-equipment/index.js.map +1 -1
  20. package/dist/character-hunter-pets/index.d.ts +1 -1
  21. package/dist/character-hunter-pets/index.js.map +1 -1
  22. package/dist/character-media/index.d.ts +1 -1
  23. package/dist/character-media/index.js.map +1 -1
  24. package/dist/character-mythic-keystone-profile/index.d.ts +1 -1
  25. package/dist/character-mythic-keystone-profile/index.js.map +1 -1
  26. package/dist/character-professions/index.d.ts +1 -1
  27. package/dist/character-professions/index.js.map +1 -1
  28. package/dist/character-profile/index.d.ts +1 -1
  29. package/dist/character-profile/index.js.map +1 -1
  30. package/dist/character-pvp/index.d.ts +1 -1
  31. package/dist/character-pvp/index.js.map +1 -1
  32. package/dist/character-quests/index.d.ts +1 -1
  33. package/dist/character-quests/index.js.map +1 -1
  34. package/dist/character-reputations/index.d.ts +1 -1
  35. package/dist/character-reputations/index.js.map +1 -1
  36. package/dist/character-soulbinds/index.d.ts +1 -1
  37. package/dist/character-soulbinds/index.js.map +1 -1
  38. package/dist/character-specializations/index.d.ts +1 -1
  39. package/dist/character-specializations/index.js.map +1 -1
  40. package/dist/character-statistics/index.d.ts +1 -1
  41. package/dist/character-statistics/index.js.map +1 -1
  42. package/dist/character-titles/index.d.ts +1 -1
  43. package/dist/character-titles/index.js.map +1 -1
  44. package/dist/connected-realm/index.d.ts +1 -1
  45. package/dist/connected-realm/index.js.map +1 -1
  46. package/dist/covenant/index.d.ts +1 -1
  47. package/dist/covenant/index.js.map +1 -1
  48. package/dist/creature/index.d.ts +1 -1
  49. package/dist/creature/index.js.map +1 -1
  50. package/dist/guild/index.d.ts +1 -1
  51. package/dist/guild/index.js.map +1 -1
  52. package/dist/guild-crest/index.d.ts +1 -1
  53. package/dist/guild-crest/index.js.map +1 -1
  54. package/dist/heirloom/index.d.ts +1 -1
  55. package/dist/heirloom/index.js.map +1 -1
  56. package/dist/housing-decor/index.d.ts +1 -1
  57. package/dist/housing-decor/index.js.map +1 -1
  58. package/dist/{index-BgkVcJkr2.d.ts → index-0BCSdCJ62.d.ts} +1 -2
  59. package/dist/{index-CS_QQdEk.d.ts → index-3n_hMXbG.d.ts} +1 -2
  60. package/dist/{index-fn_f7xiC.d.ts → index-Aub4tNIk.d.ts} +1 -2
  61. package/dist/{index-DLD2tbdk.d.ts → index-B93hZTq8.d.ts} +1 -2
  62. package/dist/{index-DpfeUoRy.d.ts → index-BDrx1lbo.d.ts} +1 -2
  63. package/dist/{index-DlkM3Nrw2.d.ts → index-BFVkplM62.d.ts} +1 -2
  64. package/dist/{index-CJSqSpru.d.ts → index-BGOI2fSc.d.ts} +1 -2
  65. package/dist/{index-DZqv9GTd.d.ts → index-BJ0-6g9d.d.ts} +2 -3
  66. package/dist/{index-BuORTLmA.d.ts → index-BJJDrOGc.d.ts} +1 -2
  67. package/dist/{index-CH3CudPP.d.ts → index-BQvd_KVK.d.ts} +2 -3
  68. package/dist/{index-Dzfv2QaX.d.ts → index-BcmAAnX-.d.ts} +1 -2
  69. package/dist/{index-C2BXkcO8.d.ts → index-Bilu_mM-.d.ts} +1 -2
  70. package/dist/{index-BAx6xlRe.d.ts → index-BpGfpxAn.d.ts} +1 -2
  71. package/dist/{index-B-v4jmT8.d.ts → index-Bu7NuHEy.d.ts} +3 -4
  72. package/dist/{index-BOz0BCUN2.d.ts → index-BvpftWfk2.d.ts} +1 -2
  73. package/dist/{index-D8aCcItd2.d.ts → index-ByyhxvnP2.d.ts} +1 -2
  74. package/dist/{index-2xjdPrIp.d.ts → index-C2Xpa9gB.d.ts} +1 -2
  75. package/dist/{index-Xyv-CG_n.d.ts → index-C3SmBI82.d.ts} +1 -2
  76. package/dist/{index-CMDZfaJk.d.ts → index-CCFFzuSi.d.ts} +1 -2
  77. package/dist/{index-DugS9-SV2.d.ts → index-CD9byDe-2.d.ts} +1 -2
  78. package/dist/{index-DlPApY0x.d.ts → index-CGxl2gmk.d.ts} +1 -2
  79. package/dist/{index-DvzdYkdL.d.ts → index-CIrFa8hH.d.ts} +1 -2
  80. package/dist/{index-SfMQ7bBi2.d.ts → index-CNmy6l0F2.d.ts} +1 -2
  81. package/dist/{index-DiU4f1cd2.d.ts → index-CTkPoiKd2.d.ts} +1 -2
  82. package/dist/{index-ChVDi11Z.d.ts → index-CeTtYZHk.d.ts} +1 -2
  83. package/dist/{index-B_OrLUY42.d.ts → index-CmY_EwPS2.d.ts} +1 -2
  84. package/dist/{index-Cto5KQ-A2.d.ts → index-Cut0XBHM2.d.ts} +1 -2
  85. package/dist/{index-DxEXkR_n.d.ts → index-CwC5xobJ.d.ts} +1 -2
  86. package/dist/{index-Bd_PavJU.d.ts → index-D7N7vIk9.d.ts} +1 -2
  87. package/dist/{index-BWGWNZX7.d.ts → index-DBK8H1Hh.d.ts} +1 -2
  88. package/dist/{index-fbBIJXcV.d.ts → index-DMrRgK0m.d.ts} +1 -2
  89. package/dist/{index-BXawY6VA2.d.ts → index-DNsnkhHy2.d.ts} +1 -2
  90. package/dist/{index-Awzmubcb2.d.ts → index-DQ8epNnB2.d.ts} +1 -2
  91. package/dist/{index-CnUQDcQw.d.ts → index-DQy-FAcK.d.ts} +1 -2
  92. package/dist/{index-BlLUJk4H2.d.ts → index-DR8NV_TP2.d.ts} +1 -2
  93. package/dist/{index-BJYdOuJB2.d.ts → index-DmsrBtug2.d.ts} +1 -2
  94. package/dist/{index-h17WWDmt.d.ts → index-DrW-fMGY.d.ts} +1 -2
  95. package/dist/{index-CP1gTrDv.d.ts → index-Du2iWHUb.d.ts} +5 -6
  96. package/dist/{index--WL1Ol2r.d.ts → index-DuRPcfeM.d.ts} +1 -2
  97. package/dist/{index-CWFif_SP2.d.ts → index-DuVAtpNh2.d.ts} +1 -2
  98. package/dist/{index-ZAJGdEvm.d.ts → index-Dum5sMDJ.d.ts} +1 -2
  99. package/dist/{index-DScltfEW.d.ts → index-DwCJ7EGm.d.ts} +1 -2
  100. package/dist/{index-0hpJYoWw.d.ts → index-NqgRsqVv.d.ts} +1 -2
  101. package/dist/{index-LhUh1Lk5.d.ts → index-OkDiMn_e.d.ts} +1 -2
  102. package/dist/{index-C9JT3jCN2.d.ts → index-WqktG-uB2.d.ts} +1 -2
  103. package/dist/{index-J46u_PSy2.d.ts → index-WzTrJJCx2.d.ts} +1 -2
  104. package/dist/{index-DDHIN-u0.d.ts → index-YK5Gdjyj.d.ts} +1 -2
  105. package/dist/{index-BcKDDvwF.d.ts → index-b_q98SMP.d.ts} +1 -2
  106. package/dist/{index-CmJhDVVk.d.ts → index-fTOQt1vQ.d.ts} +1 -2
  107. package/dist/{index-BUSzkCHP2.d.ts → index-p2JSr6tZ2.d.ts} +1 -2
  108. package/dist/{index-DwuFoDTp.d.ts → index-qLcpcEG4.d.ts} +1 -2
  109. package/dist/{index-m4fmIRKg.d.ts → index-sXfpDoAs.d.ts} +1 -2
  110. package/dist/{index-DJZZaqMF.d.ts → index-xOXiGiQ3.d.ts} +1 -2
  111. package/dist/{index-BM5t9AbX2.d.ts → index-zncyO2Z32.d.ts} +1 -2
  112. package/dist/index.d.ts +57 -58
  113. package/dist/index.js +3 -3
  114. package/dist/index.js.map +1 -1
  115. package/dist/item/index.d.ts +2 -2
  116. package/dist/item/index.js +3 -3
  117. package/dist/item/index.js.map +1 -1
  118. package/dist/journal/index.d.ts +1 -1
  119. package/dist/journal/index.js.map +1 -1
  120. package/dist/media-search/index.d.ts +1 -1
  121. package/dist/media-search/index.js.map +1 -1
  122. package/dist/modified-crafting/index.d.ts +1 -1
  123. package/dist/modified-crafting/index.js.map +1 -1
  124. package/dist/mount/index.d.ts +1 -1
  125. package/dist/mount/index.js.map +1 -1
  126. package/dist/mythic-keystone-affix/index.d.ts +1 -1
  127. package/dist/mythic-keystone-affix/index.js.map +1 -1
  128. package/dist/mythic-keystone-dungeon/index.d.ts +1 -1
  129. package/dist/mythic-keystone-dungeon/index.js.map +1 -1
  130. package/dist/mythic-keystone-leaderboard/index.d.ts +1 -1
  131. package/dist/mythic-keystone-leaderboard/index.js.map +1 -1
  132. package/dist/mythic-raid-leaderboard/index.d.ts +1 -1
  133. package/dist/mythic-raid-leaderboard/index.js.map +1 -1
  134. package/dist/pet/index.d.ts +1 -1
  135. package/dist/pet/index.js.map +1 -1
  136. package/dist/playable-class/index.d.ts +1 -1
  137. package/dist/playable-class/index.js.map +1 -1
  138. package/dist/playable-race/index.d.ts +1 -1
  139. package/dist/playable-race/index.js.map +1 -1
  140. package/dist/playable-specialization/index.d.ts +1 -1
  141. package/dist/playable-specialization/index.js.map +1 -1
  142. package/dist/power-type/index.d.ts +1 -1
  143. package/dist/power-type/index.js.map +1 -1
  144. package/dist/profession/index.d.ts +1 -1
  145. package/dist/profession/index.js.map +1 -1
  146. package/dist/pvp-season/index.d.ts +1 -1
  147. package/dist/pvp-season/index.js.map +1 -1
  148. package/dist/pvp-tier/index.d.ts +1 -1
  149. package/dist/pvp-tier/index.js.map +1 -1
  150. package/dist/quest/index.d.ts +1 -1
  151. package/dist/quest/index.js.map +1 -1
  152. package/dist/realm/index.d.ts +1 -2
  153. package/dist/realm/index.js.map +1 -1
  154. package/dist/region/index.d.ts +1 -1
  155. package/dist/region/index.js.map +1 -1
  156. package/dist/reputations/index.d.ts +1 -1
  157. package/dist/reputations/index.js.map +1 -1
  158. package/dist/spell/index.d.ts +1 -1
  159. package/dist/spell/index.js.map +1 -1
  160. package/dist/talent/index.d.ts +1 -1
  161. package/dist/talent/index.js.map +1 -1
  162. package/dist/tech-talent/index.d.ts +1 -1
  163. package/dist/tech-talent/index.js.map +1 -1
  164. package/dist/title/index.d.ts +1 -1
  165. package/dist/title/index.js.map +1 -1
  166. package/dist/toy/index.d.ts +1 -1
  167. package/dist/toy/index.js.map +1 -1
  168. package/dist/{types-Z0ZgMUXA.d.ts → types-B8seugmc.d.ts} +1 -2
  169. package/dist/wow-token/index.d.ts +1 -1
  170. package/dist/wow-token/index.js.map +1 -1
  171. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/journal/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n JournalEncounterIndexResponse,\n JournalEncounterResponse,\n JournalEncounterSearchParameters,\n JournalEncounterSearchResponse,\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: `${wowBasePath}/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: `${wowBasePath}/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 JournalEncounterSearchResponse}.\n */\nexport function journalEncounterSearch(\n options: JournalEncounterSearchParameters,\n): Resource<JournalEncounterSearchResponse, Omit<JournalEncounterSearchParameters, 'instanceName' | 'locale'>> {\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: `${wowSearchBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/journal-instance/${journalInstanceId}`,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,iBAAiB,oBAAgE;CAC/F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,qBAAqB;EAC3C;;;;;;AAMH,SAAgB,wBAAiE;CAC/E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,uBACd,SAC6G;CAC7G,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,iBAAiB,QAAQ,WAAW,QAAQ;GAC7C,SAAS,MAAM,QAAQ,QAAQ,QAAQ,GAAG,QAAQ,QAAQ,KAAK,IAAI,GAAG,QAAQ;GAC/E;EACD,MAAM,GAAG,kBAAkB;EAC5B;;;;;;;AAOH,SAAgB,iBAAiB,oBAAgE;CAC/F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,qBAAqB;EAC3C;;;;;;AAMH,SAAgB,wBAAiE;CAC/E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gBAAgB,mBAA8D;CAC5F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;EAC1C;;;;;;AAMH,SAAgB,uBAA+D;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,qBAAqB,mBAAmE;CACtG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,oBAAoB;EAC/C"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/journal/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n JournalEncounterIndexResponse,\n JournalEncounterResponse,\n JournalEncounterSearchParameters,\n JournalEncounterSearchResponse,\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: `${wowBasePath}/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: `${wowBasePath}/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 JournalEncounterSearchResponse}.\n */\nexport function journalEncounterSearch(\n options: JournalEncounterSearchParameters,\n): Resource<JournalEncounterSearchResponse, Omit<JournalEncounterSearchParameters, 'instanceName' | 'locale'>> {\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: `${wowSearchBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/journal-instance/${journalInstanceId}`,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,iBAAiB,oBAAgE;CAC/F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,qBAAqB;CAC5C;AACF;;;;;AAKA,SAAgB,wBAAiE;CAC/E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,uBACd,SAC6G;CAC7G,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,iBAAiB,QAAQ,WAAW,QAAQ;GAC7C,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF;;;;;;AAMA,SAAgB,iBAAiB,oBAAgE;CAC/F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,qBAAqB;CAC5C;AACF;;;;;AAKA,SAAgB,wBAAiE;CAC/E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gBAAgB,mBAA8D;CAC5F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;CAC3C;AACF;;;;;AAKA,SAAgB,uBAA+D;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,qBAAqB,mBAAmE;CACtG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,oBAAoB;CAChD;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as mediaSearch } from "../index-DDHIN-u0.js";
1
+ import { t as mediaSearch } from "../index-YK5Gdjyj.js";
2
2
  export { mediaSearch };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/media-search/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowSearchBasePath } from '@blizzard-api/core';\nimport type { MediaSearchParameters, MediaSearchResponse } from './types';\n\n/**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link MediaSearchResponse}.\n */\nexport function mediaSearch(options: MediaSearchParameters): Resource<MediaSearchResponse, MediaSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n tags: options.tags,\n },\n path: `${wowSearchBasePath}/media`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,YAAY,SAAsF;CAChH,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,SAAS,MAAM,QAAQ,QAAQ,QAAQ,GAAG,QAAQ,QAAQ,KAAK,IAAI,GAAG,QAAQ;GAC9E,MAAM,QAAQ;GACf;EACD,MAAM,GAAG,kBAAkB;EAC5B"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/media-search/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowSearchBasePath } from '@blizzard-api/core';\nimport type { MediaSearchParameters, MediaSearchResponse } from './types';\n\n/**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link MediaSearchResponse}.\n */\nexport function mediaSearch(options: MediaSearchParameters): Resource<MediaSearchResponse, MediaSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n tags: options.tags,\n },\n path: `${wowSearchBasePath}/media`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,YAAY,SAAsF;CAChH,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;GAC9E,MAAM,QAAQ;EAChB;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as modifiedCraftingReagentSlotTypeIndex, i as modifiedCraftingReagentSlotType, n as modifiedCraftingCategoryIndex, r as modifiedCraftingIndex, t as modifiedCraftingCategory } from "../index-DxEXkR_n.js";
1
+ import { a as modifiedCraftingReagentSlotTypeIndex, i as modifiedCraftingReagentSlotType, n as modifiedCraftingCategoryIndex, r as modifiedCraftingIndex, t as modifiedCraftingCategory } from "../index-CwC5xobJ.js";
2
2
  export { modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/modified-crafting/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/modified-crafting/reagent-slot-type/index`,\n };\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,yBACd,4BAC4C;CAC5C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,8BAA8B;EACpD;;;;;;AAMH,SAAgB,gCAAiF;CAC/F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;AAMH,SAAgB,wBAAiE;CAC/E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gCACd,mCACmD;CACnD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,uCAAuC;EAC7D;;;;;;AAMH,SAAgB,uCAA+F;CAC7G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/modified-crafting/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/modified-crafting/reagent-slot-type/index`,\n };\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,yBACd,4BAC4C;CAC5C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,8BAA8B;CACrD;AACF;;;;;AAKA,SAAgB,gCAAiF;CAC/F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;AAKA,SAAgB,wBAAiE;CAC/E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gCACd,mCACmD;CACnD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,uCAAuC;CAC9D;AACF;;;;;AAKA,SAAgB,uCAA+F;CAC7G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as mountIndex, r as mountSearch, t as mount } from "../index-CH3CudPP.js";
1
+ import { n as mountIndex, r as mountSearch, t as mount } from "../index-BQvd_KVK.js";
2
2
  export { mount, mountIndex, mountSearch };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/mount/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponse } 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: `${wowBasePath}/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: `${wowBasePath}/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 MountSearchResponse}.\n */\nexport function mountSearch(\n options: MountSearchParameters,\n): Resource<MountSearchResponse, 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: `${wowSearchBasePath}/mount`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;EAC/B;;;;;;AAMH,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,YACd,SAC+E;CAC/E,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,QAAQ,GAAG,QAAQ,QAAQ,KAAK,IAAI,GAAG,QAAQ;GAC/E;EACD,MAAM,GAAG,kBAAkB;EAC5B"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/mount/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponse } 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: `${wowBasePath}/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: `${wowBasePath}/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 MountSearchResponse}.\n */\nexport function mountSearch(\n options: MountSearchParameters,\n): Resource<MountSearchResponse, 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: `${wowSearchBasePath}/mount`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;CAChC;AACF;;;;;AAKA,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,YACd,SAC+E;CAC/E,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as mythicKeystoneAffixIndex, r as mythicKeystoneAffixMedia, t as mythicKeystoneAffix } from "../index-Bd_PavJU.js";
1
+ import { n as mythicKeystoneAffixIndex, r as mythicKeystoneAffixMedia, t as mythicKeystoneAffix } from "../index-D7N7vIk9.js";
2
2
  export { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-keystone-affix/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n MythicKeystoneAffixIndexResponse,\n MythicKeystoneAffixMediaResponse,\n MythicKeystoneAffixResponse,\n} from './types';\n\n/**\n * Get a list of all Mythic Keystone affixes.\n * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\nexport function mythicKeystoneAffix(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/keystone-affix/${mythicKeystoneAffixId}`,\n };\n}\n/**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\nexport function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/keystone-affix/index`,\n };\n}\n/**\n * Get a list of all Mythic Keystone affix media.\n * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.\n * @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}\n */\nexport function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/keystone-affix/${mythicKeystoneAffixId}`,\n };\n}\n"],"mappings":";;;;;;;AAaA,SAAgB,oBAAoB,uBAAsE;CACxG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB;EACxC;;;;;;AAMH,SAAgB,2BAAuE;CACrF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,yBAAyB,uBAA2E;CAClH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,kBAAkB;EAC7C"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-keystone-affix/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n MythicKeystoneAffixIndexResponse,\n MythicKeystoneAffixMediaResponse,\n MythicKeystoneAffixResponse,\n} from './types';\n\n/**\n * Get a list of all Mythic Keystone affixes.\n * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\nexport function mythicKeystoneAffix(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/keystone-affix/${mythicKeystoneAffixId}`,\n };\n}\n/**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\nexport function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/keystone-affix/index`,\n };\n}\n/**\n * Get a list of all Mythic Keystone affix media.\n * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.\n * @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}\n */\nexport function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/keystone-affix/${mythicKeystoneAffixId}`,\n };\n}\n"],"mappings":";;;;;;;AAaA,SAAgB,oBAAoB,uBAAsE;CACxG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB;CACzC;AACF;;;;;AAKA,SAAgB,2BAAuE;CACrF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,yBAAyB,uBAA2E;CAClH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,kBAAkB;CAC9C;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as mythicKeystonePeriodIndex, i as mythicKeystonePeriod, n as mythicKeystoneDungeonIndex, o as mythicKeystoneSeason, r as mythicKeystoneIndex, s as mythicKeystoneSeasonIndex, t as mythicKeystoneDungeon } from "../index-h17WWDmt.js";
1
+ import { a as mythicKeystonePeriodIndex, i as mythicKeystonePeriod, n as mythicKeystoneDungeonIndex, o as mythicKeystoneSeason, r as mythicKeystoneIndex, s as mythicKeystoneSeasonIndex, t as mythicKeystoneDungeon } from "../index-DrW-fMGY.js";
2
2
  export { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-keystone-dungeon/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/mythic-keystone/season/index`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,sBAAsB,yBAA0E;CAC9G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,2BAA2B;EACjD;;;;;;AAMH,SAAgB,6BAA2E;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;AAMH,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,qBAAqB,wBAAwE;CAC3G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,0BAA0B;EAChD;;;;;;AAMH,SAAgB,4BAAyE;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,qBAAqB,wBAAwE;CAC3G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,0BAA0B;EAChD;;;;;;AAMH,SAAgB,4BAAyE;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-keystone-dungeon/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/mythic-keystone/season/index`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,sBAAsB,yBAA0E;CAC9G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,2BAA2B;CAClD;AACF;;;;;AAKA,SAAgB,6BAA2E;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;AAKA,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,qBAAqB,wBAAwE;CAC3G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,0BAA0B;CACjD;AACF;;;;;AAKA,SAAgB,4BAAyE;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,qBAAqB,wBAAwE;CAC3G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,0BAA0B;CACjD;AACF;;;;;AAKA,SAAgB,4BAAyE;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as mythicKeystoneLeaderboardIndex, t as mythicKeystoneLeaderboard } from "../index-D8aCcItd2.js";
1
+ import { n as mythicKeystoneLeaderboardIndex, t as mythicKeystoneLeaderboard } from "../index-ByyhxvnP2.js";
2
2
  export { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-keystone-leaderboard/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.\n * @param connectedRealmId The connected realm ID.\n * @param dungeonId The dungeon ID.\n * @param period The period ID.\n * @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}.\n */\nexport function mythicKeystoneLeaderboard(\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n): Resource<MythicKeystoneLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n };\n}\n/**\n * Get a Mythic Keystone leaderboard index by connected realm ID.\n * @param connectedRealmId The connected realm ID.\n * @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.\n */\nexport function mythicKeystoneLeaderboardIndex(\n connectedRealmId: number,\n): Resource<MythicKeystoneLeaderboardIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n };\n}\n"],"mappings":";;;;;;;;;AAWA,SAAgB,0BACd,kBACA,WACA,QAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,iBAAiB,sBAAsB,UAAU,UAAU;EACpG;;;;;;;AAOH,SAAgB,+BACd,kBACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,iBAAiB;EAC1D"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-keystone-leaderboard/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.\n * @param connectedRealmId The connected realm ID.\n * @param dungeonId The dungeon ID.\n * @param period The period ID.\n * @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}.\n */\nexport function mythicKeystoneLeaderboard(\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n): Resource<MythicKeystoneLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n };\n}\n/**\n * Get a Mythic Keystone leaderboard index by connected realm ID.\n * @param connectedRealmId The connected realm ID.\n * @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.\n */\nexport function mythicKeystoneLeaderboardIndex(\n connectedRealmId: number,\n): Resource<MythicKeystoneLeaderboardIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n };\n}\n"],"mappings":";;;;;;;;;AAWA,SAAgB,0BACd,kBACA,WACA,QAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,iBAAiB,sBAAsB,UAAU,UAAU;CACrG;AACF;;;;;;AAMA,SAAgB,+BACd,kBACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,iBAAiB;CAC3D;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as mythicRaidLeaderboard } from "../index-Awzmubcb2.js";
1
+ import { t as mythicRaidLeaderboard } from "../index-DQ8epNnB2.js";
2
2
  export { mythicRaidLeaderboard };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-raid-leaderboard/index.ts"],"sourcesContent":["import type { NonNeutralFactions, Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { KnownRaidSlugs, 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: KnownRaidSlugs,\n faction: Lowercase<NonNeutralFactions>,\n): Resource<MythicRaidLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/leaderboard/hall-of-fame/${raid}/${faction}`,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,sBACd,MACA,SACyC;CACzC,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,4BAA4B,KAAK,GAAG;EAC1D"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/mythic-raid-leaderboard/index.ts"],"sourcesContent":["import type { NonNeutralFactions, Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { KnownRaidSlugs, 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: KnownRaidSlugs,\n faction: Lowercase<NonNeutralFactions>,\n): Resource<MythicRaidLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/leaderboard/hall-of-fame/${raid}/${faction}`,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,sBACd,MACA,SACyC;CACzC,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,4BAA4B,KAAK,GAAG;CAC3D;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as petIndex, i as petAbilityMedia, n as petAbility, o as petMedia, r as petAbilityIndex, t as pet } from "../index-J46u_PSy2.js";
1
+ import { a as petIndex, i as petAbilityMedia, n as petAbility, o as petMedia, r as petAbilityIndex, t as pet } from "../index-WzTrJJCx2.js";
2
2
  export { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/pet/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/pet/${petId}`,\n };\n}\n"],"mappings":";;;;;;;AAgBA,SAAgB,IAAI,OAAsC;CACxD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,OAAO;EAC7B;;;;;;;AAOH,SAAgB,WAAW,cAAoD;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe;EACrC;;;;;;AAMH,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,eAAe;EAC1C;;;;;;AAMH,SAAgB,WAAuC;CACrD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,SAAS,OAA2C;CAClE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,OAAO;EAClC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/pet/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/pet/${petId}`,\n };\n}\n"],"mappings":";;;;;;;AAgBA,SAAgB,IAAI,OAAsC;CACxD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,OAAO;CAC9B;AACF;;;;;;AAMA,SAAgB,WAAW,cAAoD;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe;CACtC;AACF;;;;;AAKA,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,eAAe;CAC3C;AACF;;;;;AAKA,SAAgB,WAAuC;CACrD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,SAAS,OAA2C;CAClE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,OAAO;CACnC;AACF"}
@@ -1,2 +1,2 @@
1
- import { i as pvpTalentSlots, n as playableClassIndex, r as playableClassMedia, t as playableClass } from "../index-BM5t9AbX2.js";
1
+ import { i as pvpTalentSlots, n as playableClassIndex, r as playableClassMedia, t as playableClass } from "../index-zncyO2Z32.js";
2
2
  export { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/playable-class/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n PlayableClassIndexResponse,\n PlayableClassMediaResponse,\n PlayableClassResponse,\n PvpTalentSlotsResponse,\n} from './types';\n\n/**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\nexport function playableClass(playableClassId: number): Resource<PlayableClassResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-class/${playableClassId}`,\n };\n}\n/**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\nexport function playableClassIndex(): Resource<PlayableClassIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-class/index`,\n };\n}\n/**\n * Get playable class media by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class media. See {@link PlayableClassMediaResponse}.\n */\nexport function playableClassMedia(playableClassId: number): Resource<PlayableClassMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/playable-class/${playableClassId}`,\n };\n}\n/**\n * Get a playable class's PvP talent slots by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.\n */\nexport function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-class/${playableClassId}/pvp-talent-slots`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,cAAc,iBAA0D;CACtF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB;EACxC;;;;;;AAMH,SAAgB,qBAA2D;CACzE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,mBAAmB,iBAA+D;CAChG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,kBAAkB;EAC7C;;;;;;;AAOH,SAAgB,eAAe,iBAA2D;CACxF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB,gBAAgB;EACxD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/playable-class/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n PlayableClassIndexResponse,\n PlayableClassMediaResponse,\n PlayableClassResponse,\n PvpTalentSlotsResponse,\n} from './types';\n\n/**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\nexport function playableClass(playableClassId: number): Resource<PlayableClassResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-class/${playableClassId}`,\n };\n}\n/**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\nexport function playableClassIndex(): Resource<PlayableClassIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-class/index`,\n };\n}\n/**\n * Get playable class media by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class media. See {@link PlayableClassMediaResponse}.\n */\nexport function playableClassMedia(playableClassId: number): Resource<PlayableClassMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/playable-class/${playableClassId}`,\n };\n}\n/**\n * Get a playable class's PvP talent slots by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.\n */\nexport function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-class/${playableClassId}/pvp-talent-slots`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,cAAc,iBAA0D;CACtF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB;CACzC;AACF;;;;;AAKA,SAAgB,qBAA2D;CACzE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,mBAAmB,iBAA+D;CAChG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,kBAAkB;CAC9C;AACF;;;;;;AAMA,SAAgB,eAAe,iBAA2D;CACxF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB,gBAAgB;CACzD;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as playableRaceIndex, t as playableRace } from "../index-BUSzkCHP2.js";
1
+ import { n as playableRaceIndex, t as playableRace } from "../index-p2JSr6tZ2.js";
2
2
  export { playableRace, playableRaceIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/playable-race/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\n/**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\nexport function playableRace(playableRaceId: number): Resource<PlayableRaceResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-race/${playableRaceId}`,\n };\n}\n/**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\nexport function playableRaceIndex(): Resource<PlayableRaceIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-race/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,aAAa,gBAAwD;CACnF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,iBAAiB;EACvC;;;;;;AAMH,SAAgB,oBAAyD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/playable-race/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\n/**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\nexport function playableRace(playableRaceId: number): Resource<PlayableRaceResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-race/${playableRaceId}`,\n };\n}\n/**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\nexport function playableRaceIndex(): Resource<PlayableRaceIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-race/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,aAAa,gBAAwD;CACnF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,iBAAiB;CACxC;AACF;;;;;AAKA,SAAgB,oBAAyD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as playableSpecializationIndex, r as playableSpecializationMedia, t as playableSpecialization } from "../index-C9JT3jCN2.js";
1
+ import { n as playableSpecializationIndex, r as playableSpecializationMedia, t as playableSpecialization } from "../index-WqktG-uB2.js";
2
2
  export { playableSpecialization, playableSpecializationIndex, playableSpecializationMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/playable-specialization/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n PlayableSpecializationIndexResponse,\n PlayableSpecializationMediaResponse,\n PlayableSpecializationResponse,\n} from './types';\n\n/**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\nexport function playableSpecialization(specializationId: number): Resource<PlayableSpecializationResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-specialization/${specializationId}`,\n };\n}\n/**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\nexport function playableSpecializationIndex(): Resource<PlayableSpecializationIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-specialization/index`,\n };\n}\n/**\n * Get a playable specialization media by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.\n */\nexport function playableSpecializationMedia(specializationId: number): Resource<PlayableSpecializationMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/playable-specialization/${specializationId}`,\n };\n}\n"],"mappings":";;;;;;;AAaA,SAAgB,uBAAuB,kBAAoE;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,2BAA2B;EACjD;;;;;;AAMH,SAAgB,8BAA6E;CAC3F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,4BAA4B,kBAAyE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,2BAA2B;EACtD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/playable-specialization/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n PlayableSpecializationIndexResponse,\n PlayableSpecializationMediaResponse,\n PlayableSpecializationResponse,\n} from './types';\n\n/**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\nexport function playableSpecialization(specializationId: number): Resource<PlayableSpecializationResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-specialization/${specializationId}`,\n };\n}\n/**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\nexport function playableSpecializationIndex(): Resource<PlayableSpecializationIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/playable-specialization/index`,\n };\n}\n/**\n * Get a playable specialization media by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.\n */\nexport function playableSpecializationMedia(specializationId: number): Resource<PlayableSpecializationMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/playable-specialization/${specializationId}`,\n };\n}\n"],"mappings":";;;;;;;AAaA,SAAgB,uBAAuB,kBAAoE;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,2BAA2B;CAClD;AACF;;;;;AAKA,SAAgB,8BAA6E;CAC3F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,4BAA4B,kBAAyE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,2BAA2B;CACvD;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as powerTypeIndex, t as powerType } from "../index-CWFif_SP2.js";
1
+ import { n as powerTypeIndex, t as powerType } from "../index-DuVAtpNh2.js";
2
2
  export { powerType, powerTypeIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/power-type/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/power-type/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;EACpC;;;;;;AAMH,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/power-type/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/power-type/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;CACrC;AACF;;;;;AAKA,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as recipe, i as professionSkillTier, n as professionIndex, o as recipeMedia, r as professionMedia, t as profession } from "../index-DugS9-SV2.js";
1
+ import { a as recipe, i as professionSkillTier, n as professionIndex, o as recipeMedia, r as professionMedia, t as profession } from "../index-CD9byDe-2.js";
2
2
  export { profession, professionIndex, professionMedia, professionSkillTier, recipe, recipeMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/profession/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n ProfessionIndexResponse,\n ProfessionMediaResponse,\n ProfessionResponse,\n ProfessionSkillTierResponse,\n RecipeMediaResponse,\n RecipeResponse,\n} from './types';\n\n/**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\nexport function profession(professionId: number): Resource<ProfessionResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/profession/${professionId}`,\n };\n}\n/**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\nexport function professionIndex(): Resource<ProfessionIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/profession/index`,\n };\n}\n/**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\nexport function professionMedia(professionId: number): Resource<ProfessionMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/profession/${professionId}`,\n };\n}\n/**\n * Get a profession's skill tier by ID.\n * @param professionId The profession ID.\n * @param skillTierId The skill tier ID.\n * @returns The profession's skill tier. See {@link ProfessionSkillTierResponse}.\n */\nexport function professionSkillTier(professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/profession/${professionId}/skill-tier/${skillTierId}`,\n };\n}\n/**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\nexport function recipe(recipeId: number): Resource<RecipeResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/recipe/${recipeId}`,\n };\n}\n/**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\nexport function recipeMedia(recipeId: number): Resource<RecipeMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/recipe/${recipeId}`,\n };\n}\n"],"mappings":";;;;;;;AAgBA,SAAgB,WAAW,cAAoD;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;EACpC;;;;;;AAMH,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,cAAc;EACzC;;;;;;;;AAQH,SAAgB,oBAAoB,cAAsB,aAA4D;CACpH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,aAAa,cAAc;EAC/D;;;;;;;AAOH,SAAgB,OAAO,UAA4C;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,UAAU;EAChC;;;;;;;AAOH,SAAgB,YAAY,UAAiD;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,UAAU;EACrC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/profession/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n ProfessionIndexResponse,\n ProfessionMediaResponse,\n ProfessionResponse,\n ProfessionSkillTierResponse,\n RecipeMediaResponse,\n RecipeResponse,\n} from './types';\n\n/**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\nexport function profession(professionId: number): Resource<ProfessionResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/profession/${professionId}`,\n };\n}\n/**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\nexport function professionIndex(): Resource<ProfessionIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/profession/index`,\n };\n}\n/**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\nexport function professionMedia(professionId: number): Resource<ProfessionMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/profession/${professionId}`,\n };\n}\n/**\n * Get a profession's skill tier by ID.\n * @param professionId The profession ID.\n * @param skillTierId The skill tier ID.\n * @returns The profession's skill tier. See {@link ProfessionSkillTierResponse}.\n */\nexport function professionSkillTier(professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/profession/${professionId}/skill-tier/${skillTierId}`,\n };\n}\n/**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\nexport function recipe(recipeId: number): Resource<RecipeResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/recipe/${recipeId}`,\n };\n}\n/**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\nexport function recipeMedia(recipeId: number): Resource<RecipeMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/recipe/${recipeId}`,\n };\n}\n"],"mappings":";;;;;;;AAgBA,SAAgB,WAAW,cAAoD;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;CACrC;AACF;;;;;AAKA,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,cAAc;CAC1C;AACF;;;;;;;AAOA,SAAgB,oBAAoB,cAAsB,aAA4D;CACpH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,aAAa,cAAc;CAChE;AACF;;;;;;AAMA,SAAgB,OAAO,UAA4C;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,UAAU;CACjC;AACF;;;;;;AAMA,SAAgB,YAAY,UAAiD;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,UAAU;CACtC;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as pvpSeasonIndex, i as pvpSeason, n as pvpLeaderboardIndex, r as pvpRewardsIndex, t as pvpLeaderboard } from "../index-BlLUJk4H2.js";
1
+ import { a as pvpSeasonIndex, i as pvpSeason, n as pvpLeaderboardIndex, r as pvpRewardsIndex, t as pvpLeaderboard } from "../index-DR8NV_TP2.js";
2
2
  export { pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/pvp-season/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type {\n PvpLeaderboardIndexResponse,\n PvpLeaderboardResponse,\n PvpRewardsIndexResponse,\n PvpSeasonIndexResponse,\n PvpSeasonResponse,\n} from './types';\n\n/**\n * Get a PvP leaderboard by PvP season ID and bracket.\n * @param pvpSeasonId The PvP season ID.\n * @param bracket The PvP bracket.\n * @returns The PvP leaderboard. See {@link PvpLeaderboardResponse}.\n */\nexport function pvpLeaderboard(pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n };\n}\n/**\n * Get a PvP leaderboard index by PvP season ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP leaderboard index. See {@link PvpLeaderboardIndexResponse}.\n */\nexport function pvpLeaderboardIndex(pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n };\n}\n/**\n * Get a PvP reward index by PvP season ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP reward index. See {@link PvpRewardsIndexResponse}.\n */\nexport function pvpRewardsIndex(pvpSeasonId: number): Resource<PvpRewardsIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n };\n}\n/**\n * Get a PvP season by ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP season. See {@link PvpSeasonResponse}.\n */\nexport function pvpSeason(pvpSeasonId: number): Resource<PvpSeasonResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}`,\n };\n}\n/**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\nexport function pvpSeasonIndex(): Resource<PvpSeasonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/index`,\n };\n}\n"],"mappings":";;;;;;;;AAgBA,SAAgB,eAAe,aAAqB,SAAmD;CACrG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,YAAY,mBAAmB;EACnE;;;;;;;AAOH,SAAgB,oBAAoB,aAA4D;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,YAAY;EAChD;;;;;;;AAOH,SAAgB,gBAAgB,aAAwD;CACtF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,YAAY;EAChD;;;;;;;AAOH,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;EACpC;;;;;;AAMH,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/pvp-season/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type {\n PvpLeaderboardIndexResponse,\n PvpLeaderboardResponse,\n PvpRewardsIndexResponse,\n PvpSeasonIndexResponse,\n PvpSeasonResponse,\n} from './types';\n\n/**\n * Get a PvP leaderboard by PvP season ID and bracket.\n * @param pvpSeasonId The PvP season ID.\n * @param bracket The PvP bracket.\n * @returns The PvP leaderboard. See {@link PvpLeaderboardResponse}.\n */\nexport function pvpLeaderboard(pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n };\n}\n/**\n * Get a PvP leaderboard index by PvP season ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP leaderboard index. See {@link PvpLeaderboardIndexResponse}.\n */\nexport function pvpLeaderboardIndex(pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n };\n}\n/**\n * Get a PvP reward index by PvP season ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP reward index. See {@link PvpRewardsIndexResponse}.\n */\nexport function pvpRewardsIndex(pvpSeasonId: number): Resource<PvpRewardsIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n };\n}\n/**\n * Get a PvP season by ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP season. See {@link PvpSeasonResponse}.\n */\nexport function pvpSeason(pvpSeasonId: number): Resource<PvpSeasonResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/${pvpSeasonId}`,\n };\n}\n/**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\nexport function pvpSeasonIndex(): Resource<PvpSeasonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/pvp-season/index`,\n };\n}\n"],"mappings":";;;;;;;;AAgBA,SAAgB,eAAe,aAAqB,SAAmD;CACrG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,YAAY,mBAAmB;CACpE;AACF;;;;;;AAMA,SAAgB,oBAAoB,aAA4D;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,YAAY;CACjD;AACF;;;;;;AAMA,SAAgB,gBAAgB,aAAwD;CACtF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc,YAAY;CACjD;AACF;;;;;;AAMA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;CACrC;AACF;;;;;AAKA,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as pvpTierIndex, r as pvpTierMedia, t as pvpTier } from "../index-BgkVcJkr2.js";
1
+ import { n as pvpTierIndex, r as pvpTierMedia, t as pvpTier } from "../index-0BCSdCJ62.js";
2
2
  export { pvpTier, pvpTierIndex, pvpTierMedia };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/pvp-tier/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\n/**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\nexport function pvpTier(pvpTierId: number): Resource<PvpTierResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/pvp-tier/${pvpTierId}`,\n };\n}\n/**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\nexport function pvpTierIndex(): Resource<PvpTierIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/pvp-tier/index`,\n };\n}\n/**\n * Get PvP tier media by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier media. See {@link PvpTierMediaResponse}.\n */\nexport function pvpTierMedia(pvpTierId: number): Resource<PvpTierMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/pvp-tier/${pvpTierId}`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,QAAQ,WAA8C;CACpE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY;EAClC;;;;;;AAMH,SAAgB,eAA+C;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,aAAa,WAAmD;CAC9E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,YAAY;EACvC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/pvp-tier/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\n/**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\nexport function pvpTier(pvpTierId: number): Resource<PvpTierResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/pvp-tier/${pvpTierId}`,\n };\n}\n/**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\nexport function pvpTierIndex(): Resource<PvpTierIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/pvp-tier/index`,\n };\n}\n/**\n * Get PvP tier media by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier media. See {@link PvpTierMediaResponse}.\n */\nexport function pvpTierMedia(pvpTierId: number): Resource<PvpTierMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/pvp-tier/${pvpTierId}`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,QAAQ,WAA8C;CACpE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY;CACnC;AACF;;;;;AAKA,SAAgB,eAA+C;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,aAAa,WAAmD;CAC9E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,YAAY;CACxC;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as questCategoryIndex, c as questTypeIndex, i as questCategory, n as questArea, o as questIndex, r as questAreaIndex, s as questType, t as quest } from "../index-BXawY6VA2.js";
1
+ import { a as questCategoryIndex, c as questTypeIndex, i as questCategory, n as questArea, o as questIndex, r as questAreaIndex, s as questType, t as quest } from "../index-DNsnkhHy2.js";
2
2
  export { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/quest/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/quest/type/index`,\n };\n}\n"],"mappings":";;;;;;;AAkBA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;EAC/B;;;;;;;AAOH,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;EACpC;;;;;;AAMH,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,cAAc,iBAA0D;CACtF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB;EACxC;;;;;;AAMH,SAAgB,qBAA2D;CACzE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;AAMH,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;EACpC;;;;;;AAMH,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/quest/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/quest/type/index`,\n };\n}\n"],"mappings":";;;;;;;AAkBA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;CAChC;AACF;;;;;;AAMA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;CACrC;AACF;;;;;AAKA,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,cAAc,iBAA0D;CACtF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,kBAAkB;CACzC;AACF;;;;;AAKA,SAAgB,qBAA2D;CACzE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;AAKA,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;CACrC;AACF;;;;;AAKA,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,6 +1,5 @@
1
- import { a as RealmSearchParameters, i as RealmResponse, n as RealmIndexResponse, o as RealmSearchResponse } from "../types-Z0ZgMUXA.js";
1
+ import { a as RealmSearchParameters, i as RealmResponse, n as RealmIndexResponse, o as RealmSearchResponse } from "../types-B8seugmc.js";
2
2
  import { Resource } from "@blizzard-api/core";
3
-
4
3
  //#region src/realm/index.d.ts
5
4
  /**
6
5
  * Get a realm by slug.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/realm/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { RealmIndexResponse, RealmResponse, RealmSearchParameters, RealmSearchResponse } 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: `${wowBasePath}/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: `${wowBasePath}/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 RealmSearchResponse}.\n */\nexport function realmSearch(options: RealmSearchParameters): Resource<RealmSearchResponse, 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: `${wowSearchBasePath}/realm`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,WAA4C;CAChE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;EAC/B;;;;;;AAMH,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,YAAY,SAAsF;CAChH,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,SAAS,MAAM,QAAQ,QAAQ,QAAQ,GAAG,QAAQ,QAAQ,KAAK,IAAI,GAAG,QAAQ;GAC9E,UAAU,QAAQ;GACnB;EACD,MAAM,GAAG,kBAAkB;EAC5B"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/realm/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { RealmIndexResponse, RealmResponse, RealmSearchParameters, RealmSearchResponse } 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: `${wowBasePath}/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: `${wowBasePath}/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 RealmSearchResponse}.\n */\nexport function realmSearch(options: RealmSearchParameters): Resource<RealmSearchResponse, 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: `${wowSearchBasePath}/realm`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,WAA4C;CAChE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;CAChC;AACF;;;;;AAKA,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,YAAY,SAAsF;CAChH,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;GAC9E,UAAU,QAAQ;EACpB;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as regionIndex, t as region } from "../index-2xjdPrIp.js";
1
+ import { n as regionIndex, t as region } from "../index-C2Xpa9gB.js";
2
2
  export { region, regionIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/region/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/region/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,OAAO,UAA4C;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,UAAU;EAChC;;;;;;AAMH,SAAgB,cAA6C;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/region/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/region/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,OAAO,UAA4C;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,UAAU;CACjC;AACF;;;;;AAKA,SAAgB,cAA6C;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { i as reputationTiersIndex, n as reputationFactionIndex, r as reputationTiers, t as reputationFaction } from "../index-SfMQ7bBi2.js";
1
+ import { i as reputationTiersIndex, n as reputationFactionIndex, r as reputationTiers, t as reputationFaction } from "../index-CNmy6l0F2.js";
2
2
  export { reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/reputations/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/reputation-tiers/index`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,kBAAkB,qBAAkE;CAClG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,sBAAsB;EAC5C;;;;;;AAMH,SAAgB,yBAAmE;CACjF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gBAAgB,mBAA8D;CAC5F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;EAC1C;;;;;;AAMH,SAAgB,uBAA+D;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/reputations/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/reputation-tiers/index`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,kBAAkB,qBAAkE;CAClG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,sBAAsB;CAC7C;AACF;;;;;AAKA,SAAgB,yBAAmE;CACjF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gBAAgB,mBAA8D;CAC5F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;CAC3C;AACF;;;;;AAKA,SAAgB,uBAA+D;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as spellMedia, r as spellSearch, t as spell } from "../index-Cto5KQ-A2.js";
1
+ import { n as spellMedia, r as spellSearch, t as spell } from "../index-Cut0XBHM2.js";
2
2
  export { spell, spellMedia, spellSearch };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/spell/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponse } 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: `${wowBasePath}/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: `${wowMediaBasePath}/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 SpellSearchResponse}.\n */\nexport function spellSearch(\n options: SpellSearchParameters,\n): Resource<SpellSearchResponse, 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: `${wowSearchBasePath}/spell`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;EAC/B;;;;;;;AAOH,SAAgB,WAAW,SAA+C;CACxE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,SAAS;EACpC;;;;;;;AAOH,SAAgB,YACd,SAC+E;CAC/E,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,QAAQ,GAAG,QAAQ,QAAQ,KAAK,IAAI,GAAG,QAAQ;GAC/E;EACD,MAAM,GAAG,kBAAkB;EAC5B"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/spell/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponse } 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: `${wowBasePath}/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: `${wowMediaBasePath}/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 SpellSearchResponse}.\n */\nexport function spellSearch(\n options: SpellSearchParameters,\n): Resource<SpellSearchResponse, 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: `${wowSearchBasePath}/spell`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;CAChC;AACF;;;;;;AAMA,SAAgB,WAAW,SAA+C;CACxE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,SAAS;CACrC;AACF;;;;;;AAMA,SAAgB,YACd,SAC+E;CAC/E,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as talentTree, i as talentIndex, n as pvpTalentIndex, o as talentTreeIndex, r as talent, s as talentTreeNodes, t as pvpTalent } from "../index-BOz0BCUN2.js";
1
+ import { a as talentTree, i as talentIndex, n as pvpTalentIndex, o as talentTreeIndex, r as talent, s as talentTreeNodes, t as pvpTalent } from "../index-BvpftWfk2.js";
2
2
  export { pvpTalent, pvpTalentIndex, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/talent/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/talent-tree/${talentTreeId}`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;EACpC;;;;;;AAMH,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,OAAO,UAA4C;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,UAAU;EAChC;;;;;;AAMH,SAAgB,cAA6C;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;;AAQH,SAAgB,WAAW,cAAsB,QAA8C;CAC7F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe,aAAa,2BAA2B;EAC7E;;;;;;AAMH,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe;EACrC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/talent/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/talent-tree/${talentTreeId}`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,UAAU,aAAkD;CAC1E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,cAAc;CACrC;AACF;;;;;AAKA,SAAgB,iBAAmD;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,OAAO,UAA4C;CACjE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,UAAU;CACjC;AACF;;;;;AAKA,SAAgB,cAA6C;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;;AAOA,SAAgB,WAAW,cAAsB,QAA8C;CAC7F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe,aAAa,2BAA2B;CAC9E;AACF;;;;;AAKA,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe;CACtC;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as techTalentTreeIndex, i as techTalentTree, n as techTalentIndex, r as techTalentMedia, t as techTalent } from "../index-B_OrLUY42.js";
1
+ import { a as techTalentTreeIndex, i as techTalentTree, n as techTalentIndex, r as techTalentMedia, t as techTalent } from "../index-CmY_EwPS2.js";
2
2
  export { techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/tech-talent/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/tech-talent-tree/index`,\n };\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,WAAW,cAAoD;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe;EACrC;;;;;;AAMH,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB;;;;;;;AAOH,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,eAAe;EAC1C;;;;;;;AAOH,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;EAC1C;;;;;;AAMH,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/tech-talent/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/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: `${wowMediaBasePath}/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: `${wowBasePath}/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: `${wowBasePath}/tech-talent-tree/index`,\n };\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,WAAW,cAAoD;CAC7E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,eAAe;CACtC;AACF;;;;;AAKA,SAAgB,kBAAqD;CACnE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,gBAAgB,cAAyD;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,eAAe;CAC3C;AACF;;;;;;AAMA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;CAC3C;AACF;;;;;AAKA,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as titleIndex, t as title } from "../index-DiU4f1cd2.js";
1
+ import { n as titleIndex, t as title } from "../index-CTkPoiKd2.js";
2
2
  export { title, titleIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/title/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\n/**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\nexport function title(titleId: number): Resource<TitleResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/title/${titleId}`,\n };\n}\n/**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\nexport function titleIndex(): Resource<TitleIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/title/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;EAC/B;;;;;;AAMH,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/title/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\n/**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\nexport function title(titleId: number): Resource<TitleResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/title/${titleId}`,\n };\n}\n/**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\nexport function titleIndex(): Resource<TitleIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/title/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;CAChC;AACF;;;;;AAKA,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as toyIndex, t as toy } from "../index-DlkM3Nrw2.js";
1
+ import { n as toyIndex, t as toy } from "../index-BFVkplM62.js";
2
2
  export { toy, toyIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/toy/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/toy/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,IAAI,OAAsC;CACxD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,OAAO;EAC7B;;;;;;AAMH,SAAgB,WAAuC;CACrD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/toy/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\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: `${wowBasePath}/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: `${wowBasePath}/toy/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,IAAI,OAAsC;CACxD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,OAAO;CAC9B;AACF;;;;;AAKA,SAAgB,WAAuC;CACrD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
@@ -1,5 +1,4 @@
1
1
  import { BaseSearchParameters, Href, KeyBase, Locales, NameId, NameIdKey, Realm, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
-
3
2
  //#region src/realm/types.d.ts
4
3
  /**
5
4
  * The category of a realm.
@@ -76,4 +75,4 @@ interface RealmSearchResponseItem extends KeyBase {
76
75
  }
77
76
  //#endregion
78
77
  export { RealmSearchParameters as a, RealmTypeCapitalized as c, RealmResponse as i, RealmIndexResponse as n, RealmSearchResponse as o, RealmLocales as r, RealmTimezone as s, RealmCategory as t };
79
- //# sourceMappingURL=types-Z0ZgMUXA.d.ts.map
78
+ //# sourceMappingURL=types-B8seugmc.d.ts.map
@@ -1,2 +1,2 @@
1
- import { t as wowToken } from "../index-BJYdOuJB2.js";
1
+ import { t as wowToken } from "../index-DmsrBtug2.js";
2
2
  export { wowToken };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/wow-token/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { WowTokenResponse } from './types';\n\n/**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\nexport function wowToken(): Resource<WowTokenResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/token/index`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,WAAuC;CACrD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;EACtB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/wow-token/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { WowTokenResponse } from './types';\n\n/**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\nexport function wowToken(): Resource<WowTokenResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/token/index`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,WAAuC;CACrD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blizzard-api/wow",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "license": "MIT",
5
5
  "author": "Putro",
6
6
  "description": "A series of helpers to interact with the World of Warcraft Blizzard API",