@pushwoosh/rpc-v2-http-api-data 0.2.353 → 0.2.355
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 +13 -6
- package/data.js +5 -1
- package/package.json +1 -1
|
@@ -22,13 +22,13 @@ export type ApplicationsControlGroupService_CheckControlGroupMembership = RpcMet
|
|
|
22
22
|
* keeps every existing member; only a reshuffle draws a new sample.
|
|
23
23
|
*/
|
|
24
24
|
export interface ApplicationsControlGroupService {
|
|
25
|
-
/** Lists every control group configured for an application, including
|
|
25
|
+
/** Lists every control group configured for an application, including the unnamed one a send falls back to when it names no group. Use to show the groups of an application before picking one to inspect or change. */
|
|
26
26
|
ListControlGroups: ApplicationsControlGroupService_ListControlGroups;
|
|
27
|
-
/** Creates a named control group for an application and returns it with its generated code.
|
|
27
|
+
/** Creates a named control group for an application and returns it with its generated code. Only the group with an empty name is the fallback for a send that names no group; a named group holds users out only when the send selects it. */
|
|
28
28
|
CreateControlGroup: ApplicationsControlGroupService_CreateControlGroup;
|
|
29
29
|
/** Returns one control group by its code, with its hold-out size, generation and the user counts behind it. */
|
|
30
30
|
GetControlGroup: ApplicationsControlGroupService_GetControlGroup;
|
|
31
|
-
/** Removes a control group entirely. Deleting the
|
|
31
|
+
/** Removes a control group entirely. Deleting the unnamed one leaves the application without a fallback, so a send that names no group holds nobody out until an unnamed group is created again. To stop holding users out while keeping the group, disable it instead. */
|
|
32
32
|
DeleteControlGroup: ApplicationsControlGroupService_DeleteControlGroup;
|
|
33
33
|
/** Deprecated: use UpdateControlGroupSettings, which applies size, scope and mode in one save. Sets the hold-out percentage (1-20) of one control group; resizing keeps every existing member and closes the running cycle. */
|
|
34
34
|
UpdateControlGroupPercentage: ApplicationsControlGroupService_UpdateControlGroupPercentage;
|
|
@@ -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
|
},
|