@lgriffin/esi.ts 7.4.0 → 8.0.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 (395) hide show
  1. package/LICENSE +26 -26
  2. package/README.md +967 -910
  3. package/dist/EsiClient.d.ts +3 -0
  4. package/dist/EsiClient.d.ts.map +1 -1
  5. package/dist/EsiClientBuilder.d.ts +1 -0
  6. package/dist/EsiClientBuilder.d.ts.map +1 -1
  7. package/dist/clients/AllianceClient.d.ts +3 -0
  8. package/dist/clients/AllianceClient.d.ts.map +1 -1
  9. package/dist/clients/BaseEsiClient.d.ts +1 -1
  10. package/dist/clients/BaseEsiClient.d.ts.map +1 -1
  11. package/dist/clients/CalendarClient.d.ts +3 -0
  12. package/dist/clients/CalendarClient.d.ts.map +1 -1
  13. package/dist/clients/CharacterClient.d.ts +10 -2
  14. package/dist/clients/CharacterClient.d.ts.map +1 -1
  15. package/dist/clients/ClonesClient.d.ts +2 -0
  16. package/dist/clients/ClonesClient.d.ts.map +1 -1
  17. package/dist/clients/ContactsClient.d.ts +7 -0
  18. package/dist/clients/ContactsClient.d.ts.map +1 -1
  19. package/dist/clients/CorporationsClient.d.ts +18 -0
  20. package/dist/clients/CorporationsClient.d.ts.map +1 -1
  21. package/dist/clients/FittingsClient.d.ts +2 -0
  22. package/dist/clients/FittingsClient.d.ts.map +1 -1
  23. package/dist/clients/FleetClient.d.ts +3 -0
  24. package/dist/clients/FleetClient.d.ts.map +1 -1
  25. package/dist/clients/IndustryClient.d.ts +9 -0
  26. package/dist/clients/IndustryClient.d.ts.map +1 -1
  27. package/dist/clients/LoyaltyClient.d.ts +3 -0
  28. package/dist/clients/LoyaltyClient.d.ts.map +1 -1
  29. package/dist/clients/MailClient.d.ts +6 -0
  30. package/dist/clients/MailClient.d.ts.map +1 -1
  31. package/dist/clients/MarketClient.d.ts +13 -22
  32. package/dist/clients/MarketClient.d.ts.map +1 -1
  33. package/dist/clients/PiClient.d.ts +3 -0
  34. package/dist/clients/PiClient.d.ts.map +1 -1
  35. package/dist/clients/SkillsClient.d.ts +2 -0
  36. package/dist/clients/SkillsClient.d.ts.map +1 -1
  37. package/dist/clients/WalletClient.d.ts +1 -0
  38. package/dist/clients/WalletClient.d.ts.map +1 -1
  39. package/dist/clients/WarsClient.d.ts +3 -0
  40. package/dist/clients/WarsClient.d.ts.map +1 -1
  41. package/dist/core/ApiClient.d.ts +14 -6
  42. package/dist/core/ApiClient.d.ts.map +1 -1
  43. package/dist/core/ApiRequestHandler.d.ts +3 -11
  44. package/dist/core/ApiRequestHandler.d.ts.map +1 -1
  45. package/dist/core/IDeduplicator.d.ts +6 -0
  46. package/dist/core/IDeduplicator.d.ts.map +1 -0
  47. package/dist/core/IRetryStrategy.d.ts +5 -0
  48. package/dist/core/IRetryStrategy.d.ts.map +1 -0
  49. package/dist/core/RequestDeduplicator.d.ts +2 -1
  50. package/dist/core/RequestDeduplicator.d.ts.map +1 -1
  51. package/dist/core/RetryStrategy.d.ts +19 -0
  52. package/dist/core/RetryStrategy.d.ts.map +1 -0
  53. package/dist/core/circuitBreaker/CircuitBreaker.d.ts +11 -1
  54. package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
  55. package/dist/core/circuitBreaker/ICircuitBreaker.d.ts +23 -0
  56. package/dist/core/circuitBreaker/ICircuitBreaker.d.ts.map +1 -0
  57. package/dist/core/configureApiClient.d.ts +18 -0
  58. package/dist/core/configureApiClient.d.ts.map +1 -0
  59. package/dist/core/endpoints/EndpointDefinition.d.ts +2 -0
  60. package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
  61. package/dist/core/endpoints/calendarEndpoints.d.ts +1 -1
  62. package/dist/core/endpoints/characterEndpoints.d.ts +3 -3
  63. package/dist/core/endpoints/contactEndpoints.d.ts +7 -3
  64. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
  65. package/dist/core/endpoints/corporationEndpoints.d.ts +4 -1
  66. package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
  67. package/dist/core/endpoints/createClient.d.ts +18 -1
  68. package/dist/core/endpoints/createClient.d.ts.map +1 -1
  69. package/dist/core/endpoints/dogmaEndpoints.d.ts +17 -0
  70. package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -1
  71. package/dist/core/endpoints/esi-scopes.generated.d.ts +1 -1
  72. package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
  73. package/dist/core/endpoints/fleetEndpoints.d.ts +5 -0
  74. package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
  75. package/dist/core/endpoints/mailEndpoints.d.ts +13 -0
  76. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
  77. package/dist/core/endpoints/marketEndpoints.d.ts +29 -48
  78. package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
  79. package/dist/core/endpoints/piEndpoints.d.ts +3 -0
  80. package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
  81. package/dist/core/endpoints/universeEndpoints.d.ts +13 -2
  82. package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
  83. package/dist/core/endpoints/walletEndpoints.d.ts +4 -0
  84. package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
  85. package/dist/core/logger/logger.d.ts +2 -1
  86. package/dist/core/logger/logger.d.ts.map +1 -1
  87. package/dist/core/pagination/AsyncPaginationIterator.d.ts +4 -1
  88. package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -1
  89. package/dist/core/pagination/CursorPaginationHandler.d.ts +6 -2
  90. package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
  91. package/dist/core/pagination/PaginationHandler.d.ts +1 -1
  92. package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
  93. package/dist/core/rateLimiter/RateLimiter.d.ts +8 -2
  94. package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
  95. package/dist/core/requestPipeline/cachePolicy.d.ts +30 -0
  96. package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -0
  97. package/dist/core/requestPipeline/dependencies.d.ts +10 -0
  98. package/dist/core/requestPipeline/dependencies.d.ts.map +1 -0
  99. package/dist/core/requestPipeline/fetchExecution.d.ts +28 -0
  100. package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -0
  101. package/dist/core/requestPipeline/headers.d.ts +11 -0
  102. package/dist/core/requestPipeline/headers.d.ts.map +1 -0
  103. package/dist/core/requestPipeline/index.d.ts +10 -0
  104. package/dist/core/requestPipeline/index.d.ts.map +1 -0
  105. package/dist/core/requestPipeline/middlewareBridge.d.ts +15 -0
  106. package/dist/core/requestPipeline/middlewareBridge.d.ts.map +1 -0
  107. package/dist/core/requestPipeline/paginationOrchestration.d.ts +15 -0
  108. package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -0
  109. package/dist/core/requestPipeline/statusHandling.d.ts +18 -0
  110. package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -0
  111. package/dist/core/util/error.d.ts +4 -1
  112. package/dist/core/util/error.d.ts.map +1 -1
  113. package/dist/index.d.ts +9 -2
  114. package/dist/index.d.ts.map +1 -1
  115. package/dist/index.js +9926 -176
  116. package/dist/index.js.map +1 -0
  117. package/dist/index.mjs +9824 -0
  118. package/dist/index.mjs.map +1 -0
  119. package/dist/schemas/calendar.d.ts +1 -1
  120. package/dist/schemas/character.d.ts +1 -10
  121. package/dist/schemas/character.d.ts.map +1 -1
  122. package/dist/schemas/common.d.ts +9 -0
  123. package/dist/schemas/common.d.ts.map +1 -1
  124. package/dist/schemas/contacts.d.ts +2 -1
  125. package/dist/schemas/contacts.d.ts.map +1 -1
  126. package/dist/schemas/corporation.d.ts +4 -9
  127. package/dist/schemas/corporation.d.ts.map +1 -1
  128. package/dist/schemas/dogma.d.ts +17 -0
  129. package/dist/schemas/dogma.d.ts.map +1 -1
  130. package/dist/schemas/fleet.d.ts +1 -0
  131. package/dist/schemas/fleet.d.ts.map +1 -1
  132. package/dist/schemas/generated/alliance.generated.d.ts +15 -0
  133. package/dist/schemas/generated/alliance.generated.d.ts.map +1 -0
  134. package/dist/schemas/generated/assets.generated.d.ts +272 -0
  135. package/dist/schemas/generated/assets.generated.d.ts.map +1 -0
  136. package/dist/schemas/generated/calendar.generated.d.ts +41 -0
  137. package/dist/schemas/generated/calendar.generated.d.ts.map +1 -0
  138. package/dist/schemas/generated/character.generated.d.ts +670 -0
  139. package/dist/schemas/generated/character.generated.d.ts.map +1 -0
  140. package/dist/schemas/generated/clones.generated.d.ts +23 -0
  141. package/dist/schemas/generated/clones.generated.d.ts.map +1 -0
  142. package/dist/schemas/generated/contacts.generated.d.ts +50 -0
  143. package/dist/schemas/generated/contacts.generated.d.ts.map +1 -0
  144. package/dist/schemas/generated/contracts.generated.d.ts +162 -0
  145. package/dist/schemas/generated/contracts.generated.d.ts.map +1 -0
  146. package/dist/schemas/generated/corporation-projects.generated.d.ts +89 -0
  147. package/dist/schemas/generated/corporation-projects.generated.d.ts.map +1 -0
  148. package/dist/schemas/generated/corporation.generated.d.ts +1515 -0
  149. package/dist/schemas/generated/corporation.generated.d.ts.map +1 -0
  150. package/dist/schemas/generated/dogma.generated.d.ts +57 -0
  151. package/dist/schemas/generated/dogma.generated.d.ts.map +1 -0
  152. package/dist/schemas/generated/faction-warfare.generated.d.ts +155 -0
  153. package/dist/schemas/generated/faction-warfare.generated.d.ts.map +1 -0
  154. package/dist/schemas/generated/fittings.generated.d.ts +57 -0
  155. package/dist/schemas/generated/fittings.generated.d.ts.map +1 -0
  156. package/dist/schemas/generated/fleets.generated.d.ts +45 -0
  157. package/dist/schemas/generated/fleets.generated.d.ts.map +1 -0
  158. package/dist/schemas/generated/freelance-jobs.generated.d.ts +173 -0
  159. package/dist/schemas/generated/freelance-jobs.generated.d.ts.map +1 -0
  160. package/dist/schemas/generated/incursions.generated.d.ts +16 -0
  161. package/dist/schemas/generated/incursions.generated.d.ts.map +1 -0
  162. package/dist/schemas/generated/index.d.ts +33 -0
  163. package/dist/schemas/generated/index.d.ts.map +1 -0
  164. package/dist/schemas/generated/industry.generated.d.ts +117 -0
  165. package/dist/schemas/generated/industry.generated.d.ts.map +1 -0
  166. package/dist/schemas/generated/insurance.generated.d.ts +10 -0
  167. package/dist/schemas/generated/insurance.generated.d.ts.map +1 -0
  168. package/dist/schemas/generated/killmails.generated.d.ts +55 -0
  169. package/dist/schemas/generated/killmails.generated.d.ts.map +1 -0
  170. package/dist/schemas/generated/location.generated.d.ts +18 -0
  171. package/dist/schemas/generated/location.generated.d.ts.map +1 -0
  172. package/dist/schemas/generated/loyalty.generated.d.ts +18 -0
  173. package/dist/schemas/generated/loyalty.generated.d.ts.map +1 -0
  174. package/dist/schemas/generated/mail.generated.d.ts +68 -0
  175. package/dist/schemas/generated/mail.generated.d.ts.map +1 -0
  176. package/dist/schemas/generated/market.generated.d.ts +201 -0
  177. package/dist/schemas/generated/market.generated.d.ts.map +1 -0
  178. package/dist/schemas/generated/meta.generated.d.ts +26 -0
  179. package/dist/schemas/generated/meta.generated.d.ts.map +1 -0
  180. package/dist/schemas/generated/planetary-interaction.generated.d.ts +90 -0
  181. package/dist/schemas/generated/planetary-interaction.generated.d.ts.map +1 -0
  182. package/dist/schemas/generated/routes.generated.d.ts +5 -0
  183. package/dist/schemas/generated/routes.generated.d.ts.map +1 -0
  184. package/dist/schemas/generated/search.generated.d.ts +15 -0
  185. package/dist/schemas/generated/search.generated.d.ts.map +1 -0
  186. package/dist/schemas/generated/skills.generated.d.ts +32 -0
  187. package/dist/schemas/generated/skills.generated.d.ts.map +1 -0
  188. package/dist/schemas/generated/sovereignty.generated.d.ts +37 -0
  189. package/dist/schemas/generated/sovereignty.generated.d.ts.map +1 -0
  190. package/dist/schemas/generated/status.generated.d.ts +8 -0
  191. package/dist/schemas/generated/status.generated.d.ts.map +1 -0
  192. package/dist/schemas/generated/universe.generated.d.ts +394 -0
  193. package/dist/schemas/generated/universe.generated.d.ts.map +1 -0
  194. package/dist/schemas/generated/wallet.generated.d.ts +411 -0
  195. package/dist/schemas/generated/wallet.generated.d.ts.map +1 -0
  196. package/dist/schemas/generated/wars.generated.d.ts +31 -0
  197. package/dist/schemas/generated/wars.generated.d.ts.map +1 -0
  198. package/dist/schemas/market.d.ts +91 -4
  199. package/dist/schemas/market.d.ts.map +1 -1
  200. package/dist/schemas/pi.d.ts +3 -0
  201. package/dist/schemas/pi.d.ts.map +1 -1
  202. package/dist/schemas/sovereignty.d.ts +2 -0
  203. package/dist/schemas/sovereignty.d.ts.map +1 -1
  204. package/dist/schemas/universe.d.ts +11 -2
  205. package/dist/schemas/universe.d.ts.map +1 -1
  206. package/dist/schemas/wallet.d.ts +2 -0
  207. package/dist/schemas/wallet.d.ts.map +1 -1
  208. package/dist/testing/TestDataFactory.d.ts.map +1 -1
  209. package/dist/types/character.d.ts +2 -1
  210. package/dist/types/character.d.ts.map +1 -1
  211. package/dist/types/generated/spec-alignment.check.d.ts +9 -0
  212. package/dist/types/generated/spec-alignment.check.d.ts.map +1 -1
  213. package/dist/types/market.d.ts +7 -1
  214. package/dist/types/market.d.ts.map +1 -1
  215. package/package.json +235 -226
  216. package/dist/EsiClient.js +0 -251
  217. package/dist/EsiClientBuilder.js +0 -217
  218. package/dist/clients/AccessListsClient.js +0 -20
  219. package/dist/clients/AllianceClient.js +0 -72
  220. package/dist/clients/AssetsClient.js +0 -81
  221. package/dist/clients/BaseEsiClient.js +0 -40
  222. package/dist/clients/CalendarClient.js +0 -54
  223. package/dist/clients/CharacterClient.js +0 -149
  224. package/dist/clients/ClonesClient.js +0 -31
  225. package/dist/clients/ContactsClient.js +0 -104
  226. package/dist/clients/ContractsClient.js +0 -111
  227. package/dist/clients/CorporationsClient.js +0 -227
  228. package/dist/clients/DogmaClient.js +0 -55
  229. package/dist/clients/FactionClient.js +0 -79
  230. package/dist/clients/FittingsClient.js +0 -42
  231. package/dist/clients/FleetClient.js +0 -162
  232. package/dist/clients/FreelanceJobsClient.js +0 -76
  233. package/dist/clients/IncursionsClient.js +0 -19
  234. package/dist/clients/IndustryClient.js +0 -88
  235. package/dist/clients/InsuranceClient.js +0 -19
  236. package/dist/clients/KillmailsClient.js +0 -47
  237. package/dist/clients/LocationClient.js +0 -41
  238. package/dist/clients/LoyaltyClient.js +0 -30
  239. package/dist/clients/MailClient.js +0 -108
  240. package/dist/clients/MarketClient.js +0 -131
  241. package/dist/clients/MercenaryClient.js +0 -27
  242. package/dist/clients/MetaClient.js +0 -56
  243. package/dist/clients/PiClient.js +0 -51
  244. package/dist/clients/RouteClient.js +0 -24
  245. package/dist/clients/SearchClient.js +0 -22
  246. package/dist/clients/SkillsClient.js +0 -41
  247. package/dist/clients/SkyhooksClient.js +0 -35
  248. package/dist/clients/SovereigntyClient.js +0 -27
  249. package/dist/clients/StatusClient.js +0 -19
  250. package/dist/clients/UiClient.js +0 -58
  251. package/dist/clients/UniverseClient.js +0 -277
  252. package/dist/clients/WalletClient.js +0 -82
  253. package/dist/clients/WarsClient.js +0 -37
  254. package/dist/config/configManager.js +0 -47
  255. package/dist/config/jest/globalSetup.js +0 -7
  256. package/dist/config/jest/globalTeardown.js +0 -7
  257. package/dist/config/jest/jest.setup.js +0 -29
  258. package/dist/core/ApiClient.js +0 -123
  259. package/dist/core/ApiClientBuilder.js +0 -54
  260. package/dist/core/ApiRequestHandler.js +0 -444
  261. package/dist/core/BatchRequestHandler.js +0 -66
  262. package/dist/core/ClientRegistry.js +0 -116
  263. package/dist/core/EsiDiagnostics.js +0 -47
  264. package/dist/core/RequestDeduplicator.js +0 -26
  265. package/dist/core/cache/ETagCacheManager.js +0 -184
  266. package/dist/core/cache/ICache.js +0 -2
  267. package/dist/core/circuitBreaker/CircuitBreaker.js +0 -156
  268. package/dist/core/constants.js +0 -7
  269. package/dist/core/endpoints/EndpointDefinition.js +0 -2
  270. package/dist/core/endpoints/accessListEndpoints.js +0 -13
  271. package/dist/core/endpoints/allianceEndpoints.js +0 -34
  272. package/dist/core/endpoints/assetEndpoints.js +0 -51
  273. package/dist/core/endpoints/buildEndpointPath.js +0 -44
  274. package/dist/core/endpoints/calendarEndpoints.js +0 -35
  275. package/dist/core/endpoints/characterEndpoints.js +0 -104
  276. package/dist/core/endpoints/cloneEndpoints.js +0 -21
  277. package/dist/core/endpoints/contactEndpoints.js +0 -72
  278. package/dist/core/endpoints/contractEndpoints.js +0 -70
  279. package/dist/core/endpoints/corporationEndpoints.js +0 -161
  280. package/dist/core/endpoints/createClient.js +0 -175
  281. package/dist/core/endpoints/dogmaEndpoints.js +0 -40
  282. package/dist/core/endpoints/esi-cache-ttls.generated.js +0 -133
  283. package/dist/core/endpoints/esi-rate-limit-groups.generated.js +0 -153
  284. package/dist/core/endpoints/esi-scopes.generated.js +0 -135
  285. package/dist/core/endpoints/factionEndpoints.js +0 -57
  286. package/dist/core/endpoints/fittingEndpoints.js +0 -27
  287. package/dist/core/endpoints/fleetEndpoints.js +0 -101
  288. package/dist/core/endpoints/freelanceJobsEndpoints.js +0 -51
  289. package/dist/core/endpoints/incursionEndpoints.js +0 -13
  290. package/dist/core/endpoints/industryEndpoints.js +0 -61
  291. package/dist/core/endpoints/insuranceEndpoints.js +0 -13
  292. package/dist/core/endpoints/killmailEndpoints.js +0 -28
  293. package/dist/core/endpoints/locationEndpoints.js +0 -27
  294. package/dist/core/endpoints/loyaltyEndpoints.js +0 -21
  295. package/dist/core/endpoints/mailEndpoints.js +0 -68
  296. package/dist/core/endpoints/marketEndpoints.js +0 -84
  297. package/dist/core/endpoints/mercenaryEndpoints.js +0 -19
  298. package/dist/core/endpoints/metaEndpoints.js +0 -12
  299. package/dist/core/endpoints/piEndpoints.js +0 -36
  300. package/dist/core/endpoints/routeEndpoints.js +0 -14
  301. package/dist/core/endpoints/searchEndpoints.js +0 -14
  302. package/dist/core/endpoints/skillEndpoints.js +0 -29
  303. package/dist/core/endpoints/skyhookEndpoints.js +0 -25
  304. package/dist/core/endpoints/sovereigntyEndpoints.js +0 -19
  305. package/dist/core/endpoints/statusEndpoints.js +0 -12
  306. package/dist/core/endpoints/uiEndpoints.js +0 -39
  307. package/dist/core/endpoints/universeEndpoints.js +0 -210
  308. package/dist/core/endpoints/walletEndpoints.js +0 -50
  309. package/dist/core/endpoints/warEndpoints.js +0 -28
  310. package/dist/core/logger/ILogger.js +0 -2
  311. package/dist/core/logger/logger.js +0 -16
  312. package/dist/core/logger/loggerUtil.js +0 -30
  313. package/dist/core/middleware/Middleware.js +0 -42
  314. package/dist/core/pagination/AsyncPaginationIterator.js +0 -27
  315. package/dist/core/pagination/CursorPaginationHandler.js +0 -148
  316. package/dist/core/pagination/PaginationHandler.js +0 -115
  317. package/dist/core/rateLimiter/IRateLimiter.js +0 -2
  318. package/dist/core/rateLimiter/RateLimiter.js +0 -307
  319. package/dist/core/util/error.js +0 -122
  320. package/dist/core/util/headersUtil.js +0 -37
  321. package/dist/core/util/retry.js +0 -9
  322. package/dist/core/util/sleep.js +0 -6
  323. package/dist/core/util/stringUtil.js +0 -6
  324. package/dist/core/util/testHelpers.js +0 -9
  325. package/dist/core/util/validation.js +0 -52
  326. package/dist/schemas/access-lists.js +0 -14
  327. package/dist/schemas/alliance.js +0 -28
  328. package/dist/schemas/assets.js +0 -26
  329. package/dist/schemas/calendar.js +0 -43
  330. package/dist/schemas/character.js +0 -122
  331. package/dist/schemas/clones.js +0 -21
  332. package/dist/schemas/common.js +0 -34
  333. package/dist/schemas/contacts.js +0 -15
  334. package/dist/schemas/contracts.js +0 -58
  335. package/dist/schemas/corporation.js +0 -192
  336. package/dist/schemas/dogma.js +0 -42
  337. package/dist/schemas/faction-warfare.js +0 -92
  338. package/dist/schemas/fittings.js +0 -15
  339. package/dist/schemas/fleet.js +0 -48
  340. package/dist/schemas/freelance-jobs.js +0 -99
  341. package/dist/schemas/incursions.js +0 -14
  342. package/dist/schemas/index.js +0 -48
  343. package/dist/schemas/industry.js +0 -75
  344. package/dist/schemas/insurance.js +0 -12
  345. package/dist/schemas/killmails.js +0 -42
  346. package/dist/schemas/location.js +0 -20
  347. package/dist/schemas/loyalty.js +0 -20
  348. package/dist/schemas/mail.js +0 -38
  349. package/dist/schemas/market.js +0 -39
  350. package/dist/schemas/mercenary.js +0 -22
  351. package/dist/schemas/pi.js +0 -85
  352. package/dist/schemas/skills.js +0 -30
  353. package/dist/schemas/skyhooks.js +0 -30
  354. package/dist/schemas/sovereignty.js +0 -70
  355. package/dist/schemas/status.js +0 -10
  356. package/dist/schemas/universe.js +0 -245
  357. package/dist/schemas/wallet.js +0 -29
  358. package/dist/schemas/wars.js +0 -31
  359. package/dist/testing/TestDataFactory.js +0 -823
  360. package/dist/types/access-lists.js +0 -2
  361. package/dist/types/alliance.js +0 -2
  362. package/dist/types/api-responses.js +0 -73
  363. package/dist/types/assets.js +0 -2
  364. package/dist/types/branded.js +0 -6
  365. package/dist/types/calendar.js +0 -2
  366. package/dist/types/character.js +0 -2
  367. package/dist/types/clones.js +0 -2
  368. package/dist/types/common.js +0 -2
  369. package/dist/types/contacts.js +0 -2
  370. package/dist/types/contracts.js +0 -2
  371. package/dist/types/corporation.js +0 -2
  372. package/dist/types/dogma.js +0 -2
  373. package/dist/types/faction-warfare.js +0 -2
  374. package/dist/types/fittings.js +0 -2
  375. package/dist/types/fleet.js +0 -2
  376. package/dist/types/freelance-jobs.js +0 -2
  377. package/dist/types/generated/esi-spec.generated.js +0 -6
  378. package/dist/types/generated/spec-alignment.check.js +0 -14
  379. package/dist/types/incursions.js +0 -2
  380. package/dist/types/industry.js +0 -2
  381. package/dist/types/insurance.js +0 -2
  382. package/dist/types/killmails.js +0 -2
  383. package/dist/types/location.js +0 -2
  384. package/dist/types/loyalty.js +0 -2
  385. package/dist/types/mail.js +0 -2
  386. package/dist/types/market.js +0 -2
  387. package/dist/types/mercenary.js +0 -2
  388. package/dist/types/pi.js +0 -2
  389. package/dist/types/skills.js +0 -2
  390. package/dist/types/skyhooks.js +0 -2
  391. package/dist/types/sovereignty.js +0 -2
  392. package/dist/types/status.js +0 -2
  393. package/dist/types/universe.js +0 -2
  394. package/dist/types/wallet.js +0 -2
  395. package/dist/types/wars.js +0 -2
@@ -1,108 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MailClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const mailEndpoints_1 = require("../core/endpoints/mailEndpoints");
6
- class MailClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, mailEndpoints_1.mailEndpoints);
9
- }
10
- /**
11
- * Retrieves the mail headers (subject, sender, timestamp) for a character's inbox.
12
- *
13
- * @param characterId - The ID of the character whose mail headers to fetch
14
- * @returns A list of mail message headers
15
- * @requires Authentication
16
- */
17
- getMailHeaders(characterId) {
18
- return this.api.getCharacterMailHeaders(characterId);
19
- }
20
- /**
21
- * Sends a new mail on behalf of a character via POST.
22
- *
23
- * @param characterId - The ID of the character sending the mail
24
- * @param body - The mail content including recipients, subject, and body text
25
- * @returns The ID of the newly created mail
26
- * @requires Authentication
27
- */
28
- sendMail(characterId, body) {
29
- return this.api.sendMail(characterId, body);
30
- }
31
- /**
32
- * Deletes a specific mail from a character's mailbox.
33
- *
34
- * @param characterId - The ID of the character who owns the mail
35
- * @param mailId - The ID of the mail to delete
36
- * @returns void
37
- * @requires Authentication
38
- */
39
- deleteMail(characterId, mailId) {
40
- return this.api.deleteMail(characterId, mailId);
41
- }
42
- /**
43
- * Retrieves the full contents of a specific mail including its body text.
44
- *
45
- * @param characterId - The ID of the character who owns the mail
46
- * @param mailId - The ID of the mail to retrieve
47
- * @returns The full mail message including body, sender, and recipients
48
- * @requires Authentication
49
- */
50
- getMail(characterId, mailId) {
51
- return this.api.getMail(characterId, mailId);
52
- }
53
- /**
54
- * Updates the metadata of a mail, such as read status or labels, via PUT.
55
- *
56
- * @param characterId - The ID of the character who owns the mail
57
- * @param mailId - The ID of the mail to update
58
- * @param body - The metadata fields to update (e.g., labels, read status)
59
- * @returns void
60
- * @requires Authentication
61
- */
62
- updateMailMetadata(characterId, mailId, body) {
63
- return this.api.updateMailMetadata(characterId, mailId, body);
64
- }
65
- /**
66
- * Retrieves the mail labels and total unread count for a character.
67
- *
68
- * @param characterId - The ID of the character whose labels to fetch
69
- * @returns The character's mail labels and total unread mail count
70
- * @requires Authentication
71
- */
72
- getMailLabels(characterId) {
73
- return this.api.getMailLabels(characterId);
74
- }
75
- /**
76
- * Creates a new custom mail label for a character via POST.
77
- *
78
- * @param characterId - The ID of the character to create the label for
79
- * @param body - The label definition including name and optional color
80
- * @returns The ID of the newly created label
81
- * @requires Authentication
82
- */
83
- createMailLabel(characterId, body) {
84
- return this.api.createMailLabel(characterId, body);
85
- }
86
- /**
87
- * Deletes a custom mail label from a character's mailbox.
88
- *
89
- * @param characterId - The ID of the character who owns the label
90
- * @param labelId - The ID of the label to delete
91
- * @returns void
92
- * @requires Authentication
93
- */
94
- deleteMailLabel(characterId, labelId) {
95
- return this.api.deleteMailLabel(characterId, labelId);
96
- }
97
- /**
98
- * Retrieves the mailing lists that a character is subscribed to.
99
- *
100
- * @param characterId - The ID of the character whose mailing lists to fetch
101
- * @returns A list of mailing lists with their IDs and names
102
- * @requires Authentication
103
- */
104
- getMailingLists(characterId) {
105
- return this.api.getMailingLists(characterId);
106
- }
107
- }
108
- exports.MailClient = MailClient;
@@ -1,131 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MarketClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const marketEndpoints_1 = require("../core/endpoints/marketEndpoints");
6
- class MarketClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, marketEndpoints_1.marketEndpoints);
9
- }
10
- /**
11
- * Retrieves all active market orders placed by a character.
12
- *
13
- * @param characterId - The ID of the character whose orders to fetch
14
- * @returns A list of the character's open market orders
15
- * @requires Authentication
16
- */
17
- getCharacterOrders(characterId) {
18
- return this.api.getCharacterOrders(characterId);
19
- }
20
- /**
21
- * Retrieves the history of expired and cancelled market orders for a character.
22
- *
23
- * @param characterId - The ID of the character whose order history to fetch
24
- * @returns A list of the character's historical market orders
25
- * @requires Authentication
26
- */
27
- getCharacterOrderHistory(characterId) {
28
- return this.api.getCharacterOrderHistory(characterId);
29
- }
30
- /**
31
- * Retrieves all active market orders placed by members of a corporation.
32
- *
33
- * @param corporationId - The ID of the corporation whose orders to fetch
34
- * @returns A list of the corporation's open market orders
35
- * @requires Authentication
36
- */
37
- getCorporationOrders(corporationId) {
38
- return this.api.getCorporationOrders(corporationId);
39
- }
40
- /**
41
- * Retrieves the history of expired and cancelled market orders for a corporation.
42
- *
43
- * @param corporationId - The ID of the corporation whose order history to fetch
44
- * @returns A list of the corporation's historical market orders
45
- * @requires Authentication
46
- */
47
- getCorporationOrderHistory(corporationId) {
48
- return this.api.getCorporationOrderHistory(corporationId);
49
- }
50
- /**
51
- * Retrieves the daily price and volume history for a specific item type in a region.
52
- *
53
- * @param regionId - The ID of the region to fetch market history for
54
- * @param typeId - The type ID of the item to get history for
55
- * @returns A list of daily market history entries with price and volume data
56
- */
57
- getMarketHistory(regionId, typeId) {
58
- return this.api.getMarketHistory(regionId, typeId);
59
- }
60
- /**
61
- * Retrieves all active market orders in a region for all item types.
62
- *
63
- * @param regionId - The ID of the region to fetch orders for
64
- * @returns A list of all active market orders in the region
65
- */
66
- getMarketOrders(regionId) {
67
- return this.api.getMarketOrders(regionId, 'all');
68
- }
69
- /**
70
- * Retrieves the list of type IDs that have active market orders in a region.
71
- *
72
- * @param regionId - The ID of the region to check for active types
73
- * @returns A list of type IDs with active orders in the region
74
- */
75
- getMarketTypes(regionId) {
76
- return this.api.getMarketTypes(regionId);
77
- }
78
- /**
79
- * Retrieves the list of all market group IDs used to categorize items on the market.
80
- *
81
- * @returns A list of all market group IDs
82
- */
83
- getMarketGroups() {
84
- return this.api.getMarketGroups();
85
- }
86
- /**
87
- * Retrieves detailed information about a specific market group, including its name, description, and contained types.
88
- *
89
- * @param marketGroupId - The ID of the market group to look up
90
- * @returns The market group details including name, description, types, and optional parent group
91
- */
92
- getMarketGroupInformation(marketGroupId) {
93
- return this.api.getMarketGroupInformation(marketGroupId);
94
- }
95
- /**
96
- * Retrieves the global average and adjusted prices for all tradeable item types.
97
- *
98
- * @returns A list of item types with their average and adjusted market prices
99
- */
100
- getMarketPrices() {
101
- return this.api.getMarketPrices();
102
- }
103
- /**
104
- * Retrieves all active market orders listed in a specific player-owned structure.
105
- *
106
- * @param structureId - The ID of the structure to fetch orders for
107
- * @returns A list of active market orders in the structure
108
- */
109
- getMarketOrdersInStructure(structureId) {
110
- return this.api.getMarketOrdersInStructure(structureId);
111
- }
112
- streamMarketOrders(regionId) {
113
- return this.streamEndpoint('getMarketOrders', regionId, 'all');
114
- }
115
- streamMarketTypes(regionId) {
116
- return this.streamEndpoint('getMarketTypes', regionId);
117
- }
118
- streamCharacterOrderHistory(characterId) {
119
- return this.streamEndpoint('getCharacterOrderHistory', characterId);
120
- }
121
- streamCorporationOrders(corporationId) {
122
- return this.streamEndpoint('getCorporationOrders', corporationId);
123
- }
124
- streamCorporationOrderHistory(corporationId) {
125
- return this.streamEndpoint('getCorporationOrderHistory', corporationId);
126
- }
127
- streamMarketOrdersInStructure(structureId) {
128
- return this.streamEndpoint('getMarketOrdersInStructure', structureId);
129
- }
130
- }
131
- exports.MarketClient = MarketClient;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MercenaryClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const mercenaryEndpoints_1 = require("../core/endpoints/mercenaryEndpoints");
6
- class MercenaryClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, mercenaryEndpoints_1.mercenaryEndpoints);
9
- }
10
- /**
11
- * Retrieves all mercenary dens with their development and anarchy parameters.
12
- *
13
- * @returns A list of mercenary dens
14
- */
15
- getMercenaryDens() {
16
- return this.api.getMercenaryDens();
17
- }
18
- /**
19
- * Retrieves all mercenary tactical operations (MTOs) spawned from mercenary dens.
20
- *
21
- * @returns A list of mercenary tactical operations
22
- */
23
- getMercenaryTacticalOperations() {
24
- return this.api.getMercenaryTacticalOperations();
25
- }
26
- }
27
- exports.MercenaryClient = MercenaryClient;
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MetaClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const metaEndpoints_1 = require("../core/endpoints/metaEndpoints");
6
- const loggerUtil_1 = require("../core/logger/loggerUtil");
7
- const constants_1 = require("../core/constants");
8
- class MetaClient extends BaseEsiClient_1.BaseEsiClient {
9
- constructor(client) {
10
- super(client, metaEndpoints_1.metaEndpoints);
11
- }
12
- /**
13
- * Retrieves the ESI OpenAPI specification in JSON format.
14
- *
15
- * @returns The full ESI OpenAPI specification as a JSON object
16
- */
17
- /* eslint-disable @typescript-eslint/no-explicit-any */
18
- getOpenApiJson() {
19
- return this.api.getOpenApiJson();
20
- }
21
- /* eslint-enable @typescript-eslint/no-explicit-any */
22
- /**
23
- * Retrieves the ESI OpenAPI specification in YAML format.
24
- *
25
- * @returns The full ESI OpenAPI specification as a YAML string
26
- */
27
- async getOpenApiYaml() {
28
- const url = `${this._client.getLink()}/meta/openapi.yaml`;
29
- (0, loggerUtil_1.logInfo)(`Hitting endpoint: ${url}`);
30
- try {
31
- const response = await fetch(url, {
32
- method: 'GET',
33
- headers: {
34
- accept: 'text/yaml, application/x-yaml, text/plain',
35
- 'User-Agent': constants_1.USER_AGENT,
36
- 'X-Compatibility-Date': constants_1.COMPATIBILITY_DATE,
37
- },
38
- });
39
- if (!response.ok) {
40
- throw new Error(`HTTP ${response.status}: ${response.statusText}`);
41
- }
42
- return await response.text();
43
- }
44
- catch (error) {
45
- if (error instanceof Error) {
46
- (0, loggerUtil_1.logError)(`Error fetching YAML: ${error.message}`);
47
- throw error;
48
- }
49
- else {
50
- (0, loggerUtil_1.logError)(`Unexpected error: ${String(error)}`);
51
- throw new Error(String(error));
52
- }
53
- }
54
- }
55
- }
56
- exports.MetaClient = MetaClient;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PiClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const piEndpoints_1 = require("../core/endpoints/piEndpoints");
6
- class PiClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, piEndpoints_1.piEndpoints);
9
- }
10
- /**
11
- * Retrieves the list of planetary interaction colonies owned by a character.
12
- *
13
- * @param characterId - The ID of the character whose colonies to fetch
14
- * @returns A list of the character's planetary colonies
15
- * @requires Authentication
16
- */
17
- getColonies(characterId) {
18
- return this.api.getColonies(characterId);
19
- }
20
- /**
21
- * Retrieves the full layout of a planetary colony including pins, links, and routes.
22
- *
23
- * @param characterId - The ID of the character who owns the colony
24
- * @param planetId - The ID of the planet to get the colony layout for
25
- * @returns The colony layout with pins, links, and routes
26
- * @requires Authentication
27
- */
28
- getColonyLayout(characterId, planetId) {
29
- return this.api.getColonyLayout(characterId, planetId);
30
- }
31
- /**
32
- * Retrieves the list of customs offices owned by a corporation.
33
- *
34
- * @param corporationId - The ID of the corporation whose customs offices to fetch
35
- * @returns A list of the corporation's customs offices with their settings
36
- * @requires Authentication
37
- */
38
- getCorporationCustomsOffices(corporationId) {
39
- return this.api.getCorporationCustomsOffices(corporationId);
40
- }
41
- /**
42
- * Retrieves information about a planetary interaction schematic, including its inputs and outputs.
43
- *
44
- * @param schematicId - The ID of the schematic to look up
45
- * @returns The schematic details including cycle time, inputs, and outputs
46
- */
47
- getSchematicInformation(schematicId) {
48
- return this.api.getSchematicInformation(schematicId);
49
- }
50
- }
51
- exports.PiClient = PiClient;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RouteClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const routeEndpoints_1 = require("../core/endpoints/routeEndpoints");
6
- class RouteClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, routeEndpoints_1.routeEndpoints);
9
- }
10
- /**
11
- * Calculates a route between two solar systems, returning the list of system IDs along the path via POST.
12
- *
13
- * @param origin - The solar system ID to start the route from
14
- * @param destination - The solar system ID to route to
15
- * @param options - Optional routing preferences such as route type, avoided systems, and custom connections
16
- * @returns An ordered list of solar system IDs representing the route
17
- */
18
- async getRoute(origin, destination, options) {
19
- const body = options ?? {};
20
- const result = (await this.api.getRoute(origin, destination, body));
21
- return result.route;
22
- }
23
- }
24
- exports.RouteClient = RouteClient;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const searchEndpoints_1 = require("../core/endpoints/searchEndpoints");
6
- class SearchClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, searchEndpoints_1.searchEndpoints);
9
- }
10
- /**
11
- * Searches for entities matching a query string on behalf of a character.
12
- *
13
- * @param characterId - The ID of the character performing the search
14
- * @param searchString - The search query string to match against
15
- * @returns Search results grouped by entity category
16
- * @requires Authentication
17
- */
18
- characterSearch(characterId, searchString, categories) {
19
- return this.api.searchCharacter(characterId, searchString, categories.join(','));
20
- }
21
- }
22
- exports.SearchClient = SearchClient;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CharacterSkillsClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const skillEndpoints_1 = require("../core/endpoints/skillEndpoints");
6
- class CharacterSkillsClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, skillEndpoints_1.skillEndpoints);
9
- }
10
- /**
11
- * Retrieves a character's neural remap attribute values (intelligence, memory, charisma, perception, willpower).
12
- *
13
- * @param characterId - The ID of the character
14
- * @returns The character's current attribute values and bonus remap information
15
- * @requires Authentication
16
- */
17
- getCharacterAttributes(characterId) {
18
- return this.api.getCharacterAttributes(characterId);
19
- }
20
- /**
21
- * Retrieves the skill training queue for a character.
22
- *
23
- * @param characterId - The ID of the character
24
- * @returns An ordered list of skills currently in the character's training queue
25
- * @requires Authentication
26
- */
27
- getCharacterSkillQueue(characterId) {
28
- return this.api.getCharacterSkillQueue(characterId);
29
- }
30
- /**
31
- * Retrieves all trained skills for a character, including total and unallocated skill points.
32
- *
33
- * @param characterId - The ID of the character
34
- * @returns The character's trained skills, total SP, and optionally unallocated SP
35
- * @requires Authentication
36
- */
37
- getCharacterSkills(characterId) {
38
- return this.api.getCharacterSkills(characterId);
39
- }
40
- }
41
- exports.CharacterSkillsClient = CharacterSkillsClient;
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SkyhooksClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const skyhookEndpoints_1 = require("../core/endpoints/skyhookEndpoints");
6
- class SkyhooksClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, skyhookEndpoints_1.skyhookEndpoints);
9
- }
10
- /**
11
- * Retrieves all sovereignty hubs exposed as Upwell structures, including online status and installed upgrades.
12
- *
13
- * @returns A list of sovereignty hubs
14
- */
15
- getSovereigntyHubs() {
16
- return this.api.getSovereigntyHubs();
17
- }
18
- /**
19
- * Retrieves all orbital skyhooks with their silo capacity and levels.
20
- *
21
- * @returns A list of orbital skyhooks
22
- */
23
- getOrbitalSkyhooks() {
24
- return this.api.getOrbitalSkyhooks();
25
- }
26
- /**
27
- * Retrieves the rolling list of skyhooks that are currently or becoming raidable across New Eden.
28
- *
29
- * @returns A list of raidable skyhooks
30
- */
31
- getRaidableSkyhooks() {
32
- return this.api.getRaidableSkyhooks();
33
- }
34
- }
35
- exports.SkyhooksClient = SkyhooksClient;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SovereigntyClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const sovereigntyEndpoints_1 = require("../core/endpoints/sovereigntyEndpoints");
6
- class SovereigntyClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, sovereigntyEndpoints_1.sovereigntyEndpoints);
9
- }
10
- /**
11
- * Retrieves all active sovereignty campaigns, including command node contests and station freeports.
12
- *
13
- * @returns A list of active sovereignty campaigns
14
- */
15
- getSovereigntyCampaigns() {
16
- return this.api.getSovereigntyCampaigns();
17
- }
18
- /**
19
- * Retrieves the combined sovereignty systems data including occupancy, structures, and separate ADM indices (military, industry, strategic).
20
- *
21
- * @returns A list of sovereignty systems with ownership, ADM indices, and anchored structures
22
- */
23
- getSovereigntySystems() {
24
- return this.api.getSovereigntySystems();
25
- }
26
- }
27
- exports.SovereigntyClient = SovereigntyClient;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatusClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const statusEndpoints_1 = require("../core/endpoints/statusEndpoints");
6
- class StatusClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, statusEndpoints_1.statusEndpoints);
9
- }
10
- /**
11
- * Retrieves the current Tranquility server status, including player count and server version.
12
- *
13
- * @returns The current server status information
14
- */
15
- getStatus() {
16
- return this.api.getStatus();
17
- }
18
- }
19
- exports.StatusClient = StatusClient;
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UiClient = void 0;
4
- const BaseEsiClient_1 = require("./BaseEsiClient");
5
- const uiEndpoints_1 = require("../core/endpoints/uiEndpoints");
6
- class UiClient extends BaseEsiClient_1.BaseEsiClient {
7
- constructor(client) {
8
- super(client, uiEndpoints_1.uiEndpoints);
9
- }
10
- /**
11
- * Sets a solar system as an autopilot waypoint in the EVE client.
12
- *
13
- * @param destinationId - The solar system, station, or structure ID to set as waypoint
14
- * @param addToBeginning - Whether to add the waypoint to the beginning of the route
15
- * @param clearOtherWaypoints - Whether to clear existing waypoints first
16
- * @requires Authentication
17
- */
18
- setAutopilotWaypoint(destinationId, addToBeginning, clearOtherWaypoints) {
19
- return this.api.setAutopilotWaypoint(destinationId, addToBeginning, clearOtherWaypoints);
20
- }
21
- /**
22
- * Opens the contract window for a specific contract in the EVE client.
23
- *
24
- * @param contractId - The contract ID to display
25
- * @requires Authentication
26
- */
27
- openContractWindow(contractId) {
28
- return this.api.openContractWindow(contractId);
29
- }
30
- /**
31
- * Opens the information window for a specific entity in the EVE client.
32
- *
33
- * @param targetId - The character, corporation, alliance, or type ID to display
34
- * @requires Authentication
35
- */
36
- openInformationWindow(targetId) {
37
- return this.api.openInformationWindow(targetId);
38
- }
39
- /**
40
- * Opens the market details window for a specific type in the EVE client.
41
- *
42
- * @param typeId - The inventory type ID to display market details for
43
- * @requires Authentication
44
- */
45
- openMarketDetailsWindow(typeId) {
46
- return this.api.openMarketDetailsWindow(typeId);
47
- }
48
- /**
49
- * Opens the new mail composition window in the EVE client with pre-filled fields.
50
- *
51
- * @param body - The mail details including recipients (integer array), subject, and body text
52
- * @requires Authentication
53
- */
54
- openNewMailWindow(body) {
55
- return this.api.openNewMailWindow(body);
56
- }
57
- }
58
- exports.UiClient = UiClient;