Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum

This commit is contained in:
faris Aljohari
2024-12-02 05:25:11 -06:00
parent 7dca9ea5ff
commit b507bcbdf1
5 changed files with 45 additions and 12 deletions

View File

@ -1,3 +1,4 @@
import { ActionTypeEnum } from '@app/common/constants/automation.enum';
import { EffectiveTime } from '../dtos';
export interface AddAutomationInterface {
@ -26,6 +27,7 @@ export interface DeleteAutomationInterface {
export interface Action {
actionExecutor: string;
entityId: string;
actionType?: ActionTypeEnum;
[key: string]: any; // Allow additional properties
}