@blizzard-api/wow 4.2.0 → 4.2.1

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.
Files changed (72) hide show
  1. package/dist/achievements/index.d.ts +1 -1
  2. package/dist/azerite-essence/index.d.ts +1 -1
  3. package/dist/character-achievements/index.d.ts +1 -1
  4. package/dist/character-appearance/index.d.ts +1 -1
  5. package/dist/character-collections/index.d.ts +1 -1
  6. package/dist/character-equipment/index.d.ts +1 -1
  7. package/dist/character-hunter-pets/index.d.ts +1 -1
  8. package/dist/character-pvp/index.d.ts +1 -1
  9. package/dist/character-soulbinds/index.d.ts +1 -1
  10. package/dist/covenant/index.d.ts +1 -1
  11. package/dist/creature/index.d.ts +1 -1
  12. package/dist/guild/index.d.ts +1 -1
  13. package/dist/guild-crest/index.d.ts +1 -1
  14. package/dist/heirloom/index.d.ts +1 -1
  15. package/dist/housing-decor/index.d.ts +1 -1
  16. package/dist/{index-t9XEyuoB.d.ts → index-0Bhntrik.d.ts} +4 -7
  17. package/dist/{index-C1YdeTeh.d.ts → index-B8gaHbmp.d.ts} +7 -20
  18. package/dist/{index-BXil5dXL.d.ts → index-BA-S_4s8.d.ts} +4 -10
  19. package/dist/{index-fgCzpXCR.d.ts → index-BDKw2T5h.d.ts} +3 -6
  20. package/dist/{index-DwH3cSMV.d.ts → index-BHHO7RV3.d.ts} +3 -6
  21. package/dist/{index-DdmXkF2F.d.ts → index-BKuDd7nT.d.ts} +3 -7
  22. package/dist/{index-CaRIVhVv.d.ts → index-Bz4N9R8o.d.ts} +3 -5
  23. package/dist/{index-BzlqLJ2o.d.ts → index-C9yo07sd.d.ts} +4 -8
  24. package/dist/{index-Djm0g1Yi.d.ts → index-CCBUIqOU.d.ts} +5 -10
  25. package/dist/{index-BmPjWZiM.d.ts → index-CT77a0JF.d.ts} +10 -19
  26. package/dist/{index-Mo0Nrg5B.d.ts → index-Cc4oZQrM.d.ts} +5 -14
  27. package/dist/{index-C0vm3zy-.d.ts → index-Cev12iRl.d.ts} +5 -12
  28. package/dist/{index-BM2O2XmC.d.ts → index-CljBIBHy.d.ts} +5 -13
  29. package/dist/{index-C_3k8Q6y.d.ts → index-D317dq94.d.ts} +7 -10
  30. package/dist/{index-BlmuhVLr.d.ts → index-DB-CW2qB.d.ts} +3 -6
  31. package/dist/{index-gYxee23q.d.ts → index-DFlcJK5P.d.ts} +3 -6
  32. package/dist/{index-DOEs0UyY.d.ts → index-DGUAqQfD.d.ts} +3 -4
  33. package/dist/{index-D8XusKs5.d.ts → index-DP01g0EB.d.ts} +4 -8
  34. package/dist/{index-CJD7VTCV.d.ts → index-DRLsvfW5.d.ts} +3 -5
  35. package/dist/{index-DxnUqJGs.d.ts → index-DVacJ9ne.d.ts} +6 -15
  36. package/dist/{index-CEF2RBas.d.ts → index-DWXx_hQX.d.ts} +3 -5
  37. package/dist/{index-CcOUGucU.d.ts → index-DXJEmC1r.d.ts} +5 -11
  38. package/dist/{index-Zo-8eUYk.d.ts → index-Dcoq8HHI.d.ts} +4 -11
  39. package/dist/{index-mg4RaAL2.d.ts → index-DkkhK4mL.d.ts} +3 -6
  40. package/dist/{index-CahuOTZl.d.ts → index-DzFNhtcD.d.ts} +11 -18
  41. package/dist/{index-YDf016Cx.d.ts → index-ECczWYo-.d.ts} +3 -6
  42. package/dist/{index-DqReVqKo.d.ts → index-G_mEQkdH.d.ts} +3 -5
  43. package/dist/{index-BT8uSt8c.d.ts → index-Ho48pOyM.d.ts} +4 -11
  44. package/dist/{index-DxnfWpb6.d.ts → index-QcJecti6.d.ts} +3 -7
  45. package/dist/{index-voS2LTm4.d.ts → index-U0fk242w.d.ts} +3 -6
  46. package/dist/{index-DMYMiLKS.d.ts → index-Y2Yt9EzH.d.ts} +3 -5
  47. package/dist/{index-DU34NE5y.d.ts → index-_gTBl2_Y.d.ts} +5 -12
  48. package/dist/{index-CHk_Cxrn.d.ts → index-bl4DdMgs.d.ts} +8 -11
  49. package/dist/{index-CPXZZPZt.d.ts → index-clqZ-M8A.d.ts} +3 -6
  50. package/dist/{index-D9zRWOGv.d.ts → index-eLWbd2FJ.d.ts} +3 -6
  51. package/dist/index.d.ts +35 -35
  52. package/dist/item/index.d.ts +1 -1
  53. package/dist/item-appearance/index.d.ts +1 -1
  54. package/dist/journal/index.d.ts +1 -1
  55. package/dist/mount/index.d.ts +1 -1
  56. package/dist/mythic-keystone-affix/index.d.ts +1 -1
  57. package/dist/mythic-keystone-dungeon/index.d.ts +1 -1
  58. package/dist/mythic-keystone-leaderboard/index.d.ts +1 -1
  59. package/dist/mythic-raid-leaderboard/index.d.ts +1 -1
  60. package/dist/neighborhood-map/index.d.ts +1 -1
  61. package/dist/pet/index.d.ts +1 -1
  62. package/dist/playable-class/index.d.ts +1 -1
  63. package/dist/playable-specialization/index.d.ts +1 -1
  64. package/dist/profession/index.d.ts +1 -1
  65. package/dist/pvp-season/index.d.ts +1 -1
  66. package/dist/pvp-tier/index.d.ts +1 -1
  67. package/dist/reputations/index.d.ts +1 -1
  68. package/dist/spell/index.d.ts +1 -1
  69. package/dist/talent/index.d.ts +1 -1
  70. package/dist/tech-talent/index.d.ts +1 -1
  71. package/dist/toy/index.d.ts +1 -1
  72. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import { a as achievementMedia, i as achievementIndex, n as achievementCategory, r as achievementCategoryIndex, t as achievement } from "../index-t9XEyuoB.js";
