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
  CharactersCharacterIdFwStatsGet,
@@ -32,6 +33,7 @@ export interface GetCharactersCharacterIdFwStatsRequest {
32
33
  acceptLanguage?: GetCharactersCharacterIdFwStatsAcceptLanguageEnum;
33
34
  ifNoneMatch?: string;
34
35
  xTenant?: string;
36
+ ifModifiedSince?: string;
35
37
  }
36
38
 
37
39
  export interface GetCorporationsCorporationIdFwStatsRequest {
@@ -40,6 +42,7 @@ export interface GetCorporationsCorporationIdFwStatsRequest {
40
42
  acceptLanguage?: GetCorporationsCorporationIdFwStatsAcceptLanguageEnum;
41
43
  ifNoneMatch?: string;
42
44
  xTenant?: string;
45
+ ifModifiedSince?: string;
43
46
  }
44
47
 
45
48
  export interface GetFwLeaderboardsRequest {
@@ -47,6 +50,7 @@ export interface GetFwLeaderboardsRequest {
47
50
  acceptLanguage?: GetFwLeaderboardsAcceptLanguageEnum;
48
51
  ifNoneMatch?: string;
49
52
  xTenant?: string;
53
+ ifModifiedSince?: string;
50
54
  }
51
55
 
52
56
  export interface GetFwLeaderboardsCharactersRequest {
@@ -54,6 +58,7 @@ export interface GetFwLeaderboardsCharactersRequest {
54
58
  acceptLanguage?: GetFwLeaderboardsCharactersAcceptLanguageEnum;
55
59
  ifNoneMatch?: string;
56
60
  xTenant?: string;
61
+ ifModifiedSince?: string;
57
62
  }
58
63
 
59
64
  export interface GetFwLeaderboardsCorporationsRequest {
@@ -61,6 +66,7 @@ export interface GetFwLeaderboardsCorporationsRequest {
61
66
  acceptLanguage?: GetFwLeaderboardsCorporationsAcceptLanguageEnum;
62
67
  ifNoneMatch?: string;
63
68
  xTenant?: string;
69
+ ifModifiedSince?: string;
64
70
  }
65
71
 
66
72
  export interface GetFwStatsRequest {
@@ -68,6 +74,7 @@ export interface GetFwStatsRequest {
68
74
  acceptLanguage?: GetFwStatsAcceptLanguageEnum;
69
75
  ifNoneMatch?: string;
70
76
  xTenant?: string;
77
+ ifModifiedSince?: string;
71
78
  }
72
79
 
73
80
  export interface GetFwSystemsRequest {
@@ -75,6 +82,7 @@ export interface GetFwSystemsRequest {
75
82
  acceptLanguage?: GetFwSystemsAcceptLanguageEnum;
76
83
  ifNoneMatch?: string;
77
84
  xTenant?: string;
85
+ ifModifiedSince?: string;
78
86
  }
79
87
 
80
88
  export interface GetFwWarsRequest {
@@ -82,6 +90,7 @@ export interface GetFwWarsRequest {
82
90
  acceptLanguage?: GetFwWarsAcceptLanguageEnum;
83
91
  ifNoneMatch?: string;
84
92
  xTenant?: string;
93
+ ifModifiedSince?: string;
85
94
  }
86
95
 
87
96
  /**
@@ -99,6 +108,7 @@ export interface FactionWarfareApiInterface {
99
108
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
100
109
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
101
110
  * @param {string} [xTenant] The tenant ID for the request.
111
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
102
112
  * @param {*} [options] Override http request option.
103
113
  * @throws {RequiredError}
104
114
  * @memberof FactionWarfareApiInterface
@@ -119,6 +129,7 @@ export interface FactionWarfareApiInterface {
119
129
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
120
130
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
121
131
  * @param {string} [xTenant] The tenant ID for the request.
132
+ * @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.
122
133
  * @param {*} [options] Override http request option.
123
134
  * @throws {RequiredError}
124
135
  * @memberof FactionWarfareApiInterface
@@ -138,6 +149,7 @@ export interface FactionWarfareApiInterface {
138
149
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
139
150
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
140
151
  * @param {string} [xTenant] The tenant ID for the request.
152
+ * @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.
141
153
  * @param {*} [options] Override http request option.
142
154
  * @throws {RequiredError}
143
155
  * @memberof FactionWarfareApiInterface
@@ -157,6 +169,7 @@ export interface FactionWarfareApiInterface {
157
169
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
158
170
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
159
171
  * @param {string} [xTenant] The tenant ID for the request.
172
+ * @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.
160
173
  * @param {*} [options] Override http request option.
161
174
  * @throws {RequiredError}
162
175
  * @memberof FactionWarfareApiInterface
@@ -176,6 +189,7 @@ export interface FactionWarfareApiInterface {
176
189
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
177
190
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
178
191
  * @param {string} [xTenant] The tenant ID for the request.
192
+ * @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.
179
193
  * @param {*} [options] Override http request option.
180
194
  * @throws {RequiredError}
181
195
  * @memberof FactionWarfareApiInterface
@@ -195,6 +209,7 @@ export interface FactionWarfareApiInterface {
195
209
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
196
210
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
197
211
  * @param {string} [xTenant] The tenant ID for the request.
212
+ * @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.
198
213
  * @param {*} [options] Override http request option.
199
214
  * @throws {RequiredError}
200
215
  * @memberof FactionWarfareApiInterface
@@ -214,6 +229,7 @@ export interface FactionWarfareApiInterface {
214
229
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
215
230
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
216
231
  * @param {string} [xTenant] The tenant ID for the request.
232
+ * @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.
217
233
  * @param {*} [options] Override http request option.
218
234
  * @throws {RequiredError}
219
235
  * @memberof FactionWarfareApiInterface
@@ -233,6 +249,7 @@ export interface FactionWarfareApiInterface {
233
249
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
234
250
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
235
251
  * @param {string} [xTenant] The tenant ID for the request.
252
+ * @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.
236
253
  * @param {*} [options] Override http request option.
237
254
  * @throws {RequiredError}
238
255
  * @memberof FactionWarfareApiInterface
@@ -291,6 +308,10 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
291
308
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
292
309
  }
293
310
 
311
+ if (requestParameters['ifModifiedSince'] != null) {
312
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
313
+ }
314
+
294
315
  /*
295
316
  if (this.configuration && this.configuration.accessToken) {
296
317
  // oauth required
@@ -302,6 +323,11 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
302
323
  let urlPath = `/characters/{character_id}/fw/stats`;
303
324
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
304
325
 
326
+ // Auto-inject X-Compatibility-Date if not already provided
327
+ if (!headerParameters['X-Compatibility-Date']) {
328
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
329
+ }
330
+
305
331
  const facade = this.configuration?.apiFacade;
306
332
  if (!facade) {
307
333
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -365,6 +391,10 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
365
391
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
366
392
  }
367
393
 
394
+ if (requestParameters['ifModifiedSince'] != null) {
395
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
396
+ }
397
+
368
398
  /*
369
399
  if (this.configuration && this.configuration.accessToken) {
370
400
  // oauth required
@@ -376,6 +406,11 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
376
406
  let urlPath = `/corporations/{corporation_id}/fw/stats`;
377
407
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
378
408
 
409
+ // Auto-inject X-Compatibility-Date if not already provided
410
+ if (!headerParameters['X-Compatibility-Date']) {
411
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
412
+ }
413
+
379
414
  const facade = this.configuration?.apiFacade;
380
415
  if (!facade) {
381
416
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -432,11 +467,20 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
432
467
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
433
468
  }
434
469
 
470
+ if (requestParameters['ifModifiedSince'] != null) {
471
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
472
+ }
473
+
435
474
  /*
436
475
  */
437
476
 
438
477
  let urlPath = `/fw/leaderboards`;
439
478
 
479
+ // Auto-inject X-Compatibility-Date if not already provided
480
+ if (!headerParameters['X-Compatibility-Date']) {
481
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
482
+ }
483
+
440
484
  const facade = this.configuration?.apiFacade;
441
485
  if (!facade) {
442
486
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -493,11 +537,20 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
493
537
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
494
538
  }
495
539
 
540
+ if (requestParameters['ifModifiedSince'] != null) {
541
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
542
+ }
543
+
496
544
  /*
497
545
  */
498
546
 
499
547
  let urlPath = `/fw/leaderboards/characters`;
500
548
 
549
+ // Auto-inject X-Compatibility-Date if not already provided
550
+ if (!headerParameters['X-Compatibility-Date']) {
551
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
552
+ }
553
+
501
554
  const facade = this.configuration?.apiFacade;
502
555
  if (!facade) {
503
556
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -554,11 +607,20 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
554
607
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
555
608
  }
556
609
 
610
+ if (requestParameters['ifModifiedSince'] != null) {
611
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
612
+ }
613
+
557
614
  /*
558
615
  */
559
616
 
560
617
  let urlPath = `/fw/leaderboards/corporations`;
561
618
 
619
+ // Auto-inject X-Compatibility-Date if not already provided
620
+ if (!headerParameters['X-Compatibility-Date']) {
621
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
622
+ }
623
+
562
624
  const facade = this.configuration?.apiFacade;
563
625
  if (!facade) {
564
626
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -615,11 +677,20 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
615
677
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
616
678
  }
617
679
 
680
+ if (requestParameters['ifModifiedSince'] != null) {
681
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
682
+ }
683
+
618
684
  /*
619
685
  */
620
686
 
621
687
  let urlPath = `/fw/stats`;
622
688
 
689
+ // Auto-inject X-Compatibility-Date if not already provided
690
+ if (!headerParameters['X-Compatibility-Date']) {
691
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
692
+ }
693
+
623
694
  const facade = this.configuration?.apiFacade;
624
695
  if (!facade) {
625
696
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -676,11 +747,20 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
676
747
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
677
748
  }
678
749
 
750
+ if (requestParameters['ifModifiedSince'] != null) {
751
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
752
+ }
753
+
679
754
  /*
680
755
  */
681
756
 
682
757
  let urlPath = `/fw/systems`;
683
758
 
759
+ // Auto-inject X-Compatibility-Date if not already provided
760
+ if (!headerParameters['X-Compatibility-Date']) {
761
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
762
+ }
763
+
684
764
  const facade = this.configuration?.apiFacade;
685
765
  if (!facade) {
686
766
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -737,11 +817,20 @@ export class FactionWarfareApi extends runtime.BaseAPI implements FactionWarfare
737
817
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
738
818
  }
739
819
 
820
+ if (requestParameters['ifModifiedSince'] != null) {
821
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
822
+ }
823
+
740
824
  /*
741
825
  */
742
826
 
743
827
  let urlPath = `/fw/wars`;
744
828
 
829
+ // Auto-inject X-Compatibility-Date if not already provided
830
+ if (!headerParameters['X-Compatibility-Date']) {
831
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
832
+ }
833
+
745
834
  const facade = this.configuration?.apiFacade;
746
835
  if (!facade) {
747
836
  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
  CharactersCharacterIdFittingsGetInner,
@@ -28,6 +29,7 @@ export interface DeleteCharactersCharacterIdFittingsFittingIdRequest {
28
29
  acceptLanguage?: DeleteCharactersCharacterIdFittingsFittingIdAcceptLanguageEnum;
29
30
  ifNoneMatch?: string;
30
31
  xTenant?: string;
32
+ ifModifiedSince?: string;
31
33
  }
32
34
 
33
35
  export interface GetCharactersCharacterIdFittingsRequest {
@@ -36,6 +38,7 @@ export interface GetCharactersCharacterIdFittingsRequest {
36
38
  acceptLanguage?: GetCharactersCharacterIdFittingsAcceptLanguageEnum;
37
39
  ifNoneMatch?: string;
38
40
  xTenant?: string;
41
+ ifModifiedSince?: string;
39
42
  }
40
43
 
41
44
  export interface PostCharactersCharacterIdFittingsOperationRequest {
@@ -45,6 +48,7 @@ export interface PostCharactersCharacterIdFittingsOperationRequest {
45
48
  acceptLanguage?: PostCharactersCharacterIdFittingsOperationAcceptLanguageEnum;
46
49
  ifNoneMatch?: string;
47
50
  xTenant?: string;
51
+ ifModifiedSince?: string;
48
52
  }
49
53
 
50
54
  /**
@@ -63,6 +67,7 @@ export interface FittingsApiInterface {
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 FittingsApiInterface
@@ -83,6 +88,7 @@ export interface FittingsApiInterface {
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 FittingsApiInterface
@@ -104,6 +110,7 @@ export interface FittingsApiInterface {
104
110
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
105
111
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
106
112
  * @param {string} [xTenant] The tenant ID for the request.
113
+ * @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.
107
114
  * @param {*} [options] Override http request option.
108
115
  * @throws {RequiredError}
109
116
  * @memberof FittingsApiInterface
@@ -169,6 +176,10 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
169
176
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
170
177
  }
171
178
 
179
+ if (requestParameters['ifModifiedSince'] != null) {
180
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
181
+ }
182
+
172
183
  /*
173
184
  if (this.configuration && this.configuration.accessToken) {
174
185
  // oauth required
@@ -181,6 +192,11 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
181
192
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
182
193
  urlPath = urlPath.replace(`{${"fitting_id"}}`, encodeURIComponent(String(requestParameters['fittingId'])));
183
194
 
195
+ // Auto-inject X-Compatibility-Date if not already provided
196
+ if (!headerParameters['X-Compatibility-Date']) {
197
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
198
+ }
199
+
184
200
  const facade = this.configuration?.apiFacade;
185
201
  if (!facade) {
186
202
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -243,6 +259,10 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
243
259
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
244
260
  }
245
261
 
262
+ if (requestParameters['ifModifiedSince'] != null) {
263
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
264
+ }
265
+
246
266
  /*
247
267
  if (this.configuration && this.configuration.accessToken) {
248
268
  // oauth required
@@ -254,6 +274,11 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
254
274
  let urlPath = `/characters/{character_id}/fittings`;
255
275
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
256
276
 
277
+ // Auto-inject X-Compatibility-Date if not already provided
278
+ if (!headerParameters['X-Compatibility-Date']) {
279
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
280
+ }
281
+
257
282
  const facade = this.configuration?.apiFacade;
258
283
  if (!facade) {
259
284
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -326,6 +351,10 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
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
  if (this.configuration && this.configuration.accessToken) {
331
360
  // oauth required
@@ -337,6 +366,11 @@ export class FittingsApi extends runtime.BaseAPI implements FittingsApiInterface
337
366
  let urlPath = `/characters/{character_id}/fittings`;
338
367
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
339
368
 
369
+ // Auto-inject X-Compatibility-Date if not already provided
370
+ if (!headerParameters['X-Compatibility-Date']) {
371
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
372
+ }
373
+
340
374
  const facade = this.configuration?.apiFacade;
341
375
  if (!facade) {
342
376
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');