@evercam/api 1.0.0-ea5c7d976 → 1.0.0-ee9739480

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.
@@ -8,7 +8,7 @@ export type AconexUserProjectsResponsePayload = Array<{
8
8
  export type AconexDocumentSchemaField = {
9
9
  dataType: AconexDocumentDataType;
10
10
  identifier: string;
11
- schemaValues: Array<{
11
+ schemaValues?: Array<{
12
12
  id: string;
13
13
  value: string;
14
14
  }>;
@@ -1,10 +1,3 @@
1
- import { DateType } from "@/types";
2
- export type AnalyticsRequestPayload = {
3
- name: string;
4
- cameraExid: string;
5
- } & {
6
- [key: string]: any;
7
- };
8
1
  export declare enum AnalyticsEventPageId {
9
2
  Timeline = "Timeline",
10
3
  Copilot = "Copilot",
@@ -17,6 +10,7 @@ export declare enum AnalyticsEventPageId {
17
10
  Project = "Project",
18
11
  AllProjects = "AllProjects",
19
12
  Tutorials = "Tutorials",
13
+ SystemCheck = "SystemCheck",
20
14
  ProjectMapView = "ProjectMapView",
21
15
  AccountMapView = "AccountMapView",
22
16
  Automations = "Automations",
@@ -26,9 +20,9 @@ export declare enum AnalyticsEventPageId {
26
20
  ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings",
27
21
  ProjectSettingsMembers = "ProjectSettings-Members",
28
22
  ProjectSettingsOverview = "ProjectSettings-Overview",
23
+ ProjectSettingsDangerZone = "ProjectSettings-DangerZone",
29
24
  Settings = "Settings",
30
25
  SettingsAccount = "Settings-Account",
31
- SettingsActivities = "Settings-Activities",
32
26
  SettingsConnectors = "Settings-Connectors",
33
27
  MediaHub = "MediaHub",
34
28
  MediaOveriew = "MediaOveriew",
@@ -63,14 +57,13 @@ export declare enum AnalyticsEvent {
63
57
  Comment = "Comment-Toggle",
64
58
  Compare = "Compare-Toggle",
65
59
  Copilot = "Copilot-Toggle",
60
+ DownloadMediaOpen = "DownloadMedia-Open",
66
61
  SettingsAccountUpdatePassword = "UpdatePassword",
67
62
  SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
68
63
  SettingsAccountRevokeSession = "RevokeSession",
69
64
  SettingsAccountCancelRevokeSession = "CancelRevokeSession",
70
65
  SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
71
66
  SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
72
- SettingsActivitiesFromDateSelect = "FromDateSelect",
73
- SettingsActivitiesToDateSelect = "ToDateSelect",
74
67
  SettingsConnectorsConnectToProcore = "ConnectToProcore",
75
68
  SettingsConnectorsConnectToAconex = "ConnectToAconex",
76
69
  SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk",
@@ -268,11 +261,11 @@ export declare enum AnalyticsEvent {
268
261
  ThreeSixtyChangeFloor = "ChangeFloor",
269
262
  ThreeSixtyCloseCompare = "CloseCompare",
270
263
  ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
271
- ThreeSixtyDeleteTag = "DeleteTag",
264
+ ThreeSixtyDeleteComment = "DeleteComment",
272
265
  ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
273
- ThreeSixtyDisableTagTool = "DisableTagTool",
266
+ ThreeSixtyDisableCommnetTool = "DisableCommentTool",
274
267
  ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
275
- ThreeSixtyEnableTagTool = "EnableTagTool",
268
+ ThreeSixtyEnableCommentTool = "EnableCommentTool",
276
269
  ThreeSixtyLockCompare = "LockCompare",
277
270
  ThreeSixtyLockForgeBIM = "LockForgeBIM",
278
271
  ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
@@ -281,14 +274,16 @@ export declare enum AnalyticsEvent {
281
274
  ThreeSixtyOpenCompare = "OpenCompare",
282
275
  ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
283
276
  ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
284
- ThreeSixtyOpenTagsList = "OpenTagsList",
285
- ThreeSixtySaveTag = "SaveTag",
277
+ ThreeSixtyOpenCommentsList = "OpenCommentsList",
278
+ ThreeSixtySaveComment = "SaveComment",
279
+ ThreeSixtyUnarchiveComment = "UnarchiveComment",
280
+ ThreeSixtyArchiveComment = "ArchiveComment",
286
281
  ThreeSixtyShareView = "ShareView",
287
- ThreeSixtyTagClicked = "TagClicked",
282
+ ThreeSixtyCommentClicked = "CommentClicked",
288
283
  ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
289
284
  ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
290
285
  ThreeSixtyToggleMiniModel = "ToggleMiniModel",
291
- ThreeSixtyToggleTagsVisibility = "ToggleTagsVisibility",
286
+ ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
292
287
  ThreeSixtyTourPause = "Tour-Pause",
293
288
  ThreeSixtyTourPlay = "Tour-Play",
294
289
  ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
@@ -455,26 +450,6 @@ export declare enum AnalyticsEvent {
455
450
  HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
456
451
  HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
457
452
  HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
458
- HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
453
+ HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
454
+ HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink"
459
455
  }
460
- export type ProjectPAStatsRequestPayload = {
461
- period: "day" | "week" | "month";
462
- startDate?: string;
463
- endDate?: string;
464
- };
465
- export type ProjectPAStatsResponsePayload = {
466
- period: DateType;
467
- name: string;
468
- count: number | string;
469
- };
470
- export type ActiveUsersStatsRequestPayload = {
471
- companyId: number;
472
- from: string;
473
- to: string;
474
- };
475
- export type ActiveUserStat = {
476
- date: string;
477
- dau: number;
478
- wau: number;
479
- mau: number;
480
- };
@@ -61,6 +61,7 @@ export type AnprEvent = {
61
61
  anprVehicleColor?: string;
62
62
  anprVehicleSpeed?: number;
63
63
  anprSnapshotLink: string;
64
+ contextSnapshotLink: string;
64
65
  mainSnapshotLink: string;
65
66
  contextCamera: string;
66
67
  votedVehicleType: GateReportVehicleType | string;
@@ -82,6 +82,7 @@ export type Camera = {
82
82
  timezone: string;
83
83
  updatedAt: DateTime_Z_micros;
84
84
  vendorName: string;
85
+ isAccessRestricted?: boolean;
85
86
  };
86
87
  export type AdminCamera = {
87
88
  cameraHost: string;
@@ -177,6 +178,8 @@ export declare enum CameraStatus {
177
178
  export declare enum CameraFeatureFlag {
178
179
  EdgeVideo = "edge_video",
179
180
  BimCompare = "bim_compare",
181
+ TwoDBimCompare = "2d_bim_compare",
182
+ ForgeBIMCompare = "forge_bim_compare",
180
183
  GateReport = "gate_report",
181
184
  VideoStream = "video_stream",
182
185
  WebRTC = "webrtc",
@@ -229,6 +232,7 @@ export type CameraUpdateRequestPayload = {
229
232
  fovAngle?: number;
230
233
  fovRadius?: number;
231
234
  featureFlags: CameraFeatureFlag[];
235
+ isAccessRestricted?: boolean;
232
236
  };
233
237
  export type CamerasResponsePayload = {
234
238
  cameras?: Camera[];
@@ -322,56 +326,6 @@ export type Hdd = {
322
326
  errorStatus: string;
323
327
  canExpand: boolean;
324
328
  };
325
- export declare enum ResolutionDimensions {
326
- QVGA = "320x240",
327
- VGA = "640x480",
328
- SVGA = "800x600",
329
- XGA = "1024x768",
330
- HD = "1280x720",
331
- WXGA = "1280x800",
332
- HDPlus = "1366x768",
333
- WXGAPlus = "1440x900",
334
- HDPlusPlus = "1600x900",
335
- UXGA = "1600x1200",
336
- FullHD = "1920x1080",
337
- WUXGA = "1920x1200",
338
- TwoK = "2048x1080",
339
- QHD = "2560x1440",
340
- WQXGA = "2560x1600",
341
- FourK = "3840x2160",
342
- FourKCinema = "4096x2160",
343
- FiveK = "5120x2880",
344
- EightK = "7680x4320",
345
- WHUXGA = "7680x4800"
346
- }
347
- export declare enum ResolutionLabel {
348
- QVGA = "QVGA",
349
- VGA = "VGA",
350
- SVGA = "SVGA",
351
- XGA = "XGA",
352
- HD = "HD",
353
- WXGA = "WXGA",
354
- HDPlus = "HD+",
355
- WXGAPlus = "WXGA++",
356
- HDPlusPlus = "HD++",
357
- UXGA = "UXGA",
358
- FullHD = "FullHD",
359
- WUXGA = "WUXGA",
360
- TwoK = "2K",
361
- QHD = "QHD",
362
- WQXGA = "WQXGA",
363
- FourK = "4K",
364
- FourKCinema = "4KCinema",
365
- FiveK = "5K",
366
- EightK = "8K",
367
- WHUXGA = "WHUXGA"
368
- }
369
- export type ResolutionInfo = {
370
- ratioString: string;
371
- ratioFloat: number;
372
- resolutionDimensions: ResolutionDimensions;
373
- resolutionLabel: ResolutionLabel;
374
- };
375
329
  export type CameraPath = {
376
330
  projectExid: ProjectExid;
377
331
  cameraExid: CameraExid;
@@ -1,15 +1,16 @@
1
1
  import { CameraExid, DateType, ProjectExid } from "@/types";
2
+ export declare enum CommentsScope {
3
+ Recordings = "recordings",
4
+ ThreeSixty = "360"
5
+ }
2
6
  export type CommentsRequestPayload = {
3
7
  cameraExid: CameraExid;
4
8
  fromDate: string;
5
9
  toDate: string;
10
+ scope: CommentsScope;
6
11
  page?: number;
7
12
  limit?: number;
8
13
  };
9
- export type CommentPosition = {
10
- coordinates: Array<number>;
11
- type: string;
12
- };
13
14
  export type Comment = {
14
15
  fromDate?: string;
15
16
  toDate?: string;
@@ -22,15 +23,21 @@ export type Comment = {
22
23
  createdAt?: string;
23
24
  creatorEmail?: string;
24
25
  creatorName?: string;
25
- position2d: CommentPosition;
26
+ position2d?: [number, number];
27
+ position3d?: [number, number, number];
28
+ context?: Record<string, unknown>;
26
29
  canDelete?: boolean;
30
+ archivedAt?: string;
27
31
  };
28
32
  export type CommentCreationRequestPayload = {
29
33
  fromDate?: DateType;
30
34
  toDate?: DateType;
31
- timestamp: DateType;
35
+ timestamp?: DateType;
36
+ scope?: CommentsScope;
32
37
  projectExid: ProjectExid;
33
- cameraExid: CameraExid;
38
+ cameraExid?: CameraExid;
34
39
  content: string;
35
- position2d: Array<number>;
40
+ position2d?: [number, number];
41
+ position3d?: [number, number, number];
42
+ context?: Record<string, unknown>;
36
43
  };
@@ -7,7 +7,12 @@ export declare enum Connector {
7
7
  Procore = "procore",
8
8
  Autodesk = "autodesk",
9
9
  AutodeskViewer = "autodesk_viewer",
10
- VoyageControl = "voyage_control"
10
+ VoyageControl = "voyage_control",
11
+ XWeather = "xweather"
12
+ }
13
+ export declare enum ProcoreType {
14
+ Observations = "observations",
15
+ Photos = "photos"
11
16
  }
12
17
  export type ConnectorResponsePayload = Array<{
13
18
  hostname: string;
@@ -1,11 +1,17 @@
1
- import { type BoundingBox, type CameraExid, type DateType, DetectionLabel, SegmentLabel, type TimelineDateInterval, TimelinePrecision } from "@/types";
2
- export type DetectionsFilters = {
3
- cameraExid: CameraExid;
1
+ import { type BoundingBox, type ProjectExid, type CameraExid, type DateType, DetectionLabel, SegmentLabel, type TimelineDateInterval, TimelinePrecision } from "@/types";
2
+ export type BaseDetectionsFilters = {
4
3
  fromDate: string | Date;
5
4
  toDate: string | Date;
6
5
  labels: DetectionLabel | DetectionLabel[];
7
6
  trackId?: number;
8
7
  };
8
+ export type DetectionsFilters = BaseDetectionsFilters & {
9
+ projectExid: ProjectExid;
10
+ cameraExids?: CameraExid[];
11
+ };
12
+ export type SegmentsFilters = BaseDetectionsFilters & {
13
+ cameraExid: CameraExid;
14
+ };
9
15
  export type BBox = number[];
10
16
  export type SelectedObjectPath = {
11
17
  label: string;
@@ -55,14 +61,20 @@ export type SegmentsSimilaritySearchParams = {
55
61
  fromDate: string;
56
62
  toDate: string;
57
63
  };
58
- export type CountsParams = {
59
- cameraExid: CameraExid;
64
+ export type BaseCountsParams = {
60
65
  fromDate: string | Date;
61
66
  toDate: string | Date;
62
67
  precision: keyof typeof TimelinePrecision;
63
68
  trackId: number;
64
69
  labels: DetectionLabel | DetectionLabel[];
65
70
  };
71
+ export type DetectionsCountsParams = BaseCountsParams & {
72
+ projectExid: ProjectExid;
73
+ cameraExids?: CameraExid[];
74
+ };
75
+ export type SegmentsCountsParams = BaseCountsParams & {
76
+ cameraExid: CameraExid;
77
+ };
66
78
  export type CountByPeriod = {
67
79
  date: string | Date;
68
80
  counts: Record<string, number>;
@@ -9,7 +9,6 @@ export * from "./camera";
9
9
  export * from "./compare";
10
10
  export * from "./copilot";
11
11
  export * from "./credentials";
12
- export * from "./devices";
13
12
  export * from "./drone";
14
13
  export * from "./errors";
15
14
  export * from "./gateReport";
@@ -28,6 +27,7 @@ export * from "./routeParams";
28
27
  export * from "./router";
29
28
  export * from "./shares";
30
29
  export * from "./sim";
30
+ export * from "./systemCheck";
31
31
  export * from "./planner";
32
32
  export * from "./storageServers";
33
33
  export * from "./streaming";
@@ -52,3 +52,4 @@ export * from "./countries";
52
52
  export * from "./automation";
53
53
  export * from "./coolify";
54
54
  export * from "./tag";
55
+ export * from "./xweather";
@@ -1,4 +1,4 @@
1
- import { CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule, Tag } from "@/types";
1
+ import { CountryCode, CountryId, DateTime, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule, Tag } from "@/types";
2
2
  export type Kit = {
3
3
  alarms: KitAlarm[];
4
4
  countryCode: CountryCode;
@@ -32,11 +32,14 @@ export declare enum KitAlarm {
32
32
  FullSD = "full_sd",
33
33
  FullStorage = "full_storage",
34
34
  HddUnmounted = "hdd_unmounted",
35
- NoHdd = "no_hdd"
35
+ NoHdd = "no_hdd",
36
+ MissingRouterInfo = "missing_router_info",
37
+ PowerLost = "ac_failure",
38
+ UpsLowBattery = "low_battery"
36
39
  }
37
40
  export declare enum KitMetricId {
38
- BatteryStats = "battery",
39
- PanelPowerStats = "panel_power"
41
+ SolarCharger = "solar_charger",
42
+ PanelPower = "panel_power"
40
43
  }
41
44
  export declare enum KitMetricPeriod {
42
45
  Last15Minutes = "now-15m",
@@ -299,3 +302,27 @@ export type KitUpdatePayload = {
299
302
  kitStatus: KitStatus;
300
303
  type: string;
301
304
  };
305
+ export declare enum KitStorageTransport {
306
+ Sata = "sata",
307
+ Nvme = "nvme",
308
+ Usb = "usb"
309
+ }
310
+ export type KitStorageRequestPayload = {
311
+ kitId: number;
312
+ };
313
+ export type KitStorageResponsePayload = {
314
+ id: number;
315
+ serial: string;
316
+ status: string;
317
+ type: string;
318
+ metadata: {
319
+ formFactor: string;
320
+ };
321
+ model: string;
322
+ insertedAt: DateTime;
323
+ updatedAt: DateTime;
324
+ vendor: string;
325
+ kitId: number;
326
+ capacity: number;
327
+ tran: KitStorageTransport;
328
+ };
@@ -3,9 +3,47 @@ export type ProcoreUserCompaniesResponsePayload = Array<{
3
3
  isActive?: boolean;
4
4
  name: string;
5
5
  }>;
6
- export type ProcoreUserProjectRequestPayload = {
6
+ export type ProcoreCompanyRequestPayload = {
7
7
  companyId: number;
8
8
  };
9
+ export type ProcoreProjectRequestPayload = {
10
+ companyId: number;
11
+ projectId: number;
12
+ };
13
+ export type ProcoreObservationListItem = {
14
+ id: number;
15
+ name: string;
16
+ };
17
+ export type ProcoreObservationDefaultList = Array<ProcoreObservationListItem & {
18
+ active: boolean;
19
+ global: boolean;
20
+ createdAt: string;
21
+ updatedAt: string;
22
+ }>;
23
+ export type ProcoreObservationAssignee = ProcoreObservationListItem & {
24
+ vendor: ProcoreObservationListItem;
25
+ };
26
+ export type ProcoreObservationDistributionMember = ProcoreObservationListItem & {
27
+ login: string;
28
+ };
29
+ export type ProcoreObservationTrades = ProcoreObservationListItem & {
30
+ active: boolean;
31
+ updatedAt: string;
32
+ };
33
+ export type ProcoreObservationLocation = ProcoreObservationListItem & {
34
+ nodeName: string;
35
+ parentId: number;
36
+ createdAt: string;
37
+ updatedAt: string;
38
+ code: string;
39
+ };
40
+ export type ProcoreObservationSpecificationSection = {
41
+ id: number;
42
+ number: string;
43
+ description: string;
44
+ label: string;
45
+ currentRevisionId: number;
46
+ };
9
47
  export type ProcoreUserProjectsResponsePayload = Array<{
10
48
  accountingProjectNumber?: number;
11
49
  active: boolean;
@@ -48,6 +86,33 @@ export type ProcoreUserProjectsResponsePayload = Array<{
48
86
  updatedAt: string;
49
87
  zip: number;
50
88
  }>;
89
+ export type ProcoreToolUserAccessLevel = {
90
+ id: ProcoreToolUserAccessLevelIds;
91
+ name: string;
92
+ };
93
+ export type ProcoreToolPermittedAction = {
94
+ id: number;
95
+ actionName: string;
96
+ label: string;
97
+ toolName: string;
98
+ };
99
+ export type ProcoreToolPermissions = {
100
+ id: number;
101
+ name: string;
102
+ friendlyName: string;
103
+ domainId: number;
104
+ tabGroup: string;
105
+ availableForUser: boolean;
106
+ url: string;
107
+ userAccessLevel: ProcoreToolUserAccessLevel;
108
+ permittedActions: Array<ProcoreToolPermittedAction>;
109
+ createUrl: string;
110
+ canCreate: boolean;
111
+ trial: boolean;
112
+ };
113
+ export type ProcoreUserProjectPermissionsResponsePayload = {
114
+ tools: Array<ProcoreToolPermissions>;
115
+ };
51
116
  export type ProcoreEditedImageUploadRequestPayload = {
52
117
  projectExid: string;
53
118
  companyId: number;
@@ -70,7 +135,85 @@ export type ProcoreProjectsAlbumsPayload = Array<{
70
135
  private: boolean;
71
136
  updatedAt: string;
72
137
  }>;
73
- export type ProcoreProjectsAlbumsRequestPayload = {
74
- companyId: number;
138
+ export type ProcoreObservationTypesResponsePayload = Array<{
139
+ id: number;
140
+ name: string;
141
+ localizedName: string;
142
+ category: string;
143
+ categoryKey: string;
144
+ companyActive: boolean;
145
+ active: boolean;
146
+ kind: string;
147
+ parentInactive: boolean;
148
+ isUse: boolean;
149
+ nameTranslations: string;
150
+ }>;
151
+ export type ProcoreObservationFormRequestPayload = {
75
152
  projectId: number;
153
+ companyId: number;
154
+ observationType: string;
155
+ };
156
+ export type ProcoreObservationForm = Record<string, ProcoreObservationField | ProcoreObservationCustomField>;
157
+ export type ProcoreObservationField = {
158
+ name: string;
159
+ required: boolean;
160
+ visible: boolean;
161
+ };
162
+ export type ProcoreObservationCustomField = {
163
+ id: number;
164
+ required: boolean;
165
+ visible: boolean;
166
+ name: string;
167
+ label: string;
168
+ description: string;
169
+ customFieldDefinitionId: number;
170
+ dataType: ProcoreObservationCustomFieldDataType;
171
+ variant: string;
172
+ position: number;
173
+ row: number;
174
+ column: number;
175
+ columnWidth: number;
176
+ optionsUrl: string | null;
177
+ defaultValue: string | null;
76
178
  };
179
+ export declare enum ProcoreObservationCustomFieldDataType {
180
+ RichText = "rich_text",
181
+ Date = "date",
182
+ DateTime = "datetime",
183
+ LovEnty = "lov_entry",
184
+ LovEntries = "lov_entries",
185
+ Boolean = "boolean",
186
+ Vendor = "vendor",
187
+ Decimal = "decimal",
188
+ String = "string",
189
+ LoginInformation = "login_information",
190
+ LoginInformations = "login_informations",
191
+ Dropdown = "dropdown"
192
+ }
193
+ export declare enum ProcoreObservationDefaultFieldNames {
194
+ Number = "number",
195
+ Name = "name",
196
+ Status = "status",
197
+ Trade = "trade_id",
198
+ Assignee = "assignee_id",
199
+ DueDate = "due_date",
200
+ SpecificationSection = "specification_section_id",
201
+ Priority = "priority",
202
+ Location = "location_id",
203
+ DistributionMembers = "distribution_member_ids",
204
+ Personal = "personal",
205
+ Hazard = "hazard_id",
206
+ ContributingBehavior = "contributing_behavior_id",
207
+ ContributingCondition = "contributing_condition_id",
208
+ Description = "description"
209
+ }
210
+ export declare enum ProcoreTools {
211
+ Observations = "observations",
212
+ ProgressPhotos = "images"
213
+ }
214
+ export declare enum ProcoreToolUserAccessLevelIds {
215
+ NoAccess = 1,
216
+ ReadOnly = 2,
217
+ Standard = 3,
218
+ Admin = 4
219
+ }
@@ -15,6 +15,9 @@ export type Project = {
15
15
  owner?: {
16
16
  email?: string;
17
17
  };
18
+ ownerEmail?: string;
19
+ ownerName?: string;
20
+ camerasRestrictionType?: string;
18
21
  };
19
22
  export declare enum ProjectStatus {
20
23
  ToStart = "To Start",
@@ -31,6 +34,9 @@ export declare enum ProjectArchiveTier {
31
34
  export type ProjectResponsePayload = {
32
35
  data?: Project[];
33
36
  };
37
+ export type UpdateCameraRestrictionPayload = {
38
+ isAccessRestricted?: boolean;
39
+ };
34
40
  export type Logo = {
35
41
  name: string;
36
42
  url: string;
@@ -51,7 +57,8 @@ export declare enum ProjectFeatureFlag {
51
57
  MediaHubSharing = "archives_sharing",
52
58
  GateReportAnprBased = "anpr_sourced",
53
59
  NoLicensePlate = "no_license_plate",
54
- DefaultToProjectApp = "default_to_project_app"
60
+ DefaultToProjectApp = "default_to_project_app",
61
+ SmartSearch = "smart_search"
55
62
  }
56
63
  export type ProjectBatteryReading = {
57
64
  exid: number;
@@ -9,7 +9,8 @@ export declare enum RoiShapeType {
9
9
  Polygon = "polygon",
10
10
  Line = "line",
11
11
  Direction = "direction",
12
- Rectangle = "rectangle"
12
+ Rectangle = "rectangle",
13
+ ROIBox = "ROIBox"
13
14
  }
14
15
  export type RoiShape = {
15
16
  id: number | null;
@@ -22,6 +22,7 @@ export type Share = {
22
22
  sharerId: number;
23
23
  sharerName: string;
24
24
  userId: number;
25
+ isUserAccessRestricted: boolean;
25
26
  };
26
27
  export type ShareRequestsResponsePayload = {
27
28
  shareRequests: ShareRequest[];
@@ -60,6 +61,10 @@ export type ShareProjectCamerasRequestPayload = {
60
61
  permission?: string;
61
62
  rights: string;
62
63
  };
64
+ export type UpdateUserRestrictionPayload = {
65
+ email: string[];
66
+ isUserAccessRestricted: boolean;
67
+ };
63
68
  export type ShareCreateResponsePayload = {
64
69
  shares: Share[];
65
70
  shareRequests: ShareRequest[];
@@ -92,7 +97,6 @@ export declare enum ShareType {
92
97
  Request = "request"
93
98
  }
94
99
  export declare enum ShareRequestStatus {
95
- All = "",
96
100
  Pending = -1,
97
101
  Cancelled = -2,
98
102
  Failed = -3,