@evercam/api 1.0.0-d52e7306c → 1.0.0-dba2879ab
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} +50 -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 +1 -1
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +61 -20
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -9
- 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 +8 -2
- package/dist/{types → api/types}/aconex.d.ts +1 -1
- package/dist/{types → api/types}/analytics.d.ts +74 -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 +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}/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}/detections.d.ts +61 -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 +35 -4
- package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +4 -0
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/api/types/procore.d.ts +222 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +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 +1 -10
- 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 +4 -4
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1014 -749
- 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 +3 -3
- 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 -84
- /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}/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}/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,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",
|
|
@@ -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",
|
|
@@ -442,40 +441,47 @@ export declare enum AnalyticsEvent {
|
|
|
442
441
|
MediaCopyMediaLink = "Media-CopyMediaLink",
|
|
443
442
|
MediaGoToMediaHub = "Media-GoBackToMediaHub",
|
|
444
443
|
GateReportCalendarTreeDateClick = "CalendarTree-DateClick",
|
|
445
|
-
GateReportExportPdf = "ExportPdf",
|
|
446
|
-
GateReportExportCsv = "ExportCsv",
|
|
447
444
|
GateReportFilterEntryExit = "FilterEntryExit",
|
|
448
|
-
GateReportFilterCameras = "FilterCameras",
|
|
449
445
|
GateReportFilterPlateNumber = "FilterPlateNumber",
|
|
450
446
|
GateReportFilterVehicleTypes = "FilterVehicleTypes",
|
|
451
447
|
GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo",
|
|
452
448
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
453
449
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
450
|
+
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
454
451
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
455
452
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
456
453
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
457
454
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
458
455
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
459
|
-
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
456
|
+
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
457
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
458
|
+
Recording = "Recording",
|
|
459
|
+
CameraFilter = "CameraFilter",
|
|
460
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
461
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
462
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
463
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
464
|
+
ExportAs = "ExportAs",
|
|
465
|
+
ExportPdf = "ExportPdf",
|
|
466
|
+
ExportCsv = "ExportCsv",
|
|
467
|
+
FilterCameras = "FilterCameras",
|
|
468
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
469
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
470
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
471
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
472
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
473
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
474
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
475
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
476
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
477
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
478
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
479
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
480
|
+
SmartSearchCameraSelected = "SmartSearch-CameraSelected",
|
|
481
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
482
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
483
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
484
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
485
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
486
|
+
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
460
487
|
}
|
|
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
|
};
|
|
@@ -13,6 +13,34 @@ export type CompanyProject = {
|
|
|
13
13
|
status: string;
|
|
14
14
|
startedAt: DateType;
|
|
15
15
|
};
|
|
16
|
+
export type CompanyKit = {
|
|
17
|
+
id: number;
|
|
18
|
+
name: string;
|
|
19
|
+
serial: string;
|
|
20
|
+
status: string;
|
|
21
|
+
powerType: string;
|
|
22
|
+
countryName: string;
|
|
23
|
+
nvrId: string;
|
|
24
|
+
nvrSerial: string;
|
|
25
|
+
nvrVersion: string;
|
|
26
|
+
nvrNerves: boolean;
|
|
27
|
+
nvrModel: string;
|
|
28
|
+
nvrDeviceType: string;
|
|
29
|
+
routerId: string;
|
|
30
|
+
routerSerial: string;
|
|
31
|
+
projectExid: string;
|
|
32
|
+
projectName: string;
|
|
33
|
+
alarms: Array<string>;
|
|
34
|
+
sims: Array<{
|
|
35
|
+
id: number;
|
|
36
|
+
number: string;
|
|
37
|
+
}>;
|
|
38
|
+
cameras: Array<{
|
|
39
|
+
exid: string;
|
|
40
|
+
name: string;
|
|
41
|
+
status: string;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
16
44
|
export type Company = {
|
|
17
45
|
id: number;
|
|
18
46
|
exid: string;
|
|
@@ -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
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AnalyticsEventPageId, CameraExid, CameraFeatureFlag, CameraStatus, ProjectExid, ProjectFeatureFlag, ProjectStatus } from "@/types";
|
|
2
2
|
export declare enum CopilotMessageAuthor {
|
|
3
3
|
Copilot = "copilot",
|
|
4
|
-
User = "user"
|
|
4
|
+
User = "user",
|
|
5
|
+
System = "system"
|
|
5
6
|
}
|
|
6
7
|
export declare enum CopilotMessageType {
|
|
7
8
|
Text = "text",
|
|
@@ -33,12 +34,13 @@ export declare enum CopilotMissingFieldsLabels {
|
|
|
33
34
|
FromDate = "Start date",
|
|
34
35
|
ToDate = "End date"
|
|
35
36
|
}
|
|
36
|
-
export type CopilotMissingField = {
|
|
37
|
+
export type CopilotMissingField<T = any> = {
|
|
37
38
|
name: string;
|
|
38
39
|
label: string;
|
|
39
40
|
value: any;
|
|
40
41
|
type: string;
|
|
41
42
|
toolId: string;
|
|
43
|
+
error?: T;
|
|
42
44
|
};
|
|
43
45
|
export type CopilotMissingFields = Record<number, CopilotMissingField[]>;
|
|
44
46
|
export type UserConversations = CopilotConversation & {
|
|
@@ -57,7 +59,8 @@ export declare enum CopilotSocketEvent {
|
|
|
57
59
|
ChatError = "chat:chatError",
|
|
58
60
|
MissingFields = "chat:missingFields",
|
|
59
61
|
MissingFieldsCompleted = "chat:missingFields:completed",
|
|
60
|
-
SystemToolCallResponse = "system:toolCall:response"
|
|
62
|
+
SystemToolCallResponse = "system:toolCall:response",
|
|
63
|
+
ChangeProvider = "chat:changeProvider"
|
|
61
64
|
}
|
|
62
65
|
export type CopilotConversation = {
|
|
63
66
|
id: number;
|
|
@@ -118,9 +121,6 @@ export type CopilotProject = {
|
|
|
118
121
|
featureFlags?: ProjectFeatureFlag[];
|
|
119
122
|
cameras?: CopilotCamera[];
|
|
120
123
|
};
|
|
121
|
-
export type CopilotConversationContext = {
|
|
122
|
-
availableProjects: CopilotProject[];
|
|
123
|
-
};
|
|
124
124
|
export type CopilotMessageContext = {
|
|
125
125
|
pageId?: AnalyticsEventPageId;
|
|
126
126
|
selectedCamera?: CopilotCamera;
|
|
@@ -129,8 +129,8 @@ export type CopilotMessageContext = {
|
|
|
129
129
|
export type CopilotMessageStep = {
|
|
130
130
|
args: string[];
|
|
131
131
|
depth: number;
|
|
132
|
-
id
|
|
133
|
-
message_id
|
|
132
|
+
id?: number;
|
|
133
|
+
message_id?: number;
|
|
134
134
|
step: CopilotStepId;
|
|
135
135
|
timestamp: string;
|
|
136
136
|
};
|
|
@@ -154,3 +154,4 @@ export declare enum CopilotMissingFieldType {
|
|
|
154
154
|
String = "string",
|
|
155
155
|
Number = "number"
|
|
156
156
|
}
|
|
157
|
+
export type CopilotCompletedFields = Record<string, unknown>;
|