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

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.5",
3
+ "version": "1.1.120-rc.7",
4
4
  "dependencies": {
5
- "@telia-ace/widget-core-flamingo": "1.1.120-rc.5",
6
- "@telia-ace/widget-conversation-flamingo": "1.1.120-rc.5",
5
+ "@telia-ace/widget-core-flamingo": "1.1.120-rc.7",
6
+ "@telia-ace/widget-conversation-flamingo": "1.1.120-rc.7",
7
7
  "rxjs": "^7.8.2",
8
8
  "lit": "^3.0.2",
9
9
  "@teliads/icons": "^8.4.0",
package/provider.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare class ChatProvider extends ConversationProvider {
8
8
  private readonly texts;
9
9
  private readonly isThirdPartyParticipant;
10
10
  private readonly disconnected$;
11
- private idHubClient?;
11
+ private readonly idHubClient?;
12
12
  private engine?;
13
13
  private agentUsername;
14
14
  private videoConfirmDialogEntry;
@@ -39,10 +39,10 @@ export declare class ChatProvider extends ConversationProvider {
39
39
  private readonly _onChatEnded;
40
40
  private _removeHeaderOptions;
41
41
  private _addHeaderOptions;
42
- private headerComponent;
43
- private params;
44
- private invitationUid;
45
- private customerName;
42
+ private readonly headerComponent;
43
+ private readonly params;
44
+ private readonly invitationUid;
45
+ private readonly customerName;
46
46
  private _startChat;
47
47
  private _restartNewChat;
48
48
  showSurvey(): void;
@@ -50,7 +50,7 @@ export declare class ChatProvider extends ConversationProvider {
50
50
  handleAuthentication(idref: ConversationEntry | undefined): Promise<void>;
51
51
  handleWelcomeForm(engineConfig: EngineConfig): Promise<void>;
52
52
  initializeChat(engineConfig: EngineConfig): Promise<void>;
53
- showTunnistusLinkButton(tunnistusURL: string): ConversationEntry;
53
+ showTunnistusAuthCard(tunnistusURL: string): ConversationEntry;
54
54
  showWelcomeForm(): void;
55
55
  showEntranceClosedDialog(): void;
56
56
  _setQueueStatus(status: string | null): void;
package/types.d.ts CHANGED
@@ -114,3 +114,8 @@ export declare const isVideoPreparedAction: (action: EngineAction) => action is
114
114
  export declare const isChatButtonClickedAction: (action: EngineAction) => action is ChatButtonClickedAction;
115
115
  export declare const isEndVideoButtonClickedAction: (action: EngineAction) => action is EndVideoButtonClickedAction;
116
116
  export declare const isChatEndedAction: (action: EngineAction) => action is ChatEndedAction;
117
+ export type AuthenticationInfo = {
118
+ authenticated: boolean;
119
+ name?: string;
120
+ [key: string]: any;
121
+ };
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from 'lit';
2
- export declare class TunnistusLinkButton extends LitElement {
3
- static styles: import('lit').CSSResult[];
4
- private tunnistusURL;
2
+ export declare class TunnistusAuthCard extends LitElement {
3
+ static readonly styles: import('lit').CSSResult[];
4
+ private readonly tunnistusURL;
5
5
  constructor(params?: {
6
6
  [key: string]: string;
7
7
  });
@@ -1,14 +1,14 @@
1
1
  import { LitElement, nothing } from 'lit';
2
2
  import { CustomDataEntry } from '../types';
3
3
  export declare class StartChatForm extends LitElement {
4
- static styles: import('lit').CSSResult[];
4
+ static readonly styles: import('lit').CSSResult[];
5
5
  submitted: boolean;
6
6
  customData: CustomDataEntry[];
7
7
  customerName: string;
8
8
  validationErrors: string[];
9
9
  showValidationWarning: boolean;
10
- private application;
11
- private emailController;
10
+ private readonly application;
11
+ private readonly emailController;
12
12
  constructor();
13
13
  connectedCallback(): void;
14
14
  _onStartChat(event: SubmitEvent): void;