@evercam/api 1.0.0-acfc36f03 → 1.0.0-b132954ca
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/3dFirebaseApi.d.ts +1 -0
- package/dist/api/adminApi.d.ts +26 -17
- package/dist/api/aiApi.d.ts +15 -4
- package/dist/api/evercamApi.d.ts +44 -16
- package/dist/api/evercamLabsApi.d.ts +4 -8
- package/dist/api/ingestApi.d.ts +4 -1
- package/dist/api/weatherApi.d.ts +7 -23
- package/dist/index.js +560 -471
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/types/aconex.d.ts +1 -1
- package/dist/types/analytics.d.ts +39 -65
- package/dist/types/anpr.d.ts +1 -0
- package/dist/types/camera.d.ts +4 -50
- package/dist/types/comments.d.ts +15 -8
- package/dist/types/connector.d.ts +6 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/types/kit.d.ts +33 -4
- package/dist/types/procore.d.ts +146 -3
- package/dist/types/project.d.ts +5 -1
- package/dist/types/roi.d.ts +2 -1
- package/dist/types/shared.d.ts +1 -10
- package/dist/types/shares.d.ts +5 -1
- package/dist/types/siteAnalytics.d.ts +58 -19
- package/dist/types/streaming.d.ts +1 -21
- package/dist/types/systemCheck.d.ts +11 -0
- package/dist/types/tag.d.ts +12 -0
- package/dist/types/weather.d.ts +6 -2
- package/dist/types/xweather.d.ts +12 -0
- package/package.json +3 -3
- package/dist/types/devices.d.ts +0 -228
- /package/dist/types/{sitePlanner.d.ts → planner.d.ts} +0 -0
package/dist/types/aconex.d.ts
CHANGED
|
@@ -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",
|
|
@@ -36,7 +30,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
30
|
Bim = "Bim",
|
|
37
31
|
Drone = "Drone",
|
|
38
32
|
ThreeSixty = "360",
|
|
39
|
-
|
|
33
|
+
Planner = "Planner",
|
|
40
34
|
Widgets = "Widgets",
|
|
41
35
|
Company = "Company",
|
|
42
36
|
EmbeddedLive = "EmbeddedLive",
|
|
@@ -47,8 +41,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
47
41
|
DroneInfo = "DroneInfo",
|
|
48
42
|
ThreeSixtyInfo = "360Info",
|
|
49
43
|
BimCompareInfo = "BimCompareInfo",
|
|
50
|
-
WeatherReport = "WeatherReport"
|
|
51
|
-
EvercamGoInfo = "EvercamGoInfo"
|
|
44
|
+
WeatherReport = "WeatherReport"
|
|
52
45
|
}
|
|
53
46
|
export declare enum AnalyticsEvent {
|
|
54
47
|
PageView = "PageView",
|
|
@@ -64,14 +57,13 @@ export declare enum AnalyticsEvent {
|
|
|
64
57
|
Comment = "Comment-Toggle",
|
|
65
58
|
Compare = "Compare-Toggle",
|
|
66
59
|
Copilot = "Copilot-Toggle",
|
|
60
|
+
DownloadMediaOpen = "DownloadMedia-Open",
|
|
67
61
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
68
62
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
69
63
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
70
64
|
SettingsAccountCancelRevokeSession = "CancelRevokeSession",
|
|
71
65
|
SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
|
|
72
66
|
SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
|
|
73
|
-
SettingsActivitiesFromDateSelect = "FromDateSelect",
|
|
74
|
-
SettingsActivitiesToDateSelect = "ToDateSelect",
|
|
75
67
|
SettingsConnectorsConnectToProcore = "ConnectToProcore",
|
|
76
68
|
SettingsConnectorsConnectToAconex = "ConnectToAconex",
|
|
77
69
|
SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk",
|
|
@@ -269,11 +261,11 @@ export declare enum AnalyticsEvent {
|
|
|
269
261
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
270
262
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
271
263
|
ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
|
|
272
|
-
|
|
264
|
+
ThreeSixtyDeleteComment = "DeleteComment",
|
|
273
265
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
274
|
-
|
|
266
|
+
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
275
267
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
276
|
-
|
|
268
|
+
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
277
269
|
ThreeSixtyLockCompare = "LockCompare",
|
|
278
270
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
279
271
|
ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
|
|
@@ -282,14 +274,16 @@ export declare enum AnalyticsEvent {
|
|
|
282
274
|
ThreeSixtyOpenCompare = "OpenCompare",
|
|
283
275
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
284
276
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
285
|
-
|
|
286
|
-
|
|
277
|
+
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
278
|
+
ThreeSixtySaveComment = "SaveComment",
|
|
279
|
+
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
280
|
+
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
287
281
|
ThreeSixtyShareView = "ShareView",
|
|
288
|
-
|
|
282
|
+
ThreeSixtyCommentClicked = "CommentClicked",
|
|
289
283
|
ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
|
|
290
284
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
291
285
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
292
|
-
|
|
286
|
+
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
293
287
|
ThreeSixtyTourPause = "Tour-Pause",
|
|
294
288
|
ThreeSixtyTourPlay = "Tour-Play",
|
|
295
289
|
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
@@ -335,29 +329,29 @@ export declare enum AnalyticsEvent {
|
|
|
335
329
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
336
330
|
DroneZoomIn = "ZoomIn",
|
|
337
331
|
DroneZoomOut = "ZoomOut",
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
332
|
+
PlannerAddCameraClick = "AddCameraClick",
|
|
333
|
+
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
334
|
+
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
335
|
+
PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
|
|
336
|
+
PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
|
|
337
|
+
PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
|
|
338
|
+
PlannerCameraMarkerEditName = "CameraMarker-EditName",
|
|
339
|
+
PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
|
|
340
|
+
PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
|
|
341
|
+
PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
|
|
342
|
+
PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
|
|
343
|
+
PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
|
|
344
|
+
PlannerChangeLocation = "ChangeLocation",
|
|
345
|
+
PlannerOpen = "Open",
|
|
346
|
+
PlannerResetView = "ResetView",
|
|
347
|
+
PlannerSitePlansList = "SitePlansList",
|
|
348
|
+
PlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
349
|
+
PlannerToggleFullscreen = "ToggleFullscreen",
|
|
350
|
+
PlannerToggleMapStyle = "ToggleMapStyle",
|
|
351
|
+
PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
352
|
+
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
353
|
+
PlannerZoomIn = "ZoomIn",
|
|
354
|
+
PlannerZoomOut = "ZoomOut",
|
|
361
355
|
MarkerClicked = "MarkerClicked",
|
|
362
356
|
TimelapseToggleHelpDialog = "ToggleHelpDialog",
|
|
363
357
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
@@ -456,26 +450,6 @@ export declare enum AnalyticsEvent {
|
|
|
456
450
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
457
451
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
458
452
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
459
|
-
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
453
|
+
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
454
|
+
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink"
|
|
460
455
|
}
|
|
461
|
-
export type ProjectPAStatsRequestPayload = {
|
|
462
|
-
period: "day" | "week" | "month";
|
|
463
|
-
startDate?: string;
|
|
464
|
-
endDate?: string;
|
|
465
|
-
};
|
|
466
|
-
export type ProjectPAStatsResponsePayload = {
|
|
467
|
-
period: DateType;
|
|
468
|
-
name: string;
|
|
469
|
-
count: number | string;
|
|
470
|
-
};
|
|
471
|
-
export type ActiveUsersStatsRequestPayload = {
|
|
472
|
-
companyId: number;
|
|
473
|
-
from: string;
|
|
474
|
-
to: string;
|
|
475
|
-
};
|
|
476
|
-
export type ActiveUserStat = {
|
|
477
|
-
date: string;
|
|
478
|
-
dau: number;
|
|
479
|
-
wau: number;
|
|
480
|
-
mau: number;
|
|
481
|
-
};
|
package/dist/types/anpr.d.ts
CHANGED
package/dist/types/camera.d.ts
CHANGED
|
@@ -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;
|
package/dist/types/comments.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
35
|
+
timestamp?: DateType;
|
|
36
|
+
scope?: CommentsScope;
|
|
32
37
|
projectExid: ProjectExid;
|
|
33
|
-
cameraExid
|
|
38
|
+
cameraExid?: CameraExid;
|
|
34
39
|
content: string;
|
|
35
|
-
position2d
|
|
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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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,7 +27,8 @@ export * from "./routeParams";
|
|
|
28
27
|
export * from "./router";
|
|
29
28
|
export * from "./shares";
|
|
30
29
|
export * from "./sim";
|
|
31
|
-
export * from "./
|
|
30
|
+
export * from "./systemCheck";
|
|
31
|
+
export * from "./planner";
|
|
32
32
|
export * from "./storageServers";
|
|
33
33
|
export * from "./streaming";
|
|
34
34
|
export * from "./time";
|
|
@@ -51,3 +51,5 @@ export * from "./widget";
|
|
|
51
51
|
export * from "./countries";
|
|
52
52
|
export * from "./automation";
|
|
53
53
|
export * from "./coolify";
|
|
54
|
+
export * from "./tag";
|
|
55
|
+
export * from "./xweather";
|
package/dist/types/kit.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule } 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;
|
|
@@ -16,6 +16,7 @@ export type Kit = {
|
|
|
16
16
|
serial: string;
|
|
17
17
|
status: KitStatus;
|
|
18
18
|
powerSchedule: Schedule;
|
|
19
|
+
tags: Tag[];
|
|
19
20
|
};
|
|
20
21
|
export declare enum KitStatus {
|
|
21
22
|
New = "new",
|
|
@@ -31,11 +32,14 @@ export declare enum KitAlarm {
|
|
|
31
32
|
FullSD = "full_sd",
|
|
32
33
|
FullStorage = "full_storage",
|
|
33
34
|
HddUnmounted = "hdd_unmounted",
|
|
34
|
-
NoHdd = "no_hdd"
|
|
35
|
+
NoHdd = "no_hdd",
|
|
36
|
+
MissingRouterInfo = "missing_router_info",
|
|
37
|
+
PowerLost = "ac_failure",
|
|
38
|
+
UpsLowBattery = "low_battery"
|
|
35
39
|
}
|
|
36
40
|
export declare enum KitMetricId {
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
SolarCharger = "solar_charger",
|
|
42
|
+
PanelPower = "panel_power"
|
|
39
43
|
}
|
|
40
44
|
export declare enum KitMetricPeriod {
|
|
41
45
|
Last15Minutes = "now-15m",
|
|
@@ -240,6 +244,7 @@ export type KitQueryParams = PaginationParams & {
|
|
|
240
244
|
name: string;
|
|
241
245
|
serial: string;
|
|
242
246
|
status: KitStatus;
|
|
247
|
+
tagId: number | number[];
|
|
243
248
|
};
|
|
244
249
|
export type AdminKit = {
|
|
245
250
|
id: number;
|
|
@@ -297,3 +302,27 @@ export type KitUpdatePayload = {
|
|
|
297
302
|
kitStatus: KitStatus;
|
|
298
303
|
type: string;
|
|
299
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
|
+
};
|
package/dist/types/procore.d.ts
CHANGED
|
@@ -3,9 +3,47 @@ export type ProcoreUserCompaniesResponsePayload = Array<{
|
|
|
3
3
|
isActive?: boolean;
|
|
4
4
|
name: string;
|
|
5
5
|
}>;
|
|
6
|
-
export type
|
|
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
|
|
74
|
-
|
|
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
|
+
}
|
package/dist/types/project.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type Project = {
|
|
|
15
15
|
owner?: {
|
|
16
16
|
email?: string;
|
|
17
17
|
};
|
|
18
|
+
camerasRestrictionType?: string;
|
|
18
19
|
};
|
|
19
20
|
export declare enum ProjectStatus {
|
|
20
21
|
ToStart = "To Start",
|
|
@@ -31,6 +32,9 @@ export declare enum ProjectArchiveTier {
|
|
|
31
32
|
export type ProjectResponsePayload = {
|
|
32
33
|
data?: Project[];
|
|
33
34
|
};
|
|
35
|
+
export type UpdateCameraRestrictionPayload = {
|
|
36
|
+
isAccessRestricted?: boolean;
|
|
37
|
+
};
|
|
34
38
|
export type Logo = {
|
|
35
39
|
name: string;
|
|
36
40
|
url: string;
|
|
@@ -52,7 +56,7 @@ export declare enum ProjectFeatureFlag {
|
|
|
52
56
|
GateReportAnprBased = "anpr_sourced",
|
|
53
57
|
NoLicensePlate = "no_license_plate",
|
|
54
58
|
DefaultToProjectApp = "default_to_project_app",
|
|
55
|
-
|
|
59
|
+
SmartSearch = "smart_search"
|
|
56
60
|
}
|
|
57
61
|
export type ProjectBatteryReading = {
|
|
58
62
|
exid: number;
|
package/dist/types/roi.d.ts
CHANGED
package/dist/types/shared.d.ts
CHANGED
|
@@ -103,16 +103,7 @@ export declare enum InfoPage {
|
|
|
103
103
|
DroneView = "drone-view",
|
|
104
104
|
Compare = "compare",
|
|
105
105
|
Timeline = "timeline",
|
|
106
|
-
WeatherReport = "weather-report"
|
|
107
|
-
EvercamGo = "evercam-go"
|
|
108
|
-
}
|
|
109
|
-
export declare enum EvercamGoFeatures {
|
|
110
|
-
XRay = "xray",
|
|
111
|
-
MagicWand = "magic-wand",
|
|
112
|
-
Weather = "weather",
|
|
113
|
-
DownloadSnapshot = "download-snapshot",
|
|
114
|
-
LocalRecordings = "local-recordings",
|
|
115
|
-
MarkupTool = "markup-tool"
|
|
106
|
+
WeatherReport = "weather-report"
|
|
116
107
|
}
|
|
117
108
|
export declare enum DownloadTypes {
|
|
118
109
|
Jpeg = "jpeg",
|
package/dist/types/shares.d.ts
CHANGED
|
@@ -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,
|