@pushwoosh/rpc-gateway-journey-data 0.27.171 → 0.27.173
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/data.js +89 -7
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +31 -7
package/data.js
CHANGED
|
@@ -233,6 +233,12 @@ export const data = {
|
|
|
233
233
|
"method": "post",
|
|
234
234
|
"path": "/api/v2/journeygateway/{uuid}/users"
|
|
235
235
|
},
|
|
236
|
+
"GetJourneyEventsStatistics": {
|
|
237
|
+
"request": "pushwoosh.cj.journey.GetJourneyEventsStatisticsRequest",
|
|
238
|
+
"response": "pushwoosh.cj.journey.GetJourneyEventsStatisticsResponse",
|
|
239
|
+
"method": "post",
|
|
240
|
+
"path": "/api/v2/journeygateway/{uuid}/statistics/events"
|
|
241
|
+
},
|
|
236
242
|
"GetJourneyMetrics": {
|
|
237
243
|
"request": "pushwoosh.cj.journey.GetJourneyMetricsRequest",
|
|
238
244
|
"response": "pushwoosh.cj.journey.GetJourneyMetricsResponse",
|
|
@@ -1917,6 +1923,10 @@ export const data = {
|
|
|
1917
1923
|
},
|
|
1918
1924
|
"saveResult": {
|
|
1919
1925
|
"type": "pushwoosh.cj.journey.SaveResult"
|
|
1926
|
+
},
|
|
1927
|
+
"pointWarnings": {
|
|
1928
|
+
"type": "pushwoosh.cj.journey.PointValidationWarning",
|
|
1929
|
+
"array": true
|
|
1920
1930
|
}
|
|
1921
1931
|
}
|
|
1922
1932
|
},
|
|
@@ -1953,6 +1963,10 @@ export const data = {
|
|
|
1953
1963
|
"comments": {
|
|
1954
1964
|
"type": "pushwoosh.cj.journey.JourneyComment",
|
|
1955
1965
|
"array": true
|
|
1966
|
+
},
|
|
1967
|
+
"pointWarnings": {
|
|
1968
|
+
"type": "pushwoosh.cj.journey.PointValidationWarning",
|
|
1969
|
+
"array": true
|
|
1956
1970
|
}
|
|
1957
1971
|
}
|
|
1958
1972
|
},
|
|
@@ -2303,6 +2317,10 @@ export const data = {
|
|
|
2303
2317
|
"pointErrors": {
|
|
2304
2318
|
"type": "pushwoosh.cj.journey.PointValidationError",
|
|
2305
2319
|
"array": true
|
|
2320
|
+
},
|
|
2321
|
+
"pointWarnings": {
|
|
2322
|
+
"type": "pushwoosh.cj.journey.PointValidationWarning",
|
|
2323
|
+
"array": true
|
|
2306
2324
|
}
|
|
2307
2325
|
}
|
|
2308
2326
|
},
|
|
@@ -2325,6 +2343,17 @@ export const data = {
|
|
|
2325
2343
|
}
|
|
2326
2344
|
}
|
|
2327
2345
|
},
|
|
2346
|
+
"pushwoosh.cj.journey.PointValidationWarning": {
|
|
2347
|
+
"type": "I",
|
|
2348
|
+
"fields": {
|
|
2349
|
+
"uuid": {
|
|
2350
|
+
"type": "string"
|
|
2351
|
+
},
|
|
2352
|
+
"message": {
|
|
2353
|
+
"type": "string"
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2328
2357
|
"pushwoosh.cj.journey.GetUserFlowRequest": {
|
|
2329
2358
|
"type": "I",
|
|
2330
2359
|
"fields": {
|
|
@@ -3067,7 +3096,8 @@ export const data = {
|
|
|
3067
3096
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3068
3097
|
},
|
|
3069
3098
|
"messageType": {
|
|
3070
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3099
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3100
|
+
"optional": true
|
|
3071
3101
|
},
|
|
3072
3102
|
"liquidTemplateParams": {
|
|
3073
3103
|
"type": "pushwoosh.cj.journey.LiquidTemplateParams"
|
|
@@ -3404,7 +3434,8 @@ export const data = {
|
|
|
3404
3434
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3405
3435
|
},
|
|
3406
3436
|
"messageType": {
|
|
3407
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3437
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3438
|
+
"optional": true
|
|
3408
3439
|
},
|
|
3409
3440
|
"deliverySplitParams": {
|
|
3410
3441
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -3460,7 +3491,8 @@ export const data = {
|
|
|
3460
3491
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3461
3492
|
},
|
|
3462
3493
|
"messageType": {
|
|
3463
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3494
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3495
|
+
"optional": true
|
|
3464
3496
|
}
|
|
3465
3497
|
},
|
|
3466
3498
|
"oneofs": {}
|
|
@@ -3647,7 +3679,8 @@ export const data = {
|
|
|
3647
3679
|
"type": "pushwoosh.cj.journey.Capping"
|
|
3648
3680
|
},
|
|
3649
3681
|
"messageType": {
|
|
3650
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3682
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3683
|
+
"optional": true
|
|
3651
3684
|
},
|
|
3652
3685
|
"splitParams": {
|
|
3653
3686
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -3813,7 +3846,8 @@ export const data = {
|
|
|
3813
3846
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
3814
3847
|
},
|
|
3815
3848
|
"messageType": {
|
|
3816
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3849
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3850
|
+
"optional": true
|
|
3817
3851
|
},
|
|
3818
3852
|
"attachment": {
|
|
3819
3853
|
"type": "string"
|
|
@@ -4458,7 +4492,8 @@ export const data = {
|
|
|
4458
4492
|
"type": "pushwoosh.cj.journey.Capping"
|
|
4459
4493
|
},
|
|
4460
4494
|
"messageType": {
|
|
4461
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
4495
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
4496
|
+
"optional": true
|
|
4462
4497
|
}
|
|
4463
4498
|
},
|
|
4464
4499
|
"oneofs": {}
|
|
@@ -4490,7 +4525,8 @@ export const data = {
|
|
|
4490
4525
|
"type": "pushwoosh.cj.journey.Capping"
|
|
4491
4526
|
},
|
|
4492
4527
|
"messageType": {
|
|
4493
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
4528
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
4529
|
+
"optional": true
|
|
4494
4530
|
},
|
|
4495
4531
|
"onClickActions": {
|
|
4496
4532
|
"type": "pushwoosh.cj.journey.InboxOpenActions"
|
|
@@ -6392,6 +6428,52 @@ export const data = {
|
|
|
6392
6428
|
"FB_MESSENGER"
|
|
6393
6429
|
]
|
|
6394
6430
|
},
|
|
6431
|
+
"pushwoosh.cj.journey.GetJourneyEventsStatisticsRequest": {
|
|
6432
|
+
"type": "I",
|
|
6433
|
+
"fields": {
|
|
6434
|
+
"uuid": {
|
|
6435
|
+
"type": "string"
|
|
6436
|
+
},
|
|
6437
|
+
"application": {
|
|
6438
|
+
"type": "string"
|
|
6439
|
+
},
|
|
6440
|
+
"timestampFrom": {
|
|
6441
|
+
"type": "Date"
|
|
6442
|
+
},
|
|
6443
|
+
"timestampTo": {
|
|
6444
|
+
"type": "Date"
|
|
6445
|
+
}
|
|
6446
|
+
}
|
|
6447
|
+
},
|
|
6448
|
+
"pushwoosh.cj.journey.GetJourneyEventsStatisticsResponse.Event": {
|
|
6449
|
+
"type": "I",
|
|
6450
|
+
"fields": {
|
|
6451
|
+
"event": {
|
|
6452
|
+
"type": "string"
|
|
6453
|
+
},
|
|
6454
|
+
"triggeredCount": {
|
|
6455
|
+
"type": "number"
|
|
6456
|
+
},
|
|
6457
|
+
"uniqTriggeredCount": {
|
|
6458
|
+
"type": "number"
|
|
6459
|
+
},
|
|
6460
|
+
"isGoal": {
|
|
6461
|
+
"type": "boolean"
|
|
6462
|
+
}
|
|
6463
|
+
}
|
|
6464
|
+
},
|
|
6465
|
+
"pushwoosh.cj.journey.GetJourneyEventsStatisticsResponse": {
|
|
6466
|
+
"type": "I",
|
|
6467
|
+
"fields": {
|
|
6468
|
+
"events": {
|
|
6469
|
+
"type": "pushwoosh.cj.journey.GetJourneyEventsStatisticsResponse.Event",
|
|
6470
|
+
"array": true
|
|
6471
|
+
},
|
|
6472
|
+
"totalUniqTriggeredCount": {
|
|
6473
|
+
"type": "number"
|
|
6474
|
+
}
|
|
6475
|
+
}
|
|
6476
|
+
},
|
|
6395
6477
|
"pushwoosh.cj.journey.GetJourneyMetricsRequest": {
|
|
6396
6478
|
"type": "I",
|
|
6397
6479
|
"fields": {
|
package/package.json
CHANGED
|
@@ -38,6 +38,7 @@ export interface Journey {
|
|
|
38
38
|
UninstallPointTemplate(request: UninstallPointTemplateRequest): Promise<UninstallPointTemplateResponse>;
|
|
39
39
|
GetJourneyGeneralTimeStatistics(request: GetJourneyGeneralTimeStatisticsRequest): Promise<GetJourneyGeneralTimeStatisticsResponse>;
|
|
40
40
|
GetJourneyUsers(request: GetJourneyUsersRequest): Promise<GetJourneyUsersResponse>;
|
|
41
|
+
GetJourneyEventsStatistics(request: GetJourneyEventsStatisticsRequest): Promise<GetJourneyEventsStatisticsResponse>;
|
|
41
42
|
GetJourneyMetrics(request: GetJourneyMetricsRequest): Promise<GetJourneyMetricsResponse>;
|
|
42
43
|
GetJourneyDeliveryReport(request: GetJourneyDeliveryReportRequest): Promise<GetJourneyDeliveryReportResponse>;
|
|
43
44
|
GetJourneyWebhookCalls(request: GetJourneyWebhookCallsRequest): Promise<GetJourneyWebhookCallsResponse>;
|
|
@@ -669,6 +670,7 @@ export type GetJourneyByUUIDResponse = {
|
|
|
669
670
|
points: Point[];
|
|
670
671
|
comments: JourneyComment[];
|
|
671
672
|
saveResult: SaveResult;
|
|
673
|
+
pointWarnings: PointValidationWarning[];
|
|
672
674
|
};
|
|
673
675
|
export type SaveResult = 'SAVE_RESULT_UNSPECIFIED' | 'SAVE_RESULT_SAVED' | 'SAVE_RESULT_NOTHING_TO_SAVE' | 'SAVE_RESULT_REFUSED_SU';
|
|
674
676
|
export type GetJourneyByUUIDResponseWithErrors = {
|
|
@@ -679,6 +681,7 @@ export type StartJourneyResponse = {
|
|
|
679
681
|
info: Info;
|
|
680
682
|
points: Point[];
|
|
681
683
|
comments: JourneyComment[];
|
|
684
|
+
pointWarnings: PointValidationWarning[];
|
|
682
685
|
};
|
|
683
686
|
export type PauseJourneyResponse = {
|
|
684
687
|
info: Info;
|
|
@@ -794,6 +797,7 @@ export type ValidateJourneyResponse = {
|
|
|
794
797
|
valid: boolean;
|
|
795
798
|
journeyErrors: JourneyValidationError[];
|
|
796
799
|
pointErrors: PointValidationError[];
|
|
800
|
+
pointWarnings: PointValidationWarning[];
|
|
797
801
|
};
|
|
798
802
|
export type JourneyValidationError = {
|
|
799
803
|
message: string;
|
|
@@ -802,6 +806,10 @@ export type PointValidationError = {
|
|
|
802
806
|
uuid: string;
|
|
803
807
|
message: string;
|
|
804
808
|
};
|
|
809
|
+
export type PointValidationWarning = {
|
|
810
|
+
uuid: string;
|
|
811
|
+
message: string;
|
|
812
|
+
};
|
|
805
813
|
export type GetUserFlowRequest = {
|
|
806
814
|
uuid?: string;
|
|
807
815
|
userId?: string;
|
|
@@ -1125,7 +1133,7 @@ export type PointParamsSmartContent = {
|
|
|
1125
1133
|
hyperparams: SmartContentHyperparams;
|
|
1126
1134
|
capping: Capping;
|
|
1127
1135
|
sendRate: SendRate;
|
|
1128
|
-
messageType
|
|
1136
|
+
messageType?: MessageType;
|
|
1129
1137
|
liquidTemplateParams: LiquidTemplateParams;
|
|
1130
1138
|
personalise: PersonalisedParams;
|
|
1131
1139
|
vouchersParams: VoucherParams;
|
|
@@ -1231,7 +1239,7 @@ export type PointParamsSendPush = {
|
|
|
1231
1239
|
inboxOptions: InboxOptions;
|
|
1232
1240
|
vouchersParams: VoucherParams;
|
|
1233
1241
|
sendRate: SendRate;
|
|
1234
|
-
messageType
|
|
1242
|
+
messageType?: MessageType;
|
|
1235
1243
|
deliverySplitParams: BehaviorSplitter;
|
|
1236
1244
|
ttl: number;
|
|
1237
1245
|
useLatestUserDevice: boolean;
|
|
@@ -1249,7 +1257,7 @@ export type PointParamsSendSms = {
|
|
|
1249
1257
|
capping: Capping;
|
|
1250
1258
|
vouchersParams: VoucherParams;
|
|
1251
1259
|
sendRate: SendRate;
|
|
1252
|
-
messageType
|
|
1260
|
+
messageType?: MessageType;
|
|
1253
1261
|
};
|
|
1254
1262
|
export type PointParamsSendLine = {
|
|
1255
1263
|
presetCode: string;
|
|
@@ -1308,7 +1316,7 @@ export type PointParamsSendViber = {
|
|
|
1308
1316
|
personalise: PersonalisedParams;
|
|
1309
1317
|
vouchersParams: VoucherParams;
|
|
1310
1318
|
capping: Capping;
|
|
1311
|
-
messageType
|
|
1319
|
+
messageType?: MessageType;
|
|
1312
1320
|
splitParams: BehaviorSplitter;
|
|
1313
1321
|
image: string;
|
|
1314
1322
|
buttonCaption: string;
|
|
@@ -1363,7 +1371,7 @@ export type PointParamsSendWhatsApp = {
|
|
|
1363
1371
|
personalise: WhatsAppPersonalisedParams;
|
|
1364
1372
|
capping: Capping;
|
|
1365
1373
|
vouchersParams: VoucherParams;
|
|
1366
|
-
messageType
|
|
1374
|
+
messageType?: MessageType;
|
|
1367
1375
|
attachment: string;
|
|
1368
1376
|
};
|
|
1369
1377
|
export type PointParamsSendEmail = {
|
|
@@ -1621,7 +1629,7 @@ export type PointParamsInapp = {
|
|
|
1621
1629
|
campaignUid?: number;
|
|
1622
1630
|
expireInDays: number;
|
|
1623
1631
|
capping: Capping;
|
|
1624
|
-
messageType
|
|
1632
|
+
messageType?: MessageType;
|
|
1625
1633
|
};
|
|
1626
1634
|
export type PointParamsSendInbox = {
|
|
1627
1635
|
presetCode: string;
|
|
@@ -1631,7 +1639,7 @@ export type PointParamsSendInbox = {
|
|
|
1631
1639
|
expireAtDate: Date;
|
|
1632
1640
|
expireInDays: number;
|
|
1633
1641
|
capping: Capping;
|
|
1634
|
-
messageType
|
|
1642
|
+
messageType?: MessageType;
|
|
1635
1643
|
onClickActions: InboxOpenActions;
|
|
1636
1644
|
};
|
|
1637
1645
|
export type InboxOpenActions = {
|
|
@@ -2289,6 +2297,22 @@ export type GetJourneyWebhookCallsResponse = {
|
|
|
2289
2297
|
totals: number;
|
|
2290
2298
|
};
|
|
2291
2299
|
export type Channel = 'CHANNEL_UNSPECIFIED' | 'PUSH' | 'EMAIL' | 'WHATSAPP' | 'SMS' | 'IN_APP' | 'LINE' | 'INBOX' | 'KAKAO' | 'TELEGRAM' | 'VIBER' | 'FB_MESSENGER';
|
|
2300
|
+
export type GetJourneyEventsStatisticsRequest = {
|
|
2301
|
+
uuid?: string;
|
|
2302
|
+
application?: string;
|
|
2303
|
+
timestampFrom?: Date;
|
|
2304
|
+
timestampTo?: Date;
|
|
2305
|
+
};
|
|
2306
|
+
export type GetJourneyEventsStatisticsResponse_Event = {
|
|
2307
|
+
event: string;
|
|
2308
|
+
triggeredCount: number;
|
|
2309
|
+
uniqTriggeredCount: number;
|
|
2310
|
+
isGoal: boolean;
|
|
2311
|
+
};
|
|
2312
|
+
export type GetJourneyEventsStatisticsResponse = {
|
|
2313
|
+
events: GetJourneyEventsStatisticsResponse_Event[];
|
|
2314
|
+
totalUniqTriggeredCount: number;
|
|
2315
|
+
};
|
|
2292
2316
|
export type GetJourneyMetricsRequest = {
|
|
2293
2317
|
uuid?: string;
|
|
2294
2318
|
application?: string;
|