@veltdev/sdk 1.0.181 → 2.0.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.
@@ -0,0 +1,27 @@
1
+ import { DocumentMetadata } from "./document-metadata.model";
2
+ import { PageInfo } from "./page-info.model";
3
+ import { User } from "./user.data.model";
4
+ export declare class OrganizationMetadata {
5
+ /**
6
+ * Unique organization id generated from client organization id
7
+ */
8
+ organizationId?: string;
9
+ /**
10
+ * Document id provided by client
11
+ */
12
+ clientOrganizationId?: string | number;
13
+ /**
14
+ * Page metadata
15
+ */
16
+ pageInfo?: PageInfo;
17
+ /**
18
+ *
19
+ */
20
+ documents?: {
21
+ [documentId: number]: DocumentMetadata;
22
+ };
23
+ /**
24
+ * Organization creator
25
+ */
26
+ creator?: User;
27
+ }
@@ -0,0 +1,12 @@
1
+ import { OrganizationUserGroup } from "./organization-groups.data.model";
2
+ import { OrganizationMetadata } from "./organization-metadata.model";
3
+ export declare class UserOrganization {
4
+ /**
5
+ * User organization metadata.
6
+ */
7
+ metadata?: OrganizationMetadata;
8
+ /**
9
+ * User organization groups.
10
+ */
11
+ groups?: OrganizationUserGroup[];
12
+ }
@@ -58,9 +58,11 @@ export declare enum Features {
58
58
  TAG = "tag",
59
59
  RECORDER = "recorder",
60
60
  REWRITER = "rewriter",
61
- LIVE_SELECTION = "liveSelection"
61
+ LIVE_SELECTION = "liveSelection",
62
+ NOTIFICATION = "notification",
63
+ REACTION = "reaction"
62
64
  }
63
- export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection';
65
+ export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction';
64
66
  export declare enum DeviceType {
65
67
  DESKTOP = "Desktop",
66
68
  MOBILE = "Mobile",
package/models.d.ts CHANGED
@@ -51,3 +51,5 @@ export * from './app/models/data/autocomplete.data.model';
51
51
  export * from './app/models/data/reaction-annotation.data.model';
52
52
  export * from './app/models/data/reaction.data.model';
53
53
  export * from './app/models/data/organization-groups.data.model';
54
+ export * from './app/models/data/organization-metadata.model';
55
+ export * from './app/models/data/user-organization.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.181",
3
+ "version": "2.0.0",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {