cmd-control-client-lib 3.0.104 → 3.0.106
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 +9 -0
- package/dist/protocol/media.d.ts +1 -0
- package/dist/protocol/mediaupload.d.ts +2 -1
- package/dist/protocol/message.d.ts +2 -2
- package/dist/protocol/sessionstate.d.ts +1 -1
- package/package.json +1 -1
|
@@ -136,6 +136,15 @@ export declare enum EnumProductId {
|
|
|
136
136
|
PARTNER = "3",
|
|
137
137
|
TV = "4"
|
|
138
138
|
}
|
|
139
|
+
/** channel selector type */
|
|
140
|
+
export declare type channelIdSelector = {
|
|
141
|
+
channelId?: ComaSeparatedValues<string> | string;
|
|
142
|
+
selectRegularCustomer?: EnumBooleanStringified;
|
|
143
|
+
selectAdvertised?: EnumBooleanStringified;
|
|
144
|
+
selectPinned?: EnumBooleanStringified;
|
|
145
|
+
selectVip?: EnumBooleanStringified;
|
|
146
|
+
groupId?: ComaSeparatedValues<string> | string;
|
|
147
|
+
};
|
|
139
148
|
export declare type getChannelsParamsType = {
|
|
140
149
|
/** from serial, default = 0 */
|
|
141
150
|
serial?: string;
|
package/dist/protocol/media.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IBACKENDPAYLOAD } from "./backend";
|
|
2
|
+
import { channelIdSelector } from "./channel";
|
|
2
3
|
import { ACTION } from "./command/action";
|
|
3
4
|
import { baseParamsType } from "./command/baseparams";
|
|
4
5
|
import { ICOMMAND, IRESPONSE, RESULT, IKeyMaybeValue } from "./command/icommand";
|
|
@@ -39,7 +40,7 @@ export declare type UploadServiceReadOnlyParams = {
|
|
|
39
40
|
*/
|
|
40
41
|
export declare class CMDP_SUPLOADMEDIA implements ICOMMAND {
|
|
41
42
|
action: ACTION;
|
|
42
|
-
params: baseParamsType & MessageParams & UploadServiceReadOnlyParams & MediaOffer;
|
|
43
|
+
params: baseParamsType & channelIdSelector & MessageParams & UploadServiceReadOnlyParams & MediaOffer;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Response for CMDP_SUPLOADMEDIA
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { channelIdType, IMayHaveChannelId } from "./channel";
|
|
1
|
+
import { channelIdSelector, channelIdType, IMayHaveChannelId } from "./channel";
|
|
2
2
|
import { EnumBooleanStringified, EnumCurrency } from "../@types";
|
|
3
3
|
import { SystemMessageKey } from "./systemmessagekey";
|
|
4
4
|
import { IBACKENDPAYLOAD } from "./backend";
|
|
@@ -167,7 +167,7 @@ export declare class CMDC_CMSG implements ICOMMAND {
|
|
|
167
167
|
*/
|
|
168
168
|
export declare class CMDP_MSG implements ICOMMAND, IBACKENDPAYLOAD {
|
|
169
169
|
action: ACTION;
|
|
170
|
-
params: baseParamsType & MessageParams;
|
|
170
|
+
params: baseParamsType & MessageParams & channelIdSelector;
|
|
171
171
|
/** if jwt-session, any json-payload for transport to backend */
|
|
172
172
|
payload?: unknown;
|
|
173
173
|
}
|
|
@@ -78,5 +78,5 @@ export interface SessionState extends IKeyMaybeValue {
|
|
|
78
78
|
canSellSingleC2CTicket?: EnumBooleanStringified;
|
|
79
79
|
userLinks?: JSONString<IProductConfig["links"]>;
|
|
80
80
|
chatMotto?: string;
|
|
81
|
-
showInfoWizards?: ComaSeparatedValues<InfoWizard
|
|
81
|
+
showInfoWizards?: ComaSeparatedValues<InfoWizard> | string;
|
|
82
82
|
}
|