@sailpoint/api-client 2.2.48 → 2.2.50

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.
Files changed (65) hide show
  1. package/dist/accounts/api.d.ts +504 -0
  2. package/dist/accounts/api.js +146 -1
  3. package/dist/accounts/api.js.map +1 -1
  4. package/dist/esm/accounts/api.js +145 -0
  5. package/dist/esm/generic/api.js +262 -335
  6. package/dist/esm/generic/base.js +4 -4
  7. package/dist/esm/generic/common.js +44 -31
  8. package/dist/esm/generic/configuration.js +3 -3
  9. package/dist/esm/generic/index.js +3 -3
  10. package/dist/esm/index.js +3 -0
  11. package/dist/esm/machine_identities_lifecycle_actions/api.js +5 -5
  12. package/dist/esm/machine_identities_lifecycle_actions/base.js +1 -1
  13. package/dist/esm/machine_identities_lifecycle_actions/common.js +1 -1
  14. package/dist/esm/machine_identities_lifecycle_actions/configuration.js +1 -1
  15. package/dist/esm/machine_identities_lifecycle_actions/index.js +1 -1
  16. package/dist/esm/nerm/common.js +2 -2
  17. package/dist/esm/nermv2025/common.js +2 -2
  18. package/dist/esm/workflows/api.js +33 -7
  19. package/dist/generic/api.d.ts +166 -177
  20. package/dist/generic/api.js +265 -338
  21. package/dist/generic/api.js.map +1 -1
  22. package/dist/generic/base.d.ts +3 -3
  23. package/dist/generic/base.js +4 -4
  24. package/dist/generic/base.js.map +1 -1
  25. package/dist/generic/common.d.ts +4 -4
  26. package/dist/generic/common.js +44 -31
  27. package/dist/generic/common.js.map +1 -1
  28. package/dist/generic/configuration.d.ts +3 -3
  29. package/dist/generic/configuration.js +3 -3
  30. package/dist/generic/configuration.js.map +1 -1
  31. package/dist/generic/index.d.ts +3 -3
  32. package/dist/generic/index.js +3 -3
  33. package/dist/generic/index.js.map +1 -1
  34. package/dist/generic.spec.d.ts +1 -0
  35. package/dist/generic.spec.js +133 -0
  36. package/dist/generic.spec.js.map +1 -0
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.js +5 -1
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.spec.js +40 -0
  41. package/dist/index.spec.js.map +1 -1
  42. package/dist/machine_identities_lifecycle_actions/api.d.ts +5 -5
  43. package/dist/machine_identities_lifecycle_actions/api.js +5 -5
  44. package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
  45. package/dist/machine_identities_lifecycle_actions/base.d.ts +1 -1
  46. package/dist/machine_identities_lifecycle_actions/base.js +1 -1
  47. package/dist/machine_identities_lifecycle_actions/base.js.map +1 -1
  48. package/dist/machine_identities_lifecycle_actions/common.d.ts +1 -1
  49. package/dist/machine_identities_lifecycle_actions/common.js +1 -1
  50. package/dist/machine_identities_lifecycle_actions/common.js.map +1 -1
  51. package/dist/machine_identities_lifecycle_actions/configuration.d.ts +1 -1
  52. package/dist/machine_identities_lifecycle_actions/configuration.js +1 -1
  53. package/dist/machine_identities_lifecycle_actions/configuration.js.map +1 -1
  54. package/dist/machine_identities_lifecycle_actions/index.d.ts +1 -1
  55. package/dist/machine_identities_lifecycle_actions/index.js +1 -1
  56. package/dist/machine_identities_lifecycle_actions/index.js.map +1 -1
  57. package/dist/nerm/common.js +2 -2
  58. package/dist/nerm/common.js.map +1 -1
  59. package/dist/nermv2025/common.js +2 -2
  60. package/dist/nermv2025/common.js.map +1 -1
  61. package/dist/workflows/api.d.ts +62 -4
  62. package/dist/workflows/api.js +34 -8
  63. package/dist/workflows/api.js.map +1 -1
  64. package/package.json +3 -2
  65. package/sailpoint-scopes.json +16392 -0
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.ListAccountsV1DetailLevelEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.TaskResultDtoTypeEnum = exports.RecommendationMethodEnum = exports.RecommendationTypeEnum = exports.LocaleOrigin = exports.EntitlementOwnerTypeEnum = exports.DtoType = exports.AdditionalOwnerRefTypeEnum = exports.AccountAllOfSourceOwnerTypeEnum = exports.AccountAllOfRecommendationMethodEnum = exports.AccountAllOfRecommendationTypeEnum = exports.AccountAllOfIdentityTypeEnum = exports.AccountOriginEnum = void 0;
81
+ exports.ListAccountsV1DetailLevelEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.TaskResultDtoTypeEnum = exports.RecommendationMethodEnum = exports.RecommendationTypeEnum = exports.LocaleOrigin = exports.EntitlementOwnerTypeEnum = exports.DtoType = exports.AdditionalOwnerRefTypeEnum = exports.AccountV2SourceTypeEnum = exports.AccountV2RecommendationMethodEnum = exports.AccountV2RecommendationTypeEnum = exports.AccountV2OwnerTypeEnum = exports.AccountV2IdentityTypeEnum = exports.AccountV2CorrelatedIdentityTypeEnum = exports.AccountV2ClassificationMethodEnum = exports.AccountV2OriginEnum = exports.AccountAllOfSourceOwnerTypeEnum = exports.AccountAllOfRecommendationMethodEnum = exports.AccountAllOfRecommendationTypeEnum = exports.AccountAllOfIdentityTypeEnum = exports.AccountOriginEnum = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -104,6 +104,38 @@ exports.AccountAllOfRecommendationMethodEnum = {
104
104
  exports.AccountAllOfSourceOwnerTypeEnum = {
105
105
  Identity: 'IDENTITY'
106
106
  };
107
+ exports.AccountV2OriginEnum = {
108
+ Aggregated: 'AGGREGATED',
109
+ Provisioned: 'PROVISIONED'
110
+ };
111
+ exports.AccountV2ClassificationMethodEnum = {
112
+ Criteria: 'CRITERIA',
113
+ Source: 'SOURCE',
114
+ Discovery: 'DISCOVERY',
115
+ Manual: 'MANUAL',
116
+ ManuallyUnclassified: 'MANUALLY_UNCLASSIFIED'
117
+ };
118
+ exports.AccountV2CorrelatedIdentityTypeEnum = {
119
+ Identity: 'IDENTITY'
120
+ };
121
+ exports.AccountV2IdentityTypeEnum = {
122
+ Identity: 'IDENTITY'
123
+ };
124
+ exports.AccountV2OwnerTypeEnum = {
125
+ Identity: 'IDENTITY'
126
+ };
127
+ exports.AccountV2RecommendationTypeEnum = {
128
+ Human: 'HUMAN',
129
+ Machine: 'MACHINE'
130
+ };
131
+ exports.AccountV2RecommendationMethodEnum = {
132
+ Discovery: 'DISCOVERY',
133
+ Source: 'SOURCE',
134
+ Criteria: 'CRITERIA'
135
+ };
136
+ exports.AccountV2SourceTypeEnum = {
137
+ Source: 'SOURCE'
138
+ };
107
139
  exports.AdditionalOwnerRefTypeEnum = {
108
140
  Identity: 'IDENTITY',
109
141
  GovernanceGroup: 'GOVERNANCE_GROUP'
@@ -616,6 +648,66 @@ var AccountsApiAxiosParamCreator = function (configuration) {
616
648
  });
617
649
  });
