@94ai/nf-softphone 7.0.0 → 8.0.5

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.
@@ -215,6 +215,18 @@ __sfc_main.setup = (__props, __ctx) => {
215
215
  emit("softphone-send-dtmf", data);
216
216
  } else if (data.type === "softphone-connect-registered") {
217
217
  emit("softphone-connect-registered", data);
218
+ } else if (data.type === "softphone-sign-overdued") {
219
+ const done = (data2) => {
220
+ const {
221
+ sign,
222
+ timestamp
223
+ } = data2;
224
+ signOverdued({
225
+ sign,
226
+ timestamp
227
+ });
228
+ };
229
+ emit("softphone-sign-overdued", done);
218
230
  }
219
231
  }
220
232
  }
@@ -350,27 +362,33 @@ __sfc_main.setup = (__props, __ctx) => {
350
362
  timer = void 0;
351
363
  }
352
364
  });
353
- const postMessageCommunicate = (type, status) => {
365
+ const postMessageCommunicate = (type, data = {}, operationType = "manual", ancestorOrigin = props.ancestorOrigin, destinationOrigin = props.destinationOrigin) => {
354
366
  var _a2;
355
367
  (_a2 = iframeDom.value) == null ? void 0 : _a2.contentWindow.postMessage(JSON.stringify({
356
368
  origin: "nf-softphone",
357
- ancestorOrigin: props.ancestorOrigin,
358
- destinationOrigin: props.destinationOrigin,
369
+ ancestorOrigin: ancestorOrigin || props.ancestorOrigin,
370
+ destinationOrigin: destinationOrigin || props.destinationOrigin,
359
371
  type,
360
372
  data: {
361
- status,
362
- type: "manual"
373
+ ...data,
374
+ type: operationType
363
375
  }
364
376
  }), "*");
365
377
  };
366
378
  const connect = () => {
367
- postMessageCommunicate("softphone-connect", true);
379
+ postMessageCommunicate("softphone-connect", {
380
+ status: true
381
+ });
368
382
  };
369
383
  const disconnect = () => {
370
- postMessageCommunicate("softphone-connect", false);
384
+ postMessageCommunicate("softphone-connect", {
385
+ status: false
386
+ });
371
387
  };
372
388
  const seatsStatusChange = (status) => {
373
- postMessageCommunicate("softphone-seats-status-change", status);
389
+ postMessageCommunicate("softphone-seats-status-change", {
390
+ status
391
+ });
374
392
  };
375
393
  const accept = () => {
376
394
  postMessageCommunicate("softphone-accept");
@@ -384,6 +402,9 @@ __sfc_main.setup = (__props, __ctx) => {
384
402
  const sendDtmf = () => {
385
403
  postMessageCommunicate("softphone-send-dtmf");
386
404
  };
405
+ const signOverdued = (data) => {
406
+ postMessageCommunicate("softphone-sign-overdued", data, "auto", props.ancestorOrigin, "ai-softphone");
407
+ };
387
408
  return Object.assign({
388
409
  container,
389
410
  iframeContainer,
@@ -505,6 +526,12 @@ class SoftphoneManager {
505
526
  },
506
527
  softphoneConnectRegisteredCallBack: () => {
507
528
  console.log("softphone-connect-registered");
529
+ },
530
+ softphoneSignOverduedCallBack: (done) => {
531
+ done({
532
+ timestamp: void 0,
533
+ sign: void 0
534
+ });
508
535
  }
509
536
  };
510
537
  this.loadCssCode = (code) => {
@@ -535,8 +562,19 @@ class SoftphoneManager {
535
562
  var _a;
536
563
  return ((_a = this.getContextDomElement(this.option.el)) == null ? void 0 : _a.querySelector(el)) || this.getContextDomElement(el) || document.querySelector(el);
537
564
  };
565
+ this.signOverdued = (data) => {
566
+ var _a;
567
+ const iframe = this.getSoftphoneDomElement(".nf-softphone-iframe");
568
+ (_a = iframe == null ? void 0 : iframe.contentWindow) == null ? void 0 : _a.postMessage(JSON.stringify({
569
+ origin: "nf-softphone",
570
+ ancestorOrigin: this.option.ancestorOrigin,
571
+ destinationOrigin: "ai-softphone",
572
+ type: "softphone-sign-overdued",
573
+ data
574
+ }), "*");
575
+ };
538
576
  this.handlingCommunication = (e) => {
539
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
577
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;
540
578
  const iframe = this.getSoftphoneDomElement(".nf-softphone-iframe");
541
579
  if (iframe) {
542
580
  let data = {};
@@ -574,6 +612,18 @@ class SoftphoneManager {
574
612
  (_r = (_q = this.option).softphoneSendDtmfCallBack) == null ? void 0 : _r.call(_q, data);
575
613
  } else if (data.type === "softphone-connect-registered") {
576
614
  (_t = (_s = this.option).softphoneConnectRegisteredCallBack) == null ? void 0 : _t.call(_s, data);
615
+ } else if (data.type === "softphone-sign-overdued") {
616
+ const done = (data2) => {
617
+ const {
618
+ sign,
619
+ timestamp
620
+ } = data2;
621
+ this.signOverdued({
622
+ sign,
623
+ timestamp
624
+ });
625
+ };
626
+ (_v = (_u = this.option).softphoneSignOverduedCallBack) == null ? void 0 : _v.call(_u, done);
577
627
  }
578
628
  }
579
629
  }
@@ -213,6 +213,18 @@ __sfc_main.setup = (__props, __ctx) => {
213
213
  emit("softphone-send-dtmf", data);
214
214
  } else if (data.type === "softphone-connect-registered") {
215
215
  emit("softphone-connect-registered", data);
216
+ } else if (data.type === "softphone-sign-overdued") {
217
+ const done = (data2) => {
218
+ const {
219
+ sign,
220
+ timestamp
221
+ } = data2;
222
+ signOverdued({
223
+ sign,
224
+ timestamp
225
+ });
226
+ };
227
+ emit("softphone-sign-overdued", done);
216
228
  }
217
229
  }
218
230
  }
@@ -348,27 +360,33 @@ __sfc_main.setup = (__props, __ctx) => {
348
360
  timer = void 0;
349
361
  }
350
362
  });
351
- const postMessageCommunicate = (type, status) => {
363
+ const postMessageCommunicate = (type, data = {}, operationType = "manual", ancestorOrigin = props.ancestorOrigin, destinationOrigin = props.destinationOrigin) => {
352
364
  var _a2;
353
365
  (_a2 = iframeDom.value) == null ? void 0 : _a2.contentWindow.postMessage(JSON.stringify({
354
366
  origin: "nf-softphone",
355
- ancestorOrigin: props.ancestorOrigin,
356
- destinationOrigin: props.destinationOrigin,
367
+ ancestorOrigin: ancestorOrigin || props.ancestorOrigin,
368
+ destinationOrigin: destinationOrigin || props.destinationOrigin,
357
369
  type,
358
370
  data: {
359
- status,
360
- type: "manual"
371
+ ...data,
372
+ type: operationType
361
373
  }
362
374
  }), "*");
363
375
  };
364
376
  const connect = () => {
365
- postMessageCommunicate("softphone-connect", true);
377
+ postMessageCommunicate("softphone-connect", {
378
+ status: true
379
+ });
366
380
  };
367
381
  const disconnect = () => {
368
- postMessageCommunicate("softphone-connect", false);
382
+ postMessageCommunicate("softphone-connect", {
383
+ status: false
384
+ });
369
385
  };
370
386
  const seatsStatusChange = (status) => {
371
- postMessageCommunicate("softphone-seats-status-change", status);
387
+ postMessageCommunicate("softphone-seats-status-change", {
388
+ status
389
+ });
372
390
  };
373
391
  const accept = () => {
374
392
  postMessageCommunicate("softphone-accept");
@@ -382,6 +400,9 @@ __sfc_main.setup = (__props, __ctx) => {
382
400
  const sendDtmf = () => {
383
401
  postMessageCommunicate("softphone-send-dtmf");
384
402
  };
403
+ const signOverdued = (data) => {
404
+ postMessageCommunicate("softphone-sign-overdued", data, "auto", props.ancestorOrigin, "ai-softphone");
405
+ };
385
406
  return Object.assign({
386
407
  container,
387
408
  iframeContainer,
@@ -503,6 +524,12 @@ class SoftphoneManager {
503
524
  },
504
525
  softphoneConnectRegisteredCallBack: () => {
505
526
  console.log("softphone-connect-registered");
527
+ },
528
+ softphoneSignOverduedCallBack: (done) => {
529
+ done({
530
+ timestamp: void 0,
531
+ sign: void 0
532
+ });
506
533
  }
507
534
  };
508
535
  this.loadCssCode = (code) => {
@@ -533,8 +560,19 @@ class SoftphoneManager {
533
560
  var _a;
534
561
  return ((_a = this.getContextDomElement(this.option.el)) == null ? void 0 : _a.querySelector(el)) || this.getContextDomElement(el) || document.querySelector(el);
535
562
  };
563
+ this.signOverdued = (data) => {
564
+ var _a;
565
+ const iframe = this.getSoftphoneDomElement(".nf-softphone-iframe");
566
+ (_a = iframe == null ? void 0 : iframe.contentWindow) == null ? void 0 : _a.postMessage(JSON.stringify({
567
+ origin: "nf-softphone",
568
+ ancestorOrigin: this.option.ancestorOrigin,
569
+ destinationOrigin: "ai-softphone",
570
+ type: "softphone-sign-overdued",
571
+ data
572
+ }), "*");
573
+ };
536
574
  this.handlingCommunication = (e) => {
537
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
575
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;
538
576
  const iframe = this.getSoftphoneDomElement(".nf-softphone-iframe");
539
577
  if (iframe) {
540
578
  let data = {};
@@ -572,6 +610,18 @@ class SoftphoneManager {
572
610
  (_r = (_q = this.option).softphoneSendDtmfCallBack) == null ? void 0 : _r.call(_q, data);
573
611
  } else if (data.type === "softphone-connect-registered") {
574
612
  (_t = (_s = this.option).softphoneConnectRegisteredCallBack) == null ? void 0 : _t.call(_s, data);
613
+ } else if (data.type === "softphone-sign-overdued") {
614
+ const done = (data2) => {
615
+ const {
616
+ sign,
617
+ timestamp
618
+ } = data2;
619
+ this.signOverdued({
620
+ sign,
621
+ timestamp
622
+ });
623
+ };
624
+ (_v = (_u = this.option).softphoneSignOverduedCallBack) == null ? void 0 : _v.call(_u, done);
575
625
  }
576
626
  }
577
627
  }
@@ -1,190 +1,191 @@
1
- import { Env } from './type';
2
- declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- sgGateway?: string | undefined;
4
- sgBase?: string | undefined;
5
- sgOpen?: string | undefined;
6
- sgDomain?: string | undefined;
7
- scrollingText?: string | undefined;
8
- scrollview?: string | undefined;
9
- envMap?: Partial<Record<Env, string>> | undefined;
10
- env?: Env | undefined;
11
- agentId?: string | undefined;
12
- agentTag?: string | undefined;
13
- appKey?: string | undefined;
14
- appSecret?: string | undefined;
15
- extStatus?: string | undefined;
16
- timestamp?: string | number | undefined;
17
- sign?: string | undefined;
18
- origin?: string | undefined;
19
- ancestorOrigin?: string | undefined;
20
- destinationOrigin?: string | undefined;
21
- callShow?: "0" | "1" | undefined;
22
- transferToLaborShow?: "0" | "1" | undefined;
23
- restShow?: "0" | "1" | undefined;
24
- networkDetectShow?: "0" | "1" | undefined;
25
- muteShow?: "0" | "1" | undefined;
26
- logShow?: "0" | "1" | undefined;
27
- timingShow?: "0" | "1" | undefined;
28
- signShow?: "0" | "1" | undefined;
29
- }>, {
30
- scrollingText: string;
31
- scrollview: undefined;
32
- envMap: () => {
33
- test: string;
34
- dev: string;
35
- sg: string;
36
- gray: string;
37
- prod: string;
38
- };
39
- env: string;
40
- sgGateway: undefined;
41
- sgBase: undefined;
42
- sgOpen: undefined;
43
- sgDomain: undefined;
44
- agentId: undefined;
45
- agentTag: undefined;
46
- appKey: undefined;
47
- appSecret: undefined;
48
- timestamp: undefined;
49
- sign: undefined;
50
- extStatus: string;
51
- origin: string;
52
- ancestorOrigin: string;
53
- destinationOrigin: string;
54
- callShow: string;
55
- transferToLaborShow: string;
56
- restShow: string;
57
- networkDetectShow: string;
58
- muteShow: string;
59
- logShow: string;
60
- timingShow: string;
61
- signShow: string;
62
- }>, {
63
- connect: () => void;
64
- disconnect: () => void;
65
- seatsStatusChange: (status: any) => void;
66
- accept: () => void;
67
- ignore: () => void;
68
- hangup: () => void;
69
- sendDtmf: () => void;
70
- iframeDom: import("vue-demi").Ref<any>;
71
- iframeContainer: import("vue-demi").Ref<any>;
72
- container: import("vue-demi").Ref<any>;
73
- containerScrolling: import("vue-demi").Ref<any>;
74
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
75
- "softphone-connect": (event: any) => void;
76
- "softphone-seats-status-change": (event: any) => void;
77
- "softphone-accept": (event: any) => void;
78
- "softphone-ignore": (event: any) => void;
79
- "softphone-hangup": (event: any) => void;
80
- "softphone-send-dtmf": (event: any) => void;
81
- "softphone-call-refresh": (event: any) => void;
82
- "softphone-session-state-change": (event: any) => void;
83
- "softphone-incoming": (event: any) => void;
84
- "softphone-connect-registered": (event: any) => void;
85
- }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
86
- sgGateway?: string | undefined;
87
- sgBase?: string | undefined;
88
- sgOpen?: string | undefined;
89
- sgDomain?: string | undefined;
90
- scrollingText?: string | undefined;
91
- scrollview?: string | undefined;
92
- envMap?: Partial<Record<Env, string>> | undefined;
93
- env?: Env | undefined;
94
- agentId?: string | undefined;
95
- agentTag?: string | undefined;
96
- appKey?: string | undefined;
97
- appSecret?: string | undefined;
98
- extStatus?: string | undefined;
99
- timestamp?: string | number | undefined;
100
- sign?: string | undefined;
101
- origin?: string | undefined;
102
- ancestorOrigin?: string | undefined;
103
- destinationOrigin?: string | undefined;
104
- callShow?: "0" | "1" | undefined;
105
- transferToLaborShow?: "0" | "1" | undefined;
106
- restShow?: "0" | "1" | undefined;
107
- networkDetectShow?: "0" | "1" | undefined;
108
- muteShow?: "0" | "1" | undefined;
109
- logShow?: "0" | "1" | undefined;
110
- timingShow?: "0" | "1" | undefined;
111
- signShow?: "0" | "1" | undefined;
112
- }>, {
113
- scrollingText: string;
114
- scrollview: undefined;
115
- envMap: () => {
116
- test: string;
117
- dev: string;
118
- sg: string;
119
- gray: string;
120
- prod: string;
121
- };
122
- env: string;
123
- sgGateway: undefined;
124
- sgBase: undefined;
125
- sgOpen: undefined;
126
- sgDomain: undefined;
127
- agentId: undefined;
128
- agentTag: undefined;
129
- appKey: undefined;
130
- appSecret: undefined;
131
- timestamp: undefined;
132
- sign: undefined;
133
- extStatus: string;
134
- origin: string;
135
- ancestorOrigin: string;
136
- destinationOrigin: string;
137
- callShow: string;
138
- transferToLaborShow: string;
139
- restShow: string;
140
- networkDetectShow: string;
141
- muteShow: string;
142
- logShow: string;
143
- timingShow: string;
144
- signShow: string;
145
- }>>>, {
146
- sgGateway: string;
147
- sgBase: string;
148
- sgOpen: string;
149
- sgDomain: string;
150
- scrollingText: string;
151
- scrollview: string;
152
- envMap: Partial<Record<Env, string>>;
153
- env: Env;
154
- agentId: string;
155
- agentTag: string;
156
- appKey: string;
157
- appSecret: string;
158
- extStatus: string;
159
- timestamp: string | number;
160
- sign: string;
161
- origin: string;
162
- ancestorOrigin: string;
163
- destinationOrigin: string;
164
- callShow: '0' | '1';
165
- transferToLaborShow: '0' | '1';
166
- restShow: '0' | '1';
167
- networkDetectShow: '0' | '1';
168
- muteShow: '0' | '1';
169
- logShow: '0' | '1';
170
- timingShow: '0' | '1';
171
- signShow: '0' | '1';
172
- }>;
173
- export default _default;
174
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
175
- declare type __VLS_TypePropsToRuntimeProps<T> = {
176
- [K in keyof T]-?: {} extends Pick<T, K> ? {
177
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
178
- } : {
179
- type: import('vue').PropType<T[K]>;
180
- required: true;
181
- };
182
- };
183
- declare type __VLS_WithDefaults<P, D> = {
184
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
185
- default: D[K];
186
- }> : P[K];
187
- };
188
- declare type __VLS_Prettify<T> = {
189
- [K in keyof T]: T[K];
190
- } & {};
1
+ import { Env } from './type';
2
+ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ sgGateway?: string | undefined;
4
+ sgBase?: string | undefined;
5
+ sgOpen?: string | undefined;
6
+ sgDomain?: string | undefined;
7
+ scrollingText?: string | undefined;
8
+ scrollview?: string | undefined;
9
+ envMap?: Partial<Record<Env, string>> | undefined;
10
+ env?: Env | undefined;
11
+ agentId?: string | undefined;
12
+ agentTag?: string | undefined;
13
+ appKey?: string | undefined;
14
+ appSecret?: string | undefined;
15
+ extStatus?: string | undefined;
16
+ timestamp?: string | number | undefined;
17
+ sign?: string | undefined;
18
+ origin?: string | undefined;
19
+ ancestorOrigin?: string | undefined;
20
+ destinationOrigin?: string | undefined;
21
+ callShow?: "0" | "1" | undefined;
22
+ transferToLaborShow?: "0" | "1" | undefined;
23
+ restShow?: "0" | "1" | undefined;
24
+ networkDetectShow?: "0" | "1" | undefined;
25
+ muteShow?: "0" | "1" | undefined;
26
+ logShow?: "0" | "1" | undefined;
27
+ timingShow?: "0" | "1" | undefined;
28
+ signShow?: "0" | "1" | undefined;
29
+ }>, {
30
+ scrollingText: string;
31
+ scrollview: undefined;
32
+ envMap: () => {
33
+ test: string;
34
+ dev: string;
35
+ sg: string;
36
+ gray: string;
37
+ prod: string;
38
+ };
39
+ env: string;
40
+ sgGateway: undefined;
41
+ sgBase: undefined;
42
+ sgOpen: undefined;
43
+ sgDomain: undefined;
44
+ agentId: undefined;
45
+ agentTag: undefined;
46
+ appKey: undefined;
47
+ appSecret: undefined;
48
+ timestamp: undefined;
49
+ sign: undefined;
50
+ extStatus: string;
51
+ origin: string;
52
+ ancestorOrigin: string;
53
+ destinationOrigin: string;
54
+ callShow: string;
55
+ transferToLaborShow: string;
56
+ restShow: string;
57
+ networkDetectShow: string;
58
+ muteShow: string;
59
+ logShow: string;
60
+ timingShow: string;
61
+ signShow: string;
62
+ }>, {
63
+ connect: () => void;
64
+ disconnect: () => void;
65
+ seatsStatusChange: (status: any) => void;
66
+ accept: () => void;
67
+ ignore: () => void;
68
+ hangup: () => void;
69
+ sendDtmf: () => void;
70
+ iframeDom: import("vue-demi").Ref<any>;
71
+ iframeContainer: import("vue-demi").Ref<any>;
72
+ container: import("vue-demi").Ref<any>;
73
+ containerScrolling: import("vue-demi").Ref<any>;
74
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
75
+ "softphone-connect": (event: any) => void;
76
+ "softphone-seats-status-change": (event: any) => void;
77
+ "softphone-accept": (event: any) => void;
78
+ "softphone-ignore": (event: any) => void;
79
+ "softphone-hangup": (event: any) => void;
80
+ "softphone-send-dtmf": (event: any) => void;
81
+ "softphone-call-refresh": (event: any) => void;
82
+ "softphone-session-state-change": (event: any) => void;
83
+ "softphone-incoming": (event: any) => void;
84
+ "softphone-connect-registered": (event: any) => void;
85
+ "softphone-sign-overdued": (event: any) => void;
86
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
87
+ sgGateway?: string | undefined;
88
+ sgBase?: string | undefined;
89
+ sgOpen?: string | undefined;
90
+ sgDomain?: string | undefined;
91
+ scrollingText?: string | undefined;
92
+ scrollview?: string | undefined;
93
+ envMap?: Partial<Record<Env, string>> | undefined;
94
+ env?: Env | undefined;
95
+ agentId?: string | undefined;
96
+ agentTag?: string | undefined;
97
+ appKey?: string | undefined;
98
+ appSecret?: string | undefined;
99
+ extStatus?: string | undefined;
100
+ timestamp?: string | number | undefined;
101
+ sign?: string | undefined;
102
+ origin?: string | undefined;
103
+ ancestorOrigin?: string | undefined;
104
+ destinationOrigin?: string | undefined;
105
+ callShow?: "0" | "1" | undefined;
106
+ transferToLaborShow?: "0" | "1" | undefined;
107
+ restShow?: "0" | "1" | undefined;
108
+ networkDetectShow?: "0" | "1" | undefined;
109
+ muteShow?: "0" | "1" | undefined;
110
+ logShow?: "0" | "1" | undefined;
111
+ timingShow?: "0" | "1" | undefined;
112
+ signShow?: "0" | "1" | undefined;
113
+ }>, {
114
+ scrollingText: string;
115
+ scrollview: undefined;
116
+ envMap: () => {
117
+ test: string;
118
+ dev: string;
119
+ sg: string;
120
+ gray: string;
121
+ prod: string;
122
+ };
123
+ env: string;
124
+ sgGateway: undefined;
125
+ sgBase: undefined;
126
+ sgOpen: undefined;
127
+ sgDomain: undefined;
128
+ agentId: undefined;
129
+ agentTag: undefined;
130
+ appKey: undefined;
131
+ appSecret: undefined;
132
+ timestamp: undefined;
133
+ sign: undefined;
134
+ extStatus: string;
135
+ origin: string;
136
+ ancestorOrigin: string;
137
+ destinationOrigin: string;
138
+ callShow: string;
139
+ transferToLaborShow: string;
140
+ restShow: string;
141
+ networkDetectShow: string;
142
+ muteShow: string;
143
+ logShow: string;
144
+ timingShow: string;
145
+ signShow: string;
146
+ }>>>, {
147
+ sgGateway: string;
148
+ sgBase: string;
149
+ sgOpen: string;
150
+ sgDomain: string;
151
+ scrollingText: string;
152
+ scrollview: string;
153
+ envMap: Partial<Record<Env, string>>;
154
+ env: Env;
155
+ agentId: string;
156
+ agentTag: string;
157
+ appKey: string;
158
+ appSecret: string;
159
+ extStatus: string;
160
+ timestamp: string | number;
161
+ sign: string;
162
+ origin: string;
163
+ ancestorOrigin: string;
164
+ destinationOrigin: string;
165
+ callShow: '0' | '1';
166
+ transferToLaborShow: '0' | '1';
167
+ restShow: '0' | '1';
168
+ networkDetectShow: '0' | '1';
169
+ muteShow: '0' | '1';
170
+ logShow: '0' | '1';
171
+ timingShow: '0' | '1';
172
+ signShow: '0' | '1';
173
+ }>;
174
+ export default _default;
175
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
176
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
177
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
178
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
179
+ } : {
180
+ type: import('vue').PropType<T[K]>;
181
+ required: true;
182
+ };
183
+ };
184
+ declare type __VLS_WithDefaults<P, D> = {
185
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
186
+ default: D[K];
187
+ }> : P[K];
188
+ };
189
+ declare type __VLS_Prettify<T> = {
190
+ [K in keyof T]: T[K];
191
+ } & {};