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

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
  };
@@ -101,6 +101,9 @@ export type KakaoConfiguration = {
101
101
  export type TelegramConfiguration = {
102
102
  telegramApiToken: string;
103
103
  };
104
+ export type ViberConfiguration = {
105
+ viberAuthToken: string;
106
+ };
104
107
  export type WebConfiguration = {
105
108
  webVapidPublicKey: string;
106
109
  webVapidPrivateKey: string;
@@ -318,7 +321,11 @@ export type ConfigurationRequest_kind_smsConfiguration = {
318
321
  type: 'smsConfiguration';
319
322
  data: SmsConfiguration;
320
323
  };
321
- export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_iosPasskitConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration | ConfigurationRequest_kind_telegramConfiguration | ConfigurationRequest_kind_googleWalletConfiguration | ConfigurationRequest_kind_smsConfiguration;
324
+ export type ConfigurationRequest_kind_viberConfiguration = {
325
+ type: 'viberConfiguration';
326
+ data: ViberConfiguration;
327
+ };
328
+ export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_iosPasskitConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration | ConfigurationRequest_kind_telegramConfiguration | ConfigurationRequest_kind_googleWalletConfiguration | ConfigurationRequest_kind_smsConfiguration | ConfigurationRequest_kind_viberConfiguration;
322
329
  export type ConfigurationRequest = {
323
330
  code?: string;
324
331
  kind: ConfigurationRequest_kind;
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": {
@@ -3691,6 +3712,14 @@ export const data = {
3691
3712
  }
3692
3713
  }
3693
3714
  },
3715
+ "pushwoosh.rpc_v2.applications_configurations.ViberConfiguration": {
3716
+ "type": "I",
3717
+ "fields": {
3718
+ "viberAuthToken": {
3719
+ "type": "string"
3720
+ }
3721
+ }
3722
+ },
3694
3723
  "pushwoosh.rpc_v2.applications_configurations.WebConfiguration": {
3695
3724
  "type": "I",
3696
3725
  "fields": {
@@ -4005,6 +4034,9 @@ export const data = {
4005
4034
  },
4006
4035
  "smsConfiguration": {
4007
4036
  "type": "pushwoosh.rpc_v2.applications_configurations.SmsConfiguration"
4037
+ },
4038
+ "viberConfiguration": {
4039
+ "type": "pushwoosh.rpc_v2.applications_configurations.ViberConfiguration"
4008
4040
  }
4009
4041
  },
4010
4042
  "oneofs": {
@@ -4030,7 +4062,8 @@ export const data = {
4030
4062
  "kakaoConfiguration",
4031
4063
  "telegramConfiguration",
4032
4064
  "googleWalletConfiguration",
4033
- "smsConfiguration"
4065
+ "smsConfiguration",
4066
+ "viberConfiguration"
4034
4067
  ]
4035
4068
  }
4036
4069
  }
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.16",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",