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
  CharactersFreelanceJobsListing,
@@ -30,6 +31,7 @@ export interface GetCharactersFreelanceJobsListingRequest {
30
31
  acceptLanguage?: GetCharactersFreelanceJobsListingAcceptLanguageEnum;
31
32
  ifNoneMatch?: string;
32
33
  xTenant?: string;
34
+ ifModifiedSince?: string;
33
35
  }
34
36
 
35
37
  export interface GetCharactersFreelanceJobsParticipationRequest {
@@ -39,6 +41,7 @@ export interface GetCharactersFreelanceJobsParticipationRequest {
39
41
  acceptLanguage?: GetCharactersFreelanceJobsParticipationAcceptLanguageEnum;
40
42
  ifNoneMatch?: string;
41
43
  xTenant?: string;
44
+ ifModifiedSince?: string;
42
45
  }
43
46
 
44
47
  export interface GetCorporationsFreelanceJobsListingRequest {
@@ -50,6 +53,7 @@ export interface GetCorporationsFreelanceJobsListingRequest {
50
53
  acceptLanguage?: GetCorporationsFreelanceJobsListingAcceptLanguageEnum;
51
54
  ifNoneMatch?: string;
52
55
  xTenant?: string;
56
+ ifModifiedSince?: string;
53
57
  }
54
58
 
55
59
  export interface GetCorporationsFreelanceJobsParticipantsRequest {
@@ -62,15 +66,16 @@ export interface GetCorporationsFreelanceJobsParticipantsRequest {
62
66
  acceptLanguage?: GetCorporationsFreelanceJobsParticipantsAcceptLanguageEnum;
63
67
  ifNoneMatch?: string;
64
68
  xTenant?: string;
69
+ ifModifiedSince?: string;
65
70
  }
66
71
 
67
72
  export interface GetFreelanceJobsDetailRequest {
68
73
  jobId: string;
69
74
  xCompatibilityDate: GetFreelanceJobsDetailXCompatibilityDateEnum;
70
- ifModifiedSince?: string;
71
75
  acceptLanguage?: GetFreelanceJobsDetailAcceptLanguageEnum;
72
76
  ifNoneMatch?: string;
73
77
  xTenant?: string;
78
+ ifModifiedSince?: string;
74
79
  }
75
80
 
76
81
  export interface GetFreelanceJobsListingRequest {
@@ -82,6 +87,7 @@ export interface GetFreelanceJobsListingRequest {
82
87
  acceptLanguage?: GetFreelanceJobsListingAcceptLanguageEnum;
83
88
  ifNoneMatch?: string;
84
89
  xTenant?: string;
90
+ ifModifiedSince?: string;
85
91
  }
86
92
 
87
93
  /**
@@ -99,6 +105,7 @@ export interface FreelanceJobsApiInterface {
99
105
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
100
106
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
101
107
  * @param {string} [xTenant] The tenant ID for the request.
108
+ * @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
109
  * @param {*} [options] Override http request option.
103
110
  * @throws {RequiredError}
104
111
  * @memberof FreelanceJobsApiInterface
@@ -120,6 +127,7 @@ export interface FreelanceJobsApiInterface {
120
127
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
121
128
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
122
129
  * @param {string} [xTenant] The tenant ID for the request.
130
+ * @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.
123
131
  * @param {*} [options] Override http request option.
124
132
  * @throws {RequiredError}
125
133
  * @memberof FreelanceJobsApiInterface
@@ -143,6 +151,7 @@ export interface FreelanceJobsApiInterface {
143
151
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
144
152
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
145
153
  * @param {string} [xTenant] The tenant ID for the request.
154
+ * @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
155
  * @param {*} [options] Override http request option.
147
156
  * @throws {RequiredError}
148
157
  * @memberof FreelanceJobsApiInterface
@@ -167,6 +176,7 @@ export interface FreelanceJobsApiInterface {
167
176
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
168
177
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
169
178
  * @param {string} [xTenant] The tenant ID for the request.
179
+ * @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.
170
180
  * @param {*} [options] Override http request option.
171
181
  * @throws {RequiredError}
172
182
  * @memberof FreelanceJobsApiInterface
@@ -184,10 +194,10 @@ export interface FreelanceJobsApiInterface {
184
194
  * @summary Get freelance job details
185
195
  * @param {string} jobId The ID of the freelance job
186
196
  * @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
187
- * @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.
188
197
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
189
198
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
190
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.
191
201
  * @param {*} [options] Override http request option.
192
202
  * @throws {RequiredError}
193
203
  * @memberof FreelanceJobsApiInterface
@@ -211,6 +221,7 @@ export interface FreelanceJobsApiInterface {
211
221
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
212
222
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
213
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.
214
225
  * @param {*} [options] Override http request option.
215
226
  * @throws {RequiredError}
216
227
  * @memberof FreelanceJobsApiInterface
@@ -269,6 +280,10 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
269
280
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
270
281
  }
271
282
 
283
+ if (requestParameters['ifModifiedSince'] != null) {
284
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
285
+ }
286
+
272
287
  /*
273
288
  if (this.configuration && this.configuration.accessToken) {
274
289
  // oauth required
@@ -280,6 +295,11 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
280
295
  let urlPath = `/characters/{character_id}/freelance-jobs`;
281
296
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
282
297
 
298
+ // Auto-inject X-Compatibility-Date if not already provided
299
+ if (!headerParameters['X-Compatibility-Date']) {
300
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
301
+ }
302
+
283
303
  const facade = this.configuration?.apiFacade;
284
304
  if (!facade) {
285
305
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -350,6 +370,10 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
350
370
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
351
371
  }
352
372
 
373
+ if (requestParameters['ifModifiedSince'] != null) {
374
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
375
+ }
376
+
353
377
  /*
354
378
  if (this.configuration && this.configuration.accessToken) {
355
379
  // oauth required
@@ -362,6 +386,11 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
362
386
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
363
387
  urlPath = urlPath.replace(`{${"job_id"}}`, encodeURIComponent(String(requestParameters['jobId'])));
364
388
 
389
+ // Auto-inject X-Compatibility-Date if not already provided
390
+ if (!headerParameters['X-Compatibility-Date']) {
391
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
392
+ }
393
+
365
394
  const facade = this.configuration?.apiFacade;
366
395
  if (!facade) {
367
396
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -437,6 +466,10 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
437
466
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
438
467
  }
439
468
 
469
+ if (requestParameters['ifModifiedSince'] != null) {
470
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
471
+ }
472
+
440
473
  /*
441
474
  if (this.configuration && this.configuration.accessToken) {
442
475
  // oauth required
@@ -448,6 +481,11 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
448
481
  let urlPath = `/corporations/{corporation_id}/freelance-jobs`;
449
482
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
450
483
 
484
+ // Auto-inject X-Compatibility-Date if not already provided
485
+ if (!headerParameters['X-Compatibility-Date']) {
486
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
487
+ }
488
+
451
489
  const facade = this.configuration?.apiFacade;
452
490
  if (!facade) {
453
491
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -530,6 +568,10 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
530
568
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
531
569
  }
532
570
 
571
+ if (requestParameters['ifModifiedSince'] != null) {
572
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
573
+ }
574
+
533
575
  /*
534
576
  if (this.configuration && this.configuration.accessToken) {
535
577
  // oauth required
@@ -542,6 +584,11 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
542
584
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
543
585
  urlPath = urlPath.replace(`{${"job_id"}}`, encodeURIComponent(String(requestParameters['jobId'])));
544
586
 
587
+ // Auto-inject X-Compatibility-Date if not already provided
588
+ if (!headerParameters['X-Compatibility-Date']) {
589
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
590
+ }
591
+
545
592
  const facade = this.configuration?.apiFacade;
546
593
  if (!facade) {
547
594
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -589,10 +636,6 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
589
636
 
590
637
  const headerParameters: runtime.HTTPHeaders = {};
591
638
 
592
- if (requestParameters['ifModifiedSince'] != null) {
593
- headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
594
- }
595
-
596
639
  if (requestParameters['acceptLanguage'] != null) {
597
640
  headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
598
641
  }
@@ -609,12 +652,21 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
609
652
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
610
653
  }
611
654
 
655
+ if (requestParameters['ifModifiedSince'] != null) {
656
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
657
+ }
658
+
612
659
  /*
613
660
  */
614
661
 
615
662
  let urlPath = `/freelance-jobs/{job_id}`;
616
663
  urlPath = urlPath.replace(`{${"job_id"}}`, encodeURIComponent(String(requestParameters['jobId'])));
617
664
 
665
+ // Auto-inject X-Compatibility-Date if not already provided
666
+ if (!headerParameters['X-Compatibility-Date']) {
667
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
668
+ }
669
+
618
670
  const facade = this.configuration?.apiFacade;
619
671
  if (!facade) {
620
672
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -687,11 +739,20 @@ export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsAp
687
739
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
688
740
  }
689
741
 
742
+ if (requestParameters['ifModifiedSince'] != null) {
743
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
744
+ }
745
+
690
746
  /*
691
747
  */
692
748
 
693
749
  let urlPath = `/freelance-jobs`;
694
750
 
751
+ // Auto-inject X-Compatibility-Date if not already provided
752
+ if (!headerParameters['X-Compatibility-Date']) {
753
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
754
+ }
755
+
695
756
  const facade = this.configuration?.apiFacade;
696
757
  if (!facade) {
697
758
  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
  IncursionsGetInner,
@@ -24,6 +25,7 @@ export interface GetIncursionsRequest {
24
25
  acceptLanguage?: GetIncursionsAcceptLanguageEnum;
25
26
  ifNoneMatch?: string;
26
27
  xTenant?: string;
28
+ ifModifiedSince?: string;
27
29
  }
28
30
 
29
31
  /**
@@ -40,6 +42,7 @@ export interface IncursionsApiInterface {
40
42
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
41
43
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
42
44
  * @param {string} [xTenant] The tenant ID for the request.
45
+ * @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.
43
46
  * @param {*} [options] Override http request option.
44
47
  * @throws {RequiredError}
45
48
  * @memberof IncursionsApiInterface
@@ -91,11 +94,20 @@ export class IncursionsApi extends runtime.BaseAPI implements IncursionsApiInter
91
94
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
92
95
  }
93
96
 
97
+ if (requestParameters['ifModifiedSince'] != null) {
98
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
99
+ }
100
+
94
101
  /*
95
102
  */
96
103
 
97
104
  let urlPath = `/incursions`;
98
105
 
106
+ // Auto-inject X-Compatibility-Date if not already provided
107
+ if (!headerParameters['X-Compatibility-Date']) {
108
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
109
+ }
110
+
99
111
  const facade = this.configuration?.apiFacade;
100
112
  if (!facade) {
101
113
  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
  CharactersCharacterIdIndustryJobsGetInner,
@@ -33,6 +34,7 @@ export interface GetCharactersCharacterIdIndustryJobsRequest {
33
34
  acceptLanguage?: GetCharactersCharacterIdIndustryJobsAcceptLanguageEnum;
34
35
  ifNoneMatch?: string;
35
36
  xTenant?: string;
37
+ ifModifiedSince?: string;
36
38
  }
37
39
 
38
40
  export interface GetCharactersCharacterIdMiningRequest {
@@ -42,6 +44,7 @@ export interface GetCharactersCharacterIdMiningRequest {
42
44
  acceptLanguage?: GetCharactersCharacterIdMiningAcceptLanguageEnum;
43
45
  ifNoneMatch?: string;
44
46
  xTenant?: string;
47
+ ifModifiedSince?: string;
45
48
  }
46
49
 
47
50
  export interface GetCorporationCorporationIdMiningExtractionsRequest {
@@ -51,6 +54,7 @@ export interface GetCorporationCorporationIdMiningExtractionsRequest {
51
54
  acceptLanguage?: GetCorporationCorporationIdMiningExtractionsAcceptLanguageEnum;
52
55
  ifNoneMatch?: string;
53
56
  xTenant?: string;
57
+ ifModifiedSince?: string;
54
58
  }
55
59
 
56
60
  export interface GetCorporationCorporationIdMiningObserversRequest {
@@ -60,6 +64,7 @@ export interface GetCorporationCorporationIdMiningObserversRequest {
60
64
  acceptLanguage?: GetCorporationCorporationIdMiningObserversAcceptLanguageEnum;
61
65
  ifNoneMatch?: string;
62
66
  xTenant?: string;
67
+ ifModifiedSince?: string;
63
68
  }
64
69
 
65
70
  export interface GetCorporationCorporationIdMiningObserversObserverIdRequest {
@@ -70,6 +75,7 @@ export interface GetCorporationCorporationIdMiningObserversObserverIdRequest {
70
75
  acceptLanguage?: GetCorporationCorporationIdMiningObserversObserverIdAcceptLanguageEnum;
71
76
  ifNoneMatch?: string;
72
77
  xTenant?: string;
78
+ ifModifiedSince?: string;
73
79
  }
74
80
 
75
81
  export interface GetCorporationsCorporationIdIndustryJobsRequest {
@@ -80,6 +86,7 @@ export interface GetCorporationsCorporationIdIndustryJobsRequest {
80
86
  acceptLanguage?: GetCorporationsCorporationIdIndustryJobsAcceptLanguageEnum;
81
87
  ifNoneMatch?: string;
82
88
  xTenant?: string;
89
+ ifModifiedSince?: string;
83
90
  }
84
91
 
85
92
  export interface GetIndustryFacilitiesRequest {
@@ -87,6 +94,7 @@ export interface GetIndustryFacilitiesRequest {
87
94
  acceptLanguage?: GetIndustryFacilitiesAcceptLanguageEnum;
88
95
  ifNoneMatch?: string;
89
96
  xTenant?: string;
97
+ ifModifiedSince?: string;
90
98
  }
91
99
 
92
100
  export interface GetIndustrySystemsRequest {
@@ -94,6 +102,7 @@ export interface GetIndustrySystemsRequest {
94
102
  acceptLanguage?: GetIndustrySystemsAcceptLanguageEnum;
95
103
  ifNoneMatch?: string;
96
104
  xTenant?: string;
105
+ ifModifiedSince?: string;
97
106
  }
98
107
 
99
108
  /**
@@ -112,6 +121,7 @@ export interface IndustryApiInterface {
112
121
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
113
122
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
114
123
  * @param {string} [xTenant] The tenant ID for the request.
124
+ * @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.
115
125
  * @param {*} [options] Override http request option.
116
126
  * @throws {RequiredError}
117
127
  * @memberof IndustryApiInterface
@@ -133,6 +143,7 @@ export interface IndustryApiInterface {
133
143
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
134
144
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
135
145
  * @param {string} [xTenant] The tenant ID for the request.
146
+ * @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.
136
147
  * @param {*} [options] Override http request option.
137
148
  * @throws {RequiredError}
138
149
  * @memberof IndustryApiInterface
@@ -154,6 +165,7 @@ export interface IndustryApiInterface {
154
165
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
155
166
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
156
167
  * @param {string} [xTenant] The tenant ID for the request.
168
+ * @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.
157
169
  * @param {*} [options] Override http request option.
158
170
  * @throws {RequiredError}
159
171
  * @memberof IndustryApiInterface
@@ -175,6 +187,7 @@ export interface IndustryApiInterface {
175
187
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
176
188
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
177
189
  * @param {string} [xTenant] The tenant ID for the request.
190
+ * @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.
178
191
  * @param {*} [options] Override http request option.
179
192
  * @throws {RequiredError}
180
193
  * @memberof IndustryApiInterface
@@ -197,6 +210,7 @@ export interface IndustryApiInterface {
197
210
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
198
211
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
199
212
  * @param {string} [xTenant] The tenant ID for the request.
213
+ * @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.
200
214
  * @param {*} [options] Override http request option.
201
215
  * @throws {RequiredError}
202
216
  * @memberof IndustryApiInterface
@@ -219,6 +233,7 @@ export interface IndustryApiInterface {
219
233
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
220
234
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
221
235
  * @param {string} [xTenant] The tenant ID for the request.
236
+ * @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.
222
237
  * @param {*} [options] Override http request option.
223
238
  * @throws {RequiredError}
224
239
  * @memberof IndustryApiInterface
@@ -238,6 +253,7 @@ export interface IndustryApiInterface {
238
253
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
239
254
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
240
255
  * @param {string} [xTenant] The tenant ID for the request.
256
+ * @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.
241
257
  * @param {*} [options] Override http request option.
242
258
  * @throws {RequiredError}
243
259
  * @memberof IndustryApiInterface
@@ -257,6 +273,7 @@ export interface IndustryApiInterface {
257
273
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
258
274
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
259
275
  * @param {string} [xTenant] The tenant ID for the request.
276
+ * @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.
260
277
  * @param {*} [options] Override http request option.
261
278
  * @throws {RequiredError}
262
279
  * @memberof IndustryApiInterface
@@ -319,6 +336,10 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
319
336
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
320
337
  }
321
338
 
339
+ if (requestParameters['ifModifiedSince'] != null) {
340
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
341
+ }
342
+
322
343
  /*
323
344
  if (this.configuration && this.configuration.accessToken) {
324
345
  // oauth required
@@ -330,6 +351,11 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
330
351
  let urlPath = `/characters/{character_id}/industry/jobs`;
331
352
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
332
353
 
354
+ // Auto-inject X-Compatibility-Date if not already provided
355
+ if (!headerParameters['X-Compatibility-Date']) {
356
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
357
+ }
358
+
333
359
  const facade = this.configuration?.apiFacade;
334
360
  if (!facade) {
335
361
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -397,6 +423,10 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
397
423
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
398
424
  }
399
425
 
426
+ if (requestParameters['ifModifiedSince'] != null) {
427
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
428
+ }
429
+
400
430
  /*
401
431
  if (this.configuration && this.configuration.accessToken) {
402
432
  // oauth required
@@ -408,6 +438,11 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
408
438
  let urlPath = `/characters/{character_id}/mining`;
409
439
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
410
440
 
441
+ // Auto-inject X-Compatibility-Date if not already provided
442
+ if (!headerParameters['X-Compatibility-Date']) {
443
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
444
+ }
445
+
411
446
  const facade = this.configuration?.apiFacade;
412
447
  if (!facade) {
413
448
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -475,6 +510,10 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
475
510
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
476
511
  }
477
512
 
513
+ if (requestParameters['ifModifiedSince'] != null) {
514
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
515
+ }
516
+
478
517
  /*
479
518
  if (this.configuration && this.configuration.accessToken) {
480
519
  // oauth required
@@ -486,6 +525,11 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
486
525
  let urlPath = `/corporation/{corporation_id}/mining/extractions`;
487
526
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
488
527
 
528
+ // Auto-inject X-Compatibility-Date if not already provided
529
+ if (!headerParameters['X-Compatibility-Date']) {
530
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
531
+ }
532
+
489
533
  const facade = this.configuration?.apiFacade;
490
534
  if (!facade) {
491
535
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -553,6 +597,10 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
553
597
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
554
598
  }
555
599
 
600
+ if (requestParameters['ifModifiedSince'] != null) {
601
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
602
+ }
603
+
556
604
  /*
557
605
  if (this.configuration && this.configuration.accessToken) {
558
606
  // oauth required
@@ -564,6 +612,11 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
564
612
  let urlPath = `/corporation/{corporation_id}/mining/observers`;
565
613
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
566
614
 
615
+ // Auto-inject X-Compatibility-Date if not already provided
616
+ if (!headerParameters['X-Compatibility-Date']) {
617
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
618
+ }
619
+
567
620
  const facade = this.configuration?.apiFacade;
568
621
  if (!facade) {
569
622
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -638,6 +691,10 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
638
691
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
639
692
  }
640
693
 
694
+ if (requestParameters['ifModifiedSince'] != null) {
695
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
696
+ }
697
+
641
698
  /*
642
699
  if (this.configuration && this.configuration.accessToken) {
643
700
  // oauth required
@@ -650,6 +707,11 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
650
707
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
651
708
  urlPath = urlPath.replace(`{${"observer_id"}}`, encodeURIComponent(String(requestParameters['observerId'])));
652
709
 
710
+ // Auto-inject X-Compatibility-Date if not already provided
711
+ if (!headerParameters['X-Compatibility-Date']) {
712
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
713
+ }
714
+
653
715
  const facade = this.configuration?.apiFacade;
654
716
  if (!facade) {
655
717
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -721,6 +783,10 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
721
783
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
722
784
  }
723
785
 
786
+ if (requestParameters['ifModifiedSince'] != null) {
787
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
788
+ }
789
+
724
790
  /*
725
791
  if (this.configuration && this.configuration.accessToken) {
726
792
  // oauth required
@@ -732,6 +798,11 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
732
798
  let urlPath = `/corporations/{corporation_id}/industry/jobs`;
733
799
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
734
800
 
801
+ // Auto-inject X-Compatibility-Date if not already provided
802
+ if (!headerParameters['X-Compatibility-Date']) {
803
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
804
+ }
805
+
735
806
  const facade = this.configuration?.apiFacade;
736
807
  if (!facade) {
737
808
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -788,11 +859,20 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
788
859
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
789
860
  }
790
861
 
862
+ if (requestParameters['ifModifiedSince'] != null) {
863
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
864
+ }
865
+
791
866
  /*
792
867
  */
793
868
 
794
869
  let urlPath = `/industry/facilities`;
795
870
 
871
+ // Auto-inject X-Compatibility-Date if not already provided
872
+ if (!headerParameters['X-Compatibility-Date']) {
873
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
874
+ }
875
+
796
876
  const facade = this.configuration?.apiFacade;
797
877
  if (!facade) {
798
878
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -849,11 +929,20 @@ export class IndustryApi extends runtime.BaseAPI implements IndustryApiInterface
849
929
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
850
930
  }
851
931
 
932
+ if (requestParameters['ifModifiedSince'] != null) {
933
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
934
+ }
935
+
852
936
  /*
853
937
  */
854
938
 
855
939
  let urlPath = `/industry/systems`;
856
940
 
941
+ // Auto-inject X-Compatibility-Date if not already provided
942
+ if (!headerParameters['X-Compatibility-Date']) {
943
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
944
+ }
945
+
857
946
  const facade = this.configuration?.apiFacade;
858
947
  if (!facade) {
859
948
  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
  InsurancePricesGetInner,
@@ -24,6 +25,7 @@ export interface GetInsurancePricesRequest {
24
25
  acceptLanguage?: GetInsurancePricesAcceptLanguageEnum;
25
26
  ifNoneMatch?: string;
26
27
  xTenant?: string;
28
+ ifModifiedSince?: string;
27
29
  }
28
30
 
29
31
  /**
@@ -40,6 +42,7 @@ export interface InsuranceApiInterface {
40
42
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
41
43
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
42
44
  * @param {string} [xTenant] The tenant ID for the request.
45
+ * @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.
43
46
  * @param {*} [options] Override http request option.
44
47
  * @throws {RequiredError}
45
48
  * @memberof InsuranceApiInterface
@@ -91,11 +94,20 @@ export class InsuranceApi extends runtime.BaseAPI implements InsuranceApiInterfa
91
94
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
92
95
  }
93
96
 
97
+ if (requestParameters['ifModifiedSince'] != null) {
98
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
99
+ }
100
+
94
101
  /*
95
102
  */
96
103
 
97
104
  let urlPath = `/insurance/prices`;
98
105
 
106
+ // Auto-inject X-Compatibility-Date if not already provided
107
+ if (!headerParameters['X-Compatibility-Date']) {
108
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
109
+ }
110
+
99
111
  const facade = this.configuration?.apiFacade;
100
112
  if (!facade) {
101
113
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');