@blizzard-api/wow 4.2.1 → 4.2.3
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 +9 -9
- package/dist/account-profile/index.js.map +1 -1
- package/dist/achievements/index.js +3 -3
- package/dist/achievements/index.js.map +1 -1
- package/dist/auction-house/index.js +1 -1
- package/dist/auction-house/index.js.map +1 -1
- package/dist/azerite-essence/index.js +2 -2
- package/dist/azerite-essence/index.js.map +1 -1
- package/dist/character-achievements/index.js +2 -2
- package/dist/character-achievements/index.js.map +1 -1
- package/dist/character-appearance/index.js +1 -1
- package/dist/character-appearance/index.js.map +1 -1
- package/dist/character-collections/index.js +7 -7
- package/dist/character-collections/index.js.map +1 -1
- package/dist/character-encounters/index.js +3 -3
- package/dist/character-encounters/index.js.map +1 -1
- package/dist/character-equipment/index.js +1 -1
- package/dist/character-equipment/index.js.map +1 -1
- package/dist/character-house/index.js +1 -1
- package/dist/character-house/index.js.map +1 -1
- package/dist/character-hunter-pets/index.js +1 -1
- package/dist/character-hunter-pets/index.js.map +1 -1
- package/dist/character-media/index.js +1 -1
- package/dist/character-media/index.js.map +1 -1
- package/dist/character-mythic-keystone-profile/index.js +2 -2
- package/dist/character-mythic-keystone-profile/index.js.map +1 -1
- package/dist/character-professions/index.js +1 -1
- package/dist/character-professions/index.js.map +1 -1
- package/dist/character-profile/index.js +2 -2
- package/dist/character-profile/index.js.map +1 -1
- package/dist/character-pvp/index.js +2 -2
- package/dist/character-pvp/index.js.map +1 -1
- package/dist/character-quests/index.js +2 -2
- package/dist/character-quests/index.js.map +1 -1
- package/dist/character-reputations/index.js +1 -1
- package/dist/character-reputations/index.js.map +1 -1
- package/dist/character-soulbinds/index.js +1 -1
- package/dist/character-soulbinds/index.js.map +1 -1
- package/dist/character-specializations/index.js +1 -1
- package/dist/character-specializations/index.js.map +1 -1
- package/dist/character-statistics/index.js +1 -1
- package/dist/character-statistics/index.js.map +1 -1
- package/dist/character-titles/index.js +1 -1
- package/dist/character-titles/index.js.map +1 -1
- package/dist/connected-realm/index.js +1 -1
- package/dist/connected-realm/index.js.map +1 -1
- package/dist/covenant/index.js +4 -4
- package/dist/covenant/index.js.map +1 -1
- package/dist/creature/index.js +5 -5
- package/dist/creature/index.js.map +1 -1
- package/dist/guild/index.js +4 -4
- package/dist/guild/index.js.map +1 -1
- package/dist/guild-crest/index.js +2 -2
- package/dist/guild-crest/index.js.map +1 -1
- package/dist/heirloom/index.js +1 -1
- package/dist/heirloom/index.js.map +1 -1
- package/dist/housing-decor/index.js +4 -4
- package/dist/housing-decor/index.js.map +1 -1
- package/dist/{index-DyhS61bj.d.ts → index-Cqlff6vd.d.ts} +3 -3
- package/dist/{index-FuJJlGI3.d.ts → index-V1Na_uH5.d.ts} +17 -17
- package/dist/index.d.ts +2 -2
- package/dist/item/index.js +5 -5
- package/dist/item/index.js.map +1 -1
- package/dist/item-appearance/index.js +3 -3
- package/dist/item-appearance/index.js.map +1 -1
- package/dist/journal/index.js +4 -4
- package/dist/journal/index.js.map +1 -1
- package/dist/modified-crafting/index.js +2 -2
- package/dist/modified-crafting/index.js.map +1 -1
- package/dist/mount/index.js +1 -1
- package/dist/mount/index.js.map +1 -1
- package/dist/mythic-keystone-affix/index.js +2 -2
- package/dist/mythic-keystone-affix/index.js.map +1 -1
- package/dist/mythic-keystone-dungeon/index.js +3 -3
- package/dist/mythic-keystone-dungeon/index.js.map +1 -1
- package/dist/mythic-keystone-leaderboard/index.js +2 -2
- package/dist/mythic-keystone-leaderboard/index.js.map +1 -1
- package/dist/mythic-raid-leaderboard/index.js +1 -1
- package/dist/mythic-raid-leaderboard/index.js.map +1 -1
- package/dist/neighborhood-map/index.js +2 -2
- package/dist/neighborhood-map/index.js.map +1 -1
- package/dist/pet/index.js +4 -4
- package/dist/pet/index.js.map +1 -1
- package/dist/playable-class/index.js +3 -3
- package/dist/playable-class/index.js.map +1 -1
- package/dist/playable-race/index.js +1 -1
- package/dist/playable-race/index.js.map +1 -1
- package/dist/playable-specialization/index.js +2 -2
- package/dist/playable-specialization/index.js.map +1 -1
- package/dist/power-type/index.js +1 -1
- package/dist/power-type/index.js.map +1 -1
- package/dist/profession/index.js +5 -5
- package/dist/profession/index.js.map +1 -1
- package/dist/pvp-season/index.js +4 -4
- package/dist/pvp-season/index.js.map +1 -1
- package/dist/pvp-tier/index.js +2 -2
- package/dist/pvp-tier/index.js.map +1 -1
- package/dist/quest/index.d.ts +1 -1
- package/dist/quest/index.js +4 -4
- package/dist/quest/index.js.map +1 -1
- package/dist/realm/index.js +1 -1
- package/dist/realm/index.js.map +1 -1
- package/dist/region/index.js +1 -1
- package/dist/region/index.js.map +1 -1
- package/dist/reputations/index.js +2 -2
- package/dist/reputations/index.js.map +1 -1
- package/dist/spell/index.js +2 -2
- package/dist/spell/index.js.map +1 -1
- package/dist/talent/index.js +4 -4
- package/dist/talent/index.js.map +1 -1
- package/dist/tech-talent/index.js +3 -3
- package/dist/tech-talent/index.js.map +1 -1
- package/dist/title/index.js +1 -1
- package/dist/title/index.js.map +1 -1
- package/dist/toy/index.js +1 -1
- package/dist/toy/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-pvp/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterPvpBracketStatisticsResponse, CharacterPvpSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @param bracketId The ID of the PvP bracket.\n * @returns a PvP bracket statistics for a character.\n */\nexport function characterPvpBracketStatistics(\n realmSlug: string,\n characterName: string,\n bracketId: '2v2' | '3v3' | 'rbg' | `shuffle-${string}-${string}`,\n): Resource<CharacterPvpBracketStatisticsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-bracket/${bracketId}`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a PvP summary for a character.\n */\nexport function characterPvpSummary(realmSlug: string, characterName: string): Resource<CharacterPvpSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,8BACd,WACA,eACA,WACiD;CACjD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-pvp/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterPvpBracketStatisticsResponse, CharacterPvpSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @param bracketId The ID of the PvP bracket.\n * @returns a PvP bracket statistics for a character.\n */\nexport function characterPvpBracketStatistics(\n realmSlug: string,\n characterName: string,\n bracketId: '2v2' | '3v3' | 'rbg' | `shuffle-${string}-${string}`,\n): Resource<CharacterPvpBracketStatisticsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName.toLowerCase())}/pvp-bracket/${encodeURIComponent(bracketId)}`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a PvP summary for a character.\n */\nexport function characterPvpSummary(realmSlug: string, characterName: string): Resource<CharacterPvpSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName.toLowerCase())}/pvp-summary`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,8BACd,WACA,eACA,WACiD;CACjD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,cAAc,YAAY,CAAC,EAAE,eAAe,mBAAmB,SAAS;CAC9J;AACF;;;;;;AAOA,SAAgB,oBAAoB,WAAmB,eAA8D;CACnH,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,cAAc,YAAY,CAAC,EAAE;CACnH;AACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function characterCompletedQuests(realmSlug, characterName) {
|
|
8
8
|
return {
|
|
9
9
|
namespace: "profile",
|
|
10
|
-
path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`
|
|
10
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/quests/completed`
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
@@ -18,7 +18,7 @@ function characterCompletedQuests(realmSlug, characterName) {
|
|
|
18
18
|
function characterQuests(realmSlug, characterName) {
|
|
19
19
|
return {
|
|
20
20
|
namespace: "profile",
|
|
21
|
-
path: `/profile/wow/character/${realmSlug}/${characterName}/quests`
|
|
21
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/quests`
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
export { characterCompletedQuests, characterQuests };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-quests/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterCompletedQuestsResponse, CharacterQuestsResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a list of quests that a character has completed.\n */\nexport function characterCompletedQuests(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCompletedQuestsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a character's active quests as well as a link to the character's completed quests.\n */\nexport function characterQuests(realmSlug: string, characterName: string): Resource<CharacterQuestsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/quests`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,yBACd,WACA,eAC4C;CAC5C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-quests/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterCompletedQuestsResponse, CharacterQuestsResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a list of quests that a character has completed.\n */\nexport function characterCompletedQuests(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCompletedQuestsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/quests/completed`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a character's active quests as well as a link to the character's completed quests.\n */\nexport function characterQuests(realmSlug: string, characterName: string): Resource<CharacterQuestsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/quests`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,yBACd,WACA,eAC4C;CAC5C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,aAAa,EAAE;CACrG;AACF;;;;;;AAOA,SAAgB,gBAAgB,WAAmB,eAA0D;CAC3G,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,aAAa,EAAE;CACrG;AACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function characterReputationsSummary(realmSlug, characterName) {
|
|
8
8
|
return {
|
|
9
9
|
namespace: "profile",
|
|
10
|
-
path: `/profile/wow/character/${realmSlug}/${characterName}/reputations`
|
|
10
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/reputations`
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export { characterReputationsSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-reputations/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterReputationsSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of a character's reputations.\n */\nexport function characterReputationsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterReputationsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/reputations`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,4BACd,WACA,eAC+C;CAC/C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-reputations/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterReputationsSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of a character's reputations.\n */\nexport function characterReputationsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterReputationsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/reputations`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,4BACd,WACA,eAC+C;CAC/C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,aAAa,EAAE;CACrG;AACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function characterSoulbinds(realmSlug, characterName) {
|
|
8
8
|
return {
|
|
9
9
|
namespace: "profile",
|
|
10
|
-
path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/soulbinds`
|
|
10
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName.toLowerCase())}/soulbinds`
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export { characterSoulbinds };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-soulbinds/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterSoulbindsResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a character's soulbinds.\n */\nexport function characterSoulbinds(realmSlug: string, characterName: string): Resource<CharacterSoulbindsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/soulbinds`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,mBAAmB,WAAmB,eAA6D;CACjH,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-soulbinds/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterSoulbindsResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a character's soulbinds.\n */\nexport function characterSoulbinds(realmSlug: string, characterName: string): Resource<CharacterSoulbindsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName.toLowerCase())}/soulbinds`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,mBAAmB,WAAmB,eAA6D;CACjH,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,cAAc,YAAY,CAAC,EAAE;CACnH;AACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function characterSpecializationsSummary(realmSlug, characterName) {
|
|
8
8
|
return {
|
|
9
9
|
namespace: "profile",
|
|
10
|
-
path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`
|
|
10
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/specializations`
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export { characterSpecializationsSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-specializations/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterSpecializationsSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of a character's specializations.\n */\nexport function characterSpecializationsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterSpecializationsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,gCACd,WACA,eACmD;CACnD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-specializations/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterSpecializationsSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of a character's specializations.\n */\nexport function characterSpecializationsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterSpecializationsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/specializations`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,gCACd,WACA,eACmD;CACnD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,aAAa,EAAE;CACrG;AACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function characterStatisticsSummary(realmSlug, characterName) {
|
|
8
8
|
return {
|
|
9
9
|
namespace: "profile",
|
|
10
|
-
path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`
|
|
10
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/statistics`
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export { characterStatisticsSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-statistics/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterStatisticsSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a statistics summary for a character.\n */\nexport function characterStatisticsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterStatisticsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,2BACd,WACA,eAC8C;CAC9C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-statistics/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterStatisticsSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a statistics summary for a character.\n */\nexport function characterStatisticsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterStatisticsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/statistics`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,2BACd,WACA,eAC8C;CAC9C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,aAAa,EAAE;CACrG;AACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function characterTitlesSummary(realmSlug, characterName) {
|
|
8
8
|
return {
|
|
9
9
|
namespace: "profile",
|
|
10
|
-
path: `/profile/wow/character/${realmSlug}/${characterName}/titles`
|
|
10
|
+
path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/titles`
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export { characterTitlesSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-titles/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterTitlesSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of titles a character has obtained.\n */\nexport function characterTitlesSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterTitlesSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/titles`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,uBACd,WACA,eAC0C;CAC1C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-titles/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterTitlesSummaryResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of titles a character has obtained.\n */\nexport function characterTitlesSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterTitlesSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${encodeURIComponent(realmSlug)}/${encodeURIComponent(characterName)}/titles`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,uBACd,WACA,eAC0C;CAC1C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,aAAa,EAAE;CACrG;AACF"}
|
|
@@ -8,7 +8,7 @@ import { wowBasePath, wowSearchBasePath } from "@blizzard-api/core";
|
|
|
8
8
|
function connectedRealm(connectedRealmId) {
|
|
9
9
|
return {
|
|
10
10
|
namespace: "dynamic",
|
|
11
|
-
path: `${wowBasePath}/connected-realm/${connectedRealmId}`
|
|
11
|
+
path: `${wowBasePath}/connected-realm/${encodeURIComponent(connectedRealmId)}`
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/connected-realm/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n ConnectedRealmIndexResponse,\n ConnectedRealmResponse,\n ConnectedRealmSearchParameters,\n ConnectedRealmSearchResponse,\n} from './types';\n\n/**\n * Get a connected realm by ID.\n * @param connectedRealmId The connected realm ID.\n * @returns The connected realm. See {@link ConnectedRealmResponse}.\n */\nexport function connectedRealm(connectedRealmId: number): Resource<ConnectedRealmResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}`,\n };\n}\n/**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\nexport function connectedRealmIndex(): Resource<ConnectedRealmIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/index`,\n };\n}\n/**\n * Search for connected realms.\n * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.\n * @returns The search results. See {@link ConnectedRealmSearchResponse}.\n */\nexport function connectedRealmSearch(\n options: ConnectedRealmSearchParameters,\n): Resource<ConnectedRealmSearchResponse, ConnectedRealmSearchParameters> {\n return {\n namespace: 'dynamic',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n 'realms.timezone': options['realms.timezone'],\n 'status.type': options['status.type'],\n },\n path: `${wowSearchBasePath}/connected-realm`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/connected-realm/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n ConnectedRealmIndexResponse,\n ConnectedRealmResponse,\n ConnectedRealmSearchParameters,\n ConnectedRealmSearchResponse,\n} from './types';\n\n/**\n * Get a connected realm by ID.\n * @param connectedRealmId The connected realm ID.\n * @returns The connected realm. See {@link ConnectedRealmResponse}.\n */\nexport function connectedRealm(connectedRealmId: number): Resource<ConnectedRealmResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${encodeURIComponent(connectedRealmId)}`,\n };\n}\n/**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\nexport function connectedRealmIndex(): Resource<ConnectedRealmIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/index`,\n };\n}\n/**\n * Search for connected realms.\n * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.\n * @returns The search results. See {@link ConnectedRealmSearchResponse}.\n */\nexport function connectedRealmSearch(\n options: ConnectedRealmSearchParameters,\n): Resource<ConnectedRealmSearchResponse, ConnectedRealmSearchParameters> {\n return {\n namespace: 'dynamic',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n 'realms.timezone': options['realms.timezone'],\n 'status.type': options['status.type'],\n },\n path: `${wowSearchBasePath}/connected-realm`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,mBAAmB,gBAAgB;CAC7E;AACF;;;;;AAKA,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,qBACd,SACwE;CACxE,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;GAC9E,mBAAmB,QAAQ;GAC3B,eAAe,QAAQ;EACzB;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
|
package/dist/covenant/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { wowBasePath, wowMediaBasePath } from "@blizzard-api/core";
|
|
|
8
8
|
function conduit(conduitId) {
|
|
9
9
|
return {
|
|
10
10
|
namespace: "static",
|
|
11
|
-
path: `${wowBasePath}/covenant/conduit/${conduitId}`
|
|
11
|
+
path: `${wowBasePath}/covenant/conduit/${encodeURIComponent(conduitId)}`
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
@@ -29,7 +29,7 @@ function conduitIndex() {
|
|
|
29
29
|
function covenant(covenantId) {
|
|
30
30
|
return {
|
|
31
31
|
namespace: "static",
|
|
32
|
-
path: `${wowBasePath}/covenant/${covenantId}`
|
|
32
|
+
path: `${wowBasePath}/covenant/${encodeURIComponent(covenantId)}`
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
@@ -50,7 +50,7 @@ function covenantIndex() {
|
|
|
50
50
|
function covenantMedia(covenantId) {
|
|
51
51
|
return {
|
|
52
52
|
namespace: "static",
|
|
53
|
-
path: `${wowMediaBasePath}/covenant/${covenantId}`
|
|
53
|
+
path: `${wowMediaBasePath}/covenant/${encodeURIComponent(covenantId)}`
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
@@ -61,7 +61,7 @@ function covenantMedia(covenantId) {
|
|
|
61
61
|
function soulbind(soulbindId) {
|
|
62
62
|
return {
|
|
63
63
|
namespace: "static",
|
|
64
|
-
path: `${wowBasePath}/covenant/soulbind/${soulbindId}`
|
|
64
|
+
path: `${wowBasePath}/covenant/soulbind/${encodeURIComponent(soulbindId)}`
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/covenant/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n ConduitIndexResponse,\n ConduitResponse,\n CovenantIndexResponse,\n CovenantMediaResponse,\n CovenantResponse,\n SoulbindIndexResponse,\n SoulbindResponse,\n} from './types';\n\n/**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\nexport function conduit(conduitId: number): Resource<ConduitResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/conduit/${conduitId}`,\n };\n}\n/**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\nexport function conduitIndex(): Resource<ConduitIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/conduit/index`,\n };\n}\n/**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\nexport function covenant(covenantId: number): Resource<CovenantResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/${covenantId}`,\n };\n}\n/**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\nexport function covenantIndex(): Resource<CovenantIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/index`,\n };\n}\n/**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\nexport function covenantMedia(covenantId: number): Resource<CovenantMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/covenant/${covenantId}`,\n };\n}\n/**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\nexport function soulbind(soulbindId: number): Resource<SoulbindResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/soulbind/${soulbindId}`,\n };\n}\n/**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\nexport function soulbindIndex(): Resource<SoulbindIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/soulbind/index`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,QAAQ,WAA8C;CACpE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/covenant/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type {\n ConduitIndexResponse,\n ConduitResponse,\n CovenantIndexResponse,\n CovenantMediaResponse,\n CovenantResponse,\n SoulbindIndexResponse,\n SoulbindResponse,\n} from './types';\n\n/**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\nexport function conduit(conduitId: number): Resource<ConduitResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/conduit/${encodeURIComponent(conduitId)}`,\n };\n}\n/**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\nexport function conduitIndex(): Resource<ConduitIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/conduit/index`,\n };\n}\n/**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\nexport function covenant(covenantId: number): Resource<CovenantResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/${encodeURIComponent(covenantId)}`,\n };\n}\n/**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\nexport function covenantIndex(): Resource<CovenantIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/index`,\n };\n}\n/**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\nexport function covenantMedia(covenantId: number): Resource<CovenantMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/covenant/${encodeURIComponent(covenantId)}`,\n };\n}\n/**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\nexport function soulbind(soulbindId: number): Resource<SoulbindResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/soulbind/${encodeURIComponent(soulbindId)}`,\n };\n}\n/**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\nexport function soulbindIndex(): Resource<SoulbindIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/covenant/soulbind/index`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,QAAQ,WAA8C;CACpE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,oBAAoB,mBAAmB,SAAS;CACvE;AACF;;;;;AAKA,SAAgB,eAA+C;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY,mBAAmB,UAAU;CAChE;AACF;;;;;AAKA,SAAgB,gBAAiD;CAC/D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,cAAc,YAAqD;CACjF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,YAAY,mBAAmB,UAAU;CACrE;AACF;;;;;;AAMA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,qBAAqB,mBAAmB,UAAU;CACzE;AACF;;;;;AAKA,SAAgB,gBAAiD;CAC/D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
package/dist/creature/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { wowBasePath, wowMediaBasePath, wowSearchBasePath } from "@blizzard-api/
|
|
|
8
8
|
function creature(creatureId) {
|
|
9
9
|
return {
|
|
10
10
|
namespace: "static",
|
|
11
|
-
path: `${wowBasePath}/creature/${creatureId}`
|
|
11
|
+
path: `${wowBasePath}/creature/${encodeURIComponent(creatureId)}`
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
@@ -19,7 +19,7 @@ function creature(creatureId) {
|
|
|
19
19
|
function creatureDisplayMedia(creatureDisplayId) {
|
|
20
20
|
return {
|
|
21
21
|
namespace: "static",
|
|
22
|
-
path: `${wowMediaBasePath}/creature-display/${creatureDisplayId}`
|
|
22
|
+
path: `${wowMediaBasePath}/creature-display/${encodeURIComponent(creatureDisplayId)}`
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -30,7 +30,7 @@ function creatureDisplayMedia(creatureDisplayId) {
|
|
|
30
30
|
function creatureFamily(creatureFamilyId) {
|
|
31
31
|
return {
|
|
32
32
|
namespace: "static",
|
|
33
|
-
path: `${wowBasePath}/creature-family/${creatureFamilyId}`
|
|
33
|
+
path: `${wowBasePath}/creature-family/${encodeURIComponent(creatureFamilyId)}`
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
@@ -51,7 +51,7 @@ function creatureFamilyIndex() {
|
|
|
51
51
|
function creatureFamilyMedia(creatureFamilyId) {
|
|
52
52
|
return {
|
|
53
53
|
namespace: "static",
|
|
54
|
-
path: `${wowMediaBasePath}/creature-family/${creatureFamilyId}`
|
|
54
|
+
path: `${wowMediaBasePath}/creature-family/${encodeURIComponent(creatureFamilyId)}`
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -78,7 +78,7 @@ function creatureSearch(options) {
|
|
|
78
78
|
function creatureType(creatureTypeId) {
|
|
79
79
|
return {
|
|
80
80
|
namespace: "static",
|
|
81
|
-
path: `${wowBasePath}/creature-type/${creatureTypeId}`
|
|
81
|
+
path: `${wowBasePath}/creature-type/${encodeURIComponent(creatureTypeId)}`
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/creature/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n CreatureDisplayMediaResponse,\n CreatureFamilyIndexResponse,\n CreatureFamilyMediaResponse,\n CreatureFamilyResponse,\n CreatureResponse,\n CreatureSearchParameters,\n CreatureSearchResponse,\n CreatureTypeIndexResponse,\n CreatureTypeResponse,\n} from './types';\n\n/**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\nexport function creature(creatureId: number): Resource<CreatureResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature/${creatureId}`,\n };\n}\n/**\n * Get creature display media by ID.\n * @param creatureDisplayId The creature display ID.\n * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.\n */\nexport function creatureDisplayMedia(creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/creature-display/${creatureDisplayId}`,\n };\n}\n/**\n * Get a creature family by ID.\n * @param creatureFamilyId The creature family ID.\n * @returns The creature family. See {@link CreatureFamilyResponse}.\n */\nexport function creatureFamily(creatureFamilyId: number): Resource<CreatureFamilyResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-family/${creatureFamilyId}`,\n };\n}\n/**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\nexport function creatureFamilyIndex(): Resource<CreatureFamilyIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-family/index`,\n };\n}\n/**\n * Get creature family media by ID.\n * @param creatureFamilyId The creature family ID.\n * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.\n */\nexport function creatureFamilyMedia(creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/creature-family/${creatureFamilyId}`,\n };\n}\n/**\n * Search for creatures.\n * @param options The creature search parameters. See {@link CreatureSearchParameters}.\n * @returns The creature search results. See {@link CreatureSearchResponse}.\n */\nexport function creatureSearch(\n options: CreatureSearchParameters,\n): Resource<CreatureSearchResponse, Omit<CreatureSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/creature`,\n };\n}\n/**\n * Get a creature type by ID.\n * @param creatureTypeId The creature type ID.\n * @returns The creature type. See {@link CreatureTypeResponse}.\n */\nexport function creatureType(creatureTypeId: number): Resource<CreatureTypeResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-type/${creatureTypeId}`,\n };\n}\n/**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\nexport function creatureTypeIndex(): Resource<CreatureTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-type/index`,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/creature/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n CreatureDisplayMediaResponse,\n CreatureFamilyIndexResponse,\n CreatureFamilyMediaResponse,\n CreatureFamilyResponse,\n CreatureResponse,\n CreatureSearchParameters,\n CreatureSearchResponse,\n CreatureTypeIndexResponse,\n CreatureTypeResponse,\n} from './types';\n\n/**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\nexport function creature(creatureId: number): Resource<CreatureResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature/${encodeURIComponent(creatureId)}`,\n };\n}\n/**\n * Get creature display media by ID.\n * @param creatureDisplayId The creature display ID.\n * @returns The creature display media. See {@link CreatureDisplayMediaResponse}.\n */\nexport function creatureDisplayMedia(creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/creature-display/${encodeURIComponent(creatureDisplayId)}`,\n };\n}\n/**\n * Get a creature family by ID.\n * @param creatureFamilyId The creature family ID.\n * @returns The creature family. See {@link CreatureFamilyResponse}.\n */\nexport function creatureFamily(creatureFamilyId: number): Resource<CreatureFamilyResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-family/${encodeURIComponent(creatureFamilyId)}`,\n };\n}\n/**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\nexport function creatureFamilyIndex(): Resource<CreatureFamilyIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-family/index`,\n };\n}\n/**\n * Get creature family media by ID.\n * @param creatureFamilyId The creature family ID.\n * @returns The creature family media. See {@link CreatureFamilyMediaResponse}.\n */\nexport function creatureFamilyMedia(creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/creature-family/${encodeURIComponent(creatureFamilyId)}`,\n };\n}\n/**\n * Search for creatures.\n * @param options The creature search parameters. See {@link CreatureSearchParameters}.\n * @returns The creature search results. See {@link CreatureSearchResponse}.\n */\nexport function creatureSearch(\n options: CreatureSearchParameters,\n): Resource<CreatureSearchResponse, Omit<CreatureSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/creature`,\n };\n}\n/**\n * Get a creature type by ID.\n * @param creatureTypeId The creature type ID.\n * @returns The creature type. See {@link CreatureTypeResponse}.\n */\nexport function creatureType(creatureTypeId: number): Resource<CreatureTypeResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-type/${encodeURIComponent(creatureTypeId)}`,\n };\n}\n/**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\nexport function creatureTypeIndex(): Resource<CreatureTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/creature-type/index`,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY,mBAAmB,UAAU;CAChE;AACF;;;;;;AAMA,SAAgB,qBAAqB,mBAAmE;CACtG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,oBAAoB,mBAAmB,iBAAiB;CACpF;AACF;;;;;;AAMA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,mBAAmB,gBAAgB;CAC7E;AACF;;;;;AAKA,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,oBAAoB,kBAAiE;CACnG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,mBAAmB,mBAAmB,gBAAgB;CAClF;AACF;;;;;;AAMA,SAAgB,eACd,SACqF;CACrF,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF;;;;;;AAMA,SAAgB,aAAa,gBAAwD;CACnF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,iBAAiB,mBAAmB,cAAc;CACzE;AACF;;;;;AAKA,SAAgB,oBAAyD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
package/dist/guild/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { wowGuildBasePath } from "@blizzard-api/core";
|
|
|
8
8
|
function guild(realmSlug, nameSlug) {
|
|
9
9
|
return {
|
|
10
10
|
namespace: "profile",
|
|
11
|
-
path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}`
|
|
11
|
+
path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}`
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
@@ -19,7 +19,7 @@ function guild(realmSlug, nameSlug) {
|
|
|
19
19
|
function guildAchievements(realmSlug, nameSlug) {
|
|
20
20
|
return {
|
|
21
21
|
namespace: "profile",
|
|
22
|
-
path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/achievements`
|
|
22
|
+
path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}/achievements`
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -30,7 +30,7 @@ function guildAchievements(realmSlug, nameSlug) {
|
|
|
30
30
|
function guildActivity(realmSlug, nameSlug) {
|
|
31
31
|
return {
|
|
32
32
|
namespace: "profile",
|
|
33
|
-
path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/activity`
|
|
33
|
+
path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}/activity`
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
@@ -41,7 +41,7 @@ function guildActivity(realmSlug, nameSlug) {
|
|
|
41
41
|
function guildRoster(realmSlug, nameSlug) {
|
|
42
42
|
return {
|
|
43
43
|
namespace: "profile",
|
|
44
|
-
path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/roster`
|
|
44
|
+
path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}/roster`
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
export { guild, guildAchievements, guildActivity, guildRoster };
|
package/dist/guild/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/guild/index.ts"],"sourcesContent":["import { wowGuildBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild by its name and realm.\n */\nexport function guild(realmSlug: string, nameSlug: string): Resource<GuildResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's achievements by name and realm.\n */\nexport function guildAchievements(realmSlug: string, nameSlug: string): Resource<GuildAchievementsResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/achievements`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's activity by name and realm.\n */\nexport function guildActivity(realmSlug: string, nameSlug: string): Resource<GuildActivityResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/activity`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's roster by its name and realm.\n */\nexport function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/roster`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,WAAmB,UAA2C;CAClF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/guild/index.ts"],"sourcesContent":["import { wowGuildBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild by its name and realm.\n */\nexport function guild(realmSlug: string, nameSlug: string): Resource<GuildResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's achievements by name and realm.\n */\nexport function guildAchievements(realmSlug: string, nameSlug: string): Resource<GuildAchievementsResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}/achievements`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's activity by name and realm.\n */\nexport function guildActivity(realmSlug: string, nameSlug: string): Resource<GuildActivityResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}/activity`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's roster by its name and realm.\n */\nexport function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${encodeURIComponent(realmSlug)}/${encodeURIComponent(nameSlug)}/roster`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,WAAmB,UAA2C;CAClF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,QAAQ;CAC3F;AACF;;;;;;AAOA,SAAgB,kBAAkB,WAAmB,UAAuD;CAC1G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,QAAQ,EAAE;CAC7F;AACF;;;;;;AAOA,SAAgB,cAAc,WAAmB,UAAmD;CAClG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,QAAQ,EAAE;CAC7F;AACF;;;;;;AAOA,SAAgB,YAAY,WAAmB,UAAiD;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,mBAAmB,SAAS,EAAE,GAAG,mBAAmB,QAAQ,EAAE;CAC7F;AACF"}
|
|
@@ -8,7 +8,7 @@ import { wowBasePath, wowMediaBasePath } from "@blizzard-api/core";
|
|
|
8
8
|
function guildCrestBorder(borderId) {
|
|
9
9
|
return {
|
|
10
10
|
namespace: "static",
|
|
11
|
-
path: `${wowMediaBasePath}/guild-crest/border/${borderId}`
|
|
11
|
+
path: `${wowMediaBasePath}/guild-crest/border/${encodeURIComponent(borderId)}`
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
@@ -29,7 +29,7 @@ function guildCrestComponentsIndex() {
|
|
|
29
29
|
function guildCrestEmblem(emblemId) {
|
|
30
30
|
return {
|
|
31
31
|
namespace: "static",
|
|
32
|
-
path: `${wowMediaBasePath}/guild-crest/emblem/${emblemId}`
|
|
32
|
+
path: `${wowMediaBasePath}/guild-crest/emblem/${encodeURIComponent(emblemId)}`
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
export { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/guild-crest/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\n\n/**\n * Get a guild crest border by ID.\n * @param borderId The guild crest border ID.\n * @returns The guild crest border. See {@link GuildCrestBorderEmblemResponse}.\n */\nexport function guildCrestBorder(borderId: number): Resource<GuildCrestBorderEmblemResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/guild-crest/border/${borderId}`,\n };\n}\n/**\n * Get the guild crest components index.\n * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.\n */\nexport function guildCrestComponentsIndex(): Resource<GuildCrestComponentsIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/guild-crest/index`,\n };\n}\n/**\n * Get a guild crest emblem by ID.\n * @param emblemId The guild crest emblem ID.\n * @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}.\n */\nexport function guildCrestEmblem(emblemId: number): Resource<GuildCrestBorderEmblemResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/guild-crest/emblem/${emblemId}`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,iBAAiB,UAA4D;CAC3F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,sBAAsB;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/guild-crest/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\n\n/**\n * Get a guild crest border by ID.\n * @param borderId The guild crest border ID.\n * @returns The guild crest border. See {@link GuildCrestBorderEmblemResponse}.\n */\nexport function guildCrestBorder(borderId: number): Resource<GuildCrestBorderEmblemResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/guild-crest/border/${encodeURIComponent(borderId)}`,\n };\n}\n/**\n * Get the guild crest components index.\n * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.\n */\nexport function guildCrestComponentsIndex(): Resource<GuildCrestComponentsIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/guild-crest/index`,\n };\n}\n/**\n * Get a guild crest emblem by ID.\n * @param emblemId The guild crest emblem ID.\n * @returns The guild crest emblem. See {@link GuildCrestBorderEmblemResponse}.\n */\nexport function guildCrestEmblem(emblemId: number): Resource<GuildCrestBorderEmblemResponse> {\n return {\n namespace: 'static',\n path: `${wowMediaBasePath}/guild-crest/emblem/${encodeURIComponent(emblemId)}`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,iBAAiB,UAA4D;CAC3F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,sBAAsB,mBAAmB,QAAQ;CAC7E;AACF;;;;;AAKA,SAAgB,4BAAyE;CACvF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,iBAAiB,UAA4D;CAC3F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,sBAAsB,mBAAmB,QAAQ;CAC7E;AACF"}
|
package/dist/heirloom/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/heirloom/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { HeirloomIndexResponse, HeirloomResponse } from './types';\n\n/**\n * Get a heirloom by ID.\n * @param heirloomId The heirloom ID.\n * @returns The heirloom. See {@link HeirloomResponse}.\n */\nexport function heirloom(heirloomId: number): Resource<HeirloomResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/heirloom/${heirloomId}`,\n };\n}\n/**\n * Get the heirloom index.\n * @returns The heirloom index. See {@link HeirloomIndexResponse}.\n */\nexport function heirloomIndex(): Resource<HeirloomIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/heirloom/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/heirloom/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath } from '@blizzard-api/core';\nimport type { HeirloomIndexResponse, HeirloomResponse } from './types';\n\n/**\n * Get a heirloom by ID.\n * @param heirloomId The heirloom ID.\n * @returns The heirloom. See {@link HeirloomResponse}.\n */\nexport function heirloom(heirloomId: number): Resource<HeirloomResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/heirloom/${encodeURIComponent(heirloomId)}`,\n };\n}\n/**\n * Get the heirloom index.\n * @returns The heirloom index. See {@link HeirloomIndexResponse}.\n */\nexport function heirloomIndex(): Resource<HeirloomIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/heirloom/index`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,YAAY,mBAAmB,UAAU;CAChE;AACF;;;;;AAKA,SAAgB,gBAAiD;CAC/D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
|
@@ -19,7 +19,7 @@ function decorIndex() {
|
|
|
19
19
|
function decor(decorId) {
|
|
20
20
|
return {
|
|
21
21
|
namespace: "static",
|
|
22
|
-
path: `${wowBasePath}/decor/${decorId}`
|
|
22
|
+
path: `${wowBasePath}/decor/${encodeURIComponent(decorId)}`
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -56,7 +56,7 @@ function fixtureIndex() {
|
|
|
56
56
|
function fixture(fixtureId) {
|
|
57
57
|
return {
|
|
58
58
|
namespace: "static",
|
|
59
|
-
path: `${wowBasePath}/fixture/${fixtureId}`
|
|
59
|
+
path: `${wowBasePath}/fixture/${encodeURIComponent(fixtureId)}`
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
@@ -93,7 +93,7 @@ function fixtureHookIndex() {
|
|
|
93
93
|
function fixtureHook(fixtureHookId) {
|
|
94
94
|
return {
|
|
95
95
|
namespace: "static",
|
|
96
|
-
path: `${wowBasePath}/fixture-hook/${fixtureHookId}`
|
|
96
|
+
path: `${wowBasePath}/fixture-hook/${encodeURIComponent(fixtureHookId)}`
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
@@ -130,7 +130,7 @@ function roomIndex() {
|
|
|
130
130
|
function room(roomId) {
|
|
131
131
|
return {
|
|
132
132
|
namespace: "static",
|
|
133
|
-
path: `${wowBasePath}/room/${roomId}`
|
|
133
|
+
path: `${wowBasePath}/room/${encodeURIComponent(roomId)}`
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/housing-decor/index.ts"],"sourcesContent":["import { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type {\n DecorIndexResponse,\n DecorResponse,\n DecorSearchResponse,\n FixtureHookIndexResponse,\n FixtureHookResponse,\n FixtureHookSearchResponse,\n FixtureIndexResponse,\n FixtureResponse,\n FixtureSearchResponse,\n GenericDecorSearchParameters,\n RoomIndexReponse,\n RoomResponse,\n RoomSearchResponse,\n} from './types';\n\n/**\n *\n * Returns an index of decor.\n * @returns An index of decor. See {@link DecorIndexResponse}.\n */\nexport function decorIndex(): Resource<DecorIndexResponse> {\n return {\n namespace: 'static',\n path: '/data/wow/decor/index',\n };\n}\n\n/**\n * Returns a decor by ID.\n * @param decorId The decor ID.\n * @returns A decor. See {@link DecorResponse}.\n */\nexport function decor(decorId: number): Resource<DecorResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/decor/${decorId}`,\n };\n}\n\n/**\n * Searches for decor.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A decor. See {@link DecorSearchResponse}.\n */\nexport function decorSearch(\n options: GenericDecorSearchParameters,\n): Resource<DecorSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/decor`,\n };\n}\n\n/**\n * Returns an index of fixtures.\n * @returns An index of fixtures. See {@link FixtureIndexResponse}.\n */\nexport function fixtureIndex(): Resource<FixtureIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture/index`,\n };\n}\n\n/**\n * Returns a fixture by ID.\n * @param fixtureId The fixture ID.\n * @returns A fixture. See {@link FixtureResponse}.\n */\nexport function fixture(fixtureId: number): Resource<FixtureResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture/${fixtureId}`,\n };\n}\n\n/**\n * Searches for fixtures.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A fixture. See {@link FixtureSearchResponse}.\n */\nexport function fixtureSearch(\n options: GenericDecorSearchParameters,\n): Resource<FixtureSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/fixture`,\n };\n}\n\n/**\n * Returns an index of fixture hooks.\n * @returns An index of fixture hooks. See {@link FixtureHookIndexResponse}.\n */\nexport function fixtureHookIndex(): Resource<FixtureHookIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture-hook/index`,\n };\n}\n\n/**\n * Returns a fixture hook by ID.\n * @param fixtureHookId The fixture hook ID.\n * @returns A fixture hook. See {@link FixtureHookResponse}.\n */\nexport function fixtureHook(fixtureHookId: number): Resource<FixtureHookResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture-hook/${fixtureHookId}`,\n };\n}\n\n/**\n * Searches for fixture hooks.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A fixture hook. See {@link FixtureSearchResponse}.\n */\nexport function fixtureHookSearch(\n options: GenericDecorSearchParameters,\n): Resource<FixtureHookSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/fixture-hook`,\n };\n}\n\n/**\n * Returns an index of rooms.\n * @returns An index of rooms. See {@link RoomIndexReponse}.\n */\nexport function roomIndex(): Resource<RoomIndexReponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/room/index`,\n };\n}\n\n/**\n * Returns a room by ID.\n * @param roomId The room ID.\n * @returns A room. See {@link RoomResponse}.\n */\nexport function room(roomId: number): Resource<RoomResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/room/${roomId}`,\n };\n}\n\n/**\n * Searches for rooms.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A room. See {@link RoomSearchResponse}.\n */\nexport function roomSearch(\n options: GenericDecorSearchParameters,\n): Resource<RoomSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/room`,\n };\n}\n"],"mappings":";;;;;;;AAuBA,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM;CACR;AACF;;;;;;AAOA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/housing-decor/index.ts"],"sourcesContent":["import { wowBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type {\n DecorIndexResponse,\n DecorResponse,\n DecorSearchResponse,\n FixtureHookIndexResponse,\n FixtureHookResponse,\n FixtureHookSearchResponse,\n FixtureIndexResponse,\n FixtureResponse,\n FixtureSearchResponse,\n GenericDecorSearchParameters,\n RoomIndexReponse,\n RoomResponse,\n RoomSearchResponse,\n} from './types';\n\n/**\n *\n * Returns an index of decor.\n * @returns An index of decor. See {@link DecorIndexResponse}.\n */\nexport function decorIndex(): Resource<DecorIndexResponse> {\n return {\n namespace: 'static',\n path: '/data/wow/decor/index',\n };\n}\n\n/**\n * Returns a decor by ID.\n * @param decorId The decor ID.\n * @returns A decor. See {@link DecorResponse}.\n */\nexport function decor(decorId: number): Resource<DecorResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/decor/${encodeURIComponent(decorId)}`,\n };\n}\n\n/**\n * Searches for decor.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A decor. See {@link DecorSearchResponse}.\n */\nexport function decorSearch(\n options: GenericDecorSearchParameters,\n): Resource<DecorSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/decor`,\n };\n}\n\n/**\n * Returns an index of fixtures.\n * @returns An index of fixtures. See {@link FixtureIndexResponse}.\n */\nexport function fixtureIndex(): Resource<FixtureIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture/index`,\n };\n}\n\n/**\n * Returns a fixture by ID.\n * @param fixtureId The fixture ID.\n * @returns A fixture. See {@link FixtureResponse}.\n */\nexport function fixture(fixtureId: number): Resource<FixtureResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture/${encodeURIComponent(fixtureId)}`,\n };\n}\n\n/**\n * Searches for fixtures.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A fixture. See {@link FixtureSearchResponse}.\n */\nexport function fixtureSearch(\n options: GenericDecorSearchParameters,\n): Resource<FixtureSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/fixture`,\n };\n}\n\n/**\n * Returns an index of fixture hooks.\n * @returns An index of fixture hooks. See {@link FixtureHookIndexResponse}.\n */\nexport function fixtureHookIndex(): Resource<FixtureHookIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture-hook/index`,\n };\n}\n\n/**\n * Returns a fixture hook by ID.\n * @param fixtureHookId The fixture hook ID.\n * @returns A fixture hook. See {@link FixtureHookResponse}.\n */\nexport function fixtureHook(fixtureHookId: number): Resource<FixtureHookResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/fixture-hook/${encodeURIComponent(fixtureHookId)}`,\n };\n}\n\n/**\n * Searches for fixture hooks.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A fixture hook. See {@link FixtureSearchResponse}.\n */\nexport function fixtureHookSearch(\n options: GenericDecorSearchParameters,\n): Resource<FixtureHookSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/fixture-hook`,\n };\n}\n\n/**\n * Returns an index of rooms.\n * @returns An index of rooms. See {@link RoomIndexReponse}.\n */\nexport function roomIndex(): Resource<RoomIndexReponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/room/index`,\n };\n}\n\n/**\n * Returns a room by ID.\n * @param roomId The room ID.\n * @returns A room. See {@link RoomResponse}.\n */\nexport function room(roomId: number): Resource<RoomResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/room/${encodeURIComponent(roomId)}`,\n };\n}\n\n/**\n * Searches for rooms.\n * @param options The search parameters. See {@link GenericDecorSearchParameters}.\n * @returns A room. See {@link RoomSearchResponse}.\n */\nexport function roomSearch(\n options: GenericDecorSearchParameters,\n): Resource<RoomSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`name.${options.locale}`]: options.name,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/room`,\n };\n}\n"],"mappings":";;;;;;;AAuBA,SAAgB,aAA2C;CACzD,OAAO;EACL,WAAW;EACX,MAAM;CACR;AACF;;;;;;AAOA,SAAgB,MAAM,SAA0C;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,SAAS,mBAAmB,OAAO;CAC1D;AACF;;;;;;AAOA,SAAgB,YACd,SACsF;CACtF,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF;;;;;AAMA,SAAgB,eAA+C;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAOA,SAAgB,QAAQ,WAA8C;CACpE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,WAAW,mBAAmB,SAAS;CAC9D;AACF;;;;;;AAOA,SAAgB,cACd,SACwF;CACxF,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF;;;;;AAMA,SAAgB,mBAAuD;CACrE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAOA,SAAgB,YAAY,eAAsD;CAChF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,gBAAgB,mBAAmB,aAAa;CACvE;AACF;;;;;;AAOA,SAAgB,kBACd,SAC4F;CAC5F,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF;;;;;AAMA,SAAgB,YAAwC;CACtD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAOA,SAAgB,KAAK,QAAwC;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,QAAQ,mBAAmB,MAAM;CACxD;AACF;;;;;;AAOA,SAAgB,WACd,SACqF;CACrF,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;IACd,QAAQ,QAAQ,WAAW,QAAQ;GACpC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
|
|
@@ -11,7 +11,7 @@ interface QuestAreaIndexResponse extends ResponseBase {
|
|
|
11
11
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
12
12
|
*/
|
|
13
13
|
interface QuestAreaResponse extends ResponseBase {
|
|
14
|
-
area: string;
|
|
14
|
+
area: null | string;
|
|
15
15
|
id: number;
|
|
16
16
|
quests: Array<NullishNameIdKey>;
|
|
17
17
|
}
|
|
@@ -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-Cqlff6vd.d.ts.map
|
|
@@ -127,52 +127,52 @@ interface WowAccount {
|
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
129
|
* 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}
|
|
130
|
-
* @param token
|
|
130
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
131
131
|
* @returns an index of collection types for an account.
|
|
132
132
|
*/
|
|
133
|
-
declare function accountCollectionsIndex(token
|
|
133
|
+
declare function accountCollectionsIndex(token?: string): ProtectedResource<AccountCollectionsIndexResponse>;
|
|
134
134
|
/**
|
|
135
135
|
* 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}
|
|
136
|
-
* @param token
|
|
136
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
137
137
|
* @returns the housing decor an account has collected.
|
|
138
138
|
*/
|
|
139
|
-
declare function accountDecorCollection(token
|
|
139
|
+
declare function accountDecorCollection(token?: string): ProtectedResource<AccountDecorCollectionResponse>;
|
|
140
140
|
/**
|
|
141
141
|
* 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}
|
|
142
|
-
* @param token
|
|
142
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
143
143
|
* @returns a summary of the heirlooms an account has obtained.
|
|
144
144
|
*/
|
|
145
|
-
declare function accountHeirloomsCollectionSummary(token
|
|
145
|
+
declare function accountHeirloomsCollectionSummary(token?: string): ProtectedResource<AccountHeirloomsCollectionSummaryResponse>;
|
|
146
146
|
/**
|
|
147
147
|
* 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}
|
|
148
|
-
* @param token
|
|
148
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
149
149
|
* @returns a summary of the mounts an account has obtained.
|
|
150
150
|
*/
|
|
151
|
-
declare function accountMountsCollectionSummary(token
|
|
151
|
+
declare function accountMountsCollectionSummary(token?: string): ProtectedResource<AccountMountsCollectionSummaryResponse>;
|
|
152
152
|
/**
|
|
153
153
|
* 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}
|
|
154
|
-
* @param token
|
|
154
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
155
155
|
* @returns a summary of the battle pets an account has obtained.
|
|
156
156
|
*/
|
|
157
|
-
declare function accountPetsCollectionSummary(token
|
|
157
|
+
declare function accountPetsCollectionSummary(token?: string): ProtectedResource<AccountPetsCollectionSummaryResponse>;
|
|
158
158
|
/**
|
|
159
159
|
* 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}
|
|
160
|
-
* @param token
|
|
160
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
161
161
|
* @returns a profile summary for an account.
|
|
162
162
|
*/
|
|
163
|
-
declare function accountProfileSummary(token
|
|
163
|
+
declare function accountProfileSummary(token?: string): ProtectedResource<AccountProfileSummaryResponse>;
|
|
164
164
|
/**
|
|
165
165
|
* 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}
|
|
166
|
-
* @param token
|
|
166
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
167
167
|
* @returns a summary of the toys an account has obtained.
|
|
168
168
|
*/
|
|
169
|
-
declare function accountToysCollectionSummary(token
|
|
169
|
+
declare function accountToysCollectionSummary(token?: string): ProtectedResource<AccountToysCollectionSummaryResponse>;
|
|
170
170
|
/**
|
|
171
171
|
* 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}
|
|
172
|
-
* @param token
|
|
172
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
173
173
|
* @returns a summary of the transmog unlocks an account has obtained.
|
|
174
174
|
*/
|
|
175
|
-
declare function accountTransmogsCollectionSummary(token
|
|
175
|
+
declare function accountTransmogsCollectionSummary(token?: string): ProtectedResource<AccountTransmogsCollectionSummaryResponse>;
|
|
176
176
|
/**
|
|
177
177
|
* 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}
|
|
178
178
|
* @param realmId The realm ID.
|
|
@@ -182,4 +182,4 @@ declare function accountTransmogsCollectionSummary(token: string): ProtectedReso
|
|
|
182
182
|
*/
|
|
183
183
|
declare function protectedCharacterProfileSummary(realmId: number, characterId: number, token: string): ProtectedResource<ProtectedCharacterProfileSummaryResponse>;
|
|
184
184
|
export { AccountTransmogsCollectionSummaryResponse as _, accountPetsCollectionSummary as a, accountTransmogsCollectionSummary as c, AccountDecorCollectionResponse as d, AccountHeirloomsCollectionSummaryResponse as f, AccountToysCollectionSummaryResponse as g, AccountProfileSummaryResponse as h, accountMountsCollectionSummary as i, protectedCharacterProfileSummary as l, AccountPetsCollectionSummaryResponse as m, accountDecorCollection as n, accountProfileSummary as o, AccountMountsCollectionSummaryResponse as p, accountHeirloomsCollectionSummary as r, accountToysCollectionSummary as s, accountCollectionsIndex as t, AccountCollectionsIndexResponse as u, ProtectedCharacterProfileSummaryResponse as v };
|
|
185
|
-
//# sourceMappingURL=index-
|
|
185
|
+
//# sourceMappingURL=index-V1Na_uH5.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as AccountTransmogsCollectionSummaryResponse, a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, d as AccountDecorCollectionResponse, f as AccountHeirloomsCollectionSummaryResponse, g as AccountToysCollectionSummaryResponse, h as AccountProfileSummaryResponse, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, m as AccountPetsCollectionSummaryResponse, n as accountDecorCollection, o as accountProfileSummary, p as AccountMountsCollectionSummaryResponse, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex, u as AccountCollectionsIndexResponse, v as ProtectedCharacterProfileSummaryResponse } from "./index-
|
|
1
|
+
import { _ as AccountTransmogsCollectionSummaryResponse, a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, d as AccountDecorCollectionResponse, f as AccountHeirloomsCollectionSummaryResponse, g as AccountToysCollectionSummaryResponse, h as AccountProfileSummaryResponse, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, m as AccountPetsCollectionSummaryResponse, n as accountDecorCollection, o as accountProfileSummary, p as AccountMountsCollectionSummaryResponse, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex, u as AccountCollectionsIndexResponse, v as ProtectedCharacterProfileSummaryResponse } from "./index-V1Na_uH5.js";
|
|
2
2
|
import { a as achievementMedia, c as AchievementCriteria, d as AchievementResponse, i as achievementIndex, l as AchievementIndexResponse, n as achievementCategory, o as AchievementCategoryIndexResponse, r as achievementCategoryIndex, s as AchievementCategoryResponse, t as achievement, u as AchievementMediaResponse } from "./index-0Bhntrik.js";
|
|
3
3
|
import { i as AuctionHouseResponse, n as commodities, r as AuctionHouseCommoditiesResponse, t as auctions } from "./index-CkvIeNqH.js";
|
|
4
4
|
import { a as AzeriteEssenceIndexResponse, c as AzeriteEssenceSearchParameters, i as azeriteEssenceSearch, l as AzeriteEssenceSearchResponse, n as azeriteEssenceIndex, o as AzeriteEssenceMediaResponse, r as azeriteEssenceMedia, s as AzeriteEssenceResponse, t as azeriteEssence } from "./index-clqZ-M8A.js";
|
|
@@ -46,7 +46,7 @@ import { i as PowerTypeResponse, n as powerTypeIndex, r as PowerTypeIndexRespons
|
|
|
46
46
|
import { a as recipe, c as ProfessionMediaResponse, d as RecipeMediaResponse, f as RecipeResponse, i as professionSkillTier, l as ProfessionResponse, n as professionIndex, o as recipeMedia, r as professionMedia, s as ProfessionIndexResponse, t as profession, u as ProfessionSkillTierResponse } from "./index-_gTBl2_Y.js";
|
|
47
47
|
import { a as pvpSeasonIndex, c as PvpRewardsIndexResponse, i as pvpSeason, l as PvpSeasonIndexResponse, n as pvpLeaderboardIndex, o as PvpLeaderboardIndexResponse, r as pvpRewardsIndex, s as PvpLeaderboardResponse, t as pvpLeaderboard, u as PvpSeasonResponse } from "./index-bl4DdMgs.js";
|
|
48
48
|
import { a as PvpTierMediaResponse, i as PvpTierIndexResponse, n as pvpTierIndex, o as PvpTierResponse, r as pvpTierMedia, t as pvpTier } from "./index-eLWbd2FJ.js";
|
|
49
|
-
import { a as questCategoryIndex, c as questTypeIndex, d as QuestCategoryIndexResponse, f as QuestCategoryResponse, g as QuestTypeResponse, h as QuestTypeIndexResponse, i as questCategory, l as QuestAreaIndexResponse, m as QuestResponse, n as questArea, o as questIndex, p as QuestIndexResponse, r as questAreaIndex, s as questType, t as quest, u as QuestAreaResponse } from "./index-
|
|
49
|
+
import { a as questCategoryIndex, c as questTypeIndex, d as QuestCategoryIndexResponse, f as QuestCategoryResponse, g as QuestTypeResponse, h as QuestTypeIndexResponse, i as questCategory, l as QuestAreaIndexResponse, m as QuestResponse, n as questArea, o as questIndex, p as QuestIndexResponse, r as questAreaIndex, s as questType, t as quest, u as QuestAreaResponse } from "./index-Cqlff6vd.js";
|
|
50
50
|
import { realm, realmIndex, realmSearch } from "./realm/index.js";
|
|
51
51
|
import { i as RegionResponse, n as regionIndex, r as RegionIndexResponse, t as region } from "./index-DeQ5fmQn.js";
|
|
52
52
|
import { a as ReputationFactionIndexResponse, c as ReputationTiersResponse, i as reputationTiersIndex, n as reputationFactionIndex, o as ReputationFactionResponse, r as reputationTiers, s as ReputationTiersIndexResponse, t as reputationFaction } from "./index-DWXx_hQX.js";
|