@pushwoosh/rpc-v2-http-api-data 0.2.14 → 0.2.15

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.d.ts CHANGED
@@ -14,6 +14,7 @@ export type ApplicationsService_SaveAccountGroupPermissions = RpcMethod<SaveAcco
14
14
  export type ApplicationsService_GetControlGroupSettings = RpcMethod<GetControlGroupSettingsRequest, GetControlGroupSettingsResponse>;
15
15
  export type ApplicationsService_UpdateControlGroupPercentage = RpcMethod<UpdateControlGroupPercentageRequest, UpdateControlGroupPercentageResponse>;
16
16
  export type ApplicationsService_DisableControlGroup = RpcMethod<DisableControlGroupRequest, DisableControlGroupResponse>;
17
+ export type ApplicationsService_ForceUpdateControlGroupCalculation = RpcMethod<ForceUpdateControlGroupCalculationRequest, ForceUpdateControlGroupCalculationResponse>;
17
18
  export type ApplicationsService_GetDOIConfig = RpcMethod<GetDOIConfigRequest, GetDOIConfigResponse>;
18
19
  export type ApplicationsService_SetDOIConfig = RpcMethod<SetDOIConfigRequest, SetDOIConfigResponse>;
19
20
  export interface ApplicationsService {
@@ -31,6 +32,7 @@ export interface ApplicationsService {
31
32
  GetControlGroupSettings: ApplicationsService_GetControlGroupSettings;
32
33
  UpdateControlGroupPercentage: ApplicationsService_UpdateControlGroupPercentage;
33
34
  DisableControlGroup: ApplicationsService_DisableControlGroup;
35
+ ForceUpdateControlGroupCalculation: ApplicationsService_ForceUpdateControlGroupCalculation;
34
36
  GetDOIConfig: ApplicationsService_GetDOIConfig;
35
37
  SetDOIConfig: ApplicationsService_SetDOIConfig;
36
38
  }
@@ -173,6 +175,8 @@ export type GetControlGroupSettingsResponse = {
173
175
  lastModifiedAt: Date;
174
176
  /** Email of user who last modified settings */
175
177
  lastModifiedBy: string;
178
+ /** Whether cached size numbers are available (false => never calculated yet) */
179
+ hasData: boolean;
176
180
  };
177
181
  export type UpdateControlGroupPercentageRequest = {
178
182
  code?: string;
@@ -183,6 +187,10 @@ export type DisableControlGroupRequest = {
183
187
  code?: string;
184
188
  };
185
189
  export type DisableControlGroupResponse = {};
190
+ export type ForceUpdateControlGroupCalculationRequest = {
191
+ code?: string;
192
+ };
193
+ export type ForceUpdateControlGroupCalculationResponse = {};
186
194
  export type ShuffleControlGroupRequest = {
187
195
  code: string;
188
196
  };
package/data.js CHANGED
@@ -2639,6 +2639,12 @@ export const data = {
2639
2639
  "method": "delete",
2640
2640
  "path": "/api/applications/{code}/control_group"
2641
2641
  },
2642
+ "ForceUpdateControlGroupCalculation": {
2643
+ "request": "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationRequest",
2644
+ "response": "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationResponse",
2645
+ "method": "post",
2646
+ "path": "/api/applications/{code}/control_group/recalculate"
2647
+ },
2642
2648
  "GetDOIConfig": {
2643
2649
  "request": "pushwoosh.rpc_v2.applications.GetDOIConfigRequest",
2644
2650
  "response": "pushwoosh.rpc_v2.applications.GetDOIConfigResponse",
@@ -3053,6 +3059,9 @@ export const data = {
3053
3059
  },
3054
3060
  "lastModifiedBy": {
3055
3061
  "type": "string"
3062
+ },
3063
+ "hasData": {
3064
+ "type": "boolean"
3056
3065
  }
3057
3066
  }
3058
3067
  },
@@ -3083,6 +3092,18 @@ export const data = {
3083
3092
  "type": "I",
3084
3093
  "fields": {}
3085
3094
  },
3095
+ "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationRequest": {
3096
+ "type": "I",
3097
+ "fields": {
3098
+ "code": {
3099
+ "type": "string"
3100
+ }
3101
+ }
3102
+ },
3103
+ "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationResponse": {
3104
+ "type": "I",
3105
+ "fields": {}
3106
+ },
3086
3107
  "pushwoosh.rpc_v2.applications.ShuffleControlGroupRequest": {
3087
3108
  "type": "I",
3088
3109
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",