app-v3-scripts-editor 1.30.1 → 1.32.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.
@@ -4,6 +4,7 @@ interface AudioPlaybackProps {
4
4
  className?: string;
5
5
  formPath?: string[][];
6
6
  onDelete?: () => void;
7
+ style?: React.CSSProperties;
7
8
  }
8
9
  declare const AudioPlayback: React.FC<AudioPlaybackProps>;
9
10
  export default AudioPlayback;
@@ -1,4 +1,6 @@
1
1
  import { default as React } from 'react';
2
- type ResourceCMSContainerProps = {};
2
+ interface ResourceCMSContainerProps {
3
+ onClose?: () => void;
4
+ }
3
5
  declare const ResourceCMSContainer: React.FC<ResourceCMSContainerProps>;
4
6
  export default ResourceCMSContainer;
@@ -1,4 +1,6 @@
1
1
  import { default as React } from 'react';
2
- type AudioContainerProps = {};
2
+ interface AudioContainerProps {
3
+ onClose?: () => void;
4
+ }
3
5
  declare const AudioContainer: React.FC<AudioContainerProps>;
4
6
  export default AudioContainer;
@@ -1,4 +1,6 @@
1
1
  import { default as React } from 'react';
2
- type AudioSpeckNodeContainerProps = {};
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
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "app-v3-scripts-editor",
3
3
  "private": false,
4
- "version": "1.30.1",
4
+ "version": "1.32.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ucall-asia/app-v3-scripts-editor.git"