@pushwoosh/rpc-gateway-journey-data 0.27.172 → 0.27.174
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 +52 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +17 -0
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",
|
|
@@ -6422,6 +6428,52 @@ export const data = {
|
|
|
6422
6428
|
"FB_MESSENGER"
|
|
6423
6429
|
]
|
|
6424
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
|
+
},
|
|
6425
6477
|
"pushwoosh.cj.journey.GetJourneyMetricsRequest": {
|
|
6426
6478
|
"type": "I",
|
|
6427
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>;
|
|
@@ -2296,6 +2297,22 @@ export type GetJourneyWebhookCallsResponse = {
|
|
|
2296
2297
|
totals: number;
|
|
2297
2298
|
};
|
|
2298
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
|
+
};
|
|
2299
2316
|
export type GetJourneyMetricsRequest = {
|
|
2300
2317
|
uuid?: string;
|
|
2301
2318
|
application?: string;
|