@telia-ace/ace-chat-flamingo 1.1.120-rc.7 → 1.1.120-rc.8

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/ace-chat-flamingo",
3
- "version": "1.1.120-rc.7",
3
+ "version": "1.1.120-rc.8",
4
4
  "dependencies": {
5
- "@telia-ace/widget-core-flamingo": "1.1.120-rc.7",
6
- "@telia-ace/widget-conversation-flamingo": "1.1.120-rc.7",
5
+ "@telia-ace/widget-core-flamingo": "1.1.120-rc.8",
6
+ "@telia-ace/widget-conversation-flamingo": "1.1.120-rc.8",
7
7
  "rxjs": "^7.8.2",
8
8
  "lit": "^3.0.2",
9
9
  "@teliads/icons": "^8.4.0",
package/provider.d.ts CHANGED
@@ -1,14 +1,17 @@
1
1
  import { ConversationEntry, ConversationProvider } from '../../conversation/src/index.ts';
2
- import { EngineConfig } from './engine';
3
2
  export declare class ChatProvider extends ConversationProvider {
4
3
  private readonly properties;
5
- private readonly agent;
6
- private readonly user;
7
4
  private readonly pendingMessages;
5
+ private readonly idHubClient?;
8
6
  private readonly texts;
7
+ private readonly headerComponent;
9
8
  private readonly isThirdPartyParticipant;
9
+ private readonly agent;
10
+ private readonly user;
11
+ private readonly params;
12
+ private readonly invitationUid;
13
+ private readonly customerName;
10
14
  private readonly disconnected$;
11
- private readonly idHubClient?;
12
15
  private engine?;
13
16
  private agentUsername;
14
17
  private videoConfirmDialogEntry;
@@ -25,56 +28,51 @@ export declare class ChatProvider extends ConversationProvider {
25
28
  private chatOverlayActive;
26
29
  private inVideoCall;
27
30
  constructor(name: string, component: any);
28
- static getInstance(key: string, component: any): ChatProvider;
29
31
  connect(conversationOptions?: Record<string, any>): void;
30
- setHeaderOption(): Promise<void>;
31
32
  disconnected(): void;
32
- private readonly _onQueueStatusReceived;
33
- private readonly _onEstablished;
34
- private readonly _onPrepareVideo;
35
- private readonly _onVideoPrepared;
36
- private readonly _onChatButtonClicked;
37
- private readonly _onEndVideoButtonClicked;
38
- private readonly _onPenStatusChange;
39
- private readonly _onChatEnded;
40
- private _removeHeaderOptions;
41
- private _addHeaderOptions;
42
- private readonly headerComponent;
43
- private readonly params;
44
- private readonly invitationUid;
45
- private readonly customerName;
46
- private _startChat;
47
- private _restartNewChat;
48
- showSurvey(): void;
49
- startAuthenticationFlow(): Promise<void>;
50
- handleAuthentication(idref: ConversationEntry | undefined): Promise<void>;
51
- handleWelcomeForm(engineConfig: EngineConfig): Promise<void>;
52
- initializeChat(engineConfig: EngineConfig): Promise<void>;
53
- showTunnistusAuthCard(tunnistusURL: string): ConversationEntry;
54
- showWelcomeForm(): void;
55
- showEntranceClosedDialog(): void;
56
- _setQueueStatus(status: string | null): void;
57
- showLogoutConfirmDialog(): void;
58
- showQuitConfirmDialog(): void;
59
- showConversationEndedForm(): void;
60
- prepareVideo(): void;
61
- showVideo(userUrl: string): void;
62
- showChatOverVideo(guestId: string): void;
63
- handleEndVideoConference(guestId: string): void;
64
- printAgent(text: string, alias?: string): ConversationEntry;
65
- printUser(text: string): ConversationEntry;
66
- printSystem(text: string): ConversationEntry;
67
- private _setEndConversationOption;
68
- private _setStartNewChatOption;
69
- private removeVideo;
70
- endConversation(): Promise<void>;
71
- private sendConversationEmail;
72
- private _clearPendingMessages;
73
- private _setSessionId;
74
33
  onUserSubmit(action: {
75
34
  text: string;
76
35
  }): void;
77
- rehydrate(data: Record<string, any>): Promise<void>;
78
36
  save(data: any): void;
37
+ rehydrate(data: Record<string, any>): Promise<void>;
38
+ static getInstance(key: string, component: any): ChatProvider;
39
+ showLogoutConfirmDialog(): void;
40
+ handleAuthentication(idref: ConversationEntry | undefined): Promise<void>;
41
+ private initializeChat;
42
+ private startAuthenticationFlow;
43
+ private handleWelcomeForm;
44
+ private startChat;
45
+ private restartNewChat;
46
+ private setQueueStatus;
47
+ private endConversation;
48
+ private sendConversationEmail;
49
+ private clearPendingMessages;
50
+ private setSessionId;
79
51
  private isEntranceOpen;
52
+ private readonly onQueueStatusReceived;
53
+ private readonly onEstablished;
54
+ private readonly onPrepareVideo;
55
+ private readonly onVideoPrepared;
56
+ private readonly onChatButtonClicked;
57
+ private readonly onEndVideoButtonClicked;
58
+ private readonly onPenStatusChange;
59
+ private readonly onChatEnded;
60
+ private printAgent;
61
+ private printUser;
62
+ private printSystem;
63
+ private showSurvey;
64
+ private showTunnistusAuthCard;
65
+ private showWelcomeForm;
66
+ private showEntranceClosedDialog;
67
+ private showQuitConfirmDialog;
68
+ private showConversationEndedForm;
69
+ private showVideoConfirmDialog;
70
+ private showVideoIFrame;
71
+ private showChatOverVideo;
72
+ private removeVideo;
73
+ private addHeaderOptions;
74
+ private removeHeaderOptions;
75
+ private setStartNewChatOption;
76
+ private setEndConversationOption;
77
+ private setHeaderOption;
80
78
  }