@lgriffin/esi.ts 9.0.0 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +82 -50
  3. package/dist/EsiClient.d.ts +5 -0
  4. package/dist/EsiClient.d.ts.map +1 -1
  5. package/dist/EsiClientBuilder.d.ts.map +1 -1
  6. package/dist/clients/AccessListsClient.d.ts +11 -1
  7. package/dist/clients/AccessListsClient.d.ts.map +1 -1
  8. package/dist/clients/CorporationProjectsClient.d.ts +44 -0
  9. package/dist/clients/CorporationProjectsClient.d.ts.map +1 -0
  10. package/dist/clients/MercenaryClient.d.ts +6 -2
  11. package/dist/clients/MercenaryClient.d.ts.map +1 -1
  12. package/dist/clients/MetaClient.d.ts +25 -0
  13. package/dist/clients/MetaClient.d.ts.map +1 -1
  14. package/dist/clients/MilitaryCampaignsClient.d.ts +53 -0
  15. package/dist/clients/MilitaryCampaignsClient.d.ts.map +1 -0
  16. package/dist/clients/SkyhooksClient.d.ts +6 -2
  17. package/dist/clients/SkyhooksClient.d.ts.map +1 -1
  18. package/dist/core/ApiClient.d.ts +3 -0
  19. package/dist/core/ApiClient.d.ts.map +1 -1
  20. package/dist/core/ClientRegistry.d.ts +5 -3
  21. package/dist/core/ClientRegistry.d.ts.map +1 -1
  22. package/dist/core/constants.d.ts +2 -2
  23. package/dist/core/endpoints/accessListEndpoints.d.ts +27 -18
  24. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
  25. package/dist/core/endpoints/assetEndpoints.d.ts +2 -12
  26. package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
  27. package/dist/core/endpoints/calendarEndpoints.d.ts +3 -19
  28. package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -1
  29. package/dist/core/endpoints/characterEndpoints.d.ts +4 -20
  30. package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -1
  31. package/dist/core/endpoints/cloneEndpoints.d.ts +2 -8
  32. package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -1
  33. package/dist/core/endpoints/contactEndpoints.d.ts +3 -18
  34. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
  35. package/dist/core/endpoints/contractEndpoints.d.ts +9 -75
  36. package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
  37. package/dist/core/endpoints/corporationEndpoints.d.ts +7 -36
  38. package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
  39. package/dist/core/endpoints/corporationProjectEndpoints.d.ts +50 -0
  40. package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -0
  41. package/dist/core/endpoints/factionEndpoints.d.ts +1 -6
  42. package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
  43. package/dist/core/endpoints/fleetEndpoints.d.ts +2 -12
  44. package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
  45. package/dist/core/endpoints/incursionEndpoints.d.ts +1 -5
  46. package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -1
  47. package/dist/core/endpoints/industryEndpoints.d.ts +5 -19
  48. package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
  49. package/dist/core/endpoints/mailEndpoints.d.ts +2 -12
  50. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
  51. package/dist/core/endpoints/marketEndpoints.d.ts +2 -8
  52. package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
  53. package/dist/core/endpoints/mercenaryEndpoints.d.ts +7 -10
  54. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
  55. package/dist/core/endpoints/metaEndpoints.d.ts +36 -0
  56. package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
  57. package/dist/core/endpoints/militaryCampaignEndpoints.d.ts +87 -0
  58. package/dist/core/endpoints/militaryCampaignEndpoints.d.ts.map +1 -0
  59. package/dist/core/endpoints/piEndpoints.d.ts +1 -10
  60. package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
  61. package/dist/core/endpoints/skyhookEndpoints.d.ts +7 -5
  62. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
  63. package/dist/core/endpoints/sovereigntyEndpoints.d.ts +1 -6
  64. package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
  65. package/dist/core/endpoints/universeEndpoints.d.ts +1 -11
  66. package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +2047 -1616
  70. package/dist/index.js.map +1 -1
  71. package/dist/index.mjs +2045 -1616
  72. package/dist/index.mjs.map +1 -1
  73. package/dist/schemas/access-lists.d.ts +4 -18
  74. package/dist/schemas/access-lists.d.ts.map +1 -1
  75. package/dist/schemas/alliance.d.ts +1 -5
  76. package/dist/schemas/alliance.d.ts.map +1 -1
  77. package/dist/schemas/assets.d.ts +1 -6
  78. package/dist/schemas/assets.d.ts.map +1 -1
  79. package/dist/schemas/calendar.d.ts +3 -19
  80. package/dist/schemas/calendar.d.ts.map +1 -1
  81. package/dist/schemas/character.d.ts +3 -15
  82. package/dist/schemas/character.d.ts.map +1 -1
  83. package/dist/schemas/clones.d.ts +2 -8
  84. package/dist/schemas/clones.d.ts.map +1 -1
  85. package/dist/schemas/common.d.ts +1 -5
  86. package/dist/schemas/common.d.ts.map +1 -1
  87. package/dist/schemas/contacts.d.ts +1 -6
  88. package/dist/schemas/contacts.d.ts.map +1 -1
  89. package/dist/schemas/contracts.d.ts +3 -25
  90. package/dist/schemas/contracts.d.ts.map +1 -1
  91. package/dist/schemas/corporation-projects.d.ts +17 -0
  92. package/dist/schemas/corporation-projects.d.ts.map +1 -0
  93. package/dist/schemas/corporation.d.ts +6 -31
  94. package/dist/schemas/corporation.d.ts.map +1 -1
  95. package/dist/schemas/esiEnum.d.ts +3 -0
  96. package/dist/schemas/esiEnum.d.ts.map +1 -0
  97. package/dist/schemas/faction-warfare.d.ts +1 -6
  98. package/dist/schemas/faction-warfare.d.ts.map +1 -1
  99. package/dist/schemas/fleet.d.ts +2 -12
  100. package/dist/schemas/fleet.d.ts.map +1 -1
  101. package/dist/schemas/incursions.d.ts +1 -5
  102. package/dist/schemas/incursions.d.ts.map +1 -1
  103. package/dist/schemas/index.d.ts +4 -0
  104. package/dist/schemas/index.d.ts.map +1 -1
  105. package/dist/schemas/index.js +1552 -1434
  106. package/dist/schemas/index.js.map +1 -1
  107. package/dist/schemas/index.mjs +1540 -1434
  108. package/dist/schemas/index.mjs.map +1 -1
  109. package/dist/schemas/industry.d.ts +1 -8
  110. package/dist/schemas/industry.d.ts.map +1 -1
  111. package/dist/schemas/mail.d.ts +1 -6
  112. package/dist/schemas/mail.d.ts.map +1 -1
  113. package/dist/schemas/market.d.ts +2 -8
  114. package/dist/schemas/market.d.ts.map +1 -1
  115. package/dist/schemas/mercenary.d.ts +1 -6
  116. package/dist/schemas/mercenary.d.ts.map +1 -1
  117. package/dist/schemas/meta.d.ts +25 -0
  118. package/dist/schemas/meta.d.ts.map +1 -0
  119. package/dist/schemas/military-campaigns.d.ts +26 -0
  120. package/dist/schemas/military-campaigns.d.ts.map +1 -0
  121. package/dist/schemas/pi.d.ts +1 -10
  122. package/dist/schemas/pi.d.ts.map +1 -1
  123. package/dist/schemas/sovereignty.d.ts +1 -6
  124. package/dist/schemas/sovereignty.d.ts.map +1 -1
  125. package/dist/schemas/universe.d.ts +1 -11
  126. package/dist/schemas/universe.d.ts.map +1 -1
  127. package/dist/sde/IStaticDataProvider.d.ts +106 -0
  128. package/dist/sde/IStaticDataProvider.d.ts.map +1 -0
  129. package/dist/sde/MemorySdeProvider.d.ts +167 -0
  130. package/dist/sde/MemorySdeProvider.d.ts.map +1 -0
  131. package/dist/sde/SdeDataProvider.d.ts +119 -0
  132. package/dist/sde/SdeDataProvider.d.ts.map +1 -0
  133. package/dist/sde/SdeTestDataFactory.d.ts +33 -0
  134. package/dist/sde/SdeTestDataFactory.d.ts.map +1 -0
  135. package/dist/sde/errors.d.ts +23 -0
  136. package/dist/sde/errors.d.ts.map +1 -0
  137. package/dist/sde/index.d.ts +9 -0
  138. package/dist/sde/index.d.ts.map +1 -0
  139. package/dist/sde/index.js +7684 -0
  140. package/dist/sde/index.js.map +1 -0
  141. package/dist/sde/index.mjs +7666 -0
  142. package/dist/sde/index.mjs.map +1 -0
  143. package/dist/sde/ingestion/SdeDatabaseBuilder.d.ts +18 -0
  144. package/dist/sde/ingestion/SdeDatabaseBuilder.d.ts.map +1 -0
  145. package/dist/sde/ingestion/SdeDownloader.d.ts +14 -0
  146. package/dist/sde/ingestion/SdeDownloader.d.ts.map +1 -0
  147. package/dist/sde/ingestion/SdeExtractor.d.ts +18 -0
  148. package/dist/sde/ingestion/SdeExtractor.d.ts.map +1 -0
  149. package/dist/sde/ingestion/constants.d.ts +13 -0
  150. package/dist/sde/ingestion/constants.d.ts.map +1 -0
  151. package/dist/sde/ingestion/index.d.ts +10 -0
  152. package/dist/sde/ingestion/index.d.ts.map +1 -0
  153. package/dist/sde/ingestion/transforms.d.ts +13 -0
  154. package/dist/sde/ingestion/transforms.d.ts.map +1 -0
  155. package/dist/sde/schemas.d.ts +1121 -0
  156. package/dist/sde/schemas.d.ts.map +1 -0
  157. package/dist/sde/types.d.ts +1039 -0
  158. package/dist/sde/types.d.ts.map +1 -0
  159. package/dist/sde/version.d.ts +7 -0
  160. package/dist/sde/version.d.ts.map +1 -0
  161. package/dist/testing/TestDataFactory.d.ts +1 -1
  162. package/dist/types/api-responses.d.ts +3 -0
  163. package/dist/types/api-responses.d.ts.map +1 -1
  164. package/dist/types/corporation-projects.d.ts +6 -0
  165. package/dist/types/corporation-projects.d.ts.map +1 -0
  166. package/dist/types/meta.d.ts +8 -0
  167. package/dist/types/meta.d.ts.map +1 -0
  168. package/dist/types/military-campaigns.d.ts +6 -0
  169. package/dist/types/military-campaigns.d.ts.map +1 -0
  170. package/package.json +34 -5
