@94ai/softphone 6.0.12 → 6.0.14
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
|
@@ -5415,7 +5415,7 @@ interface UserAgentOptionsSDK {
|
|
|
5415
5415
|
reClusterRegisterTimeout?: number;
|
|
5416
5416
|
reClusterConnectTimeout?: number;
|
|
5417
5417
|
}
|
|
5418
|
-
type ExposeAliArmsApi = `softphone-sdk-hangup` | `softphone-sdk-seats-status-change` | `softphone-sdk-accept` | `softphone-sdk-connect` | `softphone-sdk-ignore` | `softphone-sdk-manual-call` | 'softphone-sdk-send-star-dtmf';
|
|
5418
|
+
type ExposeAliArmsApi = `softphone-sdk-hangup` | `softphone-sdk-seats-status-change` | `softphone-sdk-accept` | `softphone-sdk-connect` | `softphone-sdk-ignore` | `softphone-sdk-incoming` | `softphone-sdk-manual-call` | `softphone-sdk-init` | 'softphone-sdk-send-star-dtmf';
|
|
5419
5419
|
type UserAgentOptions = UserAgentOptions$1 & UserAgentOptionsSDK;
|
|
5420
5420
|
type ajaxOption = {
|
|
5421
5421
|
type: 'GET' | 'POST';
|
|
@@ -5485,7 +5485,7 @@ declare class UserAgentManager {
|
|
|
5485
5485
|
time: number;
|
|
5486
5486
|
businessInfo: Record<string, any>;
|
|
5487
5487
|
begin: number;
|
|
5488
|
-
}): void
|
|
5488
|
+
}): Promise<void>;
|
|
5489
5489
|
networkSpeed: string;
|
|
5490
5490
|
networkDelay: string;
|
|
5491
5491
|
onLine: boolean;
|
|
@@ -5745,7 +5745,8 @@ declare const accumulateSec: (date: Date) => Date;
|
|
|
5745
5745
|
* @return Function 销毁计时器
|
|
5746
5746
|
*/
|
|
5747
5747
|
declare function accumulationTimer(refresh: Function): () => void;
|
|
5748
|
-
declare function getBeijingTime(): string;
|
|
5748
|
+
declare function getBeijingTime(): string;
|
|
5749
|
+
declare function toCodeString(v: any): any;
|
|
5749
5750
|
|
|
5750
5751
|
declare class CallbackAggregator {
|
|
5751
5752
|
onAggregateCallback: (info: ApiAutoIgnoreTraceInfo) => void;
|
|
@@ -5793,4 +5794,4 @@ declare class UserAgentFactory {
|
|
|
5793
5794
|
static dispose(): void;
|
|
5794
5795
|
}
|
|
5795
5796
|
|
|
5796
|
-
export { AfterTransferLabour, AliArms, BusinessAttribute, CallbackAggregator, HandUpInviteOption, IncomingResponse, Invitation, InvitationAcceptOptions, InvitationRejectOptions, Inviter, InviterInviteOptionsExtend as InviterInviteOptions, OutgoingRequest, PopWindow, PrepareUserAgentOptions, RegisterOptions, Registerer, RegistererOptions, RegistererRegisterOptions, RegistererUnregisterOptions, SessionByeOptions, SessionDescriptionHandler, SessionInfoOptionsExtend as SessionInfoOptions, SessionState, SimpleUser, TransportOptions, URI, UserAgent, UserAgentDelegate, UserAgentDelegateKey, UserAgentFactory, UserAgentManager, UserAgentOptions, UserAgentStatus, UserAgentStatusKey, VoiceType, accumulateSec, accumulationTimer, cleanupMedia, getBeijingTime, getDevicePermission, getMedia, getTimes, getZeorTime, pauseMedia, playMedia, requestMicroPhonePermission, stopStreamTracks, userAgentDefault, userAgentStatus };
|
|
5797
|
+
export { AfterTransferLabour, AliArms, BusinessAttribute, CallbackAggregator, HandUpInviteOption, IncomingResponse, Invitation, InvitationAcceptOptions, InvitationRejectOptions, Inviter, InviterInviteOptionsExtend as InviterInviteOptions, OutgoingRequest, PopWindow, PrepareUserAgentOptions, RegisterOptions, Registerer, RegistererOptions, RegistererRegisterOptions, RegistererUnregisterOptions, SessionByeOptions, SessionDescriptionHandler, SessionInfoOptionsExtend as SessionInfoOptions, SessionState, SimpleUser, TransportOptions, URI, UserAgent, UserAgentDelegate, UserAgentDelegateKey, UserAgentFactory, UserAgentManager, UserAgentOptions, UserAgentStatus, UserAgentStatusKey, VoiceType, accumulateSec, accumulationTimer, cleanupMedia, getBeijingTime, getDevicePermission, getMedia, getTimes, getZeorTime, pauseMedia, playMedia, requestMicroPhonePermission, stopStreamTracks, toCodeString, userAgentDefault, userAgentStatus };
|