@blizzard-api/wow 1.1.4 → 1.2.1

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.js CHANGED
@@ -1,3 +1,62 @@
1
+ // src/account-profile/account-profile.ts
2
+ var accountProfileBase = "/profile/user/wow";
3
+ function accountProfileSummary(token) {
4
+ return {
5
+ namespace: "profile",
6
+ path: `${accountProfileBase}`,
7
+ token
8
+ };
9
+ }
10
+ function protectedCharacterProfileSummary(realmId, characterId, token) {
11
+ return {
12
+ namespace: "profile",
13
+ path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,
14
+ token
15
+ };
16
+ }
17
+ function accountCollectionsIndex(token) {
18
+ return {
19
+ namespace: "profile",
20
+ path: `${accountProfileBase}/collections`,
21
+ token
22
+ };
23
+ }
24
+ function accountHeirloomsCollectionSummary(token) {
25
+ return {
26
+ namespace: "profile",
27
+ path: `${accountProfileBase}/collections/heirlooms`,
28
+ token
29
+ };
30
+ }
31
+ function accountMountsCollectionSummary(token) {
32
+ return {
33
+ namespace: "profile",
34
+ path: `${accountProfileBase}/collections/mounts`,
35
+ token
36
+ };
37
+ }
38
+ function accountPetsCollectionSummary(token) {
39
+ return {
40
+ namespace: "profile",
41
+ path: `${accountProfileBase}/collections/pets`,
42
+ token
43
+ };
44
+ }
45
+ function accountToysCollectionSummary(token) {
46
+ return {
47
+ namespace: "profile",
48
+ path: `${accountProfileBase}/collections/toys`,
49
+ token
50
+ };
51
+ }
52
+ function accountTransmogsCollectionSummary(token) {
53
+ return {
54
+ namespace: "profile",
55
+ path: `${accountProfileBase}/collections/transmogs`,
56
+ token
57
+ };
58
+ }
59
+
1
60
  // src/base.ts
2
61
  var base = "/data/wow";
3
62
  var mediaBase = `${base}/media`;
@@ -76,6 +135,211 @@ function azeriteEssenceSearch(options) {
76
135
  };
77
136
  }
78
137
 
