esisl_genoa_client 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/README.md +4 -2
  2. package/dist/apis/AllianceApi.d.ts +8 -0
  3. package/dist/apis/AllianceApi.js +29 -0
  4. package/dist/apis/AssetsApi.d.ts +12 -0
  5. package/dist/apis/AssetsApi.js +43 -0
  6. package/dist/apis/CalendarApi.d.ts +8 -0
  7. package/dist/apis/CalendarApi.js +29 -0
  8. package/dist/apis/CharacterApi.d.ts +28 -0
  9. package/dist/apis/CharacterApi.js +99 -0
  10. package/dist/apis/ClonesApi.d.ts +4 -0
  11. package/dist/apis/ClonesApi.js +15 -0
  12. package/dist/apis/ContactsApi.d.ts +18 -0
  13. package/dist/apis/ContactsApi.js +64 -0
  14. package/dist/apis/ContractsApi.d.ts +18 -0
  15. package/dist/apis/ContractsApi.js +64 -0
  16. package/dist/apis/CorporationApi.d.ts +44 -0
  17. package/dist/apis/CorporationApi.js +155 -0
  18. package/dist/apis/CorporationProjectsApi.d.ts +8 -4
  19. package/dist/apis/CorporationProjectsApi.js +29 -6
  20. package/dist/apis/DogmaApi.d.ts +10 -0
  21. package/dist/apis/DogmaApi.js +36 -0
  22. package/dist/apis/FactionWarfareApi.d.ts +16 -0
  23. package/dist/apis/FactionWarfareApi.js +57 -0
  24. package/dist/apis/FittingsApi.d.ts +6 -0
  25. package/dist/apis/FittingsApi.js +22 -0
  26. package/dist/apis/FleetsApi.d.ts +28 -0
  27. package/dist/apis/FleetsApi.js +99 -0
  28. package/dist/apis/FreelanceJobsApi.d.ts +12 -2
  29. package/dist/apis/FreelanceJobsApi.js +43 -3
  30. package/dist/apis/IncursionsApi.d.ts +2 -0
  31. package/dist/apis/IncursionsApi.js +8 -0
  32. package/dist/apis/IndustryApi.d.ts +16 -0
  33. package/dist/apis/IndustryApi.js +57 -0
  34. package/dist/apis/InsuranceApi.d.ts +2 -0
  35. package/dist/apis/InsuranceApi.js +8 -0
  36. package/dist/apis/KillmailsApi.d.ts +6 -0
  37. package/dist/apis/KillmailsApi.js +22 -0
  38. package/dist/apis/LocationApi.d.ts +6 -0
  39. package/dist/apis/LocationApi.js +22 -0
  40. package/dist/apis/LoyaltyApi.d.ts +4 -0
  41. package/dist/apis/LoyaltyApi.js +15 -0
  42. package/dist/apis/MailApi.d.ts +18 -0
  43. package/dist/apis/MailApi.js +64 -0
  44. package/dist/apis/MarketApi.d.ts +22 -0
  45. package/dist/apis/MarketApi.js +78 -0
  46. package/dist/apis/MetaApi.d.ts +6 -0
  47. package/dist/apis/MetaApi.js +22 -0
  48. package/dist/apis/PlanetaryInteractionApi.d.ts +8 -0
  49. package/dist/apis/PlanetaryInteractionApi.js +29 -0
  50. package/dist/apis/RoutesApi.d.ts +2 -0
  51. package/dist/apis/RoutesApi.js +8 -0
  52. package/dist/apis/SearchApi.d.ts +2 -0
  53. package/dist/apis/SearchApi.js +8 -0
  54. package/dist/apis/SkillsApi.d.ts +6 -0
  55. package/dist/apis/SkillsApi.js +22 -0
  56. package/dist/apis/SovereigntyApi.d.ts +6 -0
  57. package/dist/apis/SovereigntyApi.js +22 -0
  58. package/dist/apis/StatusApi.d.ts +2 -0
  59. package/dist/apis/StatusApi.js +8 -0
  60. package/dist/apis/UniverseApi.d.ts +60 -0
  61. package/dist/apis/UniverseApi.js +211 -0
  62. package/dist/apis/UserInterfaceApi.d.ts +10 -0
  63. package/dist/apis/UserInterfaceApi.js +36 -0
  64. package/dist/apis/WalletApi.d.ts +12 -0
  65. package/dist/apis/WalletApi.js +43 -0
  66. package/dist/apis/WarsApi.d.ts +6 -0
  67. package/dist/apis/WarsApi.js +22 -0
  68. package/dist/constants.d.ts +8 -0
  69. package/dist/constants.js +13 -0
  70. package/dist/index.d.ts +1 -0
  71. package/dist/index.js +5 -0
  72. package/docs/AllianceApi.md +16 -4
  73. package/docs/AssetsApi.md +24 -6
  74. package/docs/CalendarApi.md +16 -4
  75. package/docs/CharacterApi.md +56 -14
  76. package/docs/ClonesApi.md +8 -2
  77. package/docs/ContactsApi.md +36 -9
  78. package/docs/ContractsApi.md +36 -9
  79. package/docs/CorporationApi.md +88 -22
  80. package/docs/CorporationProjectsApi.md +20 -14
  81. package/docs/DogmaApi.md +20 -5
  82. package/docs/FactionWarfareApi.md +32 -8
  83. package/docs/FittingsApi.md +12 -3
  84. package/docs/FleetsApi.md +56 -14
  85. package/docs/FreelanceJobsApi.md +30 -15
  86. package/docs/IncursionsApi.md +4 -1
  87. package/docs/IndustryApi.md +32 -8
  88. package/docs/InsuranceApi.md +4 -1
  89. package/docs/KillmailsApi.md +12 -3
  90. package/docs/LocationApi.md +12 -3
  91. package/docs/LoyaltyApi.md +8 -2
  92. package/docs/MailApi.md +36 -9
  93. package/docs/MarketApi.md +44 -11
  94. package/docs/MetaApi.md +15 -6
  95. package/docs/PlanetaryInteractionApi.md +16 -4
  96. package/docs/RoutesApi.md +5 -2
  97. package/docs/SearchApi.md +4 -1
  98. package/docs/SkillsApi.md +12 -3
  99. package/docs/SovereigntyApi.md +12 -3
  100. package/docs/StatusApi.md +4 -1
  101. package/docs/UniverseApi.md +120 -30
  102. package/docs/UserInterfaceApi.md +20 -5
  103. package/docs/WalletApi.md +24 -6
  104. package/docs/WarsApi.md +12 -3
  105. package/esisl_genoa_client-0.1.6.tgz +0 -0
  106. package/package.json +1 -1
  107. package/src/apis/AllianceApi.ts +45 -0
  108. package/src/apis/AssetsApi.ts +67 -0
  109. package/src/apis/CalendarApi.ts +45 -0
  110. package/src/apis/CharacterApi.ts +155 -0
  111. package/src/apis/ClonesApi.ts +23 -0
  112. package/src/apis/ContactsApi.ts +100 -0
  113. package/src/apis/ContractsApi.ts +100 -0
  114. package/src/apis/CorporationApi.ts +243 -0
  115. package/src/apis/CorporationProjectsApi.ts +45 -12
  116. package/src/apis/DogmaApi.ts +56 -0
  117. package/src/apis/FactionWarfareApi.ts +89 -0
  118. package/src/apis/FittingsApi.ts +34 -0
  119. package/src/apis/FleetsApi.ts +155 -0
  120. package/src/apis/FreelanceJobsApi.ts +67 -6
  121. package/src/apis/IncursionsApi.ts +12 -0
  122. package/src/apis/IndustryApi.ts +89 -0
  123. package/src/apis/InsuranceApi.ts +12 -0
  124. package/src/apis/KillmailsApi.ts +34 -0
  125. package/src/apis/LocationApi.ts +34 -0
  126. package/src/apis/LoyaltyApi.ts +23 -0
  127. package/src/apis/MailApi.ts +100 -0
  128. package/src/apis/MarketApi.ts +122 -0
  129. package/src/apis/MetaApi.ts +34 -0
  130. package/src/apis/PlanetaryInteractionApi.ts +45 -0
  131. package/src/apis/RoutesApi.ts +12 -0
  132. package/src/apis/SearchApi.ts +12 -0
  133. package/src/apis/SkillsApi.ts +34 -0
  134. package/src/apis/SovereigntyApi.ts +34 -0
  135. package/src/apis/StatusApi.ts +12 -0
  136. package/src/apis/UniverseApi.ts +331 -0
  137. package/src/apis/UserInterfaceApi.ts +56 -0
  138. package/src/apis/WalletApi.ts +67 -0
  139. package/src/apis/WarsApi.ts +34 -0
  140. package/src/constants.ts +10 -0
  141. package/src/index.ts +1 -0
  142. package/esisl_genoa_client-0.1.4.tgz +0 -0
  143. package/esisl_genoa_client-0.1.5.tgz +0 -0
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
+ import { ESI_COMPATIBILITY_DATE } from '../constants';
17
18
 
