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
package/src/apis/MarketApi.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
|
CharactersCharacterIdOrdersGetInner,
|
|
@@ -33,6 +34,7 @@ export interface GetCharactersCharacterIdOrdersRequest {
|
|
|
33
34
|
acceptLanguage?: GetCharactersCharacterIdOrdersAcceptLanguageEnum;
|
|
34
35
|
ifNoneMatch?: string;
|
|
35
36
|
xTenant?: string;
|
|
37
|
+
ifModifiedSince?: string;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
export interface GetCharactersCharacterIdOrdersHistoryRequest {
|
|
@@ -42,6 +44,7 @@ export interface GetCharactersCharacterIdOrdersHistoryRequest {
|
|
|
42
44
|
acceptLanguage?: GetCharactersCharacterIdOrdersHistoryAcceptLanguageEnum;
|
|
43
45
|
ifNoneMatch?: string;
|
|
44
46
|
xTenant?: string;
|
|
47
|
+
ifModifiedSince?: string;
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
export interface GetCorporationsCorporationIdOrdersRequest {
|
|
@@ -51,6 +54,7 @@ export interface GetCorporationsCorporationIdOrdersRequest {
|
|
|
51
54
|
acceptLanguage?: GetCorporationsCorporationIdOrdersAcceptLanguageEnum;
|
|
52
55
|
ifNoneMatch?: string;
|
|
53
56
|
xTenant?: string;
|
|
57
|
+
ifModifiedSince?: string;
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
export interface GetCorporationsCorporationIdOrdersHistoryRequest {
|
|
@@ -60,6 +64,7 @@ export interface GetCorporationsCorporationIdOrdersHistoryRequest {
|
|
|
60
64
|
acceptLanguage?: GetCorporationsCorporationIdOrdersHistoryAcceptLanguageEnum;
|
|
61
65
|
ifNoneMatch?: string;
|
|
62
66
|
xTenant?: string;
|
|
67
|
+
ifModifiedSince?: string;
|
|
63
68
|
}
|
|
64
69
|
|
|
65
70
|
export interface GetMarketsGroupsRequest {
|
|
@@ -67,6 +72,7 @@ export interface GetMarketsGroupsRequest {
|
|
|
67
72
|
acceptLanguage?: GetMarketsGroupsAcceptLanguageEnum;
|
|
68
73
|
ifNoneMatch?: string;
|
|
69
74
|
xTenant?: string;
|
|
75
|
+
ifModifiedSince?: string;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
export interface GetMarketsGroupsMarketGroupIdRequest {
|
|
@@ -75,6 +81,7 @@ export interface GetMarketsGroupsMarketGroupIdRequest {
|
|
|
75
81
|
acceptLanguage?: GetMarketsGroupsMarketGroupIdAcceptLanguageEnum;
|
|
76
82
|
ifNoneMatch?: string;
|
|
77
83
|
xTenant?: string;
|
|
84
|
+
ifModifiedSince?: string;
|
|
78
85
|
}
|
|
79
86
|
|
|
80
87
|
export interface GetMarketsPricesRequest {
|
|
@@ -82,6 +89,7 @@ export interface GetMarketsPricesRequest {
|
|
|
82
89
|
acceptLanguage?: GetMarketsPricesAcceptLanguageEnum;
|
|
83
90
|
ifNoneMatch?: string;
|
|
84
91
|
xTenant?: string;
|
|
92
|
+
ifModifiedSince?: string;
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
export interface GetMarketsRegionIdHistoryRequest {
|
|
@@ -91,6 +99,7 @@ export interface GetMarketsRegionIdHistoryRequest {
|
|
|
91
99
|
acceptLanguage?: GetMarketsRegionIdHistoryAcceptLanguageEnum;
|
|
92
100
|
ifNoneMatch?: string;
|
|
93
101
|
xTenant?: string;
|
|
102
|
+
ifModifiedSince?: string;
|
|
94
103
|
}
|
|
95
104
|
|
|
96
105
|
export interface GetMarketsRegionIdOrdersRequest {
|
|
@@ -102,6 +111,7 @@ export interface GetMarketsRegionIdOrdersRequest {
|
|
|
102
111
|
acceptLanguage?: GetMarketsRegionIdOrdersAcceptLanguageEnum;
|
|
103
112
|
ifNoneMatch?: string;
|
|
104
113
|
xTenant?: string;
|
|
114
|
+
ifModifiedSince?: string;
|
|
105
115
|
}
|
|
106
116
|
|
|
107
117
|
export interface GetMarketsRegionIdTypesRequest {
|
|
@@ -111,6 +121,7 @@ export interface GetMarketsRegionIdTypesRequest {
|
|
|
111
121
|
acceptLanguage?: GetMarketsRegionIdTypesAcceptLanguageEnum;
|
|
112
122
|
ifNoneMatch?: string;
|
|
113
123
|
xTenant?: string;
|
|
124
|
+
ifModifiedSince?: string;
|
|
114
125
|
}
|
|
115
126
|
|
|
116
127
|
export interface GetMarketsStructuresStructureIdRequest {
|
|
@@ -120,6 +131,7 @@ export interface GetMarketsStructuresStructureIdRequest {
|
|
|
120
131
|
acceptLanguage?: GetMarketsStructuresStructureIdAcceptLanguageEnum;
|
|
121
132
|
ifNoneMatch?: string;
|
|
122
133
|
xTenant?: string;
|
|
134
|
+
ifModifiedSince?: string;
|
|
123
135
|
}
|
|
124
136
|
|
|
125
137
|
/**
|
|
@@ -137,6 +149,7 @@ export interface MarketApiInterface {
|
|
|
137
149
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
138
150
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
139
151
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
152
|
+
* @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.
|
|
140
153
|
* @param {*} [options] Override http request option.
|
|
141
154
|
* @throws {RequiredError}
|
|
142
155
|
* @memberof MarketApiInterface
|
|
@@ -158,6 +171,7 @@ export interface MarketApiInterface {
|
|
|
158
171
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
159
172
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
160
173
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
174
|
+
* @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.
|
|
161
175
|
* @param {*} [options] Override http request option.
|
|
162
176
|
* @throws {RequiredError}
|
|
163
177
|
* @memberof MarketApiInterface
|
|
@@ -179,6 +193,7 @@ export interface MarketApiInterface {
|
|
|
179
193
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
180
194
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
181
195
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
196
|
+
* @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.
|
|
182
197
|
* @param {*} [options] Override http request option.
|
|
183
198
|
* @throws {RequiredError}
|
|
184
199
|
* @memberof MarketApiInterface
|
|
@@ -200,6 +215,7 @@ export interface MarketApiInterface {
|
|
|
200
215
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
201
216
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
202
217
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
218
|
+
* @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.
|
|
203
219
|
* @param {*} [options] Override http request option.
|
|
204
220
|
* @throws {RequiredError}
|
|
205
221
|
* @memberof MarketApiInterface
|
|
@@ -219,6 +235,7 @@ export interface MarketApiInterface {
|
|
|
219
235
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
220
236
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
221
237
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
238
|
+
* @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.
|
|
222
239
|
* @param {*} [options] Override http request option.
|
|
223
240
|
* @throws {RequiredError}
|
|
224
241
|
* @memberof MarketApiInterface
|
|
@@ -239,6 +256,7 @@ export interface MarketApiInterface {
|
|
|
239
256
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
240
257
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
241
258
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
259
|
+
* @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.
|
|
242
260
|
* @param {*} [options] Override http request option.
|
|
243
261
|
* @throws {RequiredError}
|
|
244
262
|
* @memberof MarketApiInterface
|
|
@@ -258,6 +276,7 @@ export interface MarketApiInterface {
|
|
|
258
276
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
259
277
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
260
278
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
279
|
+
* @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.
|
|
261
280
|
* @param {*} [options] Override http request option.
|
|
262
281
|
* @throws {RequiredError}
|
|
263
282
|
* @memberof MarketApiInterface
|
|
@@ -279,6 +298,7 @@ export interface MarketApiInterface {
|
|
|
279
298
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
280
299
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
281
300
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
301
|
+
* @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.
|
|
282
302
|
* @param {*} [options] Override http request option.
|
|
283
303
|
* @throws {RequiredError}
|
|
284
304
|
* @memberof MarketApiInterface
|
|
@@ -302,6 +322,7 @@ export interface MarketApiInterface {
|
|
|
302
322
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
303
323
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
304
324
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
325
|
+
* @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.
|
|
305
326
|
* @param {*} [options] Override http request option.
|
|
306
327
|
* @throws {RequiredError}
|
|
307
328
|
* @memberof MarketApiInterface
|
|
@@ -323,6 +344,7 @@ export interface MarketApiInterface {
|
|
|
323
344
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
324
345
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
325
346
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
347
|
+
* @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.
|
|
326
348
|
* @param {*} [options] Override http request option.
|
|
327
349
|
* @throws {RequiredError}
|
|
328
350
|
* @memberof MarketApiInterface
|
|
@@ -344,6 +366,7 @@ export interface MarketApiInterface {
|
|
|
344
366
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
345
367
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
346
368
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
369
|
+
* @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.
|
|
347
370
|
* @param {*} [options] Override http request option.
|
|
348
371
|
* @throws {RequiredError}
|
|
349
372
|
* @memberof MarketApiInterface
|
|
@@ -402,6 +425,10 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
402
425
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
403
426
|
}
|
|
404
427
|
|
|
428
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
429
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
430
|
+
}
|
|
431
|
+
|
|
405
432
|
/*
|
|
406
433
|
if (this.configuration && this.configuration.accessToken) {
|
|
407
434
|
// oauth required
|
|
@@ -413,6 +440,11 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
413
440
|
let urlPath = `/characters/{character_id}/orders`;
|
|
414
441
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
415
442
|
|
|
443
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
444
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
445
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
446
|
+
}
|
|
447
|
+
|
|
416
448
|
const facade = this.configuration?.apiFacade;
|
|
417
449
|
if (!facade) {
|
|
418
450
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -480,6 +512,10 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
480
512
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
481
513
|
}
|
|
482
514
|
|
|
515
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
516
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
517
|
+
}
|
|
518
|
+
|
|
483
519
|
/*
|
|
484
520
|
if (this.configuration && this.configuration.accessToken) {
|
|
485
521
|
// oauth required
|
|
@@ -491,6 +527,11 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
491
527
|
let urlPath = `/characters/{character_id}/orders/history`;
|
|
492
528
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
493
529
|
|
|
530
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
531
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
532
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
533
|
+
}
|
|
534
|
+
|
|
494
535
|
const facade = this.configuration?.apiFacade;
|
|
495
536
|
if (!facade) {
|
|
496
537
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -558,6 +599,10 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
558
599
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
559
600
|
}
|
|
560
601
|
|
|
602
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
603
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
604
|
+
}
|
|
605
|
+
|
|
561
606
|
/*
|
|
562
607
|
if (this.configuration && this.configuration.accessToken) {
|
|
563
608
|
// oauth required
|
|
@@ -569,6 +614,11 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
569
614
|
let urlPath = `/corporations/{corporation_id}/orders`;
|
|
570
615
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
571
616
|
|
|
617
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
618
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
619
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
620
|
+
}
|
|
621
|
+
|
|
572
622
|
const facade = this.configuration?.apiFacade;
|
|
573
623
|
if (!facade) {
|
|
574
624
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -636,6 +686,10 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
636
686
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
637
687
|
}
|
|
638
688
|
|
|
689
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
690
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
691
|
+
}
|
|
692
|
+
|
|
639
693
|
/*
|
|
640
694
|
if (this.configuration && this.configuration.accessToken) {
|
|
641
695
|
// oauth required
|
|
@@ -647,6 +701,11 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
647
701
|
let urlPath = `/corporations/{corporation_id}/orders/history`;
|
|
648
702
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
649
703
|
|
|
704
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
705
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
706
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
707
|
+
}
|
|
708
|
+
|
|
650
709
|
const facade = this.configuration?.apiFacade;
|
|
651
710
|
if (!facade) {
|
|
652
711
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -703,11 +762,20 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
703
762
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
704
763
|
}
|
|
705
764
|
|
|
765
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
766
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
767
|
+
}
|
|
768
|
+
|
|
706
769
|
/*
|
|
707
770
|
*/
|
|
708
771
|
|
|
709
772
|
let urlPath = `/markets/groups`;
|
|
710
773
|
|
|
774
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
775
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
776
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
777
|
+
}
|
|
778
|
+
|
|
711
779
|
const facade = this.configuration?.apiFacade;
|
|
712
780
|
if (!facade) {
|
|
713
781
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -771,12 +839,21 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
771
839
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
772
840
|
}
|
|
773
841
|
|
|
842
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
843
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
844
|
+
}
|
|
845
|
+
|
|
774
846
|
/*
|
|
775
847
|
*/
|
|
776
848
|
|
|
777
849
|
let urlPath = `/markets/groups/{market_group_id}`;
|
|
778
850
|
urlPath = urlPath.replace(`{${"market_group_id"}}`, encodeURIComponent(String(requestParameters['marketGroupId'])));
|
|
779
851
|
|
|
852
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
853
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
854
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
855
|
+
}
|
|
856
|
+
|
|
780
857
|
const facade = this.configuration?.apiFacade;
|
|
781
858
|
if (!facade) {
|
|
782
859
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -833,11 +910,20 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
833
910
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
834
911
|
}
|
|
835
912
|
|
|
913
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
914
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
915
|
+
}
|
|
916
|
+
|
|
836
917
|
/*
|
|
837
918
|
*/
|
|
838
919
|
|
|
839
920
|
let urlPath = `/markets/prices`;
|
|
840
921
|
|
|
922
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
923
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
924
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
925
|
+
}
|
|
926
|
+
|
|
841
927
|
const facade = this.configuration?.apiFacade;
|
|
842
928
|
if (!facade) {
|
|
843
929
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -912,12 +998,21 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
912
998
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
913
999
|
}
|
|
914
1000
|
|
|
1001
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1002
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
915
1005
|
/*
|
|
916
1006
|
*/
|
|
917
1007
|
|
|
918
1008
|
let urlPath = `/markets/{region_id}/history`;
|
|
919
1009
|
urlPath = urlPath.replace(`{${"region_id"}}`, encodeURIComponent(String(requestParameters['regionId'])));
|
|
920
1010
|
|
|
1011
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1012
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1013
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
921
1016
|
const facade = this.configuration?.apiFacade;
|
|
922
1017
|
if (!facade) {
|
|
923
1018
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1000,12 +1095,21 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
1000
1095
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1001
1096
|
}
|
|
1002
1097
|
|
|
1098
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1099
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1003
1102
|
/*
|
|
1004
1103
|
*/
|
|
1005
1104
|
|
|
1006
1105
|
let urlPath = `/markets/{region_id}/orders`;
|
|
1007
1106
|
urlPath = urlPath.replace(`{${"region_id"}}`, encodeURIComponent(String(requestParameters['regionId'])));
|
|
1008
1107
|
|
|
1108
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1109
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1110
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1009
1113
|
const facade = this.configuration?.apiFacade;
|
|
1010
1114
|
if (!facade) {
|
|
1011
1115
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1073,12 +1177,21 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
1073
1177
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1074
1178
|
}
|
|
1075
1179
|
|
|
1180
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1181
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1076
1184
|
/*
|
|
1077
1185
|
*/
|
|
1078
1186
|
|
|
1079
1187
|
let urlPath = `/markets/{region_id}/types`;
|
|
1080
1188
|
urlPath = urlPath.replace(`{${"region_id"}}`, encodeURIComponent(String(requestParameters['regionId'])));
|
|
1081
1189
|
|
|
1190
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1191
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1192
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1082
1195
|
const facade = this.configuration?.apiFacade;
|
|
1083
1196
|
if (!facade) {
|
|
1084
1197
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1146,6 +1259,10 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
1146
1259
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1147
1260
|
}
|
|
1148
1261
|
|
|
1262
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1263
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1149
1266
|
/*
|
|
1150
1267
|
if (this.configuration && this.configuration.accessToken) {
|
|
1151
1268
|
// oauth required
|
|
@@ -1157,6 +1274,11 @@ export class MarketApi extends runtime.BaseAPI implements MarketApiInterface {
|
|
|
1157
1274
|
let urlPath = `/markets/structures/{structure_id}`;
|
|
1158
1275
|
urlPath = urlPath.replace(`{${"structure_id"}}`, encodeURIComponent(String(requestParameters['structureId'])));
|
|
1159
1276
|
|
|
1277
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1278
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1279
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1160
1282
|
const facade = this.configuration?.apiFacade;
|
|
1161
1283
|
if (!facade) {
|
|
1162
1284
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/MetaApi.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
|
MetaChangelog,
|
|
@@ -26,6 +27,7 @@ export interface GetMetaChangelogRequest {
|
|
|
26
27
|
acceptLanguage?: GetMetaChangelogAcceptLanguageEnum;
|
|
27
28
|
ifNoneMatch?: string;
|
|
28
29
|
xTenant?: string;
|
|
30
|
+
ifModifiedSince?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
export interface GetMetaCompatibilityDatesRequest {
|
|
@@ -33,6 +35,7 @@ export interface GetMetaCompatibilityDatesRequest {
|
|
|
33
35
|
acceptLanguage?: GetMetaCompatibilityDatesAcceptLanguageEnum;
|
|
34
36
|
ifNoneMatch?: string;
|
|
35
37
|
xTenant?: string;
|
|
38
|
+
ifModifiedSince?: string;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
export interface GetMetaStatusRequest {
|
|
@@ -40,6 +43,7 @@ export interface GetMetaStatusRequest {
|
|
|
40
43
|
acceptLanguage?: GetMetaStatusAcceptLanguageEnum;
|
|
41
44
|
ifNoneMatch?: string;
|
|
42
45
|
xTenant?: string;
|
|
46
|
+
ifModifiedSince?: string;
|
|
43
47
|
}
|
|
44
48
|
|
|
45
49
|
/**
|
|
@@ -56,6 +60,7 @@ export interface MetaApiInterface {
|
|
|
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 MetaApiInterface
|
|
@@ -75,6 +80,7 @@ export interface MetaApiInterface {
|
|
|
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 MetaApiInterface
|
|
@@ -94,6 +100,7 @@ export interface MetaApiInterface {
|
|
|
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 MetaApiInterface
|
|
@@ -145,11 +152,20 @@ export class MetaApi extends runtime.BaseAPI implements MetaApiInterface {
|
|
|
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 = `/meta/changelog`;
|
|
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 MetaApi extends runtime.BaseAPI implements MetaApiInterface {
|
|
|
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 = `/meta/compatibility-dates`;
|
|
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 MetaApi extends runtime.BaseAPI implements MetaApiInterface {
|
|
|
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 = `/meta/status`;
|
|
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 })');
|