sailpoint-api-client 1.6.2 → 1.6.4
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 +20 -12
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +20 -12
- package/dist/beta/api.js +16 -9
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/index.spec.js +69 -18
- package/dist/index.spec.js.map +1 -1
- package/dist/paginator.d.ts +28 -2
- package/dist/paginator.js +39 -11
- package/dist/paginator.js.map +1 -1
- package/dist/v2024/api.d.ts +136 -189
- package/dist/v2024/api.js +222 -249
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +1098 -183
- package/dist/v2025/api.js +1564 -273
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v3/api.d.ts +20 -12
- package/dist/v3/api.js +18 -11
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/index.spec.ts +46 -4
- package/package.json +1 -1
- package/paginator.ts +77 -13
- package/v2024/README.md +2 -2
- package/v2024/api.ts +251 -390
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +2048 -622
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +22 -14
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v2024/api.js
CHANGED
|
@@ -92,10 +92,10 @@ exports.CustomFormsV2024ApiFp = exports.CustomFormsV2024ApiAxiosParamCreator = e
|
|
|
92
92
|
exports.GetPeerGroupOutliersStrategyV2024 = exports.IAIPeerGroupStrategiesV2024Api = exports.IAIPeerGroupStrategiesV2024ApiFactory = exports.IAIPeerGroupStrategiesV2024ApiFp = exports.IAIPeerGroupStrategiesV2024ApiAxiosParamCreator = exports.ListOutliersContributingFeatureAccessItemsContributingFeatureNameV2024 = exports.GetLatestIdentityOutlierSnapshotsTypeV2024 = exports.GetIdentityOutliersTypeV2024 = exports.GetIdentityOutlierSnapshotsTypeV2024 = exports.ExportOutliersZipTypeV2024 = exports.IAIOutliersV2024Api = exports.IAIOutliersV2024ApiFactory = exports.IAIOutliersV2024ApiFp = exports.IAIOutliersV2024ApiAxiosParamCreator = exports.IAICommonAccessV2024Api = exports.IAICommonAccessV2024ApiFactory = exports.IAICommonAccessV2024ApiFp = exports.IAICommonAccessV2024ApiAxiosParamCreator = exports.IAIAccessRequestRecommendationsV2024Api = exports.IAIAccessRequestRecommendationsV2024ApiFactory = exports.IAIAccessRequestRecommendationsV2024ApiFp = exports.IAIAccessRequestRecommendationsV2024ApiAxiosParamCreator = exports.GovernanceGroupsV2024Api = exports.GovernanceGroupsV2024ApiFactory = exports.GovernanceGroupsV2024ApiFp = exports.GovernanceGroupsV2024ApiAxiosParamCreator = exports.GlobalTenantSecuritySettingsV2024Api = exports.GlobalTenantSecuritySettingsV2024ApiFactory = exports.GlobalTenantSecuritySettingsV2024ApiFp = exports.GlobalTenantSecuritySettingsV2024ApiAxiosParamCreator = exports.EntitlementsV2024Api = exports.EntitlementsV2024ApiFactory = exports.EntitlementsV2024ApiFp = exports.EntitlementsV2024ApiAxiosParamCreator = exports.DimensionsV2024Api = exports.DimensionsV2024ApiFactory = exports.DimensionsV2024ApiFp = exports.DimensionsV2024ApiAxiosParamCreator = exports.DataSegmentationV2024Api = exports.DataSegmentationV2024ApiFactory = exports.DataSegmentationV2024ApiFp = exports.DataSegmentationV2024ApiAxiosParamCreator = exports.GetCustomPasswordInstructionsPageIdV2024 = exports.DeleteCustomPasswordInstructionsPageIdV2024 = exports.CustomPasswordInstructionsV2024Api = exports.CustomPasswordInstructionsV2024ApiFactory = exports.CustomPasswordInstructionsV2024ApiFp = exports.CustomPasswordInstructionsV2024ApiAxiosParamCreator = exports.CustomFormsV2024Api = exports.CustomFormsV2024ApiFactory = void 0;
|
|
93
93
|
exports.MachineAccountMappingsV2024ApiFp = exports.MachineAccountMappingsV2024ApiAxiosParamCreator = exports.SendClassifyMachineAccountClassificationModeV2024 = exports.MachineAccountClassifyV2024Api = exports.MachineAccountClassifyV2024ApiFactory = exports.MachineAccountClassifyV2024ApiFp = exports.MachineAccountClassifyV2024ApiAxiosParamCreator = exports.TestMFAConfigMethodV2024 = exports.MFAConfigurationV2024Api = exports.MFAConfigurationV2024ApiFactory = exports.MFAConfigurationV2024ApiFp = exports.MFAConfigurationV2024ApiAxiosParamCreator = exports.LifecycleStatesV2024Api = exports.LifecycleStatesV2024ApiFactory = exports.LifecycleStatesV2024ApiFp = exports.LifecycleStatesV2024ApiAxiosParamCreator = exports.IdentityProfilesV2024Api = exports.IdentityProfilesV2024ApiFactory = exports.IdentityProfilesV2024ApiFp = exports.IdentityProfilesV2024ApiAxiosParamCreator = exports.ListIdentitySnapshotsIntervalV2024 = exports.GetIdentitySnapshotSummaryIntervalV2024 = exports.CompareIdentitySnapshotsAccessTypeAccessTypeV2024 = exports.IdentityHistoryV2024Api = exports.IdentityHistoryV2024ApiFactory = exports.IdentityHistoryV2024ApiFp = exports.IdentityHistoryV2024ApiAxiosParamCreator = exports.IdentityAttributesV2024Api = exports.IdentityAttributesV2024ApiFactory = exports.IdentityAttributesV2024ApiFp = exports.IdentityAttributesV2024ApiAxiosParamCreator = exports.ListIdentitiesDefaultFilterV2024 = exports.IdentitiesV2024Api = exports.IdentitiesV2024ApiFactory = exports.IdentitiesV2024ApiFp = exports.IdentitiesV2024ApiAxiosParamCreator = exports.SetIconObjectTypeV2024 = exports.DeleteIconObjectTypeV2024 = exports.IconsV2024Api = exports.IconsV2024ApiFactory = exports.IconsV2024ApiFp = exports.IconsV2024ApiAxiosParamCreator = exports.IAIRoleMiningV2024Api = exports.IAIRoleMiningV2024ApiFactory = exports.IAIRoleMiningV2024ApiFp = exports.IAIRoleMiningV2024ApiAxiosParamCreator = exports.IAIRecommendationsV2024Api = exports.IAIRecommendationsV2024ApiFactory = exports.IAIRecommendationsV2024ApiFp = exports.IAIRecommendationsV2024ApiAxiosParamCreator = void 0;
|
|
94
94
|
exports.PasswordConfigurationV2024Api = exports.PasswordConfigurationV2024ApiFactory = exports.PasswordConfigurationV2024ApiFp = exports.PasswordConfigurationV2024ApiAxiosParamCreator = exports.OrgConfigV2024Api = exports.OrgConfigV2024ApiFactory = exports.OrgConfigV2024ApiFp = exports.OrgConfigV2024ApiAxiosParamCreator = exports.OAuthClientsV2024Api = exports.OAuthClientsV2024ApiFactory = exports.OAuthClientsV2024ApiFp = exports.OAuthClientsV2024ApiAxiosParamCreator = exports.NotificationsV2024Api = exports.NotificationsV2024ApiFactory = exports.NotificationsV2024ApiFp = exports.NotificationsV2024ApiAxiosParamCreator = exports.NonEmployeeLifecycleManagementV2024Api = exports.NonEmployeeLifecycleManagementV2024ApiFactory = exports.NonEmployeeLifecycleManagementV2024ApiFp = exports.NonEmployeeLifecycleManagementV2024ApiAxiosParamCreator = exports.MultiHostIntegrationV2024Api = exports.MultiHostIntegrationV2024ApiFactory = exports.MultiHostIntegrationV2024ApiFp = exports.MultiHostIntegrationV2024ApiAxiosParamCreator = exports.ManagedClustersV2024Api = exports.ManagedClustersV2024ApiFactory = exports.ManagedClustersV2024ApiFp = exports.ManagedClustersV2024ApiAxiosParamCreator = exports.ManagedClusterTypesV2024Api = exports.ManagedClusterTypesV2024ApiFactory = exports.ManagedClusterTypesV2024ApiFp = exports.ManagedClusterTypesV2024ApiAxiosParamCreator = exports.ManagedClientsV2024Api = exports.ManagedClientsV2024ApiFactory = exports.ManagedClientsV2024ApiFp = exports.ManagedClientsV2024ApiAxiosParamCreator = exports.MachineIdentitiesV2024Api = exports.MachineIdentitiesV2024ApiFactory = exports.MachineIdentitiesV2024ApiFp = exports.MachineIdentitiesV2024ApiAxiosParamCreator = exports.MachineClassificationConfigV2024Api = exports.MachineClassificationConfigV2024ApiFactory = exports.MachineClassificationConfigV2024ApiFp = exports.MachineClassificationConfigV2024ApiAxiosParamCreator = exports.MachineAccountsV2024Api = exports.MachineAccountsV2024ApiFactory = exports.MachineAccountsV2024ApiFp = exports.MachineAccountsV2024ApiAxiosParamCreator = exports.MachineAccountMappingsV2024Api = exports.MachineAccountMappingsV2024ApiFactory = void 0;
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.WorkflowsV2024Api = void 0;
|
|
95
|
+
exports.SIMIntegrationsV2024Api = exports.SIMIntegrationsV2024ApiFactory = exports.SIMIntegrationsV2024ApiFp = exports.SIMIntegrationsV2024ApiAxiosParamCreator = exports.RolesV2024Api = exports.RolesV2024ApiFactory = exports.RolesV2024ApiFp = exports.RolesV2024ApiAxiosParamCreator = exports.RoleInsightsV2024Api = exports.RoleInsightsV2024ApiFactory = exports.RoleInsightsV2024ApiFp = exports.RoleInsightsV2024ApiAxiosParamCreator = exports.ListRequestableObjectsTypesV2024 = exports.RequestableObjectsV2024Api = exports.RequestableObjectsV2024ApiFactory = exports.RequestableObjectsV2024ApiFp = exports.RequestableObjectsV2024ApiAxiosParamCreator = exports.GetReportFileFormatV2024 = exports.ReportsDataExtractionV2024Api = exports.ReportsDataExtractionV2024ApiFactory = exports.ReportsDataExtractionV2024ApiFp = exports.ReportsDataExtractionV2024ApiAxiosParamCreator = exports.PublicIdentitiesConfigV2024Api = exports.PublicIdentitiesConfigV2024ApiFactory = exports.PublicIdentitiesConfigV2024ApiFp = exports.PublicIdentitiesConfigV2024ApiAxiosParamCreator = exports.PublicIdentitiesV2024Api = exports.PublicIdentitiesV2024ApiFactory = exports.PublicIdentitiesV2024ApiFp = exports.PublicIdentitiesV2024ApiAxiosParamCreator = exports.PersonalAccessTokensV2024Api = exports.PersonalAccessTokensV2024ApiFactory = exports.PersonalAccessTokensV2024ApiFp = exports.PersonalAccessTokensV2024ApiAxiosParamCreator = exports.PasswordSyncGroupsV2024Api = exports.PasswordSyncGroupsV2024ApiFactory = exports.PasswordSyncGroupsV2024ApiFp = exports.PasswordSyncGroupsV2024ApiAxiosParamCreator = exports.PasswordPoliciesV2024Api = exports.PasswordPoliciesV2024ApiFactory = exports.PasswordPoliciesV2024ApiFp = exports.PasswordPoliciesV2024ApiAxiosParamCreator = exports.PasswordManagementV2024Api = exports.PasswordManagementV2024ApiFactory = exports.PasswordManagementV2024ApiFp = exports.PasswordManagementV2024ApiAxiosParamCreator = exports.PasswordDictionaryV2024Api = exports.PasswordDictionaryV2024ApiFactory = exports.PasswordDictionaryV2024ApiFp = exports.PasswordDictionaryV2024ApiAxiosParamCreator = void 0;
|
|
96
|
+
exports.UpdateSourceScheduleScheduleTypeV2024 = exports.GetSourceSchemasIncludeTypesV2024 = exports.GetSourceScheduleScheduleTypeV2024 = exports.GetSourceConfigLocaleV2024 = exports.DeleteSourceScheduleScheduleTypeV2024 = exports.SourcesV2024Api = exports.SourcesV2024ApiFactory = exports.SourcesV2024ApiFp = exports.SourcesV2024ApiAxiosParamCreator = exports.SourceUsagesV2024Api = exports.SourceUsagesV2024ApiFactory = exports.SourceUsagesV2024ApiFp = exports.SourceUsagesV2024ApiAxiosParamCreator = exports.ServiceDeskIntegrationV2024Api = exports.ServiceDeskIntegrationV2024ApiFactory = exports.ServiceDeskIntegrationV2024ApiFp = exports.ServiceDeskIntegrationV2024ApiAxiosParamCreator = exports.SegmentsV2024Api = exports.SegmentsV2024ApiFactory = exports.SegmentsV2024ApiFp = exports.SegmentsV2024ApiAxiosParamCreator = exports.SearchAttributeConfigurationV2024Api = exports.SearchAttributeConfigurationV2024ApiFactory = exports.SearchAttributeConfigurationV2024ApiFp = exports.SearchAttributeConfigurationV2024ApiAxiosParamCreator = exports.SearchGetIndexV2024 = exports.SearchV2024Api = exports.SearchV2024ApiFactory = exports.SearchV2024ApiFp = exports.SearchV2024ApiAxiosParamCreator = exports.ScheduledSearchV2024Api = exports.ScheduledSearchV2024ApiFactory = exports.ScheduledSearchV2024ApiFp = exports.ScheduledSearchV2024ApiAxiosParamCreator = exports.SavedSearchV2024Api = exports.SavedSearchV2024ApiFactory = exports.SavedSearchV2024ApiFp = exports.SavedSearchV2024ApiAxiosParamCreator = exports.SPConfigV2024Api = exports.SPConfigV2024ApiFactory = exports.SPConfigV2024ApiFp = exports.SPConfigV2024ApiAxiosParamCreator = exports.SODViolationsV2024Api = exports.SODViolationsV2024ApiFactory = exports.SODViolationsV2024ApiFp = exports.SODViolationsV2024ApiAxiosParamCreator = exports.SODPoliciesV2024Api = exports.SODPoliciesV2024ApiFactory = exports.SODPoliciesV2024ApiFp = exports.SODPoliciesV2024ApiAxiosParamCreator = void 0;
|
|
97
|
+
exports.WorkflowsV2024ApiFp = exports.WorkflowsV2024ApiAxiosParamCreator = exports.WorkReassignmentV2024Api = exports.WorkReassignmentV2024ApiFactory = exports.WorkReassignmentV2024ApiFp = exports.WorkReassignmentV2024ApiAxiosParamCreator = exports.WorkItemsV2024Api = exports.WorkItemsV2024ApiFactory = exports.WorkItemsV2024ApiFp = exports.WorkItemsV2024ApiAxiosParamCreator = exports.VendorConnectorMappingsV2024Api = exports.VendorConnectorMappingsV2024ApiFactory = exports.VendorConnectorMappingsV2024ApiFp = exports.VendorConnectorMappingsV2024ApiAxiosParamCreator = exports.UIMetadataV2024Api = exports.UIMetadataV2024ApiFactory = exports.UIMetadataV2024ApiFp = exports.UIMetadataV2024ApiAxiosParamCreator = exports.TriggersV2024Api = exports.TriggersV2024ApiFactory = exports.TriggersV2024ApiFp = exports.TriggersV2024ApiAxiosParamCreator = exports.TransformsV2024Api = exports.TransformsV2024ApiFactory = exports.TransformsV2024ApiFp = exports.TransformsV2024ApiAxiosParamCreator = exports.TenantContextV2024Api = exports.TenantContextV2024ApiFactory = exports.TenantContextV2024ApiFp = exports.TenantContextV2024ApiAxiosParamCreator = exports.TenantV2024Api = exports.TenantV2024ApiFactory = exports.TenantV2024ApiFp = exports.TenantV2024ApiAxiosParamCreator = exports.TaskManagementV2024Api = exports.TaskManagementV2024ApiFactory = exports.TaskManagementV2024ApiFp = exports.TaskManagementV2024ApiAxiosParamCreator = exports.PutTaggedObjectTypeV2024 = exports.ListTaggedObjectsByTypeTypeV2024 = exports.GetTaggedObjectTypeV2024 = exports.DeleteTaggedObjectTypeV2024 = exports.TaggedObjectsV2024Api = exports.TaggedObjectsV2024ApiFactory = exports.TaggedObjectsV2024ApiFp = exports.TaggedObjectsV2024ApiAxiosParamCreator = exports.SuggestedEntitlementDescriptionV2024Api = exports.SuggestedEntitlementDescriptionV2024ApiFactory = exports.SuggestedEntitlementDescriptionV2024ApiFp = exports.SuggestedEntitlementDescriptionV2024ApiAxiosParamCreator = void 0;
|
|
98
|
+
exports.WorkflowsV2024Api = exports.WorkflowsV2024ApiFactory = void 0;
|
|
99
99
|
var axios_1 = __importDefault(require("axios"));
|
|
100
100
|
// Some imports not used depending on template conditions
|
|
101
101
|
// @ts-ignore
|
|
@@ -5073,7 +5073,7 @@ var AccessRequestApprovalsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
5073
5073
|
localVarQueryParameter = {};
|
|
5074
5074
|
// authentication userAuth required
|
|
5075
5075
|
// oauth required
|
|
5076
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [
|
|
5076
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
5077
5077
|
// authentication userAuth required
|
|
5078
5078
|
// oauth required
|
|
5079
5079
|
];
|
|
@@ -5083,7 +5083,7 @@ var AccessRequestApprovalsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
5083
5083
|
_a.sent();
|
|
5084
5084
|
// authentication userAuth required
|
|
5085
5085
|
// oauth required
|
|
5086
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [
|
|
5086
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
5087
5087
|
case 2:
|
|
5088
5088
|
// authentication userAuth required
|
|
5089
5089
|
// oauth required
|
|
@@ -6014,7 +6014,7 @@ var AccessRequestsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
6014
6014
|
});
|
|
6015
6015
|
},
|
|
6016
6016
|
/**
|
|
6017
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, the
|
|
6017
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * While requesting entitlements, maximum of 25 entitlements and 10 recipients are allowed in a request. * 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. __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.
|
|
6018
6018
|
* @summary Submit access request
|
|
6019
6019
|
* @param {AccessRequestV2024} accessRequestV2024
|
|
6020
6020
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -6506,7 +6506,7 @@ var AccessRequestsV2024ApiFp = function (configuration) {
|
|
|
6506
6506
|
});
|
|
6507
6507
|
},
|
|
6508
6508
|
/**
|
|
6509
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, the
|
|
6509
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * While requesting entitlements, maximum of 25 entitlements and 10 recipients are allowed in a request. * 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. __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.
|
|
6510
6510
|
* @summary Submit access request
|
|
6511
6511
|
* @param {AccessRequestV2024} accessRequestV2024
|
|
6512
6512
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -6711,7 +6711,7 @@ var AccessRequestsV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
6711
6711
|
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
6712
6712
|
},
|
|
6713
6713
|
/**
|
|
6714
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, the
|
|
6714
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * While requesting entitlements, maximum of 25 entitlements and 10 recipients are allowed in a request. * 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. __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.
|
|
6715
6715
|
* @summary Submit access request
|
|
6716
6716
|
* @param {AccessRequestsV2024ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
6717
6717
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -6834,7 +6834,7 @@ var AccessRequestsV2024Api = /** @class */ (function (_super) {
|
|
|
6834
6834
|
return (0, exports.AccessRequestsV2024ApiFp)(this.configuration).closeAccessRequest(requestParameters.closeAccessRequestV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6835
6835
|
};
|
|
6836
6836
|
/**
|
|
6837
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, the
|
|
6837
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn\'t return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It\'s best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * While requesting entitlements, maximum of 25 entitlements and 10 recipients are allowed in a request. * 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. __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.
|
|
6838
6838
|
* @summary Submit access request
|
|
6839
6839
|
* @param {AccessRequestsV2024ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
6840
6840
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -36890,11 +36890,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
36890
36890
|
* The API returns successful response if the requested identity was deleted.
|
|
36891
36891
|
* @summary Delete identity
|
|
36892
36892
|
* @param {string} id Identity Id
|
|
36893
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
36894
36893
|
* @param {*} [axiosOptions] Override http request option.
|
|
36895
36894
|
* @throws {RequiredError}
|
|
36896
36895
|
*/
|
|
36897
|
-
deleteIdentity: function (id,
|
|
36896
|
+
deleteIdentity: function (id, axiosOptions) {
|
|
36898
36897
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
36899
36898
|
return __awaiter(_this, void 0, void 0, function () {
|
|
36900
36899
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -36903,11 +36902,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
36903
36902
|
case 0:
|
|
36904
36903
|
// verify required parameter 'id' is not null or undefined
|
|
36905
36904
|
(0, common_1.assertParamExists)('deleteIdentity', 'id', id);
|
|
36906
|
-
if (xSailPointExperimental === undefined) {
|
|
36907
|
-
xSailPointExperimental = 'true';
|
|
36908
|
-
}
|
|
36909
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
36910
|
-
(0, common_1.assertParamExists)('deleteIdentity', 'xSailPointExperimental', xSailPointExperimental);
|
|
36911
36905
|
localVarPath = "/identities/{id}"
|
|
36912
36906
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
36913
36907
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -36934,9 +36928,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
36934
36928
|
// authentication userAuth required
|
|
36935
36929
|
// oauth required
|
|
36936
36930
|
_a.sent();
|
|
36937
|
-
if (xSailPointExperimental != null) {
|
|
36938
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
36939
|
-
}
|
|
36940
36931
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
36941
36932
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36942
36933
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -36952,11 +36943,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
36952
36943
|
* This API returns a single identity using the Identity ID.
|
|
36953
36944
|
* @summary Identity details
|
|
36954
36945
|
* @param {string} id Identity Id
|
|
36955
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
36956
36946
|
* @param {*} [axiosOptions] Override http request option.
|
|
36957
36947
|
* @throws {RequiredError}
|
|
36958
36948
|
*/
|
|
36959
|
-
getIdentity: function (id,
|
|
36949
|
+
getIdentity: function (id, axiosOptions) {
|
|
36960
36950
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
36961
36951
|
return __awaiter(_this, void 0, void 0, function () {
|
|
36962
36952
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -36965,9 +36955,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
36965
36955
|
case 0:
|
|
36966
36956
|
// verify required parameter 'id' is not null or undefined
|
|
36967
36957
|
(0, common_1.assertParamExists)('getIdentity', 'id', id);
|
|
36968
|
-
if (xSailPointExperimental === undefined) {
|
|
36969
|
-
xSailPointExperimental = 'true';
|
|
36970
|
-
}
|
|
36971
36958
|
localVarPath = "/identities/{id}"
|
|
36972
36959
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
36973
36960
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -36994,9 +36981,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
36994
36981
|
// authentication userAuth required
|
|
36995
36982
|
// oauth required
|
|
36996
36983
|
_a.sent();
|
|
36997
|
-
if (xSailPointExperimental != null) {
|
|
36998
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
36999
|
-
}
|
|
37000
36984
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37001
36985
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37002
36986
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37012,11 +36996,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37012
36996
|
* Use this API to return an identity\'s owned objects that will cause problems for deleting the identity. Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity. For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity\'s owned objects.
|
|
37013
36997
|
* @summary Get ownership details
|
|
37014
36998
|
* @param {string} identityId Identity ID.
|
|
37015
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37016
36999
|
* @param {*} [axiosOptions] Override http request option.
|
|
37017
37000
|
* @throws {RequiredError}
|
|
37018
37001
|
*/
|
|
37019
|
-
getIdentityOwnershipDetails: function (identityId,
|
|
37002
|
+
getIdentityOwnershipDetails: function (identityId, axiosOptions) {
|
|
37020
37003
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
37021
37004
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37022
37005
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -37025,9 +37008,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37025
37008
|
case 0:
|
|
37026
37009
|
// verify required parameter 'identityId' is not null or undefined
|
|
37027
37010
|
(0, common_1.assertParamExists)('getIdentityOwnershipDetails', 'identityId', identityId);
|
|
37028
|
-
if (xSailPointExperimental === undefined) {
|
|
37029
|
-
xSailPointExperimental = 'true';
|
|
37030
|
-
}
|
|
37031
37011
|
localVarPath = "/identities/{identityId}/ownership"
|
|
37032
37012
|
.replace("{".concat("identityId", "}"), encodeURIComponent(String(identityId)));
|
|
37033
37013
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -37054,9 +37034,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37054
37034
|
// authentication userAuth required
|
|
37055
37035
|
// oauth required
|
|
37056
37036
|
_a.sent();
|
|
37057
|
-
if (xSailPointExperimental != null) {
|
|
37058
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
37059
|
-
}
|
|
37060
37037
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37061
37038
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37062
37039
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37073,11 +37050,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37073
37050
|
* @summary Role assignment details
|
|
37074
37051
|
* @param {string} identityId Identity Id
|
|
37075
37052
|
* @param {string} assignmentId Assignment Id
|
|
37076
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37077
37053
|
* @param {*} [axiosOptions] Override http request option.
|
|
37078
37054
|
* @throws {RequiredError}
|
|
37079
37055
|
*/
|
|
37080
|
-
getRoleAssignment: function (identityId, assignmentId,
|
|
37056
|
+
getRoleAssignment: function (identityId, assignmentId, axiosOptions) {
|
|
37081
37057
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
37082
37058
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37083
37059
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -37088,9 +37064,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37088
37064
|
(0, common_1.assertParamExists)('getRoleAssignment', 'identityId', identityId);
|
|
37089
37065
|
// verify required parameter 'assignmentId' is not null or undefined
|
|
37090
37066
|
(0, common_1.assertParamExists)('getRoleAssignment', 'assignmentId', assignmentId);
|
|
37091
|
-
if (xSailPointExperimental === undefined) {
|
|
37092
|
-
xSailPointExperimental = 'true';
|
|
37093
|
-
}
|
|
37094
37067
|
localVarPath = "/identities/{identityId}/role-assignments/{assignmentId}"
|
|
37095
37068
|
.replace("{".concat("identityId", "}"), encodeURIComponent(String(identityId)))
|
|
37096
37069
|
.replace("{".concat("assignmentId", "}"), encodeURIComponent(String(assignmentId)));
|
|
@@ -37118,9 +37091,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37118
37091
|
// authentication userAuth required
|
|
37119
37092
|
// oauth required
|
|
37120
37093
|
_a.sent();
|
|
37121
|
-
if (xSailPointExperimental != null) {
|
|
37122
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
37123
|
-
}
|
|
37124
37094
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37125
37095
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37126
37096
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37138,11 +37108,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37138
37108
|
* @param {string} identityId Identity Id to get the role assignments for
|
|
37139
37109
|
* @param {string} [roleId] Role Id to filter the role assignments with
|
|
37140
37110
|
* @param {string} [roleName] Role name to filter the role assignments with
|
|
37141
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37142
37111
|
* @param {*} [axiosOptions] Override http request option.
|
|
37143
37112
|
* @throws {RequiredError}
|
|
37144
37113
|
*/
|
|
37145
|
-
getRoleAssignments: function (identityId, roleId, roleName,
|
|
37114
|
+
getRoleAssignments: function (identityId, roleId, roleName, axiosOptions) {
|
|
37146
37115
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
37147
37116
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37148
37117
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -37151,9 +37120,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37151
37120
|
case 0:
|
|
37152
37121
|
// verify required parameter 'identityId' is not null or undefined
|
|
37153
37122
|
(0, common_1.assertParamExists)('getRoleAssignments', 'identityId', identityId);
|
|
37154
|
-
if (xSailPointExperimental === undefined) {
|
|
37155
|
-
xSailPointExperimental = 'true';
|
|
37156
|
-
}
|
|
37157
37123
|
localVarPath = "/identities/{identityId}/role-assignments"
|
|
37158
37124
|
.replace("{".concat("identityId", "}"), encodeURIComponent(String(identityId)));
|
|
37159
37125
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -37186,9 +37152,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37186
37152
|
if (roleName !== undefined) {
|
|
37187
37153
|
localVarQueryParameter['roleName'] = roleName;
|
|
37188
37154
|
}
|
|
37189
|
-
if (xSailPointExperimental != null) {
|
|
37190
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
37191
|
-
}
|
|
37192
37155
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37193
37156
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37194
37157
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37209,20 +37172,16 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37209
37172
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
37210
37173
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
37211
37174
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
37212
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37213
37175
|
* @param {*} [axiosOptions] Override http request option.
|
|
37214
37176
|
* @throws {RequiredError}
|
|
37215
37177
|
*/
|
|
37216
|
-
listIdentities: function (filters, sorters, defaultFilter, count, limit, offset,
|
|
37178
|
+
listIdentities: function (filters, sorters, defaultFilter, count, limit, offset, axiosOptions) {
|
|
37217
37179
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
37218
37180
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37219
37181
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
37220
37182
|
return __generator(this, function (_a) {
|
|
37221
37183
|
switch (_a.label) {
|
|
37222
37184
|
case 0:
|
|
37223
|
-
if (xSailPointExperimental === undefined) {
|
|
37224
|
-
xSailPointExperimental = 'true';
|
|
37225
|
-
}
|
|
37226
37185
|
localVarPath = "/identities";
|
|
37227
37186
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37228
37187
|
if (configuration) {
|
|
@@ -37266,9 +37225,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37266
37225
|
if (offset !== undefined) {
|
|
37267
37226
|
localVarQueryParameter['offset'] = offset;
|
|
37268
37227
|
}
|
|
37269
|
-
if (xSailPointExperimental != null) {
|
|
37270
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
37271
|
-
}
|
|
37272
37228
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37273
37229
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37274
37230
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37284,11 +37240,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37284
37240
|
* Use this endpoint to reset a user\'s identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have.
|
|
37285
37241
|
* @summary Reset an identity
|
|
37286
37242
|
* @param {string} identityId Identity Id
|
|
37287
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37288
37243
|
* @param {*} [axiosOptions] Override http request option.
|
|
37289
37244
|
* @throws {RequiredError}
|
|
37290
37245
|
*/
|
|
37291
|
-
resetIdentity: function (identityId,
|
|
37246
|
+
resetIdentity: function (identityId, axiosOptions) {
|
|
37292
37247
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
37293
37248
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37294
37249
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -37297,9 +37252,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37297
37252
|
case 0:
|
|
37298
37253
|
// verify required parameter 'identityId' is not null or undefined
|
|
37299
37254
|
(0, common_1.assertParamExists)('resetIdentity', 'identityId', identityId);
|
|
37300
|
-
if (xSailPointExperimental === undefined) {
|
|
37301
|
-
xSailPointExperimental = 'true';
|
|
37302
|
-
}
|
|
37303
37255
|
localVarPath = "/identities/{id}/reset"
|
|
37304
37256
|
.replace("{".concat("identityId", "}"), encodeURIComponent(String(identityId)));
|
|
37305
37257
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -37326,9 +37278,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37326
37278
|
// authentication userAuth required
|
|
37327
37279
|
// oauth required
|
|
37328
37280
|
_a.sent();
|
|
37329
|
-
if (xSailPointExperimental != null) {
|
|
37330
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
37331
|
-
}
|
|
37332
37281
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37333
37282
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37334
37283
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37409,11 +37358,10 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37409
37358
|
* This API submits a task for inviting given identities via email to complete registration. The invitation email will include the link. After selecting the link an identity will be able to set up password and log in into the system. Invitations expire after 7 days. By default invitations send to the work identity email. It can be changed in Admin > Identities > Identity Profiles by selecting corresponding profile and editing Invitation Options. This task will send an invitation email only for unregistered identities. The executed task status can be checked by Task Management > [Get task status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status).
|
|
37410
37359
|
* @summary Invite identities to register
|
|
37411
37360
|
* @param {InviteIdentitiesRequestV2024} inviteIdentitiesRequestV2024
|
|
37412
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37413
37361
|
* @param {*} [axiosOptions] Override http request option.
|
|
37414
37362
|
* @throws {RequiredError}
|
|
37415
37363
|
*/
|
|
37416
|
-
startIdentitiesInvite: function (inviteIdentitiesRequestV2024,
|
|
37364
|
+
startIdentitiesInvite: function (inviteIdentitiesRequestV2024, axiosOptions) {
|
|
37417
37365
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
37418
37366
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37419
37367
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -37422,9 +37370,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37422
37370
|
case 0:
|
|
37423
37371
|
// verify required parameter 'inviteIdentitiesRequestV2024' is not null or undefined
|
|
37424
37372
|
(0, common_1.assertParamExists)('startIdentitiesInvite', 'inviteIdentitiesRequestV2024', inviteIdentitiesRequestV2024);
|
|
37425
|
-
if (xSailPointExperimental === undefined) {
|
|
37426
|
-
xSailPointExperimental = 'true';
|
|
37427
|
-
}
|
|
37428
37373
|
localVarPath = "/identities/invite";
|
|
37429
37374
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37430
37375
|
if (configuration) {
|
|
@@ -37451,9 +37396,6 @@ var IdentitiesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
37451
37396
|
// oauth required
|
|
37452
37397
|
_a.sent();
|
|
37453
37398
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37454
|
-
if (xSailPointExperimental != null) {
|
|
37455
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
37456
|
-
}
|
|
37457
37399
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37458
37400
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37459
37401
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -37611,17 +37553,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37611
37553
|
* The API returns successful response if the requested identity was deleted.
|
|
37612
37554
|
* @summary Delete identity
|
|
37613
37555
|
* @param {string} id Identity Id
|
|
37614
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
37615
37556
|
* @param {*} [axiosOptions] Override http request option.
|
|
37616
37557
|
* @throws {RequiredError}
|
|
37617
37558
|
*/
|
|
37618
|
-
deleteIdentity: function (id,
|
|
37559
|
+
deleteIdentity: function (id, axiosOptions) {
|
|
37619
37560
|
var _a, _b, _c;
|
|
37620
37561
|
return __awaiter(this, void 0, void 0, function () {
|
|
37621
37562
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37622
37563
|
return __generator(this, function (_d) {
|
|
37623
37564
|
switch (_d.label) {
|
|
37624
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIdentity(id,
|
|
37565
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIdentity(id, axiosOptions)];
|
|
37625
37566
|
case 1:
|
|
37626
37567
|
localVarAxiosArgs = _d.sent();
|
|
37627
37568
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37635,17 +37576,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37635
37576
|
* This API returns a single identity using the Identity ID.
|
|
37636
37577
|
* @summary Identity details
|
|
37637
37578
|
* @param {string} id Identity Id
|
|
37638
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37639
37579
|
* @param {*} [axiosOptions] Override http request option.
|
|
37640
37580
|
* @throws {RequiredError}
|
|
37641
37581
|
*/
|
|
37642
|
-
getIdentity: function (id,
|
|
37582
|
+
getIdentity: function (id, axiosOptions) {
|
|
37643
37583
|
var _a, _b, _c;
|
|
37644
37584
|
return __awaiter(this, void 0, void 0, function () {
|
|
37645
37585
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37646
37586
|
return __generator(this, function (_d) {
|
|
37647
37587
|
switch (_d.label) {
|
|
37648
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIdentity(id,
|
|
37588
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIdentity(id, axiosOptions)];
|
|
37649
37589
|
case 1:
|
|
37650
37590
|
localVarAxiosArgs = _d.sent();
|
|
37651
37591
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37659,17 +37599,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37659
37599
|
* Use this API to return an identity\'s owned objects that will cause problems for deleting the identity. Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity. For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity\'s owned objects.
|
|
37660
37600
|
* @summary Get ownership details
|
|
37661
37601
|
* @param {string} identityId Identity ID.
|
|
37662
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37663
37602
|
* @param {*} [axiosOptions] Override http request option.
|
|
37664
37603
|
* @throws {RequiredError}
|
|
37665
37604
|
*/
|
|
37666
|
-
getIdentityOwnershipDetails: function (identityId,
|
|
37605
|
+
getIdentityOwnershipDetails: function (identityId, axiosOptions) {
|
|
37667
37606
|
var _a, _b, _c;
|
|
37668
37607
|
return __awaiter(this, void 0, void 0, function () {
|
|
37669
37608
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37670
37609
|
return __generator(this, function (_d) {
|
|
37671
37610
|
switch (_d.label) {
|
|
37672
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIdentityOwnershipDetails(identityId,
|
|
37611
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIdentityOwnershipDetails(identityId, axiosOptions)];
|
|
37673
37612
|
case 1:
|
|
37674
37613
|
localVarAxiosArgs = _d.sent();
|
|
37675
37614
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37684,17 +37623,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37684
37623
|
* @summary Role assignment details
|
|
37685
37624
|
* @param {string} identityId Identity Id
|
|
37686
37625
|
* @param {string} assignmentId Assignment Id
|
|
37687
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37688
37626
|
* @param {*} [axiosOptions] Override http request option.
|
|
37689
37627
|
* @throws {RequiredError}
|
|
37690
37628
|
*/
|
|
37691
|
-
getRoleAssignment: function (identityId, assignmentId,
|
|
37629
|
+
getRoleAssignment: function (identityId, assignmentId, axiosOptions) {
|
|
37692
37630
|
var _a, _b, _c;
|
|
37693
37631
|
return __awaiter(this, void 0, void 0, function () {
|
|
37694
37632
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37695
37633
|
return __generator(this, function (_d) {
|
|
37696
37634
|
switch (_d.label) {
|
|
37697
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRoleAssignment(identityId, assignmentId,
|
|
37635
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRoleAssignment(identityId, assignmentId, axiosOptions)];
|
|
37698
37636
|
case 1:
|
|
37699
37637
|
localVarAxiosArgs = _d.sent();
|
|
37700
37638
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37710,17 +37648,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37710
37648
|
* @param {string} identityId Identity Id to get the role assignments for
|
|
37711
37649
|
* @param {string} [roleId] Role Id to filter the role assignments with
|
|
37712
37650
|
* @param {string} [roleName] Role name to filter the role assignments with
|
|
37713
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37714
37651
|
* @param {*} [axiosOptions] Override http request option.
|
|
37715
37652
|
* @throws {RequiredError}
|
|
37716
37653
|
*/
|
|
37717
|
-
getRoleAssignments: function (identityId, roleId, roleName,
|
|
37654
|
+
getRoleAssignments: function (identityId, roleId, roleName, axiosOptions) {
|
|
37718
37655
|
var _a, _b, _c;
|
|
37719
37656
|
return __awaiter(this, void 0, void 0, function () {
|
|
37720
37657
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37721
37658
|
return __generator(this, function (_d) {
|
|
37722
37659
|
switch (_d.label) {
|
|
37723
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRoleAssignments(identityId, roleId, roleName,
|
|
37660
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRoleAssignments(identityId, roleId, roleName, axiosOptions)];
|
|
37724
37661
|
case 1:
|
|
37725
37662
|
localVarAxiosArgs = _d.sent();
|
|
37726
37663
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37739,17 +37676,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37739
37676
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
37740
37677
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
37741
37678
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
37742
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37743
37679
|
* @param {*} [axiosOptions] Override http request option.
|
|
37744
37680
|
* @throws {RequiredError}
|
|
37745
37681
|
*/
|
|
37746
|
-
listIdentities: function (filters, sorters, defaultFilter, count, limit, offset,
|
|
37682
|
+
listIdentities: function (filters, sorters, defaultFilter, count, limit, offset, axiosOptions) {
|
|
37747
37683
|
var _a, _b, _c;
|
|
37748
37684
|
return __awaiter(this, void 0, void 0, function () {
|
|
37749
37685
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37750
37686
|
return __generator(this, function (_d) {
|
|
37751
37687
|
switch (_d.label) {
|
|
37752
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIdentities(filters, sorters, defaultFilter, count, limit, offset,
|
|
37688
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIdentities(filters, sorters, defaultFilter, count, limit, offset, axiosOptions)];
|
|
37753
37689
|
case 1:
|
|
37754
37690
|
localVarAxiosArgs = _d.sent();
|
|
37755
37691
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37763,17 +37699,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37763
37699
|
* Use this endpoint to reset a user\'s identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have.
|
|
37764
37700
|
* @summary Reset an identity
|
|
37765
37701
|
* @param {string} identityId Identity Id
|
|
37766
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37767
37702
|
* @param {*} [axiosOptions] Override http request option.
|
|
37768
37703
|
* @throws {RequiredError}
|
|
37769
37704
|
*/
|
|
37770
|
-
resetIdentity: function (identityId,
|
|
37705
|
+
resetIdentity: function (identityId, axiosOptions) {
|
|
37771
37706
|
var _a, _b, _c;
|
|
37772
37707
|
return __awaiter(this, void 0, void 0, function () {
|
|
37773
37708
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37774
37709
|
return __generator(this, function (_d) {
|
|
37775
37710
|
switch (_d.label) {
|
|
37776
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.resetIdentity(identityId,
|
|
37711
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.resetIdentity(identityId, axiosOptions)];
|
|
37777
37712
|
case 1:
|
|
37778
37713
|
localVarAxiosArgs = _d.sent();
|
|
37779
37714
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37812,17 +37747,16 @@ var IdentitiesV2024ApiFp = function (configuration) {
|
|
|
37812
37747
|
* This API submits a task for inviting given identities via email to complete registration. The invitation email will include the link. After selecting the link an identity will be able to set up password and log in into the system. Invitations expire after 7 days. By default invitations send to the work identity email. It can be changed in Admin > Identities > Identity Profiles by selecting corresponding profile and editing Invitation Options. This task will send an invitation email only for unregistered identities. The executed task status can be checked by Task Management > [Get task status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status).
|
|
37813
37748
|
* @summary Invite identities to register
|
|
37814
37749
|
* @param {InviteIdentitiesRequestV2024} inviteIdentitiesRequestV2024
|
|
37815
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
37816
37750
|
* @param {*} [axiosOptions] Override http request option.
|
|
37817
37751
|
* @throws {RequiredError}
|
|
37818
37752
|
*/
|
|
37819
|
-
startIdentitiesInvite: function (inviteIdentitiesRequestV2024,
|
|
37753
|
+
startIdentitiesInvite: function (inviteIdentitiesRequestV2024, axiosOptions) {
|
|
37820
37754
|
var _a, _b, _c;
|
|
37821
37755
|
return __awaiter(this, void 0, void 0, function () {
|
|
37822
37756
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37823
37757
|
return __generator(this, function (_d) {
|
|
37824
37758
|
switch (_d.label) {
|
|
37825
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.startIdentitiesInvite(inviteIdentitiesRequestV2024,
|
|
37759
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.startIdentitiesInvite(inviteIdentitiesRequestV2024, axiosOptions)];
|
|
37826
37760
|
case 1:
|
|
37827
37761
|
localVarAxiosArgs = _d.sent();
|
|
37828
37762
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37898,7 +37832,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37898
37832
|
* @throws {RequiredError}
|
|
37899
37833
|
*/
|
|
37900
37834
|
deleteIdentity: function (requestParameters, axiosOptions) {
|
|
37901
|
-
return localVarFp.deleteIdentity(requestParameters.id,
|
|
37835
|
+
return localVarFp.deleteIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37902
37836
|
},
|
|
37903
37837
|
/**
|
|
37904
37838
|
* This API returns a single identity using the Identity ID.
|
|
@@ -37908,7 +37842,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37908
37842
|
* @throws {RequiredError}
|
|
37909
37843
|
*/
|
|
37910
37844
|
getIdentity: function (requestParameters, axiosOptions) {
|
|
37911
|
-
return localVarFp.getIdentity(requestParameters.id,
|
|
37845
|
+
return localVarFp.getIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37912
37846
|
},
|
|
37913
37847
|
/**
|
|
37914
37848
|
* Use this API to return an identity\'s owned objects that will cause problems for deleting the identity. Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity. For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity\'s owned objects.
|
|
@@ -37918,7 +37852,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37918
37852
|
* @throws {RequiredError}
|
|
37919
37853
|
*/
|
|
37920
37854
|
getIdentityOwnershipDetails: function (requestParameters, axiosOptions) {
|
|
37921
|
-
return localVarFp.getIdentityOwnershipDetails(requestParameters.identityId,
|
|
37855
|
+
return localVarFp.getIdentityOwnershipDetails(requestParameters.identityId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37922
37856
|
},
|
|
37923
37857
|
/**
|
|
37924
37858
|
*
|
|
@@ -37928,7 +37862,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37928
37862
|
* @throws {RequiredError}
|
|
37929
37863
|
*/
|
|
37930
37864
|
getRoleAssignment: function (requestParameters, axiosOptions) {
|
|
37931
|
-
return localVarFp.getRoleAssignment(requestParameters.identityId, requestParameters.assignmentId,
|
|
37865
|
+
return localVarFp.getRoleAssignment(requestParameters.identityId, requestParameters.assignmentId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37932
37866
|
},
|
|
37933
37867
|
/**
|
|
37934
37868
|
* This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id.
|
|
@@ -37938,7 +37872,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37938
37872
|
* @throws {RequiredError}
|
|
37939
37873
|
*/
|
|
37940
37874
|
getRoleAssignments: function (requestParameters, axiosOptions) {
|
|
37941
|
-
return localVarFp.getRoleAssignments(requestParameters.identityId, requestParameters.roleId, requestParameters.roleName,
|
|
37875
|
+
return localVarFp.getRoleAssignments(requestParameters.identityId, requestParameters.roleId, requestParameters.roleName, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37942
37876
|
},
|
|
37943
37877
|
/**
|
|
37944
37878
|
* This API returns a list of identities.
|
|
@@ -37949,7 +37883,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37949
37883
|
*/
|
|
37950
37884
|
listIdentities: function (requestParameters, axiosOptions) {
|
|
37951
37885
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
37952
|
-
return localVarFp.listIdentities(requestParameters.filters, requestParameters.sorters, requestParameters.defaultFilter, requestParameters.count, requestParameters.limit, requestParameters.offset,
|
|
37886
|
+
return localVarFp.listIdentities(requestParameters.filters, requestParameters.sorters, requestParameters.defaultFilter, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37953
37887
|
},
|
|
37954
37888
|
/**
|
|
37955
37889
|
* Use this endpoint to reset a user\'s identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have.
|
|
@@ -37959,7 +37893,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37959
37893
|
* @throws {RequiredError}
|
|
37960
37894
|
*/
|
|
37961
37895
|
resetIdentity: function (requestParameters, axiosOptions) {
|
|
37962
|
-
return localVarFp.resetIdentity(requestParameters.identityId,
|
|
37896
|
+
return localVarFp.resetIdentity(requestParameters.identityId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37963
37897
|
},
|
|
37964
37898
|
/**
|
|
37965
37899
|
* This API sends an email with the link to start Password Reset. After selecting the link an identity will be able to set up a new password. Emails expire after 2 hours.
|
|
@@ -37979,7 +37913,7 @@ var IdentitiesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
37979
37913
|
* @throws {RequiredError}
|
|
37980
37914
|
*/
|
|
37981
37915
|
startIdentitiesInvite: function (requestParameters, axiosOptions) {
|
|
37982
|
-
return localVarFp.startIdentitiesInvite(requestParameters.inviteIdentitiesRequestV2024,
|
|
37916
|
+
return localVarFp.startIdentitiesInvite(requestParameters.inviteIdentitiesRequestV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
37983
37917
|
},
|
|
37984
37918
|
/**
|
|
37985
37919
|
* This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of [event-based processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#event-based-processing) and [scheduled processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#scheduled-processing) that runs every day at 8:00 AM and 8:00 PM in the tenant\'s timezone to keep your identities synchronized. This endpoint will perform the following tasks: 1. Calculate identity attributes, including applying or running any rules or transforms (e.g. calculate Lifecycle State at a point-in-time it\'s expected to change). 2. Evaluate role assignments, leading to assignment of new roles and removal of existing roles. 3. Enforce provisioning for any assigned accesses that haven\'t been fulfilled (e.g. failure due to source health). 4. Recalculate manager relationships. 5. Potentially clean-up identity processing errors, assuming the error has been resolved.
|
|
@@ -38025,7 +37959,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38025
37959
|
*/
|
|
38026
37960
|
IdentitiesV2024Api.prototype.deleteIdentity = function (requestParameters, axiosOptions) {
|
|
38027
37961
|
var _this = this;
|
|
38028
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).deleteIdentity(requestParameters.id,
|
|
37962
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).deleteIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38029
37963
|
};
|
|
38030
37964
|
/**
|
|
38031
37965
|
* This API returns a single identity using the Identity ID.
|
|
@@ -38037,7 +37971,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38037
37971
|
*/
|
|
38038
37972
|
IdentitiesV2024Api.prototype.getIdentity = function (requestParameters, axiosOptions) {
|
|
38039
37973
|
var _this = this;
|
|
38040
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getIdentity(requestParameters.id,
|
|
37974
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getIdentity(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38041
37975
|
};
|
|
38042
37976
|
/**
|
|
38043
37977
|
* Use this API to return an identity\'s owned objects that will cause problems for deleting the identity. Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity. For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity\'s owned objects.
|
|
@@ -38049,7 +37983,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38049
37983
|
*/
|
|
38050
37984
|
IdentitiesV2024Api.prototype.getIdentityOwnershipDetails = function (requestParameters, axiosOptions) {
|
|
38051
37985
|
var _this = this;
|
|
38052
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getIdentityOwnershipDetails(requestParameters.identityId,
|
|
37986
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getIdentityOwnershipDetails(requestParameters.identityId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38053
37987
|
};
|
|
38054
37988
|
/**
|
|
38055
37989
|
*
|
|
@@ -38061,7 +37995,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38061
37995
|
*/
|
|
38062
37996
|
IdentitiesV2024Api.prototype.getRoleAssignment = function (requestParameters, axiosOptions) {
|
|
38063
37997
|
var _this = this;
|
|
38064
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getRoleAssignment(requestParameters.identityId, requestParameters.assignmentId,
|
|
37998
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getRoleAssignment(requestParameters.identityId, requestParameters.assignmentId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38065
37999
|
};
|
|
38066
38000
|
/**
|
|
38067
38001
|
* This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id.
|
|
@@ -38073,7 +38007,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38073
38007
|
*/
|
|
38074
38008
|
IdentitiesV2024Api.prototype.getRoleAssignments = function (requestParameters, axiosOptions) {
|
|
38075
38009
|
var _this = this;
|
|
38076
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getRoleAssignments(requestParameters.identityId, requestParameters.roleId, requestParameters.roleName,
|
|
38010
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).getRoleAssignments(requestParameters.identityId, requestParameters.roleId, requestParameters.roleName, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38077
38011
|
};
|
|
38078
38012
|
/**
|
|
38079
38013
|
* This API returns a list of identities.
|
|
@@ -38086,7 +38020,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38086
38020
|
IdentitiesV2024Api.prototype.listIdentities = function (requestParameters, axiosOptions) {
|
|
38087
38021
|
var _this = this;
|
|
38088
38022
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
38089
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).listIdentities(requestParameters.filters, requestParameters.sorters, requestParameters.defaultFilter, requestParameters.count, requestParameters.limit, requestParameters.offset,
|
|
38023
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).listIdentities(requestParameters.filters, requestParameters.sorters, requestParameters.defaultFilter, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38090
38024
|
};
|
|
38091
38025
|
/**
|
|
38092
38026
|
* Use this endpoint to reset a user\'s identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have.
|
|
@@ -38098,7 +38032,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38098
38032
|
*/
|
|
38099
38033
|
IdentitiesV2024Api.prototype.resetIdentity = function (requestParameters, axiosOptions) {
|
|
38100
38034
|
var _this = this;
|
|
38101
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).resetIdentity(requestParameters.identityId,
|
|
38035
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).resetIdentity(requestParameters.identityId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38102
38036
|
};
|
|
38103
38037
|
/**
|
|
38104
38038
|
* This API sends an email with the link to start Password Reset. After selecting the link an identity will be able to set up a new password. Emails expire after 2 hours.
|
|
@@ -38122,7 +38056,7 @@ var IdentitiesV2024Api = /** @class */ (function (_super) {
|
|
|
38122
38056
|
*/
|
|
38123
38057
|
IdentitiesV2024Api.prototype.startIdentitiesInvite = function (requestParameters, axiosOptions) {
|
|
38124
38058
|
var _this = this;
|
|
38125
|
-
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).startIdentitiesInvite(requestParameters.inviteIdentitiesRequestV2024,
|
|
38059
|
+
return (0, exports.IdentitiesV2024ApiFp)(this.configuration).startIdentitiesInvite(requestParameters.inviteIdentitiesRequestV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38126
38060
|
};
|
|
38127
38061
|
/**
|
|
38128
38062
|
* This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of [event-based processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#event-based-processing) and [scheduled processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#scheduled-processing) that runs every day at 8:00 AM and 8:00 PM in the tenant\'s timezone to keep your identities synchronized. This endpoint will perform the following tasks: 1. Calculate identity attributes, including applying or running any rules or transforms (e.g. calculate Lifecycle State at a point-in-time it\'s expected to change). 2. Evaluate role assignments, leading to assignment of new roles and removal of existing roles. 3. Enforce provisioning for any assigned accesses that haven\'t been fulfilled (e.g. failure due to source health). 4. Recalculate manager relationships. 5. Potentially clean-up identity processing errors, assuming the error has been resolved.
|
|
@@ -38168,23 +38102,17 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38168
38102
|
/**
|
|
38169
38103
|
* Use this API to create a new identity attribute.
|
|
38170
38104
|
* @summary Create identity attribute
|
|
38171
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
38172
38105
|
* @param {IdentityAttributeV2024} identityAttributeV2024
|
|
38173
38106
|
* @param {*} [axiosOptions] Override http request option.
|
|
38174
38107
|
* @throws {RequiredError}
|
|
38175
38108
|
*/
|
|
38176
|
-
createIdentityAttribute: function (
|
|
38109
|
+
createIdentityAttribute: function (identityAttributeV2024, axiosOptions) {
|
|
38177
38110
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
38178
38111
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38179
38112
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
38180
38113
|
return __generator(this, function (_a) {
|
|
38181
38114
|
switch (_a.label) {
|
|
38182
38115
|
case 0:
|
|
38183
|
-
if (xSailPointExperimental === undefined) {
|
|
38184
|
-
xSailPointExperimental = 'true';
|
|
38185
|
-
}
|
|
38186
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
38187
|
-
(0, common_1.assertParamExists)('createIdentityAttribute', 'xSailPointExperimental', xSailPointExperimental);
|
|
38188
38116
|
// verify required parameter 'identityAttributeV2024' is not null or undefined
|
|
38189
38117
|
(0, common_1.assertParamExists)('createIdentityAttribute', 'identityAttributeV2024', identityAttributeV2024);
|
|
38190
38118
|
localVarPath = "/identity-attributes";
|
|
@@ -38213,9 +38141,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38213
38141
|
// oauth required
|
|
38214
38142
|
_a.sent();
|
|
38215
38143
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38216
|
-
if (xSailPointExperimental != null) {
|
|
38217
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
38218
|
-
}
|
|
38219
38144
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38220
38145
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38221
38146
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -38232,11 +38157,10 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38232
38157
|
* This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute.
|
|
38233
38158
|
* @summary Delete identity attribute
|
|
38234
38159
|
* @param {string} name The attribute\'s technical name.
|
|
38235
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
38236
38160
|
* @param {*} [axiosOptions] Override http request option.
|
|
38237
38161
|
* @throws {RequiredError}
|
|
38238
38162
|
*/
|
|
38239
|
-
deleteIdentityAttribute: function (name,
|
|
38163
|
+
deleteIdentityAttribute: function (name, axiosOptions) {
|
|
38240
38164
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
38241
38165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38242
38166
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -38245,11 +38169,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38245
38169
|
case 0:
|
|
38246
38170
|
// verify required parameter 'name' is not null or undefined
|
|
38247
38171
|
(0, common_1.assertParamExists)('deleteIdentityAttribute', 'name', name);
|
|
38248
|
-
if (xSailPointExperimental === undefined) {
|
|
38249
|
-
xSailPointExperimental = 'true';
|
|
38250
|
-
}
|
|
38251
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
38252
|
-
(0, common_1.assertParamExists)('deleteIdentityAttribute', 'xSailPointExperimental', xSailPointExperimental);
|
|
38253
38172
|
localVarPath = "/identity-attributes/{name}"
|
|
38254
38173
|
.replace("{".concat("name", "}"), encodeURIComponent(String(name)));
|
|
38255
38174
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -38276,9 +38195,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38276
38195
|
// authentication userAuth required
|
|
38277
38196
|
// oauth required
|
|
38278
38197
|
_a.sent();
|
|
38279
|
-
if (xSailPointExperimental != null) {
|
|
38280
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
38281
|
-
}
|
|
38282
38198
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38283
38199
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38284
38200
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -38294,11 +38210,10 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38294
38210
|
* Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to \'false\' before you can delete an identity attribute.
|
|
38295
38211
|
* @summary Bulk delete identity attributes
|
|
38296
38212
|
* @param {IdentityAttributeNamesV2024} identityAttributeNamesV2024
|
|
38297
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
38298
38213
|
* @param {*} [axiosOptions] Override http request option.
|
|
38299
38214
|
* @throws {RequiredError}
|
|
38300
38215
|
*/
|
|
38301
|
-
deleteIdentityAttributesInBulk: function (identityAttributeNamesV2024,
|
|
38216
|
+
deleteIdentityAttributesInBulk: function (identityAttributeNamesV2024, axiosOptions) {
|
|
38302
38217
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
38303
38218
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38304
38219
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -38307,9 +38222,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38307
38222
|
case 0:
|
|
38308
38223
|
// verify required parameter 'identityAttributeNamesV2024' is not null or undefined
|
|
38309
38224
|
(0, common_1.assertParamExists)('deleteIdentityAttributesInBulk', 'identityAttributeNamesV2024', identityAttributeNamesV2024);
|
|
38310
|
-
if (xSailPointExperimental === undefined) {
|
|
38311
|
-
xSailPointExperimental = 'true';
|
|
38312
|
-
}
|
|
38313
38225
|
localVarPath = "/identity-attributes/bulk-delete";
|
|
38314
38226
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
38315
38227
|
if (configuration) {
|
|
@@ -38336,9 +38248,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38336
38248
|
// oauth required
|
|
38337
38249
|
_a.sent();
|
|
38338
38250
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38339
|
-
if (xSailPointExperimental != null) {
|
|
38340
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
38341
|
-
}
|
|
38342
38251
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38343
38252
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38344
38253
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -38355,11 +38264,10 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38355
38264
|
* This gets an identity attribute for a given technical name.
|
|
38356
38265
|
* @summary Get identity attribute
|
|
38357
38266
|
* @param {string} name The attribute\'s technical name.
|
|
38358
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
38359
38267
|
* @param {*} [axiosOptions] Override http request option.
|
|
38360
38268
|
* @throws {RequiredError}
|
|
38361
38269
|
*/
|
|
38362
|
-
getIdentityAttribute: function (name,
|
|
38270
|
+
getIdentityAttribute: function (name, axiosOptions) {
|
|
38363
38271
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
38364
38272
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38365
38273
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -38368,9 +38276,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38368
38276
|
case 0:
|
|
38369
38277
|
// verify required parameter 'name' is not null or undefined
|
|
38370
38278
|
(0, common_1.assertParamExists)('getIdentityAttribute', 'name', name);
|
|
38371
|
-
if (xSailPointExperimental === undefined) {
|
|
38372
|
-
xSailPointExperimental = 'true';
|
|
38373
|
-
}
|
|
38374
38279
|
localVarPath = "/identity-attributes/{name}"
|
|
38375
38280
|
.replace("{".concat("name", "}"), encodeURIComponent(String(name)));
|
|
38376
38281
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -38397,9 +38302,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38397
38302
|
// authentication userAuth required
|
|
38398
38303
|
// oauth required
|
|
38399
38304
|
_a.sent();
|
|
38400
|
-
if (xSailPointExperimental != null) {
|
|
38401
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
38402
|
-
}
|
|
38403
38305
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38404
38306
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38405
38307
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -38418,20 +38320,16 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38418
38320
|
* @param {boolean} [includeSilent] Include \'silent\' attributes in the response.
|
|
38419
38321
|
* @param {boolean} [searchableOnly] Include only \'searchable\' attributes in the response.
|
|
38420
38322
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
38421
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
38422
38323
|
* @param {*} [axiosOptions] Override http request option.
|
|
38423
38324
|
* @throws {RequiredError}
|
|
38424
38325
|
*/
|
|
38425
|
-
listIdentityAttributes: function (includeSystem, includeSilent, searchableOnly, count,
|
|
38326
|
+
listIdentityAttributes: function (includeSystem, includeSilent, searchableOnly, count, axiosOptions) {
|
|
38426
38327
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
38427
38328
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38428
38329
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
38429
38330
|
return __generator(this, function (_a) {
|
|
38430
38331
|
switch (_a.label) {
|
|
38431
38332
|
case 0:
|
|
38432
|
-
if (xSailPointExperimental === undefined) {
|
|
38433
|
-
xSailPointExperimental = 'true';
|
|
38434
|
-
}
|
|
38435
38333
|
localVarPath = "/identity-attributes";
|
|
38436
38334
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
38437
38335
|
if (configuration) {
|
|
@@ -38469,9 +38367,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38469
38367
|
if (count !== undefined) {
|
|
38470
38368
|
localVarQueryParameter['count'] = count;
|
|
38471
38369
|
}
|
|
38472
|
-
if (xSailPointExperimental != null) {
|
|
38473
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
38474
|
-
}
|
|
38475
38370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38476
38371
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38477
38372
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -38487,12 +38382,11 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38487
38382
|
* This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
|
|
38488
38383
|
* @summary Update identity attribute
|
|
38489
38384
|
* @param {string} name The attribute\'s technical name.
|
|
38490
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
38491
38385
|
* @param {IdentityAttributeV2024} identityAttributeV2024
|
|
38492
38386
|
* @param {*} [axiosOptions] Override http request option.
|
|
38493
38387
|
* @throws {RequiredError}
|
|
38494
38388
|
*/
|
|
38495
|
-
putIdentityAttribute: function (name,
|
|
38389
|
+
putIdentityAttribute: function (name, identityAttributeV2024, axiosOptions) {
|
|
38496
38390
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
38497
38391
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38498
38392
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -38501,11 +38395,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38501
38395
|
case 0:
|
|
38502
38396
|
// verify required parameter 'name' is not null or undefined
|
|
38503
38397
|
(0, common_1.assertParamExists)('putIdentityAttribute', 'name', name);
|
|
38504
|
-
if (xSailPointExperimental === undefined) {
|
|
38505
|
-
xSailPointExperimental = 'true';
|
|
38506
|
-
}
|
|
38507
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
38508
|
-
(0, common_1.assertParamExists)('putIdentityAttribute', 'xSailPointExperimental', xSailPointExperimental);
|
|
38509
38398
|
// verify required parameter 'identityAttributeV2024' is not null or undefined
|
|
38510
38399
|
(0, common_1.assertParamExists)('putIdentityAttribute', 'identityAttributeV2024', identityAttributeV2024);
|
|
38511
38400
|
localVarPath = "/identity-attributes/{name}"
|
|
@@ -38535,9 +38424,6 @@ var IdentityAttributesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
38535
38424
|
// oauth required
|
|
38536
38425
|
_a.sent();
|
|
38537
38426
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38538
|
-
if (xSailPointExperimental != null) {
|
|
38539
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
38540
|
-
}
|
|
38541
38427
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38542
38428
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38543
38429
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -38563,18 +38449,17 @@ var IdentityAttributesV2024ApiFp = function (configuration) {
|
|
|
38563
38449
|
/**
|
|
38564
38450
|
* Use this API to create a new identity attribute.
|
|
38565
38451
|
* @summary Create identity attribute
|
|
38566
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
38567
38452
|
* @param {IdentityAttributeV2024} identityAttributeV2024
|
|
38568
38453
|
* @param {*} [axiosOptions] Override http request option.
|
|
38569
38454
|
* @throws {RequiredError}
|
|
38570
38455
|
*/
|
|
38571
|
-
createIdentityAttribute: function (
|
|
38456
|
+
createIdentityAttribute: function (identityAttributeV2024, axiosOptions) {
|
|
38572
38457
|
var _a, _b, _c;
|
|
38573
38458
|
return __awaiter(this, void 0, void 0, function () {
|
|
38574
38459
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
38575
38460
|
return __generator(this, function (_d) {
|
|
38576
38461
|
switch (_d.label) {
|
|
38577
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createIdentityAttribute(
|
|
38462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createIdentityAttribute(identityAttributeV2024, axiosOptions)];
|
|
38578
38463
|
case 1:
|
|
38579
38464
|
localVarAxiosArgs = _d.sent();
|
|
38580
38465
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -38588,17 +38473,16 @@ var IdentityAttributesV2024ApiFp = function (configuration) {
|
|
|
38588
38473
|
* This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute.
|
|
38589
38474
|
* @summary Delete identity attribute
|
|
38590
38475
|
* @param {string} name The attribute\'s technical name.
|
|
38591
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
38592
38476
|
* @param {*} [axiosOptions] Override http request option.
|
|
38593
38477
|
* @throws {RequiredError}
|
|
38594
38478
|
*/
|
|
38595
|
-
deleteIdentityAttribute: function (name,
|
|
38479
|
+
deleteIdentityAttribute: function (name, axiosOptions) {
|
|
38596
38480
|
var _a, _b, _c;
|
|
38597
38481
|
return __awaiter(this, void 0, void 0, function () {
|
|
38598
38482
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
38599
38483
|
return __generator(this, function (_d) {
|
|
38600
38484
|
switch (_d.label) {
|
|
38601
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIdentityAttribute(name,
|
|
38485
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIdentityAttribute(name, axiosOptions)];
|
|
38602
38486
|
case 1:
|
|
38603
38487
|
localVarAxiosArgs = _d.sent();
|
|
38604
38488
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -38612,17 +38496,16 @@ var IdentityAttributesV2024ApiFp = function (configuration) {
|
|
|
38612
38496
|
* Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to \'false\' before you can delete an identity attribute.
|
|
38613
38497
|
* @summary Bulk delete identity attributes
|
|
38614
38498
|
* @param {IdentityAttributeNamesV2024} identityAttributeNamesV2024
|
|
38615
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
38616
38499
|
* @param {*} [axiosOptions] Override http request option.
|
|
38617
38500
|
* @throws {RequiredError}
|
|
38618
38501
|
*/
|
|
38619
|
-
deleteIdentityAttributesInBulk: function (identityAttributeNamesV2024,
|
|
38502
|
+
deleteIdentityAttributesInBulk: function (identityAttributeNamesV2024, axiosOptions) {
|
|
38620
38503
|
var _a, _b, _c;
|
|
38621
38504
|
return __awaiter(this, void 0, void 0, function () {
|
|
38622
38505
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
38623
38506
|
return __generator(this, function (_d) {
|
|
38624
38507
|
switch (_d.label) {
|
|
38625
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIdentityAttributesInBulk(identityAttributeNamesV2024,
|
|
38508
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteIdentityAttributesInBulk(identityAttributeNamesV2024, axiosOptions)];
|
|
38626
38509
|
case 1:
|
|
38627
38510
|
localVarAxiosArgs = _d.sent();
|
|
38628
38511
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -38636,17 +38519,16 @@ var IdentityAttributesV2024ApiFp = function (configuration) {
|
|
|
38636
38519
|
* This gets an identity attribute for a given technical name.
|
|
38637
38520
|
* @summary Get identity attribute
|
|
38638
38521
|
* @param {string} name The attribute\'s technical name.
|
|
38639
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
38640
38522
|
* @param {*} [axiosOptions] Override http request option.
|
|
38641
38523
|
* @throws {RequiredError}
|
|
38642
38524
|
*/
|
|
38643
|
-
getIdentityAttribute: function (name,
|
|
38525
|
+
getIdentityAttribute: function (name, axiosOptions) {
|
|
38644
38526
|
var _a, _b, _c;
|
|
38645
38527
|
return __awaiter(this, void 0, void 0, function () {
|
|
38646
38528
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
38647
38529
|
return __generator(this, function (_d) {
|
|
38648
38530
|
switch (_d.label) {
|
|
38649
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIdentityAttribute(name,
|
|
38531
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIdentityAttribute(name, axiosOptions)];
|
|
38650
38532
|
case 1:
|
|
38651
38533
|
localVarAxiosArgs = _d.sent();
|
|
38652
38534
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -38663,17 +38545,16 @@ var IdentityAttributesV2024ApiFp = function (configuration) {
|
|
|
38663
38545
|
* @param {boolean} [includeSilent] Include \'silent\' attributes in the response.
|
|
38664
38546
|
* @param {boolean} [searchableOnly] Include only \'searchable\' attributes in the response.
|
|
38665
38547
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
38666
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
38667
38548
|
* @param {*} [axiosOptions] Override http request option.
|
|
38668
38549
|
* @throws {RequiredError}
|
|
38669
38550
|
*/
|
|
38670
|
-
listIdentityAttributes: function (includeSystem, includeSilent, searchableOnly, count,
|
|
38551
|
+
listIdentityAttributes: function (includeSystem, includeSilent, searchableOnly, count, axiosOptions) {
|
|
38671
38552
|
var _a, _b, _c;
|
|
38672
38553
|
return __awaiter(this, void 0, void 0, function () {
|
|
38673
38554
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
38674
38555
|
return __generator(this, function (_d) {
|
|
38675
38556
|
switch (_d.label) {
|
|
38676
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIdentityAttributes(includeSystem, includeSilent, searchableOnly, count,
|
|
38557
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIdentityAttributes(includeSystem, includeSilent, searchableOnly, count, axiosOptions)];
|
|
38677
38558
|
case 1:
|
|
38678
38559
|
localVarAxiosArgs = _d.sent();
|
|
38679
38560
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -38687,18 +38568,17 @@ var IdentityAttributesV2024ApiFp = function (configuration) {
|
|
|
38687
38568
|
* This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
|
|
38688
38569
|
* @summary Update identity attribute
|
|
38689
38570
|
* @param {string} name The attribute\'s technical name.
|
|
38690
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
38691
38571
|
* @param {IdentityAttributeV2024} identityAttributeV2024
|
|
38692
38572
|
* @param {*} [axiosOptions] Override http request option.
|
|
38693
38573
|
* @throws {RequiredError}
|
|
38694
38574
|
*/
|
|
38695
|
-
putIdentityAttribute: function (name,
|
|
38575
|
+
putIdentityAttribute: function (name, identityAttributeV2024, axiosOptions) {
|
|
38696
38576
|
var _a, _b, _c;
|
|
38697
38577
|
return __awaiter(this, void 0, void 0, function () {
|
|
38698
38578
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
38699
38579
|
return __generator(this, function (_d) {
|
|
38700
38580
|
switch (_d.label) {
|
|
38701
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putIdentityAttribute(name,
|
|
38581
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putIdentityAttribute(name, identityAttributeV2024, axiosOptions)];
|
|
38702
38582
|
case 1:
|
|
38703
38583
|
localVarAxiosArgs = _d.sent();
|
|
38704
38584
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -38726,7 +38606,7 @@ var IdentityAttributesV2024ApiFactory = function (configuration, basePath, axios
|
|
|
38726
38606
|
* @throws {RequiredError}
|
|
38727
38607
|
*/
|
|
38728
38608
|
createIdentityAttribute: function (requestParameters, axiosOptions) {
|
|
38729
|
-
return localVarFp.createIdentityAttribute(requestParameters.
|
|
38609
|
+
return localVarFp.createIdentityAttribute(requestParameters.identityAttributeV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
38730
38610
|
},
|
|
38731
38611
|
/**
|
|
38732
38612
|
* This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute.
|
|
@@ -38736,7 +38616,7 @@ var IdentityAttributesV2024ApiFactory = function (configuration, basePath, axios
|
|
|
38736
38616
|
* @throws {RequiredError}
|
|
38737
38617
|
*/
|
|
38738
38618
|
deleteIdentityAttribute: function (requestParameters, axiosOptions) {
|
|
38739
|
-
return localVarFp.deleteIdentityAttribute(requestParameters.name,
|
|
38619
|
+
return localVarFp.deleteIdentityAttribute(requestParameters.name, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
38740
38620
|
},
|
|
38741
38621
|
/**
|
|
38742
38622
|
* Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to \'false\' before you can delete an identity attribute.
|
|
@@ -38746,7 +38626,7 @@ var IdentityAttributesV2024ApiFactory = function (configuration, basePath, axios
|
|
|
38746
38626
|
* @throws {RequiredError}
|
|
38747
38627
|
*/
|
|
38748
38628
|
deleteIdentityAttributesInBulk: function (requestParameters, axiosOptions) {
|
|
38749
|
-
return localVarFp.deleteIdentityAttributesInBulk(requestParameters.identityAttributeNamesV2024,
|
|
38629
|
+
return localVarFp.deleteIdentityAttributesInBulk(requestParameters.identityAttributeNamesV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
38750
38630
|
},
|
|
38751
38631
|
/**
|
|
38752
38632
|
* This gets an identity attribute for a given technical name.
|
|
@@ -38756,7 +38636,7 @@ var IdentityAttributesV2024ApiFactory = function (configuration, basePath, axios
|
|
|
38756
38636
|
* @throws {RequiredError}
|
|
38757
38637
|
*/
|
|
38758
38638
|
getIdentityAttribute: function (requestParameters, axiosOptions) {
|
|
38759
|
-
return localVarFp.getIdentityAttribute(requestParameters.name,
|
|
38639
|
+
return localVarFp.getIdentityAttribute(requestParameters.name, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
38760
38640
|
},
|
|
38761
38641
|
/**
|
|
38762
38642
|
* Use this API to get a collection of identity attributes.
|
|
@@ -38767,7 +38647,7 @@ var IdentityAttributesV2024ApiFactory = function (configuration, basePath, axios
|
|
|
38767
38647
|
*/
|
|
38768
38648
|
listIdentityAttributes: function (requestParameters, axiosOptions) {
|
|
38769
38649
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
38770
|
-
return localVarFp.listIdentityAttributes(requestParameters.includeSystem, requestParameters.includeSilent, requestParameters.searchableOnly, requestParameters.count,
|
|
38650
|
+
return localVarFp.listIdentityAttributes(requestParameters.includeSystem, requestParameters.includeSilent, requestParameters.searchableOnly, requestParameters.count, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
38771
38651
|
},
|
|
38772
38652
|
/**
|
|
38773
38653
|
* This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
|
|
@@ -38777,7 +38657,7 @@ var IdentityAttributesV2024ApiFactory = function (configuration, basePath, axios
|
|
|
38777
38657
|
* @throws {RequiredError}
|
|
38778
38658
|
*/
|
|
38779
38659
|
putIdentityAttribute: function (requestParameters, axiosOptions) {
|
|
38780
|
-
return localVarFp.putIdentityAttribute(requestParameters.name, requestParameters.
|
|
38660
|
+
return localVarFp.putIdentityAttribute(requestParameters.name, requestParameters.identityAttributeV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
38781
38661
|
},
|
|
38782
38662
|
};
|
|
38783
38663
|
};
|
|
@@ -38803,7 +38683,7 @@ var IdentityAttributesV2024Api = /** @class */ (function (_super) {
|
|
|
38803
38683
|
*/
|
|
38804
38684
|
IdentityAttributesV2024Api.prototype.createIdentityAttribute = function (requestParameters, axiosOptions) {
|
|
38805
38685
|
var _this = this;
|
|
38806
|
-
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).createIdentityAttribute(requestParameters.
|
|
38686
|
+
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).createIdentityAttribute(requestParameters.identityAttributeV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38807
38687
|
};
|
|
38808
38688
|
/**
|
|
38809
38689
|
* This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute.
|
|
@@ -38815,7 +38695,7 @@ var IdentityAttributesV2024Api = /** @class */ (function (_super) {
|
|
|
38815
38695
|
*/
|
|
38816
38696
|
IdentityAttributesV2024Api.prototype.deleteIdentityAttribute = function (requestParameters, axiosOptions) {
|
|
38817
38697
|
var _this = this;
|
|
38818
|
-
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).deleteIdentityAttribute(requestParameters.name,
|
|
38698
|
+
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).deleteIdentityAttribute(requestParameters.name, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38819
38699
|
};
|
|
38820
38700
|
/**
|
|
38821
38701
|
* Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to \'false\' before you can delete an identity attribute.
|
|
@@ -38827,7 +38707,7 @@ var IdentityAttributesV2024Api = /** @class */ (function (_super) {
|
|
|
38827
38707
|
*/
|
|
38828
38708
|
IdentityAttributesV2024Api.prototype.deleteIdentityAttributesInBulk = function (requestParameters, axiosOptions) {
|
|
38829
38709
|
var _this = this;
|
|
38830
|
-
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).deleteIdentityAttributesInBulk(requestParameters.identityAttributeNamesV2024,
|
|
38710
|
+
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).deleteIdentityAttributesInBulk(requestParameters.identityAttributeNamesV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38831
38711
|
};
|
|
38832
38712
|
/**
|
|
38833
38713
|
* This gets an identity attribute for a given technical name.
|
|
@@ -38839,7 +38719,7 @@ var IdentityAttributesV2024Api = /** @class */ (function (_super) {
|
|
|
38839
38719
|
*/
|
|
38840
38720
|
IdentityAttributesV2024Api.prototype.getIdentityAttribute = function (requestParameters, axiosOptions) {
|
|
38841
38721
|
var _this = this;
|
|
38842
|
-
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).getIdentityAttribute(requestParameters.name,
|
|
38722
|
+
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).getIdentityAttribute(requestParameters.name, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38843
38723
|
};
|
|
38844
38724
|
/**
|
|
38845
38725
|
* Use this API to get a collection of identity attributes.
|
|
@@ -38852,7 +38732,7 @@ var IdentityAttributesV2024Api = /** @class */ (function (_super) {
|
|
|
38852
38732
|
IdentityAttributesV2024Api.prototype.listIdentityAttributes = function (requestParameters, axiosOptions) {
|
|
38853
38733
|
var _this = this;
|
|
38854
38734
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
38855
|
-
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).listIdentityAttributes(requestParameters.includeSystem, requestParameters.includeSilent, requestParameters.searchableOnly, requestParameters.count,
|
|
38735
|
+
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).listIdentityAttributes(requestParameters.includeSystem, requestParameters.includeSilent, requestParameters.searchableOnly, requestParameters.count, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38856
38736
|
};
|
|
38857
38737
|
/**
|
|
38858
38738
|
* This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
|
|
@@ -38864,7 +38744,7 @@ var IdentityAttributesV2024Api = /** @class */ (function (_super) {
|
|
|
38864
38744
|
*/
|
|
38865
38745
|
IdentityAttributesV2024Api.prototype.putIdentityAttribute = function (requestParameters, axiosOptions) {
|
|
38866
38746
|
var _this = this;
|
|
38867
|
-
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).putIdentityAttribute(requestParameters.name, requestParameters.
|
|
38747
|
+
return (0, exports.IdentityAttributesV2024ApiFp)(this.configuration).putIdentityAttribute(requestParameters.name, requestParameters.identityAttributeV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38868
38748
|
};
|
|
38869
38749
|
return IdentityAttributesV2024Api;
|
|
38870
38750
|
}(base_1.BaseAPI));
|
|
@@ -43304,7 +43184,7 @@ var MachineAccountMappingsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
43304
43184
|
},
|
|
43305
43185
|
/**
|
|
43306
43186
|
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
43307
|
-
* @summary Update
|
|
43187
|
+
* @summary Update Source\'s Machine Account Mappings
|
|
43308
43188
|
* @param {string} id Source ID.
|
|
43309
43189
|
* @param {AttributeMappingsV2024} attributeMappingsV2024
|
|
43310
43190
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -43444,7 +43324,7 @@ var MachineAccountMappingsV2024ApiFp = function (configuration) {
|
|
|
43444
43324
|
},
|
|
43445
43325
|
/**
|
|
43446
43326
|
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
43447
|
-
* @summary Update
|
|
43327
|
+
* @summary Update Source\'s Machine Account Mappings
|
|
43448
43328
|
* @param {string} id Source ID.
|
|
43449
43329
|
* @param {AttributeMappingsV2024} attributeMappingsV2024
|
|
43450
43330
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -43508,7 +43388,7 @@ var MachineAccountMappingsV2024ApiFactory = function (configuration, basePath, a
|
|
|
43508
43388
|
},
|
|
43509
43389
|
/**
|
|
43510
43390
|
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
43511
|
-
* @summary Update
|
|
43391
|
+
* @summary Update Source\'s Machine Account Mappings
|
|
43512
43392
|
* @param {MachineAccountMappingsV2024ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
43513
43393
|
* @param {*} [axiosOptions] Override http request option.
|
|
43514
43394
|
* @throws {RequiredError}
|
|
@@ -43568,7 +43448,7 @@ var MachineAccountMappingsV2024Api = /** @class */ (function (_super) {
|
|
|
43568
43448
|
};
|
|
43569
43449
|
/**
|
|
43570
43450
|
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
43571
|
-
* @summary Update
|
|
43451
|
+
* @summary Update Source\'s Machine Account Mappings
|
|
43572
43452
|
* @param {MachineAccountMappingsV2024ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
43573
43453
|
* @param {*} [axiosOptions] Override http request option.
|
|
43574
43454
|
* @throws {RequiredError}
|
|
@@ -57851,7 +57731,7 @@ var RequestableObjectsV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
57851
57731
|
* Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v2024/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. Any authenticated token can call this endpoint to see their requestable access items.
|
|
57852
57732
|
* @summary Requestable objects list
|
|
57853
57733
|
* @param {string} [identityId] If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result.
|
|
57854
|
-
* @param {Array<
|
|
57734
|
+
* @param {Array<ListRequestableObjectsTypesV2024>} [types] Filters the results to the specified type/types, where each type is one of `ROLE` or `ACCESS_PROFILE`. If absent, all types are returned. SailPoint may add support for additional types in the future without notice.
|
|
57855
57735
|
* @param {string} [term] Allows searching requestable access items with a partial match on the name or description. If `term` is provided, then the API will ignore the `filter` query parameter.
|
|
57856
57736
|
* @param {Array<RequestableObjectRequestStatusV2024>} [statuses] Filters the result to the specified status/statuses, where each status is one of `AVAILABLE`, `ASSIGNED`, or `PENDING`. Specifying this parameter without also specifying an `identity-id` parameter results in an error. SailPoint may add additional statuses in the future without notice.
|
|
57857
57737
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
@@ -57946,7 +57826,7 @@ var RequestableObjectsV2024ApiFp = function (configuration) {
|
|
|
57946
57826
|
* Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v2024/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter. Any authenticated token can call this endpoint to see their requestable access items.
|
|
57947
57827
|
* @summary Requestable objects list
|
|
57948
57828
|
* @param {string} [identityId] If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result.
|
|
57949
|
-
* @param {Array<
|
|
57829
|
+
* @param {Array<ListRequestableObjectsTypesV2024>} [types] Filters the results to the specified type/types, where each type is one of `ROLE` or `ACCESS_PROFILE`. If absent, all types are returned. SailPoint may add support for additional types in the future without notice.
|
|
57950
57830
|
* @param {string} [term] Allows searching requestable access items with a partial match on the name or description. If `term` is provided, then the API will ignore the `filter` query parameter.
|
|
57951
57831
|
* @param {Array<RequestableObjectRequestStatusV2024>} [statuses] Filters the result to the specified status/statuses, where each status is one of `AVAILABLE`, `ASSIGNED`, or `PENDING`. Specifying this parameter without also specifying an `identity-id` parameter results in an error. SailPoint may add additional statuses in the future without notice.
|
|
57952
57832
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
@@ -58024,6 +57904,13 @@ var RequestableObjectsV2024Api = /** @class */ (function (_super) {
|
|
|
58024
57904
|
return RequestableObjectsV2024Api;
|
|
58025
57905
|
}(base_1.BaseAPI));
|
|
58026
57906
|
exports.RequestableObjectsV2024Api = RequestableObjectsV2024Api;
|
|
57907
|
+
/**
|
|
57908
|
+
* @export
|
|
57909
|
+
*/
|
|
57910
|
+
exports.ListRequestableObjectsTypesV2024 = {
|
|
57911
|
+
AccessProfile: 'ACCESS_PROFILE',
|
|
57912
|
+
Role: 'ROLE'
|
|
57913
|
+
};
|
|
58027
57914
|
/**
|
|
58028
57915
|
* RoleInsightsV2024Api - axios parameter creator
|
|
58029
57916
|
* @export
|
|
@@ -69072,11 +68959,10 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
69072
68959
|
* Deletes the native change detection configuration for the source specified by the given ID.
|
|
69073
68960
|
* @summary Delete native change detection configuration
|
|
69074
68961
|
* @param {string} id The source id
|
|
69075
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
69076
68962
|
* @param {*} [axiosOptions] Override http request option.
|
|
69077
68963
|
* @throws {RequiredError}
|
|
69078
68964
|
*/
|
|
69079
|
-
deleteNativeChangeDetectionConfig: function (id,
|
|
68965
|
+
deleteNativeChangeDetectionConfig: function (id, axiosOptions) {
|
|
69080
68966
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
69081
68967
|
return __awaiter(_this, void 0, void 0, function () {
|
|
69082
68968
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -69085,11 +68971,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
69085
68971
|
case 0:
|
|
69086
68972
|
// verify required parameter 'id' is not null or undefined
|
|
69087
68973
|
(0, common_1.assertParamExists)('deleteNativeChangeDetectionConfig', 'id', id);
|
|
69088
|
-
if (xSailPointExperimental === undefined) {
|
|
69089
|
-
xSailPointExperimental = 'true';
|
|
69090
|
-
}
|
|
69091
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
69092
|
-
(0, common_1.assertParamExists)('deleteNativeChangeDetectionConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
69093
68974
|
localVarPath = "/sources/{sourceId}/native-change-detection-config"
|
|
69094
68975
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
69095
68976
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -69126,9 +69007,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
69126
69007
|
// authentication applicationAuth required
|
|
69127
69008
|
// oauth required
|
|
69128
69009
|
_a.sent();
|
|
69129
|
-
if (xSailPointExperimental != null) {
|
|
69130
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
69131
|
-
}
|
|
69132
69010
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69133
69011
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69134
69012
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -69541,11 +69419,10 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
69541
69419
|
* This API returns the existing native change detection configuration for a source specified by the given ID.
|
|
69542
69420
|
* @summary Native change detection configuration
|
|
69543
69421
|
* @param {string} id The source id
|
|
69544
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
69545
69422
|
* @param {*} [axiosOptions] Override http request option.
|
|
69546
69423
|
* @throws {RequiredError}
|
|
69547
69424
|
*/
|
|
69548
|
-
getNativeChangeDetectionConfig: function (id,
|
|
69425
|
+
getNativeChangeDetectionConfig: function (id, axiosOptions) {
|
|
69549
69426
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
69550
69427
|
return __awaiter(_this, void 0, void 0, function () {
|
|
69551
69428
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -69554,9 +69431,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
69554
69431
|
case 0:
|
|
69555
69432
|
// verify required parameter 'id' is not null or undefined
|
|
69556
69433
|
(0, common_1.assertParamExists)('getNativeChangeDetectionConfig', 'id', id);
|
|
69557
|
-
if (xSailPointExperimental === undefined) {
|
|
69558
|
-
xSailPointExperimental = 'true';
|
|
69559
|
-
}
|
|
69560
69434
|
localVarPath = "/sources/{sourceId}/native-change-detection-config"
|
|
69561
69435
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
69562
69436
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -69583,9 +69457,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
69583
69457
|
// authentication userAuth required
|
|
69584
69458
|
// oauth required
|
|
69585
69459
|
_a.sent();
|
|
69586
|
-
if (xSailPointExperimental != null) {
|
|
69587
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
69588
|
-
}
|
|
69589
69460
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69590
69461
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69591
69462
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -70415,6 +70286,73 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70415
70286
|
});
|
|
70416
70287
|
});
|
|
70417
70288
|
},
|
|
70289
|
+
/**
|
|
70290
|
+
* Starts an entitlement aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
70291
|
+
* @summary Entitlement aggregation
|
|
70292
|
+
* @param {string} sourceId Source Id
|
|
70293
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
70294
|
+
* @param {File} [file] The CSV file containing the source entitlements to aggregate.
|
|
70295
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
70296
|
+
* @throws {RequiredError}
|
|
70297
|
+
*/
|
|
70298
|
+
importEntitlements: function (sourceId, xSailPointExperimental, file, axiosOptions) {
|
|
70299
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
70300
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
70301
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
70302
|
+
return __generator(this, function (_a) {
|
|
70303
|
+
switch (_a.label) {
|
|
70304
|
+
case 0:
|
|
70305
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
70306
|
+
(0, common_1.assertParamExists)('importEntitlements', 'sourceId', sourceId);
|
|
70307
|
+
if (xSailPointExperimental === undefined) {
|
|
70308
|
+
xSailPointExperimental = 'true';
|
|
70309
|
+
}
|
|
70310
|
+
localVarPath = "/sources/{sourceId}/load-entitlements"
|
|
70311
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
70312
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70313
|
+
if (configuration) {
|
|
70314
|
+
baseOptions = configuration.baseOptions;
|
|
70315
|
+
}
|
|
70316
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
70317
|
+
localVarHeaderParameter = {};
|
|
70318
|
+
localVarQueryParameter = {};
|
|
70319
|
+
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
70320
|
+
// authentication userAuth required
|
|
70321
|
+
// oauth required
|
|
70322
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
70323
|
+
// authentication userAuth required
|
|
70324
|
+
// oauth required
|
|
70325
|
+
];
|
|
70326
|
+
case 1:
|
|
70327
|
+
// authentication userAuth required
|
|
70328
|
+
// oauth required
|
|
70329
|
+
_a.sent();
|
|
70330
|
+
// authentication userAuth required
|
|
70331
|
+
// oauth required
|
|
70332
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
70333
|
+
case 2:
|
|
70334
|
+
// authentication userAuth required
|
|
70335
|
+
// oauth required
|
|
70336
|
+
_a.sent();
|
|
70337
|
+
if (file !== undefined) {
|
|
70338
|
+
localVarFormParams.append('file', file);
|
|
70339
|
+
}
|
|
70340
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
70341
|
+
if (xSailPointExperimental != null) {
|
|
70342
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
70343
|
+
}
|
|
70344
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70345
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70346
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
70347
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
70348
|
+
return [2 /*return*/, {
|
|
70349
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70350
|
+
axiosOptions: localVarRequestOptions,
|
|
70351
|
+
}];
|
|
70352
|
+
}
|
|
70353
|
+
});
|
|
70354
|
+
});
|
|
70355
|
+
},
|
|
70418
70356
|
/**
|
|
70419
70357
|
* This API uploads a source schema template file to configure a source\'s entitlement attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Import Entitlements** -> **Download** >**NOTE: This API is designated only for Delimited File sources.**
|
|
70420
70358
|
* @summary Uploads source entitlements schema template
|
|
@@ -70811,12 +70749,11 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70811
70749
|
* Replaces the native change detection configuration for the source specified by the given ID with the configuration provided in the request body.
|
|
70812
70750
|
* @summary Update native change detection configuration
|
|
70813
70751
|
* @param {string} id The source id
|
|
70814
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
70815
70752
|
* @param {NativeChangeDetectionConfigV2024} nativeChangeDetectionConfigV2024
|
|
70816
70753
|
* @param {*} [axiosOptions] Override http request option.
|
|
70817
70754
|
* @throws {RequiredError}
|
|
70818
70755
|
*/
|
|
70819
|
-
putNativeChangeDetectionConfig: function (id,
|
|
70756
|
+
putNativeChangeDetectionConfig: function (id, nativeChangeDetectionConfigV2024, axiosOptions) {
|
|
70820
70757
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
70821
70758
|
return __awaiter(_this, void 0, void 0, function () {
|
|
70822
70759
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -70825,11 +70762,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70825
70762
|
case 0:
|
|
70826
70763
|
// verify required parameter 'id' is not null or undefined
|
|
70827
70764
|
(0, common_1.assertParamExists)('putNativeChangeDetectionConfig', 'id', id);
|
|
70828
|
-
if (xSailPointExperimental === undefined) {
|
|
70829
|
-
xSailPointExperimental = 'true';
|
|
70830
|
-
}
|
|
70831
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
70832
|
-
(0, common_1.assertParamExists)('putNativeChangeDetectionConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
70833
70765
|
// verify required parameter 'nativeChangeDetectionConfigV2024' is not null or undefined
|
|
70834
70766
|
(0, common_1.assertParamExists)('putNativeChangeDetectionConfig', 'nativeChangeDetectionConfigV2024', nativeChangeDetectionConfigV2024);
|
|
70835
70767
|
localVarPath = "/sources/{sourceId}/native-change-detection-config"
|
|
@@ -70859,9 +70791,6 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
70859
70791
|
// oauth required
|
|
70860
70792
|
_a.sent();
|
|
70861
70793
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70862
|
-
if (xSailPointExperimental != null) {
|
|
70863
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
70864
|
-
}
|
|
70865
70794
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70866
70795
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70867
70796
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -71934,17 +71863,16 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
71934
71863
|
* Deletes the native change detection configuration for the source specified by the given ID.
|
|
71935
71864
|
* @summary Delete native change detection configuration
|
|
71936
71865
|
* @param {string} id The source id
|
|
71937
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
71938
71866
|
* @param {*} [axiosOptions] Override http request option.
|
|
71939
71867
|
* @throws {RequiredError}
|
|
71940
71868
|
*/
|
|
71941
|
-
deleteNativeChangeDetectionConfig: function (id,
|
|
71869
|
+
deleteNativeChangeDetectionConfig: function (id, axiosOptions) {
|
|
71942
71870
|
var _a, _b, _c;
|
|
71943
71871
|
return __awaiter(this, void 0, void 0, function () {
|
|
71944
71872
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
71945
71873
|
return __generator(this, function (_d) {
|
|
71946
71874
|
switch (_d.label) {
|
|
71947
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteNativeChangeDetectionConfig(id,
|
|
71875
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteNativeChangeDetectionConfig(id, axiosOptions)];
|
|
71948
71876
|
case 1:
|
|
71949
71877
|
localVarAxiosArgs = _d.sent();
|
|
71950
71878
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -72123,17 +72051,16 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
72123
72051
|
* This API returns the existing native change detection configuration for a source specified by the given ID.
|
|
72124
72052
|
* @summary Native change detection configuration
|
|
72125
72053
|
* @param {string} id The source id
|
|
72126
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
72127
72054
|
* @param {*} [axiosOptions] Override http request option.
|
|
72128
72055
|
* @throws {RequiredError}
|
|
72129
72056
|
*/
|
|
72130
|
-
getNativeChangeDetectionConfig: function (id,
|
|
72057
|
+
getNativeChangeDetectionConfig: function (id, axiosOptions) {
|
|
72131
72058
|
var _a, _b, _c;
|
|
72132
72059
|
return __awaiter(this, void 0, void 0, function () {
|
|
72133
72060
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
72134
72061
|
return __generator(this, function (_d) {
|
|
72135
72062
|
switch (_d.label) {
|
|
72136
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getNativeChangeDetectionConfig(id,
|
|
72063
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getNativeChangeDetectionConfig(id, axiosOptions)];
|
|
72137
72064
|
case 1:
|
|
72138
72065
|
localVarAxiosArgs = _d.sent();
|
|
72139
72066
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -72477,6 +72404,31 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
72477
72404
|
});
|
|
72478
72405
|
});
|
|
72479
72406
|
},
|
|
72407
|
+
/**
|
|
72408
|
+
* Starts an entitlement aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
72409
|
+
* @summary Entitlement aggregation
|
|
72410
|
+
* @param {string} sourceId Source Id
|
|
72411
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
72412
|
+
* @param {File} [file] The CSV file containing the source entitlements to aggregate.
|
|
72413
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
72414
|
+
* @throws {RequiredError}
|
|
72415
|
+
*/
|
|
72416
|
+
importEntitlements: function (sourceId, xSailPointExperimental, file, axiosOptions) {
|
|
72417
|
+
var _a, _b, _c;
|
|
72418
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
72419
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
72420
|
+
return __generator(this, function (_d) {
|
|
72421
|
+
switch (_d.label) {
|
|
72422
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importEntitlements(sourceId, xSailPointExperimental, file, axiosOptions)];
|
|
72423
|
+
case 1:
|
|
72424
|
+
localVarAxiosArgs = _d.sent();
|
|
72425
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72426
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourcesV2024Api.importEntitlements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72427
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
72428
|
+
}
|
|
72429
|
+
});
|
|
72430
|
+
});
|
|
72431
|
+
},
|
|
72480
72432
|
/**
|
|
72481
72433
|
* This API uploads a source schema template file to configure a source\'s entitlement attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Import Entitlements** -> **Download** >**NOTE: This API is designated only for Delimited File sources.**
|
|
72482
72434
|
* @summary Uploads source entitlements schema template
|
|
@@ -72630,18 +72582,17 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
72630
72582
|
* Replaces the native change detection configuration for the source specified by the given ID with the configuration provided in the request body.
|
|
72631
72583
|
* @summary Update native change detection configuration
|
|
72632
72584
|
* @param {string} id The source id
|
|
72633
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
72634
72585
|
* @param {NativeChangeDetectionConfigV2024} nativeChangeDetectionConfigV2024
|
|
72635
72586
|
* @param {*} [axiosOptions] Override http request option.
|
|
72636
72587
|
* @throws {RequiredError}
|
|
72637
72588
|
*/
|
|
72638
|
-
putNativeChangeDetectionConfig: function (id,
|
|
72589
|
+
putNativeChangeDetectionConfig: function (id, nativeChangeDetectionConfigV2024, axiosOptions) {
|
|
72639
72590
|
var _a, _b, _c;
|
|
72640
72591
|
return __awaiter(this, void 0, void 0, function () {
|
|
72641
72592
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
72642
72593
|
return __generator(this, function (_d) {
|
|
72643
72594
|
switch (_d.label) {
|
|
72644
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putNativeChangeDetectionConfig(id,
|
|
72595
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putNativeChangeDetectionConfig(id, nativeChangeDetectionConfigV2024, axiosOptions)];
|
|
72645
72596
|
case 1:
|
|
72646
72597
|
localVarAxiosArgs = _d.sent();
|
|
72647
72598
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -73083,7 +73034,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73083
73034
|
* @throws {RequiredError}
|
|
73084
73035
|
*/
|
|
73085
73036
|
deleteNativeChangeDetectionConfig: function (requestParameters, axiosOptions) {
|
|
73086
|
-
return localVarFp.deleteNativeChangeDetectionConfig(requestParameters.id,
|
|
73037
|
+
return localVarFp.deleteNativeChangeDetectionConfig(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73087
73038
|
},
|
|
73088
73039
|
/**
|
|
73089
73040
|
* Deletes the provisioning policy with the specified usage on an application.
|
|
@@ -73163,7 +73114,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73163
73114
|
* @throws {RequiredError}
|
|
73164
73115
|
*/
|
|
73165
73116
|
getNativeChangeDetectionConfig: function (requestParameters, axiosOptions) {
|
|
73166
|
-
return localVarFp.getNativeChangeDetectionConfig(requestParameters.id,
|
|
73117
|
+
return localVarFp.getNativeChangeDetectionConfig(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73167
73118
|
},
|
|
73168
73119
|
/**
|
|
73169
73120
|
* This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow.
|
|
@@ -73306,6 +73257,16 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73306
73257
|
importConnectorFile: function (requestParameters, axiosOptions) {
|
|
73307
73258
|
return localVarFp.importConnectorFile(requestParameters.sourceId, requestParameters.file, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73308
73259
|
},
|
|
73260
|
+
/**
|
|
73261
|
+
* Starts an entitlement aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
73262
|
+
* @summary Entitlement aggregation
|
|
73263
|
+
* @param {SourcesV2024ApiImportEntitlementsRequest} requestParameters Request parameters.
|
|
73264
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
73265
|
+
* @throws {RequiredError}
|
|
73266
|
+
*/
|
|
73267
|
+
importEntitlements: function (requestParameters, axiosOptions) {
|
|
73268
|
+
return localVarFp.importEntitlements(requestParameters.sourceId, requestParameters.xSailPointExperimental, requestParameters.file, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73269
|
+
},
|
|
73309
73270
|
/**
|
|
73310
73271
|
* This API uploads a source schema template file to configure a source\'s entitlement attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Import Entitlements** -> **Download** >**NOTE: This API is designated only for Delimited File sources.**
|
|
73311
73272
|
* @summary Uploads source entitlements schema template
|
|
@@ -73375,7 +73336,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
73375
73336
|
* @throws {RequiredError}
|
|
73376
73337
|
*/
|
|
73377
73338
|
putNativeChangeDetectionConfig: function (requestParameters, axiosOptions) {
|
|
73378
|
-
return localVarFp.putNativeChangeDetectionConfig(requestParameters.id, requestParameters.
|
|
73339
|
+
return localVarFp.putNativeChangeDetectionConfig(requestParameters.id, requestParameters.nativeChangeDetectionConfigV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
73379
73340
|
},
|
|
73380
73341
|
/**
|
|
73381
73342
|
* This end-point updates the provisioning policy with the specified usage on the specified source in IdentityNow. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
@@ -73611,7 +73572,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73611
73572
|
*/
|
|
73612
73573
|
SourcesV2024Api.prototype.deleteNativeChangeDetectionConfig = function (requestParameters, axiosOptions) {
|
|
73613
73574
|
var _this = this;
|
|
73614
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).deleteNativeChangeDetectionConfig(requestParameters.id,
|
|
73575
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).deleteNativeChangeDetectionConfig(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73615
73576
|
};
|
|
73616
73577
|
/**
|
|
73617
73578
|
* Deletes the provisioning policy with the specified usage on an application.
|
|
@@ -73707,7 +73668,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73707
73668
|
*/
|
|
73708
73669
|
SourcesV2024Api.prototype.getNativeChangeDetectionConfig = function (requestParameters, axiosOptions) {
|
|
73709
73670
|
var _this = this;
|
|
73710
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).getNativeChangeDetectionConfig(requestParameters.id,
|
|
73671
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).getNativeChangeDetectionConfig(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73711
73672
|
};
|
|
73712
73673
|
/**
|
|
73713
73674
|
* This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow.
|
|
@@ -73878,6 +73839,18 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73878
73839
|
var _this = this;
|
|
73879
73840
|
return (0, exports.SourcesV2024ApiFp)(this.configuration).importConnectorFile(requestParameters.sourceId, requestParameters.file, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73880
73841
|
};
|
|
73842
|
+
/**
|
|
73843
|
+
* Starts an entitlement aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
73844
|
+
* @summary Entitlement aggregation
|
|
73845
|
+
* @param {SourcesV2024ApiImportEntitlementsRequest} requestParameters Request parameters.
|
|
73846
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
73847
|
+
* @throws {RequiredError}
|
|
73848
|
+
* @memberof SourcesV2024Api
|
|
73849
|
+
*/
|
|
73850
|
+
SourcesV2024Api.prototype.importEntitlements = function (requestParameters, axiosOptions) {
|
|
73851
|
+
var _this = this;
|
|
73852
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).importEntitlements(requestParameters.sourceId, requestParameters.xSailPointExperimental, requestParameters.file, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73853
|
+
};
|
|
73881
73854
|
/**
|
|
73882
73855
|
* This API uploads a source schema template file to configure a source\'s entitlement attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Import Entitlements** -> **Download** >**NOTE: This API is designated only for Delimited File sources.**
|
|
73883
73856
|
* @summary Uploads source entitlements schema template
|
|
@@ -73961,7 +73934,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
73961
73934
|
*/
|
|
73962
73935
|
SourcesV2024Api.prototype.putNativeChangeDetectionConfig = function (requestParameters, axiosOptions) {
|
|
73963
73936
|
var _this = this;
|
|
73964
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).putNativeChangeDetectionConfig(requestParameters.id, requestParameters.
|
|
73937
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).putNativeChangeDetectionConfig(requestParameters.id, requestParameters.nativeChangeDetectionConfigV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
73965
73938
|
};
|
|
73966
73939
|
/**
|
|
73967
73940
|
* This end-point updates the provisioning policy with the specified usage on the specified source in IdentityNow. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information.
|