1
+ import { a as achievementMedia, i as achievementIndex, n as achievementCategory, r as achievementCategoryIndex, t as achievement } from "../index-0Bhntrik.js";
2
2
  export { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia };
@@ -1,2 +1,2 @@
1
- import { i as azeriteEssenceSearch, n as azeriteEssenceIndex, r as azeriteEssenceMedia, t as azeriteEssence } from "../index-CPXZZPZt.js";
1
+ import { i as azeriteEssenceSearch, n as azeriteEssenceIndex, r as azeriteEssenceMedia, t as azeriteEssence } from "../index-clqZ-M8A.js";
2
2
  export { azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch };
@@ -1,2 +1,2 @@
1
- import { n as characterAchievementsSummary, t as characterAchievementStatistics } from "../index-CaRIVhVv.js";
1
+ import { n as characterAchievementsSummary, t as characterAchievementStatistics } from "../index-Bz4N9R8o.js";
2
2
  export { characterAchievementStatistics, characterAchievementsSummary };
@@ -1,2 +1,2 @@
1
- import { t as characterAppearanceSummary } from "../index-DMYMiLKS.js";
1
+ import { t as characterAppearanceSummary } from "../index-Y2Yt9EzH.js";
2
2
  export { characterAppearanceSummary };
@@ -1,2 +1,2 @@
1
- import { a as characterPetsCollectionSummary, i as characterMountsCollectionSummary, n as characterCollectionsIndex, o as characterToysCollectionSummary, r as characterHeirloomsCollectionSummary, s as characterTransmogCollectionSummary, t as characterCollectionDecor } from "../index-DxnfWpb6.js";
1
+ import { a as characterPetsCollectionSummary, i as characterMountsCollectionSummary, n as characterCollectionsIndex, o as characterToysCollectionSummary, r as characterHeirloomsCollectionSummary, s as characterTransmogCollectionSummary, t as characterCollectionDecor } from "../index-QcJecti6.js";
2
2
  export { characterCollectionDecor, characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
@@ -1,2 +1,2 @@
1
- import { t as characterEquipmentSummary } from "../index-DdmXkF2F.js";
1
+ import { t as characterEquipmentSummary } from "../index-BKuDd7nT.js";
2
2
  export { characterEquipmentSummary };
@@ -1,2 +1,2 @@
1
- import { t as characterHunterPetsSummary } from "../index-DqReVqKo.js";
1
+ import { t as characterHunterPetsSummary } from "../index-G_mEQkdH.js";
2
2
  export { characterHunterPetsSummary };
@@ -1,2 +1,2 @@
1
- import { n as characterPvpSummary, t as characterPvpBracketStatistics } from "../index-D8XusKs5.js";
1
+ import { n as characterPvpSummary, t as characterPvpBracketStatistics } from "../index-DP01g0EB.js";
2
2
  export { characterPvpBracketStatistics, characterPvpSummary };
@@ -1,2 +1,2 @@
1
- import { t as characterSoulbinds } from "../index-DOEs0UyY.js";
1
+ import { t as characterSoulbinds } from "../index-DGUAqQfD.js";
2
2
  export { characterSoulbinds };
@@ -1,2 +1,2 @@
1
- import { a as covenantMedia, i as covenantIndex, n as conduitIndex, o as soulbind, r as covenant, s as soulbindIndex, t as conduit } from "../index-Zo-8eUYk.js";
1
+ import { a as covenantMedia, i as covenantIndex, n as conduitIndex, o as soulbind, r as covenant, s as soulbindIndex, t as conduit } from "../index-Dcoq8HHI.js";
2
2
  export { conduit, conduitIndex, covenant, covenantIndex, covenantMedia, soulbind, soulbindIndex };
@@ -1,2 +1,2 @@
1
- import { a as creatureFamilyMedia, c as creatureTypeIndex, i as creatureFamilyIndex, n as creatureDisplayMedia, o as creatureSearch, r as creatureFamily, s as creatureType, t as creature } from "../index-C1YdeTeh.js";
1
+ import { a as creatureFamilyMedia, c as creatureTypeIndex, i as creatureFamilyIndex, n as creatureDisplayMedia, o as creatureSearch, r as creatureFamily, s as creatureType, t as creature } from "../index-B8gaHbmp.js";
2
2
  export { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex };
@@ -1,2 +1,2 @@
1
- import { i as guildRoster, n as guildAchievements, r as guildActivity, t as guild } from "../index-Djm0g1Yi.js";
1
+ import { i as guildRoster, n as guildAchievements, r as guildActivity, t as guild } from "../index-CCBUIqOU.js";
2
2
  export { guild, guildAchievements, guildActivity, guildRoster };
@@ -1,2 +1,2 @@
1
- import { n as guildCrestComponentsIndex, r as guildCrestEmblem, t as guildCrestBorder } from "../index-voS2LTm4.js";
1
+ import { n as guildCrestComponentsIndex, r as guildCrestEmblem, t as guildCrestBorder } from "../index-U0fk242w.js";
2
2
  export { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem };
@@ -1,2 +1,2 @@
1
- import { n as heirloomIndex, t as heirloom } from "../index-CahuOTZl.js";
1
+ import { n as heirloomIndex, t as heirloom } from "../index-DzFNhtcD.js";
2
2
  export { heirloom, heirloomIndex };
@@ -1,2 +1,2 @@
1
- import { a as fixtureHook, c as fixtureIndex, d as roomIndex, f as roomSearch, i as fixture, l as fixtureSearch, n as decorIndex, o as fixtureHookIndex, r as decorSearch, s as fixtureHookSearch, t as decor, u as room } from "../index-fgCzpXCR.js";
1
+ import { a as fixtureHook, c as fixtureIndex, d as roomIndex, f as roomSearch, i as fixture, l as fixtureSearch, n as decorIndex, o as fixtureHookIndex, r as decorSearch, s as fixtureHookSearch, t as decor, u as room } from "../index-BDKw2T5h.js";
2
2
  export { decor, decorIndex, decorSearch, fixture, fixtureHook, fixtureHookIndex, fixtureHookSearch, fixtureIndex, fixtureSearch, room, roomIndex, roomSearch };
@@ -1,4 +1,4 @@
1
- import { Faction, KeyBase, MediaAsset, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { Faction, IdKey, MediaAsset, NameId, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  /**
3
3
  * Interface for a response from the achievement category index endpoint.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -66,9 +66,7 @@ interface AchievementResponse extends NameId, ResponseBase {
66
66
  display_order: number;
67
67
  guild_reward_items?: Array<NameIdKey>;
68
68
  is_account_wide: boolean;
69
- media: KeyBase & {
70
- id: number;
71
- };
69
+ media: IdKey;
72
70
  next_achievement?: NameIdKey;
73
71
  points: number;
74
72
  prerequisite_achievement?: NameIdKey;
@@ -78,8 +76,7 @@ interface AchievementResponse extends NameId, ResponseBase {
78
76
  reward_description?: string;
79
77
  reward_item?: NameIdKey;
80
78
  }
81
- interface Operator {
82
- name: string;
79
+ interface Operator extends NameType {
83
80
  type: 'AND' | 'COMPLETE_AT_LEAST';
84
81
  }
85
82
  /**
@@ -111,4 +108,4 @@ declare function achievementIndex(): Resource<AchievementIndexResponse>;
111
108
  */
112
109
  declare function achievementMedia(achievementId: number): Resource<AchievementMediaResponse>;
113
110
  export { achievementMedia as a, AchievementCriteria as c, AchievementResponse as d, achievementIndex as i, AchievementIndexResponse as l, achievementCategory as n, AchievementCategoryIndexResponse as o, achievementCategoryIndex as r, AchievementCategoryResponse as s, achievement as t, AchievementMediaResponse as u };
114
- //# sourceMappingURL=index-t9XEyuoB.d.ts.map
111
+ //# sourceMappingURL=index-0Bhntrik.d.ts.map
@@ -1,4 +1,4 @@
1
- import { BaseSearchParameters, KeyBase, Locales, MediaAsset, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
1
+ import { BaseSearchParameters, IdKey, KeyBase, Locales, MediaAsset, NameId, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for creature display media.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -26,22 +26,18 @@ interface CreatureFamilyMediaResponse extends ResponseBase {
26
26
  * The response for a creature family.
27
27
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
28
28
  */
29
- interface CreatureFamilyResponse extends ResponseBase {
30
- id: number;
31
- media: Media;
32
- name: string;
29
+ interface CreatureFamilyResponse extends NameId, ResponseBase {
30
+ media: IdKey;
33
31
  specialization: NameIdKey;
34
32
  }
35
33
  /**
36
34
  * The response for a creature.
37
35
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
38
36
  */
39
- interface CreatureResponse extends ResponseBase {
40
- creature_displays: Array<CreatureDisplay>;
37
+ interface CreatureResponse extends NameId, ResponseBase {
38
+ creature_displays: Array<IdKey>;
41
39
  family: NameIdKey;
42
- id: number;
43
40
  is_tameable: boolean;
44
- name: string;
45
41
  type: NameIdKey;
46
42
  }
47
43
  /**
@@ -72,13 +68,7 @@ interface CreatureTypeIndexResponse extends ResponseBase {
72
68
  * The response for a creature type.
73
69
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
74
70
  */
75
- interface CreatureTypeResponse extends ResponseBase {
76
- id: number;
77
- name: string;
78
- }
79
- interface CreatureDisplay extends KeyBase {
80
- id: number;
81
- }
71
+ interface CreatureTypeResponse extends NameId, ResponseBase {}
82
72
  interface CreatureSearchResponseItem extends KeyBase {
83
73
  data: {
84
74
  creature_displays: Array<{
@@ -101,9 +91,6 @@ interface DisplayMediaAsset {
101
91
  key: string;
102
92
  value: string;
103
93
  }
104
- interface Media extends KeyBase {
105
- id: number;
106
- }
107
94
  /**
108
95
  * Get a creature by ID.
109
96
  * @param creatureId The creature ID.
@@ -151,4 +138,4 @@ declare function creatureType(creatureTypeId: number): Resource<CreatureTypeResp
151
138
  */
152
139
  declare function creatureTypeIndex(): Resource<CreatureTypeIndexResponse>;
153
140
  export { CreatureTypeResponse as _, creatureFamilyMedia as a, creatureTypeIndex as c, CreatureFamilyMediaResponse as d, CreatureFamilyResponse as f, CreatureTypeIndexResponse as g, CreatureSearchResponse as h, creatureFamilyIndex as i, CreatureDisplayMediaResponse as l, CreatureSearchParameters as m, creatureDisplayMedia as n, creatureSearch as o, CreatureResponse as p, creatureFamily as r, creatureType as s, creature as t, CreatureFamilyIndexResponse as u };
154
- //# sourceMappingURL=index-C1YdeTeh.d.ts.map
141
+ //# sourceMappingURL=index-B8gaHbmp.d.ts.map
@@ -1,4 +1,4 @@
1
- import { KeyBase, NameId, NonNeutralFactions, Origins, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { NameId, NonNeutralFactions, NullishNameId, NullishNameIdKey, Origins, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  type KnownRaidSlugs = 'battle-of-dazaralor' | 'crucible-of-storms' | 'nyalotha-the-waking-city' | 'the-eternal-palace' | 'uldir' | 'castle-nathria' | 'sanctum-of-domination' | 'sepulcher-of-the-first-ones' | 'aberrus-the-shadowed-crucible' | 'amirdrassil-the-dreams-hope' | 'vault-of-the-incarnates' | 'liberation-of-undermine' | 'manaforge-omega' | 'nerubar-palace' | 'march-on-queldanas' | 'the-dreamrift' | 'the-voidspire' | (string & {});
3
3
  /**
4
4
  * The response for a Mythic Raid leaderboard.
@@ -7,7 +7,7 @@ type KnownRaidSlugs = 'battle-of-dazaralor' | 'crucible-of-storms' | 'nyalotha-t
7
7
  interface MythicRaidLeaderboardResponse extends ResponseBase {
8
8
  criteria_type: string;
9
9
  entries: Array<Entry>;
10
- journal_instance: JournalInstance;
10
+ journal_instance: NullishNameIdKey;
11
11
  slug: string;
12
12
  }
13
13
  interface Entry {
@@ -22,13 +22,7 @@ interface Entry {
22
22
  interface Guild extends NameId {
23
23
  realm: Realm$1;
24
24
  }
25
- interface JournalInstance extends KeyBase {
26
- id: number;
27
- name: null | string;
28
- }
29
- interface Realm$1 {
30
- id: number;
31
- name: null | string;
25
+ interface Realm$1 extends NullishNameId {
32
26
  slug: string;
33
27
  }
34
28
  /**
@@ -39,4 +33,4 @@ interface Realm$1 {
39
33
  */
40
34
  declare function mythicRaidLeaderboard(raid: KnownRaidSlugs, faction: Lowercase<NonNeutralFactions>): Resource<MythicRaidLeaderboardResponse>;
41
35
  export { KnownRaidSlugs as n, MythicRaidLeaderboardResponse as r, mythicRaidLeaderboard as t };
42
- //# sourceMappingURL=index-BXil5dXL.d.ts.map
36
+ //# sourceMappingURL=index-BA-S_4s8.d.ts.map
@@ -1,4 +1,4 @@
1
- import { BaseSearchParameters, KeyBase, Locales, NameId, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
1
+ import { BaseSearchParameters, IdKey, KeyBase, Locales, NameId, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
2
  interface DecorIndexResponse extends ResponseBase {
3
3
  decor_items: Array<NameIdKey>;
4
4
  }
@@ -22,7 +22,7 @@ interface FixtureHookResponse extends ResponseBase {
22
22
  type_name: string;
23
23
  }
24
24
  interface FixtureHookSearchResponse extends SearchResponseWithoutResults {
25
- results: Array<FixtureHookSearchResponseItem>;
25
+ results: Array<IdKey>;
26
26
  }
27
27
  interface FixtureIndexResponse extends ResponseBase {
28
28
  fixtures: Array<NullishNameIdKey>;
@@ -68,9 +68,6 @@ interface DyeSlot {
68
68
  dye_color_category: string;
69
69
  slot_index: number;
70
70
  }
71
- interface FixtureHookSearchResponseItem extends KeyBase {
72
- id: number;
73
- }
74
71
  interface FixtureSearchResponseItem extends KeyBase {
75
72
  data: {
76
73
  id: number;
@@ -153,4 +150,4 @@ declare function room(roomId: number): Resource<RoomResponse>;
153
150
  */
154
151
  declare function roomSearch(options: GenericDecorSearchParameters): Resource<RoomSearchResponse, Omit<GenericDecorSearchParameters, 'locale' | 'name'>>;
155
152
  export { RoomIndexReponse as C, GenericDecorSearchParameters as S, RoomSearchResponse as T, FixtureHookResponse as _, fixtureHook as a, FixtureResponse as b, fixtureIndex as c, roomIndex as d, roomSearch as f, FixtureHookIndexResponse as g, DecorSearchResponse as h, fixture as i, fixtureSearch as l, DecorResponse as m, decorIndex as n, fixtureHookIndex as o, DecorIndexResponse as p, decorSearch as r, fixtureHookSearch as s, decor as t, room as u, FixtureHookSearchResponse as v, RoomResponse as w, FixtureSearchResponse as x, FixtureIndexResponse as y };
156
- //# sourceMappingURL=index-fgCzpXCR.d.ts.map
153
+ //# sourceMappingURL=index-BDKw2T5h.d.ts.map
@@ -1,4 +1,4 @@
1
- import { GenderName, Href, KeyBase, MediaAsset, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { GenderName, Href, IdKey, MediaAsset, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for a playable class index.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -20,7 +20,7 @@ interface PlayableClassMediaResponse extends ResponseBase {
20
20
  */
21
21
  interface PlayableClassResponse extends NameId, ResponseBase {
22
22
  gender_name: GenderName;
23
- media: Media;
23
+ media: IdKey;
24
24
  playable_races: Array<NameIdKey>;
25
25
  power_type: NameIdKey;
26
26
  pvp_talent_slots: Href;
@@ -33,9 +33,6 @@ interface PlayableClassResponse extends NameId, ResponseBase {
33
33
  interface PvpTalentSlotsResponse extends ResponseBase {
34
34
  talent_slots: Array<TalentSlot>;
35
35
  }
36
- interface Media extends KeyBase {
37
- id: number;
38
- }
39
36
  interface TalentSlot {
40
37
  slot_number: number;
41
38
  unlock_player_level: number;
@@ -64,4 +61,4 @@ declare function playableClassMedia(playableClassId: number): Resource<PlayableC
64
61
  */
65
62
  declare function pvpTalentSlots(playableClassId: number): Resource<PvpTalentSlotsResponse>;
66
63
  export { PlayableClassIndexResponse as a, PvpTalentSlotsResponse as c, pvpTalentSlots as i, playableClassIndex as n, PlayableClassMediaResponse as o, playableClassMedia as r, PlayableClassResponse as s, playableClass as t };
67
- //# sourceMappingURL=index-DwH3cSMV.d.ts.map
64
+ //# sourceMappingURL=index-BHHO7RV3.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Character, Color, IdKey, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { Character, Color, IdKey, NameId, NameIdKey, NameType, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  interface CharacterEquipmentSummaryResponse extends ResponseBase {
3
3
  character: Character;
4
4
  equipped_item_sets?: Array<Set>;
@@ -76,11 +76,7 @@ interface ItemElement {
76
76
  is_equipped?: boolean;
77
77
  item: NameIdKey;
78
78
  }
79
- interface ModifiedCraftingStat {
80
- id: number;
81
- name: string;
82
- type: string;
83
- }
79
+ interface ModifiedCraftingStat extends NameId, NameType {}
84
80
  interface NameDescription {
85
81
  color: Color;
86
82
  display_string: string;
@@ -142,4 +138,4 @@ interface Weapon {
142
138
  */
143
139
  declare function characterEquipmentSummary(realmSlug: string, characterName: string): Resource<CharacterEquipmentSummaryResponse>;
144
140
  export { CharacterEquipmentSummaryResponse as n, characterEquipmentSummary as t };
145
- //# sourceMappingURL=index-DdmXkF2F.d.ts.map
141
+ //# sourceMappingURL=index-BKuDd7nT.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Character, Href, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { Character, Href, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  interface CharacterAchievementCriteria {
3
3
  amount?: number;
4
4
  child_criteria?: Array<CharacterAchievementCriteria>;
@@ -46,9 +46,7 @@ interface Statistic {
46
46
  name: string;
47
47
  quantity: number;
48
48
  }
49
- interface SubCategory {
50
- id: number;
51
- name: string;
49
+ interface SubCategory extends NameId {
52
50
  statistics: Array<Statistic>;
53
51
  }
54
52
  /**
@@ -64,4 +62,4 @@ declare function characterAchievementsSummary(realmSlug: string, characterName:
64
62
  */
65
63
  declare function characterAchievementStatistics(realmSlug: string, characterName: string): Resource<CharacterAchievementStatisticsResponse>;
66
64
  export { CharacterAchievementsSummaryResponse as a, CharacterAchievementStatisticsResponse as i, characterAchievementsSummary as n, CharacterAchievementCriteria as r, characterAchievementStatistics as t };
67
- //# sourceMappingURL=index-CaRIVhVv.d.ts.map
65
+ //# sourceMappingURL=index-Bz4N9R8o.d.ts.map
@@ -1,4 +1,4 @@
1
- import { BaseSearchParameters, Faction, Factions, Href, KeyBase, Locales, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
1
+ import { BaseSearchParameters, Faction, Factions, Href, IdKey, KeyBase, Locales, NameId, NameIdKey, NameType, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for a journal encounter index.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -82,7 +82,7 @@ interface JournalInstanceResponse extends NameId, ResponseBase {
82
82
  expansion?: NameIdKey;
83
83
  location?: NameId;
84
84
  map?: NameId;
85
- media: Media;
85
+ media: IdKey;
86
86
  minimum_level?: number;
87
87
  modes?: Array<ModeElement>;
88
88
  order_index?: number;
@@ -166,11 +166,7 @@ interface JournalEncounterSearchResponseItem extends KeyBase {
166
166
  sections?: Array<JournalSectionSearch>;
167
167
  };
168
168
  }
169
- interface Media extends KeyBase {
170
- id: number;
171
- }
172
- interface Mode {
173
- name: string;
169
+ interface Mode extends NameType {
174
170
  type: ModeType;
175
171
  }
176
172
  interface ModeElement {
@@ -226,4 +222,4 @@ declare function journalInstanceIndex(): Resource<JournalInstanceIndexResponse>;
226
222
  */
227
223
  declare function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse>;
228
224
  export { JournalInstanceResponse as _, journalExpansionIndex as a, journalInstanceMedia as c, JournalEncounterSearchParameters as d, JournalEncounterSearchResponse as f, JournalInstanceMediaResponse as g, JournalInstanceIndexResponse as h, journalExpansion as i, JournalEncounterIndexResponse as l, JournalExpansionResponse as m, journalEncounterIndex as n, journalInstance as o, JournalExpansionIndexResponse as p, journalEncounterSearch as r, journalInstanceIndex as s, journalEncounter as t, JournalEncounterResponse as u, JournalSection as v, JournalSectionSearch as y };
229
- //# sourceMappingURL=index-BzlqLJ2o.d.ts.map
225
+ //# sourceMappingURL=index-C9yo07sd.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Character, Color, Faction, Factions, Href, KeyBase, NameIdKey, Realm, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { Character, Color, Faction, Factions, Href, IdKey, NameIdKey, Realm, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  interface GuildAchievementsResponse extends ResponseBase {
3
3
  achievements: Array<Achievement>;
4
4
  category_progress: Array<CategoryProgress>;
@@ -46,9 +46,7 @@ interface ActivityElement {
46
46
  interface Border {
47
47
  color: RgbWithId;
48
48
  id: number;
49
- media: KeyBase & {
50
- id: number;
51
- };
49
+ media: IdKey;
52
50
  }
53
51
  interface CategoryProgress {
54
52
  category: NameIdKey;
@@ -93,9 +91,6 @@ interface Member {
93
91
  rank: number;
94
92
  }
95
93
  type ModeType = 'HEROIC' | 'LEGACY_10_MAN' | 'LEGACY_10_MAN_HEROIC' | 'LEGACY_25_MAN' | 'LEGACY_25_MAN_HEROIC' | 'LFR' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'NORMAL';
96
- interface Playable extends KeyBase {
97
- id: number;
98
- }
99
94
  interface RecentEvent {
100
95
  achievement: NameIdKey;
101
96
  timestamp: number;
@@ -109,8 +104,8 @@ interface RosterMemberCharacter extends Character {
109
104
  type: Factions;
110
105
  };
111
106
  level: number;
112
- playable_class: Playable;
113
- playable_race: Playable;
107
+ playable_class: IdKey;
108
+ playable_race: IdKey;
114
109
  }
115
110
  /**
116
111
  * @param realmSlug The slug of the realm.
@@ -137,4 +132,4 @@ declare function guildActivity(realmSlug: string, nameSlug: string): Resource<Gu
137
132
  */
138
133
  declare function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse>;
139
134
  export { GuildAchievementsResponse as a, GuildRosterResponse as c, guildRoster as i, guildAchievements as n, GuildActivityResponse as o, guildActivity as r, GuildResponse as s, guild as t };
140
- //# sourceMappingURL=index-Djm0g1Yi.d.ts.map
135
+ //# sourceMappingURL=index-CCBUIqOU.d.ts.map
@@ -1,4 +1,4 @@
1
- import { BaseSearchParameters, Color, KeyBase, Locales, MediaAsset, NameId, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
1
+ import { BaseSearchParameters, Color, IdKey, KeyBase, Locales, MediaAsset, NameId, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for an item class index.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -10,10 +10,8 @@ interface ItemClassIndexResponse extends ResponseBase {
10
10
  * The response for an item class.
11
11
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
12
12
  */
13
- interface ItemClassResponse extends ResponseBase {
14
- id: number;
13
+ interface ItemClassResponse extends NameId, ResponseBase {
15
14
  item_subclasses: Array<NameIdKey>;
16
- name: string;
17
15
  }
18
16
  /**
19
17
  * The response for an item media.
@@ -28,9 +26,7 @@ interface ItemMediaResponse extends ResponseBase {
28
26
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
29
27
  */
30
28
  interface ItemResponse extends NameId, ResponseBase {
31
- appearances?: Array<KeyBase & {
32
- id: number;
33
- }>;
29
+ appearances?: Array<IdKey>;
34
30
  description?: string;
35
31
  inventory_type: InventoryTypeName;
36
32
  is_equippable: boolean;
@@ -39,7 +35,7 @@ interface ItemResponse extends NameId, ResponseBase {
39
35
  item_subclass: NameIdKey;
40
36
  level: number;
41
37
  max_count: number;
42
- media: Media;
38
+ media: IdKey;
43
39
  preview_item: PreviewItem;
44
40
  purchase_price: number;
45
41
  purchase_quantity: number;
@@ -75,11 +71,9 @@ interface ItemSetIndexResponse extends ResponseBase {
75
71
  * The response for an item set.
76
72
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
77
73
  */
78
- interface ItemSetResponse extends ResponseBase {
74
+ interface ItemSetResponse extends NameId, ResponseBase {
79
75
  effects: Array<Effect>;
80
- id: number;
81
76
  items: Array<NameIdKey>;
82
- name: string;
83
77
  }
84
78
  /**
85
79
  * The response for an item subclass.
@@ -165,9 +159,6 @@ interface ItemSearchResponseItem extends KeyBase {
165
159
  sell_price: number;
166
160
  };
167
161
  }
168
- interface Media extends KeyBase {
169
- id: number;
170
- }
171
162
  interface PreviewItem {
172
163
  armor?: Armor;
173
164
  binding?: {
@@ -182,11 +173,11 @@ interface PreviewItem {
182
173
  durability?: Durability;
183
174
  inventory_type: InventoryTypeName;
184
175
  is_subclass_hidden?: boolean;
185
- item: Media;
176
+ item: IdKey;
186
177
  item_class: NameIdKey;
187
178
  item_subclass: NameIdKey;
188
179
  level?: Durability;
189
- media: Media;
180
+ media: IdKey;
190
181
  name: string;
191
182
  quality: ItemQuality;
192
183
  recipe?: Recipe;
@@ -213,11 +204,11 @@ interface RecipeItem {
213
204
  };
214
205
  durability: Durability;
215
206
  inventory_type: InventoryTypeName;
216
- item: Media;
207
+ item: IdKey;
217
208
  item_class: NameIdKey;
218
209
  item_subclass: NameIdKey;
219
210
  level: Durability;
220
- media: Media;
211
+ media: IdKey;
221
212
  name: string;
222
213
  quality: ItemQuality;
223
214
  requirements: Requirements;
@@ -304,4 +295,4 @@ declare function itemSetIndex(): Resource<ItemSetIndexResponse>;
304
295
  */
305
296
  declare function itemSubclass(itemClassId: number, itemSubclassId: number): Resource<ItemSubclassResponse>;
306
297
  export { ItemSubclassResponse as _, itemSearch as a, itemSubclass as c, ItemMediaResponse as d, ItemResponse as f, ItemSetResponse as g, ItemSetIndexResponse as h, itemMedia as i, ItemClassIndexResponse as l, ItemSearchResponse as m, itemClass as n, itemSet as o, ItemSearchParameters as p, itemClassIndex as r, itemSetIndex as s, item as t, ItemClassResponse as u };
307
- //# sourceMappingURL=index-BmPjWZiM.d.ts.map
298
+ //# sourceMappingURL=index-CT77a0JF.d.ts.map
@@ -1,4 +1,4 @@
1
- import { BaseSearchParameters, Faction, Factions, KeyBase, Locales, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
1
+ import { BaseSearchParameters, Faction, Factions, IdKey, KeyBase, Locales, NameIdKey, NameType, NullishNameId, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for a mount index.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -10,19 +10,17 @@ interface MountIndexResponse extends ResponseBase {
10
10
  * The response for a mount.
11
11
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
12
12
  */
13
- interface MountResponse extends ResponseBase {
14
- creature_displays: Array<CreatureDisplay>;
13
+ interface MountResponse extends NullishNameId, ResponseBase {
14
+ creature_displays: Array<IdKey>;
15
15
  description: null | string;
16
16
  faction?: Faction;
17
- id: number;
18
- name: string;
19
17
  requirements?: {
20
18
  classes?: Array<NameIdKey>;
21
19
  faction?: Faction;
22
20
  races?: Array<NameIdKey>;
23
21
  };
24
22
  should_exclude_if_uncollected?: boolean;
25
- source?: Source;
23
+ source?: NameType;
26
24
  }
27
25
  /**
28
26
  * The search parameters for mounts.
@@ -41,9 +39,6 @@ interface MountSearchParameters extends BaseSearchParameters {
41
39
  interface MountSearchResponse extends SearchResponseWithoutResults {
42
40
  results: Array<MountSearchResponseItem>;
43
41
  }
44
- interface CreatureDisplay extends KeyBase {
45
- id: number;
46
- }
47
42
  interface MountSearchResponseItem extends KeyBase {
48
43
  data: {
49
44
  creature_displays: Array<{
@@ -61,10 +56,6 @@ interface MountSearchResponseItem extends KeyBase {
61
56
  };
62
57
  };
63
58
  }
64
- interface Source {
65
- name: string;
66
- type: string;
67
- }
68
59
  /**
69
60
  * Get a mount by ID.
70
61
  * @param mountId The mount ID.
@@ -83,4 +74,4 @@ declare function mountIndex(): Resource<MountIndexResponse>;
83
74
  */
84
75
  declare function mountSearch(options: MountSearchParameters): Resource<MountSearchResponse, Omit<MountSearchParameters, 'locale' | 'name'>>;
85
76
  export { MountResponse as a, MountIndexResponse as i, mountIndex as n, MountSearchParameters as o, mountSearch as r, MountSearchResponse as s, mount as t };
86
- //# sourceMappingURL=index-Mo0Nrg5B.d.ts.map
77
+ //# sourceMappingURL=index-Cc4oZQrM.d.ts.map
@@ -1,4 +1,4 @@
1
- import { GenderName, KeyBase, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { GenderName, IdKey, KeyBase, MediaAsset, NameId, NameIdKey, NameType, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for a playable specialization index.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
@@ -22,21 +22,14 @@ interface PlayableSpecializationMediaResponse extends ResponseBase {
22
22
  interface PlayableSpecializationResponse extends NameId, ResponseBase {
23
23
  gender_description: GenderName;
24
24
  hero_talent_trees: Array<NullishNameIdKey>;
25
- media: Media;
25
+ media: IdKey;
26
26
  playable_class: NameIdKey;
27
27
  power_type: NameIdKey;
28
- primary_stat_type: PrimaryStatType;
28
+ primary_stat_type: NameType;
29
29
  pvp_talents: Array<PvpTalent>;
30
- role: PrimaryStatType;
30
+ role: NameType;
31
31
  spec_talent_tree: SpecTalentTree;
32
32
  }
33
- interface Media extends KeyBase {
34
- id: number;
35
- }
36
- interface PrimaryStatType {
37
- name: string;
38
- type: string;
39
- }
40
33
  interface PvpTalent {
41
34
  spell_tooltip: SpellTooltip;
42
35
  talent: NameIdKey;
@@ -69,4 +62,4 @@ declare function playableSpecializationIndex(): Resource<PlayableSpecializationI
69
62
  */
70
63
  declare function playableSpecializationMedia(specializationId: number): Resource<PlayableSpecializationMediaResponse>;
71
64
  export { PlayableSpecializationMediaResponse as a, PlayableSpecializationIndexResponse as i, playableSpecializationIndex as n, PlayableSpecializationResponse as o, playableSpecializationMedia as r, playableSpecialization as t };
72
- //# sourceMappingURL=index-C0vm3zy-.d.ts.map
65
+ //# sourceMappingURL=index-Cev12iRl.d.ts.map
@@ -1,13 +1,10 @@
1
- import { KeyBase, MediaAsset, Resource, ResponseBase } from "@blizzard-api/core";
1
+ import { IdKey, MediaAsset, NullishNameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
2
  /**
3
3
  * The response for a Mythic Keystone affix index.
4
4
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
5
5
  */
6
6
  interface MythicKeystoneAffixIndexResponse extends ResponseBase {
7
- affixes: Array<KeyBase & {
8
- id: number;
9
- name: null | string;
10
- }>;
7
+ affixes: Array<NullishNameIdKey>;
11
8
  }
12
9
  /**
13
10
  * The response for a Mythic Keystone affix media.
@@ -21,14 +18,9 @@ interface MythicKeystoneAffixMediaResponse extends ResponseBase {
21
18
  * The response for a Mythic Keystone affix.
22
19
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
23
20
  */
24
- interface MythicKeystoneAffixResponse extends ResponseBase {
21
+ interface MythicKeystoneAffixResponse extends NullishNameId, ResponseBase {
25
22
  description: null | string;
26
- id: number;
27
- media: Media;
28
- name: null | string;
29
- }
30
- interface Media extends KeyBase {
31
- id: number;
23
+ media: IdKey;
32
24
  }
33
25
  /**
34
26
  * Get a list of all Mythic Keystone affixes.
@@ -48,4 +40,4 @@ declare function mythicKeystoneAffixIndex(): Resource<MythicKeystoneAffixIndexRe
48
40
  */
49
41
  declare function mythicKeystoneAffixMedia(mythicKeystoneAffixId: number): Resource<MythicKeystoneAffixMediaResponse>;
50
42
  export { MythicKeystoneAffixMediaResponse as a, MythicKeystoneAffixIndexResponse as i, mythicKeystoneAffixIndex as n, MythicKeystoneAffixResponse as o, mythicKeystoneAffixMedia as r, mythicKeystoneAffix as t };
51
- //# sourceMappingURL=index-BM2O2XmC.d.ts.map
43
+ //# sourceMappingURL=index-CljBIBHy.d.ts.map