@extrahorizon/javascript-sdk 8.7.0-dev-100-fdabf51 → 8.7.0-dev-101-9e49b6c
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/build/index.cjs.js
CHANGED
package/build/index.mjs
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { AffectedRecords, ObjectId, OptionsBase, OptionsWithRql, PagedResultWithPager } from '../../types';
|
|
2
2
|
export interface NotificationV2UserUpsert {
|
|
3
|
+
/** @deprecated We recommend using `devices` instead */
|
|
3
4
|
fcmToken: string;
|
|
4
5
|
}
|
|
5
6
|
export interface NotificationV2User extends NotificationV2UserUpsert {
|
|
6
7
|
id: ObjectId;
|
|
8
|
+
devices?: NotificationV2UserDevice[];
|
|
7
9
|
creationTimestamp: Date;
|
|
8
10
|
updateTimestamp: Date;
|
|
9
11
|
}
|
|
10
12
|
export interface NotificationV2UserDeviceUpsert {
|
|
11
|
-
description?: string;
|
|
12
|
-
fcmToken?: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
fcmToken?: string | null;
|
|
13
15
|
}
|
|
14
16
|
export interface NotificationV2UserDevice {
|
|
15
17
|
name: string;
|
|
@@ -72,6 +74,8 @@ export interface NotificationV2UserService {
|
|
|
72
74
|
*
|
|
73
75
|
* If the user does not have user settings, it will be created.
|
|
74
76
|
*
|
|
77
|
+
* Setting `null` for `fcmToken` or `description` will remove the configured value.
|
|
78
|
+
*
|
|
75
79
|
* ## Access via permissions
|
|
76
80
|
* Permission | Scopes | Effect
|
|
77
81
|
* - | - | -
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.7.0-dev-
|
|
1
|
+
export declare const version = "8.7.0-dev-101-9e49b6c";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.7.0-dev-
|
|
3
|
+
"version": "8.7.0-dev-101-9e49b6c",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|