@94ai/softphone 6.0.14 → 6.0.15
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/index.d.ts
CHANGED
|
@@ -5230,6 +5230,7 @@ type PrepareUserAgentOptions = {
|
|
|
5230
5230
|
appKey?: string;
|
|
5231
5231
|
appSecret?: string;
|
|
5232
5232
|
openBaseUrl?: string;
|
|
5233
|
+
openGatewayUrl?: string;
|
|
5233
5234
|
sg?: '1' | '0' | string;
|
|
5234
5235
|
sgOpen?: '1' | '0';
|
|
5235
5236
|
};
|
|
@@ -5389,6 +5390,7 @@ interface UserAgentOptionsSDK {
|
|
|
5389
5390
|
agentTag?: string;
|
|
5390
5391
|
agentId?: number;
|
|
5391
5392
|
openBaseUrl?: string;
|
|
5393
|
+
openGatewayUrl?: string;
|
|
5392
5394
|
sg?: '1' | '0';
|
|
5393
5395
|
sgOpen?: '1' | '0';
|
|
5394
5396
|
token: string;
|
|
@@ -5447,6 +5449,7 @@ type BusinessAttribute = Partial<{
|
|
|
5447
5449
|
taskName: string;
|
|
5448
5450
|
/** 整理中 */
|
|
5449
5451
|
processTime: string;
|
|
5452
|
+
properties: string;
|
|
5450
5453
|
/** 外呼类型 */
|
|
5451
5454
|
voiceType: VoiceType;
|
|
5452
5455
|
/** 自动接听 */
|
|
@@ -5511,6 +5514,7 @@ declare class UserAgentManager {
|
|
|
5511
5514
|
nodeTitle: string;
|
|
5512
5515
|
taskName: string;
|
|
5513
5516
|
processTime: string;
|
|
5517
|
+
properties: string;
|
|
5514
5518
|
voiceType: VoiceType;
|
|
5515
5519
|
autoAnswer: AutoAnswer;
|
|
5516
5520
|
popWindow: PopWindow;
|
|
@@ -5543,7 +5547,7 @@ declare class UserAgentManager {
|
|
|
5543
5547
|
*/
|
|
5544
5548
|
detectNavigatorPermissions(): void;
|
|
5545
5549
|
openApiAjax: (param: Partial<ajaxOption>) => Promise<any>;
|
|
5546
|
-
getGateway():
|
|
5550
|
+
getGateway(): string;
|
|
5547
5551
|
requestGateway: (param: Partial<ajaxOption>, needToken?: boolean) => Promise<any>;
|
|
5548
5552
|
gatewayApiAjax: (param: Partial<ajaxOption>, needToken?: boolean) => Promise<any>;
|
|
5549
5553
|
getGatewayToken(): Promise<string>;
|
|
@@ -5787,6 +5791,8 @@ declare class UserAgentFactory {
|
|
|
5787
5791
|
agentTag?: string;
|
|
5788
5792
|
agentId?: number;
|
|
5789
5793
|
teleai?: boolean;
|
|
5794
|
+
openGatewayUrl?: string;
|
|
5795
|
+
openBaseUrl?: string;
|
|
5790
5796
|
}): Promise<any>;
|
|
5791
5797
|
static getUserAgentManager(options?: Partial<UserAgentOptions>): UserAgentManager;
|
|
5792
5798
|
static hasUserAgentManager(): boolean;
|