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/dist/v3/api.js CHANGED
@@ -81,10 +81,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
81
81
  exports.CampaignReferenceCampaignTypeEnum = exports.CampaignReferenceTypeEnum = exports.CampaignFilterDetailsModeEnum = exports.CampaignCompleteOptionsAutoCompleteActionEnum = exports.CampaignAllOfSourcesWithOrphanEntitlementsTypeEnum = exports.CampaignAllOfSearchCampaignInfoReviewerTypeEnum = exports.CampaignAllOfSearchCampaignInfoTypeEnum = exports.CampaignAllOfRoleCompositionCampaignInfoRemediatorRefTypeEnum = exports.CampaignAllOfFilterTypeEnum = exports.CampaignAllOfMandatoryCommentRequirementEnum = exports.CampaignAllOfCorrelatedStatusEnum = exports.CampaignAlertLevelEnum = exports.CampaignMandatoryCommentRequirementEnum = exports.CampaignCorrelatedStatusEnum = exports.CampaignStatusEnum = exports.CampaignTypeEnum = exports.BulkTaggedObjectOperationEnum = exports.BucketType = exports.BeforeProvisioningRuleDtoTypeEnum = exports.BaseAccessAllOfOwnerTypeEnum = exports.AuthUserCapabilitiesEnum = exports.AttributeDefinitionType = exports.AttributeDefinitionSchemaTypeEnum = exports.ApprovalStatusDtoOriginalOwnerTypeEnum = exports.ApprovalStatusDtoCurrentOwnerTypeEnum = exports.ApprovalStatus = exports.ApprovalSchemeForRoleApproverTypeEnum = exports.ApprovalScheme = exports.AggregationType = exports.AdminReviewReassignReassignToTypeEnum = exports.ActivityInsightsUsageDaysStateEnum = exports.AccountActivityItemOperation = exports.AccountActionActionEnum = exports.AccessType = exports.AccessRequestType = exports.AccessRequestPhasesResultEnum = exports.AccessRequestPhasesStateEnum = exports.AccessRequestItemTypeEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfileRefTypeEnum = exports.AccessProfileDocumentAllOfTypeEnum = exports.AccessProfileDocumentTypeEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessItemReviewedByTypeEnum = exports.AccessItemRequesterTypeEnum = exports.AccessItemRequestedForTypeEnum = exports.AccessCriteriaCriteriaListInnerTypeEnum = exports.AccessConstraintOperatorEnum = exports.AccessConstraintTypeEnum = void 0;
82
82
  exports.OrphanUncorrelatedReportArgumentsSelectedFormatsEnum = exports.Operation = exports.NonEmployeeSchemaAttributeType = exports.NonEmployeeIdentityDtoType = exports.NonEmployeeBulkUploadStatusStatusEnum = exports.NonEmployeeBulkUploadJobStatusEnum = exports.NamedConstructs = exports.MetricType = exports.ManualWorkItemState = exports.ManualWorkItemDetailsOriginalOwnerTypeEnum = exports.ManualWorkItemDetailsCurrentOwnerTypeEnum = exports.LocaleOrigin = exports.LifecyclestateDeletedTypeEnum = exports.JsonPatchOperationOpEnum = exports.Index = exports.ImportObjectTypeEnum = exports.IdentityWithNewAccessAccessRefsInnerTypeEnum = exports.IdentityWithNewAccess1AccessRefsInnerTypeEnum = exports.IdentityProfileExportedObjectSelfTypeEnum = exports.IdentityProfileAllOfOwnerTypeEnum = exports.IdentityProfileAllOfAuthoritativeSourceTypeEnum = exports.GrantType = exports.FilterType = exports.ExpressionChildrenInnerOperatorEnum = exports.ExpressionOperatorEnum = exports.ExecutionStatus = exports.ExceptionCriteriaCriteriaListInnerTypeEnum = exports.EntitlementRef1TypeEnum = exports.EntitlementRefTypeEnum = exports.DtoType = exports.DocumentType = exports.DeleteSource202ResponseTypeEnum = exports.DateCompareOperatorEnum = exports.CriteriaType = exports.ConnectorDetailStatusEnum = exports.CompletionStatus = exports.CompletedApprovalState = exports.CommentDtoAuthorTypeEnum = exports.ClientType = exports.CertificationTaskStatusEnum = exports.CertificationTaskTargetTypeEnum = exports.CertificationTaskTypeEnum = exports.CertificationReferenceTypeEnum = exports.CertificationPhase = exports.CertificationDecision = exports.CampaignTemplateOwnerRefTypeEnum = exports.CampaignReportStatusEnum = exports.CampaignReportTypeEnum = exports.CampaignReferenceMandatoryCommentRequirementEnum = exports.CampaignReferenceCorrelatedStatusEnum = void 0;
83
83
  exports.SlimCampaignCorrelatedStatusEnum = exports.SlimCampaignStatusEnum = exports.SlimCampaignTypeEnum = exports.ServiceDeskSourceTypeEnum = exports.SelectorType = exports.SearchScheduleRecipientsInnerTypeEnum = exports.SearchFilterType = exports.ScheduledSearchAllOfOwnerTypeEnum = exports.ScheduleType = exports.ScheduleMonthsTypeEnum = exports.ScheduleHoursTypeEnum = exports.ScheduleDaysTypeEnum = exports.ScheduleTypeEnum = exports.RoleMembershipSelectorType = exports.RoleCriteriaOperation = exports.RoleCriteriaKeyType = exports.RoleAssignmentSourceType = exports.ReviewerTypeEnum = exports.RequestedItemStatusSodViolationContextStateEnum = exports.RequestedItemStatusRequestState = exports.RequestedItemStatusPreApprovalTriggerDetailsDecisionEnum = exports.RequestedItemStatusTypeEnum = exports.RequestableObjectType = exports.RequestableObjectRequestStatus = exports.RequestableObjectReferenceTypeEnum = exports.ReportType = exports.ReportResultsAvailableFormatsEnum = exports.ReportResultsStatusEnum = exports.ReportResultsReportTypeEnum = exports.ReportResultReferenceAllOfStatusEnum = exports.ReportResultReferenceStatusEnum = exports.ReportResultReferenceTypeEnum = exports.ReportDetailsReportTypeEnum = exports.ReassignmentType = exports.ReassignmentReferenceTypeEnum = exports.ReassignReferenceTypeEnum = exports.QueryType = exports.PublicIdentityIdentityStateEnum = exports.ProvisioningState = exports.ProvisioningCriteriaOperation = exports.ProvisioningConfigManagedResourceRefsInnerTypeEnum = exports.PreApprovalTriggerDetailsDecisionEnum = exports.PendingApprovalOwnerTypeEnum = exports.PendingApprovalAction = exports.PatOwnerTypeEnum = exports.PasswordStatusStateEnum = exports.PasswordChangeResponseStateEnum = exports.OwnerReferenceSegmentsTypeEnum = exports.OwnerReferenceTypeEnum = exports.OwnerDtoTypeEnum = void 0;
