@sailpoint/api-client 2.2.20 → 2.2.22
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/esm/intelligence/api.js +18 -13
- package/dist/esm/machine_account_mappings/api.js +1 -1
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/work_reassignment/api.js +10 -5
- package/dist/intelligence/api.d.ts +39 -14
- package/dist/intelligence/api.js +18 -13
- package/dist/intelligence/api.js.map +1 -1
- package/dist/machine_account_mappings/api.js +1 -1
- package/dist/machine_account_mappings/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/work_reassignment/api.d.ts +10 -2
- package/dist/work_reassignment/api.js +10 -5
- package/dist/work_reassignment/api.js.map +1 -1
- package/package.json +1 -1
package/dist/intelligence/api.js
CHANGED
|
@@ -202,7 +202,7 @@ var IntelligenceApiAxiosParamCreator = function (configuration) {
|
|
|
202
202
|
});
|
|
203
203
|
},
|
|
204
204
|
/**
|
|
205
|
-
* Requires tenant license idn:response-and-remediation. **
|
|
205
|
+
* Requires tenant license idn:response-and-remediation. **Caution:** When Data Segmentation is enabled, generic API Management API keys are not tied to a user identity and may fail or return incomplete data. Use a [personal access token](https://developer.sailpoint.com/docs/api/authentication/#generate-a-personal-access-token) or other user-scoped OAuth token. See [API keys](https://documentation.sailpoint.com/saas/help/common/api_keys.html) and [Data Segmentation](https://documentation.sailpoint.com/saas/help/segmentation/index.html). Resolves exactly one identity using a single SCIM-style filters expression. Returns an enriched Human or non-human identity (NHI) envelope. Single-clause filters only; unsupported fields or operators return HTTP 400.
|
|
206
206
|
* @summary Get identity by filter
|
|
207
207
|
* @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: **id**: *eq* **email**: *eq* **opaqueIdentifier**: *eq*
|
|
208
208
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -282,16 +282,17 @@ var IntelligenceApiAxiosParamCreator = function (configuration) {
|
|
|
282
282
|
});
|
|
283
283
|
},
|
|
284
284
|
/**
|
|
285
|
-
* Continuation endpoint for
|
|
285
|
+
* Continuation endpoint for `accounts.next`. Pass `count=true` for `X-Total-Count`. - Human (default): omit `isNHI` or set it to `false`. Slice object (`items`). - Non-human identity (NHI): set `isNHI=true` (required for NHI aggregate `accounts.next` links). Bare JSON array.
|
|
286
286
|
* @summary List identity accounts
|
|
287
287
|
* @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
|
|
288
288
|
* @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
|
|
289
289
|
* @param {number} [offset] Zero-based page offset. Defaults to 0.
|
|
290
290
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
291
|
+
* @param {boolean} [isNHI] NHI accounts when `true` (bare array). Human accounts when omitted or `false` (slice object).
|
|
291
292
|
* @param {*} [axiosOptions] Override http request option.
|
|
292
293
|
* @throws {RequiredError}
|
|
293
294
|
*/
|
|
294
|
-
getIntelIdentityAccountsV1: function (id, limit, offset, count, axiosOptions) {
|
|
295
|
+
getIntelIdentityAccountsV1: function (id, limit, offset, count, isNHI, axiosOptions) {
|
|
295
296
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
296
297
|
return __awaiter(_this, void 0, void 0, function () {
|
|
297
298
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -316,6 +317,9 @@ var IntelligenceApiAxiosParamCreator = function (configuration) {
|
|
|
316
317
|
if (count !== undefined) {
|
|
317
318
|
localVarQueryParameter['count'] = count;
|
|
318
319
|
}
|
|
320
|
+
if (isNHI !== undefined) {
|
|
321
|
+
localVarQueryParameter['isNHI'] = isNHI;
|
|
322
|
+
}
|
|
319
323
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
320
324
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
325
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -536,7 +540,7 @@ var IntelligenceApiFp = function (configuration) {
|
|
|
536
540
|
});
|
|
537
541
|
},
|
|
538
542
|
/**
|
|
539
|
-
* Requires tenant license idn:response-and-remediation. **
|
|
543
|
+
* Requires tenant license idn:response-and-remediation. **Caution:** When Data Segmentation is enabled, generic API Management API keys are not tied to a user identity and may fail or return incomplete data. Use a [personal access token](https://developer.sailpoint.com/docs/api/authentication/#generate-a-personal-access-token) or other user-scoped OAuth token. See [API keys](https://documentation.sailpoint.com/saas/help/common/api_keys.html) and [Data Segmentation](https://documentation.sailpoint.com/saas/help/segmentation/index.html). Resolves exactly one identity using a single SCIM-style filters expression. Returns an enriched Human or non-human identity (NHI) envelope. Single-clause filters only; unsupported fields or operators return HTTP 400.
|
|
540
544
|
* @summary Get identity by filter
|
|
541
545
|
* @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: **id**: *eq* **email**: *eq* **opaqueIdentifier**: *eq*
|
|
542
546
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -585,22 +589,23 @@ var IntelligenceApiFp = function (configuration) {
|
|
|
585
589
|
});
|
|
586
590
|
},
|
|
587
591
|
/**
|
|
588
|
-
* Continuation endpoint for
|
|
592
|
+
* Continuation endpoint for `accounts.next`. Pass `count=true` for `X-Total-Count`. - Human (default): omit `isNHI` or set it to `false`. Slice object (`items`). - Non-human identity (NHI): set `isNHI=true` (required for NHI aggregate `accounts.next` links). Bare JSON array.
|
|
589
593
|
* @summary List identity accounts
|
|
590
594
|
* @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
|
|
591
595
|
* @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
|
|
592
596
|
* @param {number} [offset] Zero-based page offset. Defaults to 0.
|
|
593
597
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
598
|
+
* @param {boolean} [isNHI] NHI accounts when `true` (bare array). Human accounts when omitted or `false` (slice object).
|
|
594
599
|
* @param {*} [axiosOptions] Override http request option.
|
|
595
600
|
* @throws {RequiredError}
|
|
596
601
|
*/
|
|
597
|
-
getIntelIdentityAccountsV1: function (id, limit, offset, count, axiosOptions) {
|
|
602
|
+
getIntelIdentityAccountsV1: function (id, limit, offset, count, isNHI, axiosOptions) {
|
|
598
603
|
var _a, _b, _c;
|
|
599
604
|
return __awaiter(this, void 0, void 0, function () {
|
|
600
605
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
601
606
|
return __generator(this, function (_d) {
|
|
602
607
|
switch (_d.label) {
|
|
603
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIntelIdentityAccountsV1(id, limit, offset, count, axiosOptions)];
|
|
608
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIntelIdentityAccountsV1(id, limit, offset, count, isNHI, axiosOptions)];
|
|
604
609
|
case 1:
|
|
605
610
|
localVarAxiosArgs = _d.sent();
|
|
606
611
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -734,7 +739,7 @@ var IntelligenceApiFactory = function (configuration, basePath, axios) {
|
|
|
734
739
|
return localVarFp.createResponseActionV1(requestParameters.responseactioncreaterequest, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
735
740
|
},
|
|
736
741
|
/**
|
|
737
|
-
* Requires tenant license idn:response-and-remediation. **
|
|
742
|
+
* Requires tenant license idn:response-and-remediation. **Caution:** When Data Segmentation is enabled, generic API Management API keys are not tied to a user identity and may fail or return incomplete data. Use a [personal access token](https://developer.sailpoint.com/docs/api/authentication/#generate-a-personal-access-token) or other user-scoped OAuth token. See [API keys](https://documentation.sailpoint.com/saas/help/common/api_keys.html) and [Data Segmentation](https://documentation.sailpoint.com/saas/help/segmentation/index.html). Resolves exactly one identity using a single SCIM-style filters expression. Returns an enriched Human or non-human identity (NHI) envelope. Single-clause filters only; unsupported fields or operators return HTTP 400.
|
|
738
743
|
* @summary Get identity by filter
|
|
739
744
|
* @param {IntelligenceApiGetIdentityIntelligenceV1Request} requestParameters Request parameters.
|
|
740
745
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -754,14 +759,14 @@ var IntelligenceApiFactory = function (configuration, basePath, axios) {
|
|
|
754
759
|
return localVarFp.getIntelIdentityAccessItemHistoryV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
755
760
|
},
|
|
756
761
|
/**
|
|
757
|
-
* Continuation endpoint for
|
|
762
|
+
* Continuation endpoint for `accounts.next`. Pass `count=true` for `X-Total-Count`. - Human (default): omit `isNHI` or set it to `false`. Slice object (`items`). - Non-human identity (NHI): set `isNHI=true` (required for NHI aggregate `accounts.next` links). Bare JSON array.
|
|
758
763
|
* @summary List identity accounts
|
|
759
764
|
* @param {IntelligenceApiGetIntelIdentityAccountsV1Request} requestParameters Request parameters.
|
|
760
765
|
* @param {*} [axiosOptions] Override http request option.
|
|
761
766
|
* @throws {RequiredError}
|
|
762
767
|
*/
|
|
763
768
|
getIntelIdentityAccountsV1: function (requestParameters, axiosOptions) {
|
|
764
|
-
return localVarFp.getIntelIdentityAccountsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
769
|
+
return localVarFp.getIntelIdentityAccountsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.isNHI, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
765
770
|
},
|
|
766
771
|
/**
|
|
767
772
|
* Continuation endpoint for the parent response\'s `accessHistory.certifications.next` link. Returns one page of certification history events for the supplied limit and offset values. Pass `count=true` to receive `X-Total-Count` (including `0` on empty pages). Per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation. Not applicable to non-human identities.
|
|
@@ -830,7 +835,7 @@ var IntelligenceApi = /** @class */ (function (_super) {
|
|
|
830
835
|
return (0, exports.IntelligenceApiFp)(this.configuration).createResponseActionV1(requestParameters.responseactioncreaterequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
831
836
|
};
|
|
832
837
|
/**
|
|
833
|
-
* Requires tenant license idn:response-and-remediation. **
|
|
838
|
+
* Requires tenant license idn:response-and-remediation. **Caution:** When Data Segmentation is enabled, generic API Management API keys are not tied to a user identity and may fail or return incomplete data. Use a [personal access token](https://developer.sailpoint.com/docs/api/authentication/#generate-a-personal-access-token) or other user-scoped OAuth token. See [API keys](https://documentation.sailpoint.com/saas/help/common/api_keys.html) and [Data Segmentation](https://documentation.sailpoint.com/saas/help/segmentation/index.html). Resolves exactly one identity using a single SCIM-style filters expression. Returns an enriched Human or non-human identity (NHI) envelope. Single-clause filters only; unsupported fields or operators return HTTP 400.
|
|
834
839
|
* @summary Get identity by filter
|
|
835
840
|
* @param {IntelligenceApiGetIdentityIntelligenceV1Request} requestParameters Request parameters.
|
|
836
841
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -854,7 +859,7 @@ var IntelligenceApi = /** @class */ (function (_super) {
|
|
|
854
859
|
return (0, exports.IntelligenceApiFp)(this.configuration).getIntelIdentityAccessItemHistoryV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
855
860
|
};
|
|
856
861
|
/**
|
|
857
|
-
* Continuation endpoint for
|
|
862
|
+
* Continuation endpoint for `accounts.next`. Pass `count=true` for `X-Total-Count`. - Human (default): omit `isNHI` or set it to `false`. Slice object (`items`). - Non-human identity (NHI): set `isNHI=true` (required for NHI aggregate `accounts.next` links). Bare JSON array.
|
|
858
863
|
* @summary List identity accounts
|
|
859
864
|
* @param {IntelligenceApiGetIntelIdentityAccountsV1Request} requestParameters Request parameters.
|
|
860
865
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -863,7 +868,7 @@ var IntelligenceApi = /** @class */ (function (_super) {
|
|
|
863
868
|
*/
|
|
864
869
|
IntelligenceApi.prototype.getIntelIdentityAccountsV1 = function (requestParameters, axiosOptions) {
|
|
865
870
|
var _this = this;
|
|
866
|
-
return (0, exports.IntelligenceApiFp)(this.configuration).getIntelIdentityAccountsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
871
|
+
return (0, exports.IntelligenceApiFp)(this.configuration).getIntelIdentityAccountsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.isNHI, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
867
872
|
};
|
|
868
873
|
/**
|
|
869
874
|
* Continuation endpoint for the parent response\'s `accessHistory.certifications.next` link. Returns one page of certification history events for the supplied limit and offset values. Pass `count=true` to receive `X-Total-Count` (including `0` on empty pages). Per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation. Not applicable to non-human identities.
|