@lgriffin/esi.ts 2.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/README.md +381 -760
- 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 +107 -21
- package/.github/workflows/ci.yml +0 -16
- package/.prettierrc +0 -6
- package/DOCUMENTATION.md +0 -106
- package/TESTING.md +0 -523
- package/demo/examples.ts +0 -250
- package/demo/flexible-examples.ts +0 -166
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -106
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1493
- package/docs/classes/src_EsiClient.EsiClient.html +0 -48
- package/docs/classes/src_EsiClientBuilder.CustomEsiClient.html +0 -43
- package/docs/classes/src_EsiClientBuilder.EsiApiFactory.html +0 -23
- package/docs/classes/src_EsiClientBuilder.EsiClientBuilder.html +0 -15
- package/docs/classes/src_api_alliances_getAllianceById.AllianceByIdApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceContactLabels.AllianceContactLabelsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceContacts.AllianceContactsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceCorporations.AllianceCorporationsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceIcons.AllianceIconsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAlliances.AllAlliancesApi.html +0 -3
- package/docs/classes/src_api_assets_getCharacterAssets.GetCharacterAssetsApi.html +0 -3
- package/docs/classes/src_api_assets_getCorporationAssets.GetCorporationAssetsApi.html +0 -3
- package/docs/classes/src_api_assets_postCharacterAssetLocations.PostCharacterAssetLocationsApi.html +0 -3
- package/docs/classes/src_api_assets_postCharacterAssetNames.PostCharacterAssetNamesApi.html +0 -3
- package/docs/classes/src_api_assets_postCorporationAssetLocations.PostCorporationAssetLocationsApi.html +0 -3
- package/docs/classes/src_api_assets_postCorporationAssetNames.PostCorporationAssetNamesApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCharacterBookmarkFolders.CharacterBookmarkFoldersApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCharacterBookmarks.CharacterBookmarksApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCorporationBookmarkFolders.CorporationBookmarkFoldersApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCorporationBookmarks.CorporationBookmarksApi.html +0 -3
- package/docs/classes/src_api_calendar_getCalendarEventById.GetCalendarEventByIdApi.html +0 -3
- package/docs/classes/src_api_calendar_getCalendarEvents.GetCalendarEventsApi.html +0 -3
- package/docs/classes/src_api_calendar_getEventAttendees.GetEventAttendeesApi.html +0 -3
- package/docs/classes/src_api_calendar_respondToCalendarEvent.RespondToCalendarEventApi.html +0 -3
- package/docs/classes/src_api_characters_getAgentsResearch.GetAgentsResearchApi.html +0 -3
- package/docs/classes/src_api_characters_getBlueprints.GetBlueprintsApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterPublicInfo.GetCharacterPublicInfoApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterRoles.GetCharacterRolesApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterStandings.GetCharacterStandingsApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterTitles.GetCharacterTitlesApi.html +0 -3
- package/docs/classes/src_api_characters_getContactNotifications.GetContactNotificationsApi.html +0 -3
- package/docs/classes/src_api_characters_getCorporationHistory.GetCorporationHistoryApi.html +0 -3
- package/docs/classes/src_api_characters_getJumpFatigue.GetJumpFatigueApi.html +0 -3
- package/docs/classes/src_api_characters_getMedals.GetMedalsApi.html +0 -3
- package/docs/classes/src_api_characters_getNotifications.GetNotificationsApi.html +0 -3
- package/docs/classes/src_api_characters_getPortrait.GetPortraitApi.html +0 -3
- package/docs/classes/src_api_characters_postCSPAChargeCost.PostCspaChargeCostApi.html +0 -3
- package/docs/classes/src_api_characters_postCharacterAffiliations.PostCharacterAffiliationApi.html +0 -3
- package/docs/classes/src_api_clones_getClones.GetClonesApi.html +0 -3
- package/docs/classes/src_api_clones_getImplants.GetImplantsApi.html +0 -3
- package/docs/classes/src_api_clones_postJumpCloneActivation.PostJumpCloneActivationApi.html +0 -3
- package/docs/classes/src_api_contacts_deleteCharacterContacts.deleteCharacterContacts.html +0 -3
- package/docs/classes/src_api_contacts_getAllianceContactLabels.getAllianceContactLabels.html +0 -3
- package/docs/classes/src_api_contacts_getAllianceContacts.getAllianceContacts.html +0 -3
- package/docs/classes/src_api_contacts_getCharacterContactLabels.getCharacterContactLabels.html +0 -3
- package/docs/classes/src_api_contacts_getCharacterContacts.getCharacterContacts.html +0 -3
- package/docs/classes/src_api_contacts_getCorporationContactLabels.getCorporationContactLabels.html +0 -3
- package/docs/classes/src_api_contacts_getCorporationContacts.getCorporationContacts.html +0 -3
- package/docs/classes/src_api_contacts_postCharacterContacts.postCharacterContacts.html +0 -3
- package/docs/classes/src_api_contacts_putCharacterContacts.putCharacterContacts.html +0 -3
- package/docs/classes/src_api_contracts_getCharacterContractBids.GetCharacterContractBidsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCharacterContractItems.GetCharacterContractItemsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCharacterContracts.GetCharacterContractsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCorporationContractBids.GetCorporationContractBidsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCorporationContractItems.GetCorporationContractItemsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCorporationContracts.GetCorporationContractsApi.html +0 -3
- package/docs/classes/src_api_contracts_getPublicContractBids.GetPublicContractBidsApi.html +0 -3
- package/docs/classes/src_api_contracts_getPublicContractItems.GetPublicContractItemsApi.html +0 -3
- package/docs/classes/src_api_contracts_getPublicContracts.GetPublicContractsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationAllianceHistory.GetCorporationAllianceHistoryApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationAlscLogs.GetCorporationAlscLogsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationBlueprints.GetCorporationBlueprintsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationDivisions.GetCorporationDivisionsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationFacilities.GetCorporationFacilitiesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationIcon.GetCorporationIconApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationInfo.GetCorporationInfoApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationIssuedMedals.GetCorporationIssuedMedalsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMedals.GetCorporationMedalsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberLimit.GetCorporationMemberLimitApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberRoles.GetCorporationMemberRolesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberRolesHistory.GetCorporationMemberRolesHistoryApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberTracking.GetCorporationMemberTrackingApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMembers.GetCorporationMembersApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMembersTitles.GetCorporationMembersTitlesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationProjects.GetCorporationProjectsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationShareholders.GetCorporationShareholdersApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStandings.GetCorporationStandingsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStarbaseDetail.GetCorporationStarbaseDetailApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStarbases.GetCorporationStarbasesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStructures.GetCorporationStructuresApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationTitles.GetCorporationTitlesApi.html +0 -3
- package/docs/classes/src_api_corporations_getNpcCorporations.GetNpcCorporationsApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaAttributeById.DogmaAttributeByIdApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaAttributes.DogmaAttributesApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaDynamicItemAttributes.DogmaDynamicItemApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaEffectById.DogmaEffectByIdApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaEffects.DogmaEffectsApi.html +0 -3
- package/docs/classes/src_api_factions_getCharacterFactionWarfareStats.GetCharacterFactionWarfareStatsApi.html +0 -3
- package/docs/classes/src_api_factions_getCharacterLeaderboards.GetCharacterLeaderboardsApi.html +0 -3
- package/docs/classes/src_api_factions_getCorporationFactionWarfareStats.GetCorporationFactionWarfareStatsApi.html +0 -3
- package/docs/classes/src_api_factions_getCorporationLeaderboards.GetCorporationLeaderboardsApi.html +0 -3
- package/docs/classes/src_api_factions_getFactionLeaderboards.GetFactionLeaderboardsApi.html +0 -3
- package/docs/classes/src_api_factions_getFactionWarfareStats.getFactionWarfareStats.html +0 -3
- package/docs/classes/src_api_factions_getFactionWarfareSystems.FactionWarfareSystemsApi.html +0 -3
- package/docs/classes/src_api_factions_getFactionWarfareWars.FactionWarfareWarsApi.html +0 -3
- package/docs/classes/src_api_fittings_deleteCharacterFitting.DeleteCharacterFittingApi.html +0 -3
- package/docs/classes/src_api_fittings_getCharacterFittings.GetCharacterFittingsApi.html +0 -3
- package/docs/classes/src_api_fittings_postCharacterFittings.PostCharacterFittingApi.html +0 -3
- package/docs/classes/src_api_fleets_deleteFleetMember.DeleteFleetMemberApi.html +0 -3
- package/docs/classes/src_api_fleets_deleteFleetSquad.DeleteFleetSquadApi.html +0 -3
- package/docs/classes/src_api_fleets_deleteFleetWing.DeleteFleetWingApi.html +0 -3
- package/docs/classes/src_api_fleets_getCharacterFleetInfo.GetCharacterFleetInfoApi.html +0 -3
- package/docs/classes/src_api_fleets_getFleetInfo.GetFleetInfoApi.html +0 -3
- package/docs/classes/src_api_fleets_getFleetMembers.GetFleetMembersApi.html +0 -3
- package/docs/classes/src_api_fleets_getFleetWings.GetFleetWingsApi.html +0 -3
- package/docs/classes/src_api_fleets_postFleetInvitation.PostFleetInvitationApi.html +0 -3
- package/docs/classes/src_api_fleets_postFleetSquad.PostFleetSquadApi.html +0 -3
- package/docs/classes/src_api_fleets_postFleetWing.PostFleetWingApi.html +0 -3
- package/docs/classes/src_api_fleets_putFleetMember.PutFleetMemberApi.html +0 -3
- package/docs/classes/src_api_fleets_putFleetSquad.PutFleetSquadApi.html +0 -3
- package/docs/classes/src_api_fleets_putFleetWing.PutFleetWingApi.html +0 -3
- package/docs/classes/src_api_fleets_updateFleet.UpdateFleetApi.html +0 -3
- package/docs/classes/src_api_incursions_getIncursions.IncursionsApi.html +0 -3
- package/docs/classes/src_api_industry_getCharacterIndustryJobs.GetCharacterIndustryJobsApi.html +0 -3
- package/docs/classes/src_api_industry_getCharacterMiningLedger.GetCharacterMiningLedgerApi.html +0 -3
- package/docs/classes/src_api_industry_getCorporationIndustryJobs.GetCorporationIndustryJobsApi.html +0 -3
- package/docs/classes/src_api_industry_getCorporationMiningObserver.GetCorporationMiningObserverApi.html +0 -3
- package/docs/classes/src_api_industry_getCorporationMiningObservers.GetCorporationMiningObserversApi.html +0 -3
- package/docs/classes/src_api_industry_getIndustryFacilities.GetIndustryFacilitiesApi.html +0 -3
- package/docs/classes/src_api_industry_getIndustrySystems.GetIndustrySystemsApi.html +0 -3
- package/docs/classes/src_api_industry_getMoonExtractionTimers.GetMoonExtractionTimersApi.html +0 -3
- package/docs/classes/src_api_insurance_getInsurancePrices.InsuranceApi.html +0 -3
- package/docs/classes/src_api_killmails_getCharacterRecentKillmails.GetCharacterRecentKillmailsApi.html +0 -3
- package/docs/classes/src_api_killmails_getCorporationRecentKillmails.GetCorporationRecentKillmailsApi.html +0 -3
- package/docs/classes/src_api_killmails_getKillmail.GetKillmailApi.html +0 -3
- package/docs/classes/src_api_location_getCharacterLocation.GetCharacterLocationApi.html +0 -3
- package/docs/classes/src_api_location_getCharacterOnline.GetCharacterOnlineApi.html +0 -3
- package/docs/classes/src_api_location_getCharacterShip.GetCharacterShipApi.html +0 -3
- package/docs/classes/src_api_loyalty_getLoyaltyPoints.GetLoyaltyPointsApi.html +0 -3
- package/docs/classes/src_api_loyalty_getLoyaltyStoreOffers.GetLoyaltyStoreOffersApi.html +0 -3
- package/docs/classes/src_api_mail_deleteCharacterMail.DeleteCharacterMailApi.html +0 -3
- package/docs/classes/src_api_mail_deleteCharacterMailLabel.DeleteCharacterMailLabelApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMail.GetCharacterMailApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMailHeaders.GetCharacterMailHeadersApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMailLabels.GetCharacterMailLabelsApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMailingLists.GetCharacterMailingListsApi.html +0 -3
- package/docs/classes/src_api_mail_postCharacterMail.PostCharacterMailApi.html +0 -3
- package/docs/classes/src_api_mail_postCharacterMailLabels.PostCharacterMailLabelsApi.html +0 -3
- package/docs/classes/src_api_mail_putCharacterMail.PutCharacterMailApi.html +0 -3
- package/docs/classes/src_api_market_getCharacterOrderHistory.getCharacterOrderHistory.html +0 -3
- package/docs/classes/src_api_market_getCharacterOrders.getCharacterOrders.html +0 -3
- package/docs/classes/src_api_market_getCorporationOrderHistory.getCorporationOrderHistory.html +0 -3
- package/docs/classes/src_api_market_getCorporationOrders.getCorporationOrders.html +0 -3
- package/docs/classes/src_api_market_getMarketGroupInformation.getMarketGroupInformation.html +0 -3
- package/docs/classes/src_api_market_getMarketGroups.getMarketGroups.html +0 -3
- package/docs/classes/src_api_market_getMarketHistory.getMarketHistory.html +0 -3
- package/docs/classes/src_api_market_getMarketOrders.getMarketOrders.html +0 -3
- package/docs/classes/src_api_market_getMarketOrdersInStructure.getMarketOrdersInStructure.html +0 -3
- package/docs/classes/src_api_market_getMarketPrices.getMarketPrices.html +0 -3
- package/docs/classes/src_api_market_getMarketTypes.getMarketTypes.html +0 -3
- package/docs/classes/src_api_meta_getSwaggerJson.GetSwaggerJsonApi.html +0 -3
- package/docs/classes/src_api_meta_getSwaggerYaml.GetSwaggerYamlApi.html +0 -3
- package/docs/classes/src_api_opportunities_getCharacterOpportunities.GetCharacterOpportunitiesApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesGroupById.GetOpportunitiesGroupByIdApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesGroups.GetOpportunitiesGroupsApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesTaskById.GetOpportunitiesTaskByIdApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesTasks.GetOpportunitiesTasksApi.html +0 -3
- package/docs/classes/src_api_pi_getColonies.GetColoniesApi.html +0 -3
- package/docs/classes/src_api_pi_getColonyLayout.GetColonyLayoutApi.html +0 -3
- package/docs/classes/src_api_pi_getCorporationCustomsOffices.GetCorporationCustomsOfficesApi.html +0 -3
- package/docs/classes/src_api_pi_getSchematicInformation.GetSchematicInformationApi.html +0 -3
- package/docs/classes/src_api_route_getRoute.RouteApi.html +0 -3
- package/docs/classes/src_api_search_getCharacterSearch.CharacterSearchApi.html +0 -3
- package/docs/classes/src_api_skills_getCharacterAttributes.GetCharacterAttributesApi.html +0 -3
- package/docs/classes/src_api_skills_getCharacterSkillQueue.GetCharacterSkillQueueApi.html +0 -3
- package/docs/classes/src_api_skills_getCharacterSkills.GetCharacterSkillsApi.html +0 -3
- package/docs/classes/src_api_sovereignty_getSovereigntyCampaigns.SovereigntyCampaignsApi.html +0 -3
- package/docs/classes/src_api_sovereignty_getSovereigntyMap.SovereigntyMapApi.html +0 -3
- package/docs/classes/src_api_sovereignty_getSovereigntyStructures.SovereigntyStructuresApi.html +0 -3
- package/docs/classes/src_api_status_getStatus.GetStatusApi.html +0 -3
- package/docs/classes/src_api_ui_postAutopilotWaypoint.PostAutopilotWaypointApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenContractWindow.PostOpenContractWindowApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenInformationWindow.PostOpenInformationWindowApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenMarketDetailsWindow.PostOpenMarketDetailsWindowApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenNewMailWindow.PostOpenNewMailWindowApi.html +0 -3
- package/docs/classes/src_api_universe_getAncestries.UniverseAncestriesApi.html +0 -3
- package/docs/classes/src_api_universe_getAsteroidBeltInfo.UniverseAsteroidBeltApi.html +0 -3
- package/docs/classes/src_api_universe_getBloodlines.UniverseBloodlinesApi.html +0 -3
- package/docs/classes/src_api_universe_getConstellationById.UniverseConstellationByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getConstellations.UniverseConstellationsApi.html +0 -3
- package/docs/classes/src_api_universe_getFactions.UniverseFactionsApi.html +0 -3
- package/docs/classes/src_api_universe_getGraphicById.UniverseGraphicByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getGraphics.UniverseGraphicsApi.html +0 -3
- package/docs/classes/src_api_universe_getItemCategories.UniverseCategoriesApi.html +0 -3
- package/docs/classes/src_api_universe_getItemCategoryById.UniverseCategoryByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getItemGroupById.UniverseItemGroupByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getItemGroups.UniverseItemGroupsApi.html +0 -3
- package/docs/classes/src_api_universe_getMoonById.UniverseMoonByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getPlanetById.UniversePlanetByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getRaces.UniverseRacesApi.html +0 -3
- package/docs/classes/src_api_universe_getRegionById.UniverseRegionByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStarById.UniverseStarByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStargateById.UniverseStargateByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStationById.UniverseStationByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStructureById.UniverseStructureByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStructures.UniverseStructuresApi.html +0 -3
- package/docs/classes/src_api_universe_getSystemById.UniverseSystemByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getSystemJumps.UniverseSystemJumpsApi.html +0 -3
- package/docs/classes/src_api_universe_getSystemKills.UniverseSystemKillsApi.html +0 -3
- package/docs/classes/src_api_universe_getSystems.UniverseSystemsApi.html +0 -3
- package/docs/classes/src_api_universe_getTypeById.UniverseTypeByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getTypes.UniverseTypesApi.html +0 -3
- package/docs/classes/src_api_universe_postBulkNamesToIds.PostBulkNamesToIdsApi.html +0 -3
- package/docs/classes/src_api_universe_postNamesAndCategories.PostNamesAndCategoriesApi.html +0 -3
- package/docs/classes/src_api_wallet_getCharacterWallet.GetCharacterWalletApi.html +0 -3
- package/docs/classes/src_api_wallet_getCharacterWalletJournal.GetCharacterWalletJournalApi.html +0 -3
- package/docs/classes/src_api_wallet_getCharacterWalletTransactions.GetCharacterWalletTransactionsApi.html +0 -3
- package/docs/classes/src_api_wallet_getCorporationWalletJournal.GetCorporationWalletJournalApi.html +0 -3
- package/docs/classes/src_api_wallet_getCorporationWalletTransactions.GetCorporationWalletTransactionsApi.html +0 -3
- package/docs/classes/src_api_wallet_getCorporationWallets.GetCorporationWalletsApi.html +0 -3
- package/docs/classes/src_api_wars_getWarById.WarByIdApi.html +0 -3
- package/docs/classes/src_api_wars_getWarKillmails.WarKillmailsApi.html +0 -3
- package/docs/classes/src_api_wars_getWars.WarsApi.html +0 -3
- package/docs/classes/src_builders_AllianceApiBuilder.AllianceApiBuilder.html +0 -3
- package/docs/classes/src_builders_AssetsApiBuilder.AssetsApiBuilder.html +0 -3
- package/docs/classes/src_builders_BookmarkApiBuilder.BookmarkApiBuilder.html +0 -3
- package/docs/classes/src_builders_CalendarApiBuilder.CalendarApiBuilder.html +0 -3
- package/docs/classes/src_builders_CharacterApiBuilder.CharacterApiBuilder.html +0 -3
- package/docs/classes/src_builders_ClonesApiBuilder.ClonesApiBuilder.html +0 -3
- package/docs/classes/src_builders_ContactsApiBuilder.ContactsApiBuilder.html +0 -3
- package/docs/classes/src_builders_ContractsApiBuilder.ContractsApiBuilder.html +0 -3
- package/docs/classes/src_builders_CorporationsApiBuilder.CorporationsApiBuilder.html +0 -3
- package/docs/classes/src_builders_DogmaApiBuilder.DogmaAPIBuilder.html +0 -3
- package/docs/classes/src_builders_FactionApiBuilder.FactionAPIBuilder.html +0 -3
- package/docs/classes/src_builders_FittingsApiBuilder.FittingsApiBuilder.html +0 -3
- package/docs/classes/src_builders_FleetApiBuilder.FleetApiBuilder.html +0 -3
- package/docs/classes/src_builders_IncursionsApiBuilder.IncursionsApiBuilder.html +0 -3
- package/docs/classes/src_builders_IndustryApiBuilder.IndustryApiBuilder.html +0 -3
- package/docs/classes/src_builders_InsuranceApiBuilder.InsuranceAPIBuilder.html +0 -3
- package/docs/classes/src_builders_KillmailsBuilder.KillmailsApiBuilder.html +0 -3
- package/docs/classes/src_builders_LocationApiBuilder.LocationApiBuilder.html +0 -3
- package/docs/classes/src_builders_LoyaltyApiBuilder.LoyaltyApiBuilder.html +0 -3
- package/docs/classes/src_builders_MailApiBuilder.MailApiBuilder.html +0 -3
- package/docs/classes/src_builders_MarketApiBuilder.MarketApiBuilder.html +0 -3
- package/docs/classes/src_builders_MetaApiBuilder.MetaApiBuilder.html +0 -3
- package/docs/classes/src_builders_OpportunitiesApiBuilder.OpportunitiesApiBuilder.html +0 -3
- package/docs/classes/src_builders_PiApiBuilder.PiApiBuilder.html +0 -3
- package/docs/classes/src_builders_RouteApiBuilder.RouteApiBuilder.html +0 -3
- package/docs/classes/src_builders_SearchApiBuilder.SearchApiBuilder.html +0 -3
- package/docs/classes/src_builders_SkillsApiBuilder.SkillsApiBuilder.html +0 -3
- package/docs/classes/src_builders_SovereigntyApiBuilder.SovereigntyApiBuilder.html +0 -3
- package/docs/classes/src_builders_StatusApiBuilder.StatusAPIBuilder.html +0 -3
- package/docs/classes/src_builders_UiApiBuilder.UiApiBuilder.html +0 -3
- package/docs/classes/src_builders_UniverseApiBuilder.UniverseAPIBuilder.html +0 -3
- package/docs/classes/src_builders_WalletApiBuilder.WalletApiBuilder.html +0 -3
- package/docs/classes/src_builders_WarsAPIBuilder.WarsAPIBuilder.html +0 -3
- package/docs/classes/src_clients_AllianceClient.AllianceClient.html +0 -10
- package/docs/classes/src_clients_AssetsClient.AssetsClient.html +0 -8
- package/docs/classes/src_clients_BookmarkClient.BookmarkClient.html +0 -6
- package/docs/classes/src_clients_CalendarClient.CalendarClient.html +0 -6
- package/docs/classes/src_clients_CharacterClient.CharacterClient.html +0 -16
- package/docs/classes/src_clients_ClonesClient.ClonesClient.html +0 -5
- package/docs/classes/src_clients_ContactsClient.ContactsClient.html +0 -11
- package/docs/classes/src_clients_ContractsClient.ContractsClient.html +0 -11
- package/docs/classes/src_clients_CorporationsClient.CorporationsClient.html +0 -25
- package/docs/classes/src_clients_DogmaClient.DogmaClient.html +0 -7
- package/docs/classes/src_clients_FactionClient.FactionClient.html +0 -10
- package/docs/classes/src_clients_FittingsClient.FittingsClient.html +0 -5
- package/docs/classes/src_clients_FleetClient.FleetClient.html +0 -16
- package/docs/classes/src_clients_IncursionsClient.IncursionsClient.html +0 -3
- package/docs/classes/src_clients_IndustryClient.IndustryClient.html +0 -10
- package/docs/classes/src_clients_InsuranceClient.InsuranceClient.html +0 -3
- package/docs/classes/src_clients_KillmailsClient.KillmailsClient.html +0 -5
- package/docs/classes/src_clients_LocationClient.LocationClient.html +0 -5
- package/docs/classes/src_clients_LoyaltyClient.LoyaltyClient.html +0 -4
- package/docs/classes/src_clients_MailClient.MailClient.html +0 -11
- package/docs/classes/src_clients_MarketClient.MarketClient.html +0 -13
- package/docs/classes/src_clients_MetaClient.MetaClient.html +0 -6
- package/docs/classes/src_clients_OpportunitiesClient.OpportunitiesClient.html +0 -7
- package/docs/classes/src_clients_PiClient.PIClient.html +0 -6
- package/docs/classes/src_clients_RouteClient.RouteClient.html +0 -3
- package/docs/classes/src_clients_SearchClient.SearchClient.html +0 -3
- package/docs/classes/src_clients_SkillsClient.CharacterSkillsClient.html +0 -5
- package/docs/classes/src_clients_SovereigntyClient.SovereigntyClient.html +0 -5
- package/docs/classes/src_clients_StatusClient.StatusClient.html +0 -3
- package/docs/classes/src_clients_UiClient.UIClient.html +0 -7
- package/docs/classes/src_clients_UniverseClient.UniverseClient.html +0 -31
- package/docs/classes/src_clients_WalletClient.WalletClient.html +0 -8
- package/docs/classes/src_clients_WarsClient.WarsClient.html +0 -5
- package/docs/classes/src_core_ApiClient.ApiClient.html +0 -4
- package/docs/classes/src_core_ApiClientBuilder.ApiClientBuilder.html +0 -6
- package/docs/classes/src_core_ApiError.ApiError.html +0 -3
- package/docs/classes/src_core_cache_ETagCacheManager.ETagCacheManager.html +0 -22
- package/docs/classes/src_core_container_Container.CircularDependencyError.html +0 -2
- package/docs/classes/src_core_container_Container.Container.html +0 -20
- package/docs/classes/src_core_errors_ApiError.ApiError.html +0 -12
- package/docs/classes/src_core_errors_ApiError.ErrorHandler.html +0 -5
- package/docs/classes/src_core_factory_ApiFactory.ApiFactory.html +0 -20
- package/docs/classes/src_core_factory_ApiFactory.ApiModule.html +0 -6
- package/docs/classes/src_core_util_headersUtil.default.html +0 -11
- package/docs/classes/src_testing_TestDataFactory.TestDataFactory.html +0 -47
- package/docs/classes/src_testing_TestHelpers.MockApiClient.html +0 -3
- package/docs/classes/src_testing_TestHelpers.TestAssertions.html +0 -6
- package/docs/classes/src_testing_TestHelpers.TestDataFactory.html +0 -6
- package/docs/classes/src_testing_TestHelpers.TestScenarios.html +0 -5
- package/docs/classes/src_types_winston_loggly_bulk.Loggly.html +0 -2
- package/docs/enums/src_core_errors_ApiError.ApiErrorType.html +0 -11
- package/docs/functions/src.displayCharacterProfile.html +0 -2
- package/docs/functions/src.getCompleteCharacterProfile.html +0 -4
- package/docs/functions/src_config_configManager.getConfig.html +0 -1
- package/docs/functions/src_config_jest_jest_setup.getClient.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.getETagCache.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.handleRequest.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.handleRequestBody.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.initializeETagCache.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.resetETagCache.html +0 -1
- package/docs/functions/src_core_container_Container.Inject.html +0 -1
- package/docs/functions/src_core_container_Container.Injectable.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logDebug.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logError.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logInfo.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logWarn.html +0 -1
- package/docs/functions/src_core_util_error.buildError.html +0 -1
- package/docs/functions/src_core_util_file.checkForConfig.html +0 -1
- package/docs/functions/src_core_util_file.getSettings.html +0 -1
- package/docs/functions/src_core_util_file.log.html +0 -1
- package/docs/functions/src_core_util_inputValidation.inputValidation.html +0 -1
- package/docs/functions/src_core_util_network.request.html +0 -1
- package/docs/functions/src_core_util_request.inputValidation.html +0 -1
- package/docs/functions/src_core_util_request.request.html +0 -1
- package/docs/functions/src_core_util_testHelpers.getBody.html +0 -1
- package/docs/functions/src_core_util_testHelpers.getHeaders.html +0 -1
- package/docs/functions/src_core_util_testHelpers.mockApiCall.html +0 -1
- package/docs/functions/src_testing_TestHelpers.createMockApiClient.html +0 -1
- package/docs/functions/src_testing_TestHelpers.getBody.html +0 -1
- package/docs/functions/src_testing_TestHelpers.getHeaders.html +0 -1
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -272
- package/docs/interfaces/src_EsiClient.EsiClientConfig.html +0 -8
- package/docs/interfaces/src_core_IAPIBuilder.IAPIBuilder.html +0 -2
- package/docs/interfaces/src_core_IAPIBuilder.IApiClient.html +0 -3
- package/docs/interfaces/src_core_IAPIBuilder.IApiService.html +0 -3
- package/docs/interfaces/src_core_cache_ETagCacheManager.CacheEntry.html +0 -6
- package/docs/interfaces/src_core_cache_ETagCacheManager.ETagCacheConfig.html +0 -6
- package/docs/interfaces/src_core_container_Container.ContainerConfig.html +0 -3
- package/docs/interfaces/src_core_factory_ApiFactory.ApiClientConfig.html +0 -7
- package/docs/interfaces/src_core_factory_ApiFactory.ApiModuleConfig.html +0 -4
- package/docs/interfaces/src_testing_TestHelpers.MockConfig.html +0 -6
- package/docs/interfaces/src_types_api_responses.AllianceContact.html +0 -5
- package/docs/interfaces/src_types_api_responses.AllianceContactLabel.html +0 -3
- package/docs/interfaces/src_types_api_responses.AllianceIcon.html +0 -3
- package/docs/interfaces/src_types_api_responses.AllianceInfo.html +0 -9
- package/docs/interfaces/src_types_api_responses.ApiResponse.html +0 -4
- package/docs/interfaces/src_types_api_responses.AssetLocation.html +0 -3
- package/docs/interfaces/src_types_api_responses.AssetName.html +0 -3
- package/docs/interfaces/src_types_api_responses.CharacterAsset.html +0 -9
- package/docs/interfaces/src_types_api_responses.CharacterAttributes.html +0 -9
- package/docs/interfaces/src_types_api_responses.CharacterInfo.html +0 -13
- package/docs/interfaces/src_types_api_responses.CharacterPortrait.html +0 -5
- package/docs/interfaces/src_types_api_responses.CharacterSkill.html +0 -5
- package/docs/interfaces/src_types_api_responses.ConstellationInfo.html +0 -6
- package/docs/interfaces/src_types_api_responses.Contract.html +0 -23
- package/docs/interfaces/src_types_api_responses.ContractItem.html +0 -8
- package/docs/interfaces/src_types_api_responses.CorporationInfo.html +0 -16
- package/docs/interfaces/src_types_api_responses.ErrorResponse.html +0 -4
- package/docs/interfaces/src_types_api_responses.MailLabel.html +0 -5
- package/docs/interfaces/src_types_api_responses.MailMessage.html +0 -8
- package/docs/interfaces/src_types_api_responses.MarketHistory.html +0 -7
- package/docs/interfaces/src_types_api_responses.MarketOrder.html +0 -12
- package/docs/interfaces/src_types_api_responses.PaginatedResponse.html +0 -5
- package/docs/interfaces/src_types_api_responses.RegionInfo.html +0 -5
- package/docs/interfaces/src_types_api_responses.SkillQueue.html +0 -9
- package/docs/interfaces/src_types_api_responses.SolarSystemInfo.html +0 -10
- package/docs/interfaces/src_types_api_responses.WalletJournal.html +0 -12
- package/docs/interfaces/src_types_api_responses.WalletTransaction.html +0 -11
- package/docs/interfaces/src_types_winston_loggly_bulk.LogglyOptions.html +0 -5
- package/docs/media/LICENSE +0 -26
- package/docs/modules/src.html +0 -22
- package/docs/modules/src_EsiClient.html +0 -4
- package/docs/modules/src_EsiClientBuilder.html +0 -6
- package/docs/modules/src_api_alliances_getAllianceById.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceContactLabels.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceContacts.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceCorporations.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceIcons.html +0 -2
- package/docs/modules/src_api_alliances_getAlliances.html +0 -2
- package/docs/modules/src_api_assets_getCharacterAssets.html +0 -2
- package/docs/modules/src_api_assets_getCorporationAssets.html +0 -2
- package/docs/modules/src_api_assets_postCharacterAssetLocations.html +0 -2
- package/docs/modules/src_api_assets_postCharacterAssetNames.html +0 -2
- package/docs/modules/src_api_assets_postCorporationAssetLocations.html +0 -2
- package/docs/modules/src_api_assets_postCorporationAssetNames.html +0 -2
- package/docs/modules/src_api_bookmarks_getCharacterBookmarkFolders.html +0 -2
- package/docs/modules/src_api_bookmarks_getCharacterBookmarks.html +0 -2
- package/docs/modules/src_api_bookmarks_getCorporationBookmarkFolders.html +0 -2
- package/docs/modules/src_api_bookmarks_getCorporationBookmarks.html +0 -2
- package/docs/modules/src_api_calendar_getCalendarEventById.html +0 -2
- package/docs/modules/src_api_calendar_getCalendarEvents.html +0 -2
- package/docs/modules/src_api_calendar_getEventAttendees.html +0 -2
- package/docs/modules/src_api_calendar_respondToCalendarEvent.html +0 -2
- package/docs/modules/src_api_characters_getAgentsResearch.html +0 -2
- package/docs/modules/src_api_characters_getBlueprints.html +0 -2
- package/docs/modules/src_api_characters_getCharacterPublicInfo.html +0 -2
- package/docs/modules/src_api_characters_getCharacterRoles.html +0 -2
- package/docs/modules/src_api_characters_getCharacterStandings.html +0 -2
- package/docs/modules/src_api_characters_getCharacterTitles.html +0 -2
- package/docs/modules/src_api_characters_getContactNotifications.html +0 -2
- package/docs/modules/src_api_characters_getCorporationHistory.html +0 -2
- package/docs/modules/src_api_characters_getJumpFatigue.html +0 -2
- package/docs/modules/src_api_characters_getMedals.html +0 -2
- package/docs/modules/src_api_characters_getNotifications.html +0 -2
- package/docs/modules/src_api_characters_getPortrait.html +0 -2
- package/docs/modules/src_api_characters_postCSPAChargeCost.html +0 -2
- package/docs/modules/src_api_characters_postCharacterAffiliations.html +0 -2
- package/docs/modules/src_api_clones_getClones.html +0 -2
- package/docs/modules/src_api_clones_getImplants.html +0 -2
- package/docs/modules/src_api_clones_postJumpCloneActivation.html +0 -2
- package/docs/modules/src_api_contacts_deleteCharacterContacts.html +0 -2
- package/docs/modules/src_api_contacts_getAllianceContactLabels.html +0 -2
- package/docs/modules/src_api_contacts_getAllianceContacts.html +0 -2
- package/docs/modules/src_api_contacts_getCharacterContactLabels.html +0 -2
- package/docs/modules/src_api_contacts_getCharacterContacts.html +0 -2
- package/docs/modules/src_api_contacts_getCorporationContactLabels.html +0 -2
- package/docs/modules/src_api_contacts_getCorporationContacts.html +0 -2
- package/docs/modules/src_api_contacts_postCharacterContacts.html +0 -2
- package/docs/modules/src_api_contacts_putCharacterContacts.html +0 -2
- package/docs/modules/src_api_contracts_getCharacterContractBids.html +0 -2
- package/docs/modules/src_api_contracts_getCharacterContractItems.html +0 -2
- package/docs/modules/src_api_contracts_getCharacterContracts.html +0 -2
- package/docs/modules/src_api_contracts_getCorporationContractBids.html +0 -2
- package/docs/modules/src_api_contracts_getCorporationContractItems.html +0 -2
- package/docs/modules/src_api_contracts_getCorporationContracts.html +0 -2
- package/docs/modules/src_api_contracts_getPublicContractBids.html +0 -2
- package/docs/modules/src_api_contracts_getPublicContractItems.html +0 -2
- package/docs/modules/src_api_contracts_getPublicContracts.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationAllianceHistory.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationAlscLogs.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationBlueprints.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationDivisions.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationFacilities.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationIcon.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationInfo.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationIssuedMedals.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMedals.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberLimit.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberRoles.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberRolesHistory.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberTracking.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMembers.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMembersTitles.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationProjects.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationShareholders.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStandings.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStarbaseDetail.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStarbases.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStructures.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationTitles.html +0 -2
- package/docs/modules/src_api_corporations_getNpcCorporations.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaAttributeById.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaAttributes.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaDynamicItemAttributes.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaEffectById.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaEffects.html +0 -2
- package/docs/modules/src_api_factions_getCharacterFactionWarfareStats.html +0 -2
- package/docs/modules/src_api_factions_getCharacterLeaderboards.html +0 -2
- package/docs/modules/src_api_factions_getCorporationFactionWarfareStats.html +0 -2
- package/docs/modules/src_api_factions_getCorporationLeaderboards.html +0 -2
- package/docs/modules/src_api_factions_getFactionLeaderboards.html +0 -2
- package/docs/modules/src_api_factions_getFactionWarfareStats.html +0 -2
- package/docs/modules/src_api_factions_getFactionWarfareSystems.html +0 -2
- package/docs/modules/src_api_factions_getFactionWarfareWars.html +0 -2
- package/docs/modules/src_api_fittings_deleteCharacterFitting.html +0 -2
- package/docs/modules/src_api_fittings_getCharacterFittings.html +0 -2
- package/docs/modules/src_api_fittings_postCharacterFittings.html +0 -2
- package/docs/modules/src_api_fleets_deleteFleetMember.html +0 -2
- package/docs/modules/src_api_fleets_deleteFleetSquad.html +0 -2
- package/docs/modules/src_api_fleets_deleteFleetWing.html +0 -2
- package/docs/modules/src_api_fleets_getCharacterFleetInfo.html +0 -2
- package/docs/modules/src_api_fleets_getFleetInfo.html +0 -2
- package/docs/modules/src_api_fleets_getFleetMembers.html +0 -2
- package/docs/modules/src_api_fleets_getFleetWings.html +0 -2
- package/docs/modules/src_api_fleets_postFleetInvitation.html +0 -2
- package/docs/modules/src_api_fleets_postFleetSquad.html +0 -2
- package/docs/modules/src_api_fleets_postFleetWing.html +0 -2
- package/docs/modules/src_api_fleets_putFleetMember.html +0 -2
- package/docs/modules/src_api_fleets_putFleetSquad.html +0 -2
- package/docs/modules/src_api_fleets_putFleetWing.html +0 -2
- package/docs/modules/src_api_fleets_updateFleet.html +0 -2
- package/docs/modules/src_api_incursions_getIncursions.html +0 -2
- package/docs/modules/src_api_industry_getCharacterIndustryJobs.html +0 -2
- package/docs/modules/src_api_industry_getCharacterMiningLedger.html +0 -2
- package/docs/modules/src_api_industry_getCorporationIndustryJobs.html +0 -2
- package/docs/modules/src_api_industry_getCorporationMiningObserver.html +0 -2
- package/docs/modules/src_api_industry_getCorporationMiningObservers.html +0 -2
- package/docs/modules/src_api_industry_getIndustryFacilities.html +0 -2
- package/docs/modules/src_api_industry_getIndustrySystems.html +0 -2
- package/docs/modules/src_api_industry_getMoonExtractionTimers.html +0 -2
- package/docs/modules/src_api_insurance_getInsurancePrices.html +0 -2
- package/docs/modules/src_api_killmails_getCharacterRecentKillmails.html +0 -2
- package/docs/modules/src_api_killmails_getCorporationRecentKillmails.html +0 -2
- package/docs/modules/src_api_killmails_getKillmail.html +0 -2
- package/docs/modules/src_api_location_getCharacterLocation.html +0 -2
- package/docs/modules/src_api_location_getCharacterOnline.html +0 -2
- package/docs/modules/src_api_location_getCharacterShip.html +0 -2
- package/docs/modules/src_api_loyalty_getLoyaltyPoints.html +0 -2
- package/docs/modules/src_api_loyalty_getLoyaltyStoreOffers.html +0 -2
- package/docs/modules/src_api_mail_deleteCharacterMail.html +0 -2
- package/docs/modules/src_api_mail_deleteCharacterMailLabel.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMail.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMailHeaders.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMailLabels.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMailingLists.html +0 -2
- package/docs/modules/src_api_mail_postCharacterMail.html +0 -2
- package/docs/modules/src_api_mail_postCharacterMailLabels.html +0 -2
- package/docs/modules/src_api_mail_putCharacterMail.html +0 -2
- package/docs/modules/src_api_market_getCharacterOrderHistory.html +0 -2
- package/docs/modules/src_api_market_getCharacterOrders.html +0 -2
- package/docs/modules/src_api_market_getCorporationOrderHistory.html +0 -2
- package/docs/modules/src_api_market_getCorporationOrders.html +0 -2
- package/docs/modules/src_api_market_getMarketGroupInformation.html +0 -2
- package/docs/modules/src_api_market_getMarketGroups.html +0 -2
- package/docs/modules/src_api_market_getMarketHistory.html +0 -2
- package/docs/modules/src_api_market_getMarketOrders.html +0 -2
- package/docs/modules/src_api_market_getMarketOrdersInStructure.html +0 -2
- package/docs/modules/src_api_market_getMarketPrices.html +0 -2
- package/docs/modules/src_api_market_getMarketTypes.html +0 -2
- package/docs/modules/src_api_meta_getSwaggerJson.html +0 -2
- package/docs/modules/src_api_meta_getSwaggerYaml.html +0 -2
- package/docs/modules/src_api_opportunities_getCharacterOpportunities.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesGroupById.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesGroups.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesTaskById.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesTasks.html +0 -2
- package/docs/modules/src_api_pi_getColonies.html +0 -2
- package/docs/modules/src_api_pi_getColonyLayout.html +0 -2
- package/docs/modules/src_api_pi_getCorporationCustomsOffices.html +0 -2
- package/docs/modules/src_api_pi_getSchematicInformation.html +0 -2
- package/docs/modules/src_api_route_getRoute.html +0 -2
- package/docs/modules/src_api_search_getCharacterSearch.html +0 -2
- package/docs/modules/src_api_skills_getCharacterAttributes.html +0 -2
- package/docs/modules/src_api_skills_getCharacterSkillQueue.html +0 -2
- package/docs/modules/src_api_skills_getCharacterSkills.html +0 -2
- package/docs/modules/src_api_sovereignty_getSovereigntyCampaigns.html +0 -2
- package/docs/modules/src_api_sovereignty_getSovereigntyMap.html +0 -2
- package/docs/modules/src_api_sovereignty_getSovereigntyStructures.html +0 -2
- package/docs/modules/src_api_status_getStatus.html +0 -2
- package/docs/modules/src_api_ui_postAutopilotWaypoint.html +0 -2
- package/docs/modules/src_api_ui_postOpenContractWindow.html +0 -2
- package/docs/modules/src_api_ui_postOpenInformationWindow.html +0 -2
- package/docs/modules/src_api_ui_postOpenMarketDetailsWindow.html +0 -2
- package/docs/modules/src_api_ui_postOpenNewMailWindow.html +0 -2
- package/docs/modules/src_api_universe_getAncestries.html +0 -2
- package/docs/modules/src_api_universe_getAsteroidBeltInfo.html +0 -2
- package/docs/modules/src_api_universe_getBloodlines.html +0 -2
- package/docs/modules/src_api_universe_getConstellationById.html +0 -2
- package/docs/modules/src_api_universe_getConstellations.html +0 -2
- package/docs/modules/src_api_universe_getFactions.html +0 -2
- package/docs/modules/src_api_universe_getGraphicById.html +0 -2
- package/docs/modules/src_api_universe_getGraphics.html +0 -2
- package/docs/modules/src_api_universe_getItemCategories.html +0 -2
- package/docs/modules/src_api_universe_getItemCategoryById.html +0 -2
- package/docs/modules/src_api_universe_getItemGroupById.html +0 -2
- package/docs/modules/src_api_universe_getItemGroups.html +0 -2
- package/docs/modules/src_api_universe_getMoonById.html +0 -2
- package/docs/modules/src_api_universe_getPlanetById.html +0 -2
- package/docs/modules/src_api_universe_getRaces.html +0 -2
- package/docs/modules/src_api_universe_getRegionById.html +0 -2
- package/docs/modules/src_api_universe_getStarById.html +0 -2
- package/docs/modules/src_api_universe_getStargateById.html +0 -2
- package/docs/modules/src_api_universe_getStationById.html +0 -2
- package/docs/modules/src_api_universe_getStructureById.html +0 -2
- package/docs/modules/src_api_universe_getStructures.html +0 -2
- package/docs/modules/src_api_universe_getSystemById.html +0 -2
- package/docs/modules/src_api_universe_getSystemJumps.html +0 -2
- package/docs/modules/src_api_universe_getSystemKills.html +0 -2
- package/docs/modules/src_api_universe_getSystems.html +0 -2
- package/docs/modules/src_api_universe_getTypeById.html +0 -2
- package/docs/modules/src_api_universe_getTypes.html +0 -2
- package/docs/modules/src_api_universe_postBulkNamesToIds.html +0 -2
- package/docs/modules/src_api_universe_postNamesAndCategories.html +0 -2
- package/docs/modules/src_api_wallet_getCharacterWallet.html +0 -2
- package/docs/modules/src_api_wallet_getCharacterWalletJournal.html +0 -2
- package/docs/modules/src_api_wallet_getCharacterWalletTransactions.html +0 -2
- package/docs/modules/src_api_wallet_getCorporationWalletJournal.html +0 -2
- package/docs/modules/src_api_wallet_getCorporationWalletTransactions.html +0 -2
- package/docs/modules/src_api_wallet_getCorporationWallets.html +0 -2
- package/docs/modules/src_api_wars_getWarById.html +0 -2
- package/docs/modules/src_api_wars_getWarKillmails.html +0 -2
- package/docs/modules/src_api_wars_getWars.html +0 -2
- package/docs/modules/src_builders_AllianceApiBuilder.html +0 -2
- package/docs/modules/src_builders_AssetsApiBuilder.html +0 -2
- package/docs/modules/src_builders_BookmarkApiBuilder.html +0 -2
- package/docs/modules/src_builders_CalendarApiBuilder.html +0 -2
- package/docs/modules/src_builders_CharacterApiBuilder.html +0 -2
- package/docs/modules/src_builders_ClonesApiBuilder.html +0 -2
- package/docs/modules/src_builders_ContactsApiBuilder.html +0 -2
- package/docs/modules/src_builders_ContractsApiBuilder.html +0 -2
- package/docs/modules/src_builders_CorporationsApiBuilder.html +0 -2
- package/docs/modules/src_builders_DogmaApiBuilder.html +0 -2
- package/docs/modules/src_builders_FactionApiBuilder.html +0 -2
- package/docs/modules/src_builders_FittingsApiBuilder.html +0 -2
- package/docs/modules/src_builders_FleetApiBuilder.html +0 -2
- package/docs/modules/src_builders_IncursionsApiBuilder.html +0 -2
- package/docs/modules/src_builders_IndustryApiBuilder.html +0 -2
- package/docs/modules/src_builders_InsuranceApiBuilder.html +0 -2
- package/docs/modules/src_builders_KillmailsBuilder.html +0 -2
- package/docs/modules/src_builders_LocationApiBuilder.html +0 -2
- package/docs/modules/src_builders_LoyaltyApiBuilder.html +0 -2
- package/docs/modules/src_builders_MailApiBuilder.html +0 -2
- package/docs/modules/src_builders_MarketApiBuilder.html +0 -2
- package/docs/modules/src_builders_MetaApiBuilder.html +0 -2
- package/docs/modules/src_builders_OpportunitiesApiBuilder.html +0 -2
- package/docs/modules/src_builders_PiApiBuilder.html +0 -2
- package/docs/modules/src_builders_RouteApiBuilder.html +0 -2
- package/docs/modules/src_builders_SearchApiBuilder.html +0 -2
- package/docs/modules/src_builders_SkillsApiBuilder.html +0 -2
- package/docs/modules/src_builders_SovereigntyApiBuilder.html +0 -2
- package/docs/modules/src_builders_StatusApiBuilder.html +0 -2
- package/docs/modules/src_builders_UiApiBuilder.html +0 -2
- package/docs/modules/src_builders_UniverseApiBuilder.html +0 -2
- package/docs/modules/src_builders_WalletApiBuilder.html +0 -2
- package/docs/modules/src_builders_WarsAPIBuilder.html +0 -2
- package/docs/modules/src_clients_AllianceClient.html +0 -2
- package/docs/modules/src_clients_AssetsClient.html +0 -2
- package/docs/modules/src_clients_BookmarkClient.html +0 -2
- package/docs/modules/src_clients_CalendarClient.html +0 -2
- package/docs/modules/src_clients_CharacterClient.html +0 -2
- package/docs/modules/src_clients_ClonesClient.html +0 -2
- package/docs/modules/src_clients_ContactsClient.html +0 -2
- package/docs/modules/src_clients_ContractsClient.html +0 -2
- package/docs/modules/src_clients_CorporationsClient.html +0 -2
- package/docs/modules/src_clients_DogmaClient.html +0 -2
- package/docs/modules/src_clients_FactionClient.html +0 -2
- package/docs/modules/src_clients_FittingsClient.html +0 -2
- package/docs/modules/src_clients_FleetClient.html +0 -2
- package/docs/modules/src_clients_IncursionsClient.html +0 -2
- package/docs/modules/src_clients_IndustryClient.html +0 -2
- package/docs/modules/src_clients_InsuranceClient.html +0 -2
- package/docs/modules/src_clients_KillmailsClient.html +0 -2
- package/docs/modules/src_clients_LocationClient.html +0 -2
- package/docs/modules/src_clients_LoyaltyClient.html +0 -2
- package/docs/modules/src_clients_MailClient.html +0 -2
- package/docs/modules/src_clients_MarketClient.html +0 -2
- package/docs/modules/src_clients_MetaClient.html +0 -2
- package/docs/modules/src_clients_OpportunitiesClient.html +0 -2
- package/docs/modules/src_clients_PiClient.html +0 -2
- package/docs/modules/src_clients_RouteClient.html +0 -2
- package/docs/modules/src_clients_SearchClient.html +0 -2
- package/docs/modules/src_clients_SkillsClient.html +0 -2
- package/docs/modules/src_clients_SovereigntyClient.html +0 -2
- package/docs/modules/src_clients_StatusClient.html +0 -2
- package/docs/modules/src_clients_UiClient.html +0 -2
- package/docs/modules/src_clients_UniverseClient.html +0 -2
- package/docs/modules/src_clients_WalletClient.html +0 -2
- package/docs/modules/src_clients_WarsClient.html +0 -2
- package/docs/modules/src_config_configManager.html +0 -2
- package/docs/modules/src_config_constants.html +0 -5
- package/docs/modules/src_config_jest_jest_setup.html +0 -2
- package/docs/modules/src_core_ApiClient.html +0 -2
- package/docs/modules/src_core_ApiClientBuilder.html +0 -2
- package/docs/modules/src_core_ApiError.html +0 -2
- package/docs/modules/src_core_ApiRequestHandler.html +0 -6
- package/docs/modules/src_core_IAPIBuilder.html +0 -4
- package/docs/modules/src_core_cache_ETagCacheManager.html +0 -4
- package/docs/modules/src_core_container_Container.html +0 -9
- package/docs/modules/src_core_errors_ApiError.html +0 -4
- package/docs/modules/src_core_factory_ApiFactory.html +0 -6
- package/docs/modules/src_core_logger.html +0 -2
- package/docs/modules/src_core_logger_logger.html +0 -2
- package/docs/modules/src_core_logger_loggerUtil.html +0 -5
- package/docs/modules/src_core_util_error.html +0 -2
- package/docs/modules/src_core_util_file.html +0 -4
- package/docs/modules/src_core_util_headersUtil.html +0 -2
- package/docs/modules/src_core_util_inputValidation.html +0 -2
- package/docs/modules/src_core_util_network.html +0 -2
- package/docs/modules/src_core_util_request.html +0 -3
- package/docs/modules/src_core_util_testHelpers.html +0 -4
- package/docs/modules/src_testing_TestDataFactory.html +0 -3
- package/docs/modules/src_testing_TestHelpers.html +0 -9
- package/docs/modules/src_types_api_responses.html +0 -28
- package/docs/modules/src_types_winston_loggly_bulk.html +0 -3
- package/docs/modules.html +0 -305
- package/docs/types/src_EsiClientBuilder.ApiClientType.html +0 -1
- package/docs/types/src_EsiClientBuilder.ClientInstance.html +0 -1
- package/docs/types/src_core_container_Container.AsyncFactory.html +0 -1
- package/docs/types/src_core_container_Container.Factory.html +0 -1
- package/docs/variables/src_EsiClient.esiClient-1.html +0 -1
- package/docs/variables/src_config_constants.localConfig.html +0 -1
- package/docs/variables/src_config_constants.projectConfig.html +0 -1
- package/docs/variables/src_config_constants.routes.html +0 -1
- package/docs/variables/src_config_constants.server.html +0 -1
- package/docs/variables/src_core_container_Container.container-1.html +0 -1
- package/docs/variables/src_core_factory_ApiFactory.apiFactory-1.html +0 -1
- package/docs/variables/src_core_logger_logger.default.html +0 -1
- package/jest.improved.config.cjs +0 -46
- package/jest.unit.config.cjs +0 -33
- package/output.txt +0 -0
- package/src/EsiClient.ts +0 -351
- package/src/EsiClientBuilder.ts +0 -380
- package/src/TODO +0 -77
- package/src/api/alliances/getAllianceById.ts +0 -16
- 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 -11
- package/src/api/clones/getClones.ts +0 -11
- package/src/api/clones/getImplants.ts +0 -11
- package/src/api/clones/postJumpCloneActivation.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/getCorporationProjects.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/meta/getSwaggerJson.ts +0 -10
- package/src/api/meta/getSwaggerYaml.ts +0 -36
- 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 -15
- package/src/builders/AssetsApiBuilder.ts +0 -15
- package/src/builders/BookmarkApiBuilder.ts +0 -15
- package/src/builders/CalendarApiBuilder.ts +0 -15
- package/src/builders/CharacterApiBuilder.ts +0 -15
- package/src/builders/ClonesApiBuilder.ts +0 -15
- package/src/builders/ContactsApiBuilder.ts +0 -15
- package/src/builders/ContractsApiBuilder.ts +0 -15
- package/src/builders/CorporationsApiBuilder.ts +0 -15
- package/src/builders/DogmaApiBuilder.ts +0 -16
- package/src/builders/FactionApiBuilder.ts +0 -15
- package/src/builders/FittingsApiBuilder.ts +0 -15
- package/src/builders/FleetApiBuilder.ts +0 -15
- package/src/builders/IncursionsApiBuilder.ts +0 -15
- package/src/builders/IndustryApiBuilder.ts +0 -15
- package/src/builders/InsuranceApiBuilder.ts +0 -15
- package/src/builders/KillmailsBuilder.ts +0 -15
- package/src/builders/LocationApiBuilder.ts +0 -15
- package/src/builders/LoyaltyApiBuilder.ts +0 -15
- package/src/builders/MailApiBuilder.ts +0 -15
- package/src/builders/MarketApiBuilder.ts +0 -15
- package/src/builders/MetaApiBuilder.ts +0 -15
- package/src/builders/OpportunitiesApiBuilder.ts +0 -17
- package/src/builders/PiApiBuilder.ts +0 -15
- package/src/builders/RouteApiBuilder.ts +0 -15
- package/src/builders/SearchApiBuilder.ts +0 -15
- package/src/builders/SkillsApiBuilder.ts +0 -15
- package/src/builders/SovereigntyApiBuilder.ts +0 -15
- package/src/builders/StatusApiBuilder.ts +0 -15
- package/src/builders/UiApiBuilder.ts +0 -15
- package/src/builders/UniverseApiBuilder.ts +0 -15
- package/src/builders/WalletApiBuilder.ts +0 -16
- package/src/builders/WarsAPIBuilder.ts +0 -15
- package/src/clients/AllianceClient.ts +0 -58
- 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 -28
- package/src/clients/ContactsClient.ts +0 -70
- package/src/clients/ContractsClient.ts +0 -70
- package/src/clients/CorporationsClient.ts +0 -168
- 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/MetaClient.ts +0 -24
- 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.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 -212
- package/src/core/IAPIBuilder.ts +0 -13
- package/src/core/cache/ETagCacheManager.ts +0 -248
- package/src/core/container/Container.ts +0 -176
- package/src/core/errors/ApiError.ts +0 -153
- package/src/core/factory/ApiFactory.ts +0 -207
- 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 -46
- 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 -225
- package/src/testing/TestDataFactory.ts +0 -742
- package/src/testing/TestHelpers.ts +0 -280
- package/src/types/api-responses.ts +0 -291
- package/src/types/winston-loggly-bulk.d.ts +0 -14
- package/tests/bdd/simple-bdd-demo.test.ts +0 -210
- package/tests/bdd-scenarios/core/bdd-alliance.test.ts +0 -210
- package/tests/bdd-scenarios/core/bdd-character.test.ts +0 -346
- package/tests/bdd-scenarios/core/bdd-clones.test.ts +0 -159
- package/tests/bdd-scenarios/core/bdd-corporation-projects.test.ts +0 -136
- package/tests/bdd-scenarios/core/bdd-corporation.test.ts +0 -388
- package/tests/bdd-scenarios/core/bdd-etag-caching.test.ts +0 -280
- package/tests/bdd-scenarios/core/bdd-market.test.ts +0 -435
- package/tests/bdd-scenarios/core/bdd-meta.test.ts +0 -131
- package/tests/bdd-scenarios/core/bdd-universe.test.ts +0 -463
- package/tests/bdd-scenarios/integration/bdd-integration-workflows.test.ts +0 -490
- package/tests/bdd-scenarios/performance/bdd-performance.test.ts +0 -463
- package/tests/tdd/alliances/AllianceAPIBuilder.test.ts +0 -24
- package/tests/tdd/alliances/AllianceClient.improved.test.ts +0 -266
- package/tests/tdd/alliances/AllianceClient.test.ts +0 -198
- 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 -35
- 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/clones/postJumpCloneActivation.test.ts +0 -70
- package/tests/tdd/contacts/ContactsApiBuilder.test.ts +0 -21
- package/tests/tdd/contacts/ContactsClient.test.ts +0 -289
- 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/core/ETagCacheManager.test.ts +0 -173
- package/tests/tdd/core/ETagIntegration.test.ts +0 -208
- package/tests/tdd/corporations/CorporationsApiBuilder.test.ts +0 -20
- package/tests/tdd/corporations/CorporationsClient.test.ts +0 -401
- 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/getCorporationProjects.test.ts +0 -62
- 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 -166
- 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/meta/MetaApiBuilder.test.ts +0 -45
- package/tests/tdd/meta/MetaClient.test.ts +0 -92
- package/tests/tdd/meta/getSwaggerJson.test.ts +0 -40
- package/tests/tdd/meta/getSwaggerYaml.test.ts +0 -40
- 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 -40
- package/tests/tdd/status/getStatus.test.ts +0 -47
- 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/typedoc.json +0 -77
- package/types/global.d.ts +0 -17
- package/types/jest.d.ts +0 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.handleRequest = void 0;
|
|
4
|
+
const error_1 = require("../core/util/error");
|
|
5
|
+
const loggerUtil_1 = require("../core/logger/loggerUtil");
|
|
6
|
+
const headersUtil_1 = require("../core/util/headersUtil");
|
|
7
|
+
const PaginationHandler_1 = require("./pagination/PaginationHandler");
|
|
8
|
+
const constants_1 = require("./constants");
|
|
9
|
+
const STATUS_MESSAGES = {
|
|
10
|
+
201: 'Created',
|
|
11
|
+
204: 'No Content',
|
|
12
|
+
304: 'Not Modified',
|
|
13
|
+
400: 'Bad Request',
|
|
14
|
+
401: 'Unauthorized',
|
|
15
|
+
403: 'Forbidden',
|
|
16
|
+
404: 'Resource not found',
|
|
17
|
+
420: 'Error Limited',
|
|
18
|
+
422: 'Unprocessable Entity',
|
|
19
|
+
429: 'Too many requests',
|
|
20
|
+
500: 'Internal server error',
|
|
21
|
+
503: 'Service Unavailable',
|
|
22
|
+
504: 'Gateway Timeout',
|
|
23
|
+
520: 'Internal server error, did the request terminate too soon?',
|
|
24
|
+
};
|
|
25
|
+
// --- Dependency resolution ---
|
|
26
|
+
function resolveCache(client) {
|
|
27
|
+
return client.getCache();
|
|
28
|
+
}
|
|
29
|
+
function resolveRateLimiter(client) {
|
|
30
|
+
const limiter = client.getRateLimiter();
|
|
31
|
+
if (!limiter) {
|
|
32
|
+
throw (0, error_1.buildError)('No rate limiter configured on ApiClient. ' +
|
|
33
|
+
'Set one via apiClient.setRateLimiter(new RateLimiter()).', 'CONFIGURATION_ERROR');
|
|
34
|
+
}
|
|
35
|
+
return limiter;
|
|
36
|
+
}
|
|
37
|
+
function resolveCircuitBreaker(client) {
|
|
38
|
+
return client.getCircuitBreaker();
|
|
39
|
+
}
|
|
40
|
+
// --- Pure helpers ---
|
|
41
|
+
const parseCacheControlTtl = (headers) => {
|
|
42
|
+
const cacheControl = headers['cache-control'] || headers['Cache-Control'];
|
|
43
|
+
if (!cacheControl)
|
|
44
|
+
return undefined;
|
|
45
|
+
const match = /max-age=(\d+)/.exec(cacheControl);
|
|
46
|
+
return match ? parseInt(match[1], 10) * 1000 : undefined;
|
|
47
|
+
};
|
|
48
|
+
function buildRequestHeaders(client, url, method, requiresAuth, useETag, body) {
|
|
49
|
+
const headers = {
|
|
50
|
+
accept: 'gzip, deflate, br',
|
|
51
|
+
'User-Agent': constants_1.USER_AGENT,
|
|
52
|
+
'X-Compatibility-Date': constants_1.COMPATIBILITY_DATE,
|
|
53
|
+
};
|
|
54
|
+
if (requiresAuth) {
|
|
55
|
+
const authHeader = client.getAuthorizationHeader();
|
|
56
|
+
if (!authHeader) {
|
|
57
|
+
throw (0, error_1.buildError)('Authorization header is required but not provided', 'NO_AUTH_TOKEN');
|
|
58
|
+
}
|
|
59
|
+
headers['Authorization'] = authHeader;
|
|
60
|
+
}
|
|
61
|
+
const cache = resolveCache(client);
|
|
62
|
+
if (useETag && method === 'GET' && cache) {
|
|
63
|
+
const cachedETag = cache.getETag(url);
|
|
64
|
+
if (cachedETag) {
|
|
65
|
+
headers['If-None-Match'] = cachedETag;
|
|
66
|
+
(0, loggerUtil_1.logDebug)(`Adding If-None-Match header: ${cachedETag}`);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
if (body) {
|
|
70
|
+
headers['Content-Type'] = 'application/json';
|
|
71
|
+
}
|
|
72
|
+
return headers;
|
|
73
|
+
}
|
|
74
|
+
function handleEarlyStatus(client, status, url, parsed, useETag) {
|
|
75
|
+
if (status === 201) {
|
|
76
|
+
return { headers: parsed.raw, body: undefined };
|
|
77
|
+
}
|
|
78
|
+
if (status === 204) {
|
|
79
|
+
(0, loggerUtil_1.logInfo)(`No Content for endpoint: ${url}`);
|
|
80
|
+
return { headers: parsed.raw, body: undefined };
|
|
81
|
+
}
|
|
82
|
+
if (status === 304) {
|
|
83
|
+
const cache = resolveCache(client);
|
|
84
|
+
if (useETag && cache) {
|
|
85
|
+
const cachedEntry = cache.get(url);
|
|
86
|
+
if (cachedEntry) {
|
|
87
|
+
(0, loggerUtil_1.logInfo)(`Cache hit (304) for endpoint: ${url}`);
|
|
88
|
+
return {
|
|
89
|
+
headers: { ...cachedEntry.headers, ...parsed.raw },
|
|
90
|
+
body: cachedEntry.data,
|
|
91
|
+
fromCache: true,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
throw new error_1.EsiError(304, 'Not Modified — no cached data available', url, parsed.requestId ?? undefined);
|
|
96
|
+
}
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
function tryStaleCacheResponse(client, url, parsed) {
|
|
100
|
+
const cache = resolveCache(client);
|
|
101
|
+
if (!cache)
|
|
102
|
+
return null;
|
|
103
|
+
const cachedEntry = cache.get(url);
|
|
104
|
+
if (!cachedEntry)
|
|
105
|
+
return null;
|
|
106
|
+
return {
|
|
107
|
+
headers: { ...cachedEntry.headers, ...parsed.raw },
|
|
108
|
+
body: cachedEntry.data,
|
|
109
|
+
fromCache: true,
|
|
110
|
+
stale: true,
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
function cacheResponse(client, url, method, endpoint, parsed, data, useETag) {
|
|
114
|
+
const cache = resolveCache(client);
|
|
115
|
+
if (useETag && method === 'GET' && cache && parsed.etag) {
|
|
116
|
+
const ttl = parseCacheControlTtl(parsed.raw);
|
|
117
|
+
cache.set(url, parsed.etag, data, parsed.raw, ttl);
|
|
118
|
+
const ttlInfo = ttl ? ` (ttl=${ttl}ms)` : '';
|
|
119
|
+
(0, loggerUtil_1.logDebug)(`Cached response for ${url} with ETag ${parsed.etag}${ttlInfo}`);
|
|
120
|
+
}
|
|
121
|
+
if (method !== 'GET' && cache) {
|
|
122
|
+
cache.deleteByPath(endpoint.split('?')[0]);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
async function parseJsonBody(response, _url) {
|
|
126
|
+
try {
|
|
127
|
+
return (await response.json());
|
|
128
|
+
}
|
|
129
|
+
catch (jsonError) {
|
|
130
|
+
const msg = jsonError instanceof Error ? jsonError.message : String(jsonError);
|
|
131
|
+
(0, loggerUtil_1.logError)(`Failed to parse JSON response: ${msg}`);
|
|
132
|
+
throw (0, error_1.buildError)(`Invalid JSON response: ${msg}`, 'JSON_PARSE_ERROR');
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function handleCursorPagination(parsed, data) {
|
|
136
|
+
if (!parsed.hasCursorPagination)
|
|
137
|
+
return null;
|
|
138
|
+
const cursors = {
|
|
139
|
+
before: parsed.cursorBefore,
|
|
140
|
+
after: parsed.cursorAfter,
|
|
141
|
+
};
|
|
142
|
+
return { headers: parsed.raw, body: data, cursors };
|
|
143
|
+
}
|
|
144
|
+
async function handleOffsetPagination(client, endpoint, method, requiresAuth, parsed, data, body, url, useETag, pageFetch) {
|
|
145
|
+
const totalPages = parsed.xPages;
|
|
146
|
+
if (totalPages <= 1) {
|
|
147
|
+
return { headers: parsed.raw, body: data };
|
|
148
|
+
}
|
|
149
|
+
(0, loggerUtil_1.logInfo)(`Found ${totalPages} pages, fetching additional pages with rate limiting...`);
|
|
150
|
+
try {
|
|
151
|
+
const firstPageData = Array.isArray(data) ? data : [data];
|
|
152
|
+
const allData = await PaginationHandler_1.PaginationHandler.fetchRemainingPages(client, endpoint, method, requiresAuth, firstPageData, totalPages, body, {
|
|
153
|
+
maxPages: Math.min(totalPages, 1000),
|
|
154
|
+
stopOnEmptyPage: true,
|
|
155
|
+
maxRetries: 3,
|
|
156
|
+
}, pageFetch);
|
|
157
|
+
cacheResponse(client, url, method, endpoint, parsed, allData, useETag);
|
|
158
|
+
return { headers: parsed.raw, body: allData };
|
|
159
|
+
}
|
|
160
|
+
catch (paginationError) {
|
|
161
|
+
const msg = paginationError instanceof Error
|
|
162
|
+
? paginationError.message
|
|
163
|
+
: String(paginationError);
|
|
164
|
+
(0, loggerUtil_1.logWarn)(`Pagination failed, returning first page only: ${msg}`);
|
|
165
|
+
return { headers: parsed.raw, body: data };
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
// --- Response interceptor wrapper ---
|
|
169
|
+
async function applyResponseInterceptors(client, result, url, endpoint, method, startTime) {
|
|
170
|
+
const middleware = client.getMiddleware();
|
|
171
|
+
if (!middleware.hasInterceptors())
|
|
172
|
+
return result;
|
|
173
|
+
const responseCtx = {
|
|
174
|
+
url,
|
|
175
|
+
endpoint,
|
|
176
|
+
method,
|
|
177
|
+
status: 200,
|
|
178
|
+
headers: result.headers,
|
|
179
|
+
body: result.body,
|
|
180
|
+
durationMs: Date.now() - startTime,
|
|
181
|
+
fromCache: result.fromCache ?? false,
|
|
182
|
+
};
|
|
183
|
+
const modified = await middleware.applyResponseInterceptors(responseCtx);
|
|
184
|
+
return {
|
|
185
|
+
...result,
|
|
186
|
+
headers: modified.headers,
|
|
187
|
+
body: modified.body,
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
// --- Main request functions ---
|
|
191
|
+
async function applyRequestMiddleware(client, url, endpoint, method, headers, body) {
|
|
192
|
+
const middleware = client.getMiddleware();
|
|
193
|
+
if (!middleware.hasInterceptors()) {
|
|
194
|
+
return { url, headers, body };
|
|
195
|
+
}
|
|
196
|
+
const reqCtx = {
|
|
197
|
+
url,
|
|
198
|
+
endpoint,
|
|
199
|
+
method,
|
|
200
|
+
headers: { ...headers },
|
|
201
|
+
body,
|
|
202
|
+
};
|
|
203
|
+
const modified = await middleware.applyRequestInterceptors(reqCtx);
|
|
204
|
+
return {
|
|
205
|
+
url: modified.url,
|
|
206
|
+
headers: modified.headers,
|
|
207
|
+
body: modified.body,
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
function handleErrorResponse(client, response, url, parsed, useETag) {
|
|
211
|
+
const errorMessage = STATUS_MESSAGES[response.status] || response.statusText;
|
|
212
|
+
if (response.status >= 500 && useETag) {
|
|
213
|
+
const staleResult = tryStaleCacheResponse(client, url, parsed);
|
|
214
|
+
if (staleResult) {
|
|
215
|
+
(0, loggerUtil_1.logWarn)(`${errorMessage} for ${url} — serving stale cache`);
|
|
216
|
+
return staleResult;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
if (response.status === 420 || response.status === 429) {
|
|
220
|
+
(0, loggerUtil_1.logWarn)(`Rate limited (${response.status}) on ${url}`);
|
|
221
|
+
}
|
|
222
|
+
throw new error_1.EsiError(response.status, errorMessage, url, parsed.requestId ?? undefined);
|
|
223
|
+
}
|
|
224
|
+
function wrapError(error) {
|
|
225
|
+
if (error instanceof error_1.EsiError) {
|
|
226
|
+
throw error;
|
|
227
|
+
}
|
|
228
|
+
if (error instanceof Error) {
|
|
229
|
+
(0, loggerUtil_1.logError)(`Unexpected error: ${error.message}`);
|
|
230
|
+
throw (0, error_1.buildError)(error.message, 'ESIJS_ERROR');
|
|
231
|
+
}
|
|
232
|
+
(0, loggerUtil_1.logError)(`Unexpected error: ${String(error)}`);
|
|
233
|
+
throw (0, error_1.buildError)(String(error), 'ESIJS_ERROR');
|
|
234
|
+
}
|
|
235
|
+
async function executeSingleFetch(client, endpoint, method, body, requiresAuth, useETag) {
|
|
236
|
+
const rawUrl = `${client.getLink()}/${endpoint}`;
|
|
237
|
+
const builtHeaders = buildRequestHeaders(client, rawUrl, method, requiresAuth, useETag, body);
|
|
238
|
+
const req = await applyRequestMiddleware(client, rawUrl, endpoint, method, builtHeaders, body);
|
|
239
|
+
const options = {
|
|
240
|
+
method,
|
|
241
|
+
headers: req.headers,
|
|
242
|
+
body: req.body ? JSON.stringify(req.body) : undefined,
|
|
243
|
+
};
|
|
244
|
+
const url = req.url;
|
|
245
|
+
(0, loggerUtil_1.logInfo)(`Hitting endpoint: ${url}`);
|
|
246
|
+
const cb = resolveCircuitBreaker(client);
|
|
247
|
+
if (cb)
|
|
248
|
+
cb.checkCircuit(endpoint);
|
|
249
|
+
const rateLimiter = resolveRateLimiter(client);
|
|
250
|
+
await rateLimiter.checkRateLimit();
|
|
251
|
+
const timeoutMs = client.getTimeout();
|
|
252
|
+
const controller = new AbortController();
|
|
253
|
+
const timer = globalThis.setTimeout(() => controller.abort(), timeoutMs);
|
|
254
|
+
options.signal = controller.signal;
|
|
255
|
+
let response;
|
|
256
|
+
try {
|
|
257
|
+
response = await fetch(url, options);
|
|
258
|
+
}
|
|
259
|
+
catch (err) {
|
|
260
|
+
clearTimeout(timer);
|
|
261
|
+
if (err instanceof Error && err.name === 'AbortError') {
|
|
262
|
+
throw new error_1.EsiError(0, `Request timed out after ${timeoutMs}ms`, url);
|
|
263
|
+
}
|
|
264
|
+
throw err;
|
|
265
|
+
}
|
|
266
|
+
clearTimeout(timer);
|
|
267
|
+
const parsed = (0, headersUtil_1.parseHeaders)(response.headers);
|
|
268
|
+
rateLimiter.updateFromResponse(parsed.raw, response.status);
|
|
269
|
+
if (cb) {
|
|
270
|
+
if (response.status >= 500)
|
|
271
|
+
cb.recordFailure(endpoint, response.status);
|
|
272
|
+
else
|
|
273
|
+
cb.recordSuccess(endpoint);
|
|
274
|
+
}
|
|
275
|
+
if (parsed.warning) {
|
|
276
|
+
(0, loggerUtil_1.logWarn)(`ESI Warning ${parsed.warning.code} for ${url}: ${parsed.warning.message}`);
|
|
277
|
+
}
|
|
278
|
+
return { response, parsed, url };
|
|
279
|
+
}
|
|
280
|
+
async function fetchOnePage(client, endpoint, method, body, requiresAuth = false, useETag = false) {
|
|
281
|
+
const { response, parsed, url } = await executeSingleFetch(client, endpoint, method, body, requiresAuth, useETag);
|
|
282
|
+
if (!response.ok) {
|
|
283
|
+
throw new error_1.EsiError(response.status, STATUS_MESSAGES[response.status] || response.statusText, url, parsed.requestId ?? undefined);
|
|
284
|
+
}
|
|
285
|
+
const data = await parseJsonBody(response, url);
|
|
286
|
+
return { data, parsed, url };
|
|
287
|
+
}
|
|
288
|
+
const executeRequest = async (client, endpoint, method, body, requiresAuth = false, useETag = true) => {
|
|
289
|
+
const startTime = Date.now();
|
|
290
|
+
const finish = (r) => {
|
|
291
|
+
const rawUrl = `${client.getLink()}/${endpoint}`;
|
|
292
|
+
return applyResponseInterceptors(client, r, rawUrl, endpoint, method, startTime);
|
|
293
|
+
};
|
|
294
|
+
try {
|
|
295
|
+
const { response, parsed, url } = await executeSingleFetch(client, endpoint, method, body, requiresAuth, useETag);
|
|
296
|
+
if (response.status === 201) {
|
|
297
|
+
let data;
|
|
298
|
+
try {
|
|
299
|
+
data = (await response.json());
|
|
300
|
+
}
|
|
301
|
+
catch {
|
|
302
|
+
data = undefined;
|
|
303
|
+
}
|
|
304
|
+
return finish({ headers: parsed.raw, body: data });
|
|
305
|
+
}
|
|
306
|
+
const earlyResult = handleEarlyStatus(client, response.status, url, parsed, useETag);
|
|
307
|
+
if (earlyResult)
|
|
308
|
+
return finish(earlyResult);
|
|
309
|
+
if (!response.ok) {
|
|
310
|
+
const staleOrThrow = handleErrorResponse(client, response, url, parsed, useETag);
|
|
311
|
+
return finish(staleOrThrow);
|
|
312
|
+
}
|
|
313
|
+
const data = await parseJsonBody(response, url);
|
|
314
|
+
cacheResponse(client, url, method, endpoint, parsed, data, useETag);
|
|
315
|
+
const cursorResult = handleCursorPagination(parsed, data);
|
|
316
|
+
if (cursorResult)
|
|
317
|
+
return finish(cursorResult);
|
|
318
|
+
const pageFetch = async (paginatedEndpoint) => {
|
|
319
|
+
const result = await fetchOnePage(client, paginatedEndpoint, method, body, requiresAuth);
|
|
320
|
+
return Array.isArray(result.data)
|
|
321
|
+
? result.data
|
|
322
|
+
: [result.data];
|
|
323
|
+
};
|
|
324
|
+
const paginatedResult = await handleOffsetPagination(client, endpoint, method, requiresAuth, parsed, data, body, url, useETag, pageFetch);
|
|
325
|
+
return finish(paginatedResult);
|
|
326
|
+
}
|
|
327
|
+
catch (error) {
|
|
328
|
+
wrapError(error);
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
const handleRequest = async (client, endpoint, method, body, requiresAuth = false, useETag = true) => {
|
|
332
|
+
const doExecute = () => executeRequest(client, endpoint, method, body, requiresAuth, useETag);
|
|
333
|
+
const dedup = client.getDeduplicator();
|
|
334
|
+
const canDedup = dedup && method === 'GET' && !body;
|
|
335
|
+
try {
|
|
336
|
+
return canDedup
|
|
337
|
+
? await dedup.dedupe(endpoint, doExecute)
|
|
338
|
+
: await doExecute();
|
|
339
|
+
}
|
|
340
|
+
catch (error) {
|
|
341
|
+
if (error instanceof error_1.EsiError &&
|
|
342
|
+
error.statusCode === 401 &&
|
|
343
|
+
requiresAuth &&
|
|
344
|
+
client.hasTokenProvider()) {
|
|
345
|
+
(0, loggerUtil_1.logInfo)('Received 401, attempting token refresh...');
|
|
346
|
+
try {
|
|
347
|
+
await client.refreshToken();
|
|
348
|
+
(0, loggerUtil_1.logInfo)('Token refreshed, retrying request');
|
|
349
|
+
return await executeRequest(client, endpoint, method, body, requiresAuth, useETag);
|
|
350
|
+
}
|
|
351
|
+
catch (refreshError) {
|
|
352
|
+
if (refreshError instanceof error_1.EsiError) {
|
|
353
|
+
throw refreshError;
|
|
354
|
+
}
|
|
355
|
+
const msg = refreshError instanceof Error
|
|
356
|
+
? refreshError.message
|
|
357
|
+
: String(refreshError);
|
|
358
|
+
(0, loggerUtil_1.logError)(`Token refresh failed: ${msg}`);
|
|
359
|
+
throw (0, error_1.buildError)(`Token refresh failed: ${msg}`, 'TOKEN_REFRESH_FAILED');
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
throw error;
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
exports.handleRequest = handleRequest;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ApiClient } from './ApiClient';
|
|
2
|
+
import { AllianceClient } from '../clients/AllianceClient';
|
|
3
|
+
import { AssetsClient } from '../clients/AssetsClient';
|
|
4
|
+
import { CalendarClient } from '../clients/CalendarClient';
|
|
5
|
+
import { CharacterClient } from '../clients/CharacterClient';
|
|
6
|
+
import { ClonesClient } from '../clients/ClonesClient';
|
|
7
|
+
import { ContactsClient } from '../clients/ContactsClient';
|
|
8
|
+
import { ContractsClient } from '../clients/ContractsClient';
|
|
9
|
+
import { CorporationsClient } from '../clients/CorporationsClient';
|
|
10
|
+
import { DogmaClient } from '../clients/DogmaClient';
|
|
11
|
+
import { FactionClient } from '../clients/FactionClient';
|
|
12
|
+
import { FittingsClient } from '../clients/FittingsClient';
|
|
13
|
+
import { FleetClient } from '../clients/FleetClient';
|
|
14
|
+
import { IncursionsClient } from '../clients/IncursionsClient';
|
|
15
|
+
import { IndustryClient } from '../clients/IndustryClient';
|
|
16
|
+
import { InsuranceClient } from '../clients/InsuranceClient';
|
|
17
|
+
import { KillmailsClient } from '../clients/KillmailsClient';
|
|
18
|
+
import { LocationClient } from '../clients/LocationClient';
|
|
19
|
+
import { LoyaltyClient } from '../clients/LoyaltyClient';
|
|
20
|
+
import { MailClient } from '../clients/MailClient';
|
|
21
|
+
import { MarketClient } from '../clients/MarketClient';
|
|
22
|
+
import { PiClient } from '../clients/PiClient';
|
|
23
|
+
import { RouteClient } from '../clients/RouteClient';
|
|
24
|
+
import { SearchClient } from '../clients/SearchClient';
|
|
25
|
+
import { CharacterSkillsClient } from '../clients/SkillsClient';
|
|
26
|
+
import { SovereigntyClient } from '../clients/SovereigntyClient';
|
|
27
|
+
import { StatusClient } from '../clients/StatusClient';
|
|
28
|
+
import { UiClient } from '../clients/UiClient';
|
|
29
|
+
import { UniverseClient } from '../clients/UniverseClient';
|
|
30
|
+
import { WalletClient } from '../clients/WalletClient';
|
|
31
|
+
import { WarsClient } from '../clients/WarsClient';
|
|
32
|
+
import { MetaClient } from '../clients/MetaClient';
|
|
33
|
+
import { FreelanceJobsClient } from '../clients/FreelanceJobsClient';
|
|
34
|
+
export type ApiClientType = 'alliance' | 'assets' | 'calendar' | 'characters' | 'clones' | 'contacts' | 'contracts' | 'corporations' | 'dogma' | 'factions' | 'fittings' | 'fleets' | 'incursions' | 'industry' | 'insurance' | 'killmails' | 'location' | 'loyalty' | 'mail' | 'market' | 'pi' | 'route' | 'search' | 'skills' | 'sovereignty' | 'status' | 'ui' | 'universe' | 'wallet' | 'wars' | 'meta' | 'freelanceJobs';
|
|
35
|
+
export type ClientInstance = AllianceClient | AssetsClient | CalendarClient | CharacterClient | ClonesClient | ContactsClient | ContractsClient | CorporationsClient | DogmaClient | FactionClient | FittingsClient | FleetClient | IncursionsClient | IndustryClient | InsuranceClient | KillmailsClient | LocationClient | LoyaltyClient | MailClient | MarketClient | PiClient | RouteClient | SearchClient | CharacterSkillsClient | SovereigntyClient | StatusClient | UiClient | UniverseClient | WalletClient | WarsClient | MetaClient | FreelanceJobsClient;
|
|
36
|
+
export declare function createClientInstance(name: ApiClientType, apiClient: ApiClient): ClientInstance;
|
|
37
|
+
export declare const allClientTypes: ApiClientType[];
|
|
38
|
+
export { AllianceClient, AssetsClient, CalendarClient, CharacterClient, ClonesClient, ContactsClient, ContractsClient, CorporationsClient, DogmaClient, FactionClient, FittingsClient, FleetClient, IncursionsClient, IndustryClient, InsuranceClient, KillmailsClient, LocationClient, LoyaltyClient, MailClient, MarketClient, PiClient, RouteClient, SearchClient, CharacterSkillsClient, SovereigntyClient, StatusClient, UiClient, UniverseClient, WalletClient, WarsClient, MetaClient, FreelanceJobsClient, };
|
|
39
|
+
//# sourceMappingURL=ClientRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientRegistry.d.ts","sourceRoot":"","sources":["../../src/core/ClientRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,WAAW,GACX,cAAc,GACd,OAAO,GACP,UAAU,GACV,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,WAAW,GACX,WAAW,GACX,UAAU,GACV,SAAS,GACT,MAAM,GACN,QAAQ,GACR,IAAI,GACJ,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,IAAI,GACJ,UAAU,GACV,QAAQ,GACR,MAAM,GACN,MAAM,GACN,eAAe,CAAC;AAEpB,MAAM,MAAM,cAAc,GACtB,cAAc,GACd,YAAY,GACZ,cAAc,GACd,eAAe,GACf,YAAY,GACZ,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,WAAW,GACX,aAAa,GACb,cAAc,GACd,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,eAAe,GACf,cAAc,GACd,aAAa,GACb,UAAU,GACV,YAAY,GACZ,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,qBAAqB,GACrB,iBAAiB,GACjB,YAAY,GACZ,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,UAAU,GACV,UAAU,GACV,mBAAmB,CAAC;AAwCxB,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,aAAa,EACnB,SAAS,EAAE,SAAS,GACnB,cAAc,CAGhB;AAED,eAAO,MAAM,cAAc,EAAE,aAAa,EAEtB,CAAC;AAGrB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,UAAU,EACV,UAAU,EACV,mBAAmB,GACpB,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FreelanceJobsClient = exports.MetaClient = exports.WarsClient = exports.WalletClient = exports.UniverseClient = exports.UiClient = exports.StatusClient = exports.SovereigntyClient = exports.CharacterSkillsClient = exports.SearchClient = exports.RouteClient = exports.PiClient = exports.MarketClient = exports.MailClient = exports.LoyaltyClient = exports.LocationClient = exports.KillmailsClient = exports.InsuranceClient = exports.IndustryClient = exports.IncursionsClient = exports.FleetClient = exports.FittingsClient = exports.FactionClient = exports.DogmaClient = exports.CorporationsClient = exports.ContractsClient = exports.ContactsClient = exports.ClonesClient = exports.CharacterClient = exports.CalendarClient = exports.AssetsClient = exports.AllianceClient = exports.allClientTypes = void 0;
|
|
4
|
+
exports.createClientInstance = createClientInstance;
|
|
5
|
+
const AllianceClient_1 = require("../clients/AllianceClient");
|
|
6
|
+
Object.defineProperty(exports, "AllianceClient", { enumerable: true, get: function () { return AllianceClient_1.AllianceClient; } });
|
|
7
|
+
const AssetsClient_1 = require("../clients/AssetsClient");
|
|
8
|
+
Object.defineProperty(exports, "AssetsClient", { enumerable: true, get: function () { return AssetsClient_1.AssetsClient; } });
|
|
9
|
+
const CalendarClient_1 = require("../clients/CalendarClient");
|
|
10
|
+
Object.defineProperty(exports, "CalendarClient", { enumerable: true, get: function () { return CalendarClient_1.CalendarClient; } });
|
|
11
|
+
const CharacterClient_1 = require("../clients/CharacterClient");
|
|
12
|
+
Object.defineProperty(exports, "CharacterClient", { enumerable: true, get: function () { return CharacterClient_1.CharacterClient; } });
|
|
13
|
+
const ClonesClient_1 = require("../clients/ClonesClient");
|
|
14
|
+
Object.defineProperty(exports, "ClonesClient", { enumerable: true, get: function () { return ClonesClient_1.ClonesClient; } });
|
|
15
|
+
const ContactsClient_1 = require("../clients/ContactsClient");
|
|
16
|
+
Object.defineProperty(exports, "ContactsClient", { enumerable: true, get: function () { return ContactsClient_1.ContactsClient; } });
|
|
17
|
+
const ContractsClient_1 = require("../clients/ContractsClient");
|
|
18
|
+
Object.defineProperty(exports, "ContractsClient", { enumerable: true, get: function () { return ContractsClient_1.ContractsClient; } });
|
|
19
|
+
const CorporationsClient_1 = require("../clients/CorporationsClient");
|
|
20
|
+
Object.defineProperty(exports, "CorporationsClient", { enumerable: true, get: function () { return CorporationsClient_1.CorporationsClient; } });
|
|
21
|
+
const DogmaClient_1 = require("../clients/DogmaClient");
|
|
22
|
+
Object.defineProperty(exports, "DogmaClient", { enumerable: true, get: function () { return DogmaClient_1.DogmaClient; } });
|
|
23
|
+
const FactionClient_1 = require("../clients/FactionClient");
|
|
24
|
+
Object.defineProperty(exports, "FactionClient", { enumerable: true, get: function () { return FactionClient_1.FactionClient; } });
|
|
25
|
+
const FittingsClient_1 = require("../clients/FittingsClient");
|
|
26
|
+
Object.defineProperty(exports, "FittingsClient", { enumerable: true, get: function () { return FittingsClient_1.FittingsClient; } });
|
|
27
|
+
const FleetClient_1 = require("../clients/FleetClient");
|
|
28
|
+
Object.defineProperty(exports, "FleetClient", { enumerable: true, get: function () { return FleetClient_1.FleetClient; } });
|
|
29
|
+
const IncursionsClient_1 = require("../clients/IncursionsClient");
|
|
30
|
+
Object.defineProperty(exports, "IncursionsClient", { enumerable: true, get: function () { return IncursionsClient_1.IncursionsClient; } });
|
|
31
|
+
const IndustryClient_1 = require("../clients/IndustryClient");
|
|
32
|
+
Object.defineProperty(exports, "IndustryClient", { enumerable: true, get: function () { return IndustryClient_1.IndustryClient; } });
|
|
33
|
+
const InsuranceClient_1 = require("../clients/InsuranceClient");
|
|
34
|
+
Object.defineProperty(exports, "InsuranceClient", { enumerable: true, get: function () { return InsuranceClient_1.InsuranceClient; } });
|
|
35
|
+
const KillmailsClient_1 = require("../clients/KillmailsClient");
|
|
36
|
+
Object.defineProperty(exports, "KillmailsClient", { enumerable: true, get: function () { return KillmailsClient_1.KillmailsClient; } });
|
|
37
|
+
const LocationClient_1 = require("../clients/LocationClient");
|
|
38
|
+
Object.defineProperty(exports, "LocationClient", { enumerable: true, get: function () { return LocationClient_1.LocationClient; } });
|
|
39
|
+
const LoyaltyClient_1 = require("../clients/LoyaltyClient");
|
|
40
|
+
Object.defineProperty(exports, "LoyaltyClient", { enumerable: true, get: function () { return LoyaltyClient_1.LoyaltyClient; } });
|
|
41
|
+
const MailClient_1 = require("../clients/MailClient");
|
|
42
|
+
Object.defineProperty(exports, "MailClient", { enumerable: true, get: function () { return MailClient_1.MailClient; } });
|
|
43
|
+
const MarketClient_1 = require("../clients/MarketClient");
|
|
44
|
+
Object.defineProperty(exports, "MarketClient", { enumerable: true, get: function () { return MarketClient_1.MarketClient; } });
|
|
45
|
+
const PiClient_1 = require("../clients/PiClient");
|
|
46
|
+
Object.defineProperty(exports, "PiClient", { enumerable: true, get: function () { return PiClient_1.PiClient; } });
|
|
47
|
+
const RouteClient_1 = require("../clients/RouteClient");
|
|
48
|
+
Object.defineProperty(exports, "RouteClient", { enumerable: true, get: function () { return RouteClient_1.RouteClient; } });
|
|
49
|
+
const SearchClient_1 = require("../clients/SearchClient");
|
|
50
|
+
Object.defineProperty(exports, "SearchClient", { enumerable: true, get: function () { return SearchClient_1.SearchClient; } });
|
|
51
|
+
const SkillsClient_1 = require("../clients/SkillsClient");
|
|
52
|
+
Object.defineProperty(exports, "CharacterSkillsClient", { enumerable: true, get: function () { return SkillsClient_1.CharacterSkillsClient; } });
|
|
53
|
+
const SovereigntyClient_1 = require("../clients/SovereigntyClient");
|
|
54
|
+
Object.defineProperty(exports, "SovereigntyClient", { enumerable: true, get: function () { return SovereigntyClient_1.SovereigntyClient; } });
|
|
55
|
+
const StatusClient_1 = require("../clients/StatusClient");
|
|
56
|
+
Object.defineProperty(exports, "StatusClient", { enumerable: true, get: function () { return StatusClient_1.StatusClient; } });
|
|
57
|
+
const UiClient_1 = require("../clients/UiClient");
|
|
58
|
+
Object.defineProperty(exports, "UiClient", { enumerable: true, get: function () { return UiClient_1.UiClient; } });
|
|
59
|
+
const UniverseClient_1 = require("../clients/UniverseClient");
|
|
60
|
+
Object.defineProperty(exports, "UniverseClient", { enumerable: true, get: function () { return UniverseClient_1.UniverseClient; } });
|
|
61
|
+
const WalletClient_1 = require("../clients/WalletClient");
|
|
62
|
+
Object.defineProperty(exports, "WalletClient", { enumerable: true, get: function () { return WalletClient_1.WalletClient; } });
|
|
63
|
+
const WarsClient_1 = require("../clients/WarsClient");
|
|
64
|
+
Object.defineProperty(exports, "WarsClient", { enumerable: true, get: function () { return WarsClient_1.WarsClient; } });
|
|
65
|
+
const MetaClient_1 = require("../clients/MetaClient");
|
|
66
|
+
Object.defineProperty(exports, "MetaClient", { enumerable: true, get: function () { return MetaClient_1.MetaClient; } });
|
|
67
|
+
const FreelanceJobsClient_1 = require("../clients/FreelanceJobsClient");
|
|
68
|
+
Object.defineProperty(exports, "FreelanceJobsClient", { enumerable: true, get: function () { return FreelanceJobsClient_1.FreelanceJobsClient; } });
|
|
69
|
+
const clientFactories = {
|
|
70
|
+
alliance: AllianceClient_1.AllianceClient,
|
|
71
|
+
assets: AssetsClient_1.AssetsClient,
|
|
72
|
+
calendar: CalendarClient_1.CalendarClient,
|
|
73
|
+
characters: CharacterClient_1.CharacterClient,
|
|
74
|
+
clones: ClonesClient_1.ClonesClient,
|
|
75
|
+
contacts: ContactsClient_1.ContactsClient,
|
|
76
|
+
contracts: ContractsClient_1.ContractsClient,
|
|
77
|
+
corporations: CorporationsClient_1.CorporationsClient,
|
|
78
|
+
dogma: DogmaClient_1.DogmaClient,
|
|
79
|
+
factions: FactionClient_1.FactionClient,
|
|
80
|
+
fittings: FittingsClient_1.FittingsClient,
|
|
81
|
+
fleets: FleetClient_1.FleetClient,
|
|
82
|
+
incursions: IncursionsClient_1.IncursionsClient,
|
|
83
|
+
industry: IndustryClient_1.IndustryClient,
|
|
84
|
+
insurance: InsuranceClient_1.InsuranceClient,
|
|
85
|
+
killmails: KillmailsClient_1.KillmailsClient,
|
|
86
|
+
location: LocationClient_1.LocationClient,
|
|
87
|
+
loyalty: LoyaltyClient_1.LoyaltyClient,
|
|
88
|
+
mail: MailClient_1.MailClient,
|
|
89
|
+
market: MarketClient_1.MarketClient,
|
|
90
|
+
pi: PiClient_1.PiClient,
|
|
91
|
+
route: RouteClient_1.RouteClient,
|
|
92
|
+
search: SearchClient_1.SearchClient,
|
|
93
|
+
skills: SkillsClient_1.CharacterSkillsClient,
|
|
94
|
+
sovereignty: SovereigntyClient_1.SovereigntyClient,
|
|
95
|
+
status: StatusClient_1.StatusClient,
|
|
96
|
+
ui: UiClient_1.UiClient,
|
|
97
|
+
universe: UniverseClient_1.UniverseClient,
|
|
98
|
+
wallet: WalletClient_1.WalletClient,
|
|
99
|
+
wars: WarsClient_1.WarsClient,
|
|
100
|
+
meta: MetaClient_1.MetaClient,
|
|
101
|
+
freelanceJobs: FreelanceJobsClient_1.FreelanceJobsClient,
|
|
102
|
+
};
|
|
103
|
+
function createClientInstance(name, apiClient) {
|
|
104
|
+
// eslint-disable-next-line security/detect-object-injection
|
|
105
|
+
return new clientFactories[name](apiClient);
|
|
106
|
+
}
|
|
107
|
+
exports.allClientTypes = Object.keys(clientFactories);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ApiClient } from './ApiClient';
|
|
2
|
+
import { ETagCacheConfig } from './cache/ETagCacheManager';
|
|
3
|
+
import { RequestDeduplicator } from './RequestDeduplicator';
|
|
4
|
+
export interface CacheStats {
|
|
5
|
+
totalEntries: number;
|
|
6
|
+
maxEntries: number;
|
|
7
|
+
hits: number;
|
|
8
|
+
misses: number;
|
|
9
|
+
hitRate: number;
|
|
10
|
+
oldestEntry: number | null;
|
|
11
|
+
newestEntry: number | null;
|
|
12
|
+
}
|
|
13
|
+
export interface CircuitBreakerStats {
|
|
14
|
+
totalCircuits: number;
|
|
15
|
+
openCircuits: number;
|
|
16
|
+
circuits: Record<string, {
|
|
17
|
+
state: 'closed' | 'open' | 'half-open';
|
|
18
|
+
failures: number;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
21
|
+
export declare class EsiDiagnostics {
|
|
22
|
+
private apiClient;
|
|
23
|
+
private etagCacheEnabled;
|
|
24
|
+
private deduplicator;
|
|
25
|
+
constructor(apiClient: ApiClient, etagCacheEnabled: boolean, deduplicator: RequestDeduplicator | null);
|
|
26
|
+
getCacheStats(): CacheStats | null;
|
|
27
|
+
clearCache(): void;
|
|
28
|
+
updateCacheConfig(newConfig: Partial<ETagCacheConfig>): void;
|
|
29
|
+
getCircuitBreakerStats(): CircuitBreakerStats | null;
|
|
30
|
+
resetCircuitBreaker(endpoint?: string): void;
|
|
31
|
+
getDeduplicatorStats(): {
|
|
32
|
+
pendingRequests: number;
|
|
33
|
+
} | null;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=EsiDiagnostics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EsiDiagnostics.d.ts","sourceRoot":"","sources":["../../src/core/EsiDiagnostics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAoB,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CACd,MAAM,EACN;QAAE,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAC7D,CAAC;CACH;AAED,qBAAa,cAAc;IAEvB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,YAAY;gBAFZ,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,OAAO,EACzB,YAAY,EAAE,mBAAmB,GAAG,IAAI;IAGlD,aAAa,IAAI,UAAU,GAAG,IAAI;IAMlC,UAAU,IAAI,IAAI;IAOlB,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,IAAI;IAO5D,sBAAsB,IAAI,mBAAmB,GAAG,IAAI;IAKpD,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI;IAO5C,oBAAoB,IAAI;QAAE,eAAe,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CAK3D"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EsiDiagnostics = void 0;
|
|
4
|
+
class EsiDiagnostics {
|
|
5
|
+
apiClient;
|
|
6
|
+
etagCacheEnabled;
|
|
7
|
+
deduplicator;
|
|
8
|
+
constructor(apiClient, etagCacheEnabled, deduplicator) {
|
|
9
|
+
this.apiClient = apiClient;
|
|
10
|
+
this.etagCacheEnabled = etagCacheEnabled;
|
|
11
|
+
this.deduplicator = deduplicator;
|
|
12
|
+
}
|
|
13
|
+
getCacheStats() {
|
|
14
|
+
if (!this.etagCacheEnabled)
|
|
15
|
+
return null;
|
|
16
|
+
const cache = this.apiClient.getCache();
|
|
17
|
+
return cache ? cache.getStats() : null;
|
|
18
|
+
}
|
|
19
|
+
clearCache() {
|
|
20
|
+
const cache = this.apiClient.getCache();
|
|
21
|
+
if (cache) {
|
|
22
|
+
cache.clear();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
updateCacheConfig(newConfig) {
|
|
26
|
+
const cache = this.apiClient.getCache();
|
|
27
|
+
if (cache) {
|
|
28
|
+
cache.updateConfig(newConfig);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
getCircuitBreakerStats() {
|
|
32
|
+
const cb = this.apiClient.getCircuitBreaker();
|
|
33
|
+
return cb ? cb.getStats() : null;
|
|
34
|
+
}
|
|
35
|
+
resetCircuitBreaker(endpoint) {
|
|
36
|
+
const cb = this.apiClient.getCircuitBreaker();
|
|
37
|
+
if (cb) {
|
|
38
|
+
cb.reset(endpoint);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
getDeduplicatorStats() {
|
|
42
|
+
return this.deduplicator
|
|
43
|
+
? { pendingRequests: this.deduplicator.pending }
|
|
44
|
+
: null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.EsiDiagnostics = EsiDiagnostics;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestDeduplicator.d.ts","sourceRoot":"","sources":["../../src/core/RequestDeduplicator.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAuC;IAEjD,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAenE,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,KAAK,IAAI,IAAI;CAGd"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RequestDeduplicator = void 0;
|
|
4
|
+
const loggerUtil_1 = require("./logger/loggerUtil");
|
|
5
|
+
class RequestDeduplicator {
|
|
6
|
+
inflight = new Map();
|
|
7
|
+
async dedupe(key, execute) {
|
|
8
|
+
const existing = this.inflight.get(key);
|
|
9
|
+
if (existing) {
|
|
10
|
+
(0, loggerUtil_1.logDebug)(`[Dedup] Coalescing request: ${key}`);
|
|
11
|
+
return existing;
|
|
12
|
+
}
|
|
13
|
+
const promise = execute().finally(() => {
|
|
14
|
+
this.inflight.delete(key);
|
|
15
|
+
});
|
|
16
|
+
this.inflight.set(key, promise);
|
|
17
|
+
return promise;
|
|
18
|
+
}
|
|
19
|
+
get pending() {
|
|
20
|
+
return this.inflight.size;
|
|
21
|
+
}
|
|
22
|
+
clear() {
|
|
23
|
+
this.inflight.clear();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.RequestDeduplicator = RequestDeduplicator;
|