cmd-control-client-lib 3.0.209 → 3.0.211
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.
|
@@ -7,12 +7,23 @@ export declare enum EnumMobileTokenType {
|
|
|
7
7
|
FCM = "fcm",
|
|
8
8
|
APN = "apn"
|
|
9
9
|
}
|
|
10
|
+
export declare enum EnumStopMobileCallReason {
|
|
11
|
+
Cancelled = "CANCELLED",
|
|
12
|
+
Answered = "ANSWERED",
|
|
13
|
+
Declined = "DECLINED",
|
|
14
|
+
Busy = "BUSY",
|
|
15
|
+
NoAnswer = "NOANSWER",
|
|
16
|
+
Failed = "FAILED",
|
|
17
|
+
Unknown = "UNKNOWN"
|
|
18
|
+
}
|
|
19
|
+
export declare type deviceIdType = {
|
|
20
|
+
deviceId?: string;
|
|
21
|
+
};
|
|
10
22
|
export declare class CMDP_SETMOBILETOKEN implements ICOMMAND {
|
|
11
23
|
action: ACTION;
|
|
12
|
-
params: baseParamsType & {
|
|
24
|
+
params: baseParamsType & deviceIdType & {
|
|
13
25
|
type: EnumMobileTokenType;
|
|
14
26
|
token: string;
|
|
15
|
-
deviceId?: string;
|
|
16
27
|
};
|
|
17
28
|
}
|
|
18
29
|
export declare class CMDP_SETMOBILETOKEN_RESPONSE extends CMDP_SETMOBILETOKEN implements IRESPONSE {
|
|
@@ -22,7 +33,7 @@ export declare class CMDP_SETMOBILETOKEN_RESPONSE extends CMDP_SETMOBILETOKEN im
|
|
|
22
33
|
}
|
|
23
34
|
export declare class CMDP_STARTMOBILECALL implements ICOMMAND {
|
|
24
35
|
action: ACTION;
|
|
25
|
-
params: baseParamsType & channelIdType;
|
|
36
|
+
params: baseParamsType & channelIdType & deviceIdType;
|
|
26
37
|
}
|
|
27
38
|
export declare class CMDP_STARTMOBILECALL_RESPONSE extends CMDP_STARTMOBILECALL implements IRESPONSE {
|
|
28
39
|
result: RESULT;
|
|
@@ -42,8 +53,9 @@ export declare class CMDC_STARTMOBILECALL implements ICOMMAND {
|
|
|
42
53
|
}
|
|
43
54
|
export declare class CMDP_STOPMOBILECALL implements ICOMMAND {
|
|
44
55
|
action: ACTION;
|
|
45
|
-
params: baseParamsType & {
|
|
56
|
+
params: baseParamsType & deviceIdType & {
|
|
46
57
|
videoSdkConfig: string;
|
|
58
|
+
reason: EnumStopMobileCallReason;
|
|
47
59
|
};
|
|
48
60
|
}
|
|
49
61
|
export declare class CMDP_STOPMOBILECALL_RESPONSE extends CMDP_STOPMOBILECALL implements IRESPONSE {
|
|
@@ -53,9 +65,10 @@ export declare class CMDP_STOPMOBILECALL_RESPONSE extends CMDP_STOPMOBILECALL im
|
|
|
53
65
|
}
|
|
54
66
|
export declare class CMDC_STOPMOBILECALL implements ICOMMAND {
|
|
55
67
|
action: ACTION;
|
|
56
|
-
params: channelIdType & {
|
|
68
|
+
params: channelIdType & deviceIdType & {
|
|
57
69
|
sessionID: string;
|
|
58
70
|
videoSdkConfig: JSONString<VideoSdkConfig>;
|
|
71
|
+
reason: EnumStopMobileCallReason;
|
|
59
72
|
};
|
|
60
73
|
}
|
|
61
74
|
export declare class CMDP_LOGOUTOTHERMOBILE implements ICOMMAND {
|