@sailpoint/api-client 2.2.35 → 2.2.36
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/dist/access_model_metadata/api.d.ts +2 -1
- package/dist/access_model_metadata/api.js +2 -1
- package/dist/access_model_metadata/api.js.map +1 -1
- package/dist/custom_forms/api.d.ts +10 -18
- package/dist/custom_forms/api.js +13 -18
- package/dist/custom_forms/api.js.map +1 -1
- package/dist/esm/access_model_metadata/api.js +2 -1
- package/dist/esm/custom_forms/api.js +13 -18
- package/dist/esm/jit_activations/api.js +214 -0
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/reports_data_extraction/api.js +2 -1
- package/dist/esm/saved_search/api.js +2 -1
- package/dist/esm/search/api.js +6 -4
- package/dist/jit_activations/api.d.ts +315 -0
- package/dist/jit_activations/api.js +215 -1
- package/dist/jit_activations/api.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/reports_data_extraction/api.d.ts +2 -1
- package/dist/reports_data_extraction/api.js +2 -1
- package/dist/reports_data_extraction/api.js.map +1 -1
- package/dist/saved_search/api.d.ts +2 -1
- package/dist/saved_search/api.js +2 -1
- package/dist/saved_search/api.js.map +1 -1
- package/dist/search/api.d.ts +7 -5
- package/dist/search/api.js +6 -4
- package/dist/search/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.JITActivationsApi = exports.JITActivationsApiFactory = exports.JITActivationsApiFp = exports.JITActivationsApiAxiosParamCreator = exports.LocaleOrigin = exports.ActivationWorkflowStatus = void 0;
|
|
81
|
+
exports.JITActivationsApi = exports.JITActivationsApiFactory = exports.JITActivationsApiFp = exports.JITActivationsApiAxiosParamCreator = exports.LocaleOrigin = exports.JITActivationFrictionType = exports.JITActivationFrictionStatus = exports.JITActivationFrictionState = exports.ActivationWorkflowStatus = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -100,6 +100,42 @@ exports.ActivationWorkflowStatus = {
|
|
|
100
100
|
Completed: 'COMPLETED',
|
|
101
101
|
Revoked: 'REVOKED'
|
|
102
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* Aggregate friction state of an activation.
|
|
105
|
+
* @export
|
|
106
|
+
* @enum {string}
|
|
107
|
+
*/
|
|
108
|
+
exports.JITActivationFrictionState = {
|
|
109
|
+
Pending: 'PENDING',
|
|
110
|
+
InProgress: 'IN_PROGRESS',
|
|
111
|
+
TimedOut: 'TIMED_OUT',
|
|
112
|
+
Complete: 'COMPLETE',
|
|
113
|
+
NotApplicable: 'NOT_APPLICABLE'
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Lifecycle of one friction step.
|
|
117
|
+
* @export
|
|
118
|
+
* @enum {string}
|
|
119
|
+
*/
|
|
120
|
+
exports.JITActivationFrictionStatus = {
|
|
121
|
+
Pending: 'PENDING',
|
|
122
|
+
Active: 'ACTIVE',
|
|
123
|
+
TimedOut: 'TIMED_OUT',
|
|
124
|
+
Complete: 'COMPLETE',
|
|
125
|
+
NotApplicable: 'NOT_APPLICABLE',
|
|
126
|
+
Cancelled: 'CANCELLED',
|
|
127
|
+
Failed: 'FAILED'
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Kind of friction step.
|
|
131
|
+
* @export
|
|
132
|
+
* @enum {string}
|
|
133
|
+
*/
|
|
134
|
+
exports.JITActivationFrictionType = {
|
|
135
|
+
Ticket: 'TICKET',
|
|
136
|
+
Justification: 'JUSTIFICATION',
|
|
137
|
+
Reauthentication: 'REAUTHENTICATION'
|
|
138
|
+
};
|
|
103
139
|
/**
|
|
104
140
|
* 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.
|
|
105
141
|
* @export
|
|
@@ -116,6 +152,46 @@ exports.LocaleOrigin = {
|
|
|
116
152
|
var JITActivationsApiAxiosParamCreator = function (configuration) {
|
|
117
153
|
var _this = this;
|
|
118
154
|
return {
|
|
155
|
+
/**
|
|
156
|
+
* Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
|
|
157
|
+
* @summary Get JIT activation frictions
|
|
158
|
+
* @param {string} activationId Identifier of the activation.
|
|
159
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
160
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getJitActivationFrictionsV1: function (activationId, xSailPointExperimental, axiosOptions) {
|
|
164
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
165
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
167
|
+
return __generator(this, function (_a) {
|
|
168
|
+
// verify required parameter 'activationId' is not null or undefined
|
|
169
|
+
(0, common_1.assertParamExists)('getJitActivationFrictionsV1', 'activationId', activationId);
|
|
170
|
+
if (xSailPointExperimental === undefined) {
|
|
171
|
+
xSailPointExperimental = 'true';
|
|
172
|
+
}
|
|
173
|
+
localVarPath = "/jit-activations/v1/{activationId}/frictions"
|
|
174
|
+
.replace("{".concat("activationId", "}"), encodeURIComponent(String(activationId)));
|
|
175
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
176
|
+
if (configuration) {
|
|
177
|
+
baseOptions = configuration.baseOptions;
|
|
178
|
+
}
|
|
179
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
180
|
+
localVarHeaderParameter = {};
|
|
181
|
+
localVarQueryParameter = {};
|
|
182
|
+
if (xSailPointExperimental != null) {
|
|
183
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
axiosOptions: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
},
|
|
119
195
|
/**
|
|
120
196
|
* Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
|
|
121
197
|
* @summary List JIT activation history (self)
|
|
@@ -236,6 +312,51 @@ var JITActivationsApiAxiosParamCreator = function (configuration) {
|
|
|
236
312
|
});
|
|
237
313
|
});
|
|
238
314
|
},
|
|
315
|
+
/**
|
|
316
|
+
* Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
|
|
317
|
+
* @summary Submit JIT activation friction
|
|
318
|
+
* @param {string} activationId Identifier of the activation.
|
|
319
|
+
* @param {JITActivationFrictionPatchRequest} jITActivationFrictionPatchRequest Submission for the current friction step.
|
|
320
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
321
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
patchJitActivationFrictionsV1: function (activationId, jITActivationFrictionPatchRequest, xSailPointExperimental, axiosOptions) {
|
|
325
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
326
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
327
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
328
|
+
return __generator(this, function (_a) {
|
|
329
|
+
// verify required parameter 'activationId' is not null or undefined
|
|
330
|
+
(0, common_1.assertParamExists)('patchJitActivationFrictionsV1', 'activationId', activationId);
|
|
331
|
+
// verify required parameter 'jITActivationFrictionPatchRequest' is not null or undefined
|
|
332
|
+
(0, common_1.assertParamExists)('patchJitActivationFrictionsV1', 'jITActivationFrictionPatchRequest', jITActivationFrictionPatchRequest);
|
|
333
|
+
if (xSailPointExperimental === undefined) {
|
|
334
|
+
xSailPointExperimental = 'true';
|
|
335
|
+
}
|
|
336
|
+
localVarPath = "/jit-activations/v1/{activationId}/frictions"
|
|
337
|
+
.replace("{".concat("activationId", "}"), encodeURIComponent(String(activationId)));
|
|
338
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
339
|
+
if (configuration) {
|
|
340
|
+
baseOptions = configuration.baseOptions;
|
|
341
|
+
}
|
|
342
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
343
|
+
localVarHeaderParameter = {};
|
|
344
|
+
localVarQueryParameter = {};
|
|
345
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
346
|
+
if (xSailPointExperimental != null) {
|
|
347
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
348
|
+
}
|
|
349
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
350
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
351
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
352
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jITActivationFrictionPatchRequest, localVarRequestOptions, configuration);
|
|
353
|
+
return [2 /*return*/, {
|
|
354
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
355
|
+
axiosOptions: localVarRequestOptions,
|
|
356
|
+
}];
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
},
|
|
239
360
|
/**
|
|
240
361
|
* Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
|
|
241
362
|
* @summary Start JIT activation workflow
|
|
@@ -369,6 +490,30 @@ exports.JITActivationsApiAxiosParamCreator = JITActivationsApiAxiosParamCreator;
|
|
|
369
490
|
var JITActivationsApiFp = function (configuration) {
|
|
370
491
|
var localVarAxiosParamCreator = (0, exports.JITActivationsApiAxiosParamCreator)(configuration);
|
|
371
492
|
return {
|
|
493
|
+
/**
|
|
494
|
+
* Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
|
|
495
|
+
* @summary Get JIT activation frictions
|
|
496
|
+
* @param {string} activationId Identifier of the activation.
|
|
497
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
498
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
getJitActivationFrictionsV1: function (activationId, xSailPointExperimental, axiosOptions) {
|
|
502
|
+
var _a, _b, _c;
|
|
503
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
504
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
505
|
+
return __generator(this, function (_d) {
|
|
506
|
+
switch (_d.label) {
|
|
507
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJitActivationFrictionsV1(activationId, xSailPointExperimental, axiosOptions)];
|
|
508
|
+
case 1:
|
|
509
|
+
localVarAxiosArgs = _d.sent();
|
|
510
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
511
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JITActivationsApi.getJitActivationFrictionsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
512
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
},
|
|
372
517
|
/**
|
|
373
518
|
* Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
|
|
374
519
|
* @summary List JIT activation history (self)
|
|
@@ -427,6 +572,31 @@ var JITActivationsApiFp = function (configuration) {
|
|
|
427
572
|
});
|
|
428
573
|
});
|
|
429
574
|
},
|
|
575
|
+
/**
|
|
576
|
+
* Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
|
|
577
|
+
* @summary Submit JIT activation friction
|
|
578
|
+
* @param {string} activationId Identifier of the activation.
|
|
579
|
+
* @param {JITActivationFrictionPatchRequest} jITActivationFrictionPatchRequest Submission for the current friction step.
|
|
580
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
581
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
582
|
+
* @throws {RequiredError}
|
|
583
|
+
*/
|
|
584
|
+
patchJitActivationFrictionsV1: function (activationId, jITActivationFrictionPatchRequest, xSailPointExperimental, axiosOptions) {
|
|
585
|
+
var _a, _b, _c;
|
|
586
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
587
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
588
|
+
return __generator(this, function (_d) {
|
|
589
|
+
switch (_d.label) {
|
|
590
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchJitActivationFrictionsV1(activationId, jITActivationFrictionPatchRequest, xSailPointExperimental, axiosOptions)];
|
|
591
|
+
case 1:
|
|
592
|
+
localVarAxiosArgs = _d.sent();
|
|
593
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
594
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JITActivationsApi.patchJitActivationFrictionsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
595
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
});
|
|
599
|
+
},
|
|
430
600
|
/**
|
|
431
601
|
* Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
|
|
432
602
|
* @summary Start JIT activation workflow
|
|
@@ -509,6 +679,16 @@ exports.JITActivationsApiFp = JITActivationsApiFp;
|
|
|
509
679
|
var JITActivationsApiFactory = function (configuration, basePath, axios) {
|
|
510
680
|
var localVarFp = (0, exports.JITActivationsApiFp)(configuration);
|
|
511
681
|
return {
|
|
682
|
+
/**
|
|
683
|
+
* Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
|
|
684
|
+
* @summary Get JIT activation frictions
|
|
685
|
+
* @param {JITActivationsApiGetJitActivationFrictionsV1Request} requestParameters Request parameters.
|
|
686
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
687
|
+
* @throws {RequiredError}
|
|
688
|
+
*/
|
|
689
|
+
getJitActivationFrictionsV1: function (requestParameters, axiosOptions) {
|
|
690
|
+
return localVarFp.getJitActivationFrictionsV1(requestParameters.activationId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
691
|
+
},
|
|
512
692
|
/**
|
|
513
693
|
* Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
|
|
514
694
|
* @summary List JIT activation history (self)
|
|
@@ -531,6 +711,16 @@ var JITActivationsApiFactory = function (configuration, basePath, axios) {
|
|
|
531
711
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
532
712
|
return localVarFp.listJitActivationHistoryV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
533
713
|
},
|
|
714
|
+
/**
|
|
715
|
+
* Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
|
|
716
|
+
* @summary Submit JIT activation friction
|
|
717
|
+
* @param {JITActivationsApiPatchJitActivationFrictionsV1Request} requestParameters Request parameters.
|
|
718
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
patchJitActivationFrictionsV1: function (requestParameters, axiosOptions) {
|
|
722
|
+
return localVarFp.patchJitActivationFrictionsV1(requestParameters.activationId, requestParameters.jITActivationFrictionPatchRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
723
|
+
},
|
|
534
724
|
/**
|
|
535
725
|
* Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
|
|
536
726
|
* @summary Start JIT activation workflow
|
|
@@ -575,6 +765,18 @@ var JITActivationsApi = /** @class */ (function (_super) {
|
|
|
575
765
|
function JITActivationsApi() {
|
|
576
766
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
577
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
|
|
770
|
+
* @summary Get JIT activation frictions
|
|
771
|
+
* @param {JITActivationsApiGetJitActivationFrictionsV1Request} requestParameters Request parameters.
|
|
772
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
* @memberof JITActivationsApi
|
|
775
|
+
*/
|
|
776
|
+
JITActivationsApi.prototype.getJitActivationFrictionsV1 = function (requestParameters, axiosOptions) {
|
|
777
|
+
var _this = this;
|
|
778
|
+
return (0, exports.JITActivationsApiFp)(this.configuration).getJitActivationFrictionsV1(requestParameters.activationId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
779
|
+
};
|
|
578
780
|
/**
|
|
579
781
|
* Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
|
|
580
782
|
* @summary List JIT activation history (self)
|
|
@@ -601,6 +803,18 @@ var JITActivationsApi = /** @class */ (function (_super) {
|
|
|
601
803
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
602
804
|
return (0, exports.JITActivationsApiFp)(this.configuration).listJitActivationHistoryV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
603
805
|
};
|
|
806
|
+
/**
|
|
807
|
+
* Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
|
|
808
|
+
* @summary Submit JIT activation friction
|
|
809
|
+
* @param {JITActivationsApiPatchJitActivationFrictionsV1Request} requestParameters Request parameters.
|
|
810
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
811
|
+
* @throws {RequiredError}
|
|
812
|
+
* @memberof JITActivationsApi
|
|
813
|
+
*/
|
|
814
|
+
JITActivationsApi.prototype.patchJitActivationFrictionsV1 = function (requestParameters, axiosOptions) {
|
|
815
|
+
var _this = this;
|
|
816
|
+
return (0, exports.JITActivationsApiFp)(this.configuration).patchJitActivationFrictionsV1(requestParameters.activationId, requestParameters.jITActivationFrictionPatchRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
817
|
+
};
|
|
604
818
|
/**
|
|
605
819
|
* Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
|
|
606
820
|
* @summary Start JIT activation workflow
|