@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
@@ -0,0 +1,53 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { militaryCampaignEndpoints } from '../core/endpoints/militaryCampaignEndpoints.mjs';
4
+ import { MilitaryCampaign, MilitaryCampaignObjective, CharacterMilitaryCampaignObjective } from '../types/api-responses.mjs';
5
+ export declare class MilitaryCampaignsClient extends BaseEsiClient<typeof militaryCampaignEndpoints> {
6
+ constructor(client: ApiClient);
7
+ /**
8
+ * Retrieves a list of all active, completed, and expired military campaigns.
9
+ *
10
+ * @returns An array of military campaigns
11
+ */
12
+ getMilitaryCampaigns(): Promise<MilitaryCampaign[]>;
13
+ /**
14
+ * Retrieves detailed information about a specific military campaign.
15
+ *
16
+ * @param campaignId - The UUID of the military campaign
17
+ * @returns Detailed information about the campaign
18
+ */
19
+ getMilitaryCampaign(campaignId: string): Promise<MilitaryCampaign>;
20
+ /**
21
+ * Retrieves all objectives for a specific military campaign.
22
+ *
23
+ * @param campaignId - The UUID of the military campaign
24
+ * @returns An array of objectives for the campaign
25
+ */
26
+ getMilitaryCampaignObjectives(campaignId: string): Promise<MilitaryCampaignObjective[]>;
27
+ /**
28
+ * Retrieves detailed information about a specific objective in a military campaign.
29
+ *
30
+ * @param campaignId - The UUID of the military campaign
31
+ * @param objectiveId - The UUID of the objective
32
+ * @returns Detailed information about the objective
33
+ */
34
+ getMilitaryCampaignObjective(campaignId: string, objectiveId: string): Promise<MilitaryCampaignObjective>;
35
+ /**
36
+ * Retrieves a character's participated objectives across military campaigns.
37
+ *
38
+ * @param characterId - The ID of the character
39
+ * @returns An array of the character's campaign objective participations
40
+ * @requires Authentication with scope esi.activity.char:read
41
+ */
42
+ getCharacterMilitaryCampaignObjectives(characterId: number): Promise<CharacterMilitaryCampaignObjective[]>;
43
+ /**
44
+ * Retrieves a character's participation details for a specific campaign objective.
45
+ *
46
+ * @param characterId - The ID of the character
47
+ * @param objectiveId - The UUID of the objective
48
+ * @returns The character's participation details for the objective
49
+ * @requires Authentication with scope esi.activity.char:read
50
+ */
51
+ getCharacterMilitaryCampaignObjective(characterId: number, objectiveId: string): Promise<CharacterMilitaryCampaignObjective>;
52
+ }
53
+ //# sourceMappingURL=MilitaryCampaignsClient.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { paragonHubEndpoints } from '../core/endpoints/paragonHubEndpoints.mjs';
4
+ import { ParagonHubSkinrResponse, ParagonHubCharacterSkinrResponse } from '../types/api-responses.mjs';
5
+ export declare class ParagonHubClient extends BaseEsiClient<typeof paragonHubEndpoints> {
6
+ constructor(client: ApiClient);
7
+ getPublicListings(after?: string, before?: string, limit?: number): Promise<ParagonHubSkinrResponse>;
8
+ getCharacterListings(characterId: number, after?: string, before?: string, limit?: number): Promise<ParagonHubCharacterSkinrResponse>;
9
+ getAllianceListings(allianceId: number, after?: string, before?: string, limit?: number): Promise<ParagonHubSkinrResponse>;
10
+ getCharacterTargetedListings(characterId: number, after?: string, before?: string, limit?: number): Promise<ParagonHubSkinrResponse>;
11
+ getCorporationListings(corporationId: number, after?: string, before?: string, limit?: number): Promise<ParagonHubSkinrResponse>;
12
+ }
13
+ //# sourceMappingURL=ParagonHubClient.d.ts.map
@@ -0,0 +1,45 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { piEndpoints } from '../core/endpoints/piEndpoints.mjs';
4
+ import { PlanetaryColony, CustomsOffice, ColonyLayout, SchematicInfo } from '../types/api-responses.mjs';
5
+ import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
6
+ export declare class PiClient extends BaseEsiClient<typeof piEndpoints> {
7
+ constructor(client: ApiClient);
8
+ /**
9
+ * Retrieves the list of planetary interaction colonies owned by a character.
10
+ *
11
+ * @param characterId - The ID of the character whose colonies to fetch
12
+ * @returns A list of the character's planetary colonies
13
+ * @requires Authentication
14
+ */
15
+ getColonies(characterId: number): Promise<PlanetaryColony[]>;
16
+ /**
17
+ * Retrieves the full layout of a planetary colony including pins, links, and routes.
18
+ *
19
+ * @param characterId - The ID of the character who owns the colony
20
+ * @param planetId - The ID of the planet to get the colony layout for
21
+ * @returns The colony layout with pins, links, and routes
22
+ * @requires Authentication
23
+ */
24
+ getColonyLayout(characterId: number, planetId: number): Promise<ColonyLayout>;
25
+ /**
26
+ * Retrieves the list of customs offices owned by a corporation.
27
+ *
28
+ * @param corporationId - The ID of the corporation whose customs offices to fetch
29
+ * @returns A list of the corporation's customs offices with their settings
30
+ * @requires Authentication
31
+ */
32
+ getCorporationCustomsOffices(corporationId: number): Promise<CustomsOffice[]>;
33
+ /**
34
+ * Retrieves information about a planetary interaction schematic, including its inputs and outputs.
35
+ *
36
+ * @param schematicId - The ID of the schematic to look up
37
+ * @returns The schematic details including cycle time, inputs, and outputs
38
+ */
39
+ getSchematicInformation(schematicId: number): Promise<SchematicInfo>;
40
+ fetchAllColonies(characterId: number, concurrency?: number): Promise<PlanetaryColony[]>;
41
+ fetchAllCorporationCustomsOffices(corporationId: number, concurrency?: number): Promise<CustomsOffice[]>;
42
+ streamColonies(characterId: number): AsyncGenerator<PageResult<PlanetaryColony>, void, undefined>;
43
+ streamCorporationCustomsOffices(corporationId: number): AsyncGenerator<PageResult<CustomsOffice>, void, undefined>;
44
+ }
45
+ //# sourceMappingURL=PiClient.d.ts.map
@@ -0,0 +1,25 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { routeEndpoints } from '../core/endpoints/routeEndpoints.mjs';
4
+ export interface RouteOptions {
5
+ preference?: 'Shorter' | 'Safer' | 'LessSecure';
6
+ avoid_systems?: number[];
7
+ connections?: {
8
+ from: number;
9
+ to: number;
10
+ }[];
11
+ security_penalty?: number;
12
+ }
13
+ export declare class RouteClient extends BaseEsiClient<typeof routeEndpoints> {
14
+ constructor(client: ApiClient);
15
+ /**
16
+ * Calculates a route between two solar systems, returning the list of system IDs along the path via POST.
17
+ *
18
+ * @param origin - The solar system ID to start the route from
19
+ * @param destination - The solar system ID to route to
20
+ * @param options - Optional routing preferences such as route type, avoided systems, and custom connections
21
+ * @returns An ordered list of solar system IDs representing the route
22
+ */
23
+ getRoute(origin: number, destination: number, options?: RouteOptions): Promise<number[]>;
24
+ }
25
+ //# sourceMappingURL=RouteClient.d.ts.map
@@ -0,0 +1,17 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { searchEndpoints } from '../core/endpoints/searchEndpoints.mjs';
4
+ import { SearchResult } from '../types/api-responses.mjs';
5
+ export declare class SearchClient extends BaseEsiClient<typeof searchEndpoints> {
6
+ constructor(client: ApiClient);
7
+ /**
8
+ * Searches for entities matching a query string on behalf of a character.
9
+ *
10
+ * @param characterId - The ID of the character performing the search
11
+ * @param searchString - The search query string to match against
12
+ * @returns Search results grouped by entity category
13
+ * @requires Authentication
14
+ */
15
+ characterSearch(characterId: number, searchString: string, categories: string[]): Promise<SearchResult>;
16
+ }
17
+ //# sourceMappingURL=SearchClient.d.ts.map
@@ -0,0 +1,39 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { skillEndpoints } from '../core/endpoints/skillEndpoints.mjs';
4
+ import { CharacterAttributes, CharacterSkill, SkillQueue } from '../types/api-responses.mjs';
5
+ import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
6
+ export declare class CharacterSkillsClient extends BaseEsiClient<typeof skillEndpoints> {
7
+ constructor(client: ApiClient);
8
+ /**
9
+ * Retrieves a character's neural remap attribute values (intelligence, memory, charisma, perception, willpower).
10
+ *
11
+ * @param characterId - The ID of the character
12
+ * @returns The character's current attribute values and bonus remap information
13
+ * @requires Authentication
14
+ */
15
+ getCharacterAttributes(characterId: number): Promise<CharacterAttributes>;
16
+ /**
17
+ * Retrieves the skill training queue for a character.
18
+ *
19
+ * @param characterId - The ID of the character
20
+ * @returns An ordered list of skills currently in the character's training queue
21
+ * @requires Authentication
22
+ */
23
+ getCharacterSkillQueue(characterId: number): Promise<SkillQueue[]>;
24
+ /**
25
+ * Retrieves all trained skills for a character, including total and unallocated skill points.
26
+ *
27
+ * @param characterId - The ID of the character
28
+ * @returns The character's trained skills, total SP, and optionally unallocated SP
29
+ * @requires Authentication
30
+ */
31
+ getCharacterSkills(characterId: number): Promise<{
32
+ skills: CharacterSkill[];
33
+ total_sp: number;
34
+ unallocated_sp?: number;
35
+ }>;
36
+ fetchAllCharacterSkillQueue(characterId: number, concurrency?: number): Promise<SkillQueue[]>;
37
+ streamCharacterSkillQueue(characterId: number): AsyncGenerator<PageResult<SkillQueue>, void, undefined>;
38
+ }
39
+ //# sourceMappingURL=SkillsClient.d.ts.map
@@ -0,0 +1,48 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { skyhookEndpoints } from '../core/endpoints/skyhookEndpoints.mjs';
4
+ import { SovereigntyHub, OrbitalSkyhook, RaidableSkyhook, SkyhookDetail, SovereigntyHubDetail } from '../types/api-responses.mjs';
5
+ export declare class SkyhooksClient extends BaseEsiClient<typeof skyhookEndpoints> {
6
+ constructor(client: ApiClient);
7
+ /**
8
+ * Retrieves all sovereignty hubs exposed as Upwell structures, including online status and installed upgrades.
9
+ *
10
+ * @param corporationId - The ID of the corporation to query sovereignty hubs for
11
+ * @returns A list of sovereignty hubs
12
+ * @requires Authentication
13
+ */
14
+ getSovereigntyHubs(corporationId: number): Promise<SovereigntyHub[]>;
15
+ /**
16
+ * Retrieves all orbital skyhooks with their silo capacity and levels.
17
+ *
18
+ * @param corporationId - The ID of the corporation to query skyhooks for
19
+ * @returns A list of orbital skyhooks
20
+ * @requires Authentication
21
+ */
22
+ getOrbitalSkyhooks(corporationId: number): Promise<OrbitalSkyhook[]>;
23
+ /**
24
+ * Retrieves the rolling list of skyhooks that are currently or becoming raidable across New Eden.
25
+ *
26
+ * @returns A list of raidable skyhooks
27
+ */
28
+ getRaidableSkyhooks(): Promise<RaidableSkyhook[]>;
29
+ /**
30
+ * Retrieves detail for a specific skyhook including reagents, reinforcement timer, and theft vulnerability.
31
+ *
32
+ * @param corporationId - The ID of the corporation
33
+ * @param skyhookId - The ID of the skyhook
34
+ * @returns Skyhook detail
35
+ * @requires Authentication
36
+ */
37
+ getSkyhookDetail(corporationId: number, skyhookId: number): Promise<SkyhookDetail>;
38
+ /**
39
+ * Retrieves detail for a specific sovereignty hub including reagent bay, resources, upgrades, and vulnerability window.
40
+ *
41
+ * @param corporationId - The ID of the corporation
42
+ * @param sovereigntyHubId - The ID of the sovereignty hub
43
+ * @returns Sovereignty hub detail
44
+ * @requires Authentication
45
+ */
46
+ getSovereigntyHubDetail(corporationId: number, sovereigntyHubId: number): Promise<SovereigntyHubDetail>;
47
+ }
48
+ //# sourceMappingURL=SkyhooksClient.d.ts.map
@@ -0,0 +1,20 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { sovereigntyEndpoints } from '../core/endpoints/sovereigntyEndpoints.mjs';
4
+ import { SovereigntyCampaign, SovereigntySystem } from '../types/api-responses.mjs';
5
+ export declare class SovereigntyClient extends BaseEsiClient<typeof sovereigntyEndpoints> {
6
+ constructor(client: ApiClient);
7
+ /**
8
+ * Retrieves all active sovereignty campaigns, including command node contests and station freeports.
9
+ *
10
+ * @returns A list of active sovereignty campaigns
11
+ */
12
+ getSovereigntyCampaigns(): Promise<SovereigntyCampaign[]>;
13
+ /**
14
+ * Retrieves the combined sovereignty systems data including occupancy, structures, and separate ADM indices (military, industry, strategic).
15
+ *
16
+ * @returns A list of sovereignty systems with ownership, ADM indices, and anchored structures
17
+ */
18
+ getSovereigntySystems(): Promise<SovereigntySystem>;
19
+ }
20
+ //# sourceMappingURL=SovereigntyClient.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { statusEndpoints } from '../core/endpoints/statusEndpoints.mjs';
4
+ import { ServerStatus } from '../types/api-responses.mjs';
5
+ export declare class StatusClient extends BaseEsiClient<typeof statusEndpoints> {
6
+ constructor(client: ApiClient);
7
+ /**
8
+ * Retrieves the current Tranquility server status, including player count and server version.
9
+ *
10
+ * @returns The current server status information
11
+ */
12
+ getStatus(): Promise<ServerStatus>;
13
+ }
14
+ //# sourceMappingURL=StatusClient.d.ts.map
@@ -0,0 +1,44 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { uiEndpoints } from '../core/endpoints/uiEndpoints.mjs';
4
+ export declare class UiClient extends BaseEsiClient<typeof uiEndpoints> {
5
+ constructor(client: ApiClient);
6
+ /**
7
+ * Sets a solar system as an autopilot waypoint in the EVE client.
8
+ *
9
+ * @param destinationId - The solar system, station, or structure ID to set as waypoint
10
+ * @param addToBeginning - Whether to add the waypoint to the beginning of the route
11
+ * @param clearOtherWaypoints - Whether to clear existing waypoints first
12
+ * @requires Authentication
13
+ */
14
+ setAutopilotWaypoint(destinationId: number, addToBeginning: boolean, clearOtherWaypoints: boolean): Promise<void>;
15
+ /**
16
+ * Opens the contract window for a specific contract in the EVE client.
17
+ *
18
+ * @param contractId - The contract ID to display
19
+ * @requires Authentication
20
+ */
21
+ openContractWindow(contractId: number): Promise<void>;
22
+ /**
23
+ * Opens the information window for a specific entity in the EVE client.
24
+ *
25
+ * @param targetId - The character, corporation, alliance, or type ID to display
26
+ * @requires Authentication
27
+ */
28
+ openInformationWindow(targetId: number): Promise<void>;
29
+ /**
30
+ * Opens the market details window for a specific type in the EVE client.
31
+ *
32
+ * @param typeId - The inventory type ID to display market details for
33
+ * @requires Authentication
34
+ */
35
+ openMarketDetailsWindow(typeId: number): Promise<void>;
36
+ /**
37
+ * Opens the new mail composition window in the EVE client with pre-filled fields.
38
+ *
39
+ * @param body - The mail details including recipients (integer array), subject, and body text
40
+ * @requires Authentication
41
+ */
42
+ openNewMailWindow(body: object): Promise<void>;
43
+ }
44
+ //# sourceMappingURL=UiClient.d.ts.map
@@ -0,0 +1,212 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { universeEndpoints } from '../core/endpoints/universeEndpoints.mjs';
4
+ import { Ancestry, AsteroidBeltInfo, Bloodline, BulkIdResult, ConstellationInfo, Faction, GraphicInfo, ItemCategory, ItemGroup, MoonInfo, NameAndCategory, PlanetInfo, Race, RegionInfo, SchematicInfo, SolarSystemInfo, StarInfo, StargateInfo, StationInfo, StructureInfo, SystemJump, SystemKill, TypeInfo } from '../types/api-responses.mjs';
5
+ export declare class UniverseClient extends BaseEsiClient<typeof universeEndpoints> {
6
+ constructor(client: ApiClient);
7
+ /**
8
+ * Retrieves all available character ancestries for character creation.
9
+ *
10
+ * @returns A list of character ancestries
11
+ */
12
+ getAncestries(): Promise<Ancestry[]>;
13
+ /**
14
+ * Retrieves information about an asteroid belt, including its position in space.
15
+ *
16
+ * @param asteroidBeltId - The ID of the asteroid belt
17
+ * @returns Details about the asteroid belt
18
+ */
19
+ getAsteroidBeltInfo(asteroidBeltId: number): Promise<AsteroidBeltInfo>;
20
+ /**
21
+ * Retrieves all available character bloodlines for character creation.
22
+ *
23
+ * @returns A list of character bloodlines
24
+ */
25
+ getBloodlines(): Promise<Bloodline[]>;
26
+ /**
27
+ * Retrieves information about a constellation, including its systems and position.
28
+ *
29
+ * @param constellationId - The ID of the constellation
30
+ * @returns Detailed constellation information
31
+ */
32
+ getConstellationById(constellationId: number): Promise<ConstellationInfo>;
33
+ /**
34
+ * Retrieves a list of all constellation IDs in the EVE universe.
35
+ *
36
+ * @returns A list of constellation IDs
37
+ */
38
+ getConstellations(): Promise<number[]>;
39
+ /**
40
+ * Retrieves all NPC factions in the EVE universe.
41
+ *
42
+ * @returns A list of NPC factions
43
+ */
44
+ getFactions(): Promise<Faction[]>;
45
+ /**
46
+ * Retrieves information about a specific graphic asset used in the EVE client.
47
+ *
48
+ * @param graphicId - The ID of the graphic
49
+ * @returns Detailed graphic information
50
+ */
51
+ getGraphicById(graphicId: number): Promise<GraphicInfo>;
52
+ /**
53
+ * Retrieves a list of all graphic asset IDs.
54
+ *
55
+ * @returns A list of graphic IDs
56
+ */
57
+ getGraphics(): Promise<number[]>;
58
+ /**
59
+ * Retrieves a list of all item category IDs in the EVE universe.
60
+ *
61
+ * @returns A list of item category IDs
62
+ */
63
+ getItemCategories(): Promise<number[]>;
64
+ /**
65
+ * Retrieves information about a specific item category, including its groups.
66
+ *
67
+ * @param categoryId - The ID of the item category
68
+ * @returns Detailed item category information
69
+ */
70
+ getItemCategoryById(categoryId: number): Promise<ItemCategory>;
71
+ /**
72
+ * Retrieves information about a specific item group, including its types.
73
+ *
74
+ * @param groupId - The ID of the item group
75
+ * @returns Detailed item group information
76
+ */
77
+ getItemGroupById(groupId: number): Promise<ItemGroup>;
78
+ /**
79
+ * Retrieves a list of all item group IDs in the EVE universe.
80
+ *
81
+ * @returns A list of item group IDs
82
+ */
83
+ getItemGroups(): Promise<number[]>;
84
+ /**
85
+ * Retrieves information about a moon, including its name and position.
86
+ *
87
+ * @param moonId - The ID of the moon
88
+ * @returns Detailed moon information
89
+ */
90
+ getMoonById(moonId: number): Promise<MoonInfo>;
91
+ /**
92
+ * Retrieves information about a planet, including its name, type, and position.
93
+ *
94
+ * @param planetId - The ID of the planet
95
+ * @returns Detailed planet information
96
+ */
97
+ getPlanetById(planetId: number): Promise<PlanetInfo>;
98
+ /**
99
+ * Retrieves all playable races in the EVE universe.
100
+ *
101
+ * @returns A list of playable races
102
+ */
103
+ getRaces(): Promise<Race[]>;
104
+ /**
105
+ * Retrieves information about a region, including its constellations and name.
106
+ *
107
+ * @param regionId - The ID of the region
108
+ * @returns Detailed region information
109
+ */
110
+ getRegionById(regionId: number): Promise<RegionInfo>;
111
+ /**
112
+ * Retrieves information about a star, including its spectral class and luminosity.
113
+ *
114
+ * @param starId - The ID of the star
115
+ * @returns Detailed star information
116
+ */
117
+ getStarById(starId: number): Promise<StarInfo>;
118
+ /**
119
+ * Retrieves information about a stargate, including its destination and position.
120
+ *
121
+ * @param stargateId - The ID of the stargate
122
+ * @returns Detailed stargate information
123
+ */
124
+ getStargateById(stargateId: number): Promise<StargateInfo>;
125
+ /**
126
+ * Retrieves public information about a station, including its services and location.
127
+ *
128
+ * @param stationId - The ID of the station
129
+ * @returns Detailed station information
130
+ */
131
+ getStationById(stationId: number): Promise<StationInfo>;
132
+ /**
133
+ * Retrieves information about a player-owned structure by its ID.
134
+ *
135
+ * @param structureId - The ID of the structure
136
+ * @returns Detailed structure information
137
+ * @requires Authentication
138
+ */
139
+ getStructureById(structureId: number): Promise<StructureInfo>;
140
+ /**
141
+ * Retrieves a list of all publicly visible player-owned structure IDs.
142
+ *
143
+ * @returns A list of structure IDs
144
+ */
145
+ getStructures(): Promise<number[]>;
146
+ /**
147
+ * Retrieves information about a solar system, including its planets, stargates, and security status.
148
+ *
149
+ * @param systemId - The ID of the solar system
150
+ * @returns Detailed solar system information
151
+ */
152
+ getSystemById(systemId: number): Promise<SolarSystemInfo>;
153
+ /**
154
+ * Retrieves the number of ship jumps per solar system within the last hour.
155
+ *
156
+ * @returns A list of solar systems with their jump counts
157
+ */
158
+ getSystemJumps(): Promise<SystemJump[]>;
159
+ /**
160
+ * Retrieves the number of NPC and player ship kills per solar system within the last hour.
161
+ *
162
+ * @returns A list of solar systems with their kill counts
163
+ */
164
+ getSystemKills(): Promise<SystemKill[]>;
165
+ /**
166
+ * Retrieves a list of all solar system IDs in the EVE universe.
167
+ *
168
+ * @returns A list of solar system IDs
169
+ */
170
+ getSystems(): Promise<number[]>;
171
+ /**
172
+ * Retrieves information about a specific item type, including its description and attributes.
173
+ *
174
+ * @param typeId - The ID of the item type
175
+ * @returns Detailed item type information
176
+ */
177
+ getTypeById(typeId: number): Promise<TypeInfo>;
178
+ /**
179
+ * Retrieves a list of all item type IDs in the EVE universe.
180
+ *
181
+ * @returns A list of item type IDs
182
+ */
183
+ getTypes(): Promise<number[]>;
184
+ /**
185
+ * Resolves a list of names to their corresponding IDs via a bulk POST operation.
186
+ *
187
+ * @param names - An array of names to resolve to IDs
188
+ * @returns The resolved IDs grouped by entity category
189
+ */
190
+ postBulkNamesToIds(names: string[]): Promise<BulkIdResult>;
191
+ /**
192
+ * Resolves a list of IDs to their names and categories via a bulk POST operation.
193
+ *
194
+ * @param ids - An array of entity IDs to resolve
195
+ * @returns A list of names with their corresponding categories
196
+ */
197
+ postNamesAndCategories(ids: number[]): Promise<NameAndCategory[]>;
198
+ /**
199
+ * Retrieves information about a planetary interaction schematic.
200
+ *
201
+ * @param schematicId - The ID of the PI schematic
202
+ * @returns Detailed schematic information including inputs and outputs
203
+ */
204
+ getSchematicById(schematicId: number): Promise<SchematicInfo>;
205
+ /**
206
+ * Retrieves a list of all region IDs in the EVE universe.
207
+ *
208
+ * @returns A list of region IDs
209
+ */
210
+ getRegions(): Promise<number[]>;
211
+ }
212
+ //# sourceMappingURL=UniverseClient.d.ts.map
@@ -0,0 +1,70 @@
1
+ import { ApiClient } from '../core/ApiClient.mjs';
2
+ import { BaseEsiClient } from './BaseEsiClient.mjs';
3
+ import { walletEndpoints } from '../core/endpoints/walletEndpoints.mjs';
4
+ import { CorporationWalletTransaction, WalletJournal, WalletTransaction } from '../types/api-responses.mjs';
5
+ import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
6
+ export declare class WalletClient extends BaseEsiClient<typeof walletEndpoints> {
7
+ constructor(client: ApiClient);
8
+ /**
9
+ * Retrieves the current ISK balance of a character's wallet.
10
+ *
11
+ * @param characterId - The ID of the character
12
+ * @returns The character's wallet balance in ISK
13
+ * @requires Authentication
14
+ */
15
+ getCharacterWallet(characterId: number): Promise<number>;
16
+ /**
17
+ * Retrieves the wallet journal entries for a character, showing ISK transactions and their reasons.
18
+ *
19
+ * @param characterId - The ID of the character
20
+ * @returns A list of wallet journal entries
21
+ * @requires Authentication
22
+ */
23
+ getCharacterWalletJournal(characterId: number): Promise<WalletJournal[]>;
24
+ /**
25
+ * Retrieves the market transaction history for a character's wallet.
26
+ *
27
+ * @param characterId - The ID of the character
28
+ * @returns A list of market buy and sell transactions
29
+ * @requires Authentication
30
+ */
31
+ getCharacterWalletTransactions(characterId: number): Promise<WalletTransaction[]>;
32
+ /**
33
+ * Retrieves the balances for all wallet divisions of a corporation.
34
+ *
35
+ * @param corporationId - The ID of the corporation
36
+ * @returns A list of wallet divisions with their balances
37
+ * @requires Authentication
38
+ */
39
+ getCorporationWallets(corporationId: number): Promise<{
40
+ division: number;
41
+ balance: number;
42
+ }[]>;
43
+ /**
44
+ * Retrieves the wallet journal entries for a specific division of a corporation wallet.
45
+ *
46
+ * @param corporationId - The ID of the corporation
47
+ * @param division - The wallet division number (1-7)
48
+ * @returns A list of wallet journal entries for the specified division
49
+ * @requires Authentication
50
+ */
51
+ getCorporationWalletJournal(corporationId: number, division: number): Promise<WalletJournal[]>;
52
+ /**
53
+ * Retrieves the market transaction history for a specific division of a corporation wallet.
54
+ *
55
+ * @param corporationId - The ID of the corporation
56
+ * @param division - The wallet division number (1-7)
57
+ * @returns A list of market buy and sell transactions for the specified division
58
+ * @requires Authentication
59
+ */
60
+ getCorporationWalletTransactions(corporationId: number, division: number): Promise<CorporationWalletTransaction[]>;
61
+ fetchAllCharacterWalletJournal(characterId: number, concurrency?: number): Promise<WalletJournal[]>;
62
+ fetchAllCorporationWalletJournal(corporationId: number, division: number, concurrency?: number): Promise<WalletJournal[]>;
63
+ fetchAllCharacterWalletTransactions(characterId: number, concurrency?: number): Promise<WalletTransaction[]>;
64
+ fetchAllCorporationWalletTransactions(corporationId: number, division: number, concurrency?: number): Promise<CorporationWalletTransaction[]>;
65
+ streamCharacterWalletJournal(characterId: number): AsyncGenerator<PageResult<WalletJournal>, void, undefined>;
66
+ streamCorporationWalletJournal(corporationId: number, division: number): AsyncGenerator<PageResult<WalletJournal>, void, undefined>;
67
+ streamCharacterWalletTransactions(characterId: number): AsyncGenerator<PageResult<WalletTransaction>, void, undefined>;
68
+ streamCorporationWalletTransactions(corporationId: number, division: number): AsyncGenerator<PageResult<CorporationWalletTransaction>, void, undefined>;
69
+ }
70
+ //# sourceMappingURL=WalletClient.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { ApiClient } from '../core/ApiClient';
2
2
  import { BaseEsiClient } from './BaseEsiClient';
