@pushwoosh/rpc-gateway-statistics-api 1.3.853 → 1.3.854
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/data.js
CHANGED
|
@@ -4577,6 +4577,10 @@ export const data = {
|
|
|
4577
4577
|
},
|
|
4578
4578
|
"dayTo": {
|
|
4579
4579
|
"type": "Date"
|
|
4580
|
+
},
|
|
4581
|
+
"platformIds": {
|
|
4582
|
+
"type": "number",
|
|
4583
|
+
"array": true
|
|
4580
4584
|
}
|
|
4581
4585
|
}
|
|
4582
4586
|
},
|
|
@@ -4626,6 +4630,18 @@ export const data = {
|
|
|
4626
4630
|
}
|
|
4627
4631
|
}
|
|
4628
4632
|
},
|
|
4633
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Day": {
|
|
4634
|
+
"type": "I",
|
|
4635
|
+
"fields": {
|
|
4636
|
+
"day": {
|
|
4637
|
+
"type": "Date"
|
|
4638
|
+
},
|
|
4639
|
+
"platforms": {
|
|
4640
|
+
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Platform",
|
|
4641
|
+
"array": true
|
|
4642
|
+
}
|
|
4643
|
+
}
|
|
4644
|
+
},
|
|
4629
4645
|
"pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse": {
|
|
4630
4646
|
"type": "I",
|
|
4631
4647
|
"fields": {
|
|
@@ -4656,6 +4672,10 @@ export const data = {
|
|
|
4656
4672
|
},
|
|
4657
4673
|
"unique": {
|
|
4658
4674
|
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Unique"
|
|
4675
|
+
},
|
|
4676
|
+
"days": {
|
|
4677
|
+
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Day",
|
|
4678
|
+
"array": true
|
|
4659
4679
|
}
|
|
4660
4680
|
}
|
|
4661
4681
|
},
|
package/package.json
CHANGED
|
@@ -459,6 +459,11 @@ export type GetUserMessageMetricsRequest = {
|
|
|
459
459
|
applicationCode: string;
|
|
460
460
|
dayFrom: Date;
|
|
461
461
|
dayTo: Date;
|
|
462
|
+
/**
|
|
463
|
+
* count only these platforms; empty is every channel of the application,
|
|
464
|
+
* email and SMS included
|
|
465
|
+
*/
|
|
466
|
+
platformIds: number[];
|
|
462
467
|
};
|
|
463
468
|
/**
|
|
464
469
|
* the same tiles with every user counted once over the whole period instead
|
|
@@ -480,6 +485,11 @@ export type GetUserMessageMetricsResponse_Platform = {
|
|
|
480
485
|
opens: number;
|
|
481
486
|
unique: GetUserMessageMetricsResponse_Unique;
|
|
482
487
|
};
|
|
488
|
+
/** one day of the period, split the same way as the period totals above */
|
|
489
|
+
export type GetUserMessageMetricsResponse_Day = {
|
|
490
|
+
day: Date;
|
|
491
|
+
platforms: GetUserMessageMetricsResponse_Platform[];
|
|
492
|
+
};
|
|
483
493
|
export type GetUserMessageMetricsResponse = {
|
|
484
494
|
/** users the gateway was asked for: the ones it took plus the ones it refused */
|
|
485
495
|
sends: number;
|
|
@@ -507,4 +517,9 @@ export type GetUserMessageMetricsResponse = {
|
|
|
507
517
|
*/
|
|
508
518
|
opens: number;
|
|
509
519
|
unique: GetUserMessageMetricsResponse_Unique;
|
|
520
|
+
/**
|
|
521
|
+
* the daily series behind the chart; a day the mart never wrote is missing
|
|
522
|
+
* rather than zero, so the line starts where the data does
|
|
523
|
+
*/
|
|
524
|
+
days: GetUserMessageMetricsResponse_Day[];
|
|
510
525
|
};
|