@pushwoosh/rpc-v2-http-api-data 0.1.834 → 0.1.836

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
@@ -13,6 +13,8 @@ export interface ApplicationsService {
13
13
  GetControlGroupSettings(request: GetControlGroupSettingsRequest): Promise<GetControlGroupSettingsResponse>;
14
14
  UpdateControlGroupPercentage(request: UpdateControlGroupPercentageRequest): Promise<UpdateControlGroupPercentageResponse>;
15
15
  DisableControlGroup(request: DisableControlGroupRequest): Promise<DisableControlGroupResponse>;
16
+ GetDOIConfig(request: GetDOIConfigRequest): Promise<GetDOIConfigResponse>;
17
+ SetDOIConfig(request: SetDOIConfigRequest): Promise<SetDOIConfigResponse>;
16
18
  }
17
19
  export type ControlGroupTaskStatus = 'CONTROL_GROUP_TASK_STATUS_UNSPECIFIED' | 'CONTROL_GROUP_TASK_STATUS_NOT_STARTED' | 'CONTROL_GROUP_TASK_STATUS_IN_PROGRESS' | 'CONTROL_GROUP_TASK_STATUS_COMPLETED';
18
20
  export type ApplicationPlatformSubscribersCount = {
@@ -153,3 +155,18 @@ export type ShuffleControlGroupRequest = {
153
155
  code: string;
154
156
  };
155
157
  export type ShuffleControlGroupResponse = {};
158
+ export type DoubleOptInConfig = {
159
+ enabled: boolean;
160
+ emailPreset: string;
161
+ };
162
+ export type GetDOIConfigRequest = {
163
+ code?: string;
164
+ };
165
+ export type GetDOIConfigResponse = {
166
+ doiConfig: DoubleOptInConfig;
167
+ };
168
+ export type SetDOIConfigRequest = {
169
+ code?: string;
170
+ enabled?: boolean;
171
+ };
172
+ export type SetDOIConfigResponse = {};
package/data.js CHANGED
@@ -2591,6 +2591,18 @@ export const data = {
2591
2591
  "response": "pushwoosh.rpc_v2.applications.DisableControlGroupResponse",
2592
2592
  "method": "delete",
2593
2593
  "path": "/api/applications/{code}/control_group"
2594
+ },
2595
+ "GetDOIConfig": {
2596
+ "request": "pushwoosh.rpc_v2.applications.GetDOIConfigRequest",
2597
+ "response": "pushwoosh.rpc_v2.applications.GetDOIConfigResponse",
2598
+ "method": "get",
2599
+ "path": "/api/applications/{code}/doi-config"
2600
+ },
2601
+ "SetDOIConfig": {
2602
+ "request": "pushwoosh.rpc_v2.applications.SetDOIConfigRequest",
2603
+ "response": "pushwoosh.rpc_v2.applications.SetDOIConfigResponse",
2604
+ "method": "patch",
2605
+ "path": "/api/applications/{code}/doi-config"
2594
2606
  }
2595
2607
  }
2596
2608
  },
@@ -3017,6 +3029,48 @@ export const data = {
3017
3029
  "type": "I",
3018
3030
  "fields": {}
3019
3031
  },
3032
+ "pushwoosh.rpc_v2.applications.DoubleOptInConfig": {
3033
+ "type": "I",
3034
+ "fields": {
3035
+ "enabled": {
3036
+ "type": "boolean"
3037
+ },
3038
+ "emailPreset": {
3039
+ "type": "string"
3040
+ }
3041
+ }
3042
+ },
3043
+ "pushwoosh.rpc_v2.applications.GetDOIConfigRequest": {
3044
+ "type": "I",
3045
+ "fields": {
3046
+ "code": {
3047
+ "type": "string"
3048
+ }
3049
+ }
3050
+ },
3051
+ "pushwoosh.rpc_v2.applications.GetDOIConfigResponse": {
3052
+ "type": "I",
3053
+ "fields": {
3054
+ "doiConfig": {
3055
+ "type": "pushwoosh.rpc_v2.applications.DoubleOptInConfig"
3056
+ }
3057
+ }
3058
+ },
3059
+ "pushwoosh.rpc_v2.applications.SetDOIConfigRequest": {
3060
+ "type": "I",
3061
+ "fields": {
3062
+ "code": {
3063
+ "type": "string"
3064
+ },
3065
+ "enabled": {
3066
+ "type": "boolean"
3067
+ }
3068
+ }
3069
+ },
3070
+ "pushwoosh.rpc_v2.applications.SetDOIConfigResponse": {
3071
+ "type": "I",
3072
+ "fields": {}
3073
+ },
3020
3074
  "pushwoosh.rpc_v2.applications.email_froms.ApplicationEmailFromsService": {
3021
3075
  "type": "S",
3022
3076
  "key": "applicationEmailFroms",
@@ -12099,6 +12153,10 @@ export const data = {
12099
12153
  },
12100
12154
  "emailInfo": {
12101
12155
  "type": "pushwoosh.rpc_v2.messages.EmailInfo"
12156
+ },
12157
+ "childMessages": {
12158
+ "type": "pushwoosh.rpc_v2.messages.Message",
12159
+ "array": true
12102
12160
  }
12103
12161
  },
12104
12162
  "oneofs": {
package/messages.d.ts CHANGED
@@ -45,6 +45,7 @@ export type Message = {
45
45
  createdDate: Date;
46
46
  properties: Record<string, string>;
47
47
  schedulingType: Message_SchedulingType;
48
+ childMessages: Message[];
48
49
  info: Message_info;
49
50
  };
50
51
  export type ListMessagesRequest_OrderBy = 'NAME' | 'CREATED' | 'SEND_DATE';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.834",
3
+ "version": "0.1.836",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",