cmd-control-client-lib 3.0.363 → 3.0.368
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/protocol/channel.d.ts +3 -1
- package/dist/protocol/clivechat.d.ts +12 -0
- package/dist/protocol/command/action.d.ts +2 -1
- package/dist/protocol/command/baseparams.d.ts +2 -0
- package/dist/protocol/live/live-commands.d.ts +0 -1
- package/dist/protocol/live/livechat.d.ts +2 -1
- package/dist/protocol/sessionstate.d.ts +3 -1
- package/package.json +1 -1
|
@@ -464,8 +464,10 @@ export declare type channelSummaryInfo = {
|
|
|
464
464
|
online: string;
|
|
465
465
|
/** number of active channels */
|
|
466
466
|
active: string;
|
|
467
|
-
/** number of follower*/
|
|
467
|
+
/** number of follower */
|
|
468
468
|
followMe: string;
|
|
469
|
+
/** partner */
|
|
470
|
+
product3: string;
|
|
469
471
|
};
|
|
470
472
|
/**
|
|
471
473
|
* channel summary
|
|
@@ -200,11 +200,23 @@ export declare type clipSnapshot = {
|
|
|
200
200
|
time: number;
|
|
201
201
|
imgSrc: string;
|
|
202
202
|
};
|
|
203
|
+
export declare type clipStatus = {
|
|
204
|
+
index: string;
|
|
205
|
+
name: string;
|
|
206
|
+
progress: number;
|
|
207
|
+
};
|
|
208
|
+
export declare class CMDC_CLIPSTATUS implements ICOMMAND {
|
|
209
|
+
action: ACTION;
|
|
210
|
+
params: clientID & {
|
|
211
|
+
status: JSONString<clipStatus[]>;
|
|
212
|
+
};
|
|
213
|
+
}
|
|
203
214
|
export declare class CMDC_CLIP implements ICOMMAND {
|
|
204
215
|
action: ACTION;
|
|
205
216
|
params: clientID & {
|
|
206
217
|
chatID: string;
|
|
207
218
|
clipID: string;
|
|
219
|
+
index: string;
|
|
208
220
|
name: string;
|
|
209
221
|
duration: string;
|
|
210
222
|
price: string;
|
|
@@ -216,5 +216,6 @@ export declare enum ACTION {
|
|
|
216
216
|
CMDP_SDELETETPLCATEGORY = "CMDP_SDELETETPLCATEGORY",
|
|
217
217
|
CMDP_SGETCHANNELMESSAGE = "CMDP_SGETCHANNELMESSAGE",
|
|
218
218
|
CMDP_SGETMEDIAHISTORY = "CMDP_SGETMEDIAHISTORY",
|
|
219
|
-
CMDP_SGETMEDIAHISTORYSUMMARY = "CMDP_SGETMEDIAHISTORYSUMMARY"
|
|
219
|
+
CMDP_SGETMEDIAHISTORYSUMMARY = "CMDP_SGETMEDIAHISTORYSUMMARY",
|
|
220
|
+
CMDC_CLIPSTATUS = "CMDC_CLIPSTATUS"
|
|
220
221
|
}
|
|
@@ -201,7 +201,6 @@ export interface IQueryUserParams {
|
|
|
201
201
|
sound: string;
|
|
202
202
|
btnDefault: EnumBooleanDigitized;
|
|
203
203
|
btndef: QueryUserButtons;
|
|
204
|
-
CMDP_QUERYUSER: any;
|
|
205
204
|
recordSingleChat?: EnumBooleanDigitized;
|
|
206
205
|
}
|
|
207
206
|
export declare class CMDC_QUERYUSER implements ICOMMAND {
|
|
@@ -102,7 +102,8 @@ export declare class SChatInfo {
|
|
|
102
102
|
chattype: EnumIntentionString | string;
|
|
103
103
|
/** preview state: "1" if the preview is run, "0" if the preview is stopped */
|
|
104
104
|
previewRun?: "1" | "0" | string;
|
|
105
|
-
|
|
105
|
+
/** coefficient (number) of blur to be applied to video */
|
|
106
|
+
blurred?: string;
|
|
106
107
|
}
|
|
107
108
|
export declare class CMDC_CINIT implements ICOMMAND {
|
|
108
109
|
action: ACTION;
|
|
@@ -76,8 +76,9 @@ export interface SessionState extends IKeyMaybeValue {
|
|
|
76
76
|
service0900Status?: EnumService0900Status;
|
|
77
77
|
/** the live preview*/
|
|
78
78
|
livePreviewState?: EnumBooleanStringified;
|
|
79
|
-
/**
|
|
79
|
+
/** deprecated, use MSettings */
|
|
80
80
|
showBabeStation24Tab?: EnumBooleanStringified;
|
|
81
|
+
/** deprecated, use MSettings */
|
|
81
82
|
babeStation24State?: EnumBooleanStringified;
|
|
82
83
|
showMobileVideoCallTab?: EnumBooleanStringified;
|
|
83
84
|
mobileVideoCallState?: EnumBooleanStringified;
|
|
@@ -97,6 +98,7 @@ export interface SessionState extends IKeyMaybeValue {
|
|
|
97
98
|
showToyTab?: EnumBooleanStringified;
|
|
98
99
|
webtoken?: string;
|
|
99
100
|
showBumpTab?: EnumBooleanStringified;
|
|
101
|
+
/** deprecated, use MSettings */
|
|
100
102
|
showTemplateTab?: EnumBooleanStringified;
|
|
101
103
|
selfieChannelId?: string;
|
|
102
104
|
}
|