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
  CharactersCharacterIdFleetGet,
20
20
  FleetsFleetIdGet,
@@ -516,7 +516,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
516
516
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
517
517
  urlPath = urlPath.replace(`{${"member_id"}}`, encodeURIComponent(String(requestParameters['memberId'])));
518
518
 
519
- const response = await api.esi.proxy({
519
+ const facade = this.configuration?.apiFacade;
520
+ if (!facade) {
521
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
522
+ }
523
+
524
+ const response = await facade.esi.proxy({
520
525
  path: urlPath,
521
526
  method: 'DELETE',
522
527
  headers: headerParameters,
@@ -592,7 +597,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
592
597
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
593
598
  urlPath = urlPath.replace(`{${"squad_id"}}`, encodeURIComponent(String(requestParameters['squadId'])));
594
599
 
595
- const response = await api.esi.proxy({
600
+ const facade = this.configuration?.apiFacade;
601
+ if (!facade) {
602
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
603
+ }
604
+
605
+ const response = await facade.esi.proxy({
596
606
  path: urlPath,
597
607
  method: 'DELETE',
598
608
  headers: headerParameters,
@@ -668,7 +678,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
668
678
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
669
679
  urlPath = urlPath.replace(`{${"wing_id"}}`, encodeURIComponent(String(requestParameters['wingId'])));
670
680
 
671
- const response = await api.esi.proxy({
681
+ const facade = this.configuration?.apiFacade;
682
+ if (!facade) {
683
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
684
+ }
685
+
686
+ const response = await facade.esi.proxy({
672
687
  path: urlPath,
673
688
  method: 'DELETE',
674
689
  headers: headerParameters,
@@ -736,7 +751,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
736
751
  let urlPath = `/characters/{character_id}/fleet`;
737
752
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
738
753
 
739
- const response = await api.esi.proxy({
754
+ const facade = this.configuration?.apiFacade;
755
+ if (!facade) {
756
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
757
+ }
758
+
759
+ const response = await facade.esi.proxy({
740
760
  path: urlPath,
741
761
  method: 'GET',
742
762
  headers: headerParameters,
@@ -805,7 +825,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
805
825
  let urlPath = `/fleets/{fleet_id}`;
806
826
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
807
827
 
808
- const response = await api.esi.proxy({
828
+ const facade = this.configuration?.apiFacade;
829
+ if (!facade) {
830
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
831
+ }
832
+
833
+ const response = await facade.esi.proxy({
809
834
  path: urlPath,
810
835
  method: 'GET',
811
836
  headers: headerParameters,
@@ -874,7 +899,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
874
899
  let urlPath = `/fleets/{fleet_id}/members`;
875
900
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
876
901
 
877
- const response = await api.esi.proxy({
902
+ const facade = this.configuration?.apiFacade;
903
+ if (!facade) {
904
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
905
+ }
906
+
907
+ const response = await facade.esi.proxy({
878
908
  path: urlPath,
879
909
  method: 'GET',
880
910
  headers: headerParameters,
@@ -943,7 +973,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
943
973
  let urlPath = `/fleets/{fleet_id}/wings`;
944
974
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
945
975
 
946
- const response = await api.esi.proxy({
976
+ const facade = this.configuration?.apiFacade;
977
+ if (!facade) {
978
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
979
+ }
980
+
981
+ const response = await facade.esi.proxy({
947
982
  path: urlPath,
948
983
  method: 'GET',
949
984
  headers: headerParameters,
@@ -1021,7 +1056,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1021
1056
  let urlPath = `/fleets/{fleet_id}/members`;
1022
1057
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1023
1058
 
1024
- const response = await api.esi.proxy({
1059
+ const facade = this.configuration?.apiFacade;
1060
+ if (!facade) {
1061
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1062
+ }
1063
+
1064
+ const response = await facade.esi.proxy({
1025
1065
  path: urlPath,
1026
1066
  method: 'POST',
1027
1067
  headers: headerParameters,
@@ -1090,7 +1130,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1090
1130
  let urlPath = `/fleets/{fleet_id}/wings`;
1091
1131
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1092
1132
 
1093
- const response = await api.esi.proxy({
1133
+ const facade = this.configuration?.apiFacade;
1134
+ if (!facade) {
1135
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1136
+ }
1137
+
1138
+ const response = await facade.esi.proxy({
1094
1139
  path: urlPath,
1095
1140
  method: 'POST',
1096
1141
  headers: headerParameters,
@@ -1167,7 +1212,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1167
1212
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1168
1213
  urlPath = urlPath.replace(`{${"wing_id"}}`, encodeURIComponent(String(requestParameters['wingId'])));
1169
1214
 
1170
- const response = await api.esi.proxy({
1215
+ const facade = this.configuration?.apiFacade;
1216
+ if (!facade) {
1217
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1218
+ }
1219
+
1220
+ const response = await facade.esi.proxy({
1171
1221
  path: urlPath,
1172
1222
  method: 'POST',
1173
1223
  headers: headerParameters,
@@ -1245,7 +1295,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1245
1295
  let urlPath = `/fleets/{fleet_id}`;
1246
1296
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1247
1297
 
1248
- const response = await api.esi.proxy({
1298
+ const facade = this.configuration?.apiFacade;
1299
+ if (!facade) {
1300
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1301
+ }
1302
+
1303
+ const response = await facade.esi.proxy({
1249
1304
  path: urlPath,
1250
1305
  method: 'PUT',
1251
1306
  headers: headerParameters,
@@ -1331,7 +1386,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1331
1386
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1332
1387
  urlPath = urlPath.replace(`{${"member_id"}}`, encodeURIComponent(String(requestParameters['memberId'])));
1333
1388
 
1334
- const response = await api.esi.proxy({
1389
+ const facade = this.configuration?.apiFacade;
1390
+ if (!facade) {
1391
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1392
+ }
1393
+
1394
+ const response = await facade.esi.proxy({
1335
1395
  path: urlPath,
1336
1396
  method: 'PUT',
1337
1397
  headers: headerParameters,
@@ -1417,7 +1477,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1417
1477
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1418
1478
  urlPath = urlPath.replace(`{${"squad_id"}}`, encodeURIComponent(String(requestParameters['squadId'])));
1419
1479
 
1420
- const response = await api.esi.proxy({
1480
+ const facade = this.configuration?.apiFacade;
1481
+ if (!facade) {
1482
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1483
+ }
1484
+
1485
+ const response = await facade.esi.proxy({
1421
1486
  path: urlPath,
1422
1487
  method: 'PUT',
1423
1488
  headers: headerParameters,
@@ -1503,7 +1568,12 @@ export class FleetsApi extends runtime.BaseAPI implements FleetsApiInterface {
1503
1568
  urlPath = urlPath.replace(`{${"fleet_id"}}`, encodeURIComponent(String(requestParameters['fleetId'])));
1504
1569
  urlPath = urlPath.replace(`{${"wing_id"}}`, encodeURIComponent(String(requestParameters['wingId'])));
1505
1570
 
1506
- const response = await api.esi.proxy({
1571
+ const facade = this.configuration?.apiFacade;
1572
+ if (!facade) {
1573
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1574
+ }
1575
+
1576
+ const response = await facade.esi.proxy({
1507
1577
  path: urlPath,
1508
1578
  method: 'PUT',
1509
1579
  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
  IncursionsGetInner,
20
20
  } from '../models/index';
@@ -96,7 +96,12 @@ export class IncursionsApi extends runtime.BaseAPI implements IncursionsApiInter
96
96
 
97
97
  let urlPath = `/incursions`;
98
98
 
99
- const response = await api.esi.proxy({
99
+ const facade = this.configuration?.apiFacade;
100
+ if (!facade) {
101
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
102
+ }
103
+
104
+ const response = await facade.esi.proxy({
100
105
  path: urlPath,
101
106
  method: 'GET',
102
107
  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
  CharactersCharacterIdIndustryJobsGetInner,
20
20
  CharactersCharacterIdMiningGetInner,
@@ -330,7 +330,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
330
330
  let urlPath = `/characters/{character_id}/industry/jobs`;
331
331
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
332
332
 
333
- const response = await api.esi.proxy({
333
+ const facade = this.configuration?.apiFacade;
334
+ if (!facade) {
335
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
336
+ }
337
+
338
+ const response = await facade.esi.proxy({
334
339
  path: urlPath,
335
340
  method: 'GET',
336
341
  headers: headerParameters,
@@ -403,7 +408,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
403
408
  let urlPath = `/characters/{character_id}/mining`;
404
409
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
405
410
 
406
- const response = await api.esi.proxy({
411
+ const facade = this.configuration?.apiFacade;
412
+ if (!facade) {
413
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
414
+ }
415
+
416
+ const response = await facade.esi.proxy({
407
417
  path: urlPath,
408
418
  method: 'GET',
409
419
  headers: headerParameters,
@@ -476,7 +486,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
476
486
  let urlPath = `/corporation/{corporation_id}/mining/extractions`;
477
487
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
478
488
 
479
- 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({
480
495
  path: urlPath,
481
496
  method: 'GET',
482
497
  headers: headerParameters,
@@ -549,7 +564,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
549
564
  let urlPath = `/corporation/{corporation_id}/mining/observers`;
550
565
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
551
566
 
552
- const response = await api.esi.proxy({
567
+ const facade = this.configuration?.apiFacade;
568
+ if (!facade) {
569
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
570
+ }
571
+
572
+ const response = await facade.esi.proxy({
553
573
  path: urlPath,
554
574
  method: 'GET',
555
575
  headers: headerParameters,
@@ -630,7 +650,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
630
650
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
631
651
  urlPath = urlPath.replace(`{${"observer_id"}}`, encodeURIComponent(String(requestParameters['observerId'])));
632
652
 
633
- const response = await api.esi.proxy({
653
+ const facade = this.configuration?.apiFacade;
654
+ if (!facade) {
655
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
656
+ }
657
+
658
+ const response = await facade.esi.proxy({
634
659
  path: urlPath,
635
660
  method: 'GET',
636
661
  headers: headerParameters,
@@ -707,7 +732,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
707
732
  let urlPath = `/corporations/{corporation_id}/industry/jobs`;
708
733
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
709
734
 
710
- 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({
711
741
  path: urlPath,
712
742
  method: 'GET',
713
743
  headers: headerParameters,
@@ -763,7 +793,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
763
793
 
764
794
  let urlPath = `/industry/facilities`;
765
795
 
766
- const response = await api.esi.proxy({
796
+ const facade = this.configuration?.apiFacade;
797
+ if (!facade) {
798
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
799
+ }
800
+
801
+ const response = await facade.esi.proxy({
767
802
  path: urlPath,
768
803
  method: 'GET',
769
804
  headers: headerParameters,
@@ -819,7 +854,12 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
819
854
 
820
855
  let urlPath = `/industry/systems`;
821
856
 
822
- const response = await api.esi.proxy({
857
+ const facade = this.configuration?.apiFacade;
858
+ if (!facade) {
859
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
860
+ }
861
+
862
+ const response = await facade.esi.proxy({
823
863
  path: urlPath,
824
864
  method: 'GET',
825
865
  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
  InsurancePricesGetInner,
20
20
  } from '../models/index';
@@ -96,7 +96,12 @@ export class InsuranceApi extends runtime.BaseAPI implements InsuranceApiInterfa
96
96
 
97
97
  let urlPath = `/insurance/prices`;
98
98
 
99
- const response = await api.esi.proxy({
99
+ const facade = this.configuration?.apiFacade;
100
+ if (!facade) {
101
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
102
+ }
103
+
104
+ const response = await facade.esi.proxy({
100
105
  path: urlPath,
101
106
  method: 'GET',
102
107
  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
  CharactersCharacterIdKillmailsRecentGetInner,
20
20
  KillmailsKillmailIdKillmailHashGet,
@@ -178,7 +178,12 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
178
178
  let urlPath = `/characters/{character_id}/killmails/recent`;
179
179
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
180
180
 
181
- const response = await api.esi.proxy({
181
+ const facade = this.configuration?.apiFacade;
182
+ if (!facade) {
183
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
184
+ }
185
+
186
+ const response = await facade.esi.proxy({
182
187
  path: urlPath,
183
188
  method: 'GET',
184
189
  headers: headerParameters,
@@ -251,7 +256,12 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
251
256
  let urlPath = `/corporations/{corporation_id}/killmails/recent`;
252
257
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
253
258
 
254
- const response = await api.esi.proxy({
259
+ const facade = this.configuration?.apiFacade;
260
+ if (!facade) {
261
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
262
+ }
263
+
264
+ const response = await facade.esi.proxy({
255
265
  path: urlPath,
256
266
  method: 'GET',
257
267
  headers: headerParameters,
@@ -323,7 +333,12 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
323
333
  urlPath = urlPath.replace(`{${"killmail_hash"}}`, encodeURIComponent(String(requestParameters['killmailHash'])));
324
334
  urlPath = urlPath.replace(`{${"killmail_id"}}`, encodeURIComponent(String(requestParameters['killmailId'])));
325
335
 
326
- const response = await api.esi.proxy({
336
+ const facade = this.configuration?.apiFacade;
337
+ if (!facade) {
338
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
339
+ }
340
+
341
+ const response = await facade.esi.proxy({
327
342
  path: urlPath,
328
343
  method: 'GET',
329
344
  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
  CharactersCharacterIdLocationGet,
20
20
  CharactersCharacterIdOnlineGet,
@@ -169,7 +169,12 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
169
169
  let urlPath = `/characters/{character_id}/location`;
170
170
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
171
171
 
172
- const response = await api.esi.proxy({
172
+ const facade = this.configuration?.apiFacade;
173
+ if (!facade) {
174
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
175
+ }
176
+
177
+ const response = await facade.esi.proxy({
173
178
  path: urlPath,
174
179
  method: 'GET',
175
180
  headers: headerParameters,
@@ -238,7 +243,12 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
238
243
  let urlPath = `/characters/{character_id}/online`;
239
244
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
240
245
 
241
- const response = await api.esi.proxy({
246
+ const facade = this.configuration?.apiFacade;
247
+ if (!facade) {
248
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
249
+ }
250
+
251
+ const response = await facade.esi.proxy({
242
252
  path: urlPath,
243
253
  method: 'GET',
244
254
  headers: headerParameters,
@@ -307,7 +317,12 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
307
317
  let urlPath = `/characters/{character_id}/ship`;
308
318
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
309
319
 
310
- const response = await api.esi.proxy({
320
+ const facade = this.configuration?.apiFacade;
321
+ if (!facade) {
322
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
323
+ }
324
+
325
+ const response = await facade.esi.proxy({
311
326
  path: urlPath,
312
327
  method: 'GET',
313
328
  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
  CharactersCharacterIdLoyaltyPointsGetInner,
20
20
  LoyaltyStoresCorporationIdOffersGetInner,
@@ -140,7 +140,12 @@ export class LoyaltyApi extends runtime.BaseAPI implements LoyaltyApiInterface {
140
140
  let urlPath = `/characters/{character_id}/loyalty/points`;
141
141
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
142
142
 
143
- const response = await api.esi.proxy({
143
+ const facade = this.configuration?.apiFacade;
144
+ if (!facade) {
145
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
146
+ }
147
+
148
+ const response = await facade.esi.proxy({
144
149
  path: urlPath,
145
150
  method: 'GET',
146
151
  headers: headerParameters,
@@ -204,7 +209,12 @@ export class LoyaltyApi extends runtime.BaseAPI implements LoyaltyApiInterface {
204
209
  let urlPath = `/loyalty/stores/{corporation_id}/offers`;
205
210
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
206
211
 
207
- const response = await api.esi.proxy({
212
+ const facade = this.configuration?.apiFacade;
213
+ if (!facade) {
214
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
215
+ }
216
+
217
+ const response = await facade.esi.proxy({
208
218
  path: urlPath,
209
219
  method: 'GET',
210
220
  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
  CharactersCharacterIdMailGetInner,
20
20
  CharactersCharacterIdMailLabelsGet,
@@ -367,7 +367,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
367
367
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
368
368
  urlPath = urlPath.replace(`{${"label_id"}}`, encodeURIComponent(String(requestParameters['labelId'])));
369
369
 
370
- const response = await api.esi.proxy({
370
+ const facade = this.configuration?.apiFacade;
371
+ if (!facade) {
372
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
373
+ }
374
+
375
+ const response = await facade.esi.proxy({
371
376
  path: urlPath,
372
377
  method: 'DELETE',
373
378
  headers: headerParameters,
@@ -443,7 +448,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
443
448
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
444
449
  urlPath = urlPath.replace(`{${"mail_id"}}`, encodeURIComponent(String(requestParameters['mailId'])));
445
450
 
446
- const response = await api.esi.proxy({
451
+ const facade = this.configuration?.apiFacade;
452
+ if (!facade) {
453
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
454
+ }
455
+
456
+ const response = await facade.esi.proxy({
447
457
  path: urlPath,
448
458
  method: 'DELETE',
449
459
  headers: headerParameters,
@@ -519,7 +529,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
519
529
  let urlPath = `/characters/{character_id}/mail`;
520
530
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
521
531
 
522
- const response = await api.esi.proxy({
532
+ const facade = this.configuration?.apiFacade;
533
+ if (!facade) {
534
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
535
+ }
536
+
537
+ const response = await facade.esi.proxy({
523
538
  path: urlPath,
524
539
  method: 'GET',
525
540
  headers: headerParameters,
@@ -588,7 +603,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
588
603
  let urlPath = `/characters/{character_id}/mail/labels`;
589
604
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
590
605
 
591
- const response = await api.esi.proxy({
606
+ const facade = this.configuration?.apiFacade;
607
+ if (!facade) {
608
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
609
+ }
610
+
611
+ const response = await facade.esi.proxy({
592
612
  path: urlPath,
593
613
  method: 'GET',
594
614
  headers: headerParameters,
@@ -657,7 +677,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
657
677
  let urlPath = `/characters/{character_id}/mail/lists`;
658
678
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
659
679
 
660
- const response = await api.esi.proxy({
680
+ const facade = this.configuration?.apiFacade;
681
+ if (!facade) {
682
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
683
+ }
684
+
685
+ const response = await facade.esi.proxy({
661
686
  path: urlPath,
662
687
  method: 'GET',
663
688
  headers: headerParameters,
@@ -734,7 +759,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
734
759
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
735
760
  urlPath = urlPath.replace(`{${"mail_id"}}`, encodeURIComponent(String(requestParameters['mailId'])));
736
761
 
737
- const response = await api.esi.proxy({
762
+ const facade = this.configuration?.apiFacade;
763
+ if (!facade) {
764
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
765
+ }
766
+
767
+ const response = await facade.esi.proxy({
738
768
  path: urlPath,
739
769
  method: 'GET',
740
770
  headers: headerParameters,
@@ -812,7 +842,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
812
842
  let urlPath = `/characters/{character_id}/mail`;
813
843
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
814
844
 
815
- const response = await api.esi.proxy({
845
+ const facade = this.configuration?.apiFacade;
846
+ if (!facade) {
847
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
848
+ }
849
+
850
+ const response = await facade.esi.proxy({
816
851
  path: urlPath,
817
852
  method: 'POST',
818
853
  headers: headerParameters,
@@ -895,7 +930,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
895
930
  let urlPath = `/characters/{character_id}/mail/labels`;
896
931
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
897
932
 
898
- const response = await api.esi.proxy({
933
+ const facade = this.configuration?.apiFacade;
934
+ if (!facade) {
935
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
936
+ }
937
+
938
+ const response = await facade.esi.proxy({
899
939
  path: urlPath,
900
940
  method: 'POST',
901
941
  headers: headerParameters,
@@ -986,7 +1026,12 @@ export class MailApi extends runtime.BaseAPI implements MailApiInterface {
986
1026
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
987
1027
  urlPath = urlPath.replace(`{${"mail_id"}}`, encodeURIComponent(String(requestParameters['mailId'])));
988
1028
 
989
- const response = await api.esi.proxy({
1029
+ const facade = this.configuration?.apiFacade;
1030
+ if (!facade) {
1031
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1032
+ }
1033
+
1034
+ const response = await facade.esi.proxy({
990
1035
  path: urlPath,
991
1036
  method: 'PUT',
992
1037
  headers: headerParameters,