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