3
3
  import { walletEndpoints } from '../core/endpoints/walletEndpoints';
4
- import { WalletJournal, WalletTransaction } from '../types/api-responses';
4
+ import { CorporationWalletTransaction, WalletJournal, WalletTransaction } from '../types/api-responses';
5
5
  import { PageResult } from '../core/pagination/AsyncPaginationIterator';
6
6
  export declare class WalletClient extends BaseEsiClient<typeof walletEndpoints> {
7
7
  constructor(client: ApiClient);
@@ -57,14 +57,14 @@ export declare class WalletClient extends BaseEsiClient<typeof walletEndpoints>
57
57
  * @returns A list of market buy and sell transactions for the specified division
58
58
  * @requires Authentication
59
59
  */
60
- getCorporationWalletTransactions(corporationId: number, division: number): Promise<WalletTransaction[]>;
60
+ getCorporationWalletTransactions(corporationId: number, division: number): Promise<CorporationWalletTransaction[]>;
61
61
  fetchAllCharacterWalletJournal(characterId: number, concurrency?: number): Promise<WalletJournal[]>;
62
62
  fetchAllCorporationWalletJournal(corporationId: number, division: number, concurrency?: number): Promise<WalletJournal[]>;
63
63
  fetchAllCharacterWalletTransactions(characterId: number, concurrency?: number): Promise<WalletTransaction[]>;
64
- fetchAllCorporationWalletTransactions(corporationId: number, division: number, concurrency?: number): Promise<WalletTransaction[]>;
64
+ fetchAllCorporationWalletTransactions(corporationId: number, division: number, concurrency?: number): Promise<CorporationWalletTransaction[]>;
65
65
  streamCharacterWalletJournal(characterId: number): AsyncGenerator<PageResult<WalletJournal>, void, undefined>;
66
66
  streamCorporationWalletJournal(corporationId: number, division: number): AsyncGenerator<PageResult<WalletJournal>, void, undefined>;
67
67
  streamCharacterWalletTransactions(characterId: number): AsyncGenerator<PageResult<WalletTransaction>, void, undefined>;
68
- streamCorporationWalletTransactions(corporationId: number, division: number): AsyncGenerator<PageResult<WalletTransaction>, void, undefined>;
68
+ streamCorporationWalletTransactions(corporationId: number, division: number): AsyncGenerator<PageResult<CorporationWalletTransaction>, void, undefined>;
69
69
  }
70
70
  //# sourceMappingURL=WalletClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WalletClient.d.ts","sourceRoot":"","sources":["../../src/clients/WalletClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAExE,qBAAa,Y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