84
- exports.AccessRequestsApi = exports.AccessRequestsApiFactory = exports.AccessRequestsApiFp = exports.AccessRequestsApiAxiosParamCreator = exports.AccessRequestApprovalsApi = exports.AccessRequestApprovalsApiFactory = exports.AccessRequestApprovalsApiFp = exports.AccessRequestApprovalsApiAxiosParamCreator = exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.WorkItemTypeManualWorkItems = exports.WorkItemStateManualWorkItems = exports.WorkItemState = exports.ViolationOwnerAssignmentConfigOwnerRefTypeEnum = exports.ViolationOwnerAssignmentConfigAssignmentRuleEnum = exports.ViolationContextPolicyTypeEnum = exports.V3CreateConnectorDtoStatusEnum = exports.V3ConnectorDtoStatusEnum = exports.UsageType = exports.UpdateDetailStatusEnum = exports.TransformReadTypeEnum = exports.TransformTypeEnum = exports.TaskResultSimplifiedCompletionStatusEnum = exports.TaskResultDtoTypeEnum = exports.TaskResultDetailsMessagesInnerTypeEnum = exports.TaskResultDetailsCompletionStatusEnum = exports.TaskResultDetailsReportTypeEnum = exports.TaskResultDetailsTypeEnum = exports.TaggedObjectDtoTypeEnum = exports.SourceUsageStatusStatusEnum = exports.SourceSchemasInnerTypeEnum = exports.SourcePasswordPoliciesInnerTypeEnum = exports.SourceOwnerTypeEnum = exports.SourceManagerCorrelationRuleTypeEnum = exports.SourceManagementWorkgroupTypeEnum = exports.SourceHealthDtoStatusEnum = exports.SourceFeature = exports.SourceClusterDtoTypeEnum = exports.SourceClusterTypeEnum = exports.SourceBeforeProvisioningRuleTypeEnum = exports.SourceAccountCorrelationRuleTypeEnum = exports.SourceAccountCorrelationConfigTypeEnum = exports.SodViolationContextCheckCompletedStateEnum = exports.SodReportResultDtoTypeEnum = exports.SodRecipientTypeEnum = exports.SodPolicyDtoTypeEnum = exports.SodPolicyTypeEnum = exports.SodPolicyStateEnum = void 0;
85
- exports.LifecycleStatesApiFp = exports.LifecycleStatesApiAxiosParamCreator = exports.IdentityProfilesApi = exports.IdentityProfilesApiFactory = exports.IdentityProfilesApiFp = exports.IdentityProfilesApiAxiosParamCreator = exports.GlobalTenantSecuritySettingsApi = exports.GlobalTenantSecuritySettingsApiFactory = exports.GlobalTenantSecuritySettingsApiFp = exports.GlobalTenantSecuritySettingsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CertificationsApi = exports.CertificationsApiFactory = exports.CertificationsApiFp = exports.CertificationsApiAxiosParamCreator = exports.CertificationSummariesApi = exports.CertificationSummariesApiFactory = exports.CertificationSummariesApiFp = exports.CertificationSummariesApiAxiosParamCreator = exports.CertificationCampaignsApi = exports.CertificationCampaignsApiFactory = exports.CertificationCampaignsApiFp = exports.CertificationCampaignsApiAxiosParamCreator = exports.CertificationCampaignFiltersApi = exports.CertificationCampaignFiltersApiFactory = exports.CertificationCampaignFiltersApiFp = exports.CertificationCampaignFiltersApiAxiosParamCreator = exports.BrandingApi = exports.BrandingApiFactory = exports.BrandingApiFp = exports.BrandingApiAxiosParamCreator = exports.AuthUserApi = exports.AuthUserApiFactory = exports.AuthUserApiFp = exports.AuthUserApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.AccountUsagesApi = exports.AccountUsagesApiFactory = exports.AccountUsagesApiFp = exports.AccountUsagesApiAxiosParamCreator = exports.AccountActivitiesApi = exports.AccountActivitiesApiFactory = exports.AccountActivitiesApiFp = exports.AccountActivitiesApiAxiosParamCreator = void 0;
86
- exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RequestableObjectsApi = exports.RequestableObjectsApiFactory = exports.RequestableObjectsApiFp = exports.RequestableObjectsApiAxiosParamCreator = exports.ReportsDataExtractionApi = exports.ReportsDataExtractionApiFactory = exports.ReportsDataExtractionApiFp = exports.ReportsDataExtractionApiAxiosParamCreator = exports.PublicIdentitiesConfigApi = exports.PublicIdentitiesConfigApiFactory = exports.PublicIdentitiesConfigApiFp = exports.PublicIdentitiesConfigApiAxiosParamCreator = exports.PublicIdentitiesApi = exports.PublicIdentitiesApiFactory = exports.PublicIdentitiesApiFp = exports.PublicIdentitiesApiAxiosParamCreator = exports.PersonalAccessTokensApi = exports.PersonalAccessTokensApiFactory = exports.PersonalAccessTokensApiFp = exports.PersonalAccessTokensApiAxiosParamCreator = exports.PasswordSyncGroupsApi = exports.PasswordSyncGroupsApiFactory = exports.PasswordSyncGroupsApiFp = exports.PasswordSyncGroupsApiAxiosParamCreator = exports.PasswordManagementApi = exports.PasswordManagementApiFactory = exports.PasswordManagementApiFp = exports.PasswordManagementApiAxiosParamCreator = exports.PasswordDictionaryApi = exports.PasswordDictionaryApiFactory = exports.PasswordDictionaryApiFp = exports.PasswordDictionaryApiAxiosParamCreator = exports.PasswordConfigurationApi = exports.PasswordConfigurationApiFactory = exports.PasswordConfigurationApiFp = exports.PasswordConfigurationApiAxiosParamCreator = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.NonEmployeeLifecycleManagementApi = exports.NonEmployeeLifecycleManagementApiFactory = exports.NonEmployeeLifecycleManagementApiFp = exports.NonEmployeeLifecycleManagementApiAxiosParamCreator = exports.LifecycleStatesApi = exports.LifecycleStatesApiFactory = void 0;
87
- exports.WorkItemsApi = exports.WorkItemsApiFactory = exports.WorkItemsApiFp = exports.WorkItemsApiAxiosParamCreator = exports.TransformsApi = exports.TransformsApiFactory = exports.TransformsApiFp = exports.TransformsApiAxiosParamCreator = exports.TaggedObjectsApi = exports.TaggedObjectsApiFactory = exports.TaggedObjectsApiFp = exports.TaggedObjectsApiAxiosParamCreator = exports.SourcesApi = exports.SourcesApiFactory = exports.SourcesApiFp = exports.SourcesApiAxiosParamCreator = exports.SourceUsagesApi = exports.SourceUsagesApiFactory = exports.SourceUsagesApiFp = exports.SourceUsagesApiAxiosParamCreator = exports.ServiceDeskIntegrationApi = exports.ServiceDeskIntegrationApiFactory = exports.ServiceDeskIntegrationApiFp = exports.ServiceDeskIntegrationApiAxiosParamCreator = exports.SegmentsApi = exports.SegmentsApiFactory = exports.SegmentsApiFp = exports.SegmentsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ScheduledSearchApi = exports.ScheduledSearchApiFactory = exports.ScheduledSearchApiFp = exports.ScheduledSearchApiAxiosParamCreator = exports.SavedSearchApi = exports.SavedSearchApiFactory = exports.SavedSearchApiFp = exports.SavedSearchApiAxiosParamCreator = exports.SODViolationsApi = exports.SODViolationsApiFactory = exports.SODViolationsApiFp = exports.SODViolationsApiAxiosParamCreator = exports.SODPolicyApi = exports.SODPolicyApiFactory = exports.SODPolicyApiFp = exports.SODPolicyApiAxiosParamCreator = void 0;
84
+ exports.AccessRequestApprovalsApiAxiosParamCreator = exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.WorkflowTriggerTypeEnum = exports.WorkflowLibraryTriggerTypeEnum = exports.WorkflowLibraryFormFieldsTypeEnum = exports.WorkflowExecutionEventTypeEnum = exports.WorkflowExecutionStatusEnum = exports.WorkflowBodyOwnerTypeEnum = exports.WorkflowAllOfCreatorTypeEnum = exports.WorkItemTypeManualWorkItems = exports.WorkItemStateManualWorkItems = exports.WorkItemState = exports.ViolationOwnerAssignmentConfigOwnerRefTypeEnum = exports.ViolationOwnerAssignmentConfigAssignmentRuleEnum = exports.ViolationContextPolicyTypeEnum = exports.V3CreateConnectorDtoStatusEnum = exports.V3ConnectorDtoStatusEnum = exports.UsageType = exports.UpdateDetailStatusEnum = exports.TransformReadTypeEnum = exports.TransformTypeEnum = exports.TaskResultSimplifiedCompletionStatusEnum = exports.TaskResultDtoTypeEnum = exports.TaskResultDetailsMessagesInnerTypeEnum = exports.TaskResultDetailsCompletionStatusEnum = exports.TaskResultDetailsReportTypeEnum = exports.TaskResultDetailsTypeEnum = exports.TaggedObjectDtoTypeEnum = exports.SourceUsageStatusStatusEnum = exports.SourceSchemasInnerTypeEnum = exports.SourcePasswordPoliciesInnerTypeEnum = exports.SourceOwnerTypeEnum = exports.SourceManagerCorrelationRuleTypeEnum = exports.SourceManagementWorkgroupTypeEnum = exports.SourceHealthDtoStatusEnum = exports.SourceFeature = exports.SourceClusterDtoTypeEnum = exports.SourceClusterTypeEnum = exports.SourceBeforeProvisioningRuleTypeEnum = exports.SourceAccountCorrelationRuleTypeEnum = exports.SourceAccountCorrelationConfigTypeEnum = exports.SodViolationContextCheckCompletedStateEnum = exports.SodReportResultDtoTypeEnum = exports.SodRecipientTypeEnum = exports.SodPolicyDtoTypeEnum = exports.SodPolicyTypeEnum = exports.SodPolicyStateEnum = void 0;
85
+ exports.GlobalTenantSecuritySettingsApiFactory = exports.GlobalTenantSecuritySettingsApiFp = exports.GlobalTenantSecuritySettingsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CertificationsApi = exports.CertificationsApiFactory = exports.CertificationsApiFp = exports.CertificationsApiAxiosParamCreator = exports.CertificationSummariesApi = exports.CertificationSummariesApiFactory = exports.CertificationSummariesApiFp = exports.CertificationSummariesApiAxiosParamCreator = exports.CertificationCampaignsApi = exports.CertificationCampaignsApiFactory = exports.CertificationCampaignsApiFp = exports.CertificationCampaignsApiAxiosParamCreator = exports.CertificationCampaignFiltersApi = exports.CertificationCampaignFiltersApiFactory = exports.CertificationCampaignFiltersApiFp = exports.CertificationCampaignFiltersApiAxiosParamCreator = exports.BrandingApi = exports.BrandingApiFactory = exports.BrandingApiFp = exports.BrandingApiAxiosParamCreator = exports.AuthUserApi = exports.AuthUserApiFactory = exports.AuthUserApiFp = exports.AuthUserApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.AccountUsagesApi = exports.AccountUsagesApiFactory = exports.AccountUsagesApiFp = exports.AccountUsagesApiAxiosParamCreator = exports.AccountActivitiesApi = exports.AccountActivitiesApiFactory = exports.AccountActivitiesApiFp = exports.AccountActivitiesApiAxiosParamCreator = exports.AccessRequestsApi = exports.AccessRequestsApiFactory = exports.AccessRequestsApiFp = exports.AccessRequestsApiAxiosParamCreator = exports.AccessRequestApprovalsApi = exports.AccessRequestApprovalsApiFactory = exports.AccessRequestApprovalsApiFp = void 0;
86
+ exports.RequestableObjectsApiAxiosParamCreator = exports.ReportsDataExtractionApi = exports.ReportsDataExtractionApiFactory = exports.ReportsDataExtractionApiFp = exports.ReportsDataExtractionApiAxiosParamCreator = exports.PublicIdentitiesConfigApi = exports.PublicIdentitiesConfigApiFactory = exports.PublicIdentitiesConfigApiFp = exports.PublicIdentitiesConfigApiAxiosParamCreator = exports.PublicIdentitiesApi = exports.PublicIdentitiesApiFactory = exports.PublicIdentitiesApiFp = exports.PublicIdentitiesApiAxiosParamCreator = exports.PersonalAccessTokensApi = exports.PersonalAccessTokensApiFactory = exports.PersonalAccessTokensApiFp = exports.PersonalAccessTokensApiAxiosParamCreator = exports.PasswordSyncGroupsApi = exports.PasswordSyncGroupsApiFactory = exports.PasswordSyncGroupsApiFp = exports.PasswordSyncGroupsApiAxiosParamCreator = exports.PasswordManagementApi = exports.PasswordManagementApiFactory = exports.PasswordManagementApiFp = exports.PasswordManagementApiAxiosParamCreator = exports.PasswordDictionaryApi = exports.PasswordDictionaryApiFactory = exports.PasswordDictionaryApiFp = exports.PasswordDictionaryApiAxiosParamCreator = exports.PasswordConfigurationApi = exports.PasswordConfigurationApiFactory = exports.PasswordConfigurationApiFp = exports.PasswordConfigurationApiAxiosParamCreator = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.NonEmployeeLifecycleManagementApi = exports.NonEmployeeLifecycleManagementApiFactory = exports.NonEmployeeLifecycleManagementApiFp = exports.NonEmployeeLifecycleManagementApiAxiosParamCreator = exports.LifecycleStatesApi = exports.LifecycleStatesApiFactory = exports.LifecycleStatesApiFp = exports.LifecycleStatesApiAxiosParamCreator = exports.IdentityProfilesApi = exports.IdentityProfilesApiFactory = exports.IdentityProfilesApiFp = exports.IdentityProfilesApiAxiosParamCreator = exports.GlobalTenantSecuritySettingsApi = void 0;
87
+ exports.TransformsApiFactory = exports.TransformsApiFp = exports.TransformsApiAxiosParamCreator = exports.TaggedObjectsApi = exports.TaggedObjectsApiFactory = exports.TaggedObjectsApiFp = exports.TaggedObjectsApiAxiosParamCreator = exports.SourcesApi = exports.SourcesApiFactory = exports.SourcesApiFp = exports.SourcesApiAxiosParamCreator = exports.SourceUsagesApi = exports.SourceUsagesApiFactory = exports.SourceUsagesApiFp = exports.SourceUsagesApiAxiosParamCreator = exports.ServiceDeskIntegrationApi = exports.ServiceDeskIntegrationApiFactory = exports.ServiceDeskIntegrationApiFp = exports.ServiceDeskIntegrationApiAxiosParamCreator = exports.SegmentsApi = exports.SegmentsApiFactory = exports.SegmentsApiFp = exports.SegmentsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ScheduledSearchApi = exports.ScheduledSearchApiFactory = exports.ScheduledSearchApiFp = exports.ScheduledSearchApiAxiosParamCreator = exports.SavedSearchApi = exports.SavedSearchApiFactory = exports.SavedSearchApiFp = exports.SavedSearchApiAxiosParamCreator = exports.SODViolationsApi = exports.SODViolationsApiFactory = exports.SODViolationsApiFp = exports.SODViolationsApiAxiosParamCreator = exports.SODPolicyApi = exports.SODPolicyApiFactory = exports.SODPolicyApiFp = exports.SODPolicyApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RequestableObjectsApi = exports.RequestableObjectsApiFactory = exports.RequestableObjectsApiFp = void 0;
88
+ exports.WorkflowsApi = exports.WorkflowsApiFactory = exports.WorkflowsApiFp = exports.WorkflowsApiAxiosParamCreator = exports.WorkItemsApi = exports.WorkItemsApiFactory = exports.WorkItemsApiFp = exports.WorkItemsApiAxiosParamCreator = exports.TransformsApi = void 0;
88
89
  var axios_1 = __importDefault(require("axios"));
89
90
  // Some imports not used depending on template conditions
90
91
  // @ts-ignore
@@ -1453,6 +1454,66 @@ exports.WorkItemTypeManualWorkItems = {
1453
1454
  ManualAction: 'ManualAction',
1454
1455
  Test: 'Test'
1455
1456
  };
1457
+ exports.WorkflowAllOfCreatorTypeEnum = {
1458
+ Identity: 'IDENTITY'
1459
+ };
1460
+ exports.WorkflowBodyOwnerTypeEnum = {
1461
+ Identity: 'IDENTITY'
1462
+ };
1463
+ exports.WorkflowExecutionStatusEnum = {
1464
+ Completed: 'Completed',
1465
+ Failed: 'Failed',
1466
+ Canceled: 'Canceled',
1467
+ Running: 'Running'
1468
+ };
1469
+ exports.WorkflowExecutionEventTypeEnum = {
1470
+ WorkflowExecutionScheduled: 'WorkflowExecutionScheduled',
1471
+ WorkflowExecutionStarted: 'WorkflowExecutionStarted',
1472
+ WorkflowExecutionCompleted: 'WorkflowExecutionCompleted',
1473
+ WorkflowExecutionFailed: 'WorkflowExecutionFailed',
1474
+ WorkflowTaskScheduled: 'WorkflowTaskScheduled',
1475
+ WorkflowTaskStarted: 'WorkflowTaskStarted',
1476
+ WorkflowTaskCompleted: 'WorkflowTaskCompleted',
1477
+ WorkflowTaskFailed: 'WorkflowTaskFailed',
1478
+ ActivityTaskScheduled: 'ActivityTaskScheduled',
1479
+ ActivityTaskStarted: 'ActivityTaskStarted',
1480
+ ActivityTaskCompleted: 'ActivityTaskCompleted',
1481
+ ActivityTaskFailed: 'ActivityTaskFailed'
1482
+ };
1483
+ exports.WorkflowLibraryFormFieldsTypeEnum = {
1484
+ Text: 'text',
1485
+ Textarea: 'textarea',
1486
+ Boolean: 'boolean',
1487
+ Email: 'email',
1488
+ Url: 'url',
1489
+ Number: 'number',
1490
+ Json: 'json',
1491
+ Checkbox: 'checkbox',
1492
+ Jsonpath: 'jsonpath',
1493
+ Select: 'select',
1494
+ MultiType: 'multiType',
1495
+ Duration: 'duration',
1496
+ Toggle: 'toggle',
1497
+ IdentityPicker: 'identityPicker',
1498
+ GovernanceGroupPicker: 'governanceGroupPicker',
1499
+ String: 'string',
1500
+ Object: 'object',
1501
+ Array: 'array',
1502
+ Secret: 'secret',
1503
+ KeyValuePairs: 'keyValuePairs',
1504
+ EmailPicker: 'emailPicker',
1505
+ AdvancedToggle: 'advancedToggle'
1506
+ };
1507
+ exports.WorkflowLibraryTriggerTypeEnum = {
1508
+ Event: 'EVENT',
1509
+ Scheduled: 'SCHEDULED',
1510
+ External: 'EXTERNAL'
1511
+ };
1512
+ exports.WorkflowTriggerTypeEnum = {
1513
+ Event: 'EVENT',
1514
+ External: 'EXTERNAL',
1515
+ Scheduled: 'SCHEDULED'
1516
+ };
1456
1517
  /**
1457
1518
  * AccessProfilesApi - axios parameter creator
1458
1519
  * @export
@@ -31895,4 +31956,1833 @@ var WorkItemsApi = /** @class */ (function (_super) {
31895
31956
  return WorkItemsApi;
31896
31957
  }(base_1.BaseAPI));
