@pushwoosh/rpc-v2-http-api-data 0.2.501 → 0.2.502
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/events.d.ts +6 -0
- package/package.json +1 -1
package/events.d.ts
CHANGED
|
@@ -258,7 +258,9 @@ export type GetDetailedStatisticsRequest = {
|
|
|
258
258
|
application?: string;
|
|
259
259
|
/** Name of the custom event to build the time series for. */
|
|
260
260
|
name?: string;
|
|
261
|
+
/** Calendar date of the first day counted, passed at 00:00:00Z. */
|
|
261
262
|
dateFrom?: Date;
|
|
263
|
+
/** Calendar date of the last day counted, inclusive: one day is date_to = date_from, not the next day's start. */
|
|
262
264
|
dateTo?: Date;
|
|
263
265
|
/** Bucket size for the time series (hour, day, week or month). */
|
|
264
266
|
interval?: TimeInterval;
|
|
@@ -272,6 +274,7 @@ export type GetDetailedStatisticsRequest = {
|
|
|
272
274
|
attribution?: Attribution;
|
|
273
275
|
};
|
|
274
276
|
export type GetDetailedStatisticsResponse_TriggeredCount = {
|
|
277
|
+
/** Start of the bucket in the caller's timezone (UTC+3 midnight is 21:00Z); a label, not a date to pass back. */
|
|
275
278
|
timestamp: Date;
|
|
276
279
|
triggeredCount: number;
|
|
277
280
|
};
|
|
@@ -283,7 +286,9 @@ export type GetTotalStatisticsRequest = {
|
|
|
283
286
|
application?: string;
|
|
284
287
|
/** Names of the custom events to count. */
|
|
285
288
|
events?: string[];
|
|
289
|
+
/** Calendar date of the first day counted, passed at 00:00:00Z. */
|
|
286
290
|
dateFrom?: Date;
|
|
291
|
+
/** Calendar date of the last day counted, inclusive: one day is date_to = date_from, not the next day's start. */
|
|
287
292
|
dateTo?: Date;
|
|
288
293
|
/** Message code to attribute event triggers to a single send (transactional sends have no numeric id, so this returns empty). */
|
|
289
294
|
messageCode?: string;
|
|
@@ -297,6 +302,7 @@ export type GetTotalStatisticsRequest = {
|
|
|
297
302
|
export type GetTotalStatisticsResponse_EventTriggeredCount = {
|
|
298
303
|
event: string;
|
|
299
304
|
triggeredCount: number;
|
|
305
|
+
/** Left 0 when events is set; read total_uniq_triggered_count instead. */
|
|
300
306
|
uniqTriggeredCount: number;
|
|
301
307
|
};
|
|
302
308
|
export type GetTotalStatisticsResponse = {
|