@sonatype/nexus-iq-api-client 0.193.0 → 0.193.3
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/ApiJiraConfigurationDTO.d.ts +2 -2
- 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/ApiJiraConfigurationDTO.d.ts +2 -2
- 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/ApiJiraConfigurationDTO.ts +2 -2
- package/src/models/InstallLicenseRequest.ts +65 -0
- package/src/models/index.ts +1 -0
package/src/apis/ReportsApi.ts
CHANGED
|
@@ -37,19 +37,19 @@ import {
|
|
|
37
37
|
ApiStaleWaiversResponseDTOToJSON,
|
|
38
38
|
} from '../models/index';
|
|
39
39
|
|
|
40
|
-
export interface
|
|
40
|
+
export interface ReportsApiGetByApplicationIdRequest {
|
|
41
41
|
applicationId: string;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export interface
|
|
44
|
+
export interface ReportsApiGetComponentsWithWaiversRequest {
|
|
45
45
|
format?: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export interface
|
|
48
|
+
export interface ReportsApiGetMetricsRequest {
|
|
49
49
|
apiMetricsReportingQueryDTOV2?: ApiMetricsReportingQueryDTOV2;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export interface
|
|
52
|
+
export interface ReportsApiGetReportHistoryForApplicationRequest {
|
|
53
53
|
applicationId: string;
|
|
54
54
|
stage?: string;
|
|
55
55
|
limit?: number;
|
|
@@ -82,12 +82,12 @@ export interface ReportsApiInterface {
|
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
* @memberof ReportsApiInterface
|
|
84
84
|
*/
|
|
85
|
-
getByApplicationIdRaw(requestParameters:
|
|
85
|
+
getByApplicationIdRaw(requestParameters: ReportsApiGetByApplicationIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiApplicationReportDTOV2>>>;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* Use this method to retrieve the application reports for the specified application Id. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
89
89
|
*/
|
|
90
|
-
getByApplicationId(requestParameters:
|
|
90
|
+
getByApplicationId(requestParameters: ReportsApiGetByApplicationIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiApplicationReportDTOV2>>;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* Use this method to retrieve all repository components that are quarantined. The response contains violation details and the quarantine Id of the component. Use the quarantine Id, to release the component from quarantine, using the Release from Quarantine REST API. Permissions required: View IQ Elements and access to the specific repository.
|
|
@@ -109,12 +109,12 @@ export interface ReportsApiInterface {
|
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
* @memberof ReportsApiInterface
|
|
111
111
|
*/
|
|
112
|
-
getComponentsWithWaiversRaw(requestParameters:
|
|
112
|
+
getComponentsWithWaiversRaw(requestParameters: ReportsApiGetComponentsWithWaiversRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentWaiversDTO>>;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Use this method to retrieve existing policy waivers by components. For an up-to-date response, ensure that all application and repository reports are current and contain the most recent re-evaluation data.<p>You can specify the format/ecosystem of the component for a filtered result. <p>Permissions required: View IQ Elements and access to the specific applications and repositories
|
|
116
116
|
*/
|
|
117
|
-
getComponentsWithWaivers(requestParameters:
|
|
117
|
+
getComponentsWithWaivers(requestParameters: ReportsApiGetComponentsWithWaiversRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentWaiversDTO>;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Use this method to retrieve metrics data such as policy evaluation metrics, violation and remediation metrics aggregated monthly or weekly. Permissions required: View IQ Elements
|
|
@@ -123,12 +123,12 @@ export interface ReportsApiInterface {
|
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
* @memberof ReportsApiInterface
|
|
125
125
|
*/
|
|
126
|
-
getMetricsRaw(requestParameters:
|
|
126
|
+
getMetricsRaw(requestParameters: ReportsApiGetMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Use this method to retrieve metrics data such as policy evaluation metrics, violation and remediation metrics aggregated monthly or weekly. Permissions required: View IQ Elements
|
|
130
130
|
*/
|
|
131
|
-
getMetrics(requestParameters:
|
|
131
|
+
getMetrics(requestParameters: ReportsApiGetMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* Use this method to retrieve previous application scan reports (100 max.) for the specified application. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
@@ -139,12 +139,12 @@ export interface ReportsApiInterface {
|
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
* @memberof ReportsApiInterface
|
|
141
141
|
*/
|
|
142
|
-
getReportHistoryForApplicationRaw(requestParameters:
|
|
142
|
+
getReportHistoryForApplicationRaw(requestParameters: ReportsApiGetReportHistoryForApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiReportHistoryDTO>>;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* Use this method to retrieve previous application scan reports (100 max.) for the specified application. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
146
146
|
*/
|
|
147
|
-
getReportHistoryForApplication(requestParameters:
|
|
147
|
+
getReportHistoryForApplication(requestParameters: ReportsApiGetReportHistoryForApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiReportHistoryDTO>;
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* Stale waivers pose a risk because they could be applied unintentionally. Use this method to retrieve stale waivers to eliminate this risk for future application evaluations. Permissions required: View IQ Elements. You can view stale waivers only for applications/repositories to which you have access.
|
|
@@ -198,7 +198,7 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
198
198
|
/**
|
|
199
199
|
* Use this method to retrieve the application reports for the specified application Id. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
200
200
|
*/
|
|
201
|
-
async getByApplicationIdRaw(requestParameters:
|
|
201
|
+
async getByApplicationIdRaw(requestParameters: ReportsApiGetByApplicationIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiApplicationReportDTOV2>>> {
|
|
202
202
|
if (requestParameters['applicationId'] == null) {
|
|
203
203
|
throw new runtime.RequiredError(
|
|
204
204
|
'applicationId',
|
|
@@ -226,7 +226,7 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
226
226
|
/**
|
|
227
227
|
* Use this method to retrieve the application reports for the specified application Id. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
228
228
|
*/
|
|
229
|
-
async getByApplicationId(requestParameters:
|
|
229
|
+
async getByApplicationId(requestParameters: ReportsApiGetByApplicationIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiApplicationReportDTOV2>> {
|
|
230
230
|
const response = await this.getByApplicationIdRaw(requestParameters, initOverrides);
|
|
231
231
|
return await response.value();
|
|
232
232
|
}
|
|
@@ -263,7 +263,7 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
263
263
|
/**
|
|
264
264
|
* Use this method to retrieve existing policy waivers by components. For an up-to-date response, ensure that all application and repository reports are current and contain the most recent re-evaluation data.<p>You can specify the format/ecosystem of the component for a filtered result. <p>Permissions required: View IQ Elements and access to the specific applications and repositories
|
|
265
265
|
*/
|
|
266
|
-
async getComponentsWithWaiversRaw(requestParameters:
|
|
266
|
+
async getComponentsWithWaiversRaw(requestParameters: ReportsApiGetComponentsWithWaiversRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentWaiversDTO>> {
|
|
267
267
|
const queryParameters: any = {};
|
|
268
268
|
|
|
269
269
|
if (requestParameters['format'] != null) {
|
|
@@ -288,7 +288,7 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
288
288
|
/**
|
|
289
289
|
* Use this method to retrieve existing policy waivers by components. For an up-to-date response, ensure that all application and repository reports are current and contain the most recent re-evaluation data.<p>You can specify the format/ecosystem of the component for a filtered result. <p>Permissions required: View IQ Elements and access to the specific applications and repositories
|
|
290
290
|
*/
|
|
291
|
-
async getComponentsWithWaivers(requestParameters:
|
|
291
|
+
async getComponentsWithWaivers(requestParameters: ReportsApiGetComponentsWithWaiversRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentWaiversDTO> {
|
|
292
292
|
const response = await this.getComponentsWithWaiversRaw(requestParameters, initOverrides);
|
|
293
293
|
return await response.value();
|
|
294
294
|
}
|
|
@@ -296,7 +296,7 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
296
296
|
/**
|
|
297
297
|
* Use this method to retrieve metrics data such as policy evaluation metrics, violation and remediation metrics aggregated monthly or weekly. Permissions required: View IQ Elements
|
|
298
298
|
*/
|
|
299
|
-
async getMetricsRaw(requestParameters:
|
|
299
|
+
async getMetricsRaw(requestParameters: ReportsApiGetMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
300
300
|
const queryParameters: any = {};
|
|
301
301
|
|
|
302
302
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -320,14 +320,14 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
320
320
|
/**
|
|
321
321
|
* Use this method to retrieve metrics data such as policy evaluation metrics, violation and remediation metrics aggregated monthly or weekly. Permissions required: View IQ Elements
|
|
322
322
|
*/
|
|
323
|
-
async getMetrics(requestParameters:
|
|
323
|
+
async getMetrics(requestParameters: ReportsApiGetMetricsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
324
324
|
await this.getMetricsRaw(requestParameters, initOverrides);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* Use this method to retrieve previous application scan reports (100 max.) for the specified application. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
329
329
|
*/
|
|
330
|
-
async getReportHistoryForApplicationRaw(requestParameters:
|
|
330
|
+
async getReportHistoryForApplicationRaw(requestParameters: ReportsApiGetReportHistoryForApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiReportHistoryDTO>> {
|
|
331
331
|
if (requestParameters['applicationId'] == null) {
|
|
332
332
|
throw new runtime.RequiredError(
|
|
333
333
|
'applicationId',
|
|
@@ -363,7 +363,7 @@ export class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
|
363
363
|
/**
|
|
364
364
|
* Use this method to retrieve previous application scan reports (100 max.) for the specified application. You can view application reports only for applications to which you have access. Permissions required: View IQ Elements
|
|
365
365
|
*/
|
|
366
|
-
async getReportHistoryForApplication(requestParameters:
|
|
366
|
+
async getReportHistoryForApplication(requestParameters: ReportsApiGetReportHistoryForApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiReportHistoryDTO> {
|
|
367
367
|
const response = await this.getReportHistoryForApplicationRaw(requestParameters, initOverrides);
|
|
368
368
|
return await response.value();
|
|
369
369
|
}
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
ApiRepositoryPathResponseDTOToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
28
|
+
export interface RepositoriesApiGetQuarantinedByPathRequest {
|
|
29
29
|
repositoryManagerInstanceId: string;
|
|
30
30
|
repositoryPublicId: string;
|
|
31
31
|
requestBody: Array<string>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export interface
|
|
34
|
+
export interface RepositoriesApiReleaseQuarantineWithoutReEvalRequest {
|
|
35
35
|
quarantineId: string;
|
|
36
36
|
body: string;
|
|
37
37
|
}
|
|
@@ -52,12 +52,12 @@ export interface RepositoriesApiInterface {
|
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
* @memberof RepositoriesApiInterface
|
|
54
54
|
*/
|
|
55
|
-
getQuarantinedByPathRaw(requestParameters:
|
|
55
|
+
getQuarantinedByPathRaw(requestParameters: RepositoriesApiGetQuarantinedByPathRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiRepositoryPathResponseDTO>>;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Use this method to retrieve the pathnames of the repository components and the corresponding quarantine status. Permissions required: View IQ Elements
|
|
59
59
|
*/
|
|
60
|
-
getQuarantinedByPath(requestParameters:
|
|
60
|
+
getQuarantinedByPath(requestParameters: RepositoriesApiGetQuarantinedByPathRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiRepositoryPathResponseDTO>;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* Use this method to release a component from quarantine by providing the `quarantineId`. Use the GET method of the Reports REST API to retrieve the `quarantineId` for the quarantined component. Permissions required: Edit IQ Elements
|
|
@@ -67,12 +67,12 @@ export interface RepositoriesApiInterface {
|
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
* @memberof RepositoriesApiInterface
|
|
69
69
|
*/
|
|
70
|
-
releaseQuarantineWithoutReEvalRaw(requestParameters:
|
|
70
|
+
releaseQuarantineWithoutReEvalRaw(requestParameters: RepositoriesApiReleaseQuarantineWithoutReEvalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentReleasedFromQuarantineDTO>>;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* Use this method to release a component from quarantine by providing the `quarantineId`. Use the GET method of the Reports REST API to retrieve the `quarantineId` for the quarantined component. Permissions required: Edit IQ Elements
|
|
74
74
|
*/
|
|
75
|
-
releaseQuarantineWithoutReEval(requestParameters:
|
|
75
|
+
releaseQuarantineWithoutReEval(requestParameters: RepositoriesApiReleaseQuarantineWithoutReEvalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentReleasedFromQuarantineDTO>;
|
|
76
76
|
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ export class RepositoriesApi extends runtime.BaseAPI implements RepositoriesApiI
|
|
|
84
84
|
/**
|
|
85
85
|
* Use this method to retrieve the pathnames of the repository components and the corresponding quarantine status. Permissions required: View IQ Elements
|
|
86
86
|
*/
|
|
87
|
-
async getQuarantinedByPathRaw(requestParameters:
|
|
87
|
+
async getQuarantinedByPathRaw(requestParameters: RepositoriesApiGetQuarantinedByPathRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiRepositoryPathResponseDTO>> {
|
|
88
88
|
if (requestParameters['repositoryManagerInstanceId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError(
|
|
90
90
|
'repositoryManagerInstanceId',
|
|
@@ -129,7 +129,7 @@ export class RepositoriesApi extends runtime.BaseAPI implements RepositoriesApiI
|
|
|
129
129
|
/**
|
|
130
130
|
* Use this method to retrieve the pathnames of the repository components and the corresponding quarantine status. Permissions required: View IQ Elements
|
|
131
131
|
*/
|
|
132
|
-
async getQuarantinedByPath(requestParameters:
|
|
132
|
+
async getQuarantinedByPath(requestParameters: RepositoriesApiGetQuarantinedByPathRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiRepositoryPathResponseDTO> {
|
|
133
133
|
const response = await this.getQuarantinedByPathRaw(requestParameters, initOverrides);
|
|
134
134
|
return await response.value();
|
|
135
135
|
}
|
|
@@ -137,7 +137,7 @@ export class RepositoriesApi extends runtime.BaseAPI implements RepositoriesApiI
|
|
|
137
137
|
/**
|
|
138
138
|
* Use this method to release a component from quarantine by providing the `quarantineId`. Use the GET method of the Reports REST API to retrieve the `quarantineId` for the quarantined component. Permissions required: Edit IQ Elements
|
|
139
139
|
*/
|
|
140
|
-
async releaseQuarantineWithoutReEvalRaw(requestParameters:
|
|
140
|
+
async releaseQuarantineWithoutReEvalRaw(requestParameters: RepositoriesApiReleaseQuarantineWithoutReEvalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentReleasedFromQuarantineDTO>> {
|
|
141
141
|
if (requestParameters['quarantineId'] == null) {
|
|
142
142
|
throw new runtime.RequiredError(
|
|
143
143
|
'quarantineId',
|
|
@@ -175,7 +175,7 @@ export class RepositoriesApi extends runtime.BaseAPI implements RepositoriesApiI
|
|
|
175
175
|
/**
|
|
176
176
|
* Use this method to release a component from quarantine by providing the `quarantineId`. Use the GET method of the Reports REST API to retrieve the `quarantineId` for the quarantined component. Permissions required: Edit IQ Elements
|
|
177
177
|
*/
|
|
178
|
-
async releaseQuarantineWithoutReEval(requestParameters:
|
|
178
|
+
async releaseQuarantineWithoutReEval(requestParameters: RepositoriesApiReleaseQuarantineWithoutReEvalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentReleasedFromQuarantineDTO> {
|
|
179
179
|
const response = await this.releaseQuarantineWithoutReEvalRaw(requestParameters, initOverrides);
|
|
180
180
|
return await response.value();
|
|
181
181
|
}
|
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
ApiRoleMemberMappingListDTOToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
|
-
export interface
|
|
25
|
+
export interface RoleMembershipsApiGetRoleMembershipsApplicationOrOrganizationRequest {
|
|
26
26
|
ownerType: GetRoleMembershipsApplicationOrOrganizationOwnerTypeEnum;
|
|
27
27
|
internalOwnerId: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export interface
|
|
30
|
+
export interface RoleMembershipsApiGetRoleMembershipsGlobalOrRepositoryContainerRequest {
|
|
31
31
|
ownerType: GetRoleMembershipsGlobalOrRepositoryContainerOwnerTypeEnum;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export interface
|
|
34
|
+
export interface RoleMembershipsApiGrantRoleMembershipApplicationOrOrganizationRequest {
|
|
35
35
|
ownerType: GrantRoleMembershipApplicationOrOrganizationOwnerTypeEnum;
|
|
36
36
|
internalOwnerId: string;
|
|
37
37
|
roleId: string;
|
|
@@ -39,14 +39,14 @@ export interface GrantRoleMembershipApplicationOrOrganizationRequest {
|
|
|
39
39
|
memberName: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export interface
|
|
42
|
+
export interface RoleMembershipsApiGrantRoleMembershipGlobalOrRepositoryContainerRequest {
|
|
43
43
|
ownerType: GrantRoleMembershipGlobalOrRepositoryContainerOwnerTypeEnum;
|
|
44
44
|
roleId: string;
|
|
45
45
|
memberType: GrantRoleMembershipGlobalOrRepositoryContainerMemberTypeEnum;
|
|
46
46
|
memberName: string;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export interface
|
|
49
|
+
export interface RoleMembershipsApiRevokeRoleMembershipApplicationOrOrganizationRequest {
|
|
50
50
|
ownerType: RevokeRoleMembershipApplicationOrOrganizationOwnerTypeEnum;
|
|
51
51
|
internalOwnerId: string;
|
|
52
52
|
roleId: string;
|
|
@@ -54,7 +54,7 @@ export interface RevokeRoleMembershipApplicationOrOrganizationRequest {
|
|
|
54
54
|
memberName: string;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
export interface
|
|
57
|
+
export interface RoleMembershipsApiRevokeRoleMembershipGlobalOrRepositoryContainerRequest {
|
|
58
58
|
ownerType: RevokeRoleMembershipGlobalOrRepositoryContainerOwnerTypeEnum;
|
|
59
59
|
roleId: string;
|
|
60
60
|
memberType: RevokeRoleMembershipGlobalOrRepositoryContainerMemberTypeEnum;
|
|
@@ -76,12 +76,12 @@ export interface RoleMembershipsApiInterface {
|
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
* @memberof RoleMembershipsApiInterface
|
|
78
78
|
*/
|
|
79
|
-
getRoleMembershipsApplicationOrOrganizationRaw(requestParameters:
|
|
79
|
+
getRoleMembershipsApplicationOrOrganizationRaw(requestParameters: RoleMembershipsApiGetRoleMembershipsApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiRoleMemberMappingListDTO>>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Use this method to retrieve the users, user groups and the corresponding role Ids. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
83
83
|
*/
|
|
84
|
-
getRoleMembershipsApplicationOrOrganization(requestParameters:
|
|
84
|
+
getRoleMembershipsApplicationOrOrganization(requestParameters: RoleMembershipsApiGetRoleMembershipsApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiRoleMemberMappingListDTO>;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Use this method to retrieve all users and roles globally or for all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
@@ -90,12 +90,12 @@ export interface RoleMembershipsApiInterface {
|
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
* @memberof RoleMembershipsApiInterface
|
|
92
92
|
*/
|
|
93
|
-
getRoleMembershipsGlobalOrRepositoryContainerRaw(requestParameters:
|
|
93
|
+
getRoleMembershipsGlobalOrRepositoryContainerRaw(requestParameters: RoleMembershipsApiGetRoleMembershipsGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiRoleMemberMappingListDTO>>;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Use this method to retrieve all users and roles globally or for all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
97
97
|
*/
|
|
98
|
-
getRoleMembershipsGlobalOrRepositoryContainer(requestParameters:
|
|
98
|
+
getRoleMembershipsGlobalOrRepositoryContainer(requestParameters: RoleMembershipsApiGetRoleMembershipsGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiRoleMemberMappingListDTO>;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Use this method to grant a role to a user or user group for the specified application or organization. Permissions required: Edit access control
|
|
@@ -108,12 +108,12 @@ export interface RoleMembershipsApiInterface {
|
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
* @memberof RoleMembershipsApiInterface
|
|
110
110
|
*/
|
|
111
|
-
grantRoleMembershipApplicationOrOrganizationRaw(requestParameters:
|
|
111
|
+
grantRoleMembershipApplicationOrOrganizationRaw(requestParameters: RoleMembershipsApiGrantRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* Use this method to grant a role to a user or user group for the specified application or organization. Permissions required: Edit access control
|
|
115
115
|
*/
|
|
116
|
-
grantRoleMembershipApplicationOrOrganization(requestParameters:
|
|
116
|
+
grantRoleMembershipApplicationOrOrganization(requestParameters: RoleMembershipsApiGrantRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Use this method to grant a role to a user or user group globally or on all repositories. Permissions required: Edit system configuration and users for a global context or edit access control for a non-global context
|
|
@@ -125,12 +125,12 @@ export interface RoleMembershipsApiInterface {
|
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
* @memberof RoleMembershipsApiInterface
|
|
127
127
|
*/
|
|
128
|
-
grantRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters:
|
|
128
|
+
grantRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters: RoleMembershipsApiGrantRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* Use this method to grant a role to a user or user group globally or on all repositories. Permissions required: Edit system configuration and users for a global context or edit access control for a non-global context
|
|
132
132
|
*/
|
|
133
|
-
grantRoleMembershipGlobalOrRepositoryContainer(requestParameters:
|
|
133
|
+
grantRoleMembershipGlobalOrRepositoryContainer(requestParameters: RoleMembershipsApiGrantRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Use this method to revoke a role from a user or user group, on a specific application or organization. Permissions required: Edit access control
|
|
@@ -143,12 +143,12 @@ export interface RoleMembershipsApiInterface {
|
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
* @memberof RoleMembershipsApiInterface
|
|
145
145
|
*/
|
|
146
|
-
revokeRoleMembershipApplicationOrOrganizationRaw(requestParameters:
|
|
146
|
+
revokeRoleMembershipApplicationOrOrganizationRaw(requestParameters: RoleMembershipsApiRevokeRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Use this method to revoke a role from a user or user group, on a specific application or organization. Permissions required: Edit access control
|
|
150
150
|
*/
|
|
151
|
-
revokeRoleMembershipApplicationOrOrganization(requestParameters:
|
|
151
|
+
revokeRoleMembershipApplicationOrOrganization(requestParameters: RoleMembershipsApiRevokeRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* Use this method to revoke roles globally or on all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
@@ -160,12 +160,12 @@ export interface RoleMembershipsApiInterface {
|
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
* @memberof RoleMembershipsApiInterface
|
|
162
162
|
*/
|
|
163
|
-
revokeRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters:
|
|
163
|
+
revokeRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters: RoleMembershipsApiRevokeRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* Use this method to revoke roles globally or on all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
167
167
|
*/
|
|
168
|
-
revokeRoleMembershipGlobalOrRepositoryContainer(requestParameters:
|
|
168
|
+
revokeRoleMembershipGlobalOrRepositoryContainer(requestParameters: RoleMembershipsApiRevokeRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
169
169
|
|
|
170
170
|
}
|
|
171
171
|
|
|
@@ -177,7 +177,7 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
177
177
|
/**
|
|
178
178
|
* Use this method to retrieve the users, user groups and the corresponding role Ids. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
179
179
|
*/
|
|
180
|
-
async getRoleMembershipsApplicationOrOrganizationRaw(requestParameters:
|
|
180
|
+
async getRoleMembershipsApplicationOrOrganizationRaw(requestParameters: RoleMembershipsApiGetRoleMembershipsApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiRoleMemberMappingListDTO>> {
|
|
181
181
|
if (requestParameters['ownerType'] == null) {
|
|
182
182
|
throw new runtime.RequiredError(
|
|
183
183
|
'ownerType',
|
|
@@ -212,7 +212,7 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
212
212
|
/**
|
|
213
213
|
* Use this method to retrieve the users, user groups and the corresponding role Ids. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
214
214
|
*/
|
|
215
|
-
async getRoleMembershipsApplicationOrOrganization(requestParameters:
|
|
215
|
+
async getRoleMembershipsApplicationOrOrganization(requestParameters: RoleMembershipsApiGetRoleMembershipsApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiRoleMemberMappingListDTO> {
|
|
216
216
|
const response = await this.getRoleMembershipsApplicationOrOrganizationRaw(requestParameters, initOverrides);
|
|
217
217
|
return await response.value();
|
|
218
218
|
}
|
|
@@ -220,7 +220,7 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
220
220
|
/**
|
|
221
221
|
* Use this method to retrieve all users and roles globally or for all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
222
222
|
*/
|
|
223
|
-
async getRoleMembershipsGlobalOrRepositoryContainerRaw(requestParameters:
|
|
223
|
+
async getRoleMembershipsGlobalOrRepositoryContainerRaw(requestParameters: RoleMembershipsApiGetRoleMembershipsGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiRoleMemberMappingListDTO>> {
|
|
224
224
|
if (requestParameters['ownerType'] == null) {
|
|
225
225
|
throw new runtime.RequiredError(
|
|
226
226
|
'ownerType',
|
|
@@ -248,7 +248,7 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
248
248
|
/**
|
|
249
249
|
* Use this method to retrieve all users and roles globally or for all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
250
250
|
*/
|
|
251
|
-
async getRoleMembershipsGlobalOrRepositoryContainer(requestParameters:
|
|
251
|
+
async getRoleMembershipsGlobalOrRepositoryContainer(requestParameters: RoleMembershipsApiGetRoleMembershipsGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiRoleMemberMappingListDTO> {
|
|
252
252
|
const response = await this.getRoleMembershipsGlobalOrRepositoryContainerRaw(requestParameters, initOverrides);
|
|
253
253
|
return await response.value();
|
|
254
254
|
}
|
|
@@ -256,7 +256,7 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
256
256
|
/**
|
|
257
257
|
* Use this method to grant a role to a user or user group for the specified application or organization. Permissions required: Edit access control
|
|
258
258
|
*/
|
|
259
|
-
async grantRoleMembershipApplicationOrOrganizationRaw(requestParameters:
|
|
259
|
+
async grantRoleMembershipApplicationOrOrganizationRaw(requestParameters: RoleMembershipsApiGrantRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
260
260
|
if (requestParameters['ownerType'] == null) {
|
|
261
261
|
throw new runtime.RequiredError(
|
|
262
262
|
'ownerType',
|
|
@@ -312,14 +312,14 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
312
312
|
/**
|
|
313
313
|
* Use this method to grant a role to a user or user group for the specified application or organization. Permissions required: Edit access control
|
|
314
314
|
*/
|
|
315
|
-
async grantRoleMembershipApplicationOrOrganization(requestParameters:
|
|
315
|
+
async grantRoleMembershipApplicationOrOrganization(requestParameters: RoleMembershipsApiGrantRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
316
316
|
await this.grantRoleMembershipApplicationOrOrganizationRaw(requestParameters, initOverrides);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Use this method to grant a role to a user or user group globally or on all repositories. Permissions required: Edit system configuration and users for a global context or edit access control for a non-global context
|
|
321
321
|
*/
|
|
322
|
-
async grantRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters:
|
|
322
|
+
async grantRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters: RoleMembershipsApiGrantRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
323
323
|
if (requestParameters['ownerType'] == null) {
|
|
324
324
|
throw new runtime.RequiredError(
|
|
325
325
|
'ownerType',
|
|
@@ -368,14 +368,14 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
368
368
|
/**
|
|
369
369
|
* Use this method to grant a role to a user or user group globally or on all repositories. Permissions required: Edit system configuration and users for a global context or edit access control for a non-global context
|
|
370
370
|
*/
|
|
371
|
-
async grantRoleMembershipGlobalOrRepositoryContainer(requestParameters:
|
|
371
|
+
async grantRoleMembershipGlobalOrRepositoryContainer(requestParameters: RoleMembershipsApiGrantRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
372
372
|
await this.grantRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters, initOverrides);
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Use this method to revoke a role from a user or user group, on a specific application or organization. Permissions required: Edit access control
|
|
377
377
|
*/
|
|
378
|
-
async revokeRoleMembershipApplicationOrOrganizationRaw(requestParameters:
|
|
378
|
+
async revokeRoleMembershipApplicationOrOrganizationRaw(requestParameters: RoleMembershipsApiRevokeRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
379
379
|
if (requestParameters['ownerType'] == null) {
|
|
380
380
|
throw new runtime.RequiredError(
|
|
381
381
|
'ownerType',
|
|
@@ -431,14 +431,14 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
431
431
|
/**
|
|
432
432
|
* Use this method to revoke a role from a user or user group, on a specific application or organization. Permissions required: Edit access control
|
|
433
433
|
*/
|
|
434
|
-
async revokeRoleMembershipApplicationOrOrganization(requestParameters:
|
|
434
|
+
async revokeRoleMembershipApplicationOrOrganization(requestParameters: RoleMembershipsApiRevokeRoleMembershipApplicationOrOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
435
435
|
await this.revokeRoleMembershipApplicationOrOrganizationRaw(requestParameters, initOverrides);
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
/**
|
|
439
439
|
* Use this method to revoke roles globally or on all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
440
440
|
*/
|
|
441
|
-
async revokeRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters:
|
|
441
|
+
async revokeRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters: RoleMembershipsApiRevokeRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
442
442
|
if (requestParameters['ownerType'] == null) {
|
|
443
443
|
throw new runtime.RequiredError(
|
|
444
444
|
'ownerType',
|
|
@@ -487,7 +487,7 @@ export class RoleMembershipsApi extends runtime.BaseAPI implements RoleMembershi
|
|
|
487
487
|
/**
|
|
488
488
|
* Use this method to revoke roles globally or on all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
|
|
489
489
|
*/
|
|
490
|
-
async revokeRoleMembershipGlobalOrRepositoryContainer(requestParameters:
|
|
490
|
+
async revokeRoleMembershipGlobalOrRepositoryContainer(requestParameters: RoleMembershipsApiRevokeRoleMembershipGlobalOrRepositoryContainerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
491
491
|
await this.revokeRoleMembershipGlobalOrRepositoryContainerRaw(requestParameters, initOverrides);
|
|
492
492
|
}
|
|
493
493
|
|