@sonatype/nexus-iq-api-client 0.193.0 → 0.193.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 +2 -0
- package/dist/apis/AdvancedSearchApi.d.ts +10 -10
- package/dist/apis/ApplicationCategoriesApi.d.ts +45 -45
- package/dist/apis/ApplicationReportDataApi.d.ts +25 -25
- package/dist/apis/ApplicationsApi.d.ts +40 -40
- package/dist/apis/AuditLogsApi.d.ts +5 -5
- package/dist/apis/AutoPolicyWaiverExclusionsApi.d.ts +15 -15
- package/dist/apis/AutoPolicyWaiversApi.d.ts +40 -40
- package/dist/apis/CPEMatchingConfigurationApi.d.ts +10 -10
- package/dist/apis/ClaimComponentsApi.d.ts +15 -15
- package/dist/apis/ComponentLabelsApi.d.ts +30 -30
- package/dist/apis/ComponentSearchApi.d.ts +5 -5
- package/dist/apis/ComponentsApi.d.ts +25 -25
- package/dist/apis/CompositeSourceControlApi.d.ts +5 -5
- package/dist/apis/CompositeSourceControlValidatorApi.d.ts +5 -5
- package/dist/apis/ConfigCrowdApi.d.ts +10 -10
- package/dist/apis/ConfigJiraApi.d.ts +5 -5
- package/dist/apis/ConfigMailApi.d.ts +10 -10
- package/dist/apis/ConfigProxyServerApi.d.ts +5 -5
- package/dist/apis/ConfigReverseProxyAuthenticationApi.d.ts +5 -5
- package/dist/apis/ConfigSourceControlApi.d.ts +5 -5
- package/dist/apis/ConfigZscalerApi.d.ts +20 -20
- package/dist/apis/ConfigurationApi.d.ts +15 -15
- package/dist/apis/ConfigureArtifactoryConnectionApi.d.ts +40 -40
- package/dist/apis/CycloneDXApi.d.ts +10 -10
- package/dist/apis/DataRetentionPoliciesApi.d.ts +15 -15
- package/dist/apis/DeveloperPrioritiesApi.d.ts +10 -10
- package/dist/apis/EndpointsApi.d.ts +5 -5
- package/dist/apis/FeatureConfigurationApi.d.ts +10 -10
- package/dist/apis/FirewallApi.d.ts +70 -70
- package/dist/apis/LicenseLegalMetadataApi.d.ts +40 -40
- package/dist/apis/LicenseLegalMetadataTemplatesApi.d.ts +15 -15
- package/dist/apis/LicenseOverridesApi.d.ts +20 -20
- package/dist/apis/OrganizationsApi.d.ts +25 -25
- package/dist/apis/PolicyEvaluationApi.d.ts +25 -25
- package/dist/apis/PolicyViolationDetailsApi.d.ts +45 -45
- package/dist/apis/PolicyWaiverRequestsApi.d.ts +20 -20
- package/dist/apis/PolicyWaiversApi.d.ts +45 -45
- package/dist/apis/ProductLicenseApi.d.ts +67 -0
- package/dist/apis/ProductLicenseApi.js +105 -0
- package/dist/apis/ReportsApi.d.ts +20 -20
- package/dist/apis/RepositoriesApi.d.ts +10 -10
- package/dist/apis/RoleMembershipsApi.d.ts +30 -30
- package/dist/apis/SBOMApi.d.ts +45 -45
- package/dist/apis/SPDXApi.d.ts +10 -10
- package/dist/apis/SecurityVulnerabilityOverridesApi.d.ts +5 -5
- package/dist/apis/SolutionsApi.d.ts +5 -5
- package/dist/apis/SourceControlApi.d.ts +40 -40
- package/dist/apis/SourceControlMetricsApi.d.ts +5 -5
- package/dist/apis/ThirdPartyAnalysisApi.d.ts +10 -10
- package/dist/apis/UserTokensApi.d.ts +15 -15
- package/dist/apis/UsersApi.d.ts +25 -25
- package/dist/apis/VulnerabilityDetailsApi.d.ts +5 -5
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdvancedSearchApi.d.ts +10 -10
- package/dist/esm/apis/ApplicationCategoriesApi.d.ts +45 -45
- package/dist/esm/apis/ApplicationReportDataApi.d.ts +25 -25
- package/dist/esm/apis/ApplicationsApi.d.ts +40 -40
- package/dist/esm/apis/AuditLogsApi.d.ts +5 -5
- package/dist/esm/apis/AutoPolicyWaiverExclusionsApi.d.ts +15 -15
- package/dist/esm/apis/AutoPolicyWaiversApi.d.ts +40 -40
- package/dist/esm/apis/CPEMatchingConfigurationApi.d.ts +10 -10
- package/dist/esm/apis/ClaimComponentsApi.d.ts +15 -15
- package/dist/esm/apis/ComponentLabelsApi.d.ts +30 -30
- package/dist/esm/apis/ComponentSearchApi.d.ts +5 -5
- package/dist/esm/apis/ComponentsApi.d.ts +25 -25
- package/dist/esm/apis/CompositeSourceControlApi.d.ts +5 -5
- package/dist/esm/apis/CompositeSourceControlValidatorApi.d.ts +5 -5
- package/dist/esm/apis/ConfigCrowdApi.d.ts +10 -10
- package/dist/esm/apis/ConfigJiraApi.d.ts +5 -5
- package/dist/esm/apis/ConfigMailApi.d.ts +10 -10
- package/dist/esm/apis/ConfigProxyServerApi.d.ts +5 -5
- package/dist/esm/apis/ConfigReverseProxyAuthenticationApi.d.ts +5 -5
- package/dist/esm/apis/ConfigSourceControlApi.d.ts +5 -5
- package/dist/esm/apis/ConfigZscalerApi.d.ts +20 -20
- package/dist/esm/apis/ConfigurationApi.d.ts +15 -15
- package/dist/esm/apis/ConfigureArtifactoryConnectionApi.d.ts +40 -40
- package/dist/esm/apis/CycloneDXApi.d.ts +10 -10
- package/dist/esm/apis/DataRetentionPoliciesApi.d.ts +15 -15
- package/dist/esm/apis/DeveloperPrioritiesApi.d.ts +10 -10
- package/dist/esm/apis/EndpointsApi.d.ts +5 -5
- package/dist/esm/apis/FeatureConfigurationApi.d.ts +10 -10
- package/dist/esm/apis/FirewallApi.d.ts +70 -70
- package/dist/esm/apis/LicenseLegalMetadataApi.d.ts +40 -40
- package/dist/esm/apis/LicenseLegalMetadataTemplatesApi.d.ts +15 -15
- package/dist/esm/apis/LicenseOverridesApi.d.ts +20 -20
- package/dist/esm/apis/OrganizationsApi.d.ts +25 -25
- package/dist/esm/apis/PolicyEvaluationApi.d.ts +25 -25
- package/dist/esm/apis/PolicyViolationDetailsApi.d.ts +45 -45
- package/dist/esm/apis/PolicyWaiverRequestsApi.d.ts +20 -20
- package/dist/esm/apis/PolicyWaiversApi.d.ts +45 -45
- package/dist/esm/apis/ProductLicenseApi.d.ts +67 -0
- package/dist/esm/apis/ProductLicenseApi.js +101 -0
- package/dist/esm/apis/ReportsApi.d.ts +20 -20
- package/dist/esm/apis/RepositoriesApi.d.ts +10 -10
- package/dist/esm/apis/RoleMembershipsApi.d.ts +30 -30
- package/dist/esm/apis/SBOMApi.d.ts +45 -45
- package/dist/esm/apis/SPDXApi.d.ts +10 -10
- package/dist/esm/apis/SecurityVulnerabilityOverridesApi.d.ts +5 -5
- package/dist/esm/apis/SolutionsApi.d.ts +5 -5
- package/dist/esm/apis/SourceControlApi.d.ts +40 -40
- package/dist/esm/apis/SourceControlMetricsApi.d.ts +5 -5
- package/dist/esm/apis/ThirdPartyAnalysisApi.d.ts +10 -10
- package/dist/esm/apis/UserTokensApi.d.ts +15 -15
- package/dist/esm/apis/UsersApi.d.ts +25 -25
- package/dist/esm/apis/VulnerabilityDetailsApi.d.ts +5 -5
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/InstallLicenseRequest.d.ts +32 -0
- package/dist/esm/models/InstallLicenseRequest.js +41 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/InstallLicenseRequest.d.ts +32 -0
- package/dist/models/InstallLicenseRequest.js +48 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/AdvancedSearchApi.ts +10 -10
- package/src/apis/ApplicationCategoriesApi.ts +45 -45
- package/src/apis/ApplicationReportDataApi.ts +25 -25
- package/src/apis/ApplicationsApi.ts +40 -40
- package/src/apis/AuditLogsApi.ts +5 -5
- package/src/apis/AutoPolicyWaiverExclusionsApi.ts +15 -15
- package/src/apis/AutoPolicyWaiversApi.ts +40 -40
- package/src/apis/CPEMatchingConfigurationApi.ts +10 -10
- package/src/apis/ClaimComponentsApi.ts +15 -15
- package/src/apis/ComponentLabelsApi.ts +30 -30
- package/src/apis/ComponentSearchApi.ts +5 -5
- package/src/apis/ComponentsApi.ts +25 -25
- package/src/apis/CompositeSourceControlApi.ts +5 -5
- package/src/apis/CompositeSourceControlValidatorApi.ts +5 -5
- package/src/apis/ConfigCrowdApi.ts +10 -10
- package/src/apis/ConfigJiraApi.ts +5 -5
- package/src/apis/ConfigMailApi.ts +10 -10
- package/src/apis/ConfigProxyServerApi.ts +5 -5
- package/src/apis/ConfigReverseProxyAuthenticationApi.ts +5 -5
- package/src/apis/ConfigSourceControlApi.ts +5 -5
- package/src/apis/ConfigZscalerApi.ts +20 -20
- package/src/apis/ConfigurationApi.ts +15 -15
- package/src/apis/ConfigureArtifactoryConnectionApi.ts +40 -40
- package/src/apis/CycloneDXApi.ts +10 -10
- package/src/apis/DataRetentionPoliciesApi.ts +15 -15
- package/src/apis/DeveloperPrioritiesApi.ts +10 -10
- package/src/apis/EndpointsApi.ts +5 -5
- package/src/apis/FeatureConfigurationApi.ts +10 -10
- package/src/apis/FirewallApi.ts +70 -70
- package/src/apis/LicenseLegalMetadataApi.ts +40 -40
- package/src/apis/LicenseLegalMetadataTemplatesApi.ts +15 -15
- package/src/apis/LicenseOverridesApi.ts +20 -20
- package/src/apis/OrganizationsApi.ts +25 -25
- package/src/apis/PolicyEvaluationApi.ts +25 -25
- package/src/apis/PolicyViolationDetailsApi.ts +45 -45
- package/src/apis/PolicyWaiverRequestsApi.ts +20 -20
- package/src/apis/PolicyWaiversApi.ts +45 -45
- package/src/apis/ProductLicenseApi.ts +140 -0
- package/src/apis/ReportsApi.ts +20 -20
- package/src/apis/RepositoriesApi.ts +10 -10
- package/src/apis/RoleMembershipsApi.ts +30 -30
- package/src/apis/SBOMApi.ts +45 -45
- package/src/apis/SPDXApi.ts +10 -10
- package/src/apis/SecurityVulnerabilityOverridesApi.ts +5 -5
- package/src/apis/SolutionsApi.ts +5 -5
- package/src/apis/SourceControlApi.ts +40 -40
- package/src/apis/SourceControlMetricsApi.ts +5 -5
- package/src/apis/ThirdPartyAnalysisApi.ts +10 -10
- package/src/apis/UserTokensApi.ts +15 -15
- package/src/apis/UsersApi.ts +25 -25
- package/src/apis/VulnerabilityDetailsApi.ts +5 -5
- package/src/apis/index.ts +1 -0
- package/src/models/InstallLicenseRequest.ts +65 -0
- package/src/models/index.ts +1 -0
|
@@ -25,23 +25,23 @@ import {
|
|
|
25
25
|
ApiOrganizationListDTOToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
28
|
+
export interface OrganizationsApiAddOrganizationRequest {
|
|
29
29
|
apiOrganizationDTO?: ApiOrganizationDTO;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
32
|
+
export interface OrganizationsApiDeleteOrganizationRequest {
|
|
33
33
|
organizationId: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export interface
|
|
36
|
+
export interface OrganizationsApiGetOrganizationRequest {
|
|
37
37
|
organizationId: string;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export interface
|
|
40
|
+
export interface OrganizationsApiGetOrganizationsRequest {
|
|
41
41
|
organizationName?: Set<string>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export interface
|
|
44
|
+
export interface OrganizationsApiMoveOrganizationRequest {
|
|
45
45
|
organizationId: string;
|
|
46
46
|
destinationId: string;
|
|
47
47
|
failEarlyOnError?: boolean;
|
|
@@ -61,12 +61,12 @@ export interface OrganizationsApiInterface {
|
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
* @memberof OrganizationsApiInterface
|
|
63
63
|
*/
|
|
64
|
-
addOrganizationRaw(requestParameters:
|
|
64
|
+
addOrganizationRaw(requestParameters: OrganizationsApiAddOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiOrganizationDTO>>;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Use this method to add a new organization. Permissions required: Edit IQ Elements
|
|
68
68
|
*/
|
|
69
|
-
addOrganization(requestParameters:
|
|
69
|
+
addOrganization(requestParameters: OrganizationsApiAddOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiOrganizationDTO>;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* Use this method to delete an existing organization, by providing the organization id. Permissions required: Edit IQ Elements
|
|
@@ -75,12 +75,12 @@ export interface OrganizationsApiInterface {
|
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
* @memberof OrganizationsApiInterface
|
|
77
77
|
*/
|
|
78
|
-
deleteOrganizationRaw(requestParameters:
|
|
78
|
+
deleteOrganizationRaw(requestParameters: OrganizationsApiDeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* Use this method to delete an existing organization, by providing the organization id. Permissions required: Edit IQ Elements
|
|
82
82
|
*/
|
|
83
|
-
deleteOrganization(requestParameters:
|
|
83
|
+
deleteOrganization(requestParameters: OrganizationsApiDeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* Use this method to retrieve the details of an organization by providing the organization id. Permissions required: View IQ Elements
|
|
@@ -89,12 +89,12 @@ export interface OrganizationsApiInterface {
|
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
* @memberof OrganizationsApiInterface
|
|
91
91
|
*/
|
|
92
|
-
getOrganizationRaw(requestParameters:
|
|
92
|
+
getOrganizationRaw(requestParameters: OrganizationsApiGetOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiOrganizationDTO>>;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Use this method to retrieve the details of an organization by providing the organization id. Permissions required: View IQ Elements
|
|
96
96
|
*/
|
|
97
|
-
getOrganization(requestParameters:
|
|
97
|
+
getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiOrganizationDTO>;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Use this method to retrieve organizations with names matching those specified or all if not specified. Permissions required: View IQ Elements
|
|
@@ -103,12 +103,12 @@ export interface OrganizationsApiInterface {
|
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
* @memberof OrganizationsApiInterface
|
|
105
105
|
*/
|
|
106
|
-
getOrganizationsRaw(requestParameters:
|
|
106
|
+
getOrganizationsRaw(requestParameters: OrganizationsApiGetOrganizationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiOrganizationListDTO>>;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Use this method to retrieve organizations with names matching those specified or all if not specified. Permissions required: View IQ Elements
|
|
110
110
|
*/
|
|
111
|
-
getOrganizations(requestParameters:
|
|
111
|
+
getOrganizations(requestParameters: OrganizationsApiGetOrganizationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiOrganizationListDTO>;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* Use this method to change the parent organization. Permissions required: Edit IQ Elements
|
|
@@ -119,12 +119,12 @@ export interface OrganizationsApiInterface {
|
|
|
119
119
|
* @throws {RequiredError}
|
|
120
120
|
* @memberof OrganizationsApiInterface
|
|
121
121
|
*/
|
|
122
|
-
moveOrganizationRaw(requestParameters:
|
|
122
|
+
moveOrganizationRaw(requestParameters: OrganizationsApiMoveOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Use this method to change the parent organization. Permissions required: Edit IQ Elements
|
|
126
126
|
*/
|
|
127
|
-
moveOrganization(requestParameters:
|
|
127
|
+
moveOrganization(requestParameters: OrganizationsApiMoveOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
128
128
|
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -136,7 +136,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
136
136
|
/**
|
|
137
137
|
* Use this method to add a new organization. Permissions required: Edit IQ Elements
|
|
138
138
|
*/
|
|
139
|
-
async addOrganizationRaw(requestParameters:
|
|
139
|
+
async addOrganizationRaw(requestParameters: OrganizationsApiAddOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiOrganizationDTO>> {
|
|
140
140
|
const queryParameters: any = {};
|
|
141
141
|
|
|
142
142
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -160,7 +160,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
160
160
|
/**
|
|
161
161
|
* Use this method to add a new organization. Permissions required: Edit IQ Elements
|
|
162
162
|
*/
|
|
163
|
-
async addOrganization(requestParameters:
|
|
163
|
+
async addOrganization(requestParameters: OrganizationsApiAddOrganizationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiOrganizationDTO> {
|
|
164
164
|
const response = await this.addOrganizationRaw(requestParameters, initOverrides);
|
|
165
165
|
return await response.value();
|
|
166
166
|
}
|
|
@@ -168,7 +168,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
168
168
|
/**
|
|
169
169
|
* Use this method to delete an existing organization, by providing the organization id. Permissions required: Edit IQ Elements
|
|
170
170
|
*/
|
|
171
|
-
async deleteOrganizationRaw(requestParameters:
|
|
171
|
+
async deleteOrganizationRaw(requestParameters: OrganizationsApiDeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
172
172
|
if (requestParameters['organizationId'] == null) {
|
|
173
173
|
throw new runtime.RequiredError(
|
|
174
174
|
'organizationId',
|
|
@@ -196,14 +196,14 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
196
196
|
/**
|
|
197
197
|
* Use this method to delete an existing organization, by providing the organization id. Permissions required: Edit IQ Elements
|
|
198
198
|
*/
|
|
199
|
-
async deleteOrganization(requestParameters:
|
|
199
|
+
async deleteOrganization(requestParameters: OrganizationsApiDeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
200
200
|
await this.deleteOrganizationRaw(requestParameters, initOverrides);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* Use this method to retrieve the details of an organization by providing the organization id. Permissions required: View IQ Elements
|
|
205
205
|
*/
|
|
206
|
-
async getOrganizationRaw(requestParameters:
|
|
206
|
+
async getOrganizationRaw(requestParameters: OrganizationsApiGetOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiOrganizationDTO>> {
|
|
207
207
|
if (requestParameters['organizationId'] == null) {
|
|
208
208
|
throw new runtime.RequiredError(
|
|
209
209
|
'organizationId',
|
|
@@ -231,7 +231,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
231
231
|
/**
|
|
232
232
|
* Use this method to retrieve the details of an organization by providing the organization id. Permissions required: View IQ Elements
|
|
233
233
|
*/
|
|
234
|
-
async getOrganization(requestParameters:
|
|
234
|
+
async getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiOrganizationDTO> {
|
|
235
235
|
const response = await this.getOrganizationRaw(requestParameters, initOverrides);
|
|
236
236
|
return await response.value();
|
|
237
237
|
}
|
|
@@ -239,7 +239,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
239
239
|
/**
|
|
240
240
|
* Use this method to retrieve organizations with names matching those specified or all if not specified. Permissions required: View IQ Elements
|
|
241
241
|
*/
|
|
242
|
-
async getOrganizationsRaw(requestParameters:
|
|
242
|
+
async getOrganizationsRaw(requestParameters: OrganizationsApiGetOrganizationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiOrganizationListDTO>> {
|
|
243
243
|
const queryParameters: any = {};
|
|
244
244
|
|
|
245
245
|
if (requestParameters['organizationName'] != null) {
|
|
@@ -264,7 +264,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
264
264
|
/**
|
|
265
265
|
* Use this method to retrieve organizations with names matching those specified or all if not specified. Permissions required: View IQ Elements
|
|
266
266
|
*/
|
|
267
|
-
async getOrganizations(requestParameters:
|
|
267
|
+
async getOrganizations(requestParameters: OrganizationsApiGetOrganizationsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiOrganizationListDTO> {
|
|
268
268
|
const response = await this.getOrganizationsRaw(requestParameters, initOverrides);
|
|
269
269
|
return await response.value();
|
|
270
270
|
}
|
|
@@ -272,7 +272,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
272
272
|
/**
|
|
273
273
|
* Use this method to change the parent organization. Permissions required: Edit IQ Elements
|
|
274
274
|
*/
|
|
275
|
-
async moveOrganizationRaw(requestParameters:
|
|
275
|
+
async moveOrganizationRaw(requestParameters: OrganizationsApiMoveOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
276
276
|
if (requestParameters['organizationId'] == null) {
|
|
277
277
|
throw new runtime.RequiredError(
|
|
278
278
|
'organizationId',
|
|
@@ -311,7 +311,7 @@ export class OrganizationsApi extends runtime.BaseAPI implements OrganizationsAp
|
|
|
311
311
|
/**
|
|
312
312
|
* Use this method to change the parent organization. Permissions required: Edit IQ Elements
|
|
313
313
|
*/
|
|
314
|
-
async moveOrganization(requestParameters:
|
|
314
|
+
async moveOrganization(requestParameters: OrganizationsApiMoveOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
315
315
|
await this.moveOrganizationRaw(requestParameters, initOverrides);
|
|
316
316
|
}
|
|
317
317
|
|
|
@@ -40,27 +40,27 @@ import {
|
|
|
40
40
|
ApiSourceControlEvaluationRequestDTOToJSON,
|
|
41
41
|
} from '../models/index';
|
|
42
42
|
|
|
43
|
-
export interface
|
|
43
|
+
export interface PolicyEvaluationApiEvaluateComponentsRequest {
|
|
44
44
|
applicationId: string;
|
|
45
45
|
apiComponentEvaluationRequestDTOV2?: ApiComponentEvaluationRequestDTOV2;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export interface
|
|
48
|
+
export interface PolicyEvaluationApiEvaluateSourceControlRequest {
|
|
49
49
|
applicationId: string;
|
|
50
50
|
apiSourceControlEvaluationRequestDTO?: ApiSourceControlEvaluationRequestDTO;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export interface
|
|
53
|
+
export interface PolicyEvaluationApiGetApplicationEvaluationStatusRequest {
|
|
54
54
|
applicationId: string;
|
|
55
55
|
statusId: string;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export interface
|
|
58
|
+
export interface PolicyEvaluationApiGetComponentEvaluationRequest {
|
|
59
59
|
applicationId: string;
|
|
60
60
|
resultId: string;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export interface
|
|
63
|
+
export interface PolicyEvaluationApiPromoteScanRequest {
|
|
64
64
|
applicationId: string;
|
|
65
65
|
apiPromoteScanRequestDTOV2?: ApiPromoteScanRequestDTOV2;
|
|
66
66
|
}
|
|
@@ -80,12 +80,12 @@ export interface PolicyEvaluationApiInterface {
|
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
* @memberof PolicyEvaluationApiInterface
|
|
82
82
|
*/
|
|
83
|
-
evaluateComponentsRaw(requestParameters:
|
|
83
|
+
evaluateComponentsRaw(requestParameters: PolicyEvaluationApiEvaluateComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentEvaluationTicketDTOV2>>;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* Use this method to request a component evaluation. This is step 1 of the 2 step policy evaluation for components process. Permissions Required: Evaluate Components
|
|
87
87
|
*/
|
|
88
|
-
evaluateComponents(requestParameters:
|
|
88
|
+
evaluateComponents(requestParameters: PolicyEvaluationApiEvaluateComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentEvaluationTicketDTOV2>;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Use this method to request a source control evaluation for a specific application. This is step 1 of the 2 step source control evaluation process. Permissions Required: Evaluate Applications
|
|
@@ -95,12 +95,12 @@ export interface PolicyEvaluationApiInterface {
|
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
* @memberof PolicyEvaluationApiInterface
|
|
97
97
|
*/
|
|
98
|
-
evaluateSourceControlRaw(requestParameters:
|
|
98
|
+
evaluateSourceControlRaw(requestParameters: PolicyEvaluationApiEvaluateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationEvaluationStatusDTOV2>>;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Use this method to request a source control evaluation for a specific application. This is step 1 of the 2 step source control evaluation process. Permissions Required: Evaluate Applications
|
|
102
102
|
*/
|
|
103
|
-
evaluateSourceControl(requestParameters:
|
|
103
|
+
evaluateSourceControl(requestParameters: PolicyEvaluationApiEvaluateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationEvaluationStatusDTOV2>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* This is step 2 of the policy evaluation process. Use the statusUrl obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Applications
|
|
@@ -110,12 +110,12 @@ export interface PolicyEvaluationApiInterface {
|
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
* @memberof PolicyEvaluationApiInterface
|
|
112
112
|
*/
|
|
113
|
-
getApplicationEvaluationStatusRaw(requestParameters:
|
|
113
|
+
getApplicationEvaluationStatusRaw(requestParameters: PolicyEvaluationApiGetApplicationEvaluationStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationEvaluationResultDTOV2>>;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* This is step 2 of the policy evaluation process. Use the statusUrl obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Applications
|
|
117
117
|
*/
|
|
118
|
-
getApplicationEvaluationStatus(requestParameters:
|
|
118
|
+
getApplicationEvaluationStatus(requestParameters: PolicyEvaluationApiGetApplicationEvaluationStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationEvaluationResultDTOV2>;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* This is step 2 of the policy evaluation process for components. Use the resultId obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Components
|
|
@@ -125,12 +125,12 @@ export interface PolicyEvaluationApiInterface {
|
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
* @memberof PolicyEvaluationApiInterface
|
|
127
127
|
*/
|
|
128
|
-
getComponentEvaluationRaw(requestParameters:
|
|
128
|
+
getComponentEvaluationRaw(requestParameters: PolicyEvaluationApiGetComponentEvaluationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentEvaluationResultDTOV2>>;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* This is step 2 of the policy evaluation process for components. Use the resultId obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Components
|
|
132
132
|
*/
|
|
133
|
-
getComponentEvaluation(requestParameters:
|
|
133
|
+
getComponentEvaluation(requestParameters: PolicyEvaluationApiGetComponentEvaluationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentEvaluationResultDTOV2>;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Use this method to rescan older scans. This is done when the binaries of a previous build are now moving to a new stage in the production pipeline. Using this method, you can avoid rebuilding the application and reuse the scan metadata at the newer stage. This new evaluation will evaluate the most recent security and license data against your current policies. Permissions Required: Evaluate Applications
|
|
@@ -140,12 +140,12 @@ export interface PolicyEvaluationApiInterface {
|
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
* @memberof PolicyEvaluationApiInterface
|
|
142
142
|
*/
|
|
143
|
-
promoteScanRaw(requestParameters:
|
|
143
|
+
promoteScanRaw(requestParameters: PolicyEvaluationApiPromoteScanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationEvaluationStatusDTOV2>>;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Use this method to rescan older scans. This is done when the binaries of a previous build are now moving to a new stage in the production pipeline. Using this method, you can avoid rebuilding the application and reuse the scan metadata at the newer stage. This new evaluation will evaluate the most recent security and license data against your current policies. Permissions Required: Evaluate Applications
|
|
147
147
|
*/
|
|
148
|
-
promoteScan(requestParameters:
|
|
148
|
+
promoteScan(requestParameters: PolicyEvaluationApiPromoteScanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationEvaluationStatusDTOV2>;
|
|
149
149
|
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -157,7 +157,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
157
157
|
/**
|
|
158
158
|
* Use this method to request a component evaluation. This is step 1 of the 2 step policy evaluation for components process. Permissions Required: Evaluate Components
|
|
159
159
|
*/
|
|
160
|
-
async evaluateComponentsRaw(requestParameters:
|
|
160
|
+
async evaluateComponentsRaw(requestParameters: PolicyEvaluationApiEvaluateComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentEvaluationTicketDTOV2>> {
|
|
161
161
|
if (requestParameters['applicationId'] == null) {
|
|
162
162
|
throw new runtime.RequiredError(
|
|
163
163
|
'applicationId',
|
|
@@ -188,7 +188,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
188
188
|
/**
|
|
189
189
|
* Use this method to request a component evaluation. This is step 1 of the 2 step policy evaluation for components process. Permissions Required: Evaluate Components
|
|
190
190
|
*/
|
|
191
|
-
async evaluateComponents(requestParameters:
|
|
191
|
+
async evaluateComponents(requestParameters: PolicyEvaluationApiEvaluateComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentEvaluationTicketDTOV2> {
|
|
192
192
|
const response = await this.evaluateComponentsRaw(requestParameters, initOverrides);
|
|
193
193
|
return await response.value();
|
|
194
194
|
}
|
|
@@ -196,7 +196,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
196
196
|
/**
|
|
197
197
|
* Use this method to request a source control evaluation for a specific application. This is step 1 of the 2 step source control evaluation process. Permissions Required: Evaluate Applications
|
|
198
198
|
*/
|
|
199
|
-
async evaluateSourceControlRaw(requestParameters:
|
|
199
|
+
async evaluateSourceControlRaw(requestParameters: PolicyEvaluationApiEvaluateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationEvaluationStatusDTOV2>> {
|
|
200
200
|
if (requestParameters['applicationId'] == null) {
|
|
201
201
|
throw new runtime.RequiredError(
|
|
202
202
|
'applicationId',
|
|
@@ -227,7 +227,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
227
227
|
/**
|
|
228
228
|
* Use this method to request a source control evaluation for a specific application. This is step 1 of the 2 step source control evaluation process. Permissions Required: Evaluate Applications
|
|
229
229
|
*/
|
|
230
|
-
async evaluateSourceControl(requestParameters:
|
|
230
|
+
async evaluateSourceControl(requestParameters: PolicyEvaluationApiEvaluateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationEvaluationStatusDTOV2> {
|
|
231
231
|
const response = await this.evaluateSourceControlRaw(requestParameters, initOverrides);
|
|
232
232
|
return await response.value();
|
|
233
233
|
}
|
|
@@ -235,7 +235,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
235
235
|
/**
|
|
236
236
|
* This is step 2 of the policy evaluation process. Use the statusUrl obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Applications
|
|
237
237
|
*/
|
|
238
|
-
async getApplicationEvaluationStatusRaw(requestParameters:
|
|
238
|
+
async getApplicationEvaluationStatusRaw(requestParameters: PolicyEvaluationApiGetApplicationEvaluationStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationEvaluationResultDTOV2>> {
|
|
239
239
|
if (requestParameters['applicationId'] == null) {
|
|
240
240
|
throw new runtime.RequiredError(
|
|
241
241
|
'applicationId',
|
|
@@ -270,7 +270,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
270
270
|
/**
|
|
271
271
|
* This is step 2 of the policy evaluation process. Use the statusUrl obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Applications
|
|
272
272
|
*/
|
|
273
|
-
async getApplicationEvaluationStatus(requestParameters:
|
|
273
|
+
async getApplicationEvaluationStatus(requestParameters: PolicyEvaluationApiGetApplicationEvaluationStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationEvaluationResultDTOV2> {
|
|
274
274
|
const response = await this.getApplicationEvaluationStatusRaw(requestParameters, initOverrides);
|
|
275
275
|
return await response.value();
|
|
276
276
|
}
|
|
@@ -278,7 +278,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
278
278
|
/**
|
|
279
279
|
* This is step 2 of the policy evaluation process for components. Use the resultId obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Components
|
|
280
280
|
*/
|
|
281
|
-
async getComponentEvaluationRaw(requestParameters:
|
|
281
|
+
async getComponentEvaluationRaw(requestParameters: PolicyEvaluationApiGetComponentEvaluationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentEvaluationResultDTOV2>> {
|
|
282
282
|
if (requestParameters['applicationId'] == null) {
|
|
283
283
|
throw new runtime.RequiredError(
|
|
284
284
|
'applicationId',
|
|
@@ -313,7 +313,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
313
313
|
/**
|
|
314
314
|
* This is step 2 of the policy evaluation process for components. Use the resultId obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Components
|
|
315
315
|
*/
|
|
316
|
-
async getComponentEvaluation(requestParameters:
|
|
316
|
+
async getComponentEvaluation(requestParameters: PolicyEvaluationApiGetComponentEvaluationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentEvaluationResultDTOV2> {
|
|
317
317
|
const response = await this.getComponentEvaluationRaw(requestParameters, initOverrides);
|
|
318
318
|
return await response.value();
|
|
319
319
|
}
|
|
@@ -321,7 +321,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
321
321
|
/**
|
|
322
322
|
* Use this method to rescan older scans. This is done when the binaries of a previous build are now moving to a new stage in the production pipeline. Using this method, you can avoid rebuilding the application and reuse the scan metadata at the newer stage. This new evaluation will evaluate the most recent security and license data against your current policies. Permissions Required: Evaluate Applications
|
|
323
323
|
*/
|
|
324
|
-
async promoteScanRaw(requestParameters:
|
|
324
|
+
async promoteScanRaw(requestParameters: PolicyEvaluationApiPromoteScanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiApplicationEvaluationStatusDTOV2>> {
|
|
325
325
|
if (requestParameters['applicationId'] == null) {
|
|
326
326
|
throw new runtime.RequiredError(
|
|
327
327
|
'applicationId',
|
|
@@ -352,7 +352,7 @@ export class PolicyEvaluationApi extends runtime.BaseAPI implements PolicyEvalua
|
|
|
352
352
|
/**
|
|
353
353
|
* Use this method to rescan older scans. This is done when the binaries of a previous build are now moving to a new stage in the production pipeline. Using this method, you can avoid rebuilding the application and reuse the scan metadata at the newer stage. This new evaluation will evaluate the most recent security and license data against your current policies. Permissions Required: Evaluate Applications
|
|
354
354
|
*/
|
|
355
|
-
async promoteScan(requestParameters:
|
|
355
|
+
async promoteScan(requestParameters: PolicyEvaluationApiPromoteScanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiApplicationEvaluationStatusDTOV2> {
|
|
356
356
|
const response = await this.promoteScanRaw(requestParameters, initOverrides);
|
|
357
357
|
return await response.value();
|
|
358
358
|
}
|