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.
Files changed (68) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AllianceApi.js +40 -21
  3. package/dist/apis/AssetsApi.js +60 -31
  4. package/dist/apis/CalendarApi.js +40 -21
  5. package/dist/apis/CharacterApi.js +140 -71
  6. package/dist/apis/ClonesApi.js +20 -11
  7. package/dist/apis/ContactsApi.js +90 -46
  8. package/dist/apis/ContractsApi.js +90 -46
  9. package/dist/apis/CorporationApi.js +220 -111
  10. package/dist/apis/DogmaApi.js +50 -26
  11. package/dist/apis/FactionWarfareApi.js +80 -41
  12. package/dist/apis/FittingsApi.js +30 -16
  13. package/dist/apis/FleetsApi.js +140 -71
  14. package/dist/apis/IncursionsApi.js +10 -6
  15. package/dist/apis/IndustryApi.js +80 -41
  16. package/dist/apis/InsuranceApi.js +10 -6
  17. package/dist/apis/KillmailsApi.js +30 -16
  18. package/dist/apis/LocationApi.js +30 -16
  19. package/dist/apis/LoyaltyApi.js +20 -11
  20. package/dist/apis/MailApi.js +90 -46
  21. package/dist/apis/MarketApi.js +110 -56
  22. package/dist/apis/MetaApi.js +20 -11
  23. package/dist/apis/PlanetaryInteractionApi.js +40 -21
  24. package/dist/apis/RoutesApi.js +10 -6
  25. package/dist/apis/SearchApi.js +10 -6
  26. package/dist/apis/SkillsApi.js +30 -16
  27. package/dist/apis/SovereigntyApi.js +30 -16
  28. package/dist/apis/StatusApi.js +10 -6
  29. package/dist/apis/UniverseApi.js +300 -151
  30. package/dist/apis/UserInterfaceApi.js +50 -26
  31. package/dist/apis/WalletApi.js +60 -31
  32. package/dist/apis/WarsApi.js +30 -16
  33. package/dist/runtime.d.ts +2 -0
  34. package/dist/runtime.js +7 -0
  35. package/esisl_genoa_client-0.1.1.tgz +0 -0
  36. package/package.json +1 -1
  37. package/src/apis/AllianceApi.ts +25 -5
  38. package/src/apis/AssetsApi.ts +37 -7
  39. package/src/apis/CalendarApi.ts +25 -5
  40. package/src/apis/CharacterApi.ts +85 -15
  41. package/src/apis/ClonesApi.ts +13 -3
  42. package/src/apis/ContactsApi.ts +55 -10
  43. package/src/apis/ContractsApi.ts +55 -10
  44. package/src/apis/CorporationApi.ts +133 -23
  45. package/src/apis/DogmaApi.ts +31 -6
  46. package/src/apis/FactionWarfareApi.ts +49 -9
  47. package/src/apis/FittingsApi.ts +19 -4
  48. package/src/apis/FleetsApi.ts +85 -15
  49. package/src/apis/IncursionsApi.ts +7 -2
  50. package/src/apis/IndustryApi.ts +49 -9
  51. package/src/apis/InsuranceApi.ts +7 -2
  52. package/src/apis/KillmailsApi.ts +19 -4
  53. package/src/apis/LocationApi.ts +19 -4
  54. package/src/apis/LoyaltyApi.ts +13 -3
  55. package/src/apis/MailApi.ts +55 -10
  56. package/src/apis/MarketApi.ts +67 -12
  57. package/src/apis/MetaApi.ts +13 -3
  58. package/src/apis/PlanetaryInteractionApi.ts +25 -5
  59. package/src/apis/RoutesApi.ts +7 -2
  60. package/src/apis/SearchApi.ts +7 -2
  61. package/src/apis/SkillsApi.ts +19 -4
  62. package/src/apis/SovereigntyApi.ts +19 -4
  63. package/src/apis/StatusApi.ts +7 -2
  64. package/src/apis/UniverseApi.ts +181 -31
  65. package/src/apis/UserInterfaceApi.ts +31 -6
  66. package/src/apis/WalletApi.ts +37 -7
  67. package/src/apis/WarsApi.ts +19 -4
  68. 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.GetCorporationsCorporationIdContractsContractIdItemsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContractsContractIdItemsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContractsContractIdBidsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContractsContractIdBidsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContractsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContractsXCompatibilityDateEnum = exports.GetContractsPublicRegionIdAcceptLanguageEnum = exports.GetContractsPublicRegionIdXCompatibilityDateEnum = exports.GetContractsPublicItemsContractIdAcceptLanguageEnum = exports.GetContractsPublicItemsContractIdXCompatibilityDateEnum = exports.GetContractsPublicBidsContractIdAcceptLanguageEnum = exports.GetContractsPublicBidsContractIdXCompatibilityDateEnum = exports.GetCharactersCharacterIdContractsContractIdItemsAcceptLanguageEnum = exports.GetCharactersCharacterIdContractsContractIdItemsXCompatibilityDateEnum = exports.GetCharactersCharacterIdContractsContractIdBidsAcceptLanguageEnum = exports.GetCharactersCharacterIdContractsContractIdBidsXCompatibilityDateEnum = exports.GetCharactersCharacterIdContractsAcceptLanguageEnum = exports.GetCharactersCharacterIdContractsXCompatibilityDateEnum = exports.ContractsApi = 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 ContractsApi = /** @class */ (function (_super) {
81
80
  */
82
81
  ContractsApi.prototype.getCharactersCharacterIdContractsRaw = function (requestParameters, initOverrides) {
83
82
  return __awaiter(this, void 0, void 0, function () {
84
- var queryParameters, headerParameters, urlPath, response;
85
- return __generator(this, function (_a) {
86
- switch (_a.label) {
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 getCharactersCharacterIdContracts().');
@@ -110,14 +110,18 @@ var ContractsApi = /** @class */ (function (_super) {
110
110
  }
111
111
  urlPath = "/characters/{character_id}/contracts";
112
112
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
113
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
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 = _a.sent();
124
+ response = _b.sent();
121
125
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
122
126
  }
123
127
  });
@@ -147,9 +151,10 @@ var ContractsApi = /** @class */ (function (_super) {
147
151
  */
148
152
  ContractsApi.prototype.getCharactersCharacterIdContractsContractIdBidsRaw = function (requestParameters, initOverrides) {
149
153
  return __awaiter(this, void 0, void 0, function () {
150
- var queryParameters, headerParameters, urlPath, response;
151
- return __generator(this, function (_a) {
152
- switch (_a.label) {
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 getCharactersCharacterIdContractsContractIdBids().');
@@ -177,14 +182,18 @@ var ContractsApi = /** @class */ (function (_super) {
177
182
  urlPath = "/characters/{character_id}/contracts/{contract_id}/bids";
178
183
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
179
184
  urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
180
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
185
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
186
+ if (!facade) {
187
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
188
+ }
189
+ return [4 /*yield*/, facade.esi.proxy({
181
190
  path: urlPath,
182
191
  method: 'GET',
183
192
  headers: headerParameters,
184
193
  query: queryParameters,
185
194
  }, initOverrides)];
186
195
  case 1:
187
- response = _a.sent();
196
+ response = _b.sent();
188
197
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
189
198
  }
190
199
  });
@@ -214,9 +223,10 @@ var ContractsApi = /** @class */ (function (_super) {
214
223
  */
215
224
  ContractsApi.prototype.getCharactersCharacterIdContractsContractIdItemsRaw = function (requestParameters, initOverrides) {
216
225
  return __awaiter(this, void 0, void 0, function () {
217
- var queryParameters, headerParameters, urlPath, response;
218
- return __generator(this, function (_a) {
219
- switch (_a.label) {
226
+ var queryParameters, headerParameters, urlPath, facade, response;
227
+ var _a;
228
+ return __generator(this, function (_b) {
229
+ switch (_b.label) {
220
230
  case 0:
221
231
  if (requestParameters['characterId'] == null) {
222
232
  throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdContractsContractIdItems().');
@@ -244,14 +254,18 @@ var ContractsApi = /** @class */ (function (_super) {
244
254
  urlPath = "/characters/{character_id}/contracts/{contract_id}/items";
245
255
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
246
256
  urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
247
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
257
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
258
+ if (!facade) {
259
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
260
+ }
261
+ return [4 /*yield*/, facade.esi.proxy({
248
262
  path: urlPath,
249
263
  method: 'GET',
250
264
  headers: headerParameters,
251
265
  query: queryParameters,
252
266
  }, initOverrides)];
253
267
  case 1:
254
- response = _a.sent();
268
+ response = _b.sent();
255
269
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
256
270
  }
257
271
  });
@@ -281,9 +295,10 @@ var ContractsApi = /** @class */ (function (_super) {
281
295
  */
282
296
  ContractsApi.prototype.getContractsPublicBidsContractIdRaw = function (requestParameters, initOverrides) {
283
297
  return __awaiter(this, void 0, void 0, function () {
284
- var queryParameters, headerParameters, urlPath, response;
285
- return __generator(this, function (_a) {
286
- switch (_a.label) {
298
+ var queryParameters, headerParameters, urlPath, facade, response;
299
+ var _a;
300
+ return __generator(this, function (_b) {
301
+ switch (_b.label) {
287
302
  case 0:
288
303
  if (requestParameters['contractId'] == null) {
289
304
  throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getContractsPublicBidsContractId().');
@@ -310,14 +325,18 @@ var ContractsApi = /** @class */ (function (_super) {
310
325
  }
311
326
  urlPath = "/contracts/public/bids/{contract_id}";
312
327
  urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
313
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
328
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
329
+ if (!facade) {
330
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
331
+ }
332
+ return [4 /*yield*/, facade.esi.proxy({
314
333
  path: urlPath,
315
334
  method: 'GET',
316
335
  headers: headerParameters,
317
336
  query: queryParameters,
318
337
  }, initOverrides)];
319
338
  case 1:
320
- response = _a.sent();
339
+ response = _b.sent();
321
340
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
322
341
  }
323
342
  });
@@ -347,9 +366,10 @@ var ContractsApi = /** @class */ (function (_super) {
347
366
  */
348
367
  ContractsApi.prototype.getContractsPublicItemsContractIdRaw = function (requestParameters, initOverrides) {
349
368
  return __awaiter(this, void 0, void 0, function () {
350
- var queryParameters, headerParameters, urlPath, response;
351
- return __generator(this, function (_a) {
352
- switch (_a.label) {
369
+ var queryParameters, headerParameters, urlPath, facade, response;
370
+ var _a;
371
+ return __generator(this, function (_b) {
372
+ switch (_b.label) {
353
373
  case 0:
354
374
  if (requestParameters['contractId'] == null) {
355
375
  throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getContractsPublicItemsContractId().');
@@ -376,14 +396,18 @@ var ContractsApi = /** @class */ (function (_super) {
376
396
  }
377
397
  urlPath = "/contracts/public/items/{contract_id}";
378
398
  urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
379
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
399
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
400
+ if (!facade) {
401
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
402
+ }
403
+ return [4 /*yield*/, facade.esi.proxy({
380
404
  path: urlPath,
381
405
  method: 'GET',
382
406
  headers: headerParameters,
383
407
  query: queryParameters,
384
408
  }, initOverrides)];
385
409
  case 1:
386
- response = _a.sent();
410
+ response = _b.sent();
387
411
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
388
412
  }
389
413
  });
@@ -413,9 +437,10 @@ var ContractsApi = /** @class */ (function (_super) {
413
437
  */
414
438
  ContractsApi.prototype.getContractsPublicRegionIdRaw = function (requestParameters, initOverrides) {
415
439
  return __awaiter(this, void 0, void 0, function () {
416
- var queryParameters, headerParameters, urlPath, response;
417
- return __generator(this, function (_a) {
418
- switch (_a.label) {
440
+ var queryParameters, headerParameters, urlPath, facade, response;
441
+ var _a;
442
+ return __generator(this, function (_b) {
443
+ switch (_b.label) {
419
444
  case 0:
420
445
  if (requestParameters['regionId'] == null) {
421
446
  throw new runtime.RequiredError('regionId', 'Required parameter "regionId" was null or undefined when calling getContractsPublicRegionId().');
@@ -442,14 +467,18 @@ var ContractsApi = /** @class */ (function (_super) {
442
467
  }
443
468
  urlPath = "/contracts/public/{region_id}";
444
469
  urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
445
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
470
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
471
+ if (!facade) {
472
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
473
+ }
474
+ return [4 /*yield*/, facade.esi.proxy({
446
475
  path: urlPath,
447
476
  method: 'GET',
448
477
  headers: headerParameters,
449
478
  query: queryParameters,
450
479
  }, initOverrides)];
451
480
  case 1:
452
- response = _a.sent();
481
+ response = _b.sent();
453
482
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
454
483
  }
455
484
  });
@@ -479,9 +508,10 @@ var ContractsApi = /** @class */ (function (_super) {
479
508
  */
480
509
  ContractsApi.prototype.getCorporationsCorporationIdContractsRaw = function (requestParameters, initOverrides) {
481
510
  return __awaiter(this, void 0, void 0, function () {
482
- var queryParameters, headerParameters, urlPath, response;
483
- return __generator(this, function (_a) {
484
- switch (_a.label) {
511
+ var queryParameters, headerParameters, urlPath, facade, response;
512
+ var _a;
513
+ return __generator(this, function (_b) {
514
+ switch (_b.label) {
485
515
  case 0:
486
516
  if (requestParameters['corporationId'] == null) {
487
517
  throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdContracts().');
@@ -508,14 +538,18 @@ var ContractsApi = /** @class */ (function (_super) {
508
538
  }
509
539
  urlPath = "/corporations/{corporation_id}/contracts";
510
540
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
511
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
541
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
542
+ if (!facade) {
543
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
544
+ }
545
+ return [4 /*yield*/, facade.esi.proxy({
512
546
  path: urlPath,
513
547
  method: 'GET',
514
548
  headers: headerParameters,
515
549
  query: queryParameters,
516
550
  }, initOverrides)];
517
551
  case 1:
518
- response = _a.sent();
552
+ response = _b.sent();
519
553
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
520
554
  }
521
555
  });
@@ -545,9 +579,10 @@ var ContractsApi = /** @class */ (function (_super) {
545
579
  */
546
580
  ContractsApi.prototype.getCorporationsCorporationIdContractsContractIdBidsRaw = function (requestParameters, initOverrides) {
547
581
  return __awaiter(this, void 0, void 0, function () {
548
- var queryParameters, headerParameters, urlPath, response;
549
- return __generator(this, function (_a) {
550
- switch (_a.label) {
582
+ var queryParameters, headerParameters, urlPath, facade, response;
583
+ var _a;
584
+ return __generator(this, function (_b) {
585
+ switch (_b.label) {
551
586
  case 0:
552
587
  if (requestParameters['contractId'] == null) {
553
588
  throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getCorporationsCorporationIdContractsContractIdBids().');
@@ -578,14 +613,18 @@ var ContractsApi = /** @class */ (function (_super) {
578
613
  urlPath = "/corporations/{corporation_id}/contracts/{contract_id}/bids";
579
614
  urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
580
615
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
581
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
616
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
617
+ if (!facade) {
618
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
619
+ }
620
+ return [4 /*yield*/, facade.esi.proxy({
582
621
  path: urlPath,
583
622
  method: 'GET',
584
623
  headers: headerParameters,
585
624
  query: queryParameters,
586
625
  }, initOverrides)];
587
626
  case 1:
588
- response = _a.sent();
627
+ response = _b.sent();
589
628
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
590
629
  }
591
630
  });
@@ -615,9 +654,10 @@ var ContractsApi = /** @class */ (function (_super) {
615
654
  */
616
655
  ContractsApi.prototype.getCorporationsCorporationIdContractsContractIdItemsRaw = function (requestParameters, initOverrides) {
617
656
  return __awaiter(this, void 0, void 0, function () {
618
- var queryParameters, headerParameters, urlPath, response;
619
- return __generator(this, function (_a) {
620
- switch (_a.label) {
657
+ var queryParameters, headerParameters, urlPath, facade, response;
658
+ var _a;
659
+ return __generator(this, function (_b) {
660
+ switch (_b.label) {
621
661
  case 0:
622
662
  if (requestParameters['contractId'] == null) {
623
663
  throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getCorporationsCorporationIdContractsContractIdItems().');
@@ -645,14 +685,18 @@ var ContractsApi = /** @class */ (function (_super) {
645
685
  urlPath = "/corporations/{corporation_id}/contracts/{contract_id}/items";
646
686
  urlPath = urlPath.replace("{".concat("contract_id", "}"), encodeURIComponent(String(requestParameters['contractId'])));
647
687
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
648
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
688
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
689
+ if (!facade) {
690
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
691
+ }
692
+ return [4 /*yield*/, facade.esi.proxy({
649
693
  path: urlPath,
650
694
  method: 'GET',
651
695
  headers: headerParameters,
652
696
  query: queryParameters,
653
697
  }, initOverrides)];
654
698
  case 1:
655
- response = _a.sent();
699
+ response = _b.sent();
656
700
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
657
701
  }
658
702
  });