@pushwoosh/rpc-gateway-statistics-api 1.3.783 → 1.3.784

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
@@ -3471,6 +3471,42 @@ export const data = {
3471
3471
  }
3472
3472
  }
3473
3473
  },
3474
+ "pushwoosh.statistics.statistics.v2.overviewkpi.OverviewKPIService": {
3475
+ "type": "S",
3476
+ "key": "overviewKPI",
3477
+ "methods": {
3478
+ "GetOverviewKPI": {
3479
+ "request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetOverviewKPIRequest",
3480
+ "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetOverviewKPIResponse",
3481
+ "method": "post",
3482
+ "path": "/api/v2/statistics/overview/getOverviewKPI"
3483
+ },
3484
+ "GetAudienceFunnel": {
3485
+ "request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetAudienceFunnelRequest",
3486
+ "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetAudienceFunnelResponse",
3487
+ "method": "post",
3488
+ "path": "/api/v2/statistics/overview/getAudienceFunnel"
3489
+ },
3490
+ "GetReachByPlatform": {
3491
+ "request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetReachByPlatformRequest",
3492
+ "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetReachByPlatformResponse",
3493
+ "method": "post",
3494
+ "path": "/api/v2/statistics/overview/getReachByPlatform"
3495
+ },
3496
+ "GetActiveTrend": {
3497
+ "request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetActiveTrendRequest",
3498
+ "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetActiveTrendResponse",
3499
+ "method": "post",
3500
+ "path": "/api/v2/statistics/overview/getActiveTrend"
3501
+ },
3502
+ "GetRetentionCurve": {
3503
+ "request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveRequest",
3504
+ "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveResponse",
3505
+ "method": "post",
3506
+ "path": "/api/v2/statistics/overview/getRetentionCurve"
3507
+ }
3508
+ }
3509
+ },
3474
3510
  "pushwoosh.statistics.statistics.v2.overviewkpi.GetOverviewKPIRequest": {
3475
3511
  "type": "I",
3476
3512
  "fields": {
package/index.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import { StatisticsService as pushwoosh_statistics_statistics_v1_StatisticsService } from './pushwoosh_statistics_statistics_v1';
2
2
  import { DashboardsService as pushwoosh_statistics_statistics_v2_dashboards_DashboardsService } from './pushwoosh_statistics_statistics_v2_dashboards';
3
+ import { OverviewKPIService as pushwoosh_statistics_statistics_v2_overviewkpi_OverviewKPIService } from './pushwoosh_statistics_statistics_v2_overviewkpi';
3
4
  import { StatisticsService as pushwoosh_statistics_statistics_v2_statistics_StatisticsService } from './pushwoosh_statistics_statistics_v2_statistics';
4
5
  export type API = {
5
6
  statisticsV1: pushwoosh_statistics_statistics_v1_StatisticsService;
6
7
  dashboards: pushwoosh_statistics_statistics_v2_dashboards_DashboardsService;
8
+ overviewKPI: pushwoosh_statistics_statistics_v2_overviewkpi_OverviewKPIService;
7
9
  statisticsV2: pushwoosh_statistics_statistics_v2_statistics_StatisticsService;
8
10
  };
9
11
  export { data } from './data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.783",
3
+ "version": "1.3.784",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1,3 +1,25 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type OverviewKPIService_GetOverviewKPI = RpcMethod<GetOverviewKPIRequest, GetOverviewKPIResponse>;
3
+ export type OverviewKPIService_GetAudienceFunnel = RpcMethod<GetAudienceFunnelRequest, GetAudienceFunnelResponse>;
4
+ export type OverviewKPIService_GetReachByPlatform = RpcMethod<GetReachByPlatformRequest, GetReachByPlatformResponse>;
5
+ export type OverviewKPIService_GetActiveTrend = RpcMethod<GetActiveTrendRequest, GetActiveTrendResponse>;
6
+ export type OverviewKPIService_GetRetentionCurve = RpcMethod<GetRetentionCurveRequest, GetRetentionCurveResponse>;
7
+ /**
8
+ * OverviewKPIService serves the user-level Overview tab. Every method reads the
9
+ * pre-aggregated daily tables only, never the raw actions log.
10
+ */
11
+ export interface OverviewKPIService {
12
+ /** GetOverviewKPI returns the KPI ribbon for a snapshot day. */
13
+ GetOverviewKPI: OverviewKPIService_GetOverviewKPI;
14
+ /** GetAudienceFunnel returns the audience funnel for a snapshot day. */
15
+ GetAudienceFunnel: OverviewKPIService_GetAudienceFunnel;
16
+ /** GetReachByPlatform returns reachable users split by platform. */
17
+ GetReachByPlatform: OverviewKPIService_GetReachByPlatform;
18
+ /** GetActiveTrend returns the daily DAU and rolling-30 MAU series. */
19
+ GetActiveTrend: OverviewKPIService_GetActiveTrend;
20
+ /** GetRetentionCurve returns the D1/D7/D30 curve of one cohort. */
21
+ GetRetentionCurve: OverviewKPIService_GetRetentionCurve;
22
+ }
1
23
  export type GetOverviewKPIRequest = {
2
24
  applicationCode: string;
3
25
  /** snapshot day, only year-month-day are used */