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/CharacterApi.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
|
CharactersAffiliationPostInner,
|
|
@@ -37,6 +38,7 @@ export interface GetCharactersCharacterIdRequest {
|
|
|
37
38
|
acceptLanguage?: GetCharactersCharacterIdAcceptLanguageEnum;
|
|
38
39
|
ifNoneMatch?: string;
|
|
39
40
|
xTenant?: string;
|
|
41
|
+
ifModifiedSince?: string;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
export interface GetCharactersCharacterIdAgentsResearchRequest {
|
|
@@ -45,6 +47,7 @@ export interface GetCharactersCharacterIdAgentsResearchRequest {
|
|
|
45
47
|
acceptLanguage?: GetCharactersCharacterIdAgentsResearchAcceptLanguageEnum;
|
|
46
48
|
ifNoneMatch?: string;
|
|
47
49
|
xTenant?: string;
|
|
50
|
+
ifModifiedSince?: string;
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
export interface GetCharactersCharacterIdBlueprintsRequest {
|
|
@@ -54,6 +57,7 @@ export interface GetCharactersCharacterIdBlueprintsRequest {
|
|
|
54
57
|
acceptLanguage?: GetCharactersCharacterIdBlueprintsAcceptLanguageEnum;
|
|
55
58
|
ifNoneMatch?: string;
|
|
56
59
|
xTenant?: string;
|
|
60
|
+
ifModifiedSince?: string;
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
export interface GetCharactersCharacterIdCorporationhistoryRequest {
|
|
@@ -62,6 +66,7 @@ export interface GetCharactersCharacterIdCorporationhistoryRequest {
|
|
|
62
66
|
acceptLanguage?: GetCharactersCharacterIdCorporationhistoryAcceptLanguageEnum;
|
|
63
67
|
ifNoneMatch?: string;
|
|
64
68
|
xTenant?: string;
|
|
69
|
+
ifModifiedSince?: string;
|
|
65
70
|
}
|
|
66
71
|
|
|
67
72
|
export interface GetCharactersCharacterIdFatigueRequest {
|
|
@@ -70,6 +75,7 @@ export interface GetCharactersCharacterIdFatigueRequest {
|
|
|
70
75
|
acceptLanguage?: GetCharactersCharacterIdFatigueAcceptLanguageEnum;
|
|
71
76
|
ifNoneMatch?: string;
|
|
72
77
|
xTenant?: string;
|
|
78
|
+
ifModifiedSince?: string;
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
export interface GetCharactersCharacterIdMedalsRequest {
|
|
@@ -78,6 +84,7 @@ export interface GetCharactersCharacterIdMedalsRequest {
|
|
|
78
84
|
acceptLanguage?: GetCharactersCharacterIdMedalsAcceptLanguageEnum;
|
|
79
85
|
ifNoneMatch?: string;
|
|
80
86
|
xTenant?: string;
|
|
87
|
+
ifModifiedSince?: string;
|
|
81
88
|
}
|
|
82
89
|
|
|
83
90
|
export interface GetCharactersCharacterIdNotificationsRequest {
|
|
@@ -86,6 +93,7 @@ export interface GetCharactersCharacterIdNotificationsRequest {
|
|
|
86
93
|
acceptLanguage?: GetCharactersCharacterIdNotificationsAcceptLanguageEnum;
|
|
87
94
|
ifNoneMatch?: string;
|
|
88
95
|
xTenant?: string;
|
|
96
|
+
ifModifiedSince?: string;
|
|
89
97
|
}
|
|
90
98
|
|
|
91
99
|
export interface GetCharactersCharacterIdNotificationsContactsRequest {
|
|
@@ -94,6 +102,7 @@ export interface GetCharactersCharacterIdNotificationsContactsRequest {
|
|
|
94
102
|
acceptLanguage?: GetCharactersCharacterIdNotificationsContactsAcceptLanguageEnum;
|
|
95
103
|
ifNoneMatch?: string;
|
|
96
104
|
xTenant?: string;
|
|
105
|
+
ifModifiedSince?: string;
|
|
97
106
|
}
|
|
98
107
|
|
|
99
108
|
export interface GetCharactersCharacterIdPortraitRequest {
|
|
@@ -102,6 +111,7 @@ export interface GetCharactersCharacterIdPortraitRequest {
|
|
|
102
111
|
acceptLanguage?: GetCharactersCharacterIdPortraitAcceptLanguageEnum;
|
|
103
112
|
ifNoneMatch?: string;
|
|
104
113
|
xTenant?: string;
|
|
114
|
+
ifModifiedSince?: string;
|
|
105
115
|
}
|
|
106
116
|
|
|
107
117
|
export interface GetCharactersCharacterIdRolesRequest {
|
|
@@ -110,6 +120,7 @@ export interface GetCharactersCharacterIdRolesRequest {
|
|
|
110
120
|
acceptLanguage?: GetCharactersCharacterIdRolesAcceptLanguageEnum;
|
|
111
121
|
ifNoneMatch?: string;
|
|
112
122
|
xTenant?: string;
|
|
123
|
+
ifModifiedSince?: string;
|
|
113
124
|
}
|
|
114
125
|
|
|
115
126
|
export interface GetCharactersCharacterIdStandingsRequest {
|
|
@@ -118,6 +129,7 @@ export interface GetCharactersCharacterIdStandingsRequest {
|
|
|
118
129
|
acceptLanguage?: GetCharactersCharacterIdStandingsAcceptLanguageEnum;
|
|
119
130
|
ifNoneMatch?: string;
|
|
120
131
|
xTenant?: string;
|
|
132
|
+
ifModifiedSince?: string;
|
|
121
133
|
}
|
|
122
134
|
|
|
123
135
|
export interface GetCharactersCharacterIdTitlesRequest {
|
|
@@ -126,6 +138,7 @@ export interface GetCharactersCharacterIdTitlesRequest {
|
|
|
126
138
|
acceptLanguage?: GetCharactersCharacterIdTitlesAcceptLanguageEnum;
|
|
127
139
|
ifNoneMatch?: string;
|
|
128
140
|
xTenant?: string;
|
|
141
|
+
ifModifiedSince?: string;
|
|
129
142
|
}
|
|
130
143
|
|
|
131
144
|
export interface PostCharactersAffiliationRequest {
|
|
@@ -134,6 +147,7 @@ export interface PostCharactersAffiliationRequest {
|
|
|
134
147
|
acceptLanguage?: PostCharactersAffiliationAcceptLanguageEnum;
|
|
135
148
|
ifNoneMatch?: string;
|
|
136
149
|
xTenant?: string;
|
|
150
|
+
ifModifiedSince?: string;
|
|
137
151
|
}
|
|
138
152
|
|
|
139
153
|
export interface PostCharactersCharacterIdCspaRequest {
|
|
@@ -143,6 +157,7 @@ export interface PostCharactersCharacterIdCspaRequest {
|
|
|
143
157
|
acceptLanguage?: PostCharactersCharacterIdCspaAcceptLanguageEnum;
|
|
144
158
|
ifNoneMatch?: string;
|
|
145
159
|
xTenant?: string;
|
|
160
|
+
ifModifiedSince?: string;
|
|
146
161
|
}
|
|
147
162
|
|
|
148
163
|
/**
|
|
@@ -160,6 +175,7 @@ export interface CharacterApiInterface {
|
|
|
160
175
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
161
176
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
162
177
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
178
|
+
* @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.
|
|
163
179
|
* @param {*} [options] Override http request option.
|
|
164
180
|
* @throws {RequiredError}
|
|
165
181
|
* @memberof CharacterApiInterface
|
|
@@ -180,6 +196,7 @@ export interface CharacterApiInterface {
|
|
|
180
196
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
181
197
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
182
198
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
199
|
+
* @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.
|
|
183
200
|
* @param {*} [options] Override http request option.
|
|
184
201
|
* @throws {RequiredError}
|
|
185
202
|
* @memberof CharacterApiInterface
|
|
@@ -201,6 +218,7 @@ export interface CharacterApiInterface {
|
|
|
201
218
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
202
219
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
203
220
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
221
|
+
* @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.
|
|
204
222
|
* @param {*} [options] Override http request option.
|
|
205
223
|
* @throws {RequiredError}
|
|
206
224
|
* @memberof CharacterApiInterface
|
|
@@ -221,6 +239,7 @@ export interface CharacterApiInterface {
|
|
|
221
239
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
222
240
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
223
241
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
242
|
+
* @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.
|
|
224
243
|
* @param {*} [options] Override http request option.
|
|
225
244
|
* @throws {RequiredError}
|
|
226
245
|
* @memberof CharacterApiInterface
|
|
@@ -241,6 +260,7 @@ export interface CharacterApiInterface {
|
|
|
241
260
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
242
261
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
243
262
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
263
|
+
* @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.
|
|
244
264
|
* @param {*} [options] Override http request option.
|
|
245
265
|
* @throws {RequiredError}
|
|
246
266
|
* @memberof CharacterApiInterface
|
|
@@ -261,6 +281,7 @@ export interface CharacterApiInterface {
|
|
|
261
281
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
262
282
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
263
283
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
284
|
+
* @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.
|
|
264
285
|
* @param {*} [options] Override http request option.
|
|
265
286
|
* @throws {RequiredError}
|
|
266
287
|
* @memberof CharacterApiInterface
|
|
@@ -281,6 +302,7 @@ export interface CharacterApiInterface {
|
|
|
281
302
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
282
303
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
283
304
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
305
|
+
* @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.
|
|
284
306
|
* @param {*} [options] Override http request option.
|
|
285
307
|
* @throws {RequiredError}
|
|
286
308
|
* @memberof CharacterApiInterface
|
|
@@ -301,6 +323,7 @@ export interface CharacterApiInterface {
|
|
|
301
323
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
302
324
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
303
325
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
326
|
+
* @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.
|
|
304
327
|
* @param {*} [options] Override http request option.
|
|
305
328
|
* @throws {RequiredError}
|
|
306
329
|
* @memberof CharacterApiInterface
|
|
@@ -321,6 +344,7 @@ export interface CharacterApiInterface {
|
|
|
321
344
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
322
345
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
323
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.
|
|
324
348
|
* @param {*} [options] Override http request option.
|
|
325
349
|
* @throws {RequiredError}
|
|
326
350
|
* @memberof CharacterApiInterface
|
|
@@ -341,6 +365,7 @@ export interface CharacterApiInterface {
|
|
|
341
365
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
342
366
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
343
367
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
368
|
+
* @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.
|
|
344
369
|
* @param {*} [options] Override http request option.
|
|
345
370
|
* @throws {RequiredError}
|
|
346
371
|
* @memberof CharacterApiInterface
|
|
@@ -361,6 +386,7 @@ export interface CharacterApiInterface {
|
|
|
361
386
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
362
387
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
363
388
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
389
|
+
* @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.
|
|
364
390
|
* @param {*} [options] Override http request option.
|
|
365
391
|
* @throws {RequiredError}
|
|
366
392
|
* @memberof CharacterApiInterface
|
|
@@ -381,6 +407,7 @@ export interface CharacterApiInterface {
|
|
|
381
407
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
382
408
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
383
409
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
410
|
+
* @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.
|
|
384
411
|
* @param {*} [options] Override http request option.
|
|
385
412
|
* @throws {RequiredError}
|
|
386
413
|
* @memberof CharacterApiInterface
|
|
@@ -401,6 +428,7 @@ export interface CharacterApiInterface {
|
|
|
401
428
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
402
429
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
403
430
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
431
|
+
* @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.
|
|
404
432
|
* @param {*} [options] Override http request option.
|
|
405
433
|
* @throws {RequiredError}
|
|
406
434
|
* @memberof CharacterApiInterface
|
|
@@ -422,6 +450,7 @@ export interface CharacterApiInterface {
|
|
|
422
450
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
423
451
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
424
452
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
453
|
+
* @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.
|
|
425
454
|
* @param {*} [options] Override http request option.
|
|
426
455
|
* @throws {RequiredError}
|
|
427
456
|
* @memberof CharacterApiInterface
|
|
@@ -480,12 +509,21 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
480
509
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
481
510
|
}
|
|
482
511
|
|
|
512
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
513
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
514
|
+
}
|
|
515
|
+
|
|
483
516
|
/*
|
|
484
517
|
*/
|
|
485
518
|
|
|
486
519
|
let urlPath = `/characters/{character_id}`;
|
|
487
520
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
488
521
|
|
|
522
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
523
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
524
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
525
|
+
}
|
|
526
|
+
|
|
489
527
|
const facade = this.configuration?.apiFacade;
|
|
490
528
|
if (!facade) {
|
|
491
529
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -549,6 +587,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
549
587
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
550
588
|
}
|
|
551
589
|
|
|
590
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
591
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
592
|
+
}
|
|
593
|
+
|
|
552
594
|
/*
|
|
553
595
|
if (this.configuration && this.configuration.accessToken) {
|
|
554
596
|
// oauth required
|
|
@@ -560,6 +602,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
560
602
|
let urlPath = `/characters/{character_id}/agents_research`;
|
|
561
603
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
562
604
|
|
|
605
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
606
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
607
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
608
|
+
}
|
|
609
|
+
|
|
563
610
|
const facade = this.configuration?.apiFacade;
|
|
564
611
|
if (!facade) {
|
|
565
612
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -627,6 +674,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
627
674
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
628
675
|
}
|
|
629
676
|
|
|
677
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
678
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
679
|
+
}
|
|
680
|
+
|
|
630
681
|
/*
|
|
631
682
|
if (this.configuration && this.configuration.accessToken) {
|
|
632
683
|
// oauth required
|
|
@@ -638,6 +689,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
638
689
|
let urlPath = `/characters/{character_id}/blueprints`;
|
|
639
690
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
640
691
|
|
|
692
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
693
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
694
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
695
|
+
}
|
|
696
|
+
|
|
641
697
|
const facade = this.configuration?.apiFacade;
|
|
642
698
|
if (!facade) {
|
|
643
699
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -701,12 +757,21 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
701
757
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
702
758
|
}
|
|
703
759
|
|
|
760
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
761
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
762
|
+
}
|
|
763
|
+
|
|
704
764
|
/*
|
|
705
765
|
*/
|
|
706
766
|
|
|
707
767
|
let urlPath = `/characters/{character_id}/corporationhistory`;
|
|
708
768
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
709
769
|
|
|
770
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
771
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
772
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
773
|
+
}
|
|
774
|
+
|
|
710
775
|
const facade = this.configuration?.apiFacade;
|
|
711
776
|
if (!facade) {
|
|
712
777
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -770,6 +835,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
770
835
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
771
836
|
}
|
|
772
837
|
|
|
838
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
839
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
840
|
+
}
|
|
841
|
+
|
|
773
842
|
/*
|
|
774
843
|
if (this.configuration && this.configuration.accessToken) {
|
|
775
844
|
// oauth required
|
|
@@ -781,6 +850,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
781
850
|
let urlPath = `/characters/{character_id}/fatigue`;
|
|
782
851
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
783
852
|
|
|
853
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
854
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
855
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
856
|
+
}
|
|
857
|
+
|
|
784
858
|
const facade = this.configuration?.apiFacade;
|
|
785
859
|
if (!facade) {
|
|
786
860
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -844,6 +918,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
844
918
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
845
919
|
}
|
|
846
920
|
|
|
921
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
922
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
923
|
+
}
|
|
924
|
+
|
|
847
925
|
/*
|
|
848
926
|
if (this.configuration && this.configuration.accessToken) {
|
|
849
927
|
// oauth required
|
|
@@ -855,6 +933,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
855
933
|
let urlPath = `/characters/{character_id}/medals`;
|
|
856
934
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
857
935
|
|
|
936
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
937
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
938
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
939
|
+
}
|
|
940
|
+
|
|
858
941
|
const facade = this.configuration?.apiFacade;
|
|
859
942
|
if (!facade) {
|
|
860
943
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -918,6 +1001,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
918
1001
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
919
1002
|
}
|
|
920
1003
|
|
|
1004
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1005
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
921
1008
|
/*
|
|
922
1009
|
if (this.configuration && this.configuration.accessToken) {
|
|
923
1010
|
// oauth required
|
|
@@ -929,6 +1016,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
929
1016
|
let urlPath = `/characters/{character_id}/notifications`;
|
|
930
1017
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
931
1018
|
|
|
1019
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1020
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1021
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
932
1024
|
const facade = this.configuration?.apiFacade;
|
|
933
1025
|
if (!facade) {
|
|
934
1026
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -992,6 +1084,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
992
1084
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
993
1085
|
}
|
|
994
1086
|
|
|
1087
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1088
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1089
|
+
}
|
|
1090
|
+
|
|
995
1091
|
/*
|
|
996
1092
|
if (this.configuration && this.configuration.accessToken) {
|
|
997
1093
|
// oauth required
|
|
@@ -1003,6 +1099,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1003
1099
|
let urlPath = `/characters/{character_id}/notifications/contacts`;
|
|
1004
1100
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1005
1101
|
|
|
1102
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1103
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1104
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1006
1107
|
const facade = this.configuration?.apiFacade;
|
|
1007
1108
|
if (!facade) {
|
|
1008
1109
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1066,12 +1167,21 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1066
1167
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1067
1168
|
}
|
|
1068
1169
|
|
|
1170
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1171
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1069
1174
|
/*
|
|
1070
1175
|
*/
|
|
1071
1176
|
|
|
1072
1177
|
let urlPath = `/characters/{character_id}/portrait`;
|
|
1073
1178
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1074
1179
|
|
|
1180
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1181
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1182
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1075
1185
|
const facade = this.configuration?.apiFacade;
|
|
1076
1186
|
if (!facade) {
|
|
1077
1187
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1135,6 +1245,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1135
1245
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1136
1246
|
}
|
|
1137
1247
|
|
|
1248
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1249
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1138
1252
|
/*
|
|
1139
1253
|
if (this.configuration && this.configuration.accessToken) {
|
|
1140
1254
|
// oauth required
|
|
@@ -1146,6 +1260,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1146
1260
|
let urlPath = `/characters/{character_id}/roles`;
|
|
1147
1261
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1148
1262
|
|
|
1263
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1264
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1265
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1149
1268
|
const facade = this.configuration?.apiFacade;
|
|
1150
1269
|
if (!facade) {
|
|
1151
1270
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1209,6 +1328,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1209
1328
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1210
1329
|
}
|
|
1211
1330
|
|
|
1331
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1332
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1212
1335
|
/*
|
|
1213
1336
|
if (this.configuration && this.configuration.accessToken) {
|
|
1214
1337
|
// oauth required
|
|
@@ -1220,6 +1343,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1220
1343
|
let urlPath = `/characters/{character_id}/standings`;
|
|
1221
1344
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1222
1345
|
|
|
1346
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1347
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1348
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1223
1351
|
const facade = this.configuration?.apiFacade;
|
|
1224
1352
|
if (!facade) {
|
|
1225
1353
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1283,6 +1411,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1283
1411
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1284
1412
|
}
|
|
1285
1413
|
|
|
1414
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1415
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1286
1418
|
/*
|
|
1287
1419
|
if (this.configuration && this.configuration.accessToken) {
|
|
1288
1420
|
// oauth required
|
|
@@ -1294,6 +1426,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1294
1426
|
let urlPath = `/characters/{character_id}/titles`;
|
|
1295
1427
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1296
1428
|
|
|
1429
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1430
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1431
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1297
1434
|
const facade = this.configuration?.apiFacade;
|
|
1298
1435
|
if (!facade) {
|
|
1299
1436
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1359,11 +1496,20 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1359
1496
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1360
1497
|
}
|
|
1361
1498
|
|
|
1499
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1500
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1362
1503
|
/*
|
|
1363
1504
|
*/
|
|
1364
1505
|
|
|
1365
1506
|
let urlPath = `/characters/affiliation`;
|
|
1366
1507
|
|
|
1508
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1509
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1510
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1367
1513
|
const facade = this.configuration?.apiFacade;
|
|
1368
1514
|
if (!facade) {
|
|
1369
1515
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1437,6 +1583,10 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1437
1583
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1438
1584
|
}
|
|
1439
1585
|
|
|
1586
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1587
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1440
1590
|
/*
|
|
1441
1591
|
if (this.configuration && this.configuration.accessToken) {
|
|
1442
1592
|
// oauth required
|
|
@@ -1448,6 +1598,11 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
|
|
|
1448
1598
|
let urlPath = `/characters/{character_id}/cspa`;
|
|
1449
1599
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
1450
1600
|
|
|
1601
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1602
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1603
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1451
1606
|
const facade = this.configuration?.apiFacade;
|
|
1452
1607
|
if (!facade) {
|
|
1453
1608
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/ClonesApi.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
|
CharactersCharacterIdClonesGet,
|
|
@@ -25,6 +26,7 @@ export interface GetCharactersCharacterIdClonesRequest {
|
|
|
25
26
|
acceptLanguage?: GetCharactersCharacterIdClonesAcceptLanguageEnum;
|
|
26
27
|
ifNoneMatch?: string;
|
|
27
28
|
xTenant?: string;
|
|
29
|
+
ifModifiedSince?: string;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
export interface GetCharactersCharacterIdImplantsRequest {
|
|
@@ -33,6 +35,7 @@ export interface GetCharactersCharacterIdImplantsRequest {
|
|
|
33
35
|
acceptLanguage?: GetCharactersCharacterIdImplantsAcceptLanguageEnum;
|
|
34
36
|
ifNoneMatch?: string;
|
|
35
37
|
xTenant?: string;
|
|
38
|
+
ifModifiedSince?: string;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
/**
|
|
@@ -50,6 +53,7 @@ export interface ClonesApiInterface {
|
|
|
50
53
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
51
54
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
52
55
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
56
|
+
* @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.
|
|
53
57
|
* @param {*} [options] Override http request option.
|
|
54
58
|
* @throws {RequiredError}
|
|
55
59
|
* @memberof ClonesApiInterface
|
|
@@ -70,6 +74,7 @@ export interface ClonesApiInterface {
|
|
|
70
74
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
71
75
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
72
76
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
77
|
+
* @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.
|
|
73
78
|
* @param {*} [options] Override http request option.
|
|
74
79
|
* @throws {RequiredError}
|
|
75
80
|
* @memberof ClonesApiInterface
|
|
@@ -128,6 +133,10 @@ export class ClonesApi extends runtime.BaseAPI implements ClonesApiInterface {
|
|
|
128
133
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
129
134
|
}
|
|
130
135
|
|
|
136
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
137
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
138
|
+
}
|
|
139
|
+
|
|
131
140
|
/*
|
|
132
141
|
if (this.configuration && this.configuration.accessToken) {
|
|
133
142
|
// oauth required
|
|
@@ -139,6 +148,11 @@ export class ClonesApi extends runtime.BaseAPI implements ClonesApiInterface {
|
|
|
139
148
|
let urlPath = `/characters/{character_id}/clones`;
|
|
140
149
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
141
150
|
|
|
151
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
152
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
153
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
154
|
+
}
|
|
155
|
+
|
|
142
156
|
const facade = this.configuration?.apiFacade;
|
|
143
157
|
if (!facade) {
|
|
144
158
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -202,6 +216,10 @@ export class ClonesApi extends runtime.BaseAPI implements ClonesApiInterface {
|
|
|
202
216
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
203
217
|
}
|
|
204
218
|
|
|
219
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
220
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
221
|
+
}
|
|
222
|
+
|
|
205
223
|
/*
|
|
206
224
|
if (this.configuration && this.configuration.accessToken) {
|
|
207
225
|
// oauth required
|
|
@@ -213,6 +231,11 @@ export class ClonesApi extends runtime.BaseAPI implements ClonesApiInterface {
|
|
|
213
231
|
let urlPath = `/characters/{character_id}/implants`;
|
|
214
232
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
215
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
|
+
|
|
216
239
|
const facade = this.configuration?.apiFacade;
|
|
217
240
|
if (!facade) {
|
|
218
241
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|