esisl_genoa_client 0.1.5 → 0.1.6
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 +4 -2
- package/dist/apis/AllianceApi.d.ts +8 -0
- package/dist/apis/AllianceApi.js +29 -0
- package/dist/apis/AssetsApi.d.ts +12 -0
- package/dist/apis/AssetsApi.js +43 -0
- package/dist/apis/CalendarApi.d.ts +8 -0
- package/dist/apis/CalendarApi.js +29 -0
- package/dist/apis/CharacterApi.d.ts +28 -0
- package/dist/apis/CharacterApi.js +99 -0
- package/dist/apis/ClonesApi.d.ts +4 -0
- package/dist/apis/ClonesApi.js +15 -0
- package/dist/apis/ContactsApi.d.ts +18 -0
- package/dist/apis/ContactsApi.js +64 -0
- package/dist/apis/ContractsApi.d.ts +18 -0
- package/dist/apis/ContractsApi.js +64 -0
- package/dist/apis/CorporationApi.d.ts +44 -0
- package/dist/apis/CorporationApi.js +155 -0
- package/dist/apis/CorporationProjectsApi.d.ts +8 -4
- package/dist/apis/CorporationProjectsApi.js +29 -6
- package/dist/apis/DogmaApi.d.ts +10 -0
- package/dist/apis/DogmaApi.js +36 -0
- package/dist/apis/FactionWarfareApi.d.ts +16 -0
- package/dist/apis/FactionWarfareApi.js +57 -0
- package/dist/apis/FittingsApi.d.ts +6 -0
- package/dist/apis/FittingsApi.js +22 -0
- package/dist/apis/FleetsApi.d.ts +28 -0
- package/dist/apis/FleetsApi.js +99 -0
- package/dist/apis/FreelanceJobsApi.d.ts +12 -2
- package/dist/apis/FreelanceJobsApi.js +43 -3
- package/dist/apis/IncursionsApi.d.ts +2 -0
- package/dist/apis/IncursionsApi.js +8 -0
- package/dist/apis/IndustryApi.d.ts +16 -0
- package/dist/apis/IndustryApi.js +57 -0
- package/dist/apis/InsuranceApi.d.ts +2 -0
- package/dist/apis/InsuranceApi.js +8 -0
- package/dist/apis/KillmailsApi.d.ts +6 -0
- package/dist/apis/KillmailsApi.js +22 -0
- package/dist/apis/LocationApi.d.ts +6 -0
- package/dist/apis/LocationApi.js +22 -0
- package/dist/apis/LoyaltyApi.d.ts +4 -0
- package/dist/apis/LoyaltyApi.js +15 -0
- package/dist/apis/MailApi.d.ts +18 -0
- package/dist/apis/MailApi.js +64 -0
- package/dist/apis/MarketApi.d.ts +22 -0
- package/dist/apis/MarketApi.js +78 -0
- package/dist/apis/MetaApi.d.ts +6 -0
- package/dist/apis/MetaApi.js +22 -0
- package/dist/apis/PlanetaryInteractionApi.d.ts +8 -0
- package/dist/apis/PlanetaryInteractionApi.js +29 -0
- package/dist/apis/RoutesApi.d.ts +2 -0
- package/dist/apis/RoutesApi.js +8 -0
- package/dist/apis/SearchApi.d.ts +2 -0
- package/dist/apis/SearchApi.js +8 -0
- package/dist/apis/SkillsApi.d.ts +6 -0
- package/dist/apis/SkillsApi.js +22 -0
- package/dist/apis/SovereigntyApi.d.ts +6 -0
- package/dist/apis/SovereigntyApi.js +22 -0
- package/dist/apis/StatusApi.d.ts +2 -0
- package/dist/apis/StatusApi.js +8 -0
- package/dist/apis/UniverseApi.d.ts +60 -0
- package/dist/apis/UniverseApi.js +211 -0
- package/dist/apis/UserInterfaceApi.d.ts +10 -0
- package/dist/apis/UserInterfaceApi.js +36 -0
- package/dist/apis/WalletApi.d.ts +12 -0
- package/dist/apis/WalletApi.js +43 -0
- package/dist/apis/WarsApi.d.ts +6 -0
- package/dist/apis/WarsApi.js +22 -0
- package/dist/constants.d.ts +8 -0
- package/dist/constants.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/docs/AllianceApi.md +16 -4
- package/docs/AssetsApi.md +24 -6
- package/docs/CalendarApi.md +16 -4
- package/docs/CharacterApi.md +56 -14
- package/docs/ClonesApi.md +8 -2
- package/docs/ContactsApi.md +36 -9
- package/docs/ContractsApi.md +36 -9
- package/docs/CorporationApi.md +88 -22
- package/docs/CorporationProjectsApi.md +20 -14
- package/docs/DogmaApi.md +20 -5
- package/docs/FactionWarfareApi.md +32 -8
- package/docs/FittingsApi.md +12 -3
- package/docs/FleetsApi.md +56 -14
- package/docs/FreelanceJobsApi.md +30 -15
- package/docs/IncursionsApi.md +4 -1
- package/docs/IndustryApi.md +32 -8
- package/docs/InsuranceApi.md +4 -1
- package/docs/KillmailsApi.md +12 -3
- package/docs/LocationApi.md +12 -3
- package/docs/LoyaltyApi.md +8 -2
- package/docs/MailApi.md +36 -9
- package/docs/MarketApi.md +44 -11
- package/docs/MetaApi.md +15 -6
- package/docs/PlanetaryInteractionApi.md +16 -4
- package/docs/RoutesApi.md +5 -2
- package/docs/SearchApi.md +4 -1
- package/docs/SkillsApi.md +12 -3
- package/docs/SovereigntyApi.md +12 -3
- package/docs/StatusApi.md +4 -1
- package/docs/UniverseApi.md +120 -30
- package/docs/UserInterfaceApi.md +20 -5
- package/docs/WalletApi.md +24 -6
- package/docs/WarsApi.md +12 -3
- package/esisl_genoa_client-0.1.6.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +45 -0
- package/src/apis/AssetsApi.ts +67 -0
- package/src/apis/CalendarApi.ts +45 -0
- package/src/apis/CharacterApi.ts +155 -0
- package/src/apis/ClonesApi.ts +23 -0
- package/src/apis/ContactsApi.ts +100 -0
- package/src/apis/ContractsApi.ts +100 -0
- package/src/apis/CorporationApi.ts +243 -0
- package/src/apis/CorporationProjectsApi.ts +45 -12
- package/src/apis/DogmaApi.ts +56 -0
- package/src/apis/FactionWarfareApi.ts +89 -0
- package/src/apis/FittingsApi.ts +34 -0
- package/src/apis/FleetsApi.ts +155 -0
- package/src/apis/FreelanceJobsApi.ts +67 -6
- package/src/apis/IncursionsApi.ts +12 -0
- package/src/apis/IndustryApi.ts +89 -0
- package/src/apis/InsuranceApi.ts +12 -0
- package/src/apis/KillmailsApi.ts +34 -0
- package/src/apis/LocationApi.ts +34 -0
- package/src/apis/LoyaltyApi.ts +23 -0
- package/src/apis/MailApi.ts +100 -0
- package/src/apis/MarketApi.ts +122 -0
- package/src/apis/MetaApi.ts +34 -0
- package/src/apis/PlanetaryInteractionApi.ts +45 -0
- package/src/apis/RoutesApi.ts +12 -0
- package/src/apis/SearchApi.ts +12 -0
- package/src/apis/SkillsApi.ts +34 -0
- package/src/apis/SovereigntyApi.ts +34 -0
- package/src/apis/StatusApi.ts +12 -0
- package/src/apis/UniverseApi.ts +331 -0
- package/src/apis/UserInterfaceApi.ts +56 -0
- package/src/apis/WalletApi.ts +67 -0
- package/src/apis/WarsApi.ts +34 -0
- package/src/constants.ts +10 -0
- package/src/index.ts +1 -0
- package/esisl_genoa_client-0.1.4.tgz +0 -0
- package/esisl_genoa_client-0.1.5.tgz +0 -0
|
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCorporationsNpccorpsAcceptLanguageEnum = exports.GetCorporationsNpccorpsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdTitlesAcceptLanguageEnum = exports.GetCorporationsCorporationIdTitlesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStructuresAcceptLanguageEnum = exports.GetCorporationsCorporationIdStructuresXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStarbasesStarbaseIdAcceptLanguageEnum = exports.GetCorporationsCorporationIdStarbasesStarbaseIdXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStarbasesAcceptLanguageEnum = exports.GetCorporationsCorporationIdStarbasesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdStandingsAcceptLanguageEnum = exports.GetCorporationsCorporationIdStandingsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdShareholdersAcceptLanguageEnum = exports.GetCorporationsCorporationIdShareholdersXCompatibilityDateEnum = exports.GetCorporationsCorporationIdRolesHistoryAcceptLanguageEnum = exports.GetCorporationsCorporationIdRolesHistoryXCompatibilityDateEnum = exports.GetCorporationsCorporationIdRolesAcceptLanguageEnum = exports.GetCorporationsCorporationIdRolesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembertrackingAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembertrackingXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembersTitlesAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembersTitlesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembersLimitAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembersLimitXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMembersAcceptLanguageEnum = exports.GetCorporationsCorporationIdMembersXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMedalsIssuedAcceptLanguageEnum = exports.GetCorporationsCorporationIdMedalsIssuedXCompatibilityDateEnum = exports.GetCorporationsCorporationIdMedalsAcceptLanguageEnum = exports.GetCorporationsCorporationIdMedalsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdIconsAcceptLanguageEnum = exports.GetCorporationsCorporationIdIconsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdFacilitiesAcceptLanguageEnum = exports.GetCorporationsCorporationIdFacilitiesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdDivisionsAcceptLanguageEnum = exports.GetCorporationsCorporationIdDivisionsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdContainersLogsAcceptLanguageEnum = exports.GetCorporationsCorporationIdContainersLogsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdBlueprintsAcceptLanguageEnum = exports.GetCorporationsCorporationIdBlueprintsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdAlliancehistoryAcceptLanguageEnum = exports.GetCorporationsCorporationIdAlliancehistoryXCompatibilityDateEnum = exports.GetCorporationsCorporationIdAcceptLanguageEnum = exports.GetCorporationsCorporationIdXCompatibilityDateEnum = exports.CorporationApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
+
var constants_1 = require("../constants");
|
|
69
70
|
/**
|
|
70
71
|
*
|
|
71
72
|
*/
|
|
@@ -105,8 +106,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
105
106
|
if (requestParameters['xTenant'] != null) {
|
|
106
107
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
107
108
|
}
|
|
109
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
110
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
111
|
+
}
|
|
108
112
|
urlPath = "/corporations/{corporation_id}";
|
|
109
113
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
114
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
115
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
116
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
117
|
+
}
|
|
110
118
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
111
119
|
if (!facade) {
|
|
112
120
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -172,8 +180,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
172
180
|
if (requestParameters['xTenant'] != null) {
|
|
173
181
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
174
182
|
}
|
|
183
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
184
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
185
|
+
}
|
|
175
186
|
urlPath = "/corporations/{corporation_id}/alliancehistory";
|
|
176
187
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
188
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
189
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
190
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
191
|
+
}
|
|
177
192
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
178
193
|
if (!facade) {
|
|
179
194
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -242,8 +257,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
242
257
|
if (requestParameters['xTenant'] != null) {
|
|
243
258
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
244
259
|
}
|
|
260
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
261
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
262
|
+
}
|
|
245
263
|
urlPath = "/corporations/{corporation_id}/blueprints";
|
|
246
264
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
265
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
266
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
267
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
268
|
+
}
|
|
247
269
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
248
270
|
if (!facade) {
|
|
249
271
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -312,8 +334,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
312
334
|
if (requestParameters['xTenant'] != null) {
|
|
313
335
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
314
336
|
}
|
|
337
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
338
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
339
|
+
}
|
|
315
340
|
urlPath = "/corporations/{corporation_id}/containers/logs";
|
|
316
341
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
342
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
343
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
344
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
345
|
+
}
|
|
317
346
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
318
347
|
if (!facade) {
|
|
319
348
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -379,8 +408,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
379
408
|
if (requestParameters['xTenant'] != null) {
|
|
380
409
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
381
410
|
}
|
|
411
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
412
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
413
|
+
}
|
|
382
414
|
urlPath = "/corporations/{corporation_id}/divisions";
|
|
383
415
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
416
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
417
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
418
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
419
|
+
}
|
|
384
420
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
385
421
|
if (!facade) {
|
|
386
422
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -446,8 +482,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
446
482
|
if (requestParameters['xTenant'] != null) {
|
|
447
483
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
448
484
|
}
|
|
485
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
486
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
487
|
+
}
|
|
449
488
|
urlPath = "/corporations/{corporation_id}/facilities";
|
|
450
489
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
490
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
491
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
492
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
493
|
+
}
|
|
451
494
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
452
495
|
if (!facade) {
|
|
453
496
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -513,8 +556,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
513
556
|
if (requestParameters['xTenant'] != null) {
|
|
514
557
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
515
558
|
}
|
|
559
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
560
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
561
|
+
}
|
|
516
562
|
urlPath = "/corporations/{corporation_id}/icons";
|
|
517
563
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
564
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
565
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
566
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
567
|
+
}
|
|
518
568
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
519
569
|
if (!facade) {
|
|
520
570
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -583,8 +633,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
583
633
|
if (requestParameters['xTenant'] != null) {
|
|
584
634
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
585
635
|
}
|
|
636
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
637
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
638
|
+
}
|
|
586
639
|
urlPath = "/corporations/{corporation_id}/medals";
|
|
587
640
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
641
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
642
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
643
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
644
|
+
}
|
|
588
645
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
589
646
|
if (!facade) {
|
|
590
647
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -653,8 +710,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
653
710
|
if (requestParameters['xTenant'] != null) {
|
|
654
711
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
655
712
|
}
|
|
713
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
714
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
715
|
+
}
|
|
656
716
|
urlPath = "/corporations/{corporation_id}/medals/issued";
|
|
657
717
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
718
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
719
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
720
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
721
|
+
}
|
|
658
722
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
659
723
|
if (!facade) {
|
|
660
724
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -720,8 +784,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
720
784
|
if (requestParameters['xTenant'] != null) {
|
|
721
785
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
722
786
|
}
|
|
787
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
788
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
789
|
+
}
|
|
723
790
|
urlPath = "/corporations/{corporation_id}/members";
|
|
724
791
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
792
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
793
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
794
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
795
|
+
}
|
|
725
796
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
726
797
|
if (!facade) {
|
|
727
798
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -787,8 +858,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
787
858
|
if (requestParameters['xTenant'] != null) {
|
|
788
859
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
789
860
|
}
|
|
861
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
862
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
863
|
+
}
|
|
790
864
|
urlPath = "/corporations/{corporation_id}/members/limit";
|
|
791
865
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
866
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
867
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
868
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
869
|
+
}
|
|
792
870
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
793
871
|
if (!facade) {
|
|
794
872
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -854,8 +932,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
854
932
|
if (requestParameters['xTenant'] != null) {
|
|
855
933
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
856
934
|
}
|
|
935
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
936
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
937
|
+
}
|
|
857
938
|
urlPath = "/corporations/{corporation_id}/members/titles";
|
|
858
939
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
940
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
941
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
942
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
943
|
+
}
|
|
859
944
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
860
945
|
if (!facade) {
|
|
861
946
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -921,8 +1006,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
921
1006
|
if (requestParameters['xTenant'] != null) {
|
|
922
1007
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
923
1008
|
}
|
|
1009
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1010
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1011
|
+
}
|
|
924
1012
|
urlPath = "/corporations/{corporation_id}/membertracking";
|
|
925
1013
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1014
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1015
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1016
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1017
|
+
}
|
|
926
1018
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
927
1019
|
if (!facade) {
|
|
928
1020
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -988,8 +1080,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
988
1080
|
if (requestParameters['xTenant'] != null) {
|
|
989
1081
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
990
1082
|
}
|
|
1083
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1084
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1085
|
+
}
|
|
991
1086
|
urlPath = "/corporations/{corporation_id}/roles";
|
|
992
1087
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1088
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1089
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1090
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1091
|
+
}
|
|
993
1092
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
994
1093
|
if (!facade) {
|
|
995
1094
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1058,8 +1157,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1058
1157
|
if (requestParameters['xTenant'] != null) {
|
|
1059
1158
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1060
1159
|
}
|
|
1160
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1161
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1162
|
+
}
|
|
1061
1163
|
urlPath = "/corporations/{corporation_id}/roles/history";
|
|
1062
1164
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1165
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1166
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1167
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1168
|
+
}
|
|
1063
1169
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1064
1170
|
if (!facade) {
|
|
1065
1171
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1128,8 +1234,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1128
1234
|
if (requestParameters['xTenant'] != null) {
|
|
1129
1235
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1130
1236
|
}
|
|
1237
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1238
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1239
|
+
}
|
|
1131
1240
|
urlPath = "/corporations/{corporation_id}/shareholders";
|
|
1132
1241
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1242
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1243
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1244
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1245
|
+
}
|
|
1133
1246
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1134
1247
|
if (!facade) {
|
|
1135
1248
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1198,8 +1311,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1198
1311
|
if (requestParameters['xTenant'] != null) {
|
|
1199
1312
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1200
1313
|
}
|
|
1314
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1315
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1316
|
+
}
|
|
1201
1317
|
urlPath = "/corporations/{corporation_id}/standings";
|
|
1202
1318
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1319
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1320
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1321
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1322
|
+
}
|
|
1203
1323
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1204
1324
|
if (!facade) {
|
|
1205
1325
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1268,8 +1388,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1268
1388
|
if (requestParameters['xTenant'] != null) {
|
|
1269
1389
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1270
1390
|
}
|
|
1391
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1392
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1393
|
+
}
|
|
1271
1394
|
urlPath = "/corporations/{corporation_id}/starbases";
|
|
1272
1395
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1396
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1397
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1398
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1399
|
+
}
|
|
1273
1400
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1274
1401
|
if (!facade) {
|
|
1275
1402
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1344,9 +1471,16 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1344
1471
|
if (requestParameters['xTenant'] != null) {
|
|
1345
1472
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1346
1473
|
}
|
|
1474
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1475
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1476
|
+
}
|
|
1347
1477
|
urlPath = "/corporations/{corporation_id}/starbases/{starbase_id}";
|
|
1348
1478
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1349
1479
|
urlPath = urlPath.replace("{".concat("starbase_id", "}"), encodeURIComponent(String(requestParameters['starbaseId'])));
|
|
1480
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1481
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1482
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1483
|
+
}
|
|
1350
1484
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1351
1485
|
if (!facade) {
|
|
1352
1486
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1415,8 +1549,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1415
1549
|
if (requestParameters['xTenant'] != null) {
|
|
1416
1550
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1417
1551
|
}
|
|
1552
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1553
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1554
|
+
}
|
|
1418
1555
|
urlPath = "/corporations/{corporation_id}/structures";
|
|
1419
1556
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1557
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1558
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1559
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1560
|
+
}
|
|
1420
1561
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1421
1562
|
if (!facade) {
|
|
1422
1563
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1482,8 +1623,15 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1482
1623
|
if (requestParameters['xTenant'] != null) {
|
|
1483
1624
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1484
1625
|
}
|
|
1626
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1627
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1628
|
+
}
|
|
1485
1629
|
urlPath = "/corporations/{corporation_id}/titles";
|
|
1486
1630
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
1631
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1632
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1633
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1634
|
+
}
|
|
1487
1635
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1488
1636
|
if (!facade) {
|
|
1489
1637
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -1546,7 +1694,14 @@ var CorporationApi = /** @class */ (function (_super) {
|
|
|
1546
1694
|
if (requestParameters['xTenant'] != null) {
|
|
1547
1695
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
1548
1696
|
}
|
|
1697
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
1698
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
1699
|
+
}
|
|
1549
1700
|
urlPath = "/corporations/npccorps";
|
|
1701
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
1702
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
1703
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
1704
|
+
}
|
|
1550
1705
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
1551
1706
|
if (!facade) {
|
|
1552
1707
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -16,10 +16,10 @@ export interface GetCorporationsProjectsContributionRequest {
|
|
|
16
16
|
projectId: string;
|
|
17
17
|
characterId: number;
|
|
18
18
|
xCompatibilityDate: GetCorporationsProjectsContributionXCompatibilityDateEnum;
|
|
19
|
-
ifModifiedSince?: string;
|
|
20
19
|
acceptLanguage?: GetCorporationsProjectsContributionAcceptLanguageEnum;
|
|
21
20
|
ifNoneMatch?: string;
|
|
22
21
|
xTenant?: string;
|
|
22
|
+
ifModifiedSince?: string;
|
|
23
23
|
}
|
|
24
24
|
export interface GetCorporationsProjectsContributorsRequest {
|
|
25
25
|
corporationId: number;
|
|
@@ -31,15 +31,16 @@ export interface GetCorporationsProjectsContributorsRequest {
|
|
|
31
31
|
acceptLanguage?: GetCorporationsProjectsContributorsAcceptLanguageEnum;
|
|
32
32
|
ifNoneMatch?: string;
|
|
33
33
|
xTenant?: string;
|
|
34
|
+
ifModifiedSince?: string;
|
|
34
35
|
}
|
|
35
36
|
export interface GetCorporationsProjectsDetailRequest {
|
|
36
37
|
corporationId: number;
|
|
37
38
|
projectId: string;
|
|
38
39
|
xCompatibilityDate: GetCorporationsProjectsDetailXCompatibilityDateEnum;
|
|
39
|
-
ifModifiedSince?: string;
|
|
40
40
|
acceptLanguage?: GetCorporationsProjectsDetailAcceptLanguageEnum;
|
|
41
41
|
ifNoneMatch?: string;
|
|
42
42
|
xTenant?: string;
|
|
43
|
+
ifModifiedSince?: string;
|
|
43
44
|
}
|
|
44
45
|
export interface GetCorporationsProjectsListingRequest {
|
|
45
46
|
corporationId: number;
|
|
@@ -51,6 +52,7 @@ export interface GetCorporationsProjectsListingRequest {
|
|
|
51
52
|
acceptLanguage?: GetCorporationsProjectsListingAcceptLanguageEnum;
|
|
52
53
|
ifNoneMatch?: string;
|
|
53
54
|
xTenant?: string;
|
|
55
|
+
ifModifiedSince?: string;
|
|
54
56
|
}
|
|
55
57
|
/**
|
|
56
58
|
* CorporationProjectsApi - interface
|
|
@@ -66,10 +68,10 @@ export interface CorporationProjectsApiInterface {
|
|
|
66
68
|
* @param {string} projectId The ID of the project
|
|
67
69
|
* @param {number} characterId The ID of the character
|
|
68
70
|
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
69
|
-
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
70
71
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
71
72
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
72
73
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
74
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
73
75
|
* @param {*} [options] Override http request option.
|
|
74
76
|
* @throws {RequiredError}
|
|
75
77
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -92,6 +94,7 @@ export interface CorporationProjectsApiInterface {
|
|
|
92
94
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
93
95
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
94
96
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
97
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
95
98
|
* @param {*} [options] Override http request option.
|
|
96
99
|
* @throws {RequiredError}
|
|
97
100
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -108,10 +111,10 @@ export interface CorporationProjectsApiInterface {
|
|
|
108
111
|
* @param {number} corporationId The ID of the corporation
|
|
109
112
|
* @param {string} projectId The ID of the project
|
|
110
113
|
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
111
|
-
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
112
114
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
113
115
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
114
116
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
117
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
115
118
|
* @param {*} [options] Override http request option.
|
|
116
119
|
* @throws {RequiredError}
|
|
117
120
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -134,6 +137,7 @@ export interface CorporationProjectsApiInterface {
|
|
|
134
137
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
135
138
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
136
139
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
140
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
137
141
|
* @param {*} [options] Override http request option.
|
|
138
142
|
* @throws {RequiredError}
|
|
139
143
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.GetCorporationsProjectsListingAcceptLanguageEnum = exports.GetCorporationsProjectsListingStateEnum = exports.GetCorporationsProjectsListingXCompatibilityDateEnum = exports.GetCorporationsProjectsDetailAcceptLanguageEnum = exports.GetCorporationsProjectsDetailXCompatibilityDateEnum = exports.GetCorporationsProjectsContributorsAcceptLanguageEnum = exports.GetCorporationsProjectsContributorsXCompatibilityDateEnum = exports.GetCorporationsProjectsContributionAcceptLanguageEnum = exports.GetCorporationsProjectsContributionXCompatibilityDateEnum = exports.CorporationProjectsApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
+
var constants_1 = require("../constants");
|
|
69
70
|
/**
|
|
70
71
|
*
|
|
71
72
|
*/
|
|
@@ -99,9 +100,6 @@ var CorporationProjectsApi = /** @class */ (function (_super) {
|
|
|
99
100
|
}
|
|
100
101
|
queryParameters = {};
|
|
101
102
|
headerParameters = {};
|
|
102
|
-
if (requestParameters['ifModifiedSince'] != null) {
|
|
103
|
-
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
104
|
-
}
|
|
105
103
|
if (requestParameters['acceptLanguage'] != null) {
|
|
106
104
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
107
105
|
}
|
|
@@ -114,10 +112,17 @@ var CorporationProjectsApi = /** @class */ (function (_super) {
|
|
|
114
112
|
if (requestParameters['xTenant'] != null) {
|
|
115
113
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
116
114
|
}
|
|
115
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
116
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
117
|
+
}
|
|
117
118
|
urlPath = "/corporations/{corporation_id}/projects/{project_id}/contribution/{character_id}";
|
|
118
119
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
119
120
|
urlPath = urlPath.replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
120
121
|
urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
|
|
122
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
123
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
124
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
125
|
+
}
|
|
121
126
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
122
127
|
if (!facade) {
|
|
123
128
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -195,9 +200,16 @@ var CorporationProjectsApi = /** @class */ (function (_super) {
|
|
|
195
200
|
if (requestParameters['xTenant'] != null) {
|
|
196
201
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
197
202
|
}
|
|
203
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
204
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
205
|
+
}
|
|
198
206
|
urlPath = "/corporations/{corporation_id}/projects/{project_id}/contributors";
|
|
199
207
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
200
208
|
urlPath = urlPath.replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
209
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
210
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
211
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
212
|
+
}
|
|
201
213
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
202
214
|
if (!facade) {
|
|
203
215
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -254,9 +266,6 @@ var CorporationProjectsApi = /** @class */ (function (_super) {
|
|
|
254
266
|
}
|
|
255
267
|
queryParameters = {};
|
|
256
268
|
headerParameters = {};
|
|
257
|
-
if (requestParameters['ifModifiedSince'] != null) {
|
|
258
|
-
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
259
|
-
}
|
|
260
269
|
if (requestParameters['acceptLanguage'] != null) {
|
|
261
270
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
262
271
|
}
|
|
@@ -269,9 +278,16 @@ var CorporationProjectsApi = /** @class */ (function (_super) {
|
|
|
269
278
|
if (requestParameters['xTenant'] != null) {
|
|
270
279
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
271
280
|
}
|
|
281
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
282
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
283
|
+
}
|
|
272
284
|
urlPath = "/corporations/{corporation_id}/projects/{project_id}";
|
|
273
285
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
274
286
|
urlPath = urlPath.replace("{".concat("project_id", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
287
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
288
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
289
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
290
|
+
}
|
|
275
291
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
276
292
|
if (!facade) {
|
|
277
293
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -349,8 +365,15 @@ var CorporationProjectsApi = /** @class */ (function (_super) {
|
|
|
349
365
|
if (requestParameters['xTenant'] != null) {
|
|
350
366
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
351
367
|
}
|
|
368
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
369
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
370
|
+
}
|
|
352
371
|
urlPath = "/corporations/{corporation_id}/projects";
|
|
353
372
|
urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
|
|
373
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
374
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
375
|
+
headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
|
|
376
|
+
}
|
|
354
377
|
facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
|
|
355
378
|
if (!facade) {
|
|
356
379
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/dist/apis/DogmaApi.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export interface GetDogmaAttributesRequest {
|
|
|
16
16
|
acceptLanguage?: GetDogmaAttributesAcceptLanguageEnum;
|
|
17
17
|
ifNoneMatch?: string;
|
|
18
18
|
xTenant?: string;
|
|
19
|
+
ifModifiedSince?: string;
|
|
19
20
|
}
|
|
20
21
|
export interface GetDogmaAttributesAttributeIdRequest {
|
|
21
22
|
attributeId: number;
|
|
@@ -23,6 +24,7 @@ export interface GetDogmaAttributesAttributeIdRequest {
|
|
|
23
24
|
acceptLanguage?: GetDogmaAttributesAttributeIdAcceptLanguageEnum;
|
|
24
25
|
ifNoneMatch?: string;
|
|
25
26
|
xTenant?: string;
|
|
27
|
+
ifModifiedSince?: string;
|
|
26
28
|
}
|
|
27
29
|
export interface GetDogmaDynamicItemsTypeIdItemIdRequest {
|
|
28
30
|
itemId: number;
|
|
@@ -31,12 +33,14 @@ export interface GetDogmaDynamicItemsTypeIdItemIdRequest {
|
|
|
31
33
|
acceptLanguage?: GetDogmaDynamicItemsTypeIdItemIdAcceptLanguageEnum;
|
|
32
34
|
ifNoneMatch?: string;
|
|
33
35
|
xTenant?: string;
|
|
36
|
+
ifModifiedSince?: string;
|
|
34
37
|
}
|
|
35
38
|
export interface GetDogmaEffectsRequest {
|
|
36
39
|
xCompatibilityDate: GetDogmaEffectsXCompatibilityDateEnum;
|
|
37
40
|
acceptLanguage?: GetDogmaEffectsAcceptLanguageEnum;
|
|
38
41
|
ifNoneMatch?: string;
|
|
39
42
|
xTenant?: string;
|
|
43
|
+
ifModifiedSince?: string;
|
|
40
44
|
}
|
|
41
45
|
export interface GetDogmaEffectsEffectIdRequest {
|
|
42
46
|
effectId: number;
|
|
@@ -44,6 +48,7 @@ export interface GetDogmaEffectsEffectIdRequest {
|
|
|
44
48
|
acceptLanguage?: GetDogmaEffectsEffectIdAcceptLanguageEnum;
|
|
45
49
|
ifNoneMatch?: string;
|
|
46
50
|
xTenant?: string;
|
|
51
|
+
ifModifiedSince?: string;
|
|
47
52
|
}
|
|
48
53
|
/**
|
|
49
54
|
* DogmaApi - interface
|
|
@@ -59,6 +64,7 @@ export interface DogmaApiInterface {
|
|
|
59
64
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
60
65
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
61
66
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
67
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
62
68
|
* @param {*} [options] Override http request option.
|
|
63
69
|
* @throws {RequiredError}
|
|
64
70
|
* @memberof DogmaApiInterface
|
|
@@ -77,6 +83,7 @@ export interface DogmaApiInterface {
|
|
|
77
83
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
78
84
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
79
85
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
86
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
80
87
|
* @param {*} [options] Override http request option.
|
|
81
88
|
* @throws {RequiredError}
|
|
82
89
|
* @memberof DogmaApiInterface
|
|
@@ -96,6 +103,7 @@ export interface DogmaApiInterface {
|
|
|
96
103
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
97
104
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
98
105
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
106
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
99
107
|
* @param {*} [options] Override http request option.
|
|
100
108
|
* @throws {RequiredError}
|
|
101
109
|
* @memberof DogmaApiInterface
|
|
@@ -113,6 +121,7 @@ export interface DogmaApiInterface {
|
|
|
113
121
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
114
122
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
115
123
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
124
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
116
125
|
* @param {*} [options] Override http request option.
|
|
117
126
|
* @throws {RequiredError}
|
|
118
127
|
* @memberof DogmaApiInterface
|
|
@@ -131,6 +140,7 @@ export interface DogmaApiInterface {
|
|
|
131
140
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
132
141
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
133
142
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
143
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
134
144
|
* @param {*} [options] Override http request option.
|
|
135
145
|
* @throws {RequiredError}
|
|
136
146
|
* @memberof DogmaApiInterface
|