@lgriffin/esi.ts 9.7.0 → 10.2.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 (439) hide show
  1. package/CHANGELOG.md +512 -0
  2. package/README.md +182 -236
  3. package/dist/EsiClient.d.mts +140 -0
  4. package/dist/EsiClient.d.ts +4 -0
  5. package/dist/EsiClient.d.ts.map +1 -1
  6. package/dist/EsiClientBuilder.d.mts +75 -0
  7. package/dist/EsiClientBuilder.d.ts.map +1 -1
  8. package/dist/auth/EsiTokenManager.d.mts +200 -0
  9. package/dist/auth/EsiTokenManager.d.ts +200 -0
  10. package/dist/auth/EsiTokenManager.d.ts.map +1 -0
  11. package/dist/auth/EveSsoClient.d.mts +88 -0
  12. package/dist/auth/EveSsoClient.d.ts +88 -0
  13. package/dist/auth/EveSsoClient.d.ts.map +1 -0
  14. package/dist/auth/errors.d.mts +42 -0
  15. package/dist/auth/errors.d.ts +42 -0
  16. package/dist/auth/errors.d.ts.map +1 -0
  17. package/dist/auth/index.d.mts +14 -0
  18. package/dist/auth/index.d.ts +14 -0
  19. package/dist/auth/index.d.ts.map +1 -0
  20. package/dist/auth/jwt.d.mts +43 -0
  21. package/dist/auth/jwt.d.ts +43 -0
  22. package/dist/auth/jwt.d.ts.map +1 -0
  23. package/dist/auth/pkce.d.mts +21 -0
  24. package/dist/auth/pkce.d.ts +21 -0
  25. package/dist/auth/pkce.d.ts.map +1 -0
  26. package/dist/auth/storage/FileTokenStorage.d.mts +44 -0
  27. package/dist/auth/storage/FileTokenStorage.d.ts +44 -0
  28. package/dist/auth/storage/FileTokenStorage.d.ts.map +1 -0
  29. package/dist/auth/storage/MemoryTokenStorage.d.mts +18 -0
  30. package/dist/auth/storage/MemoryTokenStorage.d.ts +18 -0
  31. package/dist/auth/storage/MemoryTokenStorage.d.ts.map +1 -0
  32. package/dist/auth/types.d.mts +42 -0
  33. package/dist/auth/types.d.ts +42 -0
  34. package/dist/auth/types.d.ts.map +1 -0
  35. package/dist/chunk-3ZI5A37L.mjs +1065 -0
  36. package/dist/chunk-3ZI5A37L.mjs.map +1 -0
  37. package/dist/chunk-BBSHKVPI.js +71 -0
  38. package/dist/chunk-BBSHKVPI.js.map +1 -0
  39. package/dist/chunk-D5L5HZVF.mjs +417 -0
  40. package/dist/chunk-D5L5HZVF.mjs.map +1 -0
  41. package/dist/chunk-JIW4BXLP.mjs +17 -0
  42. package/dist/chunk-JIW4BXLP.mjs.map +1 -0
  43. package/dist/chunk-MSJHIJXA.js +1065 -0
  44. package/dist/chunk-MSJHIJXA.js.map +1 -0
  45. package/dist/chunk-PZ5AY32C.js +10 -0
  46. package/dist/chunk-PZ5AY32C.js.map +1 -0
  47. package/dist/chunk-R7D7M2LQ.mjs +71 -0
  48. package/dist/chunk-R7D7M2LQ.mjs.map +1 -0
  49. package/dist/chunk-SAQBXXTM.js +2614 -0
  50. package/dist/chunk-SAQBXXTM.js.map +1 -0
  51. package/dist/chunk-VZS32UQ3.mjs +2614 -0
  52. package/dist/chunk-VZS32UQ3.mjs.map +1 -0
  53. package/dist/chunk-XIB2OXEZ.js +417 -0
  54. package/dist/chunk-XIB2OXEZ.js.map +1 -0
  55. package/dist/clients/AccessListsClient.d.mts +25 -0
  56. package/dist/clients/AllianceClient.d.mts +59 -0
  57. package/dist/clients/AllianceClient.d.ts.map +1 -1
  58. package/dist/clients/AssetsClient.d.mts +65 -0
  59. package/dist/clients/BaseEsiClient.d.mts +19 -0
  60. package/dist/clients/CalendarClient.d.mts +48 -0
  61. package/dist/clients/CharacterClient.d.mts +134 -0
  62. package/dist/clients/ClonesClient.d.mts +27 -0
  63. package/dist/clients/ContactsClient.d.mts +96 -0
  64. package/dist/clients/ContractsClient.d.mts +91 -0
  65. package/dist/clients/ContractsClient.d.ts +12 -9
  66. package/dist/clients/ContractsClient.d.ts.map +1 -1
  67. package/dist/clients/CorporationProjectsClient.d.mts +54 -0
  68. package/dist/clients/CorporationProjectsClient.d.ts +22 -12
  69. package/dist/clients/CorporationProjectsClient.d.ts.map +1 -1
  70. package/dist/clients/CorporationsClient.d.mts +219 -0
  71. package/dist/clients/CosmeticsClient.d.mts +11 -0
  72. package/dist/clients/DogmaClient.d.mts +42 -0
  73. package/dist/clients/FactionClient.d.mts +60 -0
  74. package/dist/clients/FactionClient.d.ts +4 -4
  75. package/dist/clients/FactionClient.d.ts.map +1 -1
  76. package/dist/clients/FittingsClient.d.mts +38 -0
  77. package/dist/clients/FleetClient.d.mts +134 -0
  78. package/dist/clients/FreelanceJobsClient.d.mts +61 -0
  79. package/dist/clients/FreelanceJobsClient.d.ts +3 -3
  80. package/dist/clients/FreelanceJobsClient.d.ts.map +1 -1
  81. package/dist/clients/IncursionsClient.d.mts +14 -0
  82. package/dist/clients/IndustryClient.d.mts +86 -0
  83. package/dist/clients/IndustryClient.d.ts +4 -4
  84. package/dist/clients/IndustryClient.d.ts.map +1 -1
  85. package/dist/clients/InsuranceClient.d.mts +14 -0
  86. package/dist/clients/KillmailsClient.d.mts +37 -0
  87. package/dist/clients/LocationClient.d.mts +32 -0
  88. package/dist/clients/LoyaltyClient.d.mts +28 -0
  89. package/dist/clients/MailClient.d.mts +104 -0
  90. package/dist/clients/MailClient.d.ts +4 -4
  91. package/dist/clients/MailClient.d.ts.map +1 -1
  92. package/dist/clients/MarketClient.d.mts +102 -0
  93. package/dist/clients/MercenaryClient.d.mts +42 -0
  94. package/dist/clients/MetaClient.d.mts +45 -0
  95. package/dist/clients/MetaClient.d.ts +3 -2
  96. package/dist/clients/MetaClient.d.ts.map +1 -1
  97. package/dist/clients/MilitaryCampaignsClient.d.mts +53 -0
  98. package/dist/clients/ParagonHubClient.d.mts +13 -0
  99. package/dist/clients/PiClient.d.mts +45 -0
  100. package/dist/clients/RouteClient.d.mts +25 -0
  101. package/dist/clients/SearchClient.d.mts +17 -0
  102. package/dist/clients/SkillsClient.d.mts +39 -0
  103. package/dist/clients/SkyhooksClient.d.mts +48 -0
  104. package/dist/clients/SovereigntyClient.d.mts +20 -0
  105. package/dist/clients/StatusClient.d.mts +14 -0
  106. package/dist/clients/UiClient.d.mts +44 -0
  107. package/dist/clients/UniverseClient.d.mts +212 -0
  108. package/dist/clients/WalletClient.d.mts +70 -0
  109. package/dist/clients/WalletClient.d.ts +4 -4
  110. package/dist/clients/WalletClient.d.ts.map +1 -1
  111. package/dist/clients/WarsClient.d.mts +33 -0
  112. package/dist/core/ApiClient.d.mts +73 -0
  113. package/dist/core/ApiClient.d.ts +4 -0
  114. package/dist/core/ApiClient.d.ts.map +1 -1
  115. package/dist/core/ApiClientBuilder.d.mts +24 -0
  116. package/dist/core/ApiRequestHandler.d.ts.map +1 -1
  117. package/dist/core/BatchRequestHandler.d.mts +12 -0
  118. package/dist/core/BatchRequestHandler.d.ts.map +1 -1
  119. package/dist/core/ClientRegistry.d.mts +45 -0
  120. package/dist/core/EsiDiagnostics.d.mts +35 -0
  121. package/dist/core/IDeduplicator.d.mts +22 -0
  122. package/dist/core/IDeduplicator.d.ts +16 -0
  123. package/dist/core/IDeduplicator.d.ts.map +1 -1
  124. package/dist/core/IRetryStrategy.d.mts +5 -0
  125. package/dist/core/RequestDeduplicator.d.mts +21 -0
  126. package/dist/core/RequestDeduplicator.d.ts +13 -0
  127. package/dist/core/RequestDeduplicator.d.ts.map +1 -1
  128. package/dist/core/RetryStrategy.d.mts +21 -0
  129. package/dist/core/RetryStrategy.d.ts +2 -0
  130. package/dist/core/RetryStrategy.d.ts.map +1 -1
  131. package/dist/core/cache/ETagCacheManager.d.mts +75 -0
  132. package/dist/core/cache/ETagCacheManager.d.ts +4 -0
  133. package/dist/core/cache/ETagCacheManager.d.ts.map +1 -1
  134. package/dist/core/cache/ICache.d.mts +27 -0
  135. package/dist/core/cache/cacheKey.d.ts +11 -0
  136. package/dist/core/cache/cacheKey.d.ts.map +1 -1
  137. package/dist/core/circuitBreaker/CircuitBreaker.d.mts +52 -0
  138. package/dist/core/circuitBreaker/CircuitBreaker.d.ts +3 -0
  139. package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
  140. package/dist/core/circuitBreaker/ICircuitBreaker.d.mts +23 -0
  141. package/dist/core/configureApiClient.d.mts +18 -0
  142. package/dist/core/configureApiClient.d.ts.map +1 -1
  143. package/dist/core/constants.d.ts +2 -2
  144. package/dist/core/constants.d.ts.map +1 -1
  145. package/dist/core/endpoints/EndpointDefinition.d.mts +63 -0
  146. package/dist/core/endpoints/accessListEndpoints.d.mts +34 -0
  147. package/dist/core/endpoints/allianceEndpoints.d.mts +43 -0
  148. package/dist/core/endpoints/assetEndpoints.d.mts +76 -0
  149. package/dist/core/endpoints/buildEndpointPath.d.mts +7 -0
  150. package/dist/core/endpoints/calendarEndpoints.d.mts +54 -0
  151. package/dist/core/endpoints/calendarEndpoints.d.ts +7 -7
  152. package/dist/core/endpoints/characterEndpoints.d.mts +185 -0
  153. package/dist/core/endpoints/characterEndpoints.d.ts +2 -2
  154. package/dist/core/endpoints/cloneEndpoints.d.mts +32 -0
  155. package/dist/core/endpoints/cloneEndpoints.d.ts +2 -2
  156. package/dist/core/endpoints/contactEndpoints.d.mts +106 -0
  157. package/dist/core/endpoints/contractEndpoints.d.mts +168 -0
  158. package/dist/core/endpoints/contractEndpoints.d.ts +15 -22
  159. package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
  160. package/dist/core/endpoints/corporationEndpoints.d.mts +324 -0
  161. package/dist/core/endpoints/corporationEndpoints.d.ts +19 -22
  162. package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
  163. package/dist/core/endpoints/corporationProjectEndpoints.d.mts +102 -0
  164. package/dist/core/endpoints/corporationProjectEndpoints.d.ts +75 -23
  165. package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -1
  166. package/dist/core/endpoints/cosmeticsEndpoints.d.mts +52 -0
  167. package/dist/core/endpoints/createClient.d.mts +69 -0
  168. package/dist/core/endpoints/createClient.d.ts.map +1 -1
  169. package/dist/core/endpoints/dogmaEndpoints.d.mts +89 -0
  170. package/dist/core/endpoints/dogmaEndpoints.d.ts +2 -2
  171. package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -1
  172. package/dist/core/endpoints/esi-rate-limit-groups.generated.d.mts +7 -0
  173. package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts.map +1 -1
  174. package/dist/core/endpoints/esi-scopes.generated.d.mts +3 -0
  175. package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
  176. package/dist/core/endpoints/factionEndpoints.d.mts +194 -0
  177. package/dist/core/endpoints/factionEndpoints.d.ts +36 -36
  178. package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
  179. package/dist/core/endpoints/fittingEndpoints.d.mts +34 -0
  180. package/dist/core/endpoints/fleetEndpoints.d.mts +137 -0
  181. package/dist/core/endpoints/fleetEndpoints.d.ts +1 -1
  182. package/dist/core/endpoints/freelanceJobsEndpoints.d.mts +181 -0
  183. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +131 -122
  184. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -1
  185. package/dist/core/endpoints/incursionEndpoints.d.mts +19 -0
  186. package/dist/core/endpoints/industryEndpoints.d.mts +138 -0
  187. package/dist/core/endpoints/industryEndpoints.d.ts +6 -6
  188. package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
  189. package/dist/core/endpoints/insuranceEndpoints.d.mts +17 -0
  190. package/dist/core/endpoints/killmailEndpoints.d.mts +62 -0
  191. package/dist/core/endpoints/locationEndpoints.d.mts +37 -0
  192. package/dist/core/endpoints/loyaltyEndpoints.d.mts +32 -0
  193. package/dist/core/endpoints/mailEndpoints.d.mts +111 -0
  194. package/dist/core/endpoints/mailEndpoints.d.ts +3 -5
  195. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
  196. package/dist/core/endpoints/marketEndpoints.d.mts +191 -0
  197. package/dist/core/endpoints/mercenaryEndpoints.d.mts +79 -0
  198. package/dist/core/endpoints/mercenaryEndpoints.d.ts +1 -1
  199. package/dist/core/endpoints/metaEndpoints.d.mts +50 -0
  200. package/dist/core/endpoints/metaEndpoints.d.ts +5 -1
  201. package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
  202. package/dist/core/endpoints/militaryCampaignEndpoints.d.mts +87 -0
  203. package/dist/core/endpoints/paragonHubEndpoints.d.mts +163 -0
  204. package/dist/core/endpoints/piEndpoints.d.mts +101 -0
  205. package/dist/core/endpoints/piEndpoints.d.ts +2 -2
  206. package/dist/core/endpoints/routeEndpoints.d.mts +14 -0
  207. package/dist/core/endpoints/searchEndpoints.d.mts +26 -0
  208. package/dist/core/endpoints/skillEndpoints.d.mts +52 -0
  209. package/dist/core/endpoints/skyhookEndpoints.d.mts +111 -0
  210. package/dist/core/endpoints/sovereigntyEndpoints.d.mts +59 -0
  211. package/dist/core/endpoints/statusEndpoints.d.mts +14 -0
  212. package/dist/core/endpoints/statusEndpoints.d.ts +1 -1
  213. package/dist/core/endpoints/uiEndpoints.d.mts +43 -0
  214. package/dist/core/endpoints/universeEndpoints.d.mts +456 -0
  215. package/dist/core/endpoints/universeEndpoints.d.ts +22 -22
  216. package/dist/core/endpoints/walletEndpoints.d.mts +98 -0
  217. package/dist/core/endpoints/walletEndpoints.d.ts +2 -3
  218. package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
  219. package/dist/core/endpoints/warEndpoints.d.mts +51 -0
  220. package/dist/core/logger/DefaultLogger.d.mts +31 -0
  221. package/dist/core/logger/DefaultLogger.d.ts +31 -0
  222. package/dist/core/logger/DefaultLogger.d.ts.map +1 -0
  223. package/dist/core/logger/ILogger.d.mts +17 -0
  224. package/dist/core/logger/ILogger.d.ts +14 -4
  225. package/dist/core/logger/ILogger.d.ts.map +1 -1
  226. package/dist/core/logger/NoopLogger.d.mts +7 -0
  227. package/dist/core/logger/NoopLogger.d.ts +4 -0
  228. package/dist/core/logger/NoopLogger.d.ts.map +1 -1
  229. package/dist/core/logger/clientLog.d.ts +11 -0
  230. package/dist/core/logger/clientLog.d.ts.map +1 -0
  231. package/dist/core/logger/logger.d.ts +11 -3
  232. package/dist/core/logger/logger.d.ts.map +1 -1
  233. package/dist/core/logger/loggerUtil.d.mts +11 -0
  234. package/dist/core/logger/loggerUtil.d.ts +8 -6
  235. package/dist/core/logger/loggerUtil.d.ts.map +1 -1
  236. package/dist/core/logger/resolveLogger.d.ts +10 -0
  237. package/dist/core/logger/resolveLogger.d.ts.map +1 -0
  238. package/dist/core/middleware/Middleware.d.mts +30 -0
  239. package/dist/core/pagination/AsyncPaginationIterator.d.mts +12 -0
  240. package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -1
  241. package/dist/core/pagination/CursorPaginationHandler.d.mts +68 -0
  242. package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
  243. package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
  244. package/dist/core/rateLimiter/IRateLimiter.d.mts +27 -0
  245. package/dist/core/rateLimiter/RateLimiter.d.mts +62 -0
  246. package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
  247. package/dist/core/requestPipeline/cachePolicy.d.ts +25 -1
  248. package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -1
  249. package/dist/core/requestPipeline/fetchExecution.d.ts +1 -1
  250. package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -1
  251. package/dist/core/requestPipeline/headers.d.ts.map +1 -1
  252. package/dist/core/requestPipeline/index.d.ts +2 -2
  253. package/dist/core/requestPipeline/index.d.ts.map +1 -1
  254. package/dist/core/requestPipeline/paginationOrchestration.d.ts +1 -1
  255. package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -1
  256. package/dist/core/requestPipeline/statusHandling.d.ts +14 -2
  257. package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -1
  258. package/dist/core/util/concurrency.d.ts +29 -0
  259. package/dist/core/util/concurrency.d.ts.map +1 -0
  260. package/dist/core/util/error.d.mts +37 -0
  261. package/dist/core/util/retry.d.mts +8 -0
  262. package/dist/core/util/retry.d.ts.map +1 -1
  263. package/dist/errors.d.mts +5 -0
  264. package/dist/errors.d.ts +1 -0
  265. package/dist/errors.d.ts.map +1 -1
  266. package/dist/errors.js +53 -195
  267. package/dist/errors.js.map +1 -1
  268. package/dist/errors.mjs +37 -129
  269. package/dist/errors.mjs.map +1 -1
  270. package/dist/index.d.mts +81 -0
  271. package/dist/index.d.ts +6 -2
  272. package/dist/index.d.ts.map +1 -1
  273. package/dist/index.js +2195 -3517
  274. package/dist/index.js.map +1 -1
  275. package/dist/index.mjs +1833 -3044
  276. package/dist/index.mjs.map +1 -1
  277. package/dist/schemas/access-lists.d.mts +16 -0
  278. package/dist/schemas/alliance.d.mts +26 -0
  279. package/dist/schemas/assets.d.mts +24 -0
  280. package/dist/schemas/calendar.d.mts +27 -0
  281. package/dist/schemas/calendar.d.ts +9 -7
  282. package/dist/schemas/calendar.d.ts.map +1 -1
  283. package/dist/schemas/character.d.mts +109 -0
  284. package/dist/schemas/character.d.ts +2 -2
  285. package/dist/schemas/clones.d.mts +17 -0
  286. package/dist/schemas/clones.d.ts +2 -2
  287. package/dist/schemas/common.d.mts +74 -0
  288. package/dist/schemas/contacts.d.mts +14 -0
  289. package/dist/schemas/contracts.d.mts +104 -0
  290. package/dist/schemas/contracts.d.ts +69 -6
  291. package/dist/schemas/contracts.d.ts.map +1 -1
  292. package/dist/schemas/corporation-projects.d.mts +104 -0
  293. package/dist/schemas/corporation-projects.d.ts +96 -9
  294. package/dist/schemas/corporation-projects.d.ts.map +1 -1
  295. package/dist/schemas/corporation.d.mts +193 -0
  296. package/dist/schemas/corporation.d.ts +34 -22
  297. package/dist/schemas/corporation.d.ts.map +1 -1
  298. package/dist/schemas/cosmetics.d.mts +58 -0
  299. package/dist/schemas/dogma.d.mts +57 -0
  300. package/dist/schemas/dogma.d.ts +2 -2
  301. package/dist/schemas/esiEnum.d.mts +3 -0
  302. package/dist/schemas/faction-warfare.d.mts +203 -0
  303. package/dist/schemas/faction-warfare.d.ts +125 -12
  304. package/dist/schemas/faction-warfare.d.ts.map +1 -1
  305. package/dist/schemas/fittings.d.mts +13 -0
  306. package/dist/schemas/fleet.d.mts +37 -0
  307. package/dist/schemas/fleet.d.ts +1 -1
  308. package/dist/schemas/freelance-jobs.d.mts +171 -0
  309. package/dist/schemas/freelance-jobs.d.ts +52 -22
  310. package/dist/schemas/freelance-jobs.d.ts.map +1 -1
  311. package/dist/schemas/incursions.d.mts +12 -0
  312. package/dist/schemas/index.d.mts +39 -0
  313. package/dist/schemas/index.js +420 -2479
  314. package/dist/schemas/index.js.map +1 -1
  315. package/dist/schemas/index.mjs +225 -2065
  316. package/dist/schemas/index.mjs.map +1 -1
  317. package/dist/schemas/industry.d.mts +99 -0
  318. package/dist/schemas/industry.d.ts +33 -0
  319. package/dist/schemas/industry.d.ts.map +1 -1
  320. package/dist/schemas/insurance.d.mts +10 -0
  321. package/dist/schemas/killmails.d.mts +38 -0
  322. package/dist/schemas/location.d.mts +18 -0
  323. package/dist/schemas/loyalty.d.mts +18 -0
  324. package/dist/schemas/mail.d.mts +53 -0
  325. package/dist/schemas/mail.d.ts +24 -5
  326. package/dist/schemas/mail.d.ts.map +1 -1
  327. package/dist/schemas/market.d.mts +123 -0
  328. package/dist/schemas/mercenary.d.mts +74 -0
  329. package/dist/schemas/mercenary.d.ts +1 -1
  330. package/dist/schemas/meta.d.mts +36 -0
  331. package/dist/schemas/meta.d.ts +12 -1
  332. package/dist/schemas/meta.d.ts.map +1 -1
  333. package/dist/schemas/military-campaigns.d.mts +26 -0
  334. package/dist/schemas/paragon-hub.d.mts +96 -0
  335. package/dist/schemas/pi.d.mts +71 -0
  336. package/dist/schemas/pi.d.ts +2 -2
  337. package/dist/schemas/skills.d.mts +28 -0
  338. package/dist/schemas/skyhooks.d.mts +129 -0
  339. package/dist/schemas/sovereignty.d.mts +56 -0
  340. package/dist/schemas/status.d.mts +8 -0
  341. package/dist/schemas/status.d.ts +1 -1
  342. package/dist/schemas/universe.d.mts +285 -0
  343. package/dist/schemas/universe.d.ts +22 -22
  344. package/dist/schemas/universe.d.ts.map +1 -1
  345. package/dist/schemas/wallet.d.mts +45 -0
  346. package/dist/schemas/wallet.d.ts +16 -0
  347. package/dist/schemas/wallet.d.ts.map +1 -1
  348. package/dist/schemas/wars.d.mts +27 -0
  349. package/dist/sde/IStaticDataProvider.d.mts +106 -0
  350. package/dist/sde/MemorySdeProvider.d.mts +167 -0
  351. package/dist/sde/SdeDataProvider.d.mts +119 -0
  352. package/dist/sde/SdeDataProvider.d.ts.map +1 -1
  353. package/dist/sde/SdeTestDataFactory.d.mts +33 -0
  354. package/dist/sde/errors.d.mts +23 -0
  355. package/dist/sde/index.d.mts +9 -0
  356. package/dist/sde/index.js +95 -1162
  357. package/dist/sde/index.js.map +1 -1
  358. package/dist/sde/index.mjs +73 -1091
  359. package/dist/sde/index.mjs.map +1 -1
  360. package/dist/sde/ingestion/SdeExtractor.d.ts.map +1 -1
  361. package/dist/sde/ingestion/metadata.d.ts +13 -0
  362. package/dist/sde/ingestion/metadata.d.ts.map +1 -0
  363. package/dist/sde/memory.d.mts +8 -0
  364. package/dist/sde/memory.js +21 -1095
  365. package/dist/sde/memory.js.map +1 -1
  366. package/dist/sde/memory.mjs +13 -1051
  367. package/dist/sde/memory.mjs.map +1 -1
  368. package/dist/sde/optionalPeers.d.ts +25 -0
  369. package/dist/sde/optionalPeers.d.ts.map +1 -0
  370. package/dist/sde/types.d.mts +1039 -0
  371. package/dist/sde/version.d.mts +7 -0
  372. package/dist/testing/TestDataFactory.d.mts +172 -0
  373. package/dist/testing/TestDataFactory.d.ts +28 -1
  374. package/dist/testing/TestDataFactory.d.ts.map +1 -1
  375. package/dist/testing/index.d.mts +2 -0
  376. package/dist/testing/index.js +116 -125
  377. package/dist/testing/index.js.map +1 -1
  378. package/dist/testing/index.mjs +110 -82
  379. package/dist/testing/index.mjs.map +1 -1
  380. package/dist/types/access-lists.d.mts +5 -0
  381. package/dist/types/alliance.d.mts +7 -0
  382. package/dist/types/api-responses.d.mts +40 -0
  383. package/dist/types/assets.d.mts +6 -0
  384. package/dist/types/branded.d.mts +23 -0
  385. package/dist/types/calendar.d.mts +6 -0
  386. package/dist/types/character.d.mts +17 -0
  387. package/dist/types/clones.d.mts +4 -0
  388. package/dist/types/common.d.mts +19 -0
  389. package/dist/types/contacts.d.mts +5 -0
  390. package/dist/types/contracts.d.mts +9 -0
  391. package/dist/types/contracts.d.ts +4 -1
  392. package/dist/types/contracts.d.ts.map +1 -1
  393. package/dist/types/corporation-projects.d.mts +10 -0
  394. package/dist/types/corporation-projects.d.ts +5 -1
  395. package/dist/types/corporation-projects.d.ts.map +1 -1
  396. package/dist/types/corporation.d.mts +19 -0
  397. package/dist/types/cosmetics.d.mts +8 -0
  398. package/dist/types/dogma.d.mts +6 -0
  399. package/dist/types/faction-warfare.d.mts +17 -0
  400. package/dist/types/faction-warfare.d.ts +9 -1
  401. package/dist/types/faction-warfare.d.ts.map +1 -1
  402. package/dist/types/fittings.d.mts +4 -0
  403. package/dist/types/fleet.d.mts +7 -0
  404. package/dist/types/freelance-jobs.d.mts +12 -0
  405. package/dist/types/freelance-jobs.d.ts +2 -1
  406. package/dist/types/freelance-jobs.d.ts.map +1 -1
  407. package/dist/types/generated/esi-spec.generated.d.mts +2136 -0
  408. package/dist/types/generated/esi-spec.generated.d.ts +164 -16
  409. package/dist/types/generated/esi-spec.generated.d.ts.map +1 -1
  410. package/dist/types/generated/spec-alignment.check.d.ts +2 -2
  411. package/dist/types/incursions.d.mts +4 -0
  412. package/dist/types/industry.d.mts +11 -0
  413. package/dist/types/industry.d.ts +2 -1
  414. package/dist/types/industry.d.ts.map +1 -1
  415. package/dist/types/insurance.d.mts +4 -0
  416. package/dist/types/killmails.d.mts +5 -0
  417. package/dist/types/location.d.mts +6 -0
  418. package/dist/types/loyalty.d.mts +5 -0
  419. package/dist/types/mail.d.mts +6 -0
  420. package/dist/types/mail.d.ts +2 -1
  421. package/dist/types/mail.d.ts.map +1 -1
  422. package/dist/types/market.d.mts +12 -0
  423. package/dist/types/mercenary.d.mts +7 -0
  424. package/dist/types/meta.d.mts +9 -0
  425. package/dist/types/meta.d.ts +2 -1
  426. package/dist/types/meta.d.ts.map +1 -1
  427. package/dist/types/military-campaigns.d.mts +6 -0
  428. package/dist/types/paragon-hub.d.mts +8 -0
  429. package/dist/types/pi.d.mts +6 -0
  430. package/dist/types/skills.d.mts +5 -0
  431. package/dist/types/skyhooks.d.mts +8 -0
  432. package/dist/types/sovereignty.d.mts +6 -0
  433. package/dist/types/status.d.mts +4 -0
  434. package/dist/types/universe.d.mts +27 -0
  435. package/dist/types/wallet.d.mts +6 -0
  436. package/dist/types/wallet.d.ts +2 -1
  437. package/dist/types/wallet.d.ts.map +1 -1
  438. package/dist/types/wars.d.mts +4 -0
  439. package/package.json +137 -46
