@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,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CalendarClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const calendarEndpoints_1 = require("../core/endpoints/calendarEndpoints");
|
|
6
|
-
class CalendarClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, calendarEndpoints_1.calendarEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve a character's upcoming calendar events.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character whose calendar events to retrieve
|
|
14
|
-
* @returns A list of upcoming calendar events
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getCalendarEvents(characterId) {
|
|
18
|
-
return this.api.getCalendarEvents(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve detailed information about a specific calendar event for a character.
|
|
22
|
-
*
|
|
23
|
-
* @param characterId - The ID of the character who owns the event
|
|
24
|
-
* @param eventId - The ID of the calendar event to retrieve
|
|
25
|
-
* @returns Detailed event information including title, description, and timing
|
|
26
|
-
* @requires Authentication
|
|
27
|
-
*/
|
|
28
|
-
getCalendarEventById(characterId, eventId) {
|
|
29
|
-
return this.api.getCalendarEventById(characterId, eventId);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Set a character's response to a calendar event (accepted, declined, or tentative).
|
|
33
|
-
*
|
|
34
|
-
* @param characterId - The ID of the character responding to the event
|
|
35
|
-
* @param eventId - The ID of the calendar event to respond to
|
|
36
|
-
* @param response - The response status to set for this event
|
|
37
|
-
* @requires Authentication
|
|
38
|
-
*/
|
|
39
|
-
respondToCalendarEvent(characterId, eventId, response) {
|
|
40
|
-
return this.api.respondToCalendarEvent(characterId, eventId, response);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Retrieve the list of attendees and their response statuses for a calendar event.
|
|
44
|
-
*
|
|
45
|
-
* @param characterId - The ID of the character who owns the event
|
|
46
|
-
* @param eventId - The ID of the calendar event whose attendees to retrieve
|
|
47
|
-
* @returns A list of attendees with their response statuses
|
|
48
|
-
* @requires Authentication
|
|
49
|
-
*/
|
|
50
|
-
getEventAttendees(characterId, eventId) {
|
|
51
|
-
return this.api.getEventAttendees(characterId, eventId);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.CalendarClient = CalendarClient;
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CharacterClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const characterEndpoints_1 = require("../core/endpoints/characterEndpoints");
|
|
6
|
-
class CharacterClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, characterEndpoints_1.characterEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve publicly available information about a character.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character to look up
|
|
14
|
-
* @returns Public character information including name, corporation, and birthday
|
|
15
|
-
*/
|
|
16
|
-
getCharacterPublicInfo(characterId) {
|
|
17
|
-
return this.api.getCharacterPublicInfo(characterId);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Retrieve a character's active research agents and their accumulated research points.
|
|
21
|
-
*
|
|
22
|
-
* @param characterId - The ID of the character whose research agents to retrieve
|
|
23
|
-
* @returns A list of research agents with skill, points, and start date information
|
|
24
|
-
* @requires Authentication
|
|
25
|
-
*/
|
|
26
|
-
getCharacterAgentsResearch(characterId) {
|
|
27
|
-
return this.api.getAgentsResearch(characterId);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Retrieve blueprints owned by a character.
|
|
31
|
-
*
|
|
32
|
-
* @param characterId - The ID of the character whose blueprints to retrieve
|
|
33
|
-
* @returns A list of blueprints with material/time efficiency and run information
|
|
34
|
-
* @requires Authentication
|
|
35
|
-
*/
|
|
36
|
-
getCharacterBlueprints(characterId) {
|
|
37
|
-
return this.api.getBlueprints(characterId);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Retrieve the corporation membership history of a character.
|
|
41
|
-
*
|
|
42
|
-
* @param characterId - The ID of the character whose corporation history to retrieve
|
|
43
|
-
* @returns A chronological list of corporations the character has been a member of
|
|
44
|
-
* @requires Authentication
|
|
45
|
-
*/
|
|
46
|
-
getCharacterCorporationHistory(characterId) {
|
|
47
|
-
return this.api.getCorporationHistory(characterId);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Calculate the CSPA (CONCORD Spam Prevention Act) charge cost for sending mail to a set of characters.
|
|
51
|
-
*
|
|
52
|
-
* @param characterId - The ID of the character who would be sending mail
|
|
53
|
-
* @param characters - An array of character IDs to calculate CSPA charges for
|
|
54
|
-
* @returns The total CSPA charge cost in ISK
|
|
55
|
-
* @requires Authentication
|
|
56
|
-
*/
|
|
57
|
-
postCspaChargeCost(characterId, characters) {
|
|
58
|
-
return this.api.calculateCspaChargeCost(characterId, characters);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Retrieve a character's current jump fatigue and activation cooldown timers.
|
|
62
|
-
*
|
|
63
|
-
* @param characterId - The ID of the character whose jump fatigue to retrieve
|
|
64
|
-
* @returns Jump fatigue expiry dates and last jump information
|
|
65
|
-
* @requires Authentication
|
|
66
|
-
*/
|
|
67
|
-
getCharacterFatigue(characterId) {
|
|
68
|
-
return this.api.getJumpFatigue(characterId);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Retrieve medals awarded to a character.
|
|
72
|
-
*
|
|
73
|
-
* @param characterId - The ID of the character whose medals to retrieve
|
|
74
|
-
* @returns A list of medals the character has been awarded
|
|
75
|
-
* @requires Authentication
|
|
76
|
-
*/
|
|
77
|
-
getCharacterMedals(characterId) {
|
|
78
|
-
return this.api.getMedals(characterId);
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Retrieve a character's notifications from the notification center.
|
|
82
|
-
*
|
|
83
|
-
* @param characterId - The ID of the character whose notifications to retrieve
|
|
84
|
-
* @returns A list of notifications including type, sender, and timestamp
|
|
85
|
-
* @requires Authentication
|
|
86
|
-
*/
|
|
87
|
-
getCharacterNotifications(characterId) {
|
|
88
|
-
return this.api.getNotifications(characterId);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Retrieve notifications related to contact changes for a character.
|
|
92
|
-
*
|
|
93
|
-
* @param characterId - The ID of the character whose contact notifications to retrieve
|
|
94
|
-
* @returns A list of contact-related notifications
|
|
95
|
-
* @requires Authentication
|
|
96
|
-
*/
|
|
97
|
-
getCharacterNotificationsContacts(characterId) {
|
|
98
|
-
return this.api.getContactNotifications(characterId);
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Retrieve portrait image URLs for a character at various resolutions.
|
|
102
|
-
*
|
|
103
|
-
* @param characterId - The ID of the character whose portrait to retrieve
|
|
104
|
-
* @returns Portrait URLs at different resolutions (64x64, 128x128, 256x256, 512x512)
|
|
105
|
-
*/
|
|
106
|
-
getCharacterPortrait(characterId) {
|
|
107
|
-
return this.api.getPortrait(characterId);
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Retrieve the corporation roles assigned to a character.
|
|
111
|
-
*
|
|
112
|
-
* @param characterId - The ID of the character whose roles to retrieve
|
|
113
|
-
* @returns The character's roles including regular, HQ, base, and other role categories
|
|
114
|
-
* @requires Authentication
|
|
115
|
-
*/
|
|
116
|
-
getCharacterRoles(characterId) {
|
|
117
|
-
return this.api.getRoles(characterId);
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Retrieve a character's standings with NPC factions, corporations, and agents.
|
|
121
|
-
*
|
|
122
|
-
* @param characterId - The ID of the character whose standings to retrieve
|
|
123
|
-
* @returns A list of standings with from_type, from_id, and standing value
|
|
124
|
-
* @requires Authentication
|
|
125
|
-
*/
|
|
126
|
-
getCharacterStandings(characterId) {
|
|
127
|
-
return this.api.getStandings(characterId);
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Retrieve the corporation titles held by a character.
|
|
131
|
-
*
|
|
132
|
-
* @param characterId - The ID of the character whose titles to retrieve
|
|
133
|
-
* @returns A list of corporation titles assigned to the character
|
|
134
|
-
* @requires Authentication
|
|
135
|
-
*/
|
|
136
|
-
getCharacterTitles(characterId) {
|
|
137
|
-
return this.api.getTitles(characterId);
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Look up the current corporation, alliance, and faction affiliations for a set of characters via a bulk POST request.
|
|
141
|
-
*
|
|
142
|
-
* @param characters - An array of character IDs to look up affiliations for
|
|
143
|
-
* @returns Affiliation data including corporation, alliance, and faction IDs for each character
|
|
144
|
-
*/
|
|
145
|
-
postCharacterAffiliation(characters) {
|
|
146
|
-
return this.api.postCharacterAffiliation(characters);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
exports.CharacterClient = CharacterClient;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClonesClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const cloneEndpoints_1 = require("../core/endpoints/cloneEndpoints");
|
|
6
|
-
class ClonesClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, cloneEndpoints_1.cloneEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve a character's clone state, including home station and available jump clones.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character whose clone information to retrieve
|
|
14
|
-
* @returns Clone information including home location and jump clone details
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getClones(characterId) {
|
|
18
|
-
return this.api.getClones(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve the implants currently installed in a character's active clone.
|
|
22
|
-
*
|
|
23
|
-
* @param characterId - The ID of the character whose implants to retrieve
|
|
24
|
-
* @returns An array of type IDs for the currently installed implants
|
|
25
|
-
* @requires Authentication
|
|
26
|
-
*/
|
|
27
|
-
getImplants(characterId) {
|
|
28
|
-
return this.api.getImplants(characterId);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.ClonesClient = ClonesClient;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContactsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const contactEndpoints_1 = require("../core/endpoints/contactEndpoints");
|
|
6
|
-
class ContactsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, contactEndpoints_1.contactEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve contacts for an alliance.
|
|
12
|
-
*
|
|
13
|
-
* @param allianceId - The ID of the alliance whose contacts to retrieve
|
|
14
|
-
* @returns A list of alliance contacts with standings and contact types
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getAllianceContacts(allianceId) {
|
|
18
|
-
return this.api.getAllianceContacts(allianceId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve custom contact labels for an alliance.
|
|
22
|
-
*
|
|
23
|
-
* @param allianceId - The ID of the alliance whose contact labels to retrieve
|
|
24
|
-
* @returns A list of custom labels used to categorize alliance contacts
|
|
25
|
-
* @requires Authentication
|
|
26
|
-
*/
|
|
27
|
-
getAllianceContactLabels(allianceId) {
|
|
28
|
-
return this.api.getAllianceContactLabels(allianceId);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Delete contacts from a character's contact list.
|
|
32
|
-
*
|
|
33
|
-
* @param characterId - The ID of the character whose contacts to delete
|
|
34
|
-
* @param contactIds - An array of contact IDs to remove
|
|
35
|
-
* @requires Authentication
|
|
36
|
-
*/
|
|
37
|
-
deleteCharacterContacts(characterId, contactIds) {
|
|
38
|
-
return this.api.deleteCharacterContacts(characterId, contactIds.join(','));
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Retrieve a character's contact list.
|
|
42
|
-
*
|
|
43
|
-
* @param characterId - The ID of the character whose contacts to retrieve
|
|
44
|
-
* @returns A list of character contacts with standings, labels, and contact types
|
|
45
|
-
* @requires Authentication
|
|
46
|
-
*/
|
|
47
|
-
getCharacterContacts(characterId) {
|
|
48
|
-
return this.api.getCharacterContacts(characterId);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Add contacts to a character's contact list via a POST request.
|
|
52
|
-
*
|
|
53
|
-
* @param characterId - The ID of the character to add contacts for
|
|
54
|
-
* @param standing - Standing value for the contacts (-10 to 10)
|
|
55
|
-
* @param contactIds - Array of character/corporation/alliance IDs to add
|
|
56
|
-
* @returns An array of contact IDs that were successfully added
|
|
57
|
-
* @requires Authentication
|
|
58
|
-
*/
|
|
59
|
-
postCharacterContacts(characterId, standing, contactIds) {
|
|
60
|
-
return this.api.addContacts(characterId, standing, contactIds);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Update existing contacts in a character's contact list via a PUT request.
|
|
64
|
-
*
|
|
65
|
-
* @param characterId - The ID of the character whose contacts to update
|
|
66
|
-
* @param standing - New standing value for the contacts (-10 to 10)
|
|
67
|
-
* @param contactIds - Array of contact IDs to update
|
|
68
|
-
* @requires Authentication
|
|
69
|
-
*/
|
|
70
|
-
putCharacterContacts(characterId, standing, contactIds) {
|
|
71
|
-
return this.api.editContacts(characterId, standing, contactIds);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Retrieve custom contact labels for a character.
|
|
75
|
-
*
|
|
76
|
-
* @param characterId - The ID of the character whose contact labels to retrieve
|
|
77
|
-
* @returns A list of custom labels used to categorize character contacts
|
|
78
|
-
* @requires Authentication
|
|
79
|
-
*/
|
|
80
|
-
getCharacterContactLabels(characterId) {
|
|
81
|
-
return this.api.getCharacterContactLabels(characterId);
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Retrieve contacts for a corporation.
|
|
85
|
-
*
|
|
86
|
-
* @param corporationId - The ID of the corporation whose contacts to retrieve
|
|
87
|
-
* @returns A list of corporation contacts with standings and contact types
|
|
88
|
-
* @requires Authentication
|
|
89
|
-
*/
|
|
90
|
-
getCorporationContacts(corporationId) {
|
|
91
|
-
return this.api.getCorporationContacts(corporationId);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Retrieve custom contact labels for a corporation.
|
|
95
|
-
*
|
|
96
|
-
* @param corporationId - The ID of the corporation whose contact labels to retrieve
|
|
97
|
-
* @returns A list of custom labels used to categorize corporation contacts
|
|
98
|
-
* @requires Authentication
|
|
99
|
-
*/
|
|
100
|
-
getCorporationContactLabels(corporationId) {
|
|
101
|
-
return this.api.getCorporationContactLabels(corporationId);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.ContactsClient = ContactsClient;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContractsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const contractEndpoints_1 = require("../core/endpoints/contractEndpoints");
|
|
6
|
-
class ContractsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, contractEndpoints_1.contractEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve contracts issued by or assigned to a character.
|
|
12
|
-
*
|
|
13
|
-
* @param characterId - The ID of the character whose contracts to retrieve
|
|
14
|
-
* @returns A list of contracts with type, status, and pricing information
|
|
15
|
-
* @requires Authentication
|
|
16
|
-
*/
|
|
17
|
-
getCharacterContracts(characterId) {
|
|
18
|
-
return this.api.getCharacterContracts(characterId);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve bids placed on an auction contract owned by a character.
|
|
22
|
-
*
|
|
23
|
-
* @param characterId - The ID of the character who owns the contract
|
|
24
|
-
* @param contractId - The ID of the contract whose bids to retrieve
|
|
25
|
-
* @returns A list of bids with bidder, amount, and timestamp
|
|
26
|
-
* @requires Authentication
|
|
27
|
-
*/
|
|
28
|
-
getCharacterContractBids(characterId, contractId) {
|
|
29
|
-
return this.api.getCharacterContractBids(characterId, contractId);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Retrieve the items included in a contract owned by a character.
|
|
33
|
-
*
|
|
34
|
-
* @param characterId - The ID of the character who owns the contract
|
|
35
|
-
* @param contractId - The ID of the contract whose items to retrieve
|
|
36
|
-
* @returns A list of items in the contract with type, quantity, and included/excluded status
|
|
37
|
-
* @requires Authentication
|
|
38
|
-
*/
|
|
39
|
-
getCharacterContractItems(characterId, contractId) {
|
|
40
|
-
return this.api.getCharacterContractItems(characterId, contractId);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Retrieve publicly available contracts in a specific region.
|
|
44
|
-
*
|
|
45
|
-
* @param regionId - The ID of the region whose public contracts to retrieve
|
|
46
|
-
* @returns A list of public contracts in the region
|
|
47
|
-
*/
|
|
48
|
-
getPublicContracts(regionId) {
|
|
49
|
-
return this.api.getPublicContracts(regionId);
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Retrieve bids placed on a public auction contract.
|
|
53
|
-
*
|
|
54
|
-
* @param contractId - The ID of the public contract whose bids to retrieve
|
|
55
|
-
* @returns A list of bids with bidder, amount, and timestamp
|
|
56
|
-
*/
|
|
57
|
-
getPublicContractBids(contractId) {
|
|
58
|
-
return this.api.getPublicContractBids(contractId);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Retrieve the items included in a public contract.
|
|
62
|
-
*
|
|
63
|
-
* @param contractId - The ID of the public contract whose items to retrieve
|
|
64
|
-
* @returns A list of items in the contract with type, quantity, and included/excluded status
|
|
65
|
-
*/
|
|
66
|
-
getPublicContractItems(contractId) {
|
|
67
|
-
return this.api.getPublicContractItems(contractId);
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Retrieve contracts issued by or assigned to a corporation.
|
|
71
|
-
*
|
|
72
|
-
* @param corporationId - The ID of the corporation whose contracts to retrieve
|
|
73
|
-
* @returns A list of contracts with type, status, and pricing information
|
|
74
|
-
* @requires Authentication
|
|
75
|
-
*/
|
|
76
|
-
getCorporationContracts(corporationId) {
|
|
77
|
-
return this.api.getCorporationContracts(corporationId);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Retrieve bids placed on an auction contract owned by a corporation.
|
|
81
|
-
*
|
|
82
|
-
* @param corporationId - The ID of the corporation that owns the contract
|
|
83
|
-
* @param contractId - The ID of the contract whose bids to retrieve
|
|
84
|
-
* @returns A list of bids with bidder, amount, and timestamp
|
|
85
|
-
* @requires Authentication
|
|
86
|
-
*/
|
|
87
|
-
getCorporationContractBids(corporationId, contractId) {
|
|
88
|
-
return this.api.getCorporationContractBids(corporationId, contractId);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Retrieve the items included in a contract owned by a corporation.
|
|
92
|
-
*
|
|
93
|
-
* @param corporationId - The ID of the corporation that owns the contract
|
|
94
|
-
* @param contractId - The ID of the contract whose items to retrieve
|
|
95
|
-
* @returns A list of items in the contract with type, quantity, and included/excluded status
|
|
96
|
-
* @requires Authentication
|
|
97
|
-
*/
|
|
98
|
-
getCorporationContractItems(corporationId, contractId) {
|
|
99
|
-
return this.api.getCorporationContractItems(corporationId, contractId);
|
|
100
|
-
}
|
|
101
|
-
streamPublicContracts(regionId) {
|
|
102
|
-
return this.streamEndpoint('getPublicContracts', regionId);
|
|
103
|
-
}
|
|
104
|
-
streamCharacterContracts(characterId) {
|
|
105
|
-
return this.streamEndpoint('getCharacterContracts', characterId);
|
|
106
|
-
}
|
|
107
|
-
streamCorporationContracts(corporationId) {
|
|
108
|
-
return this.streamEndpoint('getCorporationContracts', corporationId);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.ContractsClient = ContractsClient;
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CorporationsClient = void 0;
|
|
4
|
-
const BaseEsiClient_1 = require("./BaseEsiClient");
|
|
5
|
-
const corporationEndpoints_1 = require("../core/endpoints/corporationEndpoints");
|
|
6
|
-
class CorporationsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
7
|
-
constructor(client) {
|
|
8
|
-
super(client, corporationEndpoints_1.corporationEndpoints);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve public information about a corporation.
|
|
12
|
-
*
|
|
13
|
-
* @param corporationId - The ID of the corporation to look up
|
|
14
|
-
* @returns Public corporation information including name, ticker, member count, and CEO
|
|
15
|
-
*/
|
|
16
|
-
getCorporationInfo(corporationId) {
|
|
17
|
-
return this.api.getCorporationInfo(corporationId);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Retrieve the alliance membership history of a corporation.
|
|
21
|
-
*
|
|
22
|
-
* @param corporationId - The ID of the corporation whose alliance history to retrieve
|
|
23
|
-
* @returns A chronological list of alliances the corporation has been a member of
|
|
24
|
-
*/
|
|
25
|
-
getCorporationAllianceHistory(corporationId) {
|
|
26
|
-
return this.api.getCorporationAllianceHistory(corporationId);
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Retrieve blueprints owned by a corporation.
|
|
30
|
-
*
|
|
31
|
-
* @param corporationId - The ID of the corporation whose blueprints to retrieve
|
|
32
|
-
* @returns A list of blueprints with material/time efficiency and run information
|
|
33
|
-
* @requires Authentication
|
|
34
|
-
*/
|
|
35
|
-
getCorporationBlueprints(corporationId) {
|
|
36
|
-
return this.api.getCorporationBlueprints(corporationId);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Retrieve audit log secure container (ALSC) logs for a corporation.
|
|
40
|
-
*
|
|
41
|
-
* @param corporationId - The ID of the corporation whose container logs to retrieve
|
|
42
|
-
* @returns A list of container access logs with action, character, and timestamp details
|
|
43
|
-
* @requires Authentication
|
|
44
|
-
*/
|
|
45
|
-
getCorporationAlscLogs(corporationId) {
|
|
46
|
-
return this.api.getCorporationAlscLogs(corporationId);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Retrieve the hangar and wallet division names for a corporation.
|
|
50
|
-
*
|
|
51
|
-
* @param corporationId - The ID of the corporation whose divisions to retrieve
|
|
52
|
-
* @returns Hangar and wallet division configurations with custom names
|
|
53
|
-
* @requires Authentication
|
|
54
|
-
*/
|
|
55
|
-
getCorporationDivisions(corporationId) {
|
|
56
|
-
return this.api.getCorporationDivisions(corporationId);
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Retrieve the industrial facilities owned by a corporation.
|
|
60
|
-
*
|
|
61
|
-
* @param corporationId - The ID of the corporation whose facilities to retrieve
|
|
62
|
-
* @returns A list of corporation-owned facilities with type and solar system information
|
|
63
|
-
* @requires Authentication
|
|
64
|
-
*/
|
|
65
|
-
getCorporationFacilities(corporationId) {
|
|
66
|
-
return this.api.getCorporationFacilities(corporationId);
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Retrieve icon URLs for a corporation at various resolutions.
|
|
70
|
-
*
|
|
71
|
-
* @param corporationId - The ID of the corporation whose icons to retrieve
|
|
72
|
-
* @returns Icon URLs at 64x64, 128x128, and 256x256 resolutions
|
|
73
|
-
*/
|
|
74
|
-
getCorporationIcon(corporationId) {
|
|
75
|
-
return this.api.getCorporationIcon(corporationId);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Retrieve medals created by a corporation.
|
|
79
|
-
*
|
|
80
|
-
* @param corporationId - The ID of the corporation whose medals to retrieve
|
|
81
|
-
* @returns A list of medals defined by the corporation
|
|
82
|
-
* @requires Authentication
|
|
83
|
-
*/
|
|
84
|
-
getCorporationMedals(corporationId) {
|
|
85
|
-
return this.api.getCorporationMedals(corporationId);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Retrieve medals that have been issued to members by a corporation.
|
|
89
|
-
*
|
|
90
|
-
* @param corporationId - The ID of the corporation whose issued medals to retrieve
|
|
91
|
-
* @returns A list of medals issued to corporation members with recipient and issuer details
|
|
92
|
-
* @requires Authentication
|
|
93
|
-
*/
|
|
94
|
-
getCorporationIssuedMedals(corporationId) {
|
|
95
|
-
return this.api.getCorporationIssuedMedals(corporationId);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Retrieve the character IDs of all members in a corporation.
|
|
99
|
-
*
|
|
100
|
-
* @param corporationId - The ID of the corporation whose members to retrieve
|
|
101
|
-
* @returns An array of character IDs for all corporation members
|
|
102
|
-
* @requires Authentication
|
|
103
|
-
*/
|
|
104
|
-
getCorporationMembers(corporationId) {
|
|
105
|
-
return this.api.getCorporationMembers(corporationId);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Retrieve the maximum number of members a corporation can have based on its current skills.
|
|
109
|
-
*
|
|
110
|
-
* @param corporationId - The ID of the corporation whose member limit to retrieve
|
|
111
|
-
* @returns The maximum member count for the corporation
|
|
112
|
-
* @requires Authentication
|
|
113
|
-
*/
|
|
114
|
-
getCorporationMemberLimit(corporationId) {
|
|
115
|
-
return this.api.getCorporationMemberLimit(corporationId);
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Retrieve the titles assigned to each member of a corporation.
|
|
119
|
-
*
|
|
120
|
-
* @param corporationId - The ID of the corporation whose member titles to retrieve
|
|
121
|
-
* @returns A list of members and their assigned title IDs
|
|
122
|
-
* @requires Authentication
|
|
123
|
-
*/
|
|
124
|
-
getCorporationMemberTitles(corporationId) {
|
|
125
|
-
return this.api.getCorporationMembersTitles(corporationId);
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Retrieve tracking information for corporation members including last login and location.
|
|
129
|
-
*
|
|
130
|
-
* @param corporationId - The ID of the corporation whose member tracking data to retrieve
|
|
131
|
-
* @returns A list of members with login times, ship types, and location details
|
|
132
|
-
* @requires Authentication
|
|
133
|
-
*/
|
|
134
|
-
getCorporationMemberTracking(corporationId) {
|
|
135
|
-
return this.api.getCorporationMemberTracking(corporationId);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Retrieve the roles assigned to each member of a corporation.
|
|
139
|
-
*
|
|
140
|
-
* @param corporationId - The ID of the corporation whose member roles to retrieve
|
|
141
|
-
* @returns A list of members and their assigned roles across all role categories
|
|
142
|
-
* @requires Authentication
|
|
143
|
-
*/
|
|
144
|
-
getCorporationRoles(corporationId) {
|
|
145
|
-
return this.api.getCorporationMemberRoles(corporationId);
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Retrieve the history of role changes for members of a corporation.
|
|
149
|
-
*
|
|
150
|
-
* @param corporationId - The ID of the corporation whose role change history to retrieve
|
|
151
|
-
* @returns A chronological list of role changes with before/after states and issuer details
|
|
152
|
-
* @requires Authentication
|
|
153
|
-
*/
|
|
154
|
-
getCorporationRolesHistory(corporationId) {
|
|
155
|
-
return this.api.getCorporationMemberRolesHistory(corporationId);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Retrieve the shareholders of a corporation, including characters and corporations holding shares.
|
|
159
|
-
*
|
|
160
|
-
* @param corporationId - The ID of the corporation whose shareholders to retrieve
|
|
161
|
-
* @returns A list of shareholders with share counts and holder types
|
|
162
|
-
* @requires Authentication
|
|
163
|
-
*/
|
|
164
|
-
getCorporationShareholders(corporationId) {
|
|
165
|
-
return this.api.getCorporationShareholders(corporationId);
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Retrieve a corporation's standings with NPC factions, corporations, and agents.
|
|
169
|
-
*
|
|
170
|
-
* @param corporationId - The ID of the corporation whose standings to retrieve
|
|
171
|
-
* @returns A list of standings with from_type, from_id, and standing value
|
|
172
|
-
* @requires Authentication
|
|
173
|
-
*/
|
|
174
|
-
getCorporationStandings(corporationId) {
|
|
175
|
-
return this.api.getCorporationStandings(corporationId);
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Retrieve the list of starbases (POSes) owned by a corporation.
|
|
179
|
-
*
|
|
180
|
-
* @param corporationId - The ID of the corporation whose starbases to retrieve
|
|
181
|
-
* @returns A list of starbases with type, system, and state information
|
|
182
|
-
* @requires Authentication
|
|
183
|
-
*/
|
|
184
|
-
getCorporationStarbases(corporationId) {
|
|
185
|
-
return this.api.getCorporationStarbases(corporationId);
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Retrieve detailed configuration and fuel information for a specific starbase (POS).
|
|
189
|
-
*
|
|
190
|
-
* @param corporationId - The ID of the corporation that owns the starbase
|
|
191
|
-
* @param starbaseId - The ID of the starbase to retrieve details for
|
|
192
|
-
* @returns Detailed starbase information including fuel levels and access settings
|
|
193
|
-
* @requires Authentication
|
|
194
|
-
*/
|
|
195
|
-
getCorporationStarbaseDetail(corporationId, starbaseId) {
|
|
196
|
-
return this.api.getCorporationStarbaseDetail(corporationId, starbaseId);
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Retrieve citadel and other upwell structures owned by a corporation.
|
|
200
|
-
*
|
|
201
|
-
* @param corporationId - The ID of the corporation whose structures to retrieve
|
|
202
|
-
* @returns A list of structures with type, location, state, and service information
|
|
203
|
-
* @requires Authentication
|
|
204
|
-
*/
|
|
205
|
-
getCorporationStructures(corporationId) {
|
|
206
|
-
return this.api.getCorporationStructures(corporationId);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Retrieve the titles defined by a corporation and their associated roles.
|
|
210
|
-
*
|
|
211
|
-
* @param corporationId - The ID of the corporation whose titles to retrieve
|
|
212
|
-
* @returns A list of corporation titles with names and granted roles
|
|
213
|
-
* @requires Authentication
|
|
214
|
-
*/
|
|
215
|
-
getCorporationTitles(corporationId) {
|
|
216
|
-
return this.api.getCorporationTitles(corporationId);
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* Retrieve a list of all NPC corporation IDs in EVE Online.
|
|
220
|
-
*
|
|
221
|
-
* @returns An array of NPC corporation IDs
|
|
222
|
-
*/
|
|
223
|
-
getNpcCorporations() {
|
|
224
|
-
return this.api.getNpcCorporations();
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
exports.CorporationsClient = CorporationsClient;
|