sailpoint-api-client 1.7.13 → 1.7.14
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/beta/README.md +2 -2
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v2026/api.d.ts +64 -24
- package/dist/v2026/api.js +57 -32
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +1 -1
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +101 -36
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v2026/api.js
CHANGED
|
@@ -568,10 +568,12 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
568
568
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
569
569
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
570
570
|
* @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.
|
|
571
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
572
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
571
573
|
* @param {*} [axiosOptions] Override http request option.
|
|
572
574
|
* @throws {RequiredError}
|
|
573
575
|
*/
|
|
574
|
-
getAccountEntitlements: function (accountId, limit, offset, count, axiosOptions) {
|
|
576
|
+
getAccountEntitlements: function (accountId, limit, offset, count, searchAfter, sorters, axiosOptions) {
|
|
575
577
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
576
578
|
return __awaiter(_this, void 0, void 0, function () {
|
|
577
579
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -615,6 +617,12 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
615
617
|
if (count !== undefined) {
|
|
616
618
|
localVarQueryParameter['count'] = count;
|
|
617
619
|
}
|
|
620
|
+
if (searchAfter !== undefined) {
|
|
621
|
+
localVarQueryParameter['searchAfter'] = searchAfter;
|
|
622
|
+
}
|
|
623
|
+
if (sorters !== undefined) {
|
|
624
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
625
|
+
}
|
|
618
626
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
619
627
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
620
628
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -686,12 +694,13 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
686
694
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
687
695
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
688
696
|
* @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.
|
|
689
|
-
* @param {string} [
|
|
697
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
698
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
690
699
|
* @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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **tags**: *eq* **privilegeLevel.direct**: *eq*
|
|
691
700
|
* @param {*} [axiosOptions] Override http request option.
|
|
692
701
|
* @throws {RequiredError}
|
|
693
702
|
*/
|
|
694
|
-
listEntitlementChildren: function (id, limit, offset, count, sorters, filters, axiosOptions) {
|
|
703
|
+
listEntitlementChildren: function (id, limit, offset, count, searchAfter, sorters, filters, axiosOptions) {
|
|
695
704
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
696
705
|
return __awaiter(_this, void 0, void 0, function () {
|
|
697
706
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -735,6 +744,9 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
735
744
|
if (count !== undefined) {
|
|
736
745
|
localVarQueryParameter['count'] = count;
|
|
737
746
|
}
|
|
747
|
+
if (searchAfter !== undefined) {
|
|
748
|
+
localVarQueryParameter['searchAfter'] = searchAfter;
|
|
749
|
+
}
|
|
738
750
|
if (sorters !== undefined) {
|
|
739
751
|
localVarQueryParameter['sorters'] = sorters;
|
|
740
752
|
}
|
|
@@ -759,12 +771,13 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
759
771
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
760
772
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
761
773
|
* @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.
|
|
762
|
-
* @param {string} [
|
|
774
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
775
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
763
776
|
* @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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **tags**: *eq* **privilegeLevel.direct**: *eq*
|
|
764
777
|
* @param {*} [axiosOptions] Override http request option.
|
|
765
778
|
* @throws {RequiredError}
|
|
766
779
|
*/
|
|
767
|
-
listEntitlementParents: function (id, limit, offset, count, sorters, filters, axiosOptions) {
|
|
780
|
+
listEntitlementParents: function (id, limit, offset, count, searchAfter, sorters, filters, axiosOptions) {
|
|
768
781
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
769
782
|
return __awaiter(_this, void 0, void 0, function () {
|
|
770
783
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -808,6 +821,9 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
808
821
|
if (count !== undefined) {
|
|
809
822
|
localVarQueryParameter['count'] = count;
|
|
810
823
|
}
|
|
824
|
+
if (searchAfter !== undefined) {
|
|
825
|
+
localVarQueryParameter['searchAfter'] = searchAfter;
|
|
826
|
+
}
|
|
811
827
|
if (sorters !== undefined) {
|
|
812
828
|
localVarQueryParameter['sorters'] = sorters;
|
|
813
829
|
}
|
|
@@ -826,20 +842,21 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
826
842
|
});
|
|
827
843
|
},
|
|
828
844
|
/**
|
|
829
|
-
* This API returns a list of entitlements.
|
|
845
|
+
* This API returns a list of entitlements. Any authenticated token can call this API.
|
|
830
846
|
* @summary Gets a list of entitlements.
|
|
831
|
-
* @param {string} [segmentedForIdentity] If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID.
|
|
832
|
-
* @param {string} [forSegmentIds] If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs.
|
|
847
|
+
* @param {string} [segmentedForIdentity] If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID.
|
|
848
|
+
* @param {string} [forSegmentIds] If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs.
|
|
833
849
|
* @param {boolean} [includeUnsegmented] Whether or not the response list should contain unsegmented Entitlements. If **for-segment-ids** and **segmented-for-identity** are both absent or empty, specifying **include-unsegmented=false** results in an error.
|
|
834
850
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
835
851
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
836
852
|
* @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.
|
|
853
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
837
854
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
838
855
|
* @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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **tags**: *eq* **privilegeLevel.direct**: *eq*
|
|
839
856
|
* @param {*} [axiosOptions] Override http request option.
|
|
840
857
|
* @throws {RequiredError}
|
|
841
858
|
*/
|
|
842
|
-
listEntitlements: function (segmentedForIdentity, forSegmentIds, includeUnsegmented, offset, limit, count, sorters, filters, axiosOptions) {
|
|
859
|
+
listEntitlements: function (segmentedForIdentity, forSegmentIds, includeUnsegmented, offset, limit, count, searchAfter, sorters, filters, axiosOptions) {
|
|
843
860
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
844
861
|
return __awaiter(_this, void 0, void 0, function () {
|
|
845
862
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -889,6 +906,9 @@ var EntitlementsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
889
906
|
if (count !== undefined) {
|
|
890
907
|
localVarQueryParameter['count'] = count;
|
|
891
908
|
}
|
|
909
|
+
if (searchAfter !== undefined) {
|
|
910
|
+
localVarQueryParameter['searchAfter'] = searchAfter;
|
|
911
|
+
}
|
|
892
912
|
if (sorters !== undefined) {
|
|
893
913
|
localVarQueryParameter['sorters'] = sorters;
|
|
894
914
|
}
|
|
@@ -1033,16 +1053,18 @@ var EntitlementsV2026ApiFp = function (configuration) {
|
|
|
1033
1053
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1034
1054
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1035
1055
|
* @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.
|
|
1056
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
1057
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
1036
1058
|
* @param {*} [axiosOptions] Override http request option.
|
|
1037
1059
|
* @throws {RequiredError}
|
|
1038
1060
|
*/
|
|
1039
|
-
getAccountEntitlements: function (accountId, limit, offset, count, axiosOptions) {
|
|
1061
|
+
getAccountEntitlements: function (accountId, limit, offset, count, searchAfter, sorters, axiosOptions) {
|
|
1040
1062
|
var _a, _b, _c;
|
|
1041
1063
|
return __awaiter(this, void 0, void 0, function () {
|
|
1042
1064
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1043
1065
|
return __generator(this, function (_d) {
|
|
1044
1066
|
switch (_d.label) {
|
|
1045
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountEntitlements(accountId, limit, offset, count, axiosOptions)];
|
|
1067
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountEntitlements(accountId, limit, offset, count, searchAfter, sorters, axiosOptions)];
|
|
1046
1068
|
case 1:
|
|
1047
1069
|
localVarAxiosArgs = _d.sent();
|
|
1048
1070
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1082,18 +1104,19 @@ var EntitlementsV2026ApiFp = function (configuration) {
|
|
|
1082
1104
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1083
1105
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1084
1106
|
* @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.
|
|
1085
|
-
* @param {string} [
|
|
1107
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
1108
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
1086
1109
|
* @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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **tags**: *eq* **privilegeLevel.direct**: *eq*
|
|
1087
1110
|
* @param {*} [axiosOptions] Override http request option.
|
|
1088
1111
|
* @throws {RequiredError}
|
|
1089
1112
|
*/
|
|
1090
|
-
listEntitlementChildren: function (id, limit, offset, count, sorters, filters, axiosOptions) {
|
|
1113
|
+
listEntitlementChildren: function (id, limit, offset, count, searchAfter, sorters, filters, axiosOptions) {
|
|
1091
1114
|
var _a, _b, _c;
|
|
1092
1115
|
return __awaiter(this, void 0, void 0, function () {
|
|
1093
1116
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1094
1117
|
return __generator(this, function (_d) {
|
|
1095
1118
|
switch (_d.label) {
|
|
1096
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listEntitlementChildren(id, limit, offset, count, sorters, filters, axiosOptions)];
|
|
1119
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listEntitlementChildren(id, limit, offset, count, searchAfter, sorters, filters, axiosOptions)];
|
|
1097
1120
|
case 1:
|
|
1098
1121
|
localVarAxiosArgs = _d.sent();
|
|
1099
1122
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1110,18 +1133,19 @@ var EntitlementsV2026ApiFp = function (configuration) {
|
|
|
1110
1133
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1111
1134
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1112
1135
|
* @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.
|
|
1113
|
-
* @param {string} [
|
|
1136
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
1137
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
1114
1138
|
* @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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **tags**: *eq* **privilegeLevel.direct**: *eq*
|
|
1115
1139
|
* @param {*} [axiosOptions] Override http request option.
|
|
1116
1140
|
* @throws {RequiredError}
|
|
1117
1141
|
*/
|
|
1118
|
-
listEntitlementParents: function (id, limit, offset, count, sorters, filters, axiosOptions) {
|
|
1142
|
+
listEntitlementParents: function (id, limit, offset, count, searchAfter, sorters, filters, axiosOptions) {
|
|
1119
1143
|
var _a, _b, _c;
|
|
1120
1144
|
return __awaiter(this, void 0, void 0, function () {
|
|
1121
1145
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1122
1146
|
return __generator(this, function (_d) {
|
|
1123
1147
|
switch (_d.label) {
|
|
1124
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listEntitlementParents(id, limit, offset, count, sorters, filters, axiosOptions)];
|
|
1148
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listEntitlementParents(id, limit, offset, count, searchAfter, sorters, filters, axiosOptions)];
|
|
1125
1149
|
case 1:
|
|
1126
1150
|
localVarAxiosArgs = _d.sent();
|
|
1127
1151
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1132,26 +1156,27 @@ var EntitlementsV2026ApiFp = function (configuration) {
|
|
|
1132
1156
|
});
|
|
1133
1157
|
},
|
|
1134
1158
|
/**
|
|
1135
|
-
* This API returns a list of entitlements.
|
|
1159
|
+
* This API returns a list of entitlements. Any authenticated token can call this API.
|
|
1136
1160
|
* @summary Gets a list of entitlements.
|
|
1137
|
-
* @param {string} [segmentedForIdentity] If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID.
|
|
1138
|
-
* @param {string} [forSegmentIds] If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs.
|
|
1161
|
+
* @param {string} [segmentedForIdentity] If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID.
|
|
1162
|
+
* @param {string} [forSegmentIds] If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs.
|
|
1139
1163
|
* @param {boolean} [includeUnsegmented] Whether or not the response list should contain unsegmented Entitlements. If **for-segment-ids** and **segmented-for-identity** are both absent or empty, specifying **include-unsegmented=false** results in an error.
|
|
1140
1164
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1141
1165
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1142
1166
|
* @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.
|
|
1167
|
+
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \"Account Payable\", then using that name and ID will start a new search after this entitlement.
|
|
1143
1168
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, created, modified, type, attribute, value, source.id, requestable**
|
|
1144
1169
|
* @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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **tags**: *eq* **privilegeLevel.direct**: *eq*
|
|
1145
1170
|
* @param {*} [axiosOptions] Override http request option.
|
|
1146
1171
|
* @throws {RequiredError}
|
|
1147
1172
|
*/
|
|
1148
|
-
listEntitlements: function (segmentedForIdentity, forSegmentIds, includeUnsegmented, offset, limit, count, sorters, filters, axiosOptions) {
|
|
1173
|
+
listEntitlements: function (segmentedForIdentity, forSegmentIds, includeUnsegmented, offset, limit, count, searchAfter, sorters, filters, axiosOptions) {
|
|
1149
1174
|
var _a, _b, _c;
|
|
1150
1175
|
return __awaiter(this, void 0, void 0, function () {
|
|
1151
1176
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1152
1177
|
return __generator(this, function (_d) {
|
|
1153
1178
|
switch (_d.label) {
|
|
1154
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listEntitlements(segmentedForIdentity, forSegmentIds, includeUnsegmented, offset, limit, count, sorters, filters, axiosOptions)];
|
|
1179
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listEntitlements(segmentedForIdentity, forSegmentIds, includeUnsegmented, offset, limit, count, searchAfter, sorters, filters, axiosOptions)];
|
|
1155
1180
|
case 1:
|
|
1156
1181
|
localVarAxiosArgs = _d.sent();
|
|
1157
1182
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1226,7 +1251,7 @@ var EntitlementsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
1226
1251
|
* @throws {RequiredError}
|
|
1227
1252
|
*/
|
|
1228
1253
|
getAccountEntitlements: function (requestParameters, axiosOptions) {
|
|
1229
|
-
return localVarFp.getAccountEntitlements(requestParameters.accountId, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1254
|
+
return localVarFp.getAccountEntitlements(requestParameters.accountId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1230
1255
|
},
|
|
1231
1256
|
/**
|
|
1232
1257
|
* This API returns an entitlement by its ID.
|
|
@@ -1246,7 +1271,7 @@ var EntitlementsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
1246
1271
|
* @throws {RequiredError}
|
|
1247
1272
|
*/
|
|
1248
1273
|
listEntitlementChildren: function (requestParameters, axiosOptions) {
|
|
1249
|
-
return localVarFp.listEntitlementChildren(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1274
|
+
return localVarFp.listEntitlementChildren(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1250
1275
|
},
|
|
1251
1276
|
/**
|
|
1252
1277
|
* This API returns a list of all parent entitlements of a given entitlement.
|
|
@@ -1256,10 +1281,10 @@ var EntitlementsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
1256
1281
|
* @throws {RequiredError}
|
|
1257
1282
|
*/
|
|
1258
1283
|
listEntitlementParents: function (requestParameters, axiosOptions) {
|
|
1259
|
-
return localVarFp.listEntitlementParents(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1284
|
+
return localVarFp.listEntitlementParents(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1260
1285
|
},
|
|
1261
1286
|
/**
|
|
1262
|
-
* This API returns a list of entitlements.
|
|
1287
|
+
* This API returns a list of entitlements. Any authenticated token can call this API.
|
|
1263
1288
|
* @summary Gets a list of entitlements.
|
|
1264
1289
|
* @param {EntitlementsV2026ApiListEntitlementsRequest} requestParameters Request parameters.
|
|
1265
1290
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -1267,7 +1292,7 @@ var EntitlementsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
1267
1292
|
*/
|
|
1268
1293
|
listEntitlements: function (requestParameters, axiosOptions) {
|
|
1269
1294
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1270
|
-
return localVarFp.listEntitlements(requestParameters.segmentedForIdentity, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1295
|
+
return localVarFp.listEntitlements(requestParameters.segmentedForIdentity, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1271
1296
|
},
|
|
1272
1297
|
/**
|
|
1273
1298
|
* This API updates an existing entitlement using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. The following fields are patchable: **requestable**, **segments**, **privilegeOverride/level**, **owner**, **name**, **description**, and **manuallyUpdatedFields** When you\'re patching owner, only owner type and owner id must be provided. Owner name is optional, and it won\'t be modified. If the owner name is provided, it should correspond to the real name. The only owner type currently supported is IDENTITY.
|
|
@@ -1313,7 +1338,7 @@ var EntitlementsV2026Api = /** @class */ (function (_super) {
|
|
|
1313
1338
|
*/
|
|
1314
1339
|
EntitlementsV2026Api.prototype.getAccountEntitlements = function (requestParameters, axiosOptions) {
|
|
1315
1340
|
var _this = this;
|
|
1316
|
-
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).getAccountEntitlements(requestParameters.accountId, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1341
|
+
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).getAccountEntitlements(requestParameters.accountId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1317
1342
|
};
|
|
1318
1343
|
/**
|
|
1319
1344
|
* This API returns an entitlement by its ID.
|
|
@@ -1337,7 +1362,7 @@ var EntitlementsV2026Api = /** @class */ (function (_super) {
|
|
|
1337
1362
|
*/
|
|
1338
1363
|
EntitlementsV2026Api.prototype.listEntitlementChildren = function (requestParameters, axiosOptions) {
|
|
1339
1364
|
var _this = this;
|
|
1340
|
-
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).listEntitlementChildren(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1365
|
+
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).listEntitlementChildren(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1341
1366
|
};
|
|
1342
1367
|
/**
|
|
1343
1368
|
* This API returns a list of all parent entitlements of a given entitlement.
|
|
@@ -1349,10 +1374,10 @@ var EntitlementsV2026Api = /** @class */ (function (_super) {
|
|
|
1349
1374
|
*/
|
|
1350
1375
|
EntitlementsV2026Api.prototype.listEntitlementParents = function (requestParameters, axiosOptions) {
|
|
1351
1376
|
var _this = this;
|
|
1352
|
-
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).listEntitlementParents(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1377
|
+
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).listEntitlementParents(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1353
1378
|
};
|
|
1354
1379
|
/**
|
|
1355
|
-
* This API returns a list of entitlements.
|
|
1380
|
+
* This API returns a list of entitlements. Any authenticated token can call this API.
|
|
1356
1381
|
* @summary Gets a list of entitlements.
|
|
1357
1382
|
* @param {EntitlementsV2026ApiListEntitlementsRequest} requestParameters Request parameters.
|
|
1358
1383
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -1362,7 +1387,7 @@ var EntitlementsV2026Api = /** @class */ (function (_super) {
|
|
|
1362
1387
|
EntitlementsV2026Api.prototype.listEntitlements = function (requestParameters, axiosOptions) {
|
|
1363
1388
|
var _this = this;
|
|
1364
1389
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1365
|
-
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).listEntitlements(requestParameters.segmentedForIdentity, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1390
|
+
return (0, exports.EntitlementsV2026ApiFp)(this.configuration).listEntitlements(requestParameters.segmentedForIdentity, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.sorters, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1366
1391
|
};
|
|
1367
1392
|
/**
|
|
1368
1393
|
* This API updates an existing entitlement using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. The following fields are patchable: **requestable**, **segments**, **privilegeOverride/level**, **owner**, **name**, **description**, and **manuallyUpdatedFields** When you\'re patching owner, only owner type and owner id must be provided. Owner name is optional, and it won\'t be modified. If the owner name is provided, it should correspond to the real name. The only owner type currently supported is IDENTITY.
|