@pushwoosh/rpc-v2-http-api-data 0.2.353 → 0.2.354
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/applications_controlgroup.d.ts +10 -3
- package/data.js +5 -1
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ export interface ApplicationsControlGroupService {
|
|
|
46
46
|
ForceUpdateControlGroupCalculation: ApplicationsControlGroupService_ForceUpdateControlGroupCalculation;
|
|
47
47
|
/** Polls just the changing user counts of one control group while a size calculation runs. */
|
|
48
48
|
GetControlGroupCalculationStatus: ApplicationsControlGroupService_GetControlGroupCalculationStatus;
|
|
49
|
-
/** Returns the precomputed Control-vs-Treatment analytics for one control group
|
|
49
|
+
/** Returns the precomputed Control-vs-Treatment analytics for one control group cycle: the running cycle over a 3, 7 or 30 day window, or a closed cycle over its full period. A cycle the job has not measured yet comes back empty. */
|
|
50
50
|
GetControlGroupAnalytics: ApplicationsControlGroupService_GetControlGroupAnalytics;
|
|
51
51
|
/** Reports for each user id whether it is held out by one control group right now. Membership is computed from the id, so this answers without exporting the base: use it to check the users of a send or an import instead of exporting the whole group. A group scoped to countries or a tag holds a user out only if one of their devices is in that scope. */
|
|
52
52
|
CheckControlGroupMembership: ApplicationsControlGroupService_CheckControlGroupMembership;
|
|
@@ -73,7 +73,9 @@ export type GetCalculationStatusResponse = {
|
|
|
73
73
|
* grpc-gateway puts on the wire in JSON, and renaming them would break every
|
|
74
74
|
* client mid-rollout.
|
|
75
75
|
*/
|
|
76
|
-
export type AnalyticsWindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30'
|
|
76
|
+
export type AnalyticsWindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30'
|
|
77
|
+
/** The whole cycle; only a closed cycle is measured this way, so it needs a cycle_number. */
|
|
78
|
+
| 'WINDOW_DAYS_FULL_PERIOD';
|
|
77
79
|
/**
|
|
78
80
|
* ControlGroupMode is how long a drawn membership lives. Unspecified reads as
|
|
79
81
|
* permanent, which is what every group was before modes existed.
|
|
@@ -302,8 +304,13 @@ export type GetControlGroupAnalyticsRequest = {
|
|
|
302
304
|
code?: string;
|
|
303
305
|
/** Control group code (format XXXXX-XXXXX) to report on. */
|
|
304
306
|
controlGroupCode?: string;
|
|
305
|
-
/** Analytics lookback window preset (3, 7 or 30 days). */
|
|
307
|
+
/** Analytics lookback window preset (3, 7 or 30 days, or the full period of a closed cycle). */
|
|
306
308
|
windowDays?: AnalyticsWindowDays;
|
|
309
|
+
/**
|
|
310
|
+
* Cycle to report on: the group's cycle_number for the running one, a listed number for a closed one.
|
|
311
|
+
* 0 is the latest rows whatever their cycle; required with WINDOW_DAYS_FULL_PERIOD.
|
|
312
|
+
*/
|
|
313
|
+
cycleNumber?: number;
|
|
307
314
|
};
|
|
308
315
|
export type AnalyticsGroup = {
|
|
309
316
|
users: number;
|
package/data.js
CHANGED
|
@@ -7073,7 +7073,8 @@ export const data = {
|
|
|
7073
7073
|
"WINDOW_DAYS_UNSPECIFIED",
|
|
7074
7074
|
"WINDOW_DAYS_3",
|
|
7075
7075
|
"WINDOW_DAYS_7",
|
|
7076
|
-
"WINDOW_DAYS_30"
|
|
7076
|
+
"WINDOW_DAYS_30",
|
|
7077
|
+
"WINDOW_DAYS_FULL_PERIOD"
|
|
7077
7078
|
]
|
|
7078
7079
|
},
|
|
7079
7080
|
"pushwoosh.rpc_v2.applications_controlgroup.ControlGroupMode": {
|
|
@@ -7471,6 +7472,9 @@ export const data = {
|
|
|
7471
7472
|
},
|
|
7472
7473
|
"windowDays": {
|
|
7473
7474
|
"type": "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsWindowDays"
|
|
7475
|
+
},
|
|
7476
|
+
"cycleNumber": {
|
|
7477
|
+
"type": "number"
|
|
7474
7478
|
}
|
|
7475
7479
|
}
|
|
7476
7480
|
},
|