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
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
- import api from '../serviceFacade'
17
+
18
18
  import type {
19
19
  CharactersCharacterIdStandingsGetInner,
20
20
  CorporationsCorporationIdAlliancehistoryGetInner,
@@ -732,7 +732,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
732
732
  let urlPath = `/corporations/{corporation_id}`;
733
733
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
734
734
 
735
- const response = await api.esi.proxy({
735
+ const facade = this.configuration?.apiFacade;
736
+ if (!facade) {
737
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
738
+ }
739
+
740
+ const response = await facade.esi.proxy({
736
741
  path: urlPath,
737
742
  method: 'GET',
738
743
  headers: headerParameters,
@@ -796,7 +801,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
796
801
  let urlPath = `/corporations/{corporation_id}/alliancehistory`;
797
802
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
798
803
 
799
- const response = await api.esi.proxy({
804
+ const facade = this.configuration?.apiFacade;
805
+ if (!facade) {
806
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
807
+ }
808
+
809
+ const response = await facade.esi.proxy({
800
810
  path: urlPath,
801
811
  method: 'GET',
802
812
  headers: headerParameters,
@@ -869,7 +879,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
869
879
  let urlPath = `/corporations/{corporation_id}/blueprints`;
870
880
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
871
881
 
872
- const response = await api.esi.proxy({
882
+ const facade = this.configuration?.apiFacade;
883
+ if (!facade) {
884
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
885
+ }
886
+
887
+ const response = await facade.esi.proxy({
873
888
  path: urlPath,
874
889
  method: 'GET',
875
890
  headers: headerParameters,
@@ -942,7 +957,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
942
957
  let urlPath = `/corporations/{corporation_id}/containers/logs`;
943
958
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
944
959
 
945
- const response = await api.esi.proxy({
960
+ const facade = this.configuration?.apiFacade;
961
+ if (!facade) {
962
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
963
+ }
964
+
965
+ const response = await facade.esi.proxy({
946
966
  path: urlPath,
947
967
  method: 'GET',
948
968
  headers: headerParameters,
@@ -1011,7 +1031,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1011
1031
  let urlPath = `/corporations/{corporation_id}/divisions`;
1012
1032
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1013
1033
 
1014
- const response = await api.esi.proxy({
1034
+ const facade = this.configuration?.apiFacade;
1035
+ if (!facade) {
1036
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1037
+ }
1038
+
1039
+ const response = await facade.esi.proxy({
1015
1040
  path: urlPath,
1016
1041
  method: 'GET',
1017
1042
  headers: headerParameters,
@@ -1080,7 +1105,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1080
1105
  let urlPath = `/corporations/{corporation_id}/facilities`;
1081
1106
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1082
1107
 
1083
- const response = await api.esi.proxy({
1108
+ const facade = this.configuration?.apiFacade;
1109
+ if (!facade) {
1110
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1111
+ }
1112
+
1113
+ const response = await facade.esi.proxy({
1084
1114
  path: urlPath,
1085
1115
  method: 'GET',
1086
1116
  headers: headerParameters,
@@ -1144,7 +1174,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1144
1174
  let urlPath = `/corporations/{corporation_id}/icons`;
1145
1175
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1146
1176
 
1147
- const response = await api.esi.proxy({
1177
+ const facade = this.configuration?.apiFacade;
1178
+ if (!facade) {
1179
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1180
+ }
1181
+
1182
+ const response = await facade.esi.proxy({
1148
1183
  path: urlPath,
1149
1184
  method: 'GET',
1150
1185
  headers: headerParameters,
@@ -1217,7 +1252,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1217
1252
  let urlPath = `/corporations/{corporation_id}/medals`;
1218
1253
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1219
1254
 
1220
- const response = await api.esi.proxy({
1255
+ const facade = this.configuration?.apiFacade;
1256
+ if (!facade) {
1257
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1258
+ }
1259
+
1260
+ const response = await facade.esi.proxy({
1221
1261
  path: urlPath,
1222
1262
  method: 'GET',
1223
1263
  headers: headerParameters,
@@ -1290,7 +1330,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1290
1330
  let urlPath = `/corporations/{corporation_id}/medals/issued`;
1291
1331
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1292
1332
 
1293
- const response = await api.esi.proxy({
1333
+ const facade = this.configuration?.apiFacade;
1334
+ if (!facade) {
1335
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1336
+ }
1337
+
1338
+ const response = await facade.esi.proxy({
1294
1339
  path: urlPath,
1295
1340
  method: 'GET',
1296
1341
  headers: headerParameters,
@@ -1359,7 +1404,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1359
1404
  let urlPath = `/corporations/{corporation_id}/members`;
1360
1405
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1361
1406
 
1362
- const response = await api.esi.proxy({
1407
+ const facade = this.configuration?.apiFacade;
1408
+ if (!facade) {
1409
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1410
+ }
1411
+
1412
+ const response = await facade.esi.proxy({
1363
1413
  path: urlPath,
1364
1414
  method: 'GET',
1365
1415
  headers: headerParameters,
@@ -1428,7 +1478,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1428
1478
  let urlPath = `/corporations/{corporation_id}/members/limit`;
1429
1479
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1430
1480
 
1431
- const response = await api.esi.proxy({
1481
+ const facade = this.configuration?.apiFacade;
1482
+ if (!facade) {
1483
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1484
+ }
1485
+
1486
+ const response = await facade.esi.proxy({
1432
1487
  path: urlPath,
1433
1488
  method: 'GET',
1434
1489
  headers: headerParameters,
@@ -1501,7 +1556,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1501
1556
  let urlPath = `/corporations/{corporation_id}/members/titles`;
1502
1557
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1503
1558
 
1504
- const response = await api.esi.proxy({
1559
+ const facade = this.configuration?.apiFacade;
1560
+ if (!facade) {
1561
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1562
+ }
1563
+
1564
+ const response = await facade.esi.proxy({
1505
1565
  path: urlPath,
1506
1566
  method: 'GET',
1507
1567
  headers: headerParameters,
@@ -1570,7 +1630,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1570
1630
  let urlPath = `/corporations/{corporation_id}/membertracking`;
1571
1631
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1572
1632
 
1573
- const response = await api.esi.proxy({
1633
+ const facade = this.configuration?.apiFacade;
1634
+ if (!facade) {
1635
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1636
+ }
1637
+
1638
+ const response = await facade.esi.proxy({
1574
1639
  path: urlPath,
1575
1640
  method: 'GET',
1576
1641
  headers: headerParameters,
@@ -1639,7 +1704,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1639
1704
  let urlPath = `/corporations/{corporation_id}/roles`;
1640
1705
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1641
1706
 
1642
- const response = await api.esi.proxy({
1707
+ const facade = this.configuration?.apiFacade;
1708
+ if (!facade) {
1709
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1710
+ }
1711
+
1712
+ const response = await facade.esi.proxy({
1643
1713
  path: urlPath,
1644
1714
  method: 'GET',
1645
1715
  headers: headerParameters,
@@ -1712,7 +1782,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1712
1782
  let urlPath = `/corporations/{corporation_id}/roles/history`;
1713
1783
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1714
1784
 
1715
- const response = await api.esi.proxy({
1785
+ const facade = this.configuration?.apiFacade;
1786
+ if (!facade) {
1787
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1788
+ }
1789
+
1790
+ const response = await facade.esi.proxy({
1716
1791
  path: urlPath,
1717
1792
  method: 'GET',
1718
1793
  headers: headerParameters,
@@ -1785,7 +1860,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1785
1860
  let urlPath = `/corporations/{corporation_id}/shareholders`;
1786
1861
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1787
1862
 
1788
- const response = await api.esi.proxy({
1863
+ const facade = this.configuration?.apiFacade;
1864
+ if (!facade) {
1865
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1866
+ }
1867
+
1868
+ const response = await facade.esi.proxy({
1789
1869
  path: urlPath,
1790
1870
  method: 'GET',
1791
1871
  headers: headerParameters,
@@ -1858,7 +1938,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1858
1938
  let urlPath = `/corporations/{corporation_id}/standings`;
1859
1939
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1860
1940
 
1861
- const response = await api.esi.proxy({
1941
+ const facade = this.configuration?.apiFacade;
1942
+ if (!facade) {
1943
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1944
+ }
1945
+
1946
+ const response = await facade.esi.proxy({
1862
1947
  path: urlPath,
1863
1948
  method: 'GET',
1864
1949
  headers: headerParameters,
@@ -1931,7 +2016,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
1931
2016
  let urlPath = `/corporations/{corporation_id}/starbases`;
1932
2017
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
1933
2018
 
1934
- const response = await api.esi.proxy({
2019
+ const facade = this.configuration?.apiFacade;
2020
+ if (!facade) {
2021
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
2022
+ }
2023
+
2024
+ const response = await facade.esi.proxy({
1935
2025
  path: urlPath,
1936
2026
  method: 'GET',
1937
2027
  headers: headerParameters,
@@ -2019,7 +2109,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
2019
2109
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
2020
2110
  urlPath = urlPath.replace(`{${"starbase_id"}}`, encodeURIComponent(String(requestParameters['starbaseId'])));
2021
2111
 
2022
- const response = await api.esi.proxy({
2112
+ const facade = this.configuration?.apiFacade;
2113
+ if (!facade) {
2114
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
2115
+ }
2116
+
2117
+ const response = await facade.esi.proxy({
2023
2118
  path: urlPath,
2024
2119
  method: 'GET',
2025
2120
  headers: headerParameters,
@@ -2092,7 +2187,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
2092
2187
  let urlPath = `/corporations/{corporation_id}/structures`;
2093
2188
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
2094
2189
 
2095
- const response = await api.esi.proxy({
2190
+ const facade = this.configuration?.apiFacade;
2191
+ if (!facade) {
2192
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
2193
+ }
2194
+
2195
+ const response = await facade.esi.proxy({
2096
2196
  path: urlPath,
2097
2197
  method: 'GET',
2098
2198
  headers: headerParameters,
@@ -2161,7 +2261,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
2161
2261
  let urlPath = `/corporations/{corporation_id}/titles`;
2162
2262
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
2163
2263
 
2164
- const response = await api.esi.proxy({
2264
+ const facade = this.configuration?.apiFacade;
2265
+ if (!facade) {
2266
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
2267
+ }
2268
+
2269
+ const response = await facade.esi.proxy({
2165
2270
  path: urlPath,
2166
2271
  method: 'GET',
2167
2272
  headers: headerParameters,
@@ -2217,7 +2322,12 @@ export class CorporationApi extends runtime.BaseAPI implements CorporationApiInt
2217
2322
 
2218
2323
  let urlPath = `/corporations/npccorps`;
2219
2324
 
2220
- const response = await api.esi.proxy({
2325
+ const facade = this.configuration?.apiFacade;
2326
+ if (!facade) {
2327
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
2328
+ }
2329
+
2330
+ const response = await facade.esi.proxy({
2221
2331
  path: urlPath,
2222
2332
  method: 'GET',
2223
2333
  headers: headerParameters,
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
- import api from '../serviceFacade'
17
+
18
18
  import type {
19
19
  DogmaAttributesAttributeIdGet,
20
20
  DogmaDynamicItemsTypeIdItemIdGet,
@@ -210,7 +210,12 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
210
210
 
211
211
  let urlPath = `/dogma/attributes`;
212
212
 
213
- const response = await api.esi.proxy({
213
+ const facade = this.configuration?.apiFacade;
214
+ if (!facade) {
215
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
216
+ }
217
+
218
+ const response = await facade.esi.proxy({
214
219
  path: urlPath,
215
220
  method: 'GET',
216
221
  headers: headerParameters,
@@ -274,7 +279,12 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
274
279
  let urlPath = `/dogma/attributes/{attribute_id}`;
275
280
  urlPath = urlPath.replace(`{${"attribute_id"}}`, encodeURIComponent(String(requestParameters['attributeId'])));
276
281
 
277
- const response = await api.esi.proxy({
282
+ const facade = this.configuration?.apiFacade;
283
+ if (!facade) {
284
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
285
+ }
286
+
287
+ const response = await facade.esi.proxy({
278
288
  path: urlPath,
279
289
  method: 'GET',
280
290
  headers: headerParameters,
@@ -346,7 +356,12 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
346
356
  urlPath = urlPath.replace(`{${"item_id"}}`, encodeURIComponent(String(requestParameters['itemId'])));
347
357
  urlPath = urlPath.replace(`{${"type_id"}}`, encodeURIComponent(String(requestParameters['typeId'])));
348
358
 
349
- const response = await api.esi.proxy({
359
+ const facade = this.configuration?.apiFacade;
360
+ if (!facade) {
361
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
362
+ }
363
+
364
+ const response = await facade.esi.proxy({
350
365
  path: urlPath,
351
366
  method: 'GET',
352
367
  headers: headerParameters,
@@ -402,7 +417,12 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
402
417
 
403
418
  let urlPath = `/dogma/effects`;
404
419
 
405
- const response = await api.esi.proxy({
420
+ const facade = this.configuration?.apiFacade;
421
+ if (!facade) {
422
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
423
+ }
424
+
425
+ const response = await facade.esi.proxy({
406
426
  path: urlPath,
407
427
  method: 'GET',
408
428
  headers: headerParameters,
@@ -466,7 +486,12 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
466
486
  let urlPath = `/dogma/effects/{effect_id}`;
467
487
  urlPath = urlPath.replace(`{${"effect_id"}}`, encodeURIComponent(String(requestParameters['effectId'])));
468
488
 
469
- const response = await api.esi.proxy({
489
+ const facade = this.configuration?.apiFacade;
490
+ if (!facade) {
491
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
492
+ }
493
+
494
+ const response = await facade.esi.proxy({
470
495
  path: urlPath,
471
496
  method: 'GET',
472
497
  headers: headerParameters,
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
- import api from '../serviceFacade'
17
+
18
18
  import type {
19
19
  CharactersCharacterIdFwStatsGet,
20
20
  CorporationsCorporationIdFwStatsGet,
@@ -302,7 +302,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
302
302
  let urlPath = `/characters/{character_id}/fw/stats`;
303
303
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
304
304
 
305
- const response = await api.esi.proxy({
305
+ const facade = this.configuration?.apiFacade;
306
+ if (!facade) {
307
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
308
+ }
309
+
310
+ const response = await facade.esi.proxy({
306
311
  path: urlPath,
307
312
  method: 'GET',
308
313
  headers: headerParameters,
@@ -371,7 +376,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
371
376
  let urlPath = `/corporations/{corporation_id}/fw/stats`;
372
377
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
373
378
 
374
- const response = await api.esi.proxy({
379
+ const facade = this.configuration?.apiFacade;
380
+ if (!facade) {
381
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
382
+ }
383
+
384
+ const response = await facade.esi.proxy({
375
385
  path: urlPath,
376
386
  method: 'GET',
377
387
  headers: headerParameters,
@@ -427,7 +437,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
427
437
 
428
438
  let urlPath = `/fw/leaderboards`;
429
439
 
430
- const response = await api.esi.proxy({
440
+ const facade = this.configuration?.apiFacade;
441
+ if (!facade) {
442
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
443
+ }
444
+
445
+ const response = await facade.esi.proxy({
431
446
  path: urlPath,
432
447
  method: 'GET',
433
448
  headers: headerParameters,
@@ -483,7 +498,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
483
498
 
484
499
  let urlPath = `/fw/leaderboards/characters`;
485
500
 
486
- const response = await api.esi.proxy({
501
+ const facade = this.configuration?.apiFacade;
502
+ if (!facade) {
503
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
504
+ }
505
+
506
+ const response = await facade.esi.proxy({
487
507
  path: urlPath,
488
508
  method: 'GET',
489
509
  headers: headerParameters,
@@ -539,7 +559,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
539
559
 
540
560
  let urlPath = `/fw/leaderboards/corporations`;
541
561
 
542
- const response = await api.esi.proxy({
562
+ const facade = this.configuration?.apiFacade;
563
+ if (!facade) {
564
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
565
+ }
566
+
567
+ const response = await facade.esi.proxy({
543
568
  path: urlPath,
544
569
  method: 'GET',
545
570
  headers: headerParameters,
@@ -595,7 +620,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
595
620
 
596
621
  let urlPath = `/fw/stats`;
597
622
 
598
- const response = await api.esi.proxy({
623
+ const facade = this.configuration?.apiFacade;
624
+ if (!facade) {
625
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
626
+ }
627
+
628
+ const response = await facade.esi.proxy({
599
629
  path: urlPath,
600
630
  method: 'GET',
601
631
  headers: headerParameters,
@@ -651,7 +681,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
651
681
 
652
682
  let urlPath = `/fw/systems`;
653
683
 
654
- const response = await api.esi.proxy({
684
+ const facade = this.configuration?.apiFacade;
685
+ if (!facade) {
686
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
687
+ }
688
+
689
+ const response = await facade.esi.proxy({
655
690
  path: urlPath,
656
691
  method: 'GET',
657
692
  headers: headerParameters,
@@ -707,7 +742,12 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
707
742
 
708
743
  let urlPath = `/fw/wars`;
709
744
 
710
- const response = await api.esi.proxy({
745
+ const facade = this.configuration?.apiFacade;
746
+ if (!facade) {
747
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
748
+ }
749
+
750
+ const response = await facade.esi.proxy({
711
751
  path: urlPath,
712
752
  method: 'GET',
713
753
  headers: headerParameters,
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
- import api from '../serviceFacade'
17
+
18
18
  import type {
19
19
  CharactersCharacterIdFittingsGetInner,
20
20
  CharactersCharacterIdFittingsPost,
@@ -181,7 +181,12 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
181
181
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
182
182
  urlPath = urlPath.replace(`{${"fitting_id"}}`, encodeURIComponent(String(requestParameters['fittingId'])));
183
183
 
184
- const response = await api.esi.proxy({
184
+ const facade = this.configuration?.apiFacade;
185
+ if (!facade) {
186
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
187
+ }
188
+
189
+ const response = await facade.esi.proxy({
185
190
  path: urlPath,
186
191
  method: 'DELETE',
187
192
  headers: headerParameters,
@@ -249,7 +254,12 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
249
254
  let urlPath = `/characters/{character_id}/fittings`;
250
255
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
251
256
 
252
- const response = await api.esi.proxy({
257
+ const facade = this.configuration?.apiFacade;
258
+ if (!facade) {
259
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
260
+ }
261
+
262
+ const response = await facade.esi.proxy({
253
263
  path: urlPath,
254
264
  method: 'GET',
255
265
  headers: headerParameters,
@@ -327,7 +337,12 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
327
337
  let urlPath = `/characters/{character_id}/fittings`;
328
338
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
329
339
 
330
- const response = await api.esi.proxy({
340
+ const facade = this.configuration?.apiFacade;
341
+ if (!facade) {
342
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
343
+ }
344
+
345
+ const response = await facade.esi.proxy({
331
346
  path: urlPath,
332
347
  method: 'POST',
333
348
  headers: headerParameters,