@evercam/api 1.0.0-b7904ee5f → 1.0.0-b99c2db9d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +21 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +86 -20
- package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +55 -10
- package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
- package/dist/api/{client → api/client}/interceptors.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +81 -31
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +5 -11
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +95 -0
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/api/weatherApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/{types → api/types}/360.d.ts +58 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/{types → api/types}/analytics.d.ts +100 -42
- package/dist/{types → api/types}/anpr.d.ts +7 -11
- package/dist/api/types/automation.d.ts +61 -0
- package/dist/{types → api/types}/axios.d.ts +15 -0
- package/dist/{types → api/types}/camera.d.ts +26 -55
- package/dist/api/types/comments.d.ts +59 -0
- package/dist/{types → api/types}/company.d.ts +29 -1
- package/dist/{types → api/types}/connector.d.ts +6 -1
- package/dist/{types → api/types}/coolify.d.ts +2 -0
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/detections.d.ts +51 -15
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/index.d.ts +5 -1
- package/dist/{types → api/types}/ingest.d.ts +8 -0
- package/dist/{types → api/types}/kit.d.ts +63 -7
- package/dist/{types → api/types}/planner.d.ts +4 -0
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/api/types/procore.d.ts +222 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
- package/dist/{types → api/types}/project.d.ts +15 -2
- package/dist/{types → api/types}/recording.d.ts +1 -2
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/{types → api/types}/roi.d.ts +2 -1
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/shared.d.ts +1 -6
- package/dist/{types → api/types}/shares.d.ts +5 -0
- package/dist/api/types/siteAnalytics.d.ts +163 -0
- package/dist/{types → api/types}/snapshots.d.ts +9 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/{types → api/types}/streaming.d.ts +2 -23
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/{types → api/types}/time.d.ts +6 -0
- package/dist/{types → api/types}/user.d.ts +5 -6
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +8 -2
- package/dist/{types → api/types}/widget.d.ts +27 -6
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1354 -812
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +199 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/timeline.d.ts +9 -0
- package/package.json +5 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/ingestApi.d.ts +0 -66
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/api/weatherApi.d.ts +0 -27
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/comments.d.ts +0 -36
- 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/types/videoWall.d.ts +0 -33
- /package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +0 -0
- /package/dist/api/{client → api/client}/axios.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
- /package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
- /package/dist/{types → api/types}/autodesk.d.ts +0 -0
- /package/dist/{types → api/types}/bim.d.ts +0 -0
- /package/dist/{types → api/types}/compare.d.ts +0 -0
- /package/dist/{types → api/types}/copilot.d.ts +0 -0
- /package/dist/{types → api/types}/credentials.d.ts +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/gateReport.d.ts +0 -0
- /package/dist/{types → api/types}/hdd.d.ts +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/media.d.ts +0 -0
- /package/dist/{types → api/types}/notification.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/router.d.ts +0 -0
- /package/dist/{types → api/types}/sim.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/tag.d.ts +0 -0
- /package/dist/{types → api/types}/timelapse.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
|
@@ -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,6 +20,7 @@ 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
26
|
SettingsConnectors = "Settings-Connectors",
|
|
@@ -46,7 +41,10 @@ export declare enum AnalyticsEventPageId {
|
|
|
46
41
|
DroneInfo = "DroneInfo",
|
|
47
42
|
ThreeSixtyInfo = "360Info",
|
|
48
43
|
BimCompareInfo = "BimCompareInfo",
|
|
49
|
-
WeatherReport = "WeatherReport"
|
|
44
|
+
WeatherReport = "WeatherReport",
|
|
45
|
+
PpeReport = "PpeReport",
|
|
46
|
+
SmartSearch = "SmartSearch",
|
|
47
|
+
Drawings = "Drawings"
|
|
50
48
|
}
|
|
51
49
|
export declare enum AnalyticsEvent {
|
|
52
50
|
PageView = "PageView",
|
|
@@ -80,6 +78,12 @@ export declare enum AnalyticsEvent {
|
|
|
80
78
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
81
79
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
82
80
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
81
|
+
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
82
|
+
WidgetsSelectProject = "SelectProject",
|
|
83
|
+
WidgetsSelect360Date = "Select360Date",
|
|
84
|
+
WidgetsSelect360Floor = "Select360Floor",
|
|
85
|
+
WidgetsSelect360Marker = "Select360Marker",
|
|
86
|
+
Widgets360LockMedia = "360LockMedia",
|
|
83
87
|
WidgetsAddWidgetClick = "AddWidget",
|
|
84
88
|
WidgetsCancelClick = "Cancel",
|
|
85
89
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -106,6 +110,7 @@ export declare enum AnalyticsEvent {
|
|
|
106
110
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
107
111
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
108
112
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
113
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
109
114
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
110
115
|
PlayerDownload = "Player-Download",
|
|
111
116
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -240,7 +245,6 @@ export declare enum AnalyticsEvent {
|
|
|
240
245
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
241
246
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
242
247
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
243
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
244
248
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
245
249
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
246
250
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -262,15 +266,27 @@ export declare enum AnalyticsEvent {
|
|
|
262
266
|
SharingTransferOwnership = "TransferOwnership",
|
|
263
267
|
SharingSortBy = "SortBy",
|
|
264
268
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
269
|
+
ThreeSixtyGallery = "Gallery",
|
|
270
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
271
|
+
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
272
|
+
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
273
|
+
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
274
|
+
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
275
|
+
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
276
|
+
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
277
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
278
|
+
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
279
|
+
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
280
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
265
281
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
266
282
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
267
283
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
268
284
|
ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
|
|
269
|
-
|
|
285
|
+
ThreeSixtyDeleteComment = "DeleteComment",
|
|
270
286
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
271
|
-
|
|
287
|
+
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
272
288
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
273
|
-
|
|
289
|
+
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
274
290
|
ThreeSixtyLockCompare = "LockCompare",
|
|
275
291
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
276
292
|
ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
|
|
@@ -279,14 +295,16 @@ export declare enum AnalyticsEvent {
|
|
|
279
295
|
ThreeSixtyOpenCompare = "OpenCompare",
|
|
280
296
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
281
297
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
282
|
-
|
|
283
|
-
|
|
298
|
+
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
299
|
+
ThreeSixtySaveComment = "SaveComment",
|
|
300
|
+
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
301
|
+
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
284
302
|
ThreeSixtyShareView = "ShareView",
|
|
285
|
-
|
|
303
|
+
ThreeSixtyCommentClicked = "CommentClicked",
|
|
286
304
|
ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
|
|
287
305
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
288
306
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
289
|
-
|
|
307
|
+
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
290
308
|
ThreeSixtyTourPause = "Tour-Pause",
|
|
291
309
|
ThreeSixtyTourPlay = "Tour-Play",
|
|
292
310
|
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
@@ -296,6 +314,7 @@ export declare enum AnalyticsEvent {
|
|
|
296
314
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
297
315
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
298
316
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
317
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
299
318
|
DroneAreaToolClick = "AreaTool-Click",
|
|
300
319
|
DroneChangeDate = "ChangeDate",
|
|
301
320
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -332,6 +351,7 @@ export declare enum AnalyticsEvent {
|
|
|
332
351
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
333
352
|
DroneZoomIn = "ZoomIn",
|
|
334
353
|
DroneZoomOut = "ZoomOut",
|
|
354
|
+
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
335
355
|
PlannerAddCameraClick = "AddCameraClick",
|
|
336
356
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
337
357
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -355,8 +375,13 @@ export declare enum AnalyticsEvent {
|
|
|
355
375
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
356
376
|
PlannerZoomIn = "ZoomIn",
|
|
357
377
|
PlannerZoomOut = "ZoomOut",
|
|
378
|
+
DrawingCreateSave = "CreateSave",
|
|
379
|
+
DrawingEditName = "EditName",
|
|
380
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
381
|
+
DrawingUpdateName = "UpdateName",
|
|
382
|
+
DrawingUpdateSave = "UpdateSave",
|
|
358
383
|
MarkerClicked = "MarkerClicked",
|
|
359
|
-
|
|
384
|
+
MarkerSelected = "MarkerSelected",
|
|
360
385
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
361
386
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
362
387
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -384,12 +409,18 @@ export declare enum AnalyticsEvent {
|
|
|
384
409
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
385
410
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
386
411
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
412
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
387
413
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
414
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
415
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
416
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
417
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
388
418
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
389
419
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
390
420
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
391
421
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
392
422
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
423
|
+
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
393
424
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
394
425
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
395
426
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -439,40 +470,67 @@ export declare enum AnalyticsEvent {
|
|
|
439
470
|
MediaCopyMediaLink = "Media-CopyMediaLink",
|
|
440
471
|
MediaGoToMediaHub = "Media-GoBackToMediaHub",
|
|
441
472
|
GateReportCalendarTreeDateClick = "CalendarTree-DateClick",
|
|
442
|
-
GateReportExportPdf = "ExportPdf",
|
|
443
|
-
GateReportExportCsv = "ExportCsv",
|
|
444
473
|
GateReportFilterEntryExit = "FilterEntryExit",
|
|
445
|
-
GateReportFilterCameras = "FilterCameras",
|
|
446
474
|
GateReportFilterPlateNumber = "FilterPlateNumber",
|
|
447
475
|
GateReportFilterVehicleTypes = "FilterVehicleTypes",
|
|
448
476
|
GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo",
|
|
449
477
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
450
478
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
479
|
+
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
451
480
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
481
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
452
482
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
453
483
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
454
484
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
455
485
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
456
|
-
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
486
|
+
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
487
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
488
|
+
Recording = "Recording",
|
|
489
|
+
CameraFilter = "CameraFilter",
|
|
490
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
491
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
492
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
493
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
494
|
+
ExportAs = "ExportAs",
|
|
495
|
+
ExportPdf = "ExportPdf",
|
|
496
|
+
ExportCsv = "ExportCsv",
|
|
497
|
+
FilterCameras = "FilterCameras",
|
|
498
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
499
|
+
CompareEditSelectedCameras = "Compare-EditSelectedCameras",
|
|
500
|
+
CompareEdit = "Compare-Edit",
|
|
501
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
502
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
503
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
504
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
505
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
506
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
507
|
+
AutomationsSelectProgressPhoto = "SelectProgressPhoto",
|
|
508
|
+
AutomationsSelectCompare = "SelectCompare",
|
|
509
|
+
AutomationsCreateCompare = "CreateCompare",
|
|
510
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
511
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
512
|
+
AutomationTypeName = "TypeName",
|
|
513
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
514
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
515
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
516
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
517
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
518
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
519
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
520
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
521
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
522
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
523
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
524
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
525
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
526
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
527
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
528
|
+
SmartSearchCameraSelected = "SmartSearch-CameraSelected",
|
|
529
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
530
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
531
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
532
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
533
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
534
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
535
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
457
536
|
}
|
|
458
|
-
export type ProjectPAStatsRequestPayload = {
|
|
459
|
-
period: "day" | "week" | "month";
|
|
460
|
-
startDate?: string;
|
|
461
|
-
endDate?: string;
|
|
462
|
-
};
|
|
463
|
-
export type ProjectPAStatsResponsePayload = {
|
|
464
|
-
period: DateType;
|
|
465
|
-
name: string;
|
|
466
|
-
count: number | string;
|
|
467
|
-
};
|
|
468
|
-
export type ActiveUsersStatsRequestPayload = {
|
|
469
|
-
companyId: number;
|
|
470
|
-
from: string;
|
|
471
|
-
to: string;
|
|
472
|
-
};
|
|
473
|
-
export type ActiveUserStat = {
|
|
474
|
-
date: string;
|
|
475
|
-
dau: number;
|
|
476
|
-
wau: number;
|
|
477
|
-
mau: number;
|
|
478
|
-
};
|
|
@@ -2,16 +2,6 @@ import { BoundingBox, CameraExid, DateType, GateReportVehicleType, TimelinePreci
|
|
|
2
2
|
export type AnprQueryParams = {
|
|
3
3
|
page?: number;
|
|
4
4
|
limit?: number;
|
|
5
|
-
firstSeen?: {
|
|
6
|
-
gte: DateType;
|
|
7
|
-
};
|
|
8
|
-
lastSeen?: {
|
|
9
|
-
lte: DateType;
|
|
10
|
-
};
|
|
11
|
-
captureTime?: {
|
|
12
|
-
gte?: DateType;
|
|
13
|
-
lt?: DateType;
|
|
14
|
-
};
|
|
15
5
|
direction?: {
|
|
16
6
|
eq?: string;
|
|
17
7
|
} | string;
|
|
@@ -21,7 +11,11 @@ export type AnprQueryParams = {
|
|
|
21
11
|
sort?: string;
|
|
22
12
|
fromDate?: DateType;
|
|
23
13
|
toDate?: DateType;
|
|
24
|
-
|
|
14
|
+
camerasExid?: CameraExid[];
|
|
15
|
+
vehicleTypes?: GateReportVehicleType[];
|
|
16
|
+
isDuplicate?: boolean;
|
|
17
|
+
isPostprocessed?: boolean;
|
|
18
|
+
isPlate?: boolean;
|
|
25
19
|
};
|
|
26
20
|
export type AnprCountsQueryParams = {
|
|
27
21
|
precision: TimelinePrecision;
|
|
@@ -44,6 +38,7 @@ export type AnprEvent = {
|
|
|
44
38
|
id: number;
|
|
45
39
|
plateNumber: string;
|
|
46
40
|
cameraExid: CameraExid;
|
|
41
|
+
cameraex: CameraExid;
|
|
47
42
|
picName: string;
|
|
48
43
|
eventTime: string;
|
|
49
44
|
insertedAt: string;
|
|
@@ -66,6 +61,7 @@ export type AnprEvent = {
|
|
|
66
61
|
contextCamera: string;
|
|
67
62
|
votedVehicleType: GateReportVehicleType | string;
|
|
68
63
|
roiId?: number;
|
|
64
|
+
captureTime: DateType;
|
|
69
65
|
metadata_: {
|
|
70
66
|
evercamMetadata?: {
|
|
71
67
|
anpr?: {
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AconexIdentifiers, CameraExid } from "@evercam/api/types";
|
|
2
|
+
export declare enum AutomationProvider {
|
|
3
|
+
Aconex = "aconex",
|
|
4
|
+
Procore = "procore",
|
|
5
|
+
Autodesk = "autodesk",
|
|
6
|
+
Email = "email"
|
|
7
|
+
}
|
|
8
|
+
export declare enum AutomationType {
|
|
9
|
+
Photo = "photo",
|
|
10
|
+
Compare = "compare"
|
|
11
|
+
}
|
|
12
|
+
export type AutomationCompareConfig = {
|
|
13
|
+
compareDelay: number;
|
|
14
|
+
};
|
|
15
|
+
export type AutomationEmailProviderConfig = {
|
|
16
|
+
recipients: string | string[];
|
|
17
|
+
};
|
|
18
|
+
export type AutomationProcoreProviderConfig = {
|
|
19
|
+
companyId: number;
|
|
20
|
+
companyName: string;
|
|
21
|
+
projectId: number;
|
|
22
|
+
projectName: string;
|
|
23
|
+
categoryId: number;
|
|
24
|
+
categoryName: string;
|
|
25
|
+
};
|
|
26
|
+
export type AutomationAconexProviderConfig = {
|
|
27
|
+
projectId: number;
|
|
28
|
+
projectName: string;
|
|
29
|
+
} & Partial<Record<AconexIdentifiers, string | number | boolean>>;
|
|
30
|
+
export type AutomationAutodeskProviderConfig = {
|
|
31
|
+
hubId: number;
|
|
32
|
+
hubName: string;
|
|
33
|
+
projectId: number;
|
|
34
|
+
projectName: string;
|
|
35
|
+
folderId: number;
|
|
36
|
+
accFileType: string;
|
|
37
|
+
accFolderType: string;
|
|
38
|
+
folderName: string;
|
|
39
|
+
};
|
|
40
|
+
export type AutomationProviderConfig = AutomationEmailProviderConfig | AutomationProcoreProviderConfig | AutomationAconexProviderConfig | AutomationAutodeskProviderConfig;
|
|
41
|
+
export type AutomationOptionsConfig = AutomationCompareConfig | {};
|
|
42
|
+
export type AutomationConfig = AutomationProviderConfig & AutomationOptionsConfig;
|
|
43
|
+
export type Automation = {
|
|
44
|
+
cameraExids: CameraExid[];
|
|
45
|
+
name: string;
|
|
46
|
+
subject?: string;
|
|
47
|
+
provider: AutomationProvider;
|
|
48
|
+
type: AutomationType;
|
|
49
|
+
config: AutomationConfig;
|
|
50
|
+
notifyDays: string[];
|
|
51
|
+
notifyTime: string;
|
|
52
|
+
timezone: string;
|
|
53
|
+
isPaused: boolean;
|
|
54
|
+
restrictedCameraExids?: string[];
|
|
55
|
+
};
|
|
56
|
+
export declare enum AutomationConfigStep {
|
|
57
|
+
Type = "type",
|
|
58
|
+
Cameras = "cameras",
|
|
59
|
+
Settings = "settings",
|
|
60
|
+
Destination = "destination"
|
|
61
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
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;
|
|
@@ -8,6 +9,7 @@ export type AxiosEnvironment = {
|
|
|
8
9
|
stagingAiApiUrl?: string | null;
|
|
9
10
|
aiApiUrl?: string | null;
|
|
10
11
|
ingestApiUrl?: string | null;
|
|
12
|
+
ingestGpuApiUrl?: string | null;
|
|
11
13
|
posthogApiUrl?: string | null;
|
|
12
14
|
posthogProjectId?: string | null;
|
|
13
15
|
posthogPrivateApiKey?: string | null;
|
|
@@ -15,10 +17,13 @@ export type AxiosEnvironment = {
|
|
|
15
17
|
weatherApiBaseUrl?: string | null;
|
|
16
18
|
evercamLabsUrl?: string | null;
|
|
17
19
|
firebaseDbLink?: string | null;
|
|
20
|
+
firebaseStorageUrl?: string | null;
|
|
21
|
+
firebaseStorageToken?: string | null;
|
|
18
22
|
snapshotsURL?: string | null;
|
|
19
23
|
app?: string | null;
|
|
20
24
|
getAuthToken?: () => string | null;
|
|
21
25
|
errorLogger?: (error: AxiosError) => void;
|
|
26
|
+
swrKey?: string;
|
|
22
27
|
};
|
|
23
28
|
export type RequestInterceptor = (req: AxiosRequestConfig, env: AxiosEnvironment) => AxiosRequestConfig & any;
|
|
24
29
|
export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) => AxiosResponse & any;
|
|
@@ -37,7 +42,13 @@ export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
|
37
42
|
addRequestInterceptor: (interceptor: RequestInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
38
43
|
addResponseInterceptor: (interceptor: ResponseInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
39
44
|
addErrorInterceptor: (interceptor: ErrorInterceptor) => void;
|
|
45
|
+
swr: Swr;
|
|
40
46
|
}
|
|
47
|
+
export type ResponseValue<T> = T | undefined;
|
|
48
|
+
export type SwrResponse<T> = {
|
|
49
|
+
cachedValue: ResponseValue<T>;
|
|
50
|
+
freshPromise: Promise<ResponseValue<T>>;
|
|
51
|
+
};
|
|
41
52
|
declare module "axios" {
|
|
42
53
|
interface AxiosRequestConfig {
|
|
43
54
|
raw?: boolean;
|
|
@@ -46,5 +57,9 @@ declare module "axios" {
|
|
|
46
57
|
_metadata?: {
|
|
47
58
|
startTime: number;
|
|
48
59
|
};
|
|
60
|
+
swr?: boolean;
|
|
61
|
+
onSwrHit?: <T>(data: T) => unknown;
|
|
62
|
+
onSwrRefresh?: <T>(data: T) => unknown;
|
|
63
|
+
onSwrError?: (error: Error) => unknown;
|
|
49
64
|
}
|
|
50
65
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, Schedule } from "@/types";
|
|
1
|
+
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, ProjectFeatureFlag, Schedule } from "@/types";
|
|
2
|
+
import { DateRangeFilter } from "@/types/time";
|
|
2
3
|
export type CameraExid = string;
|
|
3
4
|
export type CamerasByExid = EntityByExid<Camera>;
|
|
4
5
|
export type Cartesian3 = {
|
|
@@ -17,7 +18,7 @@ export type Camera = {
|
|
|
17
18
|
storageDuration: string;
|
|
18
19
|
};
|
|
19
20
|
createdAt: DateTime_Z_micros;
|
|
20
|
-
description: null;
|
|
21
|
+
description: string | null;
|
|
21
22
|
discoverable: boolean;
|
|
22
23
|
external: {
|
|
23
24
|
host: string;
|
|
@@ -62,7 +63,7 @@ export type Camera = {
|
|
|
62
63
|
offlineReason: string;
|
|
63
64
|
owned: boolean;
|
|
64
65
|
owner: string;
|
|
65
|
-
pitch: null;
|
|
66
|
+
pitch: string | null;
|
|
66
67
|
project: {
|
|
67
68
|
id: string;
|
|
68
69
|
name: string;
|
|
@@ -73,7 +74,7 @@ export type Camera = {
|
|
|
73
74
|
};
|
|
74
75
|
ptz: boolean;
|
|
75
76
|
rights: string;
|
|
76
|
-
roll: null;
|
|
77
|
+
roll: string | null;
|
|
77
78
|
routerId: number;
|
|
78
79
|
status: CameraStatus;
|
|
79
80
|
streamingServer: string;
|
|
@@ -82,6 +83,8 @@ export type Camera = {
|
|
|
82
83
|
timezone: string;
|
|
83
84
|
updatedAt: DateTime_Z_micros;
|
|
84
85
|
vendorName: string;
|
|
86
|
+
isAccessRestricted?: boolean;
|
|
87
|
+
kitAlarms?: string[];
|
|
85
88
|
};
|
|
86
89
|
export type AdminCamera = {
|
|
87
90
|
cameraHost: string;
|
|
@@ -133,7 +136,7 @@ export type AdminCamera = {
|
|
|
133
136
|
pitch: null;
|
|
134
137
|
powerSchedule: Schedule;
|
|
135
138
|
projectExid: string;
|
|
136
|
-
projectFeatureFlags: [];
|
|
139
|
+
projectFeatureFlags: ProjectFeatureFlag[];
|
|
137
140
|
projectId: number;
|
|
138
141
|
projectName: string;
|
|
139
142
|
ptz: false;
|
|
@@ -174,9 +177,18 @@ export declare enum CameraStatus {
|
|
|
174
177
|
UnderMaintenance = "under_maintenance",
|
|
175
178
|
WaitingForSiteVisit = "waiting_for_site_visit"
|
|
176
179
|
}
|
|
180
|
+
export declare enum IntensityChangeColors {
|
|
181
|
+
High = "#FF5252",
|
|
182
|
+
Moderate = "#FBC02D",
|
|
183
|
+
Low = "#006400",
|
|
184
|
+
NoChange = "#3ACF3A",
|
|
185
|
+
Default = "black"
|
|
186
|
+
}
|
|
177
187
|
export declare enum CameraFeatureFlag {
|
|
178
188
|
EdgeVideo = "edge_video",
|
|
179
189
|
BimCompare = "bim_compare",
|
|
190
|
+
TwoDBimCompare = "2d_bim_compare",
|
|
191
|
+
ForgeBIMCompare = "forge_bim_compare",
|
|
180
192
|
GateReport = "gate_report",
|
|
181
193
|
VideoStream = "video_stream",
|
|
182
194
|
WebRTC = "webrtc",
|
|
@@ -229,6 +241,7 @@ export type CameraUpdateRequestPayload = {
|
|
|
229
241
|
fovAngle?: number;
|
|
230
242
|
fovRadius?: number;
|
|
231
243
|
featureFlags: CameraFeatureFlag[];
|
|
244
|
+
isAccessRestricted?: boolean;
|
|
232
245
|
};
|
|
233
246
|
export type CamerasResponsePayload = {
|
|
234
247
|
cameras?: Camera[];
|
|
@@ -322,56 +335,6 @@ export type Hdd = {
|
|
|
322
335
|
errorStatus: string;
|
|
323
336
|
canExpand: boolean;
|
|
324
337
|
};
|
|
325
|
-
export declare enum ResolutionDimensions {
|
|
326
|
-
QVGA = "320x240",
|
|
327
|
-
VGA = "640x480",
|
|
328
|
-
SVGA = "800x600",
|
|
329
|
-
XGA = "1024x768",
|
|
330
|
-
HD = "1280x720",
|
|
331
|
-
WXGA = "1280x800",
|
|
332
|
-
HDPlus = "1366x768",
|
|
333
|
-
WXGAPlus = "1440x900",
|
|
334
|
-
HDPlusPlus = "1600x900",
|
|
335
|
-
UXGA = "1600x1200",
|
|
336
|
-
FullHD = "1920x1080",
|
|
337
|
-
WUXGA = "1920x1200",
|
|
338
|
-
TwoK = "2048x1080",
|
|
339
|
-
QHD = "2560x1440",
|
|
340
|
-
WQXGA = "2560x1600",
|
|
341
|
-
FourK = "3840x2160",
|
|
342
|
-
FourKCinema = "4096x2160",
|
|
343
|
-
FiveK = "5120x2880",
|
|
344
|
-
EightK = "7680x4320",
|
|
345
|
-
WHUXGA = "7680x4800"
|
|
346
|
-
}
|
|
347
|
-
export declare enum ResolutionLabel {
|
|
348
|
-
QVGA = "QVGA",
|
|
349
|
-
VGA = "VGA",
|
|
350
|
-
SVGA = "SVGA",
|
|
351
|
-
XGA = "XGA",
|
|
352
|
-
HD = "HD",
|
|
353
|
-
WXGA = "WXGA",
|
|
354
|
-
HDPlus = "HD+",
|
|
355
|
-
WXGAPlus = "WXGA++",
|
|
356
|
-
HDPlusPlus = "HD++",
|
|
357
|
-
UXGA = "UXGA",
|
|
358
|
-
FullHD = "FullHD",
|
|
359
|
-
WUXGA = "WUXGA",
|
|
360
|
-
TwoK = "2K",
|
|
361
|
-
QHD = "QHD",
|
|
362
|
-
WQXGA = "WQXGA",
|
|
363
|
-
FourK = "4K",
|
|
364
|
-
FourKCinema = "4KCinema",
|
|
365
|
-
FiveK = "5K",
|
|
366
|
-
EightK = "8K",
|
|
367
|
-
WHUXGA = "WHUXGA"
|
|
368
|
-
}
|
|
369
|
-
export type ResolutionInfo = {
|
|
370
|
-
ratioString: string;
|
|
371
|
-
ratioFloat: number;
|
|
372
|
-
resolutionDimensions: ResolutionDimensions;
|
|
373
|
-
resolutionLabel: ResolutionLabel;
|
|
374
|
-
};
|
|
375
338
|
export type CameraPath = {
|
|
376
339
|
projectExid: ProjectExid;
|
|
377
340
|
cameraExid: CameraExid;
|
|
@@ -379,6 +342,7 @@ export type CameraPath = {
|
|
|
379
342
|
export type CheckCameraPortPayload = {
|
|
380
343
|
address: string;
|
|
381
344
|
port: number;
|
|
345
|
+
open: boolean;
|
|
382
346
|
};
|
|
383
347
|
export type CameraCreateRequestPayload = {
|
|
384
348
|
status: CameraStatus;
|
|
@@ -563,3 +527,10 @@ export type FetchCameraQueryParams = PaginationParams & {
|
|
|
563
527
|
externalRsptPort: string;
|
|
564
528
|
nvrHttpPort: string;
|
|
565
529
|
};
|
|
530
|
+
export declare enum BimType {
|
|
531
|
+
TwoD = "2D",
|
|
532
|
+
Forge = "Forge"
|
|
533
|
+
}
|
|
534
|
+
export type CameraDateRangeFilter = DateRangeFilter & {
|
|
535
|
+
cameraExid: CameraExid;
|
|
536
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { CameraExid, DateType, ProjectExid, PaginationParams } from "@/types";
|
|
2
|
+
export declare enum CommentsScope {
|
|
3
|
+
Recordings = "recordings",
|
|
4
|
+
ThreeSixty = "360",
|
|
5
|
+
Drone = "drone"
|
|
6
|
+
}
|
|
7
|
+
export declare enum CommentsLabel {
|
|
8
|
+
Info = "Info",
|
|
9
|
+
Danger = "Danger",
|
|
10
|
+
Restricted = "Restricted"
|
|
11
|
+
}
|
|
12
|
+
export type CommentsRequestPayload = {
|
|
13
|
+
cameraExid: CameraExid;
|
|
14
|
+
fromDate: string;
|
|
15
|
+
toDate: string;
|
|
16
|
+
scope: CommentsScope;
|
|
17
|
+
page?: number;
|
|
18
|
+
limit?: number;
|
|
19
|
+
};
|
|
20
|
+
export type CommentsListRequestPayload = PaginationParams & {
|
|
21
|
+
projectExid?: ProjectExid;
|
|
22
|
+
cameraExid?: CameraExid;
|
|
23
|
+
fromDate?: string;
|
|
24
|
+
toDate?: string;
|
|
25
|
+
scope?: CommentsScope;
|
|
26
|
+
creatorEmail?: string;
|
|
27
|
+
content?: string;
|
|
28
|
+
includeArchived?: boolean;
|
|
29
|
+
};
|
|
30
|
+
export type Comment = {
|
|
31
|
+
fromDate?: string;
|
|
32
|
+
toDate?: string;
|
|
33
|
+
timestamp: string;
|
|
34
|
+
projectExid: ProjectExid;
|
|
35
|
+
updatedAt?: string;
|
|
36
|
+
id?: number;
|
|
37
|
+
cameraExid: CameraExid;
|
|
38
|
+
content: string;
|
|
39
|
+
createdAt?: string;
|
|
40
|
+
creatorEmail?: string;
|
|
41
|
+
creatorName?: string;
|
|
42
|
+
position2d?: [number, number];
|
|
43
|
+
position3d?: [number, number, number];
|
|
44
|
+
context?: Record<string, unknown>;
|
|
45
|
+
canDelete?: boolean;
|
|
46
|
+
archivedAt?: string;
|
|
47
|
+
};
|
|
48
|
+
export type CommentCreationRequestPayload = {
|
|
49
|
+
fromDate?: DateType;
|
|
50
|
+
toDate?: DateType;
|
|
51
|
+
timestamp?: DateType;
|
|
52
|
+
scope?: CommentsScope;
|
|
53
|
+
projectExid: ProjectExid;
|
|
54
|
+
cameraExid?: CameraExid;
|
|
55
|
+
content: string;
|
|
56
|
+
position2d?: [number, number];
|
|
57
|
+
position3d?: [number, number, number];
|
|
58
|
+
context?: Record<string, unknown>;
|
|
59
|
+
};
|
|
@@ -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;
|
|
@@ -25,7 +53,7 @@ export type Company = {
|
|
|
25
53
|
cameras: number;
|
|
26
54
|
users: number;
|
|
27
55
|
activeUsers: number;
|
|
28
|
-
|
|
56
|
+
insertedAt: DateType;
|
|
29
57
|
};
|
|
30
58
|
export type CompanyQueryParams = PaginationParams & {
|
|
31
59
|
name: 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;
|