@evercam/api 1.0.0-b3c857a59 → 1.0.0-b99c2db9d
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 +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +21 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +71 -5
- package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +43 -9
- package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
- package/dist/api/{client → api/client}/interceptors.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +63 -21
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +5 -3
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +95 -0
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/{types → api/types}/360.d.ts +58 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/{types → api/types}/analytics.d.ts +89 -7
- package/dist/{types → api/types}/anpr.d.ts +7 -11
- package/dist/api/types/automation.d.ts +61 -0
- package/dist/{types → api/types}/axios.d.ts +15 -0
- package/dist/{types → api/types}/camera.d.ts +24 -5
- package/dist/{types → api/types}/comments.d.ts +18 -2
- package/dist/{types → api/types}/company.d.ts +29 -1
- package/dist/{types → api/types}/connector.d.ts +4 -0
- package/dist/{types → api/types}/coolify.d.ts +2 -0
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/detections.d.ts +51 -15
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/index.d.ts +3 -0
- package/dist/{types → api/types}/ingest.d.ts +8 -0
- package/dist/{types → api/types}/kit.d.ts +36 -7
- package/dist/{types → api/types}/planner.d.ts +4 -0
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/api/types/procore.d.ts +222 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
- package/dist/{types → api/types}/project.d.ts +10 -2
- package/dist/{types → api/types}/recording.d.ts +1 -2
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/shared.d.ts +1 -6
- package/dist/{types → api/types}/siteAnalytics.d.ts +47 -7
- package/dist/{types → api/types}/snapshots.d.ts +9 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/{types → api/types}/streaming.d.ts +1 -2
- package/dist/{types → api/types}/time.d.ts +6 -0
- package/dist/{types → api/types}/user.d.ts +5 -6
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +2 -0
- package/dist/{types → api/types}/widget.d.ts +27 -6
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1260 -689
- 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 +5 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/ingestApi.d.ts +0 -68
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +0 -0
- /package/dist/api/{client → api/client}/axios.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
- /package/dist/api/{ptzApi.d.ts → api/ptzApi.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}/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}/compare.d.ts +0 -0
- /package/dist/{types → api/types}/copilot.d.ts +0 -0
- /package/dist/{types → api/types}/credentials.d.ts +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/gateReport.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}/roi.d.ts +0 -0
- /package/dist/{types → api/types}/router.d.ts +0 -0
- /package/dist/{types → api/types}/shares.d.ts +0 -0
- /package/dist/{types → api/types}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.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}/xweather.d.ts +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from "axios";
|
|
2
|
+
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
3
|
+
import { IngestVersions } from "@evercam/api/types";
|
|
4
|
+
export declare const getIngestApiUrl: (version: string) => string | undefined | null;
|
|
5
|
+
export declare const IngestApi: {
|
|
6
|
+
drone: {
|
|
7
|
+
createUpload(projectId: string, params: {
|
|
8
|
+
uploadedBy: string;
|
|
9
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
+
reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
getDrones(params: {
|
|
12
|
+
params: Partial<DronesQueryParams>;
|
|
13
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
+
getArchive(id: number, params: {
|
|
15
|
+
dataType: string;
|
|
16
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
+
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
+
prepareForUpload(projectId: string, params: {
|
|
19
|
+
uploadedBy: string;
|
|
20
|
+
token: string;
|
|
21
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
|
+
upload(projectId: string, params: {
|
|
23
|
+
uploadedBy: string;
|
|
24
|
+
token: string;
|
|
25
|
+
}, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
|
+
verifyToken(projectId: string, params: {
|
|
27
|
+
token: string;
|
|
28
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
+
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
+
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
+
isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
+
getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
33
|
+
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
34
|
+
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
+
};
|
|
36
|
+
assets360: {
|
|
37
|
+
get360Assets(params: {
|
|
38
|
+
params: Partial<_360AssetsQueryParams>;
|
|
39
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
+
get360AssetsCounts(projectId: string, params: {
|
|
41
|
+
uploadedBy: string;
|
|
42
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
+
update360(id: number, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
+
deleteUpload(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
|
+
getArchive(id: number, params: {
|
|
48
|
+
dateType: string;
|
|
49
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
50
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
51
|
+
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
52
|
+
reprocess360(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
53
|
+
drawingExists(payload: {
|
|
54
|
+
params: {
|
|
55
|
+
name: string;
|
|
56
|
+
project_id: string;
|
|
57
|
+
};
|
|
58
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
59
|
+
getDrawings(payload: {
|
|
60
|
+
params: DrawingsRequestPayload;
|
|
61
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
+
getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
+
deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
+
fetchDrawingOverlay(id: number, params: {
|
|
68
|
+
view: boolean;
|
|
69
|
+
}, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
+
get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<Record<string, any>>;
|
|
72
|
+
};
|
|
73
|
+
bim: {
|
|
74
|
+
createUpload(projectId: string, params: {
|
|
75
|
+
uploadedBy: string;
|
|
76
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
77
|
+
getBIMs(params: {
|
|
78
|
+
params: Partial<BimUploadsQueryParams>;
|
|
79
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
80
|
+
getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
81
|
+
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
82
|
+
upload(projectId: string, params: {
|
|
83
|
+
id: string;
|
|
84
|
+
name: string;
|
|
85
|
+
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
86
|
+
};
|
|
87
|
+
mobileCapture: {
|
|
88
|
+
getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
|
|
89
|
+
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
90
|
+
deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
91
|
+
};
|
|
92
|
+
utils: {
|
|
93
|
+
loadAllAssetsInQueue(): Promise<any[]>;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
+
import { VideoWall, ListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
3
|
+
export declare const VideoWallApi: {
|
|
4
|
+
list(params?: ListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
|
|
5
|
+
create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
6
|
+
get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
7
|
+
update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
8
|
+
delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
+
};
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./3dFirebaseApi";
|
|
5
|
-
export * from "./aiApi";
|
|
6
|
-
export * from "./webRtcApi";
|
|
7
|
-
export * from "./weatherApi";
|
|
8
|
-
export * from "./evercamLabsApi";
|
|
9
|
-
export * from "./evercamApi";
|
|
10
|
-
export * from "./ptzApi";
|
|
11
|
-
export * from "./ingestApi";
|
|
12
|
-
export * from "./exNvrApi";
|
|
13
|
-
export * from "./authzApi";
|
|
1
|
+
export * from "./api";
|
|
2
|
+
export * from "./types";
|
|
3
|
+
export * from "./utils";
|
|
@@ -40,6 +40,15 @@ export declare enum _360AssetType {
|
|
|
40
40
|
MobilePhoto = "mobile_photos",
|
|
41
41
|
MobileAudio = "mobile_audios"
|
|
42
42
|
}
|
|
43
|
+
export declare enum _360AssetLabel {
|
|
44
|
+
Walks = "walks",
|
|
45
|
+
MobilePhotos = "mobilePhotos"
|
|
46
|
+
}
|
|
47
|
+
export declare enum _360Feature {
|
|
48
|
+
BIM = "BIM",
|
|
49
|
+
Minimap = "Minimap",
|
|
50
|
+
Minimodel = "Minimodel"
|
|
51
|
+
}
|
|
43
52
|
export declare enum _360IntergrationType {
|
|
44
53
|
Evercam = "Evercam",
|
|
45
54
|
Matterport = "Matterport",
|
|
@@ -47,6 +56,11 @@ export declare enum _360IntergrationType {
|
|
|
47
56
|
HoloBuilder = "Holobuilder",
|
|
48
57
|
DroneDeploy = "Dronedeploy"
|
|
49
58
|
}
|
|
59
|
+
export declare enum PathMarkerColor {
|
|
60
|
+
Start = "#00e74c",
|
|
61
|
+
End = "#fd7567",
|
|
62
|
+
Default = "#2196F3"
|
|
63
|
+
}
|
|
50
64
|
export type _360AssetsQueryParams = {
|
|
51
65
|
page: number;
|
|
52
66
|
limit: number;
|
|
@@ -61,6 +75,49 @@ export type _360AssetsRequestPayload = {
|
|
|
61
75
|
floor: string;
|
|
62
76
|
uploadedBy?: string;
|
|
63
77
|
};
|
|
78
|
+
export type DrawingsRequestPayload = {
|
|
79
|
+
projectId?: string;
|
|
80
|
+
name?: string;
|
|
81
|
+
changedBy?: string;
|
|
82
|
+
mapStyle?: string;
|
|
83
|
+
startDate?: string;
|
|
84
|
+
endDate?: string;
|
|
85
|
+
id?: number;
|
|
86
|
+
page?: number;
|
|
87
|
+
limit?: number;
|
|
88
|
+
paginate?: boolean;
|
|
89
|
+
};
|
|
90
|
+
export type GenerateFloorPayload = {
|
|
91
|
+
overlay?: {
|
|
92
|
+
url: string;
|
|
93
|
+
title: string;
|
|
94
|
+
fileExtension: string;
|
|
95
|
+
};
|
|
96
|
+
changedBy: string;
|
|
97
|
+
name?: string;
|
|
98
|
+
mapStyle?: string;
|
|
99
|
+
overlayPositionCorners: {
|
|
100
|
+
northEast: {
|
|
101
|
+
lat: number;
|
|
102
|
+
lng: number;
|
|
103
|
+
};
|
|
104
|
+
northWest: {
|
|
105
|
+
lat: number;
|
|
106
|
+
lng: number;
|
|
107
|
+
};
|
|
108
|
+
southWest: {
|
|
109
|
+
lat: number;
|
|
110
|
+
lng: number;
|
|
111
|
+
};
|
|
112
|
+
southEast: {
|
|
113
|
+
lat: number;
|
|
114
|
+
lng: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export type _360QueueQueryParams = {
|
|
119
|
+
projectId?: string;
|
|
120
|
+
};
|
|
64
121
|
export type _360AssetsUploadPayload = {
|
|
65
122
|
targetPointsCount: number;
|
|
66
123
|
assetType: string;
|
|
@@ -73,6 +130,7 @@ export type _360AssetsUploadPayload = {
|
|
|
73
130
|
startPosition: string;
|
|
74
131
|
endPosition: string;
|
|
75
132
|
isTimelapse: boolean;
|
|
133
|
+
isImagesOnly: boolean;
|
|
76
134
|
};
|
|
77
135
|
export type Generate360MapRequestPayload = {
|
|
78
136
|
dateId: string;
|
|
@@ -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
|
+
}
|
|
@@ -20,6 +20,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
20
20
|
ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings",
|
|
21
21
|
ProjectSettingsMembers = "ProjectSettings-Members",
|
|
22
22
|
ProjectSettingsOverview = "ProjectSettings-Overview",
|
|
23
|
+
ProjectSettingsDangerZone = "ProjectSettings-DangerZone",
|
|
23
24
|
Settings = "Settings",
|
|
24
25
|
SettingsAccount = "Settings-Account",
|
|
25
26
|
SettingsConnectors = "Settings-Connectors",
|
|
@@ -40,7 +41,10 @@ export declare enum AnalyticsEventPageId {
|
|
|
40
41
|
DroneInfo = "DroneInfo",
|
|
41
42
|
ThreeSixtyInfo = "360Info",
|
|
42
43
|
BimCompareInfo = "BimCompareInfo",
|
|
43
|
-
WeatherReport = "WeatherReport"
|
|
44
|
+
WeatherReport = "WeatherReport",
|
|
45
|
+
PpeReport = "PpeReport",
|
|
46
|
+
SmartSearch = "SmartSearch",
|
|
47
|
+
Drawings = "Drawings"
|
|
44
48
|
}
|
|
45
49
|
export declare enum AnalyticsEvent {
|
|
46
50
|
PageView = "PageView",
|
|
@@ -74,6 +78,12 @@ export declare enum AnalyticsEvent {
|
|
|
74
78
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
75
79
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
76
80
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
81
|
+
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
82
|
+
WidgetsSelectProject = "SelectProject",
|
|
83
|
+
WidgetsSelect360Date = "Select360Date",
|
|
84
|
+
WidgetsSelect360Floor = "Select360Floor",
|
|
85
|
+
WidgetsSelect360Marker = "Select360Marker",
|
|
86
|
+
Widgets360LockMedia = "360LockMedia",
|
|
77
87
|
WidgetsAddWidgetClick = "AddWidget",
|
|
78
88
|
WidgetsCancelClick = "Cancel",
|
|
79
89
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -100,6 +110,7 @@ export declare enum AnalyticsEvent {
|
|
|
100
110
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
101
111
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
102
112
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
113
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
103
114
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
104
115
|
PlayerDownload = "Player-Download",
|
|
105
116
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -234,7 +245,6 @@ export declare enum AnalyticsEvent {
|
|
|
234
245
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
235
246
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
236
247
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
237
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
238
248
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
239
249
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
240
250
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -256,6 +266,18 @@ export declare enum AnalyticsEvent {
|
|
|
256
266
|
SharingTransferOwnership = "TransferOwnership",
|
|
257
267
|
SharingSortBy = "SortBy",
|
|
258
268
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
269
|
+
ThreeSixtyGallery = "Gallery",
|
|
270
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
271
|
+
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
272
|
+
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
273
|
+
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
274
|
+
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
275
|
+
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
276
|
+
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
277
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
278
|
+
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
279
|
+
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
280
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
259
281
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
260
282
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
261
283
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -292,6 +314,7 @@ export declare enum AnalyticsEvent {
|
|
|
292
314
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
293
315
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
294
316
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
317
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
295
318
|
DroneAreaToolClick = "AreaTool-Click",
|
|
296
319
|
DroneChangeDate = "ChangeDate",
|
|
297
320
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -328,6 +351,7 @@ export declare enum AnalyticsEvent {
|
|
|
328
351
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
329
352
|
DroneZoomIn = "ZoomIn",
|
|
330
353
|
DroneZoomOut = "ZoomOut",
|
|
354
|
+
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
331
355
|
PlannerAddCameraClick = "AddCameraClick",
|
|
332
356
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
333
357
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -351,8 +375,13 @@ export declare enum AnalyticsEvent {
|
|
|
351
375
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
352
376
|
PlannerZoomIn = "ZoomIn",
|
|
353
377
|
PlannerZoomOut = "ZoomOut",
|
|
378
|
+
DrawingCreateSave = "CreateSave",
|
|
379
|
+
DrawingEditName = "EditName",
|
|
380
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
381
|
+
DrawingUpdateName = "UpdateName",
|
|
382
|
+
DrawingUpdateSave = "UpdateSave",
|
|
354
383
|
MarkerClicked = "MarkerClicked",
|
|
355
|
-
|
|
384
|
+
MarkerSelected = "MarkerSelected",
|
|
356
385
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
357
386
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
358
387
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -380,12 +409,18 @@ export declare enum AnalyticsEvent {
|
|
|
380
409
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
381
410
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
382
411
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
412
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
383
413
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
414
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
415
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
416
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
417
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
384
418
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
385
419
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
386
420
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
387
421
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
388
422
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
423
|
+
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
389
424
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
390
425
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
391
426
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -435,20 +470,67 @@ export declare enum AnalyticsEvent {
|
|
|
435
470
|
MediaCopyMediaLink = "Media-CopyMediaLink",
|
|
436
471
|
MediaGoToMediaHub = "Media-GoBackToMediaHub",
|
|
437
472
|
GateReportCalendarTreeDateClick = "CalendarTree-DateClick",
|
|
438
|
-
GateReportExportPdf = "ExportPdf",
|
|
439
|
-
GateReportExportCsv = "ExportCsv",
|
|
440
473
|
GateReportFilterEntryExit = "FilterEntryExit",
|
|
441
|
-
GateReportFilterCameras = "FilterCameras",
|
|
442
474
|
GateReportFilterPlateNumber = "FilterPlateNumber",
|
|
443
475
|
GateReportFilterVehicleTypes = "FilterVehicleTypes",
|
|
444
476
|
GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo",
|
|
445
477
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
446
478
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
479
|
+
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
447
480
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
481
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
448
482
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
449
483
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
450
484
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
451
485
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
452
486
|
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
453
|
-
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink"
|
|
487
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
488
|
+
Recording = "Recording",
|
|
489
|
+
CameraFilter = "CameraFilter",
|
|
490
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
491
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
492
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
493
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
494
|
+
ExportAs = "ExportAs",
|
|
495
|
+
ExportPdf = "ExportPdf",
|
|
496
|
+
ExportCsv = "ExportCsv",
|
|
497
|
+
FilterCameras = "FilterCameras",
|
|
498
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
499
|
+
CompareEditSelectedCameras = "Compare-EditSelectedCameras",
|
|
500
|
+
CompareEdit = "Compare-Edit",
|
|
501
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
502
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
503
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
504
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
505
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
506
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
507
|
+
AutomationsSelectProgressPhoto = "SelectProgressPhoto",
|
|
508
|
+
AutomationsSelectCompare = "SelectCompare",
|
|
509
|
+
AutomationsCreateCompare = "CreateCompare",
|
|
510
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
511
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
512
|
+
AutomationTypeName = "TypeName",
|
|
513
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
514
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
515
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
516
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
517
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
518
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
519
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
520
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
521
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
522
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
523
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
524
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
525
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
526
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
527
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
528
|
+
SmartSearchCameraSelected = "SmartSearch-CameraSelected",
|
|
529
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
530
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
531
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
532
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
533
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
534
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
535
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
454
536
|
}
|
|
@@ -2,16 +2,6 @@ import { BoundingBox, CameraExid, DateType, GateReportVehicleType, TimelinePreci
|
|
|
2
2
|
export type AnprQueryParams = {
|
|
3
3
|
page?: number;
|
|
4
4
|
limit?: number;
|
|
5
|
-
firstSeen?: {
|
|
6
|
-
gte: DateType;
|
|
7
|
-
};
|
|
8
|
-
lastSeen?: {
|
|
9
|
-
lte: DateType;
|
|
10
|
-
};
|
|
11
|
-
captureTime?: {
|
|
12
|
-
gte?: DateType;
|
|
13
|
-
lt?: DateType;
|
|
14
|
-
};
|
|
15
5
|
direction?: {
|
|
16
6
|
eq?: string;
|
|
17
7
|
} | string;
|
|
@@ -21,7 +11,11 @@ export type AnprQueryParams = {
|
|
|
21
11
|
sort?: string;
|
|
22
12
|
fromDate?: DateType;
|
|
23
13
|
toDate?: DateType;
|
|
24
|
-
|
|
14
|
+
camerasExid?: CameraExid[];
|
|
15
|
+
vehicleTypes?: GateReportVehicleType[];
|
|
16
|
+
isDuplicate?: boolean;
|
|
17
|
+
isPostprocessed?: boolean;
|
|
18
|
+
isPlate?: boolean;
|
|
25
19
|
};
|
|
26
20
|
export type AnprCountsQueryParams = {
|
|
27
21
|
precision: TimelinePrecision;
|
|
@@ -44,6 +38,7 @@ export type AnprEvent = {
|
|
|
44
38
|
id: number;
|
|
45
39
|
plateNumber: string;
|
|
46
40
|
cameraExid: CameraExid;
|
|
41
|
+
cameraex: CameraExid;
|
|
47
42
|
picName: string;
|
|
48
43
|
eventTime: string;
|
|
49
44
|
insertedAt: string;
|
|
@@ -66,6 +61,7 @@ export type AnprEvent = {
|
|
|
66
61
|
contextCamera: string;
|
|
67
62
|
votedVehicleType: GateReportVehicleType | string;
|
|
68
63
|
roiId?: number;
|
|
64
|
+
captureTime: DateType;
|
|
69
65
|
metadata_: {
|
|
70
66
|
evercamMetadata?: {
|
|
71
67
|
anpr?: {
|
|
@@ -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
|
+
}
|