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
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PostUiOpenwindowNewmailOperationAcceptLanguageEnum = exports.PostUiOpenwindowNewmailOperationXCompatibilityDateEnum = exports.PostUiOpenwindowMarketdetailsAcceptLanguageEnum = exports.PostUiOpenwindowMarketdetailsXCompatibilityDateEnum = exports.PostUiOpenwindowInformationAcceptLanguageEnum = exports.PostUiOpenwindowInformationXCompatibilityDateEnum = exports.PostUiOpenwindowContractAcceptLanguageEnum = exports.PostUiOpenwindowContractXCompatibilityDateEnum = exports.PostUiAutopilotWaypointAcceptLanguageEnum = exports.PostUiAutopilotWaypointXCompatibilityDateEnum = exports.UserInterfaceApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -120,7 +121,14 @@ var UserInterfaceApi = /** @class */ (function (_super) {
120
121
  if (requestParameters['xTenant'] != null) {
121
122
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
122
123
  }
124
+ if (requestParameters['ifModifiedSince'] != null) {
125
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
126
+ }
123
127
  urlPath = "/ui/autopilot/waypoint";
128
+ // Auto-inject X-Compatibility-Date if not already provided
129
+ if (!headerParameters['X-Compatibility-Date']) {
130
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
131
+ }
124
132
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
125
133
  if (!facade) {
126
134
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -186,7 +194,14 @@ var UserInterfaceApi = /** @class */ (function (_super) {
186
194
  if (requestParameters['xTenant'] != null) {
187
195
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
188
196
  }
197
+ if (requestParameters['ifModifiedSince'] != null) {
198
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
199
+ }
189
200
  urlPath = "/ui/openwindow/contract";
201
+ // Auto-inject X-Compatibility-Date if not already provided
202
+ if (!headerParameters['X-Compatibility-Date']) {
203
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
204
+ }
190
205
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
191
206
  if (!facade) {
192
207
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -252,7 +267,14 @@ var UserInterfaceApi = /** @class */ (function (_super) {
252
267
  if (requestParameters['xTenant'] != null) {
253
268
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
254
269
  }
270
+ if (requestParameters['ifModifiedSince'] != null) {
271
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
272
+ }
255
273
  urlPath = "/ui/openwindow/information";
274
+ // Auto-inject X-Compatibility-Date if not already provided
275
+ if (!headerParameters['X-Compatibility-Date']) {
276
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
277
+ }
256
278
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
257
279
  if (!facade) {
258
280
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -318,7 +340,14 @@ var UserInterfaceApi = /** @class */ (function (_super) {
318
340
  if (requestParameters['xTenant'] != null) {
319
341
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
320
342
  }
343
+ if (requestParameters['ifModifiedSince'] != null) {
344
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
345
+ }
321
346
  urlPath = "/ui/openwindow/marketdetails";
347
+ // Auto-inject X-Compatibility-Date if not already provided
348
+ if (!headerParameters['X-Compatibility-Date']) {
349
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
350
+ }
322
351
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
323
352
  if (!facade) {
324
353
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -382,7 +411,14 @@ var UserInterfaceApi = /** @class */ (function (_super) {
382
411
  if (requestParameters['xTenant'] != null) {
383
412
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
384
413
  }
414
+ if (requestParameters['ifModifiedSince'] != null) {
415
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
416
+ }
385
417
  urlPath = "/ui/openwindow/newmail";
418
+ // Auto-inject X-Compatibility-Date if not already provided
419
+ if (!headerParameters['X-Compatibility-Date']) {
420
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
421
+ }
386
422
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
387
423
  if (!facade) {
388
424
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -17,6 +17,7 @@ export interface GetCharactersCharacterIdWalletRequest {
17
17
  acceptLanguage?: GetCharactersCharacterIdWalletAcceptLanguageEnum;
18
18
  ifNoneMatch?: string;
19
19
  xTenant?: string;
20
+ ifModifiedSince?: string;
20
21
  }
21
22
  export interface GetCharactersCharacterIdWalletJournalRequest {
22
23
  characterId: number;
@@ -25,6 +26,7 @@ export interface GetCharactersCharacterIdWalletJournalRequest {
25
26
  acceptLanguage?: GetCharactersCharacterIdWalletJournalAcceptLanguageEnum;
26
27
  ifNoneMatch?: string;
27
28
  xTenant?: string;
29
+ ifModifiedSince?: string;
28
30
  }
29
31
  export interface GetCharactersCharacterIdWalletTransactionsRequest {
30
32
  characterId: number;
@@ -33,6 +35,7 @@ export interface GetCharactersCharacterIdWalletTransactionsRequest {
33
35
  acceptLanguage?: GetCharactersCharacterIdWalletTransactionsAcceptLanguageEnum;
34
36
  ifNoneMatch?: string;
35
37
  xTenant?: string;
38
+ ifModifiedSince?: string;
36
39
  }
37
40
  export interface GetCorporationsCorporationIdWalletsRequest {
38
41
  corporationId: number;
@@ -40,6 +43,7 @@ export interface GetCorporationsCorporationIdWalletsRequest {
40
43
  acceptLanguage?: GetCorporationsCorporationIdWalletsAcceptLanguageEnum;
41
44
  ifNoneMatch?: string;
42
45
  xTenant?: string;
46
+ ifModifiedSince?: string;
43
47
  }
44
48
  export interface GetCorporationsCorporationIdWalletsDivisionJournalRequest {
45
49
  corporationId: number;
@@ -49,6 +53,7 @@ export interface GetCorporationsCorporationIdWalletsDivisionJournalRequest {
49
53
  acceptLanguage?: GetCorporationsCorporationIdWalletsDivisionJournalAcceptLanguageEnum;
50
54
  ifNoneMatch?: string;
51
55
  xTenant?: string;
56
+ ifModifiedSince?: string;
52
57
  }
53
58
  export interface GetCorporationsCorporationIdWalletsDivisionTransactionsRequest {
54
59
  corporationId: number;
@@ -58,6 +63,7 @@ export interface GetCorporationsCorporationIdWalletsDivisionTransactionsRequest
58
63
  acceptLanguage?: GetCorporationsCorporationIdWalletsDivisionTransactionsAcceptLanguageEnum;
59
64
  ifNoneMatch?: string;
60
65
  xTenant?: string;
66
+ ifModifiedSince?: string;
61
67
  }
62
68
  /**
63
69
  * WalletApi - interface
@@ -74,6 +80,7 @@ export interface WalletApiInterface {
74
80
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
75
81
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
76
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.
77
84
  * @param {*} [options] Override http request option.
78
85
  * @throws {RequiredError}
79
86
  * @memberof WalletApiInterface
@@ -93,6 +100,7 @@ export interface WalletApiInterface {
93
100
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
94
101
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
95
102
  * @param {string} [xTenant] The tenant ID for the request.
103
+ * @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.
96
104
  * @param {*} [options] Override http request option.
97
105
  * @throws {RequiredError}
98
106
  * @memberof WalletApiInterface
@@ -112,6 +120,7 @@ export interface WalletApiInterface {
112
120
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
113
121
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
114
122
  * @param {string} [xTenant] The tenant ID for the request.
123
+ * @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
124
  * @param {*} [options] Override http request option.
116
125
  * @throws {RequiredError}
117
126
  * @memberof WalletApiInterface
@@ -130,6 +139,7 @@ export interface WalletApiInterface {
130
139
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
131
140
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
132
141
  * @param {string} [xTenant] The tenant ID for the request.
142
+ * @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.
133
143
  * @param {*} [options] Override http request option.
134
144
  * @throws {RequiredError}
135
145
  * @memberof WalletApiInterface
@@ -150,6 +160,7 @@ export interface WalletApiInterface {
150
160
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
151
161
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
152
162
  * @param {string} [xTenant] The tenant ID for the request.
163
+ * @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.
153
164
  * @param {*} [options] Override http request option.
154
165
  * @throws {RequiredError}
155
166
  * @memberof WalletApiInterface
@@ -170,6 +181,7 @@ export interface WalletApiInterface {
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 WalletApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetCorporationsCorporationIdWalletsDivisionTransactionsAcceptLanguageEnum = exports.GetCorporationsCorporationIdWalletsDivisionTransactionsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdWalletsDivisionJournalAcceptLanguageEnum = exports.GetCorporationsCorporationIdWalletsDivisionJournalXCompatibilityDateEnum = exports.GetCorporationsCorporationIdWalletsAcceptLanguageEnum = exports.GetCorporationsCorporationIdWalletsXCompatibilityDateEnum = exports.GetCharactersCharacterIdWalletTransactionsAcceptLanguageEnum = exports.GetCharactersCharacterIdWalletTransactionsXCompatibilityDateEnum = exports.GetCharactersCharacterIdWalletJournalAcceptLanguageEnum = exports.GetCharactersCharacterIdWalletJournalXCompatibilityDateEnum = exports.GetCharactersCharacterIdWalletAcceptLanguageEnum = exports.GetCharactersCharacterIdWalletXCompatibilityDateEnum = exports.WalletApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -105,8 +106,15 @@ var WalletApi = /** @class */ (function (_super) {
105
106
  if (requestParameters['xTenant'] != null) {
106
107
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
107
108
  }
109
+ if (requestParameters['ifModifiedSince'] != null) {
110
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
111
+ }
108
112
  urlPath = "/characters/{character_id}/wallet";
109
113
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
114
+ // Auto-inject X-Compatibility-Date if not already provided
115
+ if (!headerParameters['X-Compatibility-Date']) {
116
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
117
+ }
110
118
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
111
119
  if (!facade) {
112
120
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -175,8 +183,15 @@ var WalletApi = /** @class */ (function (_super) {
175
183
  if (requestParameters['xTenant'] != null) {
176
184
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
177
185
  }
186
+ if (requestParameters['ifModifiedSince'] != null) {
187
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
188
+ }
178
189
  urlPath = "/characters/{character_id}/wallet/journal";
179
190
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
191
+ // Auto-inject X-Compatibility-Date if not already provided
192
+ if (!headerParameters['X-Compatibility-Date']) {
193
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
194
+ }
180
195
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
181
196
  if (!facade) {
182
197
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -245,8 +260,15 @@ var WalletApi = /** @class */ (function (_super) {
245
260
  if (requestParameters['xTenant'] != null) {
246
261
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
247
262
  }
263
+ if (requestParameters['ifModifiedSince'] != null) {
264
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
265
+ }
248
266
  urlPath = "/characters/{character_id}/wallet/transactions";
249
267
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
268
+ // Auto-inject X-Compatibility-Date if not already provided
269
+ if (!headerParameters['X-Compatibility-Date']) {
270
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
271
+ }
250
272
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
251
273
  if (!facade) {
252
274
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -312,8 +334,15 @@ var WalletApi = /** @class */ (function (_super) {
312
334
  if (requestParameters['xTenant'] != null) {
313
335
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
314
336
  }
337
+ if (requestParameters['ifModifiedSince'] != null) {
338
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
339
+ }
315
340
  urlPath = "/corporations/{corporation_id}/wallets";
316
341
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
342
+ // Auto-inject X-Compatibility-Date if not already provided
343
+ if (!headerParameters['X-Compatibility-Date']) {
344
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
345
+ }
317
346
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
318
347
  if (!facade) {
319
348
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -385,9 +414,16 @@ var WalletApi = /** @class */ (function (_super) {
385
414
  if (requestParameters['xTenant'] != null) {
386
415
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
387
416
  }
417
+ if (requestParameters['ifModifiedSince'] != null) {
418
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
419
+ }
388
420
  urlPath = "/corporations/{corporation_id}/wallets/{division}/journal";
389
421
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
390
422
  urlPath = urlPath.replace("{".concat("division", "}"), encodeURIComponent(String(requestParameters['division'])));
423
+ // Auto-inject X-Compatibility-Date if not already provided
424
+ if (!headerParameters['X-Compatibility-Date']) {
425
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
426
+ }
391
427
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
392
428
  if (!facade) {
393
429
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -459,9 +495,16 @@ var WalletApi = /** @class */ (function (_super) {
459
495
  if (requestParameters['xTenant'] != null) {
460
496
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
461
497
  }
498
+ if (requestParameters['ifModifiedSince'] != null) {
499
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
500
+ }
462
501
  urlPath = "/corporations/{corporation_id}/wallets/{division}/transactions";
463
502
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
464
503
  urlPath = urlPath.replace("{".concat("division", "}"), encodeURIComponent(String(requestParameters['division'])));
504
+ // Auto-inject X-Compatibility-Date if not already provided
505
+ if (!headerParameters['X-Compatibility-Date']) {
506
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
507
+ }
465
508
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
466
509
  if (!facade) {
467
510
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -17,6 +17,7 @@ export interface GetWarsRequest {
17
17
  acceptLanguage?: GetWarsAcceptLanguageEnum;
18
18
  ifNoneMatch?: string;
19
19
  xTenant?: string;
20
+ ifModifiedSince?: string;
20
21
  }
21
22
  export interface GetWarsWarIdRequest {
22
23
  warId: number;
@@ -24,6 +25,7 @@ export interface GetWarsWarIdRequest {
24
25
  acceptLanguage?: GetWarsWarIdAcceptLanguageEnum;
25
26
  ifNoneMatch?: string;
26
27
  xTenant?: string;
28
+ ifModifiedSince?: string;
27
29
  }
28
30
  export interface GetWarsWarIdKillmailsRequest {
29
31
  warId: number;
@@ -32,6 +34,7 @@ export interface GetWarsWarIdKillmailsRequest {
32
34
  acceptLanguage?: GetWarsWarIdKillmailsAcceptLanguageEnum;
33
35
  ifNoneMatch?: string;
34
36
  xTenant?: string;
37
+ ifModifiedSince?: string;
35
38
  }
36
39
  /**
37
40
  * WarsApi - interface
@@ -48,6 +51,7 @@ export interface WarsApiInterface {
48
51
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
49
52
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
50
53
  * @param {string} [xTenant] The tenant ID for the request.
54
+ * @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.
51
55
  * @param {*} [options] Override http request option.
52
56
  * @throws {RequiredError}
53
57
  * @memberof WarsApiInterface
@@ -66,6 +70,7 @@ export interface WarsApiInterface {
66
70
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
67
71
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
68
72
  * @param {string} [xTenant] The tenant ID for the request.
73
+ * @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.
69
74
  * @param {*} [options] Override http request option.
70
75
  * @throws {RequiredError}
71
76
  * @memberof WarsApiInterface
@@ -85,6 +90,7 @@ export interface WarsApiInterface {
85
90
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
86
91
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
87
92
  * @param {string} [xTenant] The tenant ID for the request.
93
+ * @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.
88
94
  * @param {*} [options] Override http request option.
89
95
  * @throws {RequiredError}
90
96
  * @memberof WarsApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetWarsWarIdKillmailsAcceptLanguageEnum = exports.GetWarsWarIdKillmailsXCompatibilityDateEnum = exports.GetWarsWarIdAcceptLanguageEnum = exports.GetWarsWarIdXCompatibilityDateEnum = exports.GetWarsAcceptLanguageEnum = exports.GetWarsXCompatibilityDateEnum = exports.WarsApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -105,7 +106,14 @@ var WarsApi = /** @class */ (function (_super) {
105
106
  if (requestParameters['xTenant'] != null) {
106
107
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
107
108
  }
109
+ if (requestParameters['ifModifiedSince'] != null) {
110
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
111
+ }
108
112
  urlPath = "/wars";
113
+ // Auto-inject X-Compatibility-Date if not already provided
114
+ if (!headerParameters['X-Compatibility-Date']) {
115
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
116
+ }
109
117
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
110
118
  if (!facade) {
111
119
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -171,8 +179,15 @@ var WarsApi = /** @class */ (function (_super) {
171
179
  if (requestParameters['xTenant'] != null) {
172
180
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
173
181
  }
182
+ if (requestParameters['ifModifiedSince'] != null) {
183
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
184
+ }
174
185
  urlPath = "/wars/{war_id}";
175
186
  urlPath = urlPath.replace("{".concat("war_id", "}"), encodeURIComponent(String(requestParameters['warId'])));
187
+ // Auto-inject X-Compatibility-Date if not already provided
188
+ if (!headerParameters['X-Compatibility-Date']) {
189
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
190
+ }
176
191
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
177
192
  if (!facade) {
178
193
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -241,8 +256,15 @@ var WarsApi = /** @class */ (function (_super) {
241
256
  if (requestParameters['xTenant'] != null) {
242
257
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
243
258
  }
259
+ if (requestParameters['ifModifiedSince'] != null) {
260
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
261
+ }
244
262
  urlPath = "/wars/{war_id}/killmails";
245
263
  urlPath = urlPath.replace("{".concat("war_id", "}"), encodeURIComponent(String(requestParameters['warId'])));
264
+ // Auto-inject X-Compatibility-Date if not already provided
265
+ if (!headerParameters['X-Compatibility-Date']) {
266
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
267
+ }
246
268
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
247
269
  if (!facade) {
248
270
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -0,0 +1,8 @@
1
+ /**
2
+ * ESI API Constants
3
+ * Update ESI_COMPATIBILITY_DATE when CCP releases new schema versions.
4
+ * Check: https://esi.evetech.net/meta/openapi.yaml?compatibility_date=YYYY-MM-DD
5
+ */
6
+ export declare const ESI_COMPATIBILITY_DATE = "2025-12-16";
7
+ export declare const ESI_DATASOURCE = "tranquility";
8
+ export declare const ESI_LANGUAGE = "en";
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ESI_LANGUAGE = exports.ESI_DATASOURCE = exports.ESI_COMPATIBILITY_DATE = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ /**
7
+ * ESI API Constants
8
+ * Update ESI_COMPATIBILITY_DATE when CCP releases new schema versions.
9
+ * Check: https://esi.evetech.net/meta/openapi.yaml?compatibility_date=YYYY-MM-DD
10
+ */
11
+ exports.ESI_COMPATIBILITY_DATE = '2025-12-16';
12
+ exports.ESI_DATASOURCE = 'tranquility';
13
+ exports.ESI_LANGUAGE = 'en';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './runtime';
2
2
  export * from './apis/index';
3
3
  export * from './models/index';
4
+ export { ESI_COMPATIBILITY_DATE, ESI_DATASOURCE, ESI_LANGUAGE } from './constants';
package/dist/index.js CHANGED
@@ -14,8 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.ESI_LANGUAGE = exports.ESI_DATASOURCE = exports.ESI_COMPATIBILITY_DATE = void 0;
17
18
  /* tslint:disable */
18
19
  /* eslint-disable */
19
20
  __exportStar(require("./runtime"), exports);
20
21
  __exportStar(require("./apis/index"), exports);
21
22
  __exportStar(require("./models/index"), exports);
23
+ var constants_1 = require("./constants");
24
+ Object.defineProperty(exports, "ESI_COMPATIBILITY_DATE", { enumerable: true, get: function () { return constants_1.ESI_COMPATIBILITY_DATE; } });
25
+ Object.defineProperty(exports, "ESI_DATASOURCE", { enumerable: true, get: function () { return constants_1.ESI_DATASOURCE; } });
26
+ Object.defineProperty(exports, "ESI_LANGUAGE", { enumerable: true, get: function () { return constants_1.ESI_LANGUAGE; } });
@@ -13,7 +13,7 @@ All URIs are relative to *https://esi.evetech.net*
13
13
 
14
14
  ## getAlliances
15
15
 
16
- > Set<number> getAlliances(xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant)
16
+ > Set<number> getAlliances(xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince)
17
17
 
18
18
  List all alliances
19
19
 
@@ -41,6 +41,8 @@ async function example() {
41
41
  ifNoneMatch: ifNoneMatch_example,
42
42
  // string | The tenant ID for the request. (optional)
43
43
  xTenant: ,
44
+ // string | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional)
45
+ ifModifiedSince: ifModifiedSince_example,
44
46
  } satisfies GetAlliancesRequest;
45
47
 
46
48
  try {
@@ -64,6 +66,7 @@ example().catch(console.error);
64
66
  | **acceptLanguage** | `en`, `de`, `fr`, `ja`, `ru`, `zh`, `ko`, `es` | The language to use for the response. | [Optional] [Defaults to `'en'`] [Enum: en, de, fr, ja, ru, zh, ko, es] |
65
67
  | **ifNoneMatch** | `string` | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | [Optional] [Defaults to `undefined`] |
66
68
  | **xTenant** | `string` | The tenant ID for the request. | [Optional] [Defaults to `'tranquility'`] |
69
+ | **ifModifiedSince** | `string` | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | [Optional] [Defaults to `undefined`] |
67
70
 
68
71
  ### Return type
69
72
 
@@ -90,7 +93,7 @@ No authorization required
90
93
 
91
94
  ## getAlliancesAllianceId
92
95
 
93
- > AlliancesAllianceIdGet getAlliancesAllianceId(allianceId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant)
96
+ > AlliancesAllianceIdGet getAlliancesAllianceId(allianceId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince)
94
97
 
95
98
  Get alliance information
96
99
 
@@ -120,6 +123,8 @@ async function example() {
120
123
  ifNoneMatch: ifNoneMatch_example,
121
124
  // string | The tenant ID for the request. (optional)
122
125
  xTenant: ,
126
+ // string | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional)
127
+ ifModifiedSince: ifModifiedSince_example,
123
128
  } satisfies GetAlliancesAllianceIdRequest;
124
129
 
125
130
  try {
@@ -144,6 +149,7 @@ example().catch(console.error);
144
149
  | **acceptLanguage** | `en`, `de`, `fr`, `ja`, `ru`, `zh`, `ko`, `es` | The language to use for the response. | [Optional] [Defaults to `'en'`] [Enum: en, de, fr, ja, ru, zh, ko, es] |
145
150
  | **ifNoneMatch** | `string` | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | [Optional] [Defaults to `undefined`] |
146
151
  | **xTenant** | `string` | The tenant ID for the request. | [Optional] [Defaults to `'tranquility'`] |
152
+ | **ifModifiedSince** | `string` | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | [Optional] [Defaults to `undefined`] |
147
153
 
148
154
  ### Return type
149
155
 
@@ -170,7 +176,7 @@ No authorization required
170
176
 
171
177
  ## getAlliancesAllianceIdCorporations
172
178
 
173
- > Set<number> getAlliancesAllianceIdCorporations(allianceId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant)
179
+ > Set<number> getAlliancesAllianceIdCorporations(allianceId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince)
174
180
 
175
181
  List alliance\'s corporations
176
182
 
@@ -200,6 +206,8 @@ async function example() {
200
206
  ifNoneMatch: ifNoneMatch_example,
201
207
  // string | The tenant ID for the request. (optional)
202
208
  xTenant: ,
209
+ // string | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional)
210
+ ifModifiedSince: ifModifiedSince_example,
203
211
  } satisfies GetAlliancesAllianceIdCorporationsRequest;
204
212
 
205
213
  try {
@@ -224,6 +232,7 @@ example().catch(console.error);
224
232
  | **acceptLanguage** | `en`, `de`, `fr`, `ja`, `ru`, `zh`, `ko`, `es` | The language to use for the response. | [Optional] [Defaults to `'en'`] [Enum: en, de, fr, ja, ru, zh, ko, es] |
225
233
  | **ifNoneMatch** | `string` | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | [Optional] [Defaults to `undefined`] |
226
234
  | **xTenant** | `string` | The tenant ID for the request. | [Optional] [Defaults to `'tranquility'`] |
235
+ | **ifModifiedSince** | `string` | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | [Optional] [Defaults to `undefined`] |
227
236
 
228
237
  ### Return type
229
238
 
@@ -250,7 +259,7 @@ No authorization required
250
259
 
251
260
  ## getAlliancesAllianceIdIcons
252
261
 
253
- > AlliancesAllianceIdIconsGet getAlliancesAllianceIdIcons(allianceId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant)
262
+ > AlliancesAllianceIdIconsGet getAlliancesAllianceIdIcons(allianceId, xCompatibilityDate, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince)
254
263
 
255
264
  Get alliance icon
256
265
 
@@ -280,6 +289,8 @@ async function example() {
280
289
  ifNoneMatch: ifNoneMatch_example,
281
290
  // string | The tenant ID for the request. (optional)
282
291
  xTenant: ,
292
+ // string | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional)
293
+ ifModifiedSince: ifModifiedSince_example,
283
294
  } satisfies GetAlliancesAllianceIdIconsRequest;
284
295
 
285
296
  try {
@@ -304,6 +315,7 @@ example().catch(console.error);
304
315
  | **acceptLanguage** | `en`, `de`, `fr`, `ja`, `ru`, `zh`, `ko`, `es` | The language to use for the response. | [Optional] [Defaults to `'en'`] [Enum: en, de, fr, ja, ru, zh, ko, es] |
305
316
  | **ifNoneMatch** | `string` | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | [Optional] [Defaults to `undefined`] |
306
317
  | **xTenant** | `string` | The tenant ID for the request. | [Optional] [Defaults to `'tranquility'`] |
318
+ | **ifModifiedSince** | `string` | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | [Optional] [Defaults to `undefined`] |
307
319
 
308
320
  ### Return type
309
321