ysyt-agent-sdk 1.0.25 → 1.0.27

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.
@@ -3,26 +3,20 @@ export declare class MySelect extends LitElement {
3
3
  placeholder: string;
4
4
  value: string | null;
5
5
  width: string | null;
6
- /** 是否展开菜单 */
7
6
  private open;
8
- /** 控制菜单动画显示 */
9
7
  private animating;
10
- /** 选中内容的克隆节点 */
11
8
  private selectedContent;
12
9
  static styles: import("lit").CSSResult;
13
10
  connectedCallback(): void;
14
11
  disconnectedCallback(): void;
15
- handleOutsideClick: (e: MouseEvent) => void;
16
- toggleDropdown(): void;
17
- openDropdown(): void;
18
- closeDropdown(): void;
19
- handleOptionClick(e: MouseEvent, optionEl: HTMLElement): void;
20
- /** 组件属性变化时,更新选中内容 */
12
+ private handleOutsideClick;
13
+ private toggleDropdown;
14
+ private openDropdown;
15
+ private closeDropdown;
16
+ private handleOptionClick;
21
17
  updated(changedProps: Map<string, unknown>): void;
22
- /** 根据当前 value 找对应选项内容 clone */
23
18
  private updateSelectedContent;
24
- /** 渲染选中内容,如果没有则渲染 placeholder */
25
19
  private renderSelectedLabel;
26
- renderSelectOptions(): TemplateResult<1>[];
20
+ private renderSelectOptions;
27
21
  render(): TemplateResult<1>;
28
22
  }
@@ -25,6 +25,7 @@ export declare class PhoneView {
25
25
  private consultShow;
26
26
  private modalRoot;
27
27
  private agentStateData;
28
+ private default_device;
28
29
  constructor({ container, rttHTML, statusParams }: Props, VoiceSDKInstance: YSYTAgentSdk);
29
30
  private eventHandle;
30
31
  private handleNetworkInfoChange;
@@ -32,6 +32,7 @@ declare class YSYTAgentSdk {
32
32
  consultTransfer?: undefined;
33
33
  mute?: undefined;
34
34
  unmute?: undefined;
35
+ satisfactionEvaluation?: undefined;
35
36
  } | {
36
37
  answerCall: any;
37
38
  makeCall: any;
@@ -44,6 +45,7 @@ declare class YSYTAgentSdk {
44
45
  consultTransfer: any;
45
46
  mute: any;
46
47
  unmute: any;
48
+ satisfactionEvaluation: any;
47
49
  };
48
50
  get agent_api(): {
49
51
  changeDevice?: undefined;
@@ -49,7 +49,9 @@ export declare enum CallSipCallEvent {
49
49
  CONSULT_TRANSFER_OFF_HOOK = "consult_transfer_off_hook",
50
50
  INCOMING_CALL = "incoming_call",
51
51
  INCOMING_CALL_OFF_HOOK = "incoming_call_off_hook",
52
- INCOMING_CALL_END = "incoming_call_end"
52
+ INCOMING_CALL_END = "incoming_call_end",
53
+ SATISFACTION_EVALUATION_SUCCESS = "satisfaction_evaluation_success",
54
+ SATISFACTION_EVALUATION_FAILED = "satisfaction_evaluation_failed"
53
55
  }
54
56
  export declare enum WebsocketTypeEnum {
55
57
  OUT_CALL = 100,
@@ -73,7 +75,8 @@ export declare enum WebsocketTypeEnum {
73
75
  CONSULT_TRANSFER_OFF_HOOK = 117,
74
76
  INCOMING_CALL = 119,
75
77
  INCOMING_CALL_OFF_HOOK = 120,
76
- INCOMING_CALL_END = 121
78
+ INCOMING_CALL_END = 121,
79
+ SATISFACTION_EVALUATION = 122
77
80
  }
78
81
  export declare enum EventName {
79
82
  EVENT_ALL = "event_all",