@evercam/api 1.0.0-bc5229297 → 1.0.0-bdf31a1d5
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 +5 -12
- package/dist/api/api/adminApi.d.ts +15 -12
- package/dist/api/api/aiApi.d.ts +33 -1
- package/dist/api/api/evercamApi.d.ts +15 -6
- package/dist/api/api/ingestApi.d.ts +8 -2
- package/dist/api/types/360.d.ts +10 -1
- package/dist/api/types/aiConfigs.d.ts +154 -0
- package/dist/api/types/analytics.d.ts +25 -1
- 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 +6 -5
- package/dist/api/types/bim.d.ts +25 -0
- package/dist/api/types/camera.d.ts +5 -3
- package/dist/api/types/comments.d.ts +8 -6
- package/dist/api/types/connector.d.ts +1 -0
- package/dist/api/types/detections.d.ts +2 -10
- package/dist/api/types/drone.d.ts +6 -5
- package/dist/api/types/errors.d.ts +11 -0
- package/dist/api/types/gateReport.d.ts +1 -0
- package/dist/api/types/gateReportManagement.d.ts +175 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/ingest.d.ts +3 -2
- package/dist/api/types/media.d.ts +6 -1
- package/dist/api/types/planner.d.ts +2 -3
- package/dist/api/types/recording.d.ts +3 -8
- package/dist/api/types/roi.d.ts +2 -1
- package/dist/api/types/shared.d.ts +1 -0
- package/dist/api/types/siteAnalytics.d.ts +3 -3
- package/dist/api/types/siteView.d.ts +0 -1
- package/dist/api/types/snapshots.d.ts +13 -0
- package/dist/api/types/timelapse.d.ts +2 -6
- package/dist/api/types/user.d.ts +1 -1
- package/dist/api/utils.d.ts +0 -1
- package/dist/index.js +881 -729
- 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 +21 -4
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/dist/shared/types/index.d.ts +1 -0
- package/package.json +4 -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 { AdminCamera, 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";
|
|
@@ -6,6 +7,11 @@ export type SelectItem = {
|
|
|
6
7
|
text: string;
|
|
7
8
|
value: string | number;
|
|
8
9
|
};
|
|
10
|
+
export type RoiProjectGroup = {
|
|
11
|
+
exid: string;
|
|
12
|
+
name: string;
|
|
13
|
+
cameras: AdminCamera[];
|
|
14
|
+
};
|
|
9
15
|
export declare enum IframeMessageType {
|
|
10
16
|
LiveView = "liveView",
|
|
11
17
|
EditSnapshot = "editSnapshot",
|
|
@@ -34,7 +40,9 @@ export declare enum IframeMessageType {
|
|
|
34
40
|
Upload360 = "upload360",
|
|
35
41
|
FetchForgeToken = "FetchForgeToken",
|
|
36
42
|
ForgeTokenResponse = "ForgeTokenResponse",
|
|
37
|
-
|
|
43
|
+
ShowBimUploadChoice = "showBimUploadChoice",
|
|
44
|
+
ViewerLaunchFlags = "viewerLaunchFlags",
|
|
45
|
+
CloseCameraMarkerPreview = "CloseCameraMarkerPreview"
|
|
38
46
|
}
|
|
39
47
|
export declare enum NavigationArrow {
|
|
40
48
|
Previous = "previous",
|
|
@@ -151,8 +159,8 @@ export type LeaderLineOptions = {
|
|
|
151
159
|
startPlugSize?: number;
|
|
152
160
|
endPlugSize?: number;
|
|
153
161
|
path?: LeaderLinesPathType;
|
|
154
|
-
startSocketGravity?:
|
|
155
|
-
endSocketGravity?:
|
|
162
|
+
startSocketGravity?: TuplePoint2D;
|
|
163
|
+
endSocketGravity?: TuplePoint2D;
|
|
156
164
|
dash?: {
|
|
157
165
|
animation: boolean | {
|
|
158
166
|
duration: number;
|
|
@@ -226,6 +234,7 @@ export type DrawingStats = {
|
|
|
226
234
|
};
|
|
227
235
|
export interface ScrollListener {
|
|
228
236
|
element: Element | Window;
|
|
237
|
+
event: "scroll" | "resize";
|
|
229
238
|
handler: () => void;
|
|
230
239
|
}
|
|
231
240
|
export interface LeaderLineInstance {
|
|
@@ -310,3 +319,11 @@ export type TableHeaderParams<TItem = unknown> = {
|
|
|
310
319
|
toStringFn?: (item: TItem, key: string) => any;
|
|
311
320
|
sort?: (a: unknown, b: unknown) => number;
|
|
312
321
|
};
|
|
322
|
+
export type BimUploadObject = IngestUploadInitResponse & {
|
|
323
|
+
projectName: string;
|
|
324
|
+
};
|
|
325
|
+
export type BimUploadFileResult = {
|
|
326
|
+
url: string;
|
|
327
|
+
title: string;
|
|
328
|
+
fileExtension: string;
|
|
329
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum CustomDataTableFilterType {
|
|
2
|
+
Select = "SelectSearchFilter",
|
|
3
|
+
Text = "TextFieldSearchFilter"
|
|
4
|
+
}
|
|
5
|
+
export interface CustomDataTableFilterField<T = unknown> {
|
|
6
|
+
component: CustomDataTableFilterType;
|
|
7
|
+
attributes?: Record<string, unknown>;
|
|
8
|
+
customFilter?: (item: T, fieldName: string, search: unknown) => boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CustomDataTableFilterFields<T = unknown> = Record<string, CustomDataTableFilterField<T>>;
|
|
@@ -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-bdf31a1d5",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"readme": "README.md",
|
|
30
30
|
"scripts": {
|
|
31
|
+
"preinstall": "node ../shared/ci-scripts/check-bootstrap.js",
|
|
32
|
+
"bootstrap": "node ../shared/ci-scripts/bootstrap.js",
|
|
31
33
|
"clean": "rimraf dist",
|
|
32
34
|
"typecheck": "tsc --noEmit",
|
|
33
35
|
"build:types": "tsc --declaration --emitDeclarationOnly",
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
39
|
},
|
|
38
40
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^25.
|
|
41
|
+
"@types/node": "^25.9.1",
|
|
40
42
|
"vite": "latest",
|
|
41
43
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
44
|
"vite-plugin-dts": "^4.5.4"
|