@lgriffin/esi.ts 2.0.0 → 5.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/CHANGELOG.md +156 -0
- package/LICENSE +26 -26
- package/README.md +562 -936
- package/dist/EsiClient.d.ts +117 -0
- package/dist/EsiClient.d.ts.map +1 -0
- package/dist/EsiClient.js +232 -0
- package/dist/EsiClientBuilder.d.ts +74 -0
- package/dist/EsiClientBuilder.d.ts.map +1 -0
- package/dist/EsiClientBuilder.js +217 -0
- package/dist/clients/AccessListsClient.d.ts +15 -0
- package/dist/clients/AccessListsClient.d.ts.map +1 -0
- package/dist/clients/AccessListsClient.js +20 -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/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/MercenaryClient.d.ts +20 -0
- package/dist/clients/MercenaryClient.d.ts.map +1 -0
- package/dist/clients/MercenaryClient.js +27 -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/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/SkyhooksClient.d.ts +26 -0
- package/dist/clients/SkyhooksClient.d.ts.map +1 -0
- package/dist/clients/SkyhooksClient.js +35 -0
- package/dist/clients/SovereigntyClient.d.ts +20 -0
- package/dist/clients/SovereigntyClient.d.ts.map +1 -0
- package/dist/clients/SovereigntyClient.js +27 -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 +47 -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 +29 -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/ApiRequestHandler.d.ts +11 -0
- package/dist/core/ApiRequestHandler.d.ts.map +1 -0
- package/dist/core/ApiRequestHandler.js +369 -0
- package/dist/core/ClientRegistry.d.ts +41 -0
- package/dist/core/ClientRegistry.d.ts.map +1 -0
- package/dist/core/ClientRegistry.js +116 -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/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/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/accessListEndpoints.d.ts +9 -0
- package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/accessListEndpoints.js +11 -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 +43 -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 +60 -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/mercenaryEndpoints.d.ts +13 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/mercenaryEndpoints.js +15 -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/skyhookEndpoints.d.ts +18 -0
- package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/skyhookEndpoints.js +20 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts +13 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/sovereigntyEndpoints.js +15 -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 +175 -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/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/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/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/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 +2 -0
- package/dist/core/util/testHelpers.d.ts.map +1 -0
- package/dist/core/util/testHelpers.js +9 -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 +59 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +143 -0
- package/dist/testing/TestDataFactory.d.ts +103 -0
- package/dist/testing/TestDataFactory.d.ts.map +1 -0
- package/dist/testing/TestDataFactory.js +814 -0
- package/dist/types/access-lists.d.ts +11 -0
- package/dist/types/access-lists.d.ts.map +1 -0
- package/dist/types/access-lists.js +2 -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 +33 -0
- package/dist/types/api-responses.d.ts.map +1 -0
- package/dist/types/api-responses.js +48 -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/mercenary.d.ts +19 -0
- package/dist/types/mercenary.d.ts.map +1 -0
- package/dist/types/mercenary.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/skyhooks.d.ts +27 -0
- package/dist/types/skyhooks.d.ts.map +1 -0
- package/dist/types/skyhooks.js +2 -0
- package/dist/types/sovereignty.d.ts +33 -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 +181 -70
- package/.github/workflows/ci.yml +0 -16
- package/.prettierrc +0 -6
- package/DOCUMENTATION.md +0 -106
- package/TESTING.md +0 -523
- package/demo/examples.ts +0 -250
- package/demo/flexible-examples.ts +0 -166
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -106
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1493
- package/docs/classes/src_EsiClient.EsiClient.html +0 -48
- package/docs/classes/src_EsiClientBuilder.CustomEsiClient.html +0 -43
- package/docs/classes/src_EsiClientBuilder.EsiApiFactory.html +0 -23
- package/docs/classes/src_EsiClientBuilder.EsiClientBuilder.html +0 -15
- package/docs/classes/src_api_alliances_getAllianceById.AllianceByIdApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceContactLabels.AllianceContactLabelsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceContacts.AllianceContactsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceCorporations.AllianceCorporationsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAllianceIcons.AllianceIconsApi.html +0 -3
- package/docs/classes/src_api_alliances_getAlliances.AllAlliancesApi.html +0 -3
- package/docs/classes/src_api_assets_getCharacterAssets.GetCharacterAssetsApi.html +0 -3
- package/docs/classes/src_api_assets_getCorporationAssets.GetCorporationAssetsApi.html +0 -3
- package/docs/classes/src_api_assets_postCharacterAssetLocations.PostCharacterAssetLocationsApi.html +0 -3
- package/docs/classes/src_api_assets_postCharacterAssetNames.PostCharacterAssetNamesApi.html +0 -3
- package/docs/classes/src_api_assets_postCorporationAssetLocations.PostCorporationAssetLocationsApi.html +0 -3
- package/docs/classes/src_api_assets_postCorporationAssetNames.PostCorporationAssetNamesApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCharacterBookmarkFolders.CharacterBookmarkFoldersApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCharacterBookmarks.CharacterBookmarksApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCorporationBookmarkFolders.CorporationBookmarkFoldersApi.html +0 -3
- package/docs/classes/src_api_bookmarks_getCorporationBookmarks.CorporationBookmarksApi.html +0 -3
- package/docs/classes/src_api_calendar_getCalendarEventById.GetCalendarEventByIdApi.html +0 -3
- package/docs/classes/src_api_calendar_getCalendarEvents.GetCalendarEventsApi.html +0 -3
- package/docs/classes/src_api_calendar_getEventAttendees.GetEventAttendeesApi.html +0 -3
- package/docs/classes/src_api_calendar_respondToCalendarEvent.RespondToCalendarEventApi.html +0 -3
- package/docs/classes/src_api_characters_getAgentsResearch.GetAgentsResearchApi.html +0 -3
- package/docs/classes/src_api_characters_getBlueprints.GetBlueprintsApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterPublicInfo.GetCharacterPublicInfoApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterRoles.GetCharacterRolesApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterStandings.GetCharacterStandingsApi.html +0 -3
- package/docs/classes/src_api_characters_getCharacterTitles.GetCharacterTitlesApi.html +0 -3
- package/docs/classes/src_api_characters_getContactNotifications.GetContactNotificationsApi.html +0 -3
- package/docs/classes/src_api_characters_getCorporationHistory.GetCorporationHistoryApi.html +0 -3
- package/docs/classes/src_api_characters_getJumpFatigue.GetJumpFatigueApi.html +0 -3
- package/docs/classes/src_api_characters_getMedals.GetMedalsApi.html +0 -3
- package/docs/classes/src_api_characters_getNotifications.GetNotificationsApi.html +0 -3
- package/docs/classes/src_api_characters_getPortrait.GetPortraitApi.html +0 -3
- package/docs/classes/src_api_characters_postCSPAChargeCost.PostCspaChargeCostApi.html +0 -3
- package/docs/classes/src_api_characters_postCharacterAffiliations.PostCharacterAffiliationApi.html +0 -3
- package/docs/classes/src_api_clones_getClones.GetClonesApi.html +0 -3
- package/docs/classes/src_api_clones_getImplants.GetImplantsApi.html +0 -3
- package/docs/classes/src_api_clones_postJumpCloneActivation.PostJumpCloneActivationApi.html +0 -3
- package/docs/classes/src_api_contacts_deleteCharacterContacts.deleteCharacterContacts.html +0 -3
- package/docs/classes/src_api_contacts_getAllianceContactLabels.getAllianceContactLabels.html +0 -3
- package/docs/classes/src_api_contacts_getAllianceContacts.getAllianceContacts.html +0 -3
- package/docs/classes/src_api_contacts_getCharacterContactLabels.getCharacterContactLabels.html +0 -3
- package/docs/classes/src_api_contacts_getCharacterContacts.getCharacterContacts.html +0 -3
- package/docs/classes/src_api_contacts_getCorporationContactLabels.getCorporationContactLabels.html +0 -3
- package/docs/classes/src_api_contacts_getCorporationContacts.getCorporationContacts.html +0 -3
- package/docs/classes/src_api_contacts_postCharacterContacts.postCharacterContacts.html +0 -3
- package/docs/classes/src_api_contacts_putCharacterContacts.putCharacterContacts.html +0 -3
- package/docs/classes/src_api_contracts_getCharacterContractBids.GetCharacterContractBidsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCharacterContractItems.GetCharacterContractItemsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCharacterContracts.GetCharacterContractsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCorporationContractBids.GetCorporationContractBidsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCorporationContractItems.GetCorporationContractItemsApi.html +0 -3
- package/docs/classes/src_api_contracts_getCorporationContracts.GetCorporationContractsApi.html +0 -3
- package/docs/classes/src_api_contracts_getPublicContractBids.GetPublicContractBidsApi.html +0 -3
- package/docs/classes/src_api_contracts_getPublicContractItems.GetPublicContractItemsApi.html +0 -3
- package/docs/classes/src_api_contracts_getPublicContracts.GetPublicContractsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationAllianceHistory.GetCorporationAllianceHistoryApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationAlscLogs.GetCorporationAlscLogsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationBlueprints.GetCorporationBlueprintsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationDivisions.GetCorporationDivisionsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationFacilities.GetCorporationFacilitiesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationIcon.GetCorporationIconApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationInfo.GetCorporationInfoApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationIssuedMedals.GetCorporationIssuedMedalsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMedals.GetCorporationMedalsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberLimit.GetCorporationMemberLimitApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberRoles.GetCorporationMemberRolesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberRolesHistory.GetCorporationMemberRolesHistoryApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMemberTracking.GetCorporationMemberTrackingApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMembers.GetCorporationMembersApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationMembersTitles.GetCorporationMembersTitlesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationProjects.GetCorporationProjectsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationShareholders.GetCorporationShareholdersApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStandings.GetCorporationStandingsApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStarbaseDetail.GetCorporationStarbaseDetailApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStarbases.GetCorporationStarbasesApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationStructures.GetCorporationStructuresApi.html +0 -3
- package/docs/classes/src_api_corporations_getCorporationTitles.GetCorporationTitlesApi.html +0 -3
- package/docs/classes/src_api_corporations_getNpcCorporations.GetNpcCorporationsApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaAttributeById.DogmaAttributeByIdApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaAttributes.DogmaAttributesApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaDynamicItemAttributes.DogmaDynamicItemApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaEffectById.DogmaEffectByIdApi.html +0 -3
- package/docs/classes/src_api_dogma_getDogmaEffects.DogmaEffectsApi.html +0 -3
- package/docs/classes/src_api_factions_getCharacterFactionWarfareStats.GetCharacterFactionWarfareStatsApi.html +0 -3
- package/docs/classes/src_api_factions_getCharacterLeaderboards.GetCharacterLeaderboardsApi.html +0 -3
- package/docs/classes/src_api_factions_getCorporationFactionWarfareStats.GetCorporationFactionWarfareStatsApi.html +0 -3
- package/docs/classes/src_api_factions_getCorporationLeaderboards.GetCorporationLeaderboardsApi.html +0 -3
- package/docs/classes/src_api_factions_getFactionLeaderboards.GetFactionLeaderboardsApi.html +0 -3
- package/docs/classes/src_api_factions_getFactionWarfareStats.getFactionWarfareStats.html +0 -3
- package/docs/classes/src_api_factions_getFactionWarfareSystems.FactionWarfareSystemsApi.html +0 -3
- package/docs/classes/src_api_factions_getFactionWarfareWars.FactionWarfareWarsApi.html +0 -3
- package/docs/classes/src_api_fittings_deleteCharacterFitting.DeleteCharacterFittingApi.html +0 -3
- package/docs/classes/src_api_fittings_getCharacterFittings.GetCharacterFittingsApi.html +0 -3
- package/docs/classes/src_api_fittings_postCharacterFittings.PostCharacterFittingApi.html +0 -3
- package/docs/classes/src_api_fleets_deleteFleetMember.DeleteFleetMemberApi.html +0 -3
- package/docs/classes/src_api_fleets_deleteFleetSquad.DeleteFleetSquadApi.html +0 -3
- package/docs/classes/src_api_fleets_deleteFleetWing.DeleteFleetWingApi.html +0 -3
- package/docs/classes/src_api_fleets_getCharacterFleetInfo.GetCharacterFleetInfoApi.html +0 -3
- package/docs/classes/src_api_fleets_getFleetInfo.GetFleetInfoApi.html +0 -3
- package/docs/classes/src_api_fleets_getFleetMembers.GetFleetMembersApi.html +0 -3
- package/docs/classes/src_api_fleets_getFleetWings.GetFleetWingsApi.html +0 -3
- package/docs/classes/src_api_fleets_postFleetInvitation.PostFleetInvitationApi.html +0 -3
- package/docs/classes/src_api_fleets_postFleetSquad.PostFleetSquadApi.html +0 -3
- package/docs/classes/src_api_fleets_postFleetWing.PostFleetWingApi.html +0 -3
- package/docs/classes/src_api_fleets_putFleetMember.PutFleetMemberApi.html +0 -3
- package/docs/classes/src_api_fleets_putFleetSquad.PutFleetSquadApi.html +0 -3
- package/docs/classes/src_api_fleets_putFleetWing.PutFleetWingApi.html +0 -3
- package/docs/classes/src_api_fleets_updateFleet.UpdateFleetApi.html +0 -3
- package/docs/classes/src_api_incursions_getIncursions.IncursionsApi.html +0 -3
- package/docs/classes/src_api_industry_getCharacterIndustryJobs.GetCharacterIndustryJobsApi.html +0 -3
- package/docs/classes/src_api_industry_getCharacterMiningLedger.GetCharacterMiningLedgerApi.html +0 -3
- package/docs/classes/src_api_industry_getCorporationIndustryJobs.GetCorporationIndustryJobsApi.html +0 -3
- package/docs/classes/src_api_industry_getCorporationMiningObserver.GetCorporationMiningObserverApi.html +0 -3
- package/docs/classes/src_api_industry_getCorporationMiningObservers.GetCorporationMiningObserversApi.html +0 -3
- package/docs/classes/src_api_industry_getIndustryFacilities.GetIndustryFacilitiesApi.html +0 -3
- package/docs/classes/src_api_industry_getIndustrySystems.GetIndustrySystemsApi.html +0 -3
- package/docs/classes/src_api_industry_getMoonExtractionTimers.GetMoonExtractionTimersApi.html +0 -3
- package/docs/classes/src_api_insurance_getInsurancePrices.InsuranceApi.html +0 -3
- package/docs/classes/src_api_killmails_getCharacterRecentKillmails.GetCharacterRecentKillmailsApi.html +0 -3
- package/docs/classes/src_api_killmails_getCorporationRecentKillmails.GetCorporationRecentKillmailsApi.html +0 -3
- package/docs/classes/src_api_killmails_getKillmail.GetKillmailApi.html +0 -3
- package/docs/classes/src_api_location_getCharacterLocation.GetCharacterLocationApi.html +0 -3
- package/docs/classes/src_api_location_getCharacterOnline.GetCharacterOnlineApi.html +0 -3
- package/docs/classes/src_api_location_getCharacterShip.GetCharacterShipApi.html +0 -3
- package/docs/classes/src_api_loyalty_getLoyaltyPoints.GetLoyaltyPointsApi.html +0 -3
- package/docs/classes/src_api_loyalty_getLoyaltyStoreOffers.GetLoyaltyStoreOffersApi.html +0 -3
- package/docs/classes/src_api_mail_deleteCharacterMail.DeleteCharacterMailApi.html +0 -3
- package/docs/classes/src_api_mail_deleteCharacterMailLabel.DeleteCharacterMailLabelApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMail.GetCharacterMailApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMailHeaders.GetCharacterMailHeadersApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMailLabels.GetCharacterMailLabelsApi.html +0 -3
- package/docs/classes/src_api_mail_getCharacterMailingLists.GetCharacterMailingListsApi.html +0 -3
- package/docs/classes/src_api_mail_postCharacterMail.PostCharacterMailApi.html +0 -3
- package/docs/classes/src_api_mail_postCharacterMailLabels.PostCharacterMailLabelsApi.html +0 -3
- package/docs/classes/src_api_mail_putCharacterMail.PutCharacterMailApi.html +0 -3
- package/docs/classes/src_api_market_getCharacterOrderHistory.getCharacterOrderHistory.html +0 -3
- package/docs/classes/src_api_market_getCharacterOrders.getCharacterOrders.html +0 -3
- package/docs/classes/src_api_market_getCorporationOrderHistory.getCorporationOrderHistory.html +0 -3
- package/docs/classes/src_api_market_getCorporationOrders.getCorporationOrders.html +0 -3
- package/docs/classes/src_api_market_getMarketGroupInformation.getMarketGroupInformation.html +0 -3
- package/docs/classes/src_api_market_getMarketGroups.getMarketGroups.html +0 -3
- package/docs/classes/src_api_market_getMarketHistory.getMarketHistory.html +0 -3
- package/docs/classes/src_api_market_getMarketOrders.getMarketOrders.html +0 -3
- package/docs/classes/src_api_market_getMarketOrdersInStructure.getMarketOrdersInStructure.html +0 -3
- package/docs/classes/src_api_market_getMarketPrices.getMarketPrices.html +0 -3
- package/docs/classes/src_api_market_getMarketTypes.getMarketTypes.html +0 -3
- package/docs/classes/src_api_meta_getSwaggerJson.GetSwaggerJsonApi.html +0 -3
- package/docs/classes/src_api_meta_getSwaggerYaml.GetSwaggerYamlApi.html +0 -3
- package/docs/classes/src_api_opportunities_getCharacterOpportunities.GetCharacterOpportunitiesApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesGroupById.GetOpportunitiesGroupByIdApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesGroups.GetOpportunitiesGroupsApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesTaskById.GetOpportunitiesTaskByIdApi.html +0 -3
- package/docs/classes/src_api_opportunities_getOpportunitiesTasks.GetOpportunitiesTasksApi.html +0 -3
- package/docs/classes/src_api_pi_getColonies.GetColoniesApi.html +0 -3
- package/docs/classes/src_api_pi_getColonyLayout.GetColonyLayoutApi.html +0 -3
- package/docs/classes/src_api_pi_getCorporationCustomsOffices.GetCorporationCustomsOfficesApi.html +0 -3
- package/docs/classes/src_api_pi_getSchematicInformation.GetSchematicInformationApi.html +0 -3
- package/docs/classes/src_api_route_getRoute.RouteApi.html +0 -3
- package/docs/classes/src_api_search_getCharacterSearch.CharacterSearchApi.html +0 -3
- package/docs/classes/src_api_skills_getCharacterAttributes.GetCharacterAttributesApi.html +0 -3
- package/docs/classes/src_api_skills_getCharacterSkillQueue.GetCharacterSkillQueueApi.html +0 -3
- package/docs/classes/src_api_skills_getCharacterSkills.GetCharacterSkillsApi.html +0 -3
- package/docs/classes/src_api_sovereignty_getSovereigntyCampaigns.SovereigntyCampaignsApi.html +0 -3
- package/docs/classes/src_api_sovereignty_getSovereigntyMap.SovereigntyMapApi.html +0 -3
- package/docs/classes/src_api_sovereignty_getSovereigntyStructures.SovereigntyStructuresApi.html +0 -3
- package/docs/classes/src_api_status_getStatus.GetStatusApi.html +0 -3
- package/docs/classes/src_api_ui_postAutopilotWaypoint.PostAutopilotWaypointApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenContractWindow.PostOpenContractWindowApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenInformationWindow.PostOpenInformationWindowApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenMarketDetailsWindow.PostOpenMarketDetailsWindowApi.html +0 -3
- package/docs/classes/src_api_ui_postOpenNewMailWindow.PostOpenNewMailWindowApi.html +0 -3
- package/docs/classes/src_api_universe_getAncestries.UniverseAncestriesApi.html +0 -3
- package/docs/classes/src_api_universe_getAsteroidBeltInfo.UniverseAsteroidBeltApi.html +0 -3
- package/docs/classes/src_api_universe_getBloodlines.UniverseBloodlinesApi.html +0 -3
- package/docs/classes/src_api_universe_getConstellationById.UniverseConstellationByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getConstellations.UniverseConstellationsApi.html +0 -3
- package/docs/classes/src_api_universe_getFactions.UniverseFactionsApi.html +0 -3
- package/docs/classes/src_api_universe_getGraphicById.UniverseGraphicByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getGraphics.UniverseGraphicsApi.html +0 -3
- package/docs/classes/src_api_universe_getItemCategories.UniverseCategoriesApi.html +0 -3
- package/docs/classes/src_api_universe_getItemCategoryById.UniverseCategoryByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getItemGroupById.UniverseItemGroupByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getItemGroups.UniverseItemGroupsApi.html +0 -3
- package/docs/classes/src_api_universe_getMoonById.UniverseMoonByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getPlanetById.UniversePlanetByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getRaces.UniverseRacesApi.html +0 -3
- package/docs/classes/src_api_universe_getRegionById.UniverseRegionByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStarById.UniverseStarByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStargateById.UniverseStargateByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStationById.UniverseStationByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStructureById.UniverseStructureByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getStructures.UniverseStructuresApi.html +0 -3
- package/docs/classes/src_api_universe_getSystemById.UniverseSystemByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getSystemJumps.UniverseSystemJumpsApi.html +0 -3
- package/docs/classes/src_api_universe_getSystemKills.UniverseSystemKillsApi.html +0 -3
- package/docs/classes/src_api_universe_getSystems.UniverseSystemsApi.html +0 -3
- package/docs/classes/src_api_universe_getTypeById.UniverseTypeByIdApi.html +0 -3
- package/docs/classes/src_api_universe_getTypes.UniverseTypesApi.html +0 -3
- package/docs/classes/src_api_universe_postBulkNamesToIds.PostBulkNamesToIdsApi.html +0 -3
- package/docs/classes/src_api_universe_postNamesAndCategories.PostNamesAndCategoriesApi.html +0 -3
- package/docs/classes/src_api_wallet_getCharacterWallet.GetCharacterWalletApi.html +0 -3
- package/docs/classes/src_api_wallet_getCharacterWalletJournal.GetCharacterWalletJournalApi.html +0 -3
- package/docs/classes/src_api_wallet_getCharacterWalletTransactions.GetCharacterWalletTransactionsApi.html +0 -3
- package/docs/classes/src_api_wallet_getCorporationWalletJournal.GetCorporationWalletJournalApi.html +0 -3
- package/docs/classes/src_api_wallet_getCorporationWalletTransactions.GetCorporationWalletTransactionsApi.html +0 -3
- package/docs/classes/src_api_wallet_getCorporationWallets.GetCorporationWalletsApi.html +0 -3
- package/docs/classes/src_api_wars_getWarById.WarByIdApi.html +0 -3
- package/docs/classes/src_api_wars_getWarKillmails.WarKillmailsApi.html +0 -3
- package/docs/classes/src_api_wars_getWars.WarsApi.html +0 -3
- package/docs/classes/src_builders_AllianceApiBuilder.AllianceApiBuilder.html +0 -3
- package/docs/classes/src_builders_AssetsApiBuilder.AssetsApiBuilder.html +0 -3
- package/docs/classes/src_builders_BookmarkApiBuilder.BookmarkApiBuilder.html +0 -3
- package/docs/classes/src_builders_CalendarApiBuilder.CalendarApiBuilder.html +0 -3
- package/docs/classes/src_builders_CharacterApiBuilder.CharacterApiBuilder.html +0 -3
- package/docs/classes/src_builders_ClonesApiBuilder.ClonesApiBuilder.html +0 -3
- package/docs/classes/src_builders_ContactsApiBuilder.ContactsApiBuilder.html +0 -3
- package/docs/classes/src_builders_ContractsApiBuilder.ContractsApiBuilder.html +0 -3
- package/docs/classes/src_builders_CorporationsApiBuilder.CorporationsApiBuilder.html +0 -3
- package/docs/classes/src_builders_DogmaApiBuilder.DogmaAPIBuilder.html +0 -3
- package/docs/classes/src_builders_FactionApiBuilder.FactionAPIBuilder.html +0 -3
- package/docs/classes/src_builders_FittingsApiBuilder.FittingsApiBuilder.html +0 -3
- package/docs/classes/src_builders_FleetApiBuilder.FleetApiBuilder.html +0 -3
- package/docs/classes/src_builders_IncursionsApiBuilder.IncursionsApiBuilder.html +0 -3
- package/docs/classes/src_builders_IndustryApiBuilder.IndustryApiBuilder.html +0 -3
- package/docs/classes/src_builders_InsuranceApiBuilder.InsuranceAPIBuilder.html +0 -3
- package/docs/classes/src_builders_KillmailsBuilder.KillmailsApiBuilder.html +0 -3
- package/docs/classes/src_builders_LocationApiBuilder.LocationApiBuilder.html +0 -3
- package/docs/classes/src_builders_LoyaltyApiBuilder.LoyaltyApiBuilder.html +0 -3
- package/docs/classes/src_builders_MailApiBuilder.MailApiBuilder.html +0 -3
- package/docs/classes/src_builders_MarketApiBuilder.MarketApiBuilder.html +0 -3
- package/docs/classes/src_builders_MetaApiBuilder.MetaApiBuilder.html +0 -3
- package/docs/classes/src_builders_OpportunitiesApiBuilder.OpportunitiesApiBuilder.html +0 -3
- package/docs/classes/src_builders_PiApiBuilder.PiApiBuilder.html +0 -3
- package/docs/classes/src_builders_RouteApiBuilder.RouteApiBuilder.html +0 -3
- package/docs/classes/src_builders_SearchApiBuilder.SearchApiBuilder.html +0 -3
- package/docs/classes/src_builders_SkillsApiBuilder.SkillsApiBuilder.html +0 -3
- package/docs/classes/src_builders_SovereigntyApiBuilder.SovereigntyApiBuilder.html +0 -3
- package/docs/classes/src_builders_StatusApiBuilder.StatusAPIBuilder.html +0 -3
- package/docs/classes/src_builders_UiApiBuilder.UiApiBuilder.html +0 -3
- package/docs/classes/src_builders_UniverseApiBuilder.UniverseAPIBuilder.html +0 -3
- package/docs/classes/src_builders_WalletApiBuilder.WalletApiBuilder.html +0 -3
- package/docs/classes/src_builders_WarsAPIBuilder.WarsAPIBuilder.html +0 -3
- package/docs/classes/src_clients_AllianceClient.AllianceClient.html +0 -10
- package/docs/classes/src_clients_AssetsClient.AssetsClient.html +0 -8
- package/docs/classes/src_clients_BookmarkClient.BookmarkClient.html +0 -6
- package/docs/classes/src_clients_CalendarClient.CalendarClient.html +0 -6
- package/docs/classes/src_clients_CharacterClient.CharacterClient.html +0 -16
- package/docs/classes/src_clients_ClonesClient.ClonesClient.html +0 -5
- package/docs/classes/src_clients_ContactsClient.ContactsClient.html +0 -11
- package/docs/classes/src_clients_ContractsClient.ContractsClient.html +0 -11
- package/docs/classes/src_clients_CorporationsClient.CorporationsClient.html +0 -25
- package/docs/classes/src_clients_DogmaClient.DogmaClient.html +0 -7
- package/docs/classes/src_clients_FactionClient.FactionClient.html +0 -10
- package/docs/classes/src_clients_FittingsClient.FittingsClient.html +0 -5
- package/docs/classes/src_clients_FleetClient.FleetClient.html +0 -16
- package/docs/classes/src_clients_IncursionsClient.IncursionsClient.html +0 -3
- package/docs/classes/src_clients_IndustryClient.IndustryClient.html +0 -10
- package/docs/classes/src_clients_InsuranceClient.InsuranceClient.html +0 -3
- package/docs/classes/src_clients_KillmailsClient.KillmailsClient.html +0 -5
- package/docs/classes/src_clients_LocationClient.LocationClient.html +0 -5
- package/docs/classes/src_clients_LoyaltyClient.LoyaltyClient.html +0 -4
- package/docs/classes/src_clients_MailClient.MailClient.html +0 -11
- package/docs/classes/src_clients_MarketClient.MarketClient.html +0 -13
- package/docs/classes/src_clients_MetaClient.MetaClient.html +0 -6
- package/docs/classes/src_clients_OpportunitiesClient.OpportunitiesClient.html +0 -7
- package/docs/classes/src_clients_PiClient.PIClient.html +0 -6
- package/docs/classes/src_clients_RouteClient.RouteClient.html +0 -3
- package/docs/classes/src_clients_SearchClient.SearchClient.html +0 -3
- package/docs/classes/src_clients_SkillsClient.CharacterSkillsClient.html +0 -5
- package/docs/classes/src_clients_SovereigntyClient.SovereigntyClient.html +0 -5
- package/docs/classes/src_clients_StatusClient.StatusClient.html +0 -3
- package/docs/classes/src_clients_UiClient.UIClient.html +0 -7
- package/docs/classes/src_clients_UniverseClient.UniverseClient.html +0 -31
- package/docs/classes/src_clients_WalletClient.WalletClient.html +0 -8
- package/docs/classes/src_clients_WarsClient.WarsClient.html +0 -5
- package/docs/classes/src_core_ApiClient.ApiClient.html +0 -4
- package/docs/classes/src_core_ApiClientBuilder.ApiClientBuilder.html +0 -6
- package/docs/classes/src_core_ApiError.ApiError.html +0 -3
- package/docs/classes/src_core_cache_ETagCacheManager.ETagCacheManager.html +0 -22
- package/docs/classes/src_core_container_Container.CircularDependencyError.html +0 -2
- package/docs/classes/src_core_container_Container.Container.html +0 -20
- package/docs/classes/src_core_errors_ApiError.ApiError.html +0 -12
- package/docs/classes/src_core_errors_ApiError.ErrorHandler.html +0 -5
- package/docs/classes/src_core_factory_ApiFactory.ApiFactory.html +0 -20
- package/docs/classes/src_core_factory_ApiFactory.ApiModule.html +0 -6
- package/docs/classes/src_core_util_headersUtil.default.html +0 -11
- package/docs/classes/src_testing_TestDataFactory.TestDataFactory.html +0 -47
- package/docs/classes/src_testing_TestHelpers.MockApiClient.html +0 -3
- package/docs/classes/src_testing_TestHelpers.TestAssertions.html +0 -6
- package/docs/classes/src_testing_TestHelpers.TestDataFactory.html +0 -6
- package/docs/classes/src_testing_TestHelpers.TestScenarios.html +0 -5
- package/docs/classes/src_types_winston_loggly_bulk.Loggly.html +0 -2
- package/docs/enums/src_core_errors_ApiError.ApiErrorType.html +0 -11
- package/docs/functions/src.displayCharacterProfile.html +0 -2
- package/docs/functions/src.getCompleteCharacterProfile.html +0 -4
- package/docs/functions/src_config_configManager.getConfig.html +0 -1
- package/docs/functions/src_config_jest_jest_setup.getClient.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.getETagCache.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.handleRequest.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.handleRequestBody.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.initializeETagCache.html +0 -1
- package/docs/functions/src_core_ApiRequestHandler.resetETagCache.html +0 -1
- package/docs/functions/src_core_container_Container.Inject.html +0 -1
- package/docs/functions/src_core_container_Container.Injectable.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logDebug.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logError.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logInfo.html +0 -1
- package/docs/functions/src_core_logger_loggerUtil.logWarn.html +0 -1
- package/docs/functions/src_core_util_error.buildError.html +0 -1
- package/docs/functions/src_core_util_file.checkForConfig.html +0 -1
- package/docs/functions/src_core_util_file.getSettings.html +0 -1
- package/docs/functions/src_core_util_file.log.html +0 -1
- package/docs/functions/src_core_util_inputValidation.inputValidation.html +0 -1
- package/docs/functions/src_core_util_network.request.html +0 -1
- package/docs/functions/src_core_util_request.inputValidation.html +0 -1
- package/docs/functions/src_core_util_request.request.html +0 -1
- package/docs/functions/src_core_util_testHelpers.getBody.html +0 -1
- package/docs/functions/src_core_util_testHelpers.getHeaders.html +0 -1
- package/docs/functions/src_core_util_testHelpers.mockApiCall.html +0 -1
- package/docs/functions/src_testing_TestHelpers.createMockApiClient.html +0 -1
- package/docs/functions/src_testing_TestHelpers.getBody.html +0 -1
- package/docs/functions/src_testing_TestHelpers.getHeaders.html +0 -1
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -272
- package/docs/interfaces/src_EsiClient.EsiClientConfig.html +0 -8
- package/docs/interfaces/src_core_IAPIBuilder.IAPIBuilder.html +0 -2
- package/docs/interfaces/src_core_IAPIBuilder.IApiClient.html +0 -3
- package/docs/interfaces/src_core_IAPIBuilder.IApiService.html +0 -3
- package/docs/interfaces/src_core_cache_ETagCacheManager.CacheEntry.html +0 -6
- package/docs/interfaces/src_core_cache_ETagCacheManager.ETagCacheConfig.html +0 -6
- package/docs/interfaces/src_core_container_Container.ContainerConfig.html +0 -3
- package/docs/interfaces/src_core_factory_ApiFactory.ApiClientConfig.html +0 -7
- package/docs/interfaces/src_core_factory_ApiFactory.ApiModuleConfig.html +0 -4
- package/docs/interfaces/src_testing_TestHelpers.MockConfig.html +0 -6
- package/docs/interfaces/src_types_api_responses.AllianceContact.html +0 -5
- package/docs/interfaces/src_types_api_responses.AllianceContactLabel.html +0 -3
- package/docs/interfaces/src_types_api_responses.AllianceIcon.html +0 -3
- package/docs/interfaces/src_types_api_responses.AllianceInfo.html +0 -9
- package/docs/interfaces/src_types_api_responses.ApiResponse.html +0 -4
- package/docs/interfaces/src_types_api_responses.AssetLocation.html +0 -3
- package/docs/interfaces/src_types_api_responses.AssetName.html +0 -3
- package/docs/interfaces/src_types_api_responses.CharacterAsset.html +0 -9
- package/docs/interfaces/src_types_api_responses.CharacterAttributes.html +0 -9
- package/docs/interfaces/src_types_api_responses.CharacterInfo.html +0 -13
- package/docs/interfaces/src_types_api_responses.CharacterPortrait.html +0 -5
- package/docs/interfaces/src_types_api_responses.CharacterSkill.html +0 -5
- package/docs/interfaces/src_types_api_responses.ConstellationInfo.html +0 -6
- package/docs/interfaces/src_types_api_responses.Contract.html +0 -23
- package/docs/interfaces/src_types_api_responses.ContractItem.html +0 -8
- package/docs/interfaces/src_types_api_responses.CorporationInfo.html +0 -16
- package/docs/interfaces/src_types_api_responses.ErrorResponse.html +0 -4
- package/docs/interfaces/src_types_api_responses.MailLabel.html +0 -5
- package/docs/interfaces/src_types_api_responses.MailMessage.html +0 -8
- package/docs/interfaces/src_types_api_responses.MarketHistory.html +0 -7
- package/docs/interfaces/src_types_api_responses.MarketOrder.html +0 -12
- package/docs/interfaces/src_types_api_responses.PaginatedResponse.html +0 -5
- package/docs/interfaces/src_types_api_responses.RegionInfo.html +0 -5
- package/docs/interfaces/src_types_api_responses.SkillQueue.html +0 -9
- package/docs/interfaces/src_types_api_responses.SolarSystemInfo.html +0 -10
- package/docs/interfaces/src_types_api_responses.WalletJournal.html +0 -12
- package/docs/interfaces/src_types_api_responses.WalletTransaction.html +0 -11
- package/docs/interfaces/src_types_winston_loggly_bulk.LogglyOptions.html +0 -5
- package/docs/media/LICENSE +0 -26
- package/docs/modules/src.html +0 -22
- package/docs/modules/src_EsiClient.html +0 -4
- package/docs/modules/src_EsiClientBuilder.html +0 -6
- package/docs/modules/src_api_alliances_getAllianceById.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceContactLabels.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceContacts.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceCorporations.html +0 -2
- package/docs/modules/src_api_alliances_getAllianceIcons.html +0 -2
- package/docs/modules/src_api_alliances_getAlliances.html +0 -2
- package/docs/modules/src_api_assets_getCharacterAssets.html +0 -2
- package/docs/modules/src_api_assets_getCorporationAssets.html +0 -2
- package/docs/modules/src_api_assets_postCharacterAssetLocations.html +0 -2
- package/docs/modules/src_api_assets_postCharacterAssetNames.html +0 -2
- package/docs/modules/src_api_assets_postCorporationAssetLocations.html +0 -2
- package/docs/modules/src_api_assets_postCorporationAssetNames.html +0 -2
- package/docs/modules/src_api_bookmarks_getCharacterBookmarkFolders.html +0 -2
- package/docs/modules/src_api_bookmarks_getCharacterBookmarks.html +0 -2
- package/docs/modules/src_api_bookmarks_getCorporationBookmarkFolders.html +0 -2
- package/docs/modules/src_api_bookmarks_getCorporationBookmarks.html +0 -2
- package/docs/modules/src_api_calendar_getCalendarEventById.html +0 -2
- package/docs/modules/src_api_calendar_getCalendarEvents.html +0 -2
- package/docs/modules/src_api_calendar_getEventAttendees.html +0 -2
- package/docs/modules/src_api_calendar_respondToCalendarEvent.html +0 -2
- package/docs/modules/src_api_characters_getAgentsResearch.html +0 -2
- package/docs/modules/src_api_characters_getBlueprints.html +0 -2
- package/docs/modules/src_api_characters_getCharacterPublicInfo.html +0 -2
- package/docs/modules/src_api_characters_getCharacterRoles.html +0 -2
- package/docs/modules/src_api_characters_getCharacterStandings.html +0 -2
- package/docs/modules/src_api_characters_getCharacterTitles.html +0 -2
- package/docs/modules/src_api_characters_getContactNotifications.html +0 -2
- package/docs/modules/src_api_characters_getCorporationHistory.html +0 -2
- package/docs/modules/src_api_characters_getJumpFatigue.html +0 -2
- package/docs/modules/src_api_characters_getMedals.html +0 -2
- package/docs/modules/src_api_characters_getNotifications.html +0 -2
- package/docs/modules/src_api_characters_getPortrait.html +0 -2
- package/docs/modules/src_api_characters_postCSPAChargeCost.html +0 -2
- package/docs/modules/src_api_characters_postCharacterAffiliations.html +0 -2
- package/docs/modules/src_api_clones_getClones.html +0 -2
- package/docs/modules/src_api_clones_getImplants.html +0 -2
- package/docs/modules/src_api_clones_postJumpCloneActivation.html +0 -2
- package/docs/modules/src_api_contacts_deleteCharacterContacts.html +0 -2
- package/docs/modules/src_api_contacts_getAllianceContactLabels.html +0 -2
- package/docs/modules/src_api_contacts_getAllianceContacts.html +0 -2
- package/docs/modules/src_api_contacts_getCharacterContactLabels.html +0 -2
- package/docs/modules/src_api_contacts_getCharacterContacts.html +0 -2
- package/docs/modules/src_api_contacts_getCorporationContactLabels.html +0 -2
- package/docs/modules/src_api_contacts_getCorporationContacts.html +0 -2
- package/docs/modules/src_api_contacts_postCharacterContacts.html +0 -2
- package/docs/modules/src_api_contacts_putCharacterContacts.html +0 -2
- package/docs/modules/src_api_contracts_getCharacterContractBids.html +0 -2
- package/docs/modules/src_api_contracts_getCharacterContractItems.html +0 -2
- package/docs/modules/src_api_contracts_getCharacterContracts.html +0 -2
- package/docs/modules/src_api_contracts_getCorporationContractBids.html +0 -2
- package/docs/modules/src_api_contracts_getCorporationContractItems.html +0 -2
- package/docs/modules/src_api_contracts_getCorporationContracts.html +0 -2
- package/docs/modules/src_api_contracts_getPublicContractBids.html +0 -2
- package/docs/modules/src_api_contracts_getPublicContractItems.html +0 -2
- package/docs/modules/src_api_contracts_getPublicContracts.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationAllianceHistory.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationAlscLogs.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationBlueprints.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationDivisions.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationFacilities.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationIcon.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationInfo.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationIssuedMedals.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMedals.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberLimit.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberRoles.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberRolesHistory.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMemberTracking.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMembers.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationMembersTitles.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationProjects.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationShareholders.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStandings.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStarbaseDetail.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStarbases.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationStructures.html +0 -2
- package/docs/modules/src_api_corporations_getCorporationTitles.html +0 -2
- package/docs/modules/src_api_corporations_getNpcCorporations.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaAttributeById.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaAttributes.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaDynamicItemAttributes.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaEffectById.html +0 -2
- package/docs/modules/src_api_dogma_getDogmaEffects.html +0 -2
- package/docs/modules/src_api_factions_getCharacterFactionWarfareStats.html +0 -2
- package/docs/modules/src_api_factions_getCharacterLeaderboards.html +0 -2
- package/docs/modules/src_api_factions_getCorporationFactionWarfareStats.html +0 -2
- package/docs/modules/src_api_factions_getCorporationLeaderboards.html +0 -2
- package/docs/modules/src_api_factions_getFactionLeaderboards.html +0 -2
- package/docs/modules/src_api_factions_getFactionWarfareStats.html +0 -2
- package/docs/modules/src_api_factions_getFactionWarfareSystems.html +0 -2
- package/docs/modules/src_api_factions_getFactionWarfareWars.html +0 -2
- package/docs/modules/src_api_fittings_deleteCharacterFitting.html +0 -2
- package/docs/modules/src_api_fittings_getCharacterFittings.html +0 -2
- package/docs/modules/src_api_fittings_postCharacterFittings.html +0 -2
- package/docs/modules/src_api_fleets_deleteFleetMember.html +0 -2
- package/docs/modules/src_api_fleets_deleteFleetSquad.html +0 -2
- package/docs/modules/src_api_fleets_deleteFleetWing.html +0 -2
- package/docs/modules/src_api_fleets_getCharacterFleetInfo.html +0 -2
- package/docs/modules/src_api_fleets_getFleetInfo.html +0 -2
- package/docs/modules/src_api_fleets_getFleetMembers.html +0 -2
- package/docs/modules/src_api_fleets_getFleetWings.html +0 -2
- package/docs/modules/src_api_fleets_postFleetInvitation.html +0 -2
- package/docs/modules/src_api_fleets_postFleetSquad.html +0 -2
- package/docs/modules/src_api_fleets_postFleetWing.html +0 -2
- package/docs/modules/src_api_fleets_putFleetMember.html +0 -2
- package/docs/modules/src_api_fleets_putFleetSquad.html +0 -2
- package/docs/modules/src_api_fleets_putFleetWing.html +0 -2
- package/docs/modules/src_api_fleets_updateFleet.html +0 -2
- package/docs/modules/src_api_incursions_getIncursions.html +0 -2
- package/docs/modules/src_api_industry_getCharacterIndustryJobs.html +0 -2
- package/docs/modules/src_api_industry_getCharacterMiningLedger.html +0 -2
- package/docs/modules/src_api_industry_getCorporationIndustryJobs.html +0 -2
- package/docs/modules/src_api_industry_getCorporationMiningObserver.html +0 -2
- package/docs/modules/src_api_industry_getCorporationMiningObservers.html +0 -2
- package/docs/modules/src_api_industry_getIndustryFacilities.html +0 -2
- package/docs/modules/src_api_industry_getIndustrySystems.html +0 -2
- package/docs/modules/src_api_industry_getMoonExtractionTimers.html +0 -2
- package/docs/modules/src_api_insurance_getInsurancePrices.html +0 -2
- package/docs/modules/src_api_killmails_getCharacterRecentKillmails.html +0 -2
- package/docs/modules/src_api_killmails_getCorporationRecentKillmails.html +0 -2
- package/docs/modules/src_api_killmails_getKillmail.html +0 -2
- package/docs/modules/src_api_location_getCharacterLocation.html +0 -2
- package/docs/modules/src_api_location_getCharacterOnline.html +0 -2
- package/docs/modules/src_api_location_getCharacterShip.html +0 -2
- package/docs/modules/src_api_loyalty_getLoyaltyPoints.html +0 -2
- package/docs/modules/src_api_loyalty_getLoyaltyStoreOffers.html +0 -2
- package/docs/modules/src_api_mail_deleteCharacterMail.html +0 -2
- package/docs/modules/src_api_mail_deleteCharacterMailLabel.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMail.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMailHeaders.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMailLabels.html +0 -2
- package/docs/modules/src_api_mail_getCharacterMailingLists.html +0 -2
- package/docs/modules/src_api_mail_postCharacterMail.html +0 -2
- package/docs/modules/src_api_mail_postCharacterMailLabels.html +0 -2
- package/docs/modules/src_api_mail_putCharacterMail.html +0 -2
- package/docs/modules/src_api_market_getCharacterOrderHistory.html +0 -2
- package/docs/modules/src_api_market_getCharacterOrders.html +0 -2
- package/docs/modules/src_api_market_getCorporationOrderHistory.html +0 -2
- package/docs/modules/src_api_market_getCorporationOrders.html +0 -2
- package/docs/modules/src_api_market_getMarketGroupInformation.html +0 -2
- package/docs/modules/src_api_market_getMarketGroups.html +0 -2
- package/docs/modules/src_api_market_getMarketHistory.html +0 -2
- package/docs/modules/src_api_market_getMarketOrders.html +0 -2
- package/docs/modules/src_api_market_getMarketOrdersInStructure.html +0 -2
- package/docs/modules/src_api_market_getMarketPrices.html +0 -2
- package/docs/modules/src_api_market_getMarketTypes.html +0 -2
- package/docs/modules/src_api_meta_getSwaggerJson.html +0 -2
- package/docs/modules/src_api_meta_getSwaggerYaml.html +0 -2
- package/docs/modules/src_api_opportunities_getCharacterOpportunities.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesGroupById.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesGroups.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesTaskById.html +0 -2
- package/docs/modules/src_api_opportunities_getOpportunitiesTasks.html +0 -2
- package/docs/modules/src_api_pi_getColonies.html +0 -2
- package/docs/modules/src_api_pi_getColonyLayout.html +0 -2
- package/docs/modules/src_api_pi_getCorporationCustomsOffices.html +0 -2
- package/docs/modules/src_api_pi_getSchematicInformation.html +0 -2
- package/docs/modules/src_api_route_getRoute.html +0 -2
- package/docs/modules/src_api_search_getCharacterSearch.html +0 -2
- package/docs/modules/src_api_skills_getCharacterAttributes.html +0 -2
- package/docs/modules/src_api_skills_getCharacterSkillQueue.html +0 -2
- package/docs/modules/src_api_skills_getCharacterSkills.html +0 -2
- package/docs/modules/src_api_sovereignty_getSovereigntyCampaigns.html +0 -2
- package/docs/modules/src_api_sovereignty_getSovereigntyMap.html +0 -2
- package/docs/modules/src_api_sovereignty_getSovereigntyStructures.html +0 -2
- package/docs/modules/src_api_status_getStatus.html +0 -2
- package/docs/modules/src_api_ui_postAutopilotWaypoint.html +0 -2
- package/docs/modules/src_api_ui_postOpenContractWindow.html +0 -2
- package/docs/modules/src_api_ui_postOpenInformationWindow.html +0 -2
- package/docs/modules/src_api_ui_postOpenMarketDetailsWindow.html +0 -2
- package/docs/modules/src_api_ui_postOpenNewMailWindow.html +0 -2
- package/docs/modules/src_api_universe_getAncestries.html +0 -2
- package/docs/modules/src_api_universe_getAsteroidBeltInfo.html +0 -2
- package/docs/modules/src_api_universe_getBloodlines.html +0 -2
- package/docs/modules/src_api_universe_getConstellationById.html +0 -2
- package/docs/modules/src_api_universe_getConstellations.html +0 -2
- package/docs/modules/src_api_universe_getFactions.html +0 -2
- package/docs/modules/src_api_universe_getGraphicById.html +0 -2
- package/docs/modules/src_api_universe_getGraphics.html +0 -2
- package/docs/modules/src_api_universe_getItemCategories.html +0 -2
- package/docs/modules/src_api_universe_getItemCategoryById.html +0 -2
- package/docs/modules/src_api_universe_getItemGroupById.html +0 -2
- package/docs/modules/src_api_universe_getItemGroups.html +0 -2
- package/docs/modules/src_api_universe_getMoonById.html +0 -2
- package/docs/modules/src_api_universe_getPlanetById.html +0 -2
- package/docs/modules/src_api_universe_getRaces.html +0 -2
- package/docs/modules/src_api_universe_getRegionById.html +0 -2
- package/docs/modules/src_api_universe_getStarById.html +0 -2
- package/docs/modules/src_api_universe_getStargateById.html +0 -2
- package/docs/modules/src_api_universe_getStationById.html +0 -2
- package/docs/modules/src_api_universe_getStructureById.html +0 -2
- package/docs/modules/src_api_universe_getStructures.html +0 -2
- package/docs/modules/src_api_universe_getSystemById.html +0 -2
- package/docs/modules/src_api_universe_getSystemJumps.html +0 -2
- package/docs/modules/src_api_universe_getSystemKills.html +0 -2
- package/docs/modules/src_api_universe_getSystems.html +0 -2
- package/docs/modules/src_api_universe_getTypeById.html +0 -2
- package/docs/modules/src_api_universe_getTypes.html +0 -2
- package/docs/modules/src_api_universe_postBulkNamesToIds.html +0 -2
- package/docs/modules/src_api_universe_postNamesAndCategories.html +0 -2
- package/docs/modules/src_api_wallet_getCharacterWallet.html +0 -2
- package/docs/modules/src_api_wallet_getCharacterWalletJournal.html +0 -2
- package/docs/modules/src_api_wallet_getCharacterWalletTransactions.html +0 -2
- package/docs/modules/src_api_wallet_getCorporationWalletJournal.html +0 -2
- package/docs/modules/src_api_wallet_getCorporationWalletTransactions.html +0 -2
- package/docs/modules/src_api_wallet_getCorporationWallets.html +0 -2
- package/docs/modules/src_api_wars_getWarById.html +0 -2
- package/docs/modules/src_api_wars_getWarKillmails.html +0 -2
- package/docs/modules/src_api_wars_getWars.html +0 -2
- package/docs/modules/src_builders_AllianceApiBuilder.html +0 -2
- package/docs/modules/src_builders_AssetsApiBuilder.html +0 -2
- package/docs/modules/src_builders_BookmarkApiBuilder.html +0 -2
- package/docs/modules/src_builders_CalendarApiBuilder.html +0 -2
- package/docs/modules/src_builders_CharacterApiBuilder.html +0 -2
- package/docs/modules/src_builders_ClonesApiBuilder.html +0 -2
- package/docs/modules/src_builders_ContactsApiBuilder.html +0 -2
- package/docs/modules/src_builders_ContractsApiBuilder.html +0 -2
- package/docs/modules/src_builders_CorporationsApiBuilder.html +0 -2
- package/docs/modules/src_builders_DogmaApiBuilder.html +0 -2
- package/docs/modules/src_builders_FactionApiBuilder.html +0 -2
- package/docs/modules/src_builders_FittingsApiBuilder.html +0 -2
- package/docs/modules/src_builders_FleetApiBuilder.html +0 -2
- package/docs/modules/src_builders_IncursionsApiBuilder.html +0 -2
- package/docs/modules/src_builders_IndustryApiBuilder.html +0 -2
- package/docs/modules/src_builders_InsuranceApiBuilder.html +0 -2
- package/docs/modules/src_builders_KillmailsBuilder.html +0 -2
- package/docs/modules/src_builders_LocationApiBuilder.html +0 -2
- package/docs/modules/src_builders_LoyaltyApiBuilder.html +0 -2
- package/docs/modules/src_builders_MailApiBuilder.html +0 -2
- package/docs/modules/src_builders_MarketApiBuilder.html +0 -2
- package/docs/modules/src_builders_MetaApiBuilder.html +0 -2
- package/docs/modules/src_builders_OpportunitiesApiBuilder.html +0 -2
- package/docs/modules/src_builders_PiApiBuilder.html +0 -2
- package/docs/modules/src_builders_RouteApiBuilder.html +0 -2
- package/docs/modules/src_builders_SearchApiBuilder.html +0 -2
- package/docs/modules/src_builders_SkillsApiBuilder.html +0 -2
- package/docs/modules/src_builders_SovereigntyApiBuilder.html +0 -2
- package/docs/modules/src_builders_StatusApiBuilder.html +0 -2
- package/docs/modules/src_builders_UiApiBuilder.html +0 -2
- package/docs/modules/src_builders_UniverseApiBuilder.html +0 -2
- package/docs/modules/src_builders_WalletApiBuilder.html +0 -2
- package/docs/modules/src_builders_WarsAPIBuilder.html +0 -2
- package/docs/modules/src_clients_AllianceClient.html +0 -2
- package/docs/modules/src_clients_AssetsClient.html +0 -2
- package/docs/modules/src_clients_BookmarkClient.html +0 -2
- package/docs/modules/src_clients_CalendarClient.html +0 -2
- package/docs/modules/src_clients_CharacterClient.html +0 -2
- package/docs/modules/src_clients_ClonesClient.html +0 -2
- package/docs/modules/src_clients_ContactsClient.html +0 -2
- package/docs/modules/src_clients_ContractsClient.html +0 -2
- package/docs/modules/src_clients_CorporationsClient.html +0 -2
- package/docs/modules/src_clients_DogmaClient.html +0 -2
- package/docs/modules/src_clients_FactionClient.html +0 -2
- package/docs/modules/src_clients_FittingsClient.html +0 -2
- package/docs/modules/src_clients_FleetClient.html +0 -2
- package/docs/modules/src_clients_IncursionsClient.html +0 -2
- package/docs/modules/src_clients_IndustryClient.html +0 -2
- package/docs/modules/src_clients_InsuranceClient.html +0 -2
- package/docs/modules/src_clients_KillmailsClient.html +0 -2
- package/docs/modules/src_clients_LocationClient.html +0 -2
- package/docs/modules/src_clients_LoyaltyClient.html +0 -2
- package/docs/modules/src_clients_MailClient.html +0 -2
- package/docs/modules/src_clients_MarketClient.html +0 -2
- package/docs/modules/src_clients_MetaClient.html +0 -2
- package/docs/modules/src_clients_OpportunitiesClient.html +0 -2
- package/docs/modules/src_clients_PiClient.html +0 -2
- package/docs/modules/src_clients_RouteClient.html +0 -2
- package/docs/modules/src_clients_SearchClient.html +0 -2
- package/docs/modules/src_clients_SkillsClient.html +0 -2
- package/docs/modules/src_clients_SovereigntyClient.html +0 -2
- package/docs/modules/src_clients_StatusClient.html +0 -2
- package/docs/modules/src_clients_UiClient.html +0 -2
- package/docs/modules/src_clients_UniverseClient.html +0 -2
- package/docs/modules/src_clients_WalletClient.html +0 -2
- package/docs/modules/src_clients_WarsClient.html +0 -2
- package/docs/modules/src_config_configManager.html +0 -2
- package/docs/modules/src_config_constants.html +0 -5
- package/docs/modules/src_config_jest_jest_setup.html +0 -2
- package/docs/modules/src_core_ApiClient.html +0 -2
- package/docs/modules/src_core_ApiClientBuilder.html +0 -2
- package/docs/modules/src_core_ApiError.html +0 -2
- package/docs/modules/src_core_ApiRequestHandler.html +0 -6
- package/docs/modules/src_core_IAPIBuilder.html +0 -4
- package/docs/modules/src_core_cache_ETagCacheManager.html +0 -4
- package/docs/modules/src_core_container_Container.html +0 -9
- package/docs/modules/src_core_errors_ApiError.html +0 -4
- package/docs/modules/src_core_factory_ApiFactory.html +0 -6
- package/docs/modules/src_core_logger.html +0 -2
- package/docs/modules/src_core_logger_logger.html +0 -2
- package/docs/modules/src_core_logger_loggerUtil.html +0 -5
- package/docs/modules/src_core_util_error.html +0 -2
- package/docs/modules/src_core_util_file.html +0 -4
- package/docs/modules/src_core_util_headersUtil.html +0 -2
- package/docs/modules/src_core_util_inputValidation.html +0 -2
- package/docs/modules/src_core_util_network.html +0 -2
- package/docs/modules/src_core_util_request.html +0 -3
- package/docs/modules/src_core_util_testHelpers.html +0 -4
- package/docs/modules/src_testing_TestDataFactory.html +0 -3
- package/docs/modules/src_testing_TestHelpers.html +0 -9
- package/docs/modules/src_types_api_responses.html +0 -28
- package/docs/modules/src_types_winston_loggly_bulk.html +0 -3
- package/docs/modules.html +0 -305
- package/docs/types/src_EsiClientBuilder.ApiClientType.html +0 -1
- package/docs/types/src_EsiClientBuilder.ClientInstance.html +0 -1
- package/docs/types/src_core_container_Container.AsyncFactory.html +0 -1
- package/docs/types/src_core_container_Container.Factory.html +0 -1
- package/docs/variables/src_EsiClient.esiClient-1.html +0 -1
- package/docs/variables/src_config_constants.localConfig.html +0 -1
- package/docs/variables/src_config_constants.projectConfig.html +0 -1
- package/docs/variables/src_config_constants.routes.html +0 -1
- package/docs/variables/src_config_constants.server.html +0 -1
- package/docs/variables/src_core_container_Container.container-1.html +0 -1
- package/docs/variables/src_core_factory_ApiFactory.apiFactory-1.html +0 -1
- package/docs/variables/src_core_logger_logger.default.html +0 -1
- package/jest.improved.config.cjs +0 -46
- package/jest.unit.config.cjs +0 -33
- package/output.txt +0 -0
- package/src/EsiClient.ts +0 -351
- package/src/EsiClientBuilder.ts +0 -380
- package/src/TODO +0 -77
- package/src/api/alliances/getAllianceById.ts +0 -16
- package/src/api/alliances/getAllianceContactLabels.ts +0 -11
- package/src/api/alliances/getAllianceContacts.ts +0 -10
- package/src/api/alliances/getAllianceCorporations.ts +0 -10
- package/src/api/alliances/getAllianceIcons.ts +0 -10
- package/src/api/alliances/getAlliances.ts +0 -10
- package/src/api/assets/getCharacterAssets.ts +0 -14
- package/src/api/assets/getCorporationAssets.ts +0 -14
- package/src/api/assets/postCharacterAssetLocations.ts +0 -14
- package/src/api/assets/postCharacterAssetNames.ts +0 -14
- package/src/api/assets/postCorporationAssetLocations.ts +0 -14
- package/src/api/assets/postCorporationAssetNames.ts +0 -14
- package/src/api/bookmarks/getCharacterBookmarkFolders.ts +0 -10
- package/src/api/bookmarks/getCharacterBookmarks.ts +0 -10
- package/src/api/bookmarks/getCorporationBookmarkFolders.ts +0 -10
- package/src/api/bookmarks/getCorporationBookmarks.ts +0 -10
- package/src/api/calendar/getCalendarEventById.ts +0 -10
- package/src/api/calendar/getCalendarEvents.ts +0 -10
- package/src/api/calendar/getEventAttendees.ts +0 -10
- package/src/api/calendar/respondToCalendarEvent.ts +0 -11
- package/src/api/characters/getAgentsResearch.ts +0 -10
- package/src/api/characters/getBlueprints.ts +0 -10
- package/src/api/characters/getCharacterPublicInfo.ts +0 -10
- package/src/api/characters/getCharacterRoles.ts +0 -10
- package/src/api/characters/getCharacterStandings.ts +0 -10
- package/src/api/characters/getCharacterTitles.ts +0 -10
- package/src/api/characters/getContactNotifications.ts +0 -10
- package/src/api/characters/getCorporationHistory.ts +0 -10
- package/src/api/characters/getJumpFatigue.ts +0 -10
- package/src/api/characters/getMedals.ts +0 -10
- package/src/api/characters/getNotifications.ts +0 -10
- package/src/api/characters/getPortrait.ts +0 -10
- package/src/api/characters/postCSPAChargeCost.ts +0 -10
- package/src/api/characters/postCharacterAffiliations.ts +0 -11
- package/src/api/clones/getClones.ts +0 -11
- package/src/api/clones/getImplants.ts +0 -11
- package/src/api/clones/postJumpCloneActivation.ts +0 -11
- package/src/api/contacts/deleteCharacterContacts.ts +0 -10
- package/src/api/contacts/getAllianceContactLabels.ts +0 -10
- package/src/api/contacts/getAllianceContacts.ts +0 -10
- package/src/api/contacts/getCharacterContactLabels.ts +0 -10
- package/src/api/contacts/getCharacterContacts.ts +0 -10
- package/src/api/contacts/getCorporationContactLabels.ts +0 -10
- package/src/api/contacts/getCorporationContacts.ts +0 -10
- package/src/api/contacts/postCharacterContacts.ts +0 -10
- package/src/api/contacts/putCharacterContacts.ts +0 -10
- package/src/api/contracts/getCharacterContractBids.ts +0 -10
- package/src/api/contracts/getCharacterContractItems.ts +0 -10
- package/src/api/contracts/getCharacterContracts.ts +0 -10
- package/src/api/contracts/getCorporationContractBids.ts +0 -10
- package/src/api/contracts/getCorporationContractItems.ts +0 -10
- package/src/api/contracts/getCorporationContracts.ts +0 -10
- package/src/api/contracts/getPublicContractBids.ts +0 -10
- package/src/api/contracts/getPublicContractItems.ts +0 -10
- package/src/api/contracts/getPublicContracts.ts +0 -10
- package/src/api/corporations/getCorporationAllianceHistory.ts +0 -10
- package/src/api/corporations/getCorporationAlscLogs.ts +0 -10
- package/src/api/corporations/getCorporationBlueprints.ts +0 -10
- package/src/api/corporations/getCorporationDivisions.ts +0 -10
- package/src/api/corporations/getCorporationFacilities.ts +0 -10
- package/src/api/corporations/getCorporationIcon.ts +0 -10
- package/src/api/corporations/getCorporationInfo.ts +0 -10
- package/src/api/corporations/getCorporationIssuedMedals.ts +0 -10
- package/src/api/corporations/getCorporationMedals.ts +0 -10
- package/src/api/corporations/getCorporationMemberLimit.ts +0 -10
- package/src/api/corporations/getCorporationMemberRoles.ts +0 -10
- package/src/api/corporations/getCorporationMemberRolesHistory.ts +0 -10
- package/src/api/corporations/getCorporationMemberTracking.ts +0 -10
- package/src/api/corporations/getCorporationMembers.ts +0 -10
- package/src/api/corporations/getCorporationMembersTitles.ts +0 -10
- package/src/api/corporations/getCorporationProjects.ts +0 -10
- package/src/api/corporations/getCorporationShareholders.ts +0 -10
- package/src/api/corporations/getCorporationStandings.ts +0 -10
- package/src/api/corporations/getCorporationStarbaseDetail.ts +0 -10
- package/src/api/corporations/getCorporationStarbases.ts +0 -10
- package/src/api/corporations/getCorporationStructures.ts +0 -10
- package/src/api/corporations/getCorporationTitles.ts +0 -10
- package/src/api/corporations/getNpcCorporations.ts +0 -10
- package/src/api/dogma/getDogmaAttributeById.ts +0 -11
- package/src/api/dogma/getDogmaAttributes.ts +0 -11
- package/src/api/dogma/getDogmaDynamicItemAttributes.ts +0 -11
- package/src/api/dogma/getDogmaEffectById.ts +0 -11
- package/src/api/dogma/getDogmaEffects.ts +0 -11
- package/src/api/factions/getCharacterFactionWarfareStats.ts +0 -10
- package/src/api/factions/getCharacterLeaderboards.ts +0 -10
- package/src/api/factions/getCorporationFactionWarfareStats.ts +0 -10
- package/src/api/factions/getCorporationLeaderboards.ts +0 -10
- package/src/api/factions/getFactionLeaderboards.ts +0 -10
- package/src/api/factions/getFactionWarfareStats.ts +0 -10
- package/src/api/factions/getFactionWarfareSystems.ts +0 -10
- package/src/api/factions/getFactionWarfareWars.ts +0 -10
- package/src/api/fittings/deleteCharacterFitting.ts +0 -10
- package/src/api/fittings/getCharacterFittings.ts +0 -10
- package/src/api/fittings/postCharacterFittings.ts +0 -10
- package/src/api/fleets/deleteFleetMember.ts +0 -10
- package/src/api/fleets/deleteFleetSquad.ts +0 -10
- package/src/api/fleets/deleteFleetWing.ts +0 -10
- package/src/api/fleets/getCharacterFleetInfo.ts +0 -10
- package/src/api/fleets/getFleetInfo.ts +0 -10
- package/src/api/fleets/getFleetMembers.ts +0 -10
- package/src/api/fleets/getFleetWings.ts +0 -10
- package/src/api/fleets/postFleetInvitation.ts +0 -10
- package/src/api/fleets/postFleetSquad.ts +0 -10
- package/src/api/fleets/postFleetWing.ts +0 -10
- package/src/api/fleets/putFleetMember.ts +0 -10
- package/src/api/fleets/putFleetSquad.ts +0 -10
- package/src/api/fleets/putFleetWing.ts +0 -11
- package/src/api/fleets/updateFleet.ts +0 -10
- package/src/api/incursions/getIncursions.ts +0 -14
- package/src/api/industry/getCharacterIndustryJobs.ts +0 -10
- package/src/api/industry/getCharacterMiningLedger.ts +0 -10
- package/src/api/industry/getCorporationIndustryJobs.ts +0 -10
- package/src/api/industry/getCorporationMiningObserver.ts +0 -10
- package/src/api/industry/getCorporationMiningObservers.ts +0 -10
- package/src/api/industry/getIndustryFacilities.ts +0 -10
- package/src/api/industry/getIndustrySystems.ts +0 -10
- package/src/api/industry/getMoonExtractionTimers.ts +0 -10
- package/src/api/insurance/getInsurancePrices.ts +0 -10
- package/src/api/killmails/getCharacterRecentKillmails.ts +0 -10
- package/src/api/killmails/getCorporationRecentKillmails.ts +0 -10
- package/src/api/killmails/getKillmail.ts +0 -10
- package/src/api/location/getCharacterLocation.ts +0 -10
- package/src/api/location/getCharacterOnline.ts +0 -10
- package/src/api/location/getCharacterShip.ts +0 -10
- package/src/api/loyalty/getLoyaltyPoints.ts +0 -10
- package/src/api/loyalty/getLoyaltyStoreOffers.ts +0 -10
- package/src/api/mail/deleteCharacterMail.ts +0 -10
- package/src/api/mail/deleteCharacterMailLabel.test.ts +0 -22
- package/src/api/mail/deleteCharacterMailLabel.ts +0 -10
- package/src/api/mail/getCharacerMailingLists.test.ts +0 -35
- package/src/api/mail/getCharacterMail.ts +0 -10
- package/src/api/mail/getCharacterMailHeaders.ts +0 -10
- package/src/api/mail/getCharacterMailLabels.ts +0 -10
- package/src/api/mail/getCharacterMailingLists.ts +0 -10
- package/src/api/mail/postCharacterMail.ts +0 -10
- package/src/api/mail/postCharacterMailLabels.ts +0 -10
- package/src/api/mail/putCharacterMail.ts +0 -10
- package/src/api/market/getCharacterOrderHistory.ts +0 -10
- package/src/api/market/getCharacterOrders.ts +0 -10
- package/src/api/market/getCorporationOrderHistory.ts +0 -10
- package/src/api/market/getCorporationOrders.ts +0 -10
- package/src/api/market/getMarketGroupInformation.ts +0 -10
- package/src/api/market/getMarketGroups.ts +0 -10
- package/src/api/market/getMarketHistory.ts +0 -10
- package/src/api/market/getMarketOrders.ts +0 -10
- package/src/api/market/getMarketOrdersInStructure.ts +0 -10
- package/src/api/market/getMarketPrices.ts +0 -10
- package/src/api/market/getMarketTypes.ts +0 -10
- package/src/api/meta/getSwaggerJson.ts +0 -10
- package/src/api/meta/getSwaggerYaml.ts +0 -36
- package/src/api/opportunities/getCharacterOpportunities.ts +0 -10
- package/src/api/opportunities/getOpportunitiesGroupById.ts +0 -10
- package/src/api/opportunities/getOpportunitiesGroups.ts +0 -10
- package/src/api/opportunities/getOpportunitiesTaskById.ts +0 -10
- package/src/api/opportunities/getOpportunitiesTasks.ts +0 -10
- package/src/api/pi/getColonies.ts +0 -10
- package/src/api/pi/getColonyLayout.ts +0 -10
- package/src/api/pi/getCorporationCustomsOffices.ts +0 -10
- package/src/api/pi/getSchematicInformation.ts +0 -10
- package/src/api/route/getRoute.ts +0 -14
- package/src/api/search/getCharacterSearch.ts +0 -14
- package/src/api/skills/getCharacterAttributes.ts +0 -10
- package/src/api/skills/getCharacterSkillQueue.ts +0 -10
- package/src/api/skills/getCharacterSkills.ts +0 -10
- package/src/api/sovereignty/getSovereigntyCampaigns.ts +0 -10
- package/src/api/sovereignty/getSovereigntyMap.ts +0 -10
- package/src/api/sovereignty/getSovereigntyStructures.ts +0 -10
- package/src/api/status/getStatus.ts +0 -11
- package/src/api/ui/postAutopilotWaypoint.ts +0 -10
- package/src/api/ui/postOpenContractWindow.ts +0 -10
- package/src/api/ui/postOpenInformationWindow.ts +0 -10
- package/src/api/ui/postOpenMarketDetailsWindow.ts +0 -10
- package/src/api/ui/postOpenNewMailWindow.ts +0 -10
- package/src/api/universe/getAncestries.ts +0 -10
- package/src/api/universe/getAsteroidBeltInfo.ts +0 -10
- package/src/api/universe/getBloodlines.ts +0 -10
- package/src/api/universe/getConstellationById.ts +0 -10
- package/src/api/universe/getConstellations.ts +0 -10
- package/src/api/universe/getFactions.ts +0 -10
- package/src/api/universe/getGraphicById.ts +0 -10
- package/src/api/universe/getGraphics.ts +0 -10
- package/src/api/universe/getItemCategories.ts +0 -10
- package/src/api/universe/getItemCategoryById.ts +0 -10
- package/src/api/universe/getItemGroupById.ts +0 -10
- package/src/api/universe/getItemGroups.ts +0 -10
- package/src/api/universe/getMoonById.ts +0 -10
- package/src/api/universe/getPlanetById.ts +0 -10
- package/src/api/universe/getRaces.ts +0 -10
- package/src/api/universe/getRegionById.ts +0 -10
- package/src/api/universe/getStarById.ts +0 -10
- package/src/api/universe/getStargateById.ts +0 -10
- package/src/api/universe/getStationById.ts +0 -10
- package/src/api/universe/getStructureById.ts +0 -10
- package/src/api/universe/getStructures.ts +0 -10
- package/src/api/universe/getSystemById.ts +0 -10
- package/src/api/universe/getSystemJumps.ts +0 -10
- package/src/api/universe/getSystemKills.ts +0 -10
- package/src/api/universe/getSystems.ts +0 -10
- package/src/api/universe/getTypeById.ts +0 -10
- package/src/api/universe/getTypes.ts +0 -10
- package/src/api/universe/postBulkNamesToIds.ts +0 -15
- package/src/api/universe/postNamesAndCategories.ts +0 -15
- package/src/api/wallet/getCharacterWallet.ts +0 -11
- package/src/api/wallet/getCharacterWalletJournal.ts +0 -11
- package/src/api/wallet/getCharacterWalletTransactions.ts +0 -11
- package/src/api/wallet/getCorporationWalletJournal.ts +0 -11
- package/src/api/wallet/getCorporationWalletTransactions.ts +0 -11
- package/src/api/wallet/getCorporationWallets.ts +0 -11
- package/src/api/wars/getWarById.ts +0 -10
- package/src/api/wars/getWarKillmails.ts +0 -10
- package/src/api/wars/getWars.ts +0 -10
- package/src/builders/AllianceApiBuilder.ts +0 -15
- package/src/builders/AssetsApiBuilder.ts +0 -15
- package/src/builders/BookmarkApiBuilder.ts +0 -15
- package/src/builders/CalendarApiBuilder.ts +0 -15
- package/src/builders/CharacterApiBuilder.ts +0 -15
- package/src/builders/ClonesApiBuilder.ts +0 -15
- package/src/builders/ContactsApiBuilder.ts +0 -15
- package/src/builders/ContractsApiBuilder.ts +0 -15
- package/src/builders/CorporationsApiBuilder.ts +0 -15
- package/src/builders/DogmaApiBuilder.ts +0 -16
- package/src/builders/FactionApiBuilder.ts +0 -15
- package/src/builders/FittingsApiBuilder.ts +0 -15
- package/src/builders/FleetApiBuilder.ts +0 -15
- package/src/builders/IncursionsApiBuilder.ts +0 -15
- package/src/builders/IndustryApiBuilder.ts +0 -15
- package/src/builders/InsuranceApiBuilder.ts +0 -15
- package/src/builders/KillmailsBuilder.ts +0 -15
- package/src/builders/LocationApiBuilder.ts +0 -15
- package/src/builders/LoyaltyApiBuilder.ts +0 -15
- package/src/builders/MailApiBuilder.ts +0 -15
- package/src/builders/MarketApiBuilder.ts +0 -15
- package/src/builders/MetaApiBuilder.ts +0 -15
- package/src/builders/OpportunitiesApiBuilder.ts +0 -17
- package/src/builders/PiApiBuilder.ts +0 -15
- package/src/builders/RouteApiBuilder.ts +0 -15
- package/src/builders/SearchApiBuilder.ts +0 -15
- package/src/builders/SkillsApiBuilder.ts +0 -15
- package/src/builders/SovereigntyApiBuilder.ts +0 -15
- package/src/builders/StatusApiBuilder.ts +0 -15
- package/src/builders/UiApiBuilder.ts +0 -15
- package/src/builders/UniverseApiBuilder.ts +0 -15
- package/src/builders/WalletApiBuilder.ts +0 -16
- package/src/builders/WarsAPIBuilder.ts +0 -15
- package/src/clients/AllianceClient.ts +0 -58
- package/src/clients/AssetsClient.ts +0 -49
- package/src/clients/BookmarkClient.ts +0 -35
- package/src/clients/CalendarClient.ts +0 -35
- package/src/clients/CharacterClient.ts +0 -105
- package/src/clients/ClonesClient.ts +0 -28
- package/src/clients/ContactsClient.ts +0 -70
- package/src/clients/ContractsClient.ts +0 -70
- package/src/clients/CorporationsClient.ts +0 -168
- package/src/clients/DogmaClient.ts +0 -43
- package/src/clients/FactionClient.ts +0 -63
- package/src/clients/FittingsClient.ts +0 -28
- package/src/clients/FleetClient.ts +0 -105
- package/src/clients/IncursionsClient.ts +0 -14
- package/src/clients/IndustryClient.ts +0 -63
- package/src/clients/InsuranceClient.ts +0 -14
- package/src/clients/KillmailsClient.ts +0 -28
- package/src/clients/LocationClient.ts +0 -28
- package/src/clients/LoyaltyClient.ts +0 -21
- package/src/clients/MailClient.ts +0 -70
- package/src/clients/MarketClient.ts +0 -84
- package/src/clients/MetaClient.ts +0 -24
- package/src/clients/OpportunitiesClient.ts +0 -42
- package/src/clients/PiClient.ts +0 -35
- package/src/clients/RouteClient.ts +0 -14
- package/src/clients/SearchClient.ts +0 -14
- package/src/clients/SkillsClient.ts +0 -28
- package/src/clients/SovereigntyClient.ts +0 -28
- package/src/clients/StatusClient.ts +0 -24
- package/src/clients/UiClient.ts +0 -42
- package/src/clients/UniverseClient.ts +0 -212
- package/src/clients/WalletClient.ts +0 -49
- package/src/clients/WarsClient.ts +0 -28
- package/src/config/configManager.ts +0 -30
- package/src/config/constants.ts +0 -6
- package/src/config/esi.json +0 -8
- package/src/config/jest/jest.setup.ts +0 -25
- package/src/config/swagger.json +0 -1
- package/src/core/ApiClient.ts +0 -18
- package/src/core/ApiClientBuilder.ts +0 -26
- package/src/core/ApiError.ts +0 -6
- package/src/core/ApiRequestHandler.ts +0 -212
- package/src/core/IAPIBuilder.ts +0 -13
- package/src/core/cache/ETagCacheManager.ts +0 -248
- package/src/core/container/Container.ts +0 -176
- package/src/core/errors/ApiError.ts +0 -153
- package/src/core/factory/ApiFactory.ts +0 -207
- package/src/core/logger/index.ts +0 -1
- package/src/core/logger/logger.ts +0 -35
- package/src/core/logger/loggerUtil.ts +0 -17
- package/src/core/util/error.ts +0 -7
- package/src/core/util/file.ts +0 -21
- package/src/core/util/headersUtil.ts +0 -46
- package/src/core/util/inputValidation.ts +0 -6
- package/src/core/util/network.ts +0 -9
- package/src/core/util/request.ts +0 -15
- package/src/core/util/testHelpers.ts +0 -20
- package/src/index.ts +0 -225
- package/src/testing/TestDataFactory.ts +0 -742
- package/src/testing/TestHelpers.ts +0 -280
- package/src/types/api-responses.ts +0 -291
- package/src/types/winston-loggly-bulk.d.ts +0 -14
- package/tests/bdd/simple-bdd-demo.test.ts +0 -210
- package/tests/bdd-scenarios/core/bdd-alliance.test.ts +0 -210
- package/tests/bdd-scenarios/core/bdd-character.test.ts +0 -346
- package/tests/bdd-scenarios/core/bdd-clones.test.ts +0 -159
- package/tests/bdd-scenarios/core/bdd-corporation-projects.test.ts +0 -136
- package/tests/bdd-scenarios/core/bdd-corporation.test.ts +0 -388
- package/tests/bdd-scenarios/core/bdd-etag-caching.test.ts +0 -280
- package/tests/bdd-scenarios/core/bdd-market.test.ts +0 -435
- package/tests/bdd-scenarios/core/bdd-meta.test.ts +0 -131
- package/tests/bdd-scenarios/core/bdd-universe.test.ts +0 -463
- package/tests/bdd-scenarios/integration/bdd-integration-workflows.test.ts +0 -490
- package/tests/bdd-scenarios/performance/bdd-performance.test.ts +0 -463
- package/tests/tdd/alliances/AllianceAPIBuilder.test.ts +0 -24
- package/tests/tdd/alliances/AllianceClient.improved.test.ts +0 -266
- package/tests/tdd/alliances/AllianceClient.test.ts +0 -198
- package/tests/tdd/alliances/getAllianceByID.test.ts +0 -61
- package/tests/tdd/alliances/getAllianceContactLabels.test.ts +0 -43
- package/tests/tdd/alliances/getAllianceContacts.test.ts +0 -60
- package/tests/tdd/alliances/getAllianceCorporations.test.ts +0 -39
- package/tests/tdd/alliances/getAllianceIcons.test.ts +0 -39
- package/tests/tdd/alliances/getAlliances.test.ts +0 -35
- package/tests/tdd/assets/AssetsBuilder.test.ts +0 -20
- package/tests/tdd/assets/AssetsClient.test.ts +0 -192
- package/tests/tdd/assets/getCharacterAssetsApi.test.ts +0 -33
- package/tests/tdd/assets/getCorporationAssetsApi.test.ts +0 -55
- package/tests/tdd/assets/postCharacterAssetsLocationApi.test.ts +0 -50
- package/tests/tdd/assets/postCharacterAssetsNamesApi.test.ts +0 -43
- package/tests/tdd/assets/postCorporationAssetLocationsApi.test.ts +0 -48
- package/tests/tdd/assets/postCorporationAssetNamesApi.test.ts +0 -43
- package/tests/tdd/bookmarks/BookmarkApiBuilder.test.ts +0 -21
- package/tests/tdd/bookmarks/BookmarkClient.test.ts +0 -68
- package/tests/tdd/bookmarks/getCharacterBookmarkFolders.test.ts +0 -37
- package/tests/tdd/bookmarks/getCharacterBookmarks.test.ts +0 -42
- package/tests/tdd/bookmarks/getCorporationBookmarkFolders.test.ts +0 -42
- package/tests/tdd/bookmarks/getCorporationBookmarks.test.ts +0 -62
- package/tests/tdd/calendar/CalendarApiBuilder.test.ts +0 -24
- package/tests/tdd/calendar/CalendarClient.test.ts +0 -100
- package/tests/tdd/calendar/getCalendarEventById.test.ts +0 -29
- package/tests/tdd/calendar/getCalendarEvents.test.ts +0 -29
- package/tests/tdd/calendar/getEventAttendees.test.ts +0 -29
- package/tests/tdd/calendar/respondToCalendarEvent.test.ts +0 -29
- package/tests/tdd/characters/CharacterBuilder.test.ts +0 -20
- package/tests/tdd/characters/CharacterClient.test.ts +0 -153
- package/tests/tdd/characters/getAgentsResearch.test.ts +0 -42
- package/tests/tdd/characters/getBlueprints.test.ts +0 -42
- package/tests/tdd/characters/getCharacterPublicInfo.test.ts +0 -37
- package/tests/tdd/characters/getCharacterRoles.test.ts +0 -34
- package/tests/tdd/characters/getCharacterStandings.test.ts +0 -45
- package/tests/tdd/characters/getCharacterTitles.test.ts +0 -40
- package/tests/tdd/characters/getContactNotifications.test.ts +0 -42
- package/tests/tdd/characters/getCorporationHistory.test.ts +0 -42
- package/tests/tdd/characters/getJumpFatigue.test.ts +0 -37
- package/tests/tdd/characters/getMedals.test.ts +0 -42
- package/tests/tdd/characters/getNotifications.test.ts +0 -42
- package/tests/tdd/characters/getPortrait.test.ts +0 -35
- package/tests/tdd/characters/postCSPAChargeCost.test.ts +0 -39
- package/tests/tdd/characters/postCharacterAffiliation.test.ts +0 -48
- package/tests/tdd/clones/ClonesApiBuilder.test.ts +0 -19
- package/tests/tdd/clones/ClonesClient.test.ts +0 -61
- package/tests/tdd/clones/getClonesApi.test.ts +0 -48
- package/tests/tdd/clones/getImplantsApi.test.ts +0 -35
- package/tests/tdd/clones/postJumpCloneActivation.test.ts +0 -70
- package/tests/tdd/contacts/ContactsApiBuilder.test.ts +0 -21
- package/tests/tdd/contacts/ContactsClient.test.ts +0 -289
- package/tests/tdd/contacts/deleteCharacterContacts.test.ts +0 -23
- package/tests/tdd/contacts/getAllianceContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getAllianceContacts.test.ts +0 -37
- package/tests/tdd/contacts/getCharacterContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getCharacterContacts.test.ts +0 -37
- package/tests/tdd/contacts/getCorporationContactLabels.test.ts +0 -33
- package/tests/tdd/contacts/getCorporationContacts.test.ts +0 -37
- package/tests/tdd/contacts/postCharacterContacts.test.ts +0 -30
- package/tests/tdd/contacts/putCharacterContacts.test.ts +0 -30
- package/tests/tdd/contracts/ContractsApiBuilder.ts +0 -20
- package/tests/tdd/contracts/ContractsClient.ts +0 -247
- package/tests/tdd/contracts/getCharacterContractBids.test.ts +0 -49
- package/tests/tdd/contracts/getCharacterContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getCharacterContracts.test.ts +0 -57
- package/tests/tdd/contracts/getCorporationContractBids.test.ts +0 -48
- package/tests/tdd/contracts/getCorporationContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getCorporationContracts.test.ts +0 -56
- package/tests/tdd/contracts/getPublicContractBids.test.ts +0 -47
- package/tests/tdd/contracts/getPublicContractItems.test.ts +0 -48
- package/tests/tdd/contracts/getPublicContracts.test.ts +0 -58
- package/tests/tdd/core/ETagCacheManager.test.ts +0 -173
- package/tests/tdd/core/ETagIntegration.test.ts +0 -208
- package/tests/tdd/corporations/CorporationsApiBuilder.test.ts +0 -20
- package/tests/tdd/corporations/CorporationsClient.test.ts +0 -401
- package/tests/tdd/corporations/getCorporationAllianceHistory.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationAlscLogs.test.ts +0 -57
- package/tests/tdd/corporations/getCorporationBlueprints.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationDivisions.test.ts +0 -64
- package/tests/tdd/corporations/getCorporationFacilities.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationIcon.test.ts +0 -40
- package/tests/tdd/corporations/getCorporationInfo.test.ts +0 -40
- package/tests/tdd/corporations/getCorporationIssuedMedals.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationMedals.test.ts +0 -51
- package/tests/tdd/corporations/getCorporationMemberLimit.test.ts +0 -32
- package/tests/tdd/corporations/getCorporationMemberRoles.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationMemberRolesHistory.test.ts +0 -60
- package/tests/tdd/corporations/getCorporationMemberTracking.test.ts +0 -48
- package/tests/tdd/corporations/getCorporationMembers.test.ts +0 -34
- package/tests/tdd/corporations/getCorporationMembersTitles.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationProjects.test.ts +0 -62
- package/tests/tdd/corporations/getCorporationShareholders.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationStandings.test.ts +0 -45
- package/tests/tdd/corporations/getCorporationStarbaseDetail.test.ts +0 -49
- package/tests/tdd/corporations/getCorporationStarbases.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationStructures.test.ts +0 -54
- package/tests/tdd/corporations/getCorporationTitles.test.ts +0 -66
- package/tests/tdd/corporations/getNpcCorporations.test.ts +0 -34
- package/tests/tdd/dogma/DogmaAPIBuilder.test.ts +0 -13
- package/tests/tdd/dogma/DogmanClient.test.ts +0 -54
- package/tests/tdd/dogma/getDogmaAttributeById.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaAttributes.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaDynamicItemAttributes.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaEffectById.test.ts +0 -22
- package/tests/tdd/dogma/getDogmaEffects.test.ts +0 -22
- package/tests/tdd/factions/FactionApiBuilder.test.ts +0 -17
- package/tests/tdd/factions/FactionClient.test.ts +0 -281
- package/tests/tdd/factions/getCharacterFactionWarfareStats.test.ts +0 -72
- package/tests/tdd/factions/getCharacterLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getCorporationFactionWarfareStats.test.ts +0 -72
- package/tests/tdd/factions/getCorporationLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getFactionLeaderboards.test.ts +0 -103
- package/tests/tdd/factions/getFactionWarfareStats.test.ts +0 -77
- package/tests/tdd/factions/getFactionWarfareSystems.test.ts +0 -59
- package/tests/tdd/factions/getFactionWarfareWars.test.ts +0 -43
- package/tests/tdd/fittings/FittingsBuilder.test.ts +0 -22
- package/tests/tdd/fittings/FittingsClient.test.ts +0 -93
- package/tests/tdd/fittings/deleteCharacterFitting.test.ts +0 -22
- package/tests/tdd/fittings/getCharacterFittings.test.ts +0 -57
- package/tests/tdd/fittings/postCharacterFittings.test.ts +0 -47
- package/tests/tdd/fleets/FleetApiBuilder.test.ts +0 -20
- package/tests/tdd/fleets/FleetClient.test.ts +0 -212
- package/tests/tdd/fleets/deleteFleetMember.test.ts +0 -31
- package/tests/tdd/fleets/deleteFleetSquad.test.ts +0 -24
- package/tests/tdd/fleets/deleteFleetWing.test.ts +0 -24
- package/tests/tdd/fleets/getCharacterFleetInfo.test.ts +0 -39
- package/tests/tdd/fleets/getFleetInfo.test.ts +0 -42
- package/tests/tdd/fleets/getFleetMembers.test.ts +0 -45
- package/tests/tdd/fleets/getFleetWings.test.ts +0 -35
- package/tests/tdd/fleets/postFleetInvitation.test.ts +0 -29
- package/tests/tdd/fleets/postFleetSquad.test.ts +0 -22
- package/tests/tdd/fleets/postFleetWing.test.ts +0 -31
- package/tests/tdd/fleets/putFleetMember.test.ts +0 -36
- package/tests/tdd/fleets/putFleetSquad.test.ts +0 -28
- package/tests/tdd/fleets/putFleetWing.test.ts +0 -22
- package/tests/tdd/fleets/updateFleet.test.ts +0 -39
- package/tests/tdd/incursions/IncursionsApiBuilder.test.ts +0 -20
- package/tests/tdd/incursions/IncursionsClient.test.ts +0 -63
- package/tests/tdd/incursions/getIncursions.test.ts +0 -166
- package/tests/tdd/industry/IndustryBuilder.test.ts +0 -20
- package/tests/tdd/industry/IndustryClient.test.ts +0 -354
- package/tests/tdd/industry/getCharacterIndustryJobs.test.ts +0 -80
- package/tests/tdd/industry/getCharacterMiningLedger.test.ts +0 -41
- package/tests/tdd/industry/getCorporationIndustryJobs.test.ts +0 -92
- package/tests/tdd/industry/getCorporationMiningObserver.test.ts +0 -44
- package/tests/tdd/industry/getCorporationMiningObservers.test.ts +0 -38
- package/tests/tdd/industry/getIndustryFacilities.test.ts +0 -47
- package/tests/tdd/industry/getIndustrySystems.test.ts +0 -46
- package/tests/tdd/industry/getMoonExtractionTimers.test.ts +0 -44
- package/tests/tdd/insurance/InsuranceApiBuilder.test.ts +0 -21
- package/tests/tdd/insurance/InsuranceClient.test.ts +0 -50
- package/tests/tdd/insurance/getInsurancePrices.test.ts +0 -51
- package/tests/tdd/killmails/KillmailApiBuilder.test.ts +0 -20
- package/tests/tdd/killmails/KillmailClient.test.ts +0 -110
- package/tests/tdd/killmails/getCharacterRecentKillmails.test.ts +0 -52
- package/tests/tdd/killmails/getCorporationRecentKillmails.test.ts +0 -52
- package/tests/tdd/killmails/getKillmail.test.ts +0 -47
- package/tests/tdd/location/LocationApiBuilder.test.ts +0 -20
- package/tests/tdd/location/LocationClient.test.ts +0 -82
- package/tests/tdd/location/getCharacterLocation.test.ts +0 -41
- package/tests/tdd/location/getCharacterOnline.test.ts +0 -44
- package/tests/tdd/location/getCharacterShip.test.ts +0 -41
- package/tests/tdd/loyalty/LoyaltyApiBuilder.test.ts +0 -20
- package/tests/tdd/loyalty/LoyaltyClient.test.ts +0 -73
- package/tests/tdd/loyalty/getLoyaltyPoints.test.ts +0 -35
- package/tests/tdd/loyalty/getLoyaltyStoreOffers.test.ts +0 -44
- package/tests/tdd/mail/MailApiBuilder.test.ts +0 -20
- package/tests/tdd/mail/MailClient.test.ts +0 -189
- package/tests/tdd/mail/deleteCharacterMail.test.ts +0 -22
- package/tests/tdd/mail/getCharacterMail.test.ts +0 -46
- package/tests/tdd/mail/getCharacterMailHeaders.ts +0 -51
- package/tests/tdd/mail/getCharacterMailLabels.test.ts +0 -44
- package/tests/tdd/mail/postCharacterMail.test.ts +0 -40
- package/tests/tdd/mail/postCharacterMailLabels.test.ts +0 -31
- package/tests/tdd/mail/putCharacterMail.test.ts +0 -27
- package/tests/tdd/market/MarketApiBuilder.test.ts +0 -20
- package/tests/tdd/market/MarketClient.test.ts +0 -398
- package/tests/tdd/market/getCharacterOrderHistory.test.ts +0 -61
- package/tests/tdd/market/getCharacterOrders.test.test.ts +0 -61
- package/tests/tdd/market/getCorporationOrderHistory.test.ts +0 -61
- package/tests/tdd/market/getCorporationOrders.test.ts +0 -61
- package/tests/tdd/market/getMarketGroupInformation.test.ts +0 -43
- package/tests/tdd/market/getMarketGroups.test.ts +0 -48
- package/tests/tdd/market/getMarketHistory.test.ts +0 -49
- package/tests/tdd/market/getMarketOrders.test.ts +0 -59
- package/tests/tdd/market/getMarketOrdersInStructure.test.ts +0 -67
- package/tests/tdd/market/getMarketPrices.test.ts +0 -51
- package/tests/tdd/market/getMarketTypes.test.ts +0 -35
- package/tests/tdd/meta/MetaApiBuilder.test.ts +0 -45
- package/tests/tdd/meta/MetaClient.test.ts +0 -92
- package/tests/tdd/meta/getSwaggerJson.test.ts +0 -40
- package/tests/tdd/meta/getSwaggerYaml.test.ts +0 -40
- package/tests/tdd/opportunities/OpportunitiesAPIBuillder.test.ts +0 -25
- package/tests/tdd/opportunities/OpportunitiesClient.test.ts +0 -109
- package/tests/tdd/opportunities/getCharacterOpportunities.test.ts +0 -38
- package/tests/tdd/opportunities/getOpportunitiesGroupById.test.ts +0 -42
- package/tests/tdd/opportunities/getOpportunitiesGroups.test.ts +0 -40
- package/tests/tdd/opportunities/getOpportunitiesTaskById.test.ts +0 -37
- package/tests/tdd/opportunities/getOpportunitiesTasks.test.ts +0 -40
- package/tests/tdd/pi/PiApiBuilder.test.ts +0 -20
- package/tests/tdd/pi/PiClient.test.ts +0 -155
- package/tests/tdd/pi/getColonies.test.ts +0 -47
- package/tests/tdd/pi/getColonyLayout.test.ts +0 -45
- package/tests/tdd/pi/getCorporationCustomsOffices.test.ts +0 -63
- package/tests/tdd/pi/getSchematicInformation.test.ts +0 -36
- package/tests/tdd/route/RouteApiBuilder.ts +0 -20
- package/tests/tdd/route/RouteClient.test.ts +0 -38
- package/tests/tdd/route/getRoute.test.ts +0 -37
- package/tests/tdd/search/characterSearch.test.ts +0 -50
- package/tests/tdd/search/searchApiBuilder.test.ts +0 -17
- package/tests/tdd/search/searchClient.test.ts +0 -40
- package/tests/tdd/skills/SkillsApiBuilder.test.ts +0 -20
- package/tests/tdd/skills/SkillsClient.test.ts +0 -112
- package/tests/tdd/skills/getCharacterAttributes.test.ts +0 -39
- package/tests/tdd/skills/getCharacterSkillQueue.test.ts +0 -48
- package/tests/tdd/skills/getCharacterSkills.test.ts +0 -46
- package/tests/tdd/sovereignty/SovereigntyApiBuilder.test.ts +0 -18
- package/tests/tdd/sovereignty/SovereigntyClient.test.ts +0 -84
- package/tests/tdd/sovereignty/getSovereigntyCampaigns.test.ts +0 -41
- package/tests/tdd/sovereignty/getSovereigntyMap.test.ts +0 -37
- package/tests/tdd/sovereignty/getSovereigntyStructures.test.ts +0 -41
- package/tests/tdd/status/StatusAPIBuilder.test.ts +0 -20
- package/tests/tdd/status/StatusClient.test.ts +0 -40
- package/tests/tdd/status/getStatus.test.ts +0 -47
- package/tests/tdd/ui/UiApiBuilder.test.ts +0 -20
- package/tests/tdd/ui/UiClient.test.ts +0 -81
- package/tests/tdd/ui/postAutopilotWaypoint.test.ts +0 -36
- package/tests/tdd/ui/postOpenContractWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenInformationWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenMarketDetailsWindow.test.ts +0 -34
- package/tests/tdd/ui/postOpenNewMailWindow.test.ts +0 -36
- package/tests/tdd/universe/UniverseApiBuilder.test.ts +0 -60
- package/tests/tdd/universe/UniverseClient.test.ts +0 -215
- package/tests/tdd/universe/getAncestries.test.ts +0 -34
- package/tests/tdd/universe/getAsteroidBeltInfo.test.ts +0 -29
- package/tests/tdd/universe/getBloodlines.test.ts +0 -34
- package/tests/tdd/universe/getConstellationById.test.ts +0 -37
- package/tests/tdd/universe/getConstellations.test.ts +0 -34
- package/tests/tdd/universe/getFactions.test.ts +0 -34
- package/tests/tdd/universe/getGraphicById.test.ts +0 -45
- package/tests/tdd/universe/getGraphics.test.ts +0 -34
- package/tests/tdd/universe/getGroupById.test.ts +0 -45
- package/tests/tdd/universe/getItemCategories.test.ts +0 -34
- package/tests/tdd/universe/getItemCategoryById.test.ts +0 -37
- package/tests/tdd/universe/getItemGroups.test.ts +0 -50
- package/tests/tdd/universe/getMoonById.test.ts +0 -59
- package/tests/tdd/universe/getPlanetById.test.ts +0 -63
- package/tests/tdd/universe/getRaces.test.ts +0 -50
- package/tests/tdd/universe/getRegionById.test.ts +0 -53
- package/tests/tdd/universe/getStarById.test.ts +0 -53
- package/tests/tdd/universe/getStargateById.test.ts +0 -63
- package/tests/tdd/universe/getStationById.test.ts +0 -53
- package/tests/tdd/universe/getStructureById.test.ts +0 -71
- package/tests/tdd/universe/getStructures.test.ts +0 -33
- package/tests/tdd/universe/getSystemById.test.ts +0 -49
- package/tests/tdd/universe/getSystemJumps.test.ts +0 -46
- package/tests/tdd/universe/getSystemKills.test.ts +0 -46
- package/tests/tdd/universe/getSystems.test.ts +0 -33
- package/tests/tdd/universe/getTypeById.test.ts +0 -53
- package/tests/tdd/universe/getTypes.test.ts +0 -33
- package/tests/tdd/universe/postBulkNamesToIds.test.ts +0 -47
- package/tests/tdd/universe/postNamesAndCatagories.test.ts +0 -47
- package/tests/tdd/wallet/WalletApiBuilder.test.ts +0 -20
- package/tests/tdd/wallet/WalletClient.test.ts +0 -187
- package/tests/tdd/wallet/getCharacterWallet.test.ts +0 -35
- package/tests/tdd/wallet/getCharacterWalletJournal.test.ts +0 -53
- package/tests/tdd/wallet/getCharacterWalletTransactions.test.ts +0 -57
- package/tests/tdd/wallet/getCorporationWalletJournal.test.ts +0 -53
- package/tests/tdd/wallet/getCorporationWalletTransactions.test.ts +0 -57
- package/tests/tdd/wallet/getCorporationWallets.test.ts +0 -43
- package/tests/tdd/wars/WarsAPIBuilder.test.ts +0 -23
- package/tests/tdd/wars/WarsClient.test.ts +0 -93
- package/tests/tdd/wars/getWarById.test.ts +0 -31
- package/tests/tdd/wars/getWarKillmails.test.ts +0 -33
- package/tests/tdd/wars/getWars.test.ts +0 -33
- package/tsconfig.json +0 -15
- package/typedoc.json +0 -77
- package/types/global.d.ts +0 -17
- package/types/jest.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,936 +1,562 @@
|
|
|
1
|
-
# ESI.ts
|
|
2
|
-
|
|
3
|
-
[](https://badge.fury.io/js/%40lgriffin%2Fesi.ts)
|
|
4
|
-
[](https://www.gnu.org/licenses/gpl-3.0)
|
|
5
|
-
[;
|
|
564
|
-
|
|
565
|
-
const buyOrders = orders.filter(o => o.is_buy_order).sort((a, b) => b.price - a.price);
|
|
566
|
-
const sellOrders = orders.filter(o => !o.is_buy_order).sort((a, b) => a.price - b.price);
|
|
567
|
-
|
|
568
|
-
if (buyOrders.length > 0 && sellOrders.length > 0) {
|
|
569
|
-
const spread = buyOrders[0].price - sellOrders[0].price;
|
|
570
|
-
const spreadPercent = (spread / sellOrders[0].price) * 100;
|
|
571
|
-
|
|
572
|
-
return {
|
|
573
|
-
profitable: spread > 0,
|
|
574
|
-
spread,
|
|
575
|
-
spreadPercent,
|
|
576
|
-
bestBuy: buyOrders[0],
|
|
577
|
-
bestSell: sellOrders[0],
|
|
578
|
-
dailyVolume: history[0]?.volume || 0
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
return null;
|
|
583
|
-
} catch (error) {
|
|
584
|
-
console.error('Failed to analyze market:', error);
|
|
585
|
-
return null;
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
```
|
|
590
|
-
|
|
591
|
-
### Corporation Management Dashboard (Custom Client)
|
|
592
|
-
|
|
593
|
-
```typescript
|
|
594
|
-
import { CustomEsiClient } from '@lgriffin/esi.ts';
|
|
595
|
-
|
|
596
|
-
class CorporationManager {
|
|
597
|
-
private client: CustomEsiClient;
|
|
598
|
-
|
|
599
|
-
constructor(accessToken: string) {
|
|
600
|
-
// Only load corporation-related APIs
|
|
601
|
-
this.client = new CustomEsiClient({
|
|
602
|
-
clientId: 'corp-manager',
|
|
603
|
-
accessToken,
|
|
604
|
-
clients: ['corporations', 'characters', 'wallet']
|
|
605
|
-
});
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
async getCorporationOverview(corporationId: number) {
|
|
609
|
-
try {
|
|
610
|
-
const [corp, members, wallets] = await Promise.all([
|
|
611
|
-
this.client.corporations.getCorporationInfo(corporationId),
|
|
612
|
-
this.client.corporations.getCorporationMembers(corporationId),
|
|
613
|
-
this.client.wallet.getCorporationWallets(corporationId)
|
|
614
|
-
]);
|
|
615
|
-
|
|
616
|
-
return {
|
|
617
|
-
corporation: corp,
|
|
618
|
-
memberCount: members.length,
|
|
619
|
-
totalBalance: wallets.reduce((sum, wallet) => sum + wallet.balance, 0)
|
|
620
|
-
};
|
|
621
|
-
} catch (error) {
|
|
622
|
-
if (error instanceof ApiError && error.type === ApiErrorType.AUTHENTICATION_ERROR) {
|
|
623
|
-
throw new Error('Insufficient permissions to access corporation data');
|
|
624
|
-
}
|
|
625
|
-
throw error;
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
```
|
|
630
|
-
|
|
631
|
-
### Simple Character Lookup (Direct API)
|
|
632
|
-
|
|
633
|
-
```typescript
|
|
634
|
-
import { EsiApiFactory } from '@lgriffin/esi.ts';
|
|
635
|
-
|
|
636
|
-
// Ultra-lightweight: just one API, one function
|
|
637
|
-
async function lookupCharacter(characterId: number) {
|
|
638
|
-
const characterClient = EsiApiFactory.createCharacterClient({
|
|
639
|
-
clientId: 'simple-lookup'
|
|
640
|
-
});
|
|
641
|
-
|
|
642
|
-
const character = await characterClient.getCharacterPublicInfo(characterId);
|
|
643
|
-
return character.body.name;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
// Usage
|
|
647
|
-
const name = await lookupCharacter(1689391488);
|
|
648
|
-
console.log(name); // "deiseman"
|
|
649
|
-
```
|
|
650
|
-
|
|
651
|
-
### Direct API Class Usage
|
|
652
|
-
|
|
653
|
-
```typescript
|
|
654
|
-
import { CharacterClient, ApiClientBuilder } from '@lgriffin/esi.ts';
|
|
655
|
-
|
|
656
|
-
// Maximum control - build exactly what you need
|
|
657
|
-
const apiClient = new ApiClientBuilder()
|
|
658
|
-
.setClientId('direct-usage')
|
|
659
|
-
.setLink('https://esi.evetech.net')
|
|
660
|
-
.build();
|
|
661
|
-
|
|
662
|
-
const characterClient = new CharacterClient(apiClient);
|
|
663
|
-
|
|
664
|
-
// Direct usage without any wrapper
|
|
665
|
-
const character = await characterClient.getCharacterPublicInfo(123456);
|
|
666
|
-
const portrait = await characterClient.getCharacterPortrait(123456);
|
|
667
|
-
```
|
|
668
|
-
|
|
669
|
-
### Microservice Example (Single Responsibility)
|
|
670
|
-
|
|
671
|
-
```typescript
|
|
672
|
-
import { EsiApiFactory } from '@lgriffin/esi.ts';
|
|
673
|
-
|
|
674
|
-
// A microservice that only needs market data
|
|
675
|
-
class PriceService {
|
|
676
|
-
private marketClient;
|
|
677
|
-
|
|
678
|
-
constructor() {
|
|
679
|
-
// Only load what this service needs
|
|
680
|
-
this.marketClient = EsiApiFactory.createMarketClient({
|
|
681
|
-
clientId: 'price-service-v1'
|
|
682
|
-
});
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
async getCurrentPrice(typeId: number): Promise<number> {
|
|
686
|
-
const prices = await this.marketClient.getMarketPrices();
|
|
687
|
-
const price = prices.body.find((p: any) => p.type_id === typeId);
|
|
688
|
-
return price?.average_price || 0;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
async getBestPrices(regionId: number, typeId: number) {
|
|
692
|
-
const orders = await this.marketClient.getMarketOrders(regionId, { type_id: typeId });
|
|
693
|
-
|
|
694
|
-
const buyOrders = orders.body.filter((o: any) => o.is_buy_order);
|
|
695
|
-
const sellOrders = orders.body.filter((o: any) => !o.is_buy_order);
|
|
696
|
-
|
|
697
|
-
return {
|
|
698
|
-
bestBuy: Math.max(...buyOrders.map((o: any) => o.price)),
|
|
699
|
-
bestSell: Math.min(...sellOrders.map((o: any) => o.price))
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
```
|
|
704
|
-
|
|
705
|
-
## 🧪 Testing
|
|
706
|
-
|
|
707
|
-
### Running Tests
|
|
708
|
-
|
|
709
|
-
```bash
|
|
710
|
-
# Run unit tests
|
|
711
|
-
npm test
|
|
712
|
-
|
|
713
|
-
# Run unit tests with coverage
|
|
714
|
-
npm run coverage
|
|
715
|
-
|
|
716
|
-
# Run BDD tests (behavioral scenarios)
|
|
717
|
-
npm run bdd
|
|
718
|
-
|
|
719
|
-
# Run specific BDD test suites
|
|
720
|
-
npm run bdd:alliance
|
|
721
|
-
npm run bdd:character
|
|
722
|
-
npm run bdd:market
|
|
723
|
-
|
|
724
|
-
# Run all tests
|
|
725
|
-
npm run test:all
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
## 🚀 Working Examples
|
|
729
|
-
|
|
730
|
-
### Try the Examples
|
|
731
|
-
|
|
732
|
-
ESI.ts includes working examples that demonstrate real API usage:
|
|
733
|
-
|
|
734
|
-
```bash
|
|
735
|
-
# Run the complete character profile example
|
|
736
|
-
npm run example
|
|
737
|
-
|
|
738
|
-
# Run flexible API usage examples (all 5 approaches)
|
|
739
|
-
npm run examples:flexible
|
|
740
|
-
```
|
|
741
|
-
|
|
742
|
-
### Character Profile Example
|
|
743
|
-
|
|
744
|
-
The main example (`npm run example`) demonstrates:
|
|
745
|
-
- ✅ Complete character profile assembly
|
|
746
|
-
- ✅ Parallel API calls for efficiency
|
|
747
|
-
- ✅ Error handling and graceful degradation
|
|
748
|
-
- ✅ Resource cleanup
|
|
749
|
-
- ✅ Performance timing
|
|
750
|
-
|
|
751
|
-
**Sample Output:**
|
|
752
|
-
```
|
|
753
|
-
🚀 ESI.ts Character Profile Example
|
|
754
|
-
=====================================
|
|
755
|
-
|
|
756
|
-
🔍 Gathering complete profile for character ID: 1689391488
|
|
757
|
-
📋 Fetching basic character information...
|
|
758
|
-
🚀 Fetching detailed profile data in parallel...
|
|
759
|
-
|
|
760
|
-
============================================================
|
|
761
|
-
🎯 CHARACTER PROFILE SUMMARY
|
|
762
|
-
============================================================
|
|
763
|
-
👤 Name: deiseman
|
|
764
|
-
🆔 Character ID: 1689391488
|
|
765
|
-
🎂 Birthday: 2/3/2008
|
|
766
|
-
⚖️ Security Status: 0.16
|
|
767
|
-
|
|
768
|
-
🏢 Corporation: Brittas Empire [BREMP]
|
|
769
|
-
👥 Members: 360
|
|
770
|
-
🤝 Alliance: Pandemic Horde [REKTD]
|
|
771
|
-
📊 Founded: 2/4/2015
|
|
772
|
-
|
|
773
|
-
🖼️ Portrait URLs:
|
|
774
|
-
📱 64x64: https://images.evetech.net/characters/1689391488/portrait?tenant=tranquility&size=64
|
|
775
|
-
🖥️ 128x128: https://images.evetech.net/characters/1689391488/portrait?tenant=tranquility&size=128
|
|
776
|
-
🖼️ 256x256: https://images.evetech.net/characters/1689391488/portrait?tenant=tranquility&size=256
|
|
777
|
-
📺 512x512: https://images.evetech.net/characters/1689391488/portrait?tenant=tranquility&size=512
|
|
778
|
-
|
|
779
|
-
📍 Current Location: Unavailable (character may be offline)
|
|
780
|
-
============================================================
|
|
781
|
-
|
|
782
|
-
⏱️ Total execution time: 154ms
|
|
783
|
-
✅ Character profile retrieved successfully!
|
|
784
|
-
```
|
|
785
|
-
|
|
786
|
-
### Flexible API Examples
|
|
787
|
-
|
|
788
|
-
The flexible examples (`npm run examples:flexible`) demonstrate:
|
|
789
|
-
- ✅ Full ESI Client (all APIs)
|
|
790
|
-
- ✅ Custom lightweight client (selected APIs)
|
|
791
|
-
- ✅ Builder pattern usage
|
|
792
|
-
- ✅ Individual API clients
|
|
793
|
-
- ✅ Direct API class instantiation
|
|
794
|
-
- ✅ Performance comparisons
|
|
795
|
-
- ✅ Microservice example
|
|
796
|
-
|
|
797
|
-
**Sample Output:**
|
|
798
|
-
```
|
|
799
|
-
🚀 ESI.ts Flexible API Usage Examples
|
|
800
|
-
=====================================
|
|
801
|
-
|
|
802
|
-
1️⃣ Full ESI Client (All APIs)
|
|
803
|
-
✅ Character: deiseman (using full client)
|
|
804
|
-
|
|
805
|
-
2️⃣ Custom Lightweight Client (Selected APIs)
|
|
806
|
-
✅ Character: deiseman (using custom client)
|
|
807
|
-
📊 Enabled clients: characters, corporations
|
|
808
|
-
|
|
809
|
-
3️⃣ Builder Pattern
|
|
810
|
-
✅ Character: deiseman (using builder pattern)
|
|
811
|
-
|
|
812
|
-
4️⃣ Individual API Client (Ultra Lightweight)
|
|
813
|
-
✅ Character: deiseman (using standalone client)
|
|
814
|
-
|
|
815
|
-
5️⃣ Direct API Class Instantiation
|
|
816
|
-
✅ Character: deiseman (using direct instantiation)
|
|
817
|
-
|
|
818
|
-
🎯 Performance Comparison
|
|
819
|
-
=========================
|
|
820
|
-
⏱️ Startup time comparison:
|
|
821
|
-
Full Client: 1ms
|
|
822
|
-
Custom Client (1 API): 0ms
|
|
823
|
-
Individual Client: 0ms
|
|
824
|
-
|
|
825
|
-
💰 Microservice Example: Price Service
|
|
826
|
-
======================================
|
|
827
|
-
💎 Tritanium average price: 3.78 ISK
|
|
828
|
-
```
|
|
829
|
-
|
|
830
|
-
### Example Files
|
|
831
|
-
|
|
832
|
-
| File | Purpose | Command |
|
|
833
|
-
|------|---------|---------|
|
|
834
|
-
| `src/index.ts` | Character profile assembly | `npm run example` |
|
|
835
|
-
| `demo/flexible-examples.ts` | All flexible API patterns | `npm run examples:flexible` |
|
|
836
|
-
|
|
837
|
-
### Learning Path
|
|
838
|
-
|
|
839
|
-
1. **Start Here**: Run `npm run example` to see a complete real-world workflow
|
|
840
|
-
2. **Explore Options**: Run `npm run examples:flexible` to see all the different ways to use the API
|
|
841
|
-
3. **Choose Your Approach**: Pick the method that best fits your use case
|
|
842
|
-
4. **Build Your App**: Use the examples as templates for your own application
|
|
843
|
-
|
|
844
|
-
### Testing Your Applications
|
|
845
|
-
|
|
846
|
-
```typescript
|
|
847
|
-
import { EsiClient } from '@lgriffin/esi.ts';
|
|
848
|
-
import { TestDataFactory } from '@lgriffin/esi.ts';
|
|
849
|
-
|
|
850
|
-
describe('My EVE Application', () => {
|
|
851
|
-
let client: EsiClient;
|
|
852
|
-
|
|
853
|
-
beforeEach(() => {
|
|
854
|
-
client = new EsiClient({
|
|
855
|
-
clientId: 'test-client'
|
|
856
|
-
});
|
|
857
|
-
});
|
|
858
|
-
|
|
859
|
-
afterEach(async () => {
|
|
860
|
-
await client.shutdown();
|
|
861
|
-
});
|
|
862
|
-
|
|
863
|
-
it('should handle character lookup', async () => {
|
|
864
|
-
// Mock data for testing
|
|
865
|
-
jest.spyOn(client.characters, 'getCharacterPublicInfo')
|
|
866
|
-
.mockResolvedValue(TestDataFactory.createCharacterInfo({
|
|
867
|
-
character_id: 123456,
|
|
868
|
-
name: 'Test Character'
|
|
869
|
-
}));
|
|
870
|
-
|
|
871
|
-
const character = await client.characters.getCharacterPublicInfo(123456);
|
|
872
|
-
expect(character.name).toBe('Test Character');
|
|
873
|
-
});
|
|
874
|
-
});
|
|
875
|
-
```
|
|
876
|
-
|
|
877
|
-
## 🛠️ Resource Management
|
|
878
|
-
|
|
879
|
-
### Proper Cleanup
|
|
880
|
-
|
|
881
|
-
```typescript
|
|
882
|
-
// Always clean up resources when done
|
|
883
|
-
async function myApplication() {
|
|
884
|
-
const client = new EsiClient({
|
|
885
|
-
clientId: 'my-app'
|
|
886
|
-
});
|
|
887
|
-
|
|
888
|
-
try {
|
|
889
|
-
// Your application logic here
|
|
890
|
-
const alliance = await client.alliance.getAllianceById(99005338);
|
|
891
|
-
console.log(alliance.name);
|
|
892
|
-
} finally {
|
|
893
|
-
// Important: Always shutdown the client
|
|
894
|
-
await client.shutdown();
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
// Or use a try-with-resources pattern
|
|
899
|
-
class EsiClientManager {
|
|
900
|
-
private client: EsiClient;
|
|
901
|
-
|
|
902
|
-
constructor(config: any) {
|
|
903
|
-
this.client = new EsiClient(config);
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
async use<T>(callback: (client: EsiClient) => Promise<T>): Promise<T> {
|
|
907
|
-
try {
|
|
908
|
-
return await callback(this.client);
|
|
909
|
-
} finally {
|
|
910
|
-
await this.client.shutdown();
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
// Usage
|
|
916
|
-
const manager = new EsiClientManager({ clientId: 'my-app' });
|
|
917
|
-
const result = await manager.use(async (client) => {
|
|
918
|
-
return await client.alliance.getAllianceById(99005338);
|
|
919
|
-
});
|
|
920
|
-
```
|
|
921
|
-
|
|
922
|
-
## 🤝 Contributing
|
|
923
|
-
|
|
924
|
-
1. Fork the repository
|
|
925
|
-
2. Create a feature branch
|
|
926
|
-
3. Write tests for your changes
|
|
927
|
-
4. Ensure all tests pass: `npm test && npm run bdd`
|
|
928
|
-
5. Open a Pull Request
|
|
929
|
-
|
|
930
|
-
## 📄 License
|
|
931
|
-
|
|
932
|
-
GPL-3.0-or-later - see the [LICENSE](LICENSE) file for details.
|
|
933
|
-
|
|
934
|
-
---
|
|
935
|
-
|
|
936
|
-
**Happy coding, capsuleers! o7**
|
|
1
|
+
# ESI.ts
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/js/%40lgriffin%2Fesi.ts)
|
|
4
|
+
[](https://www.gnu.org/licenses/gpl-3.0)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://github.com/lgriffin/ESI.ts/actions/workflows/ci.yml)
|
|
7
|
+
[](https://github.com/lgriffin/ESI.ts/actions/workflows/pr-validation.yml)
|
|
8
|
+
[](https://github.com/lgriffin/ESI.ts)
|
|
9
|
+
[](https://www.npmjs.com/package/@lgriffin/esi.ts)
|
|
10
|
+
|
|
11
|
+
A type-safe TypeScript client for the [EVE Online ESI API](https://esi.evetech.net/).
|
|
12
|
+
|
|
13
|
+
- Typed responses for all endpoints
|
|
14
|
+
- ETag caching with Cache-Control TTL, stale-on-error, and write invalidation
|
|
15
|
+
- Automatic offset-based pagination and cursor-based pagination support
|
|
16
|
+
- Rate limiting with header-driven backoff
|
|
17
|
+
- Automatic token refresh with 401 retry and concurrent coalescing
|
|
18
|
+
- 35 domain clients covering the full ESI surface
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install @lgriffin/esi.ts
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Building from Source
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
git clone https://github.com/lgriffin/ESI.ts.git
|
|
30
|
+
cd ESI.ts
|
|
31
|
+
npm install # installs dependencies and compiles (via the prepare script)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
If you've already installed and just need to recompile:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm run build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Verify everything works:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm run example:status # quick smoke test — checks ESI is reachable
|
|
44
|
+
npm test # run the full test suite
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Quick Start
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
import { EsiClient } from '@lgriffin/esi.ts';
|
|
51
|
+
|
|
52
|
+
const client = new EsiClient();
|
|
53
|
+
|
|
54
|
+
// Public data — no auth required
|
|
55
|
+
const alliances = await client.alliance.getAlliances();
|
|
56
|
+
const character = await client.characters.getCharacterPublicInfo(1689391488);
|
|
57
|
+
const system = await client.universe.getSystemById(30000142);
|
|
58
|
+
const prices = await client.market.getMarketPrices();
|
|
59
|
+
|
|
60
|
+
// Authenticated data — token read from ESI_ACCESS_TOKEN env var
|
|
61
|
+
const authedClient = new EsiClient();
|
|
62
|
+
const assets = await authedClient.assets.getCharacterAssets(characterId);
|
|
63
|
+
const wallet = await authedClient.wallet.getCharacterWallet(characterId);
|
|
64
|
+
|
|
65
|
+
// Clean up when done
|
|
66
|
+
await client.shutdown();
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Configuration
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
const client = new EsiClient({
|
|
73
|
+
clientId: 'my-app', // User-Agent identifier (default: 'esi-client')
|
|
74
|
+
accessToken: 'your-token', // EVE SSO token for authenticated endpoints
|
|
75
|
+
baseUrl: 'https://esi.evetech.net', // ESI base URL (default)
|
|
76
|
+
onTokenRefresh: async () => newToken, // Auto-refresh on 401 (optional)
|
|
77
|
+
timeout: 30000, // Request timeout in ms (default: 30000)
|
|
78
|
+
retryAttempts: 3, // Retry count (default: 3)
|
|
79
|
+
enableETagCache: true, // ETag caching (default: true)
|
|
80
|
+
etagCacheConfig: {
|
|
81
|
+
maxEntries: 1000, // Max cached responses (default: 1000)
|
|
82
|
+
defaultTtl: 300000, // Fallback TTL in ms (default: 5 min)
|
|
83
|
+
cleanupInterval: 60000, // Expired entry cleanup interval (default: 1 min)
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The access token can be updated at runtime:
|
|
89
|
+
|
|
90
|
+
```typescript
|
|
91
|
+
client.setAccessToken('new-token');
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Authentication
|
|
95
|
+
|
|
96
|
+
Many ESI endpoints require an EVE SSO access token. There are three ways to provide one:
|
|
97
|
+
|
|
98
|
+
### 1. Environment variable (recommended)
|
|
99
|
+
|
|
100
|
+
Set `ESI_ACCESS_TOKEN` in your environment or a `.env` file. The client reads it automatically — no token in source code.
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# Copy the example and fill in your token
|
|
104
|
+
cp .env.example .env
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
```env
|
|
108
|
+
ESI_ACCESS_TOKEN=your-eve-sso-access-token
|
|
109
|
+
ESI_CLIENT_ID=my-app-name
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
If you use a `.env` loader like [dotenv](https://www.npmjs.com/package/dotenv), load it before creating the client:
|
|
113
|
+
|
|
114
|
+
```typescript
|
|
115
|
+
import 'dotenv/config';
|
|
116
|
+
import { EsiClient } from '@lgriffin/esi.ts';
|
|
117
|
+
|
|
118
|
+
const client = new EsiClient();
|
|
119
|
+
// Token is picked up from process.env.ESI_ACCESS_TOKEN
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### 2. Constructor parameter
|
|
123
|
+
|
|
124
|
+
Pass the token directly (useful for apps that manage tokens themselves):
|
|
125
|
+
|
|
126
|
+
```typescript
|
|
127
|
+
const client = new EsiClient({ accessToken: token });
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### 3. Runtime update
|
|
131
|
+
|
|
132
|
+
Set or refresh the token after construction:
|
|
133
|
+
|
|
134
|
+
```typescript
|
|
135
|
+
client.setAccessToken(newToken);
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Getting an EVE SSO token
|
|
139
|
+
|
|
140
|
+
1. Register an application at [EVE Developers](https://developers.eveonline.com/)
|
|
141
|
+
2. Set a callback URL and select the ESI scopes your app needs
|
|
142
|
+
3. Implement the [OAuth2 flow](https://docs.esi.evetech.net/docs/sso/) to obtain an access token
|
|
143
|
+
4. Access tokens expire — use the refresh token to get new ones
|
|
144
|
+
|
|
145
|
+
### Automatic Token Refresh
|
|
146
|
+
|
|
147
|
+
EVE SSO access tokens expire after 20 minutes. Instead of manually tracking expiry, you can provide a refresh callback — the client will automatically call it on 401, update the token, and retry the request:
|
|
148
|
+
|
|
149
|
+
```typescript
|
|
150
|
+
const client = new EsiClient({
|
|
151
|
+
accessToken: initialToken,
|
|
152
|
+
onTokenRefresh: async () => {
|
|
153
|
+
const response = await fetch('https://login.eveonline.com/v2/oauth/token', {
|
|
154
|
+
method: 'POST',
|
|
155
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
156
|
+
body: new URLSearchParams({
|
|
157
|
+
grant_type: 'refresh_token',
|
|
158
|
+
refresh_token: myRefreshToken,
|
|
159
|
+
client_id: myClientId,
|
|
160
|
+
}),
|
|
161
|
+
});
|
|
162
|
+
const { access_token } = await response.json();
|
|
163
|
+
return access_token;
|
|
164
|
+
},
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
// Requests now auto-refresh on 401 — no manual token management needed
|
|
168
|
+
const location = await client.location.getCharacterLocation(characterId);
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
The token provider can also be set or changed at runtime:
|
|
172
|
+
|
|
173
|
+
```typescript
|
|
174
|
+
client.setTokenProvider(myRefreshFunction);
|
|
175
|
+
client.setTokenProvider(undefined); // disable auto-refresh
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Key behaviors:
|
|
179
|
+
|
|
180
|
+
- Only retries **once** per request — if the refreshed token also gets a 401, the error is thrown
|
|
181
|
+
- **Concurrent coalescing** — if multiple requests hit 401 simultaneously, only one refresh call is made
|
|
182
|
+
- If the refresh callback throws (e.g., refresh token revoked), a `TOKEN_REFRESH_FAILED` error is raised
|
|
183
|
+
- Without a token provider, 401 errors throw immediately as before
|
|
184
|
+
|
|
185
|
+
### Environment variables reference
|
|
186
|
+
|
|
187
|
+
| Variable | Description | Default |
|
|
188
|
+
| ------------------ | -------------------------------------------- | ------------------------- |
|
|
189
|
+
| `ESI_ACCESS_TOKEN` | EVE SSO access token | none |
|
|
190
|
+
| `ESI_CLIENT_ID` | User-Agent identifier | `esi-client` |
|
|
191
|
+
| `ESI_BASE_URL` | ESI API base URL | `https://esi.evetech.net` |
|
|
192
|
+
| `ESI_LOG_LEVEL` | Log level (`error`, `warn`, `info`, `debug`) | `warn` |
|
|
193
|
+
|
|
194
|
+
## Available APIs
|
|
195
|
+
|
|
196
|
+
All clients are accessed as properties on the `EsiClient` instance. Authenticated endpoints require an access token.
|
|
197
|
+
|
|
198
|
+
| Client | Property | Auth | Examples |
|
|
199
|
+
| -------------- | ---------------------- | ---- | -------------------------------------------------------- |
|
|
200
|
+
| Alliance | `client.alliance` | Some | `getAlliances()`, `getAllianceById(id)` |
|
|
201
|
+
| Assets | `client.assets` | Yes | `getCharacterAssets(id)` |
|
|
202
|
+
| Calendar | `client.calendar` | Yes | `getCharacterCalendar(id)` |
|
|
203
|
+
| Characters | `client.characters` | Some | `getCharacterPublicInfo(id)`, `getCharacterPortrait(id)` |
|
|
204
|
+
| Clones | `client.clones` | Yes | `getCharacterClones(id)` |
|
|
205
|
+
| Contacts | `client.contacts` | Yes | `getCharacterContacts(id)` |
|
|
206
|
+
| Contracts | `client.contracts` | Yes | `getCharacterContracts(id)` |
|
|
207
|
+
| Corporations | `client.corporations` | Some | `getCorporationInfo(id)`, `getCorporationMembers(id)` |
|
|
208
|
+
| Dogma | `client.dogma` | No | `getDogmaAttributes()`, `getDogmaEffects()` |
|
|
209
|
+
| Factions | `client.factions` | Some | `getFactionWarStats()` |
|
|
210
|
+
| Fittings | `client.fittings` | Yes | `getFittings(id)`, `createFitting(id, body)` |
|
|
211
|
+
| Fleets | `client.fleets` | Yes | `getFleet(id)`, `getFleetMembers(id)` |
|
|
212
|
+
| Incursions | `client.incursions` | No | `getIncursions()` |
|
|
213
|
+
| Industry | `client.industry` | Some | `getCharacterIndustryJobs(id)` |
|
|
214
|
+
| Insurance | `client.insurance` | No | `getInsurancePrices()` |
|
|
215
|
+
| Killmails | `client.killmails` | Some | `getKillmail(id, hash)` |
|
|
216
|
+
| Location | `client.location` | Yes | `getCharacterLocation(id)` |
|
|
217
|
+
| Loyalty | `client.loyalty` | Yes | `getCharacterLoyaltyPoints(id)` |
|
|
218
|
+
| Mail | `client.mail` | Yes | `getCharacterMail(id)` |
|
|
219
|
+
| Market | `client.market` | Some | `getMarketPrices()`, `getMarketOrders(regionId)` |
|
|
220
|
+
| PI | `client.pi` | Yes | `getCharacterPlanets(id)` |
|
|
221
|
+
| Route | `client.route` | No | `getRoute(origin, destination)` |
|
|
222
|
+
| Search | `client.search` | Some | `search(characterId, query)` |
|
|
223
|
+
| Skills | `client.skills` | Yes | `getCharacterSkills(id)` |
|
|
224
|
+
| Sovereignty | `client.sovereignty` | No | `getSovereigntySystems()`, `getSovereigntyMap()` |
|
|
225
|
+
| Skyhooks | `client.skyhooks` | No | `getSovereigntyHubs()`, `getRaidableSkyhooks()` |
|
|
226
|
+
| Mercenary | `client.mercenary` | No | `getMercenaryDens()`, `getMercenaryTacticalOperations()` |
|
|
227
|
+
| Access Lists | `client.accessLists` | Yes | `getAccessList(id)` |
|
|
228
|
+
| Status | `client.status` | No | `getStatus()` |
|
|
229
|
+
| UI | `client.ui` | Yes | `setWaypoint(id)` |
|
|
230
|
+
| Universe | `client.universe` | Some | `getSystemById(id)`, `getTypeById(id)` |
|
|
231
|
+
| Wallet | `client.wallet` | Yes | `getCharacterWallet(id)` |
|
|
232
|
+
| Wars | `client.wars` | No | `getWars()`, `getWarById(id)` |
|
|
233
|
+
| Freelance Jobs | `client.freelanceJobs` | Some | `getFreelanceJobs()`, `getFreelanceJobById(id)` |
|
|
234
|
+
| Meta | `client.meta` | No | `getOpenApiJson()`, `getOpenApiYaml()` |
|
|
235
|
+
|
|
236
|
+
## Caching
|
|
237
|
+
|
|
238
|
+
ETag caching is enabled by default. The client automatically:
|
|
239
|
+
|
|
240
|
+
1. Stores ETag and response data on GET requests
|
|
241
|
+
2. Sends `If-None-Match` on subsequent requests
|
|
242
|
+
3. Returns cached data on `304 Not Modified`
|
|
243
|
+
4. Parses `Cache-Control: max-age` from ESI for per-endpoint TTL
|
|
244
|
+
5. Serves stale cached data when ESI returns 5xx errors
|
|
245
|
+
6. Invalidates related GET caches when POST/PUT/DELETE requests are made
|
|
246
|
+
|
|
247
|
+
```typescript
|
|
248
|
+
// Cache stats
|
|
249
|
+
const stats = client.getCacheStats();
|
|
250
|
+
console.log(`${stats.totalEntries}/${stats.maxEntries} entries cached`);
|
|
251
|
+
|
|
252
|
+
// Manual cache operations
|
|
253
|
+
client.clearCache();
|
|
254
|
+
client.updateCacheConfig({ maxEntries: 2000 });
|
|
255
|
+
|
|
256
|
+
// Disable caching entirely
|
|
257
|
+
const uncachedClient = new EsiClient({ enableETagCache: false });
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## Cursor-based Pagination
|
|
261
|
+
|
|
262
|
+
Newer ESI routes (Freelance Jobs, and future routes) use cursor-based pagination with opaque `before`/`after` tokens in the response body. See the [ESI blog post](https://developers.eveonline.com/blog/changing-pagination-turning-a-new-page) for background.
|
|
263
|
+
|
|
264
|
+
```typescript
|
|
265
|
+
import { EsiClient, fetchAllCursorPages } from '@lgriffin/esi.ts';
|
|
266
|
+
|
|
267
|
+
const client = new EsiClient();
|
|
268
|
+
|
|
269
|
+
// Fetch first page — returns { cursor: { before, after }, freelance_jobs: [...] }
|
|
270
|
+
const page = await client.freelanceJobs.getFreelanceJobs();
|
|
271
|
+
console.log(page.freelance_jobs); // job records
|
|
272
|
+
console.log(page.cursor.after); // opaque token for next page
|
|
273
|
+
|
|
274
|
+
// Fetch next page using the cursor
|
|
275
|
+
const nextPage = await client.freelanceJobs.getFreelanceJobs(
|
|
276
|
+
undefined,
|
|
277
|
+
page.cursor.after,
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
// Auto-fetch all pages in one call
|
|
281
|
+
const allJobs = await fetchAllCursorPages(
|
|
282
|
+
(before, after) => client.freelanceJobs.getFreelanceJobs(before, after),
|
|
283
|
+
(response) => response.freelance_jobs,
|
|
284
|
+
(response) => response.cursor,
|
|
285
|
+
);
|
|
286
|
+
|
|
287
|
+
// Authenticated endpoints — character/corporation freelance jobs
|
|
288
|
+
const authedClient = new EsiClient({ accessToken: 'your-token' });
|
|
289
|
+
const myJobs =
|
|
290
|
+
await authedClient.freelanceJobs.getCharacterFreelanceJobs(characterId);
|
|
291
|
+
const corpJobs =
|
|
292
|
+
await authedClient.freelanceJobs.getCorporationFreelanceJobs(corporationId);
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
**Polling for changes** — cursor tokens persist across sessions, so you can save the last `after` token and poll later to get only records that changed:
|
|
296
|
+
|
|
297
|
+
```typescript
|
|
298
|
+
// After initial scan, save the final cursor
|
|
299
|
+
let savedCursor = lastPage.cursor.after;
|
|
300
|
+
|
|
301
|
+
// Later: check for updates (hours, days, or weeks later)
|
|
302
|
+
const updates = await client.freelanceJobs.getFreelanceJobs(
|
|
303
|
+
undefined,
|
|
304
|
+
savedCursor,
|
|
305
|
+
);
|
|
306
|
+
if (updates.freelance_jobs.length > 0) {
|
|
307
|
+
// Process changed records — duplicates are expected for modified records
|
|
308
|
+
savedCursor = updates.cursor.after;
|
|
309
|
+
}
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
Key points:
|
|
313
|
+
|
|
314
|
+
- Cursor tokens are **opaque strings** — never parse or validate them
|
|
315
|
+
- An **empty result array** signals the end of the dataset (not a short page)
|
|
316
|
+
- **Duplicates across pages** are expected when records are modified between requests
|
|
317
|
+
- Existing offset-based routes (`getMarketOrders`, etc.) are unchanged
|
|
318
|
+
|
|
319
|
+
## Error Handling
|
|
320
|
+
|
|
321
|
+
API errors throw `EsiError` with `statusCode`, `message`, and `url` properties:
|
|
322
|
+
|
|
323
|
+
```typescript
|
|
324
|
+
import { EsiError } from '@lgriffin/esi.ts';
|
|
325
|
+
|
|
326
|
+
try {
|
|
327
|
+
const alliance = await client.alliance.getAllianceById(99999999);
|
|
328
|
+
console.log('Alliance:', alliance.name);
|
|
329
|
+
} catch (err) {
|
|
330
|
+
if (err instanceof EsiError) {
|
|
331
|
+
console.log(`ESI error ${err.statusCode}: ${err.message}`);
|
|
332
|
+
// e.g. "ESI error 404: Resource not found"
|
|
333
|
+
} else {
|
|
334
|
+
console.error('Network or parse error:', err);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
- **204 No Content** — returns `undefined` (valid for DELETE/POST actions)
|
|
340
|
+
- **304 Not Modified** — handled internally, returns cached data
|
|
341
|
+
- **4xx/5xx** — throws `EsiError`
|
|
342
|
+
- **5xx with cache** — returns stale cached data instead of throwing
|
|
343
|
+
|
|
344
|
+
## Lightweight Clients
|
|
345
|
+
|
|
346
|
+
If you only need a subset of APIs, use `CustomEsiClient` or `EsiClientBuilder` to load only what you need:
|
|
347
|
+
|
|
348
|
+
```typescript
|
|
349
|
+
import { EsiClientBuilder } from '@lgriffin/esi.ts';
|
|
350
|
+
|
|
351
|
+
const client = new EsiClientBuilder()
|
|
352
|
+
.addClients(['market', 'universe', 'characters'])
|
|
353
|
+
.withClientId('my-trading-bot')
|
|
354
|
+
.withAccessToken('your-token')
|
|
355
|
+
.build();
|
|
356
|
+
|
|
357
|
+
const prices = await client.market?.getMarketPrices();
|
|
358
|
+
const system = await client.universe?.getSystemById(30000142);
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
Or create standalone single-API clients:
|
|
362
|
+
|
|
363
|
+
```typescript
|
|
364
|
+
import { EsiApiFactory } from '@lgriffin/esi.ts';
|
|
365
|
+
|
|
366
|
+
const marketClient = EsiApiFactory.createMarketClient({
|
|
367
|
+
clientId: 'price-checker',
|
|
368
|
+
});
|
|
369
|
+
const prices = await marketClient.getMarketPrices();
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
## Examples
|
|
373
|
+
|
|
374
|
+
Runnable examples are in the `examples/` directory.
|
|
375
|
+
|
|
376
|
+
### Public Endpoints (no auth needed)
|
|
377
|
+
|
|
378
|
+
```bash
|
|
379
|
+
npm run example:status # Server status — quickest smoke test
|
|
380
|
+
npm run example:character # Character public info, portrait, corporation
|
|
381
|
+
npm run example:universe # Solar system, constellation, region, station
|
|
382
|
+
npm run example:market # Average prices + Tritanium price history
|
|
383
|
+
npm run example:alliance # Alliance info + member corporations
|
|
384
|
+
npm run example:route # Jita-to-Amarr route with system names
|
|
385
|
+
npm run example:wars # Recent wars with aggressor/defender details
|
|
386
|
+
npm run example:sovereignty # Nullsec sovereignty map + active campaigns
|
|
387
|
+
npm run example:industry # Industry facilities, cost indices, insurance
|
|
388
|
+
npm run example:incursions # Active incursions + faction warfare stats
|
|
389
|
+
npm run example:dogma # Item type details + dogma attributes
|
|
390
|
+
npm run example:contracts # Public region contracts + auction bids/items
|
|
391
|
+
npm run example:rate-limiting # Rate limiter & pagination demonstration
|
|
392
|
+
npm run example:cursor-pagination # Freelance Jobs with cursor pagination
|
|
393
|
+
npm run example:token-refresh # Automatic token refresh on 401
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
### Authenticated Endpoints (require ESI_ACCESS_TOKEN)
|
|
397
|
+
|
|
398
|
+
These examples require an EVE SSO token with the listed scopes. Set `ESI_ACCESS_TOKEN` in your environment or `.env` file.
|
|
399
|
+
|
|
400
|
+
```bash
|
|
401
|
+
npm run example # Full character profile assembly
|
|
402
|
+
npm run example:wallet # Wallet balance, journal, transactions (esi-wallet.read_character_wallet.v1)
|
|
403
|
+
npm run example:skills # Trained skills, queue, attributes (esi-skills.read_skills.v1, esi-skills.read_skillqueue.v1)
|
|
404
|
+
npm run example:assets # Asset inventory with bulk name lookup (esi-assets.read_assets.v1)
|
|
405
|
+
npm run example:killmails # Recent killmails + full details (esi-killmails.read_killmails.v1)
|
|
406
|
+
npm run example:fleet # Fleet info, members, wing/squad structure (esi-fleets.read_fleet.v1)
|
|
407
|
+
npm run example:mail # Inbox headers, labels, mailing lists (esi-mail.read_mail.v1)
|
|
408
|
+
npm run example:location # Current system, online status, ship (esi-location.read_location.v1)
|
|
409
|
+
npm run example:fittings # Saved fittings + clone state + implants (esi-fittings.read_fittings.v1, esi-clones.read_clones.v1)
|
|
410
|
+
npm run example:contacts # Contact list with standings + labels (esi-characters.read_contacts.v1)
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
### Parallel Requests
|
|
414
|
+
|
|
415
|
+
```typescript
|
|
416
|
+
const [character, portrait, corp] = await Promise.all([
|
|
417
|
+
client.characters.getCharacterPublicInfo(characterId),
|
|
418
|
+
client.characters.getCharacterPortrait(characterId),
|
|
419
|
+
client.corporations.getCorporationInfo(corporationId),
|
|
420
|
+
]);
|
|
421
|
+
|
|
422
|
+
console.log(`${character.name} [${corp.ticker}]`);
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
### Market Analysis
|
|
426
|
+
|
|
427
|
+
```typescript
|
|
428
|
+
const [orders, history] = await Promise.all([
|
|
429
|
+
client.market.getMarketOrders(regionId),
|
|
430
|
+
client.market.getMarketHistory(regionId, typeId),
|
|
431
|
+
]);
|
|
432
|
+
|
|
433
|
+
const buyOrders = orders.filter((o) => o.is_buy_order);
|
|
434
|
+
const sellOrders = orders.filter((o) => !o.is_buy_order);
|
|
435
|
+
|
|
436
|
+
console.log(`Best buy: ${Math.max(...buyOrders.map((o) => o.price))}`);
|
|
437
|
+
console.log(`Best sell: ${Math.min(...sellOrders.map((o) => o.price))}`);
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
## Resource Management
|
|
441
|
+
|
|
442
|
+
Always call `shutdown()` when you're done to clean up cache timers:
|
|
443
|
+
|
|
444
|
+
```typescript
|
|
445
|
+
const client = new EsiClient();
|
|
446
|
+
try {
|
|
447
|
+
const status = await client.status.getStatus();
|
|
448
|
+
console.log(status.server_version);
|
|
449
|
+
} finally {
|
|
450
|
+
await client.shutdown();
|
|
451
|
+
}
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
## Development
|
|
455
|
+
|
|
456
|
+
### Prerequisites
|
|
457
|
+
|
|
458
|
+
- Node.js 18+
|
|
459
|
+
- npm
|
|
460
|
+
|
|
461
|
+
### Code Quality Tools
|
|
462
|
+
|
|
463
|
+
The project uses a comprehensive suite of static analysis and code quality tools:
|
|
464
|
+
|
|
465
|
+
| Tool | Purpose | Command |
|
|
466
|
+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------- | ------------------------------ |
|
|
467
|
+
| [ESLint](https://eslint.org/) | Linting with TypeScript, security, and code smell rules | `npm run lint` |
|
|
468
|
+
| [Prettier](https://prettier.io/) | Code formatting | `npm run format:check` |
|
|
469
|
+
| [knip](https://knip.dev/) | Dead code and unused export detection | `npm run knip` |
|
|
470
|
+
| [eslint-plugin-security](https://github.com/eslint-community/eslint-plugin-security) | Security anti-pattern detection | Integrated into `npm run lint` |
|
|
471
|
+
| [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) | Cognitive complexity and code smell detection | Integrated into `npm run lint` |
|
|
472
|
+
| [husky](https://typicode.github.io/husky/) | Git pre-commit hooks | Automatic on commit |
|
|
473
|
+
| [lint-staged](https://github.com/lint-staged/lint-staged) | Run linters on staged files only | Automatic on commit |
|
|
474
|
+
|
|
475
|
+
### Available Scripts
|
|
476
|
+
|
|
477
|
+
```bash
|
|
478
|
+
# Development
|
|
479
|
+
npm run build # Compile TypeScript
|
|
480
|
+
npm run lint # Run ESLint
|
|
481
|
+
npm run lint:fix # Run ESLint with auto-fix
|
|
482
|
+
npm run format # Format code with Prettier
|
|
483
|
+
npm run format:check # Check formatting without modifying
|
|
484
|
+
|
|
485
|
+
# Testing
|
|
486
|
+
npm test # Unit tests
|
|
487
|
+
npm run test:all # Unit + improved + BDD tests
|
|
488
|
+
npm run coverage # Tests with coverage report (thresholds enforced)
|
|
489
|
+
npm run bdd # BDD scenario tests
|
|
490
|
+
|
|
491
|
+
# Static Analysis
|
|
492
|
+
npm run knip # Detect dead code and unused exports
|
|
493
|
+
npm run validate:esi # Validate endpoints against live ESI swagger spec
|
|
494
|
+
npm run validate # Run all checks: lint, format, build, coverage, knip
|
|
495
|
+
|
|
496
|
+
# Documentation
|
|
497
|
+
npm run docs # Generate TypeDoc API documentation
|
|
498
|
+
npm run docs:serve # Serve docs locally on port 8080
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
### ESI Endpoint Validation
|
|
502
|
+
|
|
503
|
+
To verify that the codebase endpoint definitions match the live ESI swagger spec:
|
|
504
|
+
|
|
505
|
+
```bash
|
|
506
|
+
npm run validate:esi
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
This fetches `https://esi.evetech.net/latest/swagger.json` and reports:
|
|
510
|
+
|
|
511
|
+
- Endpoints in the codebase that are no longer in the ESI spec
|
|
512
|
+
- Endpoints in the ESI spec that the codebase doesn't cover
|
|
513
|
+
- HTTP method mismatches between codebase and spec
|
|
514
|
+
|
|
515
|
+
### Pre-commit Hooks
|
|
516
|
+
|
|
517
|
+
The project uses husky with lint-staged to run ESLint and Prettier on staged files before each commit. This is set up automatically when you run `npm install`.
|
|
518
|
+
|
|
519
|
+
### CI/CD
|
|
520
|
+
|
|
521
|
+
Every pull request runs the full validation suite:
|
|
522
|
+
|
|
523
|
+
- ESLint (with security and sonarjs plugins)
|
|
524
|
+
- Prettier formatting check
|
|
525
|
+
- TypeScript compilation
|
|
526
|
+
- Unit tests across Node.js 18, 20, and 22
|
|
527
|
+
- BDD scenario tests
|
|
528
|
+
- Coverage threshold enforcement (branches: 50%, functions: 50%, lines: 65%, statements: 65%)
|
|
529
|
+
- Dead code detection via knip
|
|
530
|
+
- npm security audit
|
|
531
|
+
|
|
532
|
+
See [.github/workflows/README.md](.github/workflows/README.md) for full workflow details.
|
|
533
|
+
|
|
534
|
+
## Testing
|
|
535
|
+
|
|
536
|
+
```bash
|
|
537
|
+
npm test # Unit + integration tests (73 suites, 577 tests)
|
|
538
|
+
npm run coverage # Tests with coverage report (thresholds enforced)
|
|
539
|
+
npm run bdd # BDD scenario tests only
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
To verify against the live ESI API:
|
|
543
|
+
|
|
544
|
+
```bash
|
|
545
|
+
npm run example:status # Confirms ESI connectivity and server status
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
## Contributing
|
|
549
|
+
|
|
550
|
+
1. Fork the repository
|
|
551
|
+
2. Create a feature branch
|
|
552
|
+
3. Write tests for your changes
|
|
553
|
+
4. Run `npm run validate` to check everything passes
|
|
554
|
+
5. Open a Pull Request
|
|
555
|
+
|
|
556
|
+
## License
|
|
557
|
+
|
|
558
|
+
GPL-3.0-or-later - see the [LICENSE](LICENSE) file for details.
|
|
559
|
+
|
|
560
|
+
---
|
|
561
|
+
|
|
562
|
+
**o7**
|