sailpoint-api-client 1.6.10 → 1.7.1

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 (71) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +2117 -205
  3. package/beta/common.ts +2 -2
  4. package/beta/package.json +1 -1
  5. package/dist/beta/api.d.ts +1003 -74
  6. package/dist/beta/api.js +2751 -401
  7. package/dist/beta/api.js.map +1 -1
  8. package/dist/beta/common.js +1 -1
  9. package/dist/beta/common.js.map +1 -1
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.js +6 -3
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.spec.js +18 -0
  14. package/dist/index.spec.js.map +1 -1
  15. package/dist/v2024/api.d.ts +206 -60
  16. package/dist/v2024/api.js +3283 -760
  17. package/dist/v2024/api.js.map +1 -1
  18. package/dist/v2024/common.js +1 -1
  19. package/dist/v2024/common.js.map +1 -1
  20. package/dist/v2025/api.d.ts +4212 -143
  21. package/dist/v2025/api.js +6580 -963
  22. package/dist/v2025/api.js.map +1 -1
  23. package/dist/v2025/common.js +1 -1
  24. package/dist/v2025/common.js.map +1 -1
  25. package/dist/v2026/api.d.ts +818 -0
  26. package/dist/v2026/api.js +800 -0
  27. package/dist/v2026/api.js.map +1 -0
  28. package/dist/v2026/base.d.ts +66 -0
  29. package/dist/v2026/base.js +89 -0
  30. package/dist/v2026/base.js.map +1 -0
  31. package/dist/v2026/common.d.ts +65 -0
  32. package/dist/v2026/common.js +266 -0
  33. package/dist/v2026/common.js.map +1 -0
  34. package/dist/v2026/configuration.d.ts +91 -0
  35. package/dist/v2026/configuration.js +46 -0
  36. package/dist/v2026/configuration.js.map +1 -0
  37. package/dist/v2026/index.d.ts +13 -0
  38. package/dist/v2026/index.js +32 -0
  39. package/dist/v2026/index.js.map +1 -0
  40. package/dist/v3/api.d.ts +184 -12
  41. package/dist/v3/api.js +1278 -285
  42. package/dist/v3/api.js.map +1 -1
  43. package/dist/v3/common.js +1 -1
  44. package/dist/v3/common.js.map +1 -1
  45. package/index.spec.ts +11 -1
  46. package/index.ts +3 -0
  47. package/package.json +1 -1
  48. package/v2024/README.md +2 -2
  49. package/v2024/api.ts +1443 -288
  50. package/v2024/common.ts +2 -2
  51. package/v2024/package.json +1 -1
  52. package/v2025/README.md +2 -2
  53. package/v2025/api.ts +6944 -441
  54. package/v2025/common.ts +2 -2
  55. package/v2025/package.json +1 -1
  56. package/v2026/.openapi-generator/FILES +12 -0
  57. package/v2026/.openapi-generator/VERSION +1 -0
  58. package/v2026/.openapi-generator-ignore +23 -0
  59. package/v2026/README.md +46 -0
  60. package/v2026/api.ts +1188 -0
  61. package/v2026/base.ts +86 -0
  62. package/v2026/common.ts +165 -0
  63. package/v2026/configuration.ts +110 -0
  64. package/v2026/git_push.sh +57 -0
  65. package/v2026/index.ts +18 -0
  66. package/v2026/package.json +34 -0
  67. package/v2026/tsconfig.json +21 -0
  68. package/v3/README.md +2 -2
  69. package/v3/api.ts +675 -109
  70. package/v3/common.ts +2 -2
  71. package/v3/package.json +1 -1