18
19
  import type {
19
20
  PostUiOpenwindowNewmailRequest,
@@ -27,6 +28,7 @@ export interface PostUiAutopilotWaypointRequest {
27
28
  acceptLanguage?: PostUiAutopilotWaypointAcceptLanguageEnum;
28
29
  ifNoneMatch?: string;
29
30
  xTenant?: string;
31
+ ifModifiedSince?: string;
30
32
  }
31
33
 
32
34
  export interface PostUiOpenwindowContractRequest {
@@ -35,6 +37,7 @@ export interface PostUiOpenwindowContractRequest {
35
37
  acceptLanguage?: PostUiOpenwindowContractAcceptLanguageEnum;
36
38
  ifNoneMatch?: string;
37
39
  xTenant?: string;
40
+ ifModifiedSince?: string;
38
41
  }
39
42
 
40
43
  export interface PostUiOpenwindowInformationRequest {
@@ -43,6 +46,7 @@ export interface PostUiOpenwindowInformationRequest {
43
46
  acceptLanguage?: PostUiOpenwindowInformationAcceptLanguageEnum;
44
47
  ifNoneMatch?: string;
45
48
  xTenant?: string;
49
+ ifModifiedSince?: string;
46
50
  }
47
51
 
48
52
  export interface PostUiOpenwindowMarketdetailsRequest {
@@ -51,6 +55,7 @@ export interface PostUiOpenwindowMarketdetailsRequest {
51
55
  acceptLanguage?: PostUiOpenwindowMarketdetailsAcceptLanguageEnum;
52
56
  ifNoneMatch?: string;
53
57
  xTenant?: string;
58
+ ifModifiedSince?: string;
54
59
  }
55
60
 
56
61
  export interface PostUiOpenwindowNewmailOperationRequest {
@@ -59,6 +64,7 @@ export interface PostUiOpenwindowNewmailOperationRequest {
59
64
  acceptLanguage?: PostUiOpenwindowNewmailOperationAcceptLanguageEnum;
60
65
  ifNoneMatch?: string;
61
66
  xTenant?: string;
67
+ ifModifiedSince?: string;
62
68
  }
63
69
 
64
70
  /**
@@ -78,6 +84,7 @@ export interface UserInterfaceApiInterface {
78
84
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
79
85
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
80
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.
81
88
  * @param {*} [options] Override http request option.
82
89
  * @throws {RequiredError}
83
90
  * @memberof UserInterfaceApiInterface
@@ -98,6 +105,7 @@ export interface UserInterfaceApiInterface {
98
105
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
99
106
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
100
107
  * @param {string} [xTenant] The tenant ID for the request.
108
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
101
109
  * @param {*} [options] Override http request option.
102
110
  * @throws {RequiredError}
103
111
  * @memberof UserInterfaceApiInterface
@@ -118,6 +126,7 @@ export interface UserInterfaceApiInterface {
118
126
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
119
127
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
120
128
  * @param {string} [xTenant] The tenant ID for the request.
129
+ * @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
130
  * @param {*} [options] Override http request option.
122
131
  * @throws {RequiredError}
123
132
  * @memberof UserInterfaceApiInterface
@@ -138,6 +147,7 @@ export interface UserInterfaceApiInterface {
138
147
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
139
148
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
140
149
  * @param {string} [xTenant] The tenant ID for the request.
150
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
141
151
  * @param {*} [options] Override http request option.
142
152
  * @throws {RequiredError}
143
153
  * @memberof UserInterfaceApiInterface
@@ -158,6 +168,7 @@ export interface UserInterfaceApiInterface {
158
168
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
159
169
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
160
170
  * @param {string} [xTenant] The tenant ID for the request.
171
+ * @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.
161
172
  * @param {*} [options] Override http request option.
162
173
  * @throws {RequiredError}
163
174
  * @memberof UserInterfaceApiInterface
@@ -242,6 +253,10 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
242
253
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
243
254
  }
244
255
 
256
+ if (requestParameters['ifModifiedSince'] != null) {
257
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
258
+ }
259
+
245
260
  /*
246
261
  if (this.configuration && this.configuration.accessToken) {
247
262
  // oauth required
@@ -252,6 +267,11 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
252
267
 
253
268
  let urlPath = `/ui/autopilot/waypoint`;
254
269
 
270
+ // Auto-inject X-Compatibility-Date if not already provided
271
+ if (!headerParameters['X-Compatibility-Date']) {
272
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
273
+ }
274
+
255
275
  const facade = this.configuration?.apiFacade;
256
276
  if (!facade) {
257
277
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -318,6 +338,10 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
318
338
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
319
339
  }
320
340
 
341
+ if (requestParameters['ifModifiedSince'] != null) {
342
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
343
+ }
344
+
321
345
  /*
322
346
  if (this.configuration && this.configuration.accessToken) {
323
347
  // oauth required
@@ -328,6 +352,11 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
328
352
 
329
353
  let urlPath = `/ui/openwindow/contract`;
330
354
 
355
+ // Auto-inject X-Compatibility-Date if not already provided
356
+ if (!headerParameters['X-Compatibility-Date']) {
357
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
358
+ }
359
+
331
360
  const facade = this.configuration?.apiFacade;
332
361
  if (!facade) {
333
362
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -394,6 +423,10 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
394
423
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
395
424
  }
396
425
 
426
+ if (requestParameters['ifModifiedSince'] != null) {
427
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
428
+ }
429
+
397
430
  /*
398
431
  if (this.configuration && this.configuration.accessToken) {
399
432
  // oauth required
@@ -404,6 +437,11 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
404
437
 
405
438
  let urlPath = `/ui/openwindow/information`;
406
439
 
440
+ // Auto-inject X-Compatibility-Date if not already provided
441
+ if (!headerParameters['X-Compatibility-Date']) {
442
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
443
+ }
444
+
407
445
  const facade = this.configuration?.apiFacade;
408
446
  if (!facade) {
409
447
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -470,6 +508,10 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
470
508
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
471
509
  }
472
510
 
511
+ if (requestParameters['ifModifiedSince'] != null) {
512
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
513
+ }
514
+
473
515
  /*
474
516
  if (this.configuration && this.configuration.accessToken) {
475
517
  // oauth required
@@ -480,6 +522,11 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
480
522
 
481
523
  let urlPath = `/ui/openwindow/marketdetails`;
482
524
 
525
+ // Auto-inject X-Compatibility-Date if not already provided
526
+ if (!headerParameters['X-Compatibility-Date']) {
527
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
528
+ }
529
+
483
530
  const facade = this.configuration?.apiFacade;
484
531
  if (!facade) {
485
532
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -544,6 +591,10 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
544
591
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
545
592
  }
546
593
 
594
+ if (requestParameters['ifModifiedSince'] != null) {
595
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
596
+ }
597
+
547
598
  /*
548
599
  if (this.configuration && this.configuration.accessToken) {
549
600
  // oauth required
@@ -554,6 +605,11 @@ export class UserInterfaceApi extends runtime.BaseAPI implements UserInterfaceAp
554
605
 
555
606
  let urlPath = `/ui/openwindow/newmail`;
556
607
 
608
+ // Auto-inject X-Compatibility-Date if not already provided
609
+ if (!headerParameters['X-Compatibility-Date']) {
610
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
611
+ }
612
+
557
613
  const facade = this.configuration?.apiFacade;
558
614
  if (!facade) {
559
615
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
+ import { ESI_COMPATIBILITY_DATE } from '../constants';
17
18
 
18
19
  import type {
19
20
  CharactersCharacterIdWalletJournalGetInner,
@@ -29,6 +30,7 @@ export interface GetCharactersCharacterIdWalletRequest {
29
30
  acceptLanguage?: GetCharactersCharacterIdWalletAcceptLanguageEnum;
30
31
  ifNoneMatch?: string;
31
32
  xTenant?: string;
33
+ ifModifiedSince?: string;
32
34
  }
33
35
 
34
36
  export interface GetCharactersCharacterIdWalletJournalRequest {
@@ -38,6 +40,7 @@ export interface GetCharactersCharacterIdWalletJournalRequest {
38
40
  acceptLanguage?: GetCharactersCharacterIdWalletJournalAcceptLanguageEnum;
39
41
  ifNoneMatch?: string;
40
42
  xTenant?: string;
43
+ ifModifiedSince?: string;
41
44
  }
42
45
 
43
46
  export interface GetCharactersCharacterIdWalletTransactionsRequest {
@@ -47,6 +50,7 @@ export interface GetCharactersCharacterIdWalletTransactionsRequest {
47
50
  acceptLanguage?: GetCharactersCharacterIdWalletTransactionsAcceptLanguageEnum;
48
51
  ifNoneMatch?: string;
49
52
  xTenant?: string;
53
+ ifModifiedSince?: string;
50
54
  }
51
55
 
52
56
  export interface GetCorporationsCorporationIdWalletsRequest {
@@ -55,6 +59,7 @@ export interface GetCorporationsCorporationIdWalletsRequest {
55
59
  acceptLanguage?: GetCorporationsCorporationIdWalletsAcceptLanguageEnum;
56
60
  ifNoneMatch?: string;
57
61
  xTenant?: string;
62
+ ifModifiedSince?: string;
58
63
  }
59
64
 
60
65
  export interface GetCorporationsCorporationIdWalletsDivisionJournalRequest {
@@ -65,6 +70,7 @@ export interface GetCorporationsCorporationIdWalletsDivisionJournalRequest {
65
70
  acceptLanguage?: GetCorporationsCorporationIdWalletsDivisionJournalAcceptLanguageEnum;
66
71
  ifNoneMatch?: string;
67
72
  xTenant?: string;
73
+ ifModifiedSince?: string;
68
74
  }
69
75
 
70
76
  export interface GetCorporationsCorporationIdWalletsDivisionTransactionsRequest {
@@ -75,6 +81,7 @@ export interface GetCorporationsCorporationIdWalletsDivisionTransactionsRequest
75
81
  acceptLanguage?: GetCorporationsCorporationIdWalletsDivisionTransactionsAcceptLanguageEnum;
76
82
  ifNoneMatch?: string;
77
83
  xTenant?: string;
84
+ ifModifiedSince?: string;
78
85
  }
79
86
 
80
87
  /**
@@ -92,6 +99,7 @@ export interface WalletApiInterface {
92
99
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
93
100
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
94
101
  * @param {string} [xTenant] The tenant ID for the request.
102
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
95
103
  * @param {*} [options] Override http request option.
96
104
  * @throws {RequiredError}
97
105
  * @memberof WalletApiInterface
@@ -113,6 +121,7 @@ export interface WalletApiInterface {
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 WalletApiInterface
@@ -134,6 +143,7 @@ export interface WalletApiInterface {
134
143
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
135
144
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
136
145
  * @param {string} [xTenant] The tenant ID for the request.
146
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
137
147
  * @param {*} [options] Override http request option.
138
148
  * @throws {RequiredError}
139
149
  * @memberof WalletApiInterface
@@ -154,6 +164,7 @@ export interface WalletApiInterface {
154
164
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
155
165
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
156
166
  * @param {string} [xTenant] The tenant ID for the request.
167
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
157
168
  * @param {*} [options] Override http request option.
158
169
  * @throws {RequiredError}
159
170
  * @memberof WalletApiInterface
@@ -176,6 +187,7 @@ export interface WalletApiInterface {
176
187
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
177
188
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
178
189
  * @param {string} [xTenant] The tenant ID for the request.
190
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
179
191
  * @param {*} [options] Override http request option.
180
192
  * @throws {RequiredError}
181
193
  * @memberof WalletApiInterface
@@ -198,6 +210,7 @@ export interface WalletApiInterface {
198
210
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
199
211
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
200
212
  * @param {string} [xTenant] The tenant ID for the request.
213
+ * @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
201
214
  * @param {*} [options] Override http request option.
202
215
  * @throws {RequiredError}
203
216
  * @memberof WalletApiInterface
@@ -256,6 +269,10 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
256
269
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
257
270
  }
258
271
 
272
+ if (requestParameters['ifModifiedSince'] != null) {
273
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
274
+ }
275
+
259
276
  /*
260
277
  if (this.configuration && this.configuration.accessToken) {
261
278
  // oauth required
@@ -267,6 +284,11 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
267
284
  let urlPath = `/characters/{character_id}/wallet`;
268
285
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
269
286
 
287
+ // Auto-inject X-Compatibility-Date if not already provided
288
+ if (!headerParameters['X-Compatibility-Date']) {
289
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
290
+ }
291
+
270
292
  const facade = this.configuration?.apiFacade;
271
293
  if (!facade) {
272
294
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -334,6 +356,10 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
334
356
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
335
357
  }
336
358
 
359
+ if (requestParameters['ifModifiedSince'] != null) {
360
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
361
+ }
362
+
337
363
  /*
338
364
  if (this.configuration && this.configuration.accessToken) {
339
365
  // oauth required
@@ -345,6 +371,11 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
345
371
  let urlPath = `/characters/{character_id}/wallet/journal`;
346
372
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
347
373
 
374
+ // Auto-inject X-Compatibility-Date if not already provided
375
+ if (!headerParameters['X-Compatibility-Date']) {
376
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
377
+ }
378
+
348
379
  const facade = this.configuration?.apiFacade;
349
380
  if (!facade) {
350
381
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -412,6 +443,10 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
412
443
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
413
444
  }
414
445
 
446
+ if (requestParameters['ifModifiedSince'] != null) {
447
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
448
+ }
449
+
415
450
  /*
416
451
  if (this.configuration && this.configuration.accessToken) {
417
452
  // oauth required
@@ -423,6 +458,11 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
423
458
  let urlPath = `/characters/{character_id}/wallet/transactions`;
424
459
  urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
425
460
 
461
+ // Auto-inject X-Compatibility-Date if not already provided
462
+ if (!headerParameters['X-Compatibility-Date']) {
463
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
464
+ }
465
+
426
466
  const facade = this.configuration?.apiFacade;
427
467
  if (!facade) {
428
468
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -486,6 +526,10 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
486
526
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
487
527
  }
488
528
 
529
+ if (requestParameters['ifModifiedSince'] != null) {
530
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
531
+ }
532
+
489
533
  /*
490
534
  if (this.configuration && this.configuration.accessToken) {
491
535
  // oauth required
@@ -497,6 +541,11 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
497
541
  let urlPath = `/corporations/{corporation_id}/wallets`;
498
542
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
499
543
 
544
+ // Auto-inject X-Compatibility-Date if not already provided
545
+ if (!headerParameters['X-Compatibility-Date']) {
546
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
547
+ }
548
+
500
549
  const facade = this.configuration?.apiFacade;
501
550
  if (!facade) {
502
551
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -571,6 +620,10 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
571
620
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
572
621
  }
573
622
 
623
+ if (requestParameters['ifModifiedSince'] != null) {
624
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
625
+ }
626
+
574
627
  /*
575
628
  if (this.configuration && this.configuration.accessToken) {
576
629
  // oauth required
@@ -583,6 +636,11 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
583
636
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
584
637
  urlPath = urlPath.replace(`{${"division"}}`, encodeURIComponent(String(requestParameters['division'])));
585
638
 
639
+ // Auto-inject X-Compatibility-Date if not already provided
640
+ if (!headerParameters['X-Compatibility-Date']) {
641
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
642
+ }
643
+
586
644
  const facade = this.configuration?.apiFacade;
587
645
  if (!facade) {
588
646
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -657,6 +715,10 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
657
715
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
658
716
  }
659
717
 
718
+ if (requestParameters['ifModifiedSince'] != null) {
719
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
720
+ }
721
+
660
722
  /*
661
723
  if (this.configuration && this.configuration.accessToken) {
662
724
  // oauth required
@@ -669,6 +731,11 @@ export class WalletApi extends runtime.BaseAPI implements WalletApiInterface {
669
731
  urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
670
732
  urlPath = urlPath.replace(`{${"division"}}`, encodeURIComponent(String(requestParameters['division'])));
671
733
 
734
+ // Auto-inject X-Compatibility-Date if not already provided
735
+ if (!headerParameters['X-Compatibility-Date']) {
736
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
737
+ }
738
+
672
739
  const facade = this.configuration?.apiFacade;
673
740
  if (!facade) {
674
741
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import * as runtime from '../runtime';
17
+ import { ESI_COMPATIBILITY_DATE } from '../constants';
17
18
 
18
19
  import type {
19
20
  CharactersCharacterIdKillmailsRecentGetInner,
@@ -26,6 +27,7 @@ export interface GetWarsRequest {
26
27
  acceptLanguage?: GetWarsAcceptLanguageEnum;
27
28
  ifNoneMatch?: string;
28
29
  xTenant?: string;
30
+ ifModifiedSince?: string;
29
31
  }
30
32
 
31
33
  export interface GetWarsWarIdRequest {
@@ -34,6 +36,7 @@ export interface GetWarsWarIdRequest {
34
36
  acceptLanguage?: GetWarsWarIdAcceptLanguageEnum;
35
37
  ifNoneMatch?: string;
36
38
  xTenant?: string;
39
+ ifModifiedSince?: string;
37
40
  }
38
41
 
39
42
  export interface GetWarsWarIdKillmailsRequest {
@@ -43,6 +46,7 @@ export interface GetWarsWarIdKillmailsRequest {
43
46
  acceptLanguage?: GetWarsWarIdKillmailsAcceptLanguageEnum;
44
47
  ifNoneMatch?: string;
45
48
  xTenant?: string;
49
+ ifModifiedSince?: string;
46
50
  }
47
51
 
48
52
  /**
@@ -60,6 +64,7 @@ export interface WarsApiInterface {
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 WarsApiInterface
@@ -80,6 +85,7 @@ export interface WarsApiInterface {
80
85
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
81
86
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
82
87
  * @param {string} [xTenant] The tenant ID for the request.
88
+ * @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.
83
89
  * @param {*} [options] Override http request option.
84
90
  * @throws {RequiredError}
85
91
  * @memberof WarsApiInterface
@@ -101,6 +107,7 @@ export interface WarsApiInterface {
101
107
  * @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
102
108
  * @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
103
109
  * @param {string} [xTenant] The tenant ID for the request.
110
+ * @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.
104
111
  * @param {*} [options] Override http request option.
105
112
  * @throws {RequiredError}
106
113
  * @memberof WarsApiInterface
@@ -156,11 +163,20 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
156
163
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
157
164
  }
158
165
 
166
+ if (requestParameters['ifModifiedSince'] != null) {
167
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
168
+ }
169
+
159
170
  /*
160
171
  */
161
172
 
162
173
  let urlPath = `/wars`;
163
174
 
175
+ // Auto-inject X-Compatibility-Date if not already provided
176
+ if (!headerParameters['X-Compatibility-Date']) {
177
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
178
+ }
179
+
164
180
  const facade = this.configuration?.apiFacade;
165
181
  if (!facade) {
166
182
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -224,12 +240,21 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
224
240
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
225
241
  }
226
242
 
243
+ if (requestParameters['ifModifiedSince'] != null) {
244
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
245
+ }
246
+
227
247
  /*
228
248
  */
229
249
 
230
250
  let urlPath = `/wars/{war_id}`;
231
251
  urlPath = urlPath.replace(`{${"war_id"}}`, encodeURIComponent(String(requestParameters['warId'])));
232
252
 
253
+ // Auto-inject X-Compatibility-Date if not already provided
254
+ if (!headerParameters['X-Compatibility-Date']) {
255
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
256
+ }
257
+
233
258
  const facade = this.configuration?.apiFacade;
234
259
  if (!facade) {
235
260
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -297,12 +322,21 @@ export class WarsApi extends runtime.BaseAPI implements WarsApiInterface {
297
322
  headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
298
323
  }
299
324
 
325
+ if (requestParameters['ifModifiedSince'] != null) {
326
+ headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
327
+ }
328
+
300
329
  /*
301
330
  */
302
331
 
303
332
  let urlPath = `/wars/{war_id}/killmails`;
304
333
  urlPath = urlPath.replace(`{${"war_id"}}`, encodeURIComponent(String(requestParameters['warId'])));
305
334
 
335
+ // Auto-inject X-Compatibility-Date if not already provided
336
+ if (!headerParameters['X-Compatibility-Date']) {
337
+ headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
338
+ }
339
+
306
340
  const facade = this.configuration?.apiFacade;
307
341
  if (!facade) {
308
342
  throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
@@ -0,0 +1,10 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * ESI API Constants
5
+ * Update ESI_COMPATIBILITY_DATE when CCP releases new schema versions.
6
+ * Check: https://esi.evetech.net/meta/openapi.yaml?compatibility_date=YYYY-MM-DD
7
+ */
8
+ export const ESI_COMPATIBILITY_DATE = '2025-12-16'
9
+ export const ESI_DATASOURCE = 'tranquility'
10
+ export const ESI_LANGUAGE = 'en'
package/src/index.ts CHANGED
@@ -3,3 +3,4 @@
3
3
  export * from './runtime';
4
4
  export * from './apis/index';
5
5
  export * from './models/index';
6
+ export { ESI_COMPATIBILITY_DATE, ESI_DATASOURCE, ESI_LANGUAGE } from './constants';
Binary file
Binary file