@94ai/softphone 6.0.8 → 6.0.9

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