cmd-control-client-lib 3.0.18 → 3.0.19
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.
|
@@ -293,6 +293,49 @@ export declare class CMDP_UPDATECHANNEL_RESPONSE extends CMDP_UPDATECHANNEL impl
|
|
|
293
293
|
values: IKeyMaybeValue;
|
|
294
294
|
payload?: unknown;
|
|
295
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* channel summary info
|
|
298
|
+
*/
|
|
299
|
+
export declare type channelSummaryInfo = {
|
|
300
|
+
[key: string]: string;
|
|
301
|
+
/** your business id */
|
|
302
|
+
usrId: string;
|
|
303
|
+
/** usrKey of your user */
|
|
304
|
+
usrKey: string;
|
|
305
|
+
/** number of channel */
|
|
306
|
+
channels: string;
|
|
307
|
+
/** number of unseen messages */
|
|
308
|
+
unseen: string;
|
|
309
|
+
/** number of unseen messages */
|
|
310
|
+
unseenWithoutArchived: string;
|
|
311
|
+
/** number of unanswered channels */
|
|
312
|
+
unanswered: string;
|
|
313
|
+
/** last time of incoming message */
|
|
314
|
+
lastTimeIn: string;
|
|
315
|
+
/** last time of outgoing message */
|
|
316
|
+
lastTimeOut: string;
|
|
317
|
+
/** number of archived channels */
|
|
318
|
+
archived: string;
|
|
319
|
+
/** number of advertised channels */
|
|
320
|
+
advertised: string;
|
|
321
|
+
/** number of regular channels */
|
|
322
|
+
regular: string;
|
|
323
|
+
/** number of pinned channels */
|
|
324
|
+
pinned: string;
|
|
325
|
+
/** number of muted channels */
|
|
326
|
+
muted: string;
|
|
327
|
+
/** number of banned channels */
|
|
328
|
+
banned: string;
|
|
329
|
+
/** number of vip channels */
|
|
330
|
+
vip: string;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* channel summary
|
|
334
|
+
*/
|
|
335
|
+
export declare class CMDC_CHANNELSUMMARY implements ICOMMAND {
|
|
336
|
+
action: ACTION;
|
|
337
|
+
params: channelSummaryInfo;
|
|
338
|
+
}
|
|
296
339
|
/**
|
|
297
340
|
* Query the summary info about all channels
|
|
298
341
|
*/
|
|
@@ -308,36 +351,5 @@ export declare class CMDP_CHANNELSSUMMARY_RESPONSE extends CMDP_CHANNELSSUMMARY
|
|
|
308
351
|
/** unused */
|
|
309
352
|
commands: ICOMMAND[];
|
|
310
353
|
/** the summary info */
|
|
311
|
-
values:
|
|
312
|
-
/** your business id */
|
|
313
|
-
usrId: string;
|
|
314
|
-
/** usrKey of your user */
|
|
315
|
-
usrKey: string;
|
|
316
|
-
/** number of channel */
|
|
317
|
-
channels: string;
|
|
318
|
-
/** number of unseen messages */
|
|
319
|
-
unseen: string;
|
|
320
|
-
/** number of unseen messages */
|
|
321
|
-
unseenWithoutArchived: string;
|
|
322
|
-
/** number of unanswered channels */
|
|
323
|
-
unanswered: string;
|
|
324
|
-
/** last time of incoming message */
|
|
325
|
-
lastTimeIn: string;
|
|
326
|
-
/** last time of outgoing message */
|
|
327
|
-
lastTimeOut: string;
|
|
328
|
-
/** number of archived channels */
|
|
329
|
-
archived: string;
|
|
330
|
-
/** number of advertised channels */
|
|
331
|
-
advertised: string;
|
|
332
|
-
/** number of regular channels */
|
|
333
|
-
regular: string;
|
|
334
|
-
/** number of pinned channels */
|
|
335
|
-
pinned: string;
|
|
336
|
-
/** number of muted channels */
|
|
337
|
-
muted: string;
|
|
338
|
-
/** number of banned channels */
|
|
339
|
-
banned: string;
|
|
340
|
-
/** number of vip channels */
|
|
341
|
-
vip: string;
|
|
342
|
-
};
|
|
354
|
+
values: channelSummaryInfo;
|
|
343
355
|
}
|