@veltdev/sdk-staging 4.0.0-beta.98 → 4.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.
- package/app/client/snippyly.model.d.ts +0 -14
- package/app/models/data/base-metadata.data.model.d.ts +0 -2
- package/app/models/data/comment-actions.data.model.d.ts +5 -24
- package/app/models/data/comment-events.data.model.d.ts +9 -19
- package/app/models/data/config.data.model.d.ts +0 -1
- package/app/models/data/document-metadata.model.d.ts +0 -8
- package/app/models/data/event-metadata.data.model.d.ts +3 -3
- package/app/models/data/notification.model.d.ts +0 -16
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -6
- package/app/models/element/comment-element.model.d.ts +28 -48
- package/app/models/element/recorder-element.model.d.ts +1 -22
- package/app/utils/constants.d.ts +0 -4
- package/app/utils/enums.d.ts +0 -4
- package/models.d.ts +0 -5
- package/package.json +1 -1
- package/velt.js +2 -2
- package/app/models/data/arrow-annotation.data.model.d.ts +0 -51
- package/app/models/data/document.data.model.d.ts +0 -27
- package/app/models/data/folder-metadata.model.d.ts +0 -40
- package/app/models/data/multi-thread.data.model.d.ts +0 -61
- package/app/models/data/recorder-events.data.model.d.ts +0 -16
- package/app/models/data/user-resolver.data.model.d.ts +0 -5
|
@@ -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,27 +0,0 @@
|
|
|
1
|
-
import { DocumentMetadata } from "./document-metadata.model";
|
|
2
|
-
export interface Document {
|
|
3
|
-
id: string;
|
|
4
|
-
metadata?: DocumentMetadata;
|
|
5
|
-
}
|
|
6
|
-
export interface SetDocumentsRequestOptions {
|
|
7
|
-
organizationId?: string;
|
|
8
|
-
folderId?: string;
|
|
9
|
-
allDocuments?: boolean;
|
|
10
|
-
locationId?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface FetchDocumentsRequest {
|
|
13
|
-
organizationId?: string;
|
|
14
|
-
documentIds?: string[];
|
|
15
|
-
folderId?: string;
|
|
16
|
-
allDocuments?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface FetchFoldersRequest {
|
|
19
|
-
organizationId?: string;
|
|
20
|
-
folderId?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface FolderConfig {
|
|
23
|
-
folderId?: string;
|
|
24
|
-
allDocuments?: boolean;
|
|
25
|
-
locationId?: string;
|
|
26
|
-
veltFolderId?: string;
|
|
27
|
-
}
|
|
@@ -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
|
-
};
|