@lgriffin/esi.ts 9.7.0 → 10.2.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 +512 -0
- package/README.md +182 -236
- package/dist/EsiClient.d.mts +140 -0
- package/dist/EsiClient.d.ts +4 -0
- package/dist/EsiClient.d.ts.map +1 -1
- package/dist/EsiClientBuilder.d.mts +75 -0
- package/dist/EsiClientBuilder.d.ts.map +1 -1
- package/dist/auth/EsiTokenManager.d.mts +200 -0
- package/dist/auth/EsiTokenManager.d.ts +200 -0
- package/dist/auth/EsiTokenManager.d.ts.map +1 -0
- package/dist/auth/EveSsoClient.d.mts +88 -0
- package/dist/auth/EveSsoClient.d.ts +88 -0
- package/dist/auth/EveSsoClient.d.ts.map +1 -0
- package/dist/auth/errors.d.mts +42 -0
- package/dist/auth/errors.d.ts +42 -0
- package/dist/auth/errors.d.ts.map +1 -0
- package/dist/auth/index.d.mts +14 -0
- package/dist/auth/index.d.ts +14 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/jwt.d.mts +43 -0
- package/dist/auth/jwt.d.ts +43 -0
- package/dist/auth/jwt.d.ts.map +1 -0
- package/dist/auth/pkce.d.mts +21 -0
- package/dist/auth/pkce.d.ts +21 -0
- package/dist/auth/pkce.d.ts.map +1 -0
- package/dist/auth/storage/FileTokenStorage.d.mts +44 -0
- package/dist/auth/storage/FileTokenStorage.d.ts +44 -0
- package/dist/auth/storage/FileTokenStorage.d.ts.map +1 -0
- package/dist/auth/storage/MemoryTokenStorage.d.mts +18 -0
- package/dist/auth/storage/MemoryTokenStorage.d.ts +18 -0
- package/dist/auth/storage/MemoryTokenStorage.d.ts.map +1 -0
- package/dist/auth/types.d.mts +42 -0
- package/dist/auth/types.d.ts +42 -0
- package/dist/auth/types.d.ts.map +1 -0
- package/dist/chunk-3ZI5A37L.mjs +1065 -0
- package/dist/chunk-3ZI5A37L.mjs.map +1 -0
- package/dist/chunk-BBSHKVPI.js +71 -0
- package/dist/chunk-BBSHKVPI.js.map +1 -0
- package/dist/chunk-D5L5HZVF.mjs +417 -0
- package/dist/chunk-D5L5HZVF.mjs.map +1 -0
- package/dist/chunk-JIW4BXLP.mjs +17 -0
- package/dist/chunk-JIW4BXLP.mjs.map +1 -0
- package/dist/chunk-MSJHIJXA.js +1065 -0
- package/dist/chunk-MSJHIJXA.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-R7D7M2LQ.mjs +71 -0
- package/dist/chunk-R7D7M2LQ.mjs.map +1 -0
- package/dist/chunk-SAQBXXTM.js +2614 -0
- package/dist/chunk-SAQBXXTM.js.map +1 -0
- package/dist/chunk-VZS32UQ3.mjs +2614 -0
- package/dist/chunk-VZS32UQ3.mjs.map +1 -0
- package/dist/chunk-XIB2OXEZ.js +417 -0
- package/dist/chunk-XIB2OXEZ.js.map +1 -0
- package/dist/clients/AccessListsClient.d.mts +25 -0
- package/dist/clients/AllianceClient.d.mts +59 -0
- package/dist/clients/AllianceClient.d.ts.map +1 -1
- package/dist/clients/AssetsClient.d.mts +65 -0
- package/dist/clients/BaseEsiClient.d.mts +19 -0
- package/dist/clients/CalendarClient.d.mts +48 -0
- package/dist/clients/CharacterClient.d.mts +134 -0
- package/dist/clients/ClonesClient.d.mts +27 -0
- package/dist/clients/ContactsClient.d.mts +96 -0
- package/dist/clients/ContractsClient.d.mts +91 -0
- package/dist/clients/ContractsClient.d.ts +12 -9
- package/dist/clients/ContractsClient.d.ts.map +1 -1
- package/dist/clients/CorporationProjectsClient.d.mts +54 -0
- package/dist/clients/CorporationProjectsClient.d.ts +22 -12
- package/dist/clients/CorporationProjectsClient.d.ts.map +1 -1
- package/dist/clients/CorporationsClient.d.mts +219 -0
- package/dist/clients/CosmeticsClient.d.mts +11 -0
- package/dist/clients/DogmaClient.d.mts +42 -0
- package/dist/clients/FactionClient.d.mts +60 -0
- package/dist/clients/FactionClient.d.ts +4 -4
- package/dist/clients/FactionClient.d.ts.map +1 -1
- package/dist/clients/FittingsClient.d.mts +38 -0
- package/dist/clients/FleetClient.d.mts +134 -0
- package/dist/clients/FreelanceJobsClient.d.mts +61 -0
- package/dist/clients/FreelanceJobsClient.d.ts +3 -3
- package/dist/clients/FreelanceJobsClient.d.ts.map +1 -1
- package/dist/clients/IncursionsClient.d.mts +14 -0
- package/dist/clients/IndustryClient.d.mts +86 -0
- package/dist/clients/IndustryClient.d.ts +4 -4
- package/dist/clients/IndustryClient.d.ts.map +1 -1
- package/dist/clients/InsuranceClient.d.mts +14 -0
- package/dist/clients/KillmailsClient.d.mts +37 -0
- package/dist/clients/LocationClient.d.mts +32 -0
- package/dist/clients/LoyaltyClient.d.mts +28 -0
- package/dist/clients/MailClient.d.mts +104 -0
- package/dist/clients/MailClient.d.ts +4 -4
- package/dist/clients/MailClient.d.ts.map +1 -1
- package/dist/clients/MarketClient.d.mts +102 -0
- package/dist/clients/MercenaryClient.d.mts +42 -0
- package/dist/clients/MetaClient.d.mts +45 -0
- package/dist/clients/MetaClient.d.ts +3 -2
- package/dist/clients/MetaClient.d.ts.map +1 -1
- package/dist/clients/MilitaryCampaignsClient.d.mts +53 -0
- package/dist/clients/ParagonHubClient.d.mts +13 -0
- package/dist/clients/PiClient.d.mts +45 -0
- package/dist/clients/RouteClient.d.mts +25 -0
- package/dist/clients/SearchClient.d.mts +17 -0
- package/dist/clients/SkillsClient.d.mts +39 -0
- package/dist/clients/SkyhooksClient.d.mts +48 -0
- package/dist/clients/SovereigntyClient.d.mts +20 -0
- package/dist/clients/StatusClient.d.mts +14 -0
- package/dist/clients/UiClient.d.mts +44 -0
- package/dist/clients/UniverseClient.d.mts +212 -0
- package/dist/clients/WalletClient.d.mts +70 -0
- package/dist/clients/WalletClient.d.ts +4 -4
- package/dist/clients/WalletClient.d.ts.map +1 -1
- package/dist/clients/WarsClient.d.mts +33 -0
- package/dist/core/ApiClient.d.mts +73 -0
- package/dist/core/ApiClient.d.ts +4 -0
- package/dist/core/ApiClient.d.ts.map +1 -1
- package/dist/core/ApiClientBuilder.d.mts +24 -0
- package/dist/core/ApiRequestHandler.d.ts.map +1 -1
- package/dist/core/BatchRequestHandler.d.mts +12 -0
- package/dist/core/BatchRequestHandler.d.ts.map +1 -1
- package/dist/core/ClientRegistry.d.mts +45 -0
- package/dist/core/EsiDiagnostics.d.mts +35 -0
- package/dist/core/IDeduplicator.d.mts +22 -0
- package/dist/core/IDeduplicator.d.ts +16 -0
- package/dist/core/IDeduplicator.d.ts.map +1 -1
- package/dist/core/IRetryStrategy.d.mts +5 -0
- package/dist/core/RequestDeduplicator.d.mts +21 -0
- package/dist/core/RequestDeduplicator.d.ts +13 -0
- package/dist/core/RequestDeduplicator.d.ts.map +1 -1
- package/dist/core/RetryStrategy.d.mts +21 -0
- package/dist/core/RetryStrategy.d.ts +2 -0
- package/dist/core/RetryStrategy.d.ts.map +1 -1
- package/dist/core/cache/ETagCacheManager.d.mts +75 -0
- package/dist/core/cache/ETagCacheManager.d.ts +4 -0
- package/dist/core/cache/ETagCacheManager.d.ts.map +1 -1
- package/dist/core/cache/ICache.d.mts +27 -0
- package/dist/core/cache/cacheKey.d.ts +11 -0
- package/dist/core/cache/cacheKey.d.ts.map +1 -1
- package/dist/core/circuitBreaker/CircuitBreaker.d.mts +52 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts +3 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
- package/dist/core/circuitBreaker/ICircuitBreaker.d.mts +23 -0
- package/dist/core/configureApiClient.d.mts +18 -0
- package/dist/core/configureApiClient.d.ts.map +1 -1
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/endpoints/EndpointDefinition.d.mts +63 -0
- package/dist/core/endpoints/accessListEndpoints.d.mts +34 -0
- package/dist/core/endpoints/allianceEndpoints.d.mts +43 -0
- package/dist/core/endpoints/assetEndpoints.d.mts +76 -0
- package/dist/core/endpoints/buildEndpointPath.d.mts +7 -0
- package/dist/core/endpoints/calendarEndpoints.d.mts +54 -0
- package/dist/core/endpoints/calendarEndpoints.d.ts +7 -7
- package/dist/core/endpoints/characterEndpoints.d.mts +185 -0
- package/dist/core/endpoints/characterEndpoints.d.ts +2 -2
- package/dist/core/endpoints/cloneEndpoints.d.mts +32 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts +2 -2
- package/dist/core/endpoints/contactEndpoints.d.mts +106 -0
- package/dist/core/endpoints/contractEndpoints.d.mts +168 -0
- package/dist/core/endpoints/contractEndpoints.d.ts +15 -22
- package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationEndpoints.d.mts +324 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts +19 -22
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationProjectEndpoints.d.mts +102 -0
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts +75 -23
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/cosmeticsEndpoints.d.mts +52 -0
- package/dist/core/endpoints/createClient.d.mts +69 -0
- package/dist/core/endpoints/createClient.d.ts.map +1 -1
- package/dist/core/endpoints/dogmaEndpoints.d.mts +89 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts +2 -2
- package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.mts +7 -0
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-scopes.generated.d.mts +3 -0
- package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
- package/dist/core/endpoints/factionEndpoints.d.mts +194 -0
- package/dist/core/endpoints/factionEndpoints.d.ts +36 -36
- package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/fittingEndpoints.d.mts +34 -0
- package/dist/core/endpoints/fleetEndpoints.d.mts +137 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts +1 -1
- package/dist/core/endpoints/freelanceJobsEndpoints.d.mts +181 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +131 -122
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/incursionEndpoints.d.mts +19 -0
- package/dist/core/endpoints/industryEndpoints.d.mts +138 -0
- package/dist/core/endpoints/industryEndpoints.d.ts +6 -6
- package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/insuranceEndpoints.d.mts +17 -0
- package/dist/core/endpoints/killmailEndpoints.d.mts +62 -0
- package/dist/core/endpoints/locationEndpoints.d.mts +37 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.mts +32 -0
- package/dist/core/endpoints/mailEndpoints.d.mts +111 -0
- package/dist/core/endpoints/mailEndpoints.d.ts +3 -5
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/marketEndpoints.d.mts +191 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.mts +79 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.ts +1 -1
- package/dist/core/endpoints/metaEndpoints.d.mts +50 -0
- package/dist/core/endpoints/metaEndpoints.d.ts +5 -1
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/militaryCampaignEndpoints.d.mts +87 -0
- package/dist/core/endpoints/paragonHubEndpoints.d.mts +163 -0
- package/dist/core/endpoints/piEndpoints.d.mts +101 -0
- package/dist/core/endpoints/piEndpoints.d.ts +2 -2
- package/dist/core/endpoints/routeEndpoints.d.mts +14 -0
- package/dist/core/endpoints/searchEndpoints.d.mts +26 -0
- package/dist/core/endpoints/skillEndpoints.d.mts +52 -0
- package/dist/core/endpoints/skyhookEndpoints.d.mts +111 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.mts +59 -0
- package/dist/core/endpoints/statusEndpoints.d.mts +14 -0
- package/dist/core/endpoints/statusEndpoints.d.ts +1 -1
- package/dist/core/endpoints/uiEndpoints.d.mts +43 -0
- package/dist/core/endpoints/universeEndpoints.d.mts +456 -0
- package/dist/core/endpoints/universeEndpoints.d.ts +22 -22
- package/dist/core/endpoints/walletEndpoints.d.mts +98 -0
- package/dist/core/endpoints/walletEndpoints.d.ts +2 -3
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/warEndpoints.d.mts +51 -0
- package/dist/core/logger/DefaultLogger.d.mts +31 -0
- package/dist/core/logger/DefaultLogger.d.ts +31 -0
- package/dist/core/logger/DefaultLogger.d.ts.map +1 -0
- package/dist/core/logger/ILogger.d.mts +17 -0
- package/dist/core/logger/ILogger.d.ts +14 -4
- package/dist/core/logger/ILogger.d.ts.map +1 -1
- package/dist/core/logger/NoopLogger.d.mts +7 -0
- package/dist/core/logger/NoopLogger.d.ts +4 -0
- package/dist/core/logger/NoopLogger.d.ts.map +1 -1
- package/dist/core/logger/clientLog.d.ts +11 -0
- package/dist/core/logger/clientLog.d.ts.map +1 -0
- package/dist/core/logger/logger.d.ts +11 -3
- package/dist/core/logger/logger.d.ts.map +1 -1
- package/dist/core/logger/loggerUtil.d.mts +11 -0
- package/dist/core/logger/loggerUtil.d.ts +8 -6
- package/dist/core/logger/loggerUtil.d.ts.map +1 -1
- package/dist/core/logger/resolveLogger.d.ts +10 -0
- package/dist/core/logger/resolveLogger.d.ts.map +1 -0
- package/dist/core/middleware/Middleware.d.mts +30 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.mts +12 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -1
- package/dist/core/pagination/CursorPaginationHandler.d.mts +68 -0
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
- package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
- package/dist/core/rateLimiter/IRateLimiter.d.mts +27 -0
- package/dist/core/rateLimiter/RateLimiter.d.mts +62 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts +25 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -1
- package/dist/core/requestPipeline/fetchExecution.d.ts +1 -1
- package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -1
- package/dist/core/requestPipeline/headers.d.ts.map +1 -1
- package/dist/core/requestPipeline/index.d.ts +2 -2
- package/dist/core/requestPipeline/index.d.ts.map +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -1
- package/dist/core/requestPipeline/statusHandling.d.ts +14 -2
- package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -1
- package/dist/core/util/concurrency.d.ts +29 -0
- package/dist/core/util/concurrency.d.ts.map +1 -0
- package/dist/core/util/error.d.mts +37 -0
- package/dist/core/util/retry.d.mts +8 -0
- package/dist/core/util/retry.d.ts.map +1 -1
- package/dist/errors.d.mts +5 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +53 -195
- package/dist/errors.js.map +1 -1
- package/dist/errors.mjs +37 -129
- package/dist/errors.mjs.map +1 -1
- package/dist/index.d.mts +81 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2195 -3517
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1833 -3044
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/access-lists.d.mts +16 -0
- package/dist/schemas/alliance.d.mts +26 -0
- package/dist/schemas/assets.d.mts +24 -0
- package/dist/schemas/calendar.d.mts +27 -0
- package/dist/schemas/calendar.d.ts +9 -7
- package/dist/schemas/calendar.d.ts.map +1 -1
- package/dist/schemas/character.d.mts +109 -0
- package/dist/schemas/character.d.ts +2 -2
- package/dist/schemas/clones.d.mts +17 -0
- package/dist/schemas/clones.d.ts +2 -2
- package/dist/schemas/common.d.mts +74 -0
- package/dist/schemas/contacts.d.mts +14 -0
- package/dist/schemas/contracts.d.mts +104 -0
- package/dist/schemas/contracts.d.ts +69 -6
- package/dist/schemas/contracts.d.ts.map +1 -1
- package/dist/schemas/corporation-projects.d.mts +104 -0
- package/dist/schemas/corporation-projects.d.ts +96 -9
- package/dist/schemas/corporation-projects.d.ts.map +1 -1
- package/dist/schemas/corporation.d.mts +193 -0
- package/dist/schemas/corporation.d.ts +34 -22
- package/dist/schemas/corporation.d.ts.map +1 -1
- package/dist/schemas/cosmetics.d.mts +58 -0
- package/dist/schemas/dogma.d.mts +57 -0
- package/dist/schemas/dogma.d.ts +2 -2
- package/dist/schemas/esiEnum.d.mts +3 -0
- package/dist/schemas/faction-warfare.d.mts +203 -0
- package/dist/schemas/faction-warfare.d.ts +125 -12
- package/dist/schemas/faction-warfare.d.ts.map +1 -1
- package/dist/schemas/fittings.d.mts +13 -0
- package/dist/schemas/fleet.d.mts +37 -0
- package/dist/schemas/fleet.d.ts +1 -1
- package/dist/schemas/freelance-jobs.d.mts +171 -0
- package/dist/schemas/freelance-jobs.d.ts +52 -22
- package/dist/schemas/freelance-jobs.d.ts.map +1 -1
- package/dist/schemas/incursions.d.mts +12 -0
- package/dist/schemas/index.d.mts +39 -0
- package/dist/schemas/index.js +420 -2479
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/index.mjs +225 -2065
- package/dist/schemas/index.mjs.map +1 -1
- package/dist/schemas/industry.d.mts +99 -0
- package/dist/schemas/industry.d.ts +33 -0
- package/dist/schemas/industry.d.ts.map +1 -1
- package/dist/schemas/insurance.d.mts +10 -0
- package/dist/schemas/killmails.d.mts +38 -0
- package/dist/schemas/location.d.mts +18 -0
- package/dist/schemas/loyalty.d.mts +18 -0
- package/dist/schemas/mail.d.mts +53 -0
- package/dist/schemas/mail.d.ts +24 -5
- package/dist/schemas/mail.d.ts.map +1 -1
- package/dist/schemas/market.d.mts +123 -0
- package/dist/schemas/mercenary.d.mts +74 -0
- package/dist/schemas/mercenary.d.ts +1 -1
- package/dist/schemas/meta.d.mts +36 -0
- package/dist/schemas/meta.d.ts +12 -1
- package/dist/schemas/meta.d.ts.map +1 -1
- package/dist/schemas/military-campaigns.d.mts +26 -0
- package/dist/schemas/paragon-hub.d.mts +96 -0
- package/dist/schemas/pi.d.mts +71 -0
- package/dist/schemas/pi.d.ts +2 -2
- package/dist/schemas/skills.d.mts +28 -0
- package/dist/schemas/skyhooks.d.mts +129 -0
- package/dist/schemas/sovereignty.d.mts +56 -0
- package/dist/schemas/status.d.mts +8 -0
- package/dist/schemas/status.d.ts +1 -1
- package/dist/schemas/universe.d.mts +285 -0
- package/dist/schemas/universe.d.ts +22 -22
- package/dist/schemas/universe.d.ts.map +1 -1
- package/dist/schemas/wallet.d.mts +45 -0
- package/dist/schemas/wallet.d.ts +16 -0
- package/dist/schemas/wallet.d.ts.map +1 -1
- package/dist/schemas/wars.d.mts +27 -0
- package/dist/sde/IStaticDataProvider.d.mts +106 -0
- package/dist/sde/MemorySdeProvider.d.mts +167 -0
- package/dist/sde/SdeDataProvider.d.mts +119 -0
- package/dist/sde/SdeDataProvider.d.ts.map +1 -1
- package/dist/sde/SdeTestDataFactory.d.mts +33 -0
- package/dist/sde/errors.d.mts +23 -0
- package/dist/sde/index.d.mts +9 -0
- package/dist/sde/index.js +95 -1162
- package/dist/sde/index.js.map +1 -1
- package/dist/sde/index.mjs +73 -1091
- package/dist/sde/index.mjs.map +1 -1
- package/dist/sde/ingestion/SdeExtractor.d.ts.map +1 -1
- package/dist/sde/ingestion/metadata.d.ts +13 -0
- package/dist/sde/ingestion/metadata.d.ts.map +1 -0
- package/dist/sde/memory.d.mts +8 -0
- package/dist/sde/memory.js +21 -1095
- package/dist/sde/memory.js.map +1 -1
- package/dist/sde/memory.mjs +13 -1051
- package/dist/sde/memory.mjs.map +1 -1
- package/dist/sde/optionalPeers.d.ts +25 -0
- package/dist/sde/optionalPeers.d.ts.map +1 -0
- package/dist/sde/types.d.mts +1039 -0
- package/dist/sde/version.d.mts +7 -0
- package/dist/testing/TestDataFactory.d.mts +172 -0
- package/dist/testing/TestDataFactory.d.ts +28 -1
- package/dist/testing/TestDataFactory.d.ts.map +1 -1
- package/dist/testing/index.d.mts +2 -0
- package/dist/testing/index.js +116 -125
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/index.mjs +110 -82
- package/dist/testing/index.mjs.map +1 -1
- package/dist/types/access-lists.d.mts +5 -0
- package/dist/types/alliance.d.mts +7 -0
- package/dist/types/api-responses.d.mts +40 -0
- package/dist/types/assets.d.mts +6 -0
- package/dist/types/branded.d.mts +23 -0
- package/dist/types/calendar.d.mts +6 -0
- package/dist/types/character.d.mts +17 -0
- package/dist/types/clones.d.mts +4 -0
- package/dist/types/common.d.mts +19 -0
- package/dist/types/contacts.d.mts +5 -0
- package/dist/types/contracts.d.mts +9 -0
- package/dist/types/contracts.d.ts +4 -1
- package/dist/types/contracts.d.ts.map +1 -1
- package/dist/types/corporation-projects.d.mts +10 -0
- package/dist/types/corporation-projects.d.ts +5 -1
- package/dist/types/corporation-projects.d.ts.map +1 -1
- package/dist/types/corporation.d.mts +19 -0
- package/dist/types/cosmetics.d.mts +8 -0
- package/dist/types/dogma.d.mts +6 -0
- package/dist/types/faction-warfare.d.mts +17 -0
- package/dist/types/faction-warfare.d.ts +9 -1
- package/dist/types/faction-warfare.d.ts.map +1 -1
- package/dist/types/fittings.d.mts +4 -0
- package/dist/types/fleet.d.mts +7 -0
- package/dist/types/freelance-jobs.d.mts +12 -0
- package/dist/types/freelance-jobs.d.ts +2 -1
- package/dist/types/freelance-jobs.d.ts.map +1 -1
- package/dist/types/generated/esi-spec.generated.d.mts +2136 -0
- package/dist/types/generated/esi-spec.generated.d.ts +164 -16
- package/dist/types/generated/esi-spec.generated.d.ts.map +1 -1
- package/dist/types/generated/spec-alignment.check.d.ts +2 -2
- package/dist/types/incursions.d.mts +4 -0
- package/dist/types/industry.d.mts +11 -0
- package/dist/types/industry.d.ts +2 -1
- package/dist/types/industry.d.ts.map +1 -1
- package/dist/types/insurance.d.mts +4 -0
- package/dist/types/killmails.d.mts +5 -0
- package/dist/types/location.d.mts +6 -0
- package/dist/types/loyalty.d.mts +5 -0
- package/dist/types/mail.d.mts +6 -0
- package/dist/types/mail.d.ts +2 -1
- package/dist/types/mail.d.ts.map +1 -1
- package/dist/types/market.d.mts +12 -0
- package/dist/types/mercenary.d.mts +7 -0
- package/dist/types/meta.d.mts +9 -0
- package/dist/types/meta.d.ts +2 -1
- package/dist/types/meta.d.ts.map +1 -1
- package/dist/types/military-campaigns.d.mts +6 -0
- package/dist/types/paragon-hub.d.mts +8 -0
- package/dist/types/pi.d.mts +6 -0
- package/dist/types/skills.d.mts +5 -0
- package/dist/types/skyhooks.d.mts +8 -0
- package/dist/types/sovereignty.d.mts +6 -0
- package/dist/types/status.d.mts +4 -0
- package/dist/types/universe.d.mts +27 -0
- package/dist/types/wallet.d.mts +6 -0
- package/dist/types/wallet.d.ts +2 -1
- package/dist/types/wallet.d.ts.map +1 -1
- package/dist/types/wars.d.mts +4 -0
- package/package.json +137 -46
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { industryEndpoints } from '../core/endpoints/industryEndpoints.mjs';
|
|
4
|
+
import { IndustryJob, CorporationIndustryJob, MiningLedgerEntry, IndustryFacility, IndustrySystem, MoonExtractionTimer, MiningObserver, MiningObserverEntry } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class IndustryClient extends BaseEsiClient<typeof industryEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves all industry jobs for a character, including manufacturing, research, and invention.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character
|
|
12
|
+
* @returns An array of the character's industry jobs
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getCharacterIndustryJobs(characterId: number): Promise<IndustryJob[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a character's personal mining ledger, showing ore mined per day.
|
|
18
|
+
*
|
|
19
|
+
* @param characterId - The ID of the character
|
|
20
|
+
* @returns An array of mining ledger entries
|
|
21
|
+
* @requires Authentication
|
|
22
|
+
*/
|
|
23
|
+
getCharacterMiningLedger(characterId: number): Promise<MiningLedgerEntry[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves moon extraction timers for a corporation's refineries.
|
|
26
|
+
*
|
|
27
|
+
* @param corporationId - The ID of the corporation
|
|
28
|
+
* @returns An array of moon extraction timers
|
|
29
|
+
* @requires Authentication
|
|
30
|
+
*/
|
|
31
|
+
getMoonExtractionTimers(corporationId: number): Promise<MoonExtractionTimer[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves the list of mining observers (e.g., refineries) owned by a corporation.
|
|
34
|
+
*
|
|
35
|
+
* @param corporationId - The ID of the corporation
|
|
36
|
+
* @returns An array of mining observers
|
|
37
|
+
* @requires Authentication
|
|
38
|
+
*/
|
|
39
|
+
getCorporationMiningObservers(corporationId: number): Promise<MiningObserver[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieves mining activity recorded by a specific corporation mining observer.
|
|
42
|
+
*
|
|
43
|
+
* @param corporationId - The ID of the corporation
|
|
44
|
+
* @param observerId - The ID of the mining observer
|
|
45
|
+
* @returns An array of mining activity entries for the observer
|
|
46
|
+
* @requires Authentication
|
|
47
|
+
*/
|
|
48
|
+
getCorporationMiningObserver(corporationId: number, observerId: number): Promise<MiningObserverEntry[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Retrieves all industry jobs for a corporation, including manufacturing, research, and invention.
|
|
51
|
+
*
|
|
52
|
+
* @param corporationId - The ID of the corporation
|
|
53
|
+
* @returns An array of the corporation's industry jobs
|
|
54
|
+
* @requires Authentication
|
|
55
|
+
*/
|
|
56
|
+
getCorporationIndustryJobs(corporationId: number): Promise<CorporationIndustryJob[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves a list of all publicly available industry facilities in the universe.
|
|
59
|
+
*
|
|
60
|
+
* @returns An array of industry facilities
|
|
61
|
+
*/
|
|
62
|
+
getIndustryFacilities(): Promise<IndustryFacility[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves cost indices for solar systems with industry activity, used to calculate job installation fees.
|
|
65
|
+
*
|
|
66
|
+
* @returns An array of industry system cost indices
|
|
67
|
+
*/
|
|
68
|
+
getIndustrySystems(): Promise<IndustrySystem[]>;
|
|
69
|
+
fetchAllCharacterIndustryJobs(characterId: number, concurrency?: number): Promise<IndustryJob[]>;
|
|
70
|
+
fetchAllCharacterMiningLedger(characterId: number, concurrency?: number): Promise<MiningLedgerEntry[]>;
|
|
71
|
+
fetchAllCorporationIndustryJobs(corporationId: number, concurrency?: number): Promise<CorporationIndustryJob[]>;
|
|
72
|
+
fetchAllMoonExtractionTimers(corporationId: number, concurrency?: number): Promise<MoonExtractionTimer[]>;
|
|
73
|
+
fetchAllCorporationMiningObservers(corporationId: number, concurrency?: number): Promise<MiningObserver[]>;
|
|
74
|
+
fetchAllCorporationMiningObserver(corporationId: number, observerId: number, concurrency?: number): Promise<MiningObserverEntry[]>;
|
|
75
|
+
fetchAllIndustryFacilities(concurrency?: number): Promise<IndustryFacility[]>;
|
|
76
|
+
fetchAllIndustrySystems(concurrency?: number): Promise<IndustrySystem[]>;
|
|
77
|
+
streamCharacterIndustryJobs(characterId: number): AsyncGenerator<PageResult<IndustryJob>, void, undefined>;
|
|
78
|
+
streamCharacterMiningLedger(characterId: number): AsyncGenerator<PageResult<MiningLedgerEntry>, void, undefined>;
|
|
79
|
+
streamCorporationIndustryJobs(corporationId: number): AsyncGenerator<PageResult<CorporationIndustryJob>, void, undefined>;
|
|
80
|
+
streamMoonExtractionTimers(corporationId: number): AsyncGenerator<PageResult<MoonExtractionTimer>, void, undefined>;
|
|
81
|
+
streamCorporationMiningObservers(corporationId: number): AsyncGenerator<PageResult<MiningObserver>, void, undefined>;
|
|
82
|
+
streamCorporationMiningObserver(corporationId: number, observerId: number): AsyncGenerator<PageResult<MiningObserverEntry>, void, undefined>;
|
|
83
|
+
streamIndustryFacilities(): AsyncGenerator<PageResult<IndustryFacility>, void, undefined>;
|
|
84
|
+
streamIndustrySystems(): AsyncGenerator<PageResult<IndustrySystem>, void, undefined>;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=IndustryClient.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiClient } from '../core/ApiClient';
|
|
2
2
|
import { BaseEsiClient } from './BaseEsiClient';
|
|
3
3
|
import { industryEndpoints } from '../core/endpoints/industryEndpoints';
|
|
4
|
-
import { IndustryJob, MiningLedgerEntry, IndustryFacility, IndustrySystem, MoonExtractionTimer, MiningObserver, MiningObserverEntry } from '../types/api-responses';
|
|
4
|
+
import { IndustryJob, CorporationIndustryJob, MiningLedgerEntry, IndustryFacility, IndustrySystem, MoonExtractionTimer, MiningObserver, MiningObserverEntry } from '../types/api-responses';
|
|
5
5
|
import { PageResult } from '../core/pagination/AsyncPaginationIterator';
|
|
6
6
|
export declare class IndustryClient extends BaseEsiClient<typeof industryEndpoints> {
|
|
7
7
|
constructor(client: ApiClient);
|
|
@@ -53,7 +53,7 @@ export declare class IndustryClient extends BaseEsiClient<typeof industryEndpoin
|
|
|
53
53
|
* @returns An array of the corporation's industry jobs
|
|
54
54
|
* @requires Authentication
|
|
55
55
|
*/
|
|
56
|
-
getCorporationIndustryJobs(corporationId: number): Promise<
|
|
56
|
+
getCorporationIndustryJobs(corporationId: number): Promise<CorporationIndustryJob[]>;
|
|
57
57
|
/**
|
|
58
58
|
* Retrieves a list of all publicly available industry facilities in the universe.
|
|
59
59
|
*
|
|
@@ -68,7 +68,7 @@ export declare class IndustryClient extends BaseEsiClient<typeof industryEndpoin
|
|
|
68
68
|
getIndustrySystems(): Promise<IndustrySystem[]>;
|
|
69
69
|
fetchAllCharacterIndustryJobs(characterId: number, concurrency?: number): Promise<IndustryJob[]>;
|
|
70
70
|
fetchAllCharacterMiningLedger(characterId: number, concurrency?: number): Promise<MiningLedgerEntry[]>;
|
|
71
|
-
fetchAllCorporationIndustryJobs(corporationId: number, concurrency?: number): Promise<
|
|
71
|
+
fetchAllCorporationIndustryJobs(corporationId: number, concurrency?: number): Promise<CorporationIndustryJob[]>;
|
|
72
72
|
fetchAllMoonExtractionTimers(corporationId: number, concurrency?: number): Promise<MoonExtractionTimer[]>;
|
|
73
73
|
fetchAllCorporationMiningObservers(corporationId: number, concurrency?: number): Promise<MiningObserver[]>;
|
|
74
74
|
fetchAllCorporationMiningObserver(corporationId: number, observerId: number, concurrency?: number): Promise<MiningObserverEntry[]>;
|
|
@@ -76,7 +76,7 @@ export declare class IndustryClient extends BaseEsiClient<typeof industryEndpoin
|
|
|
76
76
|
fetchAllIndustrySystems(concurrency?: number): Promise<IndustrySystem[]>;
|
|
77
77
|
streamCharacterIndustryJobs(characterId: number): AsyncGenerator<PageResult<IndustryJob>, void, undefined>;
|
|
78
78
|
streamCharacterMiningLedger(characterId: number): AsyncGenerator<PageResult<MiningLedgerEntry>, void, undefined>;
|
|
79
|
-
streamCorporationIndustryJobs(corporationId: number): AsyncGenerator<PageResult<
|
|
79
|
+
streamCorporationIndustryJobs(corporationId: number): AsyncGenerator<PageResult<CorporationIndustryJob>, void, undefined>;
|
|
80
80
|
streamMoonExtractionTimers(corporationId: number): AsyncGenerator<PageResult<MoonExtractionTimer>, void, undefined>;
|
|
81
81
|
streamCorporationMiningObservers(corporationId: number): AsyncGenerator<PageResult<MiningObserver>, void, undefined>;
|
|
82
82
|
streamCorporationMiningObserver(corporationId: number, observerId: number): AsyncGenerator<PageResult<MiningObserverEntry>, void, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndustryClient.d.ts","sourceRoot":"","sources":["../../src/clients/IndustryClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAExE,qBAAa,cAAe,SAAQ,aAAa,CAAC,OAAO,iBAAiB,CAAC;gBAC7D,MAAM,EAAE,SAAS;IAI7B;;;;;;OAMG;IACH,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAIrE;;;;;;OAMG;IACH,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAI3E;;;;;;OAMG;IACH,uBAAuB,CACrB,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIjC;;;;;;OAMG;IACH,6BAA6B,CAC3B,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,cAAc,EAAE,CAAC;IAI5B;;;;;;;OAOG;IACH,4BAA4B,CAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIjC;;;;;;OAMG;IACH,0BAA0B,
|
|
1
|
+
{"version":3,"file":"IndustryClient.d.ts","sourceRoot":"","sources":["../../src/clients/IndustryClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,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U,EAAE,MAAM,GACjB,cAAc,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC;IAQnE,wBAAwB,IAAI,cAAc,CACxC,UAAU,CAAC,gBAAgB,CAAC,EAC5B,IAAI,EACJ,SAAS,CACV;IAID,qBAAqB,IAAI,cAAc,CACrC,UAAU,CAAC,cAAc,CAAC,EAC1B,IAAI,EACJ,SAAS,CACV;CAGF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { insuranceEndpoints } from '../core/endpoints/insuranceEndpoints.mjs';
|
|
4
|
+
import { InsurancePrice } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class InsuranceClient extends BaseEsiClient<typeof insuranceEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves available insurance levels and their costs for all ship types.
|
|
9
|
+
*
|
|
10
|
+
* @returns An array of insurance price listings per ship type
|
|
11
|
+
*/
|
|
12
|
+
getInsurancePrices(): Promise<InsurancePrice[]>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=InsuranceClient.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { killmailEndpoints } from '../core/endpoints/killmailEndpoints.mjs';
|
|
4
|
+
import { KillmailSummary, Killmail } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class KillmailsClient extends BaseEsiClient<typeof killmailEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a list of recent killmail summaries for a character.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character to fetch killmails for
|
|
12
|
+
* @returns A list of recent killmail summaries including killmail IDs and hashes
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getCharacterRecentKillmails(characterId: number): Promise<KillmailSummary[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a list of recent killmail summaries for a corporation.
|
|
18
|
+
*
|
|
19
|
+
* @param corporationId - The ID of the corporation to fetch killmails for
|
|
20
|
+
* @returns A list of recent killmail summaries including killmail IDs and hashes
|
|
21
|
+
* @requires Authentication
|
|
22
|
+
*/
|
|
23
|
+
getCorporationRecentKillmails(corporationId: number): Promise<KillmailSummary[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves the full details of a specific killmail by its ID and hash.
|
|
26
|
+
*
|
|
27
|
+
* @param killmailId - The ID of the killmail to retrieve
|
|
28
|
+
* @param killmailHash - The hash of the killmail for verification
|
|
29
|
+
* @returns The full killmail details including victim, attackers, and items
|
|
30
|
+
*/
|
|
31
|
+
getKillmail(killmailId: number, killmailHash: string): Promise<Killmail>;
|
|
32
|
+
fetchAllCharacterRecentKillmails(characterId: number, concurrency?: number): Promise<KillmailSummary[]>;
|
|
33
|
+
fetchAllCorporationRecentKillmails(corporationId: number, concurrency?: number): Promise<KillmailSummary[]>;
|
|
34
|
+
streamCharacterRecentKillmails(characterId: number): AsyncGenerator<PageResult<KillmailSummary>, void, undefined>;
|
|
35
|
+
streamCorporationRecentKillmails(corporationId: number): AsyncGenerator<PageResult<KillmailSummary>, void, undefined>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=KillmailsClient.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { locationEndpoints } from '../core/endpoints/locationEndpoints.mjs';
|
|
4
|
+
import { CharacterLocation, CharacterOnline, CharacterShip } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class LocationClient extends BaseEsiClient<typeof locationEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the current solar system, station, and structure location of a character.
|
|
9
|
+
*
|
|
10
|
+
* @param characterId - The ID of the character to locate
|
|
11
|
+
* @returns The character's current location including solar system and optional station or structure
|
|
12
|
+
* @requires Authentication
|
|
13
|
+
*/
|
|
14
|
+
getCharacterLocation(characterId: number): Promise<CharacterLocation>;
|
|
15
|
+
/**
|
|
16
|
+
* Checks whether a character is currently online and retrieves login/logout timestamps.
|
|
17
|
+
*
|
|
18
|
+
* @param characterId - The ID of the character to check
|
|
19
|
+
* @returns The character's online status and last login/logout times
|
|
20
|
+
* @requires Authentication
|
|
21
|
+
*/
|
|
22
|
+
getCharacterOnline(characterId: number): Promise<CharacterOnline>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves the type, name, and item ID of the ship a character is currently flying.
|
|
25
|
+
*
|
|
26
|
+
* @param characterId - The ID of the character whose ship to retrieve
|
|
27
|
+
* @returns The character's current ship details including type ID and ship name
|
|
28
|
+
* @requires Authentication
|
|
29
|
+
*/
|
|
30
|
+
getCharacterShip(characterId: number): Promise<CharacterShip>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=LocationClient.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { loyaltyEndpoints } from '../core/endpoints/loyaltyEndpoints.mjs';
|
|
4
|
+
import { LoyaltyPoints, LoyaltyStoreOffer } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class LoyaltyClient extends BaseEsiClient<typeof loyaltyEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the loyalty points a character has earned with each NPC corporation.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character to fetch loyalty points for
|
|
12
|
+
* @returns A list of loyalty point balances per corporation
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getLoyaltyPoints(characterId: number): Promise<LoyaltyPoints[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the list of items available in an NPC corporation's loyalty point store.
|
|
18
|
+
*
|
|
19
|
+
* @param corporationId - The ID of the NPC corporation whose LP store to query
|
|
20
|
+
* @returns A list of offers available in the loyalty store
|
|
21
|
+
*/
|
|
22
|
+
getLoyaltyStoreOffers(corporationId: number): Promise<LoyaltyStoreOffer[]>;
|
|
23
|
+
fetchAllLoyaltyPoints(characterId: number, concurrency?: number): Promise<LoyaltyPoints[]>;
|
|
24
|
+
fetchAllLoyaltyStoreOffers(corporationId: number, concurrency?: number): Promise<LoyaltyStoreOffer[]>;
|
|
25
|
+
streamLoyaltyPoints(characterId: number): AsyncGenerator<PageResult<LoyaltyPoints>, void, undefined>;
|
|
26
|
+
streamLoyaltyStoreOffers(corporationId: number): AsyncGenerator<PageResult<LoyaltyStoreOffer>, void, undefined>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=LoyaltyClient.d.ts.map
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { mailEndpoints } from '../core/endpoints/mailEndpoints.mjs';
|
|
4
|
+
import { MailHeader, MailMessage, MailLabel } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class MailClient extends BaseEsiClient<typeof mailEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the mail headers (subject, sender, timestamp) for a character's inbox.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character whose mail headers to fetch
|
|
12
|
+
* @returns A list of mail message headers
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getMailHeaders(characterId: number): Promise<MailHeader[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Sends a new mail on behalf of a character via POST.
|
|
18
|
+
*
|
|
19
|
+
* @param characterId - The ID of the character sending the mail
|
|
20
|
+
* @param body - The mail content including recipients, subject, and body text
|
|
21
|
+
* @returns The ID of the newly created mail
|
|
22
|
+
* @requires Authentication
|
|
23
|
+
*/
|
|
24
|
+
sendMail(characterId: number, body: object): Promise<number>;
|
|
25
|
+
/**
|
|
26
|
+
* Deletes a specific mail from a character's mailbox.
|
|
27
|
+
*
|
|
28
|
+
* @param characterId - The ID of the character who owns the mail
|
|
29
|
+
* @param mailId - The ID of the mail to delete
|
|
30
|
+
* @returns void
|
|
31
|
+
* @requires Authentication
|
|
32
|
+
*/
|
|
33
|
+
deleteMail(characterId: number, mailId: number): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves the full contents of a specific mail including its body text.
|
|
36
|
+
*
|
|
37
|
+
* @param characterId - The ID of the character who owns the mail
|
|
38
|
+
* @param mailId - The ID of the mail to retrieve
|
|
39
|
+
* @returns The full mail message including body, sender, and recipients
|
|
40
|
+
* @requires Authentication
|
|
41
|
+
*/
|
|
42
|
+
getMail(characterId: number, mailId: number): Promise<MailMessage>;
|
|
43
|
+
/**
|
|
44
|
+
* Updates the metadata of a mail, such as read status or labels, via PUT.
|
|
45
|
+
*
|
|
46
|
+
* @param characterId - The ID of the character who owns the mail
|
|
47
|
+
* @param mailId - The ID of the mail to update
|
|
48
|
+
* @param body - The metadata fields to update (e.g., labels, read status)
|
|
49
|
+
* @returns void
|
|
50
|
+
* @requires Authentication
|
|
51
|
+
*/
|
|
52
|
+
updateMailMetadata(characterId: number, mailId: number, body: object): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieves the mail labels and total unread count for a character.
|
|
55
|
+
*
|
|
56
|
+
* @param characterId - The ID of the character whose labels to fetch
|
|
57
|
+
* @returns The character's mail labels and total unread mail count
|
|
58
|
+
* @requires Authentication
|
|
59
|
+
*/
|
|
60
|
+
getMailLabels(characterId: number): Promise<{
|
|
61
|
+
total_unread_count?: number;
|
|
62
|
+
labels?: MailLabel[];
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Creates a new custom mail label for a character via POST.
|
|
66
|
+
*
|
|
67
|
+
* @param characterId - The ID of the character to create the label for
|
|
68
|
+
* @param body - The label definition including name and optional color
|
|
69
|
+
* @returns The ID of the newly created label
|
|
70
|
+
* @requires Authentication
|
|
71
|
+
*/
|
|
72
|
+
createMailLabel(characterId: number, body: object): Promise<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Deletes a custom mail label from a character's mailbox.
|
|
75
|
+
*
|
|
76
|
+
* @param characterId - The ID of the character who owns the label
|
|
77
|
+
* @param labelId - The ID of the label to delete
|
|
78
|
+
* @returns void
|
|
79
|
+
* @requires Authentication
|
|
80
|
+
*/
|
|
81
|
+
deleteMailLabel(characterId: number, labelId: number): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves the mailing lists that a character is subscribed to.
|
|
84
|
+
*
|
|
85
|
+
* @param characterId - The ID of the character whose mailing lists to fetch
|
|
86
|
+
* @returns A list of mailing lists with their IDs and names
|
|
87
|
+
* @requires Authentication
|
|
88
|
+
*/
|
|
89
|
+
getMailingLists(characterId: number): Promise<{
|
|
90
|
+
mailing_list_id: number;
|
|
91
|
+
name: string;
|
|
92
|
+
}[]>;
|
|
93
|
+
fetchAllMailHeaders(characterId: number, concurrency?: number): Promise<MailHeader[]>;
|
|
94
|
+
fetchAllMailingLists(characterId: number, concurrency?: number): Promise<{
|
|
95
|
+
mailing_list_id: number;
|
|
96
|
+
name: string;
|
|
97
|
+
}[]>;
|
|
98
|
+
streamMailHeaders(characterId: number): AsyncGenerator<PageResult<MailHeader>, void, undefined>;
|
|
99
|
+
streamMailingLists(characterId: number): AsyncGenerator<PageResult<{
|
|
100
|
+
mailing_list_id: number;
|
|
101
|
+
name: string;
|
|
102
|
+
}>, void, undefined>;
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=MailClient.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiClient } from '../core/ApiClient';
|
|
2
2
|
import { BaseEsiClient } from './BaseEsiClient';
|
|
3
3
|
import { mailEndpoints } from '../core/endpoints/mailEndpoints';
|
|
4
|
-
import { MailMessage, MailLabel } from '../types/api-responses';
|
|
4
|
+
import { MailHeader, MailMessage, MailLabel } from '../types/api-responses';
|
|
5
5
|
import { PageResult } from '../core/pagination/AsyncPaginationIterator';
|
|
6
6
|
export declare class MailClient extends BaseEsiClient<typeof mailEndpoints> {
|
|
7
7
|
constructor(client: ApiClient);
|
|
@@ -12,7 +12,7 @@ export declare class MailClient extends BaseEsiClient<typeof mailEndpoints> {
|
|
|
12
12
|
* @returns A list of mail message headers
|
|
13
13
|
* @requires Authentication
|
|
14
14
|
*/
|
|
15
|
-
getMailHeaders(characterId: number): Promise<
|
|
15
|
+
getMailHeaders(characterId: number): Promise<MailHeader[]>;
|
|
16
16
|
/**
|
|
17
17
|
* Sends a new mail on behalf of a character via POST.
|
|
18
18
|
*
|
|
@@ -90,12 +90,12 @@ export declare class MailClient extends BaseEsiClient<typeof mailEndpoints> {
|
|
|
90
90
|
mailing_list_id: number;
|
|
91
91
|
name: string;
|
|
92
92
|
}[]>;
|
|
93
|
-
fetchAllMailHeaders(characterId: number, concurrency?: number): Promise<
|
|
93
|
+
fetchAllMailHeaders(characterId: number, concurrency?: number): Promise<MailHeader[]>;
|
|
94
94
|
fetchAllMailingLists(characterId: number, concurrency?: number): Promise<{
|
|
95
95
|
mailing_list_id: number;
|
|
96
96
|
name: string;
|
|
97
97
|
}[]>;
|
|
98
|
-
streamMailHeaders(characterId: number): AsyncGenerator<PageResult<
|
|
98
|
+
streamMailHeaders(characterId: number): AsyncGenerator<PageResult<MailHeader>, void, undefined>;
|
|
99
99
|
streamMailingLists(characterId: number): AsyncGenerator<PageResult<{
|
|
100
100
|
mailing_list_id: number;
|
|
101
101
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MailClient.d.ts","sourceRoot":"","sources":["../../src/clients/MailClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"MailClient.d.ts","sourceRoot":"","sources":["../../src/clients/MailClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAExE,qBAAa,UAAW,SAAQ,aAAa,CAAC,OAAO,aAAa,CAAC;gBACrD,MAAM,EAAE,SAAS;IAI7B;;;;;;OAMG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAI1D;;;;;;;OAOG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI5D;;;;;;;OAOG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9D;;;;;;;OAOG;IACH,OAAO,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AAI,EAAE,MAAM,CAAA;KAAE,CAAC,EACrD,IAAI,EACJ,SAAS,CACV;CAMF"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { marketEndpoints } from '../core/endpoints/marketEndpoints.mjs';
|
|
4
|
+
import { MarketOrder, CharacterMarketOrder, CharacterMarketOrderHistory, CorporationMarketOrder, CorporationMarketOrderHistory, StructureMarketOrder, MarketHistory, MarketGroup, MarketPrice } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class MarketClient extends BaseEsiClient<typeof marketEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves all active market orders placed by a character.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character whose orders to fetch
|
|
12
|
+
* @returns A list of the character's open market orders
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getCharacterOrders(characterId: number): Promise<CharacterMarketOrder[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the history of expired and cancelled market orders for a character.
|
|
18
|
+
*
|
|
19
|
+
* @param characterId - The ID of the character whose order history to fetch
|
|
20
|
+
* @returns A list of the character's historical market orders
|
|
21
|
+
* @requires Authentication
|
|
22
|
+
*/
|
|
23
|
+
getCharacterOrderHistory(characterId: number): Promise<CharacterMarketOrderHistory[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves all active market orders placed by members of a corporation.
|
|
26
|
+
*
|
|
27
|
+
* @param corporationId - The ID of the corporation whose orders to fetch
|
|
28
|
+
* @returns A list of the corporation's open market orders
|
|
29
|
+
* @requires Authentication
|
|
30
|
+
*/
|
|
31
|
+
getCorporationOrders(corporationId: number): Promise<CorporationMarketOrder[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves the history of expired and cancelled market orders for a corporation.
|
|
34
|
+
*
|
|
35
|
+
* @param corporationId - The ID of the corporation whose order history to fetch
|
|
36
|
+
* @returns A list of the corporation's historical market orders
|
|
37
|
+
* @requires Authentication
|
|
38
|
+
*/
|
|
39
|
+
getCorporationOrderHistory(corporationId: number): Promise<CorporationMarketOrderHistory[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieves the daily price and volume history for a specific item type in a region.
|
|
42
|
+
*
|
|
43
|
+
* @param regionId - The ID of the region to fetch market history for
|
|
44
|
+
* @param typeId - The type ID of the item to get history for
|
|
45
|
+
* @returns A list of daily market history entries with price and volume data
|
|
46
|
+
*/
|
|
47
|
+
getMarketHistory(regionId: number, typeId: number): Promise<MarketHistory[]>;
|
|
48
|
+
/**
|
|
49
|
+
* Retrieves all active market orders in a region for all item types.
|
|
50
|
+
*
|
|
51
|
+
* @param regionId - The ID of the region to fetch orders for
|
|
52
|
+
* @returns A list of all active market orders in the region
|
|
53
|
+
*/
|
|
54
|
+
getMarketOrders(regionId: number): Promise<MarketOrder[]>;
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves the list of type IDs that have active market orders in a region.
|
|
57
|
+
*
|
|
58
|
+
* @param regionId - The ID of the region to check for active types
|
|
59
|
+
* @returns A list of type IDs with active orders in the region
|
|
60
|
+
*/
|
|
61
|
+
getMarketTypes(regionId: number): Promise<number[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Retrieves the list of all market group IDs used to categorize items on the market.
|
|
64
|
+
*
|
|
65
|
+
* @returns A list of all market group IDs
|
|
66
|
+
*/
|
|
67
|
+
getMarketGroups(): Promise<number[]>;
|
|
68
|
+
/**
|
|
69
|
+
* Retrieves detailed information about a specific market group, including its name, description, and contained types.
|
|
70
|
+
*
|
|
71
|
+
* @param marketGroupId - The ID of the market group to look up
|
|
72
|
+
* @returns The market group details including name, description, types, and optional parent group
|
|
73
|
+
*/
|
|
74
|
+
getMarketGroupInformation(marketGroupId: number): Promise<MarketGroup>;
|
|
75
|
+
/**
|
|
76
|
+
* Retrieves the global average and adjusted prices for all tradeable item types.
|
|
77
|
+
*
|
|
78
|
+
* @returns A list of item types with their average and adjusted market prices
|
|
79
|
+
*/
|
|
80
|
+
getMarketPrices(): Promise<MarketPrice[]>;
|
|
81
|
+
/**
|
|
82
|
+
* Retrieves all active market orders listed in a specific player-owned structure.
|
|
83
|
+
*
|
|
84
|
+
* @param structureId - The ID of the structure to fetch orders for
|
|
85
|
+
* @returns A list of active market orders in the structure
|
|
86
|
+
* @requires Authentication
|
|
87
|
+
*/
|
|
88
|
+
getMarketOrdersInStructure(structureId: number): Promise<StructureMarketOrder[]>;
|
|
89
|
+
fetchAllMarketOrders(regionId: number, concurrency?: number): Promise<MarketOrder[]>;
|
|
90
|
+
fetchAllMarketTypes(regionId: number, concurrency?: number): Promise<number[]>;
|
|
91
|
+
fetchAllCharacterOrderHistory(characterId: number, concurrency?: number): Promise<CharacterMarketOrderHistory[]>;
|
|
92
|
+
fetchAllCorporationOrders(corporationId: number, concurrency?: number): Promise<CorporationMarketOrder[]>;
|
|
93
|
+
fetchAllCorporationOrderHistory(corporationId: number, concurrency?: number): Promise<CorporationMarketOrderHistory[]>;
|
|
94
|
+
fetchAllMarketOrdersInStructure(structureId: number, concurrency?: number): Promise<StructureMarketOrder[]>;
|
|
95
|
+
streamMarketOrders(regionId: number): AsyncGenerator<PageResult<MarketOrder>, void, undefined>;
|
|
96
|
+
streamMarketTypes(regionId: number): AsyncGenerator<PageResult<number>, void, undefined>;
|
|
97
|
+
streamCharacterOrderHistory(characterId: number): AsyncGenerator<PageResult<CharacterMarketOrderHistory>, void, undefined>;
|
|
98
|
+
streamCorporationOrders(corporationId: number): AsyncGenerator<PageResult<CorporationMarketOrder>, void, undefined>;
|
|
99
|
+
streamCorporationOrderHistory(corporationId: number): AsyncGenerator<PageResult<CorporationMarketOrderHistory>, void, undefined>;
|
|
100
|
+
streamMarketOrdersInStructure(structureId: number): AsyncGenerator<PageResult<StructureMarketOrder>, void, undefined>;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=MarketClient.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { mercenaryEndpoints } from '../core/endpoints/mercenaryEndpoints.mjs';
|
|
4
|
+
import { MercenaryDen, MercenaryTacticalOperation, MercenaryDenDetail, MercenaryTacticalOperationDetail } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class MercenaryClient extends BaseEsiClient<typeof mercenaryEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves all mercenary dens with their development and anarchy parameters.
|
|
9
|
+
*
|
|
10
|
+
* @param characterId - The ID of the character to query mercenary dens for
|
|
11
|
+
* @returns A list of mercenary dens
|
|
12
|
+
* @requires Authentication
|
|
13
|
+
*/
|
|
14
|
+
getMercenaryDens(characterId: number): Promise<MercenaryDen[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves all mercenary tactical operations (MTOs) spawned from mercenary dens.
|
|
17
|
+
*
|
|
18
|
+
* @param characterId - The ID of the character to query tactical operations for
|
|
19
|
+
* @returns A list of mercenary tactical operations
|
|
20
|
+
* @requires Authentication
|
|
21
|
+
*/
|
|
22
|
+
getMercenaryTacticalOperations(characterId: number): Promise<MercenaryTacticalOperation[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves detail for a specific mercenary den including evolution, infomorphs, and skyhook attachment.
|
|
25
|
+
*
|
|
26
|
+
* @param characterId - The ID of the character
|
|
27
|
+
* @param mercenaryDenId - The ID of the mercenary den
|
|
28
|
+
* @returns Mercenary den detail
|
|
29
|
+
* @requires Authentication
|
|
30
|
+
*/
|
|
31
|
+
getMercenaryDenDetail(characterId: number, mercenaryDenId: number): Promise<MercenaryDenDetail>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves detail for a specific mercenary tactical operation.
|
|
34
|
+
*
|
|
35
|
+
* @param characterId - The ID of the character
|
|
36
|
+
* @param operationId - The UUID of the tactical operation
|
|
37
|
+
* @returns Mercenary tactical operation detail
|
|
38
|
+
* @requires Authentication
|
|
39
|
+
*/
|
|
40
|
+
getMercenaryTacticalOperationDetail(characterId: number, operationId: string): Promise<MercenaryTacticalOperationDetail>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=MercenaryClient.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { metaEndpoints } from '../core/endpoints/metaEndpoints.mjs';
|
|
4
|
+
import { MetaChangelog, MetaCompatibilityDates, MetaName, MetaStatus } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class MetaClient extends BaseEsiClient<typeof metaEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the ESI OpenAPI specification in JSON format.
|
|
9
|
+
*
|
|
10
|
+
* @returns The full ESI OpenAPI specification as a JSON object
|
|
11
|
+
*/
|
|
12
|
+
getOpenApiJson(): Promise<Record<string, any>>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the ESI OpenAPI specification in YAML format.
|
|
15
|
+
*
|
|
16
|
+
* @returns The full ESI OpenAPI specification as a YAML string
|
|
17
|
+
*/
|
|
18
|
+
getOpenApiYaml(): Promise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves the ESI changelog data.
|
|
21
|
+
*
|
|
22
|
+
* @returns The changelog keyed by compatibility date
|
|
23
|
+
*/
|
|
24
|
+
getChangelog(): Promise<MetaChangelog>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves the list of ESI compatibility dates.
|
|
27
|
+
*
|
|
28
|
+
* @returns An object containing the list of compatibility dates
|
|
29
|
+
*/
|
|
30
|
+
getCompatibilityDates(): Promise<MetaCompatibilityDates>;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves the ESI name.
|
|
33
|
+
*
|
|
34
|
+
* @returns An object containing the ESI name
|
|
35
|
+
*/
|
|
36
|
+
getName(): Promise<MetaName>;
|
|
37
|
+
/**
|
|
38
|
+
* Retrieves the health of each ESI route.
|
|
39
|
+
*
|
|
40
|
+
* @returns `{ routes }`, one entry per route with its method, path and
|
|
41
|
+
* status ('OK', 'Degraded', 'Down', ...)
|
|
42
|
+
*/
|
|
43
|
+
getStatus(): Promise<MetaStatus>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=MetaClient.d.ts.map
|
|
@@ -35,9 +35,10 @@ export declare class MetaClient extends BaseEsiClient<typeof metaEndpoints> {
|
|
|
35
35
|
*/
|
|
36
36
|
getName(): Promise<MetaName>;
|
|
37
37
|
/**
|
|
38
|
-
* Retrieves the ESI
|
|
38
|
+
* Retrieves the health of each ESI route.
|
|
39
39
|
*
|
|
40
|
-
* @returns
|
|
40
|
+
* @returns `{ routes }`, one entry per route with its method, path and
|
|
41
|
+
* status ('OK', 'Degraded', 'Down', ...)
|
|
41
42
|
*/
|
|
42
43
|
getStatus(): Promise<MetaStatus>;
|
|
43
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetaClient.d.ts","sourceRoot":"","sources":["../../src/clients/MetaClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAGhE,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,QAAQ,EACR,UAAU,EACX,MAAM,wBAAwB,CAAC;AAEhC,qBAAa,UAAW,SAAQ,aAAa,CAAC,OAAO,aAAa,CAAC;gBACrD,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IAEH,cAAc,IAA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