@94ai/nf-microphone 4.0.16 → 4.0.20
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/components.d.ts +8 -0
- package/lib/index.d.ts +1433 -1433
- package/lib/microphone.d.ts +17 -17
- package/lib/nf-microphone.vue.d.ts +288 -288
- package/lib/style/css.d.ts +1 -1
- package/lib/style/index.d.ts +1 -1
- package/lib/types.d.ts +76 -76
- package/lib/util.d.ts +1 -1
- package/package.json +3 -3
package/lib/types.d.ts
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
export declare type Env = 'test' | 'dev' | 'sg' | 'gray' | 'prod';
|
|
2
|
-
export declare type Option = {
|
|
3
|
-
mode?: 'qiankun' | 'wujie';
|
|
4
|
-
envMap?: Partial<Record<Env, Record<string, any>>>;
|
|
5
|
-
env?: Env;
|
|
6
|
-
agentId?: string;
|
|
7
|
-
agentTag?: string;
|
|
8
|
-
appKey?: string;
|
|
9
|
-
appSecret?: string;
|
|
10
|
-
extStatus?: string;
|
|
11
|
-
origin?: string;
|
|
12
|
-
ancestorOrigin?: string;
|
|
13
|
-
destinationOrigin?: string;
|
|
14
|
-
callShow?: '0' | '1';
|
|
15
|
-
transferToLaborShow?: '0' | '1';
|
|
16
|
-
restShow?: '0' | '1';
|
|
17
|
-
networkDetectShow?: '0' | '1';
|
|
18
|
-
muteShow?: '0' | '1';
|
|
19
|
-
logShow?: '0' | '1';
|
|
20
|
-
timingShow?: '0' | '1';
|
|
21
|
-
signShow?: '0' | '1';
|
|
22
|
-
lang?: 'zh' | 'en';
|
|
23
|
-
name?: string;
|
|
24
|
-
extensionInfo?: {
|
|
25
|
-
status: 0 | 1;
|
|
26
|
-
wsRegisterAddress?: string;
|
|
27
|
-
wsProtocol?: string;
|
|
28
|
-
accountCode?: string;
|
|
29
|
-
};
|
|
30
|
-
blackList?: string[];
|
|
31
|
-
extPassword?: string;
|
|
32
|
-
extensionNumber?: string;
|
|
33
|
-
wsRegisterAddress?: string;
|
|
34
|
-
wsProtocol?: string;
|
|
35
|
-
isOem?: boolean;
|
|
36
|
-
numberKeyBoard?: boolean;
|
|
37
|
-
accessMode?: 'mobile' | 'pc';
|
|
38
|
-
sipHeaders?: string[];
|
|
39
|
-
sgGateway?: string;
|
|
40
|
-
open?: string;
|
|
41
|
-
sgOpen?: string;
|
|
42
|
-
sgDomain?: string;
|
|
43
|
-
sgBase?: string;
|
|
44
|
-
token?: string;
|
|
45
|
-
timeZone?: string;
|
|
46
|
-
getOfflineInfo?: Function;
|
|
47
|
-
changeALittleRest?: Function;
|
|
48
|
-
quickCallWin?: Function;
|
|
49
|
-
phoneRegex?: string;
|
|
50
|
-
account?: string;
|
|
51
|
-
extAccount?: string;
|
|
52
|
-
socketHost?: string;
|
|
53
|
-
sid?: number;
|
|
54
|
-
uid?: number;
|
|
55
|
-
newUserId?: number;
|
|
56
|
-
companyId?: number;
|
|
57
|
-
company?: string;
|
|
58
|
-
countryId?: number;
|
|
59
|
-
countryName?: string;
|
|
60
|
-
authUserType?: 4 | 3 | 2 | 1;
|
|
61
|
-
userType?: 4 | 3 | 2 | 1;
|
|
62
|
-
recordPath?: string;
|
|
63
|
-
constMap?: Record<string, any>;
|
|
64
|
-
el: string;
|
|
65
|
-
instanceMap: Record<string, any>;
|
|
66
|
-
softphoneConnectCallBack: Function;
|
|
67
|
-
softphoneCallRefreshCallBack: Function;
|
|
68
|
-
softphoneSeatStatusChangeCallBack: Function;
|
|
69
|
-
softphoneAcceptCallBack: Function;
|
|
70
|
-
softphoneIgnoreCallBack: Function;
|
|
71
|
-
softphoneHangupCallBack: Function;
|
|
72
|
-
softphoneSessionStateChangeCallBack: Function;
|
|
73
|
-
softphoneIncomingCallBack: Function;
|
|
74
|
-
softphoneSendDtmfCallBack: Function;
|
|
75
|
-
softphoneConnectRegisteredCallBack: Function;
|
|
76
|
-
};
|
|
1
|
+
export declare type Env = 'test' | 'dev' | 'sg' | 'gray' | 'prod';
|
|
2
|
+
export declare type Option = {
|
|
3
|
+
mode?: 'qiankun' | 'wujie';
|
|
4
|
+
envMap?: Partial<Record<Env, Record<string, any>>>;
|
|
5
|
+
env?: Env;
|
|
6
|
+
agentId?: string;
|
|
7
|
+
agentTag?: string;
|
|
8
|
+
appKey?: string;
|
|
9
|
+
appSecret?: string;
|
|
10
|
+
extStatus?: string;
|
|
11
|
+
origin?: string;
|
|
12
|
+
ancestorOrigin?: string;
|
|
13
|
+
destinationOrigin?: string;
|
|
14
|
+
callShow?: '0' | '1';
|
|
15
|
+
transferToLaborShow?: '0' | '1';
|
|
16
|
+
restShow?: '0' | '1';
|
|
17
|
+
networkDetectShow?: '0' | '1';
|
|
18
|
+
muteShow?: '0' | '1';
|
|
19
|
+
logShow?: '0' | '1';
|
|
20
|
+
timingShow?: '0' | '1';
|
|
21
|
+
signShow?: '0' | '1';
|
|
22
|
+
lang?: 'zh' | 'en';
|
|
23
|
+
name?: string;
|
|
24
|
+
extensionInfo?: {
|
|
25
|
+
status: 0 | 1;
|
|
26
|
+
wsRegisterAddress?: string;
|
|
27
|
+
wsProtocol?: string;
|
|
28
|
+
accountCode?: string;
|
|
29
|
+
};
|
|
30
|
+
blackList?: string[];
|
|
31
|
+
extPassword?: string;
|
|
32
|
+
extensionNumber?: string;
|
|
33
|
+
wsRegisterAddress?: string;
|
|
34
|
+
wsProtocol?: string;
|
|
35
|
+
isOem?: boolean;
|
|
36
|
+
numberKeyBoard?: boolean;
|
|
37
|
+
accessMode?: 'mobile' | 'pc';
|
|
38
|
+
sipHeaders?: string[];
|
|
39
|
+
sgGateway?: string;
|
|
40
|
+
open?: string;
|
|
41
|
+
sgOpen?: string;
|
|
42
|
+
sgDomain?: string;
|
|
43
|
+
sgBase?: string;
|
|
44
|
+
token?: string;
|
|
45
|
+
timeZone?: string;
|
|
46
|
+
getOfflineInfo?: Function;
|
|
47
|
+
changeALittleRest?: Function;
|
|
48
|
+
quickCallWin?: Function;
|
|
49
|
+
phoneRegex?: string;
|
|
50
|
+
account?: string;
|
|
51
|
+
extAccount?: string;
|
|
52
|
+
socketHost?: string;
|
|
53
|
+
sid?: number;
|
|
54
|
+
uid?: number;
|
|
55
|
+
newUserId?: number;
|
|
56
|
+
companyId?: number;
|
|
57
|
+
company?: string;
|
|
58
|
+
countryId?: number;
|
|
59
|
+
countryName?: string;
|
|
60
|
+
authUserType?: 4 | 3 | 2 | 1;
|
|
61
|
+
userType?: 4 | 3 | 2 | 1;
|
|
62
|
+
recordPath?: string;
|
|
63
|
+
constMap?: Record<string, any>;
|
|
64
|
+
el: string;
|
|
65
|
+
instanceMap: Record<string, any>;
|
|
66
|
+
softphoneConnectCallBack: Function;
|
|
67
|
+
softphoneCallRefreshCallBack: Function;
|
|
68
|
+
softphoneSeatStatusChangeCallBack: Function;
|
|
69
|
+
softphoneAcceptCallBack: Function;
|
|
70
|
+
softphoneIgnoreCallBack: Function;
|
|
71
|
+
softphoneHangupCallBack: Function;
|
|
72
|
+
softphoneSessionStateChangeCallBack: Function;
|
|
73
|
+
softphoneIncomingCallBack: Function;
|
|
74
|
+
softphoneSendDtmfCallBack: Function;
|
|
75
|
+
softphoneConnectRegisteredCallBack: Function;
|
|
76
|
+
};
|
package/lib/util.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isDomainOrIP(str: string): boolean;
|
|
1
|
+
export declare function isDomainOrIP(str: string): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-microphone",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.20",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/ui/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-theme-chalk": "^4.0.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^4.0.20",
|
|
18
18
|
"crypto-js": "^4.2.0",
|
|
19
19
|
"qiankun": "^2.10.16",
|
|
20
20
|
"vue-demi": "^0.14.5",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"types": "lib/index.d.ts",
|
|
34
34
|
"main": "lib/nf-microphone.cjs.js",
|
|
35
35
|
"module": "lib/nf-microphone.esm-bundler.js",
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "4aaddb6db6a7fb10949063a28552549aa51bd117"
|
|
37
37
|
}
|