@lgriffin/esi.ts 1.0.0 → 4.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.
- package/LICENSE +26 -0
- package/README.md +555 -125
- package/dist/EsiClient.d.ts +111 -0
- package/dist/EsiClient.d.ts.map +1 -0
- package/dist/EsiClient.js +223 -0
- package/dist/EsiClientBuilder.d.ts +71 -0
- package/dist/EsiClientBuilder.d.ts.map +1 -0
- package/dist/EsiClientBuilder.js +208 -0
- package/dist/api/alliances/getAllianceById.js +17 -0
- package/dist/api/alliances/getAllianceContactLabels.js +13 -0
- package/dist/api/alliances/getAllianceContacts.js +13 -0
- package/dist/api/alliances/getAllianceCorporations.js +13 -0
- package/dist/api/alliances/getAllianceIcons.js +13 -0
- package/dist/api/alliances/getAlliances.js +13 -0
- package/dist/api/assets/getCharacterAssets.js +13 -0
- package/dist/api/assets/getCorporationAssets.js +13 -0
- package/dist/api/assets/postCharacterAssetLocations.js +13 -0
- package/dist/api/assets/postCharacterAssetNames.js +13 -0
- package/dist/api/assets/postCorporationAssetLocations.js +13 -0
- package/dist/api/assets/postCorporationAssetNames.js +13 -0
- package/dist/api/bookmarks/getCharacterBookmarkFolders.js +13 -0
- package/dist/api/bookmarks/getCharacterBookmarks.js +13 -0
- package/dist/api/bookmarks/getCorporationBookmarkFolders.js +13 -0
- package/dist/api/bookmarks/getCorporationBookmarks.js +13 -0
- package/dist/api/calendar/getCalendarEventById.js +13 -0
- package/dist/api/calendar/getCalendarEvents.js +13 -0
- package/dist/api/calendar/getEventAttendees.js +13 -0
- package/dist/api/calendar/respondToCalendarEvent.js +14 -0
- package/dist/api/characters/getAgentsResearch.js +13 -0
- package/dist/api/characters/getBlueprints.js +13 -0
- package/dist/api/characters/getCharacterPublicInfo.js +13 -0
- package/dist/api/characters/getCharacterRoles.js +13 -0
- package/dist/api/characters/getCharacterStandings.js +13 -0
- package/dist/api/characters/getCharacterTitles.js +13 -0
- package/dist/api/characters/getContactNotifications.js +13 -0
- package/dist/api/characters/getCorporationHistory.js +13 -0
- package/dist/api/characters/getJumpFatigue.js +13 -0
- package/dist/api/characters/getMedals.js +13 -0
- package/dist/api/characters/getNotifications.js +13 -0
- package/dist/api/characters/getPortrait.js +13 -0
- package/dist/api/characters/postCSPAChargeCost.js +13 -0
- package/dist/api/characters/postCharacterAffiliations.js +14 -0
- package/dist/api/clones/getClones.js +14 -0
- package/dist/api/clones/getImplants.js +14 -0
- package/dist/api/clones/postJumpCloneActivation.js +14 -0
- package/dist/api/contacts/deleteCharacterContacts.js +13 -0
- package/dist/api/contacts/getAllianceContactLabels.js +13 -0
- package/dist/api/contacts/getAllianceContacts.js +13 -0
- package/dist/api/contacts/getCharacterContactLabels.js +13 -0
- package/dist/api/contacts/getCharacterContacts.js +13 -0
- package/dist/api/contacts/getCorporationContactLabels.js +13 -0
- package/dist/api/contacts/getCorporationContacts.js +13 -0
- package/dist/api/contacts/postCharacterContacts.js +13 -0
- package/dist/api/contacts/putCharacterContacts.js +13 -0
- package/dist/api/contracts/getCharacterContractBids.js +13 -0
- package/dist/api/contracts/getCharacterContractItems.js +13 -0
- package/dist/api/contracts/getCharacterContracts.js +13 -0
- package/dist/api/contracts/getCorporationContractBids.js +13 -0
- package/dist/api/contracts/getCorporationContractItems.js +13 -0
- package/dist/api/contracts/getCorporationContracts.js +13 -0
- package/dist/api/contracts/getPublicContractBids.js +13 -0
- package/dist/api/contracts/getPublicContractItems.js +13 -0
- package/dist/api/contracts/getPublicContracts.js +13 -0
- package/dist/api/corporations/getCorporationAllianceHistory.js +13 -0
- package/dist/api/corporations/getCorporationAlscLogs.js +13 -0
- package/dist/api/corporations/getCorporationBlueprints.js +13 -0
- package/dist/api/corporations/getCorporationDivisions.js +13 -0
- package/dist/api/corporations/getCorporationFacilities.js +13 -0
- package/dist/api/corporations/getCorporationIcon.js +13 -0
- package/dist/api/corporations/getCorporationInfo.js +13 -0
- package/dist/api/corporations/getCorporationIssuedMedals.js +13 -0
- package/dist/api/corporations/getCorporationMedals.js +13 -0
- package/dist/api/corporations/getCorporationMemberLimit.js +13 -0
- package/dist/api/corporations/getCorporationMemberRoles.js +13 -0
- package/dist/api/corporations/getCorporationMemberRolesHistory.js +13 -0
- package/dist/api/corporations/getCorporationMemberTracking.js +13 -0
- package/dist/api/corporations/getCorporationMembers.js +13 -0
- package/dist/api/corporations/getCorporationMembersTitles.js +13 -0
- package/dist/api/corporations/getCorporationProjects.js +13 -0
- package/dist/api/corporations/getCorporationShareholders.js +13 -0
- package/dist/api/corporations/getCorporationStandings.js +13 -0
- package/dist/api/corporations/getCorporationStarbaseDetail.js +13 -0
- package/dist/api/corporations/getCorporationStarbases.js +13 -0
- package/dist/api/corporations/getCorporationStructures.js +13 -0
- package/dist/api/corporations/getCorporationTitles.js +13 -0
- package/dist/api/corporations/getNpcCorporations.js +13 -0
- package/dist/api/dogma/getDogmaAttributeById.js +13 -0
- package/dist/api/dogma/getDogmaAttributes.js +13 -0
- package/dist/api/dogma/getDogmaDynamicItemAttributes.js +13 -0
- package/dist/api/dogma/getDogmaEffectById.js +13 -0
- package/dist/api/dogma/getDogmaEffects.js +13 -0
- package/dist/api/factions/getCharacterFactionWarfareStats.js +13 -0
- package/dist/api/factions/getCharacterLeaderboards.js +13 -0
- package/dist/api/factions/getCorporationFactionWarfareStats.js +13 -0
- package/dist/api/factions/getCorporationLeaderboards.js +13 -0
- package/dist/api/factions/getFactionLeaderboards.js +13 -0
- package/dist/api/factions/getFactionWarfareStats.js +13 -0
- package/dist/api/factions/getFactionWarfareSystems.js +13 -0
- package/dist/api/factions/getFactionWarfareWars.js +13 -0
- package/dist/api/fittings/deleteCharacterFitting.js +13 -0
- package/dist/api/fittings/getCharacterFittings.js +13 -0
- package/dist/api/fittings/postCharacterFittings.js +13 -0
- package/dist/api/fleets/deleteFleetMember.js +13 -0
- package/dist/api/fleets/deleteFleetSquad.js +13 -0
- package/dist/api/fleets/deleteFleetWing.js +13 -0
- package/dist/api/fleets/getCharacterFleetInfo.js +13 -0
- package/dist/api/fleets/getFleetInfo.js +13 -0
- package/dist/api/fleets/getFleetMembers.js +13 -0
- package/dist/api/fleets/getFleetWings.js +13 -0
- package/dist/api/fleets/postFleetInvitation.js +13 -0
- package/dist/api/fleets/postFleetSquad.js +14 -0
- package/dist/api/fleets/postFleetWing.js +13 -0
- package/dist/api/fleets/putFleetMember.js +13 -0
- package/dist/api/fleets/putFleetSquad.js +13 -0
- package/dist/api/fleets/putFleetWing.js +14 -0
- package/dist/api/fleets/updateFleet.js +13 -0
- package/dist/api/incursions/getIncursions.js +13 -0
- package/dist/api/industry/getCharacterIndustryJobs.js +13 -0
- package/dist/api/industry/getCharacterMiningLedger.js +13 -0
- package/dist/api/industry/getCorporationIndustryJobs.js +13 -0
- package/dist/api/industry/getCorporationMiningObserver.js +13 -0
- package/dist/api/industry/getCorporationMiningObservers.js +13 -0
- package/dist/api/industry/getIndustryFacilities.js +13 -0
- package/dist/api/industry/getIndustrySystems.js +13 -0
- package/dist/api/industry/getMoonExtractionTimers.js +13 -0
- package/dist/api/insurance/getInsurancePrices.js +13 -0
- package/dist/api/killmails/getCharacterRecentKillmails.js +13 -0
- package/dist/api/killmails/getCorporationRecentKillmails.js +13 -0
- package/dist/api/killmails/getKillmail.js +13 -0
- package/dist/api/location/getCharacterLocation.js +13 -0
- package/dist/api/location/getCharacterOnline.js +13 -0
- package/dist/api/location/getCharacterShip.js +13 -0
- package/dist/api/loyalty/getLoyaltyPoints.js +13 -0
- package/dist/api/loyalty/getLoyaltyStoreOffers.js +13 -0
- package/dist/api/mail/deleteCharacterMail.js +13 -0
- package/dist/api/mail/deleteCharacterMailLabel.js +13 -0
- package/dist/api/mail/deleteCharacterMailLabel.test.js +21 -0
- package/dist/api/mail/getCharacerMailingLists.test.js +33 -0
- package/dist/api/mail/getCharacterMail.js +13 -0
- package/dist/api/mail/getCharacterMailHeaders.js +13 -0
- package/dist/api/mail/getCharacterMailLabels.js +13 -0
- package/dist/api/mail/getCharacterMailingLists.js +13 -0
- package/dist/api/mail/postCharacterMail.js +13 -0
- package/dist/api/mail/postCharacterMailLabels.js +13 -0
- package/dist/api/mail/putCharacterMail.js +13 -0
- package/dist/api/market/getCharacterOrderHistory.js +13 -0
- package/dist/api/market/getCharacterOrders.js +13 -0
- package/dist/api/market/getCorporationOrderHistory.js +13 -0
- package/dist/api/market/getCorporationOrders.js +13 -0
- package/dist/api/market/getMarketGroupInformation.js +13 -0
- package/dist/api/market/getMarketGroups.js +13 -0
- package/dist/api/market/getMarketHistory.js +13 -0
- package/dist/api/market/getMarketOrders.js +13 -0
- package/dist/api/market/getMarketOrdersInStructure.js +13 -0
- package/dist/api/market/getMarketPrices.js +13 -0
- package/dist/api/market/getMarketTypes.js +13 -0
- package/dist/api/meta/getSwaggerJson.js +13 -0
- package/dist/api/meta/getSwaggerYaml.js +37 -0
- package/dist/api/opportunities/getCharacterOpportunities.js +13 -0
- package/dist/api/opportunities/getOpportunitiesGroupById.js +13 -0
- package/dist/api/opportunities/getOpportunitiesGroups.js +13 -0
- package/dist/api/opportunities/getOpportunitiesTaskById.js +13 -0
- package/dist/api/opportunities/getOpportunitiesTasks.js +13 -0
- package/dist/api/pi/getColonies.js +13 -0
- package/dist/api/pi/getColonyLayout.js +13 -0
- package/dist/api/pi/getCorporationCustomsOffices.js +13 -0
- package/dist/api/pi/getSchematicInformation.js +13 -0
- package/dist/api/route/getRoute.js +13 -0
- package/dist/api/search/getCharacterSearch.js +13 -0
- package/dist/api/skills/getCharacterAttributes.js +13 -0
- package/dist/api/skills/getCharacterSkillQueue.js +13 -0
- package/dist/api/skills/getCharacterSkills.js +13 -0
- package/dist/api/sovereignty/getSovereigntyCampaigns.js +13 -0
- package/dist/api/sovereignty/getSovereigntyMap.js +13 -0
- package/dist/api/sovereignty/getSovereigntyStructures.js +13 -0
- package/dist/api/status/getStatus.js +13 -0
- package/dist/api/ui/postAutopilotWaypoint.js +13 -0
- package/dist/api/ui/postOpenContractWindow.js +13 -0
- package/dist/api/ui/postOpenInformationWindow.js +13 -0
- package/dist/api/ui/postOpenMarketDetailsWindow.js +13 -0
- package/dist/api/ui/postOpenNewMailWindow.js +13 -0
- package/dist/api/universe/getAncestries.js +13 -0
- package/dist/api/universe/getAsteroidBeltInfo.js +13 -0
- package/dist/api/universe/getBloodlines.js +13 -0
- package/dist/api/universe/getConstellationById.js +13 -0
- package/dist/api/universe/getConstellations.js +13 -0
- package/dist/api/universe/getFactions.js +13 -0
- package/dist/api/universe/getGraphicById.js +13 -0
- package/dist/api/universe/getGraphics.js +13 -0
- package/dist/api/universe/getItemCategories.js +13 -0
- package/dist/api/universe/getItemCategoryById.js +13 -0
- package/dist/api/universe/getItemGroupById.js +13 -0
- package/dist/api/universe/getItemGroups.js +13 -0
- package/dist/api/universe/getMoonById.js +13 -0
- package/dist/api/universe/getPlanetById.js +13 -0
- package/dist/api/universe/getRaces.js +13 -0
- package/dist/api/universe/getRegionById.js +13 -0
- package/dist/api/universe/getRegions.js +13 -0
- package/dist/api/universe/getSchematicById.js +13 -0
- package/dist/api/universe/getStarById.js +13 -0
- package/dist/api/universe/getStargateById.js +13 -0
- package/dist/api/universe/getStationById.js +13 -0
- package/dist/api/universe/getStructureById.js +13 -0
- package/dist/api/universe/getStructures.js +13 -0
- package/dist/api/universe/getSystemById.js +13 -0
- package/dist/api/universe/getSystemJumps.js +13 -0
- package/dist/api/universe/getSystemKills.js +13 -0
- package/dist/api/universe/getSystems.js +13 -0
- package/dist/api/universe/getTypeById.js +13 -0
- package/dist/api/universe/getTypes.js +13 -0
- package/dist/api/universe/postBulkNamesToIds.js +14 -0
- package/dist/api/universe/postNamesAndCategories.js +14 -0
- package/dist/api/wallet/getCharacterWallet.js +13 -0
- package/dist/api/wallet/getCharacterWalletJournal.js +13 -0
- package/dist/api/wallet/getCharacterWalletTransactions.js +13 -0
- package/dist/api/wallet/getCorporationWalletJournal.js +13 -0
- package/dist/api/wallet/getCorporationWalletTransactions.js +13 -0
- package/dist/api/wallet/getCorporationWallets.js +13 -0
- package/dist/api/wars/getWarById.js +13 -0
- package/dist/api/wars/getWarKillmails.js +13 -0
- package/dist/api/wars/getWars.js +13 -0
- package/dist/builders/AllianceApiBuilder.js +13 -0
- package/dist/builders/AssetsApiBuilder.js +13 -0
- package/dist/builders/BookmarkApiBuilder.js +13 -0
- package/dist/builders/CalendarApiBuilder.js +13 -0
- package/dist/builders/CharacterApiBuilder.js +13 -0
- package/dist/builders/ClonesApiBuilder.js +13 -0
- package/dist/builders/ContactsApiBuilder.js +13 -0
- package/dist/builders/ContractsApiBuilder.js +13 -0
- package/dist/builders/CorporationsApiBuilder.js +13 -0
- package/dist/builders/DogmaApiBuilder.js +13 -0
- package/dist/builders/FactionApiBuilder.js +13 -0
- package/dist/builders/FittingsApiBuilder.js +13 -0
- package/dist/builders/FleetApiBuilder.js +13 -0
- package/dist/builders/IncursionsApiBuilder.js +13 -0
- package/dist/builders/IndustryApiBuilder.js +13 -0
- package/dist/builders/InsuranceApiBuilder.js +13 -0
- package/dist/builders/KillmailsBuilder.js +13 -0
- package/dist/builders/LocationApiBuilder.js +13 -0
- package/dist/builders/LoyaltyApiBuilder.js +13 -0
- package/dist/builders/MailApiBuilder.js +13 -0
- package/dist/builders/MarketApiBuilder.js +13 -0
- package/dist/builders/MetaApiBuilder.js +13 -0
- package/dist/builders/OpportunitiesApiBuilder.js +13 -0
- package/dist/builders/PiApiBuilder.js +13 -0
- package/dist/builders/RouteApiBuilder.js +13 -0
- package/dist/builders/SearchApiBuilder.js +13 -0
- package/dist/builders/SkillsApiBuilder.js +13 -0
- package/dist/builders/SovereigntyApiBuilder.js +13 -0
- package/dist/builders/StatusApiBuilder.js +13 -0
- package/dist/builders/UiApiBuilder.js +13 -0
- package/dist/builders/UniverseApiBuilder.js +13 -0
- package/dist/builders/WalletApiBuilder.js +13 -0
- package/dist/builders/WarsAPIBuilder.js +13 -0
- package/dist/clients/AllianceClient.d.ts +52 -0
- package/dist/clients/AllianceClient.d.ts.map +1 -0
- package/dist/clients/AllianceClient.js +70 -0
- package/dist/clients/AssetsClient.d.ts +60 -0
- package/dist/clients/AssetsClient.d.ts.map +1 -0
- package/dist/clients/AssetsClient.js +75 -0
- package/dist/clients/BaseEsiClient.d.ts +14 -0
- package/dist/clients/BaseEsiClient.d.ts.map +1 -0
- package/dist/clients/BaseEsiClient.js +24 -0
- package/dist/clients/BookmarkClient.js +28 -0
- package/dist/clients/CalendarClient.d.ts +43 -0
- package/dist/clients/CalendarClient.d.ts.map +1 -0
- package/dist/clients/CalendarClient.js +54 -0
- package/dist/clients/CharacterClient.d.ts +118 -0
- package/dist/clients/CharacterClient.d.ts.map +1 -0
- package/dist/clients/CharacterClient.js +149 -0
- package/dist/clients/ClonesClient.d.ts +24 -0
- package/dist/clients/ClonesClient.d.ts.map +1 -0
- package/dist/clients/ClonesClient.js +31 -0
- package/dist/clients/ContactsClient.d.ts +81 -0
- package/dist/clients/ContactsClient.d.ts.map +1 -0
- package/dist/clients/ContactsClient.js +102 -0
- package/dist/clients/ContractsClient.d.ts +81 -0
- package/dist/clients/ContractsClient.d.ts.map +1 -0
- package/dist/clients/ContractsClient.js +102 -0
- package/dist/clients/CorporationsClient.d.ts +184 -0
- package/dist/clients/CorporationsClient.d.ts.map +1 -0
- package/dist/clients/CorporationsClient.js +227 -0
- package/dist/clients/DogmaClient.d.ts +42 -0
- package/dist/clients/DogmaClient.d.ts.map +1 -0
- package/dist/clients/DogmaClient.js +55 -0
- package/dist/clients/FactionClient.d.ts +60 -0
- package/dist/clients/FactionClient.d.ts.map +1 -0
- package/dist/clients/FactionClient.js +79 -0
- package/dist/clients/FittingsClient.d.ts +35 -0
- package/dist/clients/FittingsClient.d.ts.map +1 -0
- package/dist/clients/FittingsClient.js +42 -0
- package/dist/clients/FleetClient.d.ts +129 -0
- package/dist/clients/FleetClient.d.ts.map +1 -0
- package/dist/clients/FleetClient.js +156 -0
- package/dist/clients/FreelanceJobsClient.d.ts +61 -0
- package/dist/clients/FreelanceJobsClient.d.ts.map +1 -0
- package/dist/clients/FreelanceJobsClient.js +76 -0
- package/dist/clients/IncursionsClient.d.ts +14 -0
- package/dist/clients/IncursionsClient.d.ts.map +1 -0
- package/dist/clients/IncursionsClient.js +19 -0
- package/dist/clients/IndustryClient.d.ts +69 -0
- package/dist/clients/IndustryClient.d.ts.map +1 -0
- package/dist/clients/IndustryClient.js +88 -0
- package/dist/clients/InsuranceClient.d.ts +14 -0
- package/dist/clients/InsuranceClient.d.ts.map +1 -0
- package/dist/clients/InsuranceClient.js +19 -0
- package/dist/clients/KillmailsClient.d.ts +32 -0
- package/dist/clients/KillmailsClient.d.ts.map +1 -0
- package/dist/clients/KillmailsClient.js +41 -0
- package/dist/clients/LocationClient.d.ts +32 -0
- package/dist/clients/LocationClient.d.ts.map +1 -0
- package/dist/clients/LocationClient.js +41 -0
- package/dist/clients/LoyaltyClient.d.ts +23 -0
- package/dist/clients/LoyaltyClient.d.ts.map +1 -0
- package/dist/clients/LoyaltyClient.js +30 -0
- package/dist/clients/MailClient.d.ts +93 -0
- package/dist/clients/MailClient.d.ts.map +1 -0
- package/dist/clients/MailClient.js +108 -0
- package/dist/clients/MarketClient.d.ts +98 -0
- package/dist/clients/MarketClient.d.ts.map +1 -0
- package/dist/clients/MarketClient.js +113 -0
- package/dist/clients/MetaClient.d.ts +19 -0
- package/dist/clients/MetaClient.d.ts.map +1 -0
- package/dist/clients/MetaClient.js +56 -0
- package/dist/clients/OpportunitiesClient.js +33 -0
- package/dist/clients/PiClient.d.ts +40 -0
- package/dist/clients/PiClient.d.ts.map +1 -0
- package/dist/clients/PiClient.js +51 -0
- package/dist/clients/RouteClient.d.ts +25 -0
- package/dist/clients/RouteClient.d.ts.map +1 -0
- package/dist/clients/RouteClient.js +24 -0
- package/dist/clients/SearchClient.d.ts +17 -0
- package/dist/clients/SearchClient.d.ts.map +1 -0
- package/dist/clients/SearchClient.js +22 -0
- package/dist/clients/SkillsClient.d.ts +36 -0
- package/dist/clients/SkillsClient.d.ts.map +1 -0
- package/dist/clients/SkillsClient.js +41 -0
- package/dist/clients/SovereigntyClient.d.ts +26 -0
- package/dist/clients/SovereigntyClient.d.ts.map +1 -0
- package/dist/clients/SovereigntyClient.js +35 -0
- package/dist/clients/StatusClient.d.ts +14 -0
- package/dist/clients/StatusClient.d.ts.map +1 -0
- package/dist/clients/StatusClient.js +19 -0
- package/dist/clients/UiClient.d.ts +42 -0
- package/dist/clients/UiClient.d.ts.map +1 -0
- package/dist/clients/UiClient.js +56 -0
- package/dist/clients/UniverseClient.d.ts +212 -0
- package/dist/clients/UniverseClient.d.ts.map +1 -0
- package/dist/clients/UniverseClient.js +277 -0
- package/dist/clients/WalletClient.d.ts +61 -0
- package/dist/clients/WalletClient.d.ts.map +1 -0
- package/dist/clients/WalletClient.js +73 -0
- package/dist/clients/WarsClient.d.ts +28 -0
- package/dist/clients/WarsClient.d.ts.map +1 -0
- package/dist/clients/WarsClient.js +37 -0
- package/dist/config/configManager.d.ts +8 -0
- package/dist/config/configManager.d.ts.map +1 -0
- package/dist/config/configManager.js +41 -0
- package/dist/config/constants.js +11 -0
- package/dist/config/jest/globalSetup.d.ts +2 -0
- package/dist/config/jest/globalSetup.d.ts.map +1 -0
- package/dist/config/jest/globalSetup.js +7 -0
- package/dist/config/jest/globalTeardown.d.ts +2 -0
- package/dist/config/jest/globalTeardown.d.ts.map +1 -0
- package/dist/config/jest/globalTeardown.js +7 -0
- package/dist/config/jest/jest.setup.d.ts +3 -0
- package/dist/config/jest/jest.setup.d.ts.map +1 -0
- package/dist/config/jest/jest.setup.js +30 -0
- package/dist/core/ApiClient.d.ts +44 -0
- package/dist/core/ApiClient.d.ts.map +1 -0
- package/dist/core/ApiClient.js +102 -0
- package/dist/core/ApiClientBuilder.d.ts +22 -0
- package/dist/core/ApiClientBuilder.d.ts.map +1 -0
- package/dist/core/ApiClientBuilder.js +54 -0
- package/dist/core/ApiError.js +11 -0
- package/dist/core/ApiRequestHandler.d.ts +11 -0
- package/dist/core/ApiRequestHandler.d.ts.map +1 -0
- package/dist/core/ApiRequestHandler.js +365 -0
- package/dist/core/ClientRegistry.d.ts +39 -0
- package/dist/core/ClientRegistry.d.ts.map +1 -0
- package/dist/core/ClientRegistry.js +107 -0
- package/dist/core/EsiDiagnostics.d.ts +35 -0
- package/dist/core/EsiDiagnostics.d.ts.map +1 -0
- package/dist/core/EsiDiagnostics.js +47 -0
- package/dist/core/IAPIBuilder.js +2 -0
- package/dist/core/RequestDeduplicator.d.ts +7 -0
- package/dist/core/RequestDeduplicator.d.ts.map +1 -0
- package/dist/core/RequestDeduplicator.js +26 -0
- package/dist/core/cache/ETagCacheManager.d.ts +71 -0
- package/dist/core/cache/ETagCacheManager.d.ts.map +1 -0
- package/dist/core/cache/ETagCacheManager.js +184 -0
- package/dist/core/cache/ICache.d.ts +27 -0
- package/dist/core/cache/ICache.d.ts.map +1 -0
- package/dist/core/cache/ICache.js +2 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts +39 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -0
- package/dist/core/circuitBreaker/CircuitBreaker.js +156 -0
- package/dist/core/constants.d.ts +5 -0
- package/dist/core/constants.d.ts.map +1 -0
- package/dist/core/constants.js +7 -0
- package/dist/core/container/Container.js +145 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts +50 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -0
- package/dist/core/endpoints/EndpointDefinition.js +2 -0
- package/dist/core/endpoints/allianceEndpoints.d.ts +26 -0
- package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/allianceEndpoints.js +28 -0
- package/dist/core/endpoints/assetEndpoints.d.ts +51 -0
- package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/assetEndpoints.js +45 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts +30 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/calendarEndpoints.js +30 -0
- package/dist/core/endpoints/characterEndpoints.d.ts +88 -0
- package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/characterEndpoints.js +90 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts +15 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/cloneEndpoints.js +17 -0
- package/dist/core/endpoints/contactEndpoints.d.ts +62 -0
- package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/contactEndpoints.js +62 -0
- package/dist/core/endpoints/contractEndpoints.d.ts +57 -0
- package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/contractEndpoints.js +59 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts +134 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/corporationEndpoints.js +136 -0
- package/dist/core/endpoints/createClient.d.ts +48 -0
- package/dist/core/endpoints/createClient.d.ts.map +1 -0
- package/dist/core/endpoints/createClient.js +170 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts +31 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/dogmaEndpoints.js +33 -0
- package/dist/core/endpoints/factionEndpoints.d.ts +45 -0
- package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/factionEndpoints.js +47 -0
- package/dist/core/endpoints/fittingEndpoints.d.ts +22 -0
- package/dist/core/endpoints/fittingEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/fittingEndpoints.js +24 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts +97 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/fleetEndpoints.js +95 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +50 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.js +43 -0
- package/dist/core/endpoints/incursionEndpoints.d.ts +8 -0
- package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/incursionEndpoints.js +10 -0
- package/dist/core/endpoints/industryEndpoints.d.ts +49 -0
- package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/industryEndpoints.js +51 -0
- package/dist/core/endpoints/insuranceEndpoints.d.ts +8 -0
- package/dist/core/endpoints/insuranceEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/insuranceEndpoints.js +10 -0
- package/dist/core/endpoints/killmailEndpoints.d.ts +21 -0
- package/dist/core/endpoints/killmailEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/killmailEndpoints.js +23 -0
- package/dist/core/endpoints/locationEndpoints.d.ts +21 -0
- package/dist/core/endpoints/locationEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/locationEndpoints.js +23 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.ts +15 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/loyaltyEndpoints.js +17 -0
- package/dist/core/endpoints/mailEndpoints.d.ts +60 -0
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/mailEndpoints.js +62 -0
- package/dist/core/endpoints/marketEndpoints.d.ts +73 -0
- package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/marketEndpoints.js +71 -0
- package/dist/core/endpoints/metaEndpoints.d.ts +8 -0
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/metaEndpoints.js +10 -0
- package/dist/core/endpoints/piEndpoints.d.ts +27 -0
- package/dist/core/endpoints/piEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/piEndpoints.js +29 -0
- package/dist/core/endpoints/routeEndpoints.d.ts +10 -0
- package/dist/core/endpoints/routeEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/routeEndpoints.js +12 -0
- package/dist/core/endpoints/searchEndpoints.d.ts +13 -0
- package/dist/core/endpoints/searchEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/searchEndpoints.js +12 -0
- package/dist/core/endpoints/skillEndpoints.d.ts +21 -0
- package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/skillEndpoints.js +23 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts +18 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/sovereigntyEndpoints.js +20 -0
- package/dist/core/endpoints/statusEndpoints.d.ts +8 -0
- package/dist/core/endpoints/statusEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/statusEndpoints.js +10 -0
- package/dist/core/endpoints/uiEndpoints.d.ts +33 -0
- package/dist/core/endpoints/uiEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/uiEndpoints.js +35 -0
- package/dist/core/endpoints/universeEndpoints.d.ts +179 -0
- package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/universeEndpoints.js +177 -0
- package/dist/core/endpoints/walletEndpoints.d.ts +39 -0
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/walletEndpoints.js +41 -0
- package/dist/core/endpoints/warEndpoints.d.ts +20 -0
- package/dist/core/endpoints/warEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/warEndpoints.js +22 -0
- package/dist/core/errors/ApiError.js +129 -0
- package/dist/core/factory/ApiFactory.js +170 -0
- package/dist/core/logger/ILogger.d.ts +7 -0
- package/dist/core/logger/ILogger.d.ts.map +1 -0
- package/dist/core/logger/ILogger.js +2 -0
- package/dist/core/logger/index.d.ts +2 -0
- package/dist/core/logger/index.d.ts.map +1 -0
- package/dist/core/logger/index.js +8 -0
- package/dist/core/logger/logger.d.ts +3 -0
- package/dist/core/logger/logger.d.ts.map +1 -0
- package/dist/core/logger/logger.js +16 -0
- package/dist/core/logger/loggerUtil.d.ts +9 -0
- package/dist/core/logger/loggerUtil.d.ts.map +1 -0
- package/dist/core/logger/loggerUtil.js +30 -0
- package/dist/core/middleware/Middleware.d.ts +30 -0
- package/dist/core/middleware/Middleware.d.ts.map +1 -0
- package/dist/core/middleware/Middleware.js +42 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts +8 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -0
- package/dist/core/pagination/AsyncPaginationIterator.js +27 -0
- package/dist/core/pagination/CursorPaginationHandler.d.ts +59 -0
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -0
- package/dist/core/pagination/CursorPaginationHandler.js +148 -0
- package/dist/core/pagination/PaginationHandler.d.ts +30 -0
- package/dist/core/pagination/PaginationHandler.d.ts.map +1 -0
- package/dist/core/pagination/PaginationHandler.js +115 -0
- package/dist/core/rateLimiter/IRateLimiter.d.ts +17 -0
- package/dist/core/rateLimiter/IRateLimiter.d.ts.map +1 -0
- package/dist/core/rateLimiter/IRateLimiter.js +2 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts +77 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -0
- package/dist/core/rateLimiter/RateLimiter.js +203 -0
- package/dist/core/util/error.d.ts +23 -0
- package/dist/core/util/error.d.ts.map +1 -0
- package/dist/core/util/error.js +100 -0
- package/dist/core/util/file.js +26 -0
- package/dist/core/util/headersUtil.d.ts +22 -0
- package/dist/core/util/headersUtil.d.ts.map +1 -0
- package/dist/core/util/headersUtil.js +36 -0
- package/dist/core/util/inputValidation.js +9 -0
- package/dist/core/util/network.js +15 -0
- package/dist/core/util/request.js +21 -0
- package/dist/core/util/sleep.d.ts +2 -0
- package/dist/core/util/sleep.d.ts.map +1 -0
- package/dist/core/util/sleep.js +6 -0
- package/dist/core/util/testHelpers.d.ts +4 -0
- package/dist/core/util/testHelpers.d.ts.map +1 -0
- package/dist/core/util/testHelpers.js +25 -0
- package/dist/core/util/validation.d.ts +4 -0
- package/dist/core/util/validation.d.ts.map +1 -0
- package/dist/core/util/validation.js +52 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +137 -0
- package/dist/testing/TestDataFactory.d.ts +97 -0
- package/dist/testing/TestDataFactory.d.ts.map +1 -0
- package/dist/testing/TestDataFactory.js +729 -0
- package/dist/testing/TestHelpers.js +205 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/alliance.d.ts +25 -0
- package/dist/types/alliance.d.ts.map +1 -0
- package/dist/types/alliance.js +2 -0
- package/dist/types/api-responses.d.ts +30 -0
- package/dist/types/api-responses.d.ts.map +1 -0
- package/dist/types/api-responses.js +45 -0
- package/dist/types/assets.d.ts +23 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/assets.js +2 -0
- package/dist/types/calendar.d.ts +24 -0
- package/dist/types/calendar.d.ts.map +1 -0
- package/dist/types/calendar.js +2 -0
- package/dist/types/character.d.ts +105 -0
- package/dist/types/character.d.ts.map +1 -0
- package/dist/types/character.js +2 -0
- package/dist/types/clones.d.ts +16 -0
- package/dist/types/clones.d.ts.map +1 -0
- package/dist/types/clones.js +2 -0
- package/dist/types/common.d.ts +17 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +2 -0
- package/dist/types/contacts.d.ts +12 -0
- package/dist/types/contacts.d.ts.map +1 -0
- package/dist/types/contacts.js +2 -0
- package/dist/types/contracts.d.ts +40 -0
- package/dist/types/contracts.d.ts.map +1 -0
- package/dist/types/contracts.js +2 -0
- package/dist/types/corporation.d.ts +167 -0
- package/dist/types/corporation.d.ts.map +1 -0
- package/dist/types/corporation.js +2 -0
- package/dist/types/dogma.d.ts +39 -0
- package/dist/types/dogma.d.ts.map +1 -0
- package/dist/types/dogma.js +2 -0
- package/dist/types/faction-warfare.d.ts +89 -0
- package/dist/types/faction-warfare.d.ts.map +1 -0
- package/dist/types/faction-warfare.js +2 -0
- package/dist/types/fittings.d.ts +12 -0
- package/dist/types/fittings.d.ts.map +1 -0
- package/dist/types/fittings.js +2 -0
- package/dist/types/fleet.d.ts +35 -0
- package/dist/types/fleet.d.ts.map +1 -0
- package/dist/types/fleet.js +2 -0
- package/dist/types/freelance-jobs.d.ts +92 -0
- package/dist/types/freelance-jobs.d.ts.map +1 -0
- package/dist/types/freelance-jobs.js +2 -0
- package/dist/types/incursions.d.ts +11 -0
- package/dist/types/incursions.d.ts.map +1 -0
- package/dist/types/incursions.js +2 -0
- package/dist/types/industry.d.ts +65 -0
- package/dist/types/industry.d.ts.map +1 -0
- package/dist/types/industry.js +2 -0
- package/dist/types/insurance.d.ts +9 -0
- package/dist/types/insurance.d.ts.map +1 -0
- package/dist/types/insurance.js +2 -0
- package/dist/types/killmails.d.ts +37 -0
- package/dist/types/killmails.d.ts.map +1 -0
- package/dist/types/killmails.js +2 -0
- package/dist/types/location.d.ts +17 -0
- package/dist/types/location.d.ts.map +1 -0
- package/dist/types/location.js +2 -0
- package/dist/types/loyalty.d.ts +17 -0
- package/dist/types/loyalty.d.ts.map +1 -0
- package/dist/types/loyalty.js +2 -0
- package/dist/types/mail.d.ts +19 -0
- package/dist/types/mail.d.ts.map +1 -0
- package/dist/types/mail.js +2 -0
- package/dist/types/market.d.ts +23 -0
- package/dist/types/market.d.ts.map +1 -0
- package/dist/types/market.js +2 -0
- package/dist/types/pi.d.ts +67 -0
- package/dist/types/pi.d.ts.map +1 -0
- package/dist/types/pi.js +2 -0
- package/dist/types/skills.d.ts +17 -0
- package/dist/types/skills.d.ts.map +1 -0
- package/dist/types/skills.js +2 -0
- package/dist/types/sovereignty.d.ts +31 -0
- package/dist/types/sovereignty.d.ts.map +1 -0
- package/dist/types/sovereignty.js +2 -0
- package/dist/types/status.d.ts +7 -0
- package/dist/types/status.d.ts.map +1 -0
- package/dist/types/status.js +2 -0
- package/dist/types/universe.d.ts +275 -0
- package/dist/types/universe.d.ts.map +1 -0
- package/dist/types/universe.js +2 -0
- package/dist/types/wallet.d.ts +26 -0
- package/dist/types/wallet.d.ts.map +1 -0
- package/dist/types/wallet.js +2 -0
- package/dist/types/wars.d.ts +26 -0
- package/dist/types/wars.d.ts.map +1 -0
- package/dist/types/wars.js +2 -0
- package/package.json +127 -20
- package/.github/workflows/ci.yml +0 -16
- package/.prettierrc +0 -6
- package/Structure.js +0 -257
- package/eslint.json +0 -13
- package/jest.bdd.config.cjs +0 -22
- package/jest.unit.config.cjs +0 -30
- package/src/TODO +0 -72
- package/src/api/alliances/getAllianceById.ts +0 -10
- package/src/api/alliances/getAllianceContactLabels.ts +0 -11
- package/src/api/alliances/getAllianceContacts.ts +0 -10
- package/src/api/alliances/getAllianceCorporations.ts +0 -10
- package/src/api/alliances/getAllianceIcons.ts +0 -10
- package/src/api/alliances/getAlliances.ts +0 -10
- package/src/api/assets/getCharacterAssets.ts +0 -14
- package/src/api/assets/getCorporationAssets.ts +0 -14
- package/src/api/assets/postCharacterAssetLocations.ts +0 -14
- package/src/api/assets/postCharacterAssetNames.ts +0 -14
- package/src/api/assets/postCorporationAssetLocations.ts +0 -14
- package/src/api/assets/postCorporationAssetNames.ts +0 -14
- package/src/api/bookmarks/getCharacterBookmarkFolders.ts +0 -10
- package/src/api/bookmarks/getCharacterBookmarks.ts +0 -10
- package/src/api/bookmarks/getCorporationBookmarkFolders.ts +0 -10
- package/src/api/bookmarks/getCorporationBookmarks.ts +0 -10
- package/src/api/calendar/getCalendarEventById.ts +0 -10
- package/src/api/calendar/getCalendarEvents.ts +0 -10
- package/src/api/calendar/getEventAttendees.ts +0 -10
- package/src/api/calendar/respondToCalendarEvent.ts +0 -11
- package/src/api/characters/getAgentsResearch.ts +0 -10
- package/src/api/characters/getBlueprints.ts +0 -10
- package/src/api/characters/getCharacterPublicInfo.ts +0 -10
- package/src/api/characters/getCharacterRoles.ts +0 -10
- package/src/api/characters/getCharacterStandings.ts +0 -10
- package/src/api/characters/getCharacterTitles.ts +0 -10
- package/src/api/characters/getContactNotifications.ts +0 -10
- package/src/api/characters/getCorporationHistory.ts +0 -10
- package/src/api/characters/getJumpFatigue.ts +0 -10
- package/src/api/characters/getMedals.ts +0 -10
- package/src/api/characters/getNotifications.ts +0 -10
- package/src/api/characters/getPortrait.ts +0 -10
- package/src/api/characters/postCSPAChargeCost.ts +0 -10
- package/src/api/characters/postCharacterAffiliations.ts +0 -10
- package/src/api/clones/getClones.ts +0 -11
- package/src/api/clones/getImplants.ts +0 -11
- package/src/api/contacts/deleteCharacterContacts.ts +0 -10
- package/src/api/contacts/getAllianceContactLabels.ts +0 -10
- package/src/api/contacts/getAllianceContacts.ts +0 -10
- package/src/api/contacts/getCharacterContactLabels.ts +0 -10
- package/src/api/contacts/getCharacterContacts.ts +0 -10
- package/src/api/contacts/getCorporationContactLabels.ts +0 -10
- package/src/api/contacts/getCorporationContacts.ts +0 -10
- package/src/api/contacts/postCharacterContacts.ts +0 -10
- package/src/api/contacts/putCharacterContacts.ts +0 -10
- package/src/api/contracts/getCharacterContractBids.ts +0 -10
- package/src/api/contracts/getCharacterContractItems.ts +0 -10
- package/src/api/contracts/getCharacterContracts.ts +0 -10
- package/src/api/contracts/getCorporationContractBids.ts +0 -10
- package/src/api/contracts/getCorporationContractItems.ts +0 -10
- package/src/api/contracts/getCorporationContracts.ts +0 -10
- package/src/api/contracts/getPublicContractBids.ts +0 -10
- package/src/api/contracts/getPublicContractItems.ts +0 -10
- package/src/api/contracts/getPublicContracts.ts +0 -10
- package/src/api/corporations/getCorporationAllianceHistory.ts +0 -10
- package/src/api/corporations/getCorporationAlscLogs.ts +0 -10
- package/src/api/corporations/getCorporationBlueprints.ts +0 -10
- package/src/api/corporations/getCorporationDivisions.ts +0 -10
- package/src/api/corporations/getCorporationFacilities.ts +0 -10
- package/src/api/corporations/getCorporationIcon.ts +0 -10
- package/src/api/corporations/getCorporationInfo.ts +0 -10
- package/src/api/corporations/getCorporationIssuedMedals.ts +0 -10
- package/src/api/corporations/getCorporationMedals.ts +0 -10
- package/src/api/corporations/getCorporationMemberLimit.ts +0 -10
- package/src/api/corporations/getCorporationMemberRoles.ts +0 -10
- package/src/api/corporations/getCorporationMemberRolesHistory.ts +0 -10
- package/src/api/corporations/getCorporationMemberTracking.ts +0 -10
- package/src/api/corporations/getCorporationMembers.ts +0 -10
- package/src/api/corporations/getCorporationMembersTitles.ts +0 -10
- package/src/api/corporations/getCorporationShareholders.ts +0 -10
- package/src/api/corporations/getCorporationStandings.ts +0 -10
- package/src/api/corporations/getCorporationStarbaseDetail.ts +0 -10
- package/src/api/corporations/getCorporationStarbases.ts +0 -10
- package/src/api/corporations/getCorporationStructures.ts +0 -10
- package/src/api/corporations/getCorporationTitles.ts +0 -10
- package/src/api/corporations/getNpcCorporations.ts +0 -10
- package/src/api/dogma/getDogmaAttributeById.ts +0 -11
- package/src/api/dogma/getDogmaAttributes.ts +0 -11
- package/src/api/dogma/getDogmaDynamicItemAttributes.ts +0 -11
- package/src/api/dogma/getDogmaEffectById.ts +0 -11
- package/src/api/dogma/getDogmaEffects.ts +0 -11
- package/src/api/factions/getCharacterFactionWarfareStats.ts +0 -10
- package/src/api/factions/getCharacterLeaderboards.ts +0 -10
- package/src/api/factions/getCorporationFactionWarfareStats.ts +0 -10
- package/src/api/factions/getCorporationLeaderboards.ts +0 -10
- package/src/api/factions/getFactionLeaderboards.ts +0 -10
- package/src/api/factions/getFactionWarfareStats.ts +0 -10
- package/src/api/factions/getFactionWarfareSystems.ts +0 -10
- package/src/api/factions/getFactionWarfareWars.ts +0 -10
- package/src/api/fittings/deleteCharacterFitting.ts +0 -10
- package/src/api/fittings/getCharacterFittings.ts +0 -10
- package/src/api/fittings/postCharacterFittings.ts +0 -10
- package/src/api/fleets/deleteFleetMember.ts +0 -10
- package/src/api/fleets/deleteFleetSquad.ts +0 -10
- package/src/api/fleets/deleteFleetWing.ts +0 -10
- package/src/api/fleets/getCharacterFleetInfo.ts +0 -10
- package/src/api/fleets/getFleetInfo.ts +0 -10
- package/src/api/fleets/getFleetMembers.ts +0 -10
- package/src/api/fleets/getFleetWings.ts +0 -10
- package/src/api/fleets/postFleetInvitation.ts +0 -10
- package/src/api/fleets/postFleetSquad.ts +0 -10
- package/src/api/fleets/postFleetWing.ts +0 -10
- package/src/api/fleets/putFleetMember.ts +0 -10
- package/src/api/fleets/putFleetSquad.ts +0 -10
- package/src/api/fleets/putFleetWing.ts +0 -11
- package/src/api/fleets/updateFleet.ts +0 -10
- package/src/api/incursions/getIncursions.ts +0 -14
- package/src/api/industry/getCharacterIndustryJobs.ts +0 -10
- package/src/api/industry/getCharacterMiningLedger.ts +0 -10
- package/src/api/industry/getCorporationIndustryJobs.ts +0 -10
- package/src/api/industry/getCorporationMiningObserver.ts +0 -10
- package/src/api/industry/getCorporationMiningObservers.ts +0 -10
- package/src/api/industry/getIndustryFacilities.ts +0 -10
- package/src/api/industry/getIndustrySystems.ts +0 -10
- package/src/api/industry/getMoonExtractionTimers.ts +0 -10
- package/src/api/insurance/getInsurancePrices.ts +0 -10
- package/src/api/killmails/getCharacterRecentKillmails.ts +0 -10
- package/src/api/killmails/getCorporationRecentKillmails.ts +0 -10
- package/src/api/killmails/getKillmail.ts +0 -10
- package/src/api/location/getCharacterLocation.ts +0 -10
- package/src/api/location/getCharacterOnline.ts +0 -10
- package/src/api/location/getCharacterShip.ts +0 -10
- package/src/api/loyalty/getLoyaltyPoints.ts +0 -10
- package/src/api/loyalty/getLoyaltyStoreOffers.ts +0 -10
- package/src/api/mail/deleteCharacterMail.ts +0 -10
- package/src/api/mail/deleteCharacterMailLabel.test.ts +0 -22
- package/src/api/mail/deleteCharacterMailLabel.ts +0 -10
- package/src/api/mail/getCharacerMailingLists.test.ts +0 -35
- package/src/api/mail/getCharacterMail.ts +0 -10
- package/src/api/mail/getCharacterMailHeaders.ts +0 -10
- package/src/api/mail/getCharacterMailLabels.ts +0 -10
- package/src/api/mail/getCharacterMailingLists.ts +0 -10
- package/src/api/mail/postCharacterMail.ts +0 -10
- package/src/api/mail/postCharacterMailLabels.ts +0 -10
- package/src/api/mail/putCharacterMail.ts +0 -10
- package/src/api/market/getCharacterOrderHistory.ts +0 -10
- package/src/api/market/getCharacterOrders.ts +0 -10
- package/src/api/market/getCorporationOrderHistory.ts +0 -10
- package/src/api/market/getCorporationOrders.ts +0 -10
- package/src/api/market/getMarketGroupInformation.ts +0 -10
- package/src/api/market/getMarketGroups.ts +0 -10
- package/src/api/market/getMarketHistory.ts +0 -10
- package/src/api/market/getMarketOrders.ts +0 -10
- package/src/api/market/getMarketOrdersInStructure.ts +0 -10
- package/src/api/market/getMarketPrices.ts +0 -10
- package/src/api/market/getMarketTypes.ts +0 -10
- package/src/api/opportunities/getCharacterOpportunities.ts +0 -10
- package/src/api/opportunities/getOpportunitiesGroupById.ts +0 -10
- package/src/api/opportunities/getOpportunitiesGroups.ts +0 -10
- package/src/api/opportunities/getOpportunitiesTaskById.ts +0 -10
- package/src/api/opportunities/getOpportunitiesTasks.ts +0 -10
- package/src/api/pi/getColonies.ts +0 -10
- package/src/api/pi/getColonyLayout.ts +0 -10
- package/src/api/pi/getCorporationCustomsOffices.ts +0 -10
- package/src/api/pi/getSchematicInformation.ts +0 -10
- package/src/api/route/getRoute.ts +0 -14
- package/src/api/search/getCharacterSearch.ts +0 -14
- package/src/api/skills/getCharacterAttributes.ts +0 -10
- package/src/api/skills/getCharacterSkillQueue.ts +0 -10
- package/src/api/skills/getCharacterSkills.ts +0 -10
- package/src/api/sovereignty/getSovereigntyCampaigns.ts +0 -10
- package/src/api/sovereignty/getSovereigntyMap.ts +0 -10
- package/src/api/sovereignty/getSovereigntyStructures.ts +0 -10
- package/src/api/status/getStatus.ts +0 -11
- package/src/api/ui/postAutopilotWaypoint.ts +0 -10
- package/src/api/ui/postOpenContractWindow.ts +0 -10
- package/src/api/ui/postOpenInformationWindow.ts +0 -10
- package/src/api/ui/postOpenMarketDetailsWindow.ts +0 -10
- package/src/api/ui/postOpenNewMailWindow.ts +0 -10
- package/src/api/universe/getAncestries.ts +0 -10
- package/src/api/universe/getAsteroidBeltInfo.ts +0 -10
- package/src/api/universe/getBloodlines.ts +0 -10
- package/src/api/universe/getConstellationById.ts +0 -10
- package/src/api/universe/getConstellations.ts +0 -10
- package/src/api/universe/getFactions.ts +0 -10
- package/src/api/universe/getGraphicById.ts +0 -10
- package/src/api/universe/getGraphics.ts +0 -10
- package/src/api/universe/getItemCategories.ts +0 -10
- package/src/api/universe/getItemCategoryById.ts +0 -10
- package/src/api/universe/getItemGroupById.ts +0 -10
- package/src/api/universe/getItemGroups.ts +0 -10
- package/src/api/universe/getMoonById.ts +0 -10
- package/src/api/universe/getPlanetById.ts +0 -10
- package/src/api/universe/getRaces.ts +0 -10
- package/src/api/universe/getRegionById.ts +0 -10
- package/src/api/universe/getStarById.ts +0 -10
- package/src/api/universe/getStargateById.ts +0 -10
- package/src/api/universe/getStationById.ts +0 -10
- package/src/api/universe/getStructureById.ts +0 -10
- package/src/api/universe/getStructures.ts +0 -10
- package/src/api/universe/getSystemById.ts +0 -10
- package/src/api/universe/getSystemJumps.ts +0 -10
- package/src/api/universe/getSystemKills.ts +0 -10
- package/src/api/universe/getSystems.ts +0 -10
- package/src/api/universe/getTypeById.ts +0 -10
- package/src/api/universe/getTypes.ts +0 -10
- package/src/api/universe/postBulkNamesToIds.ts +0 -15
- package/src/api/universe/postNamesAndCategories.ts +0 -15
- package/src/api/wallet/getCharacterWallet.ts +0 -11
- package/src/api/wallet/getCharacterWalletJournal.ts +0 -11
- package/src/api/wallet/getCharacterWalletTransactions.ts +0 -11
- package/src/api/wallet/getCorporationWalletJournal.ts +0 -11
- package/src/api/wallet/getCorporationWalletTransactions.ts +0 -11
- package/src/api/wallet/getCorporationWallets.ts +0 -11
- package/src/api/wars/getWarById.ts +0 -10
- package/src/api/wars/getWarKillmails.ts +0 -10
- package/src/api/wars/getWars.ts +0 -10
- package/src/builders/AllianceApiBuilder.ts +0 -14
- package/src/builders/AssetsApiBuilder.ts +0 -14
- package/src/builders/BookmarkApiBuilder.ts +0 -14
- package/src/builders/CalendarApiBuilder.ts +0 -14
- package/src/builders/CharacterApiBuilder.ts +0 -14
- package/src/builders/ClonesApiBuilder.ts +0 -14
- package/src/builders/ContactsApiBuilder.ts +0 -14
- package/src/builders/ContractsApiBuilder.ts +0 -14
- package/src/builders/CorporationsApiBuilder.ts +0 -14
- package/src/builders/DogmaApiBuilder.ts +0 -15
- package/src/builders/FactionApiBuilder.ts +0 -14
- package/src/builders/FittingsApiBuilder.ts +0 -16
- package/src/builders/FleetApiBuilder.ts +0 -14
- package/src/builders/IncursionsApiBuilder.ts +0 -14
- package/src/builders/IndustryApiBuilder.ts +0 -14
- package/src/builders/InsuranceApiBuilder.ts +0 -14
- package/src/builders/KillmailsBuilder.ts +0 -14
- package/src/builders/LocationApiBuilder.ts +0 -14
- package/src/builders/LoyaltyApiBuilder.ts +0 -14
- package/src/builders/MailApiBuilder.ts +0 -14
- package/src/builders/MarketApiBuilder.ts +0 -14
- package/src/builders/OpportunitiesApiBuilder.ts +0 -16
- package/src/builders/PiApiBuilder.ts +0 -14
- package/src/builders/RouteApiBuilder.ts +0 -14
- package/src/builders/SearchApiBuilder.ts +0 -14
- package/src/builders/SkillsApiBuilder.ts +0 -14
- package/src/builders/SovereigntyApiBuilder.ts +0 -14
- package/src/builders/StatusApiBuilder.ts +0 -14
- package/src/builders/UiApiBuilder.ts +0 -14
- package/src/builders/UniverseApiBuilder.ts +0 -14
- package/src/builders/WalletApiBuilder.ts +0 -15
- package/src/builders/WarsAPIBuilder.ts +0 -14
- package/src/clients/AllianceClient.ts +0 -49
- package/src/clients/AssetsClient.ts +0 -49
- package/src/clients/BookmarkClient.ts +0 -35
- package/src/clients/CalendarClient.ts +0 -35
- package/src/clients/CharacterClient.ts +0 -105
- package/src/clients/ClonesClient.ts +0 -21
- package/src/clients/ContactsClient.ts +0 -70
- package/src/clients/ContractsClient.ts +0 -70
- package/src/clients/CorporationsClient.ts +0 -161
- package/src/clients/DogmaClient.ts +0 -43
- package/src/clients/FactionClient.ts +0 -63
- package/src/clients/FittingsClient.ts +0 -28
- package/src/clients/FleetClient.ts +0 -105
- package/src/clients/IncursionsClient.ts +0 -14
- package/src/clients/IndustryClient.ts +0 -63
- package/src/clients/InsuranceClient.ts +0 -14
- package/src/clients/KillmailsClient.ts +0 -28
- package/src/clients/LocationClient.ts +0 -28
- package/src/clients/LoyaltyClient.ts +0 -21
- package/src/clients/MailClient.ts +0 -70
- package/src/clients/MarketClient.ts +0 -84
- package/src/clients/OpportunitiesClient.ts +0 -42
- package/src/clients/PiClient.ts +0 -35
- package/src/clients/RouteClient.ts +0 -14
- package/src/clients/SearchClient.ts +0 -14
- package/src/clients/SkillsClient.ts +0 -28
- package/src/clients/SovereigntyClient.ts +0 -28
- package/src/clients/StatusClient.ts +0 -24
- package/src/clients/UiClient.ts +0 -42
- package/src/clients/UniverseClient.ts +0 -212
- package/src/clients/WalletClient.ts +0 -49
- package/src/clients/WarsClient.ts +0 -28
- package/src/config/configManager.ts +0 -30
- package/src/config/constants.ts +0 -6
- package/src/config/esi.json +0 -8
- package/src/config/jest/jest.bdd.setup.ts +0 -11
- package/src/config/jest/jest.setup.ts +0 -25
- package/src/config/swagger.json +0 -1
- package/src/core/ApiClient.ts +0 -18
- package/src/core/ApiClientBuilder.ts +0 -26
- package/src/core/ApiError.ts +0 -6
- package/src/core/ApiRequestHandler.ts +0 -138
- package/src/core/logger/index.ts +0 -1
- package/src/core/logger/logger.ts +0 -35
- package/src/core/logger/loggerUtil.ts +0 -17
- package/src/core/util/error.ts +0 -7
- package/src/core/util/file.ts +0 -21
- package/src/core/util/headersUtil.ts +0 -34
- package/src/core/util/inputValidation.ts +0 -6
- package/src/core/util/network.ts +0 -9
- package/src/core/util/request.ts +0 -15
- package/src/core/util/testHelpers.ts +0 -20
- package/src/index.ts +0 -1163
- package/src/types/winston-loggly-bulk.d.ts +0 -14
- package/tests/bdd/features/alliances/getAllianceById.feature +0 -6
- package/tests/bdd/features/alliances/getAllianceContactLabels.feature +0 -0
- package/tests/bdd/features/alliances/getAllianceContacts.feature +0 -0
- package/tests/bdd/features/alliances/getAllianceCorporations.feature +0 -6
- package/tests/bdd/features/alliances/getAllianceIcons.feature +0 -6
- package/tests/bdd/features/alliances/getAlliances.feature +0 -0
- package/tests/bdd/features/characters/getCharacter.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAffiliation.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAgentsResearch.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAssetLocations.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAssetNames.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAssets.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAttributes.feature +0 -0
- package/tests/bdd/features/characters/getCharacterBlueprints.feature +0 -0
- package/tests/bdd/features/characters/getCharacterBookmarkFolders.feature +0 -0
- package/tests/bdd/features/characters/getCharacterBookmarks.feature +0 -0
- package/tests/bdd/features/characters/getCharacterCalendarEventById.feature +0 -0
- package/tests/bdd/features/characters/getCharacterCalendarEvents.feature +0 -0
- package/tests/bdd/features/characters/getCharacterClones.feature +0 -0
- package/tests/bdd/features/characters/getCharacterContractBids.feature +0 -0
- package/tests/bdd/features/characters/getCharacterContractItems.feature +0 -0
- package/tests/bdd/features/characters/getCharacterContracts.feature +0 -0
- package/tests/bdd/features/characters/getCharacterCorporationHistory.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFatigue.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFittings.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFleet.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFwStats.feature +0 -0
- package/tests/bdd/features/characters/getCharacterImplants.feature +0 -0
- package/tests/bdd/features/characters/getCharacterIndustryJobs.feature +0 -0
- package/tests/bdd/features/characters/getCharacterKillmails.feature +0 -0
- package/tests/bdd/features/characters/getCharacterLocation.feature +0 -0
- package/tests/bdd/features/characters/getCharacterLoyaltyPoints.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMail.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMailById.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMailLabels.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMailLists.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMedals.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMining.feature +0 -0
- package/tests/bdd/features/characters/getCharacterNotifications.feature +0 -0
- package/tests/bdd/features/characters/getCharacterNotificationsContacts.feature +0 -0
- package/tests/bdd/features/characters/getCharacterOpportunities.feature +0 -0
- package/tests/bdd/features/characters/getCharacterOrderHistory.feature +0 -0
- package/tests/bdd/features/characters/getCharacterOrders.feature +0 -0
- package/tests/bdd/features/characters/getCharacterPlanets.feature +0 -0
- package/tests/bdd/features/characters/getCharacterPortrait.feature +0 -0
- package/tests/bdd/features/characters/getCharacterRoles.feature +0 -0
- package/tests/bdd/features/characters/getCharacterSearch.feature +0 -0
- package/tests/bdd/features/characters/getCharacterShip.feature +0 -0
- package/tests/bdd/features/characters/getCharacterSkillQueue.feature +0 -0
- package/tests/bdd/features/characters/getCharacterSkills.feature +0 -0
- package/tests/bdd/features/characters/getCharacterStandings.feature +0 -0
- package/tests/bdd/features/characters/getCharacterStats.feature +0 -0
- package/tests/bdd/features/characters/getCharacterTitles.feature +0 -0
- package/tests/bdd/features/characters/getCharacterWallet.feature +0 -0
- package/tests/bdd/features/characters/getCharacterWalletJournal.feature +0 -0
- package/tests/bdd/features/characters/getCharacterWalletTransactions.feature +0 -0
- package/tests/bdd/features/contracts/getContractBids.feature +0 -0
- package/tests/bdd/features/contracts/getContractById.feature +0 -0
- package/tests/bdd/features/contracts/getContractItems.feature +0 -0
- package/tests/bdd/features/contracts/getContracts.feature +0 -0
- package/tests/bdd/features/contracts/getPublicContractBids.feature +0 -0
- package/tests/bdd/features/contracts/getPublicContractItems.feature +0 -0
- package/tests/bdd/features/contracts/getPublicContracts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporation.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationAlliances.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationBlueprints.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationBookmarkFolders.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationBookmarks.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContactLabels.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContacts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContainerLogs.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContractBids.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContractItems.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContracts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationDivisions.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationFacilities.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationFwStats.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationIcons.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationIndustryJobs.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationKillmails.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMedals.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMemberLimit.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMemberTracking.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMembers.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMining.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationNotifications.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationOrderHistory.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationOrders.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationOutposts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationRoles.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationShareholders.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationStandings.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationStarbases.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationStructures.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationTitles.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationWalletJournal.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationWalletTransactions.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationWallets.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaAttributeById.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaAttributes.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaDynamicItemAttributes.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaEffectById.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaEffects.feature +0 -0
- package/tests/bdd/features/factions/getFactionWarfareLeaderboards.feature +0 -6
- package/tests/bdd/features/factions/getFactionWarfareStats.feature +0 -6
- package/tests/bdd/features/factions/getFactionWarfareSystems.feature +0 -6
- package/tests/bdd/features/factions/getFactionWarfareWars.feature +0 -6
- package/tests/bdd/features/fleets/getFleetMembers.feature +0 -0
- package/tests/bdd/features/fleets/getFleetSquads.feature +0 -0
- package/tests/bdd/features/fleets/getFleetWings.feature +0 -0
- package/tests/bdd/features/fleets/getFleets.feature +0 -0
- package/tests/bdd/features/incursions/getIncursions.feature +0 -0
- package/tests/bdd/features/industry/getIndustryCorporationJobs.feature +0 -0
- package/tests/bdd/features/industry/getIndustryFacilities.feature +0 -0
- package/tests/bdd/features/industry/getIndustryJobs.feature +0 -0
- package/tests/bdd/features/industry/getIndustrySystems.feature +0 -0
- package/tests/bdd/features/insurance/getInsurancePrices.feature +0 -0
- package/tests/bdd/features/killmails/getKillmailById.feature +0 -0
- package/tests/bdd/features/killmails/getKillmails.feature +0 -0
- package/tests/bdd/features/killmails/getRecentCharacterKillmails.feature +0 -0
- package/tests/bdd/features/killmails/getRecentCorporationKillmails.feature +0 -0
- package/tests/bdd/features/location/getLocation.feature +0 -0
- package/tests/bdd/features/markets/getMarketGroupById.feature +0 -0
- package/tests/bdd/features/markets/getMarketGroups.feature +0 -0
- package/tests/bdd/features/markets/getMarketHistory.feature +0 -0
- package/tests/bdd/features/markets/getMarketOrders.feature +0 -0
- package/tests/bdd/features/markets/getMarketPrices.feature +0 -0
- package/tests/bdd/features/markets/getMarketRegionHistory.feature +0 -0
- package/tests/bdd/features/markets/getMarketRegionOrders.feature +0 -0
- package/tests/bdd/features/opportunities/getOpportunitiesGroups.feature +0 -0
- package/tests/bdd/features/opportunities/getOpportunitiesTasks.feature +0 -0
- package/tests/bdd/features/search/postSearch.feature +0 -0
- package/tests/bdd/features/sovereignty/getSovereigntyCampaigns.feature +0 -0
- package/tests/bdd/features/sovereignty/getSovereigntyMap.feature +0 -0
- package/tests/bdd/features/sovereignty/getSovereigntyStructures.feature +0 -0
- package/tests/bdd/features/ui/postUiAutopilotWaypoint.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowContract.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowInformation.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowMarketDetails.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowNewMail.feature +0 -0
- package/tests/bdd/features/universe/getAncestries.feature +0 -0
- package/tests/bdd/features/universe/getAsteroidBelt.feature +0 -0
- package/tests/bdd/features/universe/getBloodlines.feature +0 -0
- package/tests/bdd/features/universe/getCategories.feature +0 -0
- package/tests/bdd/features/universe/getCategoryById.feature +0 -0
- package/tests/bdd/features/universe/getConstellationById.feature +0 -0
- package/tests/bdd/features/universe/getConstellations.feature +0 -0
- package/tests/bdd/features/universe/getFactions.feature +0 -0
- package/tests/bdd/features/universe/getGraphicById.feature +0 -0
- package/tests/bdd/features/universe/getGraphics.feature +0 -0
- package/tests/bdd/features/universe/getGroupById.feature +0 -0
- package/tests/bdd/features/universe/getGroups.feature +0 -0
- package/tests/bdd/features/universe/getMoonById.feature +0 -0
- package/tests/bdd/features/universe/getMoons.feature +0 -0
- package/tests/bdd/features/universe/getPlanetById.feature +0 -0
- package/tests/bdd/features/universe/getPlanets.feature +0 -0
- package/tests/bdd/features/universe/getRaces.feature +0 -0
- package/tests/bdd/features/universe/getRegionById.feature +0 -0
- package/tests/bdd/features/universe/getRegions.feature +0 -0
- package/tests/bdd/features/universe/getStarById.feature +0 -0
- package/tests/bdd/features/universe/getStargateById.feature +0 -0
- package/tests/bdd/features/universe/getStargates.feature +0 -0
- package/tests/bdd/features/universe/getStars.feature +0 -0
- package/tests/bdd/features/universe/getStationById.feature +0 -0
- package/tests/bdd/features/universe/getStations.feature +0 -0
- package/tests/bdd/features/universe/getStructures.feature +0 -0
- package/tests/bdd/features/universe/getSystemById.feature +0 -0
- package/tests/bdd/features/universe/getSystemJumps.feature +0 -0
- package/tests/bdd/features/universe/getSystemKills.feature +0 -0
- package/tests/bdd/features/universe/getSystems.feature +0 -0
- package/tests/bdd/features/universe/getTypeById.feature +0 -0
- package/tests/bdd/features/universe/getTypes.feature +0 -0
- package/tests/bdd/features/universe/getWarById.feature +0 -0
- package/tests/bdd/features/universe/getWars.feature +0 -0
- package/tests/bdd/features/universe/postBulkIdsToNames.feature +0 -0
- package/tests/bdd/features/universe/postBulkNamesToIds.feature +0 -0
- package/tests/bdd/features/universe/postUniverseNames.feature +0 -0
- package/tests/bdd/features/wars/getWarById.feature +0 -0
- package/tests/bdd/features/wars/getWars.feature +0 -0
- package/tests/bdd/steps/alliances/getAllianceById.ts +0 -17
- package/tests/bdd/steps/alliances/getAllianceContactLabels.ts +0 -0
- package/tests/bdd/steps/alliances/getAllianceContacts.ts +0 -0
- package/tests/bdd/steps/alliances/getAllianceCorporations.ts +0 -18
- package/tests/bdd/steps/alliances/getAllianceIcons.ts +0 -21
- package/tests/bdd/steps/alliances/getAlliances.ts +0 -0
- package/tests/bdd/steps/characters/getCharacter.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAffiliation.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAgentsResearch.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAssetLocations.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAssetNames.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAssets.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAttributes.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterBlueprints.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterBookmarkFolders.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterBookmarks.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterCalendarEventById.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterCalendarEvents.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterClones.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterContractBids.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterContractItems.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterContracts.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterCorporationHistory.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFatigue.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFittings.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFleet.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFwStats.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterImplants.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterIndustryJobs.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterKillmails.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterLocation.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterLoyaltyPoints.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMail.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMailById.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMailLabels.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMailLists.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMedals.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMining.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterNotifications.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterNotificationsContacts.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterOpportunities.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterOrderHistory.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterOrders.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterPlanets.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterPortrait.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterRoles.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterSearch.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterShip.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterSkillQueue.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterSkills.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterStandings.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterStats.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterTitles.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterWallet.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterWalletJournal.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterWalletTransactions.ts +0 -0
- package/tests/bdd/steps/contracts/getContractBids.ts +0 -0
- package/tests/bdd/steps/contracts/getContractById.ts +0 -0
- package/tests/bdd/steps/contracts/getContractItems.ts +0 -0
- package/tests/bdd/steps/contracts/getContracts.ts +0 -0
- package/tests/bdd/steps/contracts/getPublicContractBids.ts +0 -0
- package/tests/bdd/steps/contracts/getPublicContractItems.ts +0 -0
- package/tests/bdd/steps/contracts/getPublicContracts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporation.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationAlliances.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationBlueprints.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationBookmarkFolders.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationBookmarks.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContactLabels.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContacts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContainerLogs.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContractBids.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContractItems.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContracts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationDivisions.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationFacilities.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationFwStats.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationIcons.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationIndustryJobs.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationKillmails.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMedals.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMemberLimit.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMemberTracking.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMembers.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMining.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationNotifications.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationOrderHistory.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationOrders.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationOutposts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationRoles.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationShareholders.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationStandings.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationStarbases.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationStructures.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationTitles.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationWalletJournal.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationWalletTransactions.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationWallets.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaAttributeById.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaAttributes.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaDynamicItemAttributes.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaEffectById.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaEffects.ts +0 -0
- package/tests/bdd/steps/factions/getFactionWarfareLeaderboards.ts +0 -33
- package/tests/bdd/steps/factions/getFactionWarfareStats.ts +0 -34
- package/tests/bdd/steps/factions/getFactionWarfareSystems.ts +0 -33
- package/tests/bdd/steps/factions/getFactionWarfareWars.ts +0 -33
- package/tests/bdd/steps/fleets/getFleetMembers.ts +0 -0
- package/tests/bdd/steps/fleets/getFleetSquads.ts +0 -0
- package/tests/bdd/steps/fleets/getFleetWings.ts +0 -0
- package/tests/bdd/steps/fleets/getFleets.ts +0 -0
- package/tests/bdd/steps/incursions/getIncursions.ts +0 -0
- package/tests/bdd/steps/industry/getIndustryCorporationJobs.ts +0 -0
- package/tests/bdd/steps/industry/getIndustryFacilities.ts +0 -0
- package/tests/bdd/steps/industry/getIndustryJobs.ts +0 -0
- package/tests/bdd/steps/industry/getIndustrySystems.ts +0 -0
- package/tests/bdd/steps/insurance/getInsurancePrices.ts +0 -0
- package/tests/bdd/steps/killmails/getKillmailById.ts +0 -0
- package/tests/bdd/steps/killmails/getKillmails.ts +0 -0
- package/tests/bdd/steps/killmails/getRecentCharacterKillmails.ts +0 -0
- package/tests/bdd/steps/killmails/getRecentCorporationKillmails.ts +0 -0
- package/tests/bdd/steps/location/getLocation.ts +0 -0
- package/tests/bdd/steps/markets/getMarketGroupById.ts +0 -0
- package/tests/bdd/steps/markets/getMarketGroups.ts +0 -0
- package/tests/bdd/steps/markets/getMarketHistory.ts +0 -0
- package/tests/bdd/steps/markets/getMarketOrders.ts +0 -0
- package/tests/bdd/steps/markets/getMarketPrices.ts +0 -0
- package/tests/bdd/steps/markets/getMarketRegionHistory.ts +0 -0
- package/tests/bdd/steps/markets/getMarketRegionOrders.ts +0 -0
- package/tests/bdd/steps/opportunities/getOpportunitiesGroups.ts +0 -0
- package/tests/bdd/steps/opportunities/getOpportunitiesTasks.ts +0 -0
- package/tests/bdd/steps/search/postSearch.ts +0 -0
- package/tests/bdd/steps/sovereignty/getSovereigntyCampaigns.ts +0 -0
- package/tests/bdd/steps/sovereignty/getSovereigntyMap.ts +0 -0
- package/tests/bdd/steps/sovereignty/getSovereigntyStructures.ts +0 -0
- package/tests/bdd/steps/ui/postUiAutopilotWaypoint.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowContract.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowInformation.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowMarketDetails.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowNewMail.ts +0 -0
- package/tests/bdd/steps/universe/getAncestries.ts +0 -0
- package/tests/bdd/steps/universe/getAsteroidBelt.ts +0 -0
- package/tests/bdd/steps/universe/getBloodlines.ts +0 -0
- package/tests/bdd/steps/universe/getCategories.ts +0 -0
- package/tests/bdd/steps/universe/getCategoryById.ts +0 -0
- package/tests/bdd/steps/universe/getConstellationById.ts +0 -0
- package/tests/bdd/steps/universe/getConstellations.ts +0 -0
- package/tests/bdd/steps/universe/getFactions.ts +0 -0
- package/tests/bdd/steps/universe/getGraphicById.ts +0 -0
- package/tests/bdd/steps/universe/getGraphics.ts +0 -0
- package/tests/bdd/steps/universe/getGroupById.ts +0 -0
- package/tests/bdd/steps/universe/getGroups.ts +0 -0
- package/tests/bdd/steps/universe/getMoonById.ts +0 -0
- package/tests/bdd/steps/universe/getMoons.ts +0 -0
- package/tests/bdd/steps/universe/getPlanetById.ts +0 -0
- package/tests/bdd/steps/universe/getPlanets.ts +0 -0
- package/tests/bdd/steps/universe/getRaces.ts +0 -0
- package/tests/bdd/steps/universe/getRegionById.ts +0 -0
- package/tests/bdd/steps/universe/getRegions.ts +0 -0
- package/tests/bdd/steps/universe/getStarById.ts +0 -0
- package/tests/bdd/steps/universe/getStargateById.ts +0 -0
- package/tests/bdd/steps/universe/getStargates.ts +0 -0
- package/tests/bdd/steps/universe/getStars.ts +0 -0
- package/tests/bdd/steps/universe/getStationById.ts +0 -0
- package/tests/bdd/steps/universe/getStations.ts +0 -0
- package/tests/bdd/steps/universe/getStructures.ts +0 -0
- package/tests/bdd/steps/universe/getSystemById.ts +0 -0
- package/tests/bdd/steps/universe/getSystemJumps.ts +0 -0
- package/tests/bdd/steps/universe/getSystemKills.ts +0 -0
- package/tests/bdd/steps/universe/getSystems.ts +0 -0
- package/tests/bdd/steps/universe/getTypeById.ts +0 -0
- package/tests/bdd/steps/universe/getTypes.ts +0 -0
- package/tests/bdd/steps/universe/getWarById.ts +0 -0
- package/tests/bdd/steps/universe/getWars.ts +0 -0
- package/tests/bdd/steps/universe/postBulkIdsToNames.ts +0 -0
- package/tests/bdd/steps/universe/postBulkNamesToIds.ts +0 -0
- package/tests/bdd/steps/universe/postUniverseNames.ts +0 -0
- package/tests/bdd/steps/wars/getWarById.ts +0 -0
- package/tests/bdd/steps/wars/getWars.ts +0 -0
- package/tests/tdd/alliances/AllianceAPIBuilder.test.ts +0 -24
- package/tests/tdd/alliances/AllianceClient.test.ts +0 -27
- package/tests/tdd/alliances/getAllianceByID.test.ts +0 -61
- package/tests/tdd/alliances/getAllianceContactLabels.test.ts +0 -43
- package/tests/tdd/alliances/getAllianceContacts.test.ts +0 -60
- package/tests/tdd/alliances/getAllianceCorporations.test.ts +0 -39
- package/tests/tdd/alliances/getAllianceIcons.test.ts +0 -39
- package/tests/tdd/alliances/getAlliances.test.ts +0 -38
- package/tests/tdd/assets/AssetsBuilder.test.ts +0 -20
- package/tests/tdd/assets/AssetsClient.test.ts +0 -192
- package/tests/tdd/assets/getCharacterAssetsApi.test.ts +0 -33
- package/tests/tdd/assets/getCorporationAssetsApi.test.ts +0 -55
- package/tests/tdd/assets/postCharacterAssetsLocationApi.test.ts +0 -50
- package/tests/tdd/assets/postCharacterAssetsNamesApi.test.ts +0 -43
- package/tests/tdd/assets/postCorporationAssetLocationsApi.test.ts +0 -48
- package/tests/tdd/assets/postCorporationAssetNamesApi.test.ts +0 -43
- package/tests/tdd/bookmarks/BookmarkApiBuilder.test.ts +0 -21
- package/tests/tdd/bookmarks/BookmarkClient.test.ts +0 -68
- package/tests/tdd/bookmarks/getCharacterBookmarkFolders.test.ts +0 -37
- package/tests/tdd/bookmarks/getCharacterBookmarks.test.ts +0 -42
- package/tests/tdd/bookmarks/getCorporationBookmarkFolders.test.ts +0 -42
- package/tests/tdd/bookmarks/getCorporationBookmarks.test.ts +0 -62
- package/tests/tdd/calendar/CalendarApiBuilder.test.ts +0 -24
- package/tests/tdd/calendar/CalendarClient.test.ts +0 -100
- package/tests/tdd/calendar/getCalendarEventById.test.ts +0 -29
- package/tests/tdd/calendar/getCalendarEvents.test.ts +0 -29
- package/tests/tdd/calendar/getEventAttendees.test.ts +0 -29
- package/tests/tdd/calendar/respondToCalendarEvent.test.ts +0 -29
- package/tests/tdd/characters/CharacterBuilder.test.ts +0 -20
- package/tests/tdd/characters/CharacterClient.test.ts +0 -153
- package/tests/tdd/characters/getAgentsResearch.test.ts +0 -42
- package/tests/tdd/characters/getBlueprints.test.ts +0 -42
- package/tests/tdd/characters/getCharacterPublicInfo.test.ts +0 -37
- package/tests/tdd/characters/getCharacterRoles.test.ts +0 -34
- package/tests/tdd/characters/getCharacterStandings.test.ts +0 -45
- package/tests/tdd/characters/getCharacterTitles.test.ts +0 -40
- package/tests/tdd/characters/getContactNotifications.test.ts +0 -42
- package/tests/tdd/characters/getCorporationHistory.test.ts +0 -42
- package/tests/tdd/characters/getJumpFatigue.test.ts +0 -37
- package/tests/tdd/characters/getMedals.test.ts +0 -42
- package/tests/tdd/characters/getNotifications.test.ts +0 -42
- package/tests/tdd/characters/getPortrait.test.ts +0 -35
- package/tests/tdd/characters/postCSPAChargeCost.test.ts +0 -39
- package/tests/tdd/characters/postCharacterAffiliation.test.ts +0 -48
- package/tests/tdd/clones/ClonesApiBuilder.test.ts +0 -19
- package/tests/tdd/clones/ClonesClient.test.ts +0 -61
- package/tests/tdd/clones/getClonesApi.test.ts +0 -48
- package/tests/tdd/clones/getImplantsApi.test.ts +0 -35
- package/tests/tdd/contacts/ContactsApiBuilder.test.ts +0 -21
- package/tests/tdd/contacts/ContactsClient.test.ts +0 -66
- package/tests/tdd/contacts/deleteCharacterContacts.test.ts +0 -23
- package/tests/tdd/contacts/getAllianceContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getAllianceContacts.test.ts +0 -37
- package/tests/tdd/contacts/getCharacterContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getCharacterContacts.test.ts +0 -37
- package/tests/tdd/contacts/getCorporationContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getCorporationContacts.test.ts +0 -37
- package/tests/tdd/contacts/postCharacterContacts.test.ts +0 -30
- package/tests/tdd/contacts/putCharacterContacts.test.ts +0 -30
- package/tests/tdd/contracts/ContractsApiBuilder.ts +0 -20
- package/tests/tdd/contracts/ContractsClient.ts +0 -247
- package/tests/tdd/contracts/getCharacterContractBids.test.ts +0 -49
- package/tests/tdd/contracts/getCharacterContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getCharacterContracts.test.ts +0 -57
- package/tests/tdd/contracts/getCorporationContractBids.test.ts +0 -48
- package/tests/tdd/contracts/getCorporationContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getCorporationContracts.test.ts +0 -56
- package/tests/tdd/contracts/getPublicContractBids.test.ts +0 -47
- package/tests/tdd/contracts/getPublicContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getPublicContracts.test.ts +0 -58
- package/tests/tdd/corporations/CorporationsApiBuilder.test.ts +0 -20
- package/tests/tdd/corporations/CorporationsClient.test.ts +0 -230
- package/tests/tdd/corporations/getCorporationAllianceHistory.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationAlscLogs.test.ts +0 -57
- package/tests/tdd/corporations/getCorporationBlueprints.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationDivisions.test.ts +0 -64
- package/tests/tdd/corporations/getCorporationFacilities.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationIcon.test.ts +0 -40
- package/tests/tdd/corporations/getCorporationInfo.test.ts +0 -40
- package/tests/tdd/corporations/getCorporationIssuedMedals.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationMedals.test.ts +0 -51
- package/tests/tdd/corporations/getCorporationMemberLimit.test.ts +0 -32
- package/tests/tdd/corporations/getCorporationMemberRoles.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationMemberRolesHistory.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationMemberTracking.test.ts +0 -48
- package/tests/tdd/corporations/getCorporationMembers.test.ts +0 -34
- package/tests/tdd/corporations/getCorporationMembersTitles.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationShareholders.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationStandings.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationStarbaseDetail.test.ts +0 -49
- package/tests/tdd/corporations/getCorporationStarbases.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationStructures.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationTitles.test.ts +0 -66
- package/tests/tdd/corporations/getNpcCorporations.test.ts +0 -34
- package/tests/tdd/dogma/DogmaAPIBuilder.test.ts +0 -13
- package/tests/tdd/dogma/DogmanClient.test.ts +0 -54
- package/tests/tdd/dogma/getDogmaAttributeById.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaAttributes.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaDynamicItemAttributes.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaEffectById.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaEffects.test.ts +0 -22
- package/tests/tdd/factions/FactionApiBuilder.test.ts +0 -17
- package/tests/tdd/factions/FactionClient.test.ts +0 -281
- package/tests/tdd/factions/getCharacterFactionWarfareStats.test.ts +0 -72
- package/tests/tdd/factions/getCharacterLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getCorporationFactionWarfareStats.test.ts +0 -72
- package/tests/tdd/factions/getCorporationLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getFactionLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getFactionWarfareStats.test.ts +0 -77
- package/tests/tdd/factions/getFactionWarfareSystems.test.ts +0 -59
- package/tests/tdd/factions/getFactionWarfareWars.test.ts +0 -43
- package/tests/tdd/fittings/FittingsBuilder.test.ts +0 -22
- package/tests/tdd/fittings/FittingsClient.test.ts +0 -93
- package/tests/tdd/fittings/deleteCharacterFitting.test.ts +0 -22
- package/tests/tdd/fittings/getCharacterFittings.test.ts +0 -57
- package/tests/tdd/fittings/postCharacterFittings.test.ts +0 -47
- package/tests/tdd/fleets/FleetApiBuilder.test.ts +0 -20
- package/tests/tdd/fleets/FleetClient.test.ts +0 -212
- package/tests/tdd/fleets/deleteFleetMember.test.ts +0 -31
- package/tests/tdd/fleets/deleteFleetSquad.test.ts +0 -24
- package/tests/tdd/fleets/deleteFleetWing.test.ts +0 -24
- package/tests/tdd/fleets/getCharacterFleetInfo.test.ts +0 -39
- package/tests/tdd/fleets/getFleetInfo.test.ts +0 -42
- package/tests/tdd/fleets/getFleetMembers.test.ts +0 -45
- package/tests/tdd/fleets/getFleetWings.test.ts +0 -35
- package/tests/tdd/fleets/postFleetInvitation.test.ts +0 -29
- package/tests/tdd/fleets/postFleetSquad.test.ts +0 -22
- package/tests/tdd/fleets/postFleetWing.test.ts +0 -31
- package/tests/tdd/fleets/putFleetMember.test.ts +0 -36
- package/tests/tdd/fleets/putFleetSquad.test.ts +0 -28
- package/tests/tdd/fleets/putFleetWing.test.ts +0 -22
- package/tests/tdd/fleets/updateFleet.test.ts +0 -39
- package/tests/tdd/incursions/IncursionsApiBuilder.test.ts +0 -20
- package/tests/tdd/incursions/IncursionsClient.test.ts +0 -63
- package/tests/tdd/incursions/getIncursions.test.ts +0 -41
- package/tests/tdd/industry/IndustryBuilder.test.ts +0 -20
- package/tests/tdd/industry/IndustryClient.test.ts +0 -354
- package/tests/tdd/industry/getCharacterIndustryJobs.test.ts +0 -80
- package/tests/tdd/industry/getCharacterMiningLedger.test.ts +0 -41
- package/tests/tdd/industry/getCorporationIndustryJobs.test.ts +0 -92
- package/tests/tdd/industry/getCorporationMiningObserver.test.ts +0 -44
- package/tests/tdd/industry/getCorporationMiningObservers.test.ts +0 -38
- package/tests/tdd/industry/getIndustryFacilities.test.ts +0 -47
- package/tests/tdd/industry/getIndustrySystems.test.ts +0 -46
- package/tests/tdd/industry/getMoonExtractionTimers.test.ts +0 -44
- package/tests/tdd/insurance/InsuranceApiBuilder.test.ts +0 -21
- package/tests/tdd/insurance/InsuranceClient.test.ts +0 -50
- package/tests/tdd/insurance/getInsurancePrices.test.ts +0 -51
- package/tests/tdd/killmails/KillmailApiBuilder.test.ts +0 -20
- package/tests/tdd/killmails/KillmailClient.test.ts +0 -110
- package/tests/tdd/killmails/getCharacterRecentKillmails.test.ts +0 -52
- package/tests/tdd/killmails/getCorporationRecentKillmails.test.ts +0 -52
- package/tests/tdd/killmails/getKillmail.test.ts +0 -47
- package/tests/tdd/location/LocationApiBuilder.test.ts +0 -20
- package/tests/tdd/location/LocationClient.test.ts +0 -82
- package/tests/tdd/location/getCharacterLocation.test.ts +0 -41
- package/tests/tdd/location/getCharacterOnline.test.ts +0 -44
- package/tests/tdd/location/getCharacterShip.test.ts +0 -41
- package/tests/tdd/loyalty/LoyaltyApiBuilder.test.ts +0 -20
- package/tests/tdd/loyalty/LoyaltyClient.test.ts +0 -73
- package/tests/tdd/loyalty/getLoyaltyPoints.test.ts +0 -35
- package/tests/tdd/loyalty/getLoyaltyStoreOffers.test.ts +0 -44
- package/tests/tdd/mail/MailApiBuilder.test.ts +0 -20
- package/tests/tdd/mail/MailClient.test.ts +0 -189
- package/tests/tdd/mail/deleteCharacterMail.test.ts +0 -22
- package/tests/tdd/mail/getCharacterMail.test.ts +0 -46
- package/tests/tdd/mail/getCharacterMailHeaders.ts +0 -51
- package/tests/tdd/mail/getCharacterMailLabels.test.ts +0 -44
- package/tests/tdd/mail/postCharacterMail.test.ts +0 -40
- package/tests/tdd/mail/postCharacterMailLabels.test.ts +0 -31
- package/tests/tdd/mail/putCharacterMail.test.ts +0 -27
- package/tests/tdd/market/MarketApiBuilder.test.ts +0 -20
- package/tests/tdd/market/MarketClient.test.ts +0 -398
- package/tests/tdd/market/getCharacterOrderHistory.test.ts +0 -61
- package/tests/tdd/market/getCharacterOrders.test.test.ts +0 -61
- package/tests/tdd/market/getCorporationOrderHistory.test.ts +0 -61
- package/tests/tdd/market/getCorporationOrders.test.ts +0 -61
- package/tests/tdd/market/getMarketGroupInformation.test.ts +0 -43
- package/tests/tdd/market/getMarketGroups.test.ts +0 -48
- package/tests/tdd/market/getMarketHistory.test.ts +0 -49
- package/tests/tdd/market/getMarketOrders.test.ts +0 -59
- package/tests/tdd/market/getMarketOrdersInStructure.test.ts +0 -67
- package/tests/tdd/market/getMarketPrices.test.ts +0 -51
- package/tests/tdd/market/getMarketTypes.test.ts +0 -35
- package/tests/tdd/opportunities/OpportunitiesAPIBuillder.test.ts +0 -25
- package/tests/tdd/opportunities/OpportunitiesClient.test.ts +0 -109
- package/tests/tdd/opportunities/getCharacterOpportunities.test.ts +0 -38
- package/tests/tdd/opportunities/getOpportunitiesGroupById.test.ts +0 -42
- package/tests/tdd/opportunities/getOpportunitiesGroups.test.ts +0 -40
- package/tests/tdd/opportunities/getOpportunitiesTaskById.test.ts +0 -37
- package/tests/tdd/opportunities/getOpportunitiesTasks.test.ts +0 -40
- package/tests/tdd/pi/PiApiBuilder.test.ts +0 -20
- package/tests/tdd/pi/PiClient.test.ts +0 -155
- package/tests/tdd/pi/getColonies.test.ts +0 -47
- package/tests/tdd/pi/getColonyLayout.test.ts +0 -45
- package/tests/tdd/pi/getCorporationCustomsOffices.test.ts +0 -63
- package/tests/tdd/pi/getSchematicInformation.test.ts +0 -36
- package/tests/tdd/route/RouteApiBuilder.ts +0 -20
- package/tests/tdd/route/RouteClient.test.ts +0 -38
- package/tests/tdd/route/getRoute.test.ts +0 -37
- package/tests/tdd/search/characterSearch.test.ts +0 -50
- package/tests/tdd/search/searchApiBuilder.test.ts +0 -17
- package/tests/tdd/search/searchClient.test.ts +0 -40
- package/tests/tdd/skills/SkillsApiBuilder.test.ts +0 -20
- package/tests/tdd/skills/SkillsClient.test.ts +0 -112
- package/tests/tdd/skills/getCharacterAttributes.test.ts +0 -39
- package/tests/tdd/skills/getCharacterSkillQueue.test.ts +0 -48
- package/tests/tdd/skills/getCharacterSkills.test.ts +0 -46
- package/tests/tdd/sovereignty/SovereigntyApiBuilder.test.ts +0 -18
- package/tests/tdd/sovereignty/SovereigntyClient.test.ts +0 -84
- package/tests/tdd/sovereignty/getSovereigntyCampaigns.test.ts +0 -41
- package/tests/tdd/sovereignty/getSovereigntyMap.test.ts +0 -37
- package/tests/tdd/sovereignty/getSovereigntyStructures.test.ts +0 -41
- package/tests/tdd/status/StatusAPIBuilder.test.ts +0 -20
- package/tests/tdd/status/StatusClient.test.ts +0 -38
- package/tests/tdd/status/getStatus.test.ts +0 -45
- package/tests/tdd/ui/UiApiBuilder.test.ts +0 -20
- package/tests/tdd/ui/UiClient.test.ts +0 -81
- package/tests/tdd/ui/postAutopilotWaypoint.test.ts +0 -36
- package/tests/tdd/ui/postOpenContractWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenInformationWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenMarketDetailsWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenNewMailWindow.test.ts +0 -36
- package/tests/tdd/universe/UniverseApiBuilder.test.ts +0 -60
- package/tests/tdd/universe/UniverseClient.test.ts +0 -215
- package/tests/tdd/universe/getAncestries.test.ts +0 -34
- package/tests/tdd/universe/getAsteroidBeltInfo.test.ts +0 -29
- package/tests/tdd/universe/getBloodlines.test.ts +0 -34
- package/tests/tdd/universe/getConstellationById.test.ts +0 -37
- package/tests/tdd/universe/getConstellations.test.ts +0 -34
- package/tests/tdd/universe/getFactions.test.ts +0 -34
- package/tests/tdd/universe/getGraphicById.test.ts +0 -45
- package/tests/tdd/universe/getGraphics.test.ts +0 -34
- package/tests/tdd/universe/getGroupById.test.ts +0 -45
- package/tests/tdd/universe/getItemCategories.test.ts +0 -34
- package/tests/tdd/universe/getItemCategoryById.test.ts +0 -37
- package/tests/tdd/universe/getItemGroups.test.ts +0 -50
- package/tests/tdd/universe/getMoonById.test.ts +0 -59
- package/tests/tdd/universe/getPlanetById.test.ts +0 -63
- package/tests/tdd/universe/getRaces.test.ts +0 -50
- package/tests/tdd/universe/getRegionById.test.ts +0 -53
- package/tests/tdd/universe/getStarById.test.ts +0 -53
- package/tests/tdd/universe/getStargateById.test.ts +0 -63
- package/tests/tdd/universe/getStationById.test.ts +0 -53
- package/tests/tdd/universe/getStructureById.test.ts +0 -71
- package/tests/tdd/universe/getStructures.test.ts +0 -33
- package/tests/tdd/universe/getSystemById.test.ts +0 -49
- package/tests/tdd/universe/getSystemJumps.test.ts +0 -46
- package/tests/tdd/universe/getSystemKills.test.ts +0 -46
- package/tests/tdd/universe/getSystems.test.ts +0 -33
- package/tests/tdd/universe/getTypeById.test.ts +0 -53
- package/tests/tdd/universe/getTypes.test.ts +0 -33
- package/tests/tdd/universe/postBulkNamesToIds.test.ts +0 -47
- package/tests/tdd/universe/postNamesAndCatagories.test.ts +0 -47
- package/tests/tdd/wallet/WalletApiBuilder.test.ts +0 -20
- package/tests/tdd/wallet/WalletClient.test.ts +0 -187
- package/tests/tdd/wallet/getCharacterWallet.test.ts +0 -35
- package/tests/tdd/wallet/getCharacterWalletJournal.test.ts +0 -53
- package/tests/tdd/wallet/getCharacterWalletTransactions.test.ts +0 -57
- package/tests/tdd/wallet/getCorporationWalletJournal.test.ts +0 -53
- package/tests/tdd/wallet/getCorporationWalletTransactions.test.ts +0 -57
- package/tests/tdd/wallet/getCorporationWallets.test.ts +0 -43
- package/tests/tdd/wars/WarsAPIBuilder.test.ts +0 -23
- package/tests/tdd/wars/WarsClient.test.ts +0 -93
- package/tests/tdd/wars/getWarById.test.ts +0 -31
- package/tests/tdd/wars/getWarKillmails.test.ts +0 -33
- package/tests/tdd/wars/getWars.test.ts +0 -33
- package/tsconfig.json +0 -15
- package/types/global.d.ts +0 -17
- package/types/jest.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,127 +1,557 @@
|
|
|
1
1
|
# ESI.ts
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
3
|
+
[](https://badge.fury.io/js/%40lgriffin%2Fesi.ts)
|
|
4
|
+
[](https://www.gnu.org/licenses/gpl-3.0)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://github.com/lgriffin/ESI.ts/actions/workflows/ci.yml)
|
|
7
|
+
[](https://github.com/lgriffin/ESI.ts/actions/workflows/pr-validation.yml)
|
|
8
|
+
|
|
9
|
+
A type-safe TypeScript client for the [EVE Online ESI API](https://esi.evetech.net/).
|
|
10
|
+
|
|
11
|
+
- Typed responses for all endpoints
|
|
12
|
+
- ETag caching with Cache-Control TTL, stale-on-error, and write invalidation
|
|
13
|
+
- Automatic offset-based pagination and cursor-based pagination support
|
|
14
|
+
- Rate limiting with header-driven backoff
|
|
15
|
+
- Automatic token refresh with 401 retry and concurrent coalescing
|
|
16
|
+
- 32 domain clients covering the full ESI surface
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @lgriffin/esi.ts
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Building from Source
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
git clone https://github.com/lgriffin/ESI.ts.git
|
|
28
|
+
cd ESI.ts
|
|
29
|
+
npm install # installs dependencies and compiles (via the prepare script)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
If you've already installed and just need to recompile:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm run build
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Verify everything works:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm run example:status # quick smoke test — checks ESI is reachable
|
|
42
|
+
npm test # run the full test suite
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Quick Start
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { EsiClient } from '@lgriffin/esi.ts';
|
|
49
|
+
|
|
50
|
+
const client = new EsiClient();
|
|
51
|
+
|
|
52
|
+
// Public data — no auth required
|
|
53
|
+
const alliances = await client.alliance.getAlliances();
|
|
54
|
+
const character = await client.characters.getCharacterPublicInfo(1689391488);
|
|
55
|
+
const system = await client.universe.getSystemById(30000142);
|
|
56
|
+
const prices = await client.market.getMarketPrices();
|
|
57
|
+
|
|
58
|
+
// Authenticated data — token read from ESI_ACCESS_TOKEN env var
|
|
59
|
+
const authedClient = new EsiClient();
|
|
60
|
+
const assets = await authedClient.assets.getCharacterAssets(characterId);
|
|
61
|
+
const wallet = await authedClient.wallet.getCharacterWallet(characterId);
|
|
62
|
+
|
|
63
|
+
// Clean up when done
|
|
64
|
+
await client.shutdown();
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Configuration
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
const client = new EsiClient({
|
|
71
|
+
clientId: 'my-app', // User-Agent identifier (default: 'esi-client')
|
|
72
|
+
accessToken: 'your-token', // EVE SSO token for authenticated endpoints
|
|
73
|
+
baseUrl: 'https://esi.evetech.net', // ESI base URL (default)
|
|
74
|
+
onTokenRefresh: async () => newToken, // Auto-refresh on 401 (optional)
|
|
75
|
+
timeout: 30000, // Request timeout in ms (default: 30000)
|
|
76
|
+
retryAttempts: 3, // Retry count (default: 3)
|
|
77
|
+
enableETagCache: true, // ETag caching (default: true)
|
|
78
|
+
etagCacheConfig: {
|
|
79
|
+
maxEntries: 1000, // Max cached responses (default: 1000)
|
|
80
|
+
defaultTtl: 300000, // Fallback TTL in ms (default: 5 min)
|
|
81
|
+
cleanupInterval: 60000, // Expired entry cleanup interval (default: 1 min)
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
The access token can be updated at runtime:
|
|
87
|
+
|
|
88
|
+
```typescript
|
|
89
|
+
client.setAccessToken('new-token');
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Authentication
|
|
93
|
+
|
|
94
|
+
Many ESI endpoints require an EVE SSO access token. There are three ways to provide one:
|
|
95
|
+
|
|
96
|
+
### 1. Environment variable (recommended)
|
|
97
|
+
|
|
98
|
+
Set `ESI_ACCESS_TOKEN` in your environment or a `.env` file. The client reads it automatically — no token in source code.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
# Copy the example and fill in your token
|
|
102
|
+
cp .env.example .env
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
```env
|
|
106
|
+
ESI_ACCESS_TOKEN=your-eve-sso-access-token
|
|
107
|
+
ESI_CLIENT_ID=my-app-name
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
If you use a `.env` loader like [dotenv](https://www.npmjs.com/package/dotenv), load it before creating the client:
|
|
111
|
+
|
|
112
|
+
```typescript
|
|
113
|
+
import 'dotenv/config';
|
|
114
|
+
import { EsiClient } from '@lgriffin/esi.ts';
|
|
115
|
+
|
|
116
|
+
const client = new EsiClient();
|
|
117
|
+
// Token is picked up from process.env.ESI_ACCESS_TOKEN
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### 2. Constructor parameter
|
|
121
|
+
|
|
122
|
+
Pass the token directly (useful for apps that manage tokens themselves):
|
|
123
|
+
|
|
124
|
+
```typescript
|
|
125
|
+
const client = new EsiClient({ accessToken: token });
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### 3. Runtime update
|
|
129
|
+
|
|
130
|
+
Set or refresh the token after construction:
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
client.setAccessToken(newToken);
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Getting an EVE SSO token
|
|
137
|
+
|
|
138
|
+
1. Register an application at [EVE Developers](https://developers.eveonline.com/)
|
|
139
|
+
2. Set a callback URL and select the ESI scopes your app needs
|
|
140
|
+
3. Implement the [OAuth2 flow](https://docs.esi.evetech.net/docs/sso/) to obtain an access token
|
|
141
|
+
4. Access tokens expire — use the refresh token to get new ones
|
|
142
|
+
|
|
143
|
+
### Automatic Token Refresh
|
|
144
|
+
|
|
145
|
+
EVE SSO access tokens expire after 20 minutes. Instead of manually tracking expiry, you can provide a refresh callback — the client will automatically call it on 401, update the token, and retry the request:
|
|
146
|
+
|
|
147
|
+
```typescript
|
|
148
|
+
const client = new EsiClient({
|
|
149
|
+
accessToken: initialToken,
|
|
150
|
+
onTokenRefresh: async () => {
|
|
151
|
+
const response = await fetch('https://login.eveonline.com/v2/oauth/token', {
|
|
152
|
+
method: 'POST',
|
|
153
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
154
|
+
body: new URLSearchParams({
|
|
155
|
+
grant_type: 'refresh_token',
|
|
156
|
+
refresh_token: myRefreshToken,
|
|
157
|
+
client_id: myClientId,
|
|
158
|
+
}),
|
|
159
|
+
});
|
|
160
|
+
const { access_token } = await response.json();
|
|
161
|
+
return access_token;
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
// Requests now auto-refresh on 401 — no manual token management needed
|
|
166
|
+
const location = await client.location.getCharacterLocation(characterId);
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
The token provider can also be set or changed at runtime:
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
client.setTokenProvider(myRefreshFunction);
|
|
173
|
+
client.setTokenProvider(undefined); // disable auto-refresh
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Key behaviors:
|
|
177
|
+
|
|
178
|
+
- Only retries **once** per request — if the refreshed token also gets a 401, the error is thrown
|
|
179
|
+
- **Concurrent coalescing** — if multiple requests hit 401 simultaneously, only one refresh call is made
|
|
180
|
+
- If the refresh callback throws (e.g., refresh token revoked), a `TOKEN_REFRESH_FAILED` error is raised
|
|
181
|
+
- Without a token provider, 401 errors throw immediately as before
|
|
182
|
+
|
|
183
|
+
### Environment variables reference
|
|
184
|
+
|
|
185
|
+
| Variable | Description | Default |
|
|
186
|
+
| ------------------ | -------------------------------------------- | ------------------------- |
|
|
187
|
+
| `ESI_ACCESS_TOKEN` | EVE SSO access token | none |
|
|
188
|
+
| `ESI_CLIENT_ID` | User-Agent identifier | `esi-client` |
|
|
189
|
+
| `ESI_BASE_URL` | ESI API base URL | `https://esi.evetech.net` |
|
|
190
|
+
| `ESI_LOG_LEVEL` | Log level (`error`, `warn`, `info`, `debug`) | `warn` |
|
|
191
|
+
|
|
192
|
+
## Available APIs
|
|
193
|
+
|
|
194
|
+
All clients are accessed as properties on the `EsiClient` instance. Authenticated endpoints require an access token.
|
|
195
|
+
|
|
196
|
+
| Client | Property | Auth | Examples |
|
|
197
|
+
| -------------- | ---------------------- | ---- | -------------------------------------------------------- |
|
|
198
|
+
| Alliance | `client.alliance` | Some | `getAlliances()`, `getAllianceById(id)` |
|
|
199
|
+
| Assets | `client.assets` | Yes | `getCharacterAssets(id)` |
|
|
200
|
+
| Calendar | `client.calendar` | Yes | `getCharacterCalendar(id)` |
|
|
201
|
+
| Characters | `client.characters` | Some | `getCharacterPublicInfo(id)`, `getCharacterPortrait(id)` |
|
|
202
|
+
| Clones | `client.clones` | Yes | `getCharacterClones(id)` |
|
|
203
|
+
| Contacts | `client.contacts` | Yes | `getCharacterContacts(id)` |
|
|
204
|
+
| Contracts | `client.contracts` | Yes | `getCharacterContracts(id)` |
|
|
205
|
+
| Corporations | `client.corporations` | Some | `getCorporationInfo(id)`, `getCorporationMembers(id)` |
|
|
206
|
+
| Dogma | `client.dogma` | No | `getDogmaAttributes()`, `getDogmaEffects()` |
|
|
207
|
+
| Factions | `client.factions` | Some | `getFactionWarStats()` |
|
|
208
|
+
| Fittings | `client.fittings` | Yes | `getFittings(id)`, `createFitting(id, body)` |
|
|
209
|
+
| Fleets | `client.fleets` | Yes | `getFleet(id)`, `getFleetMembers(id)` |
|
|
210
|
+
| Incursions | `client.incursions` | No | `getIncursions()` |
|
|
211
|
+
| Industry | `client.industry` | Some | `getCharacterIndustryJobs(id)` |
|
|
212
|
+
| Insurance | `client.insurance` | No | `getInsurancePrices()` |
|
|
213
|
+
| Killmails | `client.killmails` | Some | `getKillmail(id, hash)` |
|
|
214
|
+
| Location | `client.location` | Yes | `getCharacterLocation(id)` |
|
|
215
|
+
| Loyalty | `client.loyalty` | Yes | `getCharacterLoyaltyPoints(id)` |
|
|
216
|
+
| Mail | `client.mail` | Yes | `getCharacterMail(id)` |
|
|
217
|
+
| Market | `client.market` | Some | `getMarketPrices()`, `getMarketOrders(regionId)` |
|
|
218
|
+
| PI | `client.pi` | Yes | `getCharacterPlanets(id)` |
|
|
219
|
+
| Route | `client.route` | No | `getRoute(origin, destination)` |
|
|
220
|
+
| Search | `client.search` | Some | `search(characterId, query)` |
|
|
221
|
+
| Skills | `client.skills` | Yes | `getCharacterSkills(id)` |
|
|
222
|
+
| Sovereignty | `client.sovereignty` | No | `getSovereigntyMap()` |
|
|
223
|
+
| Status | `client.status` | No | `getStatus()` |
|
|
224
|
+
| UI | `client.ui` | Yes | `setWaypoint(id)` |
|
|
225
|
+
| Universe | `client.universe` | Some | `getSystemById(id)`, `getTypeById(id)` |
|
|
226
|
+
| Wallet | `client.wallet` | Yes | `getCharacterWallet(id)` |
|
|
227
|
+
| Wars | `client.wars` | No | `getWars()`, `getWarById(id)` |
|
|
228
|
+
| Freelance Jobs | `client.freelanceJobs` | Some | `getFreelanceJobs()`, `getFreelanceJobById(id)` |
|
|
229
|
+
| Meta | `client.meta` | No | `getOpenApiJson()`, `getOpenApiYaml()` |
|
|
230
|
+
|
|
231
|
+
## Caching
|
|
232
|
+
|
|
233
|
+
ETag caching is enabled by default. The client automatically:
|
|
234
|
+
|
|
235
|
+
1. Stores ETag and response data on GET requests
|
|
236
|
+
2. Sends `If-None-Match` on subsequent requests
|
|
237
|
+
3. Returns cached data on `304 Not Modified`
|
|
238
|
+
4. Parses `Cache-Control: max-age` from ESI for per-endpoint TTL
|
|
239
|
+
5. Serves stale cached data when ESI returns 5xx errors
|
|
240
|
+
6. Invalidates related GET caches when POST/PUT/DELETE requests are made
|
|
241
|
+
|
|
242
|
+
```typescript
|
|
243
|
+
// Cache stats
|
|
244
|
+
const stats = client.getCacheStats();
|
|
245
|
+
console.log(`${stats.totalEntries}/${stats.maxEntries} entries cached`);
|
|
246
|
+
|
|
247
|
+
// Manual cache operations
|
|
248
|
+
client.clearCache();
|
|
249
|
+
client.updateCacheConfig({ maxEntries: 2000 });
|
|
250
|
+
|
|
251
|
+
// Disable caching entirely
|
|
252
|
+
const uncachedClient = new EsiClient({ enableETagCache: false });
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Cursor-based Pagination
|
|
256
|
+
|
|
257
|
+
Newer ESI routes (Freelance Jobs, and future routes) use cursor-based pagination with opaque `before`/`after` tokens in the response body. See the [ESI blog post](https://developers.eveonline.com/blog/changing-pagination-turning-a-new-page) for background.
|
|
258
|
+
|
|
259
|
+
```typescript
|
|
260
|
+
import { EsiClient, fetchAllCursorPages } from '@lgriffin/esi.ts';
|
|
261
|
+
|
|
262
|
+
const client = new EsiClient();
|
|
263
|
+
|
|
264
|
+
// Fetch first page — returns { cursor: { before, after }, freelance_jobs: [...] }
|
|
265
|
+
const page = await client.freelanceJobs.getFreelanceJobs();
|
|
266
|
+
console.log(page.freelance_jobs); // job records
|
|
267
|
+
console.log(page.cursor.after); // opaque token for next page
|
|
268
|
+
|
|
269
|
+
// Fetch next page using the cursor
|
|
270
|
+
const nextPage = await client.freelanceJobs.getFreelanceJobs(
|
|
271
|
+
undefined,
|
|
272
|
+
page.cursor.after,
|
|
273
|
+
);
|
|
274
|
+
|
|
275
|
+
// Auto-fetch all pages in one call
|
|
276
|
+
const allJobs = await fetchAllCursorPages(
|
|
277
|
+
(before, after) => client.freelanceJobs.getFreelanceJobs(before, after),
|
|
278
|
+
(response) => response.freelance_jobs,
|
|
279
|
+
(response) => response.cursor,
|
|
280
|
+
);
|
|
281
|
+
|
|
282
|
+
// Authenticated endpoints — character/corporation freelance jobs
|
|
283
|
+
const authedClient = new EsiClient({ accessToken: 'your-token' });
|
|
284
|
+
const myJobs =
|
|
285
|
+
await authedClient.freelanceJobs.getCharacterFreelanceJobs(characterId);
|
|
286
|
+
const corpJobs =
|
|
287
|
+
await authedClient.freelanceJobs.getCorporationFreelanceJobs(corporationId);
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
**Polling for changes** — cursor tokens persist across sessions, so you can save the last `after` token and poll later to get only records that changed:
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
// After initial scan, save the final cursor
|
|
294
|
+
let savedCursor = lastPage.cursor.after;
|
|
295
|
+
|
|
296
|
+
// Later: check for updates (hours, days, or weeks later)
|
|
297
|
+
const updates = await client.freelanceJobs.getFreelanceJobs(
|
|
298
|
+
undefined,
|
|
299
|
+
savedCursor,
|
|
300
|
+
);
|
|
301
|
+
if (updates.freelance_jobs.length > 0) {
|
|
302
|
+
// Process changed records — duplicates are expected for modified records
|
|
303
|
+
savedCursor = updates.cursor.after;
|
|
304
|
+
}
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
Key points:
|
|
308
|
+
|
|
309
|
+
- Cursor tokens are **opaque strings** — never parse or validate them
|
|
310
|
+
- An **empty result array** signals the end of the dataset (not a short page)
|
|
311
|
+
- **Duplicates across pages** are expected when records are modified between requests
|
|
312
|
+
- Existing offset-based routes (`getMarketOrders`, etc.) are unchanged
|
|
313
|
+
|
|
314
|
+
## Error Handling
|
|
315
|
+
|
|
316
|
+
API errors throw `EsiError` with `statusCode`, `message`, and `url` properties:
|
|
317
|
+
|
|
318
|
+
```typescript
|
|
319
|
+
import { EsiError } from '@lgriffin/esi.ts';
|
|
320
|
+
|
|
321
|
+
try {
|
|
322
|
+
const alliance = await client.alliance.getAllianceById(99999999);
|
|
323
|
+
console.log('Alliance:', alliance.name);
|
|
324
|
+
} catch (err) {
|
|
325
|
+
if (err instanceof EsiError) {
|
|
326
|
+
console.log(`ESI error ${err.statusCode}: ${err.message}`);
|
|
327
|
+
// e.g. "ESI error 404: Resource not found"
|
|
328
|
+
} else {
|
|
329
|
+
console.error('Network or parse error:', err);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
- **204 No Content** — returns `undefined` (valid for DELETE/POST actions)
|
|
335
|
+
- **304 Not Modified** — handled internally, returns cached data
|
|
336
|
+
- **4xx/5xx** — throws `EsiError`
|
|
337
|
+
- **5xx with cache** — returns stale cached data instead of throwing
|
|
338
|
+
|
|
339
|
+
## Lightweight Clients
|
|
340
|
+
|
|
341
|
+
If you only need a subset of APIs, use `CustomEsiClient` or `EsiClientBuilder` to load only what you need:
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
import { EsiClientBuilder } from '@lgriffin/esi.ts';
|
|
345
|
+
|
|
346
|
+
const client = new EsiClientBuilder()
|
|
347
|
+
.addClients(['market', 'universe', 'characters'])
|
|
348
|
+
.withClientId('my-trading-bot')
|
|
349
|
+
.withAccessToken('your-token')
|
|
350
|
+
.build();
|
|
351
|
+
|
|
352
|
+
const prices = await client.market?.getMarketPrices();
|
|
353
|
+
const system = await client.universe?.getSystemById(30000142);
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
Or create standalone single-API clients:
|
|
357
|
+
|
|
358
|
+
```typescript
|
|
359
|
+
import { EsiApiFactory } from '@lgriffin/esi.ts';
|
|
360
|
+
|
|
361
|
+
const marketClient = EsiApiFactory.createMarketClient({
|
|
362
|
+
clientId: 'price-checker',
|
|
363
|
+
});
|
|
364
|
+
const prices = await marketClient.getMarketPrices();
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
## Examples
|
|
368
|
+
|
|
369
|
+
Runnable examples are in the `examples/` directory.
|
|
370
|
+
|
|
371
|
+
### Public Endpoints (no auth needed)
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
npm run example:status # Server status — quickest smoke test
|
|
375
|
+
npm run example:character # Character public info, portrait, corporation
|
|
376
|
+
npm run example:universe # Solar system, constellation, region, station
|
|
377
|
+
npm run example:market # Average prices + Tritanium price history
|
|
378
|
+
npm run example:alliance # Alliance info + member corporations
|
|
379
|
+
npm run example:route # Jita-to-Amarr route with system names
|
|
380
|
+
npm run example:wars # Recent wars with aggressor/defender details
|
|
381
|
+
npm run example:sovereignty # Nullsec sovereignty map + active campaigns
|
|
382
|
+
npm run example:industry # Industry facilities, cost indices, insurance
|
|
383
|
+
npm run example:incursions # Active incursions + faction warfare stats
|
|
384
|
+
npm run example:dogma # Item type details + dogma attributes
|
|
385
|
+
npm run example:contracts # Public region contracts + auction bids/items
|
|
386
|
+
npm run example:rate-limiting # Rate limiter & pagination demonstration
|
|
387
|
+
npm run example:cursor-pagination # Freelance Jobs with cursor pagination
|
|
388
|
+
npm run example:token-refresh # Automatic token refresh on 401
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
### Authenticated Endpoints (require ESI_ACCESS_TOKEN)
|
|
392
|
+
|
|
393
|
+
These examples require an EVE SSO token with the listed scopes. Set `ESI_ACCESS_TOKEN` in your environment or `.env` file.
|
|
394
|
+
|
|
395
|
+
```bash
|
|
396
|
+
npm run example # Full character profile assembly
|
|
397
|
+
npm run example:wallet # Wallet balance, journal, transactions (esi-wallet.read_character_wallet.v1)
|
|
398
|
+
npm run example:skills # Trained skills, queue, attributes (esi-skills.read_skills.v1, esi-skills.read_skillqueue.v1)
|
|
399
|
+
npm run example:assets # Asset inventory with bulk name lookup (esi-assets.read_assets.v1)
|
|
400
|
+
npm run example:killmails # Recent killmails + full details (esi-killmails.read_killmails.v1)
|
|
401
|
+
npm run example:fleet # Fleet info, members, wing/squad structure (esi-fleets.read_fleet.v1)
|
|
402
|
+
npm run example:mail # Inbox headers, labels, mailing lists (esi-mail.read_mail.v1)
|
|
403
|
+
npm run example:location # Current system, online status, ship (esi-location.read_location.v1)
|
|
404
|
+
npm run example:fittings # Saved fittings + clone state + implants (esi-fittings.read_fittings.v1, esi-clones.read_clones.v1)
|
|
405
|
+
npm run example:contacts # Contact list with standings + labels (esi-characters.read_contacts.v1)
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
### Parallel Requests
|
|
409
|
+
|
|
410
|
+
```typescript
|
|
411
|
+
const [character, portrait, corp] = await Promise.all([
|
|
412
|
+
client.characters.getCharacterPublicInfo(characterId),
|
|
413
|
+
client.characters.getCharacterPortrait(characterId),
|
|
414
|
+
client.corporations.getCorporationInfo(corporationId),
|
|
415
|
+
]);
|
|
416
|
+
|
|
417
|
+
console.log(`${character.name} [${corp.ticker}]`);
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
### Market Analysis
|
|
421
|
+
|
|
422
|
+
```typescript
|
|
423
|
+
const [orders, history] = await Promise.all([
|
|
424
|
+
client.market.getMarketOrders(regionId),
|
|
425
|
+
client.market.getMarketHistory(regionId, typeId),
|
|
426
|
+
]);
|
|
427
|
+
|
|
428
|
+
const buyOrders = orders.filter((o) => o.is_buy_order);
|
|
429
|
+
const sellOrders = orders.filter((o) => !o.is_buy_order);
|
|
430
|
+
|
|
431
|
+
console.log(`Best buy: ${Math.max(...buyOrders.map((o) => o.price))}`);
|
|
432
|
+
console.log(`Best sell: ${Math.min(...sellOrders.map((o) => o.price))}`);
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
## Resource Management
|
|
436
|
+
|
|
437
|
+
Always call `shutdown()` when you're done to clean up cache timers:
|
|
438
|
+
|
|
439
|
+
```typescript
|
|
440
|
+
const client = new EsiClient();
|
|
441
|
+
try {
|
|
442
|
+
const status = await client.status.getStatus();
|
|
443
|
+
console.log(status.server_version);
|
|
444
|
+
} finally {
|
|
445
|
+
await client.shutdown();
|
|
446
|
+
}
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
## Development
|
|
450
|
+
|
|
451
|
+
### Prerequisites
|
|
452
|
+
|
|
453
|
+
- Node.js 18+
|
|
454
|
+
- npm
|
|
455
|
+
|
|
456
|
+
### Code Quality Tools
|
|
457
|
+
|
|
458
|
+
The project uses a comprehensive suite of static analysis and code quality tools:
|
|
459
|
+
|
|
460
|
+
| Tool | Purpose | Command |
|
|
461
|
+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------- | ------------------------------ |
|
|
462
|
+
| [ESLint](https://eslint.org/) | Linting with TypeScript, security, and code smell rules | `npm run lint` |
|
|
463
|
+
| [Prettier](https://prettier.io/) | Code formatting | `npm run format:check` |
|
|
464
|
+
| [knip](https://knip.dev/) | Dead code and unused export detection | `npm run knip` |
|
|
465
|
+
| [eslint-plugin-security](https://github.com/eslint-community/eslint-plugin-security) | Security anti-pattern detection | Integrated into `npm run lint` |
|
|
466
|
+
| [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) | Cognitive complexity and code smell detection | Integrated into `npm run lint` |
|
|
467
|
+
| [husky](https://typicode.github.io/husky/) | Git pre-commit hooks | Automatic on commit |
|
|
468
|
+
| [lint-staged](https://github.com/lint-staged/lint-staged) | Run linters on staged files only | Automatic on commit |
|
|
469
|
+
|
|
470
|
+
### Available Scripts
|
|
471
|
+
|
|
472
|
+
```bash
|
|
473
|
+
# Development
|
|
474
|
+
npm run build # Compile TypeScript
|
|
475
|
+
npm run lint # Run ESLint
|
|
476
|
+
npm run lint:fix # Run ESLint with auto-fix
|
|
477
|
+
npm run format # Format code with Prettier
|
|
478
|
+
npm run format:check # Check formatting without modifying
|
|
479
|
+
|
|
480
|
+
# Testing
|
|
481
|
+
npm test # Unit tests
|
|
482
|
+
npm run test:all # Unit + improved + BDD tests
|
|
483
|
+
npm run coverage # Tests with coverage report (thresholds enforced)
|
|
484
|
+
npm run bdd # BDD scenario tests
|
|
485
|
+
|
|
486
|
+
# Static Analysis
|
|
487
|
+
npm run knip # Detect dead code and unused exports
|
|
488
|
+
npm run validate:esi # Validate endpoints against live ESI swagger spec
|
|
489
|
+
npm run validate # Run all checks: lint, format, build, coverage, knip
|
|
490
|
+
|
|
491
|
+
# Documentation
|
|
492
|
+
npm run docs # Generate TypeDoc API documentation
|
|
493
|
+
npm run docs:serve # Serve docs locally on port 8080
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
### ESI Endpoint Validation
|
|
497
|
+
|
|
498
|
+
To verify that the codebase endpoint definitions match the live ESI swagger spec:
|
|
499
|
+
|
|
500
|
+
```bash
|
|
501
|
+
npm run validate:esi
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
This fetches `https://esi.evetech.net/latest/swagger.json` and reports:
|
|
505
|
+
|
|
506
|
+
- Endpoints in the codebase that are no longer in the ESI spec
|
|
507
|
+
- Endpoints in the ESI spec that the codebase doesn't cover
|
|
508
|
+
- HTTP method mismatches between codebase and spec
|
|
509
|
+
|
|
510
|
+
### Pre-commit Hooks
|
|
511
|
+
|
|
512
|
+
The project uses husky with lint-staged to run ESLint and Prettier on staged files before each commit. This is set up automatically when you run `npm install`.
|
|
513
|
+
|
|
514
|
+
### CI/CD
|
|
515
|
+
|
|
516
|
+
Every pull request runs the full validation suite:
|
|
517
|
+
|
|
518
|
+
- ESLint (with security and sonarjs plugins)
|
|
519
|
+
- Prettier formatting check
|
|
520
|
+
- TypeScript compilation
|
|
521
|
+
- Unit tests across Node.js 18, 20, and 22
|
|
522
|
+
- BDD scenario tests
|
|
523
|
+
- Coverage threshold enforcement (branches: 50%, functions: 50%, lines: 65%, statements: 65%)
|
|
524
|
+
- Dead code detection via knip
|
|
525
|
+
- npm security audit
|
|
526
|
+
|
|
527
|
+
See [.github/workflows/README.md](.github/workflows/README.md) for full workflow details.
|
|
528
|
+
|
|
529
|
+
## Testing
|
|
530
|
+
|
|
531
|
+
```bash
|
|
532
|
+
npm test # Unit + integration tests (73 suites, 577 tests)
|
|
533
|
+
npm run coverage # Tests with coverage report (thresholds enforced)
|
|
534
|
+
npm run bdd # BDD scenario tests only
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
To verify against the live ESI API:
|
|
538
|
+
|
|
539
|
+
```bash
|
|
540
|
+
npm run example:status # Confirms ESI connectivity and server status
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
## Contributing
|
|
544
|
+
|
|
545
|
+
1. Fork the repository
|
|
546
|
+
2. Create a feature branch
|
|
547
|
+
3. Write tests for your changes
|
|
548
|
+
4. Run `npm run validate` to check everything passes
|
|
549
|
+
5. Open a Pull Request
|
|
550
|
+
|
|
551
|
+
## License
|
|
552
|
+
|
|
553
|
+
GPL-3.0-or-later - see the [LICENSE](LICENSE) file for details.
|
|
554
|
+
|
|
555
|
+
---
|
|
556
|
+
|
|
557
|
+
**o7**
|