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.
- package/README.md +4 -2
- package/dist/apis/AllianceApi.d.ts +8 -0
- package/dist/apis/AllianceApi.js +29 -0
- package/dist/apis/AssetsApi.d.ts +12 -0
- package/dist/apis/AssetsApi.js +43 -0
- package/dist/apis/CalendarApi.d.ts +8 -0
- package/dist/apis/CalendarApi.js +29 -0
- package/dist/apis/CharacterApi.d.ts +28 -0
- package/dist/apis/CharacterApi.js +99 -0
- package/dist/apis/ClonesApi.d.ts +4 -0
- package/dist/apis/ClonesApi.js +15 -0
- package/dist/apis/ContactsApi.d.ts +18 -0
- package/dist/apis/ContactsApi.js +64 -0
- package/dist/apis/ContractsApi.d.ts +18 -0
- package/dist/apis/ContractsApi.js +64 -0
- package/dist/apis/CorporationApi.d.ts +44 -0
- package/dist/apis/CorporationApi.js +155 -0
- package/dist/apis/CorporationProjectsApi.d.ts +8 -4
- package/dist/apis/CorporationProjectsApi.js +29 -6
- package/dist/apis/DogmaApi.d.ts +10 -0
- package/dist/apis/DogmaApi.js +36 -0
- package/dist/apis/FactionWarfareApi.d.ts +16 -0
- package/dist/apis/FactionWarfareApi.js +57 -0
- package/dist/apis/FittingsApi.d.ts +6 -0
- package/dist/apis/FittingsApi.js +22 -0
- package/dist/apis/FleetsApi.d.ts +28 -0
- package/dist/apis/FleetsApi.js +99 -0
- package/dist/apis/FreelanceJobsApi.d.ts +12 -2
- package/dist/apis/FreelanceJobsApi.js +43 -3
- package/dist/apis/IncursionsApi.d.ts +2 -0
- package/dist/apis/IncursionsApi.js +8 -0
- package/dist/apis/IndustryApi.d.ts +16 -0
- package/dist/apis/IndustryApi.js +57 -0
- package/dist/apis/InsuranceApi.d.ts +2 -0
- package/dist/apis/InsuranceApi.js +8 -0
- package/dist/apis/KillmailsApi.d.ts +6 -0
- package/dist/apis/KillmailsApi.js +22 -0
- package/dist/apis/LocationApi.d.ts +6 -0
- package/dist/apis/LocationApi.js +22 -0
- package/dist/apis/LoyaltyApi.d.ts +4 -0
- package/dist/apis/LoyaltyApi.js +15 -0
- package/dist/apis/MailApi.d.ts +18 -0
- package/dist/apis/MailApi.js +64 -0
- package/dist/apis/MarketApi.d.ts +22 -0
- package/dist/apis/MarketApi.js +78 -0
- package/dist/apis/MetaApi.d.ts +6 -0
- package/dist/apis/MetaApi.js +22 -0
- package/dist/apis/PlanetaryInteractionApi.d.ts +8 -0
- package/dist/apis/PlanetaryInteractionApi.js +29 -0
- package/dist/apis/RoutesApi.d.ts +2 -0
- package/dist/apis/RoutesApi.js +8 -0
- package/dist/apis/SearchApi.d.ts +2 -0
- package/dist/apis/SearchApi.js +8 -0
- package/dist/apis/SkillsApi.d.ts +6 -0
- package/dist/apis/SkillsApi.js +22 -0
- package/dist/apis/SovereigntyApi.d.ts +6 -0
- package/dist/apis/SovereigntyApi.js +22 -0
- package/dist/apis/StatusApi.d.ts +2 -0
- package/dist/apis/StatusApi.js +8 -0
- package/dist/apis/UniverseApi.d.ts +60 -0
- package/dist/apis/UniverseApi.js +211 -0
- package/dist/apis/UserInterfaceApi.d.ts +10 -0
- package/dist/apis/UserInterfaceApi.js +36 -0
- package/dist/apis/WalletApi.d.ts +12 -0
- package/dist/apis/WalletApi.js +43 -0
- package/dist/apis/WarsApi.d.ts +6 -0
- package/dist/apis/WarsApi.js +22 -0
- package/dist/constants.d.ts +8 -0
- package/dist/constants.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/docs/AllianceApi.md +16 -4
- package/docs/AssetsApi.md +24 -6
- package/docs/CalendarApi.md +16 -4
- package/docs/CharacterApi.md +56 -14
- package/docs/ClonesApi.md +8 -2
- package/docs/ContactsApi.md +36 -9
- package/docs/ContractsApi.md +36 -9
- package/docs/CorporationApi.md +88 -22
- package/docs/CorporationProjectsApi.md +20 -14
- package/docs/DogmaApi.md +20 -5
- package/docs/FactionWarfareApi.md +32 -8
- package/docs/FittingsApi.md +12 -3
- package/docs/FleetsApi.md +56 -14
- package/docs/FreelanceJobsApi.md +30 -15
- package/docs/IncursionsApi.md +4 -1
- package/docs/IndustryApi.md +32 -8
- package/docs/InsuranceApi.md +4 -1
- package/docs/KillmailsApi.md +12 -3
- package/docs/LocationApi.md +12 -3
- package/docs/LoyaltyApi.md +8 -2
- package/docs/MailApi.md +36 -9
- package/docs/MarketApi.md +44 -11
- package/docs/MetaApi.md +15 -6
- package/docs/PlanetaryInteractionApi.md +16 -4
- package/docs/RoutesApi.md +5 -2
- package/docs/SearchApi.md +4 -1
- package/docs/SkillsApi.md +12 -3
- package/docs/SovereigntyApi.md +12 -3
- package/docs/StatusApi.md +4 -1
- package/docs/UniverseApi.md +120 -30
- package/docs/UserInterfaceApi.md +20 -5
- package/docs/WalletApi.md +24 -6
- package/docs/WarsApi.md +12 -3
- package/esisl_genoa_client-0.1.6.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +45 -0
- package/src/apis/AssetsApi.ts +67 -0
- package/src/apis/CalendarApi.ts +45 -0
- package/src/apis/CharacterApi.ts +155 -0
- package/src/apis/ClonesApi.ts +23 -0
- package/src/apis/ContactsApi.ts +100 -0
- package/src/apis/ContractsApi.ts +100 -0
- package/src/apis/CorporationApi.ts +243 -0
- package/src/apis/CorporationProjectsApi.ts +45 -12
- package/src/apis/DogmaApi.ts +56 -0
- package/src/apis/FactionWarfareApi.ts +89 -0
- package/src/apis/FittingsApi.ts +34 -0
- package/src/apis/FleetsApi.ts +155 -0
- package/src/apis/FreelanceJobsApi.ts +67 -6
- package/src/apis/IncursionsApi.ts +12 -0
- package/src/apis/IndustryApi.ts +89 -0
- package/src/apis/InsuranceApi.ts +12 -0
- package/src/apis/KillmailsApi.ts +34 -0
- package/src/apis/LocationApi.ts +34 -0
- package/src/apis/LoyaltyApi.ts +23 -0
- package/src/apis/MailApi.ts +100 -0
- package/src/apis/MarketApi.ts +122 -0
- package/src/apis/MetaApi.ts +34 -0
- package/src/apis/PlanetaryInteractionApi.ts +45 -0
- package/src/apis/RoutesApi.ts +12 -0
- package/src/apis/SearchApi.ts +12 -0
- package/src/apis/SkillsApi.ts +34 -0
- package/src/apis/SovereigntyApi.ts +34 -0
- package/src/apis/StatusApi.ts +12 -0
- package/src/apis/UniverseApi.ts +331 -0
- package/src/apis/UserInterfaceApi.ts +56 -0
- package/src/apis/WalletApi.ts +67 -0
- package/src/apis/WarsApi.ts +34 -0
- package/src/constants.ts +10 -0
- package/src/index.ts +1 -0
- package/esisl_genoa_client-0.1.4.tgz +0 -0
- 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
|
CorporationsProjectsContribution,
|
|
@@ -27,10 +28,10 @@ export interface GetCorporationsProjectsContributionRequest {
|
|
|
27
28
|
projectId: string;
|
|
28
29
|
characterId: number;
|
|
29
30
|
xCompatibilityDate: GetCorporationsProjectsContributionXCompatibilityDateEnum;
|
|
30
|
-
ifModifiedSince?: string;
|
|
31
31
|
acceptLanguage?: GetCorporationsProjectsContributionAcceptLanguageEnum;
|
|
32
32
|
ifNoneMatch?: string;
|
|
33
33
|
xTenant?: string;
|
|
34
|
+
ifModifiedSince?: string;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export interface GetCorporationsProjectsContributorsRequest {
|
|
@@ -43,16 +44,17 @@ export interface GetCorporationsProjectsContributorsRequest {
|
|
|
43
44
|
acceptLanguage?: GetCorporationsProjectsContributorsAcceptLanguageEnum;
|
|
44
45
|
ifNoneMatch?: string;
|
|
45
46
|
xTenant?: string;
|
|
47
|
+
ifModifiedSince?: string;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
export interface GetCorporationsProjectsDetailRequest {
|
|
49
51
|
corporationId: number;
|
|
50
52
|
projectId: string;
|
|
51
53
|
xCompatibilityDate: GetCorporationsProjectsDetailXCompatibilityDateEnum;
|
|
52
|
-
ifModifiedSince?: string;
|
|
53
54
|
acceptLanguage?: GetCorporationsProjectsDetailAcceptLanguageEnum;
|
|
54
55
|
ifNoneMatch?: string;
|
|
55
56
|
xTenant?: string;
|
|
57
|
+
ifModifiedSince?: string;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export interface GetCorporationsProjectsListingRequest {
|
|
@@ -65,6 +67,7 @@ export interface GetCorporationsProjectsListingRequest {
|
|
|
65
67
|
acceptLanguage?: GetCorporationsProjectsListingAcceptLanguageEnum;
|
|
66
68
|
ifNoneMatch?: string;
|
|
67
69
|
xTenant?: string;
|
|
70
|
+
ifModifiedSince?: string;
|
|
68
71
|
}
|
|
69
72
|
|
|
70
73
|
/**
|
|
@@ -81,10 +84,10 @@ export interface CorporationProjectsApiInterface {
|
|
|
81
84
|
* @param {string} projectId The ID of the project
|
|
82
85
|
* @param {number} characterId The ID of the character
|
|
83
86
|
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
84
|
-
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
85
87
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
86
88
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
87
89
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
90
|
+
* @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
91
|
* @param {*} [options] Override http request option.
|
|
89
92
|
* @throws {RequiredError}
|
|
90
93
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -109,6 +112,7 @@ export interface CorporationProjectsApiInterface {
|
|
|
109
112
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
110
113
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
111
114
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
115
|
+
* @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.
|
|
112
116
|
* @param {*} [options] Override http request option.
|
|
113
117
|
* @throws {RequiredError}
|
|
114
118
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -127,10 +131,10 @@ export interface CorporationProjectsApiInterface {
|
|
|
127
131
|
* @param {number} corporationId The ID of the corporation
|
|
128
132
|
* @param {string} projectId The ID of the project
|
|
129
133
|
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
130
|
-
* @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
134
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
132
135
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
133
136
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
137
|
+
* @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.
|
|
134
138
|
* @param {*} [options] Override http request option.
|
|
135
139
|
* @throws {RequiredError}
|
|
136
140
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -155,6 +159,7 @@ export interface CorporationProjectsApiInterface {
|
|
|
155
159
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
156
160
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
157
161
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
162
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
158
163
|
* @param {*} [options] Override http request option.
|
|
159
164
|
* @throws {RequiredError}
|
|
160
165
|
* @memberof CorporationProjectsApiInterface
|
|
@@ -211,10 +216,6 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
211
216
|
|
|
212
217
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
213
218
|
|
|
214
|
-
if (requestParameters['ifModifiedSince'] != null) {
|
|
215
|
-
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
219
|
if (requestParameters['acceptLanguage'] != null) {
|
|
219
220
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
220
221
|
}
|
|
@@ -231,6 +232,10 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
231
232
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
232
233
|
}
|
|
233
234
|
|
|
235
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
236
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
237
|
+
}
|
|
238
|
+
|
|
234
239
|
/*
|
|
235
240
|
if (this.configuration && this.configuration.accessToken) {
|
|
236
241
|
// oauth required
|
|
@@ -244,6 +249,11 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
244
249
|
urlPath = urlPath.replace(`{${"project_id"}}`, encodeURIComponent(String(requestParameters['projectId'])));
|
|
245
250
|
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
246
251
|
|
|
252
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
253
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
254
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
255
|
+
}
|
|
256
|
+
|
|
247
257
|
const facade = this.configuration?.apiFacade;
|
|
248
258
|
if (!facade) {
|
|
249
259
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -326,6 +336,10 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
326
336
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
327
337
|
}
|
|
328
338
|
|
|
339
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
340
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
341
|
+
}
|
|
342
|
+
|
|
329
343
|
/*
|
|
330
344
|
if (this.configuration && this.configuration.accessToken) {
|
|
331
345
|
// oauth required
|
|
@@ -338,6 +352,11 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
338
352
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
339
353
|
urlPath = urlPath.replace(`{${"project_id"}}`, encodeURIComponent(String(requestParameters['projectId'])));
|
|
340
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
|
+
|
|
341
360
|
const facade = this.configuration?.apiFacade;
|
|
342
361
|
if (!facade) {
|
|
343
362
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -392,10 +411,6 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
392
411
|
|
|
393
412
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
394
413
|
|
|
395
|
-
if (requestParameters['ifModifiedSince'] != null) {
|
|
396
|
-
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
414
|
if (requestParameters['acceptLanguage'] != null) {
|
|
400
415
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
401
416
|
}
|
|
@@ -412,6 +427,10 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
412
427
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
413
428
|
}
|
|
414
429
|
|
|
430
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
431
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
432
|
+
}
|
|
433
|
+
|
|
415
434
|
/*
|
|
416
435
|
if (this.configuration && this.configuration.accessToken) {
|
|
417
436
|
// oauth required
|
|
@@ -424,6 +443,11 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
424
443
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
425
444
|
urlPath = urlPath.replace(`{${"project_id"}}`, encodeURIComponent(String(requestParameters['projectId'])));
|
|
426
445
|
|
|
446
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
447
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
448
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
449
|
+
}
|
|
450
|
+
|
|
427
451
|
const facade = this.configuration?.apiFacade;
|
|
428
452
|
if (!facade) {
|
|
429
453
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -503,6 +527,10 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
503
527
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
504
528
|
}
|
|
505
529
|
|
|
530
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
531
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
532
|
+
}
|
|
533
|
+
|
|
506
534
|
/*
|
|
507
535
|
if (this.configuration && this.configuration.accessToken) {
|
|
508
536
|
// oauth required
|
|
@@ -514,6 +542,11 @@ export class CorporationProjectsApi extends runtime.BaseAPI implements Corporati
|
|
|
514
542
|
let urlPath = `/corporations/{corporation_id}/projects`;
|
|
515
543
|
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
516
544
|
|
|
545
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
546
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
547
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
548
|
+
}
|
|
549
|
+
|
|
517
550
|
const facade = this.configuration?.apiFacade;
|
|
518
551
|
if (!facade) {
|
|
519
552
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
package/src/apis/DogmaApi.ts
CHANGED
|
@@ -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
|
DogmaAttributesAttributeIdGet,
|
|
@@ -26,6 +27,7 @@ export interface GetDogmaAttributesRequest {
|
|
|
26
27
|
acceptLanguage?: GetDogmaAttributesAcceptLanguageEnum;
|
|
27
28
|
ifNoneMatch?: string;
|
|
28
29
|
xTenant?: string;
|
|
30
|
+
ifModifiedSince?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
export interface GetDogmaAttributesAttributeIdRequest {
|
|
@@ -34,6 +36,7 @@ export interface GetDogmaAttributesAttributeIdRequest {
|
|
|
34
36
|
acceptLanguage?: GetDogmaAttributesAttributeIdAcceptLanguageEnum;
|
|
35
37
|
ifNoneMatch?: string;
|
|
36
38
|
xTenant?: string;
|
|
39
|
+
ifModifiedSince?: string;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
export interface GetDogmaDynamicItemsTypeIdItemIdRequest {
|
|
@@ -43,6 +46,7 @@ export interface GetDogmaDynamicItemsTypeIdItemIdRequest {
|
|
|
43
46
|
acceptLanguage?: GetDogmaDynamicItemsTypeIdItemIdAcceptLanguageEnum;
|
|
44
47
|
ifNoneMatch?: string;
|
|
45
48
|
xTenant?: string;
|
|
49
|
+
ifModifiedSince?: string;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
export interface GetDogmaEffectsRequest {
|
|
@@ -50,6 +54,7 @@ export interface GetDogmaEffectsRequest {
|
|
|
50
54
|
acceptLanguage?: GetDogmaEffectsAcceptLanguageEnum;
|
|
51
55
|
ifNoneMatch?: string;
|
|
52
56
|
xTenant?: string;
|
|
57
|
+
ifModifiedSince?: string;
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
export interface GetDogmaEffectsEffectIdRequest {
|
|
@@ -58,6 +63,7 @@ export interface GetDogmaEffectsEffectIdRequest {
|
|
|
58
63
|
acceptLanguage?: GetDogmaEffectsEffectIdAcceptLanguageEnum;
|
|
59
64
|
ifNoneMatch?: string;
|
|
60
65
|
xTenant?: string;
|
|
66
|
+
ifModifiedSince?: string;
|
|
61
67
|
}
|
|
62
68
|
|
|
63
69
|
/**
|
|
@@ -74,6 +80,7 @@ export interface DogmaApiInterface {
|
|
|
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 DogmaApiInterface
|
|
@@ -94,6 +101,7 @@ export interface DogmaApiInterface {
|
|
|
94
101
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
95
102
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
96
103
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
104
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
97
105
|
* @param {*} [options] Override http request option.
|
|
98
106
|
* @throws {RequiredError}
|
|
99
107
|
* @memberof DogmaApiInterface
|
|
@@ -115,6 +123,7 @@ export interface DogmaApiInterface {
|
|
|
115
123
|
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
116
124
|
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
117
125
|
* @param {string} [xTenant] The tenant ID for the request.
|
|
126
|
+
* @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.
|
|
118
127
|
* @param {*} [options] Override http request option.
|
|
119
128
|
* @throws {RequiredError}
|
|
120
129
|
* @memberof DogmaApiInterface
|
|
@@ -134,6 +143,7 @@ export interface DogmaApiInterface {
|
|
|
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 DogmaApiInterface
|
|
@@ -154,6 +164,7 @@ export interface DogmaApiInterface {
|
|
|
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 DogmaApiInterface
|
|
@@ -205,11 +216,20 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
|
|
|
205
216
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
206
217
|
}
|
|
207
218
|
|
|
219
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
220
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
221
|
+
}
|
|
222
|
+
|
|
208
223
|
/*
|
|
209
224
|
*/
|
|
210
225
|
|
|
211
226
|
let urlPath = `/dogma/attributes`;
|
|
212
227
|
|
|
228
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
229
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
230
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
231
|
+
}
|
|
232
|
+
|
|
213
233
|
const facade = this.configuration?.apiFacade;
|
|
214
234
|
if (!facade) {
|
|
215
235
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -273,12 +293,21 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
|
|
|
273
293
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
274
294
|
}
|
|
275
295
|
|
|
296
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
297
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
298
|
+
}
|
|
299
|
+
|
|
276
300
|
/*
|
|
277
301
|
*/
|
|
278
302
|
|
|
279
303
|
let urlPath = `/dogma/attributes/{attribute_id}`;
|
|
280
304
|
urlPath = urlPath.replace(`{${"attribute_id"}}`, encodeURIComponent(String(requestParameters['attributeId'])));
|
|
281
305
|
|
|
306
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
307
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
308
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
309
|
+
}
|
|
310
|
+
|
|
282
311
|
const facade = this.configuration?.apiFacade;
|
|
283
312
|
if (!facade) {
|
|
284
313
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -349,6 +378,10 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
|
|
|
349
378
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
350
379
|
}
|
|
351
380
|
|
|
381
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
382
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
383
|
+
}
|
|
384
|
+
|
|
352
385
|
/*
|
|
353
386
|
*/
|
|
354
387
|
|
|
@@ -356,6 +389,11 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
|
|
|
356
389
|
urlPath = urlPath.replace(`{${"item_id"}}`, encodeURIComponent(String(requestParameters['itemId'])));
|
|
357
390
|
urlPath = urlPath.replace(`{${"type_id"}}`, encodeURIComponent(String(requestParameters['typeId'])));
|
|
358
391
|
|
|
392
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
393
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
394
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
395
|
+
}
|
|
396
|
+
|
|
359
397
|
const facade = this.configuration?.apiFacade;
|
|
360
398
|
if (!facade) {
|
|
361
399
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -412,11 +450,20 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
|
|
|
412
450
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
413
451
|
}
|
|
414
452
|
|
|
453
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
454
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
455
|
+
}
|
|
456
|
+
|
|
415
457
|
/*
|
|
416
458
|
*/
|
|
417
459
|
|
|
418
460
|
let urlPath = `/dogma/effects`;
|
|
419
461
|
|
|
462
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
463
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
464
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
465
|
+
}
|
|
466
|
+
|
|
420
467
|
const facade = this.configuration?.apiFacade;
|
|
421
468
|
if (!facade) {
|
|
422
469
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
@@ -480,12 +527,21 @@ export class DogmaApi extends runtime.BaseAPI implements DogmaApiInterface {
|
|
|
480
527
|
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
481
528
|
}
|
|
482
529
|
|
|
530
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
531
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
532
|
+
}
|
|
533
|
+
|
|
483
534
|
/*
|
|
484
535
|
*/
|
|
485
536
|
|
|
486
537
|
let urlPath = `/dogma/effects/{effect_id}`;
|
|
487
538
|
urlPath = urlPath.replace(`{${"effect_id"}}`, encodeURIComponent(String(requestParameters['effectId'])));
|
|
488
539
|
|
|
540
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
541
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
542
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
543
|
+
}
|
|
544
|
+
|
|
489
545
|
const facade = this.configuration?.apiFacade;
|
|
490
546
|
if (!facade) {
|
|
491
547
|
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|