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
  AlliancesAllianceIdContactsGetInner,
@@ -29,6 +30,7 @@ export interface DeleteCharactersCharacterIdContactsRequest {
29
30
  acceptLanguage?: DeleteCharactersCharacterIdContactsAcceptLanguageEnum;
30
31
  ifNoneMatch?: string;
31
32
  xTenant?: string;
33
+ ifModifiedSince?: string;
32
34
  }
33
35
 
34
36
  export interface GetAlliancesAllianceIdContactsRequest {
@@ -38,6 +40,7 @@ export interface GetAlliancesAllianceIdContactsRequest {
38
40
  acceptLanguage?: GetAlliancesAllianceIdContactsAcceptLanguageEnum;
39
41
  ifNoneMatch?: string;
40
42
  xTenant?: string;
43
+ ifModifiedSince?: string;
41
44
  }
42
45
 
43
46
  export interface GetAlliancesAllianceIdContactsLabelsRequest {
@@ -46,6 +49,7 @@ export interface GetAlliancesAllianceIdContactsLabelsRequest {
46
49
  acceptLanguage?: GetAlliancesAllianceIdContactsLabelsAcceptLanguageEnum;
47
50
  ifNoneMatch?: string;
48
51
  xTenant?: string;
52
+ ifModifiedSince?: string;
49
53
  }
50
54
 
51
55
  export interface GetCharactersCharacterIdContactsRequest {
@@ -55,6 +59,7 @@ export interface GetCharactersCharacterIdContactsRequest {
55
59
  acceptLanguage?: GetCharactersCharacterIdContactsAcceptLanguageEnum;
56
60
  ifNoneMatch?: string;
57
61
  xTenant?: string;
62
+ ifModifiedSince?: string;
58
63
  }
59
64
 
60
65
  export interface GetCharactersCharacterIdContactsLabelsRequest {
@@ -63,6 +68,7 @@ export interface GetCharactersCharacterIdContactsLabelsRequest {
63
68
  acceptLanguage?: GetCharactersCharacterIdContactsLabelsAcceptLanguageEnum;
64
69
  ifNoneMatch?: string;
65
70
  xTenant?: string;
71
+ ifModifiedSince?: string;
66
72
  }
67
73
 
68
74
  export interface GetCorporationsCorporationIdContactsRequest {
@@ -72,6 +78,7 @@ export interface GetCorporationsCorporationIdContactsRequest {
72
78
  acceptLanguage?: GetCorporationsCorporationIdContactsAcceptLanguageEnum;
73
79
  ifNoneMatch?: string;
74
80
  xTenant?: string;
81
+ ifModifiedSince?: string;
75
82
  }
76
83
 
77
84
  export interface GetCorporationsCorporationIdContactsLabelsRequest {
@@ -80,6 +87,7 @@ export interface GetCorporationsCorporationIdContactsLabelsRequest {
80
87
  acceptLanguage?: GetCorporationsCorporationIdContactsLabelsAcceptLanguageEnum;
81
88
  ifNoneMatch?: string;
82
89
  xTenant?: string;
90
+ ifModifiedSince?: string;
83
91
  }
84
92
 
85
93
  export interface PostCharactersCharacterIdContactsRequest {
@@ -92,6 +100,7 @@ export interface PostCharactersCharacterIdContactsRequest {
92
100
  acceptLanguage?: PostCharactersCharacterIdContactsAcceptLanguageEnum;
93
101
  ifNoneMatch?: string;
94
102
  xTenant?: string;
103
+ ifModifiedSince?: string;
95
104
  }
96
105
 
97
106
  export interface PutCharactersCharacterIdContactsRequest {
@@ -104,6 +113,7 @@ export interface PutCharactersCharacterIdContactsRequest {
104
113
  acceptLanguage?: PutCharactersCharacterIdContactsAcceptLanguageEnum;
105
114
  ifNoneMatch?: string;
106
115
  xTenant?: string;
116
+ ifModifiedSince?: string;
107
117
  }
108
118
 
109
119
  /**
@@ -122,6 +132,7 @@ export interface ContactsApiInterface {
122
132
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
123
133
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
124
134
  * @param {string} [xTenant] The tenant ID for the request.
135
+ * @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.
125
136
  * @param {*} [options] Override http request option.
126
137
  * @throws {RequiredError}
127
138
  * @memberof ContactsApiInterface
@@ -143,6 +154,7 @@ export interface ContactsApiInterface {
143
154
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
144
155
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
145
156
  * @param {string} [xTenant] The tenant ID for the request.
157
+ * @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.
146
158
  * @param {*} [options] Override http request option.
147
159
  * @throws {RequiredError}
148
160
  * @memberof ContactsApiInterface
@@ -163,6 +175,7 @@ export interface ContactsApiInterface {
163
175
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
164
176
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
165
177
  * @param {string} [xTenant] The tenant ID for the request.
178
+ * @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.
166
179
  * @param {*} [options] Override http request option.
167
180
  * @throws {RequiredError}
168
181
  * @memberof ContactsApiInterface
@@ -184,6 +197,7 @@ export interface ContactsApiInterface {
184
197
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
185
198
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
186
199
  * @param {string} [xTenant] The tenant ID for the request.
200
+ * @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.
187
201
  * @param {*} [options] Override http request option.
188
202
  * @throws {RequiredError}
189
203
  * @memberof ContactsApiInterface
@@ -204,6 +218,7 @@ export interface ContactsApiInterface {
204
218
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
205
219
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
206
220
  * @param {string} [xTenant] The tenant ID for the request.
221
+ * @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.
207
222
  * @param {*} [options] Override http request option.
208
223
  * @throws {RequiredError}
209
224
  * @memberof ContactsApiInterface
@@ -225,6 +240,7 @@ export interface ContactsApiInterface {
225
240
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
226
241
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
227
242
  * @param {string} [xTenant] The tenant ID for the request.
243
+ * @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.
228
244
  * @param {*} [options] Override http request option.
229
245
  * @throws {RequiredError}
230
246
  * @memberof ContactsApiInterface
@@ -245,6 +261,7 @@ export interface ContactsApiInterface {
245
261
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
246
262
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
247
263
  * @param {string} [xTenant] The tenant ID for the request.
264
+ * @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.
248
265
  * @param {*} [options] Override http request option.
249
266
  * @throws {RequiredError}
250
267
  * @memberof ContactsApiInterface
@@ -269,6 +286,7 @@ export interface ContactsApiInterface {
269
286
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
270
287
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
271
288
  * @param {string} [xTenant] The tenant ID for the request.
289
+ * @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.
272
290
  * @param {*} [options] Override http request option.
273
291
  * @throws {RequiredError}
274
292
  * @memberof ContactsApiInterface
@@ -293,6 +311,7 @@ export interface ContactsApiInterface {
293
311
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
294
312
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
295
313
  * @param {string} [xTenant] The tenant ID for the request.
314
+ * @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.
296
315
  * @param {*} [options] Override http request option.
297
316
  * @throws {RequiredError}
298
317
  * @memberof ContactsApiInterface
@@ -362,6 +381,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
362
381
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
363
382
  }
364
383
 
384
+ if (requestParameters['ifModifiedSince'] != null) {
385
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
386
+ }
387
+
365
388
  /*
366
389
  if (this.configuration && this.configuration.accessToken) {
367
390
  // oauth required
@@ -373,6 +396,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
373
396
  let urlPath = `/characters/{character_id}/contacts`;
374
397
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
375
398
 
399
+ // Auto-inject X-Compatibility-Date if not already provided
400
+ if (!headerParameters['X-Compatibility-Date']) {
401
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
402
+ }
403
+
376
404
  const facade = this.configuration?.apiFacade;
377
405
  if (!facade) {
378
406
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -439,6 +467,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
439
467
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
440
468
  }
441
469
 
470
+ if (requestParameters['ifModifiedSince'] != null) {
471
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
472
+ }
473
+
442
474
  /*
443
475
  if (this.configuration && this.configuration.accessToken) {
444
476
  // oauth required
@@ -450,6 +482,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
450
482
  let urlPath = `/alliances/{alliance_id}/contacts`;
451
483
  urlPath = urlPath.replace(`{${"alliance_id"}}`, encodeURIComponent(String(requestParameters['allianceId'])));
452
484
 
485
+ // Auto-inject X-Compatibility-Date if not already provided
486
+ if (!headerParameters['X-Compatibility-Date']) {
487
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
488
+ }
489
+
453
490
  const facade = this.configuration?.apiFacade;
454
491
  if (!facade) {
455
492
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -513,6 +550,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
513
550
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
514
551
  }
515
552
 
553
+ if (requestParameters['ifModifiedSince'] != null) {
554
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
555
+ }
556
+
516
557
  /*
517
558
  if (this.configuration && this.configuration.accessToken) {
518
559
  // oauth required
@@ -524,6 +565,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
524
565
  let urlPath = `/alliances/{alliance_id}/contacts/labels`;
525
566
  urlPath = urlPath.replace(`{${"alliance_id"}}`, encodeURIComponent(String(requestParameters['allianceId'])));
526
567
 
568
+ // Auto-inject X-Compatibility-Date if not already provided
569
+ if (!headerParameters['X-Compatibility-Date']) {
570
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
571
+ }
572
+
527
573
  const facade = this.configuration?.apiFacade;
528
574
  if (!facade) {
529
575
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -591,6 +637,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
591
637
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
592
638
  }
593
639
 
640
+ if (requestParameters['ifModifiedSince'] != null) {
641
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
642
+ }
643
+
594
644
  /*
595
645
  if (this.configuration && this.configuration.accessToken) {
596
646
  // oauth required
@@ -602,6 +652,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
602
652
  let urlPath = `/characters/{character_id}/contacts`;
603
653
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
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 })');
@@ -665,6 +720,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
665
720
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
666
721
  }
667
722
 
723
+ if (requestParameters['ifModifiedSince'] != null) {
724
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
725
+ }
726
+
668
727
  /*
669
728
  if (this.configuration && this.configuration.accessToken) {
670
729
  // oauth required
@@ -676,6 +735,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
676
735
  let urlPath = `/characters/{character_id}/contacts/labels`;
677
736
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
678
737
 
738
+ // Auto-inject X-Compatibility-Date if not already provided
739
+ if (!headerParameters['X-Compatibility-Date']) {
740
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
741
+ }
742
+
679
743
  const facade = this.configuration?.apiFacade;
680
744
  if (!facade) {
681
745
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -743,6 +807,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
743
807
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
744
808
  }
745
809
 
810
+ if (requestParameters['ifModifiedSince'] != null) {
811
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
812
+ }
813
+
746
814
  /*
747
815
  if (this.configuration && this.configuration.accessToken) {
748
816
  // oauth required
@@ -754,6 +822,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
754
822
  let urlPath = `/corporations/{corporation_id}/contacts`;
755
823
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
756
824
 
825
+ // Auto-inject X-Compatibility-Date if not already provided
826
+ if (!headerParameters['X-Compatibility-Date']) {
827
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
828
+ }
829
+
757
830
  const facade = this.configuration?.apiFacade;
758
831
  if (!facade) {
759
832
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -817,6 +890,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
817
890
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
818
891
  }
819
892
 
893
+ if (requestParameters['ifModifiedSince'] != null) {
894
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
895
+ }
896
+
820
897
  /*
821
898
  if (this.configuration && this.configuration.accessToken) {
822
899
  // oauth required
@@ -828,6 +905,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
828
905
  let urlPath = `/corporations/{corporation_id}/contacts/labels`;
829
906
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
830
907
 
908
+ // Auto-inject X-Compatibility-Date if not already provided
909
+ if (!headerParameters['X-Compatibility-Date']) {
910
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
911
+ }
912
+
831
913
  const facade = this.configuration?.apiFacade;
832
914
  if (!facade) {
833
915
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -919,6 +1001,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
919
1001
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
920
1002
  }
921
1003
 
1004
+ if (requestParameters['ifModifiedSince'] != null) {
1005
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
1006
+ }
1007
+
922
1008
  /*
923
1009
  if (this.configuration && this.configuration.accessToken) {
924
1010
  // oauth required
@@ -930,6 +1016,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
930
1016
  let urlPath = `/characters/{character_id}/contacts`;
931
1017
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
932
1018
 
1019
+ // Auto-inject X-Compatibility-Date if not already provided
1020
+ if (!headerParameters['X-Compatibility-Date']) {
1021
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
1022
+ }
1023
+
933
1024
  const facade = this.configuration?.apiFacade;
934
1025
  if (!facade) {
935
1026
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -1022,6 +1113,10 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
1022
1113
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
1023
1114
  }
1024
1115
 
1116
+ if (requestParameters['ifModifiedSince'] != null) {
1117
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
1118
+ }
1119
+
1025
1120
  /*
1026
1121
  if (this.configuration && this.configuration.accessToken) {
1027
1122
  // oauth required
@@ -1033,6 +1128,11 @@ export class ContactsApi extends runtime.BaseAPI implements ContactsApiInterface
1033
1128
  let urlPath = `/characters/{character_id}/contacts`;
1034
1129
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
1035
1130
 
1131
+ // Auto-inject X-Compatibility-Date if not already provided
1132
+ if (!headerParameters['X-Compatibility-Date']) {
1133
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
1134
+ }
1135
+
1036
1136
  const facade = this.configuration?.apiFacade;
1037
1137
  if (!facade) {
1038
1138
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');