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/UniverseApi.js
CHANGED
|
@@ -67,7 +67,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
67
67
|
exports.GetUniverseSystemKillsAcceptLanguageEnum = exports.GetUniverseSystemKillsXCompatibilityDateEnum = exports.GetUniverseSystemJumpsAcceptLanguageEnum = exports.GetUniverseSystemJumpsXCompatibilityDateEnum = exports.GetUniverseStructuresStructureIdAcceptLanguageEnum = exports.GetUniverseStructuresStructureIdXCompatibilityDateEnum = exports.GetUniverseStructuresAcceptLanguageEnum = exports.GetUniverseStructuresFilterEnum = exports.GetUniverseStructuresXCompatibilityDateEnum = exports.GetUniverseStationsStationIdAcceptLanguageEnum = exports.GetUniverseStationsStationIdXCompatibilityDateEnum = exports.GetUniverseStarsStarIdAcceptLanguageEnum = exports.GetUniverseStarsStarIdXCompatibilityDateEnum = exports.GetUniverseStargatesStargateIdAcceptLanguageEnum = exports.GetUniverseStargatesStargateIdXCompatibilityDateEnum = exports.GetUniverseRegionsRegionIdAcceptLanguageEnum = exports.GetUniverseRegionsRegionIdXCompatibilityDateEnum = exports.GetUniverseRegionsAcceptLanguageEnum = exports.GetUniverseRegionsXCompatibilityDateEnum = exports.GetUniverseRacesAcceptLanguageEnum = exports.GetUniverseRacesXCompatibilityDateEnum = exports.GetUniversePlanetsPlanetIdAcceptLanguageEnum = exports.GetUniversePlanetsPlanetIdXCompatibilityDateEnum = exports.GetUniverseMoonsMoonIdAcceptLanguageEnum = exports.GetUniverseMoonsMoonIdXCompatibilityDateEnum = exports.GetUniverseGroupsGroupIdAcceptLanguageEnum = exports.GetUniverseGroupsGroupIdXCompatibilityDateEnum = exports.GetUniverseGroupsAcceptLanguageEnum = exports.GetUniverseGroupsXCompatibilityDateEnum = exports.GetUniverseGraphicsGraphicIdAcceptLanguageEnum = exports.GetUniverseGraphicsGraphicIdXCompatibilityDateEnum = exports.GetUniverseGraphicsAcceptLanguageEnum = exports.GetUniverseGraphicsXCompatibilityDateEnum = exports.GetUniverseFactionsAcceptLanguageEnum = exports.GetUniverseFactionsXCompatibilityDateEnum = exports.GetUniverseConstellationsConstellationIdAcceptLanguageEnum = exports.GetUniverseConstellationsConstellationIdXCompatibilityDateEnum = exports.GetUniverseConstellationsAcceptLanguageEnum = exports.GetUniverseConstellationsXCompatibilityDateEnum = exports.GetUniverseCategoriesCategoryIdAcceptLanguageEnum = exports.GetUniverseCategoriesCategoryIdXCompatibilityDateEnum = exports.GetUniverseCategoriesAcceptLanguageEnum = exports.GetUniverseCategoriesXCompatibilityDateEnum = exports.GetUniverseBloodlinesAcceptLanguageEnum = exports.GetUniverseBloodlinesXCompatibilityDateEnum = exports.GetUniverseAsteroidBeltsAsteroidBeltIdAcceptLanguageEnum = exports.GetUniverseAsteroidBeltsAsteroidBeltIdXCompatibilityDateEnum = exports.GetUniverseAncestriesAcceptLanguageEnum = exports.GetUniverseAncestriesXCompatibilityDateEnum = exports.UniverseApi = void 0;
|
|
68
68
|
exports.PostUniverseNamesAcceptLanguageEnum = exports.PostUniverseNamesXCompatibilityDateEnum = exports.PostUniverseIdsAcceptLanguageEnum = exports.PostUniverseIdsXCompatibilityDateEnum = exports.GetUniverseTypesTypeIdAcceptLanguageEnum = exports.GetUniverseTypesTypeIdXCompatibilityDateEnum = exports.GetUniverseTypesAcceptLanguageEnum = exports.GetUniverseTypesXCompatibilityDateEnum = exports.GetUniverseSystemsSystemIdAcceptLanguageEnum = exports.GetUniverseSystemsSystemIdXCompatibilityDateEnum = exports.GetUniverseSystemsAcceptLanguageEnum = exports.GetUniverseSystemsXCompatibilityDateEnum = void 0;
|
|
69
69
|
var runtime = require("../runtime");
|
|
70
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
71
70
|
/**
|
|
72
71
|
*
|
|
73
72
|
*/
|
|
@@ -82,9 +81,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
82
81
|
*/
|
|
83
82
|
UniverseApi.prototype.getUniverseAncestriesRaw = function (requestParameters, initOverrides) {
|
|
84
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
85
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
85
|
+
var _a;
|
|
86
|
+
return __generator(this, function (_b) {
|
|
87
|
+
switch (_b.label) {
|
|
88
88
|
case 0:
|
|
89
89
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
90
90
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseAncestries().');
|
|
@@ -104,14 +104,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
104
104
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
105
105
|
}
|
|
106
106
|
urlPath = "/universe/ancestries";
|
|
107
|
-
|
|
107
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
108
|
+
if (!facade) {
|
|
109
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
110
|
+
}
|
|
111
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
108
112
|
path: urlPath,
|
|
109
113
|
method: 'GET',
|
|
110
114
|
headers: headerParameters,
|
|
111
115
|
query: queryParameters,
|
|
112
116
|
}, initOverrides)];
|
|
113
117
|
case 1:
|
|
114
|
-
response =
|
|
118
|
+
response = _b.sent();
|
|
115
119
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
116
120
|
}
|
|
117
121
|
});
|
|
@@ -141,9 +145,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
141
145
|
*/
|
|
142
146
|
UniverseApi.prototype.getUniverseAsteroidBeltsAsteroidBeltIdRaw = function (requestParameters, initOverrides) {
|
|
143
147
|
return __awaiter(this, void 0, void 0, function () {
|
|
144
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
145
|
-
|
|
146
|
-
|
|
148
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
149
|
+
var _a;
|
|
150
|
+
return __generator(this, function (_b) {
|
|
151
|
+
switch (_b.label) {
|
|
147
152
|
case 0:
|
|
148
153
|
if (requestParameters['asteroidBeltId'] == null) {
|
|
149
154
|
throw new runtime.RequiredError('asteroidBeltId', 'Required parameter "asteroidBeltId" was null or undefined when calling getUniverseAsteroidBeltsAsteroidBeltId().');
|
|
@@ -167,14 +172,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
167
172
|
}
|
|
168
173
|
urlPath = "/universe/asteroid_belts/{asteroid_belt_id}";
|
|
169
174
|
urlPath = urlPath.replace("{".concat("asteroid_belt_id", "}"), encodeURIComponent(String(requestParameters['asteroidBeltId'])));
|
|
170
|
-
|
|
175
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
176
|
+
if (!facade) {
|
|
177
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
178
|
+
}
|
|
179
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
171
180
|
path: urlPath,
|
|
172
181
|
method: 'GET',
|
|
173
182
|
headers: headerParameters,
|
|
174
183
|
query: queryParameters,
|
|
175
184
|
}, initOverrides)];
|
|
176
185
|
case 1:
|
|
177
|
-
response =
|
|
186
|
+
response = _b.sent();
|
|
178
187
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
179
188
|
}
|
|
180
189
|
});
|
|
@@ -204,9 +213,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
204
213
|
*/
|
|
205
214
|
UniverseApi.prototype.getUniverseBloodlinesRaw = function (requestParameters, initOverrides) {
|
|
206
215
|
return __awaiter(this, void 0, void 0, function () {
|
|
207
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
208
|
-
|
|
209
|
-
|
|
216
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
217
|
+
var _a;
|
|
218
|
+
return __generator(this, function (_b) {
|
|
219
|
+
switch (_b.label) {
|
|
210
220
|
case 0:
|
|
211
221
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
212
222
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseBloodlines().');
|
|
@@ -226,14 +236,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
226
236
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
227
237
|
}
|
|
228
238
|
urlPath = "/universe/bloodlines";
|
|
229
|
-
|
|
239
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
240
|
+
if (!facade) {
|
|
241
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
242
|
+
}
|
|
243
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
230
244
|
path: urlPath,
|
|
231
245
|
method: 'GET',
|
|
232
246
|
headers: headerParameters,
|
|
233
247
|
query: queryParameters,
|
|
234
248
|
}, initOverrides)];
|
|
235
249
|
case 1:
|
|
236
|
-
response =
|
|
250
|
+
response = _b.sent();
|
|
237
251
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
238
252
|
}
|
|
239
253
|
});
|
|
@@ -263,9 +277,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
263
277
|
*/
|
|
264
278
|
UniverseApi.prototype.getUniverseCategoriesRaw = function (requestParameters, initOverrides) {
|
|
265
279
|
return __awaiter(this, void 0, void 0, function () {
|
|
266
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
267
|
-
|
|
268
|
-
|
|
280
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
281
|
+
var _a;
|
|
282
|
+
return __generator(this, function (_b) {
|
|
283
|
+
switch (_b.label) {
|
|
269
284
|
case 0:
|
|
270
285
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
271
286
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseCategories().');
|
|
@@ -285,14 +300,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
285
300
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
286
301
|
}
|
|
287
302
|
urlPath = "/universe/categories";
|
|
288
|
-
|
|
303
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
304
|
+
if (!facade) {
|
|
305
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
306
|
+
}
|
|
307
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
289
308
|
path: urlPath,
|
|
290
309
|
method: 'GET',
|
|
291
310
|
headers: headerParameters,
|
|
292
311
|
query: queryParameters,
|
|
293
312
|
}, initOverrides)];
|
|
294
313
|
case 1:
|
|
295
|
-
response =
|
|
314
|
+
response = _b.sent();
|
|
296
315
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
297
316
|
}
|
|
298
317
|
});
|
|
@@ -322,9 +341,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
322
341
|
*/
|
|
323
342
|
UniverseApi.prototype.getUniverseCategoriesCategoryIdRaw = function (requestParameters, initOverrides) {
|
|
324
343
|
return __awaiter(this, void 0, void 0, function () {
|
|
325
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
326
|
-
|
|
327
|
-
|
|
344
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
345
|
+
var _a;
|
|
346
|
+
return __generator(this, function (_b) {
|
|
347
|
+
switch (_b.label) {
|
|
328
348
|
case 0:
|
|
329
349
|
if (requestParameters['categoryId'] == null) {
|
|
330
350
|
throw new runtime.RequiredError('categoryId', 'Required parameter "categoryId" was null or undefined when calling getUniverseCategoriesCategoryId().');
|
|
@@ -348,14 +368,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
348
368
|
}
|
|
349
369
|
urlPath = "/universe/categories/{category_id}";
|
|
350
370
|
urlPath = urlPath.replace("{".concat("category_id", "}"), encodeURIComponent(String(requestParameters['categoryId'])));
|
|
351
|
-
|
|
371
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
372
|
+
if (!facade) {
|
|
373
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
374
|
+
}
|
|
375
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
352
376
|
path: urlPath,
|
|
353
377
|
method: 'GET',
|
|
354
378
|
headers: headerParameters,
|
|
355
379
|
query: queryParameters,
|
|
356
380
|
}, initOverrides)];
|
|
357
381
|
case 1:
|
|
358
|
-
response =
|
|
382
|
+
response = _b.sent();
|
|
359
383
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
360
384
|
}
|
|
361
385
|
});
|
|
@@ -385,9 +409,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
385
409
|
*/
|
|
386
410
|
UniverseApi.prototype.getUniverseConstellationsRaw = function (requestParameters, initOverrides) {
|
|
387
411
|
return __awaiter(this, void 0, void 0, function () {
|
|
388
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
389
|
-
|
|
390
|
-
|
|
412
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
413
|
+
var _a;
|
|
414
|
+
return __generator(this, function (_b) {
|
|
415
|
+
switch (_b.label) {
|
|
391
416
|
case 0:
|
|
392
417
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
393
418
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseConstellations().');
|
|
@@ -407,14 +432,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
407
432
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
408
433
|
}
|
|
409
434
|
urlPath = "/universe/constellations";
|
|
410
|
-
|
|
435
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
436
|
+
if (!facade) {
|
|
437
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
438
|
+
}
|
|
439
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
411
440
|
path: urlPath,
|
|
412
441
|
method: 'GET',
|
|
413
442
|
headers: headerParameters,
|
|
414
443
|
query: queryParameters,
|
|
415
444
|
}, initOverrides)];
|
|
416
445
|
case 1:
|
|
417
|
-
response =
|
|
446
|
+
response = _b.sent();
|
|
418
447
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
419
448
|
}
|
|
420
449
|
});
|
|
@@ -444,9 +473,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
444
473
|
*/
|
|
445
474
|
UniverseApi.prototype.getUniverseConstellationsConstellationIdRaw = function (requestParameters, initOverrides) {
|
|
446
475
|
return __awaiter(this, void 0, void 0, function () {
|
|
447
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
448
|
-
|
|
449
|
-
|
|
476
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
477
|
+
var _a;
|
|
478
|
+
return __generator(this, function (_b) {
|
|
479
|
+
switch (_b.label) {
|
|
450
480
|
case 0:
|
|
451
481
|
if (requestParameters['constellationId'] == null) {
|
|
452
482
|
throw new runtime.RequiredError('constellationId', 'Required parameter "constellationId" was null or undefined when calling getUniverseConstellationsConstellationId().');
|
|
@@ -470,14 +500,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
470
500
|
}
|
|
471
501
|
urlPath = "/universe/constellations/{constellation_id}";
|
|
472
502
|
urlPath = urlPath.replace("{".concat("constellation_id", "}"), encodeURIComponent(String(requestParameters['constellationId'])));
|
|
473
|
-
|
|
503
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
504
|
+
if (!facade) {
|
|
505
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
506
|
+
}
|
|
507
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
474
508
|
path: urlPath,
|
|
475
509
|
method: 'GET',
|
|
476
510
|
headers: headerParameters,
|
|
477
511
|
query: queryParameters,
|
|
478
512
|
}, initOverrides)];
|
|
479
513
|
case 1:
|
|
480
|
-
response =
|
|
514
|
+
response = _b.sent();
|
|
481
515
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
482
516
|
}
|
|
483
517
|
});
|
|
@@ -507,9 +541,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
507
541
|
*/
|
|
508
542
|
UniverseApi.prototype.getUniverseFactionsRaw = function (requestParameters, initOverrides) {
|
|
509
543
|
return __awaiter(this, void 0, void 0, function () {
|
|
510
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
511
|
-
|
|
512
|
-
|
|
544
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
545
|
+
var _a;
|
|
546
|
+
return __generator(this, function (_b) {
|
|
547
|
+
switch (_b.label) {
|
|
513
548
|
case 0:
|
|
514
549
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
515
550
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseFactions().');
|
|
@@ -529,14 +564,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
529
564
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
530
565
|
}
|
|
531
566
|
urlPath = "/universe/factions";
|
|
532
|
-
|
|
567
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
568
|
+
if (!facade) {
|
|
569
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
570
|
+
}
|
|
571
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
533
572
|
path: urlPath,
|
|
534
573
|
method: 'GET',
|
|
535
574
|
headers: headerParameters,
|
|
536
575
|
query: queryParameters,
|
|
537
576
|
}, initOverrides)];
|
|
538
577
|
case 1:
|
|
539
|
-
response =
|
|
578
|
+
response = _b.sent();
|
|
540
579
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
541
580
|
}
|
|
542
581
|
});
|
|
@@ -566,9 +605,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
566
605
|
*/
|
|
567
606
|
UniverseApi.prototype.getUniverseGraphicsRaw = function (requestParameters, initOverrides) {
|
|
568
607
|
return __awaiter(this, void 0, void 0, function () {
|
|
569
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
570
|
-
|
|
571
|
-
|
|
608
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
609
|
+
var _a;
|
|
610
|
+
return __generator(this, function (_b) {
|
|
611
|
+
switch (_b.label) {
|
|
572
612
|
case 0:
|
|
573
613
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
574
614
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseGraphics().');
|
|
@@ -588,14 +628,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
588
628
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
589
629
|
}
|
|
590
630
|
urlPath = "/universe/graphics";
|
|
591
|
-
|
|
631
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
632
|
+
if (!facade) {
|
|
633
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
634
|
+
}
|
|
635
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
592
636
|
path: urlPath,
|
|
593
637
|
method: 'GET',
|
|
594
638
|
headers: headerParameters,
|
|
595
639
|
query: queryParameters,
|
|
596
640
|
}, initOverrides)];
|
|
597
641
|
case 1:
|
|
598
|
-
response =
|
|
642
|
+
response = _b.sent();
|
|
599
643
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
600
644
|
}
|
|
601
645
|
});
|
|
@@ -625,9 +669,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
625
669
|
*/
|
|
626
670
|
UniverseApi.prototype.getUniverseGraphicsGraphicIdRaw = function (requestParameters, initOverrides) {
|
|
627
671
|
return __awaiter(this, void 0, void 0, function () {
|
|
628
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
629
|
-
|
|
630
|
-
|
|
672
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
673
|
+
var _a;
|
|
674
|
+
return __generator(this, function (_b) {
|
|
675
|
+
switch (_b.label) {
|
|
631
676
|
case 0:
|
|
632
677
|
if (requestParameters['graphicId'] == null) {
|
|
633
678
|
throw new runtime.RequiredError('graphicId', 'Required parameter "graphicId" was null or undefined when calling getUniverseGraphicsGraphicId().');
|
|
@@ -651,14 +696,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
651
696
|
}
|
|
652
697
|
urlPath = "/universe/graphics/{graphic_id}";
|
|
653
698
|
urlPath = urlPath.replace("{".concat("graphic_id", "}"), encodeURIComponent(String(requestParameters['graphicId'])));
|
|
654
|
-
|
|
699
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
700
|
+
if (!facade) {
|
|
701
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
702
|
+
}
|
|
703
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
655
704
|
path: urlPath,
|
|
656
705
|
method: 'GET',
|
|
657
706
|
headers: headerParameters,
|
|
658
707
|
query: queryParameters,
|
|
659
708
|
}, initOverrides)];
|
|
660
709
|
case 1:
|
|
661
|
-
response =
|
|
710
|
+
response = _b.sent();
|
|
662
711
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
663
712
|
}
|
|
664
713
|
});
|
|
@@ -688,9 +737,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
688
737
|
*/
|
|
689
738
|
UniverseApi.prototype.getUniverseGroupsRaw = function (requestParameters, initOverrides) {
|
|
690
739
|
return __awaiter(this, void 0, void 0, function () {
|
|
691
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
692
|
-
|
|
693
|
-
|
|
740
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
741
|
+
var _a;
|
|
742
|
+
return __generator(this, function (_b) {
|
|
743
|
+
switch (_b.label) {
|
|
694
744
|
case 0:
|
|
695
745
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
696
746
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseGroups().');
|
|
@@ -713,14 +763,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
713
763
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
714
764
|
}
|
|
715
765
|
urlPath = "/universe/groups";
|
|
716
|
-
|
|
766
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
767
|
+
if (!facade) {
|
|
768
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
769
|
+
}
|
|
770
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
717
771
|
path: urlPath,
|
|
718
772
|
method: 'GET',
|
|
719
773
|
headers: headerParameters,
|
|
720
774
|
query: queryParameters,
|
|
721
775
|
}, initOverrides)];
|
|
722
776
|
case 1:
|
|
723
|
-
response =
|
|
777
|
+
response = _b.sent();
|
|
724
778
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
725
779
|
}
|
|
726
780
|
});
|
|
@@ -750,9 +804,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
750
804
|
*/
|
|
751
805
|
UniverseApi.prototype.getUniverseGroupsGroupIdRaw = function (requestParameters, initOverrides) {
|
|
752
806
|
return __awaiter(this, void 0, void 0, function () {
|
|
753
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
754
|
-
|
|
755
|
-
|
|
807
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
808
|
+
var _a;
|
|
809
|
+
return __generator(this, function (_b) {
|
|
810
|
+
switch (_b.label) {
|
|
756
811
|
case 0:
|
|
757
812
|
if (requestParameters['groupId'] == null) {
|
|
758
813
|
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling getUniverseGroupsGroupId().');
|
|
@@ -776,14 +831,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
776
831
|
}
|
|
777
832
|
urlPath = "/universe/groups/{group_id}";
|
|
778
833
|
urlPath = urlPath.replace("{".concat("group_id", "}"), encodeURIComponent(String(requestParameters['groupId'])));
|
|
779
|
-
|
|
834
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
835
|
+
if (!facade) {
|
|
836
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
837
|
+
}
|
|
838
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
780
839
|
path: urlPath,
|
|
781
840
|
method: 'GET',
|
|
782
841
|
headers: headerParameters,
|
|
783
842
|
query: queryParameters,
|
|
784
843
|
}, initOverrides)];
|
|
785
844
|
case 1:
|
|
786
|
-
response =
|
|
845
|
+
response = _b.sent();
|
|
787
846
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
788
847
|
}
|
|
789
848
|
});
|
|
@@ -813,9 +872,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
813
872
|
*/
|
|
814
873
|
UniverseApi.prototype.getUniverseMoonsMoonIdRaw = function (requestParameters, initOverrides) {
|
|
815
874
|
return __awaiter(this, void 0, void 0, function () {
|
|
816
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
817
|
-
|
|
818
|
-
|
|
875
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
876
|
+
var _a;
|
|
877
|
+
return __generator(this, function (_b) {
|
|
878
|
+
switch (_b.label) {
|
|
819
879
|
case 0:
|
|
820
880
|
if (requestParameters['moonId'] == null) {
|
|
821
881
|
throw new runtime.RequiredError('moonId', 'Required parameter "moonId" was null or undefined when calling getUniverseMoonsMoonId().');
|
|
@@ -839,14 +899,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
839
899
|
}
|
|
840
900
|
urlPath = "/universe/moons/{moon_id}";
|
|
841
901
|
urlPath = urlPath.replace("{".concat("moon_id", "}"), encodeURIComponent(String(requestParameters['moonId'])));
|
|
842
|
-
|
|
902
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
903
|
+
if (!facade) {
|
|
904
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
905
|
+
}
|
|
906
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
843
907
|
path: urlPath,
|
|
844
908
|
method: 'GET',
|
|
845
909
|
headers: headerParameters,
|
|
846
910
|
query: queryParameters,
|
|
847
911
|
}, initOverrides)];
|
|
848
912
|
case 1:
|
|
849
|
-
response =
|
|
913
|
+
response = _b.sent();
|
|
850
914
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
851
915
|
}
|
|
852
916
|
});
|
|
@@ -876,9 +940,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
876
940
|
*/
|
|
877
941
|
UniverseApi.prototype.getUniversePlanetsPlanetIdRaw = function (requestParameters, initOverrides) {
|
|
878
942
|
return __awaiter(this, void 0, void 0, function () {
|
|
879
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
880
|
-
|
|
881
|
-
|
|
943
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
944
|
+
var _a;
|
|
945
|
+
return __generator(this, function (_b) {
|
|
946
|
+
switch (_b.label) {
|
|
882
947
|
case 0:
|
|
883
948
|
if (requestParameters['planetId'] == null) {
|
|
884
949
|
throw new runtime.RequiredError('planetId', 'Required parameter "planetId" was null or undefined when calling getUniversePlanetsPlanetId().');
|
|
@@ -902,14 +967,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
902
967
|
}
|
|
903
968
|
urlPath = "/universe/planets/{planet_id}";
|
|
904
969
|
urlPath = urlPath.replace("{".concat("planet_id", "}"), encodeURIComponent(String(requestParameters['planetId'])));
|
|
905
|
-
|
|
970
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
971
|
+
if (!facade) {
|
|
972
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
973
|
+
}
|
|
974
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
906
975
|
path: urlPath,
|
|
907
976
|
method: 'GET',
|
|
908
977
|
headers: headerParameters,
|
|
909
978
|
query: queryParameters,
|
|
910
979
|
}, initOverrides)];
|
|
911
980
|
case 1:
|
|
912
|
-
response =
|
|
981
|
+
response = _b.sent();
|
|
913
982
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
914
983
|
}
|
|
915
984
|
});
|
|
@@ -939,9 +1008,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
939
1008
|
*/
|
|
940
1009
|
UniverseApi.prototype.getUniverseRacesRaw = function (requestParameters, initOverrides) {
|
|
941
1010
|
return __awaiter(this, void 0, void 0, function () {
|
|
942
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
943
|
-
|
|
944
|
-
|
|
1011
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1012
|
+
var _a;
|
|
1013
|
+
return __generator(this, function (_b) {
|
|
1014
|
+
switch (_b.label) {
|
|
945
1015
|
case 0:
|
|
946
1016
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
947
1017
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseRaces().');
|
|
@@ -961,14 +1031,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
961
1031
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
962
1032
|
}
|
|
963
1033
|
urlPath = "/universe/races";
|
|
964
|
-
|
|
1034
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1035
|
+
if (!facade) {
|
|
1036
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1037
|
+
}
|
|
1038
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
965
1039
|
path: urlPath,
|
|
966
1040
|
method: 'GET',
|
|
967
1041
|
headers: headerParameters,
|
|
968
1042
|
query: queryParameters,
|
|
969
1043
|
}, initOverrides)];
|
|
970
1044
|
case 1:
|
|
971
|
-
response =
|
|
1045
|
+
response = _b.sent();
|
|
972
1046
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
973
1047
|
}
|
|
974
1048
|
});
|
|
@@ -998,9 +1072,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
998
1072
|
*/
|
|
999
1073
|
UniverseApi.prototype.getUniverseRegionsRaw = function (requestParameters, initOverrides) {
|
|
1000
1074
|
return __awaiter(this, void 0, void 0, function () {
|
|
1001
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1002
|
-
|
|
1003
|
-
|
|
1075
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1076
|
+
var _a;
|
|
1077
|
+
return __generator(this, function (_b) {
|
|
1078
|
+
switch (_b.label) {
|
|
1004
1079
|
case 0:
|
|
1005
1080
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1006
1081
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseRegions().');
|
|
@@ -1020,14 +1095,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1020
1095
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1021
1096
|
}
|
|
1022
1097
|
urlPath = "/universe/regions";
|
|
1023
|
-
|
|
1098
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1099
|
+
if (!facade) {
|
|
1100
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1101
|
+
}
|
|
1102
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1024
1103
|
path: urlPath,
|
|
1025
1104
|
method: 'GET',
|
|
1026
1105
|
headers: headerParameters,
|
|
1027
1106
|
query: queryParameters,
|
|
1028
1107
|
}, initOverrides)];
|
|
1029
1108
|
case 1:
|
|
1030
|
-
response =
|
|
1109
|
+
response = _b.sent();
|
|
1031
1110
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1032
1111
|
}
|
|
1033
1112
|
});
|
|
@@ -1057,9 +1136,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1057
1136
|
*/
|
|
1058
1137
|
UniverseApi.prototype.getUniverseRegionsRegionIdRaw = function (requestParameters, initOverrides) {
|
|
1059
1138
|
return __awaiter(this, void 0, void 0, function () {
|
|
1060
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1061
|
-
|
|
1062
|
-
|
|
1139
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1140
|
+
var _a;
|
|
1141
|
+
return __generator(this, function (_b) {
|
|
1142
|
+
switch (_b.label) {
|
|
1063
1143
|
case 0:
|
|
1064
1144
|
if (requestParameters['regionId'] == null) {
|
|
1065
1145
|
throw new runtime.RequiredError('regionId', 'Required parameter "regionId" was null or undefined when calling getUniverseRegionsRegionId().');
|
|
@@ -1083,14 +1163,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1083
1163
|
}
|
|
1084
1164
|
urlPath = "/universe/regions/{region_id}";
|
|
1085
1165
|
urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
|
|
1086
|
-
|
|
1166
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1167
|
+
if (!facade) {
|
|
1168
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1169
|
+
}
|
|
1170
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1087
1171
|
path: urlPath,
|
|
1088
1172
|
method: 'GET',
|
|
1089
1173
|
headers: headerParameters,
|
|
1090
1174
|
query: queryParameters,
|
|
1091
1175
|
}, initOverrides)];
|
|
1092
1176
|
case 1:
|
|
1093
|
-
response =
|
|
1177
|
+
response = _b.sent();
|
|
1094
1178
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1095
1179
|
}
|
|
1096
1180
|
});
|
|
@@ -1120,9 +1204,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1120
1204
|
*/
|
|
1121
1205
|
UniverseApi.prototype.getUniverseStargatesStargateIdRaw = function (requestParameters, initOverrides) {
|
|
1122
1206
|
return __awaiter(this, void 0, void 0, function () {
|
|
1123
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1124
|
-
|
|
1125
|
-
|
|
1207
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1208
|
+
var _a;
|
|
1209
|
+
return __generator(this, function (_b) {
|
|
1210
|
+
switch (_b.label) {
|
|
1126
1211
|
case 0:
|
|
1127
1212
|
if (requestParameters['stargateId'] == null) {
|
|
1128
1213
|
throw new runtime.RequiredError('stargateId', 'Required parameter "stargateId" was null or undefined when calling getUniverseStargatesStargateId().');
|
|
@@ -1146,14 +1231,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1146
1231
|
}
|
|
1147
1232
|
urlPath = "/universe/stargates/{stargate_id}";
|
|
1148
1233
|
urlPath = urlPath.replace("{".concat("stargate_id", "}"), encodeURIComponent(String(requestParameters['stargateId'])));
|
|
1149
|
-
|
|
1234
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1235
|
+
if (!facade) {
|
|
1236
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1237
|
+
}
|
|
1238
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1150
1239
|
path: urlPath,
|
|
1151
1240
|
method: 'GET',
|
|
1152
1241
|
headers: headerParameters,
|
|
1153
1242
|
query: queryParameters,
|
|
1154
1243
|
}, initOverrides)];
|
|
1155
1244
|
case 1:
|
|
1156
|
-
response =
|
|
1245
|
+
response = _b.sent();
|
|
1157
1246
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1158
1247
|
}
|
|
1159
1248
|
});
|
|
@@ -1183,9 +1272,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1183
1272
|
*/
|
|
1184
1273
|
UniverseApi.prototype.getUniverseStarsStarIdRaw = function (requestParameters, initOverrides) {
|
|
1185
1274
|
return __awaiter(this, void 0, void 0, function () {
|
|
1186
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1187
|
-
|
|
1188
|
-
|
|
1275
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1276
|
+
var _a;
|
|
1277
|
+
return __generator(this, function (_b) {
|
|
1278
|
+
switch (_b.label) {
|
|
1189
1279
|
case 0:
|
|
1190
1280
|
if (requestParameters['starId'] == null) {
|
|
1191
1281
|
throw new runtime.RequiredError('starId', 'Required parameter "starId" was null or undefined when calling getUniverseStarsStarId().');
|
|
@@ -1209,14 +1299,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1209
1299
|
}
|
|
1210
1300
|
urlPath = "/universe/stars/{star_id}";
|
|
1211
1301
|
urlPath = urlPath.replace("{".concat("star_id", "}"), encodeURIComponent(String(requestParameters['starId'])));
|
|
1212
|
-
|
|
1302
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1303
|
+
if (!facade) {
|
|
1304
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1305
|
+
}
|
|
1306
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1213
1307
|
path: urlPath,
|
|
1214
1308
|
method: 'GET',
|
|
1215
1309
|
headers: headerParameters,
|
|
1216
1310
|
query: queryParameters,
|
|
1217
1311
|
}, initOverrides)];
|
|
1218
1312
|
case 1:
|
|
1219
|
-
response =
|
|
1313
|
+
response = _b.sent();
|
|
1220
1314
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1221
1315
|
}
|
|
1222
1316
|
});
|
|
@@ -1246,9 +1340,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1246
1340
|
*/
|
|
1247
1341
|
UniverseApi.prototype.getUniverseStationsStationIdRaw = function (requestParameters, initOverrides) {
|
|
1248
1342
|
return __awaiter(this, void 0, void 0, function () {
|
|
1249
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1250
|
-
|
|
1251
|
-
|
|
1343
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1344
|
+
var _a;
|
|
1345
|
+
return __generator(this, function (_b) {
|
|
1346
|
+
switch (_b.label) {
|
|
1252
1347
|
case 0:
|
|
1253
1348
|
if (requestParameters['stationId'] == null) {
|
|
1254
1349
|
throw new runtime.RequiredError('stationId', 'Required parameter "stationId" was null or undefined when calling getUniverseStationsStationId().');
|
|
@@ -1272,14 +1367,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1272
1367
|
}
|
|
1273
1368
|
urlPath = "/universe/stations/{station_id}";
|
|
1274
1369
|
urlPath = urlPath.replace("{".concat("station_id", "}"), encodeURIComponent(String(requestParameters['stationId'])));
|
|
1275
|
-
|
|
1370
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1371
|
+
if (!facade) {
|
|
1372
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1373
|
+
}
|
|
1374
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1276
1375
|
path: urlPath,
|
|
1277
1376
|
method: 'GET',
|
|
1278
1377
|
headers: headerParameters,
|
|
1279
1378
|
query: queryParameters,
|
|
1280
1379
|
}, initOverrides)];
|
|
1281
1380
|
case 1:
|
|
1282
|
-
response =
|
|
1381
|
+
response = _b.sent();
|
|
1283
1382
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1284
1383
|
}
|
|
1285
1384
|
});
|
|
@@ -1309,9 +1408,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1309
1408
|
*/
|
|
1310
1409
|
UniverseApi.prototype.getUniverseStructuresRaw = function (requestParameters, initOverrides) {
|
|
1311
1410
|
return __awaiter(this, void 0, void 0, function () {
|
|
1312
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1313
|
-
|
|
1314
|
-
|
|
1411
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1412
|
+
var _a;
|
|
1413
|
+
return __generator(this, function (_b) {
|
|
1414
|
+
switch (_b.label) {
|
|
1315
1415
|
case 0:
|
|
1316
1416
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1317
1417
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseStructures().');
|
|
@@ -1334,14 +1434,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1334
1434
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1335
1435
|
}
|
|
1336
1436
|
urlPath = "/universe/structures";
|
|
1337
|
-
|
|
1437
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1438
|
+
if (!facade) {
|
|
1439
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1440
|
+
}
|
|
1441
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1338
1442
|
path: urlPath,
|
|
1339
1443
|
method: 'GET',
|
|
1340
1444
|
headers: headerParameters,
|
|
1341
1445
|
query: queryParameters,
|
|
1342
1446
|
}, initOverrides)];
|
|
1343
1447
|
case 1:
|
|
1344
|
-
response =
|
|
1448
|
+
response = _b.sent();
|
|
1345
1449
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1346
1450
|
}
|
|
1347
1451
|
});
|
|
@@ -1371,9 +1475,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1371
1475
|
*/
|
|
1372
1476
|
UniverseApi.prototype.getUniverseStructuresStructureIdRaw = function (requestParameters, initOverrides) {
|
|
1373
1477
|
return __awaiter(this, void 0, void 0, function () {
|
|
1374
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1375
|
-
|
|
1376
|
-
|
|
1478
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1479
|
+
var _a;
|
|
1480
|
+
return __generator(this, function (_b) {
|
|
1481
|
+
switch (_b.label) {
|
|
1377
1482
|
case 0:
|
|
1378
1483
|
if (requestParameters['structureId'] == null) {
|
|
1379
1484
|
throw new runtime.RequiredError('structureId', 'Required parameter "structureId" was null or undefined when calling getUniverseStructuresStructureId().');
|
|
@@ -1397,14 +1502,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1397
1502
|
}
|
|
1398
1503
|
urlPath = "/universe/structures/{structure_id}";
|
|
1399
1504
|
urlPath = urlPath.replace("{".concat("structure_id", "}"), encodeURIComponent(String(requestParameters['structureId'])));
|
|
1400
|
-
|
|
1505
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1506
|
+
if (!facade) {
|
|
1507
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1508
|
+
}
|
|
1509
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1401
1510
|
path: urlPath,
|
|
1402
1511
|
method: 'GET',
|
|
1403
1512
|
headers: headerParameters,
|
|
1404
1513
|
query: queryParameters,
|
|
1405
1514
|
}, initOverrides)];
|
|
1406
1515
|
case 1:
|
|
1407
|
-
response =
|
|
1516
|
+
response = _b.sent();
|
|
1408
1517
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1409
1518
|
}
|
|
1410
1519
|
});
|
|
@@ -1434,9 +1543,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1434
1543
|
*/
|
|
1435
1544
|
UniverseApi.prototype.getUniverseSystemJumpsRaw = function (requestParameters, initOverrides) {
|
|
1436
1545
|
return __awaiter(this, void 0, void 0, function () {
|
|
1437
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1438
|
-
|
|
1439
|
-
|
|
1546
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1547
|
+
var _a;
|
|
1548
|
+
return __generator(this, function (_b) {
|
|
1549
|
+
switch (_b.label) {
|
|
1440
1550
|
case 0:
|
|
1441
1551
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1442
1552
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseSystemJumps().');
|
|
@@ -1456,14 +1566,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1456
1566
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1457
1567
|
}
|
|
1458
1568
|
urlPath = "/universe/system_jumps";
|
|
1459
|
-
|
|
1569
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1570
|
+
if (!facade) {
|
|
1571
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1572
|
+
}
|
|
1573
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1460
1574
|
path: urlPath,
|
|
1461
1575
|
method: 'GET',
|
|
1462
1576
|
headers: headerParameters,
|
|
1463
1577
|
query: queryParameters,
|
|
1464
1578
|
}, initOverrides)];
|
|
1465
1579
|
case 1:
|
|
1466
|
-
response =
|
|
1580
|
+
response = _b.sent();
|
|
1467
1581
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1468
1582
|
}
|
|
1469
1583
|
});
|
|
@@ -1493,9 +1607,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1493
1607
|
*/
|
|
1494
1608
|
UniverseApi.prototype.getUniverseSystemKillsRaw = function (requestParameters, initOverrides) {
|
|
1495
1609
|
return __awaiter(this, void 0, void 0, function () {
|
|
1496
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1497
|
-
|
|
1498
|
-
|
|
1610
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1611
|
+
var _a;
|
|
1612
|
+
return __generator(this, function (_b) {
|
|
1613
|
+
switch (_b.label) {
|
|
1499
1614
|
case 0:
|
|
1500
1615
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1501
1616
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseSystemKills().');
|
|
@@ -1515,14 +1630,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1515
1630
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1516
1631
|
}
|
|
1517
1632
|
urlPath = "/universe/system_kills";
|
|
1518
|
-
|
|
1633
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1634
|
+
if (!facade) {
|
|
1635
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1636
|
+
}
|
|
1637
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1519
1638
|
path: urlPath,
|
|
1520
1639
|
method: 'GET',
|
|
1521
1640
|
headers: headerParameters,
|
|
1522
1641
|
query: queryParameters,
|
|
1523
1642
|
}, initOverrides)];
|
|
1524
1643
|
case 1:
|
|
1525
|
-
response =
|
|
1644
|
+
response = _b.sent();
|
|
1526
1645
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1527
1646
|
}
|
|
1528
1647
|
});
|
|
@@ -1552,9 +1671,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1552
1671
|
*/
|
|
1553
1672
|
UniverseApi.prototype.getUniverseSystemsRaw = function (requestParameters, initOverrides) {
|
|
1554
1673
|
return __awaiter(this, void 0, void 0, function () {
|
|
1555
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1556
|
-
|
|
1557
|
-
|
|
1674
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1675
|
+
var _a;
|
|
1676
|
+
return __generator(this, function (_b) {
|
|
1677
|
+
switch (_b.label) {
|
|
1558
1678
|
case 0:
|
|
1559
1679
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1560
1680
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseSystems().');
|
|
@@ -1574,14 +1694,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1574
1694
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1575
1695
|
}
|
|
1576
1696
|
urlPath = "/universe/systems";
|
|
1577
|
-
|
|
1697
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1698
|
+
if (!facade) {
|
|
1699
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1700
|
+
}
|
|
1701
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1578
1702
|
path: urlPath,
|
|
1579
1703
|
method: 'GET',
|
|
1580
1704
|
headers: headerParameters,
|
|
1581
1705
|
query: queryParameters,
|
|
1582
1706
|
}, initOverrides)];
|
|
1583
1707
|
case 1:
|
|
1584
|
-
response =
|
|
1708
|
+
response = _b.sent();
|
|
1585
1709
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1586
1710
|
}
|
|
1587
1711
|
});
|
|
@@ -1611,9 +1735,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1611
1735
|
*/
|
|
1612
1736
|
UniverseApi.prototype.getUniverseSystemsSystemIdRaw = function (requestParameters, initOverrides) {
|
|
1613
1737
|
return __awaiter(this, void 0, void 0, function () {
|
|
1614
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1615
|
-
|
|
1616
|
-
|
|
1738
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1739
|
+
var _a;
|
|
1740
|
+
return __generator(this, function (_b) {
|
|
1741
|
+
switch (_b.label) {
|
|
1617
1742
|
case 0:
|
|
1618
1743
|
if (requestParameters['systemId'] == null) {
|
|
1619
1744
|
throw new runtime.RequiredError('systemId', 'Required parameter "systemId" was null or undefined when calling getUniverseSystemsSystemId().');
|
|
@@ -1637,14 +1762,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1637
1762
|
}
|
|
1638
1763
|
urlPath = "/universe/systems/{system_id}";
|
|
1639
1764
|
urlPath = urlPath.replace("{".concat("system_id", "}"), encodeURIComponent(String(requestParameters['systemId'])));
|
|
1640
|
-
|
|
1765
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1766
|
+
if (!facade) {
|
|
1767
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1768
|
+
}
|
|
1769
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1641
1770
|
path: urlPath,
|
|
1642
1771
|
method: 'GET',
|
|
1643
1772
|
headers: headerParameters,
|
|
1644
1773
|
query: queryParameters,
|
|
1645
1774
|
}, initOverrides)];
|
|
1646
1775
|
case 1:
|
|
1647
|
-
response =
|
|
1776
|
+
response = _b.sent();
|
|
1648
1777
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1649
1778
|
}
|
|
1650
1779
|
});
|
|
@@ -1674,9 +1803,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1674
1803
|
*/
|
|
1675
1804
|
UniverseApi.prototype.getUniverseTypesRaw = function (requestParameters, initOverrides) {
|
|
1676
1805
|
return __awaiter(this, void 0, void 0, function () {
|
|
1677
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1678
|
-
|
|
1679
|
-
|
|
1806
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1807
|
+
var _a;
|
|
1808
|
+
return __generator(this, function (_b) {
|
|
1809
|
+
switch (_b.label) {
|
|
1680
1810
|
case 0:
|
|
1681
1811
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1682
1812
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getUniverseTypes().');
|
|
@@ -1699,14 +1829,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1699
1829
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1700
1830
|
}
|
|
1701
1831
|
urlPath = "/universe/types";
|
|
1702
|
-
|
|
1832
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1833
|
+
if (!facade) {
|
|
1834
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1835
|
+
}
|
|
1836
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1703
1837
|
path: urlPath,
|
|
1704
1838
|
method: 'GET',
|
|
1705
1839
|
headers: headerParameters,
|
|
1706
1840
|
query: queryParameters,
|
|
1707
1841
|
}, initOverrides)];
|
|
1708
1842
|
case 1:
|
|
1709
|
-
response =
|
|
1843
|
+
response = _b.sent();
|
|
1710
1844
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1711
1845
|
}
|
|
1712
1846
|
});
|
|
@@ -1736,9 +1870,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1736
1870
|
*/
|
|
1737
1871
|
UniverseApi.prototype.getUniverseTypesTypeIdRaw = function (requestParameters, initOverrides) {
|
|
1738
1872
|
return __awaiter(this, void 0, void 0, function () {
|
|
1739
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1740
|
-
|
|
1741
|
-
|
|
1873
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1874
|
+
var _a;
|
|
1875
|
+
return __generator(this, function (_b) {
|
|
1876
|
+
switch (_b.label) {
|
|
1742
1877
|
case 0:
|
|
1743
1878
|
if (requestParameters['typeId'] == null) {
|
|
1744
1879
|
throw new runtime.RequiredError('typeId', 'Required parameter "typeId" was null or undefined when calling getUniverseTypesTypeId().');
|
|
@@ -1762,14 +1897,18 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1762
1897
|
}
|
|
1763
1898
|
urlPath = "/universe/types/{type_id}";
|
|
1764
1899
|
urlPath = urlPath.replace("{".concat("type_id", "}"), encodeURIComponent(String(requestParameters['typeId'])));
|
|
1765
|
-
|
|
1900
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1901
|
+
if (!facade) {
|
|
1902
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1903
|
+
}
|
|
1904
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1766
1905
|
path: urlPath,
|
|
1767
1906
|
method: 'GET',
|
|
1768
1907
|
headers: headerParameters,
|
|
1769
1908
|
query: queryParameters,
|
|
1770
1909
|
}, initOverrides)];
|
|
1771
1910
|
case 1:
|
|
1772
|
-
response =
|
|
1911
|
+
response = _b.sent();
|
|
1773
1912
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1774
1913
|
}
|
|
1775
1914
|
});
|
|
@@ -1799,9 +1938,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1799
1938
|
*/
|
|
1800
1939
|
UniverseApi.prototype.postUniverseIdsRaw = function (requestParameters, initOverrides) {
|
|
1801
1940
|
return __awaiter(this, void 0, void 0, function () {
|
|
1802
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1803
|
-
|
|
1804
|
-
|
|
1941
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1942
|
+
var _a;
|
|
1943
|
+
return __generator(this, function (_b) {
|
|
1944
|
+
switch (_b.label) {
|
|
1805
1945
|
case 0:
|
|
1806
1946
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1807
1947
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling postUniverseIds().');
|
|
@@ -1825,7 +1965,11 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1825
1965
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1826
1966
|
}
|
|
1827
1967
|
urlPath = "/universe/ids";
|
|
1828
|
-
|
|
1968
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1969
|
+
if (!facade) {
|
|
1970
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1971
|
+
}
|
|
1972
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1829
1973
|
path: urlPath,
|
|
1830
1974
|
method: 'POST',
|
|
1831
1975
|
headers: headerParameters,
|
|
@@ -1833,7 +1977,7 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1833
1977
|
body: requestParameters['requestBody'],
|
|
1834
1978
|
}, initOverrides)];
|
|
1835
1979
|
case 1:
|
|
1836
|
-
response =
|
|
1980
|
+
response = _b.sent();
|
|
1837
1981
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1838
1982
|
}
|
|
1839
1983
|
});
|
|
@@ -1863,9 +2007,10 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1863
2007
|
*/
|
|
1864
2008
|
UniverseApi.prototype.postUniverseNamesRaw = function (requestParameters, initOverrides) {
|
|
1865
2009
|
return __awaiter(this, void 0, void 0, function () {
|
|
1866
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1867
|
-
|
|
1868
|
-
|
|
2010
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
2011
|
+
var _a;
|
|
2012
|
+
return __generator(this, function (_b) {
|
|
2013
|
+
switch (_b.label) {
|
|
1869
2014
|
case 0:
|
|
1870
2015
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1871
2016
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling postUniverseNames().');
|
|
@@ -1889,7 +2034,11 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1889
2034
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1890
2035
|
}
|
|
1891
2036
|
urlPath = "/universe/names";
|
|
1892
|
-
|
|
2037
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
2038
|
+
if (!facade) {
|
|
2039
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2040
|
+
}
|
|
2041
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1893
2042
|
path: urlPath,
|
|
1894
2043
|
method: 'POST',
|
|
1895
2044
|
headers: headerParameters,
|
|
@@ -1897,7 +2046,7 @@ var UniverseApi = /** @class */ (function (_super) {
|
|
|
1897
2046
|
body: requestParameters['requestBody'],
|
|
1898
2047
|
}, initOverrides)];
|
|
1899
2048
|
case 1:
|
|
1900
|
-
response =
|
|
2049
|
+
response = _b.sent();
|
|
1901
2050
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1902
2051
|
}
|
|
1903
2052
|
});
|