@pushwoosh/rpc-v2-http-api-data 0.1.883 → 0.1.885
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/account_groups.d.ts +9 -0
- package/account_invites.d.ts +2 -0
- package/account_overview.d.ts +21 -0
- package/account_users.d.ts +3 -0
- package/accounts.d.ts +29 -0
- package/accounts_get_auth_info.d.ts +4 -0
- package/api_tokens.d.ts +1 -0
- package/applications.d.ts +7 -0
- package/applications_alerts.d.ts +7 -1
- package/applications_groups.d.ts +2 -0
- package/applications_statistics.d.ts +28 -0
- package/categories.d.ts +1 -0
- package/cloud_pages.d.ts +2 -0
- package/data.js +330 -1314
- package/deeplinks.d.ts +3 -0
- package/devices.d.ts +5 -0
- package/email_categories.d.ts +3 -0
- package/emails_configurations.d.ts +1 -0
- package/events.d.ts +3 -0
- package/filters.d.ts +28 -0
- package/inapp_messages.d.ts +13 -0
- package/integrations.d.ts +38 -0
- package/ios_categories.d.ts +1 -0
- package/kakao_presets.d.ts +2 -0
- package/line_presets.d.ts +5 -0
- package/messages.d.ts +15 -2
- package/package.json +1 -1
- package/presets.d.ts +71 -0
- package/pushwoosh_accounts_alerts_v1.d.ts +2 -0
- package/pushwoosh_channels_messagingApi_v2.d.ts +51 -2
- package/pushwoosh_export_messages_v2.d.ts +17 -2
- package/pushwoosh_objects_filters_v1.d.ts +70 -11
- package/pushwoosh_objects_restrictionValues_v1.d.ts +86 -427
- package/pushwoosh_rpc_errors_v3.d.ts +20 -0
- package/pushwoosh_rpc_popup_forms_contents_v3.d.ts +48 -0
- package/pushwoosh_rpc_segments_v3.d.ts +54 -0
- package/referral_partners.d.ts +1 -0
- package/rich_medias.d.ts +6 -0
- package/sms_presets.d.ts +5 -0
- package/statistics_dashboards_widgets.d.ts +291 -3
- package/tags.d.ts +3 -0
- package/test_devices.d.ts +37 -0
- package/types.d.ts +6 -0
- package/whatsapp.d.ts +10 -0
- package/whatsapp_presets.d.ts +3 -0
|
@@ -3,11 +3,14 @@ import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } fro
|
|
|
3
3
|
export type MessagingService_Notify = RpcMethod<NotifyRequest, NotifyResponse>;
|
|
4
4
|
export type MessagingService_NotifyBulk = RpcMethod<NotifyBulkRequest, NotifyBulkResponse>;
|
|
5
5
|
export interface MessagingService {
|
|
6
|
+
/** Notify creates a new message. Can be targeted to a segment or a list of users. */
|
|
6
7
|
Notify: MessagingService_Notify;
|
|
8
|
+
/** NotifyBulk creates several messages. */
|
|
7
9
|
NotifyBulk: MessagingService_NotifyBulk;
|
|
10
|
+
/** NotifyStream is async version of Notify. */
|
|
8
11
|
NotifyStream(request: NotifyStreamRequest, options?: {
|
|
9
12
|
signal?: AbortSignal;
|
|
10
|
-
}): AsyncIterable<NotifyStreamResponse
|
|
13
|
+
}): Promise<AsyncIterable<NotifyStreamResponse>>;
|
|
11
14
|
}
|
|
12
15
|
export type NotifyRequest_kind_segment = {
|
|
13
16
|
type: 'segment';
|
|
@@ -62,15 +65,28 @@ export type NotifySegment_messagePayload_emailPayload = {
|
|
|
62
65
|
data: EmailPayload;
|
|
63
66
|
};
|
|
64
67
|
export type NotifySegment_messagePayload = NotifySegment_messagePayload_payload | NotifySegment_messagePayload_emailPayload;
|
|
68
|
+
/**
|
|
69
|
+
* NotifySegment defines a request to send a message to a segment of users.
|
|
70
|
+
* Segment can be defined either by a segment code or by a seglang expression.
|
|
71
|
+
*/
|
|
65
72
|
export type NotifySegment = {
|
|
73
|
+
/** Message schedule. */
|
|
66
74
|
schedule: Schedule;
|
|
75
|
+
/** Application code to get hwids, users and push tokens from. */
|
|
67
76
|
application: string;
|
|
77
|
+
/** List of platform. */
|
|
68
78
|
platforms: Platform[];
|
|
79
|
+
/** Message frequency capping. */
|
|
69
80
|
frequencyCapping: FrequencyCapping;
|
|
81
|
+
/** Campaign code */
|
|
70
82
|
campaign: string;
|
|
71
83
|
sendRate: SendRate;
|
|
72
84
|
metaData: object;
|
|
73
85
|
dynamicContentPlaceholders: Record<string, string>;
|
|
86
|
+
/**
|
|
87
|
+
* Message type: marketing or transactional.
|
|
88
|
+
* Used to control behavior like control group filtering.
|
|
89
|
+
*/
|
|
74
90
|
messageType: MessageType;
|
|
75
91
|
target: NotifySegment_target;
|
|
76
92
|
messagePayload: NotifySegment_messagePayload;
|
|
@@ -111,20 +127,39 @@ export type NotifyTransactional_messagePayload_emailPayload = {
|
|
|
111
127
|
};
|
|
112
128
|
export type NotifyTransactional_messagePayload = NotifyTransactional_messagePayload_payload | NotifyTransactional_messagePayload_emailPayload;
|
|
113
129
|
export type NotifyTransactional = {
|
|
130
|
+
/** Message schedule. */
|
|
114
131
|
schedule: Schedule;
|
|
132
|
+
/** Application code to get hwids, users and push tokens from. */
|
|
115
133
|
application: string;
|
|
134
|
+
/** List of platform. */
|
|
116
135
|
platforms: Platform[];
|
|
136
|
+
/**
|
|
137
|
+
* Flag indicating whether to return the list of unknown identifiers.
|
|
138
|
+
* If true, the response will include the 'unknown_identifiers' field
|
|
139
|
+
*/
|
|
117
140
|
returnUnknownIdentifiers: boolean;
|
|
141
|
+
/** Message frequency capping. */
|
|
118
142
|
frequencyCapping: FrequencyCapping;
|
|
143
|
+
/** Campaign code */
|
|
119
144
|
campaign: string;
|
|
120
145
|
sendRate: SendRate;
|
|
121
146
|
metaData: object;
|
|
122
147
|
dynamicContentPlaceholders: Record<string, string>;
|
|
148
|
+
/**
|
|
149
|
+
* Message type: marketing or transactional.
|
|
150
|
+
* Used to control behavior like control group filtering.
|
|
151
|
+
*/
|
|
123
152
|
messageType: MessageType;
|
|
124
153
|
target: NotifyTransactional_target;
|
|
125
154
|
messagePayload: NotifyTransactional_messagePayload;
|
|
126
155
|
};
|
|
127
|
-
export type Schedule_PastTimezonesBehaviour = 'PAST_TIMEZONES_BEHAVIOUR_DEFAULT'
|
|
156
|
+
export type Schedule_PastTimezonesBehaviour = 'PAST_TIMEZONES_BEHAVIOUR_DEFAULT'
|
|
157
|
+
/** users whose timezone is already in the past will receive the message immediately. */
|
|
158
|
+
| 'PAST_TIMEZONES_BEHAVIOUR_SEND_IMMEDIATELY'
|
|
159
|
+
/** users whose timezone is already in the past will not receive the message. */
|
|
160
|
+
| 'PAST_TIMEZONES_BEHAVIOUR_DO_NOT_SEND'
|
|
161
|
+
/** users whose timezone is already in the past will receive the message on the next day. */
|
|
162
|
+
| 'PAST_TIMEZONES_BEHAVIOUR_NEXT_DAY';
|
|
128
163
|
export type Schedule_sendDate_at = {
|
|
129
164
|
type: 'at';
|
|
130
165
|
data: Date;
|
|
@@ -134,11 +169,15 @@ export type Schedule_sendDate_after = {
|
|
|
134
169
|
data: Duration;
|
|
135
170
|
};
|
|
136
171
|
export type Schedule_sendDate = Schedule_sendDate_at | Schedule_sendDate_after;
|
|
172
|
+
/** Message schedule. */
|
|
137
173
|
export type Schedule = {
|
|
174
|
+
/** Whether to send the message according to user's timezone. */
|
|
138
175
|
followUserTimezone: boolean;
|
|
176
|
+
/** What to do with past timezones. */
|
|
139
177
|
pastTimezonesBehaviour: Schedule_PastTimezonesBehaviour;
|
|
140
178
|
sendDate: Schedule_sendDate;
|
|
141
179
|
};
|
|
180
|
+
/** Message frequency capping. */
|
|
142
181
|
export type FrequencyCapping = {
|
|
143
182
|
days: number;
|
|
144
183
|
count: number;
|
|
@@ -407,20 +446,30 @@ export type Payload = {
|
|
|
407
446
|
voipPush: boolean;
|
|
408
447
|
kind: Payload_kind;
|
|
409
448
|
};
|
|
449
|
+
/** Email attachments. */
|
|
410
450
|
export type EmailPayload_Attachment = {
|
|
451
|
+
/** File name of the attachment. */
|
|
411
452
|
name: string;
|
|
453
|
+
/** Base64-encoded content of the attachment file. */
|
|
412
454
|
content: string;
|
|
413
455
|
};
|
|
456
|
+
/** Email address descriptor (name and email). */
|
|
414
457
|
export type EmailPayload_Address = {
|
|
415
458
|
name: string;
|
|
416
459
|
email: string;
|
|
417
460
|
};
|
|
418
461
|
export type EmailPayload = {
|
|
462
|
+
/** Subject line for the email. Per-locale values */
|
|
419
463
|
subject: Record<string, string>;
|
|
464
|
+
/** Email body HTML content. Use LocalizedContent to provide per-locale values. */
|
|
420
465
|
body: string;
|
|
421
466
|
attachments: EmailPayload_Attachment[];
|
|
467
|
+
/** Custom URL for the List-Unsubscribe header. */
|
|
422
468
|
listUnsubscribe: string;
|
|
469
|
+
/** Override default "From" configured in application properties. */
|
|
423
470
|
from: EmailPayload_Address;
|
|
471
|
+
/** Override default "Reply-To" configured in application properties. */
|
|
424
472
|
replyTo: EmailPayload_Address;
|
|
473
|
+
/** Email template code to use for this email, must reference an existing Email Template. */
|
|
425
474
|
emailTemplate: string;
|
|
426
475
|
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV'
|
|
1
|
+
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV'
|
|
2
|
+
/** deprecated */
|
|
3
|
+
| 'TASK_TYPE_EXPORT_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGES_V2' | 'TASK_TYPE_EXPORT_UNREGISTERED_DEVICES' | 'TASK_TYPE_EXPORT_RICH_MEDIA_FORM_VALUES'
|
|
4
|
+
/** deprecated */
|
|
5
|
+
| 'TASK_TYPE_APPLY_SEGMENT_TO_MESSAGE'
|
|
6
|
+
/** deprecated */
|
|
7
|
+
| 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION'
|
|
8
|
+
/** deprecated */
|
|
9
|
+
| 'TASK_TYPE_APPLY_SEGMENT_TO_METRIC' | 'TASK_TYPE_EXPORT_RICH_MEDIA_RECIPIENTS' | 'TASK_TYPE_EXPORT_BOUNCED_EMAILS' | 'TASK_TYPE_EXPORT_JOURNEYS_HISTORY' | 'TASK_TYPE_EXPORT_JOURNEY_POINT_USERS' | 'TASK_TYPE_EXPORT_MESSAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES' | 'TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE' | 'TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS' | 'TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS' | 'TASK_TYPE_EXPORT_CONTROL_GROUP' | 'TASK_TYPE_EXPORT_SUBSCRIPTION_FORM_SUBSCRIBED_USERS';
|
|
2
10
|
export type ExportRequest_args_trackingLogCsv = {
|
|
3
11
|
type: 'trackingLogCsv';
|
|
4
12
|
data: TrackingLogCSVArgs;
|
|
@@ -405,6 +413,7 @@ export type TaskInfo = {
|
|
|
405
413
|
export type GetLastTasksResponse = {
|
|
406
414
|
tasks: TaskInfo[];
|
|
407
415
|
};
|
|
416
|
+
/** Tasks */
|
|
408
417
|
export type TaskFailed = {};
|
|
409
418
|
export type TrackingLogCSVArgs = {
|
|
410
419
|
messageId: number;
|
|
@@ -421,11 +430,17 @@ export type TrackingLogCSVResult = {
|
|
|
421
430
|
file: string;
|
|
422
431
|
};
|
|
423
432
|
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';
|
|
424
|
-
export type Source = 'SOURCE_UNSPECIFIED'
|
|
433
|
+
export type Source = 'SOURCE_UNSPECIFIED'
|
|
434
|
+
/** deprecated */
|
|
435
|
+
| 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
|
|
436
|
+
/** deprecated */
|
|
437
|
+
| 'TWITTER';
|
|
425
438
|
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';
|
|
426
439
|
export type ApplySegmentExportType = 'APPLY_SEGMENT_EXPORT_TYPE_UNSPECIFIED' | 'ALL' | 'OPEN' | 'NOT_OPEN';
|
|
427
440
|
export type DateRange = {
|
|
441
|
+
/** date format yyyy-mm-dd */
|
|
428
442
|
dateFrom: string;
|
|
443
|
+
/** date format yyyy-mm-dd */
|
|
429
444
|
dateTo: string;
|
|
430
445
|
};
|
|
431
446
|
export type GetMessageHistoryFilters = {
|
|
@@ -1,16 +1,55 @@
|
|
|
1
1
|
import { RpcMethod } from './commonTypes';
|
|
2
|
+
/**
|
|
3
|
+
* This struct is used to avoid protoc compiler warnings about unused includes in case when
|
|
4
|
+
* there are no usage for timestamp.* and wrappers.*
|
|
5
|
+
* This can be removed if you figure out how to remove unused includes.
|
|
6
|
+
*/
|
|
2
7
|
export type __filter_collection_internal = {
|
|
3
8
|
f1: string;
|
|
4
9
|
f2: Date;
|
|
5
10
|
f3: Filter;
|
|
6
11
|
};
|
|
7
12
|
export type LogicExpression_Binary_Operator = 'INVALID' | 'AND' | 'OR';
|
|
13
|
+
/**
|
|
14
|
+
* BinaryExpression is a kind of expression that allows to combine
|
|
15
|
+
* two other expressions with application of some binary logic operator.
|
|
16
|
+
*/
|
|
8
17
|
export type LogicExpression_Binary = {
|
|
9
18
|
operator: LogicExpression_Binary_Operator;
|
|
10
19
|
left: LogicExpression;
|
|
11
20
|
right: LogicExpression;
|
|
12
21
|
};
|
|
13
|
-
export type LogicExpression_Field_Operator = 'INVALID'
|
|
22
|
+
export type LogicExpression_Field_Operator = 'INVALID'
|
|
23
|
+
/** field = value */
|
|
24
|
+
| 'EQ'
|
|
25
|
+
/** field != value */
|
|
26
|
+
| 'NEQ'
|
|
27
|
+
/** field in value */
|
|
28
|
+
| 'IN'
|
|
29
|
+
/** field > value */
|
|
30
|
+
| 'GT'
|
|
31
|
+
/** field >= value */
|
|
32
|
+
| 'GTE'
|
|
33
|
+
/** field < value */
|
|
34
|
+
| 'LT'
|
|
35
|
+
/** field <= value */
|
|
36
|
+
| 'LTE'
|
|
37
|
+
/** field like 'value%' */
|
|
38
|
+
| 'STARTS_WITH'
|
|
39
|
+
/** field like '%value' */
|
|
40
|
+
| 'ENDS_WITH'
|
|
41
|
+
/** field like '%value%' */
|
|
42
|
+
| 'LIKE'
|
|
43
|
+
/** field is null */
|
|
44
|
+
| 'IS_NULL'
|
|
45
|
+
/** field is not null */
|
|
46
|
+
| 'NOT_NULL'
|
|
47
|
+
/** field is ilike '%value%' */
|
|
48
|
+
| 'ILIKE'
|
|
49
|
+
/** field '@>' array */
|
|
50
|
+
| 'ARRAY_CONTAINS'
|
|
51
|
+
/** field '<@' array */
|
|
52
|
+
| 'ARRAY_INCLUDES';
|
|
14
53
|
export type LogicExpression_Field_ID = {
|
|
15
54
|
operator: LogicExpression_Field_Operator;
|
|
16
55
|
value: number;
|
|
@@ -106,7 +145,7 @@ export type LogicExpression_Field_DeviceLoadPolicy = {
|
|
|
106
145
|
value: string;
|
|
107
146
|
values: string[];
|
|
108
147
|
};
|
|
109
|
-
export type
|
|
148
|
+
export type LogicExpression_Field_HighSpeed = {
|
|
110
149
|
operator: LogicExpression_Field_Operator;
|
|
111
150
|
value: boolean;
|
|
112
151
|
values: boolean[];
|
|
@@ -187,11 +226,11 @@ export type LogicExpression_Field_kind_CondDeviceLoadPolicy = {
|
|
|
187
226
|
type: 'CondDeviceLoadPolicy';
|
|
188
227
|
data: LogicExpression_Field_DeviceLoadPolicy;
|
|
189
228
|
};
|
|
190
|
-
export type
|
|
191
|
-
type: '
|
|
192
|
-
data:
|
|
229
|
+
export type LogicExpression_Field_kind_CondHighSpeed = {
|
|
230
|
+
type: 'CondHighSpeed';
|
|
231
|
+
data: LogicExpression_Field_HighSpeed;
|
|
193
232
|
};
|
|
194
|
-
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondCode | LogicExpression_Field_kind_CondAccountID | LogicExpression_Field_kind_CondName | LogicExpression_Field_kind_CondApplicationID | LogicExpression_Field_kind_CondIsFiltrationInProgress | LogicExpression_Field_kind_CondFiltrationStartedAt | LogicExpression_Field_kind_CondFiltrationLastFilteredAt | LogicExpression_Field_kind_CondFiltrationLastCheckedAt | LogicExpression_Field_kind_CondFiltrationScheduledAt | LogicExpression_Field_kind_CondCheckerScheduledAt | LogicExpression_Field_kind_CondIsSystem | LogicExpression_Field_kind_CondExpirationDate | LogicExpression_Field_kind_CondCreated | LogicExpression_Field_kind_CondFilterExpressionRaw | LogicExpression_Field_kind_CondFiltrationID | LogicExpression_Field_kind_CondUpdated | LogicExpression_Field_kind_CondDescription | LogicExpression_Field_kind_CondDeviceLoadPolicy |
|
|
233
|
+
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondCode | LogicExpression_Field_kind_CondAccountID | LogicExpression_Field_kind_CondName | LogicExpression_Field_kind_CondApplicationID | LogicExpression_Field_kind_CondIsFiltrationInProgress | LogicExpression_Field_kind_CondFiltrationStartedAt | LogicExpression_Field_kind_CondFiltrationLastFilteredAt | LogicExpression_Field_kind_CondFiltrationLastCheckedAt | LogicExpression_Field_kind_CondFiltrationScheduledAt | LogicExpression_Field_kind_CondCheckerScheduledAt | LogicExpression_Field_kind_CondIsSystem | LogicExpression_Field_kind_CondExpirationDate | LogicExpression_Field_kind_CondCreated | LogicExpression_Field_kind_CondFilterExpressionRaw | LogicExpression_Field_kind_CondFiltrationID | LogicExpression_Field_kind_CondUpdated | LogicExpression_Field_kind_CondDescription | LogicExpression_Field_kind_CondDeviceLoadPolicy | LogicExpression_Field_kind_CondHighSpeed;
|
|
195
234
|
export type LogicExpression_Field = {
|
|
196
235
|
kind: LogicExpression_Field_kind;
|
|
197
236
|
};
|
|
@@ -204,6 +243,7 @@ export type LogicExpression_kind_field = {
|
|
|
204
243
|
data: LogicExpression_Field;
|
|
205
244
|
};
|
|
206
245
|
export type LogicExpression_kind = LogicExpression_kind_binary | LogicExpression_kind_field;
|
|
246
|
+
/** Abstract expression structure. That's an expressions container */
|
|
207
247
|
export type LogicExpression = {
|
|
208
248
|
kind: LogicExpression_kind;
|
|
209
249
|
};
|
|
@@ -221,6 +261,11 @@ export type ForExpression = {
|
|
|
221
261
|
level: LockLevel;
|
|
222
262
|
waiting: LockWaitingOption;
|
|
223
263
|
};
|
|
264
|
+
/**
|
|
265
|
+
* This struct is used to avoid protoc compiler warnings about unused includes in case when
|
|
266
|
+
* there are no usage for timestamp.* and wrappers.*
|
|
267
|
+
* This can be removed if you figure out how to remove unused includes.
|
|
268
|
+
*/
|
|
224
269
|
export type __filter_crud_service_internal = {
|
|
225
270
|
f1: string;
|
|
226
271
|
f2: Date;
|
|
@@ -255,7 +300,7 @@ export type FiltersCrudService_UpdateFiltrationID = RpcMethod<UpdateFiltrationID
|
|
|
255
300
|
export type FiltersCrudService_UpdateUpdated = RpcMethod<UpdateUpdatedRequest, {}>;
|
|
256
301
|
export type FiltersCrudService_UpdateDescription = RpcMethod<UpdateDescriptionRequest, {}>;
|
|
257
302
|
export type FiltersCrudService_UpdateDeviceLoadPolicy = RpcMethod<UpdateDeviceLoadPolicyRequest, {}>;
|
|
258
|
-
export type
|
|
303
|
+
export type FiltersCrudService_UpdateHighSpeed = RpcMethod<UpdateHighSpeedRequest, {}>;
|
|
259
304
|
export interface FiltersCrudService {
|
|
260
305
|
Create: FiltersCrudService_Create;
|
|
261
306
|
CreateMany: FiltersCrudService_CreateMany;
|
|
@@ -286,7 +331,7 @@ export interface FiltersCrudService {
|
|
|
286
331
|
UpdateUpdated: FiltersCrudService_UpdateUpdated;
|
|
287
332
|
UpdateDescription: FiltersCrudService_UpdateDescription;
|
|
288
333
|
UpdateDeviceLoadPolicy: FiltersCrudService_UpdateDeviceLoadPolicy;
|
|
289
|
-
|
|
334
|
+
UpdateHighSpeed: FiltersCrudService_UpdateHighSpeed;
|
|
290
335
|
}
|
|
291
336
|
export type CreateRequest = {
|
|
292
337
|
Code?: string;
|
|
@@ -307,7 +352,7 @@ export type CreateRequest = {
|
|
|
307
352
|
Updated?: Date;
|
|
308
353
|
Description?: string;
|
|
309
354
|
DeviceLoadPolicy?: string;
|
|
310
|
-
|
|
355
|
+
HighSpeed?: boolean;
|
|
311
356
|
};
|
|
312
357
|
export type CreateResponse = {
|
|
313
358
|
filter: Filter;
|
|
@@ -432,7 +477,7 @@ export type UpdateDeviceLoadPolicyRequest = {
|
|
|
432
477
|
ID?: number;
|
|
433
478
|
value?: string;
|
|
434
479
|
};
|
|
435
|
-
export type
|
|
480
|
+
export type UpdateHighSpeedRequest = {
|
|
436
481
|
ID?: number;
|
|
437
482
|
value?: boolean;
|
|
438
483
|
};
|
|
@@ -456,6 +501,11 @@ export type LoadByAccountIDNameResponse = {
|
|
|
456
501
|
filter: Filter;
|
|
457
502
|
};
|
|
458
503
|
export type JoinType = 'JOIN_INVALID' | 'JOIN_INNER' | 'JOIN_LEFT' | 'JOIN_RIGHT';
|
|
504
|
+
/**
|
|
505
|
+
* This struct is used to avoid protoc compiler warnings about unused includes in case when
|
|
506
|
+
* there are no usage for timestamp.* and wrappers.*
|
|
507
|
+
* This can be removed if you figure out how to remove unused includes.
|
|
508
|
+
*/
|
|
459
509
|
export type __filter_model_internal = {
|
|
460
510
|
f1: string;
|
|
461
511
|
f2: Date;
|
|
@@ -480,7 +530,7 @@ export type Filter = {
|
|
|
480
530
|
Updated: Date;
|
|
481
531
|
Description: string;
|
|
482
532
|
DeviceLoadPolicy: string;
|
|
483
|
-
|
|
533
|
+
HighSpeed: boolean;
|
|
484
534
|
};
|
|
485
535
|
export type FilterExpression_Operation_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_INTERSECT' | 'OPERATOR_UNION' | 'OPERATOR_DIFFERENCE';
|
|
486
536
|
export type FilterExpression_Operation = {
|
|
@@ -489,12 +539,14 @@ export type FilterExpression_Operation = {
|
|
|
489
539
|
};
|
|
490
540
|
export type FilterExpression_Application_TokenPresence = 'TOKEN_PRESENCE_UNSPECIFIED' | 'TOKEN_PRESENCE_WITH_TOKENS' | 'TOKEN_PRESENCE_WITHOUT_TOKENS' | 'TOKEN_PRESENCE_ALL';
|
|
491
541
|
export type FilterExpression_Application_DevicePresence = 'DEVICE_PRESENCE_UNSPECIFIED' | 'DEVICE_PRESENCE_WITH_DEVICES' | 'DEVICE_PRESENCE_WITHOUT_DEVICES' | 'DEVICE_PRESENCE_ALL';
|
|
542
|
+
/** Application specifies set of devices that subscribed to given applications */
|
|
492
543
|
export type FilterExpression_Application = {
|
|
493
544
|
codes: string[];
|
|
494
545
|
platforms: number[];
|
|
495
546
|
tokenPresence: FilterExpression_Application_TokenPresence;
|
|
496
547
|
devicePresence: FilterExpression_Application_DevicePresence;
|
|
497
548
|
};
|
|
549
|
+
/** Geo specifies set of devices located within given coordinate range */
|
|
498
550
|
export type FilterExpression_Geo = {
|
|
499
551
|
application: string;
|
|
500
552
|
lat: number;
|
|
@@ -538,6 +590,7 @@ export type FilterExpression_BestTimeToSend_Value_kind = FilterExpression_BestTi
|
|
|
538
590
|
export type FilterExpression_BestTimeToSend_Value = {
|
|
539
591
|
kind: FilterExpression_BestTimeToSend_Value_kind;
|
|
540
592
|
};
|
|
593
|
+
/** BestTimeToSend specifies set of devices associated with given best time to send value */
|
|
541
594
|
export type FilterExpression_BestTimeToSend = {
|
|
542
595
|
applications: string[];
|
|
543
596
|
value: FilterExpression_BestTimeToSend_Value;
|
|
@@ -552,6 +605,7 @@ export type FilterExpression_List = {
|
|
|
552
605
|
users: string[];
|
|
553
606
|
devices: string[];
|
|
554
607
|
};
|
|
608
|
+
/** UserID/HWID set stored in database */
|
|
555
609
|
export type FilterExpression_Static = {
|
|
556
610
|
application: string;
|
|
557
611
|
segment: string;
|
|
@@ -982,6 +1036,7 @@ export type FilterExpression_Event_Attribute = {
|
|
|
982
1036
|
name: string;
|
|
983
1037
|
kind: FilterExpression_Event_Attribute_kind;
|
|
984
1038
|
};
|
|
1039
|
+
/** Event specifies set of devices associated with given event parameters */
|
|
985
1040
|
export type FilterExpression_Event = {
|
|
986
1041
|
application: string;
|
|
987
1042
|
event: string;
|
|
@@ -1018,6 +1073,7 @@ export type FilterExpression_Updated_Condition_kind = FilterExpression_Updated_C
|
|
|
1018
1073
|
export type FilterExpression_Updated_Condition = {
|
|
1019
1074
|
kind: FilterExpression_Updated_Condition_kind;
|
|
1020
1075
|
};
|
|
1076
|
+
/** Updated specifies set of devices that match restrictions for device updated at field */
|
|
1021
1077
|
export type FilterExpression_Updated = {
|
|
1022
1078
|
application: string;
|
|
1023
1079
|
condition: FilterExpression_Updated_Condition;
|
|
@@ -1489,11 +1545,13 @@ export type FilterExpression_Tag_kind_timezone = {
|
|
|
1489
1545
|
data: FilterExpression_Tag_Timezone;
|
|
1490
1546
|
};
|
|
1491
1547
|
export type FilterExpression_Tag_kind = FilterExpression_Tag_kind_integer | FilterExpression_Tag_kind_string | FilterExpression_Tag_kind_list | FilterExpression_Tag_kind_date | FilterExpression_Tag_kind_boolean | FilterExpression_Tag_kind_price | FilterExpression_Tag_kind_version | FilterExpression_Tag_kind_timezone;
|
|
1548
|
+
/** Tag specifies set of devices that match given tag conditions */
|
|
1492
1549
|
export type FilterExpression_Tag = {
|
|
1493
1550
|
name: string;
|
|
1494
1551
|
application: string;
|
|
1495
1552
|
kind: FilterExpression_Tag_kind;
|
|
1496
1553
|
};
|
|
1554
|
+
/** Tag specifies set of devices that match given tag conditions */
|
|
1497
1555
|
export type FilterExpression_TagDateMatch = {
|
|
1498
1556
|
name: string;
|
|
1499
1557
|
application: string;
|
|
@@ -1546,6 +1604,7 @@ export type FilterExpression_kind_list = {
|
|
|
1546
1604
|
data: FilterExpression_List;
|
|
1547
1605
|
};
|
|
1548
1606
|
export type FilterExpression_kind = FilterExpression_kind_operation | FilterExpression_kind_application | FilterExpression_kind_tag | FilterExpression_kind_geo | FilterExpression_kind_static | FilterExpression_kind_event | FilterExpression_kind_updated | FilterExpression_kind_bestTimeToSend | FilterExpression_kind_tagDateMatch | FilterExpression_kind_segment | FilterExpression_kind_list;
|
|
1607
|
+
/** FilterExpression describes structures for querying devices from the database */
|
|
1549
1608
|
export type FilterExpression = {
|
|
1550
1609
|
kind: FilterExpression_kind;
|
|
1551
1610
|
};
|