@blizzard-api/wow 1.2.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -9
- package/dist/index.cjs +0 -1674
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -4600
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/account-profile/account-profile.ts","../src/base.ts","../src/achievements/achievements.ts","../src/auction-house/auction-house.ts","../src/azerite-essence/azerite-essence.ts","../src/character-achievements/character-achievements.ts","../src/character-appearance/character-appearance.ts","../src/character-collections/character-collections.ts","../src/character-encounters/character-encounters.ts","../src/character-equipment/character-equipment.ts","../src/character-hunter-pets/character-hunter-pets.ts","../src/character-media/character-media.ts","../src/character-mythic-keystone-profile/character-mythic-keystone-profile.ts","../src/character-professions/character-professions.ts","../src/character-profile/character-profile.ts","../src/character-pvp/character-pvp.ts","../src/character-quests/character-quests.ts","../src/character-reputations/character-reputations.ts","../src/character-soulbinds/character-soulbinds.ts","../src/character-specializations/character-specializations.ts","../src/character-statistics/character-statistics.ts","../src/character-titles/character-titles.ts","../src/connected-realm/connected-realm.ts","../src/covenant/covenant.ts","../src/creature/creature.ts","../src/guild/guild.ts","../src/guild-crest/guild-crest.ts","../src/heirloom/heirloom.ts","../src/item/item.ts","../src/journal/journal.ts","../src/media-search/media-search.ts","../src/modified-crafting/modified-crafting.ts","../src/mount/mount.ts","../src/mythic-keystone-affix/mythic-keystone-affix.ts","../src/mythic-keystone-dungeon/mythic-keystone-dungeon.ts","../src/mythic-keystone-leaderboard/mythic-keystone-leaderboard.ts","../src/mythic-raid-leaderboard/mythic-raid-leaderboard.ts","../src/pet/pet.ts","../src/playable-class/playable-class.ts","../src/playable-race/playable-race.ts","../src/playable-specialization/playable-specialization.ts","../src/power-type/power-type.ts","../src/profession/profession.ts","../src/pvp-season/pvp-season.ts","../src/pvp-tier/pvp-tier.ts","../src/quest/quest.ts","../src/realm/realm.ts","../src/region/region.ts","../src/reputations/reputations.ts","../src/spell/spell.ts","../src/talent/talent.ts","../src/tech-talent/tech-talent.ts","../src/title/title.ts","../src/toy/toy.ts","../src/wow-token/wow-token.ts","../src/index.ts"],"names":["basePath"],"mappings":";;;;;AAYA,IAAM,kBAAqB,GAAA,mBAAA,CAAA;AAOpB,SAAS,sBAAsB,KAAiE,EAAA;AACrG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AASO,SAAS,gCAAA,CACd,OACA,EAAA,WAAA,EACA,KAC6D,EAAA;AAC7D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,MAAM,CAAG,EAAA,kBAAkB,CAAwB,qBAAA,EAAA,OAAO,IAAI,WAAW,CAAA,CAAA;AAAA,IACzE,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,wBAAwB,KAAmE,EAAA;AACzG,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,YAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,kCACd,KAC8D,EAAA;AAC9D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,sBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAOO,SAAS,+BACd,KAC2D,EAAA;AAC3D,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,SAAA;AAAA,IACX,IAAA,EAAM,GAAG,kBAAkB,CAAA,mBAAA,CAAA;AAAA,IAC3B,KAAA;AAAA,GACF,CAAA;AACF,CAAA;AAO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AAAA,EACA,YAAA;AAAA,EACA,YAAA;AAAA;AAAA,EAEA,KAAA;AAAA,EACA,SAAA;AAAA,EACA,cAAA;AAAA,EACA,aAAA;AAAA,EACA,kBAAA;AAAA,EACA,UAAA;AAAA,EACA,SAAA;AAAA,EACA,cAAA;AAAA;AAAA,EAEA,KAAA;AAAA,EACA,UAAA;AAAA,EACA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA,EACA,WAAA;AAAA;AAAA,EAEA,iBAAA;AAAA,EACA,sBAAA;AAAA,EACA,eAAA;AAAA,EACA,oBAAA;AAAA;AAAA,EAEA,KAAA;AAAA,EACA,UAAA;AAAA,EACA,WAAA;AAAA;AAAA,EAEA,SAAA;AAAA,EACA,cAAA;AAAA,EACA,WAAA;AAAA,EACA,UAAA;AAAA,EACA,eAAA;AAAA,EACA,eAAA;AAAA;AAAA,EAEA,UAAA;AAAA,EACA,eAAA;AAAA,EACA,eAAA;AAAA,EACA,cAAA;AAAA,EACA,mBAAA;AAAA;AAAA,EAEA,KAAA;AAAA,EACA,UAAA;AAAA;AAAA,EAEA,GAAA;AAAA,EACA,QAAA;AAAA;AAAA,EAEA,QAAA;AACF,EAAA;AACA,IAAO,WAAQ,GAAA","file":"index.cjs","sourcesContent":["import type { ProtectedResource } from '@blizzard-api/core';\r\nimport type {\r\n AccountCollectionsIndexResponse,\r\n AccountHeirloomsCollectionSummaryResponse,\r\n AccountMountsCollectionSummaryResponse,\r\n AccountPetsCollectionSummaryResponse,\r\n AccountProfileSummaryResponse,\r\n AccountToysCollectionSummaryResponse,\r\n AccountTransmogsCollectionSummaryResponse,\r\n ProtectedCharacterProfileSummaryResponse,\r\n} from './types';\r\n\r\nconst accountProfileBase = '/profile/user/wow';\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a profile summary for an account.\r\n */\r\nexport function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param realmId The realm ID.\r\n * @param characterId The character ID.\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a protected profile summary for a character.\r\n */\r\nexport function protectedCharacterProfileSummary(\r\n realmId: number,\r\n characterId: number,\r\n token: string,\r\n): ProtectedResource<ProtectedCharacterProfileSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns an index of collection types for an account.\r\n */\r\nexport function accountCollectionsIndex(token: string): ProtectedResource<AccountCollectionsIndexResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the heirlooms an account has obtained.\r\n */\r\nexport function accountHeirloomsCollectionSummary(\r\n token: string,\r\n): ProtectedResource<AccountHeirloomsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/heirlooms`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the mounts an account has obtained.\r\n */\r\nexport function accountMountsCollectionSummary(\r\n token: string,\r\n): ProtectedResource<AccountMountsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/mounts`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the battle pets an account has obtained.\r\n */\r\nexport function accountPetsCollectionSummary(token: string): ProtectedResource<AccountPetsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/pets`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the toys an account has obtained.\r\n */\r\nexport function accountToysCollectionSummary(token: string): ProtectedResource<AccountToysCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/toys`,\r\n token,\r\n };\r\n}\r\n\r\n/**\r\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}\r\n * @param token The OAuth 2.0 access token to use for authentication.\r\n * @returns a summary of the transmog unlocks an account has obtained.\r\n */\r\nexport function accountTransmogsCollectionSummary(\r\n token: string,\r\n): ProtectedResource<AccountTransmogsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${accountProfileBase}/collections/transmogs`,\r\n token,\r\n };\r\n}\r\n","/**\r\n * @file base.ts\r\n * @module base\r\n * @description Contains base constants and interfaces for the Blizzard API.\r\n */\r\n\r\n/**\r\n * The base request path for the Blizzard API for world of warcraft.\r\n */\r\nexport const base = '/data/wow';\r\n\r\n/**\r\n * The base request path for media in the Blizzard API for world of warcraft.\r\n */\r\nexport const mediaBase = `${base}/media` as const;\r\n\r\n/**\r\n * The base request path for search in the Blizzard API for world of warcraft.\r\n */\r\nexport const searchBase = `${base}/search` as const;\r\n\r\n/**\r\n *\r\n */\r\n\r\nexport interface Href {\r\n href: string;\r\n}\r\n/**\r\n * Base interface for Blizzard API responses.\r\n */\r\nexport interface ResponseBase {\r\n _links: {\r\n self: Href;\r\n };\r\n}\r\n\r\n/**\r\n * Base record interface containing key.href property that often appear in Blizzard API responses.\r\n */\r\nexport interface KeyBase {\r\n key: Href;\r\n}\r\n\r\n/**\r\n * Base record interface containing name and id properties that often appear together in Blizzard API responses.\r\n */\r\nexport interface NameId {\r\n id: number;\r\n name: string;\r\n}\r\n\r\n/**\r\n * Base record containing both {@link KeyBase} and {@link NameId} interfaces.\r\n */\r\nexport interface NameIdKey extends KeyBase, NameId {}\r\n\r\n/**\r\n * A record containing the RGBA values of a color.\r\n */\r\nexport interface Color {\r\n a: number;\r\n b: number;\r\n g: number;\r\n r: number;\r\n}\r\n\r\n/**\r\n * The media asset associated with a character or entity in World of Warcraft.\r\n */\r\nexport interface MediaAsset {\r\n file_data_id: number;\r\n key: string;\r\n value: string;\r\n}\r\n\r\n/**\r\n * The playable gender names/descriptions in World of Warcraft.\r\n */\r\nexport interface GenderName {\r\n female: string;\r\n male: string;\r\n}\r\n\r\n/**\r\n * The playable genders in World of Warcraft.\r\n */\r\nexport const Genders = {\r\n FEMALE: 'FEMALE',\r\n MALE: 'MALE',\r\n} as const;\r\n\r\n/**\r\n * The gender associated with a character or entity in World of Warcraft.\r\n */\r\nexport interface Gender {\r\n name: Capitalize<Lowercase<keyof typeof Genders>>;\r\n type: keyof typeof Genders;\r\n}\r\n\r\n/**\r\n * The playable factions in World of Warcraft.\r\n */\r\nexport const Factions = {\r\n ALLIANCE: 'ALLIANCE',\r\n HORDE: 'HORDE',\r\n} as const;\r\n\r\n/**\r\n * The faction associated with a character or entity in World of Warcraft.\r\n */\r\nexport interface Faction {\r\n name: Capitalize<Lowercase<keyof typeof Factions>>;\r\n type: keyof typeof Factions;\r\n}\r\n\r\n/**\r\n * The standard structure to represent a World of Warcraft Realm.\r\n */\r\nexport interface Realm extends NameIdKey {\r\n slug: string;\r\n}\r\n\r\n/**\r\n * The standard structure to represent a World of Warcraft Character.\r\n */\r\nexport interface Character extends NameIdKey {\r\n realm: Realm;\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport { base, mediaBase } from '../base';\r\nimport type {\r\n AchievementCategoryIndexResponse,\r\n AchievementCategoryResponse,\r\n AchievementIndexResponse,\r\n AchievementMediaResponse,\r\n AchievementResponse,\r\n} from './types';\r\n\r\nconst achievementBase = `${base}/achievement`;\r\nconst achievementCategoryBase = `${base}/achievement-category`;\r\n\r\n/**\r\n * Get an achievement category by ID.\r\n * @param achievementCategoryId The achievement category ID.\r\n * @returns The achievement category. See {@link AchievementCategoryResponse}.\r\n */\r\nexport function achievementCategory(achievementCategoryId: number): Resource<AchievementCategoryResponse> {\r\n return {\r\n namespace: 'static',\r\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\r\n };\r\n}\r\n/**\r\n * Get an achievement category index.\r\n * @returns The achievement category index. See {@link AchievementCategoryIndexResponse}.\r\n */\r\nexport function achievementCategoryIndex(): Resource<AchievementCategoryIndexResponse> {\r\n return {\r\n namespace: 'static',\r\n path: `${achievementCategoryBase}/index`,\r\n };\r\n}\r\n/**\r\n * Get an achievement by ID.\r\n * @param achievementId The achievement ID.\r\n * @returns The achievement. See {@link AchievementResponse}.\r\n */\r\nexport function achievement(achievementId: number): Resource<AchievementResponse> {\r\n return {\r\n namespace: 'static',\r\n path: `${achievementBase}/${achievementId}`,\r\n };\r\n}\r\n/**\r\n * Get an achievement index.\r\n * @returns The achievement index. See {@link AchievementIndexResponse}.\r\n */\r\nexport function achievementIndex(): Resource<AchievementIndexResponse> {\r\n return {\r\n namespace: 'static',\r\n path: `${achievementBase}/index`,\r\n };\r\n}\r\n/**\r\n * Get achievement media by ID.\r\n * @param achievementId The achievement ID.\r\n * @returns The achievement media. See {@link AchievementMediaResponse}.\r\n */\r\nexport function achievementMedia(achievementId: number): Resource<AchievementMediaResponse> {\r\n return { namespace: 'static', path: `${mediaBase}/achievement/${achievementId}` };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\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: `${base}/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: `${base}/auctions/commodities`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n AzeriteEssenceIndexResponse,\n AzeriteEssenceMediaResponse,\n AzeriteEssenceResponse,\n AzeriteEssenceSearchParameters,\n AzeriteEssenceSearchResponseItem,\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: `${base}/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: `${base}/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: `${mediaBase}/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 SearchResponse}.\n */\nexport function azeriteEssenceSearch(\n options: AzeriteEssenceSearchParameters,\n): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, 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: `${searchBase}/azerite-essence`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterAchievementsSummaryResponse, CharacterAchievementStatisticsResponse } from './types';\r\n\r\nconst basePath = '/profile/wow/character';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the achievements a character has completed.\r\n */\r\nexport function characterAchievementsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterAchievementsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a character's statistics as they pertain to achievements.\r\n */\r\nexport function characterAchievementStatistics(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterAchievementStatisticsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterAppearanceResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's appearance settings.\r\n */\r\nexport function characterAppearanceSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterAppearanceResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/appearance`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type {\r\n CharacterCollectionsIndexResponse,\r\n CharacterHeirloomsCollectionSummaryResponse,\r\n CharacterMountsCollectionSummaryResponse,\r\n CharacterPetsCollectionSummaryResponse,\r\n CharacterToysCollectionSummaryResponse,\r\n CharacterTransmogCollectionSummaryResponse,\r\n} from './types';\r\n\r\nconst basePath = '/profile/wow/character';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns an index of collection types for a character.\r\n */\r\nexport function characterCollectionsIndex(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterCollectionsIndexResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName}/collections`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the heirlooms a character has obtained.\r\n */\r\nexport function characterHeirloomsCollectionSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterHeirloomsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName}/collections/heirlooms`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the mounts a character has obtained.\r\n */\r\nexport function characterMountsCollectionSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterMountsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName}/collections/mounts`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the battle pets a character has obtained.\r\n */\r\nexport function characterPetsCollectionSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterPetsCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName}/collections/pets`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the toys a character has obtained.\r\n */\r\nexport function characterToysCollectionSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterToysCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName}/collections/toys`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the transmog unlocks a character has obtained.\r\n */\r\nexport function characterTransmogCollectionSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterTransmogCollectionSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${characterName}/collections/transmogs`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterDungeonsResponse, CharacterEncountersSummaryResponse, CharacterRaidsResponse } from './types';\r\n\r\nconst bathPase = 'profile/wow/character';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's encounters.\r\n */\r\nexport function characterEncountersSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterEncountersSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's completed dungeons.\r\n */\r\nexport function characterDungeons(realmSlug: string, characterName: string): Resource<CharacterDungeonsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/dungeons`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's completed raids.\r\n */\r\nexport function characterRaids(realmSlug: string, characterName: string): Resource<CharacterRaidsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${bathPase}/${realmSlug}/${characterName.toLowerCase()}/encounters/raids`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterEquipmentSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the items equipped by a character.\r\n */\r\nexport function characterEquipmentSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterEquipmentSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/equipment`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterHunterPetsSummaryResponse } from './types';\r\n\r\n/**\r\n * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error.\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the character's hunter pets.\r\n */\r\nexport function characterHunterPetsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterHunterPetsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/hunter-pets`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterMediaSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the media assets available for a character (such as an avatar render).\r\n */\r\nexport function characterMediaSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterMediaSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/character-media`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type {\r\n CharacterMythicKeystoneProfileIndexResponse,\r\n CharacterMythicKeystoneSeasonDetailsResponse,\r\n} from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\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.\r\n */\r\nexport function characterMythicKeystoneProfileIndex(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterMythicKeystoneProfileIndexResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`,\r\n };\r\n}\r\n\r\n/**\r\n * Returns the Mythic Keystone season details for a character.\r\n * Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @param seasonId The ID of the season.\r\n * @returns the Mythic Keystone season details for a character.\r\n */\r\nexport function characterMythicKeystoneSeasonDetails(\r\n realmSlug: string,\r\n characterName: string,\r\n seasonId: number,\r\n): Resource<CharacterMythicKeystoneSeasonDetailsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterProfessionsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the professions for a character.\r\n */\r\nexport function characterProfessionsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterProfessionsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/professions`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterProfileStatusResponse, CharacterProfileSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of the character profile for a character.\r\n */\r\nexport function characterProfileSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterProfileSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}`,\r\n };\r\n}\r\n\r\n/**\r\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:\r\n * - an HTTP 404 Not Found error is returned\r\n * - the is_valid value is false\r\n * - the returned character ID doesn't match the previously recorded value for the character\r\n *\r\n * The following example illustrates how to use this endpoint:\r\n *\r\n * 1. A client requests and stores information about a character, including its unique character ID and the timestamp of the request.\r\n * 2. After 30 days, the client makes a request to the status endpoint to verify if the character information is still valid.\r\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.\r\n * 4. If the character is valid and the character IDs match, the client retains the data for another 30 days.\r\n *\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns the status of the character profile for a character.\r\n */\r\nexport function characterProfileStatus(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterProfileStatusResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/status`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterPvpSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a PvP summary for a character.\r\n */\r\nexport function characterPvpSummary(realmSlug: string, characterName: string): Resource<CharacterPvpSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterCompletedQuestsResponse, CharacterQuestsResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a character's active quests as well as a link to the character's completed quests.\r\n */\r\nexport function characterQuests(realmSlug: string, characterName: string): Resource<CharacterQuestsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/quests`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a list of quests that a character has completed.\r\n */\r\nexport function characterCompletedQuests(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterCompletedQuestsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterReputationsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's reputations.\r\n */\r\nexport function characterReputationsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterReputationsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/reputations`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterSoulbindsResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a character's soulbinds.\r\n */\r\nexport function characterSoulbinds(realmSlug: string, characterName: string): Resource<CharacterSoulbindsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/soulbinds`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterSpecializationsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of a character's specializations.\r\n */\r\nexport function characterSpecializationsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterSpecializationsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/specializations`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterStatisticsSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a statistics summary for a character.\r\n */\r\nexport function characterStatisticsSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterStatisticsSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/statistics`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { CharacterTitlesSummaryResponse } from './types';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param characterName The lowercase name of the character.\r\n * @returns a summary of titles a character has obtained.\r\n */\r\nexport function characterTitlesSummary(\r\n realmSlug: string,\r\n characterName: string,\r\n): Resource<CharacterTitlesSummaryResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `/profile/wow/character/${realmSlug}/${characterName}/titles`,\r\n };\r\n}\r\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n ConnectedRealmIndexResponse,\n ConnectedRealmResponse,\n ConnectedRealmSearchParameters,\n ConnectedRealmSearchResponseItem,\n} from './types';\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: `${base}/connected-realm/index`,\n };\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: `${base}/connected-realm/${connectedRealmId}`,\n };\n}\n/**\n * Search for connected realms.\n * @param options The search parameters. See {@link ConnectedRealmSearchParameters}.\n * @returns The search results. See {@link SearchResponse} & {@link ConnectedRealmSearchResponseItem}.\n */\nexport function connectedRealmSearch(\n options: ConnectedRealmSearchParameters,\n): Resource<SearchResponse<ConnectedRealmSearchResponseItem>, 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: `${base}/search/connected-realm`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\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: `${base}/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: `${base}/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: `${base}/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: `${base}/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: `${mediaBase}/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: `${base}/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: `${base}/covenant/soulbind/index`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n CreatureDisplayMediaResponse,\n CreatureFamilyIndexResponse,\n CreatureFamilyMediaResponse,\n CreatureFamilyResponse,\n CreatureResponse,\n CreatureSearchParameters,\n CreatureSearchResponseItem,\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: `${base}/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: `${mediaBase}/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: `${base}/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: `${base}/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: `${mediaBase}/creature-family/${creatureFamilyId}`,\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: `${base}/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: `${base}/creature-type/index`,\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 SearchResponse} & {@link CreatureSearchResponseItem}.\n */\nexport function creatureSearch(\n options: CreatureSearchParameters,\n): Resource<SearchResponse<CreatureSearchResponseItem>, 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: `${searchBase}/creature`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\r\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\r\n\r\nconst basePath = '/data/wow/guild';\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param nameSlug The lowercase name of the guild.\r\n * @returns a single guild by its name and realm.\r\n */\r\nexport function guild(realmSlug: string, nameSlug: string): Resource<GuildResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${nameSlug}`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param nameSlug The lowercase name of the guild.\r\n * @returns a single guild's activity by name and realm.\r\n */\r\nexport function guildActivity(realmSlug: string, nameSlug: string): Resource<GuildActivityResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${nameSlug}/activity`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param nameSlug The lowercase name of the guild.\r\n * @returns a single guild's achievements by name and realm.\r\n */\r\nexport function guildAchievements(realmSlug: string, nameSlug: string): Resource<GuildAchievementsResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${nameSlug}/achievements`,\r\n };\r\n}\r\n\r\n/**\r\n * @param realmSlug The slug of the realm.\r\n * @param nameSlug The lowercase name of the guild.\r\n * @returns a single guild's roster by its name and realm.\r\n */\r\nexport function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse> {\r\n return {\r\n namespace: 'profile',\r\n path: `${basePath}/${realmSlug}/${nameSlug}/roster`,\r\n };\r\n}\r\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\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: `${base}/guild-crest/index`,\n };\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: `${mediaBase}/guild-crest/border/${borderId}`,\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: `${mediaBase}/guild-crest/emblem/${emblemId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\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: `${base}/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: `${base}/heirloom/index`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n ItemClassIndexResponse,\n ItemClassResponse,\n ItemMediaResponse,\n ItemResponse,\n ItemSearchParameters,\n ItemSearchResponseItem,\n ItemSetIndexResponse,\n ItemSetResponse,\n ItemSubClassResponse,\n} from './types';\n\n/**\n * Get an item by ID.\n * @param itemId The item ID.\n * @returns The item. See {@link ItemResponse}.\n */\nexport function item(itemId: number): Resource<ItemResponse> {\n return {\n namespace: 'static',\n path: `${base}/item/${itemId}`,\n };\n}\n/**\n * Get an item class by ID.\n * @param itemClassId The item class ID.\n * @returns The item class. See {@link ItemClassResponse}.\n */\nexport function itemClass(itemClassId: number): Resource<ItemClassResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-class/${itemClassId}`,\n };\n}\n/**\n * Get an item subclass by ID.\n * @param itemClassId The item class ID.\n * @param itemSubclassId The item subclass ID.\n * @returns The item subclass. See {@link ItemSubClassResponse}.\n */\nexport function itemSubClass(itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,\n };\n}\n/**\n * Get an item class index.\n * @returns The item class index. See {@link ItemClassIndexResponse}.\n */\nexport function itemClassIndex(): Resource<ItemClassIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-class/index`,\n };\n}\n/**\n * Get item media by ID.\n * @param itemId The item ID.\n * @returns The item media. See {@link ItemMediaResponse}.\n */\nexport function itemMedia(itemId: number): Resource<ItemMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/item/${itemId}`,\n };\n}\n/**\n * Get an item set by ID.\n * @param itemSetId The item set ID.\n * @returns The item set. See {@link ItemSetResponse}.\n */\nexport function itemSet(itemSetId: number): Resource<ItemSetResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-set/${itemSetId}`,\n };\n}\n/**\n * Get an item set index.\n * @returns The item set index. See {@link ItemSetIndexResponse}.\n */\nexport function itemSetIndex(): Resource<ItemSetIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/item-set/index`,\n };\n}\n/**\n * Search for items.\n * @param options The search parameters. See {@link ItemSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function itemSearch(\n options: ItemSearchParameters,\n): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, '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: `${searchBase}/item`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type {\n JournalEncounterIndexResponse,\n JournalEncounterResponse,\n JournalEncounterSearchParameters,\n JournalEncounterSearchResponseItem,\n JournalExpansionIndexResponse,\n JournalExpansionResponse,\n JournalInstanceIndexResponse,\n JournalInstanceMediaResponse,\n JournalInstanceResponse,\n} from './types';\n\n/**\n * Get a journal encounter by ID.\n * @param journalEncounterId The journal encounter ID.\n * @returns The journal encounter. See {@link JournalEncounterResponse}.\n */\nexport function journalEncounter(journalEncounterId: number): Resource<JournalEncounterResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-encounter/${journalEncounterId}`,\n };\n}\n/**\n * Get the journal encounter index.\n * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.\n */\nexport function journalEncounterIndex(): Resource<JournalEncounterIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-encounter/index`,\n };\n}\n/**\n * Search for journal encounters.\n * @param options The search parameters. See {@link JournalEncounterSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function journalEncounterSearch(\n options: JournalEncounterSearchParameters,\n): Resource<\n SearchResponse<JournalEncounterSearchResponseItem>,\n Omit<JournalEncounterSearchParameters, 'instanceName' | 'locale'>\n> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n [`instance.name.${options.locale}`]: options.instanceName,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n },\n path: `${searchBase}/journal-encounter`,\n };\n}\n/**\n * Get a journal expansion by ID.\n * @param journalExpansionId The journal expansion ID.\n * @returns The journal expansion. See {@link JournalExpansionResponse}.\n */\nexport function journalExpansion(journalExpansionId: number): Resource<JournalExpansionResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-expansion/${journalExpansionId}`,\n };\n}\n/**\n * Get the journal expansion index.\n * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.\n */\nexport function journalExpansionIndex(): Resource<JournalExpansionIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-expansion/index`,\n };\n}\n/**\n * Get a journal instance by ID.\n * @param journalInstanceId The journal instance ID.\n * @returns The journal instance. See {@link JournalInstanceResponse}.\n */\nexport function journalInstance(journalInstanceId: number): Resource<JournalInstanceResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-instance/${journalInstanceId}`,\n };\n}\n/**\n * Get the journal instance index.\n * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.\n */\nexport function journalInstanceIndex(): Resource<JournalInstanceIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/journal-instance/index`,\n };\n}\n/**\n * Get journal instance media by ID.\n * @param journalInstanceId The journal instance ID.\n * @returns The journal instance media. See {@link JournalInstanceMediaResponse}.\n */\nexport function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/journal-instance/${journalInstanceId}`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { searchBase } from '../base';\nimport type { MediaSearchParameters, MediaSearchResponseItem } from './types';\n\n/**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function mediaSearch(\n options: MediaSearchParameters,\n): Resource<SearchResponse<MediaSearchResponseItem>, MediaSearchParameters> {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n tags: options.tags,\n },\n path: `${searchBase}/media`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n ModifiedCraftingCategoryIndexResponse,\n ModifiedCraftingCategoryResponse,\n ModifiedCraftingIndexResponse,\n ModifiedCraftingReagentSlotTypeIndexResponse,\n ModifiedCraftingReagentSlotTypeResponse,\n} from './types';\n\n/**\n * Get a modified crafting category by ID.\n * @param modifiedCraftingCategoryId The modified crafting category ID.\n * @returns The modified crafting category. See {@link ModifiedCraftingCategoryResponse}.\n */\nexport function modifiedCraftingCategory(\n modifiedCraftingCategoryId: number,\n): Resource<ModifiedCraftingCategoryResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,\n };\n}\n/**\n * Get a modified crafting category index.\n * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.\n */\nexport function modifiedCraftingCategoryIndex(): Resource<ModifiedCraftingCategoryIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/category/index`,\n };\n}\n/**\n * Get a modified crafting index.\n * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.\n */\nexport function modifiedCraftingIndex(): Resource<ModifiedCraftingIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/index`,\n };\n}\n/**\n * Get a modified crafting reagent slot type by ID.\n * @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID.\n * @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}.\n */\nexport function modifiedCraftingReagentSlotType(\n modifiedCraftingReagentSlotTypeId: number,\n): Resource<ModifiedCraftingReagentSlotTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,\n };\n}\n/**\n * Get a modified crafting reagent slot type index.\n * @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}.\n */\nexport function modifiedCraftingReagentSlotTypeIndex(): Resource<ModifiedCraftingReagentSlotTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/modified-crafting/reagent-slot-type/index`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, searchBase } from '../base';\nimport type { MountIndexResponse, MountResponse, MountSearchParameters, MountSearchResponseItem } from './types';\n\n/**\n * Get a mount by ID.\n * @param mountId The mount ID.\n * @returns The mount. See {@link MountResponse}.\n */\nexport function mount(mountId: number): Resource<MountResponse> {\n return {\n namespace: 'static',\n path: `${base}/mount/${mountId}`,\n };\n}\n/**\n * Get a mount index.\n * @returns The mount index. See {@link MountIndexResponse}.\n */\nexport function mountIndex(): Resource<MountIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/mount/index`,\n };\n}\n/**\n * Get a mount search.\n * @param options The search parameters. See {@link MountSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function mountSearch(\n options: MountSearchParameters,\n): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, '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: `${searchBase}/mount`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n MythicKeystoneAffixIndexResponse,\n MythicKeystoneAffixMediaResponse,\n MythicKeystoneAffixResponse,\n} from './types';\n\n/**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\nexport function mythicKeystoneAffix(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> {\n return {\n namespace: 'static',\n path: `${base}/keystone-affix/${mythicKeystoneAffixId}`,\n };\n}\n/**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\nexport function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/keystone-affix/index`,\n };\n}\n/**\n * Get a list of all Mythic Keystone affix media.\n * @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}\n */\nexport function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n MythicKeystoneDungeonIndexResponse,\n MythicKeystoneDungeonResponse,\n MythicKeystoneIndexResponse,\n MythicKeystonePeriodIndexResponse,\n MythicKeystonePeriodResponse,\n MythicKeystoneSeasonIndexResponse,\n MythicKeystoneSeasonResponse,\n} from './types';\n\n/**\n * Get a Mythic Keystone dungeon by ID.\n * @param mythicKeystoneDungeonId The Mythic Keystone dungeon ID.\n * @returns The Mythic Keystone dungeon. See {@link MythicKeystoneDungeonResponse}.\n */\nexport function mythicKeystoneDungeon(mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,\n };\n}\n/**\n * Get a Mythic Keystone dungeon index.\n * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.\n */\nexport function mythicKeystoneDungeonIndex(): Resource<MythicKeystoneDungeonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/dungeon/index`,\n };\n}\n/**\n * Get a Mythic Keystone index.\n * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.\n */\nexport function mythicKeystoneIndex(): Resource<MythicKeystoneIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/index`,\n };\n}\n/**\n * Get a Mythic Keystone period by ID.\n * @param mythicKeystonePeriodId The Mythic Keystone period ID.\n * @returns The Mythic Keystone period. See {@link MythicKeystonePeriodResponse}.\n */\nexport function mythicKeystonePeriod(mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,\n };\n}\n/**\n * Get a Mythic Keystone period index.\n * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.\n */\nexport function mythicKeystonePeriodIndex(): Resource<MythicKeystonePeriodIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/period/index`,\n };\n}\n/**\n * Get a Mythic Keystone season by ID.\n * @param mythicKeystoneSeasonId The Mythic Keystone season ID.\n * @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.\n */\nexport function mythicKeystoneSeason(mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,\n };\n}\n/**\n * Get a Mythic Keystone season index.\n * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.\n */\nexport function mythicKeystoneSeasonIndex(): Resource<MythicKeystoneSeasonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/mythic-keystone/season/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period.\n * @param connectedRealmId The connected realm ID.\n * @param dungeonId The dungeon ID.\n * @param period The period ID.\n * @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}.\n */\nexport function mythicKeystoneLeaderboard(\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n): Resource<MythicKeystoneLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n };\n}\n/**\n * Get a Mythic Keystone leaderboard index by connected realm ID.\n * @param connectedRealmId The connected realm ID.\n * @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}.\n */\nexport function mythicKeystoneLeaderboardIndex(\n connectedRealmId: number,\n): Resource<MythicKeystoneLeaderboardIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport type { Factions } from '../base';\nimport { base } from '../base';\nimport type { MythicRaidLeaderboardResponse } from './types';\n\n/**\n * Get a Mythic Raid leaderboard by raid and faction.\n * @param raid The slug of the raid.\n * @param faction The faction. Either 'alliance' or 'horde'.\n * @returns The Mythic Raid leaderboard. See {@link MythicRaidLeaderboardResponse}.\n */\nexport function mythicRaidLeaderboard(\n raid: string,\n faction: Lowercase<keyof typeof Factions>,\n): Resource<MythicRaidLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n PetAbilityIndexResponse,\n PetAbilityMediaResponse,\n PetAbilityResponse,\n PetIndexResponse,\n PetMediaResponse,\n PetResponse,\n} from './types';\n\n/**\n * Get a pet by ID.\n * @param petId The pet ID.\n * @returns The pet. See {@link PetResponse}.\n */\nexport function pet(petId: number): Resource<PetResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet/${petId}`,\n };\n}\n/**\n * Get a pet index.\n * @returns The pet index. See {@link PetIndexResponse}.\n */\nexport function petIndex(): Resource<PetIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet/index`,\n };\n}\n/**\n * Get a pet media by ID.\n * @param petId The pet ID.\n * @returns The pet media. See {@link PetMediaResponse}.\n */\nexport function petMedia(petId: number): Resource<PetMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/pet/${petId}`,\n };\n}\n/**\n * Get a pet ability by ID.\n * @param petAbilityId The pet ability ID.\n * @returns The pet ability. See {@link PetAbilityResponse}.\n */\nexport function petAbility(petAbilityId: number): Resource<PetAbilityResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet-ability/${petAbilityId}`,\n };\n}\n/**\n * Get a pet ability index.\n * @returns The pet ability index. See {@link PetAbilityIndexResponse}.\n */\nexport function petAbilityIndex(): Resource<PetAbilityIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pet-ability/index`,\n };\n}\n/**\n * Get a pet ability media by ID.\n * @param petAbilityId The pet ability ID.\n * @returns The pet ability media. See {@link PetAbilityMediaResponse}.\n */\nexport function petAbilityMedia(petAbilityId: number): Resource<PetAbilityMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/pet-ability/${petAbilityId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n PlayableClassIndexResponse,\n PlayableClassMediaResponse,\n PlayableClassResponse,\n PvpTalentSlotsResponse,\n} from './types';\n\n/**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\nexport function playableClass(playableClassId: number): Resource<PlayableClassResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-class/${playableClassId}`,\n };\n}\n/**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\nexport function playableClassIndex(): Resource<PlayableClassIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-class/index`,\n };\n}\n/**\n * Get playable class media by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class media. See {@link PlayableClassMediaResponse}.\n */\nexport function playableClassMedia(playableClassId: number): Resource<PlayableClassMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/playable-class/${playableClassId}`,\n };\n}\n/**\n * Get a playable class's PvP talent slots by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class's PvP talent slots. See {@link PvpTalentSlotsResponse}.\n */\nexport function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\n/**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\nexport function playableRace(playableRaceId: number): Resource<PlayableRaceResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-race/${playableRaceId}`,\n };\n}\n/**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\nexport function playableRaceIndex(): Resource<PlayableRaceIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-race/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n PlayableSpecializationIndexResponse,\n PlayableSpecializationMediaResponse,\n PlayableSpecializationResponse,\n} from './types';\n\n/**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\nexport function playableSpecialization(specializationId: number): Resource<PlayableSpecializationResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-specialization/${specializationId}`,\n };\n}\n/**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\nexport function playableSpecializationIndex(): Resource<PlayableSpecializationIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/playable-specialization/index`,\n };\n}\n/**\n * Get a playable specialization media by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization media. See {@link PlayableSpecializationMediaResponse}.\n */\nexport function playableSpecializationMedia(specializationId: number): Resource<PlayableSpecializationMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/playable-specialization/${specializationId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PowerTypeIndexResponse, PowerTypeResponse } from './types';\n\n/**\n * Get a power type by ID.\n * @param powerTypeId The power type ID.\n * @returns The power type. See {@link PowerTypeResponse}.\n */\nexport function powerType(powerTypeId: number): Resource<PowerTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/power-type/${powerTypeId}`,\n };\n}\n/**\n * Get a power type index.\n * @returns The power type index. See {@link PowerTypeIndexResponse}.\n */\nexport function powerTypeIndex(): Resource<PowerTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/power-type/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n ProfessionIndexResponse,\n ProfessionMediaResponse,\n ProfessionResponse,\n ProfessionSkillTierResponse,\n RecipeMediaResponse,\n RecipeResponse,\n} from './types';\n\n/**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\nexport function profession(professionId: number): Resource<ProfessionResponse> {\n return {\n namespace: 'static',\n path: `${base}/profession/${professionId}`,\n };\n}\n/**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\nexport function professionIndex(): Resource<ProfessionIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/profession/index`,\n };\n}\n/**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\nexport function professionMedia(professionId: number): Resource<ProfessionMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/profession/${professionId}`,\n };\n}\n/**\n * Get a profession's skill tier by ID.\n * @param professionId The profession ID.\n * @param skillTierId The skill tier ID.\n * @returns The profession's skill tier. See {@link ProfessionSkillTierResponse}.\n */\nexport function professionSkillTier(professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> {\n return {\n namespace: 'static',\n path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,\n };\n}\n/**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\nexport function recipe(recipeId: number): Resource<RecipeResponse> {\n return {\n namespace: 'static',\n path: `${base}/recipe/${recipeId}`,\n };\n}\n/**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\nexport function recipeMedia(recipeId: number): Resource<RecipeMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/recipe/${recipeId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n PvpLeaderboardIndexResponse,\n PvpLeaderboardResponse,\n PvpRewardsIndexResponse,\n PvpSeasonIndexResponse,\n PvpSeasonResponse,\n} from './types';\n\n/**\n * Get a PvP leaderboard by PvP season ID and bracket.\n * @param pvpSeasonId The PvP season ID.\n * @param bracket The PvP bracket.\n * @returns The PvP leaderboard. See {@link PvpLeaderboardResponse}.\n */\nexport function pvpLeaderboard(pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n };\n}\n/**\n * Get a PvP leaderboard index by PvP season ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP leaderboard index. See {@link PvpLeaderboardIndexResponse}.\n */\nexport function pvpLeaderboardIndex(pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n };\n}\n/**\n * Get a PvP reward index by PvP season ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP reward index. See {@link PvpRewardsIndexResponse}.\n */\nexport function pvpRewardsIndex(pvpSeasonId: number): Resource<PvpRewardsIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n };\n}\n/**\n * Get a PvP season by ID.\n * @param pvpSeasonId The PvP season ID.\n * @returns The PvP season. See {@link PvpSeasonResponse}.\n */\nexport function pvpSeason(pvpSeasonId: number): Resource<PvpSeasonResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/pvp-season/${pvpSeasonId}`,\n };\n}\n/**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\nexport function pvpSeasonIndex(): Resource<PvpSeasonIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/pvp-season/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\n/**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\nexport function pvpTier(pvpTierId: number): Resource<PvpTierResponse> {\n return {\n namespace: 'static',\n path: `${base}/pvp-tier/${pvpTierId}`,\n };\n}\n/**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\nexport function pvpTierIndex(): Resource<PvpTierIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pvp-tier/index`,\n };\n}\n/**\n * Get PvP tier media by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier media. See {@link PvpTierMediaResponse}.\n */\nexport function pvpTierMedia(pvpTierId: number): Resource<PvpTierMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/pvp-tier/${pvpTierId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n QuestAreaIndexResponse,\n QuestAreaResponse,\n QuestCategoryIndexResponse,\n QuestCategoryResponse,\n QuestIndexResponse,\n QuestResponse,\n QuestTypeIndexResponse,\n QuestTypeResponse,\n} from './types';\n\n/**\n * Get a quest by ID.\n * @param questId The quest ID.\n * @returns The quest. See {@link QuestResponse}.\n */\nexport function quest(questId: number): Resource<QuestResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/${questId}`,\n };\n}\n/**\n * Get a quest index.\n * @returns The quest index. See {@link QuestIndexResponse}.\n */\nexport function questIndex(): Resource<QuestIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/index`,\n };\n}\n/**\n * Get a quest area by ID.\n * @param questAreaId The quest area ID.\n * @returns The quest area. See {@link QuestAreaResponse}.\n */\nexport function questArea(questAreaId: number): Resource<QuestAreaResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/area/${questAreaId}`,\n };\n}\n/**\n * Get a quest area index.\n * @returns The quest area index. See {@link QuestAreaIndexResponse}.\n */\nexport function questAreaIndex(): Resource<QuestAreaIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/area/index`,\n };\n}\n/**\n * Get a quest category by ID.\n * @param questCategoryId The quest category ID.\n * @returns The quest category. See {@link QuestCategoryResponse}.\n */\nexport function questCategory(questCategoryId: number): Resource<QuestCategoryResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/category/${questCategoryId}`,\n };\n}\n/**\n * Get a quest category index.\n * @returns The quest category index. See {@link QuestCategoryIndexResponse}.\n */\nexport function questCategoryIndex(): Resource<QuestCategoryIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/category/index`,\n };\n}\n/**\n * Get a quest type by ID.\n * @param questTypeId The quest type ID.\n * @returns The quest type. See {@link QuestTypeResponse}.\n */\nexport function questType(questTypeId: number): Resource<QuestTypeResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/type/${questTypeId}`,\n };\n}\n/**\n * Get a quest type index.\n * @returns The quest type index. See {@link QuestTypeIndexResponse}.\n */\nexport function questTypeIndex(): Resource<QuestTypeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/quest/type/index`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, searchBase } from '../base';\nimport type { RealmIndexResponse, RealmResponse, RealmSearchParameters, RealmSearchResponseItem } from './types';\n\n/**\n * Get a realm by slug.\n * @param realmSlug The realm slug.\n * @returns The realm. See {@link RealmResponse}.\n */\nexport function realm(realmSlug: string): Resource<RealmResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/realm/${realmSlug}`,\n };\n}\n/**\n * Get a realm index.\n * @returns The realm index. See {@link RealmIndexResponse}.\n */\nexport function realmIndex(): Resource<RealmIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/realm/index`,\n };\n}\n/**\n * Search for realms.\n * @param options The search parameters. See {@link RealmSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\nexport function realmSearch(\n options: RealmSearchParameters,\n): Resource<SearchResponse<RealmSearchResponseItem>, RealmSearchParameters> {\n return {\n namespace: 'dynamic',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n timezone: options.timezone,\n },\n path: `${searchBase}/realm`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { RegionIndexResponse, RegionResponse } from './types';\n\n/**\n * Get a region by ID.\n * @param regionId The region ID.\n * @returns The region. See {@link RegionResponse}.\n */\nexport function region(regionId: number): Resource<RegionResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/region/${regionId}`,\n };\n}\n/**\n * Get a region index.\n * @returns The region index. See {@link RegionIndexResponse}.\n */\nexport function regionIndex(): Resource<RegionIndexResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/region/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n ReputationFactionIndexResponse,\n ReputationFactionResponse,\n ReputationTiersIndexResponse,\n ReputationTiersResponse,\n} from './types';\n\n/**\n * Get a reputation faction by ID.\n * @param reputationFactionId The reputation faction ID.\n * @returns The reputation faction. See {@link ReputationFactionResponse}.\n */\nexport function reputationFaction(reputationFactionId: number): Resource<ReputationFactionResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-faction/${reputationFactionId}`,\n };\n}\n/**\n * Get a reputation faction index.\n * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.\n */\nexport function reputationFactionIndex(): Resource<ReputationFactionIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-faction/index`,\n };\n}\n/**\n * Get a reputation tier by ID.\n * @param reputationTiersId The reputation tier ID.\n * @returns The reputation tier. See {@link ReputationTiersResponse}.\n */\nexport function reputationTiers(reputationTiersId: number): Resource<ReputationTiersResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-tiers/${reputationTiersId}`,\n };\n}\n/**\n * Get a reputation tier index.\n * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.\n */\nexport function reputationTiersIndex(): Resource<ReputationTiersIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/reputation-tiers/index`,\n };\n}\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { base, mediaBase, searchBase } from '../base';\nimport type { SpellMediaResponse, SpellResponse, SpellSearchParameters, SpellSearchResponseItem } from './types';\n\n/**\n * Get a spell by ID.\n * @param spellId The spell ID.\n * @returns The spell. See {@link SpellResponse}.\n */\nexport function spell(spellId: number): Resource<SpellResponse> {\n return {\n namespace: 'static',\n path: `${base}/spell/${spellId}`,\n };\n}\n/**\n * Get spell media by ID.\n * @param spellId The spell ID.\n * @returns The spell media. See {@link SpellMediaResponse}.\n */\nexport function spellMedia(spellId: number): Resource<SpellMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/spell/${spellId}`,\n };\n}\n/**\n * Get a spell search.\n * @param options The spell search options. See {@link SpellSearchParameters}.\n * @returns The spell search. See {@link SearchResponse}.\n */\nexport function spellSearch(\n options: SpellSearchParameters,\n): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, '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: `${searchBase}/spell`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type {\n PvpTalentIndexResponse,\n PvpTalentResponse,\n TalentIndexResponse,\n TalentResponse,\n TalentTreeIndexResponse,\n TalentTreeNodesResponse,\n TalentTreeResponse,\n} from './types';\n\n/**\n * Get a PvP talent by ID.\n * @param pvpTalentId The PvP talent ID.\n * @returns The PvP talent. See {@link PvpTalentResponse}.\n */\nexport function pvpTalent(pvpTalentId: number): Resource<PvpTalentResponse> {\n return {\n namespace: 'static',\n path: `${base}/pvp-talent/${pvpTalentId}`,\n };\n}\n/**\n * Get a PvP talent index.\n * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.\n */\nexport function pvpTalentIndex(): Resource<PvpTalentIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/pvp-talent/index`,\n };\n}\n/**\n * Get a talent by ID.\n * @param talentId The talent ID.\n * @returns The talent. See {@link TalentResponse}.\n */\nexport function talent(talentId: number): Resource<TalentResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent/${talentId}`,\n };\n}\n/**\n * Get a talent index.\n * @returns The talent index. See {@link TalentIndexResponse}.\n */\nexport function talentIndex(): Resource<TalentIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent/index`,\n };\n}\n/**\n * Get a talent tree by ID.\n * @param talentTreeId The talent tree ID.\n * @param specId The playable specialization ID.\n * @returns The talent tree. See {@link TalentTreeResponse}.\n */\nexport function talentTree(talentTreeId: number, specId: number): Resource<TalentTreeResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,\n };\n}\n/**\n * Get a talent tree index.\n * @returns The talent tree index. See {@link TalentTreeIndexResponse}.\n */\nexport function talentTreeIndex(): Resource<TalentTreeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent-tree/index`,\n };\n}\n/**\n * Get talent tree nodes by talent tree ID.\n * @param talentTreeId The talent tree ID.\n * @returns The talent tree nodes. See {@link TalentTreeNodesResponse}.\n */\nexport function talentTreeNodes(talentTreeId: number): Resource<TalentTreeNodesResponse> {\n return {\n namespace: 'static',\n path: `${base}/talent-tree/${talentTreeId}`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type {\n TechTalentIndexResponse,\n TechTalentMediaResponse,\n TechTalentResponse,\n TechTalentTreeIndexResponse,\n TechTalentTreeResponse,\n} from './types';\n\n/**\n * Get a tech talent by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent. See {@link TechTalentResponse}.\n */\nexport function techTalent(techTalentId: number): Resource<TechTalentResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent/${techTalentId}`,\n };\n}\n/**\n * Get a tech talent index.\n * @returns The tech talent index. See {@link TechTalentIndexResponse}.\n */\nexport function techTalentIndex(): Resource<TechTalentIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent/index`,\n };\n}\n/**\n * Get tech talent media by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent media. See {@link TechTalentMediaResponse}.\n */\nexport function techTalentMedia(techTalentId: number): Resource<TechTalentMediaResponse> {\n return {\n namespace: 'static',\n path: `${mediaBase}/tech-talent/${techTalentId}`,\n };\n}\n/**\n * Get a tech talent tree by ID.\n * @param techTalentTreeId The tech talent tree ID.\n * @returns The tech talent tree. See {@link TechTalentTreeResponse}.\n */\nexport function techTalentTree(techTalentTreeId: number): Resource<TechTalentTreeResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent-tree/${techTalentTreeId}`,\n };\n}\n/**\n * Get a tech talent tree index.\n * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.\n */\nexport function techTalentTreeIndex(): Resource<TechTalentTreeIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/tech-talent-tree/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\n/**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\nexport function title(titleId: number): Resource<TitleResponse> {\n return {\n namespace: 'static',\n path: `${base}/title/${titleId}`,\n };\n}\n/**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\nexport function titleIndex(): Resource<TitleIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/title/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { ToyIndexResponse, ToyResponse } from './types';\n\n/**\n * Get a toy by ID.\n * @param toyId The toy ID.\n * @returns The toy. See {@link ToyResponse}.\n */\nexport function toy(toyId: number): Resource<ToyResponse> {\n return {\n namespace: 'static',\n path: `${base}/toy/${toyId}`,\n };\n}\n/**\n * Get a toy index.\n * @returns The toy index. See {@link ToyIndexResponse}.\n */\nexport function toyIndex(): Resource<ToyIndexResponse> {\n return {\n namespace: 'static',\n path: `${base}/toy/index`,\n };\n}\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { WowTokenResponse } from './types';\n\n/**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\nexport function wowToken(): Resource<WowTokenResponse> {\n return {\n namespace: 'dynamic',\n path: `${base}/token/index`,\n };\n}\n","import {\r\n accountCollectionsIndex,\r\n accountHeirloomsCollectionSummary,\r\n accountMountsCollectionSummary,\r\n accountPetsCollectionSummary,\r\n accountProfileSummary,\r\n accountToysCollectionSummary,\r\n accountTransmogsCollectionSummary,\r\n protectedCharacterProfileSummary,\r\n} from './account-profile/account-profile';\r\nimport {\r\n achievement,\r\n achievementCategory,\r\n achievementCategoryIndex,\r\n achievementIndex,\r\n achievementMedia,\r\n} from './achievements/achievements';\r\nimport { auctions, commodities } from './auction-house/auction-house';\r\nimport {\r\n azeriteEssence,\r\n azeriteEssenceIndex,\r\n azeriteEssenceMedia,\r\n azeriteEssenceSearch,\r\n} from './azerite-essence/azerite-essence';\r\nimport {\r\n characterAchievementsSummary,\r\n characterAchievementStatistics,\r\n} from './character-achievements/character-achievements';\r\nimport { characterAppearanceSummary } from './character-appearance/character-appearance';\r\nimport {\r\n characterCollectionsIndex,\r\n characterHeirloomsCollectionSummary,\r\n characterMountsCollectionSummary,\r\n characterPetsCollectionSummary,\r\n characterToysCollectionSummary,\r\n characterTransmogCollectionSummary,\r\n} from './character-collections/character-collections';\r\nimport {\r\n characterDungeons,\r\n characterEncountersSummary,\r\n characterRaids,\r\n} from './character-encounters/character-encounters';\r\nimport { characterEquipmentSummary } from './character-equipment/character-equipment';\r\nimport { characterHunterPetsSummary } from './character-hunter-pets/character-hunter-pets';\r\nimport { characterMediaSummary } from './character-media/character-media';\r\nimport {\r\n characterMythicKeystoneProfileIndex,\r\n characterMythicKeystoneSeasonDetails,\r\n} from './character-mythic-keystone-profile/character-mythic-keystone-profile';\r\nimport { characterProfessionsSummary } from './character-professions/character-professions';\r\nimport { characterProfileStatus, characterProfileSummary } from './character-profile/character-profile';\r\nimport { characterPvpSummary } from './character-pvp/character-pvp';\r\nimport { characterCompletedQuests, characterQuests } from './character-quests/character-quests';\r\nimport { characterReputationsSummary } from './character-reputations/character-reputations';\r\nimport { characterSoulbinds } from './character-soulbinds/character-soulbinds';\r\nimport { characterSpecializationsSummary } from './character-specializations/character-specializations';\r\nimport { characterStatisticsSummary } from './character-statistics/character-statistics';\r\nimport { characterTitlesSummary } from './character-titles/character-titles';\r\nimport { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/connected-realm';\r\nimport {\r\n conduit,\r\n conduitIndex,\r\n covenant,\r\n covenantIndex,\r\n covenantMedia,\r\n soulbind,\r\n soulbindIndex,\r\n} from './covenant/covenant';\r\nimport {\r\n creature,\r\n creatureDisplayMedia,\r\n creatureFamily,\r\n creatureFamilyIndex,\r\n creatureFamilyMedia,\r\n creatureSearch,\r\n creatureType,\r\n creatureTypeIndex,\r\n} from './creature/creature';\r\nimport { guild, guildAchievements, guildActivity, guildRoster } from './guild/guild';\r\nimport { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/guild-crest';\r\nimport { heirloom, heirloomIndex } from './heirloom/heirloom';\r\nimport {\r\n item,\r\n itemClass,\r\n itemClassIndex,\r\n itemMedia,\r\n itemSearch,\r\n itemSet,\r\n itemSetIndex,\r\n itemSubClass,\r\n} from './item/item';\r\nimport {\r\n journalEncounter,\r\n journalEncounterIndex,\r\n journalEncounterSearch,\r\n journalExpansion,\r\n journalExpansionIndex,\r\n journalInstance,\r\n journalInstanceIndex,\r\n journalInstanceMedia,\r\n} from './journal/journal';\r\nimport { mediaSearch } from './media-search/media-search';\r\nimport {\r\n modifiedCraftingCategory,\r\n modifiedCraftingCategoryIndex,\r\n modifiedCraftingIndex,\r\n modifiedCraftingReagentSlotType,\r\n modifiedCraftingReagentSlotTypeIndex,\r\n} from './modified-crafting/modified-crafting';\r\nimport { mount, mountIndex, mountSearch } from './mount/mount';\r\nimport {\r\n mythicKeystoneAffix,\r\n mythicKeystoneAffixIndex,\r\n mythicKeystoneAffixMedia,\r\n} from './mythic-keystone-affix/mythic-keystone-affix';\r\nimport {\r\n mythicKeystoneDungeon,\r\n mythicKeystoneDungeonIndex,\r\n mythicKeystoneIndex,\r\n mythicKeystonePeriod,\r\n mythicKeystonePeriodIndex,\r\n mythicKeystoneSeason,\r\n mythicKeystoneSeasonIndex,\r\n} from './mythic-keystone-dungeon/mythic-keystone-dungeon';\r\nimport {\r\n mythicKeystoneLeaderboard,\r\n mythicKeystoneLeaderboardIndex,\r\n} from './mythic-keystone-leaderboard/mythic-keystone-leaderboard';\r\nimport { mythicRaidLeaderboard } from './mythic-raid-leaderboard/mythic-raid-leaderboard';\r\nimport { pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia } from './pet/pet';\r\nimport { playableClass, playableClassIndex, playableClassMedia, pvpTalentSlots } from './playable-class/playable-class';\r\nimport { playableRace, playableRaceIndex } from './playable-race/playable-race';\r\nimport {\r\n playableSpecialization,\r\n playableSpecializationIndex,\r\n playableSpecializationMedia,\r\n} from './playable-specialization/playable-specialization';\r\nimport { powerType, powerTypeIndex } from './power-type/power-type';\r\nimport {\r\n profession,\r\n professionIndex,\r\n professionMedia,\r\n professionSkillTier,\r\n recipe,\r\n recipeMedia,\r\n} from './profession/profession';\r\nimport {\r\n pvpLeaderboard,\r\n pvpLeaderboardIndex,\r\n pvpRewardsIndex,\r\n pvpSeason,\r\n pvpSeasonIndex,\r\n} from './pvp-season/pvp-season';\r\nimport { pvpTier, pvpTierIndex, pvpTierMedia } from './pvp-tier/pvp-tier';\r\nimport {\r\n quest,\r\n questArea,\r\n questAreaIndex,\r\n questCategory,\r\n questCategoryIndex,\r\n questIndex,\r\n questType,\r\n questTypeIndex,\r\n} from './quest/quest';\r\nimport { realm, realmIndex, realmSearch } from './realm/realm';\r\nimport { region, regionIndex } from './region/region';\r\nimport {\r\n reputationFaction,\r\n reputationFactionIndex,\r\n reputationTiers,\r\n reputationTiersIndex,\r\n} from './reputations/reputations';\r\nimport { spell, spellMedia, spellSearch } from './spell/spell';\r\nimport { pvpTalent, pvpTalentIndex, talentIndex, talentTree, talentTreeIndex, talentTreeNodes } from './talent/talent';\r\nimport {\r\n techTalent,\r\n techTalentIndex,\r\n techTalentMedia,\r\n techTalentTree,\r\n techTalentTreeIndex,\r\n} from './tech-talent/tech-talent';\r\nimport { title, titleIndex } from './title/title';\r\nimport { toy, toyIndex } from './toy/toy';\r\nimport { wowToken } from './wow-token/wow-token';\r\n\r\n/**\r\n * The Blizzard API for World of Warcraft.\r\n * @see https://develop.battle.net/documentation/world-of-warcraft\r\n */\r\n\r\nexport const wow = {\r\n //Account Profile\r\n accountCollectionsIndex,\r\n accountHeirloomsCollectionSummary,\r\n accountMountsCollectionSummary,\r\n accountPetsCollectionSummary,\r\n accountProfileSummary,\r\n accountToysCollectionSummary,\r\n accountTransmogsCollectionSummary,\r\n protectedCharacterProfileSummary,\r\n //Achievements\r\n achievement,\r\n achievementCategory,\r\n achievementCategoryIndex,\r\n achievementIndex,\r\n achievementMedia,\r\n //Auction House\r\n auctions,\r\n commodities,\r\n //Azerite Essence\r\n azeriteEssence,\r\n azeriteEssenceIndex,\r\n azeriteEssenceMedia,\r\n azeriteEssenceSearch,\r\n //Character Achievements\r\n characterAchievementsSummary,\r\n characterAchievementStatistics,\r\n //Character Appearance\r\n characterAppearanceSummary,\r\n //Character Collections\r\n characterCollectionsIndex,\r\n characterHeirloomsCollectionSummary,\r\n characterMountsCollectionSummary,\r\n characterPetsCollectionSummary,\r\n characterToysCollectionSummary,\r\n characterTransmogCollectionSummary,\r\n //Character Encounters\r\n characterDungeons,\r\n characterEncountersSummary,\r\n characterRaids,\r\n //Character Equipment\r\n characterEquipmentSummary,\r\n //Character Hunter Pets\r\n characterHunterPetsSummary,\r\n //Character Media\r\n characterMediaSummary,\r\n //Character Mythic Keystone Profile\r\n characterMythicKeystoneProfileIndex,\r\n characterMythicKeystoneSeasonDetails,\r\n //Character Professions\r\n characterProfessionsSummary,\r\n //Character Profile\r\n characterProfileStatus,\r\n characterProfileSummary,\r\n //Character PvP\r\n characterPvpSummary,\r\n //Character Quests\r\n characterCompletedQuests,\r\n characterQuests,\r\n //Character Reputations\r\n characterReputationsSummary,\r\n //Character Soulbinds\r\n characterSoulbinds,\r\n //Character Specializations\r\n characterSpecializationsSummary,\r\n //Character Statistics\r\n characterStatisticsSummary,\r\n //Character Titles\r\n characterTitlesSummary,\r\n //Connected Realm\r\n connectedRealm,\r\n connectedRealmIndex,\r\n connectedRealmSearch,\r\n //Covenant\r\n conduit,\r\n conduitIndex,\r\n covenant,\r\n covenantIndex,\r\n covenantMedia,\r\n soulbind,\r\n soulbindIndex,\r\n //Creature\r\n creature,\r\n creatureDisplayMedia,\r\n creatureFamily,\r\n creatureFamilyIndex,\r\n creatureFamilyMedia,\r\n creatureSearch,\r\n creatureType,\r\n creatureTypeIndex,\r\n //Guild\r\n guild,\r\n guildAchievements,\r\n guildActivity,\r\n guildRoster,\r\n //Guild Crest\r\n guildCrestBorder,\r\n guildCrestComponentsIndex,\r\n guildCrestEmblem,\r\n //Heirloom\r\n heirloom,\r\n heirloomIndex,\r\n //Item\r\n item,\r\n itemClass,\r\n itemClassIndex,\r\n itemMedia,\r\n itemSearch,\r\n itemSet,\r\n itemSetIndex,\r\n itemSubClass,\r\n //Journal\r\n journalEncounter,\r\n journalEncounterIndex,\r\n journalEncounterSearch,\r\n journalExpansion,\r\n journalExpansionIndex,\r\n journalInstance,\r\n journalInstanceIndex,\r\n journalInstanceMedia,\r\n //Media Search\r\n mediaSearch,\r\n //Modified Crafting\r\n modifiedCraftingCategory,\r\n modifiedCraftingCategoryIndex,\r\n modifiedCraftingIndex,\r\n modifiedCraftingReagentSlotType,\r\n modifiedCraftingReagentSlotTypeIndex,\r\n //Mount\r\n mount,\r\n mountIndex,\r\n mountSearch,\r\n //Mythic Keystone Affix\r\n mythicKeystoneAffix,\r\n mythicKeystoneAffixIndex,\r\n mythicKeystoneAffixMedia,\r\n //Mythic Keystone Dungeon\r\n mythicKeystoneDungeon,\r\n mythicKeystoneDungeonIndex,\r\n mythicKeystoneIndex,\r\n mythicKeystonePeriod,\r\n mythicKeystonePeriodIndex,\r\n mythicKeystoneSeason,\r\n mythicKeystoneSeasonIndex,\r\n //Mythic Keystone Leaderboard\r\n mythicKeystoneLeaderboard,\r\n mythicKeystoneLeaderboardIndex,\r\n //Mythic Raid Leaderboard\r\n mythicRaidLeaderboard,\r\n //Pet\r\n pet,\r\n petAbility,\r\n petAbilityIndex,\r\n petAbilityMedia,\r\n petIndex,\r\n petMedia,\r\n //Playable Class\r\n playableClass,\r\n playableClassIndex,\r\n playableClassMedia,\r\n pvpTalentSlots,\r\n //Playable\r\n playableRace,\r\n playableRaceIndex,\r\n //Playable Specialization\r\n playableSpecialization,\r\n playableSpecializationIndex,\r\n playableSpecializationMedia,\r\n //Power Type\r\n powerType,\r\n powerTypeIndex,\r\n //Profession\r\n profession,\r\n professionIndex,\r\n professionMedia,\r\n professionSkillTier,\r\n recipe,\r\n recipeMedia,\r\n //Pvp Season\r\n pvpLeaderboard,\r\n pvpLeaderboardIndex,\r\n pvpRewardsIndex,\r\n pvpSeason,\r\n pvpSeasonIndex,\r\n //Pvp Tier\r\n pvpTier,\r\n pvpTierIndex,\r\n pvpTierMedia,\r\n //Quest\r\n quest,\r\n questArea,\r\n questAreaIndex,\r\n questCategory,\r\n questCategoryIndex,\r\n questIndex,\r\n questType,\r\n questTypeIndex,\r\n //Realm\r\n realm,\r\n realmIndex,\r\n realmSearch,\r\n //Region\r\n region,\r\n regionIndex,\r\n //Reputations\r\n reputationFaction,\r\n reputationFactionIndex,\r\n reputationTiers,\r\n reputationTiersIndex,\r\n //Spell\r\n spell,\r\n spellMedia,\r\n spellSearch,\r\n //Talent\r\n pvpTalent,\r\n pvpTalentIndex,\r\n talentIndex,\r\n talentTree,\r\n talentTreeIndex,\r\n talentTreeNodes,\r\n //Tech Talent\r\n techTalent,\r\n techTalentIndex,\r\n techTalentMedia,\r\n techTalentTree,\r\n techTalentTreeIndex,\r\n //Title\r\n title,\r\n titleIndex,\r\n //Toy\r\n toy,\r\n toyIndex,\r\n //WoW Token\r\n wowToken,\r\n};\r\nexport default wow;\r\n\r\n//Account Profile\r\nexport * from './account-profile/account-profile';\r\nexport type * from './account-profile/types';\r\n//Achievements\r\nexport * from './achievements/achievements';\r\nexport type * from './achievements/types';\r\n//Auction House\r\nexport * from './auction-house/auction-house';\r\nexport type * from './auction-house/types';\r\n//Azerite Essence\r\nexport * from './azerite-essence/azerite-essence';\r\nexport type * from './azerite-essence/types';\r\n//Character Achievements\r\nexport * from './character-achievements/character-achievements';\r\nexport type * from './character-achievements/types';\r\n//Character Appearance\r\nexport * from './character-appearance/character-appearance';\r\nexport type * from './character-appearance/types';\r\n//Character Collections\r\nexport * from './character-collections/character-collections';\r\nexport type * from './character-collections/types';\r\n//Character Encounters\r\nexport * from './character-encounters/character-encounters';\r\nexport type * from './character-encounters/types';\r\n//Character Equipment\r\nexport * from './character-equipment/character-equipment';\r\nexport type * from './character-equipment/types';\r\n//Character Hunter Pets\r\nexport * from './character-hunter-pets/character-hunter-pets';\r\nexport type * from './character-hunter-pets/types';\r\n//Character Media\r\nexport * from './character-media/character-media';\r\nexport type * from './character-media/types';\r\n//Character Mythic Keystone Profile\r\nexport * from './character-mythic-keystone-profile/character-mythic-keystone-profile';\r\nexport type * from './character-mythic-keystone-profile/types';\r\n//Character Professions\r\nexport * from './character-professions/character-professions';\r\nexport type * from './character-professions/types';\r\n//Character Profile\r\nexport * from './character-profile/character-profile';\r\nexport type * from './character-profile/types';\r\n//Character PvP\r\nexport * from './character-pvp/character-pvp';\r\nexport type * from './character-pvp/types';\r\n//Character Quests\r\nexport * from './character-quests/character-quests';\r\nexport type * from './character-quests/types';\r\n//Character Reputations\r\nexport * from './character-reputations/character-reputations';\r\nexport type * from './character-reputations/types';\r\n//Character Soulbinds\r\nexport * from './character-soulbinds/character-soulbinds';\r\nexport type * from './character-soulbinds/types';\r\n//Character Specializations\r\nexport * from './character-specializations/character-specializations';\r\nexport type * from './character-specializations/types';\r\n//Character Statistics\r\nexport * from './character-statistics/character-statistics';\r\nexport type * from './character-statistics/types';\r\n//Character Titles\r\nexport * from './character-titles/character-titles';\r\nexport type * from './character-titles/types';\r\n//Connected Realm\r\nexport * from './connected-realm/connected-realm';\r\nexport type * from './connected-realm/types';\r\n//Covenant\r\nexport * from './covenant/covenant';\r\nexport type * from './covenant/types';\r\n//Creature\r\nexport * from './creature/creature';\r\nexport type * from './creature/types';\r\n//Guild\r\nexport * from './guild/guild';\r\nexport type * from './guild/types';\r\n//Guild Crest\r\nexport * from './guild-crest/guild-crest';\r\nexport type * from './guild-crest/types';\r\n//Heirloom\r\nexport * from './heirloom/heirloom';\r\nexport type * from './heirloom/types';\r\n//Item\r\nexport * from './item/item';\r\nexport type * from './item/types';\r\n//Journal\r\nexport * from './journal/journal';\r\nexport type * from './journal/types';\r\n//Media Search\r\nexport * from './media-search/media-search';\r\nexport type * from './media-search/types';\r\n//Modified Crafting\r\nexport * from './modified-crafting/modified-crafting';\r\nexport type * from './modified-crafting/types';\r\n//Mount\r\nexport * from './mount/mount';\r\nexport type * from './mount/types';\r\n//Mythic Keystone Affix\r\nexport * from './mythic-keystone-affix/mythic-keystone-affix';\r\nexport type * from './mythic-keystone-affix/types';\r\n//Mythic Keystone Dungeon\r\nexport * from './mythic-keystone-dungeon/mythic-keystone-dungeon';\r\nexport type * from './mythic-keystone-dungeon/types';\r\n//Mythic Keystone Leaderboard\r\nexport * from './mythic-keystone-leaderboard/mythic-keystone-leaderboard';\r\nexport type * from './mythic-keystone-leaderboard/types';\r\n//Mythic Raid Leaderboard\r\nexport * from './mythic-raid-leaderboard/mythic-raid-leaderboard';\r\nexport type * from './mythic-raid-leaderboard/types';\r\n//Pet\r\nexport * from './pet/pet';\r\nexport type * from './pet/types';\r\n//Playable Class\r\nexport * from './playable-class/playable-class';\r\nexport type * from './playable-class/types';\r\n//Playable Race\r\nexport * from './playable-race/playable-race';\r\nexport type * from './playable-race/types';\r\n//Playable Specialization\r\nexport * from './playable-specialization/playable-specialization';\r\nexport type * from './playable-specialization/types';\r\n//Power Type\r\nexport * from './power-type/power-type';\r\nexport type * from './power-type/types';\r\n//Profession\r\nexport * from './profession/profession';\r\nexport type * from './profession/types';\r\n//Pvp Season\r\nexport * from './pvp-season/pvp-season';\r\nexport type * from './pvp-season/types';\r\n//Pvp Tier\r\nexport * from './pvp-tier/pvp-tier';\r\nexport type * from './pvp-tier/types';\r\n//Quest\r\nexport * from './quest/quest';\r\nexport type * from './quest/types';\r\n//Realm\r\nexport * from './realm/realm';\r\nexport type * from './realm/types';\r\n//Region\r\nexport * from './region/region';\r\nexport type * from './region/types';\r\n//Reputations\r\nexport * from './reputations/reputations';\r\nexport type * from './reputations/types';\r\n//Spell\r\nexport * from './spell/spell';\r\nexport type * from './spell/types';\r\n//Talent\r\nexport * from './talent/talent';\r\nexport type * from './talent/types';\r\n//Tech Talent\r\nexport * from './tech-talent/tech-talent';\r\nexport type * from './tech-talent/types';\r\n//Title\r\nexport * from './title/title';\r\nexport type * from './title/types';\r\n//Toy\r\nexport * from './toy/toy';\r\nexport type * from './toy/types';\r\nexport type * from './wow-token/types';\r\n//WoW Token\r\nexport * from './wow-token/wow-token';\r\n"]}
|