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
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
+ import { ESI_COMPATIBILITY_DATE } from '../constants';
17
18
 
18
19
  import type {
19
20
  CharactersCharacterIdKillmailsRecentGetInner,
@@ -27,6 +28,7 @@ export interface GetCharactersCharacterIdKillmailsRecentRequest {
27
28
  acceptLanguage?: GetCharactersCharacterIdKillmailsRecentAcceptLanguageEnum;
28
29
  ifNoneMatch?: string;
29
30
  xTenant?: string;
31
+ ifModifiedSince?: string;
30
32
  }
31
33
 
32
34
  export interface GetCorporationsCorporationIdKillmailsRecentRequest {
@@ -36,6 +38,7 @@ export interface GetCorporationsCorporationIdKillmailsRecentRequest {
36
38
  acceptLanguage?: GetCorporationsCorporationIdKillmailsRecentAcceptLanguageEnum;
37
39
  ifNoneMatch?: string;
38
40
  xTenant?: string;
41
+ ifModifiedSince?: string;
39
42
  }
40
43
 
41
44
  export interface GetKillmailsKillmailIdKillmailHashRequest {
@@ -45,6 +48,7 @@ export interface GetKillmailsKillmailIdKillmailHashRequest {
45
48
  acceptLanguage?: GetKillmailsKillmailIdKillmailHashAcceptLanguageEnum;
46
49
  ifNoneMatch?: string;
47
50
  xTenant?: string;
51
+ ifModifiedSince?: string;
48
52
  }
49
53
 
50
54
  /**
@@ -63,6 +67,7 @@ export interface KillmailsApiInterface {
63
67
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
64
68
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
65
69
  * @param {string} [xTenant] The tenant ID for the request.
70
+ * @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.
66
71
  * @param {*} [options] Override http request option.
67
72
  * @throws {RequiredError}
68
73
  * @memberof KillmailsApiInterface
@@ -84,6 +89,7 @@ export interface KillmailsApiInterface {
84
89
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
85
90
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
86
91
  * @param {string} [xTenant] The tenant ID for the request.
92
+ * @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.
87
93
  * @param {*} [options] Override http request option.
88
94
  * @throws {RequiredError}
89
95
  * @memberof KillmailsApiInterface
@@ -105,6 +111,7 @@ export interface KillmailsApiInterface {
105
111
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
106
112
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
107
113
  * @param {string} [xTenant] The tenant ID for the request.
114
+ * @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.
108
115
  * @param {*} [options] Override http request option.
109
116
  * @throws {RequiredError}
110
117
  * @memberof KillmailsApiInterface
@@ -167,6 +174,10 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
167
174
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
168
175
  }
169
176
 
177
+ if (requestParameters['ifModifiedSince'] != null) {
178
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
179
+ }
180
+
170
181
  /*
171
182
  if (this.configuration && this.configuration.accessToken) {
172
183
  // oauth required
@@ -178,6 +189,11 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
178
189
  let urlPath = `/characters/{character_id}/killmails/recent`;
179
190
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
180
191
 
192
+ // Auto-inject X-Compatibility-Date if not already provided
193
+ if (!headerParameters['X-Compatibility-Date']) {
194
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
195
+ }
196
+
181
197
  const facade = this.configuration?.apiFacade;
182
198
  if (!facade) {
183
199
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -245,6 +261,10 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
245
261
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
246
262
  }
247
263
 
264
+ if (requestParameters['ifModifiedSince'] != null) {
265
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
266
+ }
267
+
248
268
  /*
249
269
  if (this.configuration && this.configuration.accessToken) {
250
270
  // oauth required
@@ -256,6 +276,11 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
256
276
  let urlPath = `/corporations/{corporation_id}/killmails/recent`;
257
277
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
258
278
 
279
+ // Auto-inject X-Compatibility-Date if not already provided
280
+ if (!headerParameters['X-Compatibility-Date']) {
281
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
282
+ }
283
+
259
284
  const facade = this.configuration?.apiFacade;
260
285
  if (!facade) {
261
286
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -326,6 +351,10 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
326
351
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
327
352
  }
328
353
 
354
+ if (requestParameters['ifModifiedSince'] != null) {
355
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
356
+ }
357
+
329
358
  /*
330
359
  */
331
360
 
@@ -333,6 +362,11 @@ export class KillmailsApi extends runtime.BaseAPI implements KillmailsApiInterfa
333
362
  urlPath = urlPath.replace(`{${"killmail_hash"}}`, encodeURIComponent(String(requestParameters['killmailHash'])));
334
363
  urlPath = urlPath.replace(`{${"killmail_id"}}`, encodeURIComponent(String(requestParameters['killmailId'])));
335
364
 
365
+ // Auto-inject X-Compatibility-Date if not already provided
366
+ if (!headerParameters['X-Compatibility-Date']) {
367
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
368
+ }
369
+
336
370
  const facade = this.configuration?.apiFacade;
337
371
  if (!facade) {
338
372
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
+ import { ESI_COMPATIBILITY_DATE } from '../constants';
17
18
 
18
19
  import type {
19
20
  CharactersCharacterIdLocationGet,
@@ -27,6 +28,7 @@ export interface GetCharactersCharacterIdLocationRequest {
27
28
  acceptLanguage?: GetCharactersCharacterIdLocationAcceptLanguageEnum;
28
29
  ifNoneMatch?: string;
29
30
  xTenant?: string;
31
+ ifModifiedSince?: string;
30
32
  }
31
33
 
32
34
  export interface GetCharactersCharacterIdOnlineRequest {
@@ -35,6 +37,7 @@ export interface GetCharactersCharacterIdOnlineRequest {
35
37
  acceptLanguage?: GetCharactersCharacterIdOnlineAcceptLanguageEnum;
36
38
  ifNoneMatch?: string;
37
39
  xTenant?: string;
40
+ ifModifiedSince?: string;
38
41
  }
39
42
 
40
43
  export interface GetCharactersCharacterIdShipRequest {
@@ -43,6 +46,7 @@ export interface GetCharactersCharacterIdShipRequest {
43
46
  acceptLanguage?: GetCharactersCharacterIdShipAcceptLanguageEnum;
44
47
  ifNoneMatch?: string;
45
48
  xTenant?: string;
49
+ ifModifiedSince?: string;
46
50
  }
47
51
 
48
52
  /**
@@ -60,6 +64,7 @@ export interface LocationApiInterface {
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 LocationApiInterface
@@ -80,6 +85,7 @@ export interface LocationApiInterface {
80
85
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
81
86
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
82
87
  * @param {string} [xTenant] The tenant ID for the request.
88
+ * @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.
83
89
  * @param {*} [options] Override http request option.
84
90
  * @throws {RequiredError}
85
91
  * @memberof LocationApiInterface
@@ -100,6 +106,7 @@ export interface LocationApiInterface {
100
106
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
101
107
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
102
108
  * @param {string} [xTenant] The tenant ID for the request.
109
+ * @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.
103
110
  * @param {*} [options] Override http request option.
104
111
  * @throws {RequiredError}
105
112
  * @memberof LocationApiInterface
@@ -158,6 +165,10 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
158
165
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
159
166
  }
160
167
 
168
+ if (requestParameters['ifModifiedSince'] != null) {
169
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
170
+ }
171
+
161
172
  /*
162
173
  if (this.configuration && this.configuration.accessToken) {
163
174
  // oauth required
@@ -169,6 +180,11 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
169
180
  let urlPath = `/characters/{character_id}/location`;
170
181
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
171
182
 
183
+ // Auto-inject X-Compatibility-Date if not already provided
184
+ if (!headerParameters['X-Compatibility-Date']) {
185
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
186
+ }
187
+
172
188
  const facade = this.configuration?.apiFacade;
173
189
  if (!facade) {
174
190
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -232,6 +248,10 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
232
248
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
233
249
  }
234
250
 
251
+ if (requestParameters['ifModifiedSince'] != null) {
252
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
253
+ }
254
+
235
255
  /*
236
256
  if (this.configuration && this.configuration.accessToken) {
237
257
  // oauth required
@@ -243,6 +263,11 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
243
263
  let urlPath = `/characters/{character_id}/online`;
244
264
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
245
265
 
266
+ // Auto-inject X-Compatibility-Date if not already provided
267
+ if (!headerParameters['X-Compatibility-Date']) {
268
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
269
+ }
270
+
246
271
  const facade = this.configuration?.apiFacade;
247
272
  if (!facade) {
248
273
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -306,6 +331,10 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
306
331
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
307
332
  }
308
333
 
334
+ if (requestParameters['ifModifiedSince'] != null) {
335
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
336
+ }
337
+
309
338
  /*
310
339
  if (this.configuration && this.configuration.accessToken) {
311
340
  // oauth required
@@ -317,6 +346,11 @@ export class LocationApi extends runtime.BaseAPI implements LocationApiInterface
317
346
  let urlPath = `/characters/{character_id}/ship`;
318
347
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
319
348
 
349
+ // Auto-inject X-Compatibility-Date if not already provided
350
+ if (!headerParameters['X-Compatibility-Date']) {
351
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
352
+ }
353
+
320
354
  const facade = this.configuration?.apiFacade;
321
355
  if (!facade) {
322
356
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
+ import { ESI_COMPATIBILITY_DATE } from '../constants';
17
18
 
18
19
  import type {
19
20
  CharactersCharacterIdLoyaltyPointsGetInner,
@@ -26,6 +27,7 @@ export interface GetCharactersCharacterIdLoyaltyPointsRequest {
26
27
  acceptLanguage?: GetCharactersCharacterIdLoyaltyPointsAcceptLanguageEnum;
27
28
  ifNoneMatch?: string;
28
29
  xTenant?: string;
30
+ ifModifiedSince?: string;
29
31
  }
30
32
 
31
33
  export interface GetLoyaltyStoresCorporationIdOffersRequest {
@@ -34,6 +36,7 @@ export interface GetLoyaltyStoresCorporationIdOffersRequest {
34
36
  acceptLanguage?: GetLoyaltyStoresCorporationIdOffersAcceptLanguageEnum;
35
37
  ifNoneMatch?: string;
36
38
  xTenant?: string;
39
+ ifModifiedSince?: string;
37
40
  }
38
41
 
39
42
  /**
@@ -51,6 +54,7 @@ export interface LoyaltyApiInterface {
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 LoyaltyApiInterface
@@ -71,6 +75,7 @@ export interface LoyaltyApiInterface {
71
75
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
72
76
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
73
77
  * @param {string} [xTenant] The tenant ID for the request.
78
+ * @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.
74
79
  * @param {*} [options] Override http request option.
75
80
  * @throws {RequiredError}
76
81
  * @memberof LoyaltyApiInterface
@@ -129,6 +134,10 @@ export class LoyaltyApi extends runtime.BaseAPI implements LoyaltyApiInterface {
129
134
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
130
135
  }
131
136
 
137
+ if (requestParameters['ifModifiedSince'] != null) {
138
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
139
+ }
140
+
132
141
  /*
133
142
  if (this.configuration && this.configuration.accessToken) {
134
143
  // oauth required
@@ -140,6 +149,11 @@ export class LoyaltyApi extends runtime.BaseAPI implements LoyaltyApiInterface {
140
149
  let urlPath = `/characters/{character_id}/loyalty/points`;
141
150
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
142
151
 
152
+ // Auto-inject X-Compatibility-Date if not already provided
153
+ if (!headerParameters['X-Compatibility-Date']) {
154
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
155
+ }
156
+
143
157
  const facade = this.configuration?.apiFacade;
144
158
  if (!facade) {
145
159
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -203,12 +217,21 @@ export class LoyaltyApi extends runtime.BaseAPI implements LoyaltyApiInterface {
203
217
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
204
218
  }
205
219
 
220
+ if (requestParameters['ifModifiedSince'] != null) {
221
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
222
+ }
223
+
206
224
  /*
207
225
  */
208
226
 
209
227
  let urlPath = `/loyalty/stores/{corporation_id}/offers`;
210
228
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
211
229
 
230
+ // Auto-inject X-Compatibility-Date if not already provided
231
+ if (!headerParameters['X-Compatibility-Date']) {
232
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
233
+ }
234
+
212
235
  const facade = this.configuration?.apiFacade;
213
236
  if (!facade) {
214
237
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');