cmd-control-client-lib 3.0.173 → 3.0.175

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.
@@ -157,5 +157,9 @@ export declare enum ACTION {
157
157
  CMDC_SSTATUS = "CMDC_SSTATUS",
158
158
  CMDP_SGETMESSAGEHISTORY = "CMDP_SGETMESSAGEHISTORY",
159
159
  CMDP_SMSGESTIMATE = "CMDP_SMSGESTIMATE",
160
- CMDP_SETMOBILETOKEN = "CMDP_SETMOBILETOKEN"
160
+ CMDP_SETMOBILETOKEN = "CMDP_SETMOBILETOKEN",
161
+ CMDP_STARTMOBILECALL = "CMDP_STARTMOBILECALL",
162
+ CMDC_STARTMOBILECALL = "CMDC_STARTMOBILECALL",
163
+ CMDP_STOPMOBILECALL = "CMDP_STOPMOBILECALL",
164
+ CMDC_STOPMOBILECALL = "CMDC_STOPMOBILECALL"
161
165
  }
@@ -22,6 +22,7 @@ export declare class CMDP_SUPDATE implements ICOMMAND {
22
22
  service0900State?: EnumService0900State;
23
23
  livePreviewState?: EnumBooleanStringified;
24
24
  babeStation24State?: EnumBooleanStringified;
25
+ mobileVideoCallState?: EnumBooleanStringified;
25
26
  };
26
27
  }
27
28
  /**
@@ -1,5 +1,7 @@
1
- import { ICOMMAND, ACTION, IRESPONSE, RESULT, IKeyMaybeValue } from "../../cmd-protocol";
1
+ import { ICOMMAND, ACTION, IRESPONSE, RESULT, IKeyMaybeValue, channelIdType } from "../../cmd-protocol";
2
2
  import { baseParamsType } from "../command/baseparams";
3
+ import { VideoSdkConfig } from "./videosdk";
4
+ import { JSONString } from "../../@types";
3
5
  export declare enum EnumMobileTokenType {
4
6
  EXPO = "expo",
5
7
  FCM = "fcm",
@@ -12,11 +14,46 @@ export declare class CMDP_SETMOBILETOKEN implements ICOMMAND {
12
14
  token?: string;
13
15
  };
14
16
  }
15
- /**
16
- * reponse.
17
- */
18
17
  export declare class CMDP_SETMOBILETOKEN_RESPONSE extends CMDP_SETMOBILETOKEN implements IRESPONSE {
19
18
  result: RESULT;
20
19
  commands: ICOMMAND[];
21
20
  values: IKeyMaybeValue;
22
21
  }
22
+ export declare class CMDP_STARTMOBILECALL implements ICOMMAND {
23
+ action: ACTION;
24
+ params: baseParamsType & channelIdType;
25
+ }
26
+ export declare class CMDP_STARTMOBILECALL_RESPONSE extends CMDP_STARTMOBILECALL implements IRESPONSE {
27
+ result: RESULT;
28
+ commands: ICOMMAND[];
29
+ values: {
30
+ videoSdkConfig: JSONString<VideoSdkConfig>;
31
+ };
32
+ }
33
+ export declare class CMDC_STARTMOBILECALL implements ICOMMAND {
34
+ action: ACTION;
35
+ params: channelIdType & {
36
+ sessionID: string;
37
+ ualias: string;
38
+ imgSrc: string;
39
+ videoSdkConfig: JSONString<VideoSdkConfig>;
40
+ };
41
+ }
42
+ export declare class CMDP_STOPMOBILECALL implements ICOMMAND {
43
+ action: ACTION;
44
+ params: baseParamsType & channelIdType;
45
+ }
46
+ export declare class CMDP_STOPMOBILECALL_RESPONSE extends CMDP_STARTMOBILECALL implements IRESPONSE {
47
+ result: RESULT;
48
+ commands: ICOMMAND[];
49
+ values: {
50
+ videoSdkConfig: JSONString<VideoSdkConfig>;
51
+ };
52
+ }
53
+ export declare class CMDC_STOPMOBILECALL implements ICOMMAND {
54
+ action: ACTION;
55
+ params: channelIdType & {
56
+ sessionID: string;
57
+ videoSdkConfig: JSONString<VideoSdkConfig>;
58
+ };
59
+ }
@@ -0,0 +1,15 @@
1
+ export declare type VideoSdkMeeting = {
2
+ meetingId: string;
3
+ name: string;
4
+ participantId: string;
5
+ micEnabled: boolean;
6
+ webcamEnabled: boolean;
7
+ maxResolution: "sd" | "hd" | string;
8
+ multiStream: boolean;
9
+ mode: "CONFERENCE" | "VIEWER" | string;
10
+ };
11
+ export declare type VideoSdkConfig = {
12
+ config: VideoSdkMeeting;
13
+ token: string;
14
+ joinWithoutUserInteraction: boolean;
15
+ };
@@ -39,7 +39,8 @@ export declare enum InfoWizard {
39
39
  FIRSTTIME = "FIRST_TIME",
40
40
  CONTENTSELL = "CONTENT_SELL",
41
41
  CONTENTSELLMULTI = "CONTENT_SELL_MULTI",
42
- TICKETSHOW = "TICKET_SHOW"
42
+ TICKETSHOW = "TICKET_SHOW",
43
+ CUSTOMTAG = "CUSTOM_TAG"
43
44
  }
44
45
  /**
45
46
  * @remarks String having <T>'s separated by ','
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.173",
4
+ "version": "3.0.175",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },