@blizzard-api/wow 4.1.6 → 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 (95) hide show
  1. package/dist/account-profile/index.d.ts +2 -2
  2. package/dist/account-profile/index.js +22 -10
  3. package/dist/account-profile/index.js.map +1 -1
  4. package/dist/achievements/index.d.ts +1 -1
  5. package/dist/azerite-essence/index.d.ts +1 -1
  6. package/dist/character-achievements/index.d.ts +1 -1
  7. package/dist/character-achievements/index.js +3 -3
  8. package/dist/character-achievements/index.js.map +1 -1
  9. package/dist/character-appearance/index.d.ts +1 -1
  10. package/dist/character-collections/index.d.ts +2 -2
  11. package/dist/character-collections/index.js +19 -8
  12. package/dist/character-collections/index.js.map +1 -1
  13. package/dist/character-equipment/index.d.ts +1 -1
  14. package/dist/character-house/index.d.ts +2 -0
  15. package/dist/character-house/index.js +22 -0
  16. package/dist/character-house/index.js.map +1 -0
  17. package/dist/character-hunter-pets/index.d.ts +1 -1
  18. package/dist/character-mythic-keystone-profile/index.d.ts +1 -1
  19. package/dist/character-pvp/index.d.ts +1 -1
  20. package/dist/character-soulbinds/index.d.ts +1 -1
  21. package/dist/covenant/index.d.ts +1 -1
  22. package/dist/creature/index.d.ts +1 -1
  23. package/dist/guild/index.d.ts +1 -1
  24. package/dist/guild/index.js +5 -5
  25. package/dist/guild/index.js.map +1 -1
  26. package/dist/guild-crest/index.d.ts +1 -1
  27. package/dist/heirloom/index.d.ts +1 -1
  28. package/dist/housing-decor/index.d.ts +1 -1
  29. package/dist/{index-t9XEyuoB.d.ts → index-0Bhntrik.d.ts} +4 -7
  30. package/dist/{index-C1YdeTeh.d.ts → index-B8gaHbmp.d.ts} +7 -20
  31. package/dist/{index-BXil5dXL.d.ts → index-BA-S_4s8.d.ts} +4 -10
  32. package/dist/{index-fgCzpXCR.d.ts → index-BDKw2T5h.d.ts} +3 -6
  33. package/dist/{index-DwH3cSMV.d.ts → index-BHHO7RV3.d.ts} +3 -6
  34. package/dist/{index-XAI3xA9N.d.ts → index-BKuDd7nT.d.ts} +6 -20
  35. package/dist/{index-CaRIVhVv.d.ts → index-Bz4N9R8o.d.ts} +3 -5
  36. package/dist/{index-BzlqLJ2o.d.ts → index-C9yo07sd.d.ts} +4 -8
  37. package/dist/index-CAAhdmK-.d.ts +25 -0
  38. package/dist/{index-Djm0g1Yi.d.ts → index-CCBUIqOU.d.ts} +5 -10
  39. package/dist/{index-BmPjWZiM.d.ts → index-CT77a0JF.d.ts} +10 -19
  40. package/dist/{index-Mo0Nrg5B.d.ts → index-Cc4oZQrM.d.ts} +5 -14
  41. package/dist/{index-C0vm3zy-.d.ts → index-Cev12iRl.d.ts} +5 -12
  42. package/dist/{index-BM2O2XmC.d.ts → index-CljBIBHy.d.ts} +5 -13
  43. package/dist/{index-C_3k8Q6y.d.ts → index-D317dq94.d.ts} +7 -10
  44. package/dist/{index-BYi-k0bg.d.ts → index-D4WW7V4l.d.ts} +5 -11
  45. package/dist/index-DB-CW2qB.d.ts +42 -0
  46. package/dist/{index-gYxee23q.d.ts → index-DFlcJK5P.d.ts} +3 -6
  47. package/dist/{index-DOEs0UyY.d.ts → index-DGUAqQfD.d.ts} +3 -4
  48. package/dist/{index-D8XusKs5.d.ts → index-DP01g0EB.d.ts} +4 -8
  49. package/dist/{index-CJD7VTCV.d.ts → index-DRLsvfW5.d.ts} +3 -5
  50. package/dist/{index-DxnUqJGs.d.ts → index-DVacJ9ne.d.ts} +6 -15
  51. package/dist/{index-CEF2RBas.d.ts → index-DWXx_hQX.d.ts} +3 -5
  52. package/dist/index-DXJEmC1r.d.ts +115 -0
  53. package/dist/{index-Zo-8eUYk.d.ts → index-Dcoq8HHI.d.ts} +4 -11
  54. package/dist/{index-mg4RaAL2.d.ts → index-DkkhK4mL.d.ts} +3 -6
  55. package/dist/{index-CahuOTZl.d.ts → index-DzFNhtcD.d.ts} +11 -18
  56. package/dist/{index-YDf016Cx.d.ts → index-ECczWYo-.d.ts} +3 -6
  57. package/dist/{index-DE8VhwEW.d.ts → index-FuJJlGI3.d.ts} +24 -26
  58. package/dist/{index-DqReVqKo.d.ts → index-G_mEQkdH.d.ts} +3 -5
  59. package/dist/{index-BT8uSt8c.d.ts → index-Ho48pOyM.d.ts} +4 -11
  60. package/dist/{index-CNnXwh3U.d.ts → index-QcJecti6.d.ts} +22 -26
  61. package/dist/{index-voS2LTm4.d.ts → index-U0fk242w.d.ts} +3 -6
  62. package/dist/{index-DMYMiLKS.d.ts → index-Y2Yt9EzH.d.ts} +3 -5
  63. package/dist/{index-DU34NE5y.d.ts → index-_gTBl2_Y.d.ts} +5 -12
  64. package/dist/{index-CHk_Cxrn.d.ts → index-bl4DdMgs.d.ts} +8 -11
  65. package/dist/{index-CPXZZPZt.d.ts → index-clqZ-M8A.d.ts} +3 -6
  66. package/dist/{index-D9zRWOGv.d.ts → index-eLWbd2FJ.d.ts} +3 -6
  67. package/dist/index.d.ts +52 -36
  68. package/dist/index.js +18 -3
  69. package/dist/index.js.map +1 -1
  70. package/dist/item/index.d.ts +1 -1
  71. package/dist/item-appearance/index.d.ts +2 -0
  72. package/dist/item-appearance/index.js +74 -0
  73. package/dist/item-appearance/index.js.map +1 -0
  74. package/dist/journal/index.d.ts +1 -1
  75. package/dist/mount/index.d.ts +1 -1
  76. package/dist/mythic-keystone-affix/index.d.ts +1 -1
  77. package/dist/mythic-keystone-dungeon/index.d.ts +1 -1
  78. package/dist/mythic-keystone-leaderboard/index.d.ts +1 -1
  79. package/dist/mythic-raid-leaderboard/index.d.ts +1 -1
  80. package/dist/neighborhood-map/index.d.ts +2 -0
  81. package/dist/neighborhood-map/index.js +38 -0
  82. package/dist/neighborhood-map/index.js.map +1 -0
  83. package/dist/pet/index.d.ts +1 -1
  84. package/dist/playable-class/index.d.ts +1 -1
  85. package/dist/playable-specialization/index.d.ts +1 -1
  86. package/dist/profession/index.d.ts +1 -1
  87. package/dist/pvp-season/index.d.ts +1 -1
  88. package/dist/pvp-tier/index.d.ts +1 -1
  89. package/dist/reputations/index.d.ts +1 -1
  90. package/dist/spell/index.d.ts +1 -1
  91. package/dist/talent/index.d.ts +1 -1
  92. package/dist/tech-talent/index.d.ts +1 -1
  93. package/dist/toy/index.d.ts +1 -1
  94. package/dist/types-BihzpfkI.d.ts +18 -0
  95. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- import { a as accountProfileSummary, c as protectedCharacterProfileSummary, i as accountPetsCollectionSummary, n as accountHeirloomsCollectionSummary, o as accountToysCollectionSummary, r as accountMountsCollectionSummary, s as accountTransmogsCollectionSummary, t as accountCollectionsIndex } from "../index-DE8VhwEW.js";
