@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e405b2c39
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/README.md +2 -0
- package/dist/api/{3dFirebaseApi.d.ts → api/3dFirebaseApi.d.ts} +8 -1
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +26 -52
- package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +18 -40
- package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +10 -1
- package/dist/api/{client → api/client}/axios.d.ts +1 -0
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +12 -27
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +5 -2
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/{ingestApi.d.ts → api/ingestApi.d.ts} +12 -4
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +4 -0
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +274 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/{types → api/types}/analytics.d.ts +68 -4
- package/dist/api/types/authz.d.ts +23 -0
- package/dist/api/types/automation.d.ts +61 -0
- package/dist/{types → api/types}/axios.d.ts +1 -0
- package/dist/{types → api/types}/camera.d.ts +12 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +4 -18
- package/dist/{types → api/types}/gateReport.d.ts +4 -101
- package/dist/{types → api/types}/index.d.ts +1 -0
- package/dist/{types → api/types}/ingest.d.ts +4 -0
- package/dist/{types → api/types}/kit.d.ts +21 -0
- package/dist/{types → api/types}/planner.d.ts +4 -1
- package/dist/{types → api/types}/progressPhoto.d.ts +1 -31
- package/dist/{types → api/types}/project.d.ts +46 -3
- package/dist/{types → api/types}/recording.d.ts +1 -0
- package/dist/{types → api/types}/router.d.ts +19 -0
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/api/types/siteAnalytics.d.ts +247 -0
- package/dist/{types → api/types}/time.d.ts +4 -0
- package/dist/{types → api/types}/user.d.ts +4 -0
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/widget.d.ts +2 -0
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +753 -756
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +199 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/timeline.d.ts +9 -0
- package/package.json +4 -4
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -139
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -10
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -142
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{client → api/client}/swr/Swr.d.ts +0 -0
- /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
- /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
- /package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/anpr.d.ts +0 -0
- /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
- /package/dist/{types → api/types}/autodesk.d.ts +0 -0
- /package/dist/{types → api/types}/bim.d.ts +0 -0
- /package/dist/{types → api/types}/comments.d.ts +0 -0
- /package/dist/{types → api/types}/company.d.ts +0 -0
- /package/dist/{types → api/types}/compare.d.ts +0 -0
- /package/dist/{types → api/types}/connector.d.ts +0 -0
- /package/dist/{types → api/types}/coolify.d.ts +0 -0
- /package/dist/{types → api/types}/copilot.d.ts +0 -0
- /package/dist/{types → api/types}/countries.d.ts +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/errors.d.ts +0 -0
- /package/dist/{types → api/types}/hdd.d.ts +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/media.d.ts +0 -0
- /package/dist/{types → api/types}/notification.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/posthog.d.ts +0 -0
- /package/dist/{types → api/types}/procore.d.ts +0 -0
- /package/dist/{types → api/types}/recycleBin.d.ts +0 -0
- /package/dist/{types → api/types}/roi.d.ts +0 -0
- /package/dist/{types → api/types}/routeParams.d.ts +0 -0
- /package/dist/{types → api/types}/shared.d.ts +0 -0
- /package/dist/{types → api/types}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/snapshots.d.ts +0 -0
- /package/dist/{types → api/types}/sso.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/streaming.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/tag.d.ts +0 -0
- /package/dist/{types → api/types}/timelapse.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
- /package/dist/{types → api/types}/weather.d.ts +0 -0
- /package/dist/{types → api/types}/xweather.d.ts +0 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { DateType } from "@/types/time";
|
|
2
|
+
export type _360CameraParams = {
|
|
3
|
+
azimuthAngle: number;
|
|
4
|
+
polarAngle: number;
|
|
5
|
+
};
|
|
6
|
+
export type _360Vector3D = {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
z: number;
|
|
10
|
+
};
|
|
11
|
+
export type _360Geolocation = {
|
|
12
|
+
latitude: number;
|
|
13
|
+
longitude: number;
|
|
14
|
+
};
|
|
15
|
+
export type _360CameraRotation = {
|
|
16
|
+
azimuthAngle: number;
|
|
17
|
+
polarAngle: number;
|
|
18
|
+
};
|
|
19
|
+
export type _360Marker3D = {
|
|
20
|
+
cameraPosition: _360Vector3D;
|
|
21
|
+
geolocation: _360Geolocation;
|
|
22
|
+
nextRoomId: _360MakerId;
|
|
23
|
+
position: _360Vector3D;
|
|
24
|
+
rotation: {
|
|
25
|
+
_order: "XYZ" | string;
|
|
26
|
+
_x: number;
|
|
27
|
+
_y: number;
|
|
28
|
+
_z: number;
|
|
29
|
+
isEuler: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type _360Tag = {
|
|
33
|
+
id: string;
|
|
34
|
+
tagType: string;
|
|
35
|
+
comment: string;
|
|
36
|
+
creationDate: number;
|
|
37
|
+
currentRoom: _360MakerId;
|
|
38
|
+
position: _360Vector3D;
|
|
39
|
+
cameraRotation: _360CameraRotation;
|
|
40
|
+
};
|
|
41
|
+
export type _360FloorId = string | number;
|
|
42
|
+
export type _360Walk = Record<_360FloorId, _360Floor>;
|
|
43
|
+
export type _360MakerId = string;
|
|
44
|
+
export type _360Floor = {
|
|
45
|
+
_3DMarkers: _360Marker3D[];
|
|
46
|
+
cameraRotation: _360CameraRotation;
|
|
47
|
+
fbxModel: string;
|
|
48
|
+
initialMarker: _360MakerId;
|
|
49
|
+
modelViewerFeatureFlag: boolean;
|
|
50
|
+
route: {
|
|
51
|
+
cameraHeadingOffset: string;
|
|
52
|
+
overlayID: number;
|
|
53
|
+
track: string;
|
|
54
|
+
};
|
|
55
|
+
sceneScale: number;
|
|
56
|
+
steps: number;
|
|
57
|
+
tags: Record<string, _360Tag>;
|
|
58
|
+
};
|
|
59
|
+
export type _360WalkV2 = {
|
|
60
|
+
archive: string;
|
|
61
|
+
date: string;
|
|
62
|
+
deviceSerial: string | null;
|
|
63
|
+
endPosition: unknown | null;
|
|
64
|
+
floor: string;
|
|
65
|
+
floorId: number;
|
|
66
|
+
id: number;
|
|
67
|
+
images: string[];
|
|
68
|
+
insertedAt: string;
|
|
69
|
+
mobileAudios: string[];
|
|
70
|
+
mobileAudiosArchive: string;
|
|
71
|
+
mobilePhotos: string[];
|
|
72
|
+
mobilePhotosArchive: string;
|
|
73
|
+
model: string;
|
|
74
|
+
name: string;
|
|
75
|
+
processingStatus: string;
|
|
76
|
+
projectId: string;
|
|
77
|
+
report: string;
|
|
78
|
+
route: unknown | null;
|
|
79
|
+
startPosition: unknown | null;
|
|
80
|
+
tusLinks: unknown | null;
|
|
81
|
+
updatedAt: string;
|
|
82
|
+
uploadedBy: string;
|
|
83
|
+
videoArchive: string;
|
|
84
|
+
videos: string[];
|
|
85
|
+
};
|
|
86
|
+
export type _360FloorV2 = {
|
|
87
|
+
id: _360FloorId;
|
|
88
|
+
assets: _360WalkV2[];
|
|
89
|
+
projectId: string;
|
|
90
|
+
name: string;
|
|
91
|
+
mapStyle: string;
|
|
92
|
+
hasOverlay: boolean;
|
|
93
|
+
isCalibrated: boolean;
|
|
94
|
+
createdBy: string | null;
|
|
95
|
+
overlayPosition: {
|
|
96
|
+
northEast: {
|
|
97
|
+
lat: number;
|
|
98
|
+
lng: number;
|
|
99
|
+
};
|
|
100
|
+
northWest: {
|
|
101
|
+
lat: number;
|
|
102
|
+
lng: number;
|
|
103
|
+
};
|
|
104
|
+
southEast: {
|
|
105
|
+
lat: number;
|
|
106
|
+
lng: number;
|
|
107
|
+
};
|
|
108
|
+
southWest: {
|
|
109
|
+
lat: number;
|
|
110
|
+
lng: number;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
insertedAt: string;
|
|
114
|
+
updatedAt: string;
|
|
115
|
+
};
|
|
116
|
+
export type _360Scene = {
|
|
117
|
+
date: string;
|
|
118
|
+
dateID: number;
|
|
119
|
+
floors: {
|
|
120
|
+
floorID: _360FloorId;
|
|
121
|
+
name: string;
|
|
122
|
+
}[];
|
|
123
|
+
polarAngle: number;
|
|
124
|
+
azimuthAngle: number;
|
|
125
|
+
};
|
|
126
|
+
export type _360SceneRoute = {
|
|
127
|
+
cameraHeadingOffset?: number;
|
|
128
|
+
overlayID?: number;
|
|
129
|
+
track?: string;
|
|
130
|
+
};
|
|
131
|
+
export type _360FullProject = {
|
|
132
|
+
dates: _360SceneWithFloors[];
|
|
133
|
+
integrationType: string;
|
|
134
|
+
projectId: string;
|
|
135
|
+
projectName: string;
|
|
136
|
+
providerID: string;
|
|
137
|
+
providerPrefix: string;
|
|
138
|
+
providerSuffix: string;
|
|
139
|
+
timeline: string;
|
|
140
|
+
uniqueId: string;
|
|
141
|
+
};
|
|
142
|
+
export type _360FullFloor = _360Floor & {
|
|
143
|
+
id: _360FloorId;
|
|
144
|
+
name: string;
|
|
145
|
+
};
|
|
146
|
+
export type _360SceneWithFloors = _360Scene & {
|
|
147
|
+
floors: _360FullFloor[];
|
|
148
|
+
};
|
|
149
|
+
export type _360ProjectJsonResponse = {
|
|
150
|
+
dates: _360Scene[];
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
};
|
|
153
|
+
export type MobileCaptureSnapshot = {
|
|
154
|
+
id: string;
|
|
155
|
+
uploadedBy: string;
|
|
156
|
+
updatedAt: string;
|
|
157
|
+
assetType: string;
|
|
158
|
+
thumbnailUrl: string;
|
|
159
|
+
};
|
|
160
|
+
export declare enum _360UrlParams {
|
|
161
|
+
DateId = "date_id",
|
|
162
|
+
Date = "date",
|
|
163
|
+
Floor = "floor",
|
|
164
|
+
Marker = "marker",
|
|
165
|
+
PolarAngle = "polarAngle",
|
|
166
|
+
AzimuthAngle = "azimuthAngle"
|
|
167
|
+
}
|
|
168
|
+
export declare enum _360AssetType {
|
|
169
|
+
Video = "video",
|
|
170
|
+
Image = "image",
|
|
171
|
+
Model = "model",
|
|
172
|
+
Route = "route",
|
|
173
|
+
MobilePhoto = "mobile_photos",
|
|
174
|
+
MobileAudio = "mobile_audios"
|
|
175
|
+
}
|
|
176
|
+
export declare enum _360AssetLabel {
|
|
177
|
+
Walks = "walks",
|
|
178
|
+
MobilePhotos = "mobilePhotos"
|
|
179
|
+
}
|
|
180
|
+
export declare enum _360Feature {
|
|
181
|
+
BIM = "BIM",
|
|
182
|
+
Minimap = "Minimap",
|
|
183
|
+
Minimodel = "Minimodel"
|
|
184
|
+
}
|
|
185
|
+
export declare enum _360IntergrationType {
|
|
186
|
+
Evercam = "Evercam",
|
|
187
|
+
Matterport = "Matterport",
|
|
188
|
+
OpenSpace = "Openspace",
|
|
189
|
+
HoloBuilder = "Holobuilder",
|
|
190
|
+
DroneDeploy = "Dronedeploy"
|
|
191
|
+
}
|
|
192
|
+
export declare enum PathMarkerColor {
|
|
193
|
+
Start = "#00e74c",
|
|
194
|
+
End = "#fd7567",
|
|
195
|
+
Default = "#2196F3"
|
|
196
|
+
}
|
|
197
|
+
export type _360AssetsQueryParams = {
|
|
198
|
+
page: number;
|
|
199
|
+
limit: number;
|
|
200
|
+
projectID: string;
|
|
201
|
+
date: DateType;
|
|
202
|
+
floor: string;
|
|
203
|
+
id: string;
|
|
204
|
+
};
|
|
205
|
+
export type _360AssetsRequestPayload = {
|
|
206
|
+
projectId: string;
|
|
207
|
+
date: DateType;
|
|
208
|
+
floor: string;
|
|
209
|
+
uploadedBy?: string;
|
|
210
|
+
};
|
|
211
|
+
export type DrawingsRequestPayload = {
|
|
212
|
+
projectId?: string;
|
|
213
|
+
name?: string;
|
|
214
|
+
changedBy?: string;
|
|
215
|
+
mapStyle?: string;
|
|
216
|
+
startDate?: string;
|
|
217
|
+
endDate?: string;
|
|
218
|
+
id?: number;
|
|
219
|
+
page?: number;
|
|
220
|
+
limit?: number;
|
|
221
|
+
paginate?: boolean;
|
|
222
|
+
};
|
|
223
|
+
export type GenerateFloorPayload = {
|
|
224
|
+
overlay?: {
|
|
225
|
+
url: string;
|
|
226
|
+
title: string;
|
|
227
|
+
fileExtension: string;
|
|
228
|
+
};
|
|
229
|
+
changedBy: string;
|
|
230
|
+
name?: string;
|
|
231
|
+
mapStyle?: string;
|
|
232
|
+
overlayPositionCorners: {
|
|
233
|
+
northEast: {
|
|
234
|
+
lat: number;
|
|
235
|
+
lng: number;
|
|
236
|
+
};
|
|
237
|
+
northWest: {
|
|
238
|
+
lat: number;
|
|
239
|
+
lng: number;
|
|
240
|
+
};
|
|
241
|
+
southWest: {
|
|
242
|
+
lat: number;
|
|
243
|
+
lng: number;
|
|
244
|
+
};
|
|
245
|
+
southEast: {
|
|
246
|
+
lat: number;
|
|
247
|
+
lng: number;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
export type _360QueueQueryParams = {
|
|
252
|
+
projectId?: string;
|
|
253
|
+
};
|
|
254
|
+
export type _360AssetsUploadPayload = {
|
|
255
|
+
targetPointsCount: number;
|
|
256
|
+
assetType: string;
|
|
257
|
+
upload: {
|
|
258
|
+
url: string;
|
|
259
|
+
title: string;
|
|
260
|
+
fileExtension: string;
|
|
261
|
+
}[];
|
|
262
|
+
deviceSerial: string;
|
|
263
|
+
startPosition: string;
|
|
264
|
+
endPosition: string;
|
|
265
|
+
isTimelapse: boolean;
|
|
266
|
+
isImagesOnly: boolean;
|
|
267
|
+
};
|
|
268
|
+
export type Generate360MapRequestPayload = {
|
|
269
|
+
dateId: string;
|
|
270
|
+
floorId: string;
|
|
271
|
+
cameraOffset: string;
|
|
272
|
+
startPoint: string;
|
|
273
|
+
endPoint: string;
|
|
274
|
+
};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
export type AconexUserProjectsResponsePayload = Array<{
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
shortName: string;
|
|
5
|
+
startDate: string;
|
|
6
|
+
endDate: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
export type AconexDocumentSchemaResponsePayload = Array<{
|
|
11
|
+
dataType: AconexDocumentDataType;
|
|
12
|
+
identifier: AconexIdentifiers;
|
|
13
|
+
fieldName: string;
|
|
14
|
+
modifiedFieldName?: string;
|
|
15
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
16
|
+
schemaValues?: Array<{
|
|
17
|
+
id: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
21
|
+
export type AconexDocumentTypeSchemaResponsePayload = Array<{
|
|
22
|
+
dataType: AconexDocumentDataType;
|
|
23
|
+
identifier: string;
|
|
24
|
+
fieldName: string;
|
|
25
|
+
modifiedFieldName?: string;
|
|
26
|
+
mandatoryStatus: string;
|
|
27
|
+
specifications?: Array<AconexFieldSpecification>;
|
|
28
|
+
}>;
|
|
29
|
+
export type AconexDocumentSchemaField = {
|
|
30
|
+
dataType: AconexDocumentDataType;
|
|
31
|
+
identifier: AconexIdentifiers | string;
|
|
32
|
+
schemaValues?: Array<{
|
|
33
|
+
id: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}>;
|
|
36
|
+
fieldName: string;
|
|
37
|
+
modifiedFieldName?: string;
|
|
38
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
39
|
+
componentType?: AconexFormComponentType;
|
|
40
|
+
items?: Array<any>;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
specifications?: Array<AconexFieldSpecification>;
|
|
43
|
+
};
|
|
44
|
+
export type AconexFormSchema = Record<AconexIdentifiers | string, AconexDocumentSchemaField>;
|
|
45
|
+
export type AconexFieldSpecification = {
|
|
46
|
+
name: string;
|
|
47
|
+
options: Array<string>;
|
|
48
|
+
};
|
|
49
|
+
export declare enum AconexDocumentDataType {
|
|
50
|
+
String = "STRING",
|
|
51
|
+
Boolean = "BOOLEAN",
|
|
52
|
+
Ratio = "RATIO",
|
|
53
|
+
Integer = "INTEGER",
|
|
54
|
+
Double = "DOUBLE",
|
|
55
|
+
Long = "LONG",
|
|
56
|
+
Date = "DATE",
|
|
57
|
+
Complex = "COMPLEX",
|
|
58
|
+
SingleLineText = "SINGLE_LINE_TEXT",
|
|
59
|
+
MultiLineText = "MULTI_LINE_TEXT",
|
|
60
|
+
SingleSelect = "SINGLE_SELECT",
|
|
61
|
+
MultiSelect = "MULTI_SELECT",
|
|
62
|
+
User = "USER",
|
|
63
|
+
Number = "NUMBER"
|
|
64
|
+
}
|
|
65
|
+
export declare enum AconexFormComponentType {
|
|
66
|
+
Select = "SelectField",
|
|
67
|
+
Text = "TextField",
|
|
68
|
+
DateTime = "DateTimeField",
|
|
69
|
+
Switch = "SwitchField"
|
|
70
|
+
}
|
|
71
|
+
export declare enum AconexMandatoryStatus {
|
|
72
|
+
Mandatory = "MANDATORY",
|
|
73
|
+
NotMandatory = "NOT_MANDATORY"
|
|
74
|
+
}
|
|
75
|
+
export type AconexAuthCallbackParams = {
|
|
76
|
+
code: string;
|
|
77
|
+
location: string;
|
|
78
|
+
};
|
|
79
|
+
export type AconexEditedImageUploadRequestPayload = {
|
|
80
|
+
projectExid: string;
|
|
81
|
+
snapshot: string;
|
|
82
|
+
};
|
|
83
|
+
export declare enum AconexIdentifiers {
|
|
84
|
+
DocumentNumber = "DocumentNumber",
|
|
85
|
+
DocumentTypeId = "DocumentTypeId",
|
|
86
|
+
Revision = "Revision",
|
|
87
|
+
HasFile = "HasFile",
|
|
88
|
+
AccessList = "AccessList",
|
|
89
|
+
AsBuiltRequired = "AsBuiltRequired",
|
|
90
|
+
Attribute1 = "Attribute1",
|
|
91
|
+
Attribute2 = "Attribute2",
|
|
92
|
+
Attribute3 = "Attribute3",
|
|
93
|
+
Attribute4 = "Attribute4",
|
|
94
|
+
Author = "Author",
|
|
95
|
+
AuthorisedBy = "AuthorisedBy",
|
|
96
|
+
Category = "Category",
|
|
97
|
+
Check1 = "Check1",
|
|
98
|
+
Check2 = "Check2",
|
|
99
|
+
Comments = "Comments",
|
|
100
|
+
Comments2 = "Comments2",
|
|
101
|
+
ContractNumber = "ContractNumber",
|
|
102
|
+
ContractDeliverable = "ContractDeliverable",
|
|
103
|
+
ContractorDocumentNumber = "ContractorDocumentNumber",
|
|
104
|
+
ContractorRev = "ContractorRev",
|
|
105
|
+
Date1 = "Date1",
|
|
106
|
+
Date2 = "Date2",
|
|
107
|
+
DateApproved = "DateApproved",
|
|
108
|
+
DateCreated = "DateCreated",
|
|
109
|
+
DateForReview = "DateForReview",
|
|
110
|
+
DateReviewed = "DateReviewed",
|
|
111
|
+
Discipline = "Discipline",
|
|
112
|
+
DocumentStatusId = "DocumentStatusId",
|
|
113
|
+
MilestoneDate = "MilestoneDate",
|
|
114
|
+
PackageNumber = "PackageNumber",
|
|
115
|
+
PercentageComplete = "PercentageComplete",
|
|
116
|
+
PlannedSubmissionDate = "PlannedSubmissionDate",
|
|
117
|
+
PrintSize = "PrintSize",
|
|
118
|
+
ProjectField1 = "ProjectField1",
|
|
119
|
+
ProjectField2 = "ProjectField2",
|
|
120
|
+
ProjectField3 = "ProjectField3",
|
|
121
|
+
Reference = "Reference",
|
|
122
|
+
RevisionDate = "RevisionDate",
|
|
123
|
+
Scale = "Scale",
|
|
124
|
+
SelectList1 = "SelectList1",
|
|
125
|
+
SelectList2 = "SelectList2",
|
|
126
|
+
SelectList3 = "SelectList3",
|
|
127
|
+
SelectList4 = "SelectList4",
|
|
128
|
+
SelectList5 = "SelectList5",
|
|
129
|
+
SelectList6 = "SelectList6",
|
|
130
|
+
SelectList7 = "SelectList7",
|
|
131
|
+
SelectList8 = "SelectList8",
|
|
132
|
+
SelectList9 = "SelectList9",
|
|
133
|
+
SelectList10 = "SelectList10",
|
|
134
|
+
TagNumber = "TagNumber",
|
|
135
|
+
Title = "Title",
|
|
136
|
+
ToClientDate = "ToClientDate",
|
|
137
|
+
UploadDate = "UploadDate",
|
|
138
|
+
UploadedBy = "UploadedBy",
|
|
139
|
+
Vdrcode = "Vdrcode",
|
|
140
|
+
VendorDocumentNumber = "VendorDocumentNumber",
|
|
141
|
+
VendorRev = "VendorRev",
|
|
142
|
+
AutoNumber = "AutoNumber"
|
|
143
|
+
}
|
|
@@ -43,7 +43,8 @@ export declare enum AnalyticsEventPageId {
|
|
|
43
43
|
BimCompareInfo = "BimCompareInfo",
|
|
44
44
|
WeatherReport = "WeatherReport",
|
|
45
45
|
PpeReport = "PpeReport",
|
|
46
|
-
SmartSearch = "SmartSearch"
|
|
46
|
+
SmartSearch = "SmartSearch",
|
|
47
|
+
Drawings = "Drawings"
|
|
47
48
|
}
|
|
48
49
|
export declare enum AnalyticsEvent {
|
|
49
50
|
PageView = "PageView",
|
|
@@ -77,6 +78,19 @@ export declare enum AnalyticsEvent {
|
|
|
77
78
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
78
79
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
79
80
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
81
|
+
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
82
|
+
WidgetsSelectProject = "SelectProject",
|
|
83
|
+
WidgetsSelect360Date = "Select360Date",
|
|
84
|
+
WidgetsSelect360Floor = "Select360Floor",
|
|
85
|
+
WidgetsSelect360Marker = "Select360Marker",
|
|
86
|
+
Widgets360LockMedia = "360LockMedia",
|
|
87
|
+
WidgetsPauseWidget = "PauseWidget",
|
|
88
|
+
WidgetsEditWidget = "EditWidget",
|
|
89
|
+
WidgetsOpenCredentials = "OpenCredentials",
|
|
90
|
+
WidgetsCopyEmbeddedCode = "CopyEmbeddedCode",
|
|
91
|
+
WidgetsCopyIFrameCode = "CopyIFrameCode",
|
|
92
|
+
WidgetsCopyURLCode = "CopyURLCode",
|
|
93
|
+
WidgetsDeleteWidget = "DeleteWidget",
|
|
80
94
|
WidgetsAddWidgetClick = "AddWidget",
|
|
81
95
|
WidgetsCancelClick = "Cancel",
|
|
82
96
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -103,6 +117,7 @@ export declare enum AnalyticsEvent {
|
|
|
103
117
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
104
118
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
105
119
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
120
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
106
121
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
107
122
|
PlayerDownload = "Player-Download",
|
|
108
123
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -259,6 +274,7 @@ export declare enum AnalyticsEvent {
|
|
|
259
274
|
SharingSortBy = "SortBy",
|
|
260
275
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
276
|
ThreeSixtyGallery = "Gallery",
|
|
277
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
262
278
|
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
263
279
|
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
264
280
|
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
@@ -366,7 +382,31 @@ export declare enum AnalyticsEvent {
|
|
|
366
382
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
367
383
|
PlannerZoomIn = "ZoomIn",
|
|
368
384
|
PlannerZoomOut = "ZoomOut",
|
|
385
|
+
DrawingCreateSave = "CreateSave",
|
|
386
|
+
DrawingUpdateSave = "UpdateSave",
|
|
387
|
+
DrawingEditName = "EditName",
|
|
388
|
+
DrawingUpdateName = "UpdateName",
|
|
389
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
390
|
+
DrawingClickHome = "ClickHome",
|
|
391
|
+
DrawingsUploadDrawing = "UploadDrawing",
|
|
392
|
+
DrawingsCreateDrawing = "CreateDrawing",
|
|
393
|
+
DrawingToggleFilter = "ToggleFilter",
|
|
394
|
+
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
395
|
+
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
396
|
+
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
397
|
+
DrawingToggleCamerasVisibility = "ToggleCamerasVisibility",
|
|
398
|
+
DrawingToggleTransparencyMode = "ToggleTransparencyMode",
|
|
399
|
+
DrawingChooseDrawing = "ChooseDrawing",
|
|
400
|
+
DrawingChangeLocation = "ChangeLocation",
|
|
401
|
+
DrawingFilterDateRange = "FilterDateRange",
|
|
402
|
+
DrawingFilterDrawingName = "FilterDrawingName",
|
|
403
|
+
DrawingFilterCreatedBy = "FilterCreatedBy",
|
|
404
|
+
DrawingFilterMapStyle = "FilterMapStyle",
|
|
405
|
+
DrawingToggleRotate = "ToggleRotate",
|
|
406
|
+
DrawingToggleScale = "ToggleScale",
|
|
407
|
+
DrawingOpenExistingDrawing = "OpenExistingDrawing",
|
|
369
408
|
MarkerClicked = "MarkerClicked",
|
|
409
|
+
MarkerSelected = "MarkerSelected",
|
|
370
410
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
371
411
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
372
412
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -396,12 +436,16 @@ export declare enum AnalyticsEvent {
|
|
|
396
436
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
397
437
|
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
398
438
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
439
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
440
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
441
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
442
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
399
443
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
400
444
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
401
445
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
402
446
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
403
447
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
404
|
-
|
|
448
|
+
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
405
449
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
406
450
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
407
451
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -459,6 +503,7 @@ export declare enum AnalyticsEvent {
|
|
|
459
503
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
460
504
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
461
505
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
506
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
462
507
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
463
508
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
464
509
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
@@ -475,6 +520,24 @@ export declare enum AnalyticsEvent {
|
|
|
475
520
|
ExportPdf = "ExportPdf",
|
|
476
521
|
ExportCsv = "ExportCsv",
|
|
477
522
|
FilterCameras = "FilterCameras",
|
|
523
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
524
|
+
CompareEditSelectedCameras = "Compare-EditSelectedCameras",
|
|
525
|
+
CompareEdit = "Compare-Edit",
|
|
526
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
527
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
528
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
529
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
530
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
531
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
532
|
+
AutomationsSelectProgressPhoto = "SelectProgressPhoto",
|
|
533
|
+
AutomationsSelectCompare = "SelectCompare",
|
|
534
|
+
AutomationsCreateCompare = "CreateCompare",
|
|
535
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
536
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
537
|
+
AutomationTypeName = "TypeName",
|
|
538
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
539
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
540
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
478
541
|
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
479
542
|
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
480
543
|
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
@@ -487,11 +550,12 @@ export declare enum AnalyticsEvent {
|
|
|
487
550
|
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
488
551
|
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
489
552
|
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
490
|
-
|
|
553
|
+
SmartSearchViewSelected = "SmartSearch-ViewSelected",
|
|
491
554
|
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
492
555
|
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
493
556
|
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
494
557
|
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
495
558
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
496
|
-
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
559
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
560
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
497
561
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum RoleResourceType {
|
|
2
|
+
App = "app",
|
|
3
|
+
Camera = "camera",
|
|
4
|
+
Project = "project"
|
|
5
|
+
}
|
|
6
|
+
export type Role = {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
resource: string;
|
|
10
|
+
resourceType: RoleResourceType;
|
|
11
|
+
permissions: string[];
|
|
12
|
+
subRoles?: Array<{
|
|
13
|
+
resourceId: string;
|
|
14
|
+
roleId: number;
|
|
15
|
+
}>;
|
|
16
|
+
};
|
|
17
|
+
export type ProjectResourceRole = Role & {
|
|
18
|
+
resourceType: RoleResourceType.Project;
|
|
19
|
+
};
|
|
20
|
+
export type CameraResourceRole = Omit<Role, "subRoles"> & {
|
|
21
|
+
resourceType: RoleResourceType.Camera;
|
|
22
|
+
};
|
|
23
|
+
export type ProjectRoleRequestPayload = Omit<Role, "id" | "resource" | "resourceType">;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AconexIdentifiers, CameraExid } from "@evercam/api/types";
|
|
2
|
+
export declare enum AutomationProvider {
|
|
3
|
+
Aconex = "aconex",
|
|
4
|
+
Procore = "procore",
|
|
5
|
+
Autodesk = "autodesk",
|
|
6
|
+
Email = "email"
|
|
7
|
+
}
|
|
8
|
+
export declare enum AutomationType {
|
|
9
|
+
Photo = "photo",
|
|
10
|
+
Compare = "compare"
|
|
11
|
+
}
|
|
12
|
+
export type AutomationCompareConfig = {
|
|
13
|
+
compareDelay: number;
|
|
14
|
+
};
|
|
15
|
+
export type AutomationEmailProviderConfig = {
|
|
16
|
+
recipients: string | string[];
|
|
17
|
+
};
|
|
18
|
+
export type AutomationProcoreProviderConfig = {
|
|
19
|
+
companyId: number;
|
|
20
|
+
companyName: string;
|
|
21
|
+
projectId: number;
|
|
22
|
+
projectName: string;
|
|
23
|
+
categoryId: number;
|
|
24
|
+
categoryName: string;
|
|
25
|
+
};
|
|
26
|
+
export type AutomationAconexProviderConfig = {
|
|
27
|
+
projectId: number;
|
|
28
|
+
projectName: string;
|
|
29
|
+
} & Partial<Record<AconexIdentifiers, string | number | boolean>>;
|
|
30
|
+
export type AutomationAutodeskProviderConfig = {
|
|
31
|
+
hubId: number;
|
|
32
|
+
hubName: string;
|
|
33
|
+
projectId: number;
|
|
34
|
+
projectName: string;
|
|
35
|
+
folderId: number;
|
|
36
|
+
accFileType: string;
|
|
37
|
+
accFolderType: string;
|
|
38
|
+
folderName: string;
|
|
39
|
+
};
|
|
40
|
+
export type AutomationProviderConfig = AutomationEmailProviderConfig | AutomationProcoreProviderConfig | AutomationAconexProviderConfig | AutomationAutodeskProviderConfig;
|
|
41
|
+
export type AutomationOptionsConfig = AutomationCompareConfig | {};
|
|
42
|
+
export type AutomationConfig = AutomationProviderConfig & AutomationOptionsConfig;
|
|
43
|
+
export type Automation = {
|
|
44
|
+
cameraExids: CameraExid[];
|
|
45
|
+
name: string;
|
|
46
|
+
subject?: string;
|
|
47
|
+
provider: AutomationProvider;
|
|
48
|
+
type: AutomationType;
|
|
49
|
+
config: AutomationConfig;
|
|
50
|
+
notifyDays: string[];
|
|
51
|
+
notifyTime: string;
|
|
52
|
+
timezone: string;
|
|
53
|
+
isPaused: boolean;
|
|
54
|
+
restrictedCameraExids?: string[];
|
|
55
|
+
};
|
|
56
|
+
export declare enum AutomationConfigStep {
|
|
57
|
+
Type = "type",
|
|
58
|
+
Cameras = "cameras",
|
|
59
|
+
Settings = "settings",
|
|
60
|
+
Destination = "destination"
|
|
61
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, ProjectFeatureFlag, Schedule } from "@/types";
|
|
2
|
+
import { DateRangeFilter } from "@/types/time";
|
|
2
3
|
export type CameraExid = string;
|
|
3
4
|
export type CamerasByExid = EntityByExid<Camera>;
|
|
4
5
|
export type Cartesian3 = {
|
|
@@ -72,7 +73,6 @@ export type Camera = {
|
|
|
72
73
|
rtmp: string;
|
|
73
74
|
};
|
|
74
75
|
ptz: boolean;
|
|
75
|
-
rights: string;
|
|
76
76
|
roll: string | null;
|
|
77
77
|
routerId: number;
|
|
78
78
|
status: CameraStatus;
|
|
@@ -154,6 +154,7 @@ export type AdminCamera = {
|
|
|
154
154
|
userId: number;
|
|
155
155
|
zohoId: string;
|
|
156
156
|
thumbnailUrl?: string;
|
|
157
|
+
sharedWithConstruction: boolean;
|
|
157
158
|
};
|
|
158
159
|
export type CameraMapMarker = {
|
|
159
160
|
isOnline: boolean;
|
|
@@ -176,13 +177,14 @@ export declare enum CameraStatus {
|
|
|
176
177
|
UnderMaintenance = "under_maintenance",
|
|
177
178
|
WaitingForSiteVisit = "waiting_for_site_visit"
|
|
178
179
|
}
|
|
179
|
-
export declare enum
|
|
180
|
-
High = "
|
|
181
|
-
Moderate = "
|
|
182
|
-
Low = "
|
|
183
|
-
NoChange = "
|
|
184
|
-
Default = "
|
|
180
|
+
export declare enum IntensityChange {
|
|
181
|
+
High = "High",
|
|
182
|
+
Moderate = "Moderate",
|
|
183
|
+
Low = "Low",
|
|
184
|
+
NoChange = "No change",
|
|
185
|
+
Default = "Default"
|
|
185
186
|
}
|
|
187
|
+
export declare const IntensityChangeColorMap: Record<IntensityChange, string>;
|
|
186
188
|
export declare enum CameraFeatureFlag {
|
|
187
189
|
EdgeVideo = "edge_video",
|
|
188
190
|
BimCompare = "bim_compare",
|
|
@@ -530,3 +532,6 @@ export declare enum BimType {
|
|
|
530
532
|
TwoD = "2D",
|
|
531
533
|
Forge = "Forge"
|
|
532
534
|
}
|
|
535
|
+
export type CameraDateRangeFilter = DateRangeFilter & {
|
|
536
|
+
cameraExid: CameraExid;
|
|
537
|
+
};
|