@amohamud23/notihub 1.0.21 → 1.0.23

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.
Files changed (2) hide show
  1. package/index.d.ts +27 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -94,7 +94,14 @@ export interface INotiHubStats {
94
94
  entityId: INotiHubCustomer;
95
95
  subscription: number;
96
96
  notifications: number;
97
- impressions: number;
97
+ views: number;
98
+ }
99
+
100
+ export interface INotiHubStatsHistory {
101
+ entityId: string;
102
+ type: "MONTH" | "YEAR";
103
+ subscription: number;
104
+ notifications: number;
98
105
  views: number;
99
106
  }
100
107
 
@@ -144,3 +151,22 @@ export interface INotiHubUserView {
144
151
  notificationId;
145
152
  createdAt: string;
146
153
  }
154
+
155
+ export interface NotiHubTypes {
156
+ INotiHubUserView: INotiHubUserView;
157
+ IUserSubscribeNotifier: IUserSubscribeNotifier;
158
+ IUserSubscription: IUserSubscription;
159
+ IUserSubscription: IUserSubscription;
160
+ INotiHubUser: INotiHubUser;
161
+ INotiTypeStats: INotiTypeStats;
162
+ INotiHubImage: INotiHubImage;
163
+ INotiHubSubscription: INotiHubSubscription;
164
+ INotiHubNotificationStats: INotiHubNotificationStats;
165
+ INotiHubNotification: INotiHubNotification;
166
+ INotiHubCustomer: INotiHubCustomer;
167
+ INotiHubCustomerMinified: INotiHubCustomerMinified;
168
+ }
169
+
170
+ declare const notihub: NotiHubTypes;
171
+
172
+ export default notihub;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Notihub Package",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.d.ts",