@lgriffin/esi.ts 7.4.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +26 -26
- package/README.md +967 -910
- package/dist/EsiClient.d.ts +3 -0
- package/dist/EsiClient.d.ts.map +1 -1
- package/dist/EsiClientBuilder.d.ts +1 -0
- package/dist/EsiClientBuilder.d.ts.map +1 -1
- package/dist/clients/AllianceClient.d.ts +3 -0
- package/dist/clients/AllianceClient.d.ts.map +1 -1
- package/dist/clients/BaseEsiClient.d.ts +1 -1
- package/dist/clients/BaseEsiClient.d.ts.map +1 -1
- package/dist/clients/CalendarClient.d.ts +3 -0
- package/dist/clients/CalendarClient.d.ts.map +1 -1
- package/dist/clients/CharacterClient.d.ts +10 -2
- package/dist/clients/CharacterClient.d.ts.map +1 -1
- package/dist/clients/ClonesClient.d.ts +2 -0
- package/dist/clients/ClonesClient.d.ts.map +1 -1
- package/dist/clients/ContactsClient.d.ts +7 -0
- package/dist/clients/ContactsClient.d.ts.map +1 -1
- package/dist/clients/CorporationsClient.d.ts +18 -0
- package/dist/clients/CorporationsClient.d.ts.map +1 -1
- package/dist/clients/FittingsClient.d.ts +2 -0
- package/dist/clients/FittingsClient.d.ts.map +1 -1
- package/dist/clients/FleetClient.d.ts +3 -0
- package/dist/clients/FleetClient.d.ts.map +1 -1
- package/dist/clients/IndustryClient.d.ts +9 -0
- package/dist/clients/IndustryClient.d.ts.map +1 -1
- package/dist/clients/LoyaltyClient.d.ts +3 -0
- package/dist/clients/LoyaltyClient.d.ts.map +1 -1
- package/dist/clients/MailClient.d.ts +6 -0
- package/dist/clients/MailClient.d.ts.map +1 -1
- package/dist/clients/MarketClient.d.ts +13 -22
- package/dist/clients/MarketClient.d.ts.map +1 -1
- package/dist/clients/PiClient.d.ts +3 -0
- package/dist/clients/PiClient.d.ts.map +1 -1
- package/dist/clients/SkillsClient.d.ts +2 -0
- package/dist/clients/SkillsClient.d.ts.map +1 -1
- package/dist/clients/WalletClient.d.ts +1 -0
- package/dist/clients/WalletClient.d.ts.map +1 -1
- package/dist/clients/WarsClient.d.ts +3 -0
- package/dist/clients/WarsClient.d.ts.map +1 -1
- package/dist/core/ApiClient.d.ts +14 -6
- package/dist/core/ApiClient.d.ts.map +1 -1
- package/dist/core/ApiRequestHandler.d.ts +3 -11
- package/dist/core/ApiRequestHandler.d.ts.map +1 -1
- package/dist/core/IDeduplicator.d.ts +6 -0
- package/dist/core/IDeduplicator.d.ts.map +1 -0
- package/dist/core/IRetryStrategy.d.ts +5 -0
- package/dist/core/IRetryStrategy.d.ts.map +1 -0
- package/dist/core/RequestDeduplicator.d.ts +2 -1
- package/dist/core/RequestDeduplicator.d.ts.map +1 -1
- package/dist/core/RetryStrategy.d.ts +19 -0
- package/dist/core/RetryStrategy.d.ts.map +1 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts +11 -1
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
- package/dist/core/circuitBreaker/ICircuitBreaker.d.ts +23 -0
- package/dist/core/circuitBreaker/ICircuitBreaker.d.ts.map +1 -0
- package/dist/core/configureApiClient.d.ts +18 -0
- package/dist/core/configureApiClient.d.ts.map +1 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts +2 -0
- package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
- package/dist/core/endpoints/calendarEndpoints.d.ts +1 -1
- package/dist/core/endpoints/characterEndpoints.d.ts +3 -3
- package/dist/core/endpoints/contactEndpoints.d.ts +7 -3
- package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationEndpoints.d.ts +4 -1
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/createClient.d.ts +18 -1
- package/dist/core/endpoints/createClient.d.ts.map +1 -1
- package/dist/core/endpoints/dogmaEndpoints.d.ts +17 -0
- package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/esi-scopes.generated.d.ts +1 -1
- package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
- package/dist/core/endpoints/fleetEndpoints.d.ts +5 -0
- package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mailEndpoints.d.ts +13 -0
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/marketEndpoints.d.ts +29 -48
- package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/piEndpoints.d.ts +3 -0
- package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/universeEndpoints.d.ts +13 -2
- package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/walletEndpoints.d.ts +4 -0
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
- package/dist/core/logger/logger.d.ts +2 -1
- package/dist/core/logger/logger.d.ts.map +1 -1
- package/dist/core/pagination/AsyncPaginationIterator.d.ts +4 -1
- package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -1
- package/dist/core/pagination/CursorPaginationHandler.d.ts +6 -2
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
- package/dist/core/pagination/PaginationHandler.d.ts +1 -1
- package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
- package/dist/core/rateLimiter/RateLimiter.d.ts +8 -2
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts +30 -0
- package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -0
- package/dist/core/requestPipeline/dependencies.d.ts +10 -0
- package/dist/core/requestPipeline/dependencies.d.ts.map +1 -0
- package/dist/core/requestPipeline/fetchExecution.d.ts +28 -0
- package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -0
- package/dist/core/requestPipeline/headers.d.ts +11 -0
- package/dist/core/requestPipeline/headers.d.ts.map +1 -0
- package/dist/core/requestPipeline/index.d.ts +10 -0
- package/dist/core/requestPipeline/index.d.ts.map +1 -0
- package/dist/core/requestPipeline/middlewareBridge.d.ts +15 -0
- package/dist/core/requestPipeline/middlewareBridge.d.ts.map +1 -0
- package/dist/core/requestPipeline/paginationOrchestration.d.ts +15 -0
- package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -0
- package/dist/core/requestPipeline/statusHandling.d.ts +18 -0
- package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -0
- package/dist/core/util/error.d.ts +4 -1
- package/dist/core/util/error.d.ts.map +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9926 -176
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +9824 -0
- package/dist/index.mjs.map +1 -0
- package/dist/schemas/calendar.d.ts +1 -1
- package/dist/schemas/character.d.ts +1 -10
- package/dist/schemas/character.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +9 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/contacts.d.ts +2 -1
- package/dist/schemas/contacts.d.ts.map +1 -1
- package/dist/schemas/corporation.d.ts +4 -9
- package/dist/schemas/corporation.d.ts.map +1 -1
- package/dist/schemas/dogma.d.ts +17 -0
- package/dist/schemas/dogma.d.ts.map +1 -1
- package/dist/schemas/fleet.d.ts +1 -0
- package/dist/schemas/fleet.d.ts.map +1 -1
- package/dist/schemas/generated/alliance.generated.d.ts +15 -0
- package/dist/schemas/generated/alliance.generated.d.ts.map +1 -0
- package/dist/schemas/generated/assets.generated.d.ts +272 -0
- package/dist/schemas/generated/assets.generated.d.ts.map +1 -0
- package/dist/schemas/generated/calendar.generated.d.ts +41 -0
- package/dist/schemas/generated/calendar.generated.d.ts.map +1 -0
- package/dist/schemas/generated/character.generated.d.ts +670 -0
- package/dist/schemas/generated/character.generated.d.ts.map +1 -0
- package/dist/schemas/generated/clones.generated.d.ts +23 -0
- package/dist/schemas/generated/clones.generated.d.ts.map +1 -0
- package/dist/schemas/generated/contacts.generated.d.ts +50 -0
- package/dist/schemas/generated/contacts.generated.d.ts.map +1 -0
- package/dist/schemas/generated/contracts.generated.d.ts +162 -0
- package/dist/schemas/generated/contracts.generated.d.ts.map +1 -0
- package/dist/schemas/generated/corporation-projects.generated.d.ts +89 -0
- package/dist/schemas/generated/corporation-projects.generated.d.ts.map +1 -0
- package/dist/schemas/generated/corporation.generated.d.ts +1515 -0
- package/dist/schemas/generated/corporation.generated.d.ts.map +1 -0
- package/dist/schemas/generated/dogma.generated.d.ts +57 -0
- package/dist/schemas/generated/dogma.generated.d.ts.map +1 -0
- package/dist/schemas/generated/faction-warfare.generated.d.ts +155 -0
- package/dist/schemas/generated/faction-warfare.generated.d.ts.map +1 -0
- package/dist/schemas/generated/fittings.generated.d.ts +57 -0
- package/dist/schemas/generated/fittings.generated.d.ts.map +1 -0
- package/dist/schemas/generated/fleets.generated.d.ts +45 -0
- package/dist/schemas/generated/fleets.generated.d.ts.map +1 -0
- package/dist/schemas/generated/freelance-jobs.generated.d.ts +173 -0
- package/dist/schemas/generated/freelance-jobs.generated.d.ts.map +1 -0
- package/dist/schemas/generated/incursions.generated.d.ts +16 -0
- package/dist/schemas/generated/incursions.generated.d.ts.map +1 -0
- package/dist/schemas/generated/index.d.ts +33 -0
- package/dist/schemas/generated/index.d.ts.map +1 -0
- package/dist/schemas/generated/industry.generated.d.ts +117 -0
- package/dist/schemas/generated/industry.generated.d.ts.map +1 -0
- package/dist/schemas/generated/insurance.generated.d.ts +10 -0
- package/dist/schemas/generated/insurance.generated.d.ts.map +1 -0
- package/dist/schemas/generated/killmails.generated.d.ts +55 -0
- package/dist/schemas/generated/killmails.generated.d.ts.map +1 -0
- package/dist/schemas/generated/location.generated.d.ts +18 -0
- package/dist/schemas/generated/location.generated.d.ts.map +1 -0
- package/dist/schemas/generated/loyalty.generated.d.ts +18 -0
- package/dist/schemas/generated/loyalty.generated.d.ts.map +1 -0
- package/dist/schemas/generated/mail.generated.d.ts +68 -0
- package/dist/schemas/generated/mail.generated.d.ts.map +1 -0
- package/dist/schemas/generated/market.generated.d.ts +201 -0
- package/dist/schemas/generated/market.generated.d.ts.map +1 -0
- package/dist/schemas/generated/meta.generated.d.ts +26 -0
- package/dist/schemas/generated/meta.generated.d.ts.map +1 -0
- package/dist/schemas/generated/planetary-interaction.generated.d.ts +90 -0
- package/dist/schemas/generated/planetary-interaction.generated.d.ts.map +1 -0
- package/dist/schemas/generated/routes.generated.d.ts +5 -0
- package/dist/schemas/generated/routes.generated.d.ts.map +1 -0
- package/dist/schemas/generated/search.generated.d.ts +15 -0
- package/dist/schemas/generated/search.generated.d.ts.map +1 -0
- package/dist/schemas/generated/skills.generated.d.ts +32 -0
- package/dist/schemas/generated/skills.generated.d.ts.map +1 -0
- package/dist/schemas/generated/sovereignty.generated.d.ts +37 -0
- package/dist/schemas/generated/sovereignty.generated.d.ts.map +1 -0
- package/dist/schemas/generated/status.generated.d.ts +8 -0
- package/dist/schemas/generated/status.generated.d.ts.map +1 -0
- package/dist/schemas/generated/universe.generated.d.ts +394 -0
- package/dist/schemas/generated/universe.generated.d.ts.map +1 -0
- package/dist/schemas/generated/wallet.generated.d.ts +411 -0
- package/dist/schemas/generated/wallet.generated.d.ts.map +1 -0
- package/dist/schemas/generated/wars.generated.d.ts +31 -0
- package/dist/schemas/generated/wars.generated.d.ts.map +1 -0
- package/dist/schemas/market.d.ts +91 -4
- package/dist/schemas/market.d.ts.map +1 -1
- package/dist/schemas/pi.d.ts +3 -0
- package/dist/schemas/pi.d.ts.map +1 -1
- package/dist/schemas/sovereignty.d.ts +2 -0
- package/dist/schemas/sovereignty.d.ts.map +1 -1
- package/dist/schemas/universe.d.ts +11 -2
- package/dist/schemas/universe.d.ts.map +1 -1
- package/dist/schemas/wallet.d.ts +2 -0
- package/dist/schemas/wallet.d.ts.map +1 -1
- package/dist/testing/TestDataFactory.d.ts.map +1 -1
- package/dist/types/character.d.ts +2 -1
- package/dist/types/character.d.ts.map +1 -1
- package/dist/types/generated/spec-alignment.check.d.ts +9 -0
- package/dist/types/generated/spec-alignment.check.d.ts.map +1 -1
- package/dist/types/market.d.ts +7 -1
- package/dist/types/market.d.ts.map +1 -1
- package/package.json +235 -226
- package/dist/EsiClient.js +0 -251
- package/dist/EsiClientBuilder.js +0 -217
- package/dist/clients/AccessListsClient.js +0 -20
- package/dist/clients/AllianceClient.js +0 -72
- package/dist/clients/AssetsClient.js +0 -81
- package/dist/clients/BaseEsiClient.js +0 -40
- package/dist/clients/CalendarClient.js +0 -54
- package/dist/clients/CharacterClient.js +0 -149
- package/dist/clients/ClonesClient.js +0 -31
- package/dist/clients/ContactsClient.js +0 -104
- package/dist/clients/ContractsClient.js +0 -111
- package/dist/clients/CorporationsClient.js +0 -227
- package/dist/clients/DogmaClient.js +0 -55
- package/dist/clients/FactionClient.js +0 -79
- package/dist/clients/FittingsClient.js +0 -42
- package/dist/clients/FleetClient.js +0 -162
- package/dist/clients/FreelanceJobsClient.js +0 -76
- package/dist/clients/IncursionsClient.js +0 -19
- package/dist/clients/IndustryClient.js +0 -88
- package/dist/clients/InsuranceClient.js +0 -19
- package/dist/clients/KillmailsClient.js +0 -47
- package/dist/clients/LocationClient.js +0 -41
- package/dist/clients/LoyaltyClient.js +0 -30
- package/dist/clients/MailClient.js +0 -108
- package/dist/clients/MarketClient.js +0 -131
- package/dist/clients/MercenaryClient.js +0 -27
- package/dist/clients/MetaClient.js +0 -56
- package/dist/clients/PiClient.js +0 -51
- package/dist/clients/RouteClient.js +0 -24
- package/dist/clients/SearchClient.js +0 -22
- package/dist/clients/SkillsClient.js +0 -41
- package/dist/clients/SkyhooksClient.js +0 -35
- package/dist/clients/SovereigntyClient.js +0 -27
- package/dist/clients/StatusClient.js +0 -19
- package/dist/clients/UiClient.js +0 -58
- package/dist/clients/UniverseClient.js +0 -277
- package/dist/clients/WalletClient.js +0 -82
- package/dist/clients/WarsClient.js +0 -37
- package/dist/config/configManager.js +0 -47
- package/dist/config/jest/globalSetup.js +0 -7
- package/dist/config/jest/globalTeardown.js +0 -7
- package/dist/config/jest/jest.setup.js +0 -29
- package/dist/core/ApiClient.js +0 -123
- package/dist/core/ApiClientBuilder.js +0 -54
- package/dist/core/ApiRequestHandler.js +0 -444
- package/dist/core/BatchRequestHandler.js +0 -66
- package/dist/core/ClientRegistry.js +0 -116
- package/dist/core/EsiDiagnostics.js +0 -47
- package/dist/core/RequestDeduplicator.js +0 -26
- package/dist/core/cache/ETagCacheManager.js +0 -184
- package/dist/core/cache/ICache.js +0 -2
- package/dist/core/circuitBreaker/CircuitBreaker.js +0 -156
- package/dist/core/constants.js +0 -7
- package/dist/core/endpoints/EndpointDefinition.js +0 -2
- package/dist/core/endpoints/accessListEndpoints.js +0 -13
- package/dist/core/endpoints/allianceEndpoints.js +0 -34
- package/dist/core/endpoints/assetEndpoints.js +0 -51
- package/dist/core/endpoints/buildEndpointPath.js +0 -44
- package/dist/core/endpoints/calendarEndpoints.js +0 -35
- package/dist/core/endpoints/characterEndpoints.js +0 -104
- package/dist/core/endpoints/cloneEndpoints.js +0 -21
- package/dist/core/endpoints/contactEndpoints.js +0 -72
- package/dist/core/endpoints/contractEndpoints.js +0 -70
- package/dist/core/endpoints/corporationEndpoints.js +0 -161
- package/dist/core/endpoints/createClient.js +0 -175
- package/dist/core/endpoints/dogmaEndpoints.js +0 -40
- package/dist/core/endpoints/esi-cache-ttls.generated.js +0 -133
- package/dist/core/endpoints/esi-rate-limit-groups.generated.js +0 -153
- package/dist/core/endpoints/esi-scopes.generated.js +0 -135
- package/dist/core/endpoints/factionEndpoints.js +0 -57
- package/dist/core/endpoints/fittingEndpoints.js +0 -27
- package/dist/core/endpoints/fleetEndpoints.js +0 -101
- package/dist/core/endpoints/freelanceJobsEndpoints.js +0 -51
- package/dist/core/endpoints/incursionEndpoints.js +0 -13
- package/dist/core/endpoints/industryEndpoints.js +0 -61
- package/dist/core/endpoints/insuranceEndpoints.js +0 -13
- package/dist/core/endpoints/killmailEndpoints.js +0 -28
- package/dist/core/endpoints/locationEndpoints.js +0 -27
- package/dist/core/endpoints/loyaltyEndpoints.js +0 -21
- package/dist/core/endpoints/mailEndpoints.js +0 -68
- package/dist/core/endpoints/marketEndpoints.js +0 -84
- package/dist/core/endpoints/mercenaryEndpoints.js +0 -19
- package/dist/core/endpoints/metaEndpoints.js +0 -12
- package/dist/core/endpoints/piEndpoints.js +0 -36
- package/dist/core/endpoints/routeEndpoints.js +0 -14
- package/dist/core/endpoints/searchEndpoints.js +0 -14
- package/dist/core/endpoints/skillEndpoints.js +0 -29
- package/dist/core/endpoints/skyhookEndpoints.js +0 -25
- package/dist/core/endpoints/sovereigntyEndpoints.js +0 -19
- package/dist/core/endpoints/statusEndpoints.js +0 -12
- package/dist/core/endpoints/uiEndpoints.js +0 -39
- package/dist/core/endpoints/universeEndpoints.js +0 -210
- package/dist/core/endpoints/walletEndpoints.js +0 -50
- package/dist/core/endpoints/warEndpoints.js +0 -28
- package/dist/core/logger/ILogger.js +0 -2
- package/dist/core/logger/logger.js +0 -16
- package/dist/core/logger/loggerUtil.js +0 -30
- package/dist/core/middleware/Middleware.js +0 -42
- package/dist/core/pagination/AsyncPaginationIterator.js +0 -27
- package/dist/core/pagination/CursorPaginationHandler.js +0 -148
- package/dist/core/pagination/PaginationHandler.js +0 -115
- package/dist/core/rateLimiter/IRateLimiter.js +0 -2
- package/dist/core/rateLimiter/RateLimiter.js +0 -307
- package/dist/core/util/error.js +0 -122
- package/dist/core/util/headersUtil.js +0 -37
- package/dist/core/util/retry.js +0 -9
- package/dist/core/util/sleep.js +0 -6
- package/dist/core/util/stringUtil.js +0 -6
- package/dist/core/util/testHelpers.js +0 -9
- package/dist/core/util/validation.js +0 -52
- package/dist/schemas/access-lists.js +0 -14
- package/dist/schemas/alliance.js +0 -28
- package/dist/schemas/assets.js +0 -26
- package/dist/schemas/calendar.js +0 -43
- package/dist/schemas/character.js +0 -122
- package/dist/schemas/clones.js +0 -21
- package/dist/schemas/common.js +0 -34
- package/dist/schemas/contacts.js +0 -15
- package/dist/schemas/contracts.js +0 -58
- package/dist/schemas/corporation.js +0 -192
- package/dist/schemas/dogma.js +0 -42
- package/dist/schemas/faction-warfare.js +0 -92
- package/dist/schemas/fittings.js +0 -15
- package/dist/schemas/fleet.js +0 -48
- package/dist/schemas/freelance-jobs.js +0 -99
- package/dist/schemas/incursions.js +0 -14
- package/dist/schemas/index.js +0 -48
- package/dist/schemas/industry.js +0 -75
- package/dist/schemas/insurance.js +0 -12
- package/dist/schemas/killmails.js +0 -42
- package/dist/schemas/location.js +0 -20
- package/dist/schemas/loyalty.js +0 -20
- package/dist/schemas/mail.js +0 -38
- package/dist/schemas/market.js +0 -39
- package/dist/schemas/mercenary.js +0 -22
- package/dist/schemas/pi.js +0 -85
- package/dist/schemas/skills.js +0 -30
- package/dist/schemas/skyhooks.js +0 -30
- package/dist/schemas/sovereignty.js +0 -70
- package/dist/schemas/status.js +0 -10
- package/dist/schemas/universe.js +0 -245
- package/dist/schemas/wallet.js +0 -29
- package/dist/schemas/wars.js +0 -31
- package/dist/testing/TestDataFactory.js +0 -823
- package/dist/types/access-lists.js +0 -2
- package/dist/types/alliance.js +0 -2
- package/dist/types/api-responses.js +0 -73
- package/dist/types/assets.js +0 -2
- package/dist/types/branded.js +0 -6
- package/dist/types/calendar.js +0 -2
- package/dist/types/character.js +0 -2
- package/dist/types/clones.js +0 -2
- package/dist/types/common.js +0 -2
- package/dist/types/contacts.js +0 -2
- package/dist/types/contracts.js +0 -2
- package/dist/types/corporation.js +0 -2
- package/dist/types/dogma.js +0 -2
- package/dist/types/faction-warfare.js +0 -2
- package/dist/types/fittings.js +0 -2
- package/dist/types/fleet.js +0 -2
- package/dist/types/freelance-jobs.js +0 -2
- package/dist/types/generated/esi-spec.generated.js +0 -6
- package/dist/types/generated/spec-alignment.check.js +0 -14
- package/dist/types/incursions.js +0 -2
- package/dist/types/industry.js +0 -2
- package/dist/types/insurance.js +0 -2
- package/dist/types/killmails.js +0 -2
- package/dist/types/location.js +0 -2
- package/dist/types/loyalty.js +0 -2
- package/dist/types/mail.js +0 -2
- package/dist/types/market.js +0 -2
- package/dist/types/mercenary.js +0 -2
- package/dist/types/pi.js +0 -2
- package/dist/types/skills.js +0 -2
- package/dist/types/skyhooks.js +0 -2
- package/dist/types/sovereignty.js +0 -2
- package/dist/types/status.js +0 -2
- package/dist/types/universe.js +0 -2
- package/dist/types/wallet.js +0 -2
- package/dist/types/wars.js +0 -2
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DogmaClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const dogmaEndpoints_1 = require("../core/endpoints/dogmaEndpoints");
|
|
6
|
-
class DogmaClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, dogmaEndpoints_1.dogmaEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves a list of all dogma attribute IDs.
|
|
12
|
-
*
|
|
13
|
-
* @returns An array of dogma attribute IDs
|
|
14
|
-
*/
|
|
15
|
-
getAttributes() {
|
|
16
|
-
return this.api.getAttributes();
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Retrieves detailed information about a specific dogma attribute.
|
|
20
|
-
*
|
|
21
|
-
* @param attributeId - The ID of the dogma attribute to look up
|
|
22
|
-
* @returns Detailed information about the dogma attribute
|
|
23
|
-
*/
|
|
24
|
-
getAttributeById(attributeId) {
|
|
25
|
-
return this.api.getAttributeById(attributeId);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Retrieves the dynamic dogma information for a specific mutated item, including its modified attributes.
|
|
29
|
-
*
|
|
30
|
-
* @param typeId - The type ID of the item
|
|
31
|
-
* @param itemId - The item ID of the specific dynamic item
|
|
32
|
-
* @returns Dynamic dogma information for the mutated item
|
|
33
|
-
*/
|
|
34
|
-
getDynamicItemInfo(typeId, itemId) {
|
|
35
|
-
return this.api.getDynamicItemInfo(typeId, itemId);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Retrieves a list of all dogma effect IDs.
|
|
39
|
-
*
|
|
40
|
-
* @returns An array of dogma effect IDs
|
|
41
|
-
*/
|
|
42
|
-
getEffects() {
|
|
43
|
-
return this.api.getEffects();
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Retrieves detailed information about a specific dogma effect.
|
|
47
|
-
*
|
|
48
|
-
* @param effectId - The ID of the dogma effect to look up
|
|
49
|
-
* @returns Detailed information about the dogma effect
|
|
50
|
-
*/
|
|
51
|
-
getEffectById(effectId) {
|
|
52
|
-
return this.api.getEffectById(effectId);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
exports.DogmaClient = DogmaClient;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FactionClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const factionEndpoints_1 = require("../core/endpoints/factionEndpoints");
|
|
6
|
-
class FactionClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, factionEndpoints_1.factionEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves the top characters in faction warfare leaderboards.
|
|
12
|
-
*
|
|
13
|
-
* @returns Faction warfare character leaderboard rankings
|
|
14
|
-
*/
|
|
15
|
-
getLeaderboardsCharacters() {
|
|
16
|
-
return this.api.getCharacters();
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Retrieves the top corporations in faction warfare leaderboards.
|
|
20
|
-
*
|
|
21
|
-
* @returns Faction warfare corporation leaderboard rankings
|
|
22
|
-
*/
|
|
23
|
-
getLeaderboardsCorporations() {
|
|
24
|
-
return this.api.getCorporations();
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Retrieves the overall faction warfare leaderboards across all factions.
|
|
28
|
-
*
|
|
29
|
-
* @returns Overall faction warfare leaderboard rankings
|
|
30
|
-
*/
|
|
31
|
-
getLeaderboardsOverall() {
|
|
32
|
-
return this.api.getOverall();
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Retrieves faction warfare statistics for all factions, including kill and victory point totals.
|
|
36
|
-
*
|
|
37
|
-
* @returns An array of per-faction warfare statistics
|
|
38
|
-
*/
|
|
39
|
-
getStats() {
|
|
40
|
-
return this.api.getStats();
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Retrieves faction warfare statistics for a specific character, including enlistment info and kill counts.
|
|
44
|
-
*
|
|
45
|
-
* @param characterId - The ID of the character
|
|
46
|
-
* @returns Faction warfare statistics for the character
|
|
47
|
-
* @requires Authentication
|
|
48
|
-
*/
|
|
49
|
-
getCharacterStats(characterId) {
|
|
50
|
-
return this.api.getCharacterStats(characterId);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Retrieves faction warfare statistics for a specific corporation, including kill counts and victory points.
|
|
54
|
-
*
|
|
55
|
-
* @param corporationId - The ID of the corporation
|
|
56
|
-
* @returns Faction warfare statistics for the corporation
|
|
57
|
-
* @requires Authentication
|
|
58
|
-
*/
|
|
59
|
-
getCorporationStats(corporationId) {
|
|
60
|
-
return this.api.getCorporationStats(corporationId);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Retrieves the current ownership and contested status of all faction warfare systems.
|
|
64
|
-
*
|
|
65
|
-
* @returns An array of faction warfare system statuses
|
|
66
|
-
*/
|
|
67
|
-
getSystems() {
|
|
68
|
-
return this.api.getSystems();
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Retrieves the list of active faction warfare wars, showing which factions are fighting each other.
|
|
72
|
-
*
|
|
73
|
-
* @returns An array of active faction warfare wars
|
|
74
|
-
*/
|
|
75
|
-
getWars() {
|
|
76
|
-
return this.api.getWars();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
exports.FactionClient = FactionClient;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FittingsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const fittingEndpoints_1 = require("../core/endpoints/fittingEndpoints");
|
|
6
|
-
class FittingsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, fittingEndpoints_1.fittingEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves all saved ship fittings for a character.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character
|
|
14
|
-
* @returns An array of the character's saved fittings
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getFittings(characterId) {
|
|
18
|
-
return this.api.getFittings(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Creates a new saved ship fitting for a character via POST.
|
|
22
|
-
*
|
|
23
|
-
* @param characterId - The ID of the character
|
|
24
|
-
* @param fittingData - The fitting details including ship type and module layout
|
|
25
|
-
* @returns The ID of the newly created fitting
|
|
26
|
-
* @requires Authentication
|
|
27
|
-
*/
|
|
28
|
-
createFitting(characterId, fittingData) {
|
|
29
|
-
return this.api.createFitting(characterId, fittingData);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Deletes a saved ship fitting for a character.
|
|
33
|
-
*
|
|
34
|
-
* @param characterId - The ID of the character
|
|
35
|
-
* @param fittingId - The ID of the fitting to delete
|
|
36
|
-
* @requires Authentication
|
|
37
|
-
*/
|
|
38
|
-
deleteFitting(characterId, fittingId) {
|
|
39
|
-
return this.api.deleteFitting(characterId, fittingId);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.FittingsClient = FittingsClient;
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FleetClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const fleetEndpoints_1 = require("../core/endpoints/fleetEndpoints");
|
|
6
|
-
class FleetClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, fleetEndpoints_1.fleetEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves the fleet that a character is currently in, including their role and wing/squad assignment.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character
|
|
14
|
-
* @returns Fleet membership information for the character
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getCharacterFleetInfo(characterId) {
|
|
18
|
-
return this.api.getCharacterFleetInfo(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves detailed information about a fleet, including its MOTD and free-move setting.
|
|
22
|
-
*
|
|
23
|
-
* @param fleetId - The ID of the fleet
|
|
24
|
-
* @returns Detailed fleet information
|
|
25
|
-
* @requires Authentication
|
|
26
|
-
*/
|
|
27
|
-
getFleetInformation(fleetId) {
|
|
28
|
-
return this.api.getFleetInfo(fleetId);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Updates fleet settings such as the MOTD and free-move toggle via PUT.
|
|
32
|
-
*
|
|
33
|
-
* @param fleetId - The ID of the fleet
|
|
34
|
-
* @param body - The fleet settings to update
|
|
35
|
-
* @requires Authentication
|
|
36
|
-
*/
|
|
37
|
-
updateFleet(fleetId, body) {
|
|
38
|
-
return this.api.updateFleet(fleetId, body);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Retrieves all current members of a fleet, including their ship types and roles.
|
|
42
|
-
*
|
|
43
|
-
* @param fleetId - The ID of the fleet
|
|
44
|
-
* @returns An array of fleet members
|
|
45
|
-
* @requires Authentication
|
|
46
|
-
*/
|
|
47
|
-
getFleetMembers(fleetId) {
|
|
48
|
-
return this.api.getFleetMembers(fleetId);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Sends an invitation to a character to join a fleet via POST.
|
|
52
|
-
*
|
|
53
|
-
* @param fleetId - The ID of the fleet
|
|
54
|
-
* @param body - The invitation details including the character to invite and their role
|
|
55
|
-
* @requires Authentication
|
|
56
|
-
*/
|
|
57
|
-
createFleetInvitation(fleetId, body) {
|
|
58
|
-
return this.api.createFleetInvitation(fleetId, body);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Kicks a member from a fleet.
|
|
62
|
-
*
|
|
63
|
-
* @param fleetId - The ID of the fleet
|
|
64
|
-
* @param memberId - The character ID of the member to kick
|
|
65
|
-
* @requires Authentication
|
|
66
|
-
*/
|
|
67
|
-
kickFleetMember(fleetId, memberId) {
|
|
68
|
-
return this.api.kickFleetMember(fleetId, memberId);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Moves a fleet member to a different wing, squad, or role via PUT.
|
|
72
|
-
*
|
|
73
|
-
* @param fleetId - The ID of the fleet
|
|
74
|
-
* @param memberId - The character ID of the member to move
|
|
75
|
-
* @param body - The target role, wing, and/or squad assignment
|
|
76
|
-
* @requires Authentication
|
|
77
|
-
*/
|
|
78
|
-
moveFleetMember(fleetId, memberId, body) {
|
|
79
|
-
return this.api.moveFleetMember(fleetId, memberId, body);
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Deletes a squad from a fleet.
|
|
83
|
-
*
|
|
84
|
-
* @param fleetId - The ID of the fleet
|
|
85
|
-
* @param squadId - The ID of the squad to delete
|
|
86
|
-
* @requires Authentication
|
|
87
|
-
*/
|
|
88
|
-
deleteFleetSquad(fleetId, squadId) {
|
|
89
|
-
return this.api.deleteFleetSquad(fleetId, squadId);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Renames a squad within a fleet via PUT.
|
|
93
|
-
*
|
|
94
|
-
* @param fleetId - The ID of the fleet
|
|
95
|
-
* @param squadId - The ID of the squad to rename
|
|
96
|
-
* @param name - The new name for the squad (max 10 characters)
|
|
97
|
-
* @requires Authentication
|
|
98
|
-
*/
|
|
99
|
-
renameFleetSquad(fleetId, squadId, name) {
|
|
100
|
-
if (name.length > 10) {
|
|
101
|
-
return Promise.reject(new Error(`Fleet squad name "${name}" exceeds ESI maximum of 10 characters`));
|
|
102
|
-
}
|
|
103
|
-
return this.api.renameFleetSquad(fleetId, squadId, name);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Retrieves all wings and their squads for a fleet.
|
|
107
|
-
*
|
|
108
|
-
* @param fleetId - The ID of the fleet
|
|
109
|
-
* @returns An array of fleet wings with their nested squads
|
|
110
|
-
* @requires Authentication
|
|
111
|
-
*/
|
|
112
|
-
getFleetWings(fleetId) {
|
|
113
|
-
return this.api.getFleetWings(fleetId);
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Creates a new wing in a fleet via POST.
|
|
117
|
-
*
|
|
118
|
-
* @param fleetId - The ID of the fleet
|
|
119
|
-
* @param body - The wing creation details
|
|
120
|
-
* @returns The ID of the newly created wing
|
|
121
|
-
* @requires Authentication
|
|
122
|
-
*/
|
|
123
|
-
createFleetWing(fleetId, body) {
|
|
124
|
-
return this.api.createFleetWing(fleetId, body);
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Deletes a wing from a fleet, along with all its squads.
|
|
128
|
-
*
|
|
129
|
-
* @param fleetId - The ID of the fleet
|
|
130
|
-
* @param wingId - The ID of the wing to delete
|
|
131
|
-
* @requires Authentication
|
|
132
|
-
*/
|
|
133
|
-
deleteFleetWing(fleetId, wingId) {
|
|
134
|
-
return this.api.deleteFleetWing(fleetId, wingId);
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Renames a wing within a fleet via PUT.
|
|
138
|
-
*
|
|
139
|
-
* @param fleetId - The ID of the fleet
|
|
140
|
-
* @param wingId - The ID of the wing to rename
|
|
141
|
-
* @param name - The new name for the wing (max 10 characters)
|
|
142
|
-
* @requires Authentication
|
|
143
|
-
*/
|
|
144
|
-
renameFleetWing(fleetId, wingId, name) {
|
|
145
|
-
if (name.length > 10) {
|
|
146
|
-
return Promise.reject(new Error(`Fleet wing name "${name}" exceeds ESI maximum of 10 characters`));
|
|
147
|
-
}
|
|
148
|
-
return this.api.renameFleetWing(fleetId, wingId, name);
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Creates a new squad under a wing in a fleet via POST.
|
|
152
|
-
*
|
|
153
|
-
* @param fleetId - The ID of the fleet
|
|
154
|
-
* @param wingId - The ID of the wing to add the squad to
|
|
155
|
-
* @returns The ID of the newly created squad
|
|
156
|
-
* @requires Authentication
|
|
157
|
-
*/
|
|
158
|
-
createFleetSquad(fleetId, wingId) {
|
|
159
|
-
return this.api.createFleetSquad(fleetId, wingId);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
exports.FleetClient = FleetClient;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FreelanceJobsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const freelanceJobsEndpoints_1 = require("../core/endpoints/freelanceJobsEndpoints");
|
|
6
|
-
class FreelanceJobsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, freelanceJobsEndpoints_1.freelanceJobsEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves a paginated listing of all publicly available freelance jobs.
|
|
12
|
-
*
|
|
13
|
-
* @param before - Optional cursor token for fetching the previous page of results
|
|
14
|
-
* @param after - Optional cursor token for fetching the next page of results
|
|
15
|
-
* @returns A listing of freelance jobs with cursor pagination metadata
|
|
16
|
-
*/
|
|
17
|
-
getFreelanceJobs(before, after) {
|
|
18
|
-
return this.api.getFreelanceJobs(before, after);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves detailed information about a specific freelance job.
|
|
22
|
-
*
|
|
23
|
-
* @param jobId - The unique identifier of the freelance job
|
|
24
|
-
* @returns Detailed information about the freelance job
|
|
25
|
-
*/
|
|
26
|
-
getFreelanceJobById(jobId) {
|
|
27
|
-
return this.api.getFreelanceJobById(jobId);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Retrieves a paginated listing of freelance jobs associated with a specific character.
|
|
31
|
-
*
|
|
32
|
-
* @param characterId - The ID of the character
|
|
33
|
-
* @param before - Optional cursor token for fetching the previous page of results
|
|
34
|
-
* @param after - Optional cursor token for fetching the next page of results
|
|
35
|
-
* @returns A listing of the character's freelance jobs with cursor pagination metadata
|
|
36
|
-
* @requires Authentication
|
|
37
|
-
*/
|
|
38
|
-
getCharacterFreelanceJobs(characterId, before, after) {
|
|
39
|
-
return this.api.getCharacterFreelanceJobs(characterId, before, after);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Retrieves a character's participation details for a specific freelance job.
|
|
43
|
-
*
|
|
44
|
-
* @param characterId - The ID of the character
|
|
45
|
-
* @param jobId - The unique identifier of the freelance job
|
|
46
|
-
* @returns The character's participation details for the job
|
|
47
|
-
* @requires Authentication
|
|
48
|
-
*/
|
|
49
|
-
getCharacterFreelanceJobParticipation(characterId, jobId) {
|
|
50
|
-
return this.api.getCharacterFreelanceJobParticipation(characterId, jobId);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Retrieves a paginated listing of freelance jobs associated with a specific corporation.
|
|
54
|
-
*
|
|
55
|
-
* @param corporationId - The ID of the corporation
|
|
56
|
-
* @param before - Optional cursor token for fetching the previous page of results
|
|
57
|
-
* @param after - Optional cursor token for fetching the next page of results
|
|
58
|
-
* @returns A listing of the corporation's freelance jobs with cursor pagination metadata
|
|
59
|
-
* @requires Authentication
|
|
60
|
-
*/
|
|
61
|
-
getCorporationFreelanceJobs(corporationId, before, after) {
|
|
62
|
-
return this.api.getCorporationFreelanceJobs(corporationId, before, after);
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Retrieves the list of participants from a corporation in a specific freelance job.
|
|
66
|
-
*
|
|
67
|
-
* @param corporationId - The ID of the corporation
|
|
68
|
-
* @param jobId - The unique identifier of the freelance job
|
|
69
|
-
* @returns An array of participants from the corporation in the job
|
|
70
|
-
* @requires Authentication
|
|
71
|
-
*/
|
|
72
|
-
getCorporationFreelanceJobParticipants(corporationId, jobId) {
|
|
73
|
-
return this.api.getCorporationFreelanceJobParticipants(corporationId, jobId);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
exports.FreelanceJobsClient = FreelanceJobsClient;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IncursionsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const incursionEndpoints_1 = require("../core/endpoints/incursionEndpoints");
|
|
6
|
-
class IncursionsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, incursionEndpoints_1.incursionEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves all currently active incursions, including their staging systems and influence levels.
|
|
12
|
-
*
|
|
13
|
-
* @returns An array of active incursions
|
|
14
|
-
*/
|
|
15
|
-
getIncursions() {
|
|
16
|
-
return this.api.getIncursions();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.IncursionsClient = IncursionsClient;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IndustryClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const industryEndpoints_1 = require("../core/endpoints/industryEndpoints");
|
|
6
|
-
class IndustryClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, industryEndpoints_1.industryEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves all industry jobs for a character, including manufacturing, research, and invention.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character
|
|
14
|
-
* @returns An array of the character's industry jobs
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getCharacterIndustryJobs(characterId) {
|
|
18
|
-
return this.api.getCharacterIndustryJobs(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves a character's personal mining ledger, showing ore mined per day.
|
|
22
|
-
*
|
|
23
|
-
* @param characterId - The ID of the character
|
|
24
|
-
* @returns An array of mining ledger entries
|
|
25
|
-
* @requires Authentication
|
|
26
|
-
*/
|
|
27
|
-
getCharacterMiningLedger(characterId) {
|
|
28
|
-
return this.api.getCharacterMiningLedger(characterId);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves moon extraction timers for a corporation's refineries.
|
|
32
|
-
*
|
|
33
|
-
* @param corporationId - The ID of the corporation
|
|
34
|
-
* @returns An array of moon extraction timers
|
|
35
|
-
* @requires Authentication
|
|
36
|
-
*/
|
|
37
|
-
getMoonExtractionTimers(corporationId) {
|
|
38
|
-
return this.api.getMoonExtractionTimers(corporationId);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Retrieves the list of mining observers (e.g., refineries) owned by a corporation.
|
|
42
|
-
*
|
|
43
|
-
* @param corporationId - The ID of the corporation
|
|
44
|
-
* @returns An array of mining observers
|
|
45
|
-
* @requires Authentication
|
|
46
|
-
*/
|
|
47
|
-
getCorporationMiningObservers(corporationId) {
|
|
48
|
-
return this.api.getCorporationMiningObservers(corporationId);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Retrieves mining activity recorded by a specific corporation mining observer.
|
|
52
|
-
*
|
|
53
|
-
* @param corporationId - The ID of the corporation
|
|
54
|
-
* @param observerId - The ID of the mining observer
|
|
55
|
-
* @returns An array of mining activity entries for the observer
|
|
56
|
-
* @requires Authentication
|
|
57
|
-
*/
|
|
58
|
-
getCorporationMiningObserver(corporationId, observerId) {
|
|
59
|
-
return this.api.getCorporationMiningObserver(corporationId, observerId);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Retrieves all industry jobs for a corporation, including manufacturing, research, and invention.
|
|
63
|
-
*
|
|
64
|
-
* @param corporationId - The ID of the corporation
|
|
65
|
-
* @returns An array of the corporation's industry jobs
|
|
66
|
-
* @requires Authentication
|
|
67
|
-
*/
|
|
68
|
-
getCorporationIndustryJobs(corporationId) {
|
|
69
|
-
return this.api.getCorporationIndustryJobs(corporationId);
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Retrieves a list of all publicly available industry facilities in the universe.
|
|
73
|
-
*
|
|
74
|
-
* @returns An array of industry facilities
|
|
75
|
-
*/
|
|
76
|
-
getIndustryFacilities() {
|
|
77
|
-
return this.api.getIndustryFacilities();
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Retrieves cost indices for solar systems with industry activity, used to calculate job installation fees.
|
|
81
|
-
*
|
|
82
|
-
* @returns An array of industry system cost indices
|
|
83
|
-
*/
|
|
84
|
-
getIndustrySystems() {
|
|
85
|
-
return this.api.getIndustrySystems();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
exports.IndustryClient = IndustryClient;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InsuranceClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const insuranceEndpoints_1 = require("../core/endpoints/insuranceEndpoints");
|
|
6
|
-
class InsuranceClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, insuranceEndpoints_1.insuranceEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves available insurance levels and their costs for all ship types.
|
|
12
|
-
*
|
|
13
|
-
* @returns An array of insurance price listings per ship type
|
|
14
|
-
*/
|
|
15
|
-
getInsurancePrices() {
|
|
16
|
-
return this.api.getInsurancePrices();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.InsuranceClient = InsuranceClient;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KillmailsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const killmailEndpoints_1 = require("../core/endpoints/killmailEndpoints");
|
|
6
|
-
class KillmailsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, killmailEndpoints_1.killmailEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves a list of recent killmail summaries for a character.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character to fetch killmails for
|
|
14
|
-
* @returns A list of recent killmail summaries including killmail IDs and hashes
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getCharacterRecentKillmails(characterId) {
|
|
18
|
-
return this.api.getCharacterRecentKillmails(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves a list of recent killmail summaries for a corporation.
|
|
22
|
-
*
|
|
23
|
-
* @param corporationId - The ID of the corporation to fetch killmails for
|
|
24
|
-
* @returns A list of recent killmail summaries including killmail IDs and hashes
|
|
25
|
-
* @requires Authentication
|
|
26
|
-
*/
|
|
27
|
-
getCorporationRecentKillmails(corporationId) {
|
|
28
|
-
return this.api.getCorporationRecentKillmails(corporationId);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves the full details of a specific killmail by its ID and hash.
|
|
32
|
-
*
|
|
33
|
-
* @param killmailId - The ID of the killmail to retrieve
|
|
34
|
-
* @param killmailHash - The hash of the killmail for verification
|
|
35
|
-
* @returns The full killmail details including victim, attackers, and items
|
|
36
|
-
*/
|
|
37
|
-
getKillmail(killmailId, killmailHash) {
|
|
38
|
-
return this.api.getKillmail(killmailId, killmailHash);
|
|
39
|
-
}
|
|
40
|
-
streamCharacterRecentKillmails(characterId) {
|
|
41
|
-
return this.streamEndpoint('getCharacterRecentKillmails', characterId);
|
|
42
|
-
}
|
|
43
|
-
streamCorporationRecentKillmails(corporationId) {
|
|
44
|
-
return this.streamEndpoint('getCorporationRecentKillmails', corporationId);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.KillmailsClient = KillmailsClient;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LocationClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const locationEndpoints_1 = require("../core/endpoints/locationEndpoints");
|
|
6
|
-
class LocationClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, locationEndpoints_1.locationEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves the current solar system, station, and structure location of a character.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character to locate
|
|
14
|
-
* @returns The character's current location including solar system and optional station or structure
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getCharacterLocation(characterId) {
|
|
18
|
-
return this.api.getCharacterLocation(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Checks whether a character is currently online and retrieves login/logout timestamps.
|
|
22
|
-
*
|
|
23
|
-
* @param characterId - The ID of the character to check
|
|
24
|
-
* @returns The character's online status and last login/logout times
|
|
25
|
-
* @requires Authentication
|
|
26
|
-
*/
|
|
27
|
-
getCharacterOnline(characterId) {
|
|
28
|
-
return this.api.getCharacterOnline(characterId);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves the type, name, and item ID of the ship a character is currently flying.
|
|
32
|
-
*
|
|
33
|
-
* @param characterId - The ID of the character whose ship to retrieve
|
|
34
|
-
* @returns The character's current ship details including type ID and ship name
|
|
35
|
-
* @requires Authentication
|
|
36
|
-
*/
|
|
37
|
-
getCharacterShip(characterId) {
|
|
38
|
-
return this.api.getCharacterShip(characterId);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.LocationClient = LocationClient;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LoyaltyClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const loyaltyEndpoints_1 = require("../core/endpoints/loyaltyEndpoints");
|
|
6
|
-
class LoyaltyClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, loyaltyEndpoints_1.loyaltyEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves the loyalty points a character has earned with each NPC corporation.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character to fetch loyalty points for
|
|
14
|
-
* @returns A list of loyalty point balances per corporation
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getLoyaltyPoints(characterId) {
|
|
18
|
-
return this.api.getLoyaltyPoints(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves the list of items available in an NPC corporation's loyalty point store.
|
|
22
|
-
*
|
|
23
|
-
* @param corporationId - The ID of the NPC corporation whose LP store to query
|
|
24
|
-
* @returns A list of offers available in the loyalty store
|
|
25
|
-
*/
|
|
26
|
-
getLoyaltyStoreOffers(corporationId) {
|
|
27
|
-
return this.api.getLoyaltyStoreOffers(corporationId);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.LoyaltyClient = LoyaltyClient;
|