@evercam/api 1.0.0-a255a7bd4 → 1.0.0-a59703ab2
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 +27 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +67 -33
- package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +26 -40
- package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +10 -1
- package/dist/api/{client → api/client}/axios.d.ts +1 -0
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +48 -44
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -2
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +96 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +4 -0
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +274 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/{types → api/types}/analytics.d.ts +108 -5
- package/dist/{types → api/types}/anpr.d.ts +7 -11
- package/dist/api/types/authz.d.ts +28 -0
- package/dist/api/types/automation.d.ts +61 -0
- package/dist/{types → api/types}/axios.d.ts +16 -0
- package/dist/{types → api/types}/camera.d.ts +24 -6
- package/dist/{types → api/types}/comments.d.ts +18 -2
- package/dist/{types → api/types}/company.d.ts +29 -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}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +5 -20
- package/dist/{types → api/types}/errors.d.ts +1 -0
- package/dist/{types → api/types}/gateReport.d.ts +4 -101
- package/dist/{types → api/types}/index.d.ts +4 -0
- package/dist/{types → api/types}/ingest.d.ts +8 -0
- package/dist/{types → api/types}/kit.d.ts +55 -7
- package/dist/{types → api/types}/planner.d.ts +4 -1
- package/dist/api/types/posthog.d.ts +18 -0
- package/dist/{types → api/types}/procore.d.ts +13 -10
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
- package/dist/{types → api/types}/project.d.ts +48 -3
- package/dist/{types → api/types}/recording.d.ts +2 -2
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +19 -0
- package/dist/{types → api/types}/shared.d.ts +1 -6
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/api/types/siteAnalytics.d.ts +247 -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 +1 -2
- package/dist/{types → api/types}/time.d.ts +4 -0
- package/dist/{types → api/types}/user.d.ts +19 -7
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +2 -0
- package/dist/{types → api/types}/widget.d.ts +27 -6
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1236 -840
- 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 -10
- package/dist/api/ingestApi.d.ts +0 -67
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -87
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -141
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
- /package/dist/api/{weatherApi.d.ts → api/weatherApi.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}/connector.d.ts +0 -0
- /package/dist/{types → api/types}/copilot.d.ts +0 -0
- /package/dist/{types → api/types}/drone.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}/roi.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}/systemCheck.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
- /package/dist/{types → api/types}/xweather.d.ts +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
export type AconexUserProjectsResponsePayload = Array<{
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
shortName: string;
|
|
5
|
+
startDate: string;
|
|
6
|
+
endDate: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
export type AconexDocumentSchemaResponsePayload = Array<{
|
|
11
|
+
dataType: AconexDocumentDataType;
|
|
12
|
+
identifier: AconexIdentifiers;
|
|
13
|
+
fieldName: string;
|
|
14
|
+
modifiedFieldName?: string;
|
|
15
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
16
|
+
schemaValues?: Array<{
|
|
17
|
+
id: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
21
|
+
export type AconexDocumentTypeSchemaResponsePayload = Array<{
|
|
22
|
+
dataType: AconexDocumentDataType;
|
|
23
|
+
identifier: string;
|
|
24
|
+
fieldName: string;
|
|
25
|
+
modifiedFieldName?: string;
|
|
26
|
+
mandatoryStatus: string;
|
|
27
|
+
specifications?: Array<AconexFieldSpecification>;
|
|
28
|
+
}>;
|
|
29
|
+
export type AconexDocumentSchemaField = {
|
|
30
|
+
dataType: AconexDocumentDataType;
|
|
31
|
+
identifier: AconexIdentifiers | string;
|
|
32
|
+
schemaValues?: Array<{
|
|
33
|
+
id: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}>;
|
|
36
|
+
fieldName: string;
|
|
37
|
+
modifiedFieldName?: string;
|
|
38
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
39
|
+
componentType?: AconexFormComponentType;
|
|
40
|
+
items?: Array<any>;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
specifications?: Array<AconexFieldSpecification>;
|
|
43
|
+
};
|
|
44
|
+
export type AconexFormSchema = Record<AconexIdentifiers | string, AconexDocumentSchemaField>;
|
|
45
|
+
export type AconexFieldSpecification = {
|
|
46
|
+
name: string;
|
|
47
|
+
options: Array<string>;
|
|
48
|
+
};
|
|
49
|
+
export declare enum AconexDocumentDataType {
|
|
50
|
+
String = "STRING",
|
|
51
|
+
Boolean = "BOOLEAN",
|
|
52
|
+
Ratio = "RATIO",
|
|
53
|
+
Integer = "INTEGER",
|
|
54
|
+
Double = "DOUBLE",
|
|
55
|
+
Long = "LONG",
|
|
56
|
+
Date = "DATE",
|
|
57
|
+
Complex = "COMPLEX",
|
|
58
|
+
SingleLineText = "SINGLE_LINE_TEXT",
|
|
59
|
+
MultiLineText = "MULTI_LINE_TEXT",
|
|
60
|
+
SingleSelect = "SINGLE_SELECT",
|
|
61
|
+
MultiSelect = "MULTI_SELECT",
|
|
62
|
+
User = "USER",
|
|
63
|
+
Number = "NUMBER"
|
|
64
|
+
}
|
|
65
|
+
export declare enum AconexFormComponentType {
|
|
66
|
+
Select = "SelectField",
|
|
67
|
+
Text = "TextField",
|
|
68
|
+
DateTime = "DateTimeField",
|
|
69
|
+
Switch = "SwitchField"
|
|
70
|
+
}
|
|
71
|
+
export declare enum AconexMandatoryStatus {
|
|
72
|
+
Mandatory = "MANDATORY",
|
|
73
|
+
NotMandatory = "NOT_MANDATORY"
|
|
74
|
+
}
|
|
75
|
+
export type AconexAuthCallbackParams = {
|
|
76
|
+
code: string;
|
|
77
|
+
location: string;
|
|
78
|
+
};
|
|
79
|
+
export type AconexEditedImageUploadRequestPayload = {
|
|
80
|
+
projectExid: string;
|
|
81
|
+
snapshot: string;
|
|
82
|
+
};
|
|
83
|
+
export declare enum AconexIdentifiers {
|
|
84
|
+
DocumentNumber = "DocumentNumber",
|
|
85
|
+
DocumentTypeId = "DocumentTypeId",
|
|
86
|
+
Revision = "Revision",
|
|
87
|
+
HasFile = "HasFile",
|
|
88
|
+
AccessList = "AccessList",
|
|
89
|
+
AsBuiltRequired = "AsBuiltRequired",
|
|
90
|
+
Attribute1 = "Attribute1",
|
|
91
|
+
Attribute2 = "Attribute2",
|
|
92
|
+
Attribute3 = "Attribute3",
|
|
93
|
+
Attribute4 = "Attribute4",
|
|
94
|
+
Author = "Author",
|
|
95
|
+
AuthorisedBy = "AuthorisedBy",
|
|
96
|
+
Category = "Category",
|
|
97
|
+
Check1 = "Check1",
|
|
98
|
+
Check2 = "Check2",
|
|
99
|
+
Comments = "Comments",
|
|
100
|
+
Comments2 = "Comments2",
|
|
101
|
+
ContractNumber = "ContractNumber",
|
|
102
|
+
ContractDeliverable = "ContractDeliverable",
|
|
103
|
+
ContractorDocumentNumber = "ContractorDocumentNumber",
|
|
104
|
+
ContractorRev = "ContractorRev",
|
|
105
|
+
Date1 = "Date1",
|
|
106
|
+
Date2 = "Date2",
|
|
107
|
+
DateApproved = "DateApproved",
|
|
108
|
+
DateCreated = "DateCreated",
|
|
109
|
+
DateForReview = "DateForReview",
|
|
110
|
+
DateReviewed = "DateReviewed",
|
|
111
|
+
Discipline = "Discipline",
|
|
112
|
+
DocumentStatusId = "DocumentStatusId",
|
|
113
|
+
MilestoneDate = "MilestoneDate",
|
|
114
|
+
PackageNumber = "PackageNumber",
|
|
115
|
+
PercentageComplete = "PercentageComplete",
|
|
116
|
+
PlannedSubmissionDate = "PlannedSubmissionDate",
|
|
117
|
+
PrintSize = "PrintSize",
|
|
118
|
+
ProjectField1 = "ProjectField1",
|
|
119
|
+
ProjectField2 = "ProjectField2",
|
|
120
|
+
ProjectField3 = "ProjectField3",
|
|
121
|
+
Reference = "Reference",
|
|
122
|
+
RevisionDate = "RevisionDate",
|
|
123
|
+
Scale = "Scale",
|
|
124
|
+
SelectList1 = "SelectList1",
|
|
125
|
+
SelectList2 = "SelectList2",
|
|
126
|
+
SelectList3 = "SelectList3",
|
|
127
|
+
SelectList4 = "SelectList4",
|
|
128
|
+
SelectList5 = "SelectList5",
|
|
129
|
+
SelectList6 = "SelectList6",
|
|
130
|
+
SelectList7 = "SelectList7",
|
|
131
|
+
SelectList8 = "SelectList8",
|
|
132
|
+
SelectList9 = "SelectList9",
|
|
133
|
+
SelectList10 = "SelectList10",
|
|
134
|
+
TagNumber = "TagNumber",
|
|
135
|
+
Title = "Title",
|
|
136
|
+
ToClientDate = "ToClientDate",
|
|
137
|
+
UploadDate = "UploadDate",
|
|
138
|
+
UploadedBy = "UploadedBy",
|
|
139
|
+
Vdrcode = "Vdrcode",
|
|
140
|
+
VendorDocumentNumber = "VendorDocumentNumber",
|
|
141
|
+
VendorRev = "VendorRev",
|
|
142
|
+
AutoNumber = "AutoNumber"
|
|
143
|
+
}
|
|
@@ -42,7 +42,9 @@ export declare enum AnalyticsEventPageId {
|
|
|
42
42
|
ThreeSixtyInfo = "360Info",
|
|
43
43
|
BimCompareInfo = "BimCompareInfo",
|
|
44
44
|
WeatherReport = "WeatherReport",
|
|
45
|
-
PpeReport = "PpeReport"
|
|
45
|
+
PpeReport = "PpeReport",
|
|
46
|
+
SmartSearch = "SmartSearch",
|
|
47
|
+
Drawings = "Drawings"
|
|
46
48
|
}
|
|
47
49
|
export declare enum AnalyticsEvent {
|
|
48
50
|
PageView = "PageView",
|
|
@@ -76,6 +78,19 @@ export declare enum AnalyticsEvent {
|
|
|
76
78
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
77
79
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
78
80
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
81
|
+
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
82
|
+
WidgetsSelectProject = "SelectProject",
|
|
83
|
+
WidgetsSelect360Date = "Select360Date",
|
|
84
|
+
WidgetsSelect360Floor = "Select360Floor",
|
|
85
|
+
WidgetsSelect360Marker = "Select360Marker",
|
|
86
|
+
Widgets360LockMedia = "360LockMedia",
|
|
87
|
+
WidgetsPauseWidget = "PauseWidget",
|
|
88
|
+
WidgetsEditWidget = "EditWidget",
|
|
89
|
+
WidgetsOpenCredentials = "OpenCredentials",
|
|
90
|
+
WidgetsCopyEmbeddedCode = "CopyEmbeddedCode",
|
|
91
|
+
WidgetsCopyIFrameCode = "CopyIFrameCode",
|
|
92
|
+
WidgetsCopyURLCode = "CopyURLCode",
|
|
93
|
+
WidgetsDeleteWidget = "DeleteWidget",
|
|
79
94
|
WidgetsAddWidgetClick = "AddWidget",
|
|
80
95
|
WidgetsCancelClick = "Cancel",
|
|
81
96
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -102,6 +117,7 @@ export declare enum AnalyticsEvent {
|
|
|
102
117
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
103
118
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
104
119
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
120
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
105
121
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
106
122
|
PlayerDownload = "Player-Download",
|
|
107
123
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -236,7 +252,6 @@ export declare enum AnalyticsEvent {
|
|
|
236
252
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
237
253
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
238
254
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
239
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
240
255
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
241
256
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
242
257
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -258,7 +273,18 @@ export declare enum AnalyticsEvent {
|
|
|
258
273
|
SharingTransferOwnership = "TransferOwnership",
|
|
259
274
|
SharingSortBy = "SortBy",
|
|
260
275
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
-
|
|
276
|
+
ThreeSixtyGallery = "Gallery",
|
|
277
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
278
|
+
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
279
|
+
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
280
|
+
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
281
|
+
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
282
|
+
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
283
|
+
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
284
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
285
|
+
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
286
|
+
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
287
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
262
288
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
263
289
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
264
290
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -295,6 +321,7 @@ export declare enum AnalyticsEvent {
|
|
|
295
321
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
296
322
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
297
323
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
324
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
298
325
|
DroneAreaToolClick = "AreaTool-Click",
|
|
299
326
|
DroneChangeDate = "ChangeDate",
|
|
300
327
|
DroneChooseTagType = "ChooseTagType",
|
|
@@ -331,6 +358,7 @@ export declare enum AnalyticsEvent {
|
|
|
331
358
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
332
359
|
DroneZoomIn = "ZoomIn",
|
|
333
360
|
DroneZoomOut = "ZoomOut",
|
|
361
|
+
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
334
362
|
PlannerAddCameraClick = "AddCameraClick",
|
|
335
363
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
336
364
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -354,8 +382,31 @@ export declare enum AnalyticsEvent {
|
|
|
354
382
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
355
383
|
PlannerZoomIn = "ZoomIn",
|
|
356
384
|
PlannerZoomOut = "ZoomOut",
|
|
385
|
+
DrawingCreateSave = "CreateSave",
|
|
386
|
+
DrawingUpdateSave = "UpdateSave",
|
|
387
|
+
DrawingEditName = "EditName",
|
|
388
|
+
DrawingUpdateName = "UpdateName",
|
|
389
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
390
|
+
DrawingClickHome = "ClickHome",
|
|
391
|
+
DrawingsUploadDrawing = "UploadDrawing",
|
|
392
|
+
DrawingsCreateDrawing = "CreateDrawing",
|
|
393
|
+
DrawingToggleFilter = "ToggleFilter",
|
|
394
|
+
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
395
|
+
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
396
|
+
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
397
|
+
DrawingToggleCamerasVisibility = "ToggleCamerasVisibility",
|
|
398
|
+
DrawingToggleTransparencyMode = "ToggleTransparencyMode",
|
|
399
|
+
DrawingChooseDrawing = "ChooseDrawing",
|
|
400
|
+
DrawingChangeLocation = "ChangeLocation",
|
|
401
|
+
DrawingFilterDateRange = "FilterDateRange",
|
|
402
|
+
DrawingFilterDrawingName = "FilterDrawingName",
|
|
403
|
+
DrawingFilterCreatedBy = "FilterCreatedBy",
|
|
404
|
+
DrawingFilterMapStyle = "FilterMapStyle",
|
|
405
|
+
DrawingToggleRotate = "ToggleRotate",
|
|
406
|
+
DrawingToggleScale = "ToggleScale",
|
|
407
|
+
DrawingOpenExistingDrawing = "OpenExistingDrawing",
|
|
357
408
|
MarkerClicked = "MarkerClicked",
|
|
358
|
-
|
|
409
|
+
MarkerSelected = "MarkerSelected",
|
|
359
410
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
360
411
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
361
412
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -383,12 +434,18 @@ export declare enum AnalyticsEvent {
|
|
|
383
434
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
384
435
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
385
436
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
437
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
386
438
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
439
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
440
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
441
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
442
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
387
443
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
388
444
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
389
445
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
390
446
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
391
447
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
448
|
+
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
392
449
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
393
450
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
394
451
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -446,13 +503,59 @@ export declare enum AnalyticsEvent {
|
|
|
446
503
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
447
504
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
448
505
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
506
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
449
507
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
450
508
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
451
509
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
452
510
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
453
511
|
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
454
512
|
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
513
|
+
Recording = "Recording",
|
|
514
|
+
CameraFilter = "CameraFilter",
|
|
515
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
516
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
517
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
518
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
519
|
+
ExportAs = "ExportAs",
|
|
455
520
|
ExportPdf = "ExportPdf",
|
|
456
521
|
ExportCsv = "ExportCsv",
|
|
457
|
-
FilterCameras = "FilterCameras"
|
|
522
|
+
FilterCameras = "FilterCameras",
|
|
523
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
524
|
+
CompareEditSelectedCameras = "Compare-EditSelectedCameras",
|
|
525
|
+
CompareEdit = "Compare-Edit",
|
|
526
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
527
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
528
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
529
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
530
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
531
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
532
|
+
AutomationsSelectProgressPhoto = "SelectProgressPhoto",
|
|
533
|
+
AutomationsSelectCompare = "SelectCompare",
|
|
534
|
+
AutomationsCreateCompare = "CreateCompare",
|
|
535
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
536
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
537
|
+
AutomationTypeName = "TypeName",
|
|
538
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
539
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
540
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
541
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
542
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
543
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
544
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
545
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
546
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
547
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
548
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
549
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
550
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
551
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
552
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
553
|
+
SmartSearchViewSelected = "SmartSearch-ViewSelected",
|
|
554
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
555
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
556
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
557
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
558
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
559
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
560
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
458
561
|
}
|
|
@@ -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,28 @@
|
|
|
1
|
+
export declare enum RoleResourceType {
|
|
2
|
+
App = "app",
|
|
3
|
+
Camera = "camera",
|
|
4
|
+
Project = "project"
|
|
5
|
+
}
|
|
6
|
+
export type BaseRole = {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
export type Role = BaseRole & {
|
|
11
|
+
resource: string;
|
|
12
|
+
resourceType: RoleResourceType;
|
|
13
|
+
permissions: string[];
|
|
14
|
+
subRoles?: Array<SubRole>;
|
|
15
|
+
};
|
|
16
|
+
export type SubRole = {
|
|
17
|
+
resourceId: string;
|
|
18
|
+
roleId: number;
|
|
19
|
+
permissions: string[];
|
|
20
|
+
roleName: string;
|
|
21
|
+
};
|
|
22
|
+
export type ProjectResourceRole = Role & {
|
|
23
|
+
resourceType: RoleResourceType.Project;
|
|
24
|
+
};
|
|
25
|
+
export type CameraResourceRole = Omit<Role, "subRoles"> & {
|
|
26
|
+
resourceType: RoleResourceType.Camera;
|
|
27
|
+
};
|
|
28
|
+
export type ProjectRoleRequestPayload = Omit<Role, "id" | "resource" | "resourceType">;
|
|
@@ -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;
|
|
@@ -7,7 +8,9 @@ export type AxiosEnvironment = {
|
|
|
7
8
|
baseUrl?: string | null;
|
|
8
9
|
stagingAiApiUrl?: string | null;
|
|
9
10
|
aiApiUrl?: string | null;
|
|
11
|
+
aiApiUrlV2?: string | null;
|
|
10
12
|
ingestApiUrl?: string | null;
|
|
13
|
+
ingestGpuApiUrl?: string | null;
|
|
11
14
|
posthogApiUrl?: string | null;
|
|
12
15
|
posthogProjectId?: string | null;
|
|
13
16
|
posthogPrivateApiKey?: string | null;
|
|
@@ -15,10 +18,13 @@ export type AxiosEnvironment = {
|
|
|
15
18
|
weatherApiBaseUrl?: string | null;
|
|
16
19
|
evercamLabsUrl?: string | null;
|
|
17
20
|
firebaseDbLink?: string | null;
|
|
21
|
+
firebaseStorageUrl?: string | null;
|
|
22
|
+
firebaseStorageToken?: string | null;
|
|
18
23
|
snapshotsURL?: string | null;
|
|
19
24
|
app?: string | null;
|
|
20
25
|
getAuthToken?: () => string | null;
|
|
21
26
|
errorLogger?: (error: AxiosError) => void;
|
|
27
|
+
swrKey?: string;
|
|
22
28
|
};
|
|
23
29
|
export type RequestInterceptor = (req: AxiosRequestConfig, env: AxiosEnvironment) => AxiosRequestConfig & any;
|
|
24
30
|
export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) => AxiosResponse & any;
|
|
@@ -37,7 +43,13 @@ export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
|
37
43
|
addRequestInterceptor: (interceptor: RequestInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
38
44
|
addResponseInterceptor: (interceptor: ResponseInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
39
45
|
addErrorInterceptor: (interceptor: ErrorInterceptor) => void;
|
|
46
|
+
swr: Swr;
|
|
40
47
|
}
|
|
48
|
+
export type ResponseValue<T> = T | undefined;
|
|
49
|
+
export type SwrResponse<T> = {
|
|
50
|
+
cachedValue: ResponseValue<T>;
|
|
51
|
+
freshPromise: Promise<ResponseValue<T>>;
|
|
52
|
+
};
|
|
41
53
|
declare module "axios" {
|
|
42
54
|
interface AxiosRequestConfig {
|
|
43
55
|
raw?: boolean;
|
|
@@ -46,5 +58,9 @@ declare module "axios" {
|
|
|
46
58
|
_metadata?: {
|
|
47
59
|
startTime: number;
|
|
48
60
|
};
|
|
61
|
+
swr?: boolean;
|
|
62
|
+
onSwrHit?: <T>(data: T) => unknown;
|
|
63
|
+
onSwrRefresh?: <T>(data: T) => unknown;
|
|
64
|
+
onSwrError?: (error: Error) => unknown;
|
|
49
65
|
}
|
|
50
66
|
}
|
|
@@ -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;
|
|
@@ -72,8 +73,7 @@ export type Camera = {
|
|
|
72
73
|
rtmp: string;
|
|
73
74
|
};
|
|
74
75
|
ptz: boolean;
|
|
75
|
-
|
|
76
|
-
roll: null;
|
|
76
|
+
roll: string | null;
|
|
77
77
|
routerId: number;
|
|
78
78
|
status: CameraStatus;
|
|
79
79
|
streamingServer: string;
|
|
@@ -83,6 +83,7 @@ export type Camera = {
|
|
|
83
83
|
updatedAt: DateTime_Z_micros;
|
|
84
84
|
vendorName: string;
|
|
85
85
|
isAccessRestricted?: boolean;
|
|
86
|
+
kitAlarms?: string[];
|
|
86
87
|
};
|
|
87
88
|
export type AdminCamera = {
|
|
88
89
|
cameraHost: string;
|
|
@@ -134,7 +135,7 @@ export type AdminCamera = {
|
|
|
134
135
|
pitch: null;
|
|
135
136
|
powerSchedule: Schedule;
|
|
136
137
|
projectExid: string;
|
|
137
|
-
projectFeatureFlags: [];
|
|
138
|
+
projectFeatureFlags: ProjectFeatureFlag[];
|
|
138
139
|
projectId: number;
|
|
139
140
|
projectName: string;
|
|
140
141
|
ptz: false;
|
|
@@ -153,6 +154,7 @@ export type AdminCamera = {
|
|
|
153
154
|
userId: number;
|
|
154
155
|
zohoId: string;
|
|
155
156
|
thumbnailUrl?: string;
|
|
157
|
+
sharedWithConstruction: boolean;
|
|
156
158
|
};
|
|
157
159
|
export type CameraMapMarker = {
|
|
158
160
|
isOnline: boolean;
|
|
@@ -175,6 +177,14 @@ export declare enum CameraStatus {
|
|
|
175
177
|
UnderMaintenance = "under_maintenance",
|
|
176
178
|
WaitingForSiteVisit = "waiting_for_site_visit"
|
|
177
179
|
}
|
|
180
|
+
export declare enum IntensityChange {
|
|
181
|
+
High = "High",
|
|
182
|
+
Moderate = "Moderate",
|
|
183
|
+
Low = "Low",
|
|
184
|
+
NoChange = "No change",
|
|
185
|
+
Default = "Default"
|
|
186
|
+
}
|
|
187
|
+
export declare const IntensityChangeColorMap: Record<IntensityChange, string>;
|
|
178
188
|
export declare enum CameraFeatureFlag {
|
|
179
189
|
EdgeVideo = "edge_video",
|
|
180
190
|
BimCompare = "bim_compare",
|
|
@@ -333,6 +343,7 @@ export type CameraPath = {
|
|
|
333
343
|
export type CheckCameraPortPayload = {
|
|
334
344
|
address: string;
|
|
335
345
|
port: number;
|
|
346
|
+
open: boolean;
|
|
336
347
|
};
|
|
337
348
|
export type CameraCreateRequestPayload = {
|
|
338
349
|
status: CameraStatus;
|
|
@@ -517,3 +528,10 @@ export type FetchCameraQueryParams = PaginationParams & {
|
|
|
517
528
|
externalRsptPort: string;
|
|
518
529
|
nvrHttpPort: string;
|
|
519
530
|
};
|
|
531
|
+
export declare enum BimType {
|
|
532
|
+
TwoD = "2D",
|
|
533
|
+
Forge = "Forge"
|
|
534
|
+
}
|
|
535
|
+
export type CameraDateRangeFilter = DateRangeFilter & {
|
|
536
|
+
cameraExid: CameraExid;
|
|
537
|
+
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid } from "@/types";
|
|
1
|
+
import { CameraExid, DateType, ProjectExid, PaginationParams } from "@/types";
|
|
2
2
|
export declare enum CommentsScope {
|
|
3
3
|
Recordings = "recordings",
|
|
4
|
-
ThreeSixty = "360"
|
|
4
|
+
ThreeSixty = "360",
|
|
5
|
+
Drone = "drone"
|
|
6
|
+
}
|
|
7
|
+
export declare enum CommentsLabel {
|
|
8
|
+
Info = "Info",
|
|
9
|
+
Danger = "Danger",
|
|
10
|
+
Restricted = "Restricted"
|
|
5
11
|
}
|
|
6
12
|
export type CommentsRequestPayload = {
|
|
7
13
|
cameraExid: CameraExid;
|
|
@@ -11,6 +17,16 @@ export type CommentsRequestPayload = {
|
|
|
11
17
|
page?: number;
|
|
12
18
|
limit?: number;
|
|
13
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
|
+
};
|
|
14
30
|
export type Comment = {
|
|
15
31
|
fromDate?: string;
|
|
16
32
|
toDate?: string;
|