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
|
@@ -18,6 +18,7 @@ export interface DeleteCharactersCharacterIdContactsRequest {
|
|
|
18
18
|
acceptLanguage?: DeleteCharactersCharacterIdContactsAcceptLanguageEnum;
|
|
19
19
|
ifNoneMatch?: string;
|
|
20
20
|
xTenant?: string;
|
|
21
|
+
ifModifiedSince?: string;
|
|
21
22
|
}
|
|
22
23
|
export interface GetAlliancesAllianceIdContactsRequest {
|
|
23
24
|
allianceId: number;
|
|
@@ -26,6 +27,7 @@ export interface GetAlliancesAllianceIdContactsRequest {
|
|
|
26
27
|
acceptLanguage?: GetAlliancesAllianceIdContactsAcceptLanguageEnum;
|
|
27
28
|
ifNoneMatch?: string;
|
|
28
29
|
xTenant?: string;
|
|
30
|
+
ifModifiedSince?: string;
|
|
29
31
|
}
|
|
30
32
|
export interface GetAlliancesAllianceIdContactsLabelsRequest {
|
|
31
33
|
allianceId: number;
|
|
@@ -33,6 +35,7 @@ export interface GetAlliancesAllianceIdContactsLabelsRequest {
|
|
|
33
35
|
acceptLanguage?: GetAlliancesAllianceIdContactsLabelsAcceptLanguageEnum;
|
|
34
36
|
ifNoneMatch?: string;
|
|
35
37
|
xTenant?: string;
|
|
38
|
+
ifModifiedSince?: string;
|
|
36
39
|
}
|
|
37
40
|
export interface GetCharactersCharacterIdContactsRequest {
|
|
38
41
|
characterId: number;
|
|
@@ -41,6 +44,7 @@ export interface GetCharactersCharacterIdContactsRequest {
|
|
|
41
44
|
acceptLanguage?: GetCharactersCharacterIdContactsAcceptLanguageEnum;
|
|
42
45
|
ifNoneMatch?: string;
|
|
43
46
|
xTenant?: string;
|
|
47
|
+
ifModifiedSince?: string;
|
|
44
48
|
}
|
|
45
49
|
export interface GetCharactersCharacterIdContactsLabelsRequest {
|
|
46
50
|
characterId: number;
|
|
@@ -48,6 +52,7 @@ export interface GetCharactersCharacterIdContactsLabelsRequest {
|
|
|
48
52
|
acceptLanguage?: GetCharactersCharacterIdContactsLabelsAcceptLanguageEnum;
|
|
49
53
|
ifNoneMatch?: string;
|
|
50
54
|
xTenant?: string;
|
|
55
|
+
ifModifiedSince?: string;
|
|
51
56
|
}
|
|
52
57
|
export interface GetCorporationsCorporationIdContactsRequest {
|
|
53
58
|
corporationId: number;
|
|
@@ -56,6 +61,7 @@ export interface GetCorporationsCorporationIdContactsRequest {
|
|
|
56
61
|
acceptLanguage?: GetCorporationsCorporationIdContactsAcceptLanguageEnum;
|
|
57
62
|
ifNoneMatch?: string;
|
|
58
63
|
xTenant?: string;
|
|
64
|
+
ifModifiedSince?: string;
|
|
59
65
|
}
|
|
60
66
|
export interface GetCorporationsCorporationIdContactsLabelsRequest {
|
|
61
67
|
corporationId: number;
|
|
@@ -63,6 +69,7 @@ export interface GetCorporationsCorporationIdContactsLabelsRequest {
|
|
|
63
69
|
acceptLanguage?: GetCorporationsCorporationIdContactsLabelsAcceptLanguageEnum;
|
|
64
70
|
ifNoneMatch?: string;
|
|
65
71
|
xTenant?: string;
|
|
72
|
+
ifModifiedSince?: string;
|
|
66
73
|
}
|
|
67
74
|
export interface PostCharactersCharacterIdContactsRequest {
|
|
68
75
|
characterId: number;
|
|
@@ -74,6 +81,7 @@ export interface PostCharactersCharacterIdContactsRequest {
|
|
|
74
81
|
acceptLanguage?: PostCharactersCharacterIdContactsAcceptLanguageEnum;
|
|
75
82
|
ifNoneMatch?: string;
|
|
76
83
|
xTenant?: string;
|
|
84
|
+
ifModifiedSince?: string;
|
|
77
85
|
}
|
|
78
86
|
export interface PutCharactersCharacterIdContactsRequest {
|
|
79
87
|
characterId: number;
|
|
@@ -85,6 +93,7 @@ export interface PutCharactersCharacterIdContactsRequest {
|
|
|
85
93
|
acceptLanguage?: PutCharactersCharacterIdContactsAcceptLanguageEnum;
|
|
86
94
|
ifNoneMatch?: string;
|
|
87
95
|
xTenant?: string;
|
|
96
|
+
ifModifiedSince?: string;
|
|
88
97
|
}
|
|
89
98
|
/**
|
|
90
99
|
* ContactsApi - interface
|
|
@@ -102,6 +111,7 @@ export interface ContactsApiInterface {
|
|
|
102
111
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
103
112
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
104
113
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
114
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
105
115
|
* @param {*} [options] Override http request option.
|
|
106
116
|
* @throws {RequiredError}
|
|
107
117
|
* @memberof ContactsApiInterface
|
|
@@ -121,6 +131,7 @@ export interface ContactsApiInterface {
|
|
|
121
131
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
122
132
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
123
133
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
134
|
+
* @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.
|
|
124
135
|
* @param {*} [options] Override http request option.
|
|
125
136
|
* @throws {RequiredError}
|
|
126
137
|
* @memberof ContactsApiInterface
|
|
@@ -139,6 +150,7 @@ export interface ContactsApiInterface {
|
|
|
139
150
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
140
151
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
141
152
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
153
|
+
* @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.
|
|
142
154
|
* @param {*} [options] Override http request option.
|
|
143
155
|
* @throws {RequiredError}
|
|
144
156
|
* @memberof ContactsApiInterface
|
|
@@ -158,6 +170,7 @@ export interface ContactsApiInterface {
|
|
|
158
170
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
159
171
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
160
172
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
173
|
+
* @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
174
|
* @param {*} [options] Override http request option.
|
|
162
175
|
* @throws {RequiredError}
|
|
163
176
|
* @memberof ContactsApiInterface
|
|
@@ -176,6 +189,7 @@ export interface ContactsApiInterface {
|
|
|
176
189
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
177
190
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
178
191
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
192
|
+
* @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.
|
|
179
193
|
* @param {*} [options] Override http request option.
|
|
180
194
|
* @throws {RequiredError}
|
|
181
195
|
* @memberof ContactsApiInterface
|
|
@@ -195,6 +209,7 @@ export interface ContactsApiInterface {
|
|
|
195
209
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
196
210
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
197
211
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
212
|
+
* @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.
|
|
198
213
|
* @param {*} [options] Override http request option.
|
|
199
214
|
* @throws {RequiredError}
|
|
200
215
|
* @memberof ContactsApiInterface
|
|
@@ -213,6 +228,7 @@ export interface ContactsApiInterface {
|
|
|
213
228
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
214
229
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
215
230
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
231
|
+
* @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.
|
|
216
232
|
* @param {*} [options] Override http request option.
|
|
217
233
|
* @throws {RequiredError}
|
|
218
234
|
* @memberof ContactsApiInterface
|
|
@@ -235,6 +251,7 @@ export interface ContactsApiInterface {
|
|
|
235
251
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
236
252
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
237
253
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
254
|
+
* @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.
|
|
238
255
|
* @param {*} [options] Override http request option.
|
|
239
256
|
* @throws {RequiredError}
|
|
240
257
|
* @memberof ContactsApiInterface
|
|
@@ -257,6 +274,7 @@ export interface ContactsApiInterface {
|
|
|
257
274
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
258
275
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
259
276
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
277
|
+
* @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.
|
|
260
278
|
* @param {*} [options] Override http request option.
|
|
261
279
|
* @throws {RequiredError}
|
|
262
280
|
* @memberof ContactsApiInterface
|
package/dist/apis/ContactsApi.js
CHANGED
|
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.PutCharactersCharacterIdContactsAcceptLanguageEnum = exports.PutCharactersCharacterIdContactsXCompatibilityDateEnum = exports.PostCharactersCharacterIdContactsAcceptLanguageEnum = exports.PostCharactersCharacterIdContactsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContactsLabelsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContactsLabelsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContactsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContactsXCompatibilityDateEnum = exports.GetCharactersCharacterIdContactsLabelsAcceptLanguageEnum = exports.GetCharactersCharacterIdContactsLabelsXCompatibilityDateEnum = exports.GetCharactersCharacterIdContactsAcceptLanguageEnum = exports.GetCharactersCharacterIdContactsXCompatibilityDateEnum = exports.GetAlliancesAllianceIdContactsLabelsAcceptLanguageEnum = exports.GetAlliancesAllianceIdContactsLabelsXCompatibilityDateEnum = exports.GetAlliancesAllianceIdContactsAcceptLanguageEnum = exports.GetAlliancesAllianceIdContactsXCompatibilityDateEnum = exports.DeleteCharactersCharacterIdContactsAcceptLanguageEnum = exports.DeleteCharactersCharacterIdContactsXCompatibilityDateEnum = exports.ContactsApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
+
var constants_1 = require("../constants");
|
|
69
70
|
/**
|
|
70
71
|
*
|
|
71
72
|
*/
|
|
@@ -111,8 +112,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
111
112
|
if (requestParameters['xTenant'] != null) {
|
|
112
113
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
113
114
|
}
|
|
115
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
116
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
117
|
+
}
|
|
114
118
|
urlPath = "/characters/{character_id}/contacts";
|
|
115
119
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
120
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
121
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
122
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
123
|
+
}
|
|
116
124
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
117
125
|
if (!facade) {
|
|
118
126
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -178,8 +186,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
178
186
|
if (requestParameters['xTenant'] != null) {
|
|
179
187
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
180
188
|
}
|
|
189
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
190
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
191
|
+
}
|
|
181
192
|
urlPath = "/alliances/{alliance_id}/contacts";
|
|
182
193
|
urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
|
|
194
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
195
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
196
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
197
|
+
}
|
|
183
198
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
184
199
|
if (!facade) {
|
|
185
200
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -245,8 +260,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
245
260
|
if (requestParameters['xTenant'] != null) {
|
|
246
261
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
247
262
|
}
|
|
263
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
264
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
265
|
+
}
|
|
248
266
|
urlPath = "/alliances/{alliance_id}/contacts/labels";
|
|
249
267
|
urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
|
|
268
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
269
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
270
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
271
|
+
}
|
|
250
272
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
251
273
|
if (!facade) {
|
|
252
274
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -315,8 +337,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
315
337
|
if (requestParameters['xTenant'] != null) {
|
|
316
338
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
317
339
|
}
|
|
340
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
341
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
342
|
+
}
|
|
318
343
|
urlPath = "/characters/{character_id}/contacts";
|
|
319
344
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
345
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
346
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
347
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
348
|
+
}
|
|
320
349
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
321
350
|
if (!facade) {
|
|
322
351
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -382,8 +411,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
382
411
|
if (requestParameters['xTenant'] != null) {
|
|
383
412
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
384
413
|
}
|
|
414
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
415
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
416
|
+
}
|
|
385
417
|
urlPath = "/characters/{character_id}/contacts/labels";
|
|
386
418
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
419
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
420
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
421
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
422
|
+
}
|
|
387
423
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
388
424
|
if (!facade) {
|
|
389
425
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -452,8 +488,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
452
488
|
if (requestParameters['xTenant'] != null) {
|
|
453
489
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
454
490
|
}
|
|
491
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
492
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
493
|
+
}
|
|
455
494
|
urlPath = "/corporations/{corporation_id}/contacts";
|
|
456
495
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
496
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
497
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
498
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
499
|
+
}
|
|
457
500
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
458
501
|
if (!facade) {
|
|
459
502
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -519,8 +562,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
519
562
|
if (requestParameters['xTenant'] != null) {
|
|
520
563
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
521
564
|
}
|
|
565
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
566
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
567
|
+
}
|
|
522
568
|
urlPath = "/corporations/{corporation_id}/contacts/labels";
|
|
523
569
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
570
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
571
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
572
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
573
|
+
}
|
|
524
574
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
525
575
|
if (!facade) {
|
|
526
576
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -602,8 +652,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
602
652
|
if (requestParameters['xTenant'] != null) {
|
|
603
653
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
604
654
|
}
|
|
655
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
656
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
657
|
+
}
|
|
605
658
|
urlPath = "/characters/{character_id}/contacts";
|
|
606
659
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
660
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
661
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
662
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
663
|
+
}
|
|
607
664
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
608
665
|
if (!facade) {
|
|
609
666
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -686,8 +743,15 @@ var ContactsApi = /** @class */ (function (_super) {
|
|
|
686
743
|
if (requestParameters['xTenant'] != null) {
|
|
687
744
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
688
745
|
}
|
|
746
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
747
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
748
|
+
}
|
|
689
749
|
urlPath = "/characters/{character_id}/contacts";
|
|
690
750
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
751
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
752
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
753
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
754
|
+
}
|
|
691
755
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
692
756
|
if (!facade) {
|
|
693
757
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -18,6 +18,7 @@ export interface GetCharactersCharacterIdContractsRequest {
|
|
|
18
18
|
acceptLanguage?: GetCharactersCharacterIdContractsAcceptLanguageEnum;
|
|
19
19
|
ifNoneMatch?: string;
|
|
20
20
|
xTenant?: string;
|
|
21
|
+
ifModifiedSince?: string;
|
|
21
22
|
}
|
|
22
23
|
export interface GetCharactersCharacterIdContractsContractIdBidsRequest {
|
|
23
24
|
characterId: number;
|
|
@@ -26,6 +27,7 @@ export interface GetCharactersCharacterIdContractsContractIdBidsRequest {
|
|
|
26
27
|
acceptLanguage?: GetCharactersCharacterIdContractsContractIdBidsAcceptLanguageEnum;
|
|
27
28
|
ifNoneMatch?: string;
|
|
28
29
|
xTenant?: string;
|
|
30
|
+
ifModifiedSince?: string;
|
|
29
31
|
}
|
|
30
32
|
export interface GetCharactersCharacterIdContractsContractIdItemsRequest {
|
|
31
33
|
characterId: number;
|
|
@@ -34,6 +36,7 @@ export interface GetCharactersCharacterIdContractsContractIdItemsRequest {
|
|
|
34
36
|
acceptLanguage?: GetCharactersCharacterIdContractsContractIdItemsAcceptLanguageEnum;
|
|
35
37
|
ifNoneMatch?: string;
|
|
36
38
|
xTenant?: string;
|
|
39
|
+
ifModifiedSince?: string;
|
|
37
40
|
}
|
|
38
41
|
export interface GetContractsPublicBidsContractIdRequest {
|
|
39
42
|
contractId: number;
|
|
@@ -42,6 +45,7 @@ export interface GetContractsPublicBidsContractIdRequest {
|
|
|
42
45
|
acceptLanguage?: GetContractsPublicBidsContractIdAcceptLanguageEnum;
|
|
43
46
|
ifNoneMatch?: string;
|
|
44
47
|
xTenant?: string;
|
|
48
|
+
ifModifiedSince?: string;
|
|
45
49
|
}
|
|
46
50
|
export interface GetContractsPublicItemsContractIdRequest {
|
|
47
51
|
contractId: number;
|
|
@@ -50,6 +54,7 @@ export interface GetContractsPublicItemsContractIdRequest {
|
|
|
50
54
|
acceptLanguage?: GetContractsPublicItemsContractIdAcceptLanguageEnum;
|
|
51
55
|
ifNoneMatch?: string;
|
|
52
56
|
xTenant?: string;
|
|
57
|
+
ifModifiedSince?: string;
|
|
53
58
|
}
|
|
54
59
|
export interface GetContractsPublicRegionIdRequest {
|
|
55
60
|
regionId: number;
|
|
@@ -58,6 +63,7 @@ export interface GetContractsPublicRegionIdRequest {
|
|
|
58
63
|
acceptLanguage?: GetContractsPublicRegionIdAcceptLanguageEnum;
|
|
59
64
|
ifNoneMatch?: string;
|
|
60
65
|
xTenant?: string;
|
|
66
|
+
ifModifiedSince?: string;
|
|
61
67
|
}
|
|
62
68
|
export interface GetCorporationsCorporationIdContractsRequest {
|
|
63
69
|
corporationId: number;
|
|
@@ -66,6 +72,7 @@ export interface GetCorporationsCorporationIdContractsRequest {
|
|
|
66
72
|
acceptLanguage?: GetCorporationsCorporationIdContractsAcceptLanguageEnum;
|
|
67
73
|
ifNoneMatch?: string;
|
|
68
74
|
xTenant?: string;
|
|
75
|
+
ifModifiedSince?: string;
|
|
69
76
|
}
|
|
70
77
|
export interface GetCorporationsCorporationIdContractsContractIdBidsRequest {
|
|
71
78
|
contractId: number;
|
|
@@ -75,6 +82,7 @@ export interface GetCorporationsCorporationIdContractsContractIdBidsRequest {
|
|
|
75
82
|
acceptLanguage?: GetCorporationsCorporationIdContractsContractIdBidsAcceptLanguageEnum;
|
|
76
83
|
ifNoneMatch?: string;
|
|
77
84
|
xTenant?: string;
|
|
85
|
+
ifModifiedSince?: string;
|
|
78
86
|
}
|
|
79
87
|
export interface GetCorporationsCorporationIdContractsContractIdItemsRequest {
|
|
80
88
|
contractId: number;
|
|
@@ -83,6 +91,7 @@ export interface GetCorporationsCorporationIdContractsContractIdItemsRequest {
|
|
|
83
91
|
acceptLanguage?: GetCorporationsCorporationIdContractsContractIdItemsAcceptLanguageEnum;
|
|
84
92
|
ifNoneMatch?: string;
|
|
85
93
|
xTenant?: string;
|
|
94
|
+
ifModifiedSince?: string;
|
|
86
95
|
}
|
|
87
96
|
/**
|
|
88
97
|
* ContractsApi - interface
|
|
@@ -100,6 +109,7 @@ export interface ContractsApiInterface {
|
|
|
100
109
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
101
110
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
102
111
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
112
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
103
113
|
* @param {*} [options] Override http request option.
|
|
104
114
|
* @throws {RequiredError}
|
|
105
115
|
* @memberof ContractsApiInterface
|
|
@@ -119,6 +129,7 @@ export interface ContractsApiInterface {
|
|
|
119
129
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
120
130
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
121
131
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
132
|
+
* @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.
|
|
122
133
|
* @param {*} [options] Override http request option.
|
|
123
134
|
* @throws {RequiredError}
|
|
124
135
|
* @memberof ContractsApiInterface
|
|
@@ -138,6 +149,7 @@ export interface ContractsApiInterface {
|
|
|
138
149
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
139
150
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
140
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.
|
|
141
153
|
* @param {*} [options] Override http request option.
|
|
142
154
|
* @throws {RequiredError}
|
|
143
155
|
* @memberof ContractsApiInterface
|
|
@@ -157,6 +169,7 @@ export interface ContractsApiInterface {
|
|
|
157
169
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
158
170
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
159
171
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
172
|
+
* @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.
|
|
160
173
|
* @param {*} [options] Override http request option.
|
|
161
174
|
* @throws {RequiredError}
|
|
162
175
|
* @memberof ContractsApiInterface
|
|
@@ -176,6 +189,7 @@ export interface ContractsApiInterface {
|
|
|
176
189
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
177
190
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
178
191
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
192
|
+
* @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.
|
|
179
193
|
* @param {*} [options] Override http request option.
|
|
180
194
|
* @throws {RequiredError}
|
|
181
195
|
* @memberof ContractsApiInterface
|
|
@@ -195,6 +209,7 @@ export interface ContractsApiInterface {
|
|
|
195
209
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
196
210
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
197
211
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
212
|
+
* @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.
|
|
198
213
|
* @param {*} [options] Override http request option.
|
|
199
214
|
* @throws {RequiredError}
|
|
200
215
|
* @memberof ContractsApiInterface
|
|
@@ -214,6 +229,7 @@ export interface ContractsApiInterface {
|
|
|
214
229
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
215
230
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
216
231
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
232
|
+
* @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.
|
|
217
233
|
* @param {*} [options] Override http request option.
|
|
218
234
|
* @throws {RequiredError}
|
|
219
235
|
* @memberof ContractsApiInterface
|
|
@@ -234,6 +250,7 @@ export interface ContractsApiInterface {
|
|
|
234
250
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
235
251
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
236
252
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
253
|
+
* @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.
|
|
237
254
|
* @param {*} [options] Override http request option.
|
|
238
255
|
* @throws {RequiredError}
|
|
239
256
|
* @memberof ContractsApiInterface
|
|
@@ -253,6 +270,7 @@ export interface ContractsApiInterface {
|
|
|
253
270
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
254
271
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
255
272
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
273
|
+
* @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.
|
|
256
274
|
* @param {*} [options] Override http request option.
|
|
257
275
|
* @throws {RequiredError}
|
|
258
276
|
* @memberof ContractsApiInterface
|
|
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCorporationsCorporationIdContractsContractIdItemsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContractsContractIdItemsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContractsContractIdBidsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContractsContractIdBidsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContractsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContractsXCompatibilityDateEnum = exports.GetContractsPublicRegionIdAcceptLanguageEnum = exports.GetContractsPublicRegionIdXCompatibilityDateEnum = exports.GetContractsPublicItemsContractIdAcceptLanguageEnum = exports.GetContractsPublicItemsContractIdXCompatibilityDateEnum = exports.GetContractsPublicBidsContractIdAcceptLanguageEnum = exports.GetContractsPublicBidsContractIdXCompatibilityDateEnum = exports.GetCharactersCharacterIdContractsContractIdItemsAcceptLanguageEnum = exports.GetCharactersCharacterIdContractsContractIdItemsXCompatibilityDateEnum = exports.GetCharactersCharacterIdContractsContractIdBidsAcceptLanguageEnum = exports.GetCharactersCharacterIdContractsContractIdBidsXCompatibilityDateEnum = exports.GetCharactersCharacterIdContractsAcceptLanguageEnum = exports.GetCharactersCharacterIdContractsXCompatibilityDateEnum = exports.ContractsApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
+
var constants_1 = require("../constants");
|
|
69
70
|
/**
|
|
70
71
|
*
|
|
71
72
|
*/
|
|
@@ -108,8 +109,15 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
108
109
|
if (requestParameters['xTenant'] != null) {
|
|
109
110
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
110
111
|
}
|
|
112
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
113
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
114
|
+
}
|
|
111
115
|
urlPath = "/characters/{character_id}/contracts";
|
|
112
116
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
117
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
118
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
119
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
120
|
+
}
|
|
113
121
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
114
122
|
if (!facade) {
|
|
115
123
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -178,9 +186,16 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
178
186
|
if (requestParameters['xTenant'] != null) {
|
|
179
187
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
180
188
|
}
|
|
189
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
190
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
191
|
+
}
|
|
181
192
|
urlPath = "/characters/{character_id}/contracts/{contract_id}/bids";
|
|
182
193
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
183
194
|
urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
|
|
195
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
196
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
197
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
198
|
+
}
|
|
184
199
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
185
200
|
if (!facade) {
|
|
186
201
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -249,9 +264,16 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
249
264
|
if (requestParameters['xTenant'] != null) {
|
|
250
265
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
251
266
|
}
|
|
267
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
268
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
269
|
+
}
|
|
252
270
|
urlPath = "/characters/{character_id}/contracts/{contract_id}/items";
|
|
253
271
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
254
272
|
urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
|
|
273
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
274
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
275
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
276
|
+
}
|
|
255
277
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
256
278
|
if (!facade) {
|
|
257
279
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -320,8 +342,15 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
320
342
|
if (requestParameters['xTenant'] != null) {
|
|
321
343
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
322
344
|
}
|
|
345
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
346
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
347
|
+
}
|
|
323
348
|
urlPath = "/contracts/public/bids/{contract_id}";
|
|
324
349
|
urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
|
|
350
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
351
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
352
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
353
|
+
}
|
|
325
354
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
326
355
|
if (!facade) {
|
|
327
356
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -390,8 +419,15 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
390
419
|
if (requestParameters['xTenant'] != null) {
|
|
391
420
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
392
421
|
}
|
|
422
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
423
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
424
|
+
}
|
|
393
425
|
urlPath = "/contracts/public/items/{contract_id}";
|
|
394
426
|
urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
|
|
427
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
428
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
429
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
430
|
+
}
|
|
395
431
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
396
432
|
if (!facade) {
|
|
397
433
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -460,8 +496,15 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
460
496
|
if (requestParameters['xTenant'] != null) {
|
|
461
497
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
462
498
|
}
|
|
499
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
500
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
501
|
+
}
|
|
463
502
|
urlPath = "/contracts/public/{region_id}";
|
|
464
503
|
urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
|
|
504
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
505
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
506
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
507
|
+
}
|
|
465
508
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
466
509
|
if (!facade) {
|
|
467
510
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -530,8 +573,15 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
530
573
|
if (requestParameters['xTenant'] != null) {
|
|
531
574
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
532
575
|
}
|
|
576
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
577
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
578
|
+
}
|
|
533
579
|
urlPath = "/corporations/{corporation_id}/contracts";
|
|
534
580
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
581
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
582
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
583
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
584
|
+
}
|
|
535
585
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
536
586
|
if (!facade) {
|
|
537
587
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -603,9 +653,16 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
603
653
|
if (requestParameters['xTenant'] != null) {
|
|
604
654
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
605
655
|
}
|
|
656
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
657
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
658
|
+
}
|
|
606
659
|
urlPath = "/corporations/{corporation_id}/contracts/{contract_id}/bids";
|
|
607
660
|
urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
|
|
608
661
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
662
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
663
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
664
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
665
|
+
}
|
|
609
666
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
610
667
|
if (!facade) {
|
|
611
668
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -674,9 +731,16 @@ var ContractsApi = /** @class */ (function (_super) {
|
|
|
674
731
|
if (requestParameters['xTenant'] != null) {
|
|
675
732
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
676
733
|
}
|
|
734
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
735
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
736
|
+
}
|
|
677
737
|
urlPath = "/corporations/{corporation_id}/contracts/{contract_id}/items";
|
|
678
738
|
urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
|
|
679
739
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
740
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
741
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
742
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
743
|
+
}
|
|
680
744
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
681
745
|
if (!facade) {
|
|
682
746
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|