@lgriffin/esi.ts 1.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/.github/workflows/ci.yml +16 -0
- package/.prettierrc +6 -0
- package/README.md +127 -0
- package/Structure.js +257 -0
- package/eslint.json +13 -0
- package/jest.bdd.config.cjs +22 -0
- package/jest.unit.config.cjs +30 -0
- package/package.json +49 -0
- package/src/TODO +72 -0
- package/src/api/alliances/getAllianceById.ts +10 -0
- package/src/api/alliances/getAllianceContactLabels.ts +11 -0
- package/src/api/alliances/getAllianceContacts.ts +10 -0
- package/src/api/alliances/getAllianceCorporations.ts +10 -0
- package/src/api/alliances/getAllianceIcons.ts +10 -0
- package/src/api/alliances/getAlliances.ts +10 -0
- package/src/api/assets/getCharacterAssets.ts +14 -0
- package/src/api/assets/getCorporationAssets.ts +14 -0
- package/src/api/assets/postCharacterAssetLocations.ts +14 -0
- package/src/api/assets/postCharacterAssetNames.ts +14 -0
- package/src/api/assets/postCorporationAssetLocations.ts +14 -0
- package/src/api/assets/postCorporationAssetNames.ts +14 -0
- package/src/api/bookmarks/getCharacterBookmarkFolders.ts +10 -0
- package/src/api/bookmarks/getCharacterBookmarks.ts +10 -0
- package/src/api/bookmarks/getCorporationBookmarkFolders.ts +10 -0
- package/src/api/bookmarks/getCorporationBookmarks.ts +10 -0
- package/src/api/calendar/getCalendarEventById.ts +10 -0
- package/src/api/calendar/getCalendarEvents.ts +10 -0
- package/src/api/calendar/getEventAttendees.ts +10 -0
- package/src/api/calendar/respondToCalendarEvent.ts +11 -0
- package/src/api/characters/getAgentsResearch.ts +10 -0
- package/src/api/characters/getBlueprints.ts +10 -0
- package/src/api/characters/getCharacterPublicInfo.ts +10 -0
- package/src/api/characters/getCharacterRoles.ts +10 -0
- package/src/api/characters/getCharacterStandings.ts +10 -0
- package/src/api/characters/getCharacterTitles.ts +10 -0
- package/src/api/characters/getContactNotifications.ts +10 -0
- package/src/api/characters/getCorporationHistory.ts +10 -0
- package/src/api/characters/getJumpFatigue.ts +10 -0
- package/src/api/characters/getMedals.ts +10 -0
- package/src/api/characters/getNotifications.ts +10 -0
- package/src/api/characters/getPortrait.ts +10 -0
- package/src/api/characters/postCSPAChargeCost.ts +10 -0
- package/src/api/characters/postCharacterAffiliations.ts +10 -0
- package/src/api/clones/getClones.ts +11 -0
- package/src/api/clones/getImplants.ts +11 -0
- package/src/api/contacts/deleteCharacterContacts.ts +10 -0
- package/src/api/contacts/getAllianceContactLabels.ts +10 -0
- package/src/api/contacts/getAllianceContacts.ts +10 -0
- package/src/api/contacts/getCharacterContactLabels.ts +10 -0
- package/src/api/contacts/getCharacterContacts.ts +10 -0
- package/src/api/contacts/getCorporationContactLabels.ts +10 -0
- package/src/api/contacts/getCorporationContacts.ts +10 -0
- package/src/api/contacts/postCharacterContacts.ts +10 -0
- package/src/api/contacts/putCharacterContacts.ts +10 -0
- package/src/api/contracts/getCharacterContractBids.ts +10 -0
- package/src/api/contracts/getCharacterContractItems.ts +10 -0
- package/src/api/contracts/getCharacterContracts.ts +10 -0
- package/src/api/contracts/getCorporationContractBids.ts +10 -0
- package/src/api/contracts/getCorporationContractItems.ts +10 -0
- package/src/api/contracts/getCorporationContracts.ts +10 -0
- package/src/api/contracts/getPublicContractBids.ts +10 -0
- package/src/api/contracts/getPublicContractItems.ts +10 -0
- package/src/api/contracts/getPublicContracts.ts +10 -0
- package/src/api/corporations/getCorporationAllianceHistory.ts +10 -0
- package/src/api/corporations/getCorporationAlscLogs.ts +10 -0
- package/src/api/corporations/getCorporationBlueprints.ts +10 -0
- package/src/api/corporations/getCorporationDivisions.ts +10 -0
- package/src/api/corporations/getCorporationFacilities.ts +10 -0
- package/src/api/corporations/getCorporationIcon.ts +10 -0
- package/src/api/corporations/getCorporationInfo.ts +10 -0
- package/src/api/corporations/getCorporationIssuedMedals.ts +10 -0
- package/src/api/corporations/getCorporationMedals.ts +10 -0
- package/src/api/corporations/getCorporationMemberLimit.ts +10 -0
- package/src/api/corporations/getCorporationMemberRoles.ts +10 -0
- package/src/api/corporations/getCorporationMemberRolesHistory.ts +10 -0
- package/src/api/corporations/getCorporationMemberTracking.ts +10 -0
- package/src/api/corporations/getCorporationMembers.ts +10 -0
- package/src/api/corporations/getCorporationMembersTitles.ts +10 -0
- package/src/api/corporations/getCorporationShareholders.ts +10 -0
- package/src/api/corporations/getCorporationStandings.ts +10 -0
- package/src/api/corporations/getCorporationStarbaseDetail.ts +10 -0
- package/src/api/corporations/getCorporationStarbases.ts +10 -0
- package/src/api/corporations/getCorporationStructures.ts +10 -0
- package/src/api/corporations/getCorporationTitles.ts +10 -0
- package/src/api/corporations/getNpcCorporations.ts +10 -0
- package/src/api/dogma/getDogmaAttributeById.ts +11 -0
- package/src/api/dogma/getDogmaAttributes.ts +11 -0
- package/src/api/dogma/getDogmaDynamicItemAttributes.ts +11 -0
- package/src/api/dogma/getDogmaEffectById.ts +11 -0
- package/src/api/dogma/getDogmaEffects.ts +11 -0
- package/src/api/factions/getCharacterFactionWarfareStats.ts +10 -0
- package/src/api/factions/getCharacterLeaderboards.ts +10 -0
- package/src/api/factions/getCorporationFactionWarfareStats.ts +10 -0
- package/src/api/factions/getCorporationLeaderboards.ts +10 -0
- package/src/api/factions/getFactionLeaderboards.ts +10 -0
- package/src/api/factions/getFactionWarfareStats.ts +10 -0
- package/src/api/factions/getFactionWarfareSystems.ts +10 -0
- package/src/api/factions/getFactionWarfareWars.ts +10 -0
- package/src/api/fittings/deleteCharacterFitting.ts +10 -0
- package/src/api/fittings/getCharacterFittings.ts +10 -0
- package/src/api/fittings/postCharacterFittings.ts +10 -0
- package/src/api/fleets/deleteFleetMember.ts +10 -0
- package/src/api/fleets/deleteFleetSquad.ts +10 -0
- package/src/api/fleets/deleteFleetWing.ts +10 -0
- package/src/api/fleets/getCharacterFleetInfo.ts +10 -0
- package/src/api/fleets/getFleetInfo.ts +10 -0
- package/src/api/fleets/getFleetMembers.ts +10 -0
- package/src/api/fleets/getFleetWings.ts +10 -0
- package/src/api/fleets/postFleetInvitation.ts +10 -0
- package/src/api/fleets/postFleetSquad.ts +10 -0
- package/src/api/fleets/postFleetWing.ts +10 -0
- package/src/api/fleets/putFleetMember.ts +10 -0
- package/src/api/fleets/putFleetSquad.ts +10 -0
- package/src/api/fleets/putFleetWing.ts +11 -0
- package/src/api/fleets/updateFleet.ts +10 -0
- package/src/api/incursions/getIncursions.ts +14 -0
- package/src/api/industry/getCharacterIndustryJobs.ts +10 -0
- package/src/api/industry/getCharacterMiningLedger.ts +10 -0
- package/src/api/industry/getCorporationIndustryJobs.ts +10 -0
- package/src/api/industry/getCorporationMiningObserver.ts +10 -0
- package/src/api/industry/getCorporationMiningObservers.ts +10 -0
- package/src/api/industry/getIndustryFacilities.ts +10 -0
- package/src/api/industry/getIndustrySystems.ts +10 -0
- package/src/api/industry/getMoonExtractionTimers.ts +10 -0
- package/src/api/insurance/getInsurancePrices.ts +10 -0
- package/src/api/killmails/getCharacterRecentKillmails.ts +10 -0
- package/src/api/killmails/getCorporationRecentKillmails.ts +10 -0
- package/src/api/killmails/getKillmail.ts +10 -0
- package/src/api/location/getCharacterLocation.ts +10 -0
- package/src/api/location/getCharacterOnline.ts +10 -0
- package/src/api/location/getCharacterShip.ts +10 -0
- package/src/api/loyalty/getLoyaltyPoints.ts +10 -0
- package/src/api/loyalty/getLoyaltyStoreOffers.ts +10 -0
- package/src/api/mail/deleteCharacterMail.ts +10 -0
- package/src/api/mail/deleteCharacterMailLabel.test.ts +22 -0
- package/src/api/mail/deleteCharacterMailLabel.ts +10 -0
- package/src/api/mail/getCharacerMailingLists.test.ts +35 -0
- package/src/api/mail/getCharacterMail.ts +10 -0
- package/src/api/mail/getCharacterMailHeaders.ts +10 -0
- package/src/api/mail/getCharacterMailLabels.ts +10 -0
- package/src/api/mail/getCharacterMailingLists.ts +10 -0
- package/src/api/mail/postCharacterMail.ts +10 -0
- package/src/api/mail/postCharacterMailLabels.ts +10 -0
- package/src/api/mail/putCharacterMail.ts +10 -0
- package/src/api/market/getCharacterOrderHistory.ts +10 -0
- package/src/api/market/getCharacterOrders.ts +10 -0
- package/src/api/market/getCorporationOrderHistory.ts +10 -0
- package/src/api/market/getCorporationOrders.ts +10 -0
- package/src/api/market/getMarketGroupInformation.ts +10 -0
- package/src/api/market/getMarketGroups.ts +10 -0
- package/src/api/market/getMarketHistory.ts +10 -0
- package/src/api/market/getMarketOrders.ts +10 -0
- package/src/api/market/getMarketOrdersInStructure.ts +10 -0
- package/src/api/market/getMarketPrices.ts +10 -0
- package/src/api/market/getMarketTypes.ts +10 -0
- package/src/api/opportunities/getCharacterOpportunities.ts +10 -0
- package/src/api/opportunities/getOpportunitiesGroupById.ts +10 -0
- package/src/api/opportunities/getOpportunitiesGroups.ts +10 -0
- package/src/api/opportunities/getOpportunitiesTaskById.ts +10 -0
- package/src/api/opportunities/getOpportunitiesTasks.ts +10 -0
- package/src/api/pi/getColonies.ts +10 -0
- package/src/api/pi/getColonyLayout.ts +10 -0
- package/src/api/pi/getCorporationCustomsOffices.ts +10 -0
- package/src/api/pi/getSchematicInformation.ts +10 -0
- package/src/api/route/getRoute.ts +14 -0
- package/src/api/search/getCharacterSearch.ts +14 -0
- package/src/api/skills/getCharacterAttributes.ts +10 -0
- package/src/api/skills/getCharacterSkillQueue.ts +10 -0
- package/src/api/skills/getCharacterSkills.ts +10 -0
- package/src/api/sovereignty/getSovereigntyCampaigns.ts +10 -0
- package/src/api/sovereignty/getSovereigntyMap.ts +10 -0
- package/src/api/sovereignty/getSovereigntyStructures.ts +10 -0
- package/src/api/status/getStatus.ts +11 -0
- package/src/api/ui/postAutopilotWaypoint.ts +10 -0
- package/src/api/ui/postOpenContractWindow.ts +10 -0
- package/src/api/ui/postOpenInformationWindow.ts +10 -0
- package/src/api/ui/postOpenMarketDetailsWindow.ts +10 -0
- package/src/api/ui/postOpenNewMailWindow.ts +10 -0
- package/src/api/universe/getAncestries.ts +10 -0
- package/src/api/universe/getAsteroidBeltInfo.ts +10 -0
- package/src/api/universe/getBloodlines.ts +10 -0
- package/src/api/universe/getConstellationById.ts +10 -0
- package/src/api/universe/getConstellations.ts +10 -0
- package/src/api/universe/getFactions.ts +10 -0
- package/src/api/universe/getGraphicById.ts +10 -0
- package/src/api/universe/getGraphics.ts +10 -0
- package/src/api/universe/getItemCategories.ts +10 -0
- package/src/api/universe/getItemCategoryById.ts +10 -0
- package/src/api/universe/getItemGroupById.ts +10 -0
- package/src/api/universe/getItemGroups.ts +10 -0
- package/src/api/universe/getMoonById.ts +10 -0
- package/src/api/universe/getPlanetById.ts +10 -0
- package/src/api/universe/getRaces.ts +10 -0
- package/src/api/universe/getRegionById.ts +10 -0
- package/src/api/universe/getStarById.ts +10 -0
- package/src/api/universe/getStargateById.ts +10 -0
- package/src/api/universe/getStationById.ts +10 -0
- package/src/api/universe/getStructureById.ts +10 -0
- package/src/api/universe/getStructures.ts +10 -0
- package/src/api/universe/getSystemById.ts +10 -0
- package/src/api/universe/getSystemJumps.ts +10 -0
- package/src/api/universe/getSystemKills.ts +10 -0
- package/src/api/universe/getSystems.ts +10 -0
- package/src/api/universe/getTypeById.ts +10 -0
- package/src/api/universe/getTypes.ts +10 -0
- package/src/api/universe/postBulkNamesToIds.ts +15 -0
- package/src/api/universe/postNamesAndCategories.ts +15 -0
- package/src/api/wallet/getCharacterWallet.ts +11 -0
- package/src/api/wallet/getCharacterWalletJournal.ts +11 -0
- package/src/api/wallet/getCharacterWalletTransactions.ts +11 -0
- package/src/api/wallet/getCorporationWalletJournal.ts +11 -0
- package/src/api/wallet/getCorporationWalletTransactions.ts +11 -0
- package/src/api/wallet/getCorporationWallets.ts +11 -0
- package/src/api/wars/getWarById.ts +10 -0
- package/src/api/wars/getWarKillmails.ts +10 -0
- package/src/api/wars/getWars.ts +10 -0
- package/src/builders/AllianceApiBuilder.ts +14 -0
- package/src/builders/AssetsApiBuilder.ts +14 -0
- package/src/builders/BookmarkApiBuilder.ts +14 -0
- package/src/builders/CalendarApiBuilder.ts +14 -0
- package/src/builders/CharacterApiBuilder.ts +14 -0
- package/src/builders/ClonesApiBuilder.ts +14 -0
- package/src/builders/ContactsApiBuilder.ts +14 -0
- package/src/builders/ContractsApiBuilder.ts +14 -0
- package/src/builders/CorporationsApiBuilder.ts +14 -0
- package/src/builders/DogmaApiBuilder.ts +15 -0
- package/src/builders/FactionApiBuilder.ts +14 -0
- package/src/builders/FittingsApiBuilder.ts +16 -0
- package/src/builders/FleetApiBuilder.ts +14 -0
- package/src/builders/IncursionsApiBuilder.ts +14 -0
- package/src/builders/IndustryApiBuilder.ts +14 -0
- package/src/builders/InsuranceApiBuilder.ts +14 -0
- package/src/builders/KillmailsBuilder.ts +14 -0
- package/src/builders/LocationApiBuilder.ts +14 -0
- package/src/builders/LoyaltyApiBuilder.ts +14 -0
- package/src/builders/MailApiBuilder.ts +14 -0
- package/src/builders/MarketApiBuilder.ts +14 -0
- package/src/builders/OpportunitiesApiBuilder.ts +16 -0
- package/src/builders/PiApiBuilder.ts +14 -0
- package/src/builders/RouteApiBuilder.ts +14 -0
- package/src/builders/SearchApiBuilder.ts +14 -0
- package/src/builders/SkillsApiBuilder.ts +14 -0
- package/src/builders/SovereigntyApiBuilder.ts +14 -0
- package/src/builders/StatusApiBuilder.ts +14 -0
- package/src/builders/UiApiBuilder.ts +14 -0
- package/src/builders/UniverseApiBuilder.ts +14 -0
- package/src/builders/WalletApiBuilder.ts +15 -0
- package/src/builders/WarsAPIBuilder.ts +14 -0
- package/src/clients/AllianceClient.ts +49 -0
- package/src/clients/AssetsClient.ts +49 -0
- package/src/clients/BookmarkClient.ts +35 -0
- package/src/clients/CalendarClient.ts +35 -0
- package/src/clients/CharacterClient.ts +105 -0
- package/src/clients/ClonesClient.ts +21 -0
- package/src/clients/ContactsClient.ts +70 -0
- package/src/clients/ContractsClient.ts +70 -0
- package/src/clients/CorporationsClient.ts +161 -0
- package/src/clients/DogmaClient.ts +43 -0
- package/src/clients/FactionClient.ts +63 -0
- package/src/clients/FittingsClient.ts +28 -0
- package/src/clients/FleetClient.ts +105 -0
- package/src/clients/IncursionsClient.ts +14 -0
- package/src/clients/IndustryClient.ts +63 -0
- package/src/clients/InsuranceClient.ts +14 -0
- package/src/clients/KillmailsClient.ts +28 -0
- package/src/clients/LocationClient.ts +28 -0
- package/src/clients/LoyaltyClient.ts +21 -0
- package/src/clients/MailClient.ts +70 -0
- package/src/clients/MarketClient.ts +84 -0
- package/src/clients/OpportunitiesClient.ts +42 -0
- package/src/clients/PiClient.ts +35 -0
- package/src/clients/RouteClient.ts +14 -0
- package/src/clients/SearchClient.ts +14 -0
- package/src/clients/SkillsClient.ts +28 -0
- package/src/clients/SovereigntyClient.ts +28 -0
- package/src/clients/StatusClient.ts +24 -0
- package/src/clients/UiClient.ts +42 -0
- package/src/clients/UniverseClient.ts +212 -0
- package/src/clients/WalletClient.ts +49 -0
- package/src/clients/WarsClient.ts +28 -0
- package/src/config/configManager.ts +30 -0
- package/src/config/constants.ts +6 -0
- package/src/config/esi.json +8 -0
- package/src/config/jest/jest.bdd.setup.ts +11 -0
- package/src/config/jest/jest.setup.ts +25 -0
- package/src/config/swagger.json +1 -0
- package/src/core/ApiClient.ts +18 -0
- package/src/core/ApiClientBuilder.ts +26 -0
- package/src/core/ApiError.ts +6 -0
- package/src/core/ApiRequestHandler.ts +138 -0
- package/src/core/logger/index.ts +1 -0
- package/src/core/logger/logger.ts +35 -0
- package/src/core/logger/loggerUtil.ts +17 -0
- package/src/core/util/error.ts +7 -0
- package/src/core/util/file.ts +21 -0
- package/src/core/util/headersUtil.ts +34 -0
- package/src/core/util/inputValidation.ts +6 -0
- package/src/core/util/network.ts +9 -0
- package/src/core/util/request.ts +15 -0
- package/src/core/util/testHelpers.ts +20 -0
- package/src/index.ts +1163 -0
- package/src/types/winston-loggly-bulk.d.ts +14 -0
- package/tests/bdd/features/alliances/getAllianceById.feature +6 -0
- 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 +6 -0
- package/tests/bdd/features/alliances/getAllianceIcons.feature +6 -0
- 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 +6 -0
- package/tests/bdd/features/factions/getFactionWarfareStats.feature +6 -0
- package/tests/bdd/features/factions/getFactionWarfareSystems.feature +6 -0
- package/tests/bdd/features/factions/getFactionWarfareWars.feature +6 -0
- 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 +17 -0
- 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 +18 -0
- package/tests/bdd/steps/alliances/getAllianceIcons.ts +21 -0
- 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 +33 -0
- package/tests/bdd/steps/factions/getFactionWarfareStats.ts +34 -0
- package/tests/bdd/steps/factions/getFactionWarfareSystems.ts +33 -0
- package/tests/bdd/steps/factions/getFactionWarfareWars.ts +33 -0
- 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 +24 -0
- package/tests/tdd/alliances/AllianceClient.test.ts +27 -0
- package/tests/tdd/alliances/getAllianceByID.test.ts +61 -0
- package/tests/tdd/alliances/getAllianceContactLabels.test.ts +43 -0
- package/tests/tdd/alliances/getAllianceContacts.test.ts +60 -0
- package/tests/tdd/alliances/getAllianceCorporations.test.ts +39 -0
- package/tests/tdd/alliances/getAllianceIcons.test.ts +39 -0
- package/tests/tdd/alliances/getAlliances.test.ts +38 -0
- package/tests/tdd/assets/AssetsBuilder.test.ts +20 -0
- package/tests/tdd/assets/AssetsClient.test.ts +192 -0
- package/tests/tdd/assets/getCharacterAssetsApi.test.ts +33 -0
- package/tests/tdd/assets/getCorporationAssetsApi.test.ts +55 -0
- package/tests/tdd/assets/postCharacterAssetsLocationApi.test.ts +50 -0
- package/tests/tdd/assets/postCharacterAssetsNamesApi.test.ts +43 -0
- package/tests/tdd/assets/postCorporationAssetLocationsApi.test.ts +48 -0
- package/tests/tdd/assets/postCorporationAssetNamesApi.test.ts +43 -0
- package/tests/tdd/bookmarks/BookmarkApiBuilder.test.ts +21 -0
- package/tests/tdd/bookmarks/BookmarkClient.test.ts +68 -0
- package/tests/tdd/bookmarks/getCharacterBookmarkFolders.test.ts +37 -0
- package/tests/tdd/bookmarks/getCharacterBookmarks.test.ts +42 -0
- package/tests/tdd/bookmarks/getCorporationBookmarkFolders.test.ts +42 -0
- package/tests/tdd/bookmarks/getCorporationBookmarks.test.ts +62 -0
- package/tests/tdd/calendar/CalendarApiBuilder.test.ts +24 -0
- package/tests/tdd/calendar/CalendarClient.test.ts +100 -0
- package/tests/tdd/calendar/getCalendarEventById.test.ts +29 -0
- package/tests/tdd/calendar/getCalendarEvents.test.ts +29 -0
- package/tests/tdd/calendar/getEventAttendees.test.ts +29 -0
- package/tests/tdd/calendar/respondToCalendarEvent.test.ts +29 -0
- package/tests/tdd/characters/CharacterBuilder.test.ts +20 -0
- package/tests/tdd/characters/CharacterClient.test.ts +153 -0
- package/tests/tdd/characters/getAgentsResearch.test.ts +42 -0
- package/tests/tdd/characters/getBlueprints.test.ts +42 -0
- package/tests/tdd/characters/getCharacterPublicInfo.test.ts +37 -0
- package/tests/tdd/characters/getCharacterRoles.test.ts +34 -0
- package/tests/tdd/characters/getCharacterStandings.test.ts +45 -0
- package/tests/tdd/characters/getCharacterTitles.test.ts +40 -0
- package/tests/tdd/characters/getContactNotifications.test.ts +42 -0
- package/tests/tdd/characters/getCorporationHistory.test.ts +42 -0
- package/tests/tdd/characters/getJumpFatigue.test.ts +37 -0
- package/tests/tdd/characters/getMedals.test.ts +42 -0
- package/tests/tdd/characters/getNotifications.test.ts +42 -0
- package/tests/tdd/characters/getPortrait.test.ts +35 -0
- package/tests/tdd/characters/postCSPAChargeCost.test.ts +39 -0
- package/tests/tdd/characters/postCharacterAffiliation.test.ts +48 -0
- package/tests/tdd/clones/ClonesApiBuilder.test.ts +19 -0
- package/tests/tdd/clones/ClonesClient.test.ts +61 -0
- package/tests/tdd/clones/getClonesApi.test.ts +48 -0
- package/tests/tdd/clones/getImplantsApi.test.ts +35 -0
- package/tests/tdd/contacts/ContactsApiBuilder.test.ts +21 -0
- package/tests/tdd/contacts/ContactsClient.test.ts +66 -0
- package/tests/tdd/contacts/deleteCharacterContacts.test.ts +23 -0
- package/tests/tdd/contacts/getAllianceContactLabels.test.ts +33 -0
- package/tests/tdd/contacts/getAllianceContacts.test.ts +37 -0
- package/tests/tdd/contacts/getCharacterContactLabels.test.ts +33 -0
- package/tests/tdd/contacts/getCharacterContacts.test.ts +37 -0
- package/tests/tdd/contacts/getCorporationContactLabels.test.ts +33 -0
- package/tests/tdd/contacts/getCorporationContacts.test.ts +37 -0
- package/tests/tdd/contacts/postCharacterContacts.test.ts +30 -0
- package/tests/tdd/contacts/putCharacterContacts.test.ts +30 -0
- package/tests/tdd/contracts/ContractsApiBuilder.ts +20 -0
- package/tests/tdd/contracts/ContractsClient.ts +247 -0
- package/tests/tdd/contracts/getCharacterContractBids.test.ts +49 -0
- package/tests/tdd/contracts/getCharacterContractItems.test.ts +48 -0
- package/tests/tdd/contracts/getCharacterContracts.test.ts +57 -0
- package/tests/tdd/contracts/getCorporationContractBids.test.ts +48 -0
- package/tests/tdd/contracts/getCorporationContractItems.test.ts +48 -0
- package/tests/tdd/contracts/getCorporationContracts.test.ts +56 -0
- package/tests/tdd/contracts/getPublicContractBids.test.ts +47 -0
- package/tests/tdd/contracts/getPublicContractItems.test.ts +48 -0
- package/tests/tdd/contracts/getPublicContracts.test.ts +58 -0
- package/tests/tdd/corporations/CorporationsApiBuilder.test.ts +20 -0
- package/tests/tdd/corporations/CorporationsClient.test.ts +230 -0
- package/tests/tdd/corporations/getCorporationAllianceHistory.test.ts +45 -0
- package/tests/tdd/corporations/getCorporationAlscLogs.test.ts +57 -0
- package/tests/tdd/corporations/getCorporationBlueprints.test.ts +60 -0
- package/tests/tdd/corporations/getCorporationDivisions.test.ts +64 -0
- package/tests/tdd/corporations/getCorporationFacilities.test.ts +60 -0
- package/tests/tdd/corporations/getCorporationIcon.test.ts +40 -0
- package/tests/tdd/corporations/getCorporationInfo.test.ts +40 -0
- package/tests/tdd/corporations/getCorporationIssuedMedals.test.ts +54 -0
- package/tests/tdd/corporations/getCorporationMedals.test.ts +51 -0
- package/tests/tdd/corporations/getCorporationMemberLimit.test.ts +32 -0
- package/tests/tdd/corporations/getCorporationMemberRoles.test.ts +45 -0
- package/tests/tdd/corporations/getCorporationMemberRolesHistory.test.ts +60 -0
- package/tests/tdd/corporations/getCorporationMemberTracking.test.ts +48 -0
- package/tests/tdd/corporations/getCorporationMembers.test.ts +34 -0
- package/tests/tdd/corporations/getCorporationMembersTitles.test.ts +45 -0
- package/tests/tdd/corporations/getCorporationShareholders.test.ts +45 -0
- package/tests/tdd/corporations/getCorporationStandings.test.ts +45 -0
- package/tests/tdd/corporations/getCorporationStarbaseDetail.test.ts +49 -0
- package/tests/tdd/corporations/getCorporationStarbases.test.ts +54 -0
- package/tests/tdd/corporations/getCorporationStructures.test.ts +54 -0
- package/tests/tdd/corporations/getCorporationTitles.test.ts +66 -0
- package/tests/tdd/corporations/getNpcCorporations.test.ts +34 -0
- package/tests/tdd/dogma/DogmaAPIBuilder.test.ts +13 -0
- package/tests/tdd/dogma/DogmanClient.test.ts +54 -0
- package/tests/tdd/dogma/getDogmaAttributeById.test.ts +22 -0
- package/tests/tdd/dogma/getDogmaAttributes.test.ts +22 -0
- package/tests/tdd/dogma/getDogmaDynamicItemAttributes.test.ts +22 -0
- package/tests/tdd/dogma/getDogmaEffectById.test.ts +22 -0
- package/tests/tdd/dogma/getDogmaEffects.test.ts +22 -0
- package/tests/tdd/factions/FactionApiBuilder.test.ts +17 -0
- package/tests/tdd/factions/FactionClient.test.ts +281 -0
- package/tests/tdd/factions/getCharacterFactionWarfareStats.test.ts +72 -0
- package/tests/tdd/factions/getCharacterLeaderboards.test.ts +103 -0
- package/tests/tdd/factions/getCorporationFactionWarfareStats.test.ts +72 -0
- package/tests/tdd/factions/getCorporationLeaderboards.test.ts +103 -0
- package/tests/tdd/factions/getFactionLeaderboards.test.ts +103 -0
- package/tests/tdd/factions/getFactionWarfareStats.test.ts +77 -0
- package/tests/tdd/factions/getFactionWarfareSystems.test.ts +59 -0
- package/tests/tdd/factions/getFactionWarfareWars.test.ts +43 -0
- package/tests/tdd/fittings/FittingsBuilder.test.ts +22 -0
- package/tests/tdd/fittings/FittingsClient.test.ts +93 -0
- package/tests/tdd/fittings/deleteCharacterFitting.test.ts +22 -0
- package/tests/tdd/fittings/getCharacterFittings.test.ts +57 -0
- package/tests/tdd/fittings/postCharacterFittings.test.ts +47 -0
- package/tests/tdd/fleets/FleetApiBuilder.test.ts +20 -0
- package/tests/tdd/fleets/FleetClient.test.ts +212 -0
- package/tests/tdd/fleets/deleteFleetMember.test.ts +31 -0
- package/tests/tdd/fleets/deleteFleetSquad.test.ts +24 -0
- package/tests/tdd/fleets/deleteFleetWing.test.ts +24 -0
- package/tests/tdd/fleets/getCharacterFleetInfo.test.ts +39 -0
- package/tests/tdd/fleets/getFleetInfo.test.ts +42 -0
- package/tests/tdd/fleets/getFleetMembers.test.ts +45 -0
- package/tests/tdd/fleets/getFleetWings.test.ts +35 -0
- package/tests/tdd/fleets/postFleetInvitation.test.ts +29 -0
- package/tests/tdd/fleets/postFleetSquad.test.ts +22 -0
- package/tests/tdd/fleets/postFleetWing.test.ts +31 -0
- package/tests/tdd/fleets/putFleetMember.test.ts +36 -0
- package/tests/tdd/fleets/putFleetSquad.test.ts +28 -0
- package/tests/tdd/fleets/putFleetWing.test.ts +22 -0
- package/tests/tdd/fleets/updateFleet.test.ts +39 -0
- package/tests/tdd/incursions/IncursionsApiBuilder.test.ts +20 -0
- package/tests/tdd/incursions/IncursionsClient.test.ts +63 -0
- package/tests/tdd/incursions/getIncursions.test.ts +41 -0
- package/tests/tdd/industry/IndustryBuilder.test.ts +20 -0
- package/tests/tdd/industry/IndustryClient.test.ts +354 -0
- package/tests/tdd/industry/getCharacterIndustryJobs.test.ts +80 -0
- package/tests/tdd/industry/getCharacterMiningLedger.test.ts +41 -0
- package/tests/tdd/industry/getCorporationIndustryJobs.test.ts +92 -0
- package/tests/tdd/industry/getCorporationMiningObserver.test.ts +44 -0
- package/tests/tdd/industry/getCorporationMiningObservers.test.ts +38 -0
- package/tests/tdd/industry/getIndustryFacilities.test.ts +47 -0
- package/tests/tdd/industry/getIndustrySystems.test.ts +46 -0
- package/tests/tdd/industry/getMoonExtractionTimers.test.ts +44 -0
- package/tests/tdd/insurance/InsuranceApiBuilder.test.ts +21 -0
- package/tests/tdd/insurance/InsuranceClient.test.ts +50 -0
- package/tests/tdd/insurance/getInsurancePrices.test.ts +51 -0
- package/tests/tdd/killmails/KillmailApiBuilder.test.ts +20 -0
- package/tests/tdd/killmails/KillmailClient.test.ts +110 -0
- package/tests/tdd/killmails/getCharacterRecentKillmails.test.ts +52 -0
- package/tests/tdd/killmails/getCorporationRecentKillmails.test.ts +52 -0
- package/tests/tdd/killmails/getKillmail.test.ts +47 -0
- package/tests/tdd/location/LocationApiBuilder.test.ts +20 -0
- package/tests/tdd/location/LocationClient.test.ts +82 -0
- package/tests/tdd/location/getCharacterLocation.test.ts +41 -0
- package/tests/tdd/location/getCharacterOnline.test.ts +44 -0
- package/tests/tdd/location/getCharacterShip.test.ts +41 -0
- package/tests/tdd/loyalty/LoyaltyApiBuilder.test.ts +20 -0
- package/tests/tdd/loyalty/LoyaltyClient.test.ts +73 -0
- package/tests/tdd/loyalty/getLoyaltyPoints.test.ts +35 -0
- package/tests/tdd/loyalty/getLoyaltyStoreOffers.test.ts +44 -0
- package/tests/tdd/mail/MailApiBuilder.test.ts +20 -0
- package/tests/tdd/mail/MailClient.test.ts +189 -0
- package/tests/tdd/mail/deleteCharacterMail.test.ts +22 -0
- package/tests/tdd/mail/getCharacterMail.test.ts +46 -0
- package/tests/tdd/mail/getCharacterMailHeaders.ts +51 -0
- package/tests/tdd/mail/getCharacterMailLabels.test.ts +44 -0
- package/tests/tdd/mail/postCharacterMail.test.ts +40 -0
- package/tests/tdd/mail/postCharacterMailLabels.test.ts +31 -0
- package/tests/tdd/mail/putCharacterMail.test.ts +27 -0
- package/tests/tdd/market/MarketApiBuilder.test.ts +20 -0
- package/tests/tdd/market/MarketClient.test.ts +398 -0
- package/tests/tdd/market/getCharacterOrderHistory.test.ts +61 -0
- package/tests/tdd/market/getCharacterOrders.test.test.ts +61 -0
- package/tests/tdd/market/getCorporationOrderHistory.test.ts +61 -0
- package/tests/tdd/market/getCorporationOrders.test.ts +61 -0
- package/tests/tdd/market/getMarketGroupInformation.test.ts +43 -0
- package/tests/tdd/market/getMarketGroups.test.ts +48 -0
- package/tests/tdd/market/getMarketHistory.test.ts +49 -0
- package/tests/tdd/market/getMarketOrders.test.ts +59 -0
- package/tests/tdd/market/getMarketOrdersInStructure.test.ts +67 -0
- package/tests/tdd/market/getMarketPrices.test.ts +51 -0
- package/tests/tdd/market/getMarketTypes.test.ts +35 -0
- package/tests/tdd/opportunities/OpportunitiesAPIBuillder.test.ts +25 -0
- package/tests/tdd/opportunities/OpportunitiesClient.test.ts +109 -0
- package/tests/tdd/opportunities/getCharacterOpportunities.test.ts +38 -0
- package/tests/tdd/opportunities/getOpportunitiesGroupById.test.ts +42 -0
- package/tests/tdd/opportunities/getOpportunitiesGroups.test.ts +40 -0
- package/tests/tdd/opportunities/getOpportunitiesTaskById.test.ts +37 -0
- package/tests/tdd/opportunities/getOpportunitiesTasks.test.ts +40 -0
- package/tests/tdd/pi/PiApiBuilder.test.ts +20 -0
- package/tests/tdd/pi/PiClient.test.ts +155 -0
- package/tests/tdd/pi/getColonies.test.ts +47 -0
- package/tests/tdd/pi/getColonyLayout.test.ts +45 -0
- package/tests/tdd/pi/getCorporationCustomsOffices.test.ts +63 -0
- package/tests/tdd/pi/getSchematicInformation.test.ts +36 -0
- package/tests/tdd/route/RouteApiBuilder.ts +20 -0
- package/tests/tdd/route/RouteClient.test.ts +38 -0
- package/tests/tdd/route/getRoute.test.ts +37 -0
- package/tests/tdd/search/characterSearch.test.ts +50 -0
- package/tests/tdd/search/searchApiBuilder.test.ts +17 -0
- package/tests/tdd/search/searchClient.test.ts +40 -0
- package/tests/tdd/skills/SkillsApiBuilder.test.ts +20 -0
- package/tests/tdd/skills/SkillsClient.test.ts +112 -0
- package/tests/tdd/skills/getCharacterAttributes.test.ts +39 -0
- package/tests/tdd/skills/getCharacterSkillQueue.test.ts +48 -0
- package/tests/tdd/skills/getCharacterSkills.test.ts +46 -0
- package/tests/tdd/sovereignty/SovereigntyApiBuilder.test.ts +18 -0
- package/tests/tdd/sovereignty/SovereigntyClient.test.ts +84 -0
- package/tests/tdd/sovereignty/getSovereigntyCampaigns.test.ts +41 -0
- package/tests/tdd/sovereignty/getSovereigntyMap.test.ts +37 -0
- package/tests/tdd/sovereignty/getSovereigntyStructures.test.ts +41 -0
- package/tests/tdd/status/StatusAPIBuilder.test.ts +20 -0
- package/tests/tdd/status/StatusClient.test.ts +38 -0
- package/tests/tdd/status/getStatus.test.ts +45 -0
- package/tests/tdd/ui/UiApiBuilder.test.ts +20 -0
- package/tests/tdd/ui/UiClient.test.ts +81 -0
- package/tests/tdd/ui/postAutopilotWaypoint.test.ts +36 -0
- package/tests/tdd/ui/postOpenContractWindow.test.ts +34 -0
- package/tests/tdd/ui/postOpenInformationWindow.test.ts +34 -0
- package/tests/tdd/ui/postOpenMarketDetailsWindow.test.ts +34 -0
- package/tests/tdd/ui/postOpenNewMailWindow.test.ts +36 -0
- package/tests/tdd/universe/UniverseApiBuilder.test.ts +60 -0
- package/tests/tdd/universe/UniverseClient.test.ts +215 -0
- package/tests/tdd/universe/getAncestries.test.ts +34 -0
- package/tests/tdd/universe/getAsteroidBeltInfo.test.ts +29 -0
- package/tests/tdd/universe/getBloodlines.test.ts +34 -0
- package/tests/tdd/universe/getConstellationById.test.ts +37 -0
- package/tests/tdd/universe/getConstellations.test.ts +34 -0
- package/tests/tdd/universe/getFactions.test.ts +34 -0
- package/tests/tdd/universe/getGraphicById.test.ts +45 -0
- package/tests/tdd/universe/getGraphics.test.ts +34 -0
- package/tests/tdd/universe/getGroupById.test.ts +45 -0
- package/tests/tdd/universe/getItemCategories.test.ts +34 -0
- package/tests/tdd/universe/getItemCategoryById.test.ts +37 -0
- package/tests/tdd/universe/getItemGroups.test.ts +50 -0
- package/tests/tdd/universe/getMoonById.test.ts +59 -0
- package/tests/tdd/universe/getPlanetById.test.ts +63 -0
- package/tests/tdd/universe/getRaces.test.ts +50 -0
- package/tests/tdd/universe/getRegionById.test.ts +53 -0
- package/tests/tdd/universe/getStarById.test.ts +53 -0
- package/tests/tdd/universe/getStargateById.test.ts +63 -0
- package/tests/tdd/universe/getStationById.test.ts +53 -0
- package/tests/tdd/universe/getStructureById.test.ts +71 -0
- package/tests/tdd/universe/getStructures.test.ts +33 -0
- package/tests/tdd/universe/getSystemById.test.ts +49 -0
- package/tests/tdd/universe/getSystemJumps.test.ts +46 -0
- package/tests/tdd/universe/getSystemKills.test.ts +46 -0
- package/tests/tdd/universe/getSystems.test.ts +33 -0
- package/tests/tdd/universe/getTypeById.test.ts +53 -0
- package/tests/tdd/universe/getTypes.test.ts +33 -0
- package/tests/tdd/universe/postBulkNamesToIds.test.ts +47 -0
- package/tests/tdd/universe/postNamesAndCatagories.test.ts +47 -0
- package/tests/tdd/wallet/WalletApiBuilder.test.ts +20 -0
- package/tests/tdd/wallet/WalletClient.test.ts +187 -0
- package/tests/tdd/wallet/getCharacterWallet.test.ts +35 -0
- package/tests/tdd/wallet/getCharacterWalletJournal.test.ts +53 -0
- package/tests/tdd/wallet/getCharacterWalletTransactions.test.ts +57 -0
- package/tests/tdd/wallet/getCorporationWalletJournal.test.ts +53 -0
- package/tests/tdd/wallet/getCorporationWalletTransactions.test.ts +57 -0
- package/tests/tdd/wallet/getCorporationWallets.test.ts +43 -0
- package/tests/tdd/wars/WarsAPIBuilder.test.ts +23 -0
- package/tests/tdd/wars/WarsClient.test.ts +93 -0
- package/tests/tdd/wars/getWarById.test.ts +31 -0
- package/tests/tdd/wars/getWarKillmails.test.ts +33 -0
- package/tests/tdd/wars/getWars.test.ts +33 -0
- package/tsconfig.json +15 -0
- package/types/global.d.ts +17 -0
- package/types/jest.d.ts +1 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v2
|
|
11
|
+
- name: Set up Node.js
|
|
12
|
+
uses: actions/setup-node@v2
|
|
13
|
+
with:
|
|
14
|
+
node-version: '14'
|
|
15
|
+
- run: npm install
|
|
16
|
+
- run: npm run build
|
package/.prettierrc
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# ESI.ts
|
|
2
|
+
|
|
3
|
+
This repository contains a TypeScript implementation for the EVE Online API (ESI). This is inspired by the JavaScript implementation at https://github.com/ExperiBass/esiJS
|
|
4
|
+
|
|
5
|
+
The project is a personal goal for me, I'm a lapsed developer (actively an Engineering Manager) going back to upskill in TypeScript after a decade away from development in Node.js and Java. Why TypeScript? Familarity with JavaScript and a hopefully better experience for anyone using my app.
|
|
6
|
+
|
|
7
|
+
In my absence from coding, I have generated a lot of knowledge on concepts around architecture and design. So the intent of this application is to:
|
|
8
|
+
|
|
9
|
+
- Build a clean architecture inspired application -- NOTE This will not be perfect, I'm going to try and adhere to it as best I can
|
|
10
|
+
- Bring in Behaviour Driven Development to describe the intentions of the API for non expert programmers
|
|
11
|
+
- Try and pursue a red-green TDD style approach for the APIs
|
|
12
|
+
- Seperate the API into small, consumable usage
|
|
13
|
+
- Look at design patterns, currently playing around with a Builder Pattern to eventually look at tailored client usage where we can have a slimmer client experience and create customised and narrower API profiles
|
|
14
|
+
- Figure out how github actions work, I know enough of Jenkins to hopefully figure this out
|
|
15
|
+
- Figure out caching and API management
|
|
16
|
+
- Figure out auth flows and longer term token management and see can the API help here.
|
|
17
|
+
- Develop a useful user guide and documentation
|
|
18
|
+
|
|
19
|
+
This is most likely overkill for most end users, my goal is maintability and extensibility of the API and try and get a best practices project off the ground. The project is in flight, this first formal public commit is more to expose the intention and architecture. The factions API was chosen first just to have a mix of open calls and auth calls. This did not follow any best practices with testing and was an attempt to just get a functional API working. A lot of time was spent battling tooling (cucumber.js does not like TypeScript) and different integrations but this is at a point now where I am happy with the intentions. As I progress through each future API grouping my aim is to follow best practices and create a hopefully useful app for the EVE Online Community.
|
|
20
|
+
|
|
21
|
+
ISK donations are always welcome to deiseman in game, reach out to chat about any ideas or how the design and API exposure could benefit your app.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## API Implementation Status
|
|
26
|
+
|
|
27
|
+
As progress is made I will try and update this to show what is functional and in place.
|
|
28
|
+
|
|
29
|
+
### Faction Warfare
|
|
30
|
+
- [x] Get Faction Warfare Leaderboards - Characters 
|
|
31
|
+
- [x] Get Faction Warfare Leaderboards - Corporations 
|
|
32
|
+
- [x] Get Faction Warfare Leaderboards - Overall 
|
|
33
|
+
- [x] Get Faction Warfare Stats 
|
|
34
|
+
- [x] Get Faction Warfare Character Stats 
|
|
35
|
+
- [x] Get Faction Warfare Corporation Stats 
|
|
36
|
+
- [x] Get Faction Warfare Systems 
|
|
37
|
+
- [x] Get Faction Warfare Wars 
|
|
38
|
+
|
|
39
|
+
### Alliances
|
|
40
|
+
- [ ] Get Alliance by ID 
|
|
41
|
+
- [ ] Get Alliance Corporations 
|
|
42
|
+
- [ ] Get Alliances 
|
|
43
|
+
- [ ] Get Alliance Icons 
|
|
44
|
+
|
|
45
|
+
### Bookmarks
|
|
46
|
+
- [ ] Get Character Bookmarks 
|
|
47
|
+
- [ ] Get Character Bookmark Folders 
|
|
48
|
+
- [ ] Get Corporation Bookmarks 
|
|
49
|
+
- [ ] Get Corporation Bookmark Folders 
|
|
50
|
+
|
|
51
|
+
### Calendar
|
|
52
|
+
- [ ] Get Character Calendar 
|
|
53
|
+
- [ ] Get Calendar Event by ID 
|
|
54
|
+
- [ ] Get Calendar Event Attendees 
|
|
55
|
+
- [ ] Respond to Calendar Event 
|
|
56
|
+
|
|
57
|
+
### Characters
|
|
58
|
+
- [ ] Get Character by ID 
|
|
59
|
+
- [ ] Get Character Agents Research 
|
|
60
|
+
- [ ] Get Character Blueprints 
|
|
61
|
+
- [ ] Get Character Corporation History 
|
|
62
|
+
- [ ] Get Character Medals 
|
|
63
|
+
- [ ] Get Character Notifications 
|
|
64
|
+
- [ ] Get Character Portrait 
|
|
65
|
+
- [ ] Get Character Roles 
|
|
66
|
+
|
|
67
|
+
### Clones
|
|
68
|
+
- [ ] Get Clones 
|
|
69
|
+
- [ ] Get Jump Clones 
|
|
70
|
+
- [ ] Get Implants 
|
|
71
|
+
|
|
72
|
+
### Contacts
|
|
73
|
+
- [ ] Get Character Contacts 
|
|
74
|
+
- [ ] Get Corporation Contacts 
|
|
75
|
+
- [ ] Get Alliance Contacts 
|
|
76
|
+
- [ ] Add Character Contacts 
|
|
77
|
+
- [ ] Edit Character Contacts 
|
|
78
|
+
- [ ] Delete Character Contacts 
|
|
79
|
+
|
|
80
|
+
### Contracts
|
|
81
|
+
- [ ] Get Character Contracts 
|
|
82
|
+
- [ ] Get Corporation Contracts 
|
|
83
|
+
- [ ] Get Public Contracts 
|
|
84
|
+
- [ ] Get Contract Bids 
|
|
85
|
+
- [ ] Get Contract Items 
|
|
86
|
+
|
|
87
|
+
### Corporations
|
|
88
|
+
- [ ] Get Corporation by ID 
|
|
89
|
+
- [ ] Get Corporation Assets 
|
|
90
|
+
- [ ] Get Corporation Blueprints 
|
|
91
|
+
- [ ] Get Corporation Divisions 
|
|
92
|
+
- [ ] Get Corporation Facilities 
|
|
93
|
+
- [ ] Get Corporation Icons 
|
|
94
|
+
- [ ] Get Corporation Medals 
|
|
95
|
+
- [ ] Get Corporation Members 
|
|
96
|
+
|
|
97
|
+
### Dogma
|
|
98
|
+
- [ ] Get Dogma Attributes 
|
|
99
|
+
- [ ] Get Dogma Effects 
|
|
100
|
+
|
|
101
|
+
### Fittings
|
|
102
|
+
- [ ] Get Character Fittings 
|
|
103
|
+
- [ ] Create Character Fitting 
|
|
104
|
+
- [ ] Delete Character Fitting 
|
|
105
|
+
|
|
106
|
+
### Fleets
|
|
107
|
+
- [ ] Get Fleet by ID 
|
|
108
|
+
- [ ] Get Fleet Members 
|
|
109
|
+
- [ ] Invite Fleet Member 
|
|
110
|
+
- [ ] Kick Fleet Member 
|
|
111
|
+
- [ ] Update Fleet Member 
|
|
112
|
+
- [ ] Get Fleet Wings 
|
|
113
|
+
|
|
114
|
+
### Incursions
|
|
115
|
+
- [ ] Get Incursions 
|
|
116
|
+
|
|
117
|
+
### Industry
|
|
118
|
+
- [ ] Get Industry Facilities 
|
|
119
|
+
- [ ] Get Industry Systems 
|
|
120
|
+
- [ ] Get Character Industry Jobs 
|
|
121
|
+
- [ ] Get Corporation Industry Jobs 
|
|
122
|
+
|
|
123
|
+
### Insurance
|
|
124
|
+
- [ ] Get Insurance Prices 
|
|
125
|
+
|
|
126
|
+
### Killmails
|
|
127
|
+
- [ ] Get Character Killmails 
|
package/Structure.js
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
// This is just to try and create a structure for the architecture, implementatiton will follow. Keeping this around for now in github
|
|
5
|
+
// List of API groups and their respective endpoints
|
|
6
|
+
const apiStructure = {
|
|
7
|
+
alliances: [
|
|
8
|
+
'getAlliances',
|
|
9
|
+
'getAllianceById',
|
|
10
|
+
'getAllianceContacts',
|
|
11
|
+
'getAllianceContactLabels',
|
|
12
|
+
'getAllianceCorporations',
|
|
13
|
+
'getAllianceIcons'
|
|
14
|
+
],
|
|
15
|
+
characters: [
|
|
16
|
+
'getCharacter',
|
|
17
|
+
'getCharacterAffiliation',
|
|
18
|
+
'getCharacterAgentsResearch',
|
|
19
|
+
'getCharacterAssets',
|
|
20
|
+
'getCharacterAssetLocations',
|
|
21
|
+
'getCharacterAssetNames',
|
|
22
|
+
'getCharacterAttributes',
|
|
23
|
+
'getCharacterBlueprints',
|
|
24
|
+
'getCharacterBookmarks',
|
|
25
|
+
'getCharacterBookmarkFolders',
|
|
26
|
+
'getCharacterCalendarEvents',
|
|
27
|
+
'getCharacterCalendarEventById',
|
|
28
|
+
'getCharacterClones',
|
|
29
|
+
'getCharacterContracts',
|
|
30
|
+
'getCharacterContractItems',
|
|
31
|
+
'getCharacterContractBids',
|
|
32
|
+
'getCharacterCorporationHistory',
|
|
33
|
+
'getCharacterFatigue',
|
|
34
|
+
'getCharacterFittings',
|
|
35
|
+
'getCharacterFleet',
|
|
36
|
+
'getCharacterFwStats',
|
|
37
|
+
'getCharacterImplants',
|
|
38
|
+
'getCharacterIndustryJobs',
|
|
39
|
+
'getCharacterKillmails',
|
|
40
|
+
'getCharacterLocation',
|
|
41
|
+
'getCharacterLoyaltyPoints',
|
|
42
|
+
'getCharacterMail',
|
|
43
|
+
'getCharacterMailLabels',
|
|
44
|
+
'getCharacterMailLists',
|
|
45
|
+
'getCharacterMailById',
|
|
46
|
+
'getCharacterMedals',
|
|
47
|
+
'getCharacterMining',
|
|
48
|
+
'getCharacterNotifications',
|
|
49
|
+
'getCharacterNotificationsContacts',
|
|
50
|
+
'getCharacterOpportunities',
|
|
51
|
+
'getCharacterOrders',
|
|
52
|
+
'getCharacterOrderHistory',
|
|
53
|
+
'getCharacterPlanets',
|
|
54
|
+
'getCharacterPortrait',
|
|
55
|
+
'getCharacterRoles',
|
|
56
|
+
'getCharacterSearch',
|
|
57
|
+
'getCharacterShip',
|
|
58
|
+
'getCharacterSkills',
|
|
59
|
+
'getCharacterSkillQueue',
|
|
60
|
+
'getCharacterStandings',
|
|
61
|
+
'getCharacterStats',
|
|
62
|
+
'getCharacterTitles',
|
|
63
|
+
'getCharacterWallet',
|
|
64
|
+
'getCharacterWalletJournal',
|
|
65
|
+
'getCharacterWalletTransactions'
|
|
66
|
+
],
|
|
67
|
+
corporations: [
|
|
68
|
+
'getCorporation',
|
|
69
|
+
'getCorporationAlliances',
|
|
70
|
+
'getCorporationBlueprints',
|
|
71
|
+
'getCorporationBookmarks',
|
|
72
|
+
'getCorporationBookmarkFolders',
|
|
73
|
+
'getCorporationContacts',
|
|
74
|
+
'getCorporationContactLabels',
|
|
75
|
+
'getCorporationContracts',
|
|
76
|
+
'getCorporationContractBids',
|
|
77
|
+
'getCorporationContractItems',
|
|
78
|
+
'getCorporationContainerLogs',
|
|
79
|
+
'getCorporationDivisions',
|
|
80
|
+
'getCorporationFacilities',
|
|
81
|
+
'getCorporationFwStats',
|
|
82
|
+
'getCorporationIcons',
|
|
83
|
+
'getCorporationIndustryJobs',
|
|
84
|
+
'getCorporationKillmails',
|
|
85
|
+
'getCorporationMedals',
|
|
86
|
+
'getCorporationMembers',
|
|
87
|
+
'getCorporationMemberTracking',
|
|
88
|
+
'getCorporationMemberLimit',
|
|
89
|
+
'getCorporationMining',
|
|
90
|
+
'getCorporationNotifications',
|
|
91
|
+
'getCorporationOutposts',
|
|
92
|
+
'getCorporationOrders',
|
|
93
|
+
'getCorporationOrderHistory',
|
|
94
|
+
'getCorporationRoles',
|
|
95
|
+
'getCorporationShareholders',
|
|
96
|
+
'getCorporationStandings',
|
|
97
|
+
'getCorporationStarbases',
|
|
98
|
+
'getCorporationStructures',
|
|
99
|
+
'getCorporationTitles',
|
|
100
|
+
'getCorporationWallets',
|
|
101
|
+
'getCorporationWalletJournal',
|
|
102
|
+
'getCorporationWalletTransactions'
|
|
103
|
+
],
|
|
104
|
+
universe: [
|
|
105
|
+
'getAncestries',
|
|
106
|
+
'getAsteroidBelt',
|
|
107
|
+
'getBloodlines',
|
|
108
|
+
'getCategories',
|
|
109
|
+
'getCategoryById',
|
|
110
|
+
'getConstellations',
|
|
111
|
+
'getConstellationById',
|
|
112
|
+
'getFactions',
|
|
113
|
+
'getGraphics',
|
|
114
|
+
'getGraphicById',
|
|
115
|
+
'getGroups',
|
|
116
|
+
'getGroupById',
|
|
117
|
+
'getMoons',
|
|
118
|
+
'getMoonById',
|
|
119
|
+
'getPlanets',
|
|
120
|
+
'getPlanetById',
|
|
121
|
+
'getRaces',
|
|
122
|
+
'getRegions',
|
|
123
|
+
'getRegionById',
|
|
124
|
+
'getStargates',
|
|
125
|
+
'getStargateById',
|
|
126
|
+
'getStars',
|
|
127
|
+
'getStarById',
|
|
128
|
+
'getStations',
|
|
129
|
+
'getStationById',
|
|
130
|
+
'getStructures',
|
|
131
|
+
'getSystemJumps',
|
|
132
|
+
'getSystemKills',
|
|
133
|
+
'getSystems',
|
|
134
|
+
'getSystemById',
|
|
135
|
+
'getTypes',
|
|
136
|
+
'getTypeById',
|
|
137
|
+
'getWars',
|
|
138
|
+
'getWarById',
|
|
139
|
+
'postBulkNamesToIds',
|
|
140
|
+
'postBulkIdsToNames',
|
|
141
|
+
'postUniverseNames'
|
|
142
|
+
],
|
|
143
|
+
markets: [
|
|
144
|
+
'getMarketPrices',
|
|
145
|
+
'getMarketGroups',
|
|
146
|
+
'getMarketGroupById',
|
|
147
|
+
'getMarketOrders',
|
|
148
|
+
'getMarketHistory',
|
|
149
|
+
'getMarketRegionOrders',
|
|
150
|
+
'getMarketRegionHistory'
|
|
151
|
+
],
|
|
152
|
+
industry: [
|
|
153
|
+
'getIndustrySystems',
|
|
154
|
+
'getIndustryFacilities',
|
|
155
|
+
'getIndustryJobs',
|
|
156
|
+
'getIndustryCorporationJobs'
|
|
157
|
+
],
|
|
158
|
+
contracts: [
|
|
159
|
+
'getContracts',
|
|
160
|
+
'getContractById',
|
|
161
|
+
'getContractBids',
|
|
162
|
+
'getContractItems',
|
|
163
|
+
'getPublicContracts',
|
|
164
|
+
'getPublicContractBids',
|
|
165
|
+
'getPublicContractItems'
|
|
166
|
+
],
|
|
167
|
+
factions: [
|
|
168
|
+
'getFactionWarfareStats',
|
|
169
|
+
'getFactionWarfareLeaderboards',
|
|
170
|
+
'getFactionWarfareSystems',
|
|
171
|
+
'getFactionWarfareWars'
|
|
172
|
+
],
|
|
173
|
+
killmails: [
|
|
174
|
+
'getKillmails',
|
|
175
|
+
'getKillmailById',
|
|
176
|
+
'getRecentCharacterKillmails',
|
|
177
|
+
'getRecentCorporationKillmails'
|
|
178
|
+
],
|
|
179
|
+
sovereignty: [
|
|
180
|
+
'getSovereigntyCampaigns',
|
|
181
|
+
'getSovereigntyMap',
|
|
182
|
+
'getSovereigntyStructures'
|
|
183
|
+
],
|
|
184
|
+
opportunities: [
|
|
185
|
+
'getOpportunitiesTasks',
|
|
186
|
+
'getOpportunitiesGroups'
|
|
187
|
+
],
|
|
188
|
+
fleets: [
|
|
189
|
+
'getFleets',
|
|
190
|
+
'getFleetMembers',
|
|
191
|
+
'getFleetWings',
|
|
192
|
+
'getFleetSquads'
|
|
193
|
+
],
|
|
194
|
+
dogma: [
|
|
195
|
+
'getDogmaAttributes',
|
|
196
|
+
'getDogmaAttributeById',
|
|
197
|
+
'getDogmaEffects',
|
|
198
|
+
'getDogmaEffectById',
|
|
199
|
+
'getDogmaDynamicItemAttributes'
|
|
200
|
+
],
|
|
201
|
+
incursions: [
|
|
202
|
+
'getIncursions'
|
|
203
|
+
],
|
|
204
|
+
insurance: [
|
|
205
|
+
'getInsurancePrices'
|
|
206
|
+
],
|
|
207
|
+
location: [
|
|
208
|
+
'getLocation'
|
|
209
|
+
],
|
|
210
|
+
search: [
|
|
211
|
+
'postSearch'
|
|
212
|
+
],
|
|
213
|
+
ui: [
|
|
214
|
+
'postUiAutopilotWaypoint',
|
|
215
|
+
'postUiOpenWindowContract',
|
|
216
|
+
'postUiOpenWindowInformation',
|
|
217
|
+
'postUiOpenWindowMarketDetails',
|
|
218
|
+
'postUiOpenWindowNewMail'
|
|
219
|
+
],
|
|
220
|
+
wars: [
|
|
221
|
+
'getWars',
|
|
222
|
+
'getWarById'
|
|
223
|
+
]
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
// Function to create directories and files
|
|
227
|
+
const createDirectoriesAndFiles = (basePath, structure, type, extension) => {
|
|
228
|
+
Object.keys(structure).forEach(group => {
|
|
229
|
+
const groupPath = path.join(basePath, group);
|
|
230
|
+
fs.mkdirSync(groupPath, { recursive: true });
|
|
231
|
+
|
|
232
|
+
structure[group].forEach(endpoint => {
|
|
233
|
+
const filePath = path.join(groupPath, `${endpoint}.${extension}`);
|
|
234
|
+
fs.writeFileSync(filePath, '');
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
// Base paths
|
|
240
|
+
const baseSrcPath = path.join(__dirname, 'src/api');
|
|
241
|
+
const baseBddFeaturePath = path.join(__dirname, 'tests/bdd/features');
|
|
242
|
+
const baseBddStepPath = path.join(__dirname, 'tests/bdd/step_definitions');
|
|
243
|
+
const baseTddPath = path.join(__dirname, 'tests/tdd');
|
|
244
|
+
|
|
245
|
+
// Create directories and files for API definitions
|
|
246
|
+
createDirectoriesAndFiles(baseSrcPath, apiStructure, 'ts', 'ts');
|
|
247
|
+
|
|
248
|
+
// Create directories and files for BDD tests (features)
|
|
249
|
+
createDirectoriesAndFiles(baseBddFeaturePath, apiStructure, 'feature', 'feature');
|
|
250
|
+
|
|
251
|
+
// Create directories and files for BDD tests (step definitions)
|
|
252
|
+
createDirectoriesAndFiles(baseBddStepPath, apiStructure, 'steps', 'ts');
|
|
253
|
+
|
|
254
|
+
// Create directories and files for TDD tests
|
|
255
|
+
createDirectoriesAndFiles(baseTddPath, apiStructure, 'test', 'test.ts');
|
|
256
|
+
|
|
257
|
+
console.log('Directory and file structure created successfully.');
|
package/eslint.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const glob = require('glob');
|
|
3
|
+
|
|
4
|
+
console.log('Jest BDD Config Loaded');
|
|
5
|
+
console.log('Root Directory:', path.resolve(__dirname));
|
|
6
|
+
console.log('Looking for features in:', path.resolve(__dirname, 'tests/bdd/features'));
|
|
7
|
+
|
|
8
|
+
const featureFiles = glob.sync(path.resolve(__dirname, 'tests/bdd/features/**/*.feature'));
|
|
9
|
+
console.log('Discovered Feature Files:', featureFiles);
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
preset: 'ts-jest',
|
|
13
|
+
testEnvironment: 'node',
|
|
14
|
+
setupFilesAfterEnv: ['<rootDir>/src/config/jest/jest.bdd.setup.ts'],
|
|
15
|
+
testPathIgnorePatterns: ['/node_modules/', '/dist/', '/tests/tdd/'],
|
|
16
|
+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
17
|
+
transform: {
|
|
18
|
+
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
19
|
+
},
|
|
20
|
+
testMatch: ['**/tests/bdd/steps/**/*.ts'], // Adjust to match step definition files
|
|
21
|
+
verbose: true,
|
|
22
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
|
|
3
|
+
console.log('Jest Unit Config Loaded');
|
|
4
|
+
console.log('Root Directory:', path.resolve(__dirname));
|
|
5
|
+
console.log('Looking for unit tests in:', path.resolve(__dirname, 'tests/tdd'));
|
|
6
|
+
|
|
7
|
+
module.exports = {
|
|
8
|
+
preset: 'ts-jest',
|
|
9
|
+
testEnvironment: 'node',
|
|
10
|
+
setupFilesAfterEnv: ['<rootDir>/src/config/jest/jest.setup.ts'],
|
|
11
|
+
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
|
|
12
|
+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
13
|
+
transform: {
|
|
14
|
+
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
15
|
+
},
|
|
16
|
+
testMatch: ['<rootDir>/tests/tdd/**/*.test.ts'],
|
|
17
|
+
verbose: true,
|
|
18
|
+
coverageDirectory: 'coverage/unit',
|
|
19
|
+
coverageReporters: ['text', 'lcov'],
|
|
20
|
+
collectCoverageFrom: [
|
|
21
|
+
'src/**/*.ts',
|
|
22
|
+
'!src/**/*.d.ts',
|
|
23
|
+
'!src/index.ts',
|
|
24
|
+
],
|
|
25
|
+
globals: {
|
|
26
|
+
'ts-jest': {
|
|
27
|
+
tsconfig: 'tsconfig.json',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lgriffin/esi.ts",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "This is a TypeScript Implementation for the EVE Online API offered through ESI",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"start": "node dist/index.js",
|
|
10
|
+
"lint": "eslint . --ext .ts",
|
|
11
|
+
"test": "jest --config jest.unit.config.cjs",
|
|
12
|
+
"bdd": "jest --config jest.bdd.config.cjs",
|
|
13
|
+
"coverage": "jest --config jest.unit.config.cjs --coverage"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [],
|
|
16
|
+
"author": "lgriffin",
|
|
17
|
+
"license": "GPL-3.0-or-later",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/lgriffin/ESI.ts"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@cucumber/cucumber": "^10.8.0",
|
|
24
|
+
"@types/axios": "^0.14.0",
|
|
25
|
+
"@types/chai": "^4.3.16",
|
|
26
|
+
"@types/jest": "^29.5.12",
|
|
27
|
+
"@types/node": "^20.14.5",
|
|
28
|
+
"@types/winston": "^2.4.4",
|
|
29
|
+
"@types/winston-loggly-bulk": "^3.0.6",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
31
|
+
"@typescript-eslint/parser": "^7.13.1",
|
|
32
|
+
"chai": "^5.1.1",
|
|
33
|
+
"eslint": "^8.57.0",
|
|
34
|
+
"eslint-config-prettier": "^9.1.0",
|
|
35
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
36
|
+
"jest": "^29.7.0",
|
|
37
|
+
"jest-fetch-mock": "^3.0.3",
|
|
38
|
+
"prettier": "^3.3.2",
|
|
39
|
+
"ts-jest": "^29.2.2",
|
|
40
|
+
"ts-node": "^10.9.2",
|
|
41
|
+
"typescript": "^5.4.5"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"axios": "^1.7.2",
|
|
45
|
+
"winston": "^3.13.0",
|
|
46
|
+
"winston-loggly-bulk": "^3.3.0",
|
|
47
|
+
"winston-transport": "^4.7.0"
|
|
48
|
+
}
|
|
49
|
+
}
|
package/src/TODO
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Development Roadmap
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
Naming Conventions:
|
|
7
|
+
Took a few different paths through it, need to look at export declarations in particular
|
|
8
|
+
|
|
9
|
+
Location of APIs
|
|
10
|
+
|
|
11
|
+
Looking at the ESI Spec, taking the Alliance as an example, there are 4 APIs. My approach wrapped the other /alliances endpoints such as in Contacts under Alliance to make it more logical.
|
|
12
|
+
This means I need to check manually 1:1 to make sure all endpoints are there and that they are either logically mapping to the ESI or logically placed in a structure that I recognise. This is
|
|
13
|
+
important because of the Client / Builder relationship so my thinking is to match the ESI spec identically and not mix up locations. This might lead to a custom builder that could pull all the /character
|
|
14
|
+
or / alliance or /corp and make a holistic Builder/Client for that combination. This might lead to a structural refactor and have Builders and Clients matching the ESI and a Logical grouping of Builders/Clients then as a custom option
|
|
15
|
+
|
|
16
|
+
Director and Builder pattern
|
|
17
|
+
|
|
18
|
+
Look at the Director approach to ensure building custom APIs is a thing
|
|
19
|
+
|
|
20
|
+
Authentication Issue:
|
|
21
|
+
Need to flag what API end points need auth, this would either be a large refactor to pass in a boolean or would be a spec file we pull from to say API X needs auth
|
|
22
|
+
This is an oversight on my part we do pass the boolean in but I forgot it on several routes.
|
|
23
|
+
this is an easy fix and tests will break
|
|
24
|
+
|
|
25
|
+
API Verb
|
|
26
|
+
Not all passing in GET using the defaults in apirequesthandler which isn't clean. Handled this now but need to recheck the , undefined paramater and make sure its the right way instead of using JSON.stringify(object)
|
|
27
|
+
|
|
28
|
+
Models:
|
|
29
|
+
Need to review the request models particularly for issues and handle that gracefully
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
Caching:
|
|
33
|
+
See can I / should I consider caching here
|
|
34
|
+
|
|
35
|
+
Rate Limiting:
|
|
36
|
+
For some pages we will get rate limited, we might want to check the number of pages and decide to only request X every minute
|
|
37
|
+
|
|
38
|
+
Pagination II
|
|
39
|
+
General pagination is in place, I wonder can we request a specific page
|
|
40
|
+
|
|
41
|
+
URL Tidy up:
|
|
42
|
+
Construction of the URL to bring in different data sources, right now we don't add that to the URL but we should if it is present in the conf file
|
|
43
|
+
|
|
44
|
+
Integration with Mock ESI data:
|
|
45
|
+
Currently using a mix of my own mocks and real data. ESI Mock is a project, need to look to see can I bind against that
|
|
46
|
+
|
|
47
|
+
Thourough Testing:
|
|
48
|
+
Gaining ESI scopes is slowing me down, I need to revisit this with real requests to look at how it handles. Concerned about any API verb that's not a GET, this might require some refactoring as no
|
|
49
|
+
doubt the return logic handling on things like PUT, POST and DELETE require something beyond what I have in place.
|
|
50
|
+
|
|
51
|
+
Etags:
|
|
52
|
+
returned in headers, check before a call. expose the tag perhaps?
|
|
53
|
+
V 1.0.0
|
|
54
|
+
Should be good to go live when all of the above are considered
|
|
55
|
+
|
|
56
|
+
STATUS CLient:
|
|
57
|
+
Looks to be implemented strangly
|
|
58
|
+
|
|
59
|
+
204 APIs in Spec
|
|
60
|
+
|
|
61
|
+
32 Builders
|
|
62
|
+
32 Clients
|
|
63
|
+
|
|
64
|
+
Current Test Suits: 263
|
|
65
|
+
Should be: 268
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Testing Issues:
|
|
69
|
+
AllianceClient test is incomplete
|
|
70
|
+
ContactsClient as well
|
|
71
|
+
Corporations as well
|
|
72
|
+
getIncursions.test.ts needs a refactor
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import { handleRequest } from '../../core/ApiRequestHandler';
|
|
3
|
+
|
|
4
|
+
export class AllianceByIdApi {
|
|
5
|
+
constructor(private client: ApiClient) {}
|
|
6
|
+
|
|
7
|
+
async getAllianceById(allianceId: number): Promise<object> {
|
|
8
|
+
return await handleRequest(this.client, `alliances/${allianceId}/`, 'GET', undefined, false);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import { handleRequest } from '../../core/ApiRequestHandler';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AllianceContactLabelsApi {
|
|
6
|
+
constructor(private client: ApiClient) {}
|
|
7
|
+
|
|
8
|
+
async getAllianceContactLabels(allianceId: number): Promise<object[]> {
|
|
9
|
+
return handleRequest(this.client, `alliances/${allianceId}/contacts/labels`, 'GET', undefined, false);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import { handleRequest } from '../../core/ApiRequestHandler';
|
|
3
|
+
|
|
4
|
+
export class AllianceContactsApi {
|
|
5
|
+
constructor(private client: ApiClient) {}
|
|
6
|
+
|
|
7
|
+
async getAllianceContacts(allianceId: number): Promise<object[]> {
|
|
8
|
+
return handleRequest(this.client, `alliances/${allianceId}/contacts`, 'GET', undefined, false);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import { handleRequest } from '../../core/ApiRequestHandler';
|
|
3
|
+
|
|
4
|
+
export class AllianceCorporationsApi {
|
|
5
|
+
constructor(private client: ApiClient) {}
|
|
6
|
+
|
|
7
|
+
async getAllianceCorporations(allianceId: number): Promise<object> {
|
|
8
|
+
return await handleRequest(this.client, `alliances/${allianceId}/corporations/`, 'GET', undefined, false);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import { handleRequest } from '../../core/ApiRequestHandler';
|
|
3
|
+
|
|
4
|
+
export class AllianceIconsApi {
|
|
5
|
+
constructor(private client: ApiClient) {}
|
|
6
|
+
|
|
7
|
+
async getAllianceIcons(allianceId: number): Promise<object> {
|
|
8
|
+
return await handleRequest(this.client, `alliances/${allianceId}/icons/`, 'GET', undefined, false);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiClient } from '../../core/ApiClient';
|
|
2
|
+
import { handleRequest } from '../../core/ApiRequestHandler';
|
|
3
|
+
|
|
4
|
+
export class AllAlliancesApi {
|
|
5
|
+
constructor(private client: ApiClient) {}
|
|
6
|
+
|
|
7
|
+
async getAllAlliances(): Promise<object[]> {
|
|
8
|
+
return handleRequest(this.client, 'alliances', 'GET', undefined, false);
|
|
9
|
+
}
|
|
10
|
+
}
|