@lgriffin/esi.ts 7.4.0 → 9.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/CHANGELOG.md +27 -0
- package/README.md +100 -24
- 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/config/jest/globalSetup.d.ts.map +1 -1
- package/dist/config/jest/globalTeardown.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 +15 -6
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
- package/dist/core/pagination/PaginationHandler.d.ts +7 -6
- 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 +31 -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 +6 -1
- package/dist/core/util/error.d.ts.map +1 -1
- package/dist/errors.d.ts +4 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +196 -0
- package/dist/errors.js.map +1 -0
- package/dist/errors.mjs +146 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9937 -176
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +9834 -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/index.js +2085 -46
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/index.mjs +1914 -0
- package/dist/schemas/index.mjs.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/testing/index.d.ts +2 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +935 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/index.mjs +898 -0
- package/dist/testing/index.mjs.map +1 -0
- package/dist/types/character.d.ts +2 -1
- package/dist/types/character.d.ts.map +1 -1
- package/dist/types/generated/esi-spec.generated.d.ts +3 -3
- package/dist/types/generated/esi-spec.generated.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 +33 -6
- 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/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,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fleetEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const fleet_1 = require("../../schemas/fleet");
|
|
6
|
-
exports.fleetEndpoints = {
|
|
7
|
-
getCharacterFleetInfo: {
|
|
8
|
-
path: 'characters/{characterId}/fleet',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: true,
|
|
11
|
-
pathParams: ['characterId'],
|
|
12
|
-
responseSchema: fleet_1.CharacterFleetInfoSchema,
|
|
13
|
-
},
|
|
14
|
-
getFleetInfo: {
|
|
15
|
-
path: 'fleets/{fleetId}',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
requiresAuth: true,
|
|
18
|
-
pathParams: ['fleetId'],
|
|
19
|
-
responseSchema: fleet_1.FleetInfoSchema,
|
|
20
|
-
},
|
|
21
|
-
updateFleet: {
|
|
22
|
-
path: 'fleets/{fleetId}',
|
|
23
|
-
method: 'PUT',
|
|
24
|
-
requiresAuth: true,
|
|
25
|
-
pathParams: ['fleetId'],
|
|
26
|
-
hasBody: true,
|
|
27
|
-
},
|
|
28
|
-
getFleetMembers: {
|
|
29
|
-
path: 'fleets/{fleetId}/members',
|
|
30
|
-
method: 'GET',
|
|
31
|
-
requiresAuth: true,
|
|
32
|
-
pathParams: ['fleetId'],
|
|
33
|
-
responseSchema: zod_1.z.array(fleet_1.FleetMemberSchema),
|
|
34
|
-
},
|
|
35
|
-
createFleetInvitation: {
|
|
36
|
-
path: 'fleets/{fleetId}/members/',
|
|
37
|
-
method: 'POST',
|
|
38
|
-
requiresAuth: true,
|
|
39
|
-
pathParams: ['fleetId'],
|
|
40
|
-
hasBody: true,
|
|
41
|
-
},
|
|
42
|
-
kickFleetMember: {
|
|
43
|
-
path: 'fleets/{fleetId}/members/{memberId}/',
|
|
44
|
-
method: 'DELETE',
|
|
45
|
-
requiresAuth: true,
|
|
46
|
-
pathParams: ['fleetId', 'memberId'],
|
|
47
|
-
},
|
|
48
|
-
moveFleetMember: {
|
|
49
|
-
path: 'fleets/{fleetId}/members/{memberId}/',
|
|
50
|
-
method: 'PUT',
|
|
51
|
-
requiresAuth: true,
|
|
52
|
-
pathParams: ['fleetId', 'memberId'],
|
|
53
|
-
hasBody: true,
|
|
54
|
-
},
|
|
55
|
-
deleteFleetSquad: {
|
|
56
|
-
path: 'fleets/{fleetId}/squads/{squadId}/',
|
|
57
|
-
method: 'DELETE',
|
|
58
|
-
requiresAuth: true,
|
|
59
|
-
pathParams: ['fleetId', 'squadId'],
|
|
60
|
-
},
|
|
61
|
-
renameFleetSquad: {
|
|
62
|
-
path: 'fleets/{fleetId}/squads/{squadId}/',
|
|
63
|
-
method: 'PUT',
|
|
64
|
-
requiresAuth: true,
|
|
65
|
-
pathParams: ['fleetId', 'squadId'],
|
|
66
|
-
bodyBuilder: (name) => ({ name }),
|
|
67
|
-
},
|
|
68
|
-
getFleetWings: {
|
|
69
|
-
path: 'fleets/{fleetId}/wings/',
|
|
70
|
-
method: 'GET',
|
|
71
|
-
requiresAuth: true,
|
|
72
|
-
pathParams: ['fleetId'],
|
|
73
|
-
responseSchema: zod_1.z.array(fleet_1.FleetWingSchema),
|
|
74
|
-
},
|
|
75
|
-
createFleetWing: {
|
|
76
|
-
path: 'fleets/{fleetId}/wings/',
|
|
77
|
-
method: 'POST',
|
|
78
|
-
requiresAuth: true,
|
|
79
|
-
pathParams: ['fleetId'],
|
|
80
|
-
hasBody: true,
|
|
81
|
-
},
|
|
82
|
-
deleteFleetWing: {
|
|
83
|
-
path: 'fleets/{fleetId}/wings/{wingId}/',
|
|
84
|
-
method: 'DELETE',
|
|
85
|
-
requiresAuth: true,
|
|
86
|
-
pathParams: ['fleetId', 'wingId'],
|
|
87
|
-
},
|
|
88
|
-
renameFleetWing: {
|
|
89
|
-
path: 'fleets/{fleetId}/wings/{wingId}/',
|
|
90
|
-
method: 'PUT',
|
|
91
|
-
requiresAuth: true,
|
|
92
|
-
pathParams: ['fleetId', 'wingId'],
|
|
93
|
-
bodyBuilder: (name) => ({ name }),
|
|
94
|
-
},
|
|
95
|
-
createFleetSquad: {
|
|
96
|
-
path: 'fleets/{fleetId}/wings/{wingId}/squads/',
|
|
97
|
-
method: 'POST',
|
|
98
|
-
requiresAuth: true,
|
|
99
|
-
pathParams: ['fleetId', 'wingId'],
|
|
100
|
-
},
|
|
101
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.freelanceJobsEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const freelance_jobs_1 = require("../../schemas/freelance-jobs");
|
|
6
|
-
exports.freelanceJobsEndpoints = {
|
|
7
|
-
getFreelanceJobs: {
|
|
8
|
-
path: 'freelance-jobs',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: false,
|
|
11
|
-
queryParams: { before: 'before', after: 'after' },
|
|
12
|
-
responseSchema: freelance_jobs_1.FreelanceJobsListingSchema,
|
|
13
|
-
},
|
|
14
|
-
getFreelanceJobById: {
|
|
15
|
-
path: 'freelance-jobs/{jobId}',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
requiresAuth: false,
|
|
18
|
-
pathParams: ['jobId'],
|
|
19
|
-
responseSchema: freelance_jobs_1.FreelanceJobDetailSchema,
|
|
20
|
-
},
|
|
21
|
-
getCharacterFreelanceJobs: {
|
|
22
|
-
path: 'characters/{characterId}/freelance-jobs',
|
|
23
|
-
method: 'GET',
|
|
24
|
-
requiresAuth: true,
|
|
25
|
-
pathParams: ['characterId'],
|
|
26
|
-
queryParams: { before: 'before', after: 'after' },
|
|
27
|
-
responseSchema: freelance_jobs_1.CharacterFreelanceJobsListingSchema,
|
|
28
|
-
},
|
|
29
|
-
getCharacterFreelanceJobParticipation: {
|
|
30
|
-
path: 'characters/{characterId}/freelance-jobs/{jobId}/participation',
|
|
31
|
-
method: 'GET',
|
|
32
|
-
requiresAuth: true,
|
|
33
|
-
pathParams: ['characterId', 'jobId'],
|
|
34
|
-
responseSchema: freelance_jobs_1.FreelanceJobParticipationSchema,
|
|
35
|
-
},
|
|
36
|
-
getCorporationFreelanceJobs: {
|
|
37
|
-
path: 'corporations/{corporationId}/freelance-jobs',
|
|
38
|
-
method: 'GET',
|
|
39
|
-
requiresAuth: true,
|
|
40
|
-
pathParams: ['corporationId'],
|
|
41
|
-
queryParams: { before: 'before', after: 'after' },
|
|
42
|
-
responseSchema: freelance_jobs_1.CorporationFreelanceJobsListingSchema,
|
|
43
|
-
},
|
|
44
|
-
getCorporationFreelanceJobParticipants: {
|
|
45
|
-
path: 'corporations/{corporationId}/freelance-jobs/{jobId}/participants',
|
|
46
|
-
method: 'GET',
|
|
47
|
-
requiresAuth: true,
|
|
48
|
-
pathParams: ['corporationId', 'jobId'],
|
|
49
|
-
responseSchema: zod_1.z.array(freelance_jobs_1.FreelanceJobParticipantSchema),
|
|
50
|
-
},
|
|
51
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.incursionEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const incursions_1 = require("../../schemas/incursions");
|
|
6
|
-
exports.incursionEndpoints = {
|
|
7
|
-
getIncursions: {
|
|
8
|
-
path: 'incursions',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: false,
|
|
11
|
-
responseSchema: zod_1.z.array(incursions_1.IncursionSchema),
|
|
12
|
-
},
|
|
13
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.industryEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const industry_1 = require("../../schemas/industry");
|
|
6
|
-
exports.industryEndpoints = {
|
|
7
|
-
getCharacterIndustryJobs: {
|
|
8
|
-
path: 'characters/{characterId}/industry/jobs',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: true,
|
|
11
|
-
pathParams: ['characterId'],
|
|
12
|
-
responseSchema: zod_1.z.array(industry_1.IndustryJobSchema),
|
|
13
|
-
},
|
|
14
|
-
getCharacterMiningLedger: {
|
|
15
|
-
path: 'characters/{characterId}/mining',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
requiresAuth: true,
|
|
18
|
-
pathParams: ['characterId'],
|
|
19
|
-
responseSchema: zod_1.z.array(industry_1.MiningLedgerEntrySchema),
|
|
20
|
-
},
|
|
21
|
-
getCorporationIndustryJobs: {
|
|
22
|
-
path: 'corporations/{corporationId}/industry/jobs',
|
|
23
|
-
method: 'GET',
|
|
24
|
-
requiresAuth: true,
|
|
25
|
-
pathParams: ['corporationId'],
|
|
26
|
-
responseSchema: zod_1.z.array(industry_1.IndustryJobSchema),
|
|
27
|
-
},
|
|
28
|
-
getMoonExtractionTimers: {
|
|
29
|
-
path: 'corporations/{corporationId}/mining/extractions',
|
|
30
|
-
method: 'GET',
|
|
31
|
-
requiresAuth: true,
|
|
32
|
-
pathParams: ['corporationId'],
|
|
33
|
-
responseSchema: zod_1.z.array(industry_1.MoonExtractionTimerSchema),
|
|
34
|
-
},
|
|
35
|
-
getCorporationMiningObservers: {
|
|
36
|
-
path: 'corporations/{corporationId}/mining/observers',
|
|
37
|
-
method: 'GET',
|
|
38
|
-
requiresAuth: true,
|
|
39
|
-
pathParams: ['corporationId'],
|
|
40
|
-
responseSchema: zod_1.z.array(industry_1.MiningObserverSchema),
|
|
41
|
-
},
|
|
42
|
-
getCorporationMiningObserver: {
|
|
43
|
-
path: 'corporations/{corporationId}/mining/observers/{observerId}',
|
|
44
|
-
method: 'GET',
|
|
45
|
-
requiresAuth: true,
|
|
46
|
-
pathParams: ['corporationId', 'observerId'],
|
|
47
|
-
responseSchema: zod_1.z.array(industry_1.MiningObserverEntrySchema),
|
|
48
|
-
},
|
|
49
|
-
getIndustryFacilities: {
|
|
50
|
-
path: 'industry/facilities',
|
|
51
|
-
method: 'GET',
|
|
52
|
-
requiresAuth: false,
|
|
53
|
-
responseSchema: zod_1.z.array(industry_1.IndustryFacilitySchema),
|
|
54
|
-
},
|
|
55
|
-
getIndustrySystems: {
|
|
56
|
-
path: 'industry/systems',
|
|
57
|
-
method: 'GET',
|
|
58
|
-
requiresAuth: false,
|
|
59
|
-
responseSchema: zod_1.z.array(industry_1.IndustrySystemSchema),
|
|
60
|
-
},
|
|
61
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.insuranceEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const insurance_1 = require("../../schemas/insurance");
|
|
6
|
-
exports.insuranceEndpoints = {
|
|
7
|
-
getInsurancePrices: {
|
|
8
|
-
path: 'insurance/prices',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: false,
|
|
11
|
-
responseSchema: zod_1.z.array(insurance_1.InsurancePriceSchema),
|
|
12
|
-
},
|
|
13
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.killmailEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const killmails_1 = require("../../schemas/killmails");
|
|
6
|
-
exports.killmailEndpoints = {
|
|
7
|
-
getCharacterRecentKillmails: {
|
|
8
|
-
path: 'characters/{characterId}/killmails/recent',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: true,
|
|
11
|
-
pathParams: ['characterId'],
|
|
12
|
-
responseSchema: zod_1.z.array(killmails_1.KillmailSummarySchema),
|
|
13
|
-
},
|
|
14
|
-
getCorporationRecentKillmails: {
|
|
15
|
-
path: 'corporations/{corporationId}/killmails/recent',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
requiresAuth: true,
|
|
18
|
-
pathParams: ['corporationId'],
|
|
19
|
-
responseSchema: zod_1.z.array(killmails_1.KillmailSummarySchema),
|
|
20
|
-
},
|
|
21
|
-
getKillmail: {
|
|
22
|
-
path: 'killmails/{killmailId}/{killmailHash}',
|
|
23
|
-
method: 'GET',
|
|
24
|
-
requiresAuth: false,
|
|
25
|
-
pathParams: ['killmailId', 'killmailHash'],
|
|
26
|
-
responseSchema: killmails_1.KillmailSchema,
|
|
27
|
-
},
|
|
28
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.locationEndpoints = void 0;
|
|
4
|
-
const location_1 = require("../../schemas/location");
|
|
5
|
-
exports.locationEndpoints = {
|
|
6
|
-
getCharacterLocation: {
|
|
7
|
-
path: 'characters/{characterId}/location',
|
|
8
|
-
method: 'GET',
|
|
9
|
-
requiresAuth: true,
|
|
10
|
-
pathParams: ['characterId'],
|
|
11
|
-
responseSchema: location_1.CharacterLocationSchema,
|
|
12
|
-
},
|
|
13
|
-
getCharacterOnline: {
|
|
14
|
-
path: 'characters/{characterId}/online',
|
|
15
|
-
method: 'GET',
|
|
16
|
-
requiresAuth: true,
|
|
17
|
-
pathParams: ['characterId'],
|
|
18
|
-
responseSchema: location_1.CharacterOnlineSchema,
|
|
19
|
-
},
|
|
20
|
-
getCharacterShip: {
|
|
21
|
-
path: 'characters/{characterId}/ship',
|
|
22
|
-
method: 'GET',
|
|
23
|
-
requiresAuth: true,
|
|
24
|
-
pathParams: ['characterId'],
|
|
25
|
-
responseSchema: location_1.CharacterShipSchema,
|
|
26
|
-
},
|
|
27
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.loyaltyEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const loyalty_1 = require("../../schemas/loyalty");
|
|
6
|
-
exports.loyaltyEndpoints = {
|
|
7
|
-
getLoyaltyPoints: {
|
|
8
|
-
path: 'characters/{characterId}/loyalty/points',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: true,
|
|
11
|
-
pathParams: ['characterId'],
|
|
12
|
-
responseSchema: zod_1.z.array(loyalty_1.LoyaltyPointsSchema),
|
|
13
|
-
},
|
|
14
|
-
getLoyaltyStoreOffers: {
|
|
15
|
-
path: 'loyalty/stores/{corporationId}/offers',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
requiresAuth: false,
|
|
18
|
-
pathParams: ['corporationId'],
|
|
19
|
-
responseSchema: zod_1.z.array(loyalty_1.LoyaltyStoreOfferSchema),
|
|
20
|
-
},
|
|
21
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mailEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const mail_1 = require("../../schemas/mail");
|
|
6
|
-
exports.mailEndpoints = {
|
|
7
|
-
getCharacterMailHeaders: {
|
|
8
|
-
path: 'characters/{characterId}/mail/',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: true,
|
|
11
|
-
pathParams: ['characterId'],
|
|
12
|
-
responseSchema: zod_1.z.array(mail_1.MailMessageSchema),
|
|
13
|
-
},
|
|
14
|
-
sendMail: {
|
|
15
|
-
path: 'characters/{characterId}/mail/',
|
|
16
|
-
method: 'POST',
|
|
17
|
-
requiresAuth: true,
|
|
18
|
-
pathParams: ['characterId'],
|
|
19
|
-
hasBody: true,
|
|
20
|
-
},
|
|
21
|
-
getMail: {
|
|
22
|
-
path: 'characters/{characterId}/mail/{mailId}/',
|
|
23
|
-
method: 'GET',
|
|
24
|
-
requiresAuth: true,
|
|
25
|
-
pathParams: ['characterId', 'mailId'],
|
|
26
|
-
responseSchema: mail_1.MailMessageSchema,
|
|
27
|
-
},
|
|
28
|
-
deleteMail: {
|
|
29
|
-
path: 'characters/{characterId}/mail/{mailId}/',
|
|
30
|
-
method: 'DELETE',
|
|
31
|
-
requiresAuth: true,
|
|
32
|
-
pathParams: ['characterId', 'mailId'],
|
|
33
|
-
},
|
|
34
|
-
updateMailMetadata: {
|
|
35
|
-
path: 'characters/{characterId}/mail/{mailId}/',
|
|
36
|
-
method: 'PUT',
|
|
37
|
-
requiresAuth: true,
|
|
38
|
-
pathParams: ['characterId', 'mailId'],
|
|
39
|
-
hasBody: true,
|
|
40
|
-
},
|
|
41
|
-
getMailLabels: {
|
|
42
|
-
path: 'characters/{characterId}/mail/labels/',
|
|
43
|
-
method: 'GET',
|
|
44
|
-
requiresAuth: true,
|
|
45
|
-
pathParams: ['characterId'],
|
|
46
|
-
responseSchema: mail_1.MailLabelsResponseSchema,
|
|
47
|
-
},
|
|
48
|
-
createMailLabel: {
|
|
49
|
-
path: 'characters/{characterId}/mail/labels/',
|
|
50
|
-
method: 'POST',
|
|
51
|
-
requiresAuth: true,
|
|
52
|
-
pathParams: ['characterId'],
|
|
53
|
-
hasBody: true,
|
|
54
|
-
},
|
|
55
|
-
deleteMailLabel: {
|
|
56
|
-
path: 'characters/{characterId}/mail/labels/{labelId}/',
|
|
57
|
-
method: 'DELETE',
|
|
58
|
-
requiresAuth: true,
|
|
59
|
-
pathParams: ['characterId', 'labelId'],
|
|
60
|
-
},
|
|
61
|
-
getMailingLists: {
|
|
62
|
-
path: 'characters/{characterId}/mail/lists/',
|
|
63
|
-
method: 'GET',
|
|
64
|
-
requiresAuth: true,
|
|
65
|
-
pathParams: ['characterId'],
|
|
66
|
-
responseSchema: zod_1.z.array(mail_1.MailingListSchema),
|
|
67
|
-
},
|
|
68
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.marketEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const market_1 = require("../../schemas/market");
|
|
6
|
-
exports.marketEndpoints = {
|
|
7
|
-
getCharacterOrders: {
|
|
8
|
-
path: 'characters/{characterId}/orders/',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: true,
|
|
11
|
-
pathParams: ['characterId'],
|
|
12
|
-
responseSchema: zod_1.z.array(market_1.MarketOrderSchema),
|
|
13
|
-
},
|
|
14
|
-
getCharacterOrderHistory: {
|
|
15
|
-
path: 'characters/{characterId}/orders/history/',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
requiresAuth: true,
|
|
18
|
-
pathParams: ['characterId'],
|
|
19
|
-
responseSchema: zod_1.z.array(market_1.MarketOrderSchema),
|
|
20
|
-
},
|
|
21
|
-
getCorporationOrders: {
|
|
22
|
-
path: 'corporations/{corporationId}/orders/',
|
|
23
|
-
method: 'GET',
|
|
24
|
-
requiresAuth: true,
|
|
25
|
-
pathParams: ['corporationId'],
|
|
26
|
-
responseSchema: zod_1.z.array(market_1.MarketOrderSchema),
|
|
27
|
-
},
|
|
28
|
-
getCorporationOrderHistory: {
|
|
29
|
-
path: 'corporations/{corporationId}/orders/history/',
|
|
30
|
-
method: 'GET',
|
|
31
|
-
requiresAuth: true,
|
|
32
|
-
pathParams: ['corporationId'],
|
|
33
|
-
responseSchema: zod_1.z.array(market_1.MarketOrderSchema),
|
|
34
|
-
},
|
|
35
|
-
getMarketGroups: {
|
|
36
|
-
path: 'markets/groups/',
|
|
37
|
-
method: 'GET',
|
|
38
|
-
requiresAuth: false,
|
|
39
|
-
responseSchema: zod_1.z.array(zod_1.z.number()),
|
|
40
|
-
},
|
|
41
|
-
getMarketGroupInformation: {
|
|
42
|
-
path: 'markets/groups/{marketGroupId}/',
|
|
43
|
-
method: 'GET',
|
|
44
|
-
requiresAuth: false,
|
|
45
|
-
pathParams: ['marketGroupId'],
|
|
46
|
-
responseSchema: market_1.MarketGroupSchema,
|
|
47
|
-
},
|
|
48
|
-
getMarketPrices: {
|
|
49
|
-
path: 'markets/prices/',
|
|
50
|
-
method: 'GET',
|
|
51
|
-
requiresAuth: false,
|
|
52
|
-
responseSchema: zod_1.z.array(market_1.MarketPriceSchema),
|
|
53
|
-
},
|
|
54
|
-
getMarketOrdersInStructure: {
|
|
55
|
-
path: 'markets/structures/{structureId}/',
|
|
56
|
-
method: 'GET',
|
|
57
|
-
requiresAuth: false,
|
|
58
|
-
pathParams: ['structureId'],
|
|
59
|
-
responseSchema: zod_1.z.array(market_1.MarketOrderSchema),
|
|
60
|
-
},
|
|
61
|
-
getMarketHistory: {
|
|
62
|
-
path: 'markets/{regionId}/history/',
|
|
63
|
-
method: 'GET',
|
|
64
|
-
requiresAuth: false,
|
|
65
|
-
pathParams: ['regionId'],
|
|
66
|
-
queryParams: { typeId: 'type_id' },
|
|
67
|
-
responseSchema: zod_1.z.array(market_1.MarketHistorySchema),
|
|
68
|
-
},
|
|
69
|
-
getMarketOrders: {
|
|
70
|
-
path: 'markets/{regionId}/orders/',
|
|
71
|
-
method: 'GET',
|
|
72
|
-
requiresAuth: false,
|
|
73
|
-
pathParams: ['regionId'],
|
|
74
|
-
queryParams: { orderType: 'order_type' },
|
|
75
|
-
responseSchema: zod_1.z.array(market_1.MarketOrderSchema),
|
|
76
|
-
},
|
|
77
|
-
getMarketTypes: {
|
|
78
|
-
path: 'markets/{regionId}/types/',
|
|
79
|
-
method: 'GET',
|
|
80
|
-
requiresAuth: false,
|
|
81
|
-
pathParams: ['regionId'],
|
|
82
|
-
responseSchema: zod_1.z.array(zod_1.z.number()),
|
|
83
|
-
},
|
|
84
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mercenaryEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const mercenary_1 = require("../../schemas/mercenary");
|
|
6
|
-
exports.mercenaryEndpoints = {
|
|
7
|
-
getMercenaryDens: {
|
|
8
|
-
path: 'mercenary/dens',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: false,
|
|
11
|
-
responseSchema: zod_1.z.array(mercenary_1.MercenaryDenSchema),
|
|
12
|
-
},
|
|
13
|
-
getMercenaryTacticalOperations: {
|
|
14
|
-
path: 'mercenary/operations',
|
|
15
|
-
method: 'GET',
|
|
16
|
-
requiresAuth: false,
|
|
17
|
-
responseSchema: zod_1.z.array(mercenary_1.MercenaryTacticalOperationSchema),
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.metaEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.metaEndpoints = {
|
|
6
|
-
getOpenApiJson: {
|
|
7
|
-
path: 'meta/openapi.json',
|
|
8
|
-
method: 'GET',
|
|
9
|
-
requiresAuth: false,
|
|
10
|
-
responseSchema: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
11
|
-
},
|
|
12
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.piEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const pi_1 = require("../../schemas/pi");
|
|
6
|
-
const universe_1 = require("../../schemas/universe");
|
|
7
|
-
exports.piEndpoints = {
|
|
8
|
-
getColonies: {
|
|
9
|
-
path: 'characters/{characterId}/planets',
|
|
10
|
-
method: 'GET',
|
|
11
|
-
requiresAuth: true,
|
|
12
|
-
pathParams: ['characterId'],
|
|
13
|
-
responseSchema: zod_1.z.array(pi_1.PlanetaryColonySchema),
|
|
14
|
-
},
|
|
15
|
-
getColonyLayout: {
|
|
16
|
-
path: 'characters/{characterId}/planets/{planetId}',
|
|
17
|
-
method: 'GET',
|
|
18
|
-
requiresAuth: true,
|
|
19
|
-
pathParams: ['characterId', 'planetId'],
|
|
20
|
-
responseSchema: pi_1.ColonyLayoutSchema,
|
|
21
|
-
},
|
|
22
|
-
getCorporationCustomsOffices: {
|
|
23
|
-
path: 'corporations/{corporationId}/customs_offices',
|
|
24
|
-
method: 'GET',
|
|
25
|
-
requiresAuth: true,
|
|
26
|
-
pathParams: ['corporationId'],
|
|
27
|
-
responseSchema: zod_1.z.array(pi_1.CustomsOfficeSchema),
|
|
28
|
-
},
|
|
29
|
-
getSchematicInformation: {
|
|
30
|
-
path: 'universe/schematics/{schematicId}',
|
|
31
|
-
method: 'GET',
|
|
32
|
-
requiresAuth: false,
|
|
33
|
-
pathParams: ['schematicId'],
|
|
34
|
-
responseSchema: universe_1.SchematicInfoSchema,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.routeEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.routeEndpoints = {
|
|
6
|
-
getRoute: {
|
|
7
|
-
path: 'route/{origin}/{destination}',
|
|
8
|
-
method: 'POST',
|
|
9
|
-
requiresAuth: false,
|
|
10
|
-
pathParams: ['origin', 'destination'],
|
|
11
|
-
hasBody: true,
|
|
12
|
-
responseSchema: zod_1.z.looseObject({ route: zod_1.z.array(zod_1.z.number()) }),
|
|
13
|
-
},
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchEndpoints = void 0;
|
|
4
|
-
const universe_1 = require("../../schemas/universe");
|
|
5
|
-
exports.searchEndpoints = {
|
|
6
|
-
searchCharacter: {
|
|
7
|
-
path: 'characters/{characterId}/search/',
|
|
8
|
-
method: 'GET',
|
|
9
|
-
requiresAuth: true,
|
|
10
|
-
pathParams: ['characterId'],
|
|
11
|
-
queryParams: { searchString: 'search', categories: 'categories' },
|
|
12
|
-
responseSchema: universe_1.SearchResultSchema,
|
|
13
|
-
},
|
|
14
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.skillEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const skills_1 = require("../../schemas/skills");
|
|
6
|
-
const character_1 = require("../../schemas/character");
|
|
7
|
-
exports.skillEndpoints = {
|
|
8
|
-
getCharacterAttributes: {
|
|
9
|
-
path: 'characters/{characterId}/attributes',
|
|
10
|
-
method: 'GET',
|
|
11
|
-
requiresAuth: true,
|
|
12
|
-
pathParams: ['characterId'],
|
|
13
|
-
responseSchema: character_1.CharacterAttributesSchema,
|
|
14
|
-
},
|
|
15
|
-
getCharacterSkillQueue: {
|
|
16
|
-
path: 'characters/{characterId}/skillqueue',
|
|
17
|
-
method: 'GET',
|
|
18
|
-
requiresAuth: true,
|
|
19
|
-
pathParams: ['characterId'],
|
|
20
|
-
responseSchema: zod_1.z.array(skills_1.SkillQueueSchema),
|
|
21
|
-
},
|
|
22
|
-
getCharacterSkills: {
|
|
23
|
-
path: 'characters/{characterId}/skills',
|
|
24
|
-
method: 'GET',
|
|
25
|
-
requiresAuth: true,
|
|
26
|
-
pathParams: ['characterId'],
|
|
27
|
-
responseSchema: skills_1.CharacterSkillsResponseSchema,
|
|
28
|
-
},
|
|
29
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.skyhookEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const skyhooks_1 = require("../../schemas/skyhooks");
|
|
6
|
-
exports.skyhookEndpoints = {
|
|
7
|
-
getSovereigntyHubs: {
|
|
8
|
-
path: 'sovereignty/hubs',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: false,
|
|
11
|
-
responseSchema: zod_1.z.array(skyhooks_1.SovereigntyHubSchema),
|
|
12
|
-
},
|
|
13
|
-
getOrbitalSkyhooks: {
|
|
14
|
-
path: 'sovereignty/skyhooks',
|
|
15
|
-
method: 'GET',
|
|
16
|
-
requiresAuth: false,
|
|
17
|
-
responseSchema: zod_1.z.array(skyhooks_1.OrbitalSkyhookSchema),
|
|
18
|
-
},
|
|
19
|
-
getRaidableSkyhooks: {
|
|
20
|
-
path: 'sovereignty/skyhooks/raidable',
|
|
21
|
-
method: 'GET',
|
|
22
|
-
requiresAuth: false,
|
|
23
|
-
responseSchema: zod_1.z.array(skyhooks_1.RaidableSkyhookSchema),
|
|
24
|
-
},
|
|
25
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sovereigntyEndpoints = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const sovereignty_1 = require("../../schemas/sovereignty");
|
|
6
|
-
exports.sovereigntyEndpoints = {
|
|
7
|
-
getSovereigntyCampaigns: {
|
|
8
|
-
path: 'sovereignty/campaigns',
|
|
9
|
-
method: 'GET',
|
|
10
|
-
requiresAuth: false,
|
|
11
|
-
responseSchema: zod_1.z.array(sovereignty_1.SovereigntyCampaignSchema),
|
|
12
|
-
},
|
|
13
|
-
getSovereigntySystems: {
|
|
14
|
-
path: 'sovereignty/systems',
|
|
15
|
-
method: 'GET',
|
|
16
|
-
requiresAuth: false,
|
|
17
|
-
responseSchema: sovereignty_1.SovereigntySystemSchema,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.statusEndpoints = void 0;
|
|
4
|
-
const status_1 = require("../../schemas/status");
|
|
5
|
-
exports.statusEndpoints = {
|
|
6
|
-
getStatus: {
|
|
7
|
-
path: 'status',
|
|
8
|
-
method: 'GET',
|
|
9
|
-
requiresAuth: false,
|
|
10
|
-
responseSchema: status_1.ServerStatusSchema,
|
|
11
|
-
},
|
|
12
|
-
};
|