app-v3-scripts-editor 1.30.1 → 1.32.1
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 +23572 -22838
- package/dist/app-v3-scripts-editor.umd.js +186 -186
- package/dist/src/lib/components/Blocks/Listen/types.d.ts +1 -0
- package/dist/src/lib/components/Blocks/Speak/settings/AudioPlayback.d.ts +1 -0
- package/dist/src/lib/components/Scripts/components/resource-cms/ResourceCMS.d.ts +3 -1
- package/dist/src/lib/components/Scripts/components/resource-cms/audio/Audio.d.ts +3 -1
- package/dist/src/lib/components/Scripts/components/resource-cms/audio/AudioSpeckNode.d.ts +3 -1
- package/dist/src/lib/constants/initial-script.d.ts +1 -0
- package/dist/src/services/block/useGetListBlock.d.ts +8 -0
- package/dist/src/services/types.d.ts +16 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export type ListenCondition = NodeIntentCondition;
|
|
|
5
5
|
export interface ListenNodeData extends Record<string, unknown> {
|
|
6
6
|
title?: string;
|
|
7
7
|
conditions?: ListenCondition[];
|
|
8
|
+
maximum_listentime: number;
|
|
8
9
|
maximum_retry: number;
|
|
9
10
|
is_global_node: boolean;
|
|
10
11
|
is_conjunction: boolean;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
interface AudioSpeckNodeContainerProps {
|
|
3
|
+
onClose?: () => void;
|
|
4
|
+
}
|
|
3
5
|
declare const AudioSpeckNodeContainer: React.FC<AudioSpeckNodeContainerProps>;
|
|
4
6
|
export default AudioSpeckNodeContainer;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AxiosError, AxiosResponse } from 'axios';
|
|
2
|
+
import { IBlock, IPagination, IPaginationInputs } from '../../lib';
|
|
3
|
+
export declare const getListBlockQueryKey: (COMPANY_ID?: string, SCENARIO_ID?: string, options?: Pick<IPaginationInputs, "pagination" | "currentFilters">) => readonly unknown[];
|
|
4
|
+
declare function useGetListBlock({ currentFilters, pagination, enabled, SCENARIO_ID, }: IPaginationInputs & {
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
SCENARIO_ID: string;
|
|
7
|
+
}): import('@tanstack/react-query').UseQueryResult<AxiosResponse<IPagination<IBlock>, any>, AxiosError<unknown, any>>;
|
|
8
|
+
export default useGetListBlock;
|
|
@@ -376,3 +376,19 @@ export interface IIntent {
|
|
|
376
376
|
node_title?: string;
|
|
377
377
|
}[];
|
|
378
378
|
}
|
|
379
|
+
export interface IBlock {
|
|
380
|
+
id?: string | number;
|
|
381
|
+
scenario?: string;
|
|
382
|
+
slug?: string;
|
|
383
|
+
title?: string;
|
|
384
|
+
type?: BlockType;
|
|
385
|
+
intent?: (string | number)[];
|
|
386
|
+
file?: {
|
|
387
|
+
url?: string;
|
|
388
|
+
type?: "default" | "male" | "female";
|
|
389
|
+
}[];
|
|
390
|
+
updated_at?: string;
|
|
391
|
+
created_at?: string;
|
|
392
|
+
updated_by?: string;
|
|
393
|
+
created_by?: string;
|
|
394
|
+
}
|