@evercam/api 1.0.0-545d28907 → 1.0.0-557e15bf7
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/dist/api/api/3dFirebaseApi.d.ts +7 -1
- package/dist/api/api/adminApi.d.ts +50 -60
- package/dist/api/api/aiApi.d.ts +56 -84
- package/dist/api/api/authzApi.d.ts +27 -17
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +67 -93
- package/dist/api/api/evercamLabsApi.d.ts +4 -2
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +96 -44
- package/dist/api/api/ptzApi.d.ts +12 -3
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +139 -5
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/analytics.d.ts +77 -46
- package/dist/api/types/anpr.d.ts +19 -2
- package/dist/api/types/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +44 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +37 -3
- package/dist/api/types/axios.d.ts +10 -4
- package/dist/api/types/bim.d.ts +11 -5
- package/dist/api/types/camera.d.ts +87 -78
- package/dist/api/types/comments.d.ts +4 -8
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +2 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +11 -6
- package/dist/api/types/detections.d.ts +17 -8
- package/dist/api/types/gateReport.d.ts +46 -150
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/ingest.d.ts +85 -2
- package/dist/api/types/kit.d.ts +31 -5
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +32 -2
- package/dist/api/types/posthog.d.ts +15 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +95 -21
- package/dist/api/types/recording.d.ts +2 -3
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/router.d.ts +20 -1
- package/dist/api/types/shared.d.ts +11 -4
- package/dist/api/types/shares.d.ts +6 -144
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +170 -46
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +1 -1
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +3 -4
- package/dist/api/types/user.d.ts +101 -30
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +71 -12
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/index.js +741 -758
- 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/types/components.d.ts +80 -9
- package/dist/shared/types/imagePlayer.d.ts +2 -2
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, TaskStatus, Tag } from "@evercam/
|
|
1
|
+
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag } from "@evercam/shared/types";
|
|
2
2
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
3
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
|
+
import { SeriesOptionsType } from "highcharts";
|
|
4
5
|
export declare enum NavigationArrow {
|
|
5
6
|
Previous = "previous",
|
|
6
7
|
Next = "next"
|
|
@@ -48,13 +49,6 @@ export type TimelinePlayerGroupConfig = {
|
|
|
48
49
|
export type TimelinePlayerConfig = {
|
|
49
50
|
[groupName: string]: TimelinePlayerGroupConfig;
|
|
50
51
|
};
|
|
51
|
-
export type TimelinePlayerTooltipItem = {
|
|
52
|
-
label?: string;
|
|
53
|
-
title?: string;
|
|
54
|
-
thumbnailUrl: string;
|
|
55
|
-
placeholderThumbnailUrl?: string;
|
|
56
|
-
fallbackThumbnailUrl?: string;
|
|
57
|
-
};
|
|
58
52
|
export declare enum TimelineGroupId {
|
|
59
53
|
ThreeSixty = "w360",
|
|
60
54
|
Drone = "drone",
|
|
@@ -158,7 +152,8 @@ export declare enum FormSchemaComponents {
|
|
|
158
152
|
SelectField = "SelectField",
|
|
159
153
|
MultiOption = "MultiOption",
|
|
160
154
|
TextField = "TextField",
|
|
161
|
-
|
|
155
|
+
SwitchField = "SwitchField",
|
|
156
|
+
CheckBox = "CheckBoxField",
|
|
162
157
|
Date = "DatePickerInput",
|
|
163
158
|
DateTime = "DateTimeField",
|
|
164
159
|
TextArea = "Textarea",
|
|
@@ -197,3 +192,79 @@ export interface LeaderLineInstance {
|
|
|
197
192
|
remove(): void;
|
|
198
193
|
position(): void;
|
|
199
194
|
}
|
|
195
|
+
export type SnapshotCardItem = {
|
|
196
|
+
label?: string;
|
|
197
|
+
title?: string;
|
|
198
|
+
thumbnailUrl: string;
|
|
199
|
+
placeholderThumbnailUrl?: string;
|
|
200
|
+
fallbackThumbnailUrl?: string;
|
|
201
|
+
};
|
|
202
|
+
export type DocumentExtended = Document & {
|
|
203
|
+
webkitIsFullScreen?: boolean;
|
|
204
|
+
mozFullScreen?: boolean;
|
|
205
|
+
msFullscreenElement?: Element | null;
|
|
206
|
+
fullscreenElement?: Element;
|
|
207
|
+
webkitFullscreenElement?: Element;
|
|
208
|
+
mozFullScreenElement?: Element;
|
|
209
|
+
};
|
|
210
|
+
export type HighchartsSeriesWithData<T extends number = number> = SeriesOptionsType & {
|
|
211
|
+
data: T[];
|
|
212
|
+
};
|
|
213
|
+
export type FormattedNotificationData = {
|
|
214
|
+
title: string;
|
|
215
|
+
link: string;
|
|
216
|
+
thumbnail?: string;
|
|
217
|
+
icon?: string;
|
|
218
|
+
drone?: boolean;
|
|
219
|
+
is360?: boolean;
|
|
220
|
+
};
|
|
221
|
+
export type FormattedNotification = FormattedNotificationData & {
|
|
222
|
+
date: string;
|
|
223
|
+
read: boolean;
|
|
224
|
+
id: number;
|
|
225
|
+
thumbnailError?: boolean;
|
|
226
|
+
};
|
|
227
|
+
export type ProcoreProjectStepData = {
|
|
228
|
+
project: ProcoreUserProject | null;
|
|
229
|
+
album: ProcoreProjectAlbum | null;
|
|
230
|
+
observationType: ProcoreObservationType | null;
|
|
231
|
+
};
|
|
232
|
+
export type ProcoreUploadFormData = {
|
|
233
|
+
procoreType: ProcoreType;
|
|
234
|
+
project: ProcoreUserProject | null;
|
|
235
|
+
album: ProcoreProjectAlbum | null;
|
|
236
|
+
observationType: ProcoreObservationType | null;
|
|
237
|
+
observationForm: Record<string, string | number | boolean | null>;
|
|
238
|
+
};
|
|
239
|
+
export type AconexUploadFormData = {
|
|
240
|
+
project: AconexUserProject | null;
|
|
241
|
+
form: Record<string, string | number | boolean | null>;
|
|
242
|
+
};
|
|
243
|
+
export type AutodeskUploadFormData = {
|
|
244
|
+
hub: AutodeskUserHub | null;
|
|
245
|
+
project: AutodeskProject | null;
|
|
246
|
+
folder: AutodeskFolder | null;
|
|
247
|
+
};
|
|
248
|
+
export interface MediaHubFilters {
|
|
249
|
+
title: string;
|
|
250
|
+
requesterEmail: string | undefined;
|
|
251
|
+
camera: string | undefined;
|
|
252
|
+
type: string;
|
|
253
|
+
fromDate: string;
|
|
254
|
+
toDate: string;
|
|
255
|
+
sortBy: string;
|
|
256
|
+
}
|
|
257
|
+
export interface MediaHubSortParameter {
|
|
258
|
+
label: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}
|
|
261
|
+
export type TableHeaderParams<TItem = unknown> = {
|
|
262
|
+
value: string;
|
|
263
|
+
text: string;
|
|
264
|
+
cellClass?: string;
|
|
265
|
+
align?: string;
|
|
266
|
+
sortable?: boolean;
|
|
267
|
+
visible?: boolean;
|
|
268
|
+
width?: number;
|
|
269
|
+
toStringFn?: (item: TItem, key: string) => any;
|
|
270
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Timestamp } from "@evercam/
|
|
1
|
+
import type { Timestamp } from "@evercam/shared/types";
|
|
2
2
|
export interface Frame {
|
|
3
3
|
label: string;
|
|
4
4
|
src: string;
|
|
@@ -23,7 +23,7 @@ export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
|
|
|
23
23
|
snapshotTimestamp: Timestamp;
|
|
24
24
|
};
|
|
25
25
|
export declare enum ImageQuality {
|
|
26
|
-
|
|
26
|
+
ThreeSixty = "360",
|
|
27
27
|
FourEighty = "480",
|
|
28
28
|
SevenTwenty = "720",
|
|
29
29
|
OneZeroEightZero = "1080",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TimelineGroupId, type TimelinePlayerGroupConfig } from "
|
|
1
|
+
import { TimelineGroupId, type TimelinePlayerGroupConfig } from "./components";
|
|
2
2
|
export interface TimelineGroup {
|
|
3
3
|
id: TimelineGroupId;
|
|
4
4
|
timelineConfig: TimelinePlayerGroupConfig | Record<string, TimelinePlayerGroupConfig>;
|
|
@@ -6,4 +6,5 @@ export interface TimelineGroup {
|
|
|
6
6
|
isDisabled: boolean;
|
|
7
7
|
isRestricted?: boolean;
|
|
8
8
|
hasMultipleGroups?: boolean;
|
|
9
|
+
isPersistent?: boolean;
|
|
9
10
|
}
|
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-557e15bf7",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^25.
|
|
39
|
+
"@types/node": "^25.3.5",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4"
|