app-v3-scripts-editor 1.38.7 → 1.38.8
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/app-v3-scripts-editor.css +1 -1
- package/dist/app-v3-scripts-editor.es.js +45992 -42469
- package/dist/app-v3-scripts-editor.umd.js +220 -220
- package/dist/src/lib/components/Blocks/Deal/action/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Deal/action/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/{Task → Deal/action}/index.settings.d.ts +1 -1
- package/dist/src/lib/components/Blocks/Deal/action/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Deal/action/setting/Action.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/action/setting/CreateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/action/setting/GetDataAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/action/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Deal/action/setting/UpdateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/action/types.d.ts +44 -0
- package/dist/src/lib/components/Blocks/Deal/index.css.d.ts +18 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/setting/Setting.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/setting/Trigger.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/setting/UpdatedByCondition.d.ts +2 -0
- package/dist/src/lib/components/Blocks/Deal/trigger/types.d.ts +66 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/setting/Action.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/setting/CreateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/setting/GetDataAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/setting/UpdateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/action/types.d.ts +44 -0
- package/dist/src/lib/components/Blocks/Enterprise/index.css.d.ts +18 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/setting/Setting.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/setting/Trigger.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/setting/UpdatedByCondition.d.ts +2 -0
- package/dist/src/lib/components/Blocks/Enterprise/trigger/types.d.ts +66 -0
- package/dist/src/lib/components/Blocks/Meeting/action/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Meeting/action/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/action/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Meeting/action/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Meeting/action/setting/Action.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/action/setting/CreateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/action/setting/GetDataAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/action/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Meeting/action/setting/UpdateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/action/types.d.ts +44 -0
- package/dist/src/lib/components/Blocks/Meeting/index.css.d.ts +18 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/setting/Setting.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/setting/Trigger.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/setting/UpdatedByCondition.d.ts +2 -0
- package/dist/src/lib/components/Blocks/Meeting/trigger/types.d.ts +66 -0
- package/dist/src/lib/components/Blocks/Task/action/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Task/action/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/action/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Task/action/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Task/action/setting/Action.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/action/setting/CreateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/action/setting/GetDataAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/action/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Task/action/setting/UpdateAction.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/{types.d.ts → action/types.d.ts} +13 -13
- package/dist/src/lib/components/Blocks/Task/index.css.d.ts +18 -1
- package/dist/src/lib/components/Blocks/Task/trigger/block.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Task/trigger/index.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/trigger/index.settings.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Task/trigger/node.d.ts +3 -0
- package/dist/src/lib/components/Blocks/Task/trigger/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Task/trigger/setting/Setting.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/trigger/setting/Trigger.d.ts +4 -0
- package/dist/src/lib/components/Blocks/Task/trigger/setting/UpdatedByCondition.d.ts +2 -0
- package/dist/src/lib/components/Blocks/Task/trigger/types.d.ts +66 -0
- package/dist/src/lib/components/Blocks/Ticket/action/block.d.ts +3 -3
- package/dist/src/lib/components/Blocks/Ticket/action/index.d.ts +4 -4
- package/dist/src/lib/components/Blocks/Ticket/action/index.settings.d.ts +1 -1
- package/dist/src/lib/components/Blocks/Ticket/action/node.d.ts +3 -3
- package/dist/src/lib/components/Blocks/Ticket/action/setting/Action.d.ts +4 -2
- package/dist/src/lib/components/Blocks/Ticket/action/setting/CreateAction.d.ts +4 -2
- package/dist/src/lib/components/Blocks/Ticket/action/setting/GetDataAction.d.ts +4 -2
- package/dist/src/lib/components/Blocks/Ticket/action/setting/Output.d.ts +3 -3
- package/dist/src/lib/components/Blocks/Ticket/action/setting/UpdateAction.d.ts +4 -2
- package/dist/src/lib/components/Blocks/Ticket/action/types.d.ts +7 -7
- package/dist/src/lib/components/Blocks/Ticket/trigger/setting/UpdatedByCondition.d.ts +2 -0
- package/dist/src/lib/components/Blocks/Ticket/trigger/types.d.ts +4 -1
- package/dist/src/lib/components/Selector/Property/index.d.ts +1 -1
- package/dist/src/lib/constants/block-types.d.ts +8 -1
- package/dist/src/lib/constants/initial-script.d.ts +34 -12
- package/dist/src/lib/constants/node-types.d.ts +9 -2
- package/dist/src/lib/utils/common.d.ts +65 -2
- package/package.json +1 -1
- package/dist/src/lib/components/Blocks/Contact/trigger/utils.d.ts +0 -72
- package/dist/src/lib/components/Blocks/Task/block.d.ts +0 -3
- package/dist/src/lib/components/Blocks/Task/index.d.ts +0 -4
- package/dist/src/lib/components/Blocks/Task/node.d.ts +0 -3
- package/dist/src/lib/components/Blocks/Task/setting/Action.d.ts +0 -2
- package/dist/src/lib/components/Blocks/Task/setting/CreateAction.d.ts +0 -2
- package/dist/src/lib/components/Blocks/Task/setting/GetDataAction.d.ts +0 -2
- package/dist/src/lib/components/Blocks/Task/setting/Output.d.ts +0 -7
- package/dist/src/lib/components/Blocks/Task/setting/UpdateAction.d.ts +0 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOutput } from '../../../../../../services';
|
|
2
|
+
type DealActionOutputContainerProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
outputs: IOutput["outputs"];
|
|
5
|
+
};
|
|
6
|
+
declare const DealActionOutputContainer: React.FC<DealActionOutputContainerProps>;
|
|
7
|
+
export default DealActionOutputContainer;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Node, NodeProps } from '@xyflow/react';
|
|
2
|
+
import { IFilter, INodeBaseType } from '../../../../../services';
|
|
3
|
+
import { BlockTypeProps } from '../../../../constants';
|
|
4
|
+
import { DATA_TYPE_PROPERTY_V2 } from '../../../../constants/common';
|
|
5
|
+
export declare enum ACTION_DEAL_TYPE {
|
|
6
|
+
CREATE = "CREATE",
|
|
7
|
+
GET = "GET",
|
|
8
|
+
UPDATE = "UPDATE"
|
|
9
|
+
}
|
|
10
|
+
export declare const DealActionTypeLabel: {
|
|
11
|
+
CREATE: string;
|
|
12
|
+
UPDATE: string;
|
|
13
|
+
GET: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const DealActionTypeDescription: {
|
|
16
|
+
CREATE: string;
|
|
17
|
+
UPDATE: string;
|
|
18
|
+
GET: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const DealActionTypeList: ACTION_DEAL_TYPE[];
|
|
21
|
+
interface DealActionGroup {
|
|
22
|
+
object?: string;
|
|
23
|
+
filter_type?: "AND" | "OR";
|
|
24
|
+
conditions: IFilter[];
|
|
25
|
+
}
|
|
26
|
+
export interface DealActionNodeData extends INodeBaseType, Record<string, unknown> {
|
|
27
|
+
title: string;
|
|
28
|
+
type: ACTION_DEAL_TYPE;
|
|
29
|
+
filter_type?: "AND" | "OR";
|
|
30
|
+
groups?: DealActionGroup[];
|
|
31
|
+
object?: string;
|
|
32
|
+
crmdeal?: string[];
|
|
33
|
+
update_fields?: {
|
|
34
|
+
id?: string;
|
|
35
|
+
slug?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
value?: any;
|
|
38
|
+
type?: DATA_TYPE_PROPERTY_V2;
|
|
39
|
+
reference_type?: boolean;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
42
|
+
export type BlockDealActionProps = BlockTypeProps<DealActionNodeData>;
|
|
43
|
+
export type DealActionNodeProps = NodeProps<Node<DealActionNodeData>>;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const container: string;
|
|
3
|
+
export declare const iconWrapper: string;
|
|
4
|
+
export declare const iconPrimaryStyle: string;
|
|
5
|
+
export declare const iconAbsoluteStyle: string;
|
|
6
|
+
export declare const settingsContainer: string;
|
|
7
|
+
export declare const alertGroup: string;
|
|
8
|
+
export declare const radioGroup: string;
|
|
9
|
+
export declare const radioSpace: string;
|
|
10
|
+
export declare const radioItem: string;
|
|
11
|
+
export declare const radioContent: string;
|
|
12
|
+
export declare const checkIconWrapper: string;
|
|
13
|
+
export declare const triangle: string;
|
|
14
|
+
export declare const checkIcon: string;
|
|
15
|
+
export declare const UserWrapper: string;
|
|
16
|
+
export declare const outputAssignHandleList: string;
|
|
17
|
+
export declare const outputAssignHandleItem: string;
|
|
18
|
+
export declare const ToggleWrapperFilterGroup: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOutput } from '../../../../../../services';
|
|
2
|
+
type DealTriggerOutputContainerProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
outputs: IOutput["outputs"];
|
|
5
|
+
};
|
|
6
|
+
declare const DealTriggerOutputContainer: React.FC<DealTriggerOutputContainerProps>;
|
|
7
|
+
export default DealTriggerOutputContainer;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Node, NodeProps } from '@xyflow/react';
|
|
2
|
+
import { IFilterGroup, INodeBaseType, IPropertyV2 } from '../../../../../services';
|
|
3
|
+
import { BlockTypeProps } from '../../../../constants';
|
|
4
|
+
export declare enum DEAL_TRIGGER_TYPE {
|
|
5
|
+
CREATED = "created",
|
|
6
|
+
UPDATED = "updated",
|
|
7
|
+
UPDATED_BY_CONDITION = "updated_by_condition",
|
|
8
|
+
DELETED = "deleted",
|
|
9
|
+
TIME = "TIME"
|
|
10
|
+
}
|
|
11
|
+
export declare enum TRIGGER_DATE_OPTION {
|
|
12
|
+
SAME_DAY = "SAME_DAY",
|
|
13
|
+
BEFORE = "BEFORE",
|
|
14
|
+
AFTER = "AFTER"
|
|
15
|
+
}
|
|
16
|
+
export declare enum TRIGGER_TIME_OPTION {
|
|
17
|
+
AT_EVENT = "AT_EVENT",
|
|
18
|
+
BEFORE_EVENT = "BEFORE_EVENT",
|
|
19
|
+
AFTER_EVENT = "AFTER_EVENT",
|
|
20
|
+
FIXED_TIME = "FIXED_TIME"
|
|
21
|
+
}
|
|
22
|
+
export declare const DealTriggerTypeLabel: {
|
|
23
|
+
created: string;
|
|
24
|
+
updated: string;
|
|
25
|
+
updated_by_condition: string;
|
|
26
|
+
deleted: string;
|
|
27
|
+
TIME: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const DealTriggerTypeDescription: {
|
|
30
|
+
created: string;
|
|
31
|
+
updated_by_condition: string;
|
|
32
|
+
updated: string;
|
|
33
|
+
deleted: string;
|
|
34
|
+
TIME: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const DealTriggerTypeList: DEAL_TRIGGER_TYPE[];
|
|
37
|
+
export declare const DealTriggerDateOptionLabel: {
|
|
38
|
+
SAME_DAY: string;
|
|
39
|
+
BEFORE: string;
|
|
40
|
+
AFTER: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const DealTriggerDateOptionList: TRIGGER_DATE_OPTION[];
|
|
43
|
+
export declare const DealTriggerTimeOptionLabel: {
|
|
44
|
+
AT_EVENT: string;
|
|
45
|
+
BEFORE_EVENT: string;
|
|
46
|
+
AFTER_EVENT: string;
|
|
47
|
+
FIXED_TIME: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const DealTriggerTimeOptionList: TRIGGER_TIME_OPTION[];
|
|
50
|
+
export interface DealTriggerNodeData extends INodeBaseType, Record<string, unknown> {
|
|
51
|
+
title: string;
|
|
52
|
+
type: DEAL_TRIGGER_TYPE;
|
|
53
|
+
object: string;
|
|
54
|
+
filter_type: "AND" | "OR";
|
|
55
|
+
groups: IFilterGroup[];
|
|
56
|
+
time_field?: IPropertyV2;
|
|
57
|
+
date_config_value?: TRIGGER_DATE_OPTION;
|
|
58
|
+
date_config_offset?: number;
|
|
59
|
+
time_config_value?: TRIGGER_TIME_OPTION;
|
|
60
|
+
time_config_fixed_time?: string;
|
|
61
|
+
time_config_offset?: number;
|
|
62
|
+
time_config_offset_unit?: "MINUTES" | "HOURS";
|
|
63
|
+
change_field_ids?: string[];
|
|
64
|
+
}
|
|
65
|
+
export type BlockTriggerDealProps = BlockTypeProps<DealTriggerNodeData>;
|
|
66
|
+
export type TriggerDealNodeProps = NodeProps<Node<DealTriggerNodeData>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOutput } from '../../../../../../services';
|
|
2
|
+
type EnterpriseActionOutputContainerProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
outputs: IOutput["outputs"];
|
|
5
|
+
};
|
|
6
|
+
declare const EnterpriseActionOutputContainer: React.FC<EnterpriseActionOutputContainerProps>;
|
|
7
|
+
export default EnterpriseActionOutputContainer;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Node, NodeProps } from '@xyflow/react';
|
|
2
|
+
import { IFilter, INodeBaseType } from '../../../../../services';
|
|
3
|
+
import { BlockTypeProps } from '../../../../constants';
|
|
4
|
+
import { DATA_TYPE_PROPERTY_V2 } from '../../../../constants/common';
|
|
5
|
+
export declare enum ACTION_ENTERPRISE_TYPE {
|
|
6
|
+
CREATE = "CREATE",
|
|
7
|
+
GET = "GET",
|
|
8
|
+
UPDATE = "UPDATE"
|
|
9
|
+
}
|
|
10
|
+
export declare const EnterpriseActionTypeLabel: {
|
|
11
|
+
CREATE: string;
|
|
12
|
+
UPDATE: string;
|
|
13
|
+
GET: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const EnterpriseActionTypeDescription: {
|
|
16
|
+
CREATE: string;
|
|
17
|
+
UPDATE: string;
|
|
18
|
+
GET: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const EnterpriseActionTypeList: ACTION_ENTERPRISE_TYPE[];
|
|
21
|
+
interface EnterpriseActionGroup {
|
|
22
|
+
object?: string;
|
|
23
|
+
filter_type?: "AND" | "OR";
|
|
24
|
+
conditions: IFilter[];
|
|
25
|
+
}
|
|
26
|
+
export interface EnterpriseActionNodeData extends INodeBaseType, Record<string, unknown> {
|
|
27
|
+
title: string;
|
|
28
|
+
type: ACTION_ENTERPRISE_TYPE;
|
|
29
|
+
filter_type?: "AND" | "OR";
|
|
30
|
+
groups?: EnterpriseActionGroup[];
|
|
31
|
+
object?: string;
|
|
32
|
+
enterprise?: string[];
|
|
33
|
+
update_fields?: {
|
|
34
|
+
id?: string;
|
|
35
|
+
slug?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
value?: any;
|
|
38
|
+
type?: DATA_TYPE_PROPERTY_V2;
|
|
39
|
+
reference_type?: boolean;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
42
|
+
export type BlockEnterpriseActionProps = BlockTypeProps<EnterpriseActionNodeData>;
|
|
43
|
+
export type EnterpriseActionNodeProps = NodeProps<Node<EnterpriseActionNodeData>>;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const container: string;
|
|
3
|
+
export declare const iconWrapper: string;
|
|
4
|
+
export declare const iconPrimaryStyle: string;
|
|
5
|
+
export declare const iconAbsoluteStyle: string;
|
|
6
|
+
export declare const settingsContainer: string;
|
|
7
|
+
export declare const alertGroup: string;
|
|
8
|
+
export declare const radioGroup: string;
|
|
9
|
+
export declare const radioSpace: string;
|
|
10
|
+
export declare const radioItem: string;
|
|
11
|
+
export declare const radioContent: string;
|
|
12
|
+
export declare const checkIconWrapper: string;
|
|
13
|
+
export declare const triangle: string;
|
|
14
|
+
export declare const checkIcon: string;
|
|
15
|
+
export declare const UserWrapper: string;
|
|
16
|
+
export declare const outputAssignHandleList: string;
|
|
17
|
+
export declare const outputAssignHandleItem: string;
|
|
18
|
+
export declare const ToggleWrapperFilterGroup: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOutput } from '../../../../../../services';
|
|
2
|
+
type EnterpriseTriggerOutputContainerProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
outputs: IOutput["outputs"];
|
|
5
|
+
};
|
|
6
|
+
declare const EnterpriseTriggerOutputContainer: React.FC<EnterpriseTriggerOutputContainerProps>;
|
|
7
|
+
export default EnterpriseTriggerOutputContainer;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Node, NodeProps } from '@xyflow/react';
|
|
2
|
+
import { IFilterGroup, INodeBaseType, IPropertyV2 } from '../../../../../services';
|
|
3
|
+
import { BlockTypeProps } from '../../../../constants';
|
|
4
|
+
export declare enum ENTERPRISE_TRIGGER_TYPE {
|
|
5
|
+
CREATED = "created",
|
|
6
|
+
UPDATED = "updated",
|
|
7
|
+
UPDATED_BY_CONDITION = "updated_by_condition",
|
|
8
|
+
DELETED = "deleted",
|
|
9
|
+
TIME = "TIME"
|
|
10
|
+
}
|
|
11
|
+
export declare enum TRIGGER_DATE_OPTION {
|
|
12
|
+
SAME_DAY = "SAME_DAY",
|
|
13
|
+
BEFORE = "BEFORE",
|
|
14
|
+
AFTER = "AFTER"
|
|
15
|
+
}
|
|
16
|
+
export declare enum TRIGGER_TIME_OPTION {
|
|
17
|
+
AT_EVENT = "AT_EVENT",
|
|
18
|
+
BEFORE_EVENT = "BEFORE_EVENT",
|
|
19
|
+
AFTER_EVENT = "AFTER_EVENT",
|
|
20
|
+
FIXED_TIME = "FIXED_TIME"
|
|
21
|
+
}
|
|
22
|
+
export declare const EnterpriseTriggerTypeLabel: {
|
|
23
|
+
created: string;
|
|
24
|
+
updated: string;
|
|
25
|
+
updated_by_condition: string;
|
|
26
|
+
deleted: string;
|
|
27
|
+
TIME: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const EnterpriseTriggerTypeDescription: {
|
|
30
|
+
created: string;
|
|
31
|
+
updated_by_condition: string;
|
|
32
|
+
updated: string;
|
|
33
|
+
deleted: string;
|
|
34
|
+
TIME: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const EnterpriseTriggerTypeList: ENTERPRISE_TRIGGER_TYPE[];
|
|
37
|
+
export declare const EnterpriseTriggerDateOptionLabel: {
|
|
38
|
+
SAME_DAY: string;
|
|
39
|
+
BEFORE: string;
|
|
40
|
+
AFTER: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const EnterpriseTriggerDateOptionList: TRIGGER_DATE_OPTION[];
|
|
43
|
+
export declare const EnterpriseTriggerTimeOptionLabel: {
|
|
44
|
+
AT_EVENT: string;
|
|
45
|
+
BEFORE_EVENT: string;
|
|
46
|
+
AFTER_EVENT: string;
|
|
47
|
+
FIXED_TIME: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const EnterpriseTriggerTimeOptionList: TRIGGER_TIME_OPTION[];
|
|
50
|
+
export interface EnterpriseTriggerNodeData extends INodeBaseType, Record<string, unknown> {
|
|
51
|
+
title: string;
|
|
52
|
+
type: ENTERPRISE_TRIGGER_TYPE;
|
|
53
|
+
object: string;
|
|
54
|
+
filter_type: "AND" | "OR";
|
|
55
|
+
groups: IFilterGroup[];
|
|
56
|
+
time_field?: IPropertyV2;
|
|
57
|
+
date_config_value?: TRIGGER_DATE_OPTION;
|
|
58
|
+
date_config_offset?: number;
|
|
59
|
+
time_config_value?: TRIGGER_TIME_OPTION;
|
|
60
|
+
time_config_fixed_time?: string;
|
|
61
|
+
time_config_offset?: number;
|
|
62
|
+
time_config_offset_unit?: "MINUTES" | "HOURS";
|
|
63
|
+
change_field_ids?: string[];
|
|
64
|
+
}
|
|
65
|
+
export type BlockTriggerEnterpriseProps = BlockTypeProps<EnterpriseTriggerNodeData>;
|
|
66
|
+
export type TriggerEnterpriseNodeProps = NodeProps<Node<EnterpriseTriggerNodeData>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOutput } from '../../../../../../services';
|
|
2
|
+
type MeetingActionOutputContainerProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
outputs: IOutput["outputs"];
|
|
5
|
+
};
|
|
6
|
+
declare const MeetingActionOutputContainer: React.FC<MeetingActionOutputContainerProps>;
|
|
7
|
+
export default MeetingActionOutputContainer;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Node, NodeProps } from '@xyflow/react';
|
|
2
|
+
import { IFilter, INodeBaseType } from '../../../../../services';
|
|
3
|
+
import { BlockTypeProps } from '../../../../constants';
|
|
4
|
+
import { DATA_TYPE_PROPERTY_V2 } from '../../../../constants/common';
|
|
5
|
+
export declare enum ACTION_MEETING_TYPE {
|
|
6
|
+
CREATE = "CREATE",
|
|
7
|
+
GET = "GET",
|
|
8
|
+
UPDATE = "UPDATE"
|
|
9
|
+
}
|
|
10
|
+
export declare const MeetingActionTypeLabel: {
|
|
11
|
+
CREATE: string;
|
|
12
|
+
UPDATE: string;
|
|
13
|
+
GET: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const MeetingActionTypeDescription: {
|
|
16
|
+
CREATE: string;
|
|
17
|
+
UPDATE: string;
|
|
18
|
+
GET: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const MeetingActionTypeList: ACTION_MEETING_TYPE[];
|
|
21
|
+
interface MeetingActionGroup {
|
|
22
|
+
object?: string;
|
|
23
|
+
filter_type?: "AND" | "OR";
|
|
24
|
+
conditions: IFilter[];
|
|
25
|
+
}
|
|
26
|
+
export interface MeetingActionNodeData extends INodeBaseType, Record<string, unknown> {
|
|
27
|
+
title: string;
|
|
28
|
+
type: ACTION_MEETING_TYPE;
|
|
29
|
+
filter_type?: "AND" | "OR";
|
|
30
|
+
groups?: MeetingActionGroup[];
|
|
31
|
+
object?: string;
|
|
32
|
+
crmmeeting?: string[];
|
|
33
|
+
update_fields?: {
|
|
34
|
+
id?: string;
|
|
35
|
+
slug?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
value?: any;
|
|
38
|
+
type?: DATA_TYPE_PROPERTY_V2;
|
|
39
|
+
reference_type?: boolean;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
42
|
+
export type BlockMeetingActionProps = BlockTypeProps<MeetingActionNodeData>;
|
|
43
|
+
export type MeetingActionNodeProps = NodeProps<Node<MeetingActionNodeData>>;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const container: string;
|
|
3
|
+
export declare const iconWrapper: string;
|
|
4
|
+
export declare const iconPrimaryStyle: string;
|
|
5
|
+
export declare const iconAbsoluteStyle: string;
|
|
6
|
+
export declare const settingsContainer: string;
|
|
7
|
+
export declare const alertGroup: string;
|
|
8
|
+
export declare const radioGroup: string;
|
|
9
|
+
export declare const radioSpace: string;
|
|
10
|
+
export declare const radioItem: string;
|
|
11
|
+
export declare const radioContent: string;
|
|
12
|
+
export declare const checkIconWrapper: string;
|
|
13
|
+
export declare const triangle: string;
|
|
14
|
+
export declare const checkIcon: string;
|
|
15
|
+
export declare const UserWrapper: string;
|
|
16
|
+
export declare const outputAssignHandleList: string;
|
|
17
|
+
export declare const outputAssignHandleItem: string;
|
|
18
|
+
export declare const ToggleWrapperFilterGroup: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOutput } from '../../../../../../services';
|
|
2
|
+
type MeetingTriggerOutputContainerProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
outputs: IOutput["outputs"];
|
|
5
|
+
};
|
|
6
|
+
declare const MeetingTriggerOutputContainer: React.FC<MeetingTriggerOutputContainerProps>;
|
|
7
|
+
export default MeetingTriggerOutputContainer;
|