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/MarketApi.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.GetMarketsStructuresStructureIdAcceptLanguageEnum = exports.GetMarketsStructuresStructureIdXCompatibilityDateEnum = exports.GetMarketsRegionIdTypesAcceptLanguageEnum = exports.GetMarketsRegionIdTypesXCompatibilityDateEnum = exports.GetMarketsRegionIdOrdersAcceptLanguageEnum = exports.GetMarketsRegionIdOrdersXCompatibilityDateEnum = exports.GetMarketsRegionIdOrdersOrderTypeEnum = exports.GetMarketsRegionIdHistoryAcceptLanguageEnum = exports.GetMarketsRegionIdHistoryXCompatibilityDateEnum = exports.GetMarketsPricesAcceptLanguageEnum = exports.GetMarketsPricesXCompatibilityDateEnum = exports.GetMarketsGroupsMarketGroupIdAcceptLanguageEnum = exports.GetMarketsGroupsMarketGroupIdXCompatibilityDateEnum = exports.GetMarketsGroupsAcceptLanguageEnum = exports.GetMarketsGroupsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdOrdersHistoryAcceptLanguageEnum = exports.GetCorporationsCorporationIdOrdersHistoryXCompatibilityDateEnum = exports.GetCorporationsCorporationIdOrdersAcceptLanguageEnum = exports.GetCorporationsCorporationIdOrdersXCompatibilityDateEnum = exports.GetCharactersCharacterIdOrdersHistoryAcceptLanguageEnum = exports.GetCharactersCharacterIdOrdersHistoryXCompatibilityDateEnum = exports.GetCharactersCharacterIdOrdersAcceptLanguageEnum = exports.GetCharactersCharacterIdOrdersXCompatibilityDateEnum = exports.MarketApi = 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 MarketApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
MarketApi.prototype.getCharactersCharacterIdOrdersRaw = 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 getCharactersCharacterIdOrders().');
|
|
@@ -107,14 +107,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/characters/{character_id}/orders";
|
|
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 MarketApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
MarketApi.prototype.getCharactersCharacterIdOrdersHistoryRaw = 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 getCharactersCharacterIdOrdersHistory().');
|
|
@@ -173,14 +178,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
173
178
|
}
|
|
174
179
|
urlPath = "/characters/{character_id}/orders/history";
|
|
175
180
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
176
|
-
|
|
181
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
182
|
+
if (!facade) {
|
|
183
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
184
|
+
}
|
|
185
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
177
186
|
path: urlPath,
|
|
178
187
|
method: 'GET',
|
|
179
188
|
headers: headerParameters,
|
|
180
189
|
query: queryParameters,
|
|
181
190
|
}, initOverrides)];
|
|
182
191
|
case 1:
|
|
183
|
-
response =
|
|
192
|
+
response = _b.sent();
|
|
184
193
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
185
194
|
}
|
|
186
195
|
});
|
|
@@ -210,9 +219,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
210
219
|
*/
|
|
211
220
|
MarketApi.prototype.getCorporationsCorporationIdOrdersRaw = function (requestParameters, initOverrides) {
|
|
212
221
|
return __awaiter(this, void 0, void 0, function () {
|
|
213
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
214
|
-
|
|
215
|
-
|
|
222
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
223
|
+
var _a;
|
|
224
|
+
return __generator(this, function (_b) {
|
|
225
|
+
switch (_b.label) {
|
|
216
226
|
case 0:
|
|
217
227
|
if (requestParameters['corporationId'] == null) {
|
|
218
228
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdOrders().');
|
|
@@ -239,14 +249,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
239
249
|
}
|
|
240
250
|
urlPath = "/corporations/{corporation_id}/orders";
|
|
241
251
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
242
|
-
|
|
252
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
253
|
+
if (!facade) {
|
|
254
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
255
|
+
}
|
|
256
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
243
257
|
path: urlPath,
|
|
244
258
|
method: 'GET',
|
|
245
259
|
headers: headerParameters,
|
|
246
260
|
query: queryParameters,
|
|
247
261
|
}, initOverrides)];
|
|
248
262
|
case 1:
|
|
249
|
-
response =
|
|
263
|
+
response = _b.sent();
|
|
250
264
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
251
265
|
}
|
|
252
266
|
});
|
|
@@ -276,9 +290,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
276
290
|
*/
|
|
277
291
|
MarketApi.prototype.getCorporationsCorporationIdOrdersHistoryRaw = function (requestParameters, initOverrides) {
|
|
278
292
|
return __awaiter(this, void 0, void 0, function () {
|
|
279
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
280
|
-
|
|
281
|
-
|
|
293
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
294
|
+
var _a;
|
|
295
|
+
return __generator(this, function (_b) {
|
|
296
|
+
switch (_b.label) {
|
|
282
297
|
case 0:
|
|
283
298
|
if (requestParameters['corporationId'] == null) {
|
|
284
299
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdOrdersHistory().');
|
|
@@ -305,14 +320,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
305
320
|
}
|
|
306
321
|
urlPath = "/corporations/{corporation_id}/orders/history";
|
|
307
322
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
308
|
-
|
|
323
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
324
|
+
if (!facade) {
|
|
325
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
326
|
+
}
|
|
327
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
309
328
|
path: urlPath,
|
|
310
329
|
method: 'GET',
|
|
311
330
|
headers: headerParameters,
|
|
312
331
|
query: queryParameters,
|
|
313
332
|
}, initOverrides)];
|
|
314
333
|
case 1:
|
|
315
|
-
response =
|
|
334
|
+
response = _b.sent();
|
|
316
335
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
317
336
|
}
|
|
318
337
|
});
|
|
@@ -342,9 +361,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
342
361
|
*/
|
|
343
362
|
MarketApi.prototype.getMarketsGroupsRaw = function (requestParameters, initOverrides) {
|
|
344
363
|
return __awaiter(this, void 0, void 0, function () {
|
|
345
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
346
|
-
|
|
347
|
-
|
|
364
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
365
|
+
var _a;
|
|
366
|
+
return __generator(this, function (_b) {
|
|
367
|
+
switch (_b.label) {
|
|
348
368
|
case 0:
|
|
349
369
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
350
370
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getMarketsGroups().');
|
|
@@ -364,14 +384,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
364
384
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
365
385
|
}
|
|
366
386
|
urlPath = "/markets/groups";
|
|
367
|
-
|
|
387
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
388
|
+
if (!facade) {
|
|
389
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
390
|
+
}
|
|
391
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
368
392
|
path: urlPath,
|
|
369
393
|
method: 'GET',
|
|
370
394
|
headers: headerParameters,
|
|
371
395
|
query: queryParameters,
|
|
372
396
|
}, initOverrides)];
|
|
373
397
|
case 1:
|
|
374
|
-
response =
|
|
398
|
+
response = _b.sent();
|
|
375
399
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
376
400
|
}
|
|
377
401
|
});
|
|
@@ -401,9 +425,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
401
425
|
*/
|
|
402
426
|
MarketApi.prototype.getMarketsGroupsMarketGroupIdRaw = function (requestParameters, initOverrides) {
|
|
403
427
|
return __awaiter(this, void 0, void 0, function () {
|
|
404
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
405
|
-
|
|
406
|
-
|
|
428
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
429
|
+
var _a;
|
|
430
|
+
return __generator(this, function (_b) {
|
|
431
|
+
switch (_b.label) {
|
|
407
432
|
case 0:
|
|
408
433
|
if (requestParameters['marketGroupId'] == null) {
|
|
409
434
|
throw new runtime.RequiredError('marketGroupId', 'Required parameter "marketGroupId" was null or undefined when calling getMarketsGroupsMarketGroupId().');
|
|
@@ -427,14 +452,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
427
452
|
}
|
|
428
453
|
urlPath = "/markets/groups/{market_group_id}";
|
|
429
454
|
urlPath = urlPath.replace("{".concat("market_group_id", "}"), encodeURIComponent(String(requestParameters['marketGroupId'])));
|
|
430
|
-
|
|
455
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
456
|
+
if (!facade) {
|
|
457
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
458
|
+
}
|
|
459
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
431
460
|
path: urlPath,
|
|
432
461
|
method: 'GET',
|
|
433
462
|
headers: headerParameters,
|
|
434
463
|
query: queryParameters,
|
|
435
464
|
}, initOverrides)];
|
|
436
465
|
case 1:
|
|
437
|
-
response =
|
|
466
|
+
response = _b.sent();
|
|
438
467
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
439
468
|
}
|
|
440
469
|
});
|
|
@@ -464,9 +493,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
464
493
|
*/
|
|
465
494
|
MarketApi.prototype.getMarketsPricesRaw = function (requestParameters, initOverrides) {
|
|
466
495
|
return __awaiter(this, void 0, void 0, function () {
|
|
467
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
468
|
-
|
|
469
|
-
|
|
496
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
497
|
+
var _a;
|
|
498
|
+
return __generator(this, function (_b) {
|
|
499
|
+
switch (_b.label) {
|
|
470
500
|
case 0:
|
|
471
501
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
472
502
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getMarketsPrices().');
|
|
@@ -486,14 +516,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
486
516
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
487
517
|
}
|
|
488
518
|
urlPath = "/markets/prices";
|
|
489
|
-
|
|
519
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
520
|
+
if (!facade) {
|
|
521
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
522
|
+
}
|
|
523
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
490
524
|
path: urlPath,
|
|
491
525
|
method: 'GET',
|
|
492
526
|
headers: headerParameters,
|
|
493
527
|
query: queryParameters,
|
|
494
528
|
}, initOverrides)];
|
|
495
529
|
case 1:
|
|
496
|
-
response =
|
|
530
|
+
response = _b.sent();
|
|
497
531
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
498
532
|
}
|
|
499
533
|
});
|
|
@@ -523,9 +557,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
523
557
|
*/
|
|
524
558
|
MarketApi.prototype.getMarketsRegionIdHistoryRaw = function (requestParameters, initOverrides) {
|
|
525
559
|
return __awaiter(this, void 0, void 0, function () {
|
|
526
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
527
|
-
|
|
528
|
-
|
|
560
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
561
|
+
var _a;
|
|
562
|
+
return __generator(this, function (_b) {
|
|
563
|
+
switch (_b.label) {
|
|
529
564
|
case 0:
|
|
530
565
|
if (requestParameters['regionId'] == null) {
|
|
531
566
|
throw new runtime.RequiredError('regionId', 'Required parameter "regionId" was null or undefined when calling getMarketsRegionIdHistory().');
|
|
@@ -555,14 +590,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
555
590
|
}
|
|
556
591
|
urlPath = "/markets/{region_id}/history";
|
|
557
592
|
urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
|
|
558
|
-
|
|
593
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
594
|
+
if (!facade) {
|
|
595
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
596
|
+
}
|
|
597
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
559
598
|
path: urlPath,
|
|
560
599
|
method: 'GET',
|
|
561
600
|
headers: headerParameters,
|
|
562
601
|
query: queryParameters,
|
|
563
602
|
}, initOverrides)];
|
|
564
603
|
case 1:
|
|
565
|
-
response =
|
|
604
|
+
response = _b.sent();
|
|
566
605
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
567
606
|
}
|
|
568
607
|
});
|
|
@@ -592,9 +631,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
592
631
|
*/
|
|
593
632
|
MarketApi.prototype.getMarketsRegionIdOrdersRaw = function (requestParameters, initOverrides) {
|
|
594
633
|
return __awaiter(this, void 0, void 0, function () {
|
|
595
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
596
|
-
|
|
597
|
-
|
|
634
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
635
|
+
var _a;
|
|
636
|
+
return __generator(this, function (_b) {
|
|
637
|
+
switch (_b.label) {
|
|
598
638
|
case 0:
|
|
599
639
|
if (requestParameters['orderType'] == null) {
|
|
600
640
|
throw new runtime.RequiredError('orderType', 'Required parameter "orderType" was null or undefined when calling getMarketsRegionIdOrders().');
|
|
@@ -630,14 +670,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
630
670
|
}
|
|
631
671
|
urlPath = "/markets/{region_id}/orders";
|
|
632
672
|
urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
|
|
633
|
-
|
|
673
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
674
|
+
if (!facade) {
|
|
675
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
676
|
+
}
|
|
677
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
634
678
|
path: urlPath,
|
|
635
679
|
method: 'GET',
|
|
636
680
|
headers: headerParameters,
|
|
637
681
|
query: queryParameters,
|
|
638
682
|
}, initOverrides)];
|
|
639
683
|
case 1:
|
|
640
|
-
response =
|
|
684
|
+
response = _b.sent();
|
|
641
685
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
642
686
|
}
|
|
643
687
|
});
|
|
@@ -667,9 +711,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
667
711
|
*/
|
|
668
712
|
MarketApi.prototype.getMarketsRegionIdTypesRaw = function (requestParameters, initOverrides) {
|
|
669
713
|
return __awaiter(this, void 0, void 0, function () {
|
|
670
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
671
|
-
|
|
672
|
-
|
|
714
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
715
|
+
var _a;
|
|
716
|
+
return __generator(this, function (_b) {
|
|
717
|
+
switch (_b.label) {
|
|
673
718
|
case 0:
|
|
674
719
|
if (requestParameters['regionId'] == null) {
|
|
675
720
|
throw new runtime.RequiredError('regionId', 'Required parameter "regionId" was null or undefined when calling getMarketsRegionIdTypes().');
|
|
@@ -696,14 +741,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
696
741
|
}
|
|
697
742
|
urlPath = "/markets/{region_id}/types";
|
|
698
743
|
urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
|
|
699
|
-
|
|
744
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
745
|
+
if (!facade) {
|
|
746
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
747
|
+
}
|
|
748
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
700
749
|
path: urlPath,
|
|
701
750
|
method: 'GET',
|
|
702
751
|
headers: headerParameters,
|
|
703
752
|
query: queryParameters,
|
|
704
753
|
}, initOverrides)];
|
|
705
754
|
case 1:
|
|
706
|
-
response =
|
|
755
|
+
response = _b.sent();
|
|
707
756
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
708
757
|
}
|
|
709
758
|
});
|
|
@@ -733,9 +782,10 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
733
782
|
*/
|
|
734
783
|
MarketApi.prototype.getMarketsStructuresStructureIdRaw = function (requestParameters, initOverrides) {
|
|
735
784
|
return __awaiter(this, void 0, void 0, function () {
|
|
736
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
737
|
-
|
|
738
|
-
|
|
785
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
786
|
+
var _a;
|
|
787
|
+
return __generator(this, function (_b) {
|
|
788
|
+
switch (_b.label) {
|
|
739
789
|
case 0:
|
|
740
790
|
if (requestParameters['structureId'] == null) {
|
|
741
791
|
throw new runtime.RequiredError('structureId', 'Required parameter "structureId" was null or undefined when calling getMarketsStructuresStructureId().');
|
|
@@ -762,14 +812,18 @@ var MarketApi = /** @class */ (function (_super) {
|
|
|
762
812
|
}
|
|
763
813
|
urlPath = "/markets/structures/{structure_id}";
|
|
764
814
|
urlPath = urlPath.replace("{".concat("structure_id", "}"), encodeURIComponent(String(requestParameters['structureId'])));
|
|
765
|
-
|
|
815
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
816
|
+
if (!facade) {
|
|
817
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
818
|
+
}
|
|
819
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
766
820
|
path: urlPath,
|
|
767
821
|
method: 'GET',
|
|
768
822
|
headers: headerParameters,
|
|
769
823
|
query: queryParameters,
|
|
770
824
|
}, initOverrides)];
|
|
771
825
|
case 1:
|
|
772
|
-
response =
|
|
826
|
+
response = _b.sent();
|
|
773
827
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
774
828
|
}
|
|
775
829
|
});
|
package/dist/apis/MetaApi.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.GetMetaCompatibilityDatesAcceptLanguageEnum = exports.GetMetaCompatibilityDatesXCompatibilityDateEnum = exports.GetMetaChangelogAcceptLanguageEnum = exports.GetMetaChangelogXCompatibilityDateEnum = exports.MetaApi = 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 MetaApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
MetaApi.prototype.getMetaChangelogRaw = 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 getMetaChangelog().');
|
|
@@ -103,14 +103,18 @@ var MetaApi = /** @class */ (function (_super) {
|
|
|
103
103
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
104
104
|
}
|
|
105
105
|
urlPath = "/meta/changelog";
|
|
106
|
-
|
|
106
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
107
|
+
if (!facade) {
|
|
108
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
109
|
+
}
|
|
110
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
107
111
|
path: urlPath,
|
|
108
112
|
method: 'GET',
|
|
109
113
|
headers: headerParameters,
|
|
110
114
|
query: queryParameters,
|
|
111
115
|
}, initOverrides)];
|
|
112
116
|
case 1:
|
|
113
|
-
response =
|
|
117
|
+
response = _b.sent();
|
|
114
118
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
115
119
|
}
|
|
116
120
|
});
|
|
@@ -140,9 +144,10 @@ var MetaApi = /** @class */ (function (_super) {
|
|
|
140
144
|
*/
|
|
141
145
|
MetaApi.prototype.getMetaCompatibilityDatesRaw = function (requestParameters, initOverrides) {
|
|
142
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
143
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
148
|
+
var _a;
|
|
149
|
+
return __generator(this, function (_b) {
|
|
150
|
+
switch (_b.label) {
|
|
146
151
|
case 0:
|
|
147
152
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
148
153
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getMetaCompatibilityDates().');
|
|
@@ -162,14 +167,18 @@ var MetaApi = /** @class */ (function (_super) {
|
|
|
162
167
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
163
168
|
}
|
|
164
169
|
urlPath = "/meta/compatibility-dates";
|
|
165
|
-
|
|
170
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
171
|
+
if (!facade) {
|
|
172
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
173
|
+
}
|
|
174
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
166
175
|
path: urlPath,
|
|
167
176
|
method: 'GET',
|
|
168
177
|
headers: headerParameters,
|
|
169
178
|
query: queryParameters,
|
|
170
179
|
}, initOverrides)];
|
|
171
180
|
case 1:
|
|
172
|
-
response =
|
|
181
|
+
response = _b.sent();
|
|
173
182
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
174
183
|
}
|
|
175
184
|
});
|
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetUniverseSchematicsSchematicIdAcceptLanguageEnum = exports.GetUniverseSchematicsSchematicIdXCompatibilityDateEnum = exports.GetCorporationsCorporationIdCustomsOfficesAcceptLanguageEnum = exports.GetCorporationsCorporationIdCustomsOfficesXCompatibilityDateEnum = exports.GetCharactersCharacterIdPlanetsPlanetIdAcceptLanguageEnum = exports.GetCharactersCharacterIdPlanetsPlanetIdXCompatibilityDateEnum = exports.GetCharactersCharacterIdPlanetsAcceptLanguageEnum = exports.GetCharactersCharacterIdPlanetsXCompatibilityDateEnum = exports.PlanetaryInteractionApi = 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 PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
PlanetaryInteractionApi.prototype.getCharactersCharacterIdPlanetsRaw = 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 getCharactersCharacterIdPlanets().');
|
|
@@ -107,14 +107,18 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/characters/{character_id}/planets";
|
|
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 PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
PlanetaryInteractionApi.prototype.getCharactersCharacterIdPlanetsPlanetIdRaw = 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 getCharactersCharacterIdPlanetsPlanetId().');
|
|
@@ -174,14 +179,18 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
174
179
|
urlPath = "/characters/{character_id}/planets/{planet_id}";
|
|
175
180
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
176
181
|
urlPath = urlPath.replace("{".concat("planet_id", "}"), encodeURIComponent(String(requestParameters['planetId'])));
|
|
177
|
-
|
|
182
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
183
|
+
if (!facade) {
|
|
184
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
185
|
+
}
|
|
186
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
178
187
|
path: urlPath,
|
|
179
188
|
method: 'GET',
|
|
180
189
|
headers: headerParameters,
|
|
181
190
|
query: queryParameters,
|
|
182
191
|
}, initOverrides)];
|
|
183
192
|
case 1:
|
|
184
|
-
response =
|
|
193
|
+
response = _b.sent();
|
|
185
194
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
186
195
|
}
|
|
187
196
|
});
|
|
@@ -211,9 +220,10 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
211
220
|
*/
|
|
212
221
|
PlanetaryInteractionApi.prototype.getCorporationsCorporationIdCustomsOfficesRaw = function (requestParameters, initOverrides) {
|
|
213
222
|
return __awaiter(this, void 0, void 0, function () {
|
|
214
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
215
|
-
|
|
216
|
-
|
|
223
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
224
|
+
var _a;
|
|
225
|
+
return __generator(this, function (_b) {
|
|
226
|
+
switch (_b.label) {
|
|
217
227
|
case 0:
|
|
218
228
|
if (requestParameters['corporationId'] == null) {
|
|
219
229
|
throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdCustomsOffices().');
|
|
@@ -240,14 +250,18 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
240
250
|
}
|
|
241
251
|
urlPath = "/corporations/{corporation_id}/customs_offices";
|
|
242
252
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
243
|
-
|
|
253
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
254
|
+
if (!facade) {
|
|
255
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
256
|
+
}
|
|
257
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
244
258
|
path: urlPath,
|
|
245
259
|
method: 'GET',
|
|
246
260
|
headers: headerParameters,
|
|
247
261
|
query: queryParameters,
|
|
248
262
|
}, initOverrides)];
|
|
249
263
|
case 1:
|
|
250
|
-
response =
|
|
264
|
+
response = _b.sent();
|
|
251
265
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
252
266
|
}
|
|
253
267
|
});
|
|
@@ -277,9 +291,10 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
277
291
|
*/
|
|
278
292
|
PlanetaryInteractionApi.prototype.getUniverseSchematicsSchematicIdRaw = function (requestParameters, initOverrides) {
|
|
279
293
|
return __awaiter(this, void 0, void 0, function () {
|
|
280
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
281
|
-
|
|
282
|
-
|
|
294
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
295
|
+
var _a;
|
|
296
|
+
return __generator(this, function (_b) {
|
|
297
|
+
switch (_b.label) {
|
|
283
298
|
case 0:
|
|
284
299
|
if (requestParameters['schematicId'] == null) {
|
|
285
300
|
throw new runtime.RequiredError('schematicId', 'Required parameter "schematicId" was null or undefined when calling getUniverseSchematicsSchematicId().');
|
|
@@ -303,14 +318,18 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
|
|
|
303
318
|
}
|
|
304
319
|
urlPath = "/universe/schematics/{schematic_id}";
|
|
305
320
|
urlPath = urlPath.replace("{".concat("schematic_id", "}"), encodeURIComponent(String(requestParameters['schematicId'])));
|
|
306
|
-
|
|
321
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
322
|
+
if (!facade) {
|
|
323
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
324
|
+
}
|
|
325
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
307
326
|
path: urlPath,
|
|
308
327
|
method: 'GET',
|
|
309
328
|
headers: headerParameters,
|
|
310
329
|
query: queryParameters,
|
|
311
330
|
}, initOverrides)];
|
|
312
331
|
case 1:
|
|
313
|
-
response =
|
|
332
|
+
response = _b.sent();
|
|
314
333
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
315
334
|
}
|
|
316
335
|
});
|