@evercam/api 1.0.0-bc158a880 → 1.0.0-bc5229297
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 +171 -15
- package/dist/api/api/adminApi.d.ts +8 -1
- package/dist/api/api/aiApi.d.ts +2 -2
- package/dist/api/api/authzApi.d.ts +1 -2
- package/dist/api/api/evercamApi.d.ts +10 -2
- package/dist/api/api/ingestApi.d.ts +44 -43
- package/dist/api/types/360.d.ts +55 -50
- package/dist/api/types/analytics.d.ts +9 -14
- package/dist/api/types/authz.d.ts +1 -0
- package/dist/api/types/axios.d.ts +3 -3
- package/dist/api/types/camera.d.ts +10 -23
- package/dist/api/types/drone.d.ts +92 -3
- package/dist/api/types/gateReport.d.ts +6 -11
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/ingest.d.ts +14 -1
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/planner.d.ts +98 -0
- package/dist/api/types/project.d.ts +8 -3
- package/dist/api/types/recording.d.ts +3 -1
- package/dist/api/types/roi.d.ts +2 -2
- package/dist/api/types/shared.d.ts +18 -0
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/snapshots.d.ts +35 -3
- package/dist/api/types/timelapse.d.ts +9 -1
- package/dist/api/types/user.d.ts +0 -1
- package/dist/index.js +1240 -710
- 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 +48 -6
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/package.json +2 -2
|
@@ -2,6 +2,40 @@ import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot
|
|
|
2
2
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
3
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
4
|
import { SeriesOptionsType } from "highcharts";
|
|
5
|
+
export type SelectItem = {
|
|
6
|
+
text: string;
|
|
7
|
+
value: string | number;
|
|
8
|
+
};
|
|
9
|
+
export declare enum IframeMessageType {
|
|
10
|
+
LiveView = "liveView",
|
|
11
|
+
EditSnapshot = "editSnapshot",
|
|
12
|
+
Weather = "weather",
|
|
13
|
+
CameraInfo = "cameraInfo",
|
|
14
|
+
AnalyticsEvent = "analyticsEvent",
|
|
15
|
+
Ready = "ready",
|
|
16
|
+
Info = "info",
|
|
17
|
+
GateReport = "gateReport",
|
|
18
|
+
CreateCompare = "createCompare",
|
|
19
|
+
UploadDrone = "uploadDrone",
|
|
20
|
+
UploadBIM = "uploadBIM",
|
|
21
|
+
History = "history",
|
|
22
|
+
PerformanceScore = "performanceScore",
|
|
23
|
+
ShareLink = "shareLink",
|
|
24
|
+
LoadForgeModel = "loadForgeModel",
|
|
25
|
+
LoadPlannerList = "loadPlannerList",
|
|
26
|
+
SaveProjectBounds = "saveProjectBounds",
|
|
27
|
+
ArchiveComment = "archiveComment",
|
|
28
|
+
UnarchiveComment = "unarchiveComment",
|
|
29
|
+
DeleteComment = "deleteComment",
|
|
30
|
+
CreateComment = "createComment",
|
|
31
|
+
RefreshComments = "refreshComments",
|
|
32
|
+
CommentSyncFailed = "commentSyncFailed",
|
|
33
|
+
Load360Gallery = "load360Gallery",
|
|
34
|
+
Upload360 = "upload360",
|
|
35
|
+
FetchForgeToken = "FetchForgeToken",
|
|
36
|
+
ForgeTokenResponse = "ForgeTokenResponse",
|
|
37
|
+
ViewerLaunchFlags = "viewerLaunchFlags"
|
|
38
|
+
}
|
|
5
39
|
export declare enum NavigationArrow {
|
|
6
40
|
Previous = "previous",
|
|
7
41
|
Next = "next"
|
|
@@ -11,7 +45,6 @@ export declare enum WatermarkedImageDownloadOrigin {
|
|
|
11
45
|
Bim = "BIM",
|
|
12
46
|
Snapshot = "snapshot",
|
|
13
47
|
The360 = "360",
|
|
14
|
-
The360Gallery = "360 Gallery",
|
|
15
48
|
Planner = "Planner"
|
|
16
49
|
}
|
|
17
50
|
export declare enum PlayerMode {
|
|
@@ -136,10 +169,6 @@ export type LineConfig = {
|
|
|
136
169
|
end: CssSelector | CssSelector[];
|
|
137
170
|
options?: LeaderLineOptions;
|
|
138
171
|
};
|
|
139
|
-
export type Point = {
|
|
140
|
-
x: number;
|
|
141
|
-
y: number;
|
|
142
|
-
};
|
|
143
172
|
export declare enum ZohoDeskTicketStatus {
|
|
144
173
|
Closed = "Closed",
|
|
145
174
|
OnHold = "On Hold",
|
|
@@ -184,6 +213,17 @@ export type FormSchemaField = {
|
|
|
184
213
|
columns?: number;
|
|
185
214
|
};
|
|
186
215
|
export type FormSchema = Record<string, FormSchemaField>;
|
|
216
|
+
export type DrawingStats = {
|
|
217
|
+
overlay: boolean;
|
|
218
|
+
geolocated: boolean;
|
|
219
|
+
isCalibrated: boolean;
|
|
220
|
+
walks: number;
|
|
221
|
+
markers: number;
|
|
222
|
+
minimodel: number;
|
|
223
|
+
bim: number;
|
|
224
|
+
comments: number;
|
|
225
|
+
lastCapturedDate: string | null;
|
|
226
|
+
};
|
|
187
227
|
export interface ScrollListener {
|
|
188
228
|
element: Element | Window;
|
|
189
229
|
handler: () => void;
|
|
@@ -265,6 +305,8 @@ export type TableHeaderParams<TItem = unknown> = {
|
|
|
265
305
|
align?: string;
|
|
266
306
|
sortable?: boolean;
|
|
267
307
|
visible?: boolean;
|
|
268
|
-
width?: number;
|
|
308
|
+
width?: number | string;
|
|
309
|
+
copyable?: boolean;
|
|
269
310
|
toStringFn?: (item: TItem, key: string) => any;
|
|
311
|
+
sort?: (a: unknown, b: unknown) => number;
|
|
270
312
|
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { ProjectMember, ProjectInvite, ProjectResourceRole } from "@evercam/api/types";
|
|
2
|
+
export type HasRoleChangedFn<T = ProjectMember | ProjectInvite> = (entity: T, baseRole: ProjectResourceRole) => boolean;
|
|
3
|
+
export type ProjectRoleData = {
|
|
4
|
+
id?: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
permissions: string[];
|
|
8
|
+
subRoles?: Array<{
|
|
9
|
+
resourceId: string;
|
|
10
|
+
roleId: number | null;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
export type ProjectResourcePermission = {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
requires?: string;
|
|
18
|
+
};
|
|
19
|
+
export type ProjectResource = {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
permissions: ProjectResourcePermission[];
|
|
23
|
+
};
|
|
24
|
+
export type ProjectPermissionWarning = {
|
|
25
|
+
resourceId: string;
|
|
26
|
+
message: string;
|
|
27
|
+
type?: string;
|
|
28
|
+
cameraExids?: string[];
|
|
29
|
+
accessLevel?: string;
|
|
30
|
+
grantAllPermissions?: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type ProjectDisabledPermission = {
|
|
33
|
+
id: string;
|
|
34
|
+
reason: string;
|
|
35
|
+
};
|
|
36
|
+
export type CameraAccessFilters = {
|
|
37
|
+
memberName: string;
|
|
38
|
+
memberEmail: string;
|
|
39
|
+
cameraName: string;
|
|
40
|
+
};
|
|
41
|
+
export type CameraAccessLevelConfig = {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
permissions: string[];
|
|
46
|
+
};
|
|
47
|
+
export declare enum CameraStatusGroup {
|
|
48
|
+
Active = "active",
|
|
49
|
+
Pending = "pending",
|
|
50
|
+
Archived = "archived"
|
|
51
|
+
}
|
|
52
|
+
export type CameraStatusGroupConfig = {
|
|
53
|
+
text: string;
|
|
54
|
+
icon: string;
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
export type CameraFeatureIconConfig = {
|
|
58
|
+
icon: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
};
|
|
61
|
+
export type RecipientRule = {
|
|
62
|
+
blocked: string[];
|
|
63
|
+
};
|
|
64
|
+
export type RecipientRules = {
|
|
65
|
+
notExistingRecipients?: RecipientRule;
|
|
66
|
+
notPendingInviteRecipients?: RecipientRule;
|
|
67
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/api",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-bc5229297",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^25.
|
|
39
|
+
"@types/node": "^25.6.0",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4"
|