@blizzard-api/wow 3.0.6 → 4.0.1

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 (224) hide show
  1. package/dist/account-profile/index.d.ts +2 -0
  2. package/dist/account-profile/index.js +104 -0
  3. package/dist/account-profile/index.js.map +1 -0
  4. package/dist/achievements/index.d.ts +2 -0
  5. package/dist/achievements/index.js +61 -0
  6. package/dist/achievements/index.js.map +1 -0
  7. package/dist/auction-house/index.d.ts +2 -0
  8. package/dist/auction-house/index.js +27 -0
  9. package/dist/auction-house/index.js.map +1 -0
  10. package/dist/azerite-essence/index.d.ts +2 -0
  11. package/dist/azerite-essence/index.js +54 -0
  12. package/dist/azerite-essence/index.js.map +1 -0
  13. package/dist/character-achievements/index.d.ts +2 -0
  14. package/dist/character-achievements/index.js +28 -0
  15. package/dist/character-achievements/index.js.map +1 -0
  16. package/dist/character-appearance/index.d.ts +2 -0
  17. package/dist/character-appearance/index.js +16 -0
  18. package/dist/character-appearance/index.js.map +1 -0
  19. package/dist/character-collections/index.d.ts +2 -0
  20. package/dist/character-collections/index.js +72 -0
  21. package/dist/character-collections/index.js.map +1 -0
  22. package/dist/character-encounters/index.d.ts +2 -0
  23. package/dist/character-encounters/index.js +39 -0
  24. package/dist/character-encounters/index.js.map +1 -0
  25. package/dist/character-equipment/index.d.ts +2 -0
  26. package/dist/character-equipment/index.js +16 -0
  27. package/dist/character-equipment/index.js.map +1 -0
  28. package/dist/character-hunter-pets/index.d.ts +2 -0
  29. package/dist/character-hunter-pets/index.js +17 -0
  30. package/dist/character-hunter-pets/index.js.map +1 -0
  31. package/dist/character-media/index.d.ts +2 -0
  32. package/dist/character-media/index.js +16 -0
  33. package/dist/character-media/index.js.map +1 -0
  34. package/dist/character-mythic-keystone-profile/index.d.ts +2 -0
  35. package/dist/character-mythic-keystone-profile/index.js +30 -0
  36. package/dist/character-mythic-keystone-profile/index.js.map +1 -0
  37. package/dist/character-professions/index.d.ts +2 -0
  38. package/dist/character-professions/index.js +16 -0
  39. package/dist/character-professions/index.js.map +1 -0
  40. package/dist/character-profile/index.d.ts +2 -0
  41. package/dist/character-profile/index.js +39 -0
  42. package/dist/character-profile/index.js.map +1 -0
  43. package/dist/character-pvp/index.d.ts +2 -0
  44. package/dist/character-pvp/index.js +28 -0
  45. package/dist/character-pvp/index.js.map +1 -0
  46. package/dist/character-quests/index.d.ts +2 -0
  47. package/dist/character-quests/index.js +27 -0
  48. package/dist/character-quests/index.js.map +1 -0
  49. package/dist/character-reputations/index.d.ts +2 -0
  50. package/dist/character-reputations/index.js +16 -0
  51. package/dist/character-reputations/index.js.map +1 -0
  52. package/dist/character-soulbinds/index.d.ts +2 -0
  53. package/dist/character-soulbinds/index.js +16 -0
  54. package/dist/character-soulbinds/index.js.map +1 -0
  55. package/dist/character-specializations/index.d.ts +2 -0
  56. package/dist/character-specializations/index.js +16 -0
  57. package/dist/character-specializations/index.js.map +1 -0
  58. package/dist/character-statistics/index.d.ts +2 -0
  59. package/dist/character-statistics/index.js +16 -0
  60. package/dist/character-statistics/index.js.map +1 -0
  61. package/dist/character-titles/index.d.ts +2 -0
  62. package/dist/character-titles/index.js +16 -0
  63. package/dist/character-titles/index.js.map +1 -0
  64. package/dist/connected-realm/index.d.ts +2 -0
  65. package/dist/connected-realm/index.js +44 -0
  66. package/dist/connected-realm/index.js.map +1 -0
  67. package/dist/covenant/index.d.ts +2 -0
  68. package/dist/covenant/index.js +80 -0
  69. package/dist/covenant/index.js.map +1 -0
  70. package/dist/creature/index.d.ts +2 -0
  71. package/dist/creature/index.js +97 -0
  72. package/dist/creature/index.js.map +1 -0
  73. package/dist/guild/index.d.ts +2 -0
  74. package/dist/guild/index.js +50 -0
  75. package/dist/guild/index.js.map +1 -0
  76. package/dist/guild-crest/index.d.ts +2 -0
  77. package/dist/guild-crest/index.js +38 -0
  78. package/dist/guild-crest/index.js.map +1 -0
  79. package/dist/heirloom/index.d.ts +2 -0
  80. package/dist/heirloom/index.js +27 -0
  81. package/dist/heirloom/index.js.map +1 -0
  82. package/dist/housing-decor/index.d.ts +2 -0
  83. package/dist/housing-decor/index.js +155 -0
  84. package/dist/housing-decor/index.js.map +1 -0
  85. package/dist/index--WL1Ol2r.d.ts +192 -0
  86. package/dist/index-0hpJYoWw.d.ts +86 -0
  87. package/dist/index-2xjdPrIp.d.ts +34 -0
  88. package/dist/index-8go905Or2.d.ts +46 -0
  89. package/dist/index-B-v4jmT8.d.ts +120 -0
  90. package/dist/index-BAx6xlRe.d.ts +43 -0
  91. package/dist/index-BJYdOuJB2.d.ts +21 -0
  92. package/dist/index-BM5t9AbX2.d.ts +72 -0
  93. package/dist/index-BOz0BCUN2.d.ts +233 -0
  94. package/dist/index-BUSzkCHP2.d.ts +38 -0
  95. package/dist/index-BWGWNZX7.d.ts +62 -0
  96. package/dist/index-BXawY6VA2.d.ts +150 -0
  97. package/dist/index-B_OrLUY42.d.ts +102 -0
  98. package/dist/index-BcKDDvwF.d.ts +85 -0
  99. package/dist/index-Bd_PavJU.d.ts +56 -0
  100. package/dist/index-BgkVcJkr2.d.ts +60 -0
  101. package/dist/index-BuORTLmA.d.ts +29 -0
  102. package/dist/index-C2BXkcO8.d.ts +36 -0
  103. package/dist/index-C9JT3jCN2.d.ts +77 -0
  104. package/dist/index-CE4iGLJf2.d.ts +128 -0
  105. package/dist/index-CH3CudPP.d.ts +91 -0
  106. package/dist/index-CJSqSpru.d.ts +145 -0
  107. package/dist/index-CMDZfaJk.d.ts +161 -0
  108. package/dist/index-CP1gTrDv.d.ts +312 -0
  109. package/dist/index-CQXTvcKu2.d.ts +72 -0
  110. package/dist/index-CS_QQdEk.d.ts +22 -0
  111. package/dist/index-CWFif_SP2.d.ts +31 -0
  112. package/dist/index-ChVDi11Z.d.ts +54 -0
  113. package/dist/index-CmJhDVVk.d.ts +157 -0
  114. package/dist/index-Cry2-cm82.d.ts +123 -0
  115. package/dist/index-Cto5KQ-A2.d.ts +71 -0
  116. package/dist/index-D9u-Oxk6.d.ts +69 -0
  117. package/dist/index-DDHIN-u0.d.ts +36 -0
  118. package/dist/index-DJZZaqMF.d.ts +66 -0
  119. package/dist/index-DLD2tbdk.d.ts +68 -0
  120. package/dist/index-DScltfEW.d.ts +89 -0
  121. package/dist/index-DZqv9GTd.d.ts +125 -0
  122. package/dist/index-DiU4f1cd2.d.ts +45 -0
  123. package/dist/index-DlkM3Nrw2.d.ts +45 -0
  124. package/dist/index-Do1l3j1C.d.ts +283 -0
  125. package/dist/index-DpfeUoRy.d.ts +149 -0
  126. package/dist/index-DvzdYkdL.d.ts +89 -0
  127. package/dist/index-DwuFoDTp.d.ts +159 -0
  128. package/dist/index-DxEXkR_n.d.ts +81 -0
  129. package/dist/index-Dzfv2QaX.d.ts +65 -0
  130. package/dist/index-J46u_PSy2.d.ts +117 -0
  131. package/dist/index-LhUh1Lk5.d.ts +30 -0
  132. package/dist/index-SfMQ7bBi2.d.ts +86 -0
  133. package/dist/index-Xyv-CG_n.d.ts +160 -0
  134. package/dist/index-ZAJGdEvm.d.ts +102 -0
  135. package/dist/index-fbBIJXcV.d.ts +69 -0
  136. package/dist/index-fn_f7xiC.d.ts +21 -0
  137. package/dist/index-h17WWDmt.d.ts +118 -0
  138. package/dist/index-m4fmIRKg.d.ts +35 -0
  139. package/dist/index.d.ts +69 -4738
  140. package/dist/index.js +68 -2137
  141. package/dist/index.js.map +1 -1
  142. package/dist/item/index.d.ts +2 -0
  143. package/dist/item/index.js +98 -0
  144. package/dist/item/index.js.map +1 -0
  145. package/dist/journal/index.d.ts +2 -0
  146. package/dist/journal/index.js +96 -0
  147. package/dist/journal/index.js.map +1 -0
  148. package/dist/media-search/index.d.ts +2 -0
  149. package/dist/media-search/index.js +22 -0
  150. package/dist/media-search/index.js.map +1 -0
  151. package/dist/modified-crafting/index.d.ts +2 -0
  152. package/dist/modified-crafting/index.js +58 -0
  153. package/dist/modified-crafting/index.js.map +1 -0
  154. package/dist/mount/index.d.ts +2 -0
  155. package/dist/mount/index.js +43 -0
  156. package/dist/mount/index.js.map +1 -0
  157. package/dist/mythic-keystone-affix/index.d.ts +2 -0
  158. package/dist/mythic-keystone-affix/index.js +38 -0
  159. package/dist/mythic-keystone-affix/index.js.map +1 -0
  160. package/dist/mythic-keystone-dungeon/index.d.ts +2 -0
  161. package/dist/mythic-keystone-dungeon/index.js +79 -0
  162. package/dist/mythic-keystone-dungeon/index.js.map +1 -0
  163. package/dist/mythic-keystone-leaderboard/index.d.ts +2 -0
  164. package/dist/mythic-keystone-leaderboard/index.js +30 -0
  165. package/dist/mythic-keystone-leaderboard/index.js.map +1 -0
  166. package/dist/mythic-raid-leaderboard/index.d.ts +2 -0
  167. package/dist/mythic-raid-leaderboard/index.js +18 -0
  168. package/dist/mythic-raid-leaderboard/index.js.map +1 -0
  169. package/dist/pet/index.d.ts +2 -0
  170. package/dist/pet/index.js +70 -0
  171. package/dist/pet/index.js.map +1 -0
  172. package/dist/playable-class/index.d.ts +2 -0
  173. package/dist/playable-class/index.js +49 -0
  174. package/dist/playable-class/index.js.map +1 -0
  175. package/dist/playable-race/index.d.ts +2 -0
  176. package/dist/playable-race/index.js +27 -0
  177. package/dist/playable-race/index.js.map +1 -0
  178. package/dist/playable-specialization/index.d.ts +2 -0
  179. package/dist/playable-specialization/index.js +38 -0
  180. package/dist/playable-specialization/index.js.map +1 -0
  181. package/dist/power-type/index.d.ts +2 -0
  182. package/dist/power-type/index.js +27 -0
  183. package/dist/power-type/index.js.map +1 -0
  184. package/dist/profession/index.d.ts +2 -0
  185. package/dist/profession/index.js +72 -0
  186. package/dist/profession/index.js.map +1 -0
  187. package/dist/pvp-season/index.d.ts +2 -0
  188. package/dist/pvp-season/index.js +61 -0
  189. package/dist/pvp-season/index.js.map +1 -0
  190. package/dist/pvp-tier/index.d.ts +2 -0
  191. package/dist/pvp-tier/index.js +38 -0
  192. package/dist/pvp-tier/index.js.map +1 -0
  193. package/dist/quest/index.d.ts +2 -0
  194. package/dist/quest/index.js +90 -0
  195. package/dist/quest/index.js.map +1 -0
  196. package/dist/realm/index.d.ts +24 -0
  197. package/dist/realm/index.js +43 -0
  198. package/dist/realm/index.js.map +1 -0
  199. package/dist/region/index.d.ts +2 -0
  200. package/dist/region/index.js +27 -0
  201. package/dist/region/index.js.map +1 -0
  202. package/dist/reputations/index.d.ts +2 -0
  203. package/dist/reputations/index.js +48 -0
  204. package/dist/reputations/index.js.map +1 -0
  205. package/dist/spell/index.d.ts +2 -0
  206. package/dist/spell/index.js +44 -0
  207. package/dist/spell/index.js.map +1 -0
  208. package/dist/talent/index.d.ts +2 -0
  209. package/dist/talent/index.js +81 -0
  210. package/dist/talent/index.js.map +1 -0
  211. package/dist/tech-talent/index.d.ts +2 -0
  212. package/dist/tech-talent/index.js +59 -0
  213. package/dist/tech-talent/index.js.map +1 -0
  214. package/dist/title/index.d.ts +2 -0
  215. package/dist/title/index.js +27 -0
  216. package/dist/title/index.js.map +1 -0
  217. package/dist/toy/index.d.ts +2 -0
  218. package/dist/toy/index.js +27 -0
  219. package/dist/toy/index.js.map +1 -0
  220. package/dist/types-Z0ZgMUXA.d.ts +79 -0
  221. package/dist/wow-token/index.d.ts +2 -0
  222. package/dist/wow-token/index.js +16 -0
  223. package/dist/wow-token/index.js.map +1 -0
  224. package/package.json +16 -7
