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.
- package/dist/cmd-control-client-lib.js +1 -1
- package/dist/cmd-control-client-lib.js.map +1 -1
- package/dist/cmd-protocol.d.ts +1 -0
- package/dist/protocol/clivechat.d.ts +39 -0
- package/dist/protocol/command/action.d.ts +3 -1
- package/dist/protocol/message.d.ts +1 -0
- package/dist/protocol/update-state.d.ts +2 -0
- package/package.json +1 -1
package/dist/cmd-protocol.d.ts
CHANGED
|
@@ -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
|
}
|