@blizzard-api/wow 4.0.3 → 4.0.5

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-BuORTLmA.d.ts → index-05bWHuw-.d.ts} +1 -1
  59. package/dist/{index-Do1l3j1C.d.ts → index-0KWdApHb.d.ts} +86 -5
  60. package/dist/{index-DxEXkR_n.d.ts → index-24YHmaTw.d.ts} +1 -1
  61. package/dist/{index-DwuFoDTp.d.ts → index-B0pIiKpC.d.ts} +1 -1
  62. package/dist/{index-CS_QQdEk.d.ts → index-B9uroXnG.d.ts} +1 -1
  63. package/dist/{index-B_OrLUY42.d.ts → index-BBahOBQS2.d.ts} +1 -1
  64. package/dist/{index-DvzdYkdL.d.ts → index-BCTRyOrp.d.ts} +1 -1
  65. package/dist/{index--WL1Ol2r.d.ts → index-BFxvElZH.d.ts} +1 -1
  66. package/dist/{index-CMDZfaJk.d.ts → index-BHXdopzk.d.ts} +1 -1
  67. package/dist/{index-C9JT3jCN2.d.ts → index-BHkqRbxC2.d.ts} +1 -1
  68. package/dist/{index-J46u_PSy2.d.ts → index-BIrIv_Mr2.d.ts} +1 -1
  69. package/dist/{index-BlLUJk4H2.d.ts → index-BVs6hQne2.d.ts} +1 -1
  70. package/dist/{index-D8aCcItd2.d.ts → index-BZ9PVBO42.d.ts} +1 -1
  71. package/dist/{index-DLD2tbdk.d.ts → index-BZGjFMiI.d.ts} +1 -1
  72. package/dist/{index-DpfeUoRy.d.ts → index-BdXHZTxx.d.ts} +1 -1
  73. package/dist/{index-m4fmIRKg.d.ts → index-Bi9pHkMB.d.ts} +1 -1
  74. package/dist/{index-C2BXkcO8.d.ts → index-BnsJ8vCj.d.ts} +1 -1
  75. package/dist/{index-2xjdPrIp.d.ts → index-Bp_Jo2ZI.d.ts} +1 -1
  76. package/dist/{index-BgkVcJkr2.d.ts → index-C-__dzSH2.d.ts} +1 -1
  77. package/dist/{index-DJZZaqMF.d.ts → index-C-ahBWds.d.ts} +1 -1
  78. package/dist/{index-CWFif_SP2.d.ts → index-C4RC7NKV2.d.ts} +1 -1
  79. package/dist/{index-DScltfEW.d.ts → index-C6-v9cSm.d.ts} +1 -1
  80. package/dist/{index-LhUh1Lk5.d.ts → index-C8bInskh.d.ts} +1 -1
  81. package/dist/{index-0hpJYoWw.d.ts → index-C95i4KEl.d.ts} +1 -1
  82. package/dist/{index-CH3CudPP.d.ts → index-CG0HaW0R.d.ts} +2 -2
  83. package/dist/{index-DiU4f1cd2.d.ts → index-CHD7afgy2.d.ts} +1 -1
  84. package/dist/{index-CmJhDVVk.d.ts → index-CJQWVNOh.d.ts} +1 -1
  85. package/dist/{index-fbBIJXcV.d.ts → index-CQMbPrgO.d.ts} +1 -1
  86. package/dist/{index-h17WWDmt.d.ts → index-CisDEinP.d.ts} +1 -1
  87. package/dist/{index-Dzfv2QaX.d.ts → index-ClW6ore3.d.ts} +1 -1
  88. package/dist/{index-DZqv9GTd.d.ts → index-D-1IeDEi.d.ts} +2 -2
  89. package/dist/{index-B-v4jmT8.d.ts → index-D25lQ0kF.d.ts} +1 -1
  90. package/dist/{index-BM5t9AbX2.d.ts → index-D6FwaRSR2.d.ts} +1 -1
  91. package/dist/{index-DlPApY0x.d.ts → index-D95DK7_R.d.ts} +1 -1
  92. package/dist/{index-CP1gTrDv.d.ts → index-DAV45_yW.d.ts} +5 -5
  93. package/dist/{index-BUSzkCHP2.d.ts → index-DKHxlYyp2.d.ts} +1 -1
  94. package/dist/{index-ZAJGdEvm.d.ts → index-DKUy2rnt.d.ts} +1 -1
  95. package/dist/{index-BOz0BCUN2.d.ts → index-DMt_YLrb2.d.ts} +1 -1
  96. package/dist/{index-SfMQ7bBi2.d.ts → index-DVrM4YtC2.d.ts} +1 -1
  97. package/dist/{index-BXawY6VA2.d.ts → index-DaGLTQJn2.d.ts} +1 -1
  98. package/dist/{index-CJSqSpru.d.ts → index-Dbd6X4HH.d.ts} +1 -1
  99. package/dist/{index-ChVDi11Z.d.ts → index-DiTdypID.d.ts} +1 -1
  100. package/dist/{index-DDHIN-u0.d.ts → index-DlGt3yoG.d.ts} +1 -1
  101. package/dist/{index-BAx6xlRe.d.ts → index-DlrB4osj.d.ts} +1 -1
  102. package/dist/{index-Xyv-CG_n.d.ts → index-DnPAvTnr.d.ts} +1 -1
  103. package/dist/{index-BcKDDvwF.d.ts → index-Dz1ROyfl.d.ts} +1 -1
  104. package/dist/{index-fn_f7xiC.d.ts → index-H3YlIpbK.d.ts} +1 -1
  105. package/dist/{index-DugS9-SV2.d.ts → index-KLfmlscW2.d.ts} +1 -1
  106. package/dist/{index-BWGWNZX7.d.ts → index-NuMhTMwW.d.ts} +1 -1
  107. package/dist/{index-Bd_PavJU.d.ts → index-UnB5HEVd.d.ts} +1 -1
  108. package/dist/{index-DlkM3Nrw2.d.ts → index-s-cdLa6h2.d.ts} +1 -1
  109. package/dist/{index-Cto5KQ-A2.d.ts → index-tMR2Nejl2.d.ts} +1 -1
  110. package/dist/{index-BJYdOuJB2.d.ts → index-tq0i3Iy82.d.ts} +1 -1
  111. package/dist/{index-Awzmubcb2.d.ts → index-uqkeYZqW2.d.ts} +1 -1
  112. package/dist/index.d.ts +57 -57
  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 -1
  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-DHns9J6w.d.ts} +1 -1
  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/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-BIrIv_Mr2.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-D6FwaRSR2.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-DKHxlYyp2.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-BHkqRbxC2.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-C4RC7NKV2.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-KLfmlscW2.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-BVs6hQne2.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-C-__dzSH2.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-DaGLTQJn2.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,4 +1,4 @@
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-DHns9J6w.js";
2
2
  import { Resource } from "@blizzard-api/core";
3
3
 
4
4
  //#region src/realm/index.d.ts
@@ -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-Bp_Jo2ZI.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-DVrM4YtC2.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-tMR2Nejl2.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-DMt_YLrb2.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-BBahOBQS2.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-CHD7afgy2.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-s-cdLa6h2.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"}
@@ -76,4 +76,4 @@ interface RealmSearchResponseItem extends KeyBase {
76
76
  }
77
77
  //#endregion
78
78
  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
79
+ //# sourceMappingURL=types-DHns9J6w.d.ts.map
@@ -1,2 +1,2 @@
1
- import { t as wowToken } from "../index-BJYdOuJB2.js";
1
+ import { t as wowToken } from "../index-tq0i3Iy82.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.3",
3
+ "version": "4.0.5",
4
4
  "license": "MIT",
5
5
  "author": "Putro",
6
6
  "description": "A series of helpers to interact with the World of Warcraft Blizzard API",