@aristid/leav-types 1.12.0-e51612da → 1.12.0-f8d42691
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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type ISystemTranslation } from './systemTranslation';
|
|
2
1
|
import { type EventAction, type IDbPayload } from '@leav/utils';
|
|
3
2
|
export type IAutomationRule = ICoreEntity & {
|
|
4
3
|
createdAt: number;
|
|
@@ -6,20 +5,20 @@ export type IAutomationRule = ICoreEntity & {
|
|
|
6
5
|
modifiedAt: number;
|
|
7
6
|
modifiedBy: string;
|
|
8
7
|
id: string;
|
|
9
|
-
label:
|
|
10
|
-
description?:
|
|
8
|
+
label: string;
|
|
9
|
+
description?: string;
|
|
11
10
|
active: boolean;
|
|
12
11
|
trigger: AutomationRuleTrigger;
|
|
13
12
|
};
|
|
14
13
|
export type ICreateAutomationRule = {
|
|
15
|
-
label:
|
|
16
|
-
description?:
|
|
14
|
+
label: string;
|
|
15
|
+
description?: string;
|
|
17
16
|
trigger: AutomationRuleTrigger;
|
|
18
17
|
};
|
|
19
18
|
export type IUpdateAutomationRule = {
|
|
20
19
|
id: string;
|
|
21
|
-
label?:
|
|
22
|
-
description?:
|
|
20
|
+
label?: string;
|
|
21
|
+
description?: string;
|
|
23
22
|
active?: boolean;
|
|
24
23
|
trigger?: Partial<AutomationRuleTrigger>;
|
|
25
24
|
};
|