@lgriffin/esi.ts 10.0.0 → 10.2.1
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 +158 -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-4W66ONJI.mjs} +4 -7
- package/dist/chunk-4W66ONJI.mjs.map +1 -0
- package/dist/{chunk-HPSACXX3.js → chunk-N3B65VLB.js} +4 -7
- package/dist/chunk-N3B65VLB.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/logger/resolveLogger.d.ts +3 -3
- package/dist/core/logger/resolveLogger.d.ts.map +1 -1
- package/dist/core/middleware/Middleware.d.mts +30 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.mts +12 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -1
- package/dist/core/pagination/CursorPaginationHandler.d.mts +68 -0
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
- package/dist/core/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/concurrency.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 +374 -197
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +267 -90
- 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,138 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const industryEndpoints: {
|
|
3
|
+
readonly getCharacterIndustryJobs: {
|
|
4
|
+
readonly path: "characters/{characterId}/industry/jobs";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: true;
|
|
7
|
+
readonly pathParams: readonly ["characterId"];
|
|
8
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
job_id: z.ZodNumber;
|
|
10
|
+
installer_id: z.ZodNumber;
|
|
11
|
+
facility_id: z.ZodNumber;
|
|
12
|
+
station_id: z.ZodNumber;
|
|
13
|
+
activity_id: z.ZodNumber;
|
|
14
|
+
blueprint_id: z.ZodNumber;
|
|
15
|
+
blueprint_type_id: z.ZodNumber;
|
|
16
|
+
blueprint_location_id: z.ZodNumber;
|
|
17
|
+
output_location_id: z.ZodNumber;
|
|
18
|
+
runs: z.ZodNumber;
|
|
19
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
licensed_runs: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
product_type_id: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
status: z.ZodType<(string & {}) | "cancelled" | "active" | "delivered" | "paused" | "ready" | "reverted", unknown, z.core.$ZodTypeInternals<(string & {}) | "cancelled" | "active" | "delivered" | "paused" | "ready" | "reverted", unknown>>;
|
|
24
|
+
duration: z.ZodNumber;
|
|
25
|
+
start_date: z.ZodString;
|
|
26
|
+
end_date: z.ZodString;
|
|
27
|
+
pause_date: z.ZodOptional<z.ZodString>;
|
|
28
|
+
completed_date: z.ZodOptional<z.ZodString>;
|
|
29
|
+
completed_character_id: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
successful_runs: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
};
|
|
33
|
+
readonly getCharacterMiningLedger: {
|
|
34
|
+
readonly path: "characters/{characterId}/mining";
|
|
35
|
+
readonly method: "GET";
|
|
36
|
+
readonly requiresAuth: true;
|
|
37
|
+
readonly pathParams: readonly ["characterId"];
|
|
38
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
39
|
+
date: z.ZodString;
|
|
40
|
+
solar_system_id: z.ZodNumber;
|
|
41
|
+
type_id: z.ZodNumber;
|
|
42
|
+
quantity: z.ZodNumber;
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
|
+
};
|
|
45
|
+
readonly getCorporationIndustryJobs: {
|
|
46
|
+
readonly path: "corporations/{corporationId}/industry/jobs";
|
|
47
|
+
readonly method: "GET";
|
|
48
|
+
readonly requiresAuth: true;
|
|
49
|
+
readonly pathParams: readonly ["corporationId"];
|
|
50
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
51
|
+
status: z.ZodType<(string & {}) | "cancelled" | "active" | "delivered" | "paused" | "ready" | "reverted", unknown, z.core.$ZodTypeInternals<(string & {}) | "cancelled" | "active" | "delivered" | "paused" | "ready" | "reverted", unknown>>;
|
|
52
|
+
runs: z.ZodNumber;
|
|
53
|
+
start_date: z.ZodString;
|
|
54
|
+
facility_id: z.ZodNumber;
|
|
55
|
+
duration: z.ZodNumber;
|
|
56
|
+
job_id: z.ZodNumber;
|
|
57
|
+
installer_id: z.ZodNumber;
|
|
58
|
+
activity_id: z.ZodNumber;
|
|
59
|
+
blueprint_id: z.ZodNumber;
|
|
60
|
+
blueprint_type_id: z.ZodNumber;
|
|
61
|
+
blueprint_location_id: z.ZodNumber;
|
|
62
|
+
output_location_id: z.ZodNumber;
|
|
63
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
licensed_runs: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
product_type_id: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
end_date: z.ZodString;
|
|
68
|
+
pause_date: z.ZodOptional<z.ZodString>;
|
|
69
|
+
completed_date: z.ZodOptional<z.ZodString>;
|
|
70
|
+
completed_character_id: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
successful_runs: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
location_id: z.ZodNumber;
|
|
73
|
+
}, z.core.$loose>>;
|
|
74
|
+
};
|
|
75
|
+
readonly getMoonExtractionTimers: {
|
|
76
|
+
readonly path: "corporation/{corporationId}/mining/extractions";
|
|
77
|
+
readonly method: "GET";
|
|
78
|
+
readonly requiresAuth: true;
|
|
79
|
+
readonly pathParams: readonly ["corporationId"];
|
|
80
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
81
|
+
structure_id: z.ZodNumber;
|
|
82
|
+
moon_id: z.ZodNumber;
|
|
83
|
+
extraction_start_time: z.ZodString;
|
|
84
|
+
chunk_arrival_time: z.ZodString;
|
|
85
|
+
natural_decay_time: z.ZodString;
|
|
86
|
+
}, z.core.$loose>>;
|
|
87
|
+
};
|
|
88
|
+
readonly getCorporationMiningObservers: {
|
|
89
|
+
readonly path: "corporation/{corporationId}/mining/observers";
|
|
90
|
+
readonly method: "GET";
|
|
91
|
+
readonly requiresAuth: true;
|
|
92
|
+
readonly pathParams: readonly ["corporationId"];
|
|
93
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
94
|
+
observer_id: z.ZodNumber;
|
|
95
|
+
observer_type: z.ZodString;
|
|
96
|
+
last_updated: z.ZodString;
|
|
97
|
+
}, z.core.$loose>>;
|
|
98
|
+
};
|
|
99
|
+
readonly getCorporationMiningObserver: {
|
|
100
|
+
readonly path: "corporation/{corporationId}/mining/observers/{observerId}";
|
|
101
|
+
readonly method: "GET";
|
|
102
|
+
readonly requiresAuth: true;
|
|
103
|
+
readonly pathParams: readonly ["corporationId", "observerId"];
|
|
104
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
105
|
+
character_id: z.ZodNumber;
|
|
106
|
+
recorded_corporation_id: z.ZodNumber;
|
|
107
|
+
type_id: z.ZodNumber;
|
|
108
|
+
quantity: z.ZodNumber;
|
|
109
|
+
last_updated: z.ZodString;
|
|
110
|
+
}, z.core.$loose>>;
|
|
111
|
+
};
|
|
112
|
+
readonly getIndustryFacilities: {
|
|
113
|
+
readonly path: "industry/facilities";
|
|
114
|
+
readonly method: "GET";
|
|
115
|
+
readonly requiresAuth: false;
|
|
116
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
117
|
+
facility_id: z.ZodNumber;
|
|
118
|
+
owner_id: z.ZodNumber;
|
|
119
|
+
region_id: z.ZodNumber;
|
|
120
|
+
solar_system_id: z.ZodNumber;
|
|
121
|
+
tax: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
type_id: z.ZodNumber;
|
|
123
|
+
}, z.core.$loose>>;
|
|
124
|
+
};
|
|
125
|
+
readonly getIndustrySystems: {
|
|
126
|
+
readonly path: "industry/systems";
|
|
127
|
+
readonly method: "GET";
|
|
128
|
+
readonly requiresAuth: false;
|
|
129
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
130
|
+
solar_system_id: z.ZodNumber;
|
|
131
|
+
cost_indices: z.ZodArray<z.ZodObject<{
|
|
132
|
+
activity: z.ZodString;
|
|
133
|
+
cost_index: z.ZodNumber;
|
|
134
|
+
}, z.core.$loose>>;
|
|
135
|
+
}, z.core.$loose>>;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
//# sourceMappingURL=industryEndpoints.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const insuranceEndpoints: {
|
|
3
|
+
readonly getInsurancePrices: {
|
|
4
|
+
readonly path: "insurance/prices";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: false;
|
|
7
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
8
|
+
type_id: z.ZodNumber;
|
|
9
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
10
|
+
cost: z.ZodNumber;
|
|
11
|
+
payout: z.ZodNumber;
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=insuranceEndpoints.d.ts.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const killmailEndpoints: {
|
|
3
|
+
readonly getCharacterRecentKillmails: {
|
|
4
|
+
readonly path: "characters/{characterId}/killmails/recent";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: true;
|
|
7
|
+
readonly pathParams: readonly ["characterId"];
|
|
8
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
killmail_id: z.ZodNumber;
|
|
10
|
+
killmail_hash: z.ZodString;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
};
|
|
13
|
+
readonly getCorporationRecentKillmails: {
|
|
14
|
+
readonly path: "corporations/{corporationId}/killmails/recent";
|
|
15
|
+
readonly method: "GET";
|
|
16
|
+
readonly requiresAuth: true;
|
|
17
|
+
readonly pathParams: readonly ["corporationId"];
|
|
18
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
19
|
+
killmail_id: z.ZodNumber;
|
|
20
|
+
killmail_hash: z.ZodString;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
};
|
|
23
|
+
readonly getKillmail: {
|
|
24
|
+
readonly path: "killmails/{killmailId}/{killmailHash}";
|
|
25
|
+
readonly method: "GET";
|
|
26
|
+
readonly requiresAuth: false;
|
|
27
|
+
readonly pathParams: readonly ["killmailId", "killmailHash"];
|
|
28
|
+
readonly responseSchema: z.ZodObject<{
|
|
29
|
+
killmail_id: z.ZodNumber;
|
|
30
|
+
killmail_time: z.ZodString;
|
|
31
|
+
solar_system_id: z.ZodNumber;
|
|
32
|
+
moon_id: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
war_id: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
victim: z.ZodObject<{
|
|
35
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
ship_type_id: z.ZodNumber;
|
|
40
|
+
damage_taken: z.ZodNumber;
|
|
41
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
x: z.ZodNumber;
|
|
43
|
+
y: z.ZodNumber;
|
|
44
|
+
z: z.ZodNumber;
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
|
+
items: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
|
+
attackers: z.ZodArray<z.ZodObject<{
|
|
49
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
ship_type_id: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
weapon_type_id: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
damage_done: z.ZodNumber;
|
|
56
|
+
final_blow: z.ZodBoolean;
|
|
57
|
+
security_status: z.ZodNumber;
|
|
58
|
+
}, z.core.$loose>>;
|
|
59
|
+
}, z.core.$loose>;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=killmailEndpoints.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const locationEndpoints: {
|
|
2
|
+
readonly getCharacterLocation: {
|
|
3
|
+
readonly path: "characters/{characterId}/location";
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly requiresAuth: true;
|
|
6
|
+
readonly pathParams: readonly ["characterId"];
|
|
7
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
8
|
+
solar_system_id: import("zod").ZodNumber;
|
|
9
|
+
station_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
10
|
+
structure_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
|
+
}, import("zod/v4/core").$loose>;
|
|
12
|
+
};
|
|
13
|
+
readonly getCharacterOnline: {
|
|
14
|
+
readonly path: "characters/{characterId}/online";
|
|
15
|
+
readonly method: "GET";
|
|
16
|
+
readonly requiresAuth: true;
|
|
17
|
+
readonly pathParams: readonly ["characterId"];
|
|
18
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
19
|
+
online: import("zod").ZodBoolean;
|
|
20
|
+
last_login: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
last_logout: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
logins: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
23
|
+
}, import("zod/v4/core").$loose>;
|
|
24
|
+
};
|
|
25
|
+
readonly getCharacterShip: {
|
|
26
|
+
readonly path: "characters/{characterId}/ship";
|
|
27
|
+
readonly method: "GET";
|
|
28
|
+
readonly requiresAuth: true;
|
|
29
|
+
readonly pathParams: readonly ["characterId"];
|
|
30
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
31
|
+
ship_item_id: import("zod").ZodNumber;
|
|
32
|
+
ship_name: import("zod").ZodString;
|
|
33
|
+
ship_type_id: import("zod").ZodNumber;
|
|
34
|
+
}, import("zod/v4/core").$loose>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=locationEndpoints.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const loyaltyEndpoints: {
|
|
3
|
+
readonly getLoyaltyPoints: {
|
|
4
|
+
readonly path: "characters/{characterId}/loyalty/points";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: true;
|
|
7
|
+
readonly pathParams: readonly ["characterId"];
|
|
8
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
corporation_id: z.ZodNumber;
|
|
10
|
+
loyalty_points: z.ZodNumber;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
};
|
|
13
|
+
readonly getLoyaltyStoreOffers: {
|
|
14
|
+
readonly path: "loyalty/stores/{corporationId}/offers";
|
|
15
|
+
readonly method: "GET";
|
|
16
|
+
readonly requiresAuth: false;
|
|
17
|
+
readonly pathParams: readonly ["corporationId"];
|
|
18
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
19
|
+
offer_id: z.ZodNumber;
|
|
20
|
+
type_id: z.ZodNumber;
|
|
21
|
+
quantity: z.ZodNumber;
|
|
22
|
+
lp_cost: z.ZodNumber;
|
|
23
|
+
isk_cost: z.ZodNumber;
|
|
24
|
+
ak_cost: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
required_items: z.ZodArray<z.ZodObject<{
|
|
26
|
+
type_id: z.ZodNumber;
|
|
27
|
+
quantity: z.ZodNumber;
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=loyaltyEndpoints.d.ts.map
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const mailEndpoints: {
|
|
3
|
+
readonly getCharacterMailHeaders: {
|
|
4
|
+
readonly path: "characters/{characterId}/mail/";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: true;
|
|
7
|
+
readonly pathParams: readonly ["characterId"];
|
|
8
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
mail_id: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
11
|
+
from: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
13
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
14
|
+
is_read: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
recipient_id: z.ZodNumber;
|
|
17
|
+
recipient_type: z.ZodType<(string & {}) | "character" | "corporation" | "alliance" | "mailing_list", unknown, z.core.$ZodTypeInternals<(string & {}) | "character" | "corporation" | "alliance" | "mailing_list", unknown>>;
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
};
|
|
21
|
+
readonly sendMail: {
|
|
22
|
+
readonly path: "characters/{characterId}/mail/";
|
|
23
|
+
readonly method: "POST";
|
|
24
|
+
readonly requiresAuth: true;
|
|
25
|
+
readonly pathParams: readonly ["characterId"];
|
|
26
|
+
readonly hasBody: true;
|
|
27
|
+
readonly requestSchema: z.ZodObject<{
|
|
28
|
+
recipients: z.ZodArray<z.ZodObject<{
|
|
29
|
+
recipient_id: z.ZodNumber;
|
|
30
|
+
recipient_type: z.ZodEnum<{
|
|
31
|
+
character: "character";
|
|
32
|
+
corporation: "corporation";
|
|
33
|
+
alliance: "alliance";
|
|
34
|
+
mailing_list: "mailing_list";
|
|
35
|
+
}>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
subject: z.ZodString;
|
|
38
|
+
body: z.ZodString;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
};
|
|
41
|
+
readonly getMail: {
|
|
42
|
+
readonly path: "characters/{characterId}/mail/{mailId}/";
|
|
43
|
+
readonly method: "GET";
|
|
44
|
+
readonly requiresAuth: true;
|
|
45
|
+
readonly pathParams: readonly ["characterId", "mailId"];
|
|
46
|
+
readonly responseSchema: z.ZodObject<{
|
|
47
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
48
|
+
from: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
50
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
51
|
+
read: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
body: z.ZodOptional<z.ZodString>;
|
|
53
|
+
recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
54
|
+
recipient_id: z.ZodNumber;
|
|
55
|
+
recipient_type: z.ZodType<(string & {}) | "character" | "corporation" | "alliance" | "mailing_list", unknown, z.core.$ZodTypeInternals<(string & {}) | "character" | "corporation" | "alliance" | "mailing_list", unknown>>;
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
|
+
};
|
|
59
|
+
readonly deleteMail: {
|
|
60
|
+
readonly path: "characters/{characterId}/mail/{mailId}/";
|
|
61
|
+
readonly method: "DELETE";
|
|
62
|
+
readonly requiresAuth: true;
|
|
63
|
+
readonly pathParams: readonly ["characterId", "mailId"];
|
|
64
|
+
};
|
|
65
|
+
readonly updateMailMetadata: {
|
|
66
|
+
readonly path: "characters/{characterId}/mail/{mailId}/";
|
|
67
|
+
readonly method: "PUT";
|
|
68
|
+
readonly requiresAuth: true;
|
|
69
|
+
readonly pathParams: readonly ["characterId", "mailId"];
|
|
70
|
+
readonly hasBody: true;
|
|
71
|
+
};
|
|
72
|
+
readonly getMailLabels: {
|
|
73
|
+
readonly path: "characters/{characterId}/mail/labels/";
|
|
74
|
+
readonly method: "GET";
|
|
75
|
+
readonly requiresAuth: true;
|
|
76
|
+
readonly pathParams: readonly ["characterId"];
|
|
77
|
+
readonly responseSchema: z.ZodObject<{
|
|
78
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
|
+
label_id: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
name: z.ZodOptional<z.ZodString>;
|
|
81
|
+
color: z.ZodOptional<z.ZodString>;
|
|
82
|
+
unread_count: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
}, z.core.$loose>>>;
|
|
84
|
+
total_unread_count: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
}, z.core.$loose>;
|
|
86
|
+
};
|
|
87
|
+
readonly createMailLabel: {
|
|
88
|
+
readonly path: "characters/{characterId}/mail/labels/";
|
|
89
|
+
readonly method: "POST";
|
|
90
|
+
readonly requiresAuth: true;
|
|
91
|
+
readonly pathParams: readonly ["characterId"];
|
|
92
|
+
readonly hasBody: true;
|
|
93
|
+
};
|
|
94
|
+
readonly deleteMailLabel: {
|
|
95
|
+
readonly path: "characters/{characterId}/mail/labels/{labelId}/";
|
|
96
|
+
readonly method: "DELETE";
|
|
97
|
+
readonly requiresAuth: true;
|
|
98
|
+
readonly pathParams: readonly ["characterId", "labelId"];
|
|
99
|
+
};
|
|
100
|
+
readonly getMailingLists: {
|
|
101
|
+
readonly path: "characters/{characterId}/mail/lists/";
|
|
102
|
+
readonly method: "GET";
|
|
103
|
+
readonly requiresAuth: true;
|
|
104
|
+
readonly pathParams: readonly ["characterId"];
|
|
105
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
106
|
+
mailing_list_id: z.ZodNumber;
|
|
107
|
+
name: z.ZodString;
|
|
108
|
+
}, z.core.$loose>>;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=mailEndpoints.d.ts.map
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const marketEndpoints: {
|
|
3
|
+
readonly getCharacterOrders: {
|
|
4
|
+
readonly path: "characters/{characterId}/orders/";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: true;
|
|
7
|
+
readonly pathParams: readonly ["characterId"];
|
|
8
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
order_id: z.ZodNumber;
|
|
10
|
+
type_id: z.ZodNumber;
|
|
11
|
+
location_id: z.ZodNumber;
|
|
12
|
+
volume_total: z.ZodNumber;
|
|
13
|
+
volume_remain: z.ZodNumber;
|
|
14
|
+
min_volume: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
price: z.ZodNumber;
|
|
16
|
+
is_buy_order: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
is_corporation: z.ZodBoolean;
|
|
18
|
+
region_id: z.ZodNumber;
|
|
19
|
+
duration: z.ZodNumber;
|
|
20
|
+
issued: z.ZodString;
|
|
21
|
+
range: z.ZodString;
|
|
22
|
+
escrow: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
};
|
|
25
|
+
readonly getCharacterOrderHistory: {
|
|
26
|
+
readonly path: "characters/{characterId}/orders/history/";
|
|
27
|
+
readonly method: "GET";
|
|
28
|
+
readonly requiresAuth: true;
|
|
29
|
+
readonly pathParams: readonly ["characterId"];
|
|
30
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
31
|
+
order_id: z.ZodNumber;
|
|
32
|
+
type_id: z.ZodNumber;
|
|
33
|
+
location_id: z.ZodNumber;
|
|
34
|
+
volume_total: z.ZodNumber;
|
|
35
|
+
volume_remain: z.ZodNumber;
|
|
36
|
+
min_volume: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
price: z.ZodNumber;
|
|
38
|
+
is_buy_order: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
is_corporation: z.ZodBoolean;
|
|
40
|
+
region_id: z.ZodNumber;
|
|
41
|
+
duration: z.ZodNumber;
|
|
42
|
+
issued: z.ZodString;
|
|
43
|
+
range: z.ZodString;
|
|
44
|
+
state: z.ZodType<(string & {}) | "cancelled" | "expired", unknown, z.core.$ZodTypeInternals<(string & {}) | "cancelled" | "expired", unknown>>;
|
|
45
|
+
escrow: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
|
+
};
|
|
48
|
+
readonly getCorporationOrders: {
|
|
49
|
+
readonly path: "corporations/{corporationId}/orders/";
|
|
50
|
+
readonly method: "GET";
|
|
51
|
+
readonly requiresAuth: true;
|
|
52
|
+
readonly pathParams: readonly ["corporationId"];
|
|
53
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
54
|
+
order_id: z.ZodNumber;
|
|
55
|
+
type_id: z.ZodNumber;
|
|
56
|
+
location_id: z.ZodNumber;
|
|
57
|
+
volume_total: z.ZodNumber;
|
|
58
|
+
volume_remain: z.ZodNumber;
|
|
59
|
+
min_volume: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
price: z.ZodNumber;
|
|
61
|
+
is_buy_order: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
issued_by: z.ZodNumber;
|
|
63
|
+
region_id: z.ZodNumber;
|
|
64
|
+
wallet_division: z.ZodNumber;
|
|
65
|
+
duration: z.ZodNumber;
|
|
66
|
+
issued: z.ZodString;
|
|
67
|
+
range: z.ZodString;
|
|
68
|
+
escrow: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
}, z.core.$loose>>;
|
|
70
|
+
};
|
|
71
|
+
readonly getCorporationOrderHistory: {
|
|
72
|
+
readonly path: "corporations/{corporationId}/orders/history/";
|
|
73
|
+
readonly method: "GET";
|
|
74
|
+
readonly requiresAuth: true;
|
|
75
|
+
readonly pathParams: readonly ["corporationId"];
|
|
76
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
77
|
+
order_id: z.ZodNumber;
|
|
78
|
+
type_id: z.ZodNumber;
|
|
79
|
+
location_id: z.ZodNumber;
|
|
80
|
+
volume_total: z.ZodNumber;
|
|
81
|
+
volume_remain: z.ZodNumber;
|
|
82
|
+
min_volume: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
price: z.ZodNumber;
|
|
84
|
+
is_buy_order: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
issued_by: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
region_id: z.ZodNumber;
|
|
87
|
+
wallet_division: z.ZodNumber;
|
|
88
|
+
duration: z.ZodNumber;
|
|
89
|
+
issued: z.ZodString;
|
|
90
|
+
range: z.ZodString;
|
|
91
|
+
state: z.ZodType<(string & {}) | "cancelled" | "expired", unknown, z.core.$ZodTypeInternals<(string & {}) | "cancelled" | "expired", unknown>>;
|
|
92
|
+
escrow: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
}, z.core.$loose>>;
|
|
94
|
+
};
|
|
95
|
+
readonly getMarketGroups: {
|
|
96
|
+
readonly path: "markets/groups/";
|
|
97
|
+
readonly method: "GET";
|
|
98
|
+
readonly requiresAuth: false;
|
|
99
|
+
readonly responseSchema: z.ZodArray<z.ZodNumber>;
|
|
100
|
+
};
|
|
101
|
+
readonly getMarketGroupInformation: {
|
|
102
|
+
readonly path: "markets/groups/{marketGroupId}/";
|
|
103
|
+
readonly method: "GET";
|
|
104
|
+
readonly requiresAuth: false;
|
|
105
|
+
readonly pathParams: readonly ["marketGroupId"];
|
|
106
|
+
readonly responseSchema: z.ZodObject<{
|
|
107
|
+
market_group_id: z.ZodNumber;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
description: z.ZodString;
|
|
110
|
+
types: z.ZodArray<z.ZodNumber>;
|
|
111
|
+
parent_group_id: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
}, z.core.$loose>;
|
|
113
|
+
};
|
|
114
|
+
readonly getMarketPrices: {
|
|
115
|
+
readonly path: "markets/prices/";
|
|
116
|
+
readonly method: "GET";
|
|
117
|
+
readonly requiresAuth: false;
|
|
118
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
119
|
+
type_id: z.ZodNumber;
|
|
120
|
+
average_price: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
adjusted_price: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
}, z.core.$loose>>;
|
|
123
|
+
};
|
|
124
|
+
readonly getMarketOrdersInStructure: {
|
|
125
|
+
readonly path: "markets/structures/{structureId}/";
|
|
126
|
+
readonly method: "GET";
|
|
127
|
+
readonly requiresAuth: true;
|
|
128
|
+
readonly pathParams: readonly ["structureId"];
|
|
129
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
130
|
+
order_id: z.ZodNumber;
|
|
131
|
+
type_id: z.ZodNumber;
|
|
132
|
+
location_id: z.ZodNumber;
|
|
133
|
+
volume_total: z.ZodNumber;
|
|
134
|
+
volume_remain: z.ZodNumber;
|
|
135
|
+
min_volume: z.ZodNumber;
|
|
136
|
+
price: z.ZodNumber;
|
|
137
|
+
is_buy_order: z.ZodBoolean;
|
|
138
|
+
duration: z.ZodNumber;
|
|
139
|
+
issued: z.ZodString;
|
|
140
|
+
range: z.ZodString;
|
|
141
|
+
}, z.core.$loose>>;
|
|
142
|
+
};
|
|
143
|
+
readonly getMarketHistory: {
|
|
144
|
+
readonly path: "markets/{regionId}/history/";
|
|
145
|
+
readonly method: "GET";
|
|
146
|
+
readonly requiresAuth: false;
|
|
147
|
+
readonly pathParams: readonly ["regionId"];
|
|
148
|
+
readonly queryParams: {
|
|
149
|
+
readonly typeId: "type_id";
|
|
150
|
+
};
|
|
151
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
152
|
+
date: z.ZodString;
|
|
153
|
+
order_count: z.ZodNumber;
|
|
154
|
+
volume: z.ZodNumber;
|
|
155
|
+
highest: z.ZodNumber;
|
|
156
|
+
average: z.ZodNumber;
|
|
157
|
+
lowest: z.ZodNumber;
|
|
158
|
+
}, z.core.$loose>>;
|
|
159
|
+
};
|
|
160
|
+
readonly getMarketOrders: {
|
|
161
|
+
readonly path: "markets/{regionId}/orders/";
|
|
162
|
+
readonly method: "GET";
|
|
163
|
+
readonly requiresAuth: false;
|
|
164
|
+
readonly pathParams: readonly ["regionId"];
|
|
165
|
+
readonly queryParams: {
|
|
166
|
+
readonly orderType: "order_type";
|
|
167
|
+
};
|
|
168
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
169
|
+
order_id: z.ZodNumber;
|
|
170
|
+
type_id: z.ZodNumber;
|
|
171
|
+
location_id: z.ZodNumber;
|
|
172
|
+
volume_total: z.ZodNumber;
|
|
173
|
+
volume_remain: z.ZodNumber;
|
|
174
|
+
min_volume: z.ZodNumber;
|
|
175
|
+
price: z.ZodNumber;
|
|
176
|
+
is_buy_order: z.ZodBoolean;
|
|
177
|
+
system_id: z.ZodNumber;
|
|
178
|
+
duration: z.ZodNumber;
|
|
179
|
+
issued: z.ZodString;
|
|
180
|
+
range: z.ZodString;
|
|
181
|
+
}, z.core.$loose>>;
|
|
182
|
+
};
|
|
183
|
+
readonly getMarketTypes: {
|
|
184
|
+
readonly path: "markets/{regionId}/types/";
|
|
185
|
+
readonly method: "GET";
|
|
186
|
+
readonly requiresAuth: false;
|
|
187
|
+
readonly pathParams: readonly ["regionId"];
|
|
188
|
+
readonly responseSchema: z.ZodArray<z.ZodNumber>;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
//# sourceMappingURL=marketEndpoints.d.ts.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const mercenaryEndpoints: {
|
|
3
|
+
readonly getMercenaryDens: {
|
|
4
|
+
readonly path: "characters/{characterId}/structures/mercenary-dens";
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly requiresAuth: true;
|
|
7
|
+
readonly pathParams: readonly ["characterId"];
|
|
8
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
9
|
+
den_id: z.ZodNumber;
|
|
10
|
+
system_id: z.ZodNumber;
|
|
11
|
+
constellation_id: z.ZodNumber;
|
|
12
|
+
region_id: z.ZodNumber;
|
|
13
|
+
development_level: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
anarchy_level: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
active_operations: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
};
|
|
18
|
+
readonly getMercenaryTacticalOperations: {
|
|
19
|
+
readonly path: "characters/{characterId}/mercenary-tactical-operations";
|
|
20
|
+
readonly method: "GET";
|
|
21
|
+
readonly requiresAuth: true;
|
|
22
|
+
readonly pathParams: readonly ["characterId"];
|
|
23
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
24
|
+
operation_id: z.ZodNumber;
|
|
25
|
+
den_id: z.ZodNumber;
|
|
26
|
+
system_id: z.ZodNumber;
|
|
27
|
+
site_type: z.ZodString;
|
|
28
|
+
status: z.ZodType<(string & {}) | "expired" | "active" | "spawning" | "completed", unknown, z.core.$ZodTypeInternals<(string & {}) | "expired" | "active" | "spawning" | "completed", unknown>>;
|
|
29
|
+
started_at: z.ZodOptional<z.ZodString>;
|
|
30
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
};
|
|
33
|
+
readonly getMercenaryDenDetail: {
|
|
34
|
+
readonly path: "characters/{characterId}/structures/mercenary-dens/{mercenaryDenId}";
|
|
35
|
+
readonly method: "GET";
|
|
36
|
+
readonly requiresAuth: true;
|
|
37
|
+
readonly pathParams: readonly ["characterId", "mercenaryDenId"];
|
|
38
|
+
readonly responseSchema: z.ZodObject<{
|
|
39
|
+
id: z.ZodNumber;
|
|
40
|
+
type_id: z.ZodNumber;
|
|
41
|
+
state: z.ZodType<(string & {}) | "Unspecified" | "Running" | "Paused" | "Disabled", unknown, z.core.$ZodTypeInternals<(string & {}) | "Unspecified" | "Running" | "Paused" | "Disabled", unknown>>;
|
|
42
|
+
skyhook: z.ZodObject<{
|
|
43
|
+
id: z.ZodNumber;
|
|
44
|
+
planet_id: z.ZodNumber;
|
|
45
|
+
corporation_id: z.ZodNumber;
|
|
46
|
+
}, z.core.$loose>;
|
|
47
|
+
infomorphs: z.ZodObject<{
|
|
48
|
+
amount: z.ZodNumber;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
|
+
evolution: z.ZodObject<{
|
|
51
|
+
development: z.ZodObject<{
|
|
52
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
}, z.core.$loose>;
|
|
55
|
+
anarchy: z.ZodObject<{
|
|
56
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
}, z.core.$loose>;
|
|
59
|
+
}, z.core.$loose>;
|
|
60
|
+
reinforcement_timer: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
end: z.ZodString;
|
|
62
|
+
}, z.core.$loose>>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
|
+
};
|
|
65
|
+
readonly getMercenaryTacticalOperationDetail: {
|
|
66
|
+
readonly path: "characters/{characterId}/mercenary-tactical-operations/{operationId}";
|
|
67
|
+
readonly method: "GET";
|
|
68
|
+
readonly requiresAuth: true;
|
|
69
|
+
readonly pathParams: readonly ["characterId", "operationId"];
|
|
70
|
+
readonly responseSchema: z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
mercenary_den_id: z.ZodNumber;
|
|
73
|
+
state: z.ZodType<(string & {}) | "Unspecified" | "Completed" | "Expired" | "Available" | "Started" | "Removed", unknown, z.core.$ZodTypeInternals<(string & {}) | "Unspecified" | "Completed" | "Expired" | "Available" | "Started" | "Removed", unknown>>;
|
|
74
|
+
dungeon_type_id: z.ZodNumber;
|
|
75
|
+
expires: z.ZodString;
|
|
76
|
+
}, z.core.$loose>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=mercenaryEndpoints.d.ts.map
|