app-v3-scripts-editor 1.38.0 → 1.38.2
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.es.js +7637 -7579
- package/dist/app-v3-scripts-editor.umd.js +128 -128
- package/dist/src/lib/components/Blocks/CallbotCustomer/types.d.ts +3 -3
- package/dist/src/lib/components/Shared/UpdatedByCondition/helpers.d.ts +0 -1
- package/dist/src/lib/provider/instance-context/index.d.ts +1 -0
- package/dist/src/lib/utils/common.d.ts +1 -0
- package/dist/src/services/connector/useGetFileAuditoAI.d.ts +7 -0
- package/dist/src/services/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@ import { Node, NodeProps } from '@xyflow/react';
|
|
|
2
2
|
import { IFilterGroup, INodeBaseType } from '../../../../services';
|
|
3
3
|
import { BlockTypeProps } from '../../../constants';
|
|
4
4
|
export declare enum TRIGGER_CALLBOT_CUSTOMER_ACTION_TYPE {
|
|
5
|
-
|
|
5
|
+
UPDATED = "updated"
|
|
6
6
|
}
|
|
7
7
|
export declare const CallbotCustomerTypeLabel: {
|
|
8
|
-
|
|
8
|
+
updated: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const CallbotCustomerTypeDescription: {
|
|
11
|
-
|
|
11
|
+
updated: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const CallbotCustomerTypeList: TRIGGER_CALLBOT_CUSTOMER_ACTION_TYPE[];
|
|
14
14
|
export interface CallbotCustomerNodeData extends INodeBaseType, Record<string, unknown> {
|
|
@@ -7,7 +7,6 @@ export type ConditionValueMap = Record<string, {
|
|
|
7
7
|
titleValue?: unknown;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const getOperatorOptions: (type?: DATA_TYPE_PROPERTY | DATA_TYPE_PROPERTY_V2 | string) => SelectProps["options"];
|
|
10
|
-
export declare const normalizeSearchText: (value?: string) => string;
|
|
11
10
|
export declare const getConditionFieldId: (property: unknown) => string;
|
|
12
11
|
export declare const getConditionsFromGroups: (groups?: IFilterGroup[]) => IFilter[];
|
|
13
12
|
export declare const getConditionValuesFromConditions: (conditions?: NonNullable<IFilterGroup["conditions"]>) => ConditionValueMap;
|
|
@@ -11,6 +11,7 @@ export interface InstanceContextProps {
|
|
|
11
11
|
axiosInstance: AxiosInstance;
|
|
12
12
|
reactFlowRef: React.RefObject<HTMLDivElement>;
|
|
13
13
|
BASE_URL: string;
|
|
14
|
+
AUTHORIZATION_HEADER: string;
|
|
14
15
|
context: ContextProps;
|
|
15
16
|
BLOCKS_ENABLED?: BlockType[];
|
|
16
17
|
type: "autocall" | "autoflow";
|
|
@@ -42,6 +42,7 @@ export declare const formatFilterGroupsToForm: (object?: string, chartFilterGrou
|
|
|
42
42
|
filter_type: "AND" | "OR";
|
|
43
43
|
groups: IFilterGroup[];
|
|
44
44
|
};
|
|
45
|
+
export declare const normalizeSearchText: (value?: string) => string;
|
|
45
46
|
export declare function slugifyUnderscore(str: string): string;
|
|
46
47
|
export declare function buildOutPutTreeNodes(outputs?: IOutput["outputs"]): (TreeDataNode & {
|
|
47
48
|
meta?: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AxiosError, AxiosResponse } from 'axios';
|
|
2
|
+
export declare const getFileAudioAIQueryKeyPrefix = "get_file_audio_ai_key";
|
|
3
|
+
declare function useGetFileAudioAI({ url, enabled, }: {
|
|
4
|
+
url?: string;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
}): import('@tanstack/react-query').UseQueryResult<AxiosResponse<Blob, any>, AxiosError<unknown, any>>;
|
|
7
|
+
export default useGetFileAudioAI;
|
|
@@ -442,6 +442,7 @@ export type IPropertyCallCampaignCustomer = {
|
|
|
442
442
|
};
|
|
443
443
|
slug?: string;
|
|
444
444
|
type?: DATA_TYPE_PROPERTY;
|
|
445
|
+
is_trigger_automation?: boolean;
|
|
445
446
|
};
|
|
446
447
|
export interface IConnector {
|
|
447
448
|
id?: number;
|
|
@@ -457,6 +458,7 @@ export interface IConnector {
|
|
|
457
458
|
transcript?: string;
|
|
458
459
|
transcript_text?: string;
|
|
459
460
|
};
|
|
461
|
+
voice_ai_file?: string;
|
|
460
462
|
}
|
|
461
463
|
export type IFacebookPage = {
|
|
462
464
|
id: string;
|