@evercam/api 1.0.0-e03adefb8 → 1.0.0-e405b2c39
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 +17 -1
- package/dist/api/api/adminApi.d.ts +67 -33
- package/dist/api/api/aiApi.d.ts +26 -45
- package/dist/api/api/authzApi.d.ts +10 -1
- package/dist/api/api/client/axios.d.ts +1 -0
- 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/api/evercamApi.d.ts +42 -44
- package/dist/api/api/evercamLabsApi.d.ts +5 -2
- package/dist/api/api/ingestApi.d.ts +40 -12
- package/dist/api/api/ptzApi.d.ts +4 -0
- package/dist/api/api/videoWallApi.d.ts +7 -7
- package/dist/api/types/360.d.ts +188 -3
- package/dist/api/types/aconex.d.ts +102 -4
- package/dist/api/types/analytics.d.ts +89 -6
- package/dist/api/types/anpr.d.ts +5 -11
- package/dist/api/types/authz.d.ts +23 -0
- package/dist/api/types/automation.d.ts +51 -0
- package/dist/api/types/axios.d.ts +15 -0
- package/dist/api/types/camera.d.ts +23 -6
- package/dist/api/types/comments.d.ts +18 -2
- package/dist/api/types/company.d.ts +29 -1
- package/dist/api/types/coolify.d.ts +2 -0
- package/dist/api/types/countries.d.ts +0 -7
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +5 -20
- package/dist/api/types/errors.d.ts +1 -0
- package/dist/api/types/gateReport.d.ts +4 -101
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/ingest.d.ts +4 -0
- package/dist/api/types/kit.d.ts +55 -7
- package/dist/api/types/planner.d.ts +4 -1
- package/dist/api/types/procore.d.ts +13 -10
- package/dist/api/types/progressPhoto.d.ts +5 -23
- package/dist/api/types/project.d.ts +47 -3
- package/dist/api/types/recording.d.ts +1 -0
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/api/types/routeParams.d.ts +2 -1
- package/dist/api/types/router.d.ts +19 -0
- package/dist/api/types/shared.d.ts +1 -6
- package/dist/api/types/shares.d.ts +6 -144
- package/dist/api/types/siteAnalytics.d.ts +135 -29
- package/dist/api/types/snapshots.d.ts +9 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/streaming.d.ts +1 -2
- package/dist/api/types/time.d.ts +4 -0
- package/dist/api/types/user.d.ts +4 -0
- package/dist/api/types/videoWall.d.ts +34 -1
- package/dist/api/types/weather.d.ts +2 -0
- package/dist/api/types/widget.d.ts +27 -6
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +1227 -866
- 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 +18 -3
- package/dist/shared/types/imagePlayer.d.ts +1 -1
- package/package.json +5 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, SegmentsCountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, SegmentsPresenceByLabel, ActiveUsersResponsePayload, ActiveUsersRequestPayload, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint, SiteAnalyticsProcessingStatusPayload, SiteAnalyticsProcessingStatus } from "@evercam/api/types";
|
|
2
2
|
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
|
+
import { AxiosRequestConfig } from "axios";
|
|
3
4
|
export declare function getLabsBaseUrl(): string | null | undefined;
|
|
4
5
|
export declare const EvercamLabsApi: {
|
|
5
6
|
posthog: {
|
|
@@ -18,8 +19,10 @@ export declare const EvercamLabsApi: {
|
|
|
18
19
|
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
19
20
|
submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
siteAnalytics: {
|
|
23
|
+
getProcessingStatus(params?: SiteAnalyticsProcessingStatusPayload, config?: AxiosRequestConfig): Promise<SiteAnalyticsProcessingStatus[]>;
|
|
22
24
|
getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: SegmentsCountsParams): Promise<SegmentsPresenceByLabel>;
|
|
25
|
+
getIntersectionsHeatmapData(params: HeatmapIntersectionsRequestParams): Promise<SmartSearchHeatmapPoint[]>;
|
|
23
26
|
};
|
|
24
27
|
googleCloudStorage: {
|
|
25
28
|
listFiles(prefix?: string): Promise<{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
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;
|
|
3
5
|
export declare const IngestApi: {
|
|
4
6
|
drone: {
|
|
5
7
|
createUpload(projectId: string, params: {
|
|
@@ -34,16 +36,40 @@ export declare const IngestApi: {
|
|
|
34
36
|
assets360: {
|
|
35
37
|
get360Assets(params: {
|
|
36
38
|
params: Partial<_360AssetsQueryParams>;
|
|
37
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
-
|
|
39
|
-
|
|
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>>;
|
|
40
47
|
getArchive(id: number, params: {
|
|
41
48
|
dateType: string;
|
|
42
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
49
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
50
|
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
51
|
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
-
|
|
46
|
-
|
|
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
|
+
config: AxiosRequestConfig;
|
|
62
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
+
getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
+
deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
68
|
+
fetchDrawingOverlay(id: number, params: {
|
|
69
|
+
view: boolean;
|
|
70
|
+
}, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
72
|
+
get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<Record<string, any>>;
|
|
47
73
|
};
|
|
48
74
|
bim: {
|
|
49
75
|
createUpload(projectId: string, params: {
|
|
@@ -60,9 +86,11 @@ export declare const IngestApi: {
|
|
|
60
86
|
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
87
|
};
|
|
62
88
|
mobileCapture: {
|
|
63
|
-
getProjectMobileAssets(params: Record<string, unknown
|
|
64
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown
|
|
89
|
+
getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
|
|
90
|
+
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
91
|
+
deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
92
|
+
};
|
|
93
|
+
utils: {
|
|
94
|
+
loadAllAssetsInQueue(): Promise<any[]>;
|
|
65
95
|
};
|
|
66
|
-
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
-
loadAllAssetsInQueue(): Promise<any[]>;
|
|
68
96
|
};
|
package/dist/api/api/ptzApi.d.ts
CHANGED
|
@@ -21,6 +21,10 @@ export declare const PtzApi: {
|
|
|
21
21
|
presetId: string | number;
|
|
22
22
|
presetName: string;
|
|
23
23
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
+
updateHome({ cameraExid, presetName, }: {
|
|
25
|
+
cameraExid: string;
|
|
26
|
+
presetName: string;
|
|
27
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
28
|
delete({ cameraExid, presetId, }: {
|
|
25
29
|
cameraExid: string;
|
|
26
30
|
presetId: string | number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
+
import { VideoWall, ListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
2
3
|
export declare const VideoWallApi: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
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
9
|
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -3,17 +3,149 @@ 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;
|
|
@@ -27,6 +159,7 @@ export type MobileCaptureSnapshot = {
|
|
|
27
159
|
};
|
|
28
160
|
export declare enum _360UrlParams {
|
|
29
161
|
DateId = "date_id",
|
|
162
|
+
Date = "date",
|
|
30
163
|
Floor = "floor",
|
|
31
164
|
Marker = "marker",
|
|
32
165
|
PolarAngle = "polarAngle",
|
|
@@ -40,6 +173,10 @@ export declare enum _360AssetType {
|
|
|
40
173
|
MobilePhoto = "mobile_photos",
|
|
41
174
|
MobileAudio = "mobile_audios"
|
|
42
175
|
}
|
|
176
|
+
export declare enum _360AssetLabel {
|
|
177
|
+
Walks = "walks",
|
|
178
|
+
MobilePhotos = "mobilePhotos"
|
|
179
|
+
}
|
|
43
180
|
export declare enum _360Feature {
|
|
44
181
|
BIM = "BIM",
|
|
45
182
|
Minimap = "Minimap",
|
|
@@ -52,6 +189,11 @@ export declare enum _360IntergrationType {
|
|
|
52
189
|
HoloBuilder = "Holobuilder",
|
|
53
190
|
DroneDeploy = "Dronedeploy"
|
|
54
191
|
}
|
|
192
|
+
export declare enum PathMarkerColor {
|
|
193
|
+
Start = "#00e74c",
|
|
194
|
+
End = "#fd7567",
|
|
195
|
+
Default = "#2196F3"
|
|
196
|
+
}
|
|
55
197
|
export type _360AssetsQueryParams = {
|
|
56
198
|
page: number;
|
|
57
199
|
limit: number;
|
|
@@ -66,6 +208,49 @@ export type _360AssetsRequestPayload = {
|
|
|
66
208
|
floor: string;
|
|
67
209
|
uploadedBy?: string;
|
|
68
210
|
};
|
|
211
|
+
export type DrawingsRequestPayload = {
|
|
212
|
+
projectId?: string;
|
|
213
|
+
name?: string;
|
|
214
|
+
changedBy?: string;
|
|
215
|
+
mapStyle?: string;
|
|
216
|
+
startDate?: string;
|
|
217
|
+
endDate?: string;
|
|
218
|
+
id?: number;
|
|
219
|
+
page?: number;
|
|
220
|
+
limit?: number;
|
|
221
|
+
paginate?: boolean;
|
|
222
|
+
};
|
|
223
|
+
export type GenerateFloorPayload = {
|
|
224
|
+
overlay?: {
|
|
225
|
+
url: string;
|
|
226
|
+
title: string;
|
|
227
|
+
fileExtension: string;
|
|
228
|
+
};
|
|
229
|
+
changedBy: string;
|
|
230
|
+
name?: string;
|
|
231
|
+
mapStyle?: string;
|
|
232
|
+
overlayPositionCorners: {
|
|
233
|
+
northEast: {
|
|
234
|
+
lat: number;
|
|
235
|
+
lng: number;
|
|
236
|
+
};
|
|
237
|
+
northWest: {
|
|
238
|
+
lat: number;
|
|
239
|
+
lng: number;
|
|
240
|
+
};
|
|
241
|
+
southWest: {
|
|
242
|
+
lat: number;
|
|
243
|
+
lng: number;
|
|
244
|
+
};
|
|
245
|
+
southEast: {
|
|
246
|
+
lat: number;
|
|
247
|
+
lng: number;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
export type _360QueueQueryParams = {
|
|
252
|
+
projectId?: string;
|
|
253
|
+
};
|
|
69
254
|
export type _360AssetsUploadPayload = {
|
|
70
255
|
targetPointsCount: number;
|
|
71
256
|
assetType: string;
|
|
@@ -4,26 +4,63 @@ export type AconexUserProjectsResponsePayload = Array<{
|
|
|
4
4
|
shortName: string;
|
|
5
5
|
startDate: string;
|
|
6
6
|
endDate: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
hidden: boolean;
|
|
7
9
|
}>;
|
|
8
|
-
export type
|
|
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<{
|
|
9
22
|
dataType: AconexDocumentDataType;
|
|
10
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;
|
|
11
32
|
schemaValues?: Array<{
|
|
12
33
|
id: string;
|
|
13
34
|
value: string;
|
|
14
35
|
}>;
|
|
15
36
|
fieldName: string;
|
|
37
|
+
modifiedFieldName?: string;
|
|
16
38
|
mandatoryStatus: AconexMandatoryStatus;
|
|
17
39
|
componentType?: AconexFormComponentType;
|
|
18
40
|
items?: Array<any>;
|
|
19
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>;
|
|
20
48
|
};
|
|
21
49
|
export declare enum AconexDocumentDataType {
|
|
22
|
-
Long = "LONG",
|
|
23
|
-
Integer = "INTEGER",
|
|
24
50
|
String = "STRING",
|
|
25
51
|
Boolean = "BOOLEAN",
|
|
26
|
-
|
|
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"
|
|
27
64
|
}
|
|
28
65
|
export declare enum AconexFormComponentType {
|
|
29
66
|
Select = "SelectField",
|
|
@@ -43,3 +80,64 @@ export type AconexEditedImageUploadRequestPayload = {
|
|
|
43
80
|
projectExid: string;
|
|
44
81
|
snapshot: string;
|
|
45
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
|
+
}
|
|
@@ -43,7 +43,8 @@ export declare enum AnalyticsEventPageId {
|
|
|
43
43
|
BimCompareInfo = "BimCompareInfo",
|
|
44
44
|
WeatherReport = "WeatherReport",
|
|
45
45
|
PpeReport = "PpeReport",
|
|
46
|
-
SmartSearch = "SmartSearch"
|
|
46
|
+
SmartSearch = "SmartSearch",
|
|
47
|
+
Drawings = "Drawings"
|
|
47
48
|
}
|
|
48
49
|
export declare enum AnalyticsEvent {
|
|
49
50
|
PageView = "PageView",
|
|
@@ -77,6 +78,19 @@ export declare enum AnalyticsEvent {
|
|
|
77
78
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
78
79
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
79
80
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
81
|
+
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
82
|
+
WidgetsSelectProject = "SelectProject",
|
|
83
|
+
WidgetsSelect360Date = "Select360Date",
|
|
84
|
+
WidgetsSelect360Floor = "Select360Floor",
|
|
85
|
+
WidgetsSelect360Marker = "Select360Marker",
|
|
86
|
+
Widgets360LockMedia = "360LockMedia",
|
|
87
|
+
WidgetsPauseWidget = "PauseWidget",
|
|
88
|
+
WidgetsEditWidget = "EditWidget",
|
|
89
|
+
WidgetsOpenCredentials = "OpenCredentials",
|
|
90
|
+
WidgetsCopyEmbeddedCode = "CopyEmbeddedCode",
|
|
91
|
+
WidgetsCopyIFrameCode = "CopyIFrameCode",
|
|
92
|
+
WidgetsCopyURLCode = "CopyURLCode",
|
|
93
|
+
WidgetsDeleteWidget = "DeleteWidget",
|
|
80
94
|
WidgetsAddWidgetClick = "AddWidget",
|
|
81
95
|
WidgetsCancelClick = "Cancel",
|
|
82
96
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -103,6 +117,7 @@ export declare enum AnalyticsEvent {
|
|
|
103
117
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
104
118
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
105
119
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
120
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
106
121
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
107
122
|
PlayerDownload = "Player-Download",
|
|
108
123
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -258,7 +273,18 @@ export declare enum AnalyticsEvent {
|
|
|
258
273
|
SharingTransferOwnership = "TransferOwnership",
|
|
259
274
|
SharingSortBy = "SortBy",
|
|
260
275
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
-
|
|
276
|
+
ThreeSixtyGallery = "Gallery",
|
|
277
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
278
|
+
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
279
|
+
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
280
|
+
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
281
|
+
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
282
|
+
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
283
|
+
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
284
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
285
|
+
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
286
|
+
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
287
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
262
288
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
263
289
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
264
290
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -295,7 +321,7 @@ export declare enum AnalyticsEvent {
|
|
|
295
321
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
296
322
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
297
323
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
298
|
-
|
|
324
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
299
325
|
DroneAreaToolClick = "AreaTool-Click",
|
|
300
326
|
DroneChangeDate = "ChangeDate",
|
|
301
327
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -332,6 +358,7 @@ export declare enum AnalyticsEvent {
|
|
|
332
358
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
333
359
|
DroneZoomIn = "ZoomIn",
|
|
334
360
|
DroneZoomOut = "ZoomOut",
|
|
361
|
+
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
335
362
|
PlannerAddCameraClick = "AddCameraClick",
|
|
336
363
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
337
364
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -355,8 +382,31 @@ export declare enum AnalyticsEvent {
|
|
|
355
382
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
356
383
|
PlannerZoomIn = "ZoomIn",
|
|
357
384
|
PlannerZoomOut = "ZoomOut",
|
|
385
|
+
DrawingCreateSave = "CreateSave",
|
|
386
|
+
DrawingUpdateSave = "UpdateSave",
|
|
387
|
+
DrawingEditName = "EditName",
|
|
388
|
+
DrawingUpdateName = "UpdateName",
|
|
389
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
390
|
+
DrawingClickHome = "ClickHome",
|
|
391
|
+
DrawingsUploadDrawing = "UploadDrawing",
|
|
392
|
+
DrawingsCreateDrawing = "CreateDrawing",
|
|
393
|
+
DrawingToggleFilter = "ToggleFilter",
|
|
394
|
+
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
395
|
+
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
396
|
+
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
397
|
+
DrawingToggleCamerasVisibility = "ToggleCamerasVisibility",
|
|
398
|
+
DrawingToggleTransparencyMode = "ToggleTransparencyMode",
|
|
399
|
+
DrawingChooseDrawing = "ChooseDrawing",
|
|
400
|
+
DrawingChangeLocation = "ChangeLocation",
|
|
401
|
+
DrawingFilterDateRange = "FilterDateRange",
|
|
402
|
+
DrawingFilterDrawingName = "FilterDrawingName",
|
|
403
|
+
DrawingFilterCreatedBy = "FilterCreatedBy",
|
|
404
|
+
DrawingFilterMapStyle = "FilterMapStyle",
|
|
405
|
+
DrawingToggleRotate = "ToggleRotate",
|
|
406
|
+
DrawingToggleScale = "ToggleScale",
|
|
407
|
+
DrawingOpenExistingDrawing = "OpenExistingDrawing",
|
|
358
408
|
MarkerClicked = "MarkerClicked",
|
|
359
|
-
|
|
409
|
+
MarkerSelected = "MarkerSelected",
|
|
360
410
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
361
411
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
362
412
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -384,12 +434,18 @@ export declare enum AnalyticsEvent {
|
|
|
384
434
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
385
435
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
386
436
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
437
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
387
438
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
439
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
440
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
441
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
442
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
388
443
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
389
444
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
390
445
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
391
446
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
392
447
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
448
|
+
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
393
449
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
394
450
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
395
451
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -447,15 +503,41 @@ export declare enum AnalyticsEvent {
|
|
|
447
503
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
448
504
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
449
505
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
506
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
450
507
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
451
508
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
452
509
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
453
510
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
454
511
|
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
455
512
|
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
513
|
+
Recording = "Recording",
|
|
514
|
+
CameraFilter = "CameraFilter",
|
|
515
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
516
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
517
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
518
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
519
|
+
ExportAs = "ExportAs",
|
|
456
520
|
ExportPdf = "ExportPdf",
|
|
457
521
|
ExportCsv = "ExportCsv",
|
|
458
522
|
FilterCameras = "FilterCameras",
|
|
523
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
524
|
+
CompareEditSelectedCameras = "Compare-EditSelectedCameras",
|
|
525
|
+
CompareEdit = "Compare-Edit",
|
|
526
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
527
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
528
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
529
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
530
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
531
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
532
|
+
AutomationsSelectProgressPhoto = "SelectProgressPhoto",
|
|
533
|
+
AutomationsSelectCompare = "SelectCompare",
|
|
534
|
+
AutomationsCreateCompare = "CreateCompare",
|
|
535
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
536
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
537
|
+
AutomationTypeName = "TypeName",
|
|
538
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
539
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
540
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
459
541
|
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
460
542
|
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
461
543
|
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
@@ -468,11 +550,12 @@ export declare enum AnalyticsEvent {
|
|
|
468
550
|
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
469
551
|
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
470
552
|
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
471
|
-
|
|
553
|
+
SmartSearchViewSelected = "SmartSearch-ViewSelected",
|
|
472
554
|
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
473
555
|
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
474
556
|
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
475
557
|
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
476
558
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
477
|
-
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
559
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
560
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
478
561
|
}
|