sailpoint-api-client 1.8.24 → 1.8.26

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 (45) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/common.ts +2 -2
  3. package/beta/package.json +1 -1
  4. package/dist/beta/common.js +2 -2
  5. package/dist/nerm/common.js +2 -2
  6. package/dist/nermv2025/common.js +2 -2
  7. package/dist/paginator.d.ts +1 -1
  8. package/dist/paginator.js +144 -87
  9. package/dist/paginator.js.map +1 -1
  10. package/dist/paginator.spec.d.ts +1 -0
  11. package/dist/paginator.spec.js +273 -0
  12. package/dist/paginator.spec.js.map +1 -0
  13. package/dist/v2024/common.js +2 -2
  14. package/dist/v2025/api.d.ts +144 -0
  15. package/dist/v2025/api.js +230 -0
  16. package/dist/v2025/api.js.map +1 -1
  17. package/dist/v2025/common.js +2 -2
  18. package/dist/v2026/api.d.ts +481 -0
  19. package/dist/v2026/api.js +607 -20
  20. package/dist/v2026/api.js.map +1 -1
  21. package/dist/v2026/common.js +2 -2
  22. package/dist/v3/common.js +2 -2
  23. package/nerm/README.md +2 -2
  24. package/nerm/common.ts +2 -2
  25. package/nerm/package.json +1 -1
  26. package/nermv2025/README.md +2 -2
  27. package/nermv2025/common.ts +2 -2
  28. package/nermv2025/package.json +1 -1
  29. package/package.json +1 -1
  30. package/paginator.spec.ts +158 -0
  31. package/paginator.ts +101 -62
  32. package/v2024/README.md +2 -2
  33. package/v2024/common.ts +2 -2
  34. package/v2024/package.json +1 -1
  35. package/v2025/README.md +2 -2
  36. package/v2025/api.ts +256 -0
  37. package/v2025/common.ts +2 -2
  38. package/v2025/package.json +1 -1
  39. package/v2026/README.md +2 -2
  40. package/v2026/api.ts +757 -0
  41. package/v2026/common.ts +2 -2
  42. package/v2026/package.json +1 -1
  43. package/v3/README.md +2 -2
  44. package/v3/common.ts +2 -2
  45. package/v3/package.json +1 -1
package/dist/v2025/api.js CHANGED
@@ -71365,6 +71365,72 @@ var RolePropagationV2025ApiAxiosParamCreator = function (configuration) {
71365
71365
  });
71366
71366
  });
71367
71367
  },
