@blizzard-api/wow 0.2.2 → 0.2.3
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/dist/index.cjs +654 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +672 -18
- package/dist/index.d.ts +672 -18
- package/dist/index.js +654 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
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,51 @@ 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;
|
|
735
948
|
}
|
|
949
|
+
/**
|
|
950
|
+
* The response for an item set index.
|
|
951
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
952
|
+
*/
|
|
736
953
|
interface ItemSetIndexResponse extends ResponseBase {
|
|
737
954
|
item_sets: Array<NameIdKey>;
|
|
738
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* The response for an item set.
|
|
958
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
959
|
+
*/
|
|
739
960
|
interface ItemSetResponse extends ResponseBase {
|
|
740
961
|
id: number;
|
|
741
962
|
name: string;
|
|
@@ -746,10 +967,20 @@ interface Effect {
|
|
|
746
967
|
display_string: string;
|
|
747
968
|
required_count: number;
|
|
748
969
|
}
|
|
970
|
+
/**
|
|
971
|
+
* The parameters for an item search.
|
|
972
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
973
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
974
|
+
*/
|
|
749
975
|
interface ItemSearchParameters extends BaseSearchParameters {
|
|
750
976
|
name: string;
|
|
751
977
|
locale: Locales;
|
|
752
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* The response for an item search.
|
|
981
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
982
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
983
|
+
*/
|
|
753
984
|
interface ItemSearchResponseItem extends KeyBase {
|
|
754
985
|
data: {
|
|
755
986
|
level: number;
|
|
@@ -782,9 +1013,17 @@ type EncounterCategory = 'RAID' | 'DUNGEON' | 'WORLD_BOSS';
|
|
|
782
1013
|
type EncounterMode = 'NORMAL' | 'HEROIC' | 'MYTHIC' | 'LFR';
|
|
783
1014
|
type ModeName = 'Raid Finder' | 'Normal' | 'Heroic' | 'Mythic' | 'Mythic+ Dungeons' | '10 Player' | '25 Player' | '10 Player (Heroic)' | '25 Player (Heroic)';
|
|
784
1015
|
type ModeType = 'LFR' | 'NORMAL' | 'HEROIC' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'LEGACY_10_MAN' | 'LEGACY_25_MAN' | 'LEGACY_10_MAN_HEROIC' | 'LEGACY_25_MAN_HEROIC';
|
|
1016
|
+
/**
|
|
1017
|
+
* The response for a journal encounter index.
|
|
1018
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1019
|
+
*/
|
|
785
1020
|
interface JournalEncounterIndexResponse extends ResponseBase {
|
|
786
1021
|
encounters: Array<NameIdKey>;
|
|
787
1022
|
}
|
|
1023
|
+
/**
|
|
1024
|
+
* The response for a journal encounter.
|
|
1025
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1026
|
+
*/
|
|
788
1027
|
interface JournalEncounterResponse extends ResponseBase, NameId {
|
|
789
1028
|
description: string;
|
|
790
1029
|
creatures: Array<Creature>;
|
|
@@ -821,16 +1060,32 @@ interface JournalSection {
|
|
|
821
1060
|
creature_display?: CreatureDisplay$1;
|
|
822
1061
|
spell?: NameIdKey;
|
|
823
1062
|
}
|
|
1063
|
+
/**
|
|
1064
|
+
* The response for a journal expansion index.
|
|
1065
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1066
|
+
*/
|
|
824
1067
|
interface JournalExpansionIndexResponse extends ResponseBase {
|
|
825
1068
|
tiers: Array<NameIdKey>;
|
|
826
1069
|
}
|
|
1070
|
+
/**
|
|
1071
|
+
* The response for a journal expansion.
|
|
1072
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1073
|
+
*/
|
|
827
1074
|
interface JournalExpansionResponse extends ResponseBase, NameId {
|
|
828
1075
|
dungeons: Array<NameIdKey>;
|
|
829
1076
|
raids: Array<NameIdKey>;
|
|
830
1077
|
}
|
|
1078
|
+
/**
|
|
1079
|
+
* The response for a journal instance index.
|
|
1080
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1081
|
+
*/
|
|
831
1082
|
interface JournalInstanceIndexResponse extends ResponseBase {
|
|
832
1083
|
instances: Array<NameIdKey>;
|
|
833
1084
|
}
|
|
1085
|
+
/**
|
|
1086
|
+
* The response for a journal instance.
|
|
1087
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1088
|
+
*/
|
|
834
1089
|
interface JournalInstanceResponse extends ResponseBase, NameId {
|
|
835
1090
|
map: NameId;
|
|
836
1091
|
area: NameId;
|
|
@@ -852,6 +1107,10 @@ interface ModeElement {
|
|
|
852
1107
|
players: number;
|
|
853
1108
|
is_tracked: boolean;
|
|
854
1109
|
}
|
|
1110
|
+
/**
|
|
1111
|
+
* The response for journal instance media.
|
|
1112
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1113
|
+
*/
|
|
855
1114
|
interface JournalInstanceMediaResponse extends ResponseBase {
|
|
856
1115
|
assets: Array<Asset>;
|
|
857
1116
|
}
|
|
@@ -859,10 +1118,20 @@ interface Asset {
|
|
|
859
1118
|
key: string;
|
|
860
1119
|
value: string;
|
|
861
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* The parameters for a journal encounter search.
|
|
1123
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1124
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1125
|
+
*/
|
|
862
1126
|
interface JournalEncounterSearchParameters extends BaseSearchParameters {
|
|
863
1127
|
instanceName: string;
|
|
864
1128
|
locale: Locales;
|
|
865
1129
|
}
|
|
1130
|
+
/**
|
|
1131
|
+
* The response for a journal encounter search.
|
|
1132
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1133
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1134
|
+
*/
|
|
866
1135
|
interface JournalEncounterSearchResponseItem extends KeyBase {
|
|
867
1136
|
data: {
|
|
868
1137
|
instance: {
|
|
@@ -896,11 +1165,48 @@ interface JournalEncounterSearchItem {
|
|
|
896
1165
|
};
|
|
897
1166
|
}
|
|
898
1167
|
|
|
1168
|
+
/**
|
|
1169
|
+
* The search parameters for media.
|
|
1170
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1171
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1172
|
+
*/
|
|
1173
|
+
interface MediaSearchParameters extends BaseSearchParameters {
|
|
1174
|
+
tags?: string;
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* The response for a media search.
|
|
1178
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1179
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1180
|
+
*/
|
|
1181
|
+
interface MediaSearchResponseItem extends KeyBase {
|
|
1182
|
+
data: {
|
|
1183
|
+
id: number;
|
|
1184
|
+
assets: Array<MediaAsset>;
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
interface MediaAsset {
|
|
1188
|
+
file_data_id: number;
|
|
1189
|
+
key: string;
|
|
1190
|
+
value: string;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* The response for a modified crafting category.
|
|
1195
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1196
|
+
*/
|
|
899
1197
|
interface ModifiedCraftingCategoryResponse extends ResponseBase, NameId {
|
|
900
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* The response for a modified crafting category index.
|
|
1201
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1202
|
+
*/
|
|
901
1203
|
interface ModifiedCraftingCategoryIndexResponse extends ResponseBase {
|
|
902
1204
|
categories: Array<NameIdKey>;
|
|
903
1205
|
}
|
|
1206
|
+
/**
|
|
1207
|
+
* The response for a modified crafting index.
|
|
1208
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1209
|
+
*/
|
|
904
1210
|
interface ModifiedCraftingIndexResponse extends ResponseBase {
|
|
905
1211
|
categories: {
|
|
906
1212
|
href: string;
|
|
@@ -909,6 +1215,10 @@ interface ModifiedCraftingIndexResponse extends ResponseBase {
|
|
|
909
1215
|
href: string;
|
|
910
1216
|
};
|
|
911
1217
|
}
|
|
1218
|
+
/**
|
|
1219
|
+
* The response for a modified crafting reagent slot type index.
|
|
1220
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1221
|
+
*/
|
|
912
1222
|
interface ModifiedCraftingReagentSlotTypeIndexResponse extends ResponseBase {
|
|
913
1223
|
slot_types: Array<SlotType>;
|
|
914
1224
|
}
|
|
@@ -916,15 +1226,27 @@ interface SlotType extends KeyBase {
|
|
|
916
1226
|
name?: string;
|
|
917
1227
|
id: number;
|
|
918
1228
|
}
|
|
1229
|
+
/**
|
|
1230
|
+
* The response for a modified crafting reagent slot type.
|
|
1231
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1232
|
+
*/
|
|
919
1233
|
interface ModifiedCraftingReagentSlotTypeResponse extends ResponseBase {
|
|
920
1234
|
id: number;
|
|
921
1235
|
description: string;
|
|
922
1236
|
compatible_categories: Array<NameIdKey>;
|
|
923
1237
|
}
|
|
924
1238
|
|
|
1239
|
+
/**
|
|
1240
|
+
* The response for a mount index.
|
|
1241
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1242
|
+
*/
|
|
925
1243
|
interface MountIndexResponse extends ResponseBase {
|
|
926
1244
|
mounts: Array<NameIdKey>;
|
|
927
1245
|
}
|
|
1246
|
+
/**
|
|
1247
|
+
* The response for a mount.
|
|
1248
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1249
|
+
*/
|
|
928
1250
|
interface MountResponse extends ResponseBase {
|
|
929
1251
|
id: number;
|
|
930
1252
|
name: string;
|
|
@@ -940,10 +1262,20 @@ interface Source$2 {
|
|
|
940
1262
|
type: string;
|
|
941
1263
|
name: string;
|
|
942
1264
|
}
|
|
1265
|
+
/**
|
|
1266
|
+
* The search parameters for mounts.
|
|
1267
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1268
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1269
|
+
*/
|
|
943
1270
|
interface MountSearchParameters extends BaseSearchParameters {
|
|
944
1271
|
name: string;
|
|
945
1272
|
locale: Locales;
|
|
946
1273
|
}
|
|
1274
|
+
/**
|
|
1275
|
+
* The response for a mount search.
|
|
1276
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1277
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
1278
|
+
*/
|
|
947
1279
|
interface MountSearchResponseItem extends KeyBase {
|
|
948
1280
|
data: {
|
|
949
1281
|
creature_displays: Array<{
|
|
@@ -962,9 +1294,17 @@ interface MountSearchResponseItem extends KeyBase {
|
|
|
962
1294
|
};
|
|
963
1295
|
}
|
|
964
1296
|
|
|
1297
|
+
/**
|
|
1298
|
+
* The response for a Mythic Keystone affix index.
|
|
1299
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1300
|
+
*/
|
|
965
1301
|
interface MythicKeystoneAffixIndexResponse extends ResponseBase {
|
|
966
1302
|
affixes: Array<NameIdKey>;
|
|
967
1303
|
}
|
|
1304
|
+
/**
|
|
1305
|
+
* The response for a Mythic Keystone affix.
|
|
1306
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1307
|
+
*/
|
|
968
1308
|
interface MythicKeystoneAffixResponse extends ResponseBase, NameId {
|
|
969
1309
|
description: string;
|
|
970
1310
|
media: Media$8;
|
|
@@ -972,14 +1312,26 @@ interface MythicKeystoneAffixResponse extends ResponseBase, NameId {
|
|
|
972
1312
|
interface Media$8 extends KeyBase {
|
|
973
1313
|
id: number;
|
|
974
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* The response for a Mythic Keystone affix media.
|
|
1317
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1318
|
+
*/
|
|
975
1319
|
interface MythicKeystoneAffixMediaResponse extends ResponseBase {
|
|
976
1320
|
assets: Array<MediaAsset$1>;
|
|
977
1321
|
id: number;
|
|
978
1322
|
}
|
|
979
1323
|
|
|
1324
|
+
/**
|
|
1325
|
+
* The response for a Mythic Keystone dungeon index.
|
|
1326
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1327
|
+
*/
|
|
980
1328
|
interface MythicKeystoneDungeonIndexResponse extends ResponseBase {
|
|
981
1329
|
dungeons: Array<NameIdKey>;
|
|
982
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* The response for a Mythic Keystone dungeon.
|
|
1333
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1334
|
+
*/
|
|
983
1335
|
interface MythicKeystoneDungeonResponse extends ResponseBase, NameId {
|
|
984
1336
|
map: NameId;
|
|
985
1337
|
zone: Zone;
|
|
@@ -994,6 +1346,10 @@ interface KeystoneUpgrade {
|
|
|
994
1346
|
interface Zone {
|
|
995
1347
|
slug: string;
|
|
996
1348
|
}
|
|
1349
|
+
/**
|
|
1350
|
+
* The response for a Mythic Keystone index.
|
|
1351
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1352
|
+
*/
|
|
997
1353
|
interface MythicKeystoneIndexResponse extends ResponseBase {
|
|
998
1354
|
seasons: {
|
|
999
1355
|
href: string;
|
|
@@ -1002,6 +1358,10 @@ interface MythicKeystoneIndexResponse extends ResponseBase {
|
|
|
1002
1358
|
href: string;
|
|
1003
1359
|
};
|
|
1004
1360
|
}
|
|
1361
|
+
/**
|
|
1362
|
+
* The response for a Mythic Keystone period index.
|
|
1363
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1364
|
+
*/
|
|
1005
1365
|
interface MythicKeystonePeriodIndexResponse extends ResponseBase {
|
|
1006
1366
|
periods: Array<Period>;
|
|
1007
1367
|
current_period: Period;
|
|
@@ -1009,15 +1369,27 @@ interface MythicKeystonePeriodIndexResponse extends ResponseBase {
|
|
|
1009
1369
|
interface Period extends KeyBase {
|
|
1010
1370
|
id: number;
|
|
1011
1371
|
}
|
|
1372
|
+
/**
|
|
1373
|
+
* The response for a Mythic Keystone period.
|
|
1374
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1375
|
+
*/
|
|
1012
1376
|
interface MythicKeystonePeriodResponse extends ResponseBase {
|
|
1013
1377
|
id: number;
|
|
1014
1378
|
start_timestamp: number;
|
|
1015
1379
|
end_timestamp: number;
|
|
1016
1380
|
}
|
|
1381
|
+
/**
|
|
1382
|
+
* The response for a Mythic Keystone season index.
|
|
1383
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1384
|
+
*/
|
|
1017
1385
|
interface MythicKeystoneSeasonIndexResponse extends ResponseBase {
|
|
1018
1386
|
seasons: Array<Period>;
|
|
1019
1387
|
current_season: Period;
|
|
1020
1388
|
}
|
|
1389
|
+
/**
|
|
1390
|
+
* The response for a Mythic Keystone season.
|
|
1391
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1392
|
+
*/
|
|
1021
1393
|
interface MythicKeystoneSeasonResponse extends ResponseBase {
|
|
1022
1394
|
id: number;
|
|
1023
1395
|
start_timestamp: number;
|
|
@@ -1026,9 +1398,17 @@ interface MythicKeystoneSeasonResponse extends ResponseBase {
|
|
|
1026
1398
|
season_name: string | null;
|
|
1027
1399
|
}
|
|
1028
1400
|
|
|
1401
|
+
/**
|
|
1402
|
+
* The response for a Mythic Keystone leaderboard index.
|
|
1403
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1404
|
+
*/
|
|
1029
1405
|
interface MythicKeystoneLeaderboardIndexResponse extends ResponseBase {
|
|
1030
1406
|
current_leaderboards: Array<NameIdKey>;
|
|
1031
1407
|
}
|
|
1408
|
+
/**
|
|
1409
|
+
* The response for a Mythic Keystone leaderboard.
|
|
1410
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1411
|
+
*/
|
|
1032
1412
|
interface MythicKeystoneLeaderboardResponse extends ResponseBase {
|
|
1033
1413
|
map: NameId;
|
|
1034
1414
|
period: number;
|
|
@@ -1076,6 +1456,10 @@ interface MythicRating {
|
|
|
1076
1456
|
rating: number;
|
|
1077
1457
|
}
|
|
1078
1458
|
|
|
1459
|
+
/**
|
|
1460
|
+
* The response for a Mythic Raid leaderboard.
|
|
1461
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1462
|
+
*/
|
|
1079
1463
|
interface MythicRaidLeaderboardResponse extends ResponseBase {
|
|
1080
1464
|
slug: string;
|
|
1081
1465
|
criteria_type: string;
|
|
@@ -1104,9 +1488,17 @@ interface JournalInstance extends KeyBase {
|
|
|
1104
1488
|
id: number;
|
|
1105
1489
|
}
|
|
1106
1490
|
|
|
1491
|
+
/**
|
|
1492
|
+
* The response for a pet index.
|
|
1493
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1494
|
+
*/
|
|
1107
1495
|
interface PetIndexResponse extends ResponseBase {
|
|
1108
1496
|
pets: Array<NameIdKey>;
|
|
1109
1497
|
}
|
|
1498
|
+
/**
|
|
1499
|
+
* The response for a pet.
|
|
1500
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1501
|
+
*/
|
|
1110
1502
|
interface PetResponse extends ResponseBase, NameId {
|
|
1111
1503
|
battle_pet_type: BattlePetType;
|
|
1112
1504
|
description: string;
|
|
@@ -1138,26 +1530,50 @@ interface Source$1 {
|
|
|
1138
1530
|
type: string;
|
|
1139
1531
|
name: string;
|
|
1140
1532
|
}
|
|
1533
|
+
/**
|
|
1534
|
+
* The response for a pet search.
|
|
1535
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1536
|
+
*/
|
|
1141
1537
|
interface PetMediaResponse extends ResponseBase {
|
|
1142
1538
|
assets: Array<MediaAsset$1>;
|
|
1143
1539
|
id: number;
|
|
1144
1540
|
}
|
|
1541
|
+
/**
|
|
1542
|
+
* The response for a pet ability index.
|
|
1543
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1544
|
+
*/
|
|
1145
1545
|
interface PetAbilityIndexResponse extends ResponseBase {
|
|
1146
1546
|
abilities: Array<NameIdKey>;
|
|
1147
1547
|
}
|
|
1548
|
+
/**
|
|
1549
|
+
* The response for a pet ability.
|
|
1550
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1551
|
+
*/
|
|
1148
1552
|
interface PetAbilityResponse extends ResponseBase, NameId {
|
|
1149
1553
|
battle_pet_type: BattlePetType;
|
|
1150
1554
|
rounds: number;
|
|
1151
1555
|
media: Media$7;
|
|
1152
1556
|
}
|
|
1557
|
+
/**
|
|
1558
|
+
* The response for a pet ability media.
|
|
1559
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1560
|
+
*/
|
|
1153
1561
|
interface PetAbilityMediaResponse extends ResponseBase {
|
|
1154
1562
|
assets: Array<MediaAsset$1>;
|
|
1155
1563
|
id: number;
|
|
1156
1564
|
}
|
|
1157
1565
|
|
|
1566
|
+
/**
|
|
1567
|
+
* The response for a playable class index.
|
|
1568
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1569
|
+
*/
|
|
1158
1570
|
interface PlayableClassIndexResponse extends ResponseBase {
|
|
1159
1571
|
classes: Array<NameIdKey>;
|
|
1160
1572
|
}
|
|
1573
|
+
/**
|
|
1574
|
+
* The response for a playable class.
|
|
1575
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1576
|
+
*/
|
|
1161
1577
|
interface PlayableClassResponse extends ResponseBase, NameId {
|
|
1162
1578
|
gender_name: Gender;
|
|
1163
1579
|
power_type: NameIdKey;
|
|
@@ -1171,10 +1587,18 @@ interface PlayableClassResponse extends ResponseBase, NameId {
|
|
|
1171
1587
|
interface Media$6 extends KeyBase {
|
|
1172
1588
|
id: number;
|
|
1173
1589
|
}
|
|
1590
|
+
/**
|
|
1591
|
+
* The response for playable class media.
|
|
1592
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1593
|
+
*/
|
|
1174
1594
|
interface PlayableClassMediaResponse extends ResponseBase {
|
|
1175
1595
|
assets: Array<MediaAsset$1>;
|
|
1176
1596
|
id: number;
|
|
1177
1597
|
}
|
|
1598
|
+
/**
|
|
1599
|
+
* The response for a playable class's PvP talent slots.
|
|
1600
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1601
|
+
*/
|
|
1178
1602
|
interface PvpTalentSlotsResponse extends ResponseBase {
|
|
1179
1603
|
talent_slots: Array<TalentSlot>;
|
|
1180
1604
|
}
|
|
@@ -1183,9 +1607,17 @@ interface TalentSlot {
|
|
|
1183
1607
|
unlock_player_level: number;
|
|
1184
1608
|
}
|
|
1185
1609
|
|
|
1610
|
+
/**
|
|
1611
|
+
* The playable race index response.
|
|
1612
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1613
|
+
*/
|
|
1186
1614
|
interface PlayableRaceIndexResponse extends ResponseBase {
|
|
1187
1615
|
races: Array<NameIdKey>;
|
|
1188
1616
|
}
|
|
1617
|
+
/**
|
|
1618
|
+
* The playable race response.
|
|
1619
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1620
|
+
*/
|
|
1189
1621
|
interface PlayableRaceResponse extends ResponseBase, NameId {
|
|
1190
1622
|
gender_name: Gender;
|
|
1191
1623
|
faction: Faction;
|
|
@@ -1194,10 +1626,18 @@ interface PlayableRaceResponse extends ResponseBase, NameId {
|
|
|
1194
1626
|
playable_classes: Array<NameIdKey>;
|
|
1195
1627
|
}
|
|
1196
1628
|
|
|
1629
|
+
/**
|
|
1630
|
+
* The response for a playable specialization index.
|
|
1631
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1632
|
+
*/
|
|
1197
1633
|
interface PlayableSpecializationIndexResponse extends ResponseBase {
|
|
1198
1634
|
character_specializations: Array<NameIdKey>;
|
|
1199
1635
|
pet_specializations: Array<NameIdKey>;
|
|
1200
1636
|
}
|
|
1637
|
+
/**
|
|
1638
|
+
* The response for a playable specialization.
|
|
1639
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1640
|
+
*/
|
|
1201
1641
|
interface PlayableSpecializationResponse extends ResponseBase, NameId {
|
|
1202
1642
|
playable_class: NameIdKey;
|
|
1203
1643
|
gender_description: Gender;
|
|
@@ -1229,20 +1669,40 @@ interface SpellTooltip {
|
|
|
1229
1669
|
interface SpecTalentTree$1 extends KeyBase {
|
|
1230
1670
|
name: string;
|
|
1231
1671
|
}
|
|
1672
|
+
/**
|
|
1673
|
+
* The response for a playable specialization media.
|
|
1674
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1675
|
+
*/
|
|
1232
1676
|
interface PlayableSpecializationMediaResponse extends ResponseBase {
|
|
1233
1677
|
assets: Array<MediaAsset$1>;
|
|
1234
1678
|
id: number;
|
|
1235
1679
|
}
|
|
1236
1680
|
|
|
1681
|
+
/**
|
|
1682
|
+
* The response for a power type index.
|
|
1683
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1684
|
+
*/
|
|
1237
1685
|
interface PowerTypeIndexResponse extends ResponseBase {
|
|
1238
1686
|
power_types: Array<NameIdKey>;
|
|
1239
1687
|
}
|
|
1688
|
+
/**
|
|
1689
|
+
* The response for a power type.
|
|
1690
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1691
|
+
*/
|
|
1240
1692
|
interface PowerTypeResponse extends ResponseBase, NameId {
|
|
1241
1693
|
}
|
|
1242
1694
|
|
|
1695
|
+
/**
|
|
1696
|
+
* The response for a profession index.
|
|
1697
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1698
|
+
*/
|
|
1243
1699
|
interface ProfessionIndexResponse extends ResponseBase {
|
|
1244
1700
|
professions: Array<NameIdKey>;
|
|
1245
1701
|
}
|
|
1702
|
+
/**
|
|
1703
|
+
* The response for a profession.
|
|
1704
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1705
|
+
*/
|
|
1246
1706
|
interface ProfessionResponse extends ResponseBase, NameId {
|
|
1247
1707
|
description: string;
|
|
1248
1708
|
type: Type;
|
|
@@ -1256,6 +1716,10 @@ interface Type {
|
|
|
1256
1716
|
type: string;
|
|
1257
1717
|
name: string;
|
|
1258
1718
|
}
|
|
1719
|
+
/**
|
|
1720
|
+
* The response for a profession skill tier.
|
|
1721
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1722
|
+
*/
|
|
1259
1723
|
interface ProfessionSkillTierResponse extends ResponseBase, NameId {
|
|
1260
1724
|
minimum_skill_level: number;
|
|
1261
1725
|
maximum_skill_level: number;
|
|
@@ -1265,10 +1729,18 @@ interface Category {
|
|
|
1265
1729
|
name: string;
|
|
1266
1730
|
recipes: Array<NameIdKey>;
|
|
1267
1731
|
}
|
|
1732
|
+
/**
|
|
1733
|
+
* The response for a profession media.
|
|
1734
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1735
|
+
*/
|
|
1268
1736
|
interface ProfessionMediaResponse extends ResponseBase {
|
|
1269
1737
|
assets: Array<MediaAsset$1>;
|
|
1270
1738
|
id: number;
|
|
1271
1739
|
}
|
|
1740
|
+
/**
|
|
1741
|
+
* The response for a recipe.
|
|
1742
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1743
|
+
*/
|
|
1272
1744
|
interface RecipeResponse extends ResponseBase, NameId {
|
|
1273
1745
|
media: Media$4;
|
|
1274
1746
|
crafted_item: NameIdKey;
|
|
@@ -1282,11 +1754,19 @@ interface Reagent {
|
|
|
1282
1754
|
reagent: NameIdKey;
|
|
1283
1755
|
quantity: number;
|
|
1284
1756
|
}
|
|
1757
|
+
/**
|
|
1758
|
+
* The response for a recipe media.
|
|
1759
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1760
|
+
*/
|
|
1285
1761
|
interface RecipeMediaResponse extends ResponseBase {
|
|
1286
1762
|
assets: Array<MediaAsset$1>;
|
|
1287
1763
|
id: number;
|
|
1288
1764
|
}
|
|
1289
1765
|
|
|
1766
|
+
/**
|
|
1767
|
+
* The response for a PvP leaderboard.
|
|
1768
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1769
|
+
*/
|
|
1290
1770
|
interface PvpLeaderboardResponse extends ResponseBase {
|
|
1291
1771
|
season: Season;
|
|
1292
1772
|
name: string;
|
|
@@ -1315,10 +1795,18 @@ interface SeasonMatchStatistics {
|
|
|
1315
1795
|
won: number;
|
|
1316
1796
|
lost: number;
|
|
1317
1797
|
}
|
|
1798
|
+
/**
|
|
1799
|
+
* The response for a PvP leaderboard index.
|
|
1800
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1801
|
+
*/
|
|
1318
1802
|
interface PvpLeaderboardIndexResponse extends ResponseBase {
|
|
1319
1803
|
season: Season;
|
|
1320
1804
|
leaderboards: Array<NameIdKey>;
|
|
1321
1805
|
}
|
|
1806
|
+
/**
|
|
1807
|
+
* The response for PvP rewards index.
|
|
1808
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1809
|
+
*/
|
|
1322
1810
|
interface PvpRewardsIndexResponse extends ResponseBase {
|
|
1323
1811
|
season: Season;
|
|
1324
1812
|
rewards: Array<Reward>;
|
|
@@ -1334,6 +1822,10 @@ interface Bracket$1 {
|
|
|
1334
1822
|
id: number;
|
|
1335
1823
|
type: 'ARENA_3v3' | 'BATTLEGROUNDS' | 'SHUFFLE';
|
|
1336
1824
|
}
|
|
1825
|
+
/**
|
|
1826
|
+
* The response for a PvP season index.
|
|
1827
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1828
|
+
*/
|
|
1337
1829
|
interface PvpSeasonIndexResponse extends ResponseBase {
|
|
1338
1830
|
seasons: Array<Season>;
|
|
1339
1831
|
current_season: Season;
|
|
@@ -1341,6 +1833,10 @@ interface PvpSeasonIndexResponse extends ResponseBase {
|
|
|
1341
1833
|
interface Season extends KeyBase {
|
|
1342
1834
|
id: number;
|
|
1343
1835
|
}
|
|
1836
|
+
/**
|
|
1837
|
+
* The response for a PvP season.
|
|
1838
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1839
|
+
*/
|
|
1344
1840
|
interface PvpSeasonResponse extends ResponseBase {
|
|
1345
1841
|
id: number;
|
|
1346
1842
|
leaderboards: {
|
|
@@ -1353,9 +1849,17 @@ interface PvpSeasonResponse extends ResponseBase {
|
|
|
1353
1849
|
season_name: string;
|
|
1354
1850
|
}
|
|
1355
1851
|
|
|
1852
|
+
/**
|
|
1853
|
+
* The response for a PvP tier index.
|
|
1854
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1855
|
+
*/
|
|
1356
1856
|
interface PvpTierIndexResponse extends ResponseBase {
|
|
1357
1857
|
tiers: Array<NameIdKey>;
|
|
1358
1858
|
}
|
|
1859
|
+
/**
|
|
1860
|
+
* The response for a PvP tier.
|
|
1861
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1862
|
+
*/
|
|
1359
1863
|
interface PvpTierResponse extends ResponseBase, NameId {
|
|
1360
1864
|
min_rating: number;
|
|
1361
1865
|
max_rating: number;
|
|
@@ -1370,11 +1874,19 @@ interface Bracket {
|
|
|
1370
1874
|
interface Media$3 extends KeyBase {
|
|
1371
1875
|
id: number;
|
|
1372
1876
|
}
|
|
1877
|
+
/**
|
|
1878
|
+
* The response for a PvP tier media.
|
|
1879
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1880
|
+
*/
|
|
1373
1881
|
interface PvpTierMediaResponse extends ResponseBase {
|
|
1374
1882
|
assets: Array<MediaAsset$1>;
|
|
1375
1883
|
id: number;
|
|
1376
1884
|
}
|
|
1377
1885
|
|
|
1886
|
+
/**
|
|
1887
|
+
* The response for a quest index.
|
|
1888
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1889
|
+
*/
|
|
1378
1890
|
interface QuestIndexResponse extends ResponseBase {
|
|
1379
1891
|
categories: {
|
|
1380
1892
|
href: string;
|
|
@@ -1386,6 +1898,10 @@ interface QuestIndexResponse extends ResponseBase {
|
|
|
1386
1898
|
href: string;
|
|
1387
1899
|
};
|
|
1388
1900
|
}
|
|
1901
|
+
/**
|
|
1902
|
+
* The response for a quest.
|
|
1903
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1904
|
+
*/
|
|
1389
1905
|
interface QuestResponse extends ResponseBase {
|
|
1390
1906
|
id: number;
|
|
1391
1907
|
title: string;
|
|
@@ -1417,45 +1933,85 @@ interface Reputation {
|
|
|
1417
1933
|
reward: NameIdKey;
|
|
1418
1934
|
value: number;
|
|
1419
1935
|
}
|
|
1936
|
+
/**
|
|
1937
|
+
* The response for a quest area index.
|
|
1938
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1939
|
+
*/
|
|
1420
1940
|
interface QuestAreaIndexResponse extends ResponseBase {
|
|
1421
1941
|
areas: Array<NameIdKey>;
|
|
1422
1942
|
}
|
|
1943
|
+
/**
|
|
1944
|
+
* The response for a quest area.
|
|
1945
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1946
|
+
*/
|
|
1423
1947
|
interface QuestAreaResponse extends ResponseBase {
|
|
1424
1948
|
id: number;
|
|
1425
1949
|
area: string;
|
|
1426
1950
|
quests: Array<NameIdKey>;
|
|
1427
1951
|
}
|
|
1952
|
+
/**
|
|
1953
|
+
* The response for a quest category index.
|
|
1954
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1955
|
+
*/
|
|
1428
1956
|
interface QuestCategoryIndexResponse extends ResponseBase {
|
|
1429
1957
|
categories: Array<NameIdKey>;
|
|
1430
1958
|
}
|
|
1959
|
+
/**
|
|
1960
|
+
* The response for a quest category.
|
|
1961
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1962
|
+
*/
|
|
1431
1963
|
interface QuestCategoryResponse extends ResponseBase {
|
|
1432
1964
|
id: number;
|
|
1433
1965
|
category: string;
|
|
1434
1966
|
quests: Array<NameIdKey>;
|
|
1435
1967
|
}
|
|
1968
|
+
/**
|
|
1969
|
+
* The response for a quest type index.
|
|
1970
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1971
|
+
*/
|
|
1436
1972
|
interface QuestTypeIndexResponse extends ResponseBase {
|
|
1437
1973
|
types: Array<NameIdKey>;
|
|
1438
1974
|
}
|
|
1975
|
+
/**
|
|
1976
|
+
* The response for a quest type.
|
|
1977
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1978
|
+
*/
|
|
1439
1979
|
interface QuestTypeResponse extends ResponseBase {
|
|
1440
1980
|
id: number;
|
|
1441
1981
|
type: string;
|
|
1442
1982
|
quests: Array<NameIdKey>;
|
|
1443
1983
|
}
|
|
1444
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* The response for a region index.
|
|
1987
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1988
|
+
*/
|
|
1445
1989
|
interface RegionIndexResponse extends ResponseBase {
|
|
1446
1990
|
regions: Array<{
|
|
1447
1991
|
href: string;
|
|
1448
1992
|
}>;
|
|
1449
1993
|
}
|
|
1994
|
+
/**
|
|
1995
|
+
* The response for a region.
|
|
1996
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
1997
|
+
*/
|
|
1450
1998
|
interface RegionResponse extends ResponseBase, NameId {
|
|
1451
1999
|
tag: string;
|
|
1452
2000
|
patch_string: string;
|
|
1453
2001
|
}
|
|
1454
2002
|
|
|
2003
|
+
/**
|
|
2004
|
+
* The response for a reputation faction index.
|
|
2005
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2006
|
+
*/
|
|
1455
2007
|
interface ReputationFactionIndexResponse extends ResponseBase {
|
|
1456
2008
|
factions: Array<NameIdKey>;
|
|
1457
2009
|
root_factions: Array<NameIdKey>;
|
|
1458
2010
|
}
|
|
2011
|
+
/**
|
|
2012
|
+
* The response for a reputation faction.
|
|
2013
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2014
|
+
*/
|
|
1459
2015
|
interface ReputationFactionResponse extends ResponseBase {
|
|
1460
2016
|
id: number;
|
|
1461
2017
|
name: string;
|
|
@@ -1465,6 +2021,10 @@ interface ReputationFactionResponse extends ResponseBase {
|
|
|
1465
2021
|
interface ReputationTiers extends KeyBase {
|
|
1466
2022
|
id: number;
|
|
1467
2023
|
}
|
|
2024
|
+
/**
|
|
2025
|
+
* The response for a reputation tier index.
|
|
2026
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2027
|
+
*/
|
|
1468
2028
|
interface ReputationTiersIndexResponse extends ResponseBase {
|
|
1469
2029
|
reputation_tiers: Array<ReputationTier>;
|
|
1470
2030
|
}
|
|
@@ -1472,6 +2032,10 @@ interface ReputationTier extends KeyBase {
|
|
|
1472
2032
|
id: number;
|
|
1473
2033
|
name?: string;
|
|
1474
2034
|
}
|
|
2035
|
+
/**
|
|
2036
|
+
* The response for a reputation tier.
|
|
2037
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2038
|
+
*/
|
|
1475
2039
|
interface ReputationTiersResponse extends ResponseBase {
|
|
1476
2040
|
id: number;
|
|
1477
2041
|
tiers: Array<Tier>;
|
|
@@ -1484,6 +2048,10 @@ interface Tier {
|
|
|
1484
2048
|
id: number;
|
|
1485
2049
|
}
|
|
1486
2050
|
|
|
2051
|
+
/**
|
|
2052
|
+
* The response for a spell.
|
|
2053
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2054
|
+
*/
|
|
1487
2055
|
interface SpellResponse extends ResponseBase, NameId {
|
|
1488
2056
|
description: null | string;
|
|
1489
2057
|
media: Media$2;
|
|
@@ -1491,14 +2059,28 @@ interface SpellResponse extends ResponseBase, NameId {
|
|
|
1491
2059
|
interface Media$2 extends KeyBase {
|
|
1492
2060
|
id: number;
|
|
1493
2061
|
}
|
|
2062
|
+
/**
|
|
2063
|
+
* The response for a spell media.
|
|
2064
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2065
|
+
*/
|
|
1494
2066
|
interface SpellMediaResponse extends ResponseBase {
|
|
1495
2067
|
assets: Array<MediaAsset$1>;
|
|
1496
2068
|
id: number;
|
|
1497
2069
|
}
|
|
2070
|
+
/**
|
|
2071
|
+
* The search parameters for spells.
|
|
2072
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2073
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
2074
|
+
*/
|
|
1498
2075
|
interface SpellSearchParameters extends BaseSearchParameters {
|
|
1499
2076
|
name: string;
|
|
1500
2077
|
locale: Locales;
|
|
1501
2078
|
}
|
|
2079
|
+
/**
|
|
2080
|
+
* The response for a spell search.
|
|
2081
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2082
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
|
|
2083
|
+
*/
|
|
1502
2084
|
interface SpellSearchResponseItem extends KeyBase {
|
|
1503
2085
|
data: {
|
|
1504
2086
|
name: Record<Locales, string | undefined>;
|
|
@@ -1509,9 +2091,17 @@ interface SpellSearchResponseItem extends KeyBase {
|
|
|
1509
2091
|
};
|
|
1510
2092
|
}
|
|
1511
2093
|
|
|
2094
|
+
/**
|
|
2095
|
+
* The response for a pvp talent index.
|
|
2096
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2097
|
+
*/
|
|
1512
2098
|
interface PvpTalentIndexResponse extends ResponseBase {
|
|
1513
2099
|
pvp_talents: Array<NameIdKey>;
|
|
1514
2100
|
}
|
|
2101
|
+
/**
|
|
2102
|
+
* The response for a pvp talent.
|
|
2103
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2104
|
+
*/
|
|
1515
2105
|
interface PvpTalentResponse extends ResponseBase {
|
|
1516
2106
|
id: number;
|
|
1517
2107
|
spell: NameIdKey;
|
|
@@ -1520,9 +2110,17 @@ interface PvpTalentResponse extends ResponseBase {
|
|
|
1520
2110
|
unlock_player_level: number;
|
|
1521
2111
|
compatible_slots: Array<number>;
|
|
1522
2112
|
}
|
|
2113
|
+
/**
|
|
2114
|
+
* The response for a talent index.
|
|
2115
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2116
|
+
*/
|
|
1523
2117
|
interface TalentIndexResponse extends ResponseBase {
|
|
1524
2118
|
talents: Array<NameIdKey>;
|
|
1525
2119
|
}
|
|
2120
|
+
/**
|
|
2121
|
+
* The response for a talent.
|
|
2122
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2123
|
+
*/
|
|
1526
2124
|
interface TalentResponse extends ResponseBase {
|
|
1527
2125
|
id: number;
|
|
1528
2126
|
rank_descriptions: Array<RankDescription>;
|
|
@@ -1536,6 +2134,10 @@ interface RankDescription {
|
|
|
1536
2134
|
rank: number;
|
|
1537
2135
|
description: null;
|
|
1538
2136
|
}
|
|
2137
|
+
/**
|
|
2138
|
+
* The response for a talent tree index.
|
|
2139
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2140
|
+
*/
|
|
1539
2141
|
interface TalentTreeIndexResponse extends ResponseBase {
|
|
1540
2142
|
spec_talent_trees: Array<TalentTree$1>;
|
|
1541
2143
|
class_talent_trees: Array<TalentTree$1>;
|
|
@@ -1543,6 +2145,10 @@ interface TalentTreeIndexResponse extends ResponseBase {
|
|
|
1543
2145
|
interface TalentTree$1 extends KeyBase {
|
|
1544
2146
|
name: string;
|
|
1545
2147
|
}
|
|
2148
|
+
/**
|
|
2149
|
+
* The response for a talent tree.
|
|
2150
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2151
|
+
*/
|
|
1546
2152
|
interface TalentTreeResponse extends ResponseBase, NameId {
|
|
1547
2153
|
playable_class: NameIdKey;
|
|
1548
2154
|
playable_specialization: NameIdKey;
|
|
@@ -1616,6 +2222,10 @@ interface PurpleSpellTooltip {
|
|
|
1616
2222
|
description: string;
|
|
1617
2223
|
cast_time: string;
|
|
1618
2224
|
}
|
|
2225
|
+
/**
|
|
2226
|
+
* The response for a talent tree nodes.
|
|
2227
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2228
|
+
*/
|
|
1619
2229
|
interface TalentTreeNodesResponse extends ResponseBase {
|
|
1620
2230
|
id: number;
|
|
1621
2231
|
spec_talent_trees: Array<SpecTalentTree>;
|
|
@@ -1639,9 +2249,17 @@ interface Rank {
|
|
|
1639
2249
|
tooltip?: Tooltip;
|
|
1640
2250
|
}
|
|
1641
2251
|
|
|
2252
|
+
/**
|
|
2253
|
+
* The response for a tech talent index.
|
|
2254
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2255
|
+
*/
|
|
1642
2256
|
interface TechTalentIndexResponse extends ResponseBase {
|
|
1643
2257
|
talents: Array<NameIdKey>;
|
|
1644
2258
|
}
|
|
2259
|
+
/**
|
|
2260
|
+
* The response for a tech talent.
|
|
2261
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2262
|
+
*/
|
|
1645
2263
|
interface TechTalentResponse extends ResponseBase, NameId {
|
|
1646
2264
|
talent_tree: Media$1;
|
|
1647
2265
|
tier: number;
|
|
@@ -1651,9 +2269,17 @@ interface TechTalentResponse extends ResponseBase, NameId {
|
|
|
1651
2269
|
interface Media$1 extends KeyBase {
|
|
1652
2270
|
id: number;
|
|
1653
2271
|
}
|
|
2272
|
+
/**
|
|
2273
|
+
* The response for a tech talent media.
|
|
2274
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2275
|
+
*/
|
|
1654
2276
|
interface TechTalentMediaResponse extends ResponseBase {
|
|
1655
2277
|
assets: Array<MediaAsset$1>;
|
|
1656
2278
|
}
|
|
2279
|
+
/**
|
|
2280
|
+
* The response for a tech talent tree index.
|
|
2281
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2282
|
+
*/
|
|
1657
2283
|
interface TechTalentTreeIndexResponse extends ResponseBase {
|
|
1658
2284
|
talent_trees: Array<TalentTree>;
|
|
1659
2285
|
}
|
|
@@ -1661,6 +2287,10 @@ interface TalentTree extends KeyBase {
|
|
|
1661
2287
|
id: number;
|
|
1662
2288
|
name?: string;
|
|
1663
2289
|
}
|
|
2290
|
+
/**
|
|
2291
|
+
* The response for a tech talent tree.
|
|
2292
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2293
|
+
*/
|
|
1664
2294
|
interface TechTalentTreeResponse extends ResponseBase {
|
|
1665
2295
|
id: number;
|
|
1666
2296
|
playable_class: NameIdKey;
|
|
@@ -1668,16 +2298,32 @@ interface TechTalentTreeResponse extends ResponseBase {
|
|
|
1668
2298
|
talents: Array<NameIdKey>;
|
|
1669
2299
|
}
|
|
1670
2300
|
|
|
2301
|
+
/**
|
|
2302
|
+
* The response for a title index.
|
|
2303
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2304
|
+
*/
|
|
1671
2305
|
interface TitleIndexResponse extends ResponseBase {
|
|
1672
2306
|
titles: Array<NameIdKey>;
|
|
1673
2307
|
}
|
|
2308
|
+
/**
|
|
2309
|
+
* The response for a title.
|
|
2310
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2311
|
+
*/
|
|
1674
2312
|
interface TitleResponse extends ResponseBase, NameId {
|
|
1675
2313
|
gender_name: Gender;
|
|
1676
2314
|
}
|
|
1677
2315
|
|
|
2316
|
+
/**
|
|
2317
|
+
* The response for a toy index.
|
|
2318
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2319
|
+
*/
|
|
1678
2320
|
interface ToyIndexResponse extends ResponseBase {
|
|
1679
2321
|
toys: Array<NameIdKey>;
|
|
1680
2322
|
}
|
|
2323
|
+
/**
|
|
2324
|
+
* The response for a toy.
|
|
2325
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2326
|
+
*/
|
|
1681
2327
|
interface ToyResponse extends ResponseBase {
|
|
1682
2328
|
id: number;
|
|
1683
2329
|
item: NameIdKey;
|
|
@@ -1693,11 +2339,19 @@ interface Source {
|
|
|
1693
2339
|
name: string;
|
|
1694
2340
|
}
|
|
1695
2341
|
|
|
2342
|
+
/**
|
|
2343
|
+
* The response for a WoW token.
|
|
2344
|
+
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
2345
|
+
*/
|
|
1696
2346
|
interface WowTokenResponse extends ResponseBase {
|
|
1697
2347
|
last_updated_timestamp: number;
|
|
1698
2348
|
price: number;
|
|
1699
2349
|
}
|
|
1700
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
* The Blizzard API for World of Warcraft.
|
|
2353
|
+
* @see https://develop.battle.net/documentation/world-of-warcraft
|
|
2354
|
+
*/
|
|
1701
2355
|
declare const wow: {
|
|
1702
2356
|
wowToken: () => {
|
|
1703
2357
|
path: string;
|
|
@@ -2303,7 +2957,7 @@ declare const wow: {
|
|
|
2303
2957
|
path: string;
|
|
2304
2958
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
2305
2959
|
parameters?: Record<string, never> | undefined;
|
|
2306
|
-
_responseType?:
|
|
2960
|
+
_responseType?: ItemSubClassResponse | undefined;
|
|
2307
2961
|
};
|
|
2308
2962
|
itemClassIndex: () => {
|
|
2309
2963
|
path: string;
|
|
@@ -2541,4 +3195,4 @@ declare const wow: {
|
|
|
2541
3195
|
};
|
|
2542
3196
|
};
|
|
2543
3197
|
|
|
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
|
|
3198
|
+
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 };
|