@blizzard-api/wow 4.0.3 → 4.0.5
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 +1 -1
- package/dist/account-profile/index.js.map +1 -1
- package/dist/achievements/index.d.ts +1 -1
- package/dist/achievements/index.js.map +1 -1
- package/dist/auction-house/index.d.ts +1 -1
- package/dist/auction-house/index.js.map +1 -1
- package/dist/azerite-essence/index.d.ts +1 -1
- package/dist/azerite-essence/index.js.map +1 -1
- package/dist/character-achievements/index.d.ts +1 -1
- package/dist/character-achievements/index.js.map +1 -1
- package/dist/character-appearance/index.d.ts +1 -1
- package/dist/character-appearance/index.js.map +1 -1
- package/dist/character-collections/index.d.ts +1 -1
- package/dist/character-collections/index.js.map +1 -1
- package/dist/character-encounters/index.d.ts +1 -1
- package/dist/character-encounters/index.js.map +1 -1
- package/dist/character-equipment/index.d.ts +1 -1
- package/dist/character-equipment/index.js.map +1 -1
- package/dist/character-hunter-pets/index.d.ts +1 -1
- package/dist/character-hunter-pets/index.js.map +1 -1
- package/dist/character-media/index.d.ts +1 -1
- package/dist/character-media/index.js.map +1 -1
- package/dist/character-mythic-keystone-profile/index.d.ts +1 -1
- package/dist/character-mythic-keystone-profile/index.js.map +1 -1
- package/dist/character-professions/index.d.ts +1 -1
- package/dist/character-professions/index.js.map +1 -1
- package/dist/character-profile/index.d.ts +1 -1
- package/dist/character-profile/index.js.map +1 -1
- package/dist/character-pvp/index.d.ts +1 -1
- package/dist/character-pvp/index.js.map +1 -1
- package/dist/character-quests/index.d.ts +1 -1
- package/dist/character-quests/index.js.map +1 -1
- package/dist/character-reputations/index.d.ts +1 -1
- package/dist/character-reputations/index.js.map +1 -1
- package/dist/character-soulbinds/index.d.ts +1 -1
- package/dist/character-soulbinds/index.js.map +1 -1
- package/dist/character-specializations/index.d.ts +1 -1
- package/dist/character-specializations/index.js.map +1 -1
- package/dist/character-statistics/index.d.ts +1 -1
- package/dist/character-statistics/index.js.map +1 -1
- package/dist/character-titles/index.d.ts +1 -1
- package/dist/character-titles/index.js.map +1 -1
- package/dist/connected-realm/index.d.ts +1 -1
- package/dist/connected-realm/index.js.map +1 -1
- package/dist/covenant/index.d.ts +1 -1
- package/dist/covenant/index.js.map +1 -1
- package/dist/creature/index.d.ts +1 -1
- package/dist/creature/index.js.map +1 -1
- package/dist/guild/index.d.ts +1 -1
- package/dist/guild/index.js.map +1 -1
- package/dist/guild-crest/index.d.ts +1 -1
- package/dist/guild-crest/index.js.map +1 -1
- package/dist/heirloom/index.d.ts +1 -1
- package/dist/heirloom/index.js.map +1 -1
- package/dist/housing-decor/index.d.ts +1 -1
- package/dist/housing-decor/index.js.map +1 -1
- package/dist/{index-BuORTLmA.d.ts → index-05bWHuw-.d.ts} +1 -1
- package/dist/{index-Do1l3j1C.d.ts → index-0KWdApHb.d.ts} +86 -5
- package/dist/{index-DxEXkR_n.d.ts → index-24YHmaTw.d.ts} +1 -1
- package/dist/{index-DwuFoDTp.d.ts → index-B0pIiKpC.d.ts} +1 -1
- package/dist/{index-CS_QQdEk.d.ts → index-B9uroXnG.d.ts} +1 -1
- package/dist/{index-B_OrLUY42.d.ts → index-BBahOBQS2.d.ts} +1 -1
- package/dist/{index-DvzdYkdL.d.ts → index-BCTRyOrp.d.ts} +1 -1
- package/dist/{index--WL1Ol2r.d.ts → index-BFxvElZH.d.ts} +1 -1
- package/dist/{index-CMDZfaJk.d.ts → index-BHXdopzk.d.ts} +1 -1
- package/dist/{index-C9JT3jCN2.d.ts → index-BHkqRbxC2.d.ts} +1 -1
- package/dist/{index-J46u_PSy2.d.ts → index-BIrIv_Mr2.d.ts} +1 -1
- package/dist/{index-BlLUJk4H2.d.ts → index-BVs6hQne2.d.ts} +1 -1
- package/dist/{index-D8aCcItd2.d.ts → index-BZ9PVBO42.d.ts} +1 -1
- package/dist/{index-DLD2tbdk.d.ts → index-BZGjFMiI.d.ts} +1 -1
- package/dist/{index-DpfeUoRy.d.ts → index-BdXHZTxx.d.ts} +1 -1
- package/dist/{index-m4fmIRKg.d.ts → index-Bi9pHkMB.d.ts} +1 -1
- package/dist/{index-C2BXkcO8.d.ts → index-BnsJ8vCj.d.ts} +1 -1
- package/dist/{index-2xjdPrIp.d.ts → index-Bp_Jo2ZI.d.ts} +1 -1
- package/dist/{index-BgkVcJkr2.d.ts → index-C-__dzSH2.d.ts} +1 -1
- package/dist/{index-DJZZaqMF.d.ts → index-C-ahBWds.d.ts} +1 -1
- package/dist/{index-CWFif_SP2.d.ts → index-C4RC7NKV2.d.ts} +1 -1
- package/dist/{index-DScltfEW.d.ts → index-C6-v9cSm.d.ts} +1 -1
- package/dist/{index-LhUh1Lk5.d.ts → index-C8bInskh.d.ts} +1 -1
- package/dist/{index-0hpJYoWw.d.ts → index-C95i4KEl.d.ts} +1 -1
- package/dist/{index-CH3CudPP.d.ts → index-CG0HaW0R.d.ts} +2 -2
- package/dist/{index-DiU4f1cd2.d.ts → index-CHD7afgy2.d.ts} +1 -1
- package/dist/{index-CmJhDVVk.d.ts → index-CJQWVNOh.d.ts} +1 -1
- package/dist/{index-fbBIJXcV.d.ts → index-CQMbPrgO.d.ts} +1 -1
- package/dist/{index-h17WWDmt.d.ts → index-CisDEinP.d.ts} +1 -1
- package/dist/{index-Dzfv2QaX.d.ts → index-ClW6ore3.d.ts} +1 -1
- package/dist/{index-DZqv9GTd.d.ts → index-D-1IeDEi.d.ts} +2 -2
- package/dist/{index-B-v4jmT8.d.ts → index-D25lQ0kF.d.ts} +1 -1
- package/dist/{index-BM5t9AbX2.d.ts → index-D6FwaRSR2.d.ts} +1 -1
- package/dist/{index-DlPApY0x.d.ts → index-D95DK7_R.d.ts} +1 -1
- package/dist/{index-CP1gTrDv.d.ts → index-DAV45_yW.d.ts} +5 -5
- package/dist/{index-BUSzkCHP2.d.ts → index-DKHxlYyp2.d.ts} +1 -1
- package/dist/{index-ZAJGdEvm.d.ts → index-DKUy2rnt.d.ts} +1 -1
- package/dist/{index-BOz0BCUN2.d.ts → index-DMt_YLrb2.d.ts} +1 -1
- package/dist/{index-SfMQ7bBi2.d.ts → index-DVrM4YtC2.d.ts} +1 -1
- package/dist/{index-BXawY6VA2.d.ts → index-DaGLTQJn2.d.ts} +1 -1
- package/dist/{index-CJSqSpru.d.ts → index-Dbd6X4HH.d.ts} +1 -1
- package/dist/{index-ChVDi11Z.d.ts → index-DiTdypID.d.ts} +1 -1
- package/dist/{index-DDHIN-u0.d.ts → index-DlGt3yoG.d.ts} +1 -1
- package/dist/{index-BAx6xlRe.d.ts → index-DlrB4osj.d.ts} +1 -1
- package/dist/{index-Xyv-CG_n.d.ts → index-DnPAvTnr.d.ts} +1 -1
- package/dist/{index-BcKDDvwF.d.ts → index-Dz1ROyfl.d.ts} +1 -1
- package/dist/{index-fn_f7xiC.d.ts → index-H3YlIpbK.d.ts} +1 -1
- package/dist/{index-DugS9-SV2.d.ts → index-KLfmlscW2.d.ts} +1 -1
- package/dist/{index-BWGWNZX7.d.ts → index-NuMhTMwW.d.ts} +1 -1
- package/dist/{index-Bd_PavJU.d.ts → index-UnB5HEVd.d.ts} +1 -1
- package/dist/{index-DlkM3Nrw2.d.ts → index-s-cdLa6h2.d.ts} +1 -1
- package/dist/{index-Cto5KQ-A2.d.ts → index-tMR2Nejl2.d.ts} +1 -1
- package/dist/{index-BJYdOuJB2.d.ts → index-tq0i3Iy82.d.ts} +1 -1
- package/dist/{index-Awzmubcb2.d.ts → index-uqkeYZqW2.d.ts} +1 -1
- package/dist/index.d.ts +57 -57
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/item/index.d.ts +2 -2
- package/dist/item/index.js +3 -3
- package/dist/item/index.js.map +1 -1
- package/dist/journal/index.d.ts +1 -1
- package/dist/journal/index.js.map +1 -1
- package/dist/media-search/index.d.ts +1 -1
- package/dist/media-search/index.js.map +1 -1
- package/dist/modified-crafting/index.d.ts +1 -1
- package/dist/modified-crafting/index.js.map +1 -1
- package/dist/mount/index.d.ts +1 -1
- package/dist/mount/index.js.map +1 -1
- package/dist/mythic-keystone-affix/index.d.ts +1 -1
- package/dist/mythic-keystone-affix/index.js.map +1 -1
- package/dist/mythic-keystone-dungeon/index.d.ts +1 -1
- package/dist/mythic-keystone-dungeon/index.js.map +1 -1
- package/dist/mythic-keystone-leaderboard/index.d.ts +1 -1
- package/dist/mythic-keystone-leaderboard/index.js.map +1 -1
- package/dist/mythic-raid-leaderboard/index.d.ts +1 -1
- package/dist/mythic-raid-leaderboard/index.js.map +1 -1
- package/dist/pet/index.d.ts +1 -1
- package/dist/pet/index.js.map +1 -1
- package/dist/playable-class/index.d.ts +1 -1
- package/dist/playable-class/index.js.map +1 -1
- package/dist/playable-race/index.d.ts +1 -1
- package/dist/playable-race/index.js.map +1 -1
- package/dist/playable-specialization/index.d.ts +1 -1
- package/dist/playable-specialization/index.js.map +1 -1
- package/dist/power-type/index.d.ts +1 -1
- package/dist/power-type/index.js.map +1 -1
- package/dist/profession/index.d.ts +1 -1
- package/dist/profession/index.js.map +1 -1
- package/dist/pvp-season/index.d.ts +1 -1
- package/dist/pvp-season/index.js.map +1 -1
- package/dist/pvp-tier/index.d.ts +1 -1
- package/dist/pvp-tier/index.js.map +1 -1
- package/dist/quest/index.d.ts +1 -1
- package/dist/quest/index.js.map +1 -1
- package/dist/realm/index.d.ts +1 -1
- package/dist/realm/index.js.map +1 -1
- package/dist/region/index.d.ts +1 -1
- package/dist/region/index.js.map +1 -1
- package/dist/reputations/index.d.ts +1 -1
- package/dist/reputations/index.js.map +1 -1
- package/dist/spell/index.d.ts +1 -1
- package/dist/spell/index.js.map +1 -1
- package/dist/talent/index.d.ts +1 -1
- package/dist/talent/index.js.map +1 -1
- package/dist/tech-talent/index.d.ts +1 -1
- package/dist/tech-talent/index.js.map +1 -1
- package/dist/title/index.d.ts +1 -1
- package/dist/title/index.js.map +1 -1
- package/dist/toy/index.d.ts +1 -1
- package/dist/toy/index.js.map +1 -1
- package/dist/{types-Z0ZgMUXA.d.ts → types-DHns9J6w.d.ts} +1 -1
- package/dist/wow-token/index.d.ts +1 -1
- package/dist/wow-token/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as accountProfileSummary, c as protectedCharacterProfileSummary, i as accountPetsCollectionSummary, n as accountHeirloomsCollectionSummary, o as accountToysCollectionSummary, r as accountMountsCollectionSummary, s as accountTransmogsCollectionSummary, t as accountCollectionsIndex } from "../index
|
|
1
|
+
import { a as accountProfileSummary, c as protectedCharacterProfileSummary, i as accountPetsCollectionSummary, n as accountHeirloomsCollectionSummary, o as accountToysCollectionSummary, r as accountMountsCollectionSummary, s as accountTransmogsCollectionSummary, t as accountCollectionsIndex } from "../index-BFxvElZH.js";
|
|
2
2
|
export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\nconst accountProfileBase = '/profile/user/wow';\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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\n * @returns a profile summary for an account.\n */\nexport function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path:
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\nconst accountProfileBase = '/profile/user/wow';\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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\n * @returns a profile summary for an account.\n */\nexport function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: accountProfileBase,\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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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 The OAuth 2.0 access token to use for authentication.\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: `${accountProfileBase}/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: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,\n token,\n };\n}\n"],"mappings":";AAYA,MAAM,qBAAqB;;;;;;AAO3B,SAAgB,wBAAwB,OAAmE;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,+BACd,OAC2D;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAwE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,sBAAsB,OAAiE;CACrG,OAAO;EACL,WAAW;EACX,MAAM;EACN;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAwE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;;;AASA,SAAgB,iCACd,SACA,aACA,OAC6D;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB,uBAAuB,QAAQ,GAAG;EAC9D;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-BdXHZTxx.js";
|
|
2
2
|
export { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/achievements/index.ts"],"sourcesContent":["import { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type {\n AchievementCategoryIndexResponse,\n AchievementCategoryResponse,\n AchievementIndexResponse,\n AchievementMediaResponse,\n AchievementResponse,\n} from './types';\n\nconst achievementBase = `${wowBasePath}/achievement`;\nconst achievementCategoryBase = `${wowBasePath}/achievement-category`;\n\n/**\n * Get an achievement by ID.\n * @param achievementId The achievement ID.\n * @returns The achievement. See {@link AchievementResponse}.\n */\nexport function achievement(achievementId: number): Resource<AchievementResponse> {\n return {\n namespace: 'static',\n path: `${achievementBase}/${achievementId}`,\n };\n}\n/**\n * Get an achievement category by ID.\n * @param achievementCategoryId The achievement category ID.\n * @returns The achievement category. See {@link AchievementCategoryResponse}.\n */\nexport function achievementCategory(achievementCategoryId: number): Resource<AchievementCategoryResponse> {\n return {\n namespace: 'static',\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\n };\n}\n/**\n * Get an achievement category index.\n * @returns The achievement category index. See {@link AchievementCategoryIndexResponse}.\n */\nexport function achievementCategoryIndex(): Resource<AchievementCategoryIndexResponse> {\n return {\n namespace: 'static',\n path: `${achievementCategoryBase}/index`,\n };\n}\n/**\n * Get an achievement index.\n * @returns The achievement index. See {@link AchievementIndexResponse}.\n */\nexport function achievementIndex(): Resource<AchievementIndexResponse> {\n return {\n namespace: 'static',\n path: `${achievementBase}/index`,\n };\n}\n/**\n * Get achievement media by ID.\n * @param achievementId The achievement ID.\n * @returns The achievement media. See {@link AchievementMediaResponse}.\n */\nexport function achievementMedia(achievementId: number): Resource<AchievementMediaResponse> {\n return { namespace: 'static', path: `${wowMediaBasePath}/achievement/${achievementId}` };\n}\n"],"mappings":";;AAUA,MAAM,kBAAkB,GAAG,YAAY;AACvC,MAAM,0BAA0B,GAAG,YAAY;;;;;;AAO/C,SAAgB,YAAY,eAAsD;CAChF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,gBAAgB,GAAG;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/achievements/index.ts"],"sourcesContent":["import { wowBasePath, wowMediaBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type {\n AchievementCategoryIndexResponse,\n AchievementCategoryResponse,\n AchievementIndexResponse,\n AchievementMediaResponse,\n AchievementResponse,\n} from './types';\n\nconst achievementBase = `${wowBasePath}/achievement`;\nconst achievementCategoryBase = `${wowBasePath}/achievement-category`;\n\n/**\n * Get an achievement by ID.\n * @param achievementId The achievement ID.\n * @returns The achievement. See {@link AchievementResponse}.\n */\nexport function achievement(achievementId: number): Resource<AchievementResponse> {\n return {\n namespace: 'static',\n path: `${achievementBase}/${achievementId}`,\n };\n}\n/**\n * Get an achievement category by ID.\n * @param achievementCategoryId The achievement category ID.\n * @returns The achievement category. See {@link AchievementCategoryResponse}.\n */\nexport function achievementCategory(achievementCategoryId: number): Resource<AchievementCategoryResponse> {\n return {\n namespace: 'static',\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\n };\n}\n/**\n * Get an achievement category index.\n * @returns The achievement category index. See {@link AchievementCategoryIndexResponse}.\n */\nexport function achievementCategoryIndex(): Resource<AchievementCategoryIndexResponse> {\n return {\n namespace: 'static',\n path: `${achievementCategoryBase}/index`,\n };\n}\n/**\n * Get an achievement index.\n * @returns The achievement index. See {@link AchievementIndexResponse}.\n */\nexport function achievementIndex(): Resource<AchievementIndexResponse> {\n return {\n namespace: 'static',\n path: `${achievementBase}/index`,\n };\n}\n/**\n * Get achievement media by ID.\n * @param achievementId The achievement ID.\n * @returns The achievement media. See {@link AchievementMediaResponse}.\n */\nexport function achievementMedia(achievementId: number): Resource<AchievementMediaResponse> {\n return { namespace: 'static', path: `${wowMediaBasePath}/achievement/${achievementId}` };\n}\n"],"mappings":";;AAUA,MAAM,kBAAkB,GAAG,YAAY;AACvC,MAAM,0BAA0B,GAAG,YAAY;;;;;;AAO/C,SAAgB,YAAY,eAAsD;CAChF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,gBAAgB,GAAG;CAC9B;AACF;;;;;;AAMA,SAAgB,oBAAoB,uBAAsE;CACxG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,wBAAwB,GAAG;CACtC;AACF;;;;;AAKA,SAAgB,2BAAuE;CACrF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,wBAAwB;CACnC;AACF;;;;;AAKA,SAAgB,mBAAuD;CACrE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,gBAAgB;CAC3B;AACF;;;;;;AAMA,SAAgB,iBAAiB,eAA2D;CAC1F,OAAO;EAAE,WAAW;EAAU,MAAM,GAAG,iBAAiB,eAAe;CAAgB;AACzF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as commodities, t as auctions } from "../index-
|
|
1
|
+
import { n as commodities, t as auctions } from "../index-D95DK7_R.js";
|
|
2
2
|
export { auctions, commodities };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/auction-house/index.ts"],"sourcesContent":["import { wowBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\n/**\n * Get auction house data for a connected realm.\n * @param connectedRealmId The ID of the connected realm.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\nexport function auctions(connectedRealmId: number): Resource<AuctionHouseResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}/auctions`,\n };\n}\n/**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\nexport function commodities(): Resource<AuctionHouseCommoditiesResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/auctions/commodities`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,SAAS,kBAA0D;CACjF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,iBAAiB;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/auction-house/index.ts"],"sourcesContent":["import { wowBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\n/**\n * Get auction house data for a connected realm.\n * @param connectedRealmId The ID of the connected realm.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\nexport function auctions(connectedRealmId: number): Resource<AuctionHouseResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/connected-realm/${connectedRealmId}/auctions`,\n };\n}\n/**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\nexport function commodities(): Resource<AuctionHouseCommoditiesResponse> {\n return {\n namespace: 'dynamic',\n path: `${wowBasePath}/auctions/commodities`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,SAAS,kBAA0D;CACjF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB,iBAAiB;CAC3D;AACF;;;;;AAKA,SAAgB,cAAyD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
|
@@ -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-BCTRyOrp.js";
|
|
2
2
|
export { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/azerite-essence/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n AzeriteEssenceIndexResponse,\n AzeriteEssenceMediaResponse,\n AzeriteEssenceResponse,\n AzeriteEssenceSearchParameters,\n AzeriteEssenceSearchResponse,\n} from './types';\n\n/**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\nexport function azeriteEssence(azeriteEssenceId: number): Resource<AzeriteEssenceResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/azerite-essence/${azeriteEssenceId}`,\n };\n}\n/**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\nexport function azeriteEssenceIndex(): Resource<AzeriteEssenceIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/azerite-essence/index`,\n };\n}\n/**\n * Get azerite essence media by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence media. See {@link AzeriteEssenceMediaResponse}.\n */\nexport function azeriteEssenceMedia(azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> {\n return { namespace: 'static', path: `${wowMediaBasePath}/azerite-essence/${azeriteEssenceId}` };\n}\n/**\n * Search for azerite essences.\n * @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.\n * @returns The search results. See {@link AzeriteEssenceSearchResponse}.\n */\nexport function azeriteEssenceSearch(\n options: AzeriteEssenceSearchParameters,\n): Resource<AzeriteEssenceSearchResponse, AzeriteEssenceSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n 'allowed_specializations.id': options['allowed_specializations.id'],\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/azerite-essence`,\n };\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/azerite-essence/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport { wowBasePath, wowMediaBasePath, wowSearchBasePath } from '@blizzard-api/core';\nimport type {\n AzeriteEssenceIndexResponse,\n AzeriteEssenceMediaResponse,\n AzeriteEssenceResponse,\n AzeriteEssenceSearchParameters,\n AzeriteEssenceSearchResponse,\n} from './types';\n\n/**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\nexport function azeriteEssence(azeriteEssenceId: number): Resource<AzeriteEssenceResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/azerite-essence/${azeriteEssenceId}`,\n };\n}\n/**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\nexport function azeriteEssenceIndex(): Resource<AzeriteEssenceIndexResponse> {\n return {\n namespace: 'static',\n path: `${wowBasePath}/azerite-essence/index`,\n };\n}\n/**\n * Get azerite essence media by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence media. See {@link AzeriteEssenceMediaResponse}.\n */\nexport function azeriteEssenceMedia(azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> {\n return { namespace: 'static', path: `${wowMediaBasePath}/azerite-essence/${azeriteEssenceId}` };\n}\n/**\n * Search for azerite essences.\n * @param options The search parameters. See {@link AzeriteEssenceSearchParameters}.\n * @returns The search results. See {@link AzeriteEssenceSearchResponse}.\n */\nexport function azeriteEssenceSearch(\n options: AzeriteEssenceSearchParameters,\n): Resource<AzeriteEssenceSearchResponse, AzeriteEssenceSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n 'allowed_specializations.id': options['allowed_specializations.id'],\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${wowSearchBasePath}/azerite-essence`,\n };\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB;CAC1C;AACF;;;;;AAKA,SAAgB,sBAA6D;CAC3E,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF;;;;;;AAMA,SAAgB,oBAAoB,kBAAiE;CACnG,OAAO;EAAE,WAAW;EAAU,MAAM,GAAG,iBAAiB,mBAAmB;CAAmB;AAChG;;;;;;AAMA,SAAgB,qBACd,SACwE;CACxE,OAAO;EACL,WAAW;EACX,YAAY;GACV,OAAO,QAAQ;GACf,8BAA8B,QAAQ;GACtC,SAAS,MAAM,QAAQ,QAAQ,OAAO,IAAI,QAAQ,QAAQ,KAAK,GAAG,IAAI,QAAQ;EAChF;EACA,MAAM,GAAG,kBAAkB;CAC7B;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterAchievementsSummary, t as characterAchievementStatistics } from "../index-
|
|
1
|
+
import { n as characterAchievementsSummary, t as characterAchievementStatistics } from "../index-C6-v9cSm.js";
|
|
2
2
|
export { characterAchievementStatistics, characterAchievementsSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-achievements/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterAchievementsSummaryResponse, CharacterAchievementStatisticsResponse } from './types';\n\nconst basePath = '/profile/wow/character';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the achievements a character has completed.\n */\nexport function characterAchievementsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`,\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 statistics as they pertain to achievements.\n */\nexport function characterAchievementStatistics(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementStatisticsResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,6BACd,WACA,eACgD;CAChD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-achievements/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterAchievementsSummaryResponse, CharacterAchievementStatisticsResponse } from './types';\n\nconst basePath = '/profile/wow/character';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the achievements a character has completed.\n */\nexport function characterAchievementsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`,\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 statistics as they pertain to achievements.\n */\nexport function characterAchievementStatistics(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementStatisticsResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,6BACd,WACA,eACgD;CAChD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterAppearanceSummary } from "../index-
|
|
1
|
+
import { t as characterAppearanceSummary } from "../index-C-ahBWds.js";
|
|
2
2
|
export { characterAppearanceSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-appearance/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterAppearanceResponse } 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 appearance settings.\n */\nexport function characterAppearanceSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAppearanceResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/appearance`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,2BACd,WACA,eACuC;CACvC,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-appearance/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterAppearanceResponse } 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 appearance settings.\n */\nexport function characterAppearanceSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAppearanceResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/appearance`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,2BACd,WACA,eACuC;CACvC,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,YAAY,EAAE;CAC3E;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as characterToysCollectionSummary, i as characterPetsCollectionSummary, n as characterHeirloomsCollectionSummary, o as characterTransmogCollectionSummary, r as characterMountsCollectionSummary, t as characterCollectionsIndex } from "../index-
|
|
1
|
+
import { a as characterToysCollectionSummary, i as characterPetsCollectionSummary, n as characterHeirloomsCollectionSummary, o as characterTransmogCollectionSummary, r as characterMountsCollectionSummary, t as characterCollectionsIndex } from "../index-D25lQ0kF.js";
|
|
2
2
|
export { characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-collections/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type {\n CharacterCollectionsIndexResponse,\n CharacterHeirloomsCollectionSummaryResponse,\n CharacterMountsCollectionSummaryResponse,\n CharacterPetsCollectionSummaryResponse,\n CharacterToysCollectionSummaryResponse,\n CharacterTransmogCollectionSummaryResponse,\n} from './types';\n\nconst basePath = '/profile/wow/character';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns an index of collection types for a character.\n */\nexport function characterCollectionsIndex(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the heirlooms a character has obtained.\n */\nexport function characterHeirloomsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/heirlooms`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the mounts a character has obtained.\n */\nexport function characterMountsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/mounts`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the battle pets a character has obtained.\n */\nexport function characterPetsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/pets`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the toys a character has obtained.\n */\nexport function characterToysCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/toys`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the transmog unlocks a character has obtained.\n */\nexport function characterTransmogCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterTransmogCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/transmogs`,\n };\n}\n"],"mappings":";AAUA,MAAM,WAAW;;;;;;AAOjB,SAAgB,0BACd,WACA,eAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-collections/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type {\n CharacterCollectionsIndexResponse,\n CharacterHeirloomsCollectionSummaryResponse,\n CharacterMountsCollectionSummaryResponse,\n CharacterPetsCollectionSummaryResponse,\n CharacterToysCollectionSummaryResponse,\n CharacterTransmogCollectionSummaryResponse,\n} from './types';\n\nconst basePath = '/profile/wow/character';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns an index of collection types for a character.\n */\nexport function characterCollectionsIndex(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the heirlooms a character has obtained.\n */\nexport function characterHeirloomsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/heirlooms`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the mounts a character has obtained.\n */\nexport function characterMountsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/mounts`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the battle pets a character has obtained.\n */\nexport function characterPetsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/pets`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the toys a character has obtained.\n */\nexport function characterToysCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/toys`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the transmog unlocks a character has obtained.\n */\nexport function characterTransmogCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterTransmogCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/transmogs`,\n };\n}\n"],"mappings":";AAUA,MAAM,WAAW;;;;;;AAOjB,SAAgB,0BACd,WACA,eAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,oCACd,WACA,eACuD;CACvD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,iCACd,WACA,eACoD;CACpD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,mCACd,WACA,eACsD;CACtD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterEncountersSummary, r as characterRaids, t as characterDungeons } from "../index-
|
|
1
|
+
import { n as characterEncountersSummary, r as characterRaids, t as characterDungeons } from "../index-C95i4KEl.js";
|
|
2
2
|
export { characterDungeons, characterEncountersSummary, characterRaids };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-encounters/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterDungeonsResponse, CharacterEncountersSummaryResponse, CharacterRaidsResponse } from './types';\n\nconst bathPase = 'profile/wow/character';\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 completed dungeons.\n */\nexport function characterDungeons(realmSlug: string, characterName: string): Resource<CharacterDungeonsResponse> {\n return {\n namespace: 'profile',\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/dungeons`,\n };\n}\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 encounters.\n */\nexport function characterEncountersSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterEncountersSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters`,\n };\n}\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 completed raids.\n */\nexport function characterRaids(realmSlug: string, characterName: string): Resource<CharacterRaidsResponse> {\n return {\n namespace: 'profile',\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/raids`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,kBAAkB,WAAmB,eAA4D;CAC/G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-encounters/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterDungeonsResponse, CharacterEncountersSummaryResponse, CharacterRaidsResponse } from './types';\n\nconst bathPase = 'profile/wow/character';\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 completed dungeons.\n */\nexport function characterDungeons(realmSlug: string, characterName: string): Resource<CharacterDungeonsResponse> {\n return {\n namespace: 'profile',\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/dungeons`,\n };\n}\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 encounters.\n */\nexport function characterEncountersSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterEncountersSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters`,\n };\n}\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 completed raids.\n */\nexport function characterRaids(realmSlug: string, characterName: string): Resource<CharacterRaidsResponse> {\n return {\n namespace: 'profile',\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/raids`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,kBAAkB,WAAmB,eAA4D;CAC/G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF;;;;;;AAOA,SAAgB,2BACd,WACA,eAC8C;CAC9C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF;;;;;;AAOA,SAAgB,eAAe,WAAmB,eAAyD;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterEquipmentSummary } from "../index-
|
|
1
|
+
import { t as characterEquipmentSummary } from "../index-DnPAvTnr.js";
|
|
2
2
|
export { characterEquipmentSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-equipment/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterEquipmentSummaryResponse } 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 the items equipped by a character.\n */\nexport function characterEquipmentSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterEquipmentSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,0BACd,WACA,eAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-equipment/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterEquipmentSummaryResponse } 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 the items equipped by a character.\n */\nexport function characterEquipmentSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterEquipmentSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,0BACd,WACA,eAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,YAAY,EAAE;CAC3E;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterHunterPetsSummary } from "../index-
|
|
1
|
+
import { t as characterHunterPetsSummary } from "../index-C8bInskh.js";
|
|
2
2
|
export { characterHunterPetsSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-hunter-pets/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterHunterPetsSummaryResponse } from './types';\n\n/**\n * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the character's hunter pets.\n */\nexport function characterHunterPetsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterHunterPetsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,2BACd,WACA,eAC8C;CAC9C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-hunter-pets/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterHunterPetsSummaryResponse } from './types';\n\n/**\n * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the character's hunter pets.\n */\nexport function characterHunterPetsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterHunterPetsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,2BACd,WACA,eAC8C;CAC9C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterMediaSummary } from "../index-
|
|
1
|
+
import { t as characterMediaSummary } from "../index-B9uroXnG.js";
|
|
2
2
|
export { characterMediaSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-media/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterMediaSummaryResponse } 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 the media assets available for a character (such as an avatar render).\n */\nexport function characterMediaSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMediaSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,sBACd,WACA,eACyC;CACzC,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-media/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterMediaSummaryResponse } 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 the media assets available for a character (such as an avatar render).\n */\nexport function characterMediaSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMediaSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,sBACd,WACA,eACyC;CACzC,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterMythicKeystoneSeasonDetails, t as characterMythicKeystoneProfileIndex } from "../index-
|
|
1
|
+
import { n as characterMythicKeystoneSeasonDetails, t as characterMythicKeystoneProfileIndex } from "../index-ClW6ore3.js";
|
|
2
2
|
export { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-mythic-keystone-profile/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type {\n CharacterMythicKeystoneProfileIndexResponse,\n CharacterMythicKeystoneSeasonDetailsResponse,\n} from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns Returns the Mythic Keystone season details for a character. Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.\n */\nexport function characterMythicKeystoneProfileIndex(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMythicKeystoneProfileIndexResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`,\n };\n}\n\n/**\n * Returns the Mythic Keystone season details for a character.\n * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @param seasonId The ID of the season.\n * @returns the Mythic Keystone season details for a character.\n */\nexport function characterMythicKeystoneSeasonDetails(\n realmSlug: string,\n characterName: string,\n seasonId: number,\n): Resource<CharacterMythicKeystoneSeasonDetailsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`,\n };\n}\n"],"mappings":";;;;;;AAWA,SAAgB,oCACd,WACA,eACuD;CACvD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-mythic-keystone-profile/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type {\n CharacterMythicKeystoneProfileIndexResponse,\n CharacterMythicKeystoneSeasonDetailsResponse,\n} from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns Returns the Mythic Keystone season details for a character. Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.\n */\nexport function characterMythicKeystoneProfileIndex(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMythicKeystoneProfileIndexResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`,\n };\n}\n\n/**\n * Returns the Mythic Keystone season details for a character.\n * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @param seasonId The ID of the season.\n * @returns the Mythic Keystone season details for a character.\n */\nexport function characterMythicKeystoneSeasonDetails(\n realmSlug: string,\n characterName: string,\n seasonId: number,\n): Resource<CharacterMythicKeystoneSeasonDetailsResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`,\n };\n}\n"],"mappings":";;;;;;AAWA,SAAgB,oCACd,WACA,eACuD;CACvD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;CAC7D;AACF;;;;;;;;;AAUA,SAAgB,qCACd,WACA,eACA,UACwD;CACxD,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,kCAAkC;CAC/F;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterProfessionsSummary } from "../index-
|
|
1
|
+
import { t as characterProfessionsSummary } from "../index-Bi9pHkMB.js";
|
|
2
2
|
export { characterProfessionsSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-professions/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterProfessionsSummaryResponse } 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 the professions for a character.\n */\nexport function characterProfessionsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterProfessionsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,4BACd,WACA,eAC+C;CAC/C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-professions/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterProfessionsSummaryResponse } 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 the professions for a character.\n */\nexport function characterProfessionsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterProfessionsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`,\n };\n}\n"],"mappings":";;;;;;AAQA,SAAgB,4BACd,WACA,eAC+C;CAC/C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,YAAY,EAAE;CAC3E;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterProfileSummary, t as characterProfileStatus } from "../index-
|
|
1
|
+
import { n as characterProfileSummary, t as characterProfileStatus } from "../index-Dz1ROyfl.js";
|
|
2
2
|
export { characterProfileStatus, characterProfileSummary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-profile/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterProfileStatusResponse, CharacterProfileSummaryResponse } from './types';\n\n/**\n * Returns the status and a unique ID for a character. A client should delete information about a character from their application if any of the following conditions occur:\n * - an HTTP 404 Not Found error is returned\n * - the is_valid value is false\n * - the returned character ID doesn't match the previously recorded value for the character\n *\n * The following example illustrates how to use this endpoint:\n *\n * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.\n * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.\n * 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.\n * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns the status of the character profile for a character.\n */\nexport function characterProfileStatus(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterProfileStatusResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`,\n };\n}\n\n/**\n * Returns a summary of the character profile for a character.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the character profile for a character.\n */\nexport function characterProfileSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmBA,SAAgB,uBACd,WACA,eAC0C;CAC1C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/character-profile/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterProfileStatusResponse, CharacterProfileSummaryResponse } from './types';\n\n/**\n * Returns the status and a unique ID for a character. A client should delete information about a character from their application if any of the following conditions occur:\n * - an HTTP 404 Not Found error is returned\n * - the is_valid value is false\n * - the returned character ID doesn't match the previously recorded value for the character\n *\n * The following example illustrates how to use this endpoint:\n *\n * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.\n * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.\n * 3. If character cannot be found, is not valid, or the characters IDs do not match, the client removes the information from their application.\n * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns the status of the character profile for a character.\n */\nexport function characterProfileStatus(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterProfileStatusResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`,\n };\n}\n\n/**\n * Returns a summary of the character profile for a character.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the character profile for a character.\n */\nexport function characterProfileSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmBA,SAAgB,uBACd,WACA,eAC0C;CAC1C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,YAAY,EAAE;CAC3E;AACF;;;;;;;AAQA,SAAgB,wBACd,WACA,eAC2C;CAC3C,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,YAAY;CACzE;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterPvpSummary, t as characterPvpBracketStatistics } from "../index-
|
|
1
|
+
import { n as characterPvpSummary, t as characterPvpBracketStatistics } from "../index-DiTdypID.js";
|
|
2
2
|
export { characterPvpBracketStatistics, characterPvpSummary };
|
|
@@ -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,UAAU,GAAG,cAAc,
|
|
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,UAAU,GAAG,cAAc,YAAY,EAAE,eAAe;CAC1F;AACF;;;;;;AAOA,SAAgB,oBAAoB,WAAmB,eAA8D;CACnH,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc,YAAY,EAAE;CAC3E;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as characterQuests, t as characterCompletedQuests } from "../index-
|
|
1
|
+
import { n as characterQuests, t as characterCompletedQuests } from "../index-05bWHuw-.js";
|
|
2
2
|
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,UAAU,GAAG,cAAc;
|
|
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,UAAU,GAAG,cAAc;CAC7D;AACF;;;;;;AAOA,SAAgB,gBAAgB,WAAmB,eAA0D;CAC3G,OAAO;EACL,WAAW;EACX,MAAM,0BAA0B,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterReputationsSummary } from "../index-
|
|
1
|
+
import { t as characterReputationsSummary } from "../index-BnsJ8vCj.js";
|
|
2
2
|
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,UAAU,GAAG,cAAc;
|
|
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,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterSoulbinds } from "../index-
|
|
1
|
+
import { t as characterSoulbinds } from "../index-DlrB4osj.js";
|
|
2
2
|
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,UAAU,GAAG,cAAc,
|
|
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,UAAU,GAAG,cAAc,YAAY,EAAE;CAC3E;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterSpecializationsSummary } from "../index-
|
|
1
|
+
import { t as characterSpecializationsSummary } from "../index-BZGjFMiI.js";
|
|
2
2
|
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,UAAU,GAAG,cAAc;
|
|
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,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterStatisticsSummary } from "../index-
|
|
1
|
+
import { t as characterStatisticsSummary } from "../index-CQMbPrgO.js";
|
|
2
2
|
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,UAAU,GAAG,cAAc;
|
|
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,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterTitlesSummary } from "../index-
|
|
1
|
+
import { t as characterTitlesSummary } from "../index-H3YlIpbK.js";
|
|
2
2
|
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,UAAU,GAAG,cAAc;
|
|
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,UAAU,GAAG,cAAc;CAC7D;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as connectedRealmIndex, r as connectedRealmSearch, t as connectedRealm } from "../index-
|
|
1
|
+
import { n as connectedRealmIndex, r as connectedRealmSearch, t as connectedRealm } from "../index-D-1IeDEi.js";
|
|
2
2
|
export { connectedRealm, connectedRealmIndex, connectedRealmSearch };
|
|
@@ -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 } 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: `${wowBasePath}/search/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 } 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: `${wowBasePath}/search/connected-realm`,\n };\n}\n"],"mappings":";;;;;;;AAcA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB;CAC1C;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,YAAY;CACvB;AACF"}
|
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-CJQWVNOh.js";
|
|
2
2
|
export { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex };
|
|
@@ -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/${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;CAC3C;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;CACnC;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;CACxC;AACF;;;;;;AAMA,SAAgB,SAAS,YAAgD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,qBAAqB;CAC5C;AACF;;;;;AAKA,SAAgB,gBAAiD;CAC/D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
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-B0pIiKpC.js";
|
|
2
2
|
export { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex };
|
|
@@ -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/${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;CACnC;AACF;;;;;;AAMA,SAAgB,qBAAqB,mBAAmE;CACtG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,oBAAoB;CAChD;AACF;;;;;;AAMA,SAAgB,eAAe,kBAA4D;CACzF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY,mBAAmB;CAC1C;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;CAC/C;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;CACxC;AACF;;;;;AAKA,SAAgB,oBAAyD;CACvE,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
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-Dbd6X4HH.js";
|
|
2
2
|
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 type { Resource } from '@blizzard-api/core';\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\n\nconst basePath = '/data/wow/guild';\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: `${basePath}/${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: `${basePath}/${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: `${basePath}/${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: `${basePath}/${realmSlug}/${nameSlug}/roster`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,MAAM,WAAmB,UAA2C;CAClF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/guild/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\n\nconst basePath = '/data/wow/guild';\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: `${basePath}/${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: `${basePath}/${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: `${basePath}/${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: `${basePath}/${realmSlug}/${nameSlug}/roster`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,MAAM,WAAmB,UAA2C;CAClF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG;CACpC;AACF;;;;;;AAOA,SAAgB,kBAAkB,WAAmB,UAAuD;CAC1G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS;CAC7C;AACF;;;;;;AAOA,SAAgB,cAAc,WAAmB,UAAmD;CAClG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS;CAC7C;AACF;;;;;;AAOA,SAAgB,YAAY,WAAmB,UAAiD;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS;CAC7C;AACF"}
|
|
@@ -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-NuMhTMwW.js";
|
|
2
2
|
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/${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;CAClD;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;CAClD;AACF"}
|
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-DKUy2rnt.js";
|
|
2
2
|
export { heirloom, heirloomIndex };
|
|
@@ -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/${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;CACnC;AACF;;;;;AAKA,SAAgB,gBAAiD;CAC/D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,YAAY;CACvB;AACF"}
|
|
@@ -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-BHXdopzk.js";
|
|
2
2
|
export { decor, decorIndex, decorSearch, fixture, fixtureHook, fixtureHookIndex, fixtureHookSearch, fixtureIndex, fixtureSearch, room, roomIndex, roomSearch };
|