138
+ // src/character-achievements/character-achievements.ts
139
+ var basePath = "/profile/wow/character";
140
+ function characterAchievementsSummary(realmSlug, characterName) {
141
+ return {
142
+ namespace: "profile",
143
+ path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`
144
+ };
145
+ }
146
+ function characterAchievementStatistics(realmSlug, characterName) {
147
+ return {
148
+ namespace: "profile",
149
+ path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`
150
+ };
151
+ }
152
+
153
+ // src/character-appearance/character-appearance.ts
154
+ function characterAppearanceSummary(realmSlug, characterName) {
155
+ return {
156
+ namespace: "profile",
157
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/appearance`
158
+ };
159
+ }
160
+
161
+ // src/character-collections/character-collections.ts
162
+ var basePath2 = "/profile/wow/character";
163
+ function characterCollectionsIndex(realmSlug, characterName) {
164
+ return {
165
+ namespace: "profile",
166
+ path: `${basePath2}/${realmSlug}/${characterName}/collections`
167
+ };
168
+ }
169
+ function characterHeirloomsCollectionSummary(realmSlug, characterName) {
170
+ return {
171
+ namespace: "profile",
172
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/heirlooms`
173
+ };
174
+ }
175
+ function characterMountsCollectionSummary(realmSlug, characterName) {
176
+ return {
177
+ namespace: "profile",
178
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/mounts`
179
+ };
180
+ }
181
+ function characterPetsCollectionSummary(realmSlug, characterName) {
182
+ return {
183
+ namespace: "profile",
184
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/pets`
185
+ };
186
+ }
187
+ function characterToysCollectionSummary(realmSlug, characterName) {
188
+ return {
189
+ namespace: "profile",
190
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/toys`
191
+ };
192
+ }
193
+ function characterTransmogCollectionSummary(realmSlug, characterName) {
194
+ return {
195
+ namespace: "profile",
196
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/transmogs`
197
+ };
198
+ }
199
+
200
+ // src/character-encounters/character-encounters.ts
201
+ var bathPase = "profile/wow/character";
202
+ function characterEncountersSummary(realmSlug, characterName) {
203
+ return {
204
+ namespace: "profile",
205
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters`
206
+ };
207
+ }
208
+ function characterDungeons(realmSlug, characterName) {
209
+ return {
210
+ namespace: "profile",
211
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/dungeons`
212
+ };
213
+ }
214
+ function characterRaids(realmSlug, characterName) {
215
+ return {
216
+ namespace: "profile",
217
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/raids`
218
+ };
219
+ }
220
+
221
+ // src/character-equipment/character-equipment.ts
222
+ function characterEquipmentSummary(realmSlug, characterName) {
223
+ return {
224
+ namespace: "profile",
225
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`
226
+ };
227
+ }
228
+
229
+ // src/character-hunter-pets/character-hunter-pets.ts
230
+ function characterHunterPetsSummary(realmSlug, characterName) {
231
+ return {
232
+ namespace: "profile",
233
+ path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`
234
+ };
235
+ }
236
+
237
+ // src/character-media/character-media.ts
238
+ function characterMediaSummary(realmSlug, characterName) {
239
+ return {
240
+ namespace: "profile",
241
+ path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`
242
+ };
243
+ }
244
+
245
+ // src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts
246
+ function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
247
+ return {
248
+ namespace: "profile",
249
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`
250
+ };
251
+ }
252
+ function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
253
+ return {
254
+ namespace: "profile",
255
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`
256
+ };
257
+ }
258
+
259
+ // src/character-professions/character-professions.ts
260
+ function characterProfessionsSummary(realmSlug, characterName) {
261
+ return {
262
+ namespace: "profile",
263
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`
264
+ };
265
+ }
266
+
267
+ // src/character-profile/character-profile.ts
268
+ function characterProfileSummary(realmSlug, characterName) {
269
+ return {
270
+ namespace: "profile",
271
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`
272
+ };
273
+ }
274
+ function characterProfileStatus(realmSlug, characterName) {
275
+ return {
276
+ namespace: "profile",
277
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`
278
+ };
279
+ }
280
+
281
+ // src/character-pvp/character-pvp.ts
282
+ function characterPvpSummary(realmSlug, characterName) {
283
+ return {
284
+ namespace: "profile",
285
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`
286
+ };
287
+ }
288
+
289
+ // src/character-quests/character-quests.ts
290
+ function characterQuests(realmSlug, characterName) {
291
+ return {
292
+ namespace: "profile",
293
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests`
294
+ };
295
+ }
296
+ function characterCompletedQuests(realmSlug, characterName) {
297
+ return {
298
+ namespace: "profile",
299
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`
300
+ };
301
+ }
302
+
303
+ // src/character-reputations/character-reputations.ts
304
+ function characterReputationsSummary(realmSlug, characterName) {
305
+ return {
306
+ namespace: "profile",
307
+ path: `/profile/wow/character/${realmSlug}/${characterName}/reputations`
308
+ };
309
+ }
310
+
311
+ // src/character-soulbinds/character-soulbinds.ts
312
+ function characterSoulbinds(realmSlug, characterName) {
313
+ return {
314
+ namespace: "profile",
315
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/soulbinds`
316
+ };
317
+ }
318
+
319
+ // src/character-specializations/character-specializations.ts
320
+ function characterSpecializationsSummary(realmSlug, characterName) {
321
+ return {
322
+ namespace: "profile",
323
+ path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`
324
+ };
325
+ }
326
+
327
+ // src/character-statistics/character-statistics.ts
328
+ function characterStatisticsSummary(realmSlug, characterName) {
329
+ return {
330
+ namespace: "profile",
331
+ path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`
332
+ };
333
+ }
334
+
335
+ // src/character-titles/character-titles.ts
336
+ function characterTitlesSummary(realmSlug, characterName) {
337
+ return {
338
+ namespace: "profile",
339
+ path: `/profile/wow/character/${realmSlug}/${characterName}/titles`
340
+ };
341
+ }
342
+
79
343
  // src/connected-realm/connected-realm.ts
80
344
  function connectedRealmIndex() {
81
345
  return {
@@ -201,6 +465,33 @@ function creatureSearch(options) {
201
465
  };
202
466
  }
203
467
 
468
+ // src/guild/guild.ts
469
+ var basePath3 = "/data/wow/guild";
470
+ function guild(realmSlug, nameSlug) {
471
+ return {
472
+ namespace: "profile",
473
+ path: `${basePath3}/${realmSlug}/${nameSlug}`
474
+ };
475
+ }
476
+ function guildActivity(realmSlug, nameSlug) {
477
+ return {
478
+ namespace: "profile",
479
+ path: `${basePath3}/${realmSlug}/${nameSlug}/activity`
480
+ };
481
+ }
482
+ function guildAchievements(realmSlug, nameSlug) {
483
+ return {
484
+ namespace: "profile",
485
+ path: `${basePath3}/${realmSlug}/${nameSlug}/achievements`
486
+ };
487
+ }
488
+ function guildRoster(realmSlug, nameSlug) {
489
+ return {
490
+ namespace: "profile",
491
+ path: `${basePath3}/${realmSlug}/${nameSlug}/roster`
492
+ };
493
+ }
494
+
204
495
  // src/guild-crest/guild-crest.ts
205
496
  function guildCrestComponentsIndex() {
206
497
  return {
@@ -957,6 +1248,15 @@ function wowToken() {
957
1248
 
958
1249
  // src/index.ts
959
1250
  var wow = {
1251
+ //Account Profile
1252
+ accountCollectionsIndex,
1253
+ accountHeirloomsCollectionSummary,
1254
+ accountMountsCollectionSummary,
1255
+ accountPetsCollectionSummary,
1256
+ accountProfileSummary,
1257
+ accountToysCollectionSummary,
1258
+ accountTransmogsCollectionSummary,
1259
+ protectedCharacterProfileSummary,
960
1260
  //Achievements
961
1261
  achievement,
962
1262
  achievementCategory,
@@ -971,6 +1271,51 @@ var wow = {
971
1271
  azeriteEssenceIndex,
972
1272
  azeriteEssenceMedia,
973
1273
  azeriteEssenceSearch,
1274
+ //Character Achievements
1275
+ characterAchievementsSummary,
1276
+ characterAchievementStatistics,
1277
+ //Character Appearance
1278
+ characterAppearanceSummary,
1279
+ //Character Collections
1280
+ characterCollectionsIndex,
1281
+ characterHeirloomsCollectionSummary,
1282
+ characterMountsCollectionSummary,
1283
+ characterPetsCollectionSummary,
1284
+ characterToysCollectionSummary,
1285
+ characterTransmogCollectionSummary,
1286
+ //Character Encounters
1287
+ characterDungeons,
1288
+ characterEncountersSummary,
1289
+ characterRaids,
1290
+ //Character Equipment
1291
+ characterEquipmentSummary,
1292
+ //Character Hunter Pets
1293
+ characterHunterPetsSummary,
1294
+ //Character Media
1295
+ characterMediaSummary,
1296
+ //Character Mythic Keystone Profile
1297
+ characterMythicKeystoneProfileIndex,
1298
+ characterMythicKeystoneSeasonDetails,
1299
+ //Character Professions
1300
+ characterProfessionsSummary,
1301
+ //Character Profile
1302
+ characterProfileStatus,
1303
+ characterProfileSummary,
1304
+ //Character PvP
1305
+ characterPvpSummary,
1306
+ //Character Quests
1307
+ characterCompletedQuests,
1308
+ characterQuests,
1309
+ //Character Reputations
1310
+ characterReputationsSummary,
1311
+ //Character Soulbinds
1312
+ characterSoulbinds,
1313
+ //Character Specializations
1314
+ characterSpecializationsSummary,
1315
+ //Character Statistics
1316
+ characterStatisticsSummary,
1317
+ //Character Titles
1318
+ characterTitlesSummary,
974
1319
  //Connected Realm
975
1320
  connectedRealm,
976
1321
  connectedRealmIndex,
@@ -992,6 +1337,11 @@ var wow = {
992
1337
  creatureSearch,
993
1338
  creatureType,
994
1339
  creatureTypeIndex,
1340
+ //Guild
1341
+ guild,
1342
+ guildAchievements,
1343
+ guildActivity,
1344
+ guildRoster,
995
1345
  //Guild Crest
996
1346
  guildCrestBorder,
997
1347
  guildCrestComponentsIndex,
@@ -1134,6 +1484,6 @@ var wow = {
1134
1484
  };
1135
1485
  var src_default = wow;
1136
1486
 
1137
- export { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, src_default as default, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wow, wowToken };
1487
+ export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, characterAchievementStatistics, characterAchievementsSummary, characterAppearanceSummary, characterCollectionsIndex, characterCompletedQuests, characterDungeons, characterEncountersSummary, characterEquipmentSummary, characterHeirloomsCollectionSummary, characterHunterPetsSummary, characterMediaSummary, characterMountsCollectionSummary, characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails, characterPetsCollectionSummary, characterProfessionsSummary, characterProfileStatus, characterProfileSummary, characterPvpSummary, characterQuests, characterRaids, characterReputationsSummary, characterSoulbinds, characterSpecializationsSummary, characterStatisticsSummary, characterTitlesSummary, characterToysCollectionSummary, characterTransmogCollectionSummary, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, src_default as default, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, protectedCharacterProfileSummary, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wow, wowToken };
1138
1488
  //# sourceMappingURL=index.js.map
1139
1489
  //# sourceMappingURL=index.js.map