@pushwoosh/rpc-gateway-statistics-api 1.3.849 → 1.3.851
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
|
@@ -5316,6 +5316,18 @@ export const data = {
|
|
|
5316
5316
|
"totalOpensAmpp": {
|
|
5317
5317
|
"type": "number",
|
|
5318
5318
|
"array": true
|
|
5319
|
+
},
|
|
5320
|
+
"reached": {
|
|
5321
|
+
"type": "number",
|
|
5322
|
+
"array": true
|
|
5323
|
+
},
|
|
5324
|
+
"read": {
|
|
5325
|
+
"type": "number",
|
|
5326
|
+
"array": true
|
|
5327
|
+
},
|
|
5328
|
+
"dismissed": {
|
|
5329
|
+
"type": "number",
|
|
5330
|
+
"array": true
|
|
5319
5331
|
}
|
|
5320
5332
|
}
|
|
5321
5333
|
},
|
|
@@ -5372,6 +5384,15 @@ export const data = {
|
|
|
5372
5384
|
},
|
|
5373
5385
|
"totalOpenedAmpp": {
|
|
5374
5386
|
"type": "number"
|
|
5387
|
+
},
|
|
5388
|
+
"reached": {
|
|
5389
|
+
"type": "number"
|
|
5390
|
+
},
|
|
5391
|
+
"read": {
|
|
5392
|
+
"type": "number"
|
|
5393
|
+
},
|
|
5394
|
+
"dismissed": {
|
|
5395
|
+
"type": "number"
|
|
5375
5396
|
}
|
|
5376
5397
|
}
|
|
5377
5398
|
},
|
|
@@ -6302,6 +6323,94 @@ export const data = {
|
|
|
6302
6323
|
}
|
|
6303
6324
|
}
|
|
6304
6325
|
},
|
|
6326
|
+
"pushwoosh.statistics.statistics.v2.statistics.GetHoldoutUpliftRequest": {
|
|
6327
|
+
"type": "I",
|
|
6328
|
+
"fields": {
|
|
6329
|
+
"application": {
|
|
6330
|
+
"type": "string"
|
|
6331
|
+
},
|
|
6332
|
+
"journeyUuid": {
|
|
6333
|
+
"type": "string"
|
|
6334
|
+
}
|
|
6335
|
+
}
|
|
6336
|
+
},
|
|
6337
|
+
"pushwoosh.statistics.statistics.v2.statistics.HoldoutUpliftEvent": {
|
|
6338
|
+
"type": "I",
|
|
6339
|
+
"fields": {
|
|
6340
|
+
"event": {
|
|
6341
|
+
"type": "string"
|
|
6342
|
+
},
|
|
6343
|
+
"treatment": {
|
|
6344
|
+
"type": "pushwoosh.statistics.statistics.v2.statistics.ControlGroupAnalyticsGroup"
|
|
6345
|
+
},
|
|
6346
|
+
"control": {
|
|
6347
|
+
"type": "pushwoosh.statistics.statistics.v2.statistics.ControlGroupAnalyticsGroup"
|
|
6348
|
+
},
|
|
6349
|
+
"upliftPct": {
|
|
6350
|
+
"type": "number"
|
|
6351
|
+
},
|
|
6352
|
+
"incrementalEvents": {
|
|
6353
|
+
"type": "number"
|
|
6354
|
+
},
|
|
6355
|
+
"percentOfTreatment": {
|
|
6356
|
+
"type": "number"
|
|
6357
|
+
},
|
|
6358
|
+
"zScore": {
|
|
6359
|
+
"type": "number"
|
|
6360
|
+
},
|
|
6361
|
+
"pValue": {
|
|
6362
|
+
"type": "number"
|
|
6363
|
+
},
|
|
6364
|
+
"confidencePct": {
|
|
6365
|
+
"type": "number"
|
|
6366
|
+
},
|
|
6367
|
+
"significance": {
|
|
6368
|
+
"type": "pushwoosh.statistics.statistics.v2.statistics.ControlGroupAnalyticsEvent.Significance"
|
|
6369
|
+
},
|
|
6370
|
+
"revenueTracked": {
|
|
6371
|
+
"type": "boolean"
|
|
6372
|
+
},
|
|
6373
|
+
"treatmentRevenue": {
|
|
6374
|
+
"type": "number",
|
|
6375
|
+
"mapKeyType": "string"
|
|
6376
|
+
},
|
|
6377
|
+
"controlRevenue": {
|
|
6378
|
+
"type": "number",
|
|
6379
|
+
"mapKeyType": "string"
|
|
6380
|
+
},
|
|
6381
|
+
"incrementalRevenue": {
|
|
6382
|
+
"type": "number",
|
|
6383
|
+
"mapKeyType": "string"
|
|
6384
|
+
}
|
|
6385
|
+
}
|
|
6386
|
+
},
|
|
6387
|
+
"pushwoosh.statistics.statistics.v2.statistics.HoldoutUpliftPoint": {
|
|
6388
|
+
"type": "I",
|
|
6389
|
+
"fields": {
|
|
6390
|
+
"pointUuid": {
|
|
6391
|
+
"type": "string"
|
|
6392
|
+
},
|
|
6393
|
+
"computedAt": {
|
|
6394
|
+
"type": "Date"
|
|
6395
|
+
},
|
|
6396
|
+
"attributionWindowSeconds": {
|
|
6397
|
+
"type": "number"
|
|
6398
|
+
},
|
|
6399
|
+
"events": {
|
|
6400
|
+
"type": "pushwoosh.statistics.statistics.v2.statistics.HoldoutUpliftEvent",
|
|
6401
|
+
"array": true
|
|
6402
|
+
}
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6405
|
+
"pushwoosh.statistics.statistics.v2.statistics.GetHoldoutUpliftResponse": {
|
|
6406
|
+
"type": "I",
|
|
6407
|
+
"fields": {
|
|
6408
|
+
"points": {
|
|
6409
|
+
"type": "pushwoosh.statistics.statistics.v2.statistics.HoldoutUpliftPoint",
|
|
6410
|
+
"array": true
|
|
6411
|
+
}
|
|
6412
|
+
}
|
|
6413
|
+
},
|
|
6305
6414
|
"pushwoosh.statistics.statistics.v2.statistics.GetEmailCategoryPerformanceRequest": {
|
|
6306
6415
|
"type": "I",
|
|
6307
6416
|
"fields": {
|
package/package.json
CHANGED
|
@@ -441,7 +441,7 @@ export type GetJourneyMetricsRequest = {
|
|
|
441
441
|
};
|
|
442
442
|
/** ChannelMetrics contains metrics for a specific channel over time */
|
|
443
443
|
export type GetJourneyMetricsResponse_ChannelMetrics = {
|
|
444
|
-
/** Channel name (push, email, whatsapp, sms) */
|
|
444
|
+
/** Channel name (push, email, whatsapp, sms, line, inbox) */
|
|
445
445
|
channel: string;
|
|
446
446
|
/** Sends for each timestamp */
|
|
447
447
|
sends: number[];
|
|
@@ -457,7 +457,7 @@ export type GetJourneyMetricsResponse_ChannelMetrics = {
|
|
|
457
457
|
softBounces: number[];
|
|
458
458
|
/** Complaints for each timestamp */
|
|
459
459
|
complaints: number[];
|
|
460
|
-
/** Link clicks for each timestamp */
|
|
460
|
+
/** Link clicks for each timestamp; for inbox: entries opened (tapped) */
|
|
461
461
|
clicks: number[];
|
|
462
462
|
/** Unsubscribes for each timestamp */
|
|
463
463
|
unsubscribes: number[];
|
|
@@ -469,10 +469,16 @@ export type GetJourneyMetricsResponse_ChannelMetrics = {
|
|
|
469
469
|
opensAmpp: number[];
|
|
470
470
|
/** Total ampp (Apple MPP / machine) opens for each timestamp, subset of total_opens */
|
|
471
471
|
totalOpensAmpp: number[];
|
|
472
|
+
/** App Inbox only: entries that first reached the state inside the interval. Zero for other channels. */
|
|
473
|
+
reached: number[];
|
|
474
|
+
/** Read */
|
|
475
|
+
read: number[];
|
|
476
|
+
/** Dismissed, read or not */
|
|
477
|
+
dismissed: number[];
|
|
472
478
|
};
|
|
473
479
|
/** ChannelTotals contains totals for a specific channel */
|
|
474
480
|
export type GetJourneyMetricsResponse_ChannelTotals = {
|
|
475
|
-
/** Channel name (push, email, whatsapp, sms) */
|
|
481
|
+
/** Channel name (push, email, whatsapp, sms, line, inbox) */
|
|
476
482
|
channel: string;
|
|
477
483
|
/** Total messages sent for this channel */
|
|
478
484
|
sent: number;
|
|
@@ -490,7 +496,7 @@ export type GetJourneyMetricsResponse_ChannelTotals = {
|
|
|
490
496
|
softBounces: number;
|
|
491
497
|
/** Total complaints for this channel */
|
|
492
498
|
complaints: number;
|
|
493
|
-
/** Total link clicks for this channel */
|
|
499
|
+
/** Total link clicks for this channel; for inbox: entries opened (tapped) */
|
|
494
500
|
clicks: number;
|
|
495
501
|
/** Total unsubscribes for this channel */
|
|
496
502
|
unsubscribes: number;
|
|
@@ -506,6 +512,12 @@ export type GetJourneyMetricsResponse_ChannelTotals = {
|
|
|
506
512
|
openedAmpp: number;
|
|
507
513
|
/** Total ampp (Apple MPP / machine) opens for this channel, subset of total_opened */
|
|
508
514
|
totalOpenedAmpp: number;
|
|
515
|
+
/** App Inbox only, zero for other channels. */
|
|
516
|
+
reached: number;
|
|
517
|
+
/** Entries read */
|
|
518
|
+
read: number;
|
|
519
|
+
/** Entries dismissed, read or not */
|
|
520
|
+
dismissed: number;
|
|
509
521
|
};
|
|
510
522
|
/** GetJourneyMetricsResponse contains journey metrics with time series data and totals broken down by channels */
|
|
511
523
|
export type GetJourneyMetricsResponse = {
|
|
@@ -1151,6 +1163,60 @@ export type GetControlGroupAnalyticsResponse = {
|
|
|
1151
1163
|
/** Per-event analytics rows */
|
|
1152
1164
|
events: ControlGroupAnalyticsEvent[];
|
|
1153
1165
|
};
|
|
1166
|
+
/** GetHoldoutUpliftRequest asks for the uplift of one journey against its holdouts */
|
|
1167
|
+
export type GetHoldoutUpliftRequest = {
|
|
1168
|
+
/** Application Code */
|
|
1169
|
+
application: string;
|
|
1170
|
+
/** Journey UUID */
|
|
1171
|
+
journeyUuid: string;
|
|
1172
|
+
};
|
|
1173
|
+
/** HoldoutUpliftEvent contains In-journey-vs-Holdout metrics for a single goal event */
|
|
1174
|
+
export type HoldoutUpliftEvent = {
|
|
1175
|
+
/** Goal event name */
|
|
1176
|
+
event: string;
|
|
1177
|
+
/** Travellers that went on into the journey */
|
|
1178
|
+
treatment: ControlGroupAnalyticsGroup;
|
|
1179
|
+
/** Travellers held out */
|
|
1180
|
+
control: ControlGroupAnalyticsGroup;
|
|
1181
|
+
/** Relative uplift of treatment over control, percent */
|
|
1182
|
+
upliftPct: number;
|
|
1183
|
+
/** Estimated events attributable to the journey */
|
|
1184
|
+
incrementalEvents: number;
|
|
1185
|
+
/** Incremental events as percent of treatment events */
|
|
1186
|
+
percentOfTreatment: number;
|
|
1187
|
+
/** Z-score of the uplift */
|
|
1188
|
+
zScore: number;
|
|
1189
|
+
/** P-value of the uplift */
|
|
1190
|
+
pValue: number;
|
|
1191
|
+
/** Confidence level, percent */
|
|
1192
|
+
confidencePct: number;
|
|
1193
|
+
/** Statistical significance verdict */
|
|
1194
|
+
significance: ControlGroupAnalyticsEvent_Significance;
|
|
1195
|
+
/** Revenue source is configured for the event; false means it was read from legacy attributes */
|
|
1196
|
+
revenueTracked: boolean;
|
|
1197
|
+
/** Treatment revenue per currency, not converted */
|
|
1198
|
+
treatmentRevenue: Record<string, number>;
|
|
1199
|
+
/** Holdout revenue per currency, not converted */
|
|
1200
|
+
controlRevenue: Record<string, number>;
|
|
1201
|
+
/** Revenue attributable to the journey per currency */
|
|
1202
|
+
incrementalRevenue: Record<string, number>;
|
|
1203
|
+
};
|
|
1204
|
+
/** HoldoutUpliftPoint is the latest report of one Holdout Split point */
|
|
1205
|
+
export type HoldoutUpliftPoint = {
|
|
1206
|
+
/** Holdout Split point UUID */
|
|
1207
|
+
pointUuid: string;
|
|
1208
|
+
/** When the report was computed */
|
|
1209
|
+
computedAt: Date;
|
|
1210
|
+
/** Conversion window counted from passing the point */
|
|
1211
|
+
attributionWindowSeconds: number;
|
|
1212
|
+
/** Per-goal rows */
|
|
1213
|
+
events: HoldoutUpliftEvent[];
|
|
1214
|
+
};
|
|
1215
|
+
/** GetHoldoutUpliftResponse contains the latest report per Holdout Split point */
|
|
1216
|
+
export type GetHoldoutUpliftResponse = {
|
|
1217
|
+
/** One entry per point that has a report */
|
|
1218
|
+
points: HoldoutUpliftPoint[];
|
|
1219
|
+
};
|
|
1154
1220
|
/** GetEmailCategoryPerformanceRequest asks for per-category counters over the period */
|
|
1155
1221
|
export type GetEmailCategoryPerformanceRequest = {
|
|
1156
1222
|
/** Application Code */
|