@telia-ace/ace-chat-flamingo 1.1.123-rc.41 → 1.1.123-rc.43

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/client.d.ts CHANGED
@@ -6,11 +6,11 @@ export type ChatReadResponse = {
6
6
  export type VideoChatMode = 'enabled' | 'disabled' | 'requested';
7
7
  export declare class Client {
8
8
  private readonly endpoint;
9
- private readonly timeout?;
10
9
  private readonly protocolVersion;
10
+ private readonly timeout;
11
11
  private penStatusTimer;
12
12
  private penStatusJustSent;
13
- constructor(endpoint: string, timeout?: number | undefined);
13
+ constructor(endpoint: string);
14
14
  chatJoin(payload: {
15
15
  uid: string;
16
16
  customerName: string;
@@ -41,6 +41,7 @@ export declare class Client {
41
41
  instance: string;
42
42
  entrance: string;
43
43
  maxObjectId: number;
44
+ protocolVersion?: string;
44
45
  }): Promise<ChatReadResponse>;
45
46
  sendPenStatusOn(payload: {
46
47
  uid: string;
package/engine.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { EngineAction } from './types';
2
+ import { EngineAction, EngineConfig } from './types';
3
3
  import { ChatReadResponse } from './client';
4
4
  type ReceiveMessage = {
5
5
  text: string;
@@ -7,26 +7,6 @@ type ReceiveMessage = {
7
7
  invitationNo?: string;
8
8
  alias?: string;
9
9
  };
10
- export type EngineConfig = {
11
- engineTimeout: number;
12
- instance: string;
13
- engineUrl: string;
14
- webApiUrl: string;
15
- protocolVersion: string;
16
- includeConversationHistory: boolean;
17
- writeInQueue: boolean;
18
- notifyWithSound: boolean;
19
- queueMessageInterval: number;
20
- entrance: string;
21
- defaultErrand: string;
22
- videoChatMode: string;
23
- errorMessage?: string;
24
- shouldUseAuth: boolean;
25
- idHubUrl: string;
26
- idHubCustomerKey: string;
27
- idHubEidType: string;
28
- idHubOrgKey: string;
29
- };
30
10
  export declare class Engine {
31
11
  config: EngineConfig;
32
12
  private readonly client;