@evercam/api 1.0.0-cc52e4032 → 1.0.0-cc7d70eb8
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/dist/api/api/3dFirebaseApi.d.ts +7 -1
- package/dist/api/api/adminApi.d.ts +80 -83
- package/dist/api/api/aiApi.d.ts +57 -84
- package/dist/api/api/authzApi.d.ts +27 -17
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +114 -96
- package/dist/api/api/evercamLabsApi.d.ts +4 -3
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +99 -46
- package/dist/api/api/ptzApi.d.ts +12 -3
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +140 -5
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/analytics.d.ts +113 -48
- package/dist/api/types/anpr.d.ts +19 -2
- package/dist/api/types/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +45 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +37 -3
- package/dist/api/types/axios.d.ts +10 -5
- package/dist/api/types/bim.d.ts +11 -5
- package/dist/api/types/camera.d.ts +94 -79
- package/dist/api/types/comments.d.ts +4 -8
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +3 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +11 -6
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +20 -8
- package/dist/api/types/drone.d.ts +1 -0
- package/dist/api/types/gateReport.d.ts +46 -150
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +6 -1
- package/dist/api/types/ingest.d.ts +90 -2
- package/dist/api/types/kit.d.ts +31 -5
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +32 -2
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +44 -0
- package/dist/api/types/posthog.d.ts +15 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +100 -22
- package/dist/api/types/recording.d.ts +3 -3
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/router.d.ts +20 -1
- package/dist/api/types/shared.d.ts +11 -4
- package/dist/api/types/shares.d.ts +6 -144
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +170 -46
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +36 -4
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +5 -5
- package/dist/api/types/user.d.ts +101 -31
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +71 -12
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/index.js +971 -860
- 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/types/components.d.ts +113 -9
- package/dist/shared/types/imagePlayer.d.ts +2 -2
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +2 -2
- package/dist/api/types/storageServers.d.ts +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
-
import { VideoWall,
|
|
2
|
+
import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
3
3
|
export declare const VideoWallApi: {
|
|
4
|
-
list(params?:
|
|
4
|
+
list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
|
|
5
5
|
create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
6
6
|
get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
7
7
|
update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
|
|
1
|
+
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
2
|
import { AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare const WeatherApi: {
|
|
4
4
|
current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
5
5
|
historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
6
|
-
report(projectExid: string, payload:
|
|
6
|
+
report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
|
|
7
7
|
data: WeatherDataResponse[];
|
|
8
8
|
}> | undefined;
|
|
9
9
|
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -1,25 +1,158 @@
|
|
|
1
|
-
import { DateType } from "
|
|
1
|
+
import { DateType } from "@evercam/api/types/time";
|
|
2
2
|
export type _360CameraParams = {
|
|
3
3
|
azimuthAngle: number;
|
|
4
4
|
polarAngle: number;
|
|
5
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;
|
|
6
44
|
export type _360Floor = {
|
|
7
|
-
|
|
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;
|
|
8
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;
|
|
9
115
|
};
|
|
10
116
|
export type _360Scene = {
|
|
11
117
|
date: string;
|
|
12
|
-
dateID:
|
|
13
|
-
floors:
|
|
118
|
+
dateID: number;
|
|
119
|
+
floors: {
|
|
120
|
+
floorID: _360FloorId;
|
|
121
|
+
name: string;
|
|
122
|
+
}[];
|
|
14
123
|
polarAngle: number;
|
|
15
124
|
azimuthAngle: number;
|
|
16
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
|
+
};
|
|
17
149
|
export type _360ProjectJsonResponse = {
|
|
18
150
|
dates: _360Scene[];
|
|
19
151
|
[key: string]: any;
|
|
20
152
|
};
|
|
21
153
|
export type MobileCaptureSnapshot = {
|
|
22
|
-
id: string;
|
|
154
|
+
id: string | number;
|
|
155
|
+
projectId?: string;
|
|
23
156
|
uploadedBy: string;
|
|
24
157
|
updatedAt: string;
|
|
25
158
|
assetType: string;
|
|
@@ -27,6 +160,7 @@ export type MobileCaptureSnapshot = {
|
|
|
27
160
|
};
|
|
28
161
|
export declare enum _360UrlParams {
|
|
29
162
|
DateId = "date_id",
|
|
163
|
+
Date = "date",
|
|
30
164
|
Floor = "floor",
|
|
31
165
|
Marker = "marker",
|
|
32
166
|
PolarAngle = "polarAngle",
|
|
@@ -86,6 +220,7 @@ export type DrawingsRequestPayload = {
|
|
|
86
220
|
page?: number;
|
|
87
221
|
limit?: number;
|
|
88
222
|
paginate?: boolean;
|
|
223
|
+
withAsset?: boolean;
|
|
89
224
|
};
|
|
90
225
|
export type GenerateFloorPayload = {
|
|
91
226
|
overlay?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type AconexUserProject = {
|
|
2
2
|
id: number;
|
|
3
3
|
name: string;
|
|
4
4
|
shortName: string;
|
|
@@ -6,8 +6,8 @@ export type AconexUserProjectsResponsePayload = Array<{
|
|
|
6
6
|
endDate: string;
|
|
7
7
|
active: boolean;
|
|
8
8
|
hidden: boolean;
|
|
9
|
-
}
|
|
10
|
-
export type
|
|
9
|
+
};
|
|
10
|
+
export type AconexDocumentSchema = {
|
|
11
11
|
dataType: AconexDocumentDataType;
|
|
12
12
|
identifier: AconexIdentifiers;
|
|
13
13
|
fieldName: string;
|
|
@@ -17,18 +17,18 @@ export type AconexDocumentSchemaResponsePayload = Array<{
|
|
|
17
17
|
id: string;
|
|
18
18
|
value: string;
|
|
19
19
|
}>;
|
|
20
|
-
}
|
|
21
|
-
export type
|
|
20
|
+
};
|
|
21
|
+
export type AconexDocumentTypeSchema = {
|
|
22
22
|
dataType: AconexDocumentDataType;
|
|
23
|
-
identifier:
|
|
23
|
+
identifier: AconexIdentifiers;
|
|
24
24
|
fieldName: string;
|
|
25
25
|
modifiedFieldName?: string;
|
|
26
|
-
mandatoryStatus:
|
|
26
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
27
27
|
specifications?: Array<AconexFieldSpecification>;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
export type AconexDocumentSchemaField = {
|
|
30
30
|
dataType: AconexDocumentDataType;
|
|
31
|
-
identifier: AconexIdentifiers
|
|
31
|
+
identifier: AconexIdentifiers;
|
|
32
32
|
schemaValues?: Array<{
|
|
33
33
|
id: string;
|
|
34
34
|
value: string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { JsonObject } from "@evercam/api/types";
|
|
2
|
+
export type WithZohoParams = {
|
|
3
|
+
with_zoho?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type AdminSearchProjectItem = {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
status: string;
|
|
9
|
+
exid: string;
|
|
10
|
+
featureFlags: string[];
|
|
11
|
+
};
|
|
12
|
+
export type AdminSearchItem = AdminSearchProjectItem | JsonObject;
|
|
13
|
+
export type AdminInviteRole = {
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
resourceType: string;
|
|
17
|
+
};
|
|
18
|
+
export type AdminInviteAssigner = {
|
|
19
|
+
id: number;
|
|
20
|
+
email: string;
|
|
21
|
+
fullname: string;
|
|
22
|
+
};
|
|
23
|
+
export type AdminInviteAuthContextSubRole = {
|
|
24
|
+
resourceId: string;
|
|
25
|
+
roleId: number;
|
|
26
|
+
};
|
|
27
|
+
export type AdminInviteAuthContext = {
|
|
28
|
+
permissions: string[] | null;
|
|
29
|
+
subRoles: AdminInviteAuthContextSubRole[];
|
|
30
|
+
hasOverride: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type AdminInvite = {
|
|
33
|
+
id: number;
|
|
34
|
+
message: string | null;
|
|
35
|
+
status: number;
|
|
36
|
+
email: string;
|
|
37
|
+
key: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
role: AdminInviteRole;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
resourceId: string;
|
|
42
|
+
assigner: AdminInviteAssigner;
|
|
43
|
+
sentCount: number;
|
|
44
|
+
lastSentAt: string;
|
|
45
|
+
authContext: AdminInviteAuthContext;
|
|
46
|
+
statusName: string;
|
|
47
|
+
};
|
|
48
|
+
export type ZohoDeskTicketSearchResponse = {
|
|
49
|
+
data: JsonObject[];
|
|
50
|
+
count: number;
|
|
51
|
+
};
|
|
@@ -41,6 +41,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
41
41
|
DroneInfo = "DroneInfo",
|
|
42
42
|
ThreeSixtyInfo = "360Info",
|
|
43
43
|
BimCompareInfo = "BimCompareInfo",
|
|
44
|
+
TimelineInfo = "TimelineInfo",
|
|
44
45
|
WeatherReport = "WeatherReport",
|
|
45
46
|
PpeReport = "PpeReport",
|
|
46
47
|
SmartSearch = "SmartSearch",
|
|
@@ -84,6 +85,13 @@ export declare enum AnalyticsEvent {
|
|
|
84
85
|
WidgetsSelect360Floor = "Select360Floor",
|
|
85
86
|
WidgetsSelect360Marker = "Select360Marker",
|
|
86
87
|
Widgets360LockMedia = "360LockMedia",
|
|
88
|
+
WidgetsPauseWidget = "PauseWidget",
|
|
89
|
+
WidgetsEditWidget = "EditWidget",
|
|
90
|
+
WidgetsOpenCredentials = "OpenCredentials",
|
|
91
|
+
WidgetsCopyEmbeddedCode = "CopyEmbeddedCode",
|
|
92
|
+
WidgetsCopyIFrameCode = "CopyIFrameCode",
|
|
93
|
+
WidgetsCopyURLCode = "CopyURLCode",
|
|
94
|
+
WidgetsDeleteWidget = "DeleteWidget",
|
|
87
95
|
WidgetsAddWidgetClick = "AddWidget",
|
|
88
96
|
WidgetsCancelClick = "Cancel",
|
|
89
97
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -178,6 +186,12 @@ export declare enum AnalyticsEvent {
|
|
|
178
186
|
XarySelectLatestDate = "Xray-SelectLatestDate",
|
|
179
187
|
XarySelectOldestDate = "Xray-SelectOldestDate",
|
|
180
188
|
XraySendToConnector = "Xray-SendToConnector",
|
|
189
|
+
XraySendToConnectorSent = "Xray-SendToConnector-Sent",
|
|
190
|
+
XraySendToConnectorProcore = "Xray-SendToConnector-Procore",
|
|
191
|
+
XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos",
|
|
192
|
+
XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations",
|
|
193
|
+
XraySendToConnectorAconex = "Xray-SendToConnector-Aconex",
|
|
194
|
+
XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk",
|
|
181
195
|
WeatherGoBackDate = "Weather-GoBackDate",
|
|
182
196
|
WeatherGoForwardDate = "Weather-GoForwardDate",
|
|
183
197
|
WeatherReportExportFile = "ExportFile",
|
|
@@ -241,11 +255,12 @@ export declare enum AnalyticsEvent {
|
|
|
241
255
|
MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub",
|
|
242
256
|
MarkUpToolDownloadAs = "MarkUpTool-DownloadAs",
|
|
243
257
|
MarkUpToolSendToConnector = "MarkUpTool-SendToConnector",
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
258
|
+
MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent",
|
|
259
|
+
MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore",
|
|
260
|
+
MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos",
|
|
261
|
+
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
|
+
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
|
+
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
249
264
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
250
265
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
251
266
|
RecordingsCreateClip = "CreateClip",
|
|
@@ -317,7 +332,7 @@ export declare enum AnalyticsEvent {
|
|
|
317
332
|
ThreeSixtyUploadAssets = "UploadAssets",
|
|
318
333
|
DroneAreaToolClick = "AreaTool-Click",
|
|
319
334
|
DroneChangeDate = "ChangeDate",
|
|
320
|
-
|
|
335
|
+
DroneChooseCommentType = "ChooseCommentType",
|
|
321
336
|
DroneClickCameraLiveView = "ClickCameraLiveView",
|
|
322
337
|
DroneClickCameraMarker = "ClickCameraMarker",
|
|
323
338
|
DroneCompareToolClick = "CompareTool-Click",
|
|
@@ -332,16 +347,19 @@ export declare enum AnalyticsEvent {
|
|
|
332
347
|
DroneOpenHelpPanel = "OpenHelpPanel",
|
|
333
348
|
DroneOpenImageViewer = "OpenImageViewer",
|
|
334
349
|
DroneResetView = "ResetView",
|
|
335
|
-
DroneSaveTag = "SaveTag",
|
|
336
350
|
DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility",
|
|
337
351
|
DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility",
|
|
338
352
|
DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool",
|
|
339
|
-
|
|
353
|
+
DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility",
|
|
354
|
+
DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility",
|
|
355
|
+
DroneSettingsOpenCommentsList = "Settings-OpenCommentsList",
|
|
340
356
|
DroneShareLink = "ShareLink",
|
|
341
|
-
|
|
357
|
+
DroneCommentsToolClick = "CommentsTool-Click",
|
|
342
358
|
DroneToggleBimCompareTool = "ToggleBimCompareTool",
|
|
343
359
|
DroneToggleFullScreen = "ToggleFullScreen",
|
|
344
360
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
361
|
+
DroneTogglePointCloud = "TogglePointCloud",
|
|
362
|
+
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
345
363
|
DroneToggleQualityMode = "ChooseQuality",
|
|
346
364
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
347
365
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
@@ -352,6 +370,11 @@ export declare enum AnalyticsEvent {
|
|
|
352
370
|
DroneZoomIn = "ZoomIn",
|
|
353
371
|
DroneZoomOut = "ZoomOut",
|
|
354
372
|
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
373
|
+
DroneSaveComment = "SaveComment",
|
|
374
|
+
DroneUnarchiveComment = "UnarchiveComment",
|
|
375
|
+
DroneArchiveComment = "ArchiveComment",
|
|
376
|
+
DroneDeleteComment = "DeleteComment",
|
|
377
|
+
DroneSaveAerialShot = "SaveAerialShot",
|
|
355
378
|
PlannerAddCameraClick = "AddCameraClick",
|
|
356
379
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
357
380
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -376,10 +399,28 @@ export declare enum AnalyticsEvent {
|
|
|
376
399
|
PlannerZoomIn = "ZoomIn",
|
|
377
400
|
PlannerZoomOut = "ZoomOut",
|
|
378
401
|
DrawingCreateSave = "CreateSave",
|
|
402
|
+
DrawingUpdateSave = "UpdateSave",
|
|
379
403
|
DrawingEditName = "EditName",
|
|
380
|
-
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
381
404
|
DrawingUpdateName = "UpdateName",
|
|
382
|
-
|
|
405
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
406
|
+
DrawingClickHome = "ClickHome",
|
|
407
|
+
DrawingsUploadDrawing = "UploadDrawing",
|
|
408
|
+
DrawingsCreateDrawing = "CreateDrawing",
|
|
409
|
+
DrawingToggleFilter = "ToggleFilter",
|
|
410
|
+
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
411
|
+
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
412
|
+
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
413
|
+
DrawingToggleCamerasVisibility = "ToggleCamerasVisibility",
|
|
414
|
+
DrawingToggleTransparencyMode = "ToggleTransparencyMode",
|
|
415
|
+
DrawingChooseDrawing = "ChooseDrawing",
|
|
416
|
+
DrawingChangeLocation = "ChangeLocation",
|
|
417
|
+
DrawingFilterDateRange = "FilterDateRange",
|
|
418
|
+
DrawingFilterDrawingName = "FilterDrawingName",
|
|
419
|
+
DrawingFilterCreatedBy = "FilterCreatedBy",
|
|
420
|
+
DrawingFilterMapStyle = "FilterMapStyle",
|
|
421
|
+
DrawingToggleRotate = "ToggleRotate",
|
|
422
|
+
DrawingToggleScale = "ToggleScale",
|
|
423
|
+
DrawingOpenExistingDrawing = "OpenExistingDrawing",
|
|
383
424
|
MarkerClicked = "MarkerClicked",
|
|
384
425
|
MarkerSelected = "MarkerSelected",
|
|
385
426
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
@@ -393,37 +434,6 @@ export declare enum AnalyticsEvent {
|
|
|
393
434
|
TimelapseGoToMediaHub = "GoToMediaHub",
|
|
394
435
|
TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog",
|
|
395
436
|
TimelapseUploadLogo = "UploadLogo",
|
|
396
|
-
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
397
|
-
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
398
|
-
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
399
|
-
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
400
|
-
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
401
|
-
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
402
|
-
ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter",
|
|
403
|
-
ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter",
|
|
404
|
-
ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter",
|
|
405
|
-
ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter",
|
|
406
|
-
ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter",
|
|
407
|
-
ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter",
|
|
408
|
-
ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked",
|
|
409
|
-
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
410
|
-
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
411
|
-
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
412
|
-
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
413
|
-
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
414
|
-
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
415
|
-
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
416
|
-
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
417
|
-
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
418
|
-
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
419
|
-
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
420
|
-
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
421
|
-
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
422
|
-
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
423
|
-
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
424
|
-
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
425
|
-
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
426
|
-
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
427
437
|
MapViewChooseSatellite = "MapView-ChooseSatellite",
|
|
428
438
|
MapViewChooseTerrain = "MapView-ChooseMap",
|
|
429
439
|
MapViewClickCameraLink = "MapView-ClickCameraLink",
|
|
@@ -440,7 +450,13 @@ export declare enum AnalyticsEvent {
|
|
|
440
450
|
ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName",
|
|
441
451
|
ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter",
|
|
442
452
|
ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter",
|
|
453
|
+
ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo",
|
|
454
|
+
ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo",
|
|
455
|
+
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
456
|
+
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
457
|
+
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
443
458
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
459
|
+
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
444
460
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
445
461
|
ProjectSettingsMembersEditCameraAccess = "EditCameraAccess",
|
|
446
462
|
ProjectSettingsMembersFiltersClick = "FiltersClick",
|
|
@@ -495,8 +511,29 @@ export declare enum AnalyticsEvent {
|
|
|
495
511
|
ExportPdf = "ExportPdf",
|
|
496
512
|
ExportCsv = "ExportCsv",
|
|
497
513
|
FilterCameras = "FilterCameras",
|
|
514
|
+
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
515
|
+
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
516
|
+
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
517
|
+
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
518
|
+
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
519
|
+
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
520
|
+
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
521
|
+
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
522
|
+
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
523
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
524
|
+
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
525
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
526
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
527
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
528
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
529
|
+
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
530
|
+
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
531
|
+
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
532
|
+
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
533
|
+
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
534
|
+
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
498
535
|
CompareSelectProvider = "Compare-SelectProvider",
|
|
499
|
-
|
|
536
|
+
CompareSelectCameras = "Compare-SelectCameras",
|
|
500
537
|
CompareEdit = "Compare-Edit",
|
|
501
538
|
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
502
539
|
CompareSelectMember = "Compare-SelectMember",
|
|
@@ -504,12 +541,33 @@ export declare enum AnalyticsEvent {
|
|
|
504
541
|
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
505
542
|
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
506
543
|
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
544
|
+
CompareSelectType = "Compare-SelectType",
|
|
545
|
+
CompareCreate = "Compare-Create",
|
|
546
|
+
AutomationsEditSearchFilter = "EditSearchFilter",
|
|
547
|
+
AutomationsEditStatusFilter = "EditStatusFilter",
|
|
548
|
+
AutomationsEditUsersFilter = "EditUsersFilter",
|
|
549
|
+
AutomationsEditDaysFilter = "EditDaysFilter",
|
|
550
|
+
AutomationsEditCamerasFilter = "EditCamerasFilter",
|
|
551
|
+
AutomationsFiltersClicked = "FiltersClicked",
|
|
510
552
|
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
511
553
|
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
512
554
|
AutomationTypeName = "TypeName",
|
|
555
|
+
GateReportSelectType = "GateReport-SelectType",
|
|
556
|
+
GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras",
|
|
557
|
+
GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras",
|
|
558
|
+
GateReportToggleClearAllCameras = "GateReport-ClearAllCameras",
|
|
559
|
+
GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter",
|
|
560
|
+
GateReportSelectDays = "GateReport-SelectDays",
|
|
561
|
+
GateReportSelectTime = "GateReport-SelectTime",
|
|
562
|
+
GateReportSelectTimezone = "GateReport-SelectTimezone",
|
|
563
|
+
GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes",
|
|
564
|
+
GateReportSelectColumn = "GateReport-SelectColumn",
|
|
565
|
+
GateReportSelectPeriod = "GateReport-SelectPeriod",
|
|
566
|
+
GateReportSelectExportType = "GateReport-SelectExportType",
|
|
567
|
+
GateReportSelectMember = "GateReport-SelectMember",
|
|
568
|
+
GateReportSelectCameras = "GateReport-SelectCameras",
|
|
569
|
+
GateReportCreate = "GateReport-Create",
|
|
570
|
+
GateReportEdit = "GateReport-Edit",
|
|
513
571
|
CompareSelectDays = "Compare-SelectDays",
|
|
514
572
|
CompareSelectDelay = "Compare-SelectDelay",
|
|
515
573
|
CompareSelectTime = "Compare-SelectTime",
|
|
@@ -525,12 +583,19 @@ export declare enum AnalyticsEvent {
|
|
|
525
583
|
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
526
584
|
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
527
585
|
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
528
|
-
|
|
586
|
+
SmartSearchViewSelected = "SmartSearch-ViewSelected",
|
|
529
587
|
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
530
588
|
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
531
589
|
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
532
590
|
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
533
591
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
534
592
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
535
|
-
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
593
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
594
|
+
AskAIClickAskAI = "AskAI-ClickAskAI",
|
|
595
|
+
AskAIClickExpand = "AskAI-ClickExpand",
|
|
596
|
+
AskAIClickCollapse = "AskAI-ClickCollapse",
|
|
597
|
+
AskAIClickVoice = "AskAI-ClickVoice",
|
|
598
|
+
AskAIClickFullscreen = "AskAI-ClickFullscreen",
|
|
599
|
+
AskAIExitFullscreen = "AskAI-ExitFullscreen",
|
|
600
|
+
AskAICloseChat = "AskAI-CloseChat"
|
|
536
601
|
}
|
package/dist/api/types/anpr.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoundingBox, CameraExid, DateType, GateReportVehicleType, TimelinePrecision } from "
|
|
1
|
+
import { BoundingBox, CameraExid, DateType, GateReportVehicleType, TimelinePrecision } from "@evercam/api/types";
|
|
2
2
|
export type AnprQueryParams = {
|
|
3
3
|
page?: number;
|
|
4
4
|
limit?: number;
|
|
@@ -62,7 +62,13 @@ export type AnprEvent = {
|
|
|
62
62
|
votedVehicleType: GateReportVehicleType | string;
|
|
63
63
|
roiId?: number;
|
|
64
64
|
captureTime: DateType;
|
|
65
|
-
|
|
65
|
+
contextThumbnailUrl: string;
|
|
66
|
+
isPublic: boolean;
|
|
67
|
+
label: string;
|
|
68
|
+
mp4Url: string;
|
|
69
|
+
plateThumbnailUrl: string;
|
|
70
|
+
thumbnailUrl: string;
|
|
71
|
+
metadata: {
|
|
66
72
|
evercamMetadata?: {
|
|
67
73
|
anpr?: {
|
|
68
74
|
bbox: BoundingBox;
|
|
@@ -95,3 +101,14 @@ export declare enum AnprEventStatus {
|
|
|
95
101
|
IsDuplicate = "is_duplicate",
|
|
96
102
|
NotDuplicate = "not_duplicate"
|
|
97
103
|
}
|
|
104
|
+
export type AnprBulkUpdateRequestPayload = {
|
|
105
|
+
anprEventsIds: number[];
|
|
106
|
+
action: AnprEventStatus;
|
|
107
|
+
updatedBy: string;
|
|
108
|
+
};
|
|
109
|
+
export type AnprUpdateRequestPayload = {
|
|
110
|
+
plateNumber: string;
|
|
111
|
+
vehicleType: GateReportVehicleType;
|
|
112
|
+
direction: AnprDirection;
|
|
113
|
+
updatedBy: string;
|
|
114
|
+
};
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
export declare enum RoleResourceType {
|
|
2
|
+
App = "app",
|
|
2
3
|
Camera = "camera",
|
|
3
4
|
Project = "project"
|
|
4
5
|
}
|
|
6
|
+
export type RoleSubRole = {
|
|
7
|
+
resourceId: string;
|
|
8
|
+
roleId: number;
|
|
9
|
+
roleName?: string;
|
|
10
|
+
permissions?: string[];
|
|
11
|
+
};
|
|
5
12
|
export type Role = {
|
|
6
13
|
id: number;
|
|
7
14
|
name: string;
|
|
8
|
-
|
|
15
|
+
description?: string | null;
|
|
16
|
+
resource?: string;
|
|
9
17
|
resourceType: RoleResourceType;
|
|
18
|
+
resourceId?: string | null;
|
|
10
19
|
permissions: string[];
|
|
11
|
-
subRoles?:
|
|
12
|
-
|
|
13
|
-
roleId: number;
|
|
14
|
-
}>;
|
|
20
|
+
subRoles?: RoleSubRole[];
|
|
21
|
+
isDefault?: boolean;
|
|
15
22
|
};
|
|
16
23
|
export type ProjectResourceRole = Role & {
|
|
17
24
|
resourceType: RoleResourceType.Project;
|
|
@@ -19,4 +26,36 @@ export type ProjectResourceRole = Role & {
|
|
|
19
26
|
export type CameraResourceRole = Omit<Role, "subRoles"> & {
|
|
20
27
|
resourceType: RoleResourceType.Camera;
|
|
21
28
|
};
|
|
22
|
-
export type ProjectRoleRequestPayload =
|
|
29
|
+
export type ProjectRoleRequestPayload = {
|
|
30
|
+
name: string;
|
|
31
|
+
permissions: string[];
|
|
32
|
+
subRoles?: RoleSubRole[];
|
|
33
|
+
};
|
|
34
|
+
export type AuthzRoleUser = {
|
|
35
|
+
email: string;
|
|
36
|
+
resourceId: string;
|
|
37
|
+
};
|
|
38
|
+
export type AuthzUserRolesResponse = {
|
|
39
|
+
roles: Role[];
|
|
40
|
+
};
|
|
41
|
+
export type AuthzScopePermission = {
|
|
42
|
+
id: number;
|
|
43
|
+
action: string;
|
|
44
|
+
exid: string;
|
|
45
|
+
};
|
|
46
|
+
export type AuthzScope = {
|
|
47
|
+
id: number;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string | null;
|
|
50
|
+
permissions: AuthzScopePermission[];
|
|
51
|
+
app: string;
|
|
52
|
+
exid: string;
|
|
53
|
+
};
|
|
54
|
+
export type AuthzScopeCreatePayload = {
|
|
55
|
+
name: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
permissions: string[];
|
|
58
|
+
};
|
|
59
|
+
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
60
|
+
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
61
|
+
export declare function isCameraRole(role: Role): role is CameraResourceRole;
|