sailpoint-api-client 1.3.1 → 1.3.2
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 +1139 -94
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/configuration.ts +6 -7
- package/dist/beta/api.d.ts +753 -47
- package/dist/beta/api.js +1284 -510
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/configuration.js +5 -5
- package/dist/configuration.js.map +1 -1
- package/dist/v3/api.d.ts +3499 -1739
- package/dist/v3/api.js +1894 -4
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +2 -2
- package/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +2634 -0
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/beta/api.js
CHANGED
|
@@ -79,17 +79,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
81
|
exports.AccountUncorrelatedIdentityBetaTypeEnum = exports.AccountUncorrelatedAccountBetaTypeEnum = exports.AccountStatusChangedStatusChangeBetaNewStatusEnum = exports.AccountStatusChangedStatusChangeBetaPreviousStatusEnum = exports.AccountCorrelatedSourceBetaTypeEnum = exports.AccountCorrelatedIdentityBetaTypeEnum = exports.AccountCorrelatedAccountBetaTypeEnum = exports.AccountAttributesChangedSourceBetaTypeEnum = exports.AccountAttributesChangedIdentityBetaTypeEnum = exports.AccountAttributesChangedAccountBetaTypeEnum = exports.AccountAggregationStatusBetaStatusEnum = exports.AccountAggregationCompletedSourceBetaTypeEnum = exports.AccountAggregationCompletedBetaStatusEnum = exports.AccountAggregationBetaStatusEnum = exports.AccountActivityItemOperationBeta = exports.AccountActionBetaActionEnum = exports.AccessTypeBeta = exports.AccessRequestTypeBeta = exports.AccessRequestRecommendationItemTypeBeta = exports.AccessRequestPreApprovalRequestedItemsInnerBetaOperationEnum = exports.AccessRequestPreApprovalRequestedItemsInnerBetaTypeEnum = exports.AccessRequestPostApprovalRequestedItemsStatusInnerBetaOperationEnum = exports.AccessRequestPostApprovalRequestedItemsStatusInnerBetaTypeEnum = exports.AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerBetaApprovalDecisionEnum = exports.AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApproverBetaTypeEnum = exports.AccessRequestPostApprovalRequestedByBetaTypeEnum = exports.AccessRequestPhasesBetaResultEnum = exports.AccessRequestPhasesBetaStateEnum = exports.AccessRequestItemResponseBetaDecisionEnum = exports.AccessRequestItemBetaTypeEnum = exports.AccessRequestDynamicApproverRequestedItemsInnerBetaOperationEnum = exports.AccessRequestDynamicApproverRequestedItemsInnerBetaTypeEnum = exports.AccessRequestDynamicApproverRequestedByBetaTypeEnum = exports.AccessRequestDynamicApprover1BetaTypeEnum = exports.AccessProfileUsageUsedByInnerBetaTypeEnum = exports.AccessProfileSourceRefBetaTypeEnum = exports.AccessProfileRefBetaTypeEnum = exports.AccessProfileApprovalSchemeBetaApproverTypeEnum = exports.AccessItemReviewedByBetaTypeEnum = exports.AccessItemRequesterDtoBetaTypeEnum = exports.AccessItemRequesterBetaTypeEnum = exports.AccessItemRequestedForDtoBetaTypeEnum = exports.AccessItemRequestedForBetaTypeEnum = exports.AccessItemRefBetaTypeEnum = exports.AccessItemOwnerDtoBetaTypeEnum = exports.AccessItemDiffBetaEventTypeEnum = exports.AccessItemApproverDtoBetaTypeEnum = exports.AccessCriteriaCriteriaListInnerBetaTypeEnum = exports.AccessConstraintBetaOperatorEnum = exports.AccessConstraintBetaTypeEnum = void 0;
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.WorkflowsBetaApi = exports.WorkflowsBetaApiFactory = exports.WorkflowsBetaApiFp = exports.WorkflowsBetaApiAxiosParamCreator = exports.WorkReassignmentBetaApi = exports.WorkReassignmentBetaApiFactory = exports.WorkReassignmentBetaApiFp = exports.WorkReassignmentBetaApiAxiosParamCreator = exports.WorkItemsBetaApi = exports.WorkItemsBetaApiFactory = exports.WorkItemsBetaApiFp = exports.WorkItemsBetaApiAxiosParamCreator = exports.TriggersBetaApi = exports.TriggersBetaApiFactory = exports.TriggersBetaApiFp = void 0;
|
|
82
|
+
exports.CompletedApprovalReviewedByBetaTypeEnum = exports.CompleteCampaignOptionsBetaAutoCompleteActionEnum = exports.CommonAccessTypeBeta = exports.CommonAccessItemStateBeta = exports.CommentDtoAuthorBetaTypeEnum = exports.CommentDto1AuthorBetaTypeEnum = exports.CloseAccessRequestBetaCompletionStatusEnum = exports.CloseAccessRequestBetaExecutionStatusEnum = exports.ClientTypeBeta = exports.CertificationTaskBetaStatusEnum = exports.CertificationTaskBetaTargetTypeEnum = exports.CertificationTaskBetaTypeEnum = exports.CertificationReferenceDtoBetaTypeEnum = exports.CertificationReferenceBetaTypeEnum = exports.CertificationPhaseBeta = exports.CampaignTemplateOwnerRefBetaTypeEnum = exports.CampaignReportBetaStatusEnum = exports.CampaignReportBetaTypeEnum = exports.CampaignReferenceBetaMandatoryCommentRequirementEnum = exports.CampaignReferenceBetaCorrelatedStatusEnum = exports.CampaignReferenceBetaCampaignTypeEnum = exports.CampaignReferenceBetaTypeEnum = exports.CampaignGeneratedCampaignBetaStatusEnum = exports.CampaignGeneratedCampaignBetaTypeEnum = exports.CampaignEndedCampaignBetaStatusEnum = exports.CampaignEndedCampaignBetaTypeEnum = exports.CampaignBetaMandatoryCommentRequirementEnum = exports.CampaignBetaCorrelatedStatusEnum = exports.CampaignBetaStatusEnum = exports.CampaignBetaTypeEnum = exports.CampaignAlertBetaLevelEnum = exports.CampaignActivatedCampaignBetaStatusEnum = exports.CampaignActivatedCampaignBetaTypeEnum = exports.BulkWorkgroupMembersRequestInnerBetaTypeEnum = exports.BulkTaggedObjectBetaOperationEnum = exports.BeforeProvisioningRuleDtoBetaTypeEnum = exports.AuthProfileRequestBetaTypeEnum = exports.AuthProfileBetaTypeEnum = exports.AttributeDefinitionTypeBeta = exports.AttributeDefinitionSchemaBetaTypeEnum = exports.AttrSyncSourceBetaTypeEnum = exports.ApprovalStatusDtoOriginalOwnerBetaTypeEnum = exports.ApprovalStatusDtoCurrentOwnerBetaTypeEnum = exports.ApprovalStatusBeta = exports.ApprovalSchemeForRoleBetaApproverTypeEnum = exports.ApprovalSchemeBeta = exports.AdminReviewReassignReassignToBetaTypeEnum = exports.AccountsCollectedForAggregationSourceBetaTypeEnum = exports.AccountsCollectedForAggregationBetaStatusEnum = exports.AccountUncorrelatedSourceBetaTypeEnum = void 0;
|
|
83
|
+
exports.FullcampaignBetaStatusEnum = exports.FullcampaignBetaTypeEnum = exports.FullcampaignAllOfSourcesWithOrphanEntitlementsBetaTypeEnum = exports.FullcampaignAllOfSearchCampaignInfoReviewerBetaTypeEnum = exports.FullcampaignAllOfSearchCampaignInfoBetaTypeEnum = exports.FullcampaignAllOfRoleCompositionCampaignInfoRemediatorRefBetaTypeEnum = exports.FullcampaignAllOfFilterBetaTypeEnum = exports.FullcampaignAllOfBetaMandatoryCommentRequirementEnum = exports.FullcampaignAllOfBetaCorrelatedStatusEnum = exports.FormUsedByBetaTypeEnum = exports.FormOwnerBetaTypeEnum = exports.FormInstanceResponseBetaStateEnum = exports.FormInstanceRecipientBetaTypeEnum = exports.FormInstanceCreatedByBetaTypeEnum = exports.FormElementDynamicDataSourceConfigBetaObjectTypeEnum = exports.FormElementDynamicDataSourceConfigBetaIndicesEnum = exports.FormElementDynamicDataSourceBetaDataSourceTypeEnum = exports.FormElementBetaElementTypeEnum = exports.FormDefinitionInputBetaTypeEnum = exports.FormConditionBetaRuleOperatorEnum = exports.ExpressionBetaOperatorEnum = exports.ExportPayloadBetaIncludeTypesEnum = exports.ExportPayloadBetaExcludeTypesEnum = exports.ExportOptionsBetaIncludeTypesEnum = exports.ExportOptionsBetaExcludeTypesEnum = exports.ExecutionStatusBeta = exports.ExceptionCriteriaCriteriaListInnerBetaTypeEnum = exports.EntitlementRefBetaTypeEnum = exports.EntitlementOwnerBetaTypeEnum = exports.EntitlementApprovalSchemeBetaApproverTypeEnum = exports.EmailStatusDtoBetaVerificationStatusEnum = exports.DtoTypeBeta = exports.Delete202ResponseBetaTypeEnum = exports.DateCompareBetaOperatorEnum = exports.CustomPasswordInstructionBetaPageIdEnum = exports.CreateFormInstanceRequestBetaStateEnum = exports.CorrelatedGovernanceEventBetaTypeEnum = exports.ConnectorRuleValidationResponseBetaStateEnum = exports.ConnectorRuleUpdateRequestBetaTypeEnum = exports.ConnectorRuleResponseBetaTypeEnum = exports.ConnectorRuleCreateRequestBetaTypeEnum = exports.ConnectedObjectTypeBeta = exports.ConfigTypeEnumCamelBeta = exports.ConfigTypeEnumBeta = exports.ConditionRuleBetaValueTypeEnum = exports.ConditionRuleBetaOperatorEnum = exports.ConditionRuleBetaSourceTypeEnum = exports.ConditionEffectBetaEffectTypeEnum = exports.CompletionStatusBeta = exports.CompletedApprovalStateBeta = void 0;
|
|
84
|
+
exports.OutlierSummaryBetaTypeEnum = exports.OutlierFeatureSummaryOutlierFeatureDisplayValuesInnerBetaValueTypeEnum = exports.OutlierContributingFeatureBetaValueTypeEnum = exports.OutlierBetaUnignoreTypeEnum = exports.OutlierBetaTypeEnum = exports.NonEmployeeSchemaAttributeTypeBeta = exports.NonEmployeeBulkUploadStatusBetaStatusEnum = exports.NonEmployeeBulkUploadJobBetaStatusEnum = exports.NativeChangeDetectionConfigBetaOperationsEnum = exports.NamedConstructsBeta = exports.MfaConfigTestResponseBetaStateEnum = exports.MediumBeta = exports.ManualWorkItemStateBeta = exports.ManualWorkItemDetailsOriginalOwnerBetaTypeEnum = exports.ManualWorkItemDetailsCurrentOwnerBetaTypeEnum = exports.ManagedClusterTypesBeta = exports.ManagedClientTypeBeta = exports.ManagedClientStatusEnumBeta = exports.MailFromAttributesBetaMailFromDomainStatusEnum = exports.LocaleOriginBeta = exports.ListWorkgroupMembers200ResponseInnerBetaTypeEnum = exports.LatestOutlierSummaryBetaTypeEnum = exports.KbaAuthResponseBetaStatusEnum = exports.JsonPatchOperationBetaOpEnum = exports.InvocationStatusTypeBeta = exports.ImportOptionsBetaDefaultReferencesEnum = exports.ImportOptionsBetaIncludeTypesEnum = exports.ImportOptionsBetaExcludeTypesEnum = exports.ImportObjectBetaTypeEnum = exports.IdentityWithNewAccessAccessRefsInnerBetaTypeEnum = exports.IdentitySyncJobBetaStatusEnum = exports.IdentityProfileAllOfOwnerBetaTypeEnum = exports.IdentityProfileAllOfAuthoritativeSourceBetaTypeEnum = exports.IdentityProfile1AllOfAuthoritativeSourceBetaTypeEnum = exports.IdentityPreviewResponseIdentityBetaTypeEnum = exports.IdentityDtoManagerRefBetaTypeEnum = exports.IdentityDtoBetaIdentityStatusEnum = exports.IdentityDtoBetaProcessingStateEnum = exports.IdentityDeletedIdentityBetaTypeEnum = exports.IdentityCreatedIdentityBetaTypeEnum = exports.IdentityCertificationTaskBetaStatusEnum = exports.IdentityCertificationTaskBetaTypeEnum = exports.IdentityBetaIdentityStatusEnum = exports.IdentityBetaProcessingStateEnum = exports.IdentityAttributesChangedIdentityBetaTypeEnum = exports.HttpDispatchModeBeta = exports.HttpAuthenticationTypeBeta = exports.GrantTypeBeta = exports.FullcampaignBetaMandatoryCommentRequirementEnum = exports.FullcampaignBetaCorrelatedStatusEnum = void 0;
|
|
85
|
+
exports.ScheduleMonthsBetaTypeEnum = exports.ScheduleHoursBetaTypeEnum = exports.ScheduleDaysBetaTypeEnum = exports.ScheduleBetaTypeEnum = exports.RoleMiningSessionStateBeta = exports.RoleMiningSessionScopingMethodBeta = exports.RoleMiningRoleTypeBeta = exports.RoleMiningPotentialRoleProvisionStateBeta = exports.RoleMiningPotentialRoleExportStateBeta = exports.RoleMembershipSelectorTypeBeta = exports.RoleInsightsResponseBetaStatusEnum = exports.RoleCriteriaOperationBeta = exports.RoleCriteriaKeyTypeBeta = exports.RoleAssignmentSourceTypeBeta = exports.ReviewerBetaTypeEnum = exports.RequestedItemStatusSodViolationContextBetaStateEnum = exports.RequestedItemStatusRequestStateBeta = exports.RequestedItemStatusPreApprovalTriggerDetailsBetaDecisionEnum = exports.RequestedItemStatusBetaTypeEnum = exports.RequestableObjectTypeBeta = exports.RequestableObjectRequestStatusBeta = exports.RequestableObjectReferenceBetaTypeEnum = exports.ReportTypeBeta = exports.ReportResultReferenceBetaStatusEnum = exports.ReportResultReferenceBetaTypeEnum = exports.ReportResultReferenceAllOfBetaStatusEnum = exports.RecommendationResponseBetaRecommendationEnum = exports.ReassignmentTypeEnumBeta = exports.ReassignmentTypeBeta = exports.ReassignReferenceBetaTypeEnum = exports.ProvisioningStateBeta = exports.ProvisioningCriteriaOperationBeta = exports.ProvisioningConfigManagedResourceRefsInnerBetaTypeEnum = exports.ProvisioningCompletedRequesterBetaTypeEnum = exports.ProvisioningCompletedRecipientBetaTypeEnum = exports.ProvisioningCompletedAccountRequestsInnerSourceBetaTypeEnum = exports.ProvisioningCompletedAccountRequestsInnerBetaProvisioningResultEnum = exports.ProvisioningCompletedAccountRequestsInnerAttributeRequestsInnerBetaOperationEnum = exports.ProductBetaOrgTypeEnum = exports.PreApprovalTriggerDetailsBetaDecisionEnum = exports.PendingApprovalActionBeta = exports.PatchPotentialRoleRequestInnerBetaOpEnum = exports.PatOwnerBetaTypeEnum = exports.PasswordStatusBetaStateEnum = exports.PasswordChangeResponseBetaStateEnum = exports.OwnerReferenceSegmentsBetaTypeEnum = exports.OwnerReferenceDtoBetaTypeEnum = exports.OwnerReferenceBetaTypeEnum = exports.OwnerDtoBetaTypeEnum = exports.OutliersContributingFeatureAccessItemsBetaAccessTypeEnum = void 0;
|
|
86
|
+
exports.TaskStatusBetaTypeEnum = exports.TaskResultSimplifiedBetaCompletionStatusEnum = exports.TaskResultDtoBetaTypeEnum = exports.TaggedObjectObjectRefBetaTypeEnum = exports.TaggedObjectDtoBetaTypeEnum = exports.SubscriptionTypeBeta = exports.SubscriptionPatchRequestInnerBetaOpEnum = exports.StatusResponseBetaStatusEnum = exports.StandardLevelBeta = exports.SpConfigJobBetaTypeEnum = exports.SpConfigJobBetaStatusEnum = exports.SpConfigImportJobStatusBetaTypeEnum = exports.SpConfigImportJobStatusBetaStatusEnum = exports.SpConfigExportJobStatusBetaTypeEnum = exports.SpConfigExportJobStatusBetaStatusEnum = exports.SpConfigExportJobBetaTypeEnum = exports.SpConfigExportJobBetaStatusEnum = exports.SourceUsageStatusBetaStatusEnum = exports.SourceUpdatedActorBetaTypeEnum = exports.SourceSyncJobBetaStatusEnum = exports.SourceSchemasInnerBetaTypeEnum = exports.SourcePasswordPoliciesInnerBetaTypeEnum = exports.SourceOwnerBetaTypeEnum = exports.SourceManagerCorrelationRuleBetaTypeEnum = exports.SourceManagementWorkgroupBetaTypeEnum = exports.SourceFeatureBeta = exports.SourceDeletedActorBetaTypeEnum = exports.SourceCreatedActorBetaTypeEnum = exports.SourceClusterDtoBetaTypeEnum = exports.SourceClusterBetaTypeEnum = exports.SourceBeforeProvisioningRuleBetaTypeEnum = exports.SourceAccountCorrelationRuleBetaTypeEnum = exports.SourceAccountCorrelationConfigBetaTypeEnum = exports.SodViolationContextCheckCompletedBetaStateEnum = exports.SodViolationContextCheckCompleted1BetaStateEnum = exports.SodReportResultDtoBetaTypeEnum = exports.SodRecipientBetaTypeEnum = exports.SodPolicyDtoBetaTypeEnum = exports.SodPolicyBetaTypeEnum = exports.SodPolicyBetaStateEnum = exports.SlimcampaignBetaCorrelatedStatusEnum = exports.SlimcampaignBetaStatusEnum = exports.SlimcampaignBetaTypeEnum = exports.ServiceDeskSourceBetaTypeEnum = exports.SendTokenResponseBetaStatusEnum = exports.SendTokenRequestBetaDeliveryTypeEnum = exports.SendTestNotificationRequestDtoBetaMediumEnum = exports.SelfImportExportDtoBetaTypeEnum = exports.SelectorTypeBeta = exports.ScheduleTypeBeta = void 0;
|
|
87
|
+
exports.AccountAggregationsBetaApiFp = exports.AccountAggregationsBetaApiAxiosParamCreator = exports.AccountActivitiesBetaApi = exports.AccountActivitiesBetaApiFactory = exports.AccountActivitiesBetaApiFp = exports.AccountActivitiesBetaApiAxiosParamCreator = exports.AccessRequestsBetaApi = exports.AccessRequestsBetaApiFactory = exports.AccessRequestsBetaApiFp = exports.AccessRequestsBetaApiAxiosParamCreator = exports.AccessRequestIdentityMetricsBetaApi = exports.AccessRequestIdentityMetricsBetaApiFactory = exports.AccessRequestIdentityMetricsBetaApiFp = exports.AccessRequestIdentityMetricsBetaApiAxiosParamCreator = exports.AccessRequestApprovalsBetaApi = exports.AccessRequestApprovalsBetaApiFactory = exports.AccessRequestApprovalsBetaApiFp = exports.AccessRequestApprovalsBetaApiAxiosParamCreator = exports.AccessProfilesBetaApi = exports.AccessProfilesBetaApiFactory = exports.AccessProfilesBetaApiFp = exports.AccessProfilesBetaApiAxiosParamCreator = exports.WorkgroupConnectionDtoBetaConnectionTypeEnum = exports.WorkflowTriggerBetaTypeEnum = exports.WorkflowLibraryTriggerBetaTypeEnum = exports.WorkflowLibraryFormFieldsBetaTypeEnum = exports.WorkflowExecutionEventBetaTypeEnum = exports.WorkflowExecutionBetaStatusEnum = exports.WorkflowBodyOwnerBetaTypeEnum = exports.WorkflowAllOfCreatorBetaTypeEnum = exports.WorkItemTypeBeta = exports.WorkItemStateBeta = exports.ViolationOwnerAssignmentConfigOwnerRefBetaTypeEnum = exports.ViolationOwnerAssignmentConfigBetaAssignmentRuleEnum = exports.ViolationContextPolicyBetaTypeEnum = exports.VerificationResponseBetaStatusEnum = exports.VAClusterStatusChangeEventPreviousHealthCheckResultBetaStatusEnum = exports.VAClusterStatusChangeEventHealthCheckResultBetaStatusEnum = exports.VAClusterStatusChangeEventBetaTypeEnum = exports.UsageTypeBeta = exports.TriggerTypeBeta = exports.TransformReadBetaTypeEnum = exports.TransformBetaTypeEnum = exports.TokenAuthResponseBetaStatusEnum = exports.TokenAuthRequestBetaDeliveryTypeEnum = exports.TemplateDtoDefaultBetaMediumEnum = exports.TemplateDtoBetaMediumEnum = exports.TemplateBulkDeleteDtoBetaMediumEnum = exports.TaskStatusMessageBetaTypeEnum = exports.TaskStatusBetaCompletionStatusEnum = void 0;
|
|
88
|
+
exports.IAIAccessRequestRecommendationsBetaApi = exports.IAIAccessRequestRecommendationsBetaApiFactory = exports.IAIAccessRequestRecommendationsBetaApiFp = exports.IAIAccessRequestRecommendationsBetaApiAxiosParamCreator = exports.GovernanceGroupsBetaApi = exports.GovernanceGroupsBetaApiFactory = exports.GovernanceGroupsBetaApiFp = exports.GovernanceGroupsBetaApiAxiosParamCreator = exports.EntitlementsBetaApi = exports.EntitlementsBetaApiFactory = exports.EntitlementsBetaApiFp = exports.EntitlementsBetaApiAxiosParamCreator = exports.CustomPasswordInstructionsBetaApi = exports.CustomPasswordInstructionsBetaApiFactory = exports.CustomPasswordInstructionsBetaApiFp = exports.CustomPasswordInstructionsBetaApiAxiosParamCreator = exports.CustomFormsBetaApi = exports.CustomFormsBetaApiFactory = exports.CustomFormsBetaApiFp = exports.CustomFormsBetaApiAxiosParamCreator = exports.ConnectorsBetaApi = exports.ConnectorsBetaApiFactory = exports.ConnectorsBetaApiFp = exports.ConnectorsBetaApiAxiosParamCreator = exports.ConnectorRuleManagementBetaApi = exports.ConnectorRuleManagementBetaApiFactory = exports.ConnectorRuleManagementBetaApiFp = exports.ConnectorRuleManagementBetaApiAxiosParamCreator = exports.CertificationsBetaApi = exports.CertificationsBetaApiFactory = exports.CertificationsBetaApiFp = exports.CertificationsBetaApiAxiosParamCreator = exports.CertificationCampaignsBetaApi = exports.CertificationCampaignsBetaApiFactory = exports.CertificationCampaignsBetaApiFp = exports.CertificationCampaignsBetaApiAxiosParamCreator = exports.AuthProfileBetaApi = exports.AuthProfileBetaApiFactory = exports.AuthProfileBetaApiFp = exports.AuthProfileBetaApiAxiosParamCreator = exports.AccountsBetaApi = exports.AccountsBetaApiFactory = exports.AccountsBetaApiFp = exports.AccountsBetaApiAxiosParamCreator = exports.AccountUsagesBetaApi = exports.AccountUsagesBetaApiFactory = exports.AccountUsagesBetaApiFp = exports.AccountUsagesBetaApiAxiosParamCreator = exports.AccountAggregationsBetaApi = exports.AccountAggregationsBetaApiFactory = void 0;
|
|
89
|
+
exports.MFAControllerBetaApiFp = exports.MFAControllerBetaApiAxiosParamCreator = exports.MFAConfigurationBetaApi = exports.MFAConfigurationBetaApiFactory = exports.MFAConfigurationBetaApiFp = exports.MFAConfigurationBetaApiAxiosParamCreator = exports.LifecycleStatesBetaApi = exports.LifecycleStatesBetaApiFactory = exports.LifecycleStatesBetaApiFp = exports.LifecycleStatesBetaApiAxiosParamCreator = exports.IdentityProfilesBetaApi = exports.IdentityProfilesBetaApiFactory = exports.IdentityProfilesBetaApiFp = exports.IdentityProfilesBetaApiAxiosParamCreator = exports.IdentityHistoryBetaApi = exports.IdentityHistoryBetaApiFactory = exports.IdentityHistoryBetaApiFp = exports.IdentityHistoryBetaApiAxiosParamCreator = exports.IdentityAttributesBetaApi = exports.IdentityAttributesBetaApiFactory = exports.IdentityAttributesBetaApiFp = exports.IdentityAttributesBetaApiAxiosParamCreator = exports.IdentitiesBetaApi = exports.IdentitiesBetaApiFactory = exports.IdentitiesBetaApiFp = exports.IdentitiesBetaApiAxiosParamCreator = exports.IAIRoleMiningBetaApi = exports.IAIRoleMiningBetaApiFactory = exports.IAIRoleMiningBetaApiFp = exports.IAIRoleMiningBetaApiAxiosParamCreator = exports.IAIRecommendationsBetaApi = exports.IAIRecommendationsBetaApiFactory = exports.IAIRecommendationsBetaApiFp = exports.IAIRecommendationsBetaApiAxiosParamCreator = exports.IAIPeerGroupStrategiesBetaApi = exports.IAIPeerGroupStrategiesBetaApiFactory = exports.IAIPeerGroupStrategiesBetaApiFp = exports.IAIPeerGroupStrategiesBetaApiAxiosParamCreator = exports.IAIOutliersBetaApi = exports.IAIOutliersBetaApiFactory = exports.IAIOutliersBetaApiFp = exports.IAIOutliersBetaApiAxiosParamCreator = exports.IAIMessageCatalogsBetaApi = exports.IAIMessageCatalogsBetaApiFactory = exports.IAIMessageCatalogsBetaApiFp = exports.IAIMessageCatalogsBetaApiAxiosParamCreator = exports.IAICommonAccessBetaApi = exports.IAICommonAccessBetaApiFactory = exports.IAICommonAccessBetaApiFp = exports.IAICommonAccessBetaApiAxiosParamCreator = void 0;
|
|
90
|
+
exports.PublicIdentitiesConfigBetaApi = exports.PublicIdentitiesConfigBetaApiFactory = exports.PublicIdentitiesConfigBetaApiFp = exports.PublicIdentitiesConfigBetaApiAxiosParamCreator = exports.PersonalAccessTokensBetaApi = exports.PersonalAccessTokensBetaApiFactory = exports.PersonalAccessTokensBetaApiFp = exports.PersonalAccessTokensBetaApiAxiosParamCreator = exports.PasswordSyncGroupsBetaApi = exports.PasswordSyncGroupsBetaApiFactory = exports.PasswordSyncGroupsBetaApiFp = exports.PasswordSyncGroupsBetaApiAxiosParamCreator = exports.PasswordManagementBetaApi = exports.PasswordManagementBetaApiFactory = exports.PasswordManagementBetaApiFp = exports.PasswordManagementBetaApiAxiosParamCreator = exports.PasswordDictionaryBetaApi = exports.PasswordDictionaryBetaApiFactory = exports.PasswordDictionaryBetaApiFp = exports.PasswordDictionaryBetaApiAxiosParamCreator = exports.PasswordConfigurationBetaApi = exports.PasswordConfigurationBetaApiFactory = exports.PasswordConfigurationBetaApiFp = exports.PasswordConfigurationBetaApiAxiosParamCreator = exports.OrgConfigBetaApi = exports.OrgConfigBetaApiFactory = exports.OrgConfigBetaApiFp = exports.OrgConfigBetaApiAxiosParamCreator = exports.OAuthClientsBetaApi = exports.OAuthClientsBetaApiFactory = exports.OAuthClientsBetaApiFp = exports.OAuthClientsBetaApiAxiosParamCreator = exports.NotificationsBetaApi = exports.NotificationsBetaApiFactory = exports.NotificationsBetaApiFp = exports.NotificationsBetaApiAxiosParamCreator = exports.NonEmployeeLifecycleManagementBetaApi = exports.NonEmployeeLifecycleManagementBetaApiFactory = exports.NonEmployeeLifecycleManagementBetaApiFp = exports.NonEmployeeLifecycleManagementBetaApiAxiosParamCreator = exports.ManagedClustersBetaApi = exports.ManagedClustersBetaApiFactory = exports.ManagedClustersBetaApiFp = exports.ManagedClustersBetaApiAxiosParamCreator = exports.ManagedClientsBetaApi = exports.ManagedClientsBetaApiFactory = exports.ManagedClientsBetaApiFp = exports.ManagedClientsBetaApiAxiosParamCreator = exports.MFAControllerBetaApi = exports.MFAControllerBetaApiFactory = void 0;
|
|
91
|
+
exports.TaskManagementBetaApiFp = exports.TaskManagementBetaApiAxiosParamCreator = exports.TaggedObjectsBetaApi = exports.TaggedObjectsBetaApiFactory = exports.TaggedObjectsBetaApiFp = exports.TaggedObjectsBetaApiAxiosParamCreator = exports.SourcesBetaApi = exports.SourcesBetaApiFactory = exports.SourcesBetaApiFp = exports.SourcesBetaApiAxiosParamCreator = exports.SourceUsagesBetaApi = exports.SourceUsagesBetaApiFactory = exports.SourceUsagesBetaApiFp = exports.SourceUsagesBetaApiAxiosParamCreator = exports.ServiceDeskIntegrationBetaApi = exports.ServiceDeskIntegrationBetaApiFactory = exports.ServiceDeskIntegrationBetaApiFp = exports.ServiceDeskIntegrationBetaApiAxiosParamCreator = exports.SegmentsBetaApi = exports.SegmentsBetaApiFactory = exports.SegmentsBetaApiFp = exports.SegmentsBetaApiAxiosParamCreator = exports.SearchAttributeConfigurationBetaApi = exports.SearchAttributeConfigurationBetaApiFactory = exports.SearchAttributeConfigurationBetaApiFp = exports.SearchAttributeConfigurationBetaApiAxiosParamCreator = exports.SPConfigBetaApi = exports.SPConfigBetaApiFactory = exports.SPConfigBetaApiFp = exports.SPConfigBetaApiAxiosParamCreator = exports.SODViolationsBetaApi = exports.SODViolationsBetaApiFactory = exports.SODViolationsBetaApiFp = exports.SODViolationsBetaApiAxiosParamCreator = exports.SODPolicyBetaApi = exports.SODPolicyBetaApiFactory = exports.SODPolicyBetaApiFp = exports.SODPolicyBetaApiAxiosParamCreator = exports.RolesBetaApi = exports.RolesBetaApiFactory = exports.RolesBetaApiFp = exports.RolesBetaApiAxiosParamCreator = exports.RoleInsightsBetaApi = exports.RoleInsightsBetaApiFactory = exports.RoleInsightsBetaApiFp = exports.RoleInsightsBetaApiAxiosParamCreator = exports.RequestableObjectsBetaApi = exports.RequestableObjectsBetaApiFactory = exports.RequestableObjectsBetaApiFp = exports.RequestableObjectsBetaApiAxiosParamCreator = void 0;
|
|
92
|
+
exports.WorkflowsBetaApi = exports.WorkflowsBetaApiFactory = exports.WorkflowsBetaApiFp = exports.WorkflowsBetaApiAxiosParamCreator = exports.WorkReassignmentBetaApi = exports.WorkReassignmentBetaApiFactory = exports.WorkReassignmentBetaApiFp = exports.WorkReassignmentBetaApiAxiosParamCreator = exports.WorkItemsBetaApi = exports.WorkItemsBetaApiFactory = exports.WorkItemsBetaApiFp = exports.WorkItemsBetaApiAxiosParamCreator = exports.TriggersBetaApi = exports.TriggersBetaApiFactory = exports.TriggersBetaApiFp = exports.TriggersBetaApiAxiosParamCreator = exports.TransformsBetaApi = exports.TransformsBetaApiFactory = exports.TransformsBetaApiFp = exports.TransformsBetaApiAxiosParamCreator = exports.TenantBetaApi = exports.TenantBetaApiFactory = exports.TenantBetaApiFp = exports.TenantBetaApiAxiosParamCreator = exports.TaskManagementBetaApi = exports.TaskManagementBetaApiFactory = void 0;
|
|
93
93
|
var axios_1 = __importDefault(require("axios"));
|
|
94
94
|
// Some imports not used depending on template conditions
|
|
95
95
|
// @ts-ignore
|
|
@@ -396,6 +396,18 @@ exports.AttributeDefinitionTypeBeta = {
|
|
|
396
396
|
Int: 'INT',
|
|
397
397
|
Boolean: 'BOOLEAN'
|
|
398
398
|
};
|
|
399
|
+
exports.AuthProfileBetaTypeEnum = {
|
|
400
|
+
Block: 'BLOCK',
|
|
401
|
+
Mfa: 'MFA',
|
|
402
|
+
NonPta: 'NON_PTA',
|
|
403
|
+
Pta: 'PTA'
|
|
404
|
+
};
|
|
405
|
+
exports.AuthProfileRequestBetaTypeEnum = {
|
|
406
|
+
Block: 'BLOCK',
|
|
407
|
+
Mfa: 'MFA',
|
|
408
|
+
NonPta: 'NON_PTA',
|
|
409
|
+
Pta: 'PTA'
|
|
410
|
+
};
|
|
399
411
|
exports.BeforeProvisioningRuleDtoBetaTypeEnum = {
|
|
400
412
|
Rule: 'RULE'
|
|
401
413
|
};
|
|
@@ -1430,6 +1442,17 @@ exports.PreApprovalTriggerDetailsBetaDecisionEnum = {
|
|
|
1430
1442
|
Approved: 'APPROVED',
|
|
1431
1443
|
Rejected: 'REJECTED'
|
|
1432
1444
|
};
|
|
1445
|
+
exports.ProductBetaOrgTypeEnum = {
|
|
1446
|
+
Development: 'development',
|
|
1447
|
+
Staging: 'staging',
|
|
1448
|
+
Production: 'production',
|
|
1449
|
+
Test: 'test',
|
|
1450
|
+
Partner: 'partner',
|
|
1451
|
+
Training: 'training',
|
|
1452
|
+
Demonstration: 'demonstration',
|
|
1453
|
+
Sandbox: 'sandbox',
|
|
1454
|
+
Null: 'null'
|
|
1455
|
+
};
|
|
1433
1456
|
exports.ProvisioningCompletedAccountRequestsInnerAttributeRequestsInnerBetaOperationEnum = {
|
|
1434
1457
|
Add: 'Add',
|
|
1435
1458
|
Set: 'Set',
|
|
@@ -3910,7 +3933,7 @@ var AccessRequestIdentityMetricsBetaApiAxiosParamCreator = function (configurati
|
|
|
3910
3933
|
/**
|
|
3911
3934
|
* Use this API to return information access metrics.
|
|
3912
3935
|
* @summary Return access request identity metrics
|
|
3913
|
-
* @param {string} identityId
|
|
3936
|
+
* @param {string} identityId Manager\'s identity ID.
|
|
3914
3937
|
* @param {string} requestedObjectId Requested access item\'s ID.
|
|
3915
3938
|
* @param {string} type Requested access item\'s type.
|
|
3916
3939
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -3981,7 +4004,7 @@ var AccessRequestIdentityMetricsBetaApiFp = function (configuration) {
|
|
|
3981
4004
|
/**
|
|
3982
4005
|
* Use this API to return information access metrics.
|
|
3983
4006
|
* @summary Return access request identity metrics
|
|
3984
|
-
* @param {string} identityId
|
|
4007
|
+
* @param {string} identityId Manager\'s identity ID.
|
|
3985
4008
|
* @param {string} requestedObjectId Requested access item\'s ID.
|
|
3986
4009
|
* @param {string} type Requested access item\'s type.
|
|
3987
4010
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -4013,7 +4036,7 @@ var AccessRequestIdentityMetricsBetaApiFactory = function (configuration, basePa
|
|
|
4013
4036
|
/**
|
|
4014
4037
|
* Use this API to return information access metrics.
|
|
4015
4038
|
* @summary Return access request identity metrics
|
|
4016
|
-
* @param {string} identityId
|
|
4039
|
+
* @param {string} identityId Manager\'s identity ID.
|
|
4017
4040
|
* @param {string} requestedObjectId Requested access item\'s ID.
|
|
4018
4041
|
* @param {string} type Requested access item\'s type.
|
|
4019
4042
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -6853,87 +6876,29 @@ var AccountsBetaApi = /** @class */ (function (_super) {
|
|
|
6853
6876
|
}(base_1.BaseAPI));
|
|
6854
6877
|
exports.AccountsBetaApi = AccountsBetaApi;
|
|
6855
6878
|
/**
|
|
6856
|
-
*
|
|
6879
|
+
* AuthProfileBetaApi - axios parameter creator
|
|
6857
6880
|
* @export
|
|
6858
6881
|
*/
|
|
6859
|
-
var
|
|
6882
|
+
var AuthProfileBetaApiAxiosParamCreator = function (configuration) {
|
|
6860
6883
|
var _this = this;
|
|
6861
6884
|
return {
|
|
6862
6885
|
/**
|
|
6863
|
-
*
|
|
6864
|
-
* @summary
|
|
6865
|
-
* @param {
|
|
6866
|
-
* @param {CompleteCampaignOptionsBeta} [completeCampaignOptionsBeta] Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE
|
|
6886
|
+
* This API creates an auth profile.
|
|
6887
|
+
* @summary Create Auth Profile.
|
|
6888
|
+
* @param {AuthProfileRequestBeta} authProfileRequestBeta
|
|
6867
6889
|
* @param {*} [axiosOptions] Override http request option.
|
|
6868
|
-
* @deprecated
|
|
6869
6890
|
* @throws {RequiredError}
|
|
6870
6891
|
*/
|
|
6871
|
-
|
|
6892
|
+
createProfileConfig: function (authProfileRequestBeta, axiosOptions) {
|
|
6872
6893
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
6873
6894
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6874
6895
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6875
6896
|
return __generator(this, function (_a) {
|
|
6876
6897
|
switch (_a.label) {
|
|
6877
6898
|
case 0:
|
|
6878
|
-
// verify required parameter '
|
|
6879
|
-
(0, common_1.assertParamExists)('
|
|
6880
|
-
localVarPath = "/
|
|
6881
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
6882
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6883
|
-
if (configuration) {
|
|
6884
|
-
baseOptions = configuration.baseOptions;
|
|
6885
|
-
}
|
|
6886
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
6887
|
-
localVarHeaderParameter = {};
|
|
6888
|
-
localVarQueryParameter = {};
|
|
6889
|
-
// authentication UserContextAuth required
|
|
6890
|
-
// oauth required
|
|
6891
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
6892
|
-
// authentication UserContextAuth required
|
|
6893
|
-
// oauth required
|
|
6894
|
-
];
|
|
6895
|
-
case 1:
|
|
6896
|
-
// authentication UserContextAuth required
|
|
6897
|
-
// oauth required
|
|
6898
|
-
_a.sent();
|
|
6899
|
-
// authentication UserContextAuth required
|
|
6900
|
-
// oauth required
|
|
6901
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
6902
|
-
case 2:
|
|
6903
|
-
// authentication UserContextAuth required
|
|
6904
|
-
// oauth required
|
|
6905
|
-
_a.sent();
|
|
6906
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6907
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6908
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6909
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
6910
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeCampaignOptionsBeta, localVarRequestOptions, configuration);
|
|
6911
|
-
return [2 /*return*/, {
|
|
6912
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6913
|
-
axiosOptions: localVarRequestOptions,
|
|
6914
|
-
}];
|
|
6915
|
-
}
|
|
6916
|
-
});
|
|
6917
|
-
});
|
|
6918
|
-
},
|
|
6919
|
-
/**
|
|
6920
|
-
* Creates a new Certification Campaign with the information provided in the request body.
|
|
6921
|
-
* @summary Create a campaign
|
|
6922
|
-
* @param {CampaignBeta} campaignBeta
|
|
6923
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
6924
|
-
* @deprecated
|
|
6925
|
-
* @throws {RequiredError}
|
|
6926
|
-
*/
|
|
6927
|
-
createCampaign: function (campaignBeta, axiosOptions) {
|
|
6928
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
6929
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
6930
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6931
|
-
return __generator(this, function (_a) {
|
|
6932
|
-
switch (_a.label) {
|
|
6933
|
-
case 0:
|
|
6934
|
-
// verify required parameter 'campaignBeta' is not null or undefined
|
|
6935
|
-
(0, common_1.assertParamExists)('createCampaign', 'campaignBeta', campaignBeta);
|
|
6936
|
-
localVarPath = "/campaigns";
|
|
6899
|
+
// verify required parameter 'authProfileRequestBeta' is not null or undefined
|
|
6900
|
+
(0, common_1.assertParamExists)('createProfileConfig', 'authProfileRequestBeta', authProfileRequestBeta);
|
|
6901
|
+
localVarPath = "/auth-profiles/{id}";
|
|
6937
6902
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6938
6903
|
if (configuration) {
|
|
6939
6904
|
baseOptions = configuration.baseOptions;
|
|
@@ -6962,116 +6927,7 @@ var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
6962
6927
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6963
6928
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6964
6929
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
6965
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
6966
|
-
return [2 /*return*/, {
|
|
6967
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6968
|
-
axiosOptions: localVarRequestOptions,
|
|
6969
|
-
}];
|
|
6970
|
-
}
|
|
6971
|
-
});
|
|
6972
|
-
});
|
|
6973
|
-
},
|
|
6974
|
-
/**
|
|
6975
|
-
* Create a campaign Template based on campaign.
|
|
6976
|
-
* @summary Create a Campaign Template
|
|
6977
|
-
* @param {CampaignTemplateBeta} campaignTemplateBeta
|
|
6978
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
6979
|
-
* @deprecated
|
|
6980
|
-
* @throws {RequiredError}
|
|
6981
|
-
*/
|
|
6982
|
-
createCampaignTemplate: function (campaignTemplateBeta, axiosOptions) {
|
|
6983
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
6984
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
6985
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6986
|
-
return __generator(this, function (_a) {
|
|
6987
|
-
switch (_a.label) {
|
|
6988
|
-
case 0:
|
|
6989
|
-
// verify required parameter 'campaignTemplateBeta' is not null or undefined
|
|
6990
|
-
(0, common_1.assertParamExists)('createCampaignTemplate', 'campaignTemplateBeta', campaignTemplateBeta);
|
|
6991
|
-
localVarPath = "/campaign-templates";
|
|
6992
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6993
|
-
if (configuration) {
|
|
6994
|
-
baseOptions = configuration.baseOptions;
|
|
6995
|
-
}
|
|
6996
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
6997
|
-
localVarHeaderParameter = {};
|
|
6998
|
-
localVarQueryParameter = {};
|
|
6999
|
-
// authentication UserContextAuth required
|
|
7000
|
-
// oauth required
|
|
7001
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7002
|
-
// authentication UserContextAuth required
|
|
7003
|
-
// oauth required
|
|
7004
|
-
];
|
|
7005
|
-
case 1:
|
|
7006
|
-
// authentication UserContextAuth required
|
|
7007
|
-
// oauth required
|
|
7008
|
-
_a.sent();
|
|
7009
|
-
// authentication UserContextAuth required
|
|
7010
|
-
// oauth required
|
|
7011
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7012
|
-
case 2:
|
|
7013
|
-
// authentication UserContextAuth required
|
|
7014
|
-
// oauth required
|
|
7015
|
-
_a.sent();
|
|
7016
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7017
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7018
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7019
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7020
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(campaignTemplateBeta, localVarRequestOptions, configuration);
|
|
7021
|
-
return [2 /*return*/, {
|
|
7022
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7023
|
-
axiosOptions: localVarRequestOptions,
|
|
7024
|
-
}];
|
|
7025
|
-
}
|
|
7026
|
-
});
|
|
7027
|
-
});
|
|
7028
|
-
},
|
|
7029
|
-
/**
|
|
7030
|
-
* Deletes a campaign template by ID.
|
|
7031
|
-
* @summary Delete a Campaign Template
|
|
7032
|
-
* @param {string} id The ID of the campaign template being deleted.
|
|
7033
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
7034
|
-
* @deprecated
|
|
7035
|
-
* @throws {RequiredError}
|
|
7036
|
-
*/
|
|
7037
|
-
deleteCampaignTemplate: function (id, axiosOptions) {
|
|
7038
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7039
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
7040
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7041
|
-
return __generator(this, function (_a) {
|
|
7042
|
-
switch (_a.label) {
|
|
7043
|
-
case 0:
|
|
7044
|
-
// verify required parameter 'id' is not null or undefined
|
|
7045
|
-
(0, common_1.assertParamExists)('deleteCampaignTemplate', 'id', id);
|
|
7046
|
-
localVarPath = "/campaign-templates/{id}"
|
|
7047
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7048
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7049
|
-
if (configuration) {
|
|
7050
|
-
baseOptions = configuration.baseOptions;
|
|
7051
|
-
}
|
|
7052
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
7053
|
-
localVarHeaderParameter = {};
|
|
7054
|
-
localVarQueryParameter = {};
|
|
7055
|
-
// authentication UserContextAuth required
|
|
7056
|
-
// oauth required
|
|
7057
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7058
|
-
// authentication UserContextAuth required
|
|
7059
|
-
// oauth required
|
|
7060
|
-
];
|
|
7061
|
-
case 1:
|
|
7062
|
-
// authentication UserContextAuth required
|
|
7063
|
-
// oauth required
|
|
7064
|
-
_a.sent();
|
|
7065
|
-
// authentication UserContextAuth required
|
|
7066
|
-
// oauth required
|
|
7067
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7068
|
-
case 2:
|
|
7069
|
-
// authentication UserContextAuth required
|
|
7070
|
-
// oauth required
|
|
7071
|
-
_a.sent();
|
|
7072
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7073
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7074
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
6930
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authProfileRequestBeta, localVarRequestOptions, configuration);
|
|
7075
6931
|
return [2 /*return*/, {
|
|
7076
6932
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7077
6933
|
axiosOptions: localVarRequestOptions,
|
|
@@ -7081,14 +6937,13 @@ var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
7081
6937
|
});
|
|
7082
6938
|
},
|
|
7083
6939
|
/**
|
|
7084
|
-
*
|
|
7085
|
-
* @summary
|
|
7086
|
-
* @param {string} id
|
|
6940
|
+
* This API deletes an existing Auth Profile.
|
|
6941
|
+
* @summary Delete the specified Auth Profile
|
|
6942
|
+
* @param {string} id ID of the Access Profile to delete
|
|
7087
6943
|
* @param {*} [axiosOptions] Override http request option.
|
|
7088
|
-
* @deprecated
|
|
7089
6944
|
* @throws {RequiredError}
|
|
7090
6945
|
*/
|
|
7091
|
-
|
|
6946
|
+
deleteProfileConfig: function (id, axiosOptions) {
|
|
7092
6947
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7093
6948
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7094
6949
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7096,8 +6951,8 @@ var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
7096
6951
|
switch (_a.label) {
|
|
7097
6952
|
case 0:
|
|
7098
6953
|
// verify required parameter 'id' is not null or undefined
|
|
7099
|
-
(0, common_1.assertParamExists)('
|
|
7100
|
-
localVarPath = "/
|
|
6954
|
+
(0, common_1.assertParamExists)('deleteProfileConfig', 'id', id);
|
|
6955
|
+
localVarPath = "/auth-profiles/{id}"
|
|
7101
6956
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7102
6957
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7103
6958
|
if (configuration) {
|
|
@@ -7135,81 +6990,19 @@ var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
7135
6990
|
});
|
|
7136
6991
|
},
|
|
7137
6992
|
/**
|
|
7138
|
-
*
|
|
7139
|
-
* @summary
|
|
7140
|
-
* @param {DeleteCampaignsRequestBeta} deleteCampaignsRequestBeta The ids of the campaigns to delete.
|
|
6993
|
+
* This API returns auth profile information.
|
|
6994
|
+
* @summary Get Auth Profile.
|
|
7141
6995
|
* @param {*} [axiosOptions] Override http request option.
|
|
7142
|
-
* @deprecated
|
|
7143
6996
|
* @throws {RequiredError}
|
|
7144
6997
|
*/
|
|
7145
|
-
|
|
6998
|
+
getProfileConfig: function (axiosOptions) {
|
|
7146
6999
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7147
7000
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7148
7001
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7149
7002
|
return __generator(this, function (_a) {
|
|
7150
7003
|
switch (_a.label) {
|
|
7151
7004
|
case 0:
|
|
7152
|
-
|
|
7153
|
-
(0, common_1.assertParamExists)('deleteCampaigns', 'deleteCampaignsRequestBeta', deleteCampaignsRequestBeta);
|
|
7154
|
-
localVarPath = "/campaigns/delete";
|
|
7155
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7156
|
-
if (configuration) {
|
|
7157
|
-
baseOptions = configuration.baseOptions;
|
|
7158
|
-
}
|
|
7159
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
7160
|
-
localVarHeaderParameter = {};
|
|
7161
|
-
localVarQueryParameter = {};
|
|
7162
|
-
// authentication UserContextAuth required
|
|
7163
|
-
// oauth required
|
|
7164
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7165
|
-
// authentication UserContextAuth required
|
|
7166
|
-
// oauth required
|
|
7167
|
-
];
|
|
7168
|
-
case 1:
|
|
7169
|
-
// authentication UserContextAuth required
|
|
7170
|
-
// oauth required
|
|
7171
|
-
_a.sent();
|
|
7172
|
-
// authentication UserContextAuth required
|
|
7173
|
-
// oauth required
|
|
7174
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7175
|
-
case 2:
|
|
7176
|
-
// authentication UserContextAuth required
|
|
7177
|
-
// oauth required
|
|
7178
|
-
_a.sent();
|
|
7179
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7180
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7181
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7182
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7183
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deleteCampaignsRequestBeta, localVarRequestOptions, configuration);
|
|
7184
|
-
return [2 /*return*/, {
|
|
7185
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7186
|
-
axiosOptions: localVarRequestOptions,
|
|
7187
|
-
}];
|
|
7188
|
-
}
|
|
7189
|
-
});
|
|
7190
|
-
});
|
|
7191
|
-
},
|
|
7192
|
-
/**
|
|
7193
|
-
* Gets campaigns and returns them in a list. Can provide increased level of detail for each campaign if provided the correct query.
|
|
7194
|
-
* @summary List Campaigns
|
|
7195
|
-
* @param {'SLIM' | 'FULL'} [detail] Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior.
|
|
7196
|
-
* @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.
|
|
7197
|
-
* @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.
|
|
7198
|
-
* @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.
|
|
7199
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **status**: *eq, in*
|
|
7200
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created**
|
|
7201
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
7202
|
-
* @deprecated
|
|
7203
|
-
* @throws {RequiredError}
|
|
7204
|
-
*/
|
|
7205
|
-
getActiveCampaigns: function (detail, limit, offset, count, filters, sorters, axiosOptions) {
|
|
7206
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7207
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
7208
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7209
|
-
return __generator(this, function (_a) {
|
|
7210
|
-
switch (_a.label) {
|
|
7211
|
-
case 0:
|
|
7212
|
-
localVarPath = "/campaigns";
|
|
7005
|
+
localVarPath = "/auth-profiles/{id}";
|
|
7213
7006
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7214
7007
|
if (configuration) {
|
|
7215
7008
|
baseOptions = configuration.baseOptions;
|
|
@@ -7234,24 +7027,6 @@ var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
7234
7027
|
// authentication UserContextAuth required
|
|
7235
7028
|
// oauth required
|
|
7236
7029
|
_a.sent();
|
|
7237
|
-
if (detail !== undefined) {
|
|
7238
|
-
localVarQueryParameter['detail'] = detail;
|
|
7239
|
-
}
|
|
7240
|
-
if (limit !== undefined) {
|
|
7241
|
-
localVarQueryParameter['limit'] = limit;
|
|
7242
|
-
}
|
|
7243
|
-
if (offset !== undefined) {
|
|
7244
|
-
localVarQueryParameter['offset'] = offset;
|
|
7245
|
-
}
|
|
7246
|
-
if (count !== undefined) {
|
|
7247
|
-
localVarQueryParameter['count'] = count;
|
|
7248
|
-
}
|
|
7249
|
-
if (filters !== undefined) {
|
|
7250
|
-
localVarQueryParameter['filters'] = filters;
|
|
7251
|
-
}
|
|
7252
|
-
if (sorters !== undefined) {
|
|
7253
|
-
localVarQueryParameter['sorters'] = sorters;
|
|
7254
|
-
}
|
|
7255
7030
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7256
7031
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7257
7032
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -7264,24 +7039,785 @@ var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
7264
7039
|
});
|
|
7265
7040
|
},
|
|
7266
7041
|
/**
|
|
7267
|
-
*
|
|
7268
|
-
* @summary Get
|
|
7269
|
-
* @param {string} id The ID of the campaign to be retrieved
|
|
7042
|
+
* This API returns a list of auth profiles.
|
|
7043
|
+
* @summary Get list of Auth Profiles.
|
|
7270
7044
|
* @param {*} [axiosOptions] Override http request option.
|
|
7271
|
-
* @deprecated
|
|
7272
7045
|
* @throws {RequiredError}
|
|
7273
7046
|
*/
|
|
7274
|
-
|
|
7047
|
+
getProfileConfigList: function (axiosOptions) {
|
|
7275
7048
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7276
7049
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7277
7050
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7278
7051
|
return __generator(this, function (_a) {
|
|
7279
7052
|
switch (_a.label) {
|
|
7280
7053
|
case 0:
|
|
7281
|
-
|
|
7282
|
-
(
|
|
7283
|
-
|
|
7284
|
-
|
|
7054
|
+
localVarPath = "/auth-profiles";
|
|
7055
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7056
|
+
if (configuration) {
|
|
7057
|
+
baseOptions = configuration.baseOptions;
|
|
7058
|
+
}
|
|
7059
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
7060
|
+
localVarHeaderParameter = {};
|
|
7061
|
+
localVarQueryParameter = {};
|
|
7062
|
+
// authentication UserContextAuth required
|
|
7063
|
+
// oauth required
|
|
7064
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7065
|
+
// authentication UserContextAuth required
|
|
7066
|
+
// oauth required
|
|
7067
|
+
];
|
|
7068
|
+
case 1:
|
|
7069
|
+
// authentication UserContextAuth required
|
|
7070
|
+
// oauth required
|
|
7071
|
+
_a.sent();
|
|
7072
|
+
// authentication UserContextAuth required
|
|
7073
|
+
// oauth required
|
|
7074
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7075
|
+
case 2:
|
|
7076
|
+
// authentication UserContextAuth required
|
|
7077
|
+
// oauth required
|
|
7078
|
+
_a.sent();
|
|
7079
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7080
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7081
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7082
|
+
return [2 /*return*/, {
|
|
7083
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7084
|
+
axiosOptions: localVarRequestOptions,
|
|
7085
|
+
}];
|
|
7086
|
+
}
|
|
7087
|
+
});
|
|
7088
|
+
});
|
|
7089
|
+
},
|
|
7090
|
+
/**
|
|
7091
|
+
* This API updates an existing Auth Profile. The following fields are patchable: **offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type**
|
|
7092
|
+
* @summary Patch a specified Auth Profile
|
|
7093
|
+
* @param {string} id ID of the Auth Profile to patch
|
|
7094
|
+
* @param {Array<JsonPatchOperationBeta>} jsonPatchOperationBeta
|
|
7095
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7096
|
+
* @throws {RequiredError}
|
|
7097
|
+
*/
|
|
7098
|
+
patchProfileConfig: function (id, jsonPatchOperationBeta, axiosOptions) {
|
|
7099
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7100
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7101
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7102
|
+
return __generator(this, function (_a) {
|
|
7103
|
+
switch (_a.label) {
|
|
7104
|
+
case 0:
|
|
7105
|
+
// verify required parameter 'id' is not null or undefined
|
|
7106
|
+
(0, common_1.assertParamExists)('patchProfileConfig', 'id', id);
|
|
7107
|
+
// verify required parameter 'jsonPatchOperationBeta' is not null or undefined
|
|
7108
|
+
(0, common_1.assertParamExists)('patchProfileConfig', 'jsonPatchOperationBeta', jsonPatchOperationBeta);
|
|
7109
|
+
localVarPath = "/auth-profiles/{id}"
|
|
7110
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7111
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7112
|
+
if (configuration) {
|
|
7113
|
+
baseOptions = configuration.baseOptions;
|
|
7114
|
+
}
|
|
7115
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
7116
|
+
localVarHeaderParameter = {};
|
|
7117
|
+
localVarQueryParameter = {};
|
|
7118
|
+
// authentication UserContextAuth required
|
|
7119
|
+
// oauth required
|
|
7120
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7121
|
+
// authentication UserContextAuth required
|
|
7122
|
+
// oauth required
|
|
7123
|
+
];
|
|
7124
|
+
case 1:
|
|
7125
|
+
// authentication UserContextAuth required
|
|
7126
|
+
// oauth required
|
|
7127
|
+
_a.sent();
|
|
7128
|
+
// authentication UserContextAuth required
|
|
7129
|
+
// oauth required
|
|
7130
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7131
|
+
case 2:
|
|
7132
|
+
// authentication UserContextAuth required
|
|
7133
|
+
// oauth required
|
|
7134
|
+
_a.sent();
|
|
7135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
7136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperationBeta, localVarRequestOptions, configuration);
|
|
7140
|
+
return [2 /*return*/, {
|
|
7141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7142
|
+
axiosOptions: localVarRequestOptions,
|
|
7143
|
+
}];
|
|
7144
|
+
}
|
|
7145
|
+
});
|
|
7146
|
+
});
|
|
7147
|
+
},
|
|
7148
|
+
};
|
|
7149
|
+
};
|
|
7150
|
+
exports.AuthProfileBetaApiAxiosParamCreator = AuthProfileBetaApiAxiosParamCreator;
|
|
7151
|
+
/**
|
|
7152
|
+
* AuthProfileBetaApi - functional programming interface
|
|
7153
|
+
* @export
|
|
7154
|
+
*/
|
|
7155
|
+
var AuthProfileBetaApiFp = function (configuration) {
|
|
7156
|
+
var localVarAxiosParamCreator = (0, exports.AuthProfileBetaApiAxiosParamCreator)(configuration);
|
|
7157
|
+
return {
|
|
7158
|
+
/**
|
|
7159
|
+
* This API creates an auth profile.
|
|
7160
|
+
* @summary Create Auth Profile.
|
|
7161
|
+
* @param {AuthProfileRequestBeta} authProfileRequestBeta
|
|
7162
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7163
|
+
* @throws {RequiredError}
|
|
7164
|
+
*/
|
|
7165
|
+
createProfileConfig: function (authProfileRequestBeta, axiosOptions) {
|
|
7166
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7167
|
+
var localVarAxiosArgs;
|
|
7168
|
+
return __generator(this, function (_a) {
|
|
7169
|
+
switch (_a.label) {
|
|
7170
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createProfileConfig(authProfileRequestBeta, axiosOptions)];
|
|
7171
|
+
case 1:
|
|
7172
|
+
localVarAxiosArgs = _a.sent();
|
|
7173
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7174
|
+
}
|
|
7175
|
+
});
|
|
7176
|
+
});
|
|
7177
|
+
},
|
|
7178
|
+
/**
|
|
7179
|
+
* This API deletes an existing Auth Profile.
|
|
7180
|
+
* @summary Delete the specified Auth Profile
|
|
7181
|
+
* @param {string} id ID of the Access Profile to delete
|
|
7182
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7183
|
+
* @throws {RequiredError}
|
|
7184
|
+
*/
|
|
7185
|
+
deleteProfileConfig: function (id, axiosOptions) {
|
|
7186
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7187
|
+
var localVarAxiosArgs;
|
|
7188
|
+
return __generator(this, function (_a) {
|
|
7189
|
+
switch (_a.label) {
|
|
7190
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteProfileConfig(id, axiosOptions)];
|
|
7191
|
+
case 1:
|
|
7192
|
+
localVarAxiosArgs = _a.sent();
|
|
7193
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7194
|
+
}
|
|
7195
|
+
});
|
|
7196
|
+
});
|
|
7197
|
+
},
|
|
7198
|
+
/**
|
|
7199
|
+
* This API returns auth profile information.
|
|
7200
|
+
* @summary Get Auth Profile.
|
|
7201
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7202
|
+
* @throws {RequiredError}
|
|
7203
|
+
*/
|
|
7204
|
+
getProfileConfig: function (axiosOptions) {
|
|
7205
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7206
|
+
var localVarAxiosArgs;
|
|
7207
|
+
return __generator(this, function (_a) {
|
|
7208
|
+
switch (_a.label) {
|
|
7209
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProfileConfig(axiosOptions)];
|
|
7210
|
+
case 1:
|
|
7211
|
+
localVarAxiosArgs = _a.sent();
|
|
7212
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7213
|
+
}
|
|
7214
|
+
});
|
|
7215
|
+
});
|
|
7216
|
+
},
|
|
7217
|
+
/**
|
|
7218
|
+
* This API returns a list of auth profiles.
|
|
7219
|
+
* @summary Get list of Auth Profiles.
|
|
7220
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7221
|
+
* @throws {RequiredError}
|
|
7222
|
+
*/
|
|
7223
|
+
getProfileConfigList: function (axiosOptions) {
|
|
7224
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7225
|
+
var localVarAxiosArgs;
|
|
7226
|
+
return __generator(this, function (_a) {
|
|
7227
|
+
switch (_a.label) {
|
|
7228
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProfileConfigList(axiosOptions)];
|
|
7229
|
+
case 1:
|
|
7230
|
+
localVarAxiosArgs = _a.sent();
|
|
7231
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7232
|
+
}
|
|
7233
|
+
});
|
|
7234
|
+
});
|
|
7235
|
+
},
|
|
7236
|
+
/**
|
|
7237
|
+
* This API updates an existing Auth Profile. The following fields are patchable: **offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type**
|
|
7238
|
+
* @summary Patch a specified Auth Profile
|
|
7239
|
+
* @param {string} id ID of the Auth Profile to patch
|
|
7240
|
+
* @param {Array<JsonPatchOperationBeta>} jsonPatchOperationBeta
|
|
7241
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7242
|
+
* @throws {RequiredError}
|
|
7243
|
+
*/
|
|
7244
|
+
patchProfileConfig: function (id, jsonPatchOperationBeta, axiosOptions) {
|
|
7245
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7246
|
+
var localVarAxiosArgs;
|
|
7247
|
+
return __generator(this, function (_a) {
|
|
7248
|
+
switch (_a.label) {
|
|
7249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchProfileConfig(id, jsonPatchOperationBeta, axiosOptions)];
|
|
7250
|
+
case 1:
|
|
7251
|
+
localVarAxiosArgs = _a.sent();
|
|
7252
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7253
|
+
}
|
|
7254
|
+
});
|
|
7255
|
+
});
|
|
7256
|
+
},
|
|
7257
|
+
};
|
|
7258
|
+
};
|
|
7259
|
+
exports.AuthProfileBetaApiFp = AuthProfileBetaApiFp;
|
|
7260
|
+
/**
|
|
7261
|
+
* AuthProfileBetaApi - factory interface
|
|
7262
|
+
* @export
|
|
7263
|
+
*/
|
|
7264
|
+
var AuthProfileBetaApiFactory = function (configuration, basePath, axios) {
|
|
7265
|
+
var localVarFp = (0, exports.AuthProfileBetaApiFp)(configuration);
|
|
7266
|
+
return {
|
|
7267
|
+
/**
|
|
7268
|
+
* This API creates an auth profile.
|
|
7269
|
+
* @summary Create Auth Profile.
|
|
7270
|
+
* @param {AuthProfileRequestBeta} authProfileRequestBeta
|
|
7271
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7272
|
+
* @throws {RequiredError}
|
|
7273
|
+
*/
|
|
7274
|
+
createProfileConfig: function (authProfileRequestBeta, axiosOptions) {
|
|
7275
|
+
return localVarFp.createProfileConfig(authProfileRequestBeta, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
7276
|
+
},
|
|
7277
|
+
/**
|
|
7278
|
+
* This API deletes an existing Auth Profile.
|
|
7279
|
+
* @summary Delete the specified Auth Profile
|
|
7280
|
+
* @param {string} id ID of the Access Profile to delete
|
|
7281
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7282
|
+
* @throws {RequiredError}
|
|
7283
|
+
*/
|
|
7284
|
+
deleteProfileConfig: function (id, axiosOptions) {
|
|
7285
|
+
return localVarFp.deleteProfileConfig(id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
7286
|
+
},
|
|
7287
|
+
/**
|
|
7288
|
+
* This API returns auth profile information.
|
|
7289
|
+
* @summary Get Auth Profile.
|
|
7290
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7291
|
+
* @throws {RequiredError}
|
|
7292
|
+
*/
|
|
7293
|
+
getProfileConfig: function (axiosOptions) {
|
|
7294
|
+
return localVarFp.getProfileConfig(axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
7295
|
+
},
|
|
7296
|
+
/**
|
|
7297
|
+
* This API returns a list of auth profiles.
|
|
7298
|
+
* @summary Get list of Auth Profiles.
|
|
7299
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7300
|
+
* @throws {RequiredError}
|
|
7301
|
+
*/
|
|
7302
|
+
getProfileConfigList: function (axiosOptions) {
|
|
7303
|
+
return localVarFp.getProfileConfigList(axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
7304
|
+
},
|
|
7305
|
+
/**
|
|
7306
|
+
* This API updates an existing Auth Profile. The following fields are patchable: **offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type**
|
|
7307
|
+
* @summary Patch a specified Auth Profile
|
|
7308
|
+
* @param {string} id ID of the Auth Profile to patch
|
|
7309
|
+
* @param {Array<JsonPatchOperationBeta>} jsonPatchOperationBeta
|
|
7310
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7311
|
+
* @throws {RequiredError}
|
|
7312
|
+
*/
|
|
7313
|
+
patchProfileConfig: function (id, jsonPatchOperationBeta, axiosOptions) {
|
|
7314
|
+
return localVarFp.patchProfileConfig(id, jsonPatchOperationBeta, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
7315
|
+
},
|
|
7316
|
+
};
|
|
7317
|
+
};
|
|
7318
|
+
exports.AuthProfileBetaApiFactory = AuthProfileBetaApiFactory;
|
|
7319
|
+
/**
|
|
7320
|
+
* AuthProfileBetaApi - object-oriented interface
|
|
7321
|
+
* @export
|
|
7322
|
+
* @class AuthProfileBetaApi
|
|
7323
|
+
* @extends {BaseAPI}
|
|
7324
|
+
*/
|
|
7325
|
+
var AuthProfileBetaApi = /** @class */ (function (_super) {
|
|
7326
|
+
__extends(AuthProfileBetaApi, _super);
|
|
7327
|
+
function AuthProfileBetaApi() {
|
|
7328
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7329
|
+
}
|
|
7330
|
+
/**
|
|
7331
|
+
* This API creates an auth profile.
|
|
7332
|
+
* @summary Create Auth Profile.
|
|
7333
|
+
* @param {AuthProfileBetaApiCreateProfileConfigRequest} requestParameters Request parameters.
|
|
7334
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7335
|
+
* @throws {RequiredError}
|
|
7336
|
+
* @memberof AuthProfileBetaApi
|
|
7337
|
+
*/
|
|
7338
|
+
AuthProfileBetaApi.prototype.createProfileConfig = function (requestParameters, axiosOptions) {
|
|
7339
|
+
var _this = this;
|
|
7340
|
+
return (0, exports.AuthProfileBetaApiFp)(this.configuration).createProfileConfig(requestParameters.authProfileRequestBeta, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7341
|
+
};
|
|
7342
|
+
/**
|
|
7343
|
+
* This API deletes an existing Auth Profile.
|
|
7344
|
+
* @summary Delete the specified Auth Profile
|
|
7345
|
+
* @param {AuthProfileBetaApiDeleteProfileConfigRequest} requestParameters Request parameters.
|
|
7346
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7347
|
+
* @throws {RequiredError}
|
|
7348
|
+
* @memberof AuthProfileBetaApi
|
|
7349
|
+
*/
|
|
7350
|
+
AuthProfileBetaApi.prototype.deleteProfileConfig = function (requestParameters, axiosOptions) {
|
|
7351
|
+
var _this = this;
|
|
7352
|
+
return (0, exports.AuthProfileBetaApiFp)(this.configuration).deleteProfileConfig(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7353
|
+
};
|
|
7354
|
+
/**
|
|
7355
|
+
* This API returns auth profile information.
|
|
7356
|
+
* @summary Get Auth Profile.
|
|
7357
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7358
|
+
* @throws {RequiredError}
|
|
7359
|
+
* @memberof AuthProfileBetaApi
|
|
7360
|
+
*/
|
|
7361
|
+
AuthProfileBetaApi.prototype.getProfileConfig = function (axiosOptions) {
|
|
7362
|
+
var _this = this;
|
|
7363
|
+
return (0, exports.AuthProfileBetaApiFp)(this.configuration).getProfileConfig(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7364
|
+
};
|
|
7365
|
+
/**
|
|
7366
|
+
* This API returns a list of auth profiles.
|
|
7367
|
+
* @summary Get list of Auth Profiles.
|
|
7368
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7369
|
+
* @throws {RequiredError}
|
|
7370
|
+
* @memberof AuthProfileBetaApi
|
|
7371
|
+
*/
|
|
7372
|
+
AuthProfileBetaApi.prototype.getProfileConfigList = function (axiosOptions) {
|
|
7373
|
+
var _this = this;
|
|
7374
|
+
return (0, exports.AuthProfileBetaApiFp)(this.configuration).getProfileConfigList(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7375
|
+
};
|
|
7376
|
+
/**
|
|
7377
|
+
* This API updates an existing Auth Profile. The following fields are patchable: **offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type**
|
|
7378
|
+
* @summary Patch a specified Auth Profile
|
|
7379
|
+
* @param {AuthProfileBetaApiPatchProfileConfigRequest} requestParameters Request parameters.
|
|
7380
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7381
|
+
* @throws {RequiredError}
|
|
7382
|
+
* @memberof AuthProfileBetaApi
|
|
7383
|
+
*/
|
|
7384
|
+
AuthProfileBetaApi.prototype.patchProfileConfig = function (requestParameters, axiosOptions) {
|
|
7385
|
+
var _this = this;
|
|
7386
|
+
return (0, exports.AuthProfileBetaApiFp)(this.configuration).patchProfileConfig(requestParameters.id, requestParameters.jsonPatchOperationBeta, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7387
|
+
};
|
|
7388
|
+
return AuthProfileBetaApi;
|
|
7389
|
+
}(base_1.BaseAPI));
|
|
7390
|
+
exports.AuthProfileBetaApi = AuthProfileBetaApi;
|
|
7391
|
+
/**
|
|
7392
|
+
* CertificationCampaignsBetaApi - axios parameter creator
|
|
7393
|
+
* @export
|
|
7394
|
+
*/
|
|
7395
|
+
var CertificationCampaignsBetaApiAxiosParamCreator = function (configuration) {
|
|
7396
|
+
var _this = this;
|
|
7397
|
+
return {
|
|
7398
|
+
/**
|
|
7399
|
+
* :::caution This endpoint will run successfully for any campaigns that are **past due**. This endpoint will return a content error if the campaign is **not past due**. ::: Completes a certification campaign. This is provided to admins so that they can complete a certification even if all items have not been completed. Requires roles of CERT_ADMIN and ORG_ADMIN
|
|
7400
|
+
* @summary Complete a Campaign
|
|
7401
|
+
* @param {string} id The campaign id
|
|
7402
|
+
* @param {CompleteCampaignOptionsBeta} [completeCampaignOptionsBeta] Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE
|
|
7403
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7404
|
+
* @deprecated
|
|
7405
|
+
* @throws {RequiredError}
|
|
7406
|
+
*/
|
|
7407
|
+
completeCampaign: function (id, completeCampaignOptionsBeta, axiosOptions) {
|
|
7408
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7409
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7410
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7411
|
+
return __generator(this, function (_a) {
|
|
7412
|
+
switch (_a.label) {
|
|
7413
|
+
case 0:
|
|
7414
|
+
// verify required parameter 'id' is not null or undefined
|
|
7415
|
+
(0, common_1.assertParamExists)('completeCampaign', 'id', id);
|
|
7416
|
+
localVarPath = "/campaigns/{id}/complete"
|
|
7417
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7418
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7419
|
+
if (configuration) {
|
|
7420
|
+
baseOptions = configuration.baseOptions;
|
|
7421
|
+
}
|
|
7422
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
7423
|
+
localVarHeaderParameter = {};
|
|
7424
|
+
localVarQueryParameter = {};
|
|
7425
|
+
// authentication UserContextAuth required
|
|
7426
|
+
// oauth required
|
|
7427
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7428
|
+
// authentication UserContextAuth required
|
|
7429
|
+
// oauth required
|
|
7430
|
+
];
|
|
7431
|
+
case 1:
|
|
7432
|
+
// authentication UserContextAuth required
|
|
7433
|
+
// oauth required
|
|
7434
|
+
_a.sent();
|
|
7435
|
+
// authentication UserContextAuth required
|
|
7436
|
+
// oauth required
|
|
7437
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7438
|
+
case 2:
|
|
7439
|
+
// authentication UserContextAuth required
|
|
7440
|
+
// oauth required
|
|
7441
|
+
_a.sent();
|
|
7442
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7443
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7444
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7445
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7446
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeCampaignOptionsBeta, localVarRequestOptions, configuration);
|
|
7447
|
+
return [2 /*return*/, {
|
|
7448
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7449
|
+
axiosOptions: localVarRequestOptions,
|
|
7450
|
+
}];
|
|
7451
|
+
}
|
|
7452
|
+
});
|
|
7453
|
+
});
|
|
7454
|
+
},
|
|
7455
|
+
/**
|
|
7456
|
+
* Creates a new Certification Campaign with the information provided in the request body.
|
|
7457
|
+
* @summary Create a campaign
|
|
7458
|
+
* @param {CampaignBeta} campaignBeta
|
|
7459
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7460
|
+
* @deprecated
|
|
7461
|
+
* @throws {RequiredError}
|
|
7462
|
+
*/
|
|
7463
|
+
createCampaign: function (campaignBeta, axiosOptions) {
|
|
7464
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7465
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7466
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7467
|
+
return __generator(this, function (_a) {
|
|
7468
|
+
switch (_a.label) {
|
|
7469
|
+
case 0:
|
|
7470
|
+
// verify required parameter 'campaignBeta' is not null or undefined
|
|
7471
|
+
(0, common_1.assertParamExists)('createCampaign', 'campaignBeta', campaignBeta);
|
|
7472
|
+
localVarPath = "/campaigns";
|
|
7473
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7474
|
+
if (configuration) {
|
|
7475
|
+
baseOptions = configuration.baseOptions;
|
|
7476
|
+
}
|
|
7477
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
7478
|
+
localVarHeaderParameter = {};
|
|
7479
|
+
localVarQueryParameter = {};
|
|
7480
|
+
// authentication UserContextAuth required
|
|
7481
|
+
// oauth required
|
|
7482
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7483
|
+
// authentication UserContextAuth required
|
|
7484
|
+
// oauth required
|
|
7485
|
+
];
|
|
7486
|
+
case 1:
|
|
7487
|
+
// authentication UserContextAuth required
|
|
7488
|
+
// oauth required
|
|
7489
|
+
_a.sent();
|
|
7490
|
+
// authentication UserContextAuth required
|
|
7491
|
+
// oauth required
|
|
7492
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7493
|
+
case 2:
|
|
7494
|
+
// authentication UserContextAuth required
|
|
7495
|
+
// oauth required
|
|
7496
|
+
_a.sent();
|
|
7497
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7498
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7499
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7500
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7501
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(campaignBeta, localVarRequestOptions, configuration);
|
|
7502
|
+
return [2 /*return*/, {
|
|
7503
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7504
|
+
axiosOptions: localVarRequestOptions,
|
|
7505
|
+
}];
|
|
7506
|
+
}
|
|
7507
|
+
});
|
|
7508
|
+
});
|
|
7509
|
+
},
|
|
7510
|
+
/**
|
|
7511
|
+
* Create a campaign Template based on campaign.
|
|
7512
|
+
* @summary Create a Campaign Template
|
|
7513
|
+
* @param {CampaignTemplateBeta} campaignTemplateBeta
|
|
7514
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7515
|
+
* @deprecated
|
|
7516
|
+
* @throws {RequiredError}
|
|
7517
|
+
*/
|
|
7518
|
+
createCampaignTemplate: function (campaignTemplateBeta, axiosOptions) {
|
|
7519
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7520
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7521
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7522
|
+
return __generator(this, function (_a) {
|
|
7523
|
+
switch (_a.label) {
|
|
7524
|
+
case 0:
|
|
7525
|
+
// verify required parameter 'campaignTemplateBeta' is not null or undefined
|
|
7526
|
+
(0, common_1.assertParamExists)('createCampaignTemplate', 'campaignTemplateBeta', campaignTemplateBeta);
|
|
7527
|
+
localVarPath = "/campaign-templates";
|
|
7528
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7529
|
+
if (configuration) {
|
|
7530
|
+
baseOptions = configuration.baseOptions;
|
|
7531
|
+
}
|
|
7532
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
7533
|
+
localVarHeaderParameter = {};
|
|
7534
|
+
localVarQueryParameter = {};
|
|
7535
|
+
// authentication UserContextAuth required
|
|
7536
|
+
// oauth required
|
|
7537
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7538
|
+
// authentication UserContextAuth required
|
|
7539
|
+
// oauth required
|
|
7540
|
+
];
|
|
7541
|
+
case 1:
|
|
7542
|
+
// authentication UserContextAuth required
|
|
7543
|
+
// oauth required
|
|
7544
|
+
_a.sent();
|
|
7545
|
+
// authentication UserContextAuth required
|
|
7546
|
+
// oauth required
|
|
7547
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7548
|
+
case 2:
|
|
7549
|
+
// authentication UserContextAuth required
|
|
7550
|
+
// oauth required
|
|
7551
|
+
_a.sent();
|
|
7552
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7553
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7554
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7555
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7556
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(campaignTemplateBeta, localVarRequestOptions, configuration);
|
|
7557
|
+
return [2 /*return*/, {
|
|
7558
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7559
|
+
axiosOptions: localVarRequestOptions,
|
|
7560
|
+
}];
|
|
7561
|
+
}
|
|
7562
|
+
});
|
|
7563
|
+
});
|
|
7564
|
+
},
|
|
7565
|
+
/**
|
|
7566
|
+
* Deletes a campaign template by ID.
|
|
7567
|
+
* @summary Delete a Campaign Template
|
|
7568
|
+
* @param {string} id The ID of the campaign template being deleted.
|
|
7569
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7570
|
+
* @deprecated
|
|
7571
|
+
* @throws {RequiredError}
|
|
7572
|
+
*/
|
|
7573
|
+
deleteCampaignTemplate: function (id, axiosOptions) {
|
|
7574
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7575
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7576
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7577
|
+
return __generator(this, function (_a) {
|
|
7578
|
+
switch (_a.label) {
|
|
7579
|
+
case 0:
|
|
7580
|
+
// verify required parameter 'id' is not null or undefined
|
|
7581
|
+
(0, common_1.assertParamExists)('deleteCampaignTemplate', 'id', id);
|
|
7582
|
+
localVarPath = "/campaign-templates/{id}"
|
|
7583
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7584
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7585
|
+
if (configuration) {
|
|
7586
|
+
baseOptions = configuration.baseOptions;
|
|
7587
|
+
}
|
|
7588
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
7589
|
+
localVarHeaderParameter = {};
|
|
7590
|
+
localVarQueryParameter = {};
|
|
7591
|
+
// authentication UserContextAuth required
|
|
7592
|
+
// oauth required
|
|
7593
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7594
|
+
// authentication UserContextAuth required
|
|
7595
|
+
// oauth required
|
|
7596
|
+
];
|
|
7597
|
+
case 1:
|
|
7598
|
+
// authentication UserContextAuth required
|
|
7599
|
+
// oauth required
|
|
7600
|
+
_a.sent();
|
|
7601
|
+
// authentication UserContextAuth required
|
|
7602
|
+
// oauth required
|
|
7603
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7604
|
+
case 2:
|
|
7605
|
+
// authentication UserContextAuth required
|
|
7606
|
+
// oauth required
|
|
7607
|
+
_a.sent();
|
|
7608
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7609
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7610
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7611
|
+
return [2 /*return*/, {
|
|
7612
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7613
|
+
axiosOptions: localVarRequestOptions,
|
|
7614
|
+
}];
|
|
7615
|
+
}
|
|
7616
|
+
});
|
|
7617
|
+
});
|
|
7618
|
+
},
|
|
7619
|
+
/**
|
|
7620
|
+
* Deletes the schedule for a campaign template. Returns a 404 if there is no schedule set.
|
|
7621
|
+
* @summary Deletes a Campaign Template\'s Schedule
|
|
7622
|
+
* @param {string} id The ID of the campaign template whose schedule is being deleted.
|
|
7623
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7624
|
+
* @deprecated
|
|
7625
|
+
* @throws {RequiredError}
|
|
7626
|
+
*/
|
|
7627
|
+
deleteCampaignTemplateSchedule: function (id, axiosOptions) {
|
|
7628
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7629
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7630
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7631
|
+
return __generator(this, function (_a) {
|
|
7632
|
+
switch (_a.label) {
|
|
7633
|
+
case 0:
|
|
7634
|
+
// verify required parameter 'id' is not null or undefined
|
|
7635
|
+
(0, common_1.assertParamExists)('deleteCampaignTemplateSchedule', 'id', id);
|
|
7636
|
+
localVarPath = "/campaign-templates/{id}/schedule"
|
|
7637
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7638
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7639
|
+
if (configuration) {
|
|
7640
|
+
baseOptions = configuration.baseOptions;
|
|
7641
|
+
}
|
|
7642
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
7643
|
+
localVarHeaderParameter = {};
|
|
7644
|
+
localVarQueryParameter = {};
|
|
7645
|
+
// authentication UserContextAuth required
|
|
7646
|
+
// oauth required
|
|
7647
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7648
|
+
// authentication UserContextAuth required
|
|
7649
|
+
// oauth required
|
|
7650
|
+
];
|
|
7651
|
+
case 1:
|
|
7652
|
+
// authentication UserContextAuth required
|
|
7653
|
+
// oauth required
|
|
7654
|
+
_a.sent();
|
|
7655
|
+
// authentication UserContextAuth required
|
|
7656
|
+
// oauth required
|
|
7657
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7658
|
+
case 2:
|
|
7659
|
+
// authentication UserContextAuth required
|
|
7660
|
+
// oauth required
|
|
7661
|
+
_a.sent();
|
|
7662
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7663
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7664
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7665
|
+
return [2 /*return*/, {
|
|
7666
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7667
|
+
axiosOptions: localVarRequestOptions,
|
|
7668
|
+
}];
|
|
7669
|
+
}
|
|
7670
|
+
});
|
|
7671
|
+
});
|
|
7672
|
+
},
|
|
7673
|
+
/**
|
|
7674
|
+
* Deletes campaigns whose Ids are specified in the provided list of campaign Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN.
|
|
7675
|
+
* @summary Deletes Campaigns
|
|
7676
|
+
* @param {DeleteCampaignsRequestBeta} deleteCampaignsRequestBeta The ids of the campaigns to delete.
|
|
7677
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7678
|
+
* @deprecated
|
|
7679
|
+
* @throws {RequiredError}
|
|
7680
|
+
*/
|
|
7681
|
+
deleteCampaigns: function (deleteCampaignsRequestBeta, axiosOptions) {
|
|
7682
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7683
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7684
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7685
|
+
return __generator(this, function (_a) {
|
|
7686
|
+
switch (_a.label) {
|
|
7687
|
+
case 0:
|
|
7688
|
+
// verify required parameter 'deleteCampaignsRequestBeta' is not null or undefined
|
|
7689
|
+
(0, common_1.assertParamExists)('deleteCampaigns', 'deleteCampaignsRequestBeta', deleteCampaignsRequestBeta);
|
|
7690
|
+
localVarPath = "/campaigns/delete";
|
|
7691
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7692
|
+
if (configuration) {
|
|
7693
|
+
baseOptions = configuration.baseOptions;
|
|
7694
|
+
}
|
|
7695
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
7696
|
+
localVarHeaderParameter = {};
|
|
7697
|
+
localVarQueryParameter = {};
|
|
7698
|
+
// authentication UserContextAuth required
|
|
7699
|
+
// oauth required
|
|
7700
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7701
|
+
// authentication UserContextAuth required
|
|
7702
|
+
// oauth required
|
|
7703
|
+
];
|
|
7704
|
+
case 1:
|
|
7705
|
+
// authentication UserContextAuth required
|
|
7706
|
+
// oauth required
|
|
7707
|
+
_a.sent();
|
|
7708
|
+
// authentication UserContextAuth required
|
|
7709
|
+
// oauth required
|
|
7710
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7711
|
+
case 2:
|
|
7712
|
+
// authentication UserContextAuth required
|
|
7713
|
+
// oauth required
|
|
7714
|
+
_a.sent();
|
|
7715
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7716
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7717
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7718
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7719
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deleteCampaignsRequestBeta, localVarRequestOptions, configuration);
|
|
7720
|
+
return [2 /*return*/, {
|
|
7721
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7722
|
+
axiosOptions: localVarRequestOptions,
|
|
7723
|
+
}];
|
|
7724
|
+
}
|
|
7725
|
+
});
|
|
7726
|
+
});
|
|
7727
|
+
},
|
|
7728
|
+
/**
|
|
7729
|
+
* Gets campaigns and returns them in a list. Can provide increased level of detail for each campaign if provided the correct query.
|
|
7730
|
+
* @summary List Campaigns
|
|
7731
|
+
* @param {'SLIM' | 'FULL'} [detail] Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior.
|
|
7732
|
+
* @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.
|
|
7733
|
+
* @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.
|
|
7734
|
+
* @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.
|
|
7735
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, sw* **status**: *eq, in*
|
|
7736
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created**
|
|
7737
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7738
|
+
* @deprecated
|
|
7739
|
+
* @throws {RequiredError}
|
|
7740
|
+
*/
|
|
7741
|
+
getActiveCampaigns: function (detail, limit, offset, count, filters, sorters, axiosOptions) {
|
|
7742
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7743
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7744
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7745
|
+
return __generator(this, function (_a) {
|
|
7746
|
+
switch (_a.label) {
|
|
7747
|
+
case 0:
|
|
7748
|
+
localVarPath = "/campaigns";
|
|
7749
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7750
|
+
if (configuration) {
|
|
7751
|
+
baseOptions = configuration.baseOptions;
|
|
7752
|
+
}
|
|
7753
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
7754
|
+
localVarHeaderParameter = {};
|
|
7755
|
+
localVarQueryParameter = {};
|
|
7756
|
+
// authentication UserContextAuth required
|
|
7757
|
+
// oauth required
|
|
7758
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
7759
|
+
// authentication UserContextAuth required
|
|
7760
|
+
// oauth required
|
|
7761
|
+
];
|
|
7762
|
+
case 1:
|
|
7763
|
+
// authentication UserContextAuth required
|
|
7764
|
+
// oauth required
|
|
7765
|
+
_a.sent();
|
|
7766
|
+
// authentication UserContextAuth required
|
|
7767
|
+
// oauth required
|
|
7768
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
7769
|
+
case 2:
|
|
7770
|
+
// authentication UserContextAuth required
|
|
7771
|
+
// oauth required
|
|
7772
|
+
_a.sent();
|
|
7773
|
+
if (detail !== undefined) {
|
|
7774
|
+
localVarQueryParameter['detail'] = detail;
|
|
7775
|
+
}
|
|
7776
|
+
if (limit !== undefined) {
|
|
7777
|
+
localVarQueryParameter['limit'] = limit;
|
|
7778
|
+
}
|
|
7779
|
+
if (offset !== undefined) {
|
|
7780
|
+
localVarQueryParameter['offset'] = offset;
|
|
7781
|
+
}
|
|
7782
|
+
if (count !== undefined) {
|
|
7783
|
+
localVarQueryParameter['count'] = count;
|
|
7784
|
+
}
|
|
7785
|
+
if (filters !== undefined) {
|
|
7786
|
+
localVarQueryParameter['filters'] = filters;
|
|
7787
|
+
}
|
|
7788
|
+
if (sorters !== undefined) {
|
|
7789
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
7790
|
+
}
|
|
7791
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7792
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7793
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
7794
|
+
return [2 /*return*/, {
|
|
7795
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7796
|
+
axiosOptions: localVarRequestOptions,
|
|
7797
|
+
}];
|
|
7798
|
+
}
|
|
7799
|
+
});
|
|
7800
|
+
});
|
|
7801
|
+
},
|
|
7802
|
+
/**
|
|
7803
|
+
* Retrieves information for an existing campaign using the campaign\'s ID. Authorized callers must be a reviewer for this campaign, an ORG_ADMIN, or a CERT_ADMIN.
|
|
7804
|
+
* @summary Get a campaign
|
|
7805
|
+
* @param {string} id The ID of the campaign to be retrieved
|
|
7806
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
7807
|
+
* @deprecated
|
|
7808
|
+
* @throws {RequiredError}
|
|
7809
|
+
*/
|
|
7810
|
+
getCampaign: function (id, axiosOptions) {
|
|
7811
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
7812
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7813
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7814
|
+
return __generator(this, function (_a) {
|
|
7815
|
+
switch (_a.label) {
|
|
7816
|
+
case 0:
|
|
7817
|
+
// verify required parameter 'id' is not null or undefined
|
|
7818
|
+
(0, common_1.assertParamExists)('getCampaign', 'id', id);
|
|
7819
|
+
localVarPath = "/campaigns/{id}"
|
|
7820
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7285
7821
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7286
7822
|
if (configuration) {
|
|
7287
7823
|
baseOptions = configuration.baseOptions;
|
|
@@ -12564,9 +13100,236 @@ var CustomPasswordInstructionsBetaApiAxiosParamCreator = function (configuration
|
|
|
12564
13100
|
// authentication UserContextAuth required
|
|
12565
13101
|
// oauth required
|
|
12566
13102
|
_a.sent();
|
|
12567
|
-
if (locale !== undefined) {
|
|
12568
|
-
localVarQueryParameter['locale'] = locale;
|
|
12569
|
-
}
|
|
13103
|
+
if (locale !== undefined) {
|
|
13104
|
+
localVarQueryParameter['locale'] = locale;
|
|
13105
|
+
}
|
|
13106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13107
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13108
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
13109
|
+
return [2 /*return*/, {
|
|
13110
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13111
|
+
axiosOptions: localVarRequestOptions,
|
|
13112
|
+
}];
|
|
13113
|
+
}
|
|
13114
|
+
});
|
|
13115
|
+
});
|
|
13116
|
+
},
|
|
13117
|
+
};
|
|
13118
|
+
};
|
|
13119
|
+
exports.CustomPasswordInstructionsBetaApiAxiosParamCreator = CustomPasswordInstructionsBetaApiAxiosParamCreator;
|
|
13120
|
+
/**
|
|
13121
|
+
* CustomPasswordInstructionsBetaApi - functional programming interface
|
|
13122
|
+
* @export
|
|
13123
|
+
*/
|
|
13124
|
+
var CustomPasswordInstructionsBetaApiFp = function (configuration) {
|
|
13125
|
+
var localVarAxiosParamCreator = (0, exports.CustomPasswordInstructionsBetaApiAxiosParamCreator)(configuration);
|
|
13126
|
+
return {
|
|
13127
|
+
/**
|
|
13128
|
+
* This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13129
|
+
* @summary Create Custom Password Instructions
|
|
13130
|
+
* @param {CustomPasswordInstructionBeta} customPasswordInstructionBeta
|
|
13131
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13132
|
+
* @throws {RequiredError}
|
|
13133
|
+
*/
|
|
13134
|
+
createCustomPasswordInstructions: function (customPasswordInstructionBeta, axiosOptions) {
|
|
13135
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13136
|
+
var localVarAxiosArgs;
|
|
13137
|
+
return __generator(this, function (_a) {
|
|
13138
|
+
switch (_a.label) {
|
|
13139
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomPasswordInstructions(customPasswordInstructionBeta, axiosOptions)];
|
|
13140
|
+
case 1:
|
|
13141
|
+
localVarAxiosArgs = _a.sent();
|
|
13142
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13143
|
+
}
|
|
13144
|
+
});
|
|
13145
|
+
});
|
|
13146
|
+
},
|
|
13147
|
+
/**
|
|
13148
|
+
* This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13149
|
+
* @summary Delete Custom Password Instructions by page ID
|
|
13150
|
+
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to delete.
|
|
13151
|
+
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
13152
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13153
|
+
* @throws {RequiredError}
|
|
13154
|
+
*/
|
|
13155
|
+
deleteCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
13156
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13157
|
+
var localVarAxiosArgs;
|
|
13158
|
+
return __generator(this, function (_a) {
|
|
13159
|
+
switch (_a.label) {
|
|
13160
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCustomPasswordInstructions(pageId, locale, axiosOptions)];
|
|
13161
|
+
case 1:
|
|
13162
|
+
localVarAxiosArgs = _a.sent();
|
|
13163
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13164
|
+
}
|
|
13165
|
+
});
|
|
13166
|
+
});
|
|
13167
|
+
},
|
|
13168
|
+
/**
|
|
13169
|
+
* This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13170
|
+
* @summary Get Custom Password Instructions by Page ID
|
|
13171
|
+
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to query.
|
|
13172
|
+
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
13173
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13174
|
+
* @throws {RequiredError}
|
|
13175
|
+
*/
|
|
13176
|
+
getCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
13177
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13178
|
+
var localVarAxiosArgs;
|
|
13179
|
+
return __generator(this, function (_a) {
|
|
13180
|
+
switch (_a.label) {
|
|
13181
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCustomPasswordInstructions(pageId, locale, axiosOptions)];
|
|
13182
|
+
case 1:
|
|
13183
|
+
localVarAxiosArgs = _a.sent();
|
|
13184
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13185
|
+
}
|
|
13186
|
+
});
|
|
13187
|
+
});
|
|
13188
|
+
},
|
|
13189
|
+
};
|
|
13190
|
+
};
|
|
13191
|
+
exports.CustomPasswordInstructionsBetaApiFp = CustomPasswordInstructionsBetaApiFp;
|
|
13192
|
+
/**
|
|
13193
|
+
* CustomPasswordInstructionsBetaApi - factory interface
|
|
13194
|
+
* @export
|
|
13195
|
+
*/
|
|
13196
|
+
var CustomPasswordInstructionsBetaApiFactory = function (configuration, basePath, axios) {
|
|
13197
|
+
var localVarFp = (0, exports.CustomPasswordInstructionsBetaApiFp)(configuration);
|
|
13198
|
+
return {
|
|
13199
|
+
/**
|
|
13200
|
+
* This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13201
|
+
* @summary Create Custom Password Instructions
|
|
13202
|
+
* @param {CustomPasswordInstructionBeta} customPasswordInstructionBeta
|
|
13203
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13204
|
+
* @throws {RequiredError}
|
|
13205
|
+
*/
|
|
13206
|
+
createCustomPasswordInstructions: function (customPasswordInstructionBeta, axiosOptions) {
|
|
13207
|
+
return localVarFp.createCustomPasswordInstructions(customPasswordInstructionBeta, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
13208
|
+
},
|
|
13209
|
+
/**
|
|
13210
|
+
* This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13211
|
+
* @summary Delete Custom Password Instructions by page ID
|
|
13212
|
+
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to delete.
|
|
13213
|
+
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
13214
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13215
|
+
* @throws {RequiredError}
|
|
13216
|
+
*/
|
|
13217
|
+
deleteCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
13218
|
+
return localVarFp.deleteCustomPasswordInstructions(pageId, locale, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
13219
|
+
},
|
|
13220
|
+
/**
|
|
13221
|
+
* This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13222
|
+
* @summary Get Custom Password Instructions by Page ID
|
|
13223
|
+
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to query.
|
|
13224
|
+
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
13225
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13226
|
+
* @throws {RequiredError}
|
|
13227
|
+
*/
|
|
13228
|
+
getCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
13229
|
+
return localVarFp.getCustomPasswordInstructions(pageId, locale, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
13230
|
+
},
|
|
13231
|
+
};
|
|
13232
|
+
};
|
|
13233
|
+
exports.CustomPasswordInstructionsBetaApiFactory = CustomPasswordInstructionsBetaApiFactory;
|
|
13234
|
+
/**
|
|
13235
|
+
* CustomPasswordInstructionsBetaApi - object-oriented interface
|
|
13236
|
+
* @export
|
|
13237
|
+
* @class CustomPasswordInstructionsBetaApi
|
|
13238
|
+
* @extends {BaseAPI}
|
|
13239
|
+
*/
|
|
13240
|
+
var CustomPasswordInstructionsBetaApi = /** @class */ (function (_super) {
|
|
13241
|
+
__extends(CustomPasswordInstructionsBetaApi, _super);
|
|
13242
|
+
function CustomPasswordInstructionsBetaApi() {
|
|
13243
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
13244
|
+
}
|
|
13245
|
+
/**
|
|
13246
|
+
* This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13247
|
+
* @summary Create Custom Password Instructions
|
|
13248
|
+
* @param {CustomPasswordInstructionsBetaApiCreateCustomPasswordInstructionsRequest} requestParameters Request parameters.
|
|
13249
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13250
|
+
* @throws {RequiredError}
|
|
13251
|
+
* @memberof CustomPasswordInstructionsBetaApi
|
|
13252
|
+
*/
|
|
13253
|
+
CustomPasswordInstructionsBetaApi.prototype.createCustomPasswordInstructions = function (requestParameters, axiosOptions) {
|
|
13254
|
+
var _this = this;
|
|
13255
|
+
return (0, exports.CustomPasswordInstructionsBetaApiFp)(this.configuration).createCustomPasswordInstructions(requestParameters.customPasswordInstructionBeta, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13256
|
+
};
|
|
13257
|
+
/**
|
|
13258
|
+
* This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13259
|
+
* @summary Delete Custom Password Instructions by page ID
|
|
13260
|
+
* @param {CustomPasswordInstructionsBetaApiDeleteCustomPasswordInstructionsRequest} requestParameters Request parameters.
|
|
13261
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13262
|
+
* @throws {RequiredError}
|
|
13263
|
+
* @memberof CustomPasswordInstructionsBetaApi
|
|
13264
|
+
*/
|
|
13265
|
+
CustomPasswordInstructionsBetaApi.prototype.deleteCustomPasswordInstructions = function (requestParameters, axiosOptions) {
|
|
13266
|
+
var _this = this;
|
|
13267
|
+
return (0, exports.CustomPasswordInstructionsBetaApiFp)(this.configuration).deleteCustomPasswordInstructions(requestParameters.pageId, requestParameters.locale, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13268
|
+
};
|
|
13269
|
+
/**
|
|
13270
|
+
* This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
13271
|
+
* @summary Get Custom Password Instructions by Page ID
|
|
13272
|
+
* @param {CustomPasswordInstructionsBetaApiGetCustomPasswordInstructionsRequest} requestParameters Request parameters.
|
|
13273
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13274
|
+
* @throws {RequiredError}
|
|
13275
|
+
* @memberof CustomPasswordInstructionsBetaApi
|
|
13276
|
+
*/
|
|
13277
|
+
CustomPasswordInstructionsBetaApi.prototype.getCustomPasswordInstructions = function (requestParameters, axiosOptions) {
|
|
13278
|
+
var _this = this;
|
|
13279
|
+
return (0, exports.CustomPasswordInstructionsBetaApiFp)(this.configuration).getCustomPasswordInstructions(requestParameters.pageId, requestParameters.locale, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13280
|
+
};
|
|
13281
|
+
return CustomPasswordInstructionsBetaApi;
|
|
13282
|
+
}(base_1.BaseAPI));
|
|
13283
|
+
exports.CustomPasswordInstructionsBetaApi = CustomPasswordInstructionsBetaApi;
|
|
13284
|
+
/**
|
|
13285
|
+
* EntitlementsBetaApi - axios parameter creator
|
|
13286
|
+
* @export
|
|
13287
|
+
*/
|
|
13288
|
+
var EntitlementsBetaApiAxiosParamCreator = function (configuration) {
|
|
13289
|
+
var _this = this;
|
|
13290
|
+
return {
|
|
13291
|
+
/**
|
|
13292
|
+
* This API returns an entitlement by its ID.
|
|
13293
|
+
* @summary Get an entitlement
|
|
13294
|
+
* @param {string} id The entitlement ID
|
|
13295
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13296
|
+
* @throws {RequiredError}
|
|
13297
|
+
*/
|
|
13298
|
+
getEntitlement: function (id, axiosOptions) {
|
|
13299
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
13300
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
13301
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13302
|
+
return __generator(this, function (_a) {
|
|
13303
|
+
switch (_a.label) {
|
|
13304
|
+
case 0:
|
|
13305
|
+
// verify required parameter 'id' is not null or undefined
|
|
13306
|
+
(0, common_1.assertParamExists)('getEntitlement', 'id', id);
|
|
13307
|
+
localVarPath = "/entitlements/{id}"
|
|
13308
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
13309
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13310
|
+
if (configuration) {
|
|
13311
|
+
baseOptions = configuration.baseOptions;
|
|
13312
|
+
}
|
|
13313
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
13314
|
+
localVarHeaderParameter = {};
|
|
13315
|
+
localVarQueryParameter = {};
|
|
13316
|
+
// authentication UserContextAuth required
|
|
13317
|
+
// oauth required
|
|
13318
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
13319
|
+
// authentication UserContextAuth required
|
|
13320
|
+
// oauth required
|
|
13321
|
+
];
|
|
13322
|
+
case 1:
|
|
13323
|
+
// authentication UserContextAuth required
|
|
13324
|
+
// oauth required
|
|
13325
|
+
_a.sent();
|
|
13326
|
+
// authentication UserContextAuth required
|
|
13327
|
+
// oauth required
|
|
13328
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
13329
|
+
case 2:
|
|
13330
|
+
// authentication UserContextAuth required
|
|
13331
|
+
// oauth required
|
|
13332
|
+
_a.sent();
|
|
12570
13333
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12571
13334
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12572
13335
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -12578,188 +13341,14 @@ var CustomPasswordInstructionsBetaApiAxiosParamCreator = function (configuration
|
|
|
12578
13341
|
});
|
|
12579
13342
|
});
|
|
12580
13343
|
},
|
|
12581
|
-
};
|
|
12582
|
-
};
|
|
12583
|
-
exports.CustomPasswordInstructionsBetaApiAxiosParamCreator = CustomPasswordInstructionsBetaApiAxiosParamCreator;
|
|
12584
|
-
/**
|
|
12585
|
-
* CustomPasswordInstructionsBetaApi - functional programming interface
|
|
12586
|
-
* @export
|
|
12587
|
-
*/
|
|
12588
|
-
var CustomPasswordInstructionsBetaApiFp = function (configuration) {
|
|
12589
|
-
var localVarAxiosParamCreator = (0, exports.CustomPasswordInstructionsBetaApiAxiosParamCreator)(configuration);
|
|
12590
|
-
return {
|
|
12591
|
-
/**
|
|
12592
|
-
* This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12593
|
-
* @summary Create Custom Password Instructions
|
|
12594
|
-
* @param {CustomPasswordInstructionBeta} customPasswordInstructionBeta
|
|
12595
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12596
|
-
* @throws {RequiredError}
|
|
12597
|
-
*/
|
|
12598
|
-
createCustomPasswordInstructions: function (customPasswordInstructionBeta, axiosOptions) {
|
|
12599
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
12600
|
-
var localVarAxiosArgs;
|
|
12601
|
-
return __generator(this, function (_a) {
|
|
12602
|
-
switch (_a.label) {
|
|
12603
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomPasswordInstructions(customPasswordInstructionBeta, axiosOptions)];
|
|
12604
|
-
case 1:
|
|
12605
|
-
localVarAxiosArgs = _a.sent();
|
|
12606
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12607
|
-
}
|
|
12608
|
-
});
|
|
12609
|
-
});
|
|
12610
|
-
},
|
|
12611
|
-
/**
|
|
12612
|
-
* This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12613
|
-
* @summary Delete Custom Password Instructions by page ID
|
|
12614
|
-
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to delete.
|
|
12615
|
-
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
12616
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12617
|
-
* @throws {RequiredError}
|
|
12618
|
-
*/
|
|
12619
|
-
deleteCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
12620
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
12621
|
-
var localVarAxiosArgs;
|
|
12622
|
-
return __generator(this, function (_a) {
|
|
12623
|
-
switch (_a.label) {
|
|
12624
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCustomPasswordInstructions(pageId, locale, axiosOptions)];
|
|
12625
|
-
case 1:
|
|
12626
|
-
localVarAxiosArgs = _a.sent();
|
|
12627
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12628
|
-
}
|
|
12629
|
-
});
|
|
12630
|
-
});
|
|
12631
|
-
},
|
|
12632
13344
|
/**
|
|
12633
|
-
* This API returns the
|
|
12634
|
-
* @summary Get
|
|
12635
|
-
* @param {
|
|
12636
|
-
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
12637
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12638
|
-
* @throws {RequiredError}
|
|
12639
|
-
*/
|
|
12640
|
-
getCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
12641
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
12642
|
-
var localVarAxiosArgs;
|
|
12643
|
-
return __generator(this, function (_a) {
|
|
12644
|
-
switch (_a.label) {
|
|
12645
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCustomPasswordInstructions(pageId, locale, axiosOptions)];
|
|
12646
|
-
case 1:
|
|
12647
|
-
localVarAxiosArgs = _a.sent();
|
|
12648
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12649
|
-
}
|
|
12650
|
-
});
|
|
12651
|
-
});
|
|
12652
|
-
},
|
|
12653
|
-
};
|
|
12654
|
-
};
|
|
12655
|
-
exports.CustomPasswordInstructionsBetaApiFp = CustomPasswordInstructionsBetaApiFp;
|
|
12656
|
-
/**
|
|
12657
|
-
* CustomPasswordInstructionsBetaApi - factory interface
|
|
12658
|
-
* @export
|
|
12659
|
-
*/
|
|
12660
|
-
var CustomPasswordInstructionsBetaApiFactory = function (configuration, basePath, axios) {
|
|
12661
|
-
var localVarFp = (0, exports.CustomPasswordInstructionsBetaApiFp)(configuration);
|
|
12662
|
-
return {
|
|
12663
|
-
/**
|
|
12664
|
-
* This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12665
|
-
* @summary Create Custom Password Instructions
|
|
12666
|
-
* @param {CustomPasswordInstructionBeta} customPasswordInstructionBeta
|
|
12667
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12668
|
-
* @throws {RequiredError}
|
|
12669
|
-
*/
|
|
12670
|
-
createCustomPasswordInstructions: function (customPasswordInstructionBeta, axiosOptions) {
|
|
12671
|
-
return localVarFp.createCustomPasswordInstructions(customPasswordInstructionBeta, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
12672
|
-
},
|
|
12673
|
-
/**
|
|
12674
|
-
* This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12675
|
-
* @summary Delete Custom Password Instructions by page ID
|
|
12676
|
-
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to delete.
|
|
12677
|
-
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
12678
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12679
|
-
* @throws {RequiredError}
|
|
12680
|
-
*/
|
|
12681
|
-
deleteCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
12682
|
-
return localVarFp.deleteCustomPasswordInstructions(pageId, locale, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
12683
|
-
},
|
|
12684
|
-
/**
|
|
12685
|
-
* This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12686
|
-
* @summary Get Custom Password Instructions by Page ID
|
|
12687
|
-
* @param {'change-password:enter-password' | 'change-password:finish' | 'flow-selection:select' | 'forget-username:user-email' | 'mfa:enter-code' | 'mfa:enter-kba' | 'mfa:select' | 'reset-password:enter-password' | 'reset-password:enter-username' | 'reset-password:finish' | 'unlock-account:enter-username' | 'unlock-account:finish'} pageId The page ID of custom password instructions to query.
|
|
12688
|
-
* @param {string} [locale] The locale for the custom instructions, a BCP47 language tag. The default value is \\\"default\\\".
|
|
12689
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12690
|
-
* @throws {RequiredError}
|
|
12691
|
-
*/
|
|
12692
|
-
getCustomPasswordInstructions: function (pageId, locale, axiosOptions) {
|
|
12693
|
-
return localVarFp.getCustomPasswordInstructions(pageId, locale, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
12694
|
-
},
|
|
12695
|
-
};
|
|
12696
|
-
};
|
|
12697
|
-
exports.CustomPasswordInstructionsBetaApiFactory = CustomPasswordInstructionsBetaApiFactory;
|
|
12698
|
-
/**
|
|
12699
|
-
* CustomPasswordInstructionsBetaApi - object-oriented interface
|
|
12700
|
-
* @export
|
|
12701
|
-
* @class CustomPasswordInstructionsBetaApi
|
|
12702
|
-
* @extends {BaseAPI}
|
|
12703
|
-
*/
|
|
12704
|
-
var CustomPasswordInstructionsBetaApi = /** @class */ (function (_super) {
|
|
12705
|
-
__extends(CustomPasswordInstructionsBetaApi, _super);
|
|
12706
|
-
function CustomPasswordInstructionsBetaApi() {
|
|
12707
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
12708
|
-
}
|
|
12709
|
-
/**
|
|
12710
|
-
* This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12711
|
-
* @summary Create Custom Password Instructions
|
|
12712
|
-
* @param {CustomPasswordInstructionsBetaApiCreateCustomPasswordInstructionsRequest} requestParameters Request parameters.
|
|
12713
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12714
|
-
* @throws {RequiredError}
|
|
12715
|
-
* @memberof CustomPasswordInstructionsBetaApi
|
|
12716
|
-
*/
|
|
12717
|
-
CustomPasswordInstructionsBetaApi.prototype.createCustomPasswordInstructions = function (requestParameters, axiosOptions) {
|
|
12718
|
-
var _this = this;
|
|
12719
|
-
return (0, exports.CustomPasswordInstructionsBetaApiFp)(this.configuration).createCustomPasswordInstructions(requestParameters.customPasswordInstructionBeta, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12720
|
-
};
|
|
12721
|
-
/**
|
|
12722
|
-
* This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12723
|
-
* @summary Delete Custom Password Instructions by page ID
|
|
12724
|
-
* @param {CustomPasswordInstructionsBetaApiDeleteCustomPasswordInstructionsRequest} requestParameters Request parameters.
|
|
12725
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12726
|
-
* @throws {RequiredError}
|
|
12727
|
-
* @memberof CustomPasswordInstructionsBetaApi
|
|
12728
|
-
*/
|
|
12729
|
-
CustomPasswordInstructionsBetaApi.prototype.deleteCustomPasswordInstructions = function (requestParameters, axiosOptions) {
|
|
12730
|
-
var _this = this;
|
|
12731
|
-
return (0, exports.CustomPasswordInstructionsBetaApiFp)(this.configuration).deleteCustomPasswordInstructions(requestParameters.pageId, requestParameters.locale, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12732
|
-
};
|
|
12733
|
-
/**
|
|
12734
|
-
* This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
|
|
12735
|
-
* @summary Get Custom Password Instructions by Page ID
|
|
12736
|
-
* @param {CustomPasswordInstructionsBetaApiGetCustomPasswordInstructionsRequest} requestParameters Request parameters.
|
|
12737
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
12738
|
-
* @throws {RequiredError}
|
|
12739
|
-
* @memberof CustomPasswordInstructionsBetaApi
|
|
12740
|
-
*/
|
|
12741
|
-
CustomPasswordInstructionsBetaApi.prototype.getCustomPasswordInstructions = function (requestParameters, axiosOptions) {
|
|
12742
|
-
var _this = this;
|
|
12743
|
-
return (0, exports.CustomPasswordInstructionsBetaApiFp)(this.configuration).getCustomPasswordInstructions(requestParameters.pageId, requestParameters.locale, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12744
|
-
};
|
|
12745
|
-
return CustomPasswordInstructionsBetaApi;
|
|
12746
|
-
}(base_1.BaseAPI));
|
|
12747
|
-
exports.CustomPasswordInstructionsBetaApi = CustomPasswordInstructionsBetaApi;
|
|
12748
|
-
/**
|
|
12749
|
-
* EntitlementsBetaApi - axios parameter creator
|
|
12750
|
-
* @export
|
|
12751
|
-
*/
|
|
12752
|
-
var EntitlementsBetaApiAxiosParamCreator = function (configuration) {
|
|
12753
|
-
var _this = this;
|
|
12754
|
-
return {
|
|
12755
|
-
/**
|
|
12756
|
-
* This API returns an entitlement by its ID.
|
|
12757
|
-
* @summary Get an entitlement
|
|
12758
|
-
* @param {string} id The entitlement ID
|
|
13345
|
+
* This API returns the entitlement request config for a specified entitlement.
|
|
13346
|
+
* @summary Get Entitlement Request Config
|
|
13347
|
+
* @param {string} id Entitlement Id
|
|
12759
13348
|
* @param {*} [axiosOptions] Override http request option.
|
|
12760
13349
|
* @throws {RequiredError}
|
|
12761
13350
|
*/
|
|
12762
|
-
|
|
13351
|
+
getEntitlementRequestConfig: function (id, axiosOptions) {
|
|
12763
13352
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
12764
13353
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12765
13354
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12767,8 +13356,8 @@ var EntitlementsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
12767
13356
|
switch (_a.label) {
|
|
12768
13357
|
case 0:
|
|
12769
13358
|
// verify required parameter 'id' is not null or undefined
|
|
12770
|
-
(0, common_1.assertParamExists)('
|
|
12771
|
-
localVarPath = "/entitlements/{id}"
|
|
13359
|
+
(0, common_1.assertParamExists)('getEntitlementRequestConfig', 'id', id);
|
|
13360
|
+
localVarPath = "/entitlements/{id}/entitlement-request-config"
|
|
12772
13361
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
12773
13362
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12774
13363
|
if (configuration) {
|
|
@@ -12806,30 +13395,34 @@ var EntitlementsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
12806
13395
|
});
|
|
12807
13396
|
},
|
|
12808
13397
|
/**
|
|
12809
|
-
*
|
|
12810
|
-
* @summary
|
|
12811
|
-
* @param {string} id
|
|
13398
|
+
* Uploads a comma separated file (CSV) to a delimited file source and starts an entitlement aggregation on the source.
|
|
13399
|
+
* @summary Import Entitlement CSV File
|
|
13400
|
+
* @param {string} id Source Id
|
|
13401
|
+
* @param {any} data
|
|
12812
13402
|
* @param {*} [axiosOptions] Override http request option.
|
|
12813
13403
|
* @throws {RequiredError}
|
|
12814
13404
|
*/
|
|
12815
|
-
|
|
13405
|
+
importEntitlementCsv: function (id, data, axiosOptions) {
|
|
12816
13406
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
12817
13407
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12818
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13408
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
12819
13409
|
return __generator(this, function (_a) {
|
|
12820
13410
|
switch (_a.label) {
|
|
12821
13411
|
case 0:
|
|
12822
13412
|
// verify required parameter 'id' is not null or undefined
|
|
12823
|
-
(0, common_1.assertParamExists)('
|
|
12824
|
-
|
|
13413
|
+
(0, common_1.assertParamExists)('importEntitlementCsv', 'id', id);
|
|
13414
|
+
// verify required parameter 'data' is not null or undefined
|
|
13415
|
+
(0, common_1.assertParamExists)('importEntitlementCsv', 'data', data);
|
|
13416
|
+
localVarPath = "/entitlements/aggregate/sources/{id}"
|
|
12825
13417
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
12826
13418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12827
13419
|
if (configuration) {
|
|
12828
13420
|
baseOptions = configuration.baseOptions;
|
|
12829
13421
|
}
|
|
12830
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
13422
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
12831
13423
|
localVarHeaderParameter = {};
|
|
12832
13424
|
localVarQueryParameter = {};
|
|
13425
|
+
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
12833
13426
|
// authentication UserContextAuth required
|
|
12834
13427
|
// oauth required
|
|
12835
13428
|
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
@@ -12847,9 +13440,14 @@ var EntitlementsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
12847
13440
|
// authentication UserContextAuth required
|
|
12848
13441
|
// oauth required
|
|
12849
13442
|
_a.sent();
|
|
13443
|
+
if (data !== undefined) {
|
|
13444
|
+
localVarFormParams.append('data', data);
|
|
13445
|
+
}
|
|
13446
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
12850
13447
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12851
13448
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12852
13449
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
13450
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
12853
13451
|
return [2 /*return*/, {
|
|
12854
13452
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12855
13453
|
axiosOptions: localVarRequestOptions,
|
|
@@ -13307,6 +13905,27 @@ var EntitlementsBetaApiFp = function (configuration) {
|
|
|
13307
13905
|
});
|
|
13308
13906
|
});
|
|
13309
13907
|
},
|
|
13908
|
+
/**
|
|
13909
|
+
* Uploads a comma separated file (CSV) to a delimited file source and starts an entitlement aggregation on the source.
|
|
13910
|
+
* @summary Import Entitlement CSV File
|
|
13911
|
+
* @param {string} id Source Id
|
|
13912
|
+
* @param {any} data
|
|
13913
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
13914
|
+
* @throws {RequiredError}
|
|
13915
|
+
*/
|
|
13916
|
+
importEntitlementCsv: function (id, data, axiosOptions) {
|
|
13917
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13918
|
+
var localVarAxiosArgs;
|
|
13919
|
+
return __generator(this, function (_a) {
|
|
13920
|
+
switch (_a.label) {
|
|
13921
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.importEntitlementCsv(id, data, axiosOptions)];
|
|
13922
|
+
case 1:
|
|
13923
|
+
localVarAxiosArgs = _a.sent();
|
|
13924
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13925
|
+
}
|
|
13926
|
+
});
|
|
13927
|
+
});
|
|
13928
|
+
},
|
|
13310
13929
|
/**
|
|
13311
13930
|
* This API returns a list of all child entitlements of a given entitlement.
|
|
13312
13931
|
* @summary List of entitlements children
|
|
@@ -13477,6 +14096,17 @@ var EntitlementsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
13477
14096
|
getEntitlementRequestConfig: function (id, axiosOptions) {
|
|
13478
14097
|
return localVarFp.getEntitlementRequestConfig(id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
13479
14098
|
},
|
|
14099
|
+
/**
|
|
14100
|
+
* Uploads a comma separated file (CSV) to a delimited file source and starts an entitlement aggregation on the source.
|
|
14101
|
+
* @summary Import Entitlement CSV File
|
|
14102
|
+
* @param {string} id Source Id
|
|
14103
|
+
* @param {any} data
|
|
14104
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
14105
|
+
* @throws {RequiredError}
|
|
14106
|
+
*/
|
|
14107
|
+
importEntitlementCsv: function (id, data, axiosOptions) {
|
|
14108
|
+
return localVarFp.importEntitlementCsv(id, data, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
14109
|
+
},
|
|
13480
14110
|
/**
|
|
13481
14111
|
* This API returns a list of all child entitlements of a given entitlement.
|
|
13482
14112
|
* @summary List of entitlements children
|
|
@@ -13595,6 +14225,18 @@ var EntitlementsBetaApi = /** @class */ (function (_super) {
|
|
|
13595
14225
|
var _this = this;
|
|
13596
14226
|
return (0, exports.EntitlementsBetaApiFp)(this.configuration).getEntitlementRequestConfig(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13597
14227
|
};
|
|
14228
|
+
/**
|
|
14229
|
+
* Uploads a comma separated file (CSV) to a delimited file source and starts an entitlement aggregation on the source.
|
|
14230
|
+
* @summary Import Entitlement CSV File
|
|
14231
|
+
* @param {EntitlementsBetaApiImportEntitlementCsvRequest} requestParameters Request parameters.
|
|
14232
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
14233
|
+
* @throws {RequiredError}
|
|
14234
|
+
* @memberof EntitlementsBetaApi
|
|
14235
|
+
*/
|
|
14236
|
+
EntitlementsBetaApi.prototype.importEntitlementCsv = function (requestParameters, axiosOptions) {
|
|
14237
|
+
var _this = this;
|
|
14238
|
+
return (0, exports.EntitlementsBetaApiFp)(this.configuration).importEntitlementCsv(requestParameters.id, requestParameters.data, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14239
|
+
};
|
|
13598
14240
|
/**
|
|
13599
14241
|
* This API returns a list of all child entitlements of a given entitlement.
|
|
13600
14242
|
* @summary List of entitlements children
|
|
@@ -29804,7 +30446,7 @@ var NotificationsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
29804
30446
|
});
|
|
29805
30447
|
},
|
|
29806
30448
|
/**
|
|
29807
|
-
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature,
|
|
30449
|
+
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
|
|
29808
30450
|
* @summary Bulk Delete Notification Templates
|
|
29809
30451
|
* @param {Array<TemplateBulkDeleteDtoBeta>} templateBulkDeleteDtoBeta
|
|
29810
30452
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30015,7 +30657,7 @@ var NotificationsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
30015
30657
|
});
|
|
30016
30658
|
},
|
|
30017
30659
|
/**
|
|
30018
|
-
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
30660
|
+
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
30019
30661
|
* @summary Get Notification Preferences for tenant.
|
|
30020
30662
|
* @param {string} key The notification key.
|
|
30021
30663
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30121,7 +30763,7 @@ var NotificationsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
30121
30763
|
});
|
|
30122
30764
|
},
|
|
30123
30765
|
/**
|
|
30124
|
-
* The notification service
|
|
30766
|
+
* The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called \"Global Context\" (a.k.a. notification template context). It defines a set of attributes that will be available per tenant (organization).
|
|
30125
30767
|
* @summary Get Notification Template Context
|
|
30126
30768
|
* @param {*} [axiosOptions] Override http request option.
|
|
30127
30769
|
* @throws {RequiredError}
|
|
@@ -30239,7 +30881,7 @@ var NotificationsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
30239
30881
|
});
|
|
30240
30882
|
},
|
|
30241
30883
|
/**
|
|
30242
|
-
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
30884
|
+
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
30243
30885
|
* @summary List Notification Template Defaults
|
|
30244
30886
|
* @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.
|
|
30245
30887
|
* @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.
|
|
@@ -30300,7 +30942,7 @@ var NotificationsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
30300
30942
|
});
|
|
30301
30943
|
},
|
|
30302
30944
|
/**
|
|
30303
|
-
* This lists the templates that you have modified for your site.
|
|
30945
|
+
* This lists the templates that you have modified for your site.
|
|
30304
30946
|
* @summary List Notification Templates
|
|
30305
30947
|
* @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.
|
|
30306
30948
|
* @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.
|
|
@@ -30415,8 +31057,8 @@ var NotificationsBetaApiAxiosParamCreator = function (configuration) {
|
|
|
30415
31057
|
});
|
|
30416
31058
|
},
|
|
30417
31059
|
/**
|
|
30418
|
-
*
|
|
30419
|
-
* @summary Overwrite
|
|
31060
|
+
* Allows admins to opt in to or out of certain notifications for their org. The default state is opted in. `key` is optional but if it is provided and doesn\'t match the key in the URI, then a 400 will be thrown.
|
|
31061
|
+
* @summary Overwrite preferences notification key.
|
|
30420
31062
|
* @param {string} key The notification key.
|
|
30421
31063
|
* @param {PreferencesDtoBeta} preferencesDtoBeta
|
|
30422
31064
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30597,7 +31239,7 @@ var NotificationsBetaApiFp = function (configuration) {
|
|
|
30597
31239
|
});
|
|
30598
31240
|
},
|
|
30599
31241
|
/**
|
|
30600
|
-
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature,
|
|
31242
|
+
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
|
|
30601
31243
|
* @summary Bulk Delete Notification Templates
|
|
30602
31244
|
* @param {Array<TemplateBulkDeleteDtoBeta>} templateBulkDeleteDtoBeta
|
|
30603
31245
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30676,7 +31318,7 @@ var NotificationsBetaApiFp = function (configuration) {
|
|
|
30676
31318
|
});
|
|
30677
31319
|
},
|
|
30678
31320
|
/**
|
|
30679
|
-
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
31321
|
+
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
30680
31322
|
* @summary Get Notification Preferences for tenant.
|
|
30681
31323
|
* @param {string} key The notification key.
|
|
30682
31324
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30716,7 +31358,7 @@ var NotificationsBetaApiFp = function (configuration) {
|
|
|
30716
31358
|
});
|
|
30717
31359
|
},
|
|
30718
31360
|
/**
|
|
30719
|
-
* The notification service
|
|
31361
|
+
* The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called \"Global Context\" (a.k.a. notification template context). It defines a set of attributes that will be available per tenant (organization).
|
|
30720
31362
|
* @summary Get Notification Template Context
|
|
30721
31363
|
* @param {*} [axiosOptions] Override http request option.
|
|
30722
31364
|
* @throws {RequiredError}
|
|
@@ -30759,7 +31401,7 @@ var NotificationsBetaApiFp = function (configuration) {
|
|
|
30759
31401
|
});
|
|
30760
31402
|
},
|
|
30761
31403
|
/**
|
|
30762
|
-
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
31404
|
+
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
30763
31405
|
* @summary List Notification Template Defaults
|
|
30764
31406
|
* @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.
|
|
30765
31407
|
* @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.
|
|
@@ -30781,7 +31423,7 @@ var NotificationsBetaApiFp = function (configuration) {
|
|
|
30781
31423
|
});
|
|
30782
31424
|
},
|
|
30783
31425
|
/**
|
|
30784
|
-
* This lists the templates that you have modified for your site.
|
|
31426
|
+
* This lists the templates that you have modified for your site.
|
|
30785
31427
|
* @summary List Notification Templates
|
|
30786
31428
|
* @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.
|
|
30787
31429
|
* @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.
|
|
@@ -30823,8 +31465,8 @@ var NotificationsBetaApiFp = function (configuration) {
|
|
|
30823
31465
|
});
|
|
30824
31466
|
},
|
|
30825
31467
|
/**
|
|
30826
|
-
*
|
|
30827
|
-
* @summary Overwrite
|
|
31468
|
+
* Allows admins to opt in to or out of certain notifications for their org. The default state is opted in. `key` is optional but if it is provided and doesn\'t match the key in the URI, then a 400 will be thrown.
|
|
31469
|
+
* @summary Overwrite preferences notification key.
|
|
30828
31470
|
* @param {string} key The notification key.
|
|
30829
31471
|
* @param {PreferencesDtoBeta} preferencesDtoBeta
|
|
30830
31472
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30904,7 +31546,7 @@ var NotificationsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
30904
31546
|
return localVarFp.createVerifiedFromAddress(emailStatusDtoBeta, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
30905
31547
|
},
|
|
30906
31548
|
/**
|
|
30907
|
-
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature,
|
|
31549
|
+
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
|
|
30908
31550
|
* @summary Bulk Delete Notification Templates
|
|
30909
31551
|
* @param {Array<TemplateBulkDeleteDtoBeta>} templateBulkDeleteDtoBeta
|
|
30910
31552
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30943,7 +31585,7 @@ var NotificationsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
30943
31585
|
return localVarFp.getMailFromAttributes(id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
30944
31586
|
},
|
|
30945
31587
|
/**
|
|
30946
|
-
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
31588
|
+
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
30947
31589
|
* @summary Get Notification Preferences for tenant.
|
|
30948
31590
|
* @param {string} key The notification key.
|
|
30949
31591
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -30963,7 +31605,7 @@ var NotificationsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
30963
31605
|
return localVarFp.getNotificationTemplate(id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
30964
31606
|
},
|
|
30965
31607
|
/**
|
|
30966
|
-
* The notification service
|
|
31608
|
+
* The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called \"Global Context\" (a.k.a. notification template context). It defines a set of attributes that will be available per tenant (organization).
|
|
30967
31609
|
* @summary Get Notification Template Context
|
|
30968
31610
|
* @param {*} [axiosOptions] Override http request option.
|
|
30969
31611
|
* @throws {RequiredError}
|
|
@@ -30986,7 +31628,7 @@ var NotificationsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
30986
31628
|
return localVarFp.listFromAddresses(limit, offset, count, filters, sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
30987
31629
|
},
|
|
30988
31630
|
/**
|
|
30989
|
-
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
31631
|
+
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
30990
31632
|
* @summary List Notification Template Defaults
|
|
30991
31633
|
* @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.
|
|
30992
31634
|
* @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.
|
|
@@ -30998,7 +31640,7 @@ var NotificationsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
30998
31640
|
return localVarFp.listNotificationTemplateDefaults(limit, offset, filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
30999
31641
|
},
|
|
31000
31642
|
/**
|
|
31001
|
-
* This lists the templates that you have modified for your site.
|
|
31643
|
+
* This lists the templates that you have modified for your site.
|
|
31002
31644
|
* @summary List Notification Templates
|
|
31003
31645
|
* @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.
|
|
31004
31646
|
* @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.
|
|
@@ -31020,8 +31662,8 @@ var NotificationsBetaApiFactory = function (configuration, basePath, axios) {
|
|
|
31020
31662
|
return localVarFp.putMailFromAttributes(mailFromAttributesDtoBeta, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
31021
31663
|
},
|
|
31022
31664
|
/**
|
|
31023
|
-
*
|
|
31024
|
-
* @summary Overwrite
|
|
31665
|
+
* Allows admins to opt in to or out of certain notifications for their org. The default state is opted in. `key` is optional but if it is provided and doesn\'t match the key in the URI, then a 400 will be thrown.
|
|
31666
|
+
* @summary Overwrite preferences notification key.
|
|
31025
31667
|
* @param {string} key The notification key.
|
|
31026
31668
|
* @param {PreferencesDtoBeta} preferencesDtoBeta
|
|
31027
31669
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -31091,7 +31733,7 @@ var NotificationsBetaApi = /** @class */ (function (_super) {
|
|
|
31091
31733
|
return (0, exports.NotificationsBetaApiFp)(this.configuration).createVerifiedFromAddress(requestParameters.emailStatusDtoBeta, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31092
31734
|
};
|
|
31093
31735
|
/**
|
|
31094
|
-
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature,
|
|
31736
|
+
* This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
|
|
31095
31737
|
* @summary Bulk Delete Notification Templates
|
|
31096
31738
|
* @param {NotificationsBetaApiDeleteNotificationTemplatesInBulkRequest} requestParameters Request parameters.
|
|
31097
31739
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -31138,7 +31780,7 @@ var NotificationsBetaApi = /** @class */ (function (_super) {
|
|
|
31138
31780
|
return (0, exports.NotificationsBetaApiFp)(this.configuration).getMailFromAttributes(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31139
31781
|
};
|
|
31140
31782
|
/**
|
|
31141
|
-
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
31783
|
+
* Returns the notification preferences for tenant. Note that if the key doesn\'t exist, then a 404 will be returned.
|
|
31142
31784
|
* @summary Get Notification Preferences for tenant.
|
|
31143
31785
|
* @param {NotificationsBetaApiGetNotificationPreferenceRequest} requestParameters Request parameters.
|
|
31144
31786
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -31162,7 +31804,7 @@ var NotificationsBetaApi = /** @class */ (function (_super) {
|
|
|
31162
31804
|
return (0, exports.NotificationsBetaApiFp)(this.configuration).getNotificationTemplate(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31163
31805
|
};
|
|
31164
31806
|
/**
|
|
31165
|
-
* The notification service
|
|
31807
|
+
* The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called \"Global Context\" (a.k.a. notification template context). It defines a set of attributes that will be available per tenant (organization).
|
|
31166
31808
|
* @summary Get Notification Template Context
|
|
31167
31809
|
* @param {*} [axiosOptions] Override http request option.
|
|
31168
31810
|
* @throws {RequiredError}
|
|
@@ -31186,7 +31828,7 @@ var NotificationsBetaApi = /** @class */ (function (_super) {
|
|
|
31186
31828
|
return (0, exports.NotificationsBetaApiFp)(this.configuration).listFromAddresses(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31187
31829
|
};
|
|
31188
31830
|
/**
|
|
31189
|
-
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
31831
|
+
* This lists the default templates used for notifications, such as emails from IdentityNow.
|
|
31190
31832
|
* @summary List Notification Template Defaults
|
|
31191
31833
|
* @param {NotificationsBetaApiListNotificationTemplateDefaultsRequest} requestParameters Request parameters.
|
|
31192
31834
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -31199,7 +31841,7 @@ var NotificationsBetaApi = /** @class */ (function (_super) {
|
|
|
31199
31841
|
return (0, exports.NotificationsBetaApiFp)(this.configuration).listNotificationTemplateDefaults(requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31200
31842
|
};
|
|
31201
31843
|
/**
|
|
31202
|
-
* This lists the templates that you have modified for your site.
|
|
31844
|
+
* This lists the templates that you have modified for your site.
|
|
31203
31845
|
* @summary List Notification Templates
|
|
31204
31846
|
* @param {NotificationsBetaApiListNotificationTemplatesRequest} requestParameters Request parameters.
|
|
31205
31847
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -31224,8 +31866,8 @@ var NotificationsBetaApi = /** @class */ (function (_super) {
|
|
|
31224
31866
|
return (0, exports.NotificationsBetaApiFp)(this.configuration).putMailFromAttributes(requestParameters.mailFromAttributesDtoBeta, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
31225
31867
|
};
|
|
31226
31868
|
/**
|
|
31227
|
-
*
|
|
31228
|
-
* @summary Overwrite
|
|
31869
|
+
* Allows admins to opt in to or out of certain notifications for their org. The default state is opted in. `key` is optional but if it is provided and doesn\'t match the key in the URI, then a 400 will be thrown.
|
|
31870
|
+
* @summary Overwrite preferences notification key.
|
|
31229
31871
|
* @param {NotificationsBetaApiPutNotificationPreferenceRequest} requestParameters Request parameters.
|
|
31230
31872
|
* @param {*} [axiosOptions] Override http request option.
|
|
31231
31873
|
* @throws {RequiredError}
|
|
@@ -46480,6 +47122,138 @@ var TaskManagementBetaApi = /** @class */ (function (_super) {
|
|
|
46480
47122
|
return TaskManagementBetaApi;
|
|
46481
47123
|
}(base_1.BaseAPI));
|
|
46482
47124
|
exports.TaskManagementBetaApi = TaskManagementBetaApi;
|
|
47125
|
+
/**
|
|
47126
|
+
* TenantBetaApi - axios parameter creator
|
|
47127
|
+
* @export
|
|
47128
|
+
*/
|
|
47129
|
+
var TenantBetaApiAxiosParamCreator = function (configuration) {
|
|
47130
|
+
var _this = this;
|
|
47131
|
+
return {
|
|
47132
|
+
/**
|
|
47133
|
+
* This rest endpoint can be used to retrieve tenant details.
|
|
47134
|
+
* @summary Get Tenant Information.
|
|
47135
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
47136
|
+
* @throws {RequiredError}
|
|
47137
|
+
*/
|
|
47138
|
+
getTenant: function (axiosOptions) {
|
|
47139
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
47140
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
47141
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
47142
|
+
return __generator(this, function (_a) {
|
|
47143
|
+
switch (_a.label) {
|
|
47144
|
+
case 0:
|
|
47145
|
+
localVarPath = "/tenant";
|
|
47146
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47147
|
+
if (configuration) {
|
|
47148
|
+
baseOptions = configuration.baseOptions;
|
|
47149
|
+
}
|
|
47150
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
47151
|
+
localVarHeaderParameter = {};
|
|
47152
|
+
localVarQueryParameter = {};
|
|
47153
|
+
// authentication UserContextAuth required
|
|
47154
|
+
// oauth required
|
|
47155
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
47156
|
+
// authentication UserContextAuth required
|
|
47157
|
+
// oauth required
|
|
47158
|
+
];
|
|
47159
|
+
case 1:
|
|
47160
|
+
// authentication UserContextAuth required
|
|
47161
|
+
// oauth required
|
|
47162
|
+
_a.sent();
|
|
47163
|
+
// authentication UserContextAuth required
|
|
47164
|
+
// oauth required
|
|
47165
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
|
|
47166
|
+
case 2:
|
|
47167
|
+
// authentication UserContextAuth required
|
|
47168
|
+
// oauth required
|
|
47169
|
+
_a.sent();
|
|
47170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
47171
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47172
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
47173
|
+
return [2 /*return*/, {
|
|
47174
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
47175
|
+
axiosOptions: localVarRequestOptions,
|
|
47176
|
+
}];
|
|
47177
|
+
}
|
|
47178
|
+
});
|
|
47179
|
+
});
|
|
47180
|
+
},
|
|
47181
|
+
};
|
|
47182
|
+
};
|
|
47183
|
+
exports.TenantBetaApiAxiosParamCreator = TenantBetaApiAxiosParamCreator;
|
|
47184
|
+
/**
|
|
47185
|
+
* TenantBetaApi - functional programming interface
|
|
47186
|
+
* @export
|
|
47187
|
+
*/
|
|
47188
|
+
var TenantBetaApiFp = function (configuration) {
|
|
47189
|
+
var localVarAxiosParamCreator = (0, exports.TenantBetaApiAxiosParamCreator)(configuration);
|
|
47190
|
+
return {
|
|
47191
|
+
/**
|
|
47192
|
+
* This rest endpoint can be used to retrieve tenant details.
|
|
47193
|
+
* @summary Get Tenant Information.
|
|
47194
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
47195
|
+
* @throws {RequiredError}
|
|
47196
|
+
*/
|
|
47197
|
+
getTenant: function (axiosOptions) {
|
|
47198
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
47199
|
+
var localVarAxiosArgs;
|
|
47200
|
+
return __generator(this, function (_a) {
|
|
47201
|
+
switch (_a.label) {
|
|
47202
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenant(axiosOptions)];
|
|
47203
|
+
case 1:
|
|
47204
|
+
localVarAxiosArgs = _a.sent();
|
|
47205
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
47206
|
+
}
|
|
47207
|
+
});
|
|
47208
|
+
});
|
|
47209
|
+
},
|
|
47210
|
+
};
|
|
47211
|
+
};
|
|
47212
|
+
exports.TenantBetaApiFp = TenantBetaApiFp;
|
|
47213
|
+
/**
|
|
47214
|
+
* TenantBetaApi - factory interface
|
|
47215
|
+
* @export
|
|
47216
|
+
*/
|
|
47217
|
+
var TenantBetaApiFactory = function (configuration, basePath, axios) {
|
|
47218
|
+
var localVarFp = (0, exports.TenantBetaApiFp)(configuration);
|
|
47219
|
+
return {
|
|
47220
|
+
/**
|
|
47221
|
+
* This rest endpoint can be used to retrieve tenant details.
|
|
47222
|
+
* @summary Get Tenant Information.
|
|
47223
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
47224
|
+
* @throws {RequiredError}
|
|
47225
|
+
*/
|
|
47226
|
+
getTenant: function (axiosOptions) {
|
|
47227
|
+
return localVarFp.getTenant(axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
47228
|
+
},
|
|
47229
|
+
};
|
|
47230
|
+
};
|
|
47231
|
+
exports.TenantBetaApiFactory = TenantBetaApiFactory;
|
|
47232
|
+
/**
|
|
47233
|
+
* TenantBetaApi - object-oriented interface
|
|
47234
|
+
* @export
|
|
47235
|
+
* @class TenantBetaApi
|
|
47236
|
+
* @extends {BaseAPI}
|
|
47237
|
+
*/
|
|
47238
|
+
var TenantBetaApi = /** @class */ (function (_super) {
|
|
47239
|
+
__extends(TenantBetaApi, _super);
|
|
47240
|
+
function TenantBetaApi() {
|
|
47241
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
47242
|
+
}
|
|
47243
|
+
/**
|
|
47244
|
+
* This rest endpoint can be used to retrieve tenant details.
|
|
47245
|
+
* @summary Get Tenant Information.
|
|
47246
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
47247
|
+
* @throws {RequiredError}
|
|
47248
|
+
* @memberof TenantBetaApi
|
|
47249
|
+
*/
|
|
47250
|
+
TenantBetaApi.prototype.getTenant = function (axiosOptions) {
|
|
47251
|
+
var _this = this;
|
|
47252
|
+
return (0, exports.TenantBetaApiFp)(this.configuration).getTenant(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
47253
|
+
};
|
|
47254
|
+
return TenantBetaApi;
|
|
47255
|
+
}(base_1.BaseAPI));
|
|
47256
|
+
exports.TenantBetaApi = TenantBetaApi;
|
|
46483
47257
|
/**
|
|
46484
47258
|
* TransformsBetaApi - axios parameter creator
|
|
46485
47259
|
* @export
|