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/v2024/api.ts
CHANGED
|
@@ -6730,6 +6730,13 @@ export interface ArgumentV2024 {
|
|
|
6730
6730
|
*/
|
|
6731
6731
|
'type'?: string | null;
|
|
6732
6732
|
}
|
|
6733
|
+
/**
|
|
6734
|
+
*
|
|
6735
|
+
* @export
|
|
6736
|
+
* @interface ArrayInner1V2024
|
|
6737
|
+
*/
|
|
6738
|
+
export interface ArrayInner1V2024 {
|
|
6739
|
+
}
|
|
6733
6740
|
/**
|
|
6734
6741
|
*
|
|
6735
6742
|
* @export
|
|
@@ -21666,6 +21673,46 @@ export interface JITConfigurationV2024 {
|
|
|
21666
21673
|
*/
|
|
21667
21674
|
'sourceAttributeMappings'?: { [key: string]: string; };
|
|
21668
21675
|
}
|
|
21676
|
+
/**
|
|
21677
|
+
* 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)
|
|
21678
|
+
* @export
|
|
21679
|
+
* @interface JsonPatchOperationRoleMiningV2024
|
|
21680
|
+
*/
|
|
21681
|
+
export interface JsonPatchOperationRoleMiningV2024 {
|
|
21682
|
+
/**
|
|
21683
|
+
* The operation to be performed
|
|
21684
|
+
* @type {string}
|
|
21685
|
+
* @memberof JsonPatchOperationRoleMiningV2024
|
|
21686
|
+
*/
|
|
21687
|
+
'op': JsonPatchOperationRoleMiningV2024OpV2024;
|
|
21688
|
+
/**
|
|
21689
|
+
* A string JSON Pointer representing the target path to an element to be affected by the operation
|
|
21690
|
+
* @type {string}
|
|
21691
|
+
* @memberof JsonPatchOperationRoleMiningV2024
|
|
21692
|
+
*/
|
|
21693
|
+
'path': string;
|
|
21694
|
+
/**
|
|
21695
|
+
*
|
|
21696
|
+
* @type {JsonPatchOperationRoleMiningValueV2024}
|
|
21697
|
+
* @memberof JsonPatchOperationRoleMiningV2024
|
|
21698
|
+
*/
|
|
21699
|
+
'value'?: JsonPatchOperationRoleMiningValueV2024;
|
|
21700
|
+
}
|
|
21701
|
+
|
|
21702
|
+
export const JsonPatchOperationRoleMiningV2024OpV2024 = {
|
|
21703
|
+
Remove: 'remove',
|
|
21704
|
+
Replace: 'replace'
|
|
21705
|
+
} as const;
|
|
21706
|
+
|
|
21707
|
+
export type JsonPatchOperationRoleMiningV2024OpV2024 = typeof JsonPatchOperationRoleMiningV2024OpV2024[keyof typeof JsonPatchOperationRoleMiningV2024OpV2024];
|
|
21708
|
+
|
|
21709
|
+
/**
|
|
21710
|
+
* @type JsonPatchOperationRoleMiningValueV2024
|
|
21711
|
+
* The value to be used for the operation, required for \"replace\" operations
|
|
21712
|
+
* @export
|
|
21713
|
+
*/
|
|
21714
|
+
export type JsonPatchOperationRoleMiningValueV2024 = Array<ArrayInner1V2024> | boolean | number | object | string;
|
|
21715
|
+
|
|
21669
21716
|
/**
|
|
21670
21717
|
* A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)
|
|
21671
21718
|
* @export
|
|
@@ -21693,8 +21740,12 @@ export interface JsonPatchOperationV2024 {
|
|
|
21693
21740
|
}
|
|
21694
21741
|
|
|
21695
21742
|
export const JsonPatchOperationV2024OpV2024 = {
|
|
21743
|
+
Add: 'add',
|
|
21696
21744
|
Remove: 'remove',
|
|
21697
|
-
Replace: 'replace'
|
|
21745
|
+
Replace: 'replace',
|
|
21746
|
+
Move: 'move',
|
|
21747
|
+
Copy: 'copy',
|
|
21748
|
+
Test: 'test'
|
|
21698
21749
|
} as const;
|
|
21699
21750
|
|
|
21700
21751
|
export type JsonPatchOperationV2024OpV2024 = typeof JsonPatchOperationV2024OpV2024[keyof typeof JsonPatchOperationV2024OpV2024];
|
|
@@ -28658,39 +28709,6 @@ export const PatOwnerV2024TypeV2024 = {
|
|
|
28658
28709
|
|
|
28659
28710
|
export type PatOwnerV2024TypeV2024 = typeof PatOwnerV2024TypeV2024[keyof typeof PatOwnerV2024TypeV2024];
|
|
28660
28711
|
|
|
28661
|
-
/**
|
|
28662
|
-
*
|
|
28663
|
-
* @export
|
|
28664
|
-
* @interface PatchPotentialRoleRequestInnerV2024
|
|
28665
|
-
*/
|
|
28666
|
-
export interface PatchPotentialRoleRequestInnerV2024 {
|
|
28667
|
-
/**
|
|
28668
|
-
* The operation to be performed
|
|
28669
|
-
* @type {string}
|
|
28670
|
-
* @memberof PatchPotentialRoleRequestInnerV2024
|
|
28671
|
-
*/
|
|
28672
|
-
'op'?: PatchPotentialRoleRequestInnerV2024OpV2024;
|
|
28673
|
-
/**
|
|
28674
|
-
* A string JSON Pointer representing the target path to an element to be affected by the operation
|
|
28675
|
-
* @type {string}
|
|
28676
|
-
* @memberof PatchPotentialRoleRequestInnerV2024
|
|
28677
|
-
*/
|
|
28678
|
-
'path': string;
|
|
28679
|
-
/**
|
|
28680
|
-
*
|
|
28681
|
-
* @type {UpdateMultiHostSourcesRequestInnerValueV2024}
|
|
28682
|
-
* @memberof PatchPotentialRoleRequestInnerV2024
|
|
28683
|
-
*/
|
|
28684
|
-
'value'?: UpdateMultiHostSourcesRequestInnerValueV2024;
|
|
28685
|
-
}
|
|
28686
|
-
|
|
28687
|
-
export const PatchPotentialRoleRequestInnerV2024OpV2024 = {
|
|
28688
|
-
Remove: 'remove',
|
|
28689
|
-
Replace: 'replace'
|
|
28690
|
-
} as const;
|
|
28691
|
-
|
|
28692
|
-
export type PatchPotentialRoleRequestInnerV2024OpV2024 = typeof PatchPotentialRoleRequestInnerV2024OpV2024[keyof typeof PatchPotentialRoleRequestInnerV2024OpV2024];
|
|
28693
|
-
|
|
28694
28712
|
/**
|
|
28695
28713
|
*
|
|
28696
28714
|
* @export
|
|
@@ -34201,7 +34219,7 @@ export interface RoleMiningIdentityDistributionDistributionInnerV2024 {
|
|
|
34201
34219
|
* @type {string}
|
|
34202
34220
|
* @memberof RoleMiningIdentityDistributionDistributionInnerV2024
|
|
34203
34221
|
*/
|
|
34204
|
-
'attributeValue'?: string;
|
|
34222
|
+
'attributeValue'?: string | null;
|
|
34205
34223
|
/**
|
|
34206
34224
|
* The number of identities that have this attribute value
|
|
34207
34225
|
* @type {number}
|
|
@@ -34378,6 +34396,25 @@ export const RoleMiningPotentialRoleExportStateV2024 = {
|
|
|
34378
34396
|
export type RoleMiningPotentialRoleExportStateV2024 = typeof RoleMiningPotentialRoleExportStateV2024[keyof typeof RoleMiningPotentialRoleExportStateV2024];
|
|
34379
34397
|
|
|
34380
34398
|
|
|
34399
|
+
/**
|
|
34400
|
+
* The potential role reference
|
|
34401
|
+
* @export
|
|
34402
|
+
* @interface RoleMiningPotentialRolePotentialRoleRefV2024
|
|
34403
|
+
*/
|
|
34404
|
+
export interface RoleMiningPotentialRolePotentialRoleRefV2024 {
|
|
34405
|
+
/**
|
|
34406
|
+
* Id of the potential role
|
|
34407
|
+
* @type {string}
|
|
34408
|
+
* @memberof RoleMiningPotentialRolePotentialRoleRefV2024
|
|
34409
|
+
*/
|
|
34410
|
+
'id'?: string;
|
|
34411
|
+
/**
|
|
34412
|
+
* Name of the potential role
|
|
34413
|
+
* @type {string}
|
|
34414
|
+
* @memberof RoleMiningPotentialRolePotentialRoleRefV2024
|
|
34415
|
+
*/
|
|
34416
|
+
'name'?: string;
|
|
34417
|
+
}
|
|
34381
34418
|
/**
|
|
34382
34419
|
*
|
|
34383
34420
|
* @export
|
|
@@ -34659,12 +34696,24 @@ export interface RoleMiningPotentialRoleV2024 {
|
|
|
34659
34696
|
* @memberof RoleMiningPotentialRoleV2024
|
|
34660
34697
|
*/
|
|
34661
34698
|
'identityIds'?: Array<string>;
|
|
34699
|
+
/**
|
|
34700
|
+
* The status for this identity group which can be OBTAINED or COMPRESSED
|
|
34701
|
+
* @type {string}
|
|
34702
|
+
* @memberof RoleMiningPotentialRoleV2024
|
|
34703
|
+
*/
|
|
34704
|
+
'identityGroupStatus'?: string | null;
|
|
34662
34705
|
/**
|
|
34663
34706
|
* Name of the potential role.
|
|
34664
34707
|
* @type {string}
|
|
34665
34708
|
* @memberof RoleMiningPotentialRoleV2024
|
|
34666
34709
|
*/
|
|
34667
34710
|
'name'?: string;
|
|
34711
|
+
/**
|
|
34712
|
+
*
|
|
34713
|
+
* @type {RoleMiningPotentialRolePotentialRoleRefV2024}
|
|
34714
|
+
* @memberof RoleMiningPotentialRoleV2024
|
|
34715
|
+
*/
|
|
34716
|
+
'potentialRoleRef'?: RoleMiningPotentialRolePotentialRoleRefV2024 | null;
|
|
34668
34717
|
/**
|
|
34669
34718
|
*
|
|
34670
34719
|
* @type {RoleMiningPotentialRoleProvisionStateV2024 & object}
|
|
@@ -41436,13 +41485,6 @@ export const SubscriptionPatchRequestInnerV2024OpV2024 = {
|
|
|
41436
41485
|
|
|
41437
41486
|
export type SubscriptionPatchRequestInnerV2024OpV2024 = typeof SubscriptionPatchRequestInnerV2024OpV2024[keyof typeof SubscriptionPatchRequestInnerV2024OpV2024];
|
|
41438
41487
|
|
|
41439
|
-
/**
|
|
41440
|
-
*
|
|
41441
|
-
* @export
|
|
41442
|
-
* @interface SubscriptionPatchRequestInnerValueAnyOfInnerV2024
|
|
41443
|
-
*/
|
|
41444
|
-
export interface SubscriptionPatchRequestInnerValueAnyOfInnerV2024 {
|
|
41445
|
-
}
|
|
41446
41488
|
/**
|
|
41447
41489
|
* The value to be used for the operation, required for \"add\" and \"replace\" operations
|
|
41448
41490
|
* @export
|
|
@@ -48849,7 +48891,7 @@ export const AccessRequestsV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
48849
48891
|
};
|
|
48850
48892
|
},
|
|
48851
48893
|
/**
|
|
48852
|
-
*
|
|
48894
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it 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.
|
|
48853
48895
|
* @summary Submit access request
|
|
48854
48896
|
* @param {AccessRequestV2024} accessRequestV2024
|
|
48855
48897
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -49329,7 +49371,7 @@ export const AccessRequestsV2024ApiFp = function(configuration?: Configuration)
|
|
|
49329
49371
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49330
49372
|
},
|
|
49331
49373
|
/**
|
|
49332
|
-
*
|
|
49374
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it 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.
|
|
49333
49375
|
* @summary Submit access request
|
|
49334
49376
|
* @param {AccessRequestV2024} accessRequestV2024
|
|
49335
49377
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -49491,7 +49533,7 @@ export const AccessRequestsV2024ApiFactory = function (configuration?: Configura
|
|
|
49491
49533
|
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2024, axiosOptions).then((request) => request(axios, basePath));
|
|
49492
49534
|
},
|
|
49493
49535
|
/**
|
|
49494
|
-
*
|
|
49536
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it 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.
|
|
49495
49537
|
* @summary Submit access request
|
|
49496
49538
|
* @param {AccessRequestsV2024ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
49497
49539
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -49912,7 +49954,7 @@ export class AccessRequestsV2024Api extends BaseAPI {
|
|
|
49912
49954
|
}
|
|
49913
49955
|
|
|
49914
49956
|
/**
|
|
49915
|
-
*
|
|
49957
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it 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.
|
|
49916
49958
|
* @summary Submit access request
|
|
49917
49959
|
* @param {AccessRequestsV2024ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
49918
49960
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -78947,18 +78989,18 @@ export const IAIRoleMiningV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
78947
78989
|
* @summary Update a potential role
|
|
78948
78990
|
* @param {string} sessionId The role mining session id
|
|
78949
78991
|
* @param {string} potentialRoleId The potential role summary id
|
|
78950
|
-
* @param {Array<
|
|
78992
|
+
* @param {Array<JsonPatchOperationRoleMiningV2024>} jsonPatchOperationRoleMiningV2024
|
|
78951
78993
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
78952
78994
|
* @param {*} [axiosOptions] Override http request option.
|
|
78953
78995
|
* @throws {RequiredError}
|
|
78954
78996
|
*/
|
|
78955
|
-
patchPotentialRole: async (sessionId: string, potentialRoleId: string,
|
|
78997
|
+
patchPotentialRole: async (sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2024: Array<JsonPatchOperationRoleMiningV2024>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
78956
78998
|
// verify required parameter 'sessionId' is not null or undefined
|
|
78957
78999
|
assertParamExists('patchPotentialRole', 'sessionId', sessionId)
|
|
78958
79000
|
// verify required parameter 'potentialRoleId' is not null or undefined
|
|
78959
79001
|
assertParamExists('patchPotentialRole', 'potentialRoleId', potentialRoleId)
|
|
78960
|
-
// verify required parameter '
|
|
78961
|
-
assertParamExists('patchPotentialRole', '
|
|
79002
|
+
// verify required parameter 'jsonPatchOperationRoleMiningV2024' is not null or undefined
|
|
79003
|
+
assertParamExists('patchPotentialRole', 'jsonPatchOperationRoleMiningV2024', jsonPatchOperationRoleMiningV2024)
|
|
78962
79004
|
if (xSailPointExperimental === undefined) {
|
|
78963
79005
|
xSailPointExperimental = 'true';
|
|
78964
79006
|
}
|
|
@@ -78985,6 +79027,10 @@ export const IAIRoleMiningV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
78985
79027
|
// oauth required
|
|
78986
79028
|
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
78987
79029
|
|
|
79030
|
+
// authentication applicationAuth required
|
|
79031
|
+
// oauth required
|
|
79032
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
79033
|
+
|
|
78988
79034
|
|
|
78989
79035
|
|
|
78990
79036
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
@@ -78995,7 +79041,7 @@ export const IAIRoleMiningV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
78995
79041
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78996
79042
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78997
79043
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
78998
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
79044
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationRoleMiningV2024, localVarRequestOptions, configuration)
|
|
78999
79045
|
|
|
79000
79046
|
return {
|
|
79001
79047
|
url: toPathString(localVarUrlObj),
|
|
@@ -79007,18 +79053,18 @@ export const IAIRoleMiningV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
79007
79053
|
* @summary Update a potential role session
|
|
79008
79054
|
* @param {string} sessionId The role mining session id
|
|
79009
79055
|
* @param {string} potentialRoleId The potential role summary id
|
|
79010
|
-
* @param {Array<
|
|
79056
|
+
* @param {Array<JsonPatchOperationRoleMiningV2024>} jsonPatchOperationRoleMiningV2024
|
|
79011
79057
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
79012
79058
|
* @param {*} [axiosOptions] Override http request option.
|
|
79013
79059
|
* @throws {RequiredError}
|
|
79014
79060
|
*/
|
|
79015
|
-
patchPotentialRoleSession: async (sessionId: string, potentialRoleId: string,
|
|
79061
|
+
patchPotentialRoleSession: async (sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2024: Array<JsonPatchOperationRoleMiningV2024>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79016
79062
|
// verify required parameter 'sessionId' is not null or undefined
|
|
79017
79063
|
assertParamExists('patchPotentialRoleSession', 'sessionId', sessionId)
|
|
79018
79064
|
// verify required parameter 'potentialRoleId' is not null or undefined
|
|
79019
79065
|
assertParamExists('patchPotentialRoleSession', 'potentialRoleId', potentialRoleId)
|
|
79020
|
-
// verify required parameter '
|
|
79021
|
-
assertParamExists('patchPotentialRoleSession', '
|
|
79066
|
+
// verify required parameter 'jsonPatchOperationRoleMiningV2024' is not null or undefined
|
|
79067
|
+
assertParamExists('patchPotentialRoleSession', 'jsonPatchOperationRoleMiningV2024', jsonPatchOperationRoleMiningV2024)
|
|
79022
79068
|
if (xSailPointExperimental === undefined) {
|
|
79023
79069
|
xSailPointExperimental = 'true';
|
|
79024
79070
|
}
|
|
@@ -79059,7 +79105,7 @@ export const IAIRoleMiningV2024ApiAxiosParamCreator = function (configuration?:
|
|
|
79059
79105
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79060
79106
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79061
79107
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
79062
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
79108
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationRoleMiningV2024, localVarRequestOptions, configuration)
|
|
79063
79109
|
|
|
79064
79110
|
return {
|
|
79065
79111
|
url: toPathString(localVarUrlObj),
|
|
@@ -79563,13 +79609,13 @@ export const IAIRoleMiningV2024ApiFp = function(configuration?: Configuration) {
|
|
|
79563
79609
|
* @summary Update a potential role
|
|
79564
79610
|
* @param {string} sessionId The role mining session id
|
|
79565
79611
|
* @param {string} potentialRoleId The potential role summary id
|
|
79566
|
-
* @param {Array<
|
|
79612
|
+
* @param {Array<JsonPatchOperationRoleMiningV2024>} jsonPatchOperationRoleMiningV2024
|
|
79567
79613
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
79568
79614
|
* @param {*} [axiosOptions] Override http request option.
|
|
79569
79615
|
* @throws {RequiredError}
|
|
79570
79616
|
*/
|
|
79571
|
-
async patchPotentialRole(sessionId: string, potentialRoleId: string,
|
|
79572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRole(sessionId, potentialRoleId,
|
|
79617
|
+
async patchPotentialRole(sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2024: Array<JsonPatchOperationRoleMiningV2024>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
79618
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRole(sessionId, potentialRoleId, jsonPatchOperationRoleMiningV2024, xSailPointExperimental, axiosOptions);
|
|
79573
79619
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
79574
79620
|
const localVarOperationServerBasePath = operationServerMap['IAIRoleMiningV2024Api.patchPotentialRole']?.[localVarOperationServerIndex]?.url;
|
|
79575
79621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -79579,13 +79625,13 @@ export const IAIRoleMiningV2024ApiFp = function(configuration?: Configuration) {
|
|
|
79579
79625
|
* @summary Update a potential role session
|
|
79580
79626
|
* @param {string} sessionId The role mining session id
|
|
79581
79627
|
* @param {string} potentialRoleId The potential role summary id
|
|
79582
|
-
* @param {Array<
|
|
79628
|
+
* @param {Array<JsonPatchOperationRoleMiningV2024>} jsonPatchOperationRoleMiningV2024
|
|
79583
79629
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
79584
79630
|
* @param {*} [axiosOptions] Override http request option.
|
|
79585
79631
|
* @throws {RequiredError}
|
|
79586
79632
|
*/
|
|
79587
|
-
async patchPotentialRoleSession(sessionId: string, potentialRoleId: string,
|
|
79588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRoleSession(sessionId, potentialRoleId,
|
|
79633
|
+
async patchPotentialRoleSession(sessionId: string, potentialRoleId: string, jsonPatchOperationRoleMiningV2024: Array<JsonPatchOperationRoleMiningV2024>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
79634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPotentialRoleSession(sessionId, potentialRoleId, jsonPatchOperationRoleMiningV2024, xSailPointExperimental, axiosOptions);
|
|
79589
79635
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
79590
79636
|
const localVarOperationServerBasePath = operationServerMap['IAIRoleMiningV2024Api.patchPotentialRoleSession']?.[localVarOperationServerIndex]?.url;
|
|
79591
79637
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -79849,7 +79895,7 @@ export const IAIRoleMiningV2024ApiFactory = function (configuration?: Configurat
|
|
|
79849
79895
|
* @throws {RequiredError}
|
|
79850
79896
|
*/
|
|
79851
79897
|
patchPotentialRole(requestParameters: IAIRoleMiningV2024ApiPatchPotentialRoleRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
79852
|
-
return localVarFp.patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
79898
|
+
return localVarFp.patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2024, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
79853
79899
|
},
|
|
79854
79900
|
/**
|
|
79855
79901
|
* The method updates an existing potential role using. The following fields can be modified: * `description` * `name` * `saved` >**NOTE: All other fields cannot be modified.**
|
|
@@ -79859,7 +79905,7 @@ export const IAIRoleMiningV2024ApiFactory = function (configuration?: Configurat
|
|
|
79859
79905
|
* @throws {RequiredError}
|
|
79860
79906
|
*/
|
|
79861
79907
|
patchPotentialRoleSession(requestParameters: IAIRoleMiningV2024ApiPatchPotentialRoleSessionRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
79862
|
-
return localVarFp.patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
79908
|
+
return localVarFp.patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2024, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
79863
79909
|
},
|
|
79864
79910
|
/**
|
|
79865
79911
|
* 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.
|
|
@@ -80795,10 +80841,10 @@ export interface IAIRoleMiningV2024ApiPatchPotentialRoleRequest {
|
|
|
80795
80841
|
|
|
80796
80842
|
/**
|
|
80797
80843
|
*
|
|
80798
|
-
* @type {Array<
|
|
80844
|
+
* @type {Array<JsonPatchOperationRoleMiningV2024>}
|
|
80799
80845
|
* @memberof IAIRoleMiningV2024ApiPatchPotentialRole
|
|
80800
80846
|
*/
|
|
80801
|
-
readonly
|
|
80847
|
+
readonly jsonPatchOperationRoleMiningV2024: Array<JsonPatchOperationRoleMiningV2024>
|
|
80802
80848
|
|
|
80803
80849
|
/**
|
|
80804
80850
|
* Use this header to enable this experimental API.
|
|
@@ -80830,10 +80876,10 @@ export interface IAIRoleMiningV2024ApiPatchPotentialRoleSessionRequest {
|
|
|
80830
80876
|
|
|
80831
80877
|
/**
|
|
80832
80878
|
*
|
|
80833
|
-
* @type {Array<
|
|
80879
|
+
* @type {Array<JsonPatchOperationRoleMiningV2024>}
|
|
80834
80880
|
* @memberof IAIRoleMiningV2024ApiPatchPotentialRoleSession
|
|
80835
80881
|
*/
|
|
80836
|
-
readonly
|
|
80882
|
+
readonly jsonPatchOperationRoleMiningV2024: Array<JsonPatchOperationRoleMiningV2024>
|
|
80837
80883
|
|
|
80838
80884
|
/**
|
|
80839
80885
|
* Use this header to enable this experimental API.
|
|
@@ -81174,7 +81220,7 @@ export class IAIRoleMiningV2024Api extends BaseAPI {
|
|
|
81174
81220
|
* @memberof IAIRoleMiningV2024Api
|
|
81175
81221
|
*/
|
|
81176
81222
|
public patchPotentialRole(requestParameters: IAIRoleMiningV2024ApiPatchPotentialRoleRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
81177
|
-
return IAIRoleMiningV2024ApiFp(this.configuration).patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
81223
|
+
return IAIRoleMiningV2024ApiFp(this.configuration).patchPotentialRole(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2024, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
81178
81224
|
}
|
|
81179
81225
|
|
|
81180
81226
|
/**
|
|
@@ -81186,7 +81232,7 @@ export class IAIRoleMiningV2024Api extends BaseAPI {
|
|
|
81186
81232
|
* @memberof IAIRoleMiningV2024Api
|
|
81187
81233
|
*/
|
|
81188
81234
|
public patchPotentialRoleSession(requestParameters: IAIRoleMiningV2024ApiPatchPotentialRoleSessionRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
81189
|
-
return IAIRoleMiningV2024ApiFp(this.configuration).patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.
|
|
81235
|
+
return IAIRoleMiningV2024ApiFp(this.configuration).patchPotentialRoleSession(requestParameters.sessionId, requestParameters.potentialRoleId, requestParameters.jsonPatchOperationRoleMiningV2024, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
81190
81236
|
}
|
|
81191
81237
|
|
|
81192
81238
|
/**
|
package/v2024/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.7.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.7.19/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.7.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.7.19'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/v2024/package.json
CHANGED
package/v2025/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.7.
|
|
1
|
+
## sailpoint-sdk@1.7.19
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.7.
|
|
39
|
+
npm install sailpoint-sdk@1.7.19 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|