@94ai/nf-microphone 9.0.0 → 10.0.0

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.
@@ -1,311 +1,311 @@
1
- import { Env } from './types';
2
- declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- mode?: "qiankun" | "wujie" | undefined;
4
- envMap?: Partial<Record<Env, Record<string, any>>> | undefined;
5
- env?: Env | undefined;
6
- agentId?: string | undefined;
7
- agentTag?: string | undefined;
8
- appKey?: string | undefined;
9
- appSecret?: string | undefined;
10
- timestamp?: string | number | undefined;
11
- sign?: string | undefined;
12
- extStatus?: string | undefined;
13
- origin?: string | undefined;
14
- ancestorOrigin?: string | undefined;
15
- destinationOrigin?: string | undefined;
16
- callShow?: "0" | "1" | undefined;
17
- transferToLaborShow?: "0" | "1" | undefined;
18
- restShow?: "0" | "1" | undefined;
19
- networkDetectShow?: "0" | "1" | undefined;
20
- muteShow?: "0" | "1" | undefined;
21
- logShow?: "0" | "1" | undefined;
22
- timingShow?: "0" | "1" | undefined;
23
- signShow?: "0" | "1" | undefined;
24
- lang?: "zh" | "en" | undefined;
25
- name?: string | undefined;
26
- extensionInfo?: {
27
- status: 0 | 1;
28
- wsRegisterAddress?: string | undefined;
29
- wsProtocol?: string | undefined;
30
- accountCode?: string | undefined;
31
- } | undefined;
32
- blackList?: string[] | undefined;
33
- extPassword?: string | undefined;
34
- extensionNumber?: string | undefined;
35
- wsRegisterAddress?: string | undefined;
36
- wsProtocol?: string | undefined;
37
- isOem?: boolean | undefined;
38
- numberKeyBoard?: boolean | undefined;
39
- accessMode?: "mobile" | "pc" | undefined;
40
- sipHeaders?: string[] | undefined;
41
- sgGateway?: string | undefined;
42
- open?: string | undefined;
43
- sgOpen?: string | undefined;
44
- sgDomain?: string | undefined;
45
- sgBase?: string | undefined;
46
- token?: string | undefined;
47
- timeZone?: string | undefined;
48
- getOfflineInfo?: Function | undefined;
49
- changeALittleRest?: Function | undefined;
50
- quickCallWin?: Function | undefined;
51
- phoneRegex?: string | undefined;
52
- account?: string | undefined;
53
- extAccount?: string | undefined;
54
- socketHost?: string | undefined;
55
- sid?: number | undefined;
56
- uid?: number | undefined;
57
- newUserId?: number | undefined;
58
- companyId?: number | undefined;
59
- company?: string | undefined;
60
- countryId?: number | undefined;
61
- countryName?: string | undefined;
62
- authUserType?: 2 | 1 | 4 | 3 | undefined;
63
- userType?: 2 | 1 | 4 | 3 | undefined;
64
- recordPath?: string | undefined;
65
- constMap?: Record<string, any> | undefined;
66
- }>, {
67
- mode: string;
68
- envMap: () => {
69
- dev: {
70
- host: string;
71
- port: string;
72
- base: string;
73
- };
74
- test: {
75
- host: string;
76
- port: string;
77
- base: string;
78
- };
79
- sg: {
80
- host: string;
81
- port: number;
82
- base: string;
83
- };
84
- gray: {
85
- host: string;
86
- port: number;
87
- base: string;
88
- };
89
- prod: {
90
- host: string;
91
- port: number;
92
- base: string;
93
- };
94
- };
95
- env: string;
96
- extStatus: string;
97
- origin: string;
98
- ancestorOrigin: string;
99
- destinationOrigin: string;
100
- timestamp: undefined;
101
- sign: undefined;
102
- callShow: string;
103
- transferToLaborShow: string;
104
- restShow: string;
105
- networkDetectShow: string;
106
- muteShow: string;
107
- logShow: string;
108
- timingShow: string;
109
- signShow: string;
110
- lang: string;
111
- name: string;
112
- blackList: () => string[];
113
- isOem: boolean;
114
- accessMode: string;
115
- numberKeyBoard: boolean;
116
- sgOpen: undefined;
117
- sgDomain: undefined;
118
- sgBase: undefined;
119
- sgGateway: undefined;
120
- open: string;
121
- }>, {
122
- connect: () => void;
123
- disconnect: () => void;
124
- seatsStatusChange: (status: boolean) => void;
125
- accept: () => void;
126
- ignore: () => void;
127
- hangup: () => void;
128
- sendDtmf: () => void;
129
- changeServerToRegister: () => void;
130
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
131
- "softphone-connect": (event: any) => void;
132
- "softphone-seats-status-change": (event: any) => void;
133
- "softphone-accept": (event: any) => void;
134
- "softphone-ignore": (event: any) => void;
135
- "softphone-hangup": (event: any) => void;
136
- "softphone-send-dtmf": (event: any) => void;
137
- "softphone-call-refresh": (event: any) => void;
138
- "softphone-session-state-change": (event: any) => void;
139
- "softphone-incoming": (event: any) => void;
140
- "softphone-auto-ignore-callback": (event: any) => void;
141
- "softphone-connect-registered": (event: any) => void;
142
- "softphone-sign-overdued": (event: any) => void;
143
- "update:sign": (event: any) => void;
144
- "update:timestamp": (event: any) => void;
145
- }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
146
- mode?: "qiankun" | "wujie" | undefined;
147
- envMap?: Partial<Record<Env, Record<string, any>>> | undefined;
148
- env?: Env | undefined;
149
- agentId?: string | undefined;
150
- agentTag?: string | undefined;
151
- appKey?: string | undefined;
152
- appSecret?: string | undefined;
153
- timestamp?: string | number | undefined;
154
- sign?: string | undefined;
155
- extStatus?: string | undefined;
156
- origin?: string | undefined;
157
- ancestorOrigin?: string | undefined;
158
- destinationOrigin?: string | undefined;
159
- callShow?: "0" | "1" | undefined;
160
- transferToLaborShow?: "0" | "1" | undefined;
161
- restShow?: "0" | "1" | undefined;
162
- networkDetectShow?: "0" | "1" | undefined;
163
- muteShow?: "0" | "1" | undefined;
164
- logShow?: "0" | "1" | undefined;
165
- timingShow?: "0" | "1" | undefined;
166
- signShow?: "0" | "1" | undefined;
167
- lang?: "zh" | "en" | undefined;
168
- name?: string | undefined;
169
- extensionInfo?: {
170
- status: 0 | 1;
171
- wsRegisterAddress?: string | undefined;
172
- wsProtocol?: string | undefined;
173
- accountCode?: string | undefined;
174
- } | undefined;
175
- blackList?: string[] | undefined;
176
- extPassword?: string | undefined;
177
- extensionNumber?: string | undefined;
178
- wsRegisterAddress?: string | undefined;
179
- wsProtocol?: string | undefined;
180
- isOem?: boolean | undefined;
181
- numberKeyBoard?: boolean | undefined;
182
- accessMode?: "mobile" | "pc" | undefined;
183
- sipHeaders?: string[] | undefined;
184
- sgGateway?: string | undefined;
185
- open?: string | undefined;
186
- sgOpen?: string | undefined;
187
- sgDomain?: string | undefined;
188
- sgBase?: string | undefined;
189
- token?: string | undefined;
190
- timeZone?: string | undefined;
191
- getOfflineInfo?: Function | undefined;
192
- changeALittleRest?: Function | undefined;
193
- quickCallWin?: Function | undefined;
194
- phoneRegex?: string | undefined;
195
- account?: string | undefined;
196
- extAccount?: string | undefined;
197
- socketHost?: string | undefined;
198
- sid?: number | undefined;
199
- uid?: number | undefined;
200
- newUserId?: number | undefined;
201
- companyId?: number | undefined;
202
- company?: string | undefined;
203
- countryId?: number | undefined;
204
- countryName?: string | undefined;
205
- authUserType?: 2 | 1 | 4 | 3 | undefined;
206
- userType?: 2 | 1 | 4 | 3 | undefined;
207
- recordPath?: string | undefined;
208
- constMap?: Record<string, any> | undefined;
209
- }>, {
210
- mode: string;
211
- envMap: () => {
212
- dev: {
213
- host: string;
214
- port: string;
215
- base: string;
216
- };
217
- test: {
218
- host: string;
219
- port: string;
220
- base: string;
221
- };
222
- sg: {
223
- host: string;
224
- port: number;
225
- base: string;
226
- };
227
- gray: {
228
- host: string;
229
- port: number;
230
- base: string;
231
- };
232
- prod: {
233
- host: string;
234
- port: number;
235
- base: string;
236
- };
237
- };
238
- env: string;
239
- extStatus: string;
240
- origin: string;
241
- ancestorOrigin: string;
242
- destinationOrigin: string;
243
- timestamp: undefined;
244
- sign: undefined;
245
- callShow: string;
246
- transferToLaborShow: string;
247
- restShow: string;
248
- networkDetectShow: string;
249
- muteShow: string;
250
- logShow: string;
251
- timingShow: string;
252
- signShow: string;
253
- lang: string;
254
- name: string;
255
- blackList: () => string[];
256
- isOem: boolean;
257
- accessMode: string;
258
- numberKeyBoard: boolean;
259
- sgOpen: undefined;
260
- sgDomain: undefined;
261
- sgBase: undefined;
262
- sgGateway: undefined;
263
- open: string;
264
- }>>>, {
265
- mode: 'qiankun' | 'wujie';
266
- envMap: Partial<Record<Env, Record<string, any>>>;
267
- env: Env;
268
- timestamp: string | number;
269
- sign: string;
270
- extStatus: string;
271
- origin: string;
272
- ancestorOrigin: string;
273
- destinationOrigin: string;
274
- callShow: '0' | '1';
275
- transferToLaborShow: '0' | '1';
276
- restShow: '0' | '1';
277
- networkDetectShow: '0' | '1';
278
- muteShow: '0' | '1';
279
- logShow: '0' | '1';
280
- timingShow: '0' | '1';
281
- signShow: '0' | '1';
282
- lang: 'zh' | 'en';
283
- name: string;
284
- blackList: string[];
285
- isOem: boolean;
286
- numberKeyBoard: boolean;
287
- accessMode: 'mobile' | 'pc';
288
- sgGateway: string;
289
- open: string;
290
- sgOpen: string;
291
- sgDomain: string;
292
- sgBase: string;
293
- }>;
294
- export default _default;
295
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
296
- declare type __VLS_TypePropsToRuntimeProps<T> = {
297
- [K in keyof T]-?: {} extends Pick<T, K> ? {
298
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
299
- } : {
300
- type: import('vue').PropType<T[K]>;
301
- required: true;
302
- };
303
- };
304
- declare type __VLS_WithDefaults<P, D> = {
305
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
306
- default: D[K];
307
- }> : P[K];
308
- };
309
- declare type __VLS_Prettify<T> = {
310
- [K in keyof T]: T[K];
311
- } & {};
1
+ import { Env } from './types';
2
+ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ mode?: "qiankun" | "wujie" | undefined;
4
+ envMap?: Partial<Record<Env, Record<string, any>>> | undefined;
5
+ env?: Env | undefined;
6
+ agentId?: string | undefined;
7
+ agentTag?: string | undefined;
8
+ appKey?: string | undefined;
9
+ appSecret?: string | undefined;
10
+ timestamp?: string | number | undefined;
11
+ sign?: string | undefined;
12
+ extStatus?: string | undefined;
13
+ origin?: string | undefined;
14
+ ancestorOrigin?: string | undefined;
15
+ destinationOrigin?: string | undefined;
16
+ callShow?: "0" | "1" | undefined;
17
+ transferToLaborShow?: "0" | "1" | undefined;
18
+ restShow?: "0" | "1" | undefined;
19
+ networkDetectShow?: "0" | "1" | undefined;
20
+ muteShow?: "0" | "1" | undefined;
21
+ logShow?: "0" | "1" | undefined;
22
+ timingShow?: "0" | "1" | undefined;
23
+ signShow?: "0" | "1" | undefined;
24
+ lang?: "zh" | "en" | undefined;
25
+ name?: string | undefined;
26
+ extensionInfo?: {
27
+ status: 0 | 1;
28
+ wsRegisterAddress?: string | undefined;
29
+ wsProtocol?: string | undefined;
30
+ accountCode?: string | undefined;
31
+ } | undefined;
32
+ blackList?: string[] | undefined;
33
+ extPassword?: string | undefined;
34
+ extensionNumber?: string | undefined;
35
+ wsRegisterAddress?: string | undefined;
36
+ wsProtocol?: string | undefined;
37
+ isOem?: boolean | undefined;
38
+ numberKeyBoard?: boolean | undefined;
39
+ accessMode?: "mobile" | "pc" | undefined;
40
+ sipHeaders?: string[] | undefined;
41
+ sgGateway?: string | undefined;
42
+ open?: string | undefined;
43
+ sgOpen?: string | undefined;
44
+ sgDomain?: string | undefined;
45
+ sgBase?: string | undefined;
46
+ token?: string | undefined;
47
+ timeZone?: string | undefined;
48
+ getOfflineInfo?: Function | undefined;
49
+ changeALittleRest?: Function | undefined;
50
+ quickCallWin?: Function | undefined;
51
+ phoneRegex?: string | undefined;
52
+ account?: string | undefined;
53
+ extAccount?: string | undefined;
54
+ socketHost?: string | undefined;
55
+ sid?: number | undefined;
56
+ uid?: number | undefined;
57
+ newUserId?: number | undefined;
58
+ companyId?: number | undefined;
59
+ company?: string | undefined;
60
+ countryId?: number | undefined;
61
+ countryName?: string | undefined;
62
+ authUserType?: 2 | 1 | 4 | 3 | undefined;
63
+ userType?: 2 | 1 | 4 | 3 | undefined;
64
+ recordPath?: string | undefined;
65
+ constMap?: Record<string, any> | undefined;
66
+ }>, {
67
+ mode: string;
68
+ envMap: () => {
69
+ dev: {
70
+ host: string;
71
+ port: string;
72
+ base: string;
73
+ };
74
+ test: {
75
+ host: string;
76
+ port: string;
77
+ base: string;
78
+ };
79
+ sg: {
80
+ host: string;
81
+ port: number;
82
+ base: string;
83
+ };
84
+ gray: {
85
+ host: string;
86
+ port: number;
87
+ base: string;
88
+ };
89
+ prod: {
90
+ host: string;
91
+ port: number;
92
+ base: string;
93
+ };
94
+ };
95
+ env: string;
96
+ extStatus: string;
97
+ origin: string;
98
+ ancestorOrigin: string;
99
+ destinationOrigin: string;
100
+ timestamp: undefined;
101
+ sign: undefined;
102
+ callShow: string;
103
+ transferToLaborShow: string;
104
+ restShow: string;
105
+ networkDetectShow: string;
106
+ muteShow: string;
107
+ logShow: string;
108
+ timingShow: string;
109
+ signShow: string;
110
+ lang: string;
111
+ name: string;
112
+ blackList: () => string[];
113
+ isOem: boolean;
114
+ accessMode: string;
115
+ numberKeyBoard: boolean;
116
+ sgOpen: undefined;
117
+ sgDomain: undefined;
118
+ sgBase: undefined;
119
+ sgGateway: undefined;
120
+ open: string;
121
+ }>, {
122
+ connect: () => void;
123
+ disconnect: () => void;
124
+ seatsStatusChange: (status: boolean) => void;
125
+ accept: () => void;
126
+ ignore: () => void;
127
+ hangup: () => void;
128
+ sendDtmf: () => void;
129
+ changeServerToRegister: () => void;
130
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
131
+ "softphone-connect": (event: any) => void;
132
+ "softphone-seats-status-change": (event: any) => void;
133
+ "softphone-accept": (event: any) => void;
134
+ "softphone-ignore": (event: any) => void;
135
+ "softphone-hangup": (event: any) => void;
136
+ "softphone-send-dtmf": (event: any) => void;
137
+ "softphone-call-refresh": (event: any) => void;
138
+ "softphone-session-state-change": (event: any) => void;
139
+ "softphone-incoming": (event: any) => void;
140
+ "softphone-auto-ignore-callback": (event: any) => void;
141
+ "softphone-connect-registered": (event: any) => void;
142
+ "softphone-sign-overdued": (event: any) => void;
143
+ "update:sign": (event: any) => void;
144
+ "update:timestamp": (event: any) => void;
145
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
146
+ mode?: "qiankun" | "wujie" | undefined;
147
+ envMap?: Partial<Record<Env, Record<string, any>>> | undefined;
148
+ env?: Env | undefined;
149
+ agentId?: string | undefined;
150
+ agentTag?: string | undefined;
151
+ appKey?: string | undefined;
152
+ appSecret?: string | undefined;
153
+ timestamp?: string | number | undefined;
154
+ sign?: string | undefined;
155
+ extStatus?: string | undefined;
156
+ origin?: string | undefined;
157
+ ancestorOrigin?: string | undefined;
158
+ destinationOrigin?: string | undefined;
159
+ callShow?: "0" | "1" | undefined;
160
+ transferToLaborShow?: "0" | "1" | undefined;
161
+ restShow?: "0" | "1" | undefined;
162
+ networkDetectShow?: "0" | "1" | undefined;
163
+ muteShow?: "0" | "1" | undefined;
164
+ logShow?: "0" | "1" | undefined;
165
+ timingShow?: "0" | "1" | undefined;
166
+ signShow?: "0" | "1" | undefined;
167
+ lang?: "zh" | "en" | undefined;
168
+ name?: string | undefined;
169
+ extensionInfo?: {
170
+ status: 0 | 1;
171
+ wsRegisterAddress?: string | undefined;
172
+ wsProtocol?: string | undefined;
173
+ accountCode?: string | undefined;
174
+ } | undefined;
175
+ blackList?: string[] | undefined;
176
+ extPassword?: string | undefined;
177
+ extensionNumber?: string | undefined;
178
+ wsRegisterAddress?: string | undefined;
179
+ wsProtocol?: string | undefined;
180
+ isOem?: boolean | undefined;
181
+ numberKeyBoard?: boolean | undefined;
182
+ accessMode?: "mobile" | "pc" | undefined;
183
+ sipHeaders?: string[] | undefined;
184
+ sgGateway?: string | undefined;
185
+ open?: string | undefined;
186
+ sgOpen?: string | undefined;
187
+ sgDomain?: string | undefined;
188
+ sgBase?: string | undefined;
189
+ token?: string | undefined;
190
+ timeZone?: string | undefined;
191
+ getOfflineInfo?: Function | undefined;
192
+ changeALittleRest?: Function | undefined;
193
+ quickCallWin?: Function | undefined;
194
+ phoneRegex?: string | undefined;
195
+ account?: string | undefined;
196
+ extAccount?: string | undefined;
197
+ socketHost?: string | undefined;
198
+ sid?: number | undefined;
199
+ uid?: number | undefined;
200
+ newUserId?: number | undefined;
201
+ companyId?: number | undefined;
202
+ company?: string | undefined;
203
+ countryId?: number | undefined;
204
+ countryName?: string | undefined;
205
+ authUserType?: 2 | 1 | 4 | 3 | undefined;
206
+ userType?: 2 | 1 | 4 | 3 | undefined;
207
+ recordPath?: string | undefined;
208
+ constMap?: Record<string, any> | undefined;
209
+ }>, {
210
+ mode: string;
211
+ envMap: () => {
212
+ dev: {
213
+ host: string;
214
+ port: string;
215
+ base: string;
216
+ };
217
+ test: {
218
+ host: string;
219
+ port: string;
220
+ base: string;
221
+ };
222
+ sg: {
223
+ host: string;
224
+ port: number;
225
+ base: string;
226
+ };
227
+ gray: {
228
+ host: string;
229
+ port: number;
230
+ base: string;
231
+ };
232
+ prod: {
233
+ host: string;
234
+ port: number;
235
+ base: string;
236
+ };
237
+ };
238
+ env: string;
239
+ extStatus: string;
240
+ origin: string;
241
+ ancestorOrigin: string;
242
+ destinationOrigin: string;
243
+ timestamp: undefined;
244
+ sign: undefined;
245
+ callShow: string;
246
+ transferToLaborShow: string;
247
+ restShow: string;
248
+ networkDetectShow: string;
249
+ muteShow: string;
250
+ logShow: string;
251
+ timingShow: string;
252
+ signShow: string;
253
+ lang: string;
254
+ name: string;
255
+ blackList: () => string[];
256
+ isOem: boolean;
257
+ accessMode: string;
258
+ numberKeyBoard: boolean;
259
+ sgOpen: undefined;
260
+ sgDomain: undefined;
261
+ sgBase: undefined;
262
+ sgGateway: undefined;
263
+ open: string;
264
+ }>>>, {
265
+ mode: 'qiankun' | 'wujie';
266
+ envMap: Partial<Record<Env, Record<string, any>>>;
267
+ env: Env;
268
+ timestamp: string | number;
269
+ sign: string;
270
+ extStatus: string;
271
+ origin: string;
272
+ ancestorOrigin: string;
273
+ destinationOrigin: string;
274
+ callShow: '0' | '1';
275
+ transferToLaborShow: '0' | '1';
276
+ restShow: '0' | '1';
277
+ networkDetectShow: '0' | '1';
278
+ muteShow: '0' | '1';
279
+ logShow: '0' | '1';
280
+ timingShow: '0' | '1';
281
+ signShow: '0' | '1';
282
+ lang: 'zh' | 'en';
283
+ name: string;
284
+ blackList: string[];
285
+ isOem: boolean;
286
+ numberKeyBoard: boolean;
287
+ accessMode: 'mobile' | 'pc';
288
+ sgGateway: string;
289
+ open: string;
290
+ sgOpen: string;
291
+ sgDomain: string;
292
+ sgBase: string;
293
+ }>;
294
+ export default _default;
295
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
296
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
297
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
298
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
299
+ } : {
300
+ type: import('vue').PropType<T[K]>;
301
+ required: true;
302
+ };
303
+ };
304
+ declare type __VLS_WithDefaults<P, D> = {
305
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
306
+ default: D[K];
307
+ }> : P[K];
308
+ };
309
+ declare type __VLS_Prettify<T> = {
310
+ [K in keyof T]: T[K];
311
+ } & {};
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+