@pushwoosh/rpc-gateway-journey-data 0.26.319 → 0.26.321
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/commonTypes.js +1 -0
- package/data.js +17 -1
- package/index.js +1 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +118 -114
- package/pushwoosh_cj_journey.js +1 -0
- package/pushwoosh_cj_journey_category.d.ts +9 -9
- package/pushwoosh_cj_journey_category.js +1 -0
- package/pushwoosh_objects_filters_v1.d.ts +72 -72
- package/pushwoosh_objects_filters_v1.js +1 -0
package/commonTypes.js
CHANGED
package/data.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
+
/* Autogenerated code */
|
|
2
3
|
export const data = {
|
|
3
4
|
"pushwoosh.cj.journey.Journey": {
|
|
4
5
|
"type": "S",
|
|
@@ -594,6 +595,9 @@ export const data = {
|
|
|
594
595
|
},
|
|
595
596
|
"unshowableSends": {
|
|
596
597
|
"type": "number"
|
|
598
|
+
},
|
|
599
|
+
"recipients": {
|
|
600
|
+
"type": "number"
|
|
597
601
|
}
|
|
598
602
|
}
|
|
599
603
|
},
|
|
@@ -631,6 +635,9 @@ export const data = {
|
|
|
631
635
|
},
|
|
632
636
|
"errors": {
|
|
633
637
|
"type": "number"
|
|
638
|
+
},
|
|
639
|
+
"recipients": {
|
|
640
|
+
"type": "number"
|
|
634
641
|
}
|
|
635
642
|
}
|
|
636
643
|
},
|
|
@@ -645,6 +652,9 @@ export const data = {
|
|
|
645
652
|
},
|
|
646
653
|
"errors": {
|
|
647
654
|
"type": "number"
|
|
655
|
+
},
|
|
656
|
+
"recipients": {
|
|
657
|
+
"type": "number"
|
|
648
658
|
}
|
|
649
659
|
}
|
|
650
660
|
},
|
|
@@ -662,6 +672,9 @@ export const data = {
|
|
|
662
672
|
},
|
|
663
673
|
"errors": {
|
|
664
674
|
"type": "number"
|
|
675
|
+
},
|
|
676
|
+
"recipients": {
|
|
677
|
+
"type": "number"
|
|
665
678
|
}
|
|
666
679
|
}
|
|
667
680
|
},
|
|
@@ -708,6 +721,9 @@ export const data = {
|
|
|
708
721
|
},
|
|
709
722
|
"errors": {
|
|
710
723
|
"type": "number"
|
|
724
|
+
},
|
|
725
|
+
"recipients": {
|
|
726
|
+
"type": "number"
|
|
711
727
|
}
|
|
712
728
|
}
|
|
713
729
|
},
|
|
@@ -783,7 +799,7 @@ export const data = {
|
|
|
783
799
|
"type": "number"
|
|
784
800
|
},
|
|
785
801
|
"avrCTR": {
|
|
786
|
-
"type": "
|
|
802
|
+
"type": "number"
|
|
787
803
|
}
|
|
788
804
|
}
|
|
789
805
|
},
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DoubleValue as google_protobuf_DoubleValue } from './google_protobuf';
|
|
2
1
|
import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
|
|
3
2
|
export interface Journey {
|
|
4
3
|
GetJourneysList(request: GetJourneysListRequest): Promise<GetJourneysListResponse>;
|
|
@@ -46,7 +45,7 @@ export interface Journey {
|
|
|
46
45
|
GetWhatsAppPresetsByAppCode(request: GetWhatsAppPresetsByAppCodeRequest): Promise<GetWhatsAppPresetsByAppCodeResponse>;
|
|
47
46
|
}
|
|
48
47
|
export type GetPlaceholdersRequest = {
|
|
49
|
-
templateCode
|
|
48
|
+
templateCode: string;
|
|
50
49
|
};
|
|
51
50
|
export type GetPlaceholdersResponse = {
|
|
52
51
|
items: string[];
|
|
@@ -64,9 +63,9 @@ export type GetTagsResponse = {
|
|
|
64
63
|
payload: TagResponse[];
|
|
65
64
|
};
|
|
66
65
|
export type TagsAutocompleteRequest = {
|
|
67
|
-
query
|
|
68
|
-
tagName
|
|
69
|
-
tagType
|
|
66
|
+
query: string;
|
|
67
|
+
tagName: string;
|
|
68
|
+
tagType: TagType;
|
|
70
69
|
};
|
|
71
70
|
export type TagsAutocompleteResponse = {
|
|
72
71
|
payload: TagsAutocompleteResponsePayload;
|
|
@@ -96,19 +95,19 @@ export type AutocompleteValue = {
|
|
|
96
95
|
};
|
|
97
96
|
export type WinnerStrategy = 'ANY_GOAL' | 'SPECIFIC_GOAL';
|
|
98
97
|
export type UpdateABSSplitterParamsRequest = {
|
|
99
|
-
journeyUuid
|
|
100
|
-
pointUuid
|
|
101
|
-
params
|
|
102
|
-
autoSelectWinner
|
|
103
|
-
winnerStrategy
|
|
104
|
-
goalUuid
|
|
98
|
+
journeyUuid: string;
|
|
99
|
+
pointUuid: string;
|
|
100
|
+
params: number[];
|
|
101
|
+
autoSelectWinner: boolean;
|
|
102
|
+
winnerStrategy: WinnerStrategy;
|
|
103
|
+
goalUuid: string;
|
|
105
104
|
};
|
|
106
105
|
export type CloneJourneysRequest = {
|
|
107
|
-
journeyUuids
|
|
108
|
-
sourceAppCode
|
|
109
|
-
destAppCodes
|
|
110
|
-
cloneWithContent
|
|
111
|
-
title
|
|
106
|
+
journeyUuids: string[];
|
|
107
|
+
sourceAppCode: string;
|
|
108
|
+
destAppCodes: string[];
|
|
109
|
+
cloneWithContent: boolean;
|
|
110
|
+
title: string;
|
|
112
111
|
};
|
|
113
112
|
export type CloneJourneysResponse = {
|
|
114
113
|
clonedJourneys: Record<string, JourneyUUIDs>;
|
|
@@ -117,9 +116,9 @@ export type JourneyUUIDs = {
|
|
|
117
116
|
journeyUuids: string[];
|
|
118
117
|
};
|
|
119
118
|
export type GetJourneyQuickStatsByPointsRequest = {
|
|
120
|
-
uuid
|
|
121
|
-
fromDate
|
|
122
|
-
toDate
|
|
119
|
+
uuid: string;
|
|
120
|
+
fromDate: string;
|
|
121
|
+
toDate: string;
|
|
123
122
|
};
|
|
124
123
|
export type GetJourneyQuickStatsByPointsResponse = {
|
|
125
124
|
metadata: JourneyStatsByPointMeta;
|
|
@@ -202,6 +201,7 @@ export type PointStatSendPush = {
|
|
|
202
201
|
skippedDueCappingSettings: number;
|
|
203
202
|
errors: number;
|
|
204
203
|
unshowableSends: number;
|
|
204
|
+
recipients: number;
|
|
205
205
|
};
|
|
206
206
|
export type PointStatInApp = {
|
|
207
207
|
shows: number;
|
|
@@ -215,17 +215,20 @@ export type PointStatSendSms = {
|
|
|
215
215
|
delivered: number;
|
|
216
216
|
skipped: number;
|
|
217
217
|
errors: number;
|
|
218
|
+
recipients: number;
|
|
218
219
|
};
|
|
219
220
|
export type PointStatSendLine = {
|
|
220
221
|
sent: number;
|
|
221
222
|
delivered: number;
|
|
222
223
|
errors: number;
|
|
224
|
+
recipients: number;
|
|
223
225
|
};
|
|
224
226
|
export type PointStatSendWhatsApp = {
|
|
225
227
|
sent: number;
|
|
226
228
|
totalOpened: number;
|
|
227
229
|
skipped: number;
|
|
228
230
|
errors: number;
|
|
231
|
+
recipients: number;
|
|
229
232
|
};
|
|
230
233
|
export type PointStatSendData = {
|
|
231
234
|
sent: number;
|
|
@@ -242,6 +245,7 @@ export type PointStatSendEmail = {
|
|
|
242
245
|
complaints: number;
|
|
243
246
|
skipped: number;
|
|
244
247
|
errors: number;
|
|
248
|
+
recipients: number;
|
|
245
249
|
};
|
|
246
250
|
export type PointStatMessageBus = {};
|
|
247
251
|
export type PointStatGoalEvent = {};
|
|
@@ -250,7 +254,7 @@ export type PointStatDelay = {};
|
|
|
250
254
|
export type PointStatBooleanSplitter = {};
|
|
251
255
|
export type PointStatWaitEvent = {};
|
|
252
256
|
export type GetJourneyStatsRequest = {
|
|
253
|
-
journeyIds
|
|
257
|
+
journeyIds: string[];
|
|
254
258
|
};
|
|
255
259
|
export type GetJourneyStatsResponse = {
|
|
256
260
|
metadata: JourneyStatsMeta;
|
|
@@ -265,26 +269,26 @@ export type JourneyStatsPayloadGet = {
|
|
|
265
269
|
export type JourneySummaryStats = {
|
|
266
270
|
in: number;
|
|
267
271
|
goals: number;
|
|
268
|
-
avrCTR:
|
|
272
|
+
avrCTR: number;
|
|
269
273
|
};
|
|
270
274
|
export type RenameRequest = {
|
|
271
|
-
uuid
|
|
272
|
-
title
|
|
275
|
+
uuid: string;
|
|
276
|
+
title: string;
|
|
273
277
|
};
|
|
274
278
|
export type DeleteRequest = {
|
|
275
|
-
uuid
|
|
279
|
+
uuid: string;
|
|
276
280
|
};
|
|
277
281
|
export type CreateRequest = {
|
|
278
|
-
title
|
|
279
|
-
params
|
|
280
|
-
points
|
|
281
|
-
comments
|
|
282
|
+
title: string;
|
|
283
|
+
params: JourneyParams;
|
|
284
|
+
points: Point[];
|
|
285
|
+
comments: JourneyComment[];
|
|
282
286
|
};
|
|
283
287
|
export type GetHistoryRequest = {
|
|
284
|
-
uuid
|
|
285
|
-
userId
|
|
286
|
-
pageSize
|
|
287
|
-
page
|
|
288
|
+
uuid: string;
|
|
289
|
+
userId: number;
|
|
290
|
+
pageSize: number;
|
|
291
|
+
page: number;
|
|
288
292
|
};
|
|
289
293
|
export type GetHistoryResponse = {
|
|
290
294
|
items: HistoryItem[];
|
|
@@ -403,30 +407,30 @@ export type CommentsChangelog = {
|
|
|
403
407
|
commentPositions: ChangelogRecords;
|
|
404
408
|
};
|
|
405
409
|
export type UpdateJourneyRequest = {
|
|
406
|
-
uuid
|
|
407
|
-
title
|
|
408
|
-
params
|
|
409
|
-
points
|
|
410
|
-
comments
|
|
411
|
-
autosave
|
|
410
|
+
uuid: string;
|
|
411
|
+
title: string;
|
|
412
|
+
params: JourneyParams;
|
|
413
|
+
points: Point[];
|
|
414
|
+
comments: JourneyComment[];
|
|
415
|
+
autosave: boolean;
|
|
412
416
|
};
|
|
413
417
|
export type GetJourneysListRequest = {
|
|
414
|
-
applicationCode
|
|
415
|
-
statuses
|
|
416
|
-
categoryUuids
|
|
417
|
-
filterTitle
|
|
418
|
-
sorting
|
|
419
|
-
page
|
|
420
|
-
pageSize
|
|
421
|
-
campaignTypes
|
|
422
|
-
uuidList
|
|
418
|
+
applicationCode: string;
|
|
419
|
+
statuses: JourneyStatus[];
|
|
420
|
+
categoryUuids: string[];
|
|
421
|
+
filterTitle: string;
|
|
422
|
+
sorting: Sorting[];
|
|
423
|
+
page: number;
|
|
424
|
+
pageSize: number;
|
|
425
|
+
campaignTypes: CampaignType[];
|
|
426
|
+
uuidList: string[];
|
|
423
427
|
};
|
|
424
428
|
export type GetJourneysListResponse = {
|
|
425
429
|
journeys: Info[];
|
|
426
430
|
total: number;
|
|
427
431
|
};
|
|
428
432
|
export type GetJourneyByUUIDRequest = {
|
|
429
|
-
uuid
|
|
433
|
+
uuid: string;
|
|
430
434
|
};
|
|
431
435
|
export type GetJourneyByUUIDResponse = {
|
|
432
436
|
info: Info;
|
|
@@ -492,61 +496,61 @@ export type UpdateAndResumeJourneyResponseV2 = {
|
|
|
492
496
|
validation: ValidateJourneyResponse;
|
|
493
497
|
};
|
|
494
498
|
export type StartJourneyV2Request = {
|
|
495
|
-
uuid
|
|
499
|
+
uuid: string;
|
|
496
500
|
};
|
|
497
501
|
export type PauseJourneyV2Request = {
|
|
498
|
-
uuid
|
|
502
|
+
uuid: string;
|
|
499
503
|
};
|
|
500
504
|
export type FinishJourneyV2Request = {
|
|
501
|
-
uuid
|
|
505
|
+
uuid: string;
|
|
502
506
|
};
|
|
503
507
|
export type DraftJourneyV2Request = {
|
|
504
|
-
uuid
|
|
508
|
+
uuid: string;
|
|
505
509
|
};
|
|
506
510
|
export type ArchiveJourneyV2Request = {
|
|
507
|
-
uuid
|
|
511
|
+
uuid: string;
|
|
508
512
|
};
|
|
509
513
|
export type UpdateJourneyV2Request = {
|
|
510
|
-
uuid
|
|
511
|
-
title
|
|
512
|
-
params
|
|
513
|
-
points
|
|
514
|
-
comments
|
|
515
|
-
autosave
|
|
514
|
+
uuid: string;
|
|
515
|
+
title: string;
|
|
516
|
+
params: JourneyParams;
|
|
517
|
+
points: Point[];
|
|
518
|
+
comments: JourneyComment[];
|
|
519
|
+
autosave: boolean;
|
|
516
520
|
};
|
|
517
521
|
export type UpdateAndResumeJourneyV2Request = {
|
|
518
|
-
uuid
|
|
519
|
-
title
|
|
520
|
-
params
|
|
521
|
-
points
|
|
522
|
-
comments
|
|
523
|
-
autosave
|
|
522
|
+
uuid: string;
|
|
523
|
+
title: string;
|
|
524
|
+
params: JourneyParams;
|
|
525
|
+
points: Point[];
|
|
526
|
+
comments: JourneyComment[];
|
|
527
|
+
autosave: boolean;
|
|
524
528
|
};
|
|
525
529
|
export type CreateV2Request = {
|
|
526
|
-
title
|
|
527
|
-
params
|
|
528
|
-
points
|
|
529
|
-
comments
|
|
530
|
+
title: string;
|
|
531
|
+
params: JourneyParams;
|
|
532
|
+
points: Point[];
|
|
533
|
+
comments: JourneyComment[];
|
|
530
534
|
};
|
|
531
535
|
export type RenameV2Request = {
|
|
532
|
-
uuid
|
|
533
|
-
title
|
|
536
|
+
uuid: string;
|
|
537
|
+
title: string;
|
|
534
538
|
};
|
|
535
539
|
export type UpdateABSSplitterParamsV2Request = {
|
|
536
|
-
journeyUuid
|
|
537
|
-
pointUuid
|
|
538
|
-
params
|
|
539
|
-
autoSelectWinner
|
|
540
|
-
winnerStrategy
|
|
541
|
-
goalUuid
|
|
540
|
+
journeyUuid: string;
|
|
541
|
+
pointUuid: string;
|
|
542
|
+
params: number[];
|
|
543
|
+
autoSelectWinner: boolean;
|
|
544
|
+
winnerStrategy: WinnerStrategy;
|
|
545
|
+
goalUuid: string;
|
|
542
546
|
};
|
|
543
547
|
export type ValidateJourneyV2Request = {
|
|
544
|
-
uuid
|
|
548
|
+
uuid: string;
|
|
545
549
|
};
|
|
546
550
|
export type MoveJourneysToCategoryRequest = {
|
|
547
|
-
journeyUuids
|
|
548
|
-
categoryUuid
|
|
549
|
-
applicationCode
|
|
551
|
+
journeyUuids: string[];
|
|
552
|
+
categoryUuid: string;
|
|
553
|
+
applicationCode: string;
|
|
550
554
|
};
|
|
551
555
|
export type MoveJourneysToCategoryResponse = {
|
|
552
556
|
journeys: Info[];
|
|
@@ -564,8 +568,8 @@ export type PointValidationError = {
|
|
|
564
568
|
message: string;
|
|
565
569
|
};
|
|
566
570
|
export type GetUserFlowRequest = {
|
|
567
|
-
uuid
|
|
568
|
-
userId
|
|
571
|
+
uuid: string;
|
|
572
|
+
userId: string;
|
|
569
573
|
};
|
|
570
574
|
export type GetUserFlowResponse_Status = 'success' | 'error' | 'break_path';
|
|
571
575
|
export type GetUserFlowResponse_Point = {
|
|
@@ -1274,9 +1278,9 @@ export type InboxOptions = {
|
|
|
1274
1278
|
richMediaCode: string;
|
|
1275
1279
|
};
|
|
1276
1280
|
export type GetJourneyStatsByPointsExternalRequest = {
|
|
1277
|
-
uuid
|
|
1278
|
-
fromDate
|
|
1279
|
-
toDate
|
|
1281
|
+
uuid: string;
|
|
1282
|
+
fromDate: string;
|
|
1283
|
+
toDate: string;
|
|
1280
1284
|
};
|
|
1281
1285
|
export type GetJourneyStatsByPointsExternalResponse = {
|
|
1282
1286
|
payload: JourneyStatsByPointsExternalResponsePayload;
|
|
@@ -1292,9 +1296,9 @@ export type JourneyStatsByPointsExternalItemGet = {
|
|
|
1292
1296
|
pointStat: PointStat;
|
|
1293
1297
|
};
|
|
1294
1298
|
export type GetJourneyStatsByPointRequest = {
|
|
1295
|
-
uuid
|
|
1296
|
-
fromDate
|
|
1297
|
-
toDate
|
|
1299
|
+
uuid: string;
|
|
1300
|
+
fromDate: string;
|
|
1301
|
+
toDate: string;
|
|
1298
1302
|
};
|
|
1299
1303
|
export type GetJourneyStatsByPointResponse = {
|
|
1300
1304
|
metadata: JourneyStatsByPointMeta;
|
|
@@ -1391,10 +1395,10 @@ export type AccountRestrictionValues = {
|
|
|
1391
1395
|
allowCjLine: boolean;
|
|
1392
1396
|
};
|
|
1393
1397
|
export type GetJourneyGeneralTimeStatisticsRequest = {
|
|
1394
|
-
uuid
|
|
1395
|
-
application
|
|
1396
|
-
timestampFrom
|
|
1397
|
-
timestampTo
|
|
1398
|
+
uuid: string;
|
|
1399
|
+
application: string;
|
|
1400
|
+
timestampFrom: string;
|
|
1401
|
+
timestampTo: string;
|
|
1398
1402
|
};
|
|
1399
1403
|
export type GetJourneyGeneralTimeStatisticsResponse_MetricTimeseries = {
|
|
1400
1404
|
breakdown: string;
|
|
@@ -1413,13 +1417,13 @@ export type GetJourneyGeneralTimeStatisticsResponse = {
|
|
|
1413
1417
|
recipients: number;
|
|
1414
1418
|
};
|
|
1415
1419
|
export type GetJourneyUsersRequest = {
|
|
1416
|
-
uuid
|
|
1417
|
-
application
|
|
1418
|
-
search
|
|
1419
|
-
timestampFrom
|
|
1420
|
-
timestampTo
|
|
1421
|
-
pageSize
|
|
1422
|
-
page
|
|
1420
|
+
uuid: string;
|
|
1421
|
+
application: string;
|
|
1422
|
+
search: string;
|
|
1423
|
+
timestampFrom: string;
|
|
1424
|
+
timestampTo: string;
|
|
1425
|
+
pageSize: number;
|
|
1426
|
+
page: number;
|
|
1423
1427
|
};
|
|
1424
1428
|
export type UserStatus = 'unknown' | 'inJourneyNow' | 'exited' | 'droppedOff' | 'goalReached';
|
|
1425
1429
|
export type GetJourneyUsersResponse_UserPoint = {
|
|
@@ -1436,12 +1440,12 @@ export type GetJourneyUsersResponse = {
|
|
|
1436
1440
|
};
|
|
1437
1441
|
export type Channel = 'CHANNEL_UNSPECIFIED' | 'PUSH' | 'EMAIL' | 'WHATSAPP' | 'SMS' | 'IN_APP';
|
|
1438
1442
|
export type GetJourneyMetricsRequest = {
|
|
1439
|
-
uuid
|
|
1440
|
-
application
|
|
1441
|
-
timestampFrom
|
|
1442
|
-
timestampTo
|
|
1443
|
-
timezone
|
|
1444
|
-
channels
|
|
1443
|
+
uuid: string;
|
|
1444
|
+
application: string;
|
|
1445
|
+
timestampFrom: Date;
|
|
1446
|
+
timestampTo: Date;
|
|
1447
|
+
timezone: string;
|
|
1448
|
+
channels: Channel[];
|
|
1445
1449
|
};
|
|
1446
1450
|
export type GetJourneyMetricsResponse_PushMetrics = {
|
|
1447
1451
|
sends: number[];
|
|
@@ -1526,12 +1530,12 @@ export type GetJourneyMetricsResponse = {
|
|
|
1526
1530
|
totals: GetJourneyMetricsResponse_ChannelTotals;
|
|
1527
1531
|
};
|
|
1528
1532
|
export type GetJourneyDeliveryReportRequest = {
|
|
1529
|
-
application
|
|
1530
|
-
uuid
|
|
1531
|
-
timestampFrom
|
|
1532
|
-
timestampTo
|
|
1533
|
-
timezone
|
|
1534
|
-
channels
|
|
1533
|
+
application: string;
|
|
1534
|
+
uuid: string;
|
|
1535
|
+
timestampFrom: Date;
|
|
1536
|
+
timestampTo: Date;
|
|
1537
|
+
timezone: string;
|
|
1538
|
+
channels: Channel[];
|
|
1535
1539
|
};
|
|
1536
1540
|
export type GetJourneyDeliveryReportResponse_DeliveryError = {
|
|
1537
1541
|
name: string;
|
|
@@ -1554,7 +1558,7 @@ export type AttributeEntry = {
|
|
|
1554
1558
|
attributeName: string;
|
|
1555
1559
|
};
|
|
1556
1560
|
export type GetVoucherPoolsRequest = {
|
|
1557
|
-
applicationCode
|
|
1561
|
+
applicationCode: string;
|
|
1558
1562
|
};
|
|
1559
1563
|
export type GetVoucherPoolsResponse = {
|
|
1560
1564
|
payload: VoucherPool[];
|
|
@@ -1563,7 +1567,7 @@ export type VoucherPool = {
|
|
|
1563
1567
|
name: string;
|
|
1564
1568
|
};
|
|
1565
1569
|
export type GetWhatsAppPresetsByAppCodeRequest = {
|
|
1566
|
-
code
|
|
1570
|
+
code: string;
|
|
1567
1571
|
};
|
|
1568
1572
|
export type GetWhatsAppPresetsByAppCodeResponse = {
|
|
1569
1573
|
payload: WhatsAppPresetsByAppCodePayload;
|
package/pushwoosh_cj_journey.js
CHANGED
|
@@ -5,30 +5,30 @@ export interface Category {
|
|
|
5
5
|
DeleteCategory(request: DeleteCategoryRequest): Promise<DeleteCategoryResponse>;
|
|
6
6
|
}
|
|
7
7
|
export type GetCategoriesListRequest = {
|
|
8
|
-
applicationCode
|
|
9
|
-
page
|
|
10
|
-
pageSize
|
|
8
|
+
applicationCode: string;
|
|
9
|
+
page: number;
|
|
10
|
+
pageSize: number;
|
|
11
11
|
};
|
|
12
12
|
export type GetCategoriesListResponse = {
|
|
13
13
|
categories: Info[];
|
|
14
14
|
};
|
|
15
15
|
export type CreateCategoryRequest = {
|
|
16
|
-
applicationCode
|
|
17
|
-
title
|
|
16
|
+
applicationCode: string;
|
|
17
|
+
title: string;
|
|
18
18
|
};
|
|
19
19
|
export type CreateCategoryResponse = {
|
|
20
20
|
category: Info;
|
|
21
21
|
};
|
|
22
22
|
export type UpdateCategoryRequest = {
|
|
23
|
-
applicationCode
|
|
24
|
-
title
|
|
25
|
-
uuid
|
|
23
|
+
applicationCode: string;
|
|
24
|
+
title: string;
|
|
25
|
+
uuid: string;
|
|
26
26
|
};
|
|
27
27
|
export type UpdateCategoryResponse = {
|
|
28
28
|
category: Info;
|
|
29
29
|
};
|
|
30
30
|
export type DeleteCategoryRequest = {
|
|
31
|
-
uuid
|
|
31
|
+
uuid: string;
|
|
32
32
|
};
|
|
33
33
|
export type DeleteCategoryResponse = {
|
|
34
34
|
affectedJourneyUuids: string[];
|
|
@@ -248,163 +248,163 @@ export interface FiltersCrudService {
|
|
|
248
248
|
UpdateDeviceLoadPolicy(request: UpdateDeviceLoadPolicyRequest): Promise<{}>;
|
|
249
249
|
}
|
|
250
250
|
export type CreateRequest = {
|
|
251
|
-
Code
|
|
252
|
-
AccountID
|
|
253
|
-
Name
|
|
254
|
-
ApplicationID
|
|
255
|
-
IsFiltrationInProgress
|
|
256
|
-
FiltrationStartedAt
|
|
257
|
-
FiltrationLastFilteredAt
|
|
258
|
-
FiltrationLastCheckedAt
|
|
259
|
-
FiltrationScheduledAt
|
|
260
|
-
CheckerScheduledAt
|
|
261
|
-
IsSystem
|
|
262
|
-
ExpirationDate
|
|
263
|
-
Created
|
|
264
|
-
FilterExpressionRaw
|
|
265
|
-
FiltrationID
|
|
266
|
-
Updated
|
|
267
|
-
Description
|
|
268
|
-
DeviceLoadPolicy
|
|
251
|
+
Code: string;
|
|
252
|
+
AccountID: number;
|
|
253
|
+
Name: string;
|
|
254
|
+
ApplicationID: number;
|
|
255
|
+
IsFiltrationInProgress: boolean;
|
|
256
|
+
FiltrationStartedAt: Date;
|
|
257
|
+
FiltrationLastFilteredAt: Date;
|
|
258
|
+
FiltrationLastCheckedAt: Date;
|
|
259
|
+
FiltrationScheduledAt: Date;
|
|
260
|
+
CheckerScheduledAt: Date;
|
|
261
|
+
IsSystem: boolean;
|
|
262
|
+
ExpirationDate: Date;
|
|
263
|
+
Created: Date;
|
|
264
|
+
FilterExpressionRaw: string;
|
|
265
|
+
FiltrationID: string;
|
|
266
|
+
Updated: Date;
|
|
267
|
+
Description: string;
|
|
268
|
+
DeviceLoadPolicy: string;
|
|
269
269
|
};
|
|
270
270
|
export type CreateResponse = {
|
|
271
271
|
filter: Filter;
|
|
272
272
|
};
|
|
273
273
|
export type CreateManyRequest = {
|
|
274
|
-
filters
|
|
274
|
+
filters: CreateRequest[];
|
|
275
275
|
};
|
|
276
276
|
export type CreateManyResponse = {
|
|
277
277
|
filters: CreateResponse[];
|
|
278
278
|
};
|
|
279
279
|
export type DeleteRequest = {
|
|
280
|
-
ID
|
|
280
|
+
ID: number;
|
|
281
281
|
};
|
|
282
282
|
export type DeleteManyRequest = {
|
|
283
|
-
where
|
|
283
|
+
where: LogicExpression;
|
|
284
284
|
};
|
|
285
285
|
export type DeleteManyResponse = {
|
|
286
286
|
count: number;
|
|
287
287
|
};
|
|
288
288
|
export type CountRequest = {
|
|
289
|
-
where
|
|
289
|
+
where: LogicExpression;
|
|
290
290
|
};
|
|
291
291
|
export type CountResponse = {
|
|
292
292
|
count: number;
|
|
293
293
|
};
|
|
294
294
|
export type GetPageRequest = {
|
|
295
|
-
where
|
|
296
|
-
sort
|
|
297
|
-
pageSize
|
|
298
|
-
pageNum
|
|
299
|
-
forLock
|
|
295
|
+
where: LogicExpression;
|
|
296
|
+
sort: SortExpression;
|
|
297
|
+
pageSize: number;
|
|
298
|
+
pageNum: number;
|
|
299
|
+
forLock: ForExpression;
|
|
300
300
|
};
|
|
301
301
|
export type GetPageResponse = {
|
|
302
302
|
filters: Filter[];
|
|
303
303
|
total: number;
|
|
304
304
|
};
|
|
305
305
|
export type ListRequest = {
|
|
306
|
-
where
|
|
307
|
-
sort
|
|
308
|
-
pageSize
|
|
309
|
-
forLock
|
|
306
|
+
where: LogicExpression;
|
|
307
|
+
sort: SortExpression;
|
|
308
|
+
pageSize: number;
|
|
309
|
+
forLock: ForExpression;
|
|
310
310
|
};
|
|
311
311
|
export type ListResponse = {
|
|
312
312
|
paginationToken: string;
|
|
313
313
|
};
|
|
314
314
|
export type PaginateRequest = {
|
|
315
|
-
nextPageToken
|
|
315
|
+
nextPageToken: string;
|
|
316
316
|
};
|
|
317
317
|
export type PaginateResponse = {
|
|
318
318
|
filters: Filter[];
|
|
319
319
|
nextPageToken: string;
|
|
320
320
|
};
|
|
321
321
|
export type UpdateCodeRequest = {
|
|
322
|
-
ID
|
|
323
|
-
value
|
|
322
|
+
ID: number;
|
|
323
|
+
value: string;
|
|
324
324
|
};
|
|
325
325
|
export type UpdateAccountIDRequest = {
|
|
326
|
-
ID
|
|
327
|
-
value
|
|
326
|
+
ID: number;
|
|
327
|
+
value: number;
|
|
328
328
|
};
|
|
329
329
|
export type UpdateNameRequest = {
|
|
330
|
-
ID
|
|
331
|
-
value
|
|
330
|
+
ID: number;
|
|
331
|
+
value: string;
|
|
332
332
|
};
|
|
333
333
|
export type UpdateApplicationIDRequest = {
|
|
334
|
-
ID
|
|
335
|
-
value
|
|
334
|
+
ID: number;
|
|
335
|
+
value: number;
|
|
336
336
|
};
|
|
337
337
|
export type UpdateIsFiltrationInProgressRequest = {
|
|
338
|
-
ID
|
|
339
|
-
value
|
|
338
|
+
ID: number;
|
|
339
|
+
value: boolean;
|
|
340
340
|
};
|
|
341
341
|
export type UpdateFiltrationStartedAtRequest = {
|
|
342
|
-
ID
|
|
343
|
-
value
|
|
342
|
+
ID: number;
|
|
343
|
+
value: Date;
|
|
344
344
|
};
|
|
345
345
|
export type UpdateFiltrationLastFilteredAtRequest = {
|
|
346
|
-
ID
|
|
347
|
-
value
|
|
346
|
+
ID: number;
|
|
347
|
+
value: Date;
|
|
348
348
|
};
|
|
349
349
|
export type UpdateFiltrationLastCheckedAtRequest = {
|
|
350
|
-
ID
|
|
351
|
-
value
|
|
350
|
+
ID: number;
|
|
351
|
+
value: Date;
|
|
352
352
|
};
|
|
353
353
|
export type UpdateFiltrationScheduledAtRequest = {
|
|
354
|
-
ID
|
|
355
|
-
value
|
|
354
|
+
ID: number;
|
|
355
|
+
value: Date;
|
|
356
356
|
};
|
|
357
357
|
export type UpdateCheckerScheduledAtRequest = {
|
|
358
|
-
ID
|
|
359
|
-
value
|
|
358
|
+
ID: number;
|
|
359
|
+
value: Date;
|
|
360
360
|
};
|
|
361
361
|
export type UpdateIsSystemRequest = {
|
|
362
|
-
ID
|
|
363
|
-
value
|
|
362
|
+
ID: number;
|
|
363
|
+
value: boolean;
|
|
364
364
|
};
|
|
365
365
|
export type UpdateExpirationDateRequest = {
|
|
366
|
-
ID
|
|
367
|
-
value
|
|
366
|
+
ID: number;
|
|
367
|
+
value: Date;
|
|
368
368
|
};
|
|
369
369
|
export type UpdateCreatedRequest = {
|
|
370
|
-
ID
|
|
371
|
-
value
|
|
370
|
+
ID: number;
|
|
371
|
+
value: Date;
|
|
372
372
|
};
|
|
373
373
|
export type UpdateFilterExpressionRawRequest = {
|
|
374
|
-
ID
|
|
375
|
-
value
|
|
374
|
+
ID: number;
|
|
375
|
+
value: string;
|
|
376
376
|
};
|
|
377
377
|
export type UpdateFiltrationIDRequest = {
|
|
378
|
-
ID
|
|
379
|
-
value
|
|
378
|
+
ID: number;
|
|
379
|
+
value: string;
|
|
380
380
|
};
|
|
381
381
|
export type UpdateUpdatedRequest = {
|
|
382
|
-
ID
|
|
383
|
-
value
|
|
382
|
+
ID: number;
|
|
383
|
+
value: Date;
|
|
384
384
|
};
|
|
385
385
|
export type UpdateDescriptionRequest = {
|
|
386
|
-
ID
|
|
387
|
-
value
|
|
386
|
+
ID: number;
|
|
387
|
+
value: string;
|
|
388
388
|
};
|
|
389
389
|
export type UpdateDeviceLoadPolicyRequest = {
|
|
390
|
-
ID
|
|
391
|
-
value
|
|
390
|
+
ID: number;
|
|
391
|
+
value: string;
|
|
392
392
|
};
|
|
393
393
|
export type GetRequest = {
|
|
394
|
-
ID
|
|
394
|
+
ID: number;
|
|
395
395
|
};
|
|
396
396
|
export type GetResponse = {
|
|
397
397
|
filter: Filter;
|
|
398
398
|
};
|
|
399
399
|
export type LoadByCodeRequest = {
|
|
400
|
-
Code
|
|
400
|
+
Code: string;
|
|
401
401
|
};
|
|
402
402
|
export type LoadByCodeResponse = {
|
|
403
403
|
filter: Filter;
|
|
404
404
|
};
|
|
405
405
|
export type LoadByAccountIDNameRequest = {
|
|
406
|
-
AccountID
|
|
407
|
-
Name
|
|
406
|
+
AccountID: number;
|
|
407
|
+
Name: string;
|
|
408
408
|
};
|
|
409
409
|
export type LoadByAccountIDNameResponse = {
|
|
410
410
|
filter: Filter;
|