@evercam/api 1.0.0-df20a9f5f → 1.0.0-df2365728
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 +2 -0
- package/dist/api/api/3dFirebaseApi.d.ts +16 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +54 -24
- package/dist/api/api/aiApi.d.ts +143 -0
- package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
- package/dist/api/{client → api/client}/interceptors.d.ts +3 -2
- 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} +66 -21
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -10
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/{ingestApi.d.ts → api/ingestApi.d.ts} +9 -6
- package/dist/api/api/weatherApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/{types → api/types}/360.d.ts +13 -2
- package/dist/{types → api/types}/aconex.d.ts +1 -1
- package/dist/{types → api/types}/analytics.d.ts +76 -68
- package/dist/{types → api/types}/anpr.d.ts +11 -6
- package/dist/{types → api/types}/automation.d.ts +4 -0
- package/dist/{types → api/types}/axios.d.ts +15 -1
- package/dist/{types → api/types}/camera.d.ts +13 -56
- package/dist/{types → api/types}/comments.d.ts +15 -8
- package/dist/{types → api/types}/company.d.ts +28 -0
- package/dist/{types → api/types}/connector.d.ts +6 -1
- package/dist/api/types/coolify.d.ts +18 -0
- package/dist/{types → api/types}/copilot.d.ts +9 -8
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/detections.d.ts +60 -7
- package/dist/{types → api/types}/errors.d.ts +12 -0
- package/dist/{types → api/types}/index.d.ts +6 -2
- package/dist/{types → api/types}/ingest.d.ts +4 -0
- package/dist/{types → api/types}/kit.d.ts +56 -6
- package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +8 -2
- 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 +21 -7
- package/dist/{types → api/types}/project.d.ts +9 -1
- package/dist/{types → api/types}/recording.d.ts +1 -2
- package/dist/{types → api/types}/roi.d.ts +2 -1
- package/dist/{types → api/types}/routeParams.d.ts +2 -1
- package/dist/{types → api/types}/shared.d.ts +2 -11
- package/dist/{types → api/types}/shares.d.ts +5 -1
- package/dist/api/types/siteAnalytics.d.ts +142 -0
- package/dist/{types → api/types}/streaming.d.ts +3 -25
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/api/types/tag.d.ts +12 -0
- package/dist/{types → api/types}/time.d.ts +2 -0
- package/dist/{types → api/types}/timelapse.d.ts +15 -0
- package/dist/{types → api/types}/user.d.ts +1 -6
- package/dist/{types → api/types}/weather.d.ts +6 -2
- package/dist/{types → api/types}/widget.d.ts +4 -4
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1179 -733
- 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 +192 -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 +6 -5
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/aiApi.d.ts +0 -86
- package/dist/api/weatherApi.d.ts +0 -25
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/siteAnalytics.d.ts +0 -85
- /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/{videoWallApi.d.ts → api/videoWallApi.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}/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}/router.d.ts +0 -0
- /package/dist/{types → api/types}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/snapshots.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/videoWall.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
- /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./client";
|
|
2
|
+
export * from "./adminApi";
|
|
3
|
+
export * from "./videoWallApi";
|
|
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,4 +1,5 @@
|
|
|
1
1
|
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
2
|
+
import { IngestVersions } from "@evercam/shared/types";
|
|
2
3
|
export declare const IngestApi: {
|
|
3
4
|
drone: {
|
|
4
5
|
createUpload(projectId: string, params: {
|
|
@@ -26,21 +27,23 @@ export declare const IngestApi: {
|
|
|
26
27
|
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
27
28
|
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
29
|
isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
getDroneQueueSize(): Promise<
|
|
30
|
+
getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
30
31
|
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
+
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
33
|
};
|
|
32
34
|
assets360: {
|
|
33
35
|
get360Assets(params: {
|
|
34
36
|
params: Partial<_360AssetsQueryParams>;
|
|
35
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
39
|
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
40
|
getArchive(id: number, params: {
|
|
38
41
|
dateType: string;
|
|
39
42
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
+
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
45
|
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
-
get360QueueSize(): Promise<
|
|
46
|
+
get360QueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
44
47
|
};
|
|
45
48
|
bim: {
|
|
46
49
|
createUpload(projectId: string, params: {
|
|
@@ -61,5 +64,5 @@ export declare const IngestApi: {
|
|
|
61
64
|
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
65
|
};
|
|
63
66
|
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
|
|
67
|
+
loadAllAssetsInQueue(): Promise<any[]>;
|
|
65
68
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
|
+
import { AxiosRequestConfig } from "axios";
|
|
3
|
+
export declare const WeatherApi: {
|
|
4
|
+
current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
5
|
+
historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
6
|
+
report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
|
|
7
|
+
data: WeatherDataResponse[];
|
|
8
|
+
}> | undefined;
|
|
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,12 +40,22 @@ export declare enum _360AssetType {
|
|
|
40
40
|
MobilePhoto = "mobile_photos",
|
|
41
41
|
MobileAudio = "mobile_audios"
|
|
42
42
|
}
|
|
43
|
+
export declare enum _360Feature {
|
|
44
|
+
BIM = "BIM",
|
|
45
|
+
Minimap = "Minimap",
|
|
46
|
+
Minimodel = "Minimodel"
|
|
47
|
+
}
|
|
43
48
|
export declare enum _360IntergrationType {
|
|
49
|
+
Evercam = "Evercam",
|
|
44
50
|
Matterport = "Matterport",
|
|
45
51
|
OpenSpace = "Openspace",
|
|
46
52
|
HoloBuilder = "Holobuilder",
|
|
47
|
-
DroneDeploy = "Dronedeploy"
|
|
48
|
-
|
|
53
|
+
DroneDeploy = "Dronedeploy"
|
|
54
|
+
}
|
|
55
|
+
export declare enum PathMarkerColor {
|
|
56
|
+
Start = "#00e74c",
|
|
57
|
+
End = "#fd7567",
|
|
58
|
+
Default = "#2196F3"
|
|
49
59
|
}
|
|
50
60
|
export type _360AssetsQueryParams = {
|
|
51
61
|
page: number;
|
|
@@ -73,6 +83,7 @@ export type _360AssetsUploadPayload = {
|
|
|
73
83
|
startPosition: string;
|
|
74
84
|
endPosition: string;
|
|
75
85
|
isTimelapse: boolean;
|
|
86
|
+
isImagesOnly: boolean;
|
|
76
87
|
};
|
|
77
88
|
export type Generate360MapRequestPayload = {
|
|
78
89
|
dateId: string;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { DateType } from "@/types";
|
|
2
|
-
export type AnalyticsRequestPayload = {
|
|
3
|
-
name: string;
|
|
4
|
-
cameraExid: string;
|
|
5
|
-
} & {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
1
|
export declare enum AnalyticsEventPageId {
|
|
9
2
|
Timeline = "Timeline",
|
|
10
3
|
Copilot = "Copilot",
|
|
@@ -17,6 +10,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
17
10
|
Project = "Project",
|
|
18
11
|
AllProjects = "AllProjects",
|
|
19
12
|
Tutorials = "Tutorials",
|
|
13
|
+
SystemCheck = "SystemCheck",
|
|
20
14
|
ProjectMapView = "ProjectMapView",
|
|
21
15
|
AccountMapView = "AccountMapView",
|
|
22
16
|
Automations = "Automations",
|
|
@@ -26,9 +20,9 @@ export declare enum AnalyticsEventPageId {
|
|
|
26
20
|
ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings",
|
|
27
21
|
ProjectSettingsMembers = "ProjectSettings-Members",
|
|
28
22
|
ProjectSettingsOverview = "ProjectSettings-Overview",
|
|
23
|
+
ProjectSettingsDangerZone = "ProjectSettings-DangerZone",
|
|
29
24
|
Settings = "Settings",
|
|
30
25
|
SettingsAccount = "Settings-Account",
|
|
31
|
-
SettingsActivities = "Settings-Activities",
|
|
32
26
|
SettingsConnectors = "Settings-Connectors",
|
|
33
27
|
MediaHub = "MediaHub",
|
|
34
28
|
MediaOveriew = "MediaOveriew",
|
|
@@ -36,7 +30,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
30
|
Bim = "Bim",
|
|
37
31
|
Drone = "Drone",
|
|
38
32
|
ThreeSixty = "360",
|
|
39
|
-
|
|
33
|
+
Planner = "Planner",
|
|
40
34
|
Widgets = "Widgets",
|
|
41
35
|
Company = "Company",
|
|
42
36
|
EmbeddedLive = "EmbeddedLive",
|
|
@@ -48,7 +42,8 @@ export declare enum AnalyticsEventPageId {
|
|
|
48
42
|
ThreeSixtyInfo = "360Info",
|
|
49
43
|
BimCompareInfo = "BimCompareInfo",
|
|
50
44
|
WeatherReport = "WeatherReport",
|
|
51
|
-
|
|
45
|
+
PpeReport = "PpeReport",
|
|
46
|
+
SmartSearch = "SmartSearch"
|
|
52
47
|
}
|
|
53
48
|
export declare enum AnalyticsEvent {
|
|
54
49
|
PageView = "PageView",
|
|
@@ -64,14 +59,13 @@ export declare enum AnalyticsEvent {
|
|
|
64
59
|
Comment = "Comment-Toggle",
|
|
65
60
|
Compare = "Compare-Toggle",
|
|
66
61
|
Copilot = "Copilot-Toggle",
|
|
62
|
+
DownloadMediaOpen = "DownloadMedia-Open",
|
|
67
63
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
68
64
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
69
65
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
70
66
|
SettingsAccountCancelRevokeSession = "CancelRevokeSession",
|
|
71
67
|
SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
|
|
72
68
|
SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
|
|
73
|
-
SettingsActivitiesFromDateSelect = "FromDateSelect",
|
|
74
|
-
SettingsActivitiesToDateSelect = "ToDateSelect",
|
|
75
69
|
SettingsConnectorsConnectToProcore = "ConnectToProcore",
|
|
76
70
|
SettingsConnectorsConnectToAconex = "ConnectToAconex",
|
|
77
71
|
SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk",
|
|
@@ -243,7 +237,6 @@ export declare enum AnalyticsEvent {
|
|
|
243
237
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
244
238
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
245
239
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
246
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
247
240
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
248
241
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
249
242
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -265,15 +258,17 @@ export declare enum AnalyticsEvent {
|
|
|
265
258
|
SharingTransferOwnership = "TransferOwnership",
|
|
266
259
|
SharingSortBy = "SortBy",
|
|
267
260
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
+
ThreeSixtyGallery = "Gallery",
|
|
262
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
268
263
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
269
264
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
270
265
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
271
266
|
ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
|
|
272
|
-
|
|
267
|
+
ThreeSixtyDeleteComment = "DeleteComment",
|
|
273
268
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
274
|
-
|
|
269
|
+
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
275
270
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
276
|
-
|
|
271
|
+
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
277
272
|
ThreeSixtyLockCompare = "LockCompare",
|
|
278
273
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
279
274
|
ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
|
|
@@ -282,14 +277,16 @@ export declare enum AnalyticsEvent {
|
|
|
282
277
|
ThreeSixtyOpenCompare = "OpenCompare",
|
|
283
278
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
284
279
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
285
|
-
|
|
286
|
-
|
|
280
|
+
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
281
|
+
ThreeSixtySaveComment = "SaveComment",
|
|
282
|
+
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
283
|
+
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
287
284
|
ThreeSixtyShareView = "ShareView",
|
|
288
|
-
|
|
285
|
+
ThreeSixtyCommentClicked = "CommentClicked",
|
|
289
286
|
ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
|
|
290
287
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
291
288
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
292
|
-
|
|
289
|
+
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
293
290
|
ThreeSixtyTourPause = "Tour-Pause",
|
|
294
291
|
ThreeSixtyTourPlay = "Tour-Play",
|
|
295
292
|
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
@@ -299,6 +296,8 @@ export declare enum AnalyticsEvent {
|
|
|
299
296
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
300
297
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
301
298
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
299
|
+
ThreeSixtyUpdateFloorName = "UpdateFloorName",
|
|
300
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
302
301
|
DroneAreaToolClick = "AreaTool-Click",
|
|
303
302
|
DroneChangeDate = "ChangeDate",
|
|
304
303
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -335,29 +334,29 @@ export declare enum AnalyticsEvent {
|
|
|
335
334
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
336
335
|
DroneZoomIn = "ZoomIn",
|
|
337
336
|
DroneZoomOut = "ZoomOut",
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
337
|
+
PlannerAddCameraClick = "AddCameraClick",
|
|
338
|
+
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
339
|
+
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
340
|
+
PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
|
|
341
|
+
PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
|
|
342
|
+
PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
|
|
343
|
+
PlannerCameraMarkerEditName = "CameraMarker-EditName",
|
|
344
|
+
PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
|
|
345
|
+
PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
|
|
346
|
+
PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
|
|
347
|
+
PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
|
|
348
|
+
PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
|
|
349
|
+
PlannerChangeLocation = "ChangeLocation",
|
|
350
|
+
PlannerOpen = "Open",
|
|
351
|
+
PlannerResetView = "ResetView",
|
|
352
|
+
PlannerSitePlansList = "SitePlansList",
|
|
353
|
+
PlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
354
|
+
PlannerToggleFullscreen = "ToggleFullscreen",
|
|
355
|
+
PlannerToggleMapStyle = "ToggleMapStyle",
|
|
356
|
+
PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
357
|
+
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
358
|
+
PlannerZoomIn = "ZoomIn",
|
|
359
|
+
PlannerZoomOut = "ZoomOut",
|
|
361
360
|
MarkerClicked = "MarkerClicked",
|
|
362
361
|
TimelapseToggleHelpDialog = "ToggleHelpDialog",
|
|
363
362
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
@@ -387,12 +386,14 @@ export declare enum AnalyticsEvent {
|
|
|
387
386
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
388
387
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
389
388
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
389
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
390
390
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
391
391
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
392
392
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
393
393
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
394
394
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
395
395
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
396
|
+
ProgressPhotoSelectDelay = "ProgressPhoto-SelectDelay",
|
|
396
397
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
397
398
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
398
399
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -442,40 +443,47 @@ export declare enum AnalyticsEvent {
|
|
|
442
443
|
MediaCopyMediaLink = "Media-CopyMediaLink",
|
|
443
444
|
MediaGoToMediaHub = "Media-GoBackToMediaHub",
|
|
444
445
|
GateReportCalendarTreeDateClick = "CalendarTree-DateClick",
|
|
445
|
-
GateReportExportPdf = "ExportPdf",
|
|
446
|
-
GateReportExportCsv = "ExportCsv",
|
|
447
446
|
GateReportFilterEntryExit = "FilterEntryExit",
|
|
448
|
-
GateReportFilterCameras = "FilterCameras",
|
|
449
447
|
GateReportFilterPlateNumber = "FilterPlateNumber",
|
|
450
448
|
GateReportFilterVehicleTypes = "FilterVehicleTypes",
|
|
451
449
|
GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo",
|
|
452
450
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
453
451
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
452
|
+
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
454
453
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
455
454
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
456
455
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
457
456
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
458
457
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
459
|
-
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
458
|
+
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
459
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
460
|
+
Recording = "Recording",
|
|
461
|
+
CameraFilter = "CameraFilter",
|
|
462
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
463
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
464
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
465
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
466
|
+
ExportAs = "ExportAs",
|
|
467
|
+
ExportPdf = "ExportPdf",
|
|
468
|
+
ExportCsv = "ExportCsv",
|
|
469
|
+
FilterCameras = "FilterCameras",
|
|
470
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
471
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
472
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
473
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
474
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
475
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
476
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
477
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
478
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
479
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
480
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
481
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
482
|
+
SmartSearchCameraSelected = "SmartSearch-CameraSelected",
|
|
483
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
484
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
485
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
486
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
487
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
488
|
+
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
460
489
|
}
|
|
461
|
-
export type ProjectPAStatsRequestPayload = {
|
|
462
|
-
period: "day" | "week" | "month";
|
|
463
|
-
startDate?: string;
|
|
464
|
-
endDate?: string;
|
|
465
|
-
};
|
|
466
|
-
export type ProjectPAStatsResponsePayload = {
|
|
467
|
-
period: DateType;
|
|
468
|
-
name: string;
|
|
469
|
-
count: number | string;
|
|
470
|
-
};
|
|
471
|
-
export type ActiveUsersStatsRequestPayload = {
|
|
472
|
-
companyId: number;
|
|
473
|
-
from: string;
|
|
474
|
-
to: string;
|
|
475
|
-
};
|
|
476
|
-
export type ActiveUserStat = {
|
|
477
|
-
date: string;
|
|
478
|
-
dau: number;
|
|
479
|
-
wau: number;
|
|
480
|
-
mau: number;
|
|
481
|
-
};
|
|
@@ -43,26 +43,31 @@ export declare enum AnprDirection {
|
|
|
43
43
|
export type AnprEvent = {
|
|
44
44
|
id: number;
|
|
45
45
|
plateNumber: string;
|
|
46
|
+
cameraExid: CameraExid;
|
|
46
47
|
cameraex: CameraExid;
|
|
47
48
|
picName: string;
|
|
48
|
-
|
|
49
|
+
eventTime: string;
|
|
49
50
|
insertedAt: string;
|
|
50
51
|
isDuplicate: boolean;
|
|
51
52
|
direction: AnprDirection;
|
|
52
53
|
updatedAt: string;
|
|
54
|
+
edited?: boolean;
|
|
53
55
|
isPlate: boolean;
|
|
54
56
|
isPostprocessed: boolean;
|
|
55
57
|
vehicleType?: GateReportVehicleType;
|
|
56
58
|
contextVehicleType?: GateReportVehicleType;
|
|
57
|
-
anprVehicleType
|
|
58
|
-
anprVehicleModel
|
|
59
|
-
anprVehicleMake
|
|
60
|
-
anprVehicleColor
|
|
61
|
-
anprVehicleSpeed
|
|
59
|
+
anprVehicleType?: string;
|
|
60
|
+
anprVehicleModel?: string;
|
|
61
|
+
anprVehicleMake?: string;
|
|
62
|
+
anprVehicleColor?: string;
|
|
63
|
+
anprVehicleSpeed?: number;
|
|
62
64
|
anprSnapshotLink: string;
|
|
63
65
|
contextSnapshotLink: string;
|
|
66
|
+
mainSnapshotLink: string;
|
|
64
67
|
contextCamera: string;
|
|
65
68
|
votedVehicleType: GateReportVehicleType | string;
|
|
69
|
+
roiId?: number;
|
|
70
|
+
captureTime: DateType;
|
|
66
71
|
metadata_: {
|
|
67
72
|
evercamMetadata?: {
|
|
68
73
|
anpr?: {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import type { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelTokenSource, CancelTokenStatic } from "axios";
|
|
2
|
+
import { Swr } from "@/api/client/swr/Swr";
|
|
2
3
|
export type TimedRequest<T> = Promise<AxiosResponse<T> & {
|
|
3
4
|
duration: number;
|
|
4
5
|
error?: AxiosError;
|
|
5
6
|
}>;
|
|
6
7
|
export type AxiosEnvironment = {
|
|
7
|
-
isStaging?: boolean;
|
|
8
8
|
baseUrl?: string | null;
|
|
9
9
|
stagingAiApiUrl?: string | null;
|
|
10
10
|
aiApiUrl?: string | null;
|
|
11
11
|
ingestApiUrl?: string | null;
|
|
12
|
+
ingestGpuApiUrl?: string | null;
|
|
12
13
|
posthogApiUrl?: string | null;
|
|
13
14
|
posthogProjectId?: string | null;
|
|
14
15
|
posthogPrivateApiKey?: string | null;
|
|
@@ -16,10 +17,13 @@ export type AxiosEnvironment = {
|
|
|
16
17
|
weatherApiBaseUrl?: string | null;
|
|
17
18
|
evercamLabsUrl?: string | null;
|
|
18
19
|
firebaseDbLink?: string | null;
|
|
20
|
+
firebaseStorageUrl?: string | null;
|
|
21
|
+
firebaseStorageToken?: string | null;
|
|
19
22
|
snapshotsURL?: string | null;
|
|
20
23
|
app?: string | null;
|
|
21
24
|
getAuthToken?: () => string | null;
|
|
22
25
|
errorLogger?: (error: AxiosError) => void;
|
|
26
|
+
swrKey?: string;
|
|
23
27
|
};
|
|
24
28
|
export type RequestInterceptor = (req: AxiosRequestConfig, env: AxiosEnvironment) => AxiosRequestConfig & any;
|
|
25
29
|
export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) => AxiosResponse & any;
|
|
@@ -38,7 +42,13 @@ export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
|
38
42
|
addRequestInterceptor: (interceptor: RequestInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
39
43
|
addResponseInterceptor: (interceptor: ResponseInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
40
44
|
addErrorInterceptor: (interceptor: ErrorInterceptor) => void;
|
|
45
|
+
swr: Swr;
|
|
41
46
|
}
|
|
47
|
+
export type ResponseValue<T> = T | undefined;
|
|
48
|
+
export type SwrResponse<T> = {
|
|
49
|
+
cachedValue: ResponseValue<T>;
|
|
50
|
+
freshPromise: Promise<ResponseValue<T>>;
|
|
51
|
+
};
|
|
42
52
|
declare module "axios" {
|
|
43
53
|
interface AxiosRequestConfig {
|
|
44
54
|
raw?: boolean;
|
|
@@ -47,5 +57,9 @@ declare module "axios" {
|
|
|
47
57
|
_metadata?: {
|
|
48
58
|
startTime: number;
|
|
49
59
|
};
|
|
60
|
+
swr?: boolean;
|
|
61
|
+
onSwrHit?: <T>(data: T) => unknown;
|
|
62
|
+
onSwrRefresh?: <T>(data: T) => unknown;
|
|
63
|
+
onSwrError?: (error: Error) => unknown;
|
|
50
64
|
}
|
|
51
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid,
|
|
2
|
-
export type CameraExid =
|
|
1
|
+
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, Schedule } from "@/types";
|
|
2
|
+
export type CameraExid = string;
|
|
3
3
|
export type CamerasByExid = EntityByExid<Camera>;
|
|
4
4
|
export type Cartesian3 = {
|
|
5
5
|
x: number;
|
|
@@ -17,7 +17,7 @@ export type Camera = {
|
|
|
17
17
|
storageDuration: string;
|
|
18
18
|
};
|
|
19
19
|
createdAt: DateTime_Z_micros;
|
|
20
|
-
description: null;
|
|
20
|
+
description: string | null;
|
|
21
21
|
discoverable: boolean;
|
|
22
22
|
external: {
|
|
23
23
|
host: string;
|
|
@@ -62,7 +62,7 @@ export type Camera = {
|
|
|
62
62
|
offlineReason: string;
|
|
63
63
|
owned: boolean;
|
|
64
64
|
owner: string;
|
|
65
|
-
pitch: null;
|
|
65
|
+
pitch: string | null;
|
|
66
66
|
project: {
|
|
67
67
|
id: string;
|
|
68
68
|
name: string;
|
|
@@ -73,7 +73,7 @@ export type Camera = {
|
|
|
73
73
|
};
|
|
74
74
|
ptz: boolean;
|
|
75
75
|
rights: string;
|
|
76
|
-
roll: null;
|
|
76
|
+
roll: string | null;
|
|
77
77
|
routerId: number;
|
|
78
78
|
status: CameraStatus;
|
|
79
79
|
streamingServer: string;
|
|
@@ -82,6 +82,8 @@ export type Camera = {
|
|
|
82
82
|
timezone: string;
|
|
83
83
|
updatedAt: DateTime_Z_micros;
|
|
84
84
|
vendorName: string;
|
|
85
|
+
isAccessRestricted?: boolean;
|
|
86
|
+
kitAlarms?: string[];
|
|
85
87
|
};
|
|
86
88
|
export type AdminCamera = {
|
|
87
89
|
cameraHost: string;
|
|
@@ -177,6 +179,8 @@ export declare enum CameraStatus {
|
|
|
177
179
|
export declare enum CameraFeatureFlag {
|
|
178
180
|
EdgeVideo = "edge_video",
|
|
179
181
|
BimCompare = "bim_compare",
|
|
182
|
+
TwoDBimCompare = "2d_bim_compare",
|
|
183
|
+
ForgeBIMCompare = "forge_bim_compare",
|
|
180
184
|
GateReport = "gate_report",
|
|
181
185
|
VideoStream = "video_stream",
|
|
182
186
|
WebRTC = "webrtc",
|
|
@@ -185,7 +189,8 @@ export declare enum CameraFeatureFlag {
|
|
|
185
189
|
PTZ = "ptz",
|
|
186
190
|
ObjectDetection = "object_detection",
|
|
187
191
|
Segmentation = "segmentation",
|
|
188
|
-
SegmentationAutoLabelling = "segmentation_auto_labelling"
|
|
192
|
+
SegmentationAutoLabelling = "segmentation_auto_labelling",
|
|
193
|
+
PpeMonitoring = "ppe_monitoring"
|
|
189
194
|
}
|
|
190
195
|
export type CameraLogsRequestPayload = {
|
|
191
196
|
limit: number;
|
|
@@ -227,6 +232,8 @@ export type CameraUpdateRequestPayload = {
|
|
|
227
232
|
heading?: number;
|
|
228
233
|
fovAngle?: number;
|
|
229
234
|
fovRadius?: number;
|
|
235
|
+
featureFlags: CameraFeatureFlag[];
|
|
236
|
+
isAccessRestricted?: boolean;
|
|
230
237
|
};
|
|
231
238
|
export type CamerasResponsePayload = {
|
|
232
239
|
cameras?: Camera[];
|
|
@@ -320,56 +327,6 @@ export type Hdd = {
|
|
|
320
327
|
errorStatus: string;
|
|
321
328
|
canExpand: boolean;
|
|
322
329
|
};
|
|
323
|
-
export declare enum ResolutionDimensions {
|
|
324
|
-
QVGA = "320x240",
|
|
325
|
-
VGA = "640x480",
|
|
326
|
-
SVGA = "800x600",
|
|
327
|
-
XGA = "1024x768",
|
|
328
|
-
HD = "1280x720",
|
|
329
|
-
WXGA = "1280x800",
|
|
330
|
-
HDPlus = "1366x768",
|
|
331
|
-
WXGAPlus = "1440x900",
|
|
332
|
-
HDPlusPlus = "1600x900",
|
|
333
|
-
UXGA = "1600x1200",
|
|
334
|
-
FullHD = "1920x1080",
|
|
335
|
-
WUXGA = "1920x1200",
|
|
336
|
-
TwoK = "2048x1080",
|
|
337
|
-
QHD = "2560x1440",
|
|
338
|
-
WQXGA = "2560x1600",
|
|
339
|
-
FourK = "3840x2160",
|
|
340
|
-
FourKCinema = "4096x2160",
|
|
341
|
-
FiveK = "5120x2880",
|
|
342
|
-
EightK = "7680x4320",
|
|
343
|
-
WHUXGA = "7680x4800"
|
|
344
|
-
}
|
|
345
|
-
export declare enum ResolutionLabel {
|
|
346
|
-
QVGA = "QVGA",
|
|
347
|
-
VGA = "VGA",
|
|
348
|
-
SVGA = "SVGA",
|
|
349
|
-
XGA = "XGA",
|
|
350
|
-
HD = "HD",
|
|
351
|
-
WXGA = "WXGA",
|
|
352
|
-
HDPlus = "HD+",
|
|
353
|
-
WXGAPlus = "WXGA++",
|
|
354
|
-
HDPlusPlus = "HD++",
|
|
355
|
-
UXGA = "UXGA",
|
|
356
|
-
FullHD = "FullHD",
|
|
357
|
-
WUXGA = "WUXGA",
|
|
358
|
-
TwoK = "2K",
|
|
359
|
-
QHD = "QHD",
|
|
360
|
-
WQXGA = "WQXGA",
|
|
361
|
-
FourK = "4K",
|
|
362
|
-
FourKCinema = "4KCinema",
|
|
363
|
-
FiveK = "5K",
|
|
364
|
-
EightK = "8K",
|
|
365
|
-
WHUXGA = "WHUXGA"
|
|
366
|
-
}
|
|
367
|
-
export type ResolutionInfo = {
|
|
368
|
-
ratioString: string;
|
|
369
|
-
ratioFloat: number;
|
|
370
|
-
resolutionDimensions: ResolutionDimensions;
|
|
371
|
-
resolutionLabel: ResolutionLabel;
|
|
372
|
-
};
|
|
373
330
|
export type CameraPath = {
|
|
374
331
|
projectExid: ProjectExid;
|
|
375
332
|
cameraExid: CameraExid;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { CameraExid, DateType, ProjectExid } from "@/types";
|
|
2
|
+
export declare enum CommentsScope {
|
|
3
|
+
Recordings = "recordings",
|
|
4
|
+
ThreeSixty = "360"
|
|
5
|
+
}
|
|
2
6
|
export type CommentsRequestPayload = {
|
|
3
7
|
cameraExid: CameraExid;
|
|
4
8
|
fromDate: string;
|
|
5
9
|
toDate: string;
|
|
10
|
+
scope: CommentsScope;
|
|
6
11
|
page?: number;
|
|
7
12
|
limit?: number;
|
|
8
13
|
};
|
|
9
|
-
export type CommentPosition = {
|
|
10
|
-
coordinates: Array<number>;
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
14
|
export type Comment = {
|
|
14
15
|
fromDate?: string;
|
|
15
16
|
toDate?: string;
|
|
@@ -22,15 +23,21 @@ export type Comment = {
|
|
|
22
23
|
createdAt?: string;
|
|
23
24
|
creatorEmail?: string;
|
|
24
25
|
creatorName?: string;
|
|
25
|
-
position2d
|
|
26
|
+
position2d?: [number, number];
|
|
27
|
+
position3d?: [number, number, number];
|
|
28
|
+
context?: Record<string, unknown>;
|
|
26
29
|
canDelete?: boolean;
|
|
30
|
+
archivedAt?: string;
|
|
27
31
|
};
|
|
28
32
|
export type CommentCreationRequestPayload = {
|
|
29
33
|
fromDate?: DateType;
|
|
30
34
|
toDate?: DateType;
|
|
31
|
-
timestamp
|
|
35
|
+
timestamp?: DateType;
|
|
36
|
+
scope?: CommentsScope;
|
|
32
37
|
projectExid: ProjectExid;
|
|
33
|
-
cameraExid
|
|
38
|
+
cameraExid?: CameraExid;
|
|
34
39
|
content: string;
|
|
35
|
-
position2d
|
|
40
|
+
position2d?: [number, number];
|
|
41
|
+
position3d?: [number, number, number];
|
|
42
|
+
context?: Record<string, unknown>;
|
|
36
43
|
};
|