@sonatype/nexus-iq-api-client 0.165.0 → 0.165.2
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/.openapi-generator/FILES +3 -0
- package/dist/apis/ConfigApi.d.ts +11 -20
- package/dist/apis/ConfigApi.js +3 -2
- package/dist/apis/PolicyWaiversApi.d.ts +23 -1
- package/dist/apis/PolicyWaiversApi.js +30 -0
- package/dist/esm/apis/ConfigApi.d.ts +11 -20
- package/dist/esm/apis/ConfigApi.js +3 -2
- package/dist/esm/apis/PolicyWaiversApi.d.ts +23 -1
- package/dist/esm/apis/PolicyWaiversApi.js +31 -1
- package/dist/esm/models/ApiMailConfigurationDTO.d.ts +2 -2
- package/dist/esm/models/ApiRequestPolicyWaiverDTO.d.ts +43 -0
- package/dist/esm/models/ApiRequestPolicyWaiverDTO.js +47 -0
- package/dist/esm/models/SystemConfig.d.ts +37 -0
- package/dist/esm/models/SystemConfig.js +45 -0
- package/dist/esm/models/SystemConfigProperty.d.ts +23 -0
- package/dist/esm/models/SystemConfigProperty.js +30 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/ApiMailConfigurationDTO.d.ts +2 -2
- package/dist/models/ApiRequestPolicyWaiverDTO.d.ts +43 -0
- package/dist/models/ApiRequestPolicyWaiverDTO.js +54 -0
- package/dist/models/SystemConfig.d.ts +37 -0
- package/dist/models/SystemConfig.js +52 -0
- package/dist/models/SystemConfigProperty.d.ts +23 -0
- package/dist/models/SystemConfigProperty.js +36 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/ConfigApi.ts +22 -12
- package/src/apis/PolicyWaiversApi.ts +55 -0
- package/src/models/ApiMailConfigurationDTO.ts +2 -2
- package/src/models/ApiRequestPolicyWaiverDTO.ts +81 -0
- package/src/models/SystemConfig.ts +73 -0
- package/src/models/SystemConfigProperty.ts +38 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sonatype IQ Server
|
|
5
|
+
* This documents the available APIs into [Sonatype IQ Server](https://www.sonatype.com/products/open-source-security-dependency-management).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 165
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SystemConfig
|
|
20
|
+
*/
|
|
21
|
+
export interface SystemConfig {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SystemConfig
|
|
26
|
+
*/
|
|
27
|
+
baseUrl?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof SystemConfig
|
|
32
|
+
*/
|
|
33
|
+
forceBaseUrl?: boolean | null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SystemConfig interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSystemConfig(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SystemConfigFromJSON(json: any): SystemConfig {
|
|
46
|
+
return SystemConfigFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SystemConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemConfig {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'baseUrl': !exists(json, 'baseUrl') ? undefined : json['baseUrl'],
|
|
56
|
+
'forceBaseUrl': !exists(json, 'forceBaseUrl') ? undefined : json['forceBaseUrl'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SystemConfigToJSON(value?: SystemConfig | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'baseUrl': value.baseUrl,
|
|
70
|
+
'forceBaseUrl': value.forceBaseUrl,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sonatype IQ Server
|
|
5
|
+
* This documents the available APIs into [Sonatype IQ Server](https://www.sonatype.com/products/open-source-security-dependency-management).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 165
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const SystemConfigProperty = {
|
|
21
|
+
BaseUrl: 'baseUrl',
|
|
22
|
+
ForceBaseUrl: 'forceBaseUrl'
|
|
23
|
+
} as const;
|
|
24
|
+
export type SystemConfigProperty = typeof SystemConfigProperty[keyof typeof SystemConfigProperty];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function SystemConfigPropertyFromJSON(json: any): SystemConfigProperty {
|
|
28
|
+
return SystemConfigPropertyFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function SystemConfigPropertyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemConfigProperty {
|
|
32
|
+
return json as SystemConfigProperty;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function SystemConfigPropertyToJSON(value?: SystemConfigProperty | null): any {
|
|
36
|
+
return value as any;
|
|
37
|
+
}
|
|
38
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -115,6 +115,7 @@ export * from './ApiRepositoryDTO';
|
|
|
115
115
|
export * from './ApiRepositoryPathResponseDTO';
|
|
116
116
|
export * from './ApiRepositoryPathVersions';
|
|
117
117
|
export * from './ApiRepositoryWaiverDTO';
|
|
118
|
+
export * from './ApiRequestPolicyWaiverDTO';
|
|
118
119
|
export * from './ApiReverseProxyAuthenticationConfigurationDTO';
|
|
119
120
|
export * from './ApiRoleDTO';
|
|
120
121
|
export * from './ApiRoleListDTO';
|
|
@@ -195,6 +196,8 @@ export * from './SecurityVulnerabilityData';
|
|
|
195
196
|
export * from './SecurityVulnerabilitySeverity';
|
|
196
197
|
export * from './SecurityVulnerabilityWeakness';
|
|
197
198
|
export * from './StageData';
|
|
199
|
+
export * from './SystemConfig';
|
|
200
|
+
export * from './SystemConfigProperty';
|
|
198
201
|
export * from './TagsByOwnerDTO';
|
|
199
202
|
export * from './TriggerReference';
|
|
200
203
|
export * from './ValidationResult';
|