31897
31958
  exports.WorkItemsApi = WorkItemsApi;
31959
+ /**
31960
+ * WorkflowsApi - axios parameter creator
31961
+ * @export
31962
+ */
31963
+ var WorkflowsApiAxiosParamCreator = function (configuration) {
31964
+ var _this = this;
31965
+ return {
31966
+ /**
31967
+ * Use this API to cancel a running workflow execution.
31968
+ * @summary Cancel Workflow Execution by ID
31969
+ * @param {string} id The workflow execution ID
31970
+ * @param {*} [axiosOptions] Override http request option.
31971
+ * @throws {RequiredError}
31972
+ */
31973
+ cancelWorkflowExecution: function (id, axiosOptions) {
31974
+ if (axiosOptions === void 0) { axiosOptions = {}; }
31975
+ return __awaiter(_this, void 0, void 0, function () {
31976
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
31977
+ return __generator(this, function (_a) {
31978
+ switch (_a.label) {
31979
+ case 0:
31980
+ // verify required parameter 'id' is not null or undefined
31981
+ (0, common_1.assertParamExists)('cancelWorkflowExecution', 'id', id);
31982
+ localVarPath = "/workflow-executions/{id}/cancel"
31983
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
31984
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
31985
+ if (configuration) {
31986
+ baseOptions = configuration.baseOptions;
31987
+ }
31988
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
31989
+ localVarHeaderParameter = {};
31990
+ localVarQueryParameter = {};
31991
+ // authentication UserContextAuth required
31992
+ // oauth required
31993
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
31994
+ // authentication UserContextAuth required
31995
+ // oauth required
31996
+ ];
31997
+ case 1:
31998
+ // authentication UserContextAuth required
31999
+ // oauth required
32000
+ _a.sent();
32001
+ // authentication UserContextAuth required
32002
+ // oauth required
32003
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32004
+ case 2:
32005
+ // authentication UserContextAuth required
32006
+ // oauth required
32007
+ _a.sent();
32008
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32009
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32010
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32011
+ return [2 /*return*/, {
32012
+ url: (0, common_1.toPathString)(localVarUrlObj),
32013
+ axiosOptions: localVarRequestOptions,
32014
+ }];
32015
+ }
32016
+ });
32017
+ });
32018
+ },
32019
+ /**
32020
+ * This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the \"External Trigger\" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body.
32021
+ * @summary Execute Workflow via External Trigger
32022
+ * @param {string} id Id of the workflow
32023
+ * @param {CreateExternalExecuteWorkflowRequest} [createExternalExecuteWorkflowRequest]
32024
+ * @param {*} [axiosOptions] Override http request option.
32025
+ * @throws {RequiredError}
32026
+ */
32027
+ createExternalExecuteWorkflow: function (id, createExternalExecuteWorkflowRequest, axiosOptions) {
32028
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32029
+ return __awaiter(_this, void 0, void 0, function () {
32030
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32031
+ return __generator(this, function (_a) {
32032
+ switch (_a.label) {
32033
+ case 0:
32034
+ // verify required parameter 'id' is not null or undefined
32035
+ (0, common_1.assertParamExists)('createExternalExecuteWorkflow', 'id', id);
32036
+ localVarPath = "/workflows/execute/external/{id}"
32037
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32038
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32039
+ if (configuration) {
32040
+ baseOptions = configuration.baseOptions;
32041
+ }
32042
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
32043
+ localVarHeaderParameter = {};
32044
+ localVarQueryParameter = {};
32045
+ // authentication UserContextAuth required
32046
+ // oauth required
32047
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32048
+ // authentication UserContextAuth required
32049
+ // oauth required
32050
+ ];
32051
+ case 1:
32052
+ // authentication UserContextAuth required
32053
+ // oauth required
32054
+ _a.sent();
32055
+ // authentication UserContextAuth required
32056
+ // oauth required
32057
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32058
+ case 2:
32059
+ // authentication UserContextAuth required
32060
+ // oauth required
32061
+ _a.sent();
32062
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32063
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32064
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32065
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32066
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createExternalExecuteWorkflowRequest, localVarRequestOptions, configuration);
32067
+ return [2 /*return*/, {
32068
+ url: (0, common_1.toPathString)(localVarUrlObj),
32069
+ axiosOptions: localVarRequestOptions,
32070
+ }];
32071
+ }
32072
+ });
32073
+ });
32074
+ },
32075
+ /**
32076
+ * Create a new workflow with the desired trigger and steps specified in the request body.
32077
+ * @summary Create Workflow
32078
+ * @param {CreateWorkflowRequest} createWorkflowRequest
32079
+ * @param {*} [axiosOptions] Override http request option.
32080
+ * @throws {RequiredError}
32081
+ */
32082
+ createWorkflow: function (createWorkflowRequest, axiosOptions) {
32083
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32084
+ return __awaiter(_this, void 0, void 0, function () {
32085
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32086
+ return __generator(this, function (_a) {
32087
+ switch (_a.label) {
32088
+ case 0:
32089
+ // verify required parameter 'createWorkflowRequest' is not null or undefined
32090
+ (0, common_1.assertParamExists)('createWorkflow', 'createWorkflowRequest', createWorkflowRequest);
32091
+ localVarPath = "/workflows/{id}";
32092
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32093
+ if (configuration) {
32094
+ baseOptions = configuration.baseOptions;
32095
+ }
32096
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
32097
+ localVarHeaderParameter = {};
32098
+ localVarQueryParameter = {};
32099
+ // authentication UserContextAuth required
32100
+ // oauth required
32101
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32102
+ // authentication UserContextAuth required
32103
+ // oauth required
32104
+ ];
32105
+ case 1:
32106
+ // authentication UserContextAuth required
32107
+ // oauth required
32108
+ _a.sent();
32109
+ // authentication UserContextAuth required
32110
+ // oauth required
32111
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32112
+ case 2:
32113
+ // authentication UserContextAuth required
32114
+ // oauth required
32115
+ _a.sent();
32116
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32117
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32118
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32119
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32120
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createWorkflowRequest, localVarRequestOptions, configuration);
32121
+ return [2 /*return*/, {
32122
+ url: (0, common_1.toPathString)(localVarUrlObj),
32123
+ axiosOptions: localVarRequestOptions,
32124
+ }];
32125
+ }
32126
+ });
32127
+ });
32128
+ },
32129
+ /**
32130
+ * Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow.
32131
+ * @summary Generate External Trigger OAuth Client
32132
+ * @param {string} id Id of the workflow
32133
+ * @param {*} [axiosOptions] Override http request option.
32134
+ * @throws {RequiredError}
32135
+ */
32136
+ createWorkflowExternalTrigger: function (id, axiosOptions) {
32137
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32138
+ return __awaiter(_this, void 0, void 0, function () {
32139
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32140
+ return __generator(this, function (_a) {
32141
+ switch (_a.label) {
32142
+ case 0:
32143
+ // verify required parameter 'id' is not null or undefined
32144
+ (0, common_1.assertParamExists)('createWorkflowExternalTrigger', 'id', id);
32145
+ localVarPath = "/workflows/{id}/external/oauth-clients"
32146
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32147
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32148
+ if (configuration) {
32149
+ baseOptions = configuration.baseOptions;
32150
+ }
32151
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
32152
+ localVarHeaderParameter = {};
32153
+ localVarQueryParameter = {};
32154
+ // authentication UserContextAuth required
32155
+ // oauth required
32156
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32157
+ // authentication UserContextAuth required
32158
+ // oauth required
32159
+ ];
32160
+ case 1:
32161
+ // authentication UserContextAuth required
32162
+ // oauth required
32163
+ _a.sent();
32164
+ // authentication UserContextAuth required
32165
+ // oauth required
32166
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32167
+ case 2:
32168
+ // authentication UserContextAuth required
32169
+ // oauth required
32170
+ _a.sent();
32171
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32172
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32173
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32174
+ return [2 /*return*/, {
32175
+ url: (0, common_1.toPathString)(localVarUrlObj),
32176
+ axiosOptions: localVarRequestOptions,
32177
+ }];
32178
+ }
32179
+ });
32180
+ });
32181
+ },
32182
+ /**
32183
+ * Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled.
32184
+ * @summary Delete Workflow By Id
32185
+ * @param {string} id Id of the Workflow
32186
+ * @param {*} [axiosOptions] Override http request option.
32187
+ * @throws {RequiredError}
32188
+ */
32189
+ deleteWorkflow: function (id, axiosOptions) {
32190
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32191
+ return __awaiter(_this, void 0, void 0, function () {
32192
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32193
+ return __generator(this, function (_a) {
32194
+ switch (_a.label) {
32195
+ case 0:
32196
+ // verify required parameter 'id' is not null or undefined
32197
+ (0, common_1.assertParamExists)('deleteWorkflow', 'id', id);
32198
+ localVarPath = "/workflows/{id}"
32199
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32200
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32201
+ if (configuration) {
32202
+ baseOptions = configuration.baseOptions;
32203
+ }
32204
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
32205
+ localVarHeaderParameter = {};
32206
+ localVarQueryParameter = {};
32207
+ // authentication UserContextAuth required
32208
+ // oauth required
32209
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32210
+ // authentication UserContextAuth required
32211
+ // oauth required
32212
+ ];
32213
+ case 1:
32214
+ // authentication UserContextAuth required
32215
+ // oauth required
32216
+ _a.sent();
32217
+ // authentication UserContextAuth required
32218
+ // oauth required
32219
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32220
+ case 2:
32221
+ // authentication UserContextAuth required
32222
+ // oauth required
32223
+ _a.sent();
32224
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32225
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32226
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32227
+ return [2 /*return*/, {
32228
+ url: (0, common_1.toPathString)(localVarUrlObj),
32229
+ axiosOptions: localVarRequestOptions,
32230
+ }];
32231
+ }
32232
+ });
32233
+ });
32234
+ },
32235
+ /**
32236
+ * Get a single workflow by id.
32237
+ * @summary Get Workflow By Id
32238
+ * @param {string} id Id of the workflow
32239
+ * @param {*} [axiosOptions] Override http request option.
32240
+ * @throws {RequiredError}
32241
+ */
32242
+ getWorkflow: function (id, axiosOptions) {
32243
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32244
+ return __awaiter(_this, void 0, void 0, function () {
32245
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32246
+ return __generator(this, function (_a) {
32247
+ switch (_a.label) {
32248
+ case 0:
32249
+ // verify required parameter 'id' is not null or undefined
32250
+ (0, common_1.assertParamExists)('getWorkflow', 'id', id);
32251
+ localVarPath = "/workflows/{id}"
32252
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32253
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32254
+ if (configuration) {
32255
+ baseOptions = configuration.baseOptions;
32256
+ }
32257
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32258
+ localVarHeaderParameter = {};
32259
+ localVarQueryParameter = {};
32260
+ // authentication UserContextAuth required
32261
+ // oauth required
32262
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32263
+ // authentication UserContextAuth required
32264
+ // oauth required
32265
+ ];
32266
+ case 1:
32267
+ // authentication UserContextAuth required
32268
+ // oauth required
32269
+ _a.sent();
32270
+ // authentication UserContextAuth required
32271
+ // oauth required
32272
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32273
+ case 2:
32274
+ // authentication UserContextAuth required
32275
+ // oauth required
32276
+ _a.sent();
32277
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32278
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32279
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32280
+ return [2 /*return*/, {
32281
+ url: (0, common_1.toPathString)(localVarUrlObj),
32282
+ axiosOptions: localVarRequestOptions,
32283
+ }];
32284
+ }
32285
+ });
32286
+ });
32287
+ },
32288
+ /**
32289
+ * Get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
32290
+ * @summary Get a Workflow Execution
32291
+ * @param {string} id Id of the workflow execution
32292
+ * @param {*} [axiosOptions] Override http request option.
32293
+ * @throws {RequiredError}
32294
+ */
32295
+ getWorkflowExecution: function (id, axiosOptions) {
32296
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32297
+ return __awaiter(_this, void 0, void 0, function () {
32298
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32299
+ return __generator(this, function (_a) {
32300
+ switch (_a.label) {
32301
+ case 0:
32302
+ // verify required parameter 'id' is not null or undefined
32303
+ (0, common_1.assertParamExists)('getWorkflowExecution', 'id', id);
32304
+ localVarPath = "/workflow-executions/{id}"
32305
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32306
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32307
+ if (configuration) {
32308
+ baseOptions = configuration.baseOptions;
32309
+ }
32310
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32311
+ localVarHeaderParameter = {};
32312
+ localVarQueryParameter = {};
32313
+ // authentication UserContextAuth required
32314
+ // oauth required
32315
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32316
+ // authentication UserContextAuth required
32317
+ // oauth required
32318
+ ];
32319
+ case 1:
32320
+ // authentication UserContextAuth required
32321
+ // oauth required
32322
+ _a.sent();
32323
+ // authentication UserContextAuth required
32324
+ // oauth required
32325
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32326
+ case 2:
32327
+ // authentication UserContextAuth required
32328
+ // oauth required
32329
+ _a.sent();
32330
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32331
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32332
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32333
+ return [2 /*return*/, {
32334
+ url: (0, common_1.toPathString)(localVarUrlObj),
32335
+ axiosOptions: localVarRequestOptions,
32336
+ }];
32337
+ }
32338
+ });
32339
+ });
32340
+ },
32341
+ /**
32342
+ * Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
32343
+ * @summary Get Workflow Execution History
32344
+ * @param {string} id Id of the workflow execution
32345
+ * @param {*} [axiosOptions] Override http request option.
32346
+ * @throws {RequiredError}
32347
+ */
32348
+ getWorkflowExecutionHistory: function (id, axiosOptions) {
32349
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32350
+ return __awaiter(_this, void 0, void 0, function () {
32351
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32352
+ return __generator(this, function (_a) {
32353
+ switch (_a.label) {
32354
+ case 0:
32355
+ // verify required parameter 'id' is not null or undefined
32356
+ (0, common_1.assertParamExists)('getWorkflowExecutionHistory', 'id', id);
32357
+ localVarPath = "/workflow-executions/{id}/history"
32358
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32359
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32360
+ if (configuration) {
32361
+ baseOptions = configuration.baseOptions;
32362
+ }
32363
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32364
+ localVarHeaderParameter = {};
32365
+ localVarQueryParameter = {};
32366
+ // authentication UserContextAuth required
32367
+ // oauth required
32368
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32369
+ // authentication UserContextAuth required
32370
+ // oauth required
32371
+ ];
32372
+ case 1:
32373
+ // authentication UserContextAuth required
32374
+ // oauth required
32375
+ _a.sent();
32376
+ // authentication UserContextAuth required
32377
+ // oauth required
32378
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32379
+ case 2:
32380
+ // authentication UserContextAuth required
32381
+ // oauth required
32382
+ _a.sent();
32383
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32384
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32385
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32386
+ return [2 /*return*/, {
32387
+ url: (0, common_1.toPathString)(localVarUrlObj),
32388
+ axiosOptions: localVarRequestOptions,
32389
+ }];
32390
+ }
32391
+ });
32392
+ });
32393
+ },
32394
+ /**
32395
+ * This lists all triggers, actions, and operators in the library
32396
+ * @summary List Complete Workflow Library
32397
+ * @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.
32398
+ * @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.
32399
+ * @param {*} [axiosOptions] Override http request option.
32400
+ * @throws {RequiredError}
32401
+ */
32402
+ listCompleteWorkflowLibrary: function (limit, offset, axiosOptions) {
32403
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32404
+ return __awaiter(_this, void 0, void 0, function () {
32405
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32406
+ return __generator(this, function (_a) {
32407
+ switch (_a.label) {
32408
+ case 0:
32409
+ localVarPath = "/workflow-library";
32410
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32411
+ if (configuration) {
32412
+ baseOptions = configuration.baseOptions;
32413
+ }
32414
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32415
+ localVarHeaderParameter = {};
32416
+ localVarQueryParameter = {};
32417
+ // authentication UserContextAuth required
32418
+ // oauth required
32419
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32420
+ // authentication UserContextAuth required
32421
+ // oauth required
32422
+ ];
32423
+ case 1:
32424
+ // authentication UserContextAuth required
32425
+ // oauth required
32426
+ _a.sent();
32427
+ // authentication UserContextAuth required
32428
+ // oauth required
32429
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32430
+ case 2:
32431
+ // authentication UserContextAuth required
32432
+ // oauth required
32433
+ _a.sent();
32434
+ if (limit !== undefined) {
32435
+ localVarQueryParameter['limit'] = limit;
32436
+ }
32437
+ if (offset !== undefined) {
32438
+ localVarQueryParameter['offset'] = offset;
32439
+ }
32440
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32441
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32442
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32443
+ return [2 /*return*/, {
32444
+ url: (0, common_1.toPathString)(localVarUrlObj),
32445
+ axiosOptions: localVarRequestOptions,
32446
+ }];
32447
+ }
32448
+ });
32449
+ });
32450
+ },
32451
+ /**
32452
+ * This lists the executions for a given workflow. Workflow executions are available for up to 90 days before being archived. By default, you can get a maximum of 250 executions. To get executions past the first 250 records, you can do the following: 1. Use the [Get Workflows](https://developer.sailpoint.com/idn/api/beta/list-workflows) endpoint to get your workflows. 2. Get your workflow ID from the response. 3. You can then do either of the following: - Filter to find relevant workflow executions. For example, you can filter for failed workflow executions: `GET /workflows/:workflowID/executions?filters=status eq \"Failed\"` - You can paginate through results with the `offset` parameter. For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250. Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination.
32453
+ * @summary List Workflow Executions
32454
+ * @param {string} id Id of the workflow
32455
+ * @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.
32456
+ * @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.
32457
+ * @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.
32458
+ * @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: **startTime**: *eq, lt, le, gt, ge* **status**: *eq*
32459
+ * @param {*} [axiosOptions] Override http request option.
32460
+ * @throws {RequiredError}
32461
+ */
32462
+ listWorkflowExecutions: function (id, limit, offset, count, filters, axiosOptions) {
32463
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32464
+ return __awaiter(_this, void 0, void 0, function () {
32465
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32466
+ return __generator(this, function (_a) {
32467
+ switch (_a.label) {
32468
+ case 0:
32469
+ // verify required parameter 'id' is not null or undefined
32470
+ (0, common_1.assertParamExists)('listWorkflowExecutions', 'id', id);
32471
+ localVarPath = "/workflows/{id}/executions"
32472
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32473
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32474
+ if (configuration) {
32475
+ baseOptions = configuration.baseOptions;
32476
+ }
32477
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32478
+ localVarHeaderParameter = {};
32479
+ localVarQueryParameter = {};
32480
+ // authentication UserContextAuth required
32481
+ // oauth required
32482
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32483
+ // authentication UserContextAuth required
32484
+ // oauth required
32485
+ ];
32486
+ case 1:
32487
+ // authentication UserContextAuth required
32488
+ // oauth required
32489
+ _a.sent();
32490
+ // authentication UserContextAuth required
32491
+ // oauth required
32492
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32493
+ case 2:
32494
+ // authentication UserContextAuth required
32495
+ // oauth required
32496
+ _a.sent();
32497
+ if (limit !== undefined) {
32498
+ localVarQueryParameter['limit'] = limit;
32499
+ }
32500
+ if (offset !== undefined) {
32501
+ localVarQueryParameter['offset'] = offset;
32502
+ }
32503
+ if (count !== undefined) {
32504
+ localVarQueryParameter['count'] = count;
32505
+ }
32506
+ if (filters !== undefined) {
32507
+ localVarQueryParameter['filters'] = filters;
32508
+ }
32509
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32510
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32511
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32512
+ return [2 /*return*/, {
32513
+ url: (0, common_1.toPathString)(localVarUrlObj),
32514
+ axiosOptions: localVarRequestOptions,
32515
+ }];
32516
+ }
32517
+ });
32518
+ });
32519
+ },
32520
+ /**
32521
+ * This lists the workflow actions available to you.
32522
+ * @summary List Workflow Library Actions
32523
+ * @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.
32524
+ * @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.
32525
+ * @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*
32526
+ * @param {*} [axiosOptions] Override http request option.
32527
+ * @throws {RequiredError}
32528
+ */
32529
+ listWorkflowLibraryActions: function (limit, offset, filters, axiosOptions) {
32530
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32531
+ return __awaiter(_this, void 0, void 0, function () {
32532
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32533
+ return __generator(this, function (_a) {
32534
+ switch (_a.label) {
32535
+ case 0:
32536
+ localVarPath = "/workflow-library/actions";
32537
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32538
+ if (configuration) {
32539
+ baseOptions = configuration.baseOptions;
32540
+ }
32541
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32542
+ localVarHeaderParameter = {};
32543
+ localVarQueryParameter = {};
32544
+ // authentication UserContextAuth required
32545
+ // oauth required
32546
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32547
+ // authentication UserContextAuth required
32548
+ // oauth required
32549
+ ];
32550
+ case 1:
32551
+ // authentication UserContextAuth required
32552
+ // oauth required
32553
+ _a.sent();
32554
+ // authentication UserContextAuth required
32555
+ // oauth required
32556
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32557
+ case 2:
32558
+ // authentication UserContextAuth required
32559
+ // oauth required
32560
+ _a.sent();
32561
+ if (limit !== undefined) {
32562
+ localVarQueryParameter['limit'] = limit;
32563
+ }
32564
+ if (offset !== undefined) {
32565
+ localVarQueryParameter['offset'] = offset;
32566
+ }
32567
+ if (filters !== undefined) {
32568
+ localVarQueryParameter['filters'] = filters;
32569
+ }
32570
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32571
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32572
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32573
+ return [2 /*return*/, {
32574
+ url: (0, common_1.toPathString)(localVarUrlObj),
32575
+ axiosOptions: localVarRequestOptions,
32576
+ }];
32577
+ }
32578
+ });
32579
+ });
32580
+ },
32581
+ /**
32582
+ * This lists the workflow operators available to you
32583
+ * @summary List Workflow Library Operators
32584
+ * @param {*} [axiosOptions] Override http request option.
32585
+ * @throws {RequiredError}
32586
+ */
32587
+ listWorkflowLibraryOperators: function (axiosOptions) {
32588
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32589
+ return __awaiter(_this, void 0, void 0, function () {
32590
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32591
+ return __generator(this, function (_a) {
32592
+ switch (_a.label) {
32593
+ case 0:
32594
+ localVarPath = "/workflow-library/operators";
32595
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32596
+ if (configuration) {
32597
+ baseOptions = configuration.baseOptions;
32598
+ }
32599
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32600
+ localVarHeaderParameter = {};
32601
+ localVarQueryParameter = {};
32602
+ // authentication UserContextAuth required
32603
+ // oauth required
32604
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32605
+ // authentication UserContextAuth required
32606
+ // oauth required
32607
+ ];
32608
+ case 1:
32609
+ // authentication UserContextAuth required
32610
+ // oauth required
32611
+ _a.sent();
32612
+ // authentication UserContextAuth required
32613
+ // oauth required
32614
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32615
+ case 2:
32616
+ // authentication UserContextAuth required
32617
+ // oauth required
32618
+ _a.sent();
32619
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32620
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32621
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32622
+ return [2 /*return*/, {
32623
+ url: (0, common_1.toPathString)(localVarUrlObj),
32624
+ axiosOptions: localVarRequestOptions,
32625
+ }];
32626
+ }
32627
+ });
32628
+ });
32629
+ },
32630
+ /**
32631
+ * This lists the workflow triggers available to you
32632
+ * @summary List Workflow Library Triggers
32633
+ * @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.
32634
+ * @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.
32635
+ * @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*
32636
+ * @param {*} [axiosOptions] Override http request option.
32637
+ * @throws {RequiredError}
32638
+ */
32639
+ listWorkflowLibraryTriggers: function (limit, offset, filters, axiosOptions) {
32640
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32641
+ return __awaiter(_this, void 0, void 0, function () {
32642
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32643
+ return __generator(this, function (_a) {
32644
+ switch (_a.label) {
32645
+ case 0:
32646
+ localVarPath = "/workflow-library/triggers";
32647
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32648
+ if (configuration) {
32649
+ baseOptions = configuration.baseOptions;
32650
+ }
32651
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32652
+ localVarHeaderParameter = {};
32653
+ localVarQueryParameter = {};
32654
+ // authentication UserContextAuth required
32655
+ // oauth required
32656
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32657
+ // authentication UserContextAuth required
32658
+ // oauth required
32659
+ ];
32660
+ case 1:
32661
+ // authentication UserContextAuth required
32662
+ // oauth required
32663
+ _a.sent();
32664
+ // authentication UserContextAuth required
32665
+ // oauth required
32666
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32667
+ case 2:
32668
+ // authentication UserContextAuth required
32669
+ // oauth required
32670
+ _a.sent();
32671
+ if (limit !== undefined) {
32672
+ localVarQueryParameter['limit'] = limit;
32673
+ }
32674
+ if (offset !== undefined) {
32675
+ localVarQueryParameter['offset'] = offset;
32676
+ }
32677
+ if (filters !== undefined) {
32678
+ localVarQueryParameter['filters'] = filters;
32679
+ }
32680
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32681
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32682
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32683
+ return [2 /*return*/, {
32684
+ url: (0, common_1.toPathString)(localVarUrlObj),
32685
+ axiosOptions: localVarRequestOptions,
32686
+ }];
32687
+ }
32688
+ });
32689
+ });
32690
+ },
32691
+ /**
32692
+ * List all workflows in the tenant.
32693
+ * @summary List Workflows
32694
+ * @param {*} [axiosOptions] Override http request option.
32695
+ * @throws {RequiredError}
32696
+ */
32697
+ listWorkflows: function (axiosOptions) {
32698
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32699
+ return __awaiter(_this, void 0, void 0, function () {
32700
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32701
+ return __generator(this, function (_a) {
32702
+ switch (_a.label) {
32703
+ case 0:
32704
+ localVarPath = "/workflows";
32705
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32706
+ if (configuration) {
32707
+ baseOptions = configuration.baseOptions;
32708
+ }
32709
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
32710
+ localVarHeaderParameter = {};
32711
+ localVarQueryParameter = {};
32712
+ // authentication UserContextAuth required
32713
+ // oauth required
32714
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32715
+ // authentication UserContextAuth required
32716
+ // oauth required
32717
+ ];
32718
+ case 1:
32719
+ // authentication UserContextAuth required
32720
+ // oauth required
32721
+ _a.sent();
32722
+ // authentication UserContextAuth required
32723
+ // oauth required
32724
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32725
+ case 2:
32726
+ // authentication UserContextAuth required
32727
+ // oauth required
32728
+ _a.sent();
32729
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32730
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32731
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32732
+ return [2 /*return*/, {
32733
+ url: (0, common_1.toPathString)(localVarUrlObj),
32734
+ axiosOptions: localVarRequestOptions,
32735
+ }];
32736
+ }
32737
+ });
32738
+ });
32739
+ },
32740
+ /**
32741
+ * Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
32742
+ * @summary Patch Workflow
32743
+ * @param {string} id Id of the Workflow
32744
+ * @param {Array<JsonPatchOperation>} jsonPatchOperation
32745
+ * @param {*} [axiosOptions] Override http request option.
32746
+ * @throws {RequiredError}
32747
+ */
32748
+ patchWorkflow: function (id, jsonPatchOperation, axiosOptions) {
32749
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32750
+ return __awaiter(_this, void 0, void 0, function () {
32751
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32752
+ return __generator(this, function (_a) {
32753
+ switch (_a.label) {
32754
+ case 0:
32755
+ // verify required parameter 'id' is not null or undefined
32756
+ (0, common_1.assertParamExists)('patchWorkflow', 'id', id);
32757
+ // verify required parameter 'jsonPatchOperation' is not null or undefined
32758
+ (0, common_1.assertParamExists)('patchWorkflow', 'jsonPatchOperation', jsonPatchOperation);
32759
+ localVarPath = "/workflows/{id}"
32760
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32761
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32762
+ if (configuration) {
32763
+ baseOptions = configuration.baseOptions;
32764
+ }
32765
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
32766
+ localVarHeaderParameter = {};
32767
+ localVarQueryParameter = {};
32768
+ // authentication UserContextAuth required
32769
+ // oauth required
32770
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32771
+ // authentication UserContextAuth required
32772
+ // oauth required
32773
+ ];
32774
+ case 1:
32775
+ // authentication UserContextAuth required
32776
+ // oauth required
32777
+ _a.sent();
32778
+ // authentication UserContextAuth required
32779
+ // oauth required
32780
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32781
+ case 2:
32782
+ // authentication UserContextAuth required
32783
+ // oauth required
32784
+ _a.sent();
32785
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
32786
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32787
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32788
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32789
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperation, localVarRequestOptions, configuration);
32790
+ return [2 /*return*/, {
32791
+ url: (0, common_1.toPathString)(localVarUrlObj),
32792
+ axiosOptions: localVarRequestOptions,
32793
+ }];
32794
+ }
32795
+ });
32796
+ });
32797
+ },
32798
+ /**
32799
+ * Perform a full update of a workflow. The updated workflow object is returned in the response.
32800
+ * @summary Update Workflow
32801
+ * @param {string} id Id of the Workflow
32802
+ * @param {WorkflowBody} workflowBody
32803
+ * @param {*} [axiosOptions] Override http request option.
32804
+ * @throws {RequiredError}
32805
+ */
32806
+ putWorkflow: function (id, workflowBody, axiosOptions) {
32807
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32808
+ return __awaiter(_this, void 0, void 0, function () {
32809
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32810
+ return __generator(this, function (_a) {
32811
+ switch (_a.label) {
32812
+ case 0:
32813
+ // verify required parameter 'id' is not null or undefined
32814
+ (0, common_1.assertParamExists)('putWorkflow', 'id', id);
32815
+ // verify required parameter 'workflowBody' is not null or undefined
32816
+ (0, common_1.assertParamExists)('putWorkflow', 'workflowBody', workflowBody);
32817
+ localVarPath = "/workflows/{id}"
32818
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32819
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32820
+ if (configuration) {
32821
+ baseOptions = configuration.baseOptions;
32822
+ }
32823
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions);
32824
+ localVarHeaderParameter = {};
32825
+ localVarQueryParameter = {};
32826
+ // authentication UserContextAuth required
32827
+ // oauth required
32828
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32829
+ // authentication UserContextAuth required
32830
+ // oauth required
32831
+ ];
32832
+ case 1:
32833
+ // authentication UserContextAuth required
32834
+ // oauth required
32835
+ _a.sent();
32836
+ // authentication UserContextAuth required
32837
+ // oauth required
32838
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32839
+ case 2:
32840
+ // authentication UserContextAuth required
32841
+ // oauth required
32842
+ _a.sent();
32843
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32844
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32845
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32846
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32847
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workflowBody, localVarRequestOptions, configuration);
32848
+ return [2 /*return*/, {
32849
+ url: (0, common_1.toPathString)(localVarUrlObj),
32850
+ axiosOptions: localVarRequestOptions,
32851
+ }];
32852
+ }
32853
+ });
32854
+ });
32855
+ },
32856
+ /**
32857
+ * Validate a workflow with an \"External Trigger\" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow.
32858
+ * @summary Test Workflow via External Trigger
32859
+ * @param {string} id Id of the workflow
32860
+ * @param {TestExternalExecuteWorkflowRequest} [testExternalExecuteWorkflowRequest]
32861
+ * @param {*} [axiosOptions] Override http request option.
32862
+ * @throws {RequiredError}
32863
+ */
32864
+ testExternalExecuteWorkflow: function (id, testExternalExecuteWorkflowRequest, axiosOptions) {
32865
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32866
+ return __awaiter(_this, void 0, void 0, function () {
32867
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32868
+ return __generator(this, function (_a) {
32869
+ switch (_a.label) {
32870
+ case 0:
32871
+ // verify required parameter 'id' is not null or undefined
32872
+ (0, common_1.assertParamExists)('testExternalExecuteWorkflow', 'id', id);
32873
+ localVarPath = "/workflows/execute/external/{id}/test"
32874
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32875
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32876
+ if (configuration) {
32877
+ baseOptions = configuration.baseOptions;
32878
+ }
32879
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
32880
+ localVarHeaderParameter = {};
32881
+ localVarQueryParameter = {};
32882
+ // authentication UserContextAuth required
32883
+ // oauth required
32884
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32885
+ // authentication UserContextAuth required
32886
+ // oauth required
32887
+ ];
32888
+ case 1:
32889
+ // authentication UserContextAuth required
32890
+ // oauth required
32891
+ _a.sent();
32892
+ // authentication UserContextAuth required
32893
+ // oauth required
32894
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32895
+ case 2:
32896
+ // authentication UserContextAuth required
32897
+ // oauth required
32898
+ _a.sent();
32899
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32900
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32901
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32902
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32903
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(testExternalExecuteWorkflowRequest, localVarRequestOptions, configuration);
32904
+ return [2 /*return*/, {
32905
+ url: (0, common_1.toPathString)(localVarUrlObj),
32906
+ axiosOptions: localVarRequestOptions,
32907
+ }];
32908
+ }
32909
+ });
32910
+ });
32911
+ },
32912
+ /**
32913
+ * Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/idn/docs/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
32914
+ * @summary Test Workflow By Id
32915
+ * @param {string} id Id of the workflow
32916
+ * @param {TestWorkflowRequest} testWorkflowRequest
32917
+ * @param {*} [axiosOptions] Override http request option.
32918
+ * @throws {RequiredError}
32919
+ */
32920
+ testWorkflow: function (id, testWorkflowRequest, axiosOptions) {
32921
+ if (axiosOptions === void 0) { axiosOptions = {}; }
32922
+ return __awaiter(_this, void 0, void 0, function () {
32923
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
32924
+ return __generator(this, function (_a) {
32925
+ switch (_a.label) {
32926
+ case 0:
32927
+ // verify required parameter 'id' is not null or undefined
32928
+ (0, common_1.assertParamExists)('testWorkflow', 'id', id);
32929
+ // verify required parameter 'testWorkflowRequest' is not null or undefined
32930
+ (0, common_1.assertParamExists)('testWorkflow', 'testWorkflowRequest', testWorkflowRequest);
32931
+ localVarPath = "/workflows/{id}/test"
32932
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
32933
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32934
+ if (configuration) {
32935
+ baseOptions = configuration.baseOptions;
32936
+ }
32937
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
32938
+ localVarHeaderParameter = {};
32939
+ localVarQueryParameter = {};
32940
+ // authentication UserContextAuth required
32941
+ // oauth required
32942
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)
32943
+ // authentication UserContextAuth required
32944
+ // oauth required
32945
+ ];
32946
+ case 1:
32947
+ // authentication UserContextAuth required
32948
+ // oauth required
32949
+ _a.sent();
32950
+ // authentication UserContextAuth required
32951
+ // oauth required
32952
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "UserContextAuth", [], configuration)];
32953
+ case 2:
32954
+ // authentication UserContextAuth required
32955
+ // oauth required
32956
+ _a.sent();
32957
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32958
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
32959
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32960
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
32961
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(testWorkflowRequest, localVarRequestOptions, configuration);
32962
+ return [2 /*return*/, {
32963
+ url: (0, common_1.toPathString)(localVarUrlObj),
32964
+ axiosOptions: localVarRequestOptions,
32965
+ }];
32966
+ }
32967
+ });
32968
+ });
32969
+ },
32970
+ };
32971
+ };
32972
+ exports.WorkflowsApiAxiosParamCreator = WorkflowsApiAxiosParamCreator;
32973
+ /**
32974
+ * WorkflowsApi - functional programming interface
32975
+ * @export
32976
+ */
32977
+ var WorkflowsApiFp = function (configuration) {
32978
+ var localVarAxiosParamCreator = (0, exports.WorkflowsApiAxiosParamCreator)(configuration);
32979
+ return {
32980
+ /**
32981
+ * Use this API to cancel a running workflow execution.
32982
+ * @summary Cancel Workflow Execution by ID
32983
+ * @param {string} id The workflow execution ID
32984
+ * @param {*} [axiosOptions] Override http request option.
32985
+ * @throws {RequiredError}
32986
+ */
32987
+ cancelWorkflowExecution: function (id, axiosOptions) {
32988
+ return __awaiter(this, void 0, void 0, function () {
32989
+ var localVarAxiosArgs;
32990
+ return __generator(this, function (_a) {
32991
+ switch (_a.label) {
32992
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.cancelWorkflowExecution(id, axiosOptions)];
32993
+ case 1:
32994
+ localVarAxiosArgs = _a.sent();
32995
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
32996
+ }
32997
+ });
32998
+ });
32999
+ },
33000
+ /**
33001
+ * This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the \"External Trigger\" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body.
33002
+ * @summary Execute Workflow via External Trigger
33003
+ * @param {string} id Id of the workflow
33004
+ * @param {CreateExternalExecuteWorkflowRequest} [createExternalExecuteWorkflowRequest]
33005
+ * @param {*} [axiosOptions] Override http request option.
33006
+ * @throws {RequiredError}
33007
+ */
33008
+ createExternalExecuteWorkflow: function (id, createExternalExecuteWorkflowRequest, axiosOptions) {
33009
+ return __awaiter(this, void 0, void 0, function () {
33010
+ var localVarAxiosArgs;
33011
+ return __generator(this, function (_a) {
33012
+ switch (_a.label) {
33013
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createExternalExecuteWorkflow(id, createExternalExecuteWorkflowRequest, axiosOptions)];
33014
+ case 1:
33015
+ localVarAxiosArgs = _a.sent();
33016
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33017
+ }
33018
+ });
33019
+ });
33020
+ },
33021
+ /**
33022
+ * Create a new workflow with the desired trigger and steps specified in the request body.
33023
+ * @summary Create Workflow
33024
+ * @param {CreateWorkflowRequest} createWorkflowRequest
33025
+ * @param {*} [axiosOptions] Override http request option.
33026
+ * @throws {RequiredError}
33027
+ */
33028
+ createWorkflow: function (createWorkflowRequest, axiosOptions) {
33029
+ return __awaiter(this, void 0, void 0, function () {
33030
+ var localVarAxiosArgs;
33031
+ return __generator(this, function (_a) {
33032
+ switch (_a.label) {
33033
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createWorkflow(createWorkflowRequest, axiosOptions)];
33034
+ case 1:
33035
+ localVarAxiosArgs = _a.sent();
33036
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33037
+ }
33038
+ });
33039
+ });
33040
+ },
33041
+ /**
33042
+ * Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow.
33043
+ * @summary Generate External Trigger OAuth Client
33044
+ * @param {string} id Id of the workflow
33045
+ * @param {*} [axiosOptions] Override http request option.
33046
+ * @throws {RequiredError}
33047
+ */
33048
+ createWorkflowExternalTrigger: function (id, axiosOptions) {
33049
+ return __awaiter(this, void 0, void 0, function () {
33050
+ var localVarAxiosArgs;
33051
+ return __generator(this, function (_a) {
33052
+ switch (_a.label) {
33053
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createWorkflowExternalTrigger(id, axiosOptions)];
33054
+ case 1:
33055
+ localVarAxiosArgs = _a.sent();
33056
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33057
+ }
33058
+ });
33059
+ });
33060
+ },
33061
+ /**
33062
+ * Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled.
33063
+ * @summary Delete Workflow By Id
33064
+ * @param {string} id Id of the Workflow
33065
+ * @param {*} [axiosOptions] Override http request option.
33066
+ * @throws {RequiredError}
33067
+ */
33068
+ deleteWorkflow: function (id, axiosOptions) {
33069
+ return __awaiter(this, void 0, void 0, function () {
33070
+ var localVarAxiosArgs;
33071
+ return __generator(this, function (_a) {
33072
+ switch (_a.label) {
33073
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteWorkflow(id, axiosOptions)];
33074
+ case 1:
33075
+ localVarAxiosArgs = _a.sent();
33076
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33077
+ }
33078
+ });
33079
+ });
33080
+ },
33081
+ /**
33082
+ * Get a single workflow by id.
33083
+ * @summary Get Workflow By Id
33084
+ * @param {string} id Id of the workflow
33085
+ * @param {*} [axiosOptions] Override http request option.
33086
+ * @throws {RequiredError}
33087
+ */
33088
+ getWorkflow: function (id, axiosOptions) {
33089
+ return __awaiter(this, void 0, void 0, function () {
33090
+ var localVarAxiosArgs;
33091
+ return __generator(this, function (_a) {
33092
+ switch (_a.label) {
33093
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getWorkflow(id, axiosOptions)];
33094
+ case 1:
33095
+ localVarAxiosArgs = _a.sent();
33096
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33097
+ }
33098
+ });
33099
+ });
33100
+ },
33101
+ /**
33102
+ * Get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
33103
+ * @summary Get a Workflow Execution
33104
+ * @param {string} id Id of the workflow execution
33105
+ * @param {*} [axiosOptions] Override http request option.
33106
+ * @throws {RequiredError}
33107
+ */
33108
+ getWorkflowExecution: function (id, axiosOptions) {
33109
+ return __awaiter(this, void 0, void 0, function () {
33110
+ var localVarAxiosArgs;
33111
+ return __generator(this, function (_a) {
33112
+ switch (_a.label) {
33113
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getWorkflowExecution(id, axiosOptions)];
33114
+ case 1:
33115
+ localVarAxiosArgs = _a.sent();
33116
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33117
+ }
33118
+ });
33119
+ });
33120
+ },
33121
+ /**
33122
+ * Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
33123
+ * @summary Get Workflow Execution History
33124
+ * @param {string} id Id of the workflow execution
33125
+ * @param {*} [axiosOptions] Override http request option.
33126
+ * @throws {RequiredError}
33127
+ */
33128
+ getWorkflowExecutionHistory: function (id, axiosOptions) {
33129
+ return __awaiter(this, void 0, void 0, function () {
33130
+ var localVarAxiosArgs;
33131
+ return __generator(this, function (_a) {
33132
+ switch (_a.label) {
33133
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getWorkflowExecutionHistory(id, axiosOptions)];
33134
+ case 1:
33135
+ localVarAxiosArgs = _a.sent();
33136
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33137
+ }
33138
+ });
33139
+ });
33140
+ },
33141
+ /**
33142
+ * This lists all triggers, actions, and operators in the library
33143
+ * @summary List Complete Workflow Library
33144
+ * @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.
33145
+ * @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.
33146
+ * @param {*} [axiosOptions] Override http request option.
33147
+ * @throws {RequiredError}
33148
+ */
33149
+ listCompleteWorkflowLibrary: function (limit, offset, axiosOptions) {
33150
+ return __awaiter(this, void 0, void 0, function () {
33151
+ var localVarAxiosArgs;
33152
+ return __generator(this, function (_a) {
33153
+ switch (_a.label) {
33154
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCompleteWorkflowLibrary(limit, offset, axiosOptions)];
33155
+ case 1:
33156
+ localVarAxiosArgs = _a.sent();
33157
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33158
+ }
33159
+ });
33160
+ });
33161
+ },
33162
+ /**
33163
+ * This lists the executions for a given workflow. Workflow executions are available for up to 90 days before being archived. By default, you can get a maximum of 250 executions. To get executions past the first 250 records, you can do the following: 1. Use the [Get Workflows](https://developer.sailpoint.com/idn/api/beta/list-workflows) endpoint to get your workflows. 2. Get your workflow ID from the response. 3. You can then do either of the following: - Filter to find relevant workflow executions. For example, you can filter for failed workflow executions: `GET /workflows/:workflowID/executions?filters=status eq \"Failed\"` - You can paginate through results with the `offset` parameter. For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250. Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination.
33164
+ * @summary List Workflow Executions
33165
+ * @param {string} id Id of the workflow
33166
+ * @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.
33167
+ * @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.
33168
+ * @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&#x3D;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.
33169
+ * @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: **startTime**: *eq, lt, le, gt, ge* **status**: *eq*
33170
+ * @param {*} [axiosOptions] Override http request option.
33171
+ * @throws {RequiredError}
33172
+ */
33173
+ listWorkflowExecutions: function (id, limit, offset, count, filters, axiosOptions) {
33174
+ return __awaiter(this, void 0, void 0, function () {
33175
+ var localVarAxiosArgs;
33176
+ return __generator(this, function (_a) {
33177
+ switch (_a.label) {
33178
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflowExecutions(id, limit, offset, count, filters, axiosOptions)];
33179
+ case 1:
33180
+ localVarAxiosArgs = _a.sent();
33181
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33182
+ }
33183
+ });
33184
+ });
33185
+ },
33186
+ /**
33187
+ * This lists the workflow actions available to you.
33188
+ * @summary List Workflow Library Actions
33189
+ * @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.
33190
+ * @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.
33191
+ * @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*
33192
+ * @param {*} [axiosOptions] Override http request option.
33193
+ * @throws {RequiredError}
33194
+ */
33195
+ listWorkflowLibraryActions: function (limit, offset, filters, axiosOptions) {
33196
+ return __awaiter(this, void 0, void 0, function () {
33197
+ var localVarAxiosArgs;
33198
+ return __generator(this, function (_a) {
33199
+ switch (_a.label) {
33200
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflowLibraryActions(limit, offset, filters, axiosOptions)];
33201
+ case 1:
33202
+ localVarAxiosArgs = _a.sent();
33203
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33204
+ }
33205
+ });
33206
+ });
33207
+ },
33208
+ /**
33209
+ * This lists the workflow operators available to you
33210
+ * @summary List Workflow Library Operators
33211
+ * @param {*} [axiosOptions] Override http request option.
33212
+ * @throws {RequiredError}
33213
+ */
33214
+ listWorkflowLibraryOperators: function (axiosOptions) {
33215
+ return __awaiter(this, void 0, void 0, function () {
33216
+ var localVarAxiosArgs;
33217
+ return __generator(this, function (_a) {
33218
+ switch (_a.label) {
33219
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflowLibraryOperators(axiosOptions)];
33220
+ case 1:
33221
+ localVarAxiosArgs = _a.sent();
33222
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33223
+ }
33224
+ });
33225
+ });
33226
+ },
33227
+ /**
33228
+ * This lists the workflow triggers available to you
33229
+ * @summary List Workflow Library Triggers
33230
+ * @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.
33231
+ * @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.
33232
+ * @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*
33233
+ * @param {*} [axiosOptions] Override http request option.
33234
+ * @throws {RequiredError}
33235
+ */
33236
+ listWorkflowLibraryTriggers: function (limit, offset, filters, axiosOptions) {
33237
+ return __awaiter(this, void 0, void 0, function () {
33238
+ var localVarAxiosArgs;
33239
+ return __generator(this, function (_a) {
33240
+ switch (_a.label) {
33241
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflowLibraryTriggers(limit, offset, filters, axiosOptions)];
33242
+ case 1:
33243
+ localVarAxiosArgs = _a.sent();
33244
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33245
+ }
33246
+ });
33247
+ });
33248
+ },
33249
+ /**
33250
+ * List all workflows in the tenant.
33251
+ * @summary List Workflows
33252
+ * @param {*} [axiosOptions] Override http request option.
33253
+ * @throws {RequiredError}
33254
+ */
33255
+ listWorkflows: function (axiosOptions) {
33256
+ return __awaiter(this, void 0, void 0, function () {
33257
+ var localVarAxiosArgs;
33258
+ return __generator(this, function (_a) {
33259
+ switch (_a.label) {
33260
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflows(axiosOptions)];
33261
+ case 1:
33262
+ localVarAxiosArgs = _a.sent();
33263
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33264
+ }
33265
+ });
33266
+ });
33267
+ },
33268
+ /**
33269
+ * Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
33270
+ * @summary Patch Workflow
33271
+ * @param {string} id Id of the Workflow
33272
+ * @param {Array<JsonPatchOperation>} jsonPatchOperation
33273
+ * @param {*} [axiosOptions] Override http request option.
33274
+ * @throws {RequiredError}
33275
+ */
33276
+ patchWorkflow: function (id, jsonPatchOperation, axiosOptions) {
33277
+ return __awaiter(this, void 0, void 0, function () {
33278
+ var localVarAxiosArgs;
33279
+ return __generator(this, function (_a) {
33280
+ switch (_a.label) {
33281
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchWorkflow(id, jsonPatchOperation, axiosOptions)];
33282
+ case 1:
33283
+ localVarAxiosArgs = _a.sent();
33284
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33285
+ }
33286
+ });
33287
+ });
33288
+ },
33289
+ /**
33290
+ * Perform a full update of a workflow. The updated workflow object is returned in the response.
33291
+ * @summary Update Workflow
33292
+ * @param {string} id Id of the Workflow
33293
+ * @param {WorkflowBody} workflowBody
33294
+ * @param {*} [axiosOptions] Override http request option.
33295
+ * @throws {RequiredError}
33296
+ */
33297
+ putWorkflow: function (id, workflowBody, axiosOptions) {
33298
+ return __awaiter(this, void 0, void 0, function () {
33299
+ var localVarAxiosArgs;
33300
+ return __generator(this, function (_a) {
33301
+ switch (_a.label) {
33302
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putWorkflow(id, workflowBody, axiosOptions)];
33303
+ case 1:
33304
+ localVarAxiosArgs = _a.sent();
33305
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33306
+ }
33307
+ });
33308
+ });
33309
+ },
33310
+ /**
33311
+ * Validate a workflow with an \"External Trigger\" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow.
33312
+ * @summary Test Workflow via External Trigger
33313
+ * @param {string} id Id of the workflow
33314
+ * @param {TestExternalExecuteWorkflowRequest} [testExternalExecuteWorkflowRequest]
33315
+ * @param {*} [axiosOptions] Override http request option.
33316
+ * @throws {RequiredError}
33317
+ */
33318
+ testExternalExecuteWorkflow: function (id, testExternalExecuteWorkflowRequest, axiosOptions) {
33319
+ return __awaiter(this, void 0, void 0, function () {
33320
+ var localVarAxiosArgs;
33321
+ return __generator(this, function (_a) {
33322
+ switch (_a.label) {
33323
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.testExternalExecuteWorkflow(id, testExternalExecuteWorkflowRequest, axiosOptions)];
33324
+ case 1:
33325
+ localVarAxiosArgs = _a.sent();
33326
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33327
+ }
33328
+ });
33329
+ });
33330
+ },
33331
+ /**
33332
+ * Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/idn/docs/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
33333
+ * @summary Test Workflow By Id
33334
+ * @param {string} id Id of the workflow
33335
+ * @param {TestWorkflowRequest} testWorkflowRequest
33336
+ * @param {*} [axiosOptions] Override http request option.
33337
+ * @throws {RequiredError}
33338
+ */
33339
+ testWorkflow: function (id, testWorkflowRequest, axiosOptions) {
33340
+ return __awaiter(this, void 0, void 0, function () {
33341
+ var localVarAxiosArgs;
33342
+ return __generator(this, function (_a) {
33343
+ switch (_a.label) {
33344
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.testWorkflow(id, testWorkflowRequest, axiosOptions)];
33345
+ case 1:
33346
+ localVarAxiosArgs = _a.sent();
33347
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33348
+ }
33349
+ });
33350
+ });
33351
+ },
33352
+ };
33353
+ };
33354
+ exports.WorkflowsApiFp = WorkflowsApiFp;
33355
+ /**
33356
+ * WorkflowsApi - factory interface
33357
+ * @export
33358
+ */
33359
+ var WorkflowsApiFactory = function (configuration, basePath, axios) {
33360
+ var localVarFp = (0, exports.WorkflowsApiFp)(configuration);
33361
+ return {
33362
+ /**
33363
+ * Use this API to cancel a running workflow execution.
33364
+ * @summary Cancel Workflow Execution by ID
33365
+ * @param {string} id The workflow execution ID
33366
+ * @param {*} [axiosOptions] Override http request option.
33367
+ * @throws {RequiredError}
33368
+ */
33369
+ cancelWorkflowExecution: function (id, axiosOptions) {
33370
+ return localVarFp.cancelWorkflowExecution(id, axiosOptions).then(function (request) { return request(axios, basePath); });
33371
+ },
33372
+ /**
33373
+ * This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the \"External Trigger\" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body.
33374
+ * @summary Execute Workflow via External Trigger
33375
+ * @param {string} id Id of the workflow
33376
+ * @param {CreateExternalExecuteWorkflowRequest} [createExternalExecuteWorkflowRequest]
33377
+ * @param {*} [axiosOptions] Override http request option.
33378
+ * @throws {RequiredError}
33379
+ */
33380
+ createExternalExecuteWorkflow: function (id, createExternalExecuteWorkflowRequest, axiosOptions) {
33381
+ return localVarFp.createExternalExecuteWorkflow(id, createExternalExecuteWorkflowRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
33382
+ },
33383
+ /**
33384
+ * Create a new workflow with the desired trigger and steps specified in the request body.
33385
+ * @summary Create Workflow
33386
+ * @param {CreateWorkflowRequest} createWorkflowRequest
33387
+ * @param {*} [axiosOptions] Override http request option.
33388
+ * @throws {RequiredError}
33389
+ */
33390
+ createWorkflow: function (createWorkflowRequest, axiosOptions) {
33391
+ return localVarFp.createWorkflow(createWorkflowRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
33392
+ },
33393
+ /**
33394
+ * Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow.
33395
+ * @summary Generate External Trigger OAuth Client
33396
+ * @param {string} id Id of the workflow
33397
+ * @param {*} [axiosOptions] Override http request option.
33398
+ * @throws {RequiredError}
33399
+ */
33400
+ createWorkflowExternalTrigger: function (id, axiosOptions) {
33401
+ return localVarFp.createWorkflowExternalTrigger(id, axiosOptions).then(function (request) { return request(axios, basePath); });
33402
+ },
33403
+ /**
33404
+ * Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled.
33405
+ * @summary Delete Workflow By Id
33406
+ * @param {string} id Id of the Workflow
33407
+ * @param {*} [axiosOptions] Override http request option.
33408
+ * @throws {RequiredError}
33409
+ */
33410
+ deleteWorkflow: function (id, axiosOptions) {
33411
+ return localVarFp.deleteWorkflow(id, axiosOptions).then(function (request) { return request(axios, basePath); });
33412
+ },
33413
+ /**
33414
+ * Get a single workflow by id.
33415
+ * @summary Get Workflow By Id
33416
+ * @param {string} id Id of the workflow
33417
+ * @param {*} [axiosOptions] Override http request option.
33418
+ * @throws {RequiredError}
33419
+ */
33420
+ getWorkflow: function (id, axiosOptions) {
33421
+ return localVarFp.getWorkflow(id, axiosOptions).then(function (request) { return request(axios, basePath); });
33422
+ },
33423
+ /**
33424
+ * Get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
33425
+ * @summary Get a Workflow Execution
33426
+ * @param {string} id Id of the workflow execution
33427
+ * @param {*} [axiosOptions] Override http request option.
33428
+ * @throws {RequiredError}
33429
+ */
33430
+ getWorkflowExecution: function (id, axiosOptions) {
33431
+ return localVarFp.getWorkflowExecution(id, axiosOptions).then(function (request) { return request(axios, basePath); });
33432
+ },
33433
+ /**
33434
+ * Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
33435
+ * @summary Get Workflow Execution History
33436
+ * @param {string} id Id of the workflow execution
33437
+ * @param {*} [axiosOptions] Override http request option.
33438
+ * @throws {RequiredError}
33439
+ */
33440
+ getWorkflowExecutionHistory: function (id, axiosOptions) {
33441
+ return localVarFp.getWorkflowExecutionHistory(id, axiosOptions).then(function (request) { return request(axios, basePath); });
33442
+ },
33443
+ /**
33444
+ * This lists all triggers, actions, and operators in the library
33445
+ * @summary List Complete Workflow Library
33446
+ * @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.
33447
+ * @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.
33448
+ * @param {*} [axiosOptions] Override http request option.
33449
+ * @throws {RequiredError}
33450
+ */
33451
+ listCompleteWorkflowLibrary: function (limit, offset, axiosOptions) {
33452
+ return localVarFp.listCompleteWorkflowLibrary(limit, offset, axiosOptions).then(function (request) { return request(axios, basePath); });
33453
+ },
33454
+ /**
33455
+ * This lists the executions for a given workflow. Workflow executions are available for up to 90 days before being archived. By default, you can get a maximum of 250 executions. To get executions past the first 250 records, you can do the following: 1. Use the [Get Workflows](https://developer.sailpoint.com/idn/api/beta/list-workflows) endpoint to get your workflows. 2. Get your workflow ID from the response. 3. You can then do either of the following: - Filter to find relevant workflow executions. For example, you can filter for failed workflow executions: `GET /workflows/:workflowID/executions?filters=status eq \"Failed\"` - You can paginate through results with the `offset` parameter. For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250. Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination.
33456
+ * @summary List Workflow Executions
33457
+ * @param {string} id Id of the workflow
33458
+ * @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.
33459
+ * @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.
33460
+ * @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&#x3D;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.
33461
+ * @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: **startTime**: *eq, lt, le, gt, ge* **status**: *eq*
33462
+ * @param {*} [axiosOptions] Override http request option.
33463
+ * @throws {RequiredError}
33464
+ */
33465
+ listWorkflowExecutions: function (id, limit, offset, count, filters, axiosOptions) {
33466
+ return localVarFp.listWorkflowExecutions(id, limit, offset, count, filters, axiosOptions).then(function (request) { return request(axios, basePath); });
33467
+ },
33468
+ /**
33469
+ * This lists the workflow actions available to you.
33470
+ * @summary List Workflow Library Actions
33471
+ * @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.
33472
+ * @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.
33473
+ * @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*
33474
+ * @param {*} [axiosOptions] Override http request option.
33475
+ * @throws {RequiredError}
33476
+ */
33477
+ listWorkflowLibraryActions: function (limit, offset, filters, axiosOptions) {
33478
+ return localVarFp.listWorkflowLibraryActions(limit, offset, filters, axiosOptions).then(function (request) { return request(axios, basePath); });
33479
+ },
33480
+ /**
33481
+ * This lists the workflow operators available to you
33482
+ * @summary List Workflow Library Operators
33483
+ * @param {*} [axiosOptions] Override http request option.
33484
+ * @throws {RequiredError}
33485
+ */
33486
+ listWorkflowLibraryOperators: function (axiosOptions) {
33487
+ return localVarFp.listWorkflowLibraryOperators(axiosOptions).then(function (request) { return request(axios, basePath); });
33488
+ },
33489
+ /**
33490
+ * This lists the workflow triggers available to you
33491
+ * @summary List Workflow Library Triggers
33492
+ * @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.
33493
+ * @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.
33494
+ * @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*
33495
+ * @param {*} [axiosOptions] Override http request option.
33496
+ * @throws {RequiredError}
33497
+ */
33498
+ listWorkflowLibraryTriggers: function (limit, offset, filters, axiosOptions) {
33499
+ return localVarFp.listWorkflowLibraryTriggers(limit, offset, filters, axiosOptions).then(function (request) { return request(axios, basePath); });
33500
+ },
33501
+ /**
33502
+ * List all workflows in the tenant.
33503
+ * @summary List Workflows
33504
+ * @param {*} [axiosOptions] Override http request option.
33505
+ * @throws {RequiredError}
33506
+ */
33507
+ listWorkflows: function (axiosOptions) {
33508
+ return localVarFp.listWorkflows(axiosOptions).then(function (request) { return request(axios, basePath); });
33509
+ },
33510
+ /**
33511
+ * Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
33512
+ * @summary Patch Workflow
33513
+ * @param {string} id Id of the Workflow
33514
+ * @param {Array<JsonPatchOperation>} jsonPatchOperation
33515
+ * @param {*} [axiosOptions] Override http request option.
33516
+ * @throws {RequiredError}
33517
+ */
33518
+ patchWorkflow: function (id, jsonPatchOperation, axiosOptions) {
33519
+ return localVarFp.patchWorkflow(id, jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
33520
+ },
33521
+ /**
33522
+ * Perform a full update of a workflow. The updated workflow object is returned in the response.
33523
+ * @summary Update Workflow
33524
+ * @param {string} id Id of the Workflow
33525
+ * @param {WorkflowBody} workflowBody
33526
+ * @param {*} [axiosOptions] Override http request option.
33527
+ * @throws {RequiredError}
33528
+ */
33529
+ putWorkflow: function (id, workflowBody, axiosOptions) {
33530
+ return localVarFp.putWorkflow(id, workflowBody, axiosOptions).then(function (request) { return request(axios, basePath); });
33531
+ },
33532
+ /**
33533
+ * Validate a workflow with an \"External Trigger\" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow.
33534
+ * @summary Test Workflow via External Trigger
33535
+ * @param {string} id Id of the workflow
33536
+ * @param {TestExternalExecuteWorkflowRequest} [testExternalExecuteWorkflowRequest]
33537
+ * @param {*} [axiosOptions] Override http request option.
33538
+ * @throws {RequiredError}
33539
+ */
33540
+ testExternalExecuteWorkflow: function (id, testExternalExecuteWorkflowRequest, axiosOptions) {
33541
+ return localVarFp.testExternalExecuteWorkflow(id, testExternalExecuteWorkflowRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
33542
+ },
33543
+ /**
33544
+ * Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/idn/docs/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
33545
+ * @summary Test Workflow By Id
33546
+ * @param {string} id Id of the workflow
33547
+ * @param {TestWorkflowRequest} testWorkflowRequest
33548
+ * @param {*} [axiosOptions] Override http request option.
33549
+ * @throws {RequiredError}
33550
+ */
33551
+ testWorkflow: function (id, testWorkflowRequest, axiosOptions) {
33552
+ return localVarFp.testWorkflow(id, testWorkflowRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
33553
+ },
33554
+ };
33555
+ };
33556
+ exports.WorkflowsApiFactory = WorkflowsApiFactory;
33557
+ /**
33558
+ * WorkflowsApi - object-oriented interface
33559
+ * @export
33560
+ * @class WorkflowsApi
33561
+ * @extends {BaseAPI}
33562
+ */
33563
+ var WorkflowsApi = /** @class */ (function (_super) {
33564
+ __extends(WorkflowsApi, _super);
33565
+ function WorkflowsApi() {
33566
+ return _super !== null && _super.apply(this, arguments) || this;
33567
+ }
33568
+ /**
33569
+ * Use this API to cancel a running workflow execution.
33570
+ * @summary Cancel Workflow Execution by ID
33571
+ * @param {WorkflowsApiCancelWorkflowExecutionRequest} requestParameters Request parameters.
33572
+ * @param {*} [axiosOptions] Override http request option.
33573
+ * @throws {RequiredError}
33574
+ * @memberof WorkflowsApi
33575
+ */
33576
+ WorkflowsApi.prototype.cancelWorkflowExecution = function (requestParameters, axiosOptions) {
33577
+ var _this = this;
33578
+ return (0, exports.WorkflowsApiFp)(this.configuration).cancelWorkflowExecution(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33579
+ };
33580
+ /**
33581
+ * This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the \"External Trigger\" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body.
33582
+ * @summary Execute Workflow via External Trigger
33583
+ * @param {WorkflowsApiCreateExternalExecuteWorkflowRequest} requestParameters Request parameters.
33584
+ * @param {*} [axiosOptions] Override http request option.
33585
+ * @throws {RequiredError}
33586
+ * @memberof WorkflowsApi
33587
+ */
33588
+ WorkflowsApi.prototype.createExternalExecuteWorkflow = function (requestParameters, axiosOptions) {
33589
+ var _this = this;
33590
+ return (0, exports.WorkflowsApiFp)(this.configuration).createExternalExecuteWorkflow(requestParameters.id, requestParameters.createExternalExecuteWorkflowRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33591
+ };
33592
+ /**
33593
+ * Create a new workflow with the desired trigger and steps specified in the request body.
33594
+ * @summary Create Workflow
33595
+ * @param {WorkflowsApiCreateWorkflowRequest} requestParameters Request parameters.
33596
+ * @param {*} [axiosOptions] Override http request option.
33597
+ * @throws {RequiredError}
33598
+ * @memberof WorkflowsApi
33599
+ */
33600
+ WorkflowsApi.prototype.createWorkflow = function (requestParameters, axiosOptions) {
33601
+ var _this = this;
33602
+ return (0, exports.WorkflowsApiFp)(this.configuration).createWorkflow(requestParameters.createWorkflowRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33603
+ };
33604
+ /**
33605
+ * Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow.
33606
+ * @summary Generate External Trigger OAuth Client
33607
+ * @param {WorkflowsApiCreateWorkflowExternalTriggerRequest} requestParameters Request parameters.
33608
+ * @param {*} [axiosOptions] Override http request option.
33609
+ * @throws {RequiredError}
33610
+ * @memberof WorkflowsApi
33611
+ */
33612
+ WorkflowsApi.prototype.createWorkflowExternalTrigger = function (requestParameters, axiosOptions) {
33613
+ var _this = this;
33614
+ return (0, exports.WorkflowsApiFp)(this.configuration).createWorkflowExternalTrigger(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33615
+ };
33616
+ /**
33617
+ * Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled.
33618
+ * @summary Delete Workflow By Id
33619
+ * @param {WorkflowsApiDeleteWorkflowRequest} requestParameters Request parameters.
33620
+ * @param {*} [axiosOptions] Override http request option.
33621
+ * @throws {RequiredError}
33622
+ * @memberof WorkflowsApi
33623
+ */
33624
+ WorkflowsApi.prototype.deleteWorkflow = function (requestParameters, axiosOptions) {
33625
+ var _this = this;
33626
+ return (0, exports.WorkflowsApiFp)(this.configuration).deleteWorkflow(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33627
+ };
33628
+ /**
33629
+ * Get a single workflow by id.
33630
+ * @summary Get Workflow By Id
33631
+ * @param {WorkflowsApiGetWorkflowRequest} requestParameters Request parameters.
33632
+ * @param {*} [axiosOptions] Override http request option.
33633
+ * @throws {RequiredError}
33634
+ * @memberof WorkflowsApi
33635
+ */
33636
+ WorkflowsApi.prototype.getWorkflow = function (requestParameters, axiosOptions) {
33637
+ var _this = this;
33638
+ return (0, exports.WorkflowsApiFp)(this.configuration).getWorkflow(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33639
+ };
33640
+ /**
33641
+ * Get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
33642
+ * @summary Get a Workflow Execution
33643
+ * @param {WorkflowsApiGetWorkflowExecutionRequest} requestParameters Request parameters.
33644
+ * @param {*} [axiosOptions] Override http request option.
33645
+ * @throws {RequiredError}
33646
+ * @memberof WorkflowsApi
33647
+ */
33648
+ WorkflowsApi.prototype.getWorkflowExecution = function (requestParameters, axiosOptions) {
33649
+ var _this = this;
33650
+ return (0, exports.WorkflowsApiFp)(this.configuration).getWorkflowExecution(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33651
+ };
33652
+ /**
33653
+ * Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
33654
+ * @summary Get Workflow Execution History
33655
+ * @param {WorkflowsApiGetWorkflowExecutionHistoryRequest} requestParameters Request parameters.
33656
+ * @param {*} [axiosOptions] Override http request option.
33657
+ * @throws {RequiredError}
33658
+ * @memberof WorkflowsApi
33659
+ */
33660
+ WorkflowsApi.prototype.getWorkflowExecutionHistory = function (requestParameters, axiosOptions) {
33661
+ var _this = this;
33662
+ return (0, exports.WorkflowsApiFp)(this.configuration).getWorkflowExecutionHistory(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33663
+ };
33664
+ /**
33665
+ * This lists all triggers, actions, and operators in the library
33666
+ * @summary List Complete Workflow Library
33667
+ * @param {WorkflowsApiListCompleteWorkflowLibraryRequest} requestParameters Request parameters.
33668
+ * @param {*} [axiosOptions] Override http request option.
33669
+ * @throws {RequiredError}
33670
+ * @memberof WorkflowsApi
33671
+ */
33672
+ WorkflowsApi.prototype.listCompleteWorkflowLibrary = function (requestParameters, axiosOptions) {
33673
+ var _this = this;
33674
+ if (requestParameters === void 0) { requestParameters = {}; }
33675
+ return (0, exports.WorkflowsApiFp)(this.configuration).listCompleteWorkflowLibrary(requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33676
+ };
33677
+ /**
33678
+ * This lists the executions for a given workflow. Workflow executions are available for up to 90 days before being archived. By default, you can get a maximum of 250 executions. To get executions past the first 250 records, you can do the following: 1. Use the [Get Workflows](https://developer.sailpoint.com/idn/api/beta/list-workflows) endpoint to get your workflows. 2. Get your workflow ID from the response. 3. You can then do either of the following: - Filter to find relevant workflow executions. For example, you can filter for failed workflow executions: `GET /workflows/:workflowID/executions?filters=status eq \"Failed\"` - You can paginate through results with the `offset` parameter. For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250. Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination.
33679
+ * @summary List Workflow Executions
33680
+ * @param {WorkflowsApiListWorkflowExecutionsRequest} requestParameters Request parameters.
33681
+ * @param {*} [axiosOptions] Override http request option.
33682
+ * @throws {RequiredError}
33683
+ * @memberof WorkflowsApi
33684
+ */
33685
+ WorkflowsApi.prototype.listWorkflowExecutions = function (requestParameters, axiosOptions) {
33686
+ var _this = this;
33687
+ return (0, exports.WorkflowsApiFp)(this.configuration).listWorkflowExecutions(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33688
+ };
33689
+ /**
33690
+ * This lists the workflow actions available to you.
33691
+ * @summary List Workflow Library Actions
33692
+ * @param {WorkflowsApiListWorkflowLibraryActionsRequest} requestParameters Request parameters.
33693
+ * @param {*} [axiosOptions] Override http request option.
33694
+ * @throws {RequiredError}
33695
+ * @memberof WorkflowsApi
33696
+ */
33697
+ WorkflowsApi.prototype.listWorkflowLibraryActions = function (requestParameters, axiosOptions) {
33698
+ var _this = this;
33699
+ if (requestParameters === void 0) { requestParameters = {}; }
33700
+ return (0, exports.WorkflowsApiFp)(this.configuration).listWorkflowLibraryActions(requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33701
+ };
33702
+ /**
33703
+ * This lists the workflow operators available to you
33704
+ * @summary List Workflow Library Operators
33705
+ * @param {*} [axiosOptions] Override http request option.
33706
+ * @throws {RequiredError}
33707
+ * @memberof WorkflowsApi
33708
+ */
33709
+ WorkflowsApi.prototype.listWorkflowLibraryOperators = function (axiosOptions) {
33710
+ var _this = this;
33711
+ return (0, exports.WorkflowsApiFp)(this.configuration).listWorkflowLibraryOperators(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33712
+ };
33713
+ /**
33714
+ * This lists the workflow triggers available to you
33715
+ * @summary List Workflow Library Triggers
33716
+ * @param {WorkflowsApiListWorkflowLibraryTriggersRequest} requestParameters Request parameters.
33717
+ * @param {*} [axiosOptions] Override http request option.
33718
+ * @throws {RequiredError}
33719
+ * @memberof WorkflowsApi
33720
+ */
33721
+ WorkflowsApi.prototype.listWorkflowLibraryTriggers = function (requestParameters, axiosOptions) {
33722
+ var _this = this;
33723
+ if (requestParameters === void 0) { requestParameters = {}; }
33724
+ return (0, exports.WorkflowsApiFp)(this.configuration).listWorkflowLibraryTriggers(requestParameters.limit, requestParameters.offset, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33725
+ };
33726
+ /**
33727
+ * List all workflows in the tenant.
33728
+ * @summary List Workflows
33729
+ * @param {*} [axiosOptions] Override http request option.
33730
+ * @throws {RequiredError}
33731
+ * @memberof WorkflowsApi
33732
+ */
33733
+ WorkflowsApi.prototype.listWorkflows = function (axiosOptions) {
33734
+ var _this = this;
33735
+ return (0, exports.WorkflowsApiFp)(this.configuration).listWorkflows(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33736
+ };
33737
+ /**
33738
+ * Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
33739
+ * @summary Patch Workflow
33740
+ * @param {WorkflowsApiPatchWorkflowRequest} requestParameters Request parameters.
33741
+ * @param {*} [axiosOptions] Override http request option.
33742
+ * @throws {RequiredError}
33743
+ * @memberof WorkflowsApi
33744
+ */
33745
+ WorkflowsApi.prototype.patchWorkflow = function (requestParameters, axiosOptions) {
33746
+ var _this = this;
33747
+ return (0, exports.WorkflowsApiFp)(this.configuration).patchWorkflow(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33748
+ };
33749
+ /**
33750
+ * Perform a full update of a workflow. The updated workflow object is returned in the response.
33751
+ * @summary Update Workflow
33752
+ * @param {WorkflowsApiPutWorkflowRequest} requestParameters Request parameters.
33753
+ * @param {*} [axiosOptions] Override http request option.
33754
+ * @throws {RequiredError}
33755
+ * @memberof WorkflowsApi
33756
+ */
33757
+ WorkflowsApi.prototype.putWorkflow = function (requestParameters, axiosOptions) {
33758
+ var _this = this;
33759
+ return (0, exports.WorkflowsApiFp)(this.configuration).putWorkflow(requestParameters.id, requestParameters.workflowBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33760
+ };
33761
+ /**
33762
+ * Validate a workflow with an \"External Trigger\" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow.
33763
+ * @summary Test Workflow via External Trigger
33764
+ * @param {WorkflowsApiTestExternalExecuteWorkflowRequest} requestParameters Request parameters.
33765
+ * @param {*} [axiosOptions] Override http request option.
33766
+ * @throws {RequiredError}
33767
+ * @memberof WorkflowsApi
33768
+ */
33769
+ WorkflowsApi.prototype.testExternalExecuteWorkflow = function (requestParameters, axiosOptions) {
33770
+ var _this = this;
33771
+ return (0, exports.WorkflowsApiFp)(this.configuration).testExternalExecuteWorkflow(requestParameters.id, requestParameters.testExternalExecuteWorkflowRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33772
+ };
33773
+ /**
33774
+ * Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/idn/docs/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
33775
+ * @summary Test Workflow By Id
33776
+ * @param {WorkflowsApiTestWorkflowRequest} requestParameters Request parameters.
33777
+ * @param {*} [axiosOptions] Override http request option.
33778
+ * @throws {RequiredError}
33779
+ * @memberof WorkflowsApi
33780
+ */
33781
+ WorkflowsApi.prototype.testWorkflow = function (requestParameters, axiosOptions) {
33782
+ var _this = this;
33783
+ return (0, exports.WorkflowsApiFp)(this.configuration).testWorkflow(requestParameters.id, requestParameters.testWorkflowRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
33784
+ };
33785
+ return WorkflowsApi;
33786
+ }(base_1.BaseAPI));
33787
+ exports.WorkflowsApi = WorkflowsApi;
31898
33788
  //# sourceMappingURL=api.js.map