@evercam/api 1.0.0-22d695927 → 1.0.0-233a53dac
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 → 3dFirebaseApi.d.ts} +5 -0
- package/dist/api/{api/adminApi.d.ts → adminApi.d.ts} +42 -9
- package/dist/api/{api/aiApi.d.ts → aiApi.d.ts} +17 -5
- package/dist/api/{api/evercamApi.d.ts → evercamApi.d.ts} +15 -9
- package/dist/api/{api/evercamLabsApi.d.ts → evercamLabsApi.d.ts} +3 -2
- package/dist/api/index.d.ts +13 -3
- package/dist/api/{api/ingestApi.d.ts → ingestApi.d.ts} +36 -9
- package/dist/index.d.ts +3 -2
- package/dist/index.js +665 -474
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/{api/types → types}/360.d.ts +47 -0
- package/dist/types/aconex.d.ts +143 -0
- package/dist/{api/types → types}/analytics.d.ts +23 -3
- package/dist/{api/types → types}/anpr.d.ts +5 -11
- package/dist/types/automation.d.ts +61 -0
- package/dist/{api/types → types}/camera.d.ts +18 -2
- package/dist/{api/types → types}/comments.d.ts +18 -2
- package/dist/{api/types → types}/company.d.ts +1 -1
- package/dist/{api/types → types}/coolify.d.ts +2 -0
- package/dist/{api/types → types}/detections.d.ts +4 -18
- package/dist/{api/types → types}/errors.d.ts +1 -0
- package/dist/{api/types → types}/index.d.ts +2 -0
- package/dist/{api/types → types}/ingest.d.ts +4 -0
- package/dist/{api/types → types}/kit.d.ts +12 -4
- package/dist/{api/types → types}/progressPhoto.d.ts +1 -31
- package/dist/{api/types → types}/project.d.ts +5 -1
- package/dist/types/recycleBin.d.ts +14 -0
- package/dist/{api/types → types}/routeParams.d.ts +2 -1
- package/dist/{api/types → types}/shared.d.ts +0 -5
- package/dist/{api/types → types}/siteAnalytics.d.ts +28 -7
- package/dist/{api/types → types}/snapshots.d.ts +9 -0
- package/dist/types/sso.d.ts +55 -0
- package/dist/{api/types → types}/time.d.ts +4 -0
- package/dist/{api/types → types}/weather.d.ts +2 -0
- package/dist/{api/types → types}/widget.d.ts +25 -6
- package/dist/{api/utils.d.ts → utils.d.ts} +1 -0
- package/package.json +4 -4
- package/dist/api/api/index.d.ts +0 -13
- package/dist/api/types/aconex.d.ts +0 -45
- package/dist/api/types/automation.d.ts +0 -10
- package/dist/shared/api/index.d.ts +0 -3
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +0 -3
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +0 -17
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +0 -13
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +0 -16
- package/dist/shared/types/components.d.ts +0 -192
- package/dist/shared/types/imagePlayer.d.ts +0 -34
- package/dist/shared/types/index.d.ts +0 -4
- package/dist/shared/types/timeline.d.ts +0 -9
- /package/dist/api/{api/authzApi.d.ts → authzApi.d.ts} +0 -0
- /package/dist/api/{api/client → client}/axios.d.ts +0 -0
- /package/dist/api/{api/client → client}/customErrors.d.ts +0 -0
- /package/dist/api/{api/client → client}/index.d.ts +0 -0
- /package/dist/api/{api/client → client}/interceptors.d.ts +0 -0
- /package/dist/api/{api/client → client}/swr/Swr.d.ts +0 -0
- /package/dist/api/{api/client → client}/swr/SwrStore.d.ts +0 -0
- /package/dist/api/{api/exNvrApi.d.ts → exNvrApi.d.ts} +0 -0
- /package/dist/api/{api/ptzApi.d.ts → ptzApi.d.ts} +0 -0
- /package/dist/api/{api/videoWallApi.d.ts → videoWallApi.d.ts} +0 -0
- /package/dist/api/{api/weatherApi.d.ts → weatherApi.d.ts} +0 -0
- /package/dist/api/{api/webRtcApi.d.ts → webRtcApi.d.ts} +0 -0
- /package/dist/{api/types → types}/auditLogs.d.ts +0 -0
- /package/dist/{api/types → types}/autodesk.d.ts +0 -0
- /package/dist/{api/types → types}/axios.d.ts +0 -0
- /package/dist/{api/types → types}/bim.d.ts +0 -0
- /package/dist/{api/types → types}/compare.d.ts +0 -0
- /package/dist/{api/types → types}/connector.d.ts +0 -0
- /package/dist/{api/types → types}/copilot.d.ts +0 -0
- /package/dist/{api/types → types}/countries.d.ts +0 -0
- /package/dist/{api/types → types}/credentials.d.ts +0 -0
- /package/dist/{api/types → types}/drone.d.ts +0 -0
- /package/dist/{api/types → types}/gateReport.d.ts +0 -0
- /package/dist/{api/types → types}/hdd.d.ts +0 -0
- /package/dist/{api/types → types}/map.d.ts +0 -0
- /package/dist/{api/types → types}/media.d.ts +0 -0
- /package/dist/{api/types → types}/notification.d.ts +0 -0
- /package/dist/{api/types → types}/nvr.d.ts +0 -0
- /package/dist/{api/types → types}/planner.d.ts +0 -0
- /package/dist/{api/types → types}/posthog.d.ts +0 -0
- /package/dist/{api/types → types}/procore.d.ts +0 -0
- /package/dist/{api/types → types}/recording.d.ts +0 -0
- /package/dist/{api/types → types}/roi.d.ts +0 -0
- /package/dist/{api/types → types}/router.d.ts +0 -0
- /package/dist/{api/types → types}/shares.d.ts +0 -0
- /package/dist/{api/types → types}/sim.d.ts +0 -0
- /package/dist/{api/types → types}/storageServers.d.ts +0 -0
- /package/dist/{api/types → types}/streaming.d.ts +0 -0
- /package/dist/{api/types → types}/systemCheck.d.ts +0 -0
- /package/dist/{api/types → types}/tag.d.ts +0 -0
- /package/dist/{api/types → types}/timelapse.d.ts +0 -0
- /package/dist/{api/types → types}/user.d.ts +0 -0
- /package/dist/{api/types → types}/vendorModel.d.ts +0 -0
- /package/dist/{api/types → types}/videoWall.d.ts +0 -0
- /package/dist/{api/types → types}/voyageControl.d.ts +0 -0
- /package/dist/{api/types → types}/xweather.d.ts +0 -0
|
@@ -90,11 +90,6 @@ export declare enum _3dViewer {
|
|
|
90
90
|
Itwin = "itwin",
|
|
91
91
|
Cesium = "cesium"
|
|
92
92
|
}
|
|
93
|
-
export declare enum SsoProvider {
|
|
94
|
-
Microsoft = "microsoft",
|
|
95
|
-
Google = "google",
|
|
96
|
-
Evercam = "evercam"
|
|
97
|
-
}
|
|
98
93
|
export declare enum InfoPage {
|
|
99
94
|
ThreeSixtyView = "360",
|
|
100
95
|
BIMView = "bim",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { BBox, BoundingBox, DateType, Schedule, CameraExid, DateTime, DetectionModel, PaginationParams, PpeLabel, ProjectExid } from "@evercam/api/types";
|
|
1
|
+
import type { BBox, BoundingBox, DateType, Schedule, CameraExid, DateTime, DetectionModel, PaginationParams, PpeLabel, ProjectExid, CameraDateRangeFilter } from "@evercam/api/types";
|
|
2
2
|
import { DetectionLabel, DownloadFileType } from "@evercam/api/types";
|
|
3
3
|
export declare enum SiteAnalyticsMode {
|
|
4
4
|
Detections = "detections",
|
|
5
5
|
Segments = "segments"
|
|
6
6
|
}
|
|
7
|
-
export type
|
|
7
|
+
export type SmartSearchQueryPartData = {
|
|
8
8
|
id?: string;
|
|
9
|
-
type:
|
|
9
|
+
type: SmartSearchQueryPartType;
|
|
10
10
|
value: DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData | SmartSearchCondition | SmartSearchDateRange | string;
|
|
11
11
|
};
|
|
12
|
-
export type SmartSearchQueryPart =
|
|
12
|
+
export type SmartSearchQueryPart = SmartSearchQueryPartData | SmartSearchQueryPartData[];
|
|
13
13
|
export declare enum SmartSearchQueryComponentType {
|
|
14
14
|
Condition = "condition",
|
|
15
15
|
Object = "object",
|
|
@@ -17,8 +17,10 @@ export declare enum SmartSearchQueryComponentType {
|
|
|
17
17
|
Time = "time",
|
|
18
18
|
Operator = "operator",
|
|
19
19
|
Camera = "camera",
|
|
20
|
-
DateRange = "date_range"
|
|
20
|
+
DateRange = "date_range",
|
|
21
|
+
Heatmap = "heatmap"
|
|
21
22
|
}
|
|
23
|
+
export type SmartSearchQueryPartType = SmartSearchQueryComponentType | SmartSearchCondition;
|
|
22
24
|
export type SmartSearchDateRange = {
|
|
23
25
|
start: DateType;
|
|
24
26
|
end: DateType;
|
|
@@ -26,7 +28,7 @@ export type SmartSearchDateRange = {
|
|
|
26
28
|
export type SmartSearchQueryComponentData = {
|
|
27
29
|
id: string;
|
|
28
30
|
type: SmartSearchQueryComponentType;
|
|
29
|
-
parts:
|
|
31
|
+
parts: SmartSearchQueryPart;
|
|
30
32
|
};
|
|
31
33
|
export declare enum SmartSearchCondition {
|
|
32
34
|
InArea = "in_area",
|
|
@@ -114,7 +116,7 @@ export type SavedQuery = {
|
|
|
114
116
|
timeSchedule?: Schedule | undefined;
|
|
115
117
|
};
|
|
116
118
|
params: Record<string, string>;
|
|
117
|
-
components?: Omit<
|
|
119
|
+
components?: Omit<SmartSearchQueryPartData, "id">[];
|
|
118
120
|
toDate?: DateType;
|
|
119
121
|
createdAt?: DateType;
|
|
120
122
|
cameraExid: string;
|
|
@@ -140,3 +142,22 @@ export type DetectionsExportRequestParams = DetectionsRequestParams & {
|
|
|
140
142
|
columns?: string[];
|
|
141
143
|
directDownload?: boolean;
|
|
142
144
|
};
|
|
145
|
+
export type SmartSearchHeatmapPoint = {
|
|
146
|
+
coordinates: [number, number];
|
|
147
|
+
detectionsCount: number;
|
|
148
|
+
};
|
|
149
|
+
export type SmartSearchHeatmapData = {
|
|
150
|
+
label: string;
|
|
151
|
+
points: SmartSearchHeatmapPoint[];
|
|
152
|
+
};
|
|
153
|
+
export type SmartSearchNearConfig = {
|
|
154
|
+
sourceLabels: DetectionLabel[];
|
|
155
|
+
targetLabel?: DetectionLabel;
|
|
156
|
+
};
|
|
157
|
+
export type HeatmapIntersectionsRequestParams = CameraDateRangeFilter & SmartSearchNearConfig;
|
|
158
|
+
export type SmartSearchSidebarItem = {
|
|
159
|
+
key: string;
|
|
160
|
+
displayLabel: string;
|
|
161
|
+
data: SmartSearchHeatmapData;
|
|
162
|
+
imagePath?: string;
|
|
163
|
+
};
|
|
@@ -48,3 +48,12 @@ export type DeleteSnapshotQueryParams = {
|
|
|
48
48
|
adminEmail: string;
|
|
49
49
|
adminFullname: string;
|
|
50
50
|
};
|
|
51
|
+
export type TransferCloudRecordingsQueryParams = {
|
|
52
|
+
targetCameraExid: CameraExid;
|
|
53
|
+
fromDate: DateType;
|
|
54
|
+
toDate: DateType;
|
|
55
|
+
overwriteExistingSnapshots?: boolean;
|
|
56
|
+
keepSourceSnapshots?: boolean;
|
|
57
|
+
adminEmail?: string;
|
|
58
|
+
adminFullname?: string;
|
|
59
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type SsoProvider = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
exid: string;
|
|
5
|
+
clientId: string;
|
|
6
|
+
clientSecret: string;
|
|
7
|
+
scope: string;
|
|
8
|
+
responseType: string;
|
|
9
|
+
loginUrl: string;
|
|
10
|
+
iconUrl: string;
|
|
11
|
+
options: {
|
|
12
|
+
showOnLogin: boolean;
|
|
13
|
+
showOnSignup: boolean;
|
|
14
|
+
};
|
|
15
|
+
tokenUri: string;
|
|
16
|
+
tokenIntrospectionUri: string;
|
|
17
|
+
userInfoUri: string;
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type SsoUpdatePayload = {
|
|
21
|
+
name: string;
|
|
22
|
+
exid: string;
|
|
23
|
+
clientId: string;
|
|
24
|
+
clientSecret: string;
|
|
25
|
+
scope: string;
|
|
26
|
+
responseType: string;
|
|
27
|
+
loginUrl: string;
|
|
28
|
+
iconUrl: string;
|
|
29
|
+
options: {
|
|
30
|
+
showOnLogin: boolean;
|
|
31
|
+
showOnSignup: boolean;
|
|
32
|
+
};
|
|
33
|
+
tokenUri: string;
|
|
34
|
+
tokenIntrospectionUri: string;
|
|
35
|
+
userInfoUri: string;
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
};
|
|
38
|
+
export type SsoCreatePayload = {
|
|
39
|
+
name: string;
|
|
40
|
+
exid: string;
|
|
41
|
+
clientId: string;
|
|
42
|
+
clientSecret: string;
|
|
43
|
+
scope: string;
|
|
44
|
+
responseType: string;
|
|
45
|
+
loginUrl: string;
|
|
46
|
+
iconUrl: string;
|
|
47
|
+
options: {
|
|
48
|
+
showOnLogin: boolean;
|
|
49
|
+
showOnSignup: boolean;
|
|
50
|
+
};
|
|
51
|
+
tokenUri: string;
|
|
52
|
+
tokenIntrospectionUri: string;
|
|
53
|
+
userInfoUri: string;
|
|
54
|
+
enabled: boolean;
|
|
55
|
+
};
|
|
@@ -18,4 +18,8 @@ export type DateTime_tz = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}${"+" | "-"}${HH}:
|
|
|
18
18
|
export type DateTime_Z = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}Z` | string;
|
|
19
19
|
export type DateTime_Z_micros = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}.${microS}Z` | string;
|
|
20
20
|
export type DateTimeSpaceSeparated = `${Date_YYYY_MM_DD} ${Time_HH_mm_ss}` | string;
|
|
21
|
+
export type DateRangeFilter = {
|
|
22
|
+
fromDate: DateType;
|
|
23
|
+
toDate: DateType;
|
|
24
|
+
};
|
|
21
25
|
export {};
|
|
@@ -53,6 +53,19 @@ export declare enum VideoWallWidgetSettingsKeys {
|
|
|
53
53
|
Height = "height",
|
|
54
54
|
HeightResolution = "heightResolution"
|
|
55
55
|
}
|
|
56
|
+
export declare enum ThreeSixtyKeys {
|
|
57
|
+
DateId = "dateId",
|
|
58
|
+
DateLocked = "dateLocked",
|
|
59
|
+
FloorId = "floorId",
|
|
60
|
+
FloorLocked = "floorLocked",
|
|
61
|
+
Marker = "markerId",
|
|
62
|
+
MarkerLocked = "markerLocked",
|
|
63
|
+
MediaLocked = "mediaLocked",
|
|
64
|
+
Width = "width",
|
|
65
|
+
WidthResolution = "resolution",
|
|
66
|
+
Height = "height",
|
|
67
|
+
HeightResolution = "heightResolution"
|
|
68
|
+
}
|
|
56
69
|
export type CommonWidgetSettings = {
|
|
57
70
|
width: number;
|
|
58
71
|
resolution: string;
|
|
@@ -81,12 +94,18 @@ export type VideoWallWidgetSettings = CommonWidgetSettings & {
|
|
|
81
94
|
preset: VideoWallPresetItemConfig;
|
|
82
95
|
refreshRate: number;
|
|
83
96
|
};
|
|
84
|
-
export type
|
|
97
|
+
export type ThreeSixtyWidgetSettings = CommonWidgetSettings & {
|
|
98
|
+
dateId: string;
|
|
99
|
+
floorId: string;
|
|
100
|
+
markerId: string;
|
|
101
|
+
};
|
|
102
|
+
export type WidgetSettings = RecordingsWidgetSettings | LiveViewWidgetSettings | BimCompareWidgetSettings | VideoWallWidgetSettings | ThreeSixtyWidgetSettings;
|
|
85
103
|
export declare enum WidgetType {
|
|
86
104
|
LiveWidget = "Live View",
|
|
87
105
|
Recording = "Recordings",
|
|
88
106
|
BimCompare = "BIM Compare",
|
|
89
|
-
VideoWall = "Video Wall"
|
|
107
|
+
VideoWall = "Video Wall",
|
|
108
|
+
ThreeSixty = "360"
|
|
90
109
|
}
|
|
91
110
|
export declare const WidgetTypesByResource: {
|
|
92
111
|
camera: WidgetType[];
|
|
@@ -99,7 +118,7 @@ export type WidgetsListRequestPayload = PaginationParams & {
|
|
|
99
118
|
active: boolean;
|
|
100
119
|
settings: WidgetSettings;
|
|
101
120
|
widgetType: WidgetType;
|
|
102
|
-
|
|
121
|
+
domainRestricted: boolean;
|
|
103
122
|
allowedOrigin: string;
|
|
104
123
|
};
|
|
105
124
|
export type Widget = {
|
|
@@ -119,7 +138,7 @@ export type Widget = {
|
|
|
119
138
|
widgetType: WidgetType;
|
|
120
139
|
settings: WidgetSettings;
|
|
121
140
|
allowedOrigin: string;
|
|
122
|
-
|
|
141
|
+
domainRestricted: boolean;
|
|
123
142
|
active: boolean;
|
|
124
143
|
user: {
|
|
125
144
|
id: number;
|
|
@@ -155,7 +174,7 @@ export type WidgetFull = {
|
|
|
155
174
|
settings: WidgetSettings;
|
|
156
175
|
sessionSettings: any;
|
|
157
176
|
allowedOrigin: string;
|
|
158
|
-
|
|
177
|
+
domainRestricted: boolean;
|
|
159
178
|
insertedAt: DateTime;
|
|
160
179
|
updatedAt: DateTime;
|
|
161
180
|
};
|
|
@@ -167,6 +186,6 @@ export type WidgetPayload = {
|
|
|
167
186
|
widgetType: WidgetType;
|
|
168
187
|
active: boolean;
|
|
169
188
|
settings: WidgetSettings;
|
|
170
|
-
|
|
189
|
+
domainRestricted: boolean;
|
|
171
190
|
allowedOrigin: string;
|
|
172
191
|
};
|
|
@@ -7,3 +7,4 @@ export declare const toQueryString: <T extends Record<string, unknown>>(paramsOb
|
|
|
7
7
|
forceArrayBrackets?: boolean | undefined;
|
|
8
8
|
}) => string | undefined;
|
|
9
9
|
export declare function queryStringToObject(queryString?: string): QueryParams;
|
|
10
|
+
export declare function capitalizeFirstLetter(inputString: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/api",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-233a53dac",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dist"
|
|
25
25
|
],
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": "
|
|
27
|
+
"node": ">=22"
|
|
28
28
|
},
|
|
29
29
|
"readme": "README.md",
|
|
30
30
|
"scripts": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^
|
|
39
|
+
"@types/node": "^25.0.3",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4"
|
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
"idb-keyval": "^6.2.2",
|
|
48
48
|
"moment-timezone": "^0.5.46"
|
|
49
49
|
}
|
|
50
|
-
}
|
|
50
|
+
}
|
package/dist/api/api/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
2
|
-
export * from "./adminApi";
|
|
3
|
-
export * from "./videoWallApi";
|
|
4
|
-
export * from "./3dFirebaseApi";
|
|
5
|
-
export * from "./aiApi";
|
|
6
|
-
export * from "./webRtcApi";
|
|
7
|
-
export * from "./weatherApi";
|
|
8
|
-
export * from "./evercamLabsApi";
|
|
9
|
-
export * from "./evercamApi";
|
|
10
|
-
export * from "./ptzApi";
|
|
11
|
-
export * from "./ingestApi";
|
|
12
|
-
export * from "./exNvrApi";
|
|
13
|
-
export * from "./authzApi";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export type AconexUserProjectsResponsePayload = Array<{
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
shortName: string;
|
|
5
|
-
startDate: string;
|
|
6
|
-
endDate: string;
|
|
7
|
-
}>;
|
|
8
|
-
export type AconexDocumentSchemaField = {
|
|
9
|
-
dataType: AconexDocumentDataType;
|
|
10
|
-
identifier: string;
|
|
11
|
-
schemaValues?: Array<{
|
|
12
|
-
id: string;
|
|
13
|
-
value: string;
|
|
14
|
-
}>;
|
|
15
|
-
fieldName: string;
|
|
16
|
-
mandatoryStatus: AconexMandatoryStatus;
|
|
17
|
-
componentType?: AconexFormComponentType;
|
|
18
|
-
items?: Array<any>;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
};
|
|
21
|
-
export declare enum AconexDocumentDataType {
|
|
22
|
-
Long = "LONG",
|
|
23
|
-
Integer = "INTEGER",
|
|
24
|
-
String = "STRING",
|
|
25
|
-
Boolean = "BOOLEAN",
|
|
26
|
-
Date = "DATE"
|
|
27
|
-
}
|
|
28
|
-
export declare enum AconexFormComponentType {
|
|
29
|
-
Select = "SelectField",
|
|
30
|
-
Text = "TextField",
|
|
31
|
-
DateTime = "DateTimeField",
|
|
32
|
-
Switch = "SwitchField"
|
|
33
|
-
}
|
|
34
|
-
export declare enum AconexMandatoryStatus {
|
|
35
|
-
Mandatory = "MANDATORY",
|
|
36
|
-
NotMandatory = "NOT_MANDATORY"
|
|
37
|
-
}
|
|
38
|
-
export type AconexAuthCallbackParams = {
|
|
39
|
-
code: string;
|
|
40
|
-
location: string;
|
|
41
|
-
};
|
|
42
|
-
export type AconexEditedImageUploadRequestPayload = {
|
|
43
|
-
projectExid: string;
|
|
44
|
-
snapshot: string;
|
|
45
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TimelineCountEvent, TimelineEvent } from "@evercam/ui";
|
|
2
|
-
import { CameraExid, ProjectExid, TimelineDateInterval, TimelineProviderRequestParams } from "@evercam/shared/types";
|
|
3
|
-
import { TimelineDataProvider } from "./timelineDataProvider";
|
|
4
|
-
export declare class TimelineAnprProvider extends TimelineDataProvider {
|
|
5
|
-
readonly projectExid: ProjectExid;
|
|
6
|
-
readonly cameraExid: CameraExid;
|
|
7
|
-
readonly token: string;
|
|
8
|
-
constructor(params: {
|
|
9
|
-
timezone: string;
|
|
10
|
-
projectExid: ProjectExid;
|
|
11
|
-
cameraExid: CameraExid;
|
|
12
|
-
token: string;
|
|
13
|
-
});
|
|
14
|
-
fetchEvents({ fromDate, toDate, }: TimelineDateInterval): Promise<Array<TimelineEvent>>;
|
|
15
|
-
fetchCounts({ fromDate, toDate, precision, }: TimelineProviderRequestParams): Promise<Array<TimelineCountEvent>>;
|
|
16
|
-
private getFormattedPlateNumber;
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type TimelineCountEvent, type TimelineEvent, type TimelineRangeEvent } from "@evercam/ui";
|
|
2
|
-
import { type TimelineDateInterval, TimelinePrecision, type TimelineProviderRequestParams } from "@evercam/shared/types";
|
|
3
|
-
export declare abstract class TimelineDataProvider {
|
|
4
|
-
protected timezone: string;
|
|
5
|
-
constructor(timezone: string);
|
|
6
|
-
fetch(params: TimelineProviderRequestParams): Promise<Array<TimelineEvent>>;
|
|
7
|
-
protected abstract fetchEvents(params: TimelineProviderRequestParams): Promise<Array<TimelineEvent>>;
|
|
8
|
-
protected abstract fetchCounts(params: TimelineProviderRequestParams): Promise<Array<TimelineCountEvent | TimelineRangeEvent>>;
|
|
9
|
-
formatTimestamp(date: string, format?: string): string;
|
|
10
|
-
processResponseIntervals(intervals: TimelineDateInterval[], precision: TimelinePrecision): TimelineRangeEvent[];
|
|
11
|
-
private convertAndRoundIntervals;
|
|
12
|
-
private groupAdjacentIntervals;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type TimelineCountEvent, type TimelineEvent } from "@evercam/ui";
|
|
2
|
-
import { type CameraExid, type ProjectExid, type TimelineDateInterval, type TimelineProviderRequestParams } from "@evercam/shared/types";
|
|
3
|
-
import { TimelineDataProvider } from "./timelineDataProvider";
|
|
4
|
-
export declare class TimelineLuminanceProvider extends TimelineDataProvider {
|
|
5
|
-
readonly projectExid: ProjectExid;
|
|
6
|
-
readonly cameraExid: CameraExid;
|
|
7
|
-
readonly token: string;
|
|
8
|
-
constructor(params: {
|
|
9
|
-
timezone: string;
|
|
10
|
-
projectExid: ProjectExid;
|
|
11
|
-
cameraExid: CameraExid;
|
|
12
|
-
token: string;
|
|
13
|
-
});
|
|
14
|
-
fetchEvents({ fromDate, toDate, }: TimelineDateInterval): Promise<Array<TimelineEvent>>;
|
|
15
|
-
fetchCounts({ fromDate, toDate, }: TimelineProviderRequestParams): Promise<Array<TimelineCountEvent>>;
|
|
16
|
-
}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, TaskStatus, Tag } from "@evercam/api/types";
|
|
2
|
-
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
|
-
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
|
-
export declare enum WatermarkedImageDownloadOrigin {
|
|
5
|
-
Drone = "drone",
|
|
6
|
-
Bim = "BIM",
|
|
7
|
-
Snapshot = "snapshot",
|
|
8
|
-
The360 = "360",
|
|
9
|
-
Planner = "Planner"
|
|
10
|
-
}
|
|
11
|
-
export declare enum PlayerMode {
|
|
12
|
-
Video = "video",
|
|
13
|
-
Jpegs = "jpegs"
|
|
14
|
-
}
|
|
15
|
-
export type TasksStatusMap = {
|
|
16
|
-
[key: string]: TaskStatus;
|
|
17
|
-
};
|
|
18
|
-
export type TaskProgressItem = {
|
|
19
|
-
status: TaskStatus;
|
|
20
|
-
description: string;
|
|
21
|
-
percentDone?: number;
|
|
22
|
-
duration?: number;
|
|
23
|
-
};
|
|
24
|
-
export type GlobalSearchMatch = {
|
|
25
|
-
path: Array<string>;
|
|
26
|
-
value: string | number | boolean;
|
|
27
|
-
};
|
|
28
|
-
export type GlobalSearchResult = {
|
|
29
|
-
index: number;
|
|
30
|
-
matches: Array<GlobalSearchMatch>;
|
|
31
|
-
};
|
|
32
|
-
export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
|
|
33
|
-
export type TimelineProviderRequestParams = TimelineDateInterval & {
|
|
34
|
-
precision?: TimelinePrecision;
|
|
35
|
-
labels?: string[];
|
|
36
|
-
trackId?: number;
|
|
37
|
-
};
|
|
38
|
-
export type TimelinePlayerGroupConfig = {
|
|
39
|
-
provider?: TimelineDataProvider;
|
|
40
|
-
events?: Array<TimelineEvent>;
|
|
41
|
-
getChartType?: (precision: TimelinePrecision) => TimelineChartType;
|
|
42
|
-
} & Omit<TimelineEventsGroup, "events">;
|
|
43
|
-
export type TimelinePlayerConfig = {
|
|
44
|
-
[groupName: string]: TimelinePlayerGroupConfig;
|
|
45
|
-
};
|
|
46
|
-
export type TimelinePlayerTooltipItem = {
|
|
47
|
-
label?: string;
|
|
48
|
-
title?: string;
|
|
49
|
-
thumbnailUrl: string;
|
|
50
|
-
placeholderThumbnailUrl?: string;
|
|
51
|
-
fallbackThumbnailUrl?: string;
|
|
52
|
-
};
|
|
53
|
-
export declare enum TimelineGroupId {
|
|
54
|
-
ThreeSixty = "w360",
|
|
55
|
-
Drone = "drone",
|
|
56
|
-
Bim = "bim",
|
|
57
|
-
Media = "media",
|
|
58
|
-
Comments = "comments",
|
|
59
|
-
Anpr = "anpr",
|
|
60
|
-
MobileCapture = "mobileCapture",
|
|
61
|
-
ExNvrRecordings = "exNvrRecordings",
|
|
62
|
-
Luminance = "luminance",
|
|
63
|
-
ObjectInspector = "objectInspector"
|
|
64
|
-
}
|
|
65
|
-
export type TimelineOverlayType = TimelineGroupId.ThreeSixty | TimelineGroupId.Drone | TimelineGroupId.Media | TimelineGroupId.MobileCapture | TimelineGroupId.Bim | TimelineGroupId.Comments | "compare";
|
|
66
|
-
export type TimelineOverlayData<T extends TimelineOverlayType> = T extends TimelineGroupId.ThreeSixty ? _360Scene : T extends TimelineGroupId.Drone ? DroneModel : T extends TimelineGroupId.Media ? Media : T extends TimelineGroupId.MobileCapture ? MobileCaptureSnapshot : T extends TimelineGroupId.Comments ? Comment : never;
|
|
67
|
-
export declare enum TimelineMarkerId {
|
|
68
|
-
Xray = "xray",
|
|
69
|
-
CurrentSnapshot = "current",
|
|
70
|
-
CompareBeforeSnapshot = "compareBefore",
|
|
71
|
-
CompareAfterSnapshot = "compareAfter",
|
|
72
|
-
ObjectInspectorFirstSeen = "firstSeen",
|
|
73
|
-
ObjectInspectorLastSeen = "lastSeen"
|
|
74
|
-
}
|
|
75
|
-
export type TimelineMediaHubItemsByType = {
|
|
76
|
-
clip?: Media[];
|
|
77
|
-
compare?: Media[];
|
|
78
|
-
edit?: Media[];
|
|
79
|
-
timelapse?: Media[];
|
|
80
|
-
xRay?: Media[];
|
|
81
|
-
};
|
|
82
|
-
export declare enum HighchartsStackingBehavior {
|
|
83
|
-
Overlap = "overlap",
|
|
84
|
-
Normal = "normal",
|
|
85
|
-
Percent = "percent",
|
|
86
|
-
Stream = "stream"
|
|
87
|
-
}
|
|
88
|
-
export declare enum LeaderLinePlugType {
|
|
89
|
-
Disc = "disc",
|
|
90
|
-
Square = "square",
|
|
91
|
-
Arrow1 = "arrow1",
|
|
92
|
-
Arrow2 = "arrow2",
|
|
93
|
-
Arrow3 = "arrow3",
|
|
94
|
-
Hand = "hand",
|
|
95
|
-
CrossHair = "crosshair",
|
|
96
|
-
Behind = "behind"
|
|
97
|
-
}
|
|
98
|
-
export declare enum LeaderLinesPathType {
|
|
99
|
-
Straight = "straight",
|
|
100
|
-
Arc = "arc",
|
|
101
|
-
Fluid = "fluid",
|
|
102
|
-
Magnet = "magnet",
|
|
103
|
-
Grid = "grid"
|
|
104
|
-
}
|
|
105
|
-
export declare enum LeaderLinesSocketPosition {
|
|
106
|
-
Top = "top",
|
|
107
|
-
Right = "right",
|
|
108
|
-
Bottom = "bottom",
|
|
109
|
-
Left = "left",
|
|
110
|
-
Auto = "auto"
|
|
111
|
-
}
|
|
112
|
-
export type LeaderLineOptions = {
|
|
113
|
-
startSocket?: LeaderLinesSocketPosition;
|
|
114
|
-
endSocket?: LeaderLinesSocketPosition;
|
|
115
|
-
color?: string | ((element: any) => string);
|
|
116
|
-
size?: number;
|
|
117
|
-
startPlug?: LeaderLinePlugType;
|
|
118
|
-
endPlug?: LeaderLinePlugType;
|
|
119
|
-
startPlugSize?: number;
|
|
120
|
-
endPlugSize?: number;
|
|
121
|
-
path?: LeaderLinesPathType;
|
|
122
|
-
startSocketGravity?: [number, number];
|
|
123
|
-
endSocketGravity?: [number, number];
|
|
124
|
-
dash?: {
|
|
125
|
-
animation: boolean | {
|
|
126
|
-
duration: number;
|
|
127
|
-
};
|
|
128
|
-
} | ((element: any) => {
|
|
129
|
-
animation: boolean | {
|
|
130
|
-
duration: number;
|
|
131
|
-
};
|
|
132
|
-
});
|
|
133
|
-
};
|
|
134
|
-
export type CssSelector = string;
|
|
135
|
-
export type LineConfig = {
|
|
136
|
-
start: CssSelector | CssSelector[];
|
|
137
|
-
end: CssSelector | CssSelector[];
|
|
138
|
-
options?: LeaderLineOptions;
|
|
139
|
-
};
|
|
140
|
-
export type Point = {
|
|
141
|
-
x: number;
|
|
142
|
-
y: number;
|
|
143
|
-
};
|
|
144
|
-
export declare enum ZohoDeskTicketStatus {
|
|
145
|
-
Closed = "Closed",
|
|
146
|
-
OnHold = "On Hold",
|
|
147
|
-
Open = "Open"
|
|
148
|
-
}
|
|
149
|
-
export type TagSelectorItem = Tag & {
|
|
150
|
-
isExcluded?: boolean;
|
|
151
|
-
};
|
|
152
|
-
export declare enum FormSchemaComponents {
|
|
153
|
-
SelectField = "SelectField",
|
|
154
|
-
MultiOption = "MultiOption",
|
|
155
|
-
TextField = "TextField",
|
|
156
|
-
CheckBox = "SwitchField",
|
|
157
|
-
DateTime = "DatePickerInput",
|
|
158
|
-
TextArea = "Textarea",
|
|
159
|
-
Search = "Autocomplete",
|
|
160
|
-
ReadOnly = "ReadOnly"
|
|
161
|
-
}
|
|
162
|
-
export declare enum FormSchemaDataType {
|
|
163
|
-
String = "string",
|
|
164
|
-
Number = "number",
|
|
165
|
-
Boolean = "boolean",
|
|
166
|
-
Date = "date"
|
|
167
|
-
}
|
|
168
|
-
export type FormSchemaOptions = {
|
|
169
|
-
title: string;
|
|
170
|
-
value: string;
|
|
171
|
-
};
|
|
172
|
-
export type FormSchemaField = {
|
|
173
|
-
id: string;
|
|
174
|
-
component: FormSchemaComponents;
|
|
175
|
-
required?: boolean;
|
|
176
|
-
name: string;
|
|
177
|
-
options?: FormSchemaOptions[];
|
|
178
|
-
disabled?: boolean;
|
|
179
|
-
dataType: FormSchemaDataType;
|
|
180
|
-
multiple?: boolean;
|
|
181
|
-
defaultValue?: any;
|
|
182
|
-
columns?: number;
|
|
183
|
-
};
|
|
184
|
-
export type FormSchema = Record<string, FormSchemaField>;
|
|
185
|
-
export interface ScrollListener {
|
|
186
|
-
element: Element | Window;
|
|
187
|
-
handler: () => void;
|
|
188
|
-
}
|
|
189
|
-
export interface LeaderLineInstance {
|
|
190
|
-
remove(): void;
|
|
191
|
-
position(): void;
|
|
192
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Timestamp } from "@evercam/api/types";
|
|
2
|
-
export interface Frame {
|
|
3
|
-
label: string;
|
|
4
|
-
src: string;
|
|
5
|
-
srcSet?: SrcSet;
|
|
6
|
-
timestamp: Timestamp;
|
|
7
|
-
}
|
|
8
|
-
export interface InfoText {
|
|
9
|
-
index: string;
|
|
10
|
-
label: string;
|
|
11
|
-
}
|
|
12
|
-
export type EventMarker<T extends {}> = T & {
|
|
13
|
-
label: string;
|
|
14
|
-
thumbnailUrl: string;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
cssClass?: Object | string;
|
|
17
|
-
};
|
|
18
|
-
export type SnapshotEvent<T extends {}> = T & {
|
|
19
|
-
eventTime: Timestamp;
|
|
20
|
-
};
|
|
21
|
-
export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
|
|
22
|
-
frameIndex: number;
|
|
23
|
-
snapshotTimestamp: Timestamp;
|
|
24
|
-
};
|
|
25
|
-
export declare enum ImageQuality {
|
|
26
|
-
ThureeSixty = "360",
|
|
27
|
-
FourEighty = "480",
|
|
28
|
-
SevenTwenty = "720",
|
|
29
|
-
OneZeroEightZero = "1080",
|
|
30
|
-
Auto = "auto"
|
|
31
|
-
}
|
|
32
|
-
export type SrcSet = {
|
|
33
|
-
[q in ImageQuality]: string;
|
|
34
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TimelineGroupId, type TimelinePlayerGroupConfig } from "@evercam/shared/types/components";
|
|
2
|
-
export interface TimelineGroup {
|
|
3
|
-
id: TimelineGroupId;
|
|
4
|
-
timelineConfig: TimelinePlayerGroupConfig | Record<string, TimelinePlayerGroupConfig>;
|
|
5
|
-
isVisible: boolean;
|
|
6
|
-
isDisabled: boolean;
|
|
7
|
-
isRestricted?: boolean;
|
|
8
|
-
hasMultipleGroups?: boolean;
|
|
9
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|