esisl_genoa_client 0.1.1 → 0.1.6
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/.openapi-generator/FILES +105 -0
- package/README.md +119 -5
- package/dist/apis/AllianceApi.d.ts +25 -17
- package/dist/apis/AllianceApi.js +42 -17
- package/dist/apis/AssetsApi.d.ts +37 -25
- package/dist/apis/AssetsApi.js +62 -25
- package/dist/apis/CalendarApi.d.ts +25 -17
- package/dist/apis/CalendarApi.js +42 -18
- package/dist/apis/CharacterApi.d.ts +85 -57
- package/dist/apis/CharacterApi.js +142 -63
- package/dist/apis/ClonesApi.d.ts +13 -9
- package/dist/apis/ClonesApi.js +22 -9
- package/dist/apis/ContactsApi.d.ts +55 -37
- package/dist/apis/ContactsApi.js +92 -39
- package/dist/apis/ContractsApi.d.ts +55 -37
- package/dist/apis/ContractsApi.js +92 -37
- package/dist/apis/CorporationApi.d.ts +133 -89
- package/dist/apis/CorporationApi.js +222 -95
- package/dist/apis/CorporationProjectsApi.d.ts +288 -0
- package/dist/apis/CorporationProjectsApi.js +514 -0
- package/dist/apis/DogmaApi.d.ts +31 -21
- package/dist/apis/DogmaApi.js +52 -21
- package/dist/apis/FactionWarfareApi.d.ts +49 -33
- package/dist/apis/FactionWarfareApi.js +82 -33
- package/dist/apis/FittingsApi.d.ts +19 -13
- package/dist/apis/FittingsApi.js +32 -14
- package/dist/apis/FleetsApi.d.ts +85 -57
- package/dist/apis/FleetsApi.js +142 -65
- package/dist/apis/FreelanceJobsApi.d.ts +396 -0
- package/dist/apis/FreelanceJobsApi.js +696 -0
- package/dist/apis/IncursionsApi.d.ts +7 -5
- package/dist/apis/IncursionsApi.js +12 -5
- package/dist/apis/IndustryApi.d.ts +49 -33
- package/dist/apis/IndustryApi.js +82 -33
- package/dist/apis/InsuranceApi.d.ts +7 -5
- package/dist/apis/InsuranceApi.js +12 -5
- package/dist/apis/KillmailsApi.d.ts +19 -13
- package/dist/apis/KillmailsApi.js +32 -13
- package/dist/apis/LocationApi.d.ts +19 -13
- package/dist/apis/LocationApi.js +32 -13
- package/dist/apis/LoyaltyApi.d.ts +13 -9
- package/dist/apis/LoyaltyApi.js +22 -9
- package/dist/apis/MailApi.d.ts +55 -37
- package/dist/apis/MailApi.js +92 -52
- package/dist/apis/MarketApi.d.ts +67 -45
- package/dist/apis/MarketApi.js +112 -45
- package/dist/apis/MetaApi.d.ts +70 -10
- package/dist/apis/MetaApi.js +116 -10
- package/dist/apis/PlanetaryInteractionApi.d.ts +25 -17
- package/dist/apis/PlanetaryInteractionApi.js +42 -17
- package/dist/apis/RoutesApi.d.ts +29 -39
- package/dist/apis/RoutesApi.js +48 -55
- package/dist/apis/SearchApi.d.ts +7 -5
- package/dist/apis/SearchApi.js +12 -5
- package/dist/apis/SkillsApi.d.ts +19 -13
- package/dist/apis/SkillsApi.js +32 -13
- package/dist/apis/SovereigntyApi.d.ts +19 -13
- package/dist/apis/SovereigntyApi.js +32 -13
- package/dist/apis/StatusApi.d.ts +7 -5
- package/dist/apis/StatusApi.js +12 -5
- package/dist/apis/UniverseApi.d.ts +181 -121
- package/dist/apis/UniverseApi.js +302 -121
- package/dist/apis/UserInterfaceApi.d.ts +31 -21
- package/dist/apis/UserInterfaceApi.js +52 -26
- package/dist/apis/WalletApi.d.ts +37 -25
- package/dist/apis/WalletApi.js +62 -31
- package/dist/apis/WarsApi.d.ts +19 -13
- package/dist/apis/WarsApi.js +32 -13
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/constants.d.ts +8 -0
- package/dist/constants.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/models/index.d.ts +2339 -295
- package/dist/models/index.js +165 -2
- package/dist/runtime.d.ts +6 -56
- package/dist/runtime.js +4 -309
- package/docs/AllianceApi.md +24 -12
- package/docs/AllianceId.md +14 -0
- package/docs/AssetsApi.md +36 -18
- package/docs/CalendarApi.md +24 -12
- package/docs/CaptureFwComplex.md +14 -0
- package/docs/CharacterApi.md +84 -42
- package/docs/CharacterId.md +14 -0
- package/docs/CharactersFreelanceJobsListing.md +14 -0
- package/docs/CharactersFreelanceJobsParticipation.md +16 -0
- package/docs/ClonesApi.md +12 -6
- package/docs/ConstellationId.md +14 -0
- package/docs/ContactsApi.md +54 -27
- package/docs/ContractsApi.md +54 -27
- package/docs/CorporationApi.md +132 -66
- package/docs/CorporationId.md +14 -0
- package/docs/CorporationItemDelivery.md +14 -0
- package/docs/CorporationProjectsApi.md +393 -0
- package/docs/CorporationsFreelanceJobsListing.md +15 -0
- package/docs/CorporationsFreelanceJobsParticipants.md +15 -0
- package/docs/CorporationsFreelanceJobsParticipantsParticipant.md +17 -0
- package/docs/CorporationsProjectsContribution.md +15 -0
- package/docs/CorporationsProjectsContributors.md +15 -0
- package/docs/CorporationsProjectsContributorsContributor.md +16 -0
- package/docs/CorporationsProjectsDetail.md +23 -0
- package/docs/CorporationsProjectsDetailConfiguration.md +31 -0
- package/docs/CorporationsProjectsDetailConfigurationcapturefwcomplex.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationcapturefwcomplexLocationsInner.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdamageship.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdamageshipIdentitiesInner.md +17 -0
- package/docs/CorporationsProjectsDetailConfigurationdamageshipShipsInner.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationdefendfwcomplex.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdeliveritem.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdeliveritemDockingLocationsInner.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationdeliveritemItemsInner.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationdestroynpc.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationdestroyship.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationearnloyaltypoints.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationlostship.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationmanufactureitem.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationmatcherarchetype.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationmatchercorporation.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationmatcherfaction.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationmatchersignature.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationminematerial.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationremoteboostshield.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationremoterepairarmor.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationsalvagewreck.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationscansignature.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationshipinsurance.md +18 -0
- package/docs/CorporationsProjectsDetailConfigurationunknown.md +15 -0
- package/docs/CorporationsProjectsDetailContribution.md +17 -0
- package/docs/CorporationsProjectsDetailCreator.md +15 -0
- package/docs/CorporationsProjectsDetailDetails.md +18 -0
- package/docs/CorporationsProjectsDetailProgress.md +15 -0
- package/docs/CorporationsProjectsDetailProject.md +19 -0
- package/docs/CorporationsProjectsDetailReward.md +15 -0
- package/docs/CorporationsProjectsListing.md +15 -0
- package/docs/Cursor.md +15 -0
- package/docs/DamageShip.md +14 -0
- package/docs/DefendFwComplex.md +14 -0
- package/docs/DeliverItem.md +14 -0
- package/docs/DestroyNpc.md +14 -0
- package/docs/DestroyShip.md +14 -0
- package/docs/DogmaApi.md +30 -15
- package/docs/EarnLoyaltyPoint.md +14 -0
- package/docs/FactionId.md +14 -0
- package/docs/FactionWarfareApi.md +48 -24
- package/docs/FittingsApi.md +18 -9
- package/docs/FleetsApi.md +84 -42
- package/docs/FreelanceJobsApi.md +561 -0
- package/docs/FreelanceJobsDetail.md +23 -0
- package/docs/FreelanceJobsDetailAccessandvisibility.md +16 -0
- package/docs/FreelanceJobsDetailBroadcastlocations.md +15 -0
- package/docs/FreelanceJobsDetailConfiguration.md +16 -0
- package/docs/FreelanceJobsDetailConfigurationParametersValue.md +17 -0
- package/docs/FreelanceJobsDetailContribution.md +18 -0
- package/docs/FreelanceJobsDetailCreator.md +15 -0
- package/docs/FreelanceJobsDetailCreatorcharacter.md +15 -0
- package/docs/FreelanceJobsDetailCreatorcorporation.md +15 -0
- package/docs/FreelanceJobsDetailDetails.md +19 -0
- package/docs/FreelanceJobsDetailFreelancejob.md +19 -0
- package/docs/FreelanceJobsDetailParameterboolean.md +14 -0
- package/docs/FreelanceJobsDetailParametercorporationitemdelivery.md +15 -0
- package/docs/FreelanceJobsDetailParametermatcher.md +14 -0
- package/docs/FreelanceJobsDetailParametermatchervalue.md +15 -0
- package/docs/FreelanceJobsDetailParameteroptions.md +14 -0
- package/docs/FreelanceJobsDetailProgress.md +15 -0
- package/docs/FreelanceJobsDetailRestrictions.md +15 -0
- package/docs/FreelanceJobsDetailReward.md +15 -0
- package/docs/FreelanceJobsListing.md +15 -0
- package/docs/GroupId.md +14 -0
- package/docs/GroupId1.md +14 -0
- package/docs/IncursionsApi.md +6 -3
- package/docs/IndustryApi.md +48 -24
- package/docs/InsuranceApi.md +6 -3
- package/docs/KillmailsApi.md +18 -9
- package/docs/LocationApi.md +18 -9
- package/docs/LostShip.md +14 -0
- package/docs/LoyaltyApi.md +12 -6
- package/docs/MailApi.md +54 -27
- package/docs/Manual.md +14 -0
- package/docs/ManufactureItem.md +14 -0
- package/docs/MarketApi.md +66 -33
- package/docs/Matcher.md +14 -0
- package/docs/MetaApi.md +95 -8
- package/docs/MetaChangelogEntry.md +1 -1
- package/docs/MetaStatus.md +14 -0
- package/docs/MetaStatusRoutestatus.md +16 -0
- package/docs/MineMaterial.md +14 -0
- package/docs/ModelBoolean.md +14 -0
- package/docs/Options.md +14 -0
- package/docs/PlanetaryInteractionApi.md +24 -12
- package/docs/RegionId.md +14 -0
- package/docs/RemoteBoostShield.md +14 -0
- package/docs/RemoteRepairArmor.md +14 -0
- package/docs/Route.md +14 -0
- package/docs/RouteConnection.md +15 -0
- package/docs/RouteRequestBody.md +17 -0
- package/docs/RoutesApi.md +24 -27
- package/docs/SalvageWreck.md +14 -0
- package/docs/ScanSignature.md +14 -0
- package/docs/SearchApi.md +6 -3
- package/docs/ShipInsurance.md +14 -0
- package/docs/SkillsApi.md +18 -9
- package/docs/SolarSystemId.md +14 -0
- package/docs/SovereigntyApi.md +18 -9
- package/docs/StationId.md +14 -0
- package/docs/StatusApi.md +6 -3
- package/docs/StructureId.md +14 -0
- package/docs/TypeId.md +14 -0
- package/docs/UniverseApi.md +180 -90
- package/docs/Unknown.md +14 -0
- package/docs/UserInterfaceApi.md +30 -15
- package/docs/WalletApi.md +36 -18
- package/docs/WarsApi.md +18 -9
- package/esisl_genoa_client-0.1.6.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +70 -25
- package/src/apis/AssetsApi.ts +104 -37
- package/src/apis/CalendarApi.ts +70 -25
- package/src/apis/CharacterApi.ts +240 -89
- package/src/apis/ClonesApi.ts +36 -13
- package/src/apis/ContactsApi.ts +155 -55
- package/src/apis/ContractsApi.ts +155 -55
- package/src/apis/CorporationApi.ts +376 -137
- package/src/apis/CorporationProjectsApi.ts +667 -0
- package/src/apis/DogmaApi.ts +87 -31
- package/src/apis/FactionWarfareApi.ts +138 -49
- package/src/apis/FittingsApi.ts +53 -19
- package/src/apis/FleetsApi.ts +240 -85
- package/src/apis/FreelanceJobsApi.ts +907 -0
- package/src/apis/IncursionsApi.ts +19 -7
- package/src/apis/IndustryApi.ts +138 -49
- package/src/apis/InsuranceApi.ts +19 -7
- package/src/apis/KillmailsApi.ts +53 -19
- package/src/apis/LocationApi.ts +53 -19
- package/src/apis/LoyaltyApi.ts +36 -13
- package/src/apis/MailApi.ts +155 -63
- package/src/apis/MarketApi.ts +189 -67
- package/src/apis/MetaApi.ts +156 -13
- package/src/apis/PlanetaryInteractionApi.ts +70 -25
- package/src/apis/RoutesApi.ts +67 -66
- package/src/apis/SearchApi.ts +19 -7
- package/src/apis/SkillsApi.ts +53 -19
- package/src/apis/SovereigntyApi.ts +53 -19
- package/src/apis/StatusApi.ts +19 -7
- package/src/apis/UniverseApi.ts +512 -181
- package/src/apis/UserInterfaceApi.ts +87 -31
- package/src/apis/WalletApi.ts +104 -41
- package/src/apis/WarsApi.ts +53 -19
- package/src/apis/index.ts +2 -0
- package/src/constants.ts +10 -0
- package/src/index.ts +1 -0
- package/src/models/index.ts +2374 -308
- package/src/runtime.ts +14 -225
- package/esisl_genoa_client-0.1.0.tgz +0 -0
- package/esisl_genoa_client-0.1.1.tgz +0 -0
package/src/apis/WarsApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* EVE Stable Infrastructure (ESI) - tranquility
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 2025-12-16
|
|
8
8
|
* Contact: arcyfa_github@pm.me
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
|
+
import { ESI_COMPATIBILITY_DATE } from '../constants';
|
|
17
18
|
|
|
18
19
|
import type {
|
|
19
20
|
CharactersCharacterIdKillmailsRecentGetInner,
|
|
@@ -26,6 +27,7 @@ export interface GetWarsRequest {
|
|
|
26
27
|
acceptLanguage?: GetWarsAcceptLanguageEnum;
|
|
27
28
|
ifNoneMatch?: string;
|
|
28
29
|
xTenant?: string;
|
|
30
|
+
ifModifiedSince?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
export interface GetWarsWarIdRequest {
|
|
@@ -34,6 +36,7 @@ export interface GetWarsWarIdRequest {
|
|
|
34
36
|
acceptLanguage?: GetWarsWarIdAcceptLanguageEnum;
|
|
35
37
|
ifNoneMatch?: string;
|
|
36
38
|
xTenant?: string;
|
|
39
|
+
ifModifiedSince?: string;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
export interface GetWarsWarIdKillmailsRequest {
|
|
@@ -43,6 +46,7 @@ export interface GetWarsWarIdKillmailsRequest {
|
|
|
43
46
|
acceptLanguage?: GetWarsWarIdKillmailsAcceptLanguageEnum;
|
|
44
47
|
ifNoneMatch?: string;
|
|
45
48
|
xTenant?: string;
|
|
49
|
+
ifModifiedSince?: string;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
/**
|
|
@@ -55,11 +59,12 @@ export interface WarsApiInterface {
|
|
|
55
59
|
/**
|
|
56
60
|
* Return a list of wars
|
|
57
61
|
* @summary List wars
|
|
58
|
-
* @param {'
|
|
62
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
59
63
|
* @param {number} [maxWarId]
|
|
60
64
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
61
65
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
62
66
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
67
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
63
68
|
* @param {*} [options] Override http request option.
|
|
64
69
|
* @throws {RequiredError}
|
|
65
70
|
* @memberof WarsApiInterface
|
|
@@ -70,16 +75,17 @@ export interface WarsApiInterface {
|
|
|
70
75
|
* Return a list of wars
|
|
71
76
|
* List wars
|
|
72
77
|
*/
|
|
73
|
-
getWars(requestParameters: GetWarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
78
|
+
getWars(requestParameters: GetWarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
74
79
|
|
|
75
80
|
/**
|
|
76
81
|
* Return details about a war
|
|
77
82
|
* @summary Get war information
|
|
78
83
|
* @param {number} warId
|
|
79
|
-
* @param {'
|
|
84
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
80
85
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
81
86
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
82
87
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
88
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
83
89
|
* @param {*} [options] Override http request option.
|
|
84
90
|
* @throws {RequiredError}
|
|
85
91
|
* @memberof WarsApiInterface
|
|
@@ -90,17 +96,18 @@ export interface WarsApiInterface {
|
|
|
90
96
|
* Return details about a war
|
|
91
97
|
* Get war information
|
|
92
98
|
*/
|
|
93
|
-
getWarsWarId(requestParameters: GetWarsWarIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
99
|
+
getWarsWarId(requestParameters: GetWarsWarIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
94
100
|
|
|
95
101
|
/**
|
|
96
102
|
* Return a list of kills related to a war
|
|
97
103
|
* @summary List kills for a war
|
|
98
104
|
* @param {number} warId
|
|
99
|
-
* @param {'
|
|
105
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
100
106
|
* @param {number} [page]
|
|
101
107
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
102
108
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
103
109
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
110
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
104
111
|
* @param {*} [options] Override http request option.
|
|
105
112
|
* @throws {RequiredError}
|
|
106
113
|
* @memberof WarsApiInterface
|
|
@@ -111,7 +118,7 @@ export interface WarsApiInterface {
|
|
|
111
118
|
* Return a list of kills related to a war
|
|
112
119
|
* List kills for a war
|
|
113
120
|
*/
|
|
114
|
-
getWarsWarIdKillmails(requestParameters: GetWarsWarIdKillmailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
121
|
+
getWarsWarIdKillmails(requestParameters: GetWarsWarIdKillmailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
115
122
|
|
|
116
123
|
}
|
|
117
124
|
|
|
@@ -156,11 +163,20 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
156
163
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
157
164
|
}
|
|
158
165
|
|
|
166
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
167
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
168
|
+
}
|
|
169
|
+
|
|
159
170
|
/*
|
|
160
171
|
*/
|
|
161
172
|
|
|
162
173
|
let urlPath = `/wars`;
|
|
163
174
|
|
|
175
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
176
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
177
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
178
|
+
}
|
|
179
|
+
|
|
164
180
|
const facade = this.configuration?.apiFacade;
|
|
165
181
|
if (!facade) {
|
|
166
182
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -173,16 +189,16 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
173
189
|
query: queryParameters,
|
|
174
190
|
}, initOverrides);
|
|
175
191
|
|
|
176
|
-
return
|
|
192
|
+
return response;
|
|
177
193
|
}
|
|
178
194
|
|
|
179
195
|
/**
|
|
180
196
|
* Return a list of wars
|
|
181
197
|
* List wars
|
|
182
198
|
*/
|
|
183
|
-
async getWars(requestParameters: GetWarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
199
|
+
async getWars(requestParameters: GetWarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
184
200
|
const response = await this.getWarsRaw(requestParameters, initOverrides);
|
|
185
|
-
return
|
|
201
|
+
return response;
|
|
186
202
|
}
|
|
187
203
|
|
|
188
204
|
/**
|
|
@@ -224,12 +240,21 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
224
240
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
225
241
|
}
|
|
226
242
|
|
|
243
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
244
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
245
|
+
}
|
|
246
|
+
|
|
227
247
|
/*
|
|
228
248
|
*/
|
|
229
249
|
|
|
230
250
|
let urlPath = `/wars/{war_id}`;
|
|
231
251
|
urlPath = urlPath.replace(`{${"war_id"}}`, encodeURIComponent(String(requestParameters['warId'])));
|
|
232
252
|
|
|
253
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
254
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
255
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
256
|
+
}
|
|
257
|
+
|
|
233
258
|
const facade = this.configuration?.apiFacade;
|
|
234
259
|
if (!facade) {
|
|
235
260
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -242,16 +267,16 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
242
267
|
query: queryParameters,
|
|
243
268
|
}, initOverrides);
|
|
244
269
|
|
|
245
|
-
return
|
|
270
|
+
return response;
|
|
246
271
|
}
|
|
247
272
|
|
|
248
273
|
/**
|
|
249
274
|
* Return details about a war
|
|
250
275
|
* Get war information
|
|
251
276
|
*/
|
|
252
|
-
async getWarsWarId(requestParameters: GetWarsWarIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
277
|
+
async getWarsWarId(requestParameters: GetWarsWarIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
253
278
|
const response = await this.getWarsWarIdRaw(requestParameters, initOverrides);
|
|
254
|
-
return
|
|
279
|
+
return response;
|
|
255
280
|
}
|
|
256
281
|
|
|
257
282
|
/**
|
|
@@ -297,12 +322,21 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
297
322
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
298
323
|
}
|
|
299
324
|
|
|
325
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
326
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
327
|
+
}
|
|
328
|
+
|
|
300
329
|
/*
|
|
301
330
|
*/
|
|
302
331
|
|
|
303
332
|
let urlPath = `/wars/{war_id}/killmails`;
|
|
304
333
|
urlPath = urlPath.replace(`{${"war_id"}}`, encodeURIComponent(String(requestParameters['warId'])));
|
|
305
334
|
|
|
335
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
336
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
337
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
338
|
+
}
|
|
339
|
+
|
|
306
340
|
const facade = this.configuration?.apiFacade;
|
|
307
341
|
if (!facade) {
|
|
308
342
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -315,16 +349,16 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
315
349
|
query: queryParameters,
|
|
316
350
|
}, initOverrides);
|
|
317
351
|
|
|
318
|
-
return
|
|
352
|
+
return response;
|
|
319
353
|
}
|
|
320
354
|
|
|
321
355
|
/**
|
|
322
356
|
* Return a list of kills related to a war
|
|
323
357
|
* List kills for a war
|
|
324
358
|
*/
|
|
325
|
-
async getWarsWarIdKillmails(requestParameters: GetWarsWarIdKillmailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
359
|
+
async getWarsWarIdKillmails(requestParameters: GetWarsWarIdKillmailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
326
360
|
const response = await this.getWarsWarIdKillmailsRaw(requestParameters, initOverrides);
|
|
327
|
-
return
|
|
361
|
+
return response;
|
|
328
362
|
}
|
|
329
363
|
|
|
330
364
|
}
|
|
@@ -334,7 +368,7 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
334
368
|
* @enum {string}
|
|
335
369
|
*/
|
|
336
370
|
export enum GetWarsXCompatibilityDateEnum {
|
|
337
|
-
|
|
371
|
+
_20251216 = '2025-12-16'
|
|
338
372
|
}
|
|
339
373
|
/**
|
|
340
374
|
* @export
|
|
@@ -355,7 +389,7 @@ export enum GetWarsAcceptLanguageEnum {
|
|
|
355
389
|
* @enum {string}
|
|
356
390
|
*/
|
|
357
391
|
export enum GetWarsWarIdXCompatibilityDateEnum {
|
|
358
|
-
|
|
392
|
+
_20251216 = '2025-12-16'
|
|
359
393
|
}
|
|
360
394
|
/**
|
|
361
395
|
* @export
|
|
@@ -376,7 +410,7 @@ export enum GetWarsWarIdAcceptLanguageEnum {
|
|
|
376
410
|
* @enum {string}
|
|
377
411
|
*/
|
|
378
412
|
export enum GetWarsWarIdKillmailsXCompatibilityDateEnum {
|
|
379
|
-
|
|
413
|
+
_20251216 = '2025-12-16'
|
|
380
414
|
}
|
|
381
415
|
/**
|
|
382
416
|
* @export
|
package/src/apis/index.ts
CHANGED
|
@@ -8,10 +8,12 @@ export * from './ClonesApi';
|
|
|
8
8
|
export * from './ContactsApi';
|
|
9
9
|
export * from './ContractsApi';
|
|
10
10
|
export * from './CorporationApi';
|
|
11
|
+
export * from './CorporationProjectsApi';
|
|
11
12
|
export * from './DogmaApi';
|
|
12
13
|
export * from './FactionWarfareApi';
|
|
13
14
|
export * from './FittingsApi';
|
|
14
15
|
export * from './FleetsApi';
|
|
16
|
+
export * from './FreelanceJobsApi';
|
|
15
17
|
export * from './IncursionsApi';
|
|
16
18
|
export * from './IndustryApi';
|
|
17
19
|
export * from './InsuranceApi';
|
package/src/constants.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ESI API Constants
|
|
5
|
+
* Update ESI_COMPATIBILITY_DATE when CCP releases new schema versions.
|
|
6
|
+
* Check: https://esi.evetech.net/meta/openapi.yaml?compatibility_date=YYYY-MM-DD
|
|
7
|
+
*/
|
|
8
|
+
export const ESI_COMPATIBILITY_DATE = '2025-12-16'
|
|
9
|
+
export const ESI_DATASOURCE = 'tranquility'
|
|
10
|
+
export const ESI_LANGUAGE = 'en'
|
package/src/index.ts
CHANGED