sailpoint-api-client 1.8.6 → 1.8.7

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/v2026/api.ts CHANGED
@@ -58993,6 +58993,62 @@ export class AccountAggregationsV2026Api extends BaseAPI {
58993
58993
  */
58994
58994
  export const AccountDeletionRequestsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
58995
58995
  return {
58996
+ /**
58997
+ * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
58998
+ * @summary Delete account
58999
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
59000
+ * @param {string} accountId Account ID.
59001
+ * @param {AccountDeleteRequestInputV2026} [accountDeleteRequestInputV2026]
59002
+ * @param {*} [axiosOptions] Override http request option.
59003
+ * @throws {RequiredError}
59004
+ */
59005
+ deleteAccountRequest: async (xSailPointExperimental: string, accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
59006
+ if (xSailPointExperimental === undefined) {
59007
+ xSailPointExperimental = 'true';
59008
+ }
59009
+
59010
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
59011
+ assertParamExists('deleteAccountRequest', 'xSailPointExperimental', xSailPointExperimental)
59012
+ // verify required parameter 'accountId' is not null or undefined
59013
+ assertParamExists('deleteAccountRequest', 'accountId', accountId)
59014
+ const localVarPath = `/account-requests/account/{accountId}/delete`
59015
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
59016
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
59017
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59018
+ let baseOptions;
59019
+ if (configuration) {
59020
+ baseOptions = configuration.baseOptions;
59021
+ }
59022
+
59023
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
59024
+ const localVarHeaderParameter = {} as any;
59025
+ const localVarQueryParameter = {} as any;
59026
+
59027
+ // authentication userAuth required
59028
+ // oauth required
59029
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
59030
+
59031
+ // authentication userAuth required
59032
+ // oauth required
59033
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
59034
+
59035
+
59036
+
59037
+ localVarHeaderParameter['Content-Type'] = 'application/json';
59038
+
59039
+ if (xSailPointExperimental != null) {
59040
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
59041
+ }
59042
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
59043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59044
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
59045
+ localVarRequestOptions.data = serializeDataIfNeeded(accountDeleteRequestInputV2026, localVarRequestOptions, configuration)
59046
+
59047
+ return {
59048
+ url: toPathString(localVarUrlObj),
59049
+ axiosOptions: localVarRequestOptions,
59050
+ };
59051
+ },
58996
59052
  /**
58997
59053
  * Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
58998
59054
  * @summary List of Account Deletion Requests
@@ -59071,6 +59127,21 @@ export const AccountDeletionRequestsV2026ApiAxiosParamCreator = function (config
59071
59127
  export const AccountDeletionRequestsV2026ApiFp = function(configuration?: Configuration) {
59072
59128
  const localVarAxiosParamCreator = AccountDeletionRequestsV2026ApiAxiosParamCreator(configuration)
59073
59129
  return {
59130
+ /**
59131
+ * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
59132
+ * @summary Delete account
59133
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
59134
+ * @param {string} accountId Account ID.
59135
+ * @param {AccountDeleteRequestInputV2026} [accountDeleteRequestInputV2026]
59136
+ * @param {*} [axiosOptions] Override http request option.
59137
+ * @throws {RequiredError}
59138
+ */
59139
+ async deleteAccountRequest(xSailPointExperimental: string, accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteAsyncResultV2026>> {
59140
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountRequest(xSailPointExperimental, accountId, accountDeleteRequestInputV2026, axiosOptions);
59141
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
59142
+ const localVarOperationServerBasePath = operationServerMap['AccountDeletionRequestsV2026Api.deleteAccountRequest']?.[localVarOperationServerIndex]?.url;
59143
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
59144
+ },
59074
59145
  /**
59075
59146
  * Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
59076
59147
  * @summary List of Account Deletion Requests
@@ -59098,6 +59169,16 @@ export const AccountDeletionRequestsV2026ApiFp = function(configuration?: Config
59098
59169
  export const AccountDeletionRequestsV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
59099
59170
  const localVarFp = AccountDeletionRequestsV2026ApiFp(configuration)
59100
59171
  return {
59172
+ /**
59173
+ * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
59174
+ * @summary Delete account
59175
+ * @param {AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest} requestParameters Request parameters.
59176
+ * @param {*} [axiosOptions] Override http request option.
59177
+ * @throws {RequiredError}
59178
+ */
59179
+ deleteAccountRequest(requestParameters: AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteAsyncResultV2026> {
59180
+ return localVarFp.deleteAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then((request) => request(axios, basePath));
59181
+ },
59101
59182
  /**
59102
59183
  * Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
59103
59184
  * @summary List of Account Deletion Requests
@@ -59111,6 +59192,34 @@ export const AccountDeletionRequestsV2026ApiFactory = function (configuration?:
59111
59192
  };
59112
59193
  };
59113
59194
 
59195
+ /**
59196
+ * Request parameters for deleteAccountRequest operation in AccountDeletionRequestsV2026Api.
59197
+ * @export
59198
+ * @interface AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest
59199
+ */
59200
+ export interface AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest {
59201
+ /**
59202
+ * Use this header to enable this experimental API.
59203
+ * @type {string}
59204
+ * @memberof AccountDeletionRequestsV2026ApiDeleteAccountRequest
59205
+ */
59206
+ readonly xSailPointExperimental: string
59207
+
59208
+ /**
59209
+ * Account ID.
59210
+ * @type {string}
59211
+ * @memberof AccountDeletionRequestsV2026ApiDeleteAccountRequest
59212
+ */
59213
+ readonly accountId: string
59214
+
59215
+ /**
59216
+ *
59217
+ * @type {AccountDeleteRequestInputV2026}
59218
+ * @memberof AccountDeletionRequestsV2026ApiDeleteAccountRequest
59219
+ */
59220
+ readonly accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026
59221
+ }
59222
+
59114
59223
  /**
59115
59224
  * Request parameters for getAccountDeletionRequests operation in AccountDeletionRequestsV2026Api.
59116
59225
  * @export
@@ -59160,6 +59269,18 @@ export interface AccountDeletionRequestsV2026ApiGetAccountDeletionRequestsReques
59160
59269
  * @extends {BaseAPI}
59161
59270
  */
59162
59271
  export class AccountDeletionRequestsV2026Api extends BaseAPI {
59272
+ /**
59273
+ * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
59274
+ * @summary Delete account
59275
+ * @param {AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest} requestParameters Request parameters.
59276
+ * @param {*} [axiosOptions] Override http request option.
59277
+ * @throws {RequiredError}
59278
+ * @memberof AccountDeletionRequestsV2026Api
59279
+ */
59280
+ public deleteAccountRequest(requestParameters: AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
59281
+ return AccountDeletionRequestsV2026ApiFp(this.configuration).deleteAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
59282
+ }
59283
+
59163
59284
  /**
59164
59285
  * Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
59165
59286
  * @summary List of Account Deletion Requests
@@ -83407,31 +83528,26 @@ export class DeclassifySourceV2026Api extends BaseAPI {
83407
83528
 
83408
83529
 
83409
83530
  /**
83410
- * DeleteAccountV2026Api - axios parameter creator
83531
+ * DimensionsV2026Api - axios parameter creator
83411
83532
  * @export
83412
83533
  */
83413
- export const DeleteAccountV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
83534
+ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
83414
83535
  return {
83415
83536
  /**
83416
- * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
83417
- * @summary Delete account
83418
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
83419
- * @param {string} accountId Account ID.
83420
- * @param {AccountDeleteRequestInputV2026} [accountDeleteRequestInputV2026]
83537
+ * This API creates a dimension. You must have a token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority to call this API. Additionally, a ROLE_SUBADMIN cannot create a dimension that includes an access profile or entitlement if that access profile or entitlement is linked to a source that the ROLE_SUBADMIN is not associated with. The maximum supported length for the description field is 2000 characters.
83538
+ * @summary Create a dimension
83539
+ * @param {string} roleId Parent Role Id of the dimension.
83540
+ * @param {DimensionV2026} dimensionV2026
83421
83541
  * @param {*} [axiosOptions] Override http request option.
83422
83542
  * @throws {RequiredError}
83423
83543
  */
83424
- deleteAccountRequest: async (xSailPointExperimental: string, accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83425
- if (xSailPointExperimental === undefined) {
83426
- xSailPointExperimental = 'true';
83427
- }
83428
-
83429
- // verify required parameter 'xSailPointExperimental' is not null or undefined
83430
- assertParamExists('deleteAccountRequest', 'xSailPointExperimental', xSailPointExperimental)
83431
- // verify required parameter 'accountId' is not null or undefined
83432
- assertParamExists('deleteAccountRequest', 'accountId', accountId)
83433
- const localVarPath = `/account-requests/account/{accountId}/delete`
83434
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
83544
+ createDimension: async (roleId: string, dimensionV2026: DimensionV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83545
+ // verify required parameter 'roleId' is not null or undefined
83546
+ assertParamExists('createDimension', 'roleId', roleId)
83547
+ // verify required parameter 'dimensionV2026' is not null or undefined
83548
+ assertParamExists('createDimension', 'dimensionV2026', dimensionV2026)
83549
+ const localVarPath = `/roles/{roleId}/dimensions`
83550
+ .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
83435
83551
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
83436
83552
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
83437
83553
  let baseOptions;
@@ -83455,137 +83571,30 @@ export const DeleteAccountV2026ApiAxiosParamCreator = function (configuration?:
83455
83571
 
83456
83572
  localVarHeaderParameter['Content-Type'] = 'application/json';
83457
83573
 
83458
- if (xSailPointExperimental != null) {
83459
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
83460
- }
83461
83574
  setSearchParams(localVarUrlObj, localVarQueryParameter);
83462
83575
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83463
83576
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
83464
- localVarRequestOptions.data = serializeDataIfNeeded(accountDeleteRequestInputV2026, localVarRequestOptions, configuration)
83577
+ localVarRequestOptions.data = serializeDataIfNeeded(dimensionV2026, localVarRequestOptions, configuration)
83465
83578
 
83466
83579
  return {
83467
83580
  url: toPathString(localVarUrlObj),
83468
83581
  axiosOptions: localVarRequestOptions,
83469
83582
  };
83470
83583
  },
83471
- }
83472
- };
83473
-
83474
- /**
83475
- * DeleteAccountV2026Api - functional programming interface
83476
- * @export
83477
- */
83478
- export const DeleteAccountV2026ApiFp = function(configuration?: Configuration) {
83479
- const localVarAxiosParamCreator = DeleteAccountV2026ApiAxiosParamCreator(configuration)
83480
- return {
83481
- /**
83482
- * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
83483
- * @summary Delete account
83484
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
83485
- * @param {string} accountId Account ID.
83486
- * @param {AccountDeleteRequestInputV2026} [accountDeleteRequestInputV2026]
83487
- * @param {*} [axiosOptions] Override http request option.
83488
- * @throws {RequiredError}
83489
- */
83490
- async deleteAccountRequest(xSailPointExperimental: string, accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteAsyncResultV2026>> {
83491
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountRequest(xSailPointExperimental, accountId, accountDeleteRequestInputV2026, axiosOptions);
83492
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83493
- const localVarOperationServerBasePath = operationServerMap['DeleteAccountV2026Api.deleteAccountRequest']?.[localVarOperationServerIndex]?.url;
83494
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83495
- },
83496
- }
83497
- };
83498
-
83499
- /**
83500
- * DeleteAccountV2026Api - factory interface
83501
- * @export
83502
- */
83503
- export const DeleteAccountV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
83504
- const localVarFp = DeleteAccountV2026ApiFp(configuration)
83505
- return {
83506
83584
  /**
83507
- * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
83508
- * @summary Delete account
83509
- * @param {DeleteAccountV2026ApiDeleteAccountRequestRequest} requestParameters Request parameters.
83510
- * @param {*} [axiosOptions] Override http request option.
83511
- * @throws {RequiredError}
83512
- */
83513
- deleteAccountRequest(requestParameters: DeleteAccountV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteAsyncResultV2026> {
83514
- return localVarFp.deleteAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then((request) => request(axios, basePath));
83515
- },
83516
- };
83517
- };
83518
-
83519
- /**
83520
- * Request parameters for deleteAccountRequest operation in DeleteAccountV2026Api.
83521
- * @export
83522
- * @interface DeleteAccountV2026ApiDeleteAccountRequestRequest
83523
- */
83524
- export interface DeleteAccountV2026ApiDeleteAccountRequestRequest {
83525
- /**
83526
- * Use this header to enable this experimental API.
83527
- * @type {string}
83528
- * @memberof DeleteAccountV2026ApiDeleteAccountRequest
83529
- */
83530
- readonly xSailPointExperimental: string
83531
-
83532
- /**
83533
- * Account ID.
83534
- * @type {string}
83535
- * @memberof DeleteAccountV2026ApiDeleteAccountRequest
83536
- */
83537
- readonly accountId: string
83538
-
83539
- /**
83540
- *
83541
- * @type {AccountDeleteRequestInputV2026}
83542
- * @memberof DeleteAccountV2026ApiDeleteAccountRequest
83543
- */
83544
- readonly accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026
83545
- }
83546
-
83547
- /**
83548
- * DeleteAccountV2026Api - object-oriented interface
83549
- * @export
83550
- * @class DeleteAccountV2026Api
83551
- * @extends {BaseAPI}
83552
- */
83553
- export class DeleteAccountV2026Api extends BaseAPI {
83554
- /**
83555
- * Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
83556
- * @summary Delete account
83557
- * @param {DeleteAccountV2026ApiDeleteAccountRequestRequest} requestParameters Request parameters.
83558
- * @param {*} [axiosOptions] Override http request option.
83559
- * @throws {RequiredError}
83560
- * @memberof DeleteAccountV2026Api
83561
- */
83562
- public deleteAccountRequest(requestParameters: DeleteAccountV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
83563
- return DeleteAccountV2026ApiFp(this.configuration).deleteAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
83564
- }
83565
- }
83566
-
83567
-
83568
-
83569
- /**
83570
- * DimensionsV2026Api - axios parameter creator
83571
- * @export
83572
- */
83573
- export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
83574
- return {
83575
- /**
83576
- * This API creates a dimension. You must have a token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority to call this API. Additionally, a ROLE_SUBADMIN cannot create a dimension that includes an access profile or entitlement if that access profile or entitlement is linked to a source that the ROLE_SUBADMIN is not associated with. The maximum supported length for the description field is 2000 characters.
83577
- * @summary Create a dimension
83578
- * @param {string} roleId Parent Role Id of the dimension.
83579
- * @param {DimensionV2026} dimensionV2026
83585
+ * This endpoint initiates a bulk deletion of one or more dimensions. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 roles per request. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this endpoint. In addition, a token with ROLE_SUBADMIN authority can only call this endpoint if all dimensions included in the request are associated with sources with management workgroups the ROLE_SUBADMIN is a member of.
83586
+ * @summary Delete dimension(s)
83587
+ * @param {string} roleId Parent Role Id of the dimensions.
83588
+ * @param {DimensionBulkDeleteRequestV2026} dimensionBulkDeleteRequestV2026
83580
83589
  * @param {*} [axiosOptions] Override http request option.
83581
83590
  * @throws {RequiredError}
83582
83591
  */
83583
- createDimension: async (roleId: string, dimensionV2026: DimensionV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83592
+ deleteBulkDimensions: async (roleId: string, dimensionBulkDeleteRequestV2026: DimensionBulkDeleteRequestV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83584
83593
  // verify required parameter 'roleId' is not null or undefined
83585
- assertParamExists('createDimension', 'roleId', roleId)
83586
- // verify required parameter 'dimensionV2026' is not null or undefined
83587
- assertParamExists('createDimension', 'dimensionV2026', dimensionV2026)
83588
- const localVarPath = `/roles/{roleId}/dimensions`
83594
+ assertParamExists('deleteBulkDimensions', 'roleId', roleId)
83595
+ // verify required parameter 'dimensionBulkDeleteRequestV2026' is not null or undefined
83596
+ assertParamExists('deleteBulkDimensions', 'dimensionBulkDeleteRequestV2026', dimensionBulkDeleteRequestV2026)
83597
+ const localVarPath = `/roles/{roleId}/dimensions/bulk-delete`
83589
83598
  .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
83590
83599
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
83591
83600
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -83613,7 +83622,7 @@ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Con
83613
83622
  setSearchParams(localVarUrlObj, localVarQueryParameter);
83614
83623
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83615
83624
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
83616
- localVarRequestOptions.data = serializeDataIfNeeded(dimensionV2026, localVarRequestOptions, configuration)
83625
+ localVarRequestOptions.data = serializeDataIfNeeded(dimensionBulkDeleteRequestV2026, localVarRequestOptions, configuration)
83617
83626
 
83618
83627
  return {
83619
83628
  url: toPathString(localVarUrlObj),
@@ -83621,20 +83630,21 @@ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Con
83621
83630
  };
83622
83631
  },
83623
83632
  /**
83624
- * This endpoint initiates a bulk deletion of one or more dimensions. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 roles per request. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this endpoint. In addition, a token with ROLE_SUBADMIN authority can only call this endpoint if all dimensions included in the request are associated with sources with management workgroups the ROLE_SUBADMIN is a member of.
83625
- * @summary Delete dimension(s)
83626
- * @param {string} roleId Parent Role Id of the dimensions.
83627
- * @param {DimensionBulkDeleteRequestV2026} dimensionBulkDeleteRequestV2026
83633
+ * This API deletes a Dimension by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles/Entitlements included in the Dimension are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
83634
+ * @summary Delete a dimension
83635
+ * @param {string} roleId Parent Role Id of the dimension.
83636
+ * @param {string} dimensionId Id of the Dimension
83628
83637
  * @param {*} [axiosOptions] Override http request option.
83629
83638
  * @throws {RequiredError}
83630
83639
  */
83631
- deleteBulkDimensions: async (roleId: string, dimensionBulkDeleteRequestV2026: DimensionBulkDeleteRequestV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83640
+ deleteDimension: async (roleId: string, dimensionId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83632
83641
  // verify required parameter 'roleId' is not null or undefined
83633
- assertParamExists('deleteBulkDimensions', 'roleId', roleId)
83634
- // verify required parameter 'dimensionBulkDeleteRequestV2026' is not null or undefined
83635
- assertParamExists('deleteBulkDimensions', 'dimensionBulkDeleteRequestV2026', dimensionBulkDeleteRequestV2026)
83636
- const localVarPath = `/roles/{roleId}/dimensions/bulk-delete`
83637
- .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
83642
+ assertParamExists('deleteDimension', 'roleId', roleId)
83643
+ // verify required parameter 'dimensionId' is not null or undefined
83644
+ assertParamExists('deleteDimension', 'dimensionId', dimensionId)
83645
+ const localVarPath = `/roles/{roleId}/dimensions/{dimensionId}`
83646
+ .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)))
83647
+ .replace(`{${"dimensionId"}}`, encodeURIComponent(String(dimensionId)));
83638
83648
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
83639
83649
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
83640
83650
  let baseOptions;
@@ -83642,7 +83652,7 @@ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Con
83642
83652
  baseOptions = configuration.baseOptions;
83643
83653
  }
83644
83654
 
83645
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
83655
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
83646
83656
  const localVarHeaderParameter = {} as any;
83647
83657
  const localVarQueryParameter = {} as any;
83648
83658
 
@@ -83656,12 +83666,9 @@ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Con
83656
83666
 
83657
83667
 
83658
83668
 
83659
- localVarHeaderParameter['Content-Type'] = 'application/json';
83660
-
83661
83669
  setSearchParams(localVarUrlObj, localVarQueryParameter);
83662
83670
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83663
83671
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
83664
- localVarRequestOptions.data = serializeDataIfNeeded(dimensionBulkDeleteRequestV2026, localVarRequestOptions, configuration)
83665
83672
 
83666
83673
  return {
83667
83674
  url: toPathString(localVarUrlObj),
@@ -83669,18 +83676,18 @@ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Con
83669
83676
  };
83670
83677
  },
83671
83678
  /**
83672
- * This API deletes a Dimension by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles/Entitlements included in the Dimension are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
83673
- * @summary Delete a dimension
83679
+ * This API returns a Dimension by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles or Entitlements included in the Dimension or Parent Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
83680
+ * @summary Get a dimension under role.
83674
83681
  * @param {string} roleId Parent Role Id of the dimension.
83675
83682
  * @param {string} dimensionId Id of the Dimension
83676
83683
  * @param {*} [axiosOptions] Override http request option.
83677
83684
  * @throws {RequiredError}
83678
83685
  */
83679
- deleteDimension: async (roleId: string, dimensionId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83686
+ getDimension: async (roleId: string, dimensionId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83680
83687
  // verify required parameter 'roleId' is not null or undefined
83681
- assertParamExists('deleteDimension', 'roleId', roleId)
83688
+ assertParamExists('getDimension', 'roleId', roleId)
83682
83689
  // verify required parameter 'dimensionId' is not null or undefined
83683
- assertParamExists('deleteDimension', 'dimensionId', dimensionId)
83690
+ assertParamExists('getDimension', 'dimensionId', dimensionId)
83684
83691
  const localVarPath = `/roles/{roleId}/dimensions/{dimensionId}`
83685
83692
  .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)))
83686
83693
  .replace(`{${"dimensionId"}}`, encodeURIComponent(String(dimensionId)));
@@ -83691,53 +83698,7 @@ export const DimensionsV2026ApiAxiosParamCreator = function (configuration?: Con
83691
83698
  baseOptions = configuration.baseOptions;
83692
83699
  }
83693
83700
 
83694
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
83695
- const localVarHeaderParameter = {} as any;
83696
- const localVarQueryParameter = {} as any;
83697
-
83698
- // authentication userAuth required
83699
- // oauth required
83700
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
83701
-
83702
- // authentication userAuth required
83703
- // oauth required
83704
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
83705
-
83706
-
83707
-
83708
- setSearchParams(localVarUrlObj, localVarQueryParameter);
83709
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83710
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
83711
-
83712
- return {
83713
- url: toPathString(localVarUrlObj),
83714
- axiosOptions: localVarRequestOptions,
83715
- };
83716
- },
83717
- /**
83718
- * This API returns a Dimension by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles or Entitlements included in the Dimension or Parent Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
83719
- * @summary Get a dimension under role.
83720
- * @param {string} roleId Parent Role Id of the dimension.
83721
- * @param {string} dimensionId Id of the Dimension
83722
- * @param {*} [axiosOptions] Override http request option.
83723
- * @throws {RequiredError}
83724
- */
83725
- getDimension: async (roleId: string, dimensionId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83726
- // verify required parameter 'roleId' is not null or undefined
83727
- assertParamExists('getDimension', 'roleId', roleId)
83728
- // verify required parameter 'dimensionId' is not null or undefined
83729
- assertParamExists('getDimension', 'dimensionId', dimensionId)
83730
- const localVarPath = `/roles/{roleId}/dimensions/{dimensionId}`
83731
- .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)))
83732
- .replace(`{${"dimensionId"}}`, encodeURIComponent(String(dimensionId)));
83733
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
83734
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
83735
- let baseOptions;
83736
- if (configuration) {
83737
- baseOptions = configuration.baseOptions;
83738
- }
83739
-
83740
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
83701
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
83741
83702
  const localVarHeaderParameter = {} as any;
83742
83703
  const localVarQueryParameter = {} as any;
83743
83704
 
@@ -88206,30 +88167,27 @@ export class GovernanceGroupsV2026Api extends BaseAPI {
88206
88167
 
88207
88168
 
88208
88169
  /**
88209
- * HumanAccountDeletionApprovalConfigV2026Api - axios parameter creator
88170
+ * IAIAccessRequestRecommendationsV2026Api - axios parameter creator
88210
88171
  * @export
88211
88172
  */
88212
- export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
88173
+ export const IAIAccessRequestRecommendationsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
88213
88174
  return {
88214
88175
  /**
88215
- * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
88216
- * @summary Human Account Deletion Approval Config
88217
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
88218
- * @param {string} sourceId The Source id
88176
+ * This API ignores a recommended access request item. Once an item is ignored, it will be marked as ignored=true if it is still a recommended item. The consumer can decide to hide ignored recommendations.
88177
+ * @summary Ignore access request recommendation
88178
+ * @param {AccessRequestRecommendationActionItemDtoV2026} accessRequestRecommendationActionItemDtoV2026 The recommended access item to ignore for an identity.
88179
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
88219
88180
  * @param {*} [axiosOptions] Override http request option.
88220
88181
  * @throws {RequiredError}
88221
88182
  */
88222
- getAccountDeleteApprovalConfig: async (xSailPointExperimental: string, sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88183
+ addAccessRequestRecommendationsIgnoredItem: async (accessRequestRecommendationActionItemDtoV2026: AccessRequestRecommendationActionItemDtoV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88184
+ // verify required parameter 'accessRequestRecommendationActionItemDtoV2026' is not null or undefined
88185
+ assertParamExists('addAccessRequestRecommendationsIgnoredItem', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88223
88186
  if (xSailPointExperimental === undefined) {
88224
88187
  xSailPointExperimental = 'true';
88225
88188
  }
88226
88189
 
88227
- // verify required parameter 'xSailPointExperimental' is not null or undefined
88228
- assertParamExists('getAccountDeleteApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
88229
- // verify required parameter 'sourceId' is not null or undefined
88230
- assertParamExists('getAccountDeleteApprovalConfig', 'sourceId', sourceId)
88231
- const localVarPath = `/sources/{sourceId}/approval-config/account-delete`
88232
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
88190
+ const localVarPath = `/ai-access-request-recommendations/ignored-items`;
88233
88191
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
88234
88192
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88235
88193
  let baseOptions;
@@ -88237,7 +88195,7 @@ export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = funct
88237
88195
  baseOptions = configuration.baseOptions;
88238
88196
  }
88239
88197
 
88240
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
88198
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
88241
88199
  const localVarHeaderParameter = {} as any;
88242
88200
  const localVarQueryParameter = {} as any;
88243
88201
 
@@ -88249,14 +88207,21 @@ export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = funct
88249
88207
  // oauth required
88250
88208
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
88251
88209
 
88210
+ // authentication applicationAuth required
88211
+ // oauth required
88212
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
88213
+
88252
88214
 
88253
88215
 
88216
+ localVarHeaderParameter['Content-Type'] = 'application/json';
88217
+
88254
88218
  if (xSailPointExperimental != null) {
88255
88219
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
88256
88220
  }
88257
88221
  setSearchParams(localVarUrlObj, localVarQueryParameter);
88258
88222
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88259
88223
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
88224
+ localVarRequestOptions.data = serializeDataIfNeeded(accessRequestRecommendationActionItemDtoV2026, localVarRequestOptions, configuration)
88260
88225
 
88261
88226
  return {
88262
88227
  url: toPathString(localVarUrlObj),
@@ -88264,27 +88229,21 @@ export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = funct
88264
88229
  };
88265
88230
  },
88266
88231
  /**
88267
- * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
88268
- * @summary Human Account Deletion Approval Config
88269
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
88270
- * @param {string} sourceId Human account source ID.
88271
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
88232
+ * This API consumes a notification that a recommended access request item was requested. This API does not actually make the request, it is just a notification. This will help provide feedback in order to improve our recommendations.
88233
+ * @summary Accept access request recommendation
88234
+ * @param {AccessRequestRecommendationActionItemDtoV2026} accessRequestRecommendationActionItemDtoV2026 The recommended access item that was requested for an identity.
88235
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
88272
88236
  * @param {*} [axiosOptions] Override http request option.
88273
88237
  * @throws {RequiredError}
88274
88238
  */
88275
- updateAccountDeletionApprovalConfig: async (xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88239
+ addAccessRequestRecommendationsRequestedItem: async (accessRequestRecommendationActionItemDtoV2026: AccessRequestRecommendationActionItemDtoV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88240
+ // verify required parameter 'accessRequestRecommendationActionItemDtoV2026' is not null or undefined
88241
+ assertParamExists('addAccessRequestRecommendationsRequestedItem', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88276
88242
  if (xSailPointExperimental === undefined) {
88277
88243
  xSailPointExperimental = 'true';
88278
88244
  }
88279
88245
 
88280
- // verify required parameter 'xSailPointExperimental' is not null or undefined
88281
- assertParamExists('updateAccountDeletionApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
88282
- // verify required parameter 'sourceId' is not null or undefined
88283
- assertParamExists('updateAccountDeletionApprovalConfig', 'sourceId', sourceId)
88284
- // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
88285
- assertParamExists('updateAccountDeletionApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
88286
- const localVarPath = `/sources/{sourceId}/approval-config/account-delete`
88287
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
88246
+ const localVarPath = `/ai-access-request-recommendations/requested-items`;
88288
88247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
88289
88248
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88290
88249
  let baseOptions;
@@ -88292,7 +88251,7 @@ export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = funct
88292
88251
  baseOptions = configuration.baseOptions;
88293
88252
  }
88294
88253
 
88295
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
88254
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
88296
88255
  const localVarHeaderParameter = {} as any;
88297
88256
  const localVarQueryParameter = {} as any;
88298
88257
 
@@ -88304,9 +88263,13 @@ export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = funct
88304
88263
  // oauth required
88305
88264
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
88306
88265
 
88266
+ // authentication applicationAuth required
88267
+ // oauth required
88268
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
88269
+
88307
88270
 
88308
88271
 
88309
- localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
88272
+ localVarHeaderParameter['Content-Type'] = 'application/json';
88310
88273
 
88311
88274
  if (xSailPointExperimental != null) {
88312
88275
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
@@ -88314,190 +88277,29 @@ export const HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = funct
88314
88277
  setSearchParams(localVarUrlObj, localVarQueryParameter);
88315
88278
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88316
88279
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
88317
- localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
88280
+ localVarRequestOptions.data = serializeDataIfNeeded(accessRequestRecommendationActionItemDtoV2026, localVarRequestOptions, configuration)
88318
88281
 
88319
88282
  return {
88320
88283
  url: toPathString(localVarUrlObj),
88321
88284
  axiosOptions: localVarRequestOptions,
88322
88285
  };
88323
88286
  },
88324
- }
88325
- };
88326
-
88327
- /**
88328
- * HumanAccountDeletionApprovalConfigV2026Api - functional programming interface
88329
- * @export
88330
- */
88331
- export const HumanAccountDeletionApprovalConfigV2026ApiFp = function(configuration?: Configuration) {
88332
- const localVarAxiosParamCreator = HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator(configuration)
88333
- return {
88334
- /**
88335
- * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
88336
- * @summary Human Account Deletion Approval Config
88337
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
88338
- * @param {string} sourceId The Source id
88339
- * @param {*} [axiosOptions] Override http request option.
88340
- * @throws {RequiredError}
88341
- */
88342
- async getAccountDeleteApprovalConfig(xSailPointExperimental: string, sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
88343
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountDeleteApprovalConfig(xSailPointExperimental, sourceId, axiosOptions);
88344
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
88345
- const localVarOperationServerBasePath = operationServerMap['HumanAccountDeletionApprovalConfigV2026Api.getAccountDeleteApprovalConfig']?.[localVarOperationServerIndex]?.url;
88346
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
88347
- },
88348
88287
  /**
88349
- * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
88350
- * @summary Human Account Deletion Approval Config
88351
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
88352
- * @param {string} sourceId Human account source ID.
88353
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
88354
- * @param {*} [axiosOptions] Override http request option.
88355
- * @throws {RequiredError}
88356
- */
88357
- async updateAccountDeletionApprovalConfig(xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
88358
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateAccountDeletionApprovalConfig(xSailPointExperimental, sourceId, jsonPatchOperationV2026, axiosOptions);
88359
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
88360
- const localVarOperationServerBasePath = operationServerMap['HumanAccountDeletionApprovalConfigV2026Api.updateAccountDeletionApprovalConfig']?.[localVarOperationServerIndex]?.url;
88361
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
88362
- },
88363
- }
88364
- };
88365
-
88366
- /**
88367
- * HumanAccountDeletionApprovalConfigV2026Api - factory interface
88368
- * @export
88369
- */
88370
- export const HumanAccountDeletionApprovalConfigV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
88371
- const localVarFp = HumanAccountDeletionApprovalConfigV2026ApiFp(configuration)
88372
- return {
88373
- /**
88374
- * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
88375
- * @summary Human Account Deletion Approval Config
88376
- * @param {HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfigRequest} requestParameters Request parameters.
88377
- * @param {*} [axiosOptions] Override http request option.
88378
- * @throws {RequiredError}
88379
- */
88380
- getAccountDeleteApprovalConfig(requestParameters: HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
88381
- return localVarFp.getAccountDeleteApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
88382
- },
88383
- /**
88384
- * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
88385
- * @summary Human Account Deletion Approval Config
88386
- * @param {HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
88387
- * @param {*} [axiosOptions] Override http request option.
88388
- * @throws {RequiredError}
88389
- */
88390
- updateAccountDeletionApprovalConfig(requestParameters: HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
88391
- return localVarFp.updateAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
88392
- },
88393
- };
88394
- };
88395
-
88396
- /**
88397
- * Request parameters for getAccountDeleteApprovalConfig operation in HumanAccountDeletionApprovalConfigV2026Api.
88398
- * @export
88399
- * @interface HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfigRequest
88400
- */
88401
- export interface HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfigRequest {
88402
- /**
88403
- * Use this header to enable this experimental API.
88404
- * @type {string}
88405
- * @memberof HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfig
88406
- */
88407
- readonly xSailPointExperimental: string
88408
-
88409
- /**
88410
- * The Source id
88411
- * @type {string}
88412
- * @memberof HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfig
88413
- */
88414
- readonly sourceId: string
88415
- }
88416
-
88417
- /**
88418
- * Request parameters for updateAccountDeletionApprovalConfig operation in HumanAccountDeletionApprovalConfigV2026Api.
88419
- * @export
88420
- * @interface HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfigRequest
88421
- */
88422
- export interface HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfigRequest {
88423
- /**
88424
- * Use this header to enable this experimental API.
88425
- * @type {string}
88426
- * @memberof HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfig
88427
- */
88428
- readonly xSailPointExperimental: string
88429
-
88430
- /**
88431
- * Human account source ID.
88432
- * @type {string}
88433
- * @memberof HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfig
88434
- */
88435
- readonly sourceId: string
88436
-
88437
- /**
88438
- * The JSONPatch payload used to update the object.
88439
- * @type {Array<JsonPatchOperationV2026>}
88440
- * @memberof HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfig
88441
- */
88442
- readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
88443
- }
88444
-
88445
- /**
88446
- * HumanAccountDeletionApprovalConfigV2026Api - object-oriented interface
88447
- * @export
88448
- * @class HumanAccountDeletionApprovalConfigV2026Api
88449
- * @extends {BaseAPI}
88450
- */
88451
- export class HumanAccountDeletionApprovalConfigV2026Api extends BaseAPI {
88452
- /**
88453
- * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
88454
- * @summary Human Account Deletion Approval Config
88455
- * @param {HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfigRequest} requestParameters Request parameters.
88456
- * @param {*} [axiosOptions] Override http request option.
88457
- * @throws {RequiredError}
88458
- * @memberof HumanAccountDeletionApprovalConfigV2026Api
88459
- */
88460
- public getAccountDeleteApprovalConfig(requestParameters: HumanAccountDeletionApprovalConfigV2026ApiGetAccountDeleteApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
88461
- return HumanAccountDeletionApprovalConfigV2026ApiFp(this.configuration).getAccountDeleteApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
88462
- }
88463
-
88464
- /**
88465
- * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
88466
- * @summary Human Account Deletion Approval Config
88467
- * @param {HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
88468
- * @param {*} [axiosOptions] Override http request option.
88469
- * @throws {RequiredError}
88470
- * @memberof HumanAccountDeletionApprovalConfigV2026Api
88471
- */
88472
- public updateAccountDeletionApprovalConfig(requestParameters: HumanAccountDeletionApprovalConfigV2026ApiUpdateAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
88473
- return HumanAccountDeletionApprovalConfigV2026ApiFp(this.configuration).updateAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
88474
- }
88475
- }
88476
-
88477
-
88478
-
88479
- /**
88480
- * IAIAccessRequestRecommendationsV2026Api - axios parameter creator
88481
- * @export
88482
- */
88483
- export const IAIAccessRequestRecommendationsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
88484
- return {
88485
- /**
88486
- * This API ignores a recommended access request item. Once an item is ignored, it will be marked as ignored=true if it is still a recommended item. The consumer can decide to hide ignored recommendations.
88487
- * @summary Ignore access request recommendation
88488
- * @param {AccessRequestRecommendationActionItemDtoV2026} accessRequestRecommendationActionItemDtoV2026 The recommended access item to ignore for an identity.
88288
+ * This API consumes a notification that a recommended access request item was viewed. Future recommendations with this item will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations.
88289
+ * @summary Mark viewed access request recommendations
88290
+ * @param {AccessRequestRecommendationActionItemDtoV2026} accessRequestRecommendationActionItemDtoV2026 The recommended access that was viewed for an identity.
88489
88291
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
88490
88292
  * @param {*} [axiosOptions] Override http request option.
88491
88293
  * @throws {RequiredError}
88492
88294
  */
88493
- addAccessRequestRecommendationsIgnoredItem: async (accessRequestRecommendationActionItemDtoV2026: AccessRequestRecommendationActionItemDtoV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88295
+ addAccessRequestRecommendationsViewedItem: async (accessRequestRecommendationActionItemDtoV2026: AccessRequestRecommendationActionItemDtoV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88494
88296
  // verify required parameter 'accessRequestRecommendationActionItemDtoV2026' is not null or undefined
88495
- assertParamExists('addAccessRequestRecommendationsIgnoredItem', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88297
+ assertParamExists('addAccessRequestRecommendationsViewedItem', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88496
88298
  if (xSailPointExperimental === undefined) {
88497
88299
  xSailPointExperimental = 'true';
88498
88300
  }
88499
88301
 
88500
- const localVarPath = `/ai-access-request-recommendations/ignored-items`;
88302
+ const localVarPath = `/ai-access-request-recommendations/viewed-items`;
88501
88303
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
88502
88304
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88503
88305
  let baseOptions;
@@ -88539,133 +88341,21 @@ export const IAIAccessRequestRecommendationsV2026ApiAxiosParamCreator = function
88539
88341
  };
88540
88342
  },
88541
88343
  /**
88542
- * This API consumes a notification that a recommended access request item was requested. This API does not actually make the request, it is just a notification. This will help provide feedback in order to improve our recommendations.
88543
- * @summary Accept access request recommendation
88544
- * @param {AccessRequestRecommendationActionItemDtoV2026} accessRequestRecommendationActionItemDtoV2026 The recommended access item that was requested for an identity.
88344
+ * This API consumes a notification that a set of recommended access request item were viewed. Future recommendations with these items will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations.
88345
+ * @summary Bulk mark viewed access request recommendations
88346
+ * @param {Array<AccessRequestRecommendationActionItemDtoV2026>} accessRequestRecommendationActionItemDtoV2026 The recommended access items that were viewed for an identity.
88545
88347
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
88546
88348
  * @param {*} [axiosOptions] Override http request option.
88547
88349
  * @throws {RequiredError}
88548
88350
  */
88549
- addAccessRequestRecommendationsRequestedItem: async (accessRequestRecommendationActionItemDtoV2026: AccessRequestRecommendationActionItemDtoV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88351
+ addAccessRequestRecommendationsViewedItems: async (accessRequestRecommendationActionItemDtoV2026: Array<AccessRequestRecommendationActionItemDtoV2026>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88550
88352
  // verify required parameter 'accessRequestRecommendationActionItemDtoV2026' is not null or undefined
88551
- assertParamExists('addAccessRequestRecommendationsRequestedItem', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88353
+ assertParamExists('addAccessRequestRecommendationsViewedItems', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88552
88354
  if (xSailPointExperimental === undefined) {
88553
88355
  xSailPointExperimental = 'true';
88554
88356
  }
88555
88357
 
88556
- const localVarPath = `/ai-access-request-recommendations/requested-items`;
88557
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
88558
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88559
- let baseOptions;
88560
- if (configuration) {
88561
- baseOptions = configuration.baseOptions;
88562
- }
88563
-
88564
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
88565
- const localVarHeaderParameter = {} as any;
88566
- const localVarQueryParameter = {} as any;
88567
-
88568
- // authentication userAuth required
88569
- // oauth required
88570
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
88571
-
88572
- // authentication userAuth required
88573
- // oauth required
88574
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
88575
-
88576
- // authentication applicationAuth required
88577
- // oauth required
88578
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
88579
-
88580
-
88581
-
88582
- localVarHeaderParameter['Content-Type'] = 'application/json';
88583
-
88584
- if (xSailPointExperimental != null) {
88585
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
88586
- }
88587
- setSearchParams(localVarUrlObj, localVarQueryParameter);
88588
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88589
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
88590
- localVarRequestOptions.data = serializeDataIfNeeded(accessRequestRecommendationActionItemDtoV2026, localVarRequestOptions, configuration)
88591
-
88592
- return {
88593
- url: toPathString(localVarUrlObj),
88594
- axiosOptions: localVarRequestOptions,
88595
- };
88596
- },
88597
- /**
88598
- * This API consumes a notification that a recommended access request item was viewed. Future recommendations with this item will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations.
88599
- * @summary Mark viewed access request recommendations
88600
- * @param {AccessRequestRecommendationActionItemDtoV2026} accessRequestRecommendationActionItemDtoV2026 The recommended access that was viewed for an identity.
88601
- * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
88602
- * @param {*} [axiosOptions] Override http request option.
88603
- * @throws {RequiredError}
88604
- */
88605
- addAccessRequestRecommendationsViewedItem: async (accessRequestRecommendationActionItemDtoV2026: AccessRequestRecommendationActionItemDtoV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88606
- // verify required parameter 'accessRequestRecommendationActionItemDtoV2026' is not null or undefined
88607
- assertParamExists('addAccessRequestRecommendationsViewedItem', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88608
- if (xSailPointExperimental === undefined) {
88609
- xSailPointExperimental = 'true';
88610
- }
88611
-
88612
- const localVarPath = `/ai-access-request-recommendations/viewed-items`;
88613
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
88614
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88615
- let baseOptions;
88616
- if (configuration) {
88617
- baseOptions = configuration.baseOptions;
88618
- }
88619
-
88620
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
88621
- const localVarHeaderParameter = {} as any;
88622
- const localVarQueryParameter = {} as any;
88623
-
88624
- // authentication userAuth required
88625
- // oauth required
88626
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
88627
-
88628
- // authentication userAuth required
88629
- // oauth required
88630
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
88631
-
88632
- // authentication applicationAuth required
88633
- // oauth required
88634
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
88635
-
88636
-
88637
-
88638
- localVarHeaderParameter['Content-Type'] = 'application/json';
88639
-
88640
- if (xSailPointExperimental != null) {
88641
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
88642
- }
88643
- setSearchParams(localVarUrlObj, localVarQueryParameter);
88644
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88645
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
88646
- localVarRequestOptions.data = serializeDataIfNeeded(accessRequestRecommendationActionItemDtoV2026, localVarRequestOptions, configuration)
88647
-
88648
- return {
88649
- url: toPathString(localVarUrlObj),
88650
- axiosOptions: localVarRequestOptions,
88651
- };
88652
- },
88653
- /**
88654
- * This API consumes a notification that a set of recommended access request item were viewed. Future recommendations with these items will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations.
88655
- * @summary Bulk mark viewed access request recommendations
88656
- * @param {Array<AccessRequestRecommendationActionItemDtoV2026>} accessRequestRecommendationActionItemDtoV2026 The recommended access items that were viewed for an identity.
88657
- * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
88658
- * @param {*} [axiosOptions] Override http request option.
88659
- * @throws {RequiredError}
88660
- */
88661
- addAccessRequestRecommendationsViewedItems: async (accessRequestRecommendationActionItemDtoV2026: Array<AccessRequestRecommendationActionItemDtoV2026>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88662
- // verify required parameter 'accessRequestRecommendationActionItemDtoV2026' is not null or undefined
88663
- assertParamExists('addAccessRequestRecommendationsViewedItems', 'accessRequestRecommendationActionItemDtoV2026', accessRequestRecommendationActionItemDtoV2026)
88664
- if (xSailPointExperimental === undefined) {
88665
- xSailPointExperimental = 'true';
88666
- }
88667
-
88668
- const localVarPath = `/ai-access-request-recommendations/viewed-items/bulk-create`;
88358
+ const localVarPath = `/ai-access-request-recommendations/viewed-items/bulk-create`;
88669
88359
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
88670
88360
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88671
88361
  let baseOptions;
@@ -103460,277 +103150,6 @@ export const SendClassifyMachineAccountClassificationModeV2026 = {
103460
103150
  export type SendClassifyMachineAccountClassificationModeV2026 = typeof SendClassifyMachineAccountClassificationModeV2026[keyof typeof SendClassifyMachineAccountClassificationModeV2026];
103461
103151
 
103462
103152
 
103463
- /**
103464
- * MachineAccountDeletionApprovalConfigV2026Api - axios parameter creator
103465
- * @export
103466
- */
103467
- export const MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
103468
- return {
103469
- /**
103470
- * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
103471
- * @summary Machine Account Deletion Approval Config
103472
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
103473
- * @param {string} sourceId source id.
103474
- * @param {*} [axiosOptions] Override http request option.
103475
- * @throws {RequiredError}
103476
- */
103477
- getMachineAccountDeletionApprovalConfigBySource: async (xSailPointExperimental: string, sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
103478
- if (xSailPointExperimental === undefined) {
103479
- xSailPointExperimental = 'true';
103480
- }
103481
-
103482
- // verify required parameter 'xSailPointExperimental' is not null or undefined
103483
- assertParamExists('getMachineAccountDeletionApprovalConfigBySource', 'xSailPointExperimental', xSailPointExperimental)
103484
- // verify required parameter 'sourceId' is not null or undefined
103485
- assertParamExists('getMachineAccountDeletionApprovalConfigBySource', 'sourceId', sourceId)
103486
- const localVarPath = `/sources/{sourceId}/approval-config/machine-account-delete`
103487
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
103488
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
103489
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103490
- let baseOptions;
103491
- if (configuration) {
103492
- baseOptions = configuration.baseOptions;
103493
- }
103494
-
103495
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
103496
- const localVarHeaderParameter = {} as any;
103497
- const localVarQueryParameter = {} as any;
103498
-
103499
- // authentication userAuth required
103500
- // oauth required
103501
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
103502
-
103503
- // authentication userAuth required
103504
- // oauth required
103505
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
103506
-
103507
-
103508
-
103509
- if (xSailPointExperimental != null) {
103510
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
103511
- }
103512
- setSearchParams(localVarUrlObj, localVarQueryParameter);
103513
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103514
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
103515
-
103516
- return {
103517
- url: toPathString(localVarUrlObj),
103518
- axiosOptions: localVarRequestOptions,
103519
- };
103520
- },
103521
- /**
103522
- * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
103523
- * @summary Machine Account Deletion Approval Config
103524
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
103525
- * @param {string} sourceId machine account source ID.
103526
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
103527
- * @param {*} [axiosOptions] Override http request option.
103528
- * @throws {RequiredError}
103529
- */
103530
- updateMachineAccountDeletionApprovalConfig: async (xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
103531
- if (xSailPointExperimental === undefined) {
103532
- xSailPointExperimental = 'true';
103533
- }
103534
-
103535
- // verify required parameter 'xSailPointExperimental' is not null or undefined
103536
- assertParamExists('updateMachineAccountDeletionApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
103537
- // verify required parameter 'sourceId' is not null or undefined
103538
- assertParamExists('updateMachineAccountDeletionApprovalConfig', 'sourceId', sourceId)
103539
- // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
103540
- assertParamExists('updateMachineAccountDeletionApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
103541
- const localVarPath = `/sources/{sourceId}/approval-config/machine-account-delete`
103542
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
103543
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
103544
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103545
- let baseOptions;
103546
- if (configuration) {
103547
- baseOptions = configuration.baseOptions;
103548
- }
103549
-
103550
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
103551
- const localVarHeaderParameter = {} as any;
103552
- const localVarQueryParameter = {} as any;
103553
-
103554
- // authentication userAuth required
103555
- // oauth required
103556
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
103557
-
103558
- // authentication userAuth required
103559
- // oauth required
103560
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
103561
-
103562
-
103563
-
103564
- localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
103565
-
103566
- if (xSailPointExperimental != null) {
103567
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
103568
- }
103569
- setSearchParams(localVarUrlObj, localVarQueryParameter);
103570
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103571
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
103572
- localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
103573
-
103574
- return {
103575
- url: toPathString(localVarUrlObj),
103576
- axiosOptions: localVarRequestOptions,
103577
- };
103578
- },
103579
- }
103580
- };
103581
-
103582
- /**
103583
- * MachineAccountDeletionApprovalConfigV2026Api - functional programming interface
103584
- * @export
103585
- */
103586
- export const MachineAccountDeletionApprovalConfigV2026ApiFp = function(configuration?: Configuration) {
103587
- const localVarAxiosParamCreator = MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator(configuration)
103588
- return {
103589
- /**
103590
- * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
103591
- * @summary Machine Account Deletion Approval Config
103592
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
103593
- * @param {string} sourceId source id.
103594
- * @param {*} [axiosOptions] Override http request option.
103595
- * @throws {RequiredError}
103596
- */
103597
- async getMachineAccountDeletionApprovalConfigBySource(xSailPointExperimental: string, sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
103598
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountDeletionApprovalConfigBySource(xSailPointExperimental, sourceId, axiosOptions);
103599
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
103600
- const localVarOperationServerBasePath = operationServerMap['MachineAccountDeletionApprovalConfigV2026Api.getMachineAccountDeletionApprovalConfigBySource']?.[localVarOperationServerIndex]?.url;
103601
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103602
- },
103603
- /**
103604
- * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
103605
- * @summary Machine Account Deletion Approval Config
103606
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
103607
- * @param {string} sourceId machine account source ID.
103608
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
103609
- * @param {*} [axiosOptions] Override http request option.
103610
- * @throws {RequiredError}
103611
- */
103612
- async updateMachineAccountDeletionApprovalConfig(xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
103613
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountDeletionApprovalConfig(xSailPointExperimental, sourceId, jsonPatchOperationV2026, axiosOptions);
103614
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
103615
- const localVarOperationServerBasePath = operationServerMap['MachineAccountDeletionApprovalConfigV2026Api.updateMachineAccountDeletionApprovalConfig']?.[localVarOperationServerIndex]?.url;
103616
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103617
- },
103618
- }
103619
- };
103620
-
103621
- /**
103622
- * MachineAccountDeletionApprovalConfigV2026Api - factory interface
103623
- * @export
103624
- */
103625
- export const MachineAccountDeletionApprovalConfigV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
103626
- const localVarFp = MachineAccountDeletionApprovalConfigV2026ApiFp(configuration)
103627
- return {
103628
- /**
103629
- * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
103630
- * @summary Machine Account Deletion Approval Config
103631
- * @param {MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest} requestParameters Request parameters.
103632
- * @param {*} [axiosOptions] Override http request option.
103633
- * @throws {RequiredError}
103634
- */
103635
- getMachineAccountDeletionApprovalConfigBySource(requestParameters: MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
103636
- return localVarFp.getMachineAccountDeletionApprovalConfigBySource(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
103637
- },
103638
- /**
103639
- * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
103640
- * @summary Machine Account Deletion Approval Config
103641
- * @param {MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
103642
- * @param {*} [axiosOptions] Override http request option.
103643
- * @throws {RequiredError}
103644
- */
103645
- updateMachineAccountDeletionApprovalConfig(requestParameters: MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
103646
- return localVarFp.updateMachineAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
103647
- },
103648
- };
103649
- };
103650
-
103651
- /**
103652
- * Request parameters for getMachineAccountDeletionApprovalConfigBySource operation in MachineAccountDeletionApprovalConfigV2026Api.
103653
- * @export
103654
- * @interface MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest
103655
- */
103656
- export interface MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest {
103657
- /**
103658
- * Use this header to enable this experimental API.
103659
- * @type {string}
103660
- * @memberof MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySource
103661
- */
103662
- readonly xSailPointExperimental: string
103663
-
103664
- /**
103665
- * source id.
103666
- * @type {string}
103667
- * @memberof MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySource
103668
- */
103669
- readonly sourceId: string
103670
- }
103671
-
103672
- /**
103673
- * Request parameters for updateMachineAccountDeletionApprovalConfig operation in MachineAccountDeletionApprovalConfigV2026Api.
103674
- * @export
103675
- * @interface MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest
103676
- */
103677
- export interface MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest {
103678
- /**
103679
- * Use this header to enable this experimental API.
103680
- * @type {string}
103681
- * @memberof MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfig
103682
- */
103683
- readonly xSailPointExperimental: string
103684
-
103685
- /**
103686
- * machine account source ID.
103687
- * @type {string}
103688
- * @memberof MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfig
103689
- */
103690
- readonly sourceId: string
103691
-
103692
- /**
103693
- * The JSONPatch payload used to update the object.
103694
- * @type {Array<JsonPatchOperationV2026>}
103695
- * @memberof MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfig
103696
- */
103697
- readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
103698
- }
103699
-
103700
- /**
103701
- * MachineAccountDeletionApprovalConfigV2026Api - object-oriented interface
103702
- * @export
103703
- * @class MachineAccountDeletionApprovalConfigV2026Api
103704
- * @extends {BaseAPI}
103705
- */
103706
- export class MachineAccountDeletionApprovalConfigV2026Api extends BaseAPI {
103707
- /**
103708
- * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
103709
- * @summary Machine Account Deletion Approval Config
103710
- * @param {MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest} requestParameters Request parameters.
103711
- * @param {*} [axiosOptions] Override http request option.
103712
- * @throws {RequiredError}
103713
- * @memberof MachineAccountDeletionApprovalConfigV2026Api
103714
- */
103715
- public getMachineAccountDeletionApprovalConfigBySource(requestParameters: MachineAccountDeletionApprovalConfigV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest, axiosOptions?: RawAxiosRequestConfig) {
103716
- return MachineAccountDeletionApprovalConfigV2026ApiFp(this.configuration).getMachineAccountDeletionApprovalConfigBySource(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
103717
- }
103718
-
103719
- /**
103720
- * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
103721
- * @summary Machine Account Deletion Approval Config
103722
- * @param {MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
103723
- * @param {*} [axiosOptions] Override http request option.
103724
- * @throws {RequiredError}
103725
- * @memberof MachineAccountDeletionApprovalConfigV2026Api
103726
- */
103727
- public updateMachineAccountDeletionApprovalConfig(requestParameters: MachineAccountDeletionApprovalConfigV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
103728
- return MachineAccountDeletionApprovalConfigV2026ApiFp(this.configuration).updateMachineAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
103729
- }
103730
- }
103731
-
103732
-
103733
-
103734
103153
  /**
103735
103154
  * MachineAccountMappingsV2026Api - axios parameter creator
103736
103155
  * @export
@@ -104366,6 +103785,58 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
104366
103785
 
104367
103786
 
104368
103787
 
103788
+ if (xSailPointExperimental != null) {
103789
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
103790
+ }
103791
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
103792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103793
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
103794
+
103795
+ return {
103796
+ url: toPathString(localVarUrlObj),
103797
+ axiosOptions: localVarRequestOptions,
103798
+ };
103799
+ },
103800
+ /**
103801
+ * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
103802
+ * @summary Machine Subtype Approval Config
103803
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
103804
+ * @param {string} subtypeId machine subtype id.
103805
+ * @param {*} [axiosOptions] Override http request option.
103806
+ * @throws {RequiredError}
103807
+ */
103808
+ getMachineAccountDeletionSubTypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
103809
+ if (xSailPointExperimental === undefined) {
103810
+ xSailPointExperimental = 'true';
103811
+ }
103812
+
103813
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
103814
+ assertParamExists('getMachineAccountDeletionSubTypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
103815
+ // verify required parameter 'subtypeId' is not null or undefined
103816
+ assertParamExists('getMachineAccountDeletionSubTypeApprovalConfig', 'subtypeId', subtypeId)
103817
+ const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
103818
+ .replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
103819
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103820
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103821
+ let baseOptions;
103822
+ if (configuration) {
103823
+ baseOptions = configuration.baseOptions;
103824
+ }
103825
+
103826
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
103827
+ const localVarHeaderParameter = {} as any;
103828
+ const localVarQueryParameter = {} as any;
103829
+
103830
+ // authentication userAuth required
103831
+ // oauth required
103832
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
103833
+
103834
+ // authentication userAuth required
103835
+ // oauth required
103836
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
103837
+
103838
+
103839
+
104369
103840
  if (xSailPointExperimental != null) {
104370
103841
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
104371
103842
  }
@@ -104759,6 +104230,64 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
104759
104230
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
104760
104231
  localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
104761
104232
 
104233
+ return {
104234
+ url: toPathString(localVarUrlObj),
104235
+ axiosOptions: localVarRequestOptions,
104236
+ };
104237
+ },
104238
+ /**
104239
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
104240
+ * @summary Machine Subtype Approval Config
104241
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
104242
+ * @param {string} subtypeId machine account subtype ID.
104243
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
104244
+ * @param {*} [axiosOptions] Override http request option.
104245
+ * @throws {RequiredError}
104246
+ */
104247
+ updateMachineAccountDeletionBySubTypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
104248
+ if (xSailPointExperimental === undefined) {
104249
+ xSailPointExperimental = 'true';
104250
+ }
104251
+
104252
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
104253
+ assertParamExists('updateMachineAccountDeletionBySubTypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
104254
+ // verify required parameter 'subtypeId' is not null or undefined
104255
+ assertParamExists('updateMachineAccountDeletionBySubTypeApprovalConfig', 'subtypeId', subtypeId)
104256
+ // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
104257
+ assertParamExists('updateMachineAccountDeletionBySubTypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
104258
+ const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
104259
+ .replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
104260
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
104261
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104262
+ let baseOptions;
104263
+ if (configuration) {
104264
+ baseOptions = configuration.baseOptions;
104265
+ }
104266
+
104267
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
104268
+ const localVarHeaderParameter = {} as any;
104269
+ const localVarQueryParameter = {} as any;
104270
+
104271
+ // authentication userAuth required
104272
+ // oauth required
104273
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
104274
+
104275
+ // authentication userAuth required
104276
+ // oauth required
104277
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
104278
+
104279
+
104280
+
104281
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
104282
+
104283
+ if (xSailPointExperimental != null) {
104284
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
104285
+ }
104286
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
104287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104288
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
104289
+ localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
104290
+
104762
104291
  return {
104763
104292
  url: toPathString(localVarUrlObj),
104764
104293
  axiosOptions: localVarRequestOptions,
@@ -104818,6 +104347,20 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
104818
104347
  const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.getMachineAccount']?.[localVarOperationServerIndex]?.url;
104819
104348
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104820
104349
  },
104350
+ /**
104351
+ * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
104352
+ * @summary Machine Subtype Approval Config
104353
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
104354
+ * @param {string} subtypeId machine subtype id.
104355
+ * @param {*} [axiosOptions] Override http request option.
104356
+ * @throws {RequiredError}
104357
+ */
104358
+ async getMachineAccountDeletionSubTypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubTypeConfigDtoV2026>> {
104359
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountDeletionSubTypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions);
104360
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
104361
+ const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.getMachineAccountDeletionSubTypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
104362
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104363
+ },
104821
104364
  /**
104822
104365
  * Get a machine account subtype by its unique ID.
104823
104366
  * @summary Retrieve subtype by subtype id
@@ -104915,6 +104458,21 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
104915
104458
  const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.updateMachineAccount']?.[localVarOperationServerIndex]?.url;
104916
104459
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104917
104460
  },
104461
+ /**
104462
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
104463
+ * @summary Machine Subtype Approval Config
104464
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
104465
+ * @param {string} subtypeId machine account subtype ID.
104466
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
104467
+ * @param {*} [axiosOptions] Override http request option.
104468
+ * @throws {RequiredError}
104469
+ */
104470
+ async updateMachineAccountDeletionBySubTypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubTypeConfigDtoV2026>> {
104471
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountDeletionBySubTypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions);
104472
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
104473
+ const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.updateMachineAccountDeletionBySubTypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
104474
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104475
+ },
104918
104476
  }
104919
104477
  };
104920
104478
 
@@ -104955,6 +104513,16 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
104955
104513
  getMachineAccount(requestParameters: MachineAccountsV2026ApiGetMachineAccountRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountV2026> {
104956
104514
  return localVarFp.getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
104957
104515
  },
104516
+ /**
104517
+ * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
104518
+ * @summary Machine Subtype Approval Config
104519
+ * @param {MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest} requestParameters Request parameters.
104520
+ * @param {*} [axiosOptions] Override http request option.
104521
+ * @throws {RequiredError}
104522
+ */
104523
+ getMachineAccountDeletionSubTypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubTypeConfigDtoV2026> {
104524
+ return localVarFp.getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
104525
+ },
104958
104526
  /**
104959
104527
  * Get a machine account subtype by its unique ID.
104960
104528
  * @summary Retrieve subtype by subtype id
@@ -105015,6 +104583,16 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
105015
104583
  updateMachineAccount(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountV2026> {
105016
104584
  return localVarFp.updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
105017
104585
  },
104586
+ /**
104587
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
104588
+ * @summary Machine Subtype Approval Config
104589
+ * @param {MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest} requestParameters Request parameters.
104590
+ * @param {*} [axiosOptions] Override http request option.
104591
+ * @throws {RequiredError}
104592
+ */
104593
+ updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubTypeConfigDtoV2026> {
104594
+ return localVarFp.updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
104595
+ },
105018
104596
  };
105019
104597
  };
105020
104598
 
@@ -105095,6 +104673,27 @@ export interface MachineAccountsV2026ApiGetMachineAccountRequest {
105095
104673
  readonly xSailPointExperimental?: string
105096
104674
  }
105097
104675
 
104676
+ /**
104677
+ * Request parameters for getMachineAccountDeletionSubTypeApprovalConfig operation in MachineAccountsV2026Api.
104678
+ * @export
104679
+ * @interface MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest
104680
+ */
104681
+ export interface MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest {
104682
+ /**
104683
+ * Use this header to enable this experimental API.
104684
+ * @type {string}
104685
+ * @memberof MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfig
104686
+ */
104687
+ readonly xSailPointExperimental: string
104688
+
104689
+ /**
104690
+ * machine subtype id.
104691
+ * @type {string}
104692
+ * @memberof MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfig
104693
+ */
104694
+ readonly subtypeId: string
104695
+ }
104696
+
105098
104697
  /**
105099
104698
  * Request parameters for getMachineAccountSubtypeById operation in MachineAccountsV2026Api.
105100
104699
  * @export
@@ -105312,6 +104911,34 @@ export interface MachineAccountsV2026ApiUpdateMachineAccountRequest {
105312
104911
  readonly xSailPointExperimental?: string
105313
104912
  }
105314
104913
 
104914
+ /**
104915
+ * Request parameters for updateMachineAccountDeletionBySubTypeApprovalConfig operation in MachineAccountsV2026Api.
104916
+ * @export
104917
+ * @interface MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest
104918
+ */
104919
+ export interface MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest {
104920
+ /**
104921
+ * Use this header to enable this experimental API.
104922
+ * @type {string}
104923
+ * @memberof MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfig
104924
+ */
104925
+ readonly xSailPointExperimental: string
104926
+
104927
+ /**
104928
+ * machine account subtype ID.
104929
+ * @type {string}
104930
+ * @memberof MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfig
104931
+ */
104932
+ readonly subtypeId: string
104933
+
104934
+ /**
104935
+ * The JSONPatch payload used to update the object.
104936
+ * @type {Array<JsonPatchOperationV2026>}
104937
+ * @memberof MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfig
104938
+ */
104939
+ readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
104940
+ }
104941
+
105315
104942
  /**
105316
104943
  * MachineAccountsV2026Api - object-oriented interface
105317
104944
  * @export
@@ -105355,6 +104982,18 @@ export class MachineAccountsV2026Api extends BaseAPI {
105355
104982
  return MachineAccountsV2026ApiFp(this.configuration).getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
105356
104983
  }
105357
104984
 
104985
+ /**
104986
+ * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
104987
+ * @summary Machine Subtype Approval Config
104988
+ * @param {MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest} requestParameters Request parameters.
104989
+ * @param {*} [axiosOptions] Override http request option.
104990
+ * @throws {RequiredError}
104991
+ * @memberof MachineAccountsV2026Api
104992
+ */
104993
+ public getMachineAccountDeletionSubTypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
104994
+ return MachineAccountsV2026ApiFp(this.configuration).getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
104995
+ }
104996
+
105358
104997
  /**
105359
104998
  * Get a machine account subtype by its unique ID.
105360
104999
  * @summary Retrieve subtype by subtype id
@@ -105426,6 +105065,18 @@ export class MachineAccountsV2026Api extends BaseAPI {
105426
105065
  public updateMachineAccount(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountRequest, axiosOptions?: RawAxiosRequestConfig) {
105427
105066
  return MachineAccountsV2026ApiFp(this.configuration).updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
105428
105067
  }
105068
+
105069
+ /**
105070
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
105071
+ * @summary Machine Subtype Approval Config
105072
+ * @param {MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest} requestParameters Request parameters.
105073
+ * @param {*} [axiosOptions] Override http request option.
105074
+ * @throws {RequiredError}
105075
+ * @memberof MachineAccountsV2026Api
105076
+ */
105077
+ public updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
105078
+ return MachineAccountsV2026ApiFp(this.configuration).updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
105079
+ }
105429
105080
  }
105430
105081
 
105431
105082
 
@@ -106692,277 +106343,6 @@ export class MachineIdentitiesV2026Api extends BaseAPI {
106692
106343
 
106693
106344
 
106694
106345
 
106695
- /**
106696
- * MachineSubtypeApprovalConfigV2026Api - axios parameter creator
106697
- * @export
106698
- */
106699
- export const MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
106700
- return {
106701
- /**
106702
- * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
106703
- * @summary Machine Subtype Approval Config
106704
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
106705
- * @param {string} subtypeId machine subtype id.
106706
- * @param {*} [axiosOptions] Override http request option.
106707
- * @throws {RequiredError}
106708
- */
106709
- getMachineAccountDeletionSubTypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
106710
- if (xSailPointExperimental === undefined) {
106711
- xSailPointExperimental = 'true';
106712
- }
106713
-
106714
- // verify required parameter 'xSailPointExperimental' is not null or undefined
106715
- assertParamExists('getMachineAccountDeletionSubTypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
106716
- // verify required parameter 'subtypeId' is not null or undefined
106717
- assertParamExists('getMachineAccountDeletionSubTypeApprovalConfig', 'subtypeId', subtypeId)
106718
- const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
106719
- .replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
106720
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
106721
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106722
- let baseOptions;
106723
- if (configuration) {
106724
- baseOptions = configuration.baseOptions;
106725
- }
106726
-
106727
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
106728
- const localVarHeaderParameter = {} as any;
106729
- const localVarQueryParameter = {} as any;
106730
-
106731
- // authentication userAuth required
106732
- // oauth required
106733
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
106734
-
106735
- // authentication userAuth required
106736
- // oauth required
106737
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
106738
-
106739
-
106740
-
106741
- if (xSailPointExperimental != null) {
106742
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
106743
- }
106744
- setSearchParams(localVarUrlObj, localVarQueryParameter);
106745
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106746
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
106747
-
106748
- return {
106749
- url: toPathString(localVarUrlObj),
106750
- axiosOptions: localVarRequestOptions,
106751
- };
106752
- },
106753
- /**
106754
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
106755
- * @summary Machine Subtype Approval Config
106756
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
106757
- * @param {string} subtypeId machine account subtype ID.
106758
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
106759
- * @param {*} [axiosOptions] Override http request option.
106760
- * @throws {RequiredError}
106761
- */
106762
- updateMachineAccountDeletionBySubTypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
106763
- if (xSailPointExperimental === undefined) {
106764
- xSailPointExperimental = 'true';
106765
- }
106766
-
106767
- // verify required parameter 'xSailPointExperimental' is not null or undefined
106768
- assertParamExists('updateMachineAccountDeletionBySubTypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
106769
- // verify required parameter 'subtypeId' is not null or undefined
106770
- assertParamExists('updateMachineAccountDeletionBySubTypeApprovalConfig', 'subtypeId', subtypeId)
106771
- // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
106772
- assertParamExists('updateMachineAccountDeletionBySubTypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
106773
- const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
106774
- .replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
106775
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
106776
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106777
- let baseOptions;
106778
- if (configuration) {
106779
- baseOptions = configuration.baseOptions;
106780
- }
106781
-
106782
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
106783
- const localVarHeaderParameter = {} as any;
106784
- const localVarQueryParameter = {} as any;
106785
-
106786
- // authentication userAuth required
106787
- // oauth required
106788
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
106789
-
106790
- // authentication userAuth required
106791
- // oauth required
106792
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
106793
-
106794
-
106795
-
106796
- localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
106797
-
106798
- if (xSailPointExperimental != null) {
106799
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
106800
- }
106801
- setSearchParams(localVarUrlObj, localVarQueryParameter);
106802
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106803
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
106804
- localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
106805
-
106806
- return {
106807
- url: toPathString(localVarUrlObj),
106808
- axiosOptions: localVarRequestOptions,
106809
- };
106810
- },
106811
- }
106812
- };
106813
-
106814
- /**
106815
- * MachineSubtypeApprovalConfigV2026Api - functional programming interface
106816
- * @export
106817
- */
106818
- export const MachineSubtypeApprovalConfigV2026ApiFp = function(configuration?: Configuration) {
106819
- const localVarAxiosParamCreator = MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator(configuration)
106820
- return {
106821
- /**
106822
- * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
106823
- * @summary Machine Subtype Approval Config
106824
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
106825
- * @param {string} subtypeId machine subtype id.
106826
- * @param {*} [axiosOptions] Override http request option.
106827
- * @throws {RequiredError}
106828
- */
106829
- async getMachineAccountDeletionSubTypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubTypeConfigDtoV2026>> {
106830
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountDeletionSubTypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions);
106831
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
106832
- const localVarOperationServerBasePath = operationServerMap['MachineSubtypeApprovalConfigV2026Api.getMachineAccountDeletionSubTypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
106833
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
106834
- },
106835
- /**
106836
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
106837
- * @summary Machine Subtype Approval Config
106838
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
106839
- * @param {string} subtypeId machine account subtype ID.
106840
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
106841
- * @param {*} [axiosOptions] Override http request option.
106842
- * @throws {RequiredError}
106843
- */
106844
- async updateMachineAccountDeletionBySubTypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubTypeConfigDtoV2026>> {
106845
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountDeletionBySubTypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions);
106846
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
106847
- const localVarOperationServerBasePath = operationServerMap['MachineSubtypeApprovalConfigV2026Api.updateMachineAccountDeletionBySubTypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
106848
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
106849
- },
106850
- }
106851
- };
106852
-
106853
- /**
106854
- * MachineSubtypeApprovalConfigV2026Api - factory interface
106855
- * @export
106856
- */
106857
- export const MachineSubtypeApprovalConfigV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
106858
- const localVarFp = MachineSubtypeApprovalConfigV2026ApiFp(configuration)
106859
- return {
106860
- /**
106861
- * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
106862
- * @summary Machine Subtype Approval Config
106863
- * @param {MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest} requestParameters Request parameters.
106864
- * @param {*} [axiosOptions] Override http request option.
106865
- * @throws {RequiredError}
106866
- */
106867
- getMachineAccountDeletionSubTypeApprovalConfig(requestParameters: MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubTypeConfigDtoV2026> {
106868
- return localVarFp.getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
106869
- },
106870
- /**
106871
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
106872
- * @summary Machine Subtype Approval Config
106873
- * @param {MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest} requestParameters Request parameters.
106874
- * @param {*} [axiosOptions] Override http request option.
106875
- * @throws {RequiredError}
106876
- */
106877
- updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters: MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubTypeConfigDtoV2026> {
106878
- return localVarFp.updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
106879
- },
106880
- };
106881
- };
106882
-
106883
- /**
106884
- * Request parameters for getMachineAccountDeletionSubTypeApprovalConfig operation in MachineSubtypeApprovalConfigV2026Api.
106885
- * @export
106886
- * @interface MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest
106887
- */
106888
- export interface MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest {
106889
- /**
106890
- * Use this header to enable this experimental API.
106891
- * @type {string}
106892
- * @memberof MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfig
106893
- */
106894
- readonly xSailPointExperimental: string
106895
-
106896
- /**
106897
- * machine subtype id.
106898
- * @type {string}
106899
- * @memberof MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfig
106900
- */
106901
- readonly subtypeId: string
106902
- }
106903
-
106904
- /**
106905
- * Request parameters for updateMachineAccountDeletionBySubTypeApprovalConfig operation in MachineSubtypeApprovalConfigV2026Api.
106906
- * @export
106907
- * @interface MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest
106908
- */
106909
- export interface MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest {
106910
- /**
106911
- * Use this header to enable this experimental API.
106912
- * @type {string}
106913
- * @memberof MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfig
106914
- */
106915
- readonly xSailPointExperimental: string
106916
-
106917
- /**
106918
- * machine account subtype ID.
106919
- * @type {string}
106920
- * @memberof MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfig
106921
- */
106922
- readonly subtypeId: string
106923
-
106924
- /**
106925
- * The JSONPatch payload used to update the object.
106926
- * @type {Array<JsonPatchOperationV2026>}
106927
- * @memberof MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfig
106928
- */
106929
- readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
106930
- }
106931
-
106932
- /**
106933
- * MachineSubtypeApprovalConfigV2026Api - object-oriented interface
106934
- * @export
106935
- * @class MachineSubtypeApprovalConfigV2026Api
106936
- * @extends {BaseAPI}
106937
- */
106938
- export class MachineSubtypeApprovalConfigV2026Api extends BaseAPI {
106939
- /**
106940
- * This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
106941
- * @summary Machine Subtype Approval Config
106942
- * @param {MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest} requestParameters Request parameters.
106943
- * @param {*} [axiosOptions] Override http request option.
106944
- * @throws {RequiredError}
106945
- * @memberof MachineSubtypeApprovalConfigV2026Api
106946
- */
106947
- public getMachineAccountDeletionSubTypeApprovalConfig(requestParameters: MachineSubtypeApprovalConfigV2026ApiGetMachineAccountDeletionSubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
106948
- return MachineSubtypeApprovalConfigV2026ApiFp(this.configuration).getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
106949
- }
106950
-
106951
- /**
106952
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
106953
- * @summary Machine Subtype Approval Config
106954
- * @param {MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest} requestParameters Request parameters.
106955
- * @param {*} [axiosOptions] Override http request option.
106956
- * @throws {RequiredError}
106957
- * @memberof MachineSubtypeApprovalConfigV2026Api
106958
- */
106959
- public updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters: MachineSubtypeApprovalConfigV2026ApiUpdateMachineAccountDeletionBySubTypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
106960
- return MachineSubtypeApprovalConfigV2026ApiFp(this.configuration).updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
106961
- }
106962
- }
106963
-
106964
-
106965
-
106966
106346
  /**
106967
106347
  * ManagedClientsV2026Api - axios parameter creator
106968
106348
  * @export
@@ -134555,67 +133935,262 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134555
133935
  };
134556
133936
  },
134557
133937
  /**
134558
- * Deletes the native change detection configuration for the source specified by the given ID.
134559
- * @summary Delete native change detection configuration
134560
- * @param {string} id The source id
133938
+ * Deletes the native change detection configuration for the source specified by the given ID.
133939
+ * @summary Delete native change detection configuration
133940
+ * @param {string} id The source id
133941
+ * @param {*} [axiosOptions] Override http request option.
133942
+ * @throws {RequiredError}
133943
+ */
133944
+ deleteNativeChangeDetectionConfig: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
133945
+ // verify required parameter 'id' is not null or undefined
133946
+ assertParamExists('deleteNativeChangeDetectionConfig', 'id', id)
133947
+ const localVarPath = `/sources/{sourceId}/native-change-detection-config`
133948
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
133949
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
133950
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
133951
+ let baseOptions;
133952
+ if (configuration) {
133953
+ baseOptions = configuration.baseOptions;
133954
+ }
133955
+
133956
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
133957
+ const localVarHeaderParameter = {} as any;
133958
+ const localVarQueryParameter = {} as any;
133959
+
133960
+ // authentication userAuth required
133961
+ // oauth required
133962
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
133963
+
133964
+ // authentication userAuth required
133965
+ // oauth required
133966
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
133967
+
133968
+ // authentication applicationAuth required
133969
+ // oauth required
133970
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
133971
+
133972
+
133973
+
133974
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
133975
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133976
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
133977
+
133978
+ return {
133979
+ url: toPathString(localVarUrlObj),
133980
+ axiosOptions: localVarRequestOptions,
133981
+ };
133982
+ },
133983
+ /**
133984
+ * Deletes the provisioning policy with the specified usage on an application.
133985
+ * @summary Delete provisioning policy by usagetype
133986
+ * @param {string} sourceId The Source ID.
133987
+ * @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \&#39;Create Account Profile\&#39;, the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \&#39;Update Account Profile\&#39;, the provisioning template for the \&#39;Update\&#39; connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \&#39;Enable Account Profile\&#39;, the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\&#39;s account is created. DISABLE - This usage type relates to \&#39;Disable Account Profile\&#39;, the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
133988
+ * @param {*} [axiosOptions] Override http request option.
133989
+ * @throws {RequiredError}
133990
+ */
133991
+ deleteProvisioningPolicy: async (sourceId: string, usageType: UsageTypeV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
133992
+ // verify required parameter 'sourceId' is not null or undefined
133993
+ assertParamExists('deleteProvisioningPolicy', 'sourceId', sourceId)
133994
+ // verify required parameter 'usageType' is not null or undefined
133995
+ assertParamExists('deleteProvisioningPolicy', 'usageType', usageType)
133996
+ const localVarPath = `/sources/{sourceId}/provisioning-policies/{usageType}`
133997
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
133998
+ .replace(`{${"usageType"}}`, encodeURIComponent(String(usageType)));
133999
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134000
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134001
+ let baseOptions;
134002
+ if (configuration) {
134003
+ baseOptions = configuration.baseOptions;
134004
+ }
134005
+
134006
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134007
+ const localVarHeaderParameter = {} as any;
134008
+ const localVarQueryParameter = {} as any;
134009
+
134010
+ // authentication userAuth required
134011
+ // oauth required
134012
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134013
+
134014
+ // authentication userAuth required
134015
+ // oauth required
134016
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134017
+
134018
+ // authentication applicationAuth required
134019
+ // oauth required
134020
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134021
+
134022
+
134023
+
134024
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134025
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134026
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134027
+
134028
+ return {
134029
+ url: toPathString(localVarUrlObj),
134030
+ axiosOptions: localVarRequestOptions,
134031
+ };
134032
+ },
134033
+ /**
134034
+ * Use this API to delete a specific source in Identity Security Cloud (ISC). The API removes all the accounts on the source first, and then it deletes the source. You can retrieve the actual task execution status with this method: GET `/task-status/{id}`
134035
+ * @summary Delete source by id
134036
+ * @param {string} id Source ID.
134037
+ * @param {*} [axiosOptions] Override http request option.
134038
+ * @throws {RequiredError}
134039
+ */
134040
+ deleteSource: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134041
+ // verify required parameter 'id' is not null or undefined
134042
+ assertParamExists('deleteSource', 'id', id)
134043
+ const localVarPath = `/sources/{id}`
134044
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134045
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134046
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134047
+ let baseOptions;
134048
+ if (configuration) {
134049
+ baseOptions = configuration.baseOptions;
134050
+ }
134051
+
134052
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134053
+ const localVarHeaderParameter = {} as any;
134054
+ const localVarQueryParameter = {} as any;
134055
+
134056
+ // authentication userAuth required
134057
+ // oauth required
134058
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134059
+
134060
+ // authentication userAuth required
134061
+ // oauth required
134062
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134063
+
134064
+ // authentication applicationAuth required
134065
+ // oauth required
134066
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134067
+
134068
+
134069
+
134070
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134071
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134072
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134073
+
134074
+ return {
134075
+ url: toPathString(localVarUrlObj),
134076
+ axiosOptions: localVarRequestOptions,
134077
+ };
134078
+ },
134079
+ /**
134080
+ *
134081
+ * @summary Delete source schedule by type.
134082
+ * @param {string} sourceId The Source id.
134083
+ * @param {DeleteSourceScheduleScheduleTypeV2026} scheduleType The Schedule type.
134084
+ * @param {*} [axiosOptions] Override http request option.
134085
+ * @throws {RequiredError}
134086
+ */
134087
+ deleteSourceSchedule: async (sourceId: string, scheduleType: DeleteSourceScheduleScheduleTypeV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134088
+ // verify required parameter 'sourceId' is not null or undefined
134089
+ assertParamExists('deleteSourceSchedule', 'sourceId', sourceId)
134090
+ // verify required parameter 'scheduleType' is not null or undefined
134091
+ assertParamExists('deleteSourceSchedule', 'scheduleType', scheduleType)
134092
+ const localVarPath = `/sources/{sourceId}/schedules/{scheduleType}`
134093
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
134094
+ .replace(`{${"scheduleType"}}`, encodeURIComponent(String(scheduleType)));
134095
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134096
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134097
+ let baseOptions;
134098
+ if (configuration) {
134099
+ baseOptions = configuration.baseOptions;
134100
+ }
134101
+
134102
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134103
+ const localVarHeaderParameter = {} as any;
134104
+ const localVarQueryParameter = {} as any;
134105
+
134106
+ // authentication userAuth required
134107
+ // oauth required
134108
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134109
+
134110
+ // authentication userAuth required
134111
+ // oauth required
134112
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134113
+
134114
+ // authentication applicationAuth required
134115
+ // oauth required
134116
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134117
+
134118
+
134119
+
134120
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134121
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134122
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134123
+
134124
+ return {
134125
+ url: toPathString(localVarUrlObj),
134126
+ axiosOptions: localVarRequestOptions,
134127
+ };
134128
+ },
134129
+ /**
134130
+ *
134131
+ * @summary Delete source schema by id
134132
+ * @param {string} sourceId The Source id.
134133
+ * @param {string} schemaId The Schema id.
134134
+ * @param {*} [axiosOptions] Override http request option.
134135
+ * @throws {RequiredError}
134136
+ */
134137
+ deleteSourceSchema: async (sourceId: string, schemaId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134138
+ // verify required parameter 'sourceId' is not null or undefined
134139
+ assertParamExists('deleteSourceSchema', 'sourceId', sourceId)
134140
+ // verify required parameter 'schemaId' is not null or undefined
134141
+ assertParamExists('deleteSourceSchema', 'schemaId', schemaId)
134142
+ const localVarPath = `/sources/{sourceId}/schemas/{schemaId}`
134143
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
134144
+ .replace(`{${"schemaId"}}`, encodeURIComponent(String(schemaId)));
134145
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
134146
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134147
+ let baseOptions;
134148
+ if (configuration) {
134149
+ baseOptions = configuration.baseOptions;
134150
+ }
134151
+
134152
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134153
+ const localVarHeaderParameter = {} as any;
134154
+ const localVarQueryParameter = {} as any;
134155
+
134156
+ // authentication userAuth required
134157
+ // oauth required
134158
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134159
+
134160
+ // authentication userAuth required
134161
+ // oauth required
134162
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134163
+
134164
+
134165
+
134166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134168
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134169
+
134170
+ return {
134171
+ url: toPathString(localVarUrlObj),
134172
+ axiosOptions: localVarRequestOptions,
134173
+ };
134174
+ },
134175
+ /**
134176
+ * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
134177
+ * @summary Human Account Deletion Approval Config
134178
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
134179
+ * @param {string} sourceId The Source id
134561
134180
  * @param {*} [axiosOptions] Override http request option.
134562
134181
  * @throws {RequiredError}
134563
134182
  */
134564
- deleteNativeChangeDetectionConfig: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134565
- // verify required parameter 'id' is not null or undefined
134566
- assertParamExists('deleteNativeChangeDetectionConfig', 'id', id)
134567
- const localVarPath = `/sources/{sourceId}/native-change-detection-config`
134568
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134569
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
134570
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134571
- let baseOptions;
134572
- if (configuration) {
134573
- baseOptions = configuration.baseOptions;
134183
+ getAccountDeleteApprovalConfig: async (xSailPointExperimental: string, sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134184
+ if (xSailPointExperimental === undefined) {
134185
+ xSailPointExperimental = 'true';
134574
134186
  }
134575
-
134576
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134577
- const localVarHeaderParameter = {} as any;
134578
- const localVarQueryParameter = {} as any;
134579
-
134580
- // authentication userAuth required
134581
- // oauth required
134582
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134583
-
134584
- // authentication userAuth required
134585
- // oauth required
134586
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134587
-
134588
- // authentication applicationAuth required
134589
- // oauth required
134590
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134591
-
134592
-
134593
-
134594
- setSearchParams(localVarUrlObj, localVarQueryParameter);
134595
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134596
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134597
-
134598
- return {
134599
- url: toPathString(localVarUrlObj),
134600
- axiosOptions: localVarRequestOptions,
134601
- };
134602
- },
134603
- /**
134604
- * Deletes the provisioning policy with the specified usage on an application.
134605
- * @summary Delete provisioning policy by usagetype
134606
- * @param {string} sourceId The Source ID.
134607
- * @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \&#39;Create Account Profile\&#39;, the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \&#39;Update Account Profile\&#39;, the provisioning template for the \&#39;Update\&#39; connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \&#39;Enable Account Profile\&#39;, the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\&#39;s account is created. DISABLE - This usage type relates to \&#39;Disable Account Profile\&#39;, the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
134608
- * @param {*} [axiosOptions] Override http request option.
134609
- * @throws {RequiredError}
134610
- */
134611
- deleteProvisioningPolicy: async (sourceId: string, usageType: UsageTypeV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134187
+
134188
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
134189
+ assertParamExists('getAccountDeleteApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
134612
134190
  // verify required parameter 'sourceId' is not null or undefined
134613
- assertParamExists('deleteProvisioningPolicy', 'sourceId', sourceId)
134614
- // verify required parameter 'usageType' is not null or undefined
134615
- assertParamExists('deleteProvisioningPolicy', 'usageType', usageType)
134616
- const localVarPath = `/sources/{sourceId}/provisioning-policies/{usageType}`
134617
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
134618
- .replace(`{${"usageType"}}`, encodeURIComponent(String(usageType)));
134191
+ assertParamExists('getAccountDeleteApprovalConfig', 'sourceId', sourceId)
134192
+ const localVarPath = `/sources/{sourceId}/approval-config/account-delete`
134193
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
134619
134194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134620
134195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134621
134196
  let baseOptions;
@@ -134623,7 +134198,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134623
134198
  baseOptions = configuration.baseOptions;
134624
134199
  }
134625
134200
 
134626
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134201
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
134627
134202
  const localVarHeaderParameter = {} as any;
134628
134203
  const localVarQueryParameter = {} as any;
134629
134204
 
@@ -134635,12 +134210,11 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134635
134210
  // oauth required
134636
134211
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134637
134212
 
134638
- // authentication applicationAuth required
134639
- // oauth required
134640
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134641
-
134642
134213
 
134643
134214
 
134215
+ if (xSailPointExperimental != null) {
134216
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
134217
+ }
134644
134218
  setSearchParams(localVarUrlObj, localVarQueryParameter);
134645
134219
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134646
134220
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
@@ -134651,16 +134225,16 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134651
134225
  };
134652
134226
  },
134653
134227
  /**
134654
- * Use this API to delete a specific source in Identity Security Cloud (ISC). The API removes all the accounts on the source first, and then it deletes the source. You can retrieve the actual task execution status with this method: GET `/task-status/{id}`
134655
- * @summary Delete source by id
134656
- * @param {string} id Source ID.
134228
+ * This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
134229
+ * @summary Downloads source accounts schema template
134230
+ * @param {string} id The Source id
134657
134231
  * @param {*} [axiosOptions] Override http request option.
134658
134232
  * @throws {RequiredError}
134659
134233
  */
134660
- deleteSource: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134234
+ getAccountsSchema: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134661
134235
  // verify required parameter 'id' is not null or undefined
134662
- assertParamExists('deleteSource', 'id', id)
134663
- const localVarPath = `/sources/{id}`
134236
+ assertParamExists('getAccountsSchema', 'id', id)
134237
+ const localVarPath = `/sources/{id}/schemas/accounts`
134664
134238
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134665
134239
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134666
134240
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -134669,7 +134243,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134669
134243
  baseOptions = configuration.baseOptions;
134670
134244
  }
134671
134245
 
134672
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134246
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
134673
134247
  const localVarHeaderParameter = {} as any;
134674
134248
  const localVarQueryParameter = {} as any;
134675
134249
 
@@ -134681,10 +134255,6 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134681
134255
  // oauth required
134682
134256
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134683
134257
 
134684
- // authentication applicationAuth required
134685
- // oauth required
134686
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134687
-
134688
134258
 
134689
134259
 
134690
134260
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -134697,21 +134267,17 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134697
134267
  };
134698
134268
  },
134699
134269
  /**
134700
- *
134701
- * @summary Delete source schedule by type.
134702
- * @param {string} sourceId The Source id.
134703
- * @param {DeleteSourceScheduleScheduleTypeV2026} scheduleType The Schedule type.
134270
+ * This API returns the existing correlation configuration for a source specified by the given ID.
134271
+ * @summary Get source correlation configuration
134272
+ * @param {string} id The source id
134704
134273
  * @param {*} [axiosOptions] Override http request option.
134705
134274
  * @throws {RequiredError}
134706
134275
  */
134707
- deleteSourceSchedule: async (sourceId: string, scheduleType: DeleteSourceScheduleScheduleTypeV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134708
- // verify required parameter 'sourceId' is not null or undefined
134709
- assertParamExists('deleteSourceSchedule', 'sourceId', sourceId)
134710
- // verify required parameter 'scheduleType' is not null or undefined
134711
- assertParamExists('deleteSourceSchedule', 'scheduleType', scheduleType)
134712
- const localVarPath = `/sources/{sourceId}/schedules/{scheduleType}`
134713
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
134714
- .replace(`{${"scheduleType"}}`, encodeURIComponent(String(scheduleType)));
134276
+ getCorrelationConfig: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134277
+ // verify required parameter 'id' is not null or undefined
134278
+ assertParamExists('getCorrelationConfig', 'id', id)
134279
+ const localVarPath = `/sources/{id}/correlation-config`
134280
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134715
134281
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134716
134282
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134717
134283
  let baseOptions;
@@ -134719,7 +134285,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134719
134285
  baseOptions = configuration.baseOptions;
134720
134286
  }
134721
134287
 
134722
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134288
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
134723
134289
  const localVarHeaderParameter = {} as any;
134724
134290
  const localVarQueryParameter = {} as any;
134725
134291
 
@@ -134747,62 +134313,17 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134747
134313
  };
134748
134314
  },
134749
134315
  /**
134750
- *
134751
- * @summary Delete source schema by id
134752
- * @param {string} sourceId The Source id.
134753
- * @param {string} schemaId The Schema id.
134754
- * @param {*} [axiosOptions] Override http request option.
134755
- * @throws {RequiredError}
134756
- */
134757
- deleteSourceSchema: async (sourceId: string, schemaId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134758
- // verify required parameter 'sourceId' is not null or undefined
134759
- assertParamExists('deleteSourceSchema', 'sourceId', sourceId)
134760
- // verify required parameter 'schemaId' is not null or undefined
134761
- assertParamExists('deleteSourceSchema', 'schemaId', schemaId)
134762
- const localVarPath = `/sources/{sourceId}/schemas/{schemaId}`
134763
- .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
134764
- .replace(`{${"schemaId"}}`, encodeURIComponent(String(schemaId)));
134765
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
134766
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134767
- let baseOptions;
134768
- if (configuration) {
134769
- baseOptions = configuration.baseOptions;
134770
- }
134771
-
134772
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
134773
- const localVarHeaderParameter = {} as any;
134774
- const localVarQueryParameter = {} as any;
134775
-
134776
- // authentication userAuth required
134777
- // oauth required
134778
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134779
-
134780
- // authentication userAuth required
134781
- // oauth required
134782
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134783
-
134784
-
134785
-
134786
- setSearchParams(localVarUrlObj, localVarQueryParameter);
134787
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134788
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134789
-
134790
- return {
134791
- url: toPathString(localVarUrlObj),
134792
- axiosOptions: localVarRequestOptions,
134793
- };
134794
- },
134795
- /**
134796
- * This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
134797
- * @summary Downloads source accounts schema template
134316
+ * This API downloads the CSV schema that defines the entitlement attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
134317
+ * @summary Downloads source entitlements schema template
134798
134318
  * @param {string} id The Source id
134319
+ * @param {string} [schemaName] Name of entitlement schema
134799
134320
  * @param {*} [axiosOptions] Override http request option.
134800
134321
  * @throws {RequiredError}
134801
134322
  */
134802
- getAccountsSchema: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134323
+ getEntitlementsSchema: async (id: string, schemaName?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134803
134324
  // verify required parameter 'id' is not null or undefined
134804
- assertParamExists('getAccountsSchema', 'id', id)
134805
- const localVarPath = `/sources/{id}/schemas/accounts`
134325
+ assertParamExists('getEntitlementsSchema', 'id', id)
134326
+ const localVarPath = `/sources/{id}/schemas/entitlements`
134806
134327
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134807
134328
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134808
134329
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -134823,52 +134344,10 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134823
134344
  // oauth required
134824
134345
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134825
134346
 
134826
-
134827
-
134828
- setSearchParams(localVarUrlObj, localVarQueryParameter);
134829
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134830
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
134831
-
134832
- return {
134833
- url: toPathString(localVarUrlObj),
134834
- axiosOptions: localVarRequestOptions,
134835
- };
134836
- },
134837
- /**
134838
- * This API returns the existing correlation configuration for a source specified by the given ID.
134839
- * @summary Get source correlation configuration
134840
- * @param {string} id The source id
134841
- * @param {*} [axiosOptions] Override http request option.
134842
- * @throws {RequiredError}
134843
- */
134844
- getCorrelationConfig: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134845
- // verify required parameter 'id' is not null or undefined
134846
- assertParamExists('getCorrelationConfig', 'id', id)
134847
- const localVarPath = `/sources/{id}/correlation-config`
134848
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134849
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
134850
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134851
- let baseOptions;
134852
- if (configuration) {
134853
- baseOptions = configuration.baseOptions;
134347
+ if (schemaName !== undefined) {
134348
+ localVarQueryParameter['schemaName'] = schemaName;
134854
134349
  }
134855
134350
 
134856
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
134857
- const localVarHeaderParameter = {} as any;
134858
- const localVarQueryParameter = {} as any;
134859
-
134860
- // authentication userAuth required
134861
- // oauth required
134862
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134863
-
134864
- // authentication userAuth required
134865
- // oauth required
134866
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134867
-
134868
- // authentication applicationAuth required
134869
- // oauth required
134870
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
134871
-
134872
134351
 
134873
134352
 
134874
134353
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -134881,18 +134360,24 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134881
134360
  };
134882
134361
  },
134883
134362
  /**
134884
- * This API downloads the CSV schema that defines the entitlement attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
134885
- * @summary Downloads source entitlements schema template
134886
- * @param {string} id The Source id
134887
- * @param {string} [schemaName] Name of entitlement schema
134363
+ * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
134364
+ * @summary Machine Account Deletion Approval Config
134365
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
134366
+ * @param {string} sourceId source id.
134888
134367
  * @param {*} [axiosOptions] Override http request option.
134889
134368
  * @throws {RequiredError}
134890
134369
  */
134891
- getEntitlementsSchema: async (id: string, schemaName?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134892
- // verify required parameter 'id' is not null or undefined
134893
- assertParamExists('getEntitlementsSchema', 'id', id)
134894
- const localVarPath = `/sources/{id}/schemas/entitlements`
134895
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134370
+ getMachineAccountDeletionApprovalConfigBySource: async (xSailPointExperimental: string, sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
134371
+ if (xSailPointExperimental === undefined) {
134372
+ xSailPointExperimental = 'true';
134373
+ }
134374
+
134375
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
134376
+ assertParamExists('getMachineAccountDeletionApprovalConfigBySource', 'xSailPointExperimental', xSailPointExperimental)
134377
+ // verify required parameter 'sourceId' is not null or undefined
134378
+ assertParamExists('getMachineAccountDeletionApprovalConfigBySource', 'sourceId', sourceId)
134379
+ const localVarPath = `/sources/{sourceId}/approval-config/machine-account-delete`
134380
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
134896
134381
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134897
134382
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134898
134383
  let baseOptions;
@@ -134912,12 +134397,11 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
134912
134397
  // oauth required
134913
134398
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
134914
134399
 
134915
- if (schemaName !== undefined) {
134916
- localVarQueryParameter['schemaName'] = schemaName;
134917
- }
134918
-
134919
134400
 
134920
134401
 
134402
+ if (xSailPointExperimental != null) {
134403
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
134404
+ }
134921
134405
  setSearchParams(localVarUrlObj, localVarQueryParameter);
134922
134406
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134923
134407
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
@@ -136521,16 +136005,72 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
136521
136005
  };
136522
136006
  },
136523
136007
  /**
136524
- * This endpoint validates that the configured credentials are valid and will properly authenticate with the source identified by the sourceId path parameter.
136525
- * @summary Check connection for source connector.
136526
- * @param {string} sourceId The ID of the Source.
136008
+ * This endpoint validates that the configured credentials are valid and will properly authenticate with the source identified by the sourceId path parameter.
136009
+ * @summary Check connection for source connector.
136010
+ * @param {string} sourceId The ID of the Source.
136011
+ * @param {*} [axiosOptions] Override http request option.
136012
+ * @throws {RequiredError}
136013
+ */
136014
+ testSourceConnection: async (sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
136015
+ // verify required parameter 'sourceId' is not null or undefined
136016
+ assertParamExists('testSourceConnection', 'sourceId', sourceId)
136017
+ const localVarPath = `/sources/{sourceId}/connector/check-connection`
136018
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
136019
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
136020
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136021
+ let baseOptions;
136022
+ if (configuration) {
136023
+ baseOptions = configuration.baseOptions;
136024
+ }
136025
+
136026
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
136027
+ const localVarHeaderParameter = {} as any;
136028
+ const localVarQueryParameter = {} as any;
136029
+
136030
+ // authentication userAuth required
136031
+ // oauth required
136032
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
136033
+
136034
+ // authentication userAuth required
136035
+ // oauth required
136036
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
136037
+
136038
+ // authentication applicationAuth required
136039
+ // oauth required
136040
+ await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
136041
+
136042
+
136043
+
136044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
136045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
136047
+
136048
+ return {
136049
+ url: toPathString(localVarUrlObj),
136050
+ axiosOptions: localVarRequestOptions,
136051
+ };
136052
+ },
136053
+ /**
136054
+ * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
136055
+ * @summary Human Account Deletion Approval Config
136056
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
136057
+ * @param {string} sourceId Human account source ID.
136058
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
136527
136059
  * @param {*} [axiosOptions] Override http request option.
136528
136060
  * @throws {RequiredError}
136529
136061
  */
136530
- testSourceConnection: async (sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
136062
+ updateAccountDeletionApprovalConfig: async (xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
136063
+ if (xSailPointExperimental === undefined) {
136064
+ xSailPointExperimental = 'true';
136065
+ }
136066
+
136067
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
136068
+ assertParamExists('updateAccountDeletionApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
136531
136069
  // verify required parameter 'sourceId' is not null or undefined
136532
- assertParamExists('testSourceConnection', 'sourceId', sourceId)
136533
- const localVarPath = `/sources/{sourceId}/connector/check-connection`
136070
+ assertParamExists('updateAccountDeletionApprovalConfig', 'sourceId', sourceId)
136071
+ // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
136072
+ assertParamExists('updateAccountDeletionApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
136073
+ const localVarPath = `/sources/{sourceId}/approval-config/account-delete`
136534
136074
  .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
136535
136075
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
136536
136076
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -136539,7 +136079,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
136539
136079
  baseOptions = configuration.baseOptions;
136540
136080
  }
136541
136081
 
136542
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
136082
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
136543
136083
  const localVarHeaderParameter = {} as any;
136544
136084
  const localVarQueryParameter = {} as any;
136545
136085
 
@@ -136551,15 +136091,75 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
136551
136091
  // oauth required
136552
136092
  await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
136553
136093
 
136554
- // authentication applicationAuth required
136094
+
136095
+
136096
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
136097
+
136098
+ if (xSailPointExperimental != null) {
136099
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
136100
+ }
136101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
136102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136103
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
136104
+ localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
136105
+
136106
+ return {
136107
+ url: toPathString(localVarUrlObj),
136108
+ axiosOptions: localVarRequestOptions,
136109
+ };
136110
+ },
136111
+ /**
136112
+ * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
136113
+ * @summary Machine Account Deletion Approval Config
136114
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
136115
+ * @param {string} sourceId machine account source ID.
136116
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
136117
+ * @param {*} [axiosOptions] Override http request option.
136118
+ * @throws {RequiredError}
136119
+ */
136120
+ updateMachineAccountDeletionApprovalConfig: async (xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
136121
+ if (xSailPointExperimental === undefined) {
136122
+ xSailPointExperimental = 'true';
136123
+ }
136124
+
136125
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
136126
+ assertParamExists('updateMachineAccountDeletionApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
136127
+ // verify required parameter 'sourceId' is not null or undefined
136128
+ assertParamExists('updateMachineAccountDeletionApprovalConfig', 'sourceId', sourceId)
136129
+ // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
136130
+ assertParamExists('updateMachineAccountDeletionApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
136131
+ const localVarPath = `/sources/{sourceId}/approval-config/machine-account-delete`
136132
+ .replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
136133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
136134
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136135
+ let baseOptions;
136136
+ if (configuration) {
136137
+ baseOptions = configuration.baseOptions;
136138
+ }
136139
+
136140
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
136141
+ const localVarHeaderParameter = {} as any;
136142
+ const localVarQueryParameter = {} as any;
136143
+
136144
+ // authentication userAuth required
136555
136145
  // oauth required
136556
- await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
136146
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
136147
+
136148
+ // authentication userAuth required
136149
+ // oauth required
136150
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
136557
136151
 
136558
136152
 
136559
136153
 
136154
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
136155
+
136156
+ if (xSailPointExperimental != null) {
136157
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
136158
+ }
136560
136159
  setSearchParams(localVarUrlObj, localVarQueryParameter);
136561
136160
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136562
136161
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
136162
+ localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
136563
136163
 
136564
136164
  return {
136565
136165
  url: toPathString(localVarUrlObj),
@@ -137089,6 +136689,20 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
137089
136689
  const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.deleteSourceSchema']?.[localVarOperationServerIndex]?.url;
137090
136690
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137091
136691
  },
136692
+ /**
136693
+ * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
136694
+ * @summary Human Account Deletion Approval Config
136695
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
136696
+ * @param {string} sourceId The Source id
136697
+ * @param {*} [axiosOptions] Override http request option.
136698
+ * @throws {RequiredError}
136699
+ */
136700
+ async getAccountDeleteApprovalConfig(xSailPointExperimental: string, sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
136701
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountDeleteApprovalConfig(xSailPointExperimental, sourceId, axiosOptions);
136702
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
136703
+ const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getAccountDeleteApprovalConfig']?.[localVarOperationServerIndex]?.url;
136704
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
136705
+ },
137092
136706
  /**
137093
136707
  * This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
137094
136708
  * @summary Downloads source accounts schema template
@@ -137129,6 +136743,20 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
137129
136743
  const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getEntitlementsSchema']?.[localVarOperationServerIndex]?.url;
137130
136744
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137131
136745
  },
136746
+ /**
136747
+ * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
136748
+ * @summary Machine Account Deletion Approval Config
136749
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
136750
+ * @param {string} sourceId source id.
136751
+ * @param {*} [axiosOptions] Override http request option.
136752
+ * @throws {RequiredError}
136753
+ */
136754
+ async getMachineAccountDeletionApprovalConfigBySource(xSailPointExperimental: string, sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
136755
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountDeletionApprovalConfigBySource(xSailPointExperimental, sourceId, axiosOptions);
136756
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
136757
+ const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getMachineAccountDeletionApprovalConfigBySource']?.[localVarOperationServerIndex]?.url;
136758
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
136759
+ },
137132
136760
  /**
137133
136761
  * This API returns the existing native change detection configuration for a source specified by the given ID.
137134
136762
  * @summary Native change detection configuration
@@ -137580,6 +137208,36 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
137580
137208
  const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.testSourceConnection']?.[localVarOperationServerIndex]?.url;
137581
137209
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137582
137210
  },
137211
+ /**
137212
+ * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
137213
+ * @summary Human Account Deletion Approval Config
137214
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
137215
+ * @param {string} sourceId Human account source ID.
137216
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
137217
+ * @param {*} [axiosOptions] Override http request option.
137218
+ * @throws {RequiredError}
137219
+ */
137220
+ async updateAccountDeletionApprovalConfig(xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
137221
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateAccountDeletionApprovalConfig(xSailPointExperimental, sourceId, jsonPatchOperationV2026, axiosOptions);
137222
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
137223
+ const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.updateAccountDeletionApprovalConfig']?.[localVarOperationServerIndex]?.url;
137224
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137225
+ },
137226
+ /**
137227
+ * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
137228
+ * @summary Machine Account Deletion Approval Config
137229
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
137230
+ * @param {string} sourceId machine account source ID.
137231
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
137232
+ * @param {*} [axiosOptions] Override http request option.
137233
+ * @throws {RequiredError}
137234
+ */
137235
+ async updateMachineAccountDeletionApprovalConfig(xSailPointExperimental: string, sourceId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeleteConfigDtoV2026>> {
137236
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountDeletionApprovalConfig(xSailPointExperimental, sourceId, jsonPatchOperationV2026, axiosOptions);
137237
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
137238
+ const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.updateMachineAccountDeletionApprovalConfig']?.[localVarOperationServerIndex]?.url;
137239
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137240
+ },
137583
137241
  /**
137584
137242
  * This API can be used to set up or update Password Policy in IdentityNow for the specified Source. Source must support PASSWORD feature.
137585
137243
  * @summary Update password policy
@@ -137791,6 +137449,16 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
137791
137449
  deleteSourceSchema(requestParameters: SourcesV2026ApiDeleteSourceSchemaRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
137792
137450
  return localVarFp.deleteSourceSchema(requestParameters.sourceId, requestParameters.schemaId, axiosOptions).then((request) => request(axios, basePath));
137793
137451
  },
137452
+ /**
137453
+ * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
137454
+ * @summary Human Account Deletion Approval Config
137455
+ * @param {SourcesV2026ApiGetAccountDeleteApprovalConfigRequest} requestParameters Request parameters.
137456
+ * @param {*} [axiosOptions] Override http request option.
137457
+ * @throws {RequiredError}
137458
+ */
137459
+ getAccountDeleteApprovalConfig(requestParameters: SourcesV2026ApiGetAccountDeleteApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
137460
+ return localVarFp.getAccountDeleteApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
137461
+ },
137794
137462
  /**
137795
137463
  * This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
137796
137464
  * @summary Downloads source accounts schema template
@@ -137821,6 +137489,16 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
137821
137489
  getEntitlementsSchema(requestParameters: SourcesV2026ApiGetEntitlementsSchemaRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
137822
137490
  return localVarFp.getEntitlementsSchema(requestParameters.id, requestParameters.schemaName, axiosOptions).then((request) => request(axios, basePath));
137823
137491
  },
137492
+ /**
137493
+ * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
137494
+ * @summary Machine Account Deletion Approval Config
137495
+ * @param {SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest} requestParameters Request parameters.
137496
+ * @param {*} [axiosOptions] Override http request option.
137497
+ * @throws {RequiredError}
137498
+ */
137499
+ getMachineAccountDeletionApprovalConfigBySource(requestParameters: SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
137500
+ return localVarFp.getMachineAccountDeletionApprovalConfigBySource(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
137501
+ },
137824
137502
  /**
137825
137503
  * This API returns the existing native change detection configuration for a source specified by the given ID.
137826
137504
  * @summary Native change detection configuration
@@ -138141,6 +137819,26 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
138141
137819
  testSourceConnection(requestParameters: SourcesV2026ApiTestSourceConnectionRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<StatusResponseV2026> {
138142
137820
  return localVarFp.testSourceConnection(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
138143
137821
  },
137822
+ /**
137823
+ * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
137824
+ * @summary Human Account Deletion Approval Config
137825
+ * @param {SourcesV2026ApiUpdateAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
137826
+ * @param {*} [axiosOptions] Override http request option.
137827
+ * @throws {RequiredError}
137828
+ */
137829
+ updateAccountDeletionApprovalConfig(requestParameters: SourcesV2026ApiUpdateAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
137830
+ return localVarFp.updateAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
137831
+ },
137832
+ /**
137833
+ * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
137834
+ * @summary Machine Account Deletion Approval Config
137835
+ * @param {SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
137836
+ * @param {*} [axiosOptions] Override http request option.
137837
+ * @throws {RequiredError}
137838
+ */
137839
+ updateMachineAccountDeletionApprovalConfig(requestParameters: SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountDeleteConfigDtoV2026> {
137840
+ return localVarFp.updateMachineAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
137841
+ },
138144
137842
  /**
138145
137843
  * This API can be used to set up or update Password Policy in IdentityNow for the specified Source. Source must support PASSWORD feature.
138146
137844
  * @summary Update password policy
@@ -138403,6 +138101,27 @@ export interface SourcesV2026ApiDeleteSourceSchemaRequest {
138403
138101
  readonly schemaId: string
138404
138102
  }
138405
138103
 
138104
+ /**
138105
+ * Request parameters for getAccountDeleteApprovalConfig operation in SourcesV2026Api.
138106
+ * @export
138107
+ * @interface SourcesV2026ApiGetAccountDeleteApprovalConfigRequest
138108
+ */
138109
+ export interface SourcesV2026ApiGetAccountDeleteApprovalConfigRequest {
138110
+ /**
138111
+ * Use this header to enable this experimental API.
138112
+ * @type {string}
138113
+ * @memberof SourcesV2026ApiGetAccountDeleteApprovalConfig
138114
+ */
138115
+ readonly xSailPointExperimental: string
138116
+
138117
+ /**
138118
+ * The Source id
138119
+ * @type {string}
138120
+ * @memberof SourcesV2026ApiGetAccountDeleteApprovalConfig
138121
+ */
138122
+ readonly sourceId: string
138123
+ }
138124
+
138406
138125
  /**
138407
138126
  * Request parameters for getAccountsSchema operation in SourcesV2026Api.
138408
138127
  * @export
@@ -138452,6 +138171,27 @@ export interface SourcesV2026ApiGetEntitlementsSchemaRequest {
138452
138171
  readonly schemaName?: string
138453
138172
  }
138454
138173
 
138174
+ /**
138175
+ * Request parameters for getMachineAccountDeletionApprovalConfigBySource operation in SourcesV2026Api.
138176
+ * @export
138177
+ * @interface SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest
138178
+ */
138179
+ export interface SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest {
138180
+ /**
138181
+ * Use this header to enable this experimental API.
138182
+ * @type {string}
138183
+ * @memberof SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySource
138184
+ */
138185
+ readonly xSailPointExperimental: string
138186
+
138187
+ /**
138188
+ * source id.
138189
+ * @type {string}
138190
+ * @memberof SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySource
138191
+ */
138192
+ readonly sourceId: string
138193
+ }
138194
+
138455
138195
  /**
138456
138196
  * Request parameters for getNativeChangeDetectionConfig operation in SourcesV2026Api.
138457
138197
  * @export
@@ -139145,6 +138885,62 @@ export interface SourcesV2026ApiTestSourceConnectionRequest {
139145
138885
  readonly sourceId: string
139146
138886
  }
139147
138887
 
138888
+ /**
138889
+ * Request parameters for updateAccountDeletionApprovalConfig operation in SourcesV2026Api.
138890
+ * @export
138891
+ * @interface SourcesV2026ApiUpdateAccountDeletionApprovalConfigRequest
138892
+ */
138893
+ export interface SourcesV2026ApiUpdateAccountDeletionApprovalConfigRequest {
138894
+ /**
138895
+ * Use this header to enable this experimental API.
138896
+ * @type {string}
138897
+ * @memberof SourcesV2026ApiUpdateAccountDeletionApprovalConfig
138898
+ */
138899
+ readonly xSailPointExperimental: string
138900
+
138901
+ /**
138902
+ * Human account source ID.
138903
+ * @type {string}
138904
+ * @memberof SourcesV2026ApiUpdateAccountDeletionApprovalConfig
138905
+ */
138906
+ readonly sourceId: string
138907
+
138908
+ /**
138909
+ * The JSONPatch payload used to update the object.
138910
+ * @type {Array<JsonPatchOperationV2026>}
138911
+ * @memberof SourcesV2026ApiUpdateAccountDeletionApprovalConfig
138912
+ */
138913
+ readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
138914
+ }
138915
+
138916
+ /**
138917
+ * Request parameters for updateMachineAccountDeletionApprovalConfig operation in SourcesV2026Api.
138918
+ * @export
138919
+ * @interface SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest
138920
+ */
138921
+ export interface SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest {
138922
+ /**
138923
+ * Use this header to enable this experimental API.
138924
+ * @type {string}
138925
+ * @memberof SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfig
138926
+ */
138927
+ readonly xSailPointExperimental: string
138928
+
138929
+ /**
138930
+ * machine account source ID.
138931
+ * @type {string}
138932
+ * @memberof SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfig
138933
+ */
138934
+ readonly sourceId: string
138935
+
138936
+ /**
138937
+ * The JSONPatch payload used to update the object.
138938
+ * @type {Array<JsonPatchOperationV2026>}
138939
+ * @memberof SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfig
138940
+ */
138941
+ readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
138942
+ }
138943
+
139148
138944
  /**
139149
138945
  * Request parameters for updatePasswordPolicyHolders operation in SourcesV2026Api.
139150
138946
  * @export
@@ -139440,6 +139236,18 @@ export class SourcesV2026Api extends BaseAPI {
139440
139236
  return SourcesV2026ApiFp(this.configuration).deleteSourceSchema(requestParameters.sourceId, requestParameters.schemaId, axiosOptions).then((request) => request(this.axios, this.basePath));
139441
139237
  }
139442
139238
 
139239
+ /**
139240
+ * The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
139241
+ * @summary Human Account Deletion Approval Config
139242
+ * @param {SourcesV2026ApiGetAccountDeleteApprovalConfigRequest} requestParameters Request parameters.
139243
+ * @param {*} [axiosOptions] Override http request option.
139244
+ * @throws {RequiredError}
139245
+ * @memberof SourcesV2026Api
139246
+ */
139247
+ public getAccountDeleteApprovalConfig(requestParameters: SourcesV2026ApiGetAccountDeleteApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
139248
+ return SourcesV2026ApiFp(this.configuration).getAccountDeleteApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
139249
+ }
139250
+
139443
139251
  /**
139444
139252
  * This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
139445
139253
  * @summary Downloads source accounts schema template
@@ -139476,6 +139284,18 @@ export class SourcesV2026Api extends BaseAPI {
139476
139284
  return SourcesV2026ApiFp(this.configuration).getEntitlementsSchema(requestParameters.id, requestParameters.schemaName, axiosOptions).then((request) => request(this.axios, this.basePath));
139477
139285
  }
139478
139286
 
139287
+ /**
139288
+ * Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
139289
+ * @summary Machine Account Deletion Approval Config
139290
+ * @param {SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest} requestParameters Request parameters.
139291
+ * @param {*} [axiosOptions] Override http request option.
139292
+ * @throws {RequiredError}
139293
+ * @memberof SourcesV2026Api
139294
+ */
139295
+ public getMachineAccountDeletionApprovalConfigBySource(requestParameters: SourcesV2026ApiGetMachineAccountDeletionApprovalConfigBySourceRequest, axiosOptions?: RawAxiosRequestConfig) {
139296
+ return SourcesV2026ApiFp(this.configuration).getMachineAccountDeletionApprovalConfigBySource(requestParameters.xSailPointExperimental, requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
139297
+ }
139298
+
139479
139299
  /**
139480
139300
  * This API returns the existing native change detection configuration for a source specified by the given ID.
139481
139301
  * @summary Native change detection configuration
@@ -139860,6 +139680,30 @@ export class SourcesV2026Api extends BaseAPI {
139860
139680
  return SourcesV2026ApiFp(this.configuration).testSourceConnection(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
139861
139681
  }
139862
139682
 
139683
+ /**
139684
+ * Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
139685
+ * @summary Human Account Deletion Approval Config
139686
+ * @param {SourcesV2026ApiUpdateAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
139687
+ * @param {*} [axiosOptions] Override http request option.
139688
+ * @throws {RequiredError}
139689
+ * @memberof SourcesV2026Api
139690
+ */
139691
+ public updateAccountDeletionApprovalConfig(requestParameters: SourcesV2026ApiUpdateAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
139692
+ return SourcesV2026ApiFp(this.configuration).updateAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
139693
+ }
139694
+
139695
+ /**
139696
+ * Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
139697
+ * @summary Machine Account Deletion Approval Config
139698
+ * @param {SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest} requestParameters Request parameters.
139699
+ * @param {*} [axiosOptions] Override http request option.
139700
+ * @throws {RequiredError}
139701
+ * @memberof SourcesV2026Api
139702
+ */
139703
+ public updateMachineAccountDeletionApprovalConfig(requestParameters: SourcesV2026ApiUpdateMachineAccountDeletionApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
139704
+ return SourcesV2026ApiFp(this.configuration).updateMachineAccountDeletionApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
139705
+ }
139706
+
139863
139707
  /**
139864
139708
  * This API can be used to set up or update Password Policy in IdentityNow for the specified Source. Source must support PASSWORD feature.
139865
139709
  * @summary Update password policy