71368
+ /**
71369
+ * This endpoint fetches the Role Change Propagation Configuration for the tenant
71370
+ * @summary Get Role Change Propagation Configuration
71371
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
71372
+ * @param {*} [axiosOptions] Override http request option.
71373
+ * @throws {RequiredError}
71374
+ */
71375
+ getRolePropagationConfig: function (xSailPointExperimental, axiosOptions) {
71376
+ if (axiosOptions === void 0) { axiosOptions = {}; }
71377
+ return __awaiter(_this, void 0, void 0, function () {
71378
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
71379
+ return __generator(this, function (_a) {
71380
+ switch (_a.label) {
71381
+ case 0:
71382
+ if (xSailPointExperimental === undefined) {
71383
+ xSailPointExperimental = 'true';
71384
+ }
71385
+ localVarPath = "/role-propagation-config";
71386
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
71387
+ if (configuration) {
71388
+ baseOptions = configuration.baseOptions;
71389
+ }
71390
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
71391
+ localVarHeaderParameter = {};
71392
+ localVarQueryParameter = {};
71393
+ // authentication userAuth required
71394
+ // oauth required
71395
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
71396
+ // authentication userAuth required
71397
+ // oauth required
71398
+ ];
71399
+ case 1:
71400
+ // authentication userAuth required
71401
+ // oauth required
71402
+ _a.sent();
71403
+ // authentication userAuth required
71404
+ // oauth required
71405
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
71406
+ // authentication applicationAuth required
71407
+ // oauth required
71408
+ ];
71409
+ case 2:
71410
+ // authentication userAuth required
71411
+ // oauth required
71412
+ _a.sent();
71413
+ // authentication applicationAuth required
71414
+ // oauth required
71415
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
71416
+ case 3:
71417
+ // authentication applicationAuth required
71418
+ // oauth required
71419
+ _a.sent();
71420
+ if (xSailPointExperimental != null) {
71421
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
71422
+ }
71423
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
71424
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71425
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
71426
+ return [2 /*return*/, {
71427
+ url: (0, common_1.toPathString)(localVarUrlObj),
71428
+ axiosOptions: localVarRequestOptions,
71429
+ }];
71430
+ }
71431
+ });
71432
+ });
71433
+ },
71368
71434
  /**
71369
71435
  * This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
71370
71436
  * @summary Get status of Role-Propagation process
@@ -71435,6 +71501,77 @@ var RolePropagationV2025ApiAxiosParamCreator = function (configuration) {
71435
71501
  });
71436
71502
  });
71437
71503
  },
71504
+ /**
71505
+ * This endpoint enables or disables the Role Change Propagation Process for the tenant
71506
+ * @summary Update Role Change Propagation Configuration
71507
+ * @param {RolePropagationConfigInputV2025} rolePropagationConfigInputV2025
71508
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
71509
+ * @param {*} [axiosOptions] Override http request option.
71510
+ * @throws {RequiredError}
71511
+ */
71512
+ setRolePropagationConfig: function (rolePropagationConfigInputV2025, xSailPointExperimental, axiosOptions) {
71513
+ if (axiosOptions === void 0) { axiosOptions = {}; }
71514
+ return __awaiter(_this, void 0, void 0, function () {
71515
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
71516
+ return __generator(this, function (_a) {
71517
+ switch (_a.label) {
71518
+ case 0:
71519
+ // verify required parameter 'rolePropagationConfigInputV2025' is not null or undefined
71520
+ (0, common_1.assertParamExists)('setRolePropagationConfig', 'rolePropagationConfigInputV2025', rolePropagationConfigInputV2025);
71521
+ if (xSailPointExperimental === undefined) {
71522
+ xSailPointExperimental = 'true';
71523
+ }
71524
+ localVarPath = "/role-propagation-config";
71525
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
71526
+ if (configuration) {
71527
+ baseOptions = configuration.baseOptions;
71528
+ }
71529
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions);
71530
+ localVarHeaderParameter = {};
71531
+ localVarQueryParameter = {};
71532
+ // authentication userAuth required
71533
+ // oauth required
71534
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
71535
+ // authentication userAuth required
71536
+ // oauth required
71537
+ ];
71538
+ case 1:
71539
+ // authentication userAuth required
71540
+ // oauth required
71541
+ _a.sent();
71542
+ // authentication userAuth required
71543
+ // oauth required
71544
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
71545
+ // authentication applicationAuth required
71546
+ // oauth required
71547
+ ];
71548
+ case 2:
71549
+ // authentication userAuth required
71550
+ // oauth required
71551
+ _a.sent();
71552
+ // authentication applicationAuth required
71553
+ // oauth required
71554
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
71555
+ case 3:
71556
+ // authentication applicationAuth required
71557
+ // oauth required
71558
+ _a.sent();
71559
+ localVarHeaderParameter['Content-Type'] = 'application/json';
71560
+ if (xSailPointExperimental != null) {
71561
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
71562
+ }
71563
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
71564
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71565
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
71566
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rolePropagationConfigInputV2025, localVarRequestOptions, configuration);
71567
+ return [2 /*return*/, {
71568
+ url: (0, common_1.toPathString)(localVarUrlObj),
71569
+ axiosOptions: localVarRequestOptions,
71570
+ }];
71571
+ }
71572
+ });
71573
+ });
71574
+ },
71438
71575
  /**
71439
71576
  * This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
71440
71577
  * @summary Initiate Role Propagation process
@@ -71561,6 +71698,29 @@ var RolePropagationV2025ApiFp = function (configuration) {
71561
71698
  });
71562
71699
  });
71563
71700
  },
71701
+ /**
71702
+ * This endpoint fetches the Role Change Propagation Configuration for the tenant
71703
+ * @summary Get Role Change Propagation Configuration
71704
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
71705
+ * @param {*} [axiosOptions] Override http request option.
71706
+ * @throws {RequiredError}
71707
+ */
71708
+ getRolePropagationConfig: function (xSailPointExperimental, axiosOptions) {
71709
+ var _a, _b, _c;
71710
+ return __awaiter(this, void 0, void 0, function () {
71711
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
71712
+ return __generator(this, function (_d) {
71713
+ switch (_d.label) {
71714
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRolePropagationConfig(xSailPointExperimental, axiosOptions)];
71715
+ case 1:
71716
+ localVarAxiosArgs = _d.sent();
71717
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
71718
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RolePropagationV2025Api.getRolePropagationConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
71719
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
71720
+ }
71721
+ });
71722
+ });
71723
+ },
71564
71724
  /**
71565
71725
  * This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
71566
71726
  * @summary Get status of Role-Propagation process
@@ -71585,6 +71745,30 @@ var RolePropagationV2025ApiFp = function (configuration) {
71585
71745
  });
71586
71746
  });
71587
71747
  },
71748
+ /**
71749
+ * This endpoint enables or disables the Role Change Propagation Process for the tenant
71750
+ * @summary Update Role Change Propagation Configuration
71751
+ * @param {RolePropagationConfigInputV2025} rolePropagationConfigInputV2025
71752
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
71753
+ * @param {*} [axiosOptions] Override http request option.
71754
+ * @throws {RequiredError}
71755
+ */
71756
+ setRolePropagationConfig: function (rolePropagationConfigInputV2025, xSailPointExperimental, axiosOptions) {
71757
+ var _a, _b, _c;
71758
+ return __awaiter(this, void 0, void 0, function () {
71759
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
71760
+ return __generator(this, function (_d) {
71761
+ switch (_d.label) {
71762
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.setRolePropagationConfig(rolePropagationConfigInputV2025, xSailPointExperimental, axiosOptions)];
71763
+ case 1:
71764
+ localVarAxiosArgs = _d.sent();
71765
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
71766
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RolePropagationV2025Api.setRolePropagationConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
71767
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
71768
+ }
71769
+ });
71770
+ });
71771
+ },
71588
71772
  /**
71589
71773
  * This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
71590
71774
  * @summary Initiate Role Propagation process
@@ -71641,6 +71825,17 @@ var RolePropagationV2025ApiFactory = function (configuration, basePath, axios) {
71641
71825
  if (requestParameters === void 0) { requestParameters = {}; }
71642
71826
  return localVarFp.getOngoingRolePropagation(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
71643
71827
  },
71828
+ /**
71829
+ * This endpoint fetches the Role Change Propagation Configuration for the tenant
71830
+ * @summary Get Role Change Propagation Configuration
71831
+ * @param {RolePropagationV2025ApiGetRolePropagationConfigRequest} requestParameters Request parameters.
71832
+ * @param {*} [axiosOptions] Override http request option.
71833
+ * @throws {RequiredError}
71834
+ */
71835
+ getRolePropagationConfig: function (requestParameters, axiosOptions) {
71836
+ if (requestParameters === void 0) { requestParameters = {}; }
71837
+ return localVarFp.getRolePropagationConfig(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
71838
+ },
71644
71839
  /**
71645
71840
  * This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
71646
71841
  * @summary Get status of Role-Propagation process
@@ -71651,6 +71846,16 @@ var RolePropagationV2025ApiFactory = function (configuration, basePath, axios) {
71651
71846
  getRolePropagationStatus: function (requestParameters, axiosOptions) {
71652
71847
  return localVarFp.getRolePropagationStatus(requestParameters.rolePropagationId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
71653
71848
  },
71849
+ /**
71850
+ * This endpoint enables or disables the Role Change Propagation Process for the tenant
71851
+ * @summary Update Role Change Propagation Configuration
71852
+ * @param {RolePropagationV2025ApiSetRolePropagationConfigRequest} requestParameters Request parameters.
71853
+ * @param {*} [axiosOptions] Override http request option.
71854
+ * @throws {RequiredError}
71855
+ */
71856
+ setRolePropagationConfig: function (requestParameters, axiosOptions) {
71857
+ return localVarFp.setRolePropagationConfig(requestParameters.rolePropagationConfigInputV2025, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
71858
+ },
71654
71859
  /**
71655
71860
  * This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
71656
71861
  * @summary Initiate Role Propagation process
@@ -71702,6 +71907,19 @@ var RolePropagationV2025Api = /** @class */ (function (_super) {
71702
71907
  if (requestParameters === void 0) { requestParameters = {}; }
71703
71908
  return (0, exports.RolePropagationV2025ApiFp)(this.configuration).getOngoingRolePropagation(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
71704
71909
  };
71910
+ /**
71911
+ * This endpoint fetches the Role Change Propagation Configuration for the tenant
71912
+ * @summary Get Role Change Propagation Configuration
71913
+ * @param {RolePropagationV2025ApiGetRolePropagationConfigRequest} requestParameters Request parameters.
71914
+ * @param {*} [axiosOptions] Override http request option.
71915
+ * @throws {RequiredError}
71916
+ * @memberof RolePropagationV2025Api
71917
+ */
71918
+ RolePropagationV2025Api.prototype.getRolePropagationConfig = function (requestParameters, axiosOptions) {
71919
+ var _this = this;
71920
+ if (requestParameters === void 0) { requestParameters = {}; }
71921
+ return (0, exports.RolePropagationV2025ApiFp)(this.configuration).getRolePropagationConfig(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
71922
+ };
71705
71923
  /**
71706
71924
  * This endpoint returns the information of the specified role change propagation process. The execution stage of the role propagation process can be one of the following: - PENDING - The role propagation process is queued to be executed. - DATA_AGGREGATION_RUNNING - The role propagation process is currently aggregating data. - LAUNCH_PROVISIONING - The role propagation process has started to provision the access to the identities. - SUCCEEDED - The role propagation process has successfully completed. - FAILED - The role propagation process has failed. - TERMINATED - The role propagation process was externally terminated.
71707
71925
  * @summary Get status of Role-Propagation process
@@ -71714,6 +71932,18 @@ var RolePropagationV2025Api = /** @class */ (function (_super) {
71714
71932
  var _this = this;
71715
71933
  return (0, exports.RolePropagationV2025ApiFp)(this.configuration).getRolePropagationStatus(requestParameters.rolePropagationId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
71716
71934
  };
71935
+ /**
71936
+ * This endpoint enables or disables the Role Change Propagation Process for the tenant
71937
+ * @summary Update Role Change Propagation Configuration
71938
+ * @param {RolePropagationV2025ApiSetRolePropagationConfigRequest} requestParameters Request parameters.
71939
+ * @param {*} [axiosOptions] Override http request option.
71940
+ * @throws {RequiredError}
71941
+ * @memberof RolePropagationV2025Api
71942
+ */
71943
+ RolePropagationV2025Api.prototype.setRolePropagationConfig = function (requestParameters, axiosOptions) {
71944
+ var _this = this;
71945
+ return (0, exports.RolePropagationV2025ApiFp)(this.configuration).setRolePropagationConfig(requestParameters.rolePropagationConfigInputV2025, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
71946
+ };
71717
71947
  /**
71718
71948
  * This endpoint initiates a role change propagation process for a tenant asynchronously. If all preconditions are met, the request is accepted and a rolePropagationId is returned which can be used to view the status. API throws 4xx if any of the following conditions are met - Role propagation feature is disabled - There is an ongoing role propagation for the tenant - Role refresh needs to be kicked off as part of the role propagation (skipRoleRefresh=false) and there is an ongoing refresh for the tenant
71719
71949
  * @summary Initiate Role Propagation process