package/dist/index.mjs CHANGED
@@ -72,6 +72,7 @@ var ApiClient = class {
72
72
  validateResponse = true;
73
73
  validateRequest = false;
74
74
  language;
75
+ compatibilityDate;
75
76
  getTimeout() {
76
77
  return this.timeout;
77
78
  }
@@ -153,6 +154,12 @@ var ApiClient = class {
153
154
  setLanguage(language) {
154
155
  this.language = language;
155
156
  }
157
+ getCompatibilityDate() {
158
+ return this.compatibilityDate;
159
+ }
160
+ setCompatibilityDate(date) {
161
+ this.compatibilityDate = date;
162
+ }
156
163
  setAccessToken(token) {
157
164
  if (this.accessToken !== token) {
158
165
  this.cache?.clear();
@@ -177,7 +184,8 @@ var ApiClient = class {
177
184
  hasTokenProvider: this.tokenProvider !== void 0,
178
185
  validateResponse: this.validateResponse,
179
186
  validateRequest: this.validateRequest,
180
- language: this.language
187
+ language: this.language,
188
+ compatibilityDate: this.compatibilityDate
181
189
  };
182
190
  }
183
191
  async refreshToken() {
@@ -537,7 +545,7 @@ function isValidationError(error) {
537
545
 
538
546
  // src/core/constants.ts
539
547
  var PACKAGE_NAME = "esi.ts";
540
- var PACKAGE_VERSION = "7.4.0";
548
+ var PACKAGE_VERSION = "9.2.0";
541
549
  var USER_AGENT = `${PACKAGE_NAME}/${PACKAGE_VERSION}`;
542
550
  var COMPATIBILITY_DATE = "2026-05-19";
543
551
 
@@ -553,7 +561,7 @@ function buildRequestHeaders(client, url, method, requiresAuth, useETag, body, r
553
561
  Accept: "application/json",
554
562
  "Accept-Encoding": "gzip, deflate, br",
555
563
  "User-Agent": USER_AGENT,
556
- "X-Compatibility-Date": COMPATIBILITY_DATE
564
+ "X-Compatibility-Date": client.getCompatibilityDate() ?? COMPATIBILITY_DATE
557
565
  };
558
566
  const language = client.getLanguage();
559
567
  if (language) {
@@ -1845,33 +1853,44 @@ var BaseEsiClient = class {
1845
1853
  };
1846
1854
 
1847
1855
  // src/core/endpoints/allianceEndpoints.ts
1848
- import { z as z2 } from "zod";
1856
+ import { z as z3 } from "zod";
1849
1857
 
1850
1858
  // src/schemas/alliance.ts
1859
+ import { z as z2 } from "zod";
1860
+
1861
+ // src/schemas/esiEnum.ts
1851
1862
  import { z } from "zod";
1852
- var AllianceInfoSchema = z.looseObject({
1853
- alliance_id: z.number().optional(),
1854
- name: z.string(),
1855
- ticker: z.string(),
1856
- creator_id: z.number(),
1857
- creator_corporation_id: z.number(),
1858
- executor_corporation_id: z.number().optional(),
1859
- date_founded: z.string(),
1860
- faction_id: z.number().optional()
1861
- });
1862
- var AllianceContactSchema = z.looseObject({
1863
- contact_id: z.number(),
1864
- contact_type: z.enum(["character", "corporation", "alliance"]),
1865
- standing: z.number(),
1866
- label_ids: z.array(z.number()).optional()
1867
- });
1868
- var AllianceContactLabelSchema = z.looseObject({
1869
- label_id: z.number(),
1870
- label_name: z.string()
1871
- });
1872
- var AllianceIconSchema = z.looseObject({
1873
- px64x64: z.string().optional(),
1874
- px128x128: z.string().optional()
1863
+ function esiEnum(values) {
1864
+ return z.union([
1865
+ z.enum(values),
1866
+ z.string()
1867
+ ]);
1868
+ }
1869
+
1870
+ // src/schemas/alliance.ts
1871
+ var AllianceInfoSchema = z2.looseObject({
1872
+ alliance_id: z2.number().optional(),
1873
+ name: z2.string(),
1874
+ ticker: z2.string(),
1875
+ creator_id: z2.number(),
1876
+ creator_corporation_id: z2.number(),
1877
+ executor_corporation_id: z2.number().optional(),
1878
+ date_founded: z2.string(),
1879
+ faction_id: z2.number().optional()
1880
+ });
1881
+ var AllianceContactSchema = z2.looseObject({
1882
+ contact_id: z2.number(),
1883
+ contact_type: esiEnum(["character", "corporation", "alliance"]),
1884
+ standing: z2.number(),
1885
+ label_ids: z2.array(z2.number()).optional()
1886
+ });
1887
+ var AllianceContactLabelSchema = z2.looseObject({
1888
+ label_id: z2.number(),
1889
+ label_name: z2.string()
1890
+ });
1891
+ var AllianceIconSchema = z2.looseObject({
1892
+ px64x64: z2.string().optional(),
1893
+ px128x128: z2.string().optional()
1875
1894
  });
1876
1895
 
1877
1896
  // src/core/endpoints/allianceEndpoints.ts
@@ -1888,7 +1907,7 @@ var allianceEndpoints = {
1888
1907
  method: "GET",
1889
1908
  requiresAuth: false,
1890
1909
  pathParams: ["allianceId"],
1891
- responseSchema: z2.array(z2.number())
1910
+ responseSchema: z3.array(z3.number())
1892
1911
  },
1893
1912
  getIcons: {
1894
1913
  path: "alliances/{allianceId}/icons/",
@@ -1901,26 +1920,26 @@ var allianceEndpoints = {
1901
1920
  path: "alliances",
1902
1921
  method: "GET",
1903
1922
  requiresAuth: false,
1904
- responseSchema: z2.array(z2.number())
1923
+ responseSchema: z3.array(z3.number())
1905
1924
  }
1906
1925
  };
1907
1926
 
1908
1927
  // src/core/endpoints/contactEndpoints.ts
1909
- import { z as z4 } from "zod";
1928
+ import { z as z5 } from "zod";
1910
1929
 
1911
1930
  // src/schemas/contacts.ts
1912
- import { z as z3 } from "zod";
1913
- var ContactSchema = z3.looseObject({
1914
- contact_id: z3.number(),
1915
- contact_type: z3.enum(["character", "corporation", "alliance", "faction"]),
1916
- standing: z3.number(),
1917
- label_ids: z3.array(z3.number()).optional(),
1918
- is_blocked: z3.boolean().optional(),
1919
- is_watched: z3.boolean().optional()
1931
+ import { z as z4 } from "zod";
1932
+ var ContactSchema = z4.looseObject({
1933
+ contact_id: z4.number(),
1934
+ contact_type: esiEnum(["character", "corporation", "alliance", "faction"]),
1935
+ standing: z4.number(),
1936
+ label_ids: z4.array(z4.number()).optional(),
1937
+ is_blocked: z4.boolean().optional(),
1938
+ is_watched: z4.boolean().optional()
1920
1939
  });
1921
- var ContactLabelSchema = z3.looseObject({
1922
- label_id: z3.number(),
1923
- label_name: z3.string()
1940
+ var ContactLabelSchema = z4.looseObject({
1941
+ label_id: z4.number(),
1942
+ label_name: z4.string()
1924
1943
  });
1925
1944
 
1926
1945
  // src/core/endpoints/contactEndpoints.ts
@@ -1930,42 +1949,42 @@ var contactEndpoints = {
1930
1949
  method: "GET",
1931
1950
  requiresAuth: true,
1932
1951
  pathParams: ["allianceId"],
1933
- responseSchema: z4.array(ContactSchema)
1952
+ responseSchema: z5.array(ContactSchema)
1934
1953
  },
1935
1954
  getAllianceContactLabels: {
1936
1955
  path: "alliances/{allianceId}/contacts/labels",
1937
1956
  method: "GET",
1938
1957
  requiresAuth: true,
1939
1958
  pathParams: ["allianceId"],
1940
- responseSchema: z4.array(ContactLabelSchema)
1959
+ responseSchema: z5.array(ContactLabelSchema)
1941
1960
  },
1942
1961
  getCharacterContacts: {
1943
1962
  path: "characters/{characterId}/contacts",
1944
1963
  method: "GET",
1945
1964
  requiresAuth: true,
1946
1965
  pathParams: ["characterId"],
1947
- responseSchema: z4.array(ContactSchema)
1966
+ responseSchema: z5.array(ContactSchema)
1948
1967
  },
1949
1968
  getCharacterContactLabels: {
1950
1969
  path: "characters/{characterId}/contacts/labels",
1951
1970
  method: "GET",
1952
1971
  requiresAuth: true,
1953
1972
  pathParams: ["characterId"],
1954
- responseSchema: z4.array(ContactLabelSchema)
1973
+ responseSchema: z5.array(ContactLabelSchema)
1955
1974
  },
1956
1975
  getCorporationContacts: {
1957
1976
  path: "corporations/{corporationId}/contacts",
1958
1977
  method: "GET",
1959
1978
  requiresAuth: true,
1960
1979
  pathParams: ["corporationId"],
1961
- responseSchema: z4.array(ContactSchema)
1980
+ responseSchema: z5.array(ContactSchema)
1962
1981
  },
1963
1982
  getCorporationContactLabels: {
1964
1983
  path: "corporations/{corporationId}/contacts/labels",
1965
1984
  method: "GET",
1966
1985
  requiresAuth: true,
1967
1986
  pathParams: ["corporationId"],
1968
- responseSchema: z4.array(ContactLabelSchema)
1987
+ responseSchema: z5.array(ContactLabelSchema)
1969
1988
  },
1970
1989
  addContacts: {
1971
1990
  path: "characters/{characterId}/contacts",
@@ -1974,7 +1993,7 @@ var contactEndpoints = {
1974
1993
  pathParams: ["characterId"],
1975
1994
  queryParams: { standing: "standing" },
1976
1995
  bodyBuilder: (contactIds) => contactIds,
1977
- requestSchema: z4.array(z4.number().int())
1996
+ requestSchema: z5.array(z5.number().int())
1978
1997
  },
1979
1998
  editContacts: {
1980
1999
  path: "characters/{characterId}/contacts",
@@ -2074,31 +2093,31 @@ var AllianceClient = class extends BaseEsiClient {
2074
2093
  };
2075
2094
 
2076
2095
  // src/core/endpoints/assetEndpoints.ts
2077
- import { z as z6 } from "zod";
2096
+ import { z as z7 } from "zod";
2078
2097
 
2079
2098
  // src/schemas/assets.ts
2080
- import { z as z5 } from "zod";
2081
- var CharacterAssetSchema = z5.looseObject({
2082
- item_id: z5.number(),
2083
- type_id: z5.number(),
2084
- quantity: z5.number(),
2085
- location_id: z5.number(),
2086
- location_type: z5.enum(["station", "solar_system", "item", "other"]),
2087
- location_flag: z5.string(),
2088
- is_singleton: z5.boolean(),
2089
- is_blueprint_copy: z5.boolean().optional()
2090
- });
2091
- var AssetLocationSchema = z5.looseObject({
2092
- item_id: z5.number(),
2093
- position: z5.looseObject({
2094
- x: z5.number(),
2095
- y: z5.number(),
2096
- z: z5.number()
2099
+ import { z as z6 } from "zod";
2100
+ var CharacterAssetSchema = z6.looseObject({
2101
+ item_id: z6.number(),
2102
+ type_id: z6.number(),
2103
+ quantity: z6.number(),
2104
+ location_id: z6.number(),
2105
+ location_type: esiEnum(["station", "solar_system", "item", "other"]),
2106
+ location_flag: z6.string(),
2107
+ is_singleton: z6.boolean(),
2108
+ is_blueprint_copy: z6.boolean().optional()
2109
+ });
2110
+ var AssetLocationSchema = z6.looseObject({
2111
+ item_id: z6.number(),
2112
+ position: z6.looseObject({
2113
+ x: z6.number(),
2114
+ y: z6.number(),
2115
+ z: z6.number()
2097
2116
  })
2098
2117
  });
2099
- var AssetNameSchema = z5.looseObject({
2100
- item_id: z5.number(),
2101
- name: z5.string()
2118
+ var AssetNameSchema = z6.looseObject({
2119
+ item_id: z6.number(),
2120
+ name: z6.string()
2102
2121
  });
2103
2122
 
2104
2123
  // src/core/endpoints/assetEndpoints.ts
@@ -2108,14 +2127,14 @@ var assetEndpoints = {
2108
2127
  method: "GET",
2109
2128
  requiresAuth: true,
2110
2129
  pathParams: ["characterId"],
2111
- responseSchema: z6.array(CharacterAssetSchema)
2130
+ responseSchema: z7.array(CharacterAssetSchema)
2112
2131
  },
2113
2132
  getCorporationAssets: {
2114
2133
  path: "corporations/{corporationId}/assets/",
2115
2134
  method: "GET",
2116
2135
  requiresAuth: true,
2117
2136
  pathParams: ["corporationId"],
2118
- responseSchema: z6.array(CharacterAssetSchema)
2137
+ responseSchema: z7.array(CharacterAssetSchema)
2119
2138
  },
2120
2139
  postCharacterAssetLocations: {
2121
2140
  path: "characters/{characterId}/assets/locations/",
@@ -2123,7 +2142,7 @@ var assetEndpoints = {
2123
2142
  requiresAuth: true,
2124
2143
  pathParams: ["characterId"],
2125
2144
  bodyBuilder: (itemIds) => itemIds,
2126
- responseSchema: z6.array(AssetLocationSchema)
2145
+ responseSchema: z7.array(AssetLocationSchema)
2127
2146
  },
2128
2147
  postCharacterAssetNames: {
2129
2148
  path: "characters/{characterId}/assets/names/",
@@ -2131,7 +2150,7 @@ var assetEndpoints = {
2131
2150
  requiresAuth: true,
2132
2151
  pathParams: ["characterId"],
2133
2152
  bodyBuilder: (itemIds) => itemIds,
2134
- responseSchema: z6.array(AssetNameSchema)
2153
+ responseSchema: z7.array(AssetNameSchema)
2135
2154
  },
2136
2155
  postCorporationAssetLocations: {
2137
2156
  path: "corporations/{corporationId}/assets/locations/",
@@ -2242,43 +2261,43 @@ var AssetsClient = class extends BaseEsiClient {
2242
2261
  };
2243
2262
 
2244
2263
  // src/core/endpoints/calendarEndpoints.ts
2245
- import { z as z8 } from "zod";
2264
+ import { z as z9 } from "zod";
2246
2265
 
2247
2266
  // src/schemas/calendar.ts
2248
- import { z as z7 } from "zod";
2249
- var CalendarEventSchema = z7.looseObject({
2250
- event_id: z7.number(),
2251
- event_date: z7.string(),
2252
- title: z7.string(),
2253
- importance: z7.number(),
2254
- event_response: z7.enum([
2267
+ import { z as z8 } from "zod";
2268
+ var CalendarEventSchema = z8.looseObject({
2269
+ event_id: z8.number(),
2270
+ event_date: z8.string(),
2271
+ title: z8.string(),
2272
+ importance: z8.number(),
2273
+ event_response: esiEnum([
2255
2274
  "declined",
2256
2275
  "not_responded",
2257
2276
  "accepted",
2258
2277
  "tentative"
2259
2278
  ])
2260
2279
  });
2261
- var CalendarEventDetailSchema = z7.looseObject({
2262
- event_id: z7.number(),
2263
- date: z7.string(),
2264
- title: z7.string(),
2265
- text: z7.string(),
2266
- owner_id: z7.number(),
2267
- owner_name: z7.string(),
2268
- owner_type: z7.enum([
2280
+ var CalendarEventDetailSchema = z8.looseObject({
2281
+ event_id: z8.number(),
2282
+ date: z8.string(),
2283
+ title: z8.string(),
2284
+ text: z8.string(),
2285
+ owner_id: z8.number(),
2286
+ owner_name: z8.string(),
2287
+ owner_type: esiEnum([
2269
2288
  "eve_server",
2270
2289
  "corporation",
2271
2290
  "faction",
2272
2291
  "character",
2273
2292
  "alliance"
2274
2293
  ]),
2275
- duration: z7.number(),
2276
- importance: z7.number(),
2277
- response: z7.string()
2294
+ duration: z8.number(),
2295
+ importance: z8.number(),
2296
+ response: z8.string()
2278
2297
  });
2279
- var CalendarEventAttendeeSchema = z7.looseObject({
2280
- character_id: z7.number(),
2281
- event_response: z7.enum([
2298
+ var CalendarEventAttendeeSchema = z8.looseObject({
2299
+ character_id: z8.number(),
2300
+ event_response: esiEnum([
2282
2301
  "declined",
2283
2302
  "not_responded",
2284
2303
  "accepted",
@@ -2293,7 +2312,7 @@ var calendarEndpoints = {
2293
2312
  method: "GET",
2294
2313
  requiresAuth: true,
2295
2314
  pathParams: ["characterId"],
2296
- responseSchema: z8.array(CalendarEventSchema)
2315
+ responseSchema: z9.array(CalendarEventSchema)
2297
2316
  },
2298
2317
  getCalendarEventById: {
2299
2318
  path: "characters/{characterId}/calendar/{eventId}/",
@@ -2307,7 +2326,7 @@ var calendarEndpoints = {
2307
2326
  method: "GET",
2308
2327
  requiresAuth: true,
2309
2328
  pathParams: ["characterId", "eventId"],
2310
- responseSchema: z8.array(CalendarEventAttendeeSchema)
2329
+ responseSchema: z9.array(CalendarEventAttendeeSchema)
2311
2330
  },
2312
2331
  respondToCalendarEvent: {
2313
2332
  path: "characters/{characterId}/calendar/{eventId}/",
@@ -2383,156 +2402,156 @@ var CalendarClient = class extends BaseEsiClient {
2383
2402
  };
2384
2403
 
2385
2404
  // src/core/endpoints/characterEndpoints.ts
2386
- import { z as z11 } from "zod";
2405
+ import { z as z12 } from "zod";
2387
2406
 
2388
2407
  // src/schemas/character.ts
2389
- import { z as z9 } from "zod";
2390
- var CharacterInfoSchema = z9.looseObject({
2391
- character_id: z9.number().optional(),
2392
- name: z9.string(),
2393
- description: z9.string().optional(),
2394
- corporation_id: z9.number(),
2395
- alliance_id: z9.number().optional(),
2396
- faction_id: z9.number().optional(),
2397
- ancestry_id: z9.number().optional(),
2398
- bloodline_id: z9.number(),
2399
- race_id: z9.number(),
2400
- gender: z9.enum(["male", "female"]),
2401
- security_status: z9.number().optional(),
2402
- title: z9.string().optional(),
2403
- birthday: z9.string()
2404
- });
2405
- var CharacterPortraitSchema = z9.looseObject({
2406
- px64x64: z9.string().optional(),
2407
- px128x128: z9.string().optional(),
2408
- px256x256: z9.string().optional(),
2409
- px512x512: z9.string().optional()
2410
- });
2411
- var CharacterAttributesSchema = z9.looseObject({
2412
- charisma: z9.number(),
2413
- intelligence: z9.number(),
2414
- memory: z9.number(),
2415
- perception: z9.number(),
2416
- willpower: z9.number(),
2417
- bonus_remaps: z9.number().optional(),
2418
- last_remap_date: z9.string().optional(),
2419
- accrued_remap_cooldown_date: z9.string().optional()
2420
- });
2421
- var AgentResearchSchema = z9.looseObject({
2422
- agent_id: z9.number(),
2423
- skill_type_id: z9.number(),
2424
- started_at: z9.string(),
2425
- points_per_day: z9.number(),
2426
- remainder_points: z9.number()
2427
- });
2428
- var BlueprintSchema = z9.looseObject({
2429
- item_id: z9.number(),
2430
- type_id: z9.number(),
2431
- location_id: z9.number(),
2432
- location_flag: z9.string(),
2433
- quantity: z9.number(),
2434
- time_efficiency: z9.number(),
2435
- material_efficiency: z9.number(),
2436
- runs: z9.number()
2437
- });
2438
- var CorporationHistorySchema = z9.looseObject({
2439
- corporation_id: z9.number(),
2440
- record_id: z9.number(),
2441
- start_date: z9.string(),
2442
- is_deleted: z9.boolean().optional()
2443
- });
2444
- var JumpFatigueSchema = z9.looseObject({
2445
- jump_fatigue_expire_date: z9.string().optional(),
2446
- last_jump_date: z9.string().optional(),
2447
- last_update_date: z9.string().optional()
2448
- });
2449
- var MedalSchema = z9.looseObject({
2450
- medal_id: z9.number(),
2451
- title: z9.string(),
2452
- description: z9.string(),
2453
- date: z9.string(),
2454
- issuer_id: z9.number(),
2455
- corporation_id: z9.number(),
2456
- reason: z9.string(),
2457
- status: z9.enum(["private", "public"]),
2458
- graphics: z9.array(
2459
- z9.looseObject({
2460
- part: z9.number(),
2461
- layer: z9.number(),
2462
- graphic: z9.string(),
2463
- color: z9.number().optional()
2408
+ import { z as z10 } from "zod";
2409
+ var CharacterInfoSchema = z10.looseObject({
2410
+ character_id: z10.number().optional(),
2411
+ name: z10.string(),
2412
+ description: z10.string().optional(),
2413
+ corporation_id: z10.number(),
2414
+ alliance_id: z10.number().optional(),
2415
+ faction_id: z10.number().optional(),
2416
+ ancestry_id: z10.number().optional(),
2417
+ bloodline_id: z10.number(),
2418
+ race_id: z10.number(),
2419
+ gender: esiEnum(["male", "female"]),
2420
+ security_status: z10.number().optional(),
2421
+ title: z10.string().optional(),
2422
+ birthday: z10.string()
2423
+ });
2424
+ var CharacterPortraitSchema = z10.looseObject({
2425
+ px64x64: z10.string().optional(),
2426
+ px128x128: z10.string().optional(),
2427
+ px256x256: z10.string().optional(),
2428
+ px512x512: z10.string().optional()
2429
+ });
2430
+ var CharacterAttributesSchema = z10.looseObject({
2431
+ charisma: z10.number(),
2432
+ intelligence: z10.number(),
2433
+ memory: z10.number(),
2434
+ perception: z10.number(),
2435
+ willpower: z10.number(),
2436
+ bonus_remaps: z10.number().optional(),
2437
+ last_remap_date: z10.string().optional(),
2438
+ accrued_remap_cooldown_date: z10.string().optional()
2439
+ });
2440
+ var AgentResearchSchema = z10.looseObject({
2441
+ agent_id: z10.number(),
2442
+ skill_type_id: z10.number(),
2443
+ started_at: z10.string(),
2444
+ points_per_day: z10.number(),
2445
+ remainder_points: z10.number()
2446
+ });
2447
+ var BlueprintSchema = z10.looseObject({
2448
+ item_id: z10.number(),
2449
+ type_id: z10.number(),
2450
+ location_id: z10.number(),
2451
+ location_flag: z10.string(),
2452
+ quantity: z10.number(),
2453
+ time_efficiency: z10.number(),
2454
+ material_efficiency: z10.number(),
2455
+ runs: z10.number()
2456
+ });
2457
+ var CorporationHistorySchema = z10.looseObject({
2458
+ corporation_id: z10.number(),
2459
+ record_id: z10.number(),
2460
+ start_date: z10.string(),
2461
+ is_deleted: z10.boolean().optional()
2462
+ });
2463
+ var JumpFatigueSchema = z10.looseObject({
2464
+ jump_fatigue_expire_date: z10.string().optional(),
2465
+ last_jump_date: z10.string().optional(),
2466
+ last_update_date: z10.string().optional()
2467
+ });
2468
+ var MedalSchema = z10.looseObject({
2469
+ medal_id: z10.number(),
2470
+ title: z10.string(),
2471
+ description: z10.string(),
2472
+ date: z10.string(),
2473
+ issuer_id: z10.number(),
2474
+ corporation_id: z10.number(),
2475
+ reason: z10.string(),
2476
+ status: esiEnum(["private", "public"]),
2477
+ graphics: z10.array(
2478
+ z10.looseObject({
2479
+ part: z10.number(),
2480
+ layer: z10.number(),
2481
+ graphic: z10.string(),
2482
+ color: z10.number().optional()
2464
2483
  })
2465
2484
  )
2466
2485
  });
2467
- var NotificationSchema = z9.looseObject({
2468
- notification_id: z9.number(),
2469
- type: z9.string(),
2470
- sender_id: z9.number(),
2471
- sender_type: z9.enum([
2486
+ var NotificationSchema = z10.looseObject({
2487
+ notification_id: z10.number(),
2488
+ type: z10.string(),
2489
+ sender_id: z10.number(),
2490
+ sender_type: esiEnum([
2472
2491
  "character",
2473
2492
  "corporation",
2474
2493
  "alliance",
2475
2494
  "faction",
2476
2495
  "other"
2477
2496
  ]),
2478
- timestamp: z9.string(),
2479
- text: z9.string().optional(),
2480
- is_read: z9.boolean().optional()
2481
- });
2482
- var CharacterTitleSchema = z9.looseObject({
2483
- title_id: z9.number(),
2484
- name: z9.string()
2485
- });
2486
- var CharacterAffiliationSchema = z9.looseObject({
2487
- character_id: z9.number(),
2488
- corporation_id: z9.number(),
2489
- alliance_id: z9.number().optional(),
2490
- faction_id: z9.number().optional()
2491
- });
2492
- var ContactNotificationSchema = z9.looseObject({
2493
- notification_id: z9.number(),
2494
- sender_character_id: z9.number(),
2495
- message: z9.string(),
2496
- send_date: z9.string(),
2497
- standing_level: z9.number()
2498
- });
2499
- var CharacterRoleSchema = z9.looseObject({
2500
- roles: z9.array(z9.string()).optional(),
2501
- roles_at_hq: z9.array(z9.string()).optional(),
2502
- roles_at_base: z9.array(z9.string()).optional(),
2503
- roles_at_other: z9.array(z9.string()).optional()
2497
+ timestamp: z10.string(),
2498
+ text: z10.string().optional(),
2499
+ is_read: z10.boolean().optional()
2500
+ });
2501
+ var CharacterTitleSchema = z10.looseObject({
2502
+ title_id: z10.number(),
2503
+ name: z10.string()
2504
+ });
2505
+ var CharacterAffiliationSchema = z10.looseObject({
2506
+ character_id: z10.number(),
2507
+ corporation_id: z10.number(),
2508
+ alliance_id: z10.number().optional(),
2509
+ faction_id: z10.number().optional()
2510
+ });
2511
+ var ContactNotificationSchema = z10.looseObject({
2512
+ notification_id: z10.number(),
2513
+ sender_character_id: z10.number(),
2514
+ message: z10.string(),
2515
+ send_date: z10.string(),
2516
+ standing_level: z10.number()
2517
+ });
2518
+ var CharacterRoleSchema = z10.looseObject({
2519
+ roles: z10.array(z10.string()).optional(),
2520
+ roles_at_hq: z10.array(z10.string()).optional(),
2521
+ roles_at_base: z10.array(z10.string()).optional(),
2522
+ roles_at_other: z10.array(z10.string()).optional()
2504
2523
  });
2505
2524
 
2506
2525
  // src/schemas/common.ts
2507
- import { z as z10 } from "zod";
2508
- var StandingSchema = z10.looseObject({
2509
- from_id: z10.number(),
2510
- from_type: z10.enum(["agent", "npc_corp", "faction"]),
2511
- standing: z10.number()
2512
- });
2513
- var RateLimitMetaSchema = z10.object({
2514
- remaining: z10.number(),
2515
- limit: z10.number(),
2516
- used: z10.number(),
2517
- group: z10.string().nullable()
2518
- });
2519
- var EsiResponseMetaSchema = z10.looseObject({
2520
- headers: z10.record(z10.string(), z10.string()),
2521
- fromCache: z10.boolean(),
2522
- stale: z10.boolean(),
2523
- cacheHitType: z10.enum(["spec-ttl", "etag-304", "stale-on-error"]).optional(),
2524
- warning: z10.object({
2525
- code: z10.number(),
2526
- message: z10.string()
2526
+ import { z as z11 } from "zod";
2527
+ var StandingSchema = z11.looseObject({
2528
+ from_id: z11.number(),
2529
+ from_type: esiEnum(["agent", "npc_corp", "faction"]),
2530
+ standing: z11.number()
2531
+ });
2532
+ var RateLimitMetaSchema = z11.object({
2533
+ remaining: z11.number(),
2534
+ limit: z11.number(),
2535
+ used: z11.number(),
2536
+ group: z11.string().nullable()
2537
+ });
2538
+ var EsiResponseMetaSchema = z11.looseObject({
2539
+ headers: z11.record(z11.string(), z11.string()),
2540
+ fromCache: z11.boolean(),
2541
+ stale: z11.boolean(),
2542
+ cacheHitType: z11.enum(["spec-ttl", "etag-304", "stale-on-error"]).optional(),
2543
+ warning: z11.object({
2544
+ code: z11.number(),
2545
+ message: z11.string()
2527
2546
  }).optional(),
2528
- requestId: z10.string().optional(),
2529
- date: z10.string().optional(),
2530
- contentLanguage: z10.string().optional(),
2547
+ requestId: z11.string().optional(),
2548
+ date: z11.string().optional(),
2549
+ contentLanguage: z11.string().optional(),
2531
2550
  rateLimit: RateLimitMetaSchema.optional(),
2532
- responseTimeMs: z10.number().optional()
2551
+ responseTimeMs: z11.number().optional()
2533
2552
  });
2534
2553
  function esiResponse(dataSchema) {
2535
- return z10.object({
2554
+ return z11.object({
2536
2555
  data: dataSchema,
2537
2556
  meta: EsiResponseMetaSchema
2538
2557
  });
@@ -2552,14 +2571,14 @@ var characterEndpoints = {
2552
2571
  method: "GET",
2553
2572
  requiresAuth: true,
2554
2573
  pathParams: ["characterId"],
2555
- responseSchema: z11.array(AgentResearchSchema)
2574
+ responseSchema: z12.array(AgentResearchSchema)
2556
2575
  },
2557
2576
  getBlueprints: {
2558
2577
  path: "characters/{characterId}/blueprints/",
2559
2578
  method: "GET",
2560
2579
  requiresAuth: true,
2561
2580
  pathParams: ["characterId"],
2562
- responseSchema: z11.array(BlueprintSchema)
2581
+ responseSchema: z12.array(BlueprintSchema)
2563
2582
  },
2564
2583
  getRoles: {
2565
2584
  path: "characters/{characterId}/roles",
@@ -2573,28 +2592,28 @@ var characterEndpoints = {
2573
2592
  method: "GET",
2574
2593
  requiresAuth: true,
2575
2594
  pathParams: ["characterId"],
2576
- responseSchema: z11.array(StandingSchema)
2595
+ responseSchema: z12.array(StandingSchema)
2577
2596
  },
2578
2597
  getTitles: {
2579
2598
  path: "characters/{characterId}/titles",
2580
2599
  method: "GET",
2581
2600
  requiresAuth: true,
2582
2601
  pathParams: ["characterId"],
2583
- responseSchema: z11.array(CharacterTitleSchema)
2602
+ responseSchema: z12.array(CharacterTitleSchema)
2584
2603
  },
2585
2604
  getContactNotifications: {
2586
2605
  path: "characters/{characterId}/notifications/contacts/",
2587
2606
  method: "GET",
2588
2607
  requiresAuth: true,
2589
2608
  pathParams: ["characterId"],
2590
- responseSchema: z11.array(ContactNotificationSchema)
2609
+ responseSchema: z12.array(ContactNotificationSchema)
2591
2610
  },
2592
2611
  getCorporationHistory: {
2593
2612
  path: "characters/{characterId}/corporationhistory/",
2594
2613
  method: "GET",
2595
2614
  requiresAuth: false,
2596
2615
  pathParams: ["characterId"],
2597
- responseSchema: z11.array(CorporationHistorySchema)
2616
+ responseSchema: z12.array(CorporationHistorySchema)
2598
2617
  },
2599
2618
  getJumpFatigue: {
2600
2619
  path: "characters/{characterId}/fatigue/",
@@ -2608,14 +2627,14 @@ var characterEndpoints = {
2608
2627
  method: "GET",
2609
2628
  requiresAuth: true,
2610
2629
  pathParams: ["characterId"],
2611
- responseSchema: z11.array(MedalSchema)
2630
+ responseSchema: z12.array(MedalSchema)
2612
2631
  },
2613
2632
  getNotifications: {
2614
2633
  path: "characters/{characterId}/notifications/",
2615
2634
  method: "GET",
2616
2635
  requiresAuth: true,
2617
2636
  pathParams: ["characterId"],
2618
- responseSchema: z11.array(NotificationSchema)
2637
+ responseSchema: z12.array(NotificationSchema)
2619
2638
  },
2620
2639
  getPortrait: {
2621
2640
  path: "characters/{characterId}/portrait/",
@@ -2817,26 +2836,26 @@ var CharacterClient = class extends BaseEsiClient {
2817
2836
  };
2818
2837
 
2819
2838
  // src/core/endpoints/cloneEndpoints.ts
2820
- import { z as z13 } from "zod";
2839
+ import { z as z14 } from "zod";
2821
2840
 
2822
2841
  // src/schemas/clones.ts
2823
- import { z as z12 } from "zod";
2824
- var CloneInfoSchema = z12.looseObject({
2825
- home_location: z12.looseObject({
2826
- location_id: z12.number(),
2827
- location_type: z12.enum(["station", "structure"])
2842
+ import { z as z13 } from "zod";
2843
+ var CloneInfoSchema = z13.looseObject({
2844
+ home_location: z13.looseObject({
2845
+ location_id: z13.number(),
2846
+ location_type: esiEnum(["station", "structure"])
2828
2847
  }).optional(),
2829
- jump_clones: z12.array(
2830
- z12.looseObject({
2831
- jump_clone_id: z12.number(),
2832
- location_id: z12.number(),
2833
- location_type: z12.enum(["station", "structure"]),
2834
- implants: z12.array(z12.number()),
2835
- name: z12.string().optional()
2848
+ jump_clones: z13.array(
2849
+ z13.looseObject({
2850
+ jump_clone_id: z13.number(),
2851
+ location_id: z13.number(),
2852
+ location_type: esiEnum(["station", "structure"]),
2853
+ implants: z13.array(z13.number()),
2854
+ name: z13.string().optional()
2836
2855
  })
2837
2856
  ),
2838
- last_clone_jump_date: z12.string().optional(),
2839
- last_station_change_date: z12.string().optional()
2857
+ last_clone_jump_date: z13.string().optional(),
2858
+ last_station_change_date: z13.string().optional()
2840
2859
  });
2841
2860
 
2842
2861
  // src/core/endpoints/cloneEndpoints.ts
@@ -2853,7 +2872,7 @@ var cloneEndpoints = {
2853
2872
  method: "GET",
2854
2873
  requiresAuth: true,
2855
2874
  pathParams: ["characterId"],
2856
- responseSchema: z13.array(z13.number())
2875
+ responseSchema: z14.array(z14.number())
2857
2876
  }
2858
2877
  };
2859
2878
 
@@ -3025,20 +3044,20 @@ var ContactsClient = class extends BaseEsiClient {
3025
3044
  };
3026
3045
 
3027
3046
  // src/core/endpoints/contractEndpoints.ts
3028
- import { z as z15 } from "zod";
3047
+ import { z as z16 } from "zod";
3029
3048
 
3030
3049
  // src/schemas/contracts.ts
3031
- import { z as z14 } from "zod";
3032
- var ContractSchema = z14.looseObject({
3033
- contract_id: z14.number(),
3034
- issuer_id: z14.number(),
3035
- issuer_corporation_id: z14.number(),
3036
- assignee_id: z14.number().optional(),
3037
- acceptor_id: z14.number().optional(),
3038
- start_location_id: z14.number().optional(),
3039
- end_location_id: z14.number().optional(),
3040
- type: z14.enum(["unknown", "item_exchange", "auction", "courier", "loan"]),
3041
- status: z14.enum([
3050
+ import { z as z15 } from "zod";
3051
+ var ContractSchema = z15.looseObject({
3052
+ contract_id: z15.number(),
3053
+ issuer_id: z15.number(),
3054
+ issuer_corporation_id: z15.number(),
3055
+ assignee_id: z15.number().optional(),
3056
+ acceptor_id: z15.number().optional(),
3057
+ start_location_id: z15.number().optional(),
3058
+ end_location_id: z15.number().optional(),
3059
+ type: esiEnum(["unknown", "item_exchange", "auction", "courier", "loan"]),
3060
+ status: esiEnum([
3042
3061
  "outstanding",
3043
3062
  "in_progress",
3044
3063
  "finished_issuer",
@@ -3050,34 +3069,39 @@ var ContractSchema = z14.looseObject({
3050
3069
  "deleted",
3051
3070
  "reversed"
3052
3071
  ]).optional(),
3053
- title: z14.string().optional(),
3054
- for_corporation: z14.boolean().optional(),
3055
- availability: z14.enum(["public", "personal", "corporation", "alliance"]).optional(),
3056
- date_issued: z14.string(),
3057
- date_expired: z14.string(),
3058
- date_accepted: z14.string().optional(),
3059
- date_completed: z14.string().optional(),
3060
- days_to_complete: z14.number().optional(),
3061
- price: z14.number().optional(),
3062
- reward: z14.number().optional(),
3063
- collateral: z14.number().optional(),
3064
- buyout: z14.number().optional(),
3065
- volume: z14.number().optional()
3066
- });
3067
- var ContractItemSchema = z14.looseObject({
3068
- record_id: z14.number(),
3069
- type_id: z14.number(),
3070
- quantity: z14.number(),
3071
- raw_quantity: z14.number().optional(),
3072
- is_singleton: z14.boolean(),
3073
- is_blueprint_copy: z14.boolean().optional(),
3074
- is_included: z14.boolean()
3075
- });
3076
- var ContractBidSchema = z14.looseObject({
3077
- bid_id: z14.number(),
3078
- bidder_id: z14.number(),
3079
- date_bid: z14.string(),
3080
- amount: z14.number()
3072
+ title: z15.string().optional(),
3073
+ for_corporation: z15.boolean().optional(),
3074
+ availability: esiEnum([
3075
+ "public",
3076
+ "personal",
3077
+ "corporation",
3078
+ "alliance"
3079
+ ]).optional(),
3080
+ date_issued: z15.string(),
3081
+ date_expired: z15.string(),
3082
+ date_accepted: z15.string().optional(),
3083
+ date_completed: z15.string().optional(),
3084
+ days_to_complete: z15.number().optional(),
3085
+ price: z15.number().optional(),
3086
+ reward: z15.number().optional(),
3087
+ collateral: z15.number().optional(),
3088
+ buyout: z15.number().optional(),
3089
+ volume: z15.number().optional()
3090
+ });
3091
+ var ContractItemSchema = z15.looseObject({
3092
+ record_id: z15.number(),
3093
+ type_id: z15.number(),
3094
+ quantity: z15.number(),
3095
+ raw_quantity: z15.number().optional(),
3096
+ is_singleton: z15.boolean(),
3097
+ is_blueprint_copy: z15.boolean().optional(),
3098
+ is_included: z15.boolean()
3099
+ });
3100
+ var ContractBidSchema = z15.looseObject({
3101
+ bid_id: z15.number(),
3102
+ bidder_id: z15.number(),
3103
+ date_bid: z15.string(),
3104
+ amount: z15.number()
3081
3105
  });
3082
3106
 
3083
3107
  // src/core/endpoints/contractEndpoints.ts
@@ -3087,63 +3111,63 @@ var contractEndpoints = {
3087
3111
  method: "GET",
3088
3112
  requiresAuth: true,
3089
3113
  pathParams: ["characterId"],
3090
- responseSchema: z15.array(ContractSchema)
3114
+ responseSchema: z16.array(ContractSchema)
3091
3115
  },
3092
3116
  getCharacterContractBids: {
3093
3117
  path: "characters/{characterId}/contracts/{contractId}/bids",
3094
3118
  method: "GET",
3095
3119
  requiresAuth: true,
3096
3120
  pathParams: ["characterId", "contractId"],
3097
- responseSchema: z15.array(ContractBidSchema)
3121
+ responseSchema: z16.array(ContractBidSchema)
3098
3122
  },
3099
3123
  getCharacterContractItems: {
3100
3124
  path: "characters/{characterId}/contracts/{contractId}/items",
3101
3125
  method: "GET",
3102
3126
  requiresAuth: true,
3103
3127
  pathParams: ["characterId", "contractId"],
3104
- responseSchema: z15.array(ContractItemSchema)
3128
+ responseSchema: z16.array(ContractItemSchema)
3105
3129
  },
3106
3130
  getCorporationContracts: {
3107
3131
  path: "corporations/{corporationId}/contracts",
3108
3132
  method: "GET",
3109
3133
  requiresAuth: true,
3110
3134
  pathParams: ["corporationId"],
3111
- responseSchema: z15.array(ContractSchema)
3135
+ responseSchema: z16.array(ContractSchema)
3112
3136
  },
3113
3137
  getCorporationContractBids: {
3114
3138
  path: "corporations/{corporationId}/contracts/{contractId}/bids",
3115
3139
  method: "GET",
3116
3140
  requiresAuth: true,
3117
3141
  pathParams: ["corporationId", "contractId"],
3118
- responseSchema: z15.array(ContractBidSchema)
3142
+ responseSchema: z16.array(ContractBidSchema)
3119
3143
  },
3120
3144
  getCorporationContractItems: {
3121
3145
  path: "corporations/{corporationId}/contracts/{contractId}/items",
3122
3146
  method: "GET",
3123
3147
  requiresAuth: true,
3124
3148
  pathParams: ["corporationId", "contractId"],
3125
- responseSchema: z15.array(ContractItemSchema)
3149
+ responseSchema: z16.array(ContractItemSchema)
3126
3150
  },
3127
3151
  getPublicContracts: {
3128
3152
  path: "contracts/public/{regionId}",
3129
3153
  method: "GET",
3130
3154
  requiresAuth: false,
3131
3155
  pathParams: ["regionId"],
3132
- responseSchema: z15.array(ContractSchema)
3156
+ responseSchema: z16.array(ContractSchema)
3133
3157
  },
3134
3158
  getPublicContractBids: {
3135
3159
  path: "contracts/public/bids/{contractId}",
3136
3160
  method: "GET",
3137
3161
  requiresAuth: false,
3138
3162
  pathParams: ["contractId"],
3139
- responseSchema: z15.array(ContractBidSchema)
3163
+ responseSchema: z16.array(ContractBidSchema)
3140
3164
  },
3141
3165
  getPublicContractItems: {
3142
3166
  path: "contracts/public/items/{contractId}",
3143
3167
  method: "GET",
3144
3168
  requiresAuth: false,
3145
3169
  pathParams: ["contractId"],
3146
- responseSchema: z15.array(ContractItemSchema)
3170
+ responseSchema: z16.array(ContractItemSchema)
3147
3171
  }
3148
3172
  };
3149
3173
 
@@ -3270,195 +3294,207 @@ var ContractsClient = class extends BaseEsiClient {
3270
3294
  };
3271
3295
 
3272
3296
  // src/core/endpoints/corporationEndpoints.ts
3273
- import { z as z17 } from "zod";
3297
+ import { z as z18 } from "zod";
3274
3298
 
3275
3299
  // src/schemas/corporation.ts
3276
- import { z as z16 } from "zod";
3277
- var CorporationInfoSchema = z16.looseObject({
3278
- corporation_id: z16.number().optional(),
3279
- name: z16.string(),
3280
- ticker: z16.string(),
3281
- description: z16.string().optional(),
3282
- url: z16.string().optional(),
3283
- alliance_id: z16.number().optional(),
3284
- ceo_id: z16.number(),
3285
- creator_id: z16.number(),
3286
- date_founded: z16.string().optional(),
3287
- faction_id: z16.number().optional(),
3288
- home_station_id: z16.number().optional(),
3289
- member_count: z16.number(),
3290
- shares: z16.number().optional(),
3291
- tax_rate: z16.number(),
3292
- war_eligible: z16.boolean().optional()
3293
- });
3294
- var CorporationAllianceHistorySchema = z16.looseObject({
3295
- alliance_id: z16.number().optional(),
3296
- is_deleted: z16.boolean().optional(),
3297
- record_id: z16.number(),
3298
- start_date: z16.string()
3299
- });
3300
- var CorporationMedalSchema = z16.looseObject({
3301
- medal_id: z16.number(),
3302
- title: z16.string(),
3303
- description: z16.string(),
3304
- creator_id: z16.number(),
3305
- date: z16.string()
3306
- });
3307
- var CorporationStarbaseSchema = z16.looseObject({
3308
- starbase_id: z16.number(),
3309
- type_id: z16.number(),
3310
- system_id: z16.number(),
3311
- state: z16.enum(["offline", "online", "onlining", "reinforced", "unanchoring"]),
3312
- moon_id: z16.number().optional(),
3313
- onlined_since: z16.string().optional(),
3314
- reinforced_until: z16.string().optional(),
3315
- unanchor_at: z16.string().optional()
3316
- });
3317
- var CorporationDivisionsSchema = z16.looseObject({
3318
- hangar: z16.array(
3319
- z16.looseObject({
3320
- division: z16.number(),
3321
- name: z16.string().optional()
3300
+ import { z as z17 } from "zod";
3301
+ var CorporationInfoSchema = z17.looseObject({
3302
+ corporation_id: z17.number().optional(),
3303
+ name: z17.string(),
3304
+ ticker: z17.string(),
3305
+ description: z17.string().optional(),
3306
+ url: z17.string().optional(),
3307
+ alliance_id: z17.number().optional(),
3308
+ ceo_id: z17.number(),
3309
+ creator_id: z17.number(),
3310
+ date_founded: z17.string().optional(),
3311
+ faction_id: z17.number().optional(),
3312
+ home_station_id: z17.number().optional(),
3313
+ member_count: z17.number(),
3314
+ shares: z17.number().optional(),
3315
+ tax_rate: z17.number(),
3316
+ war_eligible: z17.boolean().optional()
3317
+ });
3318
+ var CorporationAllianceHistorySchema = z17.looseObject({
3319
+ alliance_id: z17.number().optional(),
3320
+ is_deleted: z17.boolean().optional(),
3321
+ record_id: z17.number(),
3322
+ start_date: z17.string()
3323
+ });
3324
+ var CorporationMedalSchema = z17.looseObject({
3325
+ medal_id: z17.number(),
3326
+ title: z17.string(),
3327
+ description: z17.string(),
3328
+ creator_id: z17.number(),
3329
+ date: z17.string()
3330
+ });
3331
+ var CorporationStarbaseSchema = z17.looseObject({
3332
+ starbase_id: z17.number(),
3333
+ type_id: z17.number(),
3334
+ system_id: z17.number(),
3335
+ state: esiEnum([
3336
+ "offline",
3337
+ "online",
3338
+ "onlining",
3339
+ "reinforced",
3340
+ "unanchoring"
3341
+ ]),
3342
+ moon_id: z17.number().optional(),
3343
+ onlined_since: z17.string().optional(),
3344
+ reinforced_until: z17.string().optional(),
3345
+ unanchor_at: z17.string().optional()
3346
+ });
3347
+ var CorporationDivisionsSchema = z17.looseObject({
3348
+ hangar: z17.array(
3349
+ z17.looseObject({
3350
+ division: z17.number(),
3351
+ name: z17.string().optional()
3322
3352
  })
3323
3353
  ).optional(),
3324
- wallet: z16.array(
3325
- z16.looseObject({
3326
- division: z16.number(),
3327
- name: z16.string().optional()
3354
+ wallet: z17.array(
3355
+ z17.looseObject({
3356
+ division: z17.number(),
3357
+ name: z17.string().optional()
3328
3358
  })
3329
3359
  ).optional()
3330
3360
  });
3331
- var CorporationFacilitySchema = z16.looseObject({
3332
- facility_id: z16.number(),
3333
- type_id: z16.number(),
3334
- system_id: z16.number()
3335
- });
3336
- var CorporationIssuedMedalSchema = z16.looseObject({
3337
- medal_id: z16.number(),
3338
- title: z16.string(),
3339
- description: z16.string(),
3340
- character_id: z16.number(),
3341
- issued_at: z16.string(),
3342
- issuer_id: z16.number(),
3343
- reason: z16.string(),
3344
- status: z16.enum(["private", "public"])
3345
- });
3346
- var CorporationMemberTitleSchema = z16.looseObject({
3347
- character_id: z16.number(),
3348
- titles: z16.array(z16.number())
3349
- });
3350
- var CorporationMemberTrackingSchema = z16.looseObject({
3351
- character_id: z16.number(),
3352
- start_date: z16.string(),
3353
- base_id: z16.number().optional(),
3354
- location_id: z16.number().optional(),
3355
- logoff_date: z16.string().optional(),
3356
- logon_date: z16.string().optional(),
3357
- online: z16.boolean().optional(),
3358
- ship_type_id: z16.number().optional()
3359
- });
3360
- var CorporationMemberRoleSchema = z16.looseObject({
3361
- character_id: z16.number(),
3362
- roles: z16.array(z16.string()).optional(),
3363
- grantable_roles: z16.array(z16.string()).optional(),
3364
- roles_at_hq: z16.array(z16.string()).optional(),
3365
- grantable_roles_at_hq: z16.array(z16.string()).optional(),
3366
- roles_at_base: z16.array(z16.string()).optional(),
3367
- grantable_roles_at_base: z16.array(z16.string()).optional(),
3368
- roles_at_other: z16.array(z16.string()).optional(),
3369
- grantable_roles_at_other: z16.array(z16.string()).optional()
3370
- });
3371
- var CorporationRoleHistorySchema = z16.looseObject({
3372
- character_id: z16.number(),
3373
- changed_at: z16.string(),
3374
- issuer_id: z16.number(),
3375
- role_type: z16.string(),
3376
- before: z16.array(z16.string()),
3377
- after: z16.array(z16.string())
3378
- });
3379
- var CorporationShareholderSchema = z16.looseObject({
3380
- shareholder_id: z16.number(),
3381
- shareholder_type: z16.enum(["character", "corporation"]),
3382
- share_count: z16.number()
3383
- });
3384
- var CorporationStarbaseDetailSchema = z16.looseObject({
3385
- state: z16.enum(["offline", "online", "onlining", "reinforced", "unanchoring"]),
3386
- fuels: z16.array(
3387
- z16.looseObject({
3388
- type_id: z16.number(),
3389
- quantity: z16.number()
3361
+ var CorporationFacilitySchema = z17.looseObject({
3362
+ facility_id: z17.number(),
3363
+ type_id: z17.number(),
3364
+ system_id: z17.number()
3365
+ });
3366
+ var CorporationIssuedMedalSchema = z17.looseObject({
3367
+ medal_id: z17.number(),
3368
+ title: z17.string(),
3369
+ description: z17.string(),
3370
+ character_id: z17.number(),
3371
+ issued_at: z17.string(),
3372
+ issuer_id: z17.number(),
3373
+ reason: z17.string(),
3374
+ status: esiEnum(["private", "public"])
3375
+ });
3376
+ var CorporationMemberTitleSchema = z17.looseObject({
3377
+ character_id: z17.number(),
3378
+ titles: z17.array(z17.number())
3379
+ });
3380
+ var CorporationMemberTrackingSchema = z17.looseObject({
3381
+ character_id: z17.number(),
3382
+ start_date: z17.string(),
3383
+ base_id: z17.number().optional(),
3384
+ location_id: z17.number().optional(),
3385
+ logoff_date: z17.string().optional(),
3386
+ logon_date: z17.string().optional(),
3387
+ online: z17.boolean().optional(),
3388
+ ship_type_id: z17.number().optional()
3389
+ });
3390
+ var CorporationMemberRoleSchema = z17.looseObject({
3391
+ character_id: z17.number(),
3392
+ roles: z17.array(z17.string()).optional(),
3393
+ grantable_roles: z17.array(z17.string()).optional(),
3394
+ roles_at_hq: z17.array(z17.string()).optional(),
3395
+ grantable_roles_at_hq: z17.array(z17.string()).optional(),
3396
+ roles_at_base: z17.array(z17.string()).optional(),
3397
+ grantable_roles_at_base: z17.array(z17.string()).optional(),
3398
+ roles_at_other: z17.array(z17.string()).optional(),
3399
+ grantable_roles_at_other: z17.array(z17.string()).optional()
3400
+ });
3401
+ var CorporationRoleHistorySchema = z17.looseObject({
3402
+ character_id: z17.number(),
3403
+ changed_at: z17.string(),
3404
+ issuer_id: z17.number(),
3405
+ role_type: z17.string(),
3406
+ before: z17.array(z17.string()),
3407
+ after: z17.array(z17.string())
3408
+ });
3409
+ var CorporationShareholderSchema = z17.looseObject({
3410
+ shareholder_id: z17.number(),
3411
+ shareholder_type: esiEnum(["character", "corporation"]),
3412
+ share_count: z17.number()
3413
+ });
3414
+ var CorporationStarbaseDetailSchema = z17.looseObject({
3415
+ state: esiEnum([
3416
+ "offline",
3417
+ "online",
3418
+ "onlining",
3419
+ "reinforced",
3420
+ "unanchoring"
3421
+ ]),
3422
+ fuels: z17.array(
3423
+ z17.looseObject({
3424
+ type_id: z17.number(),
3425
+ quantity: z17.number()
3390
3426
  })
3391
3427
  ).optional(),
3392
- allow_alliance_members: z16.boolean().optional(),
3393
- allow_corporation_members: z16.boolean().optional(),
3394
- anchor: z16.string().optional(),
3395
- attack_if_at_war: z16.boolean().optional(),
3396
- attack_if_other_security_status_dropping: z16.boolean().optional(),
3397
- attack_security_status_threshold: z16.number().optional(),
3398
- attack_standing_threshold: z16.number().optional(),
3399
- fuel_bay_take: z16.string().optional(),
3400
- fuel_bay_view: z16.string().optional(),
3401
- offline: z16.string().optional(),
3402
- online: z16.string().optional(),
3403
- unanchor: z16.string().optional(),
3404
- use_alliance_standings: z16.boolean().optional()
3405
- });
3406
- var CorporationStructureSchema = z16.looseObject({
3407
- structure_id: z16.number(),
3408
- corporation_id: z16.number(),
3409
- type_id: z16.number(),
3410
- system_id: z16.number(),
3411
- profile_id: z16.number(),
3412
- services: z16.array(
3413
- z16.looseObject({
3414
- name: z16.string(),
3415
- state: z16.enum(["online", "offline", "cleanup"])
3428
+ allow_alliance_members: z17.boolean().optional(),
3429
+ allow_corporation_members: z17.boolean().optional(),
3430
+ anchor: z17.string().optional(),
3431
+ attack_if_at_war: z17.boolean().optional(),
3432
+ attack_if_other_security_status_dropping: z17.boolean().optional(),
3433
+ attack_security_status_threshold: z17.number().optional(),
3434
+ attack_standing_threshold: z17.number().optional(),
3435
+ fuel_bay_take: z17.string().optional(),
3436
+ fuel_bay_view: z17.string().optional(),
3437
+ offline: z17.string().optional(),
3438
+ online: z17.string().optional(),
3439
+ unanchor: z17.string().optional(),
3440
+ use_alliance_standings: z17.boolean().optional()
3441
+ });
3442
+ var CorporationStructureSchema = z17.looseObject({
3443
+ structure_id: z17.number(),
3444
+ corporation_id: z17.number(),
3445
+ type_id: z17.number(),
3446
+ system_id: z17.number(),
3447
+ profile_id: z17.number(),
3448
+ services: z17.array(
3449
+ z17.looseObject({
3450
+ name: z17.string(),
3451
+ state: esiEnum(["online", "offline", "cleanup"])
3416
3452
  })
3417
3453
  ).optional(),
3418
- fuel_expires: z16.string().optional(),
3419
- name: z16.string().optional(),
3420
- state: z16.string(),
3421
- state_timer_start: z16.string().optional(),
3422
- state_timer_end: z16.string().optional(),
3423
- unanchors_at: z16.string().optional(),
3424
- reinforce_hour: z16.number().optional(),
3425
- next_reinforce_hour: z16.number().optional(),
3426
- next_reinforce_apply: z16.string().optional()
3427
- });
3428
- var CorporationTitleSchema = z16.looseObject({
3429
- title_id: z16.number(),
3430
- name: z16.string().optional(),
3431
- roles: z16.array(z16.string()).optional(),
3432
- grantable_roles: z16.array(z16.string()).optional(),
3433
- roles_at_hq: z16.array(z16.string()).optional(),
3434
- grantable_roles_at_hq: z16.array(z16.string()).optional(),
3435
- roles_at_base: z16.array(z16.string()).optional(),
3436
- grantable_roles_at_base: z16.array(z16.string()).optional(),
3437
- roles_at_other: z16.array(z16.string()).optional(),
3438
- grantable_roles_at_other: z16.array(z16.string()).optional()
3439
- });
3440
- var CorporationIconSchema = z16.looseObject({
3441
- px64x64: z16.string().optional(),
3442
- px128x128: z16.string().optional(),
3443
- px256x256: z16.string().optional()
3444
- });
3445
- var CorporationWalletDivisionSchema = z16.looseObject({
3446
- division: z16.number(),
3447
- balance: z16.number()
3448
- });
3449
- var ContainerLogSchema = z16.looseObject({
3450
- logged_at: z16.string(),
3451
- container_id: z16.number(),
3452
- container_type_id: z16.number(),
3453
- character_id: z16.number(),
3454
- location_id: z16.number(),
3455
- location_flag: z16.string(),
3456
- action: z16.string(),
3457
- password_type: z16.enum(["config", "general"]).optional(),
3458
- type_id: z16.number().optional(),
3459
- quantity: z16.number().optional(),
3460
- old_config_bitmask: z16.number().optional(),
3461
- new_config_bitmask: z16.number().optional()
3454
+ fuel_expires: z17.string().optional(),
3455
+ name: z17.string().optional(),
3456
+ state: z17.string(),
3457
+ state_timer_start: z17.string().optional(),
3458
+ state_timer_end: z17.string().optional(),
3459
+ unanchors_at: z17.string().optional(),
3460
+ reinforce_hour: z17.number().optional(),
3461
+ next_reinforce_hour: z17.number().optional(),
3462
+ next_reinforce_apply: z17.string().optional()
3463
+ });
3464
+ var CorporationTitleSchema = z17.looseObject({
3465
+ title_id: z17.number(),
3466
+ name: z17.string().optional(),
3467
+ roles: z17.array(z17.string()).optional(),
3468
+ grantable_roles: z17.array(z17.string()).optional(),
3469
+ roles_at_hq: z17.array(z17.string()).optional(),
3470
+ grantable_roles_at_hq: z17.array(z17.string()).optional(),
3471
+ roles_at_base: z17.array(z17.string()).optional(),
3472
+ grantable_roles_at_base: z17.array(z17.string()).optional(),
3473
+ roles_at_other: z17.array(z17.string()).optional(),
3474
+ grantable_roles_at_other: z17.array(z17.string()).optional()
3475
+ });
3476
+ var CorporationIconSchema = z17.looseObject({
3477
+ px64x64: z17.string().optional(),
3478
+ px128x128: z17.string().optional(),
3479
+ px256x256: z17.string().optional()
3480
+ });
3481
+ var CorporationWalletDivisionSchema = z17.looseObject({
3482
+ division: z17.number(),
3483
+ balance: z17.number()
3484
+ });
3485
+ var ContainerLogSchema = z17.looseObject({
3486
+ logged_at: z17.string(),
3487
+ container_id: z17.number(),
3488
+ container_type_id: z17.number(),
3489
+ character_id: z17.number(),
3490
+ location_id: z17.number(),
3491
+ location_flag: z17.string(),
3492
+ action: z17.string(),
3493
+ password_type: esiEnum(["config", "general"]).optional(),
3494
+ type_id: z17.number().optional(),
3495
+ quantity: z17.number().optional(),
3496
+ old_config_bitmask: z17.number().optional(),
3497
+ new_config_bitmask: z17.number().optional()
3462
3498
  });
3463
3499
 
3464
3500
  // src/core/endpoints/corporationEndpoints.ts
@@ -3475,21 +3511,21 @@ var corporationEndpoints = {
3475
3511
  method: "GET",
3476
3512
  requiresAuth: false,
3477
3513
  pathParams: ["corporationId"],
3478
- responseSchema: z17.array(CorporationAllianceHistorySchema)
3514
+ responseSchema: z18.array(CorporationAllianceHistorySchema)
3479
3515
  },
3480
3516
  getCorporationBlueprints: {
3481
3517
  path: "corporations/{corporationId}/blueprints",
3482
3518
  method: "GET",
3483
3519
  requiresAuth: true,
3484
3520
  pathParams: ["corporationId"],
3485
- responseSchema: z17.array(BlueprintSchema)
3521
+ responseSchema: z18.array(BlueprintSchema)
3486
3522
  },
3487
3523
  getCorporationAlscLogs: {
3488
3524
  path: "corporations/{corporationId}/containers/logs",
3489
3525
  method: "GET",
3490
3526
  requiresAuth: true,
3491
3527
  pathParams: ["corporationId"],
3492
- responseSchema: z17.array(ContainerLogSchema)
3528
+ responseSchema: z18.array(ContainerLogSchema)
3493
3529
  },
3494
3530
  getCorporationDivisions: {
3495
3531
  path: "corporations/{corporationId}/divisions",
@@ -3503,7 +3539,7 @@ var corporationEndpoints = {
3503
3539
  method: "GET",
3504
3540
  requiresAuth: true,
3505
3541
  pathParams: ["corporationId"],
3506
- responseSchema: z17.array(CorporationFacilitySchema)
3542
+ responseSchema: z18.array(CorporationFacilitySchema)
3507
3543
  },
3508
3544
  getCorporationIcon: {
3509
3545
  path: "corporations/{corporationId}/icons",
@@ -3517,77 +3553,77 @@ var corporationEndpoints = {
3517
3553
  method: "GET",
3518
3554
  requiresAuth: true,
3519
3555
  pathParams: ["corporationId"],
3520
- responseSchema: z17.array(CorporationMedalSchema)
3556
+ responseSchema: z18.array(CorporationMedalSchema)
3521
3557
  },
3522
3558
  getCorporationIssuedMedals: {
3523
3559
  path: "corporations/{corporationId}/medals/issued",
3524
3560
  method: "GET",
3525
3561
  requiresAuth: true,
3526
3562
  pathParams: ["corporationId"],
3527
- responseSchema: z17.array(CorporationIssuedMedalSchema)
3563
+ responseSchema: z18.array(CorporationIssuedMedalSchema)
3528
3564
  },
3529
3565
  getCorporationMembers: {
3530
3566
  path: "corporations/{corporationId}/members",
3531
3567
  method: "GET",
3532
3568
  requiresAuth: true,
3533
3569
  pathParams: ["corporationId"],
3534
- responseSchema: z17.array(z17.number())
3570
+ responseSchema: z18.array(z18.number())
3535
3571
  },
3536
3572
  getCorporationMemberLimit: {
3537
3573
  path: "corporations/{corporationId}/members/limit",
3538
3574
  method: "GET",
3539
3575
  requiresAuth: true,
3540
3576
  pathParams: ["corporationId"],
3541
- responseSchema: z17.number()
3577
+ responseSchema: z18.number()
3542
3578
  },
3543
3579
  getCorporationMembersTitles: {
3544
3580
  path: "corporations/{corporationId}/members/titles",
3545
3581
  method: "GET",
3546
3582
  requiresAuth: true,
3547
3583
  pathParams: ["corporationId"],
3548
- responseSchema: z17.array(CorporationMemberTitleSchema)
3584
+ responseSchema: z18.array(CorporationMemberTitleSchema)
3549
3585
  },
3550
3586
  getCorporationMemberTracking: {
3551
3587
  path: "corporations/{corporationId}/membertracking",
3552
3588
  method: "GET",
3553
3589
  requiresAuth: true,
3554
3590
  pathParams: ["corporationId"],
3555
- responseSchema: z17.array(CorporationMemberTrackingSchema)
3591
+ responseSchema: z18.array(CorporationMemberTrackingSchema)
3556
3592
  },
3557
3593
  getCorporationMemberRoles: {
3558
3594
  path: "corporations/{corporationId}/roles",
3559
3595
  method: "GET",
3560
3596
  requiresAuth: true,
3561
3597
  pathParams: ["corporationId"],
3562
- responseSchema: z17.array(CorporationMemberRoleSchema)
3598
+ responseSchema: z18.array(CorporationMemberRoleSchema)
3563
3599
  },
3564
3600
  getCorporationMemberRolesHistory: {
3565
3601
  path: "corporations/{corporationId}/roles/history",
3566
3602
  method: "GET",
3567
3603
  requiresAuth: true,
3568
3604
  pathParams: ["corporationId"],
3569
- responseSchema: z17.array(CorporationRoleHistorySchema)
3605
+ responseSchema: z18.array(CorporationRoleHistorySchema)
3570
3606
  },
3571
3607
  getCorporationShareholders: {
3572
3608
  path: "corporations/{corporationId}/shareholders",
3573
3609
  method: "GET",
3574
3610
  requiresAuth: true,
3575
3611
  pathParams: ["corporationId"],
3576
- responseSchema: z17.array(CorporationShareholderSchema)
3612
+ responseSchema: z18.array(CorporationShareholderSchema)
3577
3613
  },
3578
3614
  getCorporationStandings: {
3579
3615
  path: "corporations/{corporationId}/standings",
3580
3616
  method: "GET",
3581
3617
  requiresAuth: true,
3582
3618
  pathParams: ["corporationId"],
3583
- responseSchema: z17.array(StandingSchema)
3619
+ responseSchema: z18.array(StandingSchema)
3584
3620
  },
3585
3621
  getCorporationStarbases: {
3586
3622
  path: "corporations/{corporationId}/starbases",
3587
3623
  method: "GET",
3588
3624
  requiresAuth: true,
3589
3625
  pathParams: ["corporationId"],
3590
- responseSchema: z17.array(CorporationStarbaseSchema)
3626
+ responseSchema: z18.array(CorporationStarbaseSchema)
3591
3627
  },
3592
3628
  getCorporationStarbaseDetail: {
3593
3629
  path: "corporations/{corporationId}/starbases/{starbaseId}",
@@ -3601,20 +3637,20 @@ var corporationEndpoints = {
3601
3637
  method: "GET",
3602
3638
  requiresAuth: true,
3603
3639
  pathParams: ["corporationId"],
3604
- responseSchema: z17.array(CorporationStructureSchema)
3640
+ responseSchema: z18.array(CorporationStructureSchema)
3605
3641
  },
3606
3642
  getCorporationTitles: {
3607
3643
  path: "corporations/{corporationId}/titles",
3608
3644
  method: "GET",
3609
3645
  requiresAuth: true,
3610
3646
  pathParams: ["corporationId"],
3611
- responseSchema: z17.array(CorporationTitleSchema)
3647
+ responseSchema: z18.array(CorporationTitleSchema)
3612
3648
  },
3613
3649
  getNpcCorporations: {
3614
3650
  path: "corporations/npccorps",
3615
3651
  method: "GET",
3616
3652
  requiresAuth: false,
3617
- responseSchema: z17.array(z17.number())
3653
+ responseSchema: z18.array(z18.number())
3618
3654
  }
3619
3655
  };
3620
3656
 
@@ -3937,71 +3973,179 @@ var CorporationsClient = class extends BaseEsiClient {
3937
3973
  }
3938
3974
  };
3939
3975
 
3940
- // src/core/endpoints/dogmaEndpoints.ts
3976
+ // src/core/endpoints/corporationProjectEndpoints.ts
3977
+ import { z as z20 } from "zod";
3978
+
3979
+ // src/schemas/corporation-projects.ts
3941
3980
  import { z as z19 } from "zod";
3981
+ var CorporationProjectSchema = z19.looseObject({
3982
+ project_id: z19.number(),
3983
+ state: z19.string(),
3984
+ progress: z19.number(),
3985
+ start_time: z19.string(),
3986
+ finish_time: z19.string().optional()
3987
+ });
3988
+ var CorporationProjectContributionSchema = z19.looseObject({
3989
+ character_id: z19.number(),
3990
+ contribution: z19.number()
3991
+ });
3992
+ var CorporationProjectContributorSchema = z19.looseObject({
3993
+ character_id: z19.number(),
3994
+ contribution: z19.number()
3995
+ });
3996
+
3997
+ // src/core/endpoints/corporationProjectEndpoints.ts
3998
+ var corporationProjectEndpoints = {
3999
+ getCorporationProjects: {
4000
+ path: "corporations/{corporationId}/projects",
4001
+ method: "GET",
4002
+ requiresAuth: true,
4003
+ pathParams: ["corporationId"],
4004
+ responseSchema: z20.array(CorporationProjectSchema)
4005
+ },
4006
+ getCorporationProject: {
4007
+ path: "corporations/{corporationId}/projects/{projectId}",
4008
+ method: "GET",
4009
+ requiresAuth: true,
4010
+ pathParams: ["corporationId", "projectId"],
4011
+ responseSchema: CorporationProjectSchema
4012
+ },
4013
+ getCorporationProjectContribution: {
4014
+ path: "corporations/{corporationId}/projects/{projectId}/contribution/{characterId}",
4015
+ method: "GET",
4016
+ requiresAuth: true,
4017
+ pathParams: ["corporationId", "projectId", "characterId"],
4018
+ responseSchema: CorporationProjectContributionSchema
4019
+ },
4020
+ getCorporationProjectContributors: {
4021
+ path: "corporations/{corporationId}/projects/{projectId}/contributors",
4022
+ method: "GET",
4023
+ requiresAuth: true,
4024
+ pathParams: ["corporationId", "projectId"],
4025
+ responseSchema: z20.array(CorporationProjectContributorSchema)
4026
+ }
4027
+ };
4028
+
4029
+ // src/clients/CorporationProjectsClient.ts
4030
+ var CorporationProjectsClient = class extends BaseEsiClient {
4031
+ constructor(client) {
4032
+ super(client, corporationProjectEndpoints);
4033
+ }
4034
+ /**
4035
+ * Retrieves a list of projects for a corporation.
4036
+ *
4037
+ * @param corporationId - The ID of the corporation
4038
+ * @returns An array of corporation projects
4039
+ * @requires Authentication
4040
+ */
4041
+ getCorporationProjects(corporationId) {
4042
+ return this.api.getCorporationProjects(corporationId);
4043
+ }
4044
+ /**
4045
+ * Retrieves details of a specific corporation project.
4046
+ *
4047
+ * @param corporationId - The ID of the corporation
4048
+ * @param projectId - The ID of the project
4049
+ * @returns The corporation project details
4050
+ * @requires Authentication
4051
+ */
4052
+ getCorporationProject(corporationId, projectId) {
4053
+ return this.api.getCorporationProject(corporationId, projectId);
4054
+ }
4055
+ /**
4056
+ * Retrieves a character's contribution to a specific corporation project.
4057
+ *
4058
+ * @param corporationId - The ID of the corporation
4059
+ * @param projectId - The ID of the project
4060
+ * @param characterId - The ID of the character
4061
+ * @returns The character's contribution details
4062
+ * @requires Authentication
4063
+ */
4064
+ getCorporationProjectContribution(corporationId, projectId, characterId) {
4065
+ return this.api.getCorporationProjectContribution(
4066
+ corporationId,
4067
+ projectId,
4068
+ characterId
4069
+ );
4070
+ }
4071
+ /**
4072
+ * Retrieves a list of contributors to a specific corporation project.
4073
+ *
4074
+ * @param corporationId - The ID of the corporation
4075
+ * @param projectId - The ID of the project
4076
+ * @returns An array of project contributors
4077
+ * @requires Authentication
4078
+ */
4079
+ getCorporationProjectContributors(corporationId, projectId) {
4080
+ return this.api.getCorporationProjectContributors(corporationId, projectId);
4081
+ }
4082
+ };
4083
+
4084
+ // src/core/endpoints/dogmaEndpoints.ts
4085
+ import { z as z22 } from "zod";
3942
4086
 
3943
4087
  // src/schemas/dogma.ts
3944
- import { z as z18 } from "zod";
3945
- var DogmaAttributeSchema = z18.looseObject({
3946
- attribute_id: z18.number(),
3947
- name: z18.string(),
3948
- description: z18.string().optional(),
3949
- icon_id: z18.number().optional(),
3950
- default_value: z18.number().optional(),
3951
- published: z18.boolean().optional(),
3952
- display_name: z18.string().optional(),
3953
- unit_id: z18.number().optional(),
3954
- stackable: z18.boolean().optional(),
3955
- high_is_good: z18.boolean().optional()
3956
- });
3957
- var DogmaEffectSchema = z18.looseObject({
3958
- effect_id: z18.number(),
3959
- name: z18.string(),
3960
- description: z18.string().optional(),
3961
- icon_id: z18.number().optional(),
3962
- display_name: z18.string().optional(),
3963
- published: z18.boolean().optional(),
3964
- effect_category: z18.number().optional(),
3965
- is_assistance: z18.boolean().optional(),
3966
- is_offensive: z18.boolean().optional(),
3967
- is_warp_safe: z18.boolean().optional(),
3968
- disallow_auto_repeat: z18.boolean().optional(),
3969
- discharge_attribute_id: z18.number().optional(),
3970
- duration_attribute_id: z18.number().optional(),
3971
- electronic_chance: z18.boolean().optional(),
3972
- falloff_attribute_id: z18.number().optional(),
3973
- modifiers: z18.array(
3974
- z18.looseObject({
3975
- domain: z18.string().optional(),
3976
- effect_id: z18.number().optional(),
3977
- func: z18.string(),
3978
- modified_attribute_id: z18.number().optional(),
3979
- modifying_attribute_id: z18.number().optional(),
3980
- operator: z18.number().optional()
4088
+ import { z as z21 } from "zod";
4089
+ var DogmaAttributeSchema = z21.looseObject({
4090
+ attribute_id: z21.number(),
4091
+ name: z21.string(),
4092
+ description: z21.string().optional(),
4093
+ icon_id: z21.number().optional(),
4094
+ default_value: z21.number().optional(),
4095
+ published: z21.boolean().optional(),
4096
+ display_name: z21.string().optional(),
4097
+ unit_id: z21.number().optional(),
4098
+ stackable: z21.boolean().optional(),
4099
+ high_is_good: z21.boolean().optional()
4100
+ });
4101
+ var DogmaEffectSchema = z21.looseObject({
4102
+ effect_id: z21.number(),
4103
+ name: z21.string(),
4104
+ description: z21.string().optional(),
4105
+ icon_id: z21.number().optional(),
4106
+ display_name: z21.string().optional(),
4107
+ published: z21.boolean().optional(),
4108
+ effect_category: z21.number().optional(),
4109
+ is_assistance: z21.boolean().optional(),
4110
+ is_offensive: z21.boolean().optional(),
4111
+ is_warp_safe: z21.boolean().optional(),
4112
+ disallow_auto_repeat: z21.boolean().optional(),
4113
+ discharge_attribute_id: z21.number().optional(),
4114
+ duration_attribute_id: z21.number().optional(),
4115
+ electronic_chance: z21.boolean().optional(),
4116
+ falloff_attribute_id: z21.number().optional(),
4117
+ modifiers: z21.array(
4118
+ z21.looseObject({
4119
+ domain: z21.string().optional(),
4120
+ effect_id: z21.number().optional(),
4121
+ func: z21.string(),
4122
+ modified_attribute_id: z21.number().optional(),
4123
+ modifying_attribute_id: z21.number().optional(),
4124
+ operator: z21.number().optional()
3981
4125
  })
3982
4126
  ).optional(),
3983
- post_expression: z18.number().optional(),
3984
- pre_expression: z18.number().optional(),
3985
- range_attribute_id: z18.number().optional(),
3986
- range_chance: z18.boolean().optional(),
3987
- tracking_speed_attribute_id: z18.number().optional()
3988
- });
3989
- var DogmaDynamicItemSchema = z18.looseObject({
3990
- created_by: z18.number(),
3991
- dogma_attributes: z18.array(
3992
- z18.looseObject({
3993
- attribute_id: z18.number(),
3994
- value: z18.number()
4127
+ post_expression: z21.number().optional(),
4128
+ pre_expression: z21.number().optional(),
4129
+ range_attribute_id: z21.number().optional(),
4130
+ range_chance: z21.boolean().optional(),
4131
+ tracking_speed_attribute_id: z21.number().optional()
4132
+ });
4133
+ var DogmaDynamicItemSchema = z21.looseObject({
4134
+ created_by: z21.number(),
4135
+ dogma_attributes: z21.array(
4136
+ z21.looseObject({
4137
+ attribute_id: z21.number(),
4138
+ value: z21.number()
3995
4139
  })
3996
4140
  ),
3997
- dogma_effects: z18.array(
3998
- z18.looseObject({
3999
- effect_id: z18.number(),
4000
- is_default: z18.boolean()
4141
+ dogma_effects: z21.array(
4142
+ z21.looseObject({
4143
+ effect_id: z21.number(),
4144
+ is_default: z21.boolean()
4001
4145
  })
4002
4146
  ),
4003
- mutator_type_id: z18.number(),
4004
- source_type_id: z18.number()
4147
+ mutator_type_id: z21.number(),
4148
+ source_type_id: z21.number()
4005
4149
  });
4006
4150
 
4007
4151
  // src/core/endpoints/dogmaEndpoints.ts
@@ -4010,7 +4154,7 @@ var dogmaEndpoints = {
4010
4154
  path: "dogma/attributes",
4011
4155
  method: "GET",
4012
4156
  requiresAuth: false,
4013
- responseSchema: z19.array(z19.number())
4157
+ responseSchema: z22.array(z22.number())
4014
4158
  },
4015
4159
  getAttributeById: {
4016
4160
  path: "dogma/attributes/{attributeId}",
@@ -4023,7 +4167,7 @@ var dogmaEndpoints = {
4023
4167
  path: "dogma/effects",
4024
4168
  method: "GET",
4025
4169
  requiresAuth: false,
4026
- responseSchema: z19.array(z19.number())
4170
+ responseSchema: z22.array(z22.number())
4027
4171
  },
4028
4172
  getEffectById: {
4029
4173
  path: "dogma/effects/{effectId}",
@@ -4096,108 +4240,108 @@ var DogmaClient = class extends BaseEsiClient {
4096
4240
  };
4097
4241
 
4098
4242
  // src/core/endpoints/factionEndpoints.ts
4099
- import { z as z21 } from "zod";
4243
+ import { z as z24 } from "zod";
4100
4244
 
4101
4245
  // src/schemas/faction-warfare.ts
4102
- import { z as z20 } from "zod";
4103
- var FactionWarfareStatsSchema = z20.looseObject({
4104
- faction_id: z20.number(),
4105
- pilots: z20.number(),
4106
- systems_controlled: z20.number(),
4107
- kills: z20.looseObject({
4108
- yesterday: z20.number(),
4109
- last_week: z20.number(),
4110
- total: z20.number()
4246
+ import { z as z23 } from "zod";
4247
+ var FactionWarfareStatsSchema = z23.looseObject({
4248
+ faction_id: z23.number(),
4249
+ pilots: z23.number(),
4250
+ systems_controlled: z23.number(),
4251
+ kills: z23.looseObject({
4252
+ yesterday: z23.number(),
4253
+ last_week: z23.number(),
4254
+ total: z23.number()
4111
4255
  }),
4112
- victory_points: z20.looseObject({
4113
- yesterday: z20.number(),
4114
- last_week: z20.number(),
4115
- total: z20.number()
4256
+ victory_points: z23.looseObject({
4257
+ yesterday: z23.number(),
4258
+ last_week: z23.number(),
4259
+ total: z23.number()
4116
4260
  })
4117
4261
  });
4118
- var FactionWarfareCharacterStatsSchema = z20.looseObject({
4119
- faction_id: z20.number().optional(),
4120
- enlisted_on: z20.string().optional(),
4121
- current_rank: z20.number().optional(),
4122
- highest_rank: z20.number().optional(),
4123
- kills: z20.looseObject({
4124
- yesterday: z20.number(),
4125
- last_week: z20.number(),
4126
- total: z20.number()
4262
+ var FactionWarfareCharacterStatsSchema = z23.looseObject({
4263
+ faction_id: z23.number().optional(),
4264
+ enlisted_on: z23.string().optional(),
4265
+ current_rank: z23.number().optional(),
4266
+ highest_rank: z23.number().optional(),
4267
+ kills: z23.looseObject({
4268
+ yesterday: z23.number(),
4269
+ last_week: z23.number(),
4270
+ total: z23.number()
4127
4271
  }),
4128
- victory_points: z20.looseObject({
4129
- yesterday: z20.number(),
4130
- last_week: z20.number(),
4131
- total: z20.number()
4272
+ victory_points: z23.looseObject({
4273
+ yesterday: z23.number(),
4274
+ last_week: z23.number(),
4275
+ total: z23.number()
4132
4276
  })
4133
4277
  });
4134
- var FactionWarfareSystemSchema = z20.looseObject({
4135
- solar_system_id: z20.number(),
4136
- owner_faction_id: z20.number(),
4137
- occupier_faction_id: z20.number(),
4138
- contested: z20.enum(["captured", "contested", "uncontested", "vulnerable"]),
4139
- victory_points: z20.number(),
4140
- victory_points_threshold: z20.number()
4141
- });
4142
- var FactionWarfareWarSchema = z20.looseObject({
4143
- faction_id: z20.number(),
4144
- against_id: z20.number()
4145
- });
4146
- var FactionWarfareLeaderboardSchema = z20.looseObject({
4147
- kills: z20.looseObject({
4148
- yesterday: z20.array(
4149
- z20.looseObject({
4150
- amount: z20.number(),
4151
- id: z20.number().optional()
4278
+ var FactionWarfareSystemSchema = z23.looseObject({
4279
+ solar_system_id: z23.number(),
4280
+ owner_faction_id: z23.number(),
4281
+ occupier_faction_id: z23.number(),
4282
+ contested: esiEnum(["captured", "contested", "uncontested", "vulnerable"]),
4283
+ victory_points: z23.number(),
4284
+ victory_points_threshold: z23.number()
4285
+ });
4286
+ var FactionWarfareWarSchema = z23.looseObject({
4287
+ faction_id: z23.number(),
4288
+ against_id: z23.number()
4289
+ });
4290
+ var FactionWarfareLeaderboardSchema = z23.looseObject({
4291
+ kills: z23.looseObject({
4292
+ yesterday: z23.array(
4293
+ z23.looseObject({
4294
+ amount: z23.number(),
4295
+ id: z23.number().optional()
4152
4296
  })
4153
4297
  ),
4154
- last_week: z20.array(
4155
- z20.looseObject({
4156
- amount: z20.number(),
4157
- id: z20.number().optional()
4298
+ last_week: z23.array(
4299
+ z23.looseObject({
4300
+ amount: z23.number(),
4301
+ id: z23.number().optional()
4158
4302
  })
4159
4303
  ),
4160
- active_total: z20.array(
4161
- z20.looseObject({
4162
- amount: z20.number(),
4163
- id: z20.number().optional()
4304
+ active_total: z23.array(
4305
+ z23.looseObject({
4306
+ amount: z23.number(),
4307
+ id: z23.number().optional()
4164
4308
  })
4165
4309
  )
4166
4310
  }),
4167
- victory_points: z20.looseObject({
4168
- yesterday: z20.array(
4169
- z20.looseObject({
4170
- amount: z20.number(),
4171
- id: z20.number().optional()
4311
+ victory_points: z23.looseObject({
4312
+ yesterday: z23.array(
4313
+ z23.looseObject({
4314
+ amount: z23.number(),
4315
+ id: z23.number().optional()
4172
4316
  })
4173
4317
  ),
4174
- last_week: z20.array(
4175
- z20.looseObject({
4176
- amount: z20.number(),
4177
- id: z20.number().optional()
4318
+ last_week: z23.array(
4319
+ z23.looseObject({
4320
+ amount: z23.number(),
4321
+ id: z23.number().optional()
4178
4322
  })
4179
4323
  ),
4180
- active_total: z20.array(
4181
- z20.looseObject({
4182
- amount: z20.number(),
4183
- id: z20.number().optional()
4324
+ active_total: z23.array(
4325
+ z23.looseObject({
4326
+ amount: z23.number(),
4327
+ id: z23.number().optional()
4184
4328
  })
4185
4329
  )
4186
4330
  })
4187
4331
  });
4188
- var FactionWarfareCorporationStatsSchema = z20.looseObject({
4189
- faction_id: z20.number().optional(),
4190
- enlisted_on: z20.string().optional(),
4191
- pilots: z20.number().optional(),
4192
- kills: z20.looseObject({
4193
- yesterday: z20.number(),
4194
- last_week: z20.number(),
4195
- total: z20.number()
4332
+ var FactionWarfareCorporationStatsSchema = z23.looseObject({
4333
+ faction_id: z23.number().optional(),
4334
+ enlisted_on: z23.string().optional(),
4335
+ pilots: z23.number().optional(),
4336
+ kills: z23.looseObject({
4337
+ yesterday: z23.number(),
4338
+ last_week: z23.number(),
4339
+ total: z23.number()
4196
4340
  }),
4197
- victory_points: z20.looseObject({
4198
- yesterday: z20.number(),
4199
- last_week: z20.number(),
4200
- total: z20.number()
4341
+ victory_points: z23.looseObject({
4342
+ yesterday: z23.number(),
4343
+ last_week: z23.number(),
4344
+ total: z23.number()
4201
4345
  })
4202
4346
  });
4203
4347
 
@@ -4239,19 +4383,19 @@ var factionEndpoints = {
4239
4383
  path: "fw/stats",
4240
4384
  method: "GET",
4241
4385
  requiresAuth: false,
4242
- responseSchema: z21.array(FactionWarfareStatsSchema)
4386
+ responseSchema: z24.array(FactionWarfareStatsSchema)
4243
4387
  },
4244
4388
  getSystems: {
4245
4389
  path: "fw/systems",
4246
4390
  method: "GET",
4247
4391
  requiresAuth: false,
4248
- responseSchema: z21.array(FactionWarfareSystemSchema)
4392
+ responseSchema: z24.array(FactionWarfareSystemSchema)
4249
4393
  },
4250
4394
  getWars: {
4251
4395
  path: "fw/wars",
4252
4396
  method: "GET",
4253
4397
  requiresAuth: false,
4254
- responseSchema: z21.array(FactionWarfareWarSchema)
4398
+ responseSchema: z24.array(FactionWarfareWarSchema)
4255
4399
  }
4256
4400
  };
4257
4401
 
@@ -4335,20 +4479,20 @@ var FactionClient = class extends BaseEsiClient {
4335
4479
  };
4336
4480
 
4337
4481
  // src/core/endpoints/fittingEndpoints.ts
4338
- import { z as z23 } from "zod";
4482
+ import { z as z26 } from "zod";
4339
4483
 
4340
4484
  // src/schemas/fittings.ts
4341
- import { z as z22 } from "zod";
4342
- var FittingSchema = z22.looseObject({
4343
- fitting_id: z22.number(),
4344
- name: z22.string(),
4345
- description: z22.string(),
4346
- ship_type_id: z22.number(),
4347
- items: z22.array(
4348
- z22.looseObject({
4349
- type_id: z22.number(),
4350
- flag: z22.union([z22.number(), z22.string()]),
4351
- quantity: z22.number()
4485
+ import { z as z25 } from "zod";
4486
+ var FittingSchema = z25.looseObject({
4487
+ fitting_id: z25.number(),
4488
+ name: z25.string(),
4489
+ description: z25.string(),
4490
+ ship_type_id: z25.number(),
4491
+ items: z25.array(
4492
+ z25.looseObject({
4493
+ type_id: z25.number(),
4494
+ flag: z25.union([z25.number(), z25.string()]),
4495
+ quantity: z25.number()
4352
4496
  })
4353
4497
  )
4354
4498
  });
@@ -4360,7 +4504,7 @@ var fittingEndpoints = {
4360
4504
  method: "GET",
4361
4505
  requiresAuth: true,
4362
4506
  pathParams: ["characterId"],
4363
- responseSchema: z23.array(FittingSchema)
4507
+ responseSchema: z26.array(FittingSchema)
4364
4508
  },
4365
4509
  createFitting: {
4366
4510
  path: "characters/{characterId}/fittings",
@@ -4419,56 +4563,56 @@ var FittingsClient = class extends BaseEsiClient {
4419
4563
  };
4420
4564
 
4421
4565
  // src/core/endpoints/fleetEndpoints.ts
4422
- import { z as z25 } from "zod";
4566
+ import { z as z28 } from "zod";
4423
4567
 
4424
4568
  // src/schemas/fleet.ts
4425
- import { z as z24 } from "zod";
4426
- var FleetInfoSchema = z24.looseObject({
4427
- fleet_id: z24.number().optional(),
4428
- fleet_boss_id: z24.number().optional(),
4429
- is_free_move: z24.boolean(),
4430
- is_registered: z24.boolean(),
4431
- is_voice_enabled: z24.boolean(),
4432
- motd: z24.string()
4433
- });
4434
- var FleetMemberSchema = z24.looseObject({
4435
- character_id: z24.number(),
4436
- ship_type_id: z24.number(),
4437
- wing_id: z24.number(),
4438
- squad_id: z24.number(),
4439
- role: z24.enum([
4569
+ import { z as z27 } from "zod";
4570
+ var FleetInfoSchema = z27.looseObject({
4571
+ fleet_id: z27.number().optional(),
4572
+ fleet_boss_id: z27.number().optional(),
4573
+ is_free_move: z27.boolean(),
4574
+ is_registered: z27.boolean(),
4575
+ is_voice_enabled: z27.boolean(),
4576
+ motd: z27.string()
4577
+ });
4578
+ var FleetMemberSchema = z27.looseObject({
4579
+ character_id: z27.number(),
4580
+ ship_type_id: z27.number(),
4581
+ wing_id: z27.number(),
4582
+ squad_id: z27.number(),
4583
+ role: esiEnum([
4440
4584
  "fleet_commander",
4441
4585
  "wing_commander",
4442
4586
  "squad_commander",
4443
4587
  "squad_member"
4444
4588
  ]),
4445
- role_name: z24.string(),
4446
- join_time: z24.string(),
4447
- takes_fleet_warp: z24.boolean(),
4448
- solar_system_id: z24.number(),
4449
- station_id: z24.number().optional()
4450
- });
4451
- var FleetWingSchema = z24.looseObject({
4452
- id: z24.number(),
4453
- name: z24.string(),
4454
- squads: z24.array(
4455
- z24.looseObject({
4456
- id: z24.number(),
4457
- name: z24.string()
4589
+ role_name: z27.string(),
4590
+ join_time: z27.string(),
4591
+ takes_fleet_warp: z27.boolean(),
4592
+ solar_system_id: z27.number(),
4593
+ station_id: z27.number().optional()
4594
+ });
4595
+ var FleetWingSchema = z27.looseObject({
4596
+ id: z27.number(),
4597
+ name: z27.string(),
4598
+ squads: z27.array(
4599
+ z27.looseObject({
4600
+ id: z27.number(),
4601
+ name: z27.string()
4458
4602
  })
4459
4603
  )
4460
4604
  });
4461
- var CharacterFleetInfoSchema = z24.looseObject({
4462
- fleet_id: z24.number(),
4463
- fleet_boss_id: z24.number().optional(),
4464
- role: z24.enum([
4605
+ var CharacterFleetInfoSchema = z27.looseObject({
4606
+ fleet_id: z27.number(),
4607
+ fleet_boss_id: z27.number().optional(),
4608
+ role: esiEnum([
4465
4609
  "fleet_commander",
4466
4610
  "wing_commander",
4467
4611
  "squad_commander",
4468
4612
  "squad_member"
4469
4613
  ]),
4470
- squad_id: z24.number(),
4471
- wing_id: z24.number()
4614
+ squad_id: z27.number(),
4615
+ wing_id: z27.number()
4472
4616
  });
4473
4617
 
4474
4618
  // src/core/endpoints/fleetEndpoints.ts
@@ -4493,9 +4637,9 @@ var fleetEndpoints = {
4493
4637
  requiresAuth: true,
4494
4638
  pathParams: ["fleetId"],
4495
4639
  hasBody: true,
4496
- requestSchema: z25.looseObject({
4497
- is_free_move: z25.boolean().optional(),
4498
- motd: z25.string().optional()
4640
+ requestSchema: z28.looseObject({
4641
+ is_free_move: z28.boolean().optional(),
4642
+ motd: z28.string().optional()
4499
4643
  })
4500
4644
  },
4501
4645
  getFleetMembers: {
@@ -4503,7 +4647,7 @@ var fleetEndpoints = {
4503
4647
  method: "GET",
4504
4648
  requiresAuth: true,
4505
4649
  pathParams: ["fleetId"],
4506
- responseSchema: z25.array(FleetMemberSchema)
4650
+ responseSchema: z28.array(FleetMemberSchema)
4507
4651
  },
4508
4652
  createFleetInvitation: {
4509
4653
  path: "fleets/{fleetId}/members/",
@@ -4543,7 +4687,7 @@ var fleetEndpoints = {
4543
4687
  method: "GET",
4544
4688
  requiresAuth: true,
4545
4689
  pathParams: ["fleetId"],
4546
- responseSchema: z25.array(FleetWingSchema)
4690
+ responseSchema: z28.array(FleetWingSchema)
4547
4691
  },
4548
4692
  createFleetWing: {
4549
4693
  path: "fleets/{fleetId}/wings/",
@@ -4746,19 +4890,19 @@ var FleetClient = class extends BaseEsiClient {
4746
4890
  };
4747
4891
 
4748
4892
  // src/core/endpoints/incursionEndpoints.ts
4749
- import { z as z27 } from "zod";
4893
+ import { z as z30 } from "zod";
4750
4894
 
4751
4895
  // src/schemas/incursions.ts
4752
- import { z as z26 } from "zod";
4753
- var IncursionSchema = z26.looseObject({
4754
- type: z26.string(),
4755
- state: z26.enum(["withdrawing", "mobilizing", "established"]),
4756
- staging_solar_system_id: z26.number(),
4757
- constellation_id: z26.number(),
4758
- infested_solar_systems: z26.array(z26.number()),
4759
- has_boss: z26.boolean(),
4760
- faction_id: z26.number(),
4761
- influence: z26.number()
4896
+ import { z as z29 } from "zod";
4897
+ var IncursionSchema = z29.looseObject({
4898
+ type: z29.string(),
4899
+ state: esiEnum(["withdrawing", "mobilizing", "established"]),
4900
+ staging_solar_system_id: z29.number(),
4901
+ constellation_id: z29.number(),
4902
+ infested_solar_systems: z29.array(z29.number()),
4903
+ has_boss: z29.boolean(),
4904
+ faction_id: z29.number(),
4905
+ influence: z29.number()
4762
4906
  });
4763
4907
 
4764
4908
  // src/core/endpoints/incursionEndpoints.ts
@@ -4767,7 +4911,7 @@ var incursionEndpoints = {
4767
4911
  path: "incursions",
4768
4912
  method: "GET",
4769
4913
  requiresAuth: false,
4770
- responseSchema: z27.array(IncursionSchema)
4914
+ responseSchema: z30.array(IncursionSchema)
4771
4915
  }
4772
4916
  };
4773
4917
 
@@ -4787,26 +4931,26 @@ var IncursionsClient = class extends BaseEsiClient {
4787
4931
  };
4788
4932
 
4789
4933
  // src/core/endpoints/industryEndpoints.ts
4790
- import { z as z29 } from "zod";
4934
+ import { z as z32 } from "zod";
4791
4935
 
4792
4936
  // src/schemas/industry.ts
4793
- import { z as z28 } from "zod";
4794
- var IndustryJobSchema = z28.looseObject({
4795
- job_id: z28.number(),
4796
- installer_id: z28.number(),
4797
- facility_id: z28.number(),
4798
- station_id: z28.number(),
4799
- activity_id: z28.number(),
4800
- blueprint_id: z28.number(),
4801
- blueprint_type_id: z28.number(),
4802
- blueprint_location_id: z28.number(),
4803
- output_location_id: z28.number(),
4804
- runs: z28.number(),
4805
- cost: z28.number().optional(),
4806
- licensed_runs: z28.number().optional(),
4807
- probability: z28.number().optional(),
4808
- product_type_id: z28.number().optional(),
4809
- status: z28.enum([
4937
+ import { z as z31 } from "zod";
4938
+ var IndustryJobSchema = z31.looseObject({
4939
+ job_id: z31.number(),
4940
+ installer_id: z31.number(),
4941
+ facility_id: z31.number(),
4942
+ station_id: z31.number(),
4943
+ activity_id: z31.number(),
4944
+ blueprint_id: z31.number(),
4945
+ blueprint_type_id: z31.number(),
4946
+ blueprint_location_id: z31.number(),
4947
+ output_location_id: z31.number(),
4948
+ runs: z31.number(),
4949
+ cost: z31.number().optional(),
4950
+ licensed_runs: z31.number().optional(),
4951
+ probability: z31.number().optional(),
4952
+ product_type_id: z31.number().optional(),
4953
+ status: esiEnum([
4810
4954
  "active",
4811
4955
  "cancelled",
4812
4956
  "delivered",
@@ -4814,55 +4958,55 @@ var IndustryJobSchema = z28.looseObject({
4814
4958
  "ready",
4815
4959
  "reverted"
4816
4960
  ]),
4817
- duration: z28.number(),
4818
- start_date: z28.string(),
4819
- end_date: z28.string(),
4820
- pause_date: z28.string().optional(),
4821
- completed_date: z28.string().optional(),
4822
- completed_character_id: z28.number().optional(),
4823
- successful_runs: z28.number().optional()
4824
- });
4825
- var MiningLedgerEntrySchema = z28.looseObject({
4826
- date: z28.string(),
4827
- solar_system_id: z28.number(),
4828
- type_id: z28.number(),
4829
- quantity: z28.number()
4830
- });
4831
- var IndustryFacilitySchema = z28.looseObject({
4832
- facility_id: z28.number(),
4833
- owner_id: z28.number(),
4834
- region_id: z28.number(),
4835
- solar_system_id: z28.number(),
4836
- tax: z28.number().optional(),
4837
- type_id: z28.number()
4838
- });
4839
- var IndustrySystemSchema = z28.looseObject({
4840
- solar_system_id: z28.number(),
4841
- cost_indices: z28.array(
4842
- z28.looseObject({
4843
- activity: z28.string(),
4844
- cost_index: z28.number()
4961
+ duration: z31.number(),
4962
+ start_date: z31.string(),
4963
+ end_date: z31.string(),
4964
+ pause_date: z31.string().optional(),
4965
+ completed_date: z31.string().optional(),
4966
+ completed_character_id: z31.number().optional(),
4967
+ successful_runs: z31.number().optional()
4968
+ });
4969
+ var MiningLedgerEntrySchema = z31.looseObject({
4970
+ date: z31.string(),
4971
+ solar_system_id: z31.number(),
4972
+ type_id: z31.number(),
4973
+ quantity: z31.number()
4974
+ });
4975
+ var IndustryFacilitySchema = z31.looseObject({
4976
+ facility_id: z31.number(),
4977
+ owner_id: z31.number(),
4978
+ region_id: z31.number(),
4979
+ solar_system_id: z31.number(),
4980
+ tax: z31.number().optional(),
4981
+ type_id: z31.number()
4982
+ });
4983
+ var IndustrySystemSchema = z31.looseObject({
4984
+ solar_system_id: z31.number(),
4985
+ cost_indices: z31.array(
4986
+ z31.looseObject({
4987
+ activity: z31.string(),
4988
+ cost_index: z31.number()
4845
4989
  })
4846
4990
  )
4847
4991
  });
4848
- var MoonExtractionTimerSchema = z28.looseObject({
4849
- structure_id: z28.number(),
4850
- moon_id: z28.number(),
4851
- extraction_start_time: z28.string(),
4852
- chunk_arrival_time: z28.string(),
4853
- natural_decay_time: z28.string()
4992
+ var MoonExtractionTimerSchema = z31.looseObject({
4993
+ structure_id: z31.number(),
4994
+ moon_id: z31.number(),
4995
+ extraction_start_time: z31.string(),
4996
+ chunk_arrival_time: z31.string(),
4997
+ natural_decay_time: z31.string()
4854
4998
  });
4855
- var MiningObserverSchema = z28.looseObject({
4856
- observer_id: z28.number(),
4857
- observer_type: z28.string(),
4858
- last_updated: z28.string()
4999
+ var MiningObserverSchema = z31.looseObject({
5000
+ observer_id: z31.number(),
5001
+ observer_type: z31.string(),
5002
+ last_updated: z31.string()
4859
5003
  });
4860
- var MiningObserverEntrySchema = z28.looseObject({
4861
- character_id: z28.number(),
4862
- recorded_corporation_id: z28.number(),
4863
- type_id: z28.number(),
4864
- quantity: z28.number(),
4865
- last_updated: z28.string()
5004
+ var MiningObserverEntrySchema = z31.looseObject({
5005
+ character_id: z31.number(),
5006
+ recorded_corporation_id: z31.number(),
5007
+ type_id: z31.number(),
5008
+ quantity: z31.number(),
5009
+ last_updated: z31.string()
4866
5010
  });
4867
5011
 
4868
5012
  // src/core/endpoints/industryEndpoints.ts
@@ -4872,54 +5016,54 @@ var industryEndpoints = {
4872
5016
  method: "GET",
4873
5017
  requiresAuth: true,
4874
5018
  pathParams: ["characterId"],
4875
- responseSchema: z29.array(IndustryJobSchema)
5019
+ responseSchema: z32.array(IndustryJobSchema)
4876
5020
  },
4877
5021
  getCharacterMiningLedger: {
4878
5022
  path: "characters/{characterId}/mining",
4879
5023
  method: "GET",
4880
5024
  requiresAuth: true,
4881
5025
  pathParams: ["characterId"],
4882
- responseSchema: z29.array(MiningLedgerEntrySchema)
5026
+ responseSchema: z32.array(MiningLedgerEntrySchema)
4883
5027
  },
4884
5028
  getCorporationIndustryJobs: {
4885
5029
  path: "corporations/{corporationId}/industry/jobs",
4886
5030
  method: "GET",
4887
5031
  requiresAuth: true,
4888
5032
  pathParams: ["corporationId"],
4889
- responseSchema: z29.array(IndustryJobSchema)
5033
+ responseSchema: z32.array(IndustryJobSchema)
4890
5034
  },
4891
5035
  getMoonExtractionTimers: {
4892
- path: "corporations/{corporationId}/mining/extractions",
5036
+ path: "corporation/{corporationId}/mining/extractions",
4893
5037
  method: "GET",
4894
5038
  requiresAuth: true,
4895
5039
  pathParams: ["corporationId"],
4896
- responseSchema: z29.array(MoonExtractionTimerSchema)
5040
+ responseSchema: z32.array(MoonExtractionTimerSchema)
4897
5041
  },
4898
5042
  getCorporationMiningObservers: {
4899
- path: "corporations/{corporationId}/mining/observers",
5043
+ path: "corporation/{corporationId}/mining/observers",
4900
5044
  method: "GET",
4901
5045
  requiresAuth: true,
4902
5046
  pathParams: ["corporationId"],
4903
- responseSchema: z29.array(MiningObserverSchema)
5047
+ responseSchema: z32.array(MiningObserverSchema)
4904
5048
  },
4905
5049
  getCorporationMiningObserver: {
4906
- path: "corporations/{corporationId}/mining/observers/{observerId}",
5050
+ path: "corporation/{corporationId}/mining/observers/{observerId}",
4907
5051
  method: "GET",
4908
5052
  requiresAuth: true,
4909
5053
  pathParams: ["corporationId", "observerId"],
4910
- responseSchema: z29.array(MiningObserverEntrySchema)
5054
+ responseSchema: z32.array(MiningObserverEntrySchema)
4911
5055
  },
4912
5056
  getIndustryFacilities: {
4913
5057
  path: "industry/facilities",
4914
5058
  method: "GET",
4915
5059
  requiresAuth: false,
4916
- responseSchema: z29.array(IndustryFacilitySchema)
5060
+ responseSchema: z32.array(IndustryFacilitySchema)
4917
5061
  },
4918
5062
  getIndustrySystems: {
4919
5063
  path: "industry/systems",
4920
5064
  method: "GET",
4921
5065
  requiresAuth: false,
4922
- responseSchema: z29.array(IndustrySystemSchema)
5066
+ responseSchema: z32.array(IndustrySystemSchema)
4923
5067
  }
4924
5068
  };
4925
5069
 
@@ -5051,17 +5195,17 @@ var IndustryClient = class extends BaseEsiClient {
5051
5195
  };
5052
5196
 
5053
5197
  // src/core/endpoints/insuranceEndpoints.ts
5054
- import { z as z31 } from "zod";
5198
+ import { z as z34 } from "zod";
5055
5199
 
5056
5200
  // src/schemas/insurance.ts
5057
- import { z as z30 } from "zod";
5058
- var InsurancePriceSchema = z30.looseObject({
5059
- type_id: z30.number(),
5060
- levels: z30.array(
5061
- z30.looseObject({
5062
- cost: z30.number(),
5063
- payout: z30.number(),
5064
- name: z30.string()
5201
+ import { z as z33 } from "zod";
5202
+ var InsurancePriceSchema = z33.looseObject({
5203
+ type_id: z33.number(),
5204
+ levels: z33.array(
5205
+ z33.looseObject({
5206
+ cost: z33.number(),
5207
+ payout: z33.number(),
5208
+ name: z33.string()
5065
5209
  })
5066
5210
  )
5067
5211
  });
@@ -5072,7 +5216,7 @@ var insuranceEndpoints = {
5072
5216
  path: "insurance/prices",
5073
5217
  method: "GET",
5074
5218
  requiresAuth: false,
5075
- responseSchema: z31.array(InsurancePriceSchema)
5219
+ responseSchema: z34.array(InsurancePriceSchema)
5076
5220
  }
5077
5221
  };
5078
5222
 
@@ -5092,45 +5236,45 @@ var InsuranceClient = class extends BaseEsiClient {
5092
5236
  };
5093
5237
 
5094
5238
  // src/core/endpoints/killmailEndpoints.ts
5095
- import { z as z33 } from "zod";
5239
+ import { z as z36 } from "zod";
5096
5240
 
5097
5241
  // src/schemas/killmails.ts
5098
- import { z as z32 } from "zod";
5099
- var KillmailSummarySchema = z32.looseObject({
5100
- killmail_id: z32.number(),
5101
- killmail_hash: z32.string()
5102
- });
5103
- var KillmailSchema = z32.looseObject({
5104
- killmail_id: z32.number(),
5105
- killmail_time: z32.string(),
5106
- solar_system_id: z32.number(),
5107
- moon_id: z32.number().optional(),
5108
- war_id: z32.number().optional(),
5109
- victim: z32.looseObject({
5110
- character_id: z32.number().optional(),
5111
- corporation_id: z32.number().optional(),
5112
- alliance_id: z32.number().optional(),
5113
- faction_id: z32.number().optional(),
5114
- ship_type_id: z32.number(),
5115
- damage_taken: z32.number(),
5116
- position: z32.looseObject({
5117
- x: z32.number(),
5118
- y: z32.number(),
5119
- z: z32.number()
5242
+ import { z as z35 } from "zod";
5243
+ var KillmailSummarySchema = z35.looseObject({
5244
+ killmail_id: z35.number(),
5245
+ killmail_hash: z35.string()
5246
+ });
5247
+ var KillmailSchema = z35.looseObject({
5248
+ killmail_id: z35.number(),
5249
+ killmail_time: z35.string(),
5250
+ solar_system_id: z35.number(),
5251
+ moon_id: z35.number().optional(),
5252
+ war_id: z35.number().optional(),
5253
+ victim: z35.looseObject({
5254
+ character_id: z35.number().optional(),
5255
+ corporation_id: z35.number().optional(),
5256
+ alliance_id: z35.number().optional(),
5257
+ faction_id: z35.number().optional(),
5258
+ ship_type_id: z35.number(),
5259
+ damage_taken: z35.number(),
5260
+ position: z35.looseObject({
5261
+ x: z35.number(),
5262
+ y: z35.number(),
5263
+ z: z35.number()
5120
5264
  }).optional(),
5121
- items: z32.array(z32.unknown()).optional()
5265
+ items: z35.array(z35.unknown()).optional()
5122
5266
  }),
5123
- attackers: z32.array(
5124
- z32.looseObject({
5125
- character_id: z32.number().optional(),
5126
- corporation_id: z32.number().optional(),
5127
- alliance_id: z32.number().optional(),
5128
- faction_id: z32.number().optional(),
5129
- ship_type_id: z32.number().optional(),
5130
- weapon_type_id: z32.number().optional(),
5131
- damage_done: z32.number(),
5132
- final_blow: z32.boolean(),
5133
- security_status: z32.number()
5267
+ attackers: z35.array(
5268
+ z35.looseObject({
5269
+ character_id: z35.number().optional(),
5270
+ corporation_id: z35.number().optional(),
5271
+ alliance_id: z35.number().optional(),
5272
+ faction_id: z35.number().optional(),
5273
+ ship_type_id: z35.number().optional(),
5274
+ weapon_type_id: z35.number().optional(),
5275
+ damage_done: z35.number(),
5276
+ final_blow: z35.boolean(),
5277
+ security_status: z35.number()
5134
5278
  })
5135
5279
  )
5136
5280
  });
@@ -5142,14 +5286,14 @@ var killmailEndpoints = {
5142
5286
  method: "GET",
5143
5287
  requiresAuth: true,
5144
5288
  pathParams: ["characterId"],
5145
- responseSchema: z33.array(KillmailSummarySchema)
5289
+ responseSchema: z36.array(KillmailSummarySchema)
5146
5290
  },
5147
5291
  getCorporationRecentKillmails: {
5148
5292
  path: "corporations/{corporationId}/killmails/recent",
5149
5293
  method: "GET",
5150
5294
  requiresAuth: true,
5151
5295
  pathParams: ["corporationId"],
5152
- responseSchema: z33.array(KillmailSummarySchema)
5296
+ responseSchema: z36.array(KillmailSummarySchema)
5153
5297
  },
5154
5298
  getKillmail: {
5155
5299
  path: "killmails/{killmailId}/{killmailHash}",
@@ -5210,22 +5354,22 @@ var KillmailsClient = class extends BaseEsiClient {
5210
5354
  };
5211
5355
 
5212
5356
  // src/schemas/location.ts
5213
- import { z as z34 } from "zod";
5214
- var CharacterLocationSchema = z34.looseObject({
5215
- solar_system_id: z34.number(),
5216
- station_id: z34.number().optional(),
5217
- structure_id: z34.number().optional()
5357
+ import { z as z37 } from "zod";
5358
+ var CharacterLocationSchema = z37.looseObject({
5359
+ solar_system_id: z37.number(),
5360
+ station_id: z37.number().optional(),
5361
+ structure_id: z37.number().optional()
5218
5362
  });
5219
- var CharacterOnlineSchema = z34.looseObject({
5220
- online: z34.boolean(),
5221
- last_login: z34.string().optional(),
5222
- last_logout: z34.string().optional(),
5223
- logins: z34.number().optional()
5363
+ var CharacterOnlineSchema = z37.looseObject({
5364
+ online: z37.boolean(),
5365
+ last_login: z37.string().optional(),
5366
+ last_logout: z37.string().optional(),
5367
+ logins: z37.number().optional()
5224
5368
  });
5225
- var CharacterShipSchema = z34.looseObject({
5226
- ship_item_id: z34.number(),
5227
- ship_name: z34.string(),
5228
- ship_type_id: z34.number()
5369
+ var CharacterShipSchema = z37.looseObject({
5370
+ ship_item_id: z37.number(),
5371
+ ship_name: z37.string(),
5372
+ ship_type_id: z37.number()
5229
5373
  });
5230
5374
 
5231
5375
  // src/core/endpoints/locationEndpoints.ts
@@ -5293,25 +5437,25 @@ var LocationClient = class extends BaseEsiClient {
5293
5437
  };
5294
5438
 
5295
5439
  // src/core/endpoints/loyaltyEndpoints.ts
5296
- import { z as z36 } from "zod";
5440
+ import { z as z39 } from "zod";
5297
5441
 
5298
5442
  // src/schemas/loyalty.ts
5299
- import { z as z35 } from "zod";
5300
- var LoyaltyPointsSchema = z35.looseObject({
5301
- corporation_id: z35.number(),
5302
- loyalty_points: z35.number()
5303
- });
5304
- var LoyaltyStoreOfferSchema = z35.looseObject({
5305
- offer_id: z35.number(),
5306
- type_id: z35.number(),
5307
- quantity: z35.number(),
5308
- lp_cost: z35.number(),
5309
- isk_cost: z35.number(),
5310
- ak_cost: z35.number().optional(),
5311
- required_items: z35.array(
5312
- z35.looseObject({
5313
- type_id: z35.number(),
5314
- quantity: z35.number()
5443
+ import { z as z38 } from "zod";
5444
+ var LoyaltyPointsSchema = z38.looseObject({
5445
+ corporation_id: z38.number(),
5446
+ loyalty_points: z38.number()
5447
+ });
5448
+ var LoyaltyStoreOfferSchema = z38.looseObject({
5449
+ offer_id: z38.number(),
5450
+ type_id: z38.number(),
5451
+ quantity: z38.number(),
5452
+ lp_cost: z38.number(),
5453
+ isk_cost: z38.number(),
5454
+ ak_cost: z38.number().optional(),
5455
+ required_items: z38.array(
5456
+ z38.looseObject({
5457
+ type_id: z38.number(),
5458
+ quantity: z38.number()
5315
5459
  })
5316
5460
  )
5317
5461
  });
@@ -5323,14 +5467,14 @@ var loyaltyEndpoints = {
5323
5467
  method: "GET",
5324
5468
  requiresAuth: true,
5325
5469
  pathParams: ["characterId"],
5326
- responseSchema: z36.array(LoyaltyPointsSchema)
5470
+ responseSchema: z39.array(LoyaltyPointsSchema)
5327
5471
  },
5328
5472
  getLoyaltyStoreOffers: {
5329
5473
  path: "loyalty/stores/{corporationId}/offers",
5330
5474
  method: "GET",
5331
5475
  requiresAuth: false,
5332
5476
  pathParams: ["corporationId"],
5333
- responseSchema: z36.array(LoyaltyStoreOfferSchema)
5477
+ responseSchema: z39.array(LoyaltyStoreOfferSchema)
5334
5478
  }
5335
5479
  };
5336
5480
 
@@ -5370,22 +5514,22 @@ var LoyaltyClient = class extends BaseEsiClient {
5370
5514
  };
5371
5515
 
5372
5516
  // src/core/endpoints/mailEndpoints.ts
5373
- import { z as z38 } from "zod";
5517
+ import { z as z41 } from "zod";
5374
5518
 
5375
5519
  // src/schemas/mail.ts
5376
- import { z as z37 } from "zod";
5377
- var MailMessageSchema = z37.looseObject({
5378
- mail_id: z37.number().optional(),
5379
- subject: z37.string().optional(),
5380
- from: z37.number().optional(),
5381
- timestamp: z37.string().optional(),
5382
- labels: z37.array(z37.number()).optional(),
5383
- is_read: z37.boolean().optional(),
5384
- body: z37.string().optional(),
5385
- recipients: z37.array(
5386
- z37.looseObject({
5387
- recipient_id: z37.number(),
5388
- recipient_type: z37.enum([
5520
+ import { z as z40 } from "zod";
5521
+ var MailMessageSchema = z40.looseObject({
5522
+ mail_id: z40.number().optional(),
5523
+ subject: z40.string().optional(),
5524
+ from: z40.number().optional(),
5525
+ timestamp: z40.string().optional(),
5526
+ labels: z40.array(z40.number()).optional(),
5527
+ is_read: z40.boolean().optional(),
5528
+ body: z40.string().optional(),
5529
+ recipients: z40.array(
5530
+ z40.looseObject({
5531
+ recipient_id: z40.number(),
5532
+ recipient_type: esiEnum([
5389
5533
  "alliance",
5390
5534
  "character",
5391
5535
  "corporation",
@@ -5394,19 +5538,19 @@ var MailMessageSchema = z37.looseObject({
5394
5538
  })
5395
5539
  ).optional()
5396
5540
  });
5397
- var MailLabelSchema = z37.looseObject({
5398
- label_id: z37.number(),
5399
- name: z37.string(),
5400
- color: z37.string().optional(),
5401
- unread_count: z37.number().optional()
5541
+ var MailLabelSchema = z40.looseObject({
5542
+ label_id: z40.number(),
5543
+ name: z40.string(),
5544
+ color: z40.string().optional(),
5545
+ unread_count: z40.number().optional()
5402
5546
  });
5403
- var MailLabelsResponseSchema = z37.looseObject({
5404
- labels: z37.array(MailLabelSchema).optional(),
5405
- total_unread_count: z37.number().optional()
5547
+ var MailLabelsResponseSchema = z40.looseObject({
5548
+ labels: z40.array(MailLabelSchema).optional(),
5549
+ total_unread_count: z40.number().optional()
5406
5550
  });
5407
- var MailingListSchema = z37.looseObject({
5408
- mailing_list_id: z37.number(),
5409
- name: z37.string()
5551
+ var MailingListSchema = z40.looseObject({
5552
+ mailing_list_id: z40.number(),
5553
+ name: z40.string()
5410
5554
  });
5411
5555
 
5412
5556
  // src/core/endpoints/mailEndpoints.ts
@@ -5416,7 +5560,7 @@ var mailEndpoints = {
5416
5560
  method: "GET",
5417
5561
  requiresAuth: true,
5418
5562
  pathParams: ["characterId"],
5419
- responseSchema: z38.array(MailMessageSchema)
5563
+ responseSchema: z41.array(MailMessageSchema)
5420
5564
  },
5421
5565
  sendMail: {
5422
5566
  path: "characters/{characterId}/mail/",
@@ -5424,11 +5568,11 @@ var mailEndpoints = {
5424
5568
  requiresAuth: true,
5425
5569
  pathParams: ["characterId"],
5426
5570
  hasBody: true,
5427
- requestSchema: z38.looseObject({
5428
- recipients: z38.array(
5429
- z38.looseObject({
5430
- recipient_id: z38.number().int(),
5431
- recipient_type: z38.enum([
5571
+ requestSchema: z41.looseObject({
5572
+ recipients: z41.array(
5573
+ z41.looseObject({
5574
+ recipient_id: z41.number().int(),
5575
+ recipient_type: z41.enum([
5432
5576
  "alliance",
5433
5577
  "character",
5434
5578
  "corporation",
@@ -5436,8 +5580,8 @@ var mailEndpoints = {
5436
5580
  ])
5437
5581
  })
5438
5582
  ),
5439
- subject: z38.string().min(1),
5440
- body: z38.string().min(1)
5583
+ subject: z41.string().min(1),
5584
+ body: z41.string().min(1)
5441
5585
  })
5442
5586
  },
5443
5587
  getMail: {
@@ -5485,7 +5629,7 @@ var mailEndpoints = {
5485
5629
  method: "GET",
5486
5630
  requiresAuth: true,
5487
5631
  pathParams: ["characterId"],
5488
- responseSchema: z38.array(MailingListSchema)
5632
+ responseSchema: z41.array(MailingListSchema)
5489
5633
  }
5490
5634
  };
5491
5635
 
@@ -5610,124 +5754,124 @@ var MailClient = class extends BaseEsiClient {
5610
5754
  };
5611
5755
 
5612
5756
  // src/core/endpoints/marketEndpoints.ts
5613
- import { z as z40 } from "zod";
5757
+ import { z as z43 } from "zod";
5614
5758
 
5615
5759
  // src/schemas/market.ts
5616
- import { z as z39 } from "zod";
5617
- var MarketOrderSchema = z39.looseObject({
5618
- order_id: z39.number(),
5619
- type_id: z39.number(),
5620
- location_id: z39.number(),
5621
- volume_total: z39.number(),
5622
- volume_remain: z39.number(),
5623
- min_volume: z39.number(),
5624
- price: z39.number(),
5625
- is_buy_order: z39.boolean(),
5626
- system_id: z39.number(),
5627
- duration: z39.number(),
5628
- issued: z39.string(),
5629
- range: z39.string()
5630
- });
5631
- var CharacterMarketOrderSchema = z39.looseObject({
5632
- order_id: z39.number(),
5633
- type_id: z39.number(),
5634
- location_id: z39.number(),
5635
- volume_total: z39.number(),
5636
- volume_remain: z39.number(),
5637
- min_volume: z39.number().optional(),
5638
- price: z39.number(),
5639
- is_buy_order: z39.boolean().optional(),
5640
- is_corporation: z39.boolean(),
5641
- region_id: z39.number(),
5642
- duration: z39.number(),
5643
- issued: z39.string(),
5644
- range: z39.string(),
5645
- escrow: z39.number().optional()
5646
- });
5647
- var CharacterMarketOrderHistorySchema = z39.looseObject({
5648
- order_id: z39.number(),
5649
- type_id: z39.number(),
5650
- location_id: z39.number(),
5651
- volume_total: z39.number(),
5652
- volume_remain: z39.number(),
5653
- min_volume: z39.number().optional(),
5654
- price: z39.number(),
5655
- is_buy_order: z39.boolean().optional(),
5656
- is_corporation: z39.boolean(),
5657
- region_id: z39.number(),
5658
- duration: z39.number(),
5659
- issued: z39.string(),
5660
- range: z39.string(),
5661
- state: z39.enum(["cancelled", "expired"]),
5662
- escrow: z39.number().optional()
5663
- });
5664
- var CorporationMarketOrderSchema = z39.looseObject({
5665
- order_id: z39.number(),
5666
- type_id: z39.number(),
5667
- location_id: z39.number(),
5668
- volume_total: z39.number(),
5669
- volume_remain: z39.number(),
5670
- min_volume: z39.number().optional(),
5671
- price: z39.number(),
5672
- is_buy_order: z39.boolean().optional(),
5673
- issued_by: z39.number(),
5674
- region_id: z39.number(),
5675
- wallet_division: z39.number(),
5676
- duration: z39.number(),
5677
- issued: z39.string(),
5678
- range: z39.string(),
5679
- escrow: z39.number().optional()
5680
- });
5681
- var CorporationMarketOrderHistorySchema = z39.looseObject({
5682
- order_id: z39.number(),
5683
- type_id: z39.number(),
5684
- location_id: z39.number(),
5685
- volume_total: z39.number(),
5686
- volume_remain: z39.number(),
5687
- min_volume: z39.number().optional(),
5688
- price: z39.number(),
5689
- is_buy_order: z39.boolean().optional(),
5690
- issued_by: z39.number().optional(),
5691
- region_id: z39.number(),
5692
- wallet_division: z39.number(),
5693
- duration: z39.number(),
5694
- issued: z39.string(),
5695
- range: z39.string(),
5696
- state: z39.enum(["cancelled", "expired"]),
5697
- escrow: z39.number().optional()
5698
- });
5699
- var StructureMarketOrderSchema = z39.looseObject({
5700
- order_id: z39.number(),
5701
- type_id: z39.number(),
5702
- location_id: z39.number(),
5703
- volume_total: z39.number(),
5704
- volume_remain: z39.number(),
5705
- min_volume: z39.number(),
5706
- price: z39.number(),
5707
- is_buy_order: z39.boolean(),
5708
- duration: z39.number(),
5709
- issued: z39.string(),
5710
- range: z39.string()
5711
- });
5712
- var MarketHistorySchema = z39.looseObject({
5713
- date: z39.string(),
5714
- order_count: z39.number(),
5715
- volume: z39.number(),
5716
- highest: z39.number(),
5717
- average: z39.number(),
5718
- lowest: z39.number()
5719
- });
5720
- var MarketGroupSchema = z39.looseObject({
5721
- market_group_id: z39.number(),
5722
- name: z39.string(),
5723
- description: z39.string(),
5724
- types: z39.array(z39.number()),
5725
- parent_group_id: z39.number().optional()
5726
- });
5727
- var MarketPriceSchema = z39.looseObject({
5728
- type_id: z39.number(),
5729
- average_price: z39.number().optional(),
5730
- adjusted_price: z39.number().optional()
5760
+ import { z as z42 } from "zod";
5761
+ var MarketOrderSchema = z42.looseObject({
5762
+ order_id: z42.number(),
5763
+ type_id: z42.number(),
5764
+ location_id: z42.number(),
5765
+ volume_total: z42.number(),
5766
+ volume_remain: z42.number(),
5767
+ min_volume: z42.number(),
5768
+ price: z42.number(),
5769
+ is_buy_order: z42.boolean(),
5770
+ system_id: z42.number(),
5771
+ duration: z42.number(),
5772
+ issued: z42.string(),
5773
+ range: z42.string()
5774
+ });
5775
+ var CharacterMarketOrderSchema = z42.looseObject({
5776
+ order_id: z42.number(),
5777
+ type_id: z42.number(),
5778
+ location_id: z42.number(),
5779
+ volume_total: z42.number(),
5780
+ volume_remain: z42.number(),
5781
+ min_volume: z42.number().optional(),
5782
+ price: z42.number(),
5783
+ is_buy_order: z42.boolean().optional(),
5784
+ is_corporation: z42.boolean(),
5785
+ region_id: z42.number(),
5786
+ duration: z42.number(),
5787
+ issued: z42.string(),
5788
+ range: z42.string(),
5789
+ escrow: z42.number().optional()
5790
+ });
5791
+ var CharacterMarketOrderHistorySchema = z42.looseObject({
5792
+ order_id: z42.number(),
5793
+ type_id: z42.number(),
5794
+ location_id: z42.number(),
5795
+ volume_total: z42.number(),
5796
+ volume_remain: z42.number(),
5797
+ min_volume: z42.number().optional(),
5798
+ price: z42.number(),
5799
+ is_buy_order: z42.boolean().optional(),
5800
+ is_corporation: z42.boolean(),
5801
+ region_id: z42.number(),
5802
+ duration: z42.number(),
5803
+ issued: z42.string(),
5804
+ range: z42.string(),
5805
+ state: esiEnum(["cancelled", "expired"]),
5806
+ escrow: z42.number().optional()
5807
+ });
5808
+ var CorporationMarketOrderSchema = z42.looseObject({
5809
+ order_id: z42.number(),
5810
+ type_id: z42.number(),
5811
+ location_id: z42.number(),
5812
+ volume_total: z42.number(),
5813
+ volume_remain: z42.number(),
5814
+ min_volume: z42.number().optional(),
5815
+ price: z42.number(),
5816
+ is_buy_order: z42.boolean().optional(),
5817
+ issued_by: z42.number(),
5818
+ region_id: z42.number(),
5819
+ wallet_division: z42.number(),
5820
+ duration: z42.number(),
5821
+ issued: z42.string(),
5822
+ range: z42.string(),
5823
+ escrow: z42.number().optional()
5824
+ });
5825
+ var CorporationMarketOrderHistorySchema = z42.looseObject({
5826
+ order_id: z42.number(),
5827
+ type_id: z42.number(),
5828
+ location_id: z42.number(),
5829
+ volume_total: z42.number(),
5830
+ volume_remain: z42.number(),
5831
+ min_volume: z42.number().optional(),
5832
+ price: z42.number(),
5833
+ is_buy_order: z42.boolean().optional(),
5834
+ issued_by: z42.number().optional(),
5835
+ region_id: z42.number(),
5836
+ wallet_division: z42.number(),
5837
+ duration: z42.number(),
5838
+ issued: z42.string(),
5839
+ range: z42.string(),
5840
+ state: esiEnum(["cancelled", "expired"]),
5841
+ escrow: z42.number().optional()
5842
+ });
5843
+ var StructureMarketOrderSchema = z42.looseObject({
5844
+ order_id: z42.number(),
5845
+ type_id: z42.number(),
5846
+ location_id: z42.number(),
5847
+ volume_total: z42.number(),
5848
+ volume_remain: z42.number(),
5849
+ min_volume: z42.number(),
5850
+ price: z42.number(),
5851
+ is_buy_order: z42.boolean(),
5852
+ duration: z42.number(),
5853
+ issued: z42.string(),
5854
+ range: z42.string()
5855
+ });
5856
+ var MarketHistorySchema = z42.looseObject({
5857
+ date: z42.string(),
5858
+ order_count: z42.number(),
5859
+ volume: z42.number(),
5860
+ highest: z42.number(),
5861
+ average: z42.number(),
5862
+ lowest: z42.number()
5863
+ });
5864
+ var MarketGroupSchema = z42.looseObject({
5865
+ market_group_id: z42.number(),
5866
+ name: z42.string(),
5867
+ description: z42.string(),
5868
+ types: z42.array(z42.number()),
5869
+ parent_group_id: z42.number().optional()
5870
+ });
5871
+ var MarketPriceSchema = z42.looseObject({
5872
+ type_id: z42.number(),
5873
+ average_price: z42.number().optional(),
5874
+ adjusted_price: z42.number().optional()
5731
5875
  });
5732
5876
 
5733
5877
  // src/core/endpoints/marketEndpoints.ts
@@ -5737,34 +5881,34 @@ var marketEndpoints = {
5737
5881
  method: "GET",
5738
5882
  requiresAuth: true,
5739
5883
  pathParams: ["characterId"],
5740
- responseSchema: z40.array(CharacterMarketOrderSchema)
5884
+ responseSchema: z43.array(CharacterMarketOrderSchema)
5741
5885
  },
5742
5886
  getCharacterOrderHistory: {
5743
5887
  path: "characters/{characterId}/orders/history/",
5744
5888
  method: "GET",
5745
5889
  requiresAuth: true,
5746
5890
  pathParams: ["characterId"],
5747
- responseSchema: z40.array(CharacterMarketOrderHistorySchema)
5891
+ responseSchema: z43.array(CharacterMarketOrderHistorySchema)
5748
5892
  },
5749
5893
  getCorporationOrders: {
5750
5894
  path: "corporations/{corporationId}/orders/",
5751
5895
  method: "GET",
5752
5896
  requiresAuth: true,
5753
5897
  pathParams: ["corporationId"],
5754
- responseSchema: z40.array(CorporationMarketOrderSchema)
5898
+ responseSchema: z43.array(CorporationMarketOrderSchema)
5755
5899
  },
5756
5900
  getCorporationOrderHistory: {
5757
5901
  path: "corporations/{corporationId}/orders/history/",
5758
5902
  method: "GET",
5759
5903
  requiresAuth: true,
5760
5904
  pathParams: ["corporationId"],
5761
- responseSchema: z40.array(CorporationMarketOrderHistorySchema)
5905
+ responseSchema: z43.array(CorporationMarketOrderHistorySchema)
5762
5906
  },
5763
5907
  getMarketGroups: {
5764
5908
  path: "markets/groups/",
5765
5909
  method: "GET",
5766
5910
  requiresAuth: false,
5767
- responseSchema: z40.array(z40.number())
5911
+ responseSchema: z43.array(z43.number())
5768
5912
  },
5769
5913
  getMarketGroupInformation: {
5770
5914
  path: "markets/groups/{marketGroupId}/",
@@ -5777,14 +5921,14 @@ var marketEndpoints = {
5777
5921
  path: "markets/prices/",
5778
5922
  method: "GET",
5779
5923
  requiresAuth: false,
5780
- responseSchema: z40.array(MarketPriceSchema)
5924
+ responseSchema: z43.array(MarketPriceSchema)
5781
5925
  },
5782
5926
  getMarketOrdersInStructure: {
5783
5927
  path: "markets/structures/{structureId}/",
5784
5928
  method: "GET",
5785
5929
  requiresAuth: true,
5786
5930
  pathParams: ["structureId"],
5787
- responseSchema: z40.array(StructureMarketOrderSchema)
5931
+ responseSchema: z43.array(StructureMarketOrderSchema)
5788
5932
  },
5789
5933
  getMarketHistory: {
5790
5934
  path: "markets/{regionId}/history/",
@@ -5792,7 +5936,7 @@ var marketEndpoints = {
5792
5936
  requiresAuth: false,
5793
5937
  pathParams: ["regionId"],
5794
5938
  queryParams: { typeId: "type_id" },
5795
- responseSchema: z40.array(MarketHistorySchema)
5939
+ responseSchema: z43.array(MarketHistorySchema)
5796
5940
  },
5797
5941
  getMarketOrders: {
5798
5942
  path: "markets/{regionId}/orders/",
@@ -5800,14 +5944,14 @@ var marketEndpoints = {
5800
5944
  requiresAuth: false,
5801
5945
  pathParams: ["regionId"],
5802
5946
  queryParams: { orderType: "order_type" },
5803
- responseSchema: z40.array(MarketOrderSchema)
5947
+ responseSchema: z43.array(MarketOrderSchema)
5804
5948
  },
5805
5949
  getMarketTypes: {
5806
5950
  path: "markets/{regionId}/types/",
5807
5951
  method: "GET",
5808
5952
  requiresAuth: false,
5809
5953
  pathParams: ["regionId"],
5810
- responseSchema: z40.array(z40.number())
5954
+ responseSchema: z43.array(z43.number())
5811
5955
  }
5812
5956
  };
5813
5957
 
@@ -5952,14 +6096,14 @@ var MarketClient = class extends BaseEsiClient {
5952
6096
  };
5953
6097
 
5954
6098
  // src/core/endpoints/piEndpoints.ts
5955
- import { z as z43 } from "zod";
6099
+ import { z as z46 } from "zod";
5956
6100
 
5957
6101
  // src/schemas/pi.ts
5958
- import { z as z41 } from "zod";
5959
- var PlanetaryColonySchema = z41.looseObject({
5960
- solar_system_id: z41.number(),
5961
- planet_id: z41.number(),
5962
- planet_type: z41.enum([
6102
+ import { z as z44 } from "zod";
6103
+ var PlanetaryColonySchema = z44.looseObject({
6104
+ solar_system_id: z44.number(),
6105
+ planet_id: z44.number(),
6106
+ planet_type: esiEnum([
5963
6107
  "temperate",
5964
6108
  "barren",
5965
6109
  "oceanic",
@@ -5969,302 +6113,302 @@ var PlanetaryColonySchema = z41.looseObject({
5969
6113
  "storm",
5970
6114
  "plasma"
5971
6115
  ]),
5972
- owner_id: z41.number(),
5973
- last_update: z41.string(),
5974
- upgrade_level: z41.number(),
5975
- num_pins: z41.number()
5976
- });
5977
- var CustomsOfficeSchema = z41.looseObject({
5978
- office_id: z41.number(),
5979
- system_id: z41.number(),
5980
- reinforce_exit_start: z41.number(),
5981
- reinforce_exit_end: z41.number(),
5982
- allow_access_with_standings: z41.boolean().optional(),
5983
- allow_alliance_access: z41.boolean().optional(),
5984
- alliance_tax_rate: z41.number().optional(),
5985
- corporation_tax_rate: z41.number().optional(),
5986
- standing_level: z41.string().optional(),
5987
- terrible_standing_tax_rate: z41.number().optional(),
5988
- bad_standing_tax_rate: z41.number().optional(),
5989
- neutral_standing_tax_rate: z41.number().optional(),
5990
- good_standing_tax_rate: z41.number().optional(),
5991
- excellent_standing_tax_rate: z41.number().optional(),
5992
- type_id: z41.number().optional()
5993
- });
5994
- var ColonyLayoutSchema = z41.looseObject({
5995
- links: z41.array(
5996
- z41.looseObject({
5997
- source_pin_id: z41.number(),
5998
- destination_pin_id: z41.number(),
5999
- link_level: z41.number()
6116
+ owner_id: z44.number(),
6117
+ last_update: z44.string(),
6118
+ upgrade_level: z44.number(),
6119
+ num_pins: z44.number()
6120
+ });
6121
+ var CustomsOfficeSchema = z44.looseObject({
6122
+ office_id: z44.number(),
6123
+ system_id: z44.number(),
6124
+ reinforce_exit_start: z44.number(),
6125
+ reinforce_exit_end: z44.number(),
6126
+ allow_access_with_standings: z44.boolean().optional(),
6127
+ allow_alliance_access: z44.boolean().optional(),
6128
+ alliance_tax_rate: z44.number().optional(),
6129
+ corporation_tax_rate: z44.number().optional(),
6130
+ standing_level: z44.string().optional(),
6131
+ terrible_standing_tax_rate: z44.number().optional(),
6132
+ bad_standing_tax_rate: z44.number().optional(),
6133
+ neutral_standing_tax_rate: z44.number().optional(),
6134
+ good_standing_tax_rate: z44.number().optional(),
6135
+ excellent_standing_tax_rate: z44.number().optional(),
6136
+ type_id: z44.number().optional()
6137
+ });
6138
+ var ColonyLayoutSchema = z44.looseObject({
6139
+ links: z44.array(
6140
+ z44.looseObject({
6141
+ source_pin_id: z44.number(),
6142
+ destination_pin_id: z44.number(),
6143
+ link_level: z44.number()
6000
6144
  })
6001
6145
  ),
6002
- pins: z41.array(
6003
- z41.looseObject({
6004
- pin_id: z41.number(),
6005
- type_id: z41.number(),
6006
- latitude: z41.number(),
6007
- longitude: z41.number(),
6008
- schematic_id: z41.number().optional(),
6009
- extractor_details: z41.looseObject({
6010
- heads: z41.array(
6011
- z41.looseObject({
6012
- head_id: z41.number(),
6013
- latitude: z41.number(),
6014
- longitude: z41.number()
6146
+ pins: z44.array(
6147
+ z44.looseObject({
6148
+ pin_id: z44.number(),
6149
+ type_id: z44.number(),
6150
+ latitude: z44.number(),
6151
+ longitude: z44.number(),
6152
+ schematic_id: z44.number().optional(),
6153
+ extractor_details: z44.looseObject({
6154
+ heads: z44.array(
6155
+ z44.looseObject({
6156
+ head_id: z44.number(),
6157
+ latitude: z44.number(),
6158
+ longitude: z44.number()
6015
6159
  })
6016
6160
  ),
6017
- product_type_id: z41.number().optional(),
6018
- cycle_time: z41.number().optional(),
6019
- head_radius: z41.number().optional(),
6020
- qty_per_cycle: z41.number().optional()
6161
+ product_type_id: z44.number().optional(),
6162
+ cycle_time: z44.number().optional(),
6163
+ head_radius: z44.number().optional(),
6164
+ qty_per_cycle: z44.number().optional()
6021
6165
  }).optional(),
6022
- factory_details: z41.looseObject({
6023
- schematic_id: z41.number()
6166
+ factory_details: z44.looseObject({
6167
+ schematic_id: z44.number()
6024
6168
  }).optional(),
6025
- contents: z41.array(
6026
- z41.looseObject({
6027
- type_id: z41.number(),
6028
- amount: z41.number()
6169
+ contents: z44.array(
6170
+ z44.looseObject({
6171
+ type_id: z44.number(),
6172
+ amount: z44.number()
6029
6173
  })
6030
6174
  ).optional(),
6031
- install_time: z41.string().optional(),
6032
- expiry_time: z41.string().optional(),
6033
- last_cycle_start: z41.string().optional()
6175
+ install_time: z44.string().optional(),
6176
+ expiry_time: z44.string().optional(),
6177
+ last_cycle_start: z44.string().optional()
6034
6178
  })
6035
6179
  ),
6036
- routes: z41.array(
6037
- z41.looseObject({
6038
- route_id: z41.number(),
6039
- source_pin_id: z41.number(),
6040
- destination_pin_id: z41.number(),
6041
- content_type_id: z41.number(),
6042
- quantity: z41.number(),
6043
- waypoints: z41.array(z41.number()).optional()
6180
+ routes: z44.array(
6181
+ z44.looseObject({
6182
+ route_id: z44.number(),
6183
+ source_pin_id: z44.number(),
6184
+ destination_pin_id: z44.number(),
6185
+ content_type_id: z44.number(),
6186
+ quantity: z44.number(),
6187
+ waypoints: z44.array(z44.number()).optional()
6044
6188
  })
6045
6189
  )
6046
6190
  });
6047
6191
 
6048
6192
  // src/schemas/universe.ts
6049
- import { z as z42 } from "zod";
6050
- var PositionSchema = z42.looseObject({
6051
- x: z42.number(),
6052
- y: z42.number(),
6053
- z: z42.number()
6054
- });
6055
- var SolarSystemInfoSchema = z42.looseObject({
6056
- system_id: z42.number(),
6057
- name: z42.string(),
6058
- constellation_id: z42.number(),
6193
+ import { z as z45 } from "zod";
6194
+ var PositionSchema = z45.looseObject({
6195
+ x: z45.number(),
6196
+ y: z45.number(),
6197
+ z: z45.number()
6198
+ });
6199
+ var SolarSystemInfoSchema = z45.looseObject({
6200
+ system_id: z45.number(),
6201
+ name: z45.string(),
6202
+ constellation_id: z45.number(),
6059
6203
  position: PositionSchema.optional(),
6060
- security_class: z42.string().optional(),
6061
- security_status: z42.number(),
6062
- star_id: z42.number().optional(),
6063
- stargates: z42.array(z42.number()).optional(),
6064
- stations: z42.array(z42.number()).optional(),
6065
- planets: z42.array(
6066
- z42.looseObject({
6067
- asteroid_belts: z42.array(z42.number()).optional(),
6068
- moons: z42.array(z42.number()).optional(),
6069
- planet_id: z42.number()
6204
+ security_class: z45.string().optional(),
6205
+ security_status: z45.number(),
6206
+ star_id: z45.number().optional(),
6207
+ stargates: z45.array(z45.number()).optional(),
6208
+ stations: z45.array(z45.number()).optional(),
6209
+ planets: z45.array(
6210
+ z45.looseObject({
6211
+ asteroid_belts: z45.array(z45.number()).optional(),
6212
+ moons: z45.array(z45.number()).optional(),
6213
+ planet_id: z45.number()
6070
6214
  })
6071
6215
  ).optional()
6072
6216
  });
6073
- var ConstellationInfoSchema = z42.looseObject({
6074
- constellation_id: z42.number(),
6075
- name: z42.string(),
6076
- region_id: z42.number(),
6077
- systems: z42.array(z42.number()),
6217
+ var ConstellationInfoSchema = z45.looseObject({
6218
+ constellation_id: z45.number(),
6219
+ name: z45.string(),
6220
+ region_id: z45.number(),
6221
+ systems: z45.array(z45.number()),
6078
6222
  position: PositionSchema
6079
6223
  });
6080
- var RegionInfoSchema = z42.looseObject({
6081
- region_id: z42.number(),
6082
- name: z42.string(),
6083
- description: z42.string().optional(),
6084
- constellations: z42.array(z42.number())
6085
- });
6086
- var AncestrySchema = z42.looseObject({
6087
- id: z42.number(),
6088
- name: z42.string(),
6089
- bloodline_id: z42.number(),
6090
- description: z42.string(),
6091
- short_description: z42.string().optional(),
6092
- icon_id: z42.number().optional()
6093
- });
6094
- var BloodlineSchema = z42.looseObject({
6095
- bloodline_id: z42.number(),
6096
- name: z42.string(),
6097
- description: z42.string(),
6098
- race_id: z42.number(),
6099
- corporation_id: z42.number(),
6100
- ship_type_id: z42.number().nullable(),
6101
- charisma: z42.number(),
6102
- intelligence: z42.number(),
6103
- memory: z42.number(),
6104
- perception: z42.number(),
6105
- willpower: z42.number()
6106
- });
6107
- var FactionSchema = z42.looseObject({
6108
- faction_id: z42.number(),
6109
- name: z42.string(),
6110
- description: z42.string(),
6111
- size_factor: z42.number(),
6112
- station_count: z42.number(),
6113
- station_system_count: z42.number(),
6114
- is_unique: z42.boolean(),
6115
- solar_system_id: z42.number().optional(),
6116
- corporation_id: z42.number().optional(),
6117
- militia_corporation_id: z42.number().optional()
6118
- });
6119
- var RaceSchema = z42.looseObject({
6120
- race_id: z42.number(),
6121
- name: z42.string(),
6122
- description: z42.string(),
6123
- alliance_id: z42.number()
6124
- });
6125
- var StationInfoSchema = z42.looseObject({
6126
- station_id: z42.number(),
6127
- name: z42.string(),
6128
- owner: z42.number().optional(),
6129
- system_id: z42.number(),
6130
- type_id: z42.number(),
6131
- race_id: z42.number().optional(),
6132
- reprocessing_efficiency: z42.number(),
6133
- reprocessing_stations_take: z42.number(),
6134
- max_dockable_ship_volume: z42.number(),
6135
- office_rental_cost: z42.number(),
6136
- services: z42.array(z42.string()),
6224
+ var RegionInfoSchema = z45.looseObject({
6225
+ region_id: z45.number(),
6226
+ name: z45.string(),
6227
+ description: z45.string().optional(),
6228
+ constellations: z45.array(z45.number())
6229
+ });
6230
+ var AncestrySchema = z45.looseObject({
6231
+ id: z45.number(),
6232
+ name: z45.string(),
6233
+ bloodline_id: z45.number(),
6234
+ description: z45.string(),
6235
+ short_description: z45.string().optional(),
6236
+ icon_id: z45.number().optional()
6237
+ });
6238
+ var BloodlineSchema = z45.looseObject({
6239
+ bloodline_id: z45.number(),
6240
+ name: z45.string(),
6241
+ description: z45.string(),
6242
+ race_id: z45.number(),
6243
+ corporation_id: z45.number(),
6244
+ ship_type_id: z45.number().nullable(),
6245
+ charisma: z45.number(),
6246
+ intelligence: z45.number(),
6247
+ memory: z45.number(),
6248
+ perception: z45.number(),
6249
+ willpower: z45.number()
6250
+ });
6251
+ var FactionSchema = z45.looseObject({
6252
+ faction_id: z45.number(),
6253
+ name: z45.string(),
6254
+ description: z45.string(),
6255
+ size_factor: z45.number(),
6256
+ station_count: z45.number(),
6257
+ station_system_count: z45.number(),
6258
+ is_unique: z45.boolean(),
6259
+ solar_system_id: z45.number().optional(),
6260
+ corporation_id: z45.number().optional(),
6261
+ militia_corporation_id: z45.number().optional()
6262
+ });
6263
+ var RaceSchema = z45.looseObject({
6264
+ race_id: z45.number(),
6265
+ name: z45.string(),
6266
+ description: z45.string(),
6267
+ alliance_id: z45.number()
6268
+ });
6269
+ var StationInfoSchema = z45.looseObject({
6270
+ station_id: z45.number(),
6271
+ name: z45.string(),
6272
+ owner: z45.number().optional(),
6273
+ system_id: z45.number(),
6274
+ type_id: z45.number(),
6275
+ race_id: z45.number().optional(),
6276
+ reprocessing_efficiency: z45.number(),
6277
+ reprocessing_stations_take: z45.number(),
6278
+ max_dockable_ship_volume: z45.number(),
6279
+ office_rental_cost: z45.number(),
6280
+ services: z45.array(z45.string()),
6137
6281
  position: PositionSchema
6138
6282
  });
6139
- var TypeInfoSchema = z42.looseObject({
6140
- type_id: z42.number(),
6141
- name: z42.string(),
6142
- description: z42.string(),
6143
- published: z42.boolean(),
6144
- group_id: z42.number(),
6145
- market_group_id: z42.number().optional(),
6146
- radius: z42.number().optional(),
6147
- volume: z42.number().optional(),
6148
- packaged_volume: z42.number().optional(),
6149
- capacity: z42.number().optional(),
6150
- portion_size: z42.number().optional(),
6151
- mass: z42.number().optional(),
6152
- icon_id: z42.number().optional(),
6153
- graphic_id: z42.number().optional(),
6154
- dogma_attributes: z42.array(
6155
- z42.looseObject({
6156
- attribute_id: z42.number(),
6157
- value: z42.number()
6283
+ var TypeInfoSchema = z45.looseObject({
6284
+ type_id: z45.number(),
6285
+ name: z45.string(),
6286
+ description: z45.string(),
6287
+ published: z45.boolean(),
6288
+ group_id: z45.number(),
6289
+ market_group_id: z45.number().optional(),
6290
+ radius: z45.number().optional(),
6291
+ volume: z45.number().optional(),
6292
+ packaged_volume: z45.number().optional(),
6293
+ capacity: z45.number().optional(),
6294
+ portion_size: z45.number().optional(),
6295
+ mass: z45.number().optional(),
6296
+ icon_id: z45.number().optional(),
6297
+ graphic_id: z45.number().optional(),
6298
+ dogma_attributes: z45.array(
6299
+ z45.looseObject({
6300
+ attribute_id: z45.number(),
6301
+ value: z45.number()
6158
6302
  })
6159
6303
  ).optional(),
6160
- dogma_effects: z42.array(
6161
- z42.looseObject({
6162
- effect_id: z42.number(),
6163
- is_default: z42.boolean()
6304
+ dogma_effects: z45.array(
6305
+ z45.looseObject({
6306
+ effect_id: z45.number(),
6307
+ is_default: z45.boolean()
6164
6308
  })
6165
6309
  ).optional()
6166
6310
  });
6167
- var AsteroidBeltInfoSchema = z42.looseObject({
6168
- name: z42.string(),
6311
+ var AsteroidBeltInfoSchema = z45.looseObject({
6312
+ name: z45.string(),
6169
6313
  position: PositionSchema,
6170
- system_id: z42.number()
6171
- });
6172
- var GraphicInfoSchema = z42.looseObject({
6173
- graphic_id: z42.number(),
6174
- collision_file: z42.string().optional(),
6175
- graphic_file: z42.string().optional(),
6176
- icon_folder: z42.string().optional(),
6177
- sof_dna: z42.string().optional(),
6178
- sof_fation_name: z42.string().optional(),
6179
- sof_hull_name: z42.string().optional(),
6180
- sof_race_name: z42.string().optional()
6181
- });
6182
- var ItemCategorySchema = z42.looseObject({
6183
- category_id: z42.number(),
6184
- name: z42.string(),
6185
- groups: z42.array(z42.number()),
6186
- published: z42.boolean()
6187
- });
6188
- var ItemGroupSchema = z42.looseObject({
6189
- group_id: z42.number(),
6190
- name: z42.string(),
6191
- category_id: z42.number(),
6192
- types: z42.array(z42.number()),
6193
- published: z42.boolean()
6194
- });
6195
- var MoonInfoSchema = z42.looseObject({
6196
- moon_id: z42.number(),
6197
- name: z42.string(),
6198
- system_id: z42.number(),
6314
+ system_id: z45.number()
6315
+ });
6316
+ var GraphicInfoSchema = z45.looseObject({
6317
+ graphic_id: z45.number(),
6318
+ collision_file: z45.string().optional(),
6319
+ graphic_file: z45.string().optional(),
6320
+ icon_folder: z45.string().optional(),
6321
+ sof_dna: z45.string().optional(),
6322
+ sof_fation_name: z45.string().optional(),
6323
+ sof_hull_name: z45.string().optional(),
6324
+ sof_race_name: z45.string().optional()
6325
+ });
6326
+ var ItemCategorySchema = z45.looseObject({
6327
+ category_id: z45.number(),
6328
+ name: z45.string(),
6329
+ groups: z45.array(z45.number()),
6330
+ published: z45.boolean()
6331
+ });
6332
+ var ItemGroupSchema = z45.looseObject({
6333
+ group_id: z45.number(),
6334
+ name: z45.string(),
6335
+ category_id: z45.number(),
6336
+ types: z45.array(z45.number()),
6337
+ published: z45.boolean()
6338
+ });
6339
+ var MoonInfoSchema = z45.looseObject({
6340
+ moon_id: z45.number(),
6341
+ name: z45.string(),
6342
+ system_id: z45.number(),
6199
6343
  position: PositionSchema
6200
6344
  });
6201
- var PlanetInfoSchema = z42.looseObject({
6202
- planet_id: z42.number(),
6203
- name: z42.string(),
6204
- system_id: z42.number(),
6205
- type_id: z42.number(),
6345
+ var PlanetInfoSchema = z45.looseObject({
6346
+ planet_id: z45.number(),
6347
+ name: z45.string(),
6348
+ system_id: z45.number(),
6349
+ type_id: z45.number(),
6206
6350
  position: PositionSchema
6207
6351
  });
6208
- var StarInfoSchema = z42.looseObject({
6209
- star_id: z42.number().optional(),
6210
- solar_system_id: z42.number(),
6211
- name: z42.string(),
6212
- type_id: z42.number(),
6213
- age: z42.number(),
6214
- luminosity: z42.number(),
6215
- radius: z42.number(),
6216
- spectral_class: z42.string(),
6217
- temperature: z42.number()
6218
- });
6219
- var StargateInfoSchema = z42.looseObject({
6220
- stargate_id: z42.number(),
6221
- name: z42.string(),
6222
- system_id: z42.number(),
6223
- type_id: z42.number(),
6352
+ var StarInfoSchema = z45.looseObject({
6353
+ star_id: z45.number().optional(),
6354
+ solar_system_id: z45.number(),
6355
+ name: z45.string(),
6356
+ type_id: z45.number(),
6357
+ age: z45.number(),
6358
+ luminosity: z45.number(),
6359
+ radius: z45.number(),
6360
+ spectral_class: z45.string(),
6361
+ temperature: z45.number()
6362
+ });
6363
+ var StargateInfoSchema = z45.looseObject({
6364
+ stargate_id: z45.number(),
6365
+ name: z45.string(),
6366
+ system_id: z45.number(),
6367
+ type_id: z45.number(),
6224
6368
  position: PositionSchema,
6225
- destination: z42.looseObject({
6226
- system_id: z42.number(),
6227
- stargate_id: z42.number()
6369
+ destination: z45.looseObject({
6370
+ system_id: z45.number(),
6371
+ stargate_id: z45.number()
6228
6372
  })
6229
6373
  });
6230
- var StructureInfoSchema = z42.looseObject({
6231
- structure_id: z42.number().optional(),
6232
- name: z42.string(),
6233
- owner_id: z42.number(),
6234
- solar_system_id: z42.number(),
6235
- type_id: z42.number().optional(),
6374
+ var StructureInfoSchema = z45.looseObject({
6375
+ structure_id: z45.number().optional(),
6376
+ name: z45.string(),
6377
+ owner_id: z45.number(),
6378
+ solar_system_id: z45.number(),
6379
+ type_id: z45.number().optional(),
6236
6380
  position: PositionSchema.optional()
6237
6381
  });
6238
- var SystemJumpSchema = z42.looseObject({
6239
- system_id: z42.number(),
6240
- ship_jumps: z42.number()
6241
- });
6242
- var SystemKillSchema = z42.looseObject({
6243
- system_id: z42.number(),
6244
- npc_kills: z42.number(),
6245
- pod_kills: z42.number(),
6246
- ship_kills: z42.number()
6247
- });
6248
- var IdNameSchema = z42.looseObject({
6249
- id: z42.number(),
6250
- name: z42.string()
6251
- });
6252
- var BulkIdResultSchema = z42.looseObject({
6253
- agents: z42.array(IdNameSchema).optional(),
6254
- alliances: z42.array(IdNameSchema).optional(),
6255
- characters: z42.array(IdNameSchema).optional(),
6256
- constellations: z42.array(IdNameSchema).optional(),
6257
- corporations: z42.array(IdNameSchema).optional(),
6258
- factions: z42.array(IdNameSchema).optional(),
6259
- inventory_types: z42.array(IdNameSchema).optional(),
6260
- regions: z42.array(IdNameSchema).optional(),
6261
- systems: z42.array(IdNameSchema).optional(),
6262
- stations: z42.array(IdNameSchema).optional()
6263
- });
6264
- var NameAndCategorySchema = z42.looseObject({
6265
- id: z42.number(),
6266
- name: z42.string(),
6267
- category: z42.enum([
6382
+ var SystemJumpSchema = z45.looseObject({
6383
+ system_id: z45.number(),
6384
+ ship_jumps: z45.number()
6385
+ });
6386
+ var SystemKillSchema = z45.looseObject({
6387
+ system_id: z45.number(),
6388
+ npc_kills: z45.number(),
6389
+ pod_kills: z45.number(),
6390
+ ship_kills: z45.number()
6391
+ });
6392
+ var IdNameSchema = z45.looseObject({
6393
+ id: z45.number(),
6394
+ name: z45.string()
6395
+ });
6396
+ var BulkIdResultSchema = z45.looseObject({
6397
+ agents: z45.array(IdNameSchema).optional(),
6398
+ alliances: z45.array(IdNameSchema).optional(),
6399
+ characters: z45.array(IdNameSchema).optional(),
6400
+ constellations: z45.array(IdNameSchema).optional(),
6401
+ corporations: z45.array(IdNameSchema).optional(),
6402
+ factions: z45.array(IdNameSchema).optional(),
6403
+ inventory_types: z45.array(IdNameSchema).optional(),
6404
+ regions: z45.array(IdNameSchema).optional(),
6405
+ systems: z45.array(IdNameSchema).optional(),
6406
+ stations: z45.array(IdNameSchema).optional()
6407
+ });
6408
+ var NameAndCategorySchema = z45.looseObject({
6409
+ id: z45.number(),
6410
+ name: z45.string(),
6411
+ category: esiEnum([
6268
6412
  "alliance",
6269
6413
  "character",
6270
6414
  "constellation",
@@ -6276,22 +6420,22 @@ var NameAndCategorySchema = z42.looseObject({
6276
6420
  "faction"
6277
6421
  ])
6278
6422
  });
6279
- var SchematicInfoSchema = z42.looseObject({
6280
- schematic_name: z42.string(),
6281
- cycle_time: z42.number()
6423
+ var SchematicInfoSchema = z45.looseObject({
6424
+ schematic_name: z45.string(),
6425
+ cycle_time: z45.number()
6282
6426
  });
6283
- var SearchResultSchema = z42.looseObject({
6284
- agent: z42.array(z42.number()).optional(),
6285
- alliance: z42.array(z42.number()).optional(),
6286
- character: z42.array(z42.number()).optional(),
6287
- constellation: z42.array(z42.number()).optional(),
6288
- corporation: z42.array(z42.number()).optional(),
6289
- faction: z42.array(z42.number()).optional(),
6290
- inventory_type: z42.array(z42.number()).optional(),
6291
- region: z42.array(z42.number()).optional(),
6292
- solar_system: z42.array(z42.number()).optional(),
6293
- station: z42.array(z42.number()).optional(),
6294
- structure: z42.array(z42.number()).optional()
6427
+ var SearchResultSchema = z45.looseObject({
6428
+ agent: z45.array(z45.number()).optional(),
6429
+ alliance: z45.array(z45.number()).optional(),
6430
+ character: z45.array(z45.number()).optional(),
6431
+ constellation: z45.array(z45.number()).optional(),
6432
+ corporation: z45.array(z45.number()).optional(),
6433
+ faction: z45.array(z45.number()).optional(),
6434
+ inventory_type: z45.array(z45.number()).optional(),
6435
+ region: z45.array(z45.number()).optional(),
6436
+ solar_system: z45.array(z45.number()).optional(),
6437
+ station: z45.array(z45.number()).optional(),
6438
+ structure: z45.array(z45.number()).optional()
6295
6439
  });
6296
6440
 
6297
6441
  // src/core/endpoints/piEndpoints.ts
@@ -6301,7 +6445,7 @@ var piEndpoints = {
6301
6445
  method: "GET",
6302
6446
  requiresAuth: true,
6303
6447
  pathParams: ["characterId"],
6304
- responseSchema: z43.array(PlanetaryColonySchema)
6448
+ responseSchema: z46.array(PlanetaryColonySchema)
6305
6449
  },
6306
6450
  getColonyLayout: {
6307
6451
  path: "characters/{characterId}/planets/{planetId}",
@@ -6315,7 +6459,7 @@ var piEndpoints = {
6315
6459
  method: "GET",
6316
6460
  requiresAuth: true,
6317
6461
  pathParams: ["corporationId"],
6318
- responseSchema: z43.array(CustomsOfficeSchema)
6462
+ responseSchema: z46.array(CustomsOfficeSchema)
6319
6463
  },
6320
6464
  getSchematicInformation: {
6321
6465
  path: "universe/schematics/{schematicId}",
@@ -6383,7 +6527,7 @@ var PiClient = class extends BaseEsiClient {
6383
6527
  };
6384
6528
 
6385
6529
  // src/core/endpoints/routeEndpoints.ts
6386
- import { z as z44 } from "zod";
6530
+ import { z as z47 } from "zod";
6387
6531
  var routeEndpoints = {
6388
6532
  getRoute: {
6389
6533
  path: "route/{origin}/{destination}",
@@ -6391,7 +6535,7 @@ var routeEndpoints = {
6391
6535
  requiresAuth: false,
6392
6536
  pathParams: ["origin", "destination"],
6393
6537
  hasBody: true,
6394
- responseSchema: z44.looseObject({ route: z44.array(z44.number()) })
6538
+ responseSchema: z47.looseObject({ route: z47.array(z47.number()) })
6395
6539
  }
6396
6540
  };
6397
6541
 
@@ -6450,37 +6594,37 @@ var SearchClient = class extends BaseEsiClient {
6450
6594
  };
6451
6595
 
6452
6596
  // src/core/endpoints/skillEndpoints.ts
6453
- import { z as z46 } from "zod";
6597
+ import { z as z49 } from "zod";
6454
6598
 
6455
6599
  // src/schemas/skills.ts
6456
- import { z as z45 } from "zod";
6457
- var CharacterSkillSchema = z45.looseObject({
6458
- skill_id: z45.number(),
6459
- skillpoints_in_skill: z45.number(),
6460
- trained_skill_level: z45.number(),
6461
- active_skill_level: z45.number()
6462
- });
6463
- var CharacterSkillsResponseSchema = z45.looseObject({
6464
- skills: z45.array(
6465
- z45.looseObject({
6466
- skill_id: z45.number(),
6467
- skillpoints_in_skill: z45.number(),
6468
- trained_skill_level: z45.number(),
6469
- active_skill_level: z45.number()
6600
+ import { z as z48 } from "zod";
6601
+ var CharacterSkillSchema = z48.looseObject({
6602
+ skill_id: z48.number(),
6603
+ skillpoints_in_skill: z48.number(),
6604
+ trained_skill_level: z48.number(),
6605
+ active_skill_level: z48.number()
6606
+ });
6607
+ var CharacterSkillsResponseSchema = z48.looseObject({
6608
+ skills: z48.array(
6609
+ z48.looseObject({
6610
+ skill_id: z48.number(),
6611
+ skillpoints_in_skill: z48.number(),
6612
+ trained_skill_level: z48.number(),
6613
+ active_skill_level: z48.number()
6470
6614
  })
6471
6615
  ),
6472
- total_sp: z45.number(),
6473
- unallocated_sp: z45.number().optional()
6616
+ total_sp: z48.number(),
6617
+ unallocated_sp: z48.number().optional()
6474
6618
  });
6475
- var SkillQueueSchema = z45.looseObject({
6476
- skill_id: z45.number(),
6477
- finished_level: z45.number(),
6478
- queue_position: z45.number(),
6479
- level_end_sp: z45.number().optional(),
6480
- level_start_sp: z45.number().optional(),
6481
- training_start_sp: z45.number().optional(),
6482
- start_date: z45.string().optional(),
6483
- finish_date: z45.string().optional()
6619
+ var SkillQueueSchema = z48.looseObject({
6620
+ skill_id: z48.number(),
6621
+ finished_level: z48.number(),
6622
+ queue_position: z48.number(),
6623
+ level_end_sp: z48.number().optional(),
6624
+ level_start_sp: z48.number().optional(),
6625
+ training_start_sp: z48.number().optional(),
6626
+ start_date: z48.string().optional(),
6627
+ finish_date: z48.string().optional()
6484
6628
  });
6485
6629
 
6486
6630
  // src/core/endpoints/skillEndpoints.ts
@@ -6497,7 +6641,7 @@ var skillEndpoints = {
6497
6641
  method: "GET",
6498
6642
  requiresAuth: true,
6499
6643
  pathParams: ["characterId"],
6500
- responseSchema: z46.array(SkillQueueSchema)
6644
+ responseSchema: z49.array(SkillQueueSchema)
6501
6645
  },
6502
6646
  getCharacterSkills: {
6503
6647
  path: "characters/{characterId}/skills",
@@ -6552,77 +6696,77 @@ var CharacterSkillsClient = class extends BaseEsiClient {
6552
6696
  };
6553
6697
 
6554
6698
  // src/core/endpoints/sovereigntyEndpoints.ts
6555
- import { z as z48 } from "zod";
6699
+ import { z as z51 } from "zod";
6556
6700
 
6557
6701
  // src/schemas/sovereignty.ts
6558
- import { z as z47 } from "zod";
6559
- var SovereigntyCampaignSchema = z47.looseObject({
6560
- campaign_id: z47.number(),
6561
- structure_id: z47.number(),
6562
- solar_system_id: z47.number(),
6563
- constellation_id: z47.number(),
6564
- event_type: z47.enum([
6702
+ import { z as z50 } from "zod";
6703
+ var SovereigntyCampaignSchema = z50.looseObject({
6704
+ campaign_id: z50.number(),
6705
+ structure_id: z50.number(),
6706
+ solar_system_id: z50.number(),
6707
+ constellation_id: z50.number(),
6708
+ event_type: esiEnum([
6565
6709
  "tcu_defense",
6566
6710
  "ihub_defense",
6567
6711
  "station_defense",
6568
6712
  "station_freeport"
6569
6713
  ]),
6570
- start_time: z47.string(),
6571
- defender_id: z47.number().optional(),
6572
- defender_score: z47.number().optional(),
6573
- attackers_score: z47.number().optional(),
6574
- participants: z47.array(
6575
- z47.looseObject({
6576
- alliance_id: z47.number(),
6577
- score: z47.number()
6714
+ start_time: z50.string(),
6715
+ defender_id: z50.number().optional(),
6716
+ defender_score: z50.number().optional(),
6717
+ attackers_score: z50.number().optional(),
6718
+ participants: z50.array(
6719
+ z50.looseObject({
6720
+ alliance_id: z50.number(),
6721
+ score: z50.number()
6578
6722
  })
6579
6723
  ).optional()
6580
6724
  });
6581
- var SovereigntySystemStructureSchema = z47.looseObject({
6582
- alliance_id: z47.number().optional(),
6583
- solar_system_id: z47.number().optional(),
6584
- structure_id: z47.number(),
6585
- structure_type_id: z47.number(),
6586
- vulnerability_occupancy_level: z47.number().optional(),
6587
- vulnerable_start_time: z47.string().optional(),
6588
- vulnerable_end_time: z47.string().optional()
6589
- });
6590
- var SovereigntyVulnerabilityWindowSchema = z47.looseObject({
6591
- start: z47.string(),
6592
- end: z47.string()
6593
- });
6594
- var SovereigntyHubSchema = z47.looseObject({
6595
- id: z47.number(),
6725
+ var SovereigntySystemStructureSchema = z50.looseObject({
6726
+ alliance_id: z50.number().optional(),
6727
+ solar_system_id: z50.number().optional(),
6728
+ structure_id: z50.number(),
6729
+ structure_type_id: z50.number(),
6730
+ vulnerability_occupancy_level: z50.number().optional(),
6731
+ vulnerable_start_time: z50.string().optional(),
6732
+ vulnerable_end_time: z50.string().optional()
6733
+ });
6734
+ var SovereigntyVulnerabilityWindowSchema = z50.looseObject({
6735
+ start: z50.string(),
6736
+ end: z50.string()
6737
+ });
6738
+ var SovereigntyHubSchema = z50.looseObject({
6739
+ id: z50.number(),
6596
6740
  vulnerability_window: SovereigntyVulnerabilityWindowSchema.optional()
6597
6741
  });
6598
- var SovereigntyDevelopmentSchema = z47.looseObject({
6599
- activity_defense_multiplier: z47.number().optional(),
6600
- military_level: z47.number().optional(),
6601
- industrial_level: z47.number().optional(),
6602
- strategic_level: z47.number().optional()
6742
+ var SovereigntyDevelopmentSchema = z50.looseObject({
6743
+ activity_defense_multiplier: z50.number().optional(),
6744
+ military_level: z50.number().optional(),
6745
+ industrial_level: z50.number().optional(),
6746
+ strategic_level: z50.number().optional()
6603
6747
  });
6604
- var SovereigntyAllianceClaimSchema = z47.looseObject({
6605
- alliance_id: z47.number(),
6606
- corporation_id: z47.number().optional(),
6607
- claimed_since: z47.string().optional(),
6748
+ var SovereigntyAllianceClaimSchema = z50.looseObject({
6749
+ alliance_id: z50.number(),
6750
+ corporation_id: z50.number().optional(),
6751
+ claimed_since: z50.string().optional(),
6608
6752
  sovereignty_hub: SovereigntyHubSchema.optional(),
6609
- is_capital_system: z47.boolean().optional(),
6753
+ is_capital_system: z50.boolean().optional(),
6610
6754
  development: SovereigntyDevelopmentSchema.optional()
6611
6755
  });
6612
- var SovereigntyFactionClaimSchema = z47.looseObject({
6613
- faction_id: z47.number()
6756
+ var SovereigntyFactionClaimSchema = z50.looseObject({
6757
+ faction_id: z50.number()
6614
6758
  });
6615
- var SovereigntyClaimSchema = z47.looseObject({
6759
+ var SovereigntyClaimSchema = z50.looseObject({
6616
6760
  alliance: SovereigntyAllianceClaimSchema.optional(),
6617
6761
  faction: SovereigntyFactionClaimSchema.optional(),
6618
- unclaimed: z47.boolean().optional()
6762
+ unclaimed: z50.boolean().optional()
6619
6763
  });
6620
- var SovereigntySystemEntrySchema = z47.looseObject({
6621
- solar_system_id: z47.number(),
6764
+ var SovereigntySystemEntrySchema = z50.looseObject({
6765
+ solar_system_id: z50.number(),
6622
6766
  claim: SovereigntyClaimSchema
6623
6767
  });
6624
- var SovereigntySystemSchema = z47.looseObject({
6625
- solar_systems: z47.array(SovereigntySystemEntrySchema)
6768
+ var SovereigntySystemSchema = z50.looseObject({
6769
+ solar_systems: z50.array(SovereigntySystemEntrySchema)
6626
6770
  });
6627
6771
 
6628
6772
  // src/core/endpoints/sovereigntyEndpoints.ts
@@ -6631,7 +6775,7 @@ var sovereigntyEndpoints = {
6631
6775
  path: "sovereignty/campaigns",
6632
6776
  method: "GET",
6633
6777
  requiresAuth: false,
6634
- responseSchema: z48.array(SovereigntyCampaignSchema)
6778
+ responseSchema: z51.array(SovereigntyCampaignSchema)
6635
6779
  },
6636
6780
  getSovereigntySystems: {
6637
6781
  path: "sovereignty/systems",
@@ -6665,12 +6809,12 @@ var SovereigntyClient = class extends BaseEsiClient {
6665
6809
  };
6666
6810
 
6667
6811
  // src/schemas/status.ts
6668
- import { z as z49 } from "zod";
6669
- var ServerStatusSchema = z49.looseObject({
6670
- players: z49.number(),
6671
- server_version: z49.string(),
6672
- start_time: z49.string(),
6673
- vip: z49.boolean().optional()
6812
+ import { z as z52 } from "zod";
6813
+ var ServerStatusSchema = z52.looseObject({
6814
+ players: z52.number(),
6815
+ server_version: z52.string(),
6816
+ start_time: z52.string(),
6817
+ vip: z52.boolean().optional()
6674
6818
  });
6675
6819
 
6676
6820
  // src/core/endpoints/statusEndpoints.ts
@@ -6795,13 +6939,13 @@ var UiClient = class extends BaseEsiClient {
6795
6939
  };
6796
6940
 
6797
6941
  // src/core/endpoints/universeEndpoints.ts
6798
- import { z as z50 } from "zod";
6942
+ import { z as z53 } from "zod";
6799
6943
  var universeEndpoints = {
6800
6944
  getAncestries: {
6801
6945
  path: "universe/ancestries",
6802
6946
  method: "GET",
6803
6947
  requiresAuth: false,
6804
- responseSchema: z50.array(AncestrySchema)
6948
+ responseSchema: z53.array(AncestrySchema)
6805
6949
  },
6806
6950
  getAsteroidBeltInfo: {
6807
6951
  path: "universe/asteroid_belts/{asteroidBeltId}",
@@ -6814,13 +6958,13 @@ var universeEndpoints = {
6814
6958
  path: "universe/bloodlines",
6815
6959
  method: "GET",
6816
6960
  requiresAuth: false,
6817
- responseSchema: z50.array(BloodlineSchema)
6961
+ responseSchema: z53.array(BloodlineSchema)
6818
6962
  },
6819
6963
  getCategories: {
6820
6964
  path: "universe/categories",
6821
6965
  method: "GET",
6822
6966
  requiresAuth: false,
6823
- responseSchema: z50.array(z50.number())
6967
+ responseSchema: z53.array(z53.number())
6824
6968
  },
6825
6969
  getCategoryById: {
6826
6970
  path: "universe/categories/{categoryId}",
@@ -6833,7 +6977,7 @@ var universeEndpoints = {
6833
6977
  path: "universe/constellations",
6834
6978
  method: "GET",
6835
6979
  requiresAuth: false,
6836
- responseSchema: z50.array(z50.number())
6980
+ responseSchema: z53.array(z53.number())
6837
6981
  },
6838
6982
  getConstellationById: {
6839
6983
  path: "universe/constellations/{constellationId}",
@@ -6846,13 +6990,13 @@ var universeEndpoints = {
6846
6990
  path: "universe/factions",
6847
6991
  method: "GET",
6848
6992
  requiresAuth: false,
6849
- responseSchema: z50.array(FactionSchema)
6993
+ responseSchema: z53.array(FactionSchema)
6850
6994
  },
6851
6995
  getGraphics: {
6852
6996
  path: "universe/graphics",
6853
6997
  method: "GET",
6854
6998
  requiresAuth: false,
6855
- responseSchema: z50.array(z50.number())
6999
+ responseSchema: z53.array(z53.number())
6856
7000
  },
6857
7001
  getGraphicById: {
6858
7002
  path: "universe/graphics/{graphicId}",
@@ -6865,7 +7009,7 @@ var universeEndpoints = {
6865
7009
  path: "universe/groups",
6866
7010
  method: "GET",
6867
7011
  requiresAuth: false,
6868
- responseSchema: z50.array(z50.number())
7012
+ responseSchema: z53.array(z53.number())
6869
7013
  },
6870
7014
  getItemGroupById: {
6871
7015
  path: "universe/groups/{groupId}",
@@ -6880,7 +7024,7 @@ var universeEndpoints = {
6880
7024
  requiresAuth: false,
6881
7025
  bodyBuilder: (names) => names,
6882
7026
  responseSchema: BulkIdResultSchema,
6883
- requestSchema: z50.array(z50.string().min(1))
7027
+ requestSchema: z53.array(z53.string().min(1))
6884
7028
  },
6885
7029
  getMoonById: {
6886
7030
  path: "universe/moons/{moonId}",
@@ -6894,8 +7038,8 @@ var universeEndpoints = {
6894
7038
  method: "POST",
6895
7039
  requiresAuth: false,
6896
7040
  bodyBuilder: (ids) => ids,
6897
- responseSchema: z50.array(NameAndCategorySchema),
6898
- requestSchema: z50.array(z50.number().int())
7041
+ responseSchema: z53.array(NameAndCategorySchema),
7042
+ requestSchema: z53.array(z53.number().int())
6899
7043
  },
6900
7044
  getPlanetById: {
6901
7045
  path: "universe/planets/{planetId}",
@@ -6908,13 +7052,13 @@ var universeEndpoints = {
6908
7052
  path: "universe/races",
6909
7053
  method: "GET",
6910
7054
  requiresAuth: false,
6911
- responseSchema: z50.array(RaceSchema)
7055
+ responseSchema: z53.array(RaceSchema)
6912
7056
  },
6913
7057
  getRegions: {
6914
7058
  path: "universe/regions",
6915
7059
  method: "GET",
6916
7060
  requiresAuth: false,
6917
- responseSchema: z50.array(z50.number())
7061
+ responseSchema: z53.array(z53.number())
6918
7062
  },
6919
7063
  getRegionById: {
6920
7064
  path: "universe/regions/{regionId}",
@@ -6955,7 +7099,7 @@ var universeEndpoints = {
6955
7099
  path: "universe/structures",
6956
7100
  method: "GET",
6957
7101
  requiresAuth: false,
6958
- responseSchema: z50.array(z50.number())
7102
+ responseSchema: z53.array(z53.number())
6959
7103
  },
6960
7104
  getStructureById: {
6961
7105
  path: "universe/structures/{structureId}",
@@ -6968,19 +7112,19 @@ var universeEndpoints = {
6968
7112
  path: "universe/system_jumps",
6969
7113
  method: "GET",
6970
7114
  requiresAuth: false,
6971
- responseSchema: z50.array(SystemJumpSchema)
7115
+ responseSchema: z53.array(SystemJumpSchema)
6972
7116
  },
6973
7117
  getSystemKills: {
6974
7118
  path: "universe/system_kills",
6975
7119
  method: "GET",
6976
7120
  requiresAuth: false,
6977
- responseSchema: z50.array(SystemKillSchema)
7121
+ responseSchema: z53.array(SystemKillSchema)
6978
7122
  },
6979
7123
  getSystems: {
6980
7124
  path: "universe/systems",
6981
7125
  method: "GET",
6982
7126
  requiresAuth: false,
6983
- responseSchema: z50.array(z50.number())
7127
+ responseSchema: z53.array(z53.number())
6984
7128
  },
6985
7129
  getSystemById: {
6986
7130
  path: "universe/systems/{systemId}",
@@ -6993,7 +7137,7 @@ var universeEndpoints = {
6993
7137
  path: "universe/types",
6994
7138
  method: "GET",
6995
7139
  requiresAuth: false,
6996
- responseSchema: z50.array(z50.number())
7140
+ responseSchema: z53.array(z53.number())
6997
7141
  },
6998
7142
  getTypeById: {
6999
7143
  path: "universe/types/{typeId}",
@@ -7282,36 +7426,36 @@ var UniverseClient = class extends BaseEsiClient {
7282
7426
  };
7283
7427
 
7284
7428
  // src/core/endpoints/walletEndpoints.ts
7285
- import { z as z52 } from "zod";
7429
+ import { z as z55 } from "zod";
7286
7430
 
7287
7431
  // src/schemas/wallet.ts
7288
- import { z as z51 } from "zod";
7289
- var WalletTransactionSchema = z51.looseObject({
7290
- transaction_id: z51.number(),
7291
- date: z51.string(),
7292
- type_id: z51.number(),
7293
- location_id: z51.number(),
7294
- unit_price: z51.number(),
7295
- quantity: z51.number(),
7296
- client_id: z51.number(),
7297
- is_buy: z51.boolean(),
7298
- is_personal: z51.boolean(),
7299
- journal_ref_id: z51.number()
7300
- });
7301
- var WalletJournalSchema = z51.looseObject({
7302
- id: z51.number(),
7303
- date: z51.string(),
7304
- ref_type: z51.string(),
7305
- first_party_id: z51.number().optional(),
7306
- second_party_id: z51.number().optional(),
7307
- amount: z51.number().optional(),
7308
- balance: z51.number().optional(),
7309
- reason: z51.string().optional(),
7310
- description: z51.string(),
7311
- context_id: z51.number().optional(),
7312
- context_id_type: z51.string().optional(),
7313
- tax: z51.number().optional(),
7314
- tax_receiver_id: z51.number().optional()
7432
+ import { z as z54 } from "zod";
7433
+ var WalletTransactionSchema = z54.looseObject({
7434
+ transaction_id: z54.number(),
7435
+ date: z54.string(),
7436
+ type_id: z54.number(),
7437
+ location_id: z54.number(),
7438
+ unit_price: z54.number(),
7439
+ quantity: z54.number(),
7440
+ client_id: z54.number(),
7441
+ is_buy: z54.boolean(),
7442
+ is_personal: z54.boolean(),
7443
+ journal_ref_id: z54.number()
7444
+ });
7445
+ var WalletJournalSchema = z54.looseObject({
7446
+ id: z54.number(),
7447
+ date: z54.string(),
7448
+ ref_type: z54.string(),
7449
+ first_party_id: z54.number().optional(),
7450
+ second_party_id: z54.number().optional(),
7451
+ amount: z54.number().optional(),
7452
+ balance: z54.number().optional(),
7453
+ reason: z54.string().optional(),
7454
+ description: z54.string(),
7455
+ context_id: z54.number().optional(),
7456
+ context_id_type: z54.string().optional(),
7457
+ tax: z54.number().optional(),
7458
+ tax_receiver_id: z54.number().optional()
7315
7459
  });
7316
7460
 
7317
7461
  // src/core/endpoints/walletEndpoints.ts
@@ -7321,42 +7465,42 @@ var walletEndpoints = {
7321
7465
  method: "GET",
7322
7466
  requiresAuth: true,
7323
7467
  pathParams: ["characterId"],
7324
- responseSchema: z52.number()
7468
+ responseSchema: z55.number()
7325
7469
  },
7326
7470
  getCharacterWalletJournal: {
7327
7471
  path: "characters/{characterId}/wallet/journal",
7328
7472
  method: "GET",
7329
7473
  requiresAuth: true,
7330
7474
  pathParams: ["characterId"],
7331
- responseSchema: z52.array(WalletJournalSchema)
7475
+ responseSchema: z55.array(WalletJournalSchema)
7332
7476
  },
7333
7477
  getCharacterWalletTransactions: {
7334
7478
  path: "characters/{characterId}/wallet/transactions",
7335
7479
  method: "GET",
7336
7480
  requiresAuth: true,
7337
7481
  pathParams: ["characterId"],
7338
- responseSchema: z52.array(WalletTransactionSchema)
7482
+ responseSchema: z55.array(WalletTransactionSchema)
7339
7483
  },
7340
7484
  getCorporationWallets: {
7341
7485
  path: "corporations/{corporationId}/wallets",
7342
7486
  method: "GET",
7343
7487
  requiresAuth: true,
7344
7488
  pathParams: ["corporationId"],
7345
- responseSchema: z52.array(CorporationWalletDivisionSchema)
7489
+ responseSchema: z55.array(CorporationWalletDivisionSchema)
7346
7490
  },
7347
7491
  getCorporationWalletJournal: {
7348
7492
  path: "corporations/{corporationId}/wallets/{division}/journal",
7349
7493
  method: "GET",
7350
7494
  requiresAuth: true,
7351
7495
  pathParams: ["corporationId", "division"],
7352
- responseSchema: z52.array(WalletJournalSchema)
7496
+ responseSchema: z55.array(WalletJournalSchema)
7353
7497
  },
7354
7498
  getCorporationWalletTransactions: {
7355
7499
  path: "corporations/{corporationId}/wallets/{division}/transactions",
7356
7500
  method: "GET",
7357
7501
  requiresAuth: true,
7358
7502
  pathParams: ["corporationId", "division"],
7359
- responseSchema: z52.array(WalletTransactionSchema)
7503
+ responseSchema: z55.array(WalletTransactionSchema)
7360
7504
  }
7361
7505
  };
7362
7506
 
@@ -7456,34 +7600,34 @@ var WalletClient = class extends BaseEsiClient {
7456
7600
  };
7457
7601
 
7458
7602
  // src/core/endpoints/warEndpoints.ts
7459
- import { z as z54 } from "zod";
7603
+ import { z as z57 } from "zod";
7460
7604
 
7461
7605
  // src/schemas/wars.ts
7462
- import { z as z53 } from "zod";
7463
- var WarSchema = z53.looseObject({
7464
- id: z53.number(),
7465
- declared: z53.string(),
7466
- started: z53.string().optional(),
7467
- finished: z53.string().optional(),
7468
- retracted: z53.string().optional(),
7469
- mutual: z53.boolean(),
7470
- open_for_allies: z53.boolean(),
7471
- aggressor: z53.looseObject({
7472
- corporation_id: z53.number().optional(),
7473
- alliance_id: z53.number().optional(),
7474
- isk_destroyed: z53.number(),
7475
- ships_killed: z53.number()
7606
+ import { z as z56 } from "zod";
7607
+ var WarSchema = z56.looseObject({
7608
+ id: z56.number(),
7609
+ declared: z56.string(),
7610
+ started: z56.string().optional(),
7611
+ finished: z56.string().optional(),
7612
+ retracted: z56.string().optional(),
7613
+ mutual: z56.boolean(),
7614
+ open_for_allies: z56.boolean(),
7615
+ aggressor: z56.looseObject({
7616
+ corporation_id: z56.number().optional(),
7617
+ alliance_id: z56.number().optional(),
7618
+ isk_destroyed: z56.number(),
7619
+ ships_killed: z56.number()
7476
7620
  }),
7477
- defender: z53.looseObject({
7478
- corporation_id: z53.number().optional(),
7479
- alliance_id: z53.number().optional(),
7480
- isk_destroyed: z53.number(),
7481
- ships_killed: z53.number()
7621
+ defender: z56.looseObject({
7622
+ corporation_id: z56.number().optional(),
7623
+ alliance_id: z56.number().optional(),
7624
+ isk_destroyed: z56.number(),
7625
+ ships_killed: z56.number()
7482
7626
  }),
7483
- allies: z53.array(
7484
- z53.looseObject({
7485
- corporation_id: z53.number().optional(),
7486
- alliance_id: z53.number().optional()
7627
+ allies: z56.array(
7628
+ z56.looseObject({
7629
+ corporation_id: z56.number().optional(),
7630
+ alliance_id: z56.number().optional()
7487
7631
  })
7488
7632
  ).optional()
7489
7633
  });
@@ -7494,7 +7638,7 @@ var warEndpoints = {
7494
7638
  path: "wars",
7495
7639
  method: "GET",
7496
7640
  requiresAuth: false,
7497
- responseSchema: z54.array(z54.number())
7641
+ responseSchema: z57.array(z57.number())
7498
7642
  },
7499
7643
  getWarById: {
7500
7644
  path: "wars/{warId}",
@@ -7508,7 +7652,7 @@ var warEndpoints = {
7508
7652
  method: "GET",
7509
7653
  requiresAuth: false,
7510
7654
  pathParams: ["warId"],
7511
- responseSchema: z54.array(KillmailSummarySchema)
7655
+ responseSchema: z57.array(KillmailSummarySchema)
7512
7656
  }
7513
7657
  };
7514
7658
 
@@ -7552,13 +7696,62 @@ var WarsClient = class extends BaseEsiClient {
7552
7696
  };
7553
7697
 
7554
7698
  // src/core/endpoints/metaEndpoints.ts
7555
- import { z as z55 } from "zod";
7699
+ import { z as z59 } from "zod";
7700
+
7701
+ // src/schemas/meta.ts
7702
+ import { z as z58 } from "zod";
7703
+ var MetaChangelogEntrySchema = z58.looseObject({
7704
+ method: z58.string(),
7705
+ path: z58.string(),
7706
+ compatibility_date: z58.string(),
7707
+ is_breaking: z58.boolean(),
7708
+ description: z58.string()
7709
+ });
7710
+ var MetaChangelogSchema = z58.record(
7711
+ z58.string(),
7712
+ z58.array(MetaChangelogEntrySchema)
7713
+ );
7714
+ var MetaCompatibilityDatesSchema = z58.looseObject({
7715
+ compatibility_dates: z58.array(z58.string())
7716
+ });
7717
+ var MetaNameSchema = z58.looseObject({
7718
+ name: z58.string()
7719
+ });
7720
+ var MetaStatusSchema = z58.looseObject({
7721
+ status: z58.string()
7722
+ });
7723
+
7724
+ // src/core/endpoints/metaEndpoints.ts
7556
7725
  var metaEndpoints = {
7557
7726
  getOpenApiJson: {
7558
7727
  path: "meta/openapi.json",
7559
7728
  method: "GET",
7560
7729
  requiresAuth: false,
7561
- responseSchema: z55.record(z55.string(), z55.unknown())
7730
+ responseSchema: z59.record(z59.string(), z59.unknown())
7731
+ },
7732
+ getChangelog: {
7733
+ path: "meta/changelog",
7734
+ method: "GET",
7735
+ requiresAuth: false,
7736
+ responseSchema: MetaChangelogSchema
7737
+ },
7738
+ getCompatibilityDates: {
7739
+ path: "meta/compatibility-dates",
7740
+ method: "GET",
7741
+ requiresAuth: false,
7742
+ responseSchema: MetaCompatibilityDatesSchema
7743
+ },
7744
+ getName: {
7745
+ path: "meta/name",
7746
+ method: "GET",
7747
+ requiresAuth: false,
7748
+ responseSchema: MetaNameSchema
7749
+ },
7750
+ getStatus: {
7751
+ path: "meta/status",
7752
+ method: "GET",
7753
+ requiresAuth: false,
7754
+ responseSchema: MetaStatusSchema
7562
7755
  }
7563
7756
  };
7564
7757
 
@@ -7608,105 +7801,137 @@ var MetaClient = class extends BaseEsiClient {
7608
7801
  }
7609
7802
  }
7610
7803
  }
7804
+ /**
7805
+ * Retrieves the ESI changelog data.
7806
+ *
7807
+ * @returns The changelog keyed by compatibility date
7808
+ */
7809
+ getChangelog() {
7810
+ return this.api.getChangelog();
7811
+ }
7812
+ /**
7813
+ * Retrieves the list of ESI compatibility dates.
7814
+ *
7815
+ * @returns An object containing the list of compatibility dates
7816
+ */
7817
+ getCompatibilityDates() {
7818
+ return this.api.getCompatibilityDates();
7819
+ }
7820
+ /**
7821
+ * Retrieves the ESI name.
7822
+ *
7823
+ * @returns An object containing the ESI name
7824
+ */
7825
+ getName() {
7826
+ return this.api.getName();
7827
+ }
7828
+ /**
7829
+ * Retrieves the ESI status.
7830
+ *
7831
+ * @returns An object containing the ESI status
7832
+ */
7833
+ getStatus() {
7834
+ return this.api.getStatus();
7835
+ }
7611
7836
  };
7612
7837
 
7613
7838
  // src/core/endpoints/freelanceJobsEndpoints.ts
7614
- import { z as z57 } from "zod";
7839
+ import { z as z61 } from "zod";
7615
7840
 
7616
7841
  // src/schemas/freelance-jobs.ts
7617
- import { z as z56 } from "zod";
7618
- var EsiCursorSchema = z56.looseObject({
7619
- before: z56.string().nullable(),
7620
- after: z56.string().nullable()
7621
- });
7622
- var FreelanceJobSummarySchema = z56.looseObject({
7623
- id: z56.string(),
7624
- name: z56.string(),
7625
- state: z56.string(),
7626
- last_modified: z56.string(),
7627
- progress: z56.looseObject({
7628
- current: z56.number(),
7629
- desired: z56.number()
7842
+ import { z as z60 } from "zod";
7843
+ var EsiCursorSchema = z60.looseObject({
7844
+ before: z60.string().nullable(),
7845
+ after: z60.string().nullable()
7846
+ });
7847
+ var FreelanceJobSummarySchema = z60.looseObject({
7848
+ id: z60.string(),
7849
+ name: z60.string(),
7850
+ state: z60.string(),
7851
+ last_modified: z60.string(),
7852
+ progress: z60.looseObject({
7853
+ current: z60.number(),
7854
+ desired: z60.number()
7630
7855
  }),
7631
- reward: z56.looseObject({
7632
- initial: z56.number(),
7633
- remaining: z56.number()
7856
+ reward: z60.looseObject({
7857
+ initial: z60.number(),
7858
+ remaining: z60.number()
7634
7859
  }).optional()
7635
7860
  });
7636
- var FreelanceJobsListingSchema = z56.looseObject({
7861
+ var FreelanceJobsListingSchema = z60.looseObject({
7637
7862
  cursor: EsiCursorSchema.optional(),
7638
- freelance_jobs: z56.array(FreelanceJobSummarySchema)
7639
- });
7640
- var FreelanceJobDetailSchema = z56.looseObject({
7641
- id: z56.string(),
7642
- name: z56.string(),
7643
- state: z56.string(),
7644
- last_modified: z56.string(),
7645
- progress: z56.looseObject({
7646
- current: z56.number(),
7647
- desired: z56.number()
7863
+ freelance_jobs: z60.array(FreelanceJobSummarySchema)
7864
+ });
7865
+ var FreelanceJobDetailSchema = z60.looseObject({
7866
+ id: z60.string(),
7867
+ name: z60.string(),
7868
+ state: z60.string(),
7869
+ last_modified: z60.string(),
7870
+ progress: z60.looseObject({
7871
+ current: z60.number(),
7872
+ desired: z60.number()
7648
7873
  }),
7649
- reward: z56.looseObject({
7650
- initial: z56.number(),
7651
- remaining: z56.number()
7874
+ reward: z60.looseObject({
7875
+ initial: z60.number(),
7876
+ remaining: z60.number()
7652
7877
  }).optional(),
7653
- details: z56.looseObject({
7654
- description: z56.string(),
7655
- career: z56.string(),
7656
- created: z56.string(),
7657
- expires: z56.string(),
7658
- creator: z56.looseObject({
7659
- character: z56.looseObject({
7660
- id: z56.number(),
7661
- name: z56.string()
7878
+ details: z60.looseObject({
7879
+ description: z60.string(),
7880
+ career: z60.string(),
7881
+ created: z60.string(),
7882
+ expires: z60.string(),
7883
+ creator: z60.looseObject({
7884
+ character: z60.looseObject({
7885
+ id: z60.number(),
7886
+ name: z60.string()
7662
7887
  }),
7663
- corporation: z56.looseObject({
7664
- id: z56.number(),
7665
- name: z56.string()
7888
+ corporation: z60.looseObject({
7889
+ id: z60.number(),
7890
+ name: z60.string()
7666
7891
  })
7667
7892
  })
7668
7893
  }),
7669
- configuration: z56.looseObject({
7670
- version: z56.number(),
7671
- parameters: z56.record(z56.string(), z56.unknown()),
7672
- method: z56.string()
7894
+ configuration: z60.looseObject({
7895
+ version: z60.number(),
7896
+ parameters: z60.record(z60.string(), z60.unknown()),
7897
+ method: z60.string()
7673
7898
  }),
7674
- contribution: z56.looseObject({
7675
- max_committed_participants: z56.number(),
7676
- reward_per_contribution: z56.number().optional(),
7677
- submission_multiplier: z56.number().optional()
7899
+ contribution: z60.looseObject({
7900
+ max_committed_participants: z60.number(),
7901
+ reward_per_contribution: z60.number().optional(),
7902
+ submission_multiplier: z60.number().optional()
7678
7903
  }),
7679
- access_and_visibility: z56.looseObject({
7680
- acl_protected: z56.boolean(),
7681
- broadcast_locations: z56.array(
7682
- z56.looseObject({
7683
- id: z56.number(),
7684
- name: z56.string()
7904
+ access_and_visibility: z60.looseObject({
7905
+ acl_protected: z60.boolean(),
7906
+ broadcast_locations: z60.array(
7907
+ z60.looseObject({
7908
+ id: z60.number(),
7909
+ name: z60.string()
7685
7910
  })
7686
7911
  )
7687
7912
  })
7688
7913
  });
7689
- var CharacterFreelanceJobsListingSchema = z56.looseObject({
7914
+ var CharacterFreelanceJobsListingSchema = z60.looseObject({
7690
7915
  cursor: EsiCursorSchema.optional(),
7691
- freelance_jobs: z56.array(FreelanceJobSummarySchema)
7916
+ freelance_jobs: z60.array(FreelanceJobSummarySchema)
7692
7917
  });
7693
- var FreelanceJobParticipationSchema = z56.looseObject({
7694
- job_id: z56.string(),
7695
- character_id: z56.number(),
7696
- status: z56.string(),
7697
- contributions: z56.number(),
7698
- last_contribution: z56.string().optional()
7918
+ var FreelanceJobParticipationSchema = z60.looseObject({
7919
+ job_id: z60.string(),
7920
+ character_id: z60.number(),
7921
+ status: z60.string(),
7922
+ contributions: z60.number(),
7923
+ last_contribution: z60.string().optional()
7699
7924
  });
7700
- var CorporationFreelanceJobsListingSchema = z56.looseObject({
7925
+ var CorporationFreelanceJobsListingSchema = z60.looseObject({
7701
7926
  cursor: EsiCursorSchema.optional(),
7702
- freelance_jobs: z56.array(FreelanceJobSummarySchema)
7927
+ freelance_jobs: z60.array(FreelanceJobSummarySchema)
7703
7928
  });
7704
- var FreelanceJobParticipantSchema = z56.looseObject({
7705
- character_id: z56.number(),
7706
- corporation_id: z56.number(),
7707
- status: z56.string(),
7708
- contributions: z56.number(),
7709
- last_contribution: z56.string().optional()
7929
+ var FreelanceJobParticipantSchema = z60.looseObject({
7930
+ character_id: z60.number(),
7931
+ corporation_id: z60.number(),
7932
+ status: z60.string(),
7933
+ contributions: z60.number(),
7934
+ last_contribution: z60.string().optional()
7710
7935
  });
7711
7936
 
7712
7937
  // src/core/endpoints/freelanceJobsEndpoints.ts
@@ -7753,7 +7978,7 @@ var freelanceJobsEndpoints = {
7753
7978
  method: "GET",
7754
7979
  requiresAuth: true,
7755
7980
  pathParams: ["corporationId", "jobId"],
7756
- responseSchema: z57.array(FreelanceJobParticipantSchema)
7981
+ responseSchema: z61.array(FreelanceJobParticipantSchema)
7757
7982
  }
7758
7983
  };
7759
7984
 
@@ -7847,56 +8072,58 @@ var FreelanceJobsClient = class extends BaseEsiClient {
7847
8072
  };
7848
8073
 
7849
8074
  // src/core/endpoints/skyhookEndpoints.ts
7850
- import { z as z59 } from "zod";
8075
+ import { z as z63 } from "zod";
7851
8076
 
7852
8077
  // src/schemas/skyhooks.ts
7853
- import { z as z58 } from "zod";
7854
- var SovereigntyHubSchema2 = z58.looseObject({
7855
- structure_id: z58.number(),
7856
- system_id: z58.number(),
7857
- corporation_id: z58.number(),
7858
- alliance_id: z58.number().optional(),
7859
- online: z58.boolean(),
7860
- remaining_reagents: z58.number().optional(),
7861
- installed_upgrades: z58.array(z58.number()).optional()
7862
- });
7863
- var OrbitalSkyhookSchema = z58.looseObject({
7864
- structure_id: z58.number(),
7865
- system_id: z58.number(),
7866
- corporation_id: z58.number(),
7867
- alliance_id: z58.number().optional(),
7868
- online: z58.boolean(),
7869
- reagent_silo_capacity: z58.number().optional(),
7870
- reagent_silo_level: z58.number().optional()
7871
- });
7872
- var RaidableSkyhookSchema = z58.looseObject({
7873
- structure_id: z58.number(),
7874
- system_id: z58.number(),
7875
- corporation_id: z58.number(),
7876
- alliance_id: z58.number().optional(),
7877
- raidable_at: z58.string().optional(),
7878
- is_raidable: z58.boolean()
8078
+ import { z as z62 } from "zod";
8079
+ var SovereigntyHubSchema2 = z62.looseObject({
8080
+ structure_id: z62.number(),
8081
+ system_id: z62.number(),
8082
+ corporation_id: z62.number(),
8083
+ alliance_id: z62.number().optional(),
8084
+ online: z62.boolean(),
8085
+ remaining_reagents: z62.number().optional(),
8086
+ installed_upgrades: z62.array(z62.number()).optional()
8087
+ });
8088
+ var OrbitalSkyhookSchema = z62.looseObject({
8089
+ structure_id: z62.number(),
8090
+ system_id: z62.number(),
8091
+ corporation_id: z62.number(),
8092
+ alliance_id: z62.number().optional(),
8093
+ online: z62.boolean(),
8094
+ reagent_silo_capacity: z62.number().optional(),
8095
+ reagent_silo_level: z62.number().optional()
8096
+ });
8097
+ var RaidableSkyhookSchema = z62.looseObject({
8098
+ structure_id: z62.number(),
8099
+ system_id: z62.number(),
8100
+ corporation_id: z62.number(),
8101
+ alliance_id: z62.number().optional(),
8102
+ raidable_at: z62.string().optional(),
8103
+ is_raidable: z62.boolean()
7879
8104
  });
7880
8105
 
7881
8106
  // src/core/endpoints/skyhookEndpoints.ts
7882
8107
  var skyhookEndpoints = {
7883
8108
  getSovereigntyHubs: {
7884
- path: "sovereignty/hubs",
8109
+ path: "corporations/{corporationId}/structures/sovereignty-hubs",
7885
8110
  method: "GET",
7886
- requiresAuth: false,
7887
- responseSchema: z59.array(SovereigntyHubSchema2)
8111
+ requiresAuth: true,
8112
+ pathParams: ["corporationId"],
8113
+ responseSchema: z63.array(SovereigntyHubSchema2)
7888
8114
  },
7889
8115
  getOrbitalSkyhooks: {
7890
- path: "sovereignty/skyhooks",
8116
+ path: "corporations/{corporationId}/structures/skyhooks",
7891
8117
  method: "GET",
7892
- requiresAuth: false,
7893
- responseSchema: z59.array(OrbitalSkyhookSchema)
8118
+ requiresAuth: true,
8119
+ pathParams: ["corporationId"],
8120
+ responseSchema: z63.array(OrbitalSkyhookSchema)
7894
8121
  },
7895
8122
  getRaidableSkyhooks: {
7896
- path: "sovereignty/skyhooks/raidable",
8123
+ path: "skyhooks/raidable",
7897
8124
  method: "GET",
7898
8125
  requiresAuth: false,
7899
- responseSchema: z59.array(RaidableSkyhookSchema)
8126
+ responseSchema: z63.array(RaidableSkyhookSchema)
7900
8127
  }
7901
8128
  };
7902
8129
 
@@ -7908,18 +8135,22 @@ var SkyhooksClient = class extends BaseEsiClient {
7908
8135
  /**
7909
8136
  * Retrieves all sovereignty hubs exposed as Upwell structures, including online status and installed upgrades.
7910
8137
  *
8138
+ * @param corporationId - The ID of the corporation to query sovereignty hubs for
7911
8139
  * @returns A list of sovereignty hubs
8140
+ * @requires Authentication
7912
8141
  */
7913
- getSovereigntyHubs() {
7914
- return this.api.getSovereigntyHubs();
8142
+ getSovereigntyHubs(corporationId) {
8143
+ return this.api.getSovereigntyHubs(corporationId);
7915
8144
  }
7916
8145
  /**
7917
8146
  * Retrieves all orbital skyhooks with their silo capacity and levels.
7918
8147
  *
8148
+ * @param corporationId - The ID of the corporation to query skyhooks for
7919
8149
  * @returns A list of orbital skyhooks
8150
+ * @requires Authentication
7920
8151
  */
7921
- getOrbitalSkyhooks() {
7922
- return this.api.getOrbitalSkyhooks();
8152
+ getOrbitalSkyhooks(corporationId) {
8153
+ return this.api.getOrbitalSkyhooks(corporationId);
7923
8154
  }
7924
8155
  /**
7925
8156
  * Retrieves the rolling list of skyhooks that are currently or becoming raidable across New Eden.
@@ -7932,42 +8163,44 @@ var SkyhooksClient = class extends BaseEsiClient {
7932
8163
  };
7933
8164
 
7934
8165
  // src/core/endpoints/mercenaryEndpoints.ts
7935
- import { z as z61 } from "zod";
8166
+ import { z as z65 } from "zod";
7936
8167
 
7937
8168
  // src/schemas/mercenary.ts
7938
- import { z as z60 } from "zod";
7939
- var MercenaryDenSchema = z60.looseObject({
7940
- den_id: z60.number(),
7941
- system_id: z60.number(),
7942
- constellation_id: z60.number(),
7943
- region_id: z60.number(),
7944
- development_level: z60.number().optional(),
7945
- anarchy_level: z60.number().optional(),
7946
- active_operations: z60.number().optional()
7947
- });
7948
- var MercenaryTacticalOperationSchema = z60.looseObject({
7949
- operation_id: z60.number(),
7950
- den_id: z60.number(),
7951
- system_id: z60.number(),
7952
- site_type: z60.string(),
7953
- status: z60.enum(["spawning", "active", "completed", "expired"]),
7954
- started_at: z60.string().optional(),
7955
- expires_at: z60.string().optional()
8169
+ import { z as z64 } from "zod";
8170
+ var MercenaryDenSchema = z64.looseObject({
8171
+ den_id: z64.number(),
8172
+ system_id: z64.number(),
8173
+ constellation_id: z64.number(),
8174
+ region_id: z64.number(),
8175
+ development_level: z64.number().optional(),
8176
+ anarchy_level: z64.number().optional(),
8177
+ active_operations: z64.number().optional()
8178
+ });
8179
+ var MercenaryTacticalOperationSchema = z64.looseObject({
8180
+ operation_id: z64.number(),
8181
+ den_id: z64.number(),
8182
+ system_id: z64.number(),
8183
+ site_type: z64.string(),
8184
+ status: esiEnum(["spawning", "active", "completed", "expired"]),
8185
+ started_at: z64.string().optional(),
8186
+ expires_at: z64.string().optional()
7956
8187
  });
7957
8188
 
7958
8189
  // src/core/endpoints/mercenaryEndpoints.ts
7959
8190
  var mercenaryEndpoints = {
7960
8191
  getMercenaryDens: {
7961
- path: "mercenary/dens",
8192
+ path: "characters/{characterId}/structures/mercenary-dens",
7962
8193
  method: "GET",
7963
- requiresAuth: false,
7964
- responseSchema: z61.array(MercenaryDenSchema)
8194
+ requiresAuth: true,
8195
+ pathParams: ["characterId"],
8196
+ responseSchema: z65.array(MercenaryDenSchema)
7965
8197
  },
7966
8198
  getMercenaryTacticalOperations: {
7967
- path: "mercenary/operations",
8199
+ path: "characters/{characterId}/mercenary-tactical-operations",
7968
8200
  method: "GET",
7969
- requiresAuth: false,
7970
- responseSchema: z61.array(MercenaryTacticalOperationSchema)
8201
+ requiresAuth: true,
8202
+ pathParams: ["characterId"],
8203
+ responseSchema: z65.array(MercenaryTacticalOperationSchema)
7971
8204
  }
7972
8205
  };
7973
8206
 
@@ -7979,42 +8212,56 @@ var MercenaryClient = class extends BaseEsiClient {
7979
8212
  /**
7980
8213
  * Retrieves all mercenary dens with their development and anarchy parameters.
7981
8214
  *
8215
+ * @param characterId - The ID of the character to query mercenary dens for
7982
8216
  * @returns A list of mercenary dens
8217
+ * @requires Authentication
7983
8218
  */
7984
- getMercenaryDens() {
7985
- return this.api.getMercenaryDens();
8219
+ getMercenaryDens(characterId) {
8220
+ return this.api.getMercenaryDens(characterId);
7986
8221
  }
7987
8222
  /**
7988
8223
  * Retrieves all mercenary tactical operations (MTOs) spawned from mercenary dens.
7989
8224
  *
8225
+ * @param characterId - The ID of the character to query tactical operations for
7990
8226
  * @returns A list of mercenary tactical operations
8227
+ * @requires Authentication
7991
8228
  */
7992
- getMercenaryTacticalOperations() {
7993
- return this.api.getMercenaryTacticalOperations();
8229
+ getMercenaryTacticalOperations(characterId) {
8230
+ return this.api.getMercenaryTacticalOperations(characterId);
7994
8231
  }
7995
8232
  };
7996
8233
 
8234
+ // src/core/endpoints/accessListEndpoints.ts
8235
+ import { z as z67 } from "zod";
8236
+
7997
8237
  // src/schemas/access-lists.ts
7998
- import { z as z62 } from "zod";
7999
- var AccessListEntrySchema = z62.looseObject({
8000
- entity_id: z62.number(),
8001
- entity_type: z62.enum(["character", "corporation", "alliance"]),
8002
- access_type: z62.enum(["allowed", "blocked"])
8238
+ import { z as z66 } from "zod";
8239
+ var AccessListEntrySchema = z66.looseObject({
8240
+ entity_id: z66.number(),
8241
+ entity_type: esiEnum(["character", "corporation", "alliance"]),
8242
+ access_type: esiEnum(["allowed", "blocked"])
8003
8243
  });
8004
- var AccessListSchema = z62.looseObject({
8005
- access_list_id: z62.number(),
8006
- name: z62.string(),
8007
- entries: z62.array(AccessListEntrySchema)
8244
+ var AccessListSchema = z66.looseObject({
8245
+ access_list_id: z66.number(),
8246
+ name: z66.string(),
8247
+ entries: z66.array(AccessListEntrySchema)
8008
8248
  });
8009
8249
 
8010
8250
  // src/core/endpoints/accessListEndpoints.ts
8011
8251
  var accessListEndpoints = {
8012
8252
  getAccessList: {
8013
- path: "access-lists/{accessListId}",
8253
+ path: "characters/{characterId}/access-lists/{accessListId}",
8014
8254
  method: "GET",
8015
8255
  requiresAuth: true,
8016
- pathParams: ["accessListId"],
8256
+ pathParams: ["characterId", "accessListId"],
8017
8257
  responseSchema: AccessListSchema
8258
+ },
8259
+ getCharacterAccessLists: {
8260
+ path: "characters/{characterId}/access-lists",
8261
+ method: "GET",
8262
+ requiresAuth: true,
8263
+ pathParams: ["characterId"],
8264
+ responseSchema: z67.array(AccessListSchema)
8018
8265
  }
8019
8266
  };
8020
8267
 
@@ -8026,11 +8273,165 @@ var AccessListsClient = class extends BaseEsiClient {
8026
8273
  /**
8027
8274
  * Retrieves the contents of an access list (ACL) including all character, corporation, and alliance entries.
8028
8275
  *
8276
+ * @param characterId - The ID of the character who owns the access list
8029
8277
  * @param accessListId - The ID of the access list to retrieve
8030
8278
  * @returns The access list with its entries
8279
+ * @requires Authentication
8280
+ */
8281
+ getAccessList(characterId, accessListId) {
8282
+ return this.api.getAccessList(characterId, accessListId);
8283
+ }
8284
+ /**
8285
+ * Retrieves all access lists for a character.
8286
+ *
8287
+ * @param characterId - The ID of the character
8288
+ * @returns An array of the character's access lists
8289
+ * @requires Authentication
8290
+ */
8291
+ getCharacterAccessLists(characterId) {
8292
+ return this.api.getCharacterAccessLists(characterId);
8293
+ }
8294
+ };
8295
+
8296
+ // src/core/endpoints/militaryCampaignEndpoints.ts
8297
+ import { z as z69 } from "zod";
8298
+
8299
+ // src/schemas/military-campaigns.ts
8300
+ import { z as z68 } from "zod";
8301
+ var MilitaryCampaignSchema = z68.looseObject({
8302
+ campaign_id: z68.string(),
8303
+ state: z68.string(),
8304
+ progress: z68.number(),
8305
+ start_time: z68.string(),
8306
+ finish_time: z68.string().optional()
8307
+ });
8308
+ var MilitaryCampaignObjectiveSchema = z68.looseObject({
8309
+ objective_id: z68.string(),
8310
+ campaign_id: z68.string(),
8311
+ state: z68.string(),
8312
+ progress: z68.number(),
8313
+ participants: z68.looseObject({
8314
+ total: z68.number(),
8315
+ committed: z68.number(),
8316
+ contributors: z68.number()
8317
+ })
8318
+ });
8319
+ var CharacterMilitaryCampaignObjectiveSchema = z68.looseObject({
8320
+ objective_id: z68.string(),
8321
+ campaign_id: z68.string(),
8322
+ committed: z68.boolean(),
8323
+ contribution: z68.number()
8324
+ });
8325
+
8326
+ // src/core/endpoints/militaryCampaignEndpoints.ts
8327
+ var militaryCampaignEndpoints = {
8328
+ getMilitaryCampaigns: {
8329
+ path: "military-campaigns",
8330
+ method: "GET",
8331
+ requiresAuth: false,
8332
+ responseSchema: z69.array(MilitaryCampaignSchema)
8333
+ },
8334
+ getMilitaryCampaign: {
8335
+ path: "military-campaigns/{campaignId}",
8336
+ method: "GET",
8337
+ requiresAuth: false,
8338
+ pathParams: ["campaignId"],
8339
+ responseSchema: MilitaryCampaignSchema
8340
+ },
8341
+ getMilitaryCampaignObjectives: {
8342
+ path: "military-campaigns/{campaignId}/objectives",
8343
+ method: "GET",
8344
+ requiresAuth: false,
8345
+ pathParams: ["campaignId"],
8346
+ responseSchema: z69.array(MilitaryCampaignObjectiveSchema)
8347
+ },
8348
+ getMilitaryCampaignObjective: {
8349
+ path: "military-campaigns/{campaignId}/objectives/{objectiveId}",
8350
+ method: "GET",
8351
+ requiresAuth: false,
8352
+ pathParams: ["campaignId", "objectiveId"],
8353
+ responseSchema: MilitaryCampaignObjectiveSchema
8354
+ },
8355
+ getCharacterMilitaryCampaignObjectives: {
8356
+ path: "characters/{characterId}/military-campaigns/objectives",
8357
+ method: "GET",
8358
+ requiresAuth: true,
8359
+ pathParams: ["characterId"],
8360
+ responseSchema: z69.array(CharacterMilitaryCampaignObjectiveSchema)
8361
+ },
8362
+ getCharacterMilitaryCampaignObjective: {
8363
+ path: "characters/{characterId}/military-campaigns/objectives/{objectiveId}",
8364
+ method: "GET",
8365
+ requiresAuth: true,
8366
+ pathParams: ["characterId", "objectiveId"],
8367
+ responseSchema: CharacterMilitaryCampaignObjectiveSchema
8368
+ }
8369
+ };
8370
+
8371
+ // src/clients/MilitaryCampaignsClient.ts
8372
+ var MilitaryCampaignsClient = class extends BaseEsiClient {
8373
+ constructor(client) {
8374
+ super(client, militaryCampaignEndpoints);
8375
+ }
8376
+ /**
8377
+ * Retrieves a list of all active, completed, and expired military campaigns.
8378
+ *
8379
+ * @returns An array of military campaigns
8380
+ */
8381
+ getMilitaryCampaigns() {
8382
+ return this.api.getMilitaryCampaigns();
8383
+ }
8384
+ /**
8385
+ * Retrieves detailed information about a specific military campaign.
8386
+ *
8387
+ * @param campaignId - The UUID of the military campaign
8388
+ * @returns Detailed information about the campaign
8031
8389
  */
8032
- getAccessList(accessListId) {
8033
- return this.api.getAccessList(accessListId);
8390
+ getMilitaryCampaign(campaignId) {
8391
+ return this.api.getMilitaryCampaign(campaignId);
8392
+ }
8393
+ /**
8394
+ * Retrieves all objectives for a specific military campaign.
8395
+ *
8396
+ * @param campaignId - The UUID of the military campaign
8397
+ * @returns An array of objectives for the campaign
8398
+ */
8399
+ getMilitaryCampaignObjectives(campaignId) {
8400
+ return this.api.getMilitaryCampaignObjectives(campaignId);
8401
+ }
8402
+ /**
8403
+ * Retrieves detailed information about a specific objective in a military campaign.
8404
+ *
8405
+ * @param campaignId - The UUID of the military campaign
8406
+ * @param objectiveId - The UUID of the objective
8407
+ * @returns Detailed information about the objective
8408
+ */
8409
+ getMilitaryCampaignObjective(campaignId, objectiveId) {
8410
+ return this.api.getMilitaryCampaignObjective(campaignId, objectiveId);
8411
+ }
8412
+ /**
8413
+ * Retrieves a character's participated objectives across military campaigns.
8414
+ *
8415
+ * @param characterId - The ID of the character
8416
+ * @returns An array of the character's campaign objective participations
8417
+ * @requires Authentication with scope esi.activity.char:read
8418
+ */
8419
+ getCharacterMilitaryCampaignObjectives(characterId) {
8420
+ return this.api.getCharacterMilitaryCampaignObjectives(characterId);
8421
+ }
8422
+ /**
8423
+ * Retrieves a character's participation details for a specific campaign objective.
8424
+ *
8425
+ * @param characterId - The ID of the character
8426
+ * @param objectiveId - The UUID of the objective
8427
+ * @returns The character's participation details for the objective
8428
+ * @requires Authentication with scope esi.activity.char:read
8429
+ */
8430
+ getCharacterMilitaryCampaignObjective(characterId, objectiveId) {
8431
+ return this.api.getCharacterMilitaryCampaignObjective(
8432
+ characterId,
8433
+ objectiveId
8434
+ );
8034
8435
  }
8035
8436
  };
8036
8437
 
@@ -8044,6 +8445,7 @@ var clientFactories = {
8044
8445
  contacts: ContactsClient,
8045
8446
  contracts: ContractsClient,
8046
8447
  corporations: CorporationsClient,
8448
+ corporationProjects: CorporationProjectsClient,
8047
8449
  dogma: DogmaClient,
8048
8450
  factions: FactionClient,
8049
8451
  fittings: FittingsClient,
@@ -8070,6 +8472,7 @@ var clientFactories = {
8070
8472
  freelanceJobs: FreelanceJobsClient,
8071
8473
  skyhooks: SkyhooksClient,
8072
8474
  mercenary: MercenaryClient,
8475
+ militaryCampaigns: MilitaryCampaignsClient,
8073
8476
  accessLists: AccessListsClient
8074
8477
  };
8075
8478
  function createClientInstance(name, apiClient) {
@@ -8945,6 +9348,9 @@ var EsiClient = class {
8945
9348
  if (config?.language) {
8946
9349
  this.apiClient.setLanguage(config.language);
8947
9350
  }
9351
+ if (config?.compatibilityDate) {
9352
+ this.apiClient.setCompatibilityDate(config.compatibilityDate);
9353
+ }
8948
9354
  if (config?.onTokenRefresh) {
8949
9355
  this.apiClient.setTokenProvider(config.onTokenRefresh);
8950
9356
  }
@@ -8984,6 +9390,9 @@ var EsiClient = class {
8984
9390
  get corporations() {
8985
9391
  return this.getClient("corporations");
8986
9392
  }
9393
+ get corporationProjects() {
9394
+ return this.getClient("corporationProjects");
9395
+ }
8987
9396
  get dogma() {
8988
9397
  return this.getClient("dogma");
8989
9398
  }
@@ -9062,6 +9471,9 @@ var EsiClient = class {
9062
9471
  get mercenary() {
9063
9472
  return this.getClient("mercenary");
9064
9473
  }
9474
+ get militaryCampaigns() {
9475
+ return this.getClient("militaryCampaigns");
9476
+ }
9065
9477
  get accessLists() {
9066
9478
  return this.getClient("accessLists");
9067
9479
  }
@@ -9156,6 +9568,9 @@ var CustomEsiClient = class {
9156
9568
  if (config.language) {
9157
9569
  this.apiClient.setLanguage(config.language);
9158
9570
  }
9571
+ if (config.compatibilityDate) {
9572
+ this.apiClient.setCompatibilityDate(config.compatibilityDate);
9573
+ }
9159
9574
  if (config.onTokenRefresh) {
9160
9575
  this.apiClient.setTokenProvider(config.onTokenRefresh);
9161
9576
  }
@@ -9632,6 +10047,7 @@ __export(schemas_exports, {
9632
10047
  CharacterLocationSchema: () => CharacterLocationSchema,
9633
10048
  CharacterMarketOrderHistorySchema: () => CharacterMarketOrderHistorySchema,
9634
10049
  CharacterMarketOrderSchema: () => CharacterMarketOrderSchema,
10050
+ CharacterMilitaryCampaignObjectiveSchema: () => CharacterMilitaryCampaignObjectiveSchema,
9635
10051
  CharacterOnlineSchema: () => CharacterOnlineSchema,
9636
10052
  CharacterPortraitSchema: () => CharacterPortraitSchema,
9637
10053
  CharacterRoleSchema: () => CharacterRoleSchema,
@@ -9663,6 +10079,9 @@ __export(schemas_exports, {
9663
10079
  CorporationMemberRoleSchema: () => CorporationMemberRoleSchema,
9664
10080
  CorporationMemberTitleSchema: () => CorporationMemberTitleSchema,
9665
10081
  CorporationMemberTrackingSchema: () => CorporationMemberTrackingSchema,
10082
+ CorporationProjectContributionSchema: () => CorporationProjectContributionSchema,
10083
+ CorporationProjectContributorSchema: () => CorporationProjectContributorSchema,
10084
+ CorporationProjectSchema: () => CorporationProjectSchema,
9666
10085
  CorporationRoleHistorySchema: () => CorporationRoleHistorySchema,
9667
10086
  CorporationShareholderSchema: () => CorporationShareholderSchema,
9668
10087
  CorporationStandingSchema: () => StandingSchema,
@@ -9717,6 +10136,13 @@ __export(schemas_exports, {
9717
10136
  MedalSchema: () => MedalSchema,
9718
10137
  MercenaryDenSchema: () => MercenaryDenSchema,
9719
10138
  MercenaryTacticalOperationSchema: () => MercenaryTacticalOperationSchema,
10139
+ MetaChangelogEntrySchema: () => MetaChangelogEntrySchema,
10140
+ MetaChangelogSchema: () => MetaChangelogSchema,
10141
+ MetaCompatibilityDatesSchema: () => MetaCompatibilityDatesSchema,
10142
+ MetaNameSchema: () => MetaNameSchema,
10143
+ MetaStatusSchema: () => MetaStatusSchema,
10144
+ MilitaryCampaignObjectiveSchema: () => MilitaryCampaignObjectiveSchema,
10145
+ MilitaryCampaignSchema: () => MilitaryCampaignSchema,
9720
10146
  MiningLedgerEntrySchema: () => MiningLedgerEntrySchema,
9721
10147
  MiningObserverEntrySchema: () => MiningObserverEntrySchema,
9722
10148
  MiningObserverSchema: () => MiningObserverSchema,
@@ -9752,6 +10178,7 @@ __export(schemas_exports, {
9752
10178
  WalletJournalSchema: () => WalletJournalSchema,
9753
10179
  WalletTransactionSchema: () => WalletTransactionSchema,
9754
10180
  WarSchema: () => WarSchema,
10181
+ esiEnum: () => esiEnum,
9755
10182
  esiResponse: () => esiResponse
9756
10183
  });
9757
10184
  export {
@@ -9769,6 +10196,7 @@ export {
9769
10196
  ClonesClient,
9770
10197
  ContactsClient,
9771
10198
  ContractsClient,
10199
+ CorporationProjectsClient,
9772
10200
  CorporationsClient,
9773
10201
  CustomEsiClient,
9774
10202
  DogmaClient,
@@ -9794,6 +10222,7 @@ export {
9794
10222
  MarketClient,
9795
10223
  MercenaryClient,
9796
10224
  MetaClient,
10225
+ MilitaryCampaignsClient,
9797
10226
  PiClient,
9798
10227
  RateLimiter,
9799
10228
  RequestDeduplicator,