@lgriffin/esi.ts 10.0.0 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +142 -0
- package/README.md +14 -5
- package/dist/EsiClient.d.mts +140 -0
- package/dist/EsiClientBuilder.d.mts +75 -0
- package/dist/auth/EsiTokenManager.d.mts +200 -0
- package/dist/auth/EveSsoClient.d.mts +88 -0
- package/dist/auth/errors.d.mts +42 -0
- package/dist/auth/index.d.mts +14 -0
- package/dist/auth/jwt.d.mts +43 -0
- package/dist/auth/pkce.d.mts +21 -0
- package/dist/auth/storage/FileTokenStorage.d.mts +44 -0
- package/dist/auth/storage/MemoryTokenStorage.d.mts +18 -0
- package/dist/auth/types.d.mts +42 -0
- package/dist/{chunk-7A72QFDF.mjs → chunk-D5L5HZVF.mjs} +3 -2
- package/dist/chunk-D5L5HZVF.mjs.map +1 -0
- package/dist/{chunk-HPSACXX3.js → chunk-XIB2OXEZ.js} +3 -2
- package/dist/chunk-XIB2OXEZ.js.map +1 -0
- package/dist/clients/AccessListsClient.d.mts +25 -0
- package/dist/clients/AllianceClient.d.mts +59 -0
- package/dist/clients/AssetsClient.d.mts +65 -0
- package/dist/clients/BaseEsiClient.d.mts +19 -0
- package/dist/clients/CalendarClient.d.mts +48 -0
- package/dist/clients/CharacterClient.d.mts +134 -0
- package/dist/clients/ClonesClient.d.mts +27 -0
- package/dist/clients/ContactsClient.d.mts +96 -0
- package/dist/clients/ContractsClient.d.mts +91 -0
- package/dist/clients/CorporationProjectsClient.d.mts +54 -0
- package/dist/clients/CorporationsClient.d.mts +219 -0
- package/dist/clients/CosmeticsClient.d.mts +11 -0
- package/dist/clients/DogmaClient.d.mts +42 -0
- package/dist/clients/FactionClient.d.mts +60 -0
- package/dist/clients/FittingsClient.d.mts +38 -0
- package/dist/clients/FleetClient.d.mts +134 -0
- package/dist/clients/FreelanceJobsClient.d.mts +61 -0
- package/dist/clients/IncursionsClient.d.mts +14 -0
- package/dist/clients/IndustryClient.d.mts +86 -0
- package/dist/clients/InsuranceClient.d.mts +14 -0
- package/dist/clients/KillmailsClient.d.mts +37 -0
- package/dist/clients/LocationClient.d.mts +32 -0
- package/dist/clients/LoyaltyClient.d.mts +28 -0
- package/dist/clients/MailClient.d.mts +104 -0
- package/dist/clients/MarketClient.d.mts +102 -0
- package/dist/clients/MercenaryClient.d.mts +42 -0
- package/dist/clients/MetaClient.d.mts +45 -0
- package/dist/clients/MilitaryCampaignsClient.d.mts +53 -0
- package/dist/clients/ParagonHubClient.d.mts +13 -0
- package/dist/clients/PiClient.d.mts +45 -0
- package/dist/clients/RouteClient.d.mts +25 -0
- package/dist/clients/SearchClient.d.mts +17 -0
- package/dist/clients/SkillsClient.d.mts +39 -0
- package/dist/clients/SkyhooksClient.d.mts +48 -0
- package/dist/clients/SovereigntyClient.d.mts +20 -0
- package/dist/clients/StatusClient.d.mts +14 -0
- package/dist/clients/UiClient.d.mts +44 -0
- package/dist/clients/UniverseClient.d.mts +212 -0
- package/dist/clients/WalletClient.d.mts +70 -0
- package/dist/clients/WarsClient.d.mts +33 -0
- package/dist/core/ApiClient.d.mts +73 -0
- package/dist/core/ApiClientBuilder.d.mts +24 -0
- package/dist/core/ApiRequestHandler.d.ts.map +1 -1
- package/dist/core/BatchRequestHandler.d.mts +12 -0
- package/dist/core/ClientRegistry.d.mts +45 -0
- package/dist/core/EsiDiagnostics.d.mts +35 -0
- package/dist/core/IDeduplicator.d.mts +22 -0
- package/dist/core/IDeduplicator.d.ts +16 -0
- package/dist/core/IDeduplicator.d.ts.map +1 -1
- package/dist/core/IRetryStrategy.d.mts +5 -0
- package/dist/core/RequestDeduplicator.d.mts +21 -0
- package/dist/core/RequestDeduplicator.d.ts +11 -0
- package/dist/core/RequestDeduplicator.d.ts.map +1 -1
- package/dist/core/RetryStrategy.d.mts +21 -0
- package/dist/core/cache/ETagCacheManager.d.mts +75 -0
- package/dist/core/cache/ICache.d.mts +27 -0
- package/dist/core/cache/cacheKey.d.ts +11 -0
- package/dist/core/cache/cacheKey.d.ts.map +1 -1
- package/dist/core/circuitBreaker/CircuitBreaker.d.mts +52 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
- package/dist/core/circuitBreaker/ICircuitBreaker.d.mts +23 -0
- package/dist/core/configureApiClient.d.mts +18 -0
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/endpoints/EndpointDefinition.d.mts +63 -0
- package/dist/core/endpoints/accessListEndpoints.d.mts +34 -0
- package/dist/core/endpoints/allianceEndpoints.d.mts +43 -0
- package/dist/core/endpoints/assetEndpoints.d.mts +76 -0
- package/dist/core/endpoints/buildEndpointPath.d.mts +7 -0
- package/dist/core/endpoints/calendarEndpoints.d.mts +54 -0
- package/dist/core/endpoints/characterEndpoints.d.mts +185 -0
- package/dist/core/endpoints/cloneEndpoints.d.mts +32 -0
- package/dist/core/endpoints/contactEndpoints.d.mts +106 -0
- package/dist/core/endpoints/contractEndpoints.d.mts +168 -0
- package/dist/core/endpoints/corporationEndpoints.d.mts +324 -0
- package/dist/core/endpoints/corporationProjectEndpoints.d.mts +102 -0
- package/dist/core/endpoints/cosmeticsEndpoints.d.mts +52 -0
- package/dist/core/endpoints/createClient.d.mts +69 -0
- package/dist/core/endpoints/dogmaEndpoints.d.mts +89 -0
- package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.mts +7 -0
- package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-scopes.generated.d.mts +3 -0
- package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
- package/dist/core/endpoints/factionEndpoints.d.mts +194 -0
- package/dist/core/endpoints/fittingEndpoints.d.mts +34 -0
- package/dist/core/endpoints/fleetEndpoints.d.mts +137 -0
- package/dist/core/endpoints/freelanceJobsEndpoints.d.mts +181 -0
- package/dist/core/endpoints/incursionEndpoints.d.mts +19 -0
- package/dist/core/endpoints/industryEndpoints.d.mts +138 -0
- package/dist/core/endpoints/insuranceEndpoints.d.mts +17 -0
- package/dist/core/endpoints/killmailEndpoints.d.mts +62 -0
- package/dist/core/endpoints/locationEndpoints.d.mts +37 -0
- package/dist/core/endpoints/loyaltyEndpoints.d.mts +32 -0
- package/dist/core/endpoints/mailEndpoints.d.mts +111 -0
- package/dist/core/endpoints/marketEndpoints.d.mts +191 -0
- package/dist/core/endpoints/mercenaryEndpoints.d.mts +79 -0
- package/dist/core/endpoints/metaEndpoints.d.mts +50 -0
- package/dist/core/endpoints/militaryCampaignEndpoints.d.mts +87 -0
- package/dist/core/endpoints/paragonHubEndpoints.d.mts +163 -0
- package/dist/core/endpoints/piEndpoints.d.mts +101 -0
- package/dist/core/endpoints/routeEndpoints.d.mts +14 -0
- package/dist/core/endpoints/searchEndpoints.d.mts +26 -0
- package/dist/core/endpoints/skillEndpoints.d.mts +52 -0
- package/dist/core/endpoints/skyhookEndpoints.d.mts +111 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.mts +59 -0
- package/dist/core/endpoints/statusEndpoints.d.mts +14 -0
- package/dist/core/endpoints/uiEndpoints.d.mts +43 -0
- package/dist/core/endpoints/universeEndpoints.d.mts +456 -0
- package/dist/core/endpoints/walletEndpoints.d.mts +98 -0
- package/dist/core/endpoints/warEndpoints.d.mts +51 -0
- package/dist/core/logger/DefaultLogger.d.mts +31 -0
- package/dist/core/logger/ILogger.d.mts +17 -0
- package/dist/core/logger/NoopLogger.d.mts +7 -0
- package/dist/core/logger/loggerUtil.d.mts +11 -0
- package/dist/core/middleware/Middleware.d.mts +30 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.mts +12 -0
- package/dist/core/pagination/CursorPaginationHandler.d.mts +68 -0
- package/dist/core/rateLimiter/IRateLimiter.d.mts +27 -0
- package/dist/core/rateLimiter/RateLimiter.d.mts +62 -0
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts +11 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -1
- package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -1
- package/dist/core/requestPipeline/index.d.ts +1 -1
- package/dist/core/requestPipeline/index.d.ts.map +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -1
- package/dist/core/requestPipeline/statusHandling.d.ts +6 -0
- package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -1
- package/dist/core/util/error.d.mts +37 -0
- package/dist/core/util/retry.d.mts +8 -0
- package/dist/core/util/retry.d.ts.map +1 -1
- package/dist/errors.d.mts +5 -0
- package/dist/errors.js +2 -2
- package/dist/errors.mjs +1 -1
- package/dist/index.d.mts +81 -0
- package/dist/index.js +373 -195
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +266 -88
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/access-lists.d.mts +16 -0
- package/dist/schemas/alliance.d.mts +26 -0
- package/dist/schemas/assets.d.mts +24 -0
- package/dist/schemas/calendar.d.mts +27 -0
- package/dist/schemas/character.d.mts +109 -0
- package/dist/schemas/clones.d.mts +17 -0
- package/dist/schemas/common.d.mts +74 -0
- package/dist/schemas/contacts.d.mts +14 -0
- package/dist/schemas/contracts.d.mts +104 -0
- package/dist/schemas/corporation-projects.d.mts +104 -0
- package/dist/schemas/corporation.d.mts +193 -0
- package/dist/schemas/cosmetics.d.mts +58 -0
- package/dist/schemas/dogma.d.mts +57 -0
- package/dist/schemas/esiEnum.d.mts +3 -0
- package/dist/schemas/faction-warfare.d.mts +203 -0
- package/dist/schemas/fittings.d.mts +13 -0
- package/dist/schemas/fleet.d.mts +37 -0
- package/dist/schemas/freelance-jobs.d.mts +171 -0
- package/dist/schemas/incursions.d.mts +12 -0
- package/dist/schemas/index.d.mts +39 -0
- package/dist/schemas/industry.d.mts +99 -0
- package/dist/schemas/insurance.d.mts +10 -0
- package/dist/schemas/killmails.d.mts +38 -0
- package/dist/schemas/location.d.mts +18 -0
- package/dist/schemas/loyalty.d.mts +18 -0
- package/dist/schemas/mail.d.mts +53 -0
- package/dist/schemas/market.d.mts +123 -0
- package/dist/schemas/mercenary.d.mts +74 -0
- package/dist/schemas/meta.d.mts +36 -0
- package/dist/schemas/military-campaigns.d.mts +26 -0
- package/dist/schemas/paragon-hub.d.mts +96 -0
- package/dist/schemas/pi.d.mts +71 -0
- package/dist/schemas/skills.d.mts +28 -0
- package/dist/schemas/skyhooks.d.mts +129 -0
- package/dist/schemas/sovereignty.d.mts +56 -0
- package/dist/schemas/status.d.mts +8 -0
- package/dist/schemas/universe.d.mts +285 -0
- package/dist/schemas/wallet.d.mts +45 -0
- package/dist/schemas/wars.d.mts +27 -0
- package/dist/sde/IStaticDataProvider.d.mts +106 -0
- package/dist/sde/MemorySdeProvider.d.mts +167 -0
- package/dist/sde/SdeDataProvider.d.mts +119 -0
- package/dist/sde/SdeTestDataFactory.d.mts +33 -0
- package/dist/sde/errors.d.mts +23 -0
- package/dist/sde/index.d.mts +9 -0
- package/dist/sde/memory.d.mts +8 -0
- package/dist/sde/types.d.mts +1039 -0
- package/dist/sde/version.d.mts +7 -0
- package/dist/testing/TestDataFactory.d.mts +172 -0
- package/dist/testing/index.d.mts +2 -0
- package/dist/testing/index.js +2 -2
- package/dist/testing/index.mjs +1 -1
- package/dist/types/access-lists.d.mts +5 -0
- package/dist/types/alliance.d.mts +7 -0
- package/dist/types/api-responses.d.mts +40 -0
- package/dist/types/assets.d.mts +6 -0
- package/dist/types/branded.d.mts +23 -0
- package/dist/types/calendar.d.mts +6 -0
- package/dist/types/character.d.mts +17 -0
- package/dist/types/clones.d.mts +4 -0
- package/dist/types/common.d.mts +19 -0
- package/dist/types/contacts.d.mts +5 -0
- package/dist/types/contracts.d.mts +9 -0
- package/dist/types/corporation-projects.d.mts +10 -0
- package/dist/types/corporation.d.mts +19 -0
- package/dist/types/cosmetics.d.mts +8 -0
- package/dist/types/dogma.d.mts +6 -0
- package/dist/types/faction-warfare.d.mts +17 -0
- package/dist/types/fittings.d.mts +4 -0
- package/dist/types/fleet.d.mts +7 -0
- package/dist/types/freelance-jobs.d.mts +12 -0
- package/dist/types/generated/esi-spec.generated.d.mts +2136 -0
- package/dist/types/generated/esi-spec.generated.d.ts +164 -16
- package/dist/types/generated/esi-spec.generated.d.ts.map +1 -1
- package/dist/types/generated/spec-alignment.check.d.ts +2 -2
- package/dist/types/incursions.d.mts +4 -0
- package/dist/types/industry.d.mts +11 -0
- package/dist/types/insurance.d.mts +4 -0
- package/dist/types/killmails.d.mts +5 -0
- package/dist/types/location.d.mts +6 -0
- package/dist/types/loyalty.d.mts +5 -0
- package/dist/types/mail.d.mts +6 -0
- package/dist/types/market.d.mts +12 -0
- package/dist/types/mercenary.d.mts +7 -0
- package/dist/types/meta.d.mts +9 -0
- package/dist/types/military-campaigns.d.mts +6 -0
- package/dist/types/paragon-hub.d.mts +8 -0
- package/dist/types/pi.d.mts +6 -0
- package/dist/types/skills.d.mts +5 -0
- package/dist/types/skyhooks.d.mts +8 -0
- package/dist/types/sovereignty.d.mts +6 -0
- package/dist/types/status.d.mts +4 -0
- package/dist/types/universe.d.mts +27 -0
- package/dist/types/wallet.d.mts +6 -0
- package/dist/types/wars.d.mts +4 -0
- package/package.json +92 -24
- package/dist/chunk-7A72QFDF.mjs.map +0 -1
- package/dist/chunk-HPSACXX3.js.map +0 -1
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { corporationEndpoints } from '../core/endpoints/corporationEndpoints.mjs';
|
|
4
|
+
import { Blueprint, CorporationInfo, CorporationAllianceHistory, CorporationDivisions, CorporationFacility, CorporationIssuedMedal, CorporationMedal, CorporationMemberRole, CorporationMemberTitle, CorporationMemberTracking, CorporationRoleHistory, CorporationShareholder, CorporationStarbase, CorporationStarbaseDetail, CorporationStructure, CorporationTitle, ContainerLog, Standing } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class CorporationsClient extends BaseEsiClient<typeof corporationEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve public information about a corporation.
|
|
10
|
+
*
|
|
11
|
+
* @param corporationId - The ID of the corporation to look up
|
|
12
|
+
* @returns Public corporation information including name, ticker, member count, and CEO
|
|
13
|
+
*/
|
|
14
|
+
getCorporationInfo(corporationId: number): Promise<CorporationInfo>;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieve the alliance membership history of a corporation.
|
|
17
|
+
*
|
|
18
|
+
* @param corporationId - The ID of the corporation whose alliance history to retrieve
|
|
19
|
+
* @returns A chronological list of alliances the corporation has been a member of
|
|
20
|
+
*/
|
|
21
|
+
getCorporationAllianceHistory(corporationId: number): Promise<CorporationAllianceHistory[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve blueprints owned by a corporation.
|
|
24
|
+
*
|
|
25
|
+
* @param corporationId - The ID of the corporation whose blueprints to retrieve
|
|
26
|
+
* @returns A list of blueprints with material/time efficiency and run information
|
|
27
|
+
* @requires Authentication
|
|
28
|
+
*/
|
|
29
|
+
getCorporationBlueprints(corporationId: number): Promise<Blueprint[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve audit log secure container (ALSC) logs for a corporation.
|
|
32
|
+
*
|
|
33
|
+
* @param corporationId - The ID of the corporation whose container logs to retrieve
|
|
34
|
+
* @returns A list of container access logs with action, character, and timestamp details
|
|
35
|
+
* @requires Authentication
|
|
36
|
+
*/
|
|
37
|
+
getCorporationAlscLogs(corporationId: number): Promise<ContainerLog[]>;
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve the hangar and wallet division names for a corporation.
|
|
40
|
+
*
|
|
41
|
+
* @param corporationId - The ID of the corporation whose divisions to retrieve
|
|
42
|
+
* @returns Hangar and wallet division configurations with custom names
|
|
43
|
+
* @requires Authentication
|
|
44
|
+
*/
|
|
45
|
+
getCorporationDivisions(corporationId: number): Promise<CorporationDivisions>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve the industrial facilities owned by a corporation.
|
|
48
|
+
*
|
|
49
|
+
* @param corporationId - The ID of the corporation whose facilities to retrieve
|
|
50
|
+
* @returns A list of corporation-owned facilities with type and solar system information
|
|
51
|
+
* @requires Authentication
|
|
52
|
+
*/
|
|
53
|
+
getCorporationFacilities(corporationId: number): Promise<CorporationFacility[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve icon URLs for a corporation at various resolutions.
|
|
56
|
+
*
|
|
57
|
+
* @param corporationId - The ID of the corporation whose icons to retrieve
|
|
58
|
+
* @returns Icon URLs at 64x64, 128x128, and 256x256 resolutions
|
|
59
|
+
*/
|
|
60
|
+
getCorporationIcon(corporationId: number): Promise<{
|
|
61
|
+
px64x64?: string;
|
|
62
|
+
px128x128?: string;
|
|
63
|
+
px256x256?: string;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Retrieve medals created by a corporation.
|
|
67
|
+
*
|
|
68
|
+
* @param corporationId - The ID of the corporation whose medals to retrieve
|
|
69
|
+
* @returns A list of medals defined by the corporation
|
|
70
|
+
* @requires Authentication
|
|
71
|
+
*/
|
|
72
|
+
getCorporationMedals(corporationId: number): Promise<CorporationMedal[]>;
|
|
73
|
+
/**
|
|
74
|
+
* Retrieve medals that have been issued to members by a corporation.
|
|
75
|
+
*
|
|
76
|
+
* @param corporationId - The ID of the corporation whose issued medals to retrieve
|
|
77
|
+
* @returns A list of medals issued to corporation members with recipient and issuer details
|
|
78
|
+
* @requires Authentication
|
|
79
|
+
*/
|
|
80
|
+
getCorporationIssuedMedals(corporationId: number): Promise<CorporationIssuedMedal[]>;
|
|
81
|
+
/**
|
|
82
|
+
* Retrieve the character IDs of all members in a corporation.
|
|
83
|
+
*
|
|
84
|
+
* @param corporationId - The ID of the corporation whose members to retrieve
|
|
85
|
+
* @returns An array of character IDs for all corporation members
|
|
86
|
+
* @requires Authentication
|
|
87
|
+
*/
|
|
88
|
+
getCorporationMembers(corporationId: number): Promise<number[]>;
|
|
89
|
+
/**
|
|
90
|
+
* Retrieve the maximum number of members a corporation can have based on its current skills.
|
|
91
|
+
*
|
|
92
|
+
* @param corporationId - The ID of the corporation whose member limit to retrieve
|
|
93
|
+
* @returns The maximum member count for the corporation
|
|
94
|
+
* @requires Authentication
|
|
95
|
+
*/
|
|
96
|
+
getCorporationMemberLimit(corporationId: number): Promise<number>;
|
|
97
|
+
/**
|
|
98
|
+
* Retrieve the titles assigned to each member of a corporation.
|
|
99
|
+
*
|
|
100
|
+
* @param corporationId - The ID of the corporation whose member titles to retrieve
|
|
101
|
+
* @returns A list of members and their assigned title IDs
|
|
102
|
+
* @requires Authentication
|
|
103
|
+
*/
|
|
104
|
+
getCorporationMemberTitles(corporationId: number): Promise<CorporationMemberTitle[]>;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieve tracking information for corporation members including last login and location.
|
|
107
|
+
*
|
|
108
|
+
* @param corporationId - The ID of the corporation whose member tracking data to retrieve
|
|
109
|
+
* @returns A list of members with login times, ship types, and location details
|
|
110
|
+
* @requires Authentication
|
|
111
|
+
*/
|
|
112
|
+
getCorporationMemberTracking(corporationId: number): Promise<CorporationMemberTracking[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Retrieve the roles assigned to each member of a corporation.
|
|
115
|
+
*
|
|
116
|
+
* @param corporationId - The ID of the corporation whose member roles to retrieve
|
|
117
|
+
* @returns A list of members and their assigned roles across all role categories
|
|
118
|
+
* @requires Authentication
|
|
119
|
+
*/
|
|
120
|
+
getCorporationRoles(corporationId: number): Promise<CorporationMemberRole[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Retrieve the history of role changes for members of a corporation.
|
|
123
|
+
*
|
|
124
|
+
* @param corporationId - The ID of the corporation whose role change history to retrieve
|
|
125
|
+
* @returns A chronological list of role changes with before/after states and issuer details
|
|
126
|
+
* @requires Authentication
|
|
127
|
+
*/
|
|
128
|
+
getCorporationRolesHistory(corporationId: number): Promise<CorporationRoleHistory[]>;
|
|
129
|
+
/**
|
|
130
|
+
* Retrieve the shareholders of a corporation, including characters and corporations holding shares.
|
|
131
|
+
*
|
|
132
|
+
* @param corporationId - The ID of the corporation whose shareholders to retrieve
|
|
133
|
+
* @returns A list of shareholders with share counts and holder types
|
|
134
|
+
* @requires Authentication
|
|
135
|
+
*/
|
|
136
|
+
getCorporationShareholders(corporationId: number): Promise<CorporationShareholder[]>;
|
|
137
|
+
/**
|
|
138
|
+
* Retrieve a corporation's standings with NPC factions, corporations, and agents.
|
|
139
|
+
*
|
|
140
|
+
* @param corporationId - The ID of the corporation whose standings to retrieve
|
|
141
|
+
* @returns A list of standings with from_type, from_id, and standing value
|
|
142
|
+
* @requires Authentication
|
|
143
|
+
*/
|
|
144
|
+
getCorporationStandings(corporationId: number): Promise<Standing[]>;
|
|
145
|
+
/**
|
|
146
|
+
* Retrieve the list of starbases (POSes) owned by a corporation.
|
|
147
|
+
*
|
|
148
|
+
* @param corporationId - The ID of the corporation whose starbases to retrieve
|
|
149
|
+
* @returns A list of starbases with type, system, and state information
|
|
150
|
+
* @requires Authentication
|
|
151
|
+
*/
|
|
152
|
+
getCorporationStarbases(corporationId: number): Promise<CorporationStarbase[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Retrieve detailed configuration and fuel information for a specific starbase (POS).
|
|
155
|
+
*
|
|
156
|
+
* @param corporationId - The ID of the corporation that owns the starbase
|
|
157
|
+
* @param starbaseId - The ID of the starbase to retrieve details for
|
|
158
|
+
* @returns Detailed starbase information including fuel levels and access settings
|
|
159
|
+
* @requires Authentication
|
|
160
|
+
*/
|
|
161
|
+
getCorporationStarbaseDetail(corporationId: number, starbaseId: number): Promise<CorporationStarbaseDetail>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieve citadel and other upwell structures owned by a corporation.
|
|
164
|
+
*
|
|
165
|
+
* @param corporationId - The ID of the corporation whose structures to retrieve
|
|
166
|
+
* @returns A list of structures with type, location, state, and service information
|
|
167
|
+
* @requires Authentication
|
|
168
|
+
*/
|
|
169
|
+
getCorporationStructures(corporationId: number): Promise<CorporationStructure[]>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieve the titles defined by a corporation and their associated roles.
|
|
172
|
+
*
|
|
173
|
+
* @param corporationId - The ID of the corporation whose titles to retrieve
|
|
174
|
+
* @returns A list of corporation titles with names and granted roles
|
|
175
|
+
* @requires Authentication
|
|
176
|
+
*/
|
|
177
|
+
getCorporationTitles(corporationId: number): Promise<CorporationTitle[]>;
|
|
178
|
+
/**
|
|
179
|
+
* Retrieve a list of all NPC corporation IDs in EVE Online.
|
|
180
|
+
*
|
|
181
|
+
* @returns An array of NPC corporation IDs
|
|
182
|
+
*/
|
|
183
|
+
getNpcCorporations(): Promise<number[]>;
|
|
184
|
+
fetchAllCorporationAllianceHistory(corporationId: number, concurrency?: number): Promise<CorporationAllianceHistory[]>;
|
|
185
|
+
fetchAllCorporationBlueprints(corporationId: number, concurrency?: number): Promise<Blueprint[]>;
|
|
186
|
+
fetchAllCorporationAlscLogs(corporationId: number, concurrency?: number): Promise<ContainerLog[]>;
|
|
187
|
+
fetchAllCorporationFacilities(corporationId: number, concurrency?: number): Promise<CorporationFacility[]>;
|
|
188
|
+
fetchAllCorporationMedals(corporationId: number, concurrency?: number): Promise<CorporationMedal[]>;
|
|
189
|
+
fetchAllCorporationIssuedMedals(corporationId: number, concurrency?: number): Promise<CorporationIssuedMedal[]>;
|
|
190
|
+
fetchAllCorporationMembers(corporationId: number, concurrency?: number): Promise<number[]>;
|
|
191
|
+
fetchAllCorporationMemberTitles(corporationId: number, concurrency?: number): Promise<CorporationMemberTitle[]>;
|
|
192
|
+
fetchAllCorporationMemberTracking(corporationId: number, concurrency?: number): Promise<CorporationMemberTracking[]>;
|
|
193
|
+
fetchAllCorporationRoles(corporationId: number, concurrency?: number): Promise<CorporationMemberRole[]>;
|
|
194
|
+
fetchAllCorporationRolesHistory(corporationId: number, concurrency?: number): Promise<CorporationRoleHistory[]>;
|
|
195
|
+
fetchAllCorporationShareholders(corporationId: number, concurrency?: number): Promise<CorporationShareholder[]>;
|
|
196
|
+
fetchAllCorporationStandings(corporationId: number, concurrency?: number): Promise<Standing[]>;
|
|
197
|
+
fetchAllCorporationStarbases(corporationId: number, concurrency?: number): Promise<CorporationStarbase[]>;
|
|
198
|
+
fetchAllCorporationStructures(corporationId: number, concurrency?: number): Promise<CorporationStructure[]>;
|
|
199
|
+
fetchAllCorporationTitles(corporationId: number, concurrency?: number): Promise<CorporationTitle[]>;
|
|
200
|
+
fetchAllNpcCorporations(concurrency?: number): Promise<number[]>;
|
|
201
|
+
streamCorporationAllianceHistory(corporationId: number): AsyncGenerator<PageResult<CorporationAllianceHistory>, void, undefined>;
|
|
202
|
+
streamCorporationBlueprints(corporationId: number): AsyncGenerator<PageResult<Blueprint>, void, undefined>;
|
|
203
|
+
streamCorporationAlscLogs(corporationId: number): AsyncGenerator<PageResult<ContainerLog>, void, undefined>;
|
|
204
|
+
streamCorporationFacilities(corporationId: number): AsyncGenerator<PageResult<CorporationFacility>, void, undefined>;
|
|
205
|
+
streamCorporationMedals(corporationId: number): AsyncGenerator<PageResult<CorporationMedal>, void, undefined>;
|
|
206
|
+
streamCorporationIssuedMedals(corporationId: number): AsyncGenerator<PageResult<CorporationIssuedMedal>, void, undefined>;
|
|
207
|
+
streamCorporationMembers(corporationId: number): AsyncGenerator<PageResult<number>, void, undefined>;
|
|
208
|
+
streamCorporationMemberTitles(corporationId: number): AsyncGenerator<PageResult<CorporationMemberTitle>, void, undefined>;
|
|
209
|
+
streamCorporationMemberTracking(corporationId: number): AsyncGenerator<PageResult<CorporationMemberTracking>, void, undefined>;
|
|
210
|
+
streamCorporationRoles(corporationId: number): AsyncGenerator<PageResult<CorporationMemberRole>, void, undefined>;
|
|
211
|
+
streamCorporationRolesHistory(corporationId: number): AsyncGenerator<PageResult<CorporationRoleHistory>, void, undefined>;
|
|
212
|
+
streamCorporationShareholders(corporationId: number): AsyncGenerator<PageResult<CorporationShareholder>, void, undefined>;
|
|
213
|
+
streamCorporationStandings(corporationId: number): AsyncGenerator<PageResult<Standing>, void, undefined>;
|
|
214
|
+
streamCorporationStarbases(corporationId: number): AsyncGenerator<PageResult<CorporationStarbase>, void, undefined>;
|
|
215
|
+
streamCorporationStructures(corporationId: number): AsyncGenerator<PageResult<CorporationStructure>, void, undefined>;
|
|
216
|
+
streamCorporationTitles(corporationId: number): AsyncGenerator<PageResult<CorporationTitle>, void, undefined>;
|
|
217
|
+
streamNpcCorporations(): AsyncGenerator<PageResult<number>, void, undefined>;
|
|
218
|
+
}
|
|
219
|
+
//# sourceMappingURL=CorporationsClient.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { cosmeticsEndpoints } from '../core/endpoints/cosmeticsEndpoints.mjs';
|
|
4
|
+
import { CharacterSkinr, CharacterSkinrComponents, Skinr } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class CosmeticsClient extends BaseEsiClient<typeof cosmeticsEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
getCharacterSkinr(characterId: number): Promise<CharacterSkinr>;
|
|
8
|
+
getCharacterSkinrComponents(characterId: number): Promise<CharacterSkinrComponents>;
|
|
9
|
+
getSkinr(skinrId: string): Promise<Skinr>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=CosmeticsClient.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { dogmaEndpoints } from '../core/endpoints/dogmaEndpoints.mjs';
|
|
4
|
+
import { DogmaAttribute, DogmaEffect, DogmaDynamicItem } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class DogmaClient extends BaseEsiClient<typeof dogmaEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves a list of all dogma attribute IDs.
|
|
9
|
+
*
|
|
10
|
+
* @returns An array of dogma attribute IDs
|
|
11
|
+
*/
|
|
12
|
+
getAttributes(): Promise<number[]>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves detailed information about a specific dogma attribute.
|
|
15
|
+
*
|
|
16
|
+
* @param attributeId - The ID of the dogma attribute to look up
|
|
17
|
+
* @returns Detailed information about the dogma attribute
|
|
18
|
+
*/
|
|
19
|
+
getAttributeById(attributeId: number): Promise<DogmaAttribute>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the dynamic dogma information for a specific mutated item, including its modified attributes.
|
|
22
|
+
*
|
|
23
|
+
* @param typeId - The type ID of the item
|
|
24
|
+
* @param itemId - The item ID of the specific dynamic item
|
|
25
|
+
* @returns Dynamic dogma information for the mutated item
|
|
26
|
+
*/
|
|
27
|
+
getDynamicItemInfo(typeId: number, itemId: number): Promise<DogmaDynamicItem>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves a list of all dogma effect IDs.
|
|
30
|
+
*
|
|
31
|
+
* @returns An array of dogma effect IDs
|
|
32
|
+
*/
|
|
33
|
+
getEffects(): Promise<number[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves detailed information about a specific dogma effect.
|
|
36
|
+
*
|
|
37
|
+
* @param effectId - The ID of the dogma effect to look up
|
|
38
|
+
* @returns Detailed information about the dogma effect
|
|
39
|
+
*/
|
|
40
|
+
getEffectById(effectId: number): Promise<DogmaEffect>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=DogmaClient.d.ts.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { factionEndpoints } from '../core/endpoints/factionEndpoints.mjs';
|
|
4
|
+
import { FactionWarfareStats, FactionWarfareCharacterStats, FactionWarfareCorporationStats, FactionWarfareCharacterLeaderboard, FactionWarfareCorporationLeaderboard, FactionWarfareFactionLeaderboard, FactionWarfareSystem, FactionWarfareWar } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class FactionClient extends BaseEsiClient<typeof factionEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the top characters in faction warfare leaderboards.
|
|
9
|
+
*
|
|
10
|
+
* @returns Faction warfare character leaderboard rankings
|
|
11
|
+
*/
|
|
12
|
+
getLeaderboardsCharacters(): Promise<FactionWarfareCharacterLeaderboard>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the top corporations in faction warfare leaderboards.
|
|
15
|
+
*
|
|
16
|
+
* @returns Faction warfare corporation leaderboard rankings
|
|
17
|
+
*/
|
|
18
|
+
getLeaderboardsCorporations(): Promise<FactionWarfareCorporationLeaderboard>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves the overall faction warfare leaderboards across all factions.
|
|
21
|
+
*
|
|
22
|
+
* @returns Overall faction warfare leaderboard rankings
|
|
23
|
+
*/
|
|
24
|
+
getLeaderboardsOverall(): Promise<FactionWarfareFactionLeaderboard>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves faction warfare statistics for all factions, including kill and victory point totals.
|
|
27
|
+
*
|
|
28
|
+
* @returns An array of per-faction warfare statistics
|
|
29
|
+
*/
|
|
30
|
+
getStats(): Promise<FactionWarfareStats[]>;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves faction warfare statistics for a specific character, including enlistment info and kill counts.
|
|
33
|
+
*
|
|
34
|
+
* @param characterId - The ID of the character
|
|
35
|
+
* @returns Faction warfare statistics for the character
|
|
36
|
+
* @requires Authentication
|
|
37
|
+
*/
|
|
38
|
+
getCharacterStats(characterId: number): Promise<FactionWarfareCharacterStats>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieves faction warfare statistics for a specific corporation, including kill counts and victory points.
|
|
41
|
+
*
|
|
42
|
+
* @param corporationId - The ID of the corporation
|
|
43
|
+
* @returns Faction warfare statistics for the corporation
|
|
44
|
+
* @requires Authentication
|
|
45
|
+
*/
|
|
46
|
+
getCorporationStats(corporationId: number): Promise<FactionWarfareCorporationStats>;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves the current ownership and contested status of all faction warfare systems.
|
|
49
|
+
*
|
|
50
|
+
* @returns An array of faction warfare system statuses
|
|
51
|
+
*/
|
|
52
|
+
getSystems(): Promise<FactionWarfareSystem[]>;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieves the list of active faction warfare wars, showing which factions are fighting each other.
|
|
55
|
+
*
|
|
56
|
+
* @returns An array of active faction warfare wars
|
|
57
|
+
*/
|
|
58
|
+
getWars(): Promise<FactionWarfareWar[]>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=FactionClient.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { fittingEndpoints } from '../core/endpoints/fittingEndpoints.mjs';
|
|
4
|
+
import { Fitting } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class FittingsClient extends BaseEsiClient<typeof fittingEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves all saved ship fittings for a character.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character
|
|
12
|
+
* @returns An array of the character's saved fittings
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getFittings(characterId: number): Promise<Fitting[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Creates a new saved ship fitting for a character via POST.
|
|
18
|
+
*
|
|
19
|
+
* @param characterId - The ID of the character
|
|
20
|
+
* @param fittingData - The fitting details including ship type and module layout
|
|
21
|
+
* @returns The ID of the newly created fitting
|
|
22
|
+
* @requires Authentication
|
|
23
|
+
*/
|
|
24
|
+
createFitting(characterId: number, fittingData: object): Promise<{
|
|
25
|
+
fitting_id: number;
|
|
26
|
+
}>;
|
|
27
|
+
/**
|
|
28
|
+
* Deletes a saved ship fitting for a character.
|
|
29
|
+
*
|
|
30
|
+
* @param characterId - The ID of the character
|
|
31
|
+
* @param fittingId - The ID of the fitting to delete
|
|
32
|
+
* @requires Authentication
|
|
33
|
+
*/
|
|
34
|
+
deleteFitting(characterId: number, fittingId: number): Promise<void>;
|
|
35
|
+
fetchAllFittings(characterId: number, concurrency?: number): Promise<Fitting[]>;
|
|
36
|
+
streamFittings(characterId: number): AsyncGenerator<PageResult<Fitting>, void, undefined>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=FittingsClient.d.ts.map
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { fleetEndpoints } from '../core/endpoints/fleetEndpoints.mjs';
|
|
4
|
+
import { CharacterFleetInfo, FleetInfo, FleetMember, FleetWing } from '../types/api-responses.mjs';
|
|
5
|
+
import { PageResult } from '../core/pagination/AsyncPaginationIterator.mjs';
|
|
6
|
+
export declare class FleetClient extends BaseEsiClient<typeof fleetEndpoints> {
|
|
7
|
+
constructor(client: ApiClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the fleet that a character is currently in, including their role and wing/squad assignment.
|
|
10
|
+
*
|
|
11
|
+
* @param characterId - The ID of the character
|
|
12
|
+
* @returns Fleet membership information for the character
|
|
13
|
+
* @requires Authentication
|
|
14
|
+
*/
|
|
15
|
+
getCharacterFleetInfo(characterId: number): Promise<CharacterFleetInfo>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves detailed information about a fleet, including its MOTD and free-move setting.
|
|
18
|
+
*
|
|
19
|
+
* @param fleetId - The ID of the fleet
|
|
20
|
+
* @returns Detailed fleet information
|
|
21
|
+
* @requires Authentication
|
|
22
|
+
*/
|
|
23
|
+
getFleetInformation(fleetId: number): Promise<FleetInfo>;
|
|
24
|
+
/**
|
|
25
|
+
* Updates fleet settings such as the MOTD and free-move toggle via PUT.
|
|
26
|
+
*
|
|
27
|
+
* @param fleetId - The ID of the fleet
|
|
28
|
+
* @param body - The fleet settings to update
|
|
29
|
+
* @requires Authentication
|
|
30
|
+
*/
|
|
31
|
+
updateFleet(fleetId: number, body: object): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves all current members of a fleet, including their ship types and roles.
|
|
34
|
+
*
|
|
35
|
+
* @param fleetId - The ID of the fleet
|
|
36
|
+
* @returns An array of fleet members
|
|
37
|
+
* @requires Authentication
|
|
38
|
+
*/
|
|
39
|
+
getFleetMembers(fleetId: number): Promise<FleetMember[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Sends an invitation to a character to join a fleet via POST.
|
|
42
|
+
*
|
|
43
|
+
* @param fleetId - The ID of the fleet
|
|
44
|
+
* @param body - The invitation details including the character to invite and their role
|
|
45
|
+
* @requires Authentication
|
|
46
|
+
*/
|
|
47
|
+
createFleetInvitation(fleetId: number, body: object): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Kicks a member from a fleet.
|
|
50
|
+
*
|
|
51
|
+
* @param fleetId - The ID of the fleet
|
|
52
|
+
* @param memberId - The character ID of the member to kick
|
|
53
|
+
* @requires Authentication
|
|
54
|
+
*/
|
|
55
|
+
kickFleetMember(fleetId: number, memberId: number): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Moves a fleet member to a different wing, squad, or role via PUT.
|
|
58
|
+
*
|
|
59
|
+
* @param fleetId - The ID of the fleet
|
|
60
|
+
* @param memberId - The character ID of the member to move
|
|
61
|
+
* @param body - The target role, wing, and/or squad assignment
|
|
62
|
+
* @requires Authentication
|
|
63
|
+
*/
|
|
64
|
+
moveFleetMember(fleetId: number, memberId: number, body: object): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Deletes a squad from a fleet.
|
|
67
|
+
*
|
|
68
|
+
* @param fleetId - The ID of the fleet
|
|
69
|
+
* @param squadId - The ID of the squad to delete
|
|
70
|
+
* @requires Authentication
|
|
71
|
+
*/
|
|
72
|
+
deleteFleetSquad(fleetId: number, squadId: number): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Renames a squad within a fleet via PUT.
|
|
75
|
+
*
|
|
76
|
+
* @param fleetId - The ID of the fleet
|
|
77
|
+
* @param squadId - The ID of the squad to rename
|
|
78
|
+
* @param name - The new name for the squad (max 10 characters)
|
|
79
|
+
* @requires Authentication
|
|
80
|
+
*/
|
|
81
|
+
renameFleetSquad(fleetId: number, squadId: number, name: string): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves all wings and their squads for a fleet.
|
|
84
|
+
*
|
|
85
|
+
* @param fleetId - The ID of the fleet
|
|
86
|
+
* @returns An array of fleet wings with their nested squads
|
|
87
|
+
* @requires Authentication
|
|
88
|
+
*/
|
|
89
|
+
getFleetWings(fleetId: number): Promise<FleetWing[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Creates a new wing in a fleet via POST.
|
|
92
|
+
*
|
|
93
|
+
* @param fleetId - The ID of the fleet
|
|
94
|
+
* @param body - The wing creation details
|
|
95
|
+
* @returns The ID of the newly created wing
|
|
96
|
+
* @requires Authentication
|
|
97
|
+
*/
|
|
98
|
+
createFleetWing(fleetId: number, body: object): Promise<{
|
|
99
|
+
wing_id: number;
|
|
100
|
+
}>;
|
|
101
|
+
/**
|
|
102
|
+
* Deletes a wing from a fleet, along with all its squads.
|
|
103
|
+
*
|
|
104
|
+
* @param fleetId - The ID of the fleet
|
|
105
|
+
* @param wingId - The ID of the wing to delete
|
|
106
|
+
* @requires Authentication
|
|
107
|
+
*/
|
|
108
|
+
deleteFleetWing(fleetId: number, wingId: number): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Renames a wing within a fleet via PUT.
|
|
111
|
+
*
|
|
112
|
+
* @param fleetId - The ID of the fleet
|
|
113
|
+
* @param wingId - The ID of the wing to rename
|
|
114
|
+
* @param name - The new name for the wing (max 10 characters)
|
|
115
|
+
* @requires Authentication
|
|
116
|
+
*/
|
|
117
|
+
renameFleetWing(fleetId: number, wingId: number, name: string): Promise<void>;
|
|
118
|
+
/**
|
|
119
|
+
* Creates a new squad under a wing in a fleet via POST.
|
|
120
|
+
*
|
|
121
|
+
* @param fleetId - The ID of the fleet
|
|
122
|
+
* @param wingId - The ID of the wing to add the squad to
|
|
123
|
+
* @returns The ID of the newly created squad
|
|
124
|
+
* @requires Authentication
|
|
125
|
+
*/
|
|
126
|
+
createFleetSquad(fleetId: number, wingId: number): Promise<{
|
|
127
|
+
squad_id: number;
|
|
128
|
+
}>;
|
|
129
|
+
fetchAllFleetMembers(fleetId: number, concurrency?: number): Promise<FleetMember[]>;
|
|
130
|
+
fetchAllFleetWings(fleetId: number, concurrency?: number): Promise<FleetWing[]>;
|
|
131
|
+
streamFleetMembers(fleetId: number): AsyncGenerator<PageResult<FleetMember>, void, undefined>;
|
|
132
|
+
streamFleetWings(fleetId: number): AsyncGenerator<PageResult<FleetWing>, void, undefined>;
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=FleetClient.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { freelanceJobsEndpoints } from '../core/endpoints/freelanceJobsEndpoints.mjs';
|
|
4
|
+
import { FreelanceJobsListing, FreelanceJobDetail, CharacterFreelanceJobsListing, FreelanceJobParticipation, CorporationFreelanceJobsListing, FreelanceJobParticipantsListing } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class FreelanceJobsClient extends BaseEsiClient<typeof freelanceJobsEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves a paginated listing of all publicly available freelance jobs.
|
|
9
|
+
*
|
|
10
|
+
* @param before - Optional cursor token for fetching the previous page of results
|
|
11
|
+
* @param after - Optional cursor token for fetching the next page of results
|
|
12
|
+
* @returns A listing of freelance jobs with cursor pagination metadata
|
|
13
|
+
*/
|
|
14
|
+
getFreelanceJobs(before?: string, after?: string): Promise<FreelanceJobsListing>;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves detailed information about a specific freelance job.
|
|
17
|
+
*
|
|
18
|
+
* @param jobId - The unique identifier of the freelance job
|
|
19
|
+
* @returns Detailed information about the freelance job
|
|
20
|
+
*/
|
|
21
|
+
getFreelanceJobById(jobId: string): Promise<FreelanceJobDetail>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves a paginated listing of freelance jobs associated with a specific character.
|
|
24
|
+
*
|
|
25
|
+
* @param characterId - The ID of the character
|
|
26
|
+
* @param before - Optional cursor token for fetching the previous page of results
|
|
27
|
+
* @param after - Optional cursor token for fetching the next page of results
|
|
28
|
+
* @returns A listing of the character's freelance jobs with cursor pagination metadata
|
|
29
|
+
* @requires Authentication
|
|
30
|
+
*/
|
|
31
|
+
getCharacterFreelanceJobs(characterId: number, before?: string, after?: string): Promise<CharacterFreelanceJobsListing>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves a character's participation details for a specific freelance job.
|
|
34
|
+
*
|
|
35
|
+
* @param characterId - The ID of the character
|
|
36
|
+
* @param jobId - The unique identifier of the freelance job
|
|
37
|
+
* @returns The character's participation details for the job
|
|
38
|
+
* @requires Authentication
|
|
39
|
+
*/
|
|
40
|
+
getCharacterFreelanceJobParticipation(characterId: number, jobId: string): Promise<FreelanceJobParticipation>;
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves a paginated listing of freelance jobs associated with a specific corporation.
|
|
43
|
+
*
|
|
44
|
+
* @param corporationId - The ID of the corporation
|
|
45
|
+
* @param before - Optional cursor token for fetching the previous page of results
|
|
46
|
+
* @param after - Optional cursor token for fetching the next page of results
|
|
47
|
+
* @returns A listing of the corporation's freelance jobs with cursor pagination metadata
|
|
48
|
+
* @requires Authentication
|
|
49
|
+
*/
|
|
50
|
+
getCorporationFreelanceJobs(corporationId: number, before?: string, after?: string): Promise<CorporationFreelanceJobsListing>;
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves the list of participants from a corporation in a specific freelance job.
|
|
53
|
+
*
|
|
54
|
+
* @param corporationId - The ID of the corporation
|
|
55
|
+
* @param jobId - The unique identifier of the freelance job
|
|
56
|
+
* @returns A page holding the job's participants, with an optional cursor
|
|
57
|
+
* @requires Authentication
|
|
58
|
+
*/
|
|
59
|
+
getCorporationFreelanceJobParticipants(corporationId: number, jobId: string): Promise<FreelanceJobParticipantsListing>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=FreelanceJobsClient.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApiClient } from '../core/ApiClient.mjs';
|
|
2
|
+
import { BaseEsiClient } from './BaseEsiClient.mjs';
|
|
3
|
+
import { incursionEndpoints } from '../core/endpoints/incursionEndpoints.mjs';
|
|
4
|
+
import { Incursion } from '../types/api-responses.mjs';
|
|
5
|
+
export declare class IncursionsClient extends BaseEsiClient<typeof incursionEndpoints> {
|
|
6
|
+
constructor(client: ApiClient);
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves all currently active incursions, including their staging systems and influence levels.
|
|
9
|
+
*
|
|
10
|
+
* @returns An array of active incursions
|
|
11
|
+
*/
|
|
12
|
+
getIncursions(): Promise<Incursion[]>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=IncursionsClient.d.ts.map
|