app-v3-scripts-editor 1.9.0 → 1.11.0

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.
Files changed (96) hide show
  1. package/dist/app-v3-scripts-editor.css +1 -1
  2. package/dist/app-v3-scripts-editor.es.js +52525 -43188
  3. package/dist/app-v3-scripts-editor.umd.js +246 -149
  4. package/dist/src/lib/components/Blocks/Contact/action/block.d.ts +3 -0
  5. package/dist/src/lib/components/Blocks/Contact/action/index.d.ts +4 -0
  6. package/dist/src/lib/components/Blocks/Contact/action/index.settings.d.ts +3 -0
  7. package/dist/src/lib/components/Blocks/Contact/action/node.d.ts +3 -0
  8. package/dist/src/lib/components/Blocks/Contact/action/setting/Action.d.ts +4 -0
  9. package/dist/src/lib/components/Blocks/Contact/action/setting/CreateAction.d.ts +4 -0
  10. package/dist/src/lib/components/Blocks/Contact/action/setting/GetDataAction.d.ts +4 -0
  11. package/dist/src/lib/components/Blocks/Contact/action/setting/UpdateAction.d.ts +4 -0
  12. package/dist/src/lib/components/Blocks/Contact/action/types.d.ts +35 -0
  13. package/dist/src/lib/components/Blocks/Contact/index.css.d.ts +14 -0
  14. package/dist/src/lib/components/Blocks/Contact/trigger/block.d.ts +3 -0
  15. package/dist/src/lib/components/Blocks/Contact/trigger/index.d.ts +4 -0
  16. package/dist/src/lib/components/Blocks/Contact/trigger/index.settings.d.ts +3 -0
  17. package/dist/src/lib/components/Blocks/Contact/trigger/node.d.ts +3 -0
  18. package/dist/src/lib/components/Blocks/Contact/trigger/setting/Trigger.d.ts +4 -0
  19. package/dist/src/lib/components/Blocks/Contact/trigger/types.d.ts +38 -0
  20. package/dist/src/lib/components/Blocks/Delay/block.d.ts +3 -0
  21. package/dist/src/lib/components/Blocks/Delay/index.css.d.ts +16 -0
  22. package/dist/src/lib/components/Blocks/Delay/index.d.ts +4 -0
  23. package/dist/src/lib/components/Blocks/Delay/index.settings.d.ts +3 -0
  24. package/dist/src/lib/components/Blocks/Delay/node.d.ts +3 -0
  25. package/dist/src/lib/components/Blocks/Delay/setting/Action.d.ts +4 -0
  26. package/dist/src/lib/components/Blocks/Delay/setting/Setting.d.ts +4 -0
  27. package/dist/src/lib/components/Blocks/Delay/types.d.ts +37 -0
  28. package/dist/src/lib/components/Blocks/Email/block.d.ts +3 -0
  29. package/dist/src/lib/components/Blocks/Email/index.css.d.ts +16 -0
  30. package/dist/src/lib/components/Blocks/Email/index.d.ts +4 -0
  31. package/dist/src/lib/components/Blocks/Email/index.settings.d.ts +3 -0
  32. package/dist/src/lib/components/Blocks/Email/node.d.ts +3 -0
  33. package/dist/src/lib/components/Blocks/Email/setting/Action.d.ts +4 -0
  34. package/dist/src/lib/components/Blocks/Email/setting/Setting.d.ts +4 -0
  35. package/dist/src/lib/components/Blocks/Email/setting/Test.d.ts +4 -0
  36. package/dist/src/lib/components/Blocks/Email/types.d.ts +27 -0
  37. package/dist/src/lib/components/Scripts/types.d.ts +1 -0
  38. package/dist/src/lib/components/Selector/Campaign/index.d.ts +8 -0
  39. package/dist/src/lib/components/Selector/Contact/OptionContentUser.d.ts +6 -0
  40. package/dist/src/lib/components/Selector/Contact/index.css.d.ts +3 -0
  41. package/dist/src/lib/components/Selector/Contact/index.d.ts +7 -0
  42. package/dist/src/lib/components/Selector/Email/index.d.ts +8 -0
  43. package/dist/src/lib/components/Selector/Enterprise/index.d.ts +7 -0
  44. package/dist/src/lib/components/Selector/ListObject/index.d.ts +14 -0
  45. package/dist/src/lib/components/Selector/Option/index.d.ts +8 -0
  46. package/dist/src/lib/components/Selector/User/index.css.d.ts +1 -0
  47. package/dist/src/lib/components/Selector/User/index.d.ts +7 -0
  48. package/dist/src/lib/components/Shared/ButtonEdge/AutoCallButtonEdge.d.ts +3 -0
  49. package/dist/src/lib/components/Shared/ButtonEdge/AutoFlowButtonEdge.d.ts +3 -0
  50. package/dist/src/lib/components/Shared/Controls/CustomFlowControls.d.ts +1 -8
  51. package/dist/src/lib/components/Shared/FieldSetting/index.css.d.ts +2 -0
  52. package/dist/src/lib/components/Shared/FieldSetting/index.d.ts +7 -0
  53. package/dist/src/lib/components/Shared/GroupCondition/ConditionPropertySelect.d.ts +9 -0
  54. package/dist/src/lib/components/Shared/GroupCondition/index.css.d.ts +11 -0
  55. package/dist/src/lib/components/Shared/GroupCondition/index.d.ts +13 -0
  56. package/dist/src/lib/components/Shared/HoverSelect/index.d.ts +6 -0
  57. package/dist/src/lib/components/Shared/InitialAvatar/index.d.ts +12 -0
  58. package/dist/src/lib/components/Shared/TagUserOption/index.css.d.ts +4 -0
  59. package/dist/src/lib/components/Shared/TagUserOption/index.d.ts +9 -0
  60. package/dist/src/lib/components/Sidebar/AutoCallSidebar.d.ts +3 -0
  61. package/dist/src/lib/components/Sidebar/AutoFlowSidebar.d.ts +2 -0
  62. package/dist/src/lib/components/Sidebar/sidebar.css.d.ts +2 -0
  63. package/dist/src/lib/constants/block-types.d.ts +9 -1
  64. package/dist/src/lib/constants/common.d.ts +57 -0
  65. package/dist/src/lib/constants/node-types.d.ts +4 -0
  66. package/dist/src/lib/constants/regex.d.ts +2 -0
  67. package/dist/src/lib/constants/sidebar-buttons.d.ts +12 -2
  68. package/dist/src/lib/events/emit-to-parent/emitToParent.d.ts +2 -0
  69. package/dist/src/lib/events/emit-to-parent/event.d.ts +3 -0
  70. package/dist/src/lib/events/index.d.ts +1 -0
  71. package/dist/src/lib/hooks/use-filter-option-color/useFilterColorOption.d.ts +6 -0
  72. package/dist/src/lib/hooks/use-interaction-mode/index.d.ts +3 -4
  73. package/dist/src/lib/hooks/use-interaction-mode/interactionMode.store.d.ts +7 -0
  74. package/dist/src/lib/index.d.ts +1 -0
  75. package/dist/src/lib/provider/instance-context/index.d.ts +3 -0
  76. package/dist/src/lib/store/undo-redo/undoRedoStore.d.ts +21 -0
  77. package/dist/src/lib/store/undo-redo/useUndoRedoControls.d.ts +6 -0
  78. package/dist/src/lib/store/undo-redo/useUndoRedoManager.d.ts +12 -0
  79. package/dist/src/lib/styles/colors.d.ts +22 -12
  80. package/dist/src/lib/utils/common.d.ts +2 -0
  81. package/dist/src/services/campaign/useGetListCampaign.d.ts +8 -0
  82. package/dist/src/services/contact/useInfiniteContact.d.ts +8 -0
  83. package/dist/src/services/enterprise/useInfiniteEnterprise.d.ts +8 -0
  84. package/dist/src/services/list/useFilterList.d.ts +4 -0
  85. package/dist/src/services/mail/useInfiniteMail.d.ts +9 -0
  86. package/dist/src/services/option/useInfiniteOption.d.ts +9 -0
  87. package/dist/src/services/profile/useGetCompanyProfile.d.ts +5 -0
  88. package/dist/src/services/property/useGetAllProperty.d.ts +5 -0
  89. package/dist/src/services/property/useGetCallProperty.d.ts +8 -0
  90. package/dist/src/services/types.d.ts +168 -2
  91. package/dist/src/services/voices/useListVoices.d.ts +1 -1
  92. package/package.json +1 -1
  93. package/dist/src/lib/components/Shared/ButtonEdge/index.d.ts +0 -3
  94. package/dist/src/lib/components/Sidebar/index.d.ts +0 -2
  95. /package/dist/src/lib/components/{selector → Selector}/AIModel/index.d.ts +0 -0
  96. /package/dist/src/lib/components/{selector → Selector}/Voice/index.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ import { BlockContactActionProps } from './types';
