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.
Files changed (143) hide show
  1. package/README.md +4 -2
  2. package/dist/apis/AllianceApi.d.ts +8 -0
  3. package/dist/apis/AllianceApi.js +29 -0
  4. package/dist/apis/AssetsApi.d.ts +12 -0
  5. package/dist/apis/AssetsApi.js +43 -0
  6. package/dist/apis/CalendarApi.d.ts +8 -0
  7. package/dist/apis/CalendarApi.js +29 -0
  8. package/dist/apis/CharacterApi.d.ts +28 -0
  9. package/dist/apis/CharacterApi.js +99 -0
  10. package/dist/apis/ClonesApi.d.ts +4 -0
  11. package/dist/apis/ClonesApi.js +15 -0
  12. package/dist/apis/ContactsApi.d.ts +18 -0
  13. package/dist/apis/ContactsApi.js +64 -0
  14. package/dist/apis/ContractsApi.d.ts +18 -0
  15. package/dist/apis/ContractsApi.js +64 -0
  16. package/dist/apis/CorporationApi.d.ts +44 -0
  17. package/dist/apis/CorporationApi.js +155 -0
  18. package/dist/apis/CorporationProjectsApi.d.ts +8 -4
  19. package/dist/apis/CorporationProjectsApi.js +29 -6
  20. package/dist/apis/DogmaApi.d.ts +10 -0
  21. package/dist/apis/DogmaApi.js +36 -0
  22. package/dist/apis/FactionWarfareApi.d.ts +16 -0
  23. package/dist/apis/FactionWarfareApi.js +57 -0
  24. package/dist/apis/FittingsApi.d.ts +6 -0
  25. package/dist/apis/FittingsApi.js +22 -0
  26. package/dist/apis/FleetsApi.d.ts +28 -0
  27. package/dist/apis/FleetsApi.js +99 -0
  28. package/dist/apis/FreelanceJobsApi.d.ts +12 -2
  29. package/dist/apis/FreelanceJobsApi.js +43 -3
  30. package/dist/apis/IncursionsApi.d.ts +2 -0
  31. package/dist/apis/IncursionsApi.js +8 -0
  32. package/dist/apis/IndustryApi.d.ts +16 -0
  33. package/dist/apis/IndustryApi.js +57 -0
  34. package/dist/apis/InsuranceApi.d.ts +2 -0
  35. package/dist/apis/InsuranceApi.js +8 -0
  36. package/dist/apis/KillmailsApi.d.ts +6 -0
  37. package/dist/apis/KillmailsApi.js +22 -0
  38. package/dist/apis/LocationApi.d.ts +6 -0
  39. package/dist/apis/LocationApi.js +22 -0
  40. package/dist/apis/LoyaltyApi.d.ts +4 -0
  41. package/dist/apis/LoyaltyApi.js +15 -0
  42. package/dist/apis/MailApi.d.ts +18 -0
  43. package/dist/apis/MailApi.js +64 -0
  44. package/dist/apis/MarketApi.d.ts +22 -0
  45. package/dist/apis/MarketApi.js +78 -0
  46. package/dist/apis/MetaApi.d.ts +6 -0
  47. package/dist/apis/MetaApi.js +22 -0
  48. package/dist/apis/PlanetaryInteractionApi.d.ts +8 -0
  49. package/dist/apis/PlanetaryInteractionApi.js +29 -0
  50. package/dist/apis/RoutesApi.d.ts +2 -0
  51. package/dist/apis/RoutesApi.js +8 -0
  52. package/dist/apis/SearchApi.d.ts +2 -0
  53. package/dist/apis/SearchApi.js +8 -0
  54. package/dist/apis/SkillsApi.d.ts +6 -0
  55. package/dist/apis/SkillsApi.js +22 -0
  56. package/dist/apis/SovereigntyApi.d.ts +6 -0
  57. package/dist/apis/SovereigntyApi.js +22 -0
  58. package/dist/apis/StatusApi.d.ts +2 -0
  59. package/dist/apis/StatusApi.js +8 -0
  60. package/dist/apis/UniverseApi.d.ts +60 -0
  61. package/dist/apis/UniverseApi.js +211 -0
  62. package/dist/apis/UserInterfaceApi.d.ts +10 -0
  63. package/dist/apis/UserInterfaceApi.js +36 -0
  64. package/dist/apis/WalletApi.d.ts +12 -0
  65. package/dist/apis/WalletApi.js +43 -0
  66. package/dist/apis/WarsApi.d.ts +6 -0
  67. package/dist/apis/WarsApi.js +22 -0
  68. package/dist/constants.d.ts +8 -0
  69. package/dist/constants.js +13 -0
  70. package/dist/index.d.ts +1 -0
  71. package/dist/index.js +5 -0
  72. package/docs/AllianceApi.md +16 -4
  73. package/docs/AssetsApi.md +24 -6
  74. package/docs/CalendarApi.md +16 -4
  75. package/docs/CharacterApi.md +56 -14
  76. package/docs/ClonesApi.md +8 -2
  77. package/docs/ContactsApi.md +36 -9
  78. package/docs/ContractsApi.md +36 -9
  79. package/docs/CorporationApi.md +88 -22
  80. package/docs/CorporationProjectsApi.md +20 -14
  81. package/docs/DogmaApi.md +20 -5
  82. package/docs/FactionWarfareApi.md +32 -8
  83. package/docs/FittingsApi.md +12 -3
  84. package/docs/FleetsApi.md +56 -14
  85. package/docs/FreelanceJobsApi.md +30 -15
  86. package/docs/IncursionsApi.md +4 -1
  87. package/docs/IndustryApi.md +32 -8
  88. package/docs/InsuranceApi.md +4 -1
  89. package/docs/KillmailsApi.md +12 -3
  90. package/docs/LocationApi.md +12 -3
  91. package/docs/LoyaltyApi.md +8 -2
  92. package/docs/MailApi.md +36 -9
  93. package/docs/MarketApi.md +44 -11
  94. package/docs/MetaApi.md +15 -6
  95. package/docs/PlanetaryInteractionApi.md +16 -4
  96. package/docs/RoutesApi.md +5 -2
  97. package/docs/SearchApi.md +4 -1
  98. package/docs/SkillsApi.md +12 -3
  99. package/docs/SovereigntyApi.md +12 -3
  100. package/docs/StatusApi.md +4 -1
  101. package/docs/UniverseApi.md +120 -30
  102. package/docs/UserInterfaceApi.md +20 -5
  103. package/docs/WalletApi.md +24 -6
  104. package/docs/WarsApi.md +12 -3
  105. package/esisl_genoa_client-0.1.6.tgz +0 -0
  106. package/package.json +1 -1
  107. package/src/apis/AllianceApi.ts +45 -0
  108. package/src/apis/AssetsApi.ts +67 -0
  109. package/src/apis/CalendarApi.ts +45 -0
  110. package/src/apis/CharacterApi.ts +155 -0
  111. package/src/apis/ClonesApi.ts +23 -0
  112. package/src/apis/ContactsApi.ts +100 -0
  113. package/src/apis/ContractsApi.ts +100 -0
  114. package/src/apis/CorporationApi.ts +243 -0
  115. package/src/apis/CorporationProjectsApi.ts +45 -12
  116. package/src/apis/DogmaApi.ts +56 -0
  117. package/src/apis/FactionWarfareApi.ts +89 -0
  118. package/src/apis/FittingsApi.ts +34 -0
  119. package/src/apis/FleetsApi.ts +155 -0
  120. package/src/apis/FreelanceJobsApi.ts +67 -6
  121. package/src/apis/IncursionsApi.ts +12 -0
  122. package/src/apis/IndustryApi.ts +89 -0
  123. package/src/apis/InsuranceApi.ts +12 -0
  124. package/src/apis/KillmailsApi.ts +34 -0
  125. package/src/apis/LocationApi.ts +34 -0
  126. package/src/apis/LoyaltyApi.ts +23 -0
  127. package/src/apis/MailApi.ts +100 -0
  128. package/src/apis/MarketApi.ts +122 -0
  129. package/src/apis/MetaApi.ts +34 -0
  130. package/src/apis/PlanetaryInteractionApi.ts +45 -0
  131. package/src/apis/RoutesApi.ts +12 -0
  132. package/src/apis/SearchApi.ts +12 -0
  133. package/src/apis/SkillsApi.ts +34 -0
  134. package/src/apis/SovereigntyApi.ts +34 -0
  135. package/src/apis/StatusApi.ts +12 -0
  136. package/src/apis/UniverseApi.ts +331 -0
  137. package/src/apis/UserInterfaceApi.ts +56 -0
  138. package/src/apis/WalletApi.ts +67 -0
  139. package/src/apis/WarsApi.ts +34 -0
  140. package/src/constants.ts +10 -0
  141. package/src/index.ts +1 -0
  142. package/esisl_genoa_client-0.1.4.tgz +0 -0
  143. 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.GetMarketsStructuresStructureIdAcceptLanguageEnum = exports.GetMarketsStructuresStructureIdXCompatibilityDateEnum = exports.GetMarketsRegionIdTypesAcceptLanguageEnum = exports.GetMarketsRegionIdTypesXCompatibilityDateEnum = exports.GetMarketsRegionIdOrdersAcceptLanguageEnum = exports.GetMarketsRegionIdOrdersXCompatibilityDateEnum = exports.GetMarketsRegionIdOrdersOrderTypeEnum = exports.GetMarketsRegionIdHistoryAcceptLanguageEnum = exports.GetMarketsRegionIdHistoryXCompatibilityDateEnum = exports.GetMarketsPricesAcceptLanguageEnum = exports.GetMarketsPricesXCompatibilityDateEnum = exports.GetMarketsGroupsMarketGroupIdAcceptLanguageEnum = exports.GetMarketsGroupsMarketGroupIdXCompatibilityDateEnum = exports.GetMarketsGroupsAcceptLanguageEnum = exports.GetMarketsGroupsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdOrdersHistoryAcceptLanguageEnum = exports.GetCorporationsCorporationIdOrdersHistoryXCompatibilityDateEnum = exports.GetCorporationsCorporationIdOrdersAcceptLanguageEnum = exports.GetCorporationsCorporationIdOrdersXCompatibilityDateEnum = exports.GetCharactersCharacterIdOrdersHistoryAcceptLanguageEnum = exports.GetCharactersCharacterIdOrdersHistoryXCompatibilityDateEnum = exports.GetCharactersCharacterIdOrdersAcceptLanguageEnum = exports.GetCharactersCharacterIdOrdersXCompatibilityDateEnum = exports.MarketApi = 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 MarketApi = /** @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 = "/characters/{character_id}/orders";
109
113
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
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 })');
@@ -175,8 +183,15 @@ var MarketApi = /** @class */ (function (_super) {
175
183
  if (requestParameters['xTenant'] != null) {
176
184
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
177
185
  }
186
+ if (requestParameters['ifModifiedSince'] != null) {
187
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
188
+ }
178
189
  urlPath = "/characters/{character_id}/orders/history";
179
190
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
191
+ // Auto-inject X-Compatibility-Date if not already provided
192
+ if (!headerParameters['X-Compatibility-Date']) {
193
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
194
+ }
180
195
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
181
196
  if (!facade) {
182
197
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -245,8 +260,15 @@ var MarketApi = /** @class */ (function (_super) {
245
260
  if (requestParameters['xTenant'] != null) {
246
261
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
247
262
  }
263
+ if (requestParameters['ifModifiedSince'] != null) {
264
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
265
+ }
248
266
  urlPath = "/corporations/{corporation_id}/orders";
249
267
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
268
+ // Auto-inject X-Compatibility-Date if not already provided
269
+ if (!headerParameters['X-Compatibility-Date']) {
270
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
271
+ }
250
272
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
251
273
  if (!facade) {
252
274
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -315,8 +337,15 @@ var MarketApi = /** @class */ (function (_super) {
315
337
  if (requestParameters['xTenant'] != null) {
316
338
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
317
339
  }
340
+ if (requestParameters['ifModifiedSince'] != null) {
341
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
342
+ }
318
343
  urlPath = "/corporations/{corporation_id}/orders/history";
319
344
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
345
+ // Auto-inject X-Compatibility-Date if not already provided
346
+ if (!headerParameters['X-Compatibility-Date']) {
347
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
348
+ }
320
349
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
321
350
  if (!facade) {
322
351
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -379,7 +408,14 @@ var MarketApi = /** @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 = "/markets/groups";
415
+ // Auto-inject X-Compatibility-Date if not already provided
416
+ if (!headerParameters['X-Compatibility-Date']) {
417
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
418
+ }
383
419
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
384
420
  if (!facade) {
385
421
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -445,8 +481,15 @@ var MarketApi = /** @class */ (function (_super) {
445
481
  if (requestParameters['xTenant'] != null) {
446
482
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
447
483
  }
484
+ if (requestParameters['ifModifiedSince'] != null) {
485
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
486
+ }
448
487
  urlPath = "/markets/groups/{market_group_id}";
449
488
  urlPath = urlPath.replace("{".concat("market_group_id", "}"), encodeURIComponent(String(requestParameters['marketGroupId'])));
489
+ // Auto-inject X-Compatibility-Date if not already provided
490
+ if (!headerParameters['X-Compatibility-Date']) {
491
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
492
+ }
450
493
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
451
494
  if (!facade) {
452
495
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -509,7 +552,14 @@ var MarketApi = /** @class */ (function (_super) {
509
552
  if (requestParameters['xTenant'] != null) {
510
553
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
511
554
  }
555
+ if (requestParameters['ifModifiedSince'] != null) {
556
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
557
+ }
512
558
  urlPath = "/markets/prices";
559
+ // Auto-inject X-Compatibility-Date if not already provided
560
+ if (!headerParameters['X-Compatibility-Date']) {
561
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
562
+ }
513
563
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
514
564
  if (!facade) {
515
565
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -581,8 +631,15 @@ var MarketApi = /** @class */ (function (_super) {
581
631
  if (requestParameters['xTenant'] != null) {
582
632
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
583
633
  }
634
+ if (requestParameters['ifModifiedSince'] != null) {
635
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
636
+ }
584
637
  urlPath = "/markets/{region_id}/history";
585
638
  urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
639
+ // Auto-inject X-Compatibility-Date if not already provided
640
+ if (!headerParameters['X-Compatibility-Date']) {
641
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
642
+ }
586
643
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
587
644
  if (!facade) {
588
645
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -660,8 +717,15 @@ var MarketApi = /** @class */ (function (_super) {
660
717
  if (requestParameters['xTenant'] != null) {
661
718
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
662
719
  }
720
+ if (requestParameters['ifModifiedSince'] != null) {
721
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
722
+ }
663
723
  urlPath = "/markets/{region_id}/orders";
664
724
  urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
725
+ // Auto-inject X-Compatibility-Date if not already provided
726
+ if (!headerParameters['X-Compatibility-Date']) {
727
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
728
+ }
665
729
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
666
730
  if (!facade) {
667
731
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -730,8 +794,15 @@ var MarketApi = /** @class */ (function (_super) {
730
794
  if (requestParameters['xTenant'] != null) {
731
795
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
732
796
  }
797
+ if (requestParameters['ifModifiedSince'] != null) {
798
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
799
+ }
733
800
  urlPath = "/markets/{region_id}/types";
734
801
  urlPath = urlPath.replace("{".concat("region_id", "}"), encodeURIComponent(String(requestParameters['regionId'])));
802
+ // Auto-inject X-Compatibility-Date if not already provided
803
+ if (!headerParameters['X-Compatibility-Date']) {
804
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
805
+ }
735
806
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
736
807
  if (!facade) {
737
808
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -800,8 +871,15 @@ var MarketApi = /** @class */ (function (_super) {
800
871
  if (requestParameters['xTenant'] != null) {
801
872
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
802
873
  }
874
+ if (requestParameters['ifModifiedSince'] != null) {
875
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
876
+ }
803
877
  urlPath = "/markets/structures/{structure_id}";
804
878
  urlPath = urlPath.replace("{".concat("structure_id", "}"), encodeURIComponent(String(requestParameters['structureId'])));
879
+ // Auto-inject X-Compatibility-Date if not already provided
880
+ if (!headerParameters['X-Compatibility-Date']) {
881
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
882
+ }
805
883
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
806
884
  if (!facade) {
807
885
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -16,18 +16,21 @@ export interface GetMetaChangelogRequest {
16
16
  acceptLanguage?: GetMetaChangelogAcceptLanguageEnum;
17
17
  ifNoneMatch?: string;
18
18
  xTenant?: string;
19
+ ifModifiedSince?: string;
19
20
  }
20
21
  export interface GetMetaCompatibilityDatesRequest {
21
22
  xCompatibilityDate: GetMetaCompatibilityDatesXCompatibilityDateEnum;
22
23
  acceptLanguage?: GetMetaCompatibilityDatesAcceptLanguageEnum;
23
24
  ifNoneMatch?: string;
24
25
  xTenant?: string;
26
+ ifModifiedSince?: string;
25
27
  }
26
28
  export interface GetMetaStatusRequest {
27
29
  xCompatibilityDate: GetMetaStatusXCompatibilityDateEnum;
28
30
  acceptLanguage?: GetMetaStatusAcceptLanguageEnum;
29
31
  ifNoneMatch?: string;
30
32
  xTenant?: string;
33
+ ifModifiedSince?: string;
31
34
  }
32
35
  /**
33
36
  * MetaApi - interface
@@ -43,6 +46,7 @@ export interface MetaApiInterface {
43
46
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
44
47
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
45
48
  * @param {string} [xTenant] The tenant ID for the request.
49
+ * @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.
46
50
  * @param {*} [options] Override http request option.
47
51
  * @throws {RequiredError}
48
52
  * @memberof MetaApiInterface
@@ -60,6 +64,7 @@ export interface MetaApiInterface {
60
64
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
61
65
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
62
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.
63
68
  * @param {*} [options] Override http request option.
64
69
  * @throws {RequiredError}
65
70
  * @memberof MetaApiInterface
@@ -77,6 +82,7 @@ export interface MetaApiInterface {
77
82
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
78
83
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
79
84
  * @param {string} [xTenant] The tenant ID for the request.
85
+ * @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
86
  * @param {*} [options] Override http request option.
81
87
  * @throws {RequiredError}
82
88
  * @memberof MetaApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetMetaStatusAcceptLanguageEnum = exports.GetMetaStatusXCompatibilityDateEnum = exports.GetMetaCompatibilityDatesAcceptLanguageEnum = exports.GetMetaCompatibilityDatesXCompatibilityDateEnum = exports.GetMetaChangelogAcceptLanguageEnum = exports.GetMetaChangelogXCompatibilityDateEnum = exports.MetaApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -102,7 +103,14 @@ var MetaApi = /** @class */ (function (_super) {
102
103
  if (requestParameters['xTenant'] != null) {
103
104
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
104
105
  }
106
+ if (requestParameters['ifModifiedSince'] != null) {
107
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
108
+ }
105
109
  urlPath = "/meta/changelog";
110
+ // Auto-inject X-Compatibility-Date if not already provided
111
+ if (!headerParameters['X-Compatibility-Date']) {
112
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
113
+ }
106
114
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
107
115
  if (!facade) {
108
116
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -165,7 +173,14 @@ var MetaApi = /** @class */ (function (_super) {
165
173
  if (requestParameters['xTenant'] != null) {
166
174
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
167
175
  }
176
+ if (requestParameters['ifModifiedSince'] != null) {
177
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
178
+ }
168
179
  urlPath = "/meta/compatibility-dates";
180
+ // Auto-inject X-Compatibility-Date if not already provided
181
+ if (!headerParameters['X-Compatibility-Date']) {
182
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
183
+ }
169
184
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
170
185
  if (!facade) {
171
186
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -228,7 +243,14 @@ var MetaApi = /** @class */ (function (_super) {
228
243
  if (requestParameters['xTenant'] != null) {
229
244
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
230
245
  }
246
+ if (requestParameters['ifModifiedSince'] != null) {
247
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
248
+ }
231
249
  urlPath = "/meta/status";
250
+ // Auto-inject X-Compatibility-Date if not already provided
251
+ if (!headerParameters['X-Compatibility-Date']) {
252
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
253
+ }
232
254
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
233
255
  if (!facade) {
234
256
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -17,6 +17,7 @@ export interface GetCharactersCharacterIdPlanetsRequest {
17
17
  acceptLanguage?: GetCharactersCharacterIdPlanetsAcceptLanguageEnum;
18
18
  ifNoneMatch?: string;
19
19
  xTenant?: string;
20
+ ifModifiedSince?: string;
20
21
  }
21
22
  export interface GetCharactersCharacterIdPlanetsPlanetIdRequest {
22
23
  characterId: number;
@@ -25,6 +26,7 @@ export interface GetCharactersCharacterIdPlanetsPlanetIdRequest {
25
26
  acceptLanguage?: GetCharactersCharacterIdPlanetsPlanetIdAcceptLanguageEnum;
26
27
  ifNoneMatch?: string;
27
28
  xTenant?: string;
29
+ ifModifiedSince?: string;
28
30
  }
29
31
  export interface GetCorporationsCorporationIdCustomsOfficesRequest {
30
32
  corporationId: number;
@@ -33,6 +35,7 @@ export interface GetCorporationsCorporationIdCustomsOfficesRequest {
33
35
  acceptLanguage?: GetCorporationsCorporationIdCustomsOfficesAcceptLanguageEnum;
34
36
  ifNoneMatch?: string;
35
37
  xTenant?: string;
38
+ ifModifiedSince?: string;
36
39
  }
37
40
  export interface GetUniverseSchematicsSchematicIdRequest {
38
41
  schematicId: number;
@@ -40,6 +43,7 @@ export interface GetUniverseSchematicsSchematicIdRequest {
40
43
  acceptLanguage?: GetUniverseSchematicsSchematicIdAcceptLanguageEnum;
41
44
  ifNoneMatch?: string;
42
45
  xTenant?: string;
46
+ ifModifiedSince?: string;
43
47
  }
44
48
  /**
45
49
  * PlanetaryInteractionApi - interface
@@ -56,6 +60,7 @@ export interface PlanetaryInteractionApiInterface {
56
60
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
57
61
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
58
62
  * @param {string} [xTenant] The tenant ID for the request.
63
+ * @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.
59
64
  * @param {*} [options] Override http request option.
60
65
  * @throws {RequiredError}
61
66
  * @memberof PlanetaryInteractionApiInterface
@@ -75,6 +80,7 @@ export interface PlanetaryInteractionApiInterface {
75
80
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
76
81
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
77
82
  * @param {string} [xTenant] The tenant ID for the request.
83
+ * @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.
78
84
  * @param {*} [options] Override http request option.
79
85
  * @throws {RequiredError}
80
86
  * @memberof PlanetaryInteractionApiInterface
@@ -94,6 +100,7 @@ export interface PlanetaryInteractionApiInterface {
94
100
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
95
101
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
96
102
  * @param {string} [xTenant] The tenant ID for the request.
103
+ * @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.
97
104
  * @param {*} [options] Override http request option.
98
105
  * @throws {RequiredError}
99
106
  * @memberof PlanetaryInteractionApiInterface
@@ -112,6 +119,7 @@ export interface PlanetaryInteractionApiInterface {
112
119
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
113
120
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
114
121
  * @param {string} [xTenant] The tenant ID for the request.
122
+ * @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
123
  * @param {*} [options] Override http request option.
116
124
  * @throws {RequiredError}
117
125
  * @memberof PlanetaryInteractionApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetUniverseSchematicsSchematicIdAcceptLanguageEnum = exports.GetUniverseSchematicsSchematicIdXCompatibilityDateEnum = exports.GetCorporationsCorporationIdCustomsOfficesAcceptLanguageEnum = exports.GetCorporationsCorporationIdCustomsOfficesXCompatibilityDateEnum = exports.GetCharactersCharacterIdPlanetsPlanetIdAcceptLanguageEnum = exports.GetCharactersCharacterIdPlanetsPlanetIdXCompatibilityDateEnum = exports.GetCharactersCharacterIdPlanetsAcceptLanguageEnum = exports.GetCharactersCharacterIdPlanetsXCompatibilityDateEnum = exports.PlanetaryInteractionApi = 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 PlanetaryInteractionApi = /** @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 = "/characters/{character_id}/planets";
109
113
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
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 })');
@@ -175,9 +183,16 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
175
183
  if (requestParameters['xTenant'] != null) {
176
184
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
177
185
  }
186
+ if (requestParameters['ifModifiedSince'] != null) {
187
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
188
+ }
178
189
  urlPath = "/characters/{character_id}/planets/{planet_id}";
179
190
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
180
191
  urlPath = urlPath.replace("{".concat("planet_id", "}"), encodeURIComponent(String(requestParameters['planetId'])));
192
+ // Auto-inject X-Compatibility-Date if not already provided
193
+ if (!headerParameters['X-Compatibility-Date']) {
194
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
195
+ }
181
196
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
182
197
  if (!facade) {
183
198
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -246,8 +261,15 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
246
261
  if (requestParameters['xTenant'] != null) {
247
262
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
248
263
  }
264
+ if (requestParameters['ifModifiedSince'] != null) {
265
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
266
+ }
249
267
  urlPath = "/corporations/{corporation_id}/customs_offices";
250
268
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
269
+ // Auto-inject X-Compatibility-Date if not already provided
270
+ if (!headerParameters['X-Compatibility-Date']) {
271
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
272
+ }
251
273
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
252
274
  if (!facade) {
253
275
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -313,8 +335,15 @@ var PlanetaryInteractionApi = /** @class */ (function (_super) {
313
335
  if (requestParameters['xTenant'] != null) {
314
336
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
315
337
  }
338
+ if (requestParameters['ifModifiedSince'] != null) {
339
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
340
+ }
316
341
  urlPath = "/universe/schematics/{schematic_id}";
317
342
  urlPath = urlPath.replace("{".concat("schematic_id", "}"), encodeURIComponent(String(requestParameters['schematicId'])));
343
+ // Auto-inject X-Compatibility-Date if not already provided
344
+ if (!headerParameters['X-Compatibility-Date']) {
345
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
346
+ }
318
347
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
319
348
  if (!facade) {
320
349
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -19,6 +19,7 @@ export interface PostRouteRequest {
19
19
  acceptLanguage?: PostRouteAcceptLanguageEnum;
20
20
  ifNoneMatch?: string;
21
21
  xTenant?: string;
22
+ ifModifiedSince?: string;
22
23
  }
23
24
  /**
24
25
  * RoutesApi - interface
@@ -37,6 +38,7 @@ export interface RoutesApiInterface {
37
38
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
38
39
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
39
40
  * @param {string} [xTenant] The tenant ID for the request.
41
+ * @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.
40
42
  * @param {*} [options] Override http request option.
41
43
  * @throws {RequiredError}
42
44
  * @memberof RoutesApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PostRouteAcceptLanguageEnum = exports.PostRouteXCompatibilityDateEnum = exports.RoutesApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -112,9 +113,16 @@ var RoutesApi = /** @class */ (function (_super) {
112
113
  if (requestParameters['xTenant'] != null) {
113
114
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
114
115
  }
116
+ if (requestParameters['ifModifiedSince'] != null) {
117
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
118
+ }
115
119
  urlPath = "/route/{origin_system_id}/{destination_system_id}";
116
120
  urlPath = urlPath.replace("{".concat("origin_system_id", "}"), encodeURIComponent(String(requestParameters['originSystemId'])));
117
121
  urlPath = urlPath.replace("{".concat("destination_system_id", "}"), encodeURIComponent(String(requestParameters['destinationSystemId'])));
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
+ }
118
126
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
119
127
  if (!facade) {
120
128
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -20,6 +20,7 @@ export interface GetCharactersCharacterIdSearchRequest {
20
20
  acceptLanguage?: GetCharactersCharacterIdSearchAcceptLanguageEnum;
21
21
  ifNoneMatch?: string;
22
22
  xTenant?: string;
23
+ ifModifiedSince?: string;
23
24
  }
24
25
  /**
25
26
  * SearchApi - interface
@@ -39,6 +40,7 @@ export interface SearchApiInterface {
39
40
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
40
41
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
41
42
  * @param {string} [xTenant] The tenant ID for the request.
43
+ * @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.
42
44
  * @param {*} [options] Override http request option.
43
45
  * @throws {RequiredError}
44
46
  * @memberof SearchApiInterface
@@ -66,6 +66,7 @@ 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 constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -120,8 +121,15 @@ var SearchApi = /** @class */ (function (_super) {
120
121
  if (requestParameters['xTenant'] != null) {
121
122
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
122
123
  }
124
+ if (requestParameters['ifModifiedSince'] != null) {
125
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
126
+ }
123
127
  urlPath = "/characters/{character_id}/search";
124
128
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
129
+ // Auto-inject X-Compatibility-Date if not already provided
130
+ if (!headerParameters['X-Compatibility-Date']) {
131
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
132
+ }
125
133
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
126
134
  if (!facade) {
127
135
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -17,6 +17,7 @@ export interface GetCharactersCharacterIdAttributesRequest {
17
17
  acceptLanguage?: GetCharactersCharacterIdAttributesAcceptLanguageEnum;
18
18
  ifNoneMatch?: string;
19
19
  xTenant?: string;
20
+ ifModifiedSince?: string;
20
21
  }
21
22
  export interface GetCharactersCharacterIdSkillqueueRequest {
22
23
  characterId: number;
@@ -24,6 +25,7 @@ export interface GetCharactersCharacterIdSkillqueueRequest {
24
25
  acceptLanguage?: GetCharactersCharacterIdSkillqueueAcceptLanguageEnum;
25
26
  ifNoneMatch?: string;
26
27
  xTenant?: string;
28
+ ifModifiedSince?: string;
27
29
  }
28
30
  export interface GetCharactersCharacterIdSkillsRequest {
29
31
  characterId: number;
@@ -31,6 +33,7 @@ export interface GetCharactersCharacterIdSkillsRequest {
31
33
  acceptLanguage?: GetCharactersCharacterIdSkillsAcceptLanguageEnum;
32
34
  ifNoneMatch?: string;
33
35
  xTenant?: string;
36
+ ifModifiedSince?: string;
34
37
  }
35
38
  /**
36
39
  * SkillsApi - interface
@@ -47,6 +50,7 @@ export interface SkillsApiInterface {
47
50
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
48
51
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
49
52
  * @param {string} [xTenant] The tenant ID for the request.
53
+ * @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.
50
54
  * @param {*} [options] Override http request option.
51
55
  * @throws {RequiredError}
52
56
  * @memberof SkillsApiInterface
@@ -65,6 +69,7 @@ export interface SkillsApiInterface {
65
69
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
66
70
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
67
71
  * @param {string} [xTenant] The tenant ID for the request.
72
+ * @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.
68
73
  * @param {*} [options] Override http request option.
69
74
  * @throws {RequiredError}
70
75
  * @memberof SkillsApiInterface
@@ -83,6 +88,7 @@ export interface SkillsApiInterface {
83
88
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
84
89
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
85
90
  * @param {string} [xTenant] The tenant ID for the request.
91
+ * @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.
86
92
  * @param {*} [options] Override http request option.
87
93
  * @throws {RequiredError}
88
94
  * @memberof SkillsApiInterface
@@ -66,6 +66,7 @@ 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 constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -105,8 +106,15 @@ var SkillsApi = /** @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 = "/characters/{character_id}/attributes";
109
113
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
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 SkillsApi = /** @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 = "/characters/{character_id}/skillqueue";
176
187
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
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 })');
@@ -239,8 +254,15 @@ var SkillsApi = /** @class */ (function (_super) {
239
254
  if (requestParameters['xTenant'] != null) {
240
255
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
241
256
  }
257
+ if (requestParameters['ifModifiedSince'] != null) {
258
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
259
+ }
242
260
  urlPath = "/characters/{character_id}/skills";
243
261
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
262
+ // Auto-inject X-Compatibility-Date if not already provided
263
+ if (!headerParameters['X-Compatibility-Date']) {
264
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
265
+ }
244
266
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
245
267
  if (!facade) {
246
268
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');