@@ -0,0 +1,159 @@
1
+ import { BaseSearchParameters, KeyBase, Locales, MediaAsset, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
+
3
+ //#region src/creature/types.d.ts
4
+ /**
5
+ * The response for creature display media.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface CreatureDisplayMediaResponse extends ResponseBase {
9
+ assets: Array<DisplayMediaAsset>;
10
+ id: number;
11
+ }
12
+ /**
13
+ * The response for a creature family index.
14
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
15
+ */
16
+ interface CreatureFamilyIndexResponse extends ResponseBase {
17
+ creature_families: Array<NameIdKey>;
18
+ }
19
+ /**
20
+ * The response for creature family media.
21
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
22
+ */
23
+ interface CreatureFamilyMediaResponse extends ResponseBase {
24
+ assets: Array<MediaAsset>;
25
+ id: number;
26
+ }
27
+ /**
28
+ * The response for a creature family.
29
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
30
+ */
31
+ interface CreatureFamilyResponse extends ResponseBase {
32
+ id: number;
33
+ media: Media;
34
+ name: string;
35
+ specialization: NameIdKey;
36
+ }
37
+ /**
38
+ * The response for a creature.
39
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
40
+ */
41
+ interface CreatureResponse extends ResponseBase {
42
+ creature_displays: Array<CreatureDisplay>;
43
+ family: NameIdKey;
44
+ id: number;
45
+ is_tameable: boolean;
46
+ name: string;
47
+ type: NameIdKey;
48
+ }
49
+ /**
50
+ * The search parameters for a creature.
51
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
52
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
53
+ */
54
+ interface CreatureSearchParameters extends BaseSearchParameters {
55
+ locale: Locales;
56
+ name: string;
57
+ }
58
+ /**
59
+ * The response for a creature search.
60
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
61
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
62
+ */
63
+ interface CreatureSearchResponse extends SearchResponseWithoutResults {
64
+ results: Array<CreatureSearchResponseItem>;
65
+ }
66
+ /**
67
+ * The response for a creature type index.
68
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
69
+ */
70
+ interface CreatureTypeIndexResponse extends ResponseBase {
71
+ creature_types: Array<NameIdKey>;
72
+ }
73
+ /**
74
+ * The response for a creature type.
75
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
76
+ */
77
+ interface CreatureTypeResponse extends ResponseBase {
78
+ id: number;
79
+ name: string;
80
+ }
81
+ interface CreatureDisplay extends KeyBase {
82
+ id: number;
83
+ }
84
+ interface CreatureSearchResponseItem extends KeyBase {
85
+ data: {
86
+ creature_displays: Array<{
87
+ id: number;
88
+ }>;
89
+ family?: {
90
+ id: number;
91
+ name: Record<Locales, string>;
92
+ };
93
+ id: number;
94
+ is_tameable: boolean;
95
+ name: Record<Locales, string | undefined>;
96
+ type: {
97
+ id: number;
98
+ name: Record<Locales, string>;
99
+ };
100
+ };
101
+ }
102
+ interface DisplayMediaAsset {
103
+ key: string;
104
+ value: string;
105
+ }
106
+ interface Media extends KeyBase {
107
+ id: number;
108
+ }
109
+ //#endregion
110
+ //#region src/creature/index.d.ts
111
+ /**
112
+ * Get a creature by ID.
113
+ * @param creatureId The creature ID.
114
+ * @returns The creature. See {@link CreatureResponse}.
115
+ */
116
+ declare function creature(creatureId: number): Resource<CreatureResponse>;
117
+ /**
118
+ * Get creature display media by ID.
119
+ * @param creatureDisplayId The creature display ID.
120
+ * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.
121
+ */
122
+ declare function creatureDisplayMedia(creatureDisplayId: number): Resource<CreatureDisplayMediaResponse>;
123
+ /**
124
+ * Get a creature family by ID.
125
+ * @param creatureFamilyId The creature family ID.
126
+ * @returns The creature family. See {@link CreatureFamilyResponse}.
127
+ */
128
+ declare function creatureFamily(creatureFamilyId: number): Resource<CreatureFamilyResponse>;
129
+ /**
130
+ * Get a creature family index.
131
+ * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.
132
+ */
133
+ declare function creatureFamilyIndex(): Resource<CreatureFamilyIndexResponse>;
134
+ /**
135
+ * Get creature family media by ID.
136
+ * @param creatureFamilyId The creature family ID.
137
+ * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.
138
+ */
139
+ declare function creatureFamilyMedia(creatureFamilyId: number): Resource<CreatureFamilyMediaResponse>;
140
+ /**
141
+ * Search for creatures.
142
+ * @param options The creature search parameters. See {@link CreatureSearchParameters}.
143
+ * @returns The creature search results. See {@link CreatureSearchResponse}.
144
+ */
145
+ declare function creatureSearch(options: CreatureSearchParameters): Resource<CreatureSearchResponse, Omit<CreatureSearchParameters, 'locale' | 'name'>>;
146
+ /**
147
+ * Get a creature type by ID.
148
+ * @param creatureTypeId The creature type ID.
149
+ * @returns The creature type. See {@link CreatureTypeResponse}.
150
+ */
151
+ declare function creatureType(creatureTypeId: number): Resource<CreatureTypeResponse>;
152
+ /**
153
+ * Get a creature type index.
154
+ * @returns The creature type index. See {@link CreatureTypeIndexResponse}.
155
+ */
156
+ declare function creatureTypeIndex(): Resource<CreatureTypeIndexResponse>;
157
+ //#endregion
158
+ export { CreatureTypeResponse as _, creatureFamilyMedia as a, creatureTypeIndex as c, CreatureFamilyMediaResponse as d, CreatureFamilyResponse as f, CreatureTypeIndexResponse as g, CreatureSearchResponse as h, creatureFamilyIndex as i, CreatureDisplayMediaResponse as l, CreatureSearchParameters as m, creatureDisplayMedia as n, creatureSearch as o, CreatureResponse as p, creatureFamily as r, creatureType as s, creature as t, CreatureFamilyIndexResponse as u };
159
+ //# sourceMappingURL=index-DwuFoDTp.d.ts.map
@@ -0,0 +1,81 @@
1
+ import { Href, KeyBase, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/modified-crafting/types.d.ts
4
+ /**
5
+ * The response for a modified crafting category index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface ModifiedCraftingCategoryIndexResponse extends ResponseBase {
9
+ categories: Array<KeyBase & {
10
+ id: number;
11
+ name?: null | string;
12
+ }>;
13
+ }
14
+ /**
15
+ * The response for a modified crafting category.
16
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
17
+ */
18
+ interface ModifiedCraftingCategoryResponse extends ResponseBase {
19
+ id: number;
20
+ name?: string;
21
+ }
22
+ /**
23
+ * The response for a modified crafting index.
24
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
25
+ */
26
+ interface ModifiedCraftingIndexResponse extends ResponseBase {
27
+ categories: Href;
28
+ slot_types: Href;
29
+ }
30
+ /**
31
+ * The response for a modified crafting reagent slot type index.
32
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
33
+ */
34
+ interface ModifiedCraftingReagentSlotTypeIndexResponse extends ResponseBase {
35
+ slot_types: Array<SlotType>;
36
+ }
37
+ /**
38
+ * The response for a modified crafting reagent slot type.
39
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
40
+ */
41
+ interface ModifiedCraftingReagentSlotTypeResponse extends ResponseBase {
42
+ compatible_categories: Array<NameIdKey>;
43
+ description: string;
44
+ id: number;
45
+ }
46
+ interface SlotType extends KeyBase {
47
+ id: number;
48
+ name?: null | string;
49
+ }
50
+ //#endregion
51
+ //#region src/modified-crafting/index.d.ts
52
+ /**
53
+ * Get a modified crafting category by ID.
54
+ * @param modifiedCraftingCategoryId The modified crafting category ID.
55
+ * @returns The modified crafting category. See {@link ModifiedCraftingCategoryResponse}.
56
+ */
57
+ declare function modifiedCraftingCategory(modifiedCraftingCategoryId: number): Resource<ModifiedCraftingCategoryResponse>;
58
+ /**
59
+ * Get a modified crafting category index.
60
+ * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.
61
+ */
62
+ declare function modifiedCraftingCategoryIndex(): Resource<ModifiedCraftingCategoryIndexResponse>;
63
+ /**
64
+ * Get a modified crafting index.
65
+ * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.
66
+ */
67
+ declare function modifiedCraftingIndex(): Resource<ModifiedCraftingIndexResponse>;
68
+ /**
69
+ * Get a modified crafting reagent slot type by ID.
70
+ * @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID.
71
+ * @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}.
72
+ */
73
+ declare function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId: number): Resource<ModifiedCraftingReagentSlotTypeResponse>;
74
+ /**
75
+ * Get a modified crafting reagent slot type index.
76
+ * @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}.
77
+ */
78
+ declare function modifiedCraftingReagentSlotTypeIndex(): Resource<ModifiedCraftingReagentSlotTypeIndexResponse>;
79
+ //#endregion
80
+ export { modifiedCraftingReagentSlotTypeIndex as a, ModifiedCraftingIndexResponse as c, modifiedCraftingReagentSlotType as i, ModifiedCraftingReagentSlotTypeIndexResponse as l, modifiedCraftingCategoryIndex as n, ModifiedCraftingCategoryIndexResponse as o, modifiedCraftingIndex as r, ModifiedCraftingCategoryResponse as s, modifiedCraftingCategory as t, ModifiedCraftingReagentSlotTypeResponse as u };
81
+ //# sourceMappingURL=index-DxEXkR_n.d.ts.map
@@ -0,0 +1,65 @@
1
+ import { Character, Color, KeyBase, NameId, NameIdKey, Realm, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/character-mythic-keystone-profile/types.d.ts
4
+ interface CharacterMythicKeystoneProfileIndexResponse extends ResponseBase {
5
+ character: Character;
6
+ current_period: CurrentPeriod;
7
+ seasons: Array<KeyBase & {
8
+ id: number;
9
+ }>;
10
+ }
11
+ interface CharacterMythicKeystoneSeasonDetailsResponse extends ResponseBase {
12
+ best_runs: Array<BestRun>;
13
+ character: Character;
14
+ mythic_rating: MythicRating;
15
+ season: KeyBase & {
16
+ id: number;
17
+ };
18
+ }
19
+ interface BestRun {
20
+ completed_timestamp: number;
21
+ dungeon: NameIdKey;
22
+ duration: number;
23
+ is_completed_within_time: boolean;
24
+ keystone_affixes: Array<NameIdKey>;
25
+ keystone_level: number;
26
+ members: Array<Member>;
27
+ mythic_rating: MythicRating;
28
+ }
29
+ interface CurrentPeriod {
30
+ period: KeyBase & {
31
+ id: number;
32
+ };
33
+ }
34
+ interface Member {
35
+ character: NameId & {
36
+ realm: Realm;
37
+ };
38
+ equipped_item_level: number;
39
+ race: NameIdKey;
40
+ specialization: NameIdKey;
41
+ }
42
+ interface MythicRating {
43
+ color: Color;
44
+ rating: number;
45
+ }
46
+ //#endregion
47
+ //#region src/character-mythic-keystone-profile/index.d.ts
48
+ /**
49
+ * @param realmSlug The slug of the realm.
50
+ * @param characterName The lowercase name of the character.
51
+ * @returns Returns the Mythic Keystone season details for a character. Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
52
+ */
53
+ declare function characterMythicKeystoneProfileIndex(realmSlug: string, characterName: string): Resource<CharacterMythicKeystoneProfileIndexResponse>;
54
+ /**
55
+ * Returns the Mythic Keystone season details for a character.
56
+ * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
57
+ * @param realmSlug The slug of the realm.
58
+ * @param characterName The lowercase name of the character.
59
+ * @param seasonId The ID of the season.
60
+ * @returns the Mythic Keystone season details for a character.
61
+ */
62
+ declare function characterMythicKeystoneSeasonDetails(realmSlug: string, characterName: string, seasonId: number): Resource<CharacterMythicKeystoneSeasonDetailsResponse>;
63
+ //#endregion
64
+ export { CharacterMythicKeystoneSeasonDetailsResponse as i, characterMythicKeystoneSeasonDetails as n, CharacterMythicKeystoneProfileIndexResponse as r, characterMythicKeystoneProfileIndex as t };
65
+ //# sourceMappingURL=index-Dzfv2QaX.d.ts.map
@@ -0,0 +1,117 @@
1
+ import { KeyBase, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/pet/types.d.ts
4
+ /**
5
+ * The response for a pet ability index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface PetAbilityIndexResponse extends ResponseBase {
9
+ abilities: Array<NullishNameIdKey>;
10
+ }
11
+ /**
12
+ * The response for a pet ability media.
13
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
14
+ */
15
+ interface PetAbilityMediaResponse extends ResponseBase {
16
+ assets: Array<MediaAsset>;
17
+ id: number;
18
+ }
19
+ /**
20
+ * The response for a pet ability.
21
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
22
+ */
23
+ interface PetAbilityResponse extends NameId, ResponseBase {
24
+ battle_pet_type: BattlePetType;
25
+ cooldown?: number;
26
+ media: Media;
27
+ rounds: number;
28
+ }
29
+ /**
30
+ * The response for a pet index.
31
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
32
+ */
33
+ interface PetIndexResponse extends ResponseBase {
34
+ pets: Array<NullishNameIdKey>;
35
+ }
36
+ /**
37
+ * The response for a pet search.
38
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
39
+ */
40
+ interface PetMediaResponse extends ResponseBase {
41
+ assets: Array<MediaAsset>;
42
+ id: number;
43
+ }
44
+ /**
45
+ * The response for a pet.
46
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
47
+ */
48
+ interface PetResponse extends NameId, ResponseBase {
49
+ abilities?: Array<Ability>;
50
+ battle_pet_type: BattlePetType;
51
+ creature: NameIdKey;
52
+ description: null | string;
53
+ icon: string;
54
+ is_alliance_only: boolean;
55
+ is_battlepet: boolean;
56
+ is_capturable: boolean;
57
+ is_horde_only: boolean;
58
+ is_random_creature_display: boolean;
59
+ is_tradable: boolean;
60
+ media: Media;
61
+ should_exclude_if_uncollected?: boolean;
62
+ source?: Source;
63
+ }
64
+ interface Ability {
65
+ ability: NameIdKey;
66
+ required_level: number;
67
+ slot: number;
68
+ }
69
+ interface BattlePetType extends NameId {
70
+ type: string;
71
+ }
72
+ interface Media extends KeyBase {
73
+ id: number;
74
+ }
75
+ interface Source {
76
+ name: string;
77
+ type: string;
78
+ }
79
+ //#endregion
80
+ //#region src/pet/index.d.ts
81
+ /**
82
+ * Get a pet by ID.
83
+ * @param petId The pet ID.
84
+ * @returns The pet. See {@link PetResponse}.
85
+ */
86
+ declare function pet(petId: number): Resource<PetResponse>;
87
+ /**
88
+ * Get a pet ability by ID.
89
+ * @param petAbilityId The pet ability ID.
90
+ * @returns The pet ability. See {@link PetAbilityResponse}.
91
+ */
92
+ declare function petAbility(petAbilityId: number): Resource<PetAbilityResponse>;
93
+ /**
94
+ * Get a pet ability index.
95
+ * @returns The pet ability index. See {@link PetAbilityIndexResponse}.
96
+ */
97
+ declare function petAbilityIndex(): Resource<PetAbilityIndexResponse>;
98
+ /**
99
+ * Get a pet ability media by ID.
100
+ * @param petAbilityId The pet ability ID.
101
+ * @returns The pet ability media. See {@link PetAbilityMediaResponse}.
102
+ */
103
+ declare function petAbilityMedia(petAbilityId: number): Resource<PetAbilityMediaResponse>;
104
+ /**
105
+ * Get a pet index.
106
+ * @returns The pet index. See {@link PetIndexResponse}.
107
+ */
108
+ declare function petIndex(): Resource<PetIndexResponse>;
109
+ /**
110
+ * Get a pet media by ID.
111
+ * @param petId The pet ID.
112
+ * @returns The pet media. See {@link PetMediaResponse}.
113
+ */
114
+ declare function petMedia(petId: number): Resource<PetMediaResponse>;
115
+ //#endregion
116
+ export { petIndex as a, PetAbilityMediaResponse as c, PetMediaResponse as d, PetResponse as f, petAbilityMedia as i, PetAbilityResponse as l, petAbility as n, petMedia as o, petAbilityIndex as r, PetAbilityIndexResponse as s, pet as t, PetIndexResponse as u };
117
+ //# sourceMappingURL=index-J46u_PSy2.d.ts.map
@@ -0,0 +1,30 @@
1
+ import { Character, KeyBase, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/character-hunter-pets/types.d.ts
4
+ interface CharacterHunterPetsSummaryResponse extends ResponseBase {
5
+ character: Character;
6
+ hunter_pets: Array<HunterPet>;
7
+ }
8
+ interface HunterPet {
9
+ creature: NameIdKey;
10
+ creature_display: KeyBase & {
11
+ id: number;
12
+ };
13
+ is_active?: boolean;
14
+ is_summoned?: boolean;
15
+ level: number;
16
+ name: string;
17
+ slot: number;
18
+ }
19
+ //#endregion
20
+ //#region src/character-hunter-pets/index.d.ts
21
+ /**
22
+ * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
23
+ * @param realmSlug The slug of the realm.
24
+ * @param characterName The lowercase name of the character.
25
+ * @returns a summary of the character's hunter pets.
26
+ */
27
+ declare function characterHunterPetsSummary(realmSlug: string, characterName: string): Resource<CharacterHunterPetsSummaryResponse>;
28
+ //#endregion
29
+ export { CharacterHunterPetsSummaryResponse as n, characterHunterPetsSummary as t };
30
+ //# sourceMappingURL=index-LhUh1Lk5.d.ts.map
@@ -0,0 +1,86 @@
1
+ import { Faction, KeyBase, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/reputations/types.d.ts
4
+ /**
5
+ * The response for a reputation faction index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface ReputationFactionIndexResponse extends ResponseBase {
9
+ factions: Array<NullishNameIdKey>;
10
+ root_factions: Array<NameIdKey>;
11
+ }
12
+ /**
13
+ * The response for a reputation faction.
14
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
15
+ */
16
+ interface ReputationFactionResponse extends ResponseBase {
17
+ can_paragon?: boolean;
18
+ description?: string;
19
+ factions?: Array<NameIdKey>;
20
+ header_shows_bar?: boolean;
21
+ id: number;
22
+ is_header?: boolean;
23
+ is_renown?: boolean;
24
+ name: string;
25
+ player_faction?: Faction;
26
+ renown_tiers?: Array<RenownTier>;
27
+ reputation_tiers?: ReputationTier;
28
+ }
29
+ /**
30
+ * The response for a reputation tier index.
31
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
32
+ */
33
+ interface ReputationTiersIndexResponse extends ResponseBase {
34
+ reputation_tiers: Array<ReputationTier>;
35
+ }
36
+ /**
37
+ * The response for a reputation tier.
38
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
39
+ */
40
+ interface ReputationTiersResponse extends ResponseBase {
41
+ faction?: NameIdKey;
42
+ id: number;
43
+ tiers: Array<Tier>;
44
+ }
45
+ interface RenownTier {
46
+ level: number;
47
+ name: string;
48
+ rewards: Array<NameIdKey>;
49
+ }
50
+ interface ReputationTier extends KeyBase {
51
+ id: number;
52
+ name?: string;
53
+ }
54
+ interface Tier {
55
+ id: number;
56
+ max_value: number;
57
+ min_value: number;
58
+ name: string;
59
+ }
60
+ //#endregion
61
+ //#region src/reputations/index.d.ts
62
+ /**
63
+ * Get a reputation faction by ID.
64
+ * @param reputationFactionId The reputation faction ID.
65
+ * @returns The reputation faction. See {@link ReputationFactionResponse}.
66
+ */
67
+ declare function reputationFaction(reputationFactionId: number): Resource<ReputationFactionResponse>;
68
+ /**
69
+ * Get a reputation faction index.
70
+ * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.
71
+ */
72
+ declare function reputationFactionIndex(): Resource<ReputationFactionIndexResponse>;
73
+ /**
74
+ * Get a reputation tier by ID.
75
+ * @param reputationTiersId The reputation tier ID.
76
+ * @returns The reputation tier. See {@link ReputationTiersResponse}.
77
+ */
78
+ declare function reputationTiers(reputationTiersId: number): Resource<ReputationTiersResponse>;
79
+ /**
80
+ * Get a reputation tier index.
81
+ * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.
82
+ */
83
+ declare function reputationTiersIndex(): Resource<ReputationTiersIndexResponse>;
84
+ //#endregion
85
+ export { ReputationFactionIndexResponse as a, ReputationTiersResponse as c, reputationTiersIndex as i, reputationFactionIndex as n, ReputationFactionResponse as o, reputationTiers as r, ReputationTiersIndexResponse as s, reputationFaction as t };
86
+ //# sourceMappingURL=index-SfMQ7bBi2.d.ts.map
@@ -0,0 +1,160 @@
1
+ import { Character, Color, KeyBase, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/character-equipment/types.d.ts
4
+ interface CharacterEquipmentSummaryResponse extends ResponseBase {
5
+ character: Character;
6
+ equipped_item_sets?: Array<Set>;
7
+ equipped_items: Array<EquippedItem>;
8
+ }
9
+ interface Armor {
10
+ display: NameDescription;
11
+ value: number;
12
+ }
13
+ interface Damage {
14
+ damage_class: NameType;
15
+ display_string: string;
16
+ max_value: number;
17
+ min_value: number;
18
+ }
19
+ interface DisplayStrings {
20
+ copper: string;
21
+ gold: string;
22
+ header: string;
23
+ silver: string;
24
+ }
25
+ interface DisplayStringValue {
26
+ display_string: string;
27
+ value: number;
28
+ }
29
+ interface Effect {
30
+ display_string: string;
31
+ is_active?: boolean;
32
+ required_count: number;
33
+ }
34
+ interface Enchantment {
35
+ display_string: string;
36
+ enchantment_id: number;
37
+ enchantment_slot: EnchantmentSlot;
38
+ source_item?: NameIdKey;
39
+ }
40
+ interface EnchantmentSlot {
41
+ id: number;
42
+ type: string;
43
+ }
44
+ interface EquippedItem {
45
+ armor?: Armor;
46
+ binding: NameType;
47
+ bonus_list?: Array<number>;
48
+ context: number;
49
+ description?: string;
50
+ durability?: DisplayStringValue;
51
+ enchantments?: Array<Enchantment>;
52
+ inventory_type: NameType;
53
+ is_subclass_hidden?: boolean;
54
+ item: KeyBase & {
55
+ id: number;
56
+ };
57
+ item_class: NameIdKey;
58
+ item_subclass: NameIdKey;
59
+ level: DisplayStringValue;
60
+ limit_category?: string;
61
+ media: KeyBase & {
62
+ id: number;
63
+ };
64
+ modified_appearance_id?: number;
65
+ modified_crafting_stat?: Array<ModifiedCraftingStat>;
66
+ name: string;
67
+ name_description?: NameDescription;
68
+ quality: NameType;
69
+ quantity: number;
70
+ requirements?: Requirements;
71
+ sell_price?: SellPrice;
72
+ set?: Set;
73
+ slot: NameType;
74
+ sockets?: Array<Socket>;
75
+ spells?: Array<Spell>;
76
+ stats?: Array<Stat>;
77
+ transmog?: Transmog;
78
+ unique_equipped?: string;
79
+ weapon?: Weapon;
80
+ }
81
+ interface ItemElement {
82
+ is_equipped?: boolean;
83
+ item: NameIdKey;
84
+ }
85
+ interface ModifiedCraftingStat {
86
+ id: number;
87
+ name: string;
88
+ type: string;
89
+ }
90
+ interface NameDescription {
91
+ color: Color;
92
+ display_string: string;
93
+ }
94
+ interface NameType {
95
+ name: string;
96
+ type: string;
97
+ }
98
+ interface PlayableClasses {
99
+ display_string: string;
100
+ links: Array<NameIdKey>;
101
+ }
102
+ interface Requirements {
103
+ level: DisplayStringValue;
104
+ playable_classes?: PlayableClasses;
105
+ }
106
+ interface SellPrice {
107
+ display_strings: DisplayStrings;
108
+ value: number;
109
+ }
110
+ interface Set {
111
+ display_string: string;
112
+ effects: Array<Effect>;
113
+ item_set: NameIdKey;
114
+ items: Array<ItemElement>;
115
+ }
116
+ interface Socket {
117
+ context?: number;
118
+ display_color?: Color;
119
+ display_string?: string;
120
+ item?: NameIdKey;
121
+ media?: KeyBase & {
122
+ id: number;
123
+ };
124
+ socket_type: NameType;
125
+ }
126
+ interface Spell {
127
+ description: string;
128
+ display_color?: Color;
129
+ spell: NameIdKey;
130
+ }
131
+ interface Stat {
132
+ display: NameDescription;
133
+ is_equip_bonus?: boolean;
134
+ is_negated?: boolean;
135
+ type: NameType;
136
+ value: number;
137
+ }
138
+ interface Transmog {
139
+ display_string: string;
140
+ item: NameIdKey;
141
+ item_modified_appearance_id: number;
142
+ second_item?: NameIdKey;
143
+ second_item_modified_appearance_id?: number;
144
+ }
145
+ interface Weapon {
146
+ attack_speed: DisplayStringValue;
147
+ damage: Damage;
148
+ dps: DisplayStringValue;
149
+ }
150
+ //#endregion
151
+ //#region src/character-equipment/index.d.ts
152
+ /**
153
+ * @param realmSlug The slug of the realm.
154
+ * @param characterName The lowercase name of the character.
155
+ * @returns a summary of the items equipped by a character.
156
+ */
157
+ declare function characterEquipmentSummary(realmSlug: string, characterName: string): Resource<CharacterEquipmentSummaryResponse>;
158
+ //#endregion
159
+ export { CharacterEquipmentSummaryResponse as n, characterEquipmentSummary as t };
160
+ //# sourceMappingURL=index-Xyv-CG_n.d.ts.map