@blizzard-api/wow 1.1.3 → 1.2.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
@@ -2,6 +2,65 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ // src/account-profile/account-profile.ts
6
+ var accountProfileBase = "/profile/user/wow";
7
+ function accountProfileSummary(token) {
8
+ return {
9
+ namespace: "profile",
10
+ path: `${accountProfileBase}`,
11
+ token
12
+ };
13
+ }
14
+ function protectedCharacterProfileSummary(realmId, characterId, token) {
15
+ return {
16
+ namespace: "profile",
17
+ path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,
18
+ token
19
+ };
20
+ }
21
+ function accountCollectionsIndex(token) {
22
+ return {
23
+ namespace: "profile",
24
+ path: `${accountProfileBase}/collections`,
25
+ token
26
+ };
27
+ }
28
+ function accountHeirloomsCollectionSummary(token) {
29
+ return {
30
+ namespace: "profile",
31
+ path: `${accountProfileBase}/collections/heirlooms`,
32
+ token
33
+ };
34
+ }
35
+ function accountMountsCollectionSummary(token) {
36
+ return {
37
+ namespace: "profile",
38
+ path: `${accountProfileBase}/collections/mounts`,
39
+ token
40
+ };
41
+ }
42
+ function accountPetsCollectionSummary(token) {
43
+ return {
44
+ namespace: "profile",
45
+ path: `${accountProfileBase}/collections/pets`,
46
+ token
47
+ };
48
+ }
49
+ function accountToysCollectionSummary(token) {
50
+ return {
51
+ namespace: "profile",
52
+ path: `${accountProfileBase}/collections/toys`,
53
+ token
54
+ };
55
+ }
56
+ function accountTransmogsCollectionSummary(token) {
57
+ return {
58
+ namespace: "profile",
59
+ path: `${accountProfileBase}/collections/transmogs`,
60
+ token
61
+ };
62
+ }
63
+
5
64
  // src/base.ts
6
65
  var base = "/data/wow";
7
66
  var mediaBase = `${base}/media`;
@@ -80,6 +139,211 @@ function azeriteEssenceSearch(options) {
80
139
  };
81
140
  }
82
141
 
