@evercam/api 1.0.0-9ededcdb0 → 1.0.0-9f953b64f
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/{3dFirebaseApi.d.ts → api/3dFirebaseApi.d.ts} +2 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +48 -23
- 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/{evercamApi.d.ts → api/evercamApi.d.ts} +51 -17
- package/dist/api/api/evercamLabsApi.d.ts +43 -0
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/{ingestApi.d.ts → api/ingestApi.d.ts} +8 -5
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +1 -1
- 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 +8 -2
- package/dist/{types → api/types}/aconex.d.ts +1 -1
- package/dist/{types → api/types}/analytics.d.ts +67 -70
- 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 +1 -1
- package/dist/{types → api/types}/camera.d.ts +10 -53
- package/dist/{types → api/types}/comments.d.ts +15 -8
- 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/api/types/detections.d.ts +127 -0
- package/dist/{types → api/types}/errors.d.ts +12 -0
- package/dist/{types → api/types}/gateReport.d.ts +50 -1
- package/dist/api/types/hdd.d.ts +63 -0
- package/dist/{types → api/types}/index.d.ts +7 -2
- package/dist/{types → api/types}/ingest.d.ts +4 -0
- package/dist/{types → api/types}/kit.d.ts +41 -9
- package/dist/{types → api/types}/nvr.d.ts +2 -1
- package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +10 -1
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/api/types/procore.d.ts +219 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +2 -0
- 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 +141 -0
- package/dist/{types → api/types}/streaming.d.ts +2 -23
- 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 +11 -5
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1038 -744
- 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 +184 -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 -5
- package/dist/api/aiApi.d.ts +0 -73
- package/dist/api/evercamLabsApi.d.ts +0 -51
- package/dist/api/weatherApi.d.ts +0 -25
- package/dist/types/detections.d.ts +0 -62
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/siteAnalytics.d.ts +0 -5
- /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/{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}/company.d.ts +0 -0
- /package/dist/{types → api/types}/compare.d.ts +0 -0
- /package/dist/{types → api/types}/countries.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}/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}/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
|
@@ -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
37
|
}): 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
|
};
|
|
@@ -27,7 +27,7 @@ export declare const PtzApi: {
|
|
|
27
27
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
28
|
};
|
|
29
29
|
controls: {
|
|
30
|
-
move({ cameraExid, direction,
|
|
30
|
+
move({ cameraExid, direction, useContinuous }: MoveParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
31
|
zoom({ cameraExid, direction, isRecordingFromNvr }: ZoomParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
32
|
stop({ cameraExid }: {
|
|
33
33
|
cameraExid: string;
|
|
@@ -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,17 @@ 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
|
-
Evercam = "Evercam"
|
|
53
|
+
DroneDeploy = "Dronedeploy"
|
|
49
54
|
}
|
|
50
55
|
export type _360AssetsQueryParams = {
|
|
51
56
|
page: number;
|
|
@@ -73,6 +78,7 @@ export type _360AssetsUploadPayload = {
|
|
|
73
78
|
startPosition: string;
|
|
74
79
|
endPosition: string;
|
|
75
80
|
isTimelapse: boolean;
|
|
81
|
+
isImagesOnly: boolean;
|
|
76
82
|
};
|
|
77
83
|
export type Generate360MapRequestPayload = {
|
|
78
84
|
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",
|
|
@@ -99,7 +93,8 @@ export declare enum AnalyticsEvent {
|
|
|
99
93
|
WidgetsSettingRefreshRate = "EditRefreshRate",
|
|
100
94
|
WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput",
|
|
101
95
|
WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode",
|
|
102
|
-
WidgetsSettingToggleBIMCompareTimeLine = "
|
|
96
|
+
WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline",
|
|
97
|
+
WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar",
|
|
103
98
|
WidgetsSettingToggleDownload = "ToggleDownload",
|
|
104
99
|
WidgetsSettingToggleFullScreen = "ToggleFullScreen",
|
|
105
100
|
WidgetsSettingTogglePlayPause = "TogglePlayPause",
|
|
@@ -242,7 +237,6 @@ export declare enum AnalyticsEvent {
|
|
|
242
237
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
243
238
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
244
239
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
245
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
246
240
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
247
241
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
248
242
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -264,15 +258,16 @@ export declare enum AnalyticsEvent {
|
|
|
264
258
|
SharingTransferOwnership = "TransferOwnership",
|
|
265
259
|
SharingSortBy = "SortBy",
|
|
266
260
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
+
ThreeSixtyList = "360List",
|
|
267
262
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
268
263
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
269
264
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
270
265
|
ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
|
|
271
|
-
|
|
266
|
+
ThreeSixtyDeleteComment = "DeleteComment",
|
|
272
267
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
273
|
-
|
|
268
|
+
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
274
269
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
275
|
-
|
|
270
|
+
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
276
271
|
ThreeSixtyLockCompare = "LockCompare",
|
|
277
272
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
278
273
|
ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
|
|
@@ -281,14 +276,16 @@ export declare enum AnalyticsEvent {
|
|
|
281
276
|
ThreeSixtyOpenCompare = "OpenCompare",
|
|
282
277
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
283
278
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
284
|
-
|
|
285
|
-
|
|
279
|
+
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
280
|
+
ThreeSixtySaveComment = "SaveComment",
|
|
281
|
+
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
282
|
+
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
286
283
|
ThreeSixtyShareView = "ShareView",
|
|
287
|
-
|
|
284
|
+
ThreeSixtyCommentClicked = "CommentClicked",
|
|
288
285
|
ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
|
|
289
286
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
290
287
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
291
|
-
|
|
288
|
+
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
292
289
|
ThreeSixtyTourPause = "Tour-Pause",
|
|
293
290
|
ThreeSixtyTourPlay = "Tour-Play",
|
|
294
291
|
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
@@ -298,6 +295,7 @@ export declare enum AnalyticsEvent {
|
|
|
298
295
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
299
296
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
300
297
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
298
|
+
ThreeSixtyUpdateFloorName = "UpdateFloorName",
|
|
301
299
|
DroneAreaToolClick = "AreaTool-Click",
|
|
302
300
|
DroneChangeDate = "ChangeDate",
|
|
303
301
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -334,30 +332,29 @@ export declare enum AnalyticsEvent {
|
|
|
334
332
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
335
333
|
DroneZoomIn = "ZoomIn",
|
|
336
334
|
DroneZoomOut = "ZoomOut",
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
SitePlannerZoomOut = "ZoomOut",
|
|
335
|
+
PlannerAddCameraClick = "AddCameraClick",
|
|
336
|
+
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
337
|
+
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
338
|
+
PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
|
|
339
|
+
PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
|
|
340
|
+
PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
|
|
341
|
+
PlannerCameraMarkerEditName = "CameraMarker-EditName",
|
|
342
|
+
PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
|
|
343
|
+
PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
|
|
344
|
+
PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
|
|
345
|
+
PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
|
|
346
|
+
PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
|
|
347
|
+
PlannerChangeLocation = "ChangeLocation",
|
|
348
|
+
PlannerOpen = "Open",
|
|
349
|
+
PlannerResetView = "ResetView",
|
|
350
|
+
PlannerSitePlansList = "SitePlansList",
|
|
351
|
+
PlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
352
|
+
PlannerToggleFullscreen = "ToggleFullscreen",
|
|
353
|
+
PlannerToggleMapStyle = "ToggleMapStyle",
|
|
354
|
+
PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
355
|
+
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
356
|
+
PlannerZoomIn = "ZoomIn",
|
|
357
|
+
PlannerZoomOut = "ZoomOut",
|
|
361
358
|
MarkerClicked = "MarkerClicked",
|
|
362
359
|
TimelapseToggleHelpDialog = "ToggleHelpDialog",
|
|
363
360
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
@@ -442,40 +439,40 @@ export declare enum AnalyticsEvent {
|
|
|
442
439
|
MediaCopyMediaLink = "Media-CopyMediaLink",
|
|
443
440
|
MediaGoToMediaHub = "Media-GoBackToMediaHub",
|
|
444
441
|
GateReportCalendarTreeDateClick = "CalendarTree-DateClick",
|
|
445
|
-
GateReportExportPdf = "ExportPdf",
|
|
446
|
-
GateReportExportCsv = "ExportCsv",
|
|
447
442
|
GateReportFilterEntryExit = "FilterEntryExit",
|
|
448
|
-
GateReportFilterCameras = "FilterCameras",
|
|
449
443
|
GateReportFilterPlateNumber = "FilterPlateNumber",
|
|
450
444
|
GateReportFilterVehicleTypes = "FilterVehicleTypes",
|
|
451
445
|
GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo",
|
|
452
446
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
453
447
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
448
|
+
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
454
449
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
455
450
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
456
451
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
457
452
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
458
453
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
459
|
-
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
454
|
+
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
455
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
456
|
+
ExportPdf = "ExportPdf",
|
|
457
|
+
ExportCsv = "ExportCsv",
|
|
458
|
+
FilterCameras = "FilterCameras",
|
|
459
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
460
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
461
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
462
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
463
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
464
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
465
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
466
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
467
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
468
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
469
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
470
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
471
|
+
SmartSearchCameraSelected = "SmartSearch-CameraSelected",
|
|
472
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
473
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
474
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
475
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
476
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
477
|
+
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
460
478
|
}
|
|
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?: {
|
|
@@ -4,11 +4,11 @@ export type TimedRequest<T> = Promise<AxiosResponse<T> & {
|
|
|
4
4
|
error?: AxiosError;
|
|
5
5
|
}>;
|
|
6
6
|
export type AxiosEnvironment = {
|
|
7
|
-
isStaging?: boolean;
|
|
8
7
|
baseUrl?: string | null;
|
|
9
8
|
stagingAiApiUrl?: string | null;
|
|
10
9
|
aiApiUrl?: string | null;
|
|
11
10
|
ingestApiUrl?: string | null;
|
|
11
|
+
ingestGpuApiUrl?: string | null;
|
|
12
12
|
posthogApiUrl?: string | null;
|
|
13
13
|
posthogProjectId?: string | null;
|
|
14
14
|
posthogPrivateApiKey?: string | null;
|
|
@@ -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;
|
|
@@ -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
|
};
|
|
@@ -7,7 +7,12 @@ export declare enum Connector {
|
|
|
7
7
|
Procore = "procore",
|
|
8
8
|
Autodesk = "autodesk",
|
|
9
9
|
AutodeskViewer = "autodesk_viewer",
|
|
10
|
-
VoyageControl = "voyage_control"
|
|
10
|
+
VoyageControl = "voyage_control",
|
|
11
|
+
XWeather = "xweather"
|
|
12
|
+
}
|
|
13
|
+
export declare enum ProcoreType {
|
|
14
|
+
Observations = "observations",
|
|
15
|
+
Photos = "photos"
|
|
11
16
|
}
|
|
12
17
|
export type ConnectorResponsePayload = Array<{
|
|
13
18
|
hostname: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DateType } from "@/types/time";
|
|
2
|
+
export type CreateCoolifyAppRequestPayload = {
|
|
3
|
+
cameraExid: string;
|
|
4
|
+
startDate: DateType;
|
|
5
|
+
modelVersion: string;
|
|
6
|
+
snapshotRequestTimeout: string | number;
|
|
7
|
+
serverUuid: string;
|
|
8
|
+
branch: string;
|
|
9
|
+
};
|
|
10
|
+
export type SaveCoolifyAppRequestPayload = {
|
|
11
|
+
contextCameraExid: string;
|
|
12
|
+
coolifyServiceId: string;
|
|
13
|
+
modelVersion: string;
|
|
14
|
+
startTime: string;
|
|
15
|
+
branchName: string;
|
|
16
|
+
snapshotRequestTimeout: string | number;
|
|
17
|
+
serverUuid: string;
|
|
18
|
+
};
|