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
  CharactersCharacterIdAssetsGetInner,
@@ -29,6 +30,7 @@ export interface GetCharactersCharacterIdAssetsRequest {
29
30
  acceptLanguage?: GetCharactersCharacterIdAssetsAcceptLanguageEnum;
30
31
  ifNoneMatch?: string;
31
32
  xTenant?: string;
33
+ ifModifiedSince?: string;
32
34
  }
33
35
 
34
36
  export interface GetCorporationsCorporationIdAssetsRequest {
@@ -38,6 +40,7 @@ export interface GetCorporationsCorporationIdAssetsRequest {
38
40
  acceptLanguage?: GetCorporationsCorporationIdAssetsAcceptLanguageEnum;
39
41
  ifNoneMatch?: string;
40
42
  xTenant?: string;
43
+ ifModifiedSince?: string;
41
44
  }
42
45
 
43
46
  export interface PostCharactersCharacterIdAssetsLocationsRequest {
@@ -47,6 +50,7 @@ export interface PostCharactersCharacterIdAssetsLocationsRequest {
47
50
  acceptLanguage?: PostCharactersCharacterIdAssetsLocationsAcceptLanguageEnum;
48
51
  ifNoneMatch?: string;
49
52
  xTenant?: string;
53
+ ifModifiedSince?: string;
50
54
  }
51
55
 
52
56
  export interface PostCharactersCharacterIdAssetsNamesRequest {
@@ -56,6 +60,7 @@ export interface PostCharactersCharacterIdAssetsNamesRequest {
56
60
  acceptLanguage?: PostCharactersCharacterIdAssetsNamesAcceptLanguageEnum;
57
61
  ifNoneMatch?: string;
58
62
  xTenant?: string;
63
+ ifModifiedSince?: string;
59
64
  }
60
65
 
61
66
  export interface PostCorporationsCorporationIdAssetsLocationsRequest {
@@ -65,6 +70,7 @@ export interface PostCorporationsCorporationIdAssetsLocationsRequest {
65
70
  acceptLanguage?: PostCorporationsCorporationIdAssetsLocationsAcceptLanguageEnum;
66
71
  ifNoneMatch?: string;
67
72
  xTenant?: string;
73
+ ifModifiedSince?: string;
68
74
  }
69
75
 
70
76
  export interface PostCorporationsCorporationIdAssetsNamesRequest {
@@ -74,6 +80,7 @@ export interface PostCorporationsCorporationIdAssetsNamesRequest {
74
80
  acceptLanguage?: PostCorporationsCorporationIdAssetsNamesAcceptLanguageEnum;
75
81
  ifNoneMatch?: string;
76
82
  xTenant?: string;
83
+ ifModifiedSince?: string;
77
84
  }
78
85
 
79
86
  /**
@@ -92,6 +99,7 @@ export interface AssetsApiInterface {
92
99
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
93
100
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
94
101
  * @param {string} [xTenant] The tenant ID for the request.
102
+ * @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.
95
103
  * @param {*} [options] Override http request option.
96
104
  * @throws {RequiredError}
97
105
  * @memberof AssetsApiInterface
@@ -113,6 +121,7 @@ export interface AssetsApiInterface {
113
121
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
114
122
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
115
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.
116
125
  * @param {*} [options] Override http request option.
117
126
  * @throws {RequiredError}
118
127
  * @memberof AssetsApiInterface
@@ -134,6 +143,7 @@ export interface AssetsApiInterface {
134
143
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
135
144
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
136
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.
137
147
  * @param {*} [options] Override http request option.
138
148
  * @throws {RequiredError}
139
149
  * @memberof AssetsApiInterface
@@ -155,6 +165,7 @@ export interface AssetsApiInterface {
155
165
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
156
166
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
157
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.
158
169
  * @param {*} [options] Override http request option.
159
170
  * @throws {RequiredError}
160
171
  * @memberof AssetsApiInterface
@@ -176,6 +187,7 @@ export interface AssetsApiInterface {
176
187
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
177
188
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
178
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.
179
191
  * @param {*} [options] Override http request option.
180
192
  * @throws {RequiredError}
181
193
  * @memberof AssetsApiInterface
@@ -197,6 +209,7 @@ export interface AssetsApiInterface {
197
209
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
198
210
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
199
211
  * @param {string} [xTenant] The tenant ID for the request.
212
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
200
213
  * @param {*} [options] Override http request option.
201
214
  * @throws {RequiredError}
202
215
  * @memberof AssetsApiInterface
@@ -259,6 +272,10 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
259
272
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
260
273
  }
261
274
 
275
+ if (requestParameters['ifModifiedSince'] != null) {
276
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
277
+ }
278
+
262
279
  /*
263
280
  if (this.configuration && this.configuration.accessToken) {
264
281
  // oauth required
@@ -270,6 +287,11 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
270
287
  let urlPath = `/characters/{character_id}/assets`;
271
288
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
272
289
 
290
+ // Auto-inject X-Compatibility-Date if not already provided
291
+ if (!headerParameters['X-Compatibility-Date']) {
292
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
293
+ }
294
+
273
295
  const facade = this.configuration?.apiFacade;
274
296
  if (!facade) {
275
297
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -337,6 +359,10 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
337
359
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
338
360
  }
339
361
 
362
+ if (requestParameters['ifModifiedSince'] != null) {
363
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
364
+ }
365
+
340
366
  /*
341
367
  if (this.configuration && this.configuration.accessToken) {
342
368
  // oauth required
@@ -348,6 +374,11 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
348
374
  let urlPath = `/corporations/{corporation_id}/assets`;
349
375
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
350
376
 
377
+ // Auto-inject X-Compatibility-Date if not already provided
378
+ if (!headerParameters['X-Compatibility-Date']) {
379
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
380
+ }
381
+
351
382
  const facade = this.configuration?.apiFacade;
352
383
  if (!facade) {
353
384
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -420,6 +451,10 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
420
451
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
421
452
  }
422
453
 
454
+ if (requestParameters['ifModifiedSince'] != null) {
455
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
456
+ }
457
+
423
458
  /*
424
459
  if (this.configuration && this.configuration.accessToken) {
425
460
  // oauth required
@@ -431,6 +466,11 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
431
466
  let urlPath = `/characters/{character_id}/assets/locations`;
432
467
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
433
468
 
469
+ // Auto-inject X-Compatibility-Date if not already provided
470
+ if (!headerParameters['X-Compatibility-Date']) {
471
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
472
+ }
473
+
434
474
  const facade = this.configuration?.apiFacade;
435
475
  if (!facade) {
436
476
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -504,6 +544,10 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
504
544
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
505
545
  }
506
546
 
547
+ if (requestParameters['ifModifiedSince'] != null) {
548
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
549
+ }
550
+
507
551
  /*
508
552
  if (this.configuration && this.configuration.accessToken) {
509
553
  // oauth required
@@ -515,6 +559,11 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
515
559
  let urlPath = `/characters/{character_id}/assets/names`;
516
560
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
517
561
 
562
+ // Auto-inject X-Compatibility-Date if not already provided
563
+ if (!headerParameters['X-Compatibility-Date']) {
564
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
565
+ }
566
+
518
567
  const facade = this.configuration?.apiFacade;
519
568
  if (!facade) {
520
569
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -588,6 +637,10 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
588
637
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
589
638
  }
590
639
 
640
+ if (requestParameters['ifModifiedSince'] != null) {
641
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
642
+ }
643
+
591
644
  /*
592
645
  if (this.configuration && this.configuration.accessToken) {
593
646
  // oauth required
@@ -599,6 +652,11 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
599
652
  let urlPath = `/corporations/{corporation_id}/assets/locations`;
600
653
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
601
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
+
602
660
  const facade = this.configuration?.apiFacade;
603
661
  if (!facade) {
604
662
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -672,6 +730,10 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
672
730
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
673
731
  }
674
732
 
733
+ if (requestParameters['ifModifiedSince'] != null) {
734
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
735
+ }
736
+
675
737
  /*
676
738
  if (this.configuration && this.configuration.accessToken) {
677
739
  // oauth required
@@ -683,6 +745,11 @@ export class AssetsApi extends runtime.BaseAPI implements AssetsApiInterface {
683
745
  let urlPath = `/corporations/{corporation_id}/assets/names`;
684
746
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
685
747
 
748
+ // Auto-inject X-Compatibility-Date if not already provided
749
+ if (!headerParameters['X-Compatibility-Date']) {
750
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
751
+ }
752
+
686
753
  const facade = this.configuration?.apiFacade;
687
754
  if (!facade) {
688
755
  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
  CharactersCharacterIdCalendarEventIdAttendeesGetInner,
@@ -29,6 +30,7 @@ export interface GetCharactersCharacterIdCalendarRequest {
29
30
  acceptLanguage?: GetCharactersCharacterIdCalendarAcceptLanguageEnum;
30
31
  ifNoneMatch?: string;
31
32
  xTenant?: string;
33
+ ifModifiedSince?: string;
32
34
  }
33
35
 
34
36
  export interface GetCharactersCharacterIdCalendarEventIdRequest {
@@ -38,6 +40,7 @@ export interface GetCharactersCharacterIdCalendarEventIdRequest {
38
40
  acceptLanguage?: GetCharactersCharacterIdCalendarEventIdAcceptLanguageEnum;
39
41
  ifNoneMatch?: string;
40
42
  xTenant?: string;
43
+ ifModifiedSince?: string;
41
44
  }
42
45
 
43
46
  export interface GetCharactersCharacterIdCalendarEventIdAttendeesRequest {
@@ -47,6 +50,7 @@ export interface GetCharactersCharacterIdCalendarEventIdAttendeesRequest {
47
50
  acceptLanguage?: GetCharactersCharacterIdCalendarEventIdAttendeesAcceptLanguageEnum;
48
51
  ifNoneMatch?: string;
49
52
  xTenant?: string;
53
+ ifModifiedSince?: string;
50
54
  }
51
55
 
52
56
  export interface PutCharactersCharacterIdCalendarEventIdOperationRequest {
@@ -57,6 +61,7 @@ export interface PutCharactersCharacterIdCalendarEventIdOperationRequest {
57
61
  acceptLanguage?: PutCharactersCharacterIdCalendarEventIdOperationAcceptLanguageEnum;
58
62
  ifNoneMatch?: string;
59
63
  xTenant?: string;
64
+ ifModifiedSince?: string;
60
65
  }
61
66
 
62
67
  /**
@@ -75,6 +80,7 @@ export interface CalendarApiInterface {
75
80
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
76
81
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
77
82
  * @param {string} [xTenant] The tenant ID for the request.
83
+ * @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.
78
84
  * @param {*} [options] Override http request option.
79
85
  * @throws {RequiredError}
80
86
  * @memberof CalendarApiInterface
@@ -96,6 +102,7 @@ export interface CalendarApiInterface {
96
102
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
97
103
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
98
104
  * @param {string} [xTenant] The tenant ID for the request.
105
+ * @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.
99
106
  * @param {*} [options] Override http request option.
100
107
  * @throws {RequiredError}
101
108
  * @memberof CalendarApiInterface
@@ -117,6 +124,7 @@ export interface CalendarApiInterface {
117
124
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
118
125
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
119
126
  * @param {string} [xTenant] The tenant ID for the request.
127
+ * @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.
120
128
  * @param {*} [options] Override http request option.
121
129
  * @throws {RequiredError}
122
130
  * @memberof CalendarApiInterface
@@ -139,6 +147,7 @@ export interface CalendarApiInterface {
139
147
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
140
148
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
141
149
  * @param {string} [xTenant] The tenant ID for the request.
150
+ * @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.
142
151
  * @param {*} [options] Override http request option.
143
152
  * @throws {RequiredError}
144
153
  * @memberof CalendarApiInterface
@@ -201,6 +210,10 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
201
210
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
202
211
  }
203
212
 
213
+ if (requestParameters['ifModifiedSince'] != null) {
214
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
215
+ }
216
+
204
217
  /*
205
218
  if (this.configuration && this.configuration.accessToken) {
206
219
  // oauth required
@@ -212,6 +225,11 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
212
225
  let urlPath = `/characters/{character_id}/calendar`;
213
226
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
214
227
 
228
+ // Auto-inject X-Compatibility-Date if not already provided
229
+ if (!headerParameters['X-Compatibility-Date']) {
230
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
231
+ }
232
+
215
233
  const facade = this.configuration?.apiFacade;
216
234
  if (!facade) {
217
235
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -282,6 +300,10 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
282
300
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
283
301
  }
284
302
 
303
+ if (requestParameters['ifModifiedSince'] != null) {
304
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
305
+ }
306
+
285
307
  /*
286
308
  if (this.configuration && this.configuration.accessToken) {
287
309
  // oauth required
@@ -294,6 +316,11 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
294
316
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
295
317
  urlPath = urlPath.replace(`{${"event_id"}}`, encodeURIComponent(String(requestParameters['eventId'])));
296
318
 
319
+ // Auto-inject X-Compatibility-Date if not already provided
320
+ if (!headerParameters['X-Compatibility-Date']) {
321
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
322
+ }
323
+
297
324
  const facade = this.configuration?.apiFacade;
298
325
  if (!facade) {
299
326
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -364,6 +391,10 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
364
391
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
365
392
  }
366
393
 
394
+ if (requestParameters['ifModifiedSince'] != null) {
395
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
396
+ }
397
+
367
398
  /*
368
399
  if (this.configuration && this.configuration.accessToken) {
369
400
  // oauth required
@@ -376,6 +407,11 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
376
407
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
377
408
  urlPath = urlPath.replace(`{${"event_id"}}`, encodeURIComponent(String(requestParameters['eventId'])));
378
409
 
410
+ // Auto-inject X-Compatibility-Date if not already provided
411
+ if (!headerParameters['X-Compatibility-Date']) {
412
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
413
+ }
414
+
379
415
  const facade = this.configuration?.apiFacade;
380
416
  if (!facade) {
381
417
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -455,6 +491,10 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
455
491
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
456
492
  }
457
493
 
494
+ if (requestParameters['ifModifiedSince'] != null) {
495
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
496
+ }
497
+
458
498
  /*
459
499
  if (this.configuration && this.configuration.accessToken) {
460
500
  // oauth required
@@ -467,6 +507,11 @@ export class CalendarApi extends runtime.BaseAPI implements CalendarApiInterface
467
507
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
468
508
  urlPath = urlPath.replace(`{${"event_id"}}`, encodeURIComponent(String(requestParameters['eventId'])));
469
509
 
510
+ // Auto-inject X-Compatibility-Date if not already provided
511
+ if (!headerParameters['X-Compatibility-Date']) {
512
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
513
+ }
514
+
470
515
  const facade = this.configuration?.apiFacade;
471
516
  if (!facade) {
472
517
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');