cmd-control-client-lib 3.0.385 → 3.0.392
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.
|
@@ -138,7 +138,6 @@ export declare enum EnumChannelFilterValues {
|
|
|
138
138
|
export declare enum EnumProductId {
|
|
139
139
|
Default = "1",
|
|
140
140
|
PARTNER = "3",
|
|
141
|
-
TV = "4",
|
|
142
141
|
MSNVIP = "5"
|
|
143
142
|
}
|
|
144
143
|
/** channel selector type */
|
|
@@ -193,7 +192,7 @@ export declare type channelIdFilter = {
|
|
|
193
192
|
/** cant sent message*/
|
|
194
193
|
filterBlockedOutbound?: EnumChannelFilterValues;
|
|
195
194
|
/** filter by product id, default empty*/
|
|
196
|
-
filterProductId?: EnumProductId
|
|
195
|
+
filterProductId?: ComaSeparatedValues<EnumProductId>;
|
|
197
196
|
/** filter by banned */
|
|
198
197
|
filterBanned?: EnumChannelFilterValues;
|
|
199
198
|
/** media filter */
|
|
@@ -421,6 +420,8 @@ export declare class CMDP_UPDATECHANNEL_RESPONSE extends CMDP_UPDATECHANNEL impl
|
|
|
421
420
|
*/
|
|
422
421
|
export declare type channelSummaryInfo = {
|
|
423
422
|
[key: string]: string;
|
|
423
|
+
/** product*/
|
|
424
|
+
productId?: ComaSeparatedValues<EnumProductId>;
|
|
424
425
|
/** your business id */
|
|
425
426
|
usrId: string;
|
|
426
427
|
/** usrKey of your user */
|
|
@@ -467,9 +468,11 @@ export declare type channelSummaryInfo = {
|
|
|
467
468
|
active: string;
|
|
468
469
|
/** number of follower */
|
|
469
470
|
followMe: string;
|
|
471
|
+
/** primary */
|
|
472
|
+
product1: string;
|
|
470
473
|
/** partner */
|
|
471
474
|
product3: string;
|
|
472
|
-
/**
|
|
475
|
+
/** vip */
|
|
473
476
|
product5: string;
|
|
474
477
|
};
|
|
475
478
|
/**
|
|
@@ -496,3 +499,29 @@ export declare class CMDP_CHANNELSSUMMARY_RESPONSE extends CMDP_CHANNELSSUMMARY
|
|
|
496
499
|
/** the summary info */
|
|
497
500
|
values: channelSummaryInfo;
|
|
498
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* channel summary
|
|
504
|
+
*/
|
|
505
|
+
export declare class CMDC_PRODUCTCHANNELSSUMMARY implements ICOMMAND {
|
|
506
|
+
action: ACTION;
|
|
507
|
+
params: channelSummaryInfo;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Query the summary info about all channels
|
|
511
|
+
*/
|
|
512
|
+
export declare class CMDP_PRODUCTCHANNELSSUMMARY implements ICOMMAND {
|
|
513
|
+
action: ACTION;
|
|
514
|
+
params: baseParamsType & usrKeyType & {
|
|
515
|
+
productId?: string;
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Response for CMDP_CHANNELSSUMMARY
|
|
520
|
+
*/
|
|
521
|
+
export declare class CMDP_PRODUCTCHANNELSSUMMARY_RESPONSE extends CMDP_PRODUCTCHANNELSSUMMARY implements IRESPONSE {
|
|
522
|
+
result: RESULT;
|
|
523
|
+
/** unused */
|
|
524
|
+
commands: ICOMMAND[];
|
|
525
|
+
/** the summary info */
|
|
526
|
+
values: channelSummaryInfo;
|
|
527
|
+
}
|
|
@@ -220,5 +220,7 @@ export declare enum ACTION {
|
|
|
220
220
|
CMDP_SGETMEDIAHISTORYSUMMARY = "CMDP_SGETMEDIAHISTORYSUMMARY",
|
|
221
221
|
CMDC_CLIPSTATUS = "CMDC_CLIPSTATUS",
|
|
222
222
|
CMDC_AICHANNELSUMMARY = "CMDC_AICHANNELSUMMARY",
|
|
223
|
-
CMDP_GETAICHANNELSUMMARY = "CMDP_GETAICHANNELSUMMARY"
|
|
223
|
+
CMDP_GETAICHANNELSUMMARY = "CMDP_GETAICHANNELSUMMARY",
|
|
224
|
+
CMDC_PRODUCTCHANNELSSUMMARY = "CMDC_PRODUCTCHANNELSSUMMARY",
|
|
225
|
+
CMDP_PRODUCTCHANNELSSUMMARY = "CMDP_PRODUCTCHANNELSSUMMARY"
|
|
224
226
|
}
|