618
650
  },
651
+ /**
652
+ * List accounts from the accounts search index. Use standard collection parameters for paging (`limit`, `offset`, `count`). Default page size is 25 when no collection parameters are sent. Maximum `limit` is 250. Requests that specify a larger `limit` are capped at 250. `offset + limit` cannot exceed 10,000. To page beyond that window, use `searchAfter` instead of a large offset. `searchAfter` cannot be combined with `offset`. Always include `id` in `sorters` when using `searchAfter`. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information.
653
+ * @summary List accounts (search)
654
+ * @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
655
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
656
+ * @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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
657
+ * @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 page beyond the offset limit of 10,000 records by shifting the search window to begin at this value. `searchAfter` cannot be combined with `offset`. When `searchAfter` is provided, `id` must be included in `sorters`. It is recommended that you always include the ID of the object in addition to any other sort fields 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. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
658
+ * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **name**: *eq, in, sw, isnull, pr* **uuid**: *eq, in, sw, isnull, pr* **nativeIdentity**: *eq, in, sw, isnull, pr* **description**: *eq, in, sw, isnull, pr* **type**: *eq, ne* **recommendation.type**: *eq, in, sw, isnull, pr* **recommendation.method**: *eq, in, sw, isnull, pr* **locked**: *eq* **disabled**: *eq* **hasEntitlements**: *eq* **manuallyCorrelated**: *eq* **privilegeLevel.effective**: *eq, in, isnull, pr* **correlated**: *eq* **classificationMethod**: *eq, ne, in, sw, isnull, pr* **subType**: *eq, ne, in, sw, isnull, pr* **created**: *eq, ge, gt, le, lt* **modified**: *eq, ge, gt, le, lt* **synced**: *eq, ge, gt, le, lt* **owner.id**: *eq, in, sw* **owner.name**: *eq, in, sw, isnull, pr* **owner.state**: *eq, in, sw, isnull, pr* **correlatedIdentity.id**: *eq, in, sw* **correlatedIdentity.name**: *eq, in, sw, isnull, pr* **correlatedIdentity.state**: *eq, in, sw, isnull, pr* **source.id**: *eq, in, sw* **source.name**: *eq, in, sw* **source.authoritative**: *eq* **source.connectionType**: *eq, in, isnull, pr* **origin**: *eq, in* Filter values are case-insensitive for **name, description, type, origin, source.name, source.connectionType, owner.name, correlatedIdentity.name, correlatedIdentity.state, privilegeLevel.effective, recommendation.type, recommendation.method, classificationMethod, subType**. Filter values remain case-sensitive for the identifier fields **id, uuid, nativeIdentity, source.id, owner.id, correlatedIdentity.id**.
659
+ * @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, uuid, nativeIdentity, created, modified, manuallyCorrelated, description, type, recommendation.type, recommendation.method, locked, disabled, correlated, hasEntitlements, origin, privilegeLevel.effective, classificationMethod, subType, owner.id, owner.name, owner.state, correlatedIdentity.id, correlatedIdentity.name, correlatedIdentity.state, source.id, source.name, source.authoritative, source.connectionType, synced** Sorting on the following fields is case-insensitive: **name, description, type, origin, source.name, source.connectionType, owner.name, correlatedIdentity.name, correlatedIdentity.state, privilegeLevel.effective, recommendation.type, recommendation.method, classificationMethod, subType**. Identifier fields such as **id, uuid, nativeIdentity, source.id, owner.id,** and **correlatedIdentity.id** remain case-sensitive. Default sort is **created** when no collection parameters are sent.
660
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
661
+ * @param {*} [axiosOptions] Override http request option.
662
+ * @throws {RequiredError}
663
+ */
664
+ listAccountsV2: function (limit, offset, count, searchAfter, filters, sorters, xSailPointExperimental, axiosOptions) {
665
+ if (axiosOptions === void 0) { axiosOptions = {}; }
666
+ return __awaiter(_this, void 0, void 0, function () {
667
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
668
+ return __generator(this, function (_a) {
669
+ if (xSailPointExperimental === undefined) {
670
+ xSailPointExperimental = 'true';
671
+ }
672
+ localVarPath = "/accounts/v2";
673
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
674
+ if (configuration) {
675
+ baseOptions = configuration.baseOptions;
676
+ }
677
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
678
+ localVarHeaderParameter = {};
679
+ localVarQueryParameter = {};
680
+ if (limit !== undefined) {
681
+ localVarQueryParameter['limit'] = limit;
682
+ }
683
+ if (offset !== undefined) {
684
+ localVarQueryParameter['offset'] = offset;
685
+ }
686
+ if (count !== undefined) {
687
+ localVarQueryParameter['count'] = count;
688
+ }
689
+ if (searchAfter !== undefined) {
690
+ localVarQueryParameter['searchAfter'] = searchAfter;
691
+ }
692
+ if (filters !== undefined) {
693
+ localVarQueryParameter['filters'] = filters;
694
+ }
695
+ if (sorters !== undefined) {
696
+ localVarQueryParameter['sorters'] = sorters;
697
+ }
698
+ if (xSailPointExperimental != null) {
699
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
700
+ }
701
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
702
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
703
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
704
+ return [2 /*return*/, {
705
+ url: (0, common_1.toPathString)(localVarUrlObj),
706
+ axiosOptions: localVarRequestOptions,
707
+ }];
708
+ });
709
+ });
710
+ },
619
711
  /**
620
712
  * Use this API to update an account with a PUT request. This endpoint submits an account update task and returns the task ID. >**Note: You can only use this PUT endpoint to update accounts from flat file sources.**
621
713
  * @summary Update account
@@ -1059,6 +1151,35 @@ var AccountsApiFp = function (configuration) {
1059
1151
  });
1060
1152
  });
1061
1153
  },
1154
+ /**
1155
+ * List accounts from the accounts search index. Use standard collection parameters for paging (`limit`, `offset`, `count`). Default page size is 25 when no collection parameters are sent. Maximum `limit` is 250. Requests that specify a larger `limit` are capped at 250. `offset + limit` cannot exceed 10,000. To page beyond that window, use `searchAfter` instead of a large offset. `searchAfter` cannot be combined with `offset`. Always include `id` in `sorters` when using `searchAfter`. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information.
1156
+ * @summary List accounts (search)
1157
+ * @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1158
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1159
+ * @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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
1160
+ * @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 page beyond the offset limit of 10,000 records by shifting the search window to begin at this value. `searchAfter` cannot be combined with `offset`. When `searchAfter` is provided, `id` must be included in `sorters`. It is recommended that you always include the ID of the object in addition to any other sort fields 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. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
1161
+ * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **name**: *eq, in, sw, isnull, pr* **uuid**: *eq, in, sw, isnull, pr* **nativeIdentity**: *eq, in, sw, isnull, pr* **description**: *eq, in, sw, isnull, pr* **type**: *eq, ne* **recommendation.type**: *eq, in, sw, isnull, pr* **recommendation.method**: *eq, in, sw, isnull, pr* **locked**: *eq* **disabled**: *eq* **hasEntitlements**: *eq* **manuallyCorrelated**: *eq* **privilegeLevel.effective**: *eq, in, isnull, pr* **correlated**: *eq* **classificationMethod**: *eq, ne, in, sw, isnull, pr* **subType**: *eq, ne, in, sw, isnull, pr* **created**: *eq, ge, gt, le, lt* **modified**: *eq, ge, gt, le, lt* **synced**: *eq, ge, gt, le, lt* **owner.id**: *eq, in, sw* **owner.name**: *eq, in, sw, isnull, pr* **owner.state**: *eq, in, sw, isnull, pr* **correlatedIdentity.id**: *eq, in, sw* **correlatedIdentity.name**: *eq, in, sw, isnull, pr* **correlatedIdentity.state**: *eq, in, sw, isnull, pr* **source.id**: *eq, in, sw* **source.name**: *eq, in, sw* **source.authoritative**: *eq* **source.connectionType**: *eq, in, isnull, pr* **origin**: *eq, in* Filter values are case-insensitive for **name, description, type, origin, source.name, source.connectionType, owner.name, correlatedIdentity.name, correlatedIdentity.state, privilegeLevel.effective, recommendation.type, recommendation.method, classificationMethod, subType**. Filter values remain case-sensitive for the identifier fields **id, uuid, nativeIdentity, source.id, owner.id, correlatedIdentity.id**.
1162
+ * @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, uuid, nativeIdentity, created, modified, manuallyCorrelated, description, type, recommendation.type, recommendation.method, locked, disabled, correlated, hasEntitlements, origin, privilegeLevel.effective, classificationMethod, subType, owner.id, owner.name, owner.state, correlatedIdentity.id, correlatedIdentity.name, correlatedIdentity.state, source.id, source.name, source.authoritative, source.connectionType, synced** Sorting on the following fields is case-insensitive: **name, description, type, origin, source.name, source.connectionType, owner.name, correlatedIdentity.name, correlatedIdentity.state, privilegeLevel.effective, recommendation.type, recommendation.method, classificationMethod, subType**. Identifier fields such as **id, uuid, nativeIdentity, source.id, owner.id,** and **correlatedIdentity.id** remain case-sensitive. Default sort is **created** when no collection parameters are sent.
1163
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1164
+ * @param {*} [axiosOptions] Override http request option.
1165
+ * @throws {RequiredError}
1166
+ */
1167
+ listAccountsV2: function (limit, offset, count, searchAfter, filters, sorters, xSailPointExperimental, axiosOptions) {
1168
+ var _a, _b, _c;
1169
+ return __awaiter(this, void 0, void 0, function () {
1170
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1171
+ return __generator(this, function (_d) {
1172
+ switch (_d.label) {
1173
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAccountsV2(limit, offset, count, searchAfter, filters, sorters, xSailPointExperimental, axiosOptions)];
1174
+ case 1:
1175
+ localVarAxiosArgs = _d.sent();
1176
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1177
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.listAccountsV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1178
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1179
+ }
1180
+ });
1181
+ });
1182
+ },
1062
1183
  /**
1063
1184
  * Use this API to update an account with a PUT request. This endpoint submits an account update task and returns the task ID. >**Note: You can only use this PUT endpoint to update accounts from flat file sources.**
1064
1185
  * @summary Update account
@@ -1285,6 +1406,17 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1285
1406
  if (requestParameters === void 0) { requestParameters = {}; }
1286
1407
  return localVarFp.listAccountsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.detailLevel, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
1287
1408
  },
1409
+ /**
1410
+ * List accounts from the accounts search index. Use standard collection parameters for paging (`limit`, `offset`, `count`). Default page size is 25 when no collection parameters are sent. Maximum `limit` is 250. Requests that specify a larger `limit` are capped at 250. `offset + limit` cannot exceed 10,000. To page beyond that window, use `searchAfter` instead of a large offset. `searchAfter` cannot be combined with `offset`. Always include `id` in `sorters` when using `searchAfter`. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information.
1411
+ * @summary List accounts (search)
1412
+ * @param {AccountsApiListAccountsV2Request} requestParameters Request parameters.
1413
+ * @param {*} [axiosOptions] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ listAccountsV2: function (requestParameters, axiosOptions) {
1417
+ if (requestParameters === void 0) { requestParameters = {}; }
1418
+ return localVarFp.listAccountsV2(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1419
+ },
1288
1420
  /**
1289
1421
  * Use this API to update an account with a PUT request. This endpoint submits an account update task and returns the task ID. >**Note: You can only use this PUT endpoint to update accounts from flat file sources.**
1290
1422
  * @summary Update account
@@ -1484,6 +1616,19 @@ var AccountsApi = /** @class */ (function (_super) {
1484
1616
  if (requestParameters === void 0) { requestParameters = {}; }
1485
1617
  return (0, exports.AccountsApiFp)(this.configuration).listAccountsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.detailLevel, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1486
1618
  };
1619
+ /**
1620
+ * List accounts from the accounts search index. Use standard collection parameters for paging (`limit`, `offset`, `count`). Default page size is 25 when no collection parameters are sent. Maximum `limit` is 250. Requests that specify a larger `limit` are capped at 250. `offset + limit` cannot exceed 10,000. To page beyond that window, use `searchAfter` instead of a large offset. `searchAfter` cannot be combined with `offset`. Always include `id` in `sorters` when using `searchAfter`. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information.
1621
+ * @summary List accounts (search)
1622
+ * @param {AccountsApiListAccountsV2Request} requestParameters Request parameters.
1623
+ * @param {*} [axiosOptions] Override http request option.
1624
+ * @throws {RequiredError}
1625
+ * @memberof AccountsApi
1626
+ */
1627
+ AccountsApi.prototype.listAccountsV2 = function (requestParameters, axiosOptions) {
1628
+ var _this = this;
1629
+ if (requestParameters === void 0) { requestParameters = {}; }
1630
+ return (0, exports.AccountsApiFp)(this.configuration).listAccountsV2(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1631
+ };
1487
1632
  /**
1488
1633
  * Use this API to update an account with a PUT request. This endpoint submits an account update task and returns the task ID. >**Note: You can only use this PUT endpoint to update accounts from flat file sources.**
1489
1634
  * @summary Update account