@blizzard-api/wow 2.1.0 → 3.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/README.md +80 -80
- package/dist/index.d.ts +694 -621
- package/dist/index.js +150 -383
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { wowBasePath, wowMediaBasePath, wowSearchBasePath } from "@blizzard-api/core";
|
|
2
|
+
|
|
1
3
|
//#region src/account-profile/account-profile.ts
|
|
2
4
|
const accountProfileBase = "/profile/user/wow";
|
|
3
5
|
/**
|
|
4
|
-
|
|
5
6
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
6
|
-
|
|
7
7
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
8
|
-
|
|
9
8
|
* @returns an index of collection types for an account.
|
|
10
|
-
|
|
11
9
|
*/
|
|
12
10
|
function accountCollectionsIndex(token) {
|
|
13
11
|
return {
|
|
@@ -17,13 +15,9 @@ function accountCollectionsIndex(token) {
|
|
|
17
15
|
};
|
|
18
16
|
}
|
|
19
17
|
/**
|
|
20
|
-
|
|
21
18
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
22
|
-
|
|
23
19
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
24
|
-
|
|
25
20
|
* @returns a summary of the heirlooms an account has obtained.
|
|
26
|
-
|
|
27
21
|
*/
|
|
28
22
|
function accountHeirloomsCollectionSummary(token) {
|
|
29
23
|
return {
|
|
@@ -33,13 +27,9 @@ function accountHeirloomsCollectionSummary(token) {
|
|
|
33
27
|
};
|
|
34
28
|
}
|
|
35
29
|
/**
|
|
36
|
-
|
|
37
30
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
38
|
-
|
|
39
31
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
40
|
-
|
|
41
32
|
* @returns a summary of the mounts an account has obtained.
|
|
42
|
-
|
|
43
33
|
*/
|
|
44
34
|
function accountMountsCollectionSummary(token) {
|
|
45
35
|
return {
|
|
@@ -49,13 +39,9 @@ function accountMountsCollectionSummary(token) {
|
|
|
49
39
|
};
|
|
50
40
|
}
|
|
51
41
|
/**
|
|
52
|
-
|
|
53
42
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
54
|
-
|
|
55
43
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
56
|
-
|
|
57
44
|
* @returns a summary of the battle pets an account has obtained.
|
|
58
|
-
|
|
59
45
|
*/
|
|
60
46
|
function accountPetsCollectionSummary(token) {
|
|
61
47
|
return {
|
|
@@ -65,13 +51,9 @@ function accountPetsCollectionSummary(token) {
|
|
|
65
51
|
};
|
|
66
52
|
}
|
|
67
53
|
/**
|
|
68
|
-
|
|
69
54
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
70
|
-
|
|
71
55
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
72
|
-
|
|
73
56
|
* @returns a profile summary for an account.
|
|
74
|
-
|
|
75
57
|
*/
|
|
76
58
|
function accountProfileSummary(token) {
|
|
77
59
|
return {
|
|
@@ -81,13 +63,9 @@ function accountProfileSummary(token) {
|
|
|
81
63
|
};
|
|
82
64
|
}
|
|
83
65
|
/**
|
|
84
|
-
|
|
85
66
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
86
|
-
|
|
87
67
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
88
|
-
|
|
89
68
|
* @returns a summary of the toys an account has obtained.
|
|
90
|
-
|
|
91
69
|
*/
|
|
92
70
|
function accountToysCollectionSummary(token) {
|
|
93
71
|
return {
|
|
@@ -97,13 +75,9 @@ function accountToysCollectionSummary(token) {
|
|
|
97
75
|
};
|
|
98
76
|
}
|
|
99
77
|
/**
|
|
100
|
-
|
|
101
78
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
102
|
-
|
|
103
79
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
104
|
-
|
|
105
80
|
* @returns a summary of the transmog unlocks an account has obtained.
|
|
106
|
-
|
|
107
81
|
*/
|
|
108
82
|
function accountTransmogsCollectionSummary(token) {
|
|
109
83
|
return {
|
|
@@ -113,17 +87,11 @@ function accountTransmogsCollectionSummary(token) {
|
|
|
113
87
|
};
|
|
114
88
|
}
|
|
115
89
|
/**
|
|
116
|
-
|
|
117
90
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
118
|
-
|
|
119
91
|
* @param realmId The realm ID.
|
|
120
|
-
|
|
121
92
|
* @param characterId The character ID.
|
|
122
|
-
|
|
123
93
|
* @param token The OAuth 2.0 access token to use for authentication.
|
|
124
|
-
|
|
125
94
|
* @returns a protected profile summary for a character.
|
|
126
|
-
|
|
127
95
|
*/
|
|
128
96
|
function protectedCharacterProfileSummary(realmId, characterId, token) {
|
|
129
97
|
return {
|
|
@@ -133,48 +101,14 @@ function protectedCharacterProfileSummary(realmId, characterId, token) {
|
|
|
133
101
|
};
|
|
134
102
|
}
|
|
135
103
|
|
|
136
|
-
//#endregion
|
|
137
|
-
//#region src/base.ts
|
|
138
|
-
/**
|
|
139
|
-
|
|
140
|
-
* @file base.ts
|
|
141
|
-
|
|
142
|
-
* @module base
|
|
143
|
-
|
|
144
|
-
* @description Contains base constants and interfaces for the Blizzard API.
|
|
145
|
-
|
|
146
|
-
*/
|
|
147
|
-
/**
|
|
148
|
-
|
|
149
|
-
* The base request path for the Blizzard API for world of warcraft.
|
|
150
|
-
|
|
151
|
-
*/
|
|
152
|
-
const base = "/data/wow";
|
|
153
|
-
/**
|
|
154
|
-
|
|
155
|
-
* The base request path for media in the Blizzard API for world of warcraft.
|
|
156
|
-
|
|
157
|
-
*/
|
|
158
|
-
const mediaBase = `${base}/media`;
|
|
159
|
-
/**
|
|
160
|
-
|
|
161
|
-
* The base request path for search in the Blizzard API for world of warcraft.
|
|
162
|
-
|
|
163
|
-
*/
|
|
164
|
-
const searchBase = `${base}/search`;
|
|
165
|
-
|
|
166
104
|
//#endregion
|
|
167
105
|
//#region src/achievements/achievements.ts
|
|
168
|
-
const achievementBase = `${
|
|
169
|
-
const achievementCategoryBase = `${
|
|
106
|
+
const achievementBase = `${wowBasePath}/achievement`;
|
|
107
|
+
const achievementCategoryBase = `${wowBasePath}/achievement-category`;
|
|
170
108
|
/**
|
|
171
|
-
|
|
172
109
|
* Get an achievement by ID.
|
|
173
|
-
|
|
174
110
|
* @param achievementId The achievement ID.
|
|
175
|
-
|
|
176
111
|
* @returns The achievement. See {@link AchievementResponse}.
|
|
177
|
-
|
|
178
112
|
*/
|
|
179
113
|
function achievement(achievementId) {
|
|
180
114
|
return {
|
|
@@ -183,13 +117,9 @@ function achievement(achievementId) {
|
|
|
183
117
|
};
|
|
184
118
|
}
|
|
185
119
|
/**
|
|
186
|
-
|
|
187
120
|
* Get an achievement category by ID.
|
|
188
|
-
|
|
189
121
|
* @param achievementCategoryId The achievement category ID.
|
|
190
|
-
|
|
191
122
|
* @returns The achievement category. See {@link AchievementCategoryResponse}.
|
|
192
|
-
|
|
193
123
|
*/
|
|
194
124
|
function achievementCategory(achievementCategoryId) {
|
|
195
125
|
return {
|
|
@@ -198,11 +128,8 @@ function achievementCategory(achievementCategoryId) {
|
|
|
198
128
|
};
|
|
199
129
|
}
|
|
200
130
|
/**
|
|
201
|
-
|
|
202
131
|
* Get an achievement category index.
|
|
203
|
-
|
|
204
132
|
* @returns The achievement category index. See {@link AchievementCategoryIndexResponse}.
|
|
205
|
-
|
|
206
133
|
*/
|
|
207
134
|
function achievementCategoryIndex() {
|
|
208
135
|
return {
|
|
@@ -211,11 +138,8 @@ function achievementCategoryIndex() {
|
|
|
211
138
|
};
|
|
212
139
|
}
|
|
213
140
|
/**
|
|
214
|
-
|
|
215
141
|
* Get an achievement index.
|
|
216
|
-
|
|
217
142
|
* @returns The achievement index. See {@link AchievementIndexResponse}.
|
|
218
|
-
|
|
219
143
|
*/
|
|
220
144
|
function achievementIndex() {
|
|
221
145
|
return {
|
|
@@ -224,18 +148,14 @@ function achievementIndex() {
|
|
|
224
148
|
};
|
|
225
149
|
}
|
|
226
150
|
/**
|
|
227
|
-
|
|
228
151
|
* Get achievement media by ID.
|
|
229
|
-
|
|
230
152
|
* @param achievementId The achievement ID.
|
|
231
|
-
|
|
232
153
|
* @returns The achievement media. See {@link AchievementMediaResponse}.
|
|
233
|
-
|
|
234
154
|
*/
|
|
235
155
|
function achievementMedia(achievementId) {
|
|
236
156
|
return {
|
|
237
157
|
namespace: "static",
|
|
238
|
-
path: `${
|
|
158
|
+
path: `${wowMediaBasePath}/achievement/${achievementId}`
|
|
239
159
|
};
|
|
240
160
|
}
|
|
241
161
|
|
|
@@ -249,7 +169,7 @@ function achievementMedia(achievementId) {
|
|
|
249
169
|
function auctions(connectedRealmId) {
|
|
250
170
|
return {
|
|
251
171
|
namespace: "dynamic",
|
|
252
|
-
path: `${
|
|
172
|
+
path: `${wowBasePath}/connected-realm/${connectedRealmId}/auctions`
|
|
253
173
|
};
|
|
254
174
|
}
|
|
255
175
|
/**
|
|
@@ -259,7 +179,7 @@ function auctions(connectedRealmId) {
|
|
|
259
179
|
function commodities() {
|
|
260
180
|
return {
|
|
261
181
|
namespace: "dynamic",
|
|
262
|
-
path: `${
|
|
182
|
+
path: `${wowBasePath}/auctions/commodities`
|
|
263
183
|
};
|
|
264
184
|
}
|
|
265
185
|
|
|
@@ -273,7 +193,7 @@ function commodities() {
|
|
|
273
193
|
function azeriteEssence(azeriteEssenceId) {
|
|
274
194
|
return {
|
|
275
195
|
namespace: "static",
|
|
276
|
-
path: `${
|
|
196
|
+
path: `${wowBasePath}/azerite-essence/${azeriteEssenceId}`
|
|
277
197
|
};
|
|
278
198
|
}
|
|
279
199
|
/**
|
|
@@ -283,7 +203,7 @@ function azeriteEssence(azeriteEssenceId) {
|
|
|
283
203
|
function azeriteEssenceIndex() {
|
|
284
204
|
return {
|
|
285
205
|
namespace: "static",
|
|
286
|
-
path: `${
|
|
206
|
+
path: `${wowBasePath}/azerite-essence/index`
|
|
287
207
|
};
|
|
288
208
|
}
|
|
289
209
|
/**
|
|
@@ -294,13 +214,13 @@ function azeriteEssenceIndex() {
|
|
|
294
214
|
function azeriteEssenceMedia(azeriteEssenceId) {
|
|
295
215
|
return {
|
|
296
216
|
namespace: "static",
|
|
297
|
-
path: `${
|
|
217
|
+
path: `${wowMediaBasePath}/azerite-essence/${azeriteEssenceId}`
|
|
298
218
|
};
|
|
299
219
|
}
|
|
300
220
|
/**
|
|
301
221
|
* Search for azerite essences.
|
|
302
222
|
* @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.
|
|
303
|
-
* @returns The search results. See {@link
|
|
223
|
+
* @returns The search results. See {@link AzeriteEssenceSearchResponse}.
|
|
304
224
|
*/
|
|
305
225
|
function azeriteEssenceSearch(options) {
|
|
306
226
|
return {
|
|
@@ -310,7 +230,7 @@ function azeriteEssenceSearch(options) {
|
|
|
310
230
|
"allowed_specializations.id": options["allowed_specializations.id"],
|
|
311
231
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
312
232
|
},
|
|
313
|
-
path: `${
|
|
233
|
+
path: `${wowSearchBasePath}/azerite-essence`
|
|
314
234
|
};
|
|
315
235
|
}
|
|
316
236
|
|
|
@@ -318,13 +238,9 @@ function azeriteEssenceSearch(options) {
|
|
|
318
238
|
//#region src/character-achievements/character-achievements.ts
|
|
319
239
|
const basePath$2 = "/profile/wow/character";
|
|
320
240
|
/**
|
|
321
|
-
|
|
322
241
|
* @param realmSlug The slug of the realm.
|
|
323
|
-
|
|
324
242
|
* @param characterName The lowercase name of the character.
|
|
325
|
-
|
|
326
243
|
* @returns a summary of the achievements a character has completed.
|
|
327
|
-
|
|
328
244
|
*/
|
|
329
245
|
function characterAchievementsSummary(realmSlug, characterName) {
|
|
330
246
|
return {
|
|
@@ -333,13 +249,9 @@ function characterAchievementsSummary(realmSlug, characterName) {
|
|
|
333
249
|
};
|
|
334
250
|
}
|
|
335
251
|
/**
|
|
336
|
-
|
|
337
252
|
* @param realmSlug The slug of the realm.
|
|
338
|
-
|
|
339
253
|
* @param characterName The lowercase name of the character.
|
|
340
|
-
|
|
341
254
|
* @returns a character's statistics as they pertain to achievements.
|
|
342
|
-
|
|
343
255
|
*/
|
|
344
256
|
function characterAchievementStatistics(realmSlug, characterName) {
|
|
345
257
|
return {
|
|
@@ -351,13 +263,9 @@ function characterAchievementStatistics(realmSlug, characterName) {
|
|
|
351
263
|
//#endregion
|
|
352
264
|
//#region src/character-appearance/character-appearance.ts
|
|
353
265
|
/**
|
|
354
|
-
|
|
355
266
|
* @param realmSlug The slug of the realm.
|
|
356
|
-
|
|
357
267
|
* @param characterName The lowercase name of the character.
|
|
358
|
-
|
|
359
268
|
* @returns a summary of a character's appearance settings.
|
|
360
|
-
|
|
361
269
|
*/
|
|
362
270
|
function characterAppearanceSummary(realmSlug, characterName) {
|
|
363
271
|
return {
|
|
@@ -370,13 +278,9 @@ function characterAppearanceSummary(realmSlug, characterName) {
|
|
|
370
278
|
//#region src/character-collections/character-collections.ts
|
|
371
279
|
const basePath$1 = "/profile/wow/character";
|
|
372
280
|
/**
|
|
373
|
-
|
|
374
281
|
* @param realmSlug The slug of the realm.
|
|
375
|
-
|
|
376
282
|
* @param characterName The lowercase name of the character.
|
|
377
|
-
|
|
378
283
|
* @returns an index of collection types for a character.
|
|
379
|
-
|
|
380
284
|
*/
|
|
381
285
|
function characterCollectionsIndex(realmSlug, characterName) {
|
|
382
286
|
return {
|
|
@@ -385,13 +289,9 @@ function characterCollectionsIndex(realmSlug, characterName) {
|
|
|
385
289
|
};
|
|
386
290
|
}
|
|
387
291
|
/**
|
|
388
|
-
|
|
389
292
|
* @param realmSlug The slug of the realm.
|
|
390
|
-
|
|
391
293
|
* @param characterName The lowercase name of the character.
|
|
392
|
-
|
|
393
294
|
* @returns a summary of the heirlooms a character has obtained.
|
|
394
|
-
|
|
395
295
|
*/
|
|
396
296
|
function characterHeirloomsCollectionSummary(realmSlug, characterName) {
|
|
397
297
|
return {
|
|
@@ -400,13 +300,9 @@ function characterHeirloomsCollectionSummary(realmSlug, characterName) {
|
|
|
400
300
|
};
|
|
401
301
|
}
|
|
402
302
|
/**
|
|
403
|
-
|
|
404
303
|
* @param realmSlug The slug of the realm.
|
|
405
|
-
|
|
406
304
|
* @param characterName The lowercase name of the character.
|
|
407
|
-
|
|
408
305
|
* @returns a summary of the mounts a character has obtained.
|
|
409
|
-
|
|
410
306
|
*/
|
|
411
307
|
function characterMountsCollectionSummary(realmSlug, characterName) {
|
|
412
308
|
return {
|
|
@@ -415,13 +311,9 @@ function characterMountsCollectionSummary(realmSlug, characterName) {
|
|
|
415
311
|
};
|
|
416
312
|
}
|
|
417
313
|
/**
|
|
418
|
-
|
|
419
314
|
* @param realmSlug The slug of the realm.
|
|
420
|
-
|
|
421
315
|
* @param characterName The lowercase name of the character.
|
|
422
|
-
|
|
423
316
|
* @returns a summary of the battle pets a character has obtained.
|
|
424
|
-
|
|
425
317
|
*/
|
|
426
318
|
function characterPetsCollectionSummary(realmSlug, characterName) {
|
|
427
319
|
return {
|
|
@@ -430,13 +322,9 @@ function characterPetsCollectionSummary(realmSlug, characterName) {
|
|
|
430
322
|
};
|
|
431
323
|
}
|
|
432
324
|
/**
|
|
433
|
-
|
|
434
325
|
* @param realmSlug The slug of the realm.
|
|
435
|
-
|
|
436
326
|
* @param characterName The lowercase name of the character.
|
|
437
|
-
|
|
438
327
|
* @returns a summary of the toys a character has obtained.
|
|
439
|
-
|
|
440
328
|
*/
|
|
441
329
|
function characterToysCollectionSummary(realmSlug, characterName) {
|
|
442
330
|
return {
|
|
@@ -445,13 +333,9 @@ function characterToysCollectionSummary(realmSlug, characterName) {
|
|
|
445
333
|
};
|
|
446
334
|
}
|
|
447
335
|
/**
|
|
448
|
-
|
|
449
336
|
* @param realmSlug The slug of the realm.
|
|
450
|
-
|
|
451
337
|
* @param characterName The lowercase name of the character.
|
|
452
|
-
|
|
453
338
|
* @returns a summary of the transmog unlocks a character has obtained.
|
|
454
|
-
|
|
455
339
|
*/
|
|
456
340
|
function characterTransmogCollectionSummary(realmSlug, characterName) {
|
|
457
341
|
return {
|
|
@@ -464,13 +348,9 @@ function characterTransmogCollectionSummary(realmSlug, characterName) {
|
|
|
464
348
|
//#region src/character-encounters/character-encounters.ts
|
|
465
349
|
const bathPase = "profile/wow/character";
|
|
466
350
|
/**
|
|
467
|
-
|
|
468
351
|
* @param realmSlug The slug of the realm.
|
|
469
|
-
|
|
470
352
|
* @param characterName The lowercase name of the character.
|
|
471
|
-
|
|
472
353
|
* @returns a summary of a character's completed dungeons.
|
|
473
|
-
|
|
474
354
|
*/
|
|
475
355
|
function characterDungeons(realmSlug, characterName) {
|
|
476
356
|
return {
|
|
@@ -479,13 +359,9 @@ function characterDungeons(realmSlug, characterName) {
|
|
|
479
359
|
};
|
|
480
360
|
}
|
|
481
361
|
/**
|
|
482
|
-
|
|
483
362
|
* @param realmSlug The slug of the realm.
|
|
484
|
-
|
|
485
363
|
* @param characterName The lowercase name of the character.
|
|
486
|
-
|
|
487
364
|
* @returns a summary of a character's encounters.
|
|
488
|
-
|
|
489
365
|
*/
|
|
490
366
|
function characterEncountersSummary(realmSlug, characterName) {
|
|
491
367
|
return {
|
|
@@ -494,13 +370,9 @@ function characterEncountersSummary(realmSlug, characterName) {
|
|
|
494
370
|
};
|
|
495
371
|
}
|
|
496
372
|
/**
|
|
497
|
-
|
|
498
373
|
* @param realmSlug The slug of the realm.
|
|
499
|
-
|
|
500
374
|
* @param characterName The lowercase name of the character.
|
|
501
|
-
|
|
502
375
|
* @returns a summary of a character's completed raids.
|
|
503
|
-
|
|
504
376
|
*/
|
|
505
377
|
function characterRaids(realmSlug, characterName) {
|
|
506
378
|
return {
|
|
@@ -512,13 +384,9 @@ function characterRaids(realmSlug, characterName) {
|
|
|
512
384
|
//#endregion
|
|
513
385
|
//#region src/character-equipment/character-equipment.ts
|
|
514
386
|
/**
|
|
515
|
-
|
|
516
387
|
* @param realmSlug The slug of the realm.
|
|
517
|
-
|
|
518
388
|
* @param characterName The lowercase name of the character.
|
|
519
|
-
|
|
520
389
|
* @returns a summary of the items equipped by a character.
|
|
521
|
-
|
|
522
390
|
*/
|
|
523
391
|
function characterEquipmentSummary(realmSlug, characterName) {
|
|
524
392
|
return {
|
|
@@ -530,15 +398,10 @@ function characterEquipmentSummary(realmSlug, characterName) {
|
|
|
530
398
|
//#endregion
|
|
531
399
|
//#region src/character-hunter-pets/character-hunter-pets.ts
|
|
532
400
|
/**
|
|
533
|
-
|
|
534
401
|
* If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.
|
|
535
|
-
|
|
536
402
|
* @param realmSlug The slug of the realm.
|
|
537
|
-
|
|
538
403
|
* @param characterName The lowercase name of the character.
|
|
539
|
-
|
|
540
404
|
* @returns a summary of the character's hunter pets.
|
|
541
|
-
|
|
542
405
|
*/
|
|
543
406
|
function characterHunterPetsSummary(realmSlug, characterName) {
|
|
544
407
|
return {
|
|
@@ -550,13 +413,9 @@ function characterHunterPetsSummary(realmSlug, characterName) {
|
|
|
550
413
|
//#endregion
|
|
551
414
|
//#region src/character-media/character-media.ts
|
|
552
415
|
/**
|
|
553
|
-
|
|
554
416
|
* @param realmSlug The slug of the realm.
|
|
555
|
-
|
|
556
417
|
* @param characterName The lowercase name of the character.
|
|
557
|
-
|
|
558
418
|
* @returns a summary of the media assets available for a character (such as an avatar render).
|
|
559
|
-
|
|
560
419
|
*/
|
|
561
420
|
function characterMediaSummary(realmSlug, characterName) {
|
|
562
421
|
return {
|
|
@@ -568,13 +427,9 @@ function characterMediaSummary(realmSlug, characterName) {
|
|
|
568
427
|
//#endregion
|
|
569
428
|
//#region src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts
|
|
570
429
|
/**
|
|
571
|
-
|
|
572
430
|
* @param realmSlug The slug of the realm.
|
|
573
|
-
|
|
574
431
|
* @param characterName The lowercase name of the character.
|
|
575
|
-
|
|
576
432
|
* @returns Returns the Mythic Keystone season details for a character. Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
|
|
577
|
-
|
|
578
433
|
*/
|
|
579
434
|
function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
|
|
580
435
|
return {
|
|
@@ -583,19 +438,12 @@ function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
|
|
|
583
438
|
};
|
|
584
439
|
}
|
|
585
440
|
/**
|
|
586
|
-
|
|
587
441
|
* Returns the Mythic Keystone season details for a character.
|
|
588
|
-
|
|
589
442
|
* Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
|
|
590
|
-
|
|
591
443
|
* @param realmSlug The slug of the realm.
|
|
592
|
-
|
|
593
444
|
* @param characterName The lowercase name of the character.
|
|
594
|
-
|
|
595
445
|
* @param seasonId The ID of the season.
|
|
596
|
-
|
|
597
446
|
* @returns the Mythic Keystone season details for a character.
|
|
598
|
-
|
|
599
447
|
*/
|
|
600
448
|
function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
|
|
601
449
|
return {
|
|
@@ -607,13 +455,9 @@ function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId
|
|
|
607
455
|
//#endregion
|
|
608
456
|
//#region src/character-professions/character-professions.ts
|
|
609
457
|
/**
|
|
610
|
-
|
|
611
458
|
* @param realmSlug The slug of the realm.
|
|
612
|
-
|
|
613
459
|
* @param characterName The lowercase name of the character.
|
|
614
|
-
|
|
615
460
|
* @returns a summary of the professions for a character.
|
|
616
|
-
|
|
617
461
|
*/
|
|
618
462
|
function characterProfessionsSummary(realmSlug, characterName) {
|
|
619
463
|
return {
|
|
@@ -625,35 +469,20 @@ function characterProfessionsSummary(realmSlug, characterName) {
|
|
|
625
469
|
//#endregion
|
|
626
470
|
//#region src/character-profile/character-profile.ts
|
|
627
471
|
/**
|
|
628
|
-
|
|
629
472
|
* Returns the status and a unique ID for a character. A client should delete information about a character from their application if any of the following conditions occur:
|
|
630
|
-
|
|
631
473
|
* - an HTTP 404 Not Found error is returned
|
|
632
|
-
|
|
633
474
|
* - the is_valid value is false
|
|
634
|
-
|
|
635
475
|
* - the returned character ID doesn't match the previously recorded value for the character
|
|
636
|
-
|
|
637
476
|
*
|
|
638
|
-
|
|
639
477
|
* The following example illustrates how to use this endpoint:
|
|
640
|
-
|
|
641
478
|
*
|
|
642
|
-
|
|
643
479
|
* 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.
|
|
644
|
-
|
|
645
480
|
* 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.
|
|
646
|
-
|
|
647
481
|
* 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.
|
|
648
|
-
|
|
649
482
|
* 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.
|
|
650
|
-
|
|
651
483
|
* @param realmSlug The slug of the realm.
|
|
652
|
-
|
|
653
484
|
* @param characterName The lowercase name of the character.
|
|
654
|
-
|
|
655
485
|
* @returns the status of the character profile for a character.
|
|
656
|
-
|
|
657
486
|
*/
|
|
658
487
|
function characterProfileStatus(realmSlug, characterName) {
|
|
659
488
|
return {
|
|
@@ -662,15 +491,10 @@ function characterProfileStatus(realmSlug, characterName) {
|
|
|
662
491
|
};
|
|
663
492
|
}
|
|
664
493
|
/**
|
|
665
|
-
|
|
666
494
|
* Returns a summary of the character profile for a character.
|
|
667
|
-
|
|
668
495
|
* @param realmSlug The slug of the realm.
|
|
669
|
-
|
|
670
496
|
* @param characterName The lowercase name of the character.
|
|
671
|
-
|
|
672
497
|
* @returns a summary of the character profile for a character.
|
|
673
|
-
|
|
674
498
|
*/
|
|
675
499
|
function characterProfileSummary(realmSlug, characterName) {
|
|
676
500
|
return {
|
|
@@ -682,15 +506,10 @@ function characterProfileSummary(realmSlug, characterName) {
|
|
|
682
506
|
//#endregion
|
|
683
507
|
//#region src/character-pvp/character-pvp.ts
|
|
684
508
|
/**
|
|
685
|
-
|
|
686
509
|
* @param realmSlug The slug of the realm.
|
|
687
|
-
|
|
688
510
|
* @param characterName The lowercase name of the character.
|
|
689
|
-
|
|
690
511
|
* @param bracketId The ID of the PvP bracket.
|
|
691
|
-
|
|
692
512
|
* @returns a PvP bracket statistics for a character.
|
|
693
|
-
|
|
694
513
|
*/
|
|
695
514
|
function characterPvpBracketStatistics(realmSlug, characterName, bracketId) {
|
|
696
515
|
return {
|
|
@@ -699,13 +518,9 @@ function characterPvpBracketStatistics(realmSlug, characterName, bracketId) {
|
|
|
699
518
|
};
|
|
700
519
|
}
|
|
701
520
|
/**
|
|
702
|
-
|
|
703
521
|
* @param realmSlug The slug of the realm.
|
|
704
|
-
|
|
705
522
|
* @param characterName The lowercase name of the character.
|
|
706
|
-
|
|
707
523
|
* @returns a PvP summary for a character.
|
|
708
|
-
|
|
709
524
|
*/
|
|
710
525
|
function characterPvpSummary(realmSlug, characterName) {
|
|
711
526
|
return {
|
|
@@ -717,13 +532,9 @@ function characterPvpSummary(realmSlug, characterName) {
|
|
|
717
532
|
//#endregion
|
|
718
533
|
//#region src/character-quests/character-quests.ts
|
|
719
534
|
/**
|
|
720
|
-
|
|
721
535
|
* @param realmSlug The slug of the realm.
|
|
722
|
-
|
|
723
536
|
* @param characterName The lowercase name of the character.
|
|
724
|
-
|
|
725
537
|
* @returns a list of quests that a character has completed.
|
|
726
|
-
|
|
727
538
|
*/
|
|
728
539
|
function characterCompletedQuests(realmSlug, characterName) {
|
|
729
540
|
return {
|
|
@@ -732,13 +543,9 @@ function characterCompletedQuests(realmSlug, characterName) {
|
|
|
732
543
|
};
|
|
733
544
|
}
|
|
734
545
|
/**
|
|
735
|
-
|
|
736
546
|
* @param realmSlug The slug of the realm.
|
|
737
|
-
|
|
738
547
|
* @param characterName The lowercase name of the character.
|
|
739
|
-
|
|
740
548
|
* @returns a character's active quests as well as a link to the character's completed quests.
|
|
741
|
-
|
|
742
549
|
*/
|
|
743
550
|
function characterQuests(realmSlug, characterName) {
|
|
744
551
|
return {
|
|
@@ -750,13 +557,9 @@ function characterQuests(realmSlug, characterName) {
|
|
|
750
557
|
//#endregion
|
|
751
558
|
//#region src/character-reputations/character-reputations.ts
|
|
752
559
|
/**
|
|
753
|
-
|
|
754
560
|
* @param realmSlug The slug of the realm.
|
|
755
|
-
|
|
756
561
|
* @param characterName The lowercase name of the character.
|
|
757
|
-
|
|
758
562
|
* @returns a summary of a character's reputations.
|
|
759
|
-
|
|
760
563
|
*/
|
|
761
564
|
function characterReputationsSummary(realmSlug, characterName) {
|
|
762
565
|
return {
|
|
@@ -768,13 +571,9 @@ function characterReputationsSummary(realmSlug, characterName) {
|
|
|
768
571
|
//#endregion
|
|
769
572
|
//#region src/character-soulbinds/character-soulbinds.ts
|
|
770
573
|
/**
|
|
771
|
-
|
|
772
574
|
* @param realmSlug The slug of the realm.
|
|
773
|
-
|
|
774
575
|
* @param characterName The lowercase name of the character.
|
|
775
|
-
|
|
776
576
|
* @returns a character's soulbinds.
|
|
777
|
-
|
|
778
577
|
*/
|
|
779
578
|
function characterSoulbinds(realmSlug, characterName) {
|
|
780
579
|
return {
|
|
@@ -786,13 +585,9 @@ function characterSoulbinds(realmSlug, characterName) {
|
|
|
786
585
|
//#endregion
|
|
787
586
|
//#region src/character-specializations/character-specializations.ts
|
|
788
587
|
/**
|
|
789
|
-
|
|
790
588
|
* @param realmSlug The slug of the realm.
|
|
791
|
-
|
|
792
589
|
* @param characterName The lowercase name of the character.
|
|
793
|
-
|
|
794
590
|
* @returns a summary of a character's specializations.
|
|
795
|
-
|
|
796
591
|
*/
|
|
797
592
|
function characterSpecializationsSummary(realmSlug, characterName) {
|
|
798
593
|
return {
|
|
@@ -804,13 +599,9 @@ function characterSpecializationsSummary(realmSlug, characterName) {
|
|
|
804
599
|
//#endregion
|
|
805
600
|
//#region src/character-statistics/character-statistics.ts
|
|
806
601
|
/**
|
|
807
|
-
|
|
808
602
|
* @param realmSlug The slug of the realm.
|
|
809
|
-
|
|
810
603
|
* @param characterName The lowercase name of the character.
|
|
811
|
-
|
|
812
604
|
* @returns a statistics summary for a character.
|
|
813
|
-
|
|
814
605
|
*/
|
|
815
606
|
function characterStatisticsSummary(realmSlug, characterName) {
|
|
816
607
|
return {
|
|
@@ -822,13 +613,9 @@ function characterStatisticsSummary(realmSlug, characterName) {
|
|
|
822
613
|
//#endregion
|
|
823
614
|
//#region src/character-titles/character-titles.ts
|
|
824
615
|
/**
|
|
825
|
-
|
|
826
616
|
* @param realmSlug The slug of the realm.
|
|
827
|
-
|
|
828
617
|
* @param characterName The lowercase name of the character.
|
|
829
|
-
|
|
830
618
|
* @returns a summary of titles a character has obtained.
|
|
831
|
-
|
|
832
619
|
*/
|
|
833
620
|
function characterTitlesSummary(realmSlug, characterName) {
|
|
834
621
|
return {
|
|
@@ -847,7 +634,7 @@ function characterTitlesSummary(realmSlug, characterName) {
|
|
|
847
634
|
function connectedRealm(connectedRealmId) {
|
|
848
635
|
return {
|
|
849
636
|
namespace: "dynamic",
|
|
850
|
-
path: `${
|
|
637
|
+
path: `${wowBasePath}/connected-realm/${connectedRealmId}`
|
|
851
638
|
};
|
|
852
639
|
}
|
|
853
640
|
/**
|
|
@@ -857,13 +644,13 @@ function connectedRealm(connectedRealmId) {
|
|
|
857
644
|
function connectedRealmIndex() {
|
|
858
645
|
return {
|
|
859
646
|
namespace: "dynamic",
|
|
860
|
-
path: `${
|
|
647
|
+
path: `${wowBasePath}/connected-realm/index`
|
|
861
648
|
};
|
|
862
649
|
}
|
|
863
650
|
/**
|
|
864
651
|
* Search for connected realms.
|
|
865
652
|
* @param options The search parameters. See {@link ConnectedRealmSearchParameters}.
|
|
866
|
-
* @returns The search results. See {@link
|
|
653
|
+
* @returns The search results. See {@link ConnectedRealmSearchResponse}.
|
|
867
654
|
*/
|
|
868
655
|
function connectedRealmSearch(options) {
|
|
869
656
|
return {
|
|
@@ -874,7 +661,7 @@ function connectedRealmSearch(options) {
|
|
|
874
661
|
"realms.timezone": options["realms.timezone"],
|
|
875
662
|
"status.type": options["status.type"]
|
|
876
663
|
},
|
|
877
|
-
path: `${
|
|
664
|
+
path: `${wowBasePath}/search/connected-realm`
|
|
878
665
|
};
|
|
879
666
|
}
|
|
880
667
|
|
|
@@ -888,7 +675,7 @@ function connectedRealmSearch(options) {
|
|
|
888
675
|
function conduit(conduitId) {
|
|
889
676
|
return {
|
|
890
677
|
namespace: "static",
|
|
891
|
-
path: `${
|
|
678
|
+
path: `${wowBasePath}/covenant/conduit/${conduitId}`
|
|
892
679
|
};
|
|
893
680
|
}
|
|
894
681
|
/**
|
|
@@ -898,7 +685,7 @@ function conduit(conduitId) {
|
|
|
898
685
|
function conduitIndex() {
|
|
899
686
|
return {
|
|
900
687
|
namespace: "static",
|
|
901
|
-
path: `${
|
|
688
|
+
path: `${wowBasePath}/covenant/conduit/index`
|
|
902
689
|
};
|
|
903
690
|
}
|
|
904
691
|
/**
|
|
@@ -909,7 +696,7 @@ function conduitIndex() {
|
|
|
909
696
|
function covenant(covenantId) {
|
|
910
697
|
return {
|
|
911
698
|
namespace: "static",
|
|
912
|
-
path: `${
|
|
699
|
+
path: `${wowBasePath}/covenant/${covenantId}`
|
|
913
700
|
};
|
|
914
701
|
}
|
|
915
702
|
/**
|
|
@@ -919,7 +706,7 @@ function covenant(covenantId) {
|
|
|
919
706
|
function covenantIndex() {
|
|
920
707
|
return {
|
|
921
708
|
namespace: "static",
|
|
922
|
-
path: `${
|
|
709
|
+
path: `${wowBasePath}/covenant/index`
|
|
923
710
|
};
|
|
924
711
|
}
|
|
925
712
|
/**
|
|
@@ -930,7 +717,7 @@ function covenantIndex() {
|
|
|
930
717
|
function covenantMedia(covenantId) {
|
|
931
718
|
return {
|
|
932
719
|
namespace: "static",
|
|
933
|
-
path: `${
|
|
720
|
+
path: `${wowMediaBasePath}/covenant/${covenantId}`
|
|
934
721
|
};
|
|
935
722
|
}
|
|
936
723
|
/**
|
|
@@ -941,7 +728,7 @@ function covenantMedia(covenantId) {
|
|
|
941
728
|
function soulbind(soulbindId) {
|
|
942
729
|
return {
|
|
943
730
|
namespace: "static",
|
|
944
|
-
path: `${
|
|
731
|
+
path: `${wowBasePath}/covenant/soulbind/${soulbindId}`
|
|
945
732
|
};
|
|
946
733
|
}
|
|
947
734
|
/**
|
|
@@ -951,7 +738,7 @@ function soulbind(soulbindId) {
|
|
|
951
738
|
function soulbindIndex() {
|
|
952
739
|
return {
|
|
953
740
|
namespace: "static",
|
|
954
|
-
path: `${
|
|
741
|
+
path: `${wowBasePath}/covenant/soulbind/index`
|
|
955
742
|
};
|
|
956
743
|
}
|
|
957
744
|
|
|
@@ -965,7 +752,7 @@ function soulbindIndex() {
|
|
|
965
752
|
function creature(creatureId) {
|
|
966
753
|
return {
|
|
967
754
|
namespace: "static",
|
|
968
|
-
path: `${
|
|
755
|
+
path: `${wowBasePath}/creature/${creatureId}`
|
|
969
756
|
};
|
|
970
757
|
}
|
|
971
758
|
/**
|
|
@@ -976,7 +763,7 @@ function creature(creatureId) {
|
|
|
976
763
|
function creatureDisplayMedia(creatureDisplayId) {
|
|
977
764
|
return {
|
|
978
765
|
namespace: "static",
|
|
979
|
-
path: `${
|
|
766
|
+
path: `${wowMediaBasePath}/creature-display/${creatureDisplayId}`
|
|
980
767
|
};
|
|
981
768
|
}
|
|
982
769
|
/**
|
|
@@ -987,7 +774,7 @@ function creatureDisplayMedia(creatureDisplayId) {
|
|
|
987
774
|
function creatureFamily(creatureFamilyId) {
|
|
988
775
|
return {
|
|
989
776
|
namespace: "static",
|
|
990
|
-
path: `${
|
|
777
|
+
path: `${wowBasePath}/creature-family/${creatureFamilyId}`
|
|
991
778
|
};
|
|
992
779
|
}
|
|
993
780
|
/**
|
|
@@ -997,7 +784,7 @@ function creatureFamily(creatureFamilyId) {
|
|
|
997
784
|
function creatureFamilyIndex() {
|
|
998
785
|
return {
|
|
999
786
|
namespace: "static",
|
|
1000
|
-
path: `${
|
|
787
|
+
path: `${wowBasePath}/creature-family/index`
|
|
1001
788
|
};
|
|
1002
789
|
}
|
|
1003
790
|
/**
|
|
@@ -1008,13 +795,13 @@ function creatureFamilyIndex() {
|
|
|
1008
795
|
function creatureFamilyMedia(creatureFamilyId) {
|
|
1009
796
|
return {
|
|
1010
797
|
namespace: "static",
|
|
1011
|
-
path: `${
|
|
798
|
+
path: `${wowMediaBasePath}/creature-family/${creatureFamilyId}`
|
|
1012
799
|
};
|
|
1013
800
|
}
|
|
1014
801
|
/**
|
|
1015
802
|
* Search for creatures.
|
|
1016
803
|
* @param options The creature search parameters. See {@link CreatureSearchParameters}.
|
|
1017
|
-
* @returns The creature search results. See {@link
|
|
804
|
+
* @returns The creature search results. See {@link CreatureSearchResponse}.
|
|
1018
805
|
*/
|
|
1019
806
|
function creatureSearch(options) {
|
|
1020
807
|
return {
|
|
@@ -1024,7 +811,7 @@ function creatureSearch(options) {
|
|
|
1024
811
|
[`name.${options.locale}`]: options.name,
|
|
1025
812
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
1026
813
|
},
|
|
1027
|
-
path: `${
|
|
814
|
+
path: `${wowSearchBasePath}/creature`
|
|
1028
815
|
};
|
|
1029
816
|
}
|
|
1030
817
|
/**
|
|
@@ -1035,7 +822,7 @@ function creatureSearch(options) {
|
|
|
1035
822
|
function creatureType(creatureTypeId) {
|
|
1036
823
|
return {
|
|
1037
824
|
namespace: "static",
|
|
1038
|
-
path: `${
|
|
825
|
+
path: `${wowBasePath}/creature-type/${creatureTypeId}`
|
|
1039
826
|
};
|
|
1040
827
|
}
|
|
1041
828
|
/**
|
|
@@ -1045,7 +832,7 @@ function creatureType(creatureTypeId) {
|
|
|
1045
832
|
function creatureTypeIndex() {
|
|
1046
833
|
return {
|
|
1047
834
|
namespace: "static",
|
|
1048
|
-
path: `${
|
|
835
|
+
path: `${wowBasePath}/creature-type/index`
|
|
1049
836
|
};
|
|
1050
837
|
}
|
|
1051
838
|
|
|
@@ -1059,7 +846,7 @@ function creatureTypeIndex() {
|
|
|
1059
846
|
function guildCrestBorder(borderId) {
|
|
1060
847
|
return {
|
|
1061
848
|
namespace: "static",
|
|
1062
|
-
path: `${
|
|
849
|
+
path: `${wowMediaBasePath}/guild-crest/border/${borderId}`
|
|
1063
850
|
};
|
|
1064
851
|
}
|
|
1065
852
|
/**
|
|
@@ -1069,7 +856,7 @@ function guildCrestBorder(borderId) {
|
|
|
1069
856
|
function guildCrestComponentsIndex() {
|
|
1070
857
|
return {
|
|
1071
858
|
namespace: "static",
|
|
1072
|
-
path: `${
|
|
859
|
+
path: `${wowBasePath}/guild-crest/index`
|
|
1073
860
|
};
|
|
1074
861
|
}
|
|
1075
862
|
/**
|
|
@@ -1080,7 +867,7 @@ function guildCrestComponentsIndex() {
|
|
|
1080
867
|
function guildCrestEmblem(emblemId) {
|
|
1081
868
|
return {
|
|
1082
869
|
namespace: "static",
|
|
1083
|
-
path: `${
|
|
870
|
+
path: `${wowMediaBasePath}/guild-crest/emblem/${emblemId}`
|
|
1084
871
|
};
|
|
1085
872
|
}
|
|
1086
873
|
|
|
@@ -1088,13 +875,9 @@ function guildCrestEmblem(emblemId) {
|
|
|
1088
875
|
//#region src/guild/guild.ts
|
|
1089
876
|
const basePath = "/data/wow/guild";
|
|
1090
877
|
/**
|
|
1091
|
-
|
|
1092
878
|
* @param realmSlug The slug of the realm.
|
|
1093
|
-
|
|
1094
879
|
* @param nameSlug The lowercase name of the guild.
|
|
1095
|
-
|
|
1096
880
|
* @returns a single guild by its name and realm.
|
|
1097
|
-
|
|
1098
881
|
*/
|
|
1099
882
|
function guild(realmSlug, nameSlug) {
|
|
1100
883
|
return {
|
|
@@ -1103,13 +886,9 @@ function guild(realmSlug, nameSlug) {
|
|
|
1103
886
|
};
|
|
1104
887
|
}
|
|
1105
888
|
/**
|
|
1106
|
-
|
|
1107
889
|
* @param realmSlug The slug of the realm.
|
|
1108
|
-
|
|
1109
890
|
* @param nameSlug The lowercase name of the guild.
|
|
1110
|
-
|
|
1111
891
|
* @returns a single guild's achievements by name and realm.
|
|
1112
|
-
|
|
1113
892
|
*/
|
|
1114
893
|
function guildAchievements(realmSlug, nameSlug) {
|
|
1115
894
|
return {
|
|
@@ -1118,13 +897,9 @@ function guildAchievements(realmSlug, nameSlug) {
|
|
|
1118
897
|
};
|
|
1119
898
|
}
|
|
1120
899
|
/**
|
|
1121
|
-
|
|
1122
900
|
* @param realmSlug The slug of the realm.
|
|
1123
|
-
|
|
1124
901
|
* @param nameSlug The lowercase name of the guild.
|
|
1125
|
-
|
|
1126
902
|
* @returns a single guild's activity by name and realm.
|
|
1127
|
-
|
|
1128
903
|
*/
|
|
1129
904
|
function guildActivity(realmSlug, nameSlug) {
|
|
1130
905
|
return {
|
|
@@ -1133,13 +908,9 @@ function guildActivity(realmSlug, nameSlug) {
|
|
|
1133
908
|
};
|
|
1134
909
|
}
|
|
1135
910
|
/**
|
|
1136
|
-
|
|
1137
911
|
* @param realmSlug The slug of the realm.
|
|
1138
|
-
|
|
1139
912
|
* @param nameSlug The lowercase name of the guild.
|
|
1140
|
-
|
|
1141
913
|
* @returns a single guild's roster by its name and realm.
|
|
1142
|
-
|
|
1143
914
|
*/
|
|
1144
915
|
function guildRoster(realmSlug, nameSlug) {
|
|
1145
916
|
return {
|
|
@@ -1158,7 +929,7 @@ function guildRoster(realmSlug, nameSlug) {
|
|
|
1158
929
|
function heirloom(heirloomId) {
|
|
1159
930
|
return {
|
|
1160
931
|
namespace: "static",
|
|
1161
|
-
path: `${
|
|
932
|
+
path: `${wowBasePath}/heirloom/${heirloomId}`
|
|
1162
933
|
};
|
|
1163
934
|
}
|
|
1164
935
|
/**
|
|
@@ -1168,7 +939,7 @@ function heirloom(heirloomId) {
|
|
|
1168
939
|
function heirloomIndex() {
|
|
1169
940
|
return {
|
|
1170
941
|
namespace: "static",
|
|
1171
|
-
path: `${
|
|
942
|
+
path: `${wowBasePath}/heirloom/index`
|
|
1172
943
|
};
|
|
1173
944
|
}
|
|
1174
945
|
|
|
@@ -1182,7 +953,7 @@ function heirloomIndex() {
|
|
|
1182
953
|
function item(itemId) {
|
|
1183
954
|
return {
|
|
1184
955
|
namespace: "static",
|
|
1185
|
-
path: `${
|
|
956
|
+
path: `${wowBasePath}/item/${itemId}`
|
|
1186
957
|
};
|
|
1187
958
|
}
|
|
1188
959
|
/**
|
|
@@ -1193,7 +964,7 @@ function item(itemId) {
|
|
|
1193
964
|
function itemClass(itemClassId) {
|
|
1194
965
|
return {
|
|
1195
966
|
namespace: "static",
|
|
1196
|
-
path: `${
|
|
967
|
+
path: `${wowBasePath}/item-class/${itemClassId}`
|
|
1197
968
|
};
|
|
1198
969
|
}
|
|
1199
970
|
/**
|
|
@@ -1203,7 +974,7 @@ function itemClass(itemClassId) {
|
|
|
1203
974
|
function itemClassIndex() {
|
|
1204
975
|
return {
|
|
1205
976
|
namespace: "static",
|
|
1206
|
-
path: `${
|
|
977
|
+
path: `${wowBasePath}/item-class/index`
|
|
1207
978
|
};
|
|
1208
979
|
}
|
|
1209
980
|
/**
|
|
@@ -1214,13 +985,13 @@ function itemClassIndex() {
|
|
|
1214
985
|
function itemMedia(itemId) {
|
|
1215
986
|
return {
|
|
1216
987
|
namespace: "static",
|
|
1217
|
-
path: `${
|
|
988
|
+
path: `${wowMediaBasePath}/item/${itemId}`
|
|
1218
989
|
};
|
|
1219
990
|
}
|
|
1220
991
|
/**
|
|
1221
992
|
* Search for items.
|
|
1222
993
|
* @param options The search parameters. See {@link ItemSearchParameters}.
|
|
1223
|
-
* @returns The search results. See {@link
|
|
994
|
+
* @returns The search results. See {@link ItemSearchResponse}.
|
|
1224
995
|
*/
|
|
1225
996
|
function itemSearch(options) {
|
|
1226
997
|
return {
|
|
@@ -1230,7 +1001,7 @@ function itemSearch(options) {
|
|
|
1230
1001
|
[`name.${options.locale}`]: options.name,
|
|
1231
1002
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
1232
1003
|
},
|
|
1233
|
-
path: `${
|
|
1004
|
+
path: `${wowSearchBasePath}/item`
|
|
1234
1005
|
};
|
|
1235
1006
|
}
|
|
1236
1007
|
/**
|
|
@@ -1241,7 +1012,7 @@ function itemSearch(options) {
|
|
|
1241
1012
|
function itemSet(itemSetId) {
|
|
1242
1013
|
return {
|
|
1243
1014
|
namespace: "static",
|
|
1244
|
-
path: `${
|
|
1015
|
+
path: `${wowBasePath}/item-set/${itemSetId}`
|
|
1245
1016
|
};
|
|
1246
1017
|
}
|
|
1247
1018
|
/**
|
|
@@ -1251,7 +1022,7 @@ function itemSet(itemSetId) {
|
|
|
1251
1022
|
function itemSetIndex() {
|
|
1252
1023
|
return {
|
|
1253
1024
|
namespace: "static",
|
|
1254
|
-
path: `${
|
|
1025
|
+
path: `${wowBasePath}/item-set/index`
|
|
1255
1026
|
};
|
|
1256
1027
|
}
|
|
1257
1028
|
/**
|
|
@@ -1263,7 +1034,7 @@ function itemSetIndex() {
|
|
|
1263
1034
|
function itemSubClass(itemClassId, itemSubclassId) {
|
|
1264
1035
|
return {
|
|
1265
1036
|
namespace: "static",
|
|
1266
|
-
path: `${
|
|
1037
|
+
path: `${wowBasePath}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`
|
|
1267
1038
|
};
|
|
1268
1039
|
}
|
|
1269
1040
|
|
|
@@ -1277,7 +1048,7 @@ function itemSubClass(itemClassId, itemSubclassId) {
|
|
|
1277
1048
|
function journalEncounter(journalEncounterId) {
|
|
1278
1049
|
return {
|
|
1279
1050
|
namespace: "static",
|
|
1280
|
-
path: `${
|
|
1051
|
+
path: `${wowBasePath}/journal-encounter/${journalEncounterId}`
|
|
1281
1052
|
};
|
|
1282
1053
|
}
|
|
1283
1054
|
/**
|
|
@@ -1287,13 +1058,13 @@ function journalEncounter(journalEncounterId) {
|
|
|
1287
1058
|
function journalEncounterIndex() {
|
|
1288
1059
|
return {
|
|
1289
1060
|
namespace: "static",
|
|
1290
|
-
path: `${
|
|
1061
|
+
path: `${wowBasePath}/journal-encounter/index`
|
|
1291
1062
|
};
|
|
1292
1063
|
}
|
|
1293
1064
|
/**
|
|
1294
1065
|
* Search for journal encounters.
|
|
1295
1066
|
* @param options The search parameters. See {@link JournalEncounterSearchParameters}.
|
|
1296
|
-
* @returns The search results. See {@link
|
|
1067
|
+
* @returns The search results. See {@link JournalEncounterSearchResponse}.
|
|
1297
1068
|
*/
|
|
1298
1069
|
function journalEncounterSearch(options) {
|
|
1299
1070
|
return {
|
|
@@ -1303,7 +1074,7 @@ function journalEncounterSearch(options) {
|
|
|
1303
1074
|
[`instance.name.${options.locale}`]: options.instanceName,
|
|
1304
1075
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
1305
1076
|
},
|
|
1306
|
-
path: `${
|
|
1077
|
+
path: `${wowSearchBasePath}/journal-encounter`
|
|
1307
1078
|
};
|
|
1308
1079
|
}
|
|
1309
1080
|
/**
|
|
@@ -1314,7 +1085,7 @@ function journalEncounterSearch(options) {
|
|
|
1314
1085
|
function journalExpansion(journalExpansionId) {
|
|
1315
1086
|
return {
|
|
1316
1087
|
namespace: "static",
|
|
1317
|
-
path: `${
|
|
1088
|
+
path: `${wowBasePath}/journal-expansion/${journalExpansionId}`
|
|
1318
1089
|
};
|
|
1319
1090
|
}
|
|
1320
1091
|
/**
|
|
@@ -1324,7 +1095,7 @@ function journalExpansion(journalExpansionId) {
|
|
|
1324
1095
|
function journalExpansionIndex() {
|
|
1325
1096
|
return {
|
|
1326
1097
|
namespace: "static",
|
|
1327
|
-
path: `${
|
|
1098
|
+
path: `${wowBasePath}/journal-expansion/index`
|
|
1328
1099
|
};
|
|
1329
1100
|
}
|
|
1330
1101
|
/**
|
|
@@ -1335,7 +1106,7 @@ function journalExpansionIndex() {
|
|
|
1335
1106
|
function journalInstance(journalInstanceId) {
|
|
1336
1107
|
return {
|
|
1337
1108
|
namespace: "static",
|
|
1338
|
-
path: `${
|
|
1109
|
+
path: `${wowBasePath}/journal-instance/${journalInstanceId}`
|
|
1339
1110
|
};
|
|
1340
1111
|
}
|
|
1341
1112
|
/**
|
|
@@ -1345,7 +1116,7 @@ function journalInstance(journalInstanceId) {
|
|
|
1345
1116
|
function journalInstanceIndex() {
|
|
1346
1117
|
return {
|
|
1347
1118
|
namespace: "static",
|
|
1348
|
-
path: `${
|
|
1119
|
+
path: `${wowBasePath}/journal-instance/index`
|
|
1349
1120
|
};
|
|
1350
1121
|
}
|
|
1351
1122
|
/**
|
|
@@ -1356,7 +1127,7 @@ function journalInstanceIndex() {
|
|
|
1356
1127
|
function journalInstanceMedia(journalInstanceId) {
|
|
1357
1128
|
return {
|
|
1358
1129
|
namespace: "static",
|
|
1359
|
-
path: `${
|
|
1130
|
+
path: `${wowMediaBasePath}/journal-instance/${journalInstanceId}`
|
|
1360
1131
|
};
|
|
1361
1132
|
}
|
|
1362
1133
|
|
|
@@ -1365,7 +1136,7 @@ function journalInstanceMedia(journalInstanceId) {
|
|
|
1365
1136
|
/**
|
|
1366
1137
|
* Search for media.
|
|
1367
1138
|
* @param options The search parameters. See {@link MediaSearchParameters}.
|
|
1368
|
-
* @returns The search results. See {@link
|
|
1139
|
+
* @returns The search results. See {@link MediaSearchResponse}.
|
|
1369
1140
|
*/
|
|
1370
1141
|
function mediaSearch(options) {
|
|
1371
1142
|
return {
|
|
@@ -1375,7 +1146,7 @@ function mediaSearch(options) {
|
|
|
1375
1146
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
1376
1147
|
tags: options.tags
|
|
1377
1148
|
},
|
|
1378
|
-
path: `${
|
|
1149
|
+
path: `${wowSearchBasePath}/media`
|
|
1379
1150
|
};
|
|
1380
1151
|
}
|
|
1381
1152
|
|
|
@@ -1389,7 +1160,7 @@ function mediaSearch(options) {
|
|
|
1389
1160
|
function modifiedCraftingCategory(modifiedCraftingCategoryId) {
|
|
1390
1161
|
return {
|
|
1391
1162
|
namespace: "static",
|
|
1392
|
-
path: `${
|
|
1163
|
+
path: `${wowBasePath}/modified-crafting/category/${modifiedCraftingCategoryId}`
|
|
1393
1164
|
};
|
|
1394
1165
|
}
|
|
1395
1166
|
/**
|
|
@@ -1399,7 +1170,7 @@ function modifiedCraftingCategory(modifiedCraftingCategoryId) {
|
|
|
1399
1170
|
function modifiedCraftingCategoryIndex() {
|
|
1400
1171
|
return {
|
|
1401
1172
|
namespace: "static",
|
|
1402
|
-
path: `${
|
|
1173
|
+
path: `${wowBasePath}/modified-crafting/category/index`
|
|
1403
1174
|
};
|
|
1404
1175
|
}
|
|
1405
1176
|
/**
|
|
@@ -1409,7 +1180,7 @@ function modifiedCraftingCategoryIndex() {
|
|
|
1409
1180
|
function modifiedCraftingIndex() {
|
|
1410
1181
|
return {
|
|
1411
1182
|
namespace: "static",
|
|
1412
|
-
path: `${
|
|
1183
|
+
path: `${wowBasePath}/modified-crafting/index`
|
|
1413
1184
|
};
|
|
1414
1185
|
}
|
|
1415
1186
|
/**
|
|
@@ -1420,7 +1191,7 @@ function modifiedCraftingIndex() {
|
|
|
1420
1191
|
function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) {
|
|
1421
1192
|
return {
|
|
1422
1193
|
namespace: "static",
|
|
1423
|
-
path: `${
|
|
1194
|
+
path: `${wowBasePath}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`
|
|
1424
1195
|
};
|
|
1425
1196
|
}
|
|
1426
1197
|
/**
|
|
@@ -1430,7 +1201,7 @@ function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) {
|
|
|
1430
1201
|
function modifiedCraftingReagentSlotTypeIndex() {
|
|
1431
1202
|
return {
|
|
1432
1203
|
namespace: "static",
|
|
1433
|
-
path: `${
|
|
1204
|
+
path: `${wowBasePath}/modified-crafting/reagent-slot-type/index`
|
|
1434
1205
|
};
|
|
1435
1206
|
}
|
|
1436
1207
|
|
|
@@ -1444,7 +1215,7 @@ function modifiedCraftingReagentSlotTypeIndex() {
|
|
|
1444
1215
|
function mount(mountId) {
|
|
1445
1216
|
return {
|
|
1446
1217
|
namespace: "static",
|
|
1447
|
-
path: `${
|
|
1218
|
+
path: `${wowBasePath}/mount/${mountId}`
|
|
1448
1219
|
};
|
|
1449
1220
|
}
|
|
1450
1221
|
/**
|
|
@@ -1454,13 +1225,13 @@ function mount(mountId) {
|
|
|
1454
1225
|
function mountIndex() {
|
|
1455
1226
|
return {
|
|
1456
1227
|
namespace: "static",
|
|
1457
|
-
path: `${
|
|
1228
|
+
path: `${wowBasePath}/mount/index`
|
|
1458
1229
|
};
|
|
1459
1230
|
}
|
|
1460
1231
|
/**
|
|
1461
1232
|
* Get a mount search.
|
|
1462
1233
|
* @param options The search parameters. See {@link MountSearchParameters}.
|
|
1463
|
-
* @returns The search results. See {@link
|
|
1234
|
+
* @returns The search results. See {@link MountSearchResponse}.
|
|
1464
1235
|
*/
|
|
1465
1236
|
function mountSearch(options) {
|
|
1466
1237
|
return {
|
|
@@ -1470,7 +1241,7 @@ function mountSearch(options) {
|
|
|
1470
1241
|
[`name.${options.locale}`]: options.name,
|
|
1471
1242
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
1472
1243
|
},
|
|
1473
|
-
path: `${
|
|
1244
|
+
path: `${wowSearchBasePath}/mount`
|
|
1474
1245
|
};
|
|
1475
1246
|
}
|
|
1476
1247
|
|
|
@@ -1484,7 +1255,7 @@ function mountSearch(options) {
|
|
|
1484
1255
|
function mythicKeystoneAffix(mythicKeystoneAffixId) {
|
|
1485
1256
|
return {
|
|
1486
1257
|
namespace: "static",
|
|
1487
|
-
path: `${
|
|
1258
|
+
path: `${wowBasePath}/keystone-affix/${mythicKeystoneAffixId}`
|
|
1488
1259
|
};
|
|
1489
1260
|
}
|
|
1490
1261
|
/**
|
|
@@ -1494,7 +1265,7 @@ function mythicKeystoneAffix(mythicKeystoneAffixId) {
|
|
|
1494
1265
|
function mythicKeystoneAffixIndex() {
|
|
1495
1266
|
return {
|
|
1496
1267
|
namespace: "static",
|
|
1497
|
-
path: `${
|
|
1268
|
+
path: `${wowBasePath}/keystone-affix/index`
|
|
1498
1269
|
};
|
|
1499
1270
|
}
|
|
1500
1271
|
/**
|
|
@@ -1505,7 +1276,7 @@ function mythicKeystoneAffixIndex() {
|
|
|
1505
1276
|
function mythicKeystoneAffixMedia(mythicKeystoneAffixId) {
|
|
1506
1277
|
return {
|
|
1507
1278
|
namespace: "static",
|
|
1508
|
-
path: `${
|
|
1279
|
+
path: `${wowMediaBasePath}/keystone-affix/${mythicKeystoneAffixId}`
|
|
1509
1280
|
};
|
|
1510
1281
|
}
|
|
1511
1282
|
|
|
@@ -1519,7 +1290,7 @@ function mythicKeystoneAffixMedia(mythicKeystoneAffixId) {
|
|
|
1519
1290
|
function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
|
|
1520
1291
|
return {
|
|
1521
1292
|
namespace: "dynamic",
|
|
1522
|
-
path: `${
|
|
1293
|
+
path: `${wowBasePath}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`
|
|
1523
1294
|
};
|
|
1524
1295
|
}
|
|
1525
1296
|
/**
|
|
@@ -1529,7 +1300,7 @@ function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
|
|
|
1529
1300
|
function mythicKeystoneDungeonIndex() {
|
|
1530
1301
|
return {
|
|
1531
1302
|
namespace: "dynamic",
|
|
1532
|
-
path: `${
|
|
1303
|
+
path: `${wowBasePath}/mythic-keystone/dungeon/index`
|
|
1533
1304
|
};
|
|
1534
1305
|
}
|
|
1535
1306
|
/**
|
|
@@ -1539,7 +1310,7 @@ function mythicKeystoneDungeonIndex() {
|
|
|
1539
1310
|
function mythicKeystoneIndex() {
|
|
1540
1311
|
return {
|
|
1541
1312
|
namespace: "dynamic",
|
|
1542
|
-
path: `${
|
|
1313
|
+
path: `${wowBasePath}/mythic-keystone/index`
|
|
1543
1314
|
};
|
|
1544
1315
|
}
|
|
1545
1316
|
/**
|
|
@@ -1550,7 +1321,7 @@ function mythicKeystoneIndex() {
|
|
|
1550
1321
|
function mythicKeystonePeriod(mythicKeystonePeriodId) {
|
|
1551
1322
|
return {
|
|
1552
1323
|
namespace: "dynamic",
|
|
1553
|
-
path: `${
|
|
1324
|
+
path: `${wowBasePath}/mythic-keystone/period/${mythicKeystonePeriodId}`
|
|
1554
1325
|
};
|
|
1555
1326
|
}
|
|
1556
1327
|
/**
|
|
@@ -1560,7 +1331,7 @@ function mythicKeystonePeriod(mythicKeystonePeriodId) {
|
|
|
1560
1331
|
function mythicKeystonePeriodIndex() {
|
|
1561
1332
|
return {
|
|
1562
1333
|
namespace: "dynamic",
|
|
1563
|
-
path: `${
|
|
1334
|
+
path: `${wowBasePath}/mythic-keystone/period/index`
|
|
1564
1335
|
};
|
|
1565
1336
|
}
|
|
1566
1337
|
/**
|
|
@@ -1571,7 +1342,7 @@ function mythicKeystonePeriodIndex() {
|
|
|
1571
1342
|
function mythicKeystoneSeason(mythicKeystoneSeasonId) {
|
|
1572
1343
|
return {
|
|
1573
1344
|
namespace: "dynamic",
|
|
1574
|
-
path: `${
|
|
1345
|
+
path: `${wowBasePath}/mythic-keystone/season/${mythicKeystoneSeasonId}`
|
|
1575
1346
|
};
|
|
1576
1347
|
}
|
|
1577
1348
|
/**
|
|
@@ -1581,7 +1352,7 @@ function mythicKeystoneSeason(mythicKeystoneSeasonId) {
|
|
|
1581
1352
|
function mythicKeystoneSeasonIndex() {
|
|
1582
1353
|
return {
|
|
1583
1354
|
namespace: "dynamic",
|
|
1584
|
-
path: `${
|
|
1355
|
+
path: `${wowBasePath}/mythic-keystone/season/index`
|
|
1585
1356
|
};
|
|
1586
1357
|
}
|
|
1587
1358
|
|
|
@@ -1597,7 +1368,7 @@ function mythicKeystoneSeasonIndex() {
|
|
|
1597
1368
|
function mythicKeystoneLeaderboard(connectedRealmId, dungeonId, period) {
|
|
1598
1369
|
return {
|
|
1599
1370
|
namespace: "dynamic",
|
|
1600
|
-
path: `${
|
|
1371
|
+
path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`
|
|
1601
1372
|
};
|
|
1602
1373
|
}
|
|
1603
1374
|
/**
|
|
@@ -1608,7 +1379,7 @@ function mythicKeystoneLeaderboard(connectedRealmId, dungeonId, period) {
|
|
|
1608
1379
|
function mythicKeystoneLeaderboardIndex(connectedRealmId) {
|
|
1609
1380
|
return {
|
|
1610
1381
|
namespace: "dynamic",
|
|
1611
|
-
path: `${
|
|
1382
|
+
path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`
|
|
1612
1383
|
};
|
|
1613
1384
|
}
|
|
1614
1385
|
|
|
@@ -1623,7 +1394,7 @@ function mythicKeystoneLeaderboardIndex(connectedRealmId) {
|
|
|
1623
1394
|
function mythicRaidLeaderboard(raid, faction) {
|
|
1624
1395
|
return {
|
|
1625
1396
|
namespace: "dynamic",
|
|
1626
|
-
path: `${
|
|
1397
|
+
path: `${wowBasePath}/leaderboard/hall-of-fame/${raid}/${faction}`
|
|
1627
1398
|
};
|
|
1628
1399
|
}
|
|
1629
1400
|
|
|
@@ -1637,7 +1408,7 @@ function mythicRaidLeaderboard(raid, faction) {
|
|
|
1637
1408
|
function pet(petId) {
|
|
1638
1409
|
return {
|
|
1639
1410
|
namespace: "static",
|
|
1640
|
-
path: `${
|
|
1411
|
+
path: `${wowBasePath}/pet/${petId}`
|
|
1641
1412
|
};
|
|
1642
1413
|
}
|
|
1643
1414
|
/**
|
|
@@ -1648,7 +1419,7 @@ function pet(petId) {
|
|
|
1648
1419
|
function petAbility(petAbilityId) {
|
|
1649
1420
|
return {
|
|
1650
1421
|
namespace: "static",
|
|
1651
|
-
path: `${
|
|
1422
|
+
path: `${wowBasePath}/pet-ability/${petAbilityId}`
|
|
1652
1423
|
};
|
|
1653
1424
|
}
|
|
1654
1425
|
/**
|
|
@@ -1658,7 +1429,7 @@ function petAbility(petAbilityId) {
|
|
|
1658
1429
|
function petAbilityIndex() {
|
|
1659
1430
|
return {
|
|
1660
1431
|
namespace: "static",
|
|
1661
|
-
path: `${
|
|
1432
|
+
path: `${wowBasePath}/pet-ability/index`
|
|
1662
1433
|
};
|
|
1663
1434
|
}
|
|
1664
1435
|
/**
|
|
@@ -1669,7 +1440,7 @@ function petAbilityIndex() {
|
|
|
1669
1440
|
function petAbilityMedia(petAbilityId) {
|
|
1670
1441
|
return {
|
|
1671
1442
|
namespace: "static",
|
|
1672
|
-
path: `${
|
|
1443
|
+
path: `${wowMediaBasePath}/pet-ability/${petAbilityId}`
|
|
1673
1444
|
};
|
|
1674
1445
|
}
|
|
1675
1446
|
/**
|
|
@@ -1679,7 +1450,7 @@ function petAbilityMedia(petAbilityId) {
|
|
|
1679
1450
|
function petIndex() {
|
|
1680
1451
|
return {
|
|
1681
1452
|
namespace: "static",
|
|
1682
|
-
path: `${
|
|
1453
|
+
path: `${wowBasePath}/pet/index`
|
|
1683
1454
|
};
|
|
1684
1455
|
}
|
|
1685
1456
|
/**
|
|
@@ -1690,7 +1461,7 @@ function petIndex() {
|
|
|
1690
1461
|
function petMedia(petId) {
|
|
1691
1462
|
return {
|
|
1692
1463
|
namespace: "static",
|
|
1693
|
-
path: `${
|
|
1464
|
+
path: `${wowMediaBasePath}/pet/${petId}`
|
|
1694
1465
|
};
|
|
1695
1466
|
}
|
|
1696
1467
|
|
|
@@ -1704,7 +1475,7 @@ function petMedia(petId) {
|
|
|
1704
1475
|
function playableClass(playableClassId) {
|
|
1705
1476
|
return {
|
|
1706
1477
|
namespace: "static",
|
|
1707
|
-
path: `${
|
|
1478
|
+
path: `${wowBasePath}/playable-class/${playableClassId}`
|
|
1708
1479
|
};
|
|
1709
1480
|
}
|
|
1710
1481
|
/**
|
|
@@ -1714,7 +1485,7 @@ function playableClass(playableClassId) {
|
|
|
1714
1485
|
function playableClassIndex() {
|
|
1715
1486
|
return {
|
|
1716
1487
|
namespace: "static",
|
|
1717
|
-
path: `${
|
|
1488
|
+
path: `${wowBasePath}/playable-class/index`
|
|
1718
1489
|
};
|
|
1719
1490
|
}
|
|
1720
1491
|
/**
|
|
@@ -1725,7 +1496,7 @@ function playableClassIndex() {
|
|
|
1725
1496
|
function playableClassMedia(playableClassId) {
|
|
1726
1497
|
return {
|
|
1727
1498
|
namespace: "static",
|
|
1728
|
-
path: `${
|
|
1499
|
+
path: `${wowMediaBasePath}/playable-class/${playableClassId}`
|
|
1729
1500
|
};
|
|
1730
1501
|
}
|
|
1731
1502
|
/**
|
|
@@ -1736,7 +1507,7 @@ function playableClassMedia(playableClassId) {
|
|
|
1736
1507
|
function pvpTalentSlots(playableClassId) {
|
|
1737
1508
|
return {
|
|
1738
1509
|
namespace: "static",
|
|
1739
|
-
path: `${
|
|
1510
|
+
path: `${wowBasePath}/playable-class/${playableClassId}/pvp-talent-slots`
|
|
1740
1511
|
};
|
|
1741
1512
|
}
|
|
1742
1513
|
|
|
@@ -1750,7 +1521,7 @@ function pvpTalentSlots(playableClassId) {
|
|
|
1750
1521
|
function playableRace(playableRaceId) {
|
|
1751
1522
|
return {
|
|
1752
1523
|
namespace: "static",
|
|
1753
|
-
path: `${
|
|
1524
|
+
path: `${wowBasePath}/playable-race/${playableRaceId}`
|
|
1754
1525
|
};
|
|
1755
1526
|
}
|
|
1756
1527
|
/**
|
|
@@ -1760,7 +1531,7 @@ function playableRace(playableRaceId) {
|
|
|
1760
1531
|
function playableRaceIndex() {
|
|
1761
1532
|
return {
|
|
1762
1533
|
namespace: "static",
|
|
1763
|
-
path: `${
|
|
1534
|
+
path: `${wowBasePath}/playable-race/index`
|
|
1764
1535
|
};
|
|
1765
1536
|
}
|
|
1766
1537
|
|
|
@@ -1774,7 +1545,7 @@ function playableRaceIndex() {
|
|
|
1774
1545
|
function playableSpecialization(specializationId) {
|
|
1775
1546
|
return {
|
|
1776
1547
|
namespace: "static",
|
|
1777
|
-
path: `${
|
|
1548
|
+
path: `${wowBasePath}/playable-specialization/${specializationId}`
|
|
1778
1549
|
};
|
|
1779
1550
|
}
|
|
1780
1551
|
/**
|
|
@@ -1784,7 +1555,7 @@ function playableSpecialization(specializationId) {
|
|
|
1784
1555
|
function playableSpecializationIndex() {
|
|
1785
1556
|
return {
|
|
1786
1557
|
namespace: "static",
|
|
1787
|
-
path: `${
|
|
1558
|
+
path: `${wowBasePath}/playable-specialization/index`
|
|
1788
1559
|
};
|
|
1789
1560
|
}
|
|
1790
1561
|
/**
|
|
@@ -1795,7 +1566,7 @@ function playableSpecializationIndex() {
|
|
|
1795
1566
|
function playableSpecializationMedia(specializationId) {
|
|
1796
1567
|
return {
|
|
1797
1568
|
namespace: "static",
|
|
1798
|
-
path: `${
|
|
1569
|
+
path: `${wowMediaBasePath}/playable-specialization/${specializationId}`
|
|
1799
1570
|
};
|
|
1800
1571
|
}
|
|
1801
1572
|
|
|
@@ -1809,7 +1580,7 @@ function playableSpecializationMedia(specializationId) {
|
|
|
1809
1580
|
function powerType(powerTypeId) {
|
|
1810
1581
|
return {
|
|
1811
1582
|
namespace: "static",
|
|
1812
|
-
path: `${
|
|
1583
|
+
path: `${wowBasePath}/power-type/${powerTypeId}`
|
|
1813
1584
|
};
|
|
1814
1585
|
}
|
|
1815
1586
|
/**
|
|
@@ -1819,7 +1590,7 @@ function powerType(powerTypeId) {
|
|
|
1819
1590
|
function powerTypeIndex() {
|
|
1820
1591
|
return {
|
|
1821
1592
|
namespace: "static",
|
|
1822
|
-
path: `${
|
|
1593
|
+
path: `${wowBasePath}/power-type/index`
|
|
1823
1594
|
};
|
|
1824
1595
|
}
|
|
1825
1596
|
|
|
@@ -1833,7 +1604,7 @@ function powerTypeIndex() {
|
|
|
1833
1604
|
function profession(professionId) {
|
|
1834
1605
|
return {
|
|
1835
1606
|
namespace: "static",
|
|
1836
|
-
path: `${
|
|
1607
|
+
path: `${wowBasePath}/profession/${professionId}`
|
|
1837
1608
|
};
|
|
1838
1609
|
}
|
|
1839
1610
|
/**
|
|
@@ -1843,7 +1614,7 @@ function profession(professionId) {
|
|
|
1843
1614
|
function professionIndex() {
|
|
1844
1615
|
return {
|
|
1845
1616
|
namespace: "static",
|
|
1846
|
-
path: `${
|
|
1617
|
+
path: `${wowBasePath}/profession/index`
|
|
1847
1618
|
};
|
|
1848
1619
|
}
|
|
1849
1620
|
/**
|
|
@@ -1854,7 +1625,7 @@ function professionIndex() {
|
|
|
1854
1625
|
function professionMedia(professionId) {
|
|
1855
1626
|
return {
|
|
1856
1627
|
namespace: "static",
|
|
1857
|
-
path: `${
|
|
1628
|
+
path: `${wowMediaBasePath}/profession/${professionId}`
|
|
1858
1629
|
};
|
|
1859
1630
|
}
|
|
1860
1631
|
/**
|
|
@@ -1866,7 +1637,7 @@ function professionMedia(professionId) {
|
|
|
1866
1637
|
function professionSkillTier(professionId, skillTierId) {
|
|
1867
1638
|
return {
|
|
1868
1639
|
namespace: "static",
|
|
1869
|
-
path: `${
|
|
1640
|
+
path: `${wowBasePath}/profession/${professionId}/skill-tier/${skillTierId}`
|
|
1870
1641
|
};
|
|
1871
1642
|
}
|
|
1872
1643
|
/**
|
|
@@ -1877,7 +1648,7 @@ function professionSkillTier(professionId, skillTierId) {
|
|
|
1877
1648
|
function recipe(recipeId) {
|
|
1878
1649
|
return {
|
|
1879
1650
|
namespace: "static",
|
|
1880
|
-
path: `${
|
|
1651
|
+
path: `${wowBasePath}/recipe/${recipeId}`
|
|
1881
1652
|
};
|
|
1882
1653
|
}
|
|
1883
1654
|
/**
|
|
@@ -1888,7 +1659,7 @@ function recipe(recipeId) {
|
|
|
1888
1659
|
function recipeMedia(recipeId) {
|
|
1889
1660
|
return {
|
|
1890
1661
|
namespace: "static",
|
|
1891
|
-
path: `${
|
|
1662
|
+
path: `${wowMediaBasePath}/recipe/${recipeId}`
|
|
1892
1663
|
};
|
|
1893
1664
|
}
|
|
1894
1665
|
|
|
@@ -1903,7 +1674,7 @@ function recipeMedia(recipeId) {
|
|
|
1903
1674
|
function pvpLeaderboard(pvpSeasonId, bracket) {
|
|
1904
1675
|
return {
|
|
1905
1676
|
namespace: "dynamic",
|
|
1906
|
-
path: `${
|
|
1677
|
+
path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`
|
|
1907
1678
|
};
|
|
1908
1679
|
}
|
|
1909
1680
|
/**
|
|
@@ -1914,7 +1685,7 @@ function pvpLeaderboard(pvpSeasonId, bracket) {
|
|
|
1914
1685
|
function pvpLeaderboardIndex(pvpSeasonId) {
|
|
1915
1686
|
return {
|
|
1916
1687
|
namespace: "dynamic",
|
|
1917
|
-
path: `${
|
|
1688
|
+
path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`
|
|
1918
1689
|
};
|
|
1919
1690
|
}
|
|
1920
1691
|
/**
|
|
@@ -1925,7 +1696,7 @@ function pvpLeaderboardIndex(pvpSeasonId) {
|
|
|
1925
1696
|
function pvpRewardsIndex(pvpSeasonId) {
|
|
1926
1697
|
return {
|
|
1927
1698
|
namespace: "dynamic",
|
|
1928
|
-
path: `${
|
|
1699
|
+
path: `${wowBasePath}/pvp-season/${pvpSeasonId}/pvp-reward/index`
|
|
1929
1700
|
};
|
|
1930
1701
|
}
|
|
1931
1702
|
/**
|
|
@@ -1936,7 +1707,7 @@ function pvpRewardsIndex(pvpSeasonId) {
|
|
|
1936
1707
|
function pvpSeason(pvpSeasonId) {
|
|
1937
1708
|
return {
|
|
1938
1709
|
namespace: "dynamic",
|
|
1939
|
-
path: `${
|
|
1710
|
+
path: `${wowBasePath}/pvp-season/${pvpSeasonId}`
|
|
1940
1711
|
};
|
|
1941
1712
|
}
|
|
1942
1713
|
/**
|
|
@@ -1946,7 +1717,7 @@ function pvpSeason(pvpSeasonId) {
|
|
|
1946
1717
|
function pvpSeasonIndex() {
|
|
1947
1718
|
return {
|
|
1948
1719
|
namespace: "dynamic",
|
|
1949
|
-
path: `${
|
|
1720
|
+
path: `${wowBasePath}/pvp-season/index`
|
|
1950
1721
|
};
|
|
1951
1722
|
}
|
|
1952
1723
|
|
|
@@ -1960,7 +1731,7 @@ function pvpSeasonIndex() {
|
|
|
1960
1731
|
function pvpTier(pvpTierId) {
|
|
1961
1732
|
return {
|
|
1962
1733
|
namespace: "static",
|
|
1963
|
-
path: `${
|
|
1734
|
+
path: `${wowBasePath}/pvp-tier/${pvpTierId}`
|
|
1964
1735
|
};
|
|
1965
1736
|
}
|
|
1966
1737
|
/**
|
|
@@ -1970,7 +1741,7 @@ function pvpTier(pvpTierId) {
|
|
|
1970
1741
|
function pvpTierIndex() {
|
|
1971
1742
|
return {
|
|
1972
1743
|
namespace: "static",
|
|
1973
|
-
path: `${
|
|
1744
|
+
path: `${wowBasePath}/pvp-tier/index`
|
|
1974
1745
|
};
|
|
1975
1746
|
}
|
|
1976
1747
|
/**
|
|
@@ -1981,7 +1752,7 @@ function pvpTierIndex() {
|
|
|
1981
1752
|
function pvpTierMedia(pvpTierId) {
|
|
1982
1753
|
return {
|
|
1983
1754
|
namespace: "static",
|
|
1984
|
-
path: `${
|
|
1755
|
+
path: `${wowMediaBasePath}/pvp-tier/${pvpTierId}`
|
|
1985
1756
|
};
|
|
1986
1757
|
}
|
|
1987
1758
|
|
|
@@ -1995,7 +1766,7 @@ function pvpTierMedia(pvpTierId) {
|
|
|
1995
1766
|
function quest(questId) {
|
|
1996
1767
|
return {
|
|
1997
1768
|
namespace: "static",
|
|
1998
|
-
path: `${
|
|
1769
|
+
path: `${wowBasePath}/quest/${questId}`
|
|
1999
1770
|
};
|
|
2000
1771
|
}
|
|
2001
1772
|
/**
|
|
@@ -2006,7 +1777,7 @@ function quest(questId) {
|
|
|
2006
1777
|
function questArea(questAreaId) {
|
|
2007
1778
|
return {
|
|
2008
1779
|
namespace: "static",
|
|
2009
|
-
path: `${
|
|
1780
|
+
path: `${wowBasePath}/quest/area/${questAreaId}`
|
|
2010
1781
|
};
|
|
2011
1782
|
}
|
|
2012
1783
|
/**
|
|
@@ -2016,7 +1787,7 @@ function questArea(questAreaId) {
|
|
|
2016
1787
|
function questAreaIndex() {
|
|
2017
1788
|
return {
|
|
2018
1789
|
namespace: "static",
|
|
2019
|
-
path: `${
|
|
1790
|
+
path: `${wowBasePath}/quest/area/index`
|
|
2020
1791
|
};
|
|
2021
1792
|
}
|
|
2022
1793
|
/**
|
|
@@ -2027,7 +1798,7 @@ function questAreaIndex() {
|
|
|
2027
1798
|
function questCategory(questCategoryId) {
|
|
2028
1799
|
return {
|
|
2029
1800
|
namespace: "static",
|
|
2030
|
-
path: `${
|
|
1801
|
+
path: `${wowBasePath}/quest/category/${questCategoryId}`
|
|
2031
1802
|
};
|
|
2032
1803
|
}
|
|
2033
1804
|
/**
|
|
@@ -2037,7 +1808,7 @@ function questCategory(questCategoryId) {
|
|
|
2037
1808
|
function questCategoryIndex() {
|
|
2038
1809
|
return {
|
|
2039
1810
|
namespace: "static",
|
|
2040
|
-
path: `${
|
|
1811
|
+
path: `${wowBasePath}/quest/category/index`
|
|
2041
1812
|
};
|
|
2042
1813
|
}
|
|
2043
1814
|
/**
|
|
@@ -2047,7 +1818,7 @@ function questCategoryIndex() {
|
|
|
2047
1818
|
function questIndex() {
|
|
2048
1819
|
return {
|
|
2049
1820
|
namespace: "static",
|
|
2050
|
-
path: `${
|
|
1821
|
+
path: `${wowBasePath}/quest/index`
|
|
2051
1822
|
};
|
|
2052
1823
|
}
|
|
2053
1824
|
/**
|
|
@@ -2058,7 +1829,7 @@ function questIndex() {
|
|
|
2058
1829
|
function questType(questTypeId) {
|
|
2059
1830
|
return {
|
|
2060
1831
|
namespace: "static",
|
|
2061
|
-
path: `${
|
|
1832
|
+
path: `${wowBasePath}/quest/type/${questTypeId}`
|
|
2062
1833
|
};
|
|
2063
1834
|
}
|
|
2064
1835
|
/**
|
|
@@ -2068,7 +1839,7 @@ function questType(questTypeId) {
|
|
|
2068
1839
|
function questTypeIndex() {
|
|
2069
1840
|
return {
|
|
2070
1841
|
namespace: "static",
|
|
2071
|
-
path: `${
|
|
1842
|
+
path: `${wowBasePath}/quest/type/index`
|
|
2072
1843
|
};
|
|
2073
1844
|
}
|
|
2074
1845
|
|
|
@@ -2082,7 +1853,7 @@ function questTypeIndex() {
|
|
|
2082
1853
|
function realm(realmSlug) {
|
|
2083
1854
|
return {
|
|
2084
1855
|
namespace: "dynamic",
|
|
2085
|
-
path: `${
|
|
1856
|
+
path: `${wowBasePath}/realm/${realmSlug}`
|
|
2086
1857
|
};
|
|
2087
1858
|
}
|
|
2088
1859
|
/**
|
|
@@ -2092,13 +1863,13 @@ function realm(realmSlug) {
|
|
|
2092
1863
|
function realmIndex() {
|
|
2093
1864
|
return {
|
|
2094
1865
|
namespace: "dynamic",
|
|
2095
|
-
path: `${
|
|
1866
|
+
path: `${wowBasePath}/realm/index`
|
|
2096
1867
|
};
|
|
2097
1868
|
}
|
|
2098
1869
|
/**
|
|
2099
1870
|
* Search for realms.
|
|
2100
1871
|
* @param options The search parameters. See {@link RealmSearchParameters}.
|
|
2101
|
-
* @returns The search results. See {@link
|
|
1872
|
+
* @returns The search results. See {@link RealmSearchResponse}.
|
|
2102
1873
|
*/
|
|
2103
1874
|
function realmSearch(options) {
|
|
2104
1875
|
return {
|
|
@@ -2108,7 +1879,7 @@ function realmSearch(options) {
|
|
|
2108
1879
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
2109
1880
|
timezone: options.timezone
|
|
2110
1881
|
},
|
|
2111
|
-
path: `${
|
|
1882
|
+
path: `${wowSearchBasePath}/realm`
|
|
2112
1883
|
};
|
|
2113
1884
|
}
|
|
2114
1885
|
|
|
@@ -2122,7 +1893,7 @@ function realmSearch(options) {
|
|
|
2122
1893
|
function region(regionId) {
|
|
2123
1894
|
return {
|
|
2124
1895
|
namespace: "dynamic",
|
|
2125
|
-
path: `${
|
|
1896
|
+
path: `${wowBasePath}/region/${regionId}`
|
|
2126
1897
|
};
|
|
2127
1898
|
}
|
|
2128
1899
|
/**
|
|
@@ -2132,7 +1903,7 @@ function region(regionId) {
|
|
|
2132
1903
|
function regionIndex() {
|
|
2133
1904
|
return {
|
|
2134
1905
|
namespace: "dynamic",
|
|
2135
|
-
path: `${
|
|
1906
|
+
path: `${wowBasePath}/region/index`
|
|
2136
1907
|
};
|
|
2137
1908
|
}
|
|
2138
1909
|
|
|
@@ -2146,7 +1917,7 @@ function regionIndex() {
|
|
|
2146
1917
|
function reputationFaction(reputationFactionId) {
|
|
2147
1918
|
return {
|
|
2148
1919
|
namespace: "static",
|
|
2149
|
-
path: `${
|
|
1920
|
+
path: `${wowBasePath}/reputation-faction/${reputationFactionId}`
|
|
2150
1921
|
};
|
|
2151
1922
|
}
|
|
2152
1923
|
/**
|
|
@@ -2156,7 +1927,7 @@ function reputationFaction(reputationFactionId) {
|
|
|
2156
1927
|
function reputationFactionIndex() {
|
|
2157
1928
|
return {
|
|
2158
1929
|
namespace: "static",
|
|
2159
|
-
path: `${
|
|
1930
|
+
path: `${wowBasePath}/reputation-faction/index`
|
|
2160
1931
|
};
|
|
2161
1932
|
}
|
|
2162
1933
|
/**
|
|
@@ -2167,7 +1938,7 @@ function reputationFactionIndex() {
|
|
|
2167
1938
|
function reputationTiers(reputationTiersId) {
|
|
2168
1939
|
return {
|
|
2169
1940
|
namespace: "static",
|
|
2170
|
-
path: `${
|
|
1941
|
+
path: `${wowBasePath}/reputation-tiers/${reputationTiersId}`
|
|
2171
1942
|
};
|
|
2172
1943
|
}
|
|
2173
1944
|
/**
|
|
@@ -2177,7 +1948,7 @@ function reputationTiers(reputationTiersId) {
|
|
|
2177
1948
|
function reputationTiersIndex() {
|
|
2178
1949
|
return {
|
|
2179
1950
|
namespace: "static",
|
|
2180
|
-
path: `${
|
|
1951
|
+
path: `${wowBasePath}/reputation-tiers/index`
|
|
2181
1952
|
};
|
|
2182
1953
|
}
|
|
2183
1954
|
|
|
@@ -2191,7 +1962,7 @@ function reputationTiersIndex() {
|
|
|
2191
1962
|
function spell(spellId) {
|
|
2192
1963
|
return {
|
|
2193
1964
|
namespace: "static",
|
|
2194
|
-
path: `${
|
|
1965
|
+
path: `${wowBasePath}/spell/${spellId}`
|
|
2195
1966
|
};
|
|
2196
1967
|
}
|
|
2197
1968
|
/**
|
|
@@ -2202,13 +1973,13 @@ function spell(spellId) {
|
|
|
2202
1973
|
function spellMedia(spellId) {
|
|
2203
1974
|
return {
|
|
2204
1975
|
namespace: "static",
|
|
2205
|
-
path: `${
|
|
1976
|
+
path: `${wowMediaBasePath}/spell/${spellId}`
|
|
2206
1977
|
};
|
|
2207
1978
|
}
|
|
2208
1979
|
/**
|
|
2209
1980
|
* Get a spell search.
|
|
2210
1981
|
* @param options The spell search options. See {@link SpellSearchParameters}.
|
|
2211
|
-
* @returns The spell search. See {@link
|
|
1982
|
+
* @returns The spell search. See {@link SpellSearchResponse}.
|
|
2212
1983
|
*/
|
|
2213
1984
|
function spellSearch(options) {
|
|
2214
1985
|
return {
|
|
@@ -2218,7 +1989,7 @@ function spellSearch(options) {
|
|
|
2218
1989
|
[`name.${options.locale}`]: options.name,
|
|
2219
1990
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
2220
1991
|
},
|
|
2221
|
-
path: `${
|
|
1992
|
+
path: `${wowSearchBasePath}/spell`
|
|
2222
1993
|
};
|
|
2223
1994
|
}
|
|
2224
1995
|
|
|
@@ -2232,7 +2003,7 @@ function spellSearch(options) {
|
|
|
2232
2003
|
function pvpTalent(pvpTalentId) {
|
|
2233
2004
|
return {
|
|
2234
2005
|
namespace: "static",
|
|
2235
|
-
path: `${
|
|
2006
|
+
path: `${wowBasePath}/pvp-talent/${pvpTalentId}`
|
|
2236
2007
|
};
|
|
2237
2008
|
}
|
|
2238
2009
|
/**
|
|
@@ -2242,7 +2013,7 @@ function pvpTalent(pvpTalentId) {
|
|
|
2242
2013
|
function pvpTalentIndex() {
|
|
2243
2014
|
return {
|
|
2244
2015
|
namespace: "static",
|
|
2245
|
-
path: `${
|
|
2016
|
+
path: `${wowBasePath}/pvp-talent/index`
|
|
2246
2017
|
};
|
|
2247
2018
|
}
|
|
2248
2019
|
/**
|
|
@@ -2253,7 +2024,7 @@ function pvpTalentIndex() {
|
|
|
2253
2024
|
function talent(talentId) {
|
|
2254
2025
|
return {
|
|
2255
2026
|
namespace: "static",
|
|
2256
|
-
path: `${
|
|
2027
|
+
path: `${wowBasePath}/talent/${talentId}`
|
|
2257
2028
|
};
|
|
2258
2029
|
}
|
|
2259
2030
|
/**
|
|
@@ -2263,7 +2034,7 @@ function talent(talentId) {
|
|
|
2263
2034
|
function talentIndex() {
|
|
2264
2035
|
return {
|
|
2265
2036
|
namespace: "static",
|
|
2266
|
-
path: `${
|
|
2037
|
+
path: `${wowBasePath}/talent/index`
|
|
2267
2038
|
};
|
|
2268
2039
|
}
|
|
2269
2040
|
/**
|
|
@@ -2275,7 +2046,7 @@ function talentIndex() {
|
|
|
2275
2046
|
function talentTree(talentTreeId, specId) {
|
|
2276
2047
|
return {
|
|
2277
2048
|
namespace: "static",
|
|
2278
|
-
path: `${
|
|
2049
|
+
path: `${wowBasePath}/talent-tree/${talentTreeId}/playable-specialization/${specId}`
|
|
2279
2050
|
};
|
|
2280
2051
|
}
|
|
2281
2052
|
/**
|
|
@@ -2285,7 +2056,7 @@ function talentTree(talentTreeId, specId) {
|
|
|
2285
2056
|
function talentTreeIndex() {
|
|
2286
2057
|
return {
|
|
2287
2058
|
namespace: "static",
|
|
2288
|
-
path: `${
|
|
2059
|
+
path: `${wowBasePath}/talent-tree/index`
|
|
2289
2060
|
};
|
|
2290
2061
|
}
|
|
2291
2062
|
/**
|
|
@@ -2296,7 +2067,7 @@ function talentTreeIndex() {
|
|
|
2296
2067
|
function talentTreeNodes(talentTreeId) {
|
|
2297
2068
|
return {
|
|
2298
2069
|
namespace: "static",
|
|
2299
|
-
path: `${
|
|
2070
|
+
path: `${wowBasePath}/talent-tree/${talentTreeId}`
|
|
2300
2071
|
};
|
|
2301
2072
|
}
|
|
2302
2073
|
|
|
@@ -2310,7 +2081,7 @@ function talentTreeNodes(talentTreeId) {
|
|
|
2310
2081
|
function techTalent(techTalentId) {
|
|
2311
2082
|
return {
|
|
2312
2083
|
namespace: "static",
|
|
2313
|
-
path: `${
|
|
2084
|
+
path: `${wowBasePath}/tech-talent/${techTalentId}`
|
|
2314
2085
|
};
|
|
2315
2086
|
}
|
|
2316
2087
|
/**
|
|
@@ -2320,7 +2091,7 @@ function techTalent(techTalentId) {
|
|
|
2320
2091
|
function techTalentIndex() {
|
|
2321
2092
|
return {
|
|
2322
2093
|
namespace: "static",
|
|
2323
|
-
path: `${
|
|
2094
|
+
path: `${wowBasePath}/tech-talent/index`
|
|
2324
2095
|
};
|
|
2325
2096
|
}
|
|
2326
2097
|
/**
|
|
@@ -2331,7 +2102,7 @@ function techTalentIndex() {
|
|
|
2331
2102
|
function techTalentMedia(techTalentId) {
|
|
2332
2103
|
return {
|
|
2333
2104
|
namespace: "static",
|
|
2334
|
-
path: `${
|
|
2105
|
+
path: `${wowMediaBasePath}/tech-talent/${techTalentId}`
|
|
2335
2106
|
};
|
|
2336
2107
|
}
|
|
2337
2108
|
/**
|
|
@@ -2342,7 +2113,7 @@ function techTalentMedia(techTalentId) {
|
|
|
2342
2113
|
function techTalentTree(techTalentTreeId) {
|
|
2343
2114
|
return {
|
|
2344
2115
|
namespace: "static",
|
|
2345
|
-
path: `${
|
|
2116
|
+
path: `${wowBasePath}/tech-talent-tree/${techTalentTreeId}`
|
|
2346
2117
|
};
|
|
2347
2118
|
}
|
|
2348
2119
|
/**
|
|
@@ -2352,7 +2123,7 @@ function techTalentTree(techTalentTreeId) {
|
|
|
2352
2123
|
function techTalentTreeIndex() {
|
|
2353
2124
|
return {
|
|
2354
2125
|
namespace: "static",
|
|
2355
|
-
path: `${
|
|
2126
|
+
path: `${wowBasePath}/tech-talent-tree/index`
|
|
2356
2127
|
};
|
|
2357
2128
|
}
|
|
2358
2129
|
|
|
@@ -2366,7 +2137,7 @@ function techTalentTreeIndex() {
|
|
|
2366
2137
|
function title(titleId) {
|
|
2367
2138
|
return {
|
|
2368
2139
|
namespace: "static",
|
|
2369
|
-
path: `${
|
|
2140
|
+
path: `${wowBasePath}/title/${titleId}`
|
|
2370
2141
|
};
|
|
2371
2142
|
}
|
|
2372
2143
|
/**
|
|
@@ -2376,7 +2147,7 @@ function title(titleId) {
|
|
|
2376
2147
|
function titleIndex() {
|
|
2377
2148
|
return {
|
|
2378
2149
|
namespace: "static",
|
|
2379
|
-
path: `${
|
|
2150
|
+
path: `${wowBasePath}/title/index`
|
|
2380
2151
|
};
|
|
2381
2152
|
}
|
|
2382
2153
|
|
|
@@ -2390,7 +2161,7 @@ function titleIndex() {
|
|
|
2390
2161
|
function toy(toyId) {
|
|
2391
2162
|
return {
|
|
2392
2163
|
namespace: "static",
|
|
2393
|
-
path: `${
|
|
2164
|
+
path: `${wowBasePath}/toy/${toyId}`
|
|
2394
2165
|
};
|
|
2395
2166
|
}
|
|
2396
2167
|
/**
|
|
@@ -2400,7 +2171,7 @@ function toy(toyId) {
|
|
|
2400
2171
|
function toyIndex() {
|
|
2401
2172
|
return {
|
|
2402
2173
|
namespace: "static",
|
|
2403
|
-
path: `${
|
|
2174
|
+
path: `${wowBasePath}/toy/index`
|
|
2404
2175
|
};
|
|
2405
2176
|
}
|
|
2406
2177
|
|
|
@@ -2413,18 +2184,15 @@ function toyIndex() {
|
|
|
2413
2184
|
function wowToken() {
|
|
2414
2185
|
return {
|
|
2415
2186
|
namespace: "dynamic",
|
|
2416
|
-
path: `${
|
|
2187
|
+
path: `${wowBasePath}/token/index`
|
|
2417
2188
|
};
|
|
2418
2189
|
}
|
|
2419
2190
|
|
|
2420
2191
|
//#endregion
|
|
2421
2192
|
//#region src/index.ts
|
|
2422
2193
|
/**
|
|
2423
|
-
|
|
2424
2194
|
* The Blizzard API for World of Warcraft.
|
|
2425
|
-
|
|
2426
2195
|
* @see https://develop.battle.net/documentation/world-of-warcraft
|
|
2427
|
-
|
|
2428
2196
|
*/
|
|
2429
2197
|
const wow = {
|
|
2430
2198
|
accountCollectionsIndex,
|
|
@@ -2608,8 +2376,7 @@ const wow = {
|
|
|
2608
2376
|
toyIndex,
|
|
2609
2377
|
wowToken
|
|
2610
2378
|
};
|
|
2611
|
-
var src_default = wow;
|
|
2612
2379
|
|
|
2613
2380
|
//#endregion
|
|
2614
|
-
export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpBracketStatistics, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex,
|
|
2381
|
+
export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpBracketStatistics, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, wow as default, wow, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, protectedCharacterProfileSummary, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wowToken };
|
|
2615
2382
|
//# sourceMappingURL=index.js.map
|