@blizzard-api/wow 0.2.4 → 1.1.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 +10 -0
- package/dist/index.cjs +1336 -1641
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +970 -843
- package/dist/index.d.ts +970 -843
- package/dist/index.js +1195 -1640
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6,1718 +6,1273 @@ var searchBase = `${base}/search`;
|
|
|
6
6
|
// src/achievements/achievements.ts
|
|
7
7
|
var achievementBase = `${base}/achievement`;
|
|
8
8
|
var achievementCategoryBase = `${base}/achievement-category`;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
achievement: (achievementId) => {
|
|
37
|
-
return {
|
|
38
|
-
path: `${achievementBase}/${achievementId}`,
|
|
39
|
-
namespace: "static"
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
/**
|
|
43
|
-
* Get an achievement index.
|
|
44
|
-
* @returns The achievement index. See {@link AchievementIndexResponse}.
|
|
45
|
-
*/
|
|
46
|
-
achievementIndex: () => {
|
|
47
|
-
return {
|
|
48
|
-
path: `${achievementBase}/index`,
|
|
49
|
-
namespace: "static"
|
|
50
|
-
};
|
|
51
|
-
},
|
|
52
|
-
/**
|
|
53
|
-
* Get achievement media by ID.
|
|
54
|
-
* @param achievementId The achievement ID.
|
|
55
|
-
* @returns The achievement media. See {@link AchievementMediaResponse}.
|
|
56
|
-
*/
|
|
57
|
-
achievementMedia: (achievementId) => {
|
|
58
|
-
return { path: `${mediaBase}/achievement/${achievementId}`, namespace: "static" };
|
|
59
|
-
}
|
|
60
|
-
};
|
|
9
|
+
function achievementCategory(achievementCategoryId) {
|
|
10
|
+
return {
|
|
11
|
+
path: `${achievementCategoryBase}/${achievementCategoryId}`,
|
|
12
|
+
namespace: "static"
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function achievementCategoryIndex() {
|
|
16
|
+
return {
|
|
17
|
+
path: `${achievementCategoryBase}/index`,
|
|
18
|
+
namespace: "static"
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function achievement(achievementId) {
|
|
22
|
+
return {
|
|
23
|
+
path: `${achievementBase}/${achievementId}`,
|
|
24
|
+
namespace: "static"
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function achievementIndex() {
|
|
28
|
+
return {
|
|
29
|
+
path: `${achievementBase}/index`,
|
|
30
|
+
namespace: "static"
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function achievementMedia(achievementId) {
|
|
34
|
+
return { path: `${mediaBase}/achievement/${achievementId}`, namespace: "static" };
|
|
35
|
+
}
|
|
61
36
|
|
|
62
37
|
// src/auction-house/auction-house.ts
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Get auction house data for all connected realms.
|
|
77
|
-
* @returns The auction house data. See {@link AuctionHouseResponse}.
|
|
78
|
-
*/
|
|
79
|
-
commodities: () => {
|
|
80
|
-
return {
|
|
81
|
-
path: `${base}/auctions/commodities`,
|
|
82
|
-
namespace: "dynamic"
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
};
|
|
38
|
+
function auctions(connectedRealmId) {
|
|
39
|
+
return {
|
|
40
|
+
path: `${base}/connected-realm/${connectedRealmId}/auctions`,
|
|
41
|
+
namespace: "dynamic"
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function commodities() {
|
|
45
|
+
return {
|
|
46
|
+
path: `${base}/auctions/commodities`,
|
|
47
|
+
namespace: "dynamic"
|
|
48
|
+
};
|
|
49
|
+
}
|
|
86
50
|
|
|
87
51
|
// src/azerite-essence/azerite-essence.ts
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
*/
|
|
115
|
-
azeriteEssenceMedia: (azeriteEssenceId) => {
|
|
116
|
-
return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}`, namespace: "static" };
|
|
117
|
-
},
|
|
118
|
-
/**
|
|
119
|
-
* Search for azerite essences.
|
|
120
|
-
* @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.
|
|
121
|
-
* @returns The search results. See {@link SearchResponse}.
|
|
122
|
-
*/
|
|
123
|
-
azeriteEssenceSearch: (options) => {
|
|
124
|
-
return {
|
|
125
|
-
path: `${searchBase}/azerite-essence`,
|
|
126
|
-
namespace: "static",
|
|
127
|
-
parameters: {
|
|
128
|
-
_page: options._page,
|
|
129
|
-
"allowed_specializations.id": options["allowed_specializations.id"],
|
|
130
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
};
|
|
52
|
+
function azeriteEssence(azeriteEssenceId) {
|
|
53
|
+
return {
|
|
54
|
+
path: `${base}/azerite-essence/${azeriteEssenceId}`,
|
|
55
|
+
namespace: "static"
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function azeriteEssenceIndex() {
|
|
59
|
+
return {
|
|
60
|
+
path: `${base}/azerite-essence/index`,
|
|
61
|
+
namespace: "static"
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function azeriteEssenceMedia(azeriteEssenceId) {
|
|
65
|
+
return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}`, namespace: "static" };
|
|
66
|
+
}
|
|
67
|
+
function azeriteEssenceSearch(options) {
|
|
68
|
+
return {
|
|
69
|
+
path: `${searchBase}/azerite-essence`,
|
|
70
|
+
namespace: "static",
|
|
71
|
+
parameters: {
|
|
72
|
+
_page: options._page,
|
|
73
|
+
"allowed_specializations.id": options["allowed_specializations.id"],
|
|
74
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}
|
|
135
78
|
|
|
136
79
|
// src/connected-realm/connected-realm.ts
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
* @param options The search parameters. See {@link ConnectedRealmSearchParameters}.
|
|
162
|
-
* @returns The search results. See {@link SearchResponse} & {@link ConnectedRealmSearchResponseItem}.
|
|
163
|
-
*/
|
|
164
|
-
connectedRealmSearch: (options) => {
|
|
165
|
-
return {
|
|
166
|
-
namespace: "dynamic",
|
|
167
|
-
parameters: {
|
|
168
|
-
_page: options._page,
|
|
169
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
170
|
-
"status.type": options["status.type"],
|
|
171
|
-
"realms.timezone": options["realms.timezone"]
|
|
172
|
-
},
|
|
173
|
-
path: `${base}/search/connected-realm`
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
};
|
|
80
|
+
function connectedRealmIndex() {
|
|
81
|
+
return {
|
|
82
|
+
path: `${base}/connected-realm/index`,
|
|
83
|
+
namespace: "dynamic"
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function connectedRealm(connectedRealmId) {
|
|
87
|
+
return {
|
|
88
|
+
path: `${base}/connected-realm/${connectedRealmId}`,
|
|
89
|
+
namespace: "dynamic"
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function connectedRealmSearch(options) {
|
|
93
|
+
return {
|
|
94
|
+
namespace: "dynamic",
|
|
95
|
+
parameters: {
|
|
96
|
+
_page: options._page,
|
|
97
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
98
|
+
"status.type": options["status.type"],
|
|
99
|
+
"realms.timezone": options["realms.timezone"]
|
|
100
|
+
},
|
|
101
|
+
path: `${base}/search/connected-realm`
|
|
102
|
+
};
|
|
103
|
+
}
|
|
177
104
|
|
|
178
105
|
// src/covenant/covenant.ts
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
},
|
|
222
|
-
/**
|
|
223
|
-
* Get covenant media by ID.
|
|
224
|
-
* @param covenantId The covenant ID.
|
|
225
|
-
* @returns The covenant media. See {@link CovenantMediaResponse}.
|
|
226
|
-
*/
|
|
227
|
-
covenantMedia: (covenantId) => {
|
|
228
|
-
return {
|
|
229
|
-
path: `${mediaBase}/covenant/${covenantId}`,
|
|
230
|
-
namespace: "static"
|
|
231
|
-
};
|
|
232
|
-
},
|
|
233
|
-
/**
|
|
234
|
-
* Get a soulbind by ID.
|
|
235
|
-
* @param soulbindId The soulbind ID.
|
|
236
|
-
* @returns The soulbind. See {@link SoulbindResponse}.
|
|
237
|
-
*/
|
|
238
|
-
soulbind: (soulbindId) => {
|
|
239
|
-
return {
|
|
240
|
-
path: `${base}/covenant/soulbind/${soulbindId}`,
|
|
241
|
-
namespace: "static"
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
|
-
/**
|
|
245
|
-
* Get a soulbind index.
|
|
246
|
-
* @returns The soulbind index. See {@link SoulbindIndexResponse}.
|
|
247
|
-
*/
|
|
248
|
-
soulbindIndex: () => {
|
|
249
|
-
return {
|
|
250
|
-
path: `${base}/covenant/soulbind/index`,
|
|
251
|
-
namespace: "static"
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
};
|
|
106
|
+
function conduit(conduitId) {
|
|
107
|
+
return {
|
|
108
|
+
path: `${base}/covenant/conduit/${conduitId}`,
|
|
109
|
+
namespace: "static"
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function conduitIndex() {
|
|
113
|
+
return {
|
|
114
|
+
path: `${base}/covenant/conduit/index`,
|
|
115
|
+
namespace: "static"
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function covenant(covenantId) {
|
|
119
|
+
return {
|
|
120
|
+
path: `${base}/covenant/${covenantId}`,
|
|
121
|
+
namespace: "static"
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function covenantIndex() {
|
|
125
|
+
return {
|
|
126
|
+
path: `${base}/covenant/index`,
|
|
127
|
+
namespace: "static"
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function covenantMedia(covenantId) {
|
|
131
|
+
return {
|
|
132
|
+
path: `${mediaBase}/covenant/${covenantId}`,
|
|
133
|
+
namespace: "static"
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function soulbind(soulbindId) {
|
|
137
|
+
return {
|
|
138
|
+
path: `${base}/covenant/soulbind/${soulbindId}`,
|
|
139
|
+
namespace: "static"
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
function soulbindIndex() {
|
|
143
|
+
return {
|
|
144
|
+
path: `${base}/covenant/soulbind/index`,
|
|
145
|
+
namespace: "static"
|
|
146
|
+
};
|
|
147
|
+
}
|
|
255
148
|
|
|
256
149
|
// src/creature/creature.ts
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
};
|
|
311
|
-
},
|
|
312
|
-
/**
|
|
313
|
-
* Get a creature type by ID.
|
|
314
|
-
* @param creatureTypeId The creature type ID.
|
|
315
|
-
* @returns The creature type. See {@link CreatureTypeResponse}.
|
|
316
|
-
*/
|
|
317
|
-
creatureType: (creatureTypeId) => {
|
|
318
|
-
return {
|
|
319
|
-
path: `${base}/creature-type/${creatureTypeId}`,
|
|
320
|
-
namespace: "static"
|
|
321
|
-
};
|
|
322
|
-
},
|
|
323
|
-
/**
|
|
324
|
-
* Get a creature type index.
|
|
325
|
-
* @returns The creature type index. See {@link CreatureTypeIndexResponse}.
|
|
326
|
-
*/
|
|
327
|
-
creatureTypeIndex: () => {
|
|
328
|
-
return {
|
|
329
|
-
path: `${base}/creature-type/index`,
|
|
330
|
-
namespace: "static"
|
|
331
|
-
};
|
|
332
|
-
},
|
|
333
|
-
/**
|
|
334
|
-
* Search for creatures.
|
|
335
|
-
* @param options The creature search parameters. See {@link CreatureSearchParameters}.
|
|
336
|
-
* @returns The creature search results. See {@link SearchResponse} & {@link CreatureSearchResponseItem}.
|
|
337
|
-
*/
|
|
338
|
-
creatureSearch: (options) => {
|
|
339
|
-
return {
|
|
340
|
-
namespace: "static",
|
|
341
|
-
parameters: {
|
|
342
|
-
_page: options._page,
|
|
343
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
344
|
-
[`name.${options.locale}`]: options.name
|
|
345
|
-
},
|
|
346
|
-
path: `${searchBase}/creature`
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
};
|
|
150
|
+
function creature(creatureId) {
|
|
151
|
+
return {
|
|
152
|
+
path: `${base}/creature/${creatureId}`,
|
|
153
|
+
namespace: "static"
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function creatureDisplayMedia(creatureDisplayId) {
|
|
157
|
+
return {
|
|
158
|
+
path: `${mediaBase}/creature-display/${creatureDisplayId}`,
|
|
159
|
+
namespace: "static"
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
function creatureFamily(creatureFamilyId) {
|
|
163
|
+
return {
|
|
164
|
+
path: `${base}/creature-family/${creatureFamilyId}`,
|
|
165
|
+
namespace: "static"
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
function creatureFamilyIndex() {
|
|
169
|
+
return {
|
|
170
|
+
path: `${base}/creature-family/index`,
|
|
171
|
+
namespace: "static"
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
function creatureFamilyMedia(creatureFamilyId) {
|
|
175
|
+
return {
|
|
176
|
+
path: `${mediaBase}/creature-family/${creatureFamilyId}`,
|
|
177
|
+
namespace: "static"
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function creatureType(creatureTypeId) {
|
|
181
|
+
return {
|
|
182
|
+
path: `${base}/creature-type/${creatureTypeId}`,
|
|
183
|
+
namespace: "static"
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function creatureTypeIndex() {
|
|
187
|
+
return {
|
|
188
|
+
path: `${base}/creature-type/index`,
|
|
189
|
+
namespace: "static"
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
function creatureSearch(options) {
|
|
193
|
+
return {
|
|
194
|
+
namespace: "static",
|
|
195
|
+
parameters: {
|
|
196
|
+
_page: options._page,
|
|
197
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
198
|
+
[`name.${options.locale}`]: options.name
|
|
199
|
+
},
|
|
200
|
+
path: `${searchBase}/creature`
|
|
201
|
+
};
|
|
202
|
+
}
|
|
350
203
|
|
|
351
204
|
// src/guild-crest/guild-crest.ts
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
path: `${mediaBase}/guild-crest/border/${borderId}`,
|
|
371
|
-
namespace: "static"
|
|
372
|
-
};
|
|
373
|
-
},
|
|
374
|
-
/**
|
|
375
|
-
* Get a guild crest emblem by ID.
|
|
376
|
-
* @param emblemId The guild crest emblem ID.
|
|
377
|
-
* @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}.
|
|
378
|
-
*/
|
|
379
|
-
guildCrestEmblem: (emblemId) => {
|
|
380
|
-
return {
|
|
381
|
-
path: `${mediaBase}/guild-crest/emblem/${emblemId}`,
|
|
382
|
-
namespace: "static"
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
};
|
|
205
|
+
function guildCrestComponentsIndex() {
|
|
206
|
+
return {
|
|
207
|
+
path: `${base}/guild-crest/index`,
|
|
208
|
+
namespace: "static"
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
function guildCrestBorder(borderId) {
|
|
212
|
+
return {
|
|
213
|
+
path: `${mediaBase}/guild-crest/border/${borderId}`,
|
|
214
|
+
namespace: "static"
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
function guildCrestEmblem(emblemId) {
|
|
218
|
+
return {
|
|
219
|
+
path: `${mediaBase}/guild-crest/emblem/${emblemId}`,
|
|
220
|
+
namespace: "static"
|
|
221
|
+
};
|
|
222
|
+
}
|
|
386
223
|
|
|
387
224
|
// src/heirloom/heirloom.ts
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Get the heirloom index.
|
|
402
|
-
* @returns The heirloom index. See {@link HeirloomIndexResponse}.
|
|
403
|
-
*/
|
|
404
|
-
heirloomIndex: () => {
|
|
405
|
-
return {
|
|
406
|
-
path: `${base}/heirloom/index`,
|
|
407
|
-
namespace: "static"
|
|
408
|
-
};
|
|
409
|
-
}
|
|
410
|
-
};
|
|
225
|
+
function heirloom(heirloomId) {
|
|
226
|
+
return {
|
|
227
|
+
path: `${base}/heirloom/${heirloomId}`,
|
|
228
|
+
namespace: "static"
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function heirloomIndex() {
|
|
232
|
+
return {
|
|
233
|
+
path: `${base}/heirloom/index`,
|
|
234
|
+
namespace: "static"
|
|
235
|
+
};
|
|
236
|
+
}
|
|
411
237
|
|
|
412
238
|
// src/item/item.ts
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
namespace: "static"
|
|
467
|
-
};
|
|
468
|
-
},
|
|
469
|
-
/**
|
|
470
|
-
* Get an item set by ID.
|
|
471
|
-
* @param itemSetId The item set ID.
|
|
472
|
-
* @returns The item set. See {@link ItemSetResponse}.
|
|
473
|
-
*/
|
|
474
|
-
itemSet: (itemSetId) => {
|
|
475
|
-
return {
|
|
476
|
-
path: `${base}/item-set/${itemSetId}`,
|
|
477
|
-
namespace: "static"
|
|
478
|
-
};
|
|
479
|
-
},
|
|
480
|
-
/**
|
|
481
|
-
* Get an item set index.
|
|
482
|
-
* @returns The item set index. See {@link ItemSetIndexResponse}.
|
|
483
|
-
*/
|
|
484
|
-
itemSetIndex: () => {
|
|
485
|
-
return {
|
|
486
|
-
path: `${base}/item-set/index`,
|
|
487
|
-
namespace: "static"
|
|
488
|
-
};
|
|
489
|
-
},
|
|
490
|
-
/**
|
|
491
|
-
* Search for items.
|
|
492
|
-
* @param options The search parameters. See {@link ItemSearchParameters}.
|
|
493
|
-
* @returns The search results. See {@link SearchResponse}.
|
|
494
|
-
*/
|
|
495
|
-
itemSearch: (options) => {
|
|
496
|
-
return {
|
|
497
|
-
namespace: "static",
|
|
498
|
-
parameters: {
|
|
499
|
-
_page: options._page,
|
|
500
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
501
|
-
[`name.${options.locale}`]: options.name
|
|
502
|
-
},
|
|
503
|
-
path: `${searchBase}/item`
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
};
|
|
239
|
+
function item(itemId) {
|
|
240
|
+
return {
|
|
241
|
+
path: `${base}/item/${itemId}`,
|
|
242
|
+
namespace: "static"
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function itemClass(itemClassId) {
|
|
246
|
+
return {
|
|
247
|
+
path: `${base}/item-class/${itemClassId}`,
|
|
248
|
+
namespace: "static"
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
function itemSubClass(itemClassId, itemSubclassId) {
|
|
252
|
+
return {
|
|
253
|
+
path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,
|
|
254
|
+
namespace: "static"
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
function itemClassIndex() {
|
|
258
|
+
return {
|
|
259
|
+
path: `${base}/item-class/index`,
|
|
260
|
+
namespace: "static"
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
function itemMedia(itemId) {
|
|
264
|
+
return {
|
|
265
|
+
path: `${mediaBase}/item/${itemId}`,
|
|
266
|
+
namespace: "static"
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function itemSet(itemSetId) {
|
|
270
|
+
return {
|
|
271
|
+
path: `${base}/item-set/${itemSetId}`,
|
|
272
|
+
namespace: "static"
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function itemSetIndex() {
|
|
276
|
+
return {
|
|
277
|
+
path: `${base}/item-set/index`,
|
|
278
|
+
namespace: "static"
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
function itemSearch(options) {
|
|
282
|
+
return {
|
|
283
|
+
namespace: "static",
|
|
284
|
+
parameters: {
|
|
285
|
+
_page: options._page,
|
|
286
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
287
|
+
[`name.${options.locale}`]: options.name
|
|
288
|
+
},
|
|
289
|
+
path: `${searchBase}/item`
|
|
290
|
+
};
|
|
291
|
+
}
|
|
507
292
|
|
|
508
293
|
// src/journal/journal.ts
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
journalExpansionIndex: () => {
|
|
563
|
-
return {
|
|
564
|
-
path: `${base}/journal-expansion/index`,
|
|
565
|
-
namespace: "static"
|
|
566
|
-
};
|
|
567
|
-
},
|
|
568
|
-
/**
|
|
569
|
-
* Get a journal instance by ID.
|
|
570
|
-
* @param journalInstanceId The journal instance ID.
|
|
571
|
-
* @returns The journal instance. See {@link JournalInstanceResponse}.
|
|
572
|
-
*/
|
|
573
|
-
journalInstance: (journalInstanceId) => {
|
|
574
|
-
return {
|
|
575
|
-
path: `${base}/journal-instance/${journalInstanceId}`,
|
|
576
|
-
namespace: "static"
|
|
577
|
-
};
|
|
578
|
-
},
|
|
579
|
-
/**
|
|
580
|
-
* Get the journal instance index.
|
|
581
|
-
* @returns The journal instance index. See {@link JournalInstanceIndexResponse}.
|
|
582
|
-
*/
|
|
583
|
-
journalInstanceIndex: () => {
|
|
584
|
-
return {
|
|
585
|
-
path: `${base}/journal-instance/index`,
|
|
586
|
-
namespace: "static"
|
|
587
|
-
};
|
|
588
|
-
},
|
|
589
|
-
/**
|
|
590
|
-
* Get journal instance media by ID.
|
|
591
|
-
* @param journalInstanceId The journal instance ID.
|
|
592
|
-
* @returns The journal instance media. See {@link JournalInstanceMediaResponse}.
|
|
593
|
-
*/
|
|
594
|
-
journalInstanceMedia: (journalInstanceId) => {
|
|
595
|
-
return {
|
|
596
|
-
path: `${mediaBase}/journal-instance/${journalInstanceId}`,
|
|
597
|
-
namespace: "static"
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
};
|
|
294
|
+
function journalEncounter(journalEncounterId) {
|
|
295
|
+
return {
|
|
296
|
+
path: `${base}/journal-encounter/${journalEncounterId}`,
|
|
297
|
+
namespace: "static"
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
function journalEncounterIndex() {
|
|
301
|
+
return {
|
|
302
|
+
path: `${base}/journal-encounter/index`,
|
|
303
|
+
namespace: "static"
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
function journalEncounterSearch(options) {
|
|
307
|
+
return {
|
|
308
|
+
namespace: "static",
|
|
309
|
+
parameters: {
|
|
310
|
+
_page: options._page,
|
|
311
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
312
|
+
[`instance.name.${options.locale}`]: options.instanceName
|
|
313
|
+
},
|
|
314
|
+
path: `${searchBase}/journal-encounter`
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
function journalExpansion(journalExpansionId) {
|
|
318
|
+
return {
|
|
319
|
+
path: `${base}/journal-expansion/${journalExpansionId}`,
|
|
320
|
+
namespace: "static"
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
function journalExpansionIndex() {
|
|
324
|
+
return {
|
|
325
|
+
path: `${base}/journal-expansion/index`,
|
|
326
|
+
namespace: "static"
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
function journalInstance(journalInstanceId) {
|
|
330
|
+
return {
|
|
331
|
+
path: `${base}/journal-instance/${journalInstanceId}`,
|
|
332
|
+
namespace: "static"
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function journalInstanceIndex() {
|
|
336
|
+
return {
|
|
337
|
+
path: `${base}/journal-instance/index`,
|
|
338
|
+
namespace: "static"
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
function journalInstanceMedia(journalInstanceId) {
|
|
342
|
+
return {
|
|
343
|
+
path: `${mediaBase}/journal-instance/${journalInstanceId}`,
|
|
344
|
+
namespace: "static"
|
|
345
|
+
};
|
|
346
|
+
}
|
|
601
347
|
|
|
602
348
|
// src/media-search/media-search.ts
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
615
|
-
tags: options.tags
|
|
616
|
-
},
|
|
617
|
-
path: `${searchBase}/media`
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
};
|
|
349
|
+
function mediaSearch(options) {
|
|
350
|
+
return {
|
|
351
|
+
namespace: "static",
|
|
352
|
+
parameters: {
|
|
353
|
+
_page: options._page,
|
|
354
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
355
|
+
tags: options.tags
|
|
356
|
+
},
|
|
357
|
+
path: `${searchBase}/media`
|
|
358
|
+
};
|
|
359
|
+
}
|
|
621
360
|
|
|
622
361
|
// src/modified-crafting/modified-crafting.ts
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
};
|
|
654
|
-
},
|
|
655
|
-
/**
|
|
656
|
-
* Get a modified crafting reagent slot type by ID.
|
|
657
|
-
* @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID.
|
|
658
|
-
* @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}.
|
|
659
|
-
*/
|
|
660
|
-
modifiedCraftingReagentSlotType: (modifiedCraftingReagentSlotTypeId) => {
|
|
661
|
-
return {
|
|
662
|
-
path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,
|
|
663
|
-
namespace: "static"
|
|
664
|
-
};
|
|
665
|
-
},
|
|
666
|
-
/**
|
|
667
|
-
* Get a modified crafting reagent slot type index.
|
|
668
|
-
* @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}.
|
|
669
|
-
*/
|
|
670
|
-
modifiedCraftingReagentSlotTypeIndex: () => {
|
|
671
|
-
return {
|
|
672
|
-
path: `${base}/modified-crafting/reagent-slot-type/index`,
|
|
673
|
-
namespace: "static"
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
};
|
|
362
|
+
function modifiedCraftingCategory(modifiedCraftingCategoryId) {
|
|
363
|
+
return {
|
|
364
|
+
path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,
|
|
365
|
+
namespace: "static"
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
function modifiedCraftingCategoryIndex() {
|
|
369
|
+
return {
|
|
370
|
+
path: `${base}/modified-crafting/category/index`,
|
|
371
|
+
namespace: "static"
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
function modifiedCraftingIndex() {
|
|
375
|
+
return {
|
|
376
|
+
path: `${base}/modified-crafting/index`,
|
|
377
|
+
namespace: "static"
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) {
|
|
381
|
+
return {
|
|
382
|
+
path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,
|
|
383
|
+
namespace: "static"
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
function modifiedCraftingReagentSlotTypeIndex() {
|
|
387
|
+
return {
|
|
388
|
+
path: `${base}/modified-crafting/reagent-slot-type/index`,
|
|
389
|
+
namespace: "static"
|
|
390
|
+
};
|
|
391
|
+
}
|
|
677
392
|
|
|
678
393
|
// src/mount/mount.ts
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
* Get a mount search.
|
|
703
|
-
* @param options The search parameters. See {@link MountSearchParameters}.
|
|
704
|
-
* @returns The search results. See {@link SearchResponse}.
|
|
705
|
-
*/
|
|
706
|
-
mountSearch: (options) => {
|
|
707
|
-
return {
|
|
708
|
-
namespace: "static",
|
|
709
|
-
parameters: {
|
|
710
|
-
_page: options._page,
|
|
711
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
712
|
-
[`name.${options.locale}`]: options.name
|
|
713
|
-
},
|
|
714
|
-
path: `${searchBase}/mount`
|
|
715
|
-
};
|
|
716
|
-
}
|
|
717
|
-
};
|
|
394
|
+
function mount(mountId) {
|
|
395
|
+
return {
|
|
396
|
+
path: `${base}/mount/${mountId}`,
|
|
397
|
+
namespace: "static"
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
function mountIndex() {
|
|
401
|
+
return {
|
|
402
|
+
path: `${base}/mount/index`,
|
|
403
|
+
namespace: "static"
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
function mountSearch(options) {
|
|
407
|
+
return {
|
|
408
|
+
namespace: "static",
|
|
409
|
+
parameters: {
|
|
410
|
+
_page: options._page,
|
|
411
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
412
|
+
[`name.${options.locale}`]: options.name
|
|
413
|
+
},
|
|
414
|
+
path: `${searchBase}/mount`
|
|
415
|
+
};
|
|
416
|
+
}
|
|
718
417
|
|
|
719
418
|
// src/mythic-keystone-affix/mythic-keystone-affix.ts
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
namespace: "static"
|
|
739
|
-
};
|
|
740
|
-
},
|
|
741
|
-
/**
|
|
742
|
-
* Get a list of all Mythic Keystone affix media.
|
|
743
|
-
* @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}
|
|
744
|
-
*/
|
|
745
|
-
mythicKeystoneAffixMedia: (mythicKeystoneAffixId) => {
|
|
746
|
-
return {
|
|
747
|
-
path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,
|
|
748
|
-
namespace: "static"
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
};
|
|
419
|
+
function mythicKeystoneAffix(mythicKeystoneAffixId) {
|
|
420
|
+
return {
|
|
421
|
+
path: `${base}/keystone-affix/${mythicKeystoneAffixId}`,
|
|
422
|
+
namespace: "static"
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
function mythicKeystoneAffixIndex() {
|
|
426
|
+
return {
|
|
427
|
+
path: `${base}/keystone-affix/index`,
|
|
428
|
+
namespace: "static"
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
function mythicKeystoneAffixMedia(mythicKeystoneAffixId) {
|
|
432
|
+
return {
|
|
433
|
+
path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,
|
|
434
|
+
namespace: "static"
|
|
435
|
+
};
|
|
436
|
+
}
|
|
752
437
|
|
|
753
438
|
// src/mythic-keystone-dungeon/mythic-keystone-dungeon.ts
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
},
|
|
797
|
-
/**
|
|
798
|
-
* Get a Mythic Keystone period index.
|
|
799
|
-
* @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.
|
|
800
|
-
*/
|
|
801
|
-
mythicKeystonePeriodIndex: () => {
|
|
802
|
-
return {
|
|
803
|
-
path: `${base}/mythic-keystone/period/index`,
|
|
804
|
-
namespace: "dynamic"
|
|
805
|
-
};
|
|
806
|
-
},
|
|
807
|
-
/**
|
|
808
|
-
* Get a Mythic Keystone season by ID.
|
|
809
|
-
* @param mythicKeystoneSeasonId The Mythic Keystone season ID.
|
|
810
|
-
* @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.
|
|
811
|
-
*/
|
|
812
|
-
mythicKeystoneSeason: (mythicKeystoneSeasonId) => {
|
|
813
|
-
return {
|
|
814
|
-
path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,
|
|
815
|
-
namespace: "dynamic"
|
|
816
|
-
};
|
|
817
|
-
},
|
|
818
|
-
/**
|
|
819
|
-
* Get a Mythic Keystone season index.
|
|
820
|
-
* @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.
|
|
821
|
-
*/
|
|
822
|
-
mythicKeystoneSeasonIndex: () => {
|
|
823
|
-
return {
|
|
824
|
-
path: `${base}/mythic-keystone/season/index`,
|
|
825
|
-
namespace: "dynamic"
|
|
826
|
-
};
|
|
827
|
-
}
|
|
828
|
-
};
|
|
439
|
+
function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
|
|
440
|
+
return {
|
|
441
|
+
path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,
|
|
442
|
+
namespace: "dynamic"
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
function mythicKeystoneDungeonIndex() {
|
|
446
|
+
return {
|
|
447
|
+
path: `${base}/mythic-keystone/dungeon/index`,
|
|
448
|
+
namespace: "dynamic"
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
function mythicKeystoneIndex() {
|
|
452
|
+
return {
|
|
453
|
+
path: `${base}/mythic-keystone/index`,
|
|
454
|
+
namespace: "dynamic"
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
function mythicKeystonePeriod(mythicKeystonePeriodId) {
|
|
458
|
+
return {
|
|
459
|
+
path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,
|
|
460
|
+
namespace: "dynamic"
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
function mythicKeystonePeriodIndex() {
|
|
464
|
+
return {
|
|
465
|
+
path: `${base}/mythic-keystone/period/index`,
|
|
466
|
+
namespace: "dynamic"
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
function mythicKeystoneSeason(mythicKeystoneSeasonId) {
|
|
470
|
+
return {
|
|
471
|
+
path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,
|
|
472
|
+
namespace: "dynamic"
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
function mythicKeystoneSeasonIndex() {
|
|
476
|
+
return {
|
|
477
|
+
path: `${base}/mythic-keystone/season/index`,
|
|
478
|
+
namespace: "dynamic"
|
|
479
|
+
};
|
|
480
|
+
}
|
|
829
481
|
|
|
830
482
|
// src/mythic-keystone-leaderboard/mythic-keystone-leaderboard.ts
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
};
|
|
844
|
-
},
|
|
845
|
-
/**
|
|
846
|
-
* Get a Mythic Keystone leaderboard index by connected realm ID.
|
|
847
|
-
* @param connectedRealmId The connected realm ID.
|
|
848
|
-
* @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.
|
|
849
|
-
*/
|
|
850
|
-
mythicKeystoneLeaderboardIndex: (connectedRealmId) => {
|
|
851
|
-
return {
|
|
852
|
-
path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,
|
|
853
|
-
namespace: "dynamic"
|
|
854
|
-
};
|
|
855
|
-
}
|
|
856
|
-
};
|
|
483
|
+
function mythicKeystoneLeaderboard(connectedRealmId, dungeonId, period) {
|
|
484
|
+
return {
|
|
485
|
+
path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,
|
|
486
|
+
namespace: "dynamic"
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
function mythicKeystoneLeaderboardIndex(connectedRealmId) {
|
|
490
|
+
return {
|
|
491
|
+
path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,
|
|
492
|
+
namespace: "dynamic"
|
|
493
|
+
};
|
|
494
|
+
}
|
|
857
495
|
|
|
858
496
|
// src/mythic-raid-leaderboard/mythic-raid-leaderboard.ts
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
*/
|
|
866
|
-
mythicRaidLeaderboard: (raid, faction) => {
|
|
867
|
-
return {
|
|
868
|
-
path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,
|
|
869
|
-
namespace: "dynamic"
|
|
870
|
-
};
|
|
871
|
-
}
|
|
872
|
-
};
|
|
497
|
+
function mythicRaidLeaderboard(raid, faction) {
|
|
498
|
+
return {
|
|
499
|
+
path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,
|
|
500
|
+
namespace: "dynamic"
|
|
501
|
+
};
|
|
502
|
+
}
|
|
873
503
|
|
|
874
504
|
// src/pet/pet.ts
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
* @returns The pet ability. See {@link PetAbilityResponse}.
|
|
912
|
-
*/
|
|
913
|
-
petAbility: (petAbilityId) => {
|
|
914
|
-
return {
|
|
915
|
-
path: `${base}/pet-ability/${petAbilityId}`,
|
|
916
|
-
namespace: "static"
|
|
917
|
-
};
|
|
918
|
-
},
|
|
919
|
-
/**
|
|
920
|
-
* Get a pet ability index.
|
|
921
|
-
* @returns The pet ability index. See {@link PetAbilityIndexResponse}.
|
|
922
|
-
*/
|
|
923
|
-
petAbilityIndex: () => {
|
|
924
|
-
return {
|
|
925
|
-
path: `${base}/pet-ability/index`,
|
|
926
|
-
namespace: "static"
|
|
927
|
-
};
|
|
928
|
-
},
|
|
929
|
-
/**
|
|
930
|
-
* Get a pet ability media by ID.
|
|
931
|
-
* @param petAbilityId The pet ability ID.
|
|
932
|
-
* @returns The pet ability media. See {@link PetAbilityMediaResponse}.
|
|
933
|
-
*/
|
|
934
|
-
petAbilityMedia: (petAbilityId) => {
|
|
935
|
-
return {
|
|
936
|
-
path: `${mediaBase}/pet-ability/${petAbilityId}`,
|
|
937
|
-
namespace: "static"
|
|
938
|
-
};
|
|
939
|
-
}
|
|
940
|
-
};
|
|
505
|
+
function pet(petId) {
|
|
506
|
+
return {
|
|
507
|
+
path: `${base}/pet/${petId}`,
|
|
508
|
+
namespace: "static"
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
function petIndex() {
|
|
512
|
+
return {
|
|
513
|
+
path: `${base}/pet/index`,
|
|
514
|
+
namespace: "static"
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function petMedia(petId) {
|
|
518
|
+
return {
|
|
519
|
+
path: `${mediaBase}/pet/${petId}`,
|
|
520
|
+
namespace: "static"
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
function petAbility(petAbilityId) {
|
|
524
|
+
return {
|
|
525
|
+
path: `${base}/pet-ability/${petAbilityId}`,
|
|
526
|
+
namespace: "static"
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
function petAbilityIndex() {
|
|
530
|
+
return {
|
|
531
|
+
path: `${base}/pet-ability/index`,
|
|
532
|
+
namespace: "static"
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function petAbilityMedia(petAbilityId) {
|
|
536
|
+
return {
|
|
537
|
+
path: `${mediaBase}/pet-ability/${petAbilityId}`,
|
|
538
|
+
namespace: "static"
|
|
539
|
+
};
|
|
540
|
+
}
|
|
941
541
|
|
|
942
542
|
// src/playable-class/playable-class.ts
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
* @param playableClassId The playable class ID.
|
|
968
|
-
* @returns The playable class media. See {@link PlayableClassMediaResponse}.
|
|
969
|
-
*/
|
|
970
|
-
playableClassMedia: (playableClassId) => {
|
|
971
|
-
return {
|
|
972
|
-
path: `${mediaBase}/playable-class/${playableClassId}`,
|
|
973
|
-
namespace: "static"
|
|
974
|
-
};
|
|
975
|
-
},
|
|
976
|
-
/**
|
|
977
|
-
* Get a playable class's PvP talent slots by ID.
|
|
978
|
-
* @param playableClassId The playable class ID.
|
|
979
|
-
* @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.
|
|
980
|
-
*/
|
|
981
|
-
pvpTalentSlots: (playableClassId) => {
|
|
982
|
-
return {
|
|
983
|
-
path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,
|
|
984
|
-
namespace: "static"
|
|
985
|
-
};
|
|
986
|
-
}
|
|
987
|
-
};
|
|
543
|
+
function playableClass(playableClassId) {
|
|
544
|
+
return {
|
|
545
|
+
path: `${base}/playable-class/${playableClassId}`,
|
|
546
|
+
namespace: "static"
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
function playableClassIndex() {
|
|
550
|
+
return {
|
|
551
|
+
path: `${base}/playable-class/index`,
|
|
552
|
+
namespace: "static"
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
function playableClassMedia(playableClassId) {
|
|
556
|
+
return {
|
|
557
|
+
path: `${mediaBase}/playable-class/${playableClassId}`,
|
|
558
|
+
namespace: "static"
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
function pvpTalentSlots(playableClassId) {
|
|
562
|
+
return {
|
|
563
|
+
path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,
|
|
564
|
+
namespace: "static"
|
|
565
|
+
};
|
|
566
|
+
}
|
|
988
567
|
|
|
989
568
|
// src/playable-race/playable-race.ts
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* Get a playable race index.
|
|
1004
|
-
* @returns The playable race index. See {@link PlayableRaceIndexResponse}.
|
|
1005
|
-
*/
|
|
1006
|
-
playableRaceIndex: () => {
|
|
1007
|
-
return {
|
|
1008
|
-
path: `${base}/playable-race/index`,
|
|
1009
|
-
namespace: "static"
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
1012
|
-
};
|
|
569
|
+
function playableRace(playableRaceId) {
|
|
570
|
+
return {
|
|
571
|
+
path: `${base}/playable-race/${playableRaceId}`,
|
|
572
|
+
namespace: "static"
|
|
573
|
+
};
|
|
574
|
+
}
|
|
575
|
+
function playableRaceIndex() {
|
|
576
|
+
return {
|
|
577
|
+
path: `${base}/playable-race/index`,
|
|
578
|
+
namespace: "static"
|
|
579
|
+
};
|
|
580
|
+
}
|
|
1013
581
|
|
|
1014
582
|
// src/playable-specialization/playable-specialization.ts
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
path: `${base}/playable-specialization/index`,
|
|
1034
|
-
namespace: "static"
|
|
1035
|
-
};
|
|
1036
|
-
},
|
|
1037
|
-
/**
|
|
1038
|
-
* Get a playable specialization media by ID.
|
|
1039
|
-
* @param specializationId The playable specialization ID.
|
|
1040
|
-
* @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.
|
|
1041
|
-
*/
|
|
1042
|
-
playableSpecializationMedia: (specializationId) => {
|
|
1043
|
-
return {
|
|
1044
|
-
path: `${mediaBase}/playable-specialization/${specializationId}`,
|
|
1045
|
-
namespace: "static"
|
|
1046
|
-
};
|
|
1047
|
-
}
|
|
1048
|
-
};
|
|
583
|
+
function playableSpecialization(specializationId) {
|
|
584
|
+
return {
|
|
585
|
+
path: `${base}/playable-specialization/${specializationId}`,
|
|
586
|
+
namespace: "static"
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
function playableSpecializationIndex() {
|
|
590
|
+
return {
|
|
591
|
+
path: `${base}/playable-specialization/index`,
|
|
592
|
+
namespace: "static"
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
function playableSpecializationMedia(specializationId) {
|
|
596
|
+
return {
|
|
597
|
+
path: `${mediaBase}/playable-specialization/${specializationId}`,
|
|
598
|
+
namespace: "static"
|
|
599
|
+
};
|
|
600
|
+
}
|
|
1049
601
|
|
|
1050
602
|
// src/power-type/power-type.ts
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* Get a power type index.
|
|
1065
|
-
* @returns The power type index. See {@link PowerTypeIndexResponse}.
|
|
1066
|
-
*/
|
|
1067
|
-
powerTypeIndex: () => {
|
|
1068
|
-
return {
|
|
1069
|
-
path: `${base}/power-type/index`,
|
|
1070
|
-
namespace: "static"
|
|
1071
|
-
};
|
|
1072
|
-
}
|
|
1073
|
-
};
|
|
603
|
+
function powerType(powerTypeId) {
|
|
604
|
+
return {
|
|
605
|
+
path: `${base}/power-type/${powerTypeId}`,
|
|
606
|
+
namespace: "static"
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
function powerTypeIndex() {
|
|
610
|
+
return {
|
|
611
|
+
path: `${base}/power-type/index`,
|
|
612
|
+
namespace: "static"
|
|
613
|
+
};
|
|
614
|
+
}
|
|
1074
615
|
|
|
1075
616
|
// src/profession/profession.ts
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
* @param skillTierId The skill tier ID.
|
|
1113
|
-
* @returns The profession's skill tier. See {@link ProfessionSkillTierResponse}.
|
|
1114
|
-
*/
|
|
1115
|
-
professionSkillTier: (professionId, skillTierId) => {
|
|
1116
|
-
return {
|
|
1117
|
-
path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,
|
|
1118
|
-
namespace: "static"
|
|
1119
|
-
};
|
|
1120
|
-
},
|
|
1121
|
-
/**
|
|
1122
|
-
* Get a recipe by ID.
|
|
1123
|
-
* @param recipeId The recipe ID.
|
|
1124
|
-
* @returns The recipe. See {@link RecipeResponse}.
|
|
1125
|
-
*/
|
|
1126
|
-
recipe: (recipeId) => {
|
|
1127
|
-
return {
|
|
1128
|
-
path: `${base}/recipe/${recipeId}`,
|
|
1129
|
-
namespace: "static"
|
|
1130
|
-
};
|
|
1131
|
-
},
|
|
1132
|
-
/**
|
|
1133
|
-
* Get recipe media by ID.
|
|
1134
|
-
* @param recipeId The recipe ID.
|
|
1135
|
-
* @returns The recipe media. See {@link RecipeMediaResponse}.
|
|
1136
|
-
*/
|
|
1137
|
-
recipeMedia: (recipeId) => {
|
|
1138
|
-
return {
|
|
1139
|
-
path: `${mediaBase}/recipe/${recipeId}`,
|
|
1140
|
-
namespace: "static"
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1143
|
-
};
|
|
617
|
+
function profession(professionId) {
|
|
618
|
+
return {
|
|
619
|
+
path: `${base}/profession/${professionId}`,
|
|
620
|
+
namespace: "static"
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
function professionIndex() {
|
|
624
|
+
return {
|
|
625
|
+
path: `${base}/profession/index`,
|
|
626
|
+
namespace: "static"
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
function professionMedia(professionId) {
|
|
630
|
+
return {
|
|
631
|
+
path: `${mediaBase}/profession/${professionId}`,
|
|
632
|
+
namespace: "static"
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
function professionSkillTier(professionId, skillTierId) {
|
|
636
|
+
return {
|
|
637
|
+
path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,
|
|
638
|
+
namespace: "static"
|
|
639
|
+
};
|
|
640
|
+
}
|
|
641
|
+
function recipe(recipeId) {
|
|
642
|
+
return {
|
|
643
|
+
path: `${base}/recipe/${recipeId}`,
|
|
644
|
+
namespace: "static"
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
function recipeMedia(recipeId) {
|
|
648
|
+
return {
|
|
649
|
+
path: `${mediaBase}/recipe/${recipeId}`,
|
|
650
|
+
namespace: "static"
|
|
651
|
+
};
|
|
652
|
+
}
|
|
1144
653
|
|
|
1145
654
|
// src/pvp-season/pvp-season.ts
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
return {
|
|
1177
|
-
path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,
|
|
1178
|
-
namespace: "dynamic"
|
|
1179
|
-
};
|
|
1180
|
-
},
|
|
1181
|
-
/**
|
|
1182
|
-
* Get a PvP season by ID.
|
|
1183
|
-
* @param pvpSeasonId The PvP season ID.
|
|
1184
|
-
* @returns The PvP season. See {@link PvpSeasonResponse}.
|
|
1185
|
-
*/
|
|
1186
|
-
pvpSeason: (pvpSeasonId) => {
|
|
1187
|
-
return {
|
|
1188
|
-
path: `${base}/pvp-season/${pvpSeasonId}`,
|
|
1189
|
-
namespace: "dynamic"
|
|
1190
|
-
};
|
|
1191
|
-
},
|
|
1192
|
-
/**
|
|
1193
|
-
* Get a PvP season index.
|
|
1194
|
-
* @returns The PvP season index. See {@link PvpSeasonIndexResponse}.
|
|
1195
|
-
*/
|
|
1196
|
-
pvpSeasonIndex: () => {
|
|
1197
|
-
return {
|
|
1198
|
-
path: `${base}/pvp-season/index`,
|
|
1199
|
-
namespace: "dynamic"
|
|
1200
|
-
};
|
|
1201
|
-
}
|
|
1202
|
-
};
|
|
655
|
+
function pvpLeaderboard(pvpSeasonId, bracket) {
|
|
656
|
+
return {
|
|
657
|
+
path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,
|
|
658
|
+
namespace: "dynamic"
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
function pvpLeaderboardIndex(pvpSeasonId) {
|
|
662
|
+
return {
|
|
663
|
+
path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,
|
|
664
|
+
namespace: "dynamic"
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
function pvpRewardsIndex(pvpSeasonId) {
|
|
668
|
+
return {
|
|
669
|
+
path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,
|
|
670
|
+
namespace: "dynamic"
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
function pvpSeason(pvpSeasonId) {
|
|
674
|
+
return {
|
|
675
|
+
path: `${base}/pvp-season/${pvpSeasonId}`,
|
|
676
|
+
namespace: "dynamic"
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
function pvpSeasonIndex() {
|
|
680
|
+
return {
|
|
681
|
+
path: `${base}/pvp-season/index`,
|
|
682
|
+
namespace: "dynamic"
|
|
683
|
+
};
|
|
684
|
+
}
|
|
1203
685
|
|
|
1204
686
|
// src/pvp-tier/pvp-tier.ts
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
path: `${base}/pvp-tier/index`,
|
|
1224
|
-
namespace: "static"
|
|
1225
|
-
};
|
|
1226
|
-
},
|
|
1227
|
-
/**
|
|
1228
|
-
* Get PvP tier media by ID.
|
|
1229
|
-
* @param pvpTierId The PvP tier ID.
|
|
1230
|
-
* @returns The PvP tier media. See {@link PvpTierMediaResponse}.
|
|
1231
|
-
*/
|
|
1232
|
-
pvpTierMedia: (pvpTierId) => {
|
|
1233
|
-
return {
|
|
1234
|
-
path: `${mediaBase}/pvp-tier/${pvpTierId}`,
|
|
1235
|
-
namespace: "static"
|
|
1236
|
-
};
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
687
|
+
function pvpTier(pvpTierId) {
|
|
688
|
+
return {
|
|
689
|
+
path: `${base}/pvp-tier/${pvpTierId}`,
|
|
690
|
+
namespace: "static"
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
function pvpTierIndex() {
|
|
694
|
+
return {
|
|
695
|
+
path: `${base}/pvp-tier/index`,
|
|
696
|
+
namespace: "static"
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
function pvpTierMedia(pvpTierId) {
|
|
700
|
+
return {
|
|
701
|
+
path: `${mediaBase}/pvp-tier/${pvpTierId}`,
|
|
702
|
+
namespace: "static"
|
|
703
|
+
};
|
|
704
|
+
}
|
|
1239
705
|
|
|
1240
706
|
// src/quest/quest.ts
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
questCategory: (questCategoryId) => {
|
|
1290
|
-
return {
|
|
1291
|
-
path: `${base}/quest/category/${questCategoryId}`,
|
|
1292
|
-
namespace: "static"
|
|
1293
|
-
};
|
|
1294
|
-
},
|
|
1295
|
-
/**
|
|
1296
|
-
* Get a quest category index.
|
|
1297
|
-
* @returns The quest category index. See {@link QuestCategoryIndexResponse}.
|
|
1298
|
-
*/
|
|
1299
|
-
questCategoryIndex: () => {
|
|
1300
|
-
return {
|
|
1301
|
-
path: `${base}/quest/category/index`,
|
|
1302
|
-
namespace: "static"
|
|
1303
|
-
};
|
|
1304
|
-
},
|
|
1305
|
-
/**
|
|
1306
|
-
* Get a quest type by ID.
|
|
1307
|
-
* @param questTypeId The quest type ID.
|
|
1308
|
-
* @returns The quest type. See {@link QuestTypeResponse}.
|
|
1309
|
-
*/
|
|
1310
|
-
questType: (questTypeId) => {
|
|
1311
|
-
return {
|
|
1312
|
-
path: `${base}/quest/type/${questTypeId}`,
|
|
1313
|
-
namespace: "static"
|
|
1314
|
-
};
|
|
1315
|
-
},
|
|
1316
|
-
/**
|
|
1317
|
-
* Get a quest type index.
|
|
1318
|
-
* @returns The quest type index. See {@link QuestTypeIndexResponse}.
|
|
1319
|
-
*/
|
|
1320
|
-
questTypeIndex: () => {
|
|
1321
|
-
return {
|
|
1322
|
-
path: `${base}/quest/type/index`,
|
|
1323
|
-
namespace: "static"
|
|
1324
|
-
};
|
|
1325
|
-
}
|
|
1326
|
-
};
|
|
707
|
+
function quest(questId) {
|
|
708
|
+
return {
|
|
709
|
+
path: `${base}/quest/${questId}`,
|
|
710
|
+
namespace: "static"
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
function questIndex() {
|
|
714
|
+
return {
|
|
715
|
+
path: `${base}/quest/index`,
|
|
716
|
+
namespace: "static"
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
function questArea(questAreaId) {
|
|
720
|
+
return {
|
|
721
|
+
path: `${base}/quest/area/${questAreaId}`,
|
|
722
|
+
namespace: "static"
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
function questAreaIndex() {
|
|
726
|
+
return {
|
|
727
|
+
path: `${base}/quest/area/index`,
|
|
728
|
+
namespace: "static"
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
function questCategory(questCategoryId) {
|
|
732
|
+
return {
|
|
733
|
+
path: `${base}/quest/category/${questCategoryId}`,
|
|
734
|
+
namespace: "static"
|
|
735
|
+
};
|
|
736
|
+
}
|
|
737
|
+
function questCategoryIndex() {
|
|
738
|
+
return {
|
|
739
|
+
path: `${base}/quest/category/index`,
|
|
740
|
+
namespace: "static"
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
function questType(questTypeId) {
|
|
744
|
+
return {
|
|
745
|
+
path: `${base}/quest/type/${questTypeId}`,
|
|
746
|
+
namespace: "static"
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
function questTypeIndex() {
|
|
750
|
+
return {
|
|
751
|
+
path: `${base}/quest/type/index`,
|
|
752
|
+
namespace: "static"
|
|
753
|
+
};
|
|
754
|
+
}
|
|
1327
755
|
|
|
1328
756
|
// src/realm/realm.ts
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
* Search for realms.
|
|
1353
|
-
* @param options The search parameters. See {@link RealmSearchParameters}.
|
|
1354
|
-
* @returns The search results. See {@link SearchResponse}.
|
|
1355
|
-
*/
|
|
1356
|
-
realmSearch: (options) => {
|
|
1357
|
-
return {
|
|
1358
|
-
namespace: "dynamic",
|
|
1359
|
-
parameters: {
|
|
1360
|
-
_page: options._page,
|
|
1361
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
1362
|
-
timezone: options.timezone
|
|
1363
|
-
},
|
|
1364
|
-
path: `${searchBase}/realm`
|
|
1365
|
-
};
|
|
1366
|
-
}
|
|
1367
|
-
};
|
|
757
|
+
function realm(realmSlug) {
|
|
758
|
+
return {
|
|
759
|
+
path: `${base}/realm/${realmSlug}`,
|
|
760
|
+
namespace: "dynamic"
|
|
761
|
+
};
|
|
762
|
+
}
|
|
763
|
+
function realmIndex() {
|
|
764
|
+
return {
|
|
765
|
+
path: `${base}/realm/index`,
|
|
766
|
+
namespace: "dynamic"
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
function realmSearch(options) {
|
|
770
|
+
return {
|
|
771
|
+
namespace: "dynamic",
|
|
772
|
+
parameters: {
|
|
773
|
+
_page: options._page,
|
|
774
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
775
|
+
timezone: options.timezone
|
|
776
|
+
},
|
|
777
|
+
path: `${searchBase}/realm`
|
|
778
|
+
};
|
|
779
|
+
}
|
|
1368
780
|
|
|
1369
781
|
// src/region/region.ts
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* Get a region index.
|
|
1384
|
-
* @returns The region index. See {@link RegionIndexResponse}.
|
|
1385
|
-
*/
|
|
1386
|
-
regionIndex: () => {
|
|
1387
|
-
return {
|
|
1388
|
-
path: `${base}/region/index`,
|
|
1389
|
-
namespace: "dynamic"
|
|
1390
|
-
};
|
|
1391
|
-
}
|
|
1392
|
-
};
|
|
782
|
+
function region(regionId) {
|
|
783
|
+
return {
|
|
784
|
+
path: `${base}/region/${regionId}`,
|
|
785
|
+
namespace: "dynamic"
|
|
786
|
+
};
|
|
787
|
+
}
|
|
788
|
+
function regionIndex() {
|
|
789
|
+
return {
|
|
790
|
+
path: `${base}/region/index`,
|
|
791
|
+
namespace: "dynamic"
|
|
792
|
+
};
|
|
793
|
+
}
|
|
1393
794
|
|
|
1394
795
|
// src/reputations/reputations.ts
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
* @param reputationTiersId The reputation tier ID.
|
|
1420
|
-
* @returns The reputation tier. See {@link ReputationTiersResponse}.
|
|
1421
|
-
*/
|
|
1422
|
-
reputationTiers: (reputationTiersId) => {
|
|
1423
|
-
return {
|
|
1424
|
-
path: `${base}/reputation-tiers/${reputationTiersId}`,
|
|
1425
|
-
namespace: "static"
|
|
1426
|
-
};
|
|
1427
|
-
},
|
|
1428
|
-
/**
|
|
1429
|
-
* Get a reputation tier index.
|
|
1430
|
-
* @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.
|
|
1431
|
-
*/
|
|
1432
|
-
reputationTiersIndex: () => {
|
|
1433
|
-
return {
|
|
1434
|
-
path: `${base}/reputation-tiers/index`,
|
|
1435
|
-
namespace: "static"
|
|
1436
|
-
};
|
|
1437
|
-
}
|
|
1438
|
-
};
|
|
796
|
+
function reputationFaction(reputationFactionId) {
|
|
797
|
+
return {
|
|
798
|
+
path: `${base}/reputation-faction/${reputationFactionId}`,
|
|
799
|
+
namespace: "static"
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
function reputationFactionIndex() {
|
|
803
|
+
return {
|
|
804
|
+
path: `${base}/reputation-faction/index`,
|
|
805
|
+
namespace: "static"
|
|
806
|
+
};
|
|
807
|
+
}
|
|
808
|
+
function reputationTiers(reputationTiersId) {
|
|
809
|
+
return {
|
|
810
|
+
path: `${base}/reputation-tiers/${reputationTiersId}`,
|
|
811
|
+
namespace: "static"
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
function reputationTiersIndex() {
|
|
815
|
+
return {
|
|
816
|
+
path: `${base}/reputation-tiers/index`,
|
|
817
|
+
namespace: "static"
|
|
818
|
+
};
|
|
819
|
+
}
|
|
1439
820
|
|
|
1440
821
|
// src/spell/spell.ts
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
* Get a spell search.
|
|
1466
|
-
* @param options The spell search options. See {@link SpellSearchParameters}.
|
|
1467
|
-
* @returns The spell search. See {@link SearchResponse}.
|
|
1468
|
-
*/
|
|
1469
|
-
spellSearch: (options) => {
|
|
1470
|
-
return {
|
|
1471
|
-
namespace: "static",
|
|
1472
|
-
parameters: {
|
|
1473
|
-
_page: options._page,
|
|
1474
|
-
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
1475
|
-
[`name.${options.locale}`]: options.name
|
|
1476
|
-
},
|
|
1477
|
-
path: `${searchBase}/spell`
|
|
1478
|
-
};
|
|
1479
|
-
}
|
|
1480
|
-
};
|
|
822
|
+
function spell(spellId) {
|
|
823
|
+
return {
|
|
824
|
+
path: `${base}/spell/${spellId}`,
|
|
825
|
+
namespace: "static"
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
function spellMedia(spellId) {
|
|
829
|
+
return {
|
|
830
|
+
path: `${mediaBase}/spell/${spellId}`,
|
|
831
|
+
namespace: "static"
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
function spellSearch(options) {
|
|
835
|
+
return {
|
|
836
|
+
namespace: "static",
|
|
837
|
+
parameters: {
|
|
838
|
+
_page: options._page,
|
|
839
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
840
|
+
[`name.${options.locale}`]: options.name
|
|
841
|
+
},
|
|
842
|
+
path: `${searchBase}/spell`
|
|
843
|
+
};
|
|
844
|
+
}
|
|
1481
845
|
|
|
1482
846
|
// src/talent/talent.ts
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
},
|
|
1526
|
-
/**
|
|
1527
|
-
* Get a talent tree by ID.
|
|
1528
|
-
* @param talentTreeId The talent tree ID.
|
|
1529
|
-
* @param specId The playable specialization ID.
|
|
1530
|
-
* @returns The talent tree. See {@link TalentTreeResponse}.
|
|
1531
|
-
*/
|
|
1532
|
-
talentTree: (talentTreeId, specId) => {
|
|
1533
|
-
return {
|
|
1534
|
-
path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,
|
|
1535
|
-
namespace: "static"
|
|
1536
|
-
};
|
|
1537
|
-
},
|
|
1538
|
-
/**
|
|
1539
|
-
* Get a talent tree index.
|
|
1540
|
-
* @returns The talent tree index. See {@link TalentTreeIndexResponse}.
|
|
1541
|
-
*/
|
|
1542
|
-
talentTreeIndex: () => {
|
|
1543
|
-
return {
|
|
1544
|
-
path: `${base}/talent-tree/index`,
|
|
1545
|
-
namespace: "static"
|
|
1546
|
-
};
|
|
1547
|
-
},
|
|
1548
|
-
/**
|
|
1549
|
-
* Get talent tree nodes by talent tree ID.
|
|
1550
|
-
* @param talentTreeId The talent tree ID.
|
|
1551
|
-
* @returns The talent tree nodes. See {@link TalentTreeNodesResponse}.
|
|
1552
|
-
*/
|
|
1553
|
-
talentTreeNodes: (talentTreeId) => {
|
|
1554
|
-
return {
|
|
1555
|
-
path: `${base}/talent-tree/${talentTreeId}`,
|
|
1556
|
-
namespace: "static"
|
|
1557
|
-
};
|
|
1558
|
-
}
|
|
1559
|
-
};
|
|
847
|
+
function pvpTalent(pvpTalentId) {
|
|
848
|
+
return {
|
|
849
|
+
path: `${base}/pvp-talent/${pvpTalentId}`,
|
|
850
|
+
namespace: "static"
|
|
851
|
+
};
|
|
852
|
+
}
|
|
853
|
+
function pvpTalentIndex() {
|
|
854
|
+
return {
|
|
855
|
+
path: `${base}/pvp-talent/index`,
|
|
856
|
+
namespace: "static"
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
function talent(talentId) {
|
|
860
|
+
return {
|
|
861
|
+
path: `${base}/talent/${talentId}`,
|
|
862
|
+
namespace: "static"
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
function talentIndex() {
|
|
866
|
+
return {
|
|
867
|
+
path: `${base}/talent/index`,
|
|
868
|
+
namespace: "static"
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
function talentTree(talentTreeId, specId) {
|
|
872
|
+
return {
|
|
873
|
+
path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,
|
|
874
|
+
namespace: "static"
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
function talentTreeIndex() {
|
|
878
|
+
return {
|
|
879
|
+
path: `${base}/talent-tree/index`,
|
|
880
|
+
namespace: "static"
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
function talentTreeNodes(talentTreeId) {
|
|
884
|
+
return {
|
|
885
|
+
path: `${base}/talent-tree/${talentTreeId}`,
|
|
886
|
+
namespace: "static"
|
|
887
|
+
};
|
|
888
|
+
}
|
|
1560
889
|
|
|
1561
890
|
// src/tech-talent/tech-talent.ts
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
namespace: "static"
|
|
1593
|
-
};
|
|
1594
|
-
},
|
|
1595
|
-
/**
|
|
1596
|
-
* Get a tech talent tree by ID.
|
|
1597
|
-
* @param techTalentTreeId The tech talent tree ID.
|
|
1598
|
-
* @returns The tech talent tree. See {@link TechTalentTreeResponse}.
|
|
1599
|
-
*/
|
|
1600
|
-
techTalentTree: (techTalentTreeId) => {
|
|
1601
|
-
return {
|
|
1602
|
-
path: `${base}/tech-talent-tree/${techTalentTreeId}`,
|
|
1603
|
-
namespace: "static"
|
|
1604
|
-
};
|
|
1605
|
-
},
|
|
1606
|
-
/**
|
|
1607
|
-
* Get a tech talent tree index.
|
|
1608
|
-
* @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.
|
|
1609
|
-
*/
|
|
1610
|
-
techTalentTreeIndex: () => {
|
|
1611
|
-
return {
|
|
1612
|
-
path: `${base}/tech-talent-tree/index`,
|
|
1613
|
-
namespace: "static"
|
|
1614
|
-
};
|
|
1615
|
-
}
|
|
1616
|
-
};
|
|
891
|
+
function techTalent(techTalentId) {
|
|
892
|
+
return {
|
|
893
|
+
path: `${base}/tech-talent/${techTalentId}`,
|
|
894
|
+
namespace: "static"
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
function techTalentIndex() {
|
|
898
|
+
return {
|
|
899
|
+
path: `${base}/tech-talent/index`,
|
|
900
|
+
namespace: "static"
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
function techTalentMedia(techTalentId) {
|
|
904
|
+
return {
|
|
905
|
+
path: `${mediaBase}/tech-talent/${techTalentId}`,
|
|
906
|
+
namespace: "static"
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
function techTalentTree(techTalentTreeId) {
|
|
910
|
+
return {
|
|
911
|
+
path: `${base}/tech-talent-tree/${techTalentTreeId}`,
|
|
912
|
+
namespace: "static"
|
|
913
|
+
};
|
|
914
|
+
}
|
|
915
|
+
function techTalentTreeIndex() {
|
|
916
|
+
return {
|
|
917
|
+
path: `${base}/tech-talent-tree/index`,
|
|
918
|
+
namespace: "static"
|
|
919
|
+
};
|
|
920
|
+
}
|
|
1617
921
|
|
|
1618
922
|
// src/title/title.ts
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* Get a title index.
|
|
1633
|
-
* @returns The title index. See {@link TitleIndexResponse}.
|
|
1634
|
-
*/
|
|
1635
|
-
titleIndex: () => {
|
|
1636
|
-
return {
|
|
1637
|
-
path: `${base}/title/index`,
|
|
1638
|
-
namespace: "static"
|
|
1639
|
-
};
|
|
1640
|
-
}
|
|
1641
|
-
};
|
|
923
|
+
function title(titleId) {
|
|
924
|
+
return {
|
|
925
|
+
path: `${base}/title/${titleId}`,
|
|
926
|
+
namespace: "static"
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
function titleIndex() {
|
|
930
|
+
return {
|
|
931
|
+
path: `${base}/title/index`,
|
|
932
|
+
namespace: "static"
|
|
933
|
+
};
|
|
934
|
+
}
|
|
1642
935
|
|
|
1643
936
|
// src/toy/toy.ts
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* Get a toy index.
|
|
1658
|
-
* @returns The toy index. See {@link ToyIndexResponse}.
|
|
1659
|
-
*/
|
|
1660
|
-
toyIndex: () => {
|
|
1661
|
-
return {
|
|
1662
|
-
path: `${base}/toy/index`,
|
|
1663
|
-
namespace: "static"
|
|
1664
|
-
};
|
|
1665
|
-
}
|
|
1666
|
-
};
|
|
937
|
+
function toy(toyId) {
|
|
938
|
+
return {
|
|
939
|
+
path: `${base}/toy/${toyId}`,
|
|
940
|
+
namespace: "static"
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
function toyIndex() {
|
|
944
|
+
return {
|
|
945
|
+
path: `${base}/toy/index`,
|
|
946
|
+
namespace: "static"
|
|
947
|
+
};
|
|
948
|
+
}
|
|
1667
949
|
|
|
1668
950
|
// src/wow-token/wow-token.ts
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
return {
|
|
1676
|
-
path: `${base}/token/index`,
|
|
1677
|
-
namespace: "dynamic"
|
|
1678
|
-
};
|
|
1679
|
-
}
|
|
1680
|
-
};
|
|
951
|
+
function wowToken() {
|
|
952
|
+
return {
|
|
953
|
+
path: `${base}/token/index`,
|
|
954
|
+
namespace: "dynamic"
|
|
955
|
+
};
|
|
956
|
+
}
|
|
1681
957
|
|
|
1682
958
|
// src/index.ts
|
|
1683
959
|
var wow = {
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
960
|
+
//Achievements
|
|
961
|
+
achievement,
|
|
962
|
+
achievementCategory,
|
|
963
|
+
achievementCategoryIndex,
|
|
964
|
+
achievementIndex,
|
|
965
|
+
achievementMedia,
|
|
966
|
+
//Auction House
|
|
967
|
+
auctions,
|
|
968
|
+
commodities,
|
|
969
|
+
//Azerite Essence
|
|
970
|
+
azeriteEssence,
|
|
971
|
+
azeriteEssenceIndex,
|
|
972
|
+
azeriteEssenceMedia,
|
|
973
|
+
azeriteEssenceSearch,
|
|
974
|
+
//Connected Realm
|
|
975
|
+
connectedRealm,
|
|
976
|
+
connectedRealmIndex,
|
|
977
|
+
connectedRealmSearch,
|
|
978
|
+
//Covenant
|
|
979
|
+
conduit,
|
|
980
|
+
conduitIndex,
|
|
981
|
+
covenant,
|
|
982
|
+
covenantIndex,
|
|
983
|
+
covenantMedia,
|
|
984
|
+
soulbind,
|
|
985
|
+
soulbindIndex,
|
|
986
|
+
//Creature
|
|
987
|
+
creature,
|
|
988
|
+
creatureDisplayMedia,
|
|
989
|
+
creatureFamily,
|
|
990
|
+
creatureFamilyIndex,
|
|
991
|
+
creatureFamilyMedia,
|
|
992
|
+
creatureType,
|
|
993
|
+
creatureTypeIndex,
|
|
994
|
+
creatureSearch,
|
|
995
|
+
//Guild Crest
|
|
996
|
+
guildCrestComponentsIndex,
|
|
997
|
+
guildCrestBorder,
|
|
998
|
+
guildCrestEmblem,
|
|
999
|
+
//Heirloom
|
|
1000
|
+
heirloom,
|
|
1001
|
+
heirloomIndex,
|
|
1002
|
+
//Item
|
|
1003
|
+
item,
|
|
1004
|
+
itemClass,
|
|
1005
|
+
itemSubClass,
|
|
1006
|
+
itemClassIndex,
|
|
1007
|
+
itemMedia,
|
|
1008
|
+
itemSet,
|
|
1009
|
+
itemSetIndex,
|
|
1010
|
+
itemSearch,
|
|
1011
|
+
//Journal
|
|
1012
|
+
journalEncounter,
|
|
1013
|
+
journalEncounterIndex,
|
|
1014
|
+
journalEncounterSearch,
|
|
1015
|
+
journalExpansion,
|
|
1016
|
+
journalExpansionIndex,
|
|
1017
|
+
journalInstance,
|
|
1018
|
+
journalInstanceIndex,
|
|
1019
|
+
journalInstanceMedia,
|
|
1020
|
+
//Media Search
|
|
1021
|
+
mediaSearch,
|
|
1022
|
+
//Modified Crafting
|
|
1023
|
+
modifiedCraftingCategory,
|
|
1024
|
+
modifiedCraftingCategoryIndex,
|
|
1025
|
+
modifiedCraftingIndex,
|
|
1026
|
+
modifiedCraftingReagentSlotType,
|
|
1027
|
+
modifiedCraftingReagentSlotTypeIndex,
|
|
1028
|
+
//Mount
|
|
1029
|
+
mount,
|
|
1030
|
+
mountIndex,
|
|
1031
|
+
mountSearch,
|
|
1032
|
+
//Mythic Keystone Affix
|
|
1033
|
+
mythicKeystoneAffix,
|
|
1034
|
+
mythicKeystoneAffixIndex,
|
|
1035
|
+
mythicKeystoneAffixMedia,
|
|
1036
|
+
//Mythic Keystone Dungeon
|
|
1037
|
+
mythicKeystoneDungeon,
|
|
1038
|
+
mythicKeystoneDungeonIndex,
|
|
1039
|
+
mythicKeystoneIndex,
|
|
1040
|
+
mythicKeystonePeriod,
|
|
1041
|
+
mythicKeystonePeriodIndex,
|
|
1042
|
+
mythicKeystoneSeason,
|
|
1043
|
+
mythicKeystoneSeasonIndex,
|
|
1044
|
+
//Mythic Keystone Leaderboard
|
|
1045
|
+
mythicKeystoneLeaderboard,
|
|
1046
|
+
mythicKeystoneLeaderboardIndex,
|
|
1047
|
+
//Mythic Raid Leaderboard
|
|
1048
|
+
mythicRaidLeaderboard,
|
|
1049
|
+
//Pet
|
|
1050
|
+
pet,
|
|
1051
|
+
petIndex,
|
|
1052
|
+
petMedia,
|
|
1053
|
+
petAbility,
|
|
1054
|
+
petAbilityIndex,
|
|
1055
|
+
petAbilityMedia,
|
|
1056
|
+
//Playable Class
|
|
1057
|
+
playableClass,
|
|
1058
|
+
playableClassIndex,
|
|
1059
|
+
playableClassMedia,
|
|
1060
|
+
pvpTalentSlots,
|
|
1061
|
+
//Playable
|
|
1062
|
+
playableRace,
|
|
1063
|
+
playableRaceIndex,
|
|
1064
|
+
//Playable Specialization
|
|
1065
|
+
playableSpecialization,
|
|
1066
|
+
playableSpecializationIndex,
|
|
1067
|
+
playableSpecializationMedia,
|
|
1068
|
+
//Power Type
|
|
1069
|
+
powerType,
|
|
1070
|
+
powerTypeIndex,
|
|
1071
|
+
//Profession
|
|
1072
|
+
profession,
|
|
1073
|
+
professionIndex,
|
|
1074
|
+
professionMedia,
|
|
1075
|
+
professionSkillTier,
|
|
1076
|
+
recipe,
|
|
1077
|
+
recipeMedia,
|
|
1078
|
+
//Pvp Season
|
|
1079
|
+
pvpLeaderboard,
|
|
1080
|
+
pvpLeaderboardIndex,
|
|
1081
|
+
pvpRewardsIndex,
|
|
1082
|
+
pvpSeason,
|
|
1083
|
+
pvpSeasonIndex,
|
|
1084
|
+
//Pvp Tier
|
|
1085
|
+
pvpTier,
|
|
1086
|
+
pvpTierIndex,
|
|
1087
|
+
pvpTierMedia,
|
|
1088
|
+
//Quest
|
|
1089
|
+
quest,
|
|
1090
|
+
questIndex,
|
|
1091
|
+
questArea,
|
|
1092
|
+
questAreaIndex,
|
|
1093
|
+
questCategory,
|
|
1094
|
+
questCategoryIndex,
|
|
1095
|
+
questType,
|
|
1096
|
+
questTypeIndex,
|
|
1097
|
+
//Realm
|
|
1098
|
+
realm,
|
|
1099
|
+
realmIndex,
|
|
1100
|
+
realmSearch,
|
|
1101
|
+
//Region
|
|
1102
|
+
region,
|
|
1103
|
+
regionIndex,
|
|
1104
|
+
//Reputations
|
|
1105
|
+
reputationFaction,
|
|
1106
|
+
reputationFactionIndex,
|
|
1107
|
+
reputationTiers,
|
|
1108
|
+
reputationTiersIndex,
|
|
1109
|
+
//Spell
|
|
1110
|
+
spell,
|
|
1111
|
+
spellMedia,
|
|
1112
|
+
spellSearch,
|
|
1113
|
+
//Talent
|
|
1114
|
+
pvpTalent,
|
|
1115
|
+
pvpTalentIndex,
|
|
1116
|
+
talentIndex,
|
|
1117
|
+
talentTree,
|
|
1118
|
+
talentTreeIndex,
|
|
1119
|
+
talentTreeNodes,
|
|
1120
|
+
//Tech Talent
|
|
1121
|
+
techTalent,
|
|
1122
|
+
techTalentIndex,
|
|
1123
|
+
techTalentMedia,
|
|
1124
|
+
techTalentTree,
|
|
1125
|
+
techTalentTreeIndex,
|
|
1126
|
+
//Title
|
|
1127
|
+
title,
|
|
1128
|
+
titleIndex,
|
|
1129
|
+
//Toy
|
|
1130
|
+
toy,
|
|
1131
|
+
toyIndex,
|
|
1132
|
+
//WoW Token
|
|
1133
|
+
wowToken
|
|
1719
1134
|
};
|
|
1720
1135
|
export {
|
|
1721
|
-
|
|
1136
|
+
achievement,
|
|
1137
|
+
achievementCategory,
|
|
1138
|
+
achievementCategoryIndex,
|
|
1139
|
+
achievementIndex,
|
|
1140
|
+
achievementMedia,
|
|
1141
|
+
auctions,
|
|
1142
|
+
azeriteEssence,
|
|
1143
|
+
azeriteEssenceIndex,
|
|
1144
|
+
azeriteEssenceMedia,
|
|
1145
|
+
azeriteEssenceSearch,
|
|
1146
|
+
commodities,
|
|
1147
|
+
conduit,
|
|
1148
|
+
conduitIndex,
|
|
1149
|
+
connectedRealm,
|
|
1150
|
+
connectedRealmIndex,
|
|
1151
|
+
connectedRealmSearch,
|
|
1152
|
+
covenant,
|
|
1153
|
+
covenantIndex,
|
|
1154
|
+
covenantMedia,
|
|
1155
|
+
creature,
|
|
1156
|
+
creatureDisplayMedia,
|
|
1157
|
+
creatureFamily,
|
|
1158
|
+
creatureFamilyIndex,
|
|
1159
|
+
creatureFamilyMedia,
|
|
1160
|
+
creatureSearch,
|
|
1161
|
+
creatureType,
|
|
1162
|
+
creatureTypeIndex,
|
|
1163
|
+
guildCrestBorder,
|
|
1164
|
+
guildCrestComponentsIndex,
|
|
1165
|
+
guildCrestEmblem,
|
|
1166
|
+
heirloom,
|
|
1167
|
+
heirloomIndex,
|
|
1168
|
+
item,
|
|
1169
|
+
itemClass,
|
|
1170
|
+
itemClassIndex,
|
|
1171
|
+
itemMedia,
|
|
1172
|
+
itemSearch,
|
|
1173
|
+
itemSet,
|
|
1174
|
+
itemSetIndex,
|
|
1175
|
+
itemSubClass,
|
|
1176
|
+
journalEncounter,
|
|
1177
|
+
journalEncounterIndex,
|
|
1178
|
+
journalEncounterSearch,
|
|
1179
|
+
journalExpansion,
|
|
1180
|
+
journalExpansionIndex,
|
|
1181
|
+
journalInstance,
|
|
1182
|
+
journalInstanceIndex,
|
|
1183
|
+
journalInstanceMedia,
|
|
1184
|
+
mediaSearch,
|
|
1185
|
+
modifiedCraftingCategory,
|
|
1186
|
+
modifiedCraftingCategoryIndex,
|
|
1187
|
+
modifiedCraftingIndex,
|
|
1188
|
+
modifiedCraftingReagentSlotType,
|
|
1189
|
+
modifiedCraftingReagentSlotTypeIndex,
|
|
1190
|
+
mount,
|
|
1191
|
+
mountIndex,
|
|
1192
|
+
mountSearch,
|
|
1193
|
+
mythicKeystoneAffix,
|
|
1194
|
+
mythicKeystoneAffixIndex,
|
|
1195
|
+
mythicKeystoneAffixMedia,
|
|
1196
|
+
mythicKeystoneDungeon,
|
|
1197
|
+
mythicKeystoneDungeonIndex,
|
|
1198
|
+
mythicKeystoneIndex,
|
|
1199
|
+
mythicKeystoneLeaderboard,
|
|
1200
|
+
mythicKeystoneLeaderboardIndex,
|
|
1201
|
+
mythicKeystonePeriod,
|
|
1202
|
+
mythicKeystonePeriodIndex,
|
|
1203
|
+
mythicKeystoneSeason,
|
|
1204
|
+
mythicKeystoneSeasonIndex,
|
|
1205
|
+
mythicRaidLeaderboard,
|
|
1206
|
+
pet,
|
|
1207
|
+
petAbility,
|
|
1208
|
+
petAbilityIndex,
|
|
1209
|
+
petAbilityMedia,
|
|
1210
|
+
petIndex,
|
|
1211
|
+
petMedia,
|
|
1212
|
+
playableClass,
|
|
1213
|
+
playableClassIndex,
|
|
1214
|
+
playableClassMedia,
|
|
1215
|
+
playableRace,
|
|
1216
|
+
playableRaceIndex,
|
|
1217
|
+
playableSpecialization,
|
|
1218
|
+
playableSpecializationIndex,
|
|
1219
|
+
playableSpecializationMedia,
|
|
1220
|
+
powerType,
|
|
1221
|
+
powerTypeIndex,
|
|
1222
|
+
profession,
|
|
1223
|
+
professionIndex,
|
|
1224
|
+
professionMedia,
|
|
1225
|
+
professionSkillTier,
|
|
1226
|
+
pvpLeaderboard,
|
|
1227
|
+
pvpLeaderboardIndex,
|
|
1228
|
+
pvpRewardsIndex,
|
|
1229
|
+
pvpSeason,
|
|
1230
|
+
pvpSeasonIndex,
|
|
1231
|
+
pvpTalent,
|
|
1232
|
+
pvpTalentIndex,
|
|
1233
|
+
pvpTalentSlots,
|
|
1234
|
+
pvpTier,
|
|
1235
|
+
pvpTierIndex,
|
|
1236
|
+
pvpTierMedia,
|
|
1237
|
+
quest,
|
|
1238
|
+
questArea,
|
|
1239
|
+
questAreaIndex,
|
|
1240
|
+
questCategory,
|
|
1241
|
+
questCategoryIndex,
|
|
1242
|
+
questIndex,
|
|
1243
|
+
questType,
|
|
1244
|
+
questTypeIndex,
|
|
1245
|
+
realm,
|
|
1246
|
+
realmIndex,
|
|
1247
|
+
realmSearch,
|
|
1248
|
+
recipe,
|
|
1249
|
+
recipeMedia,
|
|
1250
|
+
region,
|
|
1251
|
+
regionIndex,
|
|
1252
|
+
reputationFaction,
|
|
1253
|
+
reputationFactionIndex,
|
|
1254
|
+
reputationTiers,
|
|
1255
|
+
reputationTiersIndex,
|
|
1256
|
+
soulbind,
|
|
1257
|
+
soulbindIndex,
|
|
1258
|
+
spell,
|
|
1259
|
+
spellMedia,
|
|
1260
|
+
spellSearch,
|
|
1261
|
+
talent,
|
|
1262
|
+
talentIndex,
|
|
1263
|
+
talentTree,
|
|
1264
|
+
talentTreeIndex,
|
|
1265
|
+
talentTreeNodes,
|
|
1266
|
+
techTalent,
|
|
1267
|
+
techTalentIndex,
|
|
1268
|
+
techTalentMedia,
|
|
1269
|
+
techTalentTree,
|
|
1270
|
+
techTalentTreeIndex,
|
|
1271
|
+
title,
|
|
1272
|
+
titleIndex,
|
|
1273
|
+
toy,
|
|
1274
|
+
toyIndex,
|
|
1275
|
+
wow,
|
|
1276
|
+
wowToken
|
|
1722
1277
|
};
|
|
1723
1278
|
//# sourceMappingURL=index.js.map
|