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/IndustryApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetIndustrySystemsAcceptLanguageEnum = exports.GetIndustrySystemsXCompatibilityDateEnum = exports.GetIndustryFacilitiesAcceptLanguageEnum = exports.GetIndustryFacilitiesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdIndustryJobsAcceptLanguageEnum = exports.GetCorporationsCorporationIdIndustryJobsXCompatibilityDateEnum = exports.GetCorporationCorporationIdMiningObserversObserverIdAcceptLanguageEnum = exports.GetCorporationCorporationIdMiningObserversObserverIdXCompatibilityDateEnum = exports.GetCorporationCorporationIdMiningObserversAcceptLanguageEnum = exports.GetCorporationCorporationIdMiningObserversXCompatibilityDateEnum = exports.GetCorporationCorporationIdMiningExtractionsAcceptLanguageEnum = exports.GetCorporationCorporationIdMiningExtractionsXCompatibilityDateEnum = exports.GetCharactersCharacterIdMiningAcceptLanguageEnum = exports.GetCharactersCharacterIdMiningXCompatibilityDateEnum = exports.GetCharactersCharacterIdIndustryJobsAcceptLanguageEnum = exports.GetCharactersCharacterIdIndustryJobsXCompatibilityDateEnum = exports.IndustryApi = 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 IndustryApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
IndustryApi.prototype.getCharactersCharacterIdIndustryJobsRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdIndustryJobs().');
|
|
@@ -110,14 +110,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
110
110
|
}
|
|
111
111
|
urlPath = "/characters/{character_id}/industry/jobs";
|
|
112
112
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
113
|
-
|
|
113
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
114
|
+
if (!facade) {
|
|
115
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
116
|
+
}
|
|
117
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
114
118
|
path: urlPath,
|
|
115
119
|
method: 'GET',
|
|
116
120
|
headers: headerParameters,
|
|
117
121
|
query: queryParameters,
|
|
118
122
|
}, initOverrides)];
|
|
119
123
|
case 1:
|
|
120
|
-
response =
|
|
124
|
+
response = _b.sent();
|
|
121
125
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
122
126
|
}
|
|
123
127
|
});
|
|
@@ -147,9 +151,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
147
151
|
*/
|
|
148
152
|
IndustryApi.prototype.getCharactersCharacterIdMiningRaw = function (requestParameters, initOverrides) {
|
|
149
153
|
return __awaiter(this, void 0, void 0, function () {
|
|
150
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
155
|
+
var _a;
|
|
156
|
+
return __generator(this, function (_b) {
|
|
157
|
+
switch (_b.label) {
|
|
153
158
|
case 0:
|
|
154
159
|
if (requestParameters['characterId'] == null) {
|
|
155
160
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdMining().');
|
|
@@ -176,14 +181,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
176
181
|
}
|
|
177
182
|
urlPath = "/characters/{character_id}/mining";
|
|
178
183
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
179
|
-
|
|
184
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
185
|
+
if (!facade) {
|
|
186
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
187
|
+
}
|
|
188
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
180
189
|
path: urlPath,
|
|
181
190
|
method: 'GET',
|
|
182
191
|
headers: headerParameters,
|
|
183
192
|
query: queryParameters,
|
|
184
193
|
}, initOverrides)];
|
|
185
194
|
case 1:
|
|
186
|
-
response =
|
|
195
|
+
response = _b.sent();
|
|
187
196
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
188
197
|
}
|
|
189
198
|
});
|
|
@@ -213,9 +222,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
213
222
|
*/
|
|
214
223
|
IndustryApi.prototype.getCorporationCorporationIdMiningExtractionsRaw = function (requestParameters, initOverrides) {
|
|
215
224
|
return __awaiter(this, void 0, void 0, function () {
|
|
216
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
217
|
-
|
|
218
|
-
|
|
225
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
226
|
+
var _a;
|
|
227
|
+
return __generator(this, function (_b) {
|
|
228
|
+
switch (_b.label) {
|
|
219
229
|
case 0:
|
|
220
230
|
if (requestParameters['corporationId'] == null) {
|
|
221
231
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationCorporationIdMiningExtractions().');
|
|
@@ -242,14 +252,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
242
252
|
}
|
|
243
253
|
urlPath = "/corporation/{corporation_id}/mining/extractions";
|
|
244
254
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
245
|
-
|
|
255
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
256
|
+
if (!facade) {
|
|
257
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
258
|
+
}
|
|
259
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
246
260
|
path: urlPath,
|
|
247
261
|
method: 'GET',
|
|
248
262
|
headers: headerParameters,
|
|
249
263
|
query: queryParameters,
|
|
250
264
|
}, initOverrides)];
|
|
251
265
|
case 1:
|
|
252
|
-
response =
|
|
266
|
+
response = _b.sent();
|
|
253
267
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
254
268
|
}
|
|
255
269
|
});
|
|
@@ -279,9 +293,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
279
293
|
*/
|
|
280
294
|
IndustryApi.prototype.getCorporationCorporationIdMiningObserversRaw = function (requestParameters, initOverrides) {
|
|
281
295
|
return __awaiter(this, void 0, void 0, function () {
|
|
282
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
283
|
-
|
|
284
|
-
|
|
296
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
297
|
+
var _a;
|
|
298
|
+
return __generator(this, function (_b) {
|
|
299
|
+
switch (_b.label) {
|
|
285
300
|
case 0:
|
|
286
301
|
if (requestParameters['corporationId'] == null) {
|
|
287
302
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationCorporationIdMiningObservers().');
|
|
@@ -308,14 +323,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
308
323
|
}
|
|
309
324
|
urlPath = "/corporation/{corporation_id}/mining/observers";
|
|
310
325
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
311
|
-
|
|
326
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
327
|
+
if (!facade) {
|
|
328
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
329
|
+
}
|
|
330
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
312
331
|
path: urlPath,
|
|
313
332
|
method: 'GET',
|
|
314
333
|
headers: headerParameters,
|
|
315
334
|
query: queryParameters,
|
|
316
335
|
}, initOverrides)];
|
|
317
336
|
case 1:
|
|
318
|
-
response =
|
|
337
|
+
response = _b.sent();
|
|
319
338
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
320
339
|
}
|
|
321
340
|
});
|
|
@@ -345,9 +364,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
345
364
|
*/
|
|
346
365
|
IndustryApi.prototype.getCorporationCorporationIdMiningObserversObserverIdRaw = function (requestParameters, initOverrides) {
|
|
347
366
|
return __awaiter(this, void 0, void 0, function () {
|
|
348
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
349
|
-
|
|
350
|
-
|
|
367
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
368
|
+
var _a;
|
|
369
|
+
return __generator(this, function (_b) {
|
|
370
|
+
switch (_b.label) {
|
|
351
371
|
case 0:
|
|
352
372
|
if (requestParameters['corporationId'] == null) {
|
|
353
373
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationCorporationIdMiningObserversObserverId().');
|
|
@@ -378,14 +398,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
378
398
|
urlPath = "/corporation/{corporation_id}/mining/observers/{observer_id}";
|
|
379
399
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
380
400
|
urlPath = urlPath.replace("{".concat("observer_id", "}"), encodeURIComponent(String(requestParameters['observerId'])));
|
|
381
|
-
|
|
401
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
402
|
+
if (!facade) {
|
|
403
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
404
|
+
}
|
|
405
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
382
406
|
path: urlPath,
|
|
383
407
|
method: 'GET',
|
|
384
408
|
headers: headerParameters,
|
|
385
409
|
query: queryParameters,
|
|
386
410
|
}, initOverrides)];
|
|
387
411
|
case 1:
|
|
388
|
-
response =
|
|
412
|
+
response = _b.sent();
|
|
389
413
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
390
414
|
}
|
|
391
415
|
});
|
|
@@ -415,9 +439,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
415
439
|
*/
|
|
416
440
|
IndustryApi.prototype.getCorporationsCorporationIdIndustryJobsRaw = function (requestParameters, initOverrides) {
|
|
417
441
|
return __awaiter(this, void 0, void 0, function () {
|
|
418
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
419
|
-
|
|
420
|
-
|
|
442
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
443
|
+
var _a;
|
|
444
|
+
return __generator(this, function (_b) {
|
|
445
|
+
switch (_b.label) {
|
|
421
446
|
case 0:
|
|
422
447
|
if (requestParameters['corporationId'] == null) {
|
|
423
448
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdIndustryJobs().');
|
|
@@ -447,14 +472,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
447
472
|
}
|
|
448
473
|
urlPath = "/corporations/{corporation_id}/industry/jobs";
|
|
449
474
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
450
|
-
|
|
475
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
476
|
+
if (!facade) {
|
|
477
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
478
|
+
}
|
|
479
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
451
480
|
path: urlPath,
|
|
452
481
|
method: 'GET',
|
|
453
482
|
headers: headerParameters,
|
|
454
483
|
query: queryParameters,
|
|
455
484
|
}, initOverrides)];
|
|
456
485
|
case 1:
|
|
457
|
-
response =
|
|
486
|
+
response = _b.sent();
|
|
458
487
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
459
488
|
}
|
|
460
489
|
});
|
|
@@ -484,9 +513,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
484
513
|
*/
|
|
485
514
|
IndustryApi.prototype.getIndustryFacilitiesRaw = function (requestParameters, initOverrides) {
|
|
486
515
|
return __awaiter(this, void 0, void 0, function () {
|
|
487
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
488
|
-
|
|
489
|
-
|
|
516
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
517
|
+
var _a;
|
|
518
|
+
return __generator(this, function (_b) {
|
|
519
|
+
switch (_b.label) {
|
|
490
520
|
case 0:
|
|
491
521
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
492
522
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getIndustryFacilities().');
|
|
@@ -506,14 +536,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
506
536
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
507
537
|
}
|
|
508
538
|
urlPath = "/industry/facilities";
|
|
509
|
-
|
|
539
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
540
|
+
if (!facade) {
|
|
541
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
542
|
+
}
|
|
543
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
510
544
|
path: urlPath,
|
|
511
545
|
method: 'GET',
|
|
512
546
|
headers: headerParameters,
|
|
513
547
|
query: queryParameters,
|
|
514
548
|
}, initOverrides)];
|
|
515
549
|
case 1:
|
|
516
|
-
response =
|
|
550
|
+
response = _b.sent();
|
|
517
551
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
518
552
|
}
|
|
519
553
|
});
|
|
@@ -543,9 +577,10 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
543
577
|
*/
|
|
544
578
|
IndustryApi.prototype.getIndustrySystemsRaw = function (requestParameters, initOverrides) {
|
|
545
579
|
return __awaiter(this, void 0, void 0, function () {
|
|
546
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
547
|
-
|
|
548
|
-
|
|
580
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
581
|
+
var _a;
|
|
582
|
+
return __generator(this, function (_b) {
|
|
583
|
+
switch (_b.label) {
|
|
549
584
|
case 0:
|
|
550
585
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
551
586
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getIndustrySystems().');
|
|
@@ -565,14 +600,18 @@ var IndustryApi = /** @class */ (function (_super) {
|
|
|
565
600
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
566
601
|
}
|
|
567
602
|
urlPath = "/industry/systems";
|
|
568
|
-
|
|
603
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
604
|
+
if (!facade) {
|
|
605
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
606
|
+
}
|
|
607
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
569
608
|
path: urlPath,
|
|
570
609
|
method: 'GET',
|
|
571
610
|
headers: headerParameters,
|
|
572
611
|
query: queryParameters,
|
|
573
612
|
}, initOverrides)];
|
|
574
613
|
case 1:
|
|
575
|
-
response =
|
|
614
|
+
response = _b.sent();
|
|
576
615
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
577
616
|
}
|
|
578
617
|
});
|
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetInsurancePricesAcceptLanguageEnum = exports.GetInsurancePricesXCompatibilityDateEnum = exports.InsuranceApi = 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 InsuranceApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
InsuranceApi.prototype.getInsurancePricesRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getInsurancePrices().');
|
|
@@ -103,14 +103,18 @@ var InsuranceApi = /** @class */ (function (_super) {
|
|
|
103
103
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
104
104
|
}
|
|
105
105
|
urlPath = "/insurance/prices";
|
|
106
|
-
|
|
106
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
107
|
+
if (!facade) {
|
|
108
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
109
|
+
}
|
|
110
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
107
111
|
path: urlPath,
|
|
108
112
|
method: 'GET',
|
|
109
113
|
headers: headerParameters,
|
|
110
114
|
query: queryParameters,
|
|
111
115
|
}, initOverrides)];
|
|
112
116
|
case 1:
|
|
113
|
-
response =
|
|
117
|
+
response = _b.sent();
|
|
114
118
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
115
119
|
}
|
|
116
120
|
});
|
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetKillmailsKillmailIdKillmailHashAcceptLanguageEnum = exports.GetKillmailsKillmailIdKillmailHashXCompatibilityDateEnum = exports.GetCorporationsCorporationIdKillmailsRecentAcceptLanguageEnum = exports.GetCorporationsCorporationIdKillmailsRecentXCompatibilityDateEnum = exports.GetCharactersCharacterIdKillmailsRecentAcceptLanguageEnum = exports.GetCharactersCharacterIdKillmailsRecentXCompatibilityDateEnum = exports.KillmailsApi = 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 KillmailsApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
KillmailsApi.prototype.getCharactersCharacterIdKillmailsRecentRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdKillmailsRecent().');
|
|
@@ -110,14 +110,18 @@ var KillmailsApi = /** @class */ (function (_super) {
|
|
|
110
110
|
}
|
|
111
111
|
urlPath = "/characters/{character_id}/killmails/recent";
|
|
112
112
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
113
|
-
|
|
113
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
114
|
+
if (!facade) {
|
|
115
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
116
|
+
}
|
|
117
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
114
118
|
path: urlPath,
|
|
115
119
|
method: 'GET',
|
|
116
120
|
headers: headerParameters,
|
|
117
121
|
query: queryParameters,
|
|
118
122
|
}, initOverrides)];
|
|
119
123
|
case 1:
|
|
120
|
-
response =
|
|
124
|
+
response = _b.sent();
|
|
121
125
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
122
126
|
}
|
|
123
127
|
});
|
|
@@ -147,9 +151,10 @@ var KillmailsApi = /** @class */ (function (_super) {
|
|
|
147
151
|
*/
|
|
148
152
|
KillmailsApi.prototype.getCorporationsCorporationIdKillmailsRecentRaw = function (requestParameters, initOverrides) {
|
|
149
153
|
return __awaiter(this, void 0, void 0, function () {
|
|
150
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
155
|
+
var _a;
|
|
156
|
+
return __generator(this, function (_b) {
|
|
157
|
+
switch (_b.label) {
|
|
153
158
|
case 0:
|
|
154
159
|
if (requestParameters['corporationId'] == null) {
|
|
155
160
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdKillmailsRecent().');
|
|
@@ -176,14 +181,18 @@ var KillmailsApi = /** @class */ (function (_super) {
|
|
|
176
181
|
}
|
|
177
182
|
urlPath = "/corporations/{corporation_id}/killmails/recent";
|
|
178
183
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
179
|
-
|
|
184
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
185
|
+
if (!facade) {
|
|
186
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
187
|
+
}
|
|
188
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
180
189
|
path: urlPath,
|
|
181
190
|
method: 'GET',
|
|
182
191
|
headers: headerParameters,
|
|
183
192
|
query: queryParameters,
|
|
184
193
|
}, initOverrides)];
|
|
185
194
|
case 1:
|
|
186
|
-
response =
|
|
195
|
+
response = _b.sent();
|
|
187
196
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
188
197
|
}
|
|
189
198
|
});
|
|
@@ -213,9 +222,10 @@ var KillmailsApi = /** @class */ (function (_super) {
|
|
|
213
222
|
*/
|
|
214
223
|
KillmailsApi.prototype.getKillmailsKillmailIdKillmailHashRaw = function (requestParameters, initOverrides) {
|
|
215
224
|
return __awaiter(this, void 0, void 0, function () {
|
|
216
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
217
|
-
|
|
218
|
-
|
|
225
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
226
|
+
var _a;
|
|
227
|
+
return __generator(this, function (_b) {
|
|
228
|
+
switch (_b.label) {
|
|
219
229
|
case 0:
|
|
220
230
|
if (requestParameters['killmailHash'] == null) {
|
|
221
231
|
throw new runtime.RequiredError('killmailHash', 'Required parameter "killmailHash" was null or undefined when calling getKillmailsKillmailIdKillmailHash().');
|
|
@@ -243,14 +253,18 @@ var KillmailsApi = /** @class */ (function (_super) {
|
|
|
243
253
|
urlPath = "/killmails/{killmail_id}/{killmail_hash}";
|
|
244
254
|
urlPath = urlPath.replace("{".concat("killmail_hash", "}"), encodeURIComponent(String(requestParameters['killmailHash'])));
|
|
245
255
|
urlPath = urlPath.replace("{".concat("killmail_id", "}"), encodeURIComponent(String(requestParameters['killmailId'])));
|
|
246
|
-
|
|
256
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
257
|
+
if (!facade) {
|
|
258
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
259
|
+
}
|
|
260
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
247
261
|
path: urlPath,
|
|
248
262
|
method: 'GET',
|
|
249
263
|
headers: headerParameters,
|
|
250
264
|
query: queryParameters,
|
|
251
265
|
}, initOverrides)];
|
|
252
266
|
case 1:
|
|
253
|
-
response =
|
|
267
|
+
response = _b.sent();
|
|
254
268
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
255
269
|
}
|
|
256
270
|
});
|
package/dist/apis/LocationApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCharactersCharacterIdShipAcceptLanguageEnum = exports.GetCharactersCharacterIdShipXCompatibilityDateEnum = exports.GetCharactersCharacterIdOnlineAcceptLanguageEnum = exports.GetCharactersCharacterIdOnlineXCompatibilityDateEnum = exports.GetCharactersCharacterIdLocationAcceptLanguageEnum = exports.GetCharactersCharacterIdLocationXCompatibilityDateEnum = exports.LocationApi = 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 LocationApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
LocationApi.prototype.getCharactersCharacterIdLocationRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdLocation().');
|
|
@@ -107,14 +107,18 @@ var LocationApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/characters/{character_id}/location";
|
|
109
109
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
110
|
-
|
|
110
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
111
|
+
if (!facade) {
|
|
112
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
113
|
+
}
|
|
114
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
111
115
|
path: urlPath,
|
|
112
116
|
method: 'GET',
|
|
113
117
|
headers: headerParameters,
|
|
114
118
|
query: queryParameters,
|
|
115
119
|
}, initOverrides)];
|
|
116
120
|
case 1:
|
|
117
|
-
response =
|
|
121
|
+
response = _b.sent();
|
|
118
122
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
119
123
|
}
|
|
120
124
|
});
|
|
@@ -144,9 +148,10 @@ var LocationApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
LocationApi.prototype.getCharactersCharacterIdOnlineRaw = 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['characterId'] == null) {
|
|
152
157
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdOnline().');
|
|
@@ -170,14 +175,18 @@ var LocationApi = /** @class */ (function (_super) {
|
|
|
170
175
|
}
|
|
171
176
|
urlPath = "/characters/{character_id}/online";
|
|
172
177
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
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 LocationApi = /** @class */ (function (_super) {
|
|
|
207
216
|
*/
|
|
208
217
|
LocationApi.prototype.getCharactersCharacterIdShipRaw = 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['characterId'] == null) {
|
|
215
225
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdShip().');
|
|
@@ -233,14 +243,18 @@ var LocationApi = /** @class */ (function (_super) {
|
|
|
233
243
|
}
|
|
234
244
|
urlPath = "/characters/{character_id}/ship";
|
|
235
245
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
236
|
-
|
|
246
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
247
|
+
if (!facade) {
|
|
248
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
249
|
+
}
|
|
250
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
237
251
|
path: urlPath,
|
|
238
252
|
method: 'GET',
|
|
239
253
|
headers: headerParameters,
|
|
240
254
|
query: queryParameters,
|
|
241
255
|
}, initOverrides)];
|
|
242
256
|
case 1:
|
|
243
|
-
response =
|
|
257
|
+
response = _b.sent();
|
|
244
258
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
245
259
|
}
|
|
246
260
|
});
|
package/dist/apis/LoyaltyApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetLoyaltyStoresCorporationIdOffersAcceptLanguageEnum = exports.GetLoyaltyStoresCorporationIdOffersXCompatibilityDateEnum = exports.GetCharactersCharacterIdLoyaltyPointsAcceptLanguageEnum = exports.GetCharactersCharacterIdLoyaltyPointsXCompatibilityDateEnum = exports.LoyaltyApi = 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 LoyaltyApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
LoyaltyApi.prototype.getCharactersCharacterIdLoyaltyPointsRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdLoyaltyPoints().');
|
|
@@ -107,14 +107,18 @@ var LoyaltyApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/characters/{character_id}/loyalty/points";
|
|
109
109
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
110
|
-
|
|
110
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
111
|
+
if (!facade) {
|
|
112
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
113
|
+
}
|
|
114
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
111
115
|
path: urlPath,
|
|
112
116
|
method: 'GET',
|
|
113
117
|
headers: headerParameters,
|
|
114
118
|
query: queryParameters,
|
|
115
119
|
}, initOverrides)];
|
|
116
120
|
case 1:
|
|
117
|
-
response =
|
|
121
|
+
response = _b.sent();
|
|
118
122
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
119
123
|
}
|
|
120
124
|
});
|
|
@@ -144,9 +148,10 @@ var LoyaltyApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
LoyaltyApi.prototype.getLoyaltyStoresCorporationIdOffersRaw = 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 getLoyaltyStoresCorporationIdOffers().');
|
|
@@ -170,14 +175,18 @@ var LoyaltyApi = /** @class */ (function (_super) {
|
|
|
170
175
|
}
|
|
171
176
|
urlPath = "/loyalty/stores/{corporation_id}/offers";
|
|
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
|
});
|