@veltdev/sdk-staging 4.0.0-beta.99 → 4.0.1

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,51 +0,0 @@
1
- import { AnnotationProperty } from "./annotation-property.data.model";
2
- import { CursorPosition } from "./cursor-position.data.model";
3
- import { Location } from "./location.model";
4
- import { PageInfo } from "./page-info.model";
5
- import { TargetElement } from "./target-element.data.model";
6
- import { User } from "./user.data.model";
7
- export declare class ArrowAnnotation {
8
- /**
9
- * Unique identifier for the arrow pin annotation.
10
- *
11
- * Auto generated.
12
- */
13
- annotationId: string;
14
- /**
15
- * The user who created this arrow pin annotation.
16
- *
17
- */
18
- from: User;
19
- /**
20
- * Color used for the arrow pin annotation.
21
- *
22
- */
23
- color?: string;
24
- /**
25
- * Timestamp when the arrow annotation was last updated.
26
- *
27
- * Auto generated.
28
- */
29
- lastUpdated?: any;
30
- /**
31
- * Target element of attached annotation.
32
- */
33
- targetElement?: TargetElement | null;
34
- position?: CursorPosition | null;
35
- /**
36
- * Unique location id generated from provided location
37
- */
38
- locationId?: number | null;
39
- /**
40
- * Set location to identify user on sub document
41
- */
42
- location?: Location | null;
43
- type?: string;
44
- props: AnnotationProperty;
45
- /**
46
- * To maintain index of current annotation in available list of annotations
47
- * It will start from 1, so no need to add 1 in that.
48
- */
49
- annotationIndex?: number;
50
- pageInfo?: PageInfo;
51
- }
@@ -1,40 +0,0 @@
1
- export declare class FolderMetadata {
2
- folderId?: string;
3
- /**
4
- * Velt folder id
5
- */
6
- veltFolderId?: string;
7
- /**
8
- * Parent folder id
9
- */
10
- parentFolderId?: string;
11
- /**
12
- * Velt parent folder id
13
- */
14
- veltParentFolderId?: string;
15
- /**
16
- * Created at
17
- */
18
- createdAt?: number;
19
- /**
20
- * Last updated
21
- */
22
- lastUpdated?: number;
23
- /**
24
- * API key
25
- */
26
- apiKey?: string;
27
- /**
28
- * Organization id
29
- */
30
- organizationId?: string;
31
- /**
32
- * Client organization id
33
- */
34
- clientOrganizationId?: string;
35
- /**
36
- * Folder name
37
- */
38
- folderName?: string;
39
- [key: string]: any;
40
- }
@@ -1,61 +0,0 @@
1
- import { BaseMetadata } from "./base-metadata.data.model";
2
- import { CommentAnnotation, GhostComment, InlineCommentSectionConfig } from "./comment-annotation.data.model";
3
- import { CursorPosition } from "./cursor-position.data.model";
4
- import { Location } from "./location.model";
5
- import { TargetElement } from "./target-element.data.model";
6
- import { TargetTextRange } from "./target-text-range.data.model";
7
- import { User } from "./user.data.model";
8
- export declare class MultiThreadCommentAnnotation {
9
- /**
10
- * The id of the annotation.
11
- */
12
- annotationId: string;
13
- /**
14
- * The id of the area annotation.
15
- */
16
- areaAnnotationId?: string;
17
- /**
18
- * The target element of the annotation.
19
- */
20
- targetElement?: TargetElement | null;
21
- /**
22
- * The id of the target element.
23
- */
24
- targetElementId?: string | null;
25
- /**
26
- * Selected text range of comment annotation
27
- */
28
- targetTextRange?: TargetTextRange | null;
29
- /**
30
- * The id of the target inline comment element.
31
- */
32
- targetInlineCommentElementId?: string;
33
- /**
34
- * The inline comment section config.
35
- */
36
- inlineCommentSectionConfig?: InlineCommentSectionConfig;
37
- commentAnnotations?: {
38
- [commentAnnotationId: string]: boolean;
39
- };
40
- commentAnnotationsMap?: {
41
- [commentAnnotationId: string]: CommentAnnotation;
42
- };
43
- /**
44
- * Unique location id generated from provided location
45
- */
46
- locationId?: number | null;
47
- /**
48
- * Set location to identify user on sub document
49
- */
50
- location?: Location | null;
51
- position?: CursorPosition | null;
52
- ghostComment?: GhostComment | null;
53
- from: User;
54
- type: string;
55
- isDraft?: boolean;
56
- sourceId?: string;
57
- metadata?: MultiThreadMetadata;
58
- }
59
- export declare class MultiThreadMetadata extends BaseMetadata {
60
- [key: string]: any;
61
- }
@@ -1,16 +0,0 @@
1
- import { RecorderEventTypes } from "../../utils/enums";
2
- export interface TranscriptionDoneEvent {
3
- transcription: string;
4
- id?: string;
5
- tag?: string;
6
- type?: string;
7
- thumbnailUrl?: string;
8
- thumbnailWithPlayIconUrl?: string;
9
- videoUrl?: string;
10
- audioUrl?: string;
11
- videoPlayerUrl?: string;
12
- getThumbnailTag?: (url?: string) => string;
13
- }
14
- export type RecorderEventTypesMap = {
15
- [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
16
- };
@@ -1,5 +0,0 @@
1
- import { User } from "./user.data.model";
2
- export interface UserDataProvider {
3
- getUsers(userIds: string[]): Promise<Record<string, User>>;
4
- resolveTimeout?: number;
5
- }