@@ -1,2068 +1,213 @@
1
- // src/schemas/esiEnum.ts
2
- import { z } from "zod";
3
- function esiEnum(values) {
4
- return z.union([
5
- z.enum(values),
6
- z.string()
7
- ]);
8
- }
9
-
10
- // src/schemas/common.ts
11
- import { z as z2 } from "zod";
12
- var StandingSchema = z2.looseObject({
13
- from_id: z2.number(),
14
- from_type: esiEnum(["agent", "npc_corp", "faction"]),
15
- standing: z2.number()
16
- });
17
- var RateLimitMetaSchema = z2.object({
18
- remaining: z2.number(),
19
- limit: z2.number(),
20
- used: z2.number(),
21
- group: z2.string().nullable()
22
- });
23
- var EsiResponseMetaSchema = z2.looseObject({
24
- headers: z2.record(z2.string(), z2.string()),
25
- fromCache: z2.boolean(),
26
- stale: z2.boolean(),
27
- cacheHitType: z2.enum(["spec-ttl", "etag-304", "stale-on-error"]).optional(),
28
- warning: z2.object({
29
- code: z2.number(),
30
- message: z2.string()
31
- }).optional(),
32
- requestId: z2.string().optional(),
33
- date: z2.string().optional(),
34
- contentLanguage: z2.string().optional(),
35
- rateLimit: RateLimitMetaSchema.optional(),
36
- responseTimeMs: z2.number().optional(),
37
- etag: z2.string().optional(),
38
- pages: z2.number().optional(),
39
- expires: z2.string().optional(),
40
- errorLimitRemain: z2.number().optional(),
41
- errorLimitReset: z2.number().optional()
42
- });
43
- function esiResponse(dataSchema) {
44
- return z2.object({
45
- data: dataSchema,
46
- meta: EsiResponseMetaSchema
47
- });
48
- }
49
-
50
- // src/schemas/access-lists.ts
51
- import { z as z3 } from "zod";
52
- var AccessListEntrySchema = z3.looseObject({
53
- entity_id: z3.number(),
54
- entity_type: esiEnum(["character", "corporation", "alliance"]),
55
- access_type: esiEnum(["allowed", "blocked"])
56
- });
57
- var AccessListSchema = z3.looseObject({
58
- access_list_id: z3.number(),
59
- name: z3.string(),
60
- entries: z3.array(AccessListEntrySchema)
61
- });
62
-
63
- // src/schemas/alliance.ts
64
- import { z as z4 } from "zod";
65
- var AllianceInfoSchema = z4.looseObject({
66
- alliance_id: z4.number().optional(),
67
- name: z4.string(),
68
- ticker: z4.string(),
69
- creator_id: z4.number(),
70
- creator_corporation_id: z4.number(),
71
- executor_corporation_id: z4.number().optional(),
72
- date_founded: z4.string(),
73
- faction_id: z4.number().optional()
74
- });
75
- var AllianceContactSchema = z4.looseObject({
76
- contact_id: z4.number(),
77
- contact_type: esiEnum(["character", "corporation", "alliance"]),
78
- standing: z4.number(),
79
- label_ids: z4.array(z4.number()).optional()
80
- });
81
- var AllianceContactLabelSchema = z4.looseObject({
82
- label_id: z4.number(),
83
- label_name: z4.string()
84
- });
85
- var AllianceIconSchema = z4.looseObject({
86
- px64x64: z4.string().optional(),
87
- px128x128: z4.string().optional()
88
- });
89
-
90
- // src/schemas/assets.ts
91
- import { z as z5 } from "zod";
92
- var CharacterAssetSchema = z5.looseObject({
93
- item_id: z5.number(),
94
- type_id: z5.number(),
95
- quantity: z5.number(),
96
- location_id: z5.number(),
97
- location_type: esiEnum(["station", "solar_system", "item", "other"]),
98
- location_flag: z5.string(),
99
- is_singleton: z5.boolean(),
100
- is_blueprint_copy: z5.boolean().optional()
101
- });
102
- var AssetLocationSchema = z5.looseObject({
103
- item_id: z5.number(),
104
- position: z5.looseObject({
105
- x: z5.number(),
106
- y: z5.number(),
107
- z: z5.number()
108
- })
109
- });
110
- var AssetNameSchema = z5.looseObject({
111
- item_id: z5.number(),
112
- name: z5.string()
113
- });
114
-
115
- // src/schemas/calendar.ts
116
- import { z as z6 } from "zod";
117
- var CalendarEventSchema = z6.looseObject({
118
- event_id: z6.number(),
119
- event_date: z6.string(),
120
- title: z6.string(),
121
- importance: z6.number(),
122
- event_response: esiEnum([
123
- "declined",
124
- "not_responded",
125
- "accepted",
126
- "tentative"
127
- ])
128
- });
129
- var CalendarEventDetailSchema = z6.looseObject({
130
- event_id: z6.number(),
131
- date: z6.string(),
132
- title: z6.string(),
133
- text: z6.string(),
134
- owner_id: z6.number(),
135
- owner_name: z6.string(),
136
- owner_type: esiEnum([
137
- "eve_server",
138
- "corporation",
139
- "faction",
140
- "character",
141
- "alliance"
142
- ]),
143
- duration: z6.number(),
144
- importance: z6.number(),
145
- response: z6.string()
146
- });
147
- var CalendarEventAttendeeSchema = z6.looseObject({
148
- character_id: z6.number(),
149
- event_response: esiEnum([
150
- "declined",
151
- "not_responded",
152
- "accepted",
153
- "tentative"
154
- ])
155
- });
156
-
157
- // src/schemas/character.ts
158
- import { z as z7 } from "zod";
159
- var CharacterInfoSchema = z7.looseObject({
160
- character_id: z7.number().optional(),
161
- name: z7.string(),
162
- description: z7.string().optional(),
163
- corporation_id: z7.number(),
164
- alliance_id: z7.number().optional(),
165
- faction_id: z7.number().optional(),
166
- ancestry_id: z7.number().optional(),
167
- bloodline_id: z7.number(),
168
- race_id: z7.number(),
169
- gender: esiEnum(["male", "female"]),
170
- security_status: z7.number().optional(),
171
- title: z7.string().optional(),
172
- birthday: z7.string()
173
- });
174
- var CharacterPortraitSchema = z7.looseObject({
175
- px64x64: z7.string().optional(),
176
- px128x128: z7.string().optional(),
177
- px256x256: z7.string().optional(),
178
- px512x512: z7.string().optional()
179
- });
180
- var CharacterAttributesSchema = z7.looseObject({
181
- charisma: z7.number(),
182
- intelligence: z7.number(),
183
- memory: z7.number(),
184
- perception: z7.number(),
185
- willpower: z7.number(),
186
- bonus_remaps: z7.number().optional(),
187
- last_remap_date: z7.string().optional(),
188
- accrued_remap_cooldown_date: z7.string().optional()
189
- });
190
- var AgentResearchSchema = z7.looseObject({
191
- agent_id: z7.number(),
192
- skill_type_id: z7.number(),
193
- started_at: z7.string(),
194
- points_per_day: z7.number(),
195
- remainder_points: z7.number()
196
- });
197
- var BlueprintSchema = z7.looseObject({
198
- item_id: z7.number(),
199
- type_id: z7.number(),
200
- location_id: z7.number(),
201
- location_flag: z7.string(),
202
- quantity: z7.number(),
203
- time_efficiency: z7.number(),
204
- material_efficiency: z7.number(),
205
- runs: z7.number()
206
- });
207
- var CorporationHistorySchema = z7.looseObject({
208
- corporation_id: z7.number(),
209
- record_id: z7.number(),
210
- start_date: z7.string(),
211
- is_deleted: z7.boolean().optional()
212
- });
213
- var JumpFatigueSchema = z7.looseObject({
214
- jump_fatigue_expire_date: z7.string().optional(),
215
- last_jump_date: z7.string().optional(),
216
- last_update_date: z7.string().optional()
217
- });
218
- var MedalSchema = z7.looseObject({
219
- medal_id: z7.number(),
220
- title: z7.string(),
221
- description: z7.string(),
222
- date: z7.string(),
223
- issuer_id: z7.number(),
224
- corporation_id: z7.number(),
225
- reason: z7.string(),
226
- status: esiEnum(["private", "public"]),
227
- graphics: z7.array(
228
- z7.looseObject({
229
- part: z7.number(),
230
- layer: z7.number(),
231
- graphic: z7.string(),
232
- color: z7.number().optional()
233
- })
234
- )
235
- });
236
- var NotificationSchema = z7.looseObject({
237
- notification_id: z7.number(),
238
- type: z7.string(),
239
- sender_id: z7.number(),
240
- sender_type: esiEnum([
241
- "character",
242
- "corporation",
243
- "alliance",
244
- "faction",
245
- "other"
246
- ]),
247
- timestamp: z7.string(),
248
- text: z7.string().optional(),
249
- is_read: z7.boolean().optional()
250
- });
251
- var CharacterTitleSchema = z7.looseObject({
252
- title_id: z7.number(),
253
- name: z7.string()
254
- });
255
- var CharacterAffiliationSchema = z7.looseObject({
256
- character_id: z7.number(),
257
- corporation_id: z7.number(),
258
- alliance_id: z7.number().optional(),
259
- faction_id: z7.number().optional()
260
- });
261
- var ContactNotificationSchema = z7.looseObject({
262
- notification_id: z7.number(),
263
- sender_character_id: z7.number(),
264
- message: z7.string(),
265
- send_date: z7.string(),
266
- standing_level: z7.number()
267
- });
268
- var CharacterRoleSchema = z7.looseObject({
269
- roles: z7.array(z7.string()).optional(),
270
- roles_at_hq: z7.array(z7.string()).optional(),
271
- roles_at_base: z7.array(z7.string()).optional(),
272
- roles_at_other: z7.array(z7.string()).optional()
273
- });
274
-
275
- // src/schemas/clones.ts
276
- import { z as z8 } from "zod";
277
- var CloneInfoSchema = z8.looseObject({
278
- home_location: z8.looseObject({
279
- location_id: z8.number(),
280
- location_type: esiEnum(["station", "structure"])
281
- }).optional(),
282
- jump_clones: z8.array(
283
- z8.looseObject({
284
- jump_clone_id: z8.number(),
285
- location_id: z8.number(),
286
- location_type: esiEnum(["station", "structure"]),
287
- implants: z8.array(z8.number()),
288
- name: z8.string().optional()
289
- })
290
- ),
291
- last_clone_jump_date: z8.string().optional(),
292
- last_station_change_date: z8.string().optional()
293
- });
294
-
295
- // src/schemas/contacts.ts
296
- import { z as z9 } from "zod";
297
- var ContactSchema = z9.looseObject({
298
- contact_id: z9.number(),
299
- contact_type: esiEnum(["character", "corporation", "alliance", "faction"]),
300
- standing: z9.number(),
301
- label_ids: z9.array(z9.number()).optional(),
302
- is_blocked: z9.boolean().optional(),
303
- is_watched: z9.boolean().optional()
304
- });
305
- var ContactLabelSchema = z9.looseObject({
306
- label_id: z9.number(),
307
- label_name: z9.string()
308
- });
309
-
310
- // src/schemas/contracts.ts
311
- import { z as z10 } from "zod";
312
- var ContractSchema = z10.looseObject({
313
- contract_id: z10.number(),
314
- issuer_id: z10.number(),
315
- issuer_corporation_id: z10.number(),
316
- assignee_id: z10.number().optional(),
317
- acceptor_id: z10.number().optional(),
318
- start_location_id: z10.number().optional(),
319
- end_location_id: z10.number().optional(),
320
- type: esiEnum(["unknown", "item_exchange", "auction", "courier", "loan"]),
321
- status: esiEnum([
322
- "outstanding",
323
- "in_progress",
324
- "finished_issuer",
325
- "finished_contractor",
326
- "finished",
327
- "cancelled",
328
- "rejected",
329
- "failed",
330
- "deleted",
331
- "reversed"
332
- ]).optional(),
333
- title: z10.string().optional(),
334
- for_corporation: z10.boolean().optional(),
335
- availability: esiEnum([
336
- "public",
337
- "personal",
338
- "corporation",
339
- "alliance"
340
- ]).optional(),
341
- date_issued: z10.string(),
342
- date_expired: z10.string(),
343
- date_accepted: z10.string().optional(),
344
- date_completed: z10.string().optional(),
345
- days_to_complete: z10.number().optional(),
346
- price: z10.number().optional(),
347
- reward: z10.number().optional(),
348
- collateral: z10.number().optional(),
349
- buyout: z10.number().optional(),
350
- volume: z10.number().optional()
351
- });
352
- var ContractItemSchema = z10.looseObject({
353
- record_id: z10.number(),
354
- type_id: z10.number(),
355
- quantity: z10.number(),
356
- raw_quantity: z10.number().optional(),
357
- is_singleton: z10.boolean(),
358
- is_blueprint_copy: z10.boolean().optional(),
359
- is_included: z10.boolean()
360
- });
361
- var ContractBidSchema = z10.looseObject({
362
- bid_id: z10.number(),
363
- bidder_id: z10.number(),
364
- date_bid: z10.string(),
365
- amount: z10.number()
366
- });
367
-
368
- // src/schemas/cosmetics.ts
369
- import { z as z11 } from "zod";
370
- var SkinrLicenseSchema = z11.looseObject({
371
- skinr_id: z11.string(),
372
- activated: z11.boolean(),
373
- unactivated: z11.number()
374
- });
375
- var CharacterSkinrSchema = z11.looseObject({
376
- licenses: z11.array(SkinrLicenseSchema)
377
- });
378
- var SkinrComponentRunsSchema = z11.looseObject({
379
- remaining: z11.number().optional(),
380
- unlimited: z11.boolean().optional()
381
- });
382
- var SkinrComponentLicenseSchema = z11.looseObject({
383
- component_id: z11.number(),
384
- type: esiEnum(["nanocoating", "pattern"]),
385
- runs: SkinrComponentRunsSchema
386
- });
387
- var CharacterSkinrComponentsSchema = z11.looseObject({
388
- licenses: z11.array(SkinrComponentLicenseSchema)
389
- });
390
- var SkinrTierSchema = z11.looseObject({
391
- level: z11.number()
392
- });
393
- var SkinrLayoutSlotSchema = z11.looseObject({});
394
- var SkinrLayoutSchema = z11.looseObject({
395
- slots: z11.array(SkinrLayoutSlotSchema),
396
- pattern_blend_mode: esiEnum([
397
- "normal",
398
- "subtract",
399
- "exclusion",
400
- "nested",
401
- "nested_inverted"
402
- ])
403
- });
404
- var SkinrSchema = z11.looseObject({
405
- id: z11.string(),
406
- name: z11.string(),
407
- creator_id: z11.number(),
408
- ship_type_id: z11.number(),
409
- line: z11.string().optional(),
410
- tier: SkinrTierSchema,
411
- layout: SkinrLayoutSchema
412
- });
413
-
414
- // src/schemas/corporation.ts
415
- import { z as z12 } from "zod";
416
- var CorporationInfoSchema = z12.looseObject({
417
- corporation_id: z12.number().optional(),
418
- name: z12.string(),
419
- ticker: z12.string(),
420
- description: z12.string().optional(),
421
- url: z12.string().optional(),
422
- alliance_id: z12.number().optional(),
423
- ceo_id: z12.number(),
424
- creator_id: z12.number(),
425
- date_founded: z12.string().optional(),
426
- faction_id: z12.number().optional(),
427
- home_station_id: z12.number().optional(),
428
- member_count: z12.number(),
429
- shares: z12.number().optional(),
430
- tax_rate: z12.number(),
431
- war_eligible: z12.boolean().optional()
432
- });
433
- var CorporationAllianceHistorySchema = z12.looseObject({
434
- alliance_id: z12.number().optional(),
435
- is_deleted: z12.boolean().optional(),
436
- record_id: z12.number(),
437
- start_date: z12.string()
438
- });
439
- var CorporationMedalSchema = z12.looseObject({
440
- medal_id: z12.number(),
441
- title: z12.string(),
442
- description: z12.string(),
443
- creator_id: z12.number(),
444
- date: z12.string()
445
- });
446
- var CorporationStarbaseSchema = z12.looseObject({
447
- starbase_id: z12.number(),
448
- type_id: z12.number(),
449
- system_id: z12.number(),
450
- state: esiEnum([
451
- "offline",
452
- "online",
453
- "onlining",
454
- "reinforced",
455
- "unanchoring"
456
- ]),
457
- moon_id: z12.number().optional(),
458
- onlined_since: z12.string().optional(),
459
- reinforced_until: z12.string().optional(),
460
- unanchor_at: z12.string().optional()
461
- });
462
- var CorporationDivisionsSchema = z12.looseObject({
463
- hangar: z12.array(
464
- z12.looseObject({
465
- division: z12.number(),
466
- name: z12.string().optional()
467
- })
468
- ).optional(),
469
- wallet: z12.array(
470
- z12.looseObject({
471
- division: z12.number(),
472
- name: z12.string().optional()
473
- })
474
- ).optional()
475
- });
476
- var CorporationFacilitySchema = z12.looseObject({
477
- facility_id: z12.number(),
478
- type_id: z12.number(),
479
- system_id: z12.number()
480
- });
481
- var CorporationIssuedMedalSchema = z12.looseObject({
482
- medal_id: z12.number(),
483
- title: z12.string(),
484
- description: z12.string(),
485
- character_id: z12.number(),
486
- issued_at: z12.string(),
487
- issuer_id: z12.number(),
488
- reason: z12.string(),
489
- status: esiEnum(["private", "public"])
490
- });
491
- var CorporationMemberTitleSchema = z12.looseObject({
492
- character_id: z12.number(),
493
- titles: z12.array(z12.number())
494
- });
495
- var CorporationMemberTrackingSchema = z12.looseObject({
496
- character_id: z12.number(),
497
- start_date: z12.string(),
498
- base_id: z12.number().optional(),
499
- location_id: z12.number().optional(),
500
- logoff_date: z12.string().optional(),
501
- logon_date: z12.string().optional(),
502
- online: z12.boolean().optional(),
503
- ship_type_id: z12.number().optional()
504
- });
505
- var CorporationMemberRoleSchema = z12.looseObject({
506
- character_id: z12.number(),
507
- roles: z12.array(z12.string()).optional(),
508
- grantable_roles: z12.array(z12.string()).optional(),
509
- roles_at_hq: z12.array(z12.string()).optional(),
510
- grantable_roles_at_hq: z12.array(z12.string()).optional(),
511
- roles_at_base: z12.array(z12.string()).optional(),
512
- grantable_roles_at_base: z12.array(z12.string()).optional(),
513
- roles_at_other: z12.array(z12.string()).optional(),
514
- grantable_roles_at_other: z12.array(z12.string()).optional()
515
- });
516
- var CorporationRoleHistorySchema = z12.looseObject({
517
- character_id: z12.number(),
518
- changed_at: z12.string(),
519
- issuer_id: z12.number(),
520
- role_type: z12.string(),
521
- before: z12.array(z12.string()),
522
- after: z12.array(z12.string())
523
- });
524
- var CorporationShareholderSchema = z12.looseObject({
525
- shareholder_id: z12.number(),
526
- shareholder_type: esiEnum(["character", "corporation"]),
527
- share_count: z12.number()
528
- });
529
- var CorporationStarbaseDetailSchema = z12.looseObject({
530
- state: esiEnum([
531
- "offline",
532
- "online",
533
- "onlining",
534
- "reinforced",
535
- "unanchoring"
536
- ]),
537
- fuels: z12.array(
538
- z12.looseObject({
539
- type_id: z12.number(),
540
- quantity: z12.number()
541
- })
542
- ).optional(),
543
- allow_alliance_members: z12.boolean().optional(),
544
- allow_corporation_members: z12.boolean().optional(),
545
- anchor: z12.string().optional(),
546
- attack_if_at_war: z12.boolean().optional(),
547
- attack_if_other_security_status_dropping: z12.boolean().optional(),
548
- attack_security_status_threshold: z12.number().optional(),
549
- attack_standing_threshold: z12.number().optional(),
550
- fuel_bay_take: z12.string().optional(),
551
- fuel_bay_view: z12.string().optional(),
552
- offline: z12.string().optional(),
553
- online: z12.string().optional(),
554
- unanchor: z12.string().optional(),
555
- use_alliance_standings: z12.boolean().optional()
556
- });
557
- var CorporationStructureSchema = z12.looseObject({
558
- structure_id: z12.number(),
559
- corporation_id: z12.number(),
560
- type_id: z12.number(),
561
- system_id: z12.number(),
562
- profile_id: z12.number(),
563
- services: z12.array(
564
- z12.looseObject({
565
- name: z12.string(),
566
- state: esiEnum(["online", "offline", "cleanup"])
567
- })
568
- ).optional(),
569
- fuel_expires: z12.string().optional(),
570
- name: z12.string().optional(),
571
- state: z12.string(),
572
- state_timer_start: z12.string().optional(),
573
- state_timer_end: z12.string().optional(),
574
- unanchors_at: z12.string().optional(),
575
- reinforce_hour: z12.number().optional(),
576
- next_reinforce_hour: z12.number().optional(),
577
- next_reinforce_apply: z12.string().optional()
578
- });
579
- var CorporationTitleSchema = z12.looseObject({
580
- title_id: z12.number(),
581
- name: z12.string().optional(),
582
- roles: z12.array(z12.string()).optional(),
583
- grantable_roles: z12.array(z12.string()).optional(),
584
- roles_at_hq: z12.array(z12.string()).optional(),
585
- grantable_roles_at_hq: z12.array(z12.string()).optional(),
586
- roles_at_base: z12.array(z12.string()).optional(),
587
- grantable_roles_at_base: z12.array(z12.string()).optional(),
588
- roles_at_other: z12.array(z12.string()).optional(),
589
- grantable_roles_at_other: z12.array(z12.string()).optional()
590
- });
591
- var CorporationIconSchema = z12.looseObject({
592
- px64x64: z12.string().optional(),
593
- px128x128: z12.string().optional(),
594
- px256x256: z12.string().optional()
595
- });
596
- var CorporationWalletDivisionSchema = z12.looseObject({
597
- division: z12.number(),
598
- balance: z12.number()
599
- });
600
- var ContainerLogSchema = z12.looseObject({
601
- logged_at: z12.string(),
602
- container_id: z12.number(),
603
- container_type_id: z12.number(),
604
- character_id: z12.number(),
605
- location_id: z12.number(),
606
- location_flag: z12.string(),
607
- action: z12.string(),
608
- password_type: esiEnum(["config", "general"]).optional(),
609
- type_id: z12.number().optional(),
610
- quantity: z12.number().optional(),
611
- old_config_bitmask: z12.number().optional(),
612
- new_config_bitmask: z12.number().optional()
613
- });
614
-
615
- // src/schemas/corporation-projects.ts
616
- import { z as z13 } from "zod";
617
- var CorporationProjectSchema = z13.looseObject({
618
- project_id: z13.number(),
619
- state: z13.string(),
620
- progress: z13.number(),
621
- start_time: z13.string(),
622
- finish_time: z13.string().optional()
623
- });
624
- var CorporationProjectContributionSchema = z13.looseObject({
625
- character_id: z13.number(),
626
- contribution: z13.number()
627
- });
628
- var CorporationProjectContributorSchema = z13.looseObject({
629
- character_id: z13.number(),
630
- contribution: z13.number()
631
- });
632
-
633
- // src/schemas/dogma.ts
634
- import { z as z14 } from "zod";
635
- var DogmaAttributeSchema = z14.looseObject({
636
- attribute_id: z14.number(),
637
- name: z14.string(),
638
- description: z14.string().optional(),
639
- icon_id: z14.number().optional(),
640
- default_value: z14.number().optional(),
641
- published: z14.boolean().optional(),
642
- display_name: z14.string().optional(),
643
- unit_id: z14.number().optional(),
644
- stackable: z14.boolean().optional(),
645
- high_is_good: z14.boolean().optional()
646
- });
647
- var DogmaEffectSchema = z14.looseObject({
648
- effect_id: z14.number(),
649
- name: z14.string(),
650
- description: z14.string().optional(),
651
- icon_id: z14.number().optional(),
652
- display_name: z14.string().optional(),
653
- published: z14.boolean().optional(),
654
- effect_category: z14.number().optional(),
655
- is_assistance: z14.boolean().optional(),
656
- is_offensive: z14.boolean().optional(),
657
- is_warp_safe: z14.boolean().optional(),
658
- disallow_auto_repeat: z14.boolean().optional(),
659
- discharge_attribute_id: z14.number().optional(),
660
- duration_attribute_id: z14.number().optional(),
661
- electronic_chance: z14.boolean().optional(),
662
- falloff_attribute_id: z14.number().optional(),
663
- modifiers: z14.array(
664
- z14.looseObject({
665
- domain: z14.string().optional(),
666
- effect_id: z14.number().optional(),
667
- func: z14.string(),
668
- modified_attribute_id: z14.number().optional(),
669
- modifying_attribute_id: z14.number().optional(),
670
- operator: z14.number().optional()
671
- })
672
- ).optional(),
673
- post_expression: z14.number().optional(),
674
- pre_expression: z14.number().optional(),
675
- range_attribute_id: z14.number().optional(),
676
- range_chance: z14.boolean().optional(),
677
- tracking_speed_attribute_id: z14.number().optional()
678
- });
679
- var DogmaDynamicItemSchema = z14.looseObject({
680
- created_by: z14.number(),
681
- dogma_attributes: z14.array(
682
- z14.looseObject({
683
- attribute_id: z14.number(),
684
- value: z14.number()
685
- })
686
- ),
687
- dogma_effects: z14.array(
688
- z14.looseObject({
689
- effect_id: z14.number(),
690
- is_default: z14.boolean()
691
- })
692
- ),
693
- mutator_type_id: z14.number(),
694
- source_type_id: z14.number()
695
- });
696
-
697
- // src/schemas/faction-warfare.ts
698
- import { z as z15 } from "zod";
699
- var FactionWarfareStatsSchema = z15.looseObject({
700
- faction_id: z15.number(),
701
- pilots: z15.number(),
702
- systems_controlled: z15.number(),
703
- kills: z15.looseObject({
704
- yesterday: z15.number(),
705
- last_week: z15.number(),
706
- total: z15.number()
707
- }),
708
- victory_points: z15.looseObject({
709
- yesterday: z15.number(),
710
- last_week: z15.number(),
711
- total: z15.number()
712
- })
713
- });
714
- var FactionWarfareCharacterStatsSchema = z15.looseObject({
715
- faction_id: z15.number().optional(),
716
- enlisted_on: z15.string().optional(),
717
- current_rank: z15.number().optional(),
718
- highest_rank: z15.number().optional(),
719
- kills: z15.looseObject({
720
- yesterday: z15.number(),
721
- last_week: z15.number(),
722
- total: z15.number()
723
- }),
724
- victory_points: z15.looseObject({
725
- yesterday: z15.number(),
726
- last_week: z15.number(),
727
- total: z15.number()
728
- })
729
- });
730
- var FactionWarfareSystemSchema = z15.looseObject({
731
- solar_system_id: z15.number(),
732
- owner_faction_id: z15.number(),
733
- occupier_faction_id: z15.number(),
734
- contested: esiEnum(["captured", "contested", "uncontested", "vulnerable"]),
735
- victory_points: z15.number(),
736
- victory_points_threshold: z15.number()
737
- });
738
- var FactionWarfareWarSchema = z15.looseObject({
739
- faction_id: z15.number(),
740
- against_id: z15.number()
741
- });
742
- var FactionWarfareLeaderboardSchema = z15.looseObject({
743
- kills: z15.looseObject({
744
- yesterday: z15.array(
745
- z15.looseObject({
746
- amount: z15.number(),
747
- id: z15.number().optional()
748
- })
749
- ),
750
- last_week: z15.array(
751
- z15.looseObject({
752
- amount: z15.number(),
753
- id: z15.number().optional()
754
- })
755
- ),
756
- active_total: z15.array(
757
- z15.looseObject({
758
- amount: z15.number(),
759
- id: z15.number().optional()
760
- })
761
- )
762
- }),
763
- victory_points: z15.looseObject({
764
- yesterday: z15.array(
765
- z15.looseObject({
766
- amount: z15.number(),
767
- id: z15.number().optional()
768
- })
769
- ),
770
- last_week: z15.array(
771
- z15.looseObject({
772
- amount: z15.number(),
773
- id: z15.number().optional()
774
- })
775
- ),
776
- active_total: z15.array(
777
- z15.looseObject({
778
- amount: z15.number(),
779
- id: z15.number().optional()
780
- })
781
- )
782
- })
783
- });
784
- var FactionWarfareCorporationStatsSchema = z15.looseObject({
785
- faction_id: z15.number().optional(),
786
- enlisted_on: z15.string().optional(),
787
- pilots: z15.number().optional(),
788
- kills: z15.looseObject({
789
- yesterday: z15.number(),
790
- last_week: z15.number(),
791
- total: z15.number()
792
- }),
793
- victory_points: z15.looseObject({
794
- yesterday: z15.number(),
795
- last_week: z15.number(),
796
- total: z15.number()
797
- })
798
- });
799
-
800
- // src/schemas/fittings.ts
801
- import { z as z16 } from "zod";
802
- var FittingSchema = z16.looseObject({
803
- fitting_id: z16.number(),
804
- name: z16.string(),
805
- description: z16.string(),
806
- ship_type_id: z16.number(),
807
- items: z16.array(
808
- z16.looseObject({
809
- type_id: z16.number(),
810
- flag: z16.union([z16.number(), z16.string()]),
811
- quantity: z16.number()
812
- })
813
- )
814
- });
815
-
816
- // src/schemas/fleet.ts
817
- import { z as z17 } from "zod";
818
- var FleetInfoSchema = z17.looseObject({
819
- fleet_id: z17.number().optional(),
820
- fleet_boss_id: z17.number().optional(),
821
- is_free_move: z17.boolean(),
822
- is_registered: z17.boolean(),
823
- is_voice_enabled: z17.boolean(),
824
- motd: z17.string()
825
- });
826
- var FleetMemberSchema = z17.looseObject({
827
- character_id: z17.number(),
828
- ship_type_id: z17.number(),
829
- wing_id: z17.number(),
830
- squad_id: z17.number(),
831
- role: esiEnum([
832
- "fleet_commander",
833
- "wing_commander",
834
- "squad_commander",
835
- "squad_member"
836
- ]),
837
- role_name: z17.string(),
838
- join_time: z17.string(),
839
- takes_fleet_warp: z17.boolean(),
840
- solar_system_id: z17.number(),
841
- station_id: z17.number().optional()
842
- });
843
- var FleetWingSchema = z17.looseObject({
844
- id: z17.number(),
845
- name: z17.string(),
846
- squads: z17.array(
847
- z17.looseObject({
848
- id: z17.number(),
849
- name: z17.string()
850
- })
851
- )
852
- });
853
- var CharacterFleetInfoSchema = z17.looseObject({
854
- fleet_id: z17.number(),
855
- fleet_boss_id: z17.number().optional(),
856
- role: esiEnum([
857
- "fleet_commander",
858
- "wing_commander",
859
- "squad_commander",
860
- "squad_member"
861
- ]),
862
- squad_id: z17.number(),
863
- wing_id: z17.number()
864
- });
865
-
866
- // src/schemas/freelance-jobs.ts
867
- import { z as z18 } from "zod";
868
- var EsiCursorSchema = z18.looseObject({
869
- before: z18.string().nullable(),
870
- after: z18.string().nullable()
871
- });
872
- var FreelanceJobSummarySchema = z18.looseObject({
873
- id: z18.string(),
874
- name: z18.string(),
875
- state: z18.string(),
876
- last_modified: z18.string(),
877
- progress: z18.looseObject({
878
- current: z18.number(),
879
- desired: z18.number()
880
- }),
881
- reward: z18.looseObject({
882
- initial: z18.number(),
883
- remaining: z18.number()
884
- }).optional()
885
- });
886
- var FreelanceJobsListingSchema = z18.looseObject({
887
- cursor: EsiCursorSchema.optional(),
888
- freelance_jobs: z18.array(FreelanceJobSummarySchema)
889
- });
890
- var FreelanceJobDetailSchema = z18.looseObject({
891
- id: z18.string(),
892
- name: z18.string(),
893
- state: z18.string(),
894
- last_modified: z18.string(),
895
- progress: z18.looseObject({
896
- current: z18.number(),
897
- desired: z18.number()
898
- }),
899
- reward: z18.looseObject({
900
- initial: z18.number(),
901
- remaining: z18.number()
902
- }).optional(),
903
- details: z18.looseObject({
904
- description: z18.string(),
905
- career: z18.string(),
906
- created: z18.string(),
907
- expires: z18.string(),
908
- creator: z18.looseObject({
909
- character: z18.looseObject({
910
- id: z18.number(),
911
- name: z18.string()
912
- }),
913
- corporation: z18.looseObject({
914
- id: z18.number(),
915
- name: z18.string()
916
- })
917
- })
918
- }),
919
- configuration: z18.looseObject({
920
- version: z18.number(),
921
- parameters: z18.record(z18.string(), z18.unknown()),
922
- method: z18.string()
923
- }),
924
- contribution: z18.looseObject({
925
- max_committed_participants: z18.number(),
926
- reward_per_contribution: z18.number().optional(),
927
- submission_multiplier: z18.number().optional()
928
- }),
929
- access_and_visibility: z18.looseObject({
930
- acl_protected: z18.boolean(),
931
- broadcast_locations: z18.array(
932
- z18.looseObject({
933
- id: z18.number(),
934
- name: z18.string()
935
- })
936
- )
937
- })
938
- });
939
- var CharacterFreelanceJobsListingSchema = z18.looseObject({
940
- cursor: EsiCursorSchema.optional(),
941
- freelance_jobs: z18.array(FreelanceJobSummarySchema)
942
- });
943
- var FreelanceJobParticipationSchema = z18.looseObject({
944
- job_id: z18.string(),
945
- character_id: z18.number(),
946
- status: z18.string(),
947
- contributions: z18.number(),
948
- last_contribution: z18.string().optional()
949
- });
950
- var CorporationFreelanceJobsListingSchema = z18.looseObject({
951
- cursor: EsiCursorSchema.optional(),
952
- freelance_jobs: z18.array(FreelanceJobSummarySchema)
953
- });
954
- var FreelanceJobParticipantSchema = z18.looseObject({
955
- character_id: z18.number(),
956
- corporation_id: z18.number(),
957
- status: z18.string(),
958
- contributions: z18.number(),
959
- last_contribution: z18.string().optional()
960
- });
961
-
962
- // src/schemas/incursions.ts
963
- import { z as z19 } from "zod";
964
- var IncursionSchema = z19.looseObject({
965
- type: z19.string(),
966
- state: esiEnum(["withdrawing", "mobilizing", "established"]),
967
- staging_solar_system_id: z19.number(),
968
- constellation_id: z19.number(),
969
- infested_solar_systems: z19.array(z19.number()),
970
- has_boss: z19.boolean(),
971
- faction_id: z19.number(),
972
- influence: z19.number()
973
- });
974
-
975
- // src/schemas/industry.ts
976
- import { z as z20 } from "zod";
977
- var IndustryJobSchema = z20.looseObject({
978
- job_id: z20.number(),
979
- installer_id: z20.number(),
980
- facility_id: z20.number(),
981
- station_id: z20.number(),
982
- activity_id: z20.number(),
983
- blueprint_id: z20.number(),
984
- blueprint_type_id: z20.number(),
985
- blueprint_location_id: z20.number(),
986
- output_location_id: z20.number(),
987
- runs: z20.number(),
988
- cost: z20.number().optional(),
989
- licensed_runs: z20.number().optional(),
990
- probability: z20.number().optional(),
991
- product_type_id: z20.number().optional(),
992
- status: esiEnum([
993
- "active",
994
- "cancelled",
995
- "delivered",
996
- "paused",
997
- "ready",
998
- "reverted"
999
- ]),
1000
- duration: z20.number(),
1001
- start_date: z20.string(),
1002
- end_date: z20.string(),
1003
- pause_date: z20.string().optional(),
1004
- completed_date: z20.string().optional(),
1005
- completed_character_id: z20.number().optional(),
1006
- successful_runs: z20.number().optional()
1007
- });
1008
- var MiningLedgerEntrySchema = z20.looseObject({
1009
- date: z20.string(),
1010
- solar_system_id: z20.number(),
1011
- type_id: z20.number(),
1012
- quantity: z20.number()
1013
- });
1014
- var IndustryFacilitySchema = z20.looseObject({
1015
- facility_id: z20.number(),
1016
- owner_id: z20.number(),
1017
- region_id: z20.number(),
1018
- solar_system_id: z20.number(),
1019
- tax: z20.number().optional(),
1020
- type_id: z20.number()
1021
- });
1022
- var IndustrySystemSchema = z20.looseObject({
1023
- solar_system_id: z20.number(),
1024
- cost_indices: z20.array(
1025
- z20.looseObject({
1026
- activity: z20.string(),
1027
- cost_index: z20.number()
1028
- })
1029
- )
1030
- });
1031
- var MoonExtractionTimerSchema = z20.looseObject({
1032
- structure_id: z20.number(),
1033
- moon_id: z20.number(),
1034
- extraction_start_time: z20.string(),
1035
- chunk_arrival_time: z20.string(),
1036
- natural_decay_time: z20.string()
1037
- });
1038
- var MiningObserverSchema = z20.looseObject({
1039
- observer_id: z20.number(),
1040
- observer_type: z20.string(),
1041
- last_updated: z20.string()
1042
- });
1043
- var MiningObserverEntrySchema = z20.looseObject({
1044
- character_id: z20.number(),
1045
- recorded_corporation_id: z20.number(),
1046
- type_id: z20.number(),
1047
- quantity: z20.number(),
1048
- last_updated: z20.string()
1049
- });
1050
-
1051
- // src/schemas/insurance.ts
1052
- import { z as z21 } from "zod";
1053
- var InsurancePriceSchema = z21.looseObject({
1054
- type_id: z21.number(),
1055
- levels: z21.array(
1056
- z21.looseObject({
1057
- cost: z21.number(),
1058
- payout: z21.number(),
1059
- name: z21.string()
1060
- })
1061
- )
1062
- });
1063
-
1064
- // src/schemas/killmails.ts
1065
- import { z as z22 } from "zod";
1066
- var KillmailSummarySchema = z22.looseObject({
1067
- killmail_id: z22.number(),
1068
- killmail_hash: z22.string()
1069
- });
1070
- var KillmailSchema = z22.looseObject({
1071
- killmail_id: z22.number(),
1072
- killmail_time: z22.string(),
1073
- solar_system_id: z22.number(),
1074
- moon_id: z22.number().optional(),
1075
- war_id: z22.number().optional(),
1076
- victim: z22.looseObject({
1077
- character_id: z22.number().optional(),
1078
- corporation_id: z22.number().optional(),
1079
- alliance_id: z22.number().optional(),
1080
- faction_id: z22.number().optional(),
1081
- ship_type_id: z22.number(),
1082
- damage_taken: z22.number(),
1083
- position: z22.looseObject({
1084
- x: z22.number(),
1085
- y: z22.number(),
1086
- z: z22.number()
1087
- }).optional(),
1088
- items: z22.array(z22.unknown()).optional()
1089
- }),
1090
- attackers: z22.array(
1091
- z22.looseObject({
1092
- character_id: z22.number().optional(),
1093
- corporation_id: z22.number().optional(),
1094
- alliance_id: z22.number().optional(),
1095
- faction_id: z22.number().optional(),
1096
- ship_type_id: z22.number().optional(),
1097
- weapon_type_id: z22.number().optional(),
1098
- damage_done: z22.number(),
1099
- final_blow: z22.boolean(),
1100
- security_status: z22.number()
1101
- })
1102
- )
1103
- });
1104
-
1105
- // src/schemas/location.ts
1106
- import { z as z23 } from "zod";
1107
- var CharacterLocationSchema = z23.looseObject({
1108
- solar_system_id: z23.number(),
1109
- station_id: z23.number().optional(),
1110
- structure_id: z23.number().optional()
1111
- });
1112
- var CharacterOnlineSchema = z23.looseObject({
1113
- online: z23.boolean(),
1114
- last_login: z23.string().optional(),
1115
- last_logout: z23.string().optional(),
1116
- logins: z23.number().optional()
1117
- });
1118
- var CharacterShipSchema = z23.looseObject({
1119
- ship_item_id: z23.number(),
1120
- ship_name: z23.string(),
1121
- ship_type_id: z23.number()
1122
- });
1123
-
1124
- // src/schemas/loyalty.ts
1125
- import { z as z24 } from "zod";
1126
- var LoyaltyPointsSchema = z24.looseObject({
1127
- corporation_id: z24.number(),
1128
- loyalty_points: z24.number()
1129
- });
1130
- var LoyaltyStoreOfferSchema = z24.looseObject({
1131
- offer_id: z24.number(),
1132
- type_id: z24.number(),
1133
- quantity: z24.number(),
1134
- lp_cost: z24.number(),
1135
- isk_cost: z24.number(),
1136
- ak_cost: z24.number().optional(),
1137
- required_items: z24.array(
1138
- z24.looseObject({
1139
- type_id: z24.number(),
1140
- quantity: z24.number()
1141
- })
1142
- )
1143
- });
1144
-
1145
- // src/schemas/mail.ts
1146
- import { z as z25 } from "zod";
1147
- var MailMessageSchema = z25.looseObject({
1148
- mail_id: z25.number().optional(),
1149
- subject: z25.string().optional(),
1150
- from: z25.number().optional(),
1151
- timestamp: z25.string().optional(),
1152
- labels: z25.array(z25.number()).optional(),
1153
- is_read: z25.boolean().optional(),
1154
- body: z25.string().optional(),
1155
- recipients: z25.array(
1156
- z25.looseObject({
1157
- recipient_id: z25.number(),
1158
- recipient_type: esiEnum([
1159
- "alliance",
1160
- "character",
1161
- "corporation",
1162
- "mailing_list"
1163
- ])
1164
- })
1165
- ).optional()
1166
- });
1167
- var MailLabelSchema = z25.looseObject({
1168
- label_id: z25.number(),
1169
- name: z25.string(),
1170
- color: z25.string().optional(),
1171
- unread_count: z25.number().optional()
1172
- });
1173
- var MailLabelsResponseSchema = z25.looseObject({
1174
- labels: z25.array(MailLabelSchema).optional(),
1175
- total_unread_count: z25.number().optional()
1176
- });
1177
- var MailingListSchema = z25.looseObject({
1178
- mailing_list_id: z25.number(),
1179
- name: z25.string()
1180
- });
1181
-
1182
- // src/schemas/market.ts
1183
- import { z as z26 } from "zod";
1184
- var MarketOrderSchema = z26.looseObject({
1185
- order_id: z26.number(),
1186
- type_id: z26.number(),
1187
- location_id: z26.number(),
1188
- volume_total: z26.number(),
1189
- volume_remain: z26.number(),
1190
- min_volume: z26.number(),
1191
- price: z26.number(),
1192
- is_buy_order: z26.boolean(),
1193
- system_id: z26.number(),
1194
- duration: z26.number(),
1195
- issued: z26.string(),
1196
- range: z26.string()
1197
- });
1198
- var CharacterMarketOrderSchema = z26.looseObject({
1199
- order_id: z26.number(),
1200
- type_id: z26.number(),
1201
- location_id: z26.number(),
1202
- volume_total: z26.number(),
1203
- volume_remain: z26.number(),
1204
- min_volume: z26.number().optional(),
1205
- price: z26.number(),
1206
- is_buy_order: z26.boolean().optional(),
1207
- is_corporation: z26.boolean(),
1208
- region_id: z26.number(),
1209
- duration: z26.number(),
1210
- issued: z26.string(),
1211
- range: z26.string(),
1212
- escrow: z26.number().optional()
1213
- });
1214
- var CharacterMarketOrderHistorySchema = z26.looseObject({
1215
- order_id: z26.number(),
1216
- type_id: z26.number(),
1217
- location_id: z26.number(),
1218
- volume_total: z26.number(),
1219
- volume_remain: z26.number(),
1220
- min_volume: z26.number().optional(),
1221
- price: z26.number(),
1222
- is_buy_order: z26.boolean().optional(),
1223
- is_corporation: z26.boolean(),
1224
- region_id: z26.number(),
1225
- duration: z26.number(),
1226
- issued: z26.string(),
1227
- range: z26.string(),
1228
- state: esiEnum(["cancelled", "expired"]),
1229
- escrow: z26.number().optional()
1230
- });
1231
- var CorporationMarketOrderSchema = z26.looseObject({
1232
- order_id: z26.number(),
1233
- type_id: z26.number(),
1234
- location_id: z26.number(),
1235
- volume_total: z26.number(),
1236
- volume_remain: z26.number(),
1237
- min_volume: z26.number().optional(),
1238
- price: z26.number(),
1239
- is_buy_order: z26.boolean().optional(),
1240
- issued_by: z26.number(),
1241
- region_id: z26.number(),
1242
- wallet_division: z26.number(),
1243
- duration: z26.number(),
1244
- issued: z26.string(),
1245
- range: z26.string(),
1246
- escrow: z26.number().optional()
1247
- });
1248
- var CorporationMarketOrderHistorySchema = z26.looseObject({
1249
- order_id: z26.number(),
1250
- type_id: z26.number(),
1251
- location_id: z26.number(),
1252
- volume_total: z26.number(),
1253
- volume_remain: z26.number(),
1254
- min_volume: z26.number().optional(),
1255
- price: z26.number(),
1256
- is_buy_order: z26.boolean().optional(),
1257
- issued_by: z26.number().optional(),
1258
- region_id: z26.number(),
1259
- wallet_division: z26.number(),
1260
- duration: z26.number(),
1261
- issued: z26.string(),
1262
- range: z26.string(),
1263
- state: esiEnum(["cancelled", "expired"]),
1264
- escrow: z26.number().optional()
1265
- });
1266
- var StructureMarketOrderSchema = z26.looseObject({
1267
- order_id: z26.number(),
1268
- type_id: z26.number(),
1269
- location_id: z26.number(),
1270
- volume_total: z26.number(),
1271
- volume_remain: z26.number(),
1272
- min_volume: z26.number(),
1273
- price: z26.number(),
1274
- is_buy_order: z26.boolean(),
1275
- duration: z26.number(),
1276
- issued: z26.string(),
1277
- range: z26.string()
1278
- });
1279
- var MarketHistorySchema = z26.looseObject({
1280
- date: z26.string(),
1281
- order_count: z26.number(),
1282
- volume: z26.number(),
1283
- highest: z26.number(),
1284
- average: z26.number(),
1285
- lowest: z26.number()
1286
- });
1287
- var MarketGroupSchema = z26.looseObject({
1288
- market_group_id: z26.number(),
1289
- name: z26.string(),
1290
- description: z26.string(),
1291
- types: z26.array(z26.number()),
1292
- parent_group_id: z26.number().optional()
1293
- });
1294
- var MarketPriceSchema = z26.looseObject({
1295
- type_id: z26.number(),
1296
- average_price: z26.number().optional(),
1297
- adjusted_price: z26.number().optional()
1298
- });
1299
-
1300
- // src/schemas/mercenary.ts
1301
- import { z as z27 } from "zod";
1302
- var MercenaryDenSchema = z27.looseObject({
1303
- den_id: z27.number(),
1304
- system_id: z27.number(),
1305
- constellation_id: z27.number(),
1306
- region_id: z27.number(),
1307
- development_level: z27.number().optional(),
1308
- anarchy_level: z27.number().optional(),
1309
- active_operations: z27.number().optional()
1310
- });
1311
- var MercenaryTacticalOperationSchema = z27.looseObject({
1312
- operation_id: z27.number(),
1313
- den_id: z27.number(),
1314
- system_id: z27.number(),
1315
- site_type: z27.string(),
1316
- status: esiEnum(["spawning", "active", "completed", "expired"]),
1317
- started_at: z27.string().optional(),
1318
- expires_at: z27.string().optional()
1319
- });
1320
- var MercenaryDenDetailEvolutionLevelSchema = z27.looseObject({
1321
- level: z27.number().optional(),
1322
- progress: z27.number().optional()
1323
- });
1324
- var MercenaryDenDetailEvolutionSchema = z27.looseObject({
1325
- development: MercenaryDenDetailEvolutionLevelSchema,
1326
- anarchy: MercenaryDenDetailEvolutionLevelSchema
1327
- });
1328
- var MercenaryDenDetailInfomorphsSchema = z27.looseObject({
1329
- amount: z27.number()
1330
- });
1331
- var MercenaryDenDetailReinforcementTimerSchema = z27.looseObject({
1332
- end: z27.string()
1333
- });
1334
- var MercenaryDenDetailSkyhookSchema = z27.looseObject({
1335
- id: z27.number(),
1336
- planet_id: z27.number(),
1337
- corporation_id: z27.number()
1338
- });
1339
- var MercenaryDenDetailSchema = z27.looseObject({
1340
- id: z27.number(),
1341
- type_id: z27.number(),
1342
- state: esiEnum(["Unspecified", "Running", "Paused", "Disabled"]),
1343
- skyhook: MercenaryDenDetailSkyhookSchema,
1344
- infomorphs: MercenaryDenDetailInfomorphsSchema,
1345
- evolution: MercenaryDenDetailEvolutionSchema,
1346
- reinforcement_timer: MercenaryDenDetailReinforcementTimerSchema.optional()
1347
- });
1348
- var MercenaryTacticalOperationDetailSchema = z27.looseObject({
1349
- id: z27.string(),
1350
- mercenary_den_id: z27.number(),
1351
- state: esiEnum([
1352
- "Unspecified",
1353
- "Available",
1354
- "Started",
1355
- "Completed",
1356
- "Expired",
1357
- "Removed"
1358
- ]),
1359
- dungeon_type_id: z27.number(),
1360
- expires: z27.string()
1361
- });
1362
-
1363
- // src/schemas/meta.ts
1364
- import { z as z28 } from "zod";
1365
- var MetaChangelogEntrySchema = z28.looseObject({
1366
- method: z28.string(),
1367
- path: z28.string(),
1368
- compatibility_date: z28.string(),
1369
- is_breaking: z28.boolean(),
1370
- description: z28.string()
1371
- });
1372
- var MetaChangelogSchema = z28.record(
1373
- z28.string(),
1374
- z28.array(MetaChangelogEntrySchema)
1375
- );
1376
- var MetaCompatibilityDatesSchema = z28.looseObject({
1377
- compatibility_dates: z28.array(z28.string())
1378
- });
1379
- var MetaNameSchema = z28.looseObject({
1380
- name: z28.string()
1381
- });
1382
- var MetaStatusSchema = z28.looseObject({
1383
- status: z28.string()
1384
- });
1385
-
1386
- // src/schemas/paragon-hub.ts
1387
- import { z as z29 } from "zod";
1388
- var ParagonHubCursorSchema = z29.looseObject({
1389
- after: z29.string().optional(),
1390
- before: z29.string().optional()
1391
- });
1392
- var ParagonHubSkinrPriceSchema = z29.looseObject({
1393
- isk: z29.number().optional(),
1394
- plex: z29.number().optional()
1395
- });
1396
- var ParagonHubSkinrListingSchema = z29.looseObject({
1397
- id: z29.string(),
1398
- state: esiEnum(["listed", "sold_out", "expired", "removed"]),
1399
- last_modified: z29.string(),
1400
- seller_id: z29.number(),
1401
- skinr_id: z29.string(),
1402
- created: z29.string(),
1403
- expires: z29.string(),
1404
- quantity: z29.number(),
1405
- price: ParagonHubSkinrPriceSchema
1406
- });
1407
- var ParagonHubSkinrTargetSchema = z29.looseObject({
1408
- character_id: z29.number().optional(),
1409
- corporation_id: z29.number().optional(),
1410
- alliance_id: z29.number().optional(),
1411
- public: z29.boolean().optional()
1412
- });
1413
- var ParagonHubCharacterListingSchema = z29.looseObject({
1414
- id: z29.string(),
1415
- state: esiEnum(["listed", "sold_out", "expired", "removed"]),
1416
- last_modified: z29.string(),
1417
- seller_id: z29.number(),
1418
- skinr_id: z29.string(),
1419
- created: z29.string(),
1420
- expires: z29.string(),
1421
- quantity: z29.number(),
1422
- price: ParagonHubSkinrPriceSchema,
1423
- target: ParagonHubSkinrTargetSchema
1424
- });
1425
- var ParagonHubSkinrResponseSchema = z29.looseObject({
1426
- cursor: ParagonHubCursorSchema.optional(),
1427
- listings: z29.array(ParagonHubSkinrListingSchema)
1428
- });
1429
- var ParagonHubCharacterSkinrResponseSchema = z29.looseObject({
1430
- cursor: ParagonHubCursorSchema.optional(),
1431
- listings: z29.array(ParagonHubCharacterListingSchema)
1432
- });
1433
-
1434
- // src/schemas/military-campaigns.ts
1435
- import { z as z30 } from "zod";
1436
- var MilitaryCampaignSchema = z30.looseObject({
1437
- campaign_id: z30.string(),
1438
- state: z30.string(),
1439
- progress: z30.number(),
1440
- start_time: z30.string(),
1441
- finish_time: z30.string().optional()
1442
- });
1443
- var MilitaryCampaignObjectiveSchema = z30.looseObject({
1444
- objective_id: z30.string(),
1445
- campaign_id: z30.string(),
1446
- state: z30.string(),
1447
- progress: z30.number(),
1448
- participants: z30.looseObject({
1449
- total: z30.number(),
1450
- committed: z30.number(),
1451
- contributors: z30.number()
1452
- })
1453
- });
1454
- var CharacterMilitaryCampaignObjectiveSchema = z30.looseObject({
1455
- objective_id: z30.string(),
1456
- campaign_id: z30.string(),
1457
- committed: z30.boolean(),
1458
- contribution: z30.number()
1459
- });
1460
-
1461
- // src/schemas/pi.ts
1462
- import { z as z31 } from "zod";
1463
- var PlanetaryColonySchema = z31.looseObject({
1464
- solar_system_id: z31.number(),
1465
- planet_id: z31.number(),
1466
- planet_type: esiEnum([
1467
- "temperate",
1468
- "barren",
1469
- "oceanic",
1470
- "ice",
1471
- "gas",
1472
- "lava",
1473
- "storm",
1474
- "plasma"
1475
- ]),
1476
- owner_id: z31.number(),
1477
- last_update: z31.string(),
1478
- upgrade_level: z31.number(),
1479
- num_pins: z31.number()
1480
- });
1481
- var CustomsOfficeSchema = z31.looseObject({
1482
- office_id: z31.number(),
1483
- system_id: z31.number(),
1484
- reinforce_exit_start: z31.number(),
1485
- reinforce_exit_end: z31.number(),
1486
- allow_access_with_standings: z31.boolean().optional(),
1487
- allow_alliance_access: z31.boolean().optional(),
1488
- alliance_tax_rate: z31.number().optional(),
1489
- corporation_tax_rate: z31.number().optional(),
1490
- standing_level: z31.string().optional(),
1491
- terrible_standing_tax_rate: z31.number().optional(),
1492
- bad_standing_tax_rate: z31.number().optional(),
1493
- neutral_standing_tax_rate: z31.number().optional(),
1494
- good_standing_tax_rate: z31.number().optional(),
1495
- excellent_standing_tax_rate: z31.number().optional(),
1496
- type_id: z31.number().optional()
1497
- });
1498
- var ColonyLayoutSchema = z31.looseObject({
1499
- links: z31.array(
1500
- z31.looseObject({
1501
- source_pin_id: z31.number(),
1502
- destination_pin_id: z31.number(),
1503
- link_level: z31.number()
1504
- })
1505
- ),
1506
- pins: z31.array(
1507
- z31.looseObject({
1508
- pin_id: z31.number(),
1509
- type_id: z31.number(),
1510
- latitude: z31.number(),
1511
- longitude: z31.number(),
1512
- schematic_id: z31.number().optional(),
1513
- extractor_details: z31.looseObject({
1514
- heads: z31.array(
1515
- z31.looseObject({
1516
- head_id: z31.number(),
1517
- latitude: z31.number(),
1518
- longitude: z31.number()
1519
- })
1520
- ),
1521
- product_type_id: z31.number().optional(),
1522
- cycle_time: z31.number().optional(),
1523
- head_radius: z31.number().optional(),
1524
- qty_per_cycle: z31.number().optional()
1525
- }).optional(),
1526
- factory_details: z31.looseObject({
1527
- schematic_id: z31.number()
1528
- }).optional(),
1529
- contents: z31.array(
1530
- z31.looseObject({
1531
- type_id: z31.number(),
1532
- amount: z31.number()
1533
- })
1534
- ).optional(),
1535
- install_time: z31.string().optional(),
1536
- expiry_time: z31.string().optional(),
1537
- last_cycle_start: z31.string().optional()
1538
- })
1539
- ),
1540
- routes: z31.array(
1541
- z31.looseObject({
1542
- route_id: z31.number(),
1543
- source_pin_id: z31.number(),
1544
- destination_pin_id: z31.number(),
1545
- content_type_id: z31.number(),
1546
- quantity: z31.number(),
1547
- waypoints: z31.array(z31.number()).optional()
1548
- })
1549
- )
1550
- });
1551
-
1552
- // src/schemas/skills.ts
1553
- import { z as z32 } from "zod";
1554
- var CharacterSkillSchema = z32.looseObject({
1555
- skill_id: z32.number(),
1556
- skillpoints_in_skill: z32.number(),
1557
- trained_skill_level: z32.number(),
1558
- active_skill_level: z32.number()
1559
- });
1560
- var CharacterSkillsResponseSchema = z32.looseObject({
1561
- skills: z32.array(
1562
- z32.looseObject({
1563
- skill_id: z32.number(),
1564
- skillpoints_in_skill: z32.number(),
1565
- trained_skill_level: z32.number(),
1566
- active_skill_level: z32.number()
1567
- })
1568
- ),
1569
- total_sp: z32.number(),
1570
- unallocated_sp: z32.number().optional()
1571
- });
1572
- var SkillQueueSchema = z32.looseObject({
1573
- skill_id: z32.number(),
1574
- finished_level: z32.number(),
1575
- queue_position: z32.number(),
1576
- level_end_sp: z32.number().optional(),
1577
- level_start_sp: z32.number().optional(),
1578
- training_start_sp: z32.number().optional(),
1579
- start_date: z32.string().optional(),
1580
- finish_date: z32.string().optional()
1581
- });
1582
-
1583
- // src/schemas/skyhooks.ts
1584
- import { z as z33 } from "zod";
1585
- var SovereigntyHubSchema = z33.looseObject({
1586
- structure_id: z33.number(),
1587
- system_id: z33.number(),
1588
- corporation_id: z33.number(),
1589
- alliance_id: z33.number().optional(),
1590
- online: z33.boolean(),
1591
- remaining_reagents: z33.number().optional(),
1592
- installed_upgrades: z33.array(z33.number()).optional()
1593
- });
1594
- var OrbitalSkyhookSchema = z33.looseObject({
1595
- structure_id: z33.number(),
1596
- system_id: z33.number(),
1597
- corporation_id: z33.number(),
1598
- alliance_id: z33.number().optional(),
1599
- online: z33.boolean(),
1600
- reagent_silo_capacity: z33.number().optional(),
1601
- reagent_silo_level: z33.number().optional()
1602
- });
1603
- var RaidableSkyhookSchema = z33.looseObject({
1604
- structure_id: z33.number(),
1605
- system_id: z33.number(),
1606
- corporation_id: z33.number(),
1607
- alliance_id: z33.number().optional(),
1608
- raidable_at: z33.string().optional(),
1609
- is_raidable: z33.boolean()
1610
- });
1611
- var SkyhookDetailReagentSchema = z33.looseObject({
1612
- type_id: z33.number(),
1613
- secured_stock: z33.number(),
1614
- unsecured_stock: z33.number(),
1615
- last_cycle: z33.string()
1616
- });
1617
- var SkyhookDetailReinforcementTimerSchema = z33.looseObject({
1618
- end: z33.string()
1619
- });
1620
- var SkyhookDetailTheftVulnerabilitySchema = z33.looseObject({
1621
- start: z33.string(),
1622
- end: z33.string()
1623
- });
1624
- var SkyhookDetailSchema = z33.looseObject({
1625
- id: z33.number(),
1626
- planet_id: z33.number(),
1627
- state: esiEnum([
1628
- "Unspecified",
1629
- "ShieldVulnerable",
1630
- "ArmorReinforced",
1631
- "ArmorVulnerable",
1632
- "HullReinforced",
1633
- "HullVulnerable"
1634
- ]),
1635
- is_active: z33.boolean(),
1636
- effective_workforce: z33.number().optional(),
1637
- reagents: z33.array(SkyhookDetailReagentSchema).optional(),
1638
- reinforcement_timer: SkyhookDetailReinforcementTimerSchema.optional(),
1639
- theft_vulnerability: SkyhookDetailTheftVulnerabilitySchema.optional()
1640
- });
1641
- var SovereigntyHubDetailReagentSchema = z33.looseObject({
1642
- type_id: z33.number(),
1643
- amount: z33.number(),
1644
- burning_per_hour: z33.number().optional()
1645
- });
1646
- var SovereigntyHubDetailReagentBaySchema = z33.looseObject({
1647
- last_updated: z33.string(),
1648
- reagents: z33.array(SovereigntyHubDetailReagentSchema)
1649
- });
1650
- var SovereigntyHubDetailResourceSchema = z33.looseObject({
1651
- available: z33.number().optional(),
1652
- used: z33.number().optional()
1653
- });
1654
- var SovereigntyHubDetailResourcesSchema = z33.looseObject({
1655
- power: SovereigntyHubDetailResourceSchema,
1656
- workforce: SovereigntyHubDetailResourceSchema
1657
- });
1658
- var SovereigntyHubDetailUpgradeSchema = z33.looseObject({
1659
- type_id: z33.number(),
1660
- power_state: esiEnum(["Unspecified", "Online", "Offline", "Low", "Pending"])
1661
- });
1662
- var SovereigntyHubDetailVulnerabilityWindowSchema = z33.looseObject({
1663
- start: z33.string(),
1664
- end: z33.string()
1665
- });
1666
- var SovereigntyHubDetailTransportSchema = z33.looseObject({});
1667
- var SovereigntyHubDetailSchema = z33.looseObject({
1668
- id: z33.number(),
1669
- solar_system_id: z33.number(),
1670
- upgrades: z33.array(SovereigntyHubDetailUpgradeSchema),
1671
- reagent_bay: SovereigntyHubDetailReagentBaySchema,
1672
- resources: SovereigntyHubDetailResourcesSchema,
1673
- workforce_transport: SovereigntyHubDetailTransportSchema,
1674
- fuel_access_list_id: z33.number().optional(),
1675
- vulnerability_window: SovereigntyHubDetailVulnerabilityWindowSchema.optional()
1676
- });
1677
-
1678
- // src/schemas/sovereignty.ts
1679
- import { z as z34 } from "zod";
1680
- var SovereigntyCampaignSchema = z34.looseObject({
1681
- campaign_id: z34.number(),
1682
- structure_id: z34.number(),
1683
- solar_system_id: z34.number(),
1684
- constellation_id: z34.number(),
1685
- event_type: esiEnum([
1686
- "tcu_defense",
1687
- "ihub_defense",
1688
- "station_defense",
1689
- "station_freeport"
1690
- ]),
1691
- start_time: z34.string(),
1692
- defender_id: z34.number().optional(),
1693
- defender_score: z34.number().optional(),
1694
- attackers_score: z34.number().optional(),
1695
- participants: z34.array(
1696
- z34.looseObject({
1697
- alliance_id: z34.number(),
1698
- score: z34.number()
1699
- })
1700
- ).optional()
1701
- });
1702
- var SovereigntySystemStructureSchema = z34.looseObject({
1703
- alliance_id: z34.number().optional(),
1704
- solar_system_id: z34.number().optional(),
1705
- structure_id: z34.number(),
1706
- structure_type_id: z34.number(),
1707
- vulnerability_occupancy_level: z34.number().optional(),
1708
- vulnerable_start_time: z34.string().optional(),
1709
- vulnerable_end_time: z34.string().optional()
1710
- });
1711
- var SovereigntyVulnerabilityWindowSchema = z34.looseObject({
1712
- start: z34.string(),
1713
- end: z34.string()
1714
- });
1715
- var SovereigntyHubSchema2 = z34.looseObject({
1716
- id: z34.number(),
1717
- vulnerability_window: SovereigntyVulnerabilityWindowSchema.optional()
1718
- });
1719
- var SovereigntyDevelopmentSchema = z34.looseObject({
1720
- activity_defense_multiplier: z34.number().optional(),
1721
- military_level: z34.number().optional(),
1722
- industrial_level: z34.number().optional(),
1723
- strategic_level: z34.number().optional()
1724
- });
1725
- var SovereigntyAllianceClaimSchema = z34.looseObject({
1726
- alliance_id: z34.number(),
1727
- corporation_id: z34.number().optional(),
1728
- claimed_since: z34.string().optional(),
1729
- sovereignty_hub: SovereigntyHubSchema2.optional(),
1730
- is_capital_system: z34.boolean().optional(),
1731
- development: SovereigntyDevelopmentSchema.optional()
1732
- });
1733
- var SovereigntyFactionClaimSchema = z34.looseObject({
1734
- faction_id: z34.number()
1735
- });
1736
- var SovereigntyClaimSchema = z34.looseObject({
1737
- alliance: SovereigntyAllianceClaimSchema.optional(),
1738
- faction: SovereigntyFactionClaimSchema.optional(),
1739
- unclaimed: z34.boolean().optional()
1740
- });
1741
- var SovereigntySystemEntrySchema = z34.looseObject({
1742
- solar_system_id: z34.number(),
1743
- claim: SovereigntyClaimSchema
1744
- });
1745
- var SovereigntySystemSchema = z34.looseObject({
1746
- solar_systems: z34.array(SovereigntySystemEntrySchema)
1747
- });
1748
-
1749
- // src/schemas/status.ts
1750
- import { z as z35 } from "zod";
1751
- var ServerStatusSchema = z35.looseObject({
1752
- players: z35.number(),
1753
- server_version: z35.string(),
1754
- start_time: z35.string(),
1755
- vip: z35.boolean().optional()
1756
- });
1757
-
1758
- // src/schemas/universe.ts
1759
- import { z as z36 } from "zod";
1760
- var PositionSchema = z36.looseObject({
1761
- x: z36.number(),
1762
- y: z36.number(),
1763
- z: z36.number()
1764
- });
1765
- var SolarSystemInfoSchema = z36.looseObject({
1766
- system_id: z36.number(),
1767
- name: z36.string(),
1768
- constellation_id: z36.number(),
1769
- position: PositionSchema.optional(),
1770
- security_class: z36.string().optional(),
1771
- security_status: z36.number(),
1772
- star_id: z36.number().optional(),
1773
- stargates: z36.array(z36.number()).optional(),
1774
- stations: z36.array(z36.number()).optional(),
1775
- planets: z36.array(
1776
- z36.looseObject({
1777
- asteroid_belts: z36.array(z36.number()).optional(),
1778
- moons: z36.array(z36.number()).optional(),
1779
- planet_id: z36.number()
1780
- })
1781
- ).optional()
1782
- });
1783
- var ConstellationInfoSchema = z36.looseObject({
1784
- constellation_id: z36.number(),
1785
- name: z36.string(),
1786
- region_id: z36.number(),
1787
- systems: z36.array(z36.number()),
1788
- position: PositionSchema
1789
- });
1790
- var RegionInfoSchema = z36.looseObject({
1791
- region_id: z36.number(),
1792
- name: z36.string(),
1793
- description: z36.string().optional(),
1794
- constellations: z36.array(z36.number())
1795
- });
1796
- var AncestrySchema = z36.looseObject({
1797
- id: z36.number(),
1798
- name: z36.string(),
1799
- bloodline_id: z36.number(),
1800
- description: z36.string(),
1801
- short_description: z36.string().optional(),
1802
- icon_id: z36.number().optional()
1803
- });
1804
- var BloodlineSchema = z36.looseObject({
1805
- bloodline_id: z36.number(),
1806
- name: z36.string(),
1807
- description: z36.string(),
1808
- race_id: z36.number(),
1809
- corporation_id: z36.number(),
1810
- ship_type_id: z36.number().nullable(),
1811
- charisma: z36.number(),
1812
- intelligence: z36.number(),
1813
- memory: z36.number(),
1814
- perception: z36.number(),
1815
- willpower: z36.number()
1816
- });
1817
- var FactionSchema = z36.looseObject({
1818
- faction_id: z36.number(),
1819
- name: z36.string(),
1820
- description: z36.string(),
1821
- size_factor: z36.number(),
1822
- station_count: z36.number(),
1823
- station_system_count: z36.number(),
1824
- is_unique: z36.boolean(),
1825
- solar_system_id: z36.number().optional(),
1826
- corporation_id: z36.number().optional(),
1827
- militia_corporation_id: z36.number().optional()
1828
- });
1829
- var RaceSchema = z36.looseObject({
1830
- race_id: z36.number(),
1831
- name: z36.string(),
1832
- description: z36.string(),
1833
- alliance_id: z36.number()
1834
- });
1835
- var StationInfoSchema = z36.looseObject({
1836
- station_id: z36.number(),
1837
- name: z36.string(),
1838
- owner: z36.number().optional(),
1839
- system_id: z36.number(),
1840
- type_id: z36.number(),
1841
- race_id: z36.number().optional(),
1842
- reprocessing_efficiency: z36.number(),
1843
- reprocessing_stations_take: z36.number(),
1844
- max_dockable_ship_volume: z36.number(),
1845
- office_rental_cost: z36.number(),
1846
- services: z36.array(z36.string()),
1847
- position: PositionSchema
1848
- });
1849
- var TypeInfoSchema = z36.looseObject({
1850
- type_id: z36.number(),
1851
- name: z36.string(),
1852
- description: z36.string(),
1853
- published: z36.boolean(),
1854
- group_id: z36.number(),
1855
- market_group_id: z36.number().optional(),
1856
- radius: z36.number().optional(),
1857
- volume: z36.number().optional(),
1858
- packaged_volume: z36.number().optional(),
1859
- capacity: z36.number().optional(),
1860
- portion_size: z36.number().optional(),
1861
- mass: z36.number().optional(),
1862
- icon_id: z36.number().optional(),
1863
- graphic_id: z36.number().optional(),
1864
- dogma_attributes: z36.array(
1865
- z36.looseObject({
1866
- attribute_id: z36.number(),
1867
- value: z36.number()
1868
- })
1869
- ).optional(),
1870
- dogma_effects: z36.array(
1871
- z36.looseObject({
1872
- effect_id: z36.number(),
1873
- is_default: z36.boolean()
1874
- })
1875
- ).optional()
1876
- });
1877
- var AsteroidBeltInfoSchema = z36.looseObject({
1878
- name: z36.string(),
1879
- position: PositionSchema,
1880
- system_id: z36.number()
1881
- });
1882
- var GraphicInfoSchema = z36.looseObject({
1883
- graphic_id: z36.number(),
1884
- collision_file: z36.string().optional(),
1885
- graphic_file: z36.string().optional(),
1886
- icon_folder: z36.string().optional(),
1887
- sof_dna: z36.string().optional(),
1888
- sof_fation_name: z36.string().optional(),
1889
- sof_hull_name: z36.string().optional(),
1890
- sof_race_name: z36.string().optional()
1891
- });
1892
- var ItemCategorySchema = z36.looseObject({
1893
- category_id: z36.number(),
1894
- name: z36.string(),
1895
- groups: z36.array(z36.number()),
1896
- published: z36.boolean()
1897
- });
1898
- var ItemGroupSchema = z36.looseObject({
1899
- group_id: z36.number(),
1900
- name: z36.string(),
1901
- category_id: z36.number(),
1902
- types: z36.array(z36.number()),
1903
- published: z36.boolean()
1904
- });
1905
- var MoonInfoSchema = z36.looseObject({
1906
- moon_id: z36.number(),
1907
- name: z36.string(),
1908
- system_id: z36.number(),
1909
- position: PositionSchema
1910
- });
1911
- var PlanetInfoSchema = z36.looseObject({
1912
- planet_id: z36.number(),
1913
- name: z36.string(),
1914
- system_id: z36.number(),
1915
- type_id: z36.number(),
1916
- position: PositionSchema
1917
- });
1918
- var StarInfoSchema = z36.looseObject({
1919
- star_id: z36.number().optional(),
1920
- solar_system_id: z36.number(),
1921
- name: z36.string(),
1922
- type_id: z36.number(),
1923
- age: z36.number(),
1924
- luminosity: z36.number(),
1925
- radius: z36.number(),
1926
- spectral_class: z36.string(),
1927
- temperature: z36.number()
1928
- });
1929
- var StargateInfoSchema = z36.looseObject({
1930
- stargate_id: z36.number(),
1931
- name: z36.string(),
1932
- system_id: z36.number(),
1933
- type_id: z36.number(),
1934
- position: PositionSchema,
1935
- destination: z36.looseObject({
1936
- system_id: z36.number(),
1937
- stargate_id: z36.number()
1938
- })
1939
- });
1940
- var StructureInfoSchema = z36.looseObject({
1941
- structure_id: z36.number().optional(),
1942
- name: z36.string(),
1943
- owner_id: z36.number(),
1944
- solar_system_id: z36.number(),
1945
- type_id: z36.number().optional(),
1946
- position: PositionSchema.optional()
1947
- });
1948
- var SystemJumpSchema = z36.looseObject({
1949
- system_id: z36.number(),
1950
- ship_jumps: z36.number()
1951
- });
1952
- var SystemKillSchema = z36.looseObject({
1953
- system_id: z36.number(),
1954
- npc_kills: z36.number(),
1955
- pod_kills: z36.number(),
1956
- ship_kills: z36.number()
1957
- });
1958
- var IdNameSchema = z36.looseObject({
1959
- id: z36.number(),
1960
- name: z36.string()
1961
- });
1962
- var BulkIdResultSchema = z36.looseObject({
1963
- agents: z36.array(IdNameSchema).optional(),
1964
- alliances: z36.array(IdNameSchema).optional(),
1965
- characters: z36.array(IdNameSchema).optional(),
1966
- constellations: z36.array(IdNameSchema).optional(),
1967
- corporations: z36.array(IdNameSchema).optional(),
1968
- factions: z36.array(IdNameSchema).optional(),
1969
- inventory_types: z36.array(IdNameSchema).optional(),
1970
- regions: z36.array(IdNameSchema).optional(),
1971
- systems: z36.array(IdNameSchema).optional(),
1972
- stations: z36.array(IdNameSchema).optional()
1973
- });
1974
- var NameAndCategorySchema = z36.looseObject({
1975
- id: z36.number(),
1976
- name: z36.string(),
1977
- category: esiEnum([
1978
- "alliance",
1979
- "character",
1980
- "constellation",
1981
- "corporation",
1982
- "inventory_type",
1983
- "region",
1984
- "solar_system",
1985
- "station",
1986
- "faction"
1987
- ])
1988
- });
1989
- var SchematicInfoSchema = z36.looseObject({
1990
- schematic_name: z36.string(),
1991
- cycle_time: z36.number()
1992
- });
1993
- var SearchResultSchema = z36.looseObject({
1994
- agent: z36.array(z36.number()).optional(),
1995
- alliance: z36.array(z36.number()).optional(),
1996
- character: z36.array(z36.number()).optional(),
1997
- constellation: z36.array(z36.number()).optional(),
1998
- corporation: z36.array(z36.number()).optional(),
1999
- faction: z36.array(z36.number()).optional(),
2000
- inventory_type: z36.array(z36.number()).optional(),
2001
- region: z36.array(z36.number()).optional(),
2002
- solar_system: z36.array(z36.number()).optional(),
2003
- station: z36.array(z36.number()).optional(),
2004
- structure: z36.array(z36.number()).optional()
2005
- });
2006
-
2007
- // src/schemas/wallet.ts
2008
- import { z as z37 } from "zod";
2009
- var WalletTransactionSchema = z37.looseObject({
2010
- transaction_id: z37.number(),
2011
- date: z37.string(),
2012
- type_id: z37.number(),
2013
- location_id: z37.number(),
2014
- unit_price: z37.number(),
2015
- quantity: z37.number(),
2016
- client_id: z37.number(),
2017
- is_buy: z37.boolean(),
2018
- is_personal: z37.boolean(),
2019
- journal_ref_id: z37.number()
2020
- });
2021
- var WalletJournalSchema = z37.looseObject({
2022
- id: z37.number(),
2023
- date: z37.string(),
2024
- ref_type: z37.string(),
2025
- first_party_id: z37.number().optional(),
2026
- second_party_id: z37.number().optional(),
2027
- amount: z37.number().optional(),
2028
- balance: z37.number().optional(),
2029
- reason: z37.string().optional(),
2030
- description: z37.string(),
2031
- context_id: z37.number().optional(),
2032
- context_id_type: z37.string().optional(),
2033
- tax: z37.number().optional(),
2034
- tax_receiver_id: z37.number().optional()
2035
- });
2036
-
2037
- // src/schemas/wars.ts
2038
- import { z as z38 } from "zod";
2039
- var WarSchema = z38.looseObject({
2040
- id: z38.number(),
2041
- declared: z38.string(),
2042
- started: z38.string().optional(),
2043
- finished: z38.string().optional(),
2044
- retracted: z38.string().optional(),
2045
- mutual: z38.boolean(),
2046
- open_for_allies: z38.boolean(),
2047
- aggressor: z38.looseObject({
2048
- corporation_id: z38.number().optional(),
2049
- alliance_id: z38.number().optional(),
2050
- isk_destroyed: z38.number(),
2051
- ships_killed: z38.number()
2052
- }),
2053
- defender: z38.looseObject({
2054
- corporation_id: z38.number().optional(),
2055
- alliance_id: z38.number().optional(),
2056
- isk_destroyed: z38.number(),
2057
- ships_killed: z38.number()
2058
- }),
2059
- allies: z38.array(
2060
- z38.looseObject({
2061
- corporation_id: z38.number().optional(),
2062
- alliance_id: z38.number().optional()
2063
- })
2064
- ).optional()
2065
- });
1
+ import {
2
+ AccessListEntrySchema,
3
+ AccessListSchema,
4
+ AgentResearchSchema,
5
+ AllianceContactLabelSchema,
6
+ AllianceContactSchema,
7
+ AllianceIconSchema,
8
+ AllianceInfoSchema,
9
+ AncestrySchema,
10
+ AssetLocationSchema,
11
+ AssetNameSchema,
12
+ AsteroidBeltInfoSchema,
13
+ BloodlineSchema,
14
+ BlueprintSchema,
15
+ BulkIdResultSchema,
16
+ CalendarEventAttendeeSchema,
17
+ CalendarEventDetailSchema,
18
+ CalendarEventSchema,
19
+ CharacterAffiliationSchema,
20
+ CharacterAssetSchema,
21
+ CharacterAttributesSchema,
22
+ CharacterFleetInfoSchema,
23
+ CharacterFreelanceJobsListingSchema,
24
+ CharacterInfoSchema,
25
+ CharacterLocationSchema,
26
+ CharacterMarketOrderHistorySchema,
27
+ CharacterMarketOrderSchema,
28
+ CharacterMilitaryCampaignObjectiveSchema,
29
+ CharacterOnlineSchema,
30
+ CharacterPortraitSchema,
31
+ CharacterRoleSchema,
32
+ CharacterShipSchema,
33
+ CharacterSkillSchema,
34
+ CharacterSkillsResponseSchema,
35
+ CharacterSkinrComponentsSchema,
36
+ CharacterSkinrSchema,
37
+ CharacterTitleSchema,
38
+ CloneInfoSchema,
39
+ ColonyLayoutSchema,
40
+ ConstellationInfoSchema,
41
+ ContactLabelSchema,
42
+ ContactNotificationSchema,
43
+ ContactSchema,
44
+ ContainerLogSchema,
45
+ ContractBidSchema,
46
+ ContractItemSchema,
47
+ ContractSchema,
48
+ CorporationAllianceHistorySchema,
49
+ CorporationDivisionsSchema,
50
+ CorporationFacilitySchema,
51
+ CorporationFreelanceJobsListingSchema,
52
+ CorporationHistorySchema,
53
+ CorporationIconSchema,
54
+ CorporationIndustryJobSchema,
55
+ CorporationInfoSchema,
56
+ CorporationIssuedMedalSchema,
57
+ CorporationMarketOrderHistorySchema,
58
+ CorporationMarketOrderSchema,
59
+ CorporationMedalSchema,
60
+ CorporationMemberRoleSchema,
61
+ CorporationMemberTitleSchema,
62
+ CorporationMemberTrackingSchema,
63
+ CorporationProjectContributionSchema,
64
+ CorporationProjectContributorSchema,
65
+ CorporationProjectContributorsListingSchema,
66
+ CorporationProjectCursorSchema,
67
+ CorporationProjectSchema,
68
+ CorporationProjectSummarySchema,
69
+ CorporationProjectsListingSchema,
70
+ CorporationRoleHistorySchema,
71
+ CorporationShareholderSchema,
72
+ CorporationStarbaseDetailSchema,
73
+ CorporationStarbaseSchema,
74
+ CorporationStructureSchema,
75
+ CorporationTitleSchema,
76
+ CorporationWalletDivisionSchema,
77
+ CorporationWalletTransactionSchema,
78
+ CustomsOfficeSchema,
79
+ DogmaAttributeSchema,
80
+ DogmaDynamicItemSchema,
81
+ DogmaEffectSchema,
82
+ EsiCursorSchema,
83
+ EsiResponseMetaSchema,
84
+ FactionSchema,
85
+ FactionWarfareCharacterLeaderboardSchema,
86
+ FactionWarfareCharacterStatsSchema,
87
+ FactionWarfareCorporationLeaderboardSchema,
88
+ FactionWarfareCorporationStatsSchema,
89
+ FactionWarfareFactionLeaderboardSchema,
90
+ FactionWarfareLeaderboardSchema,
91
+ FactionWarfareStatsSchema,
92
+ FactionWarfareSystemSchema,
93
+ FactionWarfareWarSchema,
94
+ FittingSchema,
95
+ FleetInfoSchema,
96
+ FleetMemberSchema,
97
+ FleetWingSchema,
98
+ FreelanceJobDetailSchema,
99
+ FreelanceJobParticipantSchema,
100
+ FreelanceJobParticipantsListingSchema,
101
+ FreelanceJobParticipationSchema,
102
+ FreelanceJobSummarySchema,
103
+ FreelanceJobsListingSchema,
104
+ GraphicInfoSchema,
105
+ IncursionSchema,
106
+ IndustryFacilitySchema,
107
+ IndustryJobSchema,
108
+ IndustrySystemSchema,
109
+ InsurancePriceSchema,
110
+ ItemCategorySchema,
111
+ ItemGroupSchema,
112
+ JumpFatigueSchema,
113
+ KillmailSchema,
114
+ KillmailSummarySchema,
115
+ LoyaltyPointsSchema,
116
+ LoyaltyStoreOfferSchema,
117
+ MailHeaderSchema,
118
+ MailLabelSchema,
119
+ MailLabelsResponseSchema,
120
+ MailMessageSchema,
121
+ MailingListSchema,
122
+ MarketGroupSchema,
123
+ MarketHistorySchema,
124
+ MarketOrderSchema,
125
+ MarketPriceSchema,
126
+ MedalSchema,
127
+ MercenaryDenDetailEvolutionSchema,
128
+ MercenaryDenDetailInfomorphsSchema,
129
+ MercenaryDenDetailReinforcementTimerSchema,
130
+ MercenaryDenDetailSchema,
131
+ MercenaryDenDetailSkyhookSchema,
132
+ MercenaryDenSchema,
133
+ MercenaryTacticalOperationDetailSchema,
134
+ MercenaryTacticalOperationSchema,
135
+ MetaChangelogEntrySchema,
136
+ MetaChangelogSchema,
137
+ MetaCompatibilityDatesSchema,
138
+ MetaNameSchema,
139
+ MetaRouteStatusSchema,
140
+ MetaStatusSchema,
141
+ MilitaryCampaignObjectiveSchema,
142
+ MilitaryCampaignSchema,
143
+ MiningLedgerEntrySchema,
144
+ MiningObserverEntrySchema,
145
+ MiningObserverSchema,
146
+ MoonExtractionTimerSchema,
147
+ MoonInfoSchema,
148
+ NameAndCategorySchema,
149
+ NotificationSchema,
150
+ OrbitalSkyhookSchema,
151
+ ParagonHubCharacterListingSchema,
152
+ ParagonHubCharacterSkinrResponseSchema,
153
+ ParagonHubCursorSchema,
154
+ ParagonHubSkinrListingSchema,
155
+ ParagonHubSkinrPriceSchema,
156
+ ParagonHubSkinrResponseSchema,
157
+ ParagonHubSkinrTargetSchema,
158
+ PlanetInfoSchema,
159
+ PlanetaryColonySchema,
160
+ PublicContractBidSchema,
161
+ PublicContractItemSchema,
162
+ PublicContractSchema,
163
+ RaceSchema,
164
+ RaidableSkyhookSchema,
165
+ RateLimitMetaSchema,
166
+ RegionInfoSchema,
167
+ SchematicInfoSchema,
168
+ SearchResultSchema,
169
+ ServerStatusSchema,
170
+ SkillQueueSchema,
171
+ SkinrComponentLicenseSchema,
172
+ SkinrComponentRunsSchema,
173
+ SkinrLayoutSchema,
174
+ SkinrLayoutSlotSchema,
175
+ SkinrLicenseSchema,
176
+ SkinrSchema,
177
+ SkinrTierSchema,
178
+ SkyhookDetailReagentSchema,
179
+ SkyhookDetailReinforcementTimerSchema,
180
+ SkyhookDetailSchema,
181
+ SkyhookDetailTheftVulnerabilitySchema,
182
+ SolarSystemInfoSchema,
183
+ SovereigntyCampaignSchema,
184
+ SovereigntyHubDetailReagentBaySchema,
185
+ SovereigntyHubDetailReagentSchema,
186
+ SovereigntyHubDetailResourceSchema,
187
+ SovereigntyHubDetailResourcesSchema,
188
+ SovereigntyHubDetailSchema,
189
+ SovereigntyHubDetailTransportSchema,
190
+ SovereigntyHubDetailUpgradeSchema,
191
+ SovereigntyHubDetailVulnerabilityWindowSchema,
192
+ SovereigntyHubSchema,
193
+ SovereigntySystemSchema,
194
+ SovereigntySystemStructureSchema,
195
+ StandingSchema,
196
+ StarInfoSchema,
197
+ StargateInfoSchema,
198
+ StationInfoSchema,
199
+ StructureInfoSchema,
200
+ StructureMarketOrderSchema,
201
+ SystemJumpSchema,
202
+ SystemKillSchema,
203
+ TypeInfoSchema,
204
+ WalletJournalSchema,
205
+ WalletTransactionSchema,
206
+ WarSchema,
207
+ esiEnum,
208
+ esiResponse
209
+ } from "../chunk-VZS32UQ3.mjs";
210
+ import "../chunk-JIW4BXLP.mjs";
2066
211
  export {
2067
212
  AccessListEntrySchema,
2068
213
  AccessListSchema,
@@ -2116,6 +261,7 @@ export {
2116
261
  CorporationFreelanceJobsListingSchema,
2117
262
  CorporationHistorySchema,
2118
263
  CorporationIconSchema,
264
+ CorporationIndustryJobSchema,
2119
265
  CorporationInfoSchema,
2120
266
  CorporationIssuedMedalSchema,
2121
267
  CorporationMarketOrderHistorySchema,
@@ -2126,7 +272,11 @@ export {
2126
272
  CorporationMemberTrackingSchema,
2127
273
  CorporationProjectContributionSchema,
2128
274
  CorporationProjectContributorSchema,
275
+ CorporationProjectContributorsListingSchema,
276
+ CorporationProjectCursorSchema,
2129
277
  CorporationProjectSchema,
278
+ CorporationProjectSummarySchema,
279
+ CorporationProjectsListingSchema,
2130
280
  CorporationRoleHistorySchema,
2131
281
  CorporationShareholderSchema,
2132
282
  StandingSchema as CorporationStandingSchema,
@@ -2135,6 +285,7 @@ export {
2135
285
  CorporationStructureSchema,
2136
286
  CorporationTitleSchema,
2137
287
  CorporationWalletDivisionSchema,
288
+ CorporationWalletTransactionSchema,
2138
289
  CustomsOfficeSchema,
2139
290
  DogmaAttributeSchema,
2140
291
  DogmaDynamicItemSchema,
@@ -2142,8 +293,11 @@ export {
2142
293
  EsiCursorSchema,
2143
294
  EsiResponseMetaSchema,
2144
295
  FactionSchema,
296
+ FactionWarfareCharacterLeaderboardSchema,
2145
297
  FactionWarfareCharacterStatsSchema,
298
+ FactionWarfareCorporationLeaderboardSchema,
2146
299
  FactionWarfareCorporationStatsSchema,
300
+ FactionWarfareFactionLeaderboardSchema,
2147
301
  FactionWarfareLeaderboardSchema,
2148
302
  FactionWarfareStatsSchema,
2149
303
  FactionWarfareSystemSchema,
@@ -2154,6 +308,7 @@ export {
2154
308
  FleetWingSchema,
2155
309
  FreelanceJobDetailSchema,
2156
310
  FreelanceJobParticipantSchema,
311
+ FreelanceJobParticipantsListingSchema,
2157
312
  FreelanceJobParticipationSchema,
2158
313
  FreelanceJobSummarySchema,
2159
314
  FreelanceJobsListingSchema,
@@ -2170,6 +325,7 @@ export {
2170
325
  KillmailSummarySchema,
2171
326
  LoyaltyPointsSchema,
2172
327
  LoyaltyStoreOfferSchema,
328
+ MailHeaderSchema,
2173
329
  MailLabelSchema,
2174
330
  MailLabelsResponseSchema,
2175
331
  MailMessageSchema,
@@ -2191,6 +347,7 @@ export {
2191
347
  MetaChangelogSchema,
2192
348
  MetaCompatibilityDatesSchema,
2193
349
  MetaNameSchema,
350
+ MetaRouteStatusSchema,
2194
351
  MetaStatusSchema,
2195
352
  MilitaryCampaignObjectiveSchema,
2196
353
  MilitaryCampaignSchema,
@@ -2211,6 +368,9 @@ export {
2211
368
  ParagonHubSkinrTargetSchema,
2212
369
  PlanetInfoSchema,
2213
370
  PlanetaryColonySchema,
371
+ PublicContractBidSchema,
372
+ PublicContractItemSchema,
373
+ PublicContractSchema,
2214
374
  RaceSchema,
2215
375
  RaidableSkyhookSchema,
2216
376
  RateLimitMetaSchema,