@trii/types 2.10.372 → 2.10.374
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type QueueType = 'Conversation' | 'Message' | 'MessageStatus' | 'MessageAckStatus' | 'Post' | 'PostComment' | 'PostResponse' | 'Reaction' | 'ChannelML' | 'Template' | 'Email';
|
|
1
|
+
export declare type QueueType = 'Conversation' | 'Message' | 'MessageStatus' | 'MessageAckStatus' | 'Post' | 'PostComment' | 'PostResponse' | 'Reaction' | 'ChannelML' | 'Template' | 'Email' | 'ProfilePic';
|
|
2
2
|
export declare type QueueAction = 'add' | 'remove' | 'edited' | 'react' | 'unreact' | 'Reject' | 'Bounce' | 'Complaint';
|
|
3
3
|
export declare type EventQueue = {
|
|
4
4
|
type: QueueType;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ChannelType } from "../Common/Channels/ChannelType";
|
|
2
|
+
import { MessageAck } from "../Common/Messages/Message";
|
|
3
|
+
export interface PerformanceDetail {
|
|
4
|
+
name: string;
|
|
5
|
+
quantity: number;
|
|
6
|
+
}
|
|
7
|
+
export interface Performance {
|
|
8
|
+
total: number;
|
|
9
|
+
detail: PerformanceDetail[];
|
|
10
|
+
}
|
|
11
|
+
export interface PerformanceDashboard {
|
|
12
|
+
openingRate: Performance;
|
|
13
|
+
clickRate: Performance;
|
|
14
|
+
shared: Performance;
|
|
15
|
+
unsubscriptions: Performance;
|
|
16
|
+
complaints: Performance;
|
|
17
|
+
}
|
|
18
|
+
export interface ReportingPanelDashboard {
|
|
19
|
+
totalCampaigns: number;
|
|
20
|
+
shipments: number;
|
|
21
|
+
totalOpenings: number;
|
|
22
|
+
expired: number;
|
|
23
|
+
totalShared: number;
|
|
24
|
+
totalUnsubscriptions: number;
|
|
25
|
+
totalComplaints: number;
|
|
26
|
+
totalBounces: number;
|
|
27
|
+
}
|
|
28
|
+
export interface RecipientsDashboard {
|
|
29
|
+
address: string;
|
|
30
|
+
name: string;
|
|
31
|
+
status: MessageAck;
|
|
32
|
+
type: ChannelType;
|
|
33
|
+
}
|
|
34
|
+
export interface DeliveriesDashboard {
|
|
35
|
+
withoutBounces: number;
|
|
36
|
+
repeatedExcluded: number;
|
|
37
|
+
pendings: number;
|
|
38
|
+
bounces: number;
|
|
39
|
+
}
|
|
40
|
+
export interface ActivityOverTimeDashboard {
|
|
41
|
+
lastThreeMonths: ActivityOverTimeDetail[];
|
|
42
|
+
lastNinetyDays: ActivityOverTimeDetail[];
|
|
43
|
+
}
|
|
44
|
+
export interface ActivityOverTimeDetail {
|
|
45
|
+
name?: string;
|
|
46
|
+
date?: Date;
|
|
47
|
+
quantity: number;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/Marketing/index.js
CHANGED