@pushwoosh/rpc-gateway-statistics-api 1.3.789 → 1.3.791

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
@@ -3504,6 +3504,12 @@ export const data = {
3504
3504
  "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveResponse",
3505
3505
  "method": "post",
3506
3506
  "path": "/api/v2/statistics/overview/getRetentionCurve"
3507
+ },
3508
+ "GetBaseChange": {
3509
+ "request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetBaseChangeRequest",
3510
+ "response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetBaseChangeResponse",
3511
+ "method": "post",
3512
+ "path": "/api/v2/statistics/overview/getBaseChange"
3507
3513
  }
3508
3514
  }
3509
3515
  },
@@ -3584,6 +3590,27 @@ export const data = {
3584
3590
  },
3585
3591
  "activeReachableWindowDays": {
3586
3592
  "type": "number"
3593
+ },
3594
+ "reachableActivePercent": {
3595
+ "type": "number"
3596
+ },
3597
+ "reachableDormant": {
3598
+ "type": "number"
3599
+ },
3600
+ "reachableDormantPercent": {
3601
+ "type": "number"
3602
+ },
3603
+ "permissionOff": {
3604
+ "type": "number"
3605
+ },
3606
+ "permissionOffPercent": {
3607
+ "type": "number"
3608
+ },
3609
+ "neverOptedIn": {
3610
+ "type": "number"
3611
+ },
3612
+ "neverOptedInPercent": {
3613
+ "type": "number"
3587
3614
  }
3588
3615
  }
3589
3616
  },
@@ -3701,6 +3728,46 @@ export const data = {
3701
3728
  }
3702
3729
  }
3703
3730
  },
3731
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetBaseChangeRequest": {
3732
+ "type": "I",
3733
+ "fields": {
3734
+ "applicationCode": {
3735
+ "type": "string"
3736
+ },
3737
+ "dayFrom": {
3738
+ "type": "Date"
3739
+ },
3740
+ "dayTo": {
3741
+ "type": "Date"
3742
+ }
3743
+ }
3744
+ },
3745
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetBaseChangeResponse": {
3746
+ "type": "I",
3747
+ "fields": {
3748
+ "baseStartDay": {
3749
+ "type": "Date"
3750
+ },
3751
+ "baseStart": {
3752
+ "type": "number"
3753
+ },
3754
+ "baseEndDay": {
3755
+ "type": "Date"
3756
+ },
3757
+ "baseEnd": {
3758
+ "type": "number"
3759
+ },
3760
+ "newRegistrations": {
3761
+ "type": "number"
3762
+ },
3763
+ "expiredTokens": {
3764
+ "type": "number"
3765
+ },
3766
+ "baseAvailable": {
3767
+ "type": "boolean"
3768
+ }
3769
+ }
3770
+ },
3704
3771
  "pushwoosh.statistics.statistics.v2.overviewkpi.GetMAUOverviewRequest": {
3705
3772
  "type": "I",
3706
3773
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.789",
3
+ "version": "1.3.791",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -4,6 +4,7 @@ export type OverviewKPIService_GetAudienceFunnel = RpcMethod<GetAudienceFunnelRe
4
4
  export type OverviewKPIService_GetReachByPlatform = RpcMethod<GetReachByPlatformRequest, GetReachByPlatformResponse>;
5
5
  export type OverviewKPIService_GetActiveTrend = RpcMethod<GetActiveTrendRequest, GetActiveTrendResponse>;
6
6
  export type OverviewKPIService_GetRetentionCurve = RpcMethod<GetRetentionCurveRequest, GetRetentionCurveResponse>;
7
+ export type OverviewKPIService_GetBaseChange = RpcMethod<GetBaseChangeRequest, GetBaseChangeResponse>;
7
8
  /**
8
9
  * OverviewKPIService serves the user-level Overview tab. Every method reads the
9
10
  * pre-aggregated daily tables only, never the raw actions log.
@@ -19,6 +20,8 @@ export interface OverviewKPIService {
19
20
  GetActiveTrend: OverviewKPIService_GetActiveTrend;
20
21
  /** GetRetentionCurve returns the D1/D7/D30 curve of one cohort. */
21
22
  GetRetentionCurve: OverviewKPIService_GetRetentionCurve;
23
+ /** GetBaseChange returns how the push device base moved over a period. */
24
+ GetBaseChange: OverviewKPIService_GetBaseChange;
22
25
  }
23
26
  export type GetOverviewKPIRequest = {
24
27
  applicationCode: string;
@@ -63,6 +66,16 @@ export type GetAudienceFunnelResponse = {
63
66
  activeReachable: number;
64
67
  /** window of the active_reachable step, in days */
65
68
  activeReachableWindowDays: number;
69
+ reachableActivePercent: number;
70
+ /** reachable, but no application open within the active_reachable window */
71
+ reachableDormant: number;
72
+ reachableDormantPercent: number;
73
+ /** token present, system permission revoked */
74
+ permissionOff: number;
75
+ permissionOffPercent: number;
76
+ /** no push token at all, including the email and sms only audience */
77
+ neverOptedIn: number;
78
+ neverOptedInPercent: number;
66
79
  };
67
80
  export type GetReachByPlatformRequest = {
68
81
  applicationCode: string;
@@ -116,6 +129,27 @@ export type GetRetentionCurveResponse = {
116
129
  cohortDate: Date;
117
130
  points: GetRetentionCurveResponse_Point[];
118
131
  };
132
+ export type GetBaseChangeRequest = {
133
+ applicationCode: string;
134
+ dayFrom: Date;
135
+ dayTo: Date;
136
+ };
137
+ export type GetBaseChangeResponse = {
138
+ /**
139
+ * Both bases are measured snapshots of the day named beside them, never the
140
+ * sum of the flows: the flows do not add up to the difference by themselves.
141
+ */
142
+ baseStartDay: Date;
143
+ baseStart: number;
144
+ baseEndDay: Date;
145
+ baseEnd: number;
146
+ /** devices registered over the period, push platforms only */
147
+ newRegistrations: number;
148
+ /** devices whose token a provider reported invalid, gateway responses only */
149
+ expiredTokens: number;
150
+ /** false when no snapshot exists for either end of the period */
151
+ baseAvailable: boolean;
152
+ };
119
153
  export type GetMAUOverviewRequest = {
120
154
  /** applications to sum over; ids of other accounts are ignored */
121
155
  applicationIds: number[];