2
+ declare const BlockContactAction: ({ id, data, mini }: BlockContactActionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default BlockContactAction;
@@ -0,0 +1,4 @@
1
+ import { default as BlockContactAction } from './block';
2
+ import { default as ContactActionNode } from './node';
3
+ export default ContactActionNode;
4
+ export { BlockContactAction };
@@ -0,0 +1,3 @@
1
+ export declare const ContactActionNodeSettings: ({ id }: {
2
+ id: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BlockContactActionProps } from './types';
2
+ declare const ContactActionNode: React.FC<BlockContactActionProps>;
3
+ export default ContactActionNode;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type ContactActionSettingContainerProps = {};
3
+ declare const ContactActionSettingContainer: React.FC<ContactActionSettingContainerProps>;
4
+ export default ContactActionSettingContainer;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type CreateContactActionSettingContainerProps = {};
3
+ declare const CreateContactActionSettingContainer: React.FC<CreateContactActionSettingContainerProps>;
4
+ export default CreateContactActionSettingContainer;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type GetDataContactActionSettingContainerProps = {};
3
+ declare const GetDataContactActionSettingContainer: React.FC<GetDataContactActionSettingContainerProps>;
4
+ export default GetDataContactActionSettingContainer;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type UpdateContactActionSettingContainerProps = {};
3
+ declare const UpdateContactActionSettingContainer: React.FC<UpdateContactActionSettingContainerProps>;
4
+ export default UpdateContactActionSettingContainer;
@@ -0,0 +1,35 @@
1
+ import { Node, NodeProps } from '@xyflow/react';
2
+ import { IFilter } from '../../../../../services';
3
+ import { BlockTypeProps } from '../../../../constants';
4
+ export declare enum CONTACT_ACTION_TYPE {
5
+ CREATE = "CREATE",
6
+ READ = "READ",
7
+ UPDATE = "UPDATE"
8
+ }
9
+ export declare const ContactActionTypeLabel: {
10
+ CREATE: string;
11
+ UPDATE: string;
12
+ READ: string;
13
+ };
14
+ export declare const ContactActionTypeDescription: {
15
+ CREATE: string;
16
+ UPDATE: string;
17
+ READ: string;
18
+ };
19
+ export declare const ContactActionTypeList: CONTACT_ACTION_TYPE[];
20
+ interface ContactActionGroup {
21
+ object?: string;
22
+ filter_type?: "AND" | "OR";
23
+ conditions: IFilter[];
24
+ }
25
+ export interface ContactActionNodeData extends Record<string, unknown> {
26
+ title: string;
27
+ type: CONTACT_ACTION_TYPE;
28
+ setting: {
29
+ filter_type?: "AND" | "OR";
30
+ groups?: ContactActionGroup[];
31
+ };
32
+ }
33
+ export type BlockContactActionProps = BlockTypeProps<ContactActionNodeData>;
34
+ export type ContactActionNodeProps = NodeProps<Node<ContactActionNodeData>>;
35
+ export {};
@@ -0,0 +1,14 @@
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;
@@ -0,0 +1,3 @@
1
+ import { BlockContactTriggerProps } from './types';
2
+ declare const BlockContactTrigger: ({ id, data, mini }: BlockContactTriggerProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default BlockContactTrigger;
@@ -0,0 +1,4 @@
1
+ import { default as BlockContactTrigger } from './block';
2
+ import { default as ContactTriggerNode } from './node';
3
+ export default ContactTriggerNode;
4
+ export { BlockContactTrigger };
@@ -0,0 +1,3 @@
1
+ export declare const ContactTriggerNodeSettings: ({ id }: {
2
+ id: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BlockContactTriggerProps } from './types';
2
+ declare const ContactTriggerNode: React.FC<BlockContactTriggerProps>;
3
+ export default ContactTriggerNode;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type ContactTriggerSettingContainerProps = {};
3
+ declare const ContactTriggerSettingContainer: React.FC<ContactTriggerSettingContainerProps>;
4
+ export default ContactTriggerSettingContainer;
@@ -0,0 +1,38 @@
1
+ import { Node, NodeProps } from '@xyflow/react';
2
+ import { IFilter } from '../../../../../services';
3
+ import { BlockTypeProps } from '../../../../constants';
4
+ export declare enum CONTACT_TRIGGER_TYPE {
5
+ CREATE = "CREATE",
6
+ UPDATE = "UPDATE",
7
+ DELETE = "DELETE",
8
+ TIME = "TIME"
9
+ }
10
+ export declare const ContactTriggerTypeLabel: {
11
+ CREATE: string;
12
+ UPDATE: string;
13
+ DELETE: string;
14
+ TIME: string;
15
+ };
16
+ export declare const ContactTriggerTypeDescription: {
17
+ CREATE: string;
18
+ UPDATE: string;
19
+ DELETE: string;
20
+ TIME: string;
21
+ };
22
+ export declare const ContactTriggerTypeList: CONTACT_TRIGGER_TYPE[];
23
+ interface ContactTriggerGroup {
24
+ object?: string;
25
+ filter_type?: "AND" | "OR";
26
+ conditions: IFilter[];
27
+ }
28
+ export interface ContactTriggerNodeData extends Record<string, unknown> {
29
+ title: string;
30
+ type: CONTACT_TRIGGER_TYPE;
31
+ setting: {
32
+ filter_type?: "AND" | "OR";
33
+ groups?: ContactTriggerGroup[];
34
+ };
35
+ }
36
+ export type BlockContactTriggerProps = BlockTypeProps<ContactTriggerNodeData>;
37
+ export type ContactTriggerNodeProps = NodeProps<Node<ContactTriggerNodeData>>;
38
+ export {};
@@ -0,0 +1,3 @@
1
+ import { BlockDelayActionProps } from './types';
2
+ declare const BlockDelayAction: ({ id, data, mini }: BlockDelayActionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default BlockDelayAction;
@@ -0,0 +1,16 @@
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 emailTypeGroup: string;
16
+ export declare const radioButton: string;
@@ -0,0 +1,4 @@
1
+ import { default as BlockDelayAction } from './block';
2
+ import { default as DelayActionNode } from './node';
3
+ export default DelayActionNode;
4
+ export { BlockDelayAction };
@@ -0,0 +1,3 @@
1
+ export declare const DelayActionNodeSettings: ({ id }: {
2
+ id: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BlockDelayActionProps } from './types';
2
+ declare const DelayActionNode: React.FC<BlockDelayActionProps>;
3
+ export default DelayActionNode;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type DelayActionContainerProps = {};
3
+ declare const DelayActionContainer: React.FC<DelayActionContainerProps>;
4
+ export default DelayActionContainer;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type DelayActionSettingContainerProps = {};
3
+ declare const DelayActionSettingContainer: React.FC<DelayActionSettingContainerProps>;
4
+ export default DelayActionSettingContainer;
@@ -0,0 +1,37 @@
1
+ import { Node, NodeProps } from '@xyflow/react';
2
+ import { BlockTypeProps } from '../../../constants';
3
+ export declare enum DELAY_ACTION_TYPE {
4
+ DELAY = "DELAY"
5
+ }
6
+ export declare const DelayActionTypeLabel: {
7
+ DELAY: string;
8
+ };
9
+ export declare const DelayActionTypeDescription: {
10
+ DELAY: string;
11
+ };
12
+ export declare const DelayActionTypeList: DELAY_ACTION_TYPE[];
13
+ export declare enum UNIT_DELAY {
14
+ SECONDS = "seconds",
15
+ MINUTES = "minutes",
16
+ HOURS = "hours",
17
+ DAYS = "days"
18
+ }
19
+ export declare const UnitDelayLabel: {
20
+ seconds: string;
21
+ minutes: string;
22
+ hours: string;
23
+ days: string;
24
+ };
25
+ export declare const UnitDelayList: UNIT_DELAY[];
26
+ export interface DelayActionNodeData extends Record<string, unknown> {
27
+ title: string;
28
+ type: DELAY_ACTION_TYPE;
29
+ setting: {
30
+ time?: number;
31
+ unit?: UNIT_DELAY;
32
+ limit?: boolean;
33
+ apply?: number[];
34
+ };
35
+ }
36
+ export type BlockDelayActionProps = BlockTypeProps<DelayActionNodeData>;
37
+ export type DelayActionNodeProps = NodeProps<Node<DelayActionNodeData>>;
@@ -0,0 +1,3 @@
1
+ import { BlockEmailActionProps } from './types';
2
+ declare const BlockEmailAction: ({ id, data, mini }: BlockEmailActionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default BlockEmailAction;
@@ -0,0 +1,16 @@
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 emailTypeGroup: string;
16
+ export declare const radioButton: string;
@@ -0,0 +1,4 @@
1
+ import { default as BlockEmailAction } from './block';
2
+ import { default as EmailActionNode } from './node';
3
+ export default EmailActionNode;
4
+ export { BlockEmailAction };
@@ -0,0 +1,3 @@
1
+ export declare const EmailActionNodeSettings: ({ id }: {
2
+ id: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { BlockEmailActionProps } from './types';
2
+ declare const EmailActionNode: React.FC<BlockEmailActionProps>;
3
+ export default EmailActionNode;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type EmailActionContainerProps = {};
3
+ declare const EmailActionContainer: React.FC<EmailActionContainerProps>;
4
+ export default EmailActionContainer;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type EmailActionSettingContainerProps = {};
3
+ declare const EmailActionSettingContainer: React.FC<EmailActionSettingContainerProps>;
4
+ export default EmailActionSettingContainer;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type EmailActionTestContainerProps = {};
3
+ declare const EmailActionTestContainer: React.FC<EmailActionTestContainerProps>;
4
+ export default EmailActionTestContainer;
@@ -0,0 +1,27 @@
1
+ import { Node, NodeProps } from '@xyflow/react';
2
+ import { BlockTypeProps } from '../../../constants';
3
+ export declare enum EMAIL_ACTION_TYPE {
4
+ SEND = "SEND"
5
+ }
6
+ export declare const EmailActionTypeLabel: {
7
+ SEND: string;
8
+ };
9
+ export declare const EmailActionTypeDescription: {
10
+ SEND: string;
11
+ };
12
+ export declare const EmailActionTypeList: EMAIL_ACTION_TYPE[];
13
+ export interface EmailActionNodeData extends Record<string, unknown> {
14
+ title: string;
15
+ type: EMAIL_ACTION_TYPE;
16
+ setting: {
17
+ to?: string;
18
+ from?: string;
19
+ type?: "template" | "custom";
20
+ template?: string;
21
+ custom_title?: string;
22
+ custom_content?: string;
23
+ file?: string;
24
+ };
25
+ }
26
+ export type BlockEmailActionProps = BlockTypeProps<EmailActionNodeData>;
27
+ export type EmailActionNodeProps = NodeProps<Node<EmailActionNodeData>>;
@@ -37,5 +37,6 @@ export interface ScriptEditorInterface {
37
37
  }
38
38
  export interface ScriptEditorProps {
39
39
  onAlertsChange?: (values: UseErrorsAndInfosReturn) => void;
40
+ type: "autocall" | "autoflow";
40
41
  }
41
42
  export type { EdgeProps, Node, ReactFlowJsonObject, GlobalSettingData };
@@ -0,0 +1,8 @@
1
+ import { SelectProps } from 'antd/es/select';
2
+ type OptionFilterProps = {
3
+ defaultValue?: string | string[] | null;
4
+ operator?: string;
5
+ type?: string;
6
+ } & SelectProps;
7
+ export declare const CampaignSelector: (props: OptionFilterProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default CampaignSelector;
@@ -0,0 +1,6 @@
1
+ type OptionType = {
2
+ label: string;
3
+ avatar?: string | null;
4
+ };
5
+ export declare const OptionContentUser: (option: OptionType) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const OptionContentUser: string;
2
+ export declare const Avatar: string;
3
+ export declare const Label: string;
@@ -0,0 +1,7 @@
1
+ import { SelectProps } from 'antd';
2
+ import { IContact } from '../../../../services';
3
+ type ContactSelectorProps = {
4
+ dataDefault?: IContact | IContact[];
5
+ } & SelectProps;
6
+ declare const ContactSelector: React.FC<ContactSelectorProps>;
7
+ export default ContactSelector;
@@ -0,0 +1,8 @@
1
+ import { SelectProps } from 'antd';
2
+ import { default as React } from 'react';
3
+ import { IMailConfig } from '../../../../services';
4
+ type EmailSelectorProps = SelectProps & {
5
+ dataDefault?: IMailConfig | IMailConfig[];
6
+ };
7
+ declare const EmailSelector: React.FC<EmailSelectorProps>;
8
+ export default EmailSelector;
@@ -0,0 +1,7 @@
1
+ import { SelectProps } from 'antd';
2
+ import { IEnterprise } from '../../../../services';
3
+ type EnterpriseSelectorProps = {
4
+ dataDefault?: IEnterprise | IEnterprise[];
5
+ } & SelectProps;
6
+ declare const EnterpriseSelector: React.FC<EnterpriseSelectorProps>;
7
+ export default EnterpriseSelector;
@@ -0,0 +1,14 @@
1
+ import { SelectProps } from 'antd/es/select';
2
+ import { IProperty } from '../../../../services';
3
+ type OptionFilterProps = {
4
+ defaultValue?: {
5
+ id: string;
6
+ name?: string;
7
+ slug: string;
8
+ }[] | null;
9
+ operator?: string;
10
+ type?: string;
11
+ typeObjectProperty: IProperty;
12
+ } & SelectProps;
13
+ export declare const ListObjectSelector: (props: OptionFilterProps) => import("react/jsx-runtime").JSX.Element;
14
+ export default ListObjectSelector;
@@ -0,0 +1,8 @@
1
+ import { SelectProps } from 'antd';
2
+ import { IOptionValue } from '../../../../services';
3
+ type OptionSelectorProps = {
4
+ dataDefault?: IOptionValue | IOptionValue[];
5
+ propertyId?: string;
6
+ } & SelectProps;
7
+ declare const OptionSelector: React.FC<OptionSelectorProps>;
8
+ export default OptionSelector;
@@ -0,0 +1 @@
1
+ export declare const TagContainer: string;
@@ -0,0 +1,7 @@
1
+ import { SelectProps } from 'antd';
2
+ import { IProfile } from '../../../../services';
3
+ type UserSelectorProps = {
4
+ dataDefault?: IProfile | IProfile[];
5
+ } & SelectProps;
6
+ declare const UserSelector: React.FC<UserSelectorProps>;
7
+ export default UserSelector;
@@ -0,0 +1,3 @@
1
+ import { EdgeProps } from '@xyflow/react';
2
+ declare const AutoCallButtonEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, target, markerEnd, }: EdgeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AutoCallButtonEdge;
@@ -0,0 +1,3 @@
1
+ import { EdgeProps } from '@xyflow/react';
2
+ declare const AutoFlowButtonEdge: (props: EdgeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AutoFlowButtonEdge;
@@ -1,9 +1,2 @@
1
- import { default as React } from 'react';
2
- type CustomFlowControlsContainerProps = {
3
- interactionMode: {
4
- mode: "trackpad" | "mouse";
5
- toggleMode: () => void;
6
- };
7
- };
8
- declare const CustomFlowControlsContainer: React.FC<CustomFlowControlsContainerProps>;
1
+ declare const CustomFlowControlsContainer: import('react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
9
2
  export default CustomFlowControlsContainer;
@@ -0,0 +1,2 @@
1
+ export declare const DropdownOverlay: string;
2
+ export declare const ButtonStyle: string;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ type FieldSettingContainerProps = {
3
+ title: string;
4
+ model: "contact" | "enterprise" | "crmdeal" | "crmorder" | "crmproduct" | "ticket";
5
+ };
6
+ declare const FieldSettingContainer: React.FC<FieldSettingContainerProps>;
7
+ export default FieldSettingContainer;
@@ -0,0 +1,9 @@
1
+ interface Props {
2
+ groupIndex: number;
3
+ name: number;
4
+ idOptionValue?: string;
5
+ formItemName: (string | number)[];
6
+ parentName?: string;
7
+ }
8
+ declare const ConditionPropertySelect: React.FC<Props>;
9
+ export default ConditionPropertySelect;
@@ -0,0 +1,11 @@
1
+ export declare const Container: string;
2
+ export declare const Header: string;
3
+ export declare const Title: string;
4
+ export declare const AddGroupButton: string;
5
+ export declare const GroupFilterRow: string;
6
+ export declare const GroupCard: string;
7
+ export declare const GroupCardHover: string;
8
+ export declare const GroupHeader: string;
9
+ export declare const AddConditionButton: string;
10
+ export declare const AddConditionText: string;
11
+ export declare const TextCenter: string;
@@ -0,0 +1,13 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ export type ChartFilterComponentProps = {
3
+ model: string;
4
+ title?: ReactNode;
5
+ extra?: ReactNode;
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ idOptionValue?: string;
9
+ name?: number;
10
+ parentName?: string;
11
+ };
12
+ export declare const GroupConditionContainer: React.NamedExoticComponent<ChartFilterComponentProps>;
13
+ export default GroupConditionContainer;
@@ -0,0 +1,6 @@
1
+ import { SelectProps } from 'antd';
2
+ interface HoverSelectProps extends SelectProps {
3
+ showArrowOnlyOnHover?: boolean;
4
+ }
5
+ export declare const HoverSelect: ({ showArrowOnlyOnHover, className, ...props }: HoverSelectProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default HoverSelect;
@@ -0,0 +1,12 @@
1
+ import { AvatarProps } from 'antd';
2
+ type InitialAvatarProps = AvatarProps & {
3
+ name: string;
4
+ displayName: boolean;
5
+ isRedirect?: boolean;
6
+ viewId?: string | null;
7
+ contactId?: string;
8
+ setDetailContactId?: any;
9
+ ellipsisWidth?: number;
10
+ };
11
+ declare const InitialAvatar: ({ name, displayName, isRedirect, contactId, setDetailContactId, ellipsisWidth, ...props }: InitialAvatarProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default InitialAvatar;
@@ -0,0 +1,4 @@
1
+ export declare const TagContainer: string;
2
+ export declare const Avatar: string;
3
+ export declare const Label: string;
4
+ export declare const CloseIcon: string;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type TagUserOptionProps = {
3
+ label?: string;
4
+ avatar?: string;
5
+ closable?: boolean;
6
+ onClose?: () => void;
7
+ };
8
+ export declare const TagUserOption: React.FC<TagUserOptionProps>;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.NamedExoticComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const AutoFlowSidebar: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AutoFlowSidebar;
@@ -4,3 +4,5 @@ export declare const sidebarButton: string;
4
4
  export declare const sidebarButtonActive: string;
5
5
  export declare const sidebarIcon: string;
6
6
  export declare const sidebarLabel: string;
7
+ export declare const buttonItemAutoFlow: string;
8
+ export declare const buttonIconAutoFlow: string;
@@ -6,7 +6,15 @@ export declare enum BlockType {
6
6
  CRM = "CRM",
7
7
  HTTP_REQUEST = "HTTP_REQUEST",
8
8
  CONDITION = "CONDITION",
9
- GROUP = "GROUP"
9
+ GROUP = "GROUP",
10
+ CONTACT_TRIGGER = "CONTACT_TRIGGER",
11
+ CALLBOT_TRIGGER = "CALLBOT_TRIGGER",
12
+ ORDER_TRIGGER = "ORDER_TRIGGER",
13
+ CONTACT_ACTION = "CONTACT_ACTION",
14
+ CALLBOT_ACTION = "CALLBOT_ACTION",
15
+ ORDER_ACTION = "ORDER_ACTION",
16
+ EMAIL = "EMAIL",
17
+ DELAY = "DELAY"
10
18
  }
11
19
  export declare enum SPEAK_TYPE {
12
20
  MACHINE_AND_RECORD = "MACHINE_AND_RECORD",