@evercam/api 1.0.0-68a5f1f7b → 1.0.0-6ad33e216

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
  }>;
@@ -10,6 +10,7 @@ export declare enum AnalyticsEventPageId {
10
10
  Project = "Project",
11
11
  AllProjects = "AllProjects",
12
12
  Tutorials = "Tutorials",
13
+ SystemCheck = "SystemCheck",
13
14
  ProjectMapView = "ProjectMapView",
14
15
  AccountMapView = "AccountMapView",
15
16
  Automations = "Automations",
@@ -259,11 +260,11 @@ export declare enum AnalyticsEvent {
259
260
  ThreeSixtyChangeFloor = "ChangeFloor",
260
261
  ThreeSixtyCloseCompare = "CloseCompare",
261
262
  ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
262
- ThreeSixtyDeleteTag = "DeleteTag",
263
+ ThreeSixtyDeleteComment = "DeleteComment",
263
264
  ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
264
- ThreeSixtyDisableTagTool = "DisableTagTool",
265
+ ThreeSixtyDisableCommnetTool = "DisableCommentTool",
265
266
  ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
266
- ThreeSixtyEnableTagTool = "EnableTagTool",
267
+ ThreeSixtyEnableCommentTool = "EnableCommentTool",
267
268
  ThreeSixtyLockCompare = "LockCompare",
268
269
  ThreeSixtyLockForgeBIM = "LockForgeBIM",
269
270
  ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
@@ -272,14 +273,16 @@ export declare enum AnalyticsEvent {
272
273
  ThreeSixtyOpenCompare = "OpenCompare",
273
274
  ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
274
275
  ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
275
- ThreeSixtyOpenTagsList = "OpenTagsList",
276
- ThreeSixtySaveTag = "SaveTag",
276
+ ThreeSixtyOpenCommentsList = "OpenCommentsList",
277
+ ThreeSixtySaveComment = "SaveComment",
278
+ ThreeSixtyUnarchiveComment = "UnarchiveComment",
279
+ ThreeSixtyArchiveComment = "ArchiveComment",
277
280
  ThreeSixtyShareView = "ShareView",
278
- ThreeSixtyTagClicked = "TagClicked",
281
+ ThreeSixtyCommentClicked = "CommentClicked",
279
282
  ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
280
283
  ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
281
284
  ThreeSixtyToggleMiniModel = "ToggleMiniModel",
282
- ThreeSixtyToggleTagsVisibility = "ToggleTagsVisibility",
285
+ ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
283
286
  ThreeSixtyTourPause = "Tour-Pause",
284
287
  ThreeSixtyTourPlay = "Tour-Play",
285
288
  ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
@@ -446,5 +449,6 @@ export declare enum AnalyticsEvent {
446
449
  HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
447
450
  HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
448
451
  HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
449
- HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
452
+ HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
453
+ HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink"
450
454
  }
@@ -324,56 +324,6 @@ export type Hdd = {
324
324
  errorStatus: string;
325
325
  canExpand: boolean;
326
326
  };
327
- export declare enum ResolutionDimensions {
328
- QVGA = "320x240",
329
- VGA = "640x480",
330
- SVGA = "800x600",
331
- XGA = "1024x768",
332
- HD = "1280x720",
333
- WXGA = "1280x800",
334
- HDPlus = "1366x768",
335
- WXGAPlus = "1440x900",
336
- HDPlusPlus = "1600x900",
337
- UXGA = "1600x1200",
338
- FullHD = "1920x1080",
339
- WUXGA = "1920x1200",
340
- TwoK = "2048x1080",
341
- QHD = "2560x1440",
342
- WQXGA = "2560x1600",
343
- FourK = "3840x2160",
344
- FourKCinema = "4096x2160",
345
- FiveK = "5120x2880",
346
- EightK = "7680x4320",
347
- WHUXGA = "7680x4800"
348
- }
349
- export declare enum ResolutionLabel {
350
- QVGA = "QVGA",
351
- VGA = "VGA",
352
- SVGA = "SVGA",
353
- XGA = "XGA",
354
- HD = "HD",
355
- WXGA = "WXGA",
356
- HDPlus = "HD+",
357
- WXGAPlus = "WXGA++",
358
- HDPlusPlus = "HD++",
359
- UXGA = "UXGA",
360
- FullHD = "FullHD",
361
- WUXGA = "WUXGA",
362
- TwoK = "2K",
363
- QHD = "QHD",
364
- WQXGA = "WQXGA",
365
- FourK = "4K",
366
- FourKCinema = "4KCinema",
367
- FiveK = "5K",
368
- EightK = "8K",
369
- WHUXGA = "WHUXGA"
370
- }
371
- export type ResolutionInfo = {
372
- ratioString: string;
373
- ratioFloat: number;
374
- resolutionDimensions: ResolutionDimensions;
375
- resolutionLabel: ResolutionLabel;
376
- };
377
327
  export type CameraPath = {
378
328
  projectExid: ProjectExid;
379
329
  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
  };
@@ -10,6 +10,10 @@ export declare enum Connector {
10
10
  VoyageControl = "voyage_control",
11
11
  XWeather = "xweather"
12
12
  }
13
+ export declare enum ProcoreType {
14
+ Observations = "observations",
15
+ Photos = "photos"
16
+ }
13
17
  export type ConnectorResponsePayload = Array<{
14
18
  hostname: string;
15
19
  login: string;
@@ -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";
@@ -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;
@@ -38,8 +38,8 @@ export declare enum KitAlarm {
38
38
  UpsLowBattery = "low_battery"
39
39
  }
40
40
  export declare enum KitMetricId {
41
- BatteryStats = "battery",
42
- PanelPowerStats = "panel_power"
41
+ SolarCharger = "solar_charger",
42
+ PanelPower = "panel_power"
43
43
  }
44
44
  export declare enum KitMetricPeriod {
45
45
  Last15Minutes = "now-15m",
@@ -302,3 +302,27 @@ export type KitUpdatePayload = {
302
302
  kitStatus: KitStatus;
303
303
  type: string;
304
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
+ }
@@ -55,7 +55,8 @@ export declare enum ProjectFeatureFlag {
55
55
  MediaHubSharing = "archives_sharing",
56
56
  GateReportAnprBased = "anpr_sourced",
57
57
  NoLicensePlate = "no_license_plate",
58
- DefaultToProjectApp = "default_to_project_app"
58
+ DefaultToProjectApp = "default_to_project_app",
59
+ SmartSearch = "smart_search"
59
60
  }
60
61
  export type ProjectBatteryReading = {
61
62
  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;
@@ -1,4 +1,4 @@
1
- import type { BBox, BoundingBox, DetectionLabel } from "@evercam/api/types";
1
+ import type { BBox, BoundingBox, DateType, DetectionLabel, Schedule } from "@evercam/api/types";
2
2
  export declare enum SiteAnalyticsMode {
3
3
  Detections = "detections",
4
4
  Segments = "segments"
@@ -6,20 +6,26 @@ export declare enum SiteAnalyticsMode {
6
6
  export type SmartSearchOptionData = {
7
7
  id?: string;
8
8
  type: SmartSearchQueryComponentType;
9
- value: DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData;
9
+ value: DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData | SmartSearchCondition | SmartSearchDateRange | string;
10
10
  };
11
- export type SmartSearchQueryPart = SmartSearchOptionData | SmartSearchQueryPart[];
11
+ export type SmartSearchQueryPart = SmartSearchOptionData | [SmartSearchQueryPart] | SmartSearchQueryPart[];
12
12
  export declare enum SmartSearchQueryComponentType {
13
13
  Condition = "condition",
14
14
  Object = "object",
15
15
  Area = "in_area",
16
16
  Time = "time",
17
- Operator = "operator"
17
+ Operator = "operator",
18
+ Camera = "camera",
19
+ DateRange = "date_range"
18
20
  }
21
+ export type SmartSearchDateRange = {
22
+ start: DateType;
23
+ end: DateType;
24
+ };
19
25
  export type SmartSearchQueryComponentData = {
20
26
  id: string;
21
27
  type: SmartSearchQueryComponentType;
22
- parts: SmartSearchQueryPart[];
28
+ parts: [SmartSearchQueryPart];
23
29
  };
24
30
  export declare enum SmartSearchCondition {
25
31
  InArea = "in_area",
@@ -30,24 +36,25 @@ export type SmartSearchConditionData = {
30
36
  condition: SmartSearchCondition;
31
37
  value: string | BoundingBox | DetectionLabel | Date;
32
38
  };
39
+ export type SmartSearchQueryCondition = {
40
+ type: SmartSearchQueryConditionTypes;
41
+ target: SmartSearchQueryTargets;
42
+ operator?: SmartSearchQueryOperators;
43
+ attribute?: string;
44
+ value: string | number | string[];
45
+ reference?: {
46
+ target: SmartSearchQueryTargets;
47
+ attribute: string;
48
+ value: string | number | string[];
49
+ };
50
+ polygon?: BBox;
51
+ };
33
52
  export type SmartSearchQuery = {
34
53
  returnTargets: SmartSearchQueryTargets[];
35
54
  rulesLogic: SmartSearchOperatorType;
36
55
  rules: {
37
56
  logic: SmartSearchOperatorType;
38
- conditions: {
39
- type: SmartSearchQueryConditionTypes;
40
- target: SmartSearchQueryTargets;
41
- operator?: SmartSearchQueryOperators;
42
- attribute?: string;
43
- value: string | number | string[];
44
- reference?: {
45
- target: SmartSearchQueryTargets;
46
- attribute: string;
47
- value: string | number | string[];
48
- };
49
- polygon?: BBox;
50
- }[];
57
+ conditions: SmartSearchQueryCondition[];
51
58
  }[];
52
59
  returnType: SmartSearchQueryReturnType;
53
60
  };
@@ -72,7 +79,8 @@ export declare enum SmartSearchQueryOperators {
72
79
  Outside = "outside",
73
80
  DistanceBelow = "distance_below",
74
81
  DistanceAbove = "distance_above",
75
- Area = "in_area"
82
+ Area = "in_area",
83
+ Equal = "="
76
84
  }
77
85
  export declare enum SmartSearchQueryConditionTypes {
78
86
  Selection = "selection",
@@ -82,3 +90,34 @@ export declare enum SmartSearchQueryConditionTypes {
82
90
  Near = "near",
83
91
  Far = "far"
84
92
  }
93
+ export type SmartSearchOptionValue = DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData;
94
+ export type SmartSearchQueryParams = {
95
+ cameraExid: string;
96
+ name: string;
97
+ description: string;
98
+ query: {
99
+ req: SmartSearchQuery;
100
+ timeSchedule?: Schedule | undefined;
101
+ };
102
+ fromDate?: DateType;
103
+ toDate?: DateType;
104
+ author: string;
105
+ createdAt: DateType;
106
+ params?: Record<string, unknown>;
107
+ };
108
+ export type SavedQuery = {
109
+ description: string;
110
+ id: number;
111
+ query: {
112
+ req: SmartSearchQuery;
113
+ timeSchedule?: Schedule | undefined;
114
+ };
115
+ params: Record<string, string>;
116
+ components?: Omit<SmartSearchOptionData, "id">[];
117
+ toDate?: DateType;
118
+ createdAt?: DateType;
119
+ cameraExid: string;
120
+ name: string;
121
+ fromDate?: DateType;
122
+ author?: string;
123
+ };
@@ -1,24 +1,4 @@
1
- import { MilesightCameraNetworkConfiguration, MilesightCameraOsdConfiguration, MilesightCameraSdCardInfo, MilesightCameraSystemSettings, MilesightCameraTimeInfo, MilesightCameraVideoConfig, TaskStatus, DateTime_Z_micros, KitMetricData } from "@/types";
2
- export declare enum ExNvrHealthCheckTaskId {
3
- ExNvrLogin = "exNvrLogin",
4
- ExNvrConfigCheck = "exNvrGetDeviceInfo",
5
- ExNvrSystemStatus = "exNvrSystemStatus",
6
- ExNvrRecordings = "exNvrGetRecordings",
7
- CameraSystemConfigCheck = "getCameraSystemInfo",
8
- CameraTimeConfigCheck = "getCameraTimeInfo",
9
- CameraStreamsConfigCheck = "getCameraStreamsInfo",
10
- CameraNetworkConfigCheck = "getCameraNetworkInfo",
11
- CameraOsdConfigCheck = "getCameraOsdInfo",
12
- CameraStorageConfigCheck = "getCameraStorageInfo"
13
- }
14
- export type ExNvrHealthCheckTaskResult<T extends ExNvrHealthCheckTaskId> = T extends ExNvrHealthCheckTaskId.ExNvrLogin ? ExNvrLoginResponse : T extends ExNvrHealthCheckTaskId.ExNvrConfigCheck ? ExNvrDeviceConfig : T extends ExNvrHealthCheckTaskId.ExNvrSystemStatus ? ExNvrSystemStatus : T extends ExNvrHealthCheckTaskId.ExNvrRecordings ? ExNvrRecordingInterval[] : T extends ExNvrHealthCheckTaskId.CameraStreamsConfigCheck ? MilesightCameraVideoConfig : T extends ExNvrHealthCheckTaskId.CameraSystemConfigCheck ? MilesightCameraSystemSettings : T extends ExNvrHealthCheckTaskId.CameraTimeConfigCheck ? MilesightCameraTimeInfo : T extends ExNvrHealthCheckTaskId.CameraNetworkConfigCheck ? MilesightCameraNetworkConfiguration : T extends ExNvrHealthCheckTaskId.CameraOsdConfigCheck ? MilesightCameraOsdConfiguration : T extends ExNvrHealthCheckTaskId.CameraStorageConfigCheck ? MilesightCameraSdCardInfo : never;
15
- export type ExNvrHealthCheckTask<T extends ExNvrHealthCheckTaskId> = {
16
- id: T;
17
- status: TaskStatus;
18
- duration?: number;
19
- result?: ExNvrHealthCheckTaskResult<T>;
20
- error?: Error;
21
- };
1
+ import { DateTime_Z_micros, KitMetricData } from "@/types";
22
2
  export type ExNvrLoginResponse = {
23
3
  accessToken: string;
24
4
  };
@@ -0,0 +1,11 @@
1
+ export declare enum PerformanceStatus {
2
+ Pending = "pending",
3
+ Done = "done"
4
+ }
5
+ export declare enum WebGLExtensions {
6
+ OESTextureFloat = "OES_texture_float",
7
+ EXTFloatBlend = "EXT_float_blend",
8
+ EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic",
9
+ OESElementIndexUint = "OES_element_index_uint",
10
+ WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info"
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/api",
3
- "version": "1.0.0-68a5f1f7b",
3
+ "version": "1.0.0-6ad33e216",
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": "^24.0.3",
39
+ "@types/node": "^24.0.13",
40
40
  "vite": "latest",
41
41
  "vite-plugin-commonjs": "^0.10.3",
42
42
  "vite-plugin-dts": "^4.5.4"