@telia-ace/widget-conversation-flamingo 1.1.52-rc.1 → 1.1.52
Sign up to get free protection for your applications and to get access to all the features.
- package/chat-session.d.ts +31 -0
- package/{conversation-session.d.ts → conversation-feed.d.ts} +3 -6
- package/conversation-platform.d.ts +1 -6
- package/conversation.d.ts +19 -12
- package/index.d.ts +1 -1
- package/index.js +834 -1
- package/index.mjs +4681 -9
- package/models/conversation-entry.d.ts +1 -0
- package/models/conversation-provider.d.ts +8 -3
- package/package.json +2 -3
- package/session-service.d.ts +21 -0
- package/state-machine.d.ts +21 -0
- package/uuid.d.ts +1 -0
- package/conversation-036b72c8.js +0 -810
- package/conversation-83e12020.mjs +0 -3006
- package/index-b1ff7a55.js +0 -3
- package/index-eaede34b.mjs +0 -1199
- package/models/conversation-session-state.d.ts +0 -21
@@ -1,21 +0,0 @@
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
2
|
-
import { ConversationEntry } from './conversation-entry';
|
3
|
-
import { ConversationProvider } from './conversation-provider';
|
4
|
-
import Conversation from '../conversation';
|
5
|
-
import { ConversationPlatform } from '../conversation-platform';
|
6
|
-
export declare class ConversationSessionState {
|
7
|
-
id: string;
|
8
|
-
component: Conversation;
|
9
|
-
private platform;
|
10
|
-
entries$: BehaviorSubject<ConversationEntry[]>;
|
11
|
-
private kill$;
|
12
|
-
private provider?;
|
13
|
-
private isTyping$;
|
14
|
-
constructor(id: string, component: Conversation, platform: ConversationPlatform);
|
15
|
-
private write;
|
16
|
-
entries(): Observable<ConversationEntry[]>;
|
17
|
-
setProvider(provider: ConversationProvider, options?: Record<string, any>): void;
|
18
|
-
handover(providerKey: string, handoverOptions?: Record<string, any>): Observable<void>;
|
19
|
-
addEntryRemoveHandler(entry: ConversationEntry): void;
|
20
|
-
isTyping(): Observable<boolean>;
|
21
|
-
}
|