@pushwoosh/rpc-v2-http-api-data 0.2.189 → 0.2.191

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.
@@ -54,16 +54,14 @@ export type GetCalculationStatusResponse = {
54
54
  /** Whether cached size numbers are available */
55
55
  hasData: boolean;
56
56
  };
57
- export type GetAnalyticsRequest_WindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30';
58
57
  /**
59
- * GetAnalyticsRequest asks for the precomputed Control-vs-Treatment analytics
60
- * for a window preset (3/7/30 days).
61
- * GetAnalyticsRequest is no longer a request: the endpoint that took it is
62
- * gone. It stays as the home of WindowDays, which
63
- * GetControlGroupAnalyticsRequest still uses -- moving the enum would rename
64
- * the generated type and every client importing it.
58
+ * AnalyticsWindowDays is the lookback window preset for Control-vs-Treatment
59
+ * analytics.
60
+ * The value names keep the WINDOW_DAYS_ prefix on purpose: they are what
61
+ * grpc-gateway puts on the wire in JSON, and renaming them would break every
62
+ * client mid-rollout.
65
63
  */
66
- export type GetAnalyticsRequest = {};
64
+ export type AnalyticsWindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30';
67
65
  /** ControlGroup is one configured control group of an application. */
68
66
  export type ControlGroup = {
69
67
  /** Control group code (format XXXXX-XXXXX), stable for the life of the group. */
@@ -169,7 +167,7 @@ export type GetControlGroupAnalyticsRequest = {
169
167
  /** Control group code (format XXXXX-XXXXX) to report on. */
170
168
  controlGroupCode?: string;
171
169
  /** Analytics lookback window preset (3, 7 or 30 days). */
172
- windowDays?: GetAnalyticsRequest_WindowDays;
170
+ windowDays?: AnalyticsWindowDays;
173
171
  };
174
172
  export type AnalyticsGroup = {
175
173
  users: number;
package/data.js CHANGED
@@ -6434,7 +6434,7 @@ export const data = {
6434
6434
  }
6435
6435
  }
6436
6436
  },
6437
- "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest.WindowDays": {
6437
+ "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsWindowDays": {
6438
6438
  "type": "E",
6439
6439
  "values": [
6440
6440
  "WINDOW_DAYS_UNSPECIFIED",
@@ -6443,10 +6443,6 @@ export const data = {
6443
6443
  "WINDOW_DAYS_30"
6444
6444
  ]
6445
6445
  },
6446
- "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest": {
6447
- "type": "I",
6448
- "fields": {}
6449
- },
6450
6446
  "pushwoosh.rpc_v2.applications_controlgroup.ControlGroup": {
6451
6447
  "type": "I",
6452
6448
  "fields": {
@@ -6652,7 +6648,7 @@ export const data = {
6652
6648
  "type": "string"
6653
6649
  },
6654
6650
  "windowDays": {
6655
- "type": "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest.WindowDays"
6651
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsWindowDays"
6656
6652
  }
6657
6653
  }
6658
6654
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.189",
3
+ "version": "0.2.191",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",