@veltdev/sdk 1.0.104 → 1.0.105

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.
@@ -1,5 +1,6 @@
1
1
  import { LocationMetadata } from "./location-metadata.model";
2
2
  import { PageInfo } from "./page-info.model";
3
+ import { User } from "./user.data.model";
3
4
  export declare class DocumentMetadata {
4
5
  /**
5
6
  * Unique document id generated from client document id
@@ -19,4 +20,8 @@ export declare class DocumentMetadata {
19
20
  locations?: {
20
21
  [locationId: number]: LocationMetadata;
21
22
  };
23
+ /**
24
+ * Document creator
25
+ */
26
+ creator?: User;
22
27
  }
@@ -64,4 +64,7 @@ export declare class Notification {
64
64
  };
65
65
  };
66
66
  };
67
+ documentViews?: {
68
+ emails: string[];
69
+ };
67
70
  }
@@ -524,6 +524,19 @@ export declare class CommentElement {
524
524
  * To disable option to show device indicator on comment pins for the pin added from different devices.
525
525
  */
526
526
  public disableDeviceIndicatorOnCommentPins: () => void;
527
+
528
+ /**
529
+ * To get xpath of element by comment annotation id
530
+ * @param annotationId Comment annotation id
531
+ * @returns xpath of element
532
+ */
533
+ public getElementRefByAnnotationId: (annotationId: string) => { xpath: string } | undefined;
534
+
535
+ /**
536
+ * To scroll to comment by annotation id
537
+ * @param annotationId Comment annotation id
538
+ */
539
+ public scrollToCommentByAnnotationId: (annotationId: string) => void;
527
540
  constructor();
528
541
  /**
529
542
  * Subscribe to comments on the current document.
@@ -1041,4 +1054,17 @@ export declare class CommentElement {
1041
1054
  * To disable option to show device indicator on comment pins for the pin added from different devices.
1042
1055
  */
1043
1056
  private _disableDeviceIndicatorOnCommentPins;
1057
+
1058
+ /**
1059
+ * To get xpath of element by comment annotation id
1060
+ * @param annotationId Comment annotation id
1061
+ * @returns xpath of element
1062
+ */
1063
+ private _getElementRefByAnnotationId;
1064
+
1065
+ /**
1066
+ * To scroll to comment by annotation id
1067
+ * @param annotationId Comment annotation id
1068
+ */
1069
+ private _scrollToCommentByAnnotationId;
1044
1070
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.104",
3
+ "version": "1.0.105",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {