@evercam/api 1.0.0-ea5c7d976 → 1.0.0-eb137e485
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 +4 -0
- package/dist/api/api/3dFirebaseApi.d.ts +224 -0
- package/dist/api/api/adminApi.d.ts +379 -0
- package/dist/api/api/aiApi.d.ts +251 -0
- package/dist/api/api/authzApi.d.ts +40 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- 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/api/evercamApi.d.ts +353 -0
- package/dist/api/api/evercamLabsApi.d.ts +37 -0
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +2 -2
- package/dist/api/api/index.d.ts +14 -0
- package/dist/api/api/ingestApi.d.ts +170 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/reportsApi.d.ts +15 -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/api/types/360.d.ts +368 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +85 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/{types → api/types}/analytics.d.ts +265 -96
- package/dist/{types → api/types}/anpr.d.ts +57 -13
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +257 -0
- package/dist/api/types/authz.d.ts +132 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +123 -0
- package/dist/{types → api/types}/axios.d.ts +32 -11
- package/dist/{types → api/types}/bim.d.ts +65 -16
- package/dist/api/types/camera.d.ts +660 -0
- package/dist/api/types/comments.d.ts +96 -0
- package/dist/api/types/company.d.ts +121 -0
- package/dist/{types → api/types}/compare.d.ts +21 -6
- package/dist/api/types/connector.d.ts +21 -0
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +120 -0
- package/dist/api/types/drone.d.ts +106 -0
- package/dist/api/types/emailMessages.d.ts +27 -0
- package/dist/{types → api/types}/errors.d.ts +31 -1
- package/dist/{types → api/types}/gateReport.d.ts +51 -169
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/{types → api/types}/hdd.d.ts +27 -2
- package/dist/{types → api/types}/index.d.ts +23 -4
- package/dist/api/types/ingest.d.ts +314 -0
- package/dist/{types → api/types}/kit.d.ts +170 -108
- package/dist/api/types/map.d.ts +16 -0
- package/dist/{types → api/types}/media.d.ts +33 -4
- package/dist/api/types/notification.d.ts +107 -0
- package/dist/api/types/nvr.d.ts +67 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observationEvents.d.ts +167 -0
- package/dist/api/types/observations.d.ts +89 -0
- package/dist/api/types/planner.d.ts +125 -0
- package/dist/api/types/posthog.d.ts +89 -0
- package/dist/api/types/procore.d.ts +229 -0
- package/dist/{types → api/types}/progressPhoto.d.ts +41 -40
- package/dist/api/types/project.d.ts +293 -0
- package/dist/{types → api/types}/recording.d.ts +10 -16
- package/dist/api/types/recycleBin.d.ts +20 -0
- package/dist/api/types/reports.d.ts +109 -0
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/roi.d.ts +2 -9
- package/dist/{types → api/types}/routeParams.d.ts +5 -2
- package/dist/{types → api/types}/router.d.ts +34 -10
- package/dist/{types → api/types}/shared.d.ts +48 -36
- package/dist/api/types/shares.d.ts +45 -0
- package/dist/{types → api/types}/sim.d.ts +23 -11
- package/dist/api/types/siteAnalytics.d.ts +285 -0
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +80 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +144 -0
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/sso.d.ts +29 -0
- package/dist/api/types/storageProvider.d.ts +30 -0
- package/dist/api/types/storyblok.d.ts +27 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -25
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +7 -11
- package/dist/{types → api/types}/user.d.ts +143 -59
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/api/types/weather.d.ts +153 -0
- package/dist/{types → api/types}/widget.d.ts +108 -19
- 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 +3174 -1147
- 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 +763 -0
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +93 -0
- package/dist/shared/types/imagePlayer.d.ts +41 -0
- package/dist/shared/types/index.d.ts +9 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/report.d.ts +107 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +7 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/adminApi.d.ts +0 -313
- package/dist/api/aiApi.d.ts +0 -110
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -266
- package/dist/api/evercamLabsApi.d.ts +0 -46
- package/dist/api/ingestApi.d.ts +0 -65
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/api/weatherApi.d.ts +0 -27
- package/dist/types/360.d.ts +0 -83
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/auditLogs.d.ts +0 -99
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/camera.d.ts +0 -565
- package/dist/types/comments.d.ts +0 -36
- package/dist/types/company.d.ts +0 -46
- package/dist/types/connector.d.ts +0 -16
- package/dist/types/coolify.d.ts +0 -18
- package/dist/types/copilot.d.ts +0 -157
- package/dist/types/detections.d.ts +0 -76
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/drone.d.ts +0 -17
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/map.d.ts +0 -4
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/nvr.d.ts +0 -36
- package/dist/types/planner.d.ts +0 -28
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/project.d.ts +0 -119
- package/dist/types/shares.d.ts +0 -192
- package/dist/types/siteAnalytics.d.ts +0 -84
- package/dist/types/snapshots.d.ts +0 -50
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -19
- package/dist/types/vendorModel.d.ts +0 -15
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -83
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { CameraExid, CameraStatus, PaginationParams } from "@evercam/api/types";
|
|
2
|
+
import type { JsonObject } from "@evercam/api/types";
|
|
3
|
+
import { VideoWallPresetGridConfig } from "@evercam/api/types/videoWall";
|
|
4
4
|
export declare enum DelayUnit {
|
|
5
5
|
Minute = "Minutes",
|
|
6
6
|
Hour = "Hours",
|
|
@@ -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;
|
|
@@ -65,6 +78,8 @@ export type RecordingsWidgetSettings = CommonWidgetSettings & {
|
|
|
65
78
|
hasDelay: boolean;
|
|
66
79
|
delay: number;
|
|
67
80
|
delayUnit: DelayUnit;
|
|
81
|
+
hasRange: boolean;
|
|
82
|
+
dateRange: [string, string] | null;
|
|
68
83
|
};
|
|
69
84
|
export type LiveViewWidgetSettings = CommonWidgetSettings & {
|
|
70
85
|
fullscreen: boolean;
|
|
@@ -77,16 +92,30 @@ export type BimCompareWidgetSettings = CommonWidgetSettings & {
|
|
|
77
92
|
timeline: boolean;
|
|
78
93
|
darkMode: boolean;
|
|
79
94
|
};
|
|
80
|
-
export type
|
|
81
|
-
preset:
|
|
95
|
+
export type VideoWallWidgetSettingsObject = CommonWidgetSettings & {
|
|
96
|
+
preset: VideoWallPresetGridConfig;
|
|
82
97
|
refreshRate: number;
|
|
98
|
+
allowCellFullscreen: boolean;
|
|
99
|
+
allowFitContent: boolean;
|
|
100
|
+
allowForceAspectRatio: boolean;
|
|
101
|
+
allowFullscreen: boolean;
|
|
102
|
+
cameras: CameraExid[];
|
|
103
|
+
description: string;
|
|
104
|
+
global: boolean;
|
|
105
|
+
visibility: string;
|
|
106
|
+
};
|
|
107
|
+
export type ThreeSixtyWidgetSettings = CommonWidgetSettings & {
|
|
108
|
+
dateId: string;
|
|
109
|
+
floorId: string;
|
|
110
|
+
markerId: string;
|
|
83
111
|
};
|
|
84
|
-
export type WidgetSettings = RecordingsWidgetSettings | LiveViewWidgetSettings | BimCompareWidgetSettings |
|
|
112
|
+
export type WidgetSettings = RecordingsWidgetSettings | LiveViewWidgetSettings | BimCompareWidgetSettings | VideoWallWidgetSettingsObject | ThreeSixtyWidgetSettings;
|
|
85
113
|
export declare enum WidgetType {
|
|
86
114
|
LiveWidget = "Live View",
|
|
87
115
|
Recording = "Recordings",
|
|
88
116
|
BimCompare = "BIM Compare",
|
|
89
|
-
VideoWall = "Video Wall"
|
|
117
|
+
VideoWall = "Video Wall",
|
|
118
|
+
ThreeSixty = "360"
|
|
90
119
|
}
|
|
91
120
|
export declare const WidgetTypesByResource: {
|
|
92
121
|
camera: WidgetType[];
|
|
@@ -97,9 +126,8 @@ export type WidgetsListRequestPayload = PaginationParams & {
|
|
|
97
126
|
projectId: number;
|
|
98
127
|
cameraId: number;
|
|
99
128
|
active: boolean;
|
|
100
|
-
settings: WidgetSettings;
|
|
101
129
|
widgetType: WidgetType;
|
|
102
|
-
|
|
130
|
+
domainRestricted: boolean;
|
|
103
131
|
allowedOrigin: string;
|
|
104
132
|
};
|
|
105
133
|
export type Widget = {
|
|
@@ -119,7 +147,7 @@ export type Widget = {
|
|
|
119
147
|
widgetType: WidgetType;
|
|
120
148
|
settings: WidgetSettings;
|
|
121
149
|
allowedOrigin: string;
|
|
122
|
-
|
|
150
|
+
domainRestricted: boolean;
|
|
123
151
|
active: boolean;
|
|
124
152
|
user: {
|
|
125
153
|
id: number;
|
|
@@ -127,8 +155,8 @@ export type Widget = {
|
|
|
127
155
|
firstname: string;
|
|
128
156
|
lastname: string;
|
|
129
157
|
};
|
|
130
|
-
insertedAt:
|
|
131
|
-
updatedAt:
|
|
158
|
+
insertedAt: string;
|
|
159
|
+
updatedAt: string;
|
|
132
160
|
};
|
|
133
161
|
export type WidgetFull = {
|
|
134
162
|
id: number;
|
|
@@ -153,20 +181,81 @@ export type WidgetFull = {
|
|
|
153
181
|
email: string;
|
|
154
182
|
};
|
|
155
183
|
settings: WidgetSettings;
|
|
156
|
-
sessionSettings:
|
|
184
|
+
sessionSettings: JsonObject | null;
|
|
157
185
|
allowedOrigin: string;
|
|
158
|
-
|
|
159
|
-
insertedAt:
|
|
160
|
-
updatedAt:
|
|
186
|
+
domainRestricted: boolean;
|
|
187
|
+
insertedAt: string;
|
|
188
|
+
updatedAt: string;
|
|
189
|
+
};
|
|
190
|
+
export type WidgetSessionSettingsPayload = {
|
|
191
|
+
sessionSettings: JsonObject;
|
|
192
|
+
};
|
|
193
|
+
export type AdminWidgetResourceCamera = {
|
|
194
|
+
id: number;
|
|
195
|
+
exid: string;
|
|
196
|
+
name: string;
|
|
197
|
+
status: CameraStatus;
|
|
198
|
+
};
|
|
199
|
+
export type AdminWidgetResourceProject = {
|
|
200
|
+
id: number;
|
|
201
|
+
exid: string;
|
|
202
|
+
name: string;
|
|
203
|
+
featureFlags: string[];
|
|
204
|
+
};
|
|
205
|
+
export type AdminWidgetResourcePreset = {
|
|
206
|
+
id: number;
|
|
207
|
+
name: string;
|
|
208
|
+
exid: string;
|
|
209
|
+
config: JsonObject;
|
|
210
|
+
};
|
|
211
|
+
export type AdminWidgetResources = {
|
|
212
|
+
camera?: AdminWidgetResourceCamera | null;
|
|
213
|
+
project?: AdminWidgetResourceProject | null;
|
|
214
|
+
preset?: AdminWidgetResourcePreset | null;
|
|
215
|
+
};
|
|
216
|
+
export type AdminWidgetUser = {
|
|
217
|
+
id: number;
|
|
218
|
+
email: string;
|
|
219
|
+
firstname: string;
|
|
220
|
+
lastname: string;
|
|
221
|
+
};
|
|
222
|
+
export type AdminWidget = {
|
|
223
|
+
id: number;
|
|
224
|
+
name: string;
|
|
225
|
+
active: boolean;
|
|
226
|
+
public: boolean;
|
|
227
|
+
user: AdminWidgetUser;
|
|
228
|
+
description: string | null;
|
|
229
|
+
insertedAt: string;
|
|
230
|
+
updatedAt: string;
|
|
231
|
+
settings: WidgetSettings;
|
|
232
|
+
ressources: AdminWidgetResources;
|
|
233
|
+
seenAt?: string;
|
|
234
|
+
showDashboardLink?: boolean;
|
|
235
|
+
domainRestricted: boolean;
|
|
236
|
+
widgetType: WidgetType;
|
|
237
|
+
allowedOrigin: string | null;
|
|
238
|
+
};
|
|
239
|
+
export type AdminWidgetFull = AdminWidget & {
|
|
240
|
+
widgetKey: string;
|
|
241
|
+
widgetId: string;
|
|
242
|
+
sessionSettings: JsonObject | null;
|
|
161
243
|
};
|
|
162
244
|
export type WidgetPayload = {
|
|
163
245
|
ressources: {
|
|
164
|
-
|
|
165
|
-
|
|
246
|
+
camera?: string | {
|
|
247
|
+
exid: string;
|
|
248
|
+
};
|
|
249
|
+
project?: string | {
|
|
250
|
+
exid: string;
|
|
251
|
+
};
|
|
252
|
+
preset?: string | {
|
|
253
|
+
exid: string;
|
|
254
|
+
};
|
|
166
255
|
};
|
|
167
256
|
widgetType: WidgetType;
|
|
168
257
|
active: boolean;
|
|
169
258
|
settings: WidgetSettings;
|
|
170
|
-
|
|
259
|
+
domainRestricted: boolean;
|
|
171
260
|
allowedOrigin: string;
|
|
172
261
|
};
|
|
@@ -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 getMediaApiPreviewName(url?: string | null): string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export
|
|
3
|
-
export * from "./utils";
|
|
1
|
+
export * from './api/index'
|
|
2
|
+
export {}
|