@d19n/youfibre-odin-sdk 1.0.124 → 1.0.125-beta.0
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.
|
@@ -4,12 +4,14 @@ export declare enum PushNotificationEntityTypes {
|
|
|
4
4
|
DEFAULT = "DEFAULT"
|
|
5
5
|
}
|
|
6
6
|
export declare enum PushNotificationPropertyKeys {
|
|
7
|
+
Seen = "Seen",
|
|
7
8
|
DeviceToken = "DeviceToken",
|
|
8
9
|
Message = "Message",
|
|
9
10
|
Title = "Title",
|
|
10
11
|
UserId = "UserId"
|
|
11
12
|
}
|
|
12
13
|
export interface PushNotificationProperties {
|
|
14
|
+
Seen?: boolean;
|
|
13
15
|
DeviceToken?: string;
|
|
14
16
|
Message?: string;
|
|
15
17
|
Title?: string;
|
|
@@ -8,6 +8,7 @@ var PushNotificationEntityTypes;
|
|
|
8
8
|
})(PushNotificationEntityTypes = exports.PushNotificationEntityTypes || (exports.PushNotificationEntityTypes = {}));
|
|
9
9
|
var PushNotificationPropertyKeys;
|
|
10
10
|
(function (PushNotificationPropertyKeys) {
|
|
11
|
+
PushNotificationPropertyKeys["Seen"] = "Seen";
|
|
11
12
|
PushNotificationPropertyKeys["DeviceToken"] = "DeviceToken";
|
|
12
13
|
PushNotificationPropertyKeys["Message"] = "Message";
|
|
13
14
|
PushNotificationPropertyKeys["Title"] = "Title";
|
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ export enum PushNotificationEntityTypes {
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
export enum PushNotificationPropertyKeys {
|
|
16
|
+
Seen = 'Seen',
|
|
16
17
|
DeviceToken = 'DeviceToken',
|
|
17
18
|
Message = 'Message',
|
|
18
19
|
Title = 'Title',
|
|
@@ -21,6 +22,8 @@ export enum PushNotificationPropertyKeys {
|
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
export interface PushNotificationProperties {
|
|
25
|
+
//Customer saw the notification
|
|
26
|
+
Seen?: boolean
|
|
24
27
|
//Personal device token
|
|
25
28
|
DeviceToken?: string
|
|
26
29
|
//Body of the message
|