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
  CharactersCharacterIdContractsContractIdBidsGetInner,
@@ -32,6 +33,7 @@ export interface GetCharactersCharacterIdContractsRequest {
32
33
  acceptLanguage?: GetCharactersCharacterIdContractsAcceptLanguageEnum;
33
34
  ifNoneMatch?: string;
34
35
  xTenant?: string;
36
+ ifModifiedSince?: string;
35
37
  }
36
38
 
37
39
  export interface GetCharactersCharacterIdContractsContractIdBidsRequest {
@@ -41,6 +43,7 @@ export interface GetCharactersCharacterIdContractsContractIdBidsRequest {
41
43
  acceptLanguage?: GetCharactersCharacterIdContractsContractIdBidsAcceptLanguageEnum;
42
44
  ifNoneMatch?: string;
43
45
  xTenant?: string;
46
+ ifModifiedSince?: string;
44
47
  }
45
48
 
46
49
  export interface GetCharactersCharacterIdContractsContractIdItemsRequest {
@@ -50,6 +53,7 @@ export interface GetCharactersCharacterIdContractsContractIdItemsRequest {
50
53
  acceptLanguage?: GetCharactersCharacterIdContractsContractIdItemsAcceptLanguageEnum;
51
54
  ifNoneMatch?: string;
52
55
  xTenant?: string;
56
+ ifModifiedSince?: string;
53
57
  }
54
58
 
55
59
  export interface GetContractsPublicBidsContractIdRequest {
@@ -59,6 +63,7 @@ export interface GetContractsPublicBidsContractIdRequest {
59
63
  acceptLanguage?: GetContractsPublicBidsContractIdAcceptLanguageEnum;
60
64
  ifNoneMatch?: string;
61
65
  xTenant?: string;
66
+ ifModifiedSince?: string;
62
67
  }
63
68
 
64
69
  export interface GetContractsPublicItemsContractIdRequest {
@@ -68,6 +73,7 @@ export interface GetContractsPublicItemsContractIdRequest {
68
73
  acceptLanguage?: GetContractsPublicItemsContractIdAcceptLanguageEnum;
69
74
  ifNoneMatch?: string;
70
75
  xTenant?: string;
76
+ ifModifiedSince?: string;
71
77
  }
72
78
 
73
79
  export interface GetContractsPublicRegionIdRequest {
@@ -77,6 +83,7 @@ export interface GetContractsPublicRegionIdRequest {
77
83
  acceptLanguage?: GetContractsPublicRegionIdAcceptLanguageEnum;
78
84
  ifNoneMatch?: string;
79
85
  xTenant?: string;
86
+ ifModifiedSince?: string;
80
87
  }
81
88
 
82
89
  export interface GetCorporationsCorporationIdContractsRequest {
@@ -86,6 +93,7 @@ export interface GetCorporationsCorporationIdContractsRequest {
86
93
  acceptLanguage?: GetCorporationsCorporationIdContractsAcceptLanguageEnum;
87
94
  ifNoneMatch?: string;
88
95
  xTenant?: string;
96
+ ifModifiedSince?: string;
89
97
  }
90
98
 
91
99
  export interface GetCorporationsCorporationIdContractsContractIdBidsRequest {
@@ -96,6 +104,7 @@ export interface GetCorporationsCorporationIdContractsContractIdBidsRequest {
96
104
  acceptLanguage?: GetCorporationsCorporationIdContractsContractIdBidsAcceptLanguageEnum;
97
105
  ifNoneMatch?: string;
98
106
  xTenant?: string;
107
+ ifModifiedSince?: string;
99
108
  }
100
109
 
101
110
  export interface GetCorporationsCorporationIdContractsContractIdItemsRequest {
@@ -105,6 +114,7 @@ export interface GetCorporationsCorporationIdContractsContractIdItemsRequest {
105
114
  acceptLanguage?: GetCorporationsCorporationIdContractsContractIdItemsAcceptLanguageEnum;
106
115
  ifNoneMatch?: string;
107
116
  xTenant?: string;
117
+ ifModifiedSince?: string;
108
118
  }
109
119
 
110
120
  /**
@@ -123,6 +133,7 @@ export interface ContractsApiInterface {
123
133
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
124
134
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
125
135
  * @param {string} [xTenant] The tenant ID for the request.
136
+ * @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.
126
137
  * @param {*} [options] Override http request option.
127
138
  * @throws {RequiredError}
128
139
  * @memberof ContractsApiInterface
@@ -144,6 +155,7 @@ export interface ContractsApiInterface {
144
155
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
145
156
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
146
157
  * @param {string} [xTenant] The tenant ID for the request.
158
+ * @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.
147
159
  * @param {*} [options] Override http request option.
148
160
  * @throws {RequiredError}
149
161
  * @memberof ContractsApiInterface
@@ -165,6 +177,7 @@ export interface ContractsApiInterface {
165
177
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
166
178
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
167
179
  * @param {string} [xTenant] The tenant ID for the request.
180
+ * @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.
168
181
  * @param {*} [options] Override http request option.
169
182
  * @throws {RequiredError}
170
183
  * @memberof ContractsApiInterface
@@ -186,6 +199,7 @@ export interface ContractsApiInterface {
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 ContractsApiInterface
@@ -207,6 +221,7 @@ export interface ContractsApiInterface {
207
221
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
208
222
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
209
223
  * @param {string} [xTenant] The tenant ID for the request.
224
+ * @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.
210
225
  * @param {*} [options] Override http request option.
211
226
  * @throws {RequiredError}
212
227
  * @memberof ContractsApiInterface
@@ -228,6 +243,7 @@ export interface ContractsApiInterface {
228
243
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
229
244
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
230
245
  * @param {string} [xTenant] The tenant ID for the request.
246
+ * @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.
231
247
  * @param {*} [options] Override http request option.
232
248
  * @throws {RequiredError}
233
249
  * @memberof ContractsApiInterface
@@ -249,6 +265,7 @@ export interface ContractsApiInterface {
249
265
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
250
266
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
251
267
  * @param {string} [xTenant] The tenant ID for the request.
268
+ * @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.
252
269
  * @param {*} [options] Override http request option.
253
270
  * @throws {RequiredError}
254
271
  * @memberof ContractsApiInterface
@@ -271,6 +288,7 @@ export interface ContractsApiInterface {
271
288
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
272
289
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
273
290
  * @param {string} [xTenant] The tenant ID for the request.
291
+ * @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.
274
292
  * @param {*} [options] Override http request option.
275
293
  * @throws {RequiredError}
276
294
  * @memberof ContractsApiInterface
@@ -292,6 +310,7 @@ export interface ContractsApiInterface {
292
310
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
293
311
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
294
312
  * @param {string} [xTenant] The tenant ID for the request.
313
+ * @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.
295
314
  * @param {*} [options] Override http request option.
296
315
  * @throws {RequiredError}
297
316
  * @memberof ContractsApiInterface
@@ -354,6 +373,10 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
354
373
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
355
374
  }
356
375
 
376
+ if (requestParameters['ifModifiedSince'] != null) {
377
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
378
+ }
379
+
357
380
  /*
358
381
  if (this.configuration && this.configuration.accessToken) {
359
382
  // oauth required
@@ -365,6 +388,11 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
365
388
  let urlPath = `/characters/{character_id}/contracts`;
366
389
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
367
390
 
391
+ // Auto-inject X-Compatibility-Date if not already provided
392
+ if (!headerParameters['X-Compatibility-Date']) {
393
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
394
+ }
395
+
368
396
  const facade = this.configuration?.apiFacade;
369
397
  if (!facade) {
370
398
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -435,6 +463,10 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
435
463
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
436
464
  }
437
465
 
466
+ if (requestParameters['ifModifiedSince'] != null) {
467
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
468
+ }
469
+
438
470
  /*
439
471
  if (this.configuration && this.configuration.accessToken) {
440
472
  // oauth required
@@ -447,6 +479,11 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
447
479
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
448
480
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
449
481
 
482
+ // Auto-inject X-Compatibility-Date if not already provided
483
+ if (!headerParameters['X-Compatibility-Date']) {
484
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
485
+ }
486
+
450
487
  const facade = this.configuration?.apiFacade;
451
488
  if (!facade) {
452
489
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -517,6 +554,10 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
517
554
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
518
555
  }
519
556
 
557
+ if (requestParameters['ifModifiedSince'] != null) {
558
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
559
+ }
560
+
520
561
  /*
521
562
  if (this.configuration && this.configuration.accessToken) {
522
563
  // oauth required
@@ -529,6 +570,11 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
529
570
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
530
571
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
531
572
 
573
+ // Auto-inject X-Compatibility-Date if not already provided
574
+ if (!headerParameters['X-Compatibility-Date']) {
575
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
576
+ }
577
+
532
578
  const facade = this.configuration?.apiFacade;
533
579
  if (!facade) {
534
580
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -596,12 +642,21 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
596
642
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
597
643
  }
598
644
 
645
+ if (requestParameters['ifModifiedSince'] != null) {
646
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
647
+ }
648
+
599
649
  /*
600
650
  */
601
651
 
602
652
  let urlPath = `/contracts/public/bids/{contract_id}`;
603
653
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
604
654
 
655
+ // Auto-inject X-Compatibility-Date if not already provided
656
+ if (!headerParameters['X-Compatibility-Date']) {
657
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
658
+ }
659
+
605
660
  const facade = this.configuration?.apiFacade;
606
661
  if (!facade) {
607
662
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -669,12 +724,21 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
669
724
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
670
725
  }
671
726
 
727
+ if (requestParameters['ifModifiedSince'] != null) {
728
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
729
+ }
730
+
672
731
  /*
673
732
  */
674
733
 
675
734
  let urlPath = `/contracts/public/items/{contract_id}`;
676
735
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
677
736
 
737
+ // Auto-inject X-Compatibility-Date if not already provided
738
+ if (!headerParameters['X-Compatibility-Date']) {
739
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
740
+ }
741
+
678
742
  const facade = this.configuration?.apiFacade;
679
743
  if (!facade) {
680
744
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -742,12 +806,21 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
742
806
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
743
807
  }
744
808
 
809
+ if (requestParameters['ifModifiedSince'] != null) {
810
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
811
+ }
812
+
745
813
  /*
746
814
  */
747
815
 
748
816
  let urlPath = `/contracts/public/{region_id}`;
749
817
  urlPath = urlPath.replace(`{${"region_id"}}`, encodeURIComponent(String(requestParameters['regionId'])));
750
818
 
819
+ // Auto-inject X-Compatibility-Date if not already provided
820
+ if (!headerParameters['X-Compatibility-Date']) {
821
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
822
+ }
823
+
751
824
  const facade = this.configuration?.apiFacade;
752
825
  if (!facade) {
753
826
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -815,6 +888,10 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
815
888
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
816
889
  }
817
890
 
891
+ if (requestParameters['ifModifiedSince'] != null) {
892
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
893
+ }
894
+
818
895
  /*
819
896
  if (this.configuration && this.configuration.accessToken) {
820
897
  // oauth required
@@ -826,6 +903,11 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
826
903
  let urlPath = `/corporations/{corporation_id}/contracts`;
827
904
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
828
905
 
906
+ // Auto-inject X-Compatibility-Date if not already provided
907
+ if (!headerParameters['X-Compatibility-Date']) {
908
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
909
+ }
910
+
829
911
  const facade = this.configuration?.apiFacade;
830
912
  if (!facade) {
831
913
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -900,6 +982,10 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
900
982
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
901
983
  }
902
984
 
985
+ if (requestParameters['ifModifiedSince'] != null) {
986
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
987
+ }
988
+
903
989
  /*
904
990
  if (this.configuration && this.configuration.accessToken) {
905
991
  // oauth required
@@ -912,6 +998,11 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
912
998
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
913
999
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
914
1000
 
1001
+ // Auto-inject X-Compatibility-Date if not already provided
1002
+ if (!headerParameters['X-Compatibility-Date']) {
1003
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
1004
+ }
1005
+
915
1006
  const facade = this.configuration?.apiFacade;
916
1007
  if (!facade) {
917
1008
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -982,6 +1073,10 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
982
1073
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
983
1074
  }
984
1075
 
1076
+ if (requestParameters['ifModifiedSince'] != null) {
1077
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
1078
+ }
1079
+
985
1080
  /*
986
1081
  if (this.configuration && this.configuration.accessToken) {
987
1082
  // oauth required
@@ -994,6 +1089,11 @@ export class ContractsApi extends runtime.BaseAPI implements ContractsApiInterfa
994
1089
  urlPath = urlPath.replace(`{${"contract_id"}}`, encodeURIComponent(String(requestParameters['contractId'])));
995
1090
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
996
1091
 
1092
+ // Auto-inject X-Compatibility-Date if not already provided
1093
+ if (!headerParameters['X-Compatibility-Date']) {
1094
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
1095
+ }
1096
+
997
1097
  const facade = this.configuration?.apiFacade;
998
1098
  if (!facade) {
999
1099
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');