@evercam/api 1.0.0-364663aee → 1.0.0-3678888fa
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 +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +164 -15
- package/dist/api/api/adminApi.d.ts +16 -12
- package/dist/api/api/aiApi.d.ts +34 -3
- package/dist/api/api/authzApi.d.ts +1 -2
- package/dist/api/api/evercamApi.d.ts +10 -1
- package/dist/api/api/ingestApi.d.ts +3 -2
- package/dist/api/types/360.d.ts +56 -51
- package/dist/api/types/aiConfigs.d.ts +154 -0
- package/dist/api/types/analytics.d.ts +24 -11
- package/dist/api/types/anpr.d.ts +31 -2
- package/dist/api/types/auditLogs.d.ts +18 -0
- package/dist/api/types/axios.d.ts +1 -1
- package/dist/api/types/bim.d.ts +17 -0
- package/dist/api/types/camera.d.ts +9 -24
- package/dist/api/types/comments.d.ts +8 -6
- package/dist/api/types/detections.d.ts +2 -10
- package/dist/api/types/drone.d.ts +95 -6
- package/dist/api/types/gateReport.d.ts +7 -11
- package/dist/api/types/gateReportManagement.d.ts +175 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/ingest.d.ts +2 -2
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/planner.d.ts +55 -2
- package/dist/api/types/project.d.ts +2 -1
- package/dist/api/types/recording.d.ts +2 -8
- package/dist/api/types/roi.d.ts +2 -2
- package/dist/api/types/shared.d.ts +19 -0
- package/dist/api/types/siteAnalytics.d.ts +3 -3
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/snapshots.d.ts +13 -0
- package/dist/api/types/timelapse.d.ts +4 -1
- package/dist/api/types/user.d.ts +0 -1
- package/dist/api/utils.d.ts +0 -1
- package/dist/index.js +1221 -624
- 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 +29 -9
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag } from "@evercam/shared/types";
|
|
1
|
+
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag, TuplePoint2D } from "@evercam/shared/types";
|
|
2
|
+
import type { IngestUploadInitResponse } from "@evercam/api/types";
|
|
2
3
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
4
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
5
|
import { SeriesOptionsType } from "highcharts";
|
|
@@ -31,7 +32,12 @@ export declare enum IframeMessageType {
|
|
|
31
32
|
RefreshComments = "refreshComments",
|
|
32
33
|
CommentSyncFailed = "commentSyncFailed",
|
|
33
34
|
Load360Gallery = "load360Gallery",
|
|
34
|
-
Upload360 = "upload360"
|
|
35
|
+
Upload360 = "upload360",
|
|
36
|
+
FetchForgeToken = "FetchForgeToken",
|
|
37
|
+
ForgeTokenResponse = "ForgeTokenResponse",
|
|
38
|
+
ShowBimUploadChoice = "showBimUploadChoice",
|
|
39
|
+
ViewerLaunchFlags = "viewerLaunchFlags",
|
|
40
|
+
CloseCameraMarkerPreview = "CloseCameraMarkerPreview"
|
|
35
41
|
}
|
|
36
42
|
export declare enum NavigationArrow {
|
|
37
43
|
Previous = "previous",
|
|
@@ -42,7 +48,6 @@ export declare enum WatermarkedImageDownloadOrigin {
|
|
|
42
48
|
Bim = "BIM",
|
|
43
49
|
Snapshot = "snapshot",
|
|
44
50
|
The360 = "360",
|
|
45
|
-
The360Gallery = "360 Gallery",
|
|
46
51
|
Planner = "Planner"
|
|
47
52
|
}
|
|
48
53
|
export declare enum PlayerMode {
|
|
@@ -149,8 +154,8 @@ export type LeaderLineOptions = {
|
|
|
149
154
|
startPlugSize?: number;
|
|
150
155
|
endPlugSize?: number;
|
|
151
156
|
path?: LeaderLinesPathType;
|
|
152
|
-
startSocketGravity?:
|
|
153
|
-
endSocketGravity?:
|
|
157
|
+
startSocketGravity?: TuplePoint2D;
|
|
158
|
+
endSocketGravity?: TuplePoint2D;
|
|
154
159
|
dash?: {
|
|
155
160
|
animation: boolean | {
|
|
156
161
|
duration: number;
|
|
@@ -167,10 +172,6 @@ export type LineConfig = {
|
|
|
167
172
|
end: CssSelector | CssSelector[];
|
|
168
173
|
options?: LeaderLineOptions;
|
|
169
174
|
};
|
|
170
|
-
export type Point = {
|
|
171
|
-
x: number;
|
|
172
|
-
y: number;
|
|
173
|
-
};
|
|
174
175
|
export declare enum ZohoDeskTicketStatus {
|
|
175
176
|
Closed = "Closed",
|
|
176
177
|
OnHold = "On Hold",
|
|
@@ -215,6 +216,17 @@ export type FormSchemaField = {
|
|
|
215
216
|
columns?: number;
|
|
216
217
|
};
|
|
217
218
|
export type FormSchema = Record<string, FormSchemaField>;
|
|
219
|
+
export type DrawingStats = {
|
|
220
|
+
overlay: boolean;
|
|
221
|
+
geolocated: boolean;
|
|
222
|
+
isCalibrated: boolean;
|
|
223
|
+
walks: number;
|
|
224
|
+
markers: number;
|
|
225
|
+
minimodel: number;
|
|
226
|
+
bim: number;
|
|
227
|
+
comments: number;
|
|
228
|
+
lastCapturedDate: string | null;
|
|
229
|
+
};
|
|
218
230
|
export interface ScrollListener {
|
|
219
231
|
element: Element | Window;
|
|
220
232
|
handler: () => void;
|
|
@@ -301,3 +313,11 @@ export type TableHeaderParams<TItem = unknown> = {
|
|
|
301
313
|
toStringFn?: (item: TItem, key: string) => any;
|
|
302
314
|
sort?: (a: unknown, b: unknown) => number;
|
|
303
315
|
};
|
|
316
|
+
export type BimUploadObject = IngestUploadInitResponse & {
|
|
317
|
+
projectName: string;
|
|
318
|
+
};
|
|
319
|
+
export type BimUploadFileResult = {
|
|
320
|
+
url: string;
|
|
321
|
+
title: string;
|
|
322
|
+
fileExtension: string;
|
|
323
|
+
};
|
|
@@ -13,7 +13,7 @@ export type EventMarker<T extends {}> = T & {
|
|
|
13
13
|
label: string;
|
|
14
14
|
thumbnailUrl: string;
|
|
15
15
|
isActive: boolean;
|
|
16
|
-
|
|
16
|
+
markerType?: RecordingsMarker;
|
|
17
17
|
};
|
|
18
18
|
export type SnapshotEvent<T extends {}> = T & {
|
|
19
19
|
eventTime: Timestamp;
|
|
@@ -22,6 +22,13 @@ export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
|
|
|
22
22
|
frameIndex: number;
|
|
23
23
|
snapshotTimestamp: Timestamp;
|
|
24
24
|
};
|
|
25
|
+
export declare enum RecordingsMarker {
|
|
26
|
+
Comment = "comment",
|
|
27
|
+
GateReport = "gate-report",
|
|
28
|
+
Anpr = "anpr",
|
|
29
|
+
Detection = "detection",
|
|
30
|
+
SmartSearch = "smart-search"
|
|
31
|
+
}
|
|
25
32
|
export declare enum ImageQuality {
|
|
26
33
|
ThreeSixty = "360",
|
|
27
34
|
FourEighty = "480",
|
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-3678888fa",
|
|
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.9.1",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4"
|