cmd-control-client-lib 3.0.122 → 3.0.124

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.
@@ -44,4 +44,5 @@ export * from "./protocol/messenger/signup";
44
44
  export * from "./protocol/single-c2c";
45
45
  export * from "./protocol/status";
46
46
  export * from "./protocol/exit-code";
47
+ export * from "./protocol/clivechat";
47
48
  export { SupportedLanguage, CmdClientAgent, EnumFormatValues, baseParamsType } from "./protocol/command/baseparams";
@@ -0,0 +1,39 @@
1
+ import { ICOMMAND, ACTION, IRESPONSE, RESULT, IKeyMaybeValue } from "../cmd-protocol";
2
+ export declare type clientID = {
3
+ clientID: string;
4
+ _iid: string;
5
+ };
6
+ export declare enum EnumClientStatusType {
7
+ AUDIO_UNMUTED = "11",
8
+ AUDIO_MUTED = "12",
9
+ STREAM_STATS = "15",
10
+ PLAYER_EVENT = "16",
11
+ PAGE_HIDDEN = "20",
12
+ PAGE_VISIBLE = "21",
13
+ PROXY_STATE_INFO = "22"
14
+ }
15
+ export declare class CMDP_CSTATUS implements ICOMMAND {
16
+ action: ACTION;
17
+ params: clientID & {
18
+ statusCode: EnumClientStatusType;
19
+ text: string;
20
+ };
21
+ }
22
+ export declare class CMDP_CSTATUS_RESPONSE extends CMDP_CSTATUS implements IRESPONSE {
23
+ result: RESULT;
24
+ commands: ICOMMAND[];
25
+ values: IKeyMaybeValue;
26
+ }
27
+ export declare class CMDP_CINIT implements ICOMMAND {
28
+ action: ACTION;
29
+ params: clientID & {
30
+ version: string;
31
+ initData: string;
32
+ messengerProperties: string;
33
+ };
34
+ }
35
+ export declare class CMDP_CINIT_RESPONSE extends CMDP_CINIT implements IRESPONSE {
36
+ result: RESULT;
37
+ commands: ICOMMAND[];
38
+ values: IKeyMaybeValue;
39
+ }
@@ -150,5 +150,7 @@ export declare enum ACTION {
150
150
  CMDC_CHANNELMEDIASUMMARY = "CMDC_CHANNELMEDIASUMMARY",
151
151
  CMDP_SGETCHANNELDMEDIASUMMARY = "CMDP_SGETCHANNELDMEDIASUMMARY",
152
152
  CMDP_SGETSEDCARDPICTURES = "CMDP_SGETSEDCARDPICTURES",
153
- CMDC_SEDCARDPICTURE = "CMDC_SEDCARDPICTURE"
153
+ CMDC_SEDCARDPICTURE = "CMDC_SEDCARDPICTURE",
154
+ CMDP_CSTATUS = "CMDP_CSTATUS",
155
+ CMDP_CINIT = "CMDP_CINIT"
154
156
  }
@@ -32,6 +32,7 @@ export declare enum EnumMediaType {
32
32
  TICKET_SHOW = "TicketShow"
33
33
  }
34
34
  export declare enum EnumMediaState {
35
+ UPLOAD = "uploaded",
35
36
  OK = "ok",
36
37
  TRANSCODING = "transcode",
37
38
  ERROR = "error",
@@ -10,6 +10,8 @@ export declare type proxyStateInfo = {
10
10
  channelId?: string;
11
11
  chatID?: string;
12
12
  };
13
+ export declare const IS_TYPING_NOTIFICATION_INTERVAL: number;
14
+ export declare const IS_TYPING__WAIT_INTERVAL: number;
13
15
  /**
14
16
  * Update command
15
17
  */
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.122",
4
+ "version": "3.0.124",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },