@lgriffin/esi.ts 2.0.0 → 5.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 (1720) hide show
  1. package/CHANGELOG.md +156 -0
  2. package/LICENSE +26 -26
  3. package/README.md +562 -936
  4. package/dist/EsiClient.d.ts +117 -0
  5. package/dist/EsiClient.d.ts.map +1 -0
  6. package/dist/EsiClient.js +232 -0
  7. package/dist/EsiClientBuilder.d.ts +74 -0
  8. package/dist/EsiClientBuilder.d.ts.map +1 -0
  9. package/dist/EsiClientBuilder.js +217 -0
  10. package/dist/clients/AccessListsClient.d.ts +15 -0
  11. package/dist/clients/AccessListsClient.d.ts.map +1 -0
  12. package/dist/clients/AccessListsClient.js +20 -0
  13. package/dist/clients/AllianceClient.d.ts +52 -0
  14. package/dist/clients/AllianceClient.d.ts.map +1 -0
  15. package/dist/clients/AllianceClient.js +70 -0
  16. package/dist/clients/AssetsClient.d.ts +60 -0
  17. package/dist/clients/AssetsClient.d.ts.map +1 -0
  18. package/dist/clients/AssetsClient.js +75 -0
  19. package/dist/clients/BaseEsiClient.d.ts +14 -0
  20. package/dist/clients/BaseEsiClient.d.ts.map +1 -0
  21. package/dist/clients/BaseEsiClient.js +24 -0
  22. package/dist/clients/CalendarClient.d.ts +43 -0
  23. package/dist/clients/CalendarClient.d.ts.map +1 -0
  24. package/dist/clients/CalendarClient.js +54 -0
  25. package/dist/clients/CharacterClient.d.ts +118 -0
  26. package/dist/clients/CharacterClient.d.ts.map +1 -0
  27. package/dist/clients/CharacterClient.js +149 -0
  28. package/dist/clients/ClonesClient.d.ts +24 -0
  29. package/dist/clients/ClonesClient.d.ts.map +1 -0
  30. package/dist/clients/ClonesClient.js +31 -0
  31. package/dist/clients/ContactsClient.d.ts +81 -0
  32. package/dist/clients/ContactsClient.d.ts.map +1 -0
  33. package/dist/clients/ContactsClient.js +102 -0
  34. package/dist/clients/ContractsClient.d.ts +81 -0
  35. package/dist/clients/ContractsClient.d.ts.map +1 -0
  36. package/dist/clients/ContractsClient.js +102 -0
  37. package/dist/clients/CorporationsClient.d.ts +184 -0
  38. package/dist/clients/CorporationsClient.d.ts.map +1 -0
  39. package/dist/clients/CorporationsClient.js +227 -0
  40. package/dist/clients/DogmaClient.d.ts +42 -0
  41. package/dist/clients/DogmaClient.d.ts.map +1 -0
  42. package/dist/clients/DogmaClient.js +55 -0
  43. package/dist/clients/FactionClient.d.ts +60 -0
  44. package/dist/clients/FactionClient.d.ts.map +1 -0
  45. package/dist/clients/FactionClient.js +79 -0
  46. package/dist/clients/FittingsClient.d.ts +35 -0
  47. package/dist/clients/FittingsClient.d.ts.map +1 -0
  48. package/dist/clients/FittingsClient.js +42 -0
  49. package/dist/clients/FleetClient.d.ts +129 -0
  50. package/dist/clients/FleetClient.d.ts.map +1 -0
  51. package/dist/clients/FleetClient.js +156 -0
  52. package/dist/clients/FreelanceJobsClient.d.ts +61 -0
  53. package/dist/clients/FreelanceJobsClient.d.ts.map +1 -0
  54. package/dist/clients/FreelanceJobsClient.js +76 -0
  55. package/dist/clients/IncursionsClient.d.ts +14 -0
  56. package/dist/clients/IncursionsClient.d.ts.map +1 -0
  57. package/dist/clients/IncursionsClient.js +19 -0
  58. package/dist/clients/IndustryClient.d.ts +69 -0
  59. package/dist/clients/IndustryClient.d.ts.map +1 -0
  60. package/dist/clients/IndustryClient.js +88 -0
  61. package/dist/clients/InsuranceClient.d.ts +14 -0
  62. package/dist/clients/InsuranceClient.d.ts.map +1 -0
  63. package/dist/clients/InsuranceClient.js +19 -0
  64. package/dist/clients/KillmailsClient.d.ts +32 -0
  65. package/dist/clients/KillmailsClient.d.ts.map +1 -0
  66. package/dist/clients/KillmailsClient.js +41 -0
  67. package/dist/clients/LocationClient.d.ts +32 -0
  68. package/dist/clients/LocationClient.d.ts.map +1 -0
  69. package/dist/clients/LocationClient.js +41 -0
  70. package/dist/clients/LoyaltyClient.d.ts +23 -0
  71. package/dist/clients/LoyaltyClient.d.ts.map +1 -0
  72. package/dist/clients/LoyaltyClient.js +30 -0
  73. package/dist/clients/MailClient.d.ts +93 -0
  74. package/dist/clients/MailClient.d.ts.map +1 -0
  75. package/dist/clients/MailClient.js +108 -0
  76. package/dist/clients/MarketClient.d.ts +98 -0
  77. package/dist/clients/MarketClient.d.ts.map +1 -0
  78. package/dist/clients/MarketClient.js +113 -0
  79. package/dist/clients/MercenaryClient.d.ts +20 -0
  80. package/dist/clients/MercenaryClient.d.ts.map +1 -0
  81. package/dist/clients/MercenaryClient.js +27 -0
  82. package/dist/clients/MetaClient.d.ts +19 -0
  83. package/dist/clients/MetaClient.d.ts.map +1 -0
  84. package/dist/clients/MetaClient.js +56 -0
  85. package/dist/clients/PiClient.d.ts +40 -0
  86. package/dist/clients/PiClient.d.ts.map +1 -0
  87. package/dist/clients/PiClient.js +51 -0
  88. package/dist/clients/RouteClient.d.ts +25 -0
  89. package/dist/clients/RouteClient.d.ts.map +1 -0
  90. package/dist/clients/RouteClient.js +24 -0
  91. package/dist/clients/SearchClient.d.ts +17 -0
  92. package/dist/clients/SearchClient.d.ts.map +1 -0
  93. package/dist/clients/SearchClient.js +22 -0
  94. package/dist/clients/SkillsClient.d.ts +36 -0
  95. package/dist/clients/SkillsClient.d.ts.map +1 -0
  96. package/dist/clients/SkillsClient.js +41 -0
  97. package/dist/clients/SkyhooksClient.d.ts +26 -0
  98. package/dist/clients/SkyhooksClient.d.ts.map +1 -0
  99. package/dist/clients/SkyhooksClient.js +35 -0
  100. package/dist/clients/SovereigntyClient.d.ts +20 -0
  101. package/dist/clients/SovereigntyClient.d.ts.map +1 -0
  102. package/dist/clients/SovereigntyClient.js +27 -0
  103. package/dist/clients/StatusClient.d.ts +14 -0
  104. package/dist/clients/StatusClient.d.ts.map +1 -0
  105. package/dist/clients/StatusClient.js +19 -0
  106. package/dist/clients/UiClient.d.ts +42 -0
  107. package/dist/clients/UiClient.d.ts.map +1 -0
  108. package/dist/clients/UiClient.js +56 -0
  109. package/dist/clients/UniverseClient.d.ts +212 -0
  110. package/dist/clients/UniverseClient.d.ts.map +1 -0
  111. package/dist/clients/UniverseClient.js +277 -0
  112. package/dist/clients/WalletClient.d.ts +61 -0
  113. package/dist/clients/WalletClient.d.ts.map +1 -0
  114. package/dist/clients/WalletClient.js +73 -0
  115. package/dist/clients/WarsClient.d.ts +28 -0
  116. package/dist/clients/WarsClient.d.ts.map +1 -0
  117. package/dist/clients/WarsClient.js +37 -0
  118. package/dist/config/configManager.d.ts +8 -0
  119. package/dist/config/configManager.d.ts.map +1 -0
  120. package/dist/config/configManager.js +47 -0
  121. package/dist/config/jest/globalSetup.d.ts +2 -0
  122. package/dist/config/jest/globalSetup.d.ts.map +1 -0
  123. package/dist/config/jest/globalSetup.js +7 -0
  124. package/dist/config/jest/globalTeardown.d.ts +2 -0
  125. package/dist/config/jest/globalTeardown.d.ts.map +1 -0
  126. package/dist/config/jest/globalTeardown.js +7 -0
  127. package/dist/config/jest/jest.setup.d.ts +3 -0
  128. package/dist/config/jest/jest.setup.d.ts.map +1 -0
  129. package/dist/config/jest/jest.setup.js +29 -0
  130. package/dist/core/ApiClient.d.ts +44 -0
  131. package/dist/core/ApiClient.d.ts.map +1 -0
  132. package/dist/core/ApiClient.js +102 -0
  133. package/dist/core/ApiClientBuilder.d.ts +22 -0
  134. package/dist/core/ApiClientBuilder.d.ts.map +1 -0
  135. package/dist/core/ApiClientBuilder.js +54 -0
  136. package/dist/core/ApiRequestHandler.d.ts +11 -0
  137. package/dist/core/ApiRequestHandler.d.ts.map +1 -0
  138. package/dist/core/ApiRequestHandler.js +369 -0
  139. package/dist/core/ClientRegistry.d.ts +41 -0
  140. package/dist/core/ClientRegistry.d.ts.map +1 -0
  141. package/dist/core/ClientRegistry.js +116 -0
  142. package/dist/core/EsiDiagnostics.d.ts +35 -0
  143. package/dist/core/EsiDiagnostics.d.ts.map +1 -0
  144. package/dist/core/EsiDiagnostics.js +47 -0
  145. package/dist/core/RequestDeduplicator.d.ts +7 -0
  146. package/dist/core/RequestDeduplicator.d.ts.map +1 -0
  147. package/dist/core/RequestDeduplicator.js +26 -0
  148. package/dist/core/cache/ETagCacheManager.d.ts +71 -0
  149. package/dist/core/cache/ETagCacheManager.d.ts.map +1 -0
  150. package/dist/core/cache/ETagCacheManager.js +184 -0
  151. package/dist/core/cache/ICache.d.ts +27 -0
  152. package/dist/core/cache/ICache.d.ts.map +1 -0
  153. package/dist/core/cache/ICache.js +2 -0
  154. package/dist/core/circuitBreaker/CircuitBreaker.d.ts +39 -0
  155. package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -0
  156. package/dist/core/circuitBreaker/CircuitBreaker.js +156 -0
  157. package/dist/core/constants.d.ts +5 -0
  158. package/dist/core/constants.d.ts.map +1 -0
  159. package/dist/core/constants.js +7 -0
  160. package/dist/core/endpoints/EndpointDefinition.d.ts +50 -0
  161. package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -0
  162. package/dist/core/endpoints/EndpointDefinition.js +2 -0
  163. package/dist/core/endpoints/accessListEndpoints.d.ts +9 -0
  164. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -0
  165. package/dist/core/endpoints/accessListEndpoints.js +11 -0
  166. package/dist/core/endpoints/allianceEndpoints.d.ts +26 -0
  167. package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -0
  168. package/dist/core/endpoints/allianceEndpoints.js +28 -0
  169. package/dist/core/endpoints/assetEndpoints.d.ts +43 -0
  170. package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -0
  171. package/dist/core/endpoints/assetEndpoints.js +45 -0
  172. package/dist/core/endpoints/calendarEndpoints.d.ts +30 -0
  173. package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -0
  174. package/dist/core/endpoints/calendarEndpoints.js +30 -0
  175. package/dist/core/endpoints/characterEndpoints.d.ts +88 -0
  176. package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -0
  177. package/dist/core/endpoints/characterEndpoints.js +90 -0
  178. package/dist/core/endpoints/cloneEndpoints.d.ts +15 -0
  179. package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -0
  180. package/dist/core/endpoints/cloneEndpoints.js +17 -0
  181. package/dist/core/endpoints/contactEndpoints.d.ts +60 -0
  182. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -0
  183. package/dist/core/endpoints/contactEndpoints.js +62 -0
  184. package/dist/core/endpoints/contractEndpoints.d.ts +57 -0
  185. package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -0
  186. package/dist/core/endpoints/contractEndpoints.js +59 -0
  187. package/dist/core/endpoints/corporationEndpoints.d.ts +134 -0
  188. package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -0
  189. package/dist/core/endpoints/corporationEndpoints.js +136 -0
  190. package/dist/core/endpoints/createClient.d.ts +48 -0
  191. package/dist/core/endpoints/createClient.d.ts.map +1 -0
  192. package/dist/core/endpoints/createClient.js +170 -0
  193. package/dist/core/endpoints/dogmaEndpoints.d.ts +31 -0
  194. package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -0
  195. package/dist/core/endpoints/dogmaEndpoints.js +33 -0
  196. package/dist/core/endpoints/factionEndpoints.d.ts +45 -0
  197. package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -0
  198. package/dist/core/endpoints/factionEndpoints.js +47 -0
  199. package/dist/core/endpoints/fittingEndpoints.d.ts +22 -0
  200. package/dist/core/endpoints/fittingEndpoints.d.ts.map +1 -0
  201. package/dist/core/endpoints/fittingEndpoints.js +24 -0
  202. package/dist/core/endpoints/fleetEndpoints.d.ts +97 -0
  203. package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -0
  204. package/dist/core/endpoints/fleetEndpoints.js +95 -0
  205. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +50 -0
  206. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -0
  207. package/dist/core/endpoints/freelanceJobsEndpoints.js +43 -0
  208. package/dist/core/endpoints/incursionEndpoints.d.ts +8 -0
  209. package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -0
  210. package/dist/core/endpoints/incursionEndpoints.js +10 -0
  211. package/dist/core/endpoints/industryEndpoints.d.ts +49 -0
  212. package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -0
  213. package/dist/core/endpoints/industryEndpoints.js +51 -0
  214. package/dist/core/endpoints/insuranceEndpoints.d.ts +8 -0
  215. package/dist/core/endpoints/insuranceEndpoints.d.ts.map +1 -0
  216. package/dist/core/endpoints/insuranceEndpoints.js +10 -0
  217. package/dist/core/endpoints/killmailEndpoints.d.ts +21 -0
  218. package/dist/core/endpoints/killmailEndpoints.d.ts.map +1 -0
  219. package/dist/core/endpoints/killmailEndpoints.js +23 -0
  220. package/dist/core/endpoints/locationEndpoints.d.ts +21 -0
  221. package/dist/core/endpoints/locationEndpoints.d.ts.map +1 -0
  222. package/dist/core/endpoints/locationEndpoints.js +23 -0
  223. package/dist/core/endpoints/loyaltyEndpoints.d.ts +15 -0
  224. package/dist/core/endpoints/loyaltyEndpoints.d.ts.map +1 -0
  225. package/dist/core/endpoints/loyaltyEndpoints.js +17 -0
  226. package/dist/core/endpoints/mailEndpoints.d.ts +60 -0
  227. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -0
  228. package/dist/core/endpoints/mailEndpoints.js +62 -0
  229. package/dist/core/endpoints/marketEndpoints.d.ts +73 -0
  230. package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -0
  231. package/dist/core/endpoints/marketEndpoints.js +71 -0
  232. package/dist/core/endpoints/mercenaryEndpoints.d.ts +13 -0
  233. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -0
  234. package/dist/core/endpoints/mercenaryEndpoints.js +15 -0
  235. package/dist/core/endpoints/metaEndpoints.d.ts +8 -0
  236. package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -0
  237. package/dist/core/endpoints/metaEndpoints.js +10 -0
  238. package/dist/core/endpoints/piEndpoints.d.ts +27 -0
  239. package/dist/core/endpoints/piEndpoints.d.ts.map +1 -0
  240. package/dist/core/endpoints/piEndpoints.js +29 -0
  241. package/dist/core/endpoints/routeEndpoints.d.ts +10 -0
  242. package/dist/core/endpoints/routeEndpoints.d.ts.map +1 -0
  243. package/dist/core/endpoints/routeEndpoints.js +12 -0
  244. package/dist/core/endpoints/searchEndpoints.d.ts +13 -0
  245. package/dist/core/endpoints/searchEndpoints.d.ts.map +1 -0
  246. package/dist/core/endpoints/searchEndpoints.js +12 -0
  247. package/dist/core/endpoints/skillEndpoints.d.ts +21 -0
  248. package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -0
  249. package/dist/core/endpoints/skillEndpoints.js +23 -0
  250. package/dist/core/endpoints/skyhookEndpoints.d.ts +18 -0
  251. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -0
  252. package/dist/core/endpoints/skyhookEndpoints.js +20 -0
  253. package/dist/core/endpoints/sovereigntyEndpoints.d.ts +13 -0
  254. package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -0
  255. package/dist/core/endpoints/sovereigntyEndpoints.js +15 -0
  256. package/dist/core/endpoints/statusEndpoints.d.ts +8 -0
  257. package/dist/core/endpoints/statusEndpoints.d.ts.map +1 -0
  258. package/dist/core/endpoints/statusEndpoints.js +10 -0
  259. package/dist/core/endpoints/uiEndpoints.d.ts +33 -0
  260. package/dist/core/endpoints/uiEndpoints.d.ts.map +1 -0
  261. package/dist/core/endpoints/uiEndpoints.js +35 -0
  262. package/dist/core/endpoints/universeEndpoints.d.ts +175 -0
  263. package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -0
  264. package/dist/core/endpoints/universeEndpoints.js +177 -0
  265. package/dist/core/endpoints/walletEndpoints.d.ts +39 -0
  266. package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -0
  267. package/dist/core/endpoints/walletEndpoints.js +41 -0
  268. package/dist/core/endpoints/warEndpoints.d.ts +20 -0
  269. package/dist/core/endpoints/warEndpoints.d.ts.map +1 -0
  270. package/dist/core/endpoints/warEndpoints.js +22 -0
  271. package/dist/core/logger/ILogger.d.ts +7 -0
  272. package/dist/core/logger/ILogger.d.ts.map +1 -0
  273. package/dist/core/logger/ILogger.js +2 -0
  274. package/dist/core/logger/logger.d.ts +3 -0
  275. package/dist/core/logger/logger.d.ts.map +1 -0
  276. package/dist/core/logger/logger.js +16 -0
  277. package/dist/core/logger/loggerUtil.d.ts +9 -0
  278. package/dist/core/logger/loggerUtil.d.ts.map +1 -0
  279. package/dist/core/logger/loggerUtil.js +30 -0
  280. package/dist/core/middleware/Middleware.d.ts +30 -0
  281. package/dist/core/middleware/Middleware.d.ts.map +1 -0
  282. package/dist/core/middleware/Middleware.js +42 -0
  283. package/dist/core/pagination/AsyncPaginationIterator.d.ts +8 -0
  284. package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -0
  285. package/dist/core/pagination/AsyncPaginationIterator.js +27 -0
  286. package/dist/core/pagination/CursorPaginationHandler.d.ts +59 -0
  287. package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -0
  288. package/dist/core/pagination/CursorPaginationHandler.js +148 -0
  289. package/dist/core/pagination/PaginationHandler.d.ts +30 -0
  290. package/dist/core/pagination/PaginationHandler.d.ts.map +1 -0
  291. package/dist/core/pagination/PaginationHandler.js +115 -0
  292. package/dist/core/rateLimiter/IRateLimiter.d.ts +17 -0
  293. package/dist/core/rateLimiter/IRateLimiter.d.ts.map +1 -0
  294. package/dist/core/rateLimiter/IRateLimiter.js +2 -0
  295. package/dist/core/rateLimiter/RateLimiter.d.ts +77 -0
  296. package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -0
  297. package/dist/core/rateLimiter/RateLimiter.js +203 -0
  298. package/dist/core/util/error.d.ts +23 -0
  299. package/dist/core/util/error.d.ts.map +1 -0
  300. package/dist/core/util/error.js +100 -0
  301. package/dist/core/util/headersUtil.d.ts +22 -0
  302. package/dist/core/util/headersUtil.d.ts.map +1 -0
  303. package/dist/core/util/headersUtil.js +36 -0
  304. package/dist/core/util/sleep.d.ts +2 -0
  305. package/dist/core/util/sleep.d.ts.map +1 -0
  306. package/dist/core/util/sleep.js +6 -0
  307. package/dist/core/util/testHelpers.d.ts +2 -0
  308. package/dist/core/util/testHelpers.d.ts.map +1 -0
  309. package/dist/core/util/testHelpers.js +9 -0
  310. package/dist/core/util/validation.d.ts +4 -0
  311. package/dist/core/util/validation.d.ts.map +1 -0
  312. package/dist/core/util/validation.js +52 -0
  313. package/dist/index.d.ts +59 -0
  314. package/dist/index.d.ts.map +1 -0
  315. package/dist/index.js +143 -0
  316. package/dist/testing/TestDataFactory.d.ts +103 -0
  317. package/dist/testing/TestDataFactory.d.ts.map +1 -0
  318. package/dist/testing/TestDataFactory.js +814 -0
  319. package/dist/types/access-lists.d.ts +11 -0
  320. package/dist/types/access-lists.d.ts.map +1 -0
  321. package/dist/types/access-lists.js +2 -0
  322. package/dist/types/alliance.d.ts +25 -0
  323. package/dist/types/alliance.d.ts.map +1 -0
  324. package/dist/types/alliance.js +2 -0
  325. package/dist/types/api-responses.d.ts +33 -0
  326. package/dist/types/api-responses.d.ts.map +1 -0
  327. package/dist/types/api-responses.js +48 -0
  328. package/dist/types/assets.d.ts +23 -0
  329. package/dist/types/assets.d.ts.map +1 -0
  330. package/dist/types/assets.js +2 -0
  331. package/dist/types/calendar.d.ts +24 -0
  332. package/dist/types/calendar.d.ts.map +1 -0
  333. package/dist/types/calendar.js +2 -0
  334. package/dist/types/character.d.ts +105 -0
  335. package/dist/types/character.d.ts.map +1 -0
  336. package/dist/types/character.js +2 -0
  337. package/dist/types/clones.d.ts +16 -0
  338. package/dist/types/clones.d.ts.map +1 -0
  339. package/dist/types/clones.js +2 -0
  340. package/dist/types/common.d.ts +17 -0
  341. package/dist/types/common.d.ts.map +1 -0
  342. package/dist/types/common.js +2 -0
  343. package/dist/types/contacts.d.ts +12 -0
  344. package/dist/types/contacts.d.ts.map +1 -0
  345. package/dist/types/contacts.js +2 -0
  346. package/dist/types/contracts.d.ts +40 -0
  347. package/dist/types/contracts.d.ts.map +1 -0
  348. package/dist/types/contracts.js +2 -0
  349. package/dist/types/corporation.d.ts +167 -0
  350. package/dist/types/corporation.d.ts.map +1 -0
  351. package/dist/types/corporation.js +2 -0
  352. package/dist/types/dogma.d.ts +39 -0
  353. package/dist/types/dogma.d.ts.map +1 -0
  354. package/dist/types/dogma.js +2 -0
  355. package/dist/types/faction-warfare.d.ts +89 -0
  356. package/dist/types/faction-warfare.d.ts.map +1 -0
  357. package/dist/types/faction-warfare.js +2 -0
  358. package/dist/types/fittings.d.ts +12 -0
  359. package/dist/types/fittings.d.ts.map +1 -0
  360. package/dist/types/fittings.js +2 -0
  361. package/dist/types/fleet.d.ts +35 -0
  362. package/dist/types/fleet.d.ts.map +1 -0
  363. package/dist/types/fleet.js +2 -0
  364. package/dist/types/freelance-jobs.d.ts +92 -0
  365. package/dist/types/freelance-jobs.d.ts.map +1 -0
  366. package/dist/types/freelance-jobs.js +2 -0
  367. package/dist/types/incursions.d.ts +11 -0
  368. package/dist/types/incursions.d.ts.map +1 -0
  369. package/dist/types/incursions.js +2 -0
  370. package/dist/types/industry.d.ts +65 -0
  371. package/dist/types/industry.d.ts.map +1 -0
  372. package/dist/types/industry.js +2 -0
  373. package/dist/types/insurance.d.ts +9 -0
  374. package/dist/types/insurance.d.ts.map +1 -0
  375. package/dist/types/insurance.js +2 -0
  376. package/dist/types/killmails.d.ts +37 -0
  377. package/dist/types/killmails.d.ts.map +1 -0
  378. package/dist/types/killmails.js +2 -0
  379. package/dist/types/location.d.ts +17 -0
  380. package/dist/types/location.d.ts.map +1 -0
  381. package/dist/types/location.js +2 -0
  382. package/dist/types/loyalty.d.ts +17 -0
  383. package/dist/types/loyalty.d.ts.map +1 -0
  384. package/dist/types/loyalty.js +2 -0
  385. package/dist/types/mail.d.ts +19 -0
  386. package/dist/types/mail.d.ts.map +1 -0
  387. package/dist/types/mail.js +2 -0
  388. package/dist/types/market.d.ts +23 -0
  389. package/dist/types/market.d.ts.map +1 -0
  390. package/dist/types/market.js +2 -0
  391. package/dist/types/mercenary.d.ts +19 -0
  392. package/dist/types/mercenary.d.ts.map +1 -0
  393. package/dist/types/mercenary.js +2 -0
  394. package/dist/types/pi.d.ts +67 -0
  395. package/dist/types/pi.d.ts.map +1 -0
  396. package/dist/types/pi.js +2 -0
  397. package/dist/types/skills.d.ts +17 -0
  398. package/dist/types/skills.d.ts.map +1 -0
  399. package/dist/types/skills.js +2 -0
  400. package/dist/types/skyhooks.d.ts +27 -0
  401. package/dist/types/skyhooks.d.ts.map +1 -0
  402. package/dist/types/skyhooks.js +2 -0
  403. package/dist/types/sovereignty.d.ts +33 -0
  404. package/dist/types/sovereignty.d.ts.map +1 -0
  405. package/dist/types/sovereignty.js +2 -0
  406. package/dist/types/status.d.ts +7 -0
  407. package/dist/types/status.d.ts.map +1 -0
  408. package/dist/types/status.js +2 -0
  409. package/dist/types/universe.d.ts +275 -0
  410. package/dist/types/universe.d.ts.map +1 -0
  411. package/dist/types/universe.js +2 -0
  412. package/dist/types/wallet.d.ts +26 -0
  413. package/dist/types/wallet.d.ts.map +1 -0
  414. package/dist/types/wallet.js +2 -0
  415. package/dist/types/wars.d.ts +26 -0
  416. package/dist/types/wars.d.ts.map +1 -0
  417. package/dist/types/wars.js +2 -0
  418. package/package.json +181 -70
  419. package/.github/workflows/ci.yml +0 -16
  420. package/.prettierrc +0 -6
  421. package/DOCUMENTATION.md +0 -106
  422. package/TESTING.md +0 -523
  423. package/demo/examples.ts +0 -250
  424. package/demo/flexible-examples.ts +0 -166
  425. package/docs/.nojekyll +0 -1
  426. package/docs/assets/highlight.css +0 -106
  427. package/docs/assets/icons.js +0 -18
  428. package/docs/assets/icons.svg +0 -1
  429. package/docs/assets/main.js +0 -60
  430. package/docs/assets/navigation.js +0 -1
  431. package/docs/assets/search.js +0 -1
  432. package/docs/assets/style.css +0 -1493
  433. package/docs/classes/src_EsiClient.EsiClient.html +0 -48
  434. package/docs/classes/src_EsiClientBuilder.CustomEsiClient.html +0 -43
  435. package/docs/classes/src_EsiClientBuilder.EsiApiFactory.html +0 -23
  436. package/docs/classes/src_EsiClientBuilder.EsiClientBuilder.html +0 -15
  437. package/docs/classes/src_api_alliances_getAllianceById.AllianceByIdApi.html +0 -3
  438. package/docs/classes/src_api_alliances_getAllianceContactLabels.AllianceContactLabelsApi.html +0 -3
  439. package/docs/classes/src_api_alliances_getAllianceContacts.AllianceContactsApi.html +0 -3
  440. package/docs/classes/src_api_alliances_getAllianceCorporations.AllianceCorporationsApi.html +0 -3
  441. package/docs/classes/src_api_alliances_getAllianceIcons.AllianceIconsApi.html +0 -3
  442. package/docs/classes/src_api_alliances_getAlliances.AllAlliancesApi.html +0 -3
  443. package/docs/classes/src_api_assets_getCharacterAssets.GetCharacterAssetsApi.html +0 -3
  444. package/docs/classes/src_api_assets_getCorporationAssets.GetCorporationAssetsApi.html +0 -3
  445. package/docs/classes/src_api_assets_postCharacterAssetLocations.PostCharacterAssetLocationsApi.html +0 -3
  446. package/docs/classes/src_api_assets_postCharacterAssetNames.PostCharacterAssetNamesApi.html +0 -3
  447. package/docs/classes/src_api_assets_postCorporationAssetLocations.PostCorporationAssetLocationsApi.html +0 -3
  448. package/docs/classes/src_api_assets_postCorporationAssetNames.PostCorporationAssetNamesApi.html +0 -3
  449. package/docs/classes/src_api_bookmarks_getCharacterBookmarkFolders.CharacterBookmarkFoldersApi.html +0 -3
  450. package/docs/classes/src_api_bookmarks_getCharacterBookmarks.CharacterBookmarksApi.html +0 -3
  451. package/docs/classes/src_api_bookmarks_getCorporationBookmarkFolders.CorporationBookmarkFoldersApi.html +0 -3
  452. package/docs/classes/src_api_bookmarks_getCorporationBookmarks.CorporationBookmarksApi.html +0 -3
  453. package/docs/classes/src_api_calendar_getCalendarEventById.GetCalendarEventByIdApi.html +0 -3
  454. package/docs/classes/src_api_calendar_getCalendarEvents.GetCalendarEventsApi.html +0 -3
  455. package/docs/classes/src_api_calendar_getEventAttendees.GetEventAttendeesApi.html +0 -3
  456. package/docs/classes/src_api_calendar_respondToCalendarEvent.RespondToCalendarEventApi.html +0 -3
  457. package/docs/classes/src_api_characters_getAgentsResearch.GetAgentsResearchApi.html +0 -3
  458. package/docs/classes/src_api_characters_getBlueprints.GetBlueprintsApi.html +0 -3
  459. package/docs/classes/src_api_characters_getCharacterPublicInfo.GetCharacterPublicInfoApi.html +0 -3
  460. package/docs/classes/src_api_characters_getCharacterRoles.GetCharacterRolesApi.html +0 -3
  461. package/docs/classes/src_api_characters_getCharacterStandings.GetCharacterStandingsApi.html +0 -3
  462. package/docs/classes/src_api_characters_getCharacterTitles.GetCharacterTitlesApi.html +0 -3
  463. package/docs/classes/src_api_characters_getContactNotifications.GetContactNotificationsApi.html +0 -3
  464. package/docs/classes/src_api_characters_getCorporationHistory.GetCorporationHistoryApi.html +0 -3
  465. package/docs/classes/src_api_characters_getJumpFatigue.GetJumpFatigueApi.html +0 -3
  466. package/docs/classes/src_api_characters_getMedals.GetMedalsApi.html +0 -3
  467. package/docs/classes/src_api_characters_getNotifications.GetNotificationsApi.html +0 -3
  468. package/docs/classes/src_api_characters_getPortrait.GetPortraitApi.html +0 -3
  469. package/docs/classes/src_api_characters_postCSPAChargeCost.PostCspaChargeCostApi.html +0 -3
  470. package/docs/classes/src_api_characters_postCharacterAffiliations.PostCharacterAffiliationApi.html +0 -3
  471. package/docs/classes/src_api_clones_getClones.GetClonesApi.html +0 -3
  472. package/docs/classes/src_api_clones_getImplants.GetImplantsApi.html +0 -3
  473. package/docs/classes/src_api_clones_postJumpCloneActivation.PostJumpCloneActivationApi.html +0 -3
  474. package/docs/classes/src_api_contacts_deleteCharacterContacts.deleteCharacterContacts.html +0 -3
  475. package/docs/classes/src_api_contacts_getAllianceContactLabels.getAllianceContactLabels.html +0 -3
  476. package/docs/classes/src_api_contacts_getAllianceContacts.getAllianceContacts.html +0 -3
  477. package/docs/classes/src_api_contacts_getCharacterContactLabels.getCharacterContactLabels.html +0 -3
  478. package/docs/classes/src_api_contacts_getCharacterContacts.getCharacterContacts.html +0 -3
  479. package/docs/classes/src_api_contacts_getCorporationContactLabels.getCorporationContactLabels.html +0 -3
  480. package/docs/classes/src_api_contacts_getCorporationContacts.getCorporationContacts.html +0 -3
  481. package/docs/classes/src_api_contacts_postCharacterContacts.postCharacterContacts.html +0 -3
  482. package/docs/classes/src_api_contacts_putCharacterContacts.putCharacterContacts.html +0 -3
  483. package/docs/classes/src_api_contracts_getCharacterContractBids.GetCharacterContractBidsApi.html +0 -3
  484. package/docs/classes/src_api_contracts_getCharacterContractItems.GetCharacterContractItemsApi.html +0 -3
  485. package/docs/classes/src_api_contracts_getCharacterContracts.GetCharacterContractsApi.html +0 -3
  486. package/docs/classes/src_api_contracts_getCorporationContractBids.GetCorporationContractBidsApi.html +0 -3
  487. package/docs/classes/src_api_contracts_getCorporationContractItems.GetCorporationContractItemsApi.html +0 -3
  488. package/docs/classes/src_api_contracts_getCorporationContracts.GetCorporationContractsApi.html +0 -3
  489. package/docs/classes/src_api_contracts_getPublicContractBids.GetPublicContractBidsApi.html +0 -3
  490. package/docs/classes/src_api_contracts_getPublicContractItems.GetPublicContractItemsApi.html +0 -3
  491. package/docs/classes/src_api_contracts_getPublicContracts.GetPublicContractsApi.html +0 -3
  492. package/docs/classes/src_api_corporations_getCorporationAllianceHistory.GetCorporationAllianceHistoryApi.html +0 -3
  493. package/docs/classes/src_api_corporations_getCorporationAlscLogs.GetCorporationAlscLogsApi.html +0 -3
  494. package/docs/classes/src_api_corporations_getCorporationBlueprints.GetCorporationBlueprintsApi.html +0 -3
  495. package/docs/classes/src_api_corporations_getCorporationDivisions.GetCorporationDivisionsApi.html +0 -3
  496. package/docs/classes/src_api_corporations_getCorporationFacilities.GetCorporationFacilitiesApi.html +0 -3
  497. package/docs/classes/src_api_corporations_getCorporationIcon.GetCorporationIconApi.html +0 -3
  498. package/docs/classes/src_api_corporations_getCorporationInfo.GetCorporationInfoApi.html +0 -3
  499. package/docs/classes/src_api_corporations_getCorporationIssuedMedals.GetCorporationIssuedMedalsApi.html +0 -3
  500. package/docs/classes/src_api_corporations_getCorporationMedals.GetCorporationMedalsApi.html +0 -3
  501. package/docs/classes/src_api_corporations_getCorporationMemberLimit.GetCorporationMemberLimitApi.html +0 -3
  502. package/docs/classes/src_api_corporations_getCorporationMemberRoles.GetCorporationMemberRolesApi.html +0 -3
  503. package/docs/classes/src_api_corporations_getCorporationMemberRolesHistory.GetCorporationMemberRolesHistoryApi.html +0 -3
  504. package/docs/classes/src_api_corporations_getCorporationMemberTracking.GetCorporationMemberTrackingApi.html +0 -3
  505. package/docs/classes/src_api_corporations_getCorporationMembers.GetCorporationMembersApi.html +0 -3
  506. package/docs/classes/src_api_corporations_getCorporationMembersTitles.GetCorporationMembersTitlesApi.html +0 -3
  507. package/docs/classes/src_api_corporations_getCorporationProjects.GetCorporationProjectsApi.html +0 -3
  508. package/docs/classes/src_api_corporations_getCorporationShareholders.GetCorporationShareholdersApi.html +0 -3
  509. package/docs/classes/src_api_corporations_getCorporationStandings.GetCorporationStandingsApi.html +0 -3
  510. package/docs/classes/src_api_corporations_getCorporationStarbaseDetail.GetCorporationStarbaseDetailApi.html +0 -3
  511. package/docs/classes/src_api_corporations_getCorporationStarbases.GetCorporationStarbasesApi.html +0 -3
  512. package/docs/classes/src_api_corporations_getCorporationStructures.GetCorporationStructuresApi.html +0 -3
  513. package/docs/classes/src_api_corporations_getCorporationTitles.GetCorporationTitlesApi.html +0 -3
  514. package/docs/classes/src_api_corporations_getNpcCorporations.GetNpcCorporationsApi.html +0 -3
  515. package/docs/classes/src_api_dogma_getDogmaAttributeById.DogmaAttributeByIdApi.html +0 -3
  516. package/docs/classes/src_api_dogma_getDogmaAttributes.DogmaAttributesApi.html +0 -3
  517. package/docs/classes/src_api_dogma_getDogmaDynamicItemAttributes.DogmaDynamicItemApi.html +0 -3
  518. package/docs/classes/src_api_dogma_getDogmaEffectById.DogmaEffectByIdApi.html +0 -3
  519. package/docs/classes/src_api_dogma_getDogmaEffects.DogmaEffectsApi.html +0 -3
  520. package/docs/classes/src_api_factions_getCharacterFactionWarfareStats.GetCharacterFactionWarfareStatsApi.html +0 -3
  521. package/docs/classes/src_api_factions_getCharacterLeaderboards.GetCharacterLeaderboardsApi.html +0 -3
  522. package/docs/classes/src_api_factions_getCorporationFactionWarfareStats.GetCorporationFactionWarfareStatsApi.html +0 -3
  523. package/docs/classes/src_api_factions_getCorporationLeaderboards.GetCorporationLeaderboardsApi.html +0 -3
  524. package/docs/classes/src_api_factions_getFactionLeaderboards.GetFactionLeaderboardsApi.html +0 -3
  525. package/docs/classes/src_api_factions_getFactionWarfareStats.getFactionWarfareStats.html +0 -3
  526. package/docs/classes/src_api_factions_getFactionWarfareSystems.FactionWarfareSystemsApi.html +0 -3
  527. package/docs/classes/src_api_factions_getFactionWarfareWars.FactionWarfareWarsApi.html +0 -3
  528. package/docs/classes/src_api_fittings_deleteCharacterFitting.DeleteCharacterFittingApi.html +0 -3
  529. package/docs/classes/src_api_fittings_getCharacterFittings.GetCharacterFittingsApi.html +0 -3
  530. package/docs/classes/src_api_fittings_postCharacterFittings.PostCharacterFittingApi.html +0 -3
  531. package/docs/classes/src_api_fleets_deleteFleetMember.DeleteFleetMemberApi.html +0 -3
  532. package/docs/classes/src_api_fleets_deleteFleetSquad.DeleteFleetSquadApi.html +0 -3
  533. package/docs/classes/src_api_fleets_deleteFleetWing.DeleteFleetWingApi.html +0 -3
  534. package/docs/classes/src_api_fleets_getCharacterFleetInfo.GetCharacterFleetInfoApi.html +0 -3
  535. package/docs/classes/src_api_fleets_getFleetInfo.GetFleetInfoApi.html +0 -3
  536. package/docs/classes/src_api_fleets_getFleetMembers.GetFleetMembersApi.html +0 -3
  537. package/docs/classes/src_api_fleets_getFleetWings.GetFleetWingsApi.html +0 -3
  538. package/docs/classes/src_api_fleets_postFleetInvitation.PostFleetInvitationApi.html +0 -3
  539. package/docs/classes/src_api_fleets_postFleetSquad.PostFleetSquadApi.html +0 -3
  540. package/docs/classes/src_api_fleets_postFleetWing.PostFleetWingApi.html +0 -3
  541. package/docs/classes/src_api_fleets_putFleetMember.PutFleetMemberApi.html +0 -3
  542. package/docs/classes/src_api_fleets_putFleetSquad.PutFleetSquadApi.html +0 -3
  543. package/docs/classes/src_api_fleets_putFleetWing.PutFleetWingApi.html +0 -3
  544. package/docs/classes/src_api_fleets_updateFleet.UpdateFleetApi.html +0 -3
  545. package/docs/classes/src_api_incursions_getIncursions.IncursionsApi.html +0 -3
  546. package/docs/classes/src_api_industry_getCharacterIndustryJobs.GetCharacterIndustryJobsApi.html +0 -3
  547. package/docs/classes/src_api_industry_getCharacterMiningLedger.GetCharacterMiningLedgerApi.html +0 -3
  548. package/docs/classes/src_api_industry_getCorporationIndustryJobs.GetCorporationIndustryJobsApi.html +0 -3
  549. package/docs/classes/src_api_industry_getCorporationMiningObserver.GetCorporationMiningObserverApi.html +0 -3
  550. package/docs/classes/src_api_industry_getCorporationMiningObservers.GetCorporationMiningObserversApi.html +0 -3
  551. package/docs/classes/src_api_industry_getIndustryFacilities.GetIndustryFacilitiesApi.html +0 -3
  552. package/docs/classes/src_api_industry_getIndustrySystems.GetIndustrySystemsApi.html +0 -3
  553. package/docs/classes/src_api_industry_getMoonExtractionTimers.GetMoonExtractionTimersApi.html +0 -3
  554. package/docs/classes/src_api_insurance_getInsurancePrices.InsuranceApi.html +0 -3
  555. package/docs/classes/src_api_killmails_getCharacterRecentKillmails.GetCharacterRecentKillmailsApi.html +0 -3
  556. package/docs/classes/src_api_killmails_getCorporationRecentKillmails.GetCorporationRecentKillmailsApi.html +0 -3
  557. package/docs/classes/src_api_killmails_getKillmail.GetKillmailApi.html +0 -3
  558. package/docs/classes/src_api_location_getCharacterLocation.GetCharacterLocationApi.html +0 -3
  559. package/docs/classes/src_api_location_getCharacterOnline.GetCharacterOnlineApi.html +0 -3
  560. package/docs/classes/src_api_location_getCharacterShip.GetCharacterShipApi.html +0 -3
  561. package/docs/classes/src_api_loyalty_getLoyaltyPoints.GetLoyaltyPointsApi.html +0 -3
  562. package/docs/classes/src_api_loyalty_getLoyaltyStoreOffers.GetLoyaltyStoreOffersApi.html +0 -3
  563. package/docs/classes/src_api_mail_deleteCharacterMail.DeleteCharacterMailApi.html +0 -3
  564. package/docs/classes/src_api_mail_deleteCharacterMailLabel.DeleteCharacterMailLabelApi.html +0 -3
  565. package/docs/classes/src_api_mail_getCharacterMail.GetCharacterMailApi.html +0 -3
  566. package/docs/classes/src_api_mail_getCharacterMailHeaders.GetCharacterMailHeadersApi.html +0 -3
  567. package/docs/classes/src_api_mail_getCharacterMailLabels.GetCharacterMailLabelsApi.html +0 -3
  568. package/docs/classes/src_api_mail_getCharacterMailingLists.GetCharacterMailingListsApi.html +0 -3
  569. package/docs/classes/src_api_mail_postCharacterMail.PostCharacterMailApi.html +0 -3
  570. package/docs/classes/src_api_mail_postCharacterMailLabels.PostCharacterMailLabelsApi.html +0 -3
  571. package/docs/classes/src_api_mail_putCharacterMail.PutCharacterMailApi.html +0 -3
  572. package/docs/classes/src_api_market_getCharacterOrderHistory.getCharacterOrderHistory.html +0 -3
  573. package/docs/classes/src_api_market_getCharacterOrders.getCharacterOrders.html +0 -3
  574. package/docs/classes/src_api_market_getCorporationOrderHistory.getCorporationOrderHistory.html +0 -3
  575. package/docs/classes/src_api_market_getCorporationOrders.getCorporationOrders.html +0 -3
  576. package/docs/classes/src_api_market_getMarketGroupInformation.getMarketGroupInformation.html +0 -3
  577. package/docs/classes/src_api_market_getMarketGroups.getMarketGroups.html +0 -3
  578. package/docs/classes/src_api_market_getMarketHistory.getMarketHistory.html +0 -3
  579. package/docs/classes/src_api_market_getMarketOrders.getMarketOrders.html +0 -3
  580. package/docs/classes/src_api_market_getMarketOrdersInStructure.getMarketOrdersInStructure.html +0 -3
  581. package/docs/classes/src_api_market_getMarketPrices.getMarketPrices.html +0 -3
  582. package/docs/classes/src_api_market_getMarketTypes.getMarketTypes.html +0 -3
  583. package/docs/classes/src_api_meta_getSwaggerJson.GetSwaggerJsonApi.html +0 -3
  584. package/docs/classes/src_api_meta_getSwaggerYaml.GetSwaggerYamlApi.html +0 -3
  585. package/docs/classes/src_api_opportunities_getCharacterOpportunities.GetCharacterOpportunitiesApi.html +0 -3
  586. package/docs/classes/src_api_opportunities_getOpportunitiesGroupById.GetOpportunitiesGroupByIdApi.html +0 -3
  587. package/docs/classes/src_api_opportunities_getOpportunitiesGroups.GetOpportunitiesGroupsApi.html +0 -3
  588. package/docs/classes/src_api_opportunities_getOpportunitiesTaskById.GetOpportunitiesTaskByIdApi.html +0 -3
  589. package/docs/classes/src_api_opportunities_getOpportunitiesTasks.GetOpportunitiesTasksApi.html +0 -3
  590. package/docs/classes/src_api_pi_getColonies.GetColoniesApi.html +0 -3
  591. package/docs/classes/src_api_pi_getColonyLayout.GetColonyLayoutApi.html +0 -3
  592. package/docs/classes/src_api_pi_getCorporationCustomsOffices.GetCorporationCustomsOfficesApi.html +0 -3
  593. package/docs/classes/src_api_pi_getSchematicInformation.GetSchematicInformationApi.html +0 -3
  594. package/docs/classes/src_api_route_getRoute.RouteApi.html +0 -3
  595. package/docs/classes/src_api_search_getCharacterSearch.CharacterSearchApi.html +0 -3
  596. package/docs/classes/src_api_skills_getCharacterAttributes.GetCharacterAttributesApi.html +0 -3
  597. package/docs/classes/src_api_skills_getCharacterSkillQueue.GetCharacterSkillQueueApi.html +0 -3
  598. package/docs/classes/src_api_skills_getCharacterSkills.GetCharacterSkillsApi.html +0 -3
  599. package/docs/classes/src_api_sovereignty_getSovereigntyCampaigns.SovereigntyCampaignsApi.html +0 -3
  600. package/docs/classes/src_api_sovereignty_getSovereigntyMap.SovereigntyMapApi.html +0 -3
  601. package/docs/classes/src_api_sovereignty_getSovereigntyStructures.SovereigntyStructuresApi.html +0 -3
  602. package/docs/classes/src_api_status_getStatus.GetStatusApi.html +0 -3
  603. package/docs/classes/src_api_ui_postAutopilotWaypoint.PostAutopilotWaypointApi.html +0 -3
  604. package/docs/classes/src_api_ui_postOpenContractWindow.PostOpenContractWindowApi.html +0 -3
  605. package/docs/classes/src_api_ui_postOpenInformationWindow.PostOpenInformationWindowApi.html +0 -3
  606. package/docs/classes/src_api_ui_postOpenMarketDetailsWindow.PostOpenMarketDetailsWindowApi.html +0 -3
  607. package/docs/classes/src_api_ui_postOpenNewMailWindow.PostOpenNewMailWindowApi.html +0 -3
  608. package/docs/classes/src_api_universe_getAncestries.UniverseAncestriesApi.html +0 -3
  609. package/docs/classes/src_api_universe_getAsteroidBeltInfo.UniverseAsteroidBeltApi.html +0 -3
  610. package/docs/classes/src_api_universe_getBloodlines.UniverseBloodlinesApi.html +0 -3
  611. package/docs/classes/src_api_universe_getConstellationById.UniverseConstellationByIdApi.html +0 -3
  612. package/docs/classes/src_api_universe_getConstellations.UniverseConstellationsApi.html +0 -3
  613. package/docs/classes/src_api_universe_getFactions.UniverseFactionsApi.html +0 -3
  614. package/docs/classes/src_api_universe_getGraphicById.UniverseGraphicByIdApi.html +0 -3
  615. package/docs/classes/src_api_universe_getGraphics.UniverseGraphicsApi.html +0 -3
  616. package/docs/classes/src_api_universe_getItemCategories.UniverseCategoriesApi.html +0 -3
  617. package/docs/classes/src_api_universe_getItemCategoryById.UniverseCategoryByIdApi.html +0 -3
  618. package/docs/classes/src_api_universe_getItemGroupById.UniverseItemGroupByIdApi.html +0 -3
  619. package/docs/classes/src_api_universe_getItemGroups.UniverseItemGroupsApi.html +0 -3
  620. package/docs/classes/src_api_universe_getMoonById.UniverseMoonByIdApi.html +0 -3
  621. package/docs/classes/src_api_universe_getPlanetById.UniversePlanetByIdApi.html +0 -3
  622. package/docs/classes/src_api_universe_getRaces.UniverseRacesApi.html +0 -3
  623. package/docs/classes/src_api_universe_getRegionById.UniverseRegionByIdApi.html +0 -3
  624. package/docs/classes/src_api_universe_getStarById.UniverseStarByIdApi.html +0 -3
  625. package/docs/classes/src_api_universe_getStargateById.UniverseStargateByIdApi.html +0 -3
  626. package/docs/classes/src_api_universe_getStationById.UniverseStationByIdApi.html +0 -3
  627. package/docs/classes/src_api_universe_getStructureById.UniverseStructureByIdApi.html +0 -3
  628. package/docs/classes/src_api_universe_getStructures.UniverseStructuresApi.html +0 -3
  629. package/docs/classes/src_api_universe_getSystemById.UniverseSystemByIdApi.html +0 -3
  630. package/docs/classes/src_api_universe_getSystemJumps.UniverseSystemJumpsApi.html +0 -3
  631. package/docs/classes/src_api_universe_getSystemKills.UniverseSystemKillsApi.html +0 -3
  632. package/docs/classes/src_api_universe_getSystems.UniverseSystemsApi.html +0 -3
  633. package/docs/classes/src_api_universe_getTypeById.UniverseTypeByIdApi.html +0 -3
  634. package/docs/classes/src_api_universe_getTypes.UniverseTypesApi.html +0 -3
  635. package/docs/classes/src_api_universe_postBulkNamesToIds.PostBulkNamesToIdsApi.html +0 -3
  636. package/docs/classes/src_api_universe_postNamesAndCategories.PostNamesAndCategoriesApi.html +0 -3
  637. package/docs/classes/src_api_wallet_getCharacterWallet.GetCharacterWalletApi.html +0 -3
  638. package/docs/classes/src_api_wallet_getCharacterWalletJournal.GetCharacterWalletJournalApi.html +0 -3
  639. package/docs/classes/src_api_wallet_getCharacterWalletTransactions.GetCharacterWalletTransactionsApi.html +0 -3
  640. package/docs/classes/src_api_wallet_getCorporationWalletJournal.GetCorporationWalletJournalApi.html +0 -3
  641. package/docs/classes/src_api_wallet_getCorporationWalletTransactions.GetCorporationWalletTransactionsApi.html +0 -3
  642. package/docs/classes/src_api_wallet_getCorporationWallets.GetCorporationWalletsApi.html +0 -3
  643. package/docs/classes/src_api_wars_getWarById.WarByIdApi.html +0 -3
  644. package/docs/classes/src_api_wars_getWarKillmails.WarKillmailsApi.html +0 -3
  645. package/docs/classes/src_api_wars_getWars.WarsApi.html +0 -3
  646. package/docs/classes/src_builders_AllianceApiBuilder.AllianceApiBuilder.html +0 -3
  647. package/docs/classes/src_builders_AssetsApiBuilder.AssetsApiBuilder.html +0 -3
  648. package/docs/classes/src_builders_BookmarkApiBuilder.BookmarkApiBuilder.html +0 -3
  649. package/docs/classes/src_builders_CalendarApiBuilder.CalendarApiBuilder.html +0 -3
  650. package/docs/classes/src_builders_CharacterApiBuilder.CharacterApiBuilder.html +0 -3
  651. package/docs/classes/src_builders_ClonesApiBuilder.ClonesApiBuilder.html +0 -3
  652. package/docs/classes/src_builders_ContactsApiBuilder.ContactsApiBuilder.html +0 -3
  653. package/docs/classes/src_builders_ContractsApiBuilder.ContractsApiBuilder.html +0 -3
  654. package/docs/classes/src_builders_CorporationsApiBuilder.CorporationsApiBuilder.html +0 -3
  655. package/docs/classes/src_builders_DogmaApiBuilder.DogmaAPIBuilder.html +0 -3
  656. package/docs/classes/src_builders_FactionApiBuilder.FactionAPIBuilder.html +0 -3
  657. package/docs/classes/src_builders_FittingsApiBuilder.FittingsApiBuilder.html +0 -3
  658. package/docs/classes/src_builders_FleetApiBuilder.FleetApiBuilder.html +0 -3
  659. package/docs/classes/src_builders_IncursionsApiBuilder.IncursionsApiBuilder.html +0 -3
  660. package/docs/classes/src_builders_IndustryApiBuilder.IndustryApiBuilder.html +0 -3
  661. package/docs/classes/src_builders_InsuranceApiBuilder.InsuranceAPIBuilder.html +0 -3
  662. package/docs/classes/src_builders_KillmailsBuilder.KillmailsApiBuilder.html +0 -3
  663. package/docs/classes/src_builders_LocationApiBuilder.LocationApiBuilder.html +0 -3
  664. package/docs/classes/src_builders_LoyaltyApiBuilder.LoyaltyApiBuilder.html +0 -3
  665. package/docs/classes/src_builders_MailApiBuilder.MailApiBuilder.html +0 -3
  666. package/docs/classes/src_builders_MarketApiBuilder.MarketApiBuilder.html +0 -3
  667. package/docs/classes/src_builders_MetaApiBuilder.MetaApiBuilder.html +0 -3
  668. package/docs/classes/src_builders_OpportunitiesApiBuilder.OpportunitiesApiBuilder.html +0 -3
  669. package/docs/classes/src_builders_PiApiBuilder.PiApiBuilder.html +0 -3
  670. package/docs/classes/src_builders_RouteApiBuilder.RouteApiBuilder.html +0 -3
  671. package/docs/classes/src_builders_SearchApiBuilder.SearchApiBuilder.html +0 -3
  672. package/docs/classes/src_builders_SkillsApiBuilder.SkillsApiBuilder.html +0 -3
  673. package/docs/classes/src_builders_SovereigntyApiBuilder.SovereigntyApiBuilder.html +0 -3
  674. package/docs/classes/src_builders_StatusApiBuilder.StatusAPIBuilder.html +0 -3
  675. package/docs/classes/src_builders_UiApiBuilder.UiApiBuilder.html +0 -3
  676. package/docs/classes/src_builders_UniverseApiBuilder.UniverseAPIBuilder.html +0 -3
  677. package/docs/classes/src_builders_WalletApiBuilder.WalletApiBuilder.html +0 -3
  678. package/docs/classes/src_builders_WarsAPIBuilder.WarsAPIBuilder.html +0 -3
  679. package/docs/classes/src_clients_AllianceClient.AllianceClient.html +0 -10
  680. package/docs/classes/src_clients_AssetsClient.AssetsClient.html +0 -8
  681. package/docs/classes/src_clients_BookmarkClient.BookmarkClient.html +0 -6
  682. package/docs/classes/src_clients_CalendarClient.CalendarClient.html +0 -6
  683. package/docs/classes/src_clients_CharacterClient.CharacterClient.html +0 -16
  684. package/docs/classes/src_clients_ClonesClient.ClonesClient.html +0 -5
  685. package/docs/classes/src_clients_ContactsClient.ContactsClient.html +0 -11
  686. package/docs/classes/src_clients_ContractsClient.ContractsClient.html +0 -11
  687. package/docs/classes/src_clients_CorporationsClient.CorporationsClient.html +0 -25
  688. package/docs/classes/src_clients_DogmaClient.DogmaClient.html +0 -7
  689. package/docs/classes/src_clients_FactionClient.FactionClient.html +0 -10
  690. package/docs/classes/src_clients_FittingsClient.FittingsClient.html +0 -5
  691. package/docs/classes/src_clients_FleetClient.FleetClient.html +0 -16
  692. package/docs/classes/src_clients_IncursionsClient.IncursionsClient.html +0 -3
  693. package/docs/classes/src_clients_IndustryClient.IndustryClient.html +0 -10
  694. package/docs/classes/src_clients_InsuranceClient.InsuranceClient.html +0 -3
  695. package/docs/classes/src_clients_KillmailsClient.KillmailsClient.html +0 -5
  696. package/docs/classes/src_clients_LocationClient.LocationClient.html +0 -5
  697. package/docs/classes/src_clients_LoyaltyClient.LoyaltyClient.html +0 -4
  698. package/docs/classes/src_clients_MailClient.MailClient.html +0 -11
  699. package/docs/classes/src_clients_MarketClient.MarketClient.html +0 -13
  700. package/docs/classes/src_clients_MetaClient.MetaClient.html +0 -6
  701. package/docs/classes/src_clients_OpportunitiesClient.OpportunitiesClient.html +0 -7
  702. package/docs/classes/src_clients_PiClient.PIClient.html +0 -6
  703. package/docs/classes/src_clients_RouteClient.RouteClient.html +0 -3
  704. package/docs/classes/src_clients_SearchClient.SearchClient.html +0 -3
  705. package/docs/classes/src_clients_SkillsClient.CharacterSkillsClient.html +0 -5
  706. package/docs/classes/src_clients_SovereigntyClient.SovereigntyClient.html +0 -5
  707. package/docs/classes/src_clients_StatusClient.StatusClient.html +0 -3
  708. package/docs/classes/src_clients_UiClient.UIClient.html +0 -7
  709. package/docs/classes/src_clients_UniverseClient.UniverseClient.html +0 -31
  710. package/docs/classes/src_clients_WalletClient.WalletClient.html +0 -8
  711. package/docs/classes/src_clients_WarsClient.WarsClient.html +0 -5
  712. package/docs/classes/src_core_ApiClient.ApiClient.html +0 -4
  713. package/docs/classes/src_core_ApiClientBuilder.ApiClientBuilder.html +0 -6
  714. package/docs/classes/src_core_ApiError.ApiError.html +0 -3
  715. package/docs/classes/src_core_cache_ETagCacheManager.ETagCacheManager.html +0 -22
  716. package/docs/classes/src_core_container_Container.CircularDependencyError.html +0 -2
  717. package/docs/classes/src_core_container_Container.Container.html +0 -20
  718. package/docs/classes/src_core_errors_ApiError.ApiError.html +0 -12
  719. package/docs/classes/src_core_errors_ApiError.ErrorHandler.html +0 -5
  720. package/docs/classes/src_core_factory_ApiFactory.ApiFactory.html +0 -20
  721. package/docs/classes/src_core_factory_ApiFactory.ApiModule.html +0 -6
  722. package/docs/classes/src_core_util_headersUtil.default.html +0 -11
  723. package/docs/classes/src_testing_TestDataFactory.TestDataFactory.html +0 -47
  724. package/docs/classes/src_testing_TestHelpers.MockApiClient.html +0 -3
  725. package/docs/classes/src_testing_TestHelpers.TestAssertions.html +0 -6
  726. package/docs/classes/src_testing_TestHelpers.TestDataFactory.html +0 -6
  727. package/docs/classes/src_testing_TestHelpers.TestScenarios.html +0 -5
  728. package/docs/classes/src_types_winston_loggly_bulk.Loggly.html +0 -2
  729. package/docs/enums/src_core_errors_ApiError.ApiErrorType.html +0 -11
  730. package/docs/functions/src.displayCharacterProfile.html +0 -2
  731. package/docs/functions/src.getCompleteCharacterProfile.html +0 -4
  732. package/docs/functions/src_config_configManager.getConfig.html +0 -1
  733. package/docs/functions/src_config_jest_jest_setup.getClient.html +0 -1
  734. package/docs/functions/src_core_ApiRequestHandler.getETagCache.html +0 -1
  735. package/docs/functions/src_core_ApiRequestHandler.handleRequest.html +0 -1
  736. package/docs/functions/src_core_ApiRequestHandler.handleRequestBody.html +0 -1
  737. package/docs/functions/src_core_ApiRequestHandler.initializeETagCache.html +0 -1
  738. package/docs/functions/src_core_ApiRequestHandler.resetETagCache.html +0 -1
  739. package/docs/functions/src_core_container_Container.Inject.html +0 -1
  740. package/docs/functions/src_core_container_Container.Injectable.html +0 -1
  741. package/docs/functions/src_core_logger_loggerUtil.logDebug.html +0 -1
  742. package/docs/functions/src_core_logger_loggerUtil.logError.html +0 -1
  743. package/docs/functions/src_core_logger_loggerUtil.logInfo.html +0 -1
  744. package/docs/functions/src_core_logger_loggerUtil.logWarn.html +0 -1
  745. package/docs/functions/src_core_util_error.buildError.html +0 -1
  746. package/docs/functions/src_core_util_file.checkForConfig.html +0 -1
  747. package/docs/functions/src_core_util_file.getSettings.html +0 -1
  748. package/docs/functions/src_core_util_file.log.html +0 -1
  749. package/docs/functions/src_core_util_inputValidation.inputValidation.html +0 -1
  750. package/docs/functions/src_core_util_network.request.html +0 -1
  751. package/docs/functions/src_core_util_request.inputValidation.html +0 -1
  752. package/docs/functions/src_core_util_request.request.html +0 -1
  753. package/docs/functions/src_core_util_testHelpers.getBody.html +0 -1
  754. package/docs/functions/src_core_util_testHelpers.getHeaders.html +0 -1
  755. package/docs/functions/src_core_util_testHelpers.mockApiCall.html +0 -1
  756. package/docs/functions/src_testing_TestHelpers.createMockApiClient.html +0 -1
  757. package/docs/functions/src_testing_TestHelpers.getBody.html +0 -1
  758. package/docs/functions/src_testing_TestHelpers.getHeaders.html +0 -1
  759. package/docs/hierarchy.html +0 -1
  760. package/docs/index.html +0 -272
  761. package/docs/interfaces/src_EsiClient.EsiClientConfig.html +0 -8
  762. package/docs/interfaces/src_core_IAPIBuilder.IAPIBuilder.html +0 -2
  763. package/docs/interfaces/src_core_IAPIBuilder.IApiClient.html +0 -3
  764. package/docs/interfaces/src_core_IAPIBuilder.IApiService.html +0 -3
  765. package/docs/interfaces/src_core_cache_ETagCacheManager.CacheEntry.html +0 -6
  766. package/docs/interfaces/src_core_cache_ETagCacheManager.ETagCacheConfig.html +0 -6
  767. package/docs/interfaces/src_core_container_Container.ContainerConfig.html +0 -3
  768. package/docs/interfaces/src_core_factory_ApiFactory.ApiClientConfig.html +0 -7
  769. package/docs/interfaces/src_core_factory_ApiFactory.ApiModuleConfig.html +0 -4
  770. package/docs/interfaces/src_testing_TestHelpers.MockConfig.html +0 -6
  771. package/docs/interfaces/src_types_api_responses.AllianceContact.html +0 -5
  772. package/docs/interfaces/src_types_api_responses.AllianceContactLabel.html +0 -3
  773. package/docs/interfaces/src_types_api_responses.AllianceIcon.html +0 -3
  774. package/docs/interfaces/src_types_api_responses.AllianceInfo.html +0 -9
  775. package/docs/interfaces/src_types_api_responses.ApiResponse.html +0 -4
  776. package/docs/interfaces/src_types_api_responses.AssetLocation.html +0 -3
  777. package/docs/interfaces/src_types_api_responses.AssetName.html +0 -3
  778. package/docs/interfaces/src_types_api_responses.CharacterAsset.html +0 -9
  779. package/docs/interfaces/src_types_api_responses.CharacterAttributes.html +0 -9
  780. package/docs/interfaces/src_types_api_responses.CharacterInfo.html +0 -13
  781. package/docs/interfaces/src_types_api_responses.CharacterPortrait.html +0 -5
  782. package/docs/interfaces/src_types_api_responses.CharacterSkill.html +0 -5
  783. package/docs/interfaces/src_types_api_responses.ConstellationInfo.html +0 -6
  784. package/docs/interfaces/src_types_api_responses.Contract.html +0 -23
  785. package/docs/interfaces/src_types_api_responses.ContractItem.html +0 -8
  786. package/docs/interfaces/src_types_api_responses.CorporationInfo.html +0 -16
  787. package/docs/interfaces/src_types_api_responses.ErrorResponse.html +0 -4
  788. package/docs/interfaces/src_types_api_responses.MailLabel.html +0 -5
  789. package/docs/interfaces/src_types_api_responses.MailMessage.html +0 -8
  790. package/docs/interfaces/src_types_api_responses.MarketHistory.html +0 -7
  791. package/docs/interfaces/src_types_api_responses.MarketOrder.html +0 -12
  792. package/docs/interfaces/src_types_api_responses.PaginatedResponse.html +0 -5
  793. package/docs/interfaces/src_types_api_responses.RegionInfo.html +0 -5
  794. package/docs/interfaces/src_types_api_responses.SkillQueue.html +0 -9
  795. package/docs/interfaces/src_types_api_responses.SolarSystemInfo.html +0 -10
  796. package/docs/interfaces/src_types_api_responses.WalletJournal.html +0 -12
  797. package/docs/interfaces/src_types_api_responses.WalletTransaction.html +0 -11
  798. package/docs/interfaces/src_types_winston_loggly_bulk.LogglyOptions.html +0 -5
  799. package/docs/media/LICENSE +0 -26
  800. package/docs/modules/src.html +0 -22
  801. package/docs/modules/src_EsiClient.html +0 -4
  802. package/docs/modules/src_EsiClientBuilder.html +0 -6
  803. package/docs/modules/src_api_alliances_getAllianceById.html +0 -2
  804. package/docs/modules/src_api_alliances_getAllianceContactLabels.html +0 -2
  805. package/docs/modules/src_api_alliances_getAllianceContacts.html +0 -2
  806. package/docs/modules/src_api_alliances_getAllianceCorporations.html +0 -2
  807. package/docs/modules/src_api_alliances_getAllianceIcons.html +0 -2
  808. package/docs/modules/src_api_alliances_getAlliances.html +0 -2
  809. package/docs/modules/src_api_assets_getCharacterAssets.html +0 -2
  810. package/docs/modules/src_api_assets_getCorporationAssets.html +0 -2
  811. package/docs/modules/src_api_assets_postCharacterAssetLocations.html +0 -2
  812. package/docs/modules/src_api_assets_postCharacterAssetNames.html +0 -2
  813. package/docs/modules/src_api_assets_postCorporationAssetLocations.html +0 -2
  814. package/docs/modules/src_api_assets_postCorporationAssetNames.html +0 -2
  815. package/docs/modules/src_api_bookmarks_getCharacterBookmarkFolders.html +0 -2
  816. package/docs/modules/src_api_bookmarks_getCharacterBookmarks.html +0 -2
  817. package/docs/modules/src_api_bookmarks_getCorporationBookmarkFolders.html +0 -2
  818. package/docs/modules/src_api_bookmarks_getCorporationBookmarks.html +0 -2
  819. package/docs/modules/src_api_calendar_getCalendarEventById.html +0 -2
  820. package/docs/modules/src_api_calendar_getCalendarEvents.html +0 -2
  821. package/docs/modules/src_api_calendar_getEventAttendees.html +0 -2
  822. package/docs/modules/src_api_calendar_respondToCalendarEvent.html +0 -2
  823. package/docs/modules/src_api_characters_getAgentsResearch.html +0 -2
  824. package/docs/modules/src_api_characters_getBlueprints.html +0 -2
  825. package/docs/modules/src_api_characters_getCharacterPublicInfo.html +0 -2
  826. package/docs/modules/src_api_characters_getCharacterRoles.html +0 -2
  827. package/docs/modules/src_api_characters_getCharacterStandings.html +0 -2
  828. package/docs/modules/src_api_characters_getCharacterTitles.html +0 -2
  829. package/docs/modules/src_api_characters_getContactNotifications.html +0 -2
  830. package/docs/modules/src_api_characters_getCorporationHistory.html +0 -2
  831. package/docs/modules/src_api_characters_getJumpFatigue.html +0 -2
  832. package/docs/modules/src_api_characters_getMedals.html +0 -2
  833. package/docs/modules/src_api_characters_getNotifications.html +0 -2
  834. package/docs/modules/src_api_characters_getPortrait.html +0 -2
  835. package/docs/modules/src_api_characters_postCSPAChargeCost.html +0 -2
  836. package/docs/modules/src_api_characters_postCharacterAffiliations.html +0 -2
  837. package/docs/modules/src_api_clones_getClones.html +0 -2
  838. package/docs/modules/src_api_clones_getImplants.html +0 -2
  839. package/docs/modules/src_api_clones_postJumpCloneActivation.html +0 -2
  840. package/docs/modules/src_api_contacts_deleteCharacterContacts.html +0 -2
  841. package/docs/modules/src_api_contacts_getAllianceContactLabels.html +0 -2
  842. package/docs/modules/src_api_contacts_getAllianceContacts.html +0 -2
  843. package/docs/modules/src_api_contacts_getCharacterContactLabels.html +0 -2
  844. package/docs/modules/src_api_contacts_getCharacterContacts.html +0 -2
  845. package/docs/modules/src_api_contacts_getCorporationContactLabels.html +0 -2
  846. package/docs/modules/src_api_contacts_getCorporationContacts.html +0 -2
  847. package/docs/modules/src_api_contacts_postCharacterContacts.html +0 -2
  848. package/docs/modules/src_api_contacts_putCharacterContacts.html +0 -2
  849. package/docs/modules/src_api_contracts_getCharacterContractBids.html +0 -2
  850. package/docs/modules/src_api_contracts_getCharacterContractItems.html +0 -2
  851. package/docs/modules/src_api_contracts_getCharacterContracts.html +0 -2
  852. package/docs/modules/src_api_contracts_getCorporationContractBids.html +0 -2
  853. package/docs/modules/src_api_contracts_getCorporationContractItems.html +0 -2
  854. package/docs/modules/src_api_contracts_getCorporationContracts.html +0 -2
  855. package/docs/modules/src_api_contracts_getPublicContractBids.html +0 -2
  856. package/docs/modules/src_api_contracts_getPublicContractItems.html +0 -2
  857. package/docs/modules/src_api_contracts_getPublicContracts.html +0 -2
  858. package/docs/modules/src_api_corporations_getCorporationAllianceHistory.html +0 -2
  859. package/docs/modules/src_api_corporations_getCorporationAlscLogs.html +0 -2
  860. package/docs/modules/src_api_corporations_getCorporationBlueprints.html +0 -2
  861. package/docs/modules/src_api_corporations_getCorporationDivisions.html +0 -2
  862. package/docs/modules/src_api_corporations_getCorporationFacilities.html +0 -2
  863. package/docs/modules/src_api_corporations_getCorporationIcon.html +0 -2
  864. package/docs/modules/src_api_corporations_getCorporationInfo.html +0 -2
  865. package/docs/modules/src_api_corporations_getCorporationIssuedMedals.html +0 -2
  866. package/docs/modules/src_api_corporations_getCorporationMedals.html +0 -2
  867. package/docs/modules/src_api_corporations_getCorporationMemberLimit.html +0 -2
  868. package/docs/modules/src_api_corporations_getCorporationMemberRoles.html +0 -2
  869. package/docs/modules/src_api_corporations_getCorporationMemberRolesHistory.html +0 -2
  870. package/docs/modules/src_api_corporations_getCorporationMemberTracking.html +0 -2
  871. package/docs/modules/src_api_corporations_getCorporationMembers.html +0 -2
  872. package/docs/modules/src_api_corporations_getCorporationMembersTitles.html +0 -2
  873. package/docs/modules/src_api_corporations_getCorporationProjects.html +0 -2
  874. package/docs/modules/src_api_corporations_getCorporationShareholders.html +0 -2
  875. package/docs/modules/src_api_corporations_getCorporationStandings.html +0 -2
  876. package/docs/modules/src_api_corporations_getCorporationStarbaseDetail.html +0 -2
  877. package/docs/modules/src_api_corporations_getCorporationStarbases.html +0 -2
  878. package/docs/modules/src_api_corporations_getCorporationStructures.html +0 -2
  879. package/docs/modules/src_api_corporations_getCorporationTitles.html +0 -2
  880. package/docs/modules/src_api_corporations_getNpcCorporations.html +0 -2
  881. package/docs/modules/src_api_dogma_getDogmaAttributeById.html +0 -2
  882. package/docs/modules/src_api_dogma_getDogmaAttributes.html +0 -2
  883. package/docs/modules/src_api_dogma_getDogmaDynamicItemAttributes.html +0 -2
  884. package/docs/modules/src_api_dogma_getDogmaEffectById.html +0 -2
  885. package/docs/modules/src_api_dogma_getDogmaEffects.html +0 -2
  886. package/docs/modules/src_api_factions_getCharacterFactionWarfareStats.html +0 -2
  887. package/docs/modules/src_api_factions_getCharacterLeaderboards.html +0 -2
  888. package/docs/modules/src_api_factions_getCorporationFactionWarfareStats.html +0 -2
  889. package/docs/modules/src_api_factions_getCorporationLeaderboards.html +0 -2
  890. package/docs/modules/src_api_factions_getFactionLeaderboards.html +0 -2
  891. package/docs/modules/src_api_factions_getFactionWarfareStats.html +0 -2
  892. package/docs/modules/src_api_factions_getFactionWarfareSystems.html +0 -2
  893. package/docs/modules/src_api_factions_getFactionWarfareWars.html +0 -2
  894. package/docs/modules/src_api_fittings_deleteCharacterFitting.html +0 -2
  895. package/docs/modules/src_api_fittings_getCharacterFittings.html +0 -2
  896. package/docs/modules/src_api_fittings_postCharacterFittings.html +0 -2
  897. package/docs/modules/src_api_fleets_deleteFleetMember.html +0 -2
  898. package/docs/modules/src_api_fleets_deleteFleetSquad.html +0 -2
  899. package/docs/modules/src_api_fleets_deleteFleetWing.html +0 -2
  900. package/docs/modules/src_api_fleets_getCharacterFleetInfo.html +0 -2
  901. package/docs/modules/src_api_fleets_getFleetInfo.html +0 -2
  902. package/docs/modules/src_api_fleets_getFleetMembers.html +0 -2
  903. package/docs/modules/src_api_fleets_getFleetWings.html +0 -2
  904. package/docs/modules/src_api_fleets_postFleetInvitation.html +0 -2
  905. package/docs/modules/src_api_fleets_postFleetSquad.html +0 -2
  906. package/docs/modules/src_api_fleets_postFleetWing.html +0 -2
  907. package/docs/modules/src_api_fleets_putFleetMember.html +0 -2
  908. package/docs/modules/src_api_fleets_putFleetSquad.html +0 -2
  909. package/docs/modules/src_api_fleets_putFleetWing.html +0 -2
  910. package/docs/modules/src_api_fleets_updateFleet.html +0 -2
  911. package/docs/modules/src_api_incursions_getIncursions.html +0 -2
  912. package/docs/modules/src_api_industry_getCharacterIndustryJobs.html +0 -2
  913. package/docs/modules/src_api_industry_getCharacterMiningLedger.html +0 -2
  914. package/docs/modules/src_api_industry_getCorporationIndustryJobs.html +0 -2
  915. package/docs/modules/src_api_industry_getCorporationMiningObserver.html +0 -2
  916. package/docs/modules/src_api_industry_getCorporationMiningObservers.html +0 -2
  917. package/docs/modules/src_api_industry_getIndustryFacilities.html +0 -2
  918. package/docs/modules/src_api_industry_getIndustrySystems.html +0 -2
  919. package/docs/modules/src_api_industry_getMoonExtractionTimers.html +0 -2
  920. package/docs/modules/src_api_insurance_getInsurancePrices.html +0 -2
  921. package/docs/modules/src_api_killmails_getCharacterRecentKillmails.html +0 -2
  922. package/docs/modules/src_api_killmails_getCorporationRecentKillmails.html +0 -2
  923. package/docs/modules/src_api_killmails_getKillmail.html +0 -2
  924. package/docs/modules/src_api_location_getCharacterLocation.html +0 -2
  925. package/docs/modules/src_api_location_getCharacterOnline.html +0 -2
  926. package/docs/modules/src_api_location_getCharacterShip.html +0 -2
  927. package/docs/modules/src_api_loyalty_getLoyaltyPoints.html +0 -2
  928. package/docs/modules/src_api_loyalty_getLoyaltyStoreOffers.html +0 -2
  929. package/docs/modules/src_api_mail_deleteCharacterMail.html +0 -2
  930. package/docs/modules/src_api_mail_deleteCharacterMailLabel.html +0 -2
  931. package/docs/modules/src_api_mail_getCharacterMail.html +0 -2
  932. package/docs/modules/src_api_mail_getCharacterMailHeaders.html +0 -2
  933. package/docs/modules/src_api_mail_getCharacterMailLabels.html +0 -2
  934. package/docs/modules/src_api_mail_getCharacterMailingLists.html +0 -2
  935. package/docs/modules/src_api_mail_postCharacterMail.html +0 -2
  936. package/docs/modules/src_api_mail_postCharacterMailLabels.html +0 -2
  937. package/docs/modules/src_api_mail_putCharacterMail.html +0 -2
  938. package/docs/modules/src_api_market_getCharacterOrderHistory.html +0 -2
  939. package/docs/modules/src_api_market_getCharacterOrders.html +0 -2
  940. package/docs/modules/src_api_market_getCorporationOrderHistory.html +0 -2
  941. package/docs/modules/src_api_market_getCorporationOrders.html +0 -2
  942. package/docs/modules/src_api_market_getMarketGroupInformation.html +0 -2
  943. package/docs/modules/src_api_market_getMarketGroups.html +0 -2
  944. package/docs/modules/src_api_market_getMarketHistory.html +0 -2
  945. package/docs/modules/src_api_market_getMarketOrders.html +0 -2
  946. package/docs/modules/src_api_market_getMarketOrdersInStructure.html +0 -2
  947. package/docs/modules/src_api_market_getMarketPrices.html +0 -2
  948. package/docs/modules/src_api_market_getMarketTypes.html +0 -2
  949. package/docs/modules/src_api_meta_getSwaggerJson.html +0 -2
  950. package/docs/modules/src_api_meta_getSwaggerYaml.html +0 -2
  951. package/docs/modules/src_api_opportunities_getCharacterOpportunities.html +0 -2
  952. package/docs/modules/src_api_opportunities_getOpportunitiesGroupById.html +0 -2
  953. package/docs/modules/src_api_opportunities_getOpportunitiesGroups.html +0 -2
  954. package/docs/modules/src_api_opportunities_getOpportunitiesTaskById.html +0 -2
  955. package/docs/modules/src_api_opportunities_getOpportunitiesTasks.html +0 -2
  956. package/docs/modules/src_api_pi_getColonies.html +0 -2
  957. package/docs/modules/src_api_pi_getColonyLayout.html +0 -2
  958. package/docs/modules/src_api_pi_getCorporationCustomsOffices.html +0 -2
  959. package/docs/modules/src_api_pi_getSchematicInformation.html +0 -2
  960. package/docs/modules/src_api_route_getRoute.html +0 -2
  961. package/docs/modules/src_api_search_getCharacterSearch.html +0 -2
  962. package/docs/modules/src_api_skills_getCharacterAttributes.html +0 -2
  963. package/docs/modules/src_api_skills_getCharacterSkillQueue.html +0 -2
  964. package/docs/modules/src_api_skills_getCharacterSkills.html +0 -2
  965. package/docs/modules/src_api_sovereignty_getSovereigntyCampaigns.html +0 -2
  966. package/docs/modules/src_api_sovereignty_getSovereigntyMap.html +0 -2
  967. package/docs/modules/src_api_sovereignty_getSovereigntyStructures.html +0 -2
  968. package/docs/modules/src_api_status_getStatus.html +0 -2
  969. package/docs/modules/src_api_ui_postAutopilotWaypoint.html +0 -2
  970. package/docs/modules/src_api_ui_postOpenContractWindow.html +0 -2
  971. package/docs/modules/src_api_ui_postOpenInformationWindow.html +0 -2
  972. package/docs/modules/src_api_ui_postOpenMarketDetailsWindow.html +0 -2
  973. package/docs/modules/src_api_ui_postOpenNewMailWindow.html +0 -2
  974. package/docs/modules/src_api_universe_getAncestries.html +0 -2
  975. package/docs/modules/src_api_universe_getAsteroidBeltInfo.html +0 -2
  976. package/docs/modules/src_api_universe_getBloodlines.html +0 -2
  977. package/docs/modules/src_api_universe_getConstellationById.html +0 -2
  978. package/docs/modules/src_api_universe_getConstellations.html +0 -2
  979. package/docs/modules/src_api_universe_getFactions.html +0 -2
  980. package/docs/modules/src_api_universe_getGraphicById.html +0 -2
  981. package/docs/modules/src_api_universe_getGraphics.html +0 -2
  982. package/docs/modules/src_api_universe_getItemCategories.html +0 -2
  983. package/docs/modules/src_api_universe_getItemCategoryById.html +0 -2
  984. package/docs/modules/src_api_universe_getItemGroupById.html +0 -2
  985. package/docs/modules/src_api_universe_getItemGroups.html +0 -2
  986. package/docs/modules/src_api_universe_getMoonById.html +0 -2
  987. package/docs/modules/src_api_universe_getPlanetById.html +0 -2
  988. package/docs/modules/src_api_universe_getRaces.html +0 -2
  989. package/docs/modules/src_api_universe_getRegionById.html +0 -2
  990. package/docs/modules/src_api_universe_getStarById.html +0 -2
  991. package/docs/modules/src_api_universe_getStargateById.html +0 -2
  992. package/docs/modules/src_api_universe_getStationById.html +0 -2
  993. package/docs/modules/src_api_universe_getStructureById.html +0 -2
  994. package/docs/modules/src_api_universe_getStructures.html +0 -2
  995. package/docs/modules/src_api_universe_getSystemById.html +0 -2
  996. package/docs/modules/src_api_universe_getSystemJumps.html +0 -2
  997. package/docs/modules/src_api_universe_getSystemKills.html +0 -2
  998. package/docs/modules/src_api_universe_getSystems.html +0 -2
  999. package/docs/modules/src_api_universe_getTypeById.html +0 -2
  1000. package/docs/modules/src_api_universe_getTypes.html +0 -2
  1001. package/docs/modules/src_api_universe_postBulkNamesToIds.html +0 -2
  1002. package/docs/modules/src_api_universe_postNamesAndCategories.html +0 -2
  1003. package/docs/modules/src_api_wallet_getCharacterWallet.html +0 -2
  1004. package/docs/modules/src_api_wallet_getCharacterWalletJournal.html +0 -2
  1005. package/docs/modules/src_api_wallet_getCharacterWalletTransactions.html +0 -2
  1006. package/docs/modules/src_api_wallet_getCorporationWalletJournal.html +0 -2
  1007. package/docs/modules/src_api_wallet_getCorporationWalletTransactions.html +0 -2
  1008. package/docs/modules/src_api_wallet_getCorporationWallets.html +0 -2
  1009. package/docs/modules/src_api_wars_getWarById.html +0 -2
  1010. package/docs/modules/src_api_wars_getWarKillmails.html +0 -2
  1011. package/docs/modules/src_api_wars_getWars.html +0 -2
  1012. package/docs/modules/src_builders_AllianceApiBuilder.html +0 -2
  1013. package/docs/modules/src_builders_AssetsApiBuilder.html +0 -2
  1014. package/docs/modules/src_builders_BookmarkApiBuilder.html +0 -2
  1015. package/docs/modules/src_builders_CalendarApiBuilder.html +0 -2
  1016. package/docs/modules/src_builders_CharacterApiBuilder.html +0 -2
  1017. package/docs/modules/src_builders_ClonesApiBuilder.html +0 -2
  1018. package/docs/modules/src_builders_ContactsApiBuilder.html +0 -2
  1019. package/docs/modules/src_builders_ContractsApiBuilder.html +0 -2
  1020. package/docs/modules/src_builders_CorporationsApiBuilder.html +0 -2
  1021. package/docs/modules/src_builders_DogmaApiBuilder.html +0 -2
  1022. package/docs/modules/src_builders_FactionApiBuilder.html +0 -2
  1023. package/docs/modules/src_builders_FittingsApiBuilder.html +0 -2
  1024. package/docs/modules/src_builders_FleetApiBuilder.html +0 -2
  1025. package/docs/modules/src_builders_IncursionsApiBuilder.html +0 -2
  1026. package/docs/modules/src_builders_IndustryApiBuilder.html +0 -2
  1027. package/docs/modules/src_builders_InsuranceApiBuilder.html +0 -2
  1028. package/docs/modules/src_builders_KillmailsBuilder.html +0 -2
  1029. package/docs/modules/src_builders_LocationApiBuilder.html +0 -2
  1030. package/docs/modules/src_builders_LoyaltyApiBuilder.html +0 -2
  1031. package/docs/modules/src_builders_MailApiBuilder.html +0 -2
  1032. package/docs/modules/src_builders_MarketApiBuilder.html +0 -2
  1033. package/docs/modules/src_builders_MetaApiBuilder.html +0 -2
  1034. package/docs/modules/src_builders_OpportunitiesApiBuilder.html +0 -2
  1035. package/docs/modules/src_builders_PiApiBuilder.html +0 -2
  1036. package/docs/modules/src_builders_RouteApiBuilder.html +0 -2
  1037. package/docs/modules/src_builders_SearchApiBuilder.html +0 -2
  1038. package/docs/modules/src_builders_SkillsApiBuilder.html +0 -2
  1039. package/docs/modules/src_builders_SovereigntyApiBuilder.html +0 -2
  1040. package/docs/modules/src_builders_StatusApiBuilder.html +0 -2
  1041. package/docs/modules/src_builders_UiApiBuilder.html +0 -2
  1042. package/docs/modules/src_builders_UniverseApiBuilder.html +0 -2
  1043. package/docs/modules/src_builders_WalletApiBuilder.html +0 -2
  1044. package/docs/modules/src_builders_WarsAPIBuilder.html +0 -2
  1045. package/docs/modules/src_clients_AllianceClient.html +0 -2
  1046. package/docs/modules/src_clients_AssetsClient.html +0 -2
  1047. package/docs/modules/src_clients_BookmarkClient.html +0 -2
  1048. package/docs/modules/src_clients_CalendarClient.html +0 -2
  1049. package/docs/modules/src_clients_CharacterClient.html +0 -2
  1050. package/docs/modules/src_clients_ClonesClient.html +0 -2
  1051. package/docs/modules/src_clients_ContactsClient.html +0 -2
  1052. package/docs/modules/src_clients_ContractsClient.html +0 -2
  1053. package/docs/modules/src_clients_CorporationsClient.html +0 -2
  1054. package/docs/modules/src_clients_DogmaClient.html +0 -2
  1055. package/docs/modules/src_clients_FactionClient.html +0 -2
  1056. package/docs/modules/src_clients_FittingsClient.html +0 -2
  1057. package/docs/modules/src_clients_FleetClient.html +0 -2
  1058. package/docs/modules/src_clients_IncursionsClient.html +0 -2
  1059. package/docs/modules/src_clients_IndustryClient.html +0 -2
  1060. package/docs/modules/src_clients_InsuranceClient.html +0 -2
  1061. package/docs/modules/src_clients_KillmailsClient.html +0 -2
  1062. package/docs/modules/src_clients_LocationClient.html +0 -2
  1063. package/docs/modules/src_clients_LoyaltyClient.html +0 -2
  1064. package/docs/modules/src_clients_MailClient.html +0 -2
  1065. package/docs/modules/src_clients_MarketClient.html +0 -2
  1066. package/docs/modules/src_clients_MetaClient.html +0 -2
  1067. package/docs/modules/src_clients_OpportunitiesClient.html +0 -2
  1068. package/docs/modules/src_clients_PiClient.html +0 -2
  1069. package/docs/modules/src_clients_RouteClient.html +0 -2
  1070. package/docs/modules/src_clients_SearchClient.html +0 -2
  1071. package/docs/modules/src_clients_SkillsClient.html +0 -2
  1072. package/docs/modules/src_clients_SovereigntyClient.html +0 -2
  1073. package/docs/modules/src_clients_StatusClient.html +0 -2
  1074. package/docs/modules/src_clients_UiClient.html +0 -2
  1075. package/docs/modules/src_clients_UniverseClient.html +0 -2
  1076. package/docs/modules/src_clients_WalletClient.html +0 -2
  1077. package/docs/modules/src_clients_WarsClient.html +0 -2
  1078. package/docs/modules/src_config_configManager.html +0 -2
  1079. package/docs/modules/src_config_constants.html +0 -5
  1080. package/docs/modules/src_config_jest_jest_setup.html +0 -2
  1081. package/docs/modules/src_core_ApiClient.html +0 -2
  1082. package/docs/modules/src_core_ApiClientBuilder.html +0 -2
  1083. package/docs/modules/src_core_ApiError.html +0 -2
  1084. package/docs/modules/src_core_ApiRequestHandler.html +0 -6
  1085. package/docs/modules/src_core_IAPIBuilder.html +0 -4
  1086. package/docs/modules/src_core_cache_ETagCacheManager.html +0 -4
  1087. package/docs/modules/src_core_container_Container.html +0 -9
  1088. package/docs/modules/src_core_errors_ApiError.html +0 -4
  1089. package/docs/modules/src_core_factory_ApiFactory.html +0 -6
  1090. package/docs/modules/src_core_logger.html +0 -2
  1091. package/docs/modules/src_core_logger_logger.html +0 -2
  1092. package/docs/modules/src_core_logger_loggerUtil.html +0 -5
  1093. package/docs/modules/src_core_util_error.html +0 -2
  1094. package/docs/modules/src_core_util_file.html +0 -4
  1095. package/docs/modules/src_core_util_headersUtil.html +0 -2
  1096. package/docs/modules/src_core_util_inputValidation.html +0 -2
  1097. package/docs/modules/src_core_util_network.html +0 -2
  1098. package/docs/modules/src_core_util_request.html +0 -3
  1099. package/docs/modules/src_core_util_testHelpers.html +0 -4
  1100. package/docs/modules/src_testing_TestDataFactory.html +0 -3
  1101. package/docs/modules/src_testing_TestHelpers.html +0 -9
  1102. package/docs/modules/src_types_api_responses.html +0 -28
  1103. package/docs/modules/src_types_winston_loggly_bulk.html +0 -3
  1104. package/docs/modules.html +0 -305
  1105. package/docs/types/src_EsiClientBuilder.ApiClientType.html +0 -1
  1106. package/docs/types/src_EsiClientBuilder.ClientInstance.html +0 -1
  1107. package/docs/types/src_core_container_Container.AsyncFactory.html +0 -1
  1108. package/docs/types/src_core_container_Container.Factory.html +0 -1
  1109. package/docs/variables/src_EsiClient.esiClient-1.html +0 -1
  1110. package/docs/variables/src_config_constants.localConfig.html +0 -1
  1111. package/docs/variables/src_config_constants.projectConfig.html +0 -1
  1112. package/docs/variables/src_config_constants.routes.html +0 -1
  1113. package/docs/variables/src_config_constants.server.html +0 -1
  1114. package/docs/variables/src_core_container_Container.container-1.html +0 -1
  1115. package/docs/variables/src_core_factory_ApiFactory.apiFactory-1.html +0 -1
  1116. package/docs/variables/src_core_logger_logger.default.html +0 -1
  1117. package/jest.improved.config.cjs +0 -46
  1118. package/jest.unit.config.cjs +0 -33
  1119. package/output.txt +0 -0
  1120. package/src/EsiClient.ts +0 -351
  1121. package/src/EsiClientBuilder.ts +0 -380
  1122. package/src/TODO +0 -77
  1123. package/src/api/alliances/getAllianceById.ts +0 -16
  1124. package/src/api/alliances/getAllianceContactLabels.ts +0 -11
  1125. package/src/api/alliances/getAllianceContacts.ts +0 -10
  1126. package/src/api/alliances/getAllianceCorporations.ts +0 -10
  1127. package/src/api/alliances/getAllianceIcons.ts +0 -10
  1128. package/src/api/alliances/getAlliances.ts +0 -10
  1129. package/src/api/assets/getCharacterAssets.ts +0 -14
  1130. package/src/api/assets/getCorporationAssets.ts +0 -14
  1131. package/src/api/assets/postCharacterAssetLocations.ts +0 -14
  1132. package/src/api/assets/postCharacterAssetNames.ts +0 -14
  1133. package/src/api/assets/postCorporationAssetLocations.ts +0 -14
  1134. package/src/api/assets/postCorporationAssetNames.ts +0 -14
  1135. package/src/api/bookmarks/getCharacterBookmarkFolders.ts +0 -10
  1136. package/src/api/bookmarks/getCharacterBookmarks.ts +0 -10
  1137. package/src/api/bookmarks/getCorporationBookmarkFolders.ts +0 -10
  1138. package/src/api/bookmarks/getCorporationBookmarks.ts +0 -10
  1139. package/src/api/calendar/getCalendarEventById.ts +0 -10
  1140. package/src/api/calendar/getCalendarEvents.ts +0 -10
  1141. package/src/api/calendar/getEventAttendees.ts +0 -10
  1142. package/src/api/calendar/respondToCalendarEvent.ts +0 -11
  1143. package/src/api/characters/getAgentsResearch.ts +0 -10
  1144. package/src/api/characters/getBlueprints.ts +0 -10
  1145. package/src/api/characters/getCharacterPublicInfo.ts +0 -10
  1146. package/src/api/characters/getCharacterRoles.ts +0 -10
  1147. package/src/api/characters/getCharacterStandings.ts +0 -10
  1148. package/src/api/characters/getCharacterTitles.ts +0 -10
  1149. package/src/api/characters/getContactNotifications.ts +0 -10
  1150. package/src/api/characters/getCorporationHistory.ts +0 -10
  1151. package/src/api/characters/getJumpFatigue.ts +0 -10
  1152. package/src/api/characters/getMedals.ts +0 -10
  1153. package/src/api/characters/getNotifications.ts +0 -10
  1154. package/src/api/characters/getPortrait.ts +0 -10
  1155. package/src/api/characters/postCSPAChargeCost.ts +0 -10
  1156. package/src/api/characters/postCharacterAffiliations.ts +0 -11
  1157. package/src/api/clones/getClones.ts +0 -11
  1158. package/src/api/clones/getImplants.ts +0 -11
  1159. package/src/api/clones/postJumpCloneActivation.ts +0 -11
  1160. package/src/api/contacts/deleteCharacterContacts.ts +0 -10
  1161. package/src/api/contacts/getAllianceContactLabels.ts +0 -10
  1162. package/src/api/contacts/getAllianceContacts.ts +0 -10
  1163. package/src/api/contacts/getCharacterContactLabels.ts +0 -10
  1164. package/src/api/contacts/getCharacterContacts.ts +0 -10
  1165. package/src/api/contacts/getCorporationContactLabels.ts +0 -10
  1166. package/src/api/contacts/getCorporationContacts.ts +0 -10
  1167. package/src/api/contacts/postCharacterContacts.ts +0 -10
  1168. package/src/api/contacts/putCharacterContacts.ts +0 -10
  1169. package/src/api/contracts/getCharacterContractBids.ts +0 -10
  1170. package/src/api/contracts/getCharacterContractItems.ts +0 -10
  1171. package/src/api/contracts/getCharacterContracts.ts +0 -10
  1172. package/src/api/contracts/getCorporationContractBids.ts +0 -10
  1173. package/src/api/contracts/getCorporationContractItems.ts +0 -10
  1174. package/src/api/contracts/getCorporationContracts.ts +0 -10
  1175. package/src/api/contracts/getPublicContractBids.ts +0 -10
  1176. package/src/api/contracts/getPublicContractItems.ts +0 -10
  1177. package/src/api/contracts/getPublicContracts.ts +0 -10
  1178. package/src/api/corporations/getCorporationAllianceHistory.ts +0 -10
  1179. package/src/api/corporations/getCorporationAlscLogs.ts +0 -10
  1180. package/src/api/corporations/getCorporationBlueprints.ts +0 -10
  1181. package/src/api/corporations/getCorporationDivisions.ts +0 -10
  1182. package/src/api/corporations/getCorporationFacilities.ts +0 -10
  1183. package/src/api/corporations/getCorporationIcon.ts +0 -10
  1184. package/src/api/corporations/getCorporationInfo.ts +0 -10
  1185. package/src/api/corporations/getCorporationIssuedMedals.ts +0 -10
  1186. package/src/api/corporations/getCorporationMedals.ts +0 -10
  1187. package/src/api/corporations/getCorporationMemberLimit.ts +0 -10
  1188. package/src/api/corporations/getCorporationMemberRoles.ts +0 -10
  1189. package/src/api/corporations/getCorporationMemberRolesHistory.ts +0 -10
  1190. package/src/api/corporations/getCorporationMemberTracking.ts +0 -10
  1191. package/src/api/corporations/getCorporationMembers.ts +0 -10
  1192. package/src/api/corporations/getCorporationMembersTitles.ts +0 -10
  1193. package/src/api/corporations/getCorporationProjects.ts +0 -10
  1194. package/src/api/corporations/getCorporationShareholders.ts +0 -10
  1195. package/src/api/corporations/getCorporationStandings.ts +0 -10
  1196. package/src/api/corporations/getCorporationStarbaseDetail.ts +0 -10
  1197. package/src/api/corporations/getCorporationStarbases.ts +0 -10
  1198. package/src/api/corporations/getCorporationStructures.ts +0 -10
  1199. package/src/api/corporations/getCorporationTitles.ts +0 -10
  1200. package/src/api/corporations/getNpcCorporations.ts +0 -10
  1201. package/src/api/dogma/getDogmaAttributeById.ts +0 -11
  1202. package/src/api/dogma/getDogmaAttributes.ts +0 -11
  1203. package/src/api/dogma/getDogmaDynamicItemAttributes.ts +0 -11
  1204. package/src/api/dogma/getDogmaEffectById.ts +0 -11
  1205. package/src/api/dogma/getDogmaEffects.ts +0 -11
  1206. package/src/api/factions/getCharacterFactionWarfareStats.ts +0 -10
  1207. package/src/api/factions/getCharacterLeaderboards.ts +0 -10
  1208. package/src/api/factions/getCorporationFactionWarfareStats.ts +0 -10
  1209. package/src/api/factions/getCorporationLeaderboards.ts +0 -10
  1210. package/src/api/factions/getFactionLeaderboards.ts +0 -10
  1211. package/src/api/factions/getFactionWarfareStats.ts +0 -10
  1212. package/src/api/factions/getFactionWarfareSystems.ts +0 -10
  1213. package/src/api/factions/getFactionWarfareWars.ts +0 -10
  1214. package/src/api/fittings/deleteCharacterFitting.ts +0 -10
  1215. package/src/api/fittings/getCharacterFittings.ts +0 -10
  1216. package/src/api/fittings/postCharacterFittings.ts +0 -10
  1217. package/src/api/fleets/deleteFleetMember.ts +0 -10
  1218. package/src/api/fleets/deleteFleetSquad.ts +0 -10
  1219. package/src/api/fleets/deleteFleetWing.ts +0 -10
  1220. package/src/api/fleets/getCharacterFleetInfo.ts +0 -10
  1221. package/src/api/fleets/getFleetInfo.ts +0 -10
  1222. package/src/api/fleets/getFleetMembers.ts +0 -10
  1223. package/src/api/fleets/getFleetWings.ts +0 -10
  1224. package/src/api/fleets/postFleetInvitation.ts +0 -10
  1225. package/src/api/fleets/postFleetSquad.ts +0 -10
  1226. package/src/api/fleets/postFleetWing.ts +0 -10
  1227. package/src/api/fleets/putFleetMember.ts +0 -10
  1228. package/src/api/fleets/putFleetSquad.ts +0 -10
  1229. package/src/api/fleets/putFleetWing.ts +0 -11
  1230. package/src/api/fleets/updateFleet.ts +0 -10
  1231. package/src/api/incursions/getIncursions.ts +0 -14
  1232. package/src/api/industry/getCharacterIndustryJobs.ts +0 -10
  1233. package/src/api/industry/getCharacterMiningLedger.ts +0 -10
  1234. package/src/api/industry/getCorporationIndustryJobs.ts +0 -10
  1235. package/src/api/industry/getCorporationMiningObserver.ts +0 -10
  1236. package/src/api/industry/getCorporationMiningObservers.ts +0 -10
  1237. package/src/api/industry/getIndustryFacilities.ts +0 -10
  1238. package/src/api/industry/getIndustrySystems.ts +0 -10
  1239. package/src/api/industry/getMoonExtractionTimers.ts +0 -10
  1240. package/src/api/insurance/getInsurancePrices.ts +0 -10
  1241. package/src/api/killmails/getCharacterRecentKillmails.ts +0 -10
  1242. package/src/api/killmails/getCorporationRecentKillmails.ts +0 -10
  1243. package/src/api/killmails/getKillmail.ts +0 -10
  1244. package/src/api/location/getCharacterLocation.ts +0 -10
  1245. package/src/api/location/getCharacterOnline.ts +0 -10
  1246. package/src/api/location/getCharacterShip.ts +0 -10
  1247. package/src/api/loyalty/getLoyaltyPoints.ts +0 -10
  1248. package/src/api/loyalty/getLoyaltyStoreOffers.ts +0 -10
  1249. package/src/api/mail/deleteCharacterMail.ts +0 -10
  1250. package/src/api/mail/deleteCharacterMailLabel.test.ts +0 -22
  1251. package/src/api/mail/deleteCharacterMailLabel.ts +0 -10
  1252. package/src/api/mail/getCharacerMailingLists.test.ts +0 -35
  1253. package/src/api/mail/getCharacterMail.ts +0 -10
  1254. package/src/api/mail/getCharacterMailHeaders.ts +0 -10
  1255. package/src/api/mail/getCharacterMailLabels.ts +0 -10
  1256. package/src/api/mail/getCharacterMailingLists.ts +0 -10
  1257. package/src/api/mail/postCharacterMail.ts +0 -10
  1258. package/src/api/mail/postCharacterMailLabels.ts +0 -10
  1259. package/src/api/mail/putCharacterMail.ts +0 -10
  1260. package/src/api/market/getCharacterOrderHistory.ts +0 -10
  1261. package/src/api/market/getCharacterOrders.ts +0 -10
  1262. package/src/api/market/getCorporationOrderHistory.ts +0 -10
  1263. package/src/api/market/getCorporationOrders.ts +0 -10
  1264. package/src/api/market/getMarketGroupInformation.ts +0 -10
  1265. package/src/api/market/getMarketGroups.ts +0 -10
  1266. package/src/api/market/getMarketHistory.ts +0 -10
  1267. package/src/api/market/getMarketOrders.ts +0 -10
  1268. package/src/api/market/getMarketOrdersInStructure.ts +0 -10
  1269. package/src/api/market/getMarketPrices.ts +0 -10
  1270. package/src/api/market/getMarketTypes.ts +0 -10
  1271. package/src/api/meta/getSwaggerJson.ts +0 -10
  1272. package/src/api/meta/getSwaggerYaml.ts +0 -36
  1273. package/src/api/opportunities/getCharacterOpportunities.ts +0 -10
  1274. package/src/api/opportunities/getOpportunitiesGroupById.ts +0 -10
  1275. package/src/api/opportunities/getOpportunitiesGroups.ts +0 -10
  1276. package/src/api/opportunities/getOpportunitiesTaskById.ts +0 -10
  1277. package/src/api/opportunities/getOpportunitiesTasks.ts +0 -10
  1278. package/src/api/pi/getColonies.ts +0 -10
  1279. package/src/api/pi/getColonyLayout.ts +0 -10
  1280. package/src/api/pi/getCorporationCustomsOffices.ts +0 -10
  1281. package/src/api/pi/getSchematicInformation.ts +0 -10
  1282. package/src/api/route/getRoute.ts +0 -14
  1283. package/src/api/search/getCharacterSearch.ts +0 -14
  1284. package/src/api/skills/getCharacterAttributes.ts +0 -10
  1285. package/src/api/skills/getCharacterSkillQueue.ts +0 -10
  1286. package/src/api/skills/getCharacterSkills.ts +0 -10
  1287. package/src/api/sovereignty/getSovereigntyCampaigns.ts +0 -10
  1288. package/src/api/sovereignty/getSovereigntyMap.ts +0 -10
  1289. package/src/api/sovereignty/getSovereigntyStructures.ts +0 -10
  1290. package/src/api/status/getStatus.ts +0 -11
  1291. package/src/api/ui/postAutopilotWaypoint.ts +0 -10
  1292. package/src/api/ui/postOpenContractWindow.ts +0 -10
  1293. package/src/api/ui/postOpenInformationWindow.ts +0 -10
  1294. package/src/api/ui/postOpenMarketDetailsWindow.ts +0 -10
  1295. package/src/api/ui/postOpenNewMailWindow.ts +0 -10
  1296. package/src/api/universe/getAncestries.ts +0 -10
  1297. package/src/api/universe/getAsteroidBeltInfo.ts +0 -10
  1298. package/src/api/universe/getBloodlines.ts +0 -10
  1299. package/src/api/universe/getConstellationById.ts +0 -10
  1300. package/src/api/universe/getConstellations.ts +0 -10
  1301. package/src/api/universe/getFactions.ts +0 -10
  1302. package/src/api/universe/getGraphicById.ts +0 -10
  1303. package/src/api/universe/getGraphics.ts +0 -10
  1304. package/src/api/universe/getItemCategories.ts +0 -10
  1305. package/src/api/universe/getItemCategoryById.ts +0 -10
  1306. package/src/api/universe/getItemGroupById.ts +0 -10
  1307. package/src/api/universe/getItemGroups.ts +0 -10
  1308. package/src/api/universe/getMoonById.ts +0 -10
  1309. package/src/api/universe/getPlanetById.ts +0 -10
  1310. package/src/api/universe/getRaces.ts +0 -10
  1311. package/src/api/universe/getRegionById.ts +0 -10
  1312. package/src/api/universe/getStarById.ts +0 -10
  1313. package/src/api/universe/getStargateById.ts +0 -10
  1314. package/src/api/universe/getStationById.ts +0 -10
  1315. package/src/api/universe/getStructureById.ts +0 -10
  1316. package/src/api/universe/getStructures.ts +0 -10
  1317. package/src/api/universe/getSystemById.ts +0 -10
  1318. package/src/api/universe/getSystemJumps.ts +0 -10
  1319. package/src/api/universe/getSystemKills.ts +0 -10
  1320. package/src/api/universe/getSystems.ts +0 -10
  1321. package/src/api/universe/getTypeById.ts +0 -10
  1322. package/src/api/universe/getTypes.ts +0 -10
  1323. package/src/api/universe/postBulkNamesToIds.ts +0 -15
  1324. package/src/api/universe/postNamesAndCategories.ts +0 -15
  1325. package/src/api/wallet/getCharacterWallet.ts +0 -11
  1326. package/src/api/wallet/getCharacterWalletJournal.ts +0 -11
  1327. package/src/api/wallet/getCharacterWalletTransactions.ts +0 -11
  1328. package/src/api/wallet/getCorporationWalletJournal.ts +0 -11
  1329. package/src/api/wallet/getCorporationWalletTransactions.ts +0 -11
  1330. package/src/api/wallet/getCorporationWallets.ts +0 -11
  1331. package/src/api/wars/getWarById.ts +0 -10
  1332. package/src/api/wars/getWarKillmails.ts +0 -10
  1333. package/src/api/wars/getWars.ts +0 -10
  1334. package/src/builders/AllianceApiBuilder.ts +0 -15
  1335. package/src/builders/AssetsApiBuilder.ts +0 -15
  1336. package/src/builders/BookmarkApiBuilder.ts +0 -15
  1337. package/src/builders/CalendarApiBuilder.ts +0 -15
  1338. package/src/builders/CharacterApiBuilder.ts +0 -15
  1339. package/src/builders/ClonesApiBuilder.ts +0 -15
  1340. package/src/builders/ContactsApiBuilder.ts +0 -15
  1341. package/src/builders/ContractsApiBuilder.ts +0 -15
  1342. package/src/builders/CorporationsApiBuilder.ts +0 -15
  1343. package/src/builders/DogmaApiBuilder.ts +0 -16
  1344. package/src/builders/FactionApiBuilder.ts +0 -15
  1345. package/src/builders/FittingsApiBuilder.ts +0 -15
  1346. package/src/builders/FleetApiBuilder.ts +0 -15
  1347. package/src/builders/IncursionsApiBuilder.ts +0 -15
  1348. package/src/builders/IndustryApiBuilder.ts +0 -15
  1349. package/src/builders/InsuranceApiBuilder.ts +0 -15
  1350. package/src/builders/KillmailsBuilder.ts +0 -15
  1351. package/src/builders/LocationApiBuilder.ts +0 -15
  1352. package/src/builders/LoyaltyApiBuilder.ts +0 -15
  1353. package/src/builders/MailApiBuilder.ts +0 -15
  1354. package/src/builders/MarketApiBuilder.ts +0 -15
  1355. package/src/builders/MetaApiBuilder.ts +0 -15
  1356. package/src/builders/OpportunitiesApiBuilder.ts +0 -17
  1357. package/src/builders/PiApiBuilder.ts +0 -15
  1358. package/src/builders/RouteApiBuilder.ts +0 -15
  1359. package/src/builders/SearchApiBuilder.ts +0 -15
  1360. package/src/builders/SkillsApiBuilder.ts +0 -15
  1361. package/src/builders/SovereigntyApiBuilder.ts +0 -15
  1362. package/src/builders/StatusApiBuilder.ts +0 -15
  1363. package/src/builders/UiApiBuilder.ts +0 -15
  1364. package/src/builders/UniverseApiBuilder.ts +0 -15
  1365. package/src/builders/WalletApiBuilder.ts +0 -16
  1366. package/src/builders/WarsAPIBuilder.ts +0 -15
  1367. package/src/clients/AllianceClient.ts +0 -58
  1368. package/src/clients/AssetsClient.ts +0 -49
  1369. package/src/clients/BookmarkClient.ts +0 -35
  1370. package/src/clients/CalendarClient.ts +0 -35
  1371. package/src/clients/CharacterClient.ts +0 -105
  1372. package/src/clients/ClonesClient.ts +0 -28
  1373. package/src/clients/ContactsClient.ts +0 -70
  1374. package/src/clients/ContractsClient.ts +0 -70
  1375. package/src/clients/CorporationsClient.ts +0 -168
  1376. package/src/clients/DogmaClient.ts +0 -43
  1377. package/src/clients/FactionClient.ts +0 -63
  1378. package/src/clients/FittingsClient.ts +0 -28
  1379. package/src/clients/FleetClient.ts +0 -105
  1380. package/src/clients/IncursionsClient.ts +0 -14
  1381. package/src/clients/IndustryClient.ts +0 -63
  1382. package/src/clients/InsuranceClient.ts +0 -14
  1383. package/src/clients/KillmailsClient.ts +0 -28
  1384. package/src/clients/LocationClient.ts +0 -28
  1385. package/src/clients/LoyaltyClient.ts +0 -21
  1386. package/src/clients/MailClient.ts +0 -70
  1387. package/src/clients/MarketClient.ts +0 -84
  1388. package/src/clients/MetaClient.ts +0 -24
  1389. package/src/clients/OpportunitiesClient.ts +0 -42
  1390. package/src/clients/PiClient.ts +0 -35
  1391. package/src/clients/RouteClient.ts +0 -14
  1392. package/src/clients/SearchClient.ts +0 -14
  1393. package/src/clients/SkillsClient.ts +0 -28
  1394. package/src/clients/SovereigntyClient.ts +0 -28
  1395. package/src/clients/StatusClient.ts +0 -24
  1396. package/src/clients/UiClient.ts +0 -42
  1397. package/src/clients/UniverseClient.ts +0 -212
  1398. package/src/clients/WalletClient.ts +0 -49
  1399. package/src/clients/WarsClient.ts +0 -28
  1400. package/src/config/configManager.ts +0 -30
  1401. package/src/config/constants.ts +0 -6
  1402. package/src/config/esi.json +0 -8
  1403. package/src/config/jest/jest.setup.ts +0 -25
  1404. package/src/config/swagger.json +0 -1
  1405. package/src/core/ApiClient.ts +0 -18
  1406. package/src/core/ApiClientBuilder.ts +0 -26
  1407. package/src/core/ApiError.ts +0 -6
  1408. package/src/core/ApiRequestHandler.ts +0 -212
  1409. package/src/core/IAPIBuilder.ts +0 -13
  1410. package/src/core/cache/ETagCacheManager.ts +0 -248
  1411. package/src/core/container/Container.ts +0 -176
  1412. package/src/core/errors/ApiError.ts +0 -153
  1413. package/src/core/factory/ApiFactory.ts +0 -207
  1414. package/src/core/logger/index.ts +0 -1
  1415. package/src/core/logger/logger.ts +0 -35
  1416. package/src/core/logger/loggerUtil.ts +0 -17
  1417. package/src/core/util/error.ts +0 -7
  1418. package/src/core/util/file.ts +0 -21
  1419. package/src/core/util/headersUtil.ts +0 -46
  1420. package/src/core/util/inputValidation.ts +0 -6
  1421. package/src/core/util/network.ts +0 -9
  1422. package/src/core/util/request.ts +0 -15
  1423. package/src/core/util/testHelpers.ts +0 -20
  1424. package/src/index.ts +0 -225
  1425. package/src/testing/TestDataFactory.ts +0 -742
  1426. package/src/testing/TestHelpers.ts +0 -280
  1427. package/src/types/api-responses.ts +0 -291
  1428. package/src/types/winston-loggly-bulk.d.ts +0 -14
  1429. package/tests/bdd/simple-bdd-demo.test.ts +0 -210
  1430. package/tests/bdd-scenarios/core/bdd-alliance.test.ts +0 -210
  1431. package/tests/bdd-scenarios/core/bdd-character.test.ts +0 -346
  1432. package/tests/bdd-scenarios/core/bdd-clones.test.ts +0 -159
  1433. package/tests/bdd-scenarios/core/bdd-corporation-projects.test.ts +0 -136
  1434. package/tests/bdd-scenarios/core/bdd-corporation.test.ts +0 -388
  1435. package/tests/bdd-scenarios/core/bdd-etag-caching.test.ts +0 -280
  1436. package/tests/bdd-scenarios/core/bdd-market.test.ts +0 -435
  1437. package/tests/bdd-scenarios/core/bdd-meta.test.ts +0 -131
  1438. package/tests/bdd-scenarios/core/bdd-universe.test.ts +0 -463
  1439. package/tests/bdd-scenarios/integration/bdd-integration-workflows.test.ts +0 -490
  1440. package/tests/bdd-scenarios/performance/bdd-performance.test.ts +0 -463
  1441. package/tests/tdd/alliances/AllianceAPIBuilder.test.ts +0 -24
  1442. package/tests/tdd/alliances/AllianceClient.improved.test.ts +0 -266
  1443. package/tests/tdd/alliances/AllianceClient.test.ts +0 -198
  1444. package/tests/tdd/alliances/getAllianceByID.test.ts +0 -61
  1445. package/tests/tdd/alliances/getAllianceContactLabels.test.ts +0 -43
  1446. package/tests/tdd/alliances/getAllianceContacts.test.ts +0 -60
  1447. package/tests/tdd/alliances/getAllianceCorporations.test.ts +0 -39
  1448. package/tests/tdd/alliances/getAllianceIcons.test.ts +0 -39
  1449. package/tests/tdd/alliances/getAlliances.test.ts +0 -35
  1450. package/tests/tdd/assets/AssetsBuilder.test.ts +0 -20
  1451. package/tests/tdd/assets/AssetsClient.test.ts +0 -192
  1452. package/tests/tdd/assets/getCharacterAssetsApi.test.ts +0 -33
  1453. package/tests/tdd/assets/getCorporationAssetsApi.test.ts +0 -55
  1454. package/tests/tdd/assets/postCharacterAssetsLocationApi.test.ts +0 -50
  1455. package/tests/tdd/assets/postCharacterAssetsNamesApi.test.ts +0 -43
  1456. package/tests/tdd/assets/postCorporationAssetLocationsApi.test.ts +0 -48
  1457. package/tests/tdd/assets/postCorporationAssetNamesApi.test.ts +0 -43
  1458. package/tests/tdd/bookmarks/BookmarkApiBuilder.test.ts +0 -21
  1459. package/tests/tdd/bookmarks/BookmarkClient.test.ts +0 -68
  1460. package/tests/tdd/bookmarks/getCharacterBookmarkFolders.test.ts +0 -37
  1461. package/tests/tdd/bookmarks/getCharacterBookmarks.test.ts +0 -42
  1462. package/tests/tdd/bookmarks/getCorporationBookmarkFolders.test.ts +0 -42
  1463. package/tests/tdd/bookmarks/getCorporationBookmarks.test.ts +0 -62
  1464. package/tests/tdd/calendar/CalendarApiBuilder.test.ts +0 -24
  1465. package/tests/tdd/calendar/CalendarClient.test.ts +0 -100
  1466. package/tests/tdd/calendar/getCalendarEventById.test.ts +0 -29
  1467. package/tests/tdd/calendar/getCalendarEvents.test.ts +0 -29
  1468. package/tests/tdd/calendar/getEventAttendees.test.ts +0 -29
  1469. package/tests/tdd/calendar/respondToCalendarEvent.test.ts +0 -29
  1470. package/tests/tdd/characters/CharacterBuilder.test.ts +0 -20
  1471. package/tests/tdd/characters/CharacterClient.test.ts +0 -153
  1472. package/tests/tdd/characters/getAgentsResearch.test.ts +0 -42
  1473. package/tests/tdd/characters/getBlueprints.test.ts +0 -42
  1474. package/tests/tdd/characters/getCharacterPublicInfo.test.ts +0 -37
  1475. package/tests/tdd/characters/getCharacterRoles.test.ts +0 -34
  1476. package/tests/tdd/characters/getCharacterStandings.test.ts +0 -45
  1477. package/tests/tdd/characters/getCharacterTitles.test.ts +0 -40
  1478. package/tests/tdd/characters/getContactNotifications.test.ts +0 -42
  1479. package/tests/tdd/characters/getCorporationHistory.test.ts +0 -42
  1480. package/tests/tdd/characters/getJumpFatigue.test.ts +0 -37
  1481. package/tests/tdd/characters/getMedals.test.ts +0 -42
  1482. package/tests/tdd/characters/getNotifications.test.ts +0 -42
  1483. package/tests/tdd/characters/getPortrait.test.ts +0 -35
  1484. package/tests/tdd/characters/postCSPAChargeCost.test.ts +0 -39
  1485. package/tests/tdd/characters/postCharacterAffiliation.test.ts +0 -48
  1486. package/tests/tdd/clones/ClonesApiBuilder.test.ts +0 -19
  1487. package/tests/tdd/clones/ClonesClient.test.ts +0 -61
  1488. package/tests/tdd/clones/getClonesApi.test.ts +0 -48
  1489. package/tests/tdd/clones/getImplantsApi.test.ts +0 -35
  1490. package/tests/tdd/clones/postJumpCloneActivation.test.ts +0 -70
  1491. package/tests/tdd/contacts/ContactsApiBuilder.test.ts +0 -21
  1492. package/tests/tdd/contacts/ContactsClient.test.ts +0 -289
  1493. package/tests/tdd/contacts/deleteCharacterContacts.test.ts +0 -23
  1494. package/tests/tdd/contacts/getAllianceContactLabels.test.ts +0 -33
  1495. package/tests/tdd/contacts/getAllianceContacts.test.ts +0 -37
  1496. package/tests/tdd/contacts/getCharacterContactLabels.test.ts +0 -33
  1497. package/tests/tdd/contacts/getCharacterContacts.test.ts +0 -37
  1498. package/tests/tdd/contacts/getCorporationContactLabels.test.ts +0 -33
  1499. package/tests/tdd/contacts/getCorporationContacts.test.ts +0 -37
  1500. package/tests/tdd/contacts/postCharacterContacts.test.ts +0 -30
  1501. package/tests/tdd/contacts/putCharacterContacts.test.ts +0 -30
  1502. package/tests/tdd/contracts/ContractsApiBuilder.ts +0 -20
  1503. package/tests/tdd/contracts/ContractsClient.ts +0 -247
  1504. package/tests/tdd/contracts/getCharacterContractBids.test.ts +0 -49
  1505. package/tests/tdd/contracts/getCharacterContractItems.test.ts +0 -48
  1506. package/tests/tdd/contracts/getCharacterContracts.test.ts +0 -57
  1507. package/tests/tdd/contracts/getCorporationContractBids.test.ts +0 -48
  1508. package/tests/tdd/contracts/getCorporationContractItems.test.ts +0 -48
  1509. package/tests/tdd/contracts/getCorporationContracts.test.ts +0 -56
  1510. package/tests/tdd/contracts/getPublicContractBids.test.ts +0 -47
  1511. package/tests/tdd/contracts/getPublicContractItems.test.ts +0 -48
  1512. package/tests/tdd/contracts/getPublicContracts.test.ts +0 -58
  1513. package/tests/tdd/core/ETagCacheManager.test.ts +0 -173
  1514. package/tests/tdd/core/ETagIntegration.test.ts +0 -208
  1515. package/tests/tdd/corporations/CorporationsApiBuilder.test.ts +0 -20
  1516. package/tests/tdd/corporations/CorporationsClient.test.ts +0 -401
  1517. package/tests/tdd/corporations/getCorporationAllianceHistory.test.ts +0 -45
  1518. package/tests/tdd/corporations/getCorporationAlscLogs.test.ts +0 -57
  1519. package/tests/tdd/corporations/getCorporationBlueprints.test.ts +0 -60
  1520. package/tests/tdd/corporations/getCorporationDivisions.test.ts +0 -64
  1521. package/tests/tdd/corporations/getCorporationFacilities.test.ts +0 -60
  1522. package/tests/tdd/corporations/getCorporationIcon.test.ts +0 -40
  1523. package/tests/tdd/corporations/getCorporationInfo.test.ts +0 -40
  1524. package/tests/tdd/corporations/getCorporationIssuedMedals.test.ts +0 -54
  1525. package/tests/tdd/corporations/getCorporationMedals.test.ts +0 -51
  1526. package/tests/tdd/corporations/getCorporationMemberLimit.test.ts +0 -32
  1527. package/tests/tdd/corporations/getCorporationMemberRoles.test.ts +0 -45
  1528. package/tests/tdd/corporations/getCorporationMemberRolesHistory.test.ts +0 -60
  1529. package/tests/tdd/corporations/getCorporationMemberTracking.test.ts +0 -48
  1530. package/tests/tdd/corporations/getCorporationMembers.test.ts +0 -34
  1531. package/tests/tdd/corporations/getCorporationMembersTitles.test.ts +0 -45
  1532. package/tests/tdd/corporations/getCorporationProjects.test.ts +0 -62
  1533. package/tests/tdd/corporations/getCorporationShareholders.test.ts +0 -45
  1534. package/tests/tdd/corporations/getCorporationStandings.test.ts +0 -45
  1535. package/tests/tdd/corporations/getCorporationStarbaseDetail.test.ts +0 -49
  1536. package/tests/tdd/corporations/getCorporationStarbases.test.ts +0 -54
  1537. package/tests/tdd/corporations/getCorporationStructures.test.ts +0 -54
  1538. package/tests/tdd/corporations/getCorporationTitles.test.ts +0 -66
  1539. package/tests/tdd/corporations/getNpcCorporations.test.ts +0 -34
  1540. package/tests/tdd/dogma/DogmaAPIBuilder.test.ts +0 -13
  1541. package/tests/tdd/dogma/DogmanClient.test.ts +0 -54
  1542. package/tests/tdd/dogma/getDogmaAttributeById.test.ts +0 -22
  1543. package/tests/tdd/dogma/getDogmaAttributes.test.ts +0 -22
  1544. package/tests/tdd/dogma/getDogmaDynamicItemAttributes.test.ts +0 -22
  1545. package/tests/tdd/dogma/getDogmaEffectById.test.ts +0 -22
  1546. package/tests/tdd/dogma/getDogmaEffects.test.ts +0 -22
  1547. package/tests/tdd/factions/FactionApiBuilder.test.ts +0 -17
  1548. package/tests/tdd/factions/FactionClient.test.ts +0 -281
  1549. package/tests/tdd/factions/getCharacterFactionWarfareStats.test.ts +0 -72
  1550. package/tests/tdd/factions/getCharacterLeaderboards.test.ts +0 -103
  1551. package/tests/tdd/factions/getCorporationFactionWarfareStats.test.ts +0 -72
  1552. package/tests/tdd/factions/getCorporationLeaderboards.test.ts +0 -103
  1553. package/tests/tdd/factions/getFactionLeaderboards.test.ts +0 -103
  1554. package/tests/tdd/factions/getFactionWarfareStats.test.ts +0 -77
  1555. package/tests/tdd/factions/getFactionWarfareSystems.test.ts +0 -59
  1556. package/tests/tdd/factions/getFactionWarfareWars.test.ts +0 -43
  1557. package/tests/tdd/fittings/FittingsBuilder.test.ts +0 -22
  1558. package/tests/tdd/fittings/FittingsClient.test.ts +0 -93
  1559. package/tests/tdd/fittings/deleteCharacterFitting.test.ts +0 -22
  1560. package/tests/tdd/fittings/getCharacterFittings.test.ts +0 -57
  1561. package/tests/tdd/fittings/postCharacterFittings.test.ts +0 -47
  1562. package/tests/tdd/fleets/FleetApiBuilder.test.ts +0 -20
  1563. package/tests/tdd/fleets/FleetClient.test.ts +0 -212
  1564. package/tests/tdd/fleets/deleteFleetMember.test.ts +0 -31
  1565. package/tests/tdd/fleets/deleteFleetSquad.test.ts +0 -24
  1566. package/tests/tdd/fleets/deleteFleetWing.test.ts +0 -24
  1567. package/tests/tdd/fleets/getCharacterFleetInfo.test.ts +0 -39
  1568. package/tests/tdd/fleets/getFleetInfo.test.ts +0 -42
  1569. package/tests/tdd/fleets/getFleetMembers.test.ts +0 -45
  1570. package/tests/tdd/fleets/getFleetWings.test.ts +0 -35
  1571. package/tests/tdd/fleets/postFleetInvitation.test.ts +0 -29
  1572. package/tests/tdd/fleets/postFleetSquad.test.ts +0 -22
  1573. package/tests/tdd/fleets/postFleetWing.test.ts +0 -31
  1574. package/tests/tdd/fleets/putFleetMember.test.ts +0 -36
  1575. package/tests/tdd/fleets/putFleetSquad.test.ts +0 -28
  1576. package/tests/tdd/fleets/putFleetWing.test.ts +0 -22
  1577. package/tests/tdd/fleets/updateFleet.test.ts +0 -39
  1578. package/tests/tdd/incursions/IncursionsApiBuilder.test.ts +0 -20
  1579. package/tests/tdd/incursions/IncursionsClient.test.ts +0 -63
  1580. package/tests/tdd/incursions/getIncursions.test.ts +0 -166
  1581. package/tests/tdd/industry/IndustryBuilder.test.ts +0 -20
  1582. package/tests/tdd/industry/IndustryClient.test.ts +0 -354
  1583. package/tests/tdd/industry/getCharacterIndustryJobs.test.ts +0 -80
  1584. package/tests/tdd/industry/getCharacterMiningLedger.test.ts +0 -41
  1585. package/tests/tdd/industry/getCorporationIndustryJobs.test.ts +0 -92
  1586. package/tests/tdd/industry/getCorporationMiningObserver.test.ts +0 -44
  1587. package/tests/tdd/industry/getCorporationMiningObservers.test.ts +0 -38
  1588. package/tests/tdd/industry/getIndustryFacilities.test.ts +0 -47
  1589. package/tests/tdd/industry/getIndustrySystems.test.ts +0 -46
  1590. package/tests/tdd/industry/getMoonExtractionTimers.test.ts +0 -44
  1591. package/tests/tdd/insurance/InsuranceApiBuilder.test.ts +0 -21
  1592. package/tests/tdd/insurance/InsuranceClient.test.ts +0 -50
  1593. package/tests/tdd/insurance/getInsurancePrices.test.ts +0 -51
  1594. package/tests/tdd/killmails/KillmailApiBuilder.test.ts +0 -20
  1595. package/tests/tdd/killmails/KillmailClient.test.ts +0 -110
  1596. package/tests/tdd/killmails/getCharacterRecentKillmails.test.ts +0 -52
  1597. package/tests/tdd/killmails/getCorporationRecentKillmails.test.ts +0 -52
  1598. package/tests/tdd/killmails/getKillmail.test.ts +0 -47
  1599. package/tests/tdd/location/LocationApiBuilder.test.ts +0 -20
  1600. package/tests/tdd/location/LocationClient.test.ts +0 -82
  1601. package/tests/tdd/location/getCharacterLocation.test.ts +0 -41
  1602. package/tests/tdd/location/getCharacterOnline.test.ts +0 -44
  1603. package/tests/tdd/location/getCharacterShip.test.ts +0 -41
  1604. package/tests/tdd/loyalty/LoyaltyApiBuilder.test.ts +0 -20
  1605. package/tests/tdd/loyalty/LoyaltyClient.test.ts +0 -73
  1606. package/tests/tdd/loyalty/getLoyaltyPoints.test.ts +0 -35
  1607. package/tests/tdd/loyalty/getLoyaltyStoreOffers.test.ts +0 -44
  1608. package/tests/tdd/mail/MailApiBuilder.test.ts +0 -20
  1609. package/tests/tdd/mail/MailClient.test.ts +0 -189
  1610. package/tests/tdd/mail/deleteCharacterMail.test.ts +0 -22
  1611. package/tests/tdd/mail/getCharacterMail.test.ts +0 -46
  1612. package/tests/tdd/mail/getCharacterMailHeaders.ts +0 -51
  1613. package/tests/tdd/mail/getCharacterMailLabels.test.ts +0 -44
  1614. package/tests/tdd/mail/postCharacterMail.test.ts +0 -40
  1615. package/tests/tdd/mail/postCharacterMailLabels.test.ts +0 -31
  1616. package/tests/tdd/mail/putCharacterMail.test.ts +0 -27
  1617. package/tests/tdd/market/MarketApiBuilder.test.ts +0 -20
  1618. package/tests/tdd/market/MarketClient.test.ts +0 -398
  1619. package/tests/tdd/market/getCharacterOrderHistory.test.ts +0 -61
  1620. package/tests/tdd/market/getCharacterOrders.test.test.ts +0 -61
  1621. package/tests/tdd/market/getCorporationOrderHistory.test.ts +0 -61
  1622. package/tests/tdd/market/getCorporationOrders.test.ts +0 -61
  1623. package/tests/tdd/market/getMarketGroupInformation.test.ts +0 -43
  1624. package/tests/tdd/market/getMarketGroups.test.ts +0 -48
  1625. package/tests/tdd/market/getMarketHistory.test.ts +0 -49
  1626. package/tests/tdd/market/getMarketOrders.test.ts +0 -59
  1627. package/tests/tdd/market/getMarketOrdersInStructure.test.ts +0 -67
  1628. package/tests/tdd/market/getMarketPrices.test.ts +0 -51
  1629. package/tests/tdd/market/getMarketTypes.test.ts +0 -35
  1630. package/tests/tdd/meta/MetaApiBuilder.test.ts +0 -45
  1631. package/tests/tdd/meta/MetaClient.test.ts +0 -92
  1632. package/tests/tdd/meta/getSwaggerJson.test.ts +0 -40
  1633. package/tests/tdd/meta/getSwaggerYaml.test.ts +0 -40
  1634. package/tests/tdd/opportunities/OpportunitiesAPIBuillder.test.ts +0 -25
  1635. package/tests/tdd/opportunities/OpportunitiesClient.test.ts +0 -109
  1636. package/tests/tdd/opportunities/getCharacterOpportunities.test.ts +0 -38
  1637. package/tests/tdd/opportunities/getOpportunitiesGroupById.test.ts +0 -42
  1638. package/tests/tdd/opportunities/getOpportunitiesGroups.test.ts +0 -40
  1639. package/tests/tdd/opportunities/getOpportunitiesTaskById.test.ts +0 -37
  1640. package/tests/tdd/opportunities/getOpportunitiesTasks.test.ts +0 -40
  1641. package/tests/tdd/pi/PiApiBuilder.test.ts +0 -20
  1642. package/tests/tdd/pi/PiClient.test.ts +0 -155
  1643. package/tests/tdd/pi/getColonies.test.ts +0 -47
  1644. package/tests/tdd/pi/getColonyLayout.test.ts +0 -45
  1645. package/tests/tdd/pi/getCorporationCustomsOffices.test.ts +0 -63
  1646. package/tests/tdd/pi/getSchematicInformation.test.ts +0 -36
  1647. package/tests/tdd/route/RouteApiBuilder.ts +0 -20
  1648. package/tests/tdd/route/RouteClient.test.ts +0 -38
  1649. package/tests/tdd/route/getRoute.test.ts +0 -37
  1650. package/tests/tdd/search/characterSearch.test.ts +0 -50
  1651. package/tests/tdd/search/searchApiBuilder.test.ts +0 -17
  1652. package/tests/tdd/search/searchClient.test.ts +0 -40
  1653. package/tests/tdd/skills/SkillsApiBuilder.test.ts +0 -20
  1654. package/tests/tdd/skills/SkillsClient.test.ts +0 -112
  1655. package/tests/tdd/skills/getCharacterAttributes.test.ts +0 -39
  1656. package/tests/tdd/skills/getCharacterSkillQueue.test.ts +0 -48
  1657. package/tests/tdd/skills/getCharacterSkills.test.ts +0 -46
  1658. package/tests/tdd/sovereignty/SovereigntyApiBuilder.test.ts +0 -18
  1659. package/tests/tdd/sovereignty/SovereigntyClient.test.ts +0 -84
  1660. package/tests/tdd/sovereignty/getSovereigntyCampaigns.test.ts +0 -41
  1661. package/tests/tdd/sovereignty/getSovereigntyMap.test.ts +0 -37
  1662. package/tests/tdd/sovereignty/getSovereigntyStructures.test.ts +0 -41
  1663. package/tests/tdd/status/StatusAPIBuilder.test.ts +0 -20
  1664. package/tests/tdd/status/StatusClient.test.ts +0 -40
  1665. package/tests/tdd/status/getStatus.test.ts +0 -47
  1666. package/tests/tdd/ui/UiApiBuilder.test.ts +0 -20
  1667. package/tests/tdd/ui/UiClient.test.ts +0 -81
  1668. package/tests/tdd/ui/postAutopilotWaypoint.test.ts +0 -36
  1669. package/tests/tdd/ui/postOpenContractWindow.test.ts +0 -34
  1670. package/tests/tdd/ui/postOpenInformationWindow.test.ts +0 -34
  1671. package/tests/tdd/ui/postOpenMarketDetailsWindow.test.ts +0 -34
  1672. package/tests/tdd/ui/postOpenNewMailWindow.test.ts +0 -36
  1673. package/tests/tdd/universe/UniverseApiBuilder.test.ts +0 -60
  1674. package/tests/tdd/universe/UniverseClient.test.ts +0 -215
  1675. package/tests/tdd/universe/getAncestries.test.ts +0 -34
  1676. package/tests/tdd/universe/getAsteroidBeltInfo.test.ts +0 -29
  1677. package/tests/tdd/universe/getBloodlines.test.ts +0 -34
  1678. package/tests/tdd/universe/getConstellationById.test.ts +0 -37
  1679. package/tests/tdd/universe/getConstellations.test.ts +0 -34
  1680. package/tests/tdd/universe/getFactions.test.ts +0 -34
  1681. package/tests/tdd/universe/getGraphicById.test.ts +0 -45
  1682. package/tests/tdd/universe/getGraphics.test.ts +0 -34
  1683. package/tests/tdd/universe/getGroupById.test.ts +0 -45
  1684. package/tests/tdd/universe/getItemCategories.test.ts +0 -34
  1685. package/tests/tdd/universe/getItemCategoryById.test.ts +0 -37
  1686. package/tests/tdd/universe/getItemGroups.test.ts +0 -50
  1687. package/tests/tdd/universe/getMoonById.test.ts +0 -59
  1688. package/tests/tdd/universe/getPlanetById.test.ts +0 -63
  1689. package/tests/tdd/universe/getRaces.test.ts +0 -50
  1690. package/tests/tdd/universe/getRegionById.test.ts +0 -53
  1691. package/tests/tdd/universe/getStarById.test.ts +0 -53
  1692. package/tests/tdd/universe/getStargateById.test.ts +0 -63
  1693. package/tests/tdd/universe/getStationById.test.ts +0 -53
  1694. package/tests/tdd/universe/getStructureById.test.ts +0 -71
  1695. package/tests/tdd/universe/getStructures.test.ts +0 -33
  1696. package/tests/tdd/universe/getSystemById.test.ts +0 -49
  1697. package/tests/tdd/universe/getSystemJumps.test.ts +0 -46
  1698. package/tests/tdd/universe/getSystemKills.test.ts +0 -46
  1699. package/tests/tdd/universe/getSystems.test.ts +0 -33
  1700. package/tests/tdd/universe/getTypeById.test.ts +0 -53
  1701. package/tests/tdd/universe/getTypes.test.ts +0 -33
  1702. package/tests/tdd/universe/postBulkNamesToIds.test.ts +0 -47
  1703. package/tests/tdd/universe/postNamesAndCatagories.test.ts +0 -47
  1704. package/tests/tdd/wallet/WalletApiBuilder.test.ts +0 -20
  1705. package/tests/tdd/wallet/WalletClient.test.ts +0 -187
  1706. package/tests/tdd/wallet/getCharacterWallet.test.ts +0 -35
  1707. package/tests/tdd/wallet/getCharacterWalletJournal.test.ts +0 -53
  1708. package/tests/tdd/wallet/getCharacterWalletTransactions.test.ts +0 -57
  1709. package/tests/tdd/wallet/getCorporationWalletJournal.test.ts +0 -53
  1710. package/tests/tdd/wallet/getCorporationWalletTransactions.test.ts +0 -57
  1711. package/tests/tdd/wallet/getCorporationWallets.test.ts +0 -43
  1712. package/tests/tdd/wars/WarsAPIBuilder.test.ts +0 -23
  1713. package/tests/tdd/wars/WarsClient.test.ts +0 -93
  1714. package/tests/tdd/wars/getWarById.test.ts +0 -31
  1715. package/tests/tdd/wars/getWarKillmails.test.ts +0 -33
  1716. package/tests/tdd/wars/getWars.test.ts +0 -33
  1717. package/tsconfig.json +0 -15
  1718. package/typedoc.json +0 -77
  1719. package/types/global.d.ts +0 -17
  1720. package/types/jest.d.ts +0 -1
