esisl_genoa_client 0.1.0 → 0.1.1
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 +2 -2
- package/dist/apis/AllianceApi.js +40 -21
- package/dist/apis/AssetsApi.js +60 -31
- package/dist/apis/CalendarApi.js +40 -21
- package/dist/apis/CharacterApi.js +140 -71
- package/dist/apis/ClonesApi.js +20 -11
- package/dist/apis/ContactsApi.js +90 -46
- package/dist/apis/ContractsApi.js +90 -46
- package/dist/apis/CorporationApi.js +220 -111
- package/dist/apis/DogmaApi.js +50 -26
- package/dist/apis/FactionWarfareApi.js +80 -41
- package/dist/apis/FittingsApi.js +30 -16
- package/dist/apis/FleetsApi.js +140 -71
- package/dist/apis/IncursionsApi.js +10 -6
- package/dist/apis/IndustryApi.js +80 -41
- package/dist/apis/InsuranceApi.js +10 -6
- package/dist/apis/KillmailsApi.js +30 -16
- package/dist/apis/LocationApi.js +30 -16
- package/dist/apis/LoyaltyApi.js +20 -11
- package/dist/apis/MailApi.js +90 -46
- package/dist/apis/MarketApi.js +110 -56
- package/dist/apis/MetaApi.js +20 -11
- package/dist/apis/PlanetaryInteractionApi.js +40 -21
- package/dist/apis/RoutesApi.js +10 -6
- package/dist/apis/SearchApi.js +10 -6
- package/dist/apis/SkillsApi.js +30 -16
- package/dist/apis/SovereigntyApi.js +30 -16
- package/dist/apis/StatusApi.js +10 -6
- package/dist/apis/UniverseApi.js +300 -151
- package/dist/apis/UserInterfaceApi.js +50 -26
- package/dist/apis/WalletApi.js +60 -31
- package/dist/apis/WarsApi.js +30 -16
- package/dist/runtime.d.ts +2 -0
- package/dist/runtime.js +7 -0
- package/esisl_genoa_client-0.1.1.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +25 -5
- package/src/apis/AssetsApi.ts +37 -7
- package/src/apis/CalendarApi.ts +25 -5
- package/src/apis/CharacterApi.ts +85 -15
- package/src/apis/ClonesApi.ts +13 -3
- package/src/apis/ContactsApi.ts +55 -10
- package/src/apis/ContractsApi.ts +55 -10
- package/src/apis/CorporationApi.ts +133 -23
- package/src/apis/DogmaApi.ts +31 -6
- package/src/apis/FactionWarfareApi.ts +49 -9
- package/src/apis/FittingsApi.ts +19 -4
- package/src/apis/FleetsApi.ts +85 -15
- package/src/apis/IncursionsApi.ts +7 -2
- package/src/apis/IndustryApi.ts +49 -9
- package/src/apis/InsuranceApi.ts +7 -2
- package/src/apis/KillmailsApi.ts +19 -4
- package/src/apis/LocationApi.ts +19 -4
- package/src/apis/LoyaltyApi.ts +13 -3
- package/src/apis/MailApi.ts +55 -10
- package/src/apis/MarketApi.ts +67 -12
- package/src/apis/MetaApi.ts +13 -3
- package/src/apis/PlanetaryInteractionApi.ts +25 -5
- package/src/apis/RoutesApi.ts +7 -2
- package/src/apis/SearchApi.ts +7 -2
- package/src/apis/SkillsApi.ts +19 -4
- package/src/apis/SovereigntyApi.ts +19 -4
- package/src/apis/StatusApi.ts +7 -2
- package/src/apis/UniverseApi.ts +181 -31
- package/src/apis/UserInterfaceApi.ts +31 -6
- package/src/apis/WalletApi.ts +37 -7
- package/src/apis/WarsApi.ts +19 -4
- package/src/runtime.ts +5 -0
package/dist/apis/DogmaApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetDogmaEffectsEffectIdAcceptLanguageEnum = exports.GetDogmaEffectsEffectIdXCompatibilityDateEnum = exports.GetDogmaEffectsAcceptLanguageEnum = exports.GetDogmaEffectsXCompatibilityDateEnum = exports.GetDogmaDynamicItemsTypeIdItemIdAcceptLanguageEnum = exports.GetDogmaDynamicItemsTypeIdItemIdXCompatibilityDateEnum = exports.GetDogmaAttributesAttributeIdAcceptLanguageEnum = exports.GetDogmaAttributesAttributeIdXCompatibilityDateEnum = exports.GetDogmaAttributesAcceptLanguageEnum = exports.GetDogmaAttributesXCompatibilityDateEnum = exports.DogmaApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
DogmaApi.prototype.getDogmaAttributesRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getDogmaAttributes().');
|
|
@@ -103,14 +103,18 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
103
103
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
104
104
|
}
|
|
105
105
|
urlPath = "/dogma/attributes";
|
|
106
|
-
|
|
106
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
107
|
+
if (!facade) {
|
|
108
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
109
|
+
}
|
|
110
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
107
111
|
path: urlPath,
|
|
108
112
|
method: 'GET',
|
|
109
113
|
headers: headerParameters,
|
|
110
114
|
query: queryParameters,
|
|
111
115
|
}, initOverrides)];
|
|
112
116
|
case 1:
|
|
113
|
-
response =
|
|
117
|
+
response = _b.sent();
|
|
114
118
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
115
119
|
}
|
|
116
120
|
});
|
|
@@ -140,9 +144,10 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
140
144
|
*/
|
|
141
145
|
DogmaApi.prototype.getDogmaAttributesAttributeIdRaw = function (requestParameters, initOverrides) {
|
|
142
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
143
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
148
|
+
var _a;
|
|
149
|
+
return __generator(this, function (_b) {
|
|
150
|
+
switch (_b.label) {
|
|
146
151
|
case 0:
|
|
147
152
|
if (requestParameters['attributeId'] == null) {
|
|
148
153
|
throw new runtime.RequiredError('attributeId', 'Required parameter "attributeId" was null or undefined when calling getDogmaAttributesAttributeId().');
|
|
@@ -166,14 +171,18 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
166
171
|
}
|
|
167
172
|
urlPath = "/dogma/attributes/{attribute_id}";
|
|
168
173
|
urlPath = urlPath.replace("{".concat("attribute_id", "}"), encodeURIComponent(String(requestParameters['attributeId'])));
|
|
169
|
-
|
|
174
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
175
|
+
if (!facade) {
|
|
176
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
177
|
+
}
|
|
178
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
170
179
|
path: urlPath,
|
|
171
180
|
method: 'GET',
|
|
172
181
|
headers: headerParameters,
|
|
173
182
|
query: queryParameters,
|
|
174
183
|
}, initOverrides)];
|
|
175
184
|
case 1:
|
|
176
|
-
response =
|
|
185
|
+
response = _b.sent();
|
|
177
186
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
178
187
|
}
|
|
179
188
|
});
|
|
@@ -203,9 +212,10 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
203
212
|
*/
|
|
204
213
|
DogmaApi.prototype.getDogmaDynamicItemsTypeIdItemIdRaw = function (requestParameters, initOverrides) {
|
|
205
214
|
return __awaiter(this, void 0, void 0, function () {
|
|
206
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
207
|
-
|
|
208
|
-
|
|
215
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
216
|
+
var _a;
|
|
217
|
+
return __generator(this, function (_b) {
|
|
218
|
+
switch (_b.label) {
|
|
209
219
|
case 0:
|
|
210
220
|
if (requestParameters['itemId'] == null) {
|
|
211
221
|
throw new runtime.RequiredError('itemId', 'Required parameter "itemId" was null or undefined when calling getDogmaDynamicItemsTypeIdItemId().');
|
|
@@ -233,14 +243,18 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
233
243
|
urlPath = "/dogma/dynamic/items/{type_id}/{item_id}";
|
|
234
244
|
urlPath = urlPath.replace("{".concat("item_id", "}"), encodeURIComponent(String(requestParameters['itemId'])));
|
|
235
245
|
urlPath = urlPath.replace("{".concat("type_id", "}"), encodeURIComponent(String(requestParameters['typeId'])));
|
|
236
|
-
|
|
246
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
247
|
+
if (!facade) {
|
|
248
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
249
|
+
}
|
|
250
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
237
251
|
path: urlPath,
|
|
238
252
|
method: 'GET',
|
|
239
253
|
headers: headerParameters,
|
|
240
254
|
query: queryParameters,
|
|
241
255
|
}, initOverrides)];
|
|
242
256
|
case 1:
|
|
243
|
-
response =
|
|
257
|
+
response = _b.sent();
|
|
244
258
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
245
259
|
}
|
|
246
260
|
});
|
|
@@ -270,9 +284,10 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
270
284
|
*/
|
|
271
285
|
DogmaApi.prototype.getDogmaEffectsRaw = function (requestParameters, initOverrides) {
|
|
272
286
|
return __awaiter(this, void 0, void 0, function () {
|
|
273
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
274
|
-
|
|
275
|
-
|
|
287
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
288
|
+
var _a;
|
|
289
|
+
return __generator(this, function (_b) {
|
|
290
|
+
switch (_b.label) {
|
|
276
291
|
case 0:
|
|
277
292
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
278
293
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getDogmaEffects().');
|
|
@@ -292,14 +307,18 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
292
307
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
293
308
|
}
|
|
294
309
|
urlPath = "/dogma/effects";
|
|
295
|
-
|
|
310
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
311
|
+
if (!facade) {
|
|
312
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
313
|
+
}
|
|
314
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
296
315
|
path: urlPath,
|
|
297
316
|
method: 'GET',
|
|
298
317
|
headers: headerParameters,
|
|
299
318
|
query: queryParameters,
|
|
300
319
|
}, initOverrides)];
|
|
301
320
|
case 1:
|
|
302
|
-
response =
|
|
321
|
+
response = _b.sent();
|
|
303
322
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
304
323
|
}
|
|
305
324
|
});
|
|
@@ -329,9 +348,10 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
329
348
|
*/
|
|
330
349
|
DogmaApi.prototype.getDogmaEffectsEffectIdRaw = function (requestParameters, initOverrides) {
|
|
331
350
|
return __awaiter(this, void 0, void 0, function () {
|
|
332
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
333
|
-
|
|
334
|
-
|
|
351
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
352
|
+
var _a;
|
|
353
|
+
return __generator(this, function (_b) {
|
|
354
|
+
switch (_b.label) {
|
|
335
355
|
case 0:
|
|
336
356
|
if (requestParameters['effectId'] == null) {
|
|
337
357
|
throw new runtime.RequiredError('effectId', 'Required parameter "effectId" was null or undefined when calling getDogmaEffectsEffectId().');
|
|
@@ -355,14 +375,18 @@ var DogmaApi = /** @class */ (function (_super) {
|
|
|
355
375
|
}
|
|
356
376
|
urlPath = "/dogma/effects/{effect_id}";
|
|
357
377
|
urlPath = urlPath.replace("{".concat("effect_id", "}"), encodeURIComponent(String(requestParameters['effectId'])));
|
|
358
|
-
|
|
378
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
379
|
+
if (!facade) {
|
|
380
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
381
|
+
}
|
|
382
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
359
383
|
path: urlPath,
|
|
360
384
|
method: 'GET',
|
|
361
385
|
headers: headerParameters,
|
|
362
386
|
query: queryParameters,
|
|
363
387
|
}, initOverrides)];
|
|
364
388
|
case 1:
|
|
365
|
-
response =
|
|
389
|
+
response = _b.sent();
|
|
366
390
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
367
391
|
}
|
|
368
392
|
});
|
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetFwWarsAcceptLanguageEnum = exports.GetFwWarsXCompatibilityDateEnum = exports.GetFwSystemsAcceptLanguageEnum = exports.GetFwSystemsXCompatibilityDateEnum = exports.GetFwStatsAcceptLanguageEnum = exports.GetFwStatsXCompatibilityDateEnum = exports.GetFwLeaderboardsCorporationsAcceptLanguageEnum = exports.GetFwLeaderboardsCorporationsXCompatibilityDateEnum = exports.GetFwLeaderboardsCharactersAcceptLanguageEnum = exports.GetFwLeaderboardsCharactersXCompatibilityDateEnum = exports.GetFwLeaderboardsAcceptLanguageEnum = exports.GetFwLeaderboardsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdFwStatsAcceptLanguageEnum = exports.GetCorporationsCorporationIdFwStatsXCompatibilityDateEnum = exports.GetCharactersCharacterIdFwStatsAcceptLanguageEnum = exports.GetCharactersCharacterIdFwStatsXCompatibilityDateEnum = exports.FactionWarfareApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
FactionWarfareApi.prototype.getCharactersCharacterIdFwStatsRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdFwStats().');
|
|
@@ -107,14 +107,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/characters/{character_id}/fw/stats";
|
|
109
109
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
110
|
-
|
|
110
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
111
|
+
if (!facade) {
|
|
112
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
113
|
+
}
|
|
114
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
111
115
|
path: urlPath,
|
|
112
116
|
method: 'GET',
|
|
113
117
|
headers: headerParameters,
|
|
114
118
|
query: queryParameters,
|
|
115
119
|
}, initOverrides)];
|
|
116
120
|
case 1:
|
|
117
|
-
response =
|
|
121
|
+
response = _b.sent();
|
|
118
122
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
119
123
|
}
|
|
120
124
|
});
|
|
@@ -144,9 +148,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
FactionWarfareApi.prototype.getCorporationsCorporationIdFwStatsRaw = function (requestParameters, initOverrides) {
|
|
146
150
|
return __awaiter(this, void 0, void 0, function () {
|
|
147
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
148
|
-
|
|
149
|
-
|
|
151
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
152
|
+
var _a;
|
|
153
|
+
return __generator(this, function (_b) {
|
|
154
|
+
switch (_b.label) {
|
|
150
155
|
case 0:
|
|
151
156
|
if (requestParameters['corporationId'] == null) {
|
|
152
157
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdFwStats().');
|
|
@@ -170,14 +175,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
170
175
|
}
|
|
171
176
|
urlPath = "/corporations/{corporation_id}/fw/stats";
|
|
172
177
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
173
|
-
|
|
178
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
179
|
+
if (!facade) {
|
|
180
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
181
|
+
}
|
|
182
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
174
183
|
path: urlPath,
|
|
175
184
|
method: 'GET',
|
|
176
185
|
headers: headerParameters,
|
|
177
186
|
query: queryParameters,
|
|
178
187
|
}, initOverrides)];
|
|
179
188
|
case 1:
|
|
180
|
-
response =
|
|
189
|
+
response = _b.sent();
|
|
181
190
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
182
191
|
}
|
|
183
192
|
});
|
|
@@ -207,9 +216,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
207
216
|
*/
|
|
208
217
|
FactionWarfareApi.prototype.getFwLeaderboardsRaw = function (requestParameters, initOverrides) {
|
|
209
218
|
return __awaiter(this, void 0, void 0, function () {
|
|
210
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
211
|
-
|
|
212
|
-
|
|
219
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
220
|
+
var _a;
|
|
221
|
+
return __generator(this, function (_b) {
|
|
222
|
+
switch (_b.label) {
|
|
213
223
|
case 0:
|
|
214
224
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
215
225
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getFwLeaderboards().');
|
|
@@ -229,14 +239,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
229
239
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
230
240
|
}
|
|
231
241
|
urlPath = "/fw/leaderboards";
|
|
232
|
-
|
|
242
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
243
|
+
if (!facade) {
|
|
244
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
245
|
+
}
|
|
246
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
233
247
|
path: urlPath,
|
|
234
248
|
method: 'GET',
|
|
235
249
|
headers: headerParameters,
|
|
236
250
|
query: queryParameters,
|
|
237
251
|
}, initOverrides)];
|
|
238
252
|
case 1:
|
|
239
|
-
response =
|
|
253
|
+
response = _b.sent();
|
|
240
254
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
241
255
|
}
|
|
242
256
|
});
|
|
@@ -266,9 +280,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
266
280
|
*/
|
|
267
281
|
FactionWarfareApi.prototype.getFwLeaderboardsCharactersRaw = function (requestParameters, initOverrides) {
|
|
268
282
|
return __awaiter(this, void 0, void 0, function () {
|
|
269
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
270
|
-
|
|
271
|
-
|
|
283
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
284
|
+
var _a;
|
|
285
|
+
return __generator(this, function (_b) {
|
|
286
|
+
switch (_b.label) {
|
|
272
287
|
case 0:
|
|
273
288
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
274
289
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getFwLeaderboardsCharacters().');
|
|
@@ -288,14 +303,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
288
303
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
289
304
|
}
|
|
290
305
|
urlPath = "/fw/leaderboards/characters";
|
|
291
|
-
|
|
306
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
307
|
+
if (!facade) {
|
|
308
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
309
|
+
}
|
|
310
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
292
311
|
path: urlPath,
|
|
293
312
|
method: 'GET',
|
|
294
313
|
headers: headerParameters,
|
|
295
314
|
query: queryParameters,
|
|
296
315
|
}, initOverrides)];
|
|
297
316
|
case 1:
|
|
298
|
-
response =
|
|
317
|
+
response = _b.sent();
|
|
299
318
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
300
319
|
}
|
|
301
320
|
});
|
|
@@ -325,9 +344,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
325
344
|
*/
|
|
326
345
|
FactionWarfareApi.prototype.getFwLeaderboardsCorporationsRaw = function (requestParameters, initOverrides) {
|
|
327
346
|
return __awaiter(this, void 0, void 0, function () {
|
|
328
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
329
|
-
|
|
330
|
-
|
|
347
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
348
|
+
var _a;
|
|
349
|
+
return __generator(this, function (_b) {
|
|
350
|
+
switch (_b.label) {
|
|
331
351
|
case 0:
|
|
332
352
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
333
353
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getFwLeaderboardsCorporations().');
|
|
@@ -347,14 +367,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
347
367
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
348
368
|
}
|
|
349
369
|
urlPath = "/fw/leaderboards/corporations";
|
|
350
|
-
|
|
370
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
371
|
+
if (!facade) {
|
|
372
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
373
|
+
}
|
|
374
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
351
375
|
path: urlPath,
|
|
352
376
|
method: 'GET',
|
|
353
377
|
headers: headerParameters,
|
|
354
378
|
query: queryParameters,
|
|
355
379
|
}, initOverrides)];
|
|
356
380
|
case 1:
|
|
357
|
-
response =
|
|
381
|
+
response = _b.sent();
|
|
358
382
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
359
383
|
}
|
|
360
384
|
});
|
|
@@ -384,9 +408,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
384
408
|
*/
|
|
385
409
|
FactionWarfareApi.prototype.getFwStatsRaw = function (requestParameters, initOverrides) {
|
|
386
410
|
return __awaiter(this, void 0, void 0, function () {
|
|
387
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
388
|
-
|
|
389
|
-
|
|
411
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
412
|
+
var _a;
|
|
413
|
+
return __generator(this, function (_b) {
|
|
414
|
+
switch (_b.label) {
|
|
390
415
|
case 0:
|
|
391
416
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
392
417
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getFwStats().');
|
|
@@ -406,14 +431,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
406
431
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
407
432
|
}
|
|
408
433
|
urlPath = "/fw/stats";
|
|
409
|
-
|
|
434
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
435
|
+
if (!facade) {
|
|
436
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
437
|
+
}
|
|
438
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
410
439
|
path: urlPath,
|
|
411
440
|
method: 'GET',
|
|
412
441
|
headers: headerParameters,
|
|
413
442
|
query: queryParameters,
|
|
414
443
|
}, initOverrides)];
|
|
415
444
|
case 1:
|
|
416
|
-
response =
|
|
445
|
+
response = _b.sent();
|
|
417
446
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
418
447
|
}
|
|
419
448
|
});
|
|
@@ -443,9 +472,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
443
472
|
*/
|
|
444
473
|
FactionWarfareApi.prototype.getFwSystemsRaw = function (requestParameters, initOverrides) {
|
|
445
474
|
return __awaiter(this, void 0, void 0, function () {
|
|
446
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
447
|
-
|
|
448
|
-
|
|
475
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
476
|
+
var _a;
|
|
477
|
+
return __generator(this, function (_b) {
|
|
478
|
+
switch (_b.label) {
|
|
449
479
|
case 0:
|
|
450
480
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
451
481
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getFwSystems().');
|
|
@@ -465,14 +495,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
465
495
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
466
496
|
}
|
|
467
497
|
urlPath = "/fw/systems";
|
|
468
|
-
|
|
498
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
499
|
+
if (!facade) {
|
|
500
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
501
|
+
}
|
|
502
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
469
503
|
path: urlPath,
|
|
470
504
|
method: 'GET',
|
|
471
505
|
headers: headerParameters,
|
|
472
506
|
query: queryParameters,
|
|
473
507
|
}, initOverrides)];
|
|
474
508
|
case 1:
|
|
475
|
-
response =
|
|
509
|
+
response = _b.sent();
|
|
476
510
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
477
511
|
}
|
|
478
512
|
});
|
|
@@ -502,9 +536,10 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
502
536
|
*/
|
|
503
537
|
FactionWarfareApi.prototype.getFwWarsRaw = function (requestParameters, initOverrides) {
|
|
504
538
|
return __awaiter(this, void 0, void 0, function () {
|
|
505
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
506
|
-
|
|
507
|
-
|
|
539
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
540
|
+
var _a;
|
|
541
|
+
return __generator(this, function (_b) {
|
|
542
|
+
switch (_b.label) {
|
|
508
543
|
case 0:
|
|
509
544
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
510
545
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getFwWars().');
|
|
@@ -524,14 +559,18 @@ var FactionWarfareApi = /** @class */ (function (_super) {
|
|
|
524
559
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
525
560
|
}
|
|
526
561
|
urlPath = "/fw/wars";
|
|
527
|
-
|
|
562
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
563
|
+
if (!facade) {
|
|
564
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
565
|
+
}
|
|
566
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
528
567
|
path: urlPath,
|
|
529
568
|
method: 'GET',
|
|
530
569
|
headers: headerParameters,
|
|
531
570
|
query: queryParameters,
|
|
532
571
|
}, initOverrides)];
|
|
533
572
|
case 1:
|
|
534
|
-
response =
|
|
573
|
+
response = _b.sent();
|
|
535
574
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
536
575
|
}
|
|
537
576
|
});
|
package/dist/apis/FittingsApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.PostCharactersCharacterIdFittingsOperationAcceptLanguageEnum = exports.PostCharactersCharacterIdFittingsOperationXCompatibilityDateEnum = exports.GetCharactersCharacterIdFittingsAcceptLanguageEnum = exports.GetCharactersCharacterIdFittingsXCompatibilityDateEnum = exports.DeleteCharactersCharacterIdFittingsFittingIdAcceptLanguageEnum = exports.DeleteCharactersCharacterIdFittingsFittingIdXCompatibilityDateEnum = exports.FittingsApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
FittingsApi.prototype.deleteCharactersCharacterIdFittingsFittingIdRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling deleteCharactersCharacterIdFittingsFittingId().');
|
|
@@ -111,14 +111,18 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
111
111
|
urlPath = "/characters/{character_id}/fittings/{fitting_id}";
|
|
112
112
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
113
113
|
urlPath = urlPath.replace("{".concat("fitting_id", "}"), encodeURIComponent(String(requestParameters['fittingId'])));
|
|
114
|
-
|
|
114
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
115
|
+
if (!facade) {
|
|
116
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
117
|
+
}
|
|
118
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
115
119
|
path: urlPath,
|
|
116
120
|
method: 'DELETE',
|
|
117
121
|
headers: headerParameters,
|
|
118
122
|
query: queryParameters,
|
|
119
123
|
}, initOverrides)];
|
|
120
124
|
case 1:
|
|
121
|
-
response =
|
|
125
|
+
response = _b.sent();
|
|
122
126
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
123
127
|
}
|
|
124
128
|
});
|
|
@@ -146,9 +150,10 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
146
150
|
*/
|
|
147
151
|
FittingsApi.prototype.getCharactersCharacterIdFittingsRaw = function (requestParameters, initOverrides) {
|
|
148
152
|
return __awaiter(this, void 0, void 0, function () {
|
|
149
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
150
|
-
|
|
151
|
-
|
|
153
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
154
|
+
var _a;
|
|
155
|
+
return __generator(this, function (_b) {
|
|
156
|
+
switch (_b.label) {
|
|
152
157
|
case 0:
|
|
153
158
|
if (requestParameters['characterId'] == null) {
|
|
154
159
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdFittings().');
|
|
@@ -172,14 +177,18 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
172
177
|
}
|
|
173
178
|
urlPath = "/characters/{character_id}/fittings";
|
|
174
179
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
175
|
-
|
|
180
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
181
|
+
if (!facade) {
|
|
182
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
183
|
+
}
|
|
184
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
176
185
|
path: urlPath,
|
|
177
186
|
method: 'GET',
|
|
178
187
|
headers: headerParameters,
|
|
179
188
|
query: queryParameters,
|
|
180
189
|
}, initOverrides)];
|
|
181
190
|
case 1:
|
|
182
|
-
response =
|
|
191
|
+
response = _b.sent();
|
|
183
192
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
184
193
|
}
|
|
185
194
|
});
|
|
@@ -209,9 +218,10 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
209
218
|
*/
|
|
210
219
|
FittingsApi.prototype.postCharactersCharacterIdFittingsRaw = function (requestParameters, initOverrides) {
|
|
211
220
|
return __awaiter(this, void 0, void 0, function () {
|
|
212
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
213
|
-
|
|
214
|
-
|
|
221
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
222
|
+
var _a;
|
|
223
|
+
return __generator(this, function (_b) {
|
|
224
|
+
switch (_b.label) {
|
|
215
225
|
case 0:
|
|
216
226
|
if (requestParameters['characterId'] == null) {
|
|
217
227
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling postCharactersCharacterIdFittings().');
|
|
@@ -239,7 +249,11 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
239
249
|
}
|
|
240
250
|
urlPath = "/characters/{character_id}/fittings";
|
|
241
251
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
242
|
-
|
|
252
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
253
|
+
if (!facade) {
|
|
254
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
255
|
+
}
|
|
256
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
243
257
|
path: urlPath,
|
|
244
258
|
method: 'POST',
|
|
245
259
|
headers: headerParameters,
|
|
@@ -247,7 +261,7 @@ var FittingsApi = /** @class */ (function (_super) {
|
|
|
247
261
|
body: requestParameters['postCharactersCharacterIdFittingsRequest'],
|
|
248
262
|
}, initOverrides)];
|
|
249
263
|
case 1:
|
|
250
|
-
response =
|
|
264
|
+
response = _b.sent();
|
|
251
265
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
252
266
|
}
|
|
253
267
|
});
|