@pushwoosh/rpc-gateway-statistics-api 1.3.895 → 1.3.897
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
CHANGED
package/package.json
CHANGED
|
@@ -13,7 +13,10 @@ export interface ConversionsService {
|
|
|
13
13
|
}
|
|
14
14
|
/** ContactType is the touch a conversion is credited to: the last send or the last click */
|
|
15
15
|
export type ContactType = 'CONTACT_TYPE_UNSPECIFIED' | 'CONTACT_TYPE_CLICK' | 'CONTACT_TYPE_SENT';
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* CampaignType tells what a board row is: a one-time message, an in-app outside journeys
|
|
18
|
+
* counted with them, or a journey.
|
|
19
|
+
*/
|
|
17
20
|
export type CampaignType = 'CAMPAIGN_TYPE_UNSPECIFIED' | 'CAMPAIGN_TYPE_ONE_TIME' | 'CAMPAIGN_TYPE_JOURNEY';
|
|
18
21
|
/** GetBoardRequest asks for one page of the board of one conversion event */
|
|
19
22
|
export type GetBoardRequest = {
|
|
@@ -40,18 +43,20 @@ export type GetBoardRequest = {
|
|
|
40
43
|
/** Rows per page; 0 reads as 20, 200 at most */
|
|
41
44
|
perPage: number;
|
|
42
45
|
};
|
|
43
|
-
/** Row is one message, journey or journey point on the board */
|
|
46
|
+
/** Row is one message, in-app, journey or journey point on the board */
|
|
44
47
|
export type Row = {
|
|
45
|
-
/** One-time message; 0 for a journey or a point */
|
|
48
|
+
/** One-time message; 0 for an in-app, a journey or a point */
|
|
46
49
|
messageId: number;
|
|
47
|
-
/** Journey point campaign; 0 for a one-time message or a whole journey */
|
|
50
|
+
/** Journey point campaign; 0 for a one-time message, an in-app or a whole journey */
|
|
48
51
|
campaignId: number;
|
|
49
52
|
messageCode: string;
|
|
50
53
|
/** Message title, journey title or point title */
|
|
51
54
|
name: string;
|
|
55
|
+
/** Sends; in-apps are shown, not sent, and add nothing */
|
|
52
56
|
sent: number;
|
|
57
|
+
/** Opens; shows for an in-app */
|
|
53
58
|
opened: number;
|
|
54
|
-
/** Email link clicks; 0 for channels without clicks */
|
|
59
|
+
/** Email link clicks and in-app clicks, the close button aside; 0 for channels without clicks */
|
|
55
60
|
clicked: number;
|
|
56
61
|
conversions: number;
|
|
57
62
|
uniqueUsers: number;
|
|
@@ -69,6 +74,8 @@ export type Row = {
|
|
|
69
74
|
filtered: boolean;
|
|
70
75
|
/** Journey point deleted from its version; what it earned still counts */
|
|
71
76
|
deleted: boolean;
|
|
77
|
+
/** In-app outside journeys, as the in-app messages store numbers it; 0 otherwise */
|
|
78
|
+
inAppId: number;
|
|
72
79
|
};
|
|
73
80
|
/** Revenue is revenue in one currency, not converted */
|
|
74
81
|
export type Revenue = {
|