@blizzard-api/classic-wow 1.1.6 → 2.0.0

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.d.cts DELETED
@@ -1,1138 +0,0 @@
1
- import { BlizzardNamespaces, Resource, Locales, BaseSearchParameters, SearchResponse } from '@blizzard-api/core';
2
-
3
- /**
4
- *
5
- */
6
- interface Href {
7
- href: string;
8
- }
9
- /**
10
- * Base interface for Blizzard API responses.
11
- */
12
- interface ResponseBase {
13
- _links: {
14
- self: Href;
15
- };
16
- }
17
- /**
18
- * Base record interface containing key.href property that often appear in Blizzard API responses.
19
- */
20
- interface KeyBase {
21
- key: Href;
22
- }
23
- /**
24
- * Base record interface containing name and id properties that often appear together in Blizzard API responses.
25
- */
26
- interface NameId {
27
- id: number;
28
- name: string;
29
- }
30
- /**
31
- * Base record containing both {@link KeyBase} and {@link NameId} interfaces.
32
- */
33
- interface NameIdKey extends KeyBase, NameId {
34
- }
35
- /**
36
- * A record containing the RGBA values of a color.
37
- */
38
- interface Color {
39
- a: number;
40
- b: number;
41
- g: number;
42
- r: number;
43
- }
44
- /**
45
- * The media asset associated with a character or entity in World of Warcraft.
46
- */
47
- interface MediaAsset$1 {
48
- file_data_id: number;
49
- key: string;
50
- value: string;
51
- }
52
- /**
53
- * The playable gender names/descriptions in World of Warcraft.
54
- */
55
- interface GenderName {
56
- female: string;
57
- male: string;
58
- }
59
- /**
60
- * The playable factions in World of Warcraft.
61
- */
62
- declare const Factions: {
63
- readonly ALLIANCE: "ALLIANCE";
64
- readonly HORDE: "HORDE";
65
- };
66
- /**
67
- * The faction associated with a character or entity in World of Warcraft.
68
- */
69
- interface Faction {
70
- name: Capitalize<Lowercase<keyof typeof Factions>>;
71
- type: keyof typeof Factions;
72
- }
73
- /**
74
- * The standard structure to represent a World of Warcraft Realm.
75
- */
76
- interface Realm$1 extends NameIdKey {
77
- slug: string;
78
- }
79
-
80
- interface AuctionHouseIndexResponse extends ResponseBase {
81
- auctions: Array<NameIdKey>;
82
- }
83
- interface AuctionsResponse extends ResponseBase, NameId {
84
- auctions: Array<Auction>;
85
- connected_realm: {
86
- href: string;
87
- };
88
- }
89
- interface Auction {
90
- bid: number;
91
- buyout: number;
92
- id: number;
93
- item: {
94
- id: number;
95
- rand?: number;
96
- seed?: number;
97
- };
98
- quantity: number;
99
- time_left: 'LONG' | 'MEDIUM' | 'SHORT' | 'VERY_LONG';
100
- }
101
-
102
- /**
103
- * Returns an index of auction houses for a connected realm.
104
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
105
- * @param connectedRealmId The ID of the connected realm.
106
- * @returns The auction house index. See {@link AuctionHouseIndexResponse}.
107
- */
108
- declare function auctionHouseIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, connectedRealmId: number): Resource<AuctionHouseIndexResponse>;
109
- /**
110
- * Returns all active auctions for a specific auction house on a connected realm.
111
- *
112
- * Auction house data updates at a set interval. The value was initially set at 1 hour; however, it might change over time without notice.
113
- *
114
- * Depending on the number of active auctions on the specified connected realm, the response from this endpoint may be rather large, sometimes exceeding 10 MB.
115
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
116
- * @param connectedRealmId The ID of the connected realm.
117
- * @param auctionHouseId The ID of the auction house.
118
- * @returns The auction house data. See {@link AuctionsResponse}.
119
- */
120
- declare function auctions(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, connectedRealmId: number, auctionHouseId: number): Resource<AuctionsResponse>;
121
-
122
- type WithoutUnderscore<T extends string> = T extends `${infer Prefix}_${infer Suffix}` ? `${Prefix}${Suffix}` : never;
123
- /**
124
- * The category of a realm.
125
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
126
- */
127
- type RealmCategory = 'Brazil' | 'English' | 'French' | 'German' | 'Italian' | 'Latin America' | 'Oceanic' | 'PS' | 'Russian' | 'Spanish' | 'United States' | '한국';
128
- /**
129
- * The timezone of a realm.
130
- */
131
- type RealmTimezone = 'America/Chicago' | 'America/Denver' | 'America/Los_Angeles' | 'America/New_York' | 'America/Sao_Paulo' | 'Asia/Seoul' | 'Australia/Melbourne' | 'Europe/Paris';
132
- /**
133
- * The type of a realm, capitalized and shortended).
134
- */
135
- type RealmTypeCapitalized = 'NORMAL' | 'RP';
136
- /**
137
- * The type of a realm, not capitalized or shortened.
138
- */
139
- type RealmType = 'Normal' | 'Roleplaying';
140
- /**
141
- * The response for a realm index.
142
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
143
- */
144
- interface RealmIndexResponse extends ResponseBase {
145
- realms: Array<Realm$1>;
146
- }
147
- /**
148
- * The response for a realm.
149
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
150
- */
151
- interface RealmResponse extends ResponseBase, NameId {
152
- category: RealmCategory;
153
- connected_realm: {
154
- href: string;
155
- };
156
- is_tournament: boolean;
157
- locale: WithoutUnderscore<Locales>;
158
- region: NameIdKey;
159
- slug: string;
160
- timezone: RealmTimezone;
161
- type: {
162
- name: RealmType;
163
- type: RealmTypeCapitalized;
164
- };
165
- }
166
- /**
167
- * The search parameters for realms.
168
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
169
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
170
- */
171
- interface RealmSearchParameters extends BaseSearchParameters {
172
- timezone?: RealmTimezone;
173
- }
174
- /**
175
- * The response for a realm search.
176
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
177
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
178
- */
179
- interface RealmSearchResponseItem extends KeyBase {
180
- data: {
181
- category: Record<Locales, string | undefined>;
182
- id: number;
183
- is_tournament: boolean;
184
- locale: WithoutUnderscore<Locales>;
185
- name: Record<Locales, string | undefined>;
186
- region: {
187
- id: number;
188
- name: Record<Locales, string | undefined>;
189
- };
190
- slug: string;
191
- timezone: RealmTimezone;
192
- type: {
193
- name: Record<Locales, string | undefined>;
194
- type: RealmTypeCapitalized;
195
- };
196
- };
197
- }
198
-
199
- type RealmPopulation = 'Full' | 'High' | 'Low' | 'Medium' | 'New Players';
200
- type RealmPopulationCapitalized = 'FULL' | 'HIGH' | 'LOW' | 'MEDIUM' | 'RECOMMENDED';
201
- type RealmStatus = 'Down' | 'Up';
202
- /**
203
- * Connected Realm Index API response.
204
- * @see https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
205
- */
206
- interface ConnectedRealmIndexResponse extends ResponseBase {
207
- connected_realms: Array<{
208
- href: string;
209
- }>;
210
- }
211
- interface Realm {
212
- category: RealmCategory;
213
- connected_realm: {
214
- href: string;
215
- };
216
- id: number;
217
- is_tournament: boolean;
218
- locale: WithoutUnderscore<Locales>;
219
- name: string;
220
- region: NameIdKey;
221
- slug: string;
222
- timezone: RealmTimezone;
223
- type: {
224
- name: RealmType;
225
- type: RealmTypeCapitalized;
226
- };
227
- }
228
- interface RealmLockedStatus {
229
- is_locked_for_new_characters: boolean;
230
- is_locked_for_pct: boolean;
231
- }
232
- /**
233
- * Connected Realm API response.
234
- * @see https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
235
- */
236
- interface ConnectedRealmResponse extends ResponseBase {
237
- auctions: {
238
- href: string;
239
- };
240
- has_queue: boolean;
241
- id: number;
242
- mythic_leaderboards: {
243
- href: string;
244
- };
245
- population: {
246
- name: RealmPopulation;
247
- type: RealmPopulationCapitalized;
248
- };
249
- realm_locked_status?: RealmLockedStatus;
250
- realms: Array<Realm>;
251
- status: {
252
- name: RealmStatus;
253
- type: Uppercase<RealmStatus>;
254
- };
255
- }
256
- /**
257
- * Connected Realm Search API parameters.
258
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
259
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
260
- */
261
- interface ConnectedRealmSearchParameters extends BaseSearchParameters {
262
- 'realms.timezone'?: RealmTimezone;
263
- 'status.type'?: Uppercase<RealmStatus>;
264
- }
265
- interface SearchRealm {
266
- category: Record<Locales, string | undefined>;
267
- id: number;
268
- is_tournament: boolean;
269
- locale: WithoutUnderscore<Locales>;
270
- name: Record<Locales, string | undefined>;
271
- region: {
272
- id: number;
273
- name: Record<Locales, string | undefined>;
274
- };
275
- slug: string;
276
- timezone: RealmTimezone;
277
- type: {
278
- name: Record<Locales, string | undefined>;
279
- type: RealmTypeCapitalized;
280
- };
281
- }
282
- interface SearchRealmStatus {
283
- name: Record<Locales, string>;
284
- type: Uppercase<RealmStatus>;
285
- }
286
- interface SearchRealmPopulation {
287
- name: Record<Locales, string>;
288
- type: RealmPopulationCapitalized;
289
- }
290
- /**
291
- * Connected Realm Search API response item.
292
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
293
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
294
- */
295
- interface ConnectedRealmSearchResponseItem extends KeyBase {
296
- data: {
297
- has_queue: boolean;
298
- id: number;
299
- population: SearchRealmPopulation;
300
- realms: Array<SearchRealm>;
301
- status: SearchRealmStatus;
302
- };
303
- }
304
-
305
- /**
306
- * Returns an index of connected realms.
307
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
308
- * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.
309
- */
310
- declare function connectedRealmIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>): Resource<ConnectedRealmIndexResponse>;
311
- /**
312
- * Returns a connected realm by ID.
313
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
314
- * @param connectedRealmId The connected realm ID.
315
- * @returns The connected realm. See {@link ConnectedRealmResponse}.
316
- */
317
- declare function connectedRealm(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, connectedRealmId: number): Resource<ConnectedRealmResponse>;
318
- /**
319
- * Performs a search of connected realms.
320
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
321
- * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.
322
- * @returns The search results. See {@link SearchResponse} & {@link ConnectedRealmSearchResponseItem}.
323
- */
324
- declare function connectedRealmSearch(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, options: ConnectedRealmSearchParameters): Resource<SearchResponse<ConnectedRealmSearchResponseItem>, ConnectedRealmSearchParameters>;
325
-
326
- /**
327
- * The response for a creature.
328
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
329
- */
330
- interface CreatureResponse extends ResponseBase {
331
- creature_displays: Array<CreatureDisplay>;
332
- family: NameIdKey;
333
- id: number;
334
- is_tameable: boolean;
335
- name: string;
336
- type: NameIdKey;
337
- }
338
- interface CreatureDisplay extends KeyBase {
339
- id: number;
340
- }
341
- /**
342
- * The response for creature display media.
343
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
344
- */
345
- interface CreatureDisplayMediaResponse extends ResponseBase {
346
- assets: Array<DisplayMediaAsset>;
347
- id: number;
348
- }
349
- interface DisplayMediaAsset {
350
- key: string;
351
- value: string;
352
- }
353
- /**
354
- * The response for a creature family index.
355
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
356
- */
357
- interface CreatureFamilyIndexResponse extends ResponseBase {
358
- creature_families: Array<NameIdKey>;
359
- }
360
- /**
361
- * The response for a creature family.
362
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
363
- */
364
- interface CreatureFamilyResponse extends ResponseBase {
365
- id: number;
366
- media: Media$3;
367
- name: string;
368
- specialization: NameIdKey;
369
- }
370
- interface Media$3 extends KeyBase {
371
- id: number;
372
- }
373
- /**
374
- * The response for creature family media.
375
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
376
- */
377
- interface CreatureFamilyMediaResponse extends ResponseBase {
378
- assets: Array<MediaAsset$1>;
379
- id: number;
380
- }
381
- /**
382
- * The response for a creature type index.
383
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
384
- */
385
- interface CreatureTypeIndexResponse extends ResponseBase {
386
- creature_types: Array<NameIdKey>;
387
- }
388
- /**
389
- * The response for a creature type.
390
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
391
- */
392
- interface CreatureTypeResponse extends ResponseBase {
393
- id: number;
394
- name: string;
395
- }
396
- /**
397
- * The search parameters for a creature.
398
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
399
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
400
- */
401
- interface CreatureSearchParameters extends BaseSearchParameters {
402
- locale: Locales;
403
- name: string;
404
- }
405
- /**
406
- * The response for a creature search.
407
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
408
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
409
- */
410
- interface CreatureSearchResponseItem extends KeyBase {
411
- data: {
412
- creature_displays: Array<{
413
- id: number;
414
- }>;
415
- family?: {
416
- id: number;
417
- name: Record<Locales, string | undefined>;
418
- };
419
- id: number;
420
- is_tameable: boolean;
421
- name: Record<Locales, string | undefined>;
422
- type: {
423
- id: number;
424
- name: Record<Locales, string | undefined>;
425
- };
426
- };
427
- }
428
-
429
- /**
430
- * Returns a creature by ID.
431
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
432
- * @param creatureId The creature ID.
433
- * @returns The creature. See {@link CreatureResponse}.
434
- */
435
- declare function creature(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, creatureId: number): Resource<CreatureResponse>;
436
- /**
437
- * Returns media for a creature display by ID.
438
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
439
- * @param creatureDisplayId The creature display ID.
440
- * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.
441
- */
442
- declare function creatureDisplayMedia(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, creatureDisplayId: number): Resource<CreatureDisplayMediaResponse>;
443
- /**
444
- * Returns a creature family by ID.
445
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
446
- * @param creatureFamilyId The creature family ID.
447
- * @returns The creature family. See {@link CreatureFamilyResponse}.
448
- */
449
- declare function creatureFamily(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, creatureFamilyId: number): Resource<CreatureFamilyResponse>;
450
- /**
451
- * Returns an index of creature families.
452
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
453
- * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.
454
- */
455
- declare function creatureFamilyIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<CreatureFamilyIndexResponse>;
456
- /**
457
- * Returns media for a creature family by ID.
458
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
459
- * @param creatureFamilyId The creature family ID.
460
- * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.
461
- */
462
- declare function creatureFamilyMedia(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, creatureFamilyId: number): Resource<CreatureFamilyMediaResponse>;
463
- /**
464
- * Returns a creature type by ID.
465
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
466
- * @param creatureTypeId The creature type ID.
467
- * @returns The creature type. See {@link CreatureTypeResponse}.
468
- */
469
- declare function creatureType(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, creatureTypeId: number): Resource<CreatureTypeResponse>;
470
- /**
471
- * Returns an index of creature types.
472
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
473
- * @returns The creature type index. See {@link CreatureTypeIndexResponse}.
474
- */
475
- declare function creatureTypeIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<CreatureTypeIndexResponse>;
476
- /**
477
- * Performs a search of creatures.
478
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
479
- * @param options The creature search parameters. See {@link CreatureSearchParameters}.
480
- * @returns The creature search results. See {@link SearchResponse} & {@link CreatureSearchResponseItem}.
481
- */
482
- declare function creatureSearch(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, options: CreatureSearchParameters): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'locale' | 'name'>>;
483
-
484
- /**
485
- * The response for the guild crest components index.
486
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
487
- */
488
- interface GuildCrestComponentsIndexResponse extends ResponseBase {
489
- borders: Array<Border>;
490
- colors: Colors;
491
- emblems: Array<Border>;
492
- }
493
- interface Border {
494
- id: number;
495
- media: Media$2;
496
- }
497
- interface Media$2 extends KeyBase {
498
- id: number;
499
- }
500
- interface Colors {
501
- backgrounds: Array<Background>;
502
- borders: Array<Background>;
503
- emblems: Array<Background>;
504
- }
505
- interface Background {
506
- id: number;
507
- rgba: RGBA;
508
- }
509
- interface RGBA {
510
- a: number;
511
- b: number;
512
- g: number;
513
- r: number;
514
- }
515
- /**
516
- * The response for a guild crest border or emblem.
517
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
518
- */
519
- interface GuildCrestBorderEmblemResponse extends ResponseBase {
520
- assets: Array<GuildCrestAsset>;
521
- id: number;
522
- }
523
- interface GuildCrestAsset {
524
- key: string;
525
- value: string;
526
- }
527
-
528
- /**
529
- * Returns an index of guild crest media.
530
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
531
- * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.
532
- */
533
- declare function guildCrestComponentsIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<GuildCrestComponentsIndexResponse>;
534
- /**
535
- * Returns media for a guild crest border by ID.
536
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
537
- * @param borderId The guild crest border ID.
538
- * @returns The guild crest border. See {@link GuildCrestBorderEmblemResponse}.
539
- */
540
- declare function guildCrestBorder(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, borderId: number): Resource<GuildCrestBorderEmblemResponse>;
541
- /**
542
- * Returns media for a guild crest emblem by ID.
543
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
544
- * @param emblemId The guild crest emblem ID.
545
- * @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}.
546
- */
547
- declare function guildCrestEmblem(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, emblemId: number): Resource<GuildCrestBorderEmblemResponse>;
548
-
549
- interface ItemQuality {
550
- name: Record<Locales, string | undefined>;
551
- type: 'ARTIFACT' | 'COMMON' | 'EPIC' | 'HEIRLOOM' | 'LEGENDARY' | 'POOR' | 'RARE' | 'UNCOMMON';
552
- }
553
- interface InventoryType {
554
- name: Record<Locales, string | undefined>;
555
- type: 'BACK' | 'BAG' | 'CHEST' | 'FEET' | 'FINGER' | 'HANDS' | 'HEAD' | 'LEGS' | 'NECK' | 'NON_EQUIP' | 'SHIRT' | 'SHOULDER' | 'TABARD' | 'TRINKET' | 'TWOHWEAPON' | 'WAIST' | 'WRIST';
556
- }
557
- type StatTypeCapitalized = 'AGILITY' | 'CRIT_RATING' | 'HASTE_RATING' | 'INTELLECT' | 'MASTERY' | 'STAMINA' | 'STRENGTH' | 'VERSATILITY';
558
- type StatType = 'Agility' | 'Critical Strike' | 'Haste' | 'Intellect' | 'Mastery' | 'Stamina' | 'Strength' | 'Versatility';
559
- /**
560
- * The response for an item.
561
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
562
- */
563
- interface ItemResponse extends ResponseBase, NameId {
564
- description?: string;
565
- inventory_type: InventoryType;
566
- is_equippable: boolean;
567
- is_stackable: boolean;
568
- item_class: NameIdKey;
569
- item_subclass: NameIdKey;
570
- level: number;
571
- max_count: number;
572
- media: Media$1;
573
- preview_item: PreviewItem;
574
- purchase_price: number;
575
- purchase_quantity: number;
576
- quality: ItemQuality;
577
- required_level: number;
578
- sell_price: number;
579
- }
580
- interface Media$1 extends KeyBase {
581
- id: number;
582
- }
583
- interface PreviewItem {
584
- armor?: Armor;
585
- binding?: {
586
- name: string;
587
- type: string;
588
- };
589
- bonus_list?: Array<number>;
590
- container_slots?: Durability;
591
- context?: number;
592
- crafting_reagent?: string;
593
- description?: string;
594
- durability?: Durability;
595
- inventory_type: InventoryType;
596
- is_subclass_hidden?: boolean;
597
- item: Media$1;
598
- item_class: NameIdKey;
599
- item_subclass: NameIdKey;
600
- level?: Durability;
601
- media: Media$1;
602
- name: string;
603
- quality: ItemQuality;
604
- recipe?: Recipe;
605
- requirements?: Requirements;
606
- sell_price?: number;
607
- shield_block?: Armor;
608
- spells?: Array<Spell>;
609
- stats?: Array<Stat>;
610
- unique_equipped?: 'Unique';
611
- weapon?: Weapon;
612
- }
613
- interface Armor {
614
- display: Display;
615
- value: number;
616
- }
617
- interface Durability {
618
- display_string: string;
619
- value: number;
620
- }
621
- interface Requirements {
622
- level: Durability;
623
- }
624
- interface Spell {
625
- description: string;
626
- spell: NameIdKey;
627
- }
628
- interface Stat {
629
- display: Display;
630
- is_negated?: boolean;
631
- type: {
632
- name: StatType;
633
- type: StatTypeCapitalized;
634
- };
635
- value: number;
636
- }
637
- interface Display {
638
- color: Color;
639
- display_string: string;
640
- }
641
- interface Weapon {
642
- attack_speed: Durability;
643
- damage: Damage;
644
- dps: Durability;
645
- }
646
- interface Damage {
647
- damage_class: {
648
- name: string;
649
- type: string;
650
- };
651
- display_string: string;
652
- max_value: number;
653
- min_value: number;
654
- }
655
- interface Recipe {
656
- item: RecipeItem;
657
- reagents: Array<{
658
- quantity: number;
659
- } & NameIdKey>;
660
- reagents_display_string: string;
661
- }
662
- interface RecipeItem {
663
- armor?: Armor;
664
- binding: {
665
- name: string;
666
- type: string;
667
- };
668
- durability: Durability;
669
- inventory_type: InventoryType;
670
- item: Media$1;
671
- item_class: NameIdKey;
672
- item_subclass: NameIdKey;
673
- level: Durability;
674
- media: Media$1;
675
- name: string;
676
- quality: ItemQuality;
677
- requirements: Requirements;
678
- sell_price: {
679
- display_strings: RecipeItemDisplayStrings;
680
- value: number;
681
- };
682
- stats: Array<Stat>;
683
- weapon?: Weapon;
684
- }
685
- interface RecipeItemDisplayStrings {
686
- copper: string;
687
- gold: string;
688
- header: string;
689
- silver: string;
690
- }
691
- /**
692
- * The response for an item class index.
693
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
694
- */
695
- interface ItemClassIndexResponse extends ResponseBase {
696
- item_classes: Array<NameIdKey>;
697
- }
698
- /**
699
- * The response for an item class.
700
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
701
- */
702
- interface ItemClassResponse extends ResponseBase {
703
- class_id: number;
704
- item_subclasses: Array<NameIdKey>;
705
- name: string;
706
- }
707
- /**
708
- * The response for an item media.
709
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
710
- */
711
- interface ItemMediaResponse extends ResponseBase {
712
- assets: Array<MediaAsset$1>;
713
- id: number;
714
- }
715
- /**
716
- * The response for an item subclass.
717
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
718
- */
719
- interface ItemSubClassResponse extends ResponseBase {
720
- class_id: number;
721
- display_name: string;
722
- hide_subclass_in_tooltips: boolean;
723
- subclass_id: number;
724
- verbose_name: string;
725
- }
726
- /**
727
- * The parameters for an item search.
728
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
729
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
730
- */
731
- interface ItemSearchParameters extends BaseSearchParameters {
732
- locale: Locales;
733
- name: string;
734
- }
735
- /**
736
- * The response for an item search.
737
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
738
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
739
- */
740
- interface ItemSearchResponseItem extends KeyBase {
741
- data: {
742
- id: number;
743
- inventory_type: InventoryType;
744
- is_equippable: boolean;
745
- is_stackable: boolean;
746
- item_class: {
747
- id: number;
748
- name: Record<Locales, string | undefined>;
749
- };
750
- item_subclass: {
751
- id: number;
752
- name: Record<Locales, string | undefined>;
753
- };
754
- level: number;
755
- max_count: number;
756
- media: {
757
- id: number;
758
- };
759
- name: Record<Locales, string | undefined>;
760
- purchase_price: number;
761
- purchase_quantity: number;
762
- quality: ItemQuality;
763
- required_level: number;
764
- sell_price: number;
765
- };
766
- }
767
-
768
- /**
769
- * Get an item class index.
770
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
771
- * @returns The item class index. See {@link ItemClassIndexResponse}.
772
- */
773
- declare function itemClassIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<ItemClassIndexResponse>;
774
- /**
775
- * Get an item class by ID.
776
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
777
- * @param itemClassId The item class ID.
778
- * @returns The item class. See {@link ItemClassResponse}.
779
- */
780
- declare function itemClass(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, itemClassId: number): Resource<ItemClassResponse>;
781
- /**
782
- * Get an item subclass by ID.
783
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
784
- * @param itemClassId The item class ID.
785
- * @param itemSubclassId The item subclass ID.
786
- * @returns The item subclass. See {@link ItemSubClassResponse}.
787
- */
788
- declare function itemSubClass(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse>;
789
- /**
790
- * Get an item by ID.
791
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
792
- * @param itemId The item ID.
793
- * @returns The item. See {@link ItemResponse}.
794
- */
795
- declare function item(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, itemId: number): Resource<ItemResponse>;
796
- /**
797
- * Get item media by ID.
798
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
799
- * @param itemId The item ID.
800
- * @returns The item media. See {@link ItemMediaResponse}.
801
- */
802
- declare function itemMedia(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, itemId: number): Resource<ItemMediaResponse>;
803
- /**
804
- * Search for items.
805
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
806
- * @param options The search parameters. See {@link ItemSearchParameters}.
807
- * @returns The search results. See {@link SearchResponse}.
808
- */
809
- declare function itemSearch(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, options: ItemSearchParameters): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, 'locale' | 'name'>>;
810
-
811
- /**
812
- * The search parameters for media.
813
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
814
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
815
- */
816
- interface MediaSearchParameters extends BaseSearchParameters {
817
- tags?: string;
818
- }
819
- /**
820
- * The response for a media search.
821
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
822
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/guides/search}
823
- */
824
- interface MediaSearchResponseItem extends KeyBase {
825
- data: {
826
- assets: Array<MediaAsset>;
827
- id: number;
828
- };
829
- }
830
- interface MediaAsset {
831
- file_data_id: number;
832
- key: string;
833
- value: string;
834
- }
835
-
836
- /**
837
- * Search for media.
838
- * @param options The search parameters. See {@link MediaSearchParameters}.
839
- * @returns The search results. See {@link SearchResponse}.
840
- */
841
- declare function mediaSearch(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, options: MediaSearchParameters): Resource<SearchResponse<MediaSearchResponseItem>, MediaSearchParameters>;
842
-
843
- /**
844
- * The response for a playable class index.
845
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
846
- */
847
- interface PlayableClassIndexResponse extends ResponseBase {
848
- classes: Array<NameIdKey>;
849
- }
850
- /**
851
- * The response for playable class media.
852
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
853
- */
854
- interface PlayableClassMediaResponse extends ResponseBase {
855
- assets: Array<MediaAsset$1>;
856
- id: number;
857
- }
858
-
859
- /**
860
- * The response for a playable class.
861
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft-classic/game-data-apis}
862
- */
863
- interface PlayableClassResponse extends ResponseBase, NameId {
864
- gender_name: GenderName;
865
- media: Media;
866
- playable_races: Array<NameIdKey>;
867
- power_type: NameIdKey;
868
- pvp_talent_slots: {
869
- href: string;
870
- };
871
- }
872
- interface Media extends KeyBase {
873
- id: number;
874
- }
875
-
876
- /**
877
- * Get a playable class by ID.
878
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
879
- * @param playableClassId The playable class ID.
880
- * @returns The playable class. See {@link PlayableClassResponse}.
881
- */
882
- declare function playableClass(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, playableClassId: number): Resource<PlayableClassResponse>;
883
- /**
884
- * Get a playable class index.
885
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
886
- * @returns The playable class index. See {@link PlayableClassIndexResponse}.
887
- */
888
- declare function playableClassIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<PlayableClassIndexResponse>;
889
- /**
890
- * Get playable class media by ID.
891
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
892
- * @param playableClassId The playable class ID.
893
- * @returns The playable class media. See {@link PlayableClassMediaResponse}.
894
- */
895
- declare function playableClassMedia(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, playableClassId: number): Resource<PlayableClassMediaResponse>;
896
-
897
- /**
898
- * The playable race index response.
899
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
900
- */
901
- interface PlayableRaceIndexResponse extends ResponseBase {
902
- races: Array<NameIdKey>;
903
- }
904
- /**
905
- * The playable race response.
906
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
907
- */
908
- interface PlayableRaceResponse extends ResponseBase, NameId {
909
- faction: Faction;
910
- gender_name: GenderName;
911
- is_allied_race: boolean;
912
- is_selectable: boolean;
913
- playable_classes: Array<NameIdKey>;
914
- }
915
-
916
- /**
917
- * Get a playable race by ID.
918
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
919
- * @param playableRaceId The playable race ID.
920
- * @returns The playable race. See {@link PlayableRaceResponse}.
921
- */
922
- declare function playableRace(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, playableRaceId: number): Resource<PlayableRaceResponse>;
923
- /**
924
- * Get a playable race index.
925
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
926
- * @returns The playable race index. See {@link PlayableRaceIndexResponse}.
927
- */
928
- declare function playableRaceIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<PlayableRaceIndexResponse>;
929
-
930
- /**
931
- * The response for a power type index.
932
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
933
- */
934
- interface PowerTypeIndexResponse extends ResponseBase {
935
- power_types: Array<NameIdKey>;
936
- }
937
- /**
938
- * The response for a power type.
939
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
940
- */
941
- interface PowerTypeResponse extends ResponseBase, NameId {
942
- }
943
-
944
- /**
945
- * Get a power type by ID.
946
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
947
- * @param powerTypeId The power type ID.
948
- * @returns The power type. See {@link PowerTypeResponse}.
949
- */
950
- declare function powerType(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>, powerTypeId: number): Resource<PowerTypeResponse>;
951
- /**
952
- * Get a power type index.
953
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
954
- * @returns The power type index. See {@link PowerTypeIndexResponse}.
955
- */
956
- declare function powerTypeIndex(namespace: Extract<BlizzardNamespaces, 'static-classic' | 'static-classic1x'>): Resource<PowerTypeIndexResponse>;
957
-
958
- /**
959
- * The response for a PvP season index.
960
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
961
- */
962
- interface PvpSeasonIndexResponse extends ResponseBase {
963
- current_season: Season;
964
- seasons: Array<Season>;
965
- }
966
- interface Season extends KeyBase {
967
- id: number;
968
- }
969
- /**
970
- * The response for a PvP season.
971
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
972
- */
973
- interface PvpSeasonResponse extends ResponseBase {
974
- id: number;
975
- leaderboards: {
976
- href: string;
977
- };
978
- rewards: {
979
- href: string;
980
- };
981
- season_name?: string;
982
- season_start_timestamp: number;
983
- }
984
-
985
- /**
986
- * Get a PvP season index.
987
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
988
- * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.
989
- */
990
- declare function pvpSeasonIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>): Resource<PvpSeasonIndexResponse>;
991
- /**
992
- * Get a PvP season by ID.
993
- * @param pvpSeasonId The PvP season ID.
994
- * @returns The PvP season. See {@link PvpSeasonResponse}.
995
- */
996
- declare function pvpSeason(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, pvpSeasonId: number): Resource<PvpSeasonResponse>;
997
- /**
998
- * Returns an index of PvP Regions.
999
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1000
- */
1001
- declare function pvpRegionIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>): Resource<unknown>;
1002
- /**
1003
- * Returns an index of PvP Seasons in a PvP region.
1004
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1005
- * @param pvpRegionId The PvP region ID.
1006
- * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.
1007
- */
1008
- declare function pvpRegionalSeasonIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, pvpRegionId: number): Resource<PvpSeasonIndexResponse>;
1009
- /**
1010
- * Returns a PvP season by region ID and season ID.
1011
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1012
- * @param pvpRegionId The PvP region ID.
1013
- * @param pvpSeasonId The PvP season ID.
1014
- */
1015
- declare function pvpRegionalSeason(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, pvpRegionId: number, pvpSeasonId: number): Resource<unknown>;
1016
- /**
1017
- * Returns an index of PvP leaderboards for a PvP season in a given PvP region.
1018
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1019
- * @param pvpRegionId The PvP region ID.
1020
- * @param pvpSeasonId The PvP season ID.
1021
- */
1022
- declare function pvpLeaderboardIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, pvpRegionId: number, pvpSeasonId: number): Resource<unknown>;
1023
- /**
1024
- * Get a PvP leaderboard by PvP season ID and bracket.
1025
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1026
- * @param pvpRegionId The PvP region ID.
1027
- * @param pvpSeasonId The PvP season ID.
1028
- * @param pvpBracket The PvP bracket.
1029
- */
1030
- declare function pvpLeaderboard(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, pvpRegionId: number, pvpSeasonId: number, pvpBracket: string): Resource<unknown>;
1031
- /**
1032
- * Returns an index of PvP rewards for a PvP season in a given PvP region.
1033
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1034
- * @param pvpRegionId The PvP region ID.
1035
- * @param pvpSeasonId The PvP season ID.
1036
- */
1037
- declare function pvpRewardsIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, pvpRegionId: number, pvpSeasonId: number): Resource<unknown>;
1038
-
1039
- /**
1040
- * Get a realm by slug.
1041
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1042
- * @param realmSlug The realm slug.
1043
- * @returns The realm. See {@link RealmResponse}.
1044
- */
1045
- declare function realm(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, realmSlug: string): Resource<RealmResponse>;
1046
- /**
1047
- * Get a realm index.
1048
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1049
- * @returns The realm index. See {@link RealmIndexResponse}.
1050
- */
1051
- declare function realmIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>): Resource<RealmIndexResponse>;
1052
- /**
1053
- * Search for realms.
1054
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1055
- * @param options The search parameters. See {@link RealmSearchParameters}.
1056
- * @returns The search results. See {@link SearchResponse}.
1057
- */
1058
- declare function realmSearch(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, options: RealmSearchParameters): Resource<SearchResponse<RealmSearchResponseItem>, RealmSearchParameters>;
1059
-
1060
- /**
1061
- * The response for a region index.
1062
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1063
- */
1064
- interface RegionIndexResponse extends ResponseBase {
1065
- regions: Array<{
1066
- href: string;
1067
- }>;
1068
- }
1069
- /**
1070
- * The response for a region.
1071
- * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
1072
- */
1073
- interface RegionResponse extends ResponseBase, NameId {
1074
- patch_string: string;
1075
- tag: string;
1076
- }
1077
-
1078
- /**
1079
- * Get a region by ID.
1080
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1081
- * @param regionId The region ID.
1082
- * @returns The region. See {@link RegionResponse}.
1083
- */
1084
- declare function region(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>, regionId: number): Resource<RegionResponse>;
1085
- /**
1086
- * Get a region index.
1087
- * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
1088
- * @returns The region index. See {@link RegionIndexResponse}.
1089
- */
1090
- declare function regionIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic' | 'dynamic-classic1x'>): Resource<RegionIndexResponse>;
1091
-
1092
- declare const classicWow: {
1093
- auctionHouseIndex: typeof auctionHouseIndex;
1094
- auctions: typeof auctions;
1095
- connectedRealm: typeof connectedRealm;
1096
- connectedRealmIndex: typeof connectedRealmIndex;
1097
- connectedRealmSearch: typeof connectedRealmSearch;
1098
- creature: typeof creature;
1099
- creatureDisplayMedia: typeof creatureDisplayMedia;
1100
- creatureFamily: typeof creatureFamily;
1101
- creatureFamilyIndex: typeof creatureFamilyIndex;
1102
- creatureFamilyMedia: typeof creatureFamilyMedia;
1103
- creatureSearch: typeof creatureSearch;
1104
- creatureType: typeof creatureType;
1105
- creatureTypeIndex: typeof creatureTypeIndex;
1106
- guildCrestBorder: typeof guildCrestBorder;
1107
- guildCrestComponentsIndex: typeof guildCrestComponentsIndex;
1108
- guildCrestEmblem: typeof guildCrestEmblem;
1109
- item: typeof item;
1110
- itemClass: typeof itemClass;
1111
- itemClassIndex: typeof itemClassIndex;
1112
- itemMedia: typeof itemMedia;
1113
- itemSearch: typeof itemSearch;
1114
- itemSubClass: typeof itemSubClass;
1115
- mediaSearch: typeof mediaSearch;
1116
- playableClass: typeof playableClass;
1117
- playableClassIndex: typeof playableClassIndex;
1118
- playableClassMedia: typeof playableClassMedia;
1119
- playableRace: typeof playableRace;
1120
- playableRaceIndex: typeof playableRaceIndex;
1121
- powerType: typeof powerType;
1122
- powerTypeIndex: typeof powerTypeIndex;
1123
- pvpLeaderboard: typeof pvpLeaderboard;
1124
- pvpLeaderboardIndex: typeof pvpLeaderboardIndex;
1125
- pvpRegionalSeason: typeof pvpRegionalSeason;
1126
- pvpRegionalSeasonIndex: typeof pvpRegionalSeasonIndex;
1127
- pvpRegionIndex: typeof pvpRegionIndex;
1128
- pvpRewardsIndex: typeof pvpRewardsIndex;
1129
- pvpSeason: typeof pvpSeason;
1130
- pvpSeasonIndex: typeof pvpSeasonIndex;
1131
- realm: typeof realm;
1132
- realmIndex: typeof realmIndex;
1133
- realmSearch: typeof realmSearch;
1134
- region: typeof region;
1135
- regionIndex: typeof regionIndex;
1136
- };
1137
-
1138
- export { type AuctionHouseIndexResponse, type AuctionsResponse, type ConnectedRealmIndexResponse, type ConnectedRealmResponse, type ConnectedRealmSearchParameters, type ConnectedRealmSearchResponseItem, type CreatureDisplayMediaResponse, type CreatureFamilyIndexResponse, type CreatureFamilyMediaResponse, type CreatureFamilyResponse, type CreatureResponse, type CreatureSearchParameters, type CreatureSearchResponseItem, type CreatureTypeIndexResponse, type CreatureTypeResponse, type GuildCrestBorderEmblemResponse, type GuildCrestComponentsIndexResponse, type ItemClassIndexResponse, type ItemClassResponse, type ItemMediaResponse, type ItemResponse, type ItemSearchParameters, type ItemSearchResponseItem, type ItemSubClassResponse, type MediaSearchParameters, type MediaSearchResponseItem, type PlayableClassIndexResponse, type PlayableClassMediaResponse, type PlayableClassResponse, type PlayableRaceIndexResponse, type PlayableRaceResponse, type PowerTypeIndexResponse, type PowerTypeResponse, type PvpSeasonIndexResponse, type PvpSeasonResponse, type RealmCategory, type RealmIndexResponse, type RealmResponse, type RealmSearchParameters, type RealmSearchResponseItem, type RealmTimezone, type RealmType, type RealmTypeCapitalized, type RegionIndexResponse, type RegionResponse, type WithoutUnderscore, auctionHouseIndex, auctions, classicWow, connectedRealm, connectedRealmIndex, connectedRealmSearch, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, classicWow as default, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubClass, mediaSearch, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, powerType, powerTypeIndex, pvpLeaderboard, pvpLeaderboardIndex, pvpRegionIndex, pvpRegionalSeason, pvpRegionalSeasonIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, realm, realmIndex, realmSearch, region, regionIndex };