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/dist/apis/RoutesApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetRouteOriginDestinationAcceptLanguageEnum = exports.GetRouteOriginDestinationFlagEnum = exports.GetRouteOriginDestinationXCompatibilityDateEnum = exports.RoutesApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var RoutesApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
RoutesApi.prototype.getRouteOriginDestinationRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['destination'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('destination', 'Required parameter "destination" was null or undefined when calling getRouteOriginDestination().');
|
|
@@ -120,14 +120,18 @@ var RoutesApi = /** @class */ (function (_super) {
|
|
|
120
120
|
urlPath = "/route/{origin}/{destination}";
|
|
121
121
|
urlPath = urlPath.replace("{".concat("destination", "}"), encodeURIComponent(String(requestParameters['destination'])));
|
|
122
122
|
urlPath = urlPath.replace("{".concat("origin", "}"), encodeURIComponent(String(requestParameters['origin'])));
|
|
123
|
-
|
|
123
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
124
|
+
if (!facade) {
|
|
125
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
126
|
+
}
|
|
127
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
124
128
|
path: urlPath,
|
|
125
129
|
method: 'GET',
|
|
126
130
|
headers: headerParameters,
|
|
127
131
|
query: queryParameters,
|
|
128
132
|
}, initOverrides)];
|
|
129
133
|
case 1:
|
|
130
|
-
response =
|
|
134
|
+
response = _b.sent();
|
|
131
135
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
132
136
|
}
|
|
133
137
|
});
|
package/dist/apis/SearchApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCharactersCharacterIdSearchAcceptLanguageEnum = exports.GetCharactersCharacterIdSearchXCompatibilityDateEnum = exports.GetCharactersCharacterIdSearchCategoriesEnum = exports.SearchApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
SearchApi.prototype.getCharactersCharacterIdSearchRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['categories'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('categories', 'Required parameter "categories" was null or undefined when calling getCharactersCharacterIdSearch().');
|
|
@@ -122,14 +122,18 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
122
122
|
}
|
|
123
123
|
urlPath = "/characters/{character_id}/search";
|
|
124
124
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
125
|
-
|
|
125
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
126
|
+
if (!facade) {
|
|
127
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
128
|
+
}
|
|
129
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
126
130
|
path: urlPath,
|
|
127
131
|
method: 'GET',
|
|
128
132
|
headers: headerParameters,
|
|
129
133
|
query: queryParameters,
|
|
130
134
|
}, initOverrides)];
|
|
131
135
|
case 1:
|
|
132
|
-
response =
|
|
136
|
+
response = _b.sent();
|
|
133
137
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
134
138
|
}
|
|
135
139
|
});
|
package/dist/apis/SkillsApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCharactersCharacterIdSkillsAcceptLanguageEnum = exports.GetCharactersCharacterIdSkillsXCompatibilityDateEnum = exports.GetCharactersCharacterIdSkillqueueAcceptLanguageEnum = exports.GetCharactersCharacterIdSkillqueueXCompatibilityDateEnum = exports.GetCharactersCharacterIdAttributesAcceptLanguageEnum = exports.GetCharactersCharacterIdAttributesXCompatibilityDateEnum = exports.SkillsApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
SkillsApi.prototype.getCharactersCharacterIdAttributesRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['characterId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdAttributes().');
|
|
@@ -107,14 +107,18 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
107
107
|
}
|
|
108
108
|
urlPath = "/characters/{character_id}/attributes";
|
|
109
109
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
110
|
-
|
|
110
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
111
|
+
if (!facade) {
|
|
112
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
113
|
+
}
|
|
114
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
111
115
|
path: urlPath,
|
|
112
116
|
method: 'GET',
|
|
113
117
|
headers: headerParameters,
|
|
114
118
|
query: queryParameters,
|
|
115
119
|
}, initOverrides)];
|
|
116
120
|
case 1:
|
|
117
|
-
response =
|
|
121
|
+
response = _b.sent();
|
|
118
122
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
119
123
|
}
|
|
120
124
|
});
|
|
@@ -144,9 +148,10 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
144
148
|
*/
|
|
145
149
|
SkillsApi.prototype.getCharactersCharacterIdSkillqueueRaw = function (requestParameters, initOverrides) {
|
|
146
150
|
return __awaiter(this, void 0, void 0, function () {
|
|
147
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
148
|
-
|
|
149
|
-
|
|
151
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
152
|
+
var _a;
|
|
153
|
+
return __generator(this, function (_b) {
|
|
154
|
+
switch (_b.label) {
|
|
150
155
|
case 0:
|
|
151
156
|
if (requestParameters['characterId'] == null) {
|
|
152
157
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdSkillqueue().');
|
|
@@ -170,14 +175,18 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
170
175
|
}
|
|
171
176
|
urlPath = "/characters/{character_id}/skillqueue";
|
|
172
177
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
173
|
-
|
|
178
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
179
|
+
if (!facade) {
|
|
180
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
181
|
+
}
|
|
182
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
174
183
|
path: urlPath,
|
|
175
184
|
method: 'GET',
|
|
176
185
|
headers: headerParameters,
|
|
177
186
|
query: queryParameters,
|
|
178
187
|
}, initOverrides)];
|
|
179
188
|
case 1:
|
|
180
|
-
response =
|
|
189
|
+
response = _b.sent();
|
|
181
190
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
182
191
|
}
|
|
183
192
|
});
|
|
@@ -207,9 +216,10 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
207
216
|
*/
|
|
208
217
|
SkillsApi.prototype.getCharactersCharacterIdSkillsRaw = function (requestParameters, initOverrides) {
|
|
209
218
|
return __awaiter(this, void 0, void 0, function () {
|
|
210
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
211
|
-
|
|
212
|
-
|
|
219
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
220
|
+
var _a;
|
|
221
|
+
return __generator(this, function (_b) {
|
|
222
|
+
switch (_b.label) {
|
|
213
223
|
case 0:
|
|
214
224
|
if (requestParameters['characterId'] == null) {
|
|
215
225
|
throw new runtime.RequiredError('characterId', 'Required parameter "characterId" was null or undefined when calling getCharactersCharacterIdSkills().');
|
|
@@ -233,14 +243,18 @@ var SkillsApi = /** @class */ (function (_super) {
|
|
|
233
243
|
}
|
|
234
244
|
urlPath = "/characters/{character_id}/skills";
|
|
235
245
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
236
|
-
|
|
246
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
247
|
+
if (!facade) {
|
|
248
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
249
|
+
}
|
|
250
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
237
251
|
path: urlPath,
|
|
238
252
|
method: 'GET',
|
|
239
253
|
headers: headerParameters,
|
|
240
254
|
query: queryParameters,
|
|
241
255
|
}, initOverrides)];
|
|
242
256
|
case 1:
|
|
243
|
-
response =
|
|
257
|
+
response = _b.sent();
|
|
244
258
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
245
259
|
}
|
|
246
260
|
});
|
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetSovereigntyStructuresAcceptLanguageEnum = exports.GetSovereigntyStructuresXCompatibilityDateEnum = exports.GetSovereigntyMapAcceptLanguageEnum = exports.GetSovereigntyMapXCompatibilityDateEnum = exports.GetSovereigntyCampaignsAcceptLanguageEnum = exports.GetSovereigntyCampaignsXCompatibilityDateEnum = exports.SovereigntyApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var SovereigntyApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
SovereigntyApi.prototype.getSovereigntyCampaignsRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getSovereigntyCampaigns().');
|
|
@@ -103,14 +103,18 @@ var SovereigntyApi = /** @class */ (function (_super) {
|
|
|
103
103
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
104
104
|
}
|
|
105
105
|
urlPath = "/sovereignty/campaigns";
|
|
106
|
-
|
|
106
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
107
|
+
if (!facade) {
|
|
108
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
109
|
+
}
|
|
110
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
107
111
|
path: urlPath,
|
|
108
112
|
method: 'GET',
|
|
109
113
|
headers: headerParameters,
|
|
110
114
|
query: queryParameters,
|
|
111
115
|
}, initOverrides)];
|
|
112
116
|
case 1:
|
|
113
|
-
response =
|
|
117
|
+
response = _b.sent();
|
|
114
118
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
115
119
|
}
|
|
116
120
|
});
|
|
@@ -140,9 +144,10 @@ var SovereigntyApi = /** @class */ (function (_super) {
|
|
|
140
144
|
*/
|
|
141
145
|
SovereigntyApi.prototype.getSovereigntyMapRaw = function (requestParameters, initOverrides) {
|
|
142
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
143
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
148
|
+
var _a;
|
|
149
|
+
return __generator(this, function (_b) {
|
|
150
|
+
switch (_b.label) {
|
|
146
151
|
case 0:
|
|
147
152
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
148
153
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getSovereigntyMap().');
|
|
@@ -162,14 +167,18 @@ var SovereigntyApi = /** @class */ (function (_super) {
|
|
|
162
167
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
163
168
|
}
|
|
164
169
|
urlPath = "/sovereignty/map";
|
|
165
|
-
|
|
170
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
171
|
+
if (!facade) {
|
|
172
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
173
|
+
}
|
|
174
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
166
175
|
path: urlPath,
|
|
167
176
|
method: 'GET',
|
|
168
177
|
headers: headerParameters,
|
|
169
178
|
query: queryParameters,
|
|
170
179
|
}, initOverrides)];
|
|
171
180
|
case 1:
|
|
172
|
-
response =
|
|
181
|
+
response = _b.sent();
|
|
173
182
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
174
183
|
}
|
|
175
184
|
});
|
|
@@ -199,9 +208,10 @@ var SovereigntyApi = /** @class */ (function (_super) {
|
|
|
199
208
|
*/
|
|
200
209
|
SovereigntyApi.prototype.getSovereigntyStructuresRaw = function (requestParameters, initOverrides) {
|
|
201
210
|
return __awaiter(this, void 0, void 0, function () {
|
|
202
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
203
|
-
|
|
204
|
-
|
|
211
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
212
|
+
var _a;
|
|
213
|
+
return __generator(this, function (_b) {
|
|
214
|
+
switch (_b.label) {
|
|
205
215
|
case 0:
|
|
206
216
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
207
217
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getSovereigntyStructures().');
|
|
@@ -221,14 +231,18 @@ var SovereigntyApi = /** @class */ (function (_super) {
|
|
|
221
231
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
222
232
|
}
|
|
223
233
|
urlPath = "/sovereignty/structures";
|
|
224
|
-
|
|
234
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
235
|
+
if (!facade) {
|
|
236
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
237
|
+
}
|
|
238
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
225
239
|
path: urlPath,
|
|
226
240
|
method: 'GET',
|
|
227
241
|
headers: headerParameters,
|
|
228
242
|
query: queryParameters,
|
|
229
243
|
}, initOverrides)];
|
|
230
244
|
case 1:
|
|
231
|
-
response =
|
|
245
|
+
response = _b.sent();
|
|
232
246
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
233
247
|
}
|
|
234
248
|
});
|
package/dist/apis/StatusApi.js
CHANGED
|
@@ -66,7 +66,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetStatusAcceptLanguageEnum = exports.GetStatusXCompatibilityDateEnum = exports.StatusApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var serviceFacade_1 = require("../serviceFacade");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
@@ -81,9 +80,10 @@ var StatusApi = /** @class */ (function (_super) {
|
|
|
81
80
|
*/
|
|
82
81
|
StatusApi.prototype.getStatusRaw = function (requestParameters, initOverrides) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
var queryParameters, headerParameters, urlPath, facade, response;
|
|
84
|
+
var _a;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['xCompatibilityDate'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('xCompatibilityDate', 'Required parameter "xCompatibilityDate" was null or undefined when calling getStatus().');
|
|
@@ -103,14 +103,18 @@ var StatusApi = /** @class */ (function (_super) {
|
|
|
103
103
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
104
104
|
}
|
|
105
105
|
urlPath = "/status";
|
|
106
|
-
|
|
106
|
+
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
107
|
+
if (!facade) {
|
|
108
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
109
|
+
}
|
|
110
|
+
return [4 /*yield*/, facade.esi.proxy({
|
|
107
111
|
path: urlPath,
|
|
108
112
|
method: 'GET',
|
|
109
113
|
headers: headerParameters,
|
|
110
114
|
query: queryParameters,
|
|
111
115
|
}, initOverrides)];
|
|
112
116
|
case 1:
|
|
113
|
-
response =
|
|
117
|
+
response = _b.sent();
|
|
114
118
|
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
115
119
|
}
|
|
116
120
|
});
|