sailpoint-api-client 1.6.5 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beta/README.md +2 -2
- package/beta/api.ts +417 -243
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +330 -171
- package/dist/beta/api.js +339 -195
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/api.d.ts +62 -111
- package/dist/v2024/api.js +69 -145
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +116 -139
- package/dist/v2025/api.js +98 -183
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v3/api.d.ts +0 -1
- package/dist/v3/api.js +1 -2
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/api.ts +101 -225
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +170 -275
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +1 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v2024/api.js
CHANGED
|
@@ -578,8 +578,7 @@ exports.CampaignAlertV2024LevelV2024 = {
|
|
|
578
578
|
Info: 'INFO'
|
|
579
579
|
};
|
|
580
580
|
exports.CampaignAllOfFilterV2024TypeV2024 = {
|
|
581
|
-
CampaignFilter: 'CAMPAIGN_FILTER'
|
|
582
|
-
Rule: 'RULE'
|
|
581
|
+
CampaignFilter: 'CAMPAIGN_FILTER'
|
|
583
582
|
};
|
|
584
583
|
exports.CampaignAllOfMachineAccountCampaignInfoV2024ReviewerTypeV2024 = {
|
|
585
584
|
AccountOwner: 'ACCOUNT_OWNER'
|
|
@@ -5956,11 +5955,10 @@ var AccessRequestsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
5956
5955
|
* This endpoint closes access requests that are stuck in a pending state. It can be used throughout a request\'s lifecycle even after the approval state, unlike the [Cancel Access Request endpoint](https://developer.sailpoint.com/idn/api/v3/cancel-access-request/). To find pending access requests with the UI, navigate to Search and use this query: status: Pending AND \"Access Request\". Use the Column Chooser to select \'Tracking Number\', and use the \'Download\' button to export a CSV containing the tracking numbers. To find pending access requests with the API, use the [List Account Activities endpoint](https://developer.sailpoint.com/idn/api/v3/list-account-activities/). Input the IDs from either source. To track the status of endpoint requests, navigate to Search and use this query: name:\"Close Identity Requests\". Search will include \"Close Identity Requests Started\" audits when requests are initiated and \"Close Identity Requests Completed\" audits when requests are completed. The completion audit will list the identity request IDs that finished in error. This API triggers the [Provisioning Completed event trigger](https://developer.sailpoint.com/idn/docs/event-triggers/triggers/provisioning-completed/) for each access request that is closed.
|
|
5957
5956
|
* @summary Close access request
|
|
5958
5957
|
* @param {CloseAccessRequestV2024} closeAccessRequestV2024
|
|
5959
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
5960
5958
|
* @param {*} [axiosOptions] Override http request option.
|
|
5961
5959
|
* @throws {RequiredError}
|
|
5962
5960
|
*/
|
|
5963
|
-
closeAccessRequest: function (closeAccessRequestV2024,
|
|
5961
|
+
closeAccessRequest: function (closeAccessRequestV2024, axiosOptions) {
|
|
5964
5962
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
5965
5963
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5966
5964
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5969,9 +5967,6 @@ var AccessRequestsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
5969
5967
|
case 0:
|
|
5970
5968
|
// verify required parameter 'closeAccessRequestV2024' is not null or undefined
|
|
5971
5969
|
(0, common_1.assertParamExists)('closeAccessRequest', 'closeAccessRequestV2024', closeAccessRequestV2024);
|
|
5972
|
-
if (xSailPointExperimental === undefined) {
|
|
5973
|
-
xSailPointExperimental = 'true';
|
|
5974
|
-
}
|
|
5975
5970
|
localVarPath = "/access-requests/close";
|
|
5976
5971
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5977
5972
|
if (configuration) {
|
|
@@ -5998,9 +5993,6 @@ var AccessRequestsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
5998
5993
|
// oauth required
|
|
5999
5994
|
_a.sent();
|
|
6000
5995
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6001
|
-
if (xSailPointExperimental != null) {
|
|
6002
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
6003
|
-
}
|
|
6004
5996
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6005
5997
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6006
5998
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -6485,17 +6477,16 @@ var AccessRequestsV2024ApiFp = function (configuration) {
|
|
|
6485
6477
|
* This endpoint closes access requests that are stuck in a pending state. It can be used throughout a request\'s lifecycle even after the approval state, unlike the [Cancel Access Request endpoint](https://developer.sailpoint.com/idn/api/v3/cancel-access-request/). To find pending access requests with the UI, navigate to Search and use this query: status: Pending AND \"Access Request\". Use the Column Chooser to select \'Tracking Number\', and use the \'Download\' button to export a CSV containing the tracking numbers. To find pending access requests with the API, use the [List Account Activities endpoint](https://developer.sailpoint.com/idn/api/v3/list-account-activities/). Input the IDs from either source. To track the status of endpoint requests, navigate to Search and use this query: name:\"Close Identity Requests\". Search will include \"Close Identity Requests Started\" audits when requests are initiated and \"Close Identity Requests Completed\" audits when requests are completed. The completion audit will list the identity request IDs that finished in error. This API triggers the [Provisioning Completed event trigger](https://developer.sailpoint.com/idn/docs/event-triggers/triggers/provisioning-completed/) for each access request that is closed.
|
|
6486
6478
|
* @summary Close access request
|
|
6487
6479
|
* @param {CloseAccessRequestV2024} closeAccessRequestV2024
|
|
6488
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
6489
6480
|
* @param {*} [axiosOptions] Override http request option.
|
|
6490
6481
|
* @throws {RequiredError}
|
|
6491
6482
|
*/
|
|
6492
|
-
closeAccessRequest: function (closeAccessRequestV2024,
|
|
6483
|
+
closeAccessRequest: function (closeAccessRequestV2024, axiosOptions) {
|
|
6493
6484
|
var _a, _b, _c;
|
|
6494
6485
|
return __awaiter(this, void 0, void 0, function () {
|
|
6495
6486
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6496
6487
|
return __generator(this, function (_d) {
|
|
6497
6488
|
switch (_d.label) {
|
|
6498
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.closeAccessRequest(closeAccessRequestV2024,
|
|
6489
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.closeAccessRequest(closeAccessRequestV2024, axiosOptions)];
|
|
6499
6490
|
case 1:
|
|
6500
6491
|
localVarAxiosArgs = _d.sent();
|
|
6501
6492
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -6708,7 +6699,7 @@ var AccessRequestsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
6708
6699
|
* @throws {RequiredError}
|
|
6709
6700
|
*/
|
|
6710
6701
|
closeAccessRequest: function (requestParameters, axiosOptions) {
|
|
6711
|
-
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2024,
|
|
6702
|
+
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
6712
6703
|
},
|
|
6713
6704
|
/**
|
|
6714
6705
|
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token’s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
@@ -6831,7 +6822,7 @@ var AccessRequestsV2024Api = /** @class */ (function (_super) {
|
|
|
6831
6822
|
*/
|
|
6832
6823
|
AccessRequestsV2024Api.prototype.closeAccessRequest = function (requestParameters, axiosOptions) {
|
|
6833
6824
|
var _this = this;
|
|
6834
|
-
return (0, exports.AccessRequestsV2024ApiFp)(this.configuration).closeAccessRequest(requestParameters.closeAccessRequestV2024,
|
|
6825
|
+
return (0, exports.AccessRequestsV2024ApiFp)(this.configuration).closeAccessRequest(requestParameters.closeAccessRequestV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6835
6826
|
};
|
|
6836
6827
|
/**
|
|
6837
6828
|
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token’s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
@@ -7197,11 +7188,10 @@ var AccountAggregationsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7197
7188
|
* This API returns the status of an *in-progress* account aggregation, along with the total number of **NEW**, **CHANGED** and **DELETED** accounts found since the previous aggregation, and the number of those accounts that have been processed so far. Accounts that have not changed since the previous aggregation are not included in **totalAccounts** and **processedAccounts** counts returned by this API. This is distinct from **Accounts Scanned** shown in the Aggregation UI, which indicates total accounts scanned regardless of whether they changed or not. Since this endpoint reports on the status of an *in-progress* account aggregation, totalAccounts and processedAccounts may change between calls to this endpoint. *Only available up to an hour after the aggregation completes. May respond with *404 Not Found* after that.* required to call this API.
|
|
7198
7189
|
* @summary In-progress account aggregation status
|
|
7199
7190
|
* @param {string} id The account aggregation id
|
|
7200
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7201
7191
|
* @param {*} [axiosOptions] Override http request option.
|
|
7202
7192
|
* @throws {RequiredError}
|
|
7203
7193
|
*/
|
|
7204
|
-
getAccountAggregationStatus: function (id,
|
|
7194
|
+
getAccountAggregationStatus: function (id, axiosOptions) {
|
|
7205
7195
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7206
7196
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7207
7197
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7210,9 +7200,6 @@ var AccountAggregationsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7210
7200
|
case 0:
|
|
7211
7201
|
// verify required parameter 'id' is not null or undefined
|
|
7212
7202
|
(0, common_1.assertParamExists)('getAccountAggregationStatus', 'id', id);
|
|
7213
|
-
if (xSailPointExperimental === undefined) {
|
|
7214
|
-
xSailPointExperimental = 'true';
|
|
7215
|
-
}
|
|
7216
7203
|
localVarPath = "/account-aggregations/{id}/status"
|
|
7217
7204
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7218
7205
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7239,9 +7226,6 @@ var AccountAggregationsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7239
7226
|
// authentication userAuth required
|
|
7240
7227
|
// oauth required
|
|
7241
7228
|
_a.sent();
|
|
7242
|
-
if (xSailPointExperimental != null) {
|
|
7243
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
7244
|
-
}
|
|
7245
7229
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7246
7230
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7247
7231
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -7267,17 +7251,16 @@ var AccountAggregationsV2024ApiFp = function (configuration) {
|
|
|
7267
7251
|
* This API returns the status of an *in-progress* account aggregation, along with the total number of **NEW**, **CHANGED** and **DELETED** accounts found since the previous aggregation, and the number of those accounts that have been processed so far. Accounts that have not changed since the previous aggregation are not included in **totalAccounts** and **processedAccounts** counts returned by this API. This is distinct from **Accounts Scanned** shown in the Aggregation UI, which indicates total accounts scanned regardless of whether they changed or not. Since this endpoint reports on the status of an *in-progress* account aggregation, totalAccounts and processedAccounts may change between calls to this endpoint. *Only available up to an hour after the aggregation completes. May respond with *404 Not Found* after that.* required to call this API.
|
|
7268
7252
|
* @summary In-progress account aggregation status
|
|
7269
7253
|
* @param {string} id The account aggregation id
|
|
7270
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7271
7254
|
* @param {*} [axiosOptions] Override http request option.
|
|
7272
7255
|
* @throws {RequiredError}
|
|
7273
7256
|
*/
|
|
7274
|
-
getAccountAggregationStatus: function (id,
|
|
7257
|
+
getAccountAggregationStatus: function (id, axiosOptions) {
|
|
7275
7258
|
var _a, _b, _c;
|
|
7276
7259
|
return __awaiter(this, void 0, void 0, function () {
|
|
7277
7260
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7278
7261
|
return __generator(this, function (_d) {
|
|
7279
7262
|
switch (_d.label) {
|
|
7280
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountAggregationStatus(id,
|
|
7263
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountAggregationStatus(id, axiosOptions)];
|
|
7281
7264
|
case 1:
|
|
7282
7265
|
localVarAxiosArgs = _d.sent();
|
|
7283
7266
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -7305,7 +7288,7 @@ var AccountAggregationsV2024ApiFactory = function (configuration, basePath, axio
|
|
|
7305
7288
|
* @throws {RequiredError}
|
|
7306
7289
|
*/
|
|
7307
7290
|
getAccountAggregationStatus: function (requestParameters, axiosOptions) {
|
|
7308
|
-
return localVarFp.getAccountAggregationStatus(requestParameters.id,
|
|
7291
|
+
return localVarFp.getAccountAggregationStatus(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
7309
7292
|
},
|
|
7310
7293
|
};
|
|
7311
7294
|
};
|
|
@@ -7331,7 +7314,7 @@ var AccountAggregationsV2024Api = /** @class */ (function (_super) {
|
|
|
7331
7314
|
*/
|
|
7332
7315
|
AccountAggregationsV2024Api.prototype.getAccountAggregationStatus = function (requestParameters, axiosOptions) {
|
|
7333
7316
|
var _this = this;
|
|
7334
|
-
return (0, exports.AccountAggregationsV2024ApiFp)(this.configuration).getAccountAggregationStatus(requestParameters.id,
|
|
7317
|
+
return (0, exports.AccountAggregationsV2024ApiFp)(this.configuration).getAccountAggregationStatus(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7335
7318
|
};
|
|
7336
7319
|
return AccountAggregationsV2024Api;
|
|
7337
7320
|
}(base_1.BaseAPI));
|
|
@@ -7616,11 +7599,10 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7616
7599
|
* Use this endpoint to remove accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won\'t be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
|
7617
7600
|
* @summary Remove account
|
|
7618
7601
|
* @param {string} id The account id
|
|
7619
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7620
7602
|
* @param {*} [axiosOptions] Override http request option.
|
|
7621
7603
|
* @throws {RequiredError}
|
|
7622
7604
|
*/
|
|
7623
|
-
deleteAccountAsync: function (id,
|
|
7605
|
+
deleteAccountAsync: function (id, axiosOptions) {
|
|
7624
7606
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7625
7607
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7626
7608
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7629,9 +7611,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7629
7611
|
case 0:
|
|
7630
7612
|
// verify required parameter 'id' is not null or undefined
|
|
7631
7613
|
(0, common_1.assertParamExists)('deleteAccountAsync', 'id', id);
|
|
7632
|
-
if (xSailPointExperimental === undefined) {
|
|
7633
|
-
xSailPointExperimental = 'true';
|
|
7634
|
-
}
|
|
7635
7614
|
localVarPath = "/accounts/{id}/remove"
|
|
7636
7615
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7637
7616
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7658,9 +7637,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7658
7637
|
// authentication userAuth required
|
|
7659
7638
|
// oauth required
|
|
7660
7639
|
_a.sent();
|
|
7661
|
-
if (xSailPointExperimental != null) {
|
|
7662
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
7663
|
-
}
|
|
7664
7640
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7665
7641
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7666
7642
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -7734,11 +7710,10 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7734
7710
|
* This API submits a task to disable IDN account for a single identity.
|
|
7735
7711
|
* @summary Disable idn account for identity
|
|
7736
7712
|
* @param {string} id The identity id.
|
|
7737
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7738
7713
|
* @param {*} [axiosOptions] Override http request option.
|
|
7739
7714
|
* @throws {RequiredError}
|
|
7740
7715
|
*/
|
|
7741
|
-
disableAccountForIdentity: function (id,
|
|
7716
|
+
disableAccountForIdentity: function (id, axiosOptions) {
|
|
7742
7717
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7743
7718
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7744
7719
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7747,9 +7722,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7747
7722
|
case 0:
|
|
7748
7723
|
// verify required parameter 'id' is not null or undefined
|
|
7749
7724
|
(0, common_1.assertParamExists)('disableAccountForIdentity', 'id', id);
|
|
7750
|
-
if (xSailPointExperimental === undefined) {
|
|
7751
|
-
xSailPointExperimental = 'true';
|
|
7752
|
-
}
|
|
7753
7725
|
localVarPath = "/identities-accounts/{id}/disable"
|
|
7754
7726
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7755
7727
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7776,9 +7748,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7776
7748
|
// authentication userAuth required
|
|
7777
7749
|
// oauth required
|
|
7778
7750
|
_a.sent();
|
|
7779
|
-
if (xSailPointExperimental != null) {
|
|
7780
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
7781
|
-
}
|
|
7782
7751
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7783
7752
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7784
7753
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -7794,11 +7763,10 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7794
7763
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
7795
7764
|
* @summary Disable idn accounts for identities
|
|
7796
7765
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
7797
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7798
7766
|
* @param {*} [axiosOptions] Override http request option.
|
|
7799
7767
|
* @throws {RequiredError}
|
|
7800
7768
|
*/
|
|
7801
|
-
disableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024,
|
|
7769
|
+
disableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024, axiosOptions) {
|
|
7802
7770
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7803
7771
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7804
7772
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7807,9 +7775,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7807
7775
|
case 0:
|
|
7808
7776
|
// verify required parameter 'identitiesAccountsBulkRequestV2024' is not null or undefined
|
|
7809
7777
|
(0, common_1.assertParamExists)('disableAccountsForIdentities', 'identitiesAccountsBulkRequestV2024', identitiesAccountsBulkRequestV2024);
|
|
7810
|
-
if (xSailPointExperimental === undefined) {
|
|
7811
|
-
xSailPointExperimental = 'true';
|
|
7812
|
-
}
|
|
7813
7778
|
localVarPath = "/identities-accounts/disable";
|
|
7814
7779
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7815
7780
|
if (configuration) {
|
|
@@ -7836,9 +7801,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7836
7801
|
// oauth required
|
|
7837
7802
|
_a.sent();
|
|
7838
7803
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7839
|
-
if (xSailPointExperimental != null) {
|
|
7840
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
7841
|
-
}
|
|
7842
7804
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7843
7805
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7844
7806
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -7913,11 +7875,10 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7913
7875
|
* This API submits a task to enable IDN account for a single identity.
|
|
7914
7876
|
* @summary Enable idn account for identity
|
|
7915
7877
|
* @param {string} id The identity id.
|
|
7916
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7917
7878
|
* @param {*} [axiosOptions] Override http request option.
|
|
7918
7879
|
* @throws {RequiredError}
|
|
7919
7880
|
*/
|
|
7920
|
-
enableAccountForIdentity: function (id,
|
|
7881
|
+
enableAccountForIdentity: function (id, axiosOptions) {
|
|
7921
7882
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7922
7883
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7923
7884
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7926,9 +7887,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7926
7887
|
case 0:
|
|
7927
7888
|
// verify required parameter 'id' is not null or undefined
|
|
7928
7889
|
(0, common_1.assertParamExists)('enableAccountForIdentity', 'id', id);
|
|
7929
|
-
if (xSailPointExperimental === undefined) {
|
|
7930
|
-
xSailPointExperimental = 'true';
|
|
7931
|
-
}
|
|
7932
7890
|
localVarPath = "/identities-accounts/{id}/enable"
|
|
7933
7891
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7934
7892
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7955,9 +7913,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7955
7913
|
// authentication userAuth required
|
|
7956
7914
|
// oauth required
|
|
7957
7915
|
_a.sent();
|
|
7958
|
-
if (xSailPointExperimental != null) {
|
|
7959
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
7960
|
-
}
|
|
7961
7916
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7962
7917
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7963
7918
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -7973,11 +7928,10 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7973
7928
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
7974
7929
|
* @summary Enable idn accounts for identities
|
|
7975
7930
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
7976
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
7977
7931
|
* @param {*} [axiosOptions] Override http request option.
|
|
7978
7932
|
* @throws {RequiredError}
|
|
7979
7933
|
*/
|
|
7980
|
-
enableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024,
|
|
7934
|
+
enableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024, axiosOptions) {
|
|
7981
7935
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7982
7936
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7983
7937
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7986,9 +7940,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
7986
7940
|
case 0:
|
|
7987
7941
|
// verify required parameter 'identitiesAccountsBulkRequestV2024' is not null or undefined
|
|
7988
7942
|
(0, common_1.assertParamExists)('enableAccountsForIdentities', 'identitiesAccountsBulkRequestV2024', identitiesAccountsBulkRequestV2024);
|
|
7989
|
-
if (xSailPointExperimental === undefined) {
|
|
7990
|
-
xSailPointExperimental = 'true';
|
|
7991
|
-
}
|
|
7992
7943
|
localVarPath = "/identities-accounts/enable";
|
|
7993
7944
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7994
7945
|
if (configuration) {
|
|
@@ -8015,9 +7966,6 @@ var AccountsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
8015
7966
|
// oauth required
|
|
8016
7967
|
_a.sent();
|
|
8017
7968
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8018
|
-
if (xSailPointExperimental != null) {
|
|
8019
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
8020
|
-
}
|
|
8021
7969
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8022
7970
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8023
7971
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -8508,17 +8456,16 @@ var AccountsV2024ApiFp = function (configuration) {
|
|
|
8508
8456
|
* Use this endpoint to remove accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won\'t be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
|
8509
8457
|
* @summary Remove account
|
|
8510
8458
|
* @param {string} id The account id
|
|
8511
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
8512
8459
|
* @param {*} [axiosOptions] Override http request option.
|
|
8513
8460
|
* @throws {RequiredError}
|
|
8514
8461
|
*/
|
|
8515
|
-
deleteAccountAsync: function (id,
|
|
8462
|
+
deleteAccountAsync: function (id, axiosOptions) {
|
|
8516
8463
|
var _a, _b, _c;
|
|
8517
8464
|
return __awaiter(this, void 0, void 0, function () {
|
|
8518
8465
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8519
8466
|
return __generator(this, function (_d) {
|
|
8520
8467
|
switch (_d.label) {
|
|
8521
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccountAsync(id,
|
|
8468
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccountAsync(id, axiosOptions)];
|
|
8522
8469
|
case 1:
|
|
8523
8470
|
localVarAxiosArgs = _d.sent();
|
|
8524
8471
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8556,17 +8503,16 @@ var AccountsV2024ApiFp = function (configuration) {
|
|
|
8556
8503
|
* This API submits a task to disable IDN account for a single identity.
|
|
8557
8504
|
* @summary Disable idn account for identity
|
|
8558
8505
|
* @param {string} id The identity id.
|
|
8559
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
8560
8506
|
* @param {*} [axiosOptions] Override http request option.
|
|
8561
8507
|
* @throws {RequiredError}
|
|
8562
8508
|
*/
|
|
8563
|
-
disableAccountForIdentity: function (id,
|
|
8509
|
+
disableAccountForIdentity: function (id, axiosOptions) {
|
|
8564
8510
|
var _a, _b, _c;
|
|
8565
8511
|
return __awaiter(this, void 0, void 0, function () {
|
|
8566
8512
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8567
8513
|
return __generator(this, function (_d) {
|
|
8568
8514
|
switch (_d.label) {
|
|
8569
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableAccountForIdentity(id,
|
|
8515
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableAccountForIdentity(id, axiosOptions)];
|
|
8570
8516
|
case 1:
|
|
8571
8517
|
localVarAxiosArgs = _d.sent();
|
|
8572
8518
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8580,17 +8526,16 @@ var AccountsV2024ApiFp = function (configuration) {
|
|
|
8580
8526
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
8581
8527
|
* @summary Disable idn accounts for identities
|
|
8582
8528
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
8583
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
8584
8529
|
* @param {*} [axiosOptions] Override http request option.
|
|
8585
8530
|
* @throws {RequiredError}
|
|
8586
8531
|
*/
|
|
8587
|
-
disableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024,
|
|
8532
|
+
disableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024, axiosOptions) {
|
|
8588
8533
|
var _a, _b, _c;
|
|
8589
8534
|
return __awaiter(this, void 0, void 0, function () {
|
|
8590
8535
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8591
8536
|
return __generator(this, function (_d) {
|
|
8592
8537
|
switch (_d.label) {
|
|
8593
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableAccountsForIdentities(identitiesAccountsBulkRequestV2024,
|
|
8538
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableAccountsForIdentities(identitiesAccountsBulkRequestV2024, axiosOptions)];
|
|
8594
8539
|
case 1:
|
|
8595
8540
|
localVarAxiosArgs = _d.sent();
|
|
8596
8541
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8628,17 +8573,16 @@ var AccountsV2024ApiFp = function (configuration) {
|
|
|
8628
8573
|
* This API submits a task to enable IDN account for a single identity.
|
|
8629
8574
|
* @summary Enable idn account for identity
|
|
8630
8575
|
* @param {string} id The identity id.
|
|
8631
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
8632
8576
|
* @param {*} [axiosOptions] Override http request option.
|
|
8633
8577
|
* @throws {RequiredError}
|
|
8634
8578
|
*/
|
|
8635
|
-
enableAccountForIdentity: function (id,
|
|
8579
|
+
enableAccountForIdentity: function (id, axiosOptions) {
|
|
8636
8580
|
var _a, _b, _c;
|
|
8637
8581
|
return __awaiter(this, void 0, void 0, function () {
|
|
8638
8582
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8639
8583
|
return __generator(this, function (_d) {
|
|
8640
8584
|
switch (_d.label) {
|
|
8641
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableAccountForIdentity(id,
|
|
8585
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableAccountForIdentity(id, axiosOptions)];
|
|
8642
8586
|
case 1:
|
|
8643
8587
|
localVarAxiosArgs = _d.sent();
|
|
8644
8588
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8652,17 +8596,16 @@ var AccountsV2024ApiFp = function (configuration) {
|
|
|
8652
8596
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
8653
8597
|
* @summary Enable idn accounts for identities
|
|
8654
8598
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
8655
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
8656
8599
|
* @param {*} [axiosOptions] Override http request option.
|
|
8657
8600
|
* @throws {RequiredError}
|
|
8658
8601
|
*/
|
|
8659
|
-
enableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024,
|
|
8602
|
+
enableAccountsForIdentities: function (identitiesAccountsBulkRequestV2024, axiosOptions) {
|
|
8660
8603
|
var _a, _b, _c;
|
|
8661
8604
|
return __awaiter(this, void 0, void 0, function () {
|
|
8662
8605
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8663
8606
|
return __generator(this, function (_d) {
|
|
8664
8607
|
switch (_d.label) {
|
|
8665
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableAccountsForIdentities(identitiesAccountsBulkRequestV2024,
|
|
8608
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableAccountsForIdentities(identitiesAccountsBulkRequestV2024, axiosOptions)];
|
|
8666
8609
|
case 1:
|
|
8667
8610
|
localVarAxiosArgs = _d.sent();
|
|
8668
8611
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8882,7 +8825,7 @@ var AccountsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
8882
8825
|
* @throws {RequiredError}
|
|
8883
8826
|
*/
|
|
8884
8827
|
deleteAccountAsync: function (requestParameters, axiosOptions) {
|
|
8885
|
-
return localVarFp.deleteAccountAsync(requestParameters.id,
|
|
8828
|
+
return localVarFp.deleteAccountAsync(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
8886
8829
|
},
|
|
8887
8830
|
/**
|
|
8888
8831
|
* This API submits a task to disable the account and returns the task ID.
|
|
@@ -8902,7 +8845,7 @@ var AccountsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
8902
8845
|
* @throws {RequiredError}
|
|
8903
8846
|
*/
|
|
8904
8847
|
disableAccountForIdentity: function (requestParameters, axiosOptions) {
|
|
8905
|
-
return localVarFp.disableAccountForIdentity(requestParameters.id,
|
|
8848
|
+
return localVarFp.disableAccountForIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
8906
8849
|
},
|
|
8907
8850
|
/**
|
|
8908
8851
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
@@ -8912,7 +8855,7 @@ var AccountsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
8912
8855
|
* @throws {RequiredError}
|
|
8913
8856
|
*/
|
|
8914
8857
|
disableAccountsForIdentities: function (requestParameters, axiosOptions) {
|
|
8915
|
-
return localVarFp.disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
8858
|
+
return localVarFp.disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
8916
8859
|
},
|
|
8917
8860
|
/**
|
|
8918
8861
|
* This API submits a task to enable account and returns the task ID.
|
|
@@ -8932,7 +8875,7 @@ var AccountsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
8932
8875
|
* @throws {RequiredError}
|
|
8933
8876
|
*/
|
|
8934
8877
|
enableAccountForIdentity: function (requestParameters, axiosOptions) {
|
|
8935
|
-
return localVarFp.enableAccountForIdentity(requestParameters.id,
|
|
8878
|
+
return localVarFp.enableAccountForIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
8936
8879
|
},
|
|
8937
8880
|
/**
|
|
8938
8881
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
@@ -8942,7 +8885,7 @@ var AccountsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
8942
8885
|
* @throws {RequiredError}
|
|
8943
8886
|
*/
|
|
8944
8887
|
enableAccountsForIdentities: function (requestParameters, axiosOptions) {
|
|
8945
|
-
return localVarFp.enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
8888
|
+
return localVarFp.enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
8946
8889
|
},
|
|
8947
8890
|
/**
|
|
8948
8891
|
* Use this API to return the details for a single account by its ID.
|
|
@@ -9063,7 +9006,7 @@ var AccountsV2024Api = /** @class */ (function (_super) {
|
|
|
9063
9006
|
*/
|
|
9064
9007
|
AccountsV2024Api.prototype.deleteAccountAsync = function (requestParameters, axiosOptions) {
|
|
9065
9008
|
var _this = this;
|
|
9066
|
-
return (0, exports.AccountsV2024ApiFp)(this.configuration).deleteAccountAsync(requestParameters.id,
|
|
9009
|
+
return (0, exports.AccountsV2024ApiFp)(this.configuration).deleteAccountAsync(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9067
9010
|
};
|
|
9068
9011
|
/**
|
|
9069
9012
|
* This API submits a task to disable the account and returns the task ID.
|
|
@@ -9087,7 +9030,7 @@ var AccountsV2024Api = /** @class */ (function (_super) {
|
|
|
9087
9030
|
*/
|
|
9088
9031
|
AccountsV2024Api.prototype.disableAccountForIdentity = function (requestParameters, axiosOptions) {
|
|
9089
9032
|
var _this = this;
|
|
9090
|
-
return (0, exports.AccountsV2024ApiFp)(this.configuration).disableAccountForIdentity(requestParameters.id,
|
|
9033
|
+
return (0, exports.AccountsV2024ApiFp)(this.configuration).disableAccountForIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9091
9034
|
};
|
|
9092
9035
|
/**
|
|
9093
9036
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
@@ -9099,7 +9042,7 @@ var AccountsV2024Api = /** @class */ (function (_super) {
|
|
|
9099
9042
|
*/
|
|
9100
9043
|
AccountsV2024Api.prototype.disableAccountsForIdentities = function (requestParameters, axiosOptions) {
|
|
9101
9044
|
var _this = this;
|
|
9102
|
-
return (0, exports.AccountsV2024ApiFp)(this.configuration).disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
9045
|
+
return (0, exports.AccountsV2024ApiFp)(this.configuration).disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9103
9046
|
};
|
|
9104
9047
|
/**
|
|
9105
9048
|
* This API submits a task to enable account and returns the task ID.
|
|
@@ -9123,7 +9066,7 @@ var AccountsV2024Api = /** @class */ (function (_super) {
|
|
|
9123
9066
|
*/
|
|
9124
9067
|
AccountsV2024Api.prototype.enableAccountForIdentity = function (requestParameters, axiosOptions) {
|
|
9125
9068
|
var _this = this;
|
|
9126
|
-
return (0, exports.AccountsV2024ApiFp)(this.configuration).enableAccountForIdentity(requestParameters.id,
|
|
9069
|
+
return (0, exports.AccountsV2024ApiFp)(this.configuration).enableAccountForIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9127
9070
|
};
|
|
9128
9071
|
/**
|
|
9129
9072
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
@@ -9135,7 +9078,7 @@ var AccountsV2024Api = /** @class */ (function (_super) {
|
|
|
9135
9078
|
*/
|
|
9136
9079
|
AccountsV2024Api.prototype.enableAccountsForIdentities = function (requestParameters, axiosOptions) {
|
|
9137
9080
|
var _this = this;
|
|
9138
|
-
return (0, exports.AccountsV2024ApiFp)(this.configuration).enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
9081
|
+
return (0, exports.AccountsV2024ApiFp)(this.configuration).enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9139
9082
|
};
|
|
9140
9083
|
/**
|
|
9141
9084
|
* Use this API to return the details for a single account by its ID.
|
|
@@ -51746,7 +51689,7 @@ var NotificationsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
51746
51689
|
});
|
|
51747
51690
|
},
|
|
51748
51691
|
/**
|
|
51749
|
-
* This
|
|
51692
|
+
* This will update notification templates that are available in your tenant. Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.
|
|
51750
51693
|
* @summary Create notification template
|
|
51751
51694
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
51752
51695
|
* @param {TemplateDtoV2024} templateDtoV2024
|
|
@@ -52432,11 +52375,12 @@ var NotificationsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
52432
52375
|
* @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.
|
|
52433
52376
|
* @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.
|
|
52434
52377
|
* @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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw*
|
|
52378
|
+
* @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: **key, name, medium**
|
|
52435
52379
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
52436
52380
|
* @param {*} [axiosOptions] Override http request option.
|
|
52437
52381
|
* @throws {RequiredError}
|
|
52438
52382
|
*/
|
|
52439
|
-
listNotificationTemplates: function (limit, offset, filters, xSailPointExperimental, axiosOptions) {
|
|
52383
|
+
listNotificationTemplates: function (limit, offset, filters, sorters, xSailPointExperimental, axiosOptions) {
|
|
52440
52384
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
52441
52385
|
return __awaiter(_this, void 0, void 0, function () {
|
|
52442
52386
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -52480,6 +52424,9 @@ var NotificationsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
52480
52424
|
if (filters !== undefined) {
|
|
52481
52425
|
localVarQueryParameter['filters'] = filters;
|
|
52482
52426
|
}
|
|
52427
|
+
if (sorters !== undefined) {
|
|
52428
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
52429
|
+
}
|
|
52483
52430
|
if (xSailPointExperimental != null) {
|
|
52484
52431
|
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
52485
52432
|
}
|
|
@@ -52651,7 +52598,7 @@ var NotificationsV2024ApiFp = function (configuration) {
|
|
|
52651
52598
|
});
|
|
52652
52599
|
},
|
|
52653
52600
|
/**
|
|
52654
|
-
* This
|
|
52601
|
+
* This will update notification templates that are available in your tenant. Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.
|
|
52655
52602
|
* @summary Create notification template
|
|
52656
52603
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
52657
52604
|
* @param {TemplateDtoV2024} templateDtoV2024
|
|
@@ -52923,17 +52870,18 @@ var NotificationsV2024ApiFp = function (configuration) {
|
|
|
52923
52870
|
* @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.
|
|
52924
52871
|
* @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.
|
|
52925
52872
|
* @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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw*
|
|
52873
|
+
* @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: **key, name, medium**
|
|
52926
52874
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
52927
52875
|
* @param {*} [axiosOptions] Override http request option.
|
|
52928
52876
|
* @throws {RequiredError}
|
|
52929
52877
|
*/
|
|
52930
|
-
listNotificationTemplates: function (limit, offset, filters, xSailPointExperimental, axiosOptions) {
|
|
52878
|
+
listNotificationTemplates: function (limit, offset, filters, sorters, xSailPointExperimental, axiosOptions) {
|
|
52931
52879
|
var _a, _b, _c;
|
|
52932
52880
|
return __awaiter(this, void 0, void 0, function () {
|
|
52933
52881
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
52934
52882
|
return __generator(this, function (_d) {
|
|
52935
52883
|
switch (_d.label) {
|
|
52936
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listNotificationTemplates(limit, offset, filters, xSailPointExperimental, axiosOptions)];
|
|
52884
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listNotificationTemplates(limit, offset, filters, sorters, xSailPointExperimental, axiosOptions)];
|
|
52937
52885
|
case 1:
|
|
52938
52886
|
localVarAxiosArgs = _d.sent();
|
|
52939
52887
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -53012,7 +52960,7 @@ var NotificationsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
53012
52960
|
return localVarFp.createDomainDkim(requestParameters.xSailPointExperimental, requestParameters.domainAddressV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
53013
52961
|
},
|
|
53014
52962
|
/**
|
|
53015
|
-
* This
|
|
52963
|
+
* This will update notification templates that are available in your tenant. Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.
|
|
53016
52964
|
* @summary Create notification template
|
|
53017
52965
|
* @param {NotificationsV2024ApiCreateNotificationTemplateRequest} requestParameters Request parameters.
|
|
53018
52966
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -53135,7 +53083,7 @@ var NotificationsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
53135
53083
|
*/
|
|
53136
53084
|
listNotificationTemplates: function (requestParameters, axiosOptions) {
|
|
53137
53085
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
53138
|
-
return localVarFp.listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
53086
|
+
return localVarFp.listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
53139
53087
|
},
|
|
53140
53088
|
/**
|
|
53141
53089
|
* Change the MAIL FROM domain of an AWS SES email identity and provide the MX and TXT records to be placed in the caller\'s DNS
|
|
@@ -53184,7 +53132,7 @@ var NotificationsV2024Api = /** @class */ (function (_super) {
|
|
|
53184
53132
|
return (0, exports.NotificationsV2024ApiFp)(this.configuration).createDomainDkim(requestParameters.xSailPointExperimental, requestParameters.domainAddressV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
53185
53133
|
};
|
|
53186
53134
|
/**
|
|
53187
|
-
* This
|
|
53135
|
+
* This will update notification templates that are available in your tenant. Note that you cannot create new templates in your tenant, but you can use this to create custom notifications from existing templates. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.
|
|
53188
53136
|
* @summary Create notification template
|
|
53189
53137
|
* @param {NotificationsV2024ApiCreateNotificationTemplateRequest} requestParameters Request parameters.
|
|
53190
53138
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -53331,7 +53279,7 @@ var NotificationsV2024Api = /** @class */ (function (_super) {
|
|
|
53331
53279
|
NotificationsV2024Api.prototype.listNotificationTemplates = function (requestParameters, axiosOptions) {
|
|
53332
53280
|
var _this = this;
|
|
53333
53281
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
53334
|
-
return (0, exports.NotificationsV2024ApiFp)(this.configuration).listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
53282
|
+
return (0, exports.NotificationsV2024ApiFp)(this.configuration).listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
53335
53283
|
};
|
|
53336
53284
|
/**
|
|
53337
53285
|
* Change the MAIL FROM domain of an AWS SES email identity and provide the MX and TXT records to be placed in the caller\'s DNS
|
|
@@ -68897,13 +68845,12 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
68897
68845
|
},
|
|
68898
68846
|
/**
|
|
68899
68847
|
* Use this endpoint to remove all accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won\'t be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
|
68900
|
-
* @summary Remove all accounts in
|
|
68848
|
+
* @summary Remove all accounts in source
|
|
68901
68849
|
* @param {string} id The source id
|
|
68902
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
68903
68850
|
* @param {*} [axiosOptions] Override http request option.
|
|
68904
68851
|
* @throws {RequiredError}
|
|
68905
68852
|
*/
|
|
68906
|
-
deleteAccountsAsync: function (id,
|
|
68853
|
+
deleteAccountsAsync: function (id, axiosOptions) {
|
|
68907
68854
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
68908
68855
|
return __awaiter(_this, void 0, void 0, function () {
|
|
68909
68856
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -68912,9 +68859,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
68912
68859
|
case 0:
|
|
68913
68860
|
// verify required parameter 'id' is not null or undefined
|
|
68914
68861
|
(0, common_1.assertParamExists)('deleteAccountsAsync', 'id', id);
|
|
68915
|
-
if (xSailPointExperimental === undefined) {
|
|
68916
|
-
xSailPointExperimental = 'true';
|
|
68917
|
-
}
|
|
68918
68862
|
localVarPath = "/sources/{id}/remove-accounts"
|
|
68919
68863
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
68920
68864
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -68941,9 +68885,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
68941
68885
|
// authentication userAuth required
|
|
68942
68886
|
// oauth required
|
|
68943
68887
|
_a.sent();
|
|
68944
|
-
if (xSailPointExperimental != null) {
|
|
68945
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
68946
|
-
}
|
|
68947
68888
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
68948
68889
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68949
68890
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -70099,13 +70040,12 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70099
70040
|
* Starts an account aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`.
|
|
70100
70041
|
* @summary Account aggregation
|
|
70101
70042
|
* @param {string} id Source Id
|
|
70102
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
70103
70043
|
* @param {File} [file] The CSV file containing the source accounts to aggregate.
|
|
70104
70044
|
* @param {string} [disableOptimization] Use this flag to reprocess every account whether or not the data has changed.
|
|
70105
70045
|
* @param {*} [axiosOptions] Override http request option.
|
|
70106
70046
|
* @throws {RequiredError}
|
|
70107
70047
|
*/
|
|
70108
|
-
importAccounts: function (id,
|
|
70048
|
+
importAccounts: function (id, file, disableOptimization, axiosOptions) {
|
|
70109
70049
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
70110
70050
|
return __awaiter(_this, void 0, void 0, function () {
|
|
70111
70051
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
@@ -70114,9 +70054,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70114
70054
|
case 0:
|
|
70115
70055
|
// verify required parameter 'id' is not null or undefined
|
|
70116
70056
|
(0, common_1.assertParamExists)('importAccounts', 'id', id);
|
|
70117
|
-
if (xSailPointExperimental === undefined) {
|
|
70118
|
-
xSailPointExperimental = 'true';
|
|
70119
|
-
}
|
|
70120
70057
|
localVarPath = "/sources/{id}/load-accounts"
|
|
70121
70058
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
70122
70059
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -70151,9 +70088,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70151
70088
|
localVarFormParams.append('disableOptimization', disableOptimization);
|
|
70152
70089
|
}
|
|
70153
70090
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
70154
|
-
if (xSailPointExperimental != null) {
|
|
70155
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
70156
|
-
}
|
|
70157
70091
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70158
70092
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70159
70093
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -70421,12 +70355,11 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70421
70355
|
* File is required for upload. You will also need to set the Content-Type header to `multipart/form-data`
|
|
70422
70356
|
* @summary Process uncorrelated accounts
|
|
70423
70357
|
* @param {string} id Source Id
|
|
70424
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
70425
70358
|
* @param {File} [file]
|
|
70426
70359
|
* @param {*} [axiosOptions] Override http request option.
|
|
70427
70360
|
* @throws {RequiredError}
|
|
70428
70361
|
*/
|
|
70429
|
-
importUncorrelatedAccounts: function (id,
|
|
70362
|
+
importUncorrelatedAccounts: function (id, file, axiosOptions) {
|
|
70430
70363
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
70431
70364
|
return __awaiter(_this, void 0, void 0, function () {
|
|
70432
70365
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
@@ -70435,9 +70368,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70435
70368
|
case 0:
|
|
70436
70369
|
// verify required parameter 'id' is not null or undefined
|
|
70437
70370
|
(0, common_1.assertParamExists)('importUncorrelatedAccounts', 'id', id);
|
|
70438
|
-
if (xSailPointExperimental === undefined) {
|
|
70439
|
-
xSailPointExperimental = 'true';
|
|
70440
|
-
}
|
|
70441
70371
|
localVarPath = "/sources/{id}/load-uncorrelated-accounts"
|
|
70442
70372
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
70443
70373
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -70469,9 +70399,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70469
70399
|
localVarFormParams.append('file', file);
|
|
70470
70400
|
}
|
|
70471
70401
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
70472
|
-
if (xSailPointExperimental != null) {
|
|
70473
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
70474
|
-
}
|
|
70475
70402
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70476
70403
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70477
70404
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -71837,19 +71764,18 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
71837
71764
|
},
|
|
71838
71765
|
/**
|
|
71839
71766
|
* Use this endpoint to remove all accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won\'t be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
|
71840
|
-
* @summary Remove all accounts in
|
|
71767
|
+
* @summary Remove all accounts in source
|
|
71841
71768
|
* @param {string} id The source id
|
|
71842
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
71843
71769
|
* @param {*} [axiosOptions] Override http request option.
|
|
71844
71770
|
* @throws {RequiredError}
|
|
71845
71771
|
*/
|
|
71846
|
-
deleteAccountsAsync: function (id,
|
|
71772
|
+
deleteAccountsAsync: function (id, axiosOptions) {
|
|
71847
71773
|
var _a, _b, _c;
|
|
71848
71774
|
return __awaiter(this, void 0, void 0, function () {
|
|
71849
71775
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
71850
71776
|
return __generator(this, function (_d) {
|
|
71851
71777
|
switch (_d.label) {
|
|
71852
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccountsAsync(id,
|
|
71778
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccountsAsync(id, axiosOptions)];
|
|
71853
71779
|
case 1:
|
|
71854
71780
|
localVarAxiosArgs = _d.sent();
|
|
71855
71781
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -72334,19 +72260,18 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
72334
72260
|
* Starts an account aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`.
|
|
72335
72261
|
* @summary Account aggregation
|
|
72336
72262
|
* @param {string} id Source Id
|
|
72337
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
72338
72263
|
* @param {File} [file] The CSV file containing the source accounts to aggregate.
|
|
72339
72264
|
* @param {string} [disableOptimization] Use this flag to reprocess every account whether or not the data has changed.
|
|
72340
72265
|
* @param {*} [axiosOptions] Override http request option.
|
|
72341
72266
|
* @throws {RequiredError}
|
|
72342
72267
|
*/
|
|
72343
|
-
importAccounts: function (id,
|
|
72268
|
+
importAccounts: function (id, file, disableOptimization, axiosOptions) {
|
|
72344
72269
|
var _a, _b, _c;
|
|
72345
72270
|
return __awaiter(this, void 0, void 0, function () {
|
|
72346
72271
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
72347
72272
|
return __generator(this, function (_d) {
|
|
72348
72273
|
switch (_d.label) {
|
|
72349
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importAccounts(id,
|
|
72274
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importAccounts(id, file, disableOptimization, axiosOptions)];
|
|
72350
72275
|
case 1:
|
|
72351
72276
|
localVarAxiosArgs = _d.sent();
|
|
72352
72277
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -72458,18 +72383,17 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
72458
72383
|
* File is required for upload. You will also need to set the Content-Type header to `multipart/form-data`
|
|
72459
72384
|
* @summary Process uncorrelated accounts
|
|
72460
72385
|
* @param {string} id Source Id
|
|
72461
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
72462
72386
|
* @param {File} [file]
|
|
72463
72387
|
* @param {*} [axiosOptions] Override http request option.
|
|
72464
72388
|
* @throws {RequiredError}
|
|
72465
72389
|
*/
|
|
72466
|
-
importUncorrelatedAccounts: function (id,
|
|
72390
|
+
importUncorrelatedAccounts: function (id, file, axiosOptions) {
|
|
72467
72391
|
var _a, _b, _c;
|
|
72468
72392
|
return __awaiter(this, void 0, void 0, function () {
|
|
72469
72393
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
72470
72394
|
return __generator(this, function (_d) {
|
|
72471
72395
|
switch (_d.label) {
|
|
72472
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importUncorrelatedAccounts(id,
|
|
72396
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importUncorrelatedAccounts(id, file, axiosOptions)];
|
|
72473
72397
|
case 1:
|
|
72474
72398
|
localVarAxiosArgs = _d.sent();
|
|
72475
72399
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -73018,13 +72942,13 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73018
72942
|
},
|
|
73019
72943
|
/**
|
|
73020
72944
|
* Use this endpoint to remove all accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won\'t be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
|
73021
|
-
* @summary Remove all accounts in
|
|
72945
|
+
* @summary Remove all accounts in source
|
|
73022
72946
|
* @param {SourcesV2024ApiDeleteAccountsAsyncRequest} requestParameters Request parameters.
|
|
73023
72947
|
* @param {*} [axiosOptions] Override http request option.
|
|
73024
72948
|
* @throws {RequiredError}
|
|
73025
72949
|
*/
|
|
73026
72950
|
deleteAccountsAsync: function (requestParameters, axiosOptions) {
|
|
73027
|
-
return localVarFp.deleteAccountsAsync(requestParameters.id,
|
|
72951
|
+
return localVarFp.deleteAccountsAsync(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73028
72952
|
},
|
|
73029
72953
|
/**
|
|
73030
72954
|
* Deletes the native change detection configuration for the source specified by the given ID.
|
|
@@ -73235,7 +73159,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73235
73159
|
* @throws {RequiredError}
|
|
73236
73160
|
*/
|
|
73237
73161
|
importAccounts: function (requestParameters, axiosOptions) {
|
|
73238
|
-
return localVarFp.importAccounts(requestParameters.id, requestParameters.
|
|
73162
|
+
return localVarFp.importAccounts(requestParameters.id, requestParameters.file, requestParameters.disableOptimization, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73239
73163
|
},
|
|
73240
73164
|
/**
|
|
73241
73165
|
* This API uploads a source schema template file to configure a source\'s account attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Account Schema** -> **Options** -> **Download Schema** >**NOTE: This API is designated only for Delimited File sources.**
|
|
@@ -73285,7 +73209,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73285
73209
|
* @throws {RequiredError}
|
|
73286
73210
|
*/
|
|
73287
73211
|
importUncorrelatedAccounts: function (requestParameters, axiosOptions) {
|
|
73288
|
-
return localVarFp.importUncorrelatedAccounts(requestParameters.id, requestParameters.
|
|
73212
|
+
return localVarFp.importUncorrelatedAccounts(requestParameters.id, requestParameters.file, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73289
73213
|
},
|
|
73290
73214
|
/**
|
|
73291
73215
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
@@ -73552,7 +73476,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73552
73476
|
};
|
|
73553
73477
|
/**
|
|
73554
73478
|
* Use this endpoint to remove all accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won\'t be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
|
73555
|
-
* @summary Remove all accounts in
|
|
73479
|
+
* @summary Remove all accounts in source
|
|
73556
73480
|
* @param {SourcesV2024ApiDeleteAccountsAsyncRequest} requestParameters Request parameters.
|
|
73557
73481
|
* @param {*} [axiosOptions] Override http request option.
|
|
73558
73482
|
* @throws {RequiredError}
|
|
@@ -73560,7 +73484,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73560
73484
|
*/
|
|
73561
73485
|
SourcesV2024Api.prototype.deleteAccountsAsync = function (requestParameters, axiosOptions) {
|
|
73562
73486
|
var _this = this;
|
|
73563
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).deleteAccountsAsync(requestParameters.id,
|
|
73487
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).deleteAccountsAsync(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73564
73488
|
};
|
|
73565
73489
|
/**
|
|
73566
73490
|
* Deletes the native change detection configuration for the source specified by the given ID.
|
|
@@ -73813,7 +73737,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73813
73737
|
*/
|
|
73814
73738
|
SourcesV2024Api.prototype.importAccounts = function (requestParameters, axiosOptions) {
|
|
73815
73739
|
var _this = this;
|
|
73816
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).importAccounts(requestParameters.id, requestParameters.
|
|
73740
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).importAccounts(requestParameters.id, requestParameters.file, requestParameters.disableOptimization, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73817
73741
|
};
|
|
73818
73742
|
/**
|
|
73819
73743
|
* This API uploads a source schema template file to configure a source\'s account attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Account Schema** -> **Options** -> **Download Schema** >**NOTE: This API is designated only for Delimited File sources.**
|
|
@@ -73873,7 +73797,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73873
73797
|
*/
|
|
73874
73798
|
SourcesV2024Api.prototype.importUncorrelatedAccounts = function (requestParameters, axiosOptions) {
|
|
73875
73799
|
var _this = this;
|
|
73876
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).importUncorrelatedAccounts(requestParameters.id, requestParameters.
|
|
73800
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).importUncorrelatedAccounts(requestParameters.id, requestParameters.file, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73877
73801
|
};
|
|
73878
73802
|
/**
|
|
73879
73803
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|