nb-js-client 1.0.11 → 1.0.12

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/dist/index.d.ts CHANGED
@@ -901,17 +901,17 @@ interface ArchiveEndPayload {
901
901
  }
902
902
 
903
903
  interface UserNotification {
904
+ action: NotificationAction;
904
905
  id: number;
905
906
  create_date: string;
906
907
  update_date: string;
907
908
  entity_type: NotificationEntityType;
908
- action: NotificationAction;
909
909
  title: string;
910
910
  msg: string;
911
- transition: boolean;
912
911
  read: boolean;
913
912
  style: NotificationStyle;
914
913
  payload: NotificationPayload;
914
+ service_name?: string;
915
915
  from_user_id?: number;
916
916
  owner?: UserLabel;
917
917
  }
@@ -3,17 +3,17 @@ import { PermissionType } from './divide';
3
3
  import { StorageElementType } from './storage';
4
4
  import { UserLabel } from './user';
5
5
  export interface UserNotification {
6
+ action: NotificationAction;
6
7
  id: number;
7
8
  create_date: string;
8
9
  update_date: string;
9
10
  entity_type: NotificationEntityType;
10
- action: NotificationAction;
11
11
  title: string;
12
12
  msg: string;
13
- transition: boolean;
14
13
  read: boolean;
15
14
  style: NotificationStyle;
16
15
  payload: NotificationPayload;
16
+ service_name?: string;
17
17
  from_user_id?: number;
18
18
  owner?: UserLabel;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nb-js-client",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "main": "dist/bundle.cjs.js",
5
5
  "module": "dist/bundle.esm.js",
6
6
  "files": [