@sailpoint/api-client 2.2.35 → 2.2.37

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.
@@ -150,7 +150,7 @@ export var FilterType = {
150
150
  Terms: 'TERMS'
151
151
  };
152
152
  /**
153
- * Enum representing the currently supported indices. Additional values may be added in the future without notice.
153
+ * Enum representing the currently supported indices. Additional values may be added in the future without notice. The `*` value does not include the `workflowsummaries` index. To search workflow summaries, specify `workflowsummaries` explicitly.
154
154
  * @export
155
155
  * @enum {string}
156
156
  */
@@ -161,6 +161,7 @@ export var Index = {
161
161
  Events: 'events',
162
162
  Identities: 'identities',
163
163
  Roles: 'roles',
164
+ Workflowsummaries: 'workflowsummaries',
164
165
  Star: '*'
165
166
  };
166
167
  export var JsonPatchOperationOpEnum = {
@@ -393,7 +393,7 @@ export var CustomFormsApiAxiosParamCreator = function (configuration) {
393
393
  },
394
394
  /**
395
395
  * No parameters required.
396
- * @summary List form definitions by tenant.
396
+ * @summary Export form definitions by tenant.
397
397
  * @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
398
398
  * @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
399
399
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in*
@@ -682,7 +682,7 @@ export var CustomFormsApiAxiosParamCreator = function (configuration) {
682
682
  },
683
683
  /**
684
684
  * No parameters required.
685
- * @summary Export form definitions by tenant.
685
+ * @summary List form definitions by tenant.
686
686
  * @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
687
687
  * @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
688
688
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in*
@@ -777,13 +777,12 @@ export var CustomFormsApiAxiosParamCreator = function (configuration) {
777
777
  /**
778
778
  * Returns a list of form instances for the tenant. Optionally filter by form definition ID.
779
779
  * @summary List form instances by tenant.
780
- * @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
781
780
  * @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
782
781
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **formDefinitionId**: *eq*
783
782
  * @param {*} [axiosOptions] Override http request option.
784
783
  * @throws {RequiredError}
785
784
  */
786
- searchFormInstancesByTenantV1: function (offset, limit, filters, axiosOptions) {
785
+ searchFormInstancesByTenantV1: function (limit, filters, axiosOptions) {
787
786
  if (axiosOptions === void 0) { axiosOptions = {}; }
788
787
  return __awaiter(_this, void 0, void 0, function () {
789
788
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -796,9 +795,6 @@ export var CustomFormsApiAxiosParamCreator = function (configuration) {
796
795
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
797
796
  localVarHeaderParameter = {};
798
797
  localVarQueryParameter = {};
799
- if (offset !== undefined) {
800
- localVarQueryParameter['offset'] = offset;
801
- }
802
798
  if (limit !== undefined) {
803
799
  localVarQueryParameter['limit'] = limit;
804
800
  }
@@ -1019,7 +1015,7 @@ export var CustomFormsApiFp = function (configuration) {
1019
1015
  },
1020
1016
  /**
1021
1017
  * No parameters required.
1022
- * @summary List form definitions by tenant.
1018
+ * @summary Export form definitions by tenant.
1023
1019
  * @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
1024
1020
  * @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
1025
1021
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in*
@@ -1210,7 +1206,7 @@ export var CustomFormsApiFp = function (configuration) {
1210
1206
  },
1211
1207
  /**
1212
1208
  * No parameters required.
1213
- * @summary Export form definitions by tenant.
1209
+ * @summary List form definitions by tenant.
1214
1210
  * @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
1215
1211
  * @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
1216
1212
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in*
@@ -1264,19 +1260,18 @@ export var CustomFormsApiFp = function (configuration) {
1264
1260
  /**
1265
1261
  * Returns a list of form instances for the tenant. Optionally filter by form definition ID.
1266
1262
  * @summary List form instances by tenant.
1267
- * @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
1268
1263
  * @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
1269
1264
  * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **formDefinitionId**: *eq*
1270
1265
  * @param {*} [axiosOptions] Override http request option.
1271
1266
  * @throws {RequiredError}
1272
1267
  */
1273
- searchFormInstancesByTenantV1: function (offset, limit, filters, axiosOptions) {
1268
+ searchFormInstancesByTenantV1: function (limit, filters, axiosOptions) {
1274
1269
  var _a, _b, _c;
1275
1270
  return __awaiter(this, void 0, void 0, function () {
1276
1271
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1277
1272
  return __generator(this, function (_d) {
1278
1273
  switch (_d.label) {
1279
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchFormInstancesByTenantV1(offset, limit, filters, axiosOptions)];
1274
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchFormInstancesByTenantV1(limit, filters, axiosOptions)];
1280
1275
  case 1:
1281
1276
  localVarAxiosArgs = _d.sent();
1282
1277
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -1399,7 +1394,7 @@ export var CustomFormsApiFactory = function (configuration, basePath, axios) {
1399
1394
  },
1400
1395
  /**
1401
1396
  * No parameters required.
1402
- * @summary List form definitions by tenant.
1397
+ * @summary Export form definitions by tenant.
1403
1398
  * @param {CustomFormsApiExportFormDefinitionsByTenantV1Request} requestParameters Request parameters.
1404
1399
  * @param {*} [axiosOptions] Override http request option.
1405
1400
  * @throws {RequiredError}
@@ -1481,7 +1476,7 @@ export var CustomFormsApiFactory = function (configuration, basePath, axios) {
1481
1476
  },
1482
1477
  /**
1483
1478
  * No parameters required.
1484
- * @summary Export form definitions by tenant.
1479
+ * @summary List form definitions by tenant.
1485
1480
  * @param {CustomFormsApiSearchFormDefinitionsByTenantV1Request} requestParameters Request parameters.
1486
1481
  * @param {*} [axiosOptions] Override http request option.
1487
1482
  * @throws {RequiredError}
@@ -1509,7 +1504,7 @@ export var CustomFormsApiFactory = function (configuration, basePath, axios) {
1509
1504
  */
1510
1505
  searchFormInstancesByTenantV1: function (requestParameters, axiosOptions) {
1511
1506
  if (requestParameters === void 0) { requestParameters = {}; }
1512
- return localVarFp.searchFormInstancesByTenantV1(requestParameters.offset, requestParameters.limit, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
1507
+ return localVarFp.searchFormInstancesByTenantV1(requestParameters.limit, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
1513
1508
  },
1514
1509
  /**
1515
1510
  * No parameters required.
@@ -1608,7 +1603,7 @@ var CustomFormsApi = /** @class */ (function (_super) {
1608
1603
  };
1609
1604
  /**
1610
1605
  * No parameters required.
1611
- * @summary List form definitions by tenant.
1606
+ * @summary Export form definitions by tenant.
1612
1607
  * @param {CustomFormsApiExportFormDefinitionsByTenantV1Request} requestParameters Request parameters.
1613
1608
  * @param {*} [axiosOptions] Override http request option.
1614
1609
  * @throws {RequiredError}
@@ -1706,7 +1701,7 @@ var CustomFormsApi = /** @class */ (function (_super) {
1706
1701
  };
1707
1702
  /**
1708
1703
  * No parameters required.
1709
- * @summary Export form definitions by tenant.
1704
+ * @summary List form definitions by tenant.
1710
1705
  * @param {CustomFormsApiSearchFormDefinitionsByTenantV1Request} requestParameters Request parameters.
1711
1706
  * @param {*} [axiosOptions] Override http request option.
1712
1707
  * @throws {RequiredError}
@@ -1740,7 +1735,7 @@ var CustomFormsApi = /** @class */ (function (_super) {
1740
1735
  CustomFormsApi.prototype.searchFormInstancesByTenantV1 = function (requestParameters, axiosOptions) {
1741
1736
  var _this = this;
1742
1737
  if (requestParameters === void 0) { requestParameters = {}; }
1743
- return CustomFormsApiFp(this.configuration).searchFormInstancesByTenantV1(requestParameters.offset, requestParameters.limit, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1738
+ return CustomFormsApiFp(this.configuration).searchFormInstancesByTenantV1(requestParameters.limit, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1744
1739
  };
1745
1740
  /**
1746
1741
  * No parameters required.
@@ -94,6 +94,42 @@ export var ActivationWorkflowStatus = {
94
94
  Completed: 'COMPLETED',
95
95
  Revoked: 'REVOKED'
96
96
  };
97
+ /**
98
+ * Aggregate friction state of an activation.
99
+ * @export
100
+ * @enum {string}
101
+ */
102
+ export var JITActivationFrictionState = {
103
+ Pending: 'PENDING',
104
+ InProgress: 'IN_PROGRESS',
105
+ TimedOut: 'TIMED_OUT',
106
+ Complete: 'COMPLETE',
107
+ NotApplicable: 'NOT_APPLICABLE'
108
+ };
109
+ /**
110
+ * Lifecycle of one friction step.
111
+ * @export
112
+ * @enum {string}
113
+ */
114
+ export var JITActivationFrictionStatus = {
115
+ Pending: 'PENDING',
116
+ Active: 'ACTIVE',
117
+ TimedOut: 'TIMED_OUT',
118
+ Complete: 'COMPLETE',
119
+ NotApplicable: 'NOT_APPLICABLE',
120
+ Cancelled: 'CANCELLED',
121
+ Failed: 'FAILED'
122
+ };
123
+ /**
124
+ * Kind of friction step.
125
+ * @export
126
+ * @enum {string}
127
+ */
128
+ export var JITActivationFrictionType = {
129
+ Ticket: 'TICKET',
130
+ Justification: 'JUSTIFICATION',
131
+ Reauthentication: 'REAUTHENTICATION'
132
+ };
97
133
  /**
98
134
  * 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.
99
135
  * @export
@@ -110,6 +146,46 @@ export var LocaleOrigin = {
110
146
  export var JITActivationsApiAxiosParamCreator = function (configuration) {
111
147
  var _this = this;
112
148
  return {
149
+ /**
150
+ * 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.
151
+ * @summary Get JIT activation frictions
152
+ * @param {string} activationId Identifier of the activation.
153
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
154
+ * @param {*} [axiosOptions] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ getJitActivationFrictionsV1: function (activationId, xSailPointExperimental, axiosOptions) {
158
+ if (axiosOptions === void 0) { axiosOptions = {}; }
159
+ return __awaiter(_this, void 0, void 0, function () {
160
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
161
+ return __generator(this, function (_a) {
162
+ // verify required parameter 'activationId' is not null or undefined
163
+ assertParamExists('getJitActivationFrictionsV1', 'activationId', activationId);
164
+ if (xSailPointExperimental === undefined) {
165
+ xSailPointExperimental = 'true';
166
+ }
167
+ localVarPath = "/jit-activations/v1/{activationId}/frictions"
168
+ .replace("{".concat("activationId", "}"), encodeURIComponent(String(activationId)));
169
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
170
+ if (configuration) {
171
+ baseOptions = configuration.baseOptions;
172
+ }
173
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
174
+ localVarHeaderParameter = {};
175
+ localVarQueryParameter = {};
176
+ if (xSailPointExperimental != null) {
177
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
178
+ }
179
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
180
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
182
+ return [2 /*return*/, {
183
+ url: toPathString(localVarUrlObj),
184
+ axiosOptions: localVarRequestOptions,
185
+ }];
186
+ });
187
+ });
188
+ },
113
189
  /**
114
190
  * 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.
115
191
  * @summary List JIT activation history (self)
@@ -230,6 +306,51 @@ export var JITActivationsApiAxiosParamCreator = function (configuration) {
230
306
  });
231
307
  });
232
308
  },
309
+ /**
310
+ * 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.
311
+ * @summary Submit JIT activation friction
312
+ * @param {string} activationId Identifier of the activation.
313
+ * @param {JITActivationFrictionPatchRequest} jITActivationFrictionPatchRequest Submission for the current friction step.
314
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
315
+ * @param {*} [axiosOptions] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ patchJitActivationFrictionsV1: function (activationId, jITActivationFrictionPatchRequest, xSailPointExperimental, axiosOptions) {
319
+ if (axiosOptions === void 0) { axiosOptions = {}; }
320
+ return __awaiter(_this, void 0, void 0, function () {
321
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
322
+ return __generator(this, function (_a) {
323
+ // verify required parameter 'activationId' is not null or undefined
324
+ assertParamExists('patchJitActivationFrictionsV1', 'activationId', activationId);
325
+ // verify required parameter 'jITActivationFrictionPatchRequest' is not null or undefined
326
+ assertParamExists('patchJitActivationFrictionsV1', 'jITActivationFrictionPatchRequest', jITActivationFrictionPatchRequest);
327
+ if (xSailPointExperimental === undefined) {
328
+ xSailPointExperimental = 'true';
329
+ }
330
+ localVarPath = "/jit-activations/v1/{activationId}/frictions"
331
+ .replace("{".concat("activationId", "}"), encodeURIComponent(String(activationId)));
332
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
333
+ if (configuration) {
334
+ baseOptions = configuration.baseOptions;
335
+ }
336
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
337
+ localVarHeaderParameter = {};
338
+ localVarQueryParameter = {};
339
+ localVarHeaderParameter['Content-Type'] = 'application/json';
340
+ if (xSailPointExperimental != null) {
341
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
342
+ }
343
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
344
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
345
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
346
+ localVarRequestOptions.data = serializeDataIfNeeded(jITActivationFrictionPatchRequest, localVarRequestOptions, configuration);
347
+ return [2 /*return*/, {
348
+ url: toPathString(localVarUrlObj),
349
+ axiosOptions: localVarRequestOptions,
350
+ }];
351
+ });
352
+ });
353
+ },
233
354
  /**
234
355
  * 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.
235
356
  * @summary Start JIT activation workflow
@@ -362,6 +483,30 @@ export var JITActivationsApiAxiosParamCreator = function (configuration) {
362
483
  export var JITActivationsApiFp = function (configuration) {
363
484
  var localVarAxiosParamCreator = JITActivationsApiAxiosParamCreator(configuration);
364
485
  return {
486
+ /**
487
+ * 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.
488
+ * @summary Get JIT activation frictions
489
+ * @param {string} activationId Identifier of the activation.
490
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
491
+ * @param {*} [axiosOptions] Override http request option.
492
+ * @throws {RequiredError}
493
+ */
494
+ getJitActivationFrictionsV1: function (activationId, xSailPointExperimental, axiosOptions) {
495
+ var _a, _b, _c;
496
+ return __awaiter(this, void 0, void 0, function () {
497
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
498
+ return __generator(this, function (_d) {
499
+ switch (_d.label) {
500
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJitActivationFrictionsV1(activationId, xSailPointExperimental, axiosOptions)];
501
+ case 1:
502
+ localVarAxiosArgs = _d.sent();
503
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
504
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['JITActivationsApi.getJitActivationFrictionsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
505
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
506
+ }
507
+ });
508
+ });
509
+ },
365
510
  /**
366
511
  * 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.
367
512
  * @summary List JIT activation history (self)
@@ -420,6 +565,31 @@ export var JITActivationsApiFp = function (configuration) {
420
565
  });
421
566
  });
422
567
  },
568
+ /**
569
+ * 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.
570
+ * @summary Submit JIT activation friction
571
+ * @param {string} activationId Identifier of the activation.
572
+ * @param {JITActivationFrictionPatchRequest} jITActivationFrictionPatchRequest Submission for the current friction step.
573
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
574
+ * @param {*} [axiosOptions] Override http request option.
575
+ * @throws {RequiredError}
576
+ */
577
+ patchJitActivationFrictionsV1: function (activationId, jITActivationFrictionPatchRequest, xSailPointExperimental, axiosOptions) {
578
+ var _a, _b, _c;
579
+ return __awaiter(this, void 0, void 0, function () {
580
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
581
+ return __generator(this, function (_d) {
582
+ switch (_d.label) {
583
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchJitActivationFrictionsV1(activationId, jITActivationFrictionPatchRequest, xSailPointExperimental, axiosOptions)];
584
+ case 1:
585
+ localVarAxiosArgs = _d.sent();
586
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
587
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['JITActivationsApi.patchJitActivationFrictionsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
588
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
589
+ }
590
+ });
591
+ });
592
+ },
423
593
  /**
424
594
  * 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.
425
595
  * @summary Start JIT activation workflow
@@ -501,6 +671,16 @@ export var JITActivationsApiFp = function (configuration) {
501
671
  export var JITActivationsApiFactory = function (configuration, basePath, axios) {
502
672
  var localVarFp = JITActivationsApiFp(configuration);
503
673
  return {
674
+ /**
675
+ * 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.
676
+ * @summary Get JIT activation frictions
677
+ * @param {JITActivationsApiGetJitActivationFrictionsV1Request} requestParameters Request parameters.
678
+ * @param {*} [axiosOptions] Override http request option.
679
+ * @throws {RequiredError}
680
+ */
681
+ getJitActivationFrictionsV1: function (requestParameters, axiosOptions) {
682
+ return localVarFp.getJitActivationFrictionsV1(requestParameters.activationId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
683
+ },
504
684
  /**
505
685
  * 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.
506
686
  * @summary List JIT activation history (self)
@@ -523,6 +703,16 @@ export var JITActivationsApiFactory = function (configuration, basePath, axios)
523
703
  if (requestParameters === void 0) { requestParameters = {}; }
524
704
  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); });
525
705
  },
706
+ /**
707
+ * 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.
708
+ * @summary Submit JIT activation friction
709
+ * @param {JITActivationsApiPatchJitActivationFrictionsV1Request} requestParameters Request parameters.
710
+ * @param {*} [axiosOptions] Override http request option.
711
+ * @throws {RequiredError}
712
+ */
713
+ patchJitActivationFrictionsV1: function (requestParameters, axiosOptions) {
714
+ return localVarFp.patchJitActivationFrictionsV1(requestParameters.activationId, requestParameters.jITActivationFrictionPatchRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
715
+ },
526
716
  /**
527
717
  * 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.
528
718
  * @summary Start JIT activation workflow
@@ -566,6 +756,18 @@ var JITActivationsApi = /** @class */ (function (_super) {
566
756
  function JITActivationsApi() {
567
757
  return _super !== null && _super.apply(this, arguments) || this;
568
758
  }
759
+ /**
760
+ * 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.
761
+ * @summary Get JIT activation frictions
762
+ * @param {JITActivationsApiGetJitActivationFrictionsV1Request} requestParameters Request parameters.
763
+ * @param {*} [axiosOptions] Override http request option.
764
+ * @throws {RequiredError}
765
+ * @memberof JITActivationsApi
766
+ */
767
+ JITActivationsApi.prototype.getJitActivationFrictionsV1 = function (requestParameters, axiosOptions) {
768
+ var _this = this;
769
+ return JITActivationsApiFp(this.configuration).getJitActivationFrictionsV1(requestParameters.activationId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
770
+ };
569
771
  /**
570
772
  * 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.
571
773
  * @summary List JIT activation history (self)
@@ -592,6 +794,18 @@ var JITActivationsApi = /** @class */ (function (_super) {
592
794
  if (requestParameters === void 0) { requestParameters = {}; }
593
795
  return 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); });
594
796
  };
797
+ /**
798
+ * 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.
799
+ * @summary Submit JIT activation friction
800
+ * @param {JITActivationsApiPatchJitActivationFrictionsV1Request} requestParameters Request parameters.
801
+ * @param {*} [axiosOptions] Override http request option.
802
+ * @throws {RequiredError}
803
+ * @memberof JITActivationsApi
804
+ */
805
+ JITActivationsApi.prototype.patchJitActivationFrictionsV1 = function (requestParameters, axiosOptions) {
806
+ var _this = this;
807
+ return JITActivationsApiFp(this.configuration).patchJitActivationFrictionsV1(requestParameters.activationId, requestParameters.jITActivationFrictionPatchRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
808
+ };
595
809
  /**
596
810
  * 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.
597
811
  * @summary Start JIT activation workflow
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
246
246
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
247
247
  // not allow, which blocks the request outright.
248
248
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
249
- headers['X-SailPoint-SDK'] = 'typescript-2.2.35';
250
- userAgent = "SailPoint-SDK-TypeScript/2.2.35";
249
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.37';
250
+ userAgent = "SailPoint-SDK-TypeScript/2.2.37";
251
251
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
252
252
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
253
253
  }
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
246
246
  // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
247
247
  // not allow, which blocks the request outright.
248
248
  if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
249
- headers['X-SailPoint-SDK'] = 'typescript-2.2.35';
250
- userAgent = "SailPoint-SDK-TypeScript/2.2.35";
249
+ headers['X-SailPoint-SDK'] = 'typescript-2.2.37';
250
+ userAgent = "SailPoint-SDK-TypeScript/2.2.37";
251
251
  if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
252
252
  userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
253
253
  }
@@ -80,7 +80,7 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
80
80
  // @ts-ignore
81
81
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
82
82
  /**
83
- * Enum representing the currently supported indices. Additional values may be added in the future without notice.
83
+ * Enum representing the currently supported indices. Additional values may be added in the future without notice. The `*` value does not include the `workflowsummaries` index. To search workflow summaries, specify `workflowsummaries` explicitly.
84
84
  * @export
85
85
  * @enum {string}
86
86
  */
@@ -91,6 +91,7 @@ export var Index = {
91
91
  Events: 'events',
92
92
  Identities: 'identities',
93
93
  Roles: 'roles',
94
+ Workflowsummaries: 'workflowsummaries',
94
95
  Star: '*'
95
96
  };
96
97
  /**
@@ -126,7 +126,7 @@ export var FilterType = {
126
126
  Terms: 'TERMS'
127
127
  };
128
128
  /**
129
- * Enum representing the currently supported indices. Additional values may be added in the future without notice.
129
+ * Enum representing the currently supported indices. Additional values may be added in the future without notice. The `*` value does not include the `workflowsummaries` index. To search workflow summaries, specify `workflowsummaries` explicitly.
130
130
  * @export
131
131
  * @enum {string}
132
132
  */
@@ -137,6 +137,7 @@ export var Index = {
137
137
  Events: 'events',
138
138
  Identities: 'identities',
139
139
  Roles: 'roles',
140
+ Workflowsummaries: 'workflowsummaries',
140
141
  Star: '*'
141
142
  };
142
143
  /**
@@ -107,7 +107,7 @@ export var FilterType = {
107
107
  Terms: 'TERMS'
108
108
  };
109
109
  /**
110
- * Enum representing the currently supported indices. Additional values may be added in the future without notice.
110
+ * Enum representing the currently supported indices. Additional values may be added in the future without notice. The `*` value does not include the `workflowsummaries` index. To search workflow summaries, specify `workflowsummaries` explicitly.
111
111
  * @export
112
112
  * @enum {string}
113
113
  */
@@ -118,6 +118,7 @@ export var Index = {
118
118
  Events: 'events',
119
119
  Identities: 'identities',
120
120
  Roles: 'roles',
121
+ Workflowsummaries: 'workflowsummaries',
121
122
  Star: '*'
122
123
  };
123
124
  /**
@@ -252,7 +253,7 @@ export var SearchApiAxiosParamCreator = function (configuration) {
252
253
  /**
253
254
  * Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
254
255
  * @summary Get a document by id
255
- * @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*.
256
+ * @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, *roles*, and *workflowsummaries*.
256
257
  * @param {string} id ID of the requested document.
257
258
  * @param {*} [axiosOptions] Override http request option.
258
259
  * @throws {RequiredError}
@@ -393,7 +394,7 @@ export var SearchApiFp = function (configuration) {
393
394
  /**
394
395
  * Fetches a single document from the specified index, using the specified document ID. **Note:** Response fields with an underscore (`_`) prefix, such as `_type` and `_index`, are internal metadata fields. These fields are for SailPoint internal use only and are subject to change without notice. Do not rely on them in your integrations.
395
396
  * @summary Get a document by id
396
- * @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*.
397
+ * @param {SearchGetV1IndexEnum} index The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, *roles*, and *workflowsummaries*.
397
398
  * @param {string} id ID of the requested document.
398
399
  * @param {*} [axiosOptions] Override http request option.
399
400
  * @throws {RequiredError}
@@ -562,5 +563,6 @@ export var SearchGetV1IndexEnum = {
562
563
  Entitlements: 'entitlements',
563
564
  Events: 'events',
564
565
  Identities: 'identities',
565
- Roles: 'roles'
566
+ Roles: 'roles',
567
+ Workflowsummaries: 'workflowsummaries'
566
568
  };