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.
- package/README.md +2 -2
- package/dist/apis/AllianceApi.js +40 -21
- package/dist/apis/AssetsApi.js +60 -31
- package/dist/apis/CalendarApi.js +40 -21
- package/dist/apis/CharacterApi.js +140 -71
- package/dist/apis/ClonesApi.js +20 -11
- package/dist/apis/ContactsApi.js +90 -46
- package/dist/apis/ContractsApi.js +90 -46
- package/dist/apis/CorporationApi.js +220 -111
- package/dist/apis/DogmaApi.js +50 -26
- package/dist/apis/FactionWarfareApi.js +80 -41
- package/dist/apis/FittingsApi.js +30 -16
- package/dist/apis/FleetsApi.js +140 -71
- package/dist/apis/IncursionsApi.js +10 -6
- package/dist/apis/IndustryApi.js +80 -41
- package/dist/apis/InsuranceApi.js +10 -6
- package/dist/apis/KillmailsApi.js +30 -16
- package/dist/apis/LocationApi.js +30 -16
- package/dist/apis/LoyaltyApi.js +20 -11
- package/dist/apis/MailApi.js +90 -46
- package/dist/apis/MarketApi.js +110 -56
- package/dist/apis/MetaApi.js +20 -11
- package/dist/apis/PlanetaryInteractionApi.js +40 -21
- package/dist/apis/RoutesApi.js +10 -6
- package/dist/apis/SearchApi.js +10 -6
- package/dist/apis/SkillsApi.js +30 -16
- package/dist/apis/SovereigntyApi.js +30 -16
- package/dist/apis/StatusApi.js +10 -6
- package/dist/apis/UniverseApi.js +300 -151
- package/dist/apis/UserInterfaceApi.js +50 -26
- package/dist/apis/WalletApi.js +60 -31
- package/dist/apis/WarsApi.js +30 -16
- package/dist/runtime.d.ts +2 -0
- package/dist/runtime.js +7 -0
- package/esisl_genoa_client-0.1.1.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +25 -5
- package/src/apis/AssetsApi.ts +37 -7
- package/src/apis/CalendarApi.ts +25 -5
- package/src/apis/CharacterApi.ts +85 -15
- package/src/apis/ClonesApi.ts +13 -3
- package/src/apis/ContactsApi.ts +55 -10
- package/src/apis/ContractsApi.ts +55 -10
- package/src/apis/CorporationApi.ts +133 -23
- package/src/apis/DogmaApi.ts +31 -6
- package/src/apis/FactionWarfareApi.ts +49 -9
- package/src/apis/FittingsApi.ts +19 -4
- package/src/apis/FleetsApi.ts +85 -15
- package/src/apis/IncursionsApi.ts +7 -2
- package/src/apis/IndustryApi.ts +49 -9
- package/src/apis/InsuranceApi.ts +7 -2
- package/src/apis/KillmailsApi.ts +19 -4
- package/src/apis/LocationApi.ts +19 -4
- package/src/apis/LoyaltyApi.ts +13 -3
- package/src/apis/MailApi.ts +55 -10
- package/src/apis/MarketApi.ts +67 -12
- package/src/apis/MetaApi.ts +13 -3
- package/src/apis/PlanetaryInteractionApi.ts +25 -5
- package/src/apis/RoutesApi.ts +7 -2
- package/src/apis/SearchApi.ts +7 -2
- package/src/apis/SkillsApi.ts +19 -4
- package/src/apis/SovereigntyApi.ts +19 -4
- package/src/apis/StatusApi.ts +7 -2
- package/src/apis/UniverseApi.ts +181 -31
- package/src/apis/UserInterfaceApi.ts +31 -6
- package/src/apis/WalletApi.ts +37 -7
- package/src/apis/WarsApi.ts +19 -4
- package/src/runtime.ts +5 -0
package/src/apis/UniverseApi.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
import type {
|
|
19
19
|
UniverseAncestriesGetInner,
|
|
20
20
|
UniverseAsteroidBeltsAsteroidBeltIdGet,
|
|
@@ -909,7 +909,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
909
909
|
|
|
910
910
|
let urlPath = `/universe/ancestries`;
|
|
911
911
|
|
|
912
|
-
const
|
|
912
|
+
const facade = this.configuration?.apiFacade;
|
|
913
|
+
if (!facade) {
|
|
914
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
const response = await facade.esi.proxy({
|
|
913
918
|
path: urlPath,
|
|
914
919
|
method: 'GET',
|
|
915
920
|
headers: headerParameters,
|
|
@@ -973,7 +978,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
973
978
|
let urlPath = `/universe/asteroid_belts/{asteroid_belt_id}`;
|
|
974
979
|
urlPath = urlPath.replace(`{${"asteroid_belt_id"}}`, encodeURIComponent(String(requestParameters['asteroidBeltId'])));
|
|
975
980
|
|
|
976
|
-
const
|
|
981
|
+
const facade = this.configuration?.apiFacade;
|
|
982
|
+
if (!facade) {
|
|
983
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
const response = await facade.esi.proxy({
|
|
977
987
|
path: urlPath,
|
|
978
988
|
method: 'GET',
|
|
979
989
|
headers: headerParameters,
|
|
@@ -1029,7 +1039,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1029
1039
|
|
|
1030
1040
|
let urlPath = `/universe/bloodlines`;
|
|
1031
1041
|
|
|
1032
|
-
const
|
|
1042
|
+
const facade = this.configuration?.apiFacade;
|
|
1043
|
+
if (!facade) {
|
|
1044
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
const response = await facade.esi.proxy({
|
|
1033
1048
|
path: urlPath,
|
|
1034
1049
|
method: 'GET',
|
|
1035
1050
|
headers: headerParameters,
|
|
@@ -1085,7 +1100,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1085
1100
|
|
|
1086
1101
|
let urlPath = `/universe/categories`;
|
|
1087
1102
|
|
|
1088
|
-
const
|
|
1103
|
+
const facade = this.configuration?.apiFacade;
|
|
1104
|
+
if (!facade) {
|
|
1105
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
const response = await facade.esi.proxy({
|
|
1089
1109
|
path: urlPath,
|
|
1090
1110
|
method: 'GET',
|
|
1091
1111
|
headers: headerParameters,
|
|
@@ -1149,7 +1169,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1149
1169
|
let urlPath = `/universe/categories/{category_id}`;
|
|
1150
1170
|
urlPath = urlPath.replace(`{${"category_id"}}`, encodeURIComponent(String(requestParameters['categoryId'])));
|
|
1151
1171
|
|
|
1152
|
-
const
|
|
1172
|
+
const facade = this.configuration?.apiFacade;
|
|
1173
|
+
if (!facade) {
|
|
1174
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
const response = await facade.esi.proxy({
|
|
1153
1178
|
path: urlPath,
|
|
1154
1179
|
method: 'GET',
|
|
1155
1180
|
headers: headerParameters,
|
|
@@ -1205,7 +1230,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1205
1230
|
|
|
1206
1231
|
let urlPath = `/universe/constellations`;
|
|
1207
1232
|
|
|
1208
|
-
const
|
|
1233
|
+
const facade = this.configuration?.apiFacade;
|
|
1234
|
+
if (!facade) {
|
|
1235
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
const response = await facade.esi.proxy({
|
|
1209
1239
|
path: urlPath,
|
|
1210
1240
|
method: 'GET',
|
|
1211
1241
|
headers: headerParameters,
|
|
@@ -1269,7 +1299,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1269
1299
|
let urlPath = `/universe/constellations/{constellation_id}`;
|
|
1270
1300
|
urlPath = urlPath.replace(`{${"constellation_id"}}`, encodeURIComponent(String(requestParameters['constellationId'])));
|
|
1271
1301
|
|
|
1272
|
-
const
|
|
1302
|
+
const facade = this.configuration?.apiFacade;
|
|
1303
|
+
if (!facade) {
|
|
1304
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
const response = await facade.esi.proxy({
|
|
1273
1308
|
path: urlPath,
|
|
1274
1309
|
method: 'GET',
|
|
1275
1310
|
headers: headerParameters,
|
|
@@ -1325,7 +1360,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1325
1360
|
|
|
1326
1361
|
let urlPath = `/universe/factions`;
|
|
1327
1362
|
|
|
1328
|
-
const
|
|
1363
|
+
const facade = this.configuration?.apiFacade;
|
|
1364
|
+
if (!facade) {
|
|
1365
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
const response = await facade.esi.proxy({
|
|
1329
1369
|
path: urlPath,
|
|
1330
1370
|
method: 'GET',
|
|
1331
1371
|
headers: headerParameters,
|
|
@@ -1381,7 +1421,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1381
1421
|
|
|
1382
1422
|
let urlPath = `/universe/graphics`;
|
|
1383
1423
|
|
|
1384
|
-
const
|
|
1424
|
+
const facade = this.configuration?.apiFacade;
|
|
1425
|
+
if (!facade) {
|
|
1426
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
const response = await facade.esi.proxy({
|
|
1385
1430
|
path: urlPath,
|
|
1386
1431
|
method: 'GET',
|
|
1387
1432
|
headers: headerParameters,
|
|
@@ -1445,7 +1490,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1445
1490
|
let urlPath = `/universe/graphics/{graphic_id}`;
|
|
1446
1491
|
urlPath = urlPath.replace(`{${"graphic_id"}}`, encodeURIComponent(String(requestParameters['graphicId'])));
|
|
1447
1492
|
|
|
1448
|
-
const
|
|
1493
|
+
const facade = this.configuration?.apiFacade;
|
|
1494
|
+
if (!facade) {
|
|
1495
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
const response = await facade.esi.proxy({
|
|
1449
1499
|
path: urlPath,
|
|
1450
1500
|
method: 'GET',
|
|
1451
1501
|
headers: headerParameters,
|
|
@@ -1505,7 +1555,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1505
1555
|
|
|
1506
1556
|
let urlPath = `/universe/groups`;
|
|
1507
1557
|
|
|
1508
|
-
const
|
|
1558
|
+
const facade = this.configuration?.apiFacade;
|
|
1559
|
+
if (!facade) {
|
|
1560
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
const response = await facade.esi.proxy({
|
|
1509
1564
|
path: urlPath,
|
|
1510
1565
|
method: 'GET',
|
|
1511
1566
|
headers: headerParameters,
|
|
@@ -1569,7 +1624,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1569
1624
|
let urlPath = `/universe/groups/{group_id}`;
|
|
1570
1625
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
1571
1626
|
|
|
1572
|
-
const
|
|
1627
|
+
const facade = this.configuration?.apiFacade;
|
|
1628
|
+
if (!facade) {
|
|
1629
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
const response = await facade.esi.proxy({
|
|
1573
1633
|
path: urlPath,
|
|
1574
1634
|
method: 'GET',
|
|
1575
1635
|
headers: headerParameters,
|
|
@@ -1633,7 +1693,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1633
1693
|
let urlPath = `/universe/moons/{moon_id}`;
|
|
1634
1694
|
urlPath = urlPath.replace(`{${"moon_id"}}`, encodeURIComponent(String(requestParameters['moonId'])));
|
|
1635
1695
|
|
|
1636
|
-
const
|
|
1696
|
+
const facade = this.configuration?.apiFacade;
|
|
1697
|
+
if (!facade) {
|
|
1698
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
const response = await facade.esi.proxy({
|
|
1637
1702
|
path: urlPath,
|
|
1638
1703
|
method: 'GET',
|
|
1639
1704
|
headers: headerParameters,
|
|
@@ -1697,7 +1762,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1697
1762
|
let urlPath = `/universe/planets/{planet_id}`;
|
|
1698
1763
|
urlPath = urlPath.replace(`{${"planet_id"}}`, encodeURIComponent(String(requestParameters['planetId'])));
|
|
1699
1764
|
|
|
1700
|
-
const
|
|
1765
|
+
const facade = this.configuration?.apiFacade;
|
|
1766
|
+
if (!facade) {
|
|
1767
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
const response = await facade.esi.proxy({
|
|
1701
1771
|
path: urlPath,
|
|
1702
1772
|
method: 'GET',
|
|
1703
1773
|
headers: headerParameters,
|
|
@@ -1753,7 +1823,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1753
1823
|
|
|
1754
1824
|
let urlPath = `/universe/races`;
|
|
1755
1825
|
|
|
1756
|
-
const
|
|
1826
|
+
const facade = this.configuration?.apiFacade;
|
|
1827
|
+
if (!facade) {
|
|
1828
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
const response = await facade.esi.proxy({
|
|
1757
1832
|
path: urlPath,
|
|
1758
1833
|
method: 'GET',
|
|
1759
1834
|
headers: headerParameters,
|
|
@@ -1809,7 +1884,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1809
1884
|
|
|
1810
1885
|
let urlPath = `/universe/regions`;
|
|
1811
1886
|
|
|
1812
|
-
const
|
|
1887
|
+
const facade = this.configuration?.apiFacade;
|
|
1888
|
+
if (!facade) {
|
|
1889
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
const response = await facade.esi.proxy({
|
|
1813
1893
|
path: urlPath,
|
|
1814
1894
|
method: 'GET',
|
|
1815
1895
|
headers: headerParameters,
|
|
@@ -1873,7 +1953,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1873
1953
|
let urlPath = `/universe/regions/{region_id}`;
|
|
1874
1954
|
urlPath = urlPath.replace(`{${"region_id"}}`, encodeURIComponent(String(requestParameters['regionId'])));
|
|
1875
1955
|
|
|
1876
|
-
const
|
|
1956
|
+
const facade = this.configuration?.apiFacade;
|
|
1957
|
+
if (!facade) {
|
|
1958
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
const response = await facade.esi.proxy({
|
|
1877
1962
|
path: urlPath,
|
|
1878
1963
|
method: 'GET',
|
|
1879
1964
|
headers: headerParameters,
|
|
@@ -1937,7 +2022,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
1937
2022
|
let urlPath = `/universe/stargates/{stargate_id}`;
|
|
1938
2023
|
urlPath = urlPath.replace(`{${"stargate_id"}}`, encodeURIComponent(String(requestParameters['stargateId'])));
|
|
1939
2024
|
|
|
1940
|
-
const
|
|
2025
|
+
const facade = this.configuration?.apiFacade;
|
|
2026
|
+
if (!facade) {
|
|
2027
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
const response = await facade.esi.proxy({
|
|
1941
2031
|
path: urlPath,
|
|
1942
2032
|
method: 'GET',
|
|
1943
2033
|
headers: headerParameters,
|
|
@@ -2001,7 +2091,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2001
2091
|
let urlPath = `/universe/stars/{star_id}`;
|
|
2002
2092
|
urlPath = urlPath.replace(`{${"star_id"}}`, encodeURIComponent(String(requestParameters['starId'])));
|
|
2003
2093
|
|
|
2004
|
-
const
|
|
2094
|
+
const facade = this.configuration?.apiFacade;
|
|
2095
|
+
if (!facade) {
|
|
2096
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
const response = await facade.esi.proxy({
|
|
2005
2100
|
path: urlPath,
|
|
2006
2101
|
method: 'GET',
|
|
2007
2102
|
headers: headerParameters,
|
|
@@ -2065,7 +2160,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2065
2160
|
let urlPath = `/universe/stations/{station_id}`;
|
|
2066
2161
|
urlPath = urlPath.replace(`{${"station_id"}}`, encodeURIComponent(String(requestParameters['stationId'])));
|
|
2067
2162
|
|
|
2068
|
-
const
|
|
2163
|
+
const facade = this.configuration?.apiFacade;
|
|
2164
|
+
if (!facade) {
|
|
2165
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
const response = await facade.esi.proxy({
|
|
2069
2169
|
path: urlPath,
|
|
2070
2170
|
method: 'GET',
|
|
2071
2171
|
headers: headerParameters,
|
|
@@ -2125,7 +2225,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2125
2225
|
|
|
2126
2226
|
let urlPath = `/universe/structures`;
|
|
2127
2227
|
|
|
2128
|
-
const
|
|
2228
|
+
const facade = this.configuration?.apiFacade;
|
|
2229
|
+
if (!facade) {
|
|
2230
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
const response = await facade.esi.proxy({
|
|
2129
2234
|
path: urlPath,
|
|
2130
2235
|
method: 'GET',
|
|
2131
2236
|
headers: headerParameters,
|
|
@@ -2194,7 +2299,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2194
2299
|
let urlPath = `/universe/structures/{structure_id}`;
|
|
2195
2300
|
urlPath = urlPath.replace(`{${"structure_id"}}`, encodeURIComponent(String(requestParameters['structureId'])));
|
|
2196
2301
|
|
|
2197
|
-
const
|
|
2302
|
+
const facade = this.configuration?.apiFacade;
|
|
2303
|
+
if (!facade) {
|
|
2304
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
const response = await facade.esi.proxy({
|
|
2198
2308
|
path: urlPath,
|
|
2199
2309
|
method: 'GET',
|
|
2200
2310
|
headers: headerParameters,
|
|
@@ -2250,7 +2360,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2250
2360
|
|
|
2251
2361
|
let urlPath = `/universe/system_jumps`;
|
|
2252
2362
|
|
|
2253
|
-
const
|
|
2363
|
+
const facade = this.configuration?.apiFacade;
|
|
2364
|
+
if (!facade) {
|
|
2365
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
const response = await facade.esi.proxy({
|
|
2254
2369
|
path: urlPath,
|
|
2255
2370
|
method: 'GET',
|
|
2256
2371
|
headers: headerParameters,
|
|
@@ -2306,7 +2421,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2306
2421
|
|
|
2307
2422
|
let urlPath = `/universe/system_kills`;
|
|
2308
2423
|
|
|
2309
|
-
const
|
|
2424
|
+
const facade = this.configuration?.apiFacade;
|
|
2425
|
+
if (!facade) {
|
|
2426
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
const response = await facade.esi.proxy({
|
|
2310
2430
|
path: urlPath,
|
|
2311
2431
|
method: 'GET',
|
|
2312
2432
|
headers: headerParameters,
|
|
@@ -2362,7 +2482,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2362
2482
|
|
|
2363
2483
|
let urlPath = `/universe/systems`;
|
|
2364
2484
|
|
|
2365
|
-
const
|
|
2485
|
+
const facade = this.configuration?.apiFacade;
|
|
2486
|
+
if (!facade) {
|
|
2487
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
const response = await facade.esi.proxy({
|
|
2366
2491
|
path: urlPath,
|
|
2367
2492
|
method: 'GET',
|
|
2368
2493
|
headers: headerParameters,
|
|
@@ -2426,7 +2551,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2426
2551
|
let urlPath = `/universe/systems/{system_id}`;
|
|
2427
2552
|
urlPath = urlPath.replace(`{${"system_id"}}`, encodeURIComponent(String(requestParameters['systemId'])));
|
|
2428
2553
|
|
|
2429
|
-
const
|
|
2554
|
+
const facade = this.configuration?.apiFacade;
|
|
2555
|
+
if (!facade) {
|
|
2556
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
const response = await facade.esi.proxy({
|
|
2430
2560
|
path: urlPath,
|
|
2431
2561
|
method: 'GET',
|
|
2432
2562
|
headers: headerParameters,
|
|
@@ -2486,7 +2616,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2486
2616
|
|
|
2487
2617
|
let urlPath = `/universe/types`;
|
|
2488
2618
|
|
|
2489
|
-
const
|
|
2619
|
+
const facade = this.configuration?.apiFacade;
|
|
2620
|
+
if (!facade) {
|
|
2621
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
const response = await facade.esi.proxy({
|
|
2490
2625
|
path: urlPath,
|
|
2491
2626
|
method: 'GET',
|
|
2492
2627
|
headers: headerParameters,
|
|
@@ -2550,7 +2685,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2550
2685
|
let urlPath = `/universe/types/{type_id}`;
|
|
2551
2686
|
urlPath = urlPath.replace(`{${"type_id"}}`, encodeURIComponent(String(requestParameters['typeId'])));
|
|
2552
2687
|
|
|
2553
|
-
const
|
|
2688
|
+
const facade = this.configuration?.apiFacade;
|
|
2689
|
+
if (!facade) {
|
|
2690
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
const response = await facade.esi.proxy({
|
|
2554
2694
|
path: urlPath,
|
|
2555
2695
|
method: 'GET',
|
|
2556
2696
|
headers: headerParameters,
|
|
@@ -2615,7 +2755,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2615
2755
|
|
|
2616
2756
|
let urlPath = `/universe/ids`;
|
|
2617
2757
|
|
|
2618
|
-
const
|
|
2758
|
+
const facade = this.configuration?.apiFacade;
|
|
2759
|
+
if (!facade) {
|
|
2760
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
const response = await facade.esi.proxy({
|
|
2619
2764
|
path: urlPath,
|
|
2620
2765
|
method: 'POST',
|
|
2621
2766
|
headers: headerParameters,
|
|
@@ -2681,7 +2826,12 @@ export class UniverseApi extends runtime.BaseAPI implements UniverseApiInterface
|
|
|
2681
2826
|
|
|
2682
2827
|
let urlPath = `/universe/names`;
|
|
2683
2828
|
|
|
2684
|
-
const
|
|
2829
|
+
const facade = this.configuration?.apiFacade;
|
|
2830
|
+
if (!facade) {
|
|
2831
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
const response = await facade.esi.proxy({
|
|
2685
2835
|
path: urlPath,
|
|
2686
2836
|
method: 'POST',
|
|
2687
2837
|
headers: headerParameters,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
import type {
|
|
19
19
|
PostUiOpenwindowNewmailRequest,
|
|
20
20
|
} from '../models/index';
|
|
@@ -252,7 +252,12 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
|
|
|
252
252
|
|
|
253
253
|
let urlPath = `/ui/autopilot/waypoint`;
|
|
254
254
|
|
|
255
|
-
const
|
|
255
|
+
const facade = this.configuration?.apiFacade;
|
|
256
|
+
if (!facade) {
|
|
257
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const response = await facade.esi.proxy({
|
|
256
261
|
path: urlPath,
|
|
257
262
|
method: 'POST',
|
|
258
263
|
headers: headerParameters,
|
|
@@ -323,7 +328,12 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
|
|
|
323
328
|
|
|
324
329
|
let urlPath = `/ui/openwindow/contract`;
|
|
325
330
|
|
|
326
|
-
const
|
|
331
|
+
const facade = this.configuration?.apiFacade;
|
|
332
|
+
if (!facade) {
|
|
333
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
const response = await facade.esi.proxy({
|
|
327
337
|
path: urlPath,
|
|
328
338
|
method: 'POST',
|
|
329
339
|
headers: headerParameters,
|
|
@@ -394,7 +404,12 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
|
|
|
394
404
|
|
|
395
405
|
let urlPath = `/ui/openwindow/information`;
|
|
396
406
|
|
|
397
|
-
const
|
|
407
|
+
const facade = this.configuration?.apiFacade;
|
|
408
|
+
if (!facade) {
|
|
409
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
const response = await facade.esi.proxy({
|
|
398
413
|
path: urlPath,
|
|
399
414
|
method: 'POST',
|
|
400
415
|
headers: headerParameters,
|
|
@@ -465,7 +480,12 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
|
|
|
465
480
|
|
|
466
481
|
let urlPath = `/ui/openwindow/marketdetails`;
|
|
467
482
|
|
|
468
|
-
const
|
|
483
|
+
const facade = this.configuration?.apiFacade;
|
|
484
|
+
if (!facade) {
|
|
485
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
const response = await facade.esi.proxy({
|
|
469
489
|
path: urlPath,
|
|
470
490
|
method: 'POST',
|
|
471
491
|
headers: headerParameters,
|
|
@@ -534,7 +554,12 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
|
|
|
534
554
|
|
|
535
555
|
let urlPath = `/ui/openwindow/newmail`;
|
|
536
556
|
|
|
537
|
-
const
|
|
557
|
+
const facade = this.configuration?.apiFacade;
|
|
558
|
+
if (!facade) {
|
|
559
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
const response = await facade.esi.proxy({
|
|
538
563
|
path: urlPath,
|
|
539
564
|
method: 'POST',
|
|
540
565
|
headers: headerParameters,
|
package/src/apis/WalletApi.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
import type {
|
|
19
19
|
CharactersCharacterIdWalletJournalGetInner,
|
|
20
20
|
CharactersCharacterIdWalletTransactionsGetInner,
|
|
@@ -267,7 +267,12 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
|
|
|
267
267
|
let urlPath = `/characters/{character_id}/wallet`;
|
|
268
268
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
269
269
|
|
|
270
|
-
const
|
|
270
|
+
const facade = this.configuration?.apiFacade;
|
|
271
|
+
if (!facade) {
|
|
272
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
const response = await facade.esi.proxy({
|
|
271
276
|
path: urlPath,
|
|
272
277
|
method: 'GET',
|
|
273
278
|
headers: headerParameters,
|
|
@@ -344,7 +349,12 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
|
|
|
344
349
|
let urlPath = `/characters/{character_id}/wallet/journal`;
|
|
345
350
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
346
351
|
|
|
347
|
-
const
|
|
352
|
+
const facade = this.configuration?.apiFacade;
|
|
353
|
+
if (!facade) {
|
|
354
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
const response = await facade.esi.proxy({
|
|
348
358
|
path: urlPath,
|
|
349
359
|
method: 'GET',
|
|
350
360
|
headers: headerParameters,
|
|
@@ -417,7 +427,12 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
|
|
|
417
427
|
let urlPath = `/characters/{character_id}/wallet/transactions`;
|
|
418
428
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
419
429
|
|
|
420
|
-
const
|
|
430
|
+
const facade = this.configuration?.apiFacade;
|
|
431
|
+
if (!facade) {
|
|
432
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
const response = await facade.esi.proxy({
|
|
421
436
|
path: urlPath,
|
|
422
437
|
method: 'GET',
|
|
423
438
|
headers: headerParameters,
|
|
@@ -486,7 +501,12 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
|
|
|
486
501
|
let urlPath = `/corporations/{corporation_id}/wallets`;
|
|
487
502
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
488
503
|
|
|
489
|
-
const
|
|
504
|
+
const facade = this.configuration?.apiFacade;
|
|
505
|
+
if (!facade) {
|
|
506
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
const response = await facade.esi.proxy({
|
|
490
510
|
path: urlPath,
|
|
491
511
|
method: 'GET',
|
|
492
512
|
headers: headerParameters,
|
|
@@ -567,7 +587,12 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
|
|
|
567
587
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
568
588
|
urlPath = urlPath.replace(`{${"division"}}`, encodeURIComponent(String(requestParameters['division'])));
|
|
569
589
|
|
|
570
|
-
const
|
|
590
|
+
const facade = this.configuration?.apiFacade;
|
|
591
|
+
if (!facade) {
|
|
592
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
const response = await facade.esi.proxy({
|
|
571
596
|
path: urlPath,
|
|
572
597
|
method: 'GET',
|
|
573
598
|
headers: headerParameters,
|
|
@@ -648,7 +673,12 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
|
|
|
648
673
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
649
674
|
urlPath = urlPath.replace(`{${"division"}}`, encodeURIComponent(String(requestParameters['division'])));
|
|
650
675
|
|
|
651
|
-
const
|
|
676
|
+
const facade = this.configuration?.apiFacade;
|
|
677
|
+
if (!facade) {
|
|
678
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
const response = await facade.esi.proxy({
|
|
652
682
|
path: urlPath,
|
|
653
683
|
method: 'GET',
|
|
654
684
|
headers: headerParameters,
|
package/src/apis/WarsApi.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
import type {
|
|
19
19
|
CharactersCharacterIdKillmailsRecentGetInner,
|
|
20
20
|
WarsWarIdGet,
|
|
@@ -161,7 +161,12 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
161
161
|
|
|
162
162
|
let urlPath = `/wars`;
|
|
163
163
|
|
|
164
|
-
const
|
|
164
|
+
const facade = this.configuration?.apiFacade;
|
|
165
|
+
if (!facade) {
|
|
166
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const response = await facade.esi.proxy({
|
|
165
170
|
path: urlPath,
|
|
166
171
|
method: 'GET',
|
|
167
172
|
headers: headerParameters,
|
|
@@ -225,7 +230,12 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
225
230
|
let urlPath = `/wars/{war_id}`;
|
|
226
231
|
urlPath = urlPath.replace(`{${"war_id"}}`, encodeURIComponent(String(requestParameters['warId'])));
|
|
227
232
|
|
|
228
|
-
const
|
|
233
|
+
const facade = this.configuration?.apiFacade;
|
|
234
|
+
if (!facade) {
|
|
235
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
const response = await facade.esi.proxy({
|
|
229
239
|
path: urlPath,
|
|
230
240
|
method: 'GET',
|
|
231
241
|
headers: headerParameters,
|
|
@@ -293,7 +303,12 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
|
|
|
293
303
|
let urlPath = `/wars/{war_id}/killmails`;
|
|
294
304
|
urlPath = urlPath.replace(`{${"war_id"}}`, encodeURIComponent(String(requestParameters['warId'])));
|
|
295
305
|
|
|
296
|
-
const
|
|
306
|
+
const facade = this.configuration?.apiFacade;
|
|
307
|
+
if (!facade) {
|
|
308
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
const response = await facade.esi.proxy({
|
|
297
312
|
path: urlPath,
|
|
298
313
|
method: 'GET',
|
|
299
314
|
headers: headerParameters,
|
package/src/runtime.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface ConfigurationParameters {
|
|
|
26
26
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>); // parameter for oauth2 security
|
|
27
27
|
headers?: HTTPHeaders; //header params we want to use on every request
|
|
28
28
|
credentials?: RequestCredentials; //value for the credentials param we want to use on each request
|
|
29
|
+
apiFacade?: any; // external facade that provides `.esi.proxy(...)`
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export class Configuration {
|
|
@@ -82,6 +83,10 @@ export class Configuration {
|
|
|
82
83
|
get credentials(): RequestCredentials | undefined {
|
|
83
84
|
return this.configuration.credentials;
|
|
84
85
|
}
|
|
86
|
+
|
|
87
|
+
get apiFacade(): any | undefined {
|
|
88
|
+
return this.configuration.apiFacade;
|
|
89
|
+
}
|
|
85
90
|
}
|
|
86
91
|
|
|
87
92
|
export const DefaultConfig = new Configuration();
|