@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
|
@@ -31,42 +31,42 @@ import {
|
|
|
31
31
|
SCMUserMatchingResultDTOToJSON,
|
|
32
32
|
} from '../models/index';
|
|
33
33
|
|
|
34
|
-
export interface
|
|
34
|
+
export interface SourceControlApiAddSourceControlRequest {
|
|
35
35
|
ownerType: AddSourceControlOwnerTypeEnum;
|
|
36
36
|
internalOwnerId: string;
|
|
37
37
|
apiSourceControlDTO?: ApiSourceControlDTO;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export interface
|
|
40
|
+
export interface SourceControlApiAddUserMappingsRequest {
|
|
41
41
|
organizationId: string;
|
|
42
42
|
sCMUserMappingsDTO?: SCMUserMappingsDTO;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export interface
|
|
45
|
+
export interface SourceControlApiAutomaticRoleAssignmentRequest {
|
|
46
46
|
publicId: string;
|
|
47
47
|
sCMUserMappingsDTO?: SCMUserMappingsDTO;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export interface
|
|
50
|
+
export interface SourceControlApiDeleteSourceControlRequest {
|
|
51
51
|
ownerType: DeleteSourceControlOwnerTypeEnum;
|
|
52
52
|
internalOwnerId: string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export interface
|
|
55
|
+
export interface SourceControlApiDeleteUserMappingsRequest {
|
|
56
56
|
organizationId: string;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export interface
|
|
59
|
+
export interface SourceControlApiGetSourceControl1Request {
|
|
60
60
|
ownerType: GetSourceControl1OwnerTypeEnum;
|
|
61
61
|
internalOwnerId: string;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export interface
|
|
64
|
+
export interface SourceControlApiGetUserMappingsByOwnerRequest {
|
|
65
65
|
ownerType: GetUserMappingsByOwnerOwnerTypeEnum;
|
|
66
66
|
internalOwnerId: string;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export interface
|
|
69
|
+
export interface SourceControlApiUpdateSourceControlRequest {
|
|
70
70
|
ownerType: UpdateSourceControlOwnerTypeEnum;
|
|
71
71
|
internalOwnerId: string;
|
|
72
72
|
apiSourceControlDTO?: ApiSourceControlDTO;
|
|
@@ -88,12 +88,12 @@ export interface SourceControlApiInterface {
|
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
* @memberof SourceControlApiInterface
|
|
90
90
|
*/
|
|
91
|
-
addSourceControlRaw(requestParameters:
|
|
91
|
+
addSourceControlRaw(requestParameters: SourceControlApiAddSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSourceControlDTO>>;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Use this method to create a source control configuration setting. Permissions required: Edit IQ Elements
|
|
95
95
|
*/
|
|
96
|
-
addSourceControl(requestParameters:
|
|
96
|
+
addSourceControl(requestParameters: SourceControlApiAddSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSourceControlDTO>;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* Use this method to apply user mappings from SCM (GitHub) to Lifecycle. The user mappings will be inherited by all child organizations and applications in the organization hierarchy. If a user mapping for an organization already exists, it will be replaced with new mappings provided here. Permissions required: Edit IQ Elements
|
|
@@ -103,12 +103,12 @@ export interface SourceControlApiInterface {
|
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
* @memberof SourceControlApiInterface
|
|
105
105
|
*/
|
|
106
|
-
addUserMappingsRaw(requestParameters:
|
|
106
|
+
addUserMappingsRaw(requestParameters: SourceControlApiAddUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Use this method to apply user mappings from SCM (GitHub) to Lifecycle. The user mappings will be inherited by all child organizations and applications in the organization hierarchy. If a user mapping for an organization already exists, it will be replaced with new mappings provided here. Permissions required: Edit IQ Elements
|
|
110
110
|
*/
|
|
111
|
-
addUserMappings(requestParameters:
|
|
111
|
+
addUserMappings(requestParameters: SourceControlApiAddUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* Use this method to automatically grant the supplied role to all contributors of a repository on a given application. Prerequisites for automatic role assignment are:<ol><li>SCM configuration for the application and authentication token should exist.</li><li>The contributors to the repository should match a user in IQ based on the supplied mappings.</li><li>Either user mapping strategies have been configured for your organization, or they are provided in the request</li></ol> Permissions required: Edit access control on the application.
|
|
@@ -118,12 +118,12 @@ export interface SourceControlApiInterface {
|
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
* @memberof SourceControlApiInterface
|
|
120
120
|
*/
|
|
121
|
-
automaticRoleAssignmentRaw(requestParameters:
|
|
121
|
+
automaticRoleAssignmentRaw(requestParameters: SourceControlApiAutomaticRoleAssignmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCMUserMatchingResultDTO>>;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* Use this method to automatically grant the supplied role to all contributors of a repository on a given application. Prerequisites for automatic role assignment are:<ol><li>SCM configuration for the application and authentication token should exist.</li><li>The contributors to the repository should match a user in IQ based on the supplied mappings.</li><li>Either user mapping strategies have been configured for your organization, or they are provided in the request</li></ol> Permissions required: Edit access control on the application.
|
|
125
125
|
*/
|
|
126
|
-
automaticRoleAssignment(requestParameters:
|
|
126
|
+
automaticRoleAssignment(requestParameters: SourceControlApiAutomaticRoleAssignmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCMUserMatchingResultDTO>;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Use this method to delete a SCM setting for the specified ownerType/ownerId. Permissions required: Edit IQ Elements
|
|
@@ -133,12 +133,12 @@ export interface SourceControlApiInterface {
|
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
* @memberof SourceControlApiInterface
|
|
135
135
|
*/
|
|
136
|
-
deleteSourceControlRaw(requestParameters:
|
|
136
|
+
deleteSourceControlRaw(requestParameters: SourceControlApiDeleteSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Use this method to delete a SCM setting for the specified ownerType/ownerId. Permissions required: Edit IQ Elements
|
|
140
140
|
*/
|
|
141
|
-
deleteSourceControl(requestParameters:
|
|
141
|
+
deleteSourceControl(requestParameters: SourceControlApiDeleteSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Use this method to delete existing SCM user mappings for an organization. Permissions required: Edit IQ Elements
|
|
@@ -147,12 +147,12 @@ export interface SourceControlApiInterface {
|
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
* @memberof SourceControlApiInterface
|
|
149
149
|
*/
|
|
150
|
-
deleteUserMappingsRaw(requestParameters:
|
|
150
|
+
deleteUserMappingsRaw(requestParameters: SourceControlApiDeleteUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Use this method to delete existing SCM user mappings for an organization. Permissions required: Edit IQ Elements
|
|
154
154
|
*/
|
|
155
|
-
deleteUserMappings(requestParameters:
|
|
155
|
+
deleteUserMappings(requestParameters: SourceControlApiDeleteUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Use this method to retrieve the source control configuration settings for an organization or an application. Permissions required: View IQ Elements
|
|
@@ -162,12 +162,12 @@ export interface SourceControlApiInterface {
|
|
|
162
162
|
* @throws {RequiredError}
|
|
163
163
|
* @memberof SourceControlApiInterface
|
|
164
164
|
*/
|
|
165
|
-
getSourceControl1Raw(requestParameters:
|
|
165
|
+
getSourceControl1Raw(requestParameters: SourceControlApiGetSourceControl1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSourceControlDTO>>;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Use this method to retrieve the source control configuration settings for an organization or an application. Permissions required: View IQ Elements
|
|
169
169
|
*/
|
|
170
|
-
getSourceControl1(requestParameters:
|
|
170
|
+
getSourceControl1(requestParameters: SourceControlApiGetSourceControl1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSourceControlDTO>;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Use this method to retrieve SCM user mappings for an organization or application. Permissions required: View IQ Elements
|
|
@@ -177,12 +177,12 @@ export interface SourceControlApiInterface {
|
|
|
177
177
|
* @throws {RequiredError}
|
|
178
178
|
* @memberof SourceControlApiInterface
|
|
179
179
|
*/
|
|
180
|
-
getUserMappingsByOwnerRaw(requestParameters:
|
|
180
|
+
getUserMappingsByOwnerRaw(requestParameters: SourceControlApiGetUserMappingsByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCMUserMappingsResponseDTO>>;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* Use this method to retrieve SCM user mappings for an organization or application. Permissions required: View IQ Elements
|
|
184
184
|
*/
|
|
185
|
-
getUserMappingsByOwner(requestParameters:
|
|
185
|
+
getUserMappingsByOwner(requestParameters: SourceControlApiGetUserMappingsByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCMUserMappingsResponseDTO>;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Use this method to update an existing SCM setting. Permissions required: Edit IQ Elements
|
|
@@ -193,12 +193,12 @@ export interface SourceControlApiInterface {
|
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
* @memberof SourceControlApiInterface
|
|
195
195
|
*/
|
|
196
|
-
updateSourceControlRaw(requestParameters:
|
|
196
|
+
updateSourceControlRaw(requestParameters: SourceControlApiUpdateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSourceControlDTO>>;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* Use this method to update an existing SCM setting. Permissions required: Edit IQ Elements
|
|
200
200
|
*/
|
|
201
|
-
updateSourceControl(requestParameters:
|
|
201
|
+
updateSourceControl(requestParameters: SourceControlApiUpdateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSourceControlDTO>;
|
|
202
202
|
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -210,7 +210,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
210
210
|
/**
|
|
211
211
|
* Use this method to create a source control configuration setting. Permissions required: Edit IQ Elements
|
|
212
212
|
*/
|
|
213
|
-
async addSourceControlRaw(requestParameters:
|
|
213
|
+
async addSourceControlRaw(requestParameters: SourceControlApiAddSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSourceControlDTO>> {
|
|
214
214
|
if (requestParameters['ownerType'] == null) {
|
|
215
215
|
throw new runtime.RequiredError(
|
|
216
216
|
'ownerType',
|
|
@@ -248,7 +248,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
248
248
|
/**
|
|
249
249
|
* Use this method to create a source control configuration setting. Permissions required: Edit IQ Elements
|
|
250
250
|
*/
|
|
251
|
-
async addSourceControl(requestParameters:
|
|
251
|
+
async addSourceControl(requestParameters: SourceControlApiAddSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSourceControlDTO> {
|
|
252
252
|
const response = await this.addSourceControlRaw(requestParameters, initOverrides);
|
|
253
253
|
return await response.value();
|
|
254
254
|
}
|
|
@@ -256,7 +256,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
256
256
|
/**
|
|
257
257
|
* Use this method to apply user mappings from SCM (GitHub) to Lifecycle. The user mappings will be inherited by all child organizations and applications in the organization hierarchy. If a user mapping for an organization already exists, it will be replaced with new mappings provided here. Permissions required: Edit IQ Elements
|
|
258
258
|
*/
|
|
259
|
-
async addUserMappingsRaw(requestParameters:
|
|
259
|
+
async addUserMappingsRaw(requestParameters: SourceControlApiAddUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
260
260
|
if (requestParameters['organizationId'] == null) {
|
|
261
261
|
throw new runtime.RequiredError(
|
|
262
262
|
'organizationId',
|
|
@@ -287,14 +287,14 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
287
287
|
/**
|
|
288
288
|
* Use this method to apply user mappings from SCM (GitHub) to Lifecycle. The user mappings will be inherited by all child organizations and applications in the organization hierarchy. If a user mapping for an organization already exists, it will be replaced with new mappings provided here. Permissions required: Edit IQ Elements
|
|
289
289
|
*/
|
|
290
|
-
async addUserMappings(requestParameters:
|
|
290
|
+
async addUserMappings(requestParameters: SourceControlApiAddUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
291
291
|
await this.addUserMappingsRaw(requestParameters, initOverrides);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* Use this method to automatically grant the supplied role to all contributors of a repository on a given application. Prerequisites for automatic role assignment are:<ol><li>SCM configuration for the application and authentication token should exist.</li><li>The contributors to the repository should match a user in IQ based on the supplied mappings.</li><li>Either user mapping strategies have been configured for your organization, or they are provided in the request</li></ol> Permissions required: Edit access control on the application.
|
|
296
296
|
*/
|
|
297
|
-
async automaticRoleAssignmentRaw(requestParameters:
|
|
297
|
+
async automaticRoleAssignmentRaw(requestParameters: SourceControlApiAutomaticRoleAssignmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCMUserMatchingResultDTO>> {
|
|
298
298
|
if (requestParameters['publicId'] == null) {
|
|
299
299
|
throw new runtime.RequiredError(
|
|
300
300
|
'publicId',
|
|
@@ -325,7 +325,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
325
325
|
/**
|
|
326
326
|
* Use this method to automatically grant the supplied role to all contributors of a repository on a given application. Prerequisites for automatic role assignment are:<ol><li>SCM configuration for the application and authentication token should exist.</li><li>The contributors to the repository should match a user in IQ based on the supplied mappings.</li><li>Either user mapping strategies have been configured for your organization, or they are provided in the request</li></ol> Permissions required: Edit access control on the application.
|
|
327
327
|
*/
|
|
328
|
-
async automaticRoleAssignment(requestParameters:
|
|
328
|
+
async automaticRoleAssignment(requestParameters: SourceControlApiAutomaticRoleAssignmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCMUserMatchingResultDTO> {
|
|
329
329
|
const response = await this.automaticRoleAssignmentRaw(requestParameters, initOverrides);
|
|
330
330
|
return await response.value();
|
|
331
331
|
}
|
|
@@ -333,7 +333,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
333
333
|
/**
|
|
334
334
|
* Use this method to delete a SCM setting for the specified ownerType/ownerId. Permissions required: Edit IQ Elements
|
|
335
335
|
*/
|
|
336
|
-
async deleteSourceControlRaw(requestParameters:
|
|
336
|
+
async deleteSourceControlRaw(requestParameters: SourceControlApiDeleteSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
337
337
|
if (requestParameters['ownerType'] == null) {
|
|
338
338
|
throw new runtime.RequiredError(
|
|
339
339
|
'ownerType',
|
|
@@ -368,14 +368,14 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
368
368
|
/**
|
|
369
369
|
* Use this method to delete a SCM setting for the specified ownerType/ownerId. Permissions required: Edit IQ Elements
|
|
370
370
|
*/
|
|
371
|
-
async deleteSourceControl(requestParameters:
|
|
371
|
+
async deleteSourceControl(requestParameters: SourceControlApiDeleteSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
372
372
|
await this.deleteSourceControlRaw(requestParameters, initOverrides);
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Use this method to delete existing SCM user mappings for an organization. Permissions required: Edit IQ Elements
|
|
377
377
|
*/
|
|
378
|
-
async deleteUserMappingsRaw(requestParameters:
|
|
378
|
+
async deleteUserMappingsRaw(requestParameters: SourceControlApiDeleteUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
379
379
|
if (requestParameters['organizationId'] == null) {
|
|
380
380
|
throw new runtime.RequiredError(
|
|
381
381
|
'organizationId',
|
|
@@ -403,14 +403,14 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
403
403
|
/**
|
|
404
404
|
* Use this method to delete existing SCM user mappings for an organization. Permissions required: Edit IQ Elements
|
|
405
405
|
*/
|
|
406
|
-
async deleteUserMappings(requestParameters:
|
|
406
|
+
async deleteUserMappings(requestParameters: SourceControlApiDeleteUserMappingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
407
407
|
await this.deleteUserMappingsRaw(requestParameters, initOverrides);
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* Use this method to retrieve the source control configuration settings for an organization or an application. Permissions required: View IQ Elements
|
|
412
412
|
*/
|
|
413
|
-
async getSourceControl1Raw(requestParameters:
|
|
413
|
+
async getSourceControl1Raw(requestParameters: SourceControlApiGetSourceControl1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSourceControlDTO>> {
|
|
414
414
|
if (requestParameters['ownerType'] == null) {
|
|
415
415
|
throw new runtime.RequiredError(
|
|
416
416
|
'ownerType',
|
|
@@ -445,7 +445,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
445
445
|
/**
|
|
446
446
|
* Use this method to retrieve the source control configuration settings for an organization or an application. Permissions required: View IQ Elements
|
|
447
447
|
*/
|
|
448
|
-
async getSourceControl1(requestParameters:
|
|
448
|
+
async getSourceControl1(requestParameters: SourceControlApiGetSourceControl1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSourceControlDTO> {
|
|
449
449
|
const response = await this.getSourceControl1Raw(requestParameters, initOverrides);
|
|
450
450
|
return await response.value();
|
|
451
451
|
}
|
|
@@ -453,7 +453,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
453
453
|
/**
|
|
454
454
|
* Use this method to retrieve SCM user mappings for an organization or application. Permissions required: View IQ Elements
|
|
455
455
|
*/
|
|
456
|
-
async getUserMappingsByOwnerRaw(requestParameters:
|
|
456
|
+
async getUserMappingsByOwnerRaw(requestParameters: SourceControlApiGetUserMappingsByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCMUserMappingsResponseDTO>> {
|
|
457
457
|
if (requestParameters['ownerType'] == null) {
|
|
458
458
|
throw new runtime.RequiredError(
|
|
459
459
|
'ownerType',
|
|
@@ -488,7 +488,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
488
488
|
/**
|
|
489
489
|
* Use this method to retrieve SCM user mappings for an organization or application. Permissions required: View IQ Elements
|
|
490
490
|
*/
|
|
491
|
-
async getUserMappingsByOwner(requestParameters:
|
|
491
|
+
async getUserMappingsByOwner(requestParameters: SourceControlApiGetUserMappingsByOwnerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCMUserMappingsResponseDTO> {
|
|
492
492
|
const response = await this.getUserMappingsByOwnerRaw(requestParameters, initOverrides);
|
|
493
493
|
return await response.value();
|
|
494
494
|
}
|
|
@@ -496,7 +496,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
496
496
|
/**
|
|
497
497
|
* Use this method to update an existing SCM setting. Permissions required: Edit IQ Elements
|
|
498
498
|
*/
|
|
499
|
-
async updateSourceControlRaw(requestParameters:
|
|
499
|
+
async updateSourceControlRaw(requestParameters: SourceControlApiUpdateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSourceControlDTO>> {
|
|
500
500
|
if (requestParameters['ownerType'] == null) {
|
|
501
501
|
throw new runtime.RequiredError(
|
|
502
502
|
'ownerType',
|
|
@@ -534,7 +534,7 @@ export class SourceControlApi extends runtime.BaseAPI implements SourceControlAp
|
|
|
534
534
|
/**
|
|
535
535
|
* Use this method to update an existing SCM setting. Permissions required: Edit IQ Elements
|
|
536
536
|
*/
|
|
537
|
-
async updateSourceControl(requestParameters:
|
|
537
|
+
async updateSourceControl(requestParameters: SourceControlApiUpdateSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSourceControlDTO> {
|
|
538
538
|
const response = await this.updateSourceControlRaw(requestParameters, initOverrides);
|
|
539
539
|
return await response.value();
|
|
540
540
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ApiPullRequestResultsToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
|
-
export interface
|
|
25
|
+
export interface SourceControlMetricsApiGetSourceControlRequest {
|
|
26
26
|
ownerType: GetSourceControlOwnerTypeEnum;
|
|
27
27
|
internalOwnerId: string;
|
|
28
28
|
}
|
|
@@ -42,12 +42,12 @@ export interface SourceControlMetricsApiInterface {
|
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
* @memberof SourceControlMetricsApiInterface
|
|
44
44
|
*/
|
|
45
|
-
getSourceControlRaw(requestParameters:
|
|
45
|
+
getSourceControlRaw(requestParameters: SourceControlMetricsApiGetSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPullRequestResults>>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Use this method to view the source control pull request metrics. Permissions required: View IQ Elements
|
|
49
49
|
*/
|
|
50
|
-
getSourceControl(requestParameters:
|
|
50
|
+
getSourceControl(requestParameters: SourceControlMetricsApiGetSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPullRequestResults>;
|
|
51
51
|
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -59,7 +59,7 @@ export class SourceControlMetricsApi extends runtime.BaseAPI implements SourceCo
|
|
|
59
59
|
/**
|
|
60
60
|
* Use this method to view the source control pull request metrics. Permissions required: View IQ Elements
|
|
61
61
|
*/
|
|
62
|
-
async getSourceControlRaw(requestParameters:
|
|
62
|
+
async getSourceControlRaw(requestParameters: SourceControlMetricsApiGetSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiPullRequestResults>> {
|
|
63
63
|
if (requestParameters['ownerType'] == null) {
|
|
64
64
|
throw new runtime.RequiredError(
|
|
65
65
|
'ownerType',
|
|
@@ -94,7 +94,7 @@ export class SourceControlMetricsApi extends runtime.BaseAPI implements SourceCo
|
|
|
94
94
|
/**
|
|
95
95
|
* Use this method to view the source control pull request metrics. Permissions required: View IQ Elements
|
|
96
96
|
*/
|
|
97
|
-
async getSourceControl(requestParameters:
|
|
97
|
+
async getSourceControl(requestParameters: SourceControlMetricsApiGetSourceControlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiPullRequestResults> {
|
|
98
98
|
const response = await this.getSourceControlRaw(requestParameters, initOverrides);
|
|
99
99
|
return await response.value();
|
|
100
100
|
}
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
ApiThirdPartyScanTicketDTOToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
28
|
+
export interface ThirdPartyAnalysisApiGetScanStatusRequest {
|
|
29
29
|
applicationId: string;
|
|
30
30
|
scanRequestId: string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export interface
|
|
33
|
+
export interface ThirdPartyAnalysisApiScanComponentsRequest {
|
|
34
34
|
applicationId: string;
|
|
35
35
|
source: string;
|
|
36
36
|
stageId?: string;
|
|
@@ -52,12 +52,12 @@ export interface ThirdPartyAnalysisApiInterface {
|
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
* @memberof ThirdPartyAnalysisApiInterface
|
|
54
54
|
*/
|
|
55
|
-
getScanStatusRaw(requestParameters:
|
|
55
|
+
getScanStatusRaw(requestParameters: ThirdPartyAnalysisApiGetScanStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiThirdPartyScanResultDTO>>;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* SBOM evaluation is an asynchronous operation. Use this method to check on the status of the SBOM evaluation. Permissions required: Evaluate Applications
|
|
59
59
|
*/
|
|
60
|
-
getScanStatus(requestParameters:
|
|
60
|
+
getScanStatus(requestParameters: ThirdPartyAnalysisApiGetScanStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiThirdPartyScanResultDTO>;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* Use this method to perform an analysis of an SBOM. Permissions required: Evaluate Applications
|
|
@@ -69,12 +69,12 @@ export interface ThirdPartyAnalysisApiInterface {
|
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
* @memberof ThirdPartyAnalysisApiInterface
|
|
71
71
|
*/
|
|
72
|
-
scanComponentsRaw(requestParameters:
|
|
72
|
+
scanComponentsRaw(requestParameters: ThirdPartyAnalysisApiScanComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiThirdPartyScanTicketDTO>>;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Use this method to perform an analysis of an SBOM. Permissions required: Evaluate Applications
|
|
76
76
|
*/
|
|
77
|
-
scanComponents(requestParameters:
|
|
77
|
+
scanComponents(requestParameters: ThirdPartyAnalysisApiScanComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiThirdPartyScanTicketDTO>;
|
|
78
78
|
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -86,7 +86,7 @@ export class ThirdPartyAnalysisApi extends runtime.BaseAPI implements ThirdParty
|
|
|
86
86
|
/**
|
|
87
87
|
* SBOM evaluation is an asynchronous operation. Use this method to check on the status of the SBOM evaluation. Permissions required: Evaluate Applications
|
|
88
88
|
*/
|
|
89
|
-
async getScanStatusRaw(requestParameters:
|
|
89
|
+
async getScanStatusRaw(requestParameters: ThirdPartyAnalysisApiGetScanStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiThirdPartyScanResultDTO>> {
|
|
90
90
|
if (requestParameters['applicationId'] == null) {
|
|
91
91
|
throw new runtime.RequiredError(
|
|
92
92
|
'applicationId',
|
|
@@ -121,7 +121,7 @@ export class ThirdPartyAnalysisApi extends runtime.BaseAPI implements ThirdParty
|
|
|
121
121
|
/**
|
|
122
122
|
* SBOM evaluation is an asynchronous operation. Use this method to check on the status of the SBOM evaluation. Permissions required: Evaluate Applications
|
|
123
123
|
*/
|
|
124
|
-
async getScanStatus(requestParameters:
|
|
124
|
+
async getScanStatus(requestParameters: ThirdPartyAnalysisApiGetScanStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiThirdPartyScanResultDTO> {
|
|
125
125
|
const response = await this.getScanStatusRaw(requestParameters, initOverrides);
|
|
126
126
|
return await response.value();
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ export class ThirdPartyAnalysisApi extends runtime.BaseAPI implements ThirdParty
|
|
|
129
129
|
/**
|
|
130
130
|
* Use this method to perform an analysis of an SBOM. Permissions required: Evaluate Applications
|
|
131
131
|
*/
|
|
132
|
-
async scanComponentsRaw(requestParameters:
|
|
132
|
+
async scanComponentsRaw(requestParameters: ThirdPartyAnalysisApiScanComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiThirdPartyScanTicketDTO>> {
|
|
133
133
|
if (requestParameters['applicationId'] == null) {
|
|
134
134
|
throw new runtime.RequiredError(
|
|
135
135
|
'applicationId',
|
|
@@ -171,7 +171,7 @@ export class ThirdPartyAnalysisApi extends runtime.BaseAPI implements ThirdParty
|
|
|
171
171
|
/**
|
|
172
172
|
* Use this method to perform an analysis of an SBOM. Permissions required: Evaluate Applications
|
|
173
173
|
*/
|
|
174
|
-
async scanComponents(requestParameters:
|
|
174
|
+
async scanComponents(requestParameters: ThirdPartyAnalysisApiScanComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiThirdPartyScanTicketDTO> {
|
|
175
175
|
const response = await this.scanComponentsRaw(requestParameters, initOverrides);
|
|
176
176
|
return await response.value();
|
|
177
177
|
}
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
ApiUserTokenExistsDTOToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
28
|
+
export interface UserTokensApiDeleteUserTokenByUserCodeRequest {
|
|
29
29
|
userCode: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
32
|
+
export interface UserTokensApiGetUserTokenByUsernameAndRealmIdRequest {
|
|
33
33
|
username: string;
|
|
34
34
|
realm?: string;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export interface
|
|
37
|
+
export interface UserTokensApiGetUserTokensByCreatedBetweenAndRealmIdRequest {
|
|
38
38
|
createdAfter?: string;
|
|
39
39
|
createdBefore?: string;
|
|
40
40
|
realm?: string;
|
|
@@ -80,12 +80,12 @@ export interface UserTokensApiInterface {
|
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
* @memberof UserTokensApiInterface
|
|
82
82
|
*/
|
|
83
|
-
deleteUserTokenByUserCodeRaw(requestParameters:
|
|
83
|
+
deleteUserTokenByUserCodeRaw(requestParameters: UserTokensApiDeleteUserTokenByUserCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* Use this method to delete an existing user token by specifying the userCode. Permissions required: Edit System Configuration and Users
|
|
87
87
|
*/
|
|
88
|
-
deleteUserTokenByUserCode(requestParameters:
|
|
88
|
+
deleteUserTokenByUserCode(requestParameters: UserTokensApiDeleteUserTokenByUserCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Use this method to retrieve a user token by specifying a username and realmId. Permissions required: Edit System Configuration and Users
|
|
@@ -95,12 +95,12 @@ export interface UserTokensApiInterface {
|
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
* @memberof UserTokensApiInterface
|
|
97
97
|
*/
|
|
98
|
-
getUserTokenByUsernameAndRealmIdRaw(requestParameters:
|
|
98
|
+
getUserTokenByUsernameAndRealmIdRaw(requestParameters: UserTokensApiGetUserTokenByUsernameAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserTokenDTO>>;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Use this method to retrieve a user token by specifying a username and realmId. Permissions required: Edit System Configuration and Users
|
|
102
102
|
*/
|
|
103
|
-
getUserTokenByUsernameAndRealmId(requestParameters:
|
|
103
|
+
getUserTokenByUsernameAndRealmId(requestParameters: UserTokensApiGetUserTokenByUsernameAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserTokenDTO>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* Use this method to check if a user token has been issued to the logged in user. Permissions required: None
|
|
@@ -124,12 +124,12 @@ export interface UserTokensApiInterface {
|
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
* @memberof UserTokensApiInterface
|
|
126
126
|
*/
|
|
127
|
-
getUserTokensByCreatedBetweenAndRealmIdRaw(requestParameters:
|
|
127
|
+
getUserTokensByCreatedBetweenAndRealmIdRaw(requestParameters: UserTokensApiGetUserTokensByCreatedBetweenAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiUserTokenDTO>>>;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Use this method to retrieve user tokens created within a date range, in the supported IQ Server realms. Permissions required: Edit System Configuration and Users.
|
|
131
131
|
*/
|
|
132
|
-
getUserTokensByCreatedBetweenAndRealmId(requestParameters:
|
|
132
|
+
getUserTokensByCreatedBetweenAndRealmId(requestParameters: UserTokensApiGetUserTokensByCreatedBetweenAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiUserTokenDTO>>;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Use this method to delete all existing LDAP user tokens. Permissions required: Edit System Configuration and Users
|
|
@@ -211,7 +211,7 @@ export class UserTokensApi extends runtime.BaseAPI implements UserTokensApiInter
|
|
|
211
211
|
/**
|
|
212
212
|
* Use this method to delete an existing user token by specifying the userCode. Permissions required: Edit System Configuration and Users
|
|
213
213
|
*/
|
|
214
|
-
async deleteUserTokenByUserCodeRaw(requestParameters:
|
|
214
|
+
async deleteUserTokenByUserCodeRaw(requestParameters: UserTokensApiDeleteUserTokenByUserCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
215
215
|
if (requestParameters['userCode'] == null) {
|
|
216
216
|
throw new runtime.RequiredError(
|
|
217
217
|
'userCode',
|
|
@@ -239,14 +239,14 @@ export class UserTokensApi extends runtime.BaseAPI implements UserTokensApiInter
|
|
|
239
239
|
/**
|
|
240
240
|
* Use this method to delete an existing user token by specifying the userCode. Permissions required: Edit System Configuration and Users
|
|
241
241
|
*/
|
|
242
|
-
async deleteUserTokenByUserCode(requestParameters:
|
|
242
|
+
async deleteUserTokenByUserCode(requestParameters: UserTokensApiDeleteUserTokenByUserCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
243
243
|
await this.deleteUserTokenByUserCodeRaw(requestParameters, initOverrides);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* Use this method to retrieve a user token by specifying a username and realmId. Permissions required: Edit System Configuration and Users
|
|
248
248
|
*/
|
|
249
|
-
async getUserTokenByUsernameAndRealmIdRaw(requestParameters:
|
|
249
|
+
async getUserTokenByUsernameAndRealmIdRaw(requestParameters: UserTokensApiGetUserTokenByUsernameAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserTokenDTO>> {
|
|
250
250
|
if (requestParameters['username'] == null) {
|
|
251
251
|
throw new runtime.RequiredError(
|
|
252
252
|
'username',
|
|
@@ -278,7 +278,7 @@ export class UserTokensApi extends runtime.BaseAPI implements UserTokensApiInter
|
|
|
278
278
|
/**
|
|
279
279
|
* Use this method to retrieve a user token by specifying a username and realmId. Permissions required: Edit System Configuration and Users
|
|
280
280
|
*/
|
|
281
|
-
async getUserTokenByUsernameAndRealmId(requestParameters:
|
|
281
|
+
async getUserTokenByUsernameAndRealmId(requestParameters: UserTokensApiGetUserTokenByUsernameAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserTokenDTO> {
|
|
282
282
|
const response = await this.getUserTokenByUsernameAndRealmIdRaw(requestParameters, initOverrides);
|
|
283
283
|
return await response.value();
|
|
284
284
|
}
|
|
@@ -315,7 +315,7 @@ export class UserTokensApi extends runtime.BaseAPI implements UserTokensApiInter
|
|
|
315
315
|
/**
|
|
316
316
|
* Use this method to retrieve user tokens created within a date range, in the supported IQ Server realms. Permissions required: Edit System Configuration and Users.
|
|
317
317
|
*/
|
|
318
|
-
async getUserTokensByCreatedBetweenAndRealmIdRaw(requestParameters:
|
|
318
|
+
async getUserTokensByCreatedBetweenAndRealmIdRaw(requestParameters: UserTokensApiGetUserTokensByCreatedBetweenAndRealmIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiUserTokenDTO>>> {
|
|
319
319
|
const queryParameters: any = {};
|
|
320
320
|
|
|
321
321
|
if (requestParameters['createdAfter'] != null) {
|
|
@@ -348,7 +348,7 @@ export class UserTokensApi extends runtime.BaseAPI implements UserTokensApiInter
|
|
|
348
348
|
/**
|
|
349
349
|
* Use this method to retrieve user tokens created within a date range, in the supported IQ Server realms. Permissions required: Edit System Configuration and Users.
|
|
350
350
|
*/
|
|
351
|
-
async getUserTokensByCreatedBetweenAndRealmId(requestParameters:
|
|
351
|
+
async getUserTokensByCreatedBetweenAndRealmId(requestParameters: UserTokensApiGetUserTokensByCreatedBetweenAndRealmIdRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiUserTokenDTO>> {
|
|
352
352
|
const response = await this.getUserTokensByCreatedBetweenAndRealmIdRaw(requestParameters, initOverrides);
|
|
353
353
|
return await response.value();
|
|
354
354
|
}
|