@1interface/chat-core 0.4.0 → 0.4.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/index.d.ts CHANGED
@@ -52,6 +52,8 @@ import { Storage as Storage_2 } from '@1interface/shared-core';
52
52
  import { StoreEnhancer } from '@reduxjs/toolkit';
53
53
  import { SttImplementation } from '@1interface/shared-core';
54
54
  import { SubscriptionOptions } from '@reduxjs/toolkit/query';
55
+ import { TextDirection } from '@1interface/shared-core';
56
+ import { ThunkAction } from '@reduxjs/toolkit';
55
57
  import { ThunkDispatch } from '@reduxjs/toolkit';
56
58
  import { TokenRefreshResult } from '@1interface/shared-core';
57
59
  import { TSHelpersId } from '@reduxjs/toolkit/query';
@@ -77,6 +79,7 @@ export declare interface AdvanceChatMessageRendererProps {
77
79
  sendMessage?: (msg: string) => void;
78
80
  isAgentWorking?: boolean;
79
81
  isWidgetDisabled?: boolean;
82
+ direction?: TextDirection;
80
83
  }
81
84
 
82
85
  export declare class AguiAdapter implements ProtocolAdapter {
@@ -511,6 +514,7 @@ export declare interface ChatIndicator {
511
514
  export declare interface ChatInnerMsgProps {
512
515
  msg: Message;
513
516
  isEmptyMessage: (v: any) => boolean;
517
+ dir?: TextDirection;
514
518
  }
515
519
 
516
520
  export declare type ChatInputMode = (typeof CHAT_INPUT_MODES)[keyof typeof CHAT_INPUT_MODES];
@@ -886,6 +890,8 @@ export declare interface QueuedMessage {
886
890
 
887
891
  export declare function refreshTokenApi(payload: RefreshRequest): Promise<RefreshApiResult>;
888
892
 
893
+ export declare const resetAllApiState: () => ThunkAction<void, unknown, unknown, UnknownAction>;
894
+
889
895
  export declare function resetChatLoggerForTests(): void;
890
896
 
891
897
  export declare const resetChatState: ActionCreatorWithoutPayload<"chat/resetChatState">;