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/InsuranceApi.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
|
InsurancePricesGetInner,
|
|
@@ -24,6 +25,7 @@ export interface GetInsurancePricesRequest {
|
|
|
24
25
|
acceptLanguage?: GetInsurancePricesAcceptLanguageEnum;
|
|
25
26
|
ifNoneMatch?: string;
|
|
26
27
|
xTenant?: string;
|
|
28
|
+
ifModifiedSince?: string;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -36,10 +38,11 @@ export interface InsuranceApiInterface {
|
|
|
36
38
|
/**
|
|
37
39
|
* Return available insurance levels for all ship types
|
|
38
40
|
* @summary List insurance levels
|
|
39
|
-
* @param {'
|
|
41
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
40
42
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
41
43
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
42
44
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
45
|
+
* @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.
|
|
43
46
|
* @param {*} [options] Override http request option.
|
|
44
47
|
* @throws {RequiredError}
|
|
45
48
|
* @memberof InsuranceApiInterface
|
|
@@ -50,7 +53,7 @@ export interface InsuranceApiInterface {
|
|
|
50
53
|
* Return available insurance levels for all ship types
|
|
51
54
|
* List insurance levels
|
|
52
55
|
*/
|
|
53
|
-
getInsurancePrices(requestParameters: GetInsurancePricesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
56
|
+
getInsurancePrices(requestParameters: GetInsurancePricesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
54
57
|
|
|
55
58
|
}
|
|
56
59
|
|
|
@@ -91,11 +94,20 @@ export class InsuranceApi extends runtime.BaseAPI implements InsuranceApiInterfa
|
|
|
91
94
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
92
95
|
}
|
|
93
96
|
|
|
97
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
98
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
99
|
+
}
|
|
100
|
+
|
|
94
101
|
/*
|
|
95
102
|
*/
|
|
96
103
|
|
|
97
104
|
let urlPath = `/insurance/prices`;
|
|
98
105
|
|
|
106
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
107
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
108
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
109
|
+
}
|
|
110
|
+
|
|
99
111
|
const facade = this.configuration?.apiFacade;
|
|
100
112
|
if (!facade) {
|
|
101
113
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -108,16 +120,16 @@ export class InsuranceApi extends runtime.BaseAPI implements InsuranceApiInterfa
|
|
|
108
120
|
query: queryParameters,
|
|
109
121
|
}, initOverrides);
|
|
110
122
|
|
|
111
|
-
return
|
|
123
|
+
return response;
|
|
112
124
|
}
|
|
113
125
|
|
|
114
126
|
/**
|
|
115
127
|
* Return available insurance levels for all ship types
|
|
116
128
|
* List insurance levels
|
|
117
129
|
*/
|
|
118
|
-
async getInsurancePrices(requestParameters: GetInsurancePricesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
130
|
+
async getInsurancePrices(requestParameters: GetInsurancePricesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
119
131
|
const response = await this.getInsurancePricesRaw(requestParameters, initOverrides);
|
|
120
|
-
return
|
|
132
|
+
return response;
|
|
121
133
|
}
|
|
122
134
|
|
|
123
135
|
}
|
|
@@ -127,7 +139,7 @@ export class InsuranceApi extends runtime.BaseAPI implements InsuranceApiInterfa
|
|
|
127
139
|
* @enum {string}
|
|
128
140
|
*/
|
|
129
141
|
export enum GetInsurancePricesXCompatibilityDateEnum {
|
|
130
|
-
|
|
142
|
+
_20251216 = '2025-12-16'
|
|
131
143
|
}
|
|
132
144
|
/**
|
|
133
145
|
* @export
|
package/src/apis/KillmailsApi.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,
|
|
@@ -27,6 +28,7 @@ export interface GetCharactersCharacterIdKillmailsRecentRequest {
|
|
|
27
28
|
acceptLanguage?: GetCharactersCharacterIdKillmailsRecentAcceptLanguageEnum;
|
|
28
29
|
ifNoneMatch?: string;
|
|
29
30
|
xTenant?: string;
|
|
31
|
+
ifModifiedSince?: string;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface GetCorporationsCorporationIdKillmailsRecentRequest {
|
|
@@ -36,6 +38,7 @@ export interface GetCorporationsCorporationIdKillmailsRecentRequest {
|
|
|
36
38
|
acceptLanguage?: GetCorporationsCorporationIdKillmailsRecentAcceptLanguageEnum;
|
|
37
39
|
ifNoneMatch?: string;
|
|
38
40
|
xTenant?: string;
|
|
41
|
+
ifModifiedSince?: string;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
export interface GetKillmailsKillmailIdKillmailHashRequest {
|
|
@@ -45,6 +48,7 @@ export interface GetKillmailsKillmailIdKillmailHashRequest {
|
|
|
45
48
|
acceptLanguage?: GetKillmailsKillmailIdKillmailHashAcceptLanguageEnum;
|
|
46
49
|
ifNoneMatch?: string;
|
|
47
50
|
xTenant?: string;
|
|
51
|
+
ifModifiedSince?: string;
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
/**
|
|
@@ -58,11 +62,12 @@ export interface KillmailsApiInterface {
|
|
|
58
62
|
* Return a list of a character\'s kills and losses going back 90 days
|
|
59
63
|
* @summary Get a character\'s recent kills and losses
|
|
60
64
|
* @param {number} characterId The ID of the character
|
|
61
|
-
* @param {'
|
|
65
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
62
66
|
* @param {number} [page]
|
|
63
67
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
64
68
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
65
69
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
70
|
+
* @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.
|
|
66
71
|
* @param {*} [options] Override http request option.
|
|
67
72
|
* @throws {RequiredError}
|
|
68
73
|
* @memberof KillmailsApiInterface
|
|
@@ -73,17 +78,18 @@ export interface KillmailsApiInterface {
|
|
|
73
78
|
* Return a list of a character\'s kills and losses going back 90 days
|
|
74
79
|
* Get a character\'s recent kills and losses
|
|
75
80
|
*/
|
|
76
|
-
getCharactersCharacterIdKillmailsRecent(requestParameters: GetCharactersCharacterIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
81
|
+
getCharactersCharacterIdKillmailsRecent(requestParameters: GetCharactersCharacterIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
77
82
|
|
|
78
83
|
/**
|
|
79
84
|
* Get a list of a corporation\'s kills and losses going back 90 days
|
|
80
85
|
* @summary Get a corporation\'s recent kills and losses
|
|
81
86
|
* @param {number} corporationId The ID of the corporation
|
|
82
|
-
* @param {'
|
|
87
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
83
88
|
* @param {number} [page]
|
|
84
89
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
85
90
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
86
91
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
92
|
+
* @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.
|
|
87
93
|
* @param {*} [options] Override http request option.
|
|
88
94
|
* @throws {RequiredError}
|
|
89
95
|
* @memberof KillmailsApiInterface
|
|
@@ -94,17 +100,18 @@ export interface KillmailsApiInterface {
|
|
|
94
100
|
* Get a list of a corporation\'s kills and losses going back 90 days
|
|
95
101
|
* Get a corporation\'s recent kills and losses
|
|
96
102
|
*/
|
|
97
|
-
getCorporationsCorporationIdKillmailsRecent(requestParameters: GetCorporationsCorporationIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
103
|
+
getCorporationsCorporationIdKillmailsRecent(requestParameters: GetCorporationsCorporationIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
98
104
|
|
|
99
105
|
/**
|
|
100
106
|
* Return a single killmail from its ID and hash
|
|
101
107
|
* @summary Get a single killmail
|
|
102
108
|
* @param {string} killmailHash
|
|
103
109
|
* @param {number} killmailId
|
|
104
|
-
* @param {'
|
|
110
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
105
111
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
106
112
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
107
113
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
114
|
+
* @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.
|
|
108
115
|
* @param {*} [options] Override http request option.
|
|
109
116
|
* @throws {RequiredError}
|
|
110
117
|
* @memberof KillmailsApiInterface
|
|
@@ -115,7 +122,7 @@ export interface KillmailsApiInterface {
|
|
|
115
122
|
* Return a single killmail from its ID and hash
|
|
116
123
|
* Get a single killmail
|
|
117
124
|
*/
|
|
118
|
-
getKillmailsKillmailIdKillmailHash(requestParameters: GetKillmailsKillmailIdKillmailHashRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
125
|
+
getKillmailsKillmailIdKillmailHash(requestParameters: GetKillmailsKillmailIdKillmailHashRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
119
126
|
|
|
120
127
|
}
|
|
121
128
|
|
|
@@ -167,6 +174,10 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
167
174
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
168
175
|
}
|
|
169
176
|
|
|
177
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
178
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
179
|
+
}
|
|
180
|
+
|
|
170
181
|
/*
|
|
171
182
|
if (this.configuration && this.configuration.accessToken) {
|
|
172
183
|
// oauth required
|
|
@@ -178,6 +189,11 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
178
189
|
let urlPath = `/characters/{character_id}/killmails/recent`;
|
|
179
190
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
180
191
|
|
|
192
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
193
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
194
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
195
|
+
}
|
|
196
|
+
|
|
181
197
|
const facade = this.configuration?.apiFacade;
|
|
182
198
|
if (!facade) {
|
|
183
199
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -190,16 +206,16 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
190
206
|
query: queryParameters,
|
|
191
207
|
}, initOverrides);
|
|
192
208
|
|
|
193
|
-
return
|
|
209
|
+
return response;
|
|
194
210
|
}
|
|
195
211
|
|
|
196
212
|
/**
|
|
197
213
|
* Return a list of a character\'s kills and losses going back 90 days
|
|
198
214
|
* Get a character\'s recent kills and losses
|
|
199
215
|
*/
|
|
200
|
-
async getCharactersCharacterIdKillmailsRecent(requestParameters: GetCharactersCharacterIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
216
|
+
async getCharactersCharacterIdKillmailsRecent(requestParameters: GetCharactersCharacterIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
201
217
|
const response = await this.getCharactersCharacterIdKillmailsRecentRaw(requestParameters, initOverrides);
|
|
202
|
-
return
|
|
218
|
+
return response;
|
|
203
219
|
}
|
|
204
220
|
|
|
205
221
|
/**
|
|
@@ -245,6 +261,10 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
245
261
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
246
262
|
}
|
|
247
263
|
|
|
264
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
265
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
266
|
+
}
|
|
267
|
+
|
|
248
268
|
/*
|
|
249
269
|
if (this.configuration && this.configuration.accessToken) {
|
|
250
270
|
// oauth required
|
|
@@ -256,6 +276,11 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
256
276
|
let urlPath = `/corporations/{corporation_id}/killmails/recent`;
|
|
257
277
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
258
278
|
|
|
279
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
280
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
281
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
282
|
+
}
|
|
283
|
+
|
|
259
284
|
const facade = this.configuration?.apiFacade;
|
|
260
285
|
if (!facade) {
|
|
261
286
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -268,16 +293,16 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
268
293
|
query: queryParameters,
|
|
269
294
|
}, initOverrides);
|
|
270
295
|
|
|
271
|
-
return
|
|
296
|
+
return response;
|
|
272
297
|
}
|
|
273
298
|
|
|
274
299
|
/**
|
|
275
300
|
* Get a list of a corporation\'s kills and losses going back 90 days
|
|
276
301
|
* Get a corporation\'s recent kills and losses
|
|
277
302
|
*/
|
|
278
|
-
async getCorporationsCorporationIdKillmailsRecent(requestParameters: GetCorporationsCorporationIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
303
|
+
async getCorporationsCorporationIdKillmailsRecent(requestParameters: GetCorporationsCorporationIdKillmailsRecentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
279
304
|
const response = await this.getCorporationsCorporationIdKillmailsRecentRaw(requestParameters, initOverrides);
|
|
280
|
-
return
|
|
305
|
+
return response;
|
|
281
306
|
}
|
|
282
307
|
|
|
283
308
|
/**
|
|
@@ -326,6 +351,10 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
326
351
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
327
352
|
}
|
|
328
353
|
|
|
354
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
355
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
356
|
+
}
|
|
357
|
+
|
|
329
358
|
/*
|
|
330
359
|
*/
|
|
331
360
|
|
|
@@ -333,6 +362,11 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
333
362
|
urlPath = urlPath.replace(`{${"killmail_hash"}}`, encodeURIComponent(String(requestParameters['killmailHash'])));
|
|
334
363
|
urlPath = urlPath.replace(`{${"killmail_id"}}`, encodeURIComponent(String(requestParameters['killmailId'])));
|
|
335
364
|
|
|
365
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
366
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
367
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
368
|
+
}
|
|
369
|
+
|
|
336
370
|
const facade = this.configuration?.apiFacade;
|
|
337
371
|
if (!facade) {
|
|
338
372
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -345,16 +379,16 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
345
379
|
query: queryParameters,
|
|
346
380
|
}, initOverrides);
|
|
347
381
|
|
|
348
|
-
return
|
|
382
|
+
return response;
|
|
349
383
|
}
|
|
350
384
|
|
|
351
385
|
/**
|
|
352
386
|
* Return a single killmail from its ID and hash
|
|
353
387
|
* Get a single killmail
|
|
354
388
|
*/
|
|
355
|
-
async getKillmailsKillmailIdKillmailHash(requestParameters: GetKillmailsKillmailIdKillmailHashRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
389
|
+
async getKillmailsKillmailIdKillmailHash(requestParameters: GetKillmailsKillmailIdKillmailHashRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
356
390
|
const response = await this.getKillmailsKillmailIdKillmailHashRaw(requestParameters, initOverrides);
|
|
357
|
-
return
|
|
391
|
+
return response;
|
|
358
392
|
}
|
|
359
393
|
|
|
360
394
|
}
|
|
@@ -364,7 +398,7 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
|
|
|
364
398
|
* @enum {string}
|
|
365
399
|
*/
|
|
366
400
|
export enum GetCharactersCharacterIdKillmailsRecentXCompatibilityDateEnum {
|
|
367
|
-
|
|
401
|
+
_20251216 = '2025-12-16'
|
|
368
402
|
}
|
|
369
403
|
/**
|
|
370
404
|
* @export
|
|
@@ -385,7 +419,7 @@ export enum GetCharactersCharacterIdKillmailsRecentAcceptLanguageEnum {
|
|
|
385
419
|
* @enum {string}
|
|
386
420
|
*/
|
|
387
421
|
export enum GetCorporationsCorporationIdKillmailsRecentXCompatibilityDateEnum {
|
|
388
|
-
|
|
422
|
+
_20251216 = '2025-12-16'
|
|
389
423
|
}
|
|
390
424
|
/**
|
|
391
425
|
* @export
|
|
@@ -406,7 +440,7 @@ export enum GetCorporationsCorporationIdKillmailsRecentAcceptLanguageEnum {
|
|
|
406
440
|
* @enum {string}
|
|
407
441
|
*/
|
|
408
442
|
export enum GetKillmailsKillmailIdKillmailHashXCompatibilityDateEnum {
|
|
409
|
-
|
|
443
|
+
_20251216 = '2025-12-16'
|
|
410
444
|
}
|
|
411
445
|
/**
|
|
412
446
|
* @export
|
package/src/apis/LocationApi.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
|
CharactersCharacterIdLocationGet,
|
|
@@ -27,6 +28,7 @@ export interface GetCharactersCharacterIdLocationRequest {
|
|
|
27
28
|
acceptLanguage?: GetCharactersCharacterIdLocationAcceptLanguageEnum;
|
|
28
29
|
ifNoneMatch?: string;
|
|
29
30
|
xTenant?: string;
|
|
31
|
+
ifModifiedSince?: string;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface GetCharactersCharacterIdOnlineRequest {
|
|
@@ -35,6 +37,7 @@ export interface GetCharactersCharacterIdOnlineRequest {
|
|
|
35
37
|
acceptLanguage?: GetCharactersCharacterIdOnlineAcceptLanguageEnum;
|
|
36
38
|
ifNoneMatch?: string;
|
|
37
39
|
xTenant?: string;
|
|
40
|
+
ifModifiedSince?: string;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
export interface GetCharactersCharacterIdShipRequest {
|
|
@@ -43,6 +46,7 @@ export interface GetCharactersCharacterIdShipRequest {
|
|
|
43
46
|
acceptLanguage?: GetCharactersCharacterIdShipAcceptLanguageEnum;
|
|
44
47
|
ifNoneMatch?: string;
|
|
45
48
|
xTenant?: string;
|
|
49
|
+
ifModifiedSince?: string;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
/**
|
|
@@ -56,10 +60,11 @@ export interface LocationApiInterface {
|
|
|
56
60
|
* Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable
|
|
57
61
|
* @summary Get character location
|
|
58
62
|
* @param {number} characterId The ID of the character
|
|
59
|
-
* @param {'
|
|
63
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
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 LocationApiInterface
|
|
@@ -70,16 +75,17 @@ export interface LocationApiInterface {
|
|
|
70
75
|
* Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable
|
|
71
76
|
* Get character location
|
|
72
77
|
*/
|
|
73
|
-
getCharactersCharacterIdLocation(requestParameters: GetCharactersCharacterIdLocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
78
|
+
getCharactersCharacterIdLocation(requestParameters: GetCharactersCharacterIdLocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
74
79
|
|
|
75
80
|
/**
|
|
76
81
|
* Checks if the character is currently online
|
|
77
82
|
* @summary Get character online
|
|
78
83
|
* @param {number} characterId The ID of the character
|
|
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 LocationApiInterface
|
|
@@ -90,16 +96,17 @@ export interface LocationApiInterface {
|
|
|
90
96
|
* Checks if the character is currently online
|
|
91
97
|
* Get character online
|
|
92
98
|
*/
|
|
93
|
-
getCharactersCharacterIdOnline(requestParameters: GetCharactersCharacterIdOnlineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
99
|
+
getCharactersCharacterIdOnline(requestParameters: GetCharactersCharacterIdOnlineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
94
100
|
|
|
95
101
|
/**
|
|
96
102
|
* Get the current ship type, name and id
|
|
97
103
|
* @summary Get current ship
|
|
98
104
|
* @param {number} characterId The ID of the character
|
|
99
|
-
* @param {'
|
|
105
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
100
106
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
101
107
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
102
108
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
109
|
+
* @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.
|
|
103
110
|
* @param {*} [options] Override http request option.
|
|
104
111
|
* @throws {RequiredError}
|
|
105
112
|
* @memberof LocationApiInterface
|
|
@@ -110,7 +117,7 @@ export interface LocationApiInterface {
|
|
|
110
117
|
* Get the current ship type, name and id
|
|
111
118
|
* Get current ship
|
|
112
119
|
*/
|
|
113
|
-
getCharactersCharacterIdShip(requestParameters: GetCharactersCharacterIdShipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
120
|
+
getCharactersCharacterIdShip(requestParameters: GetCharactersCharacterIdShipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
114
121
|
|
|
115
122
|
}
|
|
116
123
|
|
|
@@ -158,6 +165,10 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
158
165
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
159
166
|
}
|
|
160
167
|
|
|
168
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
169
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
170
|
+
}
|
|
171
|
+
|
|
161
172
|
/*
|
|
162
173
|
if (this.configuration && this.configuration.accessToken) {
|
|
163
174
|
// oauth required
|
|
@@ -169,6 +180,11 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
169
180
|
let urlPath = `/characters/{character_id}/location`;
|
|
170
181
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
171
182
|
|
|
183
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
184
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
185
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
186
|
+
}
|
|
187
|
+
|
|
172
188
|
const facade = this.configuration?.apiFacade;
|
|
173
189
|
if (!facade) {
|
|
174
190
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -181,16 +197,16 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
181
197
|
query: queryParameters,
|
|
182
198
|
}, initOverrides);
|
|
183
199
|
|
|
184
|
-
return
|
|
200
|
+
return response;
|
|
185
201
|
}
|
|
186
202
|
|
|
187
203
|
/**
|
|
188
204
|
* Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable
|
|
189
205
|
* Get character location
|
|
190
206
|
*/
|
|
191
|
-
async getCharactersCharacterIdLocation(requestParameters: GetCharactersCharacterIdLocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
207
|
+
async getCharactersCharacterIdLocation(requestParameters: GetCharactersCharacterIdLocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
192
208
|
const response = await this.getCharactersCharacterIdLocationRaw(requestParameters, initOverrides);
|
|
193
|
-
return
|
|
209
|
+
return response;
|
|
194
210
|
}
|
|
195
211
|
|
|
196
212
|
/**
|
|
@@ -232,6 +248,10 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
232
248
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
233
249
|
}
|
|
234
250
|
|
|
251
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
252
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
253
|
+
}
|
|
254
|
+
|
|
235
255
|
/*
|
|
236
256
|
if (this.configuration && this.configuration.accessToken) {
|
|
237
257
|
// oauth required
|
|
@@ -243,6 +263,11 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
243
263
|
let urlPath = `/characters/{character_id}/online`;
|
|
244
264
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
245
265
|
|
|
266
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
267
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
268
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
269
|
+
}
|
|
270
|
+
|
|
246
271
|
const facade = this.configuration?.apiFacade;
|
|
247
272
|
if (!facade) {
|
|
248
273
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -255,16 +280,16 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
255
280
|
query: queryParameters,
|
|
256
281
|
}, initOverrides);
|
|
257
282
|
|
|
258
|
-
return
|
|
283
|
+
return response;
|
|
259
284
|
}
|
|
260
285
|
|
|
261
286
|
/**
|
|
262
287
|
* Checks if the character is currently online
|
|
263
288
|
* Get character online
|
|
264
289
|
*/
|
|
265
|
-
async getCharactersCharacterIdOnline(requestParameters: GetCharactersCharacterIdOnlineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
290
|
+
async getCharactersCharacterIdOnline(requestParameters: GetCharactersCharacterIdOnlineRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
266
291
|
const response = await this.getCharactersCharacterIdOnlineRaw(requestParameters, initOverrides);
|
|
267
|
-
return
|
|
292
|
+
return response;
|
|
268
293
|
}
|
|
269
294
|
|
|
270
295
|
/**
|
|
@@ -306,6 +331,10 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
306
331
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
307
332
|
}
|
|
308
333
|
|
|
334
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
335
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
336
|
+
}
|
|
337
|
+
|
|
309
338
|
/*
|
|
310
339
|
if (this.configuration && this.configuration.accessToken) {
|
|
311
340
|
// oauth required
|
|
@@ -317,6 +346,11 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
317
346
|
let urlPath = `/characters/{character_id}/ship`;
|
|
318
347
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
319
348
|
|
|
349
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
350
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
351
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
352
|
+
}
|
|
353
|
+
|
|
320
354
|
const facade = this.configuration?.apiFacade;
|
|
321
355
|
if (!facade) {
|
|
322
356
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -329,16 +363,16 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
329
363
|
query: queryParameters,
|
|
330
364
|
}, initOverrides);
|
|
331
365
|
|
|
332
|
-
return
|
|
366
|
+
return response;
|
|
333
367
|
}
|
|
334
368
|
|
|
335
369
|
/**
|
|
336
370
|
* Get the current ship type, name and id
|
|
337
371
|
* Get current ship
|
|
338
372
|
*/
|
|
339
|
-
async getCharactersCharacterIdShip(requestParameters: GetCharactersCharacterIdShipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
373
|
+
async getCharactersCharacterIdShip(requestParameters: GetCharactersCharacterIdShipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
340
374
|
const response = await this.getCharactersCharacterIdShipRaw(requestParameters, initOverrides);
|
|
341
|
-
return
|
|
375
|
+
return response;
|
|
342
376
|
}
|
|
343
377
|
|
|
344
378
|
}
|
|
@@ -348,7 +382,7 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
|
|
|
348
382
|
* @enum {string}
|
|
349
383
|
*/
|
|
350
384
|
export enum GetCharactersCharacterIdLocationXCompatibilityDateEnum {
|
|
351
|
-
|
|
385
|
+
_20251216 = '2025-12-16'
|
|
352
386
|
}
|
|
353
387
|
/**
|
|
354
388
|
* @export
|
|
@@ -369,7 +403,7 @@ export enum GetCharactersCharacterIdLocationAcceptLanguageEnum {
|
|
|
369
403
|
* @enum {string}
|
|
370
404
|
*/
|
|
371
405
|
export enum GetCharactersCharacterIdOnlineXCompatibilityDateEnum {
|
|
372
|
-
|
|
406
|
+
_20251216 = '2025-12-16'
|
|
373
407
|
}
|
|
374
408
|
/**
|
|
375
409
|
* @export
|
|
@@ -390,7 +424,7 @@ export enum GetCharactersCharacterIdOnlineAcceptLanguageEnum {
|
|
|
390
424
|
* @enum {string}
|
|
391
425
|
*/
|
|
392
426
|
export enum GetCharactersCharacterIdShipXCompatibilityDateEnum {
|
|
393
|
-
|
|
427
|
+
_20251216 = '2025-12-16'
|
|
394
428
|
}
|
|
395
429
|
/**
|
|
396
430
|
* @export
|