@blizzard-api/wow 0.2.2 → 0.2.4
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.
- package/README.md +4 -0
- package/dist/index.cjs +654 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +674 -19
- package/dist/index.d.ts +674 -19
- package/dist/index.js +654 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -15
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as _blizzard_api_core from '@blizzard-api/core';
|
|
2
2
|
import { BaseSearchParameters, Locales, Origins } from '@blizzard-api/core';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Base interface for Blizzard API responses.
|
|
6
|
+
*/
|
|
4
7
|
interface ResponseBase {
|
|
5
8
|
_links: {
|
|
6
9
|
self: {
|
|
@@ -8,56 +11,69 @@ interface ResponseBase {
|
|
|
8
11
|
};
|
|
9
12
|
};
|
|
10
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Base record interface containing key.href property that often appear in Blizzard API responses.
|
|
16
|
+
*/
|
|
11
17
|
interface KeyBase {
|
|
12
18
|
key: {
|
|
13
19
|
href: string;
|
|
14
20
|
};
|
|
15
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Base record interface containing name and id properties that often appear together in Blizzard API responses.
|
|
24
|
+
*/
|
|
16
25
|
interface NameId {
|
|
17
26
|
name: string;
|
|
18
27
|
id: number;
|
|
19
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Base record containing both {@link KeyBase} and {@link NameId} interfaces.
|
|
31
|
+
*/
|
|
20
32
|
interface NameIdKey extends KeyBase, NameId {
|
|
21
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* A record containing the RGBA values of a color.
|
|
36
|
+
*/
|
|
22
37
|
interface Color {
|
|
23
38
|
r: number;
|
|
24
39
|
g: number;
|
|
25
40
|
b: number;
|
|
26
41
|
a: number;
|
|
27
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* The media asset associated with a character or entity in World of Warcraft.
|
|
45
|
+
*/
|
|
28
46
|
interface MediaAsset$1 {
|
|
29
47
|
key: string;
|
|
30
48
|
value: string;
|
|
31
49
|
file_data_id: number;
|
|
32
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* The playable genders in World of Warcraft.
|
|
53
|
+
*/
|
|
33
54
|
interface Gender {
|
|
34
55
|
male: string;
|
|
35
56
|
female: string;
|
|
36
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* The playable factions in World of Warcraft.
|
|
60
|
+
*/
|
|
37
61
|
declare const Factions: {
|
|
38
62
|
readonly ALLIANCE: "ALLIANCE";
|
|
39
63
|
readonly HORDE: "HORDE";
|
|
40
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* The faction associated with a character or entity in World of Warcraft.
|
|
67
|
+
*/
|
|
41
68
|
interface Faction {
|
|
42
69
|
type: keyof typeof Factions;
|
|
43
70
|
name: Capitalize<Lowercase<keyof typeof Factions>>;
|
|
44
71
|
}
|
|
45
72
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
data: {
|
|
51
|
-
id: number;
|
|
52
|
-
assets: Array<MediaAsset>;
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
interface MediaAsset {
|
|
56
|
-
file_data_id: number;
|
|
57
|
-
key: string;
|
|
58
|
-
value: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Interface for a response from the achievement category endpoint.
|
|
75
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
76
|
+
*/
|
|
61
77
|
interface AchievementCategoryResponse extends ResponseBase, NameId {
|
|
62
78
|
achievements: Array<NameIdKey>;
|
|
63
79
|
parent_category: NameIdKey;
|
|
@@ -74,11 +90,19 @@ interface AchievementCategoryResponse extends ResponseBase, NameId {
|
|
|
74
90
|
};
|
|
75
91
|
display_order: number;
|
|
76
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Interface for a response from the achievement category index endpoint.
|
|
95
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
96
|
+
*/
|
|
77
97
|
interface AchievementCategoryIndexResponse extends ResponseBase {
|
|
78
98
|
categories: Array<NameIdKey>;
|
|
79
99
|
root_categories: Array<NameIdKey>;
|
|
80
100
|
guild_categories: Array<NameIdKey>;
|
|
81
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Interface for a response from the achievement endpoint.
|
|
104
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
105
|
+
*/
|
|
82
106
|
interface AchievementResponse extends ResponseBase, NameId {
|
|
83
107
|
category: NameIdKey;
|
|
84
108
|
description: string;
|
|
@@ -92,6 +116,10 @@ interface AchievementResponse extends ResponseBase, NameId {
|
|
|
92
116
|
media: KeyBase;
|
|
93
117
|
display_order: number;
|
|
94
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* Interface for a response from the achievement index endpoint.
|
|
121
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
122
|
+
*/
|
|
95
123
|
interface AchievementIndexResponse extends ResponseBase {
|
|
96
124
|
achievements: Array<NameIdKey>;
|
|
97
125
|
}
|
|
@@ -100,6 +128,10 @@ interface AchievementMediaItem {
|
|
|
100
128
|
value: string;
|
|
101
129
|
file_data_id: number;
|
|
102
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Interface for a response from the achievement media endpoint.
|
|
133
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
134
|
+
*/
|
|
103
135
|
interface AchievementMediaResponse extends ResponseBase {
|
|
104
136
|
id: number;
|
|
105
137
|
assets: Array<AchievementMediaItem>;
|
|
@@ -122,6 +154,10 @@ interface AuctionHousePosting {
|
|
|
122
154
|
quantity: number;
|
|
123
155
|
time_left: AuctionHouseTimeLeft;
|
|
124
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* Interface for a response from the auction house endpoint.
|
|
159
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
160
|
+
*/
|
|
125
161
|
interface AuctionHouseResponse extends ResponseBase {
|
|
126
162
|
connected_realm: {
|
|
127
163
|
href: string;
|
|
@@ -140,13 +176,25 @@ interface AuctionHouseCommodity {
|
|
|
140
176
|
unit_price: number;
|
|
141
177
|
time_left: AuctionHouseTimeLeft;
|
|
142
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Interface for a response from the auction house commodities endpoint.
|
|
181
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
182
|
+
*/
|
|
143
183
|
interface AuctionHouseCommoditiesResponse extends ResponseBase {
|
|
144
184
|
auctions: Array<AuctionHouseCommodity>;
|
|
145
185
|
}
|
|
146
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Interface for a response from the azerite essence index endpoint.
|
|
189
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
190
|
+
*/
|
|
147
191
|
interface AzeriteEssenceIndexResponse extends ResponseBase {
|
|
148
192
|
azerite_essences: Array<NameIdKey>;
|
|
149
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* Interface for a response from the azerite essence endpoint.
|
|
196
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
197
|
+
*/
|
|
150
198
|
interface AzeriteEssenceResponse extends ResponseBase, NameId {
|
|
151
199
|
allowed_specializations: Array<NameIdKey>;
|
|
152
200
|
powers: Array<Power>;
|
|
@@ -161,13 +209,27 @@ interface Power {
|
|
|
161
209
|
main_power_spell: NameIdKey;
|
|
162
210
|
passive_power_spell: NameIdKey;
|
|
163
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Interface for a response from the azerite essence media endpoint.
|
|
214
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
215
|
+
*/
|
|
164
216
|
interface AzeriteEssenceMediaResponse extends ResponseBase {
|
|
165
217
|
assets: Array<MediaAsset$1>;
|
|
166
218
|
id: number;
|
|
167
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* Interface for search parameters for azerite essences.
|
|
222
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
223
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
224
|
+
*/
|
|
168
225
|
interface AzeriteEssenceSearchParameters extends BaseSearchParameters {
|
|
169
226
|
'allowed_specializations.id'?: number;
|
|
170
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* Interface for a response item from the azerite essence search endpoint.
|
|
230
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
231
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
232
|
+
*/
|
|
171
233
|
interface AzeriteEssenceSearchResponseItem extends KeyBase {
|
|
172
234
|
data: {
|
|
173
235
|
allowed_specializations: Array<NameId>;
|
|
@@ -176,16 +238,37 @@ interface AzeriteEssenceSearchResponseItem extends KeyBase {
|
|
|
176
238
|
}
|
|
177
239
|
|
|
178
240
|
type WithoutUnderscore<T extends string> = T extends `${infer Prefix}_${infer Suffix}` ? `${Prefix}${Suffix}` : never;
|
|
241
|
+
/**
|
|
242
|
+
* The category of a realm.
|
|
243
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
244
|
+
*/
|
|
179
245
|
type RealmCategory = 'English' | 'French' | 'German' | 'Italian' | 'PS' | 'Russian' | 'Spanish' | 'Brazil' | 'Latin America' | 'Oceanic' | 'United States' | '한국';
|
|
246
|
+
/**
|
|
247
|
+
* The timezone of a realm.
|
|
248
|
+
*/
|
|
180
249
|
type RealmTimezone = 'America/Chicago' | 'America/Denver' | 'America/Los_Angeles' | 'America/New_York' | 'America/Sao_Paulo' | 'Asia/Seoul' | 'Australia/Melbourne' | 'Europe/Paris';
|
|
250
|
+
/**
|
|
251
|
+
* The type of a realm, capitalized and shortended).
|
|
252
|
+
*/
|
|
181
253
|
type RealmTypeCapitalized = 'NORMAL' | 'RP';
|
|
254
|
+
/**
|
|
255
|
+
* The type of a realm, not capitalized or shortened.
|
|
256
|
+
*/
|
|
182
257
|
type RealmType = 'Normal' | 'Roleplaying';
|
|
258
|
+
/**
|
|
259
|
+
* The response for a realm index.
|
|
260
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
261
|
+
*/
|
|
183
262
|
interface RealmIndexResponse extends ResponseBase {
|
|
184
263
|
realms: Array<Realm$4>;
|
|
185
264
|
}
|
|
186
265
|
interface Realm$4 extends NameIdKey {
|
|
187
266
|
slug: string;
|
|
188
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* The response for a realm.
|
|
270
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
271
|
+
*/
|
|
189
272
|
interface RealmResponse extends ResponseBase, NameId {
|
|
190
273
|
region: NameIdKey;
|
|
191
274
|
connected_realm: {
|
|
@@ -201,9 +284,19 @@ interface RealmResponse extends ResponseBase, NameId {
|
|
|
201
284
|
is_tournament: boolean;
|
|
202
285
|
slug: string;
|
|
203
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* The search parameters for realms.
|
|
289
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
290
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
291
|
+
*/
|
|
204
292
|
interface RealmSearchParameters extends BaseSearchParameters {
|
|
205
293
|
timezone?: RealmTimezone;
|
|
206
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* The response for a realm search.
|
|
297
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
298
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
299
|
+
*/
|
|
207
300
|
interface RealmSearchResponseItem extends KeyBase {
|
|
208
301
|
data: {
|
|
209
302
|
is_tournament: boolean;
|
|
@@ -227,6 +320,10 @@ interface RealmSearchResponseItem extends KeyBase {
|
|
|
227
320
|
type RealmPopulation = 'Low' | 'Medium' | 'High' | 'Full' | 'New Players';
|
|
228
321
|
type RealmPopulationCapitalized = 'LOW' | 'MEDIUM' | 'HIGH' | 'FULL' | 'RECOMMENDED';
|
|
229
322
|
type RealmStatus = 'Up' | 'Down';
|
|
323
|
+
/**
|
|
324
|
+
* Connected Realm Index API response.
|
|
325
|
+
* @see https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
|
|
326
|
+
*/
|
|
230
327
|
interface ConnectedRealmIndexResponse extends ResponseBase {
|
|
231
328
|
connected_realms: Array<{
|
|
232
329
|
href: string;
|
|
@@ -253,6 +350,10 @@ interface RealmLockedStatus {
|
|
|
253
350
|
is_locked_for_pct: boolean;
|
|
254
351
|
is_locked_for_new_characters: boolean;
|
|
255
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Connected Realm API response.
|
|
355
|
+
* @see https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
|
|
356
|
+
*/
|
|
256
357
|
interface ConnectedRealmResponse extends ResponseBase {
|
|
257
358
|
id: number;
|
|
258
359
|
has_queue: boolean;
|
|
@@ -273,6 +374,11 @@ interface ConnectedRealmResponse extends ResponseBase {
|
|
|
273
374
|
};
|
|
274
375
|
realm_locked_status?: RealmLockedStatus;
|
|
275
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* Connected Realm Search API parameters.
|
|
379
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
380
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
381
|
+
*/
|
|
276
382
|
interface ConnectedRealmSearchParameters extends BaseSearchParameters {
|
|
277
383
|
'realms.timezone'?: RealmTimezone;
|
|
278
384
|
'status.type'?: Uppercase<RealmStatus>;
|
|
@@ -302,6 +408,11 @@ interface SearchRealmPopulation {
|
|
|
302
408
|
type: RealmPopulationCapitalized;
|
|
303
409
|
name: Record<Locales, string>;
|
|
304
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* Connected Realm Search API response item.
|
|
413
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
414
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
415
|
+
*/
|
|
305
416
|
interface ConnectedRealmSearchResponseItem extends KeyBase {
|
|
306
417
|
data: {
|
|
307
418
|
id: number;
|
|
@@ -312,9 +423,17 @@ interface ConnectedRealmSearchResponseItem extends KeyBase {
|
|
|
312
423
|
};
|
|
313
424
|
}
|
|
314
425
|
|
|
426
|
+
/**
|
|
427
|
+
* Interface for a response from the conduit index endpoint.
|
|
428
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
429
|
+
*/
|
|
315
430
|
interface ConduitIndexResponse extends ResponseBase {
|
|
316
431
|
conduits: Array<NameIdKey>;
|
|
317
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* Interface for a response from the conduit endpoint.
|
|
435
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
436
|
+
*/
|
|
318
437
|
interface ConduitResponse extends ResponseBase {
|
|
319
438
|
id: number;
|
|
320
439
|
name: string;
|
|
@@ -339,9 +458,17 @@ interface SocketType {
|
|
|
339
458
|
type: string;
|
|
340
459
|
name: string;
|
|
341
460
|
}
|
|
461
|
+
/**
|
|
462
|
+
* Interface for a response from the covenant index endpoint.
|
|
463
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
464
|
+
*/
|
|
342
465
|
interface CovenantIndexResponse extends ResponseBase {
|
|
343
466
|
covenants: Array<NameIdKey>;
|
|
344
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* Interface for a response from the covenant endpoint.
|
|
470
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
471
|
+
*/
|
|
345
472
|
interface CovenantResponse extends ResponseBase {
|
|
346
473
|
id: number;
|
|
347
474
|
name: string;
|
|
@@ -352,6 +479,10 @@ interface RenownReward {
|
|
|
352
479
|
level: number;
|
|
353
480
|
reward: NameIdKey;
|
|
354
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* Interface for a response from the covenant media endpoint.
|
|
484
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
485
|
+
*/
|
|
355
486
|
interface CovenantMediaResponse extends ResponseBase {
|
|
356
487
|
id: number;
|
|
357
488
|
name: string;
|
|
@@ -388,6 +519,10 @@ interface SignatureAbilitySpellTooltip {
|
|
|
388
519
|
cast_time: string;
|
|
389
520
|
cooldown: string;
|
|
390
521
|
}
|
|
522
|
+
/**
|
|
523
|
+
* Interface for a response from the soulbind endpoint.
|
|
524
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
525
|
+
*/
|
|
391
526
|
interface SoulbindResponse extends ResponseBase {
|
|
392
527
|
id: number;
|
|
393
528
|
name: string;
|
|
@@ -396,10 +531,18 @@ interface SoulbindResponse extends ResponseBase {
|
|
|
396
531
|
follower: NameIdKey;
|
|
397
532
|
talent_tree: NameIdKey;
|
|
398
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* Interface for a response from the soulbind index endpoint.
|
|
536
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
537
|
+
*/
|
|
399
538
|
interface SoulbindIndexResponse extends ResponseBase {
|
|
400
539
|
soulbinds: Array<NameIdKey>;
|
|
401
540
|
}
|
|
402
541
|
|
|
542
|
+
/**
|
|
543
|
+
* The response for a creature.
|
|
544
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
545
|
+
*/
|
|
403
546
|
interface CreatureResponse extends ResponseBase {
|
|
404
547
|
id: number;
|
|
405
548
|
name: string;
|
|
@@ -411,6 +554,10 @@ interface CreatureResponse extends ResponseBase {
|
|
|
411
554
|
interface CreatureDisplay$2 extends KeyBase {
|
|
412
555
|
id: number;
|
|
413
556
|
}
|
|
557
|
+
/**
|
|
558
|
+
* The response for creature display media.
|
|
559
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
560
|
+
*/
|
|
414
561
|
interface CreatureDisplayMediaResponse extends ResponseBase {
|
|
415
562
|
assets: Array<DisplayMediaAsset>;
|
|
416
563
|
id: number;
|
|
@@ -419,9 +566,17 @@ interface DisplayMediaAsset {
|
|
|
419
566
|
key: string;
|
|
420
567
|
value: string;
|
|
421
568
|
}
|
|
569
|
+
/**
|
|
570
|
+
* The response for a creature family index.
|
|
571
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
572
|
+
*/
|
|
422
573
|
interface CreatureFamilyIndexResponse extends ResponseBase {
|
|
423
574
|
creature_families: Array<NameIdKey>;
|
|
424
575
|
}
|
|
576
|
+
/**
|
|
577
|
+
* The response for a creature family.
|
|
578
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
579
|
+
*/
|
|
425
580
|
interface CreatureFamilyResponse extends ResponseBase {
|
|
426
581
|
id: number;
|
|
427
582
|
name: string;
|
|
@@ -431,21 +586,43 @@ interface CreatureFamilyResponse extends ResponseBase {
|
|
|
431
586
|
interface Media$d extends KeyBase {
|
|
432
587
|
id: number;
|
|
433
588
|
}
|
|
589
|
+
/**
|
|
590
|
+
* The response for creature family media.
|
|
591
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
592
|
+
*/
|
|
434
593
|
interface CreatureFamilyMediaResponse extends ResponseBase {
|
|
435
594
|
assets: Array<MediaAsset$1>;
|
|
436
595
|
id: number;
|
|
437
596
|
}
|
|
597
|
+
/**
|
|
598
|
+
* The response for a creature type index.
|
|
599
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
600
|
+
*/
|
|
438
601
|
interface CreatureTypeIndexResponse extends ResponseBase {
|
|
439
602
|
creature_types: Array<NameIdKey>;
|
|
440
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* The response for a creature type.
|
|
606
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
607
|
+
*/
|
|
441
608
|
interface CreatureTypeResponse extends ResponseBase {
|
|
442
609
|
id: number;
|
|
443
610
|
name: string;
|
|
444
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* The search parameters for a creature.
|
|
614
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
615
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
616
|
+
*/
|
|
445
617
|
interface CreatureSearchParameters extends BaseSearchParameters {
|
|
446
618
|
name: string;
|
|
447
619
|
locale: Locales;
|
|
448
620
|
}
|
|
621
|
+
/**
|
|
622
|
+
* The response for a creature search.
|
|
623
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
624
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
625
|
+
*/
|
|
449
626
|
interface CreatureSearchResponseItem extends KeyBase {
|
|
450
627
|
data: {
|
|
451
628
|
creature_displays: Array<{
|
|
@@ -465,6 +642,10 @@ interface CreatureSearchResponseItem extends KeyBase {
|
|
|
465
642
|
};
|
|
466
643
|
}
|
|
467
644
|
|
|
645
|
+
/**
|
|
646
|
+
* The response for the guild crest components index.
|
|
647
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
648
|
+
*/
|
|
468
649
|
interface GuildCrestComponentsIndexResponse extends ResponseBase {
|
|
469
650
|
emblems: Array<Border>;
|
|
470
651
|
borders: Array<Border>;
|
|
@@ -492,6 +673,10 @@ interface RGBA {
|
|
|
492
673
|
b: number;
|
|
493
674
|
a: number;
|
|
494
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* The response for a guild crest border or emblem.
|
|
678
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
679
|
+
*/
|
|
495
680
|
interface GuildCrestBorderEmblemResponse extends ResponseBase {
|
|
496
681
|
assets: Array<GuildCrestAsset>;
|
|
497
682
|
id: number;
|
|
@@ -501,9 +686,17 @@ interface GuildCrestAsset {
|
|
|
501
686
|
value: string;
|
|
502
687
|
}
|
|
503
688
|
|
|
689
|
+
/**
|
|
690
|
+
* The response for the heirloom index.
|
|
691
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
692
|
+
*/
|
|
504
693
|
interface HeirloomIndexResponse extends ResponseBase {
|
|
505
694
|
heirlooms: Array<NameIdKey>;
|
|
506
695
|
}
|
|
696
|
+
/**
|
|
697
|
+
* The response for a heirloom.
|
|
698
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
699
|
+
*/
|
|
507
700
|
interface HeirloomResponse extends ResponseBase {
|
|
508
701
|
id: number;
|
|
509
702
|
item: NameIdKey;
|
|
@@ -587,6 +780,10 @@ interface InventoryType {
|
|
|
587
780
|
}
|
|
588
781
|
type StatTypeCapitalized = 'STRENGTH' | 'AGILITY' | 'INTELLECT' | 'STAMINA' | 'CRIT_RATING' | 'HASTE_RATING' | 'MASTERY' | 'VERSATILITY';
|
|
589
782
|
type StatType = 'Strength' | 'Agility' | 'Intellect' | 'Stamina' | 'Critical Strike' | 'Haste' | 'Mastery' | 'Versatility';
|
|
783
|
+
/**
|
|
784
|
+
* The response for an item.
|
|
785
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
786
|
+
*/
|
|
590
787
|
interface ItemResponse extends ResponseBase, NameId {
|
|
591
788
|
quality: ItemQuality;
|
|
592
789
|
level: number;
|
|
@@ -715,27 +912,52 @@ interface RecipeItemDisplayStrings {
|
|
|
715
912
|
silver: string;
|
|
716
913
|
copper: string;
|
|
717
914
|
}
|
|
915
|
+
/**
|
|
916
|
+
* The response for an item class index.
|
|
917
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
918
|
+
*/
|
|
718
919
|
interface ItemClassIndexResponse extends ResponseBase {
|
|
719
920
|
item_classes: Array<NameIdKey>;
|
|
720
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* The response for an item class.
|
|
924
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
925
|
+
*/
|
|
721
926
|
interface ItemClassResponse extends ResponseBase {
|
|
722
927
|
class_id: number;
|
|
723
928
|
name: string;
|
|
724
929
|
item_subclasses: Array<NameIdKey>;
|
|
725
930
|
}
|
|
931
|
+
/**
|
|
932
|
+
* The response for an item media.
|
|
933
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
934
|
+
*/
|
|
726
935
|
interface ItemMediaResponse extends ResponseBase {
|
|
727
936
|
assets: Array<MediaAsset$1>;
|
|
728
937
|
id: number;
|
|
729
938
|
}
|
|
730
|
-
|
|
939
|
+
/**
|
|
940
|
+
* The response for an item subclass.
|
|
941
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
942
|
+
*/
|
|
943
|
+
interface ItemSubClassResponse extends ResponseBase {
|
|
731
944
|
class_id: number;
|
|
732
945
|
subclass_id: number;
|
|
733
946
|
display_name: string;
|
|
734
947
|
verbose_name: string;
|
|
948
|
+
hide_subclass_in_tooltips: boolean;
|
|
735
949
|
}
|
|
950
|
+
/**
|
|
951
|
+
* The response for an item set index.
|
|
952
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
953
|
+
*/
|
|
736
954
|
interface ItemSetIndexResponse extends ResponseBase {
|
|
737
955
|
item_sets: Array<NameIdKey>;
|
|
738
956
|
}
|
|
957
|
+
/**
|
|
958
|
+
* The response for an item set.
|
|
959
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
960
|
+
*/
|
|
739
961
|
interface ItemSetResponse extends ResponseBase {
|
|
740
962
|
id: number;
|
|
741
963
|
name: string;
|
|
@@ -746,10 +968,20 @@ interface Effect {
|
|
|
746
968
|
display_string: string;
|
|
747
969
|
required_count: number;
|
|
748
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* The parameters for an item search.
|
|
973
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
974
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
975
|
+
*/
|
|
749
976
|
interface ItemSearchParameters extends BaseSearchParameters {
|
|
750
977
|
name: string;
|
|
751
978
|
locale: Locales;
|
|
752
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
* The response for an item search.
|
|
982
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
983
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
984
|
+
*/
|
|
753
985
|
interface ItemSearchResponseItem extends KeyBase {
|
|
754
986
|
data: {
|
|
755
987
|
level: number;
|
|
@@ -782,9 +1014,17 @@ type EncounterCategory = 'RAID' | 'DUNGEON' | 'WORLD_BOSS';
|
|
|
782
1014
|
type EncounterMode = 'NORMAL' | 'HEROIC' | 'MYTHIC' | 'LFR';
|
|
783
1015
|
type ModeName = 'Raid Finder' | 'Normal' | 'Heroic' | 'Mythic' | 'Mythic+ Dungeons' | '10 Player' | '25 Player' | '10 Player (Heroic)' | '25 Player (Heroic)';
|
|
784
1016
|
type ModeType = 'LFR' | 'NORMAL' | 'HEROIC' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'LEGACY_10_MAN' | 'LEGACY_25_MAN' | 'LEGACY_10_MAN_HEROIC' | 'LEGACY_25_MAN_HEROIC';
|
|
1017
|
+
/**
|
|
1018
|
+
* The response for a journal encounter index.
|
|
1019
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1020
|
+
*/
|
|
785
1021
|
interface JournalEncounterIndexResponse extends ResponseBase {
|
|
786
1022
|
encounters: Array<NameIdKey>;
|
|
787
1023
|
}
|
|
1024
|
+
/**
|
|
1025
|
+
* The response for a journal encounter.
|
|
1026
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1027
|
+
*/
|
|
788
1028
|
interface JournalEncounterResponse extends ResponseBase, NameId {
|
|
789
1029
|
description: string;
|
|
790
1030
|
creatures: Array<Creature>;
|
|
@@ -821,16 +1061,32 @@ interface JournalSection {
|
|
|
821
1061
|
creature_display?: CreatureDisplay$1;
|
|
822
1062
|
spell?: NameIdKey;
|
|
823
1063
|
}
|
|
1064
|
+
/**
|
|
1065
|
+
* The response for a journal expansion index.
|
|
1066
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1067
|
+
*/
|
|
824
1068
|
interface JournalExpansionIndexResponse extends ResponseBase {
|
|
825
1069
|
tiers: Array<NameIdKey>;
|
|
826
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* The response for a journal expansion.
|
|
1073
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1074
|
+
*/
|
|
827
1075
|
interface JournalExpansionResponse extends ResponseBase, NameId {
|
|
828
1076
|
dungeons: Array<NameIdKey>;
|
|
829
1077
|
raids: Array<NameIdKey>;
|
|
830
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* The response for a journal instance index.
|
|
1081
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1082
|
+
*/
|
|
831
1083
|
interface JournalInstanceIndexResponse extends ResponseBase {
|
|
832
1084
|
instances: Array<NameIdKey>;
|
|
833
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* The response for a journal instance.
|
|
1088
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1089
|
+
*/
|
|
834
1090
|
interface JournalInstanceResponse extends ResponseBase, NameId {
|
|
835
1091
|
map: NameId;
|
|
836
1092
|
area: NameId;
|
|
@@ -852,6 +1108,10 @@ interface ModeElement {
|
|
|
852
1108
|
players: number;
|
|
853
1109
|
is_tracked: boolean;
|
|
854
1110
|
}
|
|
1111
|
+
/**
|
|
1112
|
+
* The response for journal instance media.
|
|
1113
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1114
|
+
*/
|
|
855
1115
|
interface JournalInstanceMediaResponse extends ResponseBase {
|
|
856
1116
|
assets: Array<Asset>;
|
|
857
1117
|
}
|
|
@@ -859,10 +1119,20 @@ interface Asset {
|
|
|
859
1119
|
key: string;
|
|
860
1120
|
value: string;
|
|
861
1121
|
}
|
|
1122
|
+
/**
|
|
1123
|
+
* The parameters for a journal encounter search.
|
|
1124
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1125
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1126
|
+
*/
|
|
862
1127
|
interface JournalEncounterSearchParameters extends BaseSearchParameters {
|
|
863
1128
|
instanceName: string;
|
|
864
1129
|
locale: Locales;
|
|
865
1130
|
}
|
|
1131
|
+
/**
|
|
1132
|
+
* The response for a journal encounter search.
|
|
1133
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1134
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1135
|
+
*/
|
|
866
1136
|
interface JournalEncounterSearchResponseItem extends KeyBase {
|
|
867
1137
|
data: {
|
|
868
1138
|
instance: {
|
|
@@ -896,11 +1166,48 @@ interface JournalEncounterSearchItem {
|
|
|
896
1166
|
};
|
|
897
1167
|
}
|
|
898
1168
|
|
|
1169
|
+
/**
|
|
1170
|
+
* The search parameters for media.
|
|
1171
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1172
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1173
|
+
*/
|
|
1174
|
+
interface MediaSearchParameters extends BaseSearchParameters {
|
|
1175
|
+
tags?: string;
|
|
1176
|
+
}
|
|
1177
|
+
/**
|
|
1178
|
+
* The response for a media search.
|
|
1179
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1180
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1181
|
+
*/
|
|
1182
|
+
interface MediaSearchResponseItem extends KeyBase {
|
|
1183
|
+
data: {
|
|
1184
|
+
id: number;
|
|
1185
|
+
assets: Array<MediaAsset>;
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
interface MediaAsset {
|
|
1189
|
+
file_data_id: number;
|
|
1190
|
+
key: string;
|
|
1191
|
+
value: string;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* The response for a modified crafting category.
|
|
1196
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1197
|
+
*/
|
|
899
1198
|
interface ModifiedCraftingCategoryResponse extends ResponseBase, NameId {
|
|
900
1199
|
}
|
|
1200
|
+
/**
|
|
1201
|
+
* The response for a modified crafting category index.
|
|
1202
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1203
|
+
*/
|
|
901
1204
|
interface ModifiedCraftingCategoryIndexResponse extends ResponseBase {
|
|
902
1205
|
categories: Array<NameIdKey>;
|
|
903
1206
|
}
|
|
1207
|
+
/**
|
|
1208
|
+
* The response for a modified crafting index.
|
|
1209
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1210
|
+
*/
|
|
904
1211
|
interface ModifiedCraftingIndexResponse extends ResponseBase {
|
|
905
1212
|
categories: {
|
|
906
1213
|
href: string;
|
|
@@ -909,6 +1216,10 @@ interface ModifiedCraftingIndexResponse extends ResponseBase {
|
|
|
909
1216
|
href: string;
|
|
910
1217
|
};
|
|
911
1218
|
}
|
|
1219
|
+
/**
|
|
1220
|
+
* The response for a modified crafting reagent slot type index.
|
|
1221
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1222
|
+
*/
|
|
912
1223
|
interface ModifiedCraftingReagentSlotTypeIndexResponse extends ResponseBase {
|
|
913
1224
|
slot_types: Array<SlotType>;
|
|
914
1225
|
}
|
|
@@ -916,15 +1227,27 @@ interface SlotType extends KeyBase {
|
|
|
916
1227
|
name?: string;
|
|
917
1228
|
id: number;
|
|
918
1229
|
}
|
|
1230
|
+
/**
|
|
1231
|
+
* The response for a modified crafting reagent slot type.
|
|
1232
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1233
|
+
*/
|
|
919
1234
|
interface ModifiedCraftingReagentSlotTypeResponse extends ResponseBase {
|
|
920
1235
|
id: number;
|
|
921
1236
|
description: string;
|
|
922
1237
|
compatible_categories: Array<NameIdKey>;
|
|
923
1238
|
}
|
|
924
1239
|
|
|
1240
|
+
/**
|
|
1241
|
+
* The response for a mount index.
|
|
1242
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1243
|
+
*/
|
|
925
1244
|
interface MountIndexResponse extends ResponseBase {
|
|
926
1245
|
mounts: Array<NameIdKey>;
|
|
927
1246
|
}
|
|
1247
|
+
/**
|
|
1248
|
+
* The response for a mount.
|
|
1249
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1250
|
+
*/
|
|
928
1251
|
interface MountResponse extends ResponseBase {
|
|
929
1252
|
id: number;
|
|
930
1253
|
name: string;
|
|
@@ -940,10 +1263,20 @@ interface Source$2 {
|
|
|
940
1263
|
type: string;
|
|
941
1264
|
name: string;
|
|
942
1265
|
}
|
|
1266
|
+
/**
|
|
1267
|
+
* The search parameters for mounts.
|
|
1268
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1269
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1270
|
+
*/
|
|
943
1271
|
interface MountSearchParameters extends BaseSearchParameters {
|
|
944
1272
|
name: string;
|
|
945
1273
|
locale: Locales;
|
|
946
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
* The response for a mount search.
|
|
1277
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1278
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1279
|
+
*/
|
|
947
1280
|
interface MountSearchResponseItem extends KeyBase {
|
|
948
1281
|
data: {
|
|
949
1282
|
creature_displays: Array<{
|
|
@@ -962,9 +1295,17 @@ interface MountSearchResponseItem extends KeyBase {
|
|
|
962
1295
|
};
|
|
963
1296
|
}
|
|
964
1297
|
|
|
1298
|
+
/**
|
|
1299
|
+
* The response for a Mythic Keystone affix index.
|
|
1300
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1301
|
+
*/
|
|
965
1302
|
interface MythicKeystoneAffixIndexResponse extends ResponseBase {
|
|
966
1303
|
affixes: Array<NameIdKey>;
|
|
967
1304
|
}
|
|
1305
|
+
/**
|
|
1306
|
+
* The response for a Mythic Keystone affix.
|
|
1307
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1308
|
+
*/
|
|
968
1309
|
interface MythicKeystoneAffixResponse extends ResponseBase, NameId {
|
|
969
1310
|
description: string;
|
|
970
1311
|
media: Media$8;
|
|
@@ -972,14 +1313,26 @@ interface MythicKeystoneAffixResponse extends ResponseBase, NameId {
|
|
|
972
1313
|
interface Media$8 extends KeyBase {
|
|
973
1314
|
id: number;
|
|
974
1315
|
}
|
|
1316
|
+
/**
|
|
1317
|
+
* The response for a Mythic Keystone affix media.
|
|
1318
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1319
|
+
*/
|
|
975
1320
|
interface MythicKeystoneAffixMediaResponse extends ResponseBase {
|
|
976
1321
|
assets: Array<MediaAsset$1>;
|
|
977
1322
|
id: number;
|
|
978
1323
|
}
|
|
979
1324
|
|
|
1325
|
+
/**
|
|
1326
|
+
* The response for a Mythic Keystone dungeon index.
|
|
1327
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1328
|
+
*/
|
|
980
1329
|
interface MythicKeystoneDungeonIndexResponse extends ResponseBase {
|
|
981
1330
|
dungeons: Array<NameIdKey>;
|
|
982
1331
|
}
|
|
1332
|
+
/**
|
|
1333
|
+
* The response for a Mythic Keystone dungeon.
|
|
1334
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1335
|
+
*/
|
|
983
1336
|
interface MythicKeystoneDungeonResponse extends ResponseBase, NameId {
|
|
984
1337
|
map: NameId;
|
|
985
1338
|
zone: Zone;
|
|
@@ -994,6 +1347,10 @@ interface KeystoneUpgrade {
|
|
|
994
1347
|
interface Zone {
|
|
995
1348
|
slug: string;
|
|
996
1349
|
}
|
|
1350
|
+
/**
|
|
1351
|
+
* The response for a Mythic Keystone index.
|
|
1352
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1353
|
+
*/
|
|
997
1354
|
interface MythicKeystoneIndexResponse extends ResponseBase {
|
|
998
1355
|
seasons: {
|
|
999
1356
|
href: string;
|
|
@@ -1002,6 +1359,10 @@ interface MythicKeystoneIndexResponse extends ResponseBase {
|
|
|
1002
1359
|
href: string;
|
|
1003
1360
|
};
|
|
1004
1361
|
}
|
|
1362
|
+
/**
|
|
1363
|
+
* The response for a Mythic Keystone period index.
|
|
1364
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1365
|
+
*/
|
|
1005
1366
|
interface MythicKeystonePeriodIndexResponse extends ResponseBase {
|
|
1006
1367
|
periods: Array<Period>;
|
|
1007
1368
|
current_period: Period;
|
|
@@ -1009,15 +1370,27 @@ interface MythicKeystonePeriodIndexResponse extends ResponseBase {
|
|
|
1009
1370
|
interface Period extends KeyBase {
|
|
1010
1371
|
id: number;
|
|
1011
1372
|
}
|
|
1373
|
+
/**
|
|
1374
|
+
* The response for a Mythic Keystone period.
|
|
1375
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1376
|
+
*/
|
|
1012
1377
|
interface MythicKeystonePeriodResponse extends ResponseBase {
|
|
1013
1378
|
id: number;
|
|
1014
1379
|
start_timestamp: number;
|
|
1015
1380
|
end_timestamp: number;
|
|
1016
1381
|
}
|
|
1382
|
+
/**
|
|
1383
|
+
* The response for a Mythic Keystone season index.
|
|
1384
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1385
|
+
*/
|
|
1017
1386
|
interface MythicKeystoneSeasonIndexResponse extends ResponseBase {
|
|
1018
1387
|
seasons: Array<Period>;
|
|
1019
1388
|
current_season: Period;
|
|
1020
1389
|
}
|
|
1390
|
+
/**
|
|
1391
|
+
* The response for a Mythic Keystone season.
|
|
1392
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1393
|
+
*/
|
|
1021
1394
|
interface MythicKeystoneSeasonResponse extends ResponseBase {
|
|
1022
1395
|
id: number;
|
|
1023
1396
|
start_timestamp: number;
|
|
@@ -1026,9 +1399,17 @@ interface MythicKeystoneSeasonResponse extends ResponseBase {
|
|
|
1026
1399
|
season_name: string | null;
|
|
1027
1400
|
}
|
|
1028
1401
|
|
|
1402
|
+
/**
|
|
1403
|
+
* The response for a Mythic Keystone leaderboard index.
|
|
1404
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1405
|
+
*/
|
|
1029
1406
|
interface MythicKeystoneLeaderboardIndexResponse extends ResponseBase {
|
|
1030
1407
|
current_leaderboards: Array<NameIdKey>;
|
|
1031
1408
|
}
|
|
1409
|
+
/**
|
|
1410
|
+
* The response for a Mythic Keystone leaderboard.
|
|
1411
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1412
|
+
*/
|
|
1032
1413
|
interface MythicKeystoneLeaderboardResponse extends ResponseBase {
|
|
1033
1414
|
map: NameId;
|
|
1034
1415
|
period: number;
|
|
@@ -1076,6 +1457,10 @@ interface MythicRating {
|
|
|
1076
1457
|
rating: number;
|
|
1077
1458
|
}
|
|
1078
1459
|
|
|
1460
|
+
/**
|
|
1461
|
+
* The response for a Mythic Raid leaderboard.
|
|
1462
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1463
|
+
*/
|
|
1079
1464
|
interface MythicRaidLeaderboardResponse extends ResponseBase {
|
|
1080
1465
|
slug: string;
|
|
1081
1466
|
criteria_type: string;
|
|
@@ -1104,9 +1489,17 @@ interface JournalInstance extends KeyBase {
|
|
|
1104
1489
|
id: number;
|
|
1105
1490
|
}
|
|
1106
1491
|
|
|
1492
|
+
/**
|
|
1493
|
+
* The response for a pet index.
|
|
1494
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1495
|
+
*/
|
|
1107
1496
|
interface PetIndexResponse extends ResponseBase {
|
|
1108
1497
|
pets: Array<NameIdKey>;
|
|
1109
1498
|
}
|
|
1499
|
+
/**
|
|
1500
|
+
* The response for a pet.
|
|
1501
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1502
|
+
*/
|
|
1110
1503
|
interface PetResponse extends ResponseBase, NameId {
|
|
1111
1504
|
battle_pet_type: BattlePetType;
|
|
1112
1505
|
description: string;
|
|
@@ -1138,26 +1531,50 @@ interface Source$1 {
|
|
|
1138
1531
|
type: string;
|
|
1139
1532
|
name: string;
|
|
1140
1533
|
}
|
|
1534
|
+
/**
|
|
1535
|
+
* The response for a pet search.
|
|
1536
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1537
|
+
*/
|
|
1141
1538
|
interface PetMediaResponse extends ResponseBase {
|
|
1142
1539
|
assets: Array<MediaAsset$1>;
|
|
1143
1540
|
id: number;
|
|
1144
1541
|
}
|
|
1542
|
+
/**
|
|
1543
|
+
* The response for a pet ability index.
|
|
1544
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1545
|
+
*/
|
|
1145
1546
|
interface PetAbilityIndexResponse extends ResponseBase {
|
|
1146
1547
|
abilities: Array<NameIdKey>;
|
|
1147
1548
|
}
|
|
1549
|
+
/**
|
|
1550
|
+
* The response for a pet ability.
|
|
1551
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1552
|
+
*/
|
|
1148
1553
|
interface PetAbilityResponse extends ResponseBase, NameId {
|
|
1149
1554
|
battle_pet_type: BattlePetType;
|
|
1150
1555
|
rounds: number;
|
|
1151
1556
|
media: Media$7;
|
|
1152
1557
|
}
|
|
1558
|
+
/**
|
|
1559
|
+
* The response for a pet ability media.
|
|
1560
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1561
|
+
*/
|
|
1153
1562
|
interface PetAbilityMediaResponse extends ResponseBase {
|
|
1154
1563
|
assets: Array<MediaAsset$1>;
|
|
1155
1564
|
id: number;
|
|
1156
1565
|
}
|
|
1157
1566
|
|
|
1567
|
+
/**
|
|
1568
|
+
* The response for a playable class index.
|
|
1569
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1570
|
+
*/
|
|
1158
1571
|
interface PlayableClassIndexResponse extends ResponseBase {
|
|
1159
1572
|
classes: Array<NameIdKey>;
|
|
1160
1573
|
}
|
|
1574
|
+
/**
|
|
1575
|
+
* The response for a playable class.
|
|
1576
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1577
|
+
*/
|
|
1161
1578
|
interface PlayableClassResponse extends ResponseBase, NameId {
|
|
1162
1579
|
gender_name: Gender;
|
|
1163
1580
|
power_type: NameIdKey;
|
|
@@ -1171,10 +1588,18 @@ interface PlayableClassResponse extends ResponseBase, NameId {
|
|
|
1171
1588
|
interface Media$6 extends KeyBase {
|
|
1172
1589
|
id: number;
|
|
1173
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
* The response for playable class media.
|
|
1593
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1594
|
+
*/
|
|
1174
1595
|
interface PlayableClassMediaResponse extends ResponseBase {
|
|
1175
1596
|
assets: Array<MediaAsset$1>;
|
|
1176
1597
|
id: number;
|
|
1177
1598
|
}
|
|
1599
|
+
/**
|
|
1600
|
+
* The response for a playable class's PvP talent slots.
|
|
1601
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1602
|
+
*/
|
|
1178
1603
|
interface PvpTalentSlotsResponse extends ResponseBase {
|
|
1179
1604
|
talent_slots: Array<TalentSlot>;
|
|
1180
1605
|
}
|
|
@@ -1183,9 +1608,17 @@ interface TalentSlot {
|
|
|
1183
1608
|
unlock_player_level: number;
|
|
1184
1609
|
}
|
|
1185
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
* The playable race index response.
|
|
1613
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1614
|
+
*/
|
|
1186
1615
|
interface PlayableRaceIndexResponse extends ResponseBase {
|
|
1187
1616
|
races: Array<NameIdKey>;
|
|
1188
1617
|
}
|
|
1618
|
+
/**
|
|
1619
|
+
* The playable race response.
|
|
1620
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1621
|
+
*/
|
|
1189
1622
|
interface PlayableRaceResponse extends ResponseBase, NameId {
|
|
1190
1623
|
gender_name: Gender;
|
|
1191
1624
|
faction: Faction;
|
|
@@ -1194,10 +1627,18 @@ interface PlayableRaceResponse extends ResponseBase, NameId {
|
|
|
1194
1627
|
playable_classes: Array<NameIdKey>;
|
|
1195
1628
|
}
|
|
1196
1629
|
|
|
1630
|
+
/**
|
|
1631
|
+
* The response for a playable specialization index.
|
|
1632
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1633
|
+
*/
|
|
1197
1634
|
interface PlayableSpecializationIndexResponse extends ResponseBase {
|
|
1198
1635
|
character_specializations: Array<NameIdKey>;
|
|
1199
1636
|
pet_specializations: Array<NameIdKey>;
|
|
1200
1637
|
}
|
|
1638
|
+
/**
|
|
1639
|
+
* The response for a playable specialization.
|
|
1640
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1641
|
+
*/
|
|
1201
1642
|
interface PlayableSpecializationResponse extends ResponseBase, NameId {
|
|
1202
1643
|
playable_class: NameIdKey;
|
|
1203
1644
|
gender_description: Gender;
|
|
@@ -1229,20 +1670,40 @@ interface SpellTooltip {
|
|
|
1229
1670
|
interface SpecTalentTree$1 extends KeyBase {
|
|
1230
1671
|
name: string;
|
|
1231
1672
|
}
|
|
1673
|
+
/**
|
|
1674
|
+
* The response for a playable specialization media.
|
|
1675
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1676
|
+
*/
|
|
1232
1677
|
interface PlayableSpecializationMediaResponse extends ResponseBase {
|
|
1233
1678
|
assets: Array<MediaAsset$1>;
|
|
1234
1679
|
id: number;
|
|
1235
1680
|
}
|
|
1236
1681
|
|
|
1682
|
+
/**
|
|
1683
|
+
* The response for a power type index.
|
|
1684
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1685
|
+
*/
|
|
1237
1686
|
interface PowerTypeIndexResponse extends ResponseBase {
|
|
1238
1687
|
power_types: Array<NameIdKey>;
|
|
1239
1688
|
}
|
|
1689
|
+
/**
|
|
1690
|
+
* The response for a power type.
|
|
1691
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1692
|
+
*/
|
|
1240
1693
|
interface PowerTypeResponse extends ResponseBase, NameId {
|
|
1241
1694
|
}
|
|
1242
1695
|
|
|
1696
|
+
/**
|
|
1697
|
+
* The response for a profession index.
|
|
1698
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1699
|
+
*/
|
|
1243
1700
|
interface ProfessionIndexResponse extends ResponseBase {
|
|
1244
1701
|
professions: Array<NameIdKey>;
|
|
1245
1702
|
}
|
|
1703
|
+
/**
|
|
1704
|
+
* The response for a profession.
|
|
1705
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1706
|
+
*/
|
|
1246
1707
|
interface ProfessionResponse extends ResponseBase, NameId {
|
|
1247
1708
|
description: string;
|
|
1248
1709
|
type: Type;
|
|
@@ -1256,6 +1717,10 @@ interface Type {
|
|
|
1256
1717
|
type: string;
|
|
1257
1718
|
name: string;
|
|
1258
1719
|
}
|
|
1720
|
+
/**
|
|
1721
|
+
* The response for a profession skill tier.
|
|
1722
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1723
|
+
*/
|
|
1259
1724
|
interface ProfessionSkillTierResponse extends ResponseBase, NameId {
|
|
1260
1725
|
minimum_skill_level: number;
|
|
1261
1726
|
maximum_skill_level: number;
|
|
@@ -1265,10 +1730,18 @@ interface Category {
|
|
|
1265
1730
|
name: string;
|
|
1266
1731
|
recipes: Array<NameIdKey>;
|
|
1267
1732
|
}
|
|
1733
|
+
/**
|
|
1734
|
+
* The response for a profession media.
|
|
1735
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1736
|
+
*/
|
|
1268
1737
|
interface ProfessionMediaResponse extends ResponseBase {
|
|
1269
1738
|
assets: Array<MediaAsset$1>;
|
|
1270
1739
|
id: number;
|
|
1271
1740
|
}
|
|
1741
|
+
/**
|
|
1742
|
+
* The response for a recipe.
|
|
1743
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1744
|
+
*/
|
|
1272
1745
|
interface RecipeResponse extends ResponseBase, NameId {
|
|
1273
1746
|
media: Media$4;
|
|
1274
1747
|
crafted_item: NameIdKey;
|
|
@@ -1282,11 +1755,19 @@ interface Reagent {
|
|
|
1282
1755
|
reagent: NameIdKey;
|
|
1283
1756
|
quantity: number;
|
|
1284
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* The response for a recipe media.
|
|
1760
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1761
|
+
*/
|
|
1285
1762
|
interface RecipeMediaResponse extends ResponseBase {
|
|
1286
1763
|
assets: Array<MediaAsset$1>;
|
|
1287
1764
|
id: number;
|
|
1288
1765
|
}
|
|
1289
1766
|
|
|
1767
|
+
/**
|
|
1768
|
+
* The response for a PvP leaderboard.
|
|
1769
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1770
|
+
*/
|
|
1290
1771
|
interface PvpLeaderboardResponse extends ResponseBase {
|
|
1291
1772
|
season: Season;
|
|
1292
1773
|
name: string;
|
|
@@ -1315,10 +1796,18 @@ interface SeasonMatchStatistics {
|
|
|
1315
1796
|
won: number;
|
|
1316
1797
|
lost: number;
|
|
1317
1798
|
}
|
|
1799
|
+
/**
|
|
1800
|
+
* The response for a PvP leaderboard index.
|
|
1801
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1802
|
+
*/
|
|
1318
1803
|
interface PvpLeaderboardIndexResponse extends ResponseBase {
|
|
1319
1804
|
season: Season;
|
|
1320
1805
|
leaderboards: Array<NameIdKey>;
|
|
1321
1806
|
}
|
|
1807
|
+
/**
|
|
1808
|
+
* The response for PvP rewards index.
|
|
1809
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1810
|
+
*/
|
|
1322
1811
|
interface PvpRewardsIndexResponse extends ResponseBase {
|
|
1323
1812
|
season: Season;
|
|
1324
1813
|
rewards: Array<Reward>;
|
|
@@ -1334,6 +1823,10 @@ interface Bracket$1 {
|
|
|
1334
1823
|
id: number;
|
|
1335
1824
|
type: 'ARENA_3v3' | 'BATTLEGROUNDS' | 'SHUFFLE';
|
|
1336
1825
|
}
|
|
1826
|
+
/**
|
|
1827
|
+
* The response for a PvP season index.
|
|
1828
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1829
|
+
*/
|
|
1337
1830
|
interface PvpSeasonIndexResponse extends ResponseBase {
|
|
1338
1831
|
seasons: Array<Season>;
|
|
1339
1832
|
current_season: Season;
|
|
@@ -1341,6 +1834,10 @@ interface PvpSeasonIndexResponse extends ResponseBase {
|
|
|
1341
1834
|
interface Season extends KeyBase {
|
|
1342
1835
|
id: number;
|
|
1343
1836
|
}
|
|
1837
|
+
/**
|
|
1838
|
+
* The response for a PvP season.
|
|
1839
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1840
|
+
*/
|
|
1344
1841
|
interface PvpSeasonResponse extends ResponseBase {
|
|
1345
1842
|
id: number;
|
|
1346
1843
|
leaderboards: {
|
|
@@ -1350,12 +1847,20 @@ interface PvpSeasonResponse extends ResponseBase {
|
|
|
1350
1847
|
href: string;
|
|
1351
1848
|
};
|
|
1352
1849
|
season_start_timestamp: number;
|
|
1353
|
-
season_name
|
|
1850
|
+
season_name?: string;
|
|
1354
1851
|
}
|
|
1355
1852
|
|
|
1853
|
+
/**
|
|
1854
|
+
* The response for a PvP tier index.
|
|
1855
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1856
|
+
*/
|
|
1356
1857
|
interface PvpTierIndexResponse extends ResponseBase {
|
|
1357
1858
|
tiers: Array<NameIdKey>;
|
|
1358
1859
|
}
|
|
1860
|
+
/**
|
|
1861
|
+
* The response for a PvP tier.
|
|
1862
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1863
|
+
*/
|
|
1359
1864
|
interface PvpTierResponse extends ResponseBase, NameId {
|
|
1360
1865
|
min_rating: number;
|
|
1361
1866
|
max_rating: number;
|
|
@@ -1370,11 +1875,19 @@ interface Bracket {
|
|
|
1370
1875
|
interface Media$3 extends KeyBase {
|
|
1371
1876
|
id: number;
|
|
1372
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* The response for a PvP tier media.
|
|
1880
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1881
|
+
*/
|
|
1373
1882
|
interface PvpTierMediaResponse extends ResponseBase {
|
|
1374
1883
|
assets: Array<MediaAsset$1>;
|
|
1375
1884
|
id: number;
|
|
1376
1885
|
}
|
|
1377
1886
|
|
|
1887
|
+
/**
|
|
1888
|
+
* The response for a quest index.
|
|
1889
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1890
|
+
*/
|
|
1378
1891
|
interface QuestIndexResponse extends ResponseBase {
|
|
1379
1892
|
categories: {
|
|
1380
1893
|
href: string;
|
|
@@ -1386,6 +1899,10 @@ interface QuestIndexResponse extends ResponseBase {
|
|
|
1386
1899
|
href: string;
|
|
1387
1900
|
};
|
|
1388
1901
|
}
|
|
1902
|
+
/**
|
|
1903
|
+
* The response for a quest.
|
|
1904
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1905
|
+
*/
|
|
1389
1906
|
interface QuestResponse extends ResponseBase {
|
|
1390
1907
|
id: number;
|
|
1391
1908
|
title: string;
|
|
@@ -1417,45 +1934,85 @@ interface Reputation {
|
|
|
1417
1934
|
reward: NameIdKey;
|
|
1418
1935
|
value: number;
|
|
1419
1936
|
}
|
|
1937
|
+
/**
|
|
1938
|
+
* The response for a quest area index.
|
|
1939
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1940
|
+
*/
|
|
1420
1941
|
interface QuestAreaIndexResponse extends ResponseBase {
|
|
1421
1942
|
areas: Array<NameIdKey>;
|
|
1422
1943
|
}
|
|
1944
|
+
/**
|
|
1945
|
+
* The response for a quest area.
|
|
1946
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1947
|
+
*/
|
|
1423
1948
|
interface QuestAreaResponse extends ResponseBase {
|
|
1424
1949
|
id: number;
|
|
1425
1950
|
area: string;
|
|
1426
1951
|
quests: Array<NameIdKey>;
|
|
1427
1952
|
}
|
|
1953
|
+
/**
|
|
1954
|
+
* The response for a quest category index.
|
|
1955
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1956
|
+
*/
|
|
1428
1957
|
interface QuestCategoryIndexResponse extends ResponseBase {
|
|
1429
1958
|
categories: Array<NameIdKey>;
|
|
1430
1959
|
}
|
|
1960
|
+
/**
|
|
1961
|
+
* The response for a quest category.
|
|
1962
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1963
|
+
*/
|
|
1431
1964
|
interface QuestCategoryResponse extends ResponseBase {
|
|
1432
1965
|
id: number;
|
|
1433
1966
|
category: string;
|
|
1434
1967
|
quests: Array<NameIdKey>;
|
|
1435
1968
|
}
|
|
1969
|
+
/**
|
|
1970
|
+
* The response for a quest type index.
|
|
1971
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1972
|
+
*/
|
|
1436
1973
|
interface QuestTypeIndexResponse extends ResponseBase {
|
|
1437
1974
|
types: Array<NameIdKey>;
|
|
1438
1975
|
}
|
|
1976
|
+
/**
|
|
1977
|
+
* The response for a quest type.
|
|
1978
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1979
|
+
*/
|
|
1439
1980
|
interface QuestTypeResponse extends ResponseBase {
|
|
1440
1981
|
id: number;
|
|
1441
1982
|
type: string;
|
|
1442
1983
|
quests: Array<NameIdKey>;
|
|
1443
1984
|
}
|
|
1444
1985
|
|
|
1986
|
+
/**
|
|
1987
|
+
* The response for a region index.
|
|
1988
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1989
|
+
*/
|
|
1445
1990
|
interface RegionIndexResponse extends ResponseBase {
|
|
1446
1991
|
regions: Array<{
|
|
1447
1992
|
href: string;
|
|
1448
1993
|
}>;
|
|
1449
1994
|
}
|
|
1995
|
+
/**
|
|
1996
|
+
* The response for a region.
|
|
1997
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1998
|
+
*/
|
|
1450
1999
|
interface RegionResponse extends ResponseBase, NameId {
|
|
1451
2000
|
tag: string;
|
|
1452
2001
|
patch_string: string;
|
|
1453
2002
|
}
|
|
1454
2003
|
|
|
2004
|
+
/**
|
|
2005
|
+
* The response for a reputation faction index.
|
|
2006
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2007
|
+
*/
|
|
1455
2008
|
interface ReputationFactionIndexResponse extends ResponseBase {
|
|
1456
2009
|
factions: Array<NameIdKey>;
|
|
1457
2010
|
root_factions: Array<NameIdKey>;
|
|
1458
2011
|
}
|
|
2012
|
+
/**
|
|
2013
|
+
* The response for a reputation faction.
|
|
2014
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2015
|
+
*/
|
|
1459
2016
|
interface ReputationFactionResponse extends ResponseBase {
|
|
1460
2017
|
id: number;
|
|
1461
2018
|
name: string;
|
|
@@ -1465,6 +2022,10 @@ interface ReputationFactionResponse extends ResponseBase {
|
|
|
1465
2022
|
interface ReputationTiers extends KeyBase {
|
|
1466
2023
|
id: number;
|
|
1467
2024
|
}
|
|
2025
|
+
/**
|
|
2026
|
+
* The response for a reputation tier index.
|
|
2027
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2028
|
+
*/
|
|
1468
2029
|
interface ReputationTiersIndexResponse extends ResponseBase {
|
|
1469
2030
|
reputation_tiers: Array<ReputationTier>;
|
|
1470
2031
|
}
|
|
@@ -1472,6 +2033,10 @@ interface ReputationTier extends KeyBase {
|
|
|
1472
2033
|
id: number;
|
|
1473
2034
|
name?: string;
|
|
1474
2035
|
}
|
|
2036
|
+
/**
|
|
2037
|
+
* The response for a reputation tier.
|
|
2038
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2039
|
+
*/
|
|
1475
2040
|
interface ReputationTiersResponse extends ResponseBase {
|
|
1476
2041
|
id: number;
|
|
1477
2042
|
tiers: Array<Tier>;
|
|
@@ -1484,6 +2049,10 @@ interface Tier {
|
|
|
1484
2049
|
id: number;
|
|
1485
2050
|
}
|
|
1486
2051
|
|
|
2052
|
+
/**
|
|
2053
|
+
* The response for a spell.
|
|
2054
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2055
|
+
*/
|
|
1487
2056
|
interface SpellResponse extends ResponseBase, NameId {
|
|
1488
2057
|
description: null | string;
|
|
1489
2058
|
media: Media$2;
|
|
@@ -1491,14 +2060,28 @@ interface SpellResponse extends ResponseBase, NameId {
|
|
|
1491
2060
|
interface Media$2 extends KeyBase {
|
|
1492
2061
|
id: number;
|
|
1493
2062
|
}
|
|
2063
|
+
/**
|
|
2064
|
+
* The response for a spell media.
|
|
2065
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2066
|
+
*/
|
|
1494
2067
|
interface SpellMediaResponse extends ResponseBase {
|
|
1495
2068
|
assets: Array<MediaAsset$1>;
|
|
1496
2069
|
id: number;
|
|
1497
2070
|
}
|
|
2071
|
+
/**
|
|
2072
|
+
* The search parameters for spells.
|
|
2073
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2074
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
2075
|
+
*/
|
|
1498
2076
|
interface SpellSearchParameters extends BaseSearchParameters {
|
|
1499
2077
|
name: string;
|
|
1500
2078
|
locale: Locales;
|
|
1501
2079
|
}
|
|
2080
|
+
/**
|
|
2081
|
+
* The response for a spell search.
|
|
2082
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2083
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
2084
|
+
*/
|
|
1502
2085
|
interface SpellSearchResponseItem extends KeyBase {
|
|
1503
2086
|
data: {
|
|
1504
2087
|
name: Record<Locales, string | undefined>;
|
|
@@ -1509,9 +2092,17 @@ interface SpellSearchResponseItem extends KeyBase {
|
|
|
1509
2092
|
};
|
|
1510
2093
|
}
|
|
1511
2094
|
|
|
2095
|
+
/**
|
|
2096
|
+
* The response for a pvp talent index.
|
|
2097
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2098
|
+
*/
|
|
1512
2099
|
interface PvpTalentIndexResponse extends ResponseBase {
|
|
1513
2100
|
pvp_talents: Array<NameIdKey>;
|
|
1514
2101
|
}
|
|
2102
|
+
/**
|
|
2103
|
+
* The response for a pvp talent.
|
|
2104
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2105
|
+
*/
|
|
1515
2106
|
interface PvpTalentResponse extends ResponseBase {
|
|
1516
2107
|
id: number;
|
|
1517
2108
|
spell: NameIdKey;
|
|
@@ -1520,9 +2111,17 @@ interface PvpTalentResponse extends ResponseBase {
|
|
|
1520
2111
|
unlock_player_level: number;
|
|
1521
2112
|
compatible_slots: Array<number>;
|
|
1522
2113
|
}
|
|
2114
|
+
/**
|
|
2115
|
+
* The response for a talent index.
|
|
2116
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2117
|
+
*/
|
|
1523
2118
|
interface TalentIndexResponse extends ResponseBase {
|
|
1524
2119
|
talents: Array<NameIdKey>;
|
|
1525
2120
|
}
|
|
2121
|
+
/**
|
|
2122
|
+
* The response for a talent.
|
|
2123
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2124
|
+
*/
|
|
1526
2125
|
interface TalentResponse extends ResponseBase {
|
|
1527
2126
|
id: number;
|
|
1528
2127
|
rank_descriptions: Array<RankDescription>;
|
|
@@ -1536,6 +2135,10 @@ interface RankDescription {
|
|
|
1536
2135
|
rank: number;
|
|
1537
2136
|
description: null;
|
|
1538
2137
|
}
|
|
2138
|
+
/**
|
|
2139
|
+
* The response for a talent tree index.
|
|
2140
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2141
|
+
*/
|
|
1539
2142
|
interface TalentTreeIndexResponse extends ResponseBase {
|
|
1540
2143
|
spec_talent_trees: Array<TalentTree$1>;
|
|
1541
2144
|
class_talent_trees: Array<TalentTree$1>;
|
|
@@ -1543,6 +2146,10 @@ interface TalentTreeIndexResponse extends ResponseBase {
|
|
|
1543
2146
|
interface TalentTree$1 extends KeyBase {
|
|
1544
2147
|
name: string;
|
|
1545
2148
|
}
|
|
2149
|
+
/**
|
|
2150
|
+
* The response for a talent tree.
|
|
2151
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2152
|
+
*/
|
|
1546
2153
|
interface TalentTreeResponse extends ResponseBase, NameId {
|
|
1547
2154
|
playable_class: NameIdKey;
|
|
1548
2155
|
playable_specialization: NameIdKey;
|
|
@@ -1616,6 +2223,10 @@ interface PurpleSpellTooltip {
|
|
|
1616
2223
|
description: string;
|
|
1617
2224
|
cast_time: string;
|
|
1618
2225
|
}
|
|
2226
|
+
/**
|
|
2227
|
+
* The response for a talent tree nodes.
|
|
2228
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2229
|
+
*/
|
|
1619
2230
|
interface TalentTreeNodesResponse extends ResponseBase {
|
|
1620
2231
|
id: number;
|
|
1621
2232
|
spec_talent_trees: Array<SpecTalentTree>;
|
|
@@ -1639,9 +2250,17 @@ interface Rank {
|
|
|
1639
2250
|
tooltip?: Tooltip;
|
|
1640
2251
|
}
|
|
1641
2252
|
|
|
2253
|
+
/**
|
|
2254
|
+
* The response for a tech talent index.
|
|
2255
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2256
|
+
*/
|
|
1642
2257
|
interface TechTalentIndexResponse extends ResponseBase {
|
|
1643
2258
|
talents: Array<NameIdKey>;
|
|
1644
2259
|
}
|
|
2260
|
+
/**
|
|
2261
|
+
* The response for a tech talent.
|
|
2262
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2263
|
+
*/
|
|
1645
2264
|
interface TechTalentResponse extends ResponseBase, NameId {
|
|
1646
2265
|
talent_tree: Media$1;
|
|
1647
2266
|
tier: number;
|
|
@@ -1651,9 +2270,17 @@ interface TechTalentResponse extends ResponseBase, NameId {
|
|
|
1651
2270
|
interface Media$1 extends KeyBase {
|
|
1652
2271
|
id: number;
|
|
1653
2272
|
}
|
|
2273
|
+
/**
|
|
2274
|
+
* The response for a tech talent media.
|
|
2275
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2276
|
+
*/
|
|
1654
2277
|
interface TechTalentMediaResponse extends ResponseBase {
|
|
1655
2278
|
assets: Array<MediaAsset$1>;
|
|
1656
2279
|
}
|
|
2280
|
+
/**
|
|
2281
|
+
* The response for a tech talent tree index.
|
|
2282
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2283
|
+
*/
|
|
1657
2284
|
interface TechTalentTreeIndexResponse extends ResponseBase {
|
|
1658
2285
|
talent_trees: Array<TalentTree>;
|
|
1659
2286
|
}
|
|
@@ -1661,6 +2288,10 @@ interface TalentTree extends KeyBase {
|
|
|
1661
2288
|
id: number;
|
|
1662
2289
|
name?: string;
|
|
1663
2290
|
}
|
|
2291
|
+
/**
|
|
2292
|
+
* The response for a tech talent tree.
|
|
2293
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2294
|
+
*/
|
|
1664
2295
|
interface TechTalentTreeResponse extends ResponseBase {
|
|
1665
2296
|
id: number;
|
|
1666
2297
|
playable_class: NameIdKey;
|
|
@@ -1668,16 +2299,32 @@ interface TechTalentTreeResponse extends ResponseBase {
|
|
|
1668
2299
|
talents: Array<NameIdKey>;
|
|
1669
2300
|
}
|
|
1670
2301
|
|
|
2302
|
+
/**
|
|
2303
|
+
* The response for a title index.
|
|
2304
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2305
|
+
*/
|
|
1671
2306
|
interface TitleIndexResponse extends ResponseBase {
|
|
1672
2307
|
titles: Array<NameIdKey>;
|
|
1673
2308
|
}
|
|
2309
|
+
/**
|
|
2310
|
+
* The response for a title.
|
|
2311
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2312
|
+
*/
|
|
1674
2313
|
interface TitleResponse extends ResponseBase, NameId {
|
|
1675
2314
|
gender_name: Gender;
|
|
1676
2315
|
}
|
|
1677
2316
|
|
|
2317
|
+
/**
|
|
2318
|
+
* The response for a toy index.
|
|
2319
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2320
|
+
*/
|
|
1678
2321
|
interface ToyIndexResponse extends ResponseBase {
|
|
1679
2322
|
toys: Array<NameIdKey>;
|
|
1680
2323
|
}
|
|
2324
|
+
/**
|
|
2325
|
+
* The response for a toy.
|
|
2326
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2327
|
+
*/
|
|
1681
2328
|
interface ToyResponse extends ResponseBase {
|
|
1682
2329
|
id: number;
|
|
1683
2330
|
item: NameIdKey;
|
|
@@ -1693,11 +2340,19 @@ interface Source {
|
|
|
1693
2340
|
name: string;
|
|
1694
2341
|
}
|
|
1695
2342
|
|
|
2343
|
+
/**
|
|
2344
|
+
* The response for a WoW token.
|
|
2345
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2346
|
+
*/
|
|
1696
2347
|
interface WowTokenResponse extends ResponseBase {
|
|
1697
2348
|
last_updated_timestamp: number;
|
|
1698
2349
|
price: number;
|
|
1699
2350
|
}
|
|
1700
2351
|
|
|
2352
|
+
/**
|
|
2353
|
+
* The Blizzard API for World of Warcraft.
|
|
2354
|
+
* @see https://develop.battle.net/documentation/world-of-warcraft
|
|
2355
|
+
*/
|
|
1701
2356
|
declare const wow: {
|
|
1702
2357
|
wowToken: () => {
|
|
1703
2358
|
path: string;
|
|
@@ -2303,7 +2958,7 @@ declare const wow: {
|
|
|
2303
2958
|
path: string;
|
|
2304
2959
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
2305
2960
|
parameters?: Record<string, never> | undefined;
|
|
2306
|
-
_responseType?:
|
|
2961
|
+
_responseType?: ItemSubClassResponse | undefined;
|
|
2307
2962
|
};
|
|
2308
2963
|
itemClassIndex: () => {
|
|
2309
2964
|
path: string;
|
|
@@ -2541,4 +3196,4 @@ declare const wow: {
|
|
|
2541
3196
|
};
|
|
2542
3197
|
};
|
|
2543
3198
|
|
|
2544
|
-
export { type AchievementCategoryIndexResponse, type AchievementCategoryResponse, type AchievementIndexResponse, type AchievementMediaResponse, type AchievementResponse, type AuctionHouseCommoditiesResponse, type AuctionHouseResponse, type AzeriteEssenceIndexResponse, type AzeriteEssenceMediaResponse, type AzeriteEssenceResponse, type AzeriteEssenceSearchParameters, type AzeriteEssenceSearchResponseItem, type ConduitIndexResponse, type ConduitResponse, type ConnectedRealmIndexResponse, type ConnectedRealmResponse, type ConnectedRealmSearchParameters, type ConnectedRealmSearchResponseItem, type CovenantIndexResponse, type CovenantMediaResponse, type CovenantResponse, type CreatureDisplayMediaResponse, type CreatureFamilyIndexResponse, type CreatureFamilyMediaResponse, type CreatureFamilyResponse, type CreatureResponse, type CreatureSearchParameters, type CreatureSearchResponseItem, type CreatureTypeIndexResponse, type CreatureTypeResponse, type
|
|
3199
|
+
export { type AchievementCategoryIndexResponse, type AchievementCategoryResponse, type AchievementIndexResponse, type AchievementMediaResponse, type AchievementResponse, type AuctionHouseCommoditiesResponse, type AuctionHouseResponse, type AzeriteEssenceIndexResponse, type AzeriteEssenceMediaResponse, type AzeriteEssenceResponse, type AzeriteEssenceSearchParameters, type AzeriteEssenceSearchResponseItem, type ConduitIndexResponse, type ConduitResponse, type ConnectedRealmIndexResponse, type ConnectedRealmResponse, type ConnectedRealmSearchParameters, type ConnectedRealmSearchResponseItem, type CovenantIndexResponse, type CovenantMediaResponse, type CovenantResponse, type CreatureDisplayMediaResponse, type CreatureFamilyIndexResponse, type CreatureFamilyMediaResponse, type CreatureFamilyResponse, type CreatureResponse, type CreatureSearchParameters, type CreatureSearchResponseItem, type CreatureTypeIndexResponse, type CreatureTypeResponse, type GuildCrestBorderEmblemResponse, type GuildCrestComponentsIndexResponse, type HeirloomIndexResponse, type HeirloomResponse, type ItemClassIndexResponse, type ItemClassResponse, type ItemMediaResponse, type ItemResponse, type ItemSearchParameters, type ItemSearchResponseItem, type ItemSetIndexResponse, type ItemSetResponse, type ItemSubClassResponse, type JournalEncounterIndexResponse, type JournalEncounterResponse, type JournalEncounterSearchParameters, type JournalEncounterSearchResponseItem, type JournalExpansionIndexResponse, type JournalExpansionResponse, type JournalInstanceIndexResponse, type JournalInstanceMediaResponse, type JournalInstanceResponse, type MediaSearchParameters, type MediaSearchResponseItem, type ModifiedCraftingCategoryIndexResponse, type ModifiedCraftingCategoryResponse, type ModifiedCraftingIndexResponse, type ModifiedCraftingReagentSlotTypeIndexResponse, type ModifiedCraftingReagentSlotTypeResponse, type MountIndexResponse, type MountResponse, type MountSearchParameters, type MountSearchResponseItem, type MythicKeystoneAffixIndexResponse, type MythicKeystoneAffixMediaResponse, type MythicKeystoneAffixResponse, type MythicKeystoneDungeonIndexResponse, type MythicKeystoneDungeonResponse, type MythicKeystoneIndexResponse, type MythicKeystoneLeaderboardIndexResponse, type MythicKeystoneLeaderboardResponse, type MythicKeystonePeriodIndexResponse, type MythicKeystonePeriodResponse, type MythicKeystoneSeasonIndexResponse, type MythicKeystoneSeasonResponse, type MythicRaidLeaderboardResponse, type PetAbilityIndexResponse, type PetAbilityMediaResponse, type PetAbilityResponse, type PetIndexResponse, type PetMediaResponse, type PetResponse, type PlayableClassIndexResponse, type PlayableClassMediaResponse, type PlayableClassResponse, type PlayableRaceIndexResponse, type PlayableRaceResponse, type PlayableSpecializationIndexResponse, type PlayableSpecializationMediaResponse, type PlayableSpecializationResponse, type PowerTypeIndexResponse, type PowerTypeResponse, type ProfessionIndexResponse, type ProfessionMediaResponse, type ProfessionResponse, type ProfessionSkillTierResponse, type PvpLeaderboardIndexResponse, type PvpLeaderboardResponse, type PvpRewardsIndexResponse, type PvpSeasonIndexResponse, type PvpSeasonResponse, type PvpTalentIndexResponse, type PvpTalentResponse, type PvpTalentSlotsResponse, type PvpTierIndexResponse, type PvpTierMediaResponse, type PvpTierResponse, type QuestAreaIndexResponse, type QuestAreaResponse, type QuestCategoryIndexResponse, type QuestCategoryResponse, type QuestIndexResponse, type QuestResponse, type QuestTypeIndexResponse, type QuestTypeResponse, type RealmCategory, type RealmIndexResponse, type RealmResponse, type RealmSearchParameters, type RealmSearchResponseItem, type RealmTimezone, type RealmType, type RealmTypeCapitalized, type RecipeMediaResponse, type RecipeResponse, type RegionIndexResponse, type RegionResponse, type ReputationFactionIndexResponse, type ReputationFactionResponse, type ReputationTiersIndexResponse, type ReputationTiersResponse, type SoulbindIndexResponse, type SoulbindResponse, type SpellMediaResponse, type SpellResponse, type SpellSearchParameters, type SpellSearchResponseItem, type TalentIndexResponse, type TalentResponse, type TalentTreeIndexResponse, type TalentTreeNodesResponse, type TalentTreeResponse, type TechTalentIndexResponse, type TechTalentMediaResponse, type TechTalentResponse, type TechTalentTreeIndexResponse, type TechTalentTreeResponse, type TitleIndexResponse, type TitleResponse, type ToyIndexResponse, type ToyResponse, type WithoutUnderscore, type WowTokenResponse, wow };
|