@veltdev/types 1.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.
- package/app/client/snippyly.model.d.ts +141 -0
- package/app/client/velt.model.d.ts +5 -0
- package/app/models/data/annotation-property.data.model.d.ts +30 -0
- package/app/models/data/area-annotation.data.model.d.ts +74 -0
- package/app/models/data/attachment.model.d.ts +40 -0
- package/app/models/data/chatgpt.data.model.d.ts +10 -0
- package/app/models/data/comment-annotation.data.model.d.ts +161 -0
- package/app/models/data/comment.data.model.d.ts +71 -0
- package/app/models/data/config.data.model.d.ts +45 -0
- package/app/models/data/cursor-position.data.model.d.ts +10 -0
- package/app/models/data/cursor-user.data.model.d.ts +118 -0
- package/app/models/data/custom-filter.data.model.d.ts +26 -0
- package/app/models/data/device-info.model.d.ts +75 -0
- package/app/models/data/document-iam.data.model.d.ts +14 -0
- package/app/models/data/document-metadata.model.d.ts +22 -0
- package/app/models/data/document-paths.data.model.d.ts +94 -0
- package/app/models/data/document-user.data.model.d.ts +33 -0
- package/app/models/data/flock-options.model.d.ts +7 -0
- package/app/models/data/huddle.model.d.ts +17 -0
- package/app/models/data/live-state-data-map.data.model.d.ts +7 -0
- package/app/models/data/live-state-data.data.model.d.ts +11 -0
- package/app/models/data/localstorage.data.model.d.ts +4 -0
- package/app/models/data/location-metadata.model.d.ts +16 -0
- package/app/models/data/location.model.d.ts +15 -0
- package/app/models/data/media-preview-config.data.model.d.ts +14 -0
- package/app/models/data/notification.model.d.ts +41 -0
- package/app/models/data/page-info.model.d.ts +46 -0
- package/app/models/data/permission.data.model.d.ts +14 -0
- package/app/models/data/presence-user.data.model.d.ts +79 -0
- package/app/models/data/recorder-annotation.data.model.d.ts +120 -0
- package/app/models/data/recorder.model.d.ts +74 -0
- package/app/models/data/rewriter-annotation.data.model.d.ts +62 -0
- package/app/models/data/screen-size.data.model.d.ts +14 -0
- package/app/models/data/selection.model.d.ts +22 -0
- package/app/models/data/tag-annotation.data.model.d.ts +113 -0
- package/app/models/data/target-element.data.model.d.ts +18 -0
- package/app/models/data/target-text-range.data.model.d.ts +14 -0
- package/app/models/data/toast.data.model.d.ts +19 -0
- package/app/models/data/transcription.data.model.d.ts +35 -0
- package/app/models/data/user-contact-us.data.model.d.ts +3 -0
- package/app/models/data/user-contact.data.model.d.ts +29 -0
- package/app/models/data/user-feedback.data.model.d.ts +3 -0
- package/app/models/data/user-iam.data.model.d.ts +33 -0
- package/app/models/data/user-report-bug.data.model.d.ts +3 -0
- package/app/models/data/user-request.data.model.d.ts +37 -0
- package/app/models/data/user-role.data.model.d.ts +19 -0
- package/app/models/data/user.data.model.d.ts +60 -0
- package/app/models/data/workspace-iam.data.model.d.ts +14 -0
- package/app/models/element/area-element.model.d.ts +51 -0
- package/app/models/element/comment-element.model.d.ts +808 -0
- package/app/models/element/contact-element.model.d.ts +13 -0
- package/app/models/element/cursor-element.model.d.ts +60 -0
- package/app/models/element/presence-element.model.d.ts +53 -0
- package/app/models/element/recorder-element.model.d.ts +15 -0
- package/app/models/element/rewriter-element.model.d.ts +23 -0
- package/app/models/element/selection-element.model.d.ts +23 -0
- package/app/models/element/tag-element.model.d.ts +68 -0
- package/app/utils/constants.d.ts +349 -0
- package/app/utils/enums.d.ts +95 -0
- package/models.d.ts +44 -0
- package/package.json +12 -0
- package/types.d.ts +5 -0
- package/velt.d.ts +20 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Attachment } from "./attachment.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 { Transcription } from "./transcription.data.model";
|
|
7
|
+
import { User } from "./user.data.model";
|
|
8
|
+
export declare class RecorderAnnotation {
|
|
9
|
+
/**
|
|
10
|
+
* Unique identifier for the recorder pin annotation.
|
|
11
|
+
*
|
|
12
|
+
* Auto generated.
|
|
13
|
+
*/
|
|
14
|
+
annotationId: string;
|
|
15
|
+
/**
|
|
16
|
+
* The user who created this recorder pin annotation.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
from: User;
|
|
20
|
+
/**
|
|
21
|
+
* Color used for the recorder pin annotation.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp when the recorder annotation was last updated.
|
|
27
|
+
*
|
|
28
|
+
* Auto generated.
|
|
29
|
+
*/
|
|
30
|
+
lastUpdated?: any;
|
|
31
|
+
/**
|
|
32
|
+
* Recorder annotation's position on the X axis.
|
|
33
|
+
*
|
|
34
|
+
* Auto generated.
|
|
35
|
+
*/
|
|
36
|
+
positionX?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Recorder annotation's position on the Y axis.
|
|
39
|
+
*
|
|
40
|
+
* Auto generated.
|
|
41
|
+
*/
|
|
42
|
+
positionY?: number;
|
|
43
|
+
/**
|
|
44
|
+
* User’s screen width.
|
|
45
|
+
*
|
|
46
|
+
* Auto generated.
|
|
47
|
+
*/
|
|
48
|
+
screenWidth?: number;
|
|
49
|
+
/**
|
|
50
|
+
* User’s screen height.
|
|
51
|
+
*
|
|
52
|
+
* Auto generated.
|
|
53
|
+
*/
|
|
54
|
+
screenHeight?: number;
|
|
55
|
+
/**
|
|
56
|
+
* User’s screen scroll height.
|
|
57
|
+
*
|
|
58
|
+
* Auto generated.
|
|
59
|
+
*/
|
|
60
|
+
screenScrollHeight?: number;
|
|
61
|
+
/**
|
|
62
|
+
* User’s screen scroll height.
|
|
63
|
+
*
|
|
64
|
+
* Auto generated.
|
|
65
|
+
*/
|
|
66
|
+
screenScrollTop?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Xpath of the element that was clicked.
|
|
69
|
+
*
|
|
70
|
+
* Auto generated.
|
|
71
|
+
*/
|
|
72
|
+
recorderedElementPath?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Xpath of the element that was clicked.
|
|
75
|
+
*
|
|
76
|
+
* Auto generated.
|
|
77
|
+
*/
|
|
78
|
+
recorderedElementRect?: any;
|
|
79
|
+
targetElement?: TargetElement | null;
|
|
80
|
+
position?: CursorPosition | null;
|
|
81
|
+
/**
|
|
82
|
+
* Unique location id generated from prvoided location
|
|
83
|
+
*/
|
|
84
|
+
locationId?: number | null;
|
|
85
|
+
/**
|
|
86
|
+
* Set location to identify user on sub document
|
|
87
|
+
*/
|
|
88
|
+
location?: Location | null;
|
|
89
|
+
type?: string;
|
|
90
|
+
recordingType: string;
|
|
91
|
+
mode: 'floating' | 'thread';
|
|
92
|
+
approved?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Attachment object of recorded media
|
|
95
|
+
* @deprecated Set attachment in attachments array
|
|
96
|
+
*/
|
|
97
|
+
attachment: Attachment | null;
|
|
98
|
+
/**
|
|
99
|
+
* List of attachments for the annotation.
|
|
100
|
+
* It will be added when recording is converted to other formats.
|
|
101
|
+
*/
|
|
102
|
+
attachments: Attachment[];
|
|
103
|
+
/**
|
|
104
|
+
* To maintain index of current annotation in available list of annotations
|
|
105
|
+
* It will start from 1, so no need to add 1 in that.
|
|
106
|
+
*/
|
|
107
|
+
annotationIndex?: number;
|
|
108
|
+
pageInfo?: PageInfo;
|
|
109
|
+
/**
|
|
110
|
+
* Recorded time in milliseconds and default (hh:mm:ss) display format
|
|
111
|
+
*/
|
|
112
|
+
recordedTime?: {
|
|
113
|
+
duration?: number;
|
|
114
|
+
display?: string;
|
|
115
|
+
} | null;
|
|
116
|
+
/**
|
|
117
|
+
* Transcription of the recorded media
|
|
118
|
+
*/
|
|
119
|
+
transcription?: Transcription;
|
|
120
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/// <reference types="dom-mediacapture-record" />
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
export declare class RecorderConfig {
|
|
4
|
+
type: {
|
|
5
|
+
audio?: boolean;
|
|
6
|
+
video?: boolean;
|
|
7
|
+
screen?: boolean;
|
|
8
|
+
};
|
|
9
|
+
recorderOptions?: MediaRecorderOptions;
|
|
10
|
+
}
|
|
11
|
+
export declare class RecorderInitData {
|
|
12
|
+
/**
|
|
13
|
+
* Media Recorder status
|
|
14
|
+
*/
|
|
15
|
+
status: Observable<string | null>;
|
|
16
|
+
/**
|
|
17
|
+
* Media Recorder stream
|
|
18
|
+
*/
|
|
19
|
+
stream?: MediaStream;
|
|
20
|
+
/**
|
|
21
|
+
* Media Recorder recorded time
|
|
22
|
+
*/
|
|
23
|
+
recordedTime: Observable<{
|
|
24
|
+
duration?: number;
|
|
25
|
+
display?: string;
|
|
26
|
+
} | null>;
|
|
27
|
+
/**
|
|
28
|
+
* Type of media recorder, possible values are 'audio', 'video' and 'screen'
|
|
29
|
+
*/
|
|
30
|
+
type: 'audio' | 'video' | 'screen';
|
|
31
|
+
/**
|
|
32
|
+
* Observable of recorded raw data.
|
|
33
|
+
*/
|
|
34
|
+
recordedRawData$: Observable<RecordedRawData | null>;
|
|
35
|
+
}
|
|
36
|
+
export declare class RecordedRawData {
|
|
37
|
+
/**
|
|
38
|
+
* Blob object of recorded data
|
|
39
|
+
*/
|
|
40
|
+
blob: Blob;
|
|
41
|
+
/**
|
|
42
|
+
* Base64 URL of recorded data
|
|
43
|
+
*/
|
|
44
|
+
url: string;
|
|
45
|
+
/**
|
|
46
|
+
* Type of recorded data, possible values are 'audio' and 'video'
|
|
47
|
+
*/
|
|
48
|
+
type: 'audio' | 'video' | 'screen';
|
|
49
|
+
/**
|
|
50
|
+
* Base64 encoded string of thumbnail image of one frame of recorded video
|
|
51
|
+
*/
|
|
52
|
+
thumbnail?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Recorded time
|
|
55
|
+
*/
|
|
56
|
+
recordedTime?: {
|
|
57
|
+
duration?: number;
|
|
58
|
+
display?: string;
|
|
59
|
+
} | null;
|
|
60
|
+
}
|
|
61
|
+
export declare class RecordedData {
|
|
62
|
+
/**
|
|
63
|
+
* Annotation ID of recorder annotation
|
|
64
|
+
*/
|
|
65
|
+
id: string;
|
|
66
|
+
/**
|
|
67
|
+
* Recorder player tag containing recorder annotation id which can be added anywhere on the DOM
|
|
68
|
+
*/
|
|
69
|
+
tag: string;
|
|
70
|
+
/**
|
|
71
|
+
* Type of recorded data, possible values are 'audio', 'video' and 'screen'
|
|
72
|
+
*/
|
|
73
|
+
type: string;
|
|
74
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Location } from "./location.model";
|
|
2
|
+
import { PageInfo } from "./page-info.model";
|
|
3
|
+
import { TargetTextRange } from "./target-text-range.data.model";
|
|
4
|
+
import { User } from "./user.data.model";
|
|
5
|
+
export declare class RewriterAnnotation {
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier for the rewriter pin annotation.
|
|
8
|
+
*
|
|
9
|
+
* Auto generated.
|
|
10
|
+
*/
|
|
11
|
+
annotationId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The user who created this rewriter pin annotation.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
from: User;
|
|
17
|
+
/**
|
|
18
|
+
* Color used for the rewriter pin annotation.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
color?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Timestamp when the rewriter annotation was last updated.
|
|
24
|
+
*
|
|
25
|
+
* Auto generated.
|
|
26
|
+
*/
|
|
27
|
+
lastUpdated?: any;
|
|
28
|
+
/**
|
|
29
|
+
* Unique document params id generated from provided document params
|
|
30
|
+
* @deprecated `documentParamsId` is deprecated and will be removed in next release, use `locationId` instead.
|
|
31
|
+
*/
|
|
32
|
+
documentParamsId?: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* Set document params to identify user on sub document
|
|
35
|
+
* @deprecated `documentParams` is deprecated and will be removed in next release, use `location` instead.
|
|
36
|
+
*/
|
|
37
|
+
documentParams?: Location | null;
|
|
38
|
+
/**
|
|
39
|
+
* Unique location id generated from provided location
|
|
40
|
+
*/
|
|
41
|
+
locationId?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Set location to identify user on sub document
|
|
44
|
+
*/
|
|
45
|
+
location?: Location | null;
|
|
46
|
+
type?: string;
|
|
47
|
+
rewriterType: 'generic' | 'copywriter';
|
|
48
|
+
/**
|
|
49
|
+
* Selected text range of rewriter annotation
|
|
50
|
+
*/
|
|
51
|
+
targetTextRange?: TargetTextRange | null;
|
|
52
|
+
/**
|
|
53
|
+
* To maintain index of current annotation in available list of annotations
|
|
54
|
+
* It will start from 1, so no need to add 1 in that.
|
|
55
|
+
*/
|
|
56
|
+
annotationIndex?: number;
|
|
57
|
+
pageInfo?: PageInfo;
|
|
58
|
+
/**
|
|
59
|
+
* Selected rewriter option
|
|
60
|
+
*/
|
|
61
|
+
selectedRewriterOption?: string;
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class ScreenSize {
|
|
2
|
+
/**
|
|
3
|
+
* User's current screen width.
|
|
4
|
+
*/
|
|
5
|
+
screenWidth: number;
|
|
6
|
+
/**
|
|
7
|
+
* User's current screen height.
|
|
8
|
+
*/
|
|
9
|
+
screenHeight: number;
|
|
10
|
+
/**
|
|
11
|
+
* User's current screen height.
|
|
12
|
+
*/
|
|
13
|
+
screenScrollHeight: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PageInfo } from "./page-info.model";
|
|
2
|
+
import { TargetTextRange } from "./target-text-range.data.model";
|
|
3
|
+
import { User } from "./user.data.model";
|
|
4
|
+
export declare class Selection {
|
|
5
|
+
/**
|
|
6
|
+
* User focused on specific element or text
|
|
7
|
+
*/
|
|
8
|
+
user?: User;
|
|
9
|
+
/**
|
|
10
|
+
* Type of event through highlight event is fired
|
|
11
|
+
*/
|
|
12
|
+
type?: 'focus' | 'click' | 'selection';
|
|
13
|
+
/**
|
|
14
|
+
* XPath of highlighted element
|
|
15
|
+
*/
|
|
16
|
+
targetElement?: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Selected text to highlight
|
|
19
|
+
*/
|
|
20
|
+
targetTextRange?: TargetTextRange | null;
|
|
21
|
+
pageInfo: PageInfo;
|
|
22
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { CursorPosition } from "./cursor-position.data.model";
|
|
2
|
+
import { Location } from "./location.model";
|
|
3
|
+
import { PageInfo } from "./page-info.model";
|
|
4
|
+
import { TargetElement } from "./target-element.data.model";
|
|
5
|
+
import { TargetTextRange } from "./target-text-range.data.model";
|
|
6
|
+
import { User } from "./user.data.model";
|
|
7
|
+
export declare class TagAnnotation {
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the tag pin annotation.
|
|
10
|
+
*
|
|
11
|
+
* Auto generated.
|
|
12
|
+
*/
|
|
13
|
+
annotationId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The user who created this tag pin annotation.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
from: User;
|
|
19
|
+
/**
|
|
20
|
+
* List of users that were tagged.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
to: User[];
|
|
24
|
+
/**
|
|
25
|
+
* Color used for the tag pin annotation.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the tag annotation is marked resolved.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
resolved?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Timestamp when the tag annotation was last updated.
|
|
36
|
+
*
|
|
37
|
+
* Auto generated.
|
|
38
|
+
*/
|
|
39
|
+
lastUpdated?: any;
|
|
40
|
+
/**
|
|
41
|
+
* Tag annotation's position on the X axis.
|
|
42
|
+
*
|
|
43
|
+
* Auto generated.
|
|
44
|
+
*/
|
|
45
|
+
positionX?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Tag annotation's position on the Y axis.
|
|
48
|
+
*
|
|
49
|
+
* Auto generated.
|
|
50
|
+
*/
|
|
51
|
+
positionY?: number;
|
|
52
|
+
/**
|
|
53
|
+
* User’s screen width.
|
|
54
|
+
*
|
|
55
|
+
* Auto generated.
|
|
56
|
+
*/
|
|
57
|
+
screenWidth?: number;
|
|
58
|
+
/**
|
|
59
|
+
* User’s screen height.
|
|
60
|
+
*
|
|
61
|
+
* Auto generated.
|
|
62
|
+
*/
|
|
63
|
+
screenHeight?: number;
|
|
64
|
+
/**
|
|
65
|
+
* User’s screen scroll height.
|
|
66
|
+
*
|
|
67
|
+
* Auto generated.
|
|
68
|
+
*/
|
|
69
|
+
screenScrollHeight?: number;
|
|
70
|
+
/**
|
|
71
|
+
* User’s screen scroll height.
|
|
72
|
+
*
|
|
73
|
+
* Auto generated.
|
|
74
|
+
*/
|
|
75
|
+
screenScrollTop?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Xpath of the element that was clicked.
|
|
78
|
+
*
|
|
79
|
+
* Auto generated.
|
|
80
|
+
*/
|
|
81
|
+
taggedElementPath?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Xpath of the element that was clicked.
|
|
84
|
+
*
|
|
85
|
+
* Auto generated.
|
|
86
|
+
*/
|
|
87
|
+
taggedElementRect?: any;
|
|
88
|
+
/**
|
|
89
|
+
* Target element of attached annotation.
|
|
90
|
+
*/
|
|
91
|
+
targetElement?: TargetElement | null;
|
|
92
|
+
position?: CursorPosition | null;
|
|
93
|
+
/**
|
|
94
|
+
* Unique location id generated from prvoided location
|
|
95
|
+
*/
|
|
96
|
+
locationId?: number | null;
|
|
97
|
+
/**
|
|
98
|
+
* Set location to identify user on sub document
|
|
99
|
+
*/
|
|
100
|
+
location?: Location | null;
|
|
101
|
+
type?: string;
|
|
102
|
+
targetTextRange?: TargetTextRange | null;
|
|
103
|
+
/**
|
|
104
|
+
* Approved status of the annotation.
|
|
105
|
+
*/
|
|
106
|
+
approved?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* To maintain index of current annotation in available list of annotations
|
|
109
|
+
* It will start from 1, so no need to add 1 in that.
|
|
110
|
+
*/
|
|
111
|
+
annotationIndex?: number;
|
|
112
|
+
pageInfo?: PageInfo;
|
|
113
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class TargetElement {
|
|
2
|
+
/**
|
|
3
|
+
* Xpath of target element
|
|
4
|
+
*/
|
|
5
|
+
xpath?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Full xpath of target element
|
|
8
|
+
*/
|
|
9
|
+
fXpath?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Relative top position of cursor on target element
|
|
12
|
+
*/
|
|
13
|
+
topPercentage: number;
|
|
14
|
+
/**
|
|
15
|
+
* Relative left position of cursor on target element
|
|
16
|
+
*/
|
|
17
|
+
leftPercentage: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class Toast {
|
|
2
|
+
/**
|
|
3
|
+
* Unique id for toast notification
|
|
4
|
+
*/
|
|
5
|
+
id?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Message to show in toast notification
|
|
8
|
+
*/
|
|
9
|
+
message: string;
|
|
10
|
+
/**
|
|
11
|
+
* Type of toast notification
|
|
12
|
+
*/
|
|
13
|
+
type: 'success' | 'error';
|
|
14
|
+
/**
|
|
15
|
+
* Duration to show toast notification in milliseconds
|
|
16
|
+
* @default 3000 milliseconds (3 seconds)
|
|
17
|
+
*/
|
|
18
|
+
duration?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { User } from "./user.data.model";
|
|
2
|
+
export declare class Transcription {
|
|
3
|
+
/**
|
|
4
|
+
* User who created the transcription
|
|
5
|
+
*/
|
|
6
|
+
from: User;
|
|
7
|
+
/**
|
|
8
|
+
* Timestamp of when the transcription was created
|
|
9
|
+
*/
|
|
10
|
+
lastUpdated?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Bucket path of the srt file
|
|
13
|
+
*/
|
|
14
|
+
srtBucketPath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Srt file url
|
|
17
|
+
*/
|
|
18
|
+
srtUrl?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Transcripted text
|
|
21
|
+
*/
|
|
22
|
+
transcriptedText?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Time taken in ms to transcribe the recording
|
|
25
|
+
*/
|
|
26
|
+
transcriptionLatency?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Bucket path of the vtt file
|
|
29
|
+
*/
|
|
30
|
+
vttBucketPath?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Vtt file url
|
|
33
|
+
*/
|
|
34
|
+
vttUrl?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class UserContact {
|
|
2
|
+
/**
|
|
3
|
+
* Unique user identifier that you use to identify your user.
|
|
4
|
+
*/
|
|
5
|
+
userId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Your user's full name.
|
|
8
|
+
*
|
|
9
|
+
* Default: Random avatar name.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Your user's display picture URL.
|
|
14
|
+
*
|
|
15
|
+
* Default: Random avatar image.
|
|
16
|
+
*/
|
|
17
|
+
photoUrl?: string;
|
|
18
|
+
/**
|
|
19
|
+
* This is required if you want us to send email or slack notifications
|
|
20
|
+
* to users when they add comments and tag their co-workers.
|
|
21
|
+
*/
|
|
22
|
+
email: string;
|
|
23
|
+
/**
|
|
24
|
+
* It could be a domain name or any identifier you use to cluster a group of users who work together.
|
|
25
|
+
*/
|
|
26
|
+
groupId?: string;
|
|
27
|
+
source?: string;
|
|
28
|
+
visibility: 'group' | 'private';
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UserContact } from "./user-contact.data.model";
|
|
2
|
+
import { UserRole } from "./user-role.data.model";
|
|
3
|
+
import { User } from "./user.data.model";
|
|
4
|
+
export declare class UserIAM {
|
|
5
|
+
/**
|
|
6
|
+
* The user's id (Email id of the user)
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The user's contact details
|
|
11
|
+
*/
|
|
12
|
+
user: UserContact;
|
|
13
|
+
/**
|
|
14
|
+
* The user's role in the document
|
|
15
|
+
*/
|
|
16
|
+
role: UserRole;
|
|
17
|
+
/**
|
|
18
|
+
* User who invited this user
|
|
19
|
+
*/
|
|
20
|
+
invitedBy?: User;
|
|
21
|
+
/**
|
|
22
|
+
* Date when this user was invited
|
|
23
|
+
*/
|
|
24
|
+
invitedDate?: any;
|
|
25
|
+
/**
|
|
26
|
+
* User who updated this user
|
|
27
|
+
*/
|
|
28
|
+
updatedBy?: User;
|
|
29
|
+
/**
|
|
30
|
+
* Date when this user was updated
|
|
31
|
+
*/
|
|
32
|
+
updatedDate?: any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 UserRequest {
|
|
5
|
+
/**
|
|
6
|
+
* Unique id of the feedback
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* apiKey of the client
|
|
11
|
+
*/
|
|
12
|
+
apiKey?: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Email id of the feedback giver
|
|
15
|
+
*/
|
|
16
|
+
emailId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Message given by the user
|
|
19
|
+
*/
|
|
20
|
+
message?: string;
|
|
21
|
+
/**
|
|
22
|
+
* User who added the feedback
|
|
23
|
+
*/
|
|
24
|
+
from?: User | null;
|
|
25
|
+
/**
|
|
26
|
+
* Date when the feedback was added
|
|
27
|
+
*/
|
|
28
|
+
lastUpdated?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Document metadata
|
|
31
|
+
*/
|
|
32
|
+
metadata?: DocumentMetadata | null;
|
|
33
|
+
/**
|
|
34
|
+
* User's page info
|
|
35
|
+
*/
|
|
36
|
+
pageInfo?: PageInfo;
|
|
37
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Permission } from "./permission.data.model";
|
|
2
|
+
export declare class UserRole {
|
|
3
|
+
/**
|
|
4
|
+
* Unique id of the user role
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Name of the user role
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Description of the user role
|
|
13
|
+
*/
|
|
14
|
+
description: string;
|
|
15
|
+
/**
|
|
16
|
+
* Permissions associated with the user role
|
|
17
|
+
*/
|
|
18
|
+
permissions: Permission[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { UserContact } from "./user-contact.data.model";
|
|
2
|
+
export declare class User {
|
|
3
|
+
/**
|
|
4
|
+
* Unique user identifier that you use to identify your user.
|
|
5
|
+
*/
|
|
6
|
+
userId: string;
|
|
7
|
+
/**
|
|
8
|
+
* Your user's full name.
|
|
9
|
+
*
|
|
10
|
+
* Default: Random avatar name.
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Your user's display picture URL.
|
|
15
|
+
*
|
|
16
|
+
* Default: Random avatar image.
|
|
17
|
+
*/
|
|
18
|
+
photoUrl?: string;
|
|
19
|
+
/**
|
|
20
|
+
* This is required if you want us to send email or slack notifications
|
|
21
|
+
* to users when they add comments and tag their co-workers.
|
|
22
|
+
*/
|
|
23
|
+
email?: string;
|
|
24
|
+
/**
|
|
25
|
+
* This will help us show a drop down when a user wants to tag their co-workers in a comment.
|
|
26
|
+
*/
|
|
27
|
+
contacts?: UserContact[];
|
|
28
|
+
/**
|
|
29
|
+
* The product plan your user is on.
|
|
30
|
+
*/
|
|
31
|
+
plan?: string;
|
|
32
|
+
/**
|
|
33
|
+
* It could be a domain name or any identifier you use to cluster a group of users who work together.
|
|
34
|
+
*/
|
|
35
|
+
groupId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Auto generated unique user id that is linked with your app's user ID.
|
|
38
|
+
* This is needed by us for internal processing.
|
|
39
|
+
*/
|
|
40
|
+
userSnippylyId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* A random color is assigned to the user for the current session.
|
|
43
|
+
* This is the color on the avatar border and live cursor, if these features are enabled.
|
|
44
|
+
*/
|
|
45
|
+
color?: string;
|
|
46
|
+
/**
|
|
47
|
+
* User type.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
type?: string;
|
|
51
|
+
isAdmin?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Readonly user
|
|
54
|
+
*/
|
|
55
|
+
isReadOnly?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Anonymous user can only view the comments
|
|
58
|
+
*/
|
|
59
|
+
isAnonymous?: boolean;
|
|
60
|
+
}
|