142
+ // src/character-achievements/character-achievements.ts
143
+ var basePath = "/profile/wow/character";
144
+ function characterAchievementsSummary(realmSlug, characterName) {
145
+ return {
146
+ namespace: "profile",
147
+ path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`
148
+ };
149
+ }
150
+ function characterAchievementStatistics(realmSlug, characterName) {
151
+ return {
152
+ namespace: "profile",
153
+ path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`
154
+ };
155
+ }
156
+
157
+ // src/character-appearance/character-appearance.ts
158
+ function characterAppearanceSummary(realmSlug, characterName) {
159
+ return {
160
+ namespace: "profile",
161
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/appearance`
162
+ };
163
+ }
164
+
165
+ // src/character-collections/character-collections.ts
166
+ var basePath2 = "/profile/wow/character";
167
+ function characterCollectionsIndex(realmSlug, characterName) {
168
+ return {
169
+ namespace: "profile",
170
+ path: `${basePath2}/${realmSlug}/${characterName}/collections`
171
+ };
172
+ }
173
+ function characterHeirloomsCollectionSummary(realmSlug, characterName) {
174
+ return {
175
+ namespace: "profile",
176
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/heirlooms`
177
+ };
178
+ }
179
+ function characterMountsCollectionSummary(realmSlug, characterName) {
180
+ return {
181
+ namespace: "profile",
182
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/mounts`
183
+ };
184
+ }
185
+ function characterPetsCollectionSummary(realmSlug, characterName) {
186
+ return {
187
+ namespace: "profile",
188
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/pets`
189
+ };
190
+ }
191
+ function characterToysCollectionSummary(realmSlug, characterName) {
192
+ return {
193
+ namespace: "profile",
194
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/toys`
195
+ };
196
+ }
197
+ function characterTransmogCollectionSummary(realmSlug, characterName) {
198
+ return {
199
+ namespace: "profile",
200
+ path: `${basePath2}/${realmSlug}/${characterName}/collections/transmogs`
201
+ };
202
+ }
203
+
204
+ // src/character-encounters/character-encounters.ts
205
+ var bathPase = "profile/wow/character";
206
+ function characterEncountersSummary(realmSlug, characterName) {
207
+ return {
208
+ namespace: "profile",
209
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters`
210
+ };
211
+ }
212
+ function characterDungeons(realmSlug, characterName) {
213
+ return {
214
+ namespace: "profile",
215
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/dungeons`
216
+ };
217
+ }
218
+ function characterRaids(realmSlug, characterName) {
219
+ return {
220
+ namespace: "profile",
221
+ path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/raids`
222
+ };
223
+ }
224
+
225
+ // src/character-equipment/character-equipment.ts
226
+ function characterEquipmentSummary(realmSlug, characterName) {
227
+ return {
228
+ namespace: "profile",
229
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`
230
+ };
231
+ }
232
+
233
+ // src/character-hunter-pets/character-hunter-pets.ts
234
+ function characterHunterPetsSummary(realmSlug, characterName) {
235
+ return {
236
+ namespace: "profile",
237
+ path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`
238
+ };
239
+ }
240
+
241
+ // src/character-media/character-media.ts
242
+ function characterMediaSummary(realmSlug, characterName) {
243
+ return {
244
+ namespace: "profile",
245
+ path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`
246
+ };
247
+ }
248
+
249
+ // src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts
250
+ function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
251
+ return {
252
+ namespace: "profile",
253
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`
254
+ };
255
+ }
256
+ function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
257
+ return {
258
+ namespace: "profile",
259
+ path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`
260
+ };
261
+ }
262
+
263
+ // src/character-professions/character-professions.ts
264
+ function characterProfessionsSummary(realmSlug, characterName) {
265
+ return {
266
+ namespace: "profile",
267
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`
268
+ };
269
+ }
270
+
271
+ // src/character-profile/character-profile.ts
272
+ function characterProfileSummary(realmSlug, characterName) {
273
+ return {
274
+ namespace: "profile",
275
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`
276
+ };
277
+ }
278
+ function characterProfileStatus(realmSlug, characterName) {
279
+ return {
280
+ namespace: "profile",
281
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`
282
+ };
283
+ }
284
+
285
+ // src/character-pvp/character-pvp.ts
286
+ function characterPvpSummary(realmSlug, characterName) {
287
+ return {
288
+ namespace: "profile",
289
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`
290
+ };
291
+ }
292
+
293
+ // src/character-quests/character-quests.ts
294
+ function characterQuests(realmSlug, characterName) {
295
+ return {
296
+ namespace: "profile",
297
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests`
298
+ };
299
+ }
300
+ function characterCompletedQuests(realmSlug, characterName) {
301
+ return {
302
+ namespace: "profile",
303
+ path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`
304
+ };
305
+ }
306
+
307
+ // src/character-reputations/character-reputations.ts
308
+ function characterReputationsSummary(realmSlug, characterName) {
309
+ return {
310
+ namespace: "profile",
311
+ path: `/profile/wow/character/${realmSlug}/${characterName}/reputations`
312
+ };
313
+ }
314
+
315
+ // src/character-soulbinds/character-soulbinds.ts
316
+ function characterSoulbinds(realmSlug, characterName) {
317
+ return {
318
+ namespace: "profile",
319
+ path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/soulbinds`
320
+ };
321
+ }
322
+
323
+ // src/character-specializations/character-specializations.ts
324
+ function characterSpecializationsSummary(realmSlug, characterName) {
325
+ return {
326
+ namespace: "profile",
327
+ path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`
328
+ };
329
+ }
330
+
331
+ // src/character-statistics/character-statistics.ts
332
+ function characterStatisticsSummary(realmSlug, characterName) {
333
+ return {
334
+ namespace: "profile",
335
+ path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`
336
+ };
337
+ }
338
+
339
+ // src/character-titles/character-titles.ts
340
+ function characterTitlesSummary(realmSlug, characterName) {
341
+ return {
342
+ namespace: "profile",
343
+ path: `/profile/wow/character/${realmSlug}/${characterName}/titles`
344
+ };
345
+ }
346
+
83
347
  // src/connected-realm/connected-realm.ts
