@evercam/api 1.0.0-57d7783ef → 1.0.0-5841dedff
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 +6 -0
- package/dist/api/api/adminApi.d.ts +2 -1
- package/dist/api/api/aiApi.d.ts +48 -2
- package/dist/api/api/authzApi.d.ts +4 -1
- package/dist/api/api/evercamApi.d.ts +16 -5
- package/dist/api/api/ingestApi.d.ts +4 -2
- package/dist/api/types/360.d.ts +28 -31
- package/dist/api/types/aiConfigs.d.ts +99 -11
- package/dist/api/types/analytics.d.ts +6 -0
- package/dist/api/types/authz.d.ts +46 -0
- package/dist/api/types/automation.d.ts +23 -4
- package/dist/api/types/axios.d.ts +1 -4
- package/dist/api/types/bim.d.ts +3 -5
- package/dist/api/types/camera.d.ts +2 -7
- package/dist/api/types/connector.d.ts +1 -0
- package/dist/api/types/copilot.d.ts +0 -3
- package/dist/api/types/detections.d.ts +1 -0
- package/dist/api/types/drone.d.ts +1 -1
- package/dist/api/types/errors.d.ts +2 -1
- package/dist/api/types/gateReport.d.ts +0 -11
- package/dist/api/types/gateReportManagement.d.ts +2 -7
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/index.d.ts +4 -1
- package/dist/api/types/ingest.d.ts +2 -1
- package/dist/api/types/kit.d.ts +30 -49
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +12 -2
- package/dist/api/types/observationEvents.d.ts +61 -0
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/planner.d.ts +0 -8
- package/dist/api/types/project.d.ts +7 -0
- package/dist/api/types/recording.d.ts +2 -4
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +0 -9
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/shared.d.ts +0 -19
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/siteAnalytics.d.ts +1 -3
- package/dist/api/types/siteAnalyticsManagement.d.ts +29 -4
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storyblok.d.ts +0 -13
- package/dist/api/types/timelapse.d.ts +1 -8
- package/dist/index.js +912 -628
- 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 +64 -28
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/package.json +1 -1
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,8 +1,17 @@
|
|
|
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,
|
|
2
|
-
import type { AdminCamera, IngestUploadInitResponse } from "@evercam/api/types";
|
|
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, type HammertechProject, type HammertechIssueType, type HammertechPriority, type HammertechClassification, type HammertechFileFieldValue, Tag, TuplePoint2D, CameraStatus } from "@evercam/shared/types";
|
|
2
|
+
import type { AdminCamera, Camera, IngestUploadInitResponse } from "@evercam/api/types";
|
|
3
3
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
4
4
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
5
5
|
import { SeriesOptionsType } from "highcharts";
|
|
6
|
+
export type ReorderableCamera = Camera & {
|
|
7
|
+
thumbnailSrc?: string;
|
|
8
|
+
batteryLevel?: {
|
|
9
|
+
voltage: number;
|
|
10
|
+
level: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
color: string;
|
|
13
|
+
} | null;
|
|
14
|
+
};
|
|
6
15
|
export type SelectItem = {
|
|
7
16
|
text: string;
|
|
8
17
|
value: string | number;
|
|
@@ -59,24 +68,6 @@ export declare enum PlayerMode {
|
|
|
59
68
|
Video = "video",
|
|
60
69
|
Jpegs = "jpegs"
|
|
61
70
|
}
|
|
62
|
-
export type TasksStatusMap = {
|
|
63
|
-
[key: string]: TaskStatus;
|
|
64
|
-
};
|
|
65
|
-
export type TaskProgressItem = {
|
|
66
|
-
status: TaskStatus;
|
|
67
|
-
description: string;
|
|
68
|
-
percentDone?: number;
|
|
69
|
-
duration?: number;
|
|
70
|
-
};
|
|
71
|
-
export type GlobalSearchMatch = {
|
|
72
|
-
path: Array<string>;
|
|
73
|
-
value: string | number | boolean;
|
|
74
|
-
};
|
|
75
|
-
export type GlobalSearchResult = {
|
|
76
|
-
index: number;
|
|
77
|
-
matches: Array<GlobalSearchMatch>;
|
|
78
|
-
};
|
|
79
|
-
export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
|
|
80
71
|
export type TimelineProviderRequestParams = TimelineDateInterval & {
|
|
81
72
|
precision?: TimelinePrecision;
|
|
82
73
|
labels?: string[];
|
|
@@ -187,12 +178,14 @@ export type TagSelectorItem = Tag & {
|
|
|
187
178
|
};
|
|
188
179
|
export declare enum FormSchemaComponents {
|
|
189
180
|
SelectField = "SelectField",
|
|
181
|
+
HierarchicalSelect = "HierarchicalSelectField",
|
|
190
182
|
MultiOption = "MultiOption",
|
|
191
183
|
TextField = "TextField",
|
|
192
184
|
SwitchField = "SwitchField",
|
|
193
185
|
CheckBox = "CheckBoxField",
|
|
194
186
|
Date = "DatePickerInput",
|
|
195
187
|
DateTime = "DateTimeField",
|
|
188
|
+
Time = "TimeField",
|
|
196
189
|
TextArea = "Textarea",
|
|
197
190
|
Search = "Autocomplete",
|
|
198
191
|
ReadOnly = "ReadOnly",
|
|
@@ -207,6 +200,7 @@ export declare enum FormSchemaDataType {
|
|
|
207
200
|
export type FormSchemaOptions = {
|
|
208
201
|
title: string;
|
|
209
202
|
value: string;
|
|
203
|
+
parentId?: string | null;
|
|
210
204
|
};
|
|
211
205
|
export type FormSchemaField = {
|
|
212
206
|
id: string;
|
|
@@ -248,14 +242,6 @@ export type SnapshotCardItem = {
|
|
|
248
242
|
placeholderThumbnailUrl?: string;
|
|
249
243
|
fallbackThumbnailUrl?: string;
|
|
250
244
|
};
|
|
251
|
-
export type DocumentExtended = Document & {
|
|
252
|
-
webkitIsFullScreen?: boolean;
|
|
253
|
-
mozFullScreen?: boolean;
|
|
254
|
-
msFullscreenElement?: Element | null;
|
|
255
|
-
fullscreenElement?: Element;
|
|
256
|
-
webkitFullscreenElement?: Element;
|
|
257
|
-
mozFullScreenElement?: Element;
|
|
258
|
-
};
|
|
259
245
|
export type HighchartsSeriesWithData<T extends number = number> = SeriesOptionsType & {
|
|
260
246
|
data: T[];
|
|
261
247
|
};
|
|
@@ -299,6 +285,20 @@ export type AutodeskUploadFormData = {
|
|
|
299
285
|
project: AutodeskProject | null;
|
|
300
286
|
folder: AutodeskFolder | null;
|
|
301
287
|
};
|
|
288
|
+
export type HammertechUploadFormData = {
|
|
289
|
+
project: HammertechProject | null;
|
|
290
|
+
issueType: HammertechIssueType | null;
|
|
291
|
+
description: string;
|
|
292
|
+
priority: HammertechPriority | null;
|
|
293
|
+
dueDate: string | null;
|
|
294
|
+
classification: HammertechClassification | null;
|
|
295
|
+
locationId: string | null;
|
|
296
|
+
isPositiveObservation: boolean;
|
|
297
|
+
isPhotoForFixRequired: boolean;
|
|
298
|
+
customFieldFormId: string | null;
|
|
299
|
+
customFieldValues: Record<string, unknown>;
|
|
300
|
+
fileCustomFieldValues: Record<string, HammertechFileFieldValue>;
|
|
301
|
+
};
|
|
302
302
|
export interface MediaHubFilters {
|
|
303
303
|
title: string;
|
|
304
304
|
requesterEmail: string | undefined;
|
|
@@ -332,3 +332,39 @@ export type BimUploadFileResult = {
|
|
|
332
332
|
title: string;
|
|
333
333
|
fileExtension: string;
|
|
334
334
|
};
|
|
335
|
+
export type CameraCardItem = {
|
|
336
|
+
thumbnail: string;
|
|
337
|
+
title: string;
|
|
338
|
+
exid: string;
|
|
339
|
+
status: CameraStatus;
|
|
340
|
+
disabled: boolean;
|
|
341
|
+
to: string;
|
|
342
|
+
isOffline: boolean;
|
|
343
|
+
isWaiting: boolean;
|
|
344
|
+
isUnderNda: boolean;
|
|
345
|
+
isAdmin: boolean;
|
|
346
|
+
batteryVoltage: number | null;
|
|
347
|
+
};
|
|
348
|
+
export interface ThreeSixtyWalk {
|
|
349
|
+
id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
date: string;
|
|
352
|
+
color: string;
|
|
353
|
+
dateId: string;
|
|
354
|
+
floorId: string;
|
|
355
|
+
}
|
|
356
|
+
export interface ThreeSixtyWalkGroup {
|
|
357
|
+
date: string;
|
|
358
|
+
walks: ThreeSixtyWalk[];
|
|
359
|
+
}
|
|
360
|
+
export type DatePresetContext = {
|
|
361
|
+
minDate?: string;
|
|
362
|
+
maxDate: string;
|
|
363
|
+
effectiveMinDate?: string;
|
|
364
|
+
effectiveMaxDate: string;
|
|
365
|
+
};
|
|
366
|
+
export type DatePreset = {
|
|
367
|
+
name: string;
|
|
368
|
+
resolveRange?: (ctx: DatePresetContext) => [string, string];
|
|
369
|
+
isHide?: (ctx: DatePresetContext) => boolean;
|
|
370
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ObservationsTableHeader = {
|
|
2
|
+
isThumbnail?: boolean;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
divider: boolean;
|
|
5
|
+
sortable: boolean;
|
|
6
|
+
text: string;
|
|
7
|
+
value: string;
|
|
8
|
+
class: string;
|
|
9
|
+
align: string;
|
|
10
|
+
};
|
|
11
|
+
export type ObservationsCountDay = {
|
|
12
|
+
day: string;
|
|
13
|
+
};
|
|
14
|
+
export type ObservationsTableOptionsUpdate = {
|
|
15
|
+
page: number;
|
|
16
|
+
sortBy: string[];
|
|
17
|
+
sortDesc: boolean[];
|
|
18
|
+
};
|
|
19
|
+
export type ObservationsEventsTableState = {
|
|
20
|
+
height: number | string;
|
|
21
|
+
};
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type VendorModel = {
|
|
2
|
-
cameraCount: number;
|
|
3
|
-
exid: string;
|
|
4
|
-
h264Url: string;
|
|
5
|
-
jpgUrl: string;
|
|
6
|
-
name: string;
|
|
7
|
-
online: number;
|
|
8
|
-
playbackUrl: string;
|
|
9
|
-
};
|
|
10
|
-
export type VendorModelRequestPayload = {
|
|
11
|
-
sort: string;
|
|
12
|
-
};
|
|
13
|
-
export type VendorModelResponsePayload = {
|
|
14
|
-
data: VendorModel[];
|
|
15
|
-
};
|