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
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # esisl_genoa_client@0.1.5
1
+ # esisl_genoa_client@0.1.6
2
2
 
3
3
  A TypeScript SDK client for the esi.evetech.net API.
4
4
 
@@ -33,6 +33,8 @@ async function example() {
33
33
  ifNoneMatch: ifNoneMatch_example,
34
34
  // string | The tenant ID for the request. (optional)
35
35
  xTenant: ,
36
+ // string | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional)
37
+ ifModifiedSince: ifModifiedSince_example,
36
38
  } satisfies GetAlliancesRequest;
37
39
 
38
40
  try {
@@ -691,7 +693,7 @@ and is automatically generated by the
691
693
  [OpenAPI Generator](https://openapi-generator.tech) project:
692
694
 
693
695
  - API version: `2025-12-16`
694
- - Package version: `0.1.5`
696
+ - Package version: `0.1.6`
695
697
  - Generator version: `7.17.0`
696
698
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
697
699
 
@@ -16,6 +16,7 @@ export interface GetAlliancesRequest {
16
16
  acceptLanguage?: GetAlliancesAcceptLanguageEnum;
17
17
  ifNoneMatch?: string;
18
18
  xTenant?: string;
19
+ ifModifiedSince?: string;
19
20
  }
20
21
  export interface GetAlliancesAllianceIdRequest {
21
22
  allianceId: number;
@@ -23,6 +24,7 @@ export interface GetAlliancesAllianceIdRequest {
23
24
  acceptLanguage?: GetAlliancesAllianceIdAcceptLanguageEnum;
24
25
  ifNoneMatch?: string;
25
26
  xTenant?: string;
27
+ ifModifiedSince?: string;
26
28
  }
27
29
  export interface GetAlliancesAllianceIdCorporationsRequest {
28
30
  allianceId: number;
@@ -30,6 +32,7 @@ export interface GetAlliancesAllianceIdCorporationsRequest {
30
32
  acceptLanguage?: GetAlliancesAllianceIdCorporationsAcceptLanguageEnum;
31
33
  ifNoneMatch?: string;
32
34
  xTenant?: string;
35
+ ifModifiedSince?: string;
33
36
  }
34
37
  export interface GetAlliancesAllianceIdIconsRequest {
35
38
  allianceId: number;
@@ -37,6 +40,7 @@ export interface GetAlliancesAllianceIdIconsRequest {
37
40
  acceptLanguage?: GetAlliancesAllianceIdIconsAcceptLanguageEnum;
38
41
  ifNoneMatch?: string;
39
42
  xTenant?: string;
43
+ ifModifiedSince?: string;
40
44
  }
41
45
  /**
42
46
  * AllianceApi - interface
@@ -52,6 +56,7 @@ export interface AllianceApiInterface {
52
56
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
53
57
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
54
58
  * @param {string} [xTenant] The tenant ID for the request.
59
+ * @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.
55
60
  * @param {*} [options] Override http request option.
56
61
  * @throws {RequiredError}
57
62
  * @memberof AllianceApiInterface
@@ -70,6 +75,7 @@ export interface AllianceApiInterface {
70
75
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
71
76
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
72
77
  * @param {string} [xTenant] The tenant ID for the request.
78
+ * @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.
73
79
  * @param {*} [options] Override http request option.
74
80
  * @throws {RequiredError}
75
81
  * @memberof AllianceApiInterface
@@ -88,6 +94,7 @@ export interface AllianceApiInterface {
88
94
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
89
95
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
90
96
  * @param {string} [xTenant] The tenant ID for the request.
97
+ * @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.
91
98
  * @param {*} [options] Override http request option.
92
99
  * @throws {RequiredError}
93
100
  * @memberof AllianceApiInterface
@@ -106,6 +113,7 @@ export interface AllianceApiInterface {
106
113
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
107
114
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
108
115
  * @param {string} [xTenant] The tenant ID for the request.
116
+ * @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.
109
117
  * @param {*} [options] Override http request option.
110
118
  * @throws {RequiredError}
111
119
  * @memberof AllianceApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetAlliancesAllianceIdIconsAcceptLanguageEnum = exports.GetAlliancesAllianceIdIconsXCompatibilityDateEnum = exports.GetAlliancesAllianceIdCorporationsAcceptLanguageEnum = exports.GetAlliancesAllianceIdCorporationsXCompatibilityDateEnum = exports.GetAlliancesAllianceIdAcceptLanguageEnum = exports.GetAlliancesAllianceIdXCompatibilityDateEnum = exports.GetAlliancesAcceptLanguageEnum = exports.GetAlliancesXCompatibilityDateEnum = exports.AllianceApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -102,7 +103,14 @@ var AllianceApi = /** @class */ (function (_super) {
102
103
  if (requestParameters['xTenant'] != null) {
103
104
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
104
105
  }
106
+ if (requestParameters['ifModifiedSince'] != null) {
107
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
108
+ }
105
109
  urlPath = "/alliances";
110
+ // Auto-inject X-Compatibility-Date if not already provided
111
+ if (!headerParameters['X-Compatibility-Date']) {
112
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
113
+ }
106
114
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
107
115
  if (!facade) {
108
116
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -168,8 +176,15 @@ var AllianceApi = /** @class */ (function (_super) {
168
176
  if (requestParameters['xTenant'] != null) {
169
177
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
170
178
  }
179
+ if (requestParameters['ifModifiedSince'] != null) {
180
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
181
+ }
171
182
  urlPath = "/alliances/{alliance_id}";
172
183
  urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
184
+ // Auto-inject X-Compatibility-Date if not already provided
185
+ if (!headerParameters['X-Compatibility-Date']) {
186
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
187
+ }
173
188
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
174
189
  if (!facade) {
175
190
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -235,8 +250,15 @@ var AllianceApi = /** @class */ (function (_super) {
235
250
  if (requestParameters['xTenant'] != null) {
236
251
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
237
252
  }
253
+ if (requestParameters['ifModifiedSince'] != null) {
254
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
255
+ }
238
256
  urlPath = "/alliances/{alliance_id}/corporations";
239
257
  urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
258
+ // Auto-inject X-Compatibility-Date if not already provided
259
+ if (!headerParameters['X-Compatibility-Date']) {
260
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
261
+ }
240
262
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
241
263
  if (!facade) {
242
264
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -302,8 +324,15 @@ var AllianceApi = /** @class */ (function (_super) {
302
324
  if (requestParameters['xTenant'] != null) {
303
325
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
304
326
  }
327
+ if (requestParameters['ifModifiedSince'] != null) {
328
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
329
+ }
305
330
  urlPath = "/alliances/{alliance_id}/icons";
306
331
  urlPath = urlPath.replace("{".concat("alliance_id", "}"), encodeURIComponent(String(requestParameters['allianceId'])));
332
+ // Auto-inject X-Compatibility-Date if not already provided
333
+ if (!headerParameters['X-Compatibility-Date']) {
334
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
335
+ }
307
336
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
308
337
  if (!facade) {
309
338
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -18,6 +18,7 @@ export interface GetCharactersCharacterIdAssetsRequest {
18
18
  acceptLanguage?: GetCharactersCharacterIdAssetsAcceptLanguageEnum;
19
19
  ifNoneMatch?: string;
20
20
  xTenant?: string;
21
+ ifModifiedSince?: string;
21
22
  }
22
23
  export interface GetCorporationsCorporationIdAssetsRequest {
23
24
  corporationId: number;
@@ -26,6 +27,7 @@ export interface GetCorporationsCorporationIdAssetsRequest {
26
27
  acceptLanguage?: GetCorporationsCorporationIdAssetsAcceptLanguageEnum;
27
28
  ifNoneMatch?: string;
28
29
  xTenant?: string;
30
+ ifModifiedSince?: string;
29
31
  }
30
32
  export interface PostCharactersCharacterIdAssetsLocationsRequest {
31
33
  characterId: number;
@@ -34,6 +36,7 @@ export interface PostCharactersCharacterIdAssetsLocationsRequest {
34
36
  acceptLanguage?: PostCharactersCharacterIdAssetsLocationsAcceptLanguageEnum;
35
37
  ifNoneMatch?: string;
36
38
  xTenant?: string;
39
+ ifModifiedSince?: string;
37
40
  }
38
41
  export interface PostCharactersCharacterIdAssetsNamesRequest {
39
42
  characterId: number;
@@ -42,6 +45,7 @@ export interface PostCharactersCharacterIdAssetsNamesRequest {
42
45
  acceptLanguage?: PostCharactersCharacterIdAssetsNamesAcceptLanguageEnum;
43
46
  ifNoneMatch?: string;
44
47
  xTenant?: string;
48
+ ifModifiedSince?: string;
45
49
  }
46
50
  export interface PostCorporationsCorporationIdAssetsLocationsRequest {
47
51
  corporationId: number;
@@ -50,6 +54,7 @@ export interface PostCorporationsCorporationIdAssetsLocationsRequest {
50
54
  acceptLanguage?: PostCorporationsCorporationIdAssetsLocationsAcceptLanguageEnum;
51
55
  ifNoneMatch?: string;
52
56
  xTenant?: string;
57
+ ifModifiedSince?: string;
53
58
  }
54
59
  export interface PostCorporationsCorporationIdAssetsNamesRequest {
55
60
  corporationId: number;
@@ -58,6 +63,7 @@ export interface PostCorporationsCorporationIdAssetsNamesRequest {
58
63
  acceptLanguage?: PostCorporationsCorporationIdAssetsNamesAcceptLanguageEnum;
59
64
  ifNoneMatch?: string;
60
65
  xTenant?: string;
66
+ ifModifiedSince?: string;
61
67
  }
62
68
  /**
63
69
  * AssetsApi - interface
@@ -75,6 +81,7 @@ export interface AssetsApiInterface {
75
81
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
76
82
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
77
83
  * @param {string} [xTenant] The tenant ID for the request.
84
+ * @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
85
  * @param {*} [options] Override http request option.
79
86
  * @throws {RequiredError}
80
87
  * @memberof AssetsApiInterface
@@ -94,6 +101,7 @@ export interface AssetsApiInterface {
94
101
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
95
102
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
96
103
  * @param {string} [xTenant] The tenant ID for the request.
104
+ * @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.
97
105
  * @param {*} [options] Override http request option.
98
106
  * @throws {RequiredError}
99
107
  * @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
@@ -132,6 +141,7 @@ export interface AssetsApiInterface {
132
141
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
133
142
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
134
143
  * @param {string} [xTenant] The tenant ID for the request.
144
+ * @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.
135
145
  * @param {*} [options] Override http request option.
136
146
  * @throws {RequiredError}
137
147
  * @memberof AssetsApiInterface
@@ -151,6 +161,7 @@ export interface AssetsApiInterface {
151
161
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
152
162
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
153
163
  * @param {string} [xTenant] The tenant ID for the request.
164
+ * @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.
154
165
  * @param {*} [options] Override http request option.
155
166
  * @throws {RequiredError}
156
167
  * @memberof AssetsApiInterface
@@ -170,6 +181,7 @@ export interface AssetsApiInterface {
170
181
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
171
182
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
172
183
  * @param {string} [xTenant] The tenant ID for the request.
184
+ * @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.
173
185
  * @param {*} [options] Override http request option.
174
186
  * @throws {RequiredError}
175
187
  * @memberof AssetsApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PostCorporationsCorporationIdAssetsNamesAcceptLanguageEnum = exports.PostCorporationsCorporationIdAssetsNamesXCompatibilityDateEnum = exports.PostCorporationsCorporationIdAssetsLocationsAcceptLanguageEnum = exports.PostCorporationsCorporationIdAssetsLocationsXCompatibilityDateEnum = exports.PostCharactersCharacterIdAssetsNamesAcceptLanguageEnum = exports.PostCharactersCharacterIdAssetsNamesXCompatibilityDateEnum = exports.PostCharactersCharacterIdAssetsLocationsAcceptLanguageEnum = exports.PostCharactersCharacterIdAssetsLocationsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdAssetsAcceptLanguageEnum = exports.GetCorporationsCorporationIdAssetsXCompatibilityDateEnum = exports.GetCharactersCharacterIdAssetsAcceptLanguageEnum = exports.GetCharactersCharacterIdAssetsXCompatibilityDateEnum = exports.AssetsApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -108,8 +109,15 @@ var AssetsApi = /** @class */ (function (_super) {
108
109
  if (requestParameters['xTenant'] != null) {
109
110
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
110
111
  }
112
+ if (requestParameters['ifModifiedSince'] != null) {
113
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
114
+ }
111
115
  urlPath = "/characters/{character_id}/assets";
112
116
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
117
+ // Auto-inject X-Compatibility-Date if not already provided
118
+ if (!headerParameters['X-Compatibility-Date']) {
119
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
120
+ }
113
121
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
114
122
  if (!facade) {
115
123
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -178,8 +186,15 @@ var AssetsApi = /** @class */ (function (_super) {
178
186
  if (requestParameters['xTenant'] != null) {
179
187
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
180
188
  }
189
+ if (requestParameters['ifModifiedSince'] != null) {
190
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
191
+ }
181
192
  urlPath = "/corporations/{corporation_id}/assets";
182
193
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
194
+ // Auto-inject X-Compatibility-Date if not already provided
195
+ if (!headerParameters['X-Compatibility-Date']) {
196
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
197
+ }
183
198
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
184
199
  if (!facade) {
185
200
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -249,8 +264,15 @@ var AssetsApi = /** @class */ (function (_super) {
249
264
  if (requestParameters['xTenant'] != null) {
250
265
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
251
266
  }
267
+ if (requestParameters['ifModifiedSince'] != null) {
268
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
269
+ }
252
270
  urlPath = "/characters/{character_id}/assets/locations";
253
271
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
272
+ // Auto-inject X-Compatibility-Date if not already provided
273
+ if (!headerParameters['X-Compatibility-Date']) {
274
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
275
+ }
254
276
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
255
277
  if (!facade) {
256
278
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -321,8 +343,15 @@ var AssetsApi = /** @class */ (function (_super) {
321
343
  if (requestParameters['xTenant'] != null) {
322
344
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
323
345
  }
346
+ if (requestParameters['ifModifiedSince'] != null) {
347
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
348
+ }
324
349
  urlPath = "/characters/{character_id}/assets/names";
325
350
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
351
+ // Auto-inject X-Compatibility-Date if not already provided
352
+ if (!headerParameters['X-Compatibility-Date']) {
353
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
354
+ }
326
355
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
327
356
  if (!facade) {
328
357
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -393,8 +422,15 @@ var AssetsApi = /** @class */ (function (_super) {
393
422
  if (requestParameters['xTenant'] != null) {
394
423
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
395
424
  }
425
+ if (requestParameters['ifModifiedSince'] != null) {
426
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
427
+ }
396
428
  urlPath = "/corporations/{corporation_id}/assets/locations";
397
429
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
430
+ // Auto-inject X-Compatibility-Date if not already provided
431
+ if (!headerParameters['X-Compatibility-Date']) {
432
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
433
+ }
398
434
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
399
435
  if (!facade) {
400
436
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -465,8 +501,15 @@ var AssetsApi = /** @class */ (function (_super) {
465
501
  if (requestParameters['xTenant'] != null) {
466
502
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
467
503
  }
504
+ if (requestParameters['ifModifiedSince'] != null) {
505
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
506
+ }
468
507
  urlPath = "/corporations/{corporation_id}/assets/names";
469
508
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
509
+ // Auto-inject X-Compatibility-Date if not already provided
510
+ if (!headerParameters['X-Compatibility-Date']) {
511
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
512
+ }
470
513
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
471
514
  if (!facade) {
472
515
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -18,6 +18,7 @@ export interface GetCharactersCharacterIdCalendarRequest {
18
18
  acceptLanguage?: GetCharactersCharacterIdCalendarAcceptLanguageEnum;
19
19
  ifNoneMatch?: string;
20
20
  xTenant?: string;
21
+ ifModifiedSince?: string;
21
22
  }
22
23
  export interface GetCharactersCharacterIdCalendarEventIdRequest {
23
24
  characterId: number;
@@ -26,6 +27,7 @@ export interface GetCharactersCharacterIdCalendarEventIdRequest {
26
27
  acceptLanguage?: GetCharactersCharacterIdCalendarEventIdAcceptLanguageEnum;
27
28
  ifNoneMatch?: string;
28
29
  xTenant?: string;
30
+ ifModifiedSince?: string;
29
31
  }
30
32
  export interface GetCharactersCharacterIdCalendarEventIdAttendeesRequest {
31
33
  characterId: number;
@@ -34,6 +36,7 @@ export interface GetCharactersCharacterIdCalendarEventIdAttendeesRequest {
34
36
  acceptLanguage?: GetCharactersCharacterIdCalendarEventIdAttendeesAcceptLanguageEnum;
35
37
  ifNoneMatch?: string;
36
38
  xTenant?: string;
39
+ ifModifiedSince?: string;
37
40
  }
38
41
  export interface PutCharactersCharacterIdCalendarEventIdOperationRequest {
39
42
  characterId: number;
@@ -43,6 +46,7 @@ export interface PutCharactersCharacterIdCalendarEventIdOperationRequest {
43
46
  acceptLanguage?: PutCharactersCharacterIdCalendarEventIdOperationAcceptLanguageEnum;
44
47
  ifNoneMatch?: string;
45
48
  xTenant?: string;
49
+ ifModifiedSince?: string;
46
50
  }
47
51
  /**
48
52
  * CalendarApi - interface
@@ -60,6 +64,7 @@ export interface CalendarApiInterface {
60
64
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
61
65
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
62
66
  * @param {string} [xTenant] The tenant ID for the request.
67
+ * @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.
63
68
  * @param {*} [options] Override http request option.
64
69
  * @throws {RequiredError}
65
70
  * @memberof CalendarApiInterface
@@ -79,6 +84,7 @@ export interface CalendarApiInterface {
79
84
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
80
85
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
81
86
  * @param {string} [xTenant] The tenant ID for the request.
87
+ * @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.
82
88
  * @param {*} [options] Override http request option.
83
89
  * @throws {RequiredError}
84
90
  * @memberof CalendarApiInterface
@@ -98,6 +104,7 @@ export interface CalendarApiInterface {
98
104
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
99
105
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
100
106
  * @param {string} [xTenant] The tenant ID for the request.
107
+ * @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.
101
108
  * @param {*} [options] Override http request option.
102
109
  * @throws {RequiredError}
103
110
  * @memberof CalendarApiInterface
@@ -118,6 +125,7 @@ export interface CalendarApiInterface {
118
125
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
119
126
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
120
127
  * @param {string} [xTenant] The tenant ID for the request.
128
+ * @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.
121
129
  * @param {*} [options] Override http request option.
122
130
  * @throws {RequiredError}
123
131
  * @memberof CalendarApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PutCharactersCharacterIdCalendarEventIdOperationAcceptLanguageEnum = exports.PutCharactersCharacterIdCalendarEventIdOperationXCompatibilityDateEnum = exports.GetCharactersCharacterIdCalendarEventIdAttendeesAcceptLanguageEnum = exports.GetCharactersCharacterIdCalendarEventIdAttendeesXCompatibilityDateEnum = exports.GetCharactersCharacterIdCalendarEventIdAcceptLanguageEnum = exports.GetCharactersCharacterIdCalendarEventIdXCompatibilityDateEnum = exports.GetCharactersCharacterIdCalendarAcceptLanguageEnum = exports.GetCharactersCharacterIdCalendarXCompatibilityDateEnum = exports.CalendarApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -108,8 +109,15 @@ var CalendarApi = /** @class */ (function (_super) {
108
109
  if (requestParameters['xTenant'] != null) {
109
110
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
110
111
  }
112
+ if (requestParameters['ifModifiedSince'] != null) {
113
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
114
+ }
111
115
  urlPath = "/characters/{character_id}/calendar";
112
116
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
117
+ // Auto-inject X-Compatibility-Date if not already provided
118
+ if (!headerParameters['X-Compatibility-Date']) {
119
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
120
+ }
113
121
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
114
122
  if (!facade) {
115
123
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -178,9 +186,16 @@ var CalendarApi = /** @class */ (function (_super) {
178
186
  if (requestParameters['xTenant'] != null) {
179
187
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
180
188
  }
189
+ if (requestParameters['ifModifiedSince'] != null) {
190
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
191
+ }
181
192
  urlPath = "/characters/{character_id}/calendar/{event_id}";
182
193
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
183
194
  urlPath = urlPath.replace("{".concat("event_id", "}"), encodeURIComponent(String(requestParameters['eventId'])));
195
+ // Auto-inject X-Compatibility-Date if not already provided
196
+ if (!headerParameters['X-Compatibility-Date']) {
197
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
198
+ }
184
199
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
185
200
  if (!facade) {
186
201
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -249,9 +264,16 @@ var CalendarApi = /** @class */ (function (_super) {
249
264
  if (requestParameters['xTenant'] != null) {
250
265
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
251
266
  }
267
+ if (requestParameters['ifModifiedSince'] != null) {
268
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
269
+ }
252
270
  urlPath = "/characters/{character_id}/calendar/{event_id}/attendees";
253
271
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
254
272
  urlPath = urlPath.replace("{".concat("event_id", "}"), encodeURIComponent(String(requestParameters['eventId'])));
273
+ // Auto-inject X-Compatibility-Date if not already provided
274
+ if (!headerParameters['X-Compatibility-Date']) {
275
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
276
+ }
255
277
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
256
278
  if (!facade) {
257
279
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -324,9 +346,16 @@ var CalendarApi = /** @class */ (function (_super) {
324
346
  if (requestParameters['xTenant'] != null) {
325
347
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
326
348
  }
349
+ if (requestParameters['ifModifiedSince'] != null) {
350
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
351
+ }
327
352
  urlPath = "/characters/{character_id}/calendar/{event_id}";
328
353
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
329
354
  urlPath = urlPath.replace("{".concat("event_id", "}"), encodeURIComponent(String(requestParameters['eventId'])));
355
+ // Auto-inject X-Compatibility-Date if not already provided
356
+ if (!headerParameters['X-Compatibility-Date']) {
357
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
358
+ }
330
359
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
331
360
  if (!facade) {
332
361
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');