@sailpoint/angular-sdk 0.0.41 → 0.0.43
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/access_model_metadata/README.md +2 -2
- package/access_profiles/README.md +2 -2
- package/access_request_approvals/README.md +2 -2
- package/access_request_identity_metrics/README.md +2 -2
- package/access_requests/README.md +2 -2
- package/account_activities/README.md +2 -2
- package/account_aggregations/README.md +2 -2
- package/account_deletion_requests/README.md +2 -2
- package/account_usages/README.md +2 -2
- package/accounts/README.md +2 -2
- package/api_usage/README.md +2 -2
- package/application_discovery/README.md +2 -2
- package/approvals/README.md +2 -2
- package/apps/README.md +2 -2
- package/auth_profile/README.md +2 -2
- package/auth_users/README.md +2 -2
- package/branding/README.md +2 -2
- package/business_applications/README.md +2 -2
- package/capabilities/README.md +2 -2
- package/certification_campaign_filters/README.md +2 -2
- package/certification_campaigns/README.md +2 -2
- package/certification_summaries/README.md +2 -2
- package/certifications/README.md +2 -2
- package/classify_source/README.md +2 -2
- package/configuration_hub/README.md +2 -2
- package/connector_customizers/README.md +2 -2
- package/connector_rule_management/README.md +2 -2
- package/connectors/README.md +2 -2
- package/credentials/README.md +2 -2
- package/custom_forms/README.md +2 -2
- package/custom_password_instructions/README.md +2 -2
- package/custom_user_levels/README.md +2 -2
- package/data_access_security/README.md +2 -2
- package/data_segmentation/README.md +2 -2
- package/declassify_source/README.md +2 -2
- package/devices/README.md +2 -2
- package/dimensions/README.md +2 -2
- package/entitlement_connections/README.md +2 -2
- package/entitlements/README.md +2 -2
- package/fesm2022/sailpoint-angular-sdk-roles.mjs +355 -5
- package/fesm2022/sailpoint-angular-sdk-roles.mjs.map +1 -1
- package/fesm2022/sailpoint-angular-sdk-ui_plugins.mjs +1173 -0
- package/fesm2022/sailpoint-angular-sdk-ui_plugins.mjs.map +1 -0
- package/fesm2022/sailpoint-angular-sdk.mjs +4879 -3366
- package/fesm2022/sailpoint-angular-sdk.mjs.map +1 -1
- package/generic/README.md +2 -2
- package/generic_request_approval_config/README.md +2 -2
- package/global_tenant_security_settings/README.md +2 -2
- package/gov_certification/README.md +2 -2
- package/governance_groups/README.md +2 -2
- package/iai_access_request_recommendations/README.md +2 -2
- package/iai_common_access/README.md +2 -2
- package/iai_outliers/README.md +2 -2
- package/iai_peer_group_strategies/README.md +2 -2
- package/iai_recommendations/README.md +2 -2
- package/iai_role_mining/README.md +2 -2
- package/icons/README.md +2 -2
- package/identities/README.md +2 -2
- package/identity_attributes/README.md +2 -2
- package/identity_history/README.md +2 -2
- package/identity_profiles/README.md +2 -2
- package/intelligence/README.md +2 -2
- package/jit_access/README.md +2 -2
- package/jit_activation_convert/README.md +2 -2
- package/jit_activations/README.md +2 -2
- package/launchers/README.md +2 -2
- package/lifecycle_states/README.md +2 -2
- package/machine_account_classify/README.md +2 -2
- package/machine_account_creation_request/README.md +2 -2
- package/machine_account_mappings/README.md +2 -2
- package/machine_account_recommendation/README.md +2 -2
- package/machine_account_subtypes/README.md +2 -2
- package/machine_accounts/README.md +2 -2
- package/machine_classification_config/README.md +2 -2
- package/machine_identities/README.md +2 -2
- package/machine_identities_lifecycle_actions/README.md +2 -2
- package/machine_identity_metadata/README.md +2 -2
- package/machine_mapping_metadata/README.md +2 -2
- package/managed_clients/README.md +2 -2
- package/managed_cluster_types/README.md +2 -2
- package/managed_clusters/README.md +2 -2
- package/mfa_configuration/README.md +2 -2
- package/multi_host_integration/README.md +2 -2
- package/nerm/README.md +2 -2
- package/nermv2025/README.md +2 -2
- package/non_employee_lifecycle_management/README.md +2 -2
- package/notifications/README.md +2 -2
- package/oauth_clients/README.md +2 -2
- package/org_config/README.md +2 -2
- package/package.json +5 -1
- package/parameter_storage/README.md +2 -2
- package/password_configuration/README.md +2 -2
- package/password_dictionary/README.md +2 -2
- package/password_management/README.md +2 -2
- package/password_policies/README.md +2 -2
- package/password_sync_groups/README.md +2 -2
- package/personal_access_tokens/README.md +2 -2
- package/privilege_criteria/README.md +2 -2
- package/privilege_criteria_configuration/README.md +2 -2
- package/public_identities/README.md +2 -2
- package/public_identities_config/README.md +2 -2
- package/public_machine_identities/README.md +2 -2
- package/reports_data_extraction/README.md +2 -2
- package/requestable_objects/README.md +2 -2
- package/role_insights/README.md +2 -2
- package/role_propagation/README.md +2 -2
- package/roles/README.md +2 -2
- package/sailpoint-scopes.json +269 -1
- package/saved_search/README.md +2 -2
- package/scheduled_search/README.md +2 -2
- package/search/README.md +2 -2
- package/search_attribute_configuration/README.md +2 -2
- package/segments/README.md +2 -2
- package/service_desk_integration/README.md +2 -2
- package/shared_signals_framework_ssf/README.md +2 -2
- package/sim_integrations/README.md +2 -2
- package/sod_controls/README.md +2 -2
- package/sod_policies/README.md +2 -2
- package/sod_violations/README.md +2 -2
- package/source_usages/README.md +2 -2
- package/sources/README.md +2 -2
- package/sp_config/README.md +2 -2
- package/suggested_entitlement_description/README.md +2 -2
- package/tagged_objects/README.md +2 -2
- package/tags/README.md +2 -2
- package/task_management/README.md +2 -2
- package/tenant/README.md +2 -2
- package/tenant_context/README.md +2 -2
- package/transforms/README.md +2 -2
- package/triggers/README.md +2 -2
- package/types/sailpoint-angular-sdk-roles.d.ts +576 -60
- package/types/sailpoint-angular-sdk-ui_plugins.d.ts +1240 -0
- package/types/sailpoint-angular-sdk.d.ts +4319 -2759
- package/ui_metadata/README.md +2 -2
- package/ui_plugins/README.md +236 -0
- package/work_items/README.md +2 -2
- package/work_reassignment/README.md +2 -2
- package/workflows/README.md +2 -2
|
@@ -0,0 +1,1173 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
5
|
+
|
|
6
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
7
|
+
const COLLECTION_FORMATS = {
|
|
8
|
+
'csv': ',',
|
|
9
|
+
'tsv': ' ',
|
|
10
|
+
'ssv': ' ',
|
|
11
|
+
'pipes': '|'
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Custom HttpParameterCodec
|
|
16
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
17
|
+
*/
|
|
18
|
+
class CustomHttpParameterCodec {
|
|
19
|
+
encodeKey(k) {
|
|
20
|
+
return encodeURIComponent(k);
|
|
21
|
+
}
|
|
22
|
+
encodeValue(v) {
|
|
23
|
+
return encodeURIComponent(v);
|
|
24
|
+
}
|
|
25
|
+
decodeKey(k) {
|
|
26
|
+
return decodeURIComponent(k);
|
|
27
|
+
}
|
|
28
|
+
decodeValue(v) {
|
|
29
|
+
return decodeURIComponent(v);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
class Configuration {
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
36
|
+
*/
|
|
37
|
+
apiKeys;
|
|
38
|
+
username;
|
|
39
|
+
password;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
42
|
+
*/
|
|
43
|
+
accessToken;
|
|
44
|
+
basePath;
|
|
45
|
+
withCredentials;
|
|
46
|
+
/**
|
|
47
|
+
* Takes care of encoding query- and form-parameters.
|
|
48
|
+
*/
|
|
49
|
+
encoder;
|
|
50
|
+
/**
|
|
51
|
+
* Encoding of various path parameter
|
|
52
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
53
|
+
* <p>
|
|
54
|
+
* See {@link README.md} for more details
|
|
55
|
+
* </p>
|
|
56
|
+
*/
|
|
57
|
+
encodeParam;
|
|
58
|
+
/**
|
|
59
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
60
|
+
* document. They should map to the value used for authentication
|
|
61
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
62
|
+
*/
|
|
63
|
+
credentials;
|
|
64
|
+
constructor(configurationParameters = {}) {
|
|
65
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
66
|
+
this.username = configurationParameters.username;
|
|
67
|
+
this.password = configurationParameters.password;
|
|
68
|
+
this.accessToken = configurationParameters.accessToken;
|
|
69
|
+
this.basePath = configurationParameters.basePath;
|
|
70
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
71
|
+
this.encoder = configurationParameters.encoder;
|
|
72
|
+
if (configurationParameters.encodeParam) {
|
|
73
|
+
this.encodeParam = configurationParameters.encodeParam;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.encodeParam = param => this.defaultEncodeParam(param);
|
|
77
|
+
}
|
|
78
|
+
if (configurationParameters.credentials) {
|
|
79
|
+
this.credentials = configurationParameters.credentials;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.credentials = {};
|
|
83
|
+
}
|
|
84
|
+
// init default userAuth credential
|
|
85
|
+
if (!this.credentials['userAuth']) {
|
|
86
|
+
this.credentials['userAuth'] = () => {
|
|
87
|
+
return typeof this.accessToken === 'function'
|
|
88
|
+
? this.accessToken()
|
|
89
|
+
: this.accessToken;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
// init default userAuth credential
|
|
93
|
+
if (!this.credentials['userAuth']) {
|
|
94
|
+
this.credentials['userAuth'] = () => {
|
|
95
|
+
return typeof this.accessToken === 'function'
|
|
96
|
+
? this.accessToken()
|
|
97
|
+
: this.accessToken;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
// init default applicationAuth credential
|
|
101
|
+
if (!this.credentials['applicationAuth']) {
|
|
102
|
+
this.credentials['applicationAuth'] = () => {
|
|
103
|
+
return typeof this.accessToken === 'function'
|
|
104
|
+
? this.accessToken()
|
|
105
|
+
: this.accessToken;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Select the correct content-type to use for a request.
|
|
111
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
112
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
113
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
114
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
115
|
+
*/
|
|
116
|
+
selectHeaderContentType(contentTypes) {
|
|
117
|
+
if (contentTypes.length === 0) {
|
|
118
|
+
return undefined;
|
|
119
|
+
}
|
|
120
|
+
const type = contentTypes.find((x) => this.isJsonMime(x));
|
|
121
|
+
if (type === undefined) {
|
|
122
|
+
return contentTypes[0];
|
|
123
|
+
}
|
|
124
|
+
return type;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Select the correct accept content-type to use for a request.
|
|
128
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
129
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
130
|
+
* @param accepts - the array of content types that are available for selection.
|
|
131
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
132
|
+
*/
|
|
133
|
+
selectHeaderAccept(accepts) {
|
|
134
|
+
if (accepts.length === 0) {
|
|
135
|
+
return undefined;
|
|
136
|
+
}
|
|
137
|
+
const type = accepts.find((x) => this.isJsonMime(x));
|
|
138
|
+
if (type === undefined) {
|
|
139
|
+
return accepts[0];
|
|
140
|
+
}
|
|
141
|
+
return type;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Check if the given MIME is a JSON MIME.
|
|
145
|
+
* JSON MIME examples:
|
|
146
|
+
* application/json
|
|
147
|
+
* application/json; charset=UTF8
|
|
148
|
+
* APPLICATION/JSON
|
|
149
|
+
* application/vnd.company+json
|
|
150
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
151
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
152
|
+
*/
|
|
153
|
+
isJsonMime(mime) {
|
|
154
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
155
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
156
|
+
}
|
|
157
|
+
lookupCredential(key) {
|
|
158
|
+
const value = this.credentials[key];
|
|
159
|
+
return typeof value === 'function'
|
|
160
|
+
? value()
|
|
161
|
+
: value;
|
|
162
|
+
}
|
|
163
|
+
addCredentialToHeaders(credentialKey, headerName, headers, prefix) {
|
|
164
|
+
const value = this.lookupCredential(credentialKey);
|
|
165
|
+
return value
|
|
166
|
+
? headers.set(headerName, (prefix ?? '') + value)
|
|
167
|
+
: headers;
|
|
168
|
+
}
|
|
169
|
+
addCredentialToQuery(credentialKey, paramName, query) {
|
|
170
|
+
const value = this.lookupCredential(credentialKey);
|
|
171
|
+
return value
|
|
172
|
+
? query.set(paramName, value)
|
|
173
|
+
: query;
|
|
174
|
+
}
|
|
175
|
+
defaultEncodeParam(param) {
|
|
176
|
+
// This implementation exists as fallback for missing configuration
|
|
177
|
+
// and for backwards compatibility to older typescript-angular generator versions.
|
|
178
|
+
// It only works for the 'simple' parameter style.
|
|
179
|
+
// Date-handling only works for the 'date-time' format.
|
|
180
|
+
// All other styles and Date-formats are probably handled incorrectly.
|
|
181
|
+
//
|
|
182
|
+
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
183
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
184
|
+
? param.value.toISOString()
|
|
185
|
+
: param.value;
|
|
186
|
+
return encodeURIComponent(String(value));
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
class BaseService {
|
|
191
|
+
basePath = '';
|
|
192
|
+
defaultHeaders = new HttpHeaders();
|
|
193
|
+
configuration;
|
|
194
|
+
encoder;
|
|
195
|
+
constructor(basePath, configuration) {
|
|
196
|
+
this.configuration = configuration || new Configuration();
|
|
197
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
198
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
199
|
+
if (firstBasePath != undefined) {
|
|
200
|
+
basePath = firstBasePath;
|
|
201
|
+
}
|
|
202
|
+
if (typeof basePath !== 'string') {
|
|
203
|
+
basePath = this.basePath;
|
|
204
|
+
}
|
|
205
|
+
this.configuration.basePath = basePath;
|
|
206
|
+
}
|
|
207
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
208
|
+
}
|
|
209
|
+
canConsumeForm(consumes) {
|
|
210
|
+
return consumes.indexOf('multipart/form-data') !== -1;
|
|
211
|
+
}
|
|
212
|
+
addToHttpParams(httpParams, value, key) {
|
|
213
|
+
// If the value is an object (but not a Date), recursively add its keys.
|
|
214
|
+
if (typeof value === 'object' && !(value instanceof Date)) {
|
|
215
|
+
return this.addToHttpParamsRecursive(httpParams, value, key);
|
|
216
|
+
}
|
|
217
|
+
return this.addToHttpParamsRecursive(httpParams, value, key);
|
|
218
|
+
}
|
|
219
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
220
|
+
if (value === null || value === undefined) {
|
|
221
|
+
return httpParams;
|
|
222
|
+
}
|
|
223
|
+
if (typeof value === 'object') {
|
|
224
|
+
// If JSON format is preferred, key must be provided.
|
|
225
|
+
if (key != null) {
|
|
226
|
+
return httpParams.append(key, JSON.stringify(value));
|
|
227
|
+
}
|
|
228
|
+
// Otherwise, if it's an array, add each element.
|
|
229
|
+
if (Array.isArray(value)) {
|
|
230
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
231
|
+
}
|
|
232
|
+
else if (value instanceof Date) {
|
|
233
|
+
if (key != null) {
|
|
234
|
+
httpParams = httpParams.append(key, value.toISOString());
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
throw Error("key may not be null if value is Date");
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
else {
|
|
241
|
+
Object.keys(value).forEach(k => {
|
|
242
|
+
const paramKey = key ? `${key}.${k}` : k;
|
|
243
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey);
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
return httpParams;
|
|
247
|
+
}
|
|
248
|
+
else if (key != null) {
|
|
249
|
+
return httpParams.append(key, value);
|
|
250
|
+
}
|
|
251
|
+
throw Error("key may not be null if value is not object or array");
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Identity Security Cloud API - UI Plugins
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
*
|
|
260
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
261
|
+
* https://openapi-generator.tech
|
|
262
|
+
* Do not edit the class manually.
|
|
263
|
+
*/
|
|
264
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
265
|
+
class UIPluginsService extends BaseService {
|
|
266
|
+
httpClient;
|
|
267
|
+
constructor(httpClient, basePath, configuration) {
|
|
268
|
+
super(basePath, configuration);
|
|
269
|
+
this.httpClient = httpClient;
|
|
270
|
+
}
|
|
271
|
+
createUiPluginAssetBundleV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
272
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
273
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
274
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling createUiPluginAssetBundleV1.');
|
|
275
|
+
}
|
|
276
|
+
const file = requestParameters?.file;
|
|
277
|
+
if (file === null || file === undefined) {
|
|
278
|
+
throw new Error('Required parameter file was null or undefined when calling createUiPluginAssetBundleV1.');
|
|
279
|
+
}
|
|
280
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
281
|
+
let localVarHeaders = this.defaultHeaders;
|
|
282
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
283
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
284
|
+
}
|
|
285
|
+
// authentication (applicationAuth) required
|
|
286
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
287
|
+
// authentication (userAuth) required
|
|
288
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
289
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
290
|
+
'application/json'
|
|
291
|
+
]);
|
|
292
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
293
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
294
|
+
}
|
|
295
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
296
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
297
|
+
// to determine the Content-Type header
|
|
298
|
+
const consumes = [
|
|
299
|
+
'multipart/form-data'
|
|
300
|
+
];
|
|
301
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
302
|
+
let localVarFormParams;
|
|
303
|
+
let localVarUseForm = false;
|
|
304
|
+
let localVarConvertFormParamsToString = false;
|
|
305
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
306
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
307
|
+
localVarUseForm = canConsumeForm;
|
|
308
|
+
if (localVarUseForm) {
|
|
309
|
+
localVarFormParams = new FormData();
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
313
|
+
}
|
|
314
|
+
if (file) {
|
|
315
|
+
file.forEach((element) => {
|
|
316
|
+
localVarFormParams = localVarFormParams.append('file', element) || localVarFormParams;
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
let responseType_ = 'json';
|
|
320
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
321
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
322
|
+
responseType_ = 'text';
|
|
323
|
+
}
|
|
324
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
325
|
+
responseType_ = 'json';
|
|
326
|
+
}
|
|
327
|
+
else {
|
|
328
|
+
responseType_ = 'blob';
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/asset-bundles`;
|
|
332
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
333
|
+
context: localVarHttpContext,
|
|
334
|
+
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
335
|
+
responseType: responseType_,
|
|
336
|
+
withCredentials: this.configuration.withCredentials,
|
|
337
|
+
headers: localVarHeaders,
|
|
338
|
+
observe: observe,
|
|
339
|
+
transferCache: localVarTransferCache,
|
|
340
|
+
reportProgress: reportProgress
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
createUiPluginLinkV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
344
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
345
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
346
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling createUiPluginLinkV1.');
|
|
347
|
+
}
|
|
348
|
+
const linkUIPluginRequest = requestParameters?.linkUIPluginRequest;
|
|
349
|
+
if (linkUIPluginRequest === null || linkUIPluginRequest === undefined) {
|
|
350
|
+
throw new Error('Required parameter linkUIPluginRequest was null or undefined when calling createUiPluginLinkV1.');
|
|
351
|
+
}
|
|
352
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
353
|
+
let localVarHeaders = this.defaultHeaders;
|
|
354
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
355
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
356
|
+
}
|
|
357
|
+
// authentication (applicationAuth) required
|
|
358
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
359
|
+
// authentication (userAuth) required
|
|
360
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
361
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
362
|
+
'application/json'
|
|
363
|
+
]);
|
|
364
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
365
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
366
|
+
}
|
|
367
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
368
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
369
|
+
// to determine the Content-Type header
|
|
370
|
+
const consumes = [
|
|
371
|
+
'application/json'
|
|
372
|
+
];
|
|
373
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
374
|
+
if (httpContentTypeSelected !== undefined) {
|
|
375
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
376
|
+
}
|
|
377
|
+
let responseType_ = 'json';
|
|
378
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
379
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
380
|
+
responseType_ = 'text';
|
|
381
|
+
}
|
|
382
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
383
|
+
responseType_ = 'json';
|
|
384
|
+
}
|
|
385
|
+
else {
|
|
386
|
+
responseType_ = 'blob';
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/link`;
|
|
390
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
391
|
+
context: localVarHttpContext,
|
|
392
|
+
body: linkUIPluginRequest,
|
|
393
|
+
responseType: responseType_,
|
|
394
|
+
withCredentials: this.configuration.withCredentials,
|
|
395
|
+
headers: localVarHeaders,
|
|
396
|
+
observe: observe,
|
|
397
|
+
transferCache: localVarTransferCache,
|
|
398
|
+
reportProgress: reportProgress
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
createUiPluginV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
402
|
+
const createUIPluginRequest = requestParameters?.createUIPluginRequest;
|
|
403
|
+
if (createUIPluginRequest === null || createUIPluginRequest === undefined) {
|
|
404
|
+
throw new Error('Required parameter createUIPluginRequest was null or undefined when calling createUiPluginV1.');
|
|
405
|
+
}
|
|
406
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
407
|
+
let localVarHeaders = this.defaultHeaders;
|
|
408
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
409
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
410
|
+
}
|
|
411
|
+
// authentication (applicationAuth) required
|
|
412
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
413
|
+
// authentication (userAuth) required
|
|
414
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
415
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
416
|
+
'application/json'
|
|
417
|
+
]);
|
|
418
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
419
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
420
|
+
}
|
|
421
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
422
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
423
|
+
// to determine the Content-Type header
|
|
424
|
+
const consumes = [
|
|
425
|
+
'application/json'
|
|
426
|
+
];
|
|
427
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
428
|
+
if (httpContentTypeSelected !== undefined) {
|
|
429
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
430
|
+
}
|
|
431
|
+
let responseType_ = 'json';
|
|
432
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
433
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
434
|
+
responseType_ = 'text';
|
|
435
|
+
}
|
|
436
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
437
|
+
responseType_ = 'json';
|
|
438
|
+
}
|
|
439
|
+
else {
|
|
440
|
+
responseType_ = 'blob';
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
let localVarPath = `/ui-plugins/v1`;
|
|
444
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
445
|
+
context: localVarHttpContext,
|
|
446
|
+
body: createUIPluginRequest,
|
|
447
|
+
responseType: responseType_,
|
|
448
|
+
withCredentials: this.configuration.withCredentials,
|
|
449
|
+
headers: localVarHeaders,
|
|
450
|
+
observe: observe,
|
|
451
|
+
transferCache: localVarTransferCache,
|
|
452
|
+
reportProgress: reportProgress
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
deleteUiPluginLinkV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
456
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
457
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
458
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling deleteUiPluginLinkV1.');
|
|
459
|
+
}
|
|
460
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
461
|
+
let localVarHeaders = this.defaultHeaders;
|
|
462
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
463
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
464
|
+
}
|
|
465
|
+
// authentication (applicationAuth) required
|
|
466
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
467
|
+
// authentication (userAuth) required
|
|
468
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
469
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
470
|
+
'application/json'
|
|
471
|
+
]);
|
|
472
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
473
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
474
|
+
}
|
|
475
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
476
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
477
|
+
let responseType_ = 'json';
|
|
478
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
479
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
480
|
+
responseType_ = 'text';
|
|
481
|
+
}
|
|
482
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
483
|
+
responseType_ = 'json';
|
|
484
|
+
}
|
|
485
|
+
else {
|
|
486
|
+
responseType_ = 'blob';
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/link`;
|
|
490
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
491
|
+
context: localVarHttpContext,
|
|
492
|
+
responseType: responseType_,
|
|
493
|
+
withCredentials: this.configuration.withCredentials,
|
|
494
|
+
headers: localVarHeaders,
|
|
495
|
+
observe: observe,
|
|
496
|
+
transferCache: localVarTransferCache,
|
|
497
|
+
reportProgress: reportProgress
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
deleteUiPluginV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
501
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
502
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
503
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling deleteUiPluginV1.');
|
|
504
|
+
}
|
|
505
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
506
|
+
let localVarHeaders = this.defaultHeaders;
|
|
507
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
508
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
509
|
+
}
|
|
510
|
+
// authentication (applicationAuth) required
|
|
511
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
512
|
+
// authentication (userAuth) required
|
|
513
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
514
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
515
|
+
'application/json'
|
|
516
|
+
]);
|
|
517
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
518
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
519
|
+
}
|
|
520
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
521
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
522
|
+
let responseType_ = 'json';
|
|
523
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
524
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
525
|
+
responseType_ = 'text';
|
|
526
|
+
}
|
|
527
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
528
|
+
responseType_ = 'json';
|
|
529
|
+
}
|
|
530
|
+
else {
|
|
531
|
+
responseType_ = 'blob';
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
535
|
+
return this.httpClient.request('delete', `${this.configuration.basePath}${localVarPath}`, {
|
|
536
|
+
context: localVarHttpContext,
|
|
537
|
+
responseType: responseType_,
|
|
538
|
+
withCredentials: this.configuration.withCredentials,
|
|
539
|
+
headers: localVarHeaders,
|
|
540
|
+
observe: observe,
|
|
541
|
+
transferCache: localVarTransferCache,
|
|
542
|
+
reportProgress: reportProgress
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
getUiPluginByAliasV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
546
|
+
const alias = requestParameters?.alias;
|
|
547
|
+
if (alias === null || alias === undefined) {
|
|
548
|
+
throw new Error('Required parameter alias was null or undefined when calling getUiPluginByAliasV1.');
|
|
549
|
+
}
|
|
550
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
551
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
552
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, alias, 'alias');
|
|
553
|
+
let localVarHeaders = this.defaultHeaders;
|
|
554
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
555
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
556
|
+
}
|
|
557
|
+
// authentication (applicationAuth) required
|
|
558
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
559
|
+
// authentication (userAuth) required
|
|
560
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
561
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
562
|
+
'application/json'
|
|
563
|
+
]);
|
|
564
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
565
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
566
|
+
}
|
|
567
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
568
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
569
|
+
let responseType_ = 'json';
|
|
570
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
571
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
572
|
+
responseType_ = 'text';
|
|
573
|
+
}
|
|
574
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
575
|
+
responseType_ = 'json';
|
|
576
|
+
}
|
|
577
|
+
else {
|
|
578
|
+
responseType_ = 'blob';
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
let localVarPath = `/ui-plugins/v1/resolve-alias`;
|
|
582
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
583
|
+
context: localVarHttpContext,
|
|
584
|
+
params: localVarQueryParameters,
|
|
585
|
+
responseType: responseType_,
|
|
586
|
+
withCredentials: this.configuration.withCredentials,
|
|
587
|
+
headers: localVarHeaders,
|
|
588
|
+
observe: observe,
|
|
589
|
+
transferCache: localVarTransferCache,
|
|
590
|
+
reportProgress: reportProgress
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
getUiPluginV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
594
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
595
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
596
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling getUiPluginV1.');
|
|
597
|
+
}
|
|
598
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
599
|
+
let localVarHeaders = this.defaultHeaders;
|
|
600
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
601
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
602
|
+
}
|
|
603
|
+
// authentication (applicationAuth) required
|
|
604
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
605
|
+
// authentication (userAuth) required
|
|
606
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
607
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
608
|
+
'application/json'
|
|
609
|
+
]);
|
|
610
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
611
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
612
|
+
}
|
|
613
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
614
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
615
|
+
let responseType_ = 'json';
|
|
616
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
617
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
618
|
+
responseType_ = 'text';
|
|
619
|
+
}
|
|
620
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
621
|
+
responseType_ = 'json';
|
|
622
|
+
}
|
|
623
|
+
else {
|
|
624
|
+
responseType_ = 'blob';
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
628
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
629
|
+
context: localVarHttpContext,
|
|
630
|
+
responseType: responseType_,
|
|
631
|
+
withCredentials: this.configuration.withCredentials,
|
|
632
|
+
headers: localVarHeaders,
|
|
633
|
+
observe: observe,
|
|
634
|
+
transferCache: localVarTransferCache,
|
|
635
|
+
reportProgress: reportProgress
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
listUiPluginAssetBundlesV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
639
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
640
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
641
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling listUiPluginAssetBundlesV1.');
|
|
642
|
+
}
|
|
643
|
+
const limit = requestParameters?.limit;
|
|
644
|
+
const offset = requestParameters?.offset;
|
|
645
|
+
const count = requestParameters?.count;
|
|
646
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
647
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
648
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
|
|
649
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
|
|
650
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, count, 'count');
|
|
651
|
+
let localVarHeaders = this.defaultHeaders;
|
|
652
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
653
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
654
|
+
}
|
|
655
|
+
// authentication (applicationAuth) required
|
|
656
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
657
|
+
// authentication (userAuth) required
|
|
658
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
659
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
660
|
+
'application/json'
|
|
661
|
+
]);
|
|
662
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
663
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
664
|
+
}
|
|
665
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
666
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
667
|
+
let responseType_ = 'json';
|
|
668
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
669
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
670
|
+
responseType_ = 'text';
|
|
671
|
+
}
|
|
672
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
673
|
+
responseType_ = 'json';
|
|
674
|
+
}
|
|
675
|
+
else {
|
|
676
|
+
responseType_ = 'blob';
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/asset-bundles`;
|
|
680
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
681
|
+
context: localVarHttpContext,
|
|
682
|
+
params: localVarQueryParameters,
|
|
683
|
+
responseType: responseType_,
|
|
684
|
+
withCredentials: this.configuration.withCredentials,
|
|
685
|
+
headers: localVarHeaders,
|
|
686
|
+
observe: observe,
|
|
687
|
+
transferCache: localVarTransferCache,
|
|
688
|
+
reportProgress: reportProgress
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
listUiPluginSlotsV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
692
|
+
const filters = requestParameters?.filters;
|
|
693
|
+
const allLangs = requestParameters?.allLangs;
|
|
694
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
695
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
696
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, filters, 'filters');
|
|
697
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, allLangs, 'allLangs');
|
|
698
|
+
let localVarHeaders = this.defaultHeaders;
|
|
699
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
700
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
701
|
+
}
|
|
702
|
+
// authentication (applicationAuth) required
|
|
703
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
704
|
+
// authentication (userAuth) required
|
|
705
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
706
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
707
|
+
'application/json'
|
|
708
|
+
]);
|
|
709
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
710
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
711
|
+
}
|
|
712
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
713
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
714
|
+
let responseType_ = 'json';
|
|
715
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
716
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
717
|
+
responseType_ = 'text';
|
|
718
|
+
}
|
|
719
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
720
|
+
responseType_ = 'json';
|
|
721
|
+
}
|
|
722
|
+
else {
|
|
723
|
+
responseType_ = 'blob';
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
let localVarPath = `/ui-plugin-slots/v1`;
|
|
727
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
728
|
+
context: localVarHttpContext,
|
|
729
|
+
params: localVarQueryParameters,
|
|
730
|
+
responseType: responseType_,
|
|
731
|
+
withCredentials: this.configuration.withCredentials,
|
|
732
|
+
headers: localVarHeaders,
|
|
733
|
+
observe: observe,
|
|
734
|
+
transferCache: localVarTransferCache,
|
|
735
|
+
reportProgress: reportProgress
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
listUiPluginsV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
739
|
+
const limit = requestParameters?.limit;
|
|
740
|
+
const offset = requestParameters?.offset;
|
|
741
|
+
const count = requestParameters?.count;
|
|
742
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
743
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
744
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
|
|
745
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
|
|
746
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, count, 'count');
|
|
747
|
+
let localVarHeaders = this.defaultHeaders;
|
|
748
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
749
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
750
|
+
}
|
|
751
|
+
// authentication (applicationAuth) required
|
|
752
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
753
|
+
// authentication (userAuth) required
|
|
754
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
755
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
756
|
+
'application/json'
|
|
757
|
+
]);
|
|
758
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
759
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
760
|
+
}
|
|
761
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
762
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
763
|
+
let responseType_ = 'json';
|
|
764
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
765
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
766
|
+
responseType_ = 'text';
|
|
767
|
+
}
|
|
768
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
769
|
+
responseType_ = 'json';
|
|
770
|
+
}
|
|
771
|
+
else {
|
|
772
|
+
responseType_ = 'blob';
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
let localVarPath = `/ui-plugins/v1`;
|
|
776
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
777
|
+
context: localVarHttpContext,
|
|
778
|
+
params: localVarQueryParameters,
|
|
779
|
+
responseType: responseType_,
|
|
780
|
+
withCredentials: this.configuration.withCredentials,
|
|
781
|
+
headers: localVarHeaders,
|
|
782
|
+
observe: observe,
|
|
783
|
+
transferCache: localVarTransferCache,
|
|
784
|
+
reportProgress: reportProgress
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
testUiPluginAliasV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
788
|
+
const alias = requestParameters?.alias;
|
|
789
|
+
if (alias === null || alias === undefined) {
|
|
790
|
+
throw new Error('Required parameter alias was null or undefined when calling testUiPluginAliasV1.');
|
|
791
|
+
}
|
|
792
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
793
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
794
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, alias, 'alias');
|
|
795
|
+
let localVarHeaders = this.defaultHeaders;
|
|
796
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
797
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
798
|
+
}
|
|
799
|
+
// authentication (applicationAuth) required
|
|
800
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
801
|
+
// authentication (userAuth) required
|
|
802
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
803
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
804
|
+
'application/json'
|
|
805
|
+
]);
|
|
806
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
807
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
808
|
+
}
|
|
809
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
810
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
811
|
+
let responseType_ = 'json';
|
|
812
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
813
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
814
|
+
responseType_ = 'text';
|
|
815
|
+
}
|
|
816
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
817
|
+
responseType_ = 'json';
|
|
818
|
+
}
|
|
819
|
+
else {
|
|
820
|
+
responseType_ = 'blob';
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
let localVarPath = `/ui-plugins/v1/validate-alias`;
|
|
824
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
825
|
+
context: localVarHttpContext,
|
|
826
|
+
params: localVarQueryParameters,
|
|
827
|
+
responseType: responseType_,
|
|
828
|
+
withCredentials: this.configuration.withCredentials,
|
|
829
|
+
headers: localVarHeaders,
|
|
830
|
+
observe: observe,
|
|
831
|
+
transferCache: localVarTransferCache,
|
|
832
|
+
reportProgress: reportProgress
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
updateUiPluginV1(requestParameters, observe = 'body', reportProgress = false, options) {
|
|
836
|
+
const pluginInstanceId = requestParameters?.pluginInstanceId;
|
|
837
|
+
if (pluginInstanceId === null || pluginInstanceId === undefined) {
|
|
838
|
+
throw new Error('Required parameter pluginInstanceId was null or undefined when calling updateUiPluginV1.');
|
|
839
|
+
}
|
|
840
|
+
const updateUIPluginRequest = requestParameters?.updateUIPluginRequest;
|
|
841
|
+
if (updateUIPluginRequest === null || updateUIPluginRequest === undefined) {
|
|
842
|
+
throw new Error('Required parameter updateUIPluginRequest was null or undefined when calling updateUiPluginV1.');
|
|
843
|
+
}
|
|
844
|
+
const xSailPointExperimental = requestParameters?.xSailPointExperimental;
|
|
845
|
+
let localVarHeaders = this.defaultHeaders;
|
|
846
|
+
if (xSailPointExperimental !== undefined && xSailPointExperimental !== null) {
|
|
847
|
+
localVarHeaders = localVarHeaders.set('X-SailPoint-Experimental', String(xSailPointExperimental));
|
|
848
|
+
}
|
|
849
|
+
// authentication (applicationAuth) required
|
|
850
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('applicationAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
851
|
+
// authentication (userAuth) required
|
|
852
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('userAuth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
853
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
854
|
+
'application/json'
|
|
855
|
+
]);
|
|
856
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
857
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
858
|
+
}
|
|
859
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
860
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
861
|
+
// to determine the Content-Type header
|
|
862
|
+
const consumes = [
|
|
863
|
+
'application/json'
|
|
864
|
+
];
|
|
865
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
866
|
+
if (httpContentTypeSelected !== undefined) {
|
|
867
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
868
|
+
}
|
|
869
|
+
let responseType_ = 'json';
|
|
870
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
871
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
872
|
+
responseType_ = 'text';
|
|
873
|
+
}
|
|
874
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
875
|
+
responseType_ = 'json';
|
|
876
|
+
}
|
|
877
|
+
else {
|
|
878
|
+
responseType_ = 'blob';
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
let localVarPath = `/ui-plugins/v1/${this.configuration.encodeParam({ name: "pluginInstanceId", value: pluginInstanceId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
882
|
+
return this.httpClient.request('patch', `${this.configuration.basePath}${localVarPath}`, {
|
|
883
|
+
context: localVarHttpContext,
|
|
884
|
+
body: updateUIPluginRequest,
|
|
885
|
+
responseType: responseType_,
|
|
886
|
+
withCredentials: this.configuration.withCredentials,
|
|
887
|
+
headers: localVarHeaders,
|
|
888
|
+
observe: observe,
|
|
889
|
+
transferCache: localVarTransferCache,
|
|
890
|
+
reportProgress: reportProgress
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: UIPluginsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
894
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: UIPluginsService, providedIn: 'root' });
|
|
895
|
+
}
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: UIPluginsService, decorators: [{
|
|
897
|
+
type: Injectable,
|
|
898
|
+
args: [{
|
|
899
|
+
providedIn: 'root'
|
|
900
|
+
}]
|
|
901
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
902
|
+
type: Optional
|
|
903
|
+
}, {
|
|
904
|
+
type: Inject,
|
|
905
|
+
args: [BASE_PATH]
|
|
906
|
+
}] }, { type: Configuration, decorators: [{
|
|
907
|
+
type: Optional
|
|
908
|
+
}] }] });
|
|
909
|
+
|
|
910
|
+
const APIS = [UIPluginsService];
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Identity Security Cloud API - UI Plugins
|
|
914
|
+
*
|
|
915
|
+
*
|
|
916
|
+
*
|
|
917
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
918
|
+
* https://openapi-generator.tech
|
|
919
|
+
* Do not edit the class manually.
|
|
920
|
+
*/
|
|
921
|
+
|
|
922
|
+
var CreateUIPluginRequestIframeSandboxEnum;
|
|
923
|
+
(function (CreateUIPluginRequestIframeSandboxEnum) {
|
|
924
|
+
CreateUIPluginRequestIframeSandboxEnum["AllowTopNavigation"] = "allow-top-navigation";
|
|
925
|
+
CreateUIPluginRequestIframeSandboxEnum["AllowPopups"] = "allow-popups";
|
|
926
|
+
CreateUIPluginRequestIframeSandboxEnum["AllowPopupsToEscapeSandbox"] = "allow-popups-to-escape-sandbox";
|
|
927
|
+
CreateUIPluginRequestIframeSandboxEnum["AllowDownloads"] = "allow-downloads";
|
|
928
|
+
CreateUIPluginRequestIframeSandboxEnum["AllowModals"] = "allow-modals";
|
|
929
|
+
})(CreateUIPluginRequestIframeSandboxEnum || (CreateUIPluginRequestIframeSandboxEnum = {}));
|
|
930
|
+
;
|
|
931
|
+
|
|
932
|
+
var CreateUIPluginResponseIframeSandboxEnum;
|
|
933
|
+
(function (CreateUIPluginResponseIframeSandboxEnum) {
|
|
934
|
+
CreateUIPluginResponseIframeSandboxEnum["AllowTopNavigation"] = "allow-top-navigation";
|
|
935
|
+
CreateUIPluginResponseIframeSandboxEnum["AllowPopups"] = "allow-popups";
|
|
936
|
+
CreateUIPluginResponseIframeSandboxEnum["AllowPopupsToEscapeSandbox"] = "allow-popups-to-escape-sandbox";
|
|
937
|
+
CreateUIPluginResponseIframeSandboxEnum["AllowDownloads"] = "allow-downloads";
|
|
938
|
+
CreateUIPluginResponseIframeSandboxEnum["AllowModals"] = "allow-modals";
|
|
939
|
+
})(CreateUIPluginResponseIframeSandboxEnum || (CreateUIPluginResponseIframeSandboxEnum = {}));
|
|
940
|
+
;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Identity Security Cloud API - UI Plugins
|
|
944
|
+
*
|
|
945
|
+
*
|
|
946
|
+
*
|
|
947
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
948
|
+
* https://openapi-generator.tech
|
|
949
|
+
* Do not edit the class manually.
|
|
950
|
+
*/
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Identity Security Cloud API - UI Plugins
|
|
954
|
+
*
|
|
955
|
+
*
|
|
956
|
+
*
|
|
957
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
958
|
+
* https://openapi-generator.tech
|
|
959
|
+
* Do not edit the class manually.
|
|
960
|
+
*/
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Identity Security Cloud API - UI Plugins
|
|
964
|
+
*
|
|
965
|
+
*
|
|
966
|
+
*
|
|
967
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
968
|
+
* https://openapi-generator.tech
|
|
969
|
+
* Do not edit the class manually.
|
|
970
|
+
*/
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Identity Security Cloud API - UI Plugins
|
|
974
|
+
*
|
|
975
|
+
*
|
|
976
|
+
*
|
|
977
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
978
|
+
* https://openapi-generator.tech
|
|
979
|
+
* Do not edit the class manually.
|
|
980
|
+
*/
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Identity Security Cloud API - UI Plugins
|
|
984
|
+
*
|
|
985
|
+
*
|
|
986
|
+
*
|
|
987
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
988
|
+
* https://openapi-generator.tech
|
|
989
|
+
* Do not edit the class manually.
|
|
990
|
+
*/
|
|
991
|
+
/**
|
|
992
|
+
* An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
|
|
993
|
+
*/
|
|
994
|
+
var LocaleOrigin;
|
|
995
|
+
(function (LocaleOrigin) {
|
|
996
|
+
LocaleOrigin["Default"] = "DEFAULT";
|
|
997
|
+
LocaleOrigin["Request"] = "REQUEST";
|
|
998
|
+
})(LocaleOrigin || (LocaleOrigin = {}));
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Identity Security Cloud API - UI Plugins
|
|
1002
|
+
*
|
|
1003
|
+
*
|
|
1004
|
+
*
|
|
1005
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1006
|
+
* https://openapi-generator.tech
|
|
1007
|
+
* Do not edit the class manually.
|
|
1008
|
+
*/
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Identity Security Cloud API - UI Plugins
|
|
1012
|
+
*
|
|
1013
|
+
*
|
|
1014
|
+
*
|
|
1015
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1016
|
+
* https://openapi-generator.tech
|
|
1017
|
+
* Do not edit the class manually.
|
|
1018
|
+
*/
|
|
1019
|
+
/**
|
|
1020
|
+
* Lifecycle state for a tenant plugin installation. DISABLED instances are omitted from active-slots delivery.
|
|
1021
|
+
*/
|
|
1022
|
+
var PluginInstanceState;
|
|
1023
|
+
(function (PluginInstanceState) {
|
|
1024
|
+
PluginInstanceState["Enabled"] = "ENABLED";
|
|
1025
|
+
PluginInstanceState["Disabled"] = "DISABLED";
|
|
1026
|
+
})(PluginInstanceState || (PluginInstanceState = {}));
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Identity Security Cloud API - UI Plugins
|
|
1030
|
+
*
|
|
1031
|
+
*
|
|
1032
|
+
*
|
|
1033
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1034
|
+
* https://openapi-generator.tech
|
|
1035
|
+
* Do not edit the class manually.
|
|
1036
|
+
*/
|
|
1037
|
+
var PluginSlotRequiredCapabilitiesEnum;
|
|
1038
|
+
(function (PluginSlotRequiredCapabilitiesEnum) {
|
|
1039
|
+
PluginSlotRequiredCapabilitiesEnum["OrgAdmin"] = "ORG_ADMIN";
|
|
1040
|
+
PluginSlotRequiredCapabilitiesEnum["SourceAdmin"] = "SOURCE_ADMIN";
|
|
1041
|
+
PluginSlotRequiredCapabilitiesEnum["ReportAdmin"] = "REPORT_ADMIN";
|
|
1042
|
+
PluginSlotRequiredCapabilitiesEnum["AccessRequestAdmin"] = "ACCESS_REQUEST_ADMIN";
|
|
1043
|
+
PluginSlotRequiredCapabilitiesEnum["RoleAdmin"] = "ROLE_ADMIN";
|
|
1044
|
+
PluginSlotRequiredCapabilitiesEnum["CertAdmin"] = "CERT_ADMIN";
|
|
1045
|
+
PluginSlotRequiredCapabilitiesEnum["Dashboard"] = "DASHBOARD";
|
|
1046
|
+
PluginSlotRequiredCapabilitiesEnum["SourceSubadmin"] = "SOURCE_SUBADMIN";
|
|
1047
|
+
PluginSlotRequiredCapabilitiesEnum["Helpdesk"] = "HELPDESK";
|
|
1048
|
+
PluginSlotRequiredCapabilitiesEnum["CloudGovAdmin"] = "CLOUD_GOV_ADMIN";
|
|
1049
|
+
PluginSlotRequiredCapabilitiesEnum["CloudGovUser"] = "CLOUD_GOV_USER";
|
|
1050
|
+
})(PluginSlotRequiredCapabilitiesEnum || (PluginSlotRequiredCapabilitiesEnum = {}));
|
|
1051
|
+
;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Identity Security Cloud API - UI Plugins
|
|
1055
|
+
*
|
|
1056
|
+
*
|
|
1057
|
+
*
|
|
1058
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1059
|
+
* https://openapi-generator.tech
|
|
1060
|
+
* Do not edit the class manually.
|
|
1061
|
+
*/
|
|
1062
|
+
/**
|
|
1063
|
+
* - active: accepts new plugin registrations - deprecated: still works; avoid for new plugins - removed: no longer functions
|
|
1064
|
+
*/
|
|
1065
|
+
var SlotState;
|
|
1066
|
+
(function (SlotState) {
|
|
1067
|
+
SlotState["Active"] = "active";
|
|
1068
|
+
SlotState["Deprecated"] = "deprecated";
|
|
1069
|
+
SlotState["Removed"] = "removed";
|
|
1070
|
+
})(SlotState || (SlotState = {}));
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Identity Security Cloud API - UI Plugins
|
|
1074
|
+
*
|
|
1075
|
+
*
|
|
1076
|
+
*
|
|
1077
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1078
|
+
* https://openapi-generator.tech
|
|
1079
|
+
* Do not edit the class manually.
|
|
1080
|
+
*/
|
|
1081
|
+
/**
|
|
1082
|
+
* How the App Shell renders plugins in this slot (Armada 2.0 patterns)
|
|
1083
|
+
*/
|
|
1084
|
+
var SlotType;
|
|
1085
|
+
(function (SlotType) {
|
|
1086
|
+
SlotType["FullPage"] = "full-page";
|
|
1087
|
+
SlotType["Embed"] = "embed";
|
|
1088
|
+
SlotType["Aside"] = "aside";
|
|
1089
|
+
SlotType["Popup"] = "popup";
|
|
1090
|
+
})(SlotType || (SlotType = {}));
|
|
1091
|
+
|
|
1092
|
+
var UIPluginIframeSandboxEnum;
|
|
1093
|
+
(function (UIPluginIframeSandboxEnum) {
|
|
1094
|
+
UIPluginIframeSandboxEnum["AllowTopNavigation"] = "allow-top-navigation";
|
|
1095
|
+
UIPluginIframeSandboxEnum["AllowPopups"] = "allow-popups";
|
|
1096
|
+
UIPluginIframeSandboxEnum["AllowPopupsToEscapeSandbox"] = "allow-popups-to-escape-sandbox";
|
|
1097
|
+
UIPluginIframeSandboxEnum["AllowDownloads"] = "allow-downloads";
|
|
1098
|
+
UIPluginIframeSandboxEnum["AllowModals"] = "allow-modals";
|
|
1099
|
+
})(UIPluginIframeSandboxEnum || (UIPluginIframeSandboxEnum = {}));
|
|
1100
|
+
;
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* Identity Security Cloud API - UI Plugins
|
|
1104
|
+
*
|
|
1105
|
+
*
|
|
1106
|
+
*
|
|
1107
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1108
|
+
* https://openapi-generator.tech
|
|
1109
|
+
* Do not edit the class manually.
|
|
1110
|
+
*/
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Identity Security Cloud API - UI Plugins
|
|
1114
|
+
*
|
|
1115
|
+
*
|
|
1116
|
+
*
|
|
1117
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1118
|
+
* https://openapi-generator.tech
|
|
1119
|
+
* Do not edit the class manually.
|
|
1120
|
+
*/
|
|
1121
|
+
|
|
1122
|
+
var UpdateUIPluginRequestIframeSandboxEnum;
|
|
1123
|
+
(function (UpdateUIPluginRequestIframeSandboxEnum) {
|
|
1124
|
+
UpdateUIPluginRequestIframeSandboxEnum["AllowTopNavigation"] = "allow-top-navigation";
|
|
1125
|
+
UpdateUIPluginRequestIframeSandboxEnum["AllowPopups"] = "allow-popups";
|
|
1126
|
+
UpdateUIPluginRequestIframeSandboxEnum["AllowPopupsToEscapeSandbox"] = "allow-popups-to-escape-sandbox";
|
|
1127
|
+
UpdateUIPluginRequestIframeSandboxEnum["AllowDownloads"] = "allow-downloads";
|
|
1128
|
+
UpdateUIPluginRequestIframeSandboxEnum["AllowModals"] = "allow-modals";
|
|
1129
|
+
})(UpdateUIPluginRequestIframeSandboxEnum || (UpdateUIPluginRequestIframeSandboxEnum = {}));
|
|
1130
|
+
;
|
|
1131
|
+
|
|
1132
|
+
class ApiModule {
|
|
1133
|
+
static forRoot(configurationFactory) {
|
|
1134
|
+
return {
|
|
1135
|
+
ngModule: ApiModule,
|
|
1136
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
constructor(parentModule, http) {
|
|
1140
|
+
if (parentModule) {
|
|
1141
|
+
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1142
|
+
}
|
|
1143
|
+
if (!http) {
|
|
1144
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1145
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1149
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.4", ngImport: i0, type: ApiModule });
|
|
1150
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ApiModule });
|
|
1151
|
+
}
|
|
1152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ApiModule, decorators: [{
|
|
1153
|
+
type: NgModule,
|
|
1154
|
+
args: [{
|
|
1155
|
+
imports: [],
|
|
1156
|
+
declarations: [],
|
|
1157
|
+
exports: [],
|
|
1158
|
+
providers: []
|
|
1159
|
+
}]
|
|
1160
|
+
}], ctorParameters: () => [{ type: ApiModule, decorators: [{
|
|
1161
|
+
type: Optional
|
|
1162
|
+
}, {
|
|
1163
|
+
type: SkipSelf
|
|
1164
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
1165
|
+
type: Optional
|
|
1166
|
+
}] }] });
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Generated bundle index. Do not edit.
|
|
1170
|
+
*/
|
|
1171
|
+
|
|
1172
|
+
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, CreateUIPluginRequestIframeSandboxEnum, CreateUIPluginResponseIframeSandboxEnum, LocaleOrigin, PluginInstanceState, PluginSlotRequiredCapabilitiesEnum, SlotState, SlotType, UIPluginIframeSandboxEnum, UIPluginsService, UpdateUIPluginRequestIframeSandboxEnum };
|
|
1173
|
+
//# sourceMappingURL=sailpoint-angular-sdk-ui_plugins.mjs.map
|