@evercam/api 1.0.0-bc158a880 → 1.0.0-bc621a120
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 +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +197 -15
- package/dist/api/api/adminApi.d.ts +26 -15
- package/dist/api/api/aiApi.d.ts +126 -4
- package/dist/api/api/authzApi.d.ts +5 -3
- package/dist/api/api/evercamApi.d.ts +42 -14
- package/dist/api/api/evercamLabsApi.d.ts +5 -5
- package/dist/api/api/ingestApi.d.ts +63 -48
- package/dist/api/types/360.d.ts +167 -83
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +45 -23
- package/dist/api/types/anpr.d.ts +31 -2
- package/dist/api/types/auditLogs.d.ts +18 -0
- package/dist/api/types/authz.d.ts +72 -0
- package/dist/api/types/automation.d.ts +23 -4
- package/dist/api/types/axios.d.ts +11 -12
- package/dist/api/types/bim.d.ts +28 -5
- package/dist/api/types/camera.d.ts +16 -32
- package/dist/api/types/comments.d.ts +10 -7
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/copilot.d.ts +0 -3
- package/dist/api/types/detections.d.ts +3 -10
- package/dist/api/types/drone.d.ts +95 -6
- package/dist/api/types/errors.d.ts +13 -1
- package/dist/api/types/gateReport.d.ts +7 -22
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/index.d.ts +8 -1
- package/dist/api/types/ingest.d.ts +104 -4
- package/dist/api/types/kit.d.ts +41 -51
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +8 -2
- package/dist/api/types/notification.d.ts +41 -2
- package/dist/api/types/observationEvents.d.ts +140 -0
- package/dist/api/types/observations.d.ts +84 -0
- package/dist/api/types/planner.d.ts +98 -8
- package/dist/api/types/posthog.d.ts +20 -0
- package/dist/api/types/project.d.ts +15 -3
- package/dist/api/types/recording.d.ts +8 -13
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/shared.d.ts +18 -18
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/siteAnalytics.d.ts +3 -5
- package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
- package/dist/api/types/siteView.d.ts +73 -0
- package/dist/api/types/snapshots.d.ts +48 -3
- 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 +6 -9
- package/dist/api/types/user.d.ts +1 -5
- package/dist/api/utils.d.ts +0 -1
- package/dist/index.js +1962 -767
- 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 +144 -38
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/dist/shared/types/index.d.ts +3 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/package.json +4 -2
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,7 +1,60 @@
|
|
|
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,
|
|
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";
|
|
2
3
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
4
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
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
|
+
};
|
|
15
|
+
export type SelectItem = {
|
|
16
|
+
text: string;
|
|
17
|
+
value: string | number;
|
|
18
|
+
};
|
|
19
|
+
export type RoiProjectGroup = {
|
|
20
|
+
exid: string;
|
|
21
|
+
name: string;
|
|
22
|
+
cameras: AdminCamera[];
|
|
23
|
+
};
|
|
24
|
+
export declare enum IframeMessageType {
|
|
25
|
+
LiveView = "liveView",
|
|
26
|
+
EditSnapshot = "editSnapshot",
|
|
27
|
+
Weather = "weather",
|
|
28
|
+
CameraInfo = "cameraInfo",
|
|
29
|
+
AnalyticsEvent = "analyticsEvent",
|
|
30
|
+
Ready = "ready",
|
|
31
|
+
Info = "info",
|
|
32
|
+
GateReport = "gateReport",
|
|
33
|
+
CreateCompare = "createCompare",
|
|
34
|
+
UploadDrone = "uploadDrone",
|
|
35
|
+
UploadBIM = "uploadBIM",
|
|
36
|
+
History = "history",
|
|
37
|
+
PerformanceScore = "performanceScore",
|
|
38
|
+
ShareLink = "shareLink",
|
|
39
|
+
LoadForgeModel = "loadForgeModel",
|
|
40
|
+
LoadPlannerList = "loadPlannerList",
|
|
41
|
+
SaveProjectBounds = "saveProjectBounds",
|
|
42
|
+
ArchiveComment = "archiveComment",
|
|
43
|
+
UnarchiveComment = "unarchiveComment",
|
|
44
|
+
DeleteComment = "deleteComment",
|
|
45
|
+
CreateComment = "createComment",
|
|
46
|
+
RefreshComments = "refreshComments",
|
|
47
|
+
CommentSyncFailed = "commentSyncFailed",
|
|
48
|
+
Load360Gallery = "load360Gallery",
|
|
49
|
+
Upload360 = "upload360",
|
|
50
|
+
FetchForgeToken = "FetchForgeToken",
|
|
51
|
+
ForgeTokenResponse = "ForgeTokenResponse",
|
|
52
|
+
ShowBimUploadChoice = "showBimUploadChoice",
|
|
53
|
+
ViewerLaunchFlags = "viewerLaunchFlags",
|
|
54
|
+
Fetch360DrawingIds = "fetch360DrawingIds",
|
|
55
|
+
DrawingIdsResponse = "drawingIdsResponse",
|
|
56
|
+
CloseCameraMarkerPreview = "CloseCameraMarkerPreview"
|
|
57
|
+
}
|
|
5
58
|
export declare enum NavigationArrow {
|
|
6
59
|
Previous = "previous",
|
|
7
60
|
Next = "next"
|
|
@@ -11,31 +64,12 @@ export declare enum WatermarkedImageDownloadOrigin {
|
|
|
11
64
|
Bim = "BIM",
|
|
12
65
|
Snapshot = "snapshot",
|
|
13
66
|
The360 = "360",
|
|
14
|
-
The360Gallery = "360 Gallery",
|
|
15
67
|
Planner = "Planner"
|
|
16
68
|
}
|
|
17
69
|
export declare enum PlayerMode {
|
|
18
70
|
Video = "video",
|
|
19
71
|
Jpegs = "jpegs"
|
|
20
72
|
}
|
|
21
|
-
export type TasksStatusMap = {
|
|
22
|
-
[key: string]: TaskStatus;
|
|
23
|
-
};
|
|
24
|
-
export type TaskProgressItem = {
|
|
25
|
-
status: TaskStatus;
|
|
26
|
-
description: string;
|
|
27
|
-
percentDone?: number;
|
|
28
|
-
duration?: number;
|
|
29
|
-
};
|
|
30
|
-
export type GlobalSearchMatch = {
|
|
31
|
-
path: Array<string>;
|
|
32
|
-
value: string | number | boolean;
|
|
33
|
-
};
|
|
34
|
-
export type GlobalSearchResult = {
|
|
35
|
-
index: number;
|
|
36
|
-
matches: Array<GlobalSearchMatch>;
|
|
37
|
-
};
|
|
38
|
-
export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
|
|
39
73
|
export type TimelineProviderRequestParams = TimelineDateInterval & {
|
|
40
74
|
precision?: TimelinePrecision;
|
|
41
75
|
labels?: string[];
|
|
@@ -118,8 +152,8 @@ export type LeaderLineOptions = {
|
|
|
118
152
|
startPlugSize?: number;
|
|
119
153
|
endPlugSize?: number;
|
|
120
154
|
path?: LeaderLinesPathType;
|
|
121
|
-
startSocketGravity?:
|
|
122
|
-
endSocketGravity?:
|
|
155
|
+
startSocketGravity?: TuplePoint2D;
|
|
156
|
+
endSocketGravity?: TuplePoint2D;
|
|
123
157
|
dash?: {
|
|
124
158
|
animation: boolean | {
|
|
125
159
|
duration: number;
|
|
@@ -136,10 +170,6 @@ export type LineConfig = {
|
|
|
136
170
|
end: CssSelector | CssSelector[];
|
|
137
171
|
options?: LeaderLineOptions;
|
|
138
172
|
};
|
|
139
|
-
export type Point = {
|
|
140
|
-
x: number;
|
|
141
|
-
y: number;
|
|
142
|
-
};
|
|
143
173
|
export declare enum ZohoDeskTicketStatus {
|
|
144
174
|
Closed = "Closed",
|
|
145
175
|
OnHold = "On Hold",
|
|
@@ -150,12 +180,14 @@ export type TagSelectorItem = Tag & {
|
|
|
150
180
|
};
|
|
151
181
|
export declare enum FormSchemaComponents {
|
|
152
182
|
SelectField = "SelectField",
|
|
183
|
+
HierarchicalSelect = "HierarchicalSelectField",
|
|
153
184
|
MultiOption = "MultiOption",
|
|
154
185
|
TextField = "TextField",
|
|
155
186
|
SwitchField = "SwitchField",
|
|
156
187
|
CheckBox = "CheckBoxField",
|
|
157
188
|
Date = "DatePickerInput",
|
|
158
189
|
DateTime = "DateTimeField",
|
|
190
|
+
Time = "TimeField",
|
|
159
191
|
TextArea = "Textarea",
|
|
160
192
|
Search = "Autocomplete",
|
|
161
193
|
ReadOnly = "ReadOnly",
|
|
@@ -170,6 +202,7 @@ export declare enum FormSchemaDataType {
|
|
|
170
202
|
export type FormSchemaOptions = {
|
|
171
203
|
title: string;
|
|
172
204
|
value: string;
|
|
205
|
+
parentId?: string | null;
|
|
173
206
|
};
|
|
174
207
|
export type FormSchemaField = {
|
|
175
208
|
id: string;
|
|
@@ -184,8 +217,20 @@ export type FormSchemaField = {
|
|
|
184
217
|
columns?: number;
|
|
185
218
|
};
|
|
186
219
|
export type FormSchema = Record<string, FormSchemaField>;
|
|
220
|
+
export type DrawingStats = {
|
|
221
|
+
overlay: boolean;
|
|
222
|
+
geolocated: boolean;
|
|
223
|
+
isCalibrated: boolean;
|
|
224
|
+
walks: number;
|
|
225
|
+
markers: number;
|
|
226
|
+
minimodel: number;
|
|
227
|
+
bim: number;
|
|
228
|
+
comments: number;
|
|
229
|
+
lastCapturedDate: string | null;
|
|
230
|
+
};
|
|
187
231
|
export interface ScrollListener {
|
|
188
232
|
element: Element | Window;
|
|
233
|
+
event: "scroll" | "resize";
|
|
189
234
|
handler: () => void;
|
|
190
235
|
}
|
|
191
236
|
export interface LeaderLineInstance {
|
|
@@ -199,24 +244,19 @@ export type SnapshotCardItem = {
|
|
|
199
244
|
placeholderThumbnailUrl?: string;
|
|
200
245
|
fallbackThumbnailUrl?: string;
|
|
201
246
|
};
|
|
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
247
|
export type HighchartsSeriesWithData<T extends number = number> = SeriesOptionsType & {
|
|
211
248
|
data: T[];
|
|
212
249
|
};
|
|
250
|
+
export type NotificationTitleSegment = {
|
|
251
|
+
text: string;
|
|
252
|
+
isBold?: boolean;
|
|
253
|
+
};
|
|
213
254
|
export type FormattedNotificationData = {
|
|
214
255
|
title: string;
|
|
256
|
+
titleSegments?: NotificationTitleSegment[];
|
|
215
257
|
link: string;
|
|
216
258
|
thumbnail?: string;
|
|
217
|
-
icon
|
|
218
|
-
drone?: boolean;
|
|
219
|
-
is360?: boolean;
|
|
259
|
+
icon: string;
|
|
220
260
|
};
|
|
221
261
|
export type FormattedNotification = FormattedNotificationData & {
|
|
222
262
|
date: string;
|
|
@@ -245,6 +285,20 @@ export type AutodeskUploadFormData = {
|
|
|
245
285
|
project: AutodeskProject | null;
|
|
246
286
|
folder: AutodeskFolder | null;
|
|
247
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
|
+
};
|
|
248
302
|
export interface MediaHubFilters {
|
|
249
303
|
title: string;
|
|
250
304
|
requesterEmail: string | undefined;
|
|
@@ -265,6 +319,58 @@ export type TableHeaderParams<TItem = unknown> = {
|
|
|
265
319
|
align?: string;
|
|
266
320
|
sortable?: boolean;
|
|
267
321
|
visible?: boolean;
|
|
268
|
-
width?: number;
|
|
322
|
+
width?: number | string;
|
|
323
|
+
copyable?: boolean;
|
|
269
324
|
toStringFn?: (item: TItem, key: string) => any;
|
|
325
|
+
sort?: (a: unknown, b: unknown) => number;
|
|
326
|
+
};
|
|
327
|
+
export type BimUploadObject = IngestUploadInitResponse & {
|
|
328
|
+
projectName: string;
|
|
329
|
+
};
|
|
330
|
+
export type BimUploadFileResult = {
|
|
331
|
+
url: string;
|
|
332
|
+
title: string;
|
|
333
|
+
fileExtension: string;
|
|
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
|
+
};
|
|
371
|
+
export type DrawingSelection = {
|
|
372
|
+
pageNumber: number;
|
|
373
|
+
size: number;
|
|
374
|
+
thumbnail: string | null;
|
|
375
|
+
pageCount: number;
|
|
270
376
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum CustomDataTableFilterType {
|
|
2
|
+
Select = "SelectSearchFilter",
|
|
3
|
+
Text = "TextFieldSearchFilter"
|
|
4
|
+
}
|
|
5
|
+
export interface CustomDataTableFilterField<T = unknown> {
|
|
6
|
+
component: CustomDataTableFilterType;
|
|
7
|
+
attributes?: Record<string, unknown>;
|
|
8
|
+
customFilter?: (item: T, fieldName: string, search: unknown) => boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CustomDataTableFilterFields<T = unknown> = Record<string, CustomDataTableFilterField<T>>;
|
|
@@ -13,7 +13,7 @@ export type EventMarker<T extends {}> = T & {
|
|
|
13
13
|
label: string;
|
|
14
14
|
thumbnailUrl: string;
|
|
15
15
|
isActive: boolean;
|
|
16
|
-
|
|
16
|
+
markerType?: RecordingsMarker;
|
|
17
17
|
};
|
|
18
18
|
export type SnapshotEvent<T extends {}> = T & {
|
|
19
19
|
eventTime: Timestamp;
|
|
@@ -22,6 +22,13 @@ export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
|
|
|
22
22
|
frameIndex: number;
|
|
23
23
|
snapshotTimestamp: Timestamp;
|
|
24
24
|
};
|
|
25
|
+
export declare enum RecordingsMarker {
|
|
26
|
+
Comment = "comment",
|
|
27
|
+
GateReport = "gate-report",
|
|
28
|
+
Anpr = "anpr",
|
|
29
|
+
Detection = "detection",
|
|
30
|
+
SmartSearch = "smart-search"
|
|
31
|
+
}
|
|
25
32
|
export declare enum ImageQuality {
|
|
26
33
|
ThreeSixty = "360",
|
|
27
34
|
FourEighty = "480",
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
};
|
|
22
|
+
export type ObservationTypeOption = {
|
|
23
|
+
value: string;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { ProjectMember, ProjectInvite, ProjectResourceRole } from "@evercam/api/types";
|
|
2
|
+
export type HasRoleChangedFn<T = ProjectMember | ProjectInvite> = (entity: T, baseRole: ProjectResourceRole) => boolean;
|
|
3
|
+
export type ProjectRoleData = {
|
|
4
|
+
id?: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
permissions: string[];
|
|
8
|
+
subRoles?: Array<{
|
|
9
|
+
resourceId: string;
|
|
10
|
+
roleId: number | null;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
export type ProjectResourcePermission = {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
requires?: string;
|
|
18
|
+
};
|
|
19
|
+
export type ProjectResource = {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
permissions: ProjectResourcePermission[];
|
|
23
|
+
};
|
|
24
|
+
export type ProjectPermissionWarning = {
|
|
25
|
+
resourceId: string;
|
|
26
|
+
message: string;
|
|
27
|
+
type?: string;
|
|
28
|
+
cameraExids?: string[];
|
|
29
|
+
accessLevel?: string;
|
|
30
|
+
grantAllPermissions?: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type ProjectDisabledPermission = {
|
|
33
|
+
id: string;
|
|
34
|
+
reason: string;
|
|
35
|
+
};
|
|
36
|
+
export type CameraAccessFilters = {
|
|
37
|
+
memberName: string;
|
|
38
|
+
memberEmail: string;
|
|
39
|
+
cameraName: string;
|
|
40
|
+
};
|
|
41
|
+
export type CameraAccessLevelConfig = {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
permissions: string[];
|
|
46
|
+
};
|
|
47
|
+
export declare enum CameraStatusGroup {
|
|
48
|
+
Active = "active",
|
|
49
|
+
Pending = "pending",
|
|
50
|
+
Archived = "archived"
|
|
51
|
+
}
|
|
52
|
+
export type CameraStatusGroupConfig = {
|
|
53
|
+
text: string;
|
|
54
|
+
icon: string;
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
export type CameraFeatureIconConfig = {
|
|
58
|
+
icon: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
};
|
|
61
|
+
export type RecipientRule = {
|
|
62
|
+
blocked: string[];
|
|
63
|
+
};
|
|
64
|
+
export type RecipientRules = {
|
|
65
|
+
notExistingRecipients?: RecipientRule;
|
|
66
|
+
notPendingInviteRecipients?: RecipientRule;
|
|
67
|
+
};
|
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-bc621a120",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"readme": "README.md",
|
|
30
30
|
"scripts": {
|
|
31
|
+
"preinstall": "node ../shared/ci-scripts/check-bootstrap.js",
|
|
32
|
+
"bootstrap": "node ../shared/ci-scripts/bootstrap.js",
|
|
31
33
|
"clean": "rimraf dist",
|
|
32
34
|
"typecheck": "tsc --noEmit",
|
|
33
35
|
"build:types": "tsc --declaration --emitDeclarationOnly",
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
39
|
},
|
|
38
40
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^25.
|
|
41
|
+
"@types/node": "^25.9.1",
|
|
40
42
|
"vite": "latest",
|
|
41
43
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
44
|
"vite-plugin-dts": "^4.5.4"
|
|
@@ -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
|
-
};
|