@evercam/api 1.0.0-45ea32a9b → 1.0.0-4656f3be4

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.
Files changed (96) hide show
  1. package/README.md +4 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +203 -5
  3. package/dist/api/api/adminApi.d.ts +141 -94
  4. package/dist/api/api/aiApi.d.ts +190 -82
  5. package/dist/api/api/authzApi.d.ts +34 -15
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +152 -102
  9. package/dist/api/api/evercamLabsApi.d.ts +9 -7
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +127 -33
  12. package/dist/api/api/ptzApi.d.ts +12 -3
  13. package/dist/api/api/videoWallApi.d.ts +7 -7
  14. package/dist/api/api/weatherApi.d.ts +2 -2
  15. package/dist/api/types/360.d.ts +294 -23
  16. package/dist/api/types/aconex.d.ts +104 -6
  17. package/dist/api/types/admin.d.ts +51 -0
  18. package/dist/api/types/aiConfigs.d.ts +244 -0
  19. package/dist/api/types/analytics.d.ts +177 -51
  20. package/dist/api/types/anpr.d.ts +53 -13
  21. package/dist/api/types/auditLogs.d.ts +19 -1
  22. package/dist/api/types/authz.d.ts +132 -0
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +105 -1
  25. package/dist/api/types/axios.d.ts +21 -14
  26. package/dist/api/types/bim.d.ts +38 -9
  27. package/dist/api/types/camera.d.ts +111 -99
  28. package/dist/api/types/comments.d.ts +26 -11
  29. package/dist/api/types/company.d.ts +43 -2
  30. package/dist/api/types/compare.d.ts +20 -5
  31. package/dist/api/types/connector.d.ts +5 -5
  32. package/dist/api/types/coolify.d.ts +20 -2
  33. package/dist/api/types/copilot.d.ts +11 -9
  34. package/dist/api/types/credentials.d.ts +1 -0
  35. package/dist/api/types/detections.d.ts +23 -33
  36. package/dist/api/types/drone.d.ts +95 -6
  37. package/dist/api/types/errors.d.ts +14 -1
  38. package/dist/api/types/gateReport.d.ts +49 -168
  39. package/dist/api/types/gateReportManagement.d.ts +170 -0
  40. package/dist/api/types/hammertech.d.ts +98 -0
  41. package/dist/api/types/hdd.d.ts +26 -1
  42. package/dist/api/types/index.d.ts +17 -2
  43. package/dist/api/types/ingest.d.ts +191 -4
  44. package/dist/api/types/kit.d.ts +98 -57
  45. package/dist/api/types/map.d.ts +12 -0
  46. package/dist/api/types/media.d.ts +10 -3
  47. package/dist/api/types/notification.d.ts +72 -3
  48. package/dist/api/types/oauth.d.ts +62 -0
  49. package/dist/api/types/observationEvents.d.ts +141 -0
  50. package/dist/api/types/observations.d.ts +84 -0
  51. package/dist/api/types/planner.d.ts +102 -9
  52. package/dist/api/types/posthog.d.ts +35 -0
  53. package/dist/api/types/procore.d.ts +13 -6
  54. package/dist/api/types/progressPhoto.d.ts +6 -31
  55. package/dist/api/types/project.d.ts +144 -18
  56. package/dist/api/types/recording.d.ts +10 -15
  57. package/dist/api/types/recycleBin.d.ts +14 -0
  58. package/dist/api/types/ring.d.ts +53 -0
  59. package/dist/api/types/roi.d.ts +3 -11
  60. package/dist/api/types/routeParams.d.ts +3 -1
  61. package/dist/api/types/router.d.ts +20 -1
  62. package/dist/api/types/shared.d.ts +29 -27
  63. package/dist/api/types/shares.d.ts +6 -157
  64. package/dist/api/types/sim.d.ts +6 -6
  65. package/dist/api/types/siteAnalytics.d.ts +189 -46
  66. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  67. package/dist/api/types/siteView.d.ts +73 -0
  68. package/dist/api/types/smartSeach.d.ts +5 -0
  69. package/dist/api/types/snapshots.d.ts +55 -1
  70. package/dist/api/types/socket.d.ts +4 -0
  71. package/dist/api/types/sso.d.ts +55 -0
  72. package/dist/api/types/storageProvider.d.ts +19 -0
  73. package/dist/api/types/storyblok.d.ts +27 -0
  74. package/dist/api/types/streaming.d.ts +4 -5
  75. package/dist/api/types/tag.d.ts +1 -1
  76. package/dist/api/types/time.d.ts +4 -18
  77. package/dist/api/types/timelapse.d.ts +7 -11
  78. package/dist/api/types/user.d.ts +121 -35
  79. package/dist/api/types/videoWall.d.ts +47 -14
  80. package/dist/api/types/weather.d.ts +77 -11
  81. package/dist/api/types/widget.d.ts +96 -16
  82. package/dist/api/types/xweather.d.ts +4 -4
  83. package/dist/index.js +2623 -1084
  84. package/dist/index.js.map +1 -1
  85. package/dist/index.umd.cjs +1 -1
  86. package/dist/index.umd.cjs.map +1 -1
  87. package/dist/shared/types/components.d.ts +223 -35
  88. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  89. package/dist/shared/types/imagePlayer.d.ts +10 -3
  90. package/dist/shared/types/index.d.ts +3 -0
  91. package/dist/shared/types/observations.d.ts +25 -0
  92. package/dist/shared/types/rbac.d.ts +67 -0
  93. package/dist/shared/types/timeline.d.ts +2 -1
  94. package/package.json +6 -4
  95. package/dist/api/types/storageServers.d.ts +0 -4
  96. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -1,6 +1,64 @@
