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
  CharactersCharacterIdAssetsGetInner,
20
20
  CharactersCharacterIdAssetsLocationsPostInner,
@@ -270,7 +270,12 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
270
270
  let urlPath = `/characters/{character_id}/assets`;
271
271
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
272
272
 
273
- const response = await api.esi.proxy({
273
+ const facade = this.configuration?.apiFacade;
274
+ if (!facade) {
275
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
276
+ }
277
+
278
+ const response = await facade.esi.proxy({
274
279
  path: urlPath,
275
280
  method: 'GET',
276
281
  headers: headerParameters,
@@ -343,7 +348,12 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
343
348
  let urlPath = `/corporations/{corporation_id}/assets`;
344
349
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
345
350
 
346
- const response = await api.esi.proxy({
351
+ const facade = this.configuration?.apiFacade;
352
+ if (!facade) {
353
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
354
+ }
355
+
356
+ const response = await facade.esi.proxy({
347
357
  path: urlPath,
348
358
  method: 'GET',
349
359
  headers: headerParameters,
@@ -421,7 +431,12 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
421
431
  let urlPath = `/characters/{character_id}/assets/locations`;
422
432
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
423
433
 
424
- const response = await api.esi.proxy({
434
+ const facade = this.configuration?.apiFacade;
435
+ if (!facade) {
436
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
437
+ }
438
+
439
+ const response = await facade.esi.proxy({
425
440
  path: urlPath,
426
441
  method: 'POST',
427
442
  headers: headerParameters,
@@ -500,7 +515,12 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
500
515
  let urlPath = `/characters/{character_id}/assets/names`;
501
516
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
502
517
 
503
- const response = await api.esi.proxy({
518
+ const facade = this.configuration?.apiFacade;
519
+ if (!facade) {
520
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
521
+ }
522
+
523
+ const response = await facade.esi.proxy({
504
524
  path: urlPath,
505
525
  method: 'POST',
506
526
  headers: headerParameters,
@@ -579,7 +599,12 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
579
599
  let urlPath = `/corporations/{corporation_id}/assets/locations`;
580
600
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
581
601
 
582
- const response = await api.esi.proxy({
602
+ const facade = this.configuration?.apiFacade;
603
+ if (!facade) {
604
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
605
+ }
606
+
607
+ const response = await facade.esi.proxy({
583
608
  path: urlPath,
584
609
  method: 'POST',
585
610
  headers: headerParameters,
@@ -658,7 +683,12 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
658
683
  let urlPath = `/corporations/{corporation_id}/assets/names`;
659
684
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
660
685
 
661
- const response = await api.esi.proxy({
686
+ const facade = this.configuration?.apiFacade;
687
+ if (!facade) {
688
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
689
+ }
690
+
691
+ const response = await facade.esi.proxy({
662
692
  path: urlPath,
663
693
  method: 'POST',
664
694
  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
  CharactersCharacterIdCalendarEventIdAttendeesGetInner,
20
20
  CharactersCharacterIdCalendarEventIdGet,
@@ -212,7 +212,12 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
212
212
  let urlPath = `/characters/{character_id}/calendar`;
213
213
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
214
214
 
215
- const response = await api.esi.proxy({
215
+ const facade = this.configuration?.apiFacade;
216
+ if (!facade) {
217
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
218
+ }
219
+
220
+ const response = await facade.esi.proxy({
216
221
  path: urlPath,
217
222
  method: 'GET',
218
223
  headers: headerParameters,
@@ -289,7 +294,12 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
289
294
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
290
295
  urlPath = urlPath.replace(`{${"event_id"}}`, encodeURIComponent(String(requestParameters['eventId'])));
291
296
 
292
- const response = await api.esi.proxy({
297
+ const facade = this.configuration?.apiFacade;
298
+ if (!facade) {
299
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
300
+ }
301
+
302
+ const response = await facade.esi.proxy({
293
303
  path: urlPath,
294
304
  method: 'GET',
295
305
  headers: headerParameters,
@@ -366,7 +376,12 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
366
376
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
367
377
  urlPath = urlPath.replace(`{${"event_id"}}`, encodeURIComponent(String(requestParameters['eventId'])));
368
378
 
369
- 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({
370
385
  path: urlPath,
371
386
  method: 'GET',
372
387
  headers: headerParameters,
@@ -452,7 +467,12 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
452
467
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
453
468
  urlPath = urlPath.replace(`{${"event_id"}}`, encodeURIComponent(String(requestParameters['eventId'])));
454
469
 
455
- const response = await api.esi.proxy({
470
+ const facade = this.configuration?.apiFacade;
471
+ if (!facade) {
472
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
473
+ }
474
+
475
+ const response = await facade.esi.proxy({
456
476
  path: urlPath,
457
477
  method: 'PUT',
458
478
  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
  CharactersAffiliationPostInner,
20
20
  CharactersCharacterIdAgentsResearchGetInner,
@@ -486,7 +486,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
486
486
  let urlPath = `/characters/{character_id}`;
487
487
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
488
488
 
489
- 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({
490
495
  path: urlPath,
491
496
  method: 'GET',
492
497
  headers: headerParameters,
@@ -555,7 +560,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
555
560
  let urlPath = `/characters/{character_id}/agents_research`;
556
561
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
557
562
 
558
- const response = await api.esi.proxy({
563
+ const facade = this.configuration?.apiFacade;
564
+ if (!facade) {
565
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
566
+ }
567
+
568
+ const response = await facade.esi.proxy({
559
569
  path: urlPath,
560
570
  method: 'GET',
561
571
  headers: headerParameters,
@@ -628,7 +638,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
628
638
  let urlPath = `/characters/{character_id}/blueprints`;
629
639
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
630
640
 
631
- const response = await api.esi.proxy({
641
+ const facade = this.configuration?.apiFacade;
642
+ if (!facade) {
643
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
644
+ }
645
+
646
+ const response = await facade.esi.proxy({
632
647
  path: urlPath,
633
648
  method: 'GET',
634
649
  headers: headerParameters,
@@ -692,7 +707,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
692
707
  let urlPath = `/characters/{character_id}/corporationhistory`;
693
708
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
694
709
 
695
- const response = await api.esi.proxy({
710
+ const facade = this.configuration?.apiFacade;
711
+ if (!facade) {
712
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
713
+ }
714
+
715
+ const response = await facade.esi.proxy({
696
716
  path: urlPath,
697
717
  method: 'GET',
698
718
  headers: headerParameters,
@@ -761,7 +781,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
761
781
  let urlPath = `/characters/{character_id}/fatigue`;
762
782
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
763
783
 
764
- const response = await api.esi.proxy({
784
+ const facade = this.configuration?.apiFacade;
785
+ if (!facade) {
786
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
787
+ }
788
+
789
+ const response = await facade.esi.proxy({
765
790
  path: urlPath,
766
791
  method: 'GET',
767
792
  headers: headerParameters,
@@ -830,7 +855,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
830
855
  let urlPath = `/characters/{character_id}/medals`;
831
856
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
832
857
 
833
- const response = await api.esi.proxy({
858
+ const facade = this.configuration?.apiFacade;
859
+ if (!facade) {
860
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
861
+ }
862
+
863
+ const response = await facade.esi.proxy({
834
864
  path: urlPath,
835
865
  method: 'GET',
836
866
  headers: headerParameters,
@@ -899,7 +929,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
899
929
  let urlPath = `/characters/{character_id}/notifications`;
900
930
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
901
931
 
902
- const response = await api.esi.proxy({
932
+ const facade = this.configuration?.apiFacade;
933
+ if (!facade) {
934
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
935
+ }
936
+
937
+ const response = await facade.esi.proxy({
903
938
  path: urlPath,
904
939
  method: 'GET',
905
940
  headers: headerParameters,
@@ -968,7 +1003,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
968
1003
  let urlPath = `/characters/{character_id}/notifications/contacts`;
969
1004
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
970
1005
 
971
- const response = await api.esi.proxy({
1006
+ const facade = this.configuration?.apiFacade;
1007
+ if (!facade) {
1008
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1009
+ }
1010
+
1011
+ const response = await facade.esi.proxy({
972
1012
  path: urlPath,
973
1013
  method: 'GET',
974
1014
  headers: headerParameters,
@@ -1032,7 +1072,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
1032
1072
  let urlPath = `/characters/{character_id}/portrait`;
1033
1073
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
1034
1074
 
1035
- const response = await api.esi.proxy({
1075
+ const facade = this.configuration?.apiFacade;
1076
+ if (!facade) {
1077
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1078
+ }
1079
+
1080
+ const response = await facade.esi.proxy({
1036
1081
  path: urlPath,
1037
1082
  method: 'GET',
1038
1083
  headers: headerParameters,
@@ -1101,7 +1146,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
1101
1146
  let urlPath = `/characters/{character_id}/roles`;
1102
1147
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
1103
1148
 
1104
- const response = await api.esi.proxy({
1149
+ const facade = this.configuration?.apiFacade;
1150
+ if (!facade) {
1151
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1152
+ }
1153
+
1154
+ const response = await facade.esi.proxy({
1105
1155
  path: urlPath,
1106
1156
  method: 'GET',
1107
1157
  headers: headerParameters,
@@ -1170,7 +1220,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
1170
1220
  let urlPath = `/characters/{character_id}/standings`;
1171
1221
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
1172
1222
 
1173
- const response = await api.esi.proxy({
1223
+ const facade = this.configuration?.apiFacade;
1224
+ if (!facade) {
1225
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1226
+ }
1227
+
1228
+ const response = await facade.esi.proxy({
1174
1229
  path: urlPath,
1175
1230
  method: 'GET',
1176
1231
  headers: headerParameters,
@@ -1239,7 +1294,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
1239
1294
  let urlPath = `/characters/{character_id}/titles`;
1240
1295
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
1241
1296
 
1242
- const response = await api.esi.proxy({
1297
+ const facade = this.configuration?.apiFacade;
1298
+ if (!facade) {
1299
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1300
+ }
1301
+
1302
+ const response = await facade.esi.proxy({
1243
1303
  path: urlPath,
1244
1304
  method: 'GET',
1245
1305
  headers: headerParameters,
@@ -1304,7 +1364,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
1304
1364
 
1305
1365
  let urlPath = `/characters/affiliation`;
1306
1366
 
1307
- const response = await api.esi.proxy({
1367
+ const facade = this.configuration?.apiFacade;
1368
+ if (!facade) {
1369
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1370
+ }
1371
+
1372
+ const response = await facade.esi.proxy({
1308
1373
  path: urlPath,
1309
1374
  method: 'POST',
1310
1375
  headers: headerParameters,
@@ -1383,7 +1448,12 @@ export class CharacterApi extends runtime.BaseAPI implements CharacterApiInterfa
1383
1448
  let urlPath = `/characters/{character_id}/cspa`;
1384
1449
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
1385
1450
 
1386
- const response = await api.esi.proxy({
1451
+ const facade = this.configuration?.apiFacade;
1452
+ if (!facade) {
1453
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1454
+ }
1455
+
1456
+ const response = await facade.esi.proxy({
1387
1457
  path: urlPath,
1388
1458
  method: 'POST',
1389
1459
  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
  CharactersCharacterIdClonesGet,
20
20
  } from '../models/index';
@@ -139,7 +139,12 @@ export class ClonesApi extends runtime.BaseAPI implements ClonesApiInterface {
139
139
  let urlPath = `/characters/{character_id}/clones`;
140
140
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
141
141
 
142
- const response = await api.esi.proxy({
142
+ const facade = this.configuration?.apiFacade;
143
+ if (!facade) {
144
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
145
+ }
146
+
147
+ const response = await facade.esi.proxy({
143
148
  path: urlPath,
144
149
  method: 'GET',
145
150
  headers: headerParameters,
@@ -208,7 +213,12 @@ export class ClonesApi extends runtime.BaseAPI implements ClonesApiInterface {
208
213
  let urlPath = `/characters/{character_id}/implants`;
209
214
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
210
215
 
211
- const response = await api.esi.proxy({
216
+ const facade = this.configuration?.apiFacade;
217
+ if (!facade) {
218
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
219
+ }
220
+
221
+ const response = await facade.esi.proxy({
212
222
  path: urlPath,
213
223
  method: 'GET',
214
224
  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
  AlliancesAllianceIdContactsGetInner,
20
20
  AlliancesAllianceIdContactsLabelsGetInner,
@@ -373,7 +373,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
373
373
  let urlPath = `/characters/{character_id}/contacts`;
374
374
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
375
375
 
376
- const response = await api.esi.proxy({
376
+ const facade = this.configuration?.apiFacade;
377
+ if (!facade) {
378
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
379
+ }
380
+
381
+ const response = await facade.esi.proxy({
377
382
  path: urlPath,
378
383
  method: 'DELETE',
379
384
  headers: headerParameters,
@@ -445,7 +450,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
445
450
  let urlPath = `/alliances/{alliance_id}/contacts`;
446
451
  urlPath = urlPath.replace(`{${"alliance_id"}}`, encodeURIComponent(String(requestParameters['allianceId'])));
447
452
 
448
- const response = await api.esi.proxy({
453
+ const facade = this.configuration?.apiFacade;
454
+ if (!facade) {
455
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
456
+ }
457
+
458
+ const response = await facade.esi.proxy({
449
459
  path: urlPath,
450
460
  method: 'GET',
451
461
  headers: headerParameters,
@@ -514,7 +524,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
514
524
  let urlPath = `/alliances/{alliance_id}/contacts/labels`;
515
525
  urlPath = urlPath.replace(`{${"alliance_id"}}`, encodeURIComponent(String(requestParameters['allianceId'])));
516
526
 
517
- const response = await api.esi.proxy({
527
+ const facade = this.configuration?.apiFacade;
528
+ if (!facade) {
529
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
530
+ }
531
+
532
+ const response = await facade.esi.proxy({
518
533
  path: urlPath,
519
534
  method: 'GET',
520
535
  headers: headerParameters,
@@ -587,7 +602,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
587
602
  let urlPath = `/characters/{character_id}/contacts`;
588
603
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
589
604
 
590
- const response = await api.esi.proxy({
605
+ const facade = this.configuration?.apiFacade;
606
+ if (!facade) {
607
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
608
+ }
609
+
610
+ const response = await facade.esi.proxy({
591
611
  path: urlPath,
592
612
  method: 'GET',
593
613
  headers: headerParameters,
@@ -656,7 +676,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
656
676
  let urlPath = `/characters/{character_id}/contacts/labels`;
657
677
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
658
678
 
659
- const response = await api.esi.proxy({
679
+ const facade = this.configuration?.apiFacade;
680
+ if (!facade) {
681
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
682
+ }
683
+
684
+ const response = await facade.esi.proxy({
660
685
  path: urlPath,
661
686
  method: 'GET',
662
687
  headers: headerParameters,
@@ -729,7 +754,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
729
754
  let urlPath = `/corporations/{corporation_id}/contacts`;
730
755
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
731
756
 
732
- const response = await api.esi.proxy({
757
+ const facade = this.configuration?.apiFacade;
758
+ if (!facade) {
759
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
760
+ }
761
+
762
+ const response = await facade.esi.proxy({
733
763
  path: urlPath,
734
764
  method: 'GET',
735
765
  headers: headerParameters,
@@ -798,7 +828,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
798
828
  let urlPath = `/corporations/{corporation_id}/contacts/labels`;
799
829
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
800
830
 
801
- const response = await api.esi.proxy({
831
+ const facade = this.configuration?.apiFacade;
832
+ if (!facade) {
833
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
834
+ }
835
+
836
+ const response = await facade.esi.proxy({
802
837
  path: urlPath,
803
838
  method: 'GET',
804
839
  headers: headerParameters,
@@ -895,7 +930,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
895
930
  let urlPath = `/characters/{character_id}/contacts`;
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,
@@ -993,7 +1033,12 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
993
1033
  let urlPath = `/characters/{character_id}/contacts`;
994
1034
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
995
1035
 
996
- const response = await api.esi.proxy({
1036
+ const facade = this.configuration?.apiFacade;
1037
+ if (!facade) {
1038
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1039
+ }
1040
+
1041
+ const response = await facade.esi.proxy({
997
1042
  path: urlPath,
998
1043
  method: 'PUT',
999
1044
  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
  CharactersCharacterIdContractsContractIdBidsGetInner,
20
20
  CharactersCharacterIdContractsContractIdItemsGetInner,
@@ -365,7 +365,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
365
365
  let urlPath = `/characters/{character_id}/contracts`;
366
366
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
367
367
 
368
- const response = await api.esi.proxy({
368
+ const facade = this.configuration?.apiFacade;
369
+ if (!facade) {
370
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
371
+ }
372
+
373
+ const response = await facade.esi.proxy({
369
374
  path: urlPath,
370
375
  method: 'GET',
371
376
  headers: headerParameters,
@@ -442,7 +447,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
442
447
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
443
448
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
444
449
 
445
- const response = await api.esi.proxy({
450
+ const facade = this.configuration?.apiFacade;
451
+ if (!facade) {
452
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
453
+ }
454
+
455
+ const response = await facade.esi.proxy({
446
456
  path: urlPath,
447
457
  method: 'GET',
448
458
  headers: headerParameters,
@@ -519,7 +529,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
519
529
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
520
530
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
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,
@@ -587,7 +602,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
587
602
  let urlPath = `/contracts/public/bids/{contract_id}`;
588
603
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
589
604
 
590
- const response = await api.esi.proxy({
605
+ const facade = this.configuration?.apiFacade;
606
+ if (!facade) {
607
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
608
+ }
609
+
610
+ const response = await facade.esi.proxy({
591
611
  path: urlPath,
592
612
  method: 'GET',
593
613
  headers: headerParameters,
@@ -655,7 +675,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
655
675
  let urlPath = `/contracts/public/items/{contract_id}`;
656
676
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
657
677
 
658
- const response = await api.esi.proxy({
678
+ const facade = this.configuration?.apiFacade;
679
+ if (!facade) {
680
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
681
+ }
682
+
683
+ const response = await facade.esi.proxy({
659
684
  path: urlPath,
660
685
  method: 'GET',
661
686
  headers: headerParameters,
@@ -723,7 +748,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
723
748
  let urlPath = `/contracts/public/{region_id}`;
724
749
  urlPath = urlPath.replace(`{${"region_id"}}`, encodeURIComponent(String(requestParameters['regionId'])));
725
750
 
726
- const response = await api.esi.proxy({
751
+ const facade = this.configuration?.apiFacade;
752
+ if (!facade) {
753
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
754
+ }
755
+
756
+ const response = await facade.esi.proxy({
727
757
  path: urlPath,
728
758
  method: 'GET',
729
759
  headers: headerParameters,
@@ -796,7 +826,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
796
826
  let urlPath = `/corporations/{corporation_id}/contracts`;
797
827
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
798
828
 
799
- const response = await api.esi.proxy({
829
+ const facade = this.configuration?.apiFacade;
830
+ if (!facade) {
831
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
832
+ }
833
+
834
+ const response = await facade.esi.proxy({
800
835
  path: urlPath,
801
836
  method: 'GET',
802
837
  headers: headerParameters,
@@ -877,7 +912,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
877
912
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
878
913
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
879
914
 
880
- const response = await api.esi.proxy({
915
+ const facade = this.configuration?.apiFacade;
916
+ if (!facade) {
917
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
918
+ }
919
+
920
+ const response = await facade.esi.proxy({
881
921
  path: urlPath,
882
922
  method: 'GET',
883
923
  headers: headerParameters,
@@ -954,7 +994,12 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
954
994
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
955
995
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
956
996
 
957
- const response = await api.esi.proxy({
997
+ const facade = this.configuration?.apiFacade;
998
+ if (!facade) {
999
+ throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
1000
+ }
1001
+
1002
+ const response = await facade.esi.proxy({
958
1003
  path: urlPath,
959
1004
  method: 'GET',
960
1005
  headers: headerParameters,