@lgriffin/esi.ts 1.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +26 -0
- package/README.md +555 -125
- package/dist/EsiClient.d.ts +111 -0
- package/dist/EsiClient.d.ts.map +1 -0
- package/dist/EsiClient.js +223 -0
- package/dist/EsiClientBuilder.d.ts +71 -0
- package/dist/EsiClientBuilder.d.ts.map +1 -0
- package/dist/EsiClientBuilder.js +208 -0
- package/dist/api/alliances/getAllianceById.js +17 -0
- package/dist/api/alliances/getAllianceContactLabels.js +13 -0
- package/dist/api/alliances/getAllianceContacts.js +13 -0
- package/dist/api/alliances/getAllianceCorporations.js +13 -0
- package/dist/api/alliances/getAllianceIcons.js +13 -0
- package/dist/api/alliances/getAlliances.js +13 -0
- package/dist/api/assets/getCharacterAssets.js +13 -0
- package/dist/api/assets/getCorporationAssets.js +13 -0
- package/dist/api/assets/postCharacterAssetLocations.js +13 -0
- package/dist/api/assets/postCharacterAssetNames.js +13 -0
- package/dist/api/assets/postCorporationAssetLocations.js +13 -0
- package/dist/api/assets/postCorporationAssetNames.js +13 -0
- package/dist/api/bookmarks/getCharacterBookmarkFolders.js +13 -0
- package/dist/api/bookmarks/getCharacterBookmarks.js +13 -0
- package/dist/api/bookmarks/getCorporationBookmarkFolders.js +13 -0
- package/dist/api/bookmarks/getCorporationBookmarks.js +13 -0
- package/dist/api/calendar/getCalendarEventById.js +13 -0
- package/dist/api/calendar/getCalendarEvents.js +13 -0
- package/dist/api/calendar/getEventAttendees.js +13 -0
- package/dist/api/calendar/respondToCalendarEvent.js +14 -0
- package/dist/api/characters/getAgentsResearch.js +13 -0
- package/dist/api/characters/getBlueprints.js +13 -0
- package/dist/api/characters/getCharacterPublicInfo.js +13 -0
- package/dist/api/characters/getCharacterRoles.js +13 -0
- package/dist/api/characters/getCharacterStandings.js +13 -0
- package/dist/api/characters/getCharacterTitles.js +13 -0
- package/dist/api/characters/getContactNotifications.js +13 -0
- package/dist/api/characters/getCorporationHistory.js +13 -0
- package/dist/api/characters/getJumpFatigue.js +13 -0
- package/dist/api/characters/getMedals.js +13 -0
- package/dist/api/characters/getNotifications.js +13 -0
- package/dist/api/characters/getPortrait.js +13 -0
- package/dist/api/characters/postCSPAChargeCost.js +13 -0
- package/dist/api/characters/postCharacterAffiliations.js +14 -0
- package/dist/api/clones/getClones.js +14 -0
- package/dist/api/clones/getImplants.js +14 -0
- package/dist/api/clones/postJumpCloneActivation.js +14 -0
- package/dist/api/contacts/deleteCharacterContacts.js +13 -0
- package/dist/api/contacts/getAllianceContactLabels.js +13 -0
- package/dist/api/contacts/getAllianceContacts.js +13 -0
- package/dist/api/contacts/getCharacterContactLabels.js +13 -0
- package/dist/api/contacts/getCharacterContacts.js +13 -0
- package/dist/api/contacts/getCorporationContactLabels.js +13 -0
- package/dist/api/contacts/getCorporationContacts.js +13 -0
- package/dist/api/contacts/postCharacterContacts.js +13 -0
- package/dist/api/contacts/putCharacterContacts.js +13 -0
- package/dist/api/contracts/getCharacterContractBids.js +13 -0
- package/dist/api/contracts/getCharacterContractItems.js +13 -0
- package/dist/api/contracts/getCharacterContracts.js +13 -0
- package/dist/api/contracts/getCorporationContractBids.js +13 -0
- package/dist/api/contracts/getCorporationContractItems.js +13 -0
- package/dist/api/contracts/getCorporationContracts.js +13 -0
- package/dist/api/contracts/getPublicContractBids.js +13 -0
- package/dist/api/contracts/getPublicContractItems.js +13 -0
- package/dist/api/contracts/getPublicContracts.js +13 -0
- package/dist/api/corporations/getCorporationAllianceHistory.js +13 -0
- package/dist/api/corporations/getCorporationAlscLogs.js +13 -0
- package/dist/api/corporations/getCorporationBlueprints.js +13 -0
- package/dist/api/corporations/getCorporationDivisions.js +13 -0
- package/dist/api/corporations/getCorporationFacilities.js +13 -0
- package/dist/api/corporations/getCorporationIcon.js +13 -0
- package/dist/api/corporations/getCorporationInfo.js +13 -0
- package/dist/api/corporations/getCorporationIssuedMedals.js +13 -0
- package/dist/api/corporations/getCorporationMedals.js +13 -0
- package/dist/api/corporations/getCorporationMemberLimit.js +13 -0
- package/dist/api/corporations/getCorporationMemberRoles.js +13 -0
- package/dist/api/corporations/getCorporationMemberRolesHistory.js +13 -0
- package/dist/api/corporations/getCorporationMemberTracking.js +13 -0
- package/dist/api/corporations/getCorporationMembers.js +13 -0
- package/dist/api/corporations/getCorporationMembersTitles.js +13 -0
- package/dist/api/corporations/getCorporationProjects.js +13 -0
- package/dist/api/corporations/getCorporationShareholders.js +13 -0
- package/dist/api/corporations/getCorporationStandings.js +13 -0
- package/dist/api/corporations/getCorporationStarbaseDetail.js +13 -0
- package/dist/api/corporations/getCorporationStarbases.js +13 -0
- package/dist/api/corporations/getCorporationStructures.js +13 -0
- package/dist/api/corporations/getCorporationTitles.js +13 -0
- package/dist/api/corporations/getNpcCorporations.js +13 -0
- package/dist/api/dogma/getDogmaAttributeById.js +13 -0
- package/dist/api/dogma/getDogmaAttributes.js +13 -0
- package/dist/api/dogma/getDogmaDynamicItemAttributes.js +13 -0
- package/dist/api/dogma/getDogmaEffectById.js +13 -0
- package/dist/api/dogma/getDogmaEffects.js +13 -0
- package/dist/api/factions/getCharacterFactionWarfareStats.js +13 -0
- package/dist/api/factions/getCharacterLeaderboards.js +13 -0
- package/dist/api/factions/getCorporationFactionWarfareStats.js +13 -0
- package/dist/api/factions/getCorporationLeaderboards.js +13 -0
- package/dist/api/factions/getFactionLeaderboards.js +13 -0
- package/dist/api/factions/getFactionWarfareStats.js +13 -0
- package/dist/api/factions/getFactionWarfareSystems.js +13 -0
- package/dist/api/factions/getFactionWarfareWars.js +13 -0
- package/dist/api/fittings/deleteCharacterFitting.js +13 -0
- package/dist/api/fittings/getCharacterFittings.js +13 -0
- package/dist/api/fittings/postCharacterFittings.js +13 -0
- package/dist/api/fleets/deleteFleetMember.js +13 -0
- package/dist/api/fleets/deleteFleetSquad.js +13 -0
- package/dist/api/fleets/deleteFleetWing.js +13 -0
- package/dist/api/fleets/getCharacterFleetInfo.js +13 -0
- package/dist/api/fleets/getFleetInfo.js +13 -0
- package/dist/api/fleets/getFleetMembers.js +13 -0
- package/dist/api/fleets/getFleetWings.js +13 -0
- package/dist/api/fleets/postFleetInvitation.js +13 -0
- package/dist/api/fleets/postFleetSquad.js +14 -0
- package/dist/api/fleets/postFleetWing.js +13 -0
- package/dist/api/fleets/putFleetMember.js +13 -0
- package/dist/api/fleets/putFleetSquad.js +13 -0
- package/dist/api/fleets/putFleetWing.js +14 -0
- package/dist/api/fleets/updateFleet.js +13 -0
- package/dist/api/incursions/getIncursions.js +13 -0
- package/dist/api/industry/getCharacterIndustryJobs.js +13 -0
- package/dist/api/industry/getCharacterMiningLedger.js +13 -0
- package/dist/api/industry/getCorporationIndustryJobs.js +13 -0
- package/dist/api/industry/getCorporationMiningObserver.js +13 -0
- package/dist/api/industry/getCorporationMiningObservers.js +13 -0
- package/dist/api/industry/getIndustryFacilities.js +13 -0
- package/dist/api/industry/getIndustrySystems.js +13 -0
- package/dist/api/industry/getMoonExtractionTimers.js +13 -0
- package/dist/api/insurance/getInsurancePrices.js +13 -0
- package/dist/api/killmails/getCharacterRecentKillmails.js +13 -0
- package/dist/api/killmails/getCorporationRecentKillmails.js +13 -0
- package/dist/api/killmails/getKillmail.js +13 -0
- package/dist/api/location/getCharacterLocation.js +13 -0
- package/dist/api/location/getCharacterOnline.js +13 -0
- package/dist/api/location/getCharacterShip.js +13 -0
- package/dist/api/loyalty/getLoyaltyPoints.js +13 -0
- package/dist/api/loyalty/getLoyaltyStoreOffers.js +13 -0
- package/dist/api/mail/deleteCharacterMail.js +13 -0
- package/dist/api/mail/deleteCharacterMailLabel.js +13 -0
- package/dist/api/mail/deleteCharacterMailLabel.test.js +21 -0
- package/dist/api/mail/getCharacerMailingLists.test.js +33 -0
- package/dist/api/mail/getCharacterMail.js +13 -0
- package/dist/api/mail/getCharacterMailHeaders.js +13 -0
- package/dist/api/mail/getCharacterMailLabels.js +13 -0
- package/dist/api/mail/getCharacterMailingLists.js +13 -0
- package/dist/api/mail/postCharacterMail.js +13 -0
- package/dist/api/mail/postCharacterMailLabels.js +13 -0
- package/dist/api/mail/putCharacterMail.js +13 -0
- package/dist/api/market/getCharacterOrderHistory.js +13 -0
- package/dist/api/market/getCharacterOrders.js +13 -0
- package/dist/api/market/getCorporationOrderHistory.js +13 -0
- package/dist/api/market/getCorporationOrders.js +13 -0
- package/dist/api/market/getMarketGroupInformation.js +13 -0
- package/dist/api/market/getMarketGroups.js +13 -0
- package/dist/api/market/getMarketHistory.js +13 -0
- package/dist/api/market/getMarketOrders.js +13 -0
- package/dist/api/market/getMarketOrdersInStructure.js +13 -0
- package/dist/api/market/getMarketPrices.js +13 -0
- package/dist/api/market/getMarketTypes.js +13 -0
- package/dist/api/meta/getSwaggerJson.js +13 -0
- package/dist/api/meta/getSwaggerYaml.js +37 -0
- package/dist/api/opportunities/getCharacterOpportunities.js +13 -0
- package/dist/api/opportunities/getOpportunitiesGroupById.js +13 -0
- package/dist/api/opportunities/getOpportunitiesGroups.js +13 -0
- package/dist/api/opportunities/getOpportunitiesTaskById.js +13 -0
- package/dist/api/opportunities/getOpportunitiesTasks.js +13 -0
- package/dist/api/pi/getColonies.js +13 -0
- package/dist/api/pi/getColonyLayout.js +13 -0
- package/dist/api/pi/getCorporationCustomsOffices.js +13 -0
- package/dist/api/pi/getSchematicInformation.js +13 -0
- package/dist/api/route/getRoute.js +13 -0
- package/dist/api/search/getCharacterSearch.js +13 -0
- package/dist/api/skills/getCharacterAttributes.js +13 -0
- package/dist/api/skills/getCharacterSkillQueue.js +13 -0
- package/dist/api/skills/getCharacterSkills.js +13 -0
- package/dist/api/sovereignty/getSovereigntyCampaigns.js +13 -0
- package/dist/api/sovereignty/getSovereigntyMap.js +13 -0
- package/dist/api/sovereignty/getSovereigntyStructures.js +13 -0
- package/dist/api/status/getStatus.js +13 -0
- package/dist/api/ui/postAutopilotWaypoint.js +13 -0
- package/dist/api/ui/postOpenContractWindow.js +13 -0
- package/dist/api/ui/postOpenInformationWindow.js +13 -0
- package/dist/api/ui/postOpenMarketDetailsWindow.js +13 -0
- package/dist/api/ui/postOpenNewMailWindow.js +13 -0
- package/dist/api/universe/getAncestries.js +13 -0
- package/dist/api/universe/getAsteroidBeltInfo.js +13 -0
- package/dist/api/universe/getBloodlines.js +13 -0
- package/dist/api/universe/getConstellationById.js +13 -0
- package/dist/api/universe/getConstellations.js +13 -0
- package/dist/api/universe/getFactions.js +13 -0
- package/dist/api/universe/getGraphicById.js +13 -0
- package/dist/api/universe/getGraphics.js +13 -0
- package/dist/api/universe/getItemCategories.js +13 -0
- package/dist/api/universe/getItemCategoryById.js +13 -0
- package/dist/api/universe/getItemGroupById.js +13 -0
- package/dist/api/universe/getItemGroups.js +13 -0
- package/dist/api/universe/getMoonById.js +13 -0
- package/dist/api/universe/getPlanetById.js +13 -0
- package/dist/api/universe/getRaces.js +13 -0
- package/dist/api/universe/getRegionById.js +13 -0
- package/dist/api/universe/getRegions.js +13 -0
- package/dist/api/universe/getSchematicById.js +13 -0
- package/dist/api/universe/getStarById.js +13 -0
- package/dist/api/universe/getStargateById.js +13 -0
- package/dist/api/universe/getStationById.js +13 -0
- package/dist/api/universe/getStructureById.js +13 -0
- package/dist/api/universe/getStructures.js +13 -0
- package/dist/api/universe/getSystemById.js +13 -0
- package/dist/api/universe/getSystemJumps.js +13 -0
- package/dist/api/universe/getSystemKills.js +13 -0
- package/dist/api/universe/getSystems.js +13 -0
- package/dist/api/universe/getTypeById.js +13 -0
- package/dist/api/universe/getTypes.js +13 -0
- package/dist/api/universe/postBulkNamesToIds.js +14 -0
- package/dist/api/universe/postNamesAndCategories.js +14 -0
- package/dist/api/wallet/getCharacterWallet.js +13 -0
- package/dist/api/wallet/getCharacterWalletJournal.js +13 -0
- package/dist/api/wallet/getCharacterWalletTransactions.js +13 -0
- package/dist/api/wallet/getCorporationWalletJournal.js +13 -0
- package/dist/api/wallet/getCorporationWalletTransactions.js +13 -0
- package/dist/api/wallet/getCorporationWallets.js +13 -0
- package/dist/api/wars/getWarById.js +13 -0
- package/dist/api/wars/getWarKillmails.js +13 -0
- package/dist/api/wars/getWars.js +13 -0
- package/dist/builders/AllianceApiBuilder.js +13 -0
- package/dist/builders/AssetsApiBuilder.js +13 -0
- package/dist/builders/BookmarkApiBuilder.js +13 -0
- package/dist/builders/CalendarApiBuilder.js +13 -0
- package/dist/builders/CharacterApiBuilder.js +13 -0
- package/dist/builders/ClonesApiBuilder.js +13 -0
- package/dist/builders/ContactsApiBuilder.js +13 -0
- package/dist/builders/ContractsApiBuilder.js +13 -0
- package/dist/builders/CorporationsApiBuilder.js +13 -0
- package/dist/builders/DogmaApiBuilder.js +13 -0
- package/dist/builders/FactionApiBuilder.js +13 -0
- package/dist/builders/FittingsApiBuilder.js +13 -0
- package/dist/builders/FleetApiBuilder.js +13 -0
- package/dist/builders/IncursionsApiBuilder.js +13 -0
- package/dist/builders/IndustryApiBuilder.js +13 -0
- package/dist/builders/InsuranceApiBuilder.js +13 -0
- package/dist/builders/KillmailsBuilder.js +13 -0
- package/dist/builders/LocationApiBuilder.js +13 -0
- package/dist/builders/LoyaltyApiBuilder.js +13 -0
- package/dist/builders/MailApiBuilder.js +13 -0
- package/dist/builders/MarketApiBuilder.js +13 -0
- package/dist/builders/MetaApiBuilder.js +13 -0
- package/dist/builders/OpportunitiesApiBuilder.js +13 -0
- package/dist/builders/PiApiBuilder.js +13 -0
- package/dist/builders/RouteApiBuilder.js +13 -0
- package/dist/builders/SearchApiBuilder.js +13 -0
- package/dist/builders/SkillsApiBuilder.js +13 -0
- package/dist/builders/SovereigntyApiBuilder.js +13 -0
- package/dist/builders/StatusApiBuilder.js +13 -0
- package/dist/builders/UiApiBuilder.js +13 -0
- package/dist/builders/UniverseApiBuilder.js +13 -0
- package/dist/builders/WalletApiBuilder.js +13 -0
- package/dist/builders/WarsAPIBuilder.js +13 -0
- package/dist/clients/AllianceClient.d.ts +52 -0
- package/dist/clients/AllianceClient.d.ts.map +1 -0
- package/dist/clients/AllianceClient.js +70 -0
- package/dist/clients/AssetsClient.d.ts +60 -0
- package/dist/clients/AssetsClient.d.ts.map +1 -0
- package/dist/clients/AssetsClient.js +75 -0
- package/dist/clients/BaseEsiClient.d.ts +14 -0
- package/dist/clients/BaseEsiClient.d.ts.map +1 -0
- package/dist/clients/BaseEsiClient.js +24 -0
- package/dist/clients/BookmarkClient.js +28 -0
- package/dist/clients/CalendarClient.d.ts +43 -0
- package/dist/clients/CalendarClient.d.ts.map +1 -0
- package/dist/clients/CalendarClient.js +54 -0
- package/dist/clients/CharacterClient.d.ts +118 -0
- package/dist/clients/CharacterClient.d.ts.map +1 -0
- package/dist/clients/CharacterClient.js +149 -0
- package/dist/clients/ClonesClient.d.ts +24 -0
- package/dist/clients/ClonesClient.d.ts.map +1 -0
- package/dist/clients/ClonesClient.js +31 -0
- package/dist/clients/ContactsClient.d.ts +81 -0
- package/dist/clients/ContactsClient.d.ts.map +1 -0
- package/dist/clients/ContactsClient.js +102 -0
- package/dist/clients/ContractsClient.d.ts +81 -0
- package/dist/clients/ContractsClient.d.ts.map +1 -0
- package/dist/clients/ContractsClient.js +102 -0
- package/dist/clients/CorporationsClient.d.ts +184 -0
- package/dist/clients/CorporationsClient.d.ts.map +1 -0
- package/dist/clients/CorporationsClient.js +227 -0
- package/dist/clients/DogmaClient.d.ts +42 -0
- package/dist/clients/DogmaClient.d.ts.map +1 -0
- package/dist/clients/DogmaClient.js +55 -0
- package/dist/clients/FactionClient.d.ts +60 -0
- package/dist/clients/FactionClient.d.ts.map +1 -0
- package/dist/clients/FactionClient.js +79 -0
- package/dist/clients/FittingsClient.d.ts +35 -0
- package/dist/clients/FittingsClient.d.ts.map +1 -0
- package/dist/clients/FittingsClient.js +42 -0
- package/dist/clients/FleetClient.d.ts +129 -0
- package/dist/clients/FleetClient.d.ts.map +1 -0
- package/dist/clients/FleetClient.js +156 -0
- package/dist/clients/FreelanceJobsClient.d.ts +61 -0
- package/dist/clients/FreelanceJobsClient.d.ts.map +1 -0
- package/dist/clients/FreelanceJobsClient.js +76 -0
- package/dist/clients/IncursionsClient.d.ts +14 -0
- package/dist/clients/IncursionsClient.d.ts.map +1 -0
- package/dist/clients/IncursionsClient.js +19 -0
- package/dist/clients/IndustryClient.d.ts +69 -0
- package/dist/clients/IndustryClient.d.ts.map +1 -0
- package/dist/clients/IndustryClient.js +88 -0
- package/dist/clients/InsuranceClient.d.ts +14 -0
- package/dist/clients/InsuranceClient.d.ts.map +1 -0
- package/dist/clients/InsuranceClient.js +19 -0
- package/dist/clients/KillmailsClient.d.ts +32 -0
- package/dist/clients/KillmailsClient.d.ts.map +1 -0
- package/dist/clients/KillmailsClient.js +41 -0
- package/dist/clients/LocationClient.d.ts +32 -0
- package/dist/clients/LocationClient.d.ts.map +1 -0
- package/dist/clients/LocationClient.js +41 -0
- package/dist/clients/LoyaltyClient.d.ts +23 -0
- package/dist/clients/LoyaltyClient.d.ts.map +1 -0
- package/dist/clients/LoyaltyClient.js +30 -0
- package/dist/clients/MailClient.d.ts +93 -0
- package/dist/clients/MailClient.d.ts.map +1 -0
- package/dist/clients/MailClient.js +108 -0
- package/dist/clients/MarketClient.d.ts +98 -0
- package/dist/clients/MarketClient.d.ts.map +1 -0
- package/dist/clients/MarketClient.js +113 -0
- package/dist/clients/MetaClient.d.ts +19 -0
- package/dist/clients/MetaClient.d.ts.map +1 -0
- package/dist/clients/MetaClient.js +56 -0
- package/dist/clients/OpportunitiesClient.js +33 -0
- package/dist/clients/PiClient.d.ts +40 -0
- package/dist/clients/PiClient.d.ts.map +1 -0
- package/dist/clients/PiClient.js +51 -0
- package/dist/clients/RouteClient.d.ts +25 -0
- package/dist/clients/RouteClient.d.ts.map +1 -0
- package/dist/clients/RouteClient.js +24 -0
- package/dist/clients/SearchClient.d.ts +17 -0
- package/dist/clients/SearchClient.d.ts.map +1 -0
- package/dist/clients/SearchClient.js +22 -0
- package/dist/clients/SkillsClient.d.ts +36 -0
- package/dist/clients/SkillsClient.d.ts.map +1 -0
- package/dist/clients/SkillsClient.js +41 -0
- package/dist/clients/SovereigntyClient.d.ts +26 -0
- package/dist/clients/SovereigntyClient.d.ts.map +1 -0
- package/dist/clients/SovereigntyClient.js +35 -0
- package/dist/clients/StatusClient.d.ts +14 -0
- package/dist/clients/StatusClient.d.ts.map +1 -0
- package/dist/clients/StatusClient.js +19 -0
- package/dist/clients/UiClient.d.ts +42 -0
- package/dist/clients/UiClient.d.ts.map +1 -0
- package/dist/clients/UiClient.js +56 -0
- package/dist/clients/UniverseClient.d.ts +212 -0
- package/dist/clients/UniverseClient.d.ts.map +1 -0
- package/dist/clients/UniverseClient.js +277 -0
- package/dist/clients/WalletClient.d.ts +61 -0
- package/dist/clients/WalletClient.d.ts.map +1 -0
- package/dist/clients/WalletClient.js +73 -0
- package/dist/clients/WarsClient.d.ts +28 -0
- package/dist/clients/WarsClient.d.ts.map +1 -0
- package/dist/clients/WarsClient.js +37 -0
- package/dist/config/configManager.d.ts +8 -0
- package/dist/config/configManager.d.ts.map +1 -0
- package/dist/config/configManager.js +41 -0
- package/dist/config/constants.js +11 -0
- package/dist/config/jest/globalSetup.d.ts +2 -0
- package/dist/config/jest/globalSetup.d.ts.map +1 -0
- package/dist/config/jest/globalSetup.js +7 -0
- package/dist/config/jest/globalTeardown.d.ts +2 -0
- package/dist/config/jest/globalTeardown.d.ts.map +1 -0
- package/dist/config/jest/globalTeardown.js +7 -0
- package/dist/config/jest/jest.setup.d.ts +3 -0
- package/dist/config/jest/jest.setup.d.ts.map +1 -0
- package/dist/config/jest/jest.setup.js +30 -0
- package/dist/core/ApiClient.d.ts +44 -0
- package/dist/core/ApiClient.d.ts.map +1 -0
- package/dist/core/ApiClient.js +102 -0
- package/dist/core/ApiClientBuilder.d.ts +22 -0
- package/dist/core/ApiClientBuilder.d.ts.map +1 -0
- package/dist/core/ApiClientBuilder.js +54 -0
- package/dist/core/ApiError.js +11 -0
- package/dist/core/ApiRequestHandler.d.ts +11 -0
- package/dist/core/ApiRequestHandler.d.ts.map +1 -0
- package/dist/core/ApiRequestHandler.js +365 -0
- package/dist/core/ClientRegistry.d.ts +39 -0
- package/dist/core/ClientRegistry.d.ts.map +1 -0
- package/dist/core/ClientRegistry.js +107 -0
- package/dist/core/EsiDiagnostics.d.ts +35 -0
- package/dist/core/EsiDiagnostics.d.ts.map +1 -0
- package/dist/core/EsiDiagnostics.js +47 -0
- package/dist/core/IAPIBuilder.js +2 -0
- package/dist/core/RequestDeduplicator.d.ts +7 -0
- package/dist/core/RequestDeduplicator.d.ts.map +1 -0
- package/dist/core/RequestDeduplicator.js +26 -0
- package/dist/core/cache/ETagCacheManager.d.ts +71 -0
- package/dist/core/cache/ETagCacheManager.d.ts.map +1 -0
- package/dist/core/cache/ETagCacheManager.js +184 -0
- package/dist/core/cache/ICache.d.ts +27 -0
- package/dist/core/cache/ICache.d.ts.map +1 -0
- package/dist/core/cache/ICache.js +2 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts +39 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -0
- package/dist/core/circuitBreaker/CircuitBreaker.js +156 -0
- package/dist/core/constants.d.ts +5 -0
- package/dist/core/constants.d.ts.map +1 -0
- package/dist/core/constants.js +7 -0
- package/dist/core/container/Container.js +145 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts +50 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -0
- package/dist/core/endpoints/EndpointDefinition.js +2 -0
- package/dist/core/endpoints/allianceEndpoints.d.ts +26 -0
- package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/allianceEndpoints.js +28 -0
- package/dist/core/endpoints/assetEndpoints.d.ts +51 -0
- package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/assetEndpoints.js +45 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts +30 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/calendarEndpoints.js +30 -0
- package/dist/core/endpoints/characterEndpoints.d.ts +88 -0
- package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/characterEndpoints.js +90 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts +15 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/cloneEndpoints.js +17 -0
- package/dist/core/endpoints/contactEndpoints.d.ts +62 -0
- package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/contactEndpoints.js +62 -0
- package/dist/core/endpoints/contractEndpoints.d.ts +57 -0
- package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/contractEndpoints.js +59 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts +134 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/corporationEndpoints.js +136 -0
- package/dist/core/endpoints/createClient.d.ts +48 -0
- package/dist/core/endpoints/createClient.d.ts.map +1 -0
- package/dist/core/endpoints/createClient.js +170 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts +31 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/dogmaEndpoints.js +33 -0
- package/dist/core/endpoints/factionEndpoints.d.ts +45 -0
- package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/factionEndpoints.js +47 -0
- package/dist/core/endpoints/fittingEndpoints.d.ts +22 -0
- package/dist/core/endpoints/fittingEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/fittingEndpoints.js +24 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts +97 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/fleetEndpoints.js +95 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +50 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.js +43 -0
- package/dist/core/endpoints/incursionEndpoints.d.ts +8 -0
- package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/incursionEndpoints.js +10 -0
- package/dist/core/endpoints/industryEndpoints.d.ts +49 -0
- package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/industryEndpoints.js +51 -0
- package/dist/core/endpoints/insuranceEndpoints.d.ts +8 -0
- package/dist/core/endpoints/insuranceEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/insuranceEndpoints.js +10 -0
- package/dist/core/endpoints/killmailEndpoints.d.ts +21 -0
- package/dist/core/endpoints/killmailEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/killmailEndpoints.js +23 -0
- package/dist/core/endpoints/locationEndpoints.d.ts +21 -0
- package/dist/core/endpoints/locationEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/locationEndpoints.js +23 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.ts +15 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/loyaltyEndpoints.js +17 -0
- package/dist/core/endpoints/mailEndpoints.d.ts +60 -0
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/mailEndpoints.js +62 -0
- package/dist/core/endpoints/marketEndpoints.d.ts +73 -0
- package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/marketEndpoints.js +71 -0
- package/dist/core/endpoints/metaEndpoints.d.ts +8 -0
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/metaEndpoints.js +10 -0
- package/dist/core/endpoints/piEndpoints.d.ts +27 -0
- package/dist/core/endpoints/piEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/piEndpoints.js +29 -0
- package/dist/core/endpoints/routeEndpoints.d.ts +10 -0
- package/dist/core/endpoints/routeEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/routeEndpoints.js +12 -0
- package/dist/core/endpoints/searchEndpoints.d.ts +13 -0
- package/dist/core/endpoints/searchEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/searchEndpoints.js +12 -0
- package/dist/core/endpoints/skillEndpoints.d.ts +21 -0
- package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/skillEndpoints.js +23 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts +18 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/sovereigntyEndpoints.js +20 -0
- package/dist/core/endpoints/statusEndpoints.d.ts +8 -0
- package/dist/core/endpoints/statusEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/statusEndpoints.js +10 -0
- package/dist/core/endpoints/uiEndpoints.d.ts +33 -0
- package/dist/core/endpoints/uiEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/uiEndpoints.js +35 -0
- package/dist/core/endpoints/universeEndpoints.d.ts +179 -0
- package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/universeEndpoints.js +177 -0
- package/dist/core/endpoints/walletEndpoints.d.ts +39 -0
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/walletEndpoints.js +41 -0
- package/dist/core/endpoints/warEndpoints.d.ts +20 -0
- package/dist/core/endpoints/warEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/warEndpoints.js +22 -0
- package/dist/core/errors/ApiError.js +129 -0
- package/dist/core/factory/ApiFactory.js +170 -0
- package/dist/core/logger/ILogger.d.ts +7 -0
- package/dist/core/logger/ILogger.d.ts.map +1 -0
- package/dist/core/logger/ILogger.js +2 -0
- package/dist/core/logger/index.d.ts +2 -0
- package/dist/core/logger/index.d.ts.map +1 -0
- package/dist/core/logger/index.js +8 -0
- package/dist/core/logger/logger.d.ts +3 -0
- package/dist/core/logger/logger.d.ts.map +1 -0
- package/dist/core/logger/logger.js +16 -0
- package/dist/core/logger/loggerUtil.d.ts +9 -0
- package/dist/core/logger/loggerUtil.d.ts.map +1 -0
- package/dist/core/logger/loggerUtil.js +30 -0
- package/dist/core/middleware/Middleware.d.ts +30 -0
- package/dist/core/middleware/Middleware.d.ts.map +1 -0
- package/dist/core/middleware/Middleware.js +42 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts +8 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -0
- package/dist/core/pagination/AsyncPaginationIterator.js +27 -0
- package/dist/core/pagination/CursorPaginationHandler.d.ts +59 -0
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -0
- package/dist/core/pagination/CursorPaginationHandler.js +148 -0
- package/dist/core/pagination/PaginationHandler.d.ts +30 -0
- package/dist/core/pagination/PaginationHandler.d.ts.map +1 -0
- package/dist/core/pagination/PaginationHandler.js +115 -0
- package/dist/core/rateLimiter/IRateLimiter.d.ts +17 -0
- package/dist/core/rateLimiter/IRateLimiter.d.ts.map +1 -0
- package/dist/core/rateLimiter/IRateLimiter.js +2 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts +77 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -0
- package/dist/core/rateLimiter/RateLimiter.js +203 -0
- package/dist/core/util/error.d.ts +23 -0
- package/dist/core/util/error.d.ts.map +1 -0
- package/dist/core/util/error.js +100 -0
- package/dist/core/util/file.js +26 -0
- package/dist/core/util/headersUtil.d.ts +22 -0
- package/dist/core/util/headersUtil.d.ts.map +1 -0
- package/dist/core/util/headersUtil.js +36 -0
- package/dist/core/util/inputValidation.js +9 -0
- package/dist/core/util/network.js +15 -0
- package/dist/core/util/request.js +21 -0
- package/dist/core/util/sleep.d.ts +2 -0
- package/dist/core/util/sleep.d.ts.map +1 -0
- package/dist/core/util/sleep.js +6 -0
- package/dist/core/util/testHelpers.d.ts +4 -0
- package/dist/core/util/testHelpers.d.ts.map +1 -0
- package/dist/core/util/testHelpers.js +25 -0
- package/dist/core/util/validation.d.ts +4 -0
- package/dist/core/util/validation.d.ts.map +1 -0
- package/dist/core/util/validation.js +52 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +137 -0
- package/dist/testing/TestDataFactory.d.ts +97 -0
- package/dist/testing/TestDataFactory.d.ts.map +1 -0
- package/dist/testing/TestDataFactory.js +729 -0
- package/dist/testing/TestHelpers.js +205 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/alliance.d.ts +25 -0
- package/dist/types/alliance.d.ts.map +1 -0
- package/dist/types/alliance.js +2 -0
- package/dist/types/api-responses.d.ts +30 -0
- package/dist/types/api-responses.d.ts.map +1 -0
- package/dist/types/api-responses.js +45 -0
- package/dist/types/assets.d.ts +23 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/assets.js +2 -0
- package/dist/types/calendar.d.ts +24 -0
- package/dist/types/calendar.d.ts.map +1 -0
- package/dist/types/calendar.js +2 -0
- package/dist/types/character.d.ts +105 -0
- package/dist/types/character.d.ts.map +1 -0
- package/dist/types/character.js +2 -0
- package/dist/types/clones.d.ts +16 -0
- package/dist/types/clones.d.ts.map +1 -0
- package/dist/types/clones.js +2 -0
- package/dist/types/common.d.ts +17 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +2 -0
- package/dist/types/contacts.d.ts +12 -0
- package/dist/types/contacts.d.ts.map +1 -0
- package/dist/types/contacts.js +2 -0
- package/dist/types/contracts.d.ts +40 -0
- package/dist/types/contracts.d.ts.map +1 -0
- package/dist/types/contracts.js +2 -0
- package/dist/types/corporation.d.ts +167 -0
- package/dist/types/corporation.d.ts.map +1 -0
- package/dist/types/corporation.js +2 -0
- package/dist/types/dogma.d.ts +39 -0
- package/dist/types/dogma.d.ts.map +1 -0
- package/dist/types/dogma.js +2 -0
- package/dist/types/faction-warfare.d.ts +89 -0
- package/dist/types/faction-warfare.d.ts.map +1 -0
- package/dist/types/faction-warfare.js +2 -0
- package/dist/types/fittings.d.ts +12 -0
- package/dist/types/fittings.d.ts.map +1 -0
- package/dist/types/fittings.js +2 -0
- package/dist/types/fleet.d.ts +35 -0
- package/dist/types/fleet.d.ts.map +1 -0
- package/dist/types/fleet.js +2 -0
- package/dist/types/freelance-jobs.d.ts +92 -0
- package/dist/types/freelance-jobs.d.ts.map +1 -0
- package/dist/types/freelance-jobs.js +2 -0
- package/dist/types/incursions.d.ts +11 -0
- package/dist/types/incursions.d.ts.map +1 -0
- package/dist/types/incursions.js +2 -0
- package/dist/types/industry.d.ts +65 -0
- package/dist/types/industry.d.ts.map +1 -0
- package/dist/types/industry.js +2 -0
- package/dist/types/insurance.d.ts +9 -0
- package/dist/types/insurance.d.ts.map +1 -0
- package/dist/types/insurance.js +2 -0
- package/dist/types/killmails.d.ts +37 -0
- package/dist/types/killmails.d.ts.map +1 -0
- package/dist/types/killmails.js +2 -0
- package/dist/types/location.d.ts +17 -0
- package/dist/types/location.d.ts.map +1 -0
- package/dist/types/location.js +2 -0
- package/dist/types/loyalty.d.ts +17 -0
- package/dist/types/loyalty.d.ts.map +1 -0
- package/dist/types/loyalty.js +2 -0
- package/dist/types/mail.d.ts +19 -0
- package/dist/types/mail.d.ts.map +1 -0
- package/dist/types/mail.js +2 -0
- package/dist/types/market.d.ts +23 -0
- package/dist/types/market.d.ts.map +1 -0
- package/dist/types/market.js +2 -0
- package/dist/types/pi.d.ts +67 -0
- package/dist/types/pi.d.ts.map +1 -0
- package/dist/types/pi.js +2 -0
- package/dist/types/skills.d.ts +17 -0
- package/dist/types/skills.d.ts.map +1 -0
- package/dist/types/skills.js +2 -0
- package/dist/types/sovereignty.d.ts +31 -0
- package/dist/types/sovereignty.d.ts.map +1 -0
- package/dist/types/sovereignty.js +2 -0
- package/dist/types/status.d.ts +7 -0
- package/dist/types/status.d.ts.map +1 -0
- package/dist/types/status.js +2 -0
- package/dist/types/universe.d.ts +275 -0
- package/dist/types/universe.d.ts.map +1 -0
- package/dist/types/universe.js +2 -0
- package/dist/types/wallet.d.ts +26 -0
- package/dist/types/wallet.d.ts.map +1 -0
- package/dist/types/wallet.js +2 -0
- package/dist/types/wars.d.ts +26 -0
- package/dist/types/wars.d.ts.map +1 -0
- package/dist/types/wars.js +2 -0
- package/package.json +127 -20
- package/.github/workflows/ci.yml +0 -16
- package/.prettierrc +0 -6
- package/Structure.js +0 -257
- package/eslint.json +0 -13
- package/jest.bdd.config.cjs +0 -22
- package/jest.unit.config.cjs +0 -30
- package/src/TODO +0 -72
- package/src/api/alliances/getAllianceById.ts +0 -10
- package/src/api/alliances/getAllianceContactLabels.ts +0 -11
- package/src/api/alliances/getAllianceContacts.ts +0 -10
- package/src/api/alliances/getAllianceCorporations.ts +0 -10
- package/src/api/alliances/getAllianceIcons.ts +0 -10
- package/src/api/alliances/getAlliances.ts +0 -10
- package/src/api/assets/getCharacterAssets.ts +0 -14
- package/src/api/assets/getCorporationAssets.ts +0 -14
- package/src/api/assets/postCharacterAssetLocations.ts +0 -14
- package/src/api/assets/postCharacterAssetNames.ts +0 -14
- package/src/api/assets/postCorporationAssetLocations.ts +0 -14
- package/src/api/assets/postCorporationAssetNames.ts +0 -14
- package/src/api/bookmarks/getCharacterBookmarkFolders.ts +0 -10
- package/src/api/bookmarks/getCharacterBookmarks.ts +0 -10
- package/src/api/bookmarks/getCorporationBookmarkFolders.ts +0 -10
- package/src/api/bookmarks/getCorporationBookmarks.ts +0 -10
- package/src/api/calendar/getCalendarEventById.ts +0 -10
- package/src/api/calendar/getCalendarEvents.ts +0 -10
- package/src/api/calendar/getEventAttendees.ts +0 -10
- package/src/api/calendar/respondToCalendarEvent.ts +0 -11
- package/src/api/characters/getAgentsResearch.ts +0 -10
- package/src/api/characters/getBlueprints.ts +0 -10
- package/src/api/characters/getCharacterPublicInfo.ts +0 -10
- package/src/api/characters/getCharacterRoles.ts +0 -10
- package/src/api/characters/getCharacterStandings.ts +0 -10
- package/src/api/characters/getCharacterTitles.ts +0 -10
- package/src/api/characters/getContactNotifications.ts +0 -10
- package/src/api/characters/getCorporationHistory.ts +0 -10
- package/src/api/characters/getJumpFatigue.ts +0 -10
- package/src/api/characters/getMedals.ts +0 -10
- package/src/api/characters/getNotifications.ts +0 -10
- package/src/api/characters/getPortrait.ts +0 -10
- package/src/api/characters/postCSPAChargeCost.ts +0 -10
- package/src/api/characters/postCharacterAffiliations.ts +0 -10
- package/src/api/clones/getClones.ts +0 -11
- package/src/api/clones/getImplants.ts +0 -11
- package/src/api/contacts/deleteCharacterContacts.ts +0 -10
- package/src/api/contacts/getAllianceContactLabels.ts +0 -10
- package/src/api/contacts/getAllianceContacts.ts +0 -10
- package/src/api/contacts/getCharacterContactLabels.ts +0 -10
- package/src/api/contacts/getCharacterContacts.ts +0 -10
- package/src/api/contacts/getCorporationContactLabels.ts +0 -10
- package/src/api/contacts/getCorporationContacts.ts +0 -10
- package/src/api/contacts/postCharacterContacts.ts +0 -10
- package/src/api/contacts/putCharacterContacts.ts +0 -10
- package/src/api/contracts/getCharacterContractBids.ts +0 -10
- package/src/api/contracts/getCharacterContractItems.ts +0 -10
- package/src/api/contracts/getCharacterContracts.ts +0 -10
- package/src/api/contracts/getCorporationContractBids.ts +0 -10
- package/src/api/contracts/getCorporationContractItems.ts +0 -10
- package/src/api/contracts/getCorporationContracts.ts +0 -10
- package/src/api/contracts/getPublicContractBids.ts +0 -10
- package/src/api/contracts/getPublicContractItems.ts +0 -10
- package/src/api/contracts/getPublicContracts.ts +0 -10
- package/src/api/corporations/getCorporationAllianceHistory.ts +0 -10
- package/src/api/corporations/getCorporationAlscLogs.ts +0 -10
- package/src/api/corporations/getCorporationBlueprints.ts +0 -10
- package/src/api/corporations/getCorporationDivisions.ts +0 -10
- package/src/api/corporations/getCorporationFacilities.ts +0 -10
- package/src/api/corporations/getCorporationIcon.ts +0 -10
- package/src/api/corporations/getCorporationInfo.ts +0 -10
- package/src/api/corporations/getCorporationIssuedMedals.ts +0 -10
- package/src/api/corporations/getCorporationMedals.ts +0 -10
- package/src/api/corporations/getCorporationMemberLimit.ts +0 -10
- package/src/api/corporations/getCorporationMemberRoles.ts +0 -10
- package/src/api/corporations/getCorporationMemberRolesHistory.ts +0 -10
- package/src/api/corporations/getCorporationMemberTracking.ts +0 -10
- package/src/api/corporations/getCorporationMembers.ts +0 -10
- package/src/api/corporations/getCorporationMembersTitles.ts +0 -10
- package/src/api/corporations/getCorporationShareholders.ts +0 -10
- package/src/api/corporations/getCorporationStandings.ts +0 -10
- package/src/api/corporations/getCorporationStarbaseDetail.ts +0 -10
- package/src/api/corporations/getCorporationStarbases.ts +0 -10
- package/src/api/corporations/getCorporationStructures.ts +0 -10
- package/src/api/corporations/getCorporationTitles.ts +0 -10
- package/src/api/corporations/getNpcCorporations.ts +0 -10
- package/src/api/dogma/getDogmaAttributeById.ts +0 -11
- package/src/api/dogma/getDogmaAttributes.ts +0 -11
- package/src/api/dogma/getDogmaDynamicItemAttributes.ts +0 -11
- package/src/api/dogma/getDogmaEffectById.ts +0 -11
- package/src/api/dogma/getDogmaEffects.ts +0 -11
- package/src/api/factions/getCharacterFactionWarfareStats.ts +0 -10
- package/src/api/factions/getCharacterLeaderboards.ts +0 -10
- package/src/api/factions/getCorporationFactionWarfareStats.ts +0 -10
- package/src/api/factions/getCorporationLeaderboards.ts +0 -10
- package/src/api/factions/getFactionLeaderboards.ts +0 -10
- package/src/api/factions/getFactionWarfareStats.ts +0 -10
- package/src/api/factions/getFactionWarfareSystems.ts +0 -10
- package/src/api/factions/getFactionWarfareWars.ts +0 -10
- package/src/api/fittings/deleteCharacterFitting.ts +0 -10
- package/src/api/fittings/getCharacterFittings.ts +0 -10
- package/src/api/fittings/postCharacterFittings.ts +0 -10
- package/src/api/fleets/deleteFleetMember.ts +0 -10
- package/src/api/fleets/deleteFleetSquad.ts +0 -10
- package/src/api/fleets/deleteFleetWing.ts +0 -10
- package/src/api/fleets/getCharacterFleetInfo.ts +0 -10
- package/src/api/fleets/getFleetInfo.ts +0 -10
- package/src/api/fleets/getFleetMembers.ts +0 -10
- package/src/api/fleets/getFleetWings.ts +0 -10
- package/src/api/fleets/postFleetInvitation.ts +0 -10
- package/src/api/fleets/postFleetSquad.ts +0 -10
- package/src/api/fleets/postFleetWing.ts +0 -10
- package/src/api/fleets/putFleetMember.ts +0 -10
- package/src/api/fleets/putFleetSquad.ts +0 -10
- package/src/api/fleets/putFleetWing.ts +0 -11
- package/src/api/fleets/updateFleet.ts +0 -10
- package/src/api/incursions/getIncursions.ts +0 -14
- package/src/api/industry/getCharacterIndustryJobs.ts +0 -10
- package/src/api/industry/getCharacterMiningLedger.ts +0 -10
- package/src/api/industry/getCorporationIndustryJobs.ts +0 -10
- package/src/api/industry/getCorporationMiningObserver.ts +0 -10
- package/src/api/industry/getCorporationMiningObservers.ts +0 -10
- package/src/api/industry/getIndustryFacilities.ts +0 -10
- package/src/api/industry/getIndustrySystems.ts +0 -10
- package/src/api/industry/getMoonExtractionTimers.ts +0 -10
- package/src/api/insurance/getInsurancePrices.ts +0 -10
- package/src/api/killmails/getCharacterRecentKillmails.ts +0 -10
- package/src/api/killmails/getCorporationRecentKillmails.ts +0 -10
- package/src/api/killmails/getKillmail.ts +0 -10
- package/src/api/location/getCharacterLocation.ts +0 -10
- package/src/api/location/getCharacterOnline.ts +0 -10
- package/src/api/location/getCharacterShip.ts +0 -10
- package/src/api/loyalty/getLoyaltyPoints.ts +0 -10
- package/src/api/loyalty/getLoyaltyStoreOffers.ts +0 -10
- package/src/api/mail/deleteCharacterMail.ts +0 -10
- package/src/api/mail/deleteCharacterMailLabel.test.ts +0 -22
- package/src/api/mail/deleteCharacterMailLabel.ts +0 -10
- package/src/api/mail/getCharacerMailingLists.test.ts +0 -35
- package/src/api/mail/getCharacterMail.ts +0 -10
- package/src/api/mail/getCharacterMailHeaders.ts +0 -10
- package/src/api/mail/getCharacterMailLabels.ts +0 -10
- package/src/api/mail/getCharacterMailingLists.ts +0 -10
- package/src/api/mail/postCharacterMail.ts +0 -10
- package/src/api/mail/postCharacterMailLabels.ts +0 -10
- package/src/api/mail/putCharacterMail.ts +0 -10
- package/src/api/market/getCharacterOrderHistory.ts +0 -10
- package/src/api/market/getCharacterOrders.ts +0 -10
- package/src/api/market/getCorporationOrderHistory.ts +0 -10
- package/src/api/market/getCorporationOrders.ts +0 -10
- package/src/api/market/getMarketGroupInformation.ts +0 -10
- package/src/api/market/getMarketGroups.ts +0 -10
- package/src/api/market/getMarketHistory.ts +0 -10
- package/src/api/market/getMarketOrders.ts +0 -10
- package/src/api/market/getMarketOrdersInStructure.ts +0 -10
- package/src/api/market/getMarketPrices.ts +0 -10
- package/src/api/market/getMarketTypes.ts +0 -10
- package/src/api/opportunities/getCharacterOpportunities.ts +0 -10
- package/src/api/opportunities/getOpportunitiesGroupById.ts +0 -10
- package/src/api/opportunities/getOpportunitiesGroups.ts +0 -10
- package/src/api/opportunities/getOpportunitiesTaskById.ts +0 -10
- package/src/api/opportunities/getOpportunitiesTasks.ts +0 -10
- package/src/api/pi/getColonies.ts +0 -10
- package/src/api/pi/getColonyLayout.ts +0 -10
- package/src/api/pi/getCorporationCustomsOffices.ts +0 -10
- package/src/api/pi/getSchematicInformation.ts +0 -10
- package/src/api/route/getRoute.ts +0 -14
- package/src/api/search/getCharacterSearch.ts +0 -14
- package/src/api/skills/getCharacterAttributes.ts +0 -10
- package/src/api/skills/getCharacterSkillQueue.ts +0 -10
- package/src/api/skills/getCharacterSkills.ts +0 -10
- package/src/api/sovereignty/getSovereigntyCampaigns.ts +0 -10
- package/src/api/sovereignty/getSovereigntyMap.ts +0 -10
- package/src/api/sovereignty/getSovereigntyStructures.ts +0 -10
- package/src/api/status/getStatus.ts +0 -11
- package/src/api/ui/postAutopilotWaypoint.ts +0 -10
- package/src/api/ui/postOpenContractWindow.ts +0 -10
- package/src/api/ui/postOpenInformationWindow.ts +0 -10
- package/src/api/ui/postOpenMarketDetailsWindow.ts +0 -10
- package/src/api/ui/postOpenNewMailWindow.ts +0 -10
- package/src/api/universe/getAncestries.ts +0 -10
- package/src/api/universe/getAsteroidBeltInfo.ts +0 -10
- package/src/api/universe/getBloodlines.ts +0 -10
- package/src/api/universe/getConstellationById.ts +0 -10
- package/src/api/universe/getConstellations.ts +0 -10
- package/src/api/universe/getFactions.ts +0 -10
- package/src/api/universe/getGraphicById.ts +0 -10
- package/src/api/universe/getGraphics.ts +0 -10
- package/src/api/universe/getItemCategories.ts +0 -10
- package/src/api/universe/getItemCategoryById.ts +0 -10
- package/src/api/universe/getItemGroupById.ts +0 -10
- package/src/api/universe/getItemGroups.ts +0 -10
- package/src/api/universe/getMoonById.ts +0 -10
- package/src/api/universe/getPlanetById.ts +0 -10
- package/src/api/universe/getRaces.ts +0 -10
- package/src/api/universe/getRegionById.ts +0 -10
- package/src/api/universe/getStarById.ts +0 -10
- package/src/api/universe/getStargateById.ts +0 -10
- package/src/api/universe/getStationById.ts +0 -10
- package/src/api/universe/getStructureById.ts +0 -10
- package/src/api/universe/getStructures.ts +0 -10
- package/src/api/universe/getSystemById.ts +0 -10
- package/src/api/universe/getSystemJumps.ts +0 -10
- package/src/api/universe/getSystemKills.ts +0 -10
- package/src/api/universe/getSystems.ts +0 -10
- package/src/api/universe/getTypeById.ts +0 -10
- package/src/api/universe/getTypes.ts +0 -10
- package/src/api/universe/postBulkNamesToIds.ts +0 -15
- package/src/api/universe/postNamesAndCategories.ts +0 -15
- package/src/api/wallet/getCharacterWallet.ts +0 -11
- package/src/api/wallet/getCharacterWalletJournal.ts +0 -11
- package/src/api/wallet/getCharacterWalletTransactions.ts +0 -11
- package/src/api/wallet/getCorporationWalletJournal.ts +0 -11
- package/src/api/wallet/getCorporationWalletTransactions.ts +0 -11
- package/src/api/wallet/getCorporationWallets.ts +0 -11
- package/src/api/wars/getWarById.ts +0 -10
- package/src/api/wars/getWarKillmails.ts +0 -10
- package/src/api/wars/getWars.ts +0 -10
- package/src/builders/AllianceApiBuilder.ts +0 -14
- package/src/builders/AssetsApiBuilder.ts +0 -14
- package/src/builders/BookmarkApiBuilder.ts +0 -14
- package/src/builders/CalendarApiBuilder.ts +0 -14
- package/src/builders/CharacterApiBuilder.ts +0 -14
- package/src/builders/ClonesApiBuilder.ts +0 -14
- package/src/builders/ContactsApiBuilder.ts +0 -14
- package/src/builders/ContractsApiBuilder.ts +0 -14
- package/src/builders/CorporationsApiBuilder.ts +0 -14
- package/src/builders/DogmaApiBuilder.ts +0 -15
- package/src/builders/FactionApiBuilder.ts +0 -14
- package/src/builders/FittingsApiBuilder.ts +0 -16
- package/src/builders/FleetApiBuilder.ts +0 -14
- package/src/builders/IncursionsApiBuilder.ts +0 -14
- package/src/builders/IndustryApiBuilder.ts +0 -14
- package/src/builders/InsuranceApiBuilder.ts +0 -14
- package/src/builders/KillmailsBuilder.ts +0 -14
- package/src/builders/LocationApiBuilder.ts +0 -14
- package/src/builders/LoyaltyApiBuilder.ts +0 -14
- package/src/builders/MailApiBuilder.ts +0 -14
- package/src/builders/MarketApiBuilder.ts +0 -14
- package/src/builders/OpportunitiesApiBuilder.ts +0 -16
- package/src/builders/PiApiBuilder.ts +0 -14
- package/src/builders/RouteApiBuilder.ts +0 -14
- package/src/builders/SearchApiBuilder.ts +0 -14
- package/src/builders/SkillsApiBuilder.ts +0 -14
- package/src/builders/SovereigntyApiBuilder.ts +0 -14
- package/src/builders/StatusApiBuilder.ts +0 -14
- package/src/builders/UiApiBuilder.ts +0 -14
- package/src/builders/UniverseApiBuilder.ts +0 -14
- package/src/builders/WalletApiBuilder.ts +0 -15
- package/src/builders/WarsAPIBuilder.ts +0 -14
- package/src/clients/AllianceClient.ts +0 -49
- package/src/clients/AssetsClient.ts +0 -49
- package/src/clients/BookmarkClient.ts +0 -35
- package/src/clients/CalendarClient.ts +0 -35
- package/src/clients/CharacterClient.ts +0 -105
- package/src/clients/ClonesClient.ts +0 -21
- package/src/clients/ContactsClient.ts +0 -70
- package/src/clients/ContractsClient.ts +0 -70
- package/src/clients/CorporationsClient.ts +0 -161
- package/src/clients/DogmaClient.ts +0 -43
- package/src/clients/FactionClient.ts +0 -63
- package/src/clients/FittingsClient.ts +0 -28
- package/src/clients/FleetClient.ts +0 -105
- package/src/clients/IncursionsClient.ts +0 -14
- package/src/clients/IndustryClient.ts +0 -63
- package/src/clients/InsuranceClient.ts +0 -14
- package/src/clients/KillmailsClient.ts +0 -28
- package/src/clients/LocationClient.ts +0 -28
- package/src/clients/LoyaltyClient.ts +0 -21
- package/src/clients/MailClient.ts +0 -70
- package/src/clients/MarketClient.ts +0 -84
- package/src/clients/OpportunitiesClient.ts +0 -42
- package/src/clients/PiClient.ts +0 -35
- package/src/clients/RouteClient.ts +0 -14
- package/src/clients/SearchClient.ts +0 -14
- package/src/clients/SkillsClient.ts +0 -28
- package/src/clients/SovereigntyClient.ts +0 -28
- package/src/clients/StatusClient.ts +0 -24
- package/src/clients/UiClient.ts +0 -42
- package/src/clients/UniverseClient.ts +0 -212
- package/src/clients/WalletClient.ts +0 -49
- package/src/clients/WarsClient.ts +0 -28
- package/src/config/configManager.ts +0 -30
- package/src/config/constants.ts +0 -6
- package/src/config/esi.json +0 -8
- package/src/config/jest/jest.bdd.setup.ts +0 -11
- package/src/config/jest/jest.setup.ts +0 -25
- package/src/config/swagger.json +0 -1
- package/src/core/ApiClient.ts +0 -18
- package/src/core/ApiClientBuilder.ts +0 -26
- package/src/core/ApiError.ts +0 -6
- package/src/core/ApiRequestHandler.ts +0 -138
- package/src/core/logger/index.ts +0 -1
- package/src/core/logger/logger.ts +0 -35
- package/src/core/logger/loggerUtil.ts +0 -17
- package/src/core/util/error.ts +0 -7
- package/src/core/util/file.ts +0 -21
- package/src/core/util/headersUtil.ts +0 -34
- package/src/core/util/inputValidation.ts +0 -6
- package/src/core/util/network.ts +0 -9
- package/src/core/util/request.ts +0 -15
- package/src/core/util/testHelpers.ts +0 -20
- package/src/index.ts +0 -1163
- package/src/types/winston-loggly-bulk.d.ts +0 -14
- package/tests/bdd/features/alliances/getAllianceById.feature +0 -6
- package/tests/bdd/features/alliances/getAllianceContactLabels.feature +0 -0
- package/tests/bdd/features/alliances/getAllianceContacts.feature +0 -0
- package/tests/bdd/features/alliances/getAllianceCorporations.feature +0 -6
- package/tests/bdd/features/alliances/getAllianceIcons.feature +0 -6
- package/tests/bdd/features/alliances/getAlliances.feature +0 -0
- package/tests/bdd/features/characters/getCharacter.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAffiliation.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAgentsResearch.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAssetLocations.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAssetNames.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAssets.feature +0 -0
- package/tests/bdd/features/characters/getCharacterAttributes.feature +0 -0
- package/tests/bdd/features/characters/getCharacterBlueprints.feature +0 -0
- package/tests/bdd/features/characters/getCharacterBookmarkFolders.feature +0 -0
- package/tests/bdd/features/characters/getCharacterBookmarks.feature +0 -0
- package/tests/bdd/features/characters/getCharacterCalendarEventById.feature +0 -0
- package/tests/bdd/features/characters/getCharacterCalendarEvents.feature +0 -0
- package/tests/bdd/features/characters/getCharacterClones.feature +0 -0
- package/tests/bdd/features/characters/getCharacterContractBids.feature +0 -0
- package/tests/bdd/features/characters/getCharacterContractItems.feature +0 -0
- package/tests/bdd/features/characters/getCharacterContracts.feature +0 -0
- package/tests/bdd/features/characters/getCharacterCorporationHistory.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFatigue.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFittings.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFleet.feature +0 -0
- package/tests/bdd/features/characters/getCharacterFwStats.feature +0 -0
- package/tests/bdd/features/characters/getCharacterImplants.feature +0 -0
- package/tests/bdd/features/characters/getCharacterIndustryJobs.feature +0 -0
- package/tests/bdd/features/characters/getCharacterKillmails.feature +0 -0
- package/tests/bdd/features/characters/getCharacterLocation.feature +0 -0
- package/tests/bdd/features/characters/getCharacterLoyaltyPoints.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMail.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMailById.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMailLabels.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMailLists.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMedals.feature +0 -0
- package/tests/bdd/features/characters/getCharacterMining.feature +0 -0
- package/tests/bdd/features/characters/getCharacterNotifications.feature +0 -0
- package/tests/bdd/features/characters/getCharacterNotificationsContacts.feature +0 -0
- package/tests/bdd/features/characters/getCharacterOpportunities.feature +0 -0
- package/tests/bdd/features/characters/getCharacterOrderHistory.feature +0 -0
- package/tests/bdd/features/characters/getCharacterOrders.feature +0 -0
- package/tests/bdd/features/characters/getCharacterPlanets.feature +0 -0
- package/tests/bdd/features/characters/getCharacterPortrait.feature +0 -0
- package/tests/bdd/features/characters/getCharacterRoles.feature +0 -0
- package/tests/bdd/features/characters/getCharacterSearch.feature +0 -0
- package/tests/bdd/features/characters/getCharacterShip.feature +0 -0
- package/tests/bdd/features/characters/getCharacterSkillQueue.feature +0 -0
- package/tests/bdd/features/characters/getCharacterSkills.feature +0 -0
- package/tests/bdd/features/characters/getCharacterStandings.feature +0 -0
- package/tests/bdd/features/characters/getCharacterStats.feature +0 -0
- package/tests/bdd/features/characters/getCharacterTitles.feature +0 -0
- package/tests/bdd/features/characters/getCharacterWallet.feature +0 -0
- package/tests/bdd/features/characters/getCharacterWalletJournal.feature +0 -0
- package/tests/bdd/features/characters/getCharacterWalletTransactions.feature +0 -0
- package/tests/bdd/features/contracts/getContractBids.feature +0 -0
- package/tests/bdd/features/contracts/getContractById.feature +0 -0
- package/tests/bdd/features/contracts/getContractItems.feature +0 -0
- package/tests/bdd/features/contracts/getContracts.feature +0 -0
- package/tests/bdd/features/contracts/getPublicContractBids.feature +0 -0
- package/tests/bdd/features/contracts/getPublicContractItems.feature +0 -0
- package/tests/bdd/features/contracts/getPublicContracts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporation.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationAlliances.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationBlueprints.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationBookmarkFolders.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationBookmarks.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContactLabels.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContacts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContainerLogs.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContractBids.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContractItems.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationContracts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationDivisions.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationFacilities.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationFwStats.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationIcons.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationIndustryJobs.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationKillmails.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMedals.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMemberLimit.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMemberTracking.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMembers.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationMining.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationNotifications.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationOrderHistory.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationOrders.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationOutposts.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationRoles.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationShareholders.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationStandings.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationStarbases.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationStructures.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationTitles.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationWalletJournal.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationWalletTransactions.feature +0 -0
- package/tests/bdd/features/corporations/getCorporationWallets.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaAttributeById.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaAttributes.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaDynamicItemAttributes.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaEffectById.feature +0 -0
- package/tests/bdd/features/dogma/getDogmaEffects.feature +0 -0
- package/tests/bdd/features/factions/getFactionWarfareLeaderboards.feature +0 -6
- package/tests/bdd/features/factions/getFactionWarfareStats.feature +0 -6
- package/tests/bdd/features/factions/getFactionWarfareSystems.feature +0 -6
- package/tests/bdd/features/factions/getFactionWarfareWars.feature +0 -6
- package/tests/bdd/features/fleets/getFleetMembers.feature +0 -0
- package/tests/bdd/features/fleets/getFleetSquads.feature +0 -0
- package/tests/bdd/features/fleets/getFleetWings.feature +0 -0
- package/tests/bdd/features/fleets/getFleets.feature +0 -0
- package/tests/bdd/features/incursions/getIncursions.feature +0 -0
- package/tests/bdd/features/industry/getIndustryCorporationJobs.feature +0 -0
- package/tests/bdd/features/industry/getIndustryFacilities.feature +0 -0
- package/tests/bdd/features/industry/getIndustryJobs.feature +0 -0
- package/tests/bdd/features/industry/getIndustrySystems.feature +0 -0
- package/tests/bdd/features/insurance/getInsurancePrices.feature +0 -0
- package/tests/bdd/features/killmails/getKillmailById.feature +0 -0
- package/tests/bdd/features/killmails/getKillmails.feature +0 -0
- package/tests/bdd/features/killmails/getRecentCharacterKillmails.feature +0 -0
- package/tests/bdd/features/killmails/getRecentCorporationKillmails.feature +0 -0
- package/tests/bdd/features/location/getLocation.feature +0 -0
- package/tests/bdd/features/markets/getMarketGroupById.feature +0 -0
- package/tests/bdd/features/markets/getMarketGroups.feature +0 -0
- package/tests/bdd/features/markets/getMarketHistory.feature +0 -0
- package/tests/bdd/features/markets/getMarketOrders.feature +0 -0
- package/tests/bdd/features/markets/getMarketPrices.feature +0 -0
- package/tests/bdd/features/markets/getMarketRegionHistory.feature +0 -0
- package/tests/bdd/features/markets/getMarketRegionOrders.feature +0 -0
- package/tests/bdd/features/opportunities/getOpportunitiesGroups.feature +0 -0
- package/tests/bdd/features/opportunities/getOpportunitiesTasks.feature +0 -0
- package/tests/bdd/features/search/postSearch.feature +0 -0
- package/tests/bdd/features/sovereignty/getSovereigntyCampaigns.feature +0 -0
- package/tests/bdd/features/sovereignty/getSovereigntyMap.feature +0 -0
- package/tests/bdd/features/sovereignty/getSovereigntyStructures.feature +0 -0
- package/tests/bdd/features/ui/postUiAutopilotWaypoint.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowContract.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowInformation.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowMarketDetails.feature +0 -0
- package/tests/bdd/features/ui/postUiOpenWindowNewMail.feature +0 -0
- package/tests/bdd/features/universe/getAncestries.feature +0 -0
- package/tests/bdd/features/universe/getAsteroidBelt.feature +0 -0
- package/tests/bdd/features/universe/getBloodlines.feature +0 -0
- package/tests/bdd/features/universe/getCategories.feature +0 -0
- package/tests/bdd/features/universe/getCategoryById.feature +0 -0
- package/tests/bdd/features/universe/getConstellationById.feature +0 -0
- package/tests/bdd/features/universe/getConstellations.feature +0 -0
- package/tests/bdd/features/universe/getFactions.feature +0 -0
- package/tests/bdd/features/universe/getGraphicById.feature +0 -0
- package/tests/bdd/features/universe/getGraphics.feature +0 -0
- package/tests/bdd/features/universe/getGroupById.feature +0 -0
- package/tests/bdd/features/universe/getGroups.feature +0 -0
- package/tests/bdd/features/universe/getMoonById.feature +0 -0
- package/tests/bdd/features/universe/getMoons.feature +0 -0
- package/tests/bdd/features/universe/getPlanetById.feature +0 -0
- package/tests/bdd/features/universe/getPlanets.feature +0 -0
- package/tests/bdd/features/universe/getRaces.feature +0 -0
- package/tests/bdd/features/universe/getRegionById.feature +0 -0
- package/tests/bdd/features/universe/getRegions.feature +0 -0
- package/tests/bdd/features/universe/getStarById.feature +0 -0
- package/tests/bdd/features/universe/getStargateById.feature +0 -0
- package/tests/bdd/features/universe/getStargates.feature +0 -0
- package/tests/bdd/features/universe/getStars.feature +0 -0
- package/tests/bdd/features/universe/getStationById.feature +0 -0
- package/tests/bdd/features/universe/getStations.feature +0 -0
- package/tests/bdd/features/universe/getStructures.feature +0 -0
- package/tests/bdd/features/universe/getSystemById.feature +0 -0
- package/tests/bdd/features/universe/getSystemJumps.feature +0 -0
- package/tests/bdd/features/universe/getSystemKills.feature +0 -0
- package/tests/bdd/features/universe/getSystems.feature +0 -0
- package/tests/bdd/features/universe/getTypeById.feature +0 -0
- package/tests/bdd/features/universe/getTypes.feature +0 -0
- package/tests/bdd/features/universe/getWarById.feature +0 -0
- package/tests/bdd/features/universe/getWars.feature +0 -0
- package/tests/bdd/features/universe/postBulkIdsToNames.feature +0 -0
- package/tests/bdd/features/universe/postBulkNamesToIds.feature +0 -0
- package/tests/bdd/features/universe/postUniverseNames.feature +0 -0
- package/tests/bdd/features/wars/getWarById.feature +0 -0
- package/tests/bdd/features/wars/getWars.feature +0 -0
- package/tests/bdd/steps/alliances/getAllianceById.ts +0 -17
- package/tests/bdd/steps/alliances/getAllianceContactLabels.ts +0 -0
- package/tests/bdd/steps/alliances/getAllianceContacts.ts +0 -0
- package/tests/bdd/steps/alliances/getAllianceCorporations.ts +0 -18
- package/tests/bdd/steps/alliances/getAllianceIcons.ts +0 -21
- package/tests/bdd/steps/alliances/getAlliances.ts +0 -0
- package/tests/bdd/steps/characters/getCharacter.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAffiliation.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAgentsResearch.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAssetLocations.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAssetNames.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAssets.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterAttributes.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterBlueprints.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterBookmarkFolders.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterBookmarks.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterCalendarEventById.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterCalendarEvents.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterClones.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterContractBids.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterContractItems.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterContracts.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterCorporationHistory.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFatigue.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFittings.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFleet.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterFwStats.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterImplants.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterIndustryJobs.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterKillmails.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterLocation.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterLoyaltyPoints.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMail.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMailById.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMailLabels.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMailLists.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMedals.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterMining.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterNotifications.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterNotificationsContacts.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterOpportunities.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterOrderHistory.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterOrders.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterPlanets.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterPortrait.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterRoles.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterSearch.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterShip.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterSkillQueue.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterSkills.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterStandings.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterStats.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterTitles.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterWallet.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterWalletJournal.ts +0 -0
- package/tests/bdd/steps/characters/getCharacterWalletTransactions.ts +0 -0
- package/tests/bdd/steps/contracts/getContractBids.ts +0 -0
- package/tests/bdd/steps/contracts/getContractById.ts +0 -0
- package/tests/bdd/steps/contracts/getContractItems.ts +0 -0
- package/tests/bdd/steps/contracts/getContracts.ts +0 -0
- package/tests/bdd/steps/contracts/getPublicContractBids.ts +0 -0
- package/tests/bdd/steps/contracts/getPublicContractItems.ts +0 -0
- package/tests/bdd/steps/contracts/getPublicContracts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporation.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationAlliances.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationBlueprints.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationBookmarkFolders.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationBookmarks.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContactLabels.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContacts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContainerLogs.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContractBids.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContractItems.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationContracts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationDivisions.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationFacilities.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationFwStats.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationIcons.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationIndustryJobs.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationKillmails.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMedals.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMemberLimit.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMemberTracking.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMembers.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationMining.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationNotifications.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationOrderHistory.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationOrders.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationOutposts.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationRoles.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationShareholders.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationStandings.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationStarbases.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationStructures.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationTitles.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationWalletJournal.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationWalletTransactions.ts +0 -0
- package/tests/bdd/steps/corporations/getCorporationWallets.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaAttributeById.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaAttributes.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaDynamicItemAttributes.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaEffectById.ts +0 -0
- package/tests/bdd/steps/dogma/getDogmaEffects.ts +0 -0
- package/tests/bdd/steps/factions/getFactionWarfareLeaderboards.ts +0 -33
- package/tests/bdd/steps/factions/getFactionWarfareStats.ts +0 -34
- package/tests/bdd/steps/factions/getFactionWarfareSystems.ts +0 -33
- package/tests/bdd/steps/factions/getFactionWarfareWars.ts +0 -33
- package/tests/bdd/steps/fleets/getFleetMembers.ts +0 -0
- package/tests/bdd/steps/fleets/getFleetSquads.ts +0 -0
- package/tests/bdd/steps/fleets/getFleetWings.ts +0 -0
- package/tests/bdd/steps/fleets/getFleets.ts +0 -0
- package/tests/bdd/steps/incursions/getIncursions.ts +0 -0
- package/tests/bdd/steps/industry/getIndustryCorporationJobs.ts +0 -0
- package/tests/bdd/steps/industry/getIndustryFacilities.ts +0 -0
- package/tests/bdd/steps/industry/getIndustryJobs.ts +0 -0
- package/tests/bdd/steps/industry/getIndustrySystems.ts +0 -0
- package/tests/bdd/steps/insurance/getInsurancePrices.ts +0 -0
- package/tests/bdd/steps/killmails/getKillmailById.ts +0 -0
- package/tests/bdd/steps/killmails/getKillmails.ts +0 -0
- package/tests/bdd/steps/killmails/getRecentCharacterKillmails.ts +0 -0
- package/tests/bdd/steps/killmails/getRecentCorporationKillmails.ts +0 -0
- package/tests/bdd/steps/location/getLocation.ts +0 -0
- package/tests/bdd/steps/markets/getMarketGroupById.ts +0 -0
- package/tests/bdd/steps/markets/getMarketGroups.ts +0 -0
- package/tests/bdd/steps/markets/getMarketHistory.ts +0 -0
- package/tests/bdd/steps/markets/getMarketOrders.ts +0 -0
- package/tests/bdd/steps/markets/getMarketPrices.ts +0 -0
- package/tests/bdd/steps/markets/getMarketRegionHistory.ts +0 -0
- package/tests/bdd/steps/markets/getMarketRegionOrders.ts +0 -0
- package/tests/bdd/steps/opportunities/getOpportunitiesGroups.ts +0 -0
- package/tests/bdd/steps/opportunities/getOpportunitiesTasks.ts +0 -0
- package/tests/bdd/steps/search/postSearch.ts +0 -0
- package/tests/bdd/steps/sovereignty/getSovereigntyCampaigns.ts +0 -0
- package/tests/bdd/steps/sovereignty/getSovereigntyMap.ts +0 -0
- package/tests/bdd/steps/sovereignty/getSovereigntyStructures.ts +0 -0
- package/tests/bdd/steps/ui/postUiAutopilotWaypoint.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowContract.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowInformation.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowMarketDetails.ts +0 -0
- package/tests/bdd/steps/ui/postUiOpenWindowNewMail.ts +0 -0
- package/tests/bdd/steps/universe/getAncestries.ts +0 -0
- package/tests/bdd/steps/universe/getAsteroidBelt.ts +0 -0
- package/tests/bdd/steps/universe/getBloodlines.ts +0 -0
- package/tests/bdd/steps/universe/getCategories.ts +0 -0
- package/tests/bdd/steps/universe/getCategoryById.ts +0 -0
- package/tests/bdd/steps/universe/getConstellationById.ts +0 -0
- package/tests/bdd/steps/universe/getConstellations.ts +0 -0
- package/tests/bdd/steps/universe/getFactions.ts +0 -0
- package/tests/bdd/steps/universe/getGraphicById.ts +0 -0
- package/tests/bdd/steps/universe/getGraphics.ts +0 -0
- package/tests/bdd/steps/universe/getGroupById.ts +0 -0
- package/tests/bdd/steps/universe/getGroups.ts +0 -0
- package/tests/bdd/steps/universe/getMoonById.ts +0 -0
- package/tests/bdd/steps/universe/getMoons.ts +0 -0
- package/tests/bdd/steps/universe/getPlanetById.ts +0 -0
- package/tests/bdd/steps/universe/getPlanets.ts +0 -0
- package/tests/bdd/steps/universe/getRaces.ts +0 -0
- package/tests/bdd/steps/universe/getRegionById.ts +0 -0
- package/tests/bdd/steps/universe/getRegions.ts +0 -0
- package/tests/bdd/steps/universe/getStarById.ts +0 -0
- package/tests/bdd/steps/universe/getStargateById.ts +0 -0
- package/tests/bdd/steps/universe/getStargates.ts +0 -0
- package/tests/bdd/steps/universe/getStars.ts +0 -0
- package/tests/bdd/steps/universe/getStationById.ts +0 -0
- package/tests/bdd/steps/universe/getStations.ts +0 -0
- package/tests/bdd/steps/universe/getStructures.ts +0 -0
- package/tests/bdd/steps/universe/getSystemById.ts +0 -0
- package/tests/bdd/steps/universe/getSystemJumps.ts +0 -0
- package/tests/bdd/steps/universe/getSystemKills.ts +0 -0
- package/tests/bdd/steps/universe/getSystems.ts +0 -0
- package/tests/bdd/steps/universe/getTypeById.ts +0 -0
- package/tests/bdd/steps/universe/getTypes.ts +0 -0
- package/tests/bdd/steps/universe/getWarById.ts +0 -0
- package/tests/bdd/steps/universe/getWars.ts +0 -0
- package/tests/bdd/steps/universe/postBulkIdsToNames.ts +0 -0
- package/tests/bdd/steps/universe/postBulkNamesToIds.ts +0 -0
- package/tests/bdd/steps/universe/postUniverseNames.ts +0 -0
- package/tests/bdd/steps/wars/getWarById.ts +0 -0
- package/tests/bdd/steps/wars/getWars.ts +0 -0
- package/tests/tdd/alliances/AllianceAPIBuilder.test.ts +0 -24
- package/tests/tdd/alliances/AllianceClient.test.ts +0 -27
- package/tests/tdd/alliances/getAllianceByID.test.ts +0 -61
- package/tests/tdd/alliances/getAllianceContactLabels.test.ts +0 -43
- package/tests/tdd/alliances/getAllianceContacts.test.ts +0 -60
- package/tests/tdd/alliances/getAllianceCorporations.test.ts +0 -39
- package/tests/tdd/alliances/getAllianceIcons.test.ts +0 -39
- package/tests/tdd/alliances/getAlliances.test.ts +0 -38
- package/tests/tdd/assets/AssetsBuilder.test.ts +0 -20
- package/tests/tdd/assets/AssetsClient.test.ts +0 -192
- package/tests/tdd/assets/getCharacterAssetsApi.test.ts +0 -33
- package/tests/tdd/assets/getCorporationAssetsApi.test.ts +0 -55
- package/tests/tdd/assets/postCharacterAssetsLocationApi.test.ts +0 -50
- package/tests/tdd/assets/postCharacterAssetsNamesApi.test.ts +0 -43
- package/tests/tdd/assets/postCorporationAssetLocationsApi.test.ts +0 -48
- package/tests/tdd/assets/postCorporationAssetNamesApi.test.ts +0 -43
- package/tests/tdd/bookmarks/BookmarkApiBuilder.test.ts +0 -21
- package/tests/tdd/bookmarks/BookmarkClient.test.ts +0 -68
- package/tests/tdd/bookmarks/getCharacterBookmarkFolders.test.ts +0 -37
- package/tests/tdd/bookmarks/getCharacterBookmarks.test.ts +0 -42
- package/tests/tdd/bookmarks/getCorporationBookmarkFolders.test.ts +0 -42
- package/tests/tdd/bookmarks/getCorporationBookmarks.test.ts +0 -62
- package/tests/tdd/calendar/CalendarApiBuilder.test.ts +0 -24
- package/tests/tdd/calendar/CalendarClient.test.ts +0 -100
- package/tests/tdd/calendar/getCalendarEventById.test.ts +0 -29
- package/tests/tdd/calendar/getCalendarEvents.test.ts +0 -29
- package/tests/tdd/calendar/getEventAttendees.test.ts +0 -29
- package/tests/tdd/calendar/respondToCalendarEvent.test.ts +0 -29
- package/tests/tdd/characters/CharacterBuilder.test.ts +0 -20
- package/tests/tdd/characters/CharacterClient.test.ts +0 -153
- package/tests/tdd/characters/getAgentsResearch.test.ts +0 -42
- package/tests/tdd/characters/getBlueprints.test.ts +0 -42
- package/tests/tdd/characters/getCharacterPublicInfo.test.ts +0 -37
- package/tests/tdd/characters/getCharacterRoles.test.ts +0 -34
- package/tests/tdd/characters/getCharacterStandings.test.ts +0 -45
- package/tests/tdd/characters/getCharacterTitles.test.ts +0 -40
- package/tests/tdd/characters/getContactNotifications.test.ts +0 -42
- package/tests/tdd/characters/getCorporationHistory.test.ts +0 -42
- package/tests/tdd/characters/getJumpFatigue.test.ts +0 -37
- package/tests/tdd/characters/getMedals.test.ts +0 -42
- package/tests/tdd/characters/getNotifications.test.ts +0 -42
- package/tests/tdd/characters/getPortrait.test.ts +0 -35
- package/tests/tdd/characters/postCSPAChargeCost.test.ts +0 -39
- package/tests/tdd/characters/postCharacterAffiliation.test.ts +0 -48
- package/tests/tdd/clones/ClonesApiBuilder.test.ts +0 -19
- package/tests/tdd/clones/ClonesClient.test.ts +0 -61
- package/tests/tdd/clones/getClonesApi.test.ts +0 -48
- package/tests/tdd/clones/getImplantsApi.test.ts +0 -35
- package/tests/tdd/contacts/ContactsApiBuilder.test.ts +0 -21
- package/tests/tdd/contacts/ContactsClient.test.ts +0 -66
- package/tests/tdd/contacts/deleteCharacterContacts.test.ts +0 -23
- package/tests/tdd/contacts/getAllianceContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getAllianceContacts.test.ts +0 -37
- package/tests/tdd/contacts/getCharacterContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getCharacterContacts.test.ts +0 -37
- package/tests/tdd/contacts/getCorporationContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getCorporationContacts.test.ts +0 -37
- package/tests/tdd/contacts/postCharacterContacts.test.ts +0 -30
- package/tests/tdd/contacts/putCharacterContacts.test.ts +0 -30
- package/tests/tdd/contracts/ContractsApiBuilder.ts +0 -20
- package/tests/tdd/contracts/ContractsClient.ts +0 -247
- package/tests/tdd/contracts/getCharacterContractBids.test.ts +0 -49
- package/tests/tdd/contracts/getCharacterContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getCharacterContracts.test.ts +0 -57
- package/tests/tdd/contracts/getCorporationContractBids.test.ts +0 -48
- package/tests/tdd/contracts/getCorporationContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getCorporationContracts.test.ts +0 -56
- package/tests/tdd/contracts/getPublicContractBids.test.ts +0 -47
- package/tests/tdd/contracts/getPublicContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getPublicContracts.test.ts +0 -58
- package/tests/tdd/corporations/CorporationsApiBuilder.test.ts +0 -20
- package/tests/tdd/corporations/CorporationsClient.test.ts +0 -230
- package/tests/tdd/corporations/getCorporationAllianceHistory.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationAlscLogs.test.ts +0 -57
- package/tests/tdd/corporations/getCorporationBlueprints.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationDivisions.test.ts +0 -64
- package/tests/tdd/corporations/getCorporationFacilities.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationIcon.test.ts +0 -40
- package/tests/tdd/corporations/getCorporationInfo.test.ts +0 -40
- package/tests/tdd/corporations/getCorporationIssuedMedals.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationMedals.test.ts +0 -51
- package/tests/tdd/corporations/getCorporationMemberLimit.test.ts +0 -32
- package/tests/tdd/corporations/getCorporationMemberRoles.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationMemberRolesHistory.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationMemberTracking.test.ts +0 -48
- package/tests/tdd/corporations/getCorporationMembers.test.ts +0 -34
- package/tests/tdd/corporations/getCorporationMembersTitles.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationShareholders.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationStandings.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationStarbaseDetail.test.ts +0 -49
- package/tests/tdd/corporations/getCorporationStarbases.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationStructures.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationTitles.test.ts +0 -66
- package/tests/tdd/corporations/getNpcCorporations.test.ts +0 -34
- package/tests/tdd/dogma/DogmaAPIBuilder.test.ts +0 -13
- package/tests/tdd/dogma/DogmanClient.test.ts +0 -54
- package/tests/tdd/dogma/getDogmaAttributeById.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaAttributes.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaDynamicItemAttributes.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaEffectById.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaEffects.test.ts +0 -22
- package/tests/tdd/factions/FactionApiBuilder.test.ts +0 -17
- package/tests/tdd/factions/FactionClient.test.ts +0 -281
- package/tests/tdd/factions/getCharacterFactionWarfareStats.test.ts +0 -72
- package/tests/tdd/factions/getCharacterLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getCorporationFactionWarfareStats.test.ts +0 -72
- package/tests/tdd/factions/getCorporationLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getFactionLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getFactionWarfareStats.test.ts +0 -77
- package/tests/tdd/factions/getFactionWarfareSystems.test.ts +0 -59
- package/tests/tdd/factions/getFactionWarfareWars.test.ts +0 -43
- package/tests/tdd/fittings/FittingsBuilder.test.ts +0 -22
- package/tests/tdd/fittings/FittingsClient.test.ts +0 -93
- package/tests/tdd/fittings/deleteCharacterFitting.test.ts +0 -22
- package/tests/tdd/fittings/getCharacterFittings.test.ts +0 -57
- package/tests/tdd/fittings/postCharacterFittings.test.ts +0 -47
- package/tests/tdd/fleets/FleetApiBuilder.test.ts +0 -20
- package/tests/tdd/fleets/FleetClient.test.ts +0 -212
- package/tests/tdd/fleets/deleteFleetMember.test.ts +0 -31
- package/tests/tdd/fleets/deleteFleetSquad.test.ts +0 -24
- package/tests/tdd/fleets/deleteFleetWing.test.ts +0 -24
- package/tests/tdd/fleets/getCharacterFleetInfo.test.ts +0 -39
- package/tests/tdd/fleets/getFleetInfo.test.ts +0 -42
- package/tests/tdd/fleets/getFleetMembers.test.ts +0 -45
- package/tests/tdd/fleets/getFleetWings.test.ts +0 -35
- package/tests/tdd/fleets/postFleetInvitation.test.ts +0 -29
- package/tests/tdd/fleets/postFleetSquad.test.ts +0 -22
- package/tests/tdd/fleets/postFleetWing.test.ts +0 -31
- package/tests/tdd/fleets/putFleetMember.test.ts +0 -36
- package/tests/tdd/fleets/putFleetSquad.test.ts +0 -28
- package/tests/tdd/fleets/putFleetWing.test.ts +0 -22
- package/tests/tdd/fleets/updateFleet.test.ts +0 -39
- package/tests/tdd/incursions/IncursionsApiBuilder.test.ts +0 -20
- package/tests/tdd/incursions/IncursionsClient.test.ts +0 -63
- package/tests/tdd/incursions/getIncursions.test.ts +0 -41
- package/tests/tdd/industry/IndustryBuilder.test.ts +0 -20
- package/tests/tdd/industry/IndustryClient.test.ts +0 -354
- package/tests/tdd/industry/getCharacterIndustryJobs.test.ts +0 -80
- package/tests/tdd/industry/getCharacterMiningLedger.test.ts +0 -41
- package/tests/tdd/industry/getCorporationIndustryJobs.test.ts +0 -92
- package/tests/tdd/industry/getCorporationMiningObserver.test.ts +0 -44
- package/tests/tdd/industry/getCorporationMiningObservers.test.ts +0 -38
- package/tests/tdd/industry/getIndustryFacilities.test.ts +0 -47
- package/tests/tdd/industry/getIndustrySystems.test.ts +0 -46
- package/tests/tdd/industry/getMoonExtractionTimers.test.ts +0 -44
- package/tests/tdd/insurance/InsuranceApiBuilder.test.ts +0 -21
- package/tests/tdd/insurance/InsuranceClient.test.ts +0 -50
- package/tests/tdd/insurance/getInsurancePrices.test.ts +0 -51
- package/tests/tdd/killmails/KillmailApiBuilder.test.ts +0 -20
- package/tests/tdd/killmails/KillmailClient.test.ts +0 -110
- package/tests/tdd/killmails/getCharacterRecentKillmails.test.ts +0 -52
- package/tests/tdd/killmails/getCorporationRecentKillmails.test.ts +0 -52
- package/tests/tdd/killmails/getKillmail.test.ts +0 -47
- package/tests/tdd/location/LocationApiBuilder.test.ts +0 -20
- package/tests/tdd/location/LocationClient.test.ts +0 -82
- package/tests/tdd/location/getCharacterLocation.test.ts +0 -41
- package/tests/tdd/location/getCharacterOnline.test.ts +0 -44
- package/tests/tdd/location/getCharacterShip.test.ts +0 -41
- package/tests/tdd/loyalty/LoyaltyApiBuilder.test.ts +0 -20
- package/tests/tdd/loyalty/LoyaltyClient.test.ts +0 -73
- package/tests/tdd/loyalty/getLoyaltyPoints.test.ts +0 -35
- package/tests/tdd/loyalty/getLoyaltyStoreOffers.test.ts +0 -44
- package/tests/tdd/mail/MailApiBuilder.test.ts +0 -20
- package/tests/tdd/mail/MailClient.test.ts +0 -189
- package/tests/tdd/mail/deleteCharacterMail.test.ts +0 -22
- package/tests/tdd/mail/getCharacterMail.test.ts +0 -46
- package/tests/tdd/mail/getCharacterMailHeaders.ts +0 -51
- package/tests/tdd/mail/getCharacterMailLabels.test.ts +0 -44
- package/tests/tdd/mail/postCharacterMail.test.ts +0 -40
- package/tests/tdd/mail/postCharacterMailLabels.test.ts +0 -31
- package/tests/tdd/mail/putCharacterMail.test.ts +0 -27
- package/tests/tdd/market/MarketApiBuilder.test.ts +0 -20
- package/tests/tdd/market/MarketClient.test.ts +0 -398
- package/tests/tdd/market/getCharacterOrderHistory.test.ts +0 -61
- package/tests/tdd/market/getCharacterOrders.test.test.ts +0 -61
- package/tests/tdd/market/getCorporationOrderHistory.test.ts +0 -61
- package/tests/tdd/market/getCorporationOrders.test.ts +0 -61
- package/tests/tdd/market/getMarketGroupInformation.test.ts +0 -43
- package/tests/tdd/market/getMarketGroups.test.ts +0 -48
- package/tests/tdd/market/getMarketHistory.test.ts +0 -49
- package/tests/tdd/market/getMarketOrders.test.ts +0 -59
- package/tests/tdd/market/getMarketOrdersInStructure.test.ts +0 -67
- package/tests/tdd/market/getMarketPrices.test.ts +0 -51
- package/tests/tdd/market/getMarketTypes.test.ts +0 -35
- package/tests/tdd/opportunities/OpportunitiesAPIBuillder.test.ts +0 -25
- package/tests/tdd/opportunities/OpportunitiesClient.test.ts +0 -109
- package/tests/tdd/opportunities/getCharacterOpportunities.test.ts +0 -38
- package/tests/tdd/opportunities/getOpportunitiesGroupById.test.ts +0 -42
- package/tests/tdd/opportunities/getOpportunitiesGroups.test.ts +0 -40
- package/tests/tdd/opportunities/getOpportunitiesTaskById.test.ts +0 -37
- package/tests/tdd/opportunities/getOpportunitiesTasks.test.ts +0 -40
- package/tests/tdd/pi/PiApiBuilder.test.ts +0 -20
- package/tests/tdd/pi/PiClient.test.ts +0 -155
- package/tests/tdd/pi/getColonies.test.ts +0 -47
- package/tests/tdd/pi/getColonyLayout.test.ts +0 -45
- package/tests/tdd/pi/getCorporationCustomsOffices.test.ts +0 -63
- package/tests/tdd/pi/getSchematicInformation.test.ts +0 -36
- package/tests/tdd/route/RouteApiBuilder.ts +0 -20
- package/tests/tdd/route/RouteClient.test.ts +0 -38
- package/tests/tdd/route/getRoute.test.ts +0 -37
- package/tests/tdd/search/characterSearch.test.ts +0 -50
- package/tests/tdd/search/searchApiBuilder.test.ts +0 -17
- package/tests/tdd/search/searchClient.test.ts +0 -40
- package/tests/tdd/skills/SkillsApiBuilder.test.ts +0 -20
- package/tests/tdd/skills/SkillsClient.test.ts +0 -112
- package/tests/tdd/skills/getCharacterAttributes.test.ts +0 -39
- package/tests/tdd/skills/getCharacterSkillQueue.test.ts +0 -48
- package/tests/tdd/skills/getCharacterSkills.test.ts +0 -46
- package/tests/tdd/sovereignty/SovereigntyApiBuilder.test.ts +0 -18
- package/tests/tdd/sovereignty/SovereigntyClient.test.ts +0 -84
- package/tests/tdd/sovereignty/getSovereigntyCampaigns.test.ts +0 -41
- package/tests/tdd/sovereignty/getSovereigntyMap.test.ts +0 -37
- package/tests/tdd/sovereignty/getSovereigntyStructures.test.ts +0 -41
- package/tests/tdd/status/StatusAPIBuilder.test.ts +0 -20
- package/tests/tdd/status/StatusClient.test.ts +0 -38
- package/tests/tdd/status/getStatus.test.ts +0 -45
- package/tests/tdd/ui/UiApiBuilder.test.ts +0 -20
- package/tests/tdd/ui/UiClient.test.ts +0 -81
- package/tests/tdd/ui/postAutopilotWaypoint.test.ts +0 -36
- package/tests/tdd/ui/postOpenContractWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenInformationWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenMarketDetailsWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenNewMailWindow.test.ts +0 -36
- package/tests/tdd/universe/UniverseApiBuilder.test.ts +0 -60
- package/tests/tdd/universe/UniverseClient.test.ts +0 -215
- package/tests/tdd/universe/getAncestries.test.ts +0 -34
- package/tests/tdd/universe/getAsteroidBeltInfo.test.ts +0 -29
- package/tests/tdd/universe/getBloodlines.test.ts +0 -34
- package/tests/tdd/universe/getConstellationById.test.ts +0 -37
- package/tests/tdd/universe/getConstellations.test.ts +0 -34
- package/tests/tdd/universe/getFactions.test.ts +0 -34
- package/tests/tdd/universe/getGraphicById.test.ts +0 -45
- package/tests/tdd/universe/getGraphics.test.ts +0 -34
- package/tests/tdd/universe/getGroupById.test.ts +0 -45
- package/tests/tdd/universe/getItemCategories.test.ts +0 -34
- package/tests/tdd/universe/getItemCategoryById.test.ts +0 -37
- package/tests/tdd/universe/getItemGroups.test.ts +0 -50
- package/tests/tdd/universe/getMoonById.test.ts +0 -59
- package/tests/tdd/universe/getPlanetById.test.ts +0 -63
- package/tests/tdd/universe/getRaces.test.ts +0 -50
- package/tests/tdd/universe/getRegionById.test.ts +0 -53
- package/tests/tdd/universe/getStarById.test.ts +0 -53
- package/tests/tdd/universe/getStargateById.test.ts +0 -63
- package/tests/tdd/universe/getStationById.test.ts +0 -53
- package/tests/tdd/universe/getStructureById.test.ts +0 -71
- package/tests/tdd/universe/getStructures.test.ts +0 -33
- package/tests/tdd/universe/getSystemById.test.ts +0 -49
- package/tests/tdd/universe/getSystemJumps.test.ts +0 -46
- package/tests/tdd/universe/getSystemKills.test.ts +0 -46
- package/tests/tdd/universe/getSystems.test.ts +0 -33
- package/tests/tdd/universe/getTypeById.test.ts +0 -53
- package/tests/tdd/universe/getTypes.test.ts +0 -33
- package/tests/tdd/universe/postBulkNamesToIds.test.ts +0 -47
- package/tests/tdd/universe/postNamesAndCatagories.test.ts +0 -47
- package/tests/tdd/wallet/WalletApiBuilder.test.ts +0 -20
- package/tests/tdd/wallet/WalletClient.test.ts +0 -187
- package/tests/tdd/wallet/getCharacterWallet.test.ts +0 -35
- package/tests/tdd/wallet/getCharacterWalletJournal.test.ts +0 -53
- package/tests/tdd/wallet/getCharacterWalletTransactions.test.ts +0 -57
- package/tests/tdd/wallet/getCorporationWalletJournal.test.ts +0 -53
- package/tests/tdd/wallet/getCorporationWalletTransactions.test.ts +0 -57
- package/tests/tdd/wallet/getCorporationWallets.test.ts +0 -43
- package/tests/tdd/wars/WarsAPIBuilder.test.ts +0 -23
- package/tests/tdd/wars/WarsClient.test.ts +0 -93
- package/tests/tdd/wars/getWarById.test.ts +0 -31
- package/tests/tdd/wars/getWarKillmails.test.ts +0 -33
- package/tests/tdd/wars/getWars.test.ts +0 -33
- package/tsconfig.json +0 -15
- package/types/global.d.ts +0 -17
- package/types/jest.d.ts +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LocationClient = void 0;
|
|
4
|
+
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
+
const locationEndpoints_1 = require("../core/endpoints/locationEndpoints");
|
|
6
|
+
class LocationClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
+
constructor(client) {
|
|
8
|
+
super(client, locationEndpoints_1.locationEndpoints);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the current solar system, station, and structure location of a character.
|
|
12
|
+
*
|
|
13
|
+
* @param characterId - The ID of the character to locate
|
|
14
|
+
* @returns The character's current location including solar system and optional station or structure
|
|
15
|
+
* @requires Authentication
|
|
16
|
+
*/
|
|
17
|
+
getCharacterLocation(characterId) {
|
|
18
|
+
return this.api.getCharacterLocation(characterId);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Checks whether a character is currently online and retrieves login/logout timestamps.
|
|
22
|
+
*
|
|
23
|
+
* @param characterId - The ID of the character to check
|
|
24
|
+
* @returns The character's online status and last login/logout times
|
|
25
|
+
* @requires Authentication
|
|
26
|
+
*/
|
|
27
|
+
getCharacterOnline(characterId) {
|
|
28
|
+
return this.api.getCharacterOnline(characterId);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves the type, name, and item ID of the ship a character is currently flying.
|
|
32
|
+
*
|
|
33
|
+
* @param characterId - The ID of the character whose ship to retrieve
|
|
34
|
+
* @returns The character's current ship details including type ID and ship name
|
|
35
|
+
* @requires Authentication
|
|
36
|
+
*/
|
|
37
|
+
getCharacterShip(characterId) {
|
|
38
|
+
return this.api.getCharacterShip(characterId);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.LocationClient = LocationClient;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient';
|
|
3
|
+
import { loyaltyEndpoints } from '../core/endpoints/loyaltyEndpoints';
|
|
4
|
+
import { LoyaltyPoints, LoyaltyStoreOffer } from '../types/api-responses';
|
|
5
|
+
export declare class LoyaltyClient extends BaseEsiClient<typeof loyaltyEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the loyalty points a character has earned with each NPC corporation.
|
|
9
|
+
*
|
|
10
|
+
* @param characterId - The ID of the character to fetch loyalty points for
|
|
11
|
+
* @returns A list of loyalty point balances per corporation
|
|
12
|
+
* @requires Authentication
|
|
13
|
+
*/
|
|
14
|
+
getLoyaltyPoints(characterId: number): Promise<LoyaltyPoints[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves the list of items available in an NPC corporation's loyalty point store.
|
|
17
|
+
*
|
|
18
|
+
* @param corporationId - The ID of the NPC corporation whose LP store to query
|
|
19
|
+
* @returns A list of offers available in the loyalty store
|
|
20
|
+
*/
|
|
21
|
+
getLoyaltyStoreOffers(corporationId: number): Promise<LoyaltyStoreOffer[]>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=LoyaltyClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoyaltyClient.d.ts","sourceRoot":"","sources":["../../src/clients/LoyaltyClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE1E,qBAAa,aAAc,SAAQ,aAAa,CAAC,OAAO,gBAAgB,CAAC;gBAC3D,MAAM,EAAE,SAAS;IAI7B;;;;;;OAMG;IACH,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAI/D;;;;;OAKG;IACH,qBAAqB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAK3E"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LoyaltyClient = void 0;
|
|
4
|
+
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
+
const loyaltyEndpoints_1 = require("../core/endpoints/loyaltyEndpoints");
|
|
6
|
+
class LoyaltyClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
+
constructor(client) {
|
|
8
|
+
super(client, loyaltyEndpoints_1.loyaltyEndpoints);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the loyalty points a character has earned with each NPC corporation.
|
|
12
|
+
*
|
|
13
|
+
* @param characterId - The ID of the character to fetch loyalty points for
|
|
14
|
+
* @returns A list of loyalty point balances per corporation
|
|
15
|
+
* @requires Authentication
|
|
16
|
+
*/
|
|
17
|
+
getLoyaltyPoints(characterId) {
|
|
18
|
+
return this.api.getLoyaltyPoints(characterId);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the list of items available in an NPC corporation's loyalty point store.
|
|
22
|
+
*
|
|
23
|
+
* @param corporationId - The ID of the NPC corporation whose LP store to query
|
|
24
|
+
* @returns A list of offers available in the loyalty store
|
|
25
|
+
*/
|
|
26
|
+
getLoyaltyStoreOffers(corporationId) {
|
|
27
|
+
return this.api.getLoyaltyStoreOffers(corporationId);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.LoyaltyClient = LoyaltyClient;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient';
|
|
3
|
+
import { mailEndpoints } from '../core/endpoints/mailEndpoints';
|
|
4
|
+
import { MailMessage, MailLabel } from '../types/api-responses';
|
|
5
|
+
export declare class MailClient extends BaseEsiClient<typeof mailEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the mail headers (subject, sender, timestamp) for a character's inbox.
|
|
9
|
+
*
|
|
10
|
+
* @param characterId - The ID of the character whose mail headers to fetch
|
|
11
|
+
* @returns A list of mail message headers
|
|
12
|
+
* @requires Authentication
|
|
13
|
+
*/
|
|
14
|
+
getMailHeaders(characterId: number): Promise<MailMessage[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Sends a new mail on behalf of a character via POST.
|
|
17
|
+
*
|
|
18
|
+
* @param characterId - The ID of the character sending the mail
|
|
19
|
+
* @param body - The mail content including recipients, subject, and body text
|
|
20
|
+
* @returns The ID of the newly created mail
|
|
21
|
+
* @requires Authentication
|
|
22
|
+
*/
|
|
23
|
+
sendMail(characterId: number, body: object): Promise<number>;
|
|
24
|
+
/**
|
|
25
|
+
* Deletes a specific mail from a character's mailbox.
|
|
26
|
+
*
|
|
27
|
+
* @param characterId - The ID of the character who owns the mail
|
|
28
|
+
* @param mailId - The ID of the mail to delete
|
|
29
|
+
* @returns void
|
|
30
|
+
* @requires Authentication
|
|
31
|
+
*/
|
|
32
|
+
deleteMail(characterId: number, mailId: number): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves the full contents of a specific mail including its body text.
|
|
35
|
+
*
|
|
36
|
+
* @param characterId - The ID of the character who owns the mail
|
|
37
|
+
* @param mailId - The ID of the mail to retrieve
|
|
38
|
+
* @returns The full mail message including body, sender, and recipients
|
|
39
|
+
* @requires Authentication
|
|
40
|
+
*/
|
|
41
|
+
getMail(characterId: number, mailId: number): Promise<MailMessage>;
|
|
42
|
+
/**
|
|
43
|
+
* Updates the metadata of a mail, such as read status or labels, via PUT.
|
|
44
|
+
*
|
|
45
|
+
* @param characterId - The ID of the character who owns the mail
|
|
46
|
+
* @param mailId - The ID of the mail to update
|
|
47
|
+
* @param body - The metadata fields to update (e.g., labels, read status)
|
|
48
|
+
* @returns void
|
|
49
|
+
* @requires Authentication
|
|
50
|
+
*/
|
|
51
|
+
updateMailMetadata(characterId: number, mailId: number, body: object): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves the mail labels and total unread count for a character.
|
|
54
|
+
*
|
|
55
|
+
* @param characterId - The ID of the character whose labels to fetch
|
|
56
|
+
* @returns The character's mail labels and total unread mail count
|
|
57
|
+
* @requires Authentication
|
|
58
|
+
*/
|
|
59
|
+
getMailLabels(characterId: number): Promise<{
|
|
60
|
+
total_unread_count?: number;
|
|
61
|
+
labels?: MailLabel[];
|
|
62
|
+
}>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates a new custom mail label for a character via POST.
|
|
65
|
+
*
|
|
66
|
+
* @param characterId - The ID of the character to create the label for
|
|
67
|
+
* @param body - The label definition including name and optional color
|
|
68
|
+
* @returns The ID of the newly created label
|
|
69
|
+
* @requires Authentication
|
|
70
|
+
*/
|
|
71
|
+
createMailLabel(characterId: number, body: object): Promise<number>;
|
|
72
|
+
/**
|
|
73
|
+
* Deletes a custom mail label from a character's mailbox.
|
|
74
|
+
*
|
|
75
|
+
* @param characterId - The ID of the character who owns the label
|
|
76
|
+
* @param labelId - The ID of the label to delete
|
|
77
|
+
* @returns void
|
|
78
|
+
* @requires Authentication
|
|
79
|
+
*/
|
|
80
|
+
deleteMailLabel(characterId: number, labelId: number): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Retrieves the mailing lists that a character is subscribed to.
|
|
83
|
+
*
|
|
84
|
+
* @param characterId - The ID of the character whose mailing lists to fetch
|
|
85
|
+
* @returns A list of mailing lists with their IDs and names
|
|
86
|
+
* @requires Authentication
|
|
87
|
+
*/
|
|
88
|
+
getMailingLists(characterId: number): Promise<{
|
|
89
|
+
mailing_list_id: number;
|
|
90
|
+
name: string;
|
|
91
|
+
}[]>;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=MailClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MailClient.d.ts","sourceRoot":"","sources":["../../src/clients/MailClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEhE,qBAAa,UAAW,SAAQ,aAAa,CAAC,OAAO,aAAa,CAAC;gBACrD,MAAM,EAAE,SAAS;IAI7B;;;;;;OAMG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAM3D;;;;;;;OAOG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI5D;;;;;;;OAOG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9D;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAIlE;;;;;;;;OAQG;IACH,kBAAkB,CAChB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;;OAMG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;QAAE,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAA;KAAE,CAAC;IAOjE;;;;;;;OAOG;IACH,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAInE;;;;;;;OAOG;IACH,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpE;;;;;;OAMG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAKxD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MailClient = void 0;
|
|
4
|
+
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
+
const mailEndpoints_1 = require("../core/endpoints/mailEndpoints");
|
|
6
|
+
class MailClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
+
constructor(client) {
|
|
8
|
+
super(client, mailEndpoints_1.mailEndpoints);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the mail headers (subject, sender, timestamp) for a character's inbox.
|
|
12
|
+
*
|
|
13
|
+
* @param characterId - The ID of the character whose mail headers to fetch
|
|
14
|
+
* @returns A list of mail message headers
|
|
15
|
+
* @requires Authentication
|
|
16
|
+
*/
|
|
17
|
+
getMailHeaders(characterId) {
|
|
18
|
+
return this.api.getCharacterMailHeaders(characterId);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Sends a new mail on behalf of a character via POST.
|
|
22
|
+
*
|
|
23
|
+
* @param characterId - The ID of the character sending the mail
|
|
24
|
+
* @param body - The mail content including recipients, subject, and body text
|
|
25
|
+
* @returns The ID of the newly created mail
|
|
26
|
+
* @requires Authentication
|
|
27
|
+
*/
|
|
28
|
+
sendMail(characterId, body) {
|
|
29
|
+
return this.api.sendMail(characterId, body);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Deletes a specific mail from a character's mailbox.
|
|
33
|
+
*
|
|
34
|
+
* @param characterId - The ID of the character who owns the mail
|
|
35
|
+
* @param mailId - The ID of the mail to delete
|
|
36
|
+
* @returns void
|
|
37
|
+
* @requires Authentication
|
|
38
|
+
*/
|
|
39
|
+
deleteMail(characterId, mailId) {
|
|
40
|
+
return this.api.deleteMail(characterId, mailId);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Retrieves the full contents of a specific mail including its body text.
|
|
44
|
+
*
|
|
45
|
+
* @param characterId - The ID of the character who owns the mail
|
|
46
|
+
* @param mailId - The ID of the mail to retrieve
|
|
47
|
+
* @returns The full mail message including body, sender, and recipients
|
|
48
|
+
* @requires Authentication
|
|
49
|
+
*/
|
|
50
|
+
getMail(characterId, mailId) {
|
|
51
|
+
return this.api.getMail(characterId, mailId);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Updates the metadata of a mail, such as read status or labels, via PUT.
|
|
55
|
+
*
|
|
56
|
+
* @param characterId - The ID of the character who owns the mail
|
|
57
|
+
* @param mailId - The ID of the mail to update
|
|
58
|
+
* @param body - The metadata fields to update (e.g., labels, read status)
|
|
59
|
+
* @returns void
|
|
60
|
+
* @requires Authentication
|
|
61
|
+
*/
|
|
62
|
+
updateMailMetadata(characterId, mailId, body) {
|
|
63
|
+
return this.api.updateMailMetadata(characterId, mailId, body);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Retrieves the mail labels and total unread count for a character.
|
|
67
|
+
*
|
|
68
|
+
* @param characterId - The ID of the character whose labels to fetch
|
|
69
|
+
* @returns The character's mail labels and total unread mail count
|
|
70
|
+
* @requires Authentication
|
|
71
|
+
*/
|
|
72
|
+
getMailLabels(characterId) {
|
|
73
|
+
return this.api.getMailLabels(characterId);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new custom mail label for a character via POST.
|
|
77
|
+
*
|
|
78
|
+
* @param characterId - The ID of the character to create the label for
|
|
79
|
+
* @param body - The label definition including name and optional color
|
|
80
|
+
* @returns The ID of the newly created label
|
|
81
|
+
* @requires Authentication
|
|
82
|
+
*/
|
|
83
|
+
createMailLabel(characterId, body) {
|
|
84
|
+
return this.api.createMailLabel(characterId, body);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Deletes a custom mail label from a character's mailbox.
|
|
88
|
+
*
|
|
89
|
+
* @param characterId - The ID of the character who owns the label
|
|
90
|
+
* @param labelId - The ID of the label to delete
|
|
91
|
+
* @returns void
|
|
92
|
+
* @requires Authentication
|
|
93
|
+
*/
|
|
94
|
+
deleteMailLabel(characterId, labelId) {
|
|
95
|
+
return this.api.deleteMailLabel(characterId, labelId);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Retrieves the mailing lists that a character is subscribed to.
|
|
99
|
+
*
|
|
100
|
+
* @param characterId - The ID of the character whose mailing lists to fetch
|
|
101
|
+
* @returns A list of mailing lists with their IDs and names
|
|
102
|
+
* @requires Authentication
|
|
103
|
+
*/
|
|
104
|
+
getMailingLists(characterId) {
|
|
105
|
+
return this.api.getMailingLists(characterId);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.MailClient = MailClient;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient';
|
|
3
|
+
import { marketEndpoints } from '../core/endpoints/marketEndpoints';
|
|
4
|
+
import { MarketOrder, MarketHistory } from '../types/api-responses';
|
|
5
|
+
export declare class MarketClient extends BaseEsiClient<typeof marketEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves all active market orders placed by a character.
|
|
9
|
+
*
|
|
10
|
+
* @param characterId - The ID of the character whose orders to fetch
|
|
11
|
+
* @returns A list of the character's open market orders
|
|
12
|
+
* @requires Authentication
|
|
13
|
+
*/
|
|
14
|
+
getCharacterOrders(characterId: number): Promise<MarketOrder[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves the history of expired and cancelled market orders for a character.
|
|
17
|
+
*
|
|
18
|
+
* @param characterId - The ID of the character whose order history to fetch
|
|
19
|
+
* @returns A list of the character's historical market orders
|
|
20
|
+
* @requires Authentication
|
|
21
|
+
*/
|
|
22
|
+
getCharacterOrderHistory(characterId: number): Promise<MarketOrder[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves all active market orders placed by members of a corporation.
|
|
25
|
+
*
|
|
26
|
+
* @param corporationId - The ID of the corporation whose orders to fetch
|
|
27
|
+
* @returns A list of the corporation's open market orders
|
|
28
|
+
* @requires Authentication
|
|
29
|
+
*/
|
|
30
|
+
getCorporationOrders(corporationId: number): Promise<MarketOrder[]>;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves the history of expired and cancelled market orders for a corporation.
|
|
33
|
+
*
|
|
34
|
+
* @param corporationId - The ID of the corporation whose order history to fetch
|
|
35
|
+
* @returns A list of the corporation's historical market orders
|
|
36
|
+
* @requires Authentication
|
|
37
|
+
*/
|
|
38
|
+
getCorporationOrderHistory(corporationId: number): Promise<MarketOrder[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieves the daily price and volume history for a specific item type in a region.
|
|
41
|
+
*
|
|
42
|
+
* @param regionId - The ID of the region to fetch market history for
|
|
43
|
+
* @param typeId - The type ID of the item to get history for
|
|
44
|
+
* @returns A list of daily market history entries with price and volume data
|
|
45
|
+
*/
|
|
46
|
+
getMarketHistory(regionId: number, typeId: number): Promise<MarketHistory[]>;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves all active market orders in a region for all item types.
|
|
49
|
+
*
|
|
50
|
+
* @param regionId - The ID of the region to fetch orders for
|
|
51
|
+
* @returns A list of all active market orders in the region
|
|
52
|
+
*/
|
|
53
|
+
getMarketOrders(regionId: number): Promise<MarketOrder[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves the list of type IDs that have active market orders in a region.
|
|
56
|
+
*
|
|
57
|
+
* @param regionId - The ID of the region to check for active types
|
|
58
|
+
* @returns A list of type IDs with active orders in the region
|
|
59
|
+
*/
|
|
60
|
+
getMarketTypes(regionId: number): Promise<number[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves the list of all market group IDs used to categorize items on the market.
|
|
63
|
+
*
|
|
64
|
+
* @returns A list of all market group IDs
|
|
65
|
+
*/
|
|
66
|
+
getMarketGroups(): Promise<number[]>;
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves detailed information about a specific market group, including its name, description, and contained types.
|
|
69
|
+
*
|
|
70
|
+
* @param marketGroupId - The ID of the market group to look up
|
|
71
|
+
* @returns The market group details including name, description, types, and optional parent group
|
|
72
|
+
*/
|
|
73
|
+
getMarketGroupInformation(marketGroupId: number): Promise<{
|
|
74
|
+
market_group_id: number;
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
types: number[];
|
|
78
|
+
parent_group_id?: number;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* Retrieves the global average and adjusted prices for all tradeable item types.
|
|
82
|
+
*
|
|
83
|
+
* @returns A list of item types with their average and adjusted market prices
|
|
84
|
+
*/
|
|
85
|
+
getMarketPrices(): Promise<{
|
|
86
|
+
type_id: number;
|
|
87
|
+
average_price?: number;
|
|
88
|
+
adjusted_price?: number;
|
|
89
|
+
}[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Retrieves all active market orders listed in a specific player-owned structure.
|
|
92
|
+
*
|
|
93
|
+
* @param structureId - The ID of the structure to fetch orders for
|
|
94
|
+
* @returns A list of active market orders in the structure
|
|
95
|
+
*/
|
|
96
|
+
getMarketOrdersInStructure(structureId: number): Promise<MarketOrder[]>;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=MarketClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarketClient.d.ts","sourceRoot":"","sources":["../../src/clients/MarketClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEpE,qBAAa,YAAa,SAAQ,aAAa,CAAC,OAAO,eAAe,CAAC;gBACzD,MAAM,EAAE,SAAS;IAI7B;;;;;;OAMG;IACH,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAI/D;;;;;;OAMG;IACH,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAMrE;;;;;;OAMG;IACH,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAMnE;;;;;;OAMG;IACH,0BAA0B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAMzE;;;;;;OAMG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAM5E;;;;;OAKG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAIzD;;;;;OAKG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAInD;;;;OAIG;IACH,eAAe,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAIpC;;;;;OAKG;IACH,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;QACxD,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IAUF;;;;OAIG;IACH,eAAe,IAAI,OAAO,CACxB;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CACvE;IAMD;;;;;OAKG;IACH,0BAA0B,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;CAKxE"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MarketClient = void 0;
|
|
4
|
+
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
+
const marketEndpoints_1 = require("../core/endpoints/marketEndpoints");
|
|
6
|
+
class MarketClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
+
constructor(client) {
|
|
8
|
+
super(client, marketEndpoints_1.marketEndpoints);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves all active market orders placed by a character.
|
|
12
|
+
*
|
|
13
|
+
* @param characterId - The ID of the character whose orders to fetch
|
|
14
|
+
* @returns A list of the character's open market orders
|
|
15
|
+
* @requires Authentication
|
|
16
|
+
*/
|
|
17
|
+
getCharacterOrders(characterId) {
|
|
18
|
+
return this.api.getCharacterOrders(characterId);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the history of expired and cancelled market orders for a character.
|
|
22
|
+
*
|
|
23
|
+
* @param characterId - The ID of the character whose order history to fetch
|
|
24
|
+
* @returns A list of the character's historical market orders
|
|
25
|
+
* @requires Authentication
|
|
26
|
+
*/
|
|
27
|
+
getCharacterOrderHistory(characterId) {
|
|
28
|
+
return this.api.getCharacterOrderHistory(characterId);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves all active market orders placed by members of a corporation.
|
|
32
|
+
*
|
|
33
|
+
* @param corporationId - The ID of the corporation whose orders to fetch
|
|
34
|
+
* @returns A list of the corporation's open market orders
|
|
35
|
+
* @requires Authentication
|
|
36
|
+
*/
|
|
37
|
+
getCorporationOrders(corporationId) {
|
|
38
|
+
return this.api.getCorporationOrders(corporationId);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Retrieves the history of expired and cancelled market orders for a corporation.
|
|
42
|
+
*
|
|
43
|
+
* @param corporationId - The ID of the corporation whose order history to fetch
|
|
44
|
+
* @returns A list of the corporation's historical market orders
|
|
45
|
+
* @requires Authentication
|
|
46
|
+
*/
|
|
47
|
+
getCorporationOrderHistory(corporationId) {
|
|
48
|
+
return this.api.getCorporationOrderHistory(corporationId);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Retrieves the daily price and volume history for a specific item type in a region.
|
|
52
|
+
*
|
|
53
|
+
* @param regionId - The ID of the region to fetch market history for
|
|
54
|
+
* @param typeId - The type ID of the item to get history for
|
|
55
|
+
* @returns A list of daily market history entries with price and volume data
|
|
56
|
+
*/
|
|
57
|
+
getMarketHistory(regionId, typeId) {
|
|
58
|
+
return this.api.getMarketHistory(regionId, typeId);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Retrieves all active market orders in a region for all item types.
|
|
62
|
+
*
|
|
63
|
+
* @param regionId - The ID of the region to fetch orders for
|
|
64
|
+
* @returns A list of all active market orders in the region
|
|
65
|
+
*/
|
|
66
|
+
getMarketOrders(regionId) {
|
|
67
|
+
return this.api.getMarketOrders(regionId, 'all');
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Retrieves the list of type IDs that have active market orders in a region.
|
|
71
|
+
*
|
|
72
|
+
* @param regionId - The ID of the region to check for active types
|
|
73
|
+
* @returns A list of type IDs with active orders in the region
|
|
74
|
+
*/
|
|
75
|
+
getMarketTypes(regionId) {
|
|
76
|
+
return this.api.getMarketTypes(regionId);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves the list of all market group IDs used to categorize items on the market.
|
|
80
|
+
*
|
|
81
|
+
* @returns A list of all market group IDs
|
|
82
|
+
*/
|
|
83
|
+
getMarketGroups() {
|
|
84
|
+
return this.api.getMarketGroups();
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Retrieves detailed information about a specific market group, including its name, description, and contained types.
|
|
88
|
+
*
|
|
89
|
+
* @param marketGroupId - The ID of the market group to look up
|
|
90
|
+
* @returns The market group details including name, description, types, and optional parent group
|
|
91
|
+
*/
|
|
92
|
+
getMarketGroupInformation(marketGroupId) {
|
|
93
|
+
return this.api.getMarketGroupInformation(marketGroupId);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Retrieves the global average and adjusted prices for all tradeable item types.
|
|
97
|
+
*
|
|
98
|
+
* @returns A list of item types with their average and adjusted market prices
|
|
99
|
+
*/
|
|
100
|
+
getMarketPrices() {
|
|
101
|
+
return this.api.getMarketPrices();
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves all active market orders listed in a specific player-owned structure.
|
|
105
|
+
*
|
|
106
|
+
* @param structureId - The ID of the structure to fetch orders for
|
|
107
|
+
* @returns A list of active market orders in the structure
|
|
108
|
+
*/
|
|
109
|
+
getMarketOrdersInStructure(structureId) {
|
|
110
|
+
return this.api.getMarketOrdersInStructure(structureId);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.MarketClient = MarketClient;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient';
|
|
3
|
+
import { metaEndpoints } from '../core/endpoints/metaEndpoints';
|
|
4
|
+
export declare class MetaClient extends BaseEsiClient<typeof metaEndpoints> {
|
|
5
|
+
constructor(client: ApiClient);
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves the ESI OpenAPI specification in JSON format.
|
|
8
|
+
*
|
|
9
|
+
* @returns The full ESI OpenAPI specification as a JSON object
|
|
10
|
+
*/
|
|
11
|
+
getOpenApiJson(): Promise<Record<string, any>>;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the ESI OpenAPI specification in YAML format.
|
|
14
|
+
*
|
|
15
|
+
* @returns The full ESI OpenAPI specification as a YAML string
|
|
16
|
+
*/
|
|
17
|
+
getOpenApiYaml(): Promise<string>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=MetaClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetaClient.d.ts","sourceRoot":"","sources":["../../src/clients/MetaClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAIhE,qBAAa,UAAW,SAAQ,aAAa,CAAC,OAAO,aAAa,CAAC;gBACrD,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IAEH,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAK9C;;;;OAIG;IACG,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;CA8BxC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MetaClient = void 0;
|
|
4
|
+
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
+
const metaEndpoints_1 = require("../core/endpoints/metaEndpoints");
|
|
6
|
+
const loggerUtil_1 = require("../core/logger/loggerUtil");
|
|
7
|
+
const constants_1 = require("../core/constants");
|
|
8
|
+
class MetaClient extends BaseEsiClient_1.BaseEsiClient {
|
|
9
|
+
constructor(client) {
|
|
10
|
+
super(client, metaEndpoints_1.metaEndpoints);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the ESI OpenAPI specification in JSON format.
|
|
14
|
+
*
|
|
15
|
+
* @returns The full ESI OpenAPI specification as a JSON object
|
|
16
|
+
*/
|
|
17
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
18
|
+
getOpenApiJson() {
|
|
19
|
+
return this.api.getOpenApiJson();
|
|
20
|
+
}
|
|
21
|
+
/* eslint-enable @typescript-eslint/no-explicit-any */
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the ESI OpenAPI specification in YAML format.
|
|
24
|
+
*
|
|
25
|
+
* @returns The full ESI OpenAPI specification as a YAML string
|
|
26
|
+
*/
|
|
27
|
+
async getOpenApiYaml() {
|
|
28
|
+
const url = `${this._client.getLink()}/meta/openapi.yaml`;
|
|
29
|
+
(0, loggerUtil_1.logInfo)(`Hitting endpoint: ${url}`);
|
|
30
|
+
try {
|
|
31
|
+
const response = await fetch(url, {
|
|
32
|
+
method: 'GET',
|
|
33
|
+
headers: {
|
|
34
|
+
accept: 'text/yaml, application/x-yaml, text/plain',
|
|
35
|
+
'User-Agent': constants_1.USER_AGENT,
|
|
36
|
+
'X-Compatibility-Date': constants_1.COMPATIBILITY_DATE,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
if (!response.ok) {
|
|
40
|
+
throw new Error(`HTTP ${response.status}: ${response.statusText}`);
|
|
41
|
+
}
|
|
42
|
+
return await response.text();
|
|
43
|
+
}
|
|
44
|
+
catch (error) {
|
|
45
|
+
if (error instanceof Error) {
|
|
46
|
+
(0, loggerUtil_1.logError)(`Error fetching YAML: ${error.message}`);
|
|
47
|
+
throw error;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
(0, loggerUtil_1.logError)(`Unexpected error: ${String(error)}`);
|
|
51
|
+
throw new Error(String(error));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.MetaClient = MetaClient;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpportunitiesClient = void 0;
|
|
4
|
+
const getCharacterOpportunities_1 = require("../api/opportunities/getCharacterOpportunities");
|
|
5
|
+
const getOpportunitiesGroups_1 = require("../api/opportunities/getOpportunitiesGroups");
|
|
6
|
+
const getOpportunitiesGroupById_1 = require("../api/opportunities/getOpportunitiesGroupById");
|
|
7
|
+
const getOpportunitiesTasks_1 = require("../api/opportunities/getOpportunitiesTasks");
|
|
8
|
+
const getOpportunitiesTaskById_1 = require("../api/opportunities/getOpportunitiesTaskById");
|
|
9
|
+
class OpportunitiesClient {
|
|
10
|
+
constructor(client) {
|
|
11
|
+
this.getCharacterOpportunitiesApi = new getCharacterOpportunities_1.GetCharacterOpportunitiesApi(client);
|
|
12
|
+
this.getOpportunitiesGroupsApi = new getOpportunitiesGroups_1.GetOpportunitiesGroupsApi(client);
|
|
13
|
+
this.getOpportunitiesGroupByIdApi = new getOpportunitiesGroupById_1.GetOpportunitiesGroupByIdApi(client);
|
|
14
|
+
this.getOpportunitiesTasksApi = new getOpportunitiesTasks_1.GetOpportunitiesTasksApi(client);
|
|
15
|
+
this.getOpportunitiesTaskByIdApi = new getOpportunitiesTaskById_1.GetOpportunitiesTaskByIdApi(client);
|
|
16
|
+
}
|
|
17
|
+
async getCharacterOpportunities(characterId) {
|
|
18
|
+
return await this.getCharacterOpportunitiesApi.getCharacterOpportunities(characterId);
|
|
19
|
+
}
|
|
20
|
+
async getOpportunitiesGroups() {
|
|
21
|
+
return await this.getOpportunitiesGroupsApi.getOpportunitiesGroups();
|
|
22
|
+
}
|
|
23
|
+
async getOpportunitiesGroupById(groupId) {
|
|
24
|
+
return await this.getOpportunitiesGroupByIdApi.getOpportunitiesGroupById(groupId);
|
|
25
|
+
}
|
|
26
|
+
async getOpportunitiesTasks() {
|
|
27
|
+
return await this.getOpportunitiesTasksApi.getOpportunitiesTasks();
|
|
28
|
+
}
|
|
29
|
+
async getOpportunitiesTaskById(taskId) {
|
|
30
|
+
return await this.getOpportunitiesTaskByIdApi.getOpportunitiesTaskById(taskId);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.OpportunitiesClient = OpportunitiesClient;
|