@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
|
@@ -28,36 +28,36 @@ import {
|
|
|
28
28
|
ApplicableLabelsToJSON,
|
|
29
29
|
} from '../models/index';
|
|
30
30
|
|
|
31
|
-
export interface
|
|
31
|
+
export interface ComponentLabelsApiAddLabelRequest {
|
|
32
32
|
ownerType: AddLabelOwnerTypeEnum;
|
|
33
33
|
ownerId: string;
|
|
34
34
|
apiLabelDTO?: ApiLabelDTO;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export interface
|
|
37
|
+
export interface ComponentLabelsApiDeleteLabelRequest {
|
|
38
38
|
ownerType: DeleteLabelOwnerTypeEnum;
|
|
39
39
|
ownerId: string;
|
|
40
40
|
labelId: string;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export interface
|
|
43
|
+
export interface ComponentLabelsApiGetApplicableContextsRequest {
|
|
44
44
|
ownerType: GetApplicableContextsOwnerTypeEnum;
|
|
45
45
|
ownerId: string;
|
|
46
46
|
labelId: string;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export interface
|
|
49
|
+
export interface ComponentLabelsApiGetApplicableLabelsRequest {
|
|
50
50
|
ownerType: GetApplicableLabelsOwnerTypeEnum;
|
|
51
51
|
ownerId: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
export interface
|
|
54
|
+
export interface ComponentLabelsApiGetLabelsRequest {
|
|
55
55
|
ownerType: GetLabelsOwnerTypeEnum;
|
|
56
56
|
ownerId: string;
|
|
57
57
|
inherit?: boolean;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export interface
|
|
60
|
+
export interface ComponentLabelsApiUpdateLabelRequest {
|
|
61
61
|
ownerType: UpdateLabelOwnerTypeEnum;
|
|
62
62
|
ownerId: string;
|
|
63
63
|
apiLabelDTO?: ApiLabelDTO;
|
|
@@ -79,12 +79,12 @@ export interface ComponentLabelsApiInterface {
|
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
* @memberof ComponentLabelsApiInterface
|
|
81
81
|
*/
|
|
82
|
-
addLabelRaw(requestParameters:
|
|
82
|
+
addLabelRaw(requestParameters: ComponentLabelsApiAddLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiLabelDTO>>;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Use this method to create and assign a component label to an application, organization or repository. Permissions required: Edit IQ Elements
|
|
86
86
|
*/
|
|
87
|
-
addLabel(requestParameters:
|
|
87
|
+
addLabel(requestParameters: ComponentLabelsApiAddLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiLabelDTO>;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Use this method to delete an existing component label. Permissions required: Edit IQ Elements
|
|
@@ -95,12 +95,12 @@ export interface ComponentLabelsApiInterface {
|
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
* @memberof ComponentLabelsApiInterface
|
|
97
97
|
*/
|
|
98
|
-
deleteLabelRaw(requestParameters:
|
|
98
|
+
deleteLabelRaw(requestParameters: ComponentLabelsApiDeleteLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Use this method to delete an existing component label. Permissions required: Edit IQ Elements
|
|
102
102
|
*/
|
|
103
|
-
deleteLabel(requestParameters:
|
|
103
|
+
deleteLabel(requestParameters: ComponentLabelsApiDeleteLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* Use this method to retrieve the hierarchy of owners (applications, organizations, repositories) in which the label can be applied. Permissions required: Edit IQ Elements
|
|
@@ -111,12 +111,12 @@ export interface ComponentLabelsApiInterface {
|
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
* @memberof ComponentLabelsApiInterface
|
|
113
113
|
*/
|
|
114
|
-
getApplicableContextsRaw(requestParameters:
|
|
114
|
+
getApplicableContextsRaw(requestParameters: ComponentLabelsApiGetApplicableContextsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableContext>>;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* Use this method to retrieve the hierarchy of owners (applications, organizations, repositories) in which the label can be applied. Permissions required: Edit IQ Elements
|
|
118
118
|
*/
|
|
119
|
-
getApplicableContexts(requestParameters:
|
|
119
|
+
getApplicableContexts(requestParameters: ComponentLabelsApiGetApplicableContextsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableContext>;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Use this method to retrieve all component labels that are applicable to the specified application, organization or repository. Permissions required: View IQ Elements
|
|
@@ -126,12 +126,12 @@ export interface ComponentLabelsApiInterface {
|
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
* @memberof ComponentLabelsApiInterface
|
|
128
128
|
*/
|
|
129
|
-
getApplicableLabelsRaw(requestParameters:
|
|
129
|
+
getApplicableLabelsRaw(requestParameters: ComponentLabelsApiGetApplicableLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableLabels>>;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* Use this method to retrieve all component labels that are applicable to the specified application, organization or repository. Permissions required: View IQ Elements
|
|
133
133
|
*/
|
|
134
|
-
getApplicableLabels(requestParameters:
|
|
134
|
+
getApplicableLabels(requestParameters: ComponentLabelsApiGetApplicableLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableLabels>;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Use this method to retrieve the details for component labels for an application, organization or a repository. Permissions required: View IQ Elements
|
|
@@ -142,12 +142,12 @@ export interface ComponentLabelsApiInterface {
|
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
* @memberof ComponentLabelsApiInterface
|
|
144
144
|
*/
|
|
145
|
-
getLabelsRaw(requestParameters:
|
|
145
|
+
getLabelsRaw(requestParameters: ComponentLabelsApiGetLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiLabelDTO>>>;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Use this method to retrieve the details for component labels for an application, organization or a repository. Permissions required: View IQ Elements
|
|
149
149
|
*/
|
|
150
|
-
getLabels(requestParameters:
|
|
150
|
+
getLabels(requestParameters: ComponentLabelsApiGetLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiLabelDTO>>;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Use this method to update an existing component label for an application, organization or repository. Permissions required: Edit IQ Elements
|
|
@@ -158,12 +158,12 @@ export interface ComponentLabelsApiInterface {
|
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
* @memberof ComponentLabelsApiInterface
|
|
160
160
|
*/
|
|
161
|
-
updateLabelRaw(requestParameters:
|
|
161
|
+
updateLabelRaw(requestParameters: ComponentLabelsApiUpdateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiLabelDTO>>;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* Use this method to update an existing component label for an application, organization or repository. Permissions required: Edit IQ Elements
|
|
165
165
|
*/
|
|
166
|
-
updateLabel(requestParameters:
|
|
166
|
+
updateLabel(requestParameters: ComponentLabelsApiUpdateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiLabelDTO>;
|
|
167
167
|
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -175,7 +175,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
175
175
|
/**
|
|
176
176
|
* Use this method to create and assign a component label to an application, organization or repository. Permissions required: Edit IQ Elements
|
|
177
177
|
*/
|
|
178
|
-
async addLabelRaw(requestParameters:
|
|
178
|
+
async addLabelRaw(requestParameters: ComponentLabelsApiAddLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiLabelDTO>> {
|
|
179
179
|
if (requestParameters['ownerType'] == null) {
|
|
180
180
|
throw new runtime.RequiredError(
|
|
181
181
|
'ownerType',
|
|
@@ -213,7 +213,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
213
213
|
/**
|
|
214
214
|
* Use this method to create and assign a component label to an application, organization or repository. Permissions required: Edit IQ Elements
|
|
215
215
|
*/
|
|
216
|
-
async addLabel(requestParameters:
|
|
216
|
+
async addLabel(requestParameters: ComponentLabelsApiAddLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiLabelDTO> {
|
|
217
217
|
const response = await this.addLabelRaw(requestParameters, initOverrides);
|
|
218
218
|
return await response.value();
|
|
219
219
|
}
|
|
@@ -221,7 +221,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
221
221
|
/**
|
|
222
222
|
* Use this method to delete an existing component label. Permissions required: Edit IQ Elements
|
|
223
223
|
*/
|
|
224
|
-
async deleteLabelRaw(requestParameters:
|
|
224
|
+
async deleteLabelRaw(requestParameters: ComponentLabelsApiDeleteLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
225
225
|
if (requestParameters['ownerType'] == null) {
|
|
226
226
|
throw new runtime.RequiredError(
|
|
227
227
|
'ownerType',
|
|
@@ -263,14 +263,14 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
263
263
|
/**
|
|
264
264
|
* Use this method to delete an existing component label. Permissions required: Edit IQ Elements
|
|
265
265
|
*/
|
|
266
|
-
async deleteLabel(requestParameters:
|
|
266
|
+
async deleteLabel(requestParameters: ComponentLabelsApiDeleteLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
267
267
|
await this.deleteLabelRaw(requestParameters, initOverrides);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* Use this method to retrieve the hierarchy of owners (applications, organizations, repositories) in which the label can be applied. Permissions required: Edit IQ Elements
|
|
272
272
|
*/
|
|
273
|
-
async getApplicableContextsRaw(requestParameters:
|
|
273
|
+
async getApplicableContextsRaw(requestParameters: ComponentLabelsApiGetApplicableContextsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableContext>> {
|
|
274
274
|
if (requestParameters['ownerType'] == null) {
|
|
275
275
|
throw new runtime.RequiredError(
|
|
276
276
|
'ownerType',
|
|
@@ -312,7 +312,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
312
312
|
/**
|
|
313
313
|
* Use this method to retrieve the hierarchy of owners (applications, organizations, repositories) in which the label can be applied. Permissions required: Edit IQ Elements
|
|
314
314
|
*/
|
|
315
|
-
async getApplicableContexts(requestParameters:
|
|
315
|
+
async getApplicableContexts(requestParameters: ComponentLabelsApiGetApplicableContextsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableContext> {
|
|
316
316
|
const response = await this.getApplicableContextsRaw(requestParameters, initOverrides);
|
|
317
317
|
return await response.value();
|
|
318
318
|
}
|
|
@@ -320,7 +320,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
320
320
|
/**
|
|
321
321
|
* Use this method to retrieve all component labels that are applicable to the specified application, organization or repository. Permissions required: View IQ Elements
|
|
322
322
|
*/
|
|
323
|
-
async getApplicableLabelsRaw(requestParameters:
|
|
323
|
+
async getApplicableLabelsRaw(requestParameters: ComponentLabelsApiGetApplicableLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicableLabels>> {
|
|
324
324
|
if (requestParameters['ownerType'] == null) {
|
|
325
325
|
throw new runtime.RequiredError(
|
|
326
326
|
'ownerType',
|
|
@@ -355,7 +355,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
355
355
|
/**
|
|
356
356
|
* Use this method to retrieve all component labels that are applicable to the specified application, organization or repository. Permissions required: View IQ Elements
|
|
357
357
|
*/
|
|
358
|
-
async getApplicableLabels(requestParameters:
|
|
358
|
+
async getApplicableLabels(requestParameters: ComponentLabelsApiGetApplicableLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicableLabels> {
|
|
359
359
|
const response = await this.getApplicableLabelsRaw(requestParameters, initOverrides);
|
|
360
360
|
return await response.value();
|
|
361
361
|
}
|
|
@@ -363,7 +363,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
363
363
|
/**
|
|
364
364
|
* Use this method to retrieve the details for component labels for an application, organization or a repository. Permissions required: View IQ Elements
|
|
365
365
|
*/
|
|
366
|
-
async getLabelsRaw(requestParameters:
|
|
366
|
+
async getLabelsRaw(requestParameters: ComponentLabelsApiGetLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiLabelDTO>>> {
|
|
367
367
|
if (requestParameters['ownerType'] == null) {
|
|
368
368
|
throw new runtime.RequiredError(
|
|
369
369
|
'ownerType',
|
|
@@ -402,7 +402,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
402
402
|
/**
|
|
403
403
|
* Use this method to retrieve the details for component labels for an application, organization or a repository. Permissions required: View IQ Elements
|
|
404
404
|
*/
|
|
405
|
-
async getLabels(requestParameters:
|
|
405
|
+
async getLabels(requestParameters: ComponentLabelsApiGetLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiLabelDTO>> {
|
|
406
406
|
const response = await this.getLabelsRaw(requestParameters, initOverrides);
|
|
407
407
|
return await response.value();
|
|
408
408
|
}
|
|
@@ -410,7 +410,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
410
410
|
/**
|
|
411
411
|
* Use this method to update an existing component label for an application, organization or repository. Permissions required: Edit IQ Elements
|
|
412
412
|
*/
|
|
413
|
-
async updateLabelRaw(requestParameters:
|
|
413
|
+
async updateLabelRaw(requestParameters: ComponentLabelsApiUpdateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiLabelDTO>> {
|
|
414
414
|
if (requestParameters['ownerType'] == null) {
|
|
415
415
|
throw new runtime.RequiredError(
|
|
416
416
|
'ownerType',
|
|
@@ -448,7 +448,7 @@ export class ComponentLabelsApi extends runtime.BaseAPI implements ComponentLabe
|
|
|
448
448
|
/**
|
|
449
449
|
* Use this method to update an existing component label for an application, organization or repository. Permissions required: Edit IQ Elements
|
|
450
450
|
*/
|
|
451
|
-
async updateLabel(requestParameters:
|
|
451
|
+
async updateLabel(requestParameters: ComponentLabelsApiUpdateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiLabelDTO> {
|
|
452
452
|
const response = await this.updateLabelRaw(requestParameters, initOverrides);
|
|
453
453
|
return await response.value();
|
|
454
454
|
}
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
ComponentIdentifierToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
28
|
+
export interface ComponentSearchApiSearchComponentRequest {
|
|
29
29
|
stageId: string;
|
|
30
30
|
hash?: string;
|
|
31
31
|
componentIdentifier?: ComponentIdentifier;
|
|
@@ -49,12 +49,12 @@ export interface ComponentSearchApiInterface {
|
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
* @memberof ComponentSearchApiInterface
|
|
51
51
|
*/
|
|
52
|
-
searchComponentRaw(requestParameters:
|
|
52
|
+
searchComponentRaw(requestParameters: ComponentSearchApiSearchComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSearchResultsDTOV2>>;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Use this method to retrieve the component details from the application evaluation reports by specifying the component search parameters, format and evaluation stage. You can specify the component search parameters in any one of the 3 ways:<ul><li>SHA1 hash of the component</li><li>Component identifier object containing the coordinates of the component and its format</li><li>packageUrl string</li></ul>Use of wildcards when searching using the GAVEC(coordinates) is supported. Permissions required: View IQ Elements
|
|
56
56
|
*/
|
|
57
|
-
searchComponent(requestParameters:
|
|
57
|
+
searchComponent(requestParameters: ComponentSearchApiSearchComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSearchResultsDTOV2>;
|
|
58
58
|
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -66,7 +66,7 @@ export class ComponentSearchApi extends runtime.BaseAPI implements ComponentSear
|
|
|
66
66
|
/**
|
|
67
67
|
* Use this method to retrieve the component details from the application evaluation reports by specifying the component search parameters, format and evaluation stage. You can specify the component search parameters in any one of the 3 ways:<ul><li>SHA1 hash of the component</li><li>Component identifier object containing the coordinates of the component and its format</li><li>packageUrl string</li></ul>Use of wildcards when searching using the GAVEC(coordinates) is supported. Permissions required: View IQ Elements
|
|
68
68
|
*/
|
|
69
|
-
async searchComponentRaw(requestParameters:
|
|
69
|
+
async searchComponentRaw(requestParameters: ComponentSearchApiSearchComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSearchResultsDTOV2>> {
|
|
70
70
|
if (requestParameters['stageId'] == null) {
|
|
71
71
|
throw new runtime.RequiredError(
|
|
72
72
|
'stageId',
|
|
@@ -110,7 +110,7 @@ export class ComponentSearchApi extends runtime.BaseAPI implements ComponentSear
|
|
|
110
110
|
/**
|
|
111
111
|
* Use this method to retrieve the component details from the application evaluation reports by specifying the component search parameters, format and evaluation stage. You can specify the component search parameters in any one of the 3 ways:<ul><li>SHA1 hash of the component</li><li>Component identifier object containing the coordinates of the component and its format</li><li>packageUrl string</li></ul>Use of wildcards when searching using the GAVEC(coordinates) is supported. Permissions required: View IQ Elements
|
|
112
112
|
*/
|
|
113
|
-
async searchComponent(requestParameters:
|
|
113
|
+
async searchComponent(requestParameters: ComponentSearchApiSearchComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSearchResultsDTOV2> {
|
|
114
114
|
const response = await this.searchComponentRaw(requestParameters, initOverrides);
|
|
115
115
|
return await response.value();
|
|
116
116
|
}
|
|
@@ -34,22 +34,22 @@ import {
|
|
|
34
34
|
GetSuggestedRemediationForComponent200ResponseToJSON,
|
|
35
35
|
} from '../models/index';
|
|
36
36
|
|
|
37
|
-
export interface
|
|
37
|
+
export interface ComponentsApiDeleteComponentLabelRequest {
|
|
38
38
|
ownerType: DeleteComponentLabelOwnerTypeEnum;
|
|
39
39
|
internalOwnerId: string;
|
|
40
40
|
componentHash: string;
|
|
41
41
|
labelName: string;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export interface
|
|
44
|
+
export interface ComponentsApiGetComponentDetailsRequest {
|
|
45
45
|
apiComponentDetailsRequestDTOV2: ApiComponentDetailsRequestDTOV2;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export interface
|
|
48
|
+
export interface ComponentsApiGetComponentVersionsRequest {
|
|
49
49
|
apiComponentOrPurlIdentifierDTOV2?: ApiComponentOrPurlIdentifierDTOV2;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export interface
|
|
52
|
+
export interface ComponentsApiGetSuggestedRemediationForComponentRequest {
|
|
53
53
|
ownerType: GetSuggestedRemediationForComponentOwnerTypeEnum;
|
|
54
54
|
ownerId: string;
|
|
55
55
|
stageId?: string;
|
|
@@ -59,7 +59,7 @@ export interface GetSuggestedRemediationForComponentRequest {
|
|
|
59
59
|
apiComponentDTOV2?: ApiComponentDTOV2;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export interface
|
|
62
|
+
export interface ComponentsApiSetComponentLabelRequest {
|
|
63
63
|
ownerType: SetComponentLabelOwnerTypeEnum;
|
|
64
64
|
internalOwnerId: string;
|
|
65
65
|
componentHash: string;
|
|
@@ -83,12 +83,12 @@ export interface ComponentsApiInterface {
|
|
|
83
83
|
* @throws {RequiredError}
|
|
84
84
|
* @memberof ComponentsApiInterface
|
|
85
85
|
*/
|
|
86
|
-
deleteComponentLabelRaw(requestParameters:
|
|
86
|
+
deleteComponentLabelRaw(requestParameters: ComponentsApiDeleteComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Use this method to un-assign a label from a component.
|
|
90
90
|
*/
|
|
91
|
-
deleteComponentLabel(requestParameters:
|
|
91
|
+
deleteComponentLabel(requestParameters: ComponentsApiDeleteComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Use this method to retrieve data related to a component.
|
|
@@ -97,12 +97,12 @@ export interface ComponentsApiInterface {
|
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
* @memberof ComponentsApiInterface
|
|
99
99
|
*/
|
|
100
|
-
getComponentDetailsRaw(requestParameters:
|
|
100
|
+
getComponentDetailsRaw(requestParameters: ComponentsApiGetComponentDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentDetailsResultDTOV2>>;
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Use this method to retrieve data related to a component.
|
|
104
104
|
*/
|
|
105
|
-
getComponentDetails(requestParameters:
|
|
105
|
+
getComponentDetails(requestParameters: ComponentsApiGetComponentDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentDetailsResultDTOV2>;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* Use this method to retrieve all known versions of a component.
|
|
@@ -111,12 +111,12 @@ export interface ComponentsApiInterface {
|
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
* @memberof ComponentsApiInterface
|
|
113
113
|
*/
|
|
114
|
-
getComponentVersionsRaw(requestParameters:
|
|
114
|
+
getComponentVersionsRaw(requestParameters: ComponentsApiGetComponentVersionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* Use this method to retrieve all known versions of a component.
|
|
118
118
|
*/
|
|
119
|
-
getComponentVersions(requestParameters:
|
|
119
|
+
getComponentVersions(requestParameters: ComponentsApiGetComponentVersionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Use this method to obtain remediation suggestions for policy violations on a component basis. Remediations obtained from this method are same as those appearing on the Component Details Page in the UI.
|
|
@@ -131,12 +131,12 @@ export interface ComponentsApiInterface {
|
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
* @memberof ComponentsApiInterface
|
|
133
133
|
*/
|
|
134
|
-
getSuggestedRemediationForComponentRaw(requestParameters:
|
|
134
|
+
getSuggestedRemediationForComponentRaw(requestParameters: ComponentsApiGetSuggestedRemediationForComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSuggestedRemediationForComponent200Response>>;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Use this method to obtain remediation suggestions for policy violations on a component basis. Remediations obtained from this method are same as those appearing on the Component Details Page in the UI.
|
|
138
138
|
*/
|
|
139
|
-
getSuggestedRemediationForComponent(requestParameters:
|
|
139
|
+
getSuggestedRemediationForComponent(requestParameters: ComponentsApiGetSuggestedRemediationForComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSuggestedRemediationForComponent200Response>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Use this method to assign an existing label to a component.
|
|
@@ -148,12 +148,12 @@ export interface ComponentsApiInterface {
|
|
|
148
148
|
* @throws {RequiredError}
|
|
149
149
|
* @memberof ComponentsApiInterface
|
|
150
150
|
*/
|
|
151
|
-
setComponentLabelRaw(requestParameters:
|
|
151
|
+
setComponentLabelRaw(requestParameters: ComponentsApiSetComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* Use this method to assign an existing label to a component.
|
|
155
155
|
*/
|
|
156
|
-
setComponentLabel(requestParameters:
|
|
156
|
+
setComponentLabel(requestParameters: ComponentsApiSetComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
157
157
|
|
|
158
158
|
}
|
|
159
159
|
|
|
@@ -165,7 +165,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
165
165
|
/**
|
|
166
166
|
* Use this method to un-assign a label from a component.
|
|
167
167
|
*/
|
|
168
|
-
async deleteComponentLabelRaw(requestParameters:
|
|
168
|
+
async deleteComponentLabelRaw(requestParameters: ComponentsApiDeleteComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
169
169
|
if (requestParameters['ownerType'] == null) {
|
|
170
170
|
throw new runtime.RequiredError(
|
|
171
171
|
'ownerType',
|
|
@@ -214,14 +214,14 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
214
214
|
/**
|
|
215
215
|
* Use this method to un-assign a label from a component.
|
|
216
216
|
*/
|
|
217
|
-
async deleteComponentLabel(requestParameters:
|
|
217
|
+
async deleteComponentLabel(requestParameters: ComponentsApiDeleteComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
218
218
|
await this.deleteComponentLabelRaw(requestParameters, initOverrides);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Use this method to retrieve data related to a component.
|
|
223
223
|
*/
|
|
224
|
-
async getComponentDetailsRaw(requestParameters:
|
|
224
|
+
async getComponentDetailsRaw(requestParameters: ComponentsApiGetComponentDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiComponentDetailsResultDTOV2>> {
|
|
225
225
|
if (requestParameters['apiComponentDetailsRequestDTOV2'] == null) {
|
|
226
226
|
throw new runtime.RequiredError(
|
|
227
227
|
'apiComponentDetailsRequestDTOV2',
|
|
@@ -252,7 +252,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
252
252
|
/**
|
|
253
253
|
* Use this method to retrieve data related to a component.
|
|
254
254
|
*/
|
|
255
|
-
async getComponentDetails(requestParameters:
|
|
255
|
+
async getComponentDetails(requestParameters: ComponentsApiGetComponentDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiComponentDetailsResultDTOV2> {
|
|
256
256
|
const response = await this.getComponentDetailsRaw(requestParameters, initOverrides);
|
|
257
257
|
return await response.value();
|
|
258
258
|
}
|
|
@@ -260,7 +260,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
260
260
|
/**
|
|
261
261
|
* Use this method to retrieve all known versions of a component.
|
|
262
262
|
*/
|
|
263
|
-
async getComponentVersionsRaw(requestParameters:
|
|
263
|
+
async getComponentVersionsRaw(requestParameters: ComponentsApiGetComponentVersionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>> {
|
|
264
264
|
const queryParameters: any = {};
|
|
265
265
|
|
|
266
266
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -284,7 +284,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
284
284
|
/**
|
|
285
285
|
* Use this method to retrieve all known versions of a component.
|
|
286
286
|
*/
|
|
287
|
-
async getComponentVersions(requestParameters:
|
|
287
|
+
async getComponentVersions(requestParameters: ComponentsApiGetComponentVersionsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>> {
|
|
288
288
|
const response = await this.getComponentVersionsRaw(requestParameters, initOverrides);
|
|
289
289
|
return await response.value();
|
|
290
290
|
}
|
|
@@ -292,7 +292,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
292
292
|
/**
|
|
293
293
|
* Use this method to obtain remediation suggestions for policy violations on a component basis. Remediations obtained from this method are same as those appearing on the Component Details Page in the UI.
|
|
294
294
|
*/
|
|
295
|
-
async getSuggestedRemediationForComponentRaw(requestParameters:
|
|
295
|
+
async getSuggestedRemediationForComponentRaw(requestParameters: ComponentsApiGetSuggestedRemediationForComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSuggestedRemediationForComponent200Response>> {
|
|
296
296
|
if (requestParameters['ownerType'] == null) {
|
|
297
297
|
throw new runtime.RequiredError(
|
|
298
298
|
'ownerType',
|
|
@@ -346,7 +346,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
346
346
|
/**
|
|
347
347
|
* Use this method to obtain remediation suggestions for policy violations on a component basis. Remediations obtained from this method are same as those appearing on the Component Details Page in the UI.
|
|
348
348
|
*/
|
|
349
|
-
async getSuggestedRemediationForComponent(requestParameters:
|
|
349
|
+
async getSuggestedRemediationForComponent(requestParameters: ComponentsApiGetSuggestedRemediationForComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSuggestedRemediationForComponent200Response> {
|
|
350
350
|
const response = await this.getSuggestedRemediationForComponentRaw(requestParameters, initOverrides);
|
|
351
351
|
return await response.value();
|
|
352
352
|
}
|
|
@@ -354,7 +354,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
354
354
|
/**
|
|
355
355
|
* Use this method to assign an existing label to a component.
|
|
356
356
|
*/
|
|
357
|
-
async setComponentLabelRaw(requestParameters:
|
|
357
|
+
async setComponentLabelRaw(requestParameters: ComponentsApiSetComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
358
358
|
if (requestParameters['ownerType'] == null) {
|
|
359
359
|
throw new runtime.RequiredError(
|
|
360
360
|
'ownerType',
|
|
@@ -403,7 +403,7 @@ export class ComponentsApi extends runtime.BaseAPI implements ComponentsApiInter
|
|
|
403
403
|
/**
|
|
404
404
|
* Use this method to assign an existing label to a component.
|
|
405
405
|
*/
|
|
406
|
-
async setComponentLabel(requestParameters:
|
|
406
|
+
async setComponentLabel(requestParameters: ComponentsApiSetComponentLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
407
407
|
await this.setComponentLabelRaw(requestParameters, initOverrides);
|
|
408
408
|
}
|
|
409
409
|
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ApiCompositeSourceControlDTOToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
|
-
export interface
|
|
25
|
+
export interface CompositeSourceControlApiGetCompositeSourceControlByOwnerRequest {
|
|
26
26
|
ownerType: GetCompositeSourceControlByOwnerOwnerTypeEnum;
|
|
27
27
|
internalOwnerId: string;
|
|
28
28
|
}
|
|
@@ -42,12 +42,12 @@ export interface CompositeSourceControlApiInterface {
|
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
* @memberof CompositeSourceControlApiInterface
|
|
44
44
|
*/
|
|
45
|
-
getCompositeSourceControlByOwnerRaw(requestParameters:
|
|
45
|
+
getCompositeSourceControlByOwnerRaw(requestParameters: CompositeSourceControlApiGetCompositeSourceControlByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCompositeSourceControlDTO>>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Use this method to retrieve the composite source control management (SCM) configuration settings. Permissions required: View IQ Elements
|
|
49
49
|
*/
|
|
50
|
-
getCompositeSourceControlByOwner(requestParameters:
|
|
50
|
+
getCompositeSourceControlByOwner(requestParameters: CompositeSourceControlApiGetCompositeSourceControlByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCompositeSourceControlDTO>;
|
|
51
51
|
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -59,7 +59,7 @@ export class CompositeSourceControlApi extends runtime.BaseAPI implements Compos
|
|
|
59
59
|
/**
|
|
60
60
|
* Use this method to retrieve the composite source control management (SCM) configuration settings. Permissions required: View IQ Elements
|
|
61
61
|
*/
|
|
62
|
-
async getCompositeSourceControlByOwnerRaw(requestParameters:
|
|
62
|
+
async getCompositeSourceControlByOwnerRaw(requestParameters: CompositeSourceControlApiGetCompositeSourceControlByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCompositeSourceControlDTO>> {
|
|
63
63
|
if (requestParameters['ownerType'] == null) {
|
|
64
64
|
throw new runtime.RequiredError(
|
|
65
65
|
'ownerType',
|
|
@@ -94,7 +94,7 @@ export class CompositeSourceControlApi extends runtime.BaseAPI implements Compos
|
|
|
94
94
|
/**
|
|
95
95
|
* Use this method to retrieve the composite source control management (SCM) configuration settings. Permissions required: View IQ Elements
|
|
96
96
|
*/
|
|
97
|
-
async getCompositeSourceControlByOwner(requestParameters:
|
|
97
|
+
async getCompositeSourceControlByOwner(requestParameters: CompositeSourceControlApiGetCompositeSourceControlByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCompositeSourceControlDTO> {
|
|
98
98
|
const response = await this.getCompositeSourceControlByOwnerRaw(requestParameters, initOverrides);
|
|
99
99
|
return await response.value();
|
|
100
100
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ConfigurationValidationResultToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
|
-
export interface
|
|
25
|
+
export interface CompositeSourceControlValidatorApiValidateSourceControlConfigRequest {
|
|
26
26
|
applicationId: string;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -40,12 +40,12 @@ export interface CompositeSourceControlValidatorApiInterface {
|
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
* @memberof CompositeSourceControlValidatorApiInterface
|
|
42
42
|
*/
|
|
43
|
-
validateSourceControlConfigRaw(requestParameters:
|
|
43
|
+
validateSourceControlConfigRaw(requestParameters: CompositeSourceControlValidatorApiValidateSourceControlConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConfigurationValidationResult>>;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Use this method to validate the composite source control configuration. Permissions required: View IQ Elements
|
|
47
47
|
*/
|
|
48
|
-
validateSourceControlConfig(requestParameters:
|
|
48
|
+
validateSourceControlConfig(requestParameters: CompositeSourceControlValidatorApiValidateSourceControlConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConfigurationValidationResult>;
|
|
49
49
|
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -57,7 +57,7 @@ export class CompositeSourceControlValidatorApi extends runtime.BaseAPI implemen
|
|
|
57
57
|
/**
|
|
58
58
|
* Use this method to validate the composite source control configuration. Permissions required: View IQ Elements
|
|
59
59
|
*/
|
|
60
|
-
async validateSourceControlConfigRaw(requestParameters:
|
|
60
|
+
async validateSourceControlConfigRaw(requestParameters: CompositeSourceControlValidatorApiValidateSourceControlConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConfigurationValidationResult>> {
|
|
61
61
|
if (requestParameters['applicationId'] == null) {
|
|
62
62
|
throw new runtime.RequiredError(
|
|
63
63
|
'applicationId',
|
|
@@ -85,7 +85,7 @@ export class CompositeSourceControlValidatorApi extends runtime.BaseAPI implemen
|
|
|
85
85
|
/**
|
|
86
86
|
* Use this method to validate the composite source control configuration. Permissions required: View IQ Elements
|
|
87
87
|
*/
|
|
88
|
-
async validateSourceControlConfig(requestParameters:
|
|
88
|
+
async validateSourceControlConfig(requestParameters: CompositeSourceControlValidatorApiValidateSourceControlConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConfigurationValidationResult> {
|
|
89
89
|
const response = await this.validateSourceControlConfigRaw(requestParameters, initOverrides);
|
|
90
90
|
return await response.value();
|
|
91
91
|
}
|