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.GetFreelanceJobsListingAcceptLanguageEnum = exports.GetFreelanceJobsListingXCompatibilityDateEnum = exports.GetFreelanceJobsDetailAcceptLanguageEnum = exports.GetFreelanceJobsDetailXCompatibilityDateEnum = exports.GetCorporationsFreelanceJobsParticipantsAcceptLanguageEnum = exports.GetCorporationsFreelanceJobsParticipantsXCompatibilityDateEnum = exports.GetCorporationsFreelanceJobsListingAcceptLanguageEnum = exports.GetCorporationsFreelanceJobsListingXCompatibilityDateEnum = exports.GetCharactersFreelanceJobsParticipationAcceptLanguageEnum = exports.GetCharactersFreelanceJobsParticipationXCompatibilityDateEnum = exports.GetCharactersFreelanceJobsListingAcceptLanguageEnum = exports.GetCharactersFreelanceJobsListingXCompatibilityDateEnum = exports.FreelanceJobsApi = 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 FreelanceJobsApi = /** @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}/freelance-jobs";
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 FreelanceJobsApi = /** @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}/freelance-jobs/{job_id}/participation";
179
190
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
180
191
  urlPath = urlPath.replace("{".concat("job_id", "}"), encodeURIComponent(String(requestParameters['jobId'])));
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 })');
@@ -252,8 +267,15 @@ var FreelanceJobsApi = /** @class */ (function (_super) {
252
267
  if (requestParameters['xTenant'] != null) {
253
268
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
254
269
  }
270
+ if (requestParameters['ifModifiedSince'] != null) {
271
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
272
+ }
255
273
  urlPath = "/corporations/{corporation_id}/freelance-jobs";
256
274
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
275
+ // Auto-inject X-Compatibility-Date if not already provided
276
+ if (!headerParameters['X-Compatibility-Date']) {
277
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
278
+ }
257
279
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
258
280
  if (!facade) {
259
281
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -331,9 +353,16 @@ var FreelanceJobsApi = /** @class */ (function (_super) {
331
353
  if (requestParameters['xTenant'] != null) {
332
354
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
333
355
  }
356
+ if (requestParameters['ifModifiedSince'] != null) {
357
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
358
+ }
334
359
  urlPath = "/corporations/{corporation_id}/freelance-jobs/{job_id}/participants";
335
360
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
336
361
  urlPath = urlPath.replace("{".concat("job_id", "}"), encodeURIComponent(String(requestParameters['jobId'])));
362
+ // Auto-inject X-Compatibility-Date if not already provided
363
+ if (!headerParameters['X-Compatibility-Date']) {
364
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
365
+ }
337
366
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
338
367
  if (!facade) {
339
368
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -387,9 +416,6 @@ var FreelanceJobsApi = /** @class */ (function (_super) {
387
416
  }
388
417
  queryParameters = {};
389
418
  headerParameters = {};
390
- if (requestParameters['ifModifiedSince'] != null) {
391
- headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
392
- }
393
419
  if (requestParameters['acceptLanguage'] != null) {
394
420
  headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
395
421
  }
@@ -402,8 +428,15 @@ var FreelanceJobsApi = /** @class */ (function (_super) {
402
428
  if (requestParameters['xTenant'] != null) {
403
429
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
404
430
  }
431
+ if (requestParameters['ifModifiedSince'] != null) {
432
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
433
+ }
405
434
  urlPath = "/freelance-jobs/{job_id}";
406
435
  urlPath = urlPath.replace("{".concat("job_id", "}"), encodeURIComponent(String(requestParameters['jobId'])));
436
+ // Auto-inject X-Compatibility-Date if not already provided
437
+ if (!headerParameters['X-Compatibility-Date']) {
438
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
439
+ }
407
440
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
408
441
  if (!facade) {
409
442
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -478,7 +511,14 @@ var FreelanceJobsApi = /** @class */ (function (_super) {
478
511
  if (requestParameters['xTenant'] != null) {
479
512
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
480
513
  }
514
+ if (requestParameters['ifModifiedSince'] != null) {
515
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
516
+ }
481
517
  urlPath = "/freelance-jobs";
518
+ // Auto-inject X-Compatibility-Date if not already provided
519
+ if (!headerParameters['X-Compatibility-Date']) {
520
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
521
+ }
482
522
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
483
523
  if (!facade) {
484
524
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -16,6 +16,7 @@ export interface GetIncursionsRequest {
16
16
  acceptLanguage?: GetIncursionsAcceptLanguageEnum;
17
17
  ifNoneMatch?: string;
18
18
  xTenant?: string;
19
+ ifModifiedSince?: string;
19
20
  }
20
21
  /**
21
22
  * IncursionsApi - interface
@@ -31,6 +32,7 @@ export interface IncursionsApiInterface {
31
32
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
32
33
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
33
34
  * @param {string} [xTenant] The tenant ID for the request.
35
+ * @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.
34
36
  * @param {*} [options] Override http request option.
35
37
  * @throws {RequiredError}
36
38
  * @memberof IncursionsApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetIncursionsAcceptLanguageEnum = exports.GetIncursionsXCompatibilityDateEnum = exports.IncursionsApi = 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 IncursionsApi = /** @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 = "/incursions";
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 })');
@@ -18,6 +18,7 @@ export interface GetCharactersCharacterIdIndustryJobsRequest {
18
18
  acceptLanguage?: GetCharactersCharacterIdIndustryJobsAcceptLanguageEnum;
19
19
  ifNoneMatch?: string;
20
20
  xTenant?: string;
21
+ ifModifiedSince?: string;
21
22
  }
22
23
  export interface GetCharactersCharacterIdMiningRequest {
23
24
  characterId: number;
@@ -26,6 +27,7 @@ export interface GetCharactersCharacterIdMiningRequest {
26
27
  acceptLanguage?: GetCharactersCharacterIdMiningAcceptLanguageEnum;
27
28
  ifNoneMatch?: string;
28
29
  xTenant?: string;
30
+ ifModifiedSince?: string;
29
31
  }
30
32
  export interface GetCorporationCorporationIdMiningExtractionsRequest {
31
33
  corporationId: number;
@@ -34,6 +36,7 @@ export interface GetCorporationCorporationIdMiningExtractionsRequest {
34
36
  acceptLanguage?: GetCorporationCorporationIdMiningExtractionsAcceptLanguageEnum;
35
37
  ifNoneMatch?: string;
36
38
  xTenant?: string;
39
+ ifModifiedSince?: string;
37
40
  }
38
41
  export interface GetCorporationCorporationIdMiningObserversRequest {
39
42
  corporationId: number;
@@ -42,6 +45,7 @@ export interface GetCorporationCorporationIdMiningObserversRequest {
42
45
  acceptLanguage?: GetCorporationCorporationIdMiningObserversAcceptLanguageEnum;
43
46
  ifNoneMatch?: string;
44
47
  xTenant?: string;
48
+ ifModifiedSince?: string;
45
49
  }
46
50
  export interface GetCorporationCorporationIdMiningObserversObserverIdRequest {
47
51
  corporationId: number;
@@ -51,6 +55,7 @@ export interface GetCorporationCorporationIdMiningObserversObserverIdRequest {
51
55
  acceptLanguage?: GetCorporationCorporationIdMiningObserversObserverIdAcceptLanguageEnum;
52
56
  ifNoneMatch?: string;
53
57
  xTenant?: string;
58
+ ifModifiedSince?: string;
54
59
  }
55
60
  export interface GetCorporationsCorporationIdIndustryJobsRequest {
56
61
  corporationId: number;
@@ -60,18 +65,21 @@ export interface GetCorporationsCorporationIdIndustryJobsRequest {
60
65
  acceptLanguage?: GetCorporationsCorporationIdIndustryJobsAcceptLanguageEnum;
61
66
  ifNoneMatch?: string;
62
67
  xTenant?: string;
68
+ ifModifiedSince?: string;
63
69
  }
64
70
  export interface GetIndustryFacilitiesRequest {
65
71
  xCompatibilityDate: GetIndustryFacilitiesXCompatibilityDateEnum;
66
72
  acceptLanguage?: GetIndustryFacilitiesAcceptLanguageEnum;
67
73
  ifNoneMatch?: string;
68
74
  xTenant?: string;
75
+ ifModifiedSince?: string;
69
76
  }
70
77
  export interface GetIndustrySystemsRequest {
71
78
  xCompatibilityDate: GetIndustrySystemsXCompatibilityDateEnum;
72
79
  acceptLanguage?: GetIndustrySystemsAcceptLanguageEnum;
73
80
  ifNoneMatch?: string;
74
81
  xTenant?: string;
82
+ ifModifiedSince?: string;
75
83
  }
76
84
  /**
77
85
  * IndustryApi - interface
@@ -89,6 +97,7 @@ export interface IndustryApiInterface {
89
97
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
90
98
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
91
99
  * @param {string} [xTenant] The tenant ID for the request.
100
+ * @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.
92
101
  * @param {*} [options] Override http request option.
93
102
  * @throws {RequiredError}
94
103
  * @memberof IndustryApiInterface
@@ -108,6 +117,7 @@ export interface IndustryApiInterface {
108
117
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
109
118
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
110
119
  * @param {string} [xTenant] The tenant ID for the request.
120
+ * @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.
111
121
  * @param {*} [options] Override http request option.
112
122
  * @throws {RequiredError}
113
123
  * @memberof IndustryApiInterface
@@ -127,6 +137,7 @@ export interface IndustryApiInterface {
127
137
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
128
138
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
129
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.
130
141
  * @param {*} [options] Override http request option.
131
142
  * @throws {RequiredError}
132
143
  * @memberof IndustryApiInterface
@@ -146,6 +157,7 @@ export interface IndustryApiInterface {
146
157
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
147
158
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
148
159
  * @param {string} [xTenant] The tenant ID for the request.
160
+ * @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.
149
161
  * @param {*} [options] Override http request option.
150
162
  * @throws {RequiredError}
151
163
  * @memberof IndustryApiInterface
@@ -166,6 +178,7 @@ export interface IndustryApiInterface {
166
178
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
167
179
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
168
180
  * @param {string} [xTenant] The tenant ID for the request.
181
+ * @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.
169
182
  * @param {*} [options] Override http request option.
170
183
  * @throws {RequiredError}
171
184
  * @memberof IndustryApiInterface
@@ -186,6 +199,7 @@ export interface IndustryApiInterface {
186
199
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
187
200
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
188
201
  * @param {string} [xTenant] The tenant ID for the request.
202
+ * @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.
189
203
  * @param {*} [options] Override http request option.
190
204
  * @throws {RequiredError}
191
205
  * @memberof IndustryApiInterface
@@ -203,6 +217,7 @@ export interface IndustryApiInterface {
203
217
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
204
218
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
205
219
  * @param {string} [xTenant] The tenant ID for the request.
220
+ * @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.
206
221
  * @param {*} [options] Override http request option.
207
222
  * @throws {RequiredError}
208
223
  * @memberof IndustryApiInterface
@@ -220,6 +235,7 @@ export interface IndustryApiInterface {
220
235
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
221
236
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
222
237
  * @param {string} [xTenant] The tenant ID for the request.
238
+ * @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.
223
239
  * @param {*} [options] Override http request option.
224
240
  * @throws {RequiredError}
225
241
  * @memberof IndustryApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetIndustrySystemsAcceptLanguageEnum = exports.GetIndustrySystemsXCompatibilityDateEnum = exports.GetIndustryFacilitiesAcceptLanguageEnum = exports.GetIndustryFacilitiesXCompatibilityDateEnum = exports.GetCorporationsCorporationIdIndustryJobsAcceptLanguageEnum = exports.GetCorporationsCorporationIdIndustryJobsXCompatibilityDateEnum = exports.GetCorporationCorporationIdMiningObserversObserverIdAcceptLanguageEnum = exports.GetCorporationCorporationIdMiningObserversObserverIdXCompatibilityDateEnum = exports.GetCorporationCorporationIdMiningObserversAcceptLanguageEnum = exports.GetCorporationCorporationIdMiningObserversXCompatibilityDateEnum = exports.GetCorporationCorporationIdMiningExtractionsAcceptLanguageEnum = exports.GetCorporationCorporationIdMiningExtractionsXCompatibilityDateEnum = exports.GetCharactersCharacterIdMiningAcceptLanguageEnum = exports.GetCharactersCharacterIdMiningXCompatibilityDateEnum = exports.GetCharactersCharacterIdIndustryJobsAcceptLanguageEnum = exports.GetCharactersCharacterIdIndustryJobsXCompatibilityDateEnum = exports.IndustryApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -108,8 +109,15 @@ var IndustryApi = /** @class */ (function (_super) {
108
109
  if (requestParameters['xTenant'] != null) {
109
110
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
110
111
  }
112
+ if (requestParameters['ifModifiedSince'] != null) {
113
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
114
+ }
111
115
  urlPath = "/characters/{character_id}/industry/jobs";
112
116
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
117
+ // Auto-inject X-Compatibility-Date if not already provided
118
+ if (!headerParameters['X-Compatibility-Date']) {
119
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
120
+ }
113
121
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
114
122
  if (!facade) {
115
123
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -178,8 +186,15 @@ var IndustryApi = /** @class */ (function (_super) {
178
186
  if (requestParameters['xTenant'] != null) {
179
187
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
180
188
  }
189
+ if (requestParameters['ifModifiedSince'] != null) {
190
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
191
+ }
181
192
  urlPath = "/characters/{character_id}/mining";
182
193
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
194
+ // Auto-inject X-Compatibility-Date if not already provided
195
+ if (!headerParameters['X-Compatibility-Date']) {
196
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
197
+ }
183
198
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
184
199
  if (!facade) {
185
200
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -248,8 +263,15 @@ var IndustryApi = /** @class */ (function (_super) {
248
263
  if (requestParameters['xTenant'] != null) {
249
264
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
250
265
  }
266
+ if (requestParameters['ifModifiedSince'] != null) {
267
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
268
+ }
251
269
  urlPath = "/corporation/{corporation_id}/mining/extractions";
252
270
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
271
+ // Auto-inject X-Compatibility-Date if not already provided
272
+ if (!headerParameters['X-Compatibility-Date']) {
273
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
274
+ }
253
275
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
254
276
  if (!facade) {
255
277
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -318,8 +340,15 @@ var IndustryApi = /** @class */ (function (_super) {
318
340
  if (requestParameters['xTenant'] != null) {
319
341
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
320
342
  }
343
+ if (requestParameters['ifModifiedSince'] != null) {
344
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
345
+ }
321
346
  urlPath = "/corporation/{corporation_id}/mining/observers";
322
347
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
348
+ // Auto-inject X-Compatibility-Date if not already provided
349
+ if (!headerParameters['X-Compatibility-Date']) {
350
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
351
+ }
323
352
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
324
353
  if (!facade) {
325
354
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -391,9 +420,16 @@ var IndustryApi = /** @class */ (function (_super) {
391
420
  if (requestParameters['xTenant'] != null) {
392
421
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
393
422
  }
423
+ if (requestParameters['ifModifiedSince'] != null) {
424
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
425
+ }
394
426
  urlPath = "/corporation/{corporation_id}/mining/observers/{observer_id}";
395
427
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
396
428
  urlPath = urlPath.replace("{".concat("observer_id", "}"), encodeURIComponent(String(requestParameters['observerId'])));
429
+ // Auto-inject X-Compatibility-Date if not already provided
430
+ if (!headerParameters['X-Compatibility-Date']) {
431
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
432
+ }
397
433
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
398
434
  if (!facade) {
399
435
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -465,8 +501,15 @@ var IndustryApi = /** @class */ (function (_super) {
465
501
  if (requestParameters['xTenant'] != null) {
466
502
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
467
503
  }
504
+ if (requestParameters['ifModifiedSince'] != null) {
505
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
506
+ }
468
507
  urlPath = "/corporations/{corporation_id}/industry/jobs";
469
508
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
509
+ // Auto-inject X-Compatibility-Date if not already provided
510
+ if (!headerParameters['X-Compatibility-Date']) {
511
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
512
+ }
470
513
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
471
514
  if (!facade) {
472
515
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -529,7 +572,14 @@ var IndustryApi = /** @class */ (function (_super) {
529
572
  if (requestParameters['xTenant'] != null) {
530
573
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
531
574
  }
575
+ if (requestParameters['ifModifiedSince'] != null) {
576
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
577
+ }
532
578
  urlPath = "/industry/facilities";
579
+ // Auto-inject X-Compatibility-Date if not already provided
580
+ if (!headerParameters['X-Compatibility-Date']) {
581
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
582
+ }
533
583
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
534
584
  if (!facade) {
535
585
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -592,7 +642,14 @@ var IndustryApi = /** @class */ (function (_super) {
592
642
  if (requestParameters['xTenant'] != null) {
593
643
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
594
644
  }
645
+ if (requestParameters['ifModifiedSince'] != null) {
646
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
647
+ }
595
648
  urlPath = "/industry/systems";
649
+ // Auto-inject X-Compatibility-Date if not already provided
650
+ if (!headerParameters['X-Compatibility-Date']) {
651
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
652
+ }
596
653
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
597
654
  if (!facade) {
598
655
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -16,6 +16,7 @@ export interface GetInsurancePricesRequest {
16
16
  acceptLanguage?: GetInsurancePricesAcceptLanguageEnum;
17
17
  ifNoneMatch?: string;
18
18
  xTenant?: string;
19
+ ifModifiedSince?: string;
19
20
  }
20
21
  /**
21
22
  * InsuranceApi - interface
@@ -31,6 +32,7 @@ export interface InsuranceApiInterface {
31
32
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
32
33
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
33
34
  * @param {string} [xTenant] The tenant ID for the request.
35
+ * @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.
34
36
  * @param {*} [options] Override http request option.
35
37
  * @throws {RequiredError}
36
38
  * @memberof InsuranceApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetInsurancePricesAcceptLanguageEnum = exports.GetInsurancePricesXCompatibilityDateEnum = exports.InsuranceApi = 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 InsuranceApi = /** @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 = "/insurance/prices";
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 })');
@@ -18,6 +18,7 @@ export interface GetCharactersCharacterIdKillmailsRecentRequest {
18
18
  acceptLanguage?: GetCharactersCharacterIdKillmailsRecentAcceptLanguageEnum;
19
19
  ifNoneMatch?: string;
20
20
  xTenant?: string;
21
+ ifModifiedSince?: string;
21
22
  }
22
23
  export interface GetCorporationsCorporationIdKillmailsRecentRequest {
23
24
  corporationId: number;
@@ -26,6 +27,7 @@ export interface GetCorporationsCorporationIdKillmailsRecentRequest {
26
27
  acceptLanguage?: GetCorporationsCorporationIdKillmailsRecentAcceptLanguageEnum;
27
28
  ifNoneMatch?: string;
28
29
  xTenant?: string;
30
+ ifModifiedSince?: string;
29
31
  }
30
32
  export interface GetKillmailsKillmailIdKillmailHashRequest {
31
33
  killmailHash: string;
@@ -34,6 +36,7 @@ export interface GetKillmailsKillmailIdKillmailHashRequest {
34
36
  acceptLanguage?: GetKillmailsKillmailIdKillmailHashAcceptLanguageEnum;
35
37
  ifNoneMatch?: string;
36
38
  xTenant?: string;
39
+ ifModifiedSince?: string;
37
40
  }
38
41
  /**
39
42
  * KillmailsApi - interface
@@ -51,6 +54,7 @@ export interface KillmailsApiInterface {
51
54
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
52
55
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
53
56
  * @param {string} [xTenant] The tenant ID for the request.
57
+ * @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.
54
58
  * @param {*} [options] Override http request option.
55
59
  * @throws {RequiredError}
56
60
  * @memberof KillmailsApiInterface
@@ -70,6 +74,7 @@ export interface KillmailsApiInterface {
70
74
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
71
75
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
72
76
  * @param {string} [xTenant] The tenant ID for the request.
77
+ * @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
78
  * @param {*} [options] Override http request option.
74
79
  * @throws {RequiredError}
75
80
  * @memberof KillmailsApiInterface
@@ -89,6 +94,7 @@ export interface KillmailsApiInterface {
89
94
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
90
95
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
91
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.
92
98
  * @param {*} [options] Override http request option.
93
99
  * @throws {RequiredError}
94
100
  * @memberof KillmailsApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetKillmailsKillmailIdKillmailHashAcceptLanguageEnum = exports.GetKillmailsKillmailIdKillmailHashXCompatibilityDateEnum = exports.GetCorporationsCorporationIdKillmailsRecentAcceptLanguageEnum = exports.GetCorporationsCorporationIdKillmailsRecentXCompatibilityDateEnum = exports.GetCharactersCharacterIdKillmailsRecentAcceptLanguageEnum = exports.GetCharactersCharacterIdKillmailsRecentXCompatibilityDateEnum = exports.KillmailsApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -108,8 +109,15 @@ var KillmailsApi = /** @class */ (function (_super) {
108
109
  if (requestParameters['xTenant'] != null) {
109
110
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
110
111
  }
112
+ if (requestParameters['ifModifiedSince'] != null) {
113
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
114
+ }
111
115
  urlPath = "/characters/{character_id}/killmails/recent";
112
116
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
117
+ // Auto-inject X-Compatibility-Date if not already provided
118
+ if (!headerParameters['X-Compatibility-Date']) {
119
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
120
+ }
113
121
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
114
122
  if (!facade) {
115
123
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -178,8 +186,15 @@ var KillmailsApi = /** @class */ (function (_super) {
178
186
  if (requestParameters['xTenant'] != null) {
179
187
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
180
188
  }
189
+ if (requestParameters['ifModifiedSince'] != null) {
190
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
191
+ }
181
192
  urlPath = "/corporations/{corporation_id}/killmails/recent";
182
193
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
194
+ // Auto-inject X-Compatibility-Date if not already provided
195
+ if (!headerParameters['X-Compatibility-Date']) {
196
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
197
+ }
183
198
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
184
199
  if (!facade) {
185
200
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -248,9 +263,16 @@ var KillmailsApi = /** @class */ (function (_super) {
248
263
  if (requestParameters['xTenant'] != null) {
249
264
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
250
265
  }
266
+ if (requestParameters['ifModifiedSince'] != null) {
267
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
268
+ }
251
269
  urlPath = "/killmails/{killmail_id}/{killmail_hash}";
252
270
  urlPath = urlPath.replace("{".concat("killmail_hash", "}"), encodeURIComponent(String(requestParameters['killmailHash'])));
253
271
  urlPath = urlPath.replace("{".concat("killmail_id", "}"), encodeURIComponent(String(requestParameters['killmailId'])));
272
+ // Auto-inject X-Compatibility-Date if not already provided
273
+ if (!headerParameters['X-Compatibility-Date']) {
274
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
275
+ }
254
276
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
255
277
  if (!facade) {
256
278
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -17,6 +17,7 @@ export interface GetCharactersCharacterIdLocationRequest {
17
17
  acceptLanguage?: GetCharactersCharacterIdLocationAcceptLanguageEnum;
18
18
  ifNoneMatch?: string;
19
19
  xTenant?: string;
20
+ ifModifiedSince?: string;
20
21
  }
21
22
  export interface GetCharactersCharacterIdOnlineRequest {
22
23
  characterId: number;
@@ -24,6 +25,7 @@ export interface GetCharactersCharacterIdOnlineRequest {
24
25
  acceptLanguage?: GetCharactersCharacterIdOnlineAcceptLanguageEnum;
25
26
  ifNoneMatch?: string;
26
27
  xTenant?: string;
28
+ ifModifiedSince?: string;
27
29
  }
28
30
  export interface GetCharactersCharacterIdShipRequest {
29
31
  characterId: number;
@@ -31,6 +33,7 @@ export interface GetCharactersCharacterIdShipRequest {
31
33
  acceptLanguage?: GetCharactersCharacterIdShipAcceptLanguageEnum;
32
34
  ifNoneMatch?: string;
33
35
  xTenant?: string;
36
+ ifModifiedSince?: string;
34
37
  }
35
38
  /**
36
39
  * LocationApi - interface
@@ -47,6 +50,7 @@ export interface LocationApiInterface {
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 LocationApiInterface
@@ -65,6 +69,7 @@ export interface LocationApiInterface {
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 LocationApiInterface
@@ -83,6 +88,7 @@ export interface LocationApiInterface {
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 LocationApiInterface