@evercam/api 1.0.0-003291add → 1.0.0-0088ae60c
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/api/3dFirebaseApi.d.ts +1 -6
- package/dist/api/api/evercamApi.d.ts +4 -1
- package/dist/api/types/analytics.d.ts +23 -11
- package/dist/api/types/auditLogs.d.ts +18 -0
- package/dist/api/types/bim.d.ts +17 -0
- package/dist/api/types/camera.d.ts +2 -2
- package/dist/api/types/comments.d.ts +8 -6
- package/dist/api/types/detections.d.ts +0 -9
- package/dist/api/types/ingest.d.ts +2 -2
- package/dist/api/types/planner.d.ts +2 -3
- package/dist/api/types/shared.d.ts +1 -0
- package/dist/api/types/siteAnalytics.d.ts +2 -2
- package/dist/api/types/snapshots.d.ts +8 -0
- package/dist/api/types/timelapse.d.ts +2 -6
- package/dist/index.js +516 -533
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +26 -5
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/package.json +2 -2
|
@@ -9,7 +9,6 @@ export declare const _3dFirebaseApi: {
|
|
|
9
9
|
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectData>;
|
|
10
10
|
getTransformInfo(projectExid: ProjectExid): Promise<DroneProjectTransform>;
|
|
11
11
|
getProjectTags(projectExid: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
12
|
-
getTags(projectId: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
13
12
|
patchTags({ projectId, tags, }: {
|
|
14
13
|
projectId: ProjectExid;
|
|
15
14
|
tags: Record<string, DroneTag | null>;
|
|
@@ -72,11 +71,8 @@ export declare const _3dFirebaseApi: {
|
|
|
72
71
|
updateProjectsListItem(index: number, data: _360ProjectListItem): Promise<void>;
|
|
73
72
|
deleteProject(projectId: string): Promise<void>;
|
|
74
73
|
updateProjectInfo(projectId: string, data: Partial<_360ProjectJsonResponse>): Promise<void>;
|
|
75
|
-
getDateWalks(projectExid: ProjectExid, dateId: string): Promise<_360Walk>;
|
|
76
74
|
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360Floor>): Promise<_360ProjectJsonResponse>;
|
|
77
75
|
getRoute(projectExid: ProjectExid, dateId: string, floorIndex: string): Promise<_360SceneRoute | null>;
|
|
78
|
-
getDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
79
|
-
getAerialShotsDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
80
76
|
getAerialShotDate(projectId: ProjectExid, dateId: number): Promise<string | null>;
|
|
81
77
|
getFloor({ projectId, dateId, floorId, }: {
|
|
82
78
|
projectId: ProjectExid;
|
|
@@ -133,14 +129,13 @@ export declare const _3dFirebaseApi: {
|
|
|
133
129
|
getProjectDateFloors({ projectId, dateId, }: {
|
|
134
130
|
projectId: ProjectExid;
|
|
135
131
|
dateId: string | number;
|
|
136
|
-
}): Promise<
|
|
132
|
+
}): Promise<_360Walk>;
|
|
137
133
|
};
|
|
138
134
|
forge: {
|
|
139
135
|
getAccessToken(): Promise<{
|
|
140
136
|
access_token: string;
|
|
141
137
|
}>;
|
|
142
138
|
getProjectInfo(projectExid: ProjectExid): Promise<ForgeProjectData | null>;
|
|
143
|
-
getForgeData(projectId: string): Promise<ForgeProjectData | null>;
|
|
144
139
|
saveSavedView(projectId: string, payload: ForgeView): Promise<void>;
|
|
145
140
|
saveMarkers(projectId: string, markers: ForgeMarker[]): Promise<void>;
|
|
146
141
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
2
|
import { Automation, GeoJSONPolygon, ProgressPhotoItemResponsePayload, Project, SwrRequestConfig, UserFeatureFlag } from "@evercam/api/types";
|
|
3
|
-
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProject, AconexDocumentSchema, AconexDocumentTypeSchema, ApiCredentials, AutodeskFolder, AutodeskProject, AutodeskTokenResponsePayload, AutodeskSnapshot, AutodeskUserHub, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, CompanyCameraSummary, CompanyProject, CompanyKit, CompanySummary, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, FetchCameraQueryParams, GoogleAuthRequestPayload, LoginRequestPayload, User, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreObservationFormRequestPayload, ProcoreObservationTypesResponsePayload, ProcoreProjectsAlbumsPayload, ProcoreProjectRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreCompanyRequestPayload, ProcoreUserProjectsResponsePayload, ProcoreUserProjectPermissionsResponsePayload, ProcoreObservationAssignee, ProcoreObservationDistributionMember, ProcoreObservationTrades, ProcoreObservationLocation, ProcoreObservationSpecificationSection, ProcoreObservationForm, ProcoreObservationDefaultList, ProcoreObservationListItem, ProcoreCustomFieldOptionsRequestPayload, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectCreateResponse, ProjectExid, ProjectLogoResponsePayload, ProjectMembersResponsePayload, ProjectMembersRequestPayload, ProjectInviteMembersResponsePayload, RemotePasswordUpdateRequestPayload, SessionsListRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, UpdateCameraRestrictionPayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, RingDevicesResponsePayload, RingImportDevicesPayload, RingImportResponsePayload, RingMoveDevicePayload, RingMoveDeviceResponsePayload, RingLiveViewPayload, RingLiveViewResponse, RingStopLiveViewResponse, AuthOptionsResponsePayload, AuthProviderConfigPayload, ConfirmUserRequestPayload, DeleteActiveSessionRequestPayload, ProjectContactsResponsePayload, XWeatherCreatePayload, XWeatherResponse, Widget, WidgetFull, WidgetPayload, WidgetSessionSettingsPayload, WidgetsListRequestPayload, Camera, ProcoreNextObservationAvailableNumber, OAuthClient, OAuthClientWithSecret, OAuthConsentInfo, OAuthConsentPayload, OAuthConsentResponse, CreateOAuthClientPayload, UpdateOAuthClientPayload, PaginationParams, StoryblokResponse, Notification, PlaceholderThumbnailData, ProjectUsersResponsePayload, ProjectMember } from "@evercam/api/types";
|
|
3
|
+
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProject, AconexDocumentSchema, AconexDocumentTypeSchema, ApiCredentials, AutodeskFolder, AutodeskProject, AutodeskTokenResponsePayload, AutodeskSnapshot, AutodeskUserHub, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, CompanyCameraSummary, CompanyProject, CompanyKit, CompanySummary, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, FetchCameraQueryParams, GoogleAuthRequestPayload, LoginRequestPayload, User, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreObservationFormRequestPayload, ProcoreObservationTypesResponsePayload, ProcoreProjectsAlbumsPayload, ProcoreProjectRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreCompanyRequestPayload, ProcoreUserProjectsResponsePayload, ProcoreUserProjectPermissionsResponsePayload, ProcoreObservationAssignee, ProcoreObservationDistributionMember, ProcoreObservationTrades, ProcoreObservationLocation, ProcoreObservationSpecificationSection, ProcoreObservationForm, ProcoreObservationDefaultList, ProcoreObservationListItem, ProcoreCustomFieldOptionsRequestPayload, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectCreateResponse, ProjectExid, ProjectLogoResponsePayload, ProjectMembersResponsePayload, ProjectMembersRequestPayload, ProjectInviteMembersResponsePayload, RemotePasswordUpdateRequestPayload, SessionsListRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, UpdateCameraRestrictionPayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, RingDevicesResponsePayload, RingImportDevicesPayload, RingImportResponsePayload, RingMoveDevicePayload, RingMoveDeviceResponsePayload, RingLiveViewPayload, RingLiveViewResponse, RingStopLiveViewResponse, AuthOptionsResponsePayload, AuthProviderConfigPayload, ConfirmUserRequestPayload, DeleteActiveSessionRequestPayload, ProjectContactsResponsePayload, XWeatherCreatePayload, XWeatherResponse, Widget, WidgetFull, WidgetPayload, WidgetSessionSettingsPayload, WidgetsListRequestPayload, Camera, ProcoreNextObservationAvailableNumber, OAuthClient, OAuthClientWithSecret, OAuthConsentInfo, OAuthConsentPayload, OAuthConsentResponse, CreateOAuthClientPayload, UpdateOAuthClientPayload, PaginationParams, StoryblokResponse, Notification, PlaceholderThumbnailData, ProjectUsersResponsePayload, ProjectMember, SnapshotEmailDeliveryRequestPayload, SnapshotEmailDeliveryResponsePayload } from "@evercam/api/types";
|
|
4
4
|
export declare const EvercamApi: {
|
|
5
5
|
apiStatus: {
|
|
6
6
|
getApiStatus(): Promise<void>;
|
|
@@ -295,6 +295,9 @@ export declare const EvercamApi: {
|
|
|
295
295
|
params: string;
|
|
296
296
|
}): Promise<StoryblokResponse>;
|
|
297
297
|
};
|
|
298
|
+
snapshots: {
|
|
299
|
+
deliverViaEmail(projectExid: string, payload: SnapshotEmailDeliveryRequestPayload): Promise<SnapshotEmailDeliveryResponsePayload>;
|
|
300
|
+
};
|
|
298
301
|
mailing: {
|
|
299
302
|
unsubscribe(params: {
|
|
300
303
|
key: string;
|
|
@@ -261,6 +261,8 @@ export declare enum AnalyticsEvent {
|
|
|
261
261
|
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
262
|
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
263
|
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
264
|
+
MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail",
|
|
265
|
+
MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent",
|
|
264
266
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
265
267
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
266
268
|
RecordingsCreateClip = "CreateClip",
|
|
@@ -282,16 +284,6 @@ export declare enum AnalyticsEvent {
|
|
|
282
284
|
SharingSortBy = "SortBy",
|
|
283
285
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
284
286
|
ThreeSixtyGallery = "Gallery",
|
|
285
|
-
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
286
|
-
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
287
|
-
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
288
|
-
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
289
|
-
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
290
|
-
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
291
|
-
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
292
|
-
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
293
|
-
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
294
|
-
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
295
287
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
296
288
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
297
289
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -593,5 +585,25 @@ export declare enum AnalyticsEvent {
|
|
|
593
585
|
AskAIClickVoice = "AskAI-ClickVoice",
|
|
594
586
|
AskAIClickFullscreen = "AskAI-ClickFullscreen",
|
|
595
587
|
AskAIExitFullscreen = "AskAI-ExitFullscreen",
|
|
596
|
-
AskAICloseChat = "AskAI-CloseChat"
|
|
588
|
+
AskAICloseChat = "AskAI-CloseChat",
|
|
589
|
+
ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked",
|
|
590
|
+
ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened",
|
|
591
|
+
ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected",
|
|
592
|
+
ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed",
|
|
593
|
+
ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected",
|
|
594
|
+
ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected",
|
|
595
|
+
ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted",
|
|
596
|
+
ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted",
|
|
597
|
+
ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed",
|
|
598
|
+
ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened",
|
|
599
|
+
ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed",
|
|
600
|
+
ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed",
|
|
601
|
+
ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected",
|
|
602
|
+
ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked",
|
|
603
|
+
ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened",
|
|
604
|
+
ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed",
|
|
605
|
+
ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled",
|
|
606
|
+
ForgeBimModelAdded = "ForgeBim-ModelAdded",
|
|
607
|
+
ForgeBimModelUpdated = "ForgeBim-ModelUpdated",
|
|
608
|
+
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed"
|
|
597
609
|
}
|
|
@@ -33,6 +33,24 @@ export declare enum AuditLogActionType {
|
|
|
33
33
|
BIM_NOTE = "bim_note",
|
|
34
34
|
GATE_REPORT_NOTE = "gate_report_note"
|
|
35
35
|
}
|
|
36
|
+
export declare enum AuditLogEntity {
|
|
37
|
+
Cameras = "cameras",
|
|
38
|
+
Projects = "projects",
|
|
39
|
+
Layers = "layers",
|
|
40
|
+
Routers = "routers",
|
|
41
|
+
Sims = "sims",
|
|
42
|
+
Hdds = "hdds",
|
|
43
|
+
Nvr = "nvr",
|
|
44
|
+
Archives = "archives",
|
|
45
|
+
Users = "users",
|
|
46
|
+
Rois = "rois",
|
|
47
|
+
Kits = "kits",
|
|
48
|
+
Roles = "roles",
|
|
49
|
+
Tags = "tags",
|
|
50
|
+
KitsTags = "kits_tags",
|
|
51
|
+
Oauth = "oauth",
|
|
52
|
+
StorageProviders = "storage_providers"
|
|
53
|
+
}
|
|
36
54
|
export type AuditLog = {
|
|
37
55
|
id: number;
|
|
38
56
|
action: AuditLogActionType;
|
package/dist/api/types/bim.d.ts
CHANGED
|
@@ -151,3 +151,20 @@ export type BimUploadPayload = {
|
|
|
151
151
|
fileExtension: string;
|
|
152
152
|
}[];
|
|
153
153
|
};
|
|
154
|
+
export declare enum ForgeBimUploadMethod {
|
|
155
|
+
FileUpload = "file_upload",
|
|
156
|
+
AutodeskAcc = "autodesk_acc"
|
|
157
|
+
}
|
|
158
|
+
export declare enum ForgeBimFileRejectionReason {
|
|
159
|
+
InvalidType = "invalid_type",
|
|
160
|
+
ExceedsSizeLimit = "exceeds_size_limit"
|
|
161
|
+
}
|
|
162
|
+
export declare enum ForgeBimUploadStage {
|
|
163
|
+
TusUpload = "tus_upload",
|
|
164
|
+
IngestUpload = "ingest_upload"
|
|
165
|
+
}
|
|
166
|
+
export declare enum ForgeBimDialogTrigger {
|
|
167
|
+
UpdateModel = "update_model",
|
|
168
|
+
AddModel = "add_model",
|
|
169
|
+
InitialSetup = "initial_setup"
|
|
170
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuditLogActionType, DateType, EntityByExid, KitAlarm, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, ProjectFeatureFlag, Schedule, ScheduleLowercase } from "@evercam/api/types";
|
|
2
2
|
import { DateRangeFilter } from "@evercam/api/types/time";
|
|
3
|
-
import { GeoPoint } from "@evercam/api/types/shared";
|
|
3
|
+
import { GeoPoint, TuplePoint2D } from "@evercam/api/types/shared";
|
|
4
4
|
export type CameraExid = string;
|
|
5
5
|
export type CamerasByExid = EntityByExid<Camera>;
|
|
6
6
|
export type Camera = {
|
|
@@ -350,7 +350,7 @@ export type CameraCreateRequestPayload = {
|
|
|
350
350
|
isPowerScheduleActive?: boolean;
|
|
351
351
|
ptz?: boolean;
|
|
352
352
|
name: string;
|
|
353
|
-
coordinates?:
|
|
353
|
+
coordinates?: TuplePoint2D;
|
|
354
354
|
recordingFromNvr?: boolean;
|
|
355
355
|
CameraConfig: {
|
|
356
356
|
model: CameraModel;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid, PaginationParams } from "@evercam/api/types";
|
|
1
|
+
import { CameraExid, DateType, ProjectExid, PaginationParams, TuplePoint3D, TuplePoint2D } from "@evercam/api/types";
|
|
2
2
|
export declare enum CommentsScope {
|
|
3
3
|
Recordings = "recordings",
|
|
4
4
|
ThreeSixty = "360",
|
|
5
|
-
Drone = "drone"
|
|
5
|
+
Drone = "drone",
|
|
6
|
+
Timeline = "timeline"
|
|
6
7
|
}
|
|
7
8
|
export declare enum CommentsLabel {
|
|
8
9
|
Info = "Info",
|
|
@@ -11,6 +12,7 @@ export declare enum CommentsLabel {
|
|
|
11
12
|
}
|
|
12
13
|
export type CommentsRequestPayload = {
|
|
13
14
|
scope: CommentsScope;
|
|
15
|
+
cameraExid?: CameraExid;
|
|
14
16
|
};
|
|
15
17
|
export type CommentsListRequestPayload = PaginationParams & {
|
|
16
18
|
projectExid?: ProjectExid;
|
|
@@ -34,8 +36,8 @@ export type Comment = {
|
|
|
34
36
|
createdAt?: string;
|
|
35
37
|
creatorEmail?: string;
|
|
36
38
|
creatorName?: string;
|
|
37
|
-
position2d?:
|
|
38
|
-
position3d?:
|
|
39
|
+
position2d?: TuplePoint2D;
|
|
40
|
+
position3d?: TuplePoint3D;
|
|
39
41
|
context?: Record<string, unknown>;
|
|
40
42
|
canDelete?: boolean;
|
|
41
43
|
archivedAt?: string;
|
|
@@ -49,7 +51,7 @@ export type CommentCreationRequestPayload = {
|
|
|
49
51
|
projectExid: ProjectExid;
|
|
50
52
|
cameraExid?: CameraExid;
|
|
51
53
|
content: string;
|
|
52
|
-
position2d?:
|
|
53
|
-
position3d?: number
|
|
54
|
+
position2d?: TuplePoint2D;
|
|
55
|
+
position3d?: [number, number, number];
|
|
54
56
|
context?: Record<string, unknown>;
|
|
55
57
|
};
|
|
@@ -13,15 +13,6 @@ export type SegmentsFilters = BaseDetectionsFilters & {
|
|
|
13
13
|
cameraExid: CameraExid;
|
|
14
14
|
};
|
|
15
15
|
export type BBox = number[];
|
|
16
|
-
export type SelectedObjectPath = {
|
|
17
|
-
label: string;
|
|
18
|
-
trackId: string;
|
|
19
|
-
paths: Array<{
|
|
20
|
-
timestamp: number;
|
|
21
|
-
center: [number, number];
|
|
22
|
-
bbox: BBox;
|
|
23
|
-
}>;
|
|
24
|
-
};
|
|
25
16
|
export type Label = DetectionLabel | PpeLabel;
|
|
26
17
|
export type Detection = {
|
|
27
18
|
bbox: BBox;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationParams, DateType, JsonValue } from "@evercam/api/types";
|
|
1
|
+
import { PaginationParams, DateType, JsonValue, TuplePoint2D } from "@evercam/api/types";
|
|
2
2
|
import type { _360FloorV2, _360WalkV2 } from "@evercam/api/types/360";
|
|
3
3
|
export declare enum IngestProcessingStatus {
|
|
4
4
|
Completed = "completed",
|
|
@@ -82,7 +82,7 @@ export type DroneUploadUpdateRequestPayload = {
|
|
|
82
82
|
};
|
|
83
83
|
export type CalculateMeasuringOperationRequestPayload = {
|
|
84
84
|
date: DateType;
|
|
85
|
-
points: [
|
|
85
|
+
points: TuplePoint2D[];
|
|
86
86
|
operation: string;
|
|
87
87
|
};
|
|
88
88
|
export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GeoPoint } from "./shared";
|
|
1
|
+
import { GeoPoint, TuplePoint2D } from "./shared";
|
|
2
2
|
import { MapType } from "./map";
|
|
3
3
|
export type PlannerListItem = {
|
|
4
4
|
id: string;
|
|
@@ -15,8 +15,7 @@ export type PlannerListItem = {
|
|
|
15
15
|
projectMapType?: MapType;
|
|
16
16
|
sessionId?: string;
|
|
17
17
|
};
|
|
18
|
-
export type
|
|
19
|
-
export type PolygonPath = Coordinate[];
|
|
18
|
+
export type PolygonPath = TuplePoint2D[];
|
|
20
19
|
export type PolygonCoordinates = PolygonPath[];
|
|
21
20
|
export interface GeoJSONPolygon {
|
|
22
21
|
type: "Polygon";
|
|
@@ -138,6 +138,7 @@ export interface JSON {
|
|
|
138
138
|
parse<T>(text: Stringified<T>, reviver?: (key: unknown, value: unknown) => unknown): T;
|
|
139
139
|
}
|
|
140
140
|
export type TuplePoint2D = [number, number];
|
|
141
|
+
export type TuplePoint3D = [number, number, number];
|
|
141
142
|
export type Point2D = {
|
|
142
143
|
x: number;
|
|
143
144
|
y: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BBox, BoundingBox, DateType, Schedule, ScheduleLowercase, CameraExid, DetectionModel, PaginationParams, PpeLabel, ProjectExid, CameraDateRangeFilter, CameraFeatureFlag, TimelineDateInterval, Camera, AdminCamera, _360FloorV2, _360FloorId, PaginatedItems, DateRangeFilter } from "@evercam/api/types";
|
|
1
|
+
import { BBox, BoundingBox, DateType, Schedule, ScheduleLowercase, CameraExid, DetectionModel, PaginationParams, PpeLabel, ProjectExid, CameraDateRangeFilter, CameraFeatureFlag, TimelineDateInterval, Camera, AdminCamera, _360FloorV2, _360FloorId, PaginatedItems, DateRangeFilter, TuplePoint2D } from "@evercam/api/types";
|
|
2
2
|
import { DetectionLabel, DownloadFileType } from "@evercam/api/types";
|
|
3
3
|
export declare enum SiteAnalyticsMode {
|
|
4
4
|
Detections = "detections",
|
|
@@ -184,7 +184,7 @@ export type DetectionsExportRequestParams = DetectionsRequestParams & {
|
|
|
184
184
|
directDownload?: boolean;
|
|
185
185
|
};
|
|
186
186
|
export type SmartSearchHeatmapPoint = {
|
|
187
|
-
coordinates:
|
|
187
|
+
coordinates: TuplePoint2D;
|
|
188
188
|
detectionsCount: number;
|
|
189
189
|
};
|
|
190
190
|
export type SmartSearchHeatmapData = {
|
|
@@ -42,6 +42,14 @@ export type SnapshotTestResponse = {
|
|
|
42
42
|
status: string;
|
|
43
43
|
data: string;
|
|
44
44
|
};
|
|
45
|
+
export type SnapshotEmailDeliveryRequestPayload = {
|
|
46
|
+
snapshot: string;
|
|
47
|
+
recipients?: string[];
|
|
48
|
+
message?: string;
|
|
49
|
+
};
|
|
50
|
+
export type SnapshotEmailDeliveryResponsePayload = {
|
|
51
|
+
warning?: string;
|
|
52
|
+
};
|
|
45
53
|
export type DeleteSnapshotQueryParams = {
|
|
46
54
|
fromDate: DateType;
|
|
47
55
|
toDate: DateType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DateType, Schedule } from "@evercam/api/types";
|
|
1
|
+
import { DateType, Point2D, Schedule } from "@evercam/api/types";
|
|
2
2
|
export declare enum TimelapseStatus {
|
|
3
3
|
Pending = 11,
|
|
4
4
|
Completed = 5,
|
|
@@ -26,11 +26,7 @@ export type TimestampPositionCoordinates = {
|
|
|
26
26
|
w: number;
|
|
27
27
|
h: number;
|
|
28
28
|
};
|
|
29
|
-
export type
|
|
30
|
-
x: number;
|
|
31
|
-
y: number;
|
|
32
|
-
};
|
|
33
|
-
export type BlurRegionCoordinates = BlurRegionPoint[];
|
|
29
|
+
export type BlurRegionCoordinates = Point2D[];
|
|
34
30
|
export type TimelapseLogoOptions = {
|
|
35
31
|
id?: number;
|
|
36
32
|
x: number;
|