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/MailApi.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
|
CharactersCharacterIdMailGetInner,
|
|
@@ -32,6 +33,7 @@ export interface DeleteCharactersCharacterIdMailLabelsLabelIdRequest {
|
|
|
32
33
|
acceptLanguage?: DeleteCharactersCharacterIdMailLabelsLabelIdAcceptLanguageEnum;
|
|
33
34
|
ifNoneMatch?: string;
|
|
34
35
|
xTenant?: string;
|
|
36
|
+
ifModifiedSince?: string;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
export interface DeleteCharactersCharacterIdMailMailIdRequest {
|
|
@@ -41,6 +43,7 @@ export interface DeleteCharactersCharacterIdMailMailIdRequest {
|
|
|
41
43
|
acceptLanguage?: DeleteCharactersCharacterIdMailMailIdAcceptLanguageEnum;
|
|
42
44
|
ifNoneMatch?: string;
|
|
43
45
|
xTenant?: string;
|
|
46
|
+
ifModifiedSince?: string;
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
export interface GetCharactersCharacterIdMailRequest {
|
|
@@ -51,6 +54,7 @@ export interface GetCharactersCharacterIdMailRequest {
|
|
|
51
54
|
acceptLanguage?: GetCharactersCharacterIdMailAcceptLanguageEnum;
|
|
52
55
|
ifNoneMatch?: string;
|
|
53
56
|
xTenant?: string;
|
|
57
|
+
ifModifiedSince?: string;
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
export interface GetCharactersCharacterIdMailLabelsRequest {
|
|
@@ -59,6 +63,7 @@ export interface GetCharactersCharacterIdMailLabelsRequest {
|
|
|
59
63
|
acceptLanguage?: GetCharactersCharacterIdMailLabelsAcceptLanguageEnum;
|
|
60
64
|
ifNoneMatch?: string;
|
|
61
65
|
xTenant?: string;
|
|
66
|
+
ifModifiedSince?: string;
|
|
62
67
|
}
|
|
63
68
|
|
|
64
69
|
export interface GetCharactersCharacterIdMailListsRequest {
|
|
@@ -67,6 +72,7 @@ export interface GetCharactersCharacterIdMailListsRequest {
|
|
|
67
72
|
acceptLanguage?: GetCharactersCharacterIdMailListsAcceptLanguageEnum;
|
|
68
73
|
ifNoneMatch?: string;
|
|
69
74
|
xTenant?: string;
|
|
75
|
+
ifModifiedSince?: string;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
export interface GetCharactersCharacterIdMailMailIdRequest {
|
|
@@ -76,6 +82,7 @@ export interface GetCharactersCharacterIdMailMailIdRequest {
|
|
|
76
82
|
acceptLanguage?: GetCharactersCharacterIdMailMailIdAcceptLanguageEnum;
|
|
77
83
|
ifNoneMatch?: string;
|
|
78
84
|
xTenant?: string;
|
|
85
|
+
ifModifiedSince?: string;
|
|
79
86
|
}
|
|
80
87
|
|
|
81
88
|
export interface PostCharactersCharacterIdMailOperationRequest {
|
|
@@ -85,6 +92,7 @@ export interface PostCharactersCharacterIdMailOperationRequest {
|
|
|
85
92
|
acceptLanguage?: PostCharactersCharacterIdMailOperationAcceptLanguageEnum;
|
|
86
93
|
ifNoneMatch?: string;
|
|
87
94
|
xTenant?: string;
|
|
95
|
+
ifModifiedSince?: string;
|
|
88
96
|
}
|
|
89
97
|
|
|
90
98
|
export interface PostCharactersCharacterIdMailLabelsOperationRequest {
|
|
@@ -94,6 +102,7 @@ export interface PostCharactersCharacterIdMailLabelsOperationRequest {
|
|
|
94
102
|
acceptLanguage?: PostCharactersCharacterIdMailLabelsOperationAcceptLanguageEnum;
|
|
95
103
|
ifNoneMatch?: string;
|
|
96
104
|
xTenant?: string;
|
|
105
|
+
ifModifiedSince?: string;
|
|
97
106
|
}
|
|
98
107
|
|
|
99
108
|
export interface PutCharactersCharacterIdMailMailIdOperationRequest {
|
|
@@ -104,6 +113,7 @@ export interface PutCharactersCharacterIdMailMailIdOperationRequest {
|
|
|
104
113
|
acceptLanguage?: PutCharactersCharacterIdMailMailIdOperationAcceptLanguageEnum;
|
|
105
114
|
ifNoneMatch?: string;
|
|
106
115
|
xTenant?: string;
|
|
116
|
+
ifModifiedSince?: string;
|
|
107
117
|
}
|
|
108
118
|
|
|
109
119
|
/**
|
|
@@ -122,6 +132,7 @@ export interface MailApiInterface {
|
|
|
122
132
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
123
133
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
124
134
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
135
|
+
* @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.
|
|
125
136
|
* @param {*} [options] Override http request option.
|
|
126
137
|
* @throws {RequiredError}
|
|
127
138
|
* @memberof MailApiInterface
|
|
@@ -143,6 +154,7 @@ export interface MailApiInterface {
|
|
|
143
154
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
144
155
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
145
156
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
157
|
+
* @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.
|
|
146
158
|
* @param {*} [options] Override http request option.
|
|
147
159
|
* @throws {RequiredError}
|
|
148
160
|
* @memberof MailApiInterface
|
|
@@ -165,6 +177,7 @@ export interface MailApiInterface {
|
|
|
165
177
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
166
178
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
167
179
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
180
|
+
* @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.
|
|
168
181
|
* @param {*} [options] Override http request option.
|
|
169
182
|
* @throws {RequiredError}
|
|
170
183
|
* @memberof MailApiInterface
|
|
@@ -185,6 +198,7 @@ export interface MailApiInterface {
|
|
|
185
198
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
186
199
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
187
200
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
201
|
+
* @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.
|
|
188
202
|
* @param {*} [options] Override http request option.
|
|
189
203
|
* @throws {RequiredError}
|
|
190
204
|
* @memberof MailApiInterface
|
|
@@ -205,6 +219,7 @@ export interface MailApiInterface {
|
|
|
205
219
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
206
220
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
207
221
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
222
|
+
* @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.
|
|
208
223
|
* @param {*} [options] Override http request option.
|
|
209
224
|
* @throws {RequiredError}
|
|
210
225
|
* @memberof MailApiInterface
|
|
@@ -226,6 +241,7 @@ export interface MailApiInterface {
|
|
|
226
241
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
227
242
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
228
243
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
244
|
+
* @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.
|
|
229
245
|
* @param {*} [options] Override http request option.
|
|
230
246
|
* @throws {RequiredError}
|
|
231
247
|
* @memberof MailApiInterface
|
|
@@ -247,6 +263,7 @@ export interface MailApiInterface {
|
|
|
247
263
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
248
264
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
249
265
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
266
|
+
* @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.
|
|
250
267
|
* @param {*} [options] Override http request option.
|
|
251
268
|
* @throws {RequiredError}
|
|
252
269
|
* @memberof MailApiInterface
|
|
@@ -268,6 +285,7 @@ export interface MailApiInterface {
|
|
|
268
285
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
269
286
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
270
287
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
288
|
+
* @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.
|
|
271
289
|
* @param {*} [options] Override http request option.
|
|
272
290
|
* @throws {RequiredError}
|
|
273
291
|
* @memberof MailApiInterface
|
|
@@ -290,6 +308,7 @@ export interface MailApiInterface {
|
|
|
290
308
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
291
309
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
292
310
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
311
|
+
* @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.
|
|
293
312
|
* @param {*} [options] Override http request option.
|
|
294
313
|
* @throws {RequiredError}
|
|
295
314
|
* @memberof MailApiInterface
|
|
@@ -355,6 +374,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
355
374
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
356
375
|
}
|
|
357
376
|
|
|
377
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
378
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
379
|
+
}
|
|
380
|
+
|
|
358
381
|
/*
|
|
359
382
|
if (this.configuration && this.configuration.accessToken) {
|
|
360
383
|
// oauth required
|
|
@@ -367,6 +390,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
367
390
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
368
391
|
urlPath = urlPath.replace(`{${"label_id"}}`, encodeURIComponent(String(requestParameters['labelId'])));
|
|
369
392
|
|
|
393
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
394
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
395
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
396
|
+
}
|
|
397
|
+
|
|
370
398
|
const facade = this.configuration?.apiFacade;
|
|
371
399
|
if (!facade) {
|
|
372
400
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -436,6 +464,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
436
464
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
437
465
|
}
|
|
438
466
|
|
|
467
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
468
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
469
|
+
}
|
|
470
|
+
|
|
439
471
|
/*
|
|
440
472
|
if (this.configuration && this.configuration.accessToken) {
|
|
441
473
|
// oauth required
|
|
@@ -448,6 +480,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
448
480
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
449
481
|
urlPath = urlPath.replace(`{${"mail_id"}}`, encodeURIComponent(String(requestParameters['mailId'])));
|
|
450
482
|
|
|
483
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
484
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
485
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
486
|
+
}
|
|
487
|
+
|
|
451
488
|
const facade = this.configuration?.apiFacade;
|
|
452
489
|
if (!facade) {
|
|
453
490
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -518,6 +555,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
518
555
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
519
556
|
}
|
|
520
557
|
|
|
558
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
559
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
560
|
+
}
|
|
561
|
+
|
|
521
562
|
/*
|
|
522
563
|
if (this.configuration && this.configuration.accessToken) {
|
|
523
564
|
// oauth required
|
|
@@ -529,6 +570,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
529
570
|
let urlPath = `/characters/{character_id}/mail`;
|
|
530
571
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
531
572
|
|
|
573
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
574
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
575
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
576
|
+
}
|
|
577
|
+
|
|
532
578
|
const facade = this.configuration?.apiFacade;
|
|
533
579
|
if (!facade) {
|
|
534
580
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -592,6 +638,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
592
638
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
593
639
|
}
|
|
594
640
|
|
|
641
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
642
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
643
|
+
}
|
|
644
|
+
|
|
595
645
|
/*
|
|
596
646
|
if (this.configuration && this.configuration.accessToken) {
|
|
597
647
|
// oauth required
|
|
@@ -603,6 +653,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
603
653
|
let urlPath = `/characters/{character_id}/mail/labels`;
|
|
604
654
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
605
655
|
|
|
656
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
657
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
658
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
659
|
+
}
|
|
660
|
+
|
|
606
661
|
const facade = this.configuration?.apiFacade;
|
|
607
662
|
if (!facade) {
|
|
608
663
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -666,6 +721,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
666
721
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
667
722
|
}
|
|
668
723
|
|
|
724
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
725
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
726
|
+
}
|
|
727
|
+
|
|
669
728
|
/*
|
|
670
729
|
if (this.configuration && this.configuration.accessToken) {
|
|
671
730
|
// oauth required
|
|
@@ -677,6 +736,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
677
736
|
let urlPath = `/characters/{character_id}/mail/lists`;
|
|
678
737
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
679
738
|
|
|
739
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
740
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
741
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
742
|
+
}
|
|
743
|
+
|
|
680
744
|
const facade = this.configuration?.apiFacade;
|
|
681
745
|
if (!facade) {
|
|
682
746
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -747,6 +811,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
747
811
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
748
812
|
}
|
|
749
813
|
|
|
814
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
815
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
816
|
+
}
|
|
817
|
+
|
|
750
818
|
/*
|
|
751
819
|
if (this.configuration && this.configuration.accessToken) {
|
|
752
820
|
// oauth required
|
|
@@ -759,6 +827,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
759
827
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
760
828
|
urlPath = urlPath.replace(`{${"mail_id"}}`, encodeURIComponent(String(requestParameters['mailId'])));
|
|
761
829
|
|
|
830
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
831
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
832
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
833
|
+
}
|
|
834
|
+
|
|
762
835
|
const facade = this.configuration?.apiFacade;
|
|
763
836
|
if (!facade) {
|
|
764
837
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -831,6 +904,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
831
904
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
832
905
|
}
|
|
833
906
|
|
|
907
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
908
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
909
|
+
}
|
|
910
|
+
|
|
834
911
|
/*
|
|
835
912
|
if (this.configuration && this.configuration.accessToken) {
|
|
836
913
|
// oauth required
|
|
@@ -842,6 +919,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
842
919
|
let urlPath = `/characters/{character_id}/mail`;
|
|
843
920
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
844
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
|
+
|
|
845
927
|
const facade = this.configuration?.apiFacade;
|
|
846
928
|
if (!facade) {
|
|
847
929
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -915,6 +997,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
915
997
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
916
998
|
}
|
|
917
999
|
|
|
1000
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1001
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
918
1004
|
/*
|
|
919
1005
|
if (this.configuration && this.configuration.accessToken) {
|
|
920
1006
|
// oauth required
|
|
@@ -926,6 +1012,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
926
1012
|
let urlPath = `/characters/{character_id}/mail/labels`;
|
|
927
1013
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
928
1014
|
|
|
1015
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1016
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1017
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
929
1020
|
const facade = this.configuration?.apiFacade;
|
|
930
1021
|
if (!facade) {
|
|
931
1022
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1006,6 +1097,10 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
1006
1097
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1007
1098
|
}
|
|
1008
1099
|
|
|
1100
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1101
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1009
1104
|
/*
|
|
1010
1105
|
if (this.configuration && this.configuration.accessToken) {
|
|
1011
1106
|
// oauth required
|
|
@@ -1018,6 +1113,11 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
|
|
|
1018
1113
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1019
1114
|
urlPath = urlPath.replace(`{${"mail_id"}}`, encodeURIComponent(String(requestParameters['mailId'])));
|
|
1020
1115
|
|
|
1116
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1117
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1118
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1021
1121
|
const facade = this.configuration?.apiFacade;
|
|
1022
1122
|
if (!facade) {
|
|
1023
1123
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|