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/v2024/api.ts
CHANGED
|
@@ -4013,6 +4013,30 @@ export interface AccountAggregationStatusV2024 {
|
|
|
4013
4013
|
* @memberof AccountAggregationStatusV2024
|
|
4014
4014
|
*/
|
|
4015
4015
|
'processedAccounts'?: number;
|
|
4016
|
+
/**
|
|
4017
|
+
* The total number of accounts that have been marked for deletion during the aggregation. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.*
|
|
4018
|
+
* @type {number}
|
|
4019
|
+
* @memberof AccountAggregationStatusV2024
|
|
4020
|
+
*/
|
|
4021
|
+
'totalAccountsMarkedForDeletion'?: number;
|
|
4022
|
+
/**
|
|
4023
|
+
* The number of accounts that have been deleted during the aggregation. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.*
|
|
4024
|
+
* @type {number}
|
|
4025
|
+
* @memberof AccountAggregationStatusV2024
|
|
4026
|
+
*/
|
|
4027
|
+
'deletedAccounts'?: number;
|
|
4028
|
+
/**
|
|
4029
|
+
* The total number of unique identities that have been marked for refresh. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.*
|
|
4030
|
+
* @type {number}
|
|
4031
|
+
* @memberof AccountAggregationStatusV2024
|
|
4032
|
+
*/
|
|
4033
|
+
'totalIdentities'?: number;
|
|
4034
|
+
/**
|
|
4035
|
+
* The number of unique identities that have been refreshed at the time of the API call, and may increase on subsequent API calls while the status is ACCOUNTS_COLLECTED. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.*
|
|
4036
|
+
* @type {number}
|
|
4037
|
+
* @memberof AccountAggregationStatusV2024
|
|
4038
|
+
*/
|
|
4039
|
+
'processedIdentities'?: number;
|
|
4016
4040
|
}
|
|
4017
4041
|
|
|
4018
4042
|
export const AccountAggregationStatusV2024StatusV2024 = {
|
|
@@ -8519,8 +8543,7 @@ export interface CampaignAllOfFilterV2024 {
|
|
|
8519
8543
|
}
|
|
8520
8544
|
|
|
8521
8545
|
export const CampaignAllOfFilterV2024TypeV2024 = {
|
|
8522
|
-
CampaignFilter: 'CAMPAIGN_FILTER'
|
|
8523
|
-
Rule: 'RULE'
|
|
8546
|
+
CampaignFilter: 'CAMPAIGN_FILTER'
|
|
8524
8547
|
} as const;
|
|
8525
8548
|
|
|
8526
8549
|
export type CampaignAllOfFilterV2024TypeV2024 = typeof CampaignAllOfFilterV2024TypeV2024[keyof typeof CampaignAllOfFilterV2024TypeV2024];
|
|
@@ -47345,17 +47368,12 @@ export const AccessRequestsV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
47345
47368
|
* 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.
|
|
47346
47369
|
* @summary Close access request
|
|
47347
47370
|
* @param {CloseAccessRequestV2024} closeAccessRequestV2024
|
|
47348
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
47349
47371
|
* @param {*} [axiosOptions] Override http request option.
|
|
47350
47372
|
* @throws {RequiredError}
|
|
47351
47373
|
*/
|
|
47352
|
-
closeAccessRequest: async (closeAccessRequestV2024: CloseAccessRequestV2024,
|
|
47374
|
+
closeAccessRequest: async (closeAccessRequestV2024: CloseAccessRequestV2024, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47353
47375
|
// verify required parameter 'closeAccessRequestV2024' is not null or undefined
|
|
47354
47376
|
assertParamExists('closeAccessRequest', 'closeAccessRequestV2024', closeAccessRequestV2024)
|
|
47355
|
-
if (xSailPointExperimental === undefined) {
|
|
47356
|
-
xSailPointExperimental = 'true';
|
|
47357
|
-
}
|
|
47358
|
-
|
|
47359
47377
|
const localVarPath = `/access-requests/close`;
|
|
47360
47378
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47361
47379
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -47380,9 +47398,6 @@ export const AccessRequestsV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
47380
47398
|
|
|
47381
47399
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
47382
47400
|
|
|
47383
|
-
if (xSailPointExperimental != null) {
|
|
47384
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
47385
|
-
}
|
|
47386
47401
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47387
47402
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47388
47403
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -47792,12 +47807,11 @@ export const AccessRequestsV2024ApiFp = function(configuration?: Configuration)
|
|
|
47792
47807
|
* 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.
|
|
47793
47808
|
* @summary Close access request
|
|
47794
47809
|
* @param {CloseAccessRequestV2024} closeAccessRequestV2024
|
|
47795
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
47796
47810
|
* @param {*} [axiosOptions] Override http request option.
|
|
47797
47811
|
* @throws {RequiredError}
|
|
47798
47812
|
*/
|
|
47799
|
-
async closeAccessRequest(closeAccessRequestV2024: CloseAccessRequestV2024,
|
|
47800
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.closeAccessRequest(closeAccessRequestV2024,
|
|
47813
|
+
async closeAccessRequest(closeAccessRequestV2024: CloseAccessRequestV2024, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
47814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.closeAccessRequest(closeAccessRequestV2024, axiosOptions);
|
|
47801
47815
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
47802
47816
|
const localVarOperationServerBasePath = operationServerMap['AccessRequestsV2024Api.closeAccessRequest']?.[localVarOperationServerIndex]?.url;
|
|
47803
47817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -47945,7 +47959,7 @@ export const AccessRequestsV2024ApiFactory = function (configuration?: Configura
|
|
|
47945
47959
|
* @throws {RequiredError}
|
|
47946
47960
|
*/
|
|
47947
47961
|
closeAccessRequest(requestParameters: AccessRequestsV2024ApiCloseAccessRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
47948
|
-
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2024,
|
|
47962
|
+
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2024, axiosOptions).then((request) => request(axios, basePath));
|
|
47949
47963
|
},
|
|
47950
47964
|
/**
|
|
47951
47965
|
* 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.
|
|
@@ -48063,13 +48077,6 @@ export interface AccessRequestsV2024ApiCloseAccessRequestRequest {
|
|
|
48063
48077
|
* @memberof AccessRequestsV2024ApiCloseAccessRequest
|
|
48064
48078
|
*/
|
|
48065
48079
|
readonly closeAccessRequestV2024: CloseAccessRequestV2024
|
|
48066
|
-
|
|
48067
|
-
/**
|
|
48068
|
-
* Use this header to enable this experimental API.
|
|
48069
|
-
* @type {string}
|
|
48070
|
-
* @memberof AccessRequestsV2024ApiCloseAccessRequest
|
|
48071
|
-
*/
|
|
48072
|
-
readonly xSailPointExperimental?: string
|
|
48073
48080
|
}
|
|
48074
48081
|
|
|
48075
48082
|
/**
|
|
@@ -48320,7 +48327,7 @@ export class AccessRequestsV2024Api extends BaseAPI {
|
|
|
48320
48327
|
* @memberof AccessRequestsV2024Api
|
|
48321
48328
|
*/
|
|
48322
48329
|
public closeAccessRequest(requestParameters: AccessRequestsV2024ApiCloseAccessRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
48323
|
-
return AccessRequestsV2024ApiFp(this.configuration).closeAccessRequest(requestParameters.closeAccessRequestV2024,
|
|
48330
|
+
return AccessRequestsV2024ApiFp(this.configuration).closeAccessRequest(requestParameters.closeAccessRequestV2024, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
48324
48331
|
}
|
|
48325
48332
|
|
|
48326
48333
|
/**
|
|
@@ -48720,17 +48727,12 @@ export const AccountAggregationsV2024ApiAxiosParamCreator = function (configurat
|
|
|
48720
48727
|
* 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.
|
|
48721
48728
|
* @summary In-progress account aggregation status
|
|
48722
48729
|
* @param {string} id The account aggregation id
|
|
48723
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
48724
48730
|
* @param {*} [axiosOptions] Override http request option.
|
|
48725
48731
|
* @throws {RequiredError}
|
|
48726
48732
|
*/
|
|
48727
|
-
getAccountAggregationStatus: async (id: string,
|
|
48733
|
+
getAccountAggregationStatus: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48728
48734
|
// verify required parameter 'id' is not null or undefined
|
|
48729
48735
|
assertParamExists('getAccountAggregationStatus', 'id', id)
|
|
48730
|
-
if (xSailPointExperimental === undefined) {
|
|
48731
|
-
xSailPointExperimental = 'true';
|
|
48732
|
-
}
|
|
48733
|
-
|
|
48734
48736
|
const localVarPath = `/account-aggregations/{id}/status`
|
|
48735
48737
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
48736
48738
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -48754,9 +48756,6 @@ export const AccountAggregationsV2024ApiAxiosParamCreator = function (configurat
|
|
|
48754
48756
|
|
|
48755
48757
|
|
|
48756
48758
|
|
|
48757
|
-
if (xSailPointExperimental != null) {
|
|
48758
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
48759
|
-
}
|
|
48760
48759
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48761
48760
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48762
48761
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -48780,12 +48779,11 @@ export const AccountAggregationsV2024ApiFp = function(configuration?: Configurat
|
|
|
48780
48779
|
* 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.
|
|
48781
48780
|
* @summary In-progress account aggregation status
|
|
48782
48781
|
* @param {string} id The account aggregation id
|
|
48783
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
48784
48782
|
* @param {*} [axiosOptions] Override http request option.
|
|
48785
48783
|
* @throws {RequiredError}
|
|
48786
48784
|
*/
|
|
48787
|
-
async getAccountAggregationStatus(id: string,
|
|
48788
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountAggregationStatus(id,
|
|
48785
|
+
async getAccountAggregationStatus(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountAggregationStatusV2024>> {
|
|
48786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountAggregationStatus(id, axiosOptions);
|
|
48789
48787
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48790
48788
|
const localVarOperationServerBasePath = operationServerMap['AccountAggregationsV2024Api.getAccountAggregationStatus']?.[localVarOperationServerIndex]?.url;
|
|
48791
48789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -48808,7 +48806,7 @@ export const AccountAggregationsV2024ApiFactory = function (configuration?: Conf
|
|
|
48808
48806
|
* @throws {RequiredError}
|
|
48809
48807
|
*/
|
|
48810
48808
|
getAccountAggregationStatus(requestParameters: AccountAggregationsV2024ApiGetAccountAggregationStatusRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountAggregationStatusV2024> {
|
|
48811
|
-
return localVarFp.getAccountAggregationStatus(requestParameters.id,
|
|
48809
|
+
return localVarFp.getAccountAggregationStatus(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
48812
48810
|
},
|
|
48813
48811
|
};
|
|
48814
48812
|
};
|
|
@@ -48825,13 +48823,6 @@ export interface AccountAggregationsV2024ApiGetAccountAggregationStatusRequest {
|
|
|
48825
48823
|
* @memberof AccountAggregationsV2024ApiGetAccountAggregationStatus
|
|
48826
48824
|
*/
|
|
48827
48825
|
readonly id: string
|
|
48828
|
-
|
|
48829
|
-
/**
|
|
48830
|
-
* Use this header to enable this experimental API.
|
|
48831
|
-
* @type {string}
|
|
48832
|
-
* @memberof AccountAggregationsV2024ApiGetAccountAggregationStatus
|
|
48833
|
-
*/
|
|
48834
|
-
readonly xSailPointExperimental?: string
|
|
48835
48826
|
}
|
|
48836
48827
|
|
|
48837
48828
|
/**
|
|
@@ -48850,7 +48841,7 @@ export class AccountAggregationsV2024Api extends BaseAPI {
|
|
|
48850
48841
|
* @memberof AccountAggregationsV2024Api
|
|
48851
48842
|
*/
|
|
48852
48843
|
public getAccountAggregationStatus(requestParameters: AccountAggregationsV2024ApiGetAccountAggregationStatusRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
48853
|
-
return AccountAggregationsV2024ApiFp(this.configuration).getAccountAggregationStatus(requestParameters.id,
|
|
48844
|
+
return AccountAggregationsV2024ApiFp(this.configuration).getAccountAggregationStatus(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
48854
48845
|
}
|
|
48855
48846
|
}
|
|
48856
48847
|
|
|
@@ -49134,17 +49125,12 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49134
49125
|
* 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.
|
|
49135
49126
|
* @summary Remove account
|
|
49136
49127
|
* @param {string} id The account id
|
|
49137
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49138
49128
|
* @param {*} [axiosOptions] Override http request option.
|
|
49139
49129
|
* @throws {RequiredError}
|
|
49140
49130
|
*/
|
|
49141
|
-
deleteAccountAsync: async (id: string,
|
|
49131
|
+
deleteAccountAsync: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49142
49132
|
// verify required parameter 'id' is not null or undefined
|
|
49143
49133
|
assertParamExists('deleteAccountAsync', 'id', id)
|
|
49144
|
-
if (xSailPointExperimental === undefined) {
|
|
49145
|
-
xSailPointExperimental = 'true';
|
|
49146
|
-
}
|
|
49147
|
-
|
|
49148
49134
|
const localVarPath = `/accounts/{id}/remove`
|
|
49149
49135
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
49150
49136
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -49168,9 +49154,6 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49168
49154
|
|
|
49169
49155
|
|
|
49170
49156
|
|
|
49171
|
-
if (xSailPointExperimental != null) {
|
|
49172
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
49173
|
-
}
|
|
49174
49157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49175
49158
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49176
49159
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -49232,17 +49215,12 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49232
49215
|
* This API submits a task to disable IDN account for a single identity.
|
|
49233
49216
|
* @summary Disable idn account for identity
|
|
49234
49217
|
* @param {string} id The identity id.
|
|
49235
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49236
49218
|
* @param {*} [axiosOptions] Override http request option.
|
|
49237
49219
|
* @throws {RequiredError}
|
|
49238
49220
|
*/
|
|
49239
|
-
disableAccountForIdentity: async (id: string,
|
|
49221
|
+
disableAccountForIdentity: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49240
49222
|
// verify required parameter 'id' is not null or undefined
|
|
49241
49223
|
assertParamExists('disableAccountForIdentity', 'id', id)
|
|
49242
|
-
if (xSailPointExperimental === undefined) {
|
|
49243
|
-
xSailPointExperimental = 'true';
|
|
49244
|
-
}
|
|
49245
|
-
|
|
49246
49224
|
const localVarPath = `/identities-accounts/{id}/disable`
|
|
49247
49225
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
49248
49226
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -49266,9 +49244,6 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49266
49244
|
|
|
49267
49245
|
|
|
49268
49246
|
|
|
49269
|
-
if (xSailPointExperimental != null) {
|
|
49270
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
49271
|
-
}
|
|
49272
49247
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49273
49248
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49274
49249
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -49282,17 +49257,12 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49282
49257
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
49283
49258
|
* @summary Disable idn accounts for identities
|
|
49284
49259
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
49285
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49286
49260
|
* @param {*} [axiosOptions] Override http request option.
|
|
49287
49261
|
* @throws {RequiredError}
|
|
49288
49262
|
*/
|
|
49289
|
-
disableAccountsForIdentities: async (identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024,
|
|
49263
|
+
disableAccountsForIdentities: async (identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49290
49264
|
// verify required parameter 'identitiesAccountsBulkRequestV2024' is not null or undefined
|
|
49291
49265
|
assertParamExists('disableAccountsForIdentities', 'identitiesAccountsBulkRequestV2024', identitiesAccountsBulkRequestV2024)
|
|
49292
|
-
if (xSailPointExperimental === undefined) {
|
|
49293
|
-
xSailPointExperimental = 'true';
|
|
49294
|
-
}
|
|
49295
|
-
|
|
49296
49266
|
const localVarPath = `/identities-accounts/disable`;
|
|
49297
49267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49298
49268
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -49317,9 +49287,6 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49317
49287
|
|
|
49318
49288
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
49319
49289
|
|
|
49320
|
-
if (xSailPointExperimental != null) {
|
|
49321
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
49322
|
-
}
|
|
49323
49290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49324
49291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49325
49292
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -49382,17 +49349,12 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49382
49349
|
* This API submits a task to enable IDN account for a single identity.
|
|
49383
49350
|
* @summary Enable idn account for identity
|
|
49384
49351
|
* @param {string} id The identity id.
|
|
49385
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49386
49352
|
* @param {*} [axiosOptions] Override http request option.
|
|
49387
49353
|
* @throws {RequiredError}
|
|
49388
49354
|
*/
|
|
49389
|
-
enableAccountForIdentity: async (id: string,
|
|
49355
|
+
enableAccountForIdentity: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49390
49356
|
// verify required parameter 'id' is not null or undefined
|
|
49391
49357
|
assertParamExists('enableAccountForIdentity', 'id', id)
|
|
49392
|
-
if (xSailPointExperimental === undefined) {
|
|
49393
|
-
xSailPointExperimental = 'true';
|
|
49394
|
-
}
|
|
49395
|
-
|
|
49396
49358
|
const localVarPath = `/identities-accounts/{id}/enable`
|
|
49397
49359
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
49398
49360
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -49416,9 +49378,6 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49416
49378
|
|
|
49417
49379
|
|
|
49418
49380
|
|
|
49419
|
-
if (xSailPointExperimental != null) {
|
|
49420
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
49421
|
-
}
|
|
49422
49381
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49423
49382
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49424
49383
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -49432,17 +49391,12 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49432
49391
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
49433
49392
|
* @summary Enable idn accounts for identities
|
|
49434
49393
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
49435
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49436
49394
|
* @param {*} [axiosOptions] Override http request option.
|
|
49437
49395
|
* @throws {RequiredError}
|
|
49438
49396
|
*/
|
|
49439
|
-
enableAccountsForIdentities: async (identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024,
|
|
49397
|
+
enableAccountsForIdentities: async (identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49440
49398
|
// verify required parameter 'identitiesAccountsBulkRequestV2024' is not null or undefined
|
|
49441
49399
|
assertParamExists('enableAccountsForIdentities', 'identitiesAccountsBulkRequestV2024', identitiesAccountsBulkRequestV2024)
|
|
49442
|
-
if (xSailPointExperimental === undefined) {
|
|
49443
|
-
xSailPointExperimental = 'true';
|
|
49444
|
-
}
|
|
49445
|
-
|
|
49446
49400
|
const localVarPath = `/identities-accounts/enable`;
|
|
49447
49401
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49448
49402
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -49467,9 +49421,6 @@ export const AccountsV2024ApiAxiosParamCreator = function (configuration?: Confi
|
|
|
49467
49421
|
|
|
49468
49422
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
49469
49423
|
|
|
49470
|
-
if (xSailPointExperimental != null) {
|
|
49471
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
49472
|
-
}
|
|
49473
49424
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49474
49425
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49475
49426
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -49873,12 +49824,11 @@ export const AccountsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
49873
49824
|
* 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.
|
|
49874
49825
|
* @summary Remove account
|
|
49875
49826
|
* @param {string} id The account id
|
|
49876
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49877
49827
|
* @param {*} [axiosOptions] Override http request option.
|
|
49878
49828
|
* @throws {RequiredError}
|
|
49879
49829
|
*/
|
|
49880
|
-
async deleteAccountAsync(id: string,
|
|
49881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountAsync(id,
|
|
49830
|
+
async deleteAccountAsync(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskResultDtoV2024>> {
|
|
49831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountAsync(id, axiosOptions);
|
|
49882
49832
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49883
49833
|
const localVarOperationServerBasePath = operationServerMap['AccountsV2024Api.deleteAccountAsync']?.[localVarOperationServerIndex]?.url;
|
|
49884
49834
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -49901,12 +49851,11 @@ export const AccountsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
49901
49851
|
* This API submits a task to disable IDN account for a single identity.
|
|
49902
49852
|
* @summary Disable idn account for identity
|
|
49903
49853
|
* @param {string} id The identity id.
|
|
49904
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49905
49854
|
* @param {*} [axiosOptions] Override http request option.
|
|
49906
49855
|
* @throws {RequiredError}
|
|
49907
49856
|
*/
|
|
49908
|
-
async disableAccountForIdentity(id: string,
|
|
49909
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disableAccountForIdentity(id,
|
|
49857
|
+
async disableAccountForIdentity(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
49858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableAccountForIdentity(id, axiosOptions);
|
|
49910
49859
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49911
49860
|
const localVarOperationServerBasePath = operationServerMap['AccountsV2024Api.disableAccountForIdentity']?.[localVarOperationServerIndex]?.url;
|
|
49912
49861
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -49915,12 +49864,11 @@ export const AccountsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
49915
49864
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
49916
49865
|
* @summary Disable idn accounts for identities
|
|
49917
49866
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
49918
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49919
49867
|
* @param {*} [axiosOptions] Override http request option.
|
|
49920
49868
|
* @throws {RequiredError}
|
|
49921
49869
|
*/
|
|
49922
|
-
async disableAccountsForIdentities(identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024,
|
|
49923
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disableAccountsForIdentities(identitiesAccountsBulkRequestV2024,
|
|
49870
|
+
async disableAccountsForIdentities(identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BulkIdentitiesAccountsResponseV2024>>> {
|
|
49871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableAccountsForIdentities(identitiesAccountsBulkRequestV2024, axiosOptions);
|
|
49924
49872
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49925
49873
|
const localVarOperationServerBasePath = operationServerMap['AccountsV2024Api.disableAccountsForIdentities']?.[localVarOperationServerIndex]?.url;
|
|
49926
49874
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -49943,12 +49891,11 @@ export const AccountsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
49943
49891
|
* This API submits a task to enable IDN account for a single identity.
|
|
49944
49892
|
* @summary Enable idn account for identity
|
|
49945
49893
|
* @param {string} id The identity id.
|
|
49946
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49947
49894
|
* @param {*} [axiosOptions] Override http request option.
|
|
49948
49895
|
* @throws {RequiredError}
|
|
49949
49896
|
*/
|
|
49950
|
-
async enableAccountForIdentity(id: string,
|
|
49951
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.enableAccountForIdentity(id,
|
|
49897
|
+
async enableAccountForIdentity(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
49898
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableAccountForIdentity(id, axiosOptions);
|
|
49952
49899
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49953
49900
|
const localVarOperationServerBasePath = operationServerMap['AccountsV2024Api.enableAccountForIdentity']?.[localVarOperationServerIndex]?.url;
|
|
49954
49901
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -49957,12 +49904,11 @@ export const AccountsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
49957
49904
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
49958
49905
|
* @summary Enable idn accounts for identities
|
|
49959
49906
|
* @param {IdentitiesAccountsBulkRequestV2024} identitiesAccountsBulkRequestV2024
|
|
49960
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
49961
49907
|
* @param {*} [axiosOptions] Override http request option.
|
|
49962
49908
|
* @throws {RequiredError}
|
|
49963
49909
|
*/
|
|
49964
|
-
async enableAccountsForIdentities(identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024,
|
|
49965
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.enableAccountsForIdentities(identitiesAccountsBulkRequestV2024,
|
|
49910
|
+
async enableAccountsForIdentities(identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BulkIdentitiesAccountsResponseV2024>>> {
|
|
49911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableAccountsForIdentities(identitiesAccountsBulkRequestV2024, axiosOptions);
|
|
49966
49912
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49967
49913
|
const localVarOperationServerBasePath = operationServerMap['AccountsV2024Api.enableAccountsForIdentities']?.[localVarOperationServerIndex]?.url;
|
|
49968
49914
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -50107,7 +50053,7 @@ export const AccountsV2024ApiFactory = function (configuration?: Configuration,
|
|
|
50107
50053
|
* @throws {RequiredError}
|
|
50108
50054
|
*/
|
|
50109
50055
|
deleteAccountAsync(requestParameters: AccountsV2024ApiDeleteAccountAsyncRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<TaskResultDtoV2024> {
|
|
50110
|
-
return localVarFp.deleteAccountAsync(requestParameters.id,
|
|
50056
|
+
return localVarFp.deleteAccountAsync(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
50111
50057
|
},
|
|
50112
50058
|
/**
|
|
50113
50059
|
* This API submits a task to disable the account and returns the task ID.
|
|
@@ -50127,7 +50073,7 @@ export const AccountsV2024ApiFactory = function (configuration?: Configuration,
|
|
|
50127
50073
|
* @throws {RequiredError}
|
|
50128
50074
|
*/
|
|
50129
50075
|
disableAccountForIdentity(requestParameters: AccountsV2024ApiDisableAccountForIdentityRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
50130
|
-
return localVarFp.disableAccountForIdentity(requestParameters.id,
|
|
50076
|
+
return localVarFp.disableAccountForIdentity(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
50131
50077
|
},
|
|
50132
50078
|
/**
|
|
50133
50079
|
* This API submits tasks to disable IDN account for each identity provided in the request body.
|
|
@@ -50137,7 +50083,7 @@ export const AccountsV2024ApiFactory = function (configuration?: Configuration,
|
|
|
50137
50083
|
* @throws {RequiredError}
|
|
50138
50084
|
*/
|
|
50139
50085
|
disableAccountsForIdentities(requestParameters: AccountsV2024ApiDisableAccountsForIdentitiesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<BulkIdentitiesAccountsResponseV2024>> {
|
|
50140
|
-
return localVarFp.disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
50086
|
+
return localVarFp.disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then((request) => request(axios, basePath));
|
|
50141
50087
|
},
|
|
50142
50088
|
/**
|
|
50143
50089
|
* This API submits a task to enable account and returns the task ID.
|
|
@@ -50157,7 +50103,7 @@ export const AccountsV2024ApiFactory = function (configuration?: Configuration,
|
|
|
50157
50103
|
* @throws {RequiredError}
|
|
50158
50104
|
*/
|
|
50159
50105
|
enableAccountForIdentity(requestParameters: AccountsV2024ApiEnableAccountForIdentityRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
50160
|
-
return localVarFp.enableAccountForIdentity(requestParameters.id,
|
|
50106
|
+
return localVarFp.enableAccountForIdentity(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
50161
50107
|
},
|
|
50162
50108
|
/**
|
|
50163
50109
|
* This API submits tasks to enable IDN account for each identity provided in the request body.
|
|
@@ -50167,7 +50113,7 @@ export const AccountsV2024ApiFactory = function (configuration?: Configuration,
|
|
|
50167
50113
|
* @throws {RequiredError}
|
|
50168
50114
|
*/
|
|
50169
50115
|
enableAccountsForIdentities(requestParameters: AccountsV2024ApiEnableAccountsForIdentitiesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<BulkIdentitiesAccountsResponseV2024>> {
|
|
50170
|
-
return localVarFp.enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
50116
|
+
return localVarFp.enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then((request) => request(axios, basePath));
|
|
50171
50117
|
},
|
|
50172
50118
|
/**
|
|
50173
50119
|
* Use this API to return the details for a single account by its ID.
|
|
@@ -50282,13 +50228,6 @@ export interface AccountsV2024ApiDeleteAccountAsyncRequest {
|
|
|
50282
50228
|
* @memberof AccountsV2024ApiDeleteAccountAsync
|
|
50283
50229
|
*/
|
|
50284
50230
|
readonly id: string
|
|
50285
|
-
|
|
50286
|
-
/**
|
|
50287
|
-
* Use this header to enable this experimental API.
|
|
50288
|
-
* @type {string}
|
|
50289
|
-
* @memberof AccountsV2024ApiDeleteAccountAsync
|
|
50290
|
-
*/
|
|
50291
|
-
readonly xSailPointExperimental?: string
|
|
50292
50231
|
}
|
|
50293
50232
|
|
|
50294
50233
|
/**
|
|
@@ -50324,13 +50263,6 @@ export interface AccountsV2024ApiDisableAccountForIdentityRequest {
|
|
|
50324
50263
|
* @memberof AccountsV2024ApiDisableAccountForIdentity
|
|
50325
50264
|
*/
|
|
50326
50265
|
readonly id: string
|
|
50327
|
-
|
|
50328
|
-
/**
|
|
50329
|
-
* Use this header to enable this experimental API.
|
|
50330
|
-
* @type {string}
|
|
50331
|
-
* @memberof AccountsV2024ApiDisableAccountForIdentity
|
|
50332
|
-
*/
|
|
50333
|
-
readonly xSailPointExperimental?: string
|
|
50334
50266
|
}
|
|
50335
50267
|
|
|
50336
50268
|
/**
|
|
@@ -50345,13 +50277,6 @@ export interface AccountsV2024ApiDisableAccountsForIdentitiesRequest {
|
|
|
50345
50277
|
* @memberof AccountsV2024ApiDisableAccountsForIdentities
|
|
50346
50278
|
*/
|
|
50347
50279
|
readonly identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024
|
|
50348
|
-
|
|
50349
|
-
/**
|
|
50350
|
-
* Use this header to enable this experimental API.
|
|
50351
|
-
* @type {string}
|
|
50352
|
-
* @memberof AccountsV2024ApiDisableAccountsForIdentities
|
|
50353
|
-
*/
|
|
50354
|
-
readonly xSailPointExperimental?: string
|
|
50355
50280
|
}
|
|
50356
50281
|
|
|
50357
50282
|
/**
|
|
@@ -50387,13 +50312,6 @@ export interface AccountsV2024ApiEnableAccountForIdentityRequest {
|
|
|
50387
50312
|
* @memberof AccountsV2024ApiEnableAccountForIdentity
|
|
50388
50313
|
*/
|
|
50389
50314
|
readonly id: string
|
|
50390
|
-
|
|
50391
|
-
/**
|
|
50392
|
-
* Use this header to enable this experimental API.
|
|
50393
|
-
* @type {string}
|
|
50394
|
-
* @memberof AccountsV2024ApiEnableAccountForIdentity
|
|
50395
|
-
*/
|
|
50396
|
-
readonly xSailPointExperimental?: string
|
|
50397
50315
|
}
|
|
50398
50316
|
|
|
50399
50317
|
/**
|
|
@@ -50408,13 +50326,6 @@ export interface AccountsV2024ApiEnableAccountsForIdentitiesRequest {
|
|
|
50408
50326
|
* @memberof AccountsV2024ApiEnableAccountsForIdentities
|
|
50409
50327
|
*/
|
|
50410
50328
|
readonly identitiesAccountsBulkRequestV2024: IdentitiesAccountsBulkRequestV2024
|
|
50411
|
-
|
|
50412
|
-
/**
|
|
50413
|
-
* Use this header to enable this experimental API.
|
|
50414
|
-
* @type {string}
|
|
50415
|
-
* @memberof AccountsV2024ApiEnableAccountsForIdentities
|
|
50416
|
-
*/
|
|
50417
|
-
readonly xSailPointExperimental?: string
|
|
50418
50329
|
}
|
|
50419
50330
|
|
|
50420
50331
|
/**
|
|
@@ -50632,7 +50543,7 @@ export class AccountsV2024Api extends BaseAPI {
|
|
|
50632
50543
|
* @memberof AccountsV2024Api
|
|
50633
50544
|
*/
|
|
50634
50545
|
public deleteAccountAsync(requestParameters: AccountsV2024ApiDeleteAccountAsyncRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
50635
|
-
return AccountsV2024ApiFp(this.configuration).deleteAccountAsync(requestParameters.id,
|
|
50546
|
+
return AccountsV2024ApiFp(this.configuration).deleteAccountAsync(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
50636
50547
|
}
|
|
50637
50548
|
|
|
50638
50549
|
/**
|
|
@@ -50656,7 +50567,7 @@ export class AccountsV2024Api extends BaseAPI {
|
|
|
50656
50567
|
* @memberof AccountsV2024Api
|
|
50657
50568
|
*/
|
|
50658
50569
|
public disableAccountForIdentity(requestParameters: AccountsV2024ApiDisableAccountForIdentityRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
50659
|
-
return AccountsV2024ApiFp(this.configuration).disableAccountForIdentity(requestParameters.id,
|
|
50570
|
+
return AccountsV2024ApiFp(this.configuration).disableAccountForIdentity(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
50660
50571
|
}
|
|
50661
50572
|
|
|
50662
50573
|
/**
|
|
@@ -50668,7 +50579,7 @@ export class AccountsV2024Api extends BaseAPI {
|
|
|
50668
50579
|
* @memberof AccountsV2024Api
|
|
50669
50580
|
*/
|
|
50670
50581
|
public disableAccountsForIdentities(requestParameters: AccountsV2024ApiDisableAccountsForIdentitiesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
50671
|
-
return AccountsV2024ApiFp(this.configuration).disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
50582
|
+
return AccountsV2024ApiFp(this.configuration).disableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
50672
50583
|
}
|
|
50673
50584
|
|
|
50674
50585
|
/**
|
|
@@ -50692,7 +50603,7 @@ export class AccountsV2024Api extends BaseAPI {
|
|
|
50692
50603
|
* @memberof AccountsV2024Api
|
|
50693
50604
|
*/
|
|
50694
50605
|
public enableAccountForIdentity(requestParameters: AccountsV2024ApiEnableAccountForIdentityRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
50695
|
-
return AccountsV2024ApiFp(this.configuration).enableAccountForIdentity(requestParameters.id,
|
|
50606
|
+
return AccountsV2024ApiFp(this.configuration).enableAccountForIdentity(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
50696
50607
|
}
|
|
50697
50608
|
|
|
50698
50609
|
/**
|
|
@@ -50704,7 +50615,7 @@ export class AccountsV2024Api extends BaseAPI {
|
|
|
50704
50615
|
* @memberof AccountsV2024Api
|
|
50705
50616
|
*/
|
|
50706
50617
|
public enableAccountsForIdentities(requestParameters: AccountsV2024ApiEnableAccountsForIdentitiesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
50707
|
-
return AccountsV2024ApiFp(this.configuration).enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024,
|
|
50618
|
+
return AccountsV2024ApiFp(this.configuration).enableAccountsForIdentities(requestParameters.identitiesAccountsBulkRequestV2024, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
50708
50619
|
}
|
|
50709
50620
|
|
|
50710
50621
|
/**
|
|
@@ -95093,7 +95004,7 @@ export const NotificationsV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
95093
95004
|
};
|
|
95094
95005
|
},
|
|
95095
95006
|
/**
|
|
95096
|
-
* This
|
|
95007
|
+
* 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.
|
|
95097
95008
|
* @summary Create notification template
|
|
95098
95009
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
95099
95010
|
* @param {TemplateDtoV2024} templateDtoV2024
|
|
@@ -95681,11 +95592,12 @@ export const NotificationsV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
95681
95592
|
* @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.
|
|
95682
95593
|
* @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.
|
|
95683
95594
|
* @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*
|
|
95595
|
+
* @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**
|
|
95684
95596
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
95685
95597
|
* @param {*} [axiosOptions] Override http request option.
|
|
95686
95598
|
* @throws {RequiredError}
|
|
95687
95599
|
*/
|
|
95688
|
-
listNotificationTemplates: async (limit?: number, offset?: number, filters?: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95600
|
+
listNotificationTemplates: async (limit?: number, offset?: number, filters?: string, sorters?: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95689
95601
|
if (xSailPointExperimental === undefined) {
|
|
95690
95602
|
xSailPointExperimental = 'true';
|
|
95691
95603
|
}
|
|
@@ -95722,6 +95634,10 @@ export const NotificationsV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
95722
95634
|
localVarQueryParameter['filters'] = filters;
|
|
95723
95635
|
}
|
|
95724
95636
|
|
|
95637
|
+
if (sorters !== undefined) {
|
|
95638
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
95639
|
+
}
|
|
95640
|
+
|
|
95725
95641
|
|
|
95726
95642
|
|
|
95727
95643
|
if (xSailPointExperimental != null) {
|
|
@@ -95865,7 +95781,7 @@ export const NotificationsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
95865
95781
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
95866
95782
|
},
|
|
95867
95783
|
/**
|
|
95868
|
-
* This
|
|
95784
|
+
* 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.
|
|
95869
95785
|
* @summary Create notification template
|
|
95870
95786
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
95871
95787
|
* @param {TemplateDtoV2024} templateDtoV2024
|
|
@@ -96027,12 +95943,13 @@ export const NotificationsV2024ApiFp = function(configuration?: Configuration) {
|
|
|
96027
95943
|
* @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.
|
|
96028
95944
|
* @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.
|
|
96029
95945
|
* @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*
|
|
95946
|
+
* @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**
|
|
96030
95947
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
96031
95948
|
* @param {*} [axiosOptions] Override http request option.
|
|
96032
95949
|
* @throws {RequiredError}
|
|
96033
95950
|
*/
|
|
96034
|
-
async listNotificationTemplates(limit?: number, offset?: number, filters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TemplateDtoV2024>>> {
|
|
96035
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listNotificationTemplates(limit, offset, filters, xSailPointExperimental, axiosOptions);
|
|
95951
|
+
async listNotificationTemplates(limit?: number, offset?: number, filters?: string, sorters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TemplateDtoV2024>>> {
|
|
95952
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listNotificationTemplates(limit, offset, filters, sorters, xSailPointExperimental, axiosOptions);
|
|
96036
95953
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
96037
95954
|
const localVarOperationServerBasePath = operationServerMap['NotificationsV2024Api.listNotificationTemplates']?.[localVarOperationServerIndex]?.url;
|
|
96038
95955
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -96086,7 +96003,7 @@ export const NotificationsV2024ApiFactory = function (configuration?: Configurat
|
|
|
96086
96003
|
return localVarFp.createDomainDkim(requestParameters.xSailPointExperimental, requestParameters.domainAddressV2024, axiosOptions).then((request) => request(axios, basePath));
|
|
96087
96004
|
},
|
|
96088
96005
|
/**
|
|
96089
|
-
* This
|
|
96006
|
+
* 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.
|
|
96090
96007
|
* @summary Create notification template
|
|
96091
96008
|
* @param {NotificationsV2024ApiCreateNotificationTemplateRequest} requestParameters Request parameters.
|
|
96092
96009
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -96203,7 +96120,7 @@ export const NotificationsV2024ApiFactory = function (configuration?: Configurat
|
|
|
96203
96120
|
* @throws {RequiredError}
|
|
96204
96121
|
*/
|
|
96205
96122
|
listNotificationTemplates(requestParameters: NotificationsV2024ApiListNotificationTemplatesRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<TemplateDtoV2024>> {
|
|
96206
|
-
return localVarFp.listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
96123
|
+
return localVarFp.listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
96207
96124
|
},
|
|
96208
96125
|
/**
|
|
96209
96126
|
* 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
|
|
@@ -96528,6 +96445,13 @@ export interface NotificationsV2024ApiListNotificationTemplatesRequest {
|
|
|
96528
96445
|
*/
|
|
96529
96446
|
readonly filters?: string
|
|
96530
96447
|
|
|
96448
|
+
/**
|
|
96449
|
+
* 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**
|
|
96450
|
+
* @type {string}
|
|
96451
|
+
* @memberof NotificationsV2024ApiListNotificationTemplates
|
|
96452
|
+
*/
|
|
96453
|
+
readonly sorters?: string
|
|
96454
|
+
|
|
96531
96455
|
/**
|
|
96532
96456
|
* Use this header to enable this experimental API.
|
|
96533
96457
|
* @type {string}
|
|
@@ -96598,7 +96522,7 @@ export class NotificationsV2024Api extends BaseAPI {
|
|
|
96598
96522
|
}
|
|
96599
96523
|
|
|
96600
96524
|
/**
|
|
96601
|
-
* This
|
|
96525
|
+
* 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.
|
|
96602
96526
|
* @summary Create notification template
|
|
96603
96527
|
* @param {NotificationsV2024ApiCreateNotificationTemplateRequest} requestParameters Request parameters.
|
|
96604
96528
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -96738,7 +96662,7 @@ export class NotificationsV2024Api extends BaseAPI {
|
|
|
96738
96662
|
* @memberof NotificationsV2024Api
|
|
96739
96663
|
*/
|
|
96740
96664
|
public listNotificationTemplates(requestParameters: NotificationsV2024ApiListNotificationTemplatesRequest = {}, axiosOptions?: RawAxiosRequestConfig) {
|
|
96741
|
-
return NotificationsV2024ApiFp(this.configuration).listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
96665
|
+
return NotificationsV2024ApiFp(this.configuration).listNotificationTemplates(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
96742
96666
|
}
|
|
96743
96667
|
|
|
96744
96668
|
/**
|
|
@@ -112167,19 +112091,14 @@ export const SourcesV2024ApiAxiosParamCreator = function (configuration?: Config
|
|
|
112167
112091
|
},
|
|
112168
112092
|
/**
|
|
112169
112093
|
* 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.
|
|
112170
|
-
* @summary Remove all accounts in
|
|
112094
|
+
* @summary Remove all accounts in source
|
|
112171
112095
|
* @param {string} id The source id
|
|
112172
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
112173
112096
|
* @param {*} [axiosOptions] Override http request option.
|
|
112174
112097
|
* @throws {RequiredError}
|
|
112175
112098
|
*/
|
|
112176
|
-
deleteAccountsAsync: async (id: string,
|
|
112099
|
+
deleteAccountsAsync: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
112177
112100
|
// verify required parameter 'id' is not null or undefined
|
|
112178
112101
|
assertParamExists('deleteAccountsAsync', 'id', id)
|
|
112179
|
-
if (xSailPointExperimental === undefined) {
|
|
112180
|
-
xSailPointExperimental = 'true';
|
|
112181
|
-
}
|
|
112182
|
-
|
|
112183
112102
|
const localVarPath = `/sources/{id}/remove-accounts`
|
|
112184
112103
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
112185
112104
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -112203,9 +112122,6 @@ export const SourcesV2024ApiAxiosParamCreator = function (configuration?: Config
|
|
|
112203
112122
|
|
|
112204
112123
|
|
|
112205
112124
|
|
|
112206
|
-
if (xSailPointExperimental != null) {
|
|
112207
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
112208
|
-
}
|
|
112209
112125
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
112210
112126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112211
112127
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -113127,19 +113043,14 @@ export const SourcesV2024ApiAxiosParamCreator = function (configuration?: Config
|
|
|
113127
113043
|
* 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`.
|
|
113128
113044
|
* @summary Account aggregation
|
|
113129
113045
|
* @param {string} id Source Id
|
|
113130
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
113131
113046
|
* @param {File} [file] The CSV file containing the source accounts to aggregate.
|
|
113132
113047
|
* @param {string} [disableOptimization] Use this flag to reprocess every account whether or not the data has changed.
|
|
113133
113048
|
* @param {*} [axiosOptions] Override http request option.
|
|
113134
113049
|
* @throws {RequiredError}
|
|
113135
113050
|
*/
|
|
113136
|
-
importAccounts: async (id: string,
|
|
113051
|
+
importAccounts: async (id: string, file?: File, disableOptimization?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
113137
113052
|
// verify required parameter 'id' is not null or undefined
|
|
113138
113053
|
assertParamExists('importAccounts', 'id', id)
|
|
113139
|
-
if (xSailPointExperimental === undefined) {
|
|
113140
|
-
xSailPointExperimental = 'true';
|
|
113141
|
-
}
|
|
113142
|
-
|
|
113143
113054
|
const localVarPath = `/sources/{id}/load-accounts`
|
|
113144
113055
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
113145
113056
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -113174,9 +113085,6 @@ export const SourcesV2024ApiAxiosParamCreator = function (configuration?: Config
|
|
|
113174
113085
|
|
|
113175
113086
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
113176
113087
|
|
|
113177
|
-
if (xSailPointExperimental != null) {
|
|
113178
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
113179
|
-
}
|
|
113180
113088
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
113181
113089
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113182
113090
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -113408,18 +113316,13 @@ export const SourcesV2024ApiAxiosParamCreator = function (configuration?: Config
|
|
|
113408
113316
|
* File is required for upload. You will also need to set the Content-Type header to `multipart/form-data`
|
|
113409
113317
|
* @summary Process uncorrelated accounts
|
|
113410
113318
|
* @param {string} id Source Id
|
|
113411
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
113412
113319
|
* @param {File} [file]
|
|
113413
113320
|
* @param {*} [axiosOptions] Override http request option.
|
|
113414
113321
|
* @throws {RequiredError}
|
|
113415
113322
|
*/
|
|
113416
|
-
importUncorrelatedAccounts: async (id: string,
|
|
113323
|
+
importUncorrelatedAccounts: async (id: string, file?: File, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
113417
113324
|
// verify required parameter 'id' is not null or undefined
|
|
113418
113325
|
assertParamExists('importUncorrelatedAccounts', 'id', id)
|
|
113419
|
-
if (xSailPointExperimental === undefined) {
|
|
113420
|
-
xSailPointExperimental = 'true';
|
|
113421
|
-
}
|
|
113422
|
-
|
|
113423
113326
|
const localVarPath = `/sources/{id}/load-uncorrelated-accounts`
|
|
113424
113327
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
113425
113328
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -113450,9 +113353,6 @@ export const SourcesV2024ApiAxiosParamCreator = function (configuration?: Config
|
|
|
113450
113353
|
|
|
113451
113354
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
113452
113355
|
|
|
113453
|
-
if (xSailPointExperimental != null) {
|
|
113454
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
113455
|
-
}
|
|
113456
113356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
113457
113357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113458
113358
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -114550,14 +114450,13 @@ export const SourcesV2024ApiFp = function(configuration?: Configuration) {
|
|
|
114550
114450
|
},
|
|
114551
114451
|
/**
|
|
114552
114452
|
* 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.
|
|
114553
|
-
* @summary Remove all accounts in
|
|
114453
|
+
* @summary Remove all accounts in source
|
|
114554
114454
|
* @param {string} id The source id
|
|
114555
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
114556
114455
|
* @param {*} [axiosOptions] Override http request option.
|
|
114557
114456
|
* @throws {RequiredError}
|
|
114558
114457
|
*/
|
|
114559
|
-
async deleteAccountsAsync(id: string,
|
|
114560
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountsAsync(id,
|
|
114458
|
+
async deleteAccountsAsync(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskResultDtoV2024>> {
|
|
114459
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountsAsync(id, axiosOptions);
|
|
114561
114460
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
114562
114461
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2024Api.deleteAccountsAsync']?.[localVarOperationServerIndex]?.url;
|
|
114563
114462
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -114837,14 +114736,13 @@ export const SourcesV2024ApiFp = function(configuration?: Configuration) {
|
|
|
114837
114736
|
* 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`.
|
|
114838
114737
|
* @summary Account aggregation
|
|
114839
114738
|
* @param {string} id Source Id
|
|
114840
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
114841
114739
|
* @param {File} [file] The CSV file containing the source accounts to aggregate.
|
|
114842
114740
|
* @param {string} [disableOptimization] Use this flag to reprocess every account whether or not the data has changed.
|
|
114843
114741
|
* @param {*} [axiosOptions] Override http request option.
|
|
114844
114742
|
* @throws {RequiredError}
|
|
114845
114743
|
*/
|
|
114846
|
-
async importAccounts(id: string,
|
|
114847
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importAccounts(id,
|
|
114744
|
+
async importAccounts(id: string, file?: File, disableOptimization?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoadAccountsTaskV2024>> {
|
|
114745
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importAccounts(id, file, disableOptimization, axiosOptions);
|
|
114848
114746
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
114849
114747
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2024Api.importAccounts']?.[localVarOperationServerIndex]?.url;
|
|
114850
114748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -114911,13 +114809,12 @@ export const SourcesV2024ApiFp = function(configuration?: Configuration) {
|
|
|
114911
114809
|
* File is required for upload. You will also need to set the Content-Type header to `multipart/form-data`
|
|
114912
114810
|
* @summary Process uncorrelated accounts
|
|
114913
114811
|
* @param {string} id Source Id
|
|
114914
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
114915
114812
|
* @param {File} [file]
|
|
114916
114813
|
* @param {*} [axiosOptions] Override http request option.
|
|
114917
114814
|
* @throws {RequiredError}
|
|
114918
114815
|
*/
|
|
114919
|
-
async importUncorrelatedAccounts(id: string,
|
|
114920
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importUncorrelatedAccounts(id,
|
|
114816
|
+
async importUncorrelatedAccounts(id: string, file?: File, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoadUncorrelatedAccountsTaskV2024>> {
|
|
114817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importUncorrelatedAccounts(id, file, axiosOptions);
|
|
114921
114818
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
114922
114819
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2024Api.importUncorrelatedAccounts']?.[localVarOperationServerIndex]?.url;
|
|
114923
114820
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -115261,13 +115158,13 @@ export const SourcesV2024ApiFactory = function (configuration?: Configuration, b
|
|
|
115261
115158
|
},
|
|
115262
115159
|
/**
|
|
115263
115160
|
* 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.
|
|
115264
|
-
* @summary Remove all accounts in
|
|
115161
|
+
* @summary Remove all accounts in source
|
|
115265
115162
|
* @param {SourcesV2024ApiDeleteAccountsAsyncRequest} requestParameters Request parameters.
|
|
115266
115163
|
* @param {*} [axiosOptions] Override http request option.
|
|
115267
115164
|
* @throws {RequiredError}
|
|
115268
115165
|
*/
|
|
115269
115166
|
deleteAccountsAsync(requestParameters: SourcesV2024ApiDeleteAccountsAsyncRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<TaskResultDtoV2024> {
|
|
115270
|
-
return localVarFp.deleteAccountsAsync(requestParameters.id,
|
|
115167
|
+
return localVarFp.deleteAccountsAsync(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
115271
115168
|
},
|
|
115272
115169
|
/**
|
|
115273
115170
|
* Deletes the native change detection configuration for the source specified by the given ID.
|
|
@@ -115477,7 +115374,7 @@ export const SourcesV2024ApiFactory = function (configuration?: Configuration, b
|
|
|
115477
115374
|
* @throws {RequiredError}
|
|
115478
115375
|
*/
|
|
115479
115376
|
importAccounts(requestParameters: SourcesV2024ApiImportAccountsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LoadAccountsTaskV2024> {
|
|
115480
|
-
return localVarFp.importAccounts(requestParameters.id, requestParameters.
|
|
115377
|
+
return localVarFp.importAccounts(requestParameters.id, requestParameters.file, requestParameters.disableOptimization, axiosOptions).then((request) => request(axios, basePath));
|
|
115481
115378
|
},
|
|
115482
115379
|
/**
|
|
115483
115380
|
* 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.**
|
|
@@ -115527,7 +115424,7 @@ export const SourcesV2024ApiFactory = function (configuration?: Configuration, b
|
|
|
115527
115424
|
* @throws {RequiredError}
|
|
115528
115425
|
*/
|
|
115529
115426
|
importUncorrelatedAccounts(requestParameters: SourcesV2024ApiImportUncorrelatedAccountsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LoadUncorrelatedAccountsTaskV2024> {
|
|
115530
|
-
return localVarFp.importUncorrelatedAccounts(requestParameters.id, requestParameters.
|
|
115427
|
+
return localVarFp.importUncorrelatedAccounts(requestParameters.id, requestParameters.file, axiosOptions).then((request) => request(axios, basePath));
|
|
115531
115428
|
},
|
|
115532
115429
|
/**
|
|
115533
115430
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
@@ -115828,13 +115725,6 @@ export interface SourcesV2024ApiDeleteAccountsAsyncRequest {
|
|
|
115828
115725
|
* @memberof SourcesV2024ApiDeleteAccountsAsync
|
|
115829
115726
|
*/
|
|
115830
115727
|
readonly id: string
|
|
115831
|
-
|
|
115832
|
-
/**
|
|
115833
|
-
* Use this header to enable this experimental API.
|
|
115834
|
-
* @type {string}
|
|
115835
|
-
* @memberof SourcesV2024ApiDeleteAccountsAsync
|
|
115836
|
-
*/
|
|
115837
|
-
readonly xSailPointExperimental?: string
|
|
115838
115728
|
}
|
|
115839
115729
|
|
|
115840
115730
|
/**
|
|
@@ -116207,13 +116097,6 @@ export interface SourcesV2024ApiImportAccountsRequest {
|
|
|
116207
116097
|
*/
|
|
116208
116098
|
readonly id: string
|
|
116209
116099
|
|
|
116210
|
-
/**
|
|
116211
|
-
* Use this header to enable this experimental API.
|
|
116212
|
-
* @type {string}
|
|
116213
|
-
* @memberof SourcesV2024ApiImportAccounts
|
|
116214
|
-
*/
|
|
116215
|
-
readonly xSailPointExperimental?: string
|
|
116216
|
-
|
|
116217
116100
|
/**
|
|
116218
116101
|
* The CSV file containing the source accounts to aggregate.
|
|
116219
116102
|
* @type {File}
|
|
@@ -116340,13 +116223,6 @@ export interface SourcesV2024ApiImportUncorrelatedAccountsRequest {
|
|
|
116340
116223
|
*/
|
|
116341
116224
|
readonly id: string
|
|
116342
116225
|
|
|
116343
|
-
/**
|
|
116344
|
-
* Use this header to enable this experimental API.
|
|
116345
|
-
* @type {string}
|
|
116346
|
-
* @memberof SourcesV2024ApiImportUncorrelatedAccounts
|
|
116347
|
-
*/
|
|
116348
|
-
readonly xSailPointExperimental?: string
|
|
116349
|
-
|
|
116350
116226
|
/**
|
|
116351
116227
|
*
|
|
116352
116228
|
* @type {File}
|
|
@@ -116881,14 +116757,14 @@ export class SourcesV2024Api extends BaseAPI {
|
|
|
116881
116757
|
|
|
116882
116758
|
/**
|
|
116883
116759
|
* 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.
|
|
116884
|
-
* @summary Remove all accounts in
|
|
116760
|
+
* @summary Remove all accounts in source
|
|
116885
116761
|
* @param {SourcesV2024ApiDeleteAccountsAsyncRequest} requestParameters Request parameters.
|
|
116886
116762
|
* @param {*} [axiosOptions] Override http request option.
|
|
116887
116763
|
* @throws {RequiredError}
|
|
116888
116764
|
* @memberof SourcesV2024Api
|
|
116889
116765
|
*/
|
|
116890
116766
|
public deleteAccountsAsync(requestParameters: SourcesV2024ApiDeleteAccountsAsyncRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
116891
|
-
return SourcesV2024ApiFp(this.configuration).deleteAccountsAsync(requestParameters.id,
|
|
116767
|
+
return SourcesV2024ApiFp(this.configuration).deleteAccountsAsync(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
116892
116768
|
}
|
|
116893
116769
|
|
|
116894
116770
|
/**
|
|
@@ -117140,7 +117016,7 @@ export class SourcesV2024Api extends BaseAPI {
|
|
|
117140
117016
|
* @memberof SourcesV2024Api
|
|
117141
117017
|
*/
|
|
117142
117018
|
public importAccounts(requestParameters: SourcesV2024ApiImportAccountsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117143
|
-
return SourcesV2024ApiFp(this.configuration).importAccounts(requestParameters.id, requestParameters.
|
|
117019
|
+
return SourcesV2024ApiFp(this.configuration).importAccounts(requestParameters.id, requestParameters.file, requestParameters.disableOptimization, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117144
117020
|
}
|
|
117145
117021
|
|
|
117146
117022
|
/**
|
|
@@ -117200,7 +117076,7 @@ export class SourcesV2024Api extends BaseAPI {
|
|
|
117200
117076
|
* @memberof SourcesV2024Api
|
|
117201
117077
|
*/
|
|
117202
117078
|
public importUncorrelatedAccounts(requestParameters: SourcesV2024ApiImportUncorrelatedAccountsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117203
|
-
return SourcesV2024ApiFp(this.configuration).importUncorrelatedAccounts(requestParameters.id, requestParameters.
|
|
117079
|
+
return SourcesV2024ApiFp(this.configuration).importUncorrelatedAccounts(requestParameters.id, requestParameters.file, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117204
117080
|
}
|
|
117205
117081
|
|
|
117206
117082
|
/**
|