@blizzard-api/wow 4.2.0 → 4.2.2
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/account-profile/index.d.ts +1 -1
- package/dist/account-profile/index.js +8 -8
- package/dist/account-profile/index.js.map +1 -1
- package/dist/achievements/index.d.ts +1 -1
- package/dist/azerite-essence/index.d.ts +1 -1
- package/dist/character-achievements/index.d.ts +1 -1
- package/dist/character-appearance/index.d.ts +1 -1
- package/dist/character-collections/index.d.ts +1 -1
- package/dist/character-equipment/index.d.ts +1 -1
- package/dist/character-hunter-pets/index.d.ts +1 -1
- package/dist/character-pvp/index.d.ts +1 -1
- package/dist/character-soulbinds/index.d.ts +1 -1
- package/dist/covenant/index.d.ts +1 -1
- package/dist/creature/index.d.ts +1 -1
- package/dist/guild/index.d.ts +1 -1
- package/dist/guild-crest/index.d.ts +1 -1
- package/dist/heirloom/index.d.ts +1 -1
- package/dist/housing-decor/index.d.ts +1 -1
- package/dist/{index-t9XEyuoB.d.ts → index-0Bhntrik.d.ts} +4 -7
- package/dist/{index-C1YdeTeh.d.ts → index-B8gaHbmp.d.ts} +7 -20
- package/dist/{index-BXil5dXL.d.ts → index-BA-S_4s8.d.ts} +4 -10
- package/dist/{index-fgCzpXCR.d.ts → index-BDKw2T5h.d.ts} +3 -6
- package/dist/{index-DwH3cSMV.d.ts → index-BHHO7RV3.d.ts} +3 -6
- package/dist/{index-DdmXkF2F.d.ts → index-BKuDd7nT.d.ts} +3 -7
- package/dist/{index-DyhS61bj.d.ts → index-BaL7P-bA.d.ts} +2 -2
- package/dist/{index-CaRIVhVv.d.ts → index-Bz4N9R8o.d.ts} +3 -5
- package/dist/{index-BzlqLJ2o.d.ts → index-C9yo07sd.d.ts} +4 -8
- package/dist/{index-Djm0g1Yi.d.ts → index-CCBUIqOU.d.ts} +5 -10
- package/dist/{index-BmPjWZiM.d.ts → index-CT77a0JF.d.ts} +10 -19
- package/dist/{index-Mo0Nrg5B.d.ts → index-Cc4oZQrM.d.ts} +5 -14
- package/dist/{index-C0vm3zy-.d.ts → index-Cev12iRl.d.ts} +5 -12
- package/dist/{index-BM2O2XmC.d.ts → index-CljBIBHy.d.ts} +5 -13
- package/dist/{index-C_3k8Q6y.d.ts → index-D317dq94.d.ts} +7 -10
- package/dist/{index-BlmuhVLr.d.ts → index-DB-CW2qB.d.ts} +3 -6
- package/dist/{index-gYxee23q.d.ts → index-DFlcJK5P.d.ts} +3 -6
- package/dist/{index-DOEs0UyY.d.ts → index-DGUAqQfD.d.ts} +3 -4
- package/dist/{index-D8XusKs5.d.ts → index-DP01g0EB.d.ts} +4 -8
- package/dist/{index-CJD7VTCV.d.ts → index-DRLsvfW5.d.ts} +3 -5
- package/dist/{index-DxnUqJGs.d.ts → index-DVacJ9ne.d.ts} +6 -15
- package/dist/{index-CEF2RBas.d.ts → index-DWXx_hQX.d.ts} +3 -5
- package/dist/{index-CcOUGucU.d.ts → index-DXJEmC1r.d.ts} +5 -11
- package/dist/{index-Zo-8eUYk.d.ts → index-Dcoq8HHI.d.ts} +4 -11
- package/dist/{index-mg4RaAL2.d.ts → index-DkkhK4mL.d.ts} +3 -6
- package/dist/{index-CahuOTZl.d.ts → index-DzFNhtcD.d.ts} +11 -18
- package/dist/{index-YDf016Cx.d.ts → index-ECczWYo-.d.ts} +3 -6
- package/dist/{index-DqReVqKo.d.ts → index-G_mEQkdH.d.ts} +3 -5
- package/dist/{index-BT8uSt8c.d.ts → index-Ho48pOyM.d.ts} +4 -11
- package/dist/{index-DxnfWpb6.d.ts → index-QcJecti6.d.ts} +3 -7
- package/dist/{index-voS2LTm4.d.ts → index-U0fk242w.d.ts} +3 -6
- package/dist/{index-FuJJlGI3.d.ts → index-V1Na_uH5.d.ts} +17 -17
- package/dist/{index-DMYMiLKS.d.ts → index-Y2Yt9EzH.d.ts} +3 -5
- package/dist/{index-DU34NE5y.d.ts → index-_gTBl2_Y.d.ts} +5 -12
- package/dist/{index-CHk_Cxrn.d.ts → index-bl4DdMgs.d.ts} +8 -11
- package/dist/{index-CPXZZPZt.d.ts → index-clqZ-M8A.d.ts} +3 -6
- package/dist/{index-D9zRWOGv.d.ts → index-eLWbd2FJ.d.ts} +3 -6
- package/dist/index.d.ts +37 -37
- package/dist/item/index.d.ts +1 -1
- package/dist/item-appearance/index.d.ts +1 -1
- package/dist/journal/index.d.ts +1 -1
- package/dist/mount/index.d.ts +1 -1
- package/dist/mythic-keystone-affix/index.d.ts +1 -1
- package/dist/mythic-keystone-dungeon/index.d.ts +1 -1
- package/dist/mythic-keystone-leaderboard/index.d.ts +1 -1
- package/dist/mythic-raid-leaderboard/index.d.ts +1 -1
- package/dist/neighborhood-map/index.d.ts +1 -1
- package/dist/pet/index.d.ts +1 -1
- package/dist/playable-class/index.d.ts +1 -1
- package/dist/playable-specialization/index.d.ts +1 -1
- package/dist/profession/index.d.ts +1 -1
- package/dist/pvp-season/index.d.ts +1 -1
- package/dist/pvp-tier/index.d.ts +1 -1
- package/dist/quest/index.d.ts +1 -1
- package/dist/reputations/index.d.ts +1 -1
- package/dist/spell/index.d.ts +1 -1
- package/dist/talent/index.d.ts +1 -1
- package/dist/tech-talent/index.d.ts +1 -1
- package/dist/toy/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, n as accountDecorCollection, o as accountProfileSummary, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex } from "../index-
|
|
1
|
+
import { a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, n as accountDecorCollection, o as accountProfileSummary, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex } from "../index-V1Na_uH5.js";
|
|
2
2
|
export { accountCollectionsIndex, accountDecorCollection, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
|
|
@@ -2,7 +2,7 @@ import { wowAccountProfileBasePath } from "@blizzard-api/core";
|
|
|
2
2
|
// src/account-profile/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
5
|
-
* @param token
|
|
5
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
6
6
|
* @returns an index of collection types for an account.
|
|
7
7
|
*/
|
|
8
8
|
function accountCollectionsIndex(token) {
|
|
@@ -14,7 +14,7 @@ function accountCollectionsIndex(token) {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
17
|
-
* @param token
|
|
17
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
18
18
|
* @returns the housing decor an account has collected.
|
|
19
19
|
*/
|
|
20
20
|
function accountDecorCollection(token) {
|
|
@@ -26,7 +26,7 @@ function accountDecorCollection(token) {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
29
|
-
* @param token
|
|
29
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
30
30
|
* @returns a summary of the heirlooms an account has obtained.
|
|
31
31
|
*/
|
|
32
32
|
function accountHeirloomsCollectionSummary(token) {
|
|
@@ -38,7 +38,7 @@ function accountHeirloomsCollectionSummary(token) {
|
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
41
|
-
* @param token
|
|
41
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
42
42
|
* @returns a summary of the mounts an account has obtained.
|
|
43
43
|
*/
|
|
44
44
|
function accountMountsCollectionSummary(token) {
|
|
@@ -50,7 +50,7 @@ function accountMountsCollectionSummary(token) {
|
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
53
|
-
* @param token
|
|
53
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
54
54
|
* @returns a summary of the battle pets an account has obtained.
|
|
55
55
|
*/
|
|
56
56
|
function accountPetsCollectionSummary(token) {
|
|
@@ -62,7 +62,7 @@ function accountPetsCollectionSummary(token) {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
65
|
-
* @param token
|
|
65
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
66
66
|
* @returns a profile summary for an account.
|
|
67
67
|
*/
|
|
68
68
|
function accountProfileSummary(token) {
|
|
@@ -74,7 +74,7 @@ function accountProfileSummary(token) {
|
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
77
|
-
* @param token
|
|
77
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
78
78
|
* @returns a summary of the toys an account has obtained.
|
|
79
79
|
*/
|
|
80
80
|
function accountToysCollectionSummary(token) {
|
|
@@ -86,7 +86,7 @@ function accountToysCollectionSummary(token) {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
89
|
-
* @param token
|
|
89
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
90
90
|
* @returns a summary of the transmog unlocks an account has obtained.
|
|
91
91
|
*/
|
|
92
92
|
function accountTransmogsCollectionSummary(token) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import { wowAccountProfileBasePath } from '@blizzard-api/core';\nimport type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountDecorCollectionResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import { wowAccountProfileBasePath } from '@blizzard-api/core';\nimport type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountDecorCollectionResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns an index of collection types for an account.\n */\nexport function accountCollectionsIndex(token?: string): ProtectedResource<AccountCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns the housing decor an account has collected.\n */\nexport function accountDecorCollection(token?: string): ProtectedResource<AccountDecorCollectionResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/decor`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the heirlooms an account has obtained.\n */\nexport function accountHeirloomsCollectionSummary(\n token?: string,\n): ProtectedResource<AccountHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/heirlooms`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the mounts an account has obtained.\n */\nexport function accountMountsCollectionSummary(\n token?: string,\n): ProtectedResource<AccountMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/mounts`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the battle pets an account has obtained.\n */\nexport function accountPetsCollectionSummary(token?: string): ProtectedResource<AccountPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/pets`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a profile summary for an account.\n */\nexport function accountProfileSummary(token?: string): ProtectedResource<AccountProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: wowAccountProfileBasePath,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the toys an account has obtained.\n */\nexport function accountToysCollectionSummary(token?: string): ProtectedResource<AccountToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/toys`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the transmog unlocks an account has obtained.\n */\nexport function accountTransmogsCollectionSummary(\n token?: string,\n): ProtectedResource<AccountTransmogsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/transmogs`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param realmId The realm ID.\n * @param characterId The character ID.\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a protected profile summary for a character.\n */\nexport function protectedCharacterProfileSummary(\n realmId: number,\n characterId: number,\n token: string,\n): ProtectedResource<ProtectedCharacterProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/protected-character/${realmId}-${characterId}`,\n token,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,wBAAwB,OAAoE;CAC1G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,uBAAuB,OAAmE;CACxG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,+BACd,OAC2D;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAyE;CACpH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,sBAAsB,OAAkE;CACtG,OAAO;EACL,WAAW;EACX,MAAM;EACN;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAyE;CACpH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;;;AASA,SAAgB,iCACd,SACA,aACA,OAC6D;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B,uBAAuB,QAAQ,GAAG;EACrE;CACF;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as achievementMedia, i as achievementIndex, n as achievementCategory, r as achievementCategoryIndex, t as achievement } from "../index-
|
|
1
|
+
import { a as achievementMedia, i as achievementIndex, n as achievementCategory, r as achievementCategoryIndex, t as achievement } from "../index-0Bhntrik.js";
|
|
2
2
|
export { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as azeriteEssenceSearch, n as azeriteEssenceIndex, r as azeriteEssenceMedia, t as azeriteEssence } from "../index-
|
|
1
|
+
import { i as azeriteEssenceSearch, n as azeriteEssenceIndex, r as azeriteEssenceMedia, t as azeriteEssence } from "../index-clqZ-M8A.js";
|
|
2
2
|
export { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterAchievementsSummary, t as characterAchievementStatistics } from "../index-
|
|
1
|
+
import { n as characterAchievementsSummary, t as characterAchievementStatistics } from "../index-Bz4N9R8o.js";
|
|
2
2
|
export { characterAchievementStatistics, characterAchievementsSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterAppearanceSummary } from "../index-
|
|
1
|
+
import { t as characterAppearanceSummary } from "../index-Y2Yt9EzH.js";
|
|
2
2
|
export { characterAppearanceSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as characterPetsCollectionSummary, i as characterMountsCollectionSummary, n as characterCollectionsIndex, o as characterToysCollectionSummary, r as characterHeirloomsCollectionSummary, s as characterTransmogCollectionSummary, t as characterCollectionDecor } from "../index-
|
|
1
|
+
import { a as characterPetsCollectionSummary, i as characterMountsCollectionSummary, n as characterCollectionsIndex, o as characterToysCollectionSummary, r as characterHeirloomsCollectionSummary, s as characterTransmogCollectionSummary, t as characterCollectionDecor } from "../index-QcJecti6.js";
|
|
2
2
|
export { characterCollectionDecor, characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterEquipmentSummary } from "../index-
|
|
1
|
+
import { t as characterEquipmentSummary } from "../index-BKuDd7nT.js";
|
|
2
2
|
export { characterEquipmentSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterHunterPetsSummary } from "../index-
|
|
1
|
+
import { t as characterHunterPetsSummary } from "../index-G_mEQkdH.js";
|
|
2
2
|
export { characterHunterPetsSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterPvpSummary, t as characterPvpBracketStatistics } from "../index-
|
|
1
|
+
import { n as characterPvpSummary, t as characterPvpBracketStatistics } from "../index-DP01g0EB.js";
|
|
2
2
|
export { characterPvpBracketStatistics, characterPvpSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterSoulbinds } from "../index-
|
|
1
|
+
import { t as characterSoulbinds } from "../index-DGUAqQfD.js";
|
|
2
2
|
export { characterSoulbinds };
|
package/dist/covenant/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as covenantMedia, i as covenantIndex, n as conduitIndex, o as soulbind, r as covenant, s as soulbindIndex, t as conduit } from "../index-
|
|
1
|
+
import { a as covenantMedia, i as covenantIndex, n as conduitIndex, o as soulbind, r as covenant, s as soulbindIndex, t as conduit } from "../index-Dcoq8HHI.js";
|
|
2
2
|
export { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex };
|
package/dist/creature/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as creatureFamilyMedia, c as creatureTypeIndex, i as creatureFamilyIndex, n as creatureDisplayMedia, o as creatureSearch, r as creatureFamily, s as creatureType, t as creature } from "../index-
|
|
1
|
+
import { a as creatureFamilyMedia, c as creatureTypeIndex, i as creatureFamilyIndex, n as creatureDisplayMedia, o as creatureSearch, r as creatureFamily, s as creatureType, t as creature } from "../index-B8gaHbmp.js";
|
|
2
2
|
export { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex };
|
package/dist/guild/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as guildRoster, n as guildAchievements, r as guildActivity, t as guild } from "../index-
|
|
1
|
+
import { i as guildRoster, n as guildAchievements, r as guildActivity, t as guild } from "../index-CCBUIqOU.js";
|
|
2
2
|
export { guild, guildAchievements, guildActivity, guildRoster };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as guildCrestComponentsIndex, r as guildCrestEmblem, t as guildCrestBorder } from "../index-
|
|
1
|
+
import { n as guildCrestComponentsIndex, r as guildCrestEmblem, t as guildCrestBorder } from "../index-U0fk242w.js";
|
|
2
2
|
export { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem };
|
package/dist/heirloom/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as heirloomIndex, t as heirloom } from "../index-
|
|
1
|
+
import { n as heirloomIndex, t as heirloom } from "../index-DzFNhtcD.js";
|
|
2
2
|
export { heirloom, heirloomIndex };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as fixtureHook, c as fixtureIndex, d as roomIndex, f as roomSearch, i as fixture, l as fixtureSearch, n as decorIndex, o as fixtureHookIndex, r as decorSearch, s as fixtureHookSearch, t as decor, u as room } from "../index-
|
|
1
|
+
import { a as fixtureHook, c as fixtureIndex, d as roomIndex, f as roomSearch, i as fixture, l as fixtureSearch, n as decorIndex, o as fixtureHookIndex, r as decorSearch, s as fixtureHookSearch, t as decor, u as room } from "../index-BDKw2T5h.js";
|
|
2
2
|
export { decor, decorIndex, decorSearch, fixture, fixtureHook, fixtureHookIndex, fixtureHookSearch, fixtureIndex, fixtureSearch, room, roomIndex, roomSearch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Faction,
|
|
1
|
+
import { Faction, IdKey, MediaAsset, NameId, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* Interface for a response from the achievement category index endpoint.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -66,9 +66,7 @@ interface AchievementResponse extends NameId, ResponseBase {
|
|
|
66
66
|
display_order: number;
|
|
67
67
|
guild_reward_items?: Array<NameIdKey>;
|
|
68
68
|
is_account_wide: boolean;
|
|
69
|
-
media:
|
|
70
|
-
id: number;
|
|
71
|
-
};
|
|
69
|
+
media: IdKey;
|
|
72
70
|
next_achievement?: NameIdKey;
|
|
73
71
|
points: number;
|
|
74
72
|
prerequisite_achievement?: NameIdKey;
|
|
@@ -78,8 +76,7 @@ interface AchievementResponse extends NameId, ResponseBase {
|
|
|
78
76
|
reward_description?: string;
|
|
79
77
|
reward_item?: NameIdKey;
|
|
80
78
|
}
|
|
81
|
-
interface Operator {
|
|
82
|
-
name: string;
|
|
79
|
+
interface Operator extends NameType {
|
|
83
80
|
type: 'AND' | 'COMPLETE_AT_LEAST';
|
|
84
81
|
}
|
|
85
82
|
/**
|
|
@@ -111,4 +108,4 @@ declare function achievementIndex(): Resource<AchievementIndexResponse>;
|
|
|
111
108
|
*/
|
|
112
109
|
declare function achievementMedia(achievementId: number): Resource<AchievementMediaResponse>;
|
|
113
110
|
export { achievementMedia as a, AchievementCriteria as c, AchievementResponse as d, achievementIndex as i, AchievementIndexResponse as l, achievementCategory as n, AchievementCategoryIndexResponse as o, achievementCategoryIndex as r, AchievementCategoryResponse as s, achievement as t, AchievementMediaResponse as u };
|
|
114
|
-
//# sourceMappingURL=index-
|
|
111
|
+
//# sourceMappingURL=index-0Bhntrik.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, KeyBase, Locales, MediaAsset, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, IdKey, KeyBase, Locales, MediaAsset, NameId, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for creature display media.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -26,22 +26,18 @@ interface CreatureFamilyMediaResponse extends ResponseBase {
|
|
|
26
26
|
* The response for a creature family.
|
|
27
27
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
28
28
|
*/
|
|
29
|
-
interface CreatureFamilyResponse extends ResponseBase {
|
|
30
|
-
|
|
31
|
-
media: Media;
|
|
32
|
-
name: string;
|
|
29
|
+
interface CreatureFamilyResponse extends NameId, ResponseBase {
|
|
30
|
+
media: IdKey;
|
|
33
31
|
specialization: NameIdKey;
|
|
34
32
|
}
|
|
35
33
|
/**
|
|
36
34
|
* The response for a creature.
|
|
37
35
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
38
36
|
*/
|
|
39
|
-
interface CreatureResponse extends ResponseBase {
|
|
40
|
-
creature_displays: Array<
|
|
37
|
+
interface CreatureResponse extends NameId, ResponseBase {
|
|
38
|
+
creature_displays: Array<IdKey>;
|
|
41
39
|
family: NameIdKey;
|
|
42
|
-
id: number;
|
|
43
40
|
is_tameable: boolean;
|
|
44
|
-
name: string;
|
|
45
41
|
type: NameIdKey;
|
|
46
42
|
}
|
|
47
43
|
/**
|
|
@@ -72,13 +68,7 @@ interface CreatureTypeIndexResponse extends ResponseBase {
|
|
|
72
68
|
* The response for a creature type.
|
|
73
69
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
74
70
|
*/
|
|
75
|
-
interface CreatureTypeResponse extends ResponseBase {
|
|
76
|
-
id: number;
|
|
77
|
-
name: string;
|
|
78
|
-
}
|
|
79
|
-
interface CreatureDisplay extends KeyBase {
|
|
80
|
-
id: number;
|
|
81
|
-
}
|
|
71
|
+
interface CreatureTypeResponse extends NameId, ResponseBase {}
|
|
82
72
|
interface CreatureSearchResponseItem extends KeyBase {
|
|
83
73
|
data: {
|
|
84
74
|
creature_displays: Array<{
|
|
@@ -101,9 +91,6 @@ interface DisplayMediaAsset {
|
|
|
101
91
|
key: string;
|
|
102
92
|
value: string;
|
|
103
93
|
}
|
|
104
|
-
interface Media extends KeyBase {
|
|
105
|
-
id: number;
|
|
106
|
-
}
|
|
107
94
|
/**
|
|
108
95
|
* Get a creature by ID.
|
|
109
96
|
* @param creatureId The creature ID.
|
|
@@ -151,4 +138,4 @@ declare function creatureType(creatureTypeId: number): Resource<CreatureTypeResp
|
|
|
151
138
|
*/
|
|
152
139
|
declare function creatureTypeIndex(): Resource<CreatureTypeIndexResponse>;
|
|
153
140
|
export { CreatureTypeResponse as _, creatureFamilyMedia as a, creatureTypeIndex as c, CreatureFamilyMediaResponse as d, CreatureFamilyResponse as f, CreatureTypeIndexResponse as g, CreatureSearchResponse as h, creatureFamilyIndex as i, CreatureDisplayMediaResponse as l, CreatureSearchParameters as m, creatureDisplayMedia as n, creatureSearch as o, CreatureResponse as p, creatureFamily as r, creatureType as s, creature as t, CreatureFamilyIndexResponse as u };
|
|
154
|
-
//# sourceMappingURL=index-
|
|
141
|
+
//# sourceMappingURL=index-B8gaHbmp.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NameId, NonNeutralFactions, NullishNameId, NullishNameIdKey, Origins, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
type KnownRaidSlugs = 'battle-of-dazaralor' | 'crucible-of-storms' | 'nyalotha-the-waking-city' | 'the-eternal-palace' | 'uldir' | 'castle-nathria' | 'sanctum-of-domination' | 'sepulcher-of-the-first-ones' | 'aberrus-the-shadowed-crucible' | 'amirdrassil-the-dreams-hope' | 'vault-of-the-incarnates' | 'liberation-of-undermine' | 'manaforge-omega' | 'nerubar-palace' | 'march-on-queldanas' | 'the-dreamrift' | 'the-voidspire' | (string & {});
|
|
3
3
|
/**
|
|
4
4
|
* The response for a Mythic Raid leaderboard.
|
|
@@ -7,7 +7,7 @@ type KnownRaidSlugs = 'battle-of-dazaralor' | 'crucible-of-storms' | 'nyalotha-t
|
|
|
7
7
|
interface MythicRaidLeaderboardResponse extends ResponseBase {
|
|
8
8
|
criteria_type: string;
|
|
9
9
|
entries: Array<Entry>;
|
|
10
|
-
journal_instance:
|
|
10
|
+
journal_instance: NullishNameIdKey;
|
|
11
11
|
slug: string;
|
|
12
12
|
}
|
|
13
13
|
interface Entry {
|
|
@@ -22,13 +22,7 @@ interface Entry {
|
|
|
22
22
|
interface Guild extends NameId {
|
|
23
23
|
realm: Realm$1;
|
|
24
24
|
}
|
|
25
|
-
interface
|
|
26
|
-
id: number;
|
|
27
|
-
name: null | string;
|
|
28
|
-
}
|
|
29
|
-
interface Realm$1 {
|
|
30
|
-
id: number;
|
|
31
|
-
name: null | string;
|
|
25
|
+
interface Realm$1 extends NullishNameId {
|
|
32
26
|
slug: string;
|
|
33
27
|
}
|
|
34
28
|
/**
|
|
@@ -39,4 +33,4 @@ interface Realm$1 {
|
|
|
39
33
|
*/
|
|
40
34
|
declare function mythicRaidLeaderboard(raid: KnownRaidSlugs, faction: Lowercase<NonNeutralFactions>): Resource<MythicRaidLeaderboardResponse>;
|
|
41
35
|
export { KnownRaidSlugs as n, MythicRaidLeaderboardResponse as r, mythicRaidLeaderboard as t };
|
|
42
|
-
//# sourceMappingURL=index-
|
|
36
|
+
//# sourceMappingURL=index-BA-S_4s8.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, KeyBase, Locales, NameId, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, IdKey, KeyBase, Locales, NameId, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
interface DecorIndexResponse extends ResponseBase {
|
|
3
3
|
decor_items: Array<NameIdKey>;
|
|
4
4
|
}
|
|
@@ -22,7 +22,7 @@ interface FixtureHookResponse extends ResponseBase {
|
|
|
22
22
|
type_name: string;
|
|
23
23
|
}
|
|
24
24
|
interface FixtureHookSearchResponse extends SearchResponseWithoutResults {
|
|
25
|
-
results: Array<
|
|
25
|
+
results: Array<IdKey>;
|
|
26
26
|
}
|
|
27
27
|
interface FixtureIndexResponse extends ResponseBase {
|
|
28
28
|
fixtures: Array<NullishNameIdKey>;
|
|
@@ -68,9 +68,6 @@ interface DyeSlot {
|
|
|
68
68
|
dye_color_category: string;
|
|
69
69
|
slot_index: number;
|
|
70
70
|
}
|
|
71
|
-
interface FixtureHookSearchResponseItem extends KeyBase {
|
|
72
|
-
id: number;
|
|
73
|
-
}
|
|
74
71
|
interface FixtureSearchResponseItem extends KeyBase {
|
|
75
72
|
data: {
|
|
76
73
|
id: number;
|
|
@@ -153,4 +150,4 @@ declare function room(roomId: number): Resource<RoomResponse>;
|
|
|
153
150
|
*/
|
|
154
151
|
declare function roomSearch(options: GenericDecorSearchParameters): Resource<RoomSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>>;
|
|
155
152
|
export { RoomIndexReponse as C, GenericDecorSearchParameters as S, RoomSearchResponse as T, FixtureHookResponse as _, fixtureHook as a, FixtureResponse as b, fixtureIndex as c, roomIndex as d, roomSearch as f, FixtureHookIndexResponse as g, DecorSearchResponse as h, fixture as i, fixtureSearch as l, DecorResponse as m, decorIndex as n, fixtureHookIndex as o, DecorIndexResponse as p, decorSearch as r, fixtureHookSearch as s, decor as t, room as u, FixtureHookSearchResponse as v, RoomResponse as w, FixtureSearchResponse as x, FixtureIndexResponse as y };
|
|
156
|
-
//# sourceMappingURL=index-
|
|
153
|
+
//# sourceMappingURL=index-BDKw2T5h.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GenderName, Href,
|
|
1
|
+
import { GenderName, Href, IdKey, MediaAsset, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a playable class index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -20,7 +20,7 @@ interface PlayableClassMediaResponse extends ResponseBase {
|
|
|
20
20
|
*/
|
|
21
21
|
interface PlayableClassResponse extends NameId, ResponseBase {
|
|
22
22
|
gender_name: GenderName;
|
|
23
|
-
media:
|
|
23
|
+
media: IdKey;
|
|
24
24
|
playable_races: Array<NameIdKey>;
|
|
25
25
|
power_type: NameIdKey;
|
|
26
26
|
pvp_talent_slots: Href;
|
|
@@ -33,9 +33,6 @@ interface PlayableClassResponse extends NameId, ResponseBase {
|
|
|
33
33
|
interface PvpTalentSlotsResponse extends ResponseBase {
|
|
34
34
|
talent_slots: Array<TalentSlot>;
|
|
35
35
|
}
|
|
36
|
-
interface Media extends KeyBase {
|
|
37
|
-
id: number;
|
|
38
|
-
}
|
|
39
36
|
interface TalentSlot {
|
|
40
37
|
slot_number: number;
|
|
41
38
|
unlock_player_level: number;
|
|
@@ -64,4 +61,4 @@ declare function playableClassMedia(playableClassId: number): Resource<PlayableC
|
|
|
64
61
|
*/
|
|
65
62
|
declare function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse>;
|
|
66
63
|
export { PlayableClassIndexResponse as a, PvpTalentSlotsResponse as c, pvpTalentSlots as i, playableClassIndex as n, PlayableClassMediaResponse as o, playableClassMedia as r, PlayableClassResponse as s, playableClass as t };
|
|
67
|
-
//# sourceMappingURL=index-
|
|
64
|
+
//# sourceMappingURL=index-BHHO7RV3.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Character, Color, IdKey, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { Character, Color, IdKey, NameId, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface CharacterEquipmentSummaryResponse extends ResponseBase {
|
|
3
3
|
character: Character;
|
|
4
4
|
equipped_item_sets?: Array<Set>;
|
|
@@ -76,11 +76,7 @@ interface ItemElement {
|
|
|
76
76
|
is_equipped?: boolean;
|
|
77
77
|
item: NameIdKey;
|
|
78
78
|
}
|
|
79
|
-
interface ModifiedCraftingStat {
|
|
80
|
-
id: number;
|
|
81
|
-
name: string;
|
|
82
|
-
type: string;
|
|
83
|
-
}
|
|
79
|
+
interface ModifiedCraftingStat extends NameId, NameType {}
|
|
84
80
|
interface NameDescription {
|
|
85
81
|
color: Color;
|
|
86
82
|
display_string: string;
|
|
@@ -142,4 +138,4 @@ interface Weapon {
|
|
|
142
138
|
*/
|
|
143
139
|
declare function characterEquipmentSummary(realmSlug: string, characterName: string): Resource<CharacterEquipmentSummaryResponse>;
|
|
144
140
|
export { CharacterEquipmentSummaryResponse as n, characterEquipmentSummary as t };
|
|
145
|
-
//# sourceMappingURL=index-
|
|
141
|
+
//# sourceMappingURL=index-BKuDd7nT.d.ts.map
|
|
@@ -29,7 +29,7 @@ interface QuestCategoryIndexResponse extends ResponseBase {
|
|
|
29
29
|
interface QuestCategoryResponse extends ResponseBase {
|
|
30
30
|
category: string;
|
|
31
31
|
id: number;
|
|
32
|
-
quests: Array<
|
|
32
|
+
quests: Array<NullishNameIdKey>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The response for a quest index.
|
|
@@ -142,4 +142,4 @@ declare function questType(questTypeId: number): Resource<QuestTypeResponse>;
|
|
|
142
142
|
*/
|
|
143
143
|
declare function questTypeIndex(): Resource<QuestTypeIndexResponse>;
|
|
144
144
|
export { questCategoryIndex as a, questTypeIndex as c, QuestCategoryIndexResponse as d, QuestCategoryResponse as f, QuestTypeResponse as g, QuestTypeIndexResponse as h, questCategory as i, QuestAreaIndexResponse as l, QuestResponse as m, questArea as n, questIndex as o, QuestIndexResponse as p, questAreaIndex as r, questType as s, quest as t, QuestAreaResponse as u };
|
|
145
|
-
//# sourceMappingURL=index-
|
|
145
|
+
//# sourceMappingURL=index-BaL7P-bA.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Character, Href, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { Character, Href, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface CharacterAchievementCriteria {
|
|
3
3
|
amount?: number;
|
|
4
4
|
child_criteria?: Array<CharacterAchievementCriteria>;
|
|
@@ -46,9 +46,7 @@ interface Statistic {
|
|
|
46
46
|
name: string;
|
|
47
47
|
quantity: number;
|
|
48
48
|
}
|
|
49
|
-
interface SubCategory {
|
|
50
|
-
id: number;
|
|
51
|
-
name: string;
|
|
49
|
+
interface SubCategory extends NameId {
|
|
52
50
|
statistics: Array<Statistic>;
|
|
53
51
|
}
|
|
54
52
|
/**
|
|
@@ -64,4 +62,4 @@ declare function characterAchievementsSummary(realmSlug: string, characterName:
|
|
|
64
62
|
*/
|
|
65
63
|
declare function characterAchievementStatistics(realmSlug: string, characterName: string): Resource<CharacterAchievementStatisticsResponse>;
|
|
66
64
|
export { CharacterAchievementsSummaryResponse as a, CharacterAchievementStatisticsResponse as i, characterAchievementsSummary as n, CharacterAchievementCriteria as r, characterAchievementStatistics as t };
|
|
67
|
-
//# sourceMappingURL=index-
|
|
65
|
+
//# sourceMappingURL=index-Bz4N9R8o.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, Faction, Factions, Href, KeyBase, Locales, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, Faction, Factions, Href, IdKey, KeyBase, Locales, NameId, NameIdKey, NameType, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
/**
|
|
3
3
|
* The response for a journal encounter index.
|
|
4
4
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -82,7 +82,7 @@ interface JournalInstanceResponse extends NameId, ResponseBase {
|
|
|
82
82
|
expansion?: NameIdKey;
|
|
83
83
|
location?: NameId;
|
|
84
84
|
map?: NameId;
|
|
85
|
-
media:
|
|
85
|
+
media: IdKey;
|
|
86
86
|
minimum_level?: number;
|
|
87
87
|
modes?: Array<ModeElement>;
|
|
88
88
|
order_index?: number;
|
|
@@ -166,11 +166,7 @@ interface JournalEncounterSearchResponseItem extends KeyBase {
|
|
|
166
166
|
sections?: Array<JournalSectionSearch>;
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
interface
|
|
170
|
-
id: number;
|
|
171
|
-
}
|
|
172
|
-
interface Mode {
|
|
173
|
-
name: string;
|
|
169
|
+
interface Mode extends NameType {
|
|
174
170
|
type: ModeType;
|
|
175
171
|
}
|
|
176
172
|
interface ModeElement {
|
|
@@ -226,4 +222,4 @@ declare function journalInstanceIndex(): Resource<JournalInstanceIndexResponse>;
|
|
|
226
222
|
*/
|
|
227
223
|
declare function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse>;
|
|
228
224
|
export { JournalInstanceResponse as _, journalExpansionIndex as a, journalInstanceMedia as c, JournalEncounterSearchParameters as d, JournalEncounterSearchResponse as f, JournalInstanceMediaResponse as g, JournalInstanceIndexResponse as h, journalExpansion as i, JournalEncounterIndexResponse as l, JournalExpansionResponse as m, journalEncounterIndex as n, journalInstance as o, JournalExpansionIndexResponse as p, journalEncounterSearch as r, journalInstanceIndex as s, journalEncounter as t, JournalEncounterResponse as u, JournalSection as v, JournalSectionSearch as y };
|
|
229
|
-
//# sourceMappingURL=index-
|
|
225
|
+
//# sourceMappingURL=index-C9yo07sd.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Character, Color, Faction, Factions, Href,
|
|
1
|
+
import { Character, Color, Faction, Factions, Href, IdKey, NameIdKey, Realm, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
interface GuildAchievementsResponse extends ResponseBase {
|
|
3
3
|
achievements: Array<Achievement>;
|
|
4
4
|
category_progress: Array<CategoryProgress>;
|
|
@@ -46,9 +46,7 @@ interface ActivityElement {
|
|
|
46
46
|
interface Border {
|
|
47
47
|
color: RgbWithId;
|
|
48
48
|
id: number;
|
|
49
|
-
media:
|
|
50
|
-
id: number;
|
|
51
|
-
};
|
|
49
|
+
media: IdKey;
|
|
52
50
|
}
|
|
53
51
|
interface CategoryProgress {
|
|
54
52
|
category: NameIdKey;
|
|
@@ -93,9 +91,6 @@ interface Member {
|
|
|
93
91
|
rank: number;
|
|
94
92
|
}
|
|
95
93
|
type ModeType = 'HEROIC' | 'LEGACY_10_MAN' | 'LEGACY_10_MAN_HEROIC' | 'LEGACY_25_MAN' | 'LEGACY_25_MAN_HEROIC' | 'LFR' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'NORMAL';
|
|
96
|
-
interface Playable extends KeyBase {
|
|
97
|
-
id: number;
|
|
98
|
-
}
|
|
99
94
|
interface RecentEvent {
|
|
100
95
|
achievement: NameIdKey;
|
|
101
96
|
timestamp: number;
|
|
@@ -109,8 +104,8 @@ interface RosterMemberCharacter extends Character {
|
|
|
109
104
|
type: Factions;
|
|
110
105
|
};
|
|
111
106
|
level: number;
|
|
112
|
-
playable_class:
|
|
113
|
-
playable_race:
|
|
107
|
+
playable_class: IdKey;
|
|
108
|
+
playable_race: IdKey;
|
|
114
109
|
}
|
|
115
110
|
/**
|
|
116
111
|
* @param realmSlug The slug of the realm.
|
|
@@ -137,4 +132,4 @@ declare function guildActivity(realmSlug: string, nameSlug: string): Resource<Gu
|
|
|
137
132
|
*/
|
|
138
133
|
declare function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse>;
|
|
139
134
|
export { GuildAchievementsResponse as a, GuildRosterResponse as c, guildRoster as i, guildAchievements as n, GuildActivityResponse as o, guildActivity as r, GuildResponse as s, guild as t };
|
|
140
|
-
//# sourceMappingURL=index-
|
|
135
|
+
//# sourceMappingURL=index-CCBUIqOU.d.ts.map
|