@evercam/api 1.0.0-1e9dde45a → 1.0.0-1f78aff87
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 +4 -11
- package/dist/api/api/evercamApi.d.ts +4 -1
- package/dist/api/types/analytics.d.ts +23 -1
- package/dist/api/types/anpr.d.ts +0 -2
- 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 +2 -2
- package/dist/api/types/detections.d.ts +0 -9
- package/dist/api/types/drone.d.ts +6 -5
- 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 +3 -3
- package/dist/api/types/snapshots.d.ts +8 -0
- package/dist/api/types/timelapse.d.ts +2 -6
- package/dist/index.js +526 -556
- 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 +13 -3
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _360Floor, _360FloorId, _360Marker3D, _360Pin, _360ProjectJsonResponse, _360ProjectListItem, _360Scene, _360SceneRoute, _360Walk, Point3D, DroneBimData, DroneImageryPlan, DroneMarker, DroneModel, DroneProjectData, DroneProjectDataPatch,
|
|
1
|
+
import { _360Floor, _360FloorId, _360Marker3D, _360Pin, _360ProjectJsonResponse, _360ProjectListItem, _360Scene, _360SceneRoute, _360Walk, Point3D, DroneBimData, DroneImageryPlan, DroneMarker, DroneModel, DroneProjectData, DroneProjectDataPatch, DroneTag, DroneTransformPatch, ForgeMarker, ForgeProjectData, ForgeView, ItwinProjectData, MapView, PlannerListItem, SitePlan, ProjectExid, SiteViewCameraListItem, SiteViewerType, DroneCameraTransform } from "@evercam/api/types";
|
|
2
2
|
import { AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare const getFirebaseDbApi: () => string;
|
|
4
4
|
export declare const getFirebaseStorageUrl: () => string;
|
|
@@ -7,9 +7,7 @@ export declare const getForgeTokenServerUrl: () => string;
|
|
|
7
7
|
export declare const _3dFirebaseApi: {
|
|
8
8
|
drone: {
|
|
9
9
|
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectData>;
|
|
10
|
-
getTransformInfo(projectExid: ProjectExid): Promise<DroneProjectTransform>;
|
|
11
10
|
getProjectTags(projectExid: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
12
|
-
getTags(projectId: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
13
11
|
patchTags({ projectId, tags, }: {
|
|
14
12
|
projectId: ProjectExid;
|
|
15
13
|
tags: Record<string, DroneTag | null>;
|
|
@@ -72,11 +70,8 @@ export declare const _3dFirebaseApi: {
|
|
|
72
70
|
updateProjectsListItem(index: number, data: _360ProjectListItem): Promise<void>;
|
|
73
71
|
deleteProject(projectId: string): Promise<void>;
|
|
74
72
|
updateProjectInfo(projectId: string, data: Partial<_360ProjectJsonResponse>): Promise<void>;
|
|
75
|
-
getDateWalks(projectExid: ProjectExid, dateId: string): Promise<_360Walk>;
|
|
76
73
|
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360Floor>): Promise<_360ProjectJsonResponse>;
|
|
77
74
|
getRoute(projectExid: ProjectExid, dateId: string, floorIndex: string): Promise<_360SceneRoute | null>;
|
|
78
|
-
getDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
79
|
-
getAerialShotsDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
80
75
|
getAerialShotDate(projectId: ProjectExid, dateId: number): Promise<string | null>;
|
|
81
76
|
getFloor({ projectId, dateId, floorId, }: {
|
|
82
77
|
projectId: ProjectExid;
|
|
@@ -133,14 +128,13 @@ export declare const _3dFirebaseApi: {
|
|
|
133
128
|
getProjectDateFloors({ projectId, dateId, }: {
|
|
134
129
|
projectId: ProjectExid;
|
|
135
130
|
dateId: string | number;
|
|
136
|
-
}): Promise<
|
|
131
|
+
}): Promise<_360Walk>;
|
|
137
132
|
};
|
|
138
133
|
forge: {
|
|
139
134
|
getAccessToken(): Promise<{
|
|
140
135
|
access_token: string;
|
|
141
136
|
}>;
|
|
142
137
|
getProjectInfo(projectExid: ProjectExid): Promise<ForgeProjectData | null>;
|
|
143
|
-
getForgeData(projectId: string): Promise<ForgeProjectData | null>;
|
|
144
138
|
saveSavedView(projectId: string, payload: ForgeView): Promise<void>;
|
|
145
139
|
saveMarkers(projectId: string, markers: ForgeMarker[]): Promise<void>;
|
|
146
140
|
};
|
|
@@ -151,13 +145,12 @@ export declare const _3dFirebaseApi: {
|
|
|
151
145
|
};
|
|
152
146
|
siteView: {
|
|
153
147
|
getCamerasList(): Promise<SiteViewCameraListItem[]>;
|
|
154
|
-
updateCamerasList(items: Record<
|
|
148
|
+
updateCamerasList(items: Record<number, SiteViewCameraListItem>): Promise<void>;
|
|
155
149
|
updateCamerasListItem(trueIndex: number, item: SiteViewCameraListItem): Promise<void>;
|
|
156
|
-
updateProjectData({ viewerType, projectId, data,
|
|
150
|
+
updateProjectData({ viewerType, projectId, data, }: {
|
|
157
151
|
viewerType: SiteViewerType;
|
|
158
152
|
projectId: ProjectExid;
|
|
159
153
|
data: ForgeProjectData | ItwinProjectData | DroneProjectDataPatch;
|
|
160
|
-
subPath?: string;
|
|
161
154
|
}): Promise<void>;
|
|
162
155
|
deleteProjectData(viewerType: SiteViewerType, projectId: ProjectExid): Promise<void>;
|
|
163
156
|
readAllData(dbLink: string): Promise<Record<string, unknown>>;
|
|
@@ -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",
|
|
@@ -583,5 +585,25 @@ export declare enum AnalyticsEvent {
|
|
|
583
585
|
AskAIClickVoice = "AskAI-ClickVoice",
|
|
584
586
|
AskAIClickFullscreen = "AskAI-ClickFullscreen",
|
|
585
587
|
AskAIExitFullscreen = "AskAI-ExitFullscreen",
|
|
586
|
-
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"
|
|
587
609
|
}
|
package/dist/api/types/anpr.d.ts
CHANGED
|
@@ -104,11 +104,9 @@ export declare enum AnprEventStatus {
|
|
|
104
104
|
export type AnprBulkUpdateRequestPayload = {
|
|
105
105
|
anprEventsIds: number[];
|
|
106
106
|
action: AnprEventStatus;
|
|
107
|
-
updatedBy: string;
|
|
108
107
|
};
|
|
109
108
|
export type AnprUpdateRequestPayload = {
|
|
110
109
|
plateNumber: string;
|
|
111
110
|
vehicleType: GateReportVehicleType;
|
|
112
111
|
direction: AnprDirection;
|
|
113
|
-
updatedBy: string;
|
|
114
112
|
};
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid, PaginationParams, TuplePoint2D } 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",
|
|
@@ -37,7 +37,7 @@ export type Comment = {
|
|
|
37
37
|
creatorEmail?: string;
|
|
38
38
|
creatorName?: string;
|
|
39
39
|
position2d?: TuplePoint2D;
|
|
40
|
-
position3d?:
|
|
40
|
+
position3d?: TuplePoint3D;
|
|
41
41
|
context?: Record<string, unknown>;
|
|
42
42
|
canDelete?: boolean;
|
|
43
43
|
archivedAt?: string;
|
|
@@ -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;
|
|
@@ -6,13 +6,13 @@ export type DroneCameraTransform = {
|
|
|
6
6
|
right: Point3D;
|
|
7
7
|
};
|
|
8
8
|
export type DroneModel = {
|
|
9
|
-
cesiumId:
|
|
10
|
-
cesiumId2D:
|
|
9
|
+
cesiumId: number;
|
|
10
|
+
cesiumId2D: number;
|
|
11
11
|
date: string;
|
|
12
12
|
cesiumPointCloudId: string;
|
|
13
13
|
cesiumGausianSplatId: string;
|
|
14
14
|
pointSize: string;
|
|
15
|
-
maximumScreenSpaceError:
|
|
15
|
+
maximumScreenSpaceError: number;
|
|
16
16
|
link: string;
|
|
17
17
|
trueIndex: number;
|
|
18
18
|
};
|
|
@@ -29,10 +29,11 @@ export type DroneProjectTransform = {
|
|
|
29
29
|
};
|
|
30
30
|
export type DroneProjectData = {
|
|
31
31
|
models?: DroneModel[];
|
|
32
|
+
transform?: DroneProjectTransform;
|
|
32
33
|
integrationType?: DroneProvider;
|
|
33
34
|
origin?: string;
|
|
34
|
-
params?:
|
|
35
|
-
pointSize?:
|
|
35
|
+
params?: string;
|
|
36
|
+
pointSize?: number;
|
|
36
37
|
};
|
|
37
38
|
export type DroneProjectDataPatch = {
|
|
38
39
|
models?: Record<number, Partial<DroneModel>>;
|
|
@@ -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 = {
|
|
@@ -241,7 +241,7 @@ export type SmartSearchRequestPayload = {
|
|
|
241
241
|
fromDate?: string;
|
|
242
242
|
toDate?: string;
|
|
243
243
|
page?: number;
|
|
244
|
-
|
|
244
|
+
limit?: number;
|
|
245
245
|
threshold?: number;
|
|
246
246
|
};
|
|
247
247
|
type SmartSearchResultItemBase = {
|
|
@@ -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;
|