esisl_genoa_client 0.1.5 → 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/README.md +4 -2
- package/dist/apis/AllianceApi.d.ts +8 -0
- package/dist/apis/AllianceApi.js +29 -0
- package/dist/apis/AssetsApi.d.ts +12 -0
- package/dist/apis/AssetsApi.js +43 -0
- package/dist/apis/CalendarApi.d.ts +8 -0
- package/dist/apis/CalendarApi.js +29 -0
- package/dist/apis/CharacterApi.d.ts +28 -0
- package/dist/apis/CharacterApi.js +99 -0
- package/dist/apis/ClonesApi.d.ts +4 -0
- package/dist/apis/ClonesApi.js +15 -0
- package/dist/apis/ContactsApi.d.ts +18 -0
- package/dist/apis/ContactsApi.js +64 -0
- package/dist/apis/ContractsApi.d.ts +18 -0
- package/dist/apis/ContractsApi.js +64 -0
- package/dist/apis/CorporationApi.d.ts +44 -0
- package/dist/apis/CorporationApi.js +155 -0
- package/dist/apis/CorporationProjectsApi.d.ts +8 -4
- package/dist/apis/CorporationProjectsApi.js +29 -6
- package/dist/apis/DogmaApi.d.ts +10 -0
- package/dist/apis/DogmaApi.js +36 -0
- package/dist/apis/FactionWarfareApi.d.ts +16 -0
- package/dist/apis/FactionWarfareApi.js +57 -0
- package/dist/apis/FittingsApi.d.ts +6 -0
- package/dist/apis/FittingsApi.js +22 -0
- package/dist/apis/FleetsApi.d.ts +28 -0
- package/dist/apis/FleetsApi.js +99 -0
- package/dist/apis/FreelanceJobsApi.d.ts +12 -2
- package/dist/apis/FreelanceJobsApi.js +43 -3
- package/dist/apis/IncursionsApi.d.ts +2 -0
- package/dist/apis/IncursionsApi.js +8 -0
- package/dist/apis/IndustryApi.d.ts +16 -0
- package/dist/apis/IndustryApi.js +57 -0
- package/dist/apis/InsuranceApi.d.ts +2 -0
- package/dist/apis/InsuranceApi.js +8 -0
- package/dist/apis/KillmailsApi.d.ts +6 -0
- package/dist/apis/KillmailsApi.js +22 -0
- package/dist/apis/LocationApi.d.ts +6 -0
- package/dist/apis/LocationApi.js +22 -0
- package/dist/apis/LoyaltyApi.d.ts +4 -0
- package/dist/apis/LoyaltyApi.js +15 -0
- package/dist/apis/MailApi.d.ts +18 -0
- package/dist/apis/MailApi.js +64 -0
- package/dist/apis/MarketApi.d.ts +22 -0
- package/dist/apis/MarketApi.js +78 -0
- package/dist/apis/MetaApi.d.ts +6 -0
- package/dist/apis/MetaApi.js +22 -0
- package/dist/apis/PlanetaryInteractionApi.d.ts +8 -0
- package/dist/apis/PlanetaryInteractionApi.js +29 -0
- package/dist/apis/RoutesApi.d.ts +2 -0
- package/dist/apis/RoutesApi.js +8 -0
- package/dist/apis/SearchApi.d.ts +2 -0
- package/dist/apis/SearchApi.js +8 -0
- package/dist/apis/SkillsApi.d.ts +6 -0
- package/dist/apis/SkillsApi.js +22 -0
- package/dist/apis/SovereigntyApi.d.ts +6 -0
- package/dist/apis/SovereigntyApi.js +22 -0
- package/dist/apis/StatusApi.d.ts +2 -0
- package/dist/apis/StatusApi.js +8 -0
- package/dist/apis/UniverseApi.d.ts +60 -0
- package/dist/apis/UniverseApi.js +211 -0
- package/dist/apis/UserInterfaceApi.d.ts +10 -0
- package/dist/apis/UserInterfaceApi.js +36 -0
- package/dist/apis/WalletApi.d.ts +12 -0
- package/dist/apis/WalletApi.js +43 -0
- package/dist/apis/WarsApi.d.ts +6 -0
- package/dist/apis/WarsApi.js +22 -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/docs/AllianceApi.md +16 -4
- package/docs/AssetsApi.md +24 -6
- package/docs/CalendarApi.md +16 -4
- package/docs/CharacterApi.md +56 -14
- package/docs/ClonesApi.md +8 -2
- package/docs/ContactsApi.md +36 -9
- package/docs/ContractsApi.md +36 -9
- package/docs/CorporationApi.md +88 -22
- package/docs/CorporationProjectsApi.md +20 -14
- package/docs/DogmaApi.md +20 -5
- package/docs/FactionWarfareApi.md +32 -8
- package/docs/FittingsApi.md +12 -3
- package/docs/FleetsApi.md +56 -14
- package/docs/FreelanceJobsApi.md +30 -15
- package/docs/IncursionsApi.md +4 -1
- package/docs/IndustryApi.md +32 -8
- package/docs/InsuranceApi.md +4 -1
- package/docs/KillmailsApi.md +12 -3
- package/docs/LocationApi.md +12 -3
- package/docs/LoyaltyApi.md +8 -2
- package/docs/MailApi.md +36 -9
- package/docs/MarketApi.md +44 -11
- package/docs/MetaApi.md +15 -6
- package/docs/PlanetaryInteractionApi.md +16 -4
- package/docs/RoutesApi.md +5 -2
- package/docs/SearchApi.md +4 -1
- package/docs/SkillsApi.md +12 -3
- package/docs/SovereigntyApi.md +12 -3
- package/docs/StatusApi.md +4 -1
- package/docs/UniverseApi.md +120 -30
- package/docs/UserInterfaceApi.md +20 -5
- package/docs/WalletApi.md +24 -6
- package/docs/WarsApi.md +12 -3
- package/esisl_genoa_client-0.1.6.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +45 -0
- package/src/apis/AssetsApi.ts +67 -0
- package/src/apis/CalendarApi.ts +45 -0
- package/src/apis/CharacterApi.ts +155 -0
- package/src/apis/ClonesApi.ts +23 -0
- package/src/apis/ContactsApi.ts +100 -0
- package/src/apis/ContractsApi.ts +100 -0
- package/src/apis/CorporationApi.ts +243 -0
- package/src/apis/CorporationProjectsApi.ts +45 -12
- package/src/apis/DogmaApi.ts +56 -0
- package/src/apis/FactionWarfareApi.ts +89 -0
- package/src/apis/FittingsApi.ts +34 -0
- package/src/apis/FleetsApi.ts +155 -0
- package/src/apis/FreelanceJobsApi.ts +67 -6
- package/src/apis/IncursionsApi.ts +12 -0
- package/src/apis/IndustryApi.ts +89 -0
- package/src/apis/InsuranceApi.ts +12 -0
- package/src/apis/KillmailsApi.ts +34 -0
- package/src/apis/LocationApi.ts +34 -0
- package/src/apis/LoyaltyApi.ts +23 -0
- package/src/apis/MailApi.ts +100 -0
- package/src/apis/MarketApi.ts +122 -0
- package/src/apis/MetaApi.ts +34 -0
- package/src/apis/PlanetaryInteractionApi.ts +45 -0
- package/src/apis/RoutesApi.ts +12 -0
- package/src/apis/SearchApi.ts +12 -0
- package/src/apis/SkillsApi.ts +34 -0
- package/src/apis/SovereigntyApi.ts +34 -0
- package/src/apis/StatusApi.ts +12 -0
- package/src/apis/UniverseApi.ts +331 -0
- package/src/apis/UserInterfaceApi.ts +56 -0
- package/src/apis/WalletApi.ts +67 -0
- package/src/apis/WarsApi.ts +34 -0
- package/src/constants.ts +10 -0
- package/src/index.ts +1 -0
- package/esisl_genoa_client-0.1.4.tgz +0 -0
- package/esisl_genoa_client-0.1.5.tgz +0 -0
|
@@ -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
|
CharactersCharacterIdPlanetsGetInner,
|
|
@@ -28,6 +29,7 @@ export interface GetCharactersCharacterIdPlanetsRequest {
|
|
|
28
29
|
acceptLanguage?: GetCharactersCharacterIdPlanetsAcceptLanguageEnum;
|
|
29
30
|
ifNoneMatch?: string;
|
|
30
31
|
xTenant?: string;
|
|
32
|
+
ifModifiedSince?: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
export interface GetCharactersCharacterIdPlanetsPlanetIdRequest {
|
|
@@ -37,6 +39,7 @@ export interface GetCharactersCharacterIdPlanetsPlanetIdRequest {
|
|
|
37
39
|
acceptLanguage?: GetCharactersCharacterIdPlanetsPlanetIdAcceptLanguageEnum;
|
|
38
40
|
ifNoneMatch?: string;
|
|
39
41
|
xTenant?: string;
|
|
42
|
+
ifModifiedSince?: string;
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
export interface GetCorporationsCorporationIdCustomsOfficesRequest {
|
|
@@ -46,6 +49,7 @@ export interface GetCorporationsCorporationIdCustomsOfficesRequest {
|
|
|
46
49
|
acceptLanguage?: GetCorporationsCorporationIdCustomsOfficesAcceptLanguageEnum;
|
|
47
50
|
ifNoneMatch?: string;
|
|
48
51
|
xTenant?: string;
|
|
52
|
+
ifModifiedSince?: string;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
export interface GetUniverseSchematicsSchematicIdRequest {
|
|
@@ -54,6 +58,7 @@ export interface GetUniverseSchematicsSchematicIdRequest {
|
|
|
54
58
|
acceptLanguage?: GetUniverseSchematicsSchematicIdAcceptLanguageEnum;
|
|
55
59
|
ifNoneMatch?: string;
|
|
56
60
|
xTenant?: string;
|
|
61
|
+
ifModifiedSince?: string;
|
|
57
62
|
}
|
|
58
63
|
|
|
59
64
|
/**
|
|
@@ -71,6 +76,7 @@ export interface PlanetaryInteractionApiInterface {
|
|
|
71
76
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
72
77
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
73
78
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
79
|
+
* @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.
|
|
74
80
|
* @param {*} [options] Override http request option.
|
|
75
81
|
* @throws {RequiredError}
|
|
76
82
|
* @memberof PlanetaryInteractionApiInterface
|
|
@@ -92,6 +98,7 @@ export interface PlanetaryInteractionApiInterface {
|
|
|
92
98
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
93
99
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
94
100
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
101
|
+
* @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.
|
|
95
102
|
* @param {*} [options] Override http request option.
|
|
96
103
|
* @throws {RequiredError}
|
|
97
104
|
* @memberof PlanetaryInteractionApiInterface
|
|
@@ -113,6 +120,7 @@ export interface PlanetaryInteractionApiInterface {
|
|
|
113
120
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
114
121
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
115
122
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
123
|
+
* @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.
|
|
116
124
|
* @param {*} [options] Override http request option.
|
|
117
125
|
* @throws {RequiredError}
|
|
118
126
|
* @memberof PlanetaryInteractionApiInterface
|
|
@@ -133,6 +141,7 @@ export interface PlanetaryInteractionApiInterface {
|
|
|
133
141
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
134
142
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
135
143
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
144
|
+
* @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.
|
|
136
145
|
* @param {*} [options] Override http request option.
|
|
137
146
|
* @throws {RequiredError}
|
|
138
147
|
* @memberof PlanetaryInteractionApiInterface
|
|
@@ -191,6 +200,10 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
191
200
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
192
201
|
}
|
|
193
202
|
|
|
203
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
204
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
205
|
+
}
|
|
206
|
+
|
|
194
207
|
/*
|
|
195
208
|
if (this.configuration && this.configuration.accessToken) {
|
|
196
209
|
// oauth required
|
|
@@ -202,6 +215,11 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
202
215
|
let urlPath = `/characters/{character_id}/planets`;
|
|
203
216
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
204
217
|
|
|
218
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
219
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
220
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
221
|
+
}
|
|
222
|
+
|
|
205
223
|
const facade = this.configuration?.apiFacade;
|
|
206
224
|
if (!facade) {
|
|
207
225
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -272,6 +290,10 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
272
290
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
273
291
|
}
|
|
274
292
|
|
|
293
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
294
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
295
|
+
}
|
|
296
|
+
|
|
275
297
|
/*
|
|
276
298
|
if (this.configuration && this.configuration.accessToken) {
|
|
277
299
|
// oauth required
|
|
@@ -284,6 +306,11 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
284
306
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
285
307
|
urlPath = urlPath.replace(`{${"planet_id"}}`, encodeURIComponent(String(requestParameters['planetId'])));
|
|
286
308
|
|
|
309
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
310
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
311
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
312
|
+
}
|
|
313
|
+
|
|
287
314
|
const facade = this.configuration?.apiFacade;
|
|
288
315
|
if (!facade) {
|
|
289
316
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -351,6 +378,10 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
351
378
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
352
379
|
}
|
|
353
380
|
|
|
381
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
382
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
383
|
+
}
|
|
384
|
+
|
|
354
385
|
/*
|
|
355
386
|
if (this.configuration && this.configuration.accessToken) {
|
|
356
387
|
// oauth required
|
|
@@ -362,6 +393,11 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
362
393
|
let urlPath = `/corporations/{corporation_id}/customs_offices`;
|
|
363
394
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
364
395
|
|
|
396
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
397
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
398
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
399
|
+
}
|
|
400
|
+
|
|
365
401
|
const facade = this.configuration?.apiFacade;
|
|
366
402
|
if (!facade) {
|
|
367
403
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -425,12 +461,21 @@ export class PlanetaryInteractionApi extends runtime.BaseAPI implements Planetar
|
|
|
425
461
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
426
462
|
}
|
|
427
463
|
|
|
464
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
465
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
466
|
+
}
|
|
467
|
+
|
|
428
468
|
/*
|
|
429
469
|
*/
|
|
430
470
|
|
|
431
471
|
let urlPath = `/universe/schematics/{schematic_id}`;
|
|
432
472
|
urlPath = urlPath.replace(`{${"schematic_id"}}`, encodeURIComponent(String(requestParameters['schematicId'])));
|
|
433
473
|
|
|
474
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
475
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
476
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
477
|
+
}
|
|
478
|
+
|
|
434
479
|
const facade = this.configuration?.apiFacade;
|
|
435
480
|
if (!facade) {
|
|
436
481
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/RoutesApi.ts
CHANGED
|
@@ -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
|
Route,
|
|
@@ -28,6 +29,7 @@ export interface PostRouteRequest {
|
|
|
28
29
|
acceptLanguage?: PostRouteAcceptLanguageEnum;
|
|
29
30
|
ifNoneMatch?: string;
|
|
30
31
|
xTenant?: string;
|
|
32
|
+
ifModifiedSince?: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
/**
|
|
@@ -47,6 +49,7 @@ export interface RoutesApiInterface {
|
|
|
47
49
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
48
50
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
49
51
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
52
|
+
* @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.
|
|
50
53
|
* @param {*} [options] Override http request option.
|
|
51
54
|
* @throws {RequiredError}
|
|
52
55
|
* @memberof RoutesApiInterface
|
|
@@ -121,6 +124,10 @@ export class RoutesApi extends runtime.BaseAPI implements RoutesApiInterface {
|
|
|
121
124
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
122
125
|
}
|
|
123
126
|
|
|
127
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
128
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
129
|
+
}
|
|
130
|
+
|
|
124
131
|
/*
|
|
125
132
|
*/
|
|
126
133
|
|
|
@@ -128,6 +135,11 @@ export class RoutesApi extends runtime.BaseAPI implements RoutesApiInterface {
|
|
|
128
135
|
urlPath = urlPath.replace(`{${"origin_system_id"}}`, encodeURIComponent(String(requestParameters['originSystemId'])));
|
|
129
136
|
urlPath = urlPath.replace(`{${"destination_system_id"}}`, encodeURIComponent(String(requestParameters['destinationSystemId'])));
|
|
130
137
|
|
|
138
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
139
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
140
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
141
|
+
}
|
|
142
|
+
|
|
131
143
|
const facade = this.configuration?.apiFacade;
|
|
132
144
|
if (!facade) {
|
|
133
145
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/SearchApi.ts
CHANGED
|
@@ -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
|
CharactersCharacterIdSearchGet,
|
|
@@ -28,6 +29,7 @@ export interface GetCharactersCharacterIdSearchRequest {
|
|
|
28
29
|
acceptLanguage?: GetCharactersCharacterIdSearchAcceptLanguageEnum;
|
|
29
30
|
ifNoneMatch?: string;
|
|
30
31
|
xTenant?: string;
|
|
32
|
+
ifModifiedSince?: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
/**
|
|
@@ -48,6 +50,7 @@ export interface SearchApiInterface {
|
|
|
48
50
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
49
51
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
50
52
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
53
|
+
* @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.
|
|
51
54
|
* @param {*} [options] Override http request option.
|
|
52
55
|
* @throws {RequiredError}
|
|
53
56
|
* @memberof SearchApiInterface
|
|
@@ -132,6 +135,10 @@ export class SearchApi extends runtime.BaseAPI implements SearchApiInterface {
|
|
|
132
135
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
133
136
|
}
|
|
134
137
|
|
|
138
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
139
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
140
|
+
}
|
|
141
|
+
|
|
135
142
|
/*
|
|
136
143
|
if (this.configuration && this.configuration.accessToken) {
|
|
137
144
|
// oauth required
|
|
@@ -143,6 +150,11 @@ export class SearchApi extends runtime.BaseAPI implements SearchApiInterface {
|
|
|
143
150
|
let urlPath = `/characters/{character_id}/search`;
|
|
144
151
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
145
152
|
|
|
153
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
154
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
155
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
156
|
+
}
|
|
157
|
+
|
|
146
158
|
const facade = this.configuration?.apiFacade;
|
|
147
159
|
if (!facade) {
|
|
148
160
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/SkillsApi.ts
CHANGED
|
@@ -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
|
CharactersCharacterIdAttributesGet,
|
|
@@ -27,6 +28,7 @@ export interface GetCharactersCharacterIdAttributesRequest {
|
|
|
27
28
|
acceptLanguage?: GetCharactersCharacterIdAttributesAcceptLanguageEnum;
|
|
28
29
|
ifNoneMatch?: string;
|
|
29
30
|
xTenant?: string;
|
|
31
|
+
ifModifiedSince?: string;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface GetCharactersCharacterIdSkillqueueRequest {
|
|
@@ -35,6 +37,7 @@ export interface GetCharactersCharacterIdSkillqueueRequest {
|
|
|
35
37
|
acceptLanguage?: GetCharactersCharacterIdSkillqueueAcceptLanguageEnum;
|
|
36
38
|
ifNoneMatch?: string;
|
|
37
39
|
xTenant?: string;
|
|
40
|
+
ifModifiedSince?: string;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
export interface GetCharactersCharacterIdSkillsRequest {
|
|
@@ -43,6 +46,7 @@ export interface GetCharactersCharacterIdSkillsRequest {
|
|
|
43
46
|
acceptLanguage?: GetCharactersCharacterIdSkillsAcceptLanguageEnum;
|
|
44
47
|
ifNoneMatch?: string;
|
|
45
48
|
xTenant?: string;
|
|
49
|
+
ifModifiedSince?: string;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
/**
|
|
@@ -60,6 +64,7 @@ export interface SkillsApiInterface {
|
|
|
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 SkillsApiInterface
|
|
@@ -80,6 +85,7 @@ export interface SkillsApiInterface {
|
|
|
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 SkillsApiInterface
|
|
@@ -100,6 +106,7 @@ export interface SkillsApiInterface {
|
|
|
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 SkillsApiInterface
|
|
@@ -158,6 +165,10 @@ export class SkillsApi extends runtime.BaseAPI implements SkillsApiInterface {
|
|
|
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 SkillsApi extends runtime.BaseAPI implements SkillsApiInterface {
|
|
|
169
180
|
let urlPath = `/characters/{character_id}/attributes`;
|
|
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 })');
|
|
@@ -232,6 +248,10 @@ export class SkillsApi extends runtime.BaseAPI implements SkillsApiInterface {
|
|
|
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 SkillsApi extends runtime.BaseAPI implements SkillsApiInterface {
|
|
|
243
263
|
let urlPath = `/characters/{character_id}/skillqueue`;
|
|
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 })');
|
|
@@ -306,6 +331,10 @@ export class SkillsApi extends runtime.BaseAPI implements SkillsApiInterface {
|
|
|
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 SkillsApi extends runtime.BaseAPI implements SkillsApiInterface {
|
|
|
317
346
|
let urlPath = `/characters/{character_id}/skills`;
|
|
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 })');
|
|
@@ -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
|
SovereigntyCampaignsGetInner,
|
|
@@ -26,6 +27,7 @@ export interface GetSovereigntyCampaignsRequest {
|
|
|
26
27
|
acceptLanguage?: GetSovereigntyCampaignsAcceptLanguageEnum;
|
|
27
28
|
ifNoneMatch?: string;
|
|
28
29
|
xTenant?: string;
|
|
30
|
+
ifModifiedSince?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
export interface GetSovereigntyMapRequest {
|
|
@@ -33,6 +35,7 @@ export interface GetSovereigntyMapRequest {
|
|
|
33
35
|
acceptLanguage?: GetSovereigntyMapAcceptLanguageEnum;
|
|
34
36
|
ifNoneMatch?: string;
|
|
35
37
|
xTenant?: string;
|
|
38
|
+
ifModifiedSince?: string;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
export interface GetSovereigntyStructuresRequest {
|
|
@@ -40,6 +43,7 @@ export interface GetSovereigntyStructuresRequest {
|
|
|
40
43
|
acceptLanguage?: GetSovereigntyStructuresAcceptLanguageEnum;
|
|
41
44
|
ifNoneMatch?: string;
|
|
42
45
|
xTenant?: string;
|
|
46
|
+
ifModifiedSince?: string;
|
|
43
47
|
}
|
|
44
48
|
|
|
45
49
|
/**
|
|
@@ -56,6 +60,7 @@ export interface SovereigntyApiInterface {
|
|
|
56
60
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
57
61
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
58
62
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
63
|
+
* @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.
|
|
59
64
|
* @param {*} [options] Override http request option.
|
|
60
65
|
* @throws {RequiredError}
|
|
61
66
|
* @memberof SovereigntyApiInterface
|
|
@@ -75,6 +80,7 @@ export interface SovereigntyApiInterface {
|
|
|
75
80
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
76
81
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
77
82
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
83
|
+
* @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.
|
|
78
84
|
* @param {*} [options] Override http request option.
|
|
79
85
|
* @throws {RequiredError}
|
|
80
86
|
* @memberof SovereigntyApiInterface
|
|
@@ -94,6 +100,7 @@ export interface SovereigntyApiInterface {
|
|
|
94
100
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
95
101
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
96
102
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
103
|
+
* @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.
|
|
97
104
|
* @param {*} [options] Override http request option.
|
|
98
105
|
* @throws {RequiredError}
|
|
99
106
|
* @memberof SovereigntyApiInterface
|
|
@@ -145,11 +152,20 @@ export class SovereigntyApi extends runtime.BaseAPI implements SovereigntyApiInt
|
|
|
145
152
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
146
153
|
}
|
|
147
154
|
|
|
155
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
156
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
157
|
+
}
|
|
158
|
+
|
|
148
159
|
/*
|
|
149
160
|
*/
|
|
150
161
|
|
|
151
162
|
let urlPath = `/sovereignty/campaigns`;
|
|
152
163
|
|
|
164
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
165
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
166
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
167
|
+
}
|
|
168
|
+
|
|
153
169
|
const facade = this.configuration?.apiFacade;
|
|
154
170
|
if (!facade) {
|
|
155
171
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -206,11 +222,20 @@ export class SovereigntyApi extends runtime.BaseAPI implements SovereigntyApiInt
|
|
|
206
222
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
207
223
|
}
|
|
208
224
|
|
|
225
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
226
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
227
|
+
}
|
|
228
|
+
|
|
209
229
|
/*
|
|
210
230
|
*/
|
|
211
231
|
|
|
212
232
|
let urlPath = `/sovereignty/map`;
|
|
213
233
|
|
|
234
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
235
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
236
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
237
|
+
}
|
|
238
|
+
|
|
214
239
|
const facade = this.configuration?.apiFacade;
|
|
215
240
|
if (!facade) {
|
|
216
241
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -267,11 +292,20 @@ export class SovereigntyApi extends runtime.BaseAPI implements SovereigntyApiInt
|
|
|
267
292
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
268
293
|
}
|
|
269
294
|
|
|
295
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
296
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
297
|
+
}
|
|
298
|
+
|
|
270
299
|
/*
|
|
271
300
|
*/
|
|
272
301
|
|
|
273
302
|
let urlPath = `/sovereignty/structures`;
|
|
274
303
|
|
|
304
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
305
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
306
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
307
|
+
}
|
|
308
|
+
|
|
275
309
|
const facade = this.configuration?.apiFacade;
|
|
276
310
|
if (!facade) {
|
|
277
311
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/StatusApi.ts
CHANGED
|
@@ -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
|
StatusGet,
|
|
@@ -24,6 +25,7 @@ export interface GetStatusRequest {
|
|
|
24
25
|
acceptLanguage?: GetStatusAcceptLanguageEnum;
|
|
25
26
|
ifNoneMatch?: string;
|
|
26
27
|
xTenant?: string;
|
|
28
|
+
ifModifiedSince?: string;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -40,6 +42,7 @@ export interface StatusApiInterface {
|
|
|
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 StatusApiInterface
|
|
@@ -91,11 +94,20 @@ export class StatusApi extends runtime.BaseAPI implements StatusApiInterface {
|
|
|
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 = `/status`;
|
|
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 })');
|