@pushwoosh/rpc-v2-http-api-data 0.2.336 → 0.2.338
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.
|
@@ -3,8 +3,8 @@ export type ApplicationsControlGroupService_ListControlGroups = RpcMethod<ListCo
|
|
|
3
3
|
export type ApplicationsControlGroupService_CreateControlGroup = RpcMethod<CreateControlGroupRequest, CreateControlGroupResponse>;
|
|
4
4
|
export type ApplicationsControlGroupService_GetControlGroup = RpcMethod<GetControlGroupRequest, GetControlGroupResponse>;
|
|
5
5
|
export type ApplicationsControlGroupService_DeleteControlGroup = RpcMethod<DeleteControlGroupRequest, DeleteControlGroupResponse>;
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
6
|
+
export type ApplicationsControlGroupService_UpdateControlGroupSettings = RpcMethod<UpdateControlGroupSettingsRequest, UpdateControlGroupSettingsResponse>;
|
|
7
|
+
export type ApplicationsControlGroupService_ListControlGroupCycles = RpcMethod<ListControlGroupCyclesRequest, ListControlGroupCyclesResponse>;
|
|
8
8
|
export type ApplicationsControlGroupService_DisableControlGroup = RpcMethod<DisableControlGroupRequest, DisableControlGroupResponse>;
|
|
9
9
|
export type ApplicationsControlGroupService_ReshuffleControlGroup = RpcMethod<ReshuffleControlGroupRequest, ReshuffleControlGroupResponse>;
|
|
10
10
|
export type ApplicationsControlGroupService_ForceUpdateControlGroupCalculation = RpcMethod<ForceUpdateControlGroupCalculationRequest, ForceUpdateControlGroupCalculationResponse>;
|
|
@@ -28,13 +28,13 @@ export interface ApplicationsControlGroupService {
|
|
|
28
28
|
GetControlGroup: ApplicationsControlGroupService_GetControlGroup;
|
|
29
29
|
/** Removes a control group entirely. Deleting the default one leaves the application without a fallback, so sends hold nobody out until a group is created again. To stop holding users out while keeping the group, disable it instead. */
|
|
30
30
|
DeleteControlGroup: ApplicationsControlGroupService_DeleteControlGroup;
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
/** Switches one control group off,
|
|
31
|
+
/** Applies a control group's size, country scope and lifetime mode in one call. A change that alters who is held out or how long for (size, scope, mode, period, end date) closes the running cycle and starts a new one; sending the current values changes nothing. */
|
|
32
|
+
UpdateControlGroupSettings: ApplicationsControlGroupService_UpdateControlGroupSettings;
|
|
33
|
+
/** Lists the closed cycles of one control group, newest first: each is the membership the group ran with between two changes, with the settings it was drawn from. The running cycle is on the group itself. */
|
|
34
|
+
ListControlGroupCycles: ApplicationsControlGroupService_ListControlGroupCycles;
|
|
35
|
+
/** Switches one control group off, closes the running cycle and resets its mode to permanent. The group and its generation are kept, so switching it back on restores the same hold-out rather than drawing a new one. */
|
|
36
36
|
DisableControlGroup: ApplicationsControlGroupService_DisableControlGroup;
|
|
37
|
-
/** Redraws one control group's hold-out by incrementing its generation. This is the only way to get a different sample: membership is deterministic, so disabling and re-enabling reproduces exactly the same one. */
|
|
37
|
+
/** Redraws one control group's hold-out by incrementing its generation and closes the running cycle. This is the only way to get a different sample: membership is deterministic, so disabling and re-enabling reproduces exactly the same one. */
|
|
38
38
|
ReshuffleControlGroup: ApplicationsControlGroupService_ReshuffleControlGroup;
|
|
39
39
|
/** Starts a fresh count of one control group's size. The previously cached numbers keep being served until the new count finishes. */
|
|
40
40
|
ForceUpdateControlGroupCalculation: ApplicationsControlGroupService_ForceUpdateControlGroupCalculation;
|
|
@@ -42,7 +42,7 @@ export interface ApplicationsControlGroupService {
|
|
|
42
42
|
GetControlGroupCalculationStatus: ApplicationsControlGroupService_GetControlGroupCalculationStatus;
|
|
43
43
|
/** Returns the precomputed Control-vs-Treatment analytics for one control group. Only the default group has analytics: the nightly job still measures one hold-out per application, so any other group comes back empty until it learns about groups. */
|
|
44
44
|
GetControlGroupAnalytics: ApplicationsControlGroupService_GetControlGroupAnalytics;
|
|
45
|
-
/** 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
|
|
45
|
+
/** 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 holds a user out only if one of their devices is in those countries. */
|
|
46
46
|
CheckControlGroupMembership: ApplicationsControlGroupService_CheckControlGroupMembership;
|
|
47
47
|
}
|
|
48
48
|
export type TaskStatus = 'TASK_STATUS_UNSPECIFIED' | 'TASK_STATUS_NOT_STARTED' | 'TASK_STATUS_IN_PROGRESS' | 'TASK_STATUS_COMPLETED';
|
|
@@ -68,6 +68,49 @@ export type GetCalculationStatusResponse = {
|
|
|
68
68
|
* client mid-rollout.
|
|
69
69
|
*/
|
|
70
70
|
export type AnalyticsWindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30';
|
|
71
|
+
/**
|
|
72
|
+
* ControlGroupMode is how long a drawn membership lives. Unspecified reads as
|
|
73
|
+
* permanent, which is what every group was before modes existed.
|
|
74
|
+
*/
|
|
75
|
+
export type ControlGroupMode = 'CONTROL_GROUP_MODE_UNSPECIFIED'
|
|
76
|
+
/** Kept until the group is switched off. */
|
|
77
|
+
| 'CONTROL_GROUP_MODE_PERMANENT'
|
|
78
|
+
/** Redrawn every refresh_period_days; the previous members return to messaging. */
|
|
79
|
+
| 'CONTROL_GROUP_MODE_AUTO_REFRESH'
|
|
80
|
+
/** Switched off at ends_at, after which everyone returns to messaging. */
|
|
81
|
+
| 'CONTROL_GROUP_MODE_EXPERIMENT';
|
|
82
|
+
/** ControlGroupCycleCloseReason is why a cycle ended. */
|
|
83
|
+
export type ControlGroupCycleCloseReason = 'CONTROL_GROUP_CYCLE_CLOSE_REASON_UNSPECIFIED'
|
|
84
|
+
/** An auto-refresh cycle ran its period out. */
|
|
85
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_ROLLOVER'
|
|
86
|
+
/** An experiment reached its end date. */
|
|
87
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_EXPIRED'
|
|
88
|
+
/** The membership was redrawn by hand. */
|
|
89
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_RESHUFFLED'
|
|
90
|
+
/** The hold-out size was changed. */
|
|
91
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_RESIZED'
|
|
92
|
+
/** The country scope was changed. */
|
|
93
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_RESCOPED'
|
|
94
|
+
/** The mode, period or end date was changed. */
|
|
95
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_MODE_CHANGED'
|
|
96
|
+
/** The group was switched off by hand. */
|
|
97
|
+
| 'CONTROL_GROUP_CYCLE_CLOSE_REASON_DISABLED';
|
|
98
|
+
/**
|
|
99
|
+
* ControlGroupCycle is one closed cycle of a control group: the settings its
|
|
100
|
+
* hold-out was drawn from and the period it was held out for.
|
|
101
|
+
*/
|
|
102
|
+
export type ControlGroupCycle = {
|
|
103
|
+
/** Sequential within the group; the group's cycle_number is the one after the last closed. */
|
|
104
|
+
cycleNumber: number;
|
|
105
|
+
/** Mode the group ran in during this cycle. */
|
|
106
|
+
mode: ControlGroupMode;
|
|
107
|
+
generation: number;
|
|
108
|
+
percentage: number;
|
|
109
|
+
countries: string[];
|
|
110
|
+
startedAt: Date;
|
|
111
|
+
endedAt: Date;
|
|
112
|
+
closeReason: ControlGroupCycleCloseReason;
|
|
113
|
+
};
|
|
71
114
|
/** ControlGroup is one configured control group of an application. */
|
|
72
115
|
export type ControlGroup = {
|
|
73
116
|
/** Control group code (format XXXXX-XXXXX), stable for the life of the group. */
|
|
@@ -91,6 +134,14 @@ export type ControlGroup = {
|
|
|
91
134
|
applicationId: number;
|
|
92
135
|
/** Countries the hold-out is scoped to, lowercase ISO-3166-1 alpha-2; empty is every country. */
|
|
93
136
|
countries: string[];
|
|
137
|
+
mode: ControlGroupMode;
|
|
138
|
+
/** Days between redraws in auto-refresh mode; 0 in the other modes. */
|
|
139
|
+
refreshPeriodDays: number;
|
|
140
|
+
/** When an experiment switches off; unset in the other modes. */
|
|
141
|
+
endsAt: Date;
|
|
142
|
+
/** The running cycle. A disabled group has no running cycle: its number is the next one to start. */
|
|
143
|
+
cycleNumber: number;
|
|
144
|
+
cycleStartedAt: Date;
|
|
94
145
|
};
|
|
95
146
|
export type ListControlGroupsRequest = {
|
|
96
147
|
/** Application code (format XXXXX-XXXXX) whose control groups to list. */
|
|
@@ -110,6 +161,12 @@ export type CreateControlGroupRequest = {
|
|
|
110
161
|
segment?: string;
|
|
111
162
|
/** Countries to scope the hold-out to, lowercase ISO-3166-1 alpha-2; empty means every country. */
|
|
112
163
|
countries?: string[];
|
|
164
|
+
/** Lifetime of the membership; unspecified means permanent. */
|
|
165
|
+
mode?: ControlGroupMode;
|
|
166
|
+
/** Days between redraws, auto-refresh only: 7 to 365. */
|
|
167
|
+
refreshPeriodDays?: number;
|
|
168
|
+
/** End of the experiment, experiment only: at least 30 days ahead. */
|
|
169
|
+
endsAt?: Date;
|
|
113
170
|
};
|
|
114
171
|
export type CreateControlGroupResponse = {
|
|
115
172
|
group: ControlGroup;
|
|
@@ -139,22 +196,55 @@ export type DeleteControlGroupRequest = {
|
|
|
139
196
|
export type DeleteControlGroupResponse = {};
|
|
140
197
|
export type UpdateControlGroupPercentageRequest = {
|
|
141
198
|
/** Application code (format XXXXX-XXXXX) the group belongs to. */
|
|
142
|
-
code
|
|
199
|
+
code: string;
|
|
143
200
|
/** Control group code (format XXXXX-XXXXX) to resize. */
|
|
144
|
-
controlGroupCode
|
|
201
|
+
controlGroupCode: string;
|
|
145
202
|
/** Hold-out size as a percentage, 1-20. */
|
|
146
|
-
percentage
|
|
203
|
+
percentage: number;
|
|
147
204
|
};
|
|
148
205
|
export type UpdateControlGroupPercentageResponse = {};
|
|
149
206
|
export type UpdateControlGroupCountriesRequest = {
|
|
150
207
|
/** Application code (format XXXXX-XXXXX) the group belongs to. */
|
|
151
|
-
code
|
|
208
|
+
code: string;
|
|
152
209
|
/** Control group code (format XXXXX-XXXXX) to scope. */
|
|
153
|
-
controlGroupCode
|
|
210
|
+
controlGroupCode: string;
|
|
154
211
|
/** Lowercase ISO-3166-1 alpha-2 codes; an empty list widens the group back to the whole base. */
|
|
155
|
-
countries
|
|
212
|
+
countries: string[];
|
|
156
213
|
};
|
|
157
214
|
export type UpdateControlGroupCountriesResponse = {};
|
|
215
|
+
/**
|
|
216
|
+
* UpdateControlGroupSettingsRequest is the whole state a settings screen applies, so one save closes
|
|
217
|
+
* at most one cycle. Every field is taken as sent: an empty countries list widens to the whole base.
|
|
218
|
+
*/
|
|
219
|
+
export type UpdateControlGroupSettingsRequest = {
|
|
220
|
+
/** Application code (format XXXXX-XXXXX) the group belongs to. */
|
|
221
|
+
code?: string;
|
|
222
|
+
/** Control group code (format XXXXX-XXXXX) to change. */
|
|
223
|
+
controlGroupCode?: string;
|
|
224
|
+
/** Hold-out size as a percentage, 1-20. */
|
|
225
|
+
percentage?: number;
|
|
226
|
+
/** Lowercase ISO-3166-1 alpha-2 codes; empty is the whole base. */
|
|
227
|
+
countries?: string[];
|
|
228
|
+
/** Lifetime of the membership; unspecified means permanent. */
|
|
229
|
+
mode?: ControlGroupMode;
|
|
230
|
+
/** Days between redraws, auto-refresh only: 7 to 365. */
|
|
231
|
+
refreshPeriodDays?: number;
|
|
232
|
+
/** End of the experiment, experiment only: at least 30 days ahead. */
|
|
233
|
+
endsAt?: Date;
|
|
234
|
+
};
|
|
235
|
+
export type UpdateControlGroupSettingsResponse = {
|
|
236
|
+
group: ControlGroup;
|
|
237
|
+
};
|
|
238
|
+
export type ListControlGroupCyclesRequest = {
|
|
239
|
+
/** Application code (format XXXXX-XXXXX) the group belongs to. */
|
|
240
|
+
code?: string;
|
|
241
|
+
/** Control group code (format XXXXX-XXXXX) whose cycles to list. */
|
|
242
|
+
controlGroupCode?: string;
|
|
243
|
+
};
|
|
244
|
+
export type ListControlGroupCyclesResponse = {
|
|
245
|
+
/** Newest first. */
|
|
246
|
+
cycles: ControlGroupCycle[];
|
|
247
|
+
};
|
|
158
248
|
export type DisableControlGroupRequest = {
|
|
159
249
|
/** Application code (format XXXXX-XXXXX) the group belongs to. */
|
|
160
250
|
code?: string;
|
|
@@ -215,6 +305,28 @@ export type AnalyticsEvent = {
|
|
|
215
305
|
export type GetAnalyticsResponse = {
|
|
216
306
|
events: AnalyticsEvent[];
|
|
217
307
|
};
|
|
308
|
+
export type RolloverControlGroupsRequest = {
|
|
309
|
+
/** Report what would change and write nothing. */
|
|
310
|
+
dryRun: boolean;
|
|
311
|
+
};
|
|
312
|
+
/** RolloverControlGroupResult is one group whose cycle was due. */
|
|
313
|
+
export type RolloverControlGroupResult = {
|
|
314
|
+
controlGroupCode: string;
|
|
315
|
+
applicationId: number;
|
|
316
|
+
/** Rollover for a redrawn auto-refresh group, expired for a switched-off experiment. */
|
|
317
|
+
closeReason: ControlGroupCycleCloseReason;
|
|
318
|
+
/** Set when the change failed; the group is left as it was and retried next run. */
|
|
319
|
+
error: string;
|
|
320
|
+
};
|
|
321
|
+
export type RolloverControlGroupsResponse = {
|
|
322
|
+
/** Enabled auto-refresh and experiment groups looked at. */
|
|
323
|
+
scanned: number;
|
|
324
|
+
refreshed: number;
|
|
325
|
+
expired: number;
|
|
326
|
+
failed: number;
|
|
327
|
+
/** Only the groups that were due. */
|
|
328
|
+
results: RolloverControlGroupResult[];
|
|
329
|
+
};
|
|
218
330
|
export type CheckControlGroupMembershipRequest = {
|
|
219
331
|
/** Application code (format XXXXX-XXXXX) the group belongs to. */
|
|
220
332
|
code?: string;
|
|
@@ -222,7 +334,8 @@ export type CheckControlGroupMembershipRequest = {
|
|
|
222
334
|
controlGroupCode?: string;
|
|
223
335
|
/**
|
|
224
336
|
* User ids to check, at most 1000 per call. An id the application has never
|
|
225
|
-
* seen is answered
|
|
337
|
+
* seen is answered from the id alone, unless the group is scoped to countries:
|
|
338
|
+
* such an id has no device in them and comes back false.
|
|
226
339
|
*/
|
|
227
340
|
userIds?: string[];
|
|
228
341
|
};
|
package/data.js
CHANGED
|
@@ -6979,17 +6979,17 @@ export const data = {
|
|
|
6979
6979
|
"method": "delete",
|
|
6980
6980
|
"path": "/api/applications/{code}/control_groups/{control_group_code}"
|
|
6981
6981
|
},
|
|
6982
|
-
"
|
|
6983
|
-
"request": "pushwoosh.rpc_v2.applications_controlgroup.
|
|
6984
|
-
"response": "pushwoosh.rpc_v2.applications_controlgroup.
|
|
6982
|
+
"UpdateControlGroupSettings": {
|
|
6983
|
+
"request": "pushwoosh.rpc_v2.applications_controlgroup.UpdateControlGroupSettingsRequest",
|
|
6984
|
+
"response": "pushwoosh.rpc_v2.applications_controlgroup.UpdateControlGroupSettingsResponse",
|
|
6985
6985
|
"method": "post",
|
|
6986
|
-
"path": "/api/applications/{code}/control_groups/{control_group_code}"
|
|
6986
|
+
"path": "/api/applications/{code}/control_groups/{control_group_code}/settings"
|
|
6987
6987
|
},
|
|
6988
|
-
"
|
|
6989
|
-
"request": "pushwoosh.rpc_v2.applications_controlgroup.
|
|
6990
|
-
"response": "pushwoosh.rpc_v2.applications_controlgroup.
|
|
6991
|
-
"method": "
|
|
6992
|
-
"path": "/api/applications/{code}/control_groups/{control_group_code}/
|
|
6988
|
+
"ListControlGroupCycles": {
|
|
6989
|
+
"request": "pushwoosh.rpc_v2.applications_controlgroup.ListControlGroupCyclesRequest",
|
|
6990
|
+
"response": "pushwoosh.rpc_v2.applications_controlgroup.ListControlGroupCyclesResponse",
|
|
6991
|
+
"method": "get",
|
|
6992
|
+
"path": "/api/applications/{code}/control_groups/{control_group_code}/cycles"
|
|
6993
6993
|
},
|
|
6994
6994
|
"DisableControlGroup": {
|
|
6995
6995
|
"request": "pushwoosh.rpc_v2.applications_controlgroup.DisableControlGroupRequest",
|
|
@@ -7064,6 +7064,58 @@ export const data = {
|
|
|
7064
7064
|
"WINDOW_DAYS_30"
|
|
7065
7065
|
]
|
|
7066
7066
|
},
|
|
7067
|
+
"pushwoosh.rpc_v2.applications_controlgroup.ControlGroupMode": {
|
|
7068
|
+
"type": "E",
|
|
7069
|
+
"values": [
|
|
7070
|
+
"CONTROL_GROUP_MODE_UNSPECIFIED",
|
|
7071
|
+
"CONTROL_GROUP_MODE_PERMANENT",
|
|
7072
|
+
"CONTROL_GROUP_MODE_AUTO_REFRESH",
|
|
7073
|
+
"CONTROL_GROUP_MODE_EXPERIMENT"
|
|
7074
|
+
]
|
|
7075
|
+
},
|
|
7076
|
+
"pushwoosh.rpc_v2.applications_controlgroup.ControlGroupCycleCloseReason": {
|
|
7077
|
+
"type": "E",
|
|
7078
|
+
"values": [
|
|
7079
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_UNSPECIFIED",
|
|
7080
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_ROLLOVER",
|
|
7081
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_EXPIRED",
|
|
7082
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_RESHUFFLED",
|
|
7083
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_RESIZED",
|
|
7084
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_RESCOPED",
|
|
7085
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_MODE_CHANGED",
|
|
7086
|
+
"CONTROL_GROUP_CYCLE_CLOSE_REASON_DISABLED"
|
|
7087
|
+
]
|
|
7088
|
+
},
|
|
7089
|
+
"pushwoosh.rpc_v2.applications_controlgroup.ControlGroupCycle": {
|
|
7090
|
+
"type": "I",
|
|
7091
|
+
"fields": {
|
|
7092
|
+
"cycleNumber": {
|
|
7093
|
+
"type": "number"
|
|
7094
|
+
},
|
|
7095
|
+
"mode": {
|
|
7096
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupMode"
|
|
7097
|
+
},
|
|
7098
|
+
"generation": {
|
|
7099
|
+
"type": "number"
|
|
7100
|
+
},
|
|
7101
|
+
"percentage": {
|
|
7102
|
+
"type": "number"
|
|
7103
|
+
},
|
|
7104
|
+
"countries": {
|
|
7105
|
+
"type": "string",
|
|
7106
|
+
"array": true
|
|
7107
|
+
},
|
|
7108
|
+
"startedAt": {
|
|
7109
|
+
"type": "Date"
|
|
7110
|
+
},
|
|
7111
|
+
"endedAt": {
|
|
7112
|
+
"type": "Date"
|
|
7113
|
+
},
|
|
7114
|
+
"closeReason": {
|
|
7115
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupCycleCloseReason"
|
|
7116
|
+
}
|
|
7117
|
+
}
|
|
7118
|
+
},
|
|
7067
7119
|
"pushwoosh.rpc_v2.applications_controlgroup.ControlGroup": {
|
|
7068
7120
|
"type": "I",
|
|
7069
7121
|
"fields": {
|
|
@@ -7097,6 +7149,21 @@ export const data = {
|
|
|
7097
7149
|
"countries": {
|
|
7098
7150
|
"type": "string",
|
|
7099
7151
|
"array": true
|
|
7152
|
+
},
|
|
7153
|
+
"mode": {
|
|
7154
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupMode"
|
|
7155
|
+
},
|
|
7156
|
+
"refreshPeriodDays": {
|
|
7157
|
+
"type": "number"
|
|
7158
|
+
},
|
|
7159
|
+
"endsAt": {
|
|
7160
|
+
"type": "Date"
|
|
7161
|
+
},
|
|
7162
|
+
"cycleNumber": {
|
|
7163
|
+
"type": "number"
|
|
7164
|
+
},
|
|
7165
|
+
"cycleStartedAt": {
|
|
7166
|
+
"type": "Date"
|
|
7100
7167
|
}
|
|
7101
7168
|
}
|
|
7102
7169
|
},
|
|
@@ -7135,6 +7202,15 @@ export const data = {
|
|
|
7135
7202
|
"countries": {
|
|
7136
7203
|
"type": "string",
|
|
7137
7204
|
"array": true
|
|
7205
|
+
},
|
|
7206
|
+
"mode": {
|
|
7207
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupMode"
|
|
7208
|
+
},
|
|
7209
|
+
"refreshPeriodDays": {
|
|
7210
|
+
"type": "number"
|
|
7211
|
+
},
|
|
7212
|
+
"endsAt": {
|
|
7213
|
+
"type": "Date"
|
|
7138
7214
|
}
|
|
7139
7215
|
}
|
|
7140
7216
|
},
|
|
@@ -7229,6 +7305,61 @@ export const data = {
|
|
|
7229
7305
|
"type": "I",
|
|
7230
7306
|
"fields": {}
|
|
7231
7307
|
},
|
|
7308
|
+
"pushwoosh.rpc_v2.applications_controlgroup.UpdateControlGroupSettingsRequest": {
|
|
7309
|
+
"type": "I",
|
|
7310
|
+
"fields": {
|
|
7311
|
+
"code": {
|
|
7312
|
+
"type": "string"
|
|
7313
|
+
},
|
|
7314
|
+
"controlGroupCode": {
|
|
7315
|
+
"type": "string"
|
|
7316
|
+
},
|
|
7317
|
+
"percentage": {
|
|
7318
|
+
"type": "number"
|
|
7319
|
+
},
|
|
7320
|
+
"countries": {
|
|
7321
|
+
"type": "string",
|
|
7322
|
+
"array": true
|
|
7323
|
+
},
|
|
7324
|
+
"mode": {
|
|
7325
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupMode"
|
|
7326
|
+
},
|
|
7327
|
+
"refreshPeriodDays": {
|
|
7328
|
+
"type": "number"
|
|
7329
|
+
},
|
|
7330
|
+
"endsAt": {
|
|
7331
|
+
"type": "Date"
|
|
7332
|
+
}
|
|
7333
|
+
}
|
|
7334
|
+
},
|
|
7335
|
+
"pushwoosh.rpc_v2.applications_controlgroup.UpdateControlGroupSettingsResponse": {
|
|
7336
|
+
"type": "I",
|
|
7337
|
+
"fields": {
|
|
7338
|
+
"group": {
|
|
7339
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroup"
|
|
7340
|
+
}
|
|
7341
|
+
}
|
|
7342
|
+
},
|
|
7343
|
+
"pushwoosh.rpc_v2.applications_controlgroup.ListControlGroupCyclesRequest": {
|
|
7344
|
+
"type": "I",
|
|
7345
|
+
"fields": {
|
|
7346
|
+
"code": {
|
|
7347
|
+
"type": "string"
|
|
7348
|
+
},
|
|
7349
|
+
"controlGroupCode": {
|
|
7350
|
+
"type": "string"
|
|
7351
|
+
}
|
|
7352
|
+
}
|
|
7353
|
+
},
|
|
7354
|
+
"pushwoosh.rpc_v2.applications_controlgroup.ListControlGroupCyclesResponse": {
|
|
7355
|
+
"type": "I",
|
|
7356
|
+
"fields": {
|
|
7357
|
+
"cycles": {
|
|
7358
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupCycle",
|
|
7359
|
+
"array": true
|
|
7360
|
+
}
|
|
7361
|
+
}
|
|
7362
|
+
},
|
|
7232
7363
|
"pushwoosh.rpc_v2.applications_controlgroup.DisableControlGroupRequest": {
|
|
7233
7364
|
"type": "I",
|
|
7234
7365
|
"fields": {
|
|
@@ -7373,6 +7504,52 @@ export const data = {
|
|
|
7373
7504
|
}
|
|
7374
7505
|
}
|
|
7375
7506
|
},
|
|
7507
|
+
"pushwoosh.rpc_v2.applications_controlgroup.RolloverControlGroupsRequest": {
|
|
7508
|
+
"type": "I",
|
|
7509
|
+
"fields": {
|
|
7510
|
+
"dryRun": {
|
|
7511
|
+
"type": "boolean"
|
|
7512
|
+
}
|
|
7513
|
+
}
|
|
7514
|
+
},
|
|
7515
|
+
"pushwoosh.rpc_v2.applications_controlgroup.RolloverControlGroupResult": {
|
|
7516
|
+
"type": "I",
|
|
7517
|
+
"fields": {
|
|
7518
|
+
"controlGroupCode": {
|
|
7519
|
+
"type": "string"
|
|
7520
|
+
},
|
|
7521
|
+
"applicationId": {
|
|
7522
|
+
"type": "number"
|
|
7523
|
+
},
|
|
7524
|
+
"closeReason": {
|
|
7525
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.ControlGroupCycleCloseReason"
|
|
7526
|
+
},
|
|
7527
|
+
"error": {
|
|
7528
|
+
"type": "string"
|
|
7529
|
+
}
|
|
7530
|
+
}
|
|
7531
|
+
},
|
|
7532
|
+
"pushwoosh.rpc_v2.applications_controlgroup.RolloverControlGroupsResponse": {
|
|
7533
|
+
"type": "I",
|
|
7534
|
+
"fields": {
|
|
7535
|
+
"scanned": {
|
|
7536
|
+
"type": "number"
|
|
7537
|
+
},
|
|
7538
|
+
"refreshed": {
|
|
7539
|
+
"type": "number"
|
|
7540
|
+
},
|
|
7541
|
+
"expired": {
|
|
7542
|
+
"type": "number"
|
|
7543
|
+
},
|
|
7544
|
+
"failed": {
|
|
7545
|
+
"type": "number"
|
|
7546
|
+
},
|
|
7547
|
+
"results": {
|
|
7548
|
+
"type": "pushwoosh.rpc_v2.applications_controlgroup.RolloverControlGroupResult",
|
|
7549
|
+
"array": true
|
|
7550
|
+
}
|
|
7551
|
+
}
|
|
7552
|
+
},
|
|
7376
7553
|
"pushwoosh.rpc_v2.applications_controlgroup.CheckControlGroupMembershipRequest": {
|
|
7377
7554
|
"type": "I",
|
|
7378
7555
|
"fields": {
|
|
@@ -15485,7 +15662,8 @@ export const data = {
|
|
|
15485
15662
|
"EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS",
|
|
15486
15663
|
"EXPORT_MESSAGE_PROPERTY_CLICKS",
|
|
15487
15664
|
"EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED",
|
|
15488
|
-
"EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE"
|
|
15665
|
+
"EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE",
|
|
15666
|
+
"EXPORT_MESSAGE_PROPERTY_CAMPAIGN_NAME"
|
|
15489
15667
|
]
|
|
15490
15668
|
},
|
|
15491
15669
|
"pushwoosh.export_messages.v2.Source": {
|
|
@@ -15531,6 +15709,18 @@ export const data = {
|
|
|
15531
15709
|
"TRANSACTIONAL"
|
|
15532
15710
|
]
|
|
15533
15711
|
},
|
|
15712
|
+
"pushwoosh.export_messages.v2.MessageHistoryChannel": {
|
|
15713
|
+
"type": "E",
|
|
15714
|
+
"values": [
|
|
15715
|
+
"MESSAGE_HISTORY_CHANNEL_UNSPECIFIED",
|
|
15716
|
+
"MESSAGE_HISTORY_CHANNEL_PUSH",
|
|
15717
|
+
"MESSAGE_HISTORY_CHANNEL_INBOX",
|
|
15718
|
+
"MESSAGE_HISTORY_CHANNEL_EMAIL",
|
|
15719
|
+
"MESSAGE_HISTORY_CHANNEL_SMS",
|
|
15720
|
+
"MESSAGE_HISTORY_CHANNEL_WHATSAPP",
|
|
15721
|
+
"MESSAGE_HISTORY_CHANNEL_FB_MESSENGER"
|
|
15722
|
+
]
|
|
15723
|
+
},
|
|
15534
15724
|
"pushwoosh.export_messages.v2.ApplySegmentExportType": {
|
|
15535
15725
|
"type": "E",
|
|
15536
15726
|
"values": [
|
|
@@ -15585,6 +15775,9 @@ export const data = {
|
|
|
15585
15775
|
},
|
|
15586
15776
|
"messageCode": {
|
|
15587
15777
|
"type": "string"
|
|
15778
|
+
},
|
|
15779
|
+
"channel": {
|
|
15780
|
+
"type": "pushwoosh.export_messages.v2.MessageHistoryChannel"
|
|
15588
15781
|
}
|
|
15589
15782
|
}
|
|
15590
15783
|
},
|
|
@@ -16069,7 +16262,8 @@ export const data = {
|
|
|
16069
16262
|
"values": [
|
|
16070
16263
|
"sends",
|
|
16071
16264
|
"deliveries",
|
|
16072
|
-
"opens"
|
|
16265
|
+
"opens",
|
|
16266
|
+
"holdout"
|
|
16073
16267
|
]
|
|
16074
16268
|
},
|
|
16075
16269
|
"pushwoosh.export_messages.v2.ExportMessageRecipientsArgs": {
|
|
@@ -27371,6 +27565,36 @@ export const data = {
|
|
|
27371
27565
|
}
|
|
27372
27566
|
}
|
|
27373
27567
|
},
|
|
27568
|
+
"pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowCaseInsensitiveUserID": {
|
|
27569
|
+
"type": "I",
|
|
27570
|
+
"fields": {
|
|
27571
|
+
"operator": {
|
|
27572
|
+
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.Operator"
|
|
27573
|
+
},
|
|
27574
|
+
"value": {
|
|
27575
|
+
"type": "boolean"
|
|
27576
|
+
},
|
|
27577
|
+
"values": {
|
|
27578
|
+
"type": "boolean",
|
|
27579
|
+
"array": true
|
|
27580
|
+
}
|
|
27581
|
+
}
|
|
27582
|
+
},
|
|
27583
|
+
"pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowJourneyLoopPoint": {
|
|
27584
|
+
"type": "I",
|
|
27585
|
+
"fields": {
|
|
27586
|
+
"operator": {
|
|
27587
|
+
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.Operator"
|
|
27588
|
+
},
|
|
27589
|
+
"value": {
|
|
27590
|
+
"type": "boolean"
|
|
27591
|
+
},
|
|
27592
|
+
"values": {
|
|
27593
|
+
"type": "boolean",
|
|
27594
|
+
"array": true
|
|
27595
|
+
}
|
|
27596
|
+
}
|
|
27597
|
+
},
|
|
27374
27598
|
"pushwoosh.objects.restrictionValues.v1.LogicExpression.Field": {
|
|
27375
27599
|
"type": "I",
|
|
27376
27600
|
"fields": {
|
|
@@ -27550,6 +27774,12 @@ export const data = {
|
|
|
27550
27774
|
},
|
|
27551
27775
|
"CondAllowEmailAds": {
|
|
27552
27776
|
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowEmailAds"
|
|
27777
|
+
},
|
|
27778
|
+
"CondAllowCaseInsensitiveUserID": {
|
|
27779
|
+
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowCaseInsensitiveUserID"
|
|
27780
|
+
},
|
|
27781
|
+
"CondAllowJourneyLoopPoint": {
|
|
27782
|
+
"type": "pushwoosh.objects.restrictionValues.v1.LogicExpression.Field.AllowJourneyLoopPoint"
|
|
27553
27783
|
}
|
|
27554
27784
|
},
|
|
27555
27785
|
"oneofs": {
|
|
@@ -27613,7 +27843,9 @@ export const data = {
|
|
|
27613
27843
|
"CondAllowJourneyVersioning",
|
|
27614
27844
|
"CondAllowJourneyPointTemplates",
|
|
27615
27845
|
"CondRequireContentApproval",
|
|
27616
|
-
"CondAllowEmailAds"
|
|
27846
|
+
"CondAllowEmailAds",
|
|
27847
|
+
"CondAllowCaseInsensitiveUserID",
|
|
27848
|
+
"CondAllowJourneyLoopPoint"
|
|
27617
27849
|
]
|
|
27618
27850
|
}
|
|
27619
27851
|
}
|
|
@@ -28117,6 +28349,18 @@ export const data = {
|
|
|
28117
28349
|
"response": "{}",
|
|
28118
28350
|
"method": "patch",
|
|
28119
28351
|
"path": "/v1/objects/restrictionValues/ID/{ID}/update/AllowEmailAds"
|
|
28352
|
+
},
|
|
28353
|
+
"UpdateAllowCaseInsensitiveUserID": {
|
|
28354
|
+
"request": "pushwoosh.objects.restrictionValues.v1.UpdateAllowCaseInsensitiveUserIDRequest",
|
|
28355
|
+
"response": "{}",
|
|
28356
|
+
"method": "patch",
|
|
28357
|
+
"path": "/v1/objects/restrictionValues/ID/{ID}/update/AllowCaseInsensitiveUserID"
|
|
28358
|
+
},
|
|
28359
|
+
"UpdateAllowJourneyLoopPoint": {
|
|
28360
|
+
"request": "pushwoosh.objects.restrictionValues.v1.UpdateAllowJourneyLoopPointRequest",
|
|
28361
|
+
"response": "{}",
|
|
28362
|
+
"method": "patch",
|
|
28363
|
+
"path": "/v1/objects/restrictionValues/ID/{ID}/update/AllowJourneyLoopPoint"
|
|
28120
28364
|
}
|
|
28121
28365
|
}
|
|
28122
28366
|
},
|
|
@@ -28296,6 +28540,12 @@ export const data = {
|
|
|
28296
28540
|
},
|
|
28297
28541
|
"AllowEmailAds": {
|
|
28298
28542
|
"type": "boolean"
|
|
28543
|
+
},
|
|
28544
|
+
"AllowCaseInsensitiveUserID": {
|
|
28545
|
+
"type": "boolean"
|
|
28546
|
+
},
|
|
28547
|
+
"AllowJourneyLoopPoint": {
|
|
28548
|
+
"type": "boolean"
|
|
28299
28549
|
}
|
|
28300
28550
|
}
|
|
28301
28551
|
},
|
|
@@ -29080,6 +29330,28 @@ export const data = {
|
|
|
29080
29330
|
}
|
|
29081
29331
|
}
|
|
29082
29332
|
},
|
|
29333
|
+
"pushwoosh.objects.restrictionValues.v1.UpdateAllowCaseInsensitiveUserIDRequest": {
|
|
29334
|
+
"type": "I",
|
|
29335
|
+
"fields": {
|
|
29336
|
+
"ID": {
|
|
29337
|
+
"type": "number"
|
|
29338
|
+
},
|
|
29339
|
+
"value": {
|
|
29340
|
+
"type": "boolean"
|
|
29341
|
+
}
|
|
29342
|
+
}
|
|
29343
|
+
},
|
|
29344
|
+
"pushwoosh.objects.restrictionValues.v1.UpdateAllowJourneyLoopPointRequest": {
|
|
29345
|
+
"type": "I",
|
|
29346
|
+
"fields": {
|
|
29347
|
+
"ID": {
|
|
29348
|
+
"type": "number"
|
|
29349
|
+
},
|
|
29350
|
+
"value": {
|
|
29351
|
+
"type": "boolean"
|
|
29352
|
+
}
|
|
29353
|
+
}
|
|
29354
|
+
},
|
|
29083
29355
|
"pushwoosh.objects.restrictionValues.v1.GetRequest": {
|
|
29084
29356
|
"type": "I",
|
|
29085
29357
|
"fields": {
|
|
@@ -29295,6 +29567,12 @@ export const data = {
|
|
|
29295
29567
|
},
|
|
29296
29568
|
"AllowEmailAds": {
|
|
29297
29569
|
"type": "boolean"
|
|
29570
|
+
},
|
|
29571
|
+
"AllowCaseInsensitiveUserID": {
|
|
29572
|
+
"type": "boolean"
|
|
29573
|
+
},
|
|
29574
|
+
"AllowJourneyLoopPoint": {
|
|
29575
|
+
"type": "boolean"
|
|
29298
29576
|
}
|
|
29299
29577
|
}
|
|
29300
29578
|
},
|
package/package.json
CHANGED
|
@@ -580,7 +580,7 @@ export type TrackingLogCSVResult = {
|
|
|
580
580
|
/** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
|
|
581
581
|
fileUrl: string;
|
|
582
582
|
};
|
|
583
|
-
export type ExportMessageProperty = 'EXPORT_MESSAGE_PROPERTY_UNSPECIFIED' | 'EXPORT_MESSAGE_PROPERTY_ID' | 'EXPORT_MESSAGE_PROPERTY_TIMESTAMP' | 'EXPORT_MESSAGE_PROPERTY_CONTENT' | 'EXPORT_MESSAGE_PROPERTY_TITLE' | 'EXPORT_MESSAGE_PROPERTY_APPLICATIONS' | 'EXPORT_MESSAGE_PROPERTY_STATUS' | 'EXPORT_MESSAGE_PROPERTY_PLATFORMS' | 'EXPORT_MESSAGE_PROPERTY_SOURCE' | 'EXPORT_MESSAGE_PROPERTY_FILTER' | 'EXPORT_MESSAGE_PROPERTY_SUBSCRIPTION_SEGMENTS' | 'EXPORT_MESSAGE_PROPERTY_SENT' | 'EXPORT_MESSAGE_PROPERTY_OPENED' | 'EXPORT_MESSAGE_PROPERTY_ERRORS' | 'EXPORT_MESSAGE_PROPERTY_RECIPIENTS' | 'EXPORT_MESSAGE_PROPERTY_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_OPENED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED' | 'EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE';
|
|
583
|
+
export type ExportMessageProperty = 'EXPORT_MESSAGE_PROPERTY_UNSPECIFIED' | 'EXPORT_MESSAGE_PROPERTY_ID' | 'EXPORT_MESSAGE_PROPERTY_TIMESTAMP' | 'EXPORT_MESSAGE_PROPERTY_CONTENT' | 'EXPORT_MESSAGE_PROPERTY_TITLE' | 'EXPORT_MESSAGE_PROPERTY_APPLICATIONS' | 'EXPORT_MESSAGE_PROPERTY_STATUS' | 'EXPORT_MESSAGE_PROPERTY_PLATFORMS' | 'EXPORT_MESSAGE_PROPERTY_SOURCE' | 'EXPORT_MESSAGE_PROPERTY_FILTER' | 'EXPORT_MESSAGE_PROPERTY_SUBSCRIPTION_SEGMENTS' | 'EXPORT_MESSAGE_PROPERTY_SENT' | 'EXPORT_MESSAGE_PROPERTY_OPENED' | 'EXPORT_MESSAGE_PROPERTY_ERRORS' | 'EXPORT_MESSAGE_PROPERTY_RECIPIENTS' | 'EXPORT_MESSAGE_PROPERTY_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_OPENED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED' | 'EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE' | 'EXPORT_MESSAGE_PROPERTY_CAMPAIGN_NAME';
|
|
584
584
|
export type Source = 'SOURCE_UNSPECIFIED'
|
|
585
585
|
/** deprecated */
|
|
586
586
|
| 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
|
|
@@ -590,6 +590,8 @@ export type Source = 'SOURCE_UNSPECIFIED'
|
|
|
590
590
|
| 'WHATSAPP_API' | 'SMS_API';
|
|
591
591
|
export type MessageStatus = 'MESSAGE_STATUS_UNSPECIFIED' | 'MESSAGE_STATUS_CANCELED' | 'MESSAGE_STATUS_CREATING' | 'MESSAGE_STATUS_DONE' | 'MESSAGE_STATUS_FAIL' | 'MESSAGE_STATUS_PENDING' | 'MESSAGE_STATUS_PROCESSING' | 'MESSAGE_STATUS_WAITING';
|
|
592
592
|
export type MessageType = 'MESSAGE_TYPE_UNSPECIFIED' | 'MARKETING' | 'TRANSACTIONAL';
|
|
593
|
+
/** Channel of the messages listing; values mirror statistics-api's MessageHistoryChannel. */
|
|
594
|
+
export type MessageHistoryChannel = 'MESSAGE_HISTORY_CHANNEL_UNSPECIFIED' | 'MESSAGE_HISTORY_CHANNEL_PUSH' | 'MESSAGE_HISTORY_CHANNEL_INBOX' | 'MESSAGE_HISTORY_CHANNEL_EMAIL' | 'MESSAGE_HISTORY_CHANNEL_SMS' | 'MESSAGE_HISTORY_CHANNEL_WHATSAPP' | 'MESSAGE_HISTORY_CHANNEL_FB_MESSENGER';
|
|
593
595
|
export type ApplySegmentExportType = 'APPLY_SEGMENT_EXPORT_TYPE_UNSPECIFIED' | 'ALL' | 'OPEN' | 'NOT_OPEN';
|
|
594
596
|
export type DateRange = {
|
|
595
597
|
/** date format yyyy-mm-dd */
|
|
@@ -607,6 +609,7 @@ export type GetMessageHistoryFilters = {
|
|
|
607
609
|
campaigns: string[];
|
|
608
610
|
messageId: number;
|
|
609
611
|
messageCode: string;
|
|
612
|
+
channel: MessageHistoryChannel;
|
|
610
613
|
};
|
|
611
614
|
export type ExportMessagesV2Args = {
|
|
612
615
|
search: string;
|
|
@@ -778,7 +781,9 @@ export type ExportJourneyPointUsersResult = {
|
|
|
778
781
|
/** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
|
|
779
782
|
fileUrl: string;
|
|
780
783
|
};
|
|
781
|
-
export type ExportMessageRecipientsArgs_Type = 'sends' | 'deliveries' | 'opens'
|
|
784
|
+
export type ExportMessageRecipientsArgs_Type = 'sends' | 'deliveries' | 'opens'
|
|
785
|
+
/** Users a control group held out of the message: the 1028 cut, nothing was sent to them. */
|
|
786
|
+
| 'holdout';
|
|
782
787
|
export type ExportMessageRecipientsArgs = {
|
|
783
788
|
messageId: number;
|
|
784
789
|
campaign: string;
|
|
@@ -347,6 +347,16 @@ export type LogicExpression_Field_AllowEmailAds = {
|
|
|
347
347
|
value: boolean;
|
|
348
348
|
values: boolean[];
|
|
349
349
|
};
|
|
350
|
+
export type LogicExpression_Field_AllowCaseInsensitiveUserID = {
|
|
351
|
+
operator: LogicExpression_Field_Operator;
|
|
352
|
+
value: boolean;
|
|
353
|
+
values: boolean[];
|
|
354
|
+
};
|
|
355
|
+
export type LogicExpression_Field_AllowJourneyLoopPoint = {
|
|
356
|
+
operator: LogicExpression_Field_Operator;
|
|
357
|
+
value: boolean;
|
|
358
|
+
values: boolean[];
|
|
359
|
+
};
|
|
350
360
|
export type LogicExpression_Field_kind_CondID = {
|
|
351
361
|
type: 'CondID';
|
|
352
362
|
data: LogicExpression_Field_ID;
|
|
@@ -583,7 +593,15 @@ export type LogicExpression_Field_kind_CondAllowEmailAds = {
|
|
|
583
593
|
type: 'CondAllowEmailAds';
|
|
584
594
|
data: LogicExpression_Field_AllowEmailAds;
|
|
585
595
|
};
|
|
586
|
-
export type
|
|
596
|
+
export type LogicExpression_Field_kind_CondAllowCaseInsensitiveUserID = {
|
|
597
|
+
type: 'CondAllowCaseInsensitiveUserID';
|
|
598
|
+
data: LogicExpression_Field_AllowCaseInsensitiveUserID;
|
|
599
|
+
};
|
|
600
|
+
export type LogicExpression_Field_kind_CondAllowJourneyLoopPoint = {
|
|
601
|
+
type: 'CondAllowJourneyLoopPoint';
|
|
602
|
+
data: LogicExpression_Field_AllowJourneyLoopPoint;
|
|
603
|
+
};
|
|
604
|
+
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondIsLocked | LogicExpression_Field_kind_CondMaxDevices | LogicExpression_Field_kind_CondMaxUsers | LogicExpression_Field_kind_CondMaxPreparedFilters | LogicExpression_Field_kind_CondDevicesInactivityLimit | LogicExpression_Field_kind_CondAllowApi | LogicExpression_Field_kind_CondMinSendRate | LogicExpression_Field_kind_CondMaxSendRate | LogicExpression_Field_kind_CondAllowIePlatformUsage | LogicExpression_Field_kind_CondMaxVerifyingEmails | LogicExpression_Field_kind_CondMaxVerifyingDomains | LogicExpression_Field_kind_CondAllowMetadata | LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays | LogicExpression_Field_kind_CondAllowEventStatisticsApi | LogicExpression_Field_kind_CondAllowTagNotSetFilter | LogicExpression_Field_kind_CondAllowDebugMode | LogicExpression_Field_kind_CondAllowTrackUninstalls | LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod | LogicExpression_Field_kind_CondEmailBounceRateLimit | LogicExpression_Field_kind_CondEmailComplaintRateLimit | LogicExpression_Field_kind_CondAllowFrequencyCapping | LogicExpression_Field_kind_CondEmailsFreeLimit | LogicExpression_Field_kind_CondEmailsLimited | LogicExpression_Field_kind_CondAllowContentTemplates | LogicExpression_Field_kind_CondAllowBaiduAndroidPlatformUsage | LogicExpression_Field_kind_CondMaxInboxTtlDays | LogicExpression_Field_kind_CondMessageHistoryStorePeriod | LogicExpression_Field_kind_CondAllowApiGetMessageLog | LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod | LogicExpression_Field_kind_CondAllowShowDeliveryStatistics | LogicExpression_Field_kind_CondAllowRFMSegments | LogicExpression_Field_kind_CondAllowBestTimeToSend | LogicExpression_Field_kind_CondAllowEventSegmentation | LogicExpression_Field_kind_CondAllowSegmentsGroups | LogicExpression_Field_kind_CondAllowCjSMS | LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile | LogicExpression_Field_kind_CondAllowCjAddBranchesInWaitForTrigger | LogicExpression_Field_kind_CondAllowEventsFunnel | LogicExpression_Field_kind_CondAllowChannelsSection | LogicExpression_Field_kind_CondAllowCjEmailBcc | LogicExpression_Field_kind_CondEmailFileStorePeriod | LogicExpression_Field_kind_CondAllowWhatsApp | LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats | LogicExpression_Field_kind_CondAllowCjListenUserIdChanged | LogicExpression_Field_kind_CondAllowLine | LogicExpression_Field_kind_CondAllowPostEventInApp | LogicExpression_Field_kind_CondAllowAIAssistant | LogicExpression_Field_kind_CondAllowKeepUserWithoutDevice | LogicExpression_Field_kind_CondAllowCJSplitterDeviceCheck | LogicExpression_Field_kind_CondAllowTagsAutoCreation | LogicExpression_Field_kind_CondAllowAIWalletBilling | LogicExpression_Field_kind_CondApplicationSpecificFilters | LogicExpression_Field_kind_CondAllowCloudPages | LogicExpression_Field_kind_CondAllowLaoDeletePolicy | LogicExpression_Field_kind_CondAllowJourneyVersioning | LogicExpression_Field_kind_CondAllowJourneyPointTemplates | LogicExpression_Field_kind_CondRequireContentApproval | LogicExpression_Field_kind_CondAllowEmailAds | LogicExpression_Field_kind_CondAllowCaseInsensitiveUserID | LogicExpression_Field_kind_CondAllowJourneyLoopPoint;
|
|
587
605
|
export type LogicExpression_Field = {
|
|
588
606
|
kind: LogicExpression_Field_kind;
|
|
589
607
|
};
|
|
@@ -691,6 +709,8 @@ export type RestrictionValuesCrudService_UpdateAllowJourneyVersioning = RpcMetho
|
|
|
691
709
|
export type RestrictionValuesCrudService_UpdateAllowJourneyPointTemplates = RpcMethod<UpdateAllowJourneyPointTemplatesRequest, {}>;
|
|
692
710
|
export type RestrictionValuesCrudService_UpdateRequireContentApproval = RpcMethod<UpdateRequireContentApprovalRequest, {}>;
|
|
693
711
|
export type RestrictionValuesCrudService_UpdateAllowEmailAds = RpcMethod<UpdateAllowEmailAdsRequest, {}>;
|
|
712
|
+
export type RestrictionValuesCrudService_UpdateAllowCaseInsensitiveUserID = RpcMethod<UpdateAllowCaseInsensitiveUserIDRequest, {}>;
|
|
713
|
+
export type RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint = RpcMethod<UpdateAllowJourneyLoopPointRequest, {}>;
|
|
694
714
|
export interface RestrictionValuesCrudService {
|
|
695
715
|
Create: RestrictionValuesCrudService_Create;
|
|
696
716
|
CreateMany: RestrictionValuesCrudService_CreateMany;
|
|
@@ -759,6 +779,8 @@ export interface RestrictionValuesCrudService {
|
|
|
759
779
|
UpdateAllowJourneyPointTemplates: RestrictionValuesCrudService_UpdateAllowJourneyPointTemplates;
|
|
760
780
|
UpdateRequireContentApproval: RestrictionValuesCrudService_UpdateRequireContentApproval;
|
|
761
781
|
UpdateAllowEmailAds: RestrictionValuesCrudService_UpdateAllowEmailAds;
|
|
782
|
+
UpdateAllowCaseInsensitiveUserID: RestrictionValuesCrudService_UpdateAllowCaseInsensitiveUserID;
|
|
783
|
+
UpdateAllowJourneyLoopPoint: RestrictionValuesCrudService_UpdateAllowJourneyLoopPoint;
|
|
762
784
|
}
|
|
763
785
|
export type CreateRequest = {
|
|
764
786
|
IsLocked?: boolean;
|
|
@@ -819,6 +841,8 @@ export type CreateRequest = {
|
|
|
819
841
|
AllowJourneyPointTemplates?: boolean;
|
|
820
842
|
RequireContentApproval?: boolean;
|
|
821
843
|
AllowEmailAds?: boolean;
|
|
844
|
+
AllowCaseInsensitiveUserID?: boolean;
|
|
845
|
+
AllowJourneyLoopPoint?: boolean;
|
|
822
846
|
};
|
|
823
847
|
export type CreateResponse = {
|
|
824
848
|
restrictionValue: RestrictionValue;
|
|
@@ -1103,6 +1127,14 @@ export type UpdateAllowEmailAdsRequest = {
|
|
|
1103
1127
|
ID?: number;
|
|
1104
1128
|
value?: boolean;
|
|
1105
1129
|
};
|
|
1130
|
+
export type UpdateAllowCaseInsensitiveUserIDRequest = {
|
|
1131
|
+
ID?: number;
|
|
1132
|
+
value?: boolean;
|
|
1133
|
+
};
|
|
1134
|
+
export type UpdateAllowJourneyLoopPointRequest = {
|
|
1135
|
+
ID?: number;
|
|
1136
|
+
value?: boolean;
|
|
1137
|
+
};
|
|
1106
1138
|
export type GetRequest = {
|
|
1107
1139
|
ID?: number;
|
|
1108
1140
|
};
|
|
@@ -1179,4 +1211,6 @@ export type RestrictionValue = {
|
|
|
1179
1211
|
AllowJourneyPointTemplates: boolean;
|
|
1180
1212
|
RequireContentApproval: boolean;
|
|
1181
1213
|
AllowEmailAds: boolean;
|
|
1214
|
+
AllowCaseInsensitiveUserID: boolean;
|
|
1215
|
+
AllowJourneyLoopPoint: boolean;
|
|
1182
1216
|
};
|