2
- export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
1
+ import { a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, n as accountDecorCollection, o as accountProfileSummary, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex } from "../index-FuJJlGI3.js";
2
+ export { accountCollectionsIndex, accountDecorCollection, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
@@ -1,5 +1,5 @@
1
+ import { wowAccountProfileBasePath } from "@blizzard-api/core";
1
2
  // src/account-profile/index.ts
2
- const accountProfileBase = "/profile/user/wow";
3
3
  /**
4
4
  * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
5
5
  * @param token The OAuth 2.0 access token to use for authentication.
@@ -8,7 +8,19 @@ const accountProfileBase = "/profile/user/wow";
8
8
  function accountCollectionsIndex(token) {
9
9
  return {
10
10
  namespace: "profile",
11
- path: `${accountProfileBase}/collections`,
11
+ path: `${wowAccountProfileBasePath}/collections`,
12
+ token
13
+ };
14
+ }
15
+ /**
16
+ * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
17
+ * @param token The OAuth 2.0 access token to use for authentication.
18
+ * @returns the housing decor an account has collected.
19
+ */
20
+ function accountDecorCollection(token) {
21
+ return {
22
+ namespace: "profile",
23
+ path: `${wowAccountProfileBasePath}/collections/decor`,
12
24
  token
13
25
  };
14
26
  }
@@ -20,7 +32,7 @@ function accountCollectionsIndex(token) {
20
32
  function accountHeirloomsCollectionSummary(token) {
21
33
  return {
22
34
  namespace: "profile",
23
- path: `${accountProfileBase}/collections/heirlooms`,
35
+ path: `${wowAccountProfileBasePath}/collections/heirlooms`,
24
36
  token
25
37
  };
26
38
  }
@@ -32,7 +44,7 @@ function accountHeirloomsCollectionSummary(token) {
32
44
  function accountMountsCollectionSummary(token) {
33
45
  return {
34
46
  namespace: "profile",
35
- path: `${accountProfileBase}/collections/mounts`,
47
+ path: `${wowAccountProfileBasePath}/collections/mounts`,
36
48
  token
37
49
  };
38
50
  }
@@ -44,7 +56,7 @@ function accountMountsCollectionSummary(token) {
44
56
  function accountPetsCollectionSummary(token) {
45
57
  return {
46
58
  namespace: "profile",
47
- path: `${accountProfileBase}/collections/pets`,
59
+ path: `${wowAccountProfileBasePath}/collections/pets`,
48
60
  token
49
61
  };
50
62
  }
@@ -56,7 +68,7 @@ function accountPetsCollectionSummary(token) {
56
68
  function accountProfileSummary(token) {
57
69
  return {
58
70
  namespace: "profile",
59
- path: accountProfileBase,
71
+ path: wowAccountProfileBasePath,
60
72
  token
61
73
  };
62
74
  }
@@ -68,7 +80,7 @@ function accountProfileSummary(token) {
68
80
  function accountToysCollectionSummary(token) {
69
81
  return {
70
82
  namespace: "profile",
71
- path: `${accountProfileBase}/collections/toys`,
83
+ path: `${wowAccountProfileBasePath}/collections/toys`,
72
84
  token
73
85
  };
74
86
  }
@@ -80,7 +92,7 @@ function accountToysCollectionSummary(token) {
80
92
  function accountTransmogsCollectionSummary(token) {
81
93
  return {
82
94
  namespace: "profile",
83
- path: `${accountProfileBase}/collections/transmogs`,
95
+ path: `${wowAccountProfileBasePath}/collections/transmogs`,
84
96
  token
85
97
  };
86
98
  }
@@ -94,10 +106,10 @@ function accountTransmogsCollectionSummary(token) {
94
106
  function protectedCharacterProfileSummary(realmId, characterId, token) {
95
107
  return {
96
108
  namespace: "profile",
97
- path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,
109
+ path: `${wowAccountProfileBasePath}/protected-character/${realmId}-${characterId}`,
98
110
  token
99
111
  };
100
112
  }
101
- export { accountCollectionsIndex, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
113
+ export { accountCollectionsIndex, accountDecorCollection, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
102
114
 
103
115
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\nconst accountProfileBase = '/profile/user/wow';\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns an index of collection types for an account.\n */\nexport function accountCollectionsIndex(token: string): ProtectedResource<AccountCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/collections`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the heirlooms an account has obtained.\n */\nexport function accountHeirloomsCollectionSummary(\n token: string,\n): ProtectedResource<AccountHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/collections/heirlooms`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the mounts an account has obtained.\n */\nexport function accountMountsCollectionSummary(\n token: string,\n): ProtectedResource<AccountMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/collections/mounts`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the battle pets an account has obtained.\n */\nexport function accountPetsCollectionSummary(token: string): ProtectedResource<AccountPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/collections/pets`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a profile summary for an account.\n */\nexport function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: accountProfileBase,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the toys an account has obtained.\n */\nexport function accountToysCollectionSummary(token: string): ProtectedResource<AccountToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/collections/toys`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the transmog unlocks an account has obtained.\n */\nexport function accountTransmogsCollectionSummary(\n token: string,\n): ProtectedResource<AccountTransmogsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/collections/transmogs`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param realmId The realm ID.\n * @param characterId The character ID.\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a protected profile summary for a character.\n */\nexport function protectedCharacterProfileSummary(\n realmId: number,\n characterId: number,\n token: string,\n): ProtectedResource<ProtectedCharacterProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${accountProfileBase}/protected-character/${realmId}-${characterId}`,\n token,\n };\n}\n"],"mappings":";AAYA,MAAM,qBAAqB;;;;;;AAO3B,SAAgB,wBAAwB,OAAmE;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,+BACd,OAC2D;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAwE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,sBAAsB,OAAiE;CACrG,OAAO;EACL,WAAW;EACX,MAAM;EACN;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAwE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB;EAC5B;CACF;AACF;;;;;;;;AASA,SAAgB,iCACd,SACA,aACA,OAC6D;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,mBAAmB,uBAAuB,QAAQ,GAAG;EAC9D;CACF;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import { wowAccountProfileBasePath } from '@blizzard-api/core';\nimport type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountDecorCollectionResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns an index of collection types for an account.\n */\nexport function accountCollectionsIndex(token: string): ProtectedResource<AccountCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns the housing decor an account has collected.\n */\nexport function accountDecorCollection(token: string): ProtectedResource<AccountDecorCollectionResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/decor`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the heirlooms an account has obtained.\n */\nexport function accountHeirloomsCollectionSummary(\n token: string,\n): ProtectedResource<AccountHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/heirlooms`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the mounts an account has obtained.\n */\nexport function accountMountsCollectionSummary(\n token: string,\n): ProtectedResource<AccountMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/mounts`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the battle pets an account has obtained.\n */\nexport function accountPetsCollectionSummary(token: string): ProtectedResource<AccountPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/pets`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a profile summary for an account.\n */\nexport function accountProfileSummary(token: string): ProtectedResource<AccountProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: wowAccountProfileBasePath,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the toys an account has obtained.\n */\nexport function accountToysCollectionSummary(token: string): ProtectedResource<AccountToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/toys`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a summary of the transmog unlocks an account has obtained.\n */\nexport function accountTransmogsCollectionSummary(\n token: string,\n): ProtectedResource<AccountTransmogsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/transmogs`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param realmId The realm ID.\n * @param characterId The character ID.\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a protected profile summary for a character.\n */\nexport function protectedCharacterProfileSummary(\n realmId: number,\n characterId: number,\n token: string,\n): ProtectedResource<ProtectedCharacterProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/protected-character/${realmId}-${characterId}`,\n token,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,wBAAwB,OAAmE;CACzG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,uBAAuB,OAAkE;CACvG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,+BACd,OAC2D;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAwE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,sBAAsB,OAAiE;CACrG,OAAO;EACL,WAAW;EACX,MAAM;EACN;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAwE;CACnH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;;;AASA,SAAgB,iCACd,SACA,aACA,OAC6D;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B,uBAAuB,QAAQ,GAAG;EACrE;CACF;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as achievementMedia, i as achievementIndex, n as achievementCategory, r as achievementCategoryIndex, t as achievement } from "../index-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,5 +1,5 @@
1
+ import { wowCharacterBasePath } from "@blizzard-api/core";
1
2
  // src/character-achievements/index.ts
2
- const basePath = "/profile/wow/character";
3
3
  /**
4
4
  * @param realmSlug The slug of the realm.
5
5
  * @param characterName The lowercase name of the character.
@@ -8,7 +8,7 @@ const basePath = "/profile/wow/character";
8
8
  function characterAchievementsSummary(realmSlug, characterName) {
9
9
  return {
10
10
  namespace: "profile",
11
- path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`
11
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`
12
12
  };
13
13
  }
14
14
  /**
@@ -19,7 +19,7 @@ function characterAchievementsSummary(realmSlug, characterName) {
19
19
  function characterAchievementStatistics(realmSlug, characterName) {
20
20
  return {
21
21
  namespace: "profile",
22
- path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`
22
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`
23
23
  };
24
24
  }
25
25
  export { characterAchievementStatistics, characterAchievementsSummary };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/character-achievements/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { CharacterAchievementsSummaryResponse, CharacterAchievementStatisticsResponse } from './types';\n\nconst basePath = '/profile/wow/character';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the achievements a character has completed.\n */\nexport function characterAchievementsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a character's statistics as they pertain to achievements.\n */\nexport function characterAchievementStatistics(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementStatisticsResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,6BACd,WACA,eACgD;CAChD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAChE;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/character-achievements/index.ts"],"sourcesContent":["import { wowCharacterBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { CharacterAchievementsSummaryResponse, CharacterAchievementStatisticsResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the achievements a character has completed.\n */\nexport function characterAchievementsSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementsSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName.toLowerCase()}/achievements`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a character's statistics as they pertain to achievements.\n */\nexport function characterAchievementStatistics(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterAchievementStatisticsResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName.toLowerCase()}/achievements/statistics`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,6BACd,WACA,eACgD;CAChD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAC5E;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE;CAC5E;AACF"}
@@ -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 characterToysCollectionSummary, i as characterPetsCollectionSummary, n as characterHeirloomsCollectionSummary, o as characterTransmogCollectionSummary, r as characterMountsCollectionSummary, t as characterCollectionsIndex } from "../index-CNnXwh3U.js";
2
- export { characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
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
+ export { characterCollectionDecor, characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
@@ -1,5 +1,5 @@
1
+ import { wowCharacterBasePath } from "@blizzard-api/core";
1
2
  // src/character-collections/index.ts
2
- const basePath = "/profile/wow/character";
3
3
  /**
4
4
  * @param realmSlug The slug of the realm.
5
5
  * @param characterName The lowercase name of the character.
@@ -8,7 +8,18 @@ const basePath = "/profile/wow/character";
8
8
  function characterCollectionsIndex(realmSlug, characterName) {
9
9
  return {
10
10
  namespace: "profile",
11
- path: `${basePath}/${realmSlug}/${characterName}/collections`
11
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections`
12
+ };
13
+ }
14
+ /**
15
+ * @param realmSlug The slug of the realm.
16
+ * @param characterName The lowercase name of the character.
17
+ * @returns a summary of the housing decor a character has collected.
18
+ */
19
+ function characterCollectionDecor(realmSlug, characterName) {
20
+ return {
21
+ namespace: "profile",
22
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/decor`
12
23
  };
13
24
  }
14
25
  /**
@@ -19,7 +30,7 @@ function characterCollectionsIndex(realmSlug, characterName) {
19
30
  function characterHeirloomsCollectionSummary(realmSlug, characterName) {
20
31
  return {
21
32
  namespace: "profile",
22
- path: `${basePath}/${realmSlug}/${characterName}/collections/heirlooms`
33
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/heirlooms`
23
34
  };
24
35
  }
25
36
  /**
@@ -30,7 +41,7 @@ function characterHeirloomsCollectionSummary(realmSlug, characterName) {
30
41
  function characterMountsCollectionSummary(realmSlug, characterName) {
31
42
  return {
32
43
  namespace: "profile",
33
- path: `${basePath}/${realmSlug}/${characterName}/collections/mounts`
44
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/mounts`
34
45
  };
35
46
  }
36
47
  /**
@@ -41,7 +52,7 @@ function characterMountsCollectionSummary(realmSlug, characterName) {
41
52
  function characterPetsCollectionSummary(realmSlug, characterName) {
42
53
  return {
43
54
  namespace: "profile",
44
- path: `${basePath}/${realmSlug}/${characterName}/collections/pets`
55
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/pets`
45
56
  };
46
57
  }
47
58
  /**
@@ -52,7 +63,7 @@ function characterPetsCollectionSummary(realmSlug, characterName) {
52
63
  function characterToysCollectionSummary(realmSlug, characterName) {
53
64
  return {
54
65
  namespace: "profile",
55
- path: `${basePath}/${realmSlug}/${characterName}/collections/toys`
66
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/toys`
56
67
  };
57
68
  }
58
69
  /**
@@ -63,9 +74,9 @@ function characterToysCollectionSummary(realmSlug, characterName) {
63
74
  function characterTransmogCollectionSummary(realmSlug, characterName) {
64
75
  return {
65
76
  namespace: "profile",
66
- path: `${basePath}/${realmSlug}/${characterName}/collections/transmogs`
77
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/transmogs`
67
78
  };
68
79
  }
69
- export { characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
80
+ export { characterCollectionDecor, characterCollectionsIndex, characterHeirloomsCollectionSummary, characterMountsCollectionSummary, characterPetsCollectionSummary, characterToysCollectionSummary, characterTransmogCollectionSummary };
70
81
 
71
82
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/character-collections/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type {\n CharacterCollectionsIndexResponse,\n CharacterHeirloomsCollectionSummaryResponse,\n CharacterMountsCollectionSummaryResponse,\n CharacterPetsCollectionSummaryResponse,\n CharacterToysCollectionSummaryResponse,\n CharacterTransmogCollectionSummaryResponse,\n} from './types';\n\nconst basePath = '/profile/wow/character';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns an index of collection types for a character.\n */\nexport function characterCollectionsIndex(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the heirlooms a character has obtained.\n */\nexport function characterHeirloomsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/heirlooms`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the mounts a character has obtained.\n */\nexport function characterMountsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/mounts`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the battle pets a character has obtained.\n */\nexport function characterPetsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/pets`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the toys a character has obtained.\n */\nexport function characterToysCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/toys`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the transmog unlocks a character has obtained.\n */\nexport function characterTransmogCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterTransmogCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${characterName}/collections/transmogs`,\n };\n}\n"],"mappings":";AAUA,MAAM,WAAW;;;;;;AAOjB,SAAgB,0BACd,WACA,eAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,oCACd,WACA,eACuD;CACvD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,iCACd,WACA,eACoD;CACpD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF;;;;;;AAOA,SAAgB,mCACd,WACA,eACsD;CACtD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,cAAc;CAClD;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/character-collections/index.ts"],"sourcesContent":["import { wowCharacterBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type {\n CharacterCollectionDecorResponse,\n CharacterCollectionsIndexResponse,\n CharacterHeirloomsCollectionSummaryResponse,\n CharacterMountsCollectionSummaryResponse,\n CharacterPetsCollectionSummaryResponse,\n CharacterToysCollectionSummaryResponse,\n CharacterTransmogCollectionSummaryResponse,\n} from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns an index of collection types for a character.\n */\nexport function characterCollectionsIndex(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the housing decor a character has collected.\n */\nexport function characterCollectionDecor(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterCollectionDecorResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/decor`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the heirlooms a character has obtained.\n */\nexport function characterHeirloomsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/heirlooms`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the mounts a character has obtained.\n */\nexport function characterMountsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/mounts`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the battle pets a character has obtained.\n */\nexport function characterPetsCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/pets`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the toys a character has obtained.\n */\nexport function characterToysCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/toys`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of the transmog unlocks a character has obtained.\n */\nexport function characterTransmogCollectionSummary(\n realmSlug: string,\n characterName: string,\n): Resource<CharacterTransmogCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/collections/transmogs`,\n };\n}\n"],"mappings":";;;;;;;AAiBA,SAAgB,0BACd,WACA,eAC6C;CAC7C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF;;;;;;AAOA,SAAgB,yBACd,WACA,eAC4C;CAC5C,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF;;;;;;AAOA,SAAgB,oCACd,WACA,eACuD;CACvD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF;;;;;;AAOA,SAAgB,iCACd,WACA,eACoD;CACpD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF;;;;;;AAOA,SAAgB,+BACd,WACA,eACkD;CAClD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF;;;;;;AAOA,SAAgB,mCACd,WACA,eACsD;CACtD,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as characterEquipmentSummary } from "../index-XAI3xA9N.js";
1
+ import { t as characterEquipmentSummary } from "../index-BKuDd7nT.js";
2
2
  export { characterEquipmentSummary };
@@ -0,0 +1,2 @@
1
+ import { t as characterHouse } from "../index-CAAhdmK-.js";
2
+ export { characterHouse };
@@ -0,0 +1,22 @@
1
+ import { wowCharacterBasePath } from "@blizzard-api/core";
2
+ // src/character-house/index.ts
3
+ /**
4
+ * Get a summary of a house a character has built.
5
+ *
6
+ * Blizzard disabled this endpoint in early 2026 over player privacy concerns, and it currently returns 404 even for
7
+ * characters that own a house. The helper is kept for when it returns; the response type is unverified.
8
+ * @see {@link https://us.forums.blizzard.com/en/blizzard/t/new-housing-apis/56815}
9
+ * @param realmSlug The slug of the realm.
10
+ * @param characterName The lowercase name of the character.
11
+ * @param houseNumber The number of the character's house (e.g. 1 for house-1).
12
+ * @returns The character's house. See {@link CharacterHouseResponse}.
13
+ */
14
+ function characterHouse(realmSlug, characterName, houseNumber) {
15
+ return {
16
+ namespace: "profile",
17
+ path: `${wowCharacterBasePath}/${realmSlug}/${characterName.toLowerCase()}/house/house-${houseNumber}`
18
+ };
19
+ }
20
+ export { characterHouse };
21
+
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/character-house/index.ts"],"sourcesContent":["import { wowCharacterBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { CharacterHouseResponse } from './types';\n\n/**\n * Get a summary of a house a character has built.\n *\n * Blizzard disabled this endpoint in early 2026 over player privacy concerns, and it currently returns 404 even for\n * characters that own a house. The helper is kept for when it returns; the response type is unverified.\n * @see {@link https://us.forums.blizzard.com/en/blizzard/t/new-housing-apis/56815}\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @param houseNumber The number of the character's house (e.g. 1 for house-1).\n * @returns The character's house. See {@link CharacterHouseResponse}.\n */\nexport function characterHouse(\n realmSlug: string,\n characterName: string,\n houseNumber: number,\n): Resource<CharacterHouseResponse> {\n return {\n namespace: 'profile',\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName.toLowerCase()}/house/house-${houseNumber}`,\n };\n}\n"],"mappings":";;;;;;;;;;;;;AAeA,SAAgB,eACd,WACA,eACA,aACkC;CAClC,OAAO;EACL,WAAW;EACX,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc,YAAY,EAAE,eAAe;CAC3F;AACF"}
@@ -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 characterMythicKeystoneSeasonDetails, t as characterMythicKeystoneProfileIndex } from "../index-BYi-k0bg.js";
1
+ import { n as characterMythicKeystoneSeasonDetails, t as characterMythicKeystoneProfileIndex } from "../index-D4WW7V4l.js";
2
2
  export { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails };
@@ -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,5 +1,5 @@
1
+ import { wowGuildBasePath } from "@blizzard-api/core";
1
2
  // src/guild/index.ts
2
- const basePath = "/data/wow/guild";
3
3
  /**
4
4
  * @param realmSlug The slug of the realm.
5
5
  * @param nameSlug The lowercase name of the guild.
@@ -8,7 +8,7 @@ const basePath = "/data/wow/guild";
8
8
  function guild(realmSlug, nameSlug) {
9
9
  return {
10
10
  namespace: "profile",
11
- path: `${basePath}/${realmSlug}/${nameSlug}`
11
+ path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}`
12
12
  };
13
13
  }
14
14
  /**
@@ -19,7 +19,7 @@ function guild(realmSlug, nameSlug) {
19
19
  function guildAchievements(realmSlug, nameSlug) {
20
20
  return {
21
21
  namespace: "profile",
22
- path: `${basePath}/${realmSlug}/${nameSlug}/achievements`
22
+ path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/achievements`
23
23
  };
24
24
  }
25
25
  /**
@@ -30,7 +30,7 @@ function guildAchievements(realmSlug, nameSlug) {
30
30
  function guildActivity(realmSlug, nameSlug) {
31
31
  return {
32
32
  namespace: "profile",
33
- path: `${basePath}/${realmSlug}/${nameSlug}/activity`
33
+ path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/activity`
34
34
  };
35
35
  }
36
36
  /**
@@ -41,7 +41,7 @@ function guildActivity(realmSlug, nameSlug) {
41
41
  function guildRoster(realmSlug, nameSlug) {
42
42
  return {
43
43
  namespace: "profile",
44
- path: `${basePath}/${realmSlug}/${nameSlug}/roster`
44
+ path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/roster`
45
45
  };
46
46
  }
47
47
  export { guild, guildAchievements, guildActivity, guildRoster };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/guild/index.ts"],"sourcesContent":["import type { Resource } from '@blizzard-api/core';\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\n\nconst basePath = '/data/wow/guild';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild by its name and realm.\n */\nexport function guild(realmSlug: string, nameSlug: string): Resource<GuildResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${nameSlug}`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's achievements by name and realm.\n */\nexport function guildAchievements(realmSlug: string, nameSlug: string): Resource<GuildAchievementsResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${nameSlug}/achievements`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's activity by name and realm.\n */\nexport function guildActivity(realmSlug: string, nameSlug: string): Resource<GuildActivityResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${nameSlug}/activity`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's roster by its name and realm.\n */\nexport function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse> {\n return {\n namespace: 'profile',\n path: `${basePath}/${realmSlug}/${nameSlug}/roster`,\n };\n}\n"],"mappings":";AAGA,MAAM,WAAW;;;;;;AAOjB,SAAgB,MAAM,WAAmB,UAA2C;CAClF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG;CACpC;AACF;;;;;;AAOA,SAAgB,kBAAkB,WAAmB,UAAuD;CAC1G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS;CAC7C;AACF;;;;;;AAOA,SAAgB,cAAc,WAAmB,UAAmD;CAClG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS;CAC7C;AACF;;;;;;AAOA,SAAgB,YAAY,WAAmB,UAAiD;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS;CAC7C;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/guild/index.ts"],"sourcesContent":["import { wowGuildBasePath } from '@blizzard-api/core';\nimport type { Resource } from '@blizzard-api/core';\nimport type { GuildAchievementsResponse, GuildActivityResponse, GuildResponse, GuildRosterResponse } from './types';\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild by its name and realm.\n */\nexport function guild(realmSlug: string, nameSlug: string): Resource<GuildResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's achievements by name and realm.\n */\nexport function guildAchievements(realmSlug: string, nameSlug: string): Resource<GuildAchievementsResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/achievements`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's activity by name and realm.\n */\nexport function guildActivity(realmSlug: string, nameSlug: string): Resource<GuildActivityResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/activity`,\n };\n}\n\n/**\n * @param realmSlug The slug of the realm.\n * @param nameSlug The lowercase name of the guild.\n * @returns a single guild's roster by its name and realm.\n */\nexport function guildRoster(realmSlug: string, nameSlug: string): Resource<GuildRosterResponse> {\n return {\n namespace: 'profile',\n path: `${wowGuildBasePath}/${realmSlug}/${nameSlug}/roster`,\n };\n}\n"],"mappings":";;;;;;;AASA,SAAgB,MAAM,WAAmB,UAA2C;CAClF,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,UAAU,GAAG;CAC5C;AACF;;;;;;AAOA,SAAgB,kBAAkB,WAAmB,UAAuD;CAC1G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,UAAU,GAAG,SAAS;CACrD;AACF;;;;;;AAOA,SAAgB,cAAc,WAAmB,UAAmD;CAClG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,UAAU,GAAG,SAAS;CACrD;AACF;;;;;;AAOA,SAAgB,YAAY,WAAmB,UAAiD;CAC9F,OAAO;EACL,WAAW;EACX,MAAM,GAAG,iBAAiB,GAAG,UAAU,GAAG,SAAS;CACrD;AACF"}
@@ -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