@lgriffin/esi.ts 4.0.0 → 5.1.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 (347) hide show
  1. package/CHANGELOG.md +174 -0
  2. package/LICENSE +26 -26
  3. package/README.md +562 -557
  4. package/dist/EsiClient.d.ts +8 -2
  5. package/dist/EsiClient.d.ts.map +1 -1
  6. package/dist/EsiClient.js +9 -0
  7. package/dist/EsiClientBuilder.d.ts +4 -1
  8. package/dist/EsiClientBuilder.d.ts.map +1 -1
  9. package/dist/EsiClientBuilder.js +9 -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/MercenaryClient.d.ts +20 -0
  14. package/dist/clients/MercenaryClient.d.ts.map +1 -0
  15. package/dist/clients/MercenaryClient.js +27 -0
  16. package/dist/clients/SkyhooksClient.d.ts +26 -0
  17. package/dist/clients/SkyhooksClient.d.ts.map +1 -0
  18. package/dist/clients/SkyhooksClient.js +35 -0
  19. package/dist/clients/SovereigntyClient.d.ts +4 -10
  20. package/dist/clients/SovereigntyClient.d.ts.map +1 -1
  21. package/dist/clients/SovereigntyClient.js +4 -12
  22. package/dist/clients/UniverseClient.d.ts +2 -2
  23. package/dist/clients/UniverseClient.d.ts.map +1 -1
  24. package/dist/clients/UniverseClient.js +3 -3
  25. package/dist/config/configManager.d.ts.map +1 -1
  26. package/dist/config/configManager.js +12 -6
  27. package/dist/config/jest/jest.setup.js +0 -1
  28. package/dist/core/ApiRequestHandler.d.ts.map +1 -1
  29. package/dist/core/ApiRequestHandler.js +7 -3
  30. package/dist/core/ClientRegistry.d.ts +6 -4
  31. package/dist/core/ClientRegistry.d.ts.map +1 -1
  32. package/dist/core/ClientRegistry.js +11 -2
  33. package/dist/core/circuitBreaker/CircuitBreaker.js +2 -2
  34. package/dist/core/constants.d.ts +3 -3
  35. package/dist/core/constants.js +2 -2
  36. package/dist/core/endpoints/accessListEndpoints.d.ts +9 -0
  37. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -0
  38. package/dist/core/endpoints/accessListEndpoints.js +11 -0
  39. package/dist/core/endpoints/assetEndpoints.d.ts +4 -12
  40. package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
  41. package/dist/core/endpoints/assetEndpoints.js +4 -4
  42. package/dist/core/endpoints/contactEndpoints.d.ts +1 -3
  43. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
  44. package/dist/core/endpoints/contactEndpoints.js +1 -1
  45. package/dist/core/endpoints/mercenaryEndpoints.d.ts +13 -0
  46. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -0
  47. package/dist/core/endpoints/mercenaryEndpoints.js +15 -0
  48. package/dist/core/endpoints/skyhookEndpoints.d.ts +18 -0
  49. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -0
  50. package/dist/core/endpoints/skyhookEndpoints.js +20 -0
  51. package/dist/core/endpoints/sovereigntyEndpoints.d.ts +2 -7
  52. package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
  53. package/dist/core/endpoints/sovereigntyEndpoints.js +2 -7
  54. package/dist/core/endpoints/universeEndpoints.d.ts +2 -6
  55. package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
  56. package/dist/core/endpoints/universeEndpoints.js +2 -2
  57. package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
  58. package/dist/core/rateLimiter/RateLimiter.js +5 -11
  59. package/dist/core/util/headersUtil.d.ts.map +1 -1
  60. package/dist/core/util/headersUtil.js +2 -1
  61. package/dist/core/util/testHelpers.d.ts +0 -2
  62. package/dist/core/util/testHelpers.d.ts.map +1 -1
  63. package/dist/core/util/testHelpers.js +3 -19
  64. package/dist/core/util/validation.js +2 -2
  65. package/dist/index.d.ts +3 -0
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +8 -2
  68. package/dist/testing/TestDataFactory.d.ts +8 -2
  69. package/dist/testing/TestDataFactory.d.ts.map +1 -1
  70. package/dist/testing/TestDataFactory.js +86 -1
  71. package/dist/types/access-lists.d.ts +11 -0
  72. package/dist/types/access-lists.d.ts.map +1 -0
  73. package/dist/types/api-responses.d.ts +3 -0
  74. package/dist/types/api-responses.d.ts.map +1 -1
  75. package/dist/types/api-responses.js +3 -0
  76. package/dist/types/mercenary.d.ts +19 -0
  77. package/dist/types/mercenary.d.ts.map +1 -0
  78. package/dist/types/mercenary.js +2 -0
  79. package/dist/types/skyhooks.d.ts +27 -0
  80. package/dist/types/skyhooks.d.ts.map +1 -0
  81. package/dist/types/skyhooks.js +2 -0
  82. package/dist/types/sovereignty.d.ts +11 -9
  83. package/dist/types/sovereignty.d.ts.map +1 -1
  84. package/package.json +181 -156
  85. package/dist/api/alliances/getAllianceById.js +0 -17
  86. package/dist/api/alliances/getAllianceContactLabels.js +0 -13
  87. package/dist/api/alliances/getAllianceContacts.js +0 -13
  88. package/dist/api/alliances/getAllianceCorporations.js +0 -13
  89. package/dist/api/alliances/getAllianceIcons.js +0 -13
  90. package/dist/api/alliances/getAlliances.js +0 -13
  91. package/dist/api/assets/getCharacterAssets.js +0 -13
  92. package/dist/api/assets/getCorporationAssets.js +0 -13
  93. package/dist/api/assets/postCharacterAssetLocations.js +0 -13
  94. package/dist/api/assets/postCharacterAssetNames.js +0 -13
  95. package/dist/api/assets/postCorporationAssetLocations.js +0 -13
  96. package/dist/api/assets/postCorporationAssetNames.js +0 -13
  97. package/dist/api/bookmarks/getCharacterBookmarkFolders.js +0 -13
  98. package/dist/api/bookmarks/getCharacterBookmarks.js +0 -13
  99. package/dist/api/bookmarks/getCorporationBookmarkFolders.js +0 -13
  100. package/dist/api/bookmarks/getCorporationBookmarks.js +0 -13
  101. package/dist/api/calendar/getCalendarEventById.js +0 -13
  102. package/dist/api/calendar/getCalendarEvents.js +0 -13
  103. package/dist/api/calendar/getEventAttendees.js +0 -13
  104. package/dist/api/calendar/respondToCalendarEvent.js +0 -14
  105. package/dist/api/characters/getAgentsResearch.js +0 -13
  106. package/dist/api/characters/getBlueprints.js +0 -13
  107. package/dist/api/characters/getCharacterPublicInfo.js +0 -13
  108. package/dist/api/characters/getCharacterRoles.js +0 -13
  109. package/dist/api/characters/getCharacterStandings.js +0 -13
  110. package/dist/api/characters/getCharacterTitles.js +0 -13
  111. package/dist/api/characters/getContactNotifications.js +0 -13
  112. package/dist/api/characters/getCorporationHistory.js +0 -13
  113. package/dist/api/characters/getJumpFatigue.js +0 -13
  114. package/dist/api/characters/getMedals.js +0 -13
  115. package/dist/api/characters/getNotifications.js +0 -13
  116. package/dist/api/characters/getPortrait.js +0 -13
  117. package/dist/api/characters/postCSPAChargeCost.js +0 -13
  118. package/dist/api/characters/postCharacterAffiliations.js +0 -14
  119. package/dist/api/clones/getClones.js +0 -14
  120. package/dist/api/clones/getImplants.js +0 -14
  121. package/dist/api/clones/postJumpCloneActivation.js +0 -14
  122. package/dist/api/contacts/deleteCharacterContacts.js +0 -13
  123. package/dist/api/contacts/getAllianceContactLabels.js +0 -13
  124. package/dist/api/contacts/getAllianceContacts.js +0 -13
  125. package/dist/api/contacts/getCharacterContactLabels.js +0 -13
  126. package/dist/api/contacts/getCharacterContacts.js +0 -13
  127. package/dist/api/contacts/getCorporationContactLabels.js +0 -13
  128. package/dist/api/contacts/getCorporationContacts.js +0 -13
  129. package/dist/api/contacts/postCharacterContacts.js +0 -13
  130. package/dist/api/contacts/putCharacterContacts.js +0 -13
  131. package/dist/api/contracts/getCharacterContractBids.js +0 -13
  132. package/dist/api/contracts/getCharacterContractItems.js +0 -13
  133. package/dist/api/contracts/getCharacterContracts.js +0 -13
  134. package/dist/api/contracts/getCorporationContractBids.js +0 -13
  135. package/dist/api/contracts/getCorporationContractItems.js +0 -13
  136. package/dist/api/contracts/getCorporationContracts.js +0 -13
  137. package/dist/api/contracts/getPublicContractBids.js +0 -13
  138. package/dist/api/contracts/getPublicContractItems.js +0 -13
  139. package/dist/api/contracts/getPublicContracts.js +0 -13
  140. package/dist/api/corporations/getCorporationAllianceHistory.js +0 -13
  141. package/dist/api/corporations/getCorporationAlscLogs.js +0 -13
  142. package/dist/api/corporations/getCorporationBlueprints.js +0 -13
  143. package/dist/api/corporations/getCorporationDivisions.js +0 -13
  144. package/dist/api/corporations/getCorporationFacilities.js +0 -13
  145. package/dist/api/corporations/getCorporationIcon.js +0 -13
  146. package/dist/api/corporations/getCorporationInfo.js +0 -13
  147. package/dist/api/corporations/getCorporationIssuedMedals.js +0 -13
  148. package/dist/api/corporations/getCorporationMedals.js +0 -13
  149. package/dist/api/corporations/getCorporationMemberLimit.js +0 -13
  150. package/dist/api/corporations/getCorporationMemberRoles.js +0 -13
  151. package/dist/api/corporations/getCorporationMemberRolesHistory.js +0 -13
  152. package/dist/api/corporations/getCorporationMemberTracking.js +0 -13
  153. package/dist/api/corporations/getCorporationMembers.js +0 -13
  154. package/dist/api/corporations/getCorporationMembersTitles.js +0 -13
  155. package/dist/api/corporations/getCorporationProjects.js +0 -13
  156. package/dist/api/corporations/getCorporationShareholders.js +0 -13
  157. package/dist/api/corporations/getCorporationStandings.js +0 -13
  158. package/dist/api/corporations/getCorporationStarbaseDetail.js +0 -13
  159. package/dist/api/corporations/getCorporationStarbases.js +0 -13
  160. package/dist/api/corporations/getCorporationStructures.js +0 -13
  161. package/dist/api/corporations/getCorporationTitles.js +0 -13
  162. package/dist/api/corporations/getNpcCorporations.js +0 -13
  163. package/dist/api/dogma/getDogmaAttributeById.js +0 -13
  164. package/dist/api/dogma/getDogmaAttributes.js +0 -13
  165. package/dist/api/dogma/getDogmaDynamicItemAttributes.js +0 -13
  166. package/dist/api/dogma/getDogmaEffectById.js +0 -13
  167. package/dist/api/dogma/getDogmaEffects.js +0 -13
  168. package/dist/api/factions/getCharacterFactionWarfareStats.js +0 -13
  169. package/dist/api/factions/getCharacterLeaderboards.js +0 -13
  170. package/dist/api/factions/getCorporationFactionWarfareStats.js +0 -13
  171. package/dist/api/factions/getCorporationLeaderboards.js +0 -13
  172. package/dist/api/factions/getFactionLeaderboards.js +0 -13
  173. package/dist/api/factions/getFactionWarfareStats.js +0 -13
  174. package/dist/api/factions/getFactionWarfareSystems.js +0 -13
  175. package/dist/api/factions/getFactionWarfareWars.js +0 -13
  176. package/dist/api/fittings/deleteCharacterFitting.js +0 -13
  177. package/dist/api/fittings/getCharacterFittings.js +0 -13
  178. package/dist/api/fittings/postCharacterFittings.js +0 -13
  179. package/dist/api/fleets/deleteFleetMember.js +0 -13
  180. package/dist/api/fleets/deleteFleetSquad.js +0 -13
  181. package/dist/api/fleets/deleteFleetWing.js +0 -13
  182. package/dist/api/fleets/getCharacterFleetInfo.js +0 -13
  183. package/dist/api/fleets/getFleetInfo.js +0 -13
  184. package/dist/api/fleets/getFleetMembers.js +0 -13
  185. package/dist/api/fleets/getFleetWings.js +0 -13
  186. package/dist/api/fleets/postFleetInvitation.js +0 -13
  187. package/dist/api/fleets/postFleetSquad.js +0 -14
  188. package/dist/api/fleets/postFleetWing.js +0 -13
  189. package/dist/api/fleets/putFleetMember.js +0 -13
  190. package/dist/api/fleets/putFleetSquad.js +0 -13
  191. package/dist/api/fleets/putFleetWing.js +0 -14
  192. package/dist/api/fleets/updateFleet.js +0 -13
  193. package/dist/api/incursions/getIncursions.js +0 -13
  194. package/dist/api/industry/getCharacterIndustryJobs.js +0 -13
  195. package/dist/api/industry/getCharacterMiningLedger.js +0 -13
  196. package/dist/api/industry/getCorporationIndustryJobs.js +0 -13
  197. package/dist/api/industry/getCorporationMiningObserver.js +0 -13
  198. package/dist/api/industry/getCorporationMiningObservers.js +0 -13
  199. package/dist/api/industry/getIndustryFacilities.js +0 -13
  200. package/dist/api/industry/getIndustrySystems.js +0 -13
  201. package/dist/api/industry/getMoonExtractionTimers.js +0 -13
  202. package/dist/api/insurance/getInsurancePrices.js +0 -13
  203. package/dist/api/killmails/getCharacterRecentKillmails.js +0 -13
  204. package/dist/api/killmails/getCorporationRecentKillmails.js +0 -13
  205. package/dist/api/killmails/getKillmail.js +0 -13
  206. package/dist/api/location/getCharacterLocation.js +0 -13
  207. package/dist/api/location/getCharacterOnline.js +0 -13
  208. package/dist/api/location/getCharacterShip.js +0 -13
  209. package/dist/api/loyalty/getLoyaltyPoints.js +0 -13
  210. package/dist/api/loyalty/getLoyaltyStoreOffers.js +0 -13
  211. package/dist/api/mail/deleteCharacterMail.js +0 -13
  212. package/dist/api/mail/deleteCharacterMailLabel.js +0 -13
  213. package/dist/api/mail/deleteCharacterMailLabel.test.js +0 -21
  214. package/dist/api/mail/getCharacerMailingLists.test.js +0 -33
  215. package/dist/api/mail/getCharacterMail.js +0 -13
  216. package/dist/api/mail/getCharacterMailHeaders.js +0 -13
  217. package/dist/api/mail/getCharacterMailLabels.js +0 -13
  218. package/dist/api/mail/getCharacterMailingLists.js +0 -13
  219. package/dist/api/mail/postCharacterMail.js +0 -13
  220. package/dist/api/mail/postCharacterMailLabels.js +0 -13
  221. package/dist/api/mail/putCharacterMail.js +0 -13
  222. package/dist/api/market/getCharacterOrderHistory.js +0 -13
  223. package/dist/api/market/getCharacterOrders.js +0 -13
  224. package/dist/api/market/getCorporationOrderHistory.js +0 -13
  225. package/dist/api/market/getCorporationOrders.js +0 -13
  226. package/dist/api/market/getMarketGroupInformation.js +0 -13
  227. package/dist/api/market/getMarketGroups.js +0 -13
  228. package/dist/api/market/getMarketHistory.js +0 -13
  229. package/dist/api/market/getMarketOrders.js +0 -13
  230. package/dist/api/market/getMarketOrdersInStructure.js +0 -13
  231. package/dist/api/market/getMarketPrices.js +0 -13
  232. package/dist/api/market/getMarketTypes.js +0 -13
  233. package/dist/api/meta/getSwaggerJson.js +0 -13
  234. package/dist/api/meta/getSwaggerYaml.js +0 -37
  235. package/dist/api/opportunities/getCharacterOpportunities.js +0 -13
  236. package/dist/api/opportunities/getOpportunitiesGroupById.js +0 -13
  237. package/dist/api/opportunities/getOpportunitiesGroups.js +0 -13
  238. package/dist/api/opportunities/getOpportunitiesTaskById.js +0 -13
  239. package/dist/api/opportunities/getOpportunitiesTasks.js +0 -13
  240. package/dist/api/pi/getColonies.js +0 -13
  241. package/dist/api/pi/getColonyLayout.js +0 -13
  242. package/dist/api/pi/getCorporationCustomsOffices.js +0 -13
  243. package/dist/api/pi/getSchematicInformation.js +0 -13
  244. package/dist/api/route/getRoute.js +0 -13
  245. package/dist/api/search/getCharacterSearch.js +0 -13
  246. package/dist/api/skills/getCharacterAttributes.js +0 -13
  247. package/dist/api/skills/getCharacterSkillQueue.js +0 -13
  248. package/dist/api/skills/getCharacterSkills.js +0 -13
  249. package/dist/api/sovereignty/getSovereigntyCampaigns.js +0 -13
  250. package/dist/api/sovereignty/getSovereigntyMap.js +0 -13
  251. package/dist/api/sovereignty/getSovereigntyStructures.js +0 -13
  252. package/dist/api/status/getStatus.js +0 -13
  253. package/dist/api/ui/postAutopilotWaypoint.js +0 -13
  254. package/dist/api/ui/postOpenContractWindow.js +0 -13
  255. package/dist/api/ui/postOpenInformationWindow.js +0 -13
  256. package/dist/api/ui/postOpenMarketDetailsWindow.js +0 -13
  257. package/dist/api/ui/postOpenNewMailWindow.js +0 -13
  258. package/dist/api/universe/getAncestries.js +0 -13
  259. package/dist/api/universe/getAsteroidBeltInfo.js +0 -13
  260. package/dist/api/universe/getBloodlines.js +0 -13
  261. package/dist/api/universe/getConstellationById.js +0 -13
  262. package/dist/api/universe/getConstellations.js +0 -13
  263. package/dist/api/universe/getFactions.js +0 -13
  264. package/dist/api/universe/getGraphicById.js +0 -13
  265. package/dist/api/universe/getGraphics.js +0 -13
  266. package/dist/api/universe/getItemCategories.js +0 -13
  267. package/dist/api/universe/getItemCategoryById.js +0 -13
  268. package/dist/api/universe/getItemGroupById.js +0 -13
  269. package/dist/api/universe/getItemGroups.js +0 -13
  270. package/dist/api/universe/getMoonById.js +0 -13
  271. package/dist/api/universe/getPlanetById.js +0 -13
  272. package/dist/api/universe/getRaces.js +0 -13
  273. package/dist/api/universe/getRegionById.js +0 -13
  274. package/dist/api/universe/getRegions.js +0 -13
  275. package/dist/api/universe/getSchematicById.js +0 -13
  276. package/dist/api/universe/getStarById.js +0 -13
  277. package/dist/api/universe/getStargateById.js +0 -13
  278. package/dist/api/universe/getStationById.js +0 -13
  279. package/dist/api/universe/getStructureById.js +0 -13
  280. package/dist/api/universe/getStructures.js +0 -13
  281. package/dist/api/universe/getSystemById.js +0 -13
  282. package/dist/api/universe/getSystemJumps.js +0 -13
  283. package/dist/api/universe/getSystemKills.js +0 -13
  284. package/dist/api/universe/getSystems.js +0 -13
  285. package/dist/api/universe/getTypeById.js +0 -13
  286. package/dist/api/universe/getTypes.js +0 -13
  287. package/dist/api/universe/postBulkNamesToIds.js +0 -14
  288. package/dist/api/universe/postNamesAndCategories.js +0 -14
  289. package/dist/api/wallet/getCharacterWallet.js +0 -13
  290. package/dist/api/wallet/getCharacterWalletJournal.js +0 -13
  291. package/dist/api/wallet/getCharacterWalletTransactions.js +0 -13
  292. package/dist/api/wallet/getCorporationWalletJournal.js +0 -13
  293. package/dist/api/wallet/getCorporationWalletTransactions.js +0 -13
  294. package/dist/api/wallet/getCorporationWallets.js +0 -13
  295. package/dist/api/wars/getWarById.js +0 -13
  296. package/dist/api/wars/getWarKillmails.js +0 -13
  297. package/dist/api/wars/getWars.js +0 -13
  298. package/dist/builders/AllianceApiBuilder.js +0 -13
  299. package/dist/builders/AssetsApiBuilder.js +0 -13
  300. package/dist/builders/BookmarkApiBuilder.js +0 -13
  301. package/dist/builders/CalendarApiBuilder.js +0 -13
  302. package/dist/builders/CharacterApiBuilder.js +0 -13
  303. package/dist/builders/ClonesApiBuilder.js +0 -13
  304. package/dist/builders/ContactsApiBuilder.js +0 -13
  305. package/dist/builders/ContractsApiBuilder.js +0 -13
  306. package/dist/builders/CorporationsApiBuilder.js +0 -13
  307. package/dist/builders/DogmaApiBuilder.js +0 -13
  308. package/dist/builders/FactionApiBuilder.js +0 -13
  309. package/dist/builders/FittingsApiBuilder.js +0 -13
  310. package/dist/builders/FleetApiBuilder.js +0 -13
  311. package/dist/builders/IncursionsApiBuilder.js +0 -13
  312. package/dist/builders/IndustryApiBuilder.js +0 -13
  313. package/dist/builders/InsuranceApiBuilder.js +0 -13
  314. package/dist/builders/KillmailsBuilder.js +0 -13
  315. package/dist/builders/LocationApiBuilder.js +0 -13
  316. package/dist/builders/LoyaltyApiBuilder.js +0 -13
  317. package/dist/builders/MailApiBuilder.js +0 -13
  318. package/dist/builders/MarketApiBuilder.js +0 -13
  319. package/dist/builders/MetaApiBuilder.js +0 -13
  320. package/dist/builders/OpportunitiesApiBuilder.js +0 -13
  321. package/dist/builders/PiApiBuilder.js +0 -13
  322. package/dist/builders/RouteApiBuilder.js +0 -13
  323. package/dist/builders/SearchApiBuilder.js +0 -13
  324. package/dist/builders/SkillsApiBuilder.js +0 -13
  325. package/dist/builders/SovereigntyApiBuilder.js +0 -13
  326. package/dist/builders/StatusApiBuilder.js +0 -13
  327. package/dist/builders/UiApiBuilder.js +0 -13
  328. package/dist/builders/UniverseApiBuilder.js +0 -13
  329. package/dist/builders/WalletApiBuilder.js +0 -13
  330. package/dist/builders/WarsAPIBuilder.js +0 -13
  331. package/dist/clients/BookmarkClient.js +0 -28
  332. package/dist/clients/OpportunitiesClient.js +0 -33
  333. package/dist/config/constants.js +0 -11
  334. package/dist/core/ApiError.js +0 -11
  335. package/dist/core/container/Container.js +0 -145
  336. package/dist/core/errors/ApiError.js +0 -129
  337. package/dist/core/factory/ApiFactory.js +0 -170
  338. package/dist/core/logger/index.d.ts +0 -2
  339. package/dist/core/logger/index.d.ts.map +0 -1
  340. package/dist/core/logger/index.js +0 -8
  341. package/dist/core/util/file.js +0 -26
  342. package/dist/core/util/inputValidation.js +0 -9
  343. package/dist/core/util/network.js +0 -15
  344. package/dist/core/util/request.js +0 -21
  345. package/dist/testing/TestHelpers.js +0 -205
  346. package/dist/tsconfig.tsbuildinfo +0 -1
  347. /package/dist/{core/IAPIBuilder.js → types/access-lists.js} +0 -0
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCharacterOrderHistory = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getCharacterOrderHistory {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCharacterOrderHistory(characterId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/orders/history/`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.getCharacterOrderHistory = getCharacterOrderHistory;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCharacterOrders = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getCharacterOrders {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCharacterOrders(characterId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/orders/`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.getCharacterOrders = getCharacterOrders;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCorporationOrderHistory = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getCorporationOrderHistory {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCorporationOrderHistory(corporationId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `corporations/${corporationId}/orders/history/`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.getCorporationOrderHistory = getCorporationOrderHistory;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCorporationOrders = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getCorporationOrders {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCorporationOrders(corporationId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `corporations/${corporationId}/orders/`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.getCorporationOrders = getCorporationOrders;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketGroupInformation = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketGroupInformation {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketGroupInformation(marketGroupId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `markets/groups/${marketGroupId}/`, 'GET');
11
- }
12
- }
13
- exports.getMarketGroupInformation = getMarketGroupInformation;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketGroups = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketGroups {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketGroups() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'markets/groups/', 'GET');
11
- }
12
- }
13
- exports.getMarketGroups = getMarketGroups;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketHistory = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketHistory {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketHistory(regionId, typeId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `markets/${regionId}/history/?type_id=${typeId}`, 'GET');
11
- }
12
- }
13
- exports.getMarketHistory = getMarketHistory;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketOrders = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketOrders {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketOrders(regionId, orderType = 'all') {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `markets/${regionId}/orders/?order_type=${orderType}`, 'GET');
11
- }
12
- }
13
- exports.getMarketOrders = getMarketOrders;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketOrdersInStructure = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketOrdersInStructure {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketOrdersInStructure(structureId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `markets/structures/${structureId}/`, 'GET');
11
- }
12
- }
13
- exports.getMarketOrdersInStructure = getMarketOrdersInStructure;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketPrices = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketPrices {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketPrices() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'markets/prices/', 'GET');
11
- }
12
- }
13
- exports.getMarketPrices = getMarketPrices;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMarketTypes = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class getMarketTypes {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getMarketTypes(regionId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `markets/${regionId}/types/`, 'GET');
11
- }
12
- }
13
- exports.getMarketTypes = getMarketTypes;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSwaggerJsonApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetSwaggerJsonApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getSwaggerJson() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'meta/swagger.json', 'GET', undefined, false);
11
- }
12
- }
13
- exports.GetSwaggerJsonApi = GetSwaggerJsonApi;
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSwaggerYamlApi = void 0;
4
- const loggerUtil_1 = require("../../core/logger/loggerUtil");
5
- class GetSwaggerYamlApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getSwaggerYaml() {
10
- const url = `${this.client.getLink()}/meta/swagger.yaml`;
11
- (0, loggerUtil_1.logInfo)(`Hitting endpoint: ${url}`);
12
- try {
13
- const response = await fetch(url, {
14
- method: 'GET',
15
- headers: {
16
- accept: 'text/yaml, application/x-yaml, text/plain',
17
- 'User-Agent': 'esiJS/2.0.0'
18
- }
19
- });
20
- if (!response.ok) {
21
- throw new Error(`HTTP ${response.status}: ${response.statusText}`);
22
- }
23
- return await response.text();
24
- }
25
- catch (error) {
26
- if (error instanceof Error) {
27
- (0, loggerUtil_1.logError)(`Error fetching YAML: ${error.message}`);
28
- throw error;
29
- }
30
- else {
31
- (0, loggerUtil_1.logError)(`Unexpected error: ${error}`);
32
- throw new Error(String(error));
33
- }
34
- }
35
- }
36
- }
37
- exports.GetSwaggerYamlApi = GetSwaggerYamlApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCharacterOpportunitiesApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetCharacterOpportunitiesApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCharacterOpportunities(characterId) {
10
- return await (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/opportunities`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetCharacterOpportunitiesApi = GetCharacterOpportunitiesApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOpportunitiesGroupByIdApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetOpportunitiesGroupByIdApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getOpportunitiesGroupById(groupId) {
10
- return await (0, ApiRequestHandler_1.handleRequest)(this.client, `opportunities/groups/${groupId}`, 'GET', undefined, false);
11
- }
12
- }
13
- exports.GetOpportunitiesGroupByIdApi = GetOpportunitiesGroupByIdApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOpportunitiesGroupsApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetOpportunitiesGroupsApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getOpportunitiesGroups() {
10
- return await (0, ApiRequestHandler_1.handleRequest)(this.client, 'opportunities/groups', 'GET', undefined, false);
11
- }
12
- }
13
- exports.GetOpportunitiesGroupsApi = GetOpportunitiesGroupsApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOpportunitiesTaskByIdApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetOpportunitiesTaskByIdApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getOpportunitiesTaskById(taskId) {
10
- return await (0, ApiRequestHandler_1.handleRequest)(this.client, `opportunities/tasks/${taskId}`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetOpportunitiesTaskByIdApi = GetOpportunitiesTaskByIdApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOpportunitiesTasksApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetOpportunitiesTasksApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getOpportunitiesTasks() {
10
- return await (0, ApiRequestHandler_1.handleRequest)(this.client, 'opportunities/tasks', 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetOpportunitiesTasksApi = GetOpportunitiesTasksApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetColoniesApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetColoniesApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getColonies(characterId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/planets`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetColoniesApi = GetColoniesApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetColonyLayoutApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetColonyLayoutApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getColonyLayout(characterId, planetId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/planets/${planetId}`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetColonyLayoutApi = GetColonyLayoutApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCorporationCustomsOfficesApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetCorporationCustomsOfficesApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCorporationCustomsOffices(corporationId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `corporations/${corporationId}/customs_offices`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetCorporationCustomsOfficesApi = GetCorporationCustomsOfficesApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetSchematicInformationApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetSchematicInformationApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getSchematicInformation(schematicId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `universe/schematics/${schematicId}`, 'GET', undefined, false);
11
- }
12
- }
13
- exports.GetSchematicInformationApi = GetSchematicInformationApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RouteApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class RouteApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getRoute(origin, destination) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `route/${origin}/${destination}`, 'GET', undefined, false);
11
- }
12
- }
13
- exports.RouteApi = RouteApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CharacterSearchApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class CharacterSearchApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async searchCharacter(characterId, searchString) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/search/?search=${encodeURIComponent(searchString)}`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.CharacterSearchApi = CharacterSearchApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCharacterAttributesApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetCharacterAttributesApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCharacterAttributes(characterId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/attributes`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetCharacterAttributesApi = GetCharacterAttributesApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCharacterSkillQueueApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetCharacterSkillQueueApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCharacterSkillQueue(characterId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/skillqueue`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetCharacterSkillQueueApi = GetCharacterSkillQueueApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCharacterSkillsApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetCharacterSkillsApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getCharacterSkills(characterId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `characters/${characterId}/skills`, 'GET', undefined, true);
11
- }
12
- }
13
- exports.GetCharacterSkillsApi = GetCharacterSkillsApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SovereigntyCampaignsApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class SovereigntyCampaignsApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getSovereigntyCampaigns() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'sovereignty/campaigns', 'GET', undefined, false);
11
- }
12
- }
13
- exports.SovereigntyCampaignsApi = SovereigntyCampaignsApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SovereigntyMapApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class SovereigntyMapApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getSovereigntyMap() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'sovereignty/map', 'GET', undefined, false);
11
- }
12
- }
13
- exports.SovereigntyMapApi = SovereigntyMapApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SovereigntyStructuresApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class SovereigntyStructuresApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getSovereigntyStructures() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'sovereignty/structures', 'GET', undefined, false);
11
- }
12
- }
13
- exports.SovereigntyStructuresApi = SovereigntyStructuresApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetStatusApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class GetStatusApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getStatus() {
10
- return (0, ApiRequestHandler_1.handleRequestBody)(this.client, 'status', 'GET', undefined, false);
11
- }
12
- }
13
- exports.GetStatusApi = GetStatusApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostAutopilotWaypointApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class PostAutopilotWaypointApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async setAutopilotWaypoint(body) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'ui/autopilot/waypoint', 'POST', JSON.stringify(body), true);
11
- }
12
- }
13
- exports.PostAutopilotWaypointApi = PostAutopilotWaypointApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostOpenContractWindowApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class PostOpenContractWindowApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async openContractWindow(body) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'ui/openwindow/contract', 'POST', JSON.stringify(body), true);
11
- }
12
- }
13
- exports.PostOpenContractWindowApi = PostOpenContractWindowApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostOpenInformationWindowApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class PostOpenInformationWindowApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async openInformationWindow(body) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'ui/openwindow/information', 'POST', JSON.stringify(body), true);
11
- }
12
- }
13
- exports.PostOpenInformationWindowApi = PostOpenInformationWindowApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostOpenMarketDetailsWindowApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class PostOpenMarketDetailsWindowApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async openMarketDetailsWindow(body) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'ui/openwindow/marketdetails', 'POST', JSON.stringify(body), true);
11
- }
12
- }
13
- exports.PostOpenMarketDetailsWindowApi = PostOpenMarketDetailsWindowApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostOpenNewMailWindowApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class PostOpenNewMailWindowApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async openNewMailWindow(body) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'ui/openwindow/newmail', 'POST', JSON.stringify(body), true);
11
- }
12
- }
13
- exports.PostOpenNewMailWindowApi = PostOpenNewMailWindowApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UniverseAncestriesApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class UniverseAncestriesApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getAncestries() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'universe/ancestries', 'GET', undefined, false);
11
- }
12
- }
13
- exports.UniverseAncestriesApi = UniverseAncestriesApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UniverseAsteroidBeltApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class UniverseAsteroidBeltApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getAsteroidBeltInfo(asteroidBeltId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `universe/asteroid_belts/${asteroidBeltId}`, 'GET', undefined, false);
11
- }
12
- }
13
- exports.UniverseAsteroidBeltApi = UniverseAsteroidBeltApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UniverseBloodlinesApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class UniverseBloodlinesApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getBloodlines() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'universe/bloodlines', 'GET', undefined, false);
11
- }
12
- }
13
- exports.UniverseBloodlinesApi = UniverseBloodlinesApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UniverseConstellationByIdApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class UniverseConstellationByIdApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getConstellationById(constellationId) {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, `universe/constellations/${constellationId}`, 'GET', undefined, false);
11
- }
12
- }
13
- exports.UniverseConstellationByIdApi = UniverseConstellationByIdApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UniverseConstellationsApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class UniverseConstellationsApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getConstellations() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'universe/constellations', 'GET', undefined, false);
11
- }
12
- }
13
- exports.UniverseConstellationsApi = UniverseConstellationsApi;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UniverseFactionsApi = void 0;
4
- const ApiRequestHandler_1 = require("../../core/ApiRequestHandler");
5
- class UniverseFactionsApi {
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async getFactions() {
10
- return (0, ApiRequestHandler_1.handleRequest)(this.client, 'universe/factions', 'GET', undefined, false);
11
- }
12
- }
13
- exports.UniverseFactionsApi = UniverseFactionsApi;