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
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # esisl_genoa_client@0.1.0
1
+ # esisl_genoa_client@0.1.1
2
2
 
3
3
  A TypeScript SDK client for the esi.evetech.net API.
4
4
 
@@ -579,7 +579,7 @@ and is automatically generated by the
579
579
  [OpenAPI Generator](https://openapi-generator.tech) project:
580
580
 
581
581
  - API version: `2020-01-01`
582
- - Package version: `0.1.0`
582
+ - Package version: `0.1.1`
583
583
  - Generator version: `7.17.0`
584
584
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
585
585
 
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetAlliancesAllianceIdIconsAcceptLanguageEnum = exports.GetAlliancesAllianceIdIconsXCompatibilityDateEnum = exports.GetAlliancesAllianceIdCorporationsAcceptLanguageEnum = exports.GetAlliancesAllianceIdCorporationsXCompatibilityDateEnum = exports.GetAlliancesAllianceIdAcceptLanguageEnum = exports.GetAlliancesAllianceIdXCompatibilityDateEnum = exports.GetAlliancesAcceptLanguageEnum = exports.GetAlliancesXCompatibilityDateEnum = exports.AllianceApi = 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 AllianceApi = /** @class */ (function (_super) {
81
80
  */
82
81
  AllianceApi.prototype.getAlliancesRaw = 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['xCompatibilityDate'] == null) {
89
89
  throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getAlliances().');
@@ -103,14 +103,18 @@ var AllianceApi = /** @class */ (function (_super) {
103
103
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
104
104
  }
105
105
  urlPath = "/alliances";
106
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
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 = _a.sent();
117
+ response = _b.sent();
114
118
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
115
119
  }
116
120
  });
@@ -140,9 +144,10 @@ var AllianceApi = /** @class */ (function (_super) {
140
144
  */
141
145
  AllianceApi.prototype.getAlliancesAllianceIdRaw = function (requestParameters, initOverrides) {
142
146
  return __awaiter(this, void 0, void 0, function () {
143
- var queryParameters, headerParameters, urlPath, response;
144
- return __generator(this, function (_a) {
145
- switch (_a.label) {
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['allianceId'] == null) {
148
153
  throw new runtime.RequiredError('allianceId', 'Required parameter "allianceId" was null or undefined when calling getAlliancesAllianceId().');
@@ -166,14 +171,18 @@ var AllianceApi = /** @class */ (function (_super) {
166
171
  }
167
172
  urlPath = "/alliances/{alliance_id}";
168
173
  urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
169
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
174
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
175
+ if (!facade) {
176
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
177
+ }
178
+ return [4 /*yield*/, facade.esi.proxy({
170
179
  path: urlPath,
171
180
  method: 'GET',
172
181
  headers: headerParameters,
173
182
  query: queryParameters,
174
183
  }, initOverrides)];
175
184
  case 1:
176
- response = _a.sent();
185
+ response = _b.sent();
177
186
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
178
187
  }
179
188
  });
@@ -203,9 +212,10 @@ var AllianceApi = /** @class */ (function (_super) {
203
212
  */
204
213
  AllianceApi.prototype.getAlliancesAllianceIdCorporationsRaw = function (requestParameters, initOverrides) {
205
214
  return __awaiter(this, void 0, void 0, function () {
206
- var queryParameters, headerParameters, urlPath, response;
207
- return __generator(this, function (_a) {
208
- switch (_a.label) {
215
+ var queryParameters, headerParameters, urlPath, facade, response;
216
+ var _a;
217
+ return __generator(this, function (_b) {
218
+ switch (_b.label) {
209
219
  case 0:
210
220
  if (requestParameters['allianceId'] == null) {
211
221
  throw new runtime.RequiredError('allianceId', 'Required parameter "allianceId" was null or undefined when calling getAlliancesAllianceIdCorporations().');
@@ -229,14 +239,18 @@ var AllianceApi = /** @class */ (function (_super) {
229
239
  }
230
240
  urlPath = "/alliances/{alliance_id}/corporations";
231
241
  urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
232
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
242
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
243
+ if (!facade) {
244
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
245
+ }
246
+ return [4 /*yield*/, facade.esi.proxy({
233
247
  path: urlPath,
234
248
  method: 'GET',
235
249
  headers: headerParameters,
236
250
  query: queryParameters,
237
251
  }, initOverrides)];
238
252
  case 1:
239
- response = _a.sent();
253
+ response = _b.sent();
240
254
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
241
255
  }
242
256
  });
@@ -266,9 +280,10 @@ var AllianceApi = /** @class */ (function (_super) {
266
280
  */
267
281
  AllianceApi.prototype.getAlliancesAllianceIdIconsRaw = function (requestParameters, initOverrides) {
268
282
  return __awaiter(this, void 0, void 0, function () {
269
- var queryParameters, headerParameters, urlPath, response;
270
- return __generator(this, function (_a) {
271
- switch (_a.label) {
283
+ var queryParameters, headerParameters, urlPath, facade, response;
284
+ var _a;
285
+ return __generator(this, function (_b) {
286
+ switch (_b.label) {
272
287
  case 0:
273
288
  if (requestParameters['allianceId'] == null) {
274
289
  throw new runtime.RequiredError('allianceId', 'Required parameter "allianceId" was null or undefined when calling getAlliancesAllianceIdIcons().');
@@ -292,14 +307,18 @@ var AllianceApi = /** @class */ (function (_super) {
292
307
  }
293
308
  urlPath = "/alliances/{alliance_id}/icons";
294
309
  urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
295
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
310
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
311
+ if (!facade) {
312
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
313
+ }
314
+ return [4 /*yield*/, facade.esi.proxy({
296
315
  path: urlPath,
297
316
  method: 'GET',
298
317
  headers: headerParameters,
299
318
  query: queryParameters,
300
319
  }, initOverrides)];
301
320
  case 1:
302
- response = _a.sent();
321
+ response = _b.sent();
303
322
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
304
323
  }
305
324
  });
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PostCorporationsCorporationIdAssetsNamesAcceptLanguageEnum = exports.PostCorporationsCorporationIdAssetsNamesXCompatibilityDateEnum = exports.PostCorporationsCorporationIdAssetsLocationsAcceptLanguageEnum = exports.PostCorporationsCorporationIdAssetsLocationsXCompatibilityDateEnum = exports.PostCharactersCharacterIdAssetsNamesAcceptLanguageEnum = exports.PostCharactersCharacterIdAssetsNamesXCompatibilityDateEnum = exports.PostCharactersCharacterIdAssetsLocationsAcceptLanguageEnum = exports.PostCharactersCharacterIdAssetsLocationsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdAssetsAcceptLanguageEnum = exports.GetCorporationsCorporationIdAssetsXCompatibilityDateEnum = exports.GetCharactersCharacterIdAssetsAcceptLanguageEnum = exports.GetCharactersCharacterIdAssetsXCompatibilityDateEnum = exports.AssetsApi = 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 AssetsApi = /** @class */ (function (_super) {
81
80
  */
82
81
  AssetsApi.prototype.getCharactersCharacterIdAssetsRaw = 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 getCharactersCharacterIdAssets().');
@@ -110,14 +110,18 @@ var AssetsApi = /** @class */ (function (_super) {
110
110
  }
111
111
  urlPath = "/characters/{character_id}/assets";
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 AssetsApi = /** @class */ (function (_super) {
147
151
  */
148
152
  AssetsApi.prototype.getCorporationsCorporationIdAssetsRaw = 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['corporationId'] == null) {
155
160
  throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling getCorporationsCorporationIdAssets().');
@@ -176,14 +181,18 @@ var AssetsApi = /** @class */ (function (_super) {
176
181
  }
177
182
  urlPath = "/corporations/{corporation_id}/assets";
178
183
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
179
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
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 = _a.sent();
195
+ response = _b.sent();
187
196
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
188
197
  }
189
198
  });
@@ -213,9 +222,10 @@ var AssetsApi = /** @class */ (function (_super) {
213
222
  */
214
223
  AssetsApi.prototype.postCharactersCharacterIdAssetsLocationsRaw = function (requestParameters, initOverrides) {
215
224
  return __awaiter(this, void 0, void 0, function () {
216
- var queryParameters, headerParameters, urlPath, response;
217
- return __generator(this, function (_a) {
218
- switch (_a.label) {
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['characterId'] == null) {
221
231
  throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling postCharactersCharacterIdAssetsLocations().');
@@ -243,7 +253,11 @@ var AssetsApi = /** @class */ (function (_super) {
243
253
  }
244
254
  urlPath = "/characters/{character_id}/assets/locations";
245
255
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
246
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
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: 'POST',
249
263
  headers: headerParameters,
@@ -251,7 +265,7 @@ var AssetsApi = /** @class */ (function (_super) {
251
265
  body: requestParameters['requestBody'],
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 AssetsApi = /** @class */ (function (_super) {
281
295
  */
282
296
  AssetsApi.prototype.postCharactersCharacterIdAssetsNamesRaw = 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['characterId'] == null) {
289
304
  throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling postCharactersCharacterIdAssetsNames().');
@@ -311,7 +326,11 @@ var AssetsApi = /** @class */ (function (_super) {
311
326
  }
312
327
  urlPath = "/characters/{character_id}/assets/names";
313
328
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
314
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
329
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
330
+ if (!facade) {
331
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
332
+ }
333
+ return [4 /*yield*/, facade.esi.proxy({
315
334
  path: urlPath,
316
335
  method: 'POST',
317
336
  headers: headerParameters,
@@ -319,7 +338,7 @@ var AssetsApi = /** @class */ (function (_super) {
319
338
  body: requestParameters['requestBody'],
320
339
  }, initOverrides)];
321
340
  case 1:
322
- response = _a.sent();
341
+ response = _b.sent();
323
342
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
324
343
  }
325
344
  });
@@ -349,9 +368,10 @@ var AssetsApi = /** @class */ (function (_super) {
349
368
  */
350
369
  AssetsApi.prototype.postCorporationsCorporationIdAssetsLocationsRaw = function (requestParameters, initOverrides) {
351
370
  return __awaiter(this, void 0, void 0, function () {
352
- var queryParameters, headerParameters, urlPath, response;
353
- return __generator(this, function (_a) {
354
- switch (_a.label) {
371
+ var queryParameters, headerParameters, urlPath, facade, response;
372
+ var _a;
373
+ return __generator(this, function (_b) {
374
+ switch (_b.label) {
355
375
  case 0:
356
376
  if (requestParameters['corporationId'] == null) {
357
377
  throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling postCorporationsCorporationIdAssetsLocations().');
@@ -379,7 +399,11 @@ var AssetsApi = /** @class */ (function (_super) {
379
399
  }
380
400
  urlPath = "/corporations/{corporation_id}/assets/locations";
381
401
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
382
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
402
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
403
+ if (!facade) {
404
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
405
+ }
406
+ return [4 /*yield*/, facade.esi.proxy({
383
407
  path: urlPath,
384
408
  method: 'POST',
385
409
  headers: headerParameters,
@@ -387,7 +411,7 @@ var AssetsApi = /** @class */ (function (_super) {
387
411
  body: requestParameters['requestBody'],
388
412
  }, initOverrides)];
389
413
  case 1:
390
- response = _a.sent();
414
+ response = _b.sent();
391
415
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
392
416
  }
393
417
  });
@@ -417,9 +441,10 @@ var AssetsApi = /** @class */ (function (_super) {
417
441
  */
418
442
  AssetsApi.prototype.postCorporationsCorporationIdAssetsNamesRaw = function (requestParameters, initOverrides) {
419
443
  return __awaiter(this, void 0, void 0, function () {
420
- var queryParameters, headerParameters, urlPath, response;
421
- return __generator(this, function (_a) {
422
- switch (_a.label) {
444
+ var queryParameters, headerParameters, urlPath, facade, response;
445
+ var _a;
446
+ return __generator(this, function (_b) {
447
+ switch (_b.label) {
423
448
  case 0:
424
449
  if (requestParameters['corporationId'] == null) {
425
450
  throw new runtime.RequiredError('corporationId', 'Required parameter "corporationId" was null or undefined when calling postCorporationsCorporationIdAssetsNames().');
@@ -447,7 +472,11 @@ var AssetsApi = /** @class */ (function (_super) {
447
472
  }
448
473
  urlPath = "/corporations/{corporation_id}/assets/names";
449
474
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
450
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
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: 'POST',
453
482
  headers: headerParameters,
@@ -455,7 +484,7 @@ var AssetsApi = /** @class */ (function (_super) {
455
484
  body: requestParameters['requestBody'],
456
485
  }, initOverrides)];
457
486
  case 1:
458
- response = _a.sent();
487
+ response = _b.sent();
459
488
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
460
489
  }
461
490
  });
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PutCharactersCharacterIdCalendarEventIdOperationAcceptLanguageEnum = exports.PutCharactersCharacterIdCalendarEventIdOperationXCompatibilityDateEnum = exports.GetCharactersCharacterIdCalendarEventIdAttendeesAcceptLanguageEnum = exports.GetCharactersCharacterIdCalendarEventIdAttendeesXCompatibilityDateEnum = exports.GetCharactersCharacterIdCalendarEventIdAcceptLanguageEnum = exports.GetCharactersCharacterIdCalendarEventIdXCompatibilityDateEnum = exports.GetCharactersCharacterIdCalendarAcceptLanguageEnum = exports.GetCharactersCharacterIdCalendarXCompatibilityDateEnum = exports.CalendarApi = 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 CalendarApi = /** @class */ (function (_super) {
81
80
  */
82
81
  CalendarApi.prototype.getCharactersCharacterIdCalendarRaw = 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 getCharactersCharacterIdCalendar().');
@@ -110,14 +110,18 @@ var CalendarApi = /** @class */ (function (_super) {
110
110
  }
111
111
  urlPath = "/characters/{character_id}/calendar";
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 CalendarApi = /** @class */ (function (_super) {
147
151
  */
148
152
  CalendarApi.prototype.getCharactersCharacterIdCalendarEventIdRaw = 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 getCharactersCharacterIdCalendarEventId().');
@@ -177,14 +182,18 @@ var CalendarApi = /** @class */ (function (_super) {
177
182
  urlPath = "/characters/{character_id}/calendar/{event_id}";
178
183
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
179
184
  urlPath = urlPath.replace("{".concat("event_id", "}"), encodeURIComponent(String(requestParameters['eventId'])));
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 CalendarApi = /** @class */ (function (_super) {
214
223
  */
215
224
  CalendarApi.prototype.getCharactersCharacterIdCalendarEventIdAttendeesRaw = 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 getCharactersCharacterIdCalendarEventIdAttendees().');
@@ -244,14 +254,18 @@ var CalendarApi = /** @class */ (function (_super) {
244
254
  urlPath = "/characters/{character_id}/calendar/{event_id}/attendees";
245
255
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
246
256
  urlPath = urlPath.replace("{".concat("event_id", "}"), encodeURIComponent(String(requestParameters['eventId'])));
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 CalendarApi = /** @class */ (function (_super) {
281
295
  */
282
296
  CalendarApi.prototype.putCharactersCharacterIdCalendarEventIdRaw = 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['characterId'] == null) {
289
304
  throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling putCharactersCharacterIdCalendarEventId().');
@@ -315,7 +330,11 @@ var CalendarApi = /** @class */ (function (_super) {
315
330
  urlPath = "/characters/{character_id}/calendar/{event_id}";
316
331
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
317
332
  urlPath = urlPath.replace("{".concat("event_id", "}"), encodeURIComponent(String(requestParameters['eventId'])));
318
- return [4 /*yield*/, serviceFacade_1.default.esi.proxy({
333
+ facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
334
+ if (!facade) {
335
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
336
+ }
337
+ return [4 /*yield*/, facade.esi.proxy({
319
338
  path: urlPath,
320
339
  method: 'PUT',
321
340
  headers: headerParameters,
@@ -323,7 +342,7 @@ var CalendarApi = /** @class */ (function (_super) {
323
342
  body: requestParameters['putCharactersCharacterIdCalendarEventIdRequest'],
324
343
  }, initOverrides)];
325
344
  case 1:
326
- response = _a.sent();
345
+ response = _b.sent();
327
346
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
328
347
  }
329
348
  });