app-v3-scripts-editor 1.38.1 → 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.
@@ -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;
@@ -458,6 +458,7 @@ export interface IConnector {
458
458
  transcript?: string;
459
459
  transcript_text?: string;
460
460
  };
461
+ voice_ai_file?: string;
461
462
  }
462
463
  export type IFacebookPage = {
463
464
  id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "app-v3-scripts-editor",
3
3
  "private": false,
4
- "version": "1.38.1",
4
+ "version": "1.38.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ucall-asia/app-v3-scripts-editor.git"