cmd-control-client-lib 3.0.19 → 3.0.21
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-protocol.d.ts
CHANGED
|
@@ -33,4 +33,5 @@ export * from "./protocol/live/streamstate";
|
|
|
33
33
|
export * from "./protocol/live/onlinesummary";
|
|
34
34
|
export * from "./protocol/live/usersettings";
|
|
35
35
|
export * from "./protocol/messenger/expo";
|
|
36
|
+
export * from "./protocol/messenger/signup";
|
|
36
37
|
export { SupportedLanguage, CmdClientAgent, EnumFormatValues, baseParamsType } from "./protocol/command/baseparams";
|
|
@@ -112,5 +112,7 @@ export declare enum ACTION {
|
|
|
112
112
|
CMDP_GETSETTINGS = "CMDP_GETSETTINGS",
|
|
113
113
|
CMDC_MEDIAPURCHASED = "CMDC_MEDIAPURCHASED",
|
|
114
114
|
CMDP_SGETMEDIAINFO = "CMDP_SGETMEDIAINFO",
|
|
115
|
-
CMDP_SFORWARDMEDIA = "CMDP_SFORWARDMEDIA"
|
|
115
|
+
CMDP_SFORWARDMEDIA = "CMDP_SFORWARDMEDIA",
|
|
116
|
+
CMDP_SIGNUP = "CMDP_SIGNUP",
|
|
117
|
+
CMDP_RESETPASSWORD = "CMDP_RESETPASSWORD"
|
|
116
118
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ACTION } from "../command/action";
|
|
2
|
+
import { baseParamsType } from "../command/baseparams";
|
|
3
|
+
import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand";
|
|
4
|
+
/**
|
|
5
|
+
* Create new user account
|
|
6
|
+
*/
|
|
7
|
+
export declare class CMDP_SIGNUP implements ICOMMAND {
|
|
8
|
+
action: ACTION;
|
|
9
|
+
params: baseParamsType & {
|
|
10
|
+
login: string;
|
|
11
|
+
password: string;
|
|
12
|
+
ualias: string;
|
|
13
|
+
language: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* reponse
|
|
18
|
+
*/
|
|
19
|
+
export declare class CMDP_SIGNUP_RESPONSE extends CMDP_SIGNUP implements IRESPONSE {
|
|
20
|
+
result: RESULT;
|
|
21
|
+
commands: ICOMMAND[];
|
|
22
|
+
values: IKeyMaybeValue;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* query password reset
|
|
26
|
+
*/
|
|
27
|
+
export declare class CMDP_RESETPASSWORD implements ICOMMAND {
|
|
28
|
+
action: ACTION;
|
|
29
|
+
params: baseParamsType & {
|
|
30
|
+
login: string;
|
|
31
|
+
language: string;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* reponse
|
|
36
|
+
*/
|
|
37
|
+
export declare class CMDP_RESETPASSWORD_RESPONSE extends CMDP_SIGNUP implements IRESPONSE {
|
|
38
|
+
result: RESULT;
|
|
39
|
+
commands: ICOMMAND[];
|
|
40
|
+
values: IKeyMaybeValue;
|
|
41
|
+
}
|