@pushwoosh/rpc-gateway-statistics-api 1.3.689
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.d.ts +18 -0
- package/commonTypes.js +3 -0
- package/data.d.ts +2 -0
- package/data.js +4192 -0
- package/index.d.ts +13 -0
- package/index.js +3 -0
- package/package.json +19 -0
- package/pushwoosh_statistics_statistics_v1.d.ts +796 -0
- package/pushwoosh_statistics_statistics_v1.js +3 -0
- package/pushwoosh_statistics_statistics_v2.d.ts +189 -0
- package/pushwoosh_statistics_statistics_v2.js +3 -0
- package/pushwoosh_statistics_statistics_v2_dashboards.d.ts +143 -0
- package/pushwoosh_statistics_statistics_v2_dashboards.js +3 -0
- package/pushwoosh_statistics_statistics_v2_overview.d.ts +59 -0
- package/pushwoosh_statistics_statistics_v2_overview.js +3 -0
- package/pushwoosh_statistics_statistics_v2_statistics.d.ts +706 -0
- package/pushwoosh_statistics_statistics_v2_statistics.js +3 -0
- package/pushwoosh_statistics_types.d.ts +23 -0
- package/pushwoosh_statistics_types.js +3 -0
- package/types.d.ts +59 -0
- package/types.js +3 -0
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
import { RpcMethod } from './commonTypes';
|
|
2
|
+
import { Source as pushwoosh_statistics_types_Source } from './pushwoosh_statistics_types';
|
|
3
|
+
import { TimeInterval as pushwoosh_statistics_types_TimeInterval } from './pushwoosh_statistics_types';
|
|
4
|
+
import { DateRange as pushwoosh_statistics_types_DateRange } from './pushwoosh_statistics_types';
|
|
5
|
+
export type StatisticsService_GetTotalStatisticsByApplicationID = RpcMethod<StatisticsByApplicationIDRequest, TotalStatisticsByApplicationIDResponse>;
|
|
6
|
+
export type StatisticsService_GetMessageDeliveryReport = RpcMethod<MessageDeliveryReportRequest, MessageDeliveryReportResponse>;
|
|
7
|
+
export type StatisticsService_GetMessagesList = RpcMethod<MessagesListRequest, MessagesListResponse>;
|
|
8
|
+
export type StatisticsService_GetMessageEmailStatistics = RpcMethod<GetMessageEmailStatisticsRequest, GetMessageEmailStatisticsResponse>;
|
|
9
|
+
export type StatisticsService_GetMessageEmailLinkStatistics = RpcMethod<GetMessageEmailLinkStatisticsRequest, GetMessageEmailLinkStatisticsResponse>;
|
|
10
|
+
export type StatisticsService_GetMessageHistory = RpcMethod<GetMessageHistoryRequest, GetMessageHistoryResponse>;
|
|
11
|
+
export type StatisticsService_GetMessageDetailStatistics = RpcMethod<GetMessageDetailStatisticsRequest, GetMessageDetailStatisticsResponse>;
|
|
12
|
+
export type StatisticsService_GetMessagesTotalStatistics = RpcMethod<GetMessagesTotalStatisticsRequest, GetMessagesTotalStatisticsResponse>;
|
|
13
|
+
export type StatisticsService_GetApplicationsSubscribersStatistics = RpcMethod<GetApplicationsSubscribersStatisticsRequest, GetApplicationsSubscribersStatisticsResponse>;
|
|
14
|
+
export type StatisticsService_GetApplicationsSubscribersStatisticsInternal = RpcMethod<GetApplicationsSubscribersStatisticsInternalRequest, GetApplicationsSubscribersStatisticsInternalResponse>;
|
|
15
|
+
export type StatisticsService_GetActiveUsersCount = RpcMethod<GetActiveUsersCountRequest, GetActiveUsersCountResponse>;
|
|
16
|
+
export type StatisticsService_GetSubscribers = RpcMethod<GetSubscribersRequest, GetSubscribersResponse>;
|
|
17
|
+
export type StatisticsService_GetApplicationTotalMetricsStatistics = RpcMethod<GetApplicationTotalMetricsStatisticsRequest, GetApplicationTotalMetricsStatisticsResponse>;
|
|
18
|
+
export type StatisticsService_GetUnregisteredDevices = RpcMethod<GetUnregisteredDevicesRequest, GetUnregisteredDevicesResponse>;
|
|
19
|
+
export type StatisticsService_GetAccountTotalStatistics = RpcMethod<GetAccountTotalStatisticsRequest, GetAccountTotalStatisticsResponse>;
|
|
20
|
+
export type StatisticsService_GetMessagesTotalStatisticsCP = RpcMethod<GetMessagesTotalStatisticsCPRequest, GetMessagesTotalStatisticsCPResponse>;
|
|
21
|
+
export type StatisticsService_GetInappTotalStatisticsCP = RpcMethod<GetInappTotalStatisticsCPRequest, GetInappTotalStatisticsCPResponse>;
|
|
22
|
+
export type StatisticsService_GetEmailClicksTotalStatisticsCP = RpcMethod<GetEmailClicksTotalStatisticsCPRequest, GetEmailClicksTotalStatisticsCPResponse>;
|
|
23
|
+
export type StatisticsService_GetAverageCTRTotalStatisticsCP = RpcMethod<GetAverageCTRTotalStatisticsCPRequest, GetAverageCTRTotalStatisticsCPResponse>;
|
|
24
|
+
export type StatisticsService_GetSubscribersTotalStatisticsCP = RpcMethod<GetSubscribersTotalStatisticsCPRequest, GetSubscribersTotalStatisticsCPResponse>;
|
|
25
|
+
export type StatisticsService_GetRetentionTotalStatisticsCP = RpcMethod<GetRetentionTotalStatisticsCPRequest, GetRetentionTotalStatisticsCPResponse>;
|
|
26
|
+
export type StatisticsService_GetEngagementTotalStatisticsCP = RpcMethod<GetEngagementTotalStatisticsCPRequest, GetEngagementTotalStatisticsCPResponse>;
|
|
27
|
+
export type StatisticsService_GetActiveUsersTotalStatisticsCP = RpcMethod<GetActiveUsersTotalStatisticsCPRequest, GetActiveUsersTotalStatisticsCPResponse>;
|
|
28
|
+
export type StatisticsService_GetMessagesFunnelStatisticsCP = RpcMethod<GetMessagesFunnelStatisticsCPRequest, GetMessagesFunnelStatisticsCPResponse>;
|
|
29
|
+
export type StatisticsService_GetFrequencyCappingTotalStatisticsCP = RpcMethod<GetFrequencyCappingTotalStatisticsCPRequest, GetFrequencyCappingTotalStatisticsCPResponse>;
|
|
30
|
+
export type StatisticsService_GetUsersPAEStatisticsCP = RpcMethod<GetUsersPAEStatisticsCPRequest, GetUsersPAEStatisticsCPResponse>;
|
|
31
|
+
export type StatisticsService_GetMessageLog = RpcMethod<GetMessageLogRequest, GetMessageLogResponse>;
|
|
32
|
+
export type StatisticsService_GetEmailLinkStatistics = RpcMethod<GetEmailLinkStatisticsRequest, GetEmailLinkStatisticsResponse>;
|
|
33
|
+
export type StatisticsService_GetEmailLinkHWIDs = RpcMethod<GetEmailLinkHWIDsRequest, GetEmailLinkHWIDsResponse>;
|
|
34
|
+
/** StatisticsService provides statistics operations for messages, campaigns, and applications */
|
|
35
|
+
export interface StatisticsService {
|
|
36
|
+
/** GetTotalStatisticsByApplicationID returns aggregated statistics for campaigns by application ID */
|
|
37
|
+
GetTotalStatisticsByApplicationID: StatisticsService_GetTotalStatisticsByApplicationID;
|
|
38
|
+
/** TODO: delete? */
|
|
39
|
+
GetMessageDeliveryReport: StatisticsService_GetMessageDeliveryReport;
|
|
40
|
+
/** TODO: delete? used in push history */
|
|
41
|
+
GetMessagesList: StatisticsService_GetMessagesList;
|
|
42
|
+
/** TODO: delete? */
|
|
43
|
+
GetMessageEmailStatistics: StatisticsService_GetMessageEmailStatistics;
|
|
44
|
+
/** TODO: delete? */
|
|
45
|
+
GetMessageEmailLinkStatistics: StatisticsService_GetMessageEmailLinkStatistics;
|
|
46
|
+
/** GetMessageHistory returns paginated message history with filtering and sorting options, also includes metrics if requested */
|
|
47
|
+
GetMessageHistory: StatisticsService_GetMessageHistory;
|
|
48
|
+
/** TODO: delete? */
|
|
49
|
+
GetMessageDetailStatistics: StatisticsService_GetMessageDetailStatistics;
|
|
50
|
+
/** GetMessagesTotalStatistics returns total message statistics for specified campaigns or applications */
|
|
51
|
+
GetMessagesTotalStatistics: StatisticsService_GetMessagesTotalStatistics;
|
|
52
|
+
/** GetApplicationsSubscribersStatistics returns daily subscriber statistics by platform */
|
|
53
|
+
GetApplicationsSubscribersStatistics: StatisticsService_GetApplicationsSubscribersStatistics;
|
|
54
|
+
/** GetApplicationsSubscribersStatisticsInternal returns internal subscriber statistics (for internal services) */
|
|
55
|
+
GetApplicationsSubscribersStatisticsInternal: StatisticsService_GetApplicationsSubscribersStatisticsInternal;
|
|
56
|
+
/** GetActiveUsersCount returns DAU/MAU statistics for applications */
|
|
57
|
+
GetActiveUsersCount: StatisticsService_GetActiveUsersCount;
|
|
58
|
+
/** GetSubscribers returns subscriber counts with push enabled/disabled breakdown */
|
|
59
|
+
GetSubscribers: StatisticsService_GetSubscribers;
|
|
60
|
+
/** GetApplicationTotalMetricsStatistics returns aggregated metrics for applications */
|
|
61
|
+
GetApplicationTotalMetricsStatistics: StatisticsService_GetApplicationTotalMetricsStatistics;
|
|
62
|
+
/** GetUnregisteredDevices returns list of devices that unregistered in the specified time period */
|
|
63
|
+
GetUnregisteredDevices: StatisticsService_GetUnregisteredDevices;
|
|
64
|
+
/** GetAccountTotalStatistics returns account-level statistics including MAU and message sends */
|
|
65
|
+
GetAccountTotalStatistics: StatisticsService_GetAccountTotalStatistics;
|
|
66
|
+
/** GetMessagesTotalStatisticsCP returns message statistics for control panel overview */
|
|
67
|
+
GetMessagesTotalStatisticsCP: StatisticsService_GetMessagesTotalStatisticsCP;
|
|
68
|
+
/** GetInappTotalStatisticsCP returns in-app message statistics for control panel */
|
|
69
|
+
GetInappTotalStatisticsCP: StatisticsService_GetInappTotalStatisticsCP;
|
|
70
|
+
/** GetEmailClicksTotalStatisticsCP returns email link click statistics for control panel */
|
|
71
|
+
GetEmailClicksTotalStatisticsCP: StatisticsService_GetEmailClicksTotalStatisticsCP;
|
|
72
|
+
/** GetAverageCTRTotalStatisticsCP returns average click-through rate statistics */
|
|
73
|
+
GetAverageCTRTotalStatisticsCP: StatisticsService_GetAverageCTRTotalStatisticsCP;
|
|
74
|
+
/** GetSubscribersTotalStatisticsCP returns subscriber statistics for control panel */
|
|
75
|
+
GetSubscribersTotalStatisticsCP: StatisticsService_GetSubscribersTotalStatisticsCP;
|
|
76
|
+
/** GetRetentionTotalStatisticsCP returns user retention statistics */
|
|
77
|
+
GetRetentionTotalStatisticsCP: StatisticsService_GetRetentionTotalStatisticsCP;
|
|
78
|
+
/** GetEngagementTotalStatisticsCP returns user engagement metrics */
|
|
79
|
+
GetEngagementTotalStatisticsCP: StatisticsService_GetEngagementTotalStatisticsCP;
|
|
80
|
+
/** GetActiveUsersTotalStatisticsCP returns active users statistics (DAU/MAU) for control panel */
|
|
81
|
+
GetActiveUsersTotalStatisticsCP: StatisticsService_GetActiveUsersTotalStatisticsCP;
|
|
82
|
+
/** GetMessagesFunnelStatisticsCP returns message funnel conversion statistics */
|
|
83
|
+
GetMessagesFunnelStatisticsCP: StatisticsService_GetMessagesFunnelStatisticsCP;
|
|
84
|
+
/** GetFrequencyCappingTotalStatisticsCP returns frequency capping totals for the application across all channels for the period */
|
|
85
|
+
GetFrequencyCappingTotalStatisticsCP: StatisticsService_GetFrequencyCappingTotalStatisticsCP;
|
|
86
|
+
/** GetUsersPAEStatisticsCP returns Push Active Enabled (PAE) user statistics */
|
|
87
|
+
GetUsersPAEStatisticsCP: StatisticsService_GetUsersPAEStatisticsCP;
|
|
88
|
+
/** GetMessageLog returns detailed tracking log for messages */
|
|
89
|
+
GetMessageLog: StatisticsService_GetMessageLog;
|
|
90
|
+
/** GetEmailLinkStatistics returns email link click statistics with optional full link details */
|
|
91
|
+
GetEmailLinkStatistics: StatisticsService_GetEmailLinkStatistics;
|
|
92
|
+
/** GetEmailLinkHWIDs returns device IDs that clicked email links */
|
|
93
|
+
GetEmailLinkHWIDs: StatisticsService_GetEmailLinkHWIDs;
|
|
94
|
+
}
|
|
95
|
+
/** StatisticsByApplicationIDRequest represents a request for application statistics */
|
|
96
|
+
export type StatisticsByApplicationIDRequest = {
|
|
97
|
+
/** Application Code to get statistics for */
|
|
98
|
+
applicationId: number;
|
|
99
|
+
/** Optional list of campaign IDs to filter by */
|
|
100
|
+
campaignIds: number[];
|
|
101
|
+
/** Start date in RFC3339 format */
|
|
102
|
+
fromRfc3339: string;
|
|
103
|
+
/** End date in RFC3339 format */
|
|
104
|
+
toRfc3339: string;
|
|
105
|
+
/** Include unique metrics */
|
|
106
|
+
withUniq: boolean;
|
|
107
|
+
};
|
|
108
|
+
/** TotalStatisticsByApplicationIDResponse contains campaign statistics */
|
|
109
|
+
export type TotalStatisticsByApplicationIDResponse = {
|
|
110
|
+
/** Statistics for each campaign */
|
|
111
|
+
campaigns: TotalEventCollection[];
|
|
112
|
+
};
|
|
113
|
+
/** TotalEventCollection contains aggregated event statistics for a campaign */
|
|
114
|
+
export type TotalEventCollection = {
|
|
115
|
+
/** Campaign Code these stats belong to */
|
|
116
|
+
campaignId: number;
|
|
117
|
+
/** Successful sends without errors */
|
|
118
|
+
sends: number;
|
|
119
|
+
/** Number of message opens */
|
|
120
|
+
opens: number;
|
|
121
|
+
/** Number of unsubscribes */
|
|
122
|
+
unsubs: number;
|
|
123
|
+
/** Number of link clicks */
|
|
124
|
+
linkClicked: number;
|
|
125
|
+
/** Number of message shows */
|
|
126
|
+
shows: number;
|
|
127
|
+
/** Number of user interactions */
|
|
128
|
+
interactions: number;
|
|
129
|
+
/** Number of skipped messages */
|
|
130
|
+
skipped: number;
|
|
131
|
+
/** Number of successful deliveries */
|
|
132
|
+
deliveries: number;
|
|
133
|
+
/** Total opens including duplicates */
|
|
134
|
+
totalOpens: number;
|
|
135
|
+
/** Total deliveries including retries */
|
|
136
|
+
totalDeliveries: number;
|
|
137
|
+
/** Permanent delivery failures */
|
|
138
|
+
hardBounces: number;
|
|
139
|
+
/** Temporary delivery failures */
|
|
140
|
+
softBounces: number;
|
|
141
|
+
/** Spam complaints */
|
|
142
|
+
complaints: number;
|
|
143
|
+
/** Sending errors */
|
|
144
|
+
errors: number;
|
|
145
|
+
/** Messages that couldn't be displayed */
|
|
146
|
+
unshowableSends: number;
|
|
147
|
+
/** Rejected messages */
|
|
148
|
+
rejects: number;
|
|
149
|
+
/** Publishing errors */
|
|
150
|
+
publishesErrors: number;
|
|
151
|
+
/** Unique users skipped by frequency capping */
|
|
152
|
+
frequencyCappingUniqueUsers: number;
|
|
153
|
+
/** Total skipped count by frequency capping */
|
|
154
|
+
frequencyCappingSuppressions: number;
|
|
155
|
+
};
|
|
156
|
+
export type MessageDeliveryReportRequest = {
|
|
157
|
+
messageId: number;
|
|
158
|
+
};
|
|
159
|
+
export type MessageDeliveryReportError = {
|
|
160
|
+
error: string;
|
|
161
|
+
tooltip: string;
|
|
162
|
+
count: number;
|
|
163
|
+
};
|
|
164
|
+
export type MessageDeliveryReport = {
|
|
165
|
+
platform: string;
|
|
166
|
+
total: number;
|
|
167
|
+
errors: MessageDeliveryReportError[];
|
|
168
|
+
};
|
|
169
|
+
export type MessageDeliveryReportResponse = {
|
|
170
|
+
messageDeliveryReport: MessageDeliveryReport[];
|
|
171
|
+
};
|
|
172
|
+
/** MessageStatus represents the current status of a message */
|
|
173
|
+
export type MessageStatus =
|
|
174
|
+
/** Unknown or unspecified status */
|
|
175
|
+
'MESSAGE_STATUS_UNSPECIFIED'
|
|
176
|
+
/** Message was canceled */
|
|
177
|
+
| 'MESSAGE_STATUS_CANCELED'
|
|
178
|
+
/** Message is being created */
|
|
179
|
+
| 'MESSAGE_STATUS_CREATING'
|
|
180
|
+
/** Message sending completed */
|
|
181
|
+
| 'MESSAGE_STATUS_DONE'
|
|
182
|
+
/** Message sending failed */
|
|
183
|
+
| 'MESSAGE_STATUS_FAIL'
|
|
184
|
+
/** Message is pending */
|
|
185
|
+
| 'MESSAGE_STATUS_PENDING'
|
|
186
|
+
/** Message is being processed */
|
|
187
|
+
| 'MESSAGE_STATUS_PROCESSING'
|
|
188
|
+
/** Message is waiting to be sent */
|
|
189
|
+
| 'MESSAGE_STATUS_WAITING'
|
|
190
|
+
/** Message was deleted */
|
|
191
|
+
| 'MESSAGE_STATUS_DELETED';
|
|
192
|
+
export type MessagesListRequest = {
|
|
193
|
+
lastMessageId: number;
|
|
194
|
+
createdVia: pushwoosh_statistics_types_Source;
|
|
195
|
+
campaignCode: string;
|
|
196
|
+
applicationCode: string;
|
|
197
|
+
messageId: number;
|
|
198
|
+
messageCode: string;
|
|
199
|
+
status: MessageStatus;
|
|
200
|
+
limit: number;
|
|
201
|
+
searchContent: string;
|
|
202
|
+
};
|
|
203
|
+
export type MessagesItem = {
|
|
204
|
+
messageId: number;
|
|
205
|
+
status: MessageStatus;
|
|
206
|
+
content: string;
|
|
207
|
+
sendDate: string;
|
|
208
|
+
createdVia: pushwoosh_statistics_types_Source;
|
|
209
|
+
hasError: boolean;
|
|
210
|
+
hasReports: boolean;
|
|
211
|
+
abTestId: number;
|
|
212
|
+
};
|
|
213
|
+
export type MessagesListResponse = {
|
|
214
|
+
messages: MessagesItem[];
|
|
215
|
+
};
|
|
216
|
+
export type GetMessageEmailStatisticsRequest = {
|
|
217
|
+
messageId: number;
|
|
218
|
+
};
|
|
219
|
+
export type MessageMetricWithTimestamp = {
|
|
220
|
+
timestamp: string;
|
|
221
|
+
sends: number;
|
|
222
|
+
opens: number;
|
|
223
|
+
deliveries: number;
|
|
224
|
+
hardBounces: number;
|
|
225
|
+
softBounces: number;
|
|
226
|
+
rejects: number;
|
|
227
|
+
confirmedSends: number;
|
|
228
|
+
inboxOpens: number;
|
|
229
|
+
unsubs: number;
|
|
230
|
+
complaints: number;
|
|
231
|
+
uniqOpens: number;
|
|
232
|
+
uniqInboxOpens: number;
|
|
233
|
+
unshowableSends: number;
|
|
234
|
+
linksClicks: number;
|
|
235
|
+
};
|
|
236
|
+
export type EmailLink = {
|
|
237
|
+
link: string;
|
|
238
|
+
count: number;
|
|
239
|
+
conversion: number;
|
|
240
|
+
};
|
|
241
|
+
export type GetMessageEmailStatisticsResponse = {
|
|
242
|
+
metrics: MessageMetricWithTimestamp[];
|
|
243
|
+
links: EmailLink[];
|
|
244
|
+
};
|
|
245
|
+
export type GetMessageEmailLinkStatisticsRequest = {
|
|
246
|
+
campaignCode: string;
|
|
247
|
+
timestampFrom: string;
|
|
248
|
+
timestampTo: string;
|
|
249
|
+
};
|
|
250
|
+
export type EmailLinkTemplateCodeStatistics = {
|
|
251
|
+
templateCode: string;
|
|
252
|
+
links: EmailLink[];
|
|
253
|
+
};
|
|
254
|
+
export type GetMessageEmailLinkStatisticsResponse = {
|
|
255
|
+
linksStatistics: EmailLinkTemplateCodeStatistics[];
|
|
256
|
+
};
|
|
257
|
+
export type GetMessagesTotalStatisticsRequest = {
|
|
258
|
+
campaignIds: number[];
|
|
259
|
+
applicationId: number;
|
|
260
|
+
messagesIds: number[];
|
|
261
|
+
withUniq: boolean;
|
|
262
|
+
applicationIds: number[];
|
|
263
|
+
};
|
|
264
|
+
export type MessageMetric = {
|
|
265
|
+
sends: number;
|
|
266
|
+
opens: number;
|
|
267
|
+
deliveries: number;
|
|
268
|
+
hardBounces: number;
|
|
269
|
+
softBounces: number;
|
|
270
|
+
rejects: number;
|
|
271
|
+
confirmedSends: number;
|
|
272
|
+
inboxOpens: number;
|
|
273
|
+
unsubs: number;
|
|
274
|
+
complaints: number;
|
|
275
|
+
uniqOpens: number;
|
|
276
|
+
uniqInboxOpens: number;
|
|
277
|
+
unshowableSends: number;
|
|
278
|
+
errors: number;
|
|
279
|
+
totalOpens: number;
|
|
280
|
+
totalDeliveries: number;
|
|
281
|
+
linksClicks: number;
|
|
282
|
+
uniqLinksClicks: number;
|
|
283
|
+
};
|
|
284
|
+
export type MessageMetricItemTotal = {
|
|
285
|
+
campaignId: number;
|
|
286
|
+
applicationId: number;
|
|
287
|
+
messageId: number;
|
|
288
|
+
messageCode: string;
|
|
289
|
+
platformId: number;
|
|
290
|
+
metric: MessageMetric;
|
|
291
|
+
};
|
|
292
|
+
export type GetMessagesTotalStatisticsResponse = {
|
|
293
|
+
metrics: MessageMetricItemTotal[];
|
|
294
|
+
};
|
|
295
|
+
export type MessageMetricWithTimestampAndPlatformID = {
|
|
296
|
+
timestamp: string;
|
|
297
|
+
sends: number;
|
|
298
|
+
opens: number;
|
|
299
|
+
deliveries: number;
|
|
300
|
+
hardBounces: number;
|
|
301
|
+
softBounces: number;
|
|
302
|
+
rejects: number;
|
|
303
|
+
confirmedSends: number;
|
|
304
|
+
inboxOpens: number;
|
|
305
|
+
unsubs: number;
|
|
306
|
+
complaints: number;
|
|
307
|
+
uniqOpens: number;
|
|
308
|
+
uniqInboxOpens: number;
|
|
309
|
+
platformId: number;
|
|
310
|
+
unshowableSends: number;
|
|
311
|
+
};
|
|
312
|
+
export type GetMessageDetailStatisticsRequest = {
|
|
313
|
+
messageId: number;
|
|
314
|
+
applicationCode: string;
|
|
315
|
+
timestampFrom: string;
|
|
316
|
+
timestampTo: string;
|
|
317
|
+
applicationGroup: string;
|
|
318
|
+
campaignCode: string;
|
|
319
|
+
};
|
|
320
|
+
export type GetMessageDetailStatisticsResponse = {
|
|
321
|
+
metrics: MessageMetricWithTimestampAndPlatformID[];
|
|
322
|
+
};
|
|
323
|
+
export type DailyPlatformSubscribersStatistics = {
|
|
324
|
+
timestamp: string;
|
|
325
|
+
platformId: number;
|
|
326
|
+
pushEnabled: number;
|
|
327
|
+
pushDisabled: number;
|
|
328
|
+
};
|
|
329
|
+
export type GetApplicationsSubscribersStatisticsRequest = {
|
|
330
|
+
applicationCode: string;
|
|
331
|
+
timestampFrom: string;
|
|
332
|
+
timestampTo: string;
|
|
333
|
+
};
|
|
334
|
+
export type GetApplicationsSubscribersStatisticsResponse = {
|
|
335
|
+
statistics: DailyPlatformSubscribersStatistics[];
|
|
336
|
+
};
|
|
337
|
+
export type GetApplicationsSubscribersStatisticsInternalRequest = {
|
|
338
|
+
applicationCode: string;
|
|
339
|
+
timestampFrom: string;
|
|
340
|
+
timestampTo: string;
|
|
341
|
+
};
|
|
342
|
+
export type GetApplicationsSubscribersStatisticsInternalResponse = {
|
|
343
|
+
statistics: DailyPlatformSubscribersStatistics[];
|
|
344
|
+
};
|
|
345
|
+
export type GetMessagesTotalStatisticsCPRequest = {
|
|
346
|
+
applicationCode: string;
|
|
347
|
+
timestampFrom: string;
|
|
348
|
+
timestampTo: string;
|
|
349
|
+
interval: pushwoosh_statistics_types_TimeInterval;
|
|
350
|
+
};
|
|
351
|
+
export type ShortMessageMetric = {
|
|
352
|
+
sent: number;
|
|
353
|
+
open: number;
|
|
354
|
+
delivered: number;
|
|
355
|
+
shown: number;
|
|
356
|
+
hardBounces: number;
|
|
357
|
+
softBounces: number;
|
|
358
|
+
complaints: number;
|
|
359
|
+
};
|
|
360
|
+
export type ShortMessageMetricWithTimestampPlatformID = {
|
|
361
|
+
timestamp: string;
|
|
362
|
+
platformId: number;
|
|
363
|
+
metrics: ShortMessageMetric;
|
|
364
|
+
};
|
|
365
|
+
export type PlatformShortMetric = {
|
|
366
|
+
platformId: number;
|
|
367
|
+
currentMetric: ShortMessageMetric;
|
|
368
|
+
previousMetric: ShortMessageMetric;
|
|
369
|
+
};
|
|
370
|
+
export type GetMessagesTotalStatisticsCPResponse = {
|
|
371
|
+
rows: ShortMessageMetricWithTimestampPlatformID[];
|
|
372
|
+
totals: PlatformShortMetric[];
|
|
373
|
+
};
|
|
374
|
+
export type GetInappTotalStatisticsCPRequest = {
|
|
375
|
+
applicationCode: string;
|
|
376
|
+
timestampFrom: string;
|
|
377
|
+
timestampTo: string;
|
|
378
|
+
interval: pushwoosh_statistics_types_TimeInterval;
|
|
379
|
+
};
|
|
380
|
+
export type CountPercent = {
|
|
381
|
+
count: number;
|
|
382
|
+
percent: number;
|
|
383
|
+
};
|
|
384
|
+
export type MetricCountPercentWithTimestampPlatformID = {
|
|
385
|
+
timestamp: string;
|
|
386
|
+
platformId: number;
|
|
387
|
+
metrics: CountPercent;
|
|
388
|
+
};
|
|
389
|
+
export type PlatformMetricCount = {
|
|
390
|
+
platformId: number;
|
|
391
|
+
currentMetric: CountPercent;
|
|
392
|
+
previousMetric: CountPercent;
|
|
393
|
+
};
|
|
394
|
+
export type GetInappTotalStatisticsCPResponse = {
|
|
395
|
+
rows: MetricCountPercentWithTimestampPlatformID[];
|
|
396
|
+
totals: PlatformMetricCount[];
|
|
397
|
+
};
|
|
398
|
+
export type GetEmailClicksTotalStatisticsCPRequest = {
|
|
399
|
+
applicationCode: string;
|
|
400
|
+
timestampFrom: string;
|
|
401
|
+
timestampTo: string;
|
|
402
|
+
interval: pushwoosh_statistics_types_TimeInterval;
|
|
403
|
+
};
|
|
404
|
+
export type GetEmailClicksTotalStatisticsCPResponse = {
|
|
405
|
+
rows: MetricCountPercentWithTimestampPlatformID[];
|
|
406
|
+
totals: PlatformMetricCount[];
|
|
407
|
+
};
|
|
408
|
+
export type DevicePushCount = {
|
|
409
|
+
pushEnable: number;
|
|
410
|
+
pushDisable: number;
|
|
411
|
+
};
|
|
412
|
+
export type MetricDevicePushCountWithTimestampPlatformID = {
|
|
413
|
+
timestamp: string;
|
|
414
|
+
platformId: number;
|
|
415
|
+
metrics: DevicePushCount;
|
|
416
|
+
};
|
|
417
|
+
export type PlatformDevicePushCount = {
|
|
418
|
+
platformId: number;
|
|
419
|
+
currentMetric: DevicePushCount;
|
|
420
|
+
previousMetric: DevicePushCount;
|
|
421
|
+
};
|
|
422
|
+
export type GetSubscribersTotalStatisticsCPRequest = {
|
|
423
|
+
applicationCode: string;
|
|
424
|
+
timestampFrom: string;
|
|
425
|
+
timestampTo: string;
|
|
426
|
+
};
|
|
427
|
+
export type GetSubscribersTotalStatisticsCPResponse = {
|
|
428
|
+
rows: MetricDevicePushCountWithTimestampPlatformID[];
|
|
429
|
+
totals: PlatformDevicePushCount[];
|
|
430
|
+
};
|
|
431
|
+
export type GetRetentionTotalStatisticsCPRequest = {
|
|
432
|
+
applicationCode: string;
|
|
433
|
+
timestampFrom: string;
|
|
434
|
+
timestampTo: string;
|
|
435
|
+
};
|
|
436
|
+
export type GetRetentionTotalStatisticsCPResponse = {
|
|
437
|
+
totals: PlatformMetricCount[];
|
|
438
|
+
};
|
|
439
|
+
export type GetEngagementTotalStatisticsCPRequest = {
|
|
440
|
+
applicationCode: string;
|
|
441
|
+
timestampFrom: string;
|
|
442
|
+
timestampTo: string;
|
|
443
|
+
interval: pushwoosh_statistics_types_TimeInterval;
|
|
444
|
+
};
|
|
445
|
+
export type GetEngagementTotalStatisticsCPResponse = {
|
|
446
|
+
rows: MetricCountPercentWithTimestampPlatformID[];
|
|
447
|
+
totals: PlatformMetricCount[];
|
|
448
|
+
};
|
|
449
|
+
export type GetAverageCTRTotalStatisticsCPRequest = {
|
|
450
|
+
applicationCode: string;
|
|
451
|
+
timestampFrom: string;
|
|
452
|
+
timestampTo: string;
|
|
453
|
+
interval: pushwoosh_statistics_types_TimeInterval;
|
|
454
|
+
};
|
|
455
|
+
export type GetAverageCTRTotalStatisticsCPResponse = {
|
|
456
|
+
rows: MetricCountPercentWithTimestampPlatformID[];
|
|
457
|
+
totals: PlatformMetricCount[];
|
|
458
|
+
};
|
|
459
|
+
export type GetActiveUsersTotalStatisticsCPRequest = {
|
|
460
|
+
applicationCode: string;
|
|
461
|
+
timestampFrom: string;
|
|
462
|
+
timestampTo: string;
|
|
463
|
+
};
|
|
464
|
+
export type GetActiveUsersTotalStatisticsCPResponse = {
|
|
465
|
+
dau: MetricCountPercentWithTimestampPlatformID[];
|
|
466
|
+
mau: MetricCountPercentWithTimestampPlatformID[];
|
|
467
|
+
dauTotals: PlatformMetricCount[];
|
|
468
|
+
mauTotals: PlatformMetricCount[];
|
|
469
|
+
};
|
|
470
|
+
export type GetMessagesFunnelStatisticsCPRequest = {
|
|
471
|
+
applicationCode: string;
|
|
472
|
+
timestampFrom: string;
|
|
473
|
+
timestampTo: string;
|
|
474
|
+
};
|
|
475
|
+
export type GetMessagesFunnelStatisticsCPResponse = {
|
|
476
|
+
totals: PlatformShortMetric[];
|
|
477
|
+
};
|
|
478
|
+
export type GetFrequencyCappingTotalStatisticsCPRequest = {
|
|
479
|
+
applicationCode: string;
|
|
480
|
+
timestampFrom: string;
|
|
481
|
+
timestampTo: string;
|
|
482
|
+
};
|
|
483
|
+
export type GetFrequencyCappingTotalStatisticsCPResponse = {
|
|
484
|
+
frequencyCappingSuppressions: number;
|
|
485
|
+
frequencyCappingUniqueUsers: number;
|
|
486
|
+
};
|
|
487
|
+
export type GetUsersPAEStatisticsCPRequest = {
|
|
488
|
+
applicationCode: string;
|
|
489
|
+
timestampFrom: string;
|
|
490
|
+
timestampTo: string;
|
|
491
|
+
};
|
|
492
|
+
export type GetUsersPAEStatisticsCPResponse = {
|
|
493
|
+
rows: MetricCountPercentWithTimestampPlatformID[];
|
|
494
|
+
totals: PlatformMetricCount[];
|
|
495
|
+
};
|
|
496
|
+
/** ActiveUsersType specifies the type of active users calculation */
|
|
497
|
+
export type ActiveUsersType =
|
|
498
|
+
/** Unspecified type */
|
|
499
|
+
'ACTIVE_USERS_TYPE_UNSPECIFIED'
|
|
500
|
+
/** Daily Active Users (DAU) */
|
|
501
|
+
| 'ACTIVE_USERS_TYPE_DAY'
|
|
502
|
+
/** Monthly Active Users from month start */
|
|
503
|
+
| 'ACTIVE_USERS_TYPE_MONTH'
|
|
504
|
+
/** Monthly Active Users from specified date */
|
|
505
|
+
| 'ACTIVE_USERS_TYPE_CALENDAR_MONTH'
|
|
506
|
+
/** Monthly Active Users with push token */
|
|
507
|
+
| 'ACTIVE_USERS_TYPE_MONTH_WITH_TOKEN';
|
|
508
|
+
export type ActiveUsersCount = {
|
|
509
|
+
timestamp: string;
|
|
510
|
+
applicationId: number;
|
|
511
|
+
platformId: number;
|
|
512
|
+
activeUsers: number;
|
|
513
|
+
};
|
|
514
|
+
/** GetActiveUsersCountRequest represents a request for active users statistics */
|
|
515
|
+
export type GetActiveUsersCountRequest = {
|
|
516
|
+
/** List of application IDs */
|
|
517
|
+
applicationIds: number[];
|
|
518
|
+
/** List of platform IDs to filter by */
|
|
519
|
+
platformIds: number[];
|
|
520
|
+
/** Start date (format: yyyy-mm-dd) */
|
|
521
|
+
dateFrom: string;
|
|
522
|
+
/** End date (format: yyyy-mm-dd) */
|
|
523
|
+
dateTo: string;
|
|
524
|
+
/**
|
|
525
|
+
* Type of active users calculation:
|
|
526
|
+
* ACTIVE_USERS_TYPE_DAY - return DAU
|
|
527
|
+
* ACTIVE_USERS_TYPE_MONTH - month value is calculated as the number of monthly active users from start of the month
|
|
528
|
+
* ACTIVE_USERS_TYPE_CALENDAR_MONTH - month value is calculated as the number of monthly active users from the specified date
|
|
529
|
+
*/
|
|
530
|
+
type: ActiveUsersType;
|
|
531
|
+
};
|
|
532
|
+
export type GetActiveUsersCountResponse = {
|
|
533
|
+
rows: ActiveUsersCount[];
|
|
534
|
+
};
|
|
535
|
+
/** GetSubscribersRequest represents a request for subscriber statistics */
|
|
536
|
+
export type GetSubscribersRequest = {
|
|
537
|
+
/** List of application IDs */
|
|
538
|
+
applicationIds: number[];
|
|
539
|
+
/** List of platform IDs to filter by */
|
|
540
|
+
platformIds: number[];
|
|
541
|
+
/** Start date (format: yyyy-mm-dd) */
|
|
542
|
+
dateFrom: string;
|
|
543
|
+
/** End date (format: yyyy-mm-dd) */
|
|
544
|
+
dateTo: string;
|
|
545
|
+
};
|
|
546
|
+
export type GetSubscribersResponse_Subscribers = {
|
|
547
|
+
timestamp: string;
|
|
548
|
+
applicationId: number;
|
|
549
|
+
platformId: number;
|
|
550
|
+
pushEnable: number;
|
|
551
|
+
pushDisable: number;
|
|
552
|
+
};
|
|
553
|
+
export type GetSubscribersResponse = {
|
|
554
|
+
rows: GetSubscribersResponse_Subscribers[];
|
|
555
|
+
};
|
|
556
|
+
/** GetApplicationTotalMetricsStatisticsRequest represents a request for application metrics */
|
|
557
|
+
export type GetApplicationTotalMetricsStatisticsRequest = {
|
|
558
|
+
/** List of application IDs */
|
|
559
|
+
applicationIds: number[];
|
|
560
|
+
/** List of platform IDs to filter by */
|
|
561
|
+
platformIds: number[];
|
|
562
|
+
/** Start timestamp (format: yyyy-mm-dd hh:mm:ss) */
|
|
563
|
+
timestampFrom: string;
|
|
564
|
+
/** End timestamp (format: yyyy-mm-dd hh:mm:ss) */
|
|
565
|
+
timestampTo: string;
|
|
566
|
+
};
|
|
567
|
+
export type GetApplicationTotalMetricsStatisticsResponse = {
|
|
568
|
+
rows: MessageMetricItemTotal[];
|
|
569
|
+
};
|
|
570
|
+
/** GetUnregisteredDevicesRequest represents a request for unregistered devices */
|
|
571
|
+
export type GetUnregisteredDevicesRequest = {
|
|
572
|
+
/** Application Code */
|
|
573
|
+
applicationId: number;
|
|
574
|
+
/** Start timestamp (format: yyyy-mm-dd hh:mm:ss) */
|
|
575
|
+
timestampFrom: string;
|
|
576
|
+
/** End timestamp (format: yyyy-mm-dd hh:mm:ss) */
|
|
577
|
+
timestampTo: string;
|
|
578
|
+
};
|
|
579
|
+
export type UnregisterDevice = {
|
|
580
|
+
hwid: string;
|
|
581
|
+
platformId: number;
|
|
582
|
+
};
|
|
583
|
+
export type GetUnregisteredDevicesResponse = {
|
|
584
|
+
devices: UnregisterDevice[];
|
|
585
|
+
};
|
|
586
|
+
/** OrderType specifies sort order */
|
|
587
|
+
export type OrderType =
|
|
588
|
+
/** No specific order */
|
|
589
|
+
'UNSPECIFIED'
|
|
590
|
+
/** Ascending order */
|
|
591
|
+
| 'ASC'
|
|
592
|
+
/** Descending order */
|
|
593
|
+
| 'DESC';
|
|
594
|
+
/** MessageHistoryOrderColumn specifies which column to sort by */
|
|
595
|
+
export type MessageHistoryOrderColumn =
|
|
596
|
+
/** No specific column */
|
|
597
|
+
'UNSPECIFIED_COLUMN'
|
|
598
|
+
/** Sort by recipient count */
|
|
599
|
+
| 'RECIPIENTS'
|
|
600
|
+
/** Sort by opened count */
|
|
601
|
+
| 'OPENED'
|
|
602
|
+
/** Deprecated - click-through rate */
|
|
603
|
+
| 'CTR'
|
|
604
|
+
/** Sort by send date */
|
|
605
|
+
| 'SENT_DATE'
|
|
606
|
+
/** Sort by error count */
|
|
607
|
+
| 'ERRORS'
|
|
608
|
+
/** Sort by open rate */
|
|
609
|
+
| 'OPEN_RATE'
|
|
610
|
+
/** Sort by creation date */
|
|
611
|
+
| 'CREATED_DATE'
|
|
612
|
+
/** Sort by last modification date */
|
|
613
|
+
| 'UPDATED_DATE';
|
|
614
|
+
export type MessageHistoryOrderBy = {
|
|
615
|
+
by: MessageHistoryOrderColumn;
|
|
616
|
+
order: OrderType;
|
|
617
|
+
};
|
|
618
|
+
export type GetMessageHistoryFilters = {
|
|
619
|
+
statuses: MessageStatus[];
|
|
620
|
+
platforms: number[];
|
|
621
|
+
sentDate: pushwoosh_statistics_types_DateRange;
|
|
622
|
+
createdDate: pushwoosh_statistics_types_DateRange;
|
|
623
|
+
createdVia: pushwoosh_statistics_types_Source[];
|
|
624
|
+
segments: string[];
|
|
625
|
+
campaigns: string[];
|
|
626
|
+
messageIds: number[];
|
|
627
|
+
messageCodes: string[];
|
|
628
|
+
};
|
|
629
|
+
export type GetMessageHistoryRequest_MessageType = 'UNKNOWN' | 'MARKETING' | 'TRANSACTIONAL';
|
|
630
|
+
export type GetMessageHistoryRequest = {
|
|
631
|
+
page: number;
|
|
632
|
+
limit: number;
|
|
633
|
+
search: string;
|
|
634
|
+
applicationCode: string;
|
|
635
|
+
applications: string[];
|
|
636
|
+
appGroupCode: string;
|
|
637
|
+
withoutMetrics: boolean;
|
|
638
|
+
filters: GetMessageHistoryFilters;
|
|
639
|
+
sort: MessageHistoryOrderBy;
|
|
640
|
+
messageType: GetMessageHistoryRequest_MessageType;
|
|
641
|
+
checkForMessages: boolean;
|
|
642
|
+
};
|
|
643
|
+
export type MessageHistoryItemMetric = {
|
|
644
|
+
recipients: number;
|
|
645
|
+
opened: number;
|
|
646
|
+
ctr: number;
|
|
647
|
+
errors: number;
|
|
648
|
+
};
|
|
649
|
+
export type MessageHistoryItem = {
|
|
650
|
+
messageId: number;
|
|
651
|
+
messageCode: string;
|
|
652
|
+
title: string;
|
|
653
|
+
content: string;
|
|
654
|
+
sendFrom: string;
|
|
655
|
+
createdAt: string;
|
|
656
|
+
status: MessageStatus;
|
|
657
|
+
metrics: MessageHistoryItemMetric;
|
|
658
|
+
createdVia: pushwoosh_statistics_types_Source;
|
|
659
|
+
campaignCode: string;
|
|
660
|
+
segments: string;
|
|
661
|
+
platforms: number[];
|
|
662
|
+
sentDate: string;
|
|
663
|
+
ignoreUserTimezone: boolean;
|
|
664
|
+
/** deprecated */
|
|
665
|
+
abTestId: number;
|
|
666
|
+
timezone: string;
|
|
667
|
+
isChild: boolean;
|
|
668
|
+
};
|
|
669
|
+
export type GetMessageHistoryResponse = {
|
|
670
|
+
total: number;
|
|
671
|
+
items: MessageHistoryItem[];
|
|
672
|
+
hasAnyMessages: boolean;
|
|
673
|
+
};
|
|
674
|
+
/** GetAccountTotalStatisticsRequest represents a request for account-level statistics */
|
|
675
|
+
export type GetAccountTotalStatisticsRequest = {
|
|
676
|
+
/** List of account IDs */
|
|
677
|
+
accountIds: number[];
|
|
678
|
+
/** Start timestamp */
|
|
679
|
+
from: Date;
|
|
680
|
+
/** End timestamp */
|
|
681
|
+
to: Date;
|
|
682
|
+
};
|
|
683
|
+
export type GetAccountTotalStatisticsItem = {
|
|
684
|
+
accountId: number;
|
|
685
|
+
mau: number;
|
|
686
|
+
emailSends: number;
|
|
687
|
+
pushSend: number;
|
|
688
|
+
date: string;
|
|
689
|
+
};
|
|
690
|
+
export type GetAccountTotalStatisticsResponse = {
|
|
691
|
+
items: GetAccountTotalStatisticsItem[];
|
|
692
|
+
};
|
|
693
|
+
/** GetMessageLogRequest represents a request for message tracking logs */
|
|
694
|
+
export type GetMessageLogRequest = {
|
|
695
|
+
/** Token for pagination */
|
|
696
|
+
paginationToken: string;
|
|
697
|
+
/** Filter by message ID */
|
|
698
|
+
messageId: number;
|
|
699
|
+
/** Filter by message code */
|
|
700
|
+
messageCode: string;
|
|
701
|
+
/** Filter by campaign code */
|
|
702
|
+
campaignCode: string;
|
|
703
|
+
/** Filter by hardware ID */
|
|
704
|
+
hwid: string;
|
|
705
|
+
/** Start date for filtering */
|
|
706
|
+
dateFrom: string;
|
|
707
|
+
/** End date for filtering */
|
|
708
|
+
dateTo: string;
|
|
709
|
+
/** Maximum number of results */
|
|
710
|
+
limit: number;
|
|
711
|
+
/** Filter by user ID */
|
|
712
|
+
userId: string;
|
|
713
|
+
/** Filter by application code */
|
|
714
|
+
applicationCode: string;
|
|
715
|
+
/** Filter by action types */
|
|
716
|
+
actions: string[];
|
|
717
|
+
/** Filter by platforms */
|
|
718
|
+
platforms: string[];
|
|
719
|
+
};
|
|
720
|
+
export type TrackingLogStatistic = {
|
|
721
|
+
timestamp: string;
|
|
722
|
+
messageId: string;
|
|
723
|
+
messageCode: string;
|
|
724
|
+
campaignCode: string;
|
|
725
|
+
hwid: string;
|
|
726
|
+
platform: string;
|
|
727
|
+
action: string;
|
|
728
|
+
pushAlertsEnabled: string;
|
|
729
|
+
status: string;
|
|
730
|
+
errorReason: string;
|
|
731
|
+
userId: string;
|
|
732
|
+
applicationCode: string;
|
|
733
|
+
payload?: string;
|
|
734
|
+
};
|
|
735
|
+
export type GetMessageLogResponse = {
|
|
736
|
+
paginationToken: string;
|
|
737
|
+
data: TrackingLogStatistic[];
|
|
738
|
+
};
|
|
739
|
+
/** EmailLinkFilter contains filters for email link statistics */
|
|
740
|
+
export type EmailLinkFilter = {
|
|
741
|
+
/** Date range filter */
|
|
742
|
+
dateRange: pushwoosh_statistics_types_DateRange;
|
|
743
|
+
/** Filter by campaign */
|
|
744
|
+
campaign: string;
|
|
745
|
+
/** Filter by application */
|
|
746
|
+
application: string;
|
|
747
|
+
/** Filter by message IDs */
|
|
748
|
+
messagesIds: number[];
|
|
749
|
+
/** Filter by message codes */
|
|
750
|
+
messagesCodes: string[];
|
|
751
|
+
/** Filter by link template */
|
|
752
|
+
linkTemplate: string;
|
|
753
|
+
/** Filter by email template */
|
|
754
|
+
template: string;
|
|
755
|
+
/** Filter by email content code */
|
|
756
|
+
emailContentCode: string;
|
|
757
|
+
};
|
|
758
|
+
export type EmailLinkParams = {
|
|
759
|
+
withFullLinks: boolean;
|
|
760
|
+
};
|
|
761
|
+
export type GetEmailLinkStatisticsRequest = {
|
|
762
|
+
filters: EmailLinkFilter;
|
|
763
|
+
params: EmailLinkParams;
|
|
764
|
+
};
|
|
765
|
+
export type FullLinkStatistics = {
|
|
766
|
+
fullLink: string;
|
|
767
|
+
clicks: number;
|
|
768
|
+
};
|
|
769
|
+
export type GetEmailLinkStatisticsResponseItem = {
|
|
770
|
+
template: string;
|
|
771
|
+
link: string;
|
|
772
|
+
title: string;
|
|
773
|
+
clicks: number;
|
|
774
|
+
fullLinks: FullLinkStatistics[];
|
|
775
|
+
};
|
|
776
|
+
export type GetEmailLinkStatisticsResponse = {
|
|
777
|
+
items: GetEmailLinkStatisticsResponseItem[];
|
|
778
|
+
};
|
|
779
|
+
/** GetEmailLinkHWIDsRequest represents a request for devices that clicked email links */
|
|
780
|
+
export type GetEmailLinkHWIDsRequest = {
|
|
781
|
+
/** Filters to apply */
|
|
782
|
+
filters: EmailLinkFilter;
|
|
783
|
+
/** Results per page */
|
|
784
|
+
perPage: number;
|
|
785
|
+
/** Page number */
|
|
786
|
+
page: number;
|
|
787
|
+
};
|
|
788
|
+
export type GetEmailLinkHWIDsResponseItem = {
|
|
789
|
+
timestamp: string;
|
|
790
|
+
link: string;
|
|
791
|
+
hwid: string;
|
|
792
|
+
};
|
|
793
|
+
export type GetEmailLinkHWIDsResponse = {
|
|
794
|
+
total: number;
|
|
795
|
+
items: GetEmailLinkHWIDsResponseItem[];
|
|
796
|
+
};
|