@pushwoosh/rpc-v2-http-api-data 0.2.106 → 0.2.108

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
@@ -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": {
@@ -25665,6 +25666,10 @@ export const data = {
25665
25666
  "metrics": {
25666
25667
  "type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetLinearChartMetricsResponse.Metric",
25667
25668
  "array": true
25669
+ },
25670
+ "notPreparedSegments": {
25671
+ "type": "string",
25672
+ "array": true
25668
25673
  }
25669
25674
  }
25670
25675
  },
@@ -25708,6 +25713,10 @@ export const data = {
25708
25713
  "metrics": {
25709
25714
  "type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetTotalsChartMetricsResponse.Metric",
25710
25715
  "array": true
25716
+ },
25717
+ "notPreparedSegments": {
25718
+ "type": "string",
25719
+ "array": true
25711
25720
  }
25712
25721
  }
25713
25722
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.106",
3
+ "version": "0.2.108",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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.
@@ -404,6 +410,12 @@ export type GetLinearChartMetricsResponse = {
404
410
  timestamps: Date[];
405
411
  /** List of metrics with their breakdown data. Each metric can have multiple breakdowns. */
406
412
  metrics: GetLinearChartMetricsResponse_Metric[];
413
+ /**
414
+ * Codes of the requested segments whose snapshot is not prepared. Their filtering
415
+ * was NOT applied to the returned metrics, so the numbers must not be presented
416
+ * as filtered by those segments.
417
+ */
418
+ notPreparedSegments: string[];
407
419
  };
408
420
  export type GetTotalsChartMetricsRequest = {
409
421
  /**
@@ -430,6 +442,12 @@ export type GetTotalsChartMetricsResponse_Metric = {
430
442
  export type GetTotalsChartMetricsResponse = {
431
443
  /** List of metrics with their aggregated total values and breakdowns. */
432
444
  metrics: GetTotalsChartMetricsResponse_Metric[];
445
+ /**
446
+ * Codes of the requested segments whose snapshot is not prepared. Their filtering
447
+ * was NOT applied to the returned metrics, so the numbers must not be presented
448
+ * as filtered by those segments.
449
+ */
450
+ notPreparedSegments: string[];
433
451
  };
434
452
  export type GetFunnelRequest = {
435
453
  /**