1
- import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, TaskStatus, Tag } 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";
2
3
  import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
3
4
  import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
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
+ }
58
+ export declare enum NavigationArrow {
59
+ Previous = "previous",
60
+ Next = "next"
61
+ }
4
62
  export declare enum WatermarkedImageDownloadOrigin {
5
63
  Drone = "drone",
6
64
  Bim = "BIM",
@@ -12,24 +70,6 @@ export declare enum PlayerMode {
12
70
  Video = "video",
13
71
  Jpegs = "jpegs"
14
72
  }
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
73
  export type TimelineProviderRequestParams = TimelineDateInterval & {
34
74
  precision?: TimelinePrecision;
35
75
  labels?: string[];
@@ -43,13 +83,6 @@ export type TimelinePlayerGroupConfig = {
43
83
  export type TimelinePlayerConfig = {
44
84
  [groupName: string]: TimelinePlayerGroupConfig;
45
85
  };
46
- export type TimelinePlayerTooltipItem = {
47
- label?: string;
48
- title?: string;
49
- thumbnailUrl: string;
50
- placeholderThumbnailUrl?: string;
51
- fallbackThumbnailUrl?: string;
52
- };
53
86
  export declare enum TimelineGroupId {
54
87
  ThreeSixty = "w360",
55
88
  Drone = "drone",
@@ -119,8 +152,8 @@ export type LeaderLineOptions = {
119
152
  startPlugSize?: number;
120
153
  endPlugSize?: number;
121
154
  path?: LeaderLinesPathType;
122
- startSocketGravity?: [number, number];
123
- endSocketGravity?: [number, number];
155
+ startSocketGravity?: TuplePoint2D;
156
+ endSocketGravity?: TuplePoint2D;
124
157
  dash?: {
125
158
  animation: boolean | {
126
159
  duration: number;
@@ -137,10 +170,6 @@ export type LineConfig = {
137
170
  end: CssSelector | CssSelector[];
138
171
  options?: LeaderLineOptions;
139
172
  };
140
- export type Point = {
141
- x: number;
142
- y: number;
143
- };
144
173
  export declare enum ZohoDeskTicketStatus {
145
174
  Closed = "Closed",
146
175
  OnHold = "On Hold",
@@ -151,13 +180,18 @@ export type TagSelectorItem = Tag & {
151
180
  };
152
181
  export declare enum FormSchemaComponents {
153
182
  SelectField = "SelectField",
183
+ HierarchicalSelect = "HierarchicalSelectField",
154
184
  MultiOption = "MultiOption",
155
185
  TextField = "TextField",
156
- CheckBox = "SwitchField",
157
- DateTime = "DatePickerInput",
186
+ SwitchField = "SwitchField",
187
+ CheckBox = "CheckBoxField",
188
+ Date = "DatePickerInput",
189
+ DateTime = "DateTimeField",
190
+ Time = "TimeField",
158
191
  TextArea = "Textarea",
159
192
  Search = "Autocomplete",
160
- ReadOnly = "ReadOnly"
193
+ ReadOnly = "ReadOnly",
194
+ Ratio = "RatioField"
161
195
  }
162
196
  export declare enum FormSchemaDataType {
163
197
  String = "string",
@@ -168,6 +202,7 @@ export declare enum FormSchemaDataType {
168
202
  export type FormSchemaOptions = {
169
203
  title: string;
170
204
  value: string;
205
+ parentId?: string | null;
171
206
  };
172
207
  export type FormSchemaField = {
173
208
  id: string;
@@ -182,11 +217,164 @@ export type FormSchemaField = {
182
217
  columns?: number;
183
218
  };
184
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
+ };
185
231
  export interface ScrollListener {
186
232
  element: Element | Window;
233
+ event: "scroll" | "resize";
187
234
  handler: () => void;
188
235
  }
189
236
  export interface LeaderLineInstance {
190
237
  remove(): void;
191
238
  position(): void;
192
239
  }
240
+ export type SnapshotCardItem = {
241
+ label?: string;
242
+ title?: string;
243
+ thumbnailUrl: string;
244
+ placeholderThumbnailUrl?: string;
245
+ fallbackThumbnailUrl?: string;
246
+ };
247
+ export type HighchartsSeriesWithData<T extends number = number> = SeriesOptionsType & {
248
+ data: T[];
249
+ };
250
+ export type NotificationTitleSegment = {
251
+ text: string;
252
+ isBold?: boolean;
253
+ };
254
+ export type FormattedNotificationData = {
255
+ title: string;
256
+ titleSegments?: NotificationTitleSegment[];
257
+ link: string;
258
+ thumbnail?: string;
259
+ icon: string;
260
+ };
261
+ export type FormattedNotification = FormattedNotificationData & {
262
+ date: string;
263
+ read: boolean;
264
+ id: number;
265
+ thumbnailError?: boolean;
266
+ };
267
+ export type ProcoreProjectStepData = {
268
+ project: ProcoreUserProject | null;
269
+ album: ProcoreProjectAlbum | null;
270
+ observationType: ProcoreObservationType | null;
271
+ };
272
+ export type ProcoreUploadFormData = {
273
+ procoreType: ProcoreType;
274
+ project: ProcoreUserProject | null;
275
+ album: ProcoreProjectAlbum | null;
276
+ observationType: ProcoreObservationType | null;
277
+ observationForm: Record<string, string | number | boolean | null>;
278
+ };
279
+ export type AconexUploadFormData = {
280
+ project: AconexUserProject | null;
281
+ form: Record<string, string | number | boolean | null>;
282
+ };
283
+ export type AutodeskUploadFormData = {
284
+ hub: AutodeskUserHub | null;
285
+ project: AutodeskProject | null;
286
+ folder: AutodeskFolder | null;
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
+ export interface MediaHubFilters {
303
+ title: string;
304
+ requesterEmail: string | undefined;
305
+ camera: string | undefined;
306
+ type: string;
307
+ fromDate: string;
308
+ toDate: string;
309
+ sortBy: string;
310
+ }
311
+ export interface MediaHubSortParameter {
312
+ label: string;
313
+ value: string;
314
+ }
315
+ export type TableHeaderParams<TItem = unknown> = {
316
+ value: string;
317
+ text: string;
318
+ align?: string;
319
+ sortable?: boolean;
320
+ visible?: boolean;
321
+ width?: number | string;
322
+ copyable?: boolean;
323
+ toStringFn?: (item: TItem, key: string) => any;
324
+ sort?: (a: unknown, b: unknown) => number;
325
+ };
326
+ export type BimUploadObject = IngestUploadInitResponse & {
327
+ projectName: string;
328
+ };
329
+ export type BimUploadFileResult = {
330
+ url: string;
331
+ title: string;
332
+ fileExtension: string;
333
+ };
334
+ export type CameraCardItem = {
335
+ thumbnail: string;
336
+ title: string;
337
+ exid: string;
338
+ status: CameraStatus;
339
+ disabled: boolean;
340
+ to: string;
341
+ isOffline: boolean;
342
+ isWaiting: boolean;
343
+ isUnderNda: boolean;
344
+ isAdmin: boolean;
345
+ batteryVoltage: number | null;
346
+ };
347
+ export type ThreeSixtyGalleryView = "drawings" | "walks";
348
+ export interface ThreeSixtyWalk {
349
+ id: string;
350
+ name: string;
351
+ date: string;
352
+ monthKey: string;
353
+ color: string;
354
+ dateId: string;
355
+ floorId: string;
356
+ commentCount: number;
357
+ hasBim: boolean;
358
+ hasMinimodel: boolean;
359
+ }
360
+ export interface ThreeSixtyWalkGroup {
361
+ date: string;
362
+ walks: ThreeSixtyWalk[];
363
+ }
364
+ export type DatePresetContext = {
365
+ minDate?: string;
366
+ maxDate: string;
367
+ effectiveMinDate?: string;
368
+ effectiveMaxDate: string;
369
+ };
370
+ export type DatePreset = {
371
+ name: string;
372
+ resolveRange?: (ctx: DatePresetContext) => [string, string];
373
+ isHide?: (ctx: DatePresetContext) => boolean;
374
+ };
375
+ export type DrawingSelection = {
376
+ pageNumber: number;
377
+ size: number;
378
+ thumbnail: string | null;
379
+ pageCount: number;
380
+ };
@@ -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>>;
@@ -1,4 +1,4 @@
1
- import type { Timestamp } from "@evercam/api/types";
1
+ import type { Timestamp } from "@evercam/shared/types";
2
2
  export interface Frame {
3
3
  label: string;
4
4
  src: string;
@@ -13,7 +13,7 @@ export type EventMarker<T extends {}> = T & {
13
13
  label: string;
14
14
  thumbnailUrl: string;
15
15
  isActive: boolean;
16
- cssClass?: Object | string;
16
+ markerType?: RecordingsMarker;
17
17
  };
18
18
  export type SnapshotEvent<T extends {}> = T & {
19
19
  eventTime: Timestamp;
@@ -22,8 +22,15 @@ 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
- ThureeSixty = "360",
33
+ ThreeSixty = "360",
27
34
  FourEighty = "480",
28
35
  SevenTwenty = "720",
29
36
  OneZeroEightZero = "1080",
@@ -1,4 +1,7 @@
1
1
  export * from "@evercam/api/types";
2
2
  export * from "./components";
3
+ export * from "./customDataTableFilters";
3
4
  export * from "./imagePlayer";
4
5
  export * from "./timeline";
6
+ export * from "./rbac";
7
+ export * from "./observations";
@@ -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
+ };
@@ -1,4 +1,4 @@
1
- import { TimelineGroupId, type TimelinePlayerGroupConfig } from "@evercam/shared/types/components";
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-45ea32a9b",
3
+ "version": "1.0.0-4656f3be4",
4
4
  "description": "Evercam API client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,10 +24,12 @@
24
24
  "dist"
25
25
  ],
26
26
  "engines": {
27
- "node": "20.x"
27
+ "node": ">=22"
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": "^24.3.1",
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"
@@ -47,4 +49,4 @@
47
49
  "idb-keyval": "^6.2.2",
48
50
  "moment-timezone": "^0.5.46"
49
51
  }
50
- }
52
+ }
@@ -1,4 +0,0 @@
1
- export type StorageServer = string;
2
- export type StorageServersResponsePayload = {
3
- servers: StorageServer[];
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
- };