@94ai/nf-microphone 8.0.5 → 8.0.12

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/lib/types.d.ts CHANGED
@@ -1,79 +1,79 @@
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
- timestamp?: number | string;
11
- sign?: string;
12
- extStatus?: string;
13
- origin?: string;
14
- ancestorOrigin?: string;
15
- destinationOrigin?: string;
16
- callShow?: '0' | '1';
17
- transferToLaborShow?: '0' | '1';
18
- restShow?: '0' | '1';
19
- networkDetectShow?: '0' | '1';
20
- muteShow?: '0' | '1';
21
- logShow?: '0' | '1';
22
- timingShow?: '0' | '1';
23
- signShow?: '0' | '1';
24
- lang?: 'zh' | 'en';
25
- name?: string;
26
- extensionInfo?: {
27
- status: 0 | 1;
28
- wsRegisterAddress?: string;
29
- wsProtocol?: string;
30
- accountCode?: string;
31
- };
32
- blackList?: string[];
33
- extPassword?: string;
34
- extensionNumber?: string;
35
- wsRegisterAddress?: string;
36
- wsProtocol?: string;
37
- isOem?: boolean;
38
- numberKeyBoard?: boolean;
39
- accessMode?: 'mobile' | 'pc';
40
- sipHeaders?: string[];
41
- sgGateway?: string;
42
- open?: string;
43
- sgOpen?: string;
44
- sgDomain?: string;
45
- sgBase?: string;
46
- token?: string;
47
- timeZone?: string;
48
- getOfflineInfo?: Function;
49
- changeALittleRest?: Function;
50
- quickCallWin?: Function;
51
- phoneRegex?: string;
52
- account?: string;
53
- extAccount?: string;
54
- socketHost?: string;
55
- sid?: number;
56
- uid?: number;
57
- newUserId?: number;
58
- companyId?: number;
59
- company?: string;
60
- countryId?: number;
61
- countryName?: string;
62
- authUserType?: 4 | 3 | 2 | 1;
63
- userType?: 4 | 3 | 2 | 1;
64
- recordPath?: string;
65
- constMap?: Record<string, any>;
66
- el: string;
67
- instanceMap: Record<string, any>;
68
- softphoneConnectCallBack: Function;
69
- softphoneCallRefreshCallBack: Function;
70
- softphoneSeatStatusChangeCallBack: Function;
71
- softphoneAcceptCallBack: Function;
72
- softphoneIgnoreCallBack: Function;
73
- softphoneHangupCallBack: Function;
74
- softphoneSessionStateChangeCallBack: Function;
75
- softphoneIncomingCallBack: Function;
76
- softphoneSendDtmfCallBack: Function;
77
- softphoneConnectRegisteredCallBack: Function;
78
- softphoneSignOverduedCallBack: Function;
79
- };
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
+ timestamp?: number | string;
11
+ sign?: string;
12
+ extStatus?: string;
13
+ origin?: string;
14
+ ancestorOrigin?: string;
15
+ destinationOrigin?: string;
16
+ callShow?: '0' | '1';
17
+ transferToLaborShow?: '0' | '1';
18
+ restShow?: '0' | '1';
19
+ networkDetectShow?: '0' | '1';
20
+ muteShow?: '0' | '1';
21
+ logShow?: '0' | '1';
22
+ timingShow?: '0' | '1';
23
+ signShow?: '0' | '1';
24
+ lang?: 'zh' | 'en';
25
+ name?: string;
26
+ extensionInfo?: {
27
+ status: 0 | 1;
28
+ wsRegisterAddress?: string;
29
+ wsProtocol?: string;
30
+ accountCode?: string;
31
+ };
32
+ blackList?: string[];
33
+ extPassword?: string;
34
+ extensionNumber?: string;
35
+ wsRegisterAddress?: string;
36
+ wsProtocol?: string;
37
+ isOem?: boolean;
38
+ numberKeyBoard?: boolean;
39
+ accessMode?: 'mobile' | 'pc';
40
+ sipHeaders?: string[];
41
+ sgGateway?: string;
42
+ open?: string;
43
+ sgOpen?: string;
44
+ sgDomain?: string;
45
+ sgBase?: string;
46
+ token?: string;
47
+ timeZone?: string;
48
+ getOfflineInfo?: Function;
49
+ changeALittleRest?: Function;
50
+ quickCallWin?: Function;
51
+ phoneRegex?: string;
52
+ account?: string;
53
+ extAccount?: string;
54
+ socketHost?: string;
55
+ sid?: number;
56
+ uid?: number;
57
+ newUserId?: number;
58
+ companyId?: number;
59
+ company?: string;
60
+ countryId?: number;
61
+ countryName?: string;
62
+ authUserType?: 4 | 3 | 2 | 1;
63
+ userType?: 4 | 3 | 2 | 1;
64
+ recordPath?: string;
65
+ constMap?: Record<string, any>;
66
+ el: string;
67
+ instanceMap: Record<string, any>;
68
+ softphoneConnectCallBack: Function;
69
+ softphoneCallRefreshCallBack: Function;
70
+ softphoneSeatStatusChangeCallBack: Function;
71
+ softphoneAcceptCallBack: Function;
72
+ softphoneIgnoreCallBack: Function;
73
+ softphoneHangupCallBack: Function;
74
+ softphoneSessionStateChangeCallBack: Function;
75
+ softphoneIncomingCallBack: Function;
76
+ softphoneSendDtmfCallBack: Function;
77
+ softphoneConnectRegisteredCallBack: Function;
78
+ softphoneSignOverduedCallBack: Function;
79
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-microphone",
3
- "version": "8.0.5",
3
+ "version": "8.0.12",
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": "^8.0.5",
17
+ "@94ai/nf-theme-chalk": "^8.0.12",
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": "fab708c9a9c54ca34e3fea3c92a4a378184da4b3"
36
+ "gitHead": "dd2adc2b66c074a49c7a33477c806464d85ee254"
37
37
  }