@myinterview/chatbot 0.1.13-experimental → 0.1.15-experimental

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/index.d.ts CHANGED
@@ -34,6 +34,7 @@ declare interface IConfig {
34
34
  primaryDarkColor: string;
35
35
  secondaryDarkColor: string;
36
36
  };
37
+ dtnc?: boolean;
37
38
  onOpen?: () => void;
38
39
  onClose?: () => void;
39
40
  onConversationCreated?: ({ sid, candidate_id }: {
@@ -44,7 +45,7 @@ declare interface IConfig {
44
45
  onError?: (data: IOnErrorData) => void;
45
46
  }
46
47
 
47
- declare type IConfigClient = Partial<Omit<IConfig, 'usePopup' | 'isReady'>>;
48
+ declare type IConfigClient = Partial<Omit<IConfig, 'usePopup' | 'isReady' | 'dtnc'>>;
48
49
 
49
50
  declare type IEnv = 'development' | 'staging' | 'production';
50
51
 
@@ -64,10 +65,10 @@ declare type ITimeFormat = '12h' | '24h' | 'deviceDefault';
64
65
 
65
66
  export declare const usePopupChatbot: () => {
66
67
  init: (clientConfig: Partial<Omit<IChatbot, "config"> & {
67
- config: Partial<Omit<IConfig, "usePopup" | "isReady">>;
68
+ config: Partial<Omit<IConfig, "usePopup" | "isReady" | "dtnc">>;
68
69
  }>) => void;
69
70
  update: (clientConfig?: Partial<Omit<IChatbot, "config"> & {
70
- config: Partial<Omit<IConfig, "usePopup" | "isReady">>;
71
+ config: Partial<Omit<IConfig, "usePopup" | "isReady" | "dtnc">>;
71
72
  }>) => void;
72
73
  shutdown: () => void;
73
74
  };