@blizzard-api/wow 0.2.3 → 1.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/README.md +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -14
package/README.md
CHANGED
|
@@ -35,6 +35,10 @@ const achievement = wow.achievement(123);
|
|
|
35
35
|
type AchievementResponse = ExtractResourceType<typeof achievement>;
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Differences to @blizzard-api/classic-wow
|
|
39
|
+
|
|
40
|
+
This package is specifically for World of Warcraft (retail or modern), and as such, the endpoints and responses are different from the classic variants. If you are looking for the classic version of World of Warcraft, you should use `@blizzard-api/classic-wow` instead.
|
|
41
|
+
|
|
38
42
|
## Types
|
|
39
43
|
|
|
40
44
|
The types are manually created from using the Blizzard API documentation, and are as accurate as possible with smoke testing each endpoint. However, no-one is perfect so there is likely be some discrepancies. If you encounter any issues with the types from this package, please open an issue or a pull request.
|
package/dist/index.cjs
CHANGED
|
@@ -359,7 +359,7 @@ var creatureApi = {
|
|
|
359
359
|
/**
|
|
360
360
|
* Search for creatures.
|
|
361
361
|
* @param options The creature search parameters. See {@link CreatureSearchParameters}.
|
|
362
|
-
* @returns The creature search results. See {@link SearchResponse}.
|
|
362
|
+
* @returns The creature search results. See {@link SearchResponse} & {@link CreatureSearchResponseItem}.
|
|
363
363
|
*/
|
|
364
364
|
creatureSearch: (options) => {
|
|
365
365
|
return {
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/base.ts","../src/achievements/achievements.ts","../src/auction-house/auction-house.ts","../src/azerite-essence/azerite-essence.ts","../src/connected-realm/connected-realm.ts","../src/covenant/covenant.ts","../src/creature/creature.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"],"sourcesContent":["import { achievementApi } from './achievements/achievements';\r\nimport { auctionHouseApi } from './auction-house/auction-house';\r\nimport { azeriteEssenceApi } from './azerite-essence/azerite-essence';\r\nimport { connectedRealmApi } from './connected-realm/connected-realm';\r\nimport { covenantApi } from './covenant/covenant';\r\nimport { creatureApi } from './creature/creature';\r\nimport { guildCrestApi } from './guild-crest/guild-crest';\r\nimport { heirloomApi } from './heirloom/heirloom';\r\nimport { itemApi } from './item/item';\r\nimport { journalApi } from './journal/journal';\r\nimport { mediaSearchApi } from './media-search/media-search';\r\nimport { modifiedCraftingApi } from './modified-crafting/modified-crafting';\r\nimport { mountApi } from './mount/mount';\r\nimport { mythicKeystoneAffixApi } from './mythic-keystone-affix/mythic-keystone-affix';\r\nimport { mythicKeystoneDungeonApi } from './mythic-keystone-dungeon/mythic-keystone-dungeon';\r\nimport { mythicKeystoneLeaderboardApi } from './mythic-keystone-leaderboard/mythic-keystone-leaderboard';\r\nimport { mythicRaidLeaderboardApi } from './mythic-raid-leaderboard/mythic-raid-leaderboard';\r\nimport { petApi } from './pet/pet';\r\nimport { playableClassApi } from './playable-class/playable-class';\r\nimport { playableRaceApi } from './playable-race/playable-race';\r\nimport { playableSpecializationApi } from './playable-specialization/playable-specialization';\r\nimport { powerTypeApi } from './power-type/power-type';\r\nimport { professionApi } from './profession/profession';\r\nimport { pvpSeasonApi } from './pvp-season/pvp-season';\r\nimport { pvpTierApi } from './pvp-tier/pvp-tier';\r\nimport { questApi } from './quest/quest';\r\nimport { realmApi } from './realm/realm';\r\nimport { regionApi } from './region/region';\r\nimport { reputationApi } from './reputations/reputations';\r\nimport { spellApi } from './spell/spell';\r\nimport { talentApi } from './talent/talent';\r\nimport { techTalentApi } from './tech-talent/tech-talent';\r\nimport { titleApi } from './title/title';\r\nimport { toyApi } from './toy/toy';\r\nimport { wowTokenApi } 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\nexport const wow = {\r\n ...achievementApi,\r\n ...auctionHouseApi,\r\n ...azeriteEssenceApi,\r\n ...connectedRealmApi,\r\n ...covenantApi,\r\n ...creatureApi,\r\n ...guildCrestApi,\r\n ...heirloomApi,\r\n ...itemApi,\r\n ...journalApi,\r\n ...mediaSearchApi,\r\n ...modifiedCraftingApi,\r\n ...mountApi,\r\n ...mythicKeystoneAffixApi,\r\n ...mythicKeystoneDungeonApi,\r\n ...mythicKeystoneLeaderboardApi,\r\n ...mythicRaidLeaderboardApi,\r\n ...petApi,\r\n ...playableClassApi,\r\n ...playableRaceApi,\r\n ...playableSpecializationApi,\r\n ...powerTypeApi,\r\n ...professionApi,\r\n ...pvpSeasonApi,\r\n ...pvpTierApi,\r\n ...questApi,\r\n ...realmApi,\r\n ...regionApi,\r\n ...reputationApi,\r\n ...spellApi,\r\n ...talentApi,\r\n ...techTalentApi,\r\n ...titleApi,\r\n ...toyApi,\r\n ...wowTokenApi,\r\n};\r\n\r\n//Achievements\r\nexport * from './achievements/types.js';\r\n//Auction House\r\nexport * from './auction-house/types.js';\r\n//Azerite Essence\r\nexport * from './azerite-essence/types.js';\r\n//Connected Realm\r\nexport * from './connected-realm/types.js';\r\n//Covenant\r\nexport * from './covenant/types.js';\r\n//Creature\r\nexport * from './creature/types.js';\r\n//Guild Crest\r\nexport * from './guild-crest/types.js';\r\n//Heirloom\r\nexport * from './heirloom/types.js';\r\n//Item\r\nexport * from './item/types.js';\r\n//Journal\r\nexport * from './journal/types.js';\r\n//Media Search\r\nexport * from './media-search/types.js';\r\n//Modified Crafting\r\nexport * from './modified-crafting/types.js';\r\n//Mount\r\nexport * from './mount/types.js';\r\n//Mythic Keystone Affix\r\nexport * from './mythic-keystone-affix/types.js';\r\n//Mythic Keystone Dungeon\r\nexport * from './mythic-keystone-dungeon/types.js';\r\n//Mythic Keystone Leaderboard\r\nexport * from './mythic-keystone-leaderboard/types.js';\r\n//Mythic Raid Leaderboard\r\nexport * from './mythic-raid-leaderboard/types.js';\r\n//Pet\r\nexport * from './pet/types.js';\r\n//Playable Class\r\nexport * from './playable-class/types.js';\r\n//Playable Race\r\nexport * from './playable-race/types.js';\r\n//Playable Specialization\r\nexport * from './playable-specialization/types.js';\r\n//Power Type\r\nexport * from './power-type/types.js';\r\n//Profession\r\nexport * from './profession/types.js';\r\n//Pvp Season\r\nexport * from './pvp-season/types.js';\r\n//Pvp Tier\r\nexport * from './pvp-tier/types.js';\r\n//Quest\r\nexport * from './quest/types.js';\r\n//Realm\r\nexport * from './realm/types.js';\r\n//Region\r\nexport * from './region/types.js';\r\n//Reputations\r\nexport * from './reputations/types.js';\r\n//Spell\r\nexport * from './spell/types.js';\r\n//Talent\r\nexport * from './talent/types.js';\r\n//Tech Talent\r\nexport * from './tech-talent/types.js';\r\n//Title\r\nexport * from './title/types.js';\r\n//Toy\r\nexport * from './toy/types.js';\r\n//WoW Token\r\nexport * from './wow-token/types.js';\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 * Base interface for Blizzard API responses.\r\n */\r\nexport interface ResponseBase {\r\n _links: {\r\n self: {\r\n href: string;\r\n };\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: {\r\n href: string;\r\n };\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 name: string;\r\n id: number;\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 r: number;\r\n g: number;\r\n b: number;\r\n a: 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 key: string;\r\n value: string;\r\n file_data_id: number;\r\n}\r\n\r\n/**\r\n * The playable genders in World of Warcraft.\r\n */\r\nexport interface Gender {\r\n male: string;\r\n female: string;\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 type: keyof typeof Factions;\r\n name: Capitalize<Lowercase<keyof typeof Factions>>;\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\nexport const achievementApi = {\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\n achievementCategory: (achievementCategoryId: number): Resource<AchievementCategoryResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\r\n namespace: 'static',\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\n achievementCategoryIndex: (): Resource<AchievementCategoryIndexResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/index`,\r\n namespace: 'static',\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\n achievement: (achievementId: number): Resource<AchievementResponse> => {\r\n return {\r\n path: `${achievementBase}/${achievementId}`,\r\n namespace: 'static',\r\n };\r\n },\r\n /**\r\n * Get an achievement index.\r\n * @returns The achievement index. See {@link AchievementIndexResponse}.\r\n */\r\n achievementIndex: (): Resource<AchievementIndexResponse> => {\r\n return {\r\n path: `${achievementBase}/index`,\r\n namespace: 'static',\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\n achievementMedia: (achievementId: number): Resource<AchievementMediaResponse> => {\r\n return { path: `${mediaBase}/achievement/${achievementId}`, namespace: 'static' };\r\n },\r\n};\r\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\nexport const auctionHouseApi = {\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 */\n auctions: (connectedRealmId: number): Resource<AuctionHouseResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/auctions`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\n commodities: (): Resource<AuctionHouseCommoditiesResponse> => {\n return {\n path: `${base}/auctions/commodities`,\n namespace: 'dynamic',\n };\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\nexport const azeriteEssenceApi = {\n /**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\n azeriteEssence: (azeriteEssenceId: number): Resource<AzeriteEssenceResponse> => {\n return {\n path: `${base}/azerite-essence/${azeriteEssenceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\n azeriteEssenceIndex: (): Resource<AzeriteEssenceIndexResponse> => {\n return {\n path: `${base}/azerite-essence/index`,\n namespace: 'static',\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 */\n azeriteEssenceMedia: (azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> => {\n return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}`, namespace: 'static' };\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 */\n azeriteEssenceSearch: (\n options: AzeriteEssenceSearchParameters,\n ): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, AzeriteEssenceSearchParameters> => {\n return {\n path: `${searchBase}/azerite-essence`,\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 };\n },\n};\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\nexport const connectedRealmApi = {\n /**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\n connectedRealmIndex: (): Resource<ConnectedRealmIndexResponse> => {\n return {\n path: `${base}/connected-realm/index`,\n namespace: 'dynamic',\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 */\n connectedRealm: (connectedRealmId: number): Resource<ConnectedRealmResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}`,\n namespace: 'dynamic',\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 */\n 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 'status.type': options['status.type'],\n 'realms.timezone': options['realms.timezone'],\n },\n path: `${base}/search/connected-realm`,\n };\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\nexport const covenantApi = {\n /**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\n conduit: (conduitId: number): Resource<ConduitResponse> => {\n return {\n path: `${base}/covenant/conduit/${conduitId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\n conduitIndex: (): Resource<ConduitIndexResponse> => {\n return {\n path: `${base}/covenant/conduit/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\n covenant: (covenantId: number): Resource<CovenantResponse> => {\n return {\n path: `${base}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\n covenantIndex: (): Resource<CovenantIndexResponse> => {\n return {\n path: `${base}/covenant/index`,\n namespace: 'static',\n };\n },\n /**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\n covenantMedia: (covenantId: number): Resource<CovenantMediaResponse> => {\n return {\n path: `${mediaBase}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\n soulbind: (soulbindId: number): Resource<SoulbindResponse> => {\n return {\n path: `${base}/covenant/soulbind/${soulbindId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\n soulbindIndex: (): Resource<SoulbindIndexResponse> => {\n return {\n path: `${base}/covenant/soulbind/index`,\n namespace: 'static',\n };\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\nexport const creatureApi = {\n /**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\n creature: (creatureId: number): Resource<CreatureResponse> => {\n return {\n path: `${base}/creature/${creatureId}`,\n namespace: 'static',\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 */\n creatureDisplayMedia: (creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> => {\n return {\n path: `${mediaBase}/creature-display/${creatureDisplayId}`,\n namespace: 'static',\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 */\n creatureFamily: (creatureFamilyId: number): Resource<CreatureFamilyResponse> => {\n return {\n path: `${base}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\n creatureFamilyIndex: (): Resource<CreatureFamilyIndexResponse> => {\n return {\n path: `${base}/creature-family/index`,\n namespace: 'static',\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 */\n creatureFamilyMedia: (creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> => {\n return {\n path: `${mediaBase}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\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 */\n creatureType: (creatureTypeId: number): Resource<CreatureTypeResponse> => {\n return {\n path: `${base}/creature-type/${creatureTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\n creatureTypeIndex: (): Resource<CreatureTypeIndexResponse> => {\n return {\n path: `${base}/creature-type/index`,\n namespace: 'static',\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}.\n */\n creatureSearch: (\n options: CreatureSearchParameters,\n ): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/creature`,\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\n\nexport const guildCrestApi = {\n /**\n * Get the guild crest components index.\n * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.\n */\n guildCrestComponentsIndex: (): Resource<GuildCrestComponentsIndexResponse> => {\n return {\n path: `${base}/guild-crest/index`,\n namespace: 'static',\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 */\n guildCrestBorder: (borderId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/border/${borderId}`,\n namespace: 'static',\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 */\n guildCrestEmblem: (emblemId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/emblem/${emblemId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { HeirloomIndexResponse, HeirloomResponse } from './types';\n\nexport const heirloomApi = {\n /**\n * Get a heirloom by ID.\n * @param heirloomId The heirloom ID.\n * @returns The heirloom. See {@link HeirloomResponse}.\n */\n heirloom: (heirloomId: number): Resource<HeirloomResponse> => {\n return {\n path: `${base}/heirloom/${heirloomId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the heirloom index.\n * @returns The heirloom index. See {@link HeirloomIndexResponse}.\n */\n heirloomIndex: (): Resource<HeirloomIndexResponse> => {\n return {\n path: `${base}/heirloom/index`,\n namespace: 'static',\n };\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\nexport const itemApi = {\n /**\n * Get an item by ID.\n * @param itemId The item ID.\n * @returns The item. See {@link ItemResponse}.\n */\n item: (itemId: number): Resource<ItemResponse> => {\n return {\n path: `${base}/item/${itemId}`,\n namespace: 'static',\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 */\n itemClass: (itemClassId: number): Resource<ItemClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}`,\n namespace: 'static',\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 */\n itemSubClass: (itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item class index.\n * @returns The item class index. See {@link ItemClassIndexResponse}.\n */\n itemClassIndex: (): Resource<ItemClassIndexResponse> => {\n return {\n path: `${base}/item-class/index`,\n namespace: 'static',\n };\n },\n /**\n * Get item media by ID.\n * @param itemId The item ID.\n * @returns The item media. See {@link ItemMediaResponse}.\n */\n itemMedia: (itemId: number): Resource<ItemMediaResponse> => {\n return {\n path: `${mediaBase}/item/${itemId}`,\n namespace: 'static',\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 */\n itemSet: (itemSetId: number): Resource<ItemSetResponse> => {\n return {\n path: `${base}/item-set/${itemSetId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item set index.\n * @returns The item set index. See {@link ItemSetIndexResponse}.\n */\n itemSetIndex: (): Resource<ItemSetIndexResponse> => {\n return {\n path: `${base}/item-set/index`,\n namespace: 'static',\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 */\n itemSearch: (\n options: ItemSearchParameters,\n ): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/item`,\n };\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\nexport const journalApi = {\n /**\n * Get a journal encounter by ID.\n * @param journalEncounterId The journal encounter ID.\n * @returns The journal encounter. See {@link JournalEncounterResponse}.\n */\n journalEncounter: (journalEncounterId: number): Resource<JournalEncounterResponse> => {\n return {\n path: `${base}/journal-encounter/${journalEncounterId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal encounter index.\n * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.\n */\n journalEncounterIndex: (): Resource<JournalEncounterIndexResponse> => {\n return {\n path: `${base}/journal-encounter/index`,\n namespace: 'static',\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 */\n 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 orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`instance.name.${options.locale}`]: options.instanceName,\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 */\n journalExpansion: (journalExpansionId: number): Resource<JournalExpansionResponse> => {\n return {\n path: `${base}/journal-expansion/${journalExpansionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal expansion index.\n * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.\n */\n journalExpansionIndex: (): Resource<JournalExpansionIndexResponse> => {\n return {\n path: `${base}/journal-expansion/index`,\n namespace: 'static',\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 */\n journalInstance: (journalInstanceId: number): Resource<JournalInstanceResponse> => {\n return {\n path: `${base}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal instance index.\n * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.\n */\n journalInstanceIndex: (): Resource<JournalInstanceIndexResponse> => {\n return {\n path: `${base}/journal-instance/index`,\n namespace: 'static',\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 */\n journalInstanceMedia: (journalInstanceId: number): Resource<JournalInstanceMediaResponse> => {\n return {\n path: `${mediaBase}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { searchBase } from '../base';\nimport type { MediaSearchParameters, MediaSearchResponseItem } from './types';\n\nexport const mediaSearchApi = {\n /**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\n 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};\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\nexport const modifiedCraftingApi = {\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 */\n modifiedCraftingCategory: (modifiedCraftingCategoryId: number): Resource<ModifiedCraftingCategoryResponse> => {\n return {\n path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting category index.\n * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.\n */\n modifiedCraftingCategoryIndex: (): Resource<ModifiedCraftingCategoryIndexResponse> => {\n return {\n path: `${base}/modified-crafting/category/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting index.\n * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.\n */\n modifiedCraftingIndex: (): Resource<ModifiedCraftingIndexResponse> => {\n return {\n path: `${base}/modified-crafting/index`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotType: (\n modifiedCraftingReagentSlotTypeId: number,\n ): Resource<ModifiedCraftingReagentSlotTypeResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotTypeIndex: (): Resource<ModifiedCraftingReagentSlotTypeIndexResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/index`,\n namespace: 'static',\n };\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\nexport const mountApi = {\n /**\n * Get a mount by ID.\n * @param mountId The mount ID.\n * @returns The mount. See {@link MountResponse}.\n */\n mount: (mountId: number): Resource<MountResponse> => {\n return {\n path: `${base}/mount/${mountId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a mount index.\n * @returns The mount index. See {@link MountIndexResponse}.\n */\n mountIndex: (): Resource<MountIndexResponse> => {\n return {\n path: `${base}/mount/index`,\n namespace: 'static',\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 */\n mountSearch: (\n options: MountSearchParameters,\n ): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/mount`,\n };\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\nexport const mythicKeystoneAffixApi = {\n /**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\n mythicKeystoneAffix: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> => {\n return {\n path: `${base}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\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 */\n mythicKeystoneAffixIndex: (): Resource<MythicKeystoneAffixIndexResponse> => {\n return {\n path: `${base}/keystone-affix/index`,\n namespace: 'static',\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 */\n mythicKeystoneAffixMedia: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> => {\n return {\n path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\n };\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\nexport const mythicKeystoneDungeonApi = {\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 */\n mythicKeystoneDungeon: (mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone dungeon index.\n * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.\n */\n mythicKeystoneDungeonIndex: (): Resource<MythicKeystoneDungeonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/index`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone index.\n * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.\n */\n mythicKeystoneIndex: (): Resource<MythicKeystoneIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/index`,\n namespace: 'dynamic',\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 */\n mythicKeystonePeriod: (mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse> => {\n return {\n path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone period index.\n * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.\n */\n mythicKeystonePeriodIndex: (): Resource<MythicKeystonePeriodIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/period/index`,\n namespace: 'dynamic',\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 */\n mythicKeystoneSeason: (mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse> => {\n return {\n path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone season index.\n * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.\n */\n mythicKeystoneSeasonIndex: (): Resource<MythicKeystoneSeasonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\nexport const mythicKeystoneLeaderboardApi = {\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 */\n mythicKeystoneLeaderboard: (\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n ): Resource<MythicKeystoneLeaderboardResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n namespace: 'dynamic',\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 */\n mythicKeystoneLeaderboardIndex: (connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n namespace: 'dynamic',\n };\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\nexport const mythicRaidLeaderboardApi = {\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 */\n mythicRaidLeaderboard: (\n raid: string,\n faction: Lowercase<keyof typeof Factions>,\n ): Resource<MythicRaidLeaderboardResponse> => {\n return {\n path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,\n namespace: 'dynamic',\n };\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\nexport const petApi = {\n /**\n * Get a pet by ID.\n * @param petId The pet ID.\n * @returns The pet. See {@link PetResponse}.\n */\n pet: (petId: number): Resource<PetResponse> => {\n return {\n path: `${base}/pet/${petId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet index.\n * @returns The pet index. See {@link PetIndexResponse}.\n */\n petIndex: (): Resource<PetIndexResponse> => {\n return {\n path: `${base}/pet/index`,\n namespace: 'static',\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 */\n petMedia: (petId: number): Resource<PetMediaResponse> => {\n return {\n path: `${mediaBase}/pet/${petId}`,\n namespace: 'static',\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 */\n petAbility: (petAbilityId: number): Resource<PetAbilityResponse> => {\n return {\n path: `${base}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet ability index.\n * @returns The pet ability index. See {@link PetAbilityIndexResponse}.\n */\n petAbilityIndex: (): Resource<PetAbilityIndexResponse> => {\n return {\n path: `${base}/pet-ability/index`,\n namespace: 'static',\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 */\n petAbilityMedia: (petAbilityId: number): Resource<PetAbilityMediaResponse> => {\n return {\n path: `${mediaBase}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\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\nexport const playableClassApi = {\n /**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\n playableClass: (playableClassId: number): Resource<PlayableClassResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\n playableClassIndex: (): Resource<PlayableClassIndexResponse> => {\n return {\n path: `${base}/playable-class/index`,\n namespace: 'static',\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 */\n playableClassMedia: (playableClassId: number): Resource<PlayableClassMediaResponse> => {\n return {\n path: `${mediaBase}/playable-class/${playableClassId}`,\n namespace: 'static',\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 */\n pvpTalentSlots: (playableClassId: number): Resource<PvpTalentSlotsResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\nexport const playableRaceApi = {\n /**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\n playableRace: (playableRaceId: number): Resource<PlayableRaceResponse> => {\n return {\n path: `${base}/playable-race/${playableRaceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\n playableRaceIndex: (): Resource<PlayableRaceIndexResponse> => {\n return {\n path: `${base}/playable-race/index`,\n namespace: 'static',\n };\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\nexport const playableSpecializationApi = {\n /**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\n playableSpecialization: (specializationId: number): Resource<PlayableSpecializationResponse> => {\n return {\n path: `${base}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\n playableSpecializationIndex: (): Resource<PlayableSpecializationIndexResponse> => {\n return {\n path: `${base}/playable-specialization/index`,\n namespace: 'static',\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 */\n playableSpecializationMedia: (specializationId: number): Resource<PlayableSpecializationMediaResponse> => {\n return {\n path: `${mediaBase}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PowerTypeIndexResponse, PowerTypeResponse } from './types';\n\nexport const powerTypeApi = {\n /**\n * Get a power type by ID.\n * @param powerTypeId The power type ID.\n * @returns The power type. See {@link PowerTypeResponse}.\n */\n powerType: (powerTypeId: number): Resource<PowerTypeResponse> => {\n return {\n path: `${base}/power-type/${powerTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a power type index.\n * @returns The power type index. See {@link PowerTypeIndexResponse}.\n */\n powerTypeIndex: (): Resource<PowerTypeIndexResponse> => {\n return {\n path: `${base}/power-type/index`,\n namespace: 'static',\n };\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\nexport const professionApi = {\n /**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\n profession: (professionId: number): Resource<ProfessionResponse> => {\n return {\n path: `${base}/profession/${professionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\n professionIndex: (): Resource<ProfessionIndexResponse> => {\n return {\n path: `${base}/profession/index`,\n namespace: 'static',\n };\n },\n /**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\n professionMedia: (professionId: number): Resource<ProfessionMediaResponse> => {\n return {\n path: `${mediaBase}/profession/${professionId}`,\n namespace: 'static',\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 */\n professionSkillTier: (professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> => {\n return {\n path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\n recipe: (recipeId: number): Resource<RecipeResponse> => {\n return {\n path: `${base}/recipe/${recipeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\n recipeMedia: (recipeId: number): Resource<RecipeMediaResponse> => {\n return {\n path: `${mediaBase}/recipe/${recipeId}`,\n namespace: 'static',\n };\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\nexport const pvpSeasonApi = {\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 */\n pvpLeaderboard: (pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n namespace: 'dynamic',\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 */\n pvpLeaderboardIndex: (pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n namespace: 'dynamic',\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 */\n pvpRewardsIndex: (pvpSeasonId: number): Resource<PvpRewardsIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n namespace: 'dynamic',\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 */\n pvpSeason: (pvpSeasonId: number): Resource<PvpSeasonResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\n pvpSeasonIndex: (): Resource<PvpSeasonIndexResponse> => {\n return {\n path: `${base}/pvp-season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\nexport const pvpTierApi = {\n /**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\n pvpTier: (pvpTierId: number): Resource<PvpTierResponse> => {\n return {\n path: `${base}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\n pvpTierIndex: (): Resource<PvpTierIndexResponse> => {\n return {\n path: `${base}/pvp-tier/index`,\n namespace: 'static',\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 */\n pvpTierMedia: (pvpTierId: number): Resource<PvpTierMediaResponse> => {\n return {\n path: `${mediaBase}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\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\nexport const questApi = {\n /**\n * Get a quest by ID.\n * @param questId The quest ID.\n * @returns The quest. See {@link QuestResponse}.\n */\n quest: (questId: number): Resource<QuestResponse> => {\n return {\n path: `${base}/quest/${questId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest index.\n * @returns The quest index. See {@link QuestIndexResponse}.\n */\n questIndex: (): Resource<QuestIndexResponse> => {\n return {\n path: `${base}/quest/index`,\n namespace: 'static',\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 */\n questArea: (questAreaId: number): Resource<QuestAreaResponse> => {\n return {\n path: `${base}/quest/area/${questAreaId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest area index.\n * @returns The quest area index. See {@link QuestAreaIndexResponse}.\n */\n questAreaIndex: (): Resource<QuestAreaIndexResponse> => {\n return {\n path: `${base}/quest/area/index`,\n namespace: 'static',\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 */\n questCategory: (questCategoryId: number): Resource<QuestCategoryResponse> => {\n return {\n path: `${base}/quest/category/${questCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest category index.\n * @returns The quest category index. See {@link QuestCategoryIndexResponse}.\n */\n questCategoryIndex: (): Resource<QuestCategoryIndexResponse> => {\n return {\n path: `${base}/quest/category/index`,\n namespace: 'static',\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 */\n questType: (questTypeId: number): Resource<QuestTypeResponse> => {\n return {\n path: `${base}/quest/type/${questTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest type index.\n * @returns The quest type index. See {@link QuestTypeIndexResponse}.\n */\n questTypeIndex: (): Resource<QuestTypeIndexResponse> => {\n return {\n path: `${base}/quest/type/index`,\n namespace: 'static',\n };\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\nexport const realmApi = {\n /**\n * Get a realm by slug.\n * @param realmSlug The realm slug.\n * @returns The realm. See {@link RealmResponse}.\n */\n realm: (realmSlug: string): Resource<RealmResponse> => {\n return {\n path: `${base}/realm/${realmSlug}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a realm index.\n * @returns The realm index. See {@link RealmIndexResponse}.\n */\n realmIndex: (): Resource<RealmIndexResponse> => {\n return {\n path: `${base}/realm/index`,\n namespace: 'dynamic',\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 */\n 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};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { RegionIndexResponse, RegionResponse } from './types';\n\nexport const regionApi = {\n /**\n * Get a region by ID.\n * @param regionId The region ID.\n * @returns The region. See {@link RegionResponse}.\n */\n region: (regionId: number): Resource<RegionResponse> => {\n return {\n path: `${base}/region/${regionId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a region index.\n * @returns The region index. See {@link RegionIndexResponse}.\n */\n regionIndex: (): Resource<RegionIndexResponse> => {\n return {\n path: `${base}/region/index`,\n namespace: 'dynamic',\n };\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\nexport const reputationApi = {\n /**\n * Get a reputation faction by ID.\n * @param reputationFactionId The reputation faction ID.\n * @returns The reputation faction. See {@link ReputationFactionResponse}.\n */\n reputationFaction: (reputationFactionId: number): Resource<ReputationFactionResponse> => {\n return {\n path: `${base}/reputation-faction/${reputationFactionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation faction index.\n * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.\n */\n reputationFactionIndex: (): Resource<ReputationFactionIndexResponse> => {\n return {\n path: `${base}/reputation-faction/index`,\n namespace: 'static',\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 */\n reputationTiers: (reputationTiersId: number): Resource<ReputationTiersResponse> => {\n return {\n path: `${base}/reputation-tiers/${reputationTiersId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation tier index.\n * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.\n */\n reputationTiersIndex: (): Resource<ReputationTiersIndexResponse> => {\n return {\n path: `${base}/reputation-tiers/index`,\n namespace: 'static',\n };\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\nexport const spellApi = {\n /**\n * Get a spell by ID.\n * @param spellId The spell ID.\n * @returns The spell. See {@link SpellResponse}.\n */\n spell: (spellId: number): Resource<SpellResponse> => {\n return {\n path: `${base}/spell/${spellId}`,\n namespace: 'static',\n };\n },\n /**\n * Get spell media by ID.\n * @param spellId The spell ID.\n * @returns The spell media. See {@link SpellMediaResponse}.\n */\n spellMedia: (spellId: number): Resource<SpellMediaResponse> => {\n return {\n path: `${mediaBase}/spell/${spellId}`,\n namespace: 'static',\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 */\n spellSearch: (\n options: SpellSearchParameters,\n ): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/spell`,\n };\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\nexport const talentApi = {\n /**\n * Get a PvP talent by ID.\n * @param pvpTalentId The PvP talent ID.\n * @returns The PvP talent. See {@link PvpTalentResponse}.\n */\n pvpTalent: (pvpTalentId: number): Resource<PvpTalentResponse> => {\n return {\n path: `${base}/pvp-talent/${pvpTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP talent index.\n * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.\n */\n pvpTalentIndex: (): Resource<PvpTalentIndexResponse> => {\n return {\n path: `${base}/pvp-talent/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent by ID.\n * @param talentId The talent ID.\n * @returns The talent. See {@link TalentResponse}.\n */\n talent: (talentId: number): Resource<TalentResponse> => {\n return {\n path: `${base}/talent/${talentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent index.\n * @returns The talent index. See {@link TalentIndexResponse}.\n */\n talentIndex: (): Resource<TalentIndexResponse> => {\n return {\n path: `${base}/talent/index`,\n namespace: 'static',\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 */\n talentTree: (talentTreeId: number, specId: number): Resource<TalentTreeResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent tree index.\n * @returns The talent tree index. See {@link TalentTreeIndexResponse}.\n */\n talentTreeIndex: (): Resource<TalentTreeIndexResponse> => {\n return {\n path: `${base}/talent-tree/index`,\n namespace: 'static',\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 */\n talentTreeNodes: (talentTreeId: number): Resource<TalentTreeNodesResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}`,\n namespace: 'static',\n };\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\nexport const techTalentApi = {\n /**\n * Get a tech talent by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent. See {@link TechTalentResponse}.\n */\n techTalent: (techTalentId: number): Resource<TechTalentResponse> => {\n return {\n path: `${base}/tech-talent/${techTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent index.\n * @returns The tech talent index. See {@link TechTalentIndexResponse}.\n */\n techTalentIndex: (): Resource<TechTalentIndexResponse> => {\n return {\n path: `${base}/tech-talent/index`,\n namespace: 'static',\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 */\n techTalentMedia: (techTalentId: number): Resource<TechTalentMediaResponse> => {\n return {\n path: `${mediaBase}/tech-talent/${techTalentId}`,\n namespace: 'static',\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 */\n techTalentTree: (techTalentTreeId: number): Resource<TechTalentTreeResponse> => {\n return {\n path: `${base}/tech-talent-tree/${techTalentTreeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent tree index.\n * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.\n */\n techTalentTreeIndex: (): Resource<TechTalentTreeIndexResponse> => {\n return {\n path: `${base}/tech-talent-tree/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\nexport const titleApi = {\n /**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\n title: (titleId: number): Resource<TitleResponse> => {\n return {\n path: `${base}/title/${titleId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\n titleIndex: (): Resource<TitleIndexResponse> => {\n return {\n path: `${base}/title/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { ToyIndexResponse, ToyResponse } from './types';\n\nexport const toyApi = {\n /**\n * Get a toy by ID.\n * @param toyId The toy ID.\n * @returns The toy. See {@link ToyResponse}.\n */\n toy: (toyId: number): Resource<ToyResponse> => {\n return {\n path: `${base}/toy/${toyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a toy index.\n * @returns The toy index. See {@link ToyIndexResponse}.\n */\n toyIndex: (): Resource<ToyIndexResponse> => {\n return {\n path: `${base}/toy/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { WowTokenResponse } from './types';\n\nexport const wowTokenApi = {\n /**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\n wowToken: (): Resource<WowTokenResponse> => {\n return {\n path: `${base}/token/index`,\n namespace: 'dynamic',\n };\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACSO,IAAM,OAAO;AAKb,IAAM,YAAY,GAAG,IAAI;AAKzB,IAAM,aAAa,GAAG,IAAI;;;ACTjC,IAAM,kBAAkB,GAAG,IAAI;AAC/B,IAAM,0BAA0B,GAAG,IAAI;AAEhC,IAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,qBAAqB,CAAC,0BAAyE;AAC7F,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB,IAAI,qBAAqB;AAAA,MACzD,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,0BAA0B,MAAkD;AAC1E,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB;AAAA,MAChC,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAa,CAAC,kBAAyD;AACrE,WAAO;AAAA,MACL,MAAM,GAAG,eAAe,IAAI,aAAa;AAAA,MACzC,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,kBAAkB,MAA0C;AAC1D,WAAO;AAAA,MACL,MAAM,GAAG,eAAe;AAAA,MACxB,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAkB,CAAC,kBAA8D;AAC/E,WAAO,EAAE,MAAM,GAAG,SAAS,gBAAgB,aAAa,IAAI,WAAW,SAAS;AAAA,EAClF;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AG;AACL;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/base.ts","../src/achievements/achievements.ts","../src/auction-house/auction-house.ts","../src/azerite-essence/azerite-essence.ts","../src/connected-realm/connected-realm.ts","../src/covenant/covenant.ts","../src/creature/creature.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"],"sourcesContent":["import { achievementApi } from './achievements/achievements';\r\nimport { auctionHouseApi } from './auction-house/auction-house';\r\nimport { azeriteEssenceApi } from './azerite-essence/azerite-essence';\r\nimport { connectedRealmApi } from './connected-realm/connected-realm';\r\nimport { covenantApi } from './covenant/covenant';\r\nimport { creatureApi } from './creature/creature';\r\nimport { guildCrestApi } from './guild-crest/guild-crest';\r\nimport { heirloomApi } from './heirloom/heirloom';\r\nimport { itemApi } from './item/item';\r\nimport { journalApi } from './journal/journal';\r\nimport { mediaSearchApi } from './media-search/media-search';\r\nimport { modifiedCraftingApi } from './modified-crafting/modified-crafting';\r\nimport { mountApi } from './mount/mount';\r\nimport { mythicKeystoneAffixApi } from './mythic-keystone-affix/mythic-keystone-affix';\r\nimport { mythicKeystoneDungeonApi } from './mythic-keystone-dungeon/mythic-keystone-dungeon';\r\nimport { mythicKeystoneLeaderboardApi } from './mythic-keystone-leaderboard/mythic-keystone-leaderboard';\r\nimport { mythicRaidLeaderboardApi } from './mythic-raid-leaderboard/mythic-raid-leaderboard';\r\nimport { petApi } from './pet/pet';\r\nimport { playableClassApi } from './playable-class/playable-class';\r\nimport { playableRaceApi } from './playable-race/playable-race';\r\nimport { playableSpecializationApi } from './playable-specialization/playable-specialization';\r\nimport { powerTypeApi } from './power-type/power-type';\r\nimport { professionApi } from './profession/profession';\r\nimport { pvpSeasonApi } from './pvp-season/pvp-season';\r\nimport { pvpTierApi } from './pvp-tier/pvp-tier';\r\nimport { questApi } from './quest/quest';\r\nimport { realmApi } from './realm/realm';\r\nimport { regionApi } from './region/region';\r\nimport { reputationApi } from './reputations/reputations';\r\nimport { spellApi } from './spell/spell';\r\nimport { talentApi } from './talent/talent';\r\nimport { techTalentApi } from './tech-talent/tech-talent';\r\nimport { titleApi } from './title/title';\r\nimport { toyApi } from './toy/toy';\r\nimport { wowTokenApi } 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\nexport const wow = {\r\n ...achievementApi,\r\n ...auctionHouseApi,\r\n ...azeriteEssenceApi,\r\n ...connectedRealmApi,\r\n ...covenantApi,\r\n ...creatureApi,\r\n ...guildCrestApi,\r\n ...heirloomApi,\r\n ...itemApi,\r\n ...journalApi,\r\n ...mediaSearchApi,\r\n ...modifiedCraftingApi,\r\n ...mountApi,\r\n ...mythicKeystoneAffixApi,\r\n ...mythicKeystoneDungeonApi,\r\n ...mythicKeystoneLeaderboardApi,\r\n ...mythicRaidLeaderboardApi,\r\n ...petApi,\r\n ...playableClassApi,\r\n ...playableRaceApi,\r\n ...playableSpecializationApi,\r\n ...powerTypeApi,\r\n ...professionApi,\r\n ...pvpSeasonApi,\r\n ...pvpTierApi,\r\n ...questApi,\r\n ...realmApi,\r\n ...regionApi,\r\n ...reputationApi,\r\n ...spellApi,\r\n ...talentApi,\r\n ...techTalentApi,\r\n ...titleApi,\r\n ...toyApi,\r\n ...wowTokenApi,\r\n};\r\n\r\n//Achievements\r\nexport * from './achievements/types.js';\r\n//Auction House\r\nexport * from './auction-house/types.js';\r\n//Azerite Essence\r\nexport * from './azerite-essence/types.js';\r\n//Connected Realm\r\nexport * from './connected-realm/types.js';\r\n//Covenant\r\nexport * from './covenant/types.js';\r\n//Creature\r\nexport * from './creature/types.js';\r\n//Guild Crest\r\nexport * from './guild-crest/types.js';\r\n//Heirloom\r\nexport * from './heirloom/types.js';\r\n//Item\r\nexport * from './item/types.js';\r\n//Journal\r\nexport * from './journal/types.js';\r\n//Media Search\r\nexport * from './media-search/types.js';\r\n//Modified Crafting\r\nexport * from './modified-crafting/types.js';\r\n//Mount\r\nexport * from './mount/types.js';\r\n//Mythic Keystone Affix\r\nexport * from './mythic-keystone-affix/types.js';\r\n//Mythic Keystone Dungeon\r\nexport * from './mythic-keystone-dungeon/types.js';\r\n//Mythic Keystone Leaderboard\r\nexport * from './mythic-keystone-leaderboard/types.js';\r\n//Mythic Raid Leaderboard\r\nexport * from './mythic-raid-leaderboard/types.js';\r\n//Pet\r\nexport * from './pet/types.js';\r\n//Playable Class\r\nexport * from './playable-class/types.js';\r\n//Playable Race\r\nexport * from './playable-race/types.js';\r\n//Playable Specialization\r\nexport * from './playable-specialization/types.js';\r\n//Power Type\r\nexport * from './power-type/types.js';\r\n//Profession\r\nexport * from './profession/types.js';\r\n//Pvp Season\r\nexport * from './pvp-season/types.js';\r\n//Pvp Tier\r\nexport * from './pvp-tier/types.js';\r\n//Quest\r\nexport * from './quest/types.js';\r\n//Realm\r\nexport * from './realm/types.js';\r\n//Region\r\nexport * from './region/types.js';\r\n//Reputations\r\nexport * from './reputations/types.js';\r\n//Spell\r\nexport * from './spell/types.js';\r\n//Talent\r\nexport * from './talent/types.js';\r\n//Tech Talent\r\nexport * from './tech-talent/types.js';\r\n//Title\r\nexport * from './title/types.js';\r\n//Toy\r\nexport * from './toy/types.js';\r\n//WoW Token\r\nexport * from './wow-token/types.js';\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 * Base interface for Blizzard API responses.\r\n */\r\nexport interface ResponseBase {\r\n _links: {\r\n self: {\r\n href: string;\r\n };\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: {\r\n href: string;\r\n };\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 name: string;\r\n id: number;\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 r: number;\r\n g: number;\r\n b: number;\r\n a: 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 key: string;\r\n value: string;\r\n file_data_id: number;\r\n}\r\n\r\n/**\r\n * The playable genders in World of Warcraft.\r\n */\r\nexport interface Gender {\r\n male: string;\r\n female: string;\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 type: keyof typeof Factions;\r\n name: Capitalize<Lowercase<keyof typeof Factions>>;\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\nexport const achievementApi = {\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\n achievementCategory: (achievementCategoryId: number): Resource<AchievementCategoryResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\r\n namespace: 'static',\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\n achievementCategoryIndex: (): Resource<AchievementCategoryIndexResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/index`,\r\n namespace: 'static',\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\n achievement: (achievementId: number): Resource<AchievementResponse> => {\r\n return {\r\n path: `${achievementBase}/${achievementId}`,\r\n namespace: 'static',\r\n };\r\n },\r\n /**\r\n * Get an achievement index.\r\n * @returns The achievement index. See {@link AchievementIndexResponse}.\r\n */\r\n achievementIndex: (): Resource<AchievementIndexResponse> => {\r\n return {\r\n path: `${achievementBase}/index`,\r\n namespace: 'static',\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\n achievementMedia: (achievementId: number): Resource<AchievementMediaResponse> => {\r\n return { path: `${mediaBase}/achievement/${achievementId}`, namespace: 'static' };\r\n },\r\n};\r\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\nexport const auctionHouseApi = {\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 */\n auctions: (connectedRealmId: number): Resource<AuctionHouseResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/auctions`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\n commodities: (): Resource<AuctionHouseCommoditiesResponse> => {\n return {\n path: `${base}/auctions/commodities`,\n namespace: 'dynamic',\n };\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\nexport const azeriteEssenceApi = {\n /**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\n azeriteEssence: (azeriteEssenceId: number): Resource<AzeriteEssenceResponse> => {\n return {\n path: `${base}/azerite-essence/${azeriteEssenceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\n azeriteEssenceIndex: (): Resource<AzeriteEssenceIndexResponse> => {\n return {\n path: `${base}/azerite-essence/index`,\n namespace: 'static',\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 */\n azeriteEssenceMedia: (azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> => {\n return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}`, namespace: 'static' };\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 */\n azeriteEssenceSearch: (\n options: AzeriteEssenceSearchParameters,\n ): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, AzeriteEssenceSearchParameters> => {\n return {\n path: `${searchBase}/azerite-essence`,\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 };\n },\n};\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\nexport const connectedRealmApi = {\n /**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\n connectedRealmIndex: (): Resource<ConnectedRealmIndexResponse> => {\n return {\n path: `${base}/connected-realm/index`,\n namespace: 'dynamic',\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 */\n connectedRealm: (connectedRealmId: number): Resource<ConnectedRealmResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}`,\n namespace: 'dynamic',\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 */\n 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 'status.type': options['status.type'],\n 'realms.timezone': options['realms.timezone'],\n },\n path: `${base}/search/connected-realm`,\n };\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\nexport const covenantApi = {\n /**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\n conduit: (conduitId: number): Resource<ConduitResponse> => {\n return {\n path: `${base}/covenant/conduit/${conduitId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\n conduitIndex: (): Resource<ConduitIndexResponse> => {\n return {\n path: `${base}/covenant/conduit/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\n covenant: (covenantId: number): Resource<CovenantResponse> => {\n return {\n path: `${base}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\n covenantIndex: (): Resource<CovenantIndexResponse> => {\n return {\n path: `${base}/covenant/index`,\n namespace: 'static',\n };\n },\n /**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\n covenantMedia: (covenantId: number): Resource<CovenantMediaResponse> => {\n return {\n path: `${mediaBase}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\n soulbind: (soulbindId: number): Resource<SoulbindResponse> => {\n return {\n path: `${base}/covenant/soulbind/${soulbindId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\n soulbindIndex: (): Resource<SoulbindIndexResponse> => {\n return {\n path: `${base}/covenant/soulbind/index`,\n namespace: 'static',\n };\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\nexport const creatureApi = {\n /**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\n creature: (creatureId: number): Resource<CreatureResponse> => {\n return {\n path: `${base}/creature/${creatureId}`,\n namespace: 'static',\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 */\n creatureDisplayMedia: (creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> => {\n return {\n path: `${mediaBase}/creature-display/${creatureDisplayId}`,\n namespace: 'static',\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 */\n creatureFamily: (creatureFamilyId: number): Resource<CreatureFamilyResponse> => {\n return {\n path: `${base}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\n creatureFamilyIndex: (): Resource<CreatureFamilyIndexResponse> => {\n return {\n path: `${base}/creature-family/index`,\n namespace: 'static',\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 */\n creatureFamilyMedia: (creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> => {\n return {\n path: `${mediaBase}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\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 */\n creatureType: (creatureTypeId: number): Resource<CreatureTypeResponse> => {\n return {\n path: `${base}/creature-type/${creatureTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\n creatureTypeIndex: (): Resource<CreatureTypeIndexResponse> => {\n return {\n path: `${base}/creature-type/index`,\n namespace: 'static',\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 */\n creatureSearch: (\n options: CreatureSearchParameters,\n ): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/creature`,\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\n\nexport const guildCrestApi = {\n /**\n * Get the guild crest components index.\n * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.\n */\n guildCrestComponentsIndex: (): Resource<GuildCrestComponentsIndexResponse> => {\n return {\n path: `${base}/guild-crest/index`,\n namespace: 'static',\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 */\n guildCrestBorder: (borderId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/border/${borderId}`,\n namespace: 'static',\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 */\n guildCrestEmblem: (emblemId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/emblem/${emblemId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { HeirloomIndexResponse, HeirloomResponse } from './types';\n\nexport const heirloomApi = {\n /**\n * Get a heirloom by ID.\n * @param heirloomId The heirloom ID.\n * @returns The heirloom. See {@link HeirloomResponse}.\n */\n heirloom: (heirloomId: number): Resource<HeirloomResponse> => {\n return {\n path: `${base}/heirloom/${heirloomId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the heirloom index.\n * @returns The heirloom index. See {@link HeirloomIndexResponse}.\n */\n heirloomIndex: (): Resource<HeirloomIndexResponse> => {\n return {\n path: `${base}/heirloom/index`,\n namespace: 'static',\n };\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\nexport const itemApi = {\n /**\n * Get an item by ID.\n * @param itemId The item ID.\n * @returns The item. See {@link ItemResponse}.\n */\n item: (itemId: number): Resource<ItemResponse> => {\n return {\n path: `${base}/item/${itemId}`,\n namespace: 'static',\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 */\n itemClass: (itemClassId: number): Resource<ItemClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}`,\n namespace: 'static',\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 */\n itemSubClass: (itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item class index.\n * @returns The item class index. See {@link ItemClassIndexResponse}.\n */\n itemClassIndex: (): Resource<ItemClassIndexResponse> => {\n return {\n path: `${base}/item-class/index`,\n namespace: 'static',\n };\n },\n /**\n * Get item media by ID.\n * @param itemId The item ID.\n * @returns The item media. See {@link ItemMediaResponse}.\n */\n itemMedia: (itemId: number): Resource<ItemMediaResponse> => {\n return {\n path: `${mediaBase}/item/${itemId}`,\n namespace: 'static',\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 */\n itemSet: (itemSetId: number): Resource<ItemSetResponse> => {\n return {\n path: `${base}/item-set/${itemSetId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item set index.\n * @returns The item set index. See {@link ItemSetIndexResponse}.\n */\n itemSetIndex: (): Resource<ItemSetIndexResponse> => {\n return {\n path: `${base}/item-set/index`,\n namespace: 'static',\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 */\n itemSearch: (\n options: ItemSearchParameters,\n ): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/item`,\n };\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\nexport const journalApi = {\n /**\n * Get a journal encounter by ID.\n * @param journalEncounterId The journal encounter ID.\n * @returns The journal encounter. See {@link JournalEncounterResponse}.\n */\n journalEncounter: (journalEncounterId: number): Resource<JournalEncounterResponse> => {\n return {\n path: `${base}/journal-encounter/${journalEncounterId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal encounter index.\n * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.\n */\n journalEncounterIndex: (): Resource<JournalEncounterIndexResponse> => {\n return {\n path: `${base}/journal-encounter/index`,\n namespace: 'static',\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 */\n 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 orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`instance.name.${options.locale}`]: options.instanceName,\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 */\n journalExpansion: (journalExpansionId: number): Resource<JournalExpansionResponse> => {\n return {\n path: `${base}/journal-expansion/${journalExpansionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal expansion index.\n * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.\n */\n journalExpansionIndex: (): Resource<JournalExpansionIndexResponse> => {\n return {\n path: `${base}/journal-expansion/index`,\n namespace: 'static',\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 */\n journalInstance: (journalInstanceId: number): Resource<JournalInstanceResponse> => {\n return {\n path: `${base}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal instance index.\n * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.\n */\n journalInstanceIndex: (): Resource<JournalInstanceIndexResponse> => {\n return {\n path: `${base}/journal-instance/index`,\n namespace: 'static',\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 */\n journalInstanceMedia: (journalInstanceId: number): Resource<JournalInstanceMediaResponse> => {\n return {\n path: `${mediaBase}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { searchBase } from '../base';\nimport type { MediaSearchParameters, MediaSearchResponseItem } from './types';\n\nexport const mediaSearchApi = {\n /**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\n 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};\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\nexport const modifiedCraftingApi = {\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 */\n modifiedCraftingCategory: (modifiedCraftingCategoryId: number): Resource<ModifiedCraftingCategoryResponse> => {\n return {\n path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting category index.\n * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.\n */\n modifiedCraftingCategoryIndex: (): Resource<ModifiedCraftingCategoryIndexResponse> => {\n return {\n path: `${base}/modified-crafting/category/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting index.\n * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.\n */\n modifiedCraftingIndex: (): Resource<ModifiedCraftingIndexResponse> => {\n return {\n path: `${base}/modified-crafting/index`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotType: (\n modifiedCraftingReagentSlotTypeId: number,\n ): Resource<ModifiedCraftingReagentSlotTypeResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotTypeIndex: (): Resource<ModifiedCraftingReagentSlotTypeIndexResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/index`,\n namespace: 'static',\n };\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\nexport const mountApi = {\n /**\n * Get a mount by ID.\n * @param mountId The mount ID.\n * @returns The mount. See {@link MountResponse}.\n */\n mount: (mountId: number): Resource<MountResponse> => {\n return {\n path: `${base}/mount/${mountId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a mount index.\n * @returns The mount index. See {@link MountIndexResponse}.\n */\n mountIndex: (): Resource<MountIndexResponse> => {\n return {\n path: `${base}/mount/index`,\n namespace: 'static',\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 */\n mountSearch: (\n options: MountSearchParameters,\n ): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/mount`,\n };\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\nexport const mythicKeystoneAffixApi = {\n /**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\n mythicKeystoneAffix: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> => {\n return {\n path: `${base}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\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 */\n mythicKeystoneAffixIndex: (): Resource<MythicKeystoneAffixIndexResponse> => {\n return {\n path: `${base}/keystone-affix/index`,\n namespace: 'static',\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 */\n mythicKeystoneAffixMedia: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> => {\n return {\n path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\n };\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\nexport const mythicKeystoneDungeonApi = {\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 */\n mythicKeystoneDungeon: (mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone dungeon index.\n * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.\n */\n mythicKeystoneDungeonIndex: (): Resource<MythicKeystoneDungeonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/index`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone index.\n * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.\n */\n mythicKeystoneIndex: (): Resource<MythicKeystoneIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/index`,\n namespace: 'dynamic',\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 */\n mythicKeystonePeriod: (mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse> => {\n return {\n path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone period index.\n * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.\n */\n mythicKeystonePeriodIndex: (): Resource<MythicKeystonePeriodIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/period/index`,\n namespace: 'dynamic',\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 */\n mythicKeystoneSeason: (mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse> => {\n return {\n path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone season index.\n * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.\n */\n mythicKeystoneSeasonIndex: (): Resource<MythicKeystoneSeasonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\nexport const mythicKeystoneLeaderboardApi = {\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 */\n mythicKeystoneLeaderboard: (\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n ): Resource<MythicKeystoneLeaderboardResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n namespace: 'dynamic',\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 */\n mythicKeystoneLeaderboardIndex: (connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n namespace: 'dynamic',\n };\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\nexport const mythicRaidLeaderboardApi = {\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 */\n mythicRaidLeaderboard: (\n raid: string,\n faction: Lowercase<keyof typeof Factions>,\n ): Resource<MythicRaidLeaderboardResponse> => {\n return {\n path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,\n namespace: 'dynamic',\n };\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\nexport const petApi = {\n /**\n * Get a pet by ID.\n * @param petId The pet ID.\n * @returns The pet. See {@link PetResponse}.\n */\n pet: (petId: number): Resource<PetResponse> => {\n return {\n path: `${base}/pet/${petId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet index.\n * @returns The pet index. See {@link PetIndexResponse}.\n */\n petIndex: (): Resource<PetIndexResponse> => {\n return {\n path: `${base}/pet/index`,\n namespace: 'static',\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 */\n petMedia: (petId: number): Resource<PetMediaResponse> => {\n return {\n path: `${mediaBase}/pet/${petId}`,\n namespace: 'static',\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 */\n petAbility: (petAbilityId: number): Resource<PetAbilityResponse> => {\n return {\n path: `${base}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet ability index.\n * @returns The pet ability index. See {@link PetAbilityIndexResponse}.\n */\n petAbilityIndex: (): Resource<PetAbilityIndexResponse> => {\n return {\n path: `${base}/pet-ability/index`,\n namespace: 'static',\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 */\n petAbilityMedia: (petAbilityId: number): Resource<PetAbilityMediaResponse> => {\n return {\n path: `${mediaBase}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\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\nexport const playableClassApi = {\n /**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\n playableClass: (playableClassId: number): Resource<PlayableClassResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\n playableClassIndex: (): Resource<PlayableClassIndexResponse> => {\n return {\n path: `${base}/playable-class/index`,\n namespace: 'static',\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 */\n playableClassMedia: (playableClassId: number): Resource<PlayableClassMediaResponse> => {\n return {\n path: `${mediaBase}/playable-class/${playableClassId}`,\n namespace: 'static',\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 */\n pvpTalentSlots: (playableClassId: number): Resource<PvpTalentSlotsResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\nexport const playableRaceApi = {\n /**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\n playableRace: (playableRaceId: number): Resource<PlayableRaceResponse> => {\n return {\n path: `${base}/playable-race/${playableRaceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\n playableRaceIndex: (): Resource<PlayableRaceIndexResponse> => {\n return {\n path: `${base}/playable-race/index`,\n namespace: 'static',\n };\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\nexport const playableSpecializationApi = {\n /**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\n playableSpecialization: (specializationId: number): Resource<PlayableSpecializationResponse> => {\n return {\n path: `${base}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\n playableSpecializationIndex: (): Resource<PlayableSpecializationIndexResponse> => {\n return {\n path: `${base}/playable-specialization/index`,\n namespace: 'static',\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 */\n playableSpecializationMedia: (specializationId: number): Resource<PlayableSpecializationMediaResponse> => {\n return {\n path: `${mediaBase}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PowerTypeIndexResponse, PowerTypeResponse } from './types';\n\nexport const powerTypeApi = {\n /**\n * Get a power type by ID.\n * @param powerTypeId The power type ID.\n * @returns The power type. See {@link PowerTypeResponse}.\n */\n powerType: (powerTypeId: number): Resource<PowerTypeResponse> => {\n return {\n path: `${base}/power-type/${powerTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a power type index.\n * @returns The power type index. See {@link PowerTypeIndexResponse}.\n */\n powerTypeIndex: (): Resource<PowerTypeIndexResponse> => {\n return {\n path: `${base}/power-type/index`,\n namespace: 'static',\n };\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\nexport const professionApi = {\n /**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\n profession: (professionId: number): Resource<ProfessionResponse> => {\n return {\n path: `${base}/profession/${professionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\n professionIndex: (): Resource<ProfessionIndexResponse> => {\n return {\n path: `${base}/profession/index`,\n namespace: 'static',\n };\n },\n /**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\n professionMedia: (professionId: number): Resource<ProfessionMediaResponse> => {\n return {\n path: `${mediaBase}/profession/${professionId}`,\n namespace: 'static',\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 */\n professionSkillTier: (professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> => {\n return {\n path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\n recipe: (recipeId: number): Resource<RecipeResponse> => {\n return {\n path: `${base}/recipe/${recipeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\n recipeMedia: (recipeId: number): Resource<RecipeMediaResponse> => {\n return {\n path: `${mediaBase}/recipe/${recipeId}`,\n namespace: 'static',\n };\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\nexport const pvpSeasonApi = {\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 */\n pvpLeaderboard: (pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n namespace: 'dynamic',\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 */\n pvpLeaderboardIndex: (pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n namespace: 'dynamic',\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 */\n pvpRewardsIndex: (pvpSeasonId: number): Resource<PvpRewardsIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n namespace: 'dynamic',\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 */\n pvpSeason: (pvpSeasonId: number): Resource<PvpSeasonResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\n pvpSeasonIndex: (): Resource<PvpSeasonIndexResponse> => {\n return {\n path: `${base}/pvp-season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\nexport const pvpTierApi = {\n /**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\n pvpTier: (pvpTierId: number): Resource<PvpTierResponse> => {\n return {\n path: `${base}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\n pvpTierIndex: (): Resource<PvpTierIndexResponse> => {\n return {\n path: `${base}/pvp-tier/index`,\n namespace: 'static',\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 */\n pvpTierMedia: (pvpTierId: number): Resource<PvpTierMediaResponse> => {\n return {\n path: `${mediaBase}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\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\nexport const questApi = {\n /**\n * Get a quest by ID.\n * @param questId The quest ID.\n * @returns The quest. See {@link QuestResponse}.\n */\n quest: (questId: number): Resource<QuestResponse> => {\n return {\n path: `${base}/quest/${questId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest index.\n * @returns The quest index. See {@link QuestIndexResponse}.\n */\n questIndex: (): Resource<QuestIndexResponse> => {\n return {\n path: `${base}/quest/index`,\n namespace: 'static',\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 */\n questArea: (questAreaId: number): Resource<QuestAreaResponse> => {\n return {\n path: `${base}/quest/area/${questAreaId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest area index.\n * @returns The quest area index. See {@link QuestAreaIndexResponse}.\n */\n questAreaIndex: (): Resource<QuestAreaIndexResponse> => {\n return {\n path: `${base}/quest/area/index`,\n namespace: 'static',\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 */\n questCategory: (questCategoryId: number): Resource<QuestCategoryResponse> => {\n return {\n path: `${base}/quest/category/${questCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest category index.\n * @returns The quest category index. See {@link QuestCategoryIndexResponse}.\n */\n questCategoryIndex: (): Resource<QuestCategoryIndexResponse> => {\n return {\n path: `${base}/quest/category/index`,\n namespace: 'static',\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 */\n questType: (questTypeId: number): Resource<QuestTypeResponse> => {\n return {\n path: `${base}/quest/type/${questTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest type index.\n * @returns The quest type index. See {@link QuestTypeIndexResponse}.\n */\n questTypeIndex: (): Resource<QuestTypeIndexResponse> => {\n return {\n path: `${base}/quest/type/index`,\n namespace: 'static',\n };\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\nexport const realmApi = {\n /**\n * Get a realm by slug.\n * @param realmSlug The realm slug.\n * @returns The realm. See {@link RealmResponse}.\n */\n realm: (realmSlug: string): Resource<RealmResponse> => {\n return {\n path: `${base}/realm/${realmSlug}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a realm index.\n * @returns The realm index. See {@link RealmIndexResponse}.\n */\n realmIndex: (): Resource<RealmIndexResponse> => {\n return {\n path: `${base}/realm/index`,\n namespace: 'dynamic',\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 */\n 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};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { RegionIndexResponse, RegionResponse } from './types';\n\nexport const regionApi = {\n /**\n * Get a region by ID.\n * @param regionId The region ID.\n * @returns The region. See {@link RegionResponse}.\n */\n region: (regionId: number): Resource<RegionResponse> => {\n return {\n path: `${base}/region/${regionId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a region index.\n * @returns The region index. See {@link RegionIndexResponse}.\n */\n regionIndex: (): Resource<RegionIndexResponse> => {\n return {\n path: `${base}/region/index`,\n namespace: 'dynamic',\n };\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\nexport const reputationApi = {\n /**\n * Get a reputation faction by ID.\n * @param reputationFactionId The reputation faction ID.\n * @returns The reputation faction. See {@link ReputationFactionResponse}.\n */\n reputationFaction: (reputationFactionId: number): Resource<ReputationFactionResponse> => {\n return {\n path: `${base}/reputation-faction/${reputationFactionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation faction index.\n * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.\n */\n reputationFactionIndex: (): Resource<ReputationFactionIndexResponse> => {\n return {\n path: `${base}/reputation-faction/index`,\n namespace: 'static',\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 */\n reputationTiers: (reputationTiersId: number): Resource<ReputationTiersResponse> => {\n return {\n path: `${base}/reputation-tiers/${reputationTiersId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation tier index.\n * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.\n */\n reputationTiersIndex: (): Resource<ReputationTiersIndexResponse> => {\n return {\n path: `${base}/reputation-tiers/index`,\n namespace: 'static',\n };\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\nexport const spellApi = {\n /**\n * Get a spell by ID.\n * @param spellId The spell ID.\n * @returns The spell. See {@link SpellResponse}.\n */\n spell: (spellId: number): Resource<SpellResponse> => {\n return {\n path: `${base}/spell/${spellId}`,\n namespace: 'static',\n };\n },\n /**\n * Get spell media by ID.\n * @param spellId The spell ID.\n * @returns The spell media. See {@link SpellMediaResponse}.\n */\n spellMedia: (spellId: number): Resource<SpellMediaResponse> => {\n return {\n path: `${mediaBase}/spell/${spellId}`,\n namespace: 'static',\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 */\n spellSearch: (\n options: SpellSearchParameters,\n ): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/spell`,\n };\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\nexport const talentApi = {\n /**\n * Get a PvP talent by ID.\n * @param pvpTalentId The PvP talent ID.\n * @returns The PvP talent. See {@link PvpTalentResponse}.\n */\n pvpTalent: (pvpTalentId: number): Resource<PvpTalentResponse> => {\n return {\n path: `${base}/pvp-talent/${pvpTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP talent index.\n * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.\n */\n pvpTalentIndex: (): Resource<PvpTalentIndexResponse> => {\n return {\n path: `${base}/pvp-talent/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent by ID.\n * @param talentId The talent ID.\n * @returns The talent. See {@link TalentResponse}.\n */\n talent: (talentId: number): Resource<TalentResponse> => {\n return {\n path: `${base}/talent/${talentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent index.\n * @returns The talent index. See {@link TalentIndexResponse}.\n */\n talentIndex: (): Resource<TalentIndexResponse> => {\n return {\n path: `${base}/talent/index`,\n namespace: 'static',\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 */\n talentTree: (talentTreeId: number, specId: number): Resource<TalentTreeResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent tree index.\n * @returns The talent tree index. See {@link TalentTreeIndexResponse}.\n */\n talentTreeIndex: (): Resource<TalentTreeIndexResponse> => {\n return {\n path: `${base}/talent-tree/index`,\n namespace: 'static',\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 */\n talentTreeNodes: (talentTreeId: number): Resource<TalentTreeNodesResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}`,\n namespace: 'static',\n };\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\nexport const techTalentApi = {\n /**\n * Get a tech talent by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent. See {@link TechTalentResponse}.\n */\n techTalent: (techTalentId: number): Resource<TechTalentResponse> => {\n return {\n path: `${base}/tech-talent/${techTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent index.\n * @returns The tech talent index. See {@link TechTalentIndexResponse}.\n */\n techTalentIndex: (): Resource<TechTalentIndexResponse> => {\n return {\n path: `${base}/tech-talent/index`,\n namespace: 'static',\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 */\n techTalentMedia: (techTalentId: number): Resource<TechTalentMediaResponse> => {\n return {\n path: `${mediaBase}/tech-talent/${techTalentId}`,\n namespace: 'static',\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 */\n techTalentTree: (techTalentTreeId: number): Resource<TechTalentTreeResponse> => {\n return {\n path: `${base}/tech-talent-tree/${techTalentTreeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent tree index.\n * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.\n */\n techTalentTreeIndex: (): Resource<TechTalentTreeIndexResponse> => {\n return {\n path: `${base}/tech-talent-tree/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\nexport const titleApi = {\n /**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\n title: (titleId: number): Resource<TitleResponse> => {\n return {\n path: `${base}/title/${titleId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\n titleIndex: (): Resource<TitleIndexResponse> => {\n return {\n path: `${base}/title/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { ToyIndexResponse, ToyResponse } from './types';\n\nexport const toyApi = {\n /**\n * Get a toy by ID.\n * @param toyId The toy ID.\n * @returns The toy. See {@link ToyResponse}.\n */\n toy: (toyId: number): Resource<ToyResponse> => {\n return {\n path: `${base}/toy/${toyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a toy index.\n * @returns The toy index. See {@link ToyIndexResponse}.\n */\n toyIndex: (): Resource<ToyIndexResponse> => {\n return {\n path: `${base}/toy/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { WowTokenResponse } from './types';\n\nexport const wowTokenApi = {\n /**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\n wowToken: (): Resource<WowTokenResponse> => {\n return {\n path: `${base}/token/index`,\n namespace: 'dynamic',\n };\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACSO,IAAM,OAAO;AAKb,IAAM,YAAY,GAAG,IAAI;AAKzB,IAAM,aAAa,GAAG,IAAI;;;ACTjC,IAAM,kBAAkB,GAAG,IAAI;AAC/B,IAAM,0BAA0B,GAAG,IAAI;AAEhC,IAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,qBAAqB,CAAC,0BAAyE;AAC7F,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB,IAAI,qBAAqB;AAAA,MACzD,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,0BAA0B,MAAkD;AAC1E,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB;AAAA,MAChC,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAa,CAAC,kBAAyD;AACrE,WAAO;AAAA,MACL,MAAM,GAAG,eAAe,IAAI,aAAa;AAAA,MACzC,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,kBAAkB,MAA0C;AAC1D,WAAO;AAAA,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EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;","names":[]}
|
package/dist/index.d.cts
CHANGED
|
@@ -945,6 +945,7 @@ interface ItemSubClassResponse extends ResponseBase {
|
|
|
945
945
|
subclass_id: number;
|
|
946
946
|
display_name: string;
|
|
947
947
|
verbose_name: string;
|
|
948
|
+
hide_subclass_in_tooltips: boolean;
|
|
948
949
|
}
|
|
949
950
|
/**
|
|
950
951
|
* The response for an item set index.
|
|
@@ -1846,7 +1847,7 @@ interface PvpSeasonResponse extends ResponseBase {
|
|
|
1846
1847
|
href: string;
|
|
1847
1848
|
};
|
|
1848
1849
|
season_start_timestamp: number;
|
|
1849
|
-
season_name
|
|
1850
|
+
season_name?: string;
|
|
1850
1851
|
}
|
|
1851
1852
|
|
|
1852
1853
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -945,6 +945,7 @@ interface ItemSubClassResponse extends ResponseBase {
|
|
|
945
945
|
subclass_id: number;
|
|
946
946
|
display_name: string;
|
|
947
947
|
verbose_name: string;
|
|
948
|
+
hide_subclass_in_tooltips: boolean;
|
|
948
949
|
}
|
|
949
950
|
/**
|
|
950
951
|
* The response for an item set index.
|
|
@@ -1846,7 +1847,7 @@ interface PvpSeasonResponse extends ResponseBase {
|
|
|
1846
1847
|
href: string;
|
|
1847
1848
|
};
|
|
1848
1849
|
season_start_timestamp: number;
|
|
1849
|
-
season_name
|
|
1850
|
+
season_name?: string;
|
|
1850
1851
|
}
|
|
1851
1852
|
|
|
1852
1853
|
/**
|
package/dist/index.js
CHANGED
|
@@ -333,7 +333,7 @@ var creatureApi = {
|
|
|
333
333
|
/**
|
|
334
334
|
* Search for creatures.
|
|
335
335
|
* @param options The creature search parameters. See {@link CreatureSearchParameters}.
|
|
336
|
-
* @returns The creature search results. See {@link SearchResponse}.
|
|
336
|
+
* @returns The creature search results. See {@link SearchResponse} & {@link CreatureSearchResponseItem}.
|
|
337
337
|
*/
|
|
338
338
|
creatureSearch: (options) => {
|
|
339
339
|
return {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/base.ts","../src/achievements/achievements.ts","../src/auction-house/auction-house.ts","../src/azerite-essence/azerite-essence.ts","../src/connected-realm/connected-realm.ts","../src/covenant/covenant.ts","../src/creature/creature.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"],"sourcesContent":["/**\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 * Base interface for Blizzard API responses.\r\n */\r\nexport interface ResponseBase {\r\n _links: {\r\n self: {\r\n href: string;\r\n };\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: {\r\n href: string;\r\n };\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 name: string;\r\n id: number;\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 r: number;\r\n g: number;\r\n b: number;\r\n a: 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 key: string;\r\n value: string;\r\n file_data_id: number;\r\n}\r\n\r\n/**\r\n * The playable genders in World of Warcraft.\r\n */\r\nexport interface Gender {\r\n male: string;\r\n female: string;\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 type: keyof typeof Factions;\r\n name: Capitalize<Lowercase<keyof typeof Factions>>;\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\nexport const achievementApi = {\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\n achievementCategory: (achievementCategoryId: number): Resource<AchievementCategoryResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\r\n namespace: 'static',\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\n achievementCategoryIndex: (): Resource<AchievementCategoryIndexResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/index`,\r\n namespace: 'static',\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\n achievement: (achievementId: number): Resource<AchievementResponse> => {\r\n return {\r\n path: `${achievementBase}/${achievementId}`,\r\n namespace: 'static',\r\n };\r\n },\r\n /**\r\n * Get an achievement index.\r\n * @returns The achievement index. See {@link AchievementIndexResponse}.\r\n */\r\n achievementIndex: (): Resource<AchievementIndexResponse> => {\r\n return {\r\n path: `${achievementBase}/index`,\r\n namespace: 'static',\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\n achievementMedia: (achievementId: number): Resource<AchievementMediaResponse> => {\r\n return { path: `${mediaBase}/achievement/${achievementId}`, namespace: 'static' };\r\n },\r\n};\r\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\nexport const auctionHouseApi = {\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 */\n auctions: (connectedRealmId: number): Resource<AuctionHouseResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/auctions`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\n commodities: (): Resource<AuctionHouseCommoditiesResponse> => {\n return {\n path: `${base}/auctions/commodities`,\n namespace: 'dynamic',\n };\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\nexport const azeriteEssenceApi = {\n /**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\n azeriteEssence: (azeriteEssenceId: number): Resource<AzeriteEssenceResponse> => {\n return {\n path: `${base}/azerite-essence/${azeriteEssenceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\n azeriteEssenceIndex: (): Resource<AzeriteEssenceIndexResponse> => {\n return {\n path: `${base}/azerite-essence/index`,\n namespace: 'static',\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 */\n azeriteEssenceMedia: (azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> => {\n return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}`, namespace: 'static' };\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 */\n azeriteEssenceSearch: (\n options: AzeriteEssenceSearchParameters,\n ): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, AzeriteEssenceSearchParameters> => {\n return {\n path: `${searchBase}/azerite-essence`,\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 };\n },\n};\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\nexport const connectedRealmApi = {\n /**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\n connectedRealmIndex: (): Resource<ConnectedRealmIndexResponse> => {\n return {\n path: `${base}/connected-realm/index`,\n namespace: 'dynamic',\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 */\n connectedRealm: (connectedRealmId: number): Resource<ConnectedRealmResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}`,\n namespace: 'dynamic',\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 */\n 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 'status.type': options['status.type'],\n 'realms.timezone': options['realms.timezone'],\n },\n path: `${base}/search/connected-realm`,\n };\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\nexport const covenantApi = {\n /**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\n conduit: (conduitId: number): Resource<ConduitResponse> => {\n return {\n path: `${base}/covenant/conduit/${conduitId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\n conduitIndex: (): Resource<ConduitIndexResponse> => {\n return {\n path: `${base}/covenant/conduit/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\n covenant: (covenantId: number): Resource<CovenantResponse> => {\n return {\n path: `${base}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\n covenantIndex: (): Resource<CovenantIndexResponse> => {\n return {\n path: `${base}/covenant/index`,\n namespace: 'static',\n };\n },\n /**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\n covenantMedia: (covenantId: number): Resource<CovenantMediaResponse> => {\n return {\n path: `${mediaBase}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\n soulbind: (soulbindId: number): Resource<SoulbindResponse> => {\n return {\n path: `${base}/covenant/soulbind/${soulbindId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\n soulbindIndex: (): Resource<SoulbindIndexResponse> => {\n return {\n path: `${base}/covenant/soulbind/index`,\n namespace: 'static',\n };\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\nexport const creatureApi = {\n /**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\n creature: (creatureId: number): Resource<CreatureResponse> => {\n return {\n path: `${base}/creature/${creatureId}`,\n namespace: 'static',\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 */\n creatureDisplayMedia: (creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> => {\n return {\n path: `${mediaBase}/creature-display/${creatureDisplayId}`,\n namespace: 'static',\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 */\n creatureFamily: (creatureFamilyId: number): Resource<CreatureFamilyResponse> => {\n return {\n path: `${base}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\n creatureFamilyIndex: (): Resource<CreatureFamilyIndexResponse> => {\n return {\n path: `${base}/creature-family/index`,\n namespace: 'static',\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 */\n creatureFamilyMedia: (creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> => {\n return {\n path: `${mediaBase}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\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 */\n creatureType: (creatureTypeId: number): Resource<CreatureTypeResponse> => {\n return {\n path: `${base}/creature-type/${creatureTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\n creatureTypeIndex: (): Resource<CreatureTypeIndexResponse> => {\n return {\n path: `${base}/creature-type/index`,\n namespace: 'static',\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}.\n */\n creatureSearch: (\n options: CreatureSearchParameters,\n ): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/creature`,\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\n\nexport const guildCrestApi = {\n /**\n * Get the guild crest components index.\n * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.\n */\n guildCrestComponentsIndex: (): Resource<GuildCrestComponentsIndexResponse> => {\n return {\n path: `${base}/guild-crest/index`,\n namespace: 'static',\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 */\n guildCrestBorder: (borderId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/border/${borderId}`,\n namespace: 'static',\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 */\n guildCrestEmblem: (emblemId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/emblem/${emblemId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { HeirloomIndexResponse, HeirloomResponse } from './types';\n\nexport const heirloomApi = {\n /**\n * Get a heirloom by ID.\n * @param heirloomId The heirloom ID.\n * @returns The heirloom. See {@link HeirloomResponse}.\n */\n heirloom: (heirloomId: number): Resource<HeirloomResponse> => {\n return {\n path: `${base}/heirloom/${heirloomId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the heirloom index.\n * @returns The heirloom index. See {@link HeirloomIndexResponse}.\n */\n heirloomIndex: (): Resource<HeirloomIndexResponse> => {\n return {\n path: `${base}/heirloom/index`,\n namespace: 'static',\n };\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\nexport const itemApi = {\n /**\n * Get an item by ID.\n * @param itemId The item ID.\n * @returns The item. See {@link ItemResponse}.\n */\n item: (itemId: number): Resource<ItemResponse> => {\n return {\n path: `${base}/item/${itemId}`,\n namespace: 'static',\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 */\n itemClass: (itemClassId: number): Resource<ItemClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}`,\n namespace: 'static',\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 */\n itemSubClass: (itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item class index.\n * @returns The item class index. See {@link ItemClassIndexResponse}.\n */\n itemClassIndex: (): Resource<ItemClassIndexResponse> => {\n return {\n path: `${base}/item-class/index`,\n namespace: 'static',\n };\n },\n /**\n * Get item media by ID.\n * @param itemId The item ID.\n * @returns The item media. See {@link ItemMediaResponse}.\n */\n itemMedia: (itemId: number): Resource<ItemMediaResponse> => {\n return {\n path: `${mediaBase}/item/${itemId}`,\n namespace: 'static',\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 */\n itemSet: (itemSetId: number): Resource<ItemSetResponse> => {\n return {\n path: `${base}/item-set/${itemSetId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item set index.\n * @returns The item set index. See {@link ItemSetIndexResponse}.\n */\n itemSetIndex: (): Resource<ItemSetIndexResponse> => {\n return {\n path: `${base}/item-set/index`,\n namespace: 'static',\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 */\n itemSearch: (\n options: ItemSearchParameters,\n ): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/item`,\n };\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\nexport const journalApi = {\n /**\n * Get a journal encounter by ID.\n * @param journalEncounterId The journal encounter ID.\n * @returns The journal encounter. See {@link JournalEncounterResponse}.\n */\n journalEncounter: (journalEncounterId: number): Resource<JournalEncounterResponse> => {\n return {\n path: `${base}/journal-encounter/${journalEncounterId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal encounter index.\n * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.\n */\n journalEncounterIndex: (): Resource<JournalEncounterIndexResponse> => {\n return {\n path: `${base}/journal-encounter/index`,\n namespace: 'static',\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 */\n 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 orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`instance.name.${options.locale}`]: options.instanceName,\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 */\n journalExpansion: (journalExpansionId: number): Resource<JournalExpansionResponse> => {\n return {\n path: `${base}/journal-expansion/${journalExpansionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal expansion index.\n * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.\n */\n journalExpansionIndex: (): Resource<JournalExpansionIndexResponse> => {\n return {\n path: `${base}/journal-expansion/index`,\n namespace: 'static',\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 */\n journalInstance: (journalInstanceId: number): Resource<JournalInstanceResponse> => {\n return {\n path: `${base}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal instance index.\n * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.\n */\n journalInstanceIndex: (): Resource<JournalInstanceIndexResponse> => {\n return {\n path: `${base}/journal-instance/index`,\n namespace: 'static',\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 */\n journalInstanceMedia: (journalInstanceId: number): Resource<JournalInstanceMediaResponse> => {\n return {\n path: `${mediaBase}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { searchBase } from '../base';\nimport type { MediaSearchParameters, MediaSearchResponseItem } from './types';\n\nexport const mediaSearchApi = {\n /**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\n 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};\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\nexport const modifiedCraftingApi = {\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 */\n modifiedCraftingCategory: (modifiedCraftingCategoryId: number): Resource<ModifiedCraftingCategoryResponse> => {\n return {\n path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting category index.\n * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.\n */\n modifiedCraftingCategoryIndex: (): Resource<ModifiedCraftingCategoryIndexResponse> => {\n return {\n path: `${base}/modified-crafting/category/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting index.\n * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.\n */\n modifiedCraftingIndex: (): Resource<ModifiedCraftingIndexResponse> => {\n return {\n path: `${base}/modified-crafting/index`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotType: (\n modifiedCraftingReagentSlotTypeId: number,\n ): Resource<ModifiedCraftingReagentSlotTypeResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotTypeIndex: (): Resource<ModifiedCraftingReagentSlotTypeIndexResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/index`,\n namespace: 'static',\n };\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\nexport const mountApi = {\n /**\n * Get a mount by ID.\n * @param mountId The mount ID.\n * @returns The mount. See {@link MountResponse}.\n */\n mount: (mountId: number): Resource<MountResponse> => {\n return {\n path: `${base}/mount/${mountId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a mount index.\n * @returns The mount index. See {@link MountIndexResponse}.\n */\n mountIndex: (): Resource<MountIndexResponse> => {\n return {\n path: `${base}/mount/index`,\n namespace: 'static',\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 */\n mountSearch: (\n options: MountSearchParameters,\n ): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/mount`,\n };\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\nexport const mythicKeystoneAffixApi = {\n /**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\n mythicKeystoneAffix: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> => {\n return {\n path: `${base}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\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 */\n mythicKeystoneAffixIndex: (): Resource<MythicKeystoneAffixIndexResponse> => {\n return {\n path: `${base}/keystone-affix/index`,\n namespace: 'static',\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 */\n mythicKeystoneAffixMedia: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> => {\n return {\n path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\n };\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\nexport const mythicKeystoneDungeonApi = {\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 */\n mythicKeystoneDungeon: (mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone dungeon index.\n * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.\n */\n mythicKeystoneDungeonIndex: (): Resource<MythicKeystoneDungeonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/index`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone index.\n * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.\n */\n mythicKeystoneIndex: (): Resource<MythicKeystoneIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/index`,\n namespace: 'dynamic',\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 */\n mythicKeystonePeriod: (mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse> => {\n return {\n path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone period index.\n * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.\n */\n mythicKeystonePeriodIndex: (): Resource<MythicKeystonePeriodIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/period/index`,\n namespace: 'dynamic',\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 */\n mythicKeystoneSeason: (mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse> => {\n return {\n path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone season index.\n * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.\n */\n mythicKeystoneSeasonIndex: (): Resource<MythicKeystoneSeasonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\nexport const mythicKeystoneLeaderboardApi = {\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 */\n mythicKeystoneLeaderboard: (\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n ): Resource<MythicKeystoneLeaderboardResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n namespace: 'dynamic',\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 */\n mythicKeystoneLeaderboardIndex: (connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n namespace: 'dynamic',\n };\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\nexport const mythicRaidLeaderboardApi = {\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 */\n mythicRaidLeaderboard: (\n raid: string,\n faction: Lowercase<keyof typeof Factions>,\n ): Resource<MythicRaidLeaderboardResponse> => {\n return {\n path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,\n namespace: 'dynamic',\n };\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\nexport const petApi = {\n /**\n * Get a pet by ID.\n * @param petId The pet ID.\n * @returns The pet. See {@link PetResponse}.\n */\n pet: (petId: number): Resource<PetResponse> => {\n return {\n path: `${base}/pet/${petId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet index.\n * @returns The pet index. See {@link PetIndexResponse}.\n */\n petIndex: (): Resource<PetIndexResponse> => {\n return {\n path: `${base}/pet/index`,\n namespace: 'static',\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 */\n petMedia: (petId: number): Resource<PetMediaResponse> => {\n return {\n path: `${mediaBase}/pet/${petId}`,\n namespace: 'static',\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 */\n petAbility: (petAbilityId: number): Resource<PetAbilityResponse> => {\n return {\n path: `${base}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet ability index.\n * @returns The pet ability index. See {@link PetAbilityIndexResponse}.\n */\n petAbilityIndex: (): Resource<PetAbilityIndexResponse> => {\n return {\n path: `${base}/pet-ability/index`,\n namespace: 'static',\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 */\n petAbilityMedia: (petAbilityId: number): Resource<PetAbilityMediaResponse> => {\n return {\n path: `${mediaBase}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\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\nexport const playableClassApi = {\n /**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\n playableClass: (playableClassId: number): Resource<PlayableClassResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\n playableClassIndex: (): Resource<PlayableClassIndexResponse> => {\n return {\n path: `${base}/playable-class/index`,\n namespace: 'static',\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 */\n playableClassMedia: (playableClassId: number): Resource<PlayableClassMediaResponse> => {\n return {\n path: `${mediaBase}/playable-class/${playableClassId}`,\n namespace: 'static',\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 */\n pvpTalentSlots: (playableClassId: number): Resource<PvpTalentSlotsResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\nexport const playableRaceApi = {\n /**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\n playableRace: (playableRaceId: number): Resource<PlayableRaceResponse> => {\n return {\n path: `${base}/playable-race/${playableRaceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\n playableRaceIndex: (): Resource<PlayableRaceIndexResponse> => {\n return {\n path: `${base}/playable-race/index`,\n namespace: 'static',\n };\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\nexport const playableSpecializationApi = {\n /**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\n playableSpecialization: (specializationId: number): Resource<PlayableSpecializationResponse> => {\n return {\n path: `${base}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\n playableSpecializationIndex: (): Resource<PlayableSpecializationIndexResponse> => {\n return {\n path: `${base}/playable-specialization/index`,\n namespace: 'static',\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 */\n playableSpecializationMedia: (specializationId: number): Resource<PlayableSpecializationMediaResponse> => {\n return {\n path: `${mediaBase}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PowerTypeIndexResponse, PowerTypeResponse } from './types';\n\nexport const powerTypeApi = {\n /**\n * Get a power type by ID.\n * @param powerTypeId The power type ID.\n * @returns The power type. See {@link PowerTypeResponse}.\n */\n powerType: (powerTypeId: number): Resource<PowerTypeResponse> => {\n return {\n path: `${base}/power-type/${powerTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a power type index.\n * @returns The power type index. See {@link PowerTypeIndexResponse}.\n */\n powerTypeIndex: (): Resource<PowerTypeIndexResponse> => {\n return {\n path: `${base}/power-type/index`,\n namespace: 'static',\n };\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\nexport const professionApi = {\n /**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\n profession: (professionId: number): Resource<ProfessionResponse> => {\n return {\n path: `${base}/profession/${professionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\n professionIndex: (): Resource<ProfessionIndexResponse> => {\n return {\n path: `${base}/profession/index`,\n namespace: 'static',\n };\n },\n /**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\n professionMedia: (professionId: number): Resource<ProfessionMediaResponse> => {\n return {\n path: `${mediaBase}/profession/${professionId}`,\n namespace: 'static',\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 */\n professionSkillTier: (professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> => {\n return {\n path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\n recipe: (recipeId: number): Resource<RecipeResponse> => {\n return {\n path: `${base}/recipe/${recipeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\n recipeMedia: (recipeId: number): Resource<RecipeMediaResponse> => {\n return {\n path: `${mediaBase}/recipe/${recipeId}`,\n namespace: 'static',\n };\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\nexport const pvpSeasonApi = {\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 */\n pvpLeaderboard: (pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n namespace: 'dynamic',\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 */\n pvpLeaderboardIndex: (pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n namespace: 'dynamic',\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 */\n pvpRewardsIndex: (pvpSeasonId: number): Resource<PvpRewardsIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n namespace: 'dynamic',\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 */\n pvpSeason: (pvpSeasonId: number): Resource<PvpSeasonResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\n pvpSeasonIndex: (): Resource<PvpSeasonIndexResponse> => {\n return {\n path: `${base}/pvp-season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\nexport const pvpTierApi = {\n /**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\n pvpTier: (pvpTierId: number): Resource<PvpTierResponse> => {\n return {\n path: `${base}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\n pvpTierIndex: (): Resource<PvpTierIndexResponse> => {\n return {\n path: `${base}/pvp-tier/index`,\n namespace: 'static',\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 */\n pvpTierMedia: (pvpTierId: number): Resource<PvpTierMediaResponse> => {\n return {\n path: `${mediaBase}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\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\nexport const questApi = {\n /**\n * Get a quest by ID.\n * @param questId The quest ID.\n * @returns The quest. See {@link QuestResponse}.\n */\n quest: (questId: number): Resource<QuestResponse> => {\n return {\n path: `${base}/quest/${questId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest index.\n * @returns The quest index. See {@link QuestIndexResponse}.\n */\n questIndex: (): Resource<QuestIndexResponse> => {\n return {\n path: `${base}/quest/index`,\n namespace: 'static',\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 */\n questArea: (questAreaId: number): Resource<QuestAreaResponse> => {\n return {\n path: `${base}/quest/area/${questAreaId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest area index.\n * @returns The quest area index. See {@link QuestAreaIndexResponse}.\n */\n questAreaIndex: (): Resource<QuestAreaIndexResponse> => {\n return {\n path: `${base}/quest/area/index`,\n namespace: 'static',\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 */\n questCategory: (questCategoryId: number): Resource<QuestCategoryResponse> => {\n return {\n path: `${base}/quest/category/${questCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest category index.\n * @returns The quest category index. See {@link QuestCategoryIndexResponse}.\n */\n questCategoryIndex: (): Resource<QuestCategoryIndexResponse> => {\n return {\n path: `${base}/quest/category/index`,\n namespace: 'static',\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 */\n questType: (questTypeId: number): Resource<QuestTypeResponse> => {\n return {\n path: `${base}/quest/type/${questTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest type index.\n * @returns The quest type index. See {@link QuestTypeIndexResponse}.\n */\n questTypeIndex: (): Resource<QuestTypeIndexResponse> => {\n return {\n path: `${base}/quest/type/index`,\n namespace: 'static',\n };\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\nexport const realmApi = {\n /**\n * Get a realm by slug.\n * @param realmSlug The realm slug.\n * @returns The realm. See {@link RealmResponse}.\n */\n realm: (realmSlug: string): Resource<RealmResponse> => {\n return {\n path: `${base}/realm/${realmSlug}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a realm index.\n * @returns The realm index. See {@link RealmIndexResponse}.\n */\n realmIndex: (): Resource<RealmIndexResponse> => {\n return {\n path: `${base}/realm/index`,\n namespace: 'dynamic',\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 */\n 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};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { RegionIndexResponse, RegionResponse } from './types';\n\nexport const regionApi = {\n /**\n * Get a region by ID.\n * @param regionId The region ID.\n * @returns The region. See {@link RegionResponse}.\n */\n region: (regionId: number): Resource<RegionResponse> => {\n return {\n path: `${base}/region/${regionId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a region index.\n * @returns The region index. See {@link RegionIndexResponse}.\n */\n regionIndex: (): Resource<RegionIndexResponse> => {\n return {\n path: `${base}/region/index`,\n namespace: 'dynamic',\n };\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\nexport const reputationApi = {\n /**\n * Get a reputation faction by ID.\n * @param reputationFactionId The reputation faction ID.\n * @returns The reputation faction. See {@link ReputationFactionResponse}.\n */\n reputationFaction: (reputationFactionId: number): Resource<ReputationFactionResponse> => {\n return {\n path: `${base}/reputation-faction/${reputationFactionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation faction index.\n * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.\n */\n reputationFactionIndex: (): Resource<ReputationFactionIndexResponse> => {\n return {\n path: `${base}/reputation-faction/index`,\n namespace: 'static',\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 */\n reputationTiers: (reputationTiersId: number): Resource<ReputationTiersResponse> => {\n return {\n path: `${base}/reputation-tiers/${reputationTiersId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation tier index.\n * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.\n */\n reputationTiersIndex: (): Resource<ReputationTiersIndexResponse> => {\n return {\n path: `${base}/reputation-tiers/index`,\n namespace: 'static',\n };\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\nexport const spellApi = {\n /**\n * Get a spell by ID.\n * @param spellId The spell ID.\n * @returns The spell. See {@link SpellResponse}.\n */\n spell: (spellId: number): Resource<SpellResponse> => {\n return {\n path: `${base}/spell/${spellId}`,\n namespace: 'static',\n };\n },\n /**\n * Get spell media by ID.\n * @param spellId The spell ID.\n * @returns The spell media. See {@link SpellMediaResponse}.\n */\n spellMedia: (spellId: number): Resource<SpellMediaResponse> => {\n return {\n path: `${mediaBase}/spell/${spellId}`,\n namespace: 'static',\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 */\n spellSearch: (\n options: SpellSearchParameters,\n ): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/spell`,\n };\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\nexport const talentApi = {\n /**\n * Get a PvP talent by ID.\n * @param pvpTalentId The PvP talent ID.\n * @returns The PvP talent. See {@link PvpTalentResponse}.\n */\n pvpTalent: (pvpTalentId: number): Resource<PvpTalentResponse> => {\n return {\n path: `${base}/pvp-talent/${pvpTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP talent index.\n * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.\n */\n pvpTalentIndex: (): Resource<PvpTalentIndexResponse> => {\n return {\n path: `${base}/pvp-talent/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent by ID.\n * @param talentId The talent ID.\n * @returns The talent. See {@link TalentResponse}.\n */\n talent: (talentId: number): Resource<TalentResponse> => {\n return {\n path: `${base}/talent/${talentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent index.\n * @returns The talent index. See {@link TalentIndexResponse}.\n */\n talentIndex: (): Resource<TalentIndexResponse> => {\n return {\n path: `${base}/talent/index`,\n namespace: 'static',\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 */\n talentTree: (talentTreeId: number, specId: number): Resource<TalentTreeResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent tree index.\n * @returns The talent tree index. See {@link TalentTreeIndexResponse}.\n */\n talentTreeIndex: (): Resource<TalentTreeIndexResponse> => {\n return {\n path: `${base}/talent-tree/index`,\n namespace: 'static',\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 */\n talentTreeNodes: (talentTreeId: number): Resource<TalentTreeNodesResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}`,\n namespace: 'static',\n };\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\nexport const techTalentApi = {\n /**\n * Get a tech talent by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent. See {@link TechTalentResponse}.\n */\n techTalent: (techTalentId: number): Resource<TechTalentResponse> => {\n return {\n path: `${base}/tech-talent/${techTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent index.\n * @returns The tech talent index. See {@link TechTalentIndexResponse}.\n */\n techTalentIndex: (): Resource<TechTalentIndexResponse> => {\n return {\n path: `${base}/tech-talent/index`,\n namespace: 'static',\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 */\n techTalentMedia: (techTalentId: number): Resource<TechTalentMediaResponse> => {\n return {\n path: `${mediaBase}/tech-talent/${techTalentId}`,\n namespace: 'static',\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 */\n techTalentTree: (techTalentTreeId: number): Resource<TechTalentTreeResponse> => {\n return {\n path: `${base}/tech-talent-tree/${techTalentTreeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent tree index.\n * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.\n */\n techTalentTreeIndex: (): Resource<TechTalentTreeIndexResponse> => {\n return {\n path: `${base}/tech-talent-tree/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\nexport const titleApi = {\n /**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\n title: (titleId: number): Resource<TitleResponse> => {\n return {\n path: `${base}/title/${titleId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\n titleIndex: (): Resource<TitleIndexResponse> => {\n return {\n path: `${base}/title/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { ToyIndexResponse, ToyResponse } from './types';\n\nexport const toyApi = {\n /**\n * Get a toy by ID.\n * @param toyId The toy ID.\n * @returns The toy. See {@link ToyResponse}.\n */\n toy: (toyId: number): Resource<ToyResponse> => {\n return {\n path: `${base}/toy/${toyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a toy index.\n * @returns The toy index. See {@link ToyIndexResponse}.\n */\n toyIndex: (): Resource<ToyIndexResponse> => {\n return {\n path: `${base}/toy/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { WowTokenResponse } from './types';\n\nexport const wowTokenApi = {\n /**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\n wowToken: (): Resource<WowTokenResponse> => {\n return {\n path: `${base}/token/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import { achievementApi } from './achievements/achievements';\r\nimport { auctionHouseApi } from './auction-house/auction-house';\r\nimport { azeriteEssenceApi } from './azerite-essence/azerite-essence';\r\nimport { connectedRealmApi } from './connected-realm/connected-realm';\r\nimport { covenantApi } from './covenant/covenant';\r\nimport { creatureApi } from './creature/creature';\r\nimport { guildCrestApi } from './guild-crest/guild-crest';\r\nimport { heirloomApi } from './heirloom/heirloom';\r\nimport { itemApi } from './item/item';\r\nimport { journalApi } from './journal/journal';\r\nimport { mediaSearchApi } from './media-search/media-search';\r\nimport { modifiedCraftingApi } from './modified-crafting/modified-crafting';\r\nimport { mountApi } from './mount/mount';\r\nimport { mythicKeystoneAffixApi } from './mythic-keystone-affix/mythic-keystone-affix';\r\nimport { mythicKeystoneDungeonApi } from './mythic-keystone-dungeon/mythic-keystone-dungeon';\r\nimport { mythicKeystoneLeaderboardApi } from './mythic-keystone-leaderboard/mythic-keystone-leaderboard';\r\nimport { mythicRaidLeaderboardApi } from './mythic-raid-leaderboard/mythic-raid-leaderboard';\r\nimport { petApi } from './pet/pet';\r\nimport { playableClassApi } from './playable-class/playable-class';\r\nimport { playableRaceApi } from './playable-race/playable-race';\r\nimport { playableSpecializationApi } from './playable-specialization/playable-specialization';\r\nimport { powerTypeApi } from './power-type/power-type';\r\nimport { professionApi } from './profession/profession';\r\nimport { pvpSeasonApi } from './pvp-season/pvp-season';\r\nimport { pvpTierApi } from './pvp-tier/pvp-tier';\r\nimport { questApi } from './quest/quest';\r\nimport { realmApi } from './realm/realm';\r\nimport { regionApi } from './region/region';\r\nimport { reputationApi } from './reputations/reputations';\r\nimport { spellApi } from './spell/spell';\r\nimport { talentApi } from './talent/talent';\r\nimport { techTalentApi } from './tech-talent/tech-talent';\r\nimport { titleApi } from './title/title';\r\nimport { toyApi } from './toy/toy';\r\nimport { wowTokenApi } 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\nexport const wow = {\r\n ...achievementApi,\r\n ...auctionHouseApi,\r\n ...azeriteEssenceApi,\r\n ...connectedRealmApi,\r\n ...covenantApi,\r\n ...creatureApi,\r\n ...guildCrestApi,\r\n ...heirloomApi,\r\n ...itemApi,\r\n ...journalApi,\r\n ...mediaSearchApi,\r\n ...modifiedCraftingApi,\r\n ...mountApi,\r\n ...mythicKeystoneAffixApi,\r\n ...mythicKeystoneDungeonApi,\r\n ...mythicKeystoneLeaderboardApi,\r\n ...mythicRaidLeaderboardApi,\r\n ...petApi,\r\n ...playableClassApi,\r\n ...playableRaceApi,\r\n ...playableSpecializationApi,\r\n ...powerTypeApi,\r\n ...professionApi,\r\n ...pvpSeasonApi,\r\n ...pvpTierApi,\r\n ...questApi,\r\n ...realmApi,\r\n ...regionApi,\r\n ...reputationApi,\r\n ...spellApi,\r\n ...talentApi,\r\n ...techTalentApi,\r\n ...titleApi,\r\n ...toyApi,\r\n ...wowTokenApi,\r\n};\r\n\r\n//Achievements\r\nexport * from './achievements/types.js';\r\n//Auction House\r\nexport * from './auction-house/types.js';\r\n//Azerite Essence\r\nexport * from './azerite-essence/types.js';\r\n//Connected Realm\r\nexport * from './connected-realm/types.js';\r\n//Covenant\r\nexport * from './covenant/types.js';\r\n//Creature\r\nexport * from './creature/types.js';\r\n//Guild Crest\r\nexport * from './guild-crest/types.js';\r\n//Heirloom\r\nexport * from './heirloom/types.js';\r\n//Item\r\nexport * from './item/types.js';\r\n//Journal\r\nexport * from './journal/types.js';\r\n//Media Search\r\nexport * from './media-search/types.js';\r\n//Modified Crafting\r\nexport * from './modified-crafting/types.js';\r\n//Mount\r\nexport * from './mount/types.js';\r\n//Mythic Keystone Affix\r\nexport * from './mythic-keystone-affix/types.js';\r\n//Mythic Keystone Dungeon\r\nexport * from './mythic-keystone-dungeon/types.js';\r\n//Mythic Keystone Leaderboard\r\nexport * from './mythic-keystone-leaderboard/types.js';\r\n//Mythic Raid Leaderboard\r\nexport * from './mythic-raid-leaderboard/types.js';\r\n//Pet\r\nexport * from './pet/types.js';\r\n//Playable Class\r\nexport * from './playable-class/types.js';\r\n//Playable Race\r\nexport * from './playable-race/types.js';\r\n//Playable Specialization\r\nexport * from './playable-specialization/types.js';\r\n//Power Type\r\nexport * from './power-type/types.js';\r\n//Profession\r\nexport * from './profession/types.js';\r\n//Pvp Season\r\nexport * from './pvp-season/types.js';\r\n//Pvp Tier\r\nexport * from './pvp-tier/types.js';\r\n//Quest\r\nexport * from './quest/types.js';\r\n//Realm\r\nexport * from './realm/types.js';\r\n//Region\r\nexport * from './region/types.js';\r\n//Reputations\r\nexport * from './reputations/types.js';\r\n//Spell\r\nexport * from './spell/types.js';\r\n//Talent\r\nexport * from './talent/types.js';\r\n//Tech Talent\r\nexport * from './tech-talent/types.js';\r\n//Title\r\nexport * from './title/types.js';\r\n//Toy\r\nexport * from './toy/types.js';\r\n//WoW Token\r\nexport * from './wow-token/types.js';\r\n"],"mappings":";AASO,IAAM,OAAO;AAKb,IAAM,YAAY,GAAG,IAAI;AAKzB,IAAM,aAAa,GAAG,IAAI;;;ACTjC,IAAM,kBAAkB,GAAG,IAAI;AAC/B,IAAM,0BAA0B,GAAG,IAAI;AAEhC,IAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,qBAAqB,CAAC,0BAAyE;AAC7F,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB,IAAI,qBAAqB;AAAA,MACzD,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,0BAA0B,MAAkD;AAC1E,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB;AAAA,MAChC,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAa,CAAC,kBAAyD;AACrE,WAAO;AAAA,MACL,MAAM,GAAG,eAA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AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/base.ts","../src/achievements/achievements.ts","../src/auction-house/auction-house.ts","../src/azerite-essence/azerite-essence.ts","../src/connected-realm/connected-realm.ts","../src/covenant/covenant.ts","../src/creature/creature.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"],"sourcesContent":["/**\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 * Base interface for Blizzard API responses.\r\n */\r\nexport interface ResponseBase {\r\n _links: {\r\n self: {\r\n href: string;\r\n };\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: {\r\n href: string;\r\n };\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 name: string;\r\n id: number;\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 r: number;\r\n g: number;\r\n b: number;\r\n a: 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 key: string;\r\n value: string;\r\n file_data_id: number;\r\n}\r\n\r\n/**\r\n * The playable genders in World of Warcraft.\r\n */\r\nexport interface Gender {\r\n male: string;\r\n female: string;\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 type: keyof typeof Factions;\r\n name: Capitalize<Lowercase<keyof typeof Factions>>;\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\nexport const achievementApi = {\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\n achievementCategory: (achievementCategoryId: number): Resource<AchievementCategoryResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/${achievementCategoryId}`,\r\n namespace: 'static',\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\n achievementCategoryIndex: (): Resource<AchievementCategoryIndexResponse> => {\r\n return {\r\n path: `${achievementCategoryBase}/index`,\r\n namespace: 'static',\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\n achievement: (achievementId: number): Resource<AchievementResponse> => {\r\n return {\r\n path: `${achievementBase}/${achievementId}`,\r\n namespace: 'static',\r\n };\r\n },\r\n /**\r\n * Get an achievement index.\r\n * @returns The achievement index. See {@link AchievementIndexResponse}.\r\n */\r\n achievementIndex: (): Resource<AchievementIndexResponse> => {\r\n return {\r\n path: `${achievementBase}/index`,\r\n namespace: 'static',\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\n achievementMedia: (achievementId: number): Resource<AchievementMediaResponse> => {\r\n return { path: `${mediaBase}/achievement/${achievementId}`, namespace: 'static' };\r\n },\r\n};\r\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { AuctionHouseCommoditiesResponse, AuctionHouseResponse } from './types';\n\nexport const auctionHouseApi = {\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 */\n auctions: (connectedRealmId: number): Resource<AuctionHouseResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/auctions`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get auction house data for all connected realms.\n * @returns The auction house data. See {@link AuctionHouseResponse}.\n */\n commodities: (): Resource<AuctionHouseCommoditiesResponse> => {\n return {\n path: `${base}/auctions/commodities`,\n namespace: 'dynamic',\n };\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\nexport const azeriteEssenceApi = {\n /**\n * Get an azerite essence by ID.\n * @param azeriteEssenceId The azerite essence ID.\n * @returns The azerite essence. See {@link AzeriteEssenceResponse}.\n */\n azeriteEssence: (azeriteEssenceId: number): Resource<AzeriteEssenceResponse> => {\n return {\n path: `${base}/azerite-essence/${azeriteEssenceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an azerite essence index.\n * @returns The azerite essence index. See {@link AzeriteEssenceIndexResponse}.\n */\n azeriteEssenceIndex: (): Resource<AzeriteEssenceIndexResponse> => {\n return {\n path: `${base}/azerite-essence/index`,\n namespace: 'static',\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 */\n azeriteEssenceMedia: (azeriteEssenceId: number): Resource<AzeriteEssenceMediaResponse> => {\n return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}`, namespace: 'static' };\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 */\n azeriteEssenceSearch: (\n options: AzeriteEssenceSearchParameters,\n ): Resource<SearchResponse<AzeriteEssenceSearchResponseItem>, AzeriteEssenceSearchParameters> => {\n return {\n path: `${searchBase}/azerite-essence`,\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 };\n },\n};\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\nexport const connectedRealmApi = {\n /**\n * Get a connected realm index.\n * @returns The connected realm index. See {@link ConnectedRealmIndexResponse}.\n */\n connectedRealmIndex: (): Resource<ConnectedRealmIndexResponse> => {\n return {\n path: `${base}/connected-realm/index`,\n namespace: 'dynamic',\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 */\n connectedRealm: (connectedRealmId: number): Resource<ConnectedRealmResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}`,\n namespace: 'dynamic',\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 */\n 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 'status.type': options['status.type'],\n 'realms.timezone': options['realms.timezone'],\n },\n path: `${base}/search/connected-realm`,\n };\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\nexport const covenantApi = {\n /**\n * Get a conduit by ID.\n * @param conduitId The conduit ID.\n * @returns The conduit. See {@link ConduitResponse}.\n */\n conduit: (conduitId: number): Resource<ConduitResponse> => {\n return {\n path: `${base}/covenant/conduit/${conduitId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a conduit index.\n * @returns The conduit index. See {@link ConduitIndexResponse}.\n */\n conduitIndex: (): Resource<ConduitIndexResponse> => {\n return {\n path: `${base}/covenant/conduit/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant. See {@link CovenantResponse}.\n */\n covenant: (covenantId: number): Resource<CovenantResponse> => {\n return {\n path: `${base}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a covenant index.\n * @returns The covenant index. See {@link CovenantIndexResponse}.\n */\n covenantIndex: (): Resource<CovenantIndexResponse> => {\n return {\n path: `${base}/covenant/index`,\n namespace: 'static',\n };\n },\n /**\n * Get covenant media by ID.\n * @param covenantId The covenant ID.\n * @returns The covenant media. See {@link CovenantMediaResponse}.\n */\n covenantMedia: (covenantId: number): Resource<CovenantMediaResponse> => {\n return {\n path: `${mediaBase}/covenant/${covenantId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind by ID.\n * @param soulbindId The soulbind ID.\n * @returns The soulbind. See {@link SoulbindResponse}.\n */\n soulbind: (soulbindId: number): Resource<SoulbindResponse> => {\n return {\n path: `${base}/covenant/soulbind/${soulbindId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a soulbind index.\n * @returns The soulbind index. See {@link SoulbindIndexResponse}.\n */\n soulbindIndex: (): Resource<SoulbindIndexResponse> => {\n return {\n path: `${base}/covenant/soulbind/index`,\n namespace: 'static',\n };\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\nexport const creatureApi = {\n /**\n * Get a creature by ID.\n * @param creatureId The creature ID.\n * @returns The creature. See {@link CreatureResponse}.\n */\n creature: (creatureId: number): Resource<CreatureResponse> => {\n return {\n path: `${base}/creature/${creatureId}`,\n namespace: 'static',\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 */\n creatureDisplayMedia: (creatureDisplayId: number): Resource<CreatureDisplayMediaResponse> => {\n return {\n path: `${mediaBase}/creature-display/${creatureDisplayId}`,\n namespace: 'static',\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 */\n creatureFamily: (creatureFamilyId: number): Resource<CreatureFamilyResponse> => {\n return {\n path: `${base}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature family index.\n * @returns The creature family index. See {@link CreatureFamilyIndexResponse}.\n */\n creatureFamilyIndex: (): Resource<CreatureFamilyIndexResponse> => {\n return {\n path: `${base}/creature-family/index`,\n namespace: 'static',\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 */\n creatureFamilyMedia: (creatureFamilyId: number): Resource<CreatureFamilyMediaResponse> => {\n return {\n path: `${mediaBase}/creature-family/${creatureFamilyId}`,\n namespace: 'static',\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 */\n creatureType: (creatureTypeId: number): Resource<CreatureTypeResponse> => {\n return {\n path: `${base}/creature-type/${creatureTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a creature type index.\n * @returns The creature type index. See {@link CreatureTypeIndexResponse}.\n */\n creatureTypeIndex: (): Resource<CreatureTypeIndexResponse> => {\n return {\n path: `${base}/creature-type/index`,\n namespace: 'static',\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 */\n creatureSearch: (\n options: CreatureSearchParameters,\n ): Resource<SearchResponse<CreatureSearchResponseItem>, Omit<CreatureSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/creature`,\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { GuildCrestBorderEmblemResponse, GuildCrestComponentsIndexResponse } from './types';\n\nexport const guildCrestApi = {\n /**\n * Get the guild crest components index.\n * @returns The guild crest components index. See {@link GuildCrestComponentsIndexResponse}.\n */\n guildCrestComponentsIndex: (): Resource<GuildCrestComponentsIndexResponse> => {\n return {\n path: `${base}/guild-crest/index`,\n namespace: 'static',\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 */\n guildCrestBorder: (borderId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/border/${borderId}`,\n namespace: 'static',\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 */\n guildCrestEmblem: (emblemId: number): Resource<GuildCrestBorderEmblemResponse> => {\n return {\n path: `${mediaBase}/guild-crest/emblem/${emblemId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { HeirloomIndexResponse, HeirloomResponse } from './types';\n\nexport const heirloomApi = {\n /**\n * Get a heirloom by ID.\n * @param heirloomId The heirloom ID.\n * @returns The heirloom. See {@link HeirloomResponse}.\n */\n heirloom: (heirloomId: number): Resource<HeirloomResponse> => {\n return {\n path: `${base}/heirloom/${heirloomId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the heirloom index.\n * @returns The heirloom index. See {@link HeirloomIndexResponse}.\n */\n heirloomIndex: (): Resource<HeirloomIndexResponse> => {\n return {\n path: `${base}/heirloom/index`,\n namespace: 'static',\n };\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\nexport const itemApi = {\n /**\n * Get an item by ID.\n * @param itemId The item ID.\n * @returns The item. See {@link ItemResponse}.\n */\n item: (itemId: number): Resource<ItemResponse> => {\n return {\n path: `${base}/item/${itemId}`,\n namespace: 'static',\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 */\n itemClass: (itemClassId: number): Resource<ItemClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}`,\n namespace: 'static',\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 */\n itemSubClass: (itemClassId: number, itemSubclassId: number): Resource<ItemSubClassResponse> => {\n return {\n path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item class index.\n * @returns The item class index. See {@link ItemClassIndexResponse}.\n */\n itemClassIndex: (): Resource<ItemClassIndexResponse> => {\n return {\n path: `${base}/item-class/index`,\n namespace: 'static',\n };\n },\n /**\n * Get item media by ID.\n * @param itemId The item ID.\n * @returns The item media. See {@link ItemMediaResponse}.\n */\n itemMedia: (itemId: number): Resource<ItemMediaResponse> => {\n return {\n path: `${mediaBase}/item/${itemId}`,\n namespace: 'static',\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 */\n itemSet: (itemSetId: number): Resource<ItemSetResponse> => {\n return {\n path: `${base}/item-set/${itemSetId}`,\n namespace: 'static',\n };\n },\n /**\n * Get an item set index.\n * @returns The item set index. See {@link ItemSetIndexResponse}.\n */\n itemSetIndex: (): Resource<ItemSetIndexResponse> => {\n return {\n path: `${base}/item-set/index`,\n namespace: 'static',\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 */\n itemSearch: (\n options: ItemSearchParameters,\n ): Resource<SearchResponse<ItemSearchResponseItem>, Omit<ItemSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/item`,\n };\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\nexport const journalApi = {\n /**\n * Get a journal encounter by ID.\n * @param journalEncounterId The journal encounter ID.\n * @returns The journal encounter. See {@link JournalEncounterResponse}.\n */\n journalEncounter: (journalEncounterId: number): Resource<JournalEncounterResponse> => {\n return {\n path: `${base}/journal-encounter/${journalEncounterId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal encounter index.\n * @returns The journal encounter index. See {@link JournalEncounterIndexResponse}.\n */\n journalEncounterIndex: (): Resource<JournalEncounterIndexResponse> => {\n return {\n path: `${base}/journal-encounter/index`,\n namespace: 'static',\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 */\n 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 orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`instance.name.${options.locale}`]: options.instanceName,\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 */\n journalExpansion: (journalExpansionId: number): Resource<JournalExpansionResponse> => {\n return {\n path: `${base}/journal-expansion/${journalExpansionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal expansion index.\n * @returns The journal expansion index. See {@link JournalExpansionIndexResponse}.\n */\n journalExpansionIndex: (): Resource<JournalExpansionIndexResponse> => {\n return {\n path: `${base}/journal-expansion/index`,\n namespace: 'static',\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 */\n journalInstance: (journalInstanceId: number): Resource<JournalInstanceResponse> => {\n return {\n path: `${base}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get the journal instance index.\n * @returns The journal instance index. See {@link JournalInstanceIndexResponse}.\n */\n journalInstanceIndex: (): Resource<JournalInstanceIndexResponse> => {\n return {\n path: `${base}/journal-instance/index`,\n namespace: 'static',\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 */\n journalInstanceMedia: (journalInstanceId: number): Resource<JournalInstanceMediaResponse> => {\n return {\n path: `${mediaBase}/journal-instance/${journalInstanceId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource, SearchResponse } from '@blizzard-api/core';\nimport { searchBase } from '../base';\nimport type { MediaSearchParameters, MediaSearchResponseItem } from './types';\n\nexport const mediaSearchApi = {\n /**\n * Search for media.\n * @param options The search parameters. See {@link MediaSearchParameters}.\n * @returns The search results. See {@link SearchResponse}.\n */\n 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};\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\nexport const modifiedCraftingApi = {\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 */\n modifiedCraftingCategory: (modifiedCraftingCategoryId: number): Resource<ModifiedCraftingCategoryResponse> => {\n return {\n path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting category index.\n * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}.\n */\n modifiedCraftingCategoryIndex: (): Resource<ModifiedCraftingCategoryIndexResponse> => {\n return {\n path: `${base}/modified-crafting/category/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a modified crafting index.\n * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}.\n */\n modifiedCraftingIndex: (): Resource<ModifiedCraftingIndexResponse> => {\n return {\n path: `${base}/modified-crafting/index`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotType: (\n modifiedCraftingReagentSlotTypeId: number,\n ): Resource<ModifiedCraftingReagentSlotTypeResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`,\n namespace: 'static',\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 */\n modifiedCraftingReagentSlotTypeIndex: (): Resource<ModifiedCraftingReagentSlotTypeIndexResponse> => {\n return {\n path: `${base}/modified-crafting/reagent-slot-type/index`,\n namespace: 'static',\n };\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\nexport const mountApi = {\n /**\n * Get a mount by ID.\n * @param mountId The mount ID.\n * @returns The mount. See {@link MountResponse}.\n */\n mount: (mountId: number): Resource<MountResponse> => {\n return {\n path: `${base}/mount/${mountId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a mount index.\n * @returns The mount index. See {@link MountIndexResponse}.\n */\n mountIndex: (): Resource<MountIndexResponse> => {\n return {\n path: `${base}/mount/index`,\n namespace: 'static',\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 */\n mountSearch: (\n options: MountSearchParameters,\n ): Resource<SearchResponse<MountSearchResponseItem>, Omit<MountSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/mount`,\n };\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\nexport const mythicKeystoneAffixApi = {\n /**\n * Get a list of all Mythic Keystone affixes.\n * @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}\n */\n mythicKeystoneAffix: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixResponse> => {\n return {\n path: `${base}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\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 */\n mythicKeystoneAffixIndex: (): Resource<MythicKeystoneAffixIndexResponse> => {\n return {\n path: `${base}/keystone-affix/index`,\n namespace: 'static',\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 */\n mythicKeystoneAffixMedia: (mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse> => {\n return {\n path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`,\n namespace: 'static',\n };\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\nexport const mythicKeystoneDungeonApi = {\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 */\n mythicKeystoneDungeon: (mythicKeystoneDungeonId: number): Resource<MythicKeystoneDungeonResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone dungeon index.\n * @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.\n */\n mythicKeystoneDungeonIndex: (): Resource<MythicKeystoneDungeonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/dungeon/index`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone index.\n * @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.\n */\n mythicKeystoneIndex: (): Resource<MythicKeystoneIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/index`,\n namespace: 'dynamic',\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 */\n mythicKeystonePeriod: (mythicKeystonePeriodId: number): Resource<MythicKeystonePeriodResponse> => {\n return {\n path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone period index.\n * @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.\n */\n mythicKeystonePeriodIndex: (): Resource<MythicKeystonePeriodIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/period/index`,\n namespace: 'dynamic',\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 */\n mythicKeystoneSeason: (mythicKeystoneSeasonId: number): Resource<MythicKeystoneSeasonResponse> => {\n return {\n path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a Mythic Keystone season index.\n * @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.\n */\n mythicKeystoneSeasonIndex: (): Resource<MythicKeystoneSeasonIndexResponse> => {\n return {\n path: `${base}/mythic-keystone/season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { MythicKeystoneLeaderboardIndexResponse, MythicKeystoneLeaderboardResponse } from './types';\n\nexport const mythicKeystoneLeaderboardApi = {\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 */\n mythicKeystoneLeaderboard: (\n connectedRealmId: number,\n dungeonId: number,\n period: number,\n ): Resource<MythicKeystoneLeaderboardResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`,\n namespace: 'dynamic',\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 */\n mythicKeystoneLeaderboardIndex: (connectedRealmId: number): Resource<MythicKeystoneLeaderboardIndexResponse> => {\n return {\n path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`,\n namespace: 'dynamic',\n };\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\nexport const mythicRaidLeaderboardApi = {\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 */\n mythicRaidLeaderboard: (\n raid: string,\n faction: Lowercase<keyof typeof Factions>,\n ): Resource<MythicRaidLeaderboardResponse> => {\n return {\n path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`,\n namespace: 'dynamic',\n };\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\nexport const petApi = {\n /**\n * Get a pet by ID.\n * @param petId The pet ID.\n * @returns The pet. See {@link PetResponse}.\n */\n pet: (petId: number): Resource<PetResponse> => {\n return {\n path: `${base}/pet/${petId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet index.\n * @returns The pet index. See {@link PetIndexResponse}.\n */\n petIndex: (): Resource<PetIndexResponse> => {\n return {\n path: `${base}/pet/index`,\n namespace: 'static',\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 */\n petMedia: (petId: number): Resource<PetMediaResponse> => {\n return {\n path: `${mediaBase}/pet/${petId}`,\n namespace: 'static',\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 */\n petAbility: (petAbilityId: number): Resource<PetAbilityResponse> => {\n return {\n path: `${base}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a pet ability index.\n * @returns The pet ability index. See {@link PetAbilityIndexResponse}.\n */\n petAbilityIndex: (): Resource<PetAbilityIndexResponse> => {\n return {\n path: `${base}/pet-ability/index`,\n namespace: 'static',\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 */\n petAbilityMedia: (petAbilityId: number): Resource<PetAbilityMediaResponse> => {\n return {\n path: `${mediaBase}/pet-ability/${petAbilityId}`,\n namespace: 'static',\n };\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\nexport const playableClassApi = {\n /**\n * Get a playable class by ID.\n * @param playableClassId The playable class ID.\n * @returns The playable class. See {@link PlayableClassResponse}.\n */\n playableClass: (playableClassId: number): Resource<PlayableClassResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable class index.\n * @returns The playable class index. See {@link PlayableClassIndexResponse}.\n */\n playableClassIndex: (): Resource<PlayableClassIndexResponse> => {\n return {\n path: `${base}/playable-class/index`,\n namespace: 'static',\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 */\n playableClassMedia: (playableClassId: number): Resource<PlayableClassMediaResponse> => {\n return {\n path: `${mediaBase}/playable-class/${playableClassId}`,\n namespace: 'static',\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 */\n pvpTalentSlots: (playableClassId: number): Resource<PvpTalentSlotsResponse> => {\n return {\n path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PlayableRaceIndexResponse, PlayableRaceResponse } from './types';\n\nexport const playableRaceApi = {\n /**\n * Get a playable race by ID.\n * @param playableRaceId The playable race ID.\n * @returns The playable race. See {@link PlayableRaceResponse}.\n */\n playableRace: (playableRaceId: number): Resource<PlayableRaceResponse> => {\n return {\n path: `${base}/playable-race/${playableRaceId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable race index.\n * @returns The playable race index. See {@link PlayableRaceIndexResponse}.\n */\n playableRaceIndex: (): Resource<PlayableRaceIndexResponse> => {\n return {\n path: `${base}/playable-race/index`,\n namespace: 'static',\n };\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\nexport const playableSpecializationApi = {\n /**\n * Get a playable specialization by ID.\n * @param specializationId The playable specialization ID.\n * @returns The playable specialization. See {@link PlayableSpecializationResponse}.\n */\n playableSpecialization: (specializationId: number): Resource<PlayableSpecializationResponse> => {\n return {\n path: `${base}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a playable specialization index.\n * @returns The playable specialization index. See {@link PlayableSpecializationIndexResponse}.\n */\n playableSpecializationIndex: (): Resource<PlayableSpecializationIndexResponse> => {\n return {\n path: `${base}/playable-specialization/index`,\n namespace: 'static',\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 */\n playableSpecializationMedia: (specializationId: number): Resource<PlayableSpecializationMediaResponse> => {\n return {\n path: `${mediaBase}/playable-specialization/${specializationId}`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { PowerTypeIndexResponse, PowerTypeResponse } from './types';\n\nexport const powerTypeApi = {\n /**\n * Get a power type by ID.\n * @param powerTypeId The power type ID.\n * @returns The power type. See {@link PowerTypeResponse}.\n */\n powerType: (powerTypeId: number): Resource<PowerTypeResponse> => {\n return {\n path: `${base}/power-type/${powerTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a power type index.\n * @returns The power type index. See {@link PowerTypeIndexResponse}.\n */\n powerTypeIndex: (): Resource<PowerTypeIndexResponse> => {\n return {\n path: `${base}/power-type/index`,\n namespace: 'static',\n };\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\nexport const professionApi = {\n /**\n * Get a profession by ID.\n * @param professionId The profession ID.\n * @returns The profession. See {@link ProfessionResponse}.\n */\n profession: (professionId: number): Resource<ProfessionResponse> => {\n return {\n path: `${base}/profession/${professionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a profession index.\n * @returns The profession index. See {@link ProfessionIndexResponse}.\n */\n professionIndex: (): Resource<ProfessionIndexResponse> => {\n return {\n path: `${base}/profession/index`,\n namespace: 'static',\n };\n },\n /**\n * Get profession media by ID.\n * @param professionId The profession ID.\n * @returns The profession media. See {@link ProfessionMediaResponse}.\n */\n professionMedia: (professionId: number): Resource<ProfessionMediaResponse> => {\n return {\n path: `${mediaBase}/profession/${professionId}`,\n namespace: 'static',\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 */\n professionSkillTier: (professionId: number, skillTierId: number): Resource<ProfessionSkillTierResponse> => {\n return {\n path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a recipe by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe. See {@link RecipeResponse}.\n */\n recipe: (recipeId: number): Resource<RecipeResponse> => {\n return {\n path: `${base}/recipe/${recipeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get recipe media by ID.\n * @param recipeId The recipe ID.\n * @returns The recipe media. See {@link RecipeMediaResponse}.\n */\n recipeMedia: (recipeId: number): Resource<RecipeMediaResponse> => {\n return {\n path: `${mediaBase}/recipe/${recipeId}`,\n namespace: 'static',\n };\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\nexport const pvpSeasonApi = {\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 */\n pvpLeaderboard: (pvpSeasonId: number, bracket: string): Resource<PvpLeaderboardResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`,\n namespace: 'dynamic',\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 */\n pvpLeaderboardIndex: (pvpSeasonId: number): Resource<PvpLeaderboardIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`,\n namespace: 'dynamic',\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 */\n pvpRewardsIndex: (pvpSeasonId: number): Resource<PvpRewardsIndexResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`,\n namespace: 'dynamic',\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 */\n pvpSeason: (pvpSeasonId: number): Resource<PvpSeasonResponse> => {\n return {\n path: `${base}/pvp-season/${pvpSeasonId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a PvP season index.\n * @returns The PvP season index. See {@link PvpSeasonIndexResponse}.\n */\n pvpSeasonIndex: (): Resource<PvpSeasonIndexResponse> => {\n return {\n path: `${base}/pvp-season/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base, mediaBase } from '../base';\nimport type { PvpTierIndexResponse, PvpTierMediaResponse, PvpTierResponse } from './types';\n\nexport const pvpTierApi = {\n /**\n * Get a PvP tier by ID.\n * @param pvpTierId The PvP tier ID.\n * @returns The PvP tier. See {@link PvpTierResponse}.\n */\n pvpTier: (pvpTierId: number): Resource<PvpTierResponse> => {\n return {\n path: `${base}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP tier index.\n * @returns The PvP tier index. See {@link PvpTierIndexResponse}.\n */\n pvpTierIndex: (): Resource<PvpTierIndexResponse> => {\n return {\n path: `${base}/pvp-tier/index`,\n namespace: 'static',\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 */\n pvpTierMedia: (pvpTierId: number): Resource<PvpTierMediaResponse> => {\n return {\n path: `${mediaBase}/pvp-tier/${pvpTierId}`,\n namespace: 'static',\n };\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\nexport const questApi = {\n /**\n * Get a quest by ID.\n * @param questId The quest ID.\n * @returns The quest. See {@link QuestResponse}.\n */\n quest: (questId: number): Resource<QuestResponse> => {\n return {\n path: `${base}/quest/${questId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest index.\n * @returns The quest index. See {@link QuestIndexResponse}.\n */\n questIndex: (): Resource<QuestIndexResponse> => {\n return {\n path: `${base}/quest/index`,\n namespace: 'static',\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 */\n questArea: (questAreaId: number): Resource<QuestAreaResponse> => {\n return {\n path: `${base}/quest/area/${questAreaId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest area index.\n * @returns The quest area index. See {@link QuestAreaIndexResponse}.\n */\n questAreaIndex: (): Resource<QuestAreaIndexResponse> => {\n return {\n path: `${base}/quest/area/index`,\n namespace: 'static',\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 */\n questCategory: (questCategoryId: number): Resource<QuestCategoryResponse> => {\n return {\n path: `${base}/quest/category/${questCategoryId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest category index.\n * @returns The quest category index. See {@link QuestCategoryIndexResponse}.\n */\n questCategoryIndex: (): Resource<QuestCategoryIndexResponse> => {\n return {\n path: `${base}/quest/category/index`,\n namespace: 'static',\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 */\n questType: (questTypeId: number): Resource<QuestTypeResponse> => {\n return {\n path: `${base}/quest/type/${questTypeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a quest type index.\n * @returns The quest type index. See {@link QuestTypeIndexResponse}.\n */\n questTypeIndex: (): Resource<QuestTypeIndexResponse> => {\n return {\n path: `${base}/quest/type/index`,\n namespace: 'static',\n };\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\nexport const realmApi = {\n /**\n * Get a realm by slug.\n * @param realmSlug The realm slug.\n * @returns The realm. See {@link RealmResponse}.\n */\n realm: (realmSlug: string): Resource<RealmResponse> => {\n return {\n path: `${base}/realm/${realmSlug}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a realm index.\n * @returns The realm index. See {@link RealmIndexResponse}.\n */\n realmIndex: (): Resource<RealmIndexResponse> => {\n return {\n path: `${base}/realm/index`,\n namespace: 'dynamic',\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 */\n 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};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { RegionIndexResponse, RegionResponse } from './types';\n\nexport const regionApi = {\n /**\n * Get a region by ID.\n * @param regionId The region ID.\n * @returns The region. See {@link RegionResponse}.\n */\n region: (regionId: number): Resource<RegionResponse> => {\n return {\n path: `${base}/region/${regionId}`,\n namespace: 'dynamic',\n };\n },\n /**\n * Get a region index.\n * @returns The region index. See {@link RegionIndexResponse}.\n */\n regionIndex: (): Resource<RegionIndexResponse> => {\n return {\n path: `${base}/region/index`,\n namespace: 'dynamic',\n };\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\nexport const reputationApi = {\n /**\n * Get a reputation faction by ID.\n * @param reputationFactionId The reputation faction ID.\n * @returns The reputation faction. See {@link ReputationFactionResponse}.\n */\n reputationFaction: (reputationFactionId: number): Resource<ReputationFactionResponse> => {\n return {\n path: `${base}/reputation-faction/${reputationFactionId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation faction index.\n * @returns The reputation faction index. See {@link ReputationFactionIndexResponse}.\n */\n reputationFactionIndex: (): Resource<ReputationFactionIndexResponse> => {\n return {\n path: `${base}/reputation-faction/index`,\n namespace: 'static',\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 */\n reputationTiers: (reputationTiersId: number): Resource<ReputationTiersResponse> => {\n return {\n path: `${base}/reputation-tiers/${reputationTiersId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a reputation tier index.\n * @returns The reputation tier index. See {@link ReputationTiersIndexResponse}.\n */\n reputationTiersIndex: (): Resource<ReputationTiersIndexResponse> => {\n return {\n path: `${base}/reputation-tiers/index`,\n namespace: 'static',\n };\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\nexport const spellApi = {\n /**\n * Get a spell by ID.\n * @param spellId The spell ID.\n * @returns The spell. See {@link SpellResponse}.\n */\n spell: (spellId: number): Resource<SpellResponse> => {\n return {\n path: `${base}/spell/${spellId}`,\n namespace: 'static',\n };\n },\n /**\n * Get spell media by ID.\n * @param spellId The spell ID.\n * @returns The spell media. See {@link SpellMediaResponse}.\n */\n spellMedia: (spellId: number): Resource<SpellMediaResponse> => {\n return {\n path: `${mediaBase}/spell/${spellId}`,\n namespace: 'static',\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 */\n spellSearch: (\n options: SpellSearchParameters,\n ): Resource<SearchResponse<SpellSearchResponseItem>, Omit<SpellSearchParameters, 'name' | 'locale'>> => {\n return {\n namespace: 'static',\n parameters: {\n _page: options._page,\n orderby: Array.isArray(options.orderby) ? options.orderby.join(',') : options.orderby,\n [`name.${options.locale}`]: options.name,\n },\n path: `${searchBase}/spell`,\n };\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\nexport const talentApi = {\n /**\n * Get a PvP talent by ID.\n * @param pvpTalentId The PvP talent ID.\n * @returns The PvP talent. See {@link PvpTalentResponse}.\n */\n pvpTalent: (pvpTalentId: number): Resource<PvpTalentResponse> => {\n return {\n path: `${base}/pvp-talent/${pvpTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a PvP talent index.\n * @returns The PvP talent index. See {@link PvpTalentIndexResponse}.\n */\n pvpTalentIndex: (): Resource<PvpTalentIndexResponse> => {\n return {\n path: `${base}/pvp-talent/index`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent by ID.\n * @param talentId The talent ID.\n * @returns The talent. See {@link TalentResponse}.\n */\n talent: (talentId: number): Resource<TalentResponse> => {\n return {\n path: `${base}/talent/${talentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent index.\n * @returns The talent index. See {@link TalentIndexResponse}.\n */\n talentIndex: (): Resource<TalentIndexResponse> => {\n return {\n path: `${base}/talent/index`,\n namespace: 'static',\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 */\n talentTree: (talentTreeId: number, specId: number): Resource<TalentTreeResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a talent tree index.\n * @returns The talent tree index. See {@link TalentTreeIndexResponse}.\n */\n talentTreeIndex: (): Resource<TalentTreeIndexResponse> => {\n return {\n path: `${base}/talent-tree/index`,\n namespace: 'static',\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 */\n talentTreeNodes: (talentTreeId: number): Resource<TalentTreeNodesResponse> => {\n return {\n path: `${base}/talent-tree/${talentTreeId}`,\n namespace: 'static',\n };\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\nexport const techTalentApi = {\n /**\n * Get a tech talent by ID.\n * @param techTalentId The tech talent ID.\n * @returns The tech talent. See {@link TechTalentResponse}.\n */\n techTalent: (techTalentId: number): Resource<TechTalentResponse> => {\n return {\n path: `${base}/tech-talent/${techTalentId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent index.\n * @returns The tech talent index. See {@link TechTalentIndexResponse}.\n */\n techTalentIndex: (): Resource<TechTalentIndexResponse> => {\n return {\n path: `${base}/tech-talent/index`,\n namespace: 'static',\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 */\n techTalentMedia: (techTalentId: number): Resource<TechTalentMediaResponse> => {\n return {\n path: `${mediaBase}/tech-talent/${techTalentId}`,\n namespace: 'static',\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 */\n techTalentTree: (techTalentTreeId: number): Resource<TechTalentTreeResponse> => {\n return {\n path: `${base}/tech-talent-tree/${techTalentTreeId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a tech talent tree index.\n * @returns The tech talent tree index. See {@link TechTalentTreeIndexResponse}.\n */\n techTalentTreeIndex: (): Resource<TechTalentTreeIndexResponse> => {\n return {\n path: `${base}/tech-talent-tree/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { TitleIndexResponse, TitleResponse } from './types';\n\nexport const titleApi = {\n /**\n * Get a title by ID.\n * @param titleId The title ID.\n * @returns The title. See {@link TitleResponse}.\n */\n title: (titleId: number): Resource<TitleResponse> => {\n return {\n path: `${base}/title/${titleId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a title index.\n * @returns The title index. See {@link TitleIndexResponse}.\n */\n titleIndex: (): Resource<TitleIndexResponse> => {\n return {\n path: `${base}/title/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { ToyIndexResponse, ToyResponse } from './types';\n\nexport const toyApi = {\n /**\n * Get a toy by ID.\n * @param toyId The toy ID.\n * @returns The toy. See {@link ToyResponse}.\n */\n toy: (toyId: number): Resource<ToyResponse> => {\n return {\n path: `${base}/toy/${toyId}`,\n namespace: 'static',\n };\n },\n /**\n * Get a toy index.\n * @returns The toy index. See {@link ToyIndexResponse}.\n */\n toyIndex: (): Resource<ToyIndexResponse> => {\n return {\n path: `${base}/toy/index`,\n namespace: 'static',\n };\n },\n};\n","import type { Resource } from '@blizzard-api/core';\nimport { base } from '../base';\nimport type { WowTokenResponse } from './types';\n\nexport const wowTokenApi = {\n /**\n * Get the current WoW token price.\n * @returns The WoW token price. See {@link WowTokenResponse}.\n */\n wowToken: (): Resource<WowTokenResponse> => {\n return {\n path: `${base}/token/index`,\n namespace: 'dynamic',\n };\n },\n};\n","import { achievementApi } from './achievements/achievements';\r\nimport { auctionHouseApi } from './auction-house/auction-house';\r\nimport { azeriteEssenceApi } from './azerite-essence/azerite-essence';\r\nimport { connectedRealmApi } from './connected-realm/connected-realm';\r\nimport { covenantApi } from './covenant/covenant';\r\nimport { creatureApi } from './creature/creature';\r\nimport { guildCrestApi } from './guild-crest/guild-crest';\r\nimport { heirloomApi } from './heirloom/heirloom';\r\nimport { itemApi } from './item/item';\r\nimport { journalApi } from './journal/journal';\r\nimport { mediaSearchApi } from './media-search/media-search';\r\nimport { modifiedCraftingApi } from './modified-crafting/modified-crafting';\r\nimport { mountApi } from './mount/mount';\r\nimport { mythicKeystoneAffixApi } from './mythic-keystone-affix/mythic-keystone-affix';\r\nimport { mythicKeystoneDungeonApi } from './mythic-keystone-dungeon/mythic-keystone-dungeon';\r\nimport { mythicKeystoneLeaderboardApi } from './mythic-keystone-leaderboard/mythic-keystone-leaderboard';\r\nimport { mythicRaidLeaderboardApi } from './mythic-raid-leaderboard/mythic-raid-leaderboard';\r\nimport { petApi } from './pet/pet';\r\nimport { playableClassApi } from './playable-class/playable-class';\r\nimport { playableRaceApi } from './playable-race/playable-race';\r\nimport { playableSpecializationApi } from './playable-specialization/playable-specialization';\r\nimport { powerTypeApi } from './power-type/power-type';\r\nimport { professionApi } from './profession/profession';\r\nimport { pvpSeasonApi } from './pvp-season/pvp-season';\r\nimport { pvpTierApi } from './pvp-tier/pvp-tier';\r\nimport { questApi } from './quest/quest';\r\nimport { realmApi } from './realm/realm';\r\nimport { regionApi } from './region/region';\r\nimport { reputationApi } from './reputations/reputations';\r\nimport { spellApi } from './spell/spell';\r\nimport { talentApi } from './talent/talent';\r\nimport { techTalentApi } from './tech-talent/tech-talent';\r\nimport { titleApi } from './title/title';\r\nimport { toyApi } from './toy/toy';\r\nimport { wowTokenApi } 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\nexport const wow = {\r\n ...achievementApi,\r\n ...auctionHouseApi,\r\n ...azeriteEssenceApi,\r\n ...connectedRealmApi,\r\n ...covenantApi,\r\n ...creatureApi,\r\n ...guildCrestApi,\r\n ...heirloomApi,\r\n ...itemApi,\r\n ...journalApi,\r\n ...mediaSearchApi,\r\n ...modifiedCraftingApi,\r\n ...mountApi,\r\n ...mythicKeystoneAffixApi,\r\n ...mythicKeystoneDungeonApi,\r\n ...mythicKeystoneLeaderboardApi,\r\n ...mythicRaidLeaderboardApi,\r\n ...petApi,\r\n ...playableClassApi,\r\n ...playableRaceApi,\r\n ...playableSpecializationApi,\r\n ...powerTypeApi,\r\n ...professionApi,\r\n ...pvpSeasonApi,\r\n ...pvpTierApi,\r\n ...questApi,\r\n ...realmApi,\r\n ...regionApi,\r\n ...reputationApi,\r\n ...spellApi,\r\n ...talentApi,\r\n ...techTalentApi,\r\n ...titleApi,\r\n ...toyApi,\r\n ...wowTokenApi,\r\n};\r\n\r\n//Achievements\r\nexport * from './achievements/types.js';\r\n//Auction House\r\nexport * from './auction-house/types.js';\r\n//Azerite Essence\r\nexport * from './azerite-essence/types.js';\r\n//Connected Realm\r\nexport * from './connected-realm/types.js';\r\n//Covenant\r\nexport * from './covenant/types.js';\r\n//Creature\r\nexport * from './creature/types.js';\r\n//Guild Crest\r\nexport * from './guild-crest/types.js';\r\n//Heirloom\r\nexport * from './heirloom/types.js';\r\n//Item\r\nexport * from './item/types.js';\r\n//Journal\r\nexport * from './journal/types.js';\r\n//Media Search\r\nexport * from './media-search/types.js';\r\n//Modified Crafting\r\nexport * from './modified-crafting/types.js';\r\n//Mount\r\nexport * from './mount/types.js';\r\n//Mythic Keystone Affix\r\nexport * from './mythic-keystone-affix/types.js';\r\n//Mythic Keystone Dungeon\r\nexport * from './mythic-keystone-dungeon/types.js';\r\n//Mythic Keystone Leaderboard\r\nexport * from './mythic-keystone-leaderboard/types.js';\r\n//Mythic Raid Leaderboard\r\nexport * from './mythic-raid-leaderboard/types.js';\r\n//Pet\r\nexport * from './pet/types.js';\r\n//Playable Class\r\nexport * from './playable-class/types.js';\r\n//Playable Race\r\nexport * from './playable-race/types.js';\r\n//Playable Specialization\r\nexport * from './playable-specialization/types.js';\r\n//Power Type\r\nexport * from './power-type/types.js';\r\n//Profession\r\nexport * from './profession/types.js';\r\n//Pvp Season\r\nexport * from './pvp-season/types.js';\r\n//Pvp Tier\r\nexport * from './pvp-tier/types.js';\r\n//Quest\r\nexport * from './quest/types.js';\r\n//Realm\r\nexport * from './realm/types.js';\r\n//Region\r\nexport * from './region/types.js';\r\n//Reputations\r\nexport * from './reputations/types.js';\r\n//Spell\r\nexport * from './spell/types.js';\r\n//Talent\r\nexport * from './talent/types.js';\r\n//Tech Talent\r\nexport * from './tech-talent/types.js';\r\n//Title\r\nexport * from './title/types.js';\r\n//Toy\r\nexport * from './toy/types.js';\r\n//WoW Token\r\nexport * from './wow-token/types.js';\r\n"],"mappings":";AASO,IAAM,OAAO;AAKb,IAAM,YAAY,GAAG,IAAI;AAKzB,IAAM,aAAa,GAAG,IAAI;;;ACTjC,IAAM,kBAAkB,GAAG,IAAI;AAC/B,IAAM,0BAA0B,GAAG,IAAI;AAEhC,IAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,qBAAqB,CAAC,0BAAyE;AAC7F,WAAO;AAAA,MACL,MAAM,GAAG,uBAAuB,IAAI,qBAAqB;AAAA,MACzD,WAAW;AAAA,IACb;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,0BAA0B,MAAkD;AAC1E,WAAO;AAAA,MACL,MAAM,GAA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AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blizzard-api/wow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Putro",
|
|
6
6
|
"description": "A series of helpers to interact with the World of Warcraft Blizzard API",
|
|
@@ -32,27 +32,18 @@
|
|
|
32
32
|
"world of warcraft",
|
|
33
33
|
"warcraft",
|
|
34
34
|
"wow",
|
|
35
|
-
"
|
|
36
|
-
"retail",
|
|
37
|
-
"starcraft",
|
|
38
|
-
"sc2",
|
|
39
|
-
"diablo",
|
|
40
|
-
"d3",
|
|
41
|
-
"hs",
|
|
42
|
-
"hearthstone",
|
|
43
|
-
"ow",
|
|
44
|
-
"overwatch"
|
|
35
|
+
"retail"
|
|
45
36
|
],
|
|
46
37
|
"dependencies": {},
|
|
47
38
|
"peerDependencies": {
|
|
48
|
-
"@blizzard-api/core": "0.
|
|
39
|
+
"@blizzard-api/core": "1.0.0"
|
|
49
40
|
},
|
|
50
41
|
"devDependencies": {
|
|
51
|
-
"@blizzard-api/core": "0.
|
|
42
|
+
"@blizzard-api/core": "1.0.0"
|
|
52
43
|
},
|
|
53
44
|
"scripts": {
|
|
54
45
|
"build": "tsup",
|
|
55
|
-
"
|
|
46
|
+
"dev": "tsup --watch",
|
|
56
47
|
"test": "vitest run",
|
|
57
48
|
"test:coverage": "pnpm test -- --coverage",
|
|
58
49
|
"test:watch": "vitest watch"
|