@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.
Files changed (35) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/dist/apis/ConfigApi.d.ts +11 -20
  3. package/dist/apis/ConfigApi.js +3 -2
  4. package/dist/apis/PolicyWaiversApi.d.ts +23 -1
  5. package/dist/apis/PolicyWaiversApi.js +30 -0
  6. package/dist/esm/apis/ConfigApi.d.ts +11 -20
  7. package/dist/esm/apis/ConfigApi.js +3 -2
  8. package/dist/esm/apis/PolicyWaiversApi.d.ts +23 -1
  9. package/dist/esm/apis/PolicyWaiversApi.js +31 -1
  10. package/dist/esm/models/ApiMailConfigurationDTO.d.ts +2 -2
  11. package/dist/esm/models/ApiRequestPolicyWaiverDTO.d.ts +43 -0
  12. package/dist/esm/models/ApiRequestPolicyWaiverDTO.js +47 -0
  13. package/dist/esm/models/SystemConfig.d.ts +37 -0
  14. package/dist/esm/models/SystemConfig.js +45 -0
  15. package/dist/esm/models/SystemConfigProperty.d.ts +23 -0
  16. package/dist/esm/models/SystemConfigProperty.js +30 -0
  17. package/dist/esm/models/index.d.ts +3 -0
  18. package/dist/esm/models/index.js +3 -0
  19. package/dist/models/ApiMailConfigurationDTO.d.ts +2 -2
  20. package/dist/models/ApiRequestPolicyWaiverDTO.d.ts +43 -0
  21. package/dist/models/ApiRequestPolicyWaiverDTO.js +54 -0
  22. package/dist/models/SystemConfig.d.ts +37 -0
  23. package/dist/models/SystemConfig.js +52 -0
  24. package/dist/models/SystemConfigProperty.d.ts +23 -0
  25. package/dist/models/SystemConfigProperty.js +36 -0
  26. package/dist/models/index.d.ts +3 -0
  27. package/dist/models/index.js +3 -0
  28. package/package.json +1 -1
  29. package/src/apis/ConfigApi.ts +22 -12
  30. package/src/apis/PolicyWaiversApi.ts +55 -0
  31. package/src/models/ApiMailConfigurationDTO.ts +2 -2
  32. package/src/models/ApiRequestPolicyWaiverDTO.ts +81 -0
  33. package/src/models/SystemConfig.ts +73 -0
  34. package/src/models/SystemConfigProperty.ts +38 -0
  35. 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
+
@@ -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';