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
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCorporationsNpccorpsAcceptLanguageEnum = exports.GetCorporationsNpccorpsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdTitlesAcceptLanguageEnum = exports.GetCorporationsCorporationIdTitlesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStructuresAcceptLanguageEnum = exports.GetCorporationsCorporationIdStructuresXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStarbasesStarbaseIdAcceptLanguageEnum = exports.GetCorporationsCorporationIdStarbasesStarbaseIdXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStarbasesAcceptLanguageEnum = exports.GetCorporationsCorporationIdStarbasesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStandingsAcceptLanguageEnum = exports.GetCorporationsCorporationIdStandingsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdShareholdersAcceptLanguageEnum = exports.GetCorporationsCorporationIdShareholdersXCompatibilityDateEnum = exports.GetCorporationsCorporationIdRolesHistoryAcceptLanguageEnum = exports.GetCorporationsCorporationIdRolesHistoryXCompatibilityDateEnum = exports.GetCorporationsCorporationIdRolesAcceptLanguageEnum = exports.GetCorporationsCorporationIdRolesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembertrackingAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembertrackingXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembersTitlesAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembersTitlesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembersLimitAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembersLimitXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembersAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembersXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMedalsIssuedAcceptLanguageEnum = exports.GetCorporationsCorporationIdMedalsIssuedXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMedalsAcceptLanguageEnum = exports.GetCorporationsCorporationIdMedalsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdIconsAcceptLanguageEnum = exports.GetCorporationsCorporationIdIconsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdFacilitiesAcceptLanguageEnum = exports.GetCorporationsCorporationIdFacilitiesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdDivisionsAcceptLanguageEnum = exports.GetCorporationsCorporationIdDivisionsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContainersLogsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContainersLogsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdBlueprintsAcceptLanguageEnum = exports.GetCorporationsCorporationIdBlueprintsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdAlliancehistoryAcceptLanguageEnum = exports.GetCorporationsCorporationIdAlliancehistoryXCompatibilityDateEnum = exports.GetCorporationsCorporationIdAcceptLanguageEnum = exports.GetCorporationsCorporationIdXCompatibilityDateEnum = exports.CorporationApi = 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 CorporationApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
CorporationApi.prototype.getCorporationsCorporationIdRaw = 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['corporationId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationId().');
|
|
@@ -107,14 +107,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/corporations/{corporation_id}";
|
|
109
109
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
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 CorporationApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
CorporationApi.prototype.getCorporationsCorporationIdAlliancehistoryRaw = 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 getCorporationsCorporationIdAlliancehistory().');
|
|
@@ -170,14 +175,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
170
175
|
}
|
|
171
176
|
urlPath = "/corporations/{corporation_id}/alliancehistory";
|
|
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 CorporationApi = /** @class */ (function (_super) {
|
|
|
207
216
|
*/
|
|
208
217
|
CorporationApi.prototype.getCorporationsCorporationIdBlueprintsRaw = 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['corporationId'] == null) {
|
|
215
225
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdBlueprints().');
|
|
@@ -236,14 +246,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
236
246
|
}
|
|
237
247
|
urlPath = "/corporations/{corporation_id}/blueprints";
|
|
238
248
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
239
|
-
|
|
249
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
250
|
+
if (!facade) {
|
|
251
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
252
|
+
}
|
|
253
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
240
254
|
path: urlPath,
|
|
241
255
|
method: 'GET',
|
|
242
256
|
headers: headerParameters,
|
|
243
257
|
query: queryParameters,
|
|
244
258
|
}, initOverrides)];
|
|
245
259
|
case 1:
|
|
246
|
-
response =
|
|
260
|
+
response = _b.sent();
|
|
247
261
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
248
262
|
}
|
|
249
263
|
});
|
|
@@ -273,9 +287,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
273
287
|
*/
|
|
274
288
|
CorporationApi.prototype.getCorporationsCorporationIdContainersLogsRaw = function (requestParameters, initOverrides) {
|
|
275
289
|
return __awaiter(this, void 0, void 0, function () {
|
|
276
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
277
|
-
|
|
278
|
-
|
|
290
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
291
|
+
var _a;
|
|
292
|
+
return __generator(this, function (_b) {
|
|
293
|
+
switch (_b.label) {
|
|
279
294
|
case 0:
|
|
280
295
|
if (requestParameters['corporationId'] == null) {
|
|
281
296
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdContainersLogs().');
|
|
@@ -302,14 +317,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
302
317
|
}
|
|
303
318
|
urlPath = "/corporations/{corporation_id}/containers/logs";
|
|
304
319
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
305
|
-
|
|
320
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
321
|
+
if (!facade) {
|
|
322
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
323
|
+
}
|
|
324
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
306
325
|
path: urlPath,
|
|
307
326
|
method: 'GET',
|
|
308
327
|
headers: headerParameters,
|
|
309
328
|
query: queryParameters,
|
|
310
329
|
}, initOverrides)];
|
|
311
330
|
case 1:
|
|
312
|
-
response =
|
|
331
|
+
response = _b.sent();
|
|
313
332
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
314
333
|
}
|
|
315
334
|
});
|
|
@@ -339,9 +358,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
339
358
|
*/
|
|
340
359
|
CorporationApi.prototype.getCorporationsCorporationIdDivisionsRaw = function (requestParameters, initOverrides) {
|
|
341
360
|
return __awaiter(this, void 0, void 0, function () {
|
|
342
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
343
|
-
|
|
344
|
-
|
|
361
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
362
|
+
var _a;
|
|
363
|
+
return __generator(this, function (_b) {
|
|
364
|
+
switch (_b.label) {
|
|
345
365
|
case 0:
|
|
346
366
|
if (requestParameters['corporationId'] == null) {
|
|
347
367
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdDivisions().');
|
|
@@ -365,14 +385,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
365
385
|
}
|
|
366
386
|
urlPath = "/corporations/{corporation_id}/divisions";
|
|
367
387
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
368
|
-
|
|
388
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
389
|
+
if (!facade) {
|
|
390
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
391
|
+
}
|
|
392
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
369
393
|
path: urlPath,
|
|
370
394
|
method: 'GET',
|
|
371
395
|
headers: headerParameters,
|
|
372
396
|
query: queryParameters,
|
|
373
397
|
}, initOverrides)];
|
|
374
398
|
case 1:
|
|
375
|
-
response =
|
|
399
|
+
response = _b.sent();
|
|
376
400
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
377
401
|
}
|
|
378
402
|
});
|
|
@@ -402,9 +426,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
402
426
|
*/
|
|
403
427
|
CorporationApi.prototype.getCorporationsCorporationIdFacilitiesRaw = function (requestParameters, initOverrides) {
|
|
404
428
|
return __awaiter(this, void 0, void 0, function () {
|
|
405
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
406
|
-
|
|
407
|
-
|
|
429
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
430
|
+
var _a;
|
|
431
|
+
return __generator(this, function (_b) {
|
|
432
|
+
switch (_b.label) {
|
|
408
433
|
case 0:
|
|
409
434
|
if (requestParameters['corporationId'] == null) {
|
|
410
435
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdFacilities().');
|
|
@@ -428,14 +453,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
428
453
|
}
|
|
429
454
|
urlPath = "/corporations/{corporation_id}/facilities";
|
|
430
455
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
431
|
-
|
|
456
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
457
|
+
if (!facade) {
|
|
458
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
459
|
+
}
|
|
460
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
432
461
|
path: urlPath,
|
|
433
462
|
method: 'GET',
|
|
434
463
|
headers: headerParameters,
|
|
435
464
|
query: queryParameters,
|
|
436
465
|
}, initOverrides)];
|
|
437
466
|
case 1:
|
|
438
|
-
response =
|
|
467
|
+
response = _b.sent();
|
|
439
468
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
440
469
|
}
|
|
441
470
|
});
|
|
@@ -465,9 +494,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
465
494
|
*/
|
|
466
495
|
CorporationApi.prototype.getCorporationsCorporationIdIconsRaw = function (requestParameters, initOverrides) {
|
|
467
496
|
return __awaiter(this, void 0, void 0, function () {
|
|
468
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
469
|
-
|
|
470
|
-
|
|
497
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
498
|
+
var _a;
|
|
499
|
+
return __generator(this, function (_b) {
|
|
500
|
+
switch (_b.label) {
|
|
471
501
|
case 0:
|
|
472
502
|
if (requestParameters['corporationId'] == null) {
|
|
473
503
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdIcons().');
|
|
@@ -491,14 +521,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
491
521
|
}
|
|
492
522
|
urlPath = "/corporations/{corporation_id}/icons";
|
|
493
523
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
494
|
-
|
|
524
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
525
|
+
if (!facade) {
|
|
526
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
527
|
+
}
|
|
528
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
495
529
|
path: urlPath,
|
|
496
530
|
method: 'GET',
|
|
497
531
|
headers: headerParameters,
|
|
498
532
|
query: queryParameters,
|
|
499
533
|
}, initOverrides)];
|
|
500
534
|
case 1:
|
|
501
|
-
response =
|
|
535
|
+
response = _b.sent();
|
|
502
536
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
503
537
|
}
|
|
504
538
|
});
|
|
@@ -528,9 +562,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
528
562
|
*/
|
|
529
563
|
CorporationApi.prototype.getCorporationsCorporationIdMedalsRaw = function (requestParameters, initOverrides) {
|
|
530
564
|
return __awaiter(this, void 0, void 0, function () {
|
|
531
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
532
|
-
|
|
533
|
-
|
|
565
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
566
|
+
var _a;
|
|
567
|
+
return __generator(this, function (_b) {
|
|
568
|
+
switch (_b.label) {
|
|
534
569
|
case 0:
|
|
535
570
|
if (requestParameters['corporationId'] == null) {
|
|
536
571
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdMedals().');
|
|
@@ -557,14 +592,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
557
592
|
}
|
|
558
593
|
urlPath = "/corporations/{corporation_id}/medals";
|
|
559
594
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
560
|
-
|
|
595
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
596
|
+
if (!facade) {
|
|
597
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
598
|
+
}
|
|
599
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
561
600
|
path: urlPath,
|
|
562
601
|
method: 'GET',
|
|
563
602
|
headers: headerParameters,
|
|
564
603
|
query: queryParameters,
|
|
565
604
|
}, initOverrides)];
|
|
566
605
|
case 1:
|
|
567
|
-
response =
|
|
606
|
+
response = _b.sent();
|
|
568
607
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
569
608
|
}
|
|
570
609
|
});
|
|
@@ -594,9 +633,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
594
633
|
*/
|
|
595
634
|
CorporationApi.prototype.getCorporationsCorporationIdMedalsIssuedRaw = function (requestParameters, initOverrides) {
|
|
596
635
|
return __awaiter(this, void 0, void 0, function () {
|
|
597
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
598
|
-
|
|
599
|
-
|
|
636
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
637
|
+
var _a;
|
|
638
|
+
return __generator(this, function (_b) {
|
|
639
|
+
switch (_b.label) {
|
|
600
640
|
case 0:
|
|
601
641
|
if (requestParameters['corporationId'] == null) {
|
|
602
642
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdMedalsIssued().');
|
|
@@ -623,14 +663,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
623
663
|
}
|
|
624
664
|
urlPath = "/corporations/{corporation_id}/medals/issued";
|
|
625
665
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
626
|
-
|
|
666
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
667
|
+
if (!facade) {
|
|
668
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
669
|
+
}
|
|
670
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
627
671
|
path: urlPath,
|
|
628
672
|
method: 'GET',
|
|
629
673
|
headers: headerParameters,
|
|
630
674
|
query: queryParameters,
|
|
631
675
|
}, initOverrides)];
|
|
632
676
|
case 1:
|
|
633
|
-
response =
|
|
677
|
+
response = _b.sent();
|
|
634
678
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
635
679
|
}
|
|
636
680
|
});
|
|
@@ -660,9 +704,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
660
704
|
*/
|
|
661
705
|
CorporationApi.prototype.getCorporationsCorporationIdMembersRaw = function (requestParameters, initOverrides) {
|
|
662
706
|
return __awaiter(this, void 0, void 0, function () {
|
|
663
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
664
|
-
|
|
665
|
-
|
|
707
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
708
|
+
var _a;
|
|
709
|
+
return __generator(this, function (_b) {
|
|
710
|
+
switch (_b.label) {
|
|
666
711
|
case 0:
|
|
667
712
|
if (requestParameters['corporationId'] == null) {
|
|
668
713
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdMembers().');
|
|
@@ -686,14 +731,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
686
731
|
}
|
|
687
732
|
urlPath = "/corporations/{corporation_id}/members";
|
|
688
733
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
689
|
-
|
|
734
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
735
|
+
if (!facade) {
|
|
736
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
737
|
+
}
|
|
738
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
690
739
|
path: urlPath,
|
|
691
740
|
method: 'GET',
|
|
692
741
|
headers: headerParameters,
|
|
693
742
|
query: queryParameters,
|
|
694
743
|
}, initOverrides)];
|
|
695
744
|
case 1:
|
|
696
|
-
response =
|
|
745
|
+
response = _b.sent();
|
|
697
746
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
698
747
|
}
|
|
699
748
|
});
|
|
@@ -723,9 +772,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
723
772
|
*/
|
|
724
773
|
CorporationApi.prototype.getCorporationsCorporationIdMembersLimitRaw = function (requestParameters, initOverrides) {
|
|
725
774
|
return __awaiter(this, void 0, void 0, function () {
|
|
726
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
727
|
-
|
|
728
|
-
|
|
775
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
776
|
+
var _a;
|
|
777
|
+
return __generator(this, function (_b) {
|
|
778
|
+
switch (_b.label) {
|
|
729
779
|
case 0:
|
|
730
780
|
if (requestParameters['corporationId'] == null) {
|
|
731
781
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdMembersLimit().');
|
|
@@ -749,14 +799,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
749
799
|
}
|
|
750
800
|
urlPath = "/corporations/{corporation_id}/members/limit";
|
|
751
801
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
752
|
-
|
|
802
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
803
|
+
if (!facade) {
|
|
804
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
805
|
+
}
|
|
806
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
753
807
|
path: urlPath,
|
|
754
808
|
method: 'GET',
|
|
755
809
|
headers: headerParameters,
|
|
756
810
|
query: queryParameters,
|
|
757
811
|
}, initOverrides)];
|
|
758
812
|
case 1:
|
|
759
|
-
response =
|
|
813
|
+
response = _b.sent();
|
|
760
814
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
761
815
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
762
816
|
}
|
|
@@ -792,9 +846,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
792
846
|
*/
|
|
793
847
|
CorporationApi.prototype.getCorporationsCorporationIdMembersTitlesRaw = function (requestParameters, initOverrides) {
|
|
794
848
|
return __awaiter(this, void 0, void 0, function () {
|
|
795
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
796
|
-
|
|
797
|
-
|
|
849
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
850
|
+
var _a;
|
|
851
|
+
return __generator(this, function (_b) {
|
|
852
|
+
switch (_b.label) {
|
|
798
853
|
case 0:
|
|
799
854
|
if (requestParameters['corporationId'] == null) {
|
|
800
855
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdMembersTitles().');
|
|
@@ -818,14 +873,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
818
873
|
}
|
|
819
874
|
urlPath = "/corporations/{corporation_id}/members/titles";
|
|
820
875
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
821
|
-
|
|
876
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
877
|
+
if (!facade) {
|
|
878
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
879
|
+
}
|
|
880
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
822
881
|
path: urlPath,
|
|
823
882
|
method: 'GET',
|
|
824
883
|
headers: headerParameters,
|
|
825
884
|
query: queryParameters,
|
|
826
885
|
}, initOverrides)];
|
|
827
886
|
case 1:
|
|
828
|
-
response =
|
|
887
|
+
response = _b.sent();
|
|
829
888
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
830
889
|
}
|
|
831
890
|
});
|
|
@@ -855,9 +914,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
855
914
|
*/
|
|
856
915
|
CorporationApi.prototype.getCorporationsCorporationIdMembertrackingRaw = function (requestParameters, initOverrides) {
|
|
857
916
|
return __awaiter(this, void 0, void 0, function () {
|
|
858
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
859
|
-
|
|
860
|
-
|
|
917
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
918
|
+
var _a;
|
|
919
|
+
return __generator(this, function (_b) {
|
|
920
|
+
switch (_b.label) {
|
|
861
921
|
case 0:
|
|
862
922
|
if (requestParameters['corporationId'] == null) {
|
|
863
923
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdMembertracking().');
|
|
@@ -881,14 +941,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
881
941
|
}
|
|
882
942
|
urlPath = "/corporations/{corporation_id}/membertracking";
|
|
883
943
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
884
|
-
|
|
944
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
945
|
+
if (!facade) {
|
|
946
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
947
|
+
}
|
|
948
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
885
949
|
path: urlPath,
|
|
886
950
|
method: 'GET',
|
|
887
951
|
headers: headerParameters,
|
|
888
952
|
query: queryParameters,
|
|
889
953
|
}, initOverrides)];
|
|
890
954
|
case 1:
|
|
891
|
-
response =
|
|
955
|
+
response = _b.sent();
|
|
892
956
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
893
957
|
}
|
|
894
958
|
});
|
|
@@ -918,9 +982,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
918
982
|
*/
|
|
919
983
|
CorporationApi.prototype.getCorporationsCorporationIdRolesRaw = function (requestParameters, initOverrides) {
|
|
920
984
|
return __awaiter(this, void 0, void 0, function () {
|
|
921
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
922
|
-
|
|
923
|
-
|
|
985
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
986
|
+
var _a;
|
|
987
|
+
return __generator(this, function (_b) {
|
|
988
|
+
switch (_b.label) {
|
|
924
989
|
case 0:
|
|
925
990
|
if (requestParameters['corporationId'] == null) {
|
|
926
991
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdRoles().');
|
|
@@ -944,14 +1009,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
944
1009
|
}
|
|
945
1010
|
urlPath = "/corporations/{corporation_id}/roles";
|
|
946
1011
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
947
|
-
|
|
1012
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1013
|
+
if (!facade) {
|
|
1014
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1015
|
+
}
|
|
1016
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
948
1017
|
path: urlPath,
|
|
949
1018
|
method: 'GET',
|
|
950
1019
|
headers: headerParameters,
|
|
951
1020
|
query: queryParameters,
|
|
952
1021
|
}, initOverrides)];
|
|
953
1022
|
case 1:
|
|
954
|
-
response =
|
|
1023
|
+
response = _b.sent();
|
|
955
1024
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
956
1025
|
}
|
|
957
1026
|
});
|
|
@@ -981,9 +1050,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
981
1050
|
*/
|
|
982
1051
|
CorporationApi.prototype.getCorporationsCorporationIdRolesHistoryRaw = function (requestParameters, initOverrides) {
|
|
983
1052
|
return __awaiter(this, void 0, void 0, function () {
|
|
984
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
985
|
-
|
|
986
|
-
|
|
1053
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1054
|
+
var _a;
|
|
1055
|
+
return __generator(this, function (_b) {
|
|
1056
|
+
switch (_b.label) {
|
|
987
1057
|
case 0:
|
|
988
1058
|
if (requestParameters['corporationId'] == null) {
|
|
989
1059
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdRolesHistory().');
|
|
@@ -1010,14 +1080,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1010
1080
|
}
|
|
1011
1081
|
urlPath = "/corporations/{corporation_id}/roles/history";
|
|
1012
1082
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1013
|
-
|
|
1083
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1084
|
+
if (!facade) {
|
|
1085
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1086
|
+
}
|
|
1087
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1014
1088
|
path: urlPath,
|
|
1015
1089
|
method: 'GET',
|
|
1016
1090
|
headers: headerParameters,
|
|
1017
1091
|
query: queryParameters,
|
|
1018
1092
|
}, initOverrides)];
|
|
1019
1093
|
case 1:
|
|
1020
|
-
response =
|
|
1094
|
+
response = _b.sent();
|
|
1021
1095
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1022
1096
|
}
|
|
1023
1097
|
});
|
|
@@ -1047,9 +1121,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1047
1121
|
*/
|
|
1048
1122
|
CorporationApi.prototype.getCorporationsCorporationIdShareholdersRaw = function (requestParameters, initOverrides) {
|
|
1049
1123
|
return __awaiter(this, void 0, void 0, function () {
|
|
1050
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1051
|
-
|
|
1052
|
-
|
|
1124
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1125
|
+
var _a;
|
|
1126
|
+
return __generator(this, function (_b) {
|
|
1127
|
+
switch (_b.label) {
|
|
1053
1128
|
case 0:
|
|
1054
1129
|
if (requestParameters['corporationId'] == null) {
|
|
1055
1130
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdShareholders().');
|
|
@@ -1076,14 +1151,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1076
1151
|
}
|
|
1077
1152
|
urlPath = "/corporations/{corporation_id}/shareholders";
|
|
1078
1153
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1079
|
-
|
|
1154
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1155
|
+
if (!facade) {
|
|
1156
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1157
|
+
}
|
|
1158
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1080
1159
|
path: urlPath,
|
|
1081
1160
|
method: 'GET',
|
|
1082
1161
|
headers: headerParameters,
|
|
1083
1162
|
query: queryParameters,
|
|
1084
1163
|
}, initOverrides)];
|
|
1085
1164
|
case 1:
|
|
1086
|
-
response =
|
|
1165
|
+
response = _b.sent();
|
|
1087
1166
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1088
1167
|
}
|
|
1089
1168
|
});
|
|
@@ -1113,9 +1192,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1113
1192
|
*/
|
|
1114
1193
|
CorporationApi.prototype.getCorporationsCorporationIdStandingsRaw = function (requestParameters, initOverrides) {
|
|
1115
1194
|
return __awaiter(this, void 0, void 0, function () {
|
|
1116
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1117
|
-
|
|
1118
|
-
|
|
1195
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1196
|
+
var _a;
|
|
1197
|
+
return __generator(this, function (_b) {
|
|
1198
|
+
switch (_b.label) {
|
|
1119
1199
|
case 0:
|
|
1120
1200
|
if (requestParameters['corporationId'] == null) {
|
|
1121
1201
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdStandings().');
|
|
@@ -1142,14 +1222,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1142
1222
|
}
|
|
1143
1223
|
urlPath = "/corporations/{corporation_id}/standings";
|
|
1144
1224
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1145
|
-
|
|
1225
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1226
|
+
if (!facade) {
|
|
1227
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1228
|
+
}
|
|
1229
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1146
1230
|
path: urlPath,
|
|
1147
1231
|
method: 'GET',
|
|
1148
1232
|
headers: headerParameters,
|
|
1149
1233
|
query: queryParameters,
|
|
1150
1234
|
}, initOverrides)];
|
|
1151
1235
|
case 1:
|
|
1152
|
-
response =
|
|
1236
|
+
response = _b.sent();
|
|
1153
1237
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1154
1238
|
}
|
|
1155
1239
|
});
|
|
@@ -1179,9 +1263,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1179
1263
|
*/
|
|
1180
1264
|
CorporationApi.prototype.getCorporationsCorporationIdStarbasesRaw = function (requestParameters, initOverrides) {
|
|
1181
1265
|
return __awaiter(this, void 0, void 0, function () {
|
|
1182
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1183
|
-
|
|
1184
|
-
|
|
1266
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1267
|
+
var _a;
|
|
1268
|
+
return __generator(this, function (_b) {
|
|
1269
|
+
switch (_b.label) {
|
|
1185
1270
|
case 0:
|
|
1186
1271
|
if (requestParameters['corporationId'] == null) {
|
|
1187
1272
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdStarbases().');
|
|
@@ -1208,14 +1293,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1208
1293
|
}
|
|
1209
1294
|
urlPath = "/corporations/{corporation_id}/starbases";
|
|
1210
1295
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1211
|
-
|
|
1296
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1297
|
+
if (!facade) {
|
|
1298
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1299
|
+
}
|
|
1300
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1212
1301
|
path: urlPath,
|
|
1213
1302
|
method: 'GET',
|
|
1214
1303
|
headers: headerParameters,
|
|
1215
1304
|
query: queryParameters,
|
|
1216
1305
|
}, initOverrides)];
|
|
1217
1306
|
case 1:
|
|
1218
|
-
response =
|
|
1307
|
+
response = _b.sent();
|
|
1219
1308
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1220
1309
|
}
|
|
1221
1310
|
});
|
|
@@ -1245,9 +1334,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1245
1334
|
*/
|
|
1246
1335
|
CorporationApi.prototype.getCorporationsCorporationIdStarbasesStarbaseIdRaw = function (requestParameters, initOverrides) {
|
|
1247
1336
|
return __awaiter(this, void 0, void 0, function () {
|
|
1248
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1249
|
-
|
|
1250
|
-
|
|
1337
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1338
|
+
var _a;
|
|
1339
|
+
return __generator(this, function (_b) {
|
|
1340
|
+
switch (_b.label) {
|
|
1251
1341
|
case 0:
|
|
1252
1342
|
if (requestParameters['corporationId'] == null) {
|
|
1253
1343
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdStarbasesStarbaseId().');
|
|
@@ -1281,14 +1371,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1281
1371
|
urlPath = "/corporations/{corporation_id}/starbases/{starbase_id}";
|
|
1282
1372
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1283
1373
|
urlPath = urlPath.replace("{".concat("starbase_id", "}"), encodeURIComponent(String(requestParameters['starbaseId'])));
|
|
1284
|
-
|
|
1374
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1375
|
+
if (!facade) {
|
|
1376
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1377
|
+
}
|
|
1378
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1285
1379
|
path: urlPath,
|
|
1286
1380
|
method: 'GET',
|
|
1287
1381
|
headers: headerParameters,
|
|
1288
1382
|
query: queryParameters,
|
|
1289
1383
|
}, initOverrides)];
|
|
1290
1384
|
case 1:
|
|
1291
|
-
response =
|
|
1385
|
+
response = _b.sent();
|
|
1292
1386
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1293
1387
|
}
|
|
1294
1388
|
});
|
|
@@ -1318,9 +1412,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1318
1412
|
*/
|
|
1319
1413
|
CorporationApi.prototype.getCorporationsCorporationIdStructuresRaw = function (requestParameters, initOverrides) {
|
|
1320
1414
|
return __awaiter(this, void 0, void 0, function () {
|
|
1321
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1322
|
-
|
|
1323
|
-
|
|
1415
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1416
|
+
var _a;
|
|
1417
|
+
return __generator(this, function (_b) {
|
|
1418
|
+
switch (_b.label) {
|
|
1324
1419
|
case 0:
|
|
1325
1420
|
if (requestParameters['corporationId'] == null) {
|
|
1326
1421
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdStructures().');
|
|
@@ -1347,14 +1442,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1347
1442
|
}
|
|
1348
1443
|
urlPath = "/corporations/{corporation_id}/structures";
|
|
1349
1444
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1350
|
-
|
|
1445
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1446
|
+
if (!facade) {
|
|
1447
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1448
|
+
}
|
|
1449
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1351
1450
|
path: urlPath,
|
|
1352
1451
|
method: 'GET',
|
|
1353
1452
|
headers: headerParameters,
|
|
1354
1453
|
query: queryParameters,
|
|
1355
1454
|
}, initOverrides)];
|
|
1356
1455
|
case 1:
|
|
1357
|
-
response =
|
|
1456
|
+
response = _b.sent();
|
|
1358
1457
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1359
1458
|
}
|
|
1360
1459
|
});
|
|
@@ -1384,9 +1483,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1384
1483
|
*/
|
|
1385
1484
|
CorporationApi.prototype.getCorporationsCorporationIdTitlesRaw = function (requestParameters, initOverrides) {
|
|
1386
1485
|
return __awaiter(this, void 0, void 0, function () {
|
|
1387
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1388
|
-
|
|
1389
|
-
|
|
1486
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1487
|
+
var _a;
|
|
1488
|
+
return __generator(this, function (_b) {
|
|
1489
|
+
switch (_b.label) {
|
|
1390
1490
|
case 0:
|
|
1391
1491
|
if (requestParameters['corporationId'] == null) {
|
|
1392
1492
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdTitles().');
|
|
@@ -1410,14 +1510,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1410
1510
|
}
|
|
1411
1511
|
urlPath = "/corporations/{corporation_id}/titles";
|
|
1412
1512
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1413
|
-
|
|
1513
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1514
|
+
if (!facade) {
|
|
1515
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1516
|
+
}
|
|
1517
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1414
1518
|
path: urlPath,
|
|
1415
1519
|
method: 'GET',
|
|
1416
1520
|
headers: headerParameters,
|
|
1417
1521
|
query: queryParameters,
|
|
1418
1522
|
}, initOverrides)];
|
|
1419
1523
|
case 1:
|
|
1420
|
-
response =
|
|
1524
|
+
response = _b.sent();
|
|
1421
1525
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1422
1526
|
}
|
|
1423
1527
|
});
|
|
@@ -1447,9 +1551,10 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1447
1551
|
*/
|
|
1448
1552
|
CorporationApi.prototype.getCorporationsNpccorpsRaw = function (requestParameters, initOverrides) {
|
|
1449
1553
|
return __awaiter(this, void 0, void 0, function () {
|
|
1450
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
1451
|
-
|
|
1452
|
-
|
|
1554
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
1555
|
+
var _a;
|
|
1556
|
+
return __generator(this, function (_b) {
|
|
1557
|
+
switch (_b.label) {
|
|
1453
1558
|
case 0:
|
|
1454
1559
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
1455
1560
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getCorporationsNpccorps().');
|
|
@@ -1469,14 +1574,18 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1469
1574
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1470
1575
|
}
|
|
1471
1576
|
urlPath = "/corporations/npccorps";
|
|
1472
|
-
|
|
1577
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1578
|
+
if (!facade) {
|
|
1579
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1580
|
+
}
|
|
1581
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
1473
1582
|
path: urlPath,
|
|
1474
1583
|
method: 'GET',
|
|
1475
1584
|
headers: headerParameters,
|
|
1476
1585
|
query: queryParameters,
|
|
1477
1586
|
}, initOverrides)];
|
|
1478
1587
|
case 1:
|
|
1479
|
-
response =
|
|
1588
|
+
response = _b.sent();
|
|
1480
1589
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
1481
1590
|
}
|
|
1482
1591
|
});
|