cmd-control-client-lib 3.0.151 → 3.0.154

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.
@@ -1,5 +1,5 @@
1
1
  import { EnumBooleanDigitized, EnumBooleanStringified, JSONString } from "../../@types";
2
- import { ACTION, baseParamsType, chatIdType, CMDC_CMSG, ICOMMAND } from "../../cmd-protocol";
2
+ import { ACTION, baseParamsType, chatIdType, CMDC_CMSG, EnumChannelFilterValues, ICOMMAND } from "../../cmd-protocol";
3
3
  import { IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand";
4
4
  /**
5
5
  * Chat flags
@@ -272,6 +272,12 @@ export declare class CMDP_GETLIVEHISTORY implements ICOMMAND {
272
272
  dateFrom?: string;
273
273
  /** json-encoded datetime, default now() +1 day */
274
274
  dateTo?: string;
275
+ /** filter empty live sessions*/
276
+ filterEmpty?: EnumChannelFilterValues;
277
+ /** pagination */
278
+ skip?: string;
279
+ /** pagination */
280
+ limit?: string;
275
281
  };
276
282
  }
277
283
  /**
@@ -283,10 +289,10 @@ export declare class CMDP_GETLIVEHISTORY_RESPONSE extends CMDP_GETLIVEHISTORY im
283
289
  commands: ICOMMAND[];
284
290
  values: {
285
291
  /** json-encoded datetime*/
286
- firstLiveSession: string;
292
+ firstSession: string;
287
293
  /** json-encoded datetime*/
288
- lastLiveSession: string;
289
- /** number of total chats */
290
- totalChats: string;
294
+ lastSession: string;
295
+ /** number of Sessions */
296
+ totalSessions: string;
291
297
  };
292
298
  }
@@ -225,3 +225,25 @@ export declare class CMDP_SMSGREACTION_RESPONSE extends CMDP_SMSGREACTION implem
225
225
  /** unused */
226
226
  values: IKeyMaybeValue;
227
227
  }
228
+ /**
229
+ * Estimate sending message. get count of possible recipients
230
+ */
231
+ export declare class CMDP_SMSGESTIMATE implements ICOMMAND {
232
+ action: ACTION;
233
+ params: baseParamsType & MediaMd5 & Chargeable & channelIdSelector & {
234
+ countOnly?: EnumBooleanStringified;
235
+ };
236
+ }
237
+ /**
238
+ * Response for CMDP_SMSGESTIMATE
239
+ */
240
+ export declare class CMDP_SMSGESTIMATE_RESPONSE extends CMDP_SMSGESTIMATE implements IRESPONSE {
241
+ result: RESULT;
242
+ commands: ICOMMAND[];
243
+ values: {
244
+ recipientCount: string;
245
+ recipientChannels: string;
246
+ skippedCount?: string;
247
+ skippedChannels?: string;
248
+ };
249
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.151",
4
+ "version": "3.0.154",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },