@94ai/softphone 6.0.8 → 6.0.10
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
|
@@ -5362,10 +5362,17 @@ declare class UserAgentManager {
|
|
|
5362
5362
|
#private;
|
|
5363
5363
|
token: string;
|
|
5364
5364
|
get armsReportFlag(): boolean;
|
|
5365
|
+
set armsReportFlag(value: boolean);
|
|
5365
5366
|
/**
|
|
5366
5367
|
* 坐席讲话音量
|
|
5367
5368
|
*/
|
|
5368
5369
|
get volumeValue(): number;
|
|
5370
|
+
getToken(param?: {
|
|
5371
|
+
appKey?: string;
|
|
5372
|
+
appSecret?: string;
|
|
5373
|
+
agentTag?: string;
|
|
5374
|
+
agentId?: number;
|
|
5375
|
+
}): Promise<any>;
|
|
5369
5376
|
armsReport(info: {
|
|
5370
5377
|
api: ExposeAliArmsApi;
|
|
5371
5378
|
traceId: string;
|
|
@@ -5435,7 +5442,11 @@ declare class UserAgentManager {
|
|
|
5435
5442
|
refreshCallChatInfo(): Promise<void>;
|
|
5436
5443
|
requestOpenApi: (param: Partial<ajaxOption>) => Promise<any>;
|
|
5437
5444
|
getOpenApi(): string;
|
|
5438
|
-
getAgentInfo(
|
|
5445
|
+
getAgentInfo(param?: {
|
|
5446
|
+
agentTag?: string;
|
|
5447
|
+
agentId?: number;
|
|
5448
|
+
[key: string]: string | number | undefined;
|
|
5449
|
+
}): Promise<any>;
|
|
5439
5450
|
updateOpenApiAgentStatus(agentStatus: 1 | 2 | 3 | 4): Promise<any>;
|
|
5440
5451
|
importOpenApiAgentCustomer(number: string): Promise<any>;
|
|
5441
5452
|
/**
|
|
@@ -5652,6 +5663,13 @@ declare class AliArms {
|
|
|
5652
5663
|
*/
|
|
5653
5664
|
declare class UserAgentFactory {
|
|
5654
5665
|
#private;
|
|
5666
|
+
static getToken(param?: {
|
|
5667
|
+
appKey?: string;
|
|
5668
|
+
appSecret?: string;
|
|
5669
|
+
agentTag?: string;
|
|
5670
|
+
agentId?: number;
|
|
5671
|
+
teleai?: boolean;
|
|
5672
|
+
}): Promise<any>;
|
|
5655
5673
|
static getUserAgentManager(options?: Partial<UserAgentOptions>): UserAgentManager;
|
|
5656
5674
|
static hasUserAgentManager(): boolean;
|
|
5657
5675
|
static newUserAgentManager(options?: Partial<UserAgentOptions>): UserAgentManager;
|