@@ -0,0 +1,369 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handleRequest = void 0;
4
+ const error_1 = require("../core/util/error");
5
+ const loggerUtil_1 = require("../core/logger/loggerUtil");
6
+ const headersUtil_1 = require("../core/util/headersUtil");
7
+ const PaginationHandler_1 = require("./pagination/PaginationHandler");
8
+ const constants_1 = require("./constants");
9
+ const STATUS_MESSAGES = {
10
+ 201: 'Created',
11
+ 204: 'No Content',
12
+ 304: 'Not Modified',
13
+ 400: 'Bad Request',
14
+ 401: 'Unauthorized',
15
+ 403: 'Forbidden',
16
+ 404: 'Resource not found',
17
+ 420: 'Error Limited',
18
+ 422: 'Unprocessable Entity',
19
+ 429: 'Too many requests',
20
+ 500: 'Internal server error',
21
+ 503: 'Service Unavailable',
22
+ 504: 'Gateway Timeout',
23
+ 520: 'Internal server error, did the request terminate too soon?',
24
+ };
25
+ // --- Dependency resolution ---
26
+ function resolveCache(client) {
27
+ return client.getCache();
28
+ }
29
+ function resolveRateLimiter(client) {
30
+ const limiter = client.getRateLimiter();
31
+ if (!limiter) {
32
+ throw (0, error_1.buildError)('No rate limiter configured on ApiClient. ' +
33
+ 'Set one via apiClient.setRateLimiter(new RateLimiter()).', 'CONFIGURATION_ERROR');
34
+ }
35
+ return limiter;
36
+ }
37
+ function resolveCircuitBreaker(client) {
38
+ return client.getCircuitBreaker();
39
+ }
40
+ // --- Pure helpers ---
41
+ const parseCacheControlTtl = (headers) => {
42
+ const cacheControl = headers['cache-control'] || headers['Cache-Control'];
43
+ if (!cacheControl)
44
+ return undefined;
45
+ const match = /max-age=(\d+)/.exec(cacheControl);
46
+ return match ? parseInt(match[1], 10) * 1000 : undefined;
47
+ };
48
+ function buildRequestHeaders(client, url, method, requiresAuth, useETag, body) {
49
+ const headers = {
50
+ accept: 'gzip, deflate, br',
51
+ 'User-Agent': constants_1.USER_AGENT,
52
+ 'X-Compatibility-Date': constants_1.COMPATIBILITY_DATE,
53
+ };
54
+ if (requiresAuth) {
55
+ const authHeader = client.getAuthorizationHeader();
56
+ if (!authHeader) {
57
+ throw (0, error_1.buildError)('Authorization header is required but not provided', 'NO_AUTH_TOKEN');
58
+ }
59
+ headers['Authorization'] = authHeader;
60
+ }
61
+ const cache = resolveCache(client);
62
+ if (useETag && method === 'GET' && cache) {
63
+ const cachedETag = cache.getETag(url);
64
+ if (cachedETag) {
65
+ headers['If-None-Match'] = cachedETag;
66
+ (0, loggerUtil_1.logDebug)(`Adding If-None-Match header: ${cachedETag}`);
67
+ }
68
+ }
69
+ if (body) {
70
+ headers['Content-Type'] = 'application/json';
71
+ }
72
+ return headers;
73
+ }
74
+ function handleEarlyStatus(client, status, url, parsed, useETag) {
75
+ if (status === 201) {
76
+ return { headers: parsed.raw, body: undefined };
77
+ }
78
+ if (status === 204) {
79
+ (0, loggerUtil_1.logInfo)(`No Content for endpoint: ${url}`);
80
+ return { headers: parsed.raw, body: undefined };
81
+ }
82
+ if (status === 304) {
83
+ const cache = resolveCache(client);
84
+ if (useETag && cache) {
85
+ const cachedEntry = cache.get(url);
86
+ if (cachedEntry) {
87
+ (0, loggerUtil_1.logInfo)(`Cache hit (304) for endpoint: ${url}`);
88
+ return {
89
+ headers: { ...cachedEntry.headers, ...parsed.raw },
90
+ body: cachedEntry.data,
91
+ fromCache: true,
92
+ };
93
+ }
94
+ }
95
+ throw new error_1.EsiError(304, 'Not Modified — no cached data available', url, parsed.requestId ?? undefined);
96
+ }
97
+ return null;
98
+ }
99
+ function tryStaleCacheResponse(client, url, parsed) {
100
+ const cache = resolveCache(client);
101
+ if (!cache)
102
+ return null;
103
+ const cachedEntry = cache.get(url);
104
+ if (!cachedEntry)
105
+ return null;
106
+ return {
107
+ headers: { ...cachedEntry.headers, ...parsed.raw },
108
+ body: cachedEntry.data,
109
+ fromCache: true,
110
+ stale: true,
111
+ };
112
+ }
113
+ function cacheResponse(client, url, method, endpoint, parsed, data, useETag) {
114
+ const cache = resolveCache(client);
115
+ if (useETag && method === 'GET' && cache && parsed.etag) {
116
+ const ttl = parseCacheControlTtl(parsed.raw);
117
+ cache.set(url, parsed.etag, data, parsed.raw, ttl);
118
+ const ttlInfo = ttl ? ` (ttl=${ttl}ms)` : '';
119
+ (0, loggerUtil_1.logDebug)(`Cached response for ${url} with ETag ${parsed.etag}${ttlInfo}`);
120
+ }
121
+ if (method !== 'GET' && cache) {
122
+ cache.deleteByPath(endpoint.split('?')[0]);
123
+ }
124
+ }
125
+ async function parseJsonBody(response, _url) {
126
+ try {
127
+ return (await response.json());
128
+ }
129
+ catch (jsonError) {
130
+ const msg = jsonError instanceof Error ? jsonError.message : String(jsonError);
131
+ (0, loggerUtil_1.logError)(`Failed to parse JSON response: ${msg}`);
132
+ throw (0, error_1.buildError)(`Invalid JSON response: ${msg}`, 'JSON_PARSE_ERROR');
133
+ }
134
+ }
135
+ function handleCursorPagination(parsed, data) {
136
+ if (!parsed.hasCursorPagination)
137
+ return null;
138
+ const cursors = {
139
+ before: parsed.cursorBefore,
140
+ after: parsed.cursorAfter,
141
+ };
142
+ return { headers: parsed.raw, body: data, cursors };
143
+ }
144
+ async function handleOffsetPagination(client, endpoint, method, requiresAuth, parsed, data, body, url, useETag, pageFetch) {
145
+ const totalPages = parsed.xPages;
146
+ if (totalPages <= 1) {
147
+ return { headers: parsed.raw, body: data };
148
+ }
149
+ (0, loggerUtil_1.logInfo)(`Found ${totalPages} pages, fetching additional pages with rate limiting...`);
150
+ try {
151
+ const firstPageData = Array.isArray(data) ? data : [data];
152
+ const allData = await PaginationHandler_1.PaginationHandler.fetchRemainingPages(client, endpoint, method, requiresAuth, firstPageData, totalPages, body, {
153
+ maxPages: Math.min(totalPages, 1000),
154
+ stopOnEmptyPage: true,
155
+ maxRetries: 3,
156
+ }, pageFetch);
157
+ cacheResponse(client, url, method, endpoint, parsed, allData, useETag);
158
+ return { headers: parsed.raw, body: allData };
159
+ }
160
+ catch (paginationError) {
161
+ const msg = paginationError instanceof Error
162
+ ? paginationError.message
163
+ : String(paginationError);
164
+ (0, loggerUtil_1.logWarn)(`Pagination failed, returning first page only: ${msg}`);
165
+ return { headers: parsed.raw, body: data };
166
+ }
167
+ }
168
+ // --- Response interceptor wrapper ---
169
+ async function applyResponseInterceptors(client, result, url, endpoint, method, startTime) {
170
+ const middleware = client.getMiddleware();
171
+ if (!middleware.hasInterceptors())
172
+ return result;
173
+ const responseCtx = {
174
+ url,
175
+ endpoint,
176
+ method,
177
+ status: 200,
178
+ headers: result.headers,
179
+ body: result.body,
180
+ durationMs: Date.now() - startTime,
181
+ fromCache: result.fromCache ?? false,
182
+ };
183
+ const modified = await middleware.applyResponseInterceptors(responseCtx);
184
+ return {
185
+ ...result,
186
+ headers: modified.headers,
187
+ body: modified.body,
188
+ };
189
+ }
190
+ // --- Main request functions ---
191
+ async function applyRequestMiddleware(client, url, endpoint, method, headers, body) {
192
+ const middleware = client.getMiddleware();
193
+ if (!middleware.hasInterceptors()) {
194
+ return { url, headers, body };
195
+ }
196
+ const reqCtx = {
197
+ url,
198
+ endpoint,
199
+ method,
200
+ headers: { ...headers },
201
+ body,
202
+ };
203
+ const modified = await middleware.applyRequestInterceptors(reqCtx);
204
+ return {
205
+ url: modified.url,
206
+ headers: modified.headers,
207
+ body: modified.body,
208
+ };
209
+ }
210
+ function handleErrorResponse(client, response, url, parsed, useETag) {
211
+ const errorMessage = STATUS_MESSAGES[response.status] || response.statusText;
212
+ if (response.status >= 500 && useETag) {
213
+ const staleResult = tryStaleCacheResponse(client, url, parsed);
214
+ if (staleResult) {
215
+ (0, loggerUtil_1.logWarn)(`${errorMessage} for ${url} — serving stale cache`);
216
+ return staleResult;
217
+ }
218
+ }
219
+ if (response.status === 420 || response.status === 429) {
220
+ (0, loggerUtil_1.logWarn)(`Rate limited (${response.status}) on ${url}`);
221
+ }
222
+ throw new error_1.EsiError(response.status, errorMessage, url, parsed.requestId ?? undefined);
223
+ }
224
+ function wrapError(error) {
225
+ if (error instanceof error_1.EsiError) {
226
+ throw error;
227
+ }
228
+ if (error instanceof Error) {
229
+ (0, loggerUtil_1.logError)(`Unexpected error: ${error.message}`);
230
+ throw (0, error_1.buildError)(error.message, 'ESIJS_ERROR');
231
+ }
232
+ (0, loggerUtil_1.logError)(`Unexpected error: ${String(error)}`);
233
+ throw (0, error_1.buildError)(String(error), 'ESIJS_ERROR');
234
+ }
235
+ async function executeSingleFetch(client, endpoint, method, body, requiresAuth, useETag) {
236
+ const rawUrl = `${client.getLink()}/${endpoint}`;
237
+ const builtHeaders = buildRequestHeaders(client, rawUrl, method, requiresAuth, useETag, body);
238
+ const req = await applyRequestMiddleware(client, rawUrl, endpoint, method, builtHeaders, body);
239
+ const options = {
240
+ method,
241
+ headers: req.headers,
242
+ body: req.body ? JSON.stringify(req.body) : undefined,
243
+ };
244
+ const url = req.url;
245
+ (0, loggerUtil_1.logInfo)(`Hitting endpoint: ${url}`);
246
+ const cb = resolveCircuitBreaker(client);
247
+ if (cb)
248
+ cb.checkCircuit(endpoint);
249
+ const rateLimiter = resolveRateLimiter(client);
250
+ await rateLimiter.checkRateLimit();
251
+ const timeoutMs = client.getTimeout();
252
+ const controller = new AbortController();
253
+ const timer = globalThis.setTimeout(() => controller.abort(), timeoutMs);
254
+ options.signal = controller.signal;
255
+ let response;
256
+ try {
257
+ response = await fetch(url, options);
258
+ }
259
+ catch (err) {
260
+ clearTimeout(timer);
261
+ if (err instanceof Error && err.name === 'AbortError') {
262
+ throw new error_1.EsiError(0, `Request timed out after ${timeoutMs}ms`, url);
263
+ }
264
+ throw err;
265
+ }
266
+ clearTimeout(timer);
267
+ const parsed = (0, headersUtil_1.parseHeaders)(response.headers);
268
+ rateLimiter.updateFromResponse(parsed.raw, response.status);
269
+ if (cb) {
270
+ if (response.status >= 500 ||
271
+ response.status === 420 ||
272
+ response.status === 429) {
273
+ cb.recordFailure(endpoint, response.status);
274
+ }
275
+ else {
276
+ cb.recordSuccess(endpoint);
277
+ }
278
+ }
279
+ if (parsed.warning) {
280
+ (0, loggerUtil_1.logWarn)(`ESI Warning ${parsed.warning.code} for ${url}: ${parsed.warning.message}`);
281
+ }
282
+ return { response, parsed, url };
283
+ }
284
+ async function fetchOnePage(client, endpoint, method, body, requiresAuth = false, useETag = false) {
285
+ const { response, parsed, url } = await executeSingleFetch(client, endpoint, method, body, requiresAuth, useETag);
286
+ if (!response.ok) {
287
+ throw new error_1.EsiError(response.status, STATUS_MESSAGES[response.status] || response.statusText, url, parsed.requestId ?? undefined);
288
+ }
289
+ const data = await parseJsonBody(response, url);
290
+ return { data, parsed, url };
291
+ }
292
+ const executeRequest = async (client, endpoint, method, body, requiresAuth = false, useETag = true) => {
293
+ const startTime = Date.now();
294
+ const finish = (r) => {
295
+ const rawUrl = `${client.getLink()}/${endpoint}`;
296
+ return applyResponseInterceptors(client, r, rawUrl, endpoint, method, startTime);
297
+ };
298
+ try {
299
+ const { response, parsed, url } = await executeSingleFetch(client, endpoint, method, body, requiresAuth, useETag);
300
+ if (response.status === 201) {
301
+ let data;
302
+ try {
303
+ data = (await response.json());
304
+ }
305
+ catch {
306
+ data = undefined;
307
+ }
308
+ return finish({ headers: parsed.raw, body: data });
309
+ }
310
+ const earlyResult = handleEarlyStatus(client, response.status, url, parsed, useETag);
311
+ if (earlyResult)
312
+ return finish(earlyResult);
313
+ if (!response.ok) {
314
+ const staleOrThrow = handleErrorResponse(client, response, url, parsed, useETag);
315
+ return finish(staleOrThrow);
316
+ }
317
+ const data = await parseJsonBody(response, url);
318
+ cacheResponse(client, url, method, endpoint, parsed, data, useETag);
319
+ const cursorResult = handleCursorPagination(parsed, data);
320
+ if (cursorResult)
321
+ return finish(cursorResult);
322
+ const pageFetch = async (paginatedEndpoint) => {
323
+ const result = await fetchOnePage(client, paginatedEndpoint, method, body, requiresAuth);
324
+ return Array.isArray(result.data)
325
+ ? result.data
326
+ : [result.data];
327
+ };
328
+ const paginatedResult = await handleOffsetPagination(client, endpoint, method, requiresAuth, parsed, data, body, url, useETag, pageFetch);
329
+ return finish(paginatedResult);
330
+ }
331
+ catch (error) {
332
+ wrapError(error);
333
+ }
334
+ };
335
+ const handleRequest = async (client, endpoint, method, body, requiresAuth = false, useETag = true) => {
336
+ const doExecute = () => executeRequest(client, endpoint, method, body, requiresAuth, useETag);
337
+ const dedup = client.getDeduplicator();
338
+ const canDedup = dedup && method === 'GET' && !body;
339
+ try {
340
+ return canDedup
341
+ ? await dedup.dedupe(endpoint, doExecute)
342
+ : await doExecute();
343
+ }
344
+ catch (error) {
345
+ if (error instanceof error_1.EsiError &&
346
+ error.statusCode === 401 &&
347
+ requiresAuth &&
348
+ client.hasTokenProvider()) {
349
+ (0, loggerUtil_1.logInfo)('Received 401, attempting token refresh...');
350
+ try {
351
+ await client.refreshToken();
352
+ (0, loggerUtil_1.logInfo)('Token refreshed, retrying request');
353
+ return await executeRequest(client, endpoint, method, body, requiresAuth, useETag);
354
+ }
355
+ catch (refreshError) {
356
+ if (refreshError instanceof error_1.EsiError) {
357
+ throw refreshError;
358
+ }
359
+ const msg = refreshError instanceof Error
360
+ ? refreshError.message
361
+ : String(refreshError);
362
+ (0, loggerUtil_1.logError)(`Token refresh failed: ${msg}`);
363
+ throw (0, error_1.buildError)(`Token refresh failed: ${msg}`, 'TOKEN_REFRESH_FAILED');
364
+ }
365
+ }
366
+ throw error;
367
+ }
368
+ };
369
+ exports.handleRequest = handleRequest;
@@ -0,0 +1,41 @@
1
+ import { ApiClient } from './ApiClient';
2
+ import { AllianceClient } from '../clients/AllianceClient';
3
+ import { AssetsClient } from '../clients/AssetsClient';
4
+ import { CalendarClient } from '../clients/CalendarClient';
5
+ import { CharacterClient } from '../clients/CharacterClient';
6
+ import { ClonesClient } from '../clients/ClonesClient';
7
+ import { ContactsClient } from '../clients/ContactsClient';
8
+ import { ContractsClient } from '../clients/ContractsClient';
9
+ import { CorporationsClient } from '../clients/CorporationsClient';
10
+ import { DogmaClient } from '../clients/DogmaClient';
11
+ import { FactionClient } from '../clients/FactionClient';
12
+ import { FittingsClient } from '../clients/FittingsClient';
13
+ import { FleetClient } from '../clients/FleetClient';
14
+ import { IncursionsClient } from '../clients/IncursionsClient';
15
+ import { IndustryClient } from '../clients/IndustryClient';
16
+ import { InsuranceClient } from '../clients/InsuranceClient';
17
+ import { KillmailsClient } from '../clients/KillmailsClient';
18
+ import { LocationClient } from '../clients/LocationClient';
19
+ import { LoyaltyClient } from '../clients/LoyaltyClient';
20
+ import { MailClient } from '../clients/MailClient';
21
+ import { MarketClient } from '../clients/MarketClient';
22
+ import { PiClient } from '../clients/PiClient';
23
+ import { RouteClient } from '../clients/RouteClient';
24
+ import { SearchClient } from '../clients/SearchClient';
25
+ import { CharacterSkillsClient } from '../clients/SkillsClient';
26
+ import { SovereigntyClient } from '../clients/SovereigntyClient';
27
+ import { StatusClient } from '../clients/StatusClient';
28
+ import { UiClient } from '../clients/UiClient';
29
+ import { UniverseClient } from '../clients/UniverseClient';
30
+ import { WalletClient } from '../clients/WalletClient';
31
+ import { WarsClient } from '../clients/WarsClient';
32
+ import { MetaClient } from '../clients/MetaClient';
33
+ import { FreelanceJobsClient } from '../clients/FreelanceJobsClient';
34
+ import { SkyhooksClient } from '../clients/SkyhooksClient';
35
+ import { MercenaryClient } from '../clients/MercenaryClient';
36
+ import { AccessListsClient } from '../clients/AccessListsClient';
37
+ export type ApiClientType = 'alliance' | 'assets' | 'calendar' | 'characters' | 'clones' | 'contacts' | 'contracts' | 'corporations' | 'dogma' | 'factions' | 'fittings' | 'fleets' | 'incursions' | 'industry' | 'insurance' | 'killmails' | 'location' | 'loyalty' | 'mail' | 'market' | 'pi' | 'route' | 'search' | 'skills' | 'sovereignty' | 'status' | 'ui' | 'universe' | 'wallet' | 'wars' | 'meta' | 'freelanceJobs' | 'skyhooks' | 'mercenary' | 'accessLists';
38
+ export type ClientInstance = AllianceClient | AssetsClient | CalendarClient | CharacterClient | ClonesClient | ContactsClient | ContractsClient | CorporationsClient | DogmaClient | FactionClient | FittingsClient | FleetClient | IncursionsClient | IndustryClient | InsuranceClient | KillmailsClient | LocationClient | LoyaltyClient | MailClient | MarketClient | PiClient | RouteClient | SearchClient | CharacterSkillsClient | SovereigntyClient | StatusClient | UiClient | UniverseClient | WalletClient | WarsClient | MetaClient | FreelanceJobsClient | SkyhooksClient | MercenaryClient | AccessListsClient;
39
+ export declare function createClientInstance(name: ApiClientType, apiClient: ApiClient): ClientInstance;
40
+ export { AllianceClient, AssetsClient, CalendarClient, CharacterClient, ClonesClient, ContactsClient, ContractsClient, CorporationsClient, DogmaClient, FactionClient, FittingsClient, FleetClient, IncursionsClient, IndustryClient, InsuranceClient, KillmailsClient, LocationClient, LoyaltyClient, MailClient, MarketClient, PiClient, RouteClient, SearchClient, CharacterSkillsClient, SovereigntyClient, StatusClient, UiClient, UniverseClient, WalletClient, WarsClient, MetaClient, FreelanceJobsClient, SkyhooksClient, MercenaryClient, AccessListsClient, };
41
+ //# sourceMappingURL=ClientRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientRegistry.d.ts","sourceRoot":"","sources":["../../src/core/ClientRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,WAAW,GACX,cAAc,GACd,OAAO,GACP,UAAU,GACV,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,WAAW,GACX,WAAW,GACX,UAAU,GACV,SAAS,GACT,MAAM,GACN,QAAQ,GACR,IAAI,GACJ,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,IAAI,GACJ,UAAU,GACV,QAAQ,GACR,MAAM,GACN,MAAM,GACN,eAAe,GACf,UAAU,GACV,WAAW,GACX,aAAa,CAAC;AAElB,MAAM,MAAM,cAAc,GACtB,cAAc,GACd,YAAY,GACZ,cAAc,GACd,eAAe,GACf,YAAY,GACZ,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,WAAW,GACX,aAAa,GACb,cAAc,GACd,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,eAAe,GACf,cAAc,GACd,aAAa,GACb,UAAU,GACV,YAAY,GACZ,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,qBAAqB,GACrB,iBAAiB,GACjB,YAAY,GACZ,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,UAAU,GACV,UAAU,GACV,mBAAmB,GACnB,cAAc,GACd,eAAe,GACf,iBAAiB,CAAC;AA2CtB,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,aAAa,EACnB,SAAS,EAAE,SAAS,GACnB,cAAc,CAGhB;AAOD,OAAO,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,iBAAiB,GAClB,CAAC"}
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccessListsClient = exports.MercenaryClient = exports.SkyhooksClient = exports.FreelanceJobsClient = exports.MetaClient = exports.WarsClient = exports.WalletClient = exports.UniverseClient = exports.UiClient = exports.StatusClient = exports.SovereigntyClient = exports.CharacterSkillsClient = exports.SearchClient = exports.RouteClient = exports.PiClient = exports.MarketClient = exports.MailClient = exports.LoyaltyClient = exports.LocationClient = exports.KillmailsClient = exports.InsuranceClient = exports.IndustryClient = exports.IncursionsClient = exports.FleetClient = exports.FittingsClient = exports.FactionClient = exports.DogmaClient = exports.CorporationsClient = exports.ContractsClient = exports.ContactsClient = exports.ClonesClient = exports.CharacterClient = exports.CalendarClient = exports.AssetsClient = exports.AllianceClient = void 0;
4
+ exports.createClientInstance = createClientInstance;
5
+ const AllianceClient_1 = require("../clients/AllianceClient");
6
+ Object.defineProperty(exports, "AllianceClient", { enumerable: true, get: function () { return AllianceClient_1.AllianceClient; } });
7
+ const AssetsClient_1 = require("../clients/AssetsClient");
8
+ Object.defineProperty(exports, "AssetsClient", { enumerable: true, get: function () { return AssetsClient_1.AssetsClient; } });
9
+ const CalendarClient_1 = require("../clients/CalendarClient");
10
+ Object.defineProperty(exports, "CalendarClient", { enumerable: true, get: function () { return CalendarClient_1.CalendarClient; } });
11
+ const CharacterClient_1 = require("../clients/CharacterClient");
12
+ Object.defineProperty(exports, "CharacterClient", { enumerable: true, get: function () { return CharacterClient_1.CharacterClient; } });
13
+ const ClonesClient_1 = require("../clients/ClonesClient");
14
+ Object.defineProperty(exports, "ClonesClient", { enumerable: true, get: function () { return ClonesClient_1.ClonesClient; } });
15
+ const ContactsClient_1 = require("../clients/ContactsClient");
16
+ Object.defineProperty(exports, "ContactsClient", { enumerable: true, get: function () { return ContactsClient_1.ContactsClient; } });
17
+ const ContractsClient_1 = require("../clients/ContractsClient");
18
+ Object.defineProperty(exports, "ContractsClient", { enumerable: true, get: function () { return ContractsClient_1.ContractsClient; } });
19
+ const CorporationsClient_1 = require("../clients/CorporationsClient");
20
+ Object.defineProperty(exports, "CorporationsClient", { enumerable: true, get: function () { return CorporationsClient_1.CorporationsClient; } });
21
+ const DogmaClient_1 = require("../clients/DogmaClient");
22
+ Object.defineProperty(exports, "DogmaClient", { enumerable: true, get: function () { return DogmaClient_1.DogmaClient; } });
23
+ const FactionClient_1 = require("../clients/FactionClient");
24
+ Object.defineProperty(exports, "FactionClient", { enumerable: true, get: function () { return FactionClient_1.FactionClient; } });
25
+ const FittingsClient_1 = require("../clients/FittingsClient");
26
+ Object.defineProperty(exports, "FittingsClient", { enumerable: true, get: function () { return FittingsClient_1.FittingsClient; } });
27
+ const FleetClient_1 = require("../clients/FleetClient");
28
+ Object.defineProperty(exports, "FleetClient", { enumerable: true, get: function () { return FleetClient_1.FleetClient; } });
29
+ const IncursionsClient_1 = require("../clients/IncursionsClient");
30
+ Object.defineProperty(exports, "IncursionsClient", { enumerable: true, get: function () { return IncursionsClient_1.IncursionsClient; } });
31
+ const IndustryClient_1 = require("../clients/IndustryClient");
32
+ Object.defineProperty(exports, "IndustryClient", { enumerable: true, get: function () { return IndustryClient_1.IndustryClient; } });
33
+ const InsuranceClient_1 = require("../clients/InsuranceClient");
34
+ Object.defineProperty(exports, "InsuranceClient", { enumerable: true, get: function () { return InsuranceClient_1.InsuranceClient; } });
35
+ const KillmailsClient_1 = require("../clients/KillmailsClient");
36
+ Object.defineProperty(exports, "KillmailsClient", { enumerable: true, get: function () { return KillmailsClient_1.KillmailsClient; } });
37
+ const LocationClient_1 = require("../clients/LocationClient");
38
+ Object.defineProperty(exports, "LocationClient", { enumerable: true, get: function () { return LocationClient_1.LocationClient; } });
39
+ const LoyaltyClient_1 = require("../clients/LoyaltyClient");
40
+ Object.defineProperty(exports, "LoyaltyClient", { enumerable: true, get: function () { return LoyaltyClient_1.LoyaltyClient; } });
41
+ const MailClient_1 = require("../clients/MailClient");
42
+ Object.defineProperty(exports, "MailClient", { enumerable: true, get: function () { return MailClient_1.MailClient; } });
43
+ const MarketClient_1 = require("../clients/MarketClient");
44
+ Object.defineProperty(exports, "MarketClient", { enumerable: true, get: function () { return MarketClient_1.MarketClient; } });
45
+ const PiClient_1 = require("../clients/PiClient");
46
+ Object.defineProperty(exports, "PiClient", { enumerable: true, get: function () { return PiClient_1.PiClient; } });
47
+ const RouteClient_1 = require("../clients/RouteClient");
48
+ Object.defineProperty(exports, "RouteClient", { enumerable: true, get: function () { return RouteClient_1.RouteClient; } });
49
+ const SearchClient_1 = require("../clients/SearchClient");
50
+ Object.defineProperty(exports, "SearchClient", { enumerable: true, get: function () { return SearchClient_1.SearchClient; } });
51
+ const SkillsClient_1 = require("../clients/SkillsClient");
52
+ Object.defineProperty(exports, "CharacterSkillsClient", { enumerable: true, get: function () { return SkillsClient_1.CharacterSkillsClient; } });
53
+ const SovereigntyClient_1 = require("../clients/SovereigntyClient");
54
+ Object.defineProperty(exports, "SovereigntyClient", { enumerable: true, get: function () { return SovereigntyClient_1.SovereigntyClient; } });
55
+ const StatusClient_1 = require("../clients/StatusClient");
56
+ Object.defineProperty(exports, "StatusClient", { enumerable: true, get: function () { return StatusClient_1.StatusClient; } });
57
+ const UiClient_1 = require("../clients/UiClient");
58
+ Object.defineProperty(exports, "UiClient", { enumerable: true, get: function () { return UiClient_1.UiClient; } });
59
+ const UniverseClient_1 = require("../clients/UniverseClient");
60
+ Object.defineProperty(exports, "UniverseClient", { enumerable: true, get: function () { return UniverseClient_1.UniverseClient; } });
61
+ const WalletClient_1 = require("../clients/WalletClient");
62
+ Object.defineProperty(exports, "WalletClient", { enumerable: true, get: function () { return WalletClient_1.WalletClient; } });
63
+ const WarsClient_1 = require("../clients/WarsClient");
64
+ Object.defineProperty(exports, "WarsClient", { enumerable: true, get: function () { return WarsClient_1.WarsClient; } });
65
+ const MetaClient_1 = require("../clients/MetaClient");
66
+ Object.defineProperty(exports, "MetaClient", { enumerable: true, get: function () { return MetaClient_1.MetaClient; } });
67
+ const FreelanceJobsClient_1 = require("../clients/FreelanceJobsClient");
68
+ Object.defineProperty(exports, "FreelanceJobsClient", { enumerable: true, get: function () { return FreelanceJobsClient_1.FreelanceJobsClient; } });
69
+ const SkyhooksClient_1 = require("../clients/SkyhooksClient");
70
+ Object.defineProperty(exports, "SkyhooksClient", { enumerable: true, get: function () { return SkyhooksClient_1.SkyhooksClient; } });
71
+ const MercenaryClient_1 = require("../clients/MercenaryClient");
72
+ Object.defineProperty(exports, "MercenaryClient", { enumerable: true, get: function () { return MercenaryClient_1.MercenaryClient; } });
73
+ const AccessListsClient_1 = require("../clients/AccessListsClient");
74
+ Object.defineProperty(exports, "AccessListsClient", { enumerable: true, get: function () { return AccessListsClient_1.AccessListsClient; } });
75
+ const clientFactories = {
76
+ alliance: AllianceClient_1.AllianceClient,
77
+ assets: AssetsClient_1.AssetsClient,
78
+ calendar: CalendarClient_1.CalendarClient,
79
+ characters: CharacterClient_1.CharacterClient,
80
+ clones: ClonesClient_1.ClonesClient,
81
+ contacts: ContactsClient_1.ContactsClient,
82
+ contracts: ContractsClient_1.ContractsClient,
83
+ corporations: CorporationsClient_1.CorporationsClient,
84
+ dogma: DogmaClient_1.DogmaClient,
85
+ factions: FactionClient_1.FactionClient,
86
+ fittings: FittingsClient_1.FittingsClient,
87
+ fleets: FleetClient_1.FleetClient,
88
+ incursions: IncursionsClient_1.IncursionsClient,
89
+ industry: IndustryClient_1.IndustryClient,
90
+ insurance: InsuranceClient_1.InsuranceClient,
91
+ killmails: KillmailsClient_1.KillmailsClient,
92
+ location: LocationClient_1.LocationClient,
93
+ loyalty: LoyaltyClient_1.LoyaltyClient,
94
+ mail: MailClient_1.MailClient,
95
+ market: MarketClient_1.MarketClient,
96
+ pi: PiClient_1.PiClient,
97
+ route: RouteClient_1.RouteClient,
98
+ search: SearchClient_1.SearchClient,
99
+ skills: SkillsClient_1.CharacterSkillsClient,
100
+ sovereignty: SovereigntyClient_1.SovereigntyClient,
101
+ status: StatusClient_1.StatusClient,
102
+ ui: UiClient_1.UiClient,
103
+ universe: UniverseClient_1.UniverseClient,
104
+ wallet: WalletClient_1.WalletClient,
105
+ wars: WarsClient_1.WarsClient,
106
+ meta: MetaClient_1.MetaClient,
107
+ freelanceJobs: FreelanceJobsClient_1.FreelanceJobsClient,
108
+ skyhooks: SkyhooksClient_1.SkyhooksClient,
109
+ mercenary: MercenaryClient_1.MercenaryClient,
110
+ accessLists: AccessListsClient_1.AccessListsClient,
111
+ };
112
+ function createClientInstance(name, apiClient) {
113
+ // eslint-disable-next-line security/detect-object-injection
114
+ return new clientFactories[name](apiClient);
115
+ }
116
+ const allClientTypes = Object.keys(clientFactories);
@@ -0,0 +1,35 @@
1
+ import { ApiClient } from './ApiClient';
2
+ import { ETagCacheConfig } from './cache/ETagCacheManager';
3
+ import { RequestDeduplicator } from './RequestDeduplicator';
4
+ export interface CacheStats {
5
+ totalEntries: number;
6
+ maxEntries: number;
7
+ hits: number;
8
+ misses: number;
9
+ hitRate: number;
10
+ oldestEntry: number | null;
11
+ newestEntry: number | null;
12
+ }
13
+ export interface CircuitBreakerStats {
14
+ totalCircuits: number;
15
+ openCircuits: number;
16
+ circuits: Record<string, {
17
+ state: 'closed' | 'open' | 'half-open';
18
+ failures: number;
19
+ }>;
20
+ }
21
+ export declare class EsiDiagnostics {
22
+ private apiClient;
23
+ private etagCacheEnabled;
24
+ private deduplicator;
25
+ constructor(apiClient: ApiClient, etagCacheEnabled: boolean, deduplicator: RequestDeduplicator | null);
26
+ getCacheStats(): CacheStats | null;
27
+ clearCache(): void;
28
+ updateCacheConfig(newConfig: Partial<ETagCacheConfig>): void;
29
+ getCircuitBreakerStats(): CircuitBreakerStats | null;
30
+ resetCircuitBreaker(endpoint?: string): void;
31
+ getDeduplicatorStats(): {
32
+ pendingRequests: number;
33
+ } | null;
34
+ }
35
+ //# sourceMappingURL=EsiDiagnostics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EsiDiagnostics.d.ts","sourceRoot":"","sources":["../../src/core/EsiDiagnostics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAoB,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CACd,MAAM,EACN;QAAE,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAC7D,CAAC;CACH;AAED,qBAAa,cAAc;IAEvB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,YAAY;gBAFZ,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,OAAO,EACzB,YAAY,EAAE,mBAAmB,GAAG,IAAI;IAGlD,aAAa,IAAI,UAAU,GAAG,IAAI;IAMlC,UAAU,IAAI,IAAI;IAOlB,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,IAAI;IAO5D,sBAAsB,IAAI,mBAAmB,GAAG,IAAI;IAKpD,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI;IAO5C,oBAAoB,IAAI;QAAE,eAAe,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CAK3D"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EsiDiagnostics = void 0;
4
+ class EsiDiagnostics {
5
+ apiClient;
6
+ etagCacheEnabled;
7
+ deduplicator;
8
+ constructor(apiClient, etagCacheEnabled, deduplicator) {
9
+ this.apiClient = apiClient;
10
+ this.etagCacheEnabled = etagCacheEnabled;
11
+ this.deduplicator = deduplicator;
12
+ }
13
+ getCacheStats() {
14
+ if (!this.etagCacheEnabled)
15
+ return null;
16
+ const cache = this.apiClient.getCache();
17
+ return cache ? cache.getStats() : null;
18
+ }
19
+ clearCache() {
20
+ const cache = this.apiClient.getCache();
21
+ if (cache) {
22
+ cache.clear();
23
+ }
24
+ }
25
+ updateCacheConfig(newConfig) {
26
+ const cache = this.apiClient.getCache();
27
+ if (cache) {
28
+ cache.updateConfig(newConfig);
29
+ }
30
+ }
31
+ getCircuitBreakerStats() {
32
+ const cb = this.apiClient.getCircuitBreaker();
33
+ return cb ? cb.getStats() : null;
34
+ }
35
+ resetCircuitBreaker(endpoint) {
36
+ const cb = this.apiClient.getCircuitBreaker();
37
+ if (cb) {
38
+ cb.reset(endpoint);
39
+ }
40
+ }
41
+ getDeduplicatorStats() {
42
+ return this.deduplicator
43
+ ? { pendingRequests: this.deduplicator.pending }
44
+ : null;
45
+ }
46
+ }
47
+ exports.EsiDiagnostics = EsiDiagnostics;
@@ -0,0 +1,7 @@
1
+ export declare class RequestDeduplicator {
2
+ private inflight;
3
+ dedupe<T>(key: string, execute: () => Promise<T>): Promise<T>;
4
+ get pending(): number;
5
+ clear(): void;
6
+ }
7
+ //# sourceMappingURL=RequestDeduplicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestDeduplicator.d.ts","sourceRoot":"","sources":["../../src/core/RequestDeduplicator.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAuC;IAEjD,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAenE,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,KAAK,IAAI,IAAI;CAGd"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequestDeduplicator = void 0;
4
+ const loggerUtil_1 = require("./logger/loggerUtil");
5
+ class RequestDeduplicator {
6
+ inflight = new Map();
7
+ async dedupe(key, execute) {
8
+ const existing = this.inflight.get(key);
9
+ if (existing) {
10
+ (0, loggerUtil_1.logDebug)(`[Dedup] Coalescing request: ${key}`);
11
+ return existing;
12
+ }
13
+ const promise = execute().finally(() => {
14
+ this.inflight.delete(key);
15
+ });
16
+ this.inflight.set(key, promise);
17
+ return promise;
18
+ }
19
+ get pending() {
20
+ return this.inflight.size;
21
+ }
22
+ clear() {
23
+ this.inflight.clear();
24
+ }
25
+ }
26
+ exports.RequestDeduplicator = RequestDeduplicator;