@pushwoosh/rpc-v2-http-api-data 0.2.107 → 0.2.109
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 +16 -1
- package/package.json +1 -1
- package/statistics_dashboards_widgets.d.ts +26 -2
package/data.js
CHANGED
|
@@ -25374,7 +25374,8 @@ export const data = {
|
|
|
25374
25374
|
"TAG_VALUES",
|
|
25375
25375
|
"CAMPAIGNS",
|
|
25376
25376
|
"MESSAGES",
|
|
25377
|
-
"JOURNEYS"
|
|
25377
|
+
"JOURNEYS",
|
|
25378
|
+
"SEGMENTS"
|
|
25378
25379
|
]
|
|
25379
25380
|
},
|
|
25380
25381
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.MathOperator": {
|
|
@@ -25617,6 +25618,12 @@ export const data = {
|
|
|
25617
25618
|
},
|
|
25618
25619
|
"timezone": {
|
|
25619
25620
|
"type": "string"
|
|
25621
|
+
},
|
|
25622
|
+
"includeAllOneTime": {
|
|
25623
|
+
"type": "boolean"
|
|
25624
|
+
},
|
|
25625
|
+
"includeAllJourneys": {
|
|
25626
|
+
"type": "boolean"
|
|
25620
25627
|
}
|
|
25621
25628
|
}
|
|
25622
25629
|
},
|
|
@@ -25665,6 +25672,10 @@ export const data = {
|
|
|
25665
25672
|
"metrics": {
|
|
25666
25673
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetLinearChartMetricsResponse.Metric",
|
|
25667
25674
|
"array": true
|
|
25675
|
+
},
|
|
25676
|
+
"notPreparedSegments": {
|
|
25677
|
+
"type": "string",
|
|
25678
|
+
"array": true
|
|
25668
25679
|
}
|
|
25669
25680
|
}
|
|
25670
25681
|
},
|
|
@@ -25708,6 +25719,10 @@ export const data = {
|
|
|
25708
25719
|
"metrics": {
|
|
25709
25720
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetTotalsChartMetricsResponse.Metric",
|
|
25710
25721
|
"array": true
|
|
25722
|
+
},
|
|
25723
|
+
"notPreparedSegments": {
|
|
25724
|
+
"type": "string",
|
|
25725
|
+
"array": true
|
|
25711
25726
|
}
|
|
25712
25727
|
}
|
|
25713
25728
|
},
|
package/package.json
CHANGED
|
@@ -191,7 +191,13 @@ export type Breakdown =
|
|
|
191
191
|
* To split data by journeys.
|
|
192
192
|
* Applicable to: Metrics that support journey filtering.
|
|
193
193
|
*/
|
|
194
|
-
| 'JOURNEYS'
|
|
194
|
+
| 'JOURNEYS'
|
|
195
|
+
/**
|
|
196
|
+
* To compare cohorts: every prepared segment from fltrs becomes its own series
|
|
197
|
+
* named after the segment, instead of the segments being merged into one.
|
|
198
|
+
* Applicable to: Metrics that support segment filtering (events, revenue, push/email).
|
|
199
|
+
*/
|
|
200
|
+
| 'SEGMENTS';
|
|
195
201
|
export type MathOperator = 'MATH_OPERATOR_UNSPECIFIED' | 'EQ' | 'NOT_EQ' | 'GTE' | 'LTE' | 'BETWEEN' | 'IN' | 'NOT_IN' | 'ANY' | 'NOT_SET';
|
|
196
202
|
export type Value_kind_string = {
|
|
197
203
|
type: 'string';
|
|
@@ -322,7 +328,7 @@ export type ChartParams_Filter = {
|
|
|
322
328
|
};
|
|
323
329
|
export type ChartParams_BreakdownParams = {
|
|
324
330
|
/**
|
|
325
|
-
* Type of breakdown to apply (BREAKDOWN_UNKNOWN, PLATFORMS, EVENT_ATTRIBUTE, TAG_VALUES, CAMPAIGNS, MESSAGES, JOURNEYS).
|
|
331
|
+
* Type of breakdown to apply (BREAKDOWN_UNKNOWN, PLATFORMS, EVENT_ATTRIBUTE, TAG_VALUES, CAMPAIGNS, MESSAGES, JOURNEYS, SEGMENTS).
|
|
326
332
|
* Determines how data is segmented in the response.
|
|
327
333
|
* CRITICAL RULE: If a breakdown is applied to a chart, that chart MUST display ONLY ONE metric.
|
|
328
334
|
* The breakdown.type chosen MUST correspond to the metric type being broken down.
|
|
@@ -376,6 +382,12 @@ export type ChartParams = {
|
|
|
376
382
|
* Used to correctly bucket data into time intervals.
|
|
377
383
|
*/
|
|
378
384
|
timezone: string;
|
|
385
|
+
/**
|
|
386
|
+
* Scope event metrics by message source: exactly one true narrows the chart to
|
|
387
|
+
* that source, both true or both false leave it unrestricted.
|
|
388
|
+
*/
|
|
389
|
+
includeAllOneTime: boolean;
|
|
390
|
+
includeAllJourneys: boolean;
|
|
379
391
|
};
|
|
380
392
|
export type GetLinearChartMetricsRequest = {
|
|
381
393
|
/**
|
|
@@ -404,6 +416,12 @@ export type GetLinearChartMetricsResponse = {
|
|
|
404
416
|
timestamps: Date[];
|
|
405
417
|
/** List of metrics with their breakdown data. Each metric can have multiple breakdowns. */
|
|
406
418
|
metrics: GetLinearChartMetricsResponse_Metric[];
|
|
419
|
+
/**
|
|
420
|
+
* Codes of the requested segments whose snapshot is not prepared. Their filtering
|
|
421
|
+
* was NOT applied to the returned metrics, so the numbers must not be presented
|
|
422
|
+
* as filtered by those segments.
|
|
423
|
+
*/
|
|
424
|
+
notPreparedSegments: string[];
|
|
407
425
|
};
|
|
408
426
|
export type GetTotalsChartMetricsRequest = {
|
|
409
427
|
/**
|
|
@@ -430,6 +448,12 @@ export type GetTotalsChartMetricsResponse_Metric = {
|
|
|
430
448
|
export type GetTotalsChartMetricsResponse = {
|
|
431
449
|
/** List of metrics with their aggregated total values and breakdowns. */
|
|
432
450
|
metrics: GetTotalsChartMetricsResponse_Metric[];
|
|
451
|
+
/**
|
|
452
|
+
* Codes of the requested segments whose snapshot is not prepared. Their filtering
|
|
453
|
+
* was NOT applied to the returned metrics, so the numbers must not be presented
|
|
454
|
+
* as filtered by those segments.
|
|
455
|
+
*/
|
|
456
|
+
notPreparedSegments: string[];
|
|
433
457
|
};
|
|
434
458
|
export type GetFunnelRequest = {
|
|
435
459
|
/**
|