84
348
  function connectedRealmIndex() {
85
349
  return {
@@ -225,6 +489,33 @@ function guildCrestEmblem(emblemId) {
225
489
  };
226
490
  }
227
491
 
492
+ // src/guild/guild.ts
493
+ var basePath3 = "/data/wow/guild";
494
+ function guild(realmSlug, nameSlug) {
495
+ return {
496
+ namespace: "profile",
497
+ path: `${basePath3}/${realmSlug}/${nameSlug}`
498
+ };
499
+ }
500
+ function guildActivity(realmSlug, nameSlug) {
501
+ return {
502
+ namespace: "profile",
503
+ path: `${basePath3}/${realmSlug}/${nameSlug}/activity`
504
+ };
505
+ }
506
+ function guildAchievements(realmSlug, nameSlug) {
507
+ return {
508
+ namespace: "profile",
509
+ path: `${basePath3}/${realmSlug}/${nameSlug}/achievements`
510
+ };
511
+ }
512
+ function guildRoster(realmSlug, nameSlug) {
513
+ return {
514
+ namespace: "profile",
515
+ path: `${basePath3}/${realmSlug}/${nameSlug}/roster`
516
+ };
517
+ }
518
+
228
519
  // src/heirloom/heirloom.ts
229
520
  function heirloom(heirloomId) {
230
521
  return {
@@ -961,6 +1252,15 @@ function wowToken() {
961
1252
 
962
1253
  // src/index.ts
963
1254
  var wow = {
1255
+ //Account Profile
1256
+ accountCollectionsIndex,
1257
+ accountHeirloomsCollectionSummary,
1258
+ accountMountsCollectionSummary,
1259
+ accountPetsCollectionSummary,
1260
+ accountProfileSummary,
1261
+ accountToysCollectionSummary,
1262
+ accountTransmogsCollectionSummary,
1263
+ protectedCharacterProfileSummary,
964
1264
  //Achievements
965
1265
  achievement,
966
1266
  achievementCategory,
@@ -975,6 +1275,51 @@ var wow = {
975
1275
  azeriteEssenceIndex,
976
1276
  azeriteEssenceMedia,
977
1277
  azeriteEssenceSearch,
1278
+ //Character Achievements
1279
+ characterAchievementsSummary,
1280
+ characterAchievementStatistics,
1281
+ //Character Appearance
1282
+ characterAppearanceSummary,
1283
+ //Character Collections
1284
+ characterCollectionsIndex,
1285
+ characterHeirloomsCollectionSummary,
1286
+ characterMountsCollectionSummary,
1287
+ characterPetsCollectionSummary,
1288
+ characterToysCollectionSummary,
1289
+ characterTransmogCollectionSummary,
1290
+ //Character Encounters
1291
+ characterDungeons,
1292
+ characterEncountersSummary,
1293
+ characterRaids,
1294
+ //Character Equipment
1295
+ characterEquipmentSummary,
1296
+ //Character Hunter Pets
1297
+ characterHunterPetsSummary,
1298
+ //Character Media
1299
+ characterMediaSummary,
1300
+ //Character Mythic Keystone Profile
1301
+ characterMythicKeystoneProfileIndex,
1302
+ characterMythicKeystoneSeasonDetails,
1303
+ //Character Professions
1304
+ characterProfessionsSummary,
1305
+ //Character Profile
1306
+ characterProfileStatus,
1307
+ characterProfileSummary,
1308
+ //Character PvP
1309
+ characterPvpSummary,
1310
+ //Character Quests
1311
+ characterCompletedQuests,
1312
+ characterQuests,
1313
+ //Character Reputations
1314
+ characterReputationsSummary,
1315
+ //Character Soulbinds
1316
+ characterSoulbinds,
1317
+ //Character Specializations
1318
+ characterSpecializationsSummary,
1319
+ //Character Statistics
1320
+ characterStatisticsSummary,
1321
+ //Character Titles
1322
+ characterTitlesSummary,
978
1323
  //Connected Realm
979
1324
  connectedRealm,
980
1325
  connectedRealmIndex,
@@ -996,6 +1341,11 @@ var wow = {
996
1341
  creatureSearch,
997
1342
  creatureType,
998
1343
  creatureTypeIndex,
1344
+ //Guild
1345
+ guild,
1346
+ guildAchievements,
1347
+ guildActivity,
1348
+ guildRoster,
999
1349
  //Guild Crest
1000
1350
  guildCrestBorder,
1001
1351
  guildCrestComponentsIndex,
@@ -1138,6 +1488,13 @@ var wow = {
1138
1488
  };
1139
1489
  var src_default = wow;
1140
1490
 
1491
+ exports.accountCollectionsIndex = accountCollectionsIndex;
1492
+ exports.accountHeirloomsCollectionSummary = accountHeirloomsCollectionSummary;
1493
+ exports.accountMountsCollectionSummary = accountMountsCollectionSummary;
1494
+ exports.accountPetsCollectionSummary = accountPetsCollectionSummary;
1495
+ exports.accountProfileSummary = accountProfileSummary;
1496
+ exports.accountToysCollectionSummary = accountToysCollectionSummary;
1497
+ exports.accountTransmogsCollectionSummary = accountTransmogsCollectionSummary;
1141
1498
  exports.achievement = achievement;
1142
1499
  exports.achievementCategory = achievementCategory;
1143
1500
  exports.achievementCategoryIndex = achievementCategoryIndex;
@@ -1148,6 +1505,34 @@ exports.azeriteEssence = azeriteEssence;
1148
1505
  exports.azeriteEssenceIndex = azeriteEssenceIndex;
1149
1506
  exports.azeriteEssenceMedia = azeriteEssenceMedia;
1150
1507
  exports.azeriteEssenceSearch = azeriteEssenceSearch;
1508
+ exports.characterAchievementStatistics = characterAchievementStatistics;
1509
+ exports.characterAchievementsSummary = characterAchievementsSummary;
1510
+ exports.characterAppearanceSummary = characterAppearanceSummary;
1511
+ exports.characterCollectionsIndex = characterCollectionsIndex;
1512
+ exports.characterCompletedQuests = characterCompletedQuests;
1513
+ exports.characterDungeons = characterDungeons;
1514
+ exports.characterEncountersSummary = characterEncountersSummary;
1515
+ exports.characterEquipmentSummary = characterEquipmentSummary;
1516
+ exports.characterHeirloomsCollectionSummary = characterHeirloomsCollectionSummary;
1517
+ exports.characterHunterPetsSummary = characterHunterPetsSummary;
1518
+ exports.characterMediaSummary = characterMediaSummary;
1519
+ exports.characterMountsCollectionSummary = characterMountsCollectionSummary;
1520
+ exports.characterMythicKeystoneProfileIndex = characterMythicKeystoneProfileIndex;
1521
+ exports.characterMythicKeystoneSeasonDetails = characterMythicKeystoneSeasonDetails;
1522
+ exports.characterPetsCollectionSummary = characterPetsCollectionSummary;
1523
+ exports.characterProfessionsSummary = characterProfessionsSummary;
1524
+ exports.characterProfileStatus = characterProfileStatus;
1525
+ exports.characterProfileSummary = characterProfileSummary;
1526
+ exports.characterPvpSummary = characterPvpSummary;
1527
+ exports.characterQuests = characterQuests;
1528
+ exports.characterRaids = characterRaids;
1529
+ exports.characterReputationsSummary = characterReputationsSummary;
1530
+ exports.characterSoulbinds = characterSoulbinds;
1531
+ exports.characterSpecializationsSummary = characterSpecializationsSummary;
1532
+ exports.characterStatisticsSummary = characterStatisticsSummary;
1533
+ exports.characterTitlesSummary = characterTitlesSummary;
1534
+ exports.characterToysCollectionSummary = characterToysCollectionSummary;
1535
+ exports.characterTransmogCollectionSummary = characterTransmogCollectionSummary;
1151
1536
  exports.commodities = commodities;
1152
1537
  exports.conduit = conduit;
1153
1538
  exports.conduitIndex = conduitIndex;
@@ -1166,9 +1551,13 @@ exports.creatureSearch = creatureSearch;
1166
1551
  exports.creatureType = creatureType;
1167
1552
  exports.creatureTypeIndex = creatureTypeIndex;
1168
1553
  exports.default = src_default;
1554
+ exports.guild = guild;
1555
+ exports.guildAchievements = guildAchievements;
1556
+ exports.guildActivity = guildActivity;
1169
1557
  exports.guildCrestBorder = guildCrestBorder;
1170
1558
  exports.guildCrestComponentsIndex = guildCrestComponentsIndex;
1171
1559
  exports.guildCrestEmblem = guildCrestEmblem;
1560
+ exports.guildRoster = guildRoster;
1172
1561
  exports.heirloom = heirloom;
1173
1562
  exports.heirloomIndex = heirloomIndex;
1174
1563
  exports.item = item;
@@ -1229,6 +1618,7 @@ exports.profession = profession;
1229
1618
  exports.professionIndex = professionIndex;
1230
1619
  exports.professionMedia = professionMedia;
1231
1620
  exports.professionSkillTier = professionSkillTier;
1621
+ exports.protectedCharacterProfileSummary = protectedCharacterProfileSummary;
1232
1622
  exports.pvpLeaderboard = pvpLeaderboard;
1233
1623
  exports.pvpLeaderboardIndex = pvpLeaderboardIndex;
1234
1624
  exports.pvpRewardsIndex = pvpRewardsIndex;
@@ -1280,5 +1670,5 @@ exports.toy = toy;
1280
1670
  exports.toyIndex = toyIndex;
1281
1671
  exports.wow = wow;
1282
1672
  exports.wowToken = wowToken;
1283
- //# sourceMappingURL=out.js.map
1673
+ //# sourceMappingURL=index.cjs.map
1284
1674
  //# sourceMappingURL=index.cjs.map