@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,150 @@
1
+ import { Faction, Href, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/quest/types.d.ts
4
+ /**
5
+ * The response for a quest area index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface QuestAreaIndexResponse extends ResponseBase {
9
+ areas: Array<NullishNameIdKey>;
10
+ }
11
+ /**
12
+ * The response for a quest area.
13
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
14
+ */
15
+ interface QuestAreaResponse extends ResponseBase {
16
+ area: string;
17
+ id: number;
18
+ quests: Array<NameIdKey>;
19
+ }
20
+ /**
21
+ * The response for a quest category index.
22
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
23
+ */
24
+ interface QuestCategoryIndexResponse extends ResponseBase {
25
+ categories: Array<NameIdKey>;
26
+ }
27
+ /**
28
+ * The response for a quest category.
29
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
30
+ */
31
+ interface QuestCategoryResponse extends ResponseBase {
32
+ category: string;
33
+ id: number;
34
+ quests: Array<NameIdKey>;
35
+ }
36
+ /**
37
+ * The response for a quest index.
38
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
39
+ */
40
+ interface QuestIndexResponse extends ResponseBase {
41
+ areas: Href;
42
+ categories: Href;
43
+ types: Href;
44
+ }
45
+ /**
46
+ * The response for a quest.
47
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
48
+ */
49
+ interface QuestResponse extends ResponseBase {
50
+ area?: NameIdKey;
51
+ category: NameIdKey;
52
+ description: string;
53
+ id: number;
54
+ requirements: Requirements;
55
+ rewards: Rewards;
56
+ title: string;
57
+ }
58
+ /**
59
+ * The response for a quest type index.
60
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
61
+ */
62
+ interface QuestTypeIndexResponse extends ResponseBase {
63
+ types: Array<NameIdKey>;
64
+ }
65
+ /**
66
+ * The response for a quest type.
67
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
68
+ */
69
+ interface QuestTypeResponse extends ResponseBase {
70
+ id: number;
71
+ quests: Array<NameIdKey>;
72
+ type: string;
73
+ }
74
+ interface Money {
75
+ units: Units;
76
+ value: number;
77
+ }
78
+ interface Reputation {
79
+ reward: NameIdKey;
80
+ value: number;
81
+ }
82
+ interface ReputationRequirement {
83
+ faction: NameIdKey;
84
+ min_reputation: number;
85
+ }
86
+ interface Requirements {
87
+ faction: Faction;
88
+ max_character_level: number;
89
+ min_character_level: number;
90
+ reputations: Array<ReputationRequirement>;
91
+ }
92
+ interface Rewards {
93
+ experience: number;
94
+ money: Money;
95
+ reputations: Array<Reputation>;
96
+ }
97
+ interface Units {
98
+ copper: number;
99
+ gold: number;
100
+ silver: number;
101
+ }
102
+ //#endregion
103
+ //#region src/quest/index.d.ts
104
+ /**
105
+ * Get a quest by ID.
106
+ * @param questId The quest ID.
107
+ * @returns The quest. See {@link QuestResponse}.
108
+ */
109
+ declare function quest(questId: number): Resource<QuestResponse>;
110
+ /**
111
+ * Get a quest area by ID.
112
+ * @param questAreaId The quest area ID.
113
+ * @returns The quest area. See {@link QuestAreaResponse}.
114
+ */
115
+ declare function questArea(questAreaId: number): Resource<QuestAreaResponse>;
116
+ /**
117
+ * Get a quest area index.
118
+ * @returns The quest area index. See {@link QuestAreaIndexResponse}.
119
+ */
120
+ declare function questAreaIndex(): Resource<QuestAreaIndexResponse>;
121
+ /**
122
+ * Get a quest category by ID.
123
+ * @param questCategoryId The quest category ID.
124
+ * @returns The quest category. See {@link QuestCategoryResponse}.
125
+ */
126
+ declare function questCategory(questCategoryId: number): Resource<QuestCategoryResponse>;
127
+ /**
128
+ * Get a quest category index.
129
+ * @returns The quest category index. See {@link QuestCategoryIndexResponse}.
130
+ */
131
+ declare function questCategoryIndex(): Resource<QuestCategoryIndexResponse>;
132
+ /**
133
+ * Get a quest index.
134
+ * @returns The quest index. See {@link QuestIndexResponse}.
135
+ */
136
+ declare function questIndex(): Resource<QuestIndexResponse>;
137
+ /**
138
+ * Get a quest type by ID.
139
+ * @param questTypeId The quest type ID.
140
+ * @returns The quest type. See {@link QuestTypeResponse}.
141
+ */
142
+ declare function questType(questTypeId: number): Resource<QuestTypeResponse>;
143
+ /**
144
+ * Get a quest type index.
145
+ * @returns The quest type index. See {@link QuestTypeIndexResponse}.
146
+ */
147
+ declare function questTypeIndex(): Resource<QuestTypeIndexResponse>;
148
+ //#endregion
149
+ export { questCategoryIndex as a, questTypeIndex as c, QuestCategoryIndexResponse as d, QuestCategoryResponse as f, QuestTypeResponse as g, QuestTypeIndexResponse as h, questCategory as i, QuestAreaIndexResponse as l, QuestResponse as m, questArea as n, questIndex as o, QuestIndexResponse as p, questAreaIndex as r, questType as s, quest as t, QuestAreaResponse as u };
150
+ //# sourceMappingURL=index-BXawY6VA2.d.ts.map
@@ -0,0 +1,102 @@
1
+ import { KeyBase, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/tech-talent/types.d.ts
4
+ /**
5
+ * The response for a tech talent index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface TechTalentIndexResponse extends ResponseBase {
9
+ talents: Array<NameIdKey>;
10
+ }
11
+ /**
12
+ * The response for a tech talent media.
13
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
14
+ */
15
+ interface TechTalentMediaResponse extends ResponseBase {
16
+ assets: Array<MediaAsset>;
17
+ }
18
+ /**
19
+ * The response for a tech talent.
20
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
21
+ */
22
+ interface TechTalentResponse extends NameId, ResponseBase {
23
+ description?: string;
24
+ display_order: number;
25
+ media: Media;
26
+ prerequisite_talent?: NameIdKey;
27
+ socket_type?: {
28
+ name: string;
29
+ type: 'ENDURANCE' | 'FINESSE' | 'POTENCY';
30
+ };
31
+ spell_tooltip?: SpellTooltip;
32
+ talent_tree: KeyBase & {
33
+ id: number;
34
+ name?: string;
35
+ };
36
+ tier: number;
37
+ }
38
+ /**
39
+ * The response for a tech talent tree index.
40
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
41
+ */
42
+ interface TechTalentTreeIndexResponse extends ResponseBase {
43
+ talent_trees: Array<TalentTree>;
44
+ }
45
+ /**
46
+ * The response for a tech talent tree.
47
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
48
+ */
49
+ interface TechTalentTreeResponse extends ResponseBase {
50
+ id: number;
51
+ max_tiers: number;
52
+ playable_class?: NameIdKey;
53
+ talents: Array<NameIdKey>;
54
+ }
55
+ interface Media extends KeyBase {
56
+ id: number;
57
+ }
58
+ interface SpellTooltip {
59
+ cast_time: string;
60
+ cooldown?: string;
61
+ description: null | string;
62
+ power_cost?: null | string;
63
+ range?: string;
64
+ spell: NullishNameIdKey;
65
+ }
66
+ interface TalentTree extends KeyBase {
67
+ id: number;
68
+ name?: string;
69
+ }
70
+ //#endregion
71
+ //#region src/tech-talent/index.d.ts
72
+ /**
73
+ * Get a tech talent by ID.
74
+ * @param techTalentId The tech talent ID.
75
+ * @returns The tech talent. See {@link TechTalentResponse}.
76
+ */
77
+ declare function techTalent(techTalentId: number): Resource<TechTalentResponse>;
78
+ /**
79
+ * Get a tech talent index.
80
+ * @returns The tech talent index. See {@link TechTalentIndexResponse}.
81
+ */
82
+ declare function techTalentIndex(): Resource<TechTalentIndexResponse>;
83
+ /**
84
+ * Get tech talent media by ID.
85
+ * @param techTalentId The tech talent ID.
86
+ * @returns The tech talent media. See {@link TechTalentMediaResponse}.
87
+ */
88
+ declare function techTalentMedia(techTalentId: number): Resource<TechTalentMediaResponse>;
89
+ /**
90
+ * Get a tech talent tree by ID.
91
+ * @param techTalentTreeId The tech talent tree ID.
92
+ * @returns The tech talent tree. See {@link TechTalentTreeResponse}.
93
+ */
94
+ declare function techTalentTree(techTalentTreeId: number): Resource<TechTalentTreeResponse>;
95
+ /**
96
+ * Get a tech talent tree index.
97
+ * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.
98
+ */
99
+ declare function techTalentTreeIndex(): Resource<TechTalentTreeIndexResponse>;
100
+ //#endregion
101
+ export { techTalentTreeIndex as a, TechTalentResponse as c, techTalentTree as i, TechTalentTreeIndexResponse as l, techTalentIndex as n, TechTalentIndexResponse as o, techTalentMedia as r, TechTalentMediaResponse as s, techTalent as t, TechTalentTreeResponse as u };
102
+ //# sourceMappingURL=index-B_OrLUY42.d.ts.map
@@ -0,0 +1,85 @@
1
+ import { Faction, Gender, Href, NameIdKey, Realm, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/character-profile/types.d.ts
4
+ interface CharacterProfileStatusResponse extends ResponseBase {
5
+ id: number;
6
+ is_valid: boolean;
7
+ }
8
+ interface CharacterProfileSummaryResponse extends ResponseBase {
9
+ achievement_points: number;
10
+ achievements: Href;
11
+ achievements_statistics: Href;
12
+ active_spec: NameIdKey;
13
+ active_title?: NameIdKey & {
14
+ display_string: string;
15
+ };
16
+ appearance: Href;
17
+ average_item_level: number;
18
+ character_class: NameIdKey;
19
+ collections: Href;
20
+ covenant_progress: CovenantProgress;
21
+ encounters: Href;
22
+ equipment: Href;
23
+ equipped_item_level: number;
24
+ experience: number;
25
+ faction: Faction;
26
+ gender: Gender;
27
+ guild?: Guild;
28
+ houses?: Array<Href>;
29
+ hunter_pets: Href;
30
+ id: number;
31
+ is_remix: boolean;
32
+ last_login_timestamp: number;
33
+ level: number;
34
+ media: Href;
35
+ mythic_keystone_profile: Href;
36
+ name: string;
37
+ name_search: string;
38
+ professions: Href;
39
+ pvp_summary: Href;
40
+ quests: Href;
41
+ race: NameIdKey;
42
+ realm: Realm;
43
+ reputations: Href;
44
+ specializations: Href;
45
+ statistics: Href;
46
+ titles: Href;
47
+ }
48
+ interface CovenantProgress {
49
+ chosen_covenant: NameIdKey;
50
+ renown_level: number;
51
+ soulbinds: Href;
52
+ }
53
+ interface Guild extends NameIdKey {
54
+ faction: Faction;
55
+ realm: Realm;
56
+ }
57
+ //#endregion
58
+ //#region src/character-profile/index.d.ts
59
+ /**
60
+ * Returns the status and a unique ID for a character. A client should delete information about a character from their application if any of the following conditions occur:
61
+ * - an HTTP 404 Not Found error is returned
62
+ * - the is_valid value is false
63
+ * - the returned character ID doesn't match the previously recorded value for the character
64
+ *
65
+ * The following example illustrates how to use this endpoint:
66
+ *
67
+ * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.
68
+ * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.
69
+ * 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.
70
+ * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.
71
+ * @param realmSlug The slug of the realm.
72
+ * @param characterName The lowercase name of the character.
73
+ * @returns the status of the character profile for a character.
74
+ */
75
+ declare function characterProfileStatus(realmSlug: string, characterName: string): Resource<CharacterProfileStatusResponse>;
76
+ /**
77
+ * Returns a summary of the character profile for a character.
78
+ * @param realmSlug The slug of the realm.
79
+ * @param characterName The lowercase name of the character.
80
+ * @returns a summary of the character profile for a character.
81
+ */
82
+ declare function characterProfileSummary(realmSlug: string, characterName: string): Resource<CharacterProfileSummaryResponse>;
83
+ //#endregion
84
+ export { CharacterProfileSummaryResponse as i, characterProfileSummary as n, CharacterProfileStatusResponse as r, characterProfileStatus as t };
85
+ //# sourceMappingURL=index-BcKDDvwF.d.ts.map
@@ -0,0 +1,56 @@
1
+ import { KeyBase, MediaAsset, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/mythic-keystone-affix/types.d.ts
4
+ /**
5
+ * The response for a Mythic Keystone affix index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface MythicKeystoneAffixIndexResponse extends ResponseBase {
9
+ affixes: Array<KeyBase & {
10
+ id: number;
11
+ name: null | string;
12
+ }>;
13
+ }
14
+ /**
15
+ * The response for a Mythic Keystone affix media.
16
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
17
+ */
18
+ interface MythicKeystoneAffixMediaResponse extends ResponseBase {
19
+ assets?: Array<MediaAsset>;
20
+ id: number;
21
+ }
22
+ /**
23
+ * The response for a Mythic Keystone affix.
24
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
25
+ */
26
+ interface MythicKeystoneAffixResponse extends ResponseBase {
27
+ description: null | string;
28
+ id: number;
29
+ media: Media;
30
+ name: null | string;
31
+ }
32
+ interface Media extends KeyBase {
33
+ id: number;
34
+ }
35
+ //#endregion
36
+ //#region src/mythic-keystone-affix/index.d.ts
37
+ /**
38
+ * Get a list of all Mythic Keystone affixes.
39
+ * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
40
+ * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
41
+ */
42
+ declare function mythicKeystoneAffix(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse>;
43
+ /**
44
+ * Get a list of all Mythic Keystone affixes.
45
+ * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
46
+ */
47
+ declare function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexResponse>;
48
+ /**
49
+ * Get a list of all Mythic Keystone affix media.
50
+ * @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
51
+ * @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}
52
+ */
53
+ declare function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse>;
54
+ //#endregion
55
+ export { MythicKeystoneAffixMediaResponse as a, MythicKeystoneAffixIndexResponse as i, mythicKeystoneAffixIndex as n, MythicKeystoneAffixResponse as o, mythicKeystoneAffixMedia as r, mythicKeystoneAffix as t };
56
+ //# sourceMappingURL=index-Bd_PavJU.d.ts.map
@@ -0,0 +1,60 @@
1
+ import { KeyBase, MediaAsset, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/pvp-tier/types.d.ts
4
+ /**
5
+ * The response for a PvP tier index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface PvpTierIndexResponse extends ResponseBase {
9
+ tiers: Array<NullishNameIdKey>;
10
+ }
11
+ /**
12
+ * The response for a PvP tier media.
13
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
14
+ */
15
+ interface PvpTierMediaResponse extends ResponseBase {
16
+ assets: Array<MediaAsset>;
17
+ id: number;
18
+ }
19
+ /**
20
+ * The response for a PvP tier.
21
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
22
+ */
23
+ interface PvpTierResponse extends ResponseBase {
24
+ bracket: Bracket;
25
+ id: number;
26
+ max_rating: number;
27
+ media: Media;
28
+ min_rating: number;
29
+ name: null | string;
30
+ rating_type: number;
31
+ }
32
+ interface Bracket {
33
+ id: number;
34
+ type: string;
35
+ }
36
+ interface Media extends KeyBase {
37
+ id: number;
38
+ }
39
+ //#endregion
40
+ //#region src/pvp-tier/index.d.ts
41
+ /**
42
+ * Get a PvP tier by ID.
43
+ * @param pvpTierId The PvP tier ID.
44
+ * @returns The PvP tier. See {@link PvpTierResponse}.
45
+ */
46
+ declare function pvpTier(pvpTierId: number): Resource<PvpTierResponse>;
47
+ /**
48
+ * Get a PvP tier index.
49
+ * @returns The PvP tier index. See {@link PvpTierIndexResponse}.
50
+ */
51
+ declare function pvpTierIndex(): Resource<PvpTierIndexResponse>;
52
+ /**
53
+ * Get PvP tier media by ID.
54
+ * @param pvpTierId The PvP tier ID.
55
+ * @returns The PvP tier media. See {@link PvpTierMediaResponse}.
56
+ */
57
+ declare function pvpTierMedia(pvpTierId: number): Resource<PvpTierMediaResponse>;
58
+ //#endregion
59
+ export { PvpTierMediaResponse as a, PvpTierIndexResponse as i, pvpTierIndex as n, PvpTierResponse as o, pvpTierMedia as r, pvpTier as t };
60
+ //# sourceMappingURL=index-BgkVcJkr2.d.ts.map
@@ -0,0 +1,29 @@
1
+ import { Character, Href, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/character-quests/types.d.ts
4
+ interface CharacterCompletedQuestsResponse extends ResponseBase {
5
+ character: Character;
6
+ quests: Array<NameIdKey>;
7
+ }
8
+ interface CharacterQuestsResponse extends ResponseBase {
9
+ character: Character;
10
+ completed: Href;
11
+ in_progress: Array<NameIdKey>;
12
+ }
13
+ //#endregion
14
+ //#region src/character-quests/index.d.ts
15
+ /**
16
+ * @param realmSlug The slug of the realm.
17
+ * @param characterName The lowercase name of the character.
18
+ * @returns a list of quests that a character has completed.
19
+ */
20
+ declare function characterCompletedQuests(realmSlug: string, characterName: string): Resource<CharacterCompletedQuestsResponse>;
21
+ /**
22
+ * @param realmSlug The slug of the realm.
23
+ * @param characterName The lowercase name of the character.
24
+ * @returns a character's active quests as well as a link to the character's completed quests.
25
+ */
26
+ declare function characterQuests(realmSlug: string, characterName: string): Resource<CharacterQuestsResponse>;
27
+ //#endregion
28
+ export { CharacterQuestsResponse as i, characterQuests as n, CharacterCompletedQuestsResponse as r, characterCompletedQuests as t };
29
+ //# sourceMappingURL=index-BuORTLmA.d.ts.map
@@ -0,0 +1,36 @@
1
+ import { Character, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/character-reputations/types.d.ts
4
+ interface CharacterReputationsSummaryResponse extends ResponseBase {
5
+ character: Character;
6
+ reputations: Array<Reputation>;
7
+ }
8
+ interface Paragon {
9
+ max: number;
10
+ raw: number;
11
+ value: number;
12
+ }
13
+ interface Reputation {
14
+ faction: NameIdKey;
15
+ paragon?: Paragon;
16
+ standing: Standing;
17
+ }
18
+ interface Standing {
19
+ max: number;
20
+ name: string;
21
+ raw: number;
22
+ renown_level?: number;
23
+ tier?: number;
24
+ value: number;
25
+ }
26
+ //#endregion
27
+ //#region src/character-reputations/index.d.ts
28
+ /**
29
+ * @param realmSlug The slug of the realm.
30
+ * @param characterName The lowercase name of the character.
31
+ * @returns a summary of a character's reputations.
32
+ */
33
+ declare function characterReputationsSummary(realmSlug: string, characterName: string): Resource<CharacterReputationsSummaryResponse>;
34
+ //#endregion
35
+ export { CharacterReputationsSummaryResponse as n, characterReputationsSummary as t };
36
+ //# sourceMappingURL=index-C2BXkcO8.d.ts.map
@@ -0,0 +1,77 @@
1
+ import { GenderName, KeyBase, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
+
3
+ //#region src/playable-specialization/types.d.ts
4
+ /**
5
+ * The response for a playable specialization index.
6
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
7
+ */
8
+ interface PlayableSpecializationIndexResponse extends ResponseBase {
9
+ character_specializations: Array<NameIdKey>;
10
+ pet_specializations: Array<NameIdKey>;
11
+ }
12
+ /**
13
+ * The response for a playable specialization media.
14
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
15
+ */
16
+ interface PlayableSpecializationMediaResponse extends ResponseBase {
17
+ assets: Array<MediaAsset>;
18
+ id: number;
19
+ }
20
+ /**
21
+ * The response for a playable specialization.
22
+ * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
23
+ */
24
+ interface PlayableSpecializationResponse extends NameId, ResponseBase {
25
+ gender_description: GenderName;
26
+ hero_talent_trees: Array<NullishNameIdKey>;
27
+ media: Media;
28
+ playable_class: NameIdKey;
29
+ power_type: NameIdKey;
30
+ primary_stat_type: PrimaryStatType;
31
+ pvp_talents: Array<PvpTalent>;
32
+ role: PrimaryStatType;
33
+ spec_talent_tree: SpecTalentTree;
34
+ }
35
+ interface Media extends KeyBase {
36
+ id: number;
37
+ }
38
+ interface PrimaryStatType {
39
+ name: string;
40
+ type: string;
41
+ }
42
+ interface PvpTalent {
43
+ spell_tooltip: SpellTooltip;
44
+ talent: NameIdKey;
45
+ }
46
+ interface SpecTalentTree extends KeyBase {
47
+ name: string;
48
+ }
49
+ interface SpellTooltip {
50
+ cast_time: string;
51
+ cooldown?: string;
52
+ description: string;
53
+ power_cost?: null | string;
54
+ range?: string;
55
+ }
56
+ //#endregion
57
+ //#region src/playable-specialization/index.d.ts
58
+ /**
59
+ * Get a playable specialization by ID.
60
+ * @param specializationId The playable specialization ID.
61
+ * @returns The playable specialization. See {@link PlayableSpecializationResponse}.
62
+ */
63
+ declare function playableSpecialization(specializationId: number): Resource<PlayableSpecializationResponse>;
64
+ /**
65
+ * Get a playable specialization index.
66
+ * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.
67
+ */
68
+ declare function playableSpecializationIndex(): Resource<PlayableSpecializationIndexResponse>;
69
+ /**
70
+ * Get a playable specialization media by ID.
71
+ * @param specializationId The playable specialization ID.
72
+ * @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.
73
+ */
74
+ declare function playableSpecializationMedia(specializationId: number): Resource<PlayableSpecializationMediaResponse>;
75
+ //#endregion
76
+ export { PlayableSpecializationMediaResponse as a, PlayableSpecializationIndexResponse as i, playableSpecializationIndex as n, PlayableSpecializationResponse as o, playableSpecializationMedia as r, playableSpecialization as t };
77
+ //# sourceMappingURL=index-C9JT3jCN2.d.ts.map