sailpoint-api-client 1.7.17 → 1.7.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beta/README.md +2 -2
- package/beta/api.ts +121 -75
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +100 -59
- package/dist/beta/api.js +49 -35
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/api.d.ts +95 -54
- package/dist/v2024/api.js +46 -32
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +114 -77
- package/dist/v2025/api.js +58 -48
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v2026/common.js +1 -1
- package/dist/v3/api.d.ts +4 -4
- package/dist/v3/api.js +4 -4
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/api.ts +116 -70
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +137 -95
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +4 -4
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2025/api.ts
CHANGED
|
@@ -7469,13 +7469,13 @@ export interface ApprovalConfigV2025 {
|
|
|
7469
7469
|
*/
|
|
7470
7470
|
'tenantId'?: string;
|
|
7471
7471
|
/**
|
|
7472
|
-
* The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
7472
|
+
* The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
7473
7473
|
* @type {string}
|
|
7474
7474
|
* @memberof ApprovalConfigV2025
|
|
7475
7475
|
*/
|
|
7476
7476
|
'id'?: string;
|
|
7477
7477
|
/**
|
|
7478
|
-
* The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
7478
|
+
* The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
7479
7479
|
* @type {string}
|
|
7480
7480
|
* @memberof ApprovalConfigV2025
|
|
7481
7481
|
*/
|
|
@@ -8574,6 +8574,13 @@ export interface ArgumentV2025 {
|
|
|
8574
8574
|
*/
|
|
8575
8575
|
'type'?: string | null;
|
|
8576
8576
|
}
|
|
8577
|
+
/**
|
|
8578
|
+
*
|
|
8579
|
+
* @export
|
|
8580
|
+
* @interface ArrayInner1V2025
|
|
8581
|
+
*/
|
|
8582
|
+
export interface ArrayInner1V2025 {
|
|
8583
|
+
}
|
|
8577
8584
|
/**
|
|
8578
8585
|
*
|
|
8579
8586
|
* @export
|
|
@@ -24874,6 +24881,46 @@ export interface JITConfigurationV2025 {
|
|
|
24874
24881
|
*/
|
|
24875
24882
|
'sourceAttributeMappings'?: { [key: string]: string; };
|
|
24876
24883
|
}
|
|
24884
|
+
/**
|
|
24885
|
+
* A JSONPatch Operation for Role Mining endpoints, supporting only remove and replace operations as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)
|
|
24886
|
+
* @export
|
|
24887
|
+
* @interface JsonPatchOperationRoleMiningV2025
|
|
24888
|
+
*/
|
|
24889
|
+
export interface JsonPatchOperationRoleMiningV2025 {
|
|
24890
|
+
/**
|
|
24891
|
+
* The operation to be performed
|
|
24892
|
+
* @type {string}
|
|
24893
|
+
* @memberof JsonPatchOperationRoleMiningV2025
|
|
24894
|
+
*/
|
|
24895
|
+
'op': JsonPatchOperationRoleMiningV2025OpV2025;
|
|
24896
|
+
/**
|
|
24897
|
+
* A string JSON Pointer representing the target path to an element to be affected by the operation
|
|
24898
|
+
* @type {string}
|
|
24899
|
+
* @memberof JsonPatchOperationRoleMiningV2025
|
|
24900
|
+
*/
|
|
24901
|
+
'path': string;
|
|
24902
|
+
/**
|
|
24903
|
+
*
|
|
24904
|
+
* @type {JsonPatchOperationRoleMiningValueV2025}
|
|
24905
|
+
* @memberof JsonPatchOperationRoleMiningV2025
|
|
24906
|
+
*/
|
|
24907
|
+
'value'?: JsonPatchOperationRoleMiningValueV2025;
|
|
24908
|
+
}
|
|
24909
|
+
|
|
24910
|
+
export const JsonPatchOperationRoleMiningV2025OpV2025 = {
|
|
24911
|
+
Remove: 'remove',
|
|
24912
|
+
Replace: 'replace'
|
|
24913
|
+
} as const;
|
|
24914
|
+
|
|
24915
|
+
export type JsonPatchOperationRoleMiningV2025OpV2025 = typeof JsonPatchOperationRoleMiningV2025OpV2025[keyof typeof JsonPatchOperationRoleMiningV2025OpV2025];
|
|
24916
|
+
|
|
24917
|
+
/**
|
|
24918
|
+
* @type JsonPatchOperationRoleMiningValueV2025
|
|
24919
|
+
* The value to be used for the operation, required for \"replace\" operations
|
|
24920
|
+
* @export
|
|
24921
|
+
*/
|
|
24922
|
+
export type JsonPatchOperationRoleMiningValueV2025 = Array<ArrayInner1V2025> | boolean | number | object | string;
|
|
24923
|
+
|
|
24877
24924
|
/**
|
|
24878
24925
|
* A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)
|
|
24879
24926
|
* @export
|
|
@@ -24901,8 +24948,12 @@ export interface JsonPatchOperationV2025 {
|
|
|
24901
24948
|
}
|
|
24902
24949
|
|
|
24903
24950
|
export const JsonPatchOperationV2025OpV2025 = {
|
|
24951
|
+
Add: 'add',
|
|
24904
24952
|
Remove: 'remove',
|
|
24905
|
-
Replace: 'replace'
|
|
24953
|
+
Replace: 'replace',
|
|
24954
|
+
Move: 'move',
|
|
24955
|
+
Copy: 'copy',
|
|
24956
|
+
Test: 'test'
|
|
24906
24957
|
} as const;
|
|
24907
24958
|
|
|
24908
24959
|
export type JsonPatchOperationV2025OpV2025 = typeof JsonPatchOperationV2025OpV2025[keyof typeof JsonPatchOperationV2025OpV2025];
|
|
@@ -33625,39 +33676,6 @@ export const PatOwnerV2025TypeV2025 = {
|
|
|
33625
33676
|
|
|
33626
33677
|
export type PatOwnerV2025TypeV2025 = typeof PatOwnerV2025TypeV2025[keyof typeof PatOwnerV2025TypeV2025];
|
|
33627
33678
|
|
|
33628
|
-
/**
|
|
33629
|
-
*
|
|
33630
|
-
* @export
|
|
33631
|
-
* @interface PatchPotentialRoleRequestInnerV2025
|
|
33632
|
-
*/
|
|
33633
|
-
export interface PatchPotentialRoleRequestInnerV2025 {
|
|
33634
|
-
/**
|
|
33635
|
-
* The operation to be performed
|
|
33636
|
-
* @type {string}
|
|
33637
|
-
* @memberof PatchPotentialRoleRequestInnerV2025
|
|
33638
|
-
*/
|
|
33639
|
-
'op'?: PatchPotentialRoleRequestInnerV2025OpV2025;
|
|
33640
|
-
/**
|
|
33641
|
-
* A string JSON Pointer representing the target path to an element to be affected by the operation
|
|
33642
|
-
* @type {string}
|
|
33643
|
-
* @memberof PatchPotentialRoleRequestInnerV2025
|
|
33644
|
-
*/
|
|
33645
|
-
'path': string;
|
|
33646
|
-
/**
|
|
33647
|
-
*
|
|
33648
|
-
* @type {UpdateMultiHostSourcesRequestInnerValueV2025}
|
|
33649
|
-
* @memberof PatchPotentialRoleRequestInnerV2025
|
|
33650
|
-
*/
|
|
33651
|
-
'value'?: UpdateMultiHostSourcesRequestInnerValueV2025;
|
|
33652
|
-
}
|
|
33653
|
-
|
|
33654
|
-
export const PatchPotentialRoleRequestInnerV2025OpV2025 = {
|
|
33655
|
-
Remove: 'remove',
|
|
33656
|
-
Replace: 'replace'
|
|
33657
|
-
} as const;
|
|
33658
|
-
|
|
33659
|
-
export type PatchPotentialRoleRequestInnerV2025OpV2025 = typeof PatchPotentialRoleRequestInnerV2025OpV2025[keyof typeof PatchPotentialRoleRequestInnerV2025OpV2025];
|
|
33660
|
-
|
|
33661
33679
|
/**
|
|
33662
33680
|
*
|
|
33663
33681
|
* @export
|
|
@@ -39544,7 +39562,7 @@ export interface RoleMiningIdentityDistributionDistributionInnerV2025 {
|
|
|
39544
39562
|
* @type {string}
|
|
39545
39563
|
* @memberof RoleMiningIdentityDistributionDistributionInnerV2025
|
|
39546
39564
|
*/
|
|
39547
|
-
'attributeValue'?: string;
|
|
39565
|
+
'attributeValue'?: string | null;
|
|
39548
39566
|
/**
|
|
39549
39567
|
* The number of identities that have this attribute value
|
|
39550
39568
|
* @type {number}
|
|
@@ -39721,6 +39739,25 @@ export const RoleMiningPotentialRoleExportStateV2025 = {
|
|
|
39721
39739
|
export type RoleMiningPotentialRoleExportStateV2025 = typeof RoleMiningPotentialRoleExportStateV2025[keyof typeof RoleMiningPotentialRoleExportStateV2025];
|
|
39722
39740
|
|
|
39723
39741
|
|
|
39742
|
+
/**
|
|
39743
|
+
* The potential role reference
|
|
39744
|
+
* @export
|
|
39745
|
+
* @interface RoleMiningPotentialRolePotentialRoleRefV2025
|
|
39746
|
+
*/
|
|
39747
|
+
export interface RoleMiningPotentialRolePotentialRoleRefV2025 {
|
|
39748
|
+
/**
|
|
39749
|
+
* Id of the potential role
|
|
39750
|
+
* @type {string}
|
|
39751
|
+
* @memberof RoleMiningPotentialRolePotentialRoleRefV2025
|
|
39752
|
+
*/
|
|
39753
|
+
'id'?: string;
|
|
39754
|
+
/**
|
|
39755
|
+
* Name of the potential role
|
|
39756
|
+
* @type {string}
|
|
39757
|
+
* @memberof RoleMiningPotentialRolePotentialRoleRefV2025
|
|
39758
|
+
*/
|
|
39759
|
+
'name'?: string;
|
|
39760
|
+
}
|
|
39724
39761
|
/**
|
|
39725
39762
|
*
|
|
39726
39763
|
* @export
|
|
@@ -40002,12 +40039,24 @@ export interface RoleMiningPotentialRoleV2025 {
|
|
|
40002
40039
|
* @memberof RoleMiningPotentialRoleV2025
|
|
40003
40040
|
*/
|
|
40004
40041
|
'identityIds'?: Array<string>;
|
|
40042
|
+
/**
|
|
40043
|
+
* The status for this identity group which can be OBTAINED or COMPRESSED
|
|
40044
|
+
* @type {string}
|
|
40045
|
+
* @memberof RoleMiningPotentialRoleV2025
|
|
40046
|
+
*/
|
|
40047
|
+
'identityGroupStatus'?: string | null;
|
|
40005
40048
|
/**
|
|
40006
40049
|
* Name of the potential role.
|
|
40007
40050
|
* @type {string}
|
|
40008
40051
|
* @memberof RoleMiningPotentialRoleV2025
|
|
40009
40052
|
*/
|
|
40010
40053
|
'name'?: string;
|
|
40054
|
+
/**
|
|
40055
|
+
*
|
|
40056
|
+
* @type {RoleMiningPotentialRolePotentialRoleRefV2025}
|
|
40057
|
+
* @memberof RoleMiningPotentialRoleV2025
|
|
40058
|
+
*/
|
|
40059
|
+
'potentialRoleRef'?: RoleMiningPotentialRolePotentialRoleRefV2025 | null;
|
|
40011
40060
|
/**
|
|
40012
40061
|
*
|
|
40013
40062
|
* @type {RoleMiningPotentialRoleProvisionStateV2025 & object}
|
|
@@ -47379,13 +47428,6 @@ export const SubscriptionPatchRequestInnerV2025OpV2025 = {
|
|
|
47379
47428
|
|
|
47380
47429
|
export type SubscriptionPatchRequestInnerV2025OpV2025 = typeof SubscriptionPatchRequestInnerV2025OpV2025[keyof typeof SubscriptionPatchRequestInnerV2025OpV2025];
|
|
47381
47430
|
|
|
47382
|
-
/**
|
|
47383
|
-
*
|
|
47384
|
-
* @export
|
|
47385
|
-
* @interface SubscriptionPatchRequestInnerValueAnyOfInnerV2025
|
|
47386
|
-
*/
|
|
47387
|
-
export interface SubscriptionPatchRequestInnerValueAnyOfInnerV2025 {
|
|
47388
|
-
}
|
|
47389
47431
|
/**
|
|
47390
47432
|
* The value to be used for the operation, required for \"add\" and \"replace\" operations
|
|
47391
47433
|
* @export
|
|
@@ -55447,7 +55489,7 @@ export const AccessRequestsV2025ApiAxiosParamCreator = function (configuration?:
|
|
|
55447
55489
|
};
|
|
55448
55490
|
},
|
|
55449
55491
|
/**
|
|
55450
|
-
*
|
|
55492
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
55451
55493
|
* @summary Submit access request
|
|
55452
55494
|
* @param {AccessRequestV2025} accessRequestV2025
|
|
55453
55495
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -55919,7 +55961,7 @@ export const AccessRequestsV2025ApiFp = function(configuration?: Configuration)
|
|
|
55919
55961
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
55920
55962
|
},
|
|
55921
55963
|
/**
|
|
55922
|
-
*
|
|
55964
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
55923
55965
|
* @summary Submit access request
|
|
55924
55966
|
* @param {AccessRequestV2025} accessRequestV2025
|
|
55925
55967
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -56080,7 +56122,7 @@ export const AccessRequestsV2025ApiFactory = function (configuration?: Configura
|
|
|
56080
56122
|
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2025, axiosOptions).then((request) => request(axios, basePath));
|
|
56081
56123
|
},
|
|
56082
56124
|
/**
|
|
56083
|
-
*
|
|
56125
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
56084
56126
|
* @summary Submit access request
|
|
56085
56127
|
* @param {AccessRequestsV2025ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
56086
56128
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -56494,7 +56536,7 @@ export class AccessRequestsV2025Api extends BaseAPI {
|
|
|
56494
56536
|
}
|
|
56495
56537
|
|
|
56496
56538
|
/**
|
|
56497
|
-
*
|
|
56539
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
56498
56540
|
* @summary Submit access request
|
|
56499
56541
|
* @param {AccessRequestsV2025ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
56500
56542
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -59860,8 +59902,8 @@ export const ApprovalsV2025ApiAxiosParamCreator = function (configuration?: Conf
|
|
|
59860
59902
|
/**
|
|
59861
59903
|
* Deletes an approval configuration. Configurations at the APPROVAL_REQUEST scope cannot be deleted.
|
|
59862
59904
|
* @summary Delete Approval Configuration
|
|
59863
|
-
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
59864
|
-
* @param {DeleteApprovalConfigRequestScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
59905
|
+
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
59906
|
+
* @param {DeleteApprovalConfigRequestScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
59865
59907
|
* @param {*} [axiosOptions] Override http request option.
|
|
59866
59908
|
* @throws {RequiredError}
|
|
59867
59909
|
*/
|
|
@@ -60054,7 +60096,7 @@ export const ApprovalsV2025ApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60054
60096
|
/**
|
|
60055
60097
|
* Retrieves a singular approval configuration that matches the given ID
|
|
60056
60098
|
* @summary Get Approval Config
|
|
60057
|
-
* @param {string} id The id of the object the config applies to, for example one of the following: [(approvalID), (roleID), (entitlementID), (accessProfileID),
|
|
60099
|
+
* @param {string} id The id of the object the config applies to, for example one of the following: [(approvalID), (roleID), (entitlementID), (accessProfileID), \"ENTITLEMENT_DESCRIPTIONS\", \"ACCESS_REQUEST_APPROVAL\", (tenantID)]
|
|
60058
60100
|
* @param {*} [axiosOptions] Override http request option.
|
|
60059
60101
|
* @throws {RequiredError}
|
|
60060
60102
|
*/
|
|
@@ -60140,8 +60182,8 @@ export const ApprovalsV2025ApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60140
60182
|
/**
|
|
60141
60183
|
* Upserts a singular approval configuration that matches the given configID and configScope. If id and scope are not provided, it will default to setting the tenant config.
|
|
60142
60184
|
* @summary Put Approval Config
|
|
60143
|
-
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60144
|
-
* @param {PutApprovalsConfigScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60185
|
+
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60186
|
+
* @param {PutApprovalsConfigScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60145
60187
|
* @param {ApprovalConfigV2025} approvalConfigV2025
|
|
60146
60188
|
* @param {*} [axiosOptions] Override http request option.
|
|
60147
60189
|
* @throws {RequiredError}
|
|
@@ -60476,8 +60518,8 @@ export const ApprovalsV2025ApiFp = function(configuration?: Configuration) {
|
|
|
60476
60518
|
/**
|
|
60477
60519
|
* Deletes an approval configuration. Configurations at the APPROVAL_REQUEST scope cannot be deleted.
|
|
60478
60520
|
* @summary Delete Approval Configuration
|
|
60479
|
-
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60480
|
-
* @param {DeleteApprovalConfigRequestScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60521
|
+
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60522
|
+
* @param {DeleteApprovalConfigRequestScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60481
60523
|
* @param {*} [axiosOptions] Override http request option.
|
|
60482
60524
|
* @throws {RequiredError}
|
|
60483
60525
|
*/
|
|
@@ -60528,7 +60570,7 @@ export const ApprovalsV2025ApiFp = function(configuration?: Configuration) {
|
|
|
60528
60570
|
/**
|
|
60529
60571
|
* Retrieves a singular approval configuration that matches the given ID
|
|
60530
60572
|
* @summary Get Approval Config
|
|
60531
|
-
* @param {string} id The id of the object the config applies to, for example one of the following: [(approvalID), (roleID), (entitlementID), (accessProfileID),
|
|
60573
|
+
* @param {string} id The id of the object the config applies to, for example one of the following: [(approvalID), (roleID), (entitlementID), (accessProfileID), \"ENTITLEMENT_DESCRIPTIONS\", \"ACCESS_REQUEST_APPROVAL\", (tenantID)]
|
|
60532
60574
|
* @param {*} [axiosOptions] Override http request option.
|
|
60533
60575
|
* @throws {RequiredError}
|
|
60534
60576
|
*/
|
|
@@ -60554,8 +60596,8 @@ export const ApprovalsV2025ApiFp = function(configuration?: Configuration) {
|
|
|
60554
60596
|
/**
|
|
60555
60597
|
* Upserts a singular approval configuration that matches the given configID and configScope. If id and scope are not provided, it will default to setting the tenant config.
|
|
60556
60598
|
* @summary Put Approval Config
|
|
60557
|
-
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60558
|
-
* @param {PutApprovalsConfigScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60599
|
+
* @param {string} id The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60600
|
+
* @param {PutApprovalsConfigScopeV2025} scope The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60559
60601
|
* @param {ApprovalConfigV2025} approvalConfigV2025
|
|
60560
60602
|
* @param {*} [axiosOptions] Override http request option.
|
|
60561
60603
|
* @throws {RequiredError}
|
|
@@ -60844,15 +60886,15 @@ export interface ApprovalsV2025ApiCancelApprovalRequest {
|
|
|
60844
60886
|
*/
|
|
60845
60887
|
export interface ApprovalsV2025ApiDeleteApprovalConfigRequestRequest {
|
|
60846
60888
|
/**
|
|
60847
|
-
* The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60889
|
+
* The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60848
60890
|
* @type {string}
|
|
60849
60891
|
* @memberof ApprovalsV2025ApiDeleteApprovalConfigRequest
|
|
60850
60892
|
*/
|
|
60851
60893
|
readonly id: string
|
|
60852
60894
|
|
|
60853
60895
|
/**
|
|
60854
|
-
* The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
60855
|
-
* @type {'DOMAIN_OBJECT' | 'ROLE' | '
|
|
60896
|
+
* The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
60897
|
+
* @type {'DOMAIN_OBJECT' | 'ROLE' | 'ACCESS_PROFILE' | 'ENTITLEMENT' | 'APPROVAL_TYPE' | 'TENANT'}
|
|
60856
60898
|
* @memberof ApprovalsV2025ApiDeleteApprovalConfigRequest
|
|
60857
60899
|
*/
|
|
60858
60900
|
readonly scope: DeleteApprovalConfigRequestScopeV2025
|
|
@@ -60977,7 +61019,7 @@ export interface ApprovalsV2025ApiGetApprovalsRequest {
|
|
|
60977
61019
|
*/
|
|
60978
61020
|
export interface ApprovalsV2025ApiGetApprovalsConfigRequest {
|
|
60979
61021
|
/**
|
|
60980
|
-
* The id of the object the config applies to, for example one of the following: [(approvalID), (roleID), (entitlementID), (accessProfileID),
|
|
61022
|
+
* The id of the object the config applies to, for example one of the following: [(approvalID), (roleID), (entitlementID), (accessProfileID), \"ENTITLEMENT_DESCRIPTIONS\", \"ACCESS_REQUEST_APPROVAL\", (tenantID)]
|
|
60981
61023
|
* @type {string}
|
|
60982
61024
|
* @memberof ApprovalsV2025ApiGetApprovalsConfig
|
|
60983
61025
|
*/
|
|
@@ -61005,15 +61047,15 @@ export interface ApprovalsV2025ApiMoveApprovalRequest {
|
|
|
61005
61047
|
*/
|
|
61006
61048
|
export interface ApprovalsV2025ApiPutApprovalsConfigRequest {
|
|
61007
61049
|
/**
|
|
61008
|
-
* The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
61050
|
+
* The ID defined by the scope field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
61009
61051
|
* @type {string}
|
|
61010
61052
|
* @memberof ApprovalsV2025ApiPutApprovalsConfig
|
|
61011
61053
|
*/
|
|
61012
61054
|
readonly id: string
|
|
61013
61055
|
|
|
61014
61056
|
/**
|
|
61015
|
-
* The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE
|
|
61016
|
-
* @type {'DOMAIN_OBJECT' | 'ROLE' | '
|
|
61057
|
+
* The scope of the field, where [[id]]:[[scope]] is the following [[roleID]]:ROLE [[entitlementID]]:ENTITLEMENT [[accessProfileID]]:ACCESS_PROFILE ENTITLEMENT_DESCRIPTIONS:APPROVAL_TYPE ACCESS_REQUEST_APPROVAL:APPROVAL_TYPE [[tenantID]]:TENANT [[domainObjectID]]:DOMAIN_OBJECT
|
|
61058
|
+
* @type {'DOMAIN_OBJECT' | 'ROLE' | 'ACCESS_PROFILE' | 'ENTITLEMENT' | 'APPROVAL_TYPE' | 'TENANT'}
|
|
61017
61059
|
* @memberof ApprovalsV2025ApiPutApprovalsConfig
|
|
61018
61060
|
*/
|
|
61019
61061
|
readonly scope: PutApprovalsConfigScopeV2025
|
|
@@ -61306,12 +61348,10 @@ export class ApprovalsV2025Api extends BaseAPI {
|
|
|
61306
61348
|
export const DeleteApprovalConfigRequestScopeV2025 = {
|
|
61307
61349
|
DomainObject: 'DOMAIN_OBJECT',
|
|
61308
61350
|
Role: 'ROLE',
|
|
61309
|
-
Application: 'APPLICATION',
|
|
61310
61351
|
AccessProfile: 'ACCESS_PROFILE',
|
|
61311
61352
|
Entitlement: 'ENTITLEMENT',
|
|
61312
61353
|
ApprovalType: 'APPROVAL_TYPE',
|
|
61313
|
-
Tenant: 'TENANT'
|
|
61314
|
-
Source: 'SOURCE'
|
|
61354
|
+
Tenant: 'TENANT'
|
|
61315
61355
|
} as const;
|
|
61316
61356
|
export type DeleteApprovalConfigRequestScopeV2025 = typeof DeleteApprovalConfigRequestScopeV2025[keyof typeof DeleteApprovalConfigRequestScopeV2025];
|
|
61317
61357
|
/**
|
|
@@ -61320,12 +61360,10 @@ export type DeleteApprovalConfigRequestScopeV2025 = typeof DeleteApprovalConfigR
|
|
|
61320
61360
|
export const PutApprovalsConfigScopeV2025 = {
|
|
61321
61361
|
DomainObject: 'DOMAIN_OBJECT',
|
|
61322
61362
|
Role: 'ROLE',
|
|
61323
|
-
Application: 'APPLICATION',
|
|
61324
61363
|
AccessProfile: 'ACCESS_PROFILE',
|
|
61325
61364
|
Entitlement: 'ENTITLEMENT',
|
|
61326
61365
|
ApprovalType: 'APPROVAL_TYPE',
|
|
61327
|
-
Tenant: 'TENANT'
|
|
61328
|
-
Source: 'SOURCE'
|
|
61366
|
+
Tenant: 'TENANT'
|
|
61329
61367
|
} as const;
|
|
61330
61368
|
export type PutApprovalsConfigScopeV2025 = typeof PutApprovalsConfigScopeV2025[keyof typeof PutApprovalsConfigScopeV2025];
|
|
61331
61369
|
|
|
@@ -91167,18 +91205,18 @@ export const IAIRoleMiningV2025ApiAxiosParamCreator = function (configuration?:
|
|
|
91167
91205
|
* @summary Update a potential role
|
|
91168
91206
|
* @param {string} sessionId The role mining session id
|
|
91169
91207
|
* @param {string} potentialRoleId The potential role summary id
|
|
91170
|
-
* @param {Array<
|
|
91208
|
+
* @param {Array<JsonPatchOperationRoleMiningV2025>} jsonPatchOperationRoleMiningV2025
|
|
91171
91209
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
91172
91210
|
* @param {*} [axiosOptions] Override http request option.
|
|
91173
91211
|
* @throws {RequiredError}
|
|
91174
91212
|
*/
|
|
91175
|
-
patchPotentialRole: async (sessionId: string, potentialRoleId: string,
|
|
91213
|
+
patchPotentialRole: async (sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2025: Array<JsonPatchOperationRoleMiningV2025>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91176
91214
|
// verify required parameter 'sessionId' is not null or undefined
|
|
91177
91215
|
assertParamExists('patchPotentialRole', 'sessionId', sessionId)
|
|
91178
91216
|
// verify required parameter 'potentialRoleId' is not null or undefined
|
|
91179
91217
|
assertParamExists('patchPotentialRole', 'potentialRoleId', potentialRoleId)
|
|
91180
|
-
// verify required parameter '
|
|
91181
|
-
assertParamExists('patchPotentialRole', '
|
|
91218
|
+
// verify required parameter 'jsonPatchOperationRoleMiningV2025' is not null or undefined
|
|
91219
|
+
assertParamExists('patchPotentialRole', 'jsonPatchOperationRoleMiningV2025', jsonPatchOperationRoleMiningV2025)
|
|
91182
91220
|
if (xSailPointExperimental === undefined) {
|
|
91183
91221
|
xSailPointExperimental = 'true';
|
|
91184
91222
|
}
|
|
@@ -91205,6 +91243,10 @@ export const IAIRoleMiningV2025ApiAxiosParamCreator = function (configuration?:
|
|
|
91205
91243
|
// oauth required
|
|
91206
91244
|
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
91207
91245
|
|
|
91246
|
+
// authentication applicationAuth required
|
|
91247
|
+
// oauth required
|
|
91248
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
91249
|
+
|
|
91208
91250
|
|
|
91209
91251
|
|
|
91210
91252
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
@@ -91215,7 +91257,7 @@ export const IAIRoleMiningV2025ApiAxiosParamCreator = function (configuration?:
|
|
|
91215
91257
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91216
91258
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91217
91259
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
91218
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
91260
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationRoleMiningV2025, localVarRequestOptions, configuration)
|
|
91219
91261
|
|
|
91220
91262
|
return {
|
|
91221
91263
|
url: toPathString(localVarUrlObj),
|
|
@@ -91227,18 +91269,18 @@ export const IAIRoleMiningV2025ApiAxiosParamCreator = function (configuration?:
|
|
|
91227
91269
|
* @summary Update a potential role session
|
|
91228
91270
|
* @param {string} sessionId The role mining session id
|
|
91229
91271
|
* @param {string} potentialRoleId The potential role summary id
|
|
91230
|
-
* @param {Array<
|
|
91272
|
+
* @param {Array<JsonPatchOperationRoleMiningV2025>} jsonPatchOperationRoleMiningV2025
|
|
91231
91273
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
91232
91274
|
* @param {*} [axiosOptions] Override http request option.
|
|
91233
91275
|
* @throws {RequiredError}
|
|
91234
91276
|
*/
|
|
91235
|
-
patchPotentialRoleSession: async (sessionId: string, potentialRoleId: string,
|
|
91277
|
+
patchPotentialRoleSession: async (sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2025: Array<JsonPatchOperationRoleMiningV2025>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91236
91278
|
// verify required parameter 'sessionId' is not null or undefined
|
|
91237
91279
|
assertParamExists('patchPotentialRoleSession', 'sessionId', sessionId)
|
|
91238
91280
|
// verify required parameter 'potentialRoleId' is not null or undefined
|
|
91239
91281
|
assertParamExists('patchPotentialRoleSession', 'potentialRoleId', potentialRoleId)
|
|
91240
|
-
// verify required parameter '
|
|
91241
|
-
assertParamExists('patchPotentialRoleSession', '
|
|
91282
|
+
// verify required parameter 'jsonPatchOperationRoleMiningV2025' is not null or undefined
|
|
91283
|
+
assertParamExists('patchPotentialRoleSession', 'jsonPatchOperationRoleMiningV2025', jsonPatchOperationRoleMiningV2025)
|
|
91242
91284
|
if (xSailPointExperimental === undefined) {
|
|
91243
91285
|
xSailPointExperimental = 'true';
|
|
91244
91286
|
}
|
|
@@ -91279,7 +91321,7 @@ export const IAIRoleMiningV2025ApiAxiosParamCreator = function (configuration?:
|
|
|
91279
91321
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91280
91322
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91281
91323
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
91282
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
91324
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationRoleMiningV2025, localVarRequestOptions, configuration)
|
|
91283
91325
|
|
|
91284
91326
|
return {
|
|
91285
91327
|
url: toPathString(localVarUrlObj),
|
|
@@ -91783,13 +91825,13 @@ export const IAIRoleMiningV2025ApiFp = function(configuration?: Configuration) {
|
|
|
91783
91825
|
* @summary Update a potential role
|
|
91784
91826
|
* @param {string} sessionId The role mining session id
|
|
91785
91827
|
* @param {string} potentialRoleId The potential role summary id
|
|
91786
|
-
* @param {Array<
|
|
91828
|
+
* @param {Array<JsonPatchOperationRoleMiningV2025>} jsonPatchOperationRoleMiningV2025
|
|
91787
91829
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
91788
91830
|
* @param {*} [axiosOptions] Override http request option.
|
|
91789
91831
|
* @throws {RequiredError}
|
|
91790
91832
|
*/
|
|
91791
|
-
async patchPotentialRole(sessionId: string, potentialRoleId: string,
|
|
91792
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRole(sessionId, potentialRoleId,
|
|
91833
|
+
async patchPotentialRole(sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2025: Array<JsonPatchOperationRoleMiningV2025>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
91834
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRole(sessionId, potentialRoleId, jsonPatchOperationRoleMiningV2025, xSailPointExperimental, axiosOptions);
|
|
91793
91835
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
91794
91836
|
const localVarOperationServerBasePath = operationServerMap['IAIRoleMiningV2025Api.patchPotentialRole']?.[localVarOperationServerIndex]?.url;
|
|
91795
91837
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -91799,13 +91841,13 @@ export const IAIRoleMiningV2025ApiFp = function(configuration?: Configuration) {
|
|
|
91799
91841
|
* @summary Update a potential role session
|
|
91800
91842
|
* @param {string} sessionId The role mining session id
|
|
91801
91843
|
* @param {string} potentialRoleId The potential role summary id
|
|
91802
|
-
* @param {Array<
|
|
91844
|
+
* @param {Array<JsonPatchOperationRoleMiningV2025>} jsonPatchOperationRoleMiningV2025
|
|
91803
91845
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
91804
91846
|
* @param {*} [axiosOptions] Override http request option.
|
|
91805
91847
|
* @throws {RequiredError}
|
|
91806
91848
|
*/
|
|
91807
|
-
async patchPotentialRoleSession(sessionId: string, potentialRoleId: string,
|
|
91808
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRoleSession(sessionId, potentialRoleId,
|
|
91849
|
+
async patchPotentialRoleSession(sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2025: Array<JsonPatchOperationRoleMiningV2025>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
91850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRoleSession(sessionId, potentialRoleId, jsonPatchOperationRoleMiningV2025, xSailPointExperimental, axiosOptions);
|
|
91809
91851
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
91810
91852
|
const localVarOperationServerBasePath = operationServerMap['IAIRoleMiningV2025Api.patchPotentialRoleSession']?.[localVarOperationServerIndex]?.url;
|
|
91811
91853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -92069,7 +92111,7 @@ export const IAIRoleMiningV2025ApiFactory = function (configuration?: Configurat
|
|
|
92069
92111
|
* @throws {RequiredError}
|
|
92070
92112
|
*/
|
|
92071
92113
|
patchPotentialRole(requestParameters: IAIRoleMiningV2025ApiPatchPotentialRoleRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
92072
|
-
return localVarFp.patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
92114
|
+
return localVarFp.patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2025, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
92073
92115
|
},
|
|
92074
92116
|
/**
|
|
92075
92117
|
* The method updates an existing potential role using. The following fields can be modified: * `description` * `name` * `saved` >**NOTE: All other fields cannot be modified.**
|
|
@@ -92079,7 +92121,7 @@ export const IAIRoleMiningV2025ApiFactory = function (configuration?: Configurat
|
|
|
92079
92121
|
* @throws {RequiredError}
|
|
92080
92122
|
*/
|
|
92081
92123
|
patchPotentialRoleSession(requestParameters: IAIRoleMiningV2025ApiPatchPotentialRoleSessionRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
92082
|
-
return localVarFp.patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
92124
|
+
return localVarFp.patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2025, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
92083
92125
|
},
|
|
92084
92126
|
/**
|
|
92085
92127
|
* The method updates an existing role mining session using PATCH. Supports op in {\"replace\"} and changes to pruneThreshold and/or minNumIdentitiesInPotentialRole. The potential roles in this role mining session is then re-calculated.
|
|
@@ -93015,10 +93057,10 @@ export interface IAIRoleMiningV2025ApiPatchPotentialRoleRequest {
|
|
|
93015
93057
|
|
|
93016
93058
|
/**
|
|
93017
93059
|
*
|
|
93018
|
-
* @type {Array<
|
|
93060
|
+
* @type {Array<JsonPatchOperationRoleMiningV2025>}
|
|
93019
93061
|
* @memberof IAIRoleMiningV2025ApiPatchPotentialRole
|
|
93020
93062
|
*/
|
|
93021
|
-
readonly
|
|
93063
|
+
readonly jsonPatchOperationRoleMiningV2025: Array<JsonPatchOperationRoleMiningV2025>
|
|
93022
93064
|
|
|
93023
93065
|
/**
|
|
93024
93066
|
* Use this header to enable this experimental API.
|
|
@@ -93050,10 +93092,10 @@ export interface IAIRoleMiningV2025ApiPatchPotentialRoleSessionRequest {
|
|
|
93050
93092
|
|
|
93051
93093
|
/**
|
|
93052
93094
|
*
|
|
93053
|
-
* @type {Array<
|
|
93095
|
+
* @type {Array<JsonPatchOperationRoleMiningV2025>}
|
|
93054
93096
|
* @memberof IAIRoleMiningV2025ApiPatchPotentialRoleSession
|
|
93055
93097
|
*/
|
|
93056
|
-
readonly
|
|
93098
|
+
readonly jsonPatchOperationRoleMiningV2025: Array<JsonPatchOperationRoleMiningV2025>
|
|
93057
93099
|
|
|
93058
93100
|
/**
|
|
93059
93101
|
* Use this header to enable this experimental API.
|
|
@@ -93394,7 +93436,7 @@ export class IAIRoleMiningV2025Api extends BaseAPI {
|
|
|
93394
93436
|
* @memberof IAIRoleMiningV2025Api
|
|
93395
93437
|
*/
|
|
93396
93438
|
public patchPotentialRole(requestParameters: IAIRoleMiningV2025ApiPatchPotentialRoleRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
93397
|
-
return IAIRoleMiningV2025ApiFp(this.configuration).patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
93439
|
+
return IAIRoleMiningV2025ApiFp(this.configuration).patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2025, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
93398
93440
|
}
|
|
93399
93441
|
|
|
93400
93442
|
/**
|
|
@@ -93406,7 +93448,7 @@ export class IAIRoleMiningV2025Api extends BaseAPI {
|
|
|
93406
93448
|
* @memberof IAIRoleMiningV2025Api
|
|
93407
93449
|
*/
|
|
93408
93450
|
public patchPotentialRoleSession(requestParameters: IAIRoleMiningV2025ApiPatchPotentialRoleSessionRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
93409
|
-
return IAIRoleMiningV2025ApiFp(this.configuration).patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
93451
|
+
return IAIRoleMiningV2025ApiFp(this.configuration).patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2025, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
93410
93452
|
}
|
|
93411
93453
|
|
|
93412
93454
|
/**
|