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.GetDogmaEffectsEffectIdAcceptLanguageEnum = exports.GetDogmaEffectsEffectIdXCompatibilityDateEnum = exports.GetDogmaEffectsAcceptLanguageEnum = exports.GetDogmaEffectsXCompatibilityDateEnum = exports.GetDogmaDynamicItemsTypeIdItemIdAcceptLanguageEnum = exports.GetDogmaDynamicItemsTypeIdItemIdXCompatibilityDateEnum = exports.GetDogmaAttributesAttributeIdAcceptLanguageEnum = exports.GetDogmaAttributesAttributeIdXCompatibilityDateEnum = exports.GetDogmaAttributesAcceptLanguageEnum = exports.GetDogmaAttributesXCompatibilityDateEnum = exports.DogmaApi = 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 DogmaApi = /** @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 = "/dogma/attributes";
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 DogmaApi = /** @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 = "/dogma/attributes/{attribute_id}";
172
183
  urlPath = urlPath.replace("{".concat("attribute_id", "}"), encodeURIComponent(String(requestParameters['attributeId'])));
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 })');
@@ -238,9 +253,16 @@ var DogmaApi = /** @class */ (function (_super) {
238
253
  if (requestParameters['xTenant'] != null) {
239
254
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
240
255
  }
256
+ if (requestParameters['ifModifiedSince'] != null) {
257
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
258
+ }
241
259
  urlPath = "/dogma/dynamic/items/{type_id}/{item_id}";
242
260
  urlPath = urlPath.replace("{".concat("item_id", "}"), encodeURIComponent(String(requestParameters['itemId'])));
243
261
  urlPath = urlPath.replace("{".concat("type_id", "}"), encodeURIComponent(String(requestParameters['typeId'])));
262
+ // Auto-inject X-Compatibility-Date if not already provided
263
+ if (!headerParameters['X-Compatibility-Date']) {
264
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
265
+ }
244
266
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
245
267
  if (!facade) {
246
268
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -303,7 +325,14 @@ var DogmaApi = /** @class */ (function (_super) {
303
325
  if (requestParameters['xTenant'] != null) {
304
326
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
305
327
  }
328
+ if (requestParameters['ifModifiedSince'] != null) {
329
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
330
+ }
306
331
  urlPath = "/dogma/effects";
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 })');
@@ -369,8 +398,15 @@ var DogmaApi = /** @class */ (function (_super) {
369
398
  if (requestParameters['xTenant'] != null) {
370
399
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
371
400
  }
401
+ if (requestParameters['ifModifiedSince'] != null) {
402
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
403
+ }
372
404
  urlPath = "/dogma/effects/{effect_id}";
373
405
  urlPath = urlPath.replace("{".concat("effect_id", "}"), encodeURIComponent(String(requestParameters['effectId'])));
406
+ // Auto-inject X-Compatibility-Date if not already provided
407
+ if (!headerParameters['X-Compatibility-Date']) {
408
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
409
+ }
374
410
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
375
411
  if (!facade) {
376
412
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -17,6 +17,7 @@ export interface GetCharactersCharacterIdFwStatsRequest {
17
17
  acceptLanguage?: GetCharactersCharacterIdFwStatsAcceptLanguageEnum;
18
18
  ifNoneMatch?: string;
19
19
  xTenant?: string;
20
+ ifModifiedSince?: string;
20
21
  }
21
22
  export interface GetCorporationsCorporationIdFwStatsRequest {
22
23
  corporationId: number;
@@ -24,42 +25,49 @@ export interface GetCorporationsCorporationIdFwStatsRequest {
24
25
  acceptLanguage?: GetCorporationsCorporationIdFwStatsAcceptLanguageEnum;
25
26
  ifNoneMatch?: string;
26
27
  xTenant?: string;
28
+ ifModifiedSince?: string;
27
29
  }
28
30
  export interface GetFwLeaderboardsRequest {
29
31
  xCompatibilityDate: GetFwLeaderboardsXCompatibilityDateEnum;
30
32
  acceptLanguage?: GetFwLeaderboardsAcceptLanguageEnum;
31
33
  ifNoneMatch?: string;
32
34
  xTenant?: string;
35
+ ifModifiedSince?: string;
33
36
  }
34
37
  export interface GetFwLeaderboardsCharactersRequest {
35
38
  xCompatibilityDate: GetFwLeaderboardsCharactersXCompatibilityDateEnum;
36
39
  acceptLanguage?: GetFwLeaderboardsCharactersAcceptLanguageEnum;
37
40
  ifNoneMatch?: string;
38
41
  xTenant?: string;
42
+ ifModifiedSince?: string;
39
43
  }
40
44
  export interface GetFwLeaderboardsCorporationsRequest {
41
45
  xCompatibilityDate: GetFwLeaderboardsCorporationsXCompatibilityDateEnum;
42
46
  acceptLanguage?: GetFwLeaderboardsCorporationsAcceptLanguageEnum;
43
47
  ifNoneMatch?: string;
44
48
  xTenant?: string;
49
+ ifModifiedSince?: string;
45
50
  }
46
51
  export interface GetFwStatsRequest {
47
52
  xCompatibilityDate: GetFwStatsXCompatibilityDateEnum;
48
53
  acceptLanguage?: GetFwStatsAcceptLanguageEnum;
49
54
  ifNoneMatch?: string;
50
55
  xTenant?: string;
56
+ ifModifiedSince?: string;
51
57
  }
52
58
  export interface GetFwSystemsRequest {
53
59
  xCompatibilityDate: GetFwSystemsXCompatibilityDateEnum;
54
60
  acceptLanguage?: GetFwSystemsAcceptLanguageEnum;
55
61
  ifNoneMatch?: string;
56
62
  xTenant?: string;
63
+ ifModifiedSince?: string;
57
64
  }
58
65
  export interface GetFwWarsRequest {
59
66
  xCompatibilityDate: GetFwWarsXCompatibilityDateEnum;
60
67
  acceptLanguage?: GetFwWarsAcceptLanguageEnum;
61
68
  ifNoneMatch?: string;
62
69
  xTenant?: string;
70
+ ifModifiedSince?: string;
63
71
  }
64
72
  /**
65
73
  * FactionWarfareApi - interface
@@ -76,6 +84,7 @@ export interface FactionWarfareApiInterface {
76
84
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
77
85
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
78
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.
79
88
  * @param {*} [options] Override http request option.
80
89
  * @throws {RequiredError}
81
90
  * @memberof FactionWarfareApiInterface
@@ -94,6 +103,7 @@ export interface FactionWarfareApiInterface {
94
103
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
95
104
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
96
105
  * @param {string} [xTenant] The tenant ID for the request.
106
+ * @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
107
  * @param {*} [options] Override http request option.
98
108
  * @throws {RequiredError}
99
109
  * @memberof FactionWarfareApiInterface
@@ -111,6 +121,7 @@ export interface FactionWarfareApiInterface {
111
121
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
112
122
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
113
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.
114
125
  * @param {*} [options] Override http request option.
115
126
  * @throws {RequiredError}
116
127
  * @memberof FactionWarfareApiInterface
@@ -128,6 +139,7 @@ export interface FactionWarfareApiInterface {
128
139
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
129
140
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
130
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.
131
143
  * @param {*} [options] Override http request option.
132
144
  * @throws {RequiredError}
133
145
  * @memberof FactionWarfareApiInterface
@@ -145,6 +157,7 @@ export interface FactionWarfareApiInterface {
145
157
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
146
158
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
147
159
  * @param {string} [xTenant] The tenant ID for the request.
160
+ * @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.
148
161
  * @param {*} [options] Override http request option.
149
162
  * @throws {RequiredError}
150
163
  * @memberof FactionWarfareApiInterface
@@ -162,6 +175,7 @@ export interface FactionWarfareApiInterface {
162
175
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
163
176
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
164
177
  * @param {string} [xTenant] The tenant ID for the request.
178
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
165
179
  * @param {*} [options] Override http request option.
166
180
  * @throws {RequiredError}
167
181
  * @memberof FactionWarfareApiInterface
@@ -179,6 +193,7 @@ export interface FactionWarfareApiInterface {
179
193
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
180
194
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
181
195
  * @param {string} [xTenant] The tenant ID for the request.
196
+ * @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.
182
197
  * @param {*} [options] Override http request option.
183
198
  * @throws {RequiredError}
184
199
  * @memberof FactionWarfareApiInterface
@@ -196,6 +211,7 @@ export interface FactionWarfareApiInterface {
196
211
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
197
212
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
198
213
  * @param {string} [xTenant] The tenant ID for the request.
214
+ * @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.
199
215
  * @param {*} [options] Override http request option.
200
216
  * @throws {RequiredError}
201
217
  * @memberof FactionWarfareApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.GetFwWarsAcceptLanguageEnum = exports.GetFwWarsXCompatibilityDateEnum = exports.GetFwSystemsAcceptLanguageEnum = exports.GetFwSystemsXCompatibilityDateEnum = exports.GetFwStatsAcceptLanguageEnum = exports.GetFwStatsXCompatibilityDateEnum = exports.GetFwLeaderboardsCorporationsAcceptLanguageEnum = exports.GetFwLeaderboardsCorporationsXCompatibilityDateEnum = exports.GetFwLeaderboardsCharactersAcceptLanguageEnum = exports.GetFwLeaderboardsCharactersXCompatibilityDateEnum = exports.GetFwLeaderboardsAcceptLanguageEnum = exports.GetFwLeaderboardsXCompatibilityDateEnum = exports.GetCorporationsCorporationIdFwStatsAcceptLanguageEnum = exports.GetCorporationsCorporationIdFwStatsXCompatibilityDateEnum = exports.GetCharactersCharacterIdFwStatsAcceptLanguageEnum = exports.GetCharactersCharacterIdFwStatsXCompatibilityDateEnum = exports.FactionWarfareApi = 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 FactionWarfareApi = /** @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}/fw/stats";
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 })');
@@ -172,8 +180,15 @@ var FactionWarfareApi = /** @class */ (function (_super) {
172
180
  if (requestParameters['xTenant'] != null) {
173
181
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
174
182
  }
183
+ if (requestParameters['ifModifiedSince'] != null) {
184
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
185
+ }
175
186
  urlPath = "/corporations/{corporation_id}/fw/stats";
176
187
  urlPath = urlPath.replace("{".concat("corporation_id", "}"), encodeURIComponent(String(requestParameters['corporationId'])));
188
+ // Auto-inject X-Compatibility-Date if not already provided
189
+ if (!headerParameters['X-Compatibility-Date']) {
190
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
191
+ }
177
192
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
178
193
  if (!facade) {
179
194
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -236,7 +251,14 @@ var FactionWarfareApi = /** @class */ (function (_super) {
236
251
  if (requestParameters['xTenant'] != null) {
237
252
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
238
253
  }
254
+ if (requestParameters['ifModifiedSince'] != null) {
255
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
256
+ }
239
257
  urlPath = "/fw/leaderboards";
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 })');
@@ -299,7 +321,14 @@ var FactionWarfareApi = /** @class */ (function (_super) {
299
321
  if (requestParameters['xTenant'] != null) {
300
322
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
301
323
  }
324
+ if (requestParameters['ifModifiedSince'] != null) {
325
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
326
+ }
302
327
  urlPath = "/fw/leaderboards/characters";
328
+ // Auto-inject X-Compatibility-Date if not already provided
329
+ if (!headerParameters['X-Compatibility-Date']) {
330
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
331
+ }
303
332
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
304
333
  if (!facade) {
305
334
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -362,7 +391,14 @@ var FactionWarfareApi = /** @class */ (function (_super) {
362
391
  if (requestParameters['xTenant'] != null) {
363
392
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
364
393
  }
394
+ if (requestParameters['ifModifiedSince'] != null) {
395
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
396
+ }
365
397
  urlPath = "/fw/leaderboards/corporations";
398
+ // Auto-inject X-Compatibility-Date if not already provided
399
+ if (!headerParameters['X-Compatibility-Date']) {
400
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
401
+ }
366
402
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
367
403
  if (!facade) {
368
404
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -425,7 +461,14 @@ var FactionWarfareApi = /** @class */ (function (_super) {
425
461
  if (requestParameters['xTenant'] != null) {
426
462
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
427
463
  }
464
+ if (requestParameters['ifModifiedSince'] != null) {
465
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
466
+ }
428
467
  urlPath = "/fw/stats";
468
+ // Auto-inject X-Compatibility-Date if not already provided
469
+ if (!headerParameters['X-Compatibility-Date']) {
470
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
471
+ }
429
472
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
430
473
  if (!facade) {
431
474
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -488,7 +531,14 @@ var FactionWarfareApi = /** @class */ (function (_super) {
488
531
  if (requestParameters['xTenant'] != null) {
489
532
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
490
533
  }
534
+ if (requestParameters['ifModifiedSince'] != null) {
535
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
536
+ }
491
537
  urlPath = "/fw/systems";
538
+ // Auto-inject X-Compatibility-Date if not already provided
539
+ if (!headerParameters['X-Compatibility-Date']) {
540
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
541
+ }
492
542
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
493
543
  if (!facade) {
494
544
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -551,7 +601,14 @@ var FactionWarfareApi = /** @class */ (function (_super) {
551
601
  if (requestParameters['xTenant'] != null) {
552
602
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
553
603
  }
604
+ if (requestParameters['ifModifiedSince'] != null) {
605
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
606
+ }
554
607
  urlPath = "/fw/wars";
608
+ // Auto-inject X-Compatibility-Date if not already provided
609
+ if (!headerParameters['X-Compatibility-Date']) {
610
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
611
+ }
555
612
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
556
613
  if (!facade) {
557
614
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -18,6 +18,7 @@ export interface DeleteCharactersCharacterIdFittingsFittingIdRequest {
18
18
  acceptLanguage?: DeleteCharactersCharacterIdFittingsFittingIdAcceptLanguageEnum;
19
19
  ifNoneMatch?: string;
20
20
  xTenant?: string;
21
+ ifModifiedSince?: string;
21
22
  }
22
23
  export interface GetCharactersCharacterIdFittingsRequest {
23
24
  characterId: number;
@@ -25,6 +26,7 @@ export interface GetCharactersCharacterIdFittingsRequest {
25
26
  acceptLanguage?: GetCharactersCharacterIdFittingsAcceptLanguageEnum;
26
27
  ifNoneMatch?: string;
27
28
  xTenant?: string;
29
+ ifModifiedSince?: string;
28
30
  }
29
31
  export interface PostCharactersCharacterIdFittingsOperationRequest {
30
32
  characterId: number;
@@ -33,6 +35,7 @@ export interface PostCharactersCharacterIdFittingsOperationRequest {
33
35
  acceptLanguage?: PostCharactersCharacterIdFittingsOperationAcceptLanguageEnum;
34
36
  ifNoneMatch?: string;
35
37
  xTenant?: string;
38
+ ifModifiedSince?: string;
36
39
  }
37
40
  /**
38
41
  * FittingsApi - interface
@@ -50,6 +53,7 @@ export interface FittingsApiInterface {
50
53
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
51
54
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
52
55
  * @param {string} [xTenant] The tenant ID for the request.
56
+ * @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.
53
57
  * @param {*} [options] Override http request option.
54
58
  * @throws {RequiredError}
55
59
  * @memberof FittingsApiInterface
@@ -68,6 +72,7 @@ export interface FittingsApiInterface {
68
72
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
69
73
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
70
74
  * @param {string} [xTenant] The tenant ID for the request.
75
+ * @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.
71
76
  * @param {*} [options] Override http request option.
72
77
  * @throws {RequiredError}
73
78
  * @memberof FittingsApiInterface
@@ -87,6 +92,7 @@ export interface FittingsApiInterface {
87
92
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
88
93
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
89
94
  * @param {string} [xTenant] The tenant ID for the request.
95
+ * @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.
90
96
  * @param {*} [options] Override http request option.
91
97
  * @throws {RequiredError}
92
98
  * @memberof FittingsApiInterface
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.PostCharactersCharacterIdFittingsOperationAcceptLanguageEnum = exports.PostCharactersCharacterIdFittingsOperationXCompatibilityDateEnum = exports.GetCharactersCharacterIdFittingsAcceptLanguageEnum = exports.GetCharactersCharacterIdFittingsXCompatibilityDateEnum = exports.DeleteCharactersCharacterIdFittingsFittingIdAcceptLanguageEnum = exports.DeleteCharactersCharacterIdFittingsFittingIdXCompatibilityDateEnum = exports.FittingsApi = void 0;
68
68
  var runtime = require("../runtime");
69
+ var constants_1 = require("../constants");
69
70
  /**
70
71
  *
71
72
  */
@@ -108,9 +109,16 @@ var FittingsApi = /** @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}/fittings/{fitting_id}";
112
116
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
113
117
  urlPath = urlPath.replace("{".concat("fitting_id", "}"), encodeURIComponent(String(requestParameters['fittingId'])));
118
+ // Auto-inject X-Compatibility-Date if not already provided
119
+ if (!headerParameters['X-Compatibility-Date']) {
120
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
121
+ }
114
122
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
115
123
  if (!facade) {
116
124
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -173,8 +181,15 @@ var FittingsApi = /** @class */ (function (_super) {
173
181
  if (requestParameters['xTenant'] != null) {
174
182
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
175
183
  }
184
+ if (requestParameters['ifModifiedSince'] != null) {
185
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
186
+ }
176
187
  urlPath = "/characters/{character_id}/fittings";
177
188
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
189
+ // Auto-inject X-Compatibility-Date if not already provided
190
+ if (!headerParameters['X-Compatibility-Date']) {
191
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
192
+ }
178
193
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
179
194
  if (!facade) {
180
195
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -244,8 +259,15 @@ var FittingsApi = /** @class */ (function (_super) {
244
259
  if (requestParameters['xTenant'] != null) {
245
260
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
246
261
  }
262
+ if (requestParameters['ifModifiedSince'] != null) {
263
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
264
+ }
247
265
  urlPath = "/characters/{character_id}/fittings";
248
266
  urlPath = urlPath.replace("{".concat("character_id", "}"), encodeURIComponent(String(requestParameters['characterId'])));
267
+ // Auto-inject X-Compatibility-Date if not already provided
268
+ if (!headerParameters['X-Compatibility-Date']) {
269
+ headerParameters['X-Compatibility-Date'] = constants_1.ESI_COMPATIBILITY_DATE;
270
+ }
249
271
  facade = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.apiFacade;
250
272
  if (!facade) {
251
273
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');