@@ -0,0 +1,800 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Identity Security Cloud v2026 API
6
+ * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
7
+ *
8
+ * The version of the OpenAPI document: v2026
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.TaskManagementV2026Api = exports.TaskManagementV2026ApiFactory = exports.TaskManagementV2026ApiFp = exports.TaskManagementV2026ApiAxiosParamCreator = exports.TaskStatusV2026CompletionStatusV2026 = exports.TaskStatusV2026TypeV2026 = exports.TaskStatusMessageV2026TypeV2026 = exports.TargetV2026TypeV2026 = exports.LocaleOriginV2026 = exports.JsonPatchOperationV2026OpV2026 = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("./common");
86
+ // @ts-ignore
87
+ var base_1 = require("./base");
88
+ exports.JsonPatchOperationV2026OpV2026 = {
89
+ Add: 'add',
90
+ Remove: 'remove',
91
+ Replace: 'replace',
92
+ Move: 'move',
93
+ Copy: 'copy',
94
+ Test: 'test'
95
+ };
96
+ /**
97
+ * 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.
98
+ * @export
99
+ * @enum {string}
100
+ */
101
+ exports.LocaleOriginV2026 = {
102
+ Default: 'DEFAULT',
103
+ Request: 'REQUEST'
104
+ };
105
+ exports.TargetV2026TypeV2026 = {
106
+ Application: 'APPLICATION',
107
+ Identity: 'IDENTITY'
108
+ };
109
+ exports.TaskStatusMessageV2026TypeV2026 = {
110
+ Info: 'INFO',
111
+ Warn: 'WARN',
112
+ Error: 'ERROR'
113
+ };
114
+ exports.TaskStatusV2026TypeV2026 = {
115
+ Quartz: 'QUARTZ',
116
+ Qpoc: 'QPOC',
117
+ QueuedTask: 'QUEUED_TASK'
118
+ };
119
+ exports.TaskStatusV2026CompletionStatusV2026 = {
120
+ Success: 'SUCCESS',
121
+ Warning: 'WARNING',
122
+ Error: 'ERROR',
123
+ Terminated: 'TERMINATED',
124
+ Temperror: 'TEMPERROR'
125
+ };
126
+ /**
127
+ * TaskManagementV2026Api - axios parameter creator
128
+ * @export
129
+ */
130
+ var TaskManagementV2026ApiAxiosParamCreator = function (configuration) {
131
+ var _this = this;
132
+ return {
133
+ /**
134
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field and count=true. Example: /v2026/task-status?count=true&filters=completionStatus isnull Responds with headers only for list of task statuses for pending tasks.
135
+ * @summary Retrieve pending task list headers
136
+ * @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.
137
+ * @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.
138
+ * @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&#x3D;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.
139
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
140
+ * @param {*} [axiosOptions] Override http request option.
141
+ * @deprecated
142
+ * @throws {RequiredError}
143
+ */
144
+ getPendingTaskHeaders: function (offset, limit, count, xSailPointExperimental, axiosOptions) {
145
+ if (axiosOptions === void 0) { axiosOptions = {}; }
146
+ return __awaiter(_this, void 0, void 0, function () {
147
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
148
+ return __generator(this, function (_a) {
149
+ switch (_a.label) {
150
+ case 0:
151
+ if (xSailPointExperimental === undefined) {
152
+ xSailPointExperimental = 'true';
153
+ }
154
+ localVarPath = "/task-status/pending-tasks";
155
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
+ if (configuration) {
157
+ baseOptions = configuration.baseOptions;
158
+ }
159
+ localVarRequestOptions = __assign(__assign({ method: 'HEAD' }, baseOptions), axiosOptions);
160
+ localVarHeaderParameter = {};
161
+ localVarQueryParameter = {};
162
+ // authentication userAuth required
163
+ // oauth required
164
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
165
+ // authentication userAuth required
166
+ // oauth required
167
+ ];
168
+ case 1:
169
+ // authentication userAuth required
170
+ // oauth required
171
+ _a.sent();
172
+ // authentication userAuth required
173
+ // oauth required
174
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
175
+ // authentication applicationAuth required
176
+ // oauth required
177
+ ];
178
+ case 2:
179
+ // authentication userAuth required
180
+ // oauth required
181
+ _a.sent();
182
+ // authentication applicationAuth required
183
+ // oauth required
184
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
185
+ case 3:
186
+ // authentication applicationAuth required
187
+ // oauth required
188
+ _a.sent();
189
+ if (offset !== undefined) {
190
+ localVarQueryParameter['offset'] = offset;
191
+ }
192
+ if (limit !== undefined) {
193
+ localVarQueryParameter['limit'] = limit;
194
+ }
195
+ if (count !== undefined) {
196
+ localVarQueryParameter['count'] = count;
197
+ }
198
+ if (xSailPointExperimental != null) {
199
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
200
+ }
201
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
202
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
203
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
204
+ return [2 /*return*/, {
205
+ url: (0, common_1.toPathString)(localVarUrlObj),
206
+ axiosOptions: localVarRequestOptions,
207
+ }];
208
+ }
209
+ });
210
+ });
211
+ },
212
+ /**
213
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field to retrieve pending tasks. Example: /v2026/task-status?filters=completionStatus isnull Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
214
+ * @summary Retrieve pending task status list
215
+ * @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.
216
+ * @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.
217
+ * @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&#x3D;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.
218
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
219
+ * @param {*} [axiosOptions] Override http request option.
220
+ * @deprecated
221
+ * @throws {RequiredError}
222
+ */
223
+ getPendingTasks: function (offset, limit, count, xSailPointExperimental, axiosOptions) {
224
+ if (axiosOptions === void 0) { axiosOptions = {}; }
225
+ return __awaiter(_this, void 0, void 0, function () {
226
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
227
+ return __generator(this, function (_a) {
228
+ switch (_a.label) {
229
+ case 0:
230
+ if (xSailPointExperimental === undefined) {
231
+ xSailPointExperimental = 'true';
232
+ }
233
+ localVarPath = "/task-status/pending-tasks";
234
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
235
+ if (configuration) {
236
+ baseOptions = configuration.baseOptions;
237
+ }
238
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
239
+ localVarHeaderParameter = {};
240
+ localVarQueryParameter = {};
241
+ // authentication userAuth required
242
+ // oauth required
243
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
244
+ // authentication userAuth required
245
+ // oauth required
246
+ ];
247
+ case 1:
248
+ // authentication userAuth required
249
+ // oauth required
250
+ _a.sent();
251
+ // authentication userAuth required
252
+ // oauth required
253
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
254
+ // authentication applicationAuth required
255
+ // oauth required
256
+ ];
257
+ case 2:
258
+ // authentication userAuth required
259
+ // oauth required
260
+ _a.sent();
261
+ // authentication applicationAuth required
262
+ // oauth required
263
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
264
+ case 3:
265
+ // authentication applicationAuth required
266
+ // oauth required
267
+ _a.sent();
268
+ if (offset !== undefined) {
269
+ localVarQueryParameter['offset'] = offset;
270
+ }
271
+ if (limit !== undefined) {
272
+ localVarQueryParameter['limit'] = limit;
273
+ }
274
+ if (count !== undefined) {
275
+ localVarQueryParameter['count'] = count;
276
+ }
277
+ if (xSailPointExperimental != null) {
278
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
279
+ }
280
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
281
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
283
+ return [2 /*return*/, {
284
+ url: (0, common_1.toPathString)(localVarUrlObj),
285
+ axiosOptions: localVarRequestOptions,
286
+ }];
287
+ }
288
+ });
289
+ });
290
+ },
291
+ /**
292
+ * Get task status by task ID. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
293
+ * @summary Get task status by id
294
+ * @param {string} id Task ID.
295
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
296
+ * @param {*} [axiosOptions] Override http request option.
297
+ * @throws {RequiredError}
298
+ */
299
+ getTaskStatus: function (id, xSailPointExperimental, axiosOptions) {
300
+ if (axiosOptions === void 0) { axiosOptions = {}; }
301
+ return __awaiter(_this, void 0, void 0, function () {
302
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
303
+ return __generator(this, function (_a) {
304
+ switch (_a.label) {
305
+ case 0:
306
+ // verify required parameter 'id' is not null or undefined
307
+ (0, common_1.assertParamExists)('getTaskStatus', 'id', id);
308
+ if (xSailPointExperimental === undefined) {
309
+ xSailPointExperimental = 'true';
310
+ }
311
+ localVarPath = "/task-status/{id}"
312
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
313
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
314
+ if (configuration) {
315
+ baseOptions = configuration.baseOptions;
316
+ }
317
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
318
+ localVarHeaderParameter = {};
319
+ localVarQueryParameter = {};
320
+ // authentication userAuth required
321
+ // oauth required
322
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
323
+ // authentication userAuth required
324
+ // oauth required
325
+ ];
326
+ case 1:
327
+ // authentication userAuth required
328
+ // oauth required
329
+ _a.sent();
330
+ // authentication userAuth required
331
+ // oauth required
332
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
333
+ // authentication applicationAuth required
334
+ // oauth required
335
+ ];
336
+ case 2:
337
+ // authentication userAuth required
338
+ // oauth required
339
+ _a.sent();
340
+ // authentication applicationAuth required
341
+ // oauth required
342
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
343
+ case 3:
344
+ // authentication applicationAuth required
345
+ // oauth required
346
+ _a.sent();
347
+ if (xSailPointExperimental != null) {
348
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
349
+ }
350
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
351
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
352
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
353
+ return [2 /*return*/, {
354
+ url: (0, common_1.toPathString)(localVarUrlObj),
355
+ axiosOptions: localVarRequestOptions,
356
+ }];
357
+ }
358
+ });
359
+ });
360
+ },
361
+ /**
362
+ * Use this endpoint to get a list of statuses for **all** tasks, including completed, in-progress, terminated, and errored tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned. For a list of **in-progress** tasks, apply the isnull filter to the Completion Status field.
363
+ * @summary Retrieve task status list
364
+ * @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.
365
+ * @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.
366
+ * @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&#x3D;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.
367
+ * @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* **sourceId**: *eq, in* **completionStatus**: *eq, in, isnull* **type**: *eq, in* **launcher**: *eq, in* **Possible Values:** CLOUD_ACCOUNT_AGGREGATION, CLOUD_GROUP_AGGREGATION, CLOUD_PROCESS_UNCORRELATED_ACCOUNTS, CLOUD_REFRESH_ROLE, SOURCE_APPLICATION_DISCOVERY, AI_AGENT_AGGREGATION, CLOUD_ENTITLEMENT_IMPORT, CLOUD_UNCORRELATED_REFRESH, CLOUD_IDENTITY_AGGREGATION, CLOUD_ATTRIBUTE_SYNCHRONIZATION, IDENTITY_REFRESH, APPLICATION_DISCOVERY, MACHINE_IDENTITY_AGGREGATION, MACHINE_IDENTITY_DELETION, ACCOUNT_DELETION
368
+ * @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: **created**
369
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
370
+ * @param {*} [axiosOptions] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ getTaskStatusList: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
374
+ if (axiosOptions === void 0) { axiosOptions = {}; }
375
+ return __awaiter(_this, void 0, void 0, function () {
376
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
377
+ return __generator(this, function (_a) {
378
+ switch (_a.label) {
379
+ case 0:
380
+ if (xSailPointExperimental === undefined) {
381
+ xSailPointExperimental = 'true';
382
+ }
383
+ localVarPath = "/task-status";
384
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
385
+ if (configuration) {
386
+ baseOptions = configuration.baseOptions;
387
+ }
388
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
389
+ localVarHeaderParameter = {};
390
+ localVarQueryParameter = {};
391
+ // authentication userAuth required
392
+ // oauth required
393
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
394
+ // authentication userAuth required
395
+ // oauth required
396
+ ];
397
+ case 1:
398
+ // authentication userAuth required
399
+ // oauth required
400
+ _a.sent();
401
+ // authentication userAuth required
402
+ // oauth required
403
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
404
+ // authentication applicationAuth required
405
+ // oauth required
406
+ ];
407
+ case 2:
408
+ // authentication userAuth required
409
+ // oauth required
410
+ _a.sent();
411
+ // authentication applicationAuth required
412
+ // oauth required
413
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
414
+ case 3:
415
+ // authentication applicationAuth required
416
+ // oauth required
417
+ _a.sent();
418
+ if (limit !== undefined) {
419
+ localVarQueryParameter['limit'] = limit;
420
+ }
421
+ if (offset !== undefined) {
422
+ localVarQueryParameter['offset'] = offset;
423
+ }
424
+ if (count !== undefined) {
425
+ localVarQueryParameter['count'] = count;
426
+ }
427
+ if (filters !== undefined) {
428
+ localVarQueryParameter['filters'] = filters;
429
+ }
430
+ if (sorters !== undefined) {
431
+ localVarQueryParameter['sorters'] = sorters;
432
+ }
433
+ if (xSailPointExperimental != null) {
434
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
435
+ }
436
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
437
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
438
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
439
+ return [2 /*return*/, {
440
+ url: (0, common_1.toPathString)(localVarUrlObj),
441
+ axiosOptions: localVarRequestOptions,
442
+ }];
443
+ }
444
+ });
445
+ });
446
+ },
447
+ /**
448
+ * Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes.
449
+ * @summary Update task status by id
450
+ * @param {string} id Task ID.
451
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
452
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
453
+ * @param {*} [axiosOptions] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ updateTaskStatus: function (id, jsonPatchOperationV2026, xSailPointExperimental, axiosOptions) {
457
+ if (axiosOptions === void 0) { axiosOptions = {}; }
458
+ return __awaiter(_this, void 0, void 0, function () {
459
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
460
+ return __generator(this, function (_a) {
461
+ switch (_a.label) {
462
+ case 0:
463
+ // verify required parameter 'id' is not null or undefined
464
+ (0, common_1.assertParamExists)('updateTaskStatus', 'id', id);
465
+ // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
466
+ (0, common_1.assertParamExists)('updateTaskStatus', 'jsonPatchOperationV2026', jsonPatchOperationV2026);
467
+ if (xSailPointExperimental === undefined) {
468
+ xSailPointExperimental = 'true';
469
+ }
470
+ localVarPath = "/task-status/{id}"
471
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
472
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
473
+ if (configuration) {
474
+ baseOptions = configuration.baseOptions;
475
+ }
476
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
477
+ localVarHeaderParameter = {};
478
+ localVarQueryParameter = {};
479
+ // authentication userAuth required
480
+ // oauth required
481
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
482
+ // authentication userAuth required
483
+ // oauth required
484
+ ];
485
+ case 1:
486
+ // authentication userAuth required
487
+ // oauth required
488
+ _a.sent();
489
+ // authentication userAuth required
490
+ // oauth required
491
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
492
+ case 2:
493
+ // authentication userAuth required
494
+ // oauth required
495
+ _a.sent();
496
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
497
+ if (xSailPointExperimental != null) {
498
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
499
+ }
500
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
501
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
502
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
503
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperationV2026, localVarRequestOptions, configuration);
504
+ return [2 /*return*/, {
505
+ url: (0, common_1.toPathString)(localVarUrlObj),
506
+ axiosOptions: localVarRequestOptions,
507
+ }];
508
+ }
509
+ });
510
+ });
511
+ },
512
+ };
513
+ };
514
+ exports.TaskManagementV2026ApiAxiosParamCreator = TaskManagementV2026ApiAxiosParamCreator;
515
+ /**
516
+ * TaskManagementV2026Api - functional programming interface
517
+ * @export
518
+ */
519
+ var TaskManagementV2026ApiFp = function (configuration) {
520
+ var localVarAxiosParamCreator = (0, exports.TaskManagementV2026ApiAxiosParamCreator)(configuration);
521
+ return {
522
+ /**
523
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field and count=true. Example: /v2026/task-status?count=true&filters=completionStatus isnull Responds with headers only for list of task statuses for pending tasks.
524
+ * @summary Retrieve pending task list headers
525
+ * @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.
526
+ * @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.
527
+ * @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&#x3D;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.
528
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
529
+ * @param {*} [axiosOptions] Override http request option.
530
+ * @deprecated
531
+ * @throws {RequiredError}
532
+ */
533
+ getPendingTaskHeaders: function (offset, limit, count, xSailPointExperimental, axiosOptions) {
534
+ var _a, _b, _c;
535
+ return __awaiter(this, void 0, void 0, function () {
536
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
537
+ return __generator(this, function (_d) {
538
+ switch (_d.label) {
539
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPendingTaskHeaders(offset, limit, count, xSailPointExperimental, axiosOptions)];
540
+ case 1:
541
+ localVarAxiosArgs = _d.sent();
542
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
543
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskManagementV2026Api.getPendingTaskHeaders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
544
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
545
+ }
546
+ });
547
+ });
548
+ },
549
+ /**
550
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field to retrieve pending tasks. Example: /v2026/task-status?filters=completionStatus isnull Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
551
+ * @summary Retrieve pending task status list
552
+ * @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.
553
+ * @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.
554
+ * @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&#x3D;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.
555
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
556
+ * @param {*} [axiosOptions] Override http request option.
557
+ * @deprecated
558
+ * @throws {RequiredError}
559
+ */
560
+ getPendingTasks: function (offset, limit, count, xSailPointExperimental, axiosOptions) {
561
+ var _a, _b, _c;
562
+ return __awaiter(this, void 0, void 0, function () {
563
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
564
+ return __generator(this, function (_d) {
565
+ switch (_d.label) {
566
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPendingTasks(offset, limit, count, xSailPointExperimental, axiosOptions)];
567
+ case 1:
568
+ localVarAxiosArgs = _d.sent();
569
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
570
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskManagementV2026Api.getPendingTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
571
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
572
+ }
573
+ });
574
+ });
575
+ },
576
+ /**
577
+ * Get task status by task ID. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
578
+ * @summary Get task status by id
579
+ * @param {string} id Task ID.
580
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
581
+ * @param {*} [axiosOptions] Override http request option.
582
+ * @throws {RequiredError}
583
+ */
584
+ getTaskStatus: function (id, xSailPointExperimental, axiosOptions) {
585
+ var _a, _b, _c;
586
+ return __awaiter(this, void 0, void 0, function () {
587
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
588
+ return __generator(this, function (_d) {
589
+ switch (_d.label) {
590
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskStatus(id, xSailPointExperimental, axiosOptions)];
591
+ case 1:
592
+ localVarAxiosArgs = _d.sent();
593
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
594
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskManagementV2026Api.getTaskStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
595
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
596
+ }
597
+ });
598
+ });
599
+ },
600
+ /**
601
+ * Use this endpoint to get a list of statuses for **all** tasks, including completed, in-progress, terminated, and errored tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned. For a list of **in-progress** tasks, apply the isnull filter to the Completion Status field.
602
+ * @summary Retrieve task status list
603
+ * @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.
604
+ * @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.
605
+ * @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&#x3D;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.
606
+ * @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* **sourceId**: *eq, in* **completionStatus**: *eq, in, isnull* **type**: *eq, in* **launcher**: *eq, in* **Possible Values:** CLOUD_ACCOUNT_AGGREGATION, CLOUD_GROUP_AGGREGATION, CLOUD_PROCESS_UNCORRELATED_ACCOUNTS, CLOUD_REFRESH_ROLE, SOURCE_APPLICATION_DISCOVERY, AI_AGENT_AGGREGATION, CLOUD_ENTITLEMENT_IMPORT, CLOUD_UNCORRELATED_REFRESH, CLOUD_IDENTITY_AGGREGATION, CLOUD_ATTRIBUTE_SYNCHRONIZATION, IDENTITY_REFRESH, APPLICATION_DISCOVERY, MACHINE_IDENTITY_AGGREGATION, MACHINE_IDENTITY_DELETION, ACCOUNT_DELETION
607
+ * @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: **created**
608
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
609
+ * @param {*} [axiosOptions] Override http request option.
610
+ * @throws {RequiredError}
611
+ */
612
+ getTaskStatusList: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
613
+ var _a, _b, _c;
614
+ return __awaiter(this, void 0, void 0, function () {
615
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
616
+ return __generator(this, function (_d) {
617
+ switch (_d.label) {
618
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTaskStatusList(limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions)];
619
+ case 1:
620
+ localVarAxiosArgs = _d.sent();
621
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
622
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskManagementV2026Api.getTaskStatusList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
623
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
624
+ }
625
+ });
626
+ });
627
+ },
628
+ /**
629
+ * Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes.
630
+ * @summary Update task status by id
631
+ * @param {string} id Task ID.
632
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
633
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
634
+ * @param {*} [axiosOptions] Override http request option.
635
+ * @throws {RequiredError}
636
+ */
637
+ updateTaskStatus: function (id, jsonPatchOperationV2026, xSailPointExperimental, axiosOptions) {
638
+ var _a, _b, _c;
639
+ return __awaiter(this, void 0, void 0, function () {
640
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
641
+ return __generator(this, function (_d) {
642
+ switch (_d.label) {
643
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTaskStatus(id, jsonPatchOperationV2026, xSailPointExperimental, axiosOptions)];
644
+ case 1:
645
+ localVarAxiosArgs = _d.sent();
646
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
647
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskManagementV2026Api.updateTaskStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
648
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
649
+ }
650
+ });
651
+ });
652
+ },
653
+ };
654
+ };
655
+ exports.TaskManagementV2026ApiFp = TaskManagementV2026ApiFp;
656
+ /**
657
+ * TaskManagementV2026Api - factory interface
658
+ * @export
659
+ */
660
+ var TaskManagementV2026ApiFactory = function (configuration, basePath, axios) {
661
+ var localVarFp = (0, exports.TaskManagementV2026ApiFp)(configuration);
662
+ return {
663
+ /**
664
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field and count=true. Example: /v2026/task-status?count=true&filters=completionStatus isnull Responds with headers only for list of task statuses for pending tasks.
665
+ * @summary Retrieve pending task list headers
666
+ * @param {TaskManagementV2026ApiGetPendingTaskHeadersRequest} requestParameters Request parameters.
667
+ * @param {*} [axiosOptions] Override http request option.
668
+ * @deprecated
669
+ * @throws {RequiredError}
670
+ */
671
+ getPendingTaskHeaders: function (requestParameters, axiosOptions) {
672
+ if (requestParameters === void 0) { requestParameters = {}; }
673
+ return localVarFp.getPendingTaskHeaders(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
674
+ },
675
+ /**
676
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field to retrieve pending tasks. Example: /v2026/task-status?filters=completionStatus isnull Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
677
+ * @summary Retrieve pending task status list
678
+ * @param {TaskManagementV2026ApiGetPendingTasksRequest} requestParameters Request parameters.
679
+ * @param {*} [axiosOptions] Override http request option.
680
+ * @deprecated
681
+ * @throws {RequiredError}
682
+ */
683
+ getPendingTasks: function (requestParameters, axiosOptions) {
684
+ if (requestParameters === void 0) { requestParameters = {}; }
685
+ return localVarFp.getPendingTasks(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
686
+ },
687
+ /**
688
+ * Get task status by task ID. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
689
+ * @summary Get task status by id
690
+ * @param {TaskManagementV2026ApiGetTaskStatusRequest} requestParameters Request parameters.
691
+ * @param {*} [axiosOptions] Override http request option.
692
+ * @throws {RequiredError}
693
+ */
694
+ getTaskStatus: function (requestParameters, axiosOptions) {
695
+ return localVarFp.getTaskStatus(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
696
+ },
697
+ /**
698
+ * Use this endpoint to get a list of statuses for **all** tasks, including completed, in-progress, terminated, and errored tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned. For a list of **in-progress** tasks, apply the isnull filter to the Completion Status field.
699
+ * @summary Retrieve task status list
700
+ * @param {TaskManagementV2026ApiGetTaskStatusListRequest} requestParameters Request parameters.
701
+ * @param {*} [axiosOptions] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ getTaskStatusList: function (requestParameters, axiosOptions) {
705
+ if (requestParameters === void 0) { requestParameters = {}; }
706
+ return localVarFp.getTaskStatusList(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
707
+ },
708
+ /**
709
+ * Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes.
710
+ * @summary Update task status by id
711
+ * @param {TaskManagementV2026ApiUpdateTaskStatusRequest} requestParameters Request parameters.
712
+ * @param {*} [axiosOptions] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ updateTaskStatus: function (requestParameters, axiosOptions) {
716
+ return localVarFp.updateTaskStatus(requestParameters.id, requestParameters.jsonPatchOperationV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
717
+ },
718
+ };
719
+ };
720
+ exports.TaskManagementV2026ApiFactory = TaskManagementV2026ApiFactory;
721
+ /**
722
+ * TaskManagementV2026Api - object-oriented interface
723
+ * @export
724
+ * @class TaskManagementV2026Api
725
+ * @extends {BaseAPI}
726
+ */
727
+ var TaskManagementV2026Api = /** @class */ (function (_super) {
728
+ __extends(TaskManagementV2026Api, _super);
729
+ function TaskManagementV2026Api() {
730
+ return _super !== null && _super.apply(this, arguments) || this;
731
+ }
732
+ /**
733
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field and count=true. Example: /v2026/task-status?count=true&filters=completionStatus isnull Responds with headers only for list of task statuses for pending tasks.
734
+ * @summary Retrieve pending task list headers
735
+ * @param {TaskManagementV2026ApiGetPendingTaskHeadersRequest} requestParameters Request parameters.
736
+ * @param {*} [axiosOptions] Override http request option.
737
+ * @deprecated
738
+ * @throws {RequiredError}
739
+ * @memberof TaskManagementV2026Api
740
+ */
741
+ TaskManagementV2026Api.prototype.getPendingTaskHeaders = function (requestParameters, axiosOptions) {
742
+ var _this = this;
743
+ if (requestParameters === void 0) { requestParameters = {}; }
744
+ return (0, exports.TaskManagementV2026ApiFp)(this.configuration).getPendingTaskHeaders(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
745
+ };
746
+ /**
747
+ * This API is being deprecated. Please use the [task-status-list](https://developer.sailpoint.com/docs/api/v2026/get-task-status-list) endpoint with isnull filtering on the completionStatus field to retrieve pending tasks. Example: /v2026/task-status?filters=completionStatus isnull Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
748
+ * @summary Retrieve pending task status list
749
+ * @param {TaskManagementV2026ApiGetPendingTasksRequest} requestParameters Request parameters.
750
+ * @param {*} [axiosOptions] Override http request option.
751
+ * @deprecated
752
+ * @throws {RequiredError}
753
+ * @memberof TaskManagementV2026Api
754
+ */
755
+ TaskManagementV2026Api.prototype.getPendingTasks = function (requestParameters, axiosOptions) {
756
+ var _this = this;
757
+ if (requestParameters === void 0) { requestParameters = {}; }
758
+ return (0, exports.TaskManagementV2026ApiFp)(this.configuration).getPendingTasks(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
759
+ };
760
+ /**
761
+ * Get task status by task ID. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
762
+ * @summary Get task status by id
763
+ * @param {TaskManagementV2026ApiGetTaskStatusRequest} requestParameters Request parameters.
764
+ * @param {*} [axiosOptions] Override http request option.
765
+ * @throws {RequiredError}
766
+ * @memberof TaskManagementV2026Api
767
+ */
768
+ TaskManagementV2026Api.prototype.getTaskStatus = function (requestParameters, axiosOptions) {
769
+ var _this = this;
770
+ return (0, exports.TaskManagementV2026ApiFp)(this.configuration).getTaskStatus(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
771
+ };
772
+ /**
773
+ * Use this endpoint to get a list of statuses for **all** tasks, including completed, in-progress, terminated, and errored tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned. For a list of **in-progress** tasks, apply the isnull filter to the Completion Status field.
774
+ * @summary Retrieve task status list
775
+ * @param {TaskManagementV2026ApiGetTaskStatusListRequest} requestParameters Request parameters.
776
+ * @param {*} [axiosOptions] Override http request option.
777
+ * @throws {RequiredError}
778
+ * @memberof TaskManagementV2026Api
779
+ */
780
+ TaskManagementV2026Api.prototype.getTaskStatusList = function (requestParameters, axiosOptions) {
781
+ var _this = this;
782
+ if (requestParameters === void 0) { requestParameters = {}; }
783
+ return (0, exports.TaskManagementV2026ApiFp)(this.configuration).getTaskStatusList(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
784
+ };
785
+ /**
786
+ * Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes.
787
+ * @summary Update task status by id
788
+ * @param {TaskManagementV2026ApiUpdateTaskStatusRequest} requestParameters Request parameters.
789
+ * @param {*} [axiosOptions] Override http request option.
790
+ * @throws {RequiredError}
791
+ * @memberof TaskManagementV2026Api
792
+ */
793
+ TaskManagementV2026Api.prototype.updateTaskStatus = function (requestParameters, axiosOptions) {
794
+ var _this = this;
795
+ return (0, exports.TaskManagementV2026ApiFp)(this.configuration).updateTaskStatus(requestParameters.id, requestParameters.jsonPatchOperationV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
796
+ };
797
+ return TaskManagementV2026Api;
798
+ }(base_1.BaseAPI));
799
+ exports.TaskManagementV2026Api = TaskManagementV2026Api;
800
+ //# sourceMappingURL=api.js.map