import { DataSource, Repository } from 'typeorm'; import { WorkflowAutomation } from '../entity/workflow-automation.entity'; import { WorkflowAutomationActionEntity } from '../entity/workflow-automation-action.entity'; import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service'; import { UserData } from 'src/module/user/entity/user.entity'; import { SavedFilterService } from 'src/module/filter/service/saved-filter.service'; import { ScheduledWorkflow } from 'src/module/workflow-schedule/entities/scheduled-workflow.entity'; import { WorkflowScheduleService } from 'src/module/workflow-schedule/service/workflow-schedule.service'; export declare class WorkflowAutomationService extends EntityServiceImpl { private readonly wfRepo; private readonly actionRepo; private readonly savedFilterService; private readonly dataSource; private readonly scheduledWorkflowRepository; private readonly workflowScheduleService; private readonly logger; constructor(wfRepo: Repository, actionRepo: Repository, savedFilterService: SavedFilterService, dataSource: DataSource, scheduledWorkflowRepository: Repository, workflowScheduleService: WorkflowScheduleService); createRule(data: Partial): Promise; updateRule(id: number, data: Partial): Promise; deleteRule(id: number): Promise; getRule(id: number): Promise; getActiveRules(entityType: string, event: string, loggedInUser: UserData): Promise; getActionsForRule(workflow_automation_id: number): Promise; updateEntity(entityData: any, loggedInUser: UserData): Promise; getEntityData(entity_type: string, id: number, loggedInUser: UserData): Promise<{ event: any; filter: any; action: { actionCategory: number; actionCategoryName: string; actionPayload: string; name: string; status: string; }[]; description: string; mapped_entity_type: string; trigger_event: string; condition_filter_code: string; criteria_filter_code: string; trigger_type: string; applicable_entity_type: string; schedule: string; cron_type: string; sequence: number; id: number; entity_type: string; name: string; status: string; parent_type: string; parent_id: number; code: string; created_by: number; created_date: Date; modified_by: number; modified_date: Date; enterprise_id: number; organization_id: number; appcode: string; level_id: string; level_type: string; }>; registerScheduleAutomation(workflow: any, loggedInUser: UserData): Promise; generateDailyCron(executionTime: string): Promise; updateSequence(body: any[], loggedInUser: any): Promise<{ updated: number; results: any[]; }>; }