@pushwoosh/rpc-v2-http-api-data 0.1.558 → 0.1.560
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Duration } from './commonTypes';
|
|
2
2
|
import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
|
|
3
|
-
export type ErrorReason = 'ERROR_REASON_UNSPECIFIED' | 'EMPTY_REQUEST' | 'EMPTY_SCHEDULE' | 'EMPTY_SEND_DATE' | 'EMPTY_PAYLOAD' | 'SEND_DATE_TOO_FAR_IN_FUTURE' | 'EMPTY_TARGET' | 'SEGMENT_NOT_FOUND' | 'SEGLANG_ERROR' | 'EMPTY_APPLICATION' | 'APPLICATION_NOT_FOUND' | 'INVALID_PAST_TIMEZONES_BEHAVIOUR' | 'EMPTY_HWIDS_LIST' | 'TOO_MANY_HWIDS' | 'EMPTY_USERS_LIST' | 'TOO_MANY_USERS' | 'EMPTY_PUSH_TOKENS_LIST' | 'TOO_MANY_PUSH_TOKENS' | 'TEST_DEVICES_FALSE' | 'TEST_DEVICES_FOLLOW_USER_TIMEZONE' | 'APPLICATION_IS_REQUIRED_FOR_TRANSACTIONAL' | 'NO_RECIPIENTS_FOUND' | 'PAST_TIMEZONES_BEHAVIOUR_NOT_IMPLEMENTED' | 'NO_ACTIVE_TEST_DEVICES' | 'SILENT_UNSUPPORTED_PLATFORM' | 'INVALID_IOS_BADGE' | 'INVALID_ANDROID_BADGE' | 'INVALID_HUAWEI_ANDROID_BADGE' | 'INVALID_BAIDU_ANDROID_BADGE' | 'INVALID_LIVE_ACTIVITY' | 'INVALID_IOS_TIME_TO_LIVE' | 'INVALID_ANDROID_TIME_TO_LIVE' | 'INVALID_HUAWEI_ANDROID_TIME_TO_LIVE' | 'INVALID_BAIDU_ANDROID_TIME_TO_LIVE' | 'INVALID_IOS_INTERRUPTION_LEVEL' | 'INVALID_MAC_OS_BADGE' | 'INVALID_SAFARI_BADGE' | 'INVALID_MAC_OS_TIME_TO_LIVE' | 'INVALID_ANDROID_LED' | 'INVALID_HUAWEI_ANDROID_LED' | 'INVALID_BAIDU_ANDROID_LED' | 'INVALID_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_HUAWEI_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_BAIDU_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_ANDROID_PRIORITY' | 'INVALID_HUAWEI_ANDROID_PRIORITY' | 'INVALID_BAIDU_ANDROID_PRIORITY' | 'INVALID_CHROME_TIME_TO_LIVE' | 'INVALID_CHROME_DURATION' | 'INVALID_SAFARI_TIME_TO_LIVE' | 'INVALID_AMAZON_TIME_TO_LIVE' | '
|
|
3
|
+
export type ErrorReason = 'ERROR_REASON_UNSPECIFIED' | 'EMPTY_REQUEST' | 'EMPTY_SCHEDULE' | 'EMPTY_SEND_DATE' | 'EMPTY_PAYLOAD' | 'SEND_DATE_TOO_FAR_IN_FUTURE' | 'EMPTY_TARGET' | 'SEGMENT_NOT_FOUND' | 'SEGLANG_ERROR' | 'EMPTY_APPLICATION' | 'APPLICATION_NOT_FOUND' | 'INVALID_PAST_TIMEZONES_BEHAVIOUR' | 'EMPTY_HWIDS_LIST' | 'TOO_MANY_HWIDS' | 'EMPTY_USERS_LIST' | 'TOO_MANY_USERS' | 'EMPTY_PUSH_TOKENS_LIST' | 'TOO_MANY_PUSH_TOKENS' | 'TEST_DEVICES_FALSE' | 'TEST_DEVICES_FOLLOW_USER_TIMEZONE' | 'APPLICATION_IS_REQUIRED_FOR_TRANSACTIONAL' | 'NO_RECIPIENTS_FOUND' | 'PAST_TIMEZONES_BEHAVIOUR_NOT_IMPLEMENTED' | 'NO_ACTIVE_TEST_DEVICES' | 'SILENT_UNSUPPORTED_PLATFORM' | 'INVALID_IOS_BADGE' | 'INVALID_ANDROID_BADGE' | 'INVALID_HUAWEI_ANDROID_BADGE' | 'INVALID_BAIDU_ANDROID_BADGE' | 'INVALID_LIVE_ACTIVITY' | 'INVALID_IOS_TIME_TO_LIVE' | 'INVALID_ANDROID_TIME_TO_LIVE' | 'INVALID_HUAWEI_ANDROID_TIME_TO_LIVE' | 'INVALID_BAIDU_ANDROID_TIME_TO_LIVE' | 'INVALID_IOS_INTERRUPTION_LEVEL' | 'INVALID_MAC_OS_BADGE' | 'INVALID_SAFARI_BADGE' | 'INVALID_MAC_OS_TIME_TO_LIVE' | 'INVALID_ANDROID_LED' | 'INVALID_HUAWEI_ANDROID_LED' | 'INVALID_BAIDU_ANDROID_LED' | 'INVALID_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_HUAWEI_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_BAIDU_ANDROID_ICON_BACKGROUND_COLOR' | 'INVALID_ANDROID_PRIORITY' | 'INVALID_HUAWEI_ANDROID_PRIORITY' | 'INVALID_BAIDU_ANDROID_PRIORITY' | 'INVALID_CHROME_TIME_TO_LIVE' | 'INVALID_CHROME_DURATION' | 'INVALID_SAFARI_TIME_TO_LIVE' | 'INVALID_AMAZON_TIME_TO_LIVE' | 'INVALID_IE_BADGE' | 'PRESET_NOT_FOUND' | 'FREQUENCY_CAPPING_NOT_ALLOWED' | 'INVALID_FREQUENCY_CAPPING_DAYS' | 'INVALID_FREQUENCY_CAPPING_COUNT' | 'CAMPAIGN_NOT_FOUND' | 'INVALID_PLATFORMS' | 'DEEP_LINK_NOT_FOUND' | 'RICH_MEDIA_NOT_FOUND' | 'EMPTY_URL' | 'INVALID_WINDOWS_TIME_TO_LIVE' | 'INVALID_WINDOWS_CONTENT_BASE64' | 'INVALID_WINDOWS_CONTENT_XML' | 'INVALID_WINDOWS_TEMPLATE_NAME' | 'INVALID_WINDOWS_CONTENT_BODY_EMPTY';
|
|
4
4
|
export interface MessagingService {
|
|
5
5
|
Notify(request: NotifyRequest): Promise<NotifyResponse>;
|
|
6
6
|
NotifyBulk(request: NotifyBulkRequest): Promise<NotifyBulkResponse>;
|
|
@@ -35,7 +35,7 @@ export type NotifyResult = {
|
|
|
35
35
|
messageCode: string;
|
|
36
36
|
unknownIdentifiers: string[];
|
|
37
37
|
};
|
|
38
|
-
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS'
|
|
38
|
+
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS';
|
|
39
39
|
export type NotifySegment_target_code = {
|
|
40
40
|
type: 'code';
|
|
41
41
|
data: string;
|
|
@@ -179,7 +179,6 @@ export type Content_PlatformPropertiesIos = {
|
|
|
179
179
|
interruptionLevel: string;
|
|
180
180
|
rootParams: object;
|
|
181
181
|
liveActivity: LiveActivity;
|
|
182
|
-
openAction: OpenAction;
|
|
183
182
|
inbox: Inbox;
|
|
184
183
|
};
|
|
185
184
|
export type Content_PlatformPropertiesAndroid = {
|
|
@@ -200,7 +199,6 @@ export type Content_PlatformPropertiesAndroid = {
|
|
|
200
199
|
customIcon: string;
|
|
201
200
|
priority: NotificationPriority;
|
|
202
201
|
groupId: string;
|
|
203
|
-
openAction: OpenAction;
|
|
204
202
|
inbox: Inbox;
|
|
205
203
|
};
|
|
206
204
|
export type Content_PlatformPropertiesChrome = {
|
|
@@ -215,7 +213,6 @@ export type Content_PlatformPropertiesChrome = {
|
|
|
215
213
|
buttonUrl1: string;
|
|
216
214
|
buttonText2: string;
|
|
217
215
|
buttonUrl2: string;
|
|
218
|
-
openAction: OpenAction;
|
|
219
216
|
inbox: Inbox;
|
|
220
217
|
};
|
|
221
218
|
export type Content_PlatformPropertiesFirefox = {
|
|
@@ -223,7 +220,6 @@ export type Content_PlatformPropertiesFirefox = {
|
|
|
223
220
|
body: string;
|
|
224
221
|
icon: string;
|
|
225
222
|
rootParams: object;
|
|
226
|
-
openAction: OpenAction;
|
|
227
223
|
inbox: Inbox;
|
|
228
224
|
};
|
|
229
225
|
export type Content_PlatformPropertiesSafari = {
|
|
@@ -232,7 +228,6 @@ export type Content_PlatformPropertiesSafari = {
|
|
|
232
228
|
timeToLive: Duration;
|
|
233
229
|
action: string;
|
|
234
230
|
urlArguments: string[];
|
|
235
|
-
openAction: OpenAction;
|
|
236
231
|
inbox: Inbox;
|
|
237
232
|
};
|
|
238
233
|
export type Content_PlatformPropertiesMacOS = {
|
|
@@ -244,8 +239,8 @@ export type Content_PlatformPropertiesMacOS = {
|
|
|
244
239
|
soundEnabled: boolean;
|
|
245
240
|
badges: string;
|
|
246
241
|
rootParams: object;
|
|
247
|
-
openAction: OpenAction;
|
|
248
242
|
inbox: Inbox;
|
|
243
|
+
subtitle: string;
|
|
249
244
|
};
|
|
250
245
|
export type Content_PlatformPropertiesAmazon = {
|
|
251
246
|
title: string;
|
|
@@ -258,7 +253,6 @@ export type Content_PlatformPropertiesAmazon = {
|
|
|
258
253
|
icon: string;
|
|
259
254
|
customIcon: string;
|
|
260
255
|
priority: NotificationPriority;
|
|
261
|
-
openAction: OpenAction;
|
|
262
256
|
inbox: Inbox;
|
|
263
257
|
};
|
|
264
258
|
export type Content_PlatformPropertiesBaiduAndroid = {
|
|
@@ -279,7 +273,6 @@ export type Content_PlatformPropertiesBaiduAndroid = {
|
|
|
279
273
|
customIcon: string;
|
|
280
274
|
priority: NotificationPriority;
|
|
281
275
|
groupId: string;
|
|
282
|
-
openAction: OpenAction;
|
|
283
276
|
inbox: Inbox;
|
|
284
277
|
};
|
|
285
278
|
export type Content_PlatformPropertiesHuaweiAndroid = {
|
|
@@ -300,25 +293,12 @@ export type Content_PlatformPropertiesHuaweiAndroid = {
|
|
|
300
293
|
customIcon: string;
|
|
301
294
|
priority: NotificationPriority;
|
|
302
295
|
groupId: string;
|
|
303
|
-
openAction: OpenAction;
|
|
304
|
-
inbox: Inbox;
|
|
305
|
-
};
|
|
306
|
-
export type Content_PlatformPropertiesXiaomi = {
|
|
307
|
-
title: string;
|
|
308
|
-
body: string;
|
|
309
|
-
timeToLive: Duration;
|
|
310
|
-
icon: string;
|
|
311
|
-
vibration: boolean;
|
|
312
|
-
sound: string;
|
|
313
|
-
rootParams: object;
|
|
314
|
-
groupId: string;
|
|
315
|
-
openAction: OpenAction;
|
|
316
296
|
inbox: Inbox;
|
|
317
297
|
};
|
|
318
298
|
export type Content_PlatformPropertiesIE = {
|
|
319
299
|
title: string;
|
|
320
300
|
iconBadge: string;
|
|
321
|
-
|
|
301
|
+
body: string;
|
|
322
302
|
inbox: Inbox;
|
|
323
303
|
};
|
|
324
304
|
export type Content_PlatformPropertiesWindows_Raw = {
|
|
@@ -345,7 +325,6 @@ export type Content_PlatformPropertiesWindows = {
|
|
|
345
325
|
tag: string;
|
|
346
326
|
cache: boolean;
|
|
347
327
|
timeToLive: Duration;
|
|
348
|
-
openAction: OpenAction;
|
|
349
328
|
content: Content_PlatformPropertiesWindows_content;
|
|
350
329
|
};
|
|
351
330
|
export type Content_PlatformPropertiesEmail = {};
|
|
@@ -360,7 +339,6 @@ export type Content = {
|
|
|
360
339
|
firefox: Content_PlatformPropertiesFirefox;
|
|
361
340
|
baiduAndroid: Content_PlatformPropertiesBaiduAndroid;
|
|
362
341
|
huaweiAndroid: Content_PlatformPropertiesHuaweiAndroid;
|
|
363
|
-
xiaomi: Content_PlatformPropertiesXiaomi;
|
|
364
342
|
ie: Content_PlatformPropertiesIE;
|
|
365
343
|
windows: Content_PlatformPropertiesWindows;
|
|
366
344
|
};
|
|
@@ -381,5 +359,7 @@ export type Payload = {
|
|
|
381
359
|
metaData: object;
|
|
382
360
|
dynamicContentPlaceholders: Record<string, string>;
|
|
383
361
|
customData: object;
|
|
362
|
+
openAction: OpenAction;
|
|
363
|
+
openActions: Record<number, OpenAction>;
|
|
384
364
|
kind: Payload_kind;
|
|
385
365
|
};
|
|
@@ -187,6 +187,12 @@ export type SortOrder = 'INVALID' | 'ASC' | 'DESC';
|
|
|
187
187
|
export type SortExpression = {
|
|
188
188
|
sorts: Sort[];
|
|
189
189
|
};
|
|
190
|
+
export type LockLevel = 'LOCK_LEVEL_UNDEFINED' | 'LOCK_LEVEL_UPDATE' | 'LOCK_LEVEL_NO_KEY_UPDATE' | 'LOCK_LEVEL_SHARE' | 'LOCK_LEVEL_KEY_SHARE';
|
|
191
|
+
export type LockWaitingOption = 'LOCK_WAITING_UNDEFINED' | 'LOCK_WAITING_NOWAIT' | 'LOCK_WAITING_SKIP_LOCKED';
|
|
192
|
+
export type ForExpression = {
|
|
193
|
+
level: LockLevel;
|
|
194
|
+
waiting: LockWaitingOption;
|
|
195
|
+
};
|
|
190
196
|
export type __filter_crud_service_internal = {
|
|
191
197
|
f1: string;
|
|
192
198
|
f2: Date;
|
|
@@ -268,6 +274,7 @@ export type GetPageRequest = {
|
|
|
268
274
|
sort?: SortExpression;
|
|
269
275
|
pageSize?: number;
|
|
270
276
|
pageNum?: number;
|
|
277
|
+
forLock?: ForExpression;
|
|
271
278
|
};
|
|
272
279
|
export type GetPageResponse = {
|
|
273
280
|
filters: Filter[];
|
|
@@ -277,6 +284,7 @@ export type ListRequest = {
|
|
|
277
284
|
where?: LogicExpression;
|
|
278
285
|
sort?: SortExpression;
|
|
279
286
|
pageSize?: number;
|
|
287
|
+
forLock?: ForExpression;
|
|
280
288
|
};
|
|
281
289
|
export type ListResponse = {
|
|
282
290
|
paginationToken: string;
|
|
@@ -420,46 +420,6 @@ export type LogicExpression_Field_DetailActionHistoryStorePeriod = {
|
|
|
420
420
|
value: number;
|
|
421
421
|
values: number[];
|
|
422
422
|
};
|
|
423
|
-
export type LogicExpression_Field_AllowCjWebhook = {
|
|
424
|
-
operator: LogicExpression_Field_Operator;
|
|
425
|
-
value: boolean;
|
|
426
|
-
values: boolean[];
|
|
427
|
-
};
|
|
428
|
-
export type LogicExpression_Field_AllowCjInapp = {
|
|
429
|
-
operator: LogicExpression_Field_Operator;
|
|
430
|
-
value: boolean;
|
|
431
|
-
values: boolean[];
|
|
432
|
-
};
|
|
433
|
-
export type LogicExpression_Field_AllowCjScheduledSegment = {
|
|
434
|
-
operator: LogicExpression_Field_Operator;
|
|
435
|
-
value: boolean;
|
|
436
|
-
values: boolean[];
|
|
437
|
-
};
|
|
438
|
-
export type LogicExpression_Field_AllowCjContentPersonalization = {
|
|
439
|
-
operator: LogicExpression_Field_Operator;
|
|
440
|
-
value: boolean;
|
|
441
|
-
values: boolean[];
|
|
442
|
-
};
|
|
443
|
-
export type LogicExpression_Field_AllowCjSetTags = {
|
|
444
|
-
operator: LogicExpression_Field_Operator;
|
|
445
|
-
value: boolean;
|
|
446
|
-
values: boolean[];
|
|
447
|
-
};
|
|
448
|
-
export type LogicExpression_Field_AllowCjDynamicDelay = {
|
|
449
|
-
operator: LogicExpression_Field_Operator;
|
|
450
|
-
value: boolean;
|
|
451
|
-
values: boolean[];
|
|
452
|
-
};
|
|
453
|
-
export type LogicExpression_Field_AllowCjSilentHours = {
|
|
454
|
-
operator: LogicExpression_Field_Operator;
|
|
455
|
-
value: boolean;
|
|
456
|
-
values: boolean[];
|
|
457
|
-
};
|
|
458
|
-
export type LogicExpression_Field_AllowCjFrequencyCapping = {
|
|
459
|
-
operator: LogicExpression_Field_Operator;
|
|
460
|
-
value: boolean;
|
|
461
|
-
values: boolean[];
|
|
462
|
-
};
|
|
463
423
|
export type LogicExpression_Field_AllowShowDeliveryStatistics = {
|
|
464
424
|
operator: LogicExpression_Field_Operator;
|
|
465
425
|
value: boolean;
|
|
@@ -485,21 +445,11 @@ export type LogicExpression_Field_AllowSegmentsGroups = {
|
|
|
485
445
|
value: boolean;
|
|
486
446
|
values: boolean[];
|
|
487
447
|
};
|
|
488
|
-
export type LogicExpression_Field_AllowCustomerJourney = {
|
|
489
|
-
operator: LogicExpression_Field_Operator;
|
|
490
|
-
value: boolean;
|
|
491
|
-
values: boolean[];
|
|
492
|
-
};
|
|
493
448
|
export type LogicExpression_Field_AllowCjSMS = {
|
|
494
449
|
operator: LogicExpression_Field_Operator;
|
|
495
450
|
value: boolean;
|
|
496
451
|
values: boolean[];
|
|
497
452
|
};
|
|
498
|
-
export type LogicExpression_Field_AllowCjApiEntry = {
|
|
499
|
-
operator: LogicExpression_Field_Operator;
|
|
500
|
-
value: boolean;
|
|
501
|
-
values: boolean[];
|
|
502
|
-
};
|
|
503
453
|
export type LogicExpression_Field_AllowCjDynamicSetTagsInUpdateProfile = {
|
|
504
454
|
operator: LogicExpression_Field_Operator;
|
|
505
455
|
value: boolean;
|
|
@@ -540,6 +490,21 @@ export type LogicExpression_Field_AllowCjAlternativeGoalsStats = {
|
|
|
540
490
|
value: boolean;
|
|
541
491
|
values: boolean[];
|
|
542
492
|
};
|
|
493
|
+
export type LogicExpression_Field_AllowCjListenUserIdChanged = {
|
|
494
|
+
operator: LogicExpression_Field_Operator;
|
|
495
|
+
value: boolean;
|
|
496
|
+
values: boolean[];
|
|
497
|
+
};
|
|
498
|
+
export type LogicExpression_Field_AllowLine = {
|
|
499
|
+
operator: LogicExpression_Field_Operator;
|
|
500
|
+
value: boolean;
|
|
501
|
+
values: boolean[];
|
|
502
|
+
};
|
|
503
|
+
export type LogicExpression_Field_AllowPostEventInApp = {
|
|
504
|
+
operator: LogicExpression_Field_Operator;
|
|
505
|
+
value: boolean;
|
|
506
|
+
values: boolean[];
|
|
507
|
+
};
|
|
543
508
|
export type LogicExpression_Field_kind_CondID = {
|
|
544
509
|
type: 'CondID';
|
|
545
510
|
data: LogicExpression_Field_ID;
|
|
@@ -868,38 +833,6 @@ export type LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod = {
|
|
|
868
833
|
type: 'CondDetailActionHistoryStorePeriod';
|
|
869
834
|
data: LogicExpression_Field_DetailActionHistoryStorePeriod;
|
|
870
835
|
};
|
|
871
|
-
export type LogicExpression_Field_kind_CondAllowCjWebhook = {
|
|
872
|
-
type: 'CondAllowCjWebhook';
|
|
873
|
-
data: LogicExpression_Field_AllowCjWebhook;
|
|
874
|
-
};
|
|
875
|
-
export type LogicExpression_Field_kind_CondAllowCjInapp = {
|
|
876
|
-
type: 'CondAllowCjInapp';
|
|
877
|
-
data: LogicExpression_Field_AllowCjInapp;
|
|
878
|
-
};
|
|
879
|
-
export type LogicExpression_Field_kind_CondAllowCjScheduledSegment = {
|
|
880
|
-
type: 'CondAllowCjScheduledSegment';
|
|
881
|
-
data: LogicExpression_Field_AllowCjScheduledSegment;
|
|
882
|
-
};
|
|
883
|
-
export type LogicExpression_Field_kind_CondAllowCjContentPersonalization = {
|
|
884
|
-
type: 'CondAllowCjContentPersonalization';
|
|
885
|
-
data: LogicExpression_Field_AllowCjContentPersonalization;
|
|
886
|
-
};
|
|
887
|
-
export type LogicExpression_Field_kind_CondAllowCjSetTags = {
|
|
888
|
-
type: 'CondAllowCjSetTags';
|
|
889
|
-
data: LogicExpression_Field_AllowCjSetTags;
|
|
890
|
-
};
|
|
891
|
-
export type LogicExpression_Field_kind_CondAllowCjDynamicDelay = {
|
|
892
|
-
type: 'CondAllowCjDynamicDelay';
|
|
893
|
-
data: LogicExpression_Field_AllowCjDynamicDelay;
|
|
894
|
-
};
|
|
895
|
-
export type LogicExpression_Field_kind_CondAllowCjSilentHours = {
|
|
896
|
-
type: 'CondAllowCjSilentHours';
|
|
897
|
-
data: LogicExpression_Field_AllowCjSilentHours;
|
|
898
|
-
};
|
|
899
|
-
export type LogicExpression_Field_kind_CondAllowCjFrequencyCapping = {
|
|
900
|
-
type: 'CondAllowCjFrequencyCapping';
|
|
901
|
-
data: LogicExpression_Field_AllowCjFrequencyCapping;
|
|
902
|
-
};
|
|
903
836
|
export type LogicExpression_Field_kind_CondAllowShowDeliveryStatistics = {
|
|
904
837
|
type: 'CondAllowShowDeliveryStatistics';
|
|
905
838
|
data: LogicExpression_Field_AllowShowDeliveryStatistics;
|
|
@@ -920,18 +853,10 @@ export type LogicExpression_Field_kind_CondAllowSegmentsGroups = {
|
|
|
920
853
|
type: 'CondAllowSegmentsGroups';
|
|
921
854
|
data: LogicExpression_Field_AllowSegmentsGroups;
|
|
922
855
|
};
|
|
923
|
-
export type LogicExpression_Field_kind_CondAllowCustomerJourney = {
|
|
924
|
-
type: 'CondAllowCustomerJourney';
|
|
925
|
-
data: LogicExpression_Field_AllowCustomerJourney;
|
|
926
|
-
};
|
|
927
856
|
export type LogicExpression_Field_kind_CondAllowCjSMS = {
|
|
928
857
|
type: 'CondAllowCjSMS';
|
|
929
858
|
data: LogicExpression_Field_AllowCjSMS;
|
|
930
859
|
};
|
|
931
|
-
export type LogicExpression_Field_kind_CondAllowCjApiEntry = {
|
|
932
|
-
type: 'CondAllowCjApiEntry';
|
|
933
|
-
data: LogicExpression_Field_AllowCjApiEntry;
|
|
934
|
-
};
|
|
935
860
|
export type LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile = {
|
|
936
861
|
type: 'CondAllowCjDynamicSetTagsInUpdateProfile';
|
|
937
862
|
data: LogicExpression_Field_AllowCjDynamicSetTagsInUpdateProfile;
|
|
@@ -964,7 +889,19 @@ export type LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats = {
|
|
|
964
889
|
type: 'CondAllowCjAlternativeGoalsStats';
|
|
965
890
|
data: LogicExpression_Field_AllowCjAlternativeGoalsStats;
|
|
966
891
|
};
|
|
967
|
-
export type
|
|
892
|
+
export type LogicExpression_Field_kind_CondAllowCjListenUserIdChanged = {
|
|
893
|
+
type: 'CondAllowCjListenUserIdChanged';
|
|
894
|
+
data: LogicExpression_Field_AllowCjListenUserIdChanged;
|
|
895
|
+
};
|
|
896
|
+
export type LogicExpression_Field_kind_CondAllowLine = {
|
|
897
|
+
type: 'CondAllowLine';
|
|
898
|
+
data: LogicExpression_Field_AllowLine;
|
|
899
|
+
};
|
|
900
|
+
export type LogicExpression_Field_kind_CondAllowPostEventInApp = {
|
|
901
|
+
type: 'CondAllowPostEventInApp';
|
|
902
|
+
data: LogicExpression_Field_AllowPostEventInApp;
|
|
903
|
+
};
|
|
904
|
+
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondIsLocked | LogicExpression_Field_kind_CondMaxCampaigns | LogicExpression_Field_kind_CondMaxDeeplinks | LogicExpression_Field_kind_CondMaxApplicationGroups | LogicExpression_Field_kind_CondMaxApps | LogicExpression_Field_kind_CondMaxTags | LogicExpression_Field_kind_CondMaxGeozones | LogicExpression_Field_kind_CondMaxDevices | LogicExpression_Field_kind_CondMaxUsers | LogicExpression_Field_kind_CondMaxApiTokens | LogicExpression_Field_kind_CondMaxPresets | LogicExpression_Field_kind_CondMaxTestDevices | LogicExpression_Field_kind_CondMaxGeozoneRange | LogicExpression_Field_kind_CondMaxRssFeeds | LogicExpression_Field_kind_CondMaxAutoPushes | LogicExpression_Field_kind_CondMaxIOSCategories | LogicExpression_Field_kind_CondMaxTwitterFeeds | LogicExpression_Field_kind_CondMaxInapps | LogicExpression_Field_kind_CondMaxEvents | LogicExpression_Field_kind_CondMaxCreateMessage | LogicExpression_Field_kind_CondMaxRichmedia | LogicExpression_Field_kind_CondMaxPreparedFilters | LogicExpression_Field_kind_CondMaxFilters | LogicExpression_Field_kind_CondDevicesInactivityLimit | LogicExpression_Field_kind_CondAllowApi | LogicExpression_Field_kind_CondAllowStatsAccess | LogicExpression_Field_kind_CondAllowApiStatsAccess | LogicExpression_Field_kind_CondAllowGeozoneApi | LogicExpression_Field_kind_CondAllowABTests | LogicExpression_Field_kind_CondAllowBackup | LogicExpression_Field_kind_CondAllowApplicationApi | LogicExpression_Field_kind_CondAllowRemotePage | LogicExpression_Field_kind_CondAllowScheduling | LogicExpression_Field_kind_CondAllowCustomData | LogicExpression_Field_kind_CondAllowMultiLanguage | LogicExpression_Field_kind_CondAllowAutoConfig | LogicExpression_Field_kind_CondAllowCsvMessage | LogicExpression_Field_kind_CondAllowCampaignApi | LogicExpression_Field_kind_CondAllowPushHistoryApi | LogicExpression_Field_kind_CondAllowTagsApi | LogicExpression_Field_kind_CondAllowPushByUser | LogicExpression_Field_kind_CondAllowFilterApi | LogicExpression_Field_kind_CondAllowTwoFactorAuth | LogicExpression_Field_kind_CondAllowBroadcastMessageSegmentation | LogicExpression_Field_kind_CondAllowPushOnEvent | LogicExpression_Field_kind_CondAllowCompileFilter | LogicExpression_Field_kind_CondMinSendRate | LogicExpression_Field_kind_CondMaxSendRate | LogicExpression_Field_kind_CondAllowSendToGeozone | LogicExpression_Field_kind_CondAllowUseIosNewsstand | LogicExpression_Field_kind_CondAllowGetUsersDetails | LogicExpression_Field_kind_CondAllowGoalTracking | LogicExpression_Field_kind_CondAllowIePlatformUsage | LogicExpression_Field_kind_CondAllowInbox | LogicExpression_Field_kind_CondMaxEmailTemplates | LogicExpression_Field_kind_CondMaxUserSpecificTags | LogicExpression_Field_kind_CondAllowGdpr | LogicExpression_Field_kind_CondMaxVerifyingEmails | LogicExpression_Field_kind_CondMaxVerifyingDomains | LogicExpression_Field_kind_CondAllowSendExternalStats | LogicExpression_Field_kind_CondAllowCustomRssPollingInterval | LogicExpression_Field_kind_CondAllowMetadata | LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays | LogicExpression_Field_kind_CondAllowEventStatisticsApi | LogicExpression_Field_kind_CondAllowTagNotSetFilter | LogicExpression_Field_kind_CondAllowDebugMode | LogicExpression_Field_kind_CondAllowFbMessenger | LogicExpression_Field_kind_CondAllowTrackUninstalls | LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod | LogicExpression_Field_kind_CondEmailBounceRateLimit | LogicExpression_Field_kind_CondEmailComplaintRateLimit | LogicExpression_Field_kind_CondAllowFrequencyCapping | LogicExpression_Field_kind_CondMaxUsersPerDevice | 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;
|
|
968
905
|
export type LogicExpression_Field = {
|
|
969
906
|
kind: LogicExpression_Field_kind;
|
|
970
907
|
};
|
|
@@ -988,6 +925,12 @@ export type SortOrder = 'INVALID' | 'ASC' | 'DESC';
|
|
|
988
925
|
export type SortExpression = {
|
|
989
926
|
sorts: Sort[];
|
|
990
927
|
};
|
|
928
|
+
export type LockLevel = 'LOCK_LEVEL_UNDEFINED' | 'LOCK_LEVEL_UPDATE' | 'LOCK_LEVEL_NO_KEY_UPDATE' | 'LOCK_LEVEL_SHARE' | 'LOCK_LEVEL_KEY_SHARE';
|
|
929
|
+
export type LockWaitingOption = 'LOCK_WAITING_UNDEFINED' | 'LOCK_WAITING_NOWAIT' | 'LOCK_WAITING_SKIP_LOCKED';
|
|
930
|
+
export type ForExpression = {
|
|
931
|
+
level: LockLevel;
|
|
932
|
+
waiting: LockWaitingOption;
|
|
933
|
+
};
|
|
991
934
|
export type __restrictionValue_crud_service_internal = {
|
|
992
935
|
f1: string;
|
|
993
936
|
f2: Date;
|
|
@@ -1084,22 +1027,12 @@ export interface RestrictionValuesCrudService {
|
|
|
1084
1027
|
UpdateMessageHistoryStorePeriod(request: UpdateMessageHistoryStorePeriodRequest): Promise<{}>;
|
|
1085
1028
|
UpdateAllowApiGetMessageLog(request: UpdateAllowApiGetMessageLogRequest): Promise<{}>;
|
|
1086
1029
|
UpdateDetailActionHistoryStorePeriod(request: UpdateDetailActionHistoryStorePeriodRequest): Promise<{}>;
|
|
1087
|
-
UpdateAllowCjWebhook(request: UpdateAllowCjWebhookRequest): Promise<{}>;
|
|
1088
|
-
UpdateAllowCjInapp(request: UpdateAllowCjInappRequest): Promise<{}>;
|
|
1089
|
-
UpdateAllowCjScheduledSegment(request: UpdateAllowCjScheduledSegmentRequest): Promise<{}>;
|
|
1090
|
-
UpdateAllowCjContentPersonalization(request: UpdateAllowCjContentPersonalizationRequest): Promise<{}>;
|
|
1091
|
-
UpdateAllowCjSetTags(request: UpdateAllowCjSetTagsRequest): Promise<{}>;
|
|
1092
|
-
UpdateAllowCjDynamicDelay(request: UpdateAllowCjDynamicDelayRequest): Promise<{}>;
|
|
1093
|
-
UpdateAllowCjSilentHours(request: UpdateAllowCjSilentHoursRequest): Promise<{}>;
|
|
1094
|
-
UpdateAllowCjFrequencyCapping(request: UpdateAllowCjFrequencyCappingRequest): Promise<{}>;
|
|
1095
1030
|
UpdateAllowShowDeliveryStatistics(request: UpdateAllowShowDeliveryStatisticsRequest): Promise<{}>;
|
|
1096
1031
|
UpdateAllowRFMSegments(request: UpdateAllowRFMSegmentsRequest): Promise<{}>;
|
|
1097
1032
|
UpdateAllowBestTimeToSend(request: UpdateAllowBestTimeToSendRequest): Promise<{}>;
|
|
1098
1033
|
UpdateAllowEventSegmentation(request: UpdateAllowEventSegmentationRequest): Promise<{}>;
|
|
1099
1034
|
UpdateAllowSegmentsGroups(request: UpdateAllowSegmentsGroupsRequest): Promise<{}>;
|
|
1100
|
-
UpdateAllowCustomerJourney(request: UpdateAllowCustomerJourneyRequest): Promise<{}>;
|
|
1101
1035
|
UpdateAllowCjSMS(request: UpdateAllowCjSMSRequest): Promise<{}>;
|
|
1102
|
-
UpdateAllowCjApiEntry(request: UpdateAllowCjApiEntryRequest): Promise<{}>;
|
|
1103
1036
|
UpdateAllowCjDynamicSetTagsInUpdateProfile(request: UpdateAllowCjDynamicSetTagsInUpdateProfileRequest): Promise<{}>;
|
|
1104
1037
|
UpdateAllowCjAddBranchesInWaitForTrigger(request: UpdateAllowCjAddBranchesInWaitForTriggerRequest): Promise<{}>;
|
|
1105
1038
|
UpdateAllowEventsFunnel(request: UpdateAllowEventsFunnelRequest): Promise<{}>;
|
|
@@ -1108,6 +1041,9 @@ export interface RestrictionValuesCrudService {
|
|
|
1108
1041
|
UpdateEmailFileStorePeriod(request: UpdateEmailFileStorePeriodRequest): Promise<{}>;
|
|
1109
1042
|
UpdateAllowWhatsApp(request: UpdateAllowWhatsAppRequest): Promise<{}>;
|
|
1110
1043
|
UpdateAllowCjAlternativeGoalsStats(request: UpdateAllowCjAlternativeGoalsStatsRequest): Promise<{}>;
|
|
1044
|
+
UpdateAllowCjListenUserIdChanged(request: UpdateAllowCjListenUserIdChangedRequest): Promise<{}>;
|
|
1045
|
+
UpdateAllowLine(request: UpdateAllowLineRequest): Promise<{}>;
|
|
1046
|
+
UpdateAllowPostEventInApp(request: UpdateAllowPostEventInAppRequest): Promise<{}>;
|
|
1111
1047
|
}
|
|
1112
1048
|
export type CreateRequest = {
|
|
1113
1049
|
IsLocked?: boolean;
|
|
@@ -1191,22 +1127,12 @@ export type CreateRequest = {
|
|
|
1191
1127
|
MessageHistoryStorePeriod?: number;
|
|
1192
1128
|
AllowApiGetMessageLog?: boolean;
|
|
1193
1129
|
DetailActionHistoryStorePeriod?: number;
|
|
1194
|
-
AllowCjWebhook?: boolean;
|
|
1195
|
-
AllowCjInapp?: boolean;
|
|
1196
|
-
AllowCjScheduledSegment?: boolean;
|
|
1197
|
-
AllowCjContentPersonalization?: boolean;
|
|
1198
|
-
AllowCjSetTags?: boolean;
|
|
1199
|
-
AllowCjDynamicDelay?: boolean;
|
|
1200
|
-
AllowCjSilentHours?: boolean;
|
|
1201
|
-
AllowCjFrequencyCapping?: boolean;
|
|
1202
1130
|
AllowShowDeliveryStatistics?: boolean;
|
|
1203
1131
|
AllowRFMSegments?: boolean;
|
|
1204
1132
|
AllowBestTimeToSend?: boolean;
|
|
1205
1133
|
AllowEventSegmentation?: boolean;
|
|
1206
1134
|
AllowSegmentsGroups?: boolean;
|
|
1207
|
-
AllowCustomerJourney?: boolean;
|
|
1208
1135
|
AllowCjSMS?: boolean;
|
|
1209
|
-
AllowCjApiEntry?: boolean;
|
|
1210
1136
|
AllowCjDynamicSetTagsInUpdateProfile?: boolean;
|
|
1211
1137
|
AllowCjAddBranchesInWaitForTrigger?: boolean;
|
|
1212
1138
|
AllowEventsFunnel?: boolean;
|
|
@@ -1215,6 +1141,9 @@ export type CreateRequest = {
|
|
|
1215
1141
|
EmailFileStorePeriod?: number;
|
|
1216
1142
|
AllowWhatsApp?: boolean;
|
|
1217
1143
|
AllowCjAlternativeGoalsStats?: boolean;
|
|
1144
|
+
AllowCjListenUserIdChanged?: boolean;
|
|
1145
|
+
AllowLine?: boolean;
|
|
1146
|
+
AllowPostEventInApp?: boolean;
|
|
1218
1147
|
};
|
|
1219
1148
|
export type CreateResponse = {
|
|
1220
1149
|
restrictionValue: RestrictionValue;
|
|
@@ -1245,6 +1174,7 @@ export type GetPageRequest = {
|
|
|
1245
1174
|
sort?: SortExpression;
|
|
1246
1175
|
pageSize?: number;
|
|
1247
1176
|
pageNum?: number;
|
|
1177
|
+
forLock?: ForExpression;
|
|
1248
1178
|
};
|
|
1249
1179
|
export type GetPageResponse = {
|
|
1250
1180
|
restrictionValues: RestrictionValue[];
|
|
@@ -1254,6 +1184,7 @@ export type ListRequest = {
|
|
|
1254
1184
|
where?: LogicExpression;
|
|
1255
1185
|
sort?: SortExpression;
|
|
1256
1186
|
pageSize?: number;
|
|
1187
|
+
forLock?: ForExpression;
|
|
1257
1188
|
};
|
|
1258
1189
|
export type ListResponse = {
|
|
1259
1190
|
paginationToken: string;
|
|
@@ -1589,38 +1520,6 @@ export type UpdateDetailActionHistoryStorePeriodRequest = {
|
|
|
1589
1520
|
ID?: number;
|
|
1590
1521
|
value?: number;
|
|
1591
1522
|
};
|
|
1592
|
-
export type UpdateAllowCjWebhookRequest = {
|
|
1593
|
-
ID?: number;
|
|
1594
|
-
value?: boolean;
|
|
1595
|
-
};
|
|
1596
|
-
export type UpdateAllowCjInappRequest = {
|
|
1597
|
-
ID?: number;
|
|
1598
|
-
value?: boolean;
|
|
1599
|
-
};
|
|
1600
|
-
export type UpdateAllowCjScheduledSegmentRequest = {
|
|
1601
|
-
ID?: number;
|
|
1602
|
-
value?: boolean;
|
|
1603
|
-
};
|
|
1604
|
-
export type UpdateAllowCjContentPersonalizationRequest = {
|
|
1605
|
-
ID?: number;
|
|
1606
|
-
value?: boolean;
|
|
1607
|
-
};
|
|
1608
|
-
export type UpdateAllowCjSetTagsRequest = {
|
|
1609
|
-
ID?: number;
|
|
1610
|
-
value?: boolean;
|
|
1611
|
-
};
|
|
1612
|
-
export type UpdateAllowCjDynamicDelayRequest = {
|
|
1613
|
-
ID?: number;
|
|
1614
|
-
value?: boolean;
|
|
1615
|
-
};
|
|
1616
|
-
export type UpdateAllowCjSilentHoursRequest = {
|
|
1617
|
-
ID?: number;
|
|
1618
|
-
value?: boolean;
|
|
1619
|
-
};
|
|
1620
|
-
export type UpdateAllowCjFrequencyCappingRequest = {
|
|
1621
|
-
ID?: number;
|
|
1622
|
-
value?: boolean;
|
|
1623
|
-
};
|
|
1624
1523
|
export type UpdateAllowShowDeliveryStatisticsRequest = {
|
|
1625
1524
|
ID?: number;
|
|
1626
1525
|
value?: boolean;
|
|
@@ -1641,18 +1540,10 @@ export type UpdateAllowSegmentsGroupsRequest = {
|
|
|
1641
1540
|
ID?: number;
|
|
1642
1541
|
value?: boolean;
|
|
1643
1542
|
};
|
|
1644
|
-
export type UpdateAllowCustomerJourneyRequest = {
|
|
1645
|
-
ID?: number;
|
|
1646
|
-
value?: boolean;
|
|
1647
|
-
};
|
|
1648
1543
|
export type UpdateAllowCjSMSRequest = {
|
|
1649
1544
|
ID?: number;
|
|
1650
1545
|
value?: boolean;
|
|
1651
1546
|
};
|
|
1652
|
-
export type UpdateAllowCjApiEntryRequest = {
|
|
1653
|
-
ID?: number;
|
|
1654
|
-
value?: boolean;
|
|
1655
|
-
};
|
|
1656
1547
|
export type UpdateAllowCjDynamicSetTagsInUpdateProfileRequest = {
|
|
1657
1548
|
ID?: number;
|
|
1658
1549
|
value?: boolean;
|
|
@@ -1685,6 +1576,18 @@ export type UpdateAllowCjAlternativeGoalsStatsRequest = {
|
|
|
1685
1576
|
ID?: number;
|
|
1686
1577
|
value?: boolean;
|
|
1687
1578
|
};
|
|
1579
|
+
export type UpdateAllowCjListenUserIdChangedRequest = {
|
|
1580
|
+
ID?: number;
|
|
1581
|
+
value?: boolean;
|
|
1582
|
+
};
|
|
1583
|
+
export type UpdateAllowLineRequest = {
|
|
1584
|
+
ID?: number;
|
|
1585
|
+
value?: boolean;
|
|
1586
|
+
};
|
|
1587
|
+
export type UpdateAllowPostEventInAppRequest = {
|
|
1588
|
+
ID?: number;
|
|
1589
|
+
value?: boolean;
|
|
1590
|
+
};
|
|
1688
1591
|
export type GetRequest = {
|
|
1689
1592
|
ID?: number;
|
|
1690
1593
|
};
|
|
@@ -1779,22 +1682,12 @@ export type RestrictionValue = {
|
|
|
1779
1682
|
MessageHistoryStorePeriod: number;
|
|
1780
1683
|
AllowApiGetMessageLog: boolean;
|
|
1781
1684
|
DetailActionHistoryStorePeriod: number;
|
|
1782
|
-
AllowCjWebhook: boolean;
|
|
1783
|
-
AllowCjInapp: boolean;
|
|
1784
|
-
AllowCjScheduledSegment: boolean;
|
|
1785
|
-
AllowCjContentPersonalization: boolean;
|
|
1786
|
-
AllowCjSetTags: boolean;
|
|
1787
|
-
AllowCjDynamicDelay: boolean;
|
|
1788
|
-
AllowCjSilentHours: boolean;
|
|
1789
|
-
AllowCjFrequencyCapping: boolean;
|
|
1790
1685
|
AllowShowDeliveryStatistics: boolean;
|
|
1791
1686
|
AllowRFMSegments: boolean;
|
|
1792
1687
|
AllowBestTimeToSend: boolean;
|
|
1793
1688
|
AllowEventSegmentation: boolean;
|
|
1794
1689
|
AllowSegmentsGroups: boolean;
|
|
1795
|
-
AllowCustomerJourney: boolean;
|
|
1796
1690
|
AllowCjSMS: boolean;
|
|
1797
|
-
AllowCjApiEntry: boolean;
|
|
1798
1691
|
AllowCjDynamicSetTagsInUpdateProfile: boolean;
|
|
1799
1692
|
AllowCjAddBranchesInWaitForTrigger: boolean;
|
|
1800
1693
|
AllowEventsFunnel: boolean;
|
|
@@ -1803,4 +1696,7 @@ export type RestrictionValue = {
|
|
|
1803
1696
|
EmailFileStorePeriod: number;
|
|
1804
1697
|
AllowWhatsApp: boolean;
|
|
1805
1698
|
AllowCjAlternativeGoalsStats: boolean;
|
|
1699
|
+
AllowCjListenUserIdChanged: boolean;
|
|
1700
|
+
AllowLine: boolean;
|
|
1701
|
+
AllowPostEventInApp: boolean;
|
|
1806
1702
|
};
|