@evercam/api 1.0.0-feccd27be → 1.0.0-fefe23b74
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 +51 -17
- package/dist/api/api/adminApi.d.ts +5 -4
- package/dist/api/api/aiApi.d.ts +29 -2
- package/dist/api/api/authzApi.d.ts +4 -1
- package/dist/api/api/evercamApi.d.ts +17 -8
- package/dist/api/api/evercamLabsApi.d.ts +5 -5
- package/dist/api/api/ingestApi.d.ts +7 -0
- package/dist/api/types/360.d.ts +117 -3
- package/dist/api/types/analytics.d.ts +10 -1
- package/dist/api/types/authz.d.ts +46 -0
- package/dist/api/types/axios.d.ts +8 -4
- package/dist/api/types/bim.d.ts +9 -1
- package/dist/api/types/camera.d.ts +2 -1
- package/dist/api/types/comments.d.ts +2 -1
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/detections.d.ts +1 -0
- package/dist/api/types/errors.d.ts +11 -0
- package/dist/api/types/gateReport.d.ts +1 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/ingest.d.ts +11 -0
- package/dist/api/types/kit.d.ts +38 -2
- package/dist/api/types/media.d.ts +8 -2
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/posthog.d.ts +20 -0
- package/dist/api/types/recording.d.ts +3 -1
- package/dist/api/types/roi.d.ts +2 -1
- package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
- package/dist/api/types/siteView.d.ts +0 -1
- package/dist/api/types/user.d.ts +1 -3
- package/dist/index.js +925 -605
- 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 +53 -2
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/package.json +3 -1
|
@@ -1,4 +1,4 @@
|
|
|
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";
|
|
1
|
+
import { _360Floor, _360FloorId, _360Marker3D, _360Pin, _360ProjectJsonResponse, _360ProjectListItem, _360Scene, _360SceneRoute, _360CalibrationDetails, _360FloorData, _360FloorRef, _360ForgeProject, _360PinData, _360Route, _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;
|
|
@@ -70,9 +70,7 @@ export declare const _3dFirebaseApi: {
|
|
|
70
70
|
updateProjectsListItem(index: number, data: _360ProjectListItem): Promise<void>;
|
|
71
71
|
deleteProject(projectId: string): Promise<void>;
|
|
72
72
|
updateProjectInfo(projectId: string, data: Partial<_360ProjectJsonResponse>): Promise<void>;
|
|
73
|
-
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<
|
|
74
|
-
getRoute(projectExid: ProjectExid, dateId: string, floorIndex: string): Promise<_360SceneRoute | null>;
|
|
75
|
-
getAerialShotDate(projectId: ProjectExid, dateId: number): Promise<string | null>;
|
|
73
|
+
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360Scene["floors"][number]>): Promise<_360ProjectJsonResponse>;
|
|
76
74
|
getFloor({ projectId, dateId, floorId, }: {
|
|
77
75
|
projectId: ProjectExid;
|
|
78
76
|
dateId: number;
|
|
@@ -89,12 +87,6 @@ export declare const _3dFirebaseApi: {
|
|
|
89
87
|
floorId: _360FloorId;
|
|
90
88
|
markers: Record<string, _360Marker3D>;
|
|
91
89
|
}): Promise<void>;
|
|
92
|
-
patchFloor({ projectId, dateId, floorId, data, }: {
|
|
93
|
-
projectId: ProjectExid;
|
|
94
|
-
dateId: number;
|
|
95
|
-
floorId: _360FloorId;
|
|
96
|
-
data: Partial<_360Floor>;
|
|
97
|
-
}): Promise<void>;
|
|
98
90
|
updateFloors({ projectId, dateId, floors, }: {
|
|
99
91
|
projectId: ProjectExid;
|
|
100
92
|
dateId: number;
|
|
@@ -106,12 +98,6 @@ export declare const _3dFirebaseApi: {
|
|
|
106
98
|
floorId: _360FloorId;
|
|
107
99
|
}): Promise<void>;
|
|
108
100
|
updateDates(projectId: ProjectExid, dates: _360Scene[]): Promise<void>;
|
|
109
|
-
deleteDate(projectId: ProjectExid, dateId: number): Promise<void>;
|
|
110
|
-
getPins({ projectId, dateId, floorId, }: {
|
|
111
|
-
projectId: ProjectExid;
|
|
112
|
-
dateId: number;
|
|
113
|
-
floorId: _360FloorId;
|
|
114
|
-
}): Promise<Record<string, _360Pin>>;
|
|
115
101
|
updatePins({ projectId, dateId, floorId, pins, }: {
|
|
116
102
|
projectId: ProjectExid;
|
|
117
103
|
dateId: number;
|
|
@@ -122,12 +108,57 @@ export declare const _3dFirebaseApi: {
|
|
|
122
108
|
updateRoute(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360SceneRoute>): Promise<void>;
|
|
123
109
|
updateFeatureFlag(projectID: string, dateID: string, floorID: string, featureFlagName: string, value: boolean): Promise<void>;
|
|
124
110
|
saveSteps(projectID: string, dateID: string, floorID: string, stepsValue: number): Promise<void>;
|
|
111
|
+
getDates({ projectID, prefix, }: {
|
|
112
|
+
projectID: string;
|
|
113
|
+
prefix?: string;
|
|
114
|
+
}): Promise<_360Scene[] | null>;
|
|
115
|
+
getFloorData({ projectID, dateID, floorID, prefix, }: _360FloorRef & {
|
|
116
|
+
prefix?: string;
|
|
117
|
+
}): Promise<_360FloorData>;
|
|
118
|
+
patchFloor({ projectID, dateID, floorID, body, }: _360FloorRef & {
|
|
119
|
+
body: Record<string, unknown>;
|
|
120
|
+
}): Promise<Record<string, unknown>>;
|
|
121
|
+
deleteMarkers({ projectID, dateID, floorID }: _360FloorRef): Promise<void>;
|
|
122
|
+
patchMarkers({ projectID, dateID, floorID, markers, }: _360FloorRef & {
|
|
123
|
+
markers: Record<string, unknown>;
|
|
124
|
+
}): Promise<Record<string, unknown>>;
|
|
125
|
+
putMarkers({ projectID, dateID, floorID, markers, }: _360FloorRef & {
|
|
126
|
+
markers: Record<string, unknown>;
|
|
127
|
+
}): Promise<any>;
|
|
128
|
+
putFloors({ projectID, dateID, floors, }: {
|
|
129
|
+
projectID: string;
|
|
130
|
+
dateID: string;
|
|
131
|
+
floors: unknown[];
|
|
132
|
+
}): Promise<unknown[]>;
|
|
133
|
+
deleteFloorData({ projectID, dateID, floorID, }: _360FloorRef): Promise<void>;
|
|
134
|
+
putDates({ projectID, dates, }: {
|
|
135
|
+
projectID: string;
|
|
136
|
+
dates: _360Scene[];
|
|
137
|
+
}): Promise<_360Scene[]>;
|
|
138
|
+
deleteDate({ projectID, dateID, }: {
|
|
139
|
+
projectID: string;
|
|
140
|
+
dateID: string;
|
|
141
|
+
}): Promise<void>;
|
|
142
|
+
getPins({ projectID, dateID, floorID, }: _360FloorRef): Promise<Record<string, _360PinData> | null>;
|
|
143
|
+
putPins({ projectID, dateID, floorID, pins, }: _360FloorRef & {
|
|
144
|
+
pins: Record<string, _360PinData>;
|
|
145
|
+
}): Promise<Record<string, _360PinData> | null>;
|
|
146
|
+
patchCalibrationDetails({ projectID, dateID, floorID, details, }: _360FloorRef & {
|
|
147
|
+
details: Partial<_360CalibrationDetails>;
|
|
148
|
+
}): Promise<Partial<_360CalibrationDetails>>;
|
|
149
|
+
getDateWalks(projectExid: ProjectExid, dateId: string): Promise<Record<string, unknown> | null>;
|
|
150
|
+
getRoute({ projectID, dateID, floorID, }: _360FloorRef): Promise<_360Route | null>;
|
|
151
|
+
getAerialShotDate({ projectID, dateID, }: {
|
|
152
|
+
projectID: string;
|
|
153
|
+
dateID: string;
|
|
154
|
+
}): Promise<string>;
|
|
125
155
|
updateGPXFile(projectExid: ProjectExid, dateId: string, floorIndex: string, gpxContent: string): Promise<void>;
|
|
126
156
|
getProjectDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
127
157
|
getProjectAerialShotsDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
128
|
-
getProjectDateFloors({ projectId, dateId, }: {
|
|
158
|
+
getProjectDateFloors({ projectId, dateId, prefix, }: {
|
|
129
159
|
projectId: ProjectExid;
|
|
130
160
|
dateId: string | number;
|
|
161
|
+
prefix?: string;
|
|
131
162
|
}): Promise<_360Walk>;
|
|
132
163
|
};
|
|
133
164
|
forge: {
|
|
@@ -137,6 +168,9 @@ export declare const _3dFirebaseApi: {
|
|
|
137
168
|
getProjectInfo(projectExid: ProjectExid): Promise<ForgeProjectData | null>;
|
|
138
169
|
saveSavedView(projectId: string, payload: ForgeView): Promise<void>;
|
|
139
170
|
saveMarkers(projectId: string, markers: ForgeMarker[]): Promise<void>;
|
|
171
|
+
getForgeProject({ projectID, }: {
|
|
172
|
+
projectID: string;
|
|
173
|
+
}): Promise<_360ForgeProject | null>;
|
|
140
174
|
};
|
|
141
175
|
itwin: {
|
|
142
176
|
getProjectInfo(projectId: string): Promise<ItwinProjectData | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FootageCreateUpdatePayload, HDDCreateUpdatePayload, HDDsQueryParams } from "@evercam/api/types/hdd";
|
|
2
2
|
import type { OAuthClient, OAuthClientWithSecret, AdminCreateOAuthClientPayload, UpdateOAuthClientPayload } from "@evercam/api/types/oauth";
|
|
3
|
-
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, AdminProjectDetail, AdminProjectListItem, AdminHdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageProvidersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, SaveNotePayload, CameraNote, CreateCameraNotePayload, CompanyQueryParams, CompanySummary, CompanyUpdatePayload, SsoProvider, SsoUpdatePayload, SsoCreatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitCreatePayload, AdminKit, KitMetricStatsEntry, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, AdminWidget, AdminWidgetFull, WidgetPayload, PaginationParams, KitStorageRequestPayload, AdminCompanyUser, AdminCompanyProject, CompanyKit, CompanyCameraSummary, Automation, KitStorage, KitFootageRequestPayload, CommentsListRequestPayload, Comment, KitFootage, KitAlarmItem, RecycleBin, RecycleBinQueryParams, TransferCloudRecordingsQueryParams, SnapshotTransfer, CheckCameraPortPayload, CameraStatusLog, KitBox, KitBoxCreatePayload, KitBoxQueryParams, AdminInvite, AdminSearchItem, WithZohoParams, ZohoDeskTicketSearchResponse, JsonObject, ProjectStorageQueryParams, ProjectStorage, StorageProvider, AnprExtraction, AnprExtractionCreatePayload } from "@evercam/api/types";
|
|
3
|
+
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, AdminProjectDetail, AdminProjectListItem, AdminHdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageProvidersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, SaveNotePayload, CameraNote, CreateCameraNotePayload, CompanyQueryParams, CompanySummary, CompanyUpdatePayload, SsoProvider, SsoUpdatePayload, SsoCreatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitCreatePayload, AdminKit, KitMetricStatsEntry, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, AdminWidget, AdminWidgetFull, WidgetPayload, PaginationParams, KitStorageRequestPayload, AdminCompanyUser, AdminCompanyProject, CompanyKit, CompanyCameraSummary, Automation, KitStorage, KitFootageRequestPayload, CommentsListRequestPayload, Comment, KitFootage, KitAlarmItem, KitSupportChecklist, RecycleBin, RecycleBinQueryParams, TransferCloudRecordingsQueryParams, SnapshotTransfer, CheckCameraPortPayload, CameraStatusLog, KitBox, KitBoxCreatePayload, KitBoxQueryParams, AdminInvite, AdminSearchItem, WithZohoParams, ZohoDeskTicketSearchResponse, JsonObject, ProjectStorageQueryParams, ProjectStorage, StorageProvider, AnprExtraction, AnprExtractionCreatePayload } from "@evercam/api/types";
|
|
4
4
|
import { KitMetricId } from "@evercam/api/types";
|
|
5
5
|
import { Tag } from "@evercam/api/types/tag";
|
|
6
6
|
import type { AxiosRequestConfig } from "axios";
|
|
@@ -159,12 +159,12 @@ export declare const AdminApi: {
|
|
|
159
159
|
createKit(params: KitCreatePayload): Promise<AdminKit>;
|
|
160
160
|
updateKit(id: string, params: PatchPayload<Kit>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
161
161
|
deleteKit(id: string, params: JsonObject): Promise<void>;
|
|
162
|
-
getKitStats({ kitId, metric, fromDate, toDate, }: {
|
|
162
|
+
getKitStats<T = KitMetricStatsEntry>({ kitId, metric, fromDate, toDate, }: {
|
|
163
163
|
kitId: number;
|
|
164
164
|
metric: KitMetricId;
|
|
165
165
|
fromDate: string;
|
|
166
166
|
toDate: string;
|
|
167
|
-
}): Promise<
|
|
167
|
+
}): Promise<T[]>;
|
|
168
168
|
attachTag(kitId: number, tagId: number): Promise<void>;
|
|
169
169
|
detachTag(kitId: number, tagId: number): Promise<void>;
|
|
170
170
|
getStorages(params: {
|
|
@@ -174,6 +174,7 @@ export declare const AdminApi: {
|
|
|
174
174
|
params?: KitFootageRequestPayload;
|
|
175
175
|
}): Promise<KitFootage[]>;
|
|
176
176
|
getAlarms(kitId: number): Promise<KitAlarmItem[]>;
|
|
177
|
+
runSupportChecklist(kitId: number): Promise<KitSupportChecklist>;
|
|
177
178
|
getBoxes(params: {
|
|
178
179
|
params: Partial<KitBoxQueryParams>;
|
|
179
180
|
}): Promise<PaginatedItems<KitBox>>;
|
|
@@ -339,7 +340,7 @@ export declare const AdminApi: {
|
|
|
339
340
|
message: string;
|
|
340
341
|
}>;
|
|
341
342
|
deleteUser(email: string, params: {
|
|
342
|
-
|
|
343
|
+
verifEmail: string;
|
|
343
344
|
}): Promise<void | {
|
|
344
345
|
message: string;
|
|
345
346
|
}>;
|
package/dist/api/api/aiApi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, VerifiedDaysQueryParams, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, RoisQueryParams, GateReportRoiRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchBackendQueryPayload, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchBackendQuery, SmartSearchHeatmapData, SmartSearchOperatorType, DetectionLabel, SmartSearchResponse, SmartSearchRequestPayload, LegacyAnprExportParams, AnprBulkUpdateRequestPayload, AnprUpdateRequestPayload, SmartSearchQueriesRequestPayload, _360FloorId, CreateCoolifyAppRequestPayload, RegisterCoolifyAppResponsePayload, SaveCoolifyAppRequestPayload, SegmentsCountsParams, SegmentsPresenceResponse, AiPrompt, AiPromptCreatePayload, AiPromptCreateResponse, AiPromptDeleteResponse, AiPromptListResponse, AiPromptQueryParams, AiPromptUpdatePayload, AiPromptUpdateResponse, AiApiKey, AiApiKeyCreatePayload, AiApiKeyCreateResponse, AiApiKeyDeleteResponse, AiApiKeyQueryParams, AiApiKeyUpdatePayload, AiApiKeyUpdateResponse, APIEnvelope, AppActionResponse, AppRuntimeState, CoolifyProjectOption, CoolifyServerOption, CreateGateReportAppPayload, CreateGateReportAppResponse, GateReportAppEvents, GateReportManagedApp, GateReportManagementListParams, UpdateGateReportAppPayload } from "@evercam/api/types";
|
|
1
|
+
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, VerifiedDaysQueryParams, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, RoisQueryParams, GateReportRoiRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchBackendQueryPayload, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, ObservationEvent, ObservationEventsQueryParams, ObservationEventsCountsQueryParams, ObservationEventsExportQueryParams, ObservationApprovalUpdateResponse, ObservationEventCount, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchBackendQuery, SmartSearchHeatmapData, SmartSearchOperatorType, DetectionLabel, SmartSearchResponse, SmartSearchRequestPayload, LegacyAnprExportParams, AnprBulkUpdateRequestPayload, AnprUpdateRequestPayload, SmartSearchQueriesRequestPayload, _360FloorId, CreateCoolifyAppRequestPayload, RegisterCoolifyAppResponsePayload, SaveCoolifyAppRequestPayload, SegmentsCountsParams, SegmentsPresenceResponse, AiPrompt, AiPromptCreatePayload, AiPromptCreateResponse, AiPromptDeleteResponse, AiPromptListResponse, AiPromptQueryParams, AiPromptUpdatePayload, AiPromptUpdateResponse, AiApiKey, AiApiKeyCreatePayload, AiApiKeyCreateResponse, AiApiKeyDeleteResponse, AiApiKeyQueryParams, AiApiKeyUpdatePayload, AiApiKeyUpdateResponse, APIEnvelope, AppActionResponse, AppRuntimeState, CoolifyProjectOption, CoolifyServerOption, CreateGateReportAppPayload, CreateGateReportAppResponse, GateReportAppEvents, GateReportManagedApp, GateReportManagementListParams, UpdateGateReportAppPayload, CreateSiteAnalyticsAppPayload, CreateSiteAnalyticsAppResponse, DeleteSiteAnalyticsAppResponse, ModelOption, SiteAnalyticsManagedApp, SiteAnalyticsManagementListParams, UpdateSiteAnalyticsAppPayload } from "@evercam/api/types";
|
|
2
2
|
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare const getAiApiUrl: () => string;
|
|
4
4
|
export declare const getAiApiUrlV2: () => string;
|
|
@@ -22,13 +22,13 @@ export declare const AiApi: {
|
|
|
22
22
|
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<string[]>;
|
|
23
23
|
getEvents(projectExid: ProjectExid, params: GatReportRequestPayload, extraParams?: AxiosRequestConfig): Promise<GateReportResponsePayload>;
|
|
24
24
|
getCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
25
|
-
getGateReportProjectsInfos(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
25
|
};
|
|
27
26
|
brainTool: {
|
|
28
27
|
getObjectDetectionsResults(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
28
|
};
|
|
30
29
|
roi: {
|
|
31
30
|
getROIs(projectExid: string, params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
|
|
31
|
+
listROIs(params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
|
|
32
32
|
createROI(params: Omit<GateReportRoiRequestPayload, "id"> & {
|
|
33
33
|
createdBy?: string;
|
|
34
34
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -52,6 +52,24 @@ export declare const AiApi: {
|
|
|
52
52
|
getDetectionsPresenceDateIntervals({ projectExid, ...params }: DetectionsCountsParams): Promise<DetectionsPresenceByLabel>;
|
|
53
53
|
requestExport({ projectExid, ...params }: DetectionsExportRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
54
|
};
|
|
55
|
+
observations: {
|
|
56
|
+
getEvents({ projectExid, ...params }: {
|
|
57
|
+
projectExid: ProjectExid;
|
|
58
|
+
} & ObservationEventsQueryParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<ObservationEvent>>;
|
|
59
|
+
getCounts({ projectExid, ...params }: {
|
|
60
|
+
projectExid: ProjectExid;
|
|
61
|
+
} & ObservationEventsCountsQueryParams, extraParams?: AxiosRequestConfig): Promise<APIEnvelope<ObservationEventCount[]>>;
|
|
62
|
+
exportEvents({ projectExid, ...params }: {
|
|
63
|
+
projectExid: ProjectExid;
|
|
64
|
+
} & ObservationEventsExportQueryParams, extraParams?: AxiosRequestConfig): Promise<Blob | {
|
|
65
|
+
message: string;
|
|
66
|
+
}>;
|
|
67
|
+
updateEventApproval({ projectExid, eventId, isApproved, }: {
|
|
68
|
+
projectExid: ProjectExid;
|
|
69
|
+
eventId: number;
|
|
70
|
+
isApproved: boolean | null;
|
|
71
|
+
}): Promise<ObservationApprovalUpdateResponse>;
|
|
72
|
+
};
|
|
55
73
|
siteAnalytics: {
|
|
56
74
|
smartSearchAll(projectExid: ProjectExid, params: SmartSearchRequestPayload): Promise<SmartSearchResponse>;
|
|
57
75
|
smartSearchFirstLastSeen(projectExid: ProjectExid, params: SmartSearchRequestPayload): Promise<SmartSearchResponse>;
|
|
@@ -93,6 +111,15 @@ export declare const AiApi: {
|
|
|
93
111
|
operator?: SmartSearchOperatorType;
|
|
94
112
|
}): Promise<SmartSearchHeatmapData[]>;
|
|
95
113
|
};
|
|
114
|
+
siteAnalyticsManagement: {
|
|
115
|
+
listApps(params?: SiteAnalyticsManagementListParams): Promise<PaginatedItems<SiteAnalyticsManagedApp>>;
|
|
116
|
+
createApp(payload: CreateSiteAnalyticsAppPayload): Promise<CreateSiteAnalyticsAppResponse>;
|
|
117
|
+
updateApp(projectExid: ProjectExid, cameraExid: CameraExid, payload: UpdateSiteAnalyticsAppPayload): Promise<APIEnvelope<SiteAnalyticsManagedApp>>;
|
|
118
|
+
deleteApp(projectExid: ProjectExid, cameraExid: CameraExid): Promise<DeleteSiteAnalyticsAppResponse>;
|
|
119
|
+
setAppState(projectExid: ProjectExid, cameraExid: CameraExid, state: AppRuntimeState): Promise<APIEnvelope<AppActionResponse>>;
|
|
120
|
+
listCoolifyServers(): Promise<APIEnvelope<CoolifyServerOption[]>>;
|
|
121
|
+
listModelVersions(): Promise<APIEnvelope<ModelOption[]>>;
|
|
122
|
+
};
|
|
96
123
|
coolify: {
|
|
97
124
|
getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
98
125
|
createAppOnCoolify({ projectExid, cameraExid, payload, }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthzRoleUser, AuthzScope, AuthzScopeCreatePayload, AuthzScopeUpdatePayload, AuthzUserRolesResponse, ProjectExid, ProjectResourceRole, ProjectRoleRequestPayload, Role, RoleResourceType } from "@evercam/api/types";
|
|
1
|
+
import type { AuthzRoleUser, AuthzScope, AuthzScopeCreatePayload, AuthzScopeUpdatePayload, AuthzUserRolesResponse, PaginatedItems, ProjectExid, ProjectResourceRole, ProjectRoleRequestPayload, Role, RoleAssignmentLog, RoleAssignmentLogsParams, RoleResourceType } from "@evercam/api/types";
|
|
2
2
|
import type { AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare const AuthzApi: {
|
|
4
4
|
roles: {
|
|
@@ -18,6 +18,9 @@ export declare const AuthzApi: {
|
|
|
18
18
|
deletePermission(id: number, action: string): Promise<void>;
|
|
19
19
|
getRoleUsers(id: number): Promise<AuthzRoleUser[]>;
|
|
20
20
|
assignUsers(roleId: number, emails: Array<string>, resourceId?: string): Promise<void>;
|
|
21
|
+
getAssignments(params: AxiosRequestConfig & {
|
|
22
|
+
params: Partial<RoleAssignmentLogsParams>;
|
|
23
|
+
}): Promise<PaginatedItems<RoleAssignmentLog>>;
|
|
21
24
|
getUserRoles(projectExid?: ProjectExid, resourceType?: RoleResourceType): Promise<AuthzUserRolesResponse>;
|
|
22
25
|
};
|
|
23
26
|
projectRoles: {
|
|
@@ -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,
|
|
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, 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, SnapshotRequestPayload, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, HammertechConnectPayload, HammertechProject, HammertechIssueType, HammertechLocation, HammertechCreateIssuePayload, HammertechIssueResponse, HammertechStoredFilePayload, HammertechStoredFileResponse, 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>;
|
|
@@ -46,7 +46,7 @@ export declare const EvercamApi: {
|
|
|
46
46
|
update(email: string, params?: Partial<UserUpdateRequestPayload>): Promise<{
|
|
47
47
|
users: User[];
|
|
48
48
|
}>;
|
|
49
|
-
|
|
49
|
+
deleteAccount(): Promise<void>;
|
|
50
50
|
fetchPermissions(): Promise<{
|
|
51
51
|
permissions: string[];
|
|
52
52
|
}>;
|
|
@@ -193,6 +193,15 @@ export declare const EvercamApi: {
|
|
|
193
193
|
connect(payload: VoyageControlConnectorPayload): Promise<void>;
|
|
194
194
|
sendRevoke(): Promise<void>;
|
|
195
195
|
};
|
|
196
|
+
hammertech: {
|
|
197
|
+
connect(payload: HammertechConnectPayload): Promise<void>;
|
|
198
|
+
revoke(): Promise<void>;
|
|
199
|
+
getProjects(): Promise<HammertechProject[]>;
|
|
200
|
+
getIssueTypes(projectId: string): Promise<HammertechIssueType[]>;
|
|
201
|
+
getLocations(projectId: string): Promise<HammertechLocation[]>;
|
|
202
|
+
createIssue(payload: HammertechCreateIssuePayload): Promise<HammertechIssueResponse>;
|
|
203
|
+
createStoredFile(payload: HammertechStoredFilePayload): Promise<HammertechStoredFileResponse>;
|
|
204
|
+
};
|
|
196
205
|
ring: {
|
|
197
206
|
authenticate(payload: {
|
|
198
207
|
code: string;
|
|
@@ -213,13 +222,13 @@ export declare const EvercamApi: {
|
|
|
213
222
|
revoke(projectExid: string): Promise<void>;
|
|
214
223
|
};
|
|
215
224
|
recordings: {
|
|
216
|
-
oldest(cameraId: string, payload?:
|
|
217
|
-
latest(cameraId: string, payload?:
|
|
218
|
-
nearest(cameraId: string, timestamp: string, payload?:
|
|
219
|
-
availableDays({ cameraId, year, month, payload, }: AvailableDaysRequestPayload): Promise<AvailableDaysResponsePayload>;
|
|
225
|
+
oldest(cameraId: string, payload?: SnapshotRequestPayload): Promise<Snapshot>;
|
|
226
|
+
latest(cameraId: string, payload?: SnapshotRequestPayload): Promise<Snapshot>;
|
|
227
|
+
nearest(cameraId: string, timestamp: string, payload?: SnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<NearestSnapshotResponsePayload>;
|
|
228
|
+
availableDays({ cameraId, year, month, payload, cancelToken, }: AvailableDaysRequestPayload): Promise<AvailableDaysResponsePayload>;
|
|
220
229
|
availableHours({ cameraId, year, month, day, payload, cancelToken, }: AvailableHoursRequestPayload): Promise<AvailableHoursResponsePayload>;
|
|
221
230
|
getSnapshot(cameraId: string, dateTime: string): Promise<SnapshotRangeResponsePayload>;
|
|
222
|
-
getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload): Promise<SnapshotRangeResponsePayload>;
|
|
231
|
+
getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload, extraParams?: AxiosRequestConfig): Promise<SnapshotRangeResponsePayload>;
|
|
223
232
|
};
|
|
224
233
|
progressPhotos: {
|
|
225
234
|
index(projectId: string): Promise<ProgressPhotosResponsePayload>;
|
|
@@ -245,7 +254,7 @@ export declare const EvercamApi: {
|
|
|
245
254
|
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
246
255
|
};
|
|
247
256
|
company: {
|
|
248
|
-
show(companyId
|
|
257
|
+
show(companyId?: string, params?: {
|
|
249
258
|
with_zoho?: boolean;
|
|
250
259
|
}): Promise<CompanySummary>;
|
|
251
260
|
getCompanyUsers(params: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, ActiveUsersResponsePayload, ActiveUsersRequestPayload, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint, SiteAnalyticsProcessingStatusPayload, SiteAnalyticsProcessingStatus } from "@evercam/api/types";
|
|
2
|
-
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
|
-
import type { SwrRequestConfig } from "@evercam/api/types";
|
|
1
|
+
import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, ActiveUsersResponsePayload, ActiveUsersRequestPayload, PosthogUsersRequestParams, PosthogUsersResponse, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint, SiteAnalyticsProcessingStatusPayload, SiteAnalyticsProcessingStatus, SwrRequestConfig, GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
4
2
|
export declare function getLabsBaseUrl(): string | null | undefined;
|
|
5
3
|
export declare const EvercamLabsApi: {
|
|
6
4
|
posthog: {
|
|
7
5
|
getEvents(params: any): Promise<PaginatedItems<any>>;
|
|
8
|
-
getUsers(params:
|
|
9
|
-
getActiveUsers(params: ActiveUsersRequestPayload): Promise<
|
|
6
|
+
getUsers(params: PosthogUsersRequestParams): Promise<PosthogUsersResponse>;
|
|
7
|
+
getActiveUsers(params: ActiveUsersRequestPayload): Promise<{
|
|
8
|
+
data: ActiveUsersResponsePayload;
|
|
9
|
+
}>;
|
|
10
10
|
};
|
|
11
11
|
copilot: {
|
|
12
12
|
getAllConversations(params: LabsPaginationParams & {
|
|
@@ -64,6 +64,7 @@ export declare const IngestApi: {
|
|
|
64
64
|
getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
|
|
65
65
|
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
|
|
66
66
|
deleteDrawing(id: number): Promise<void>;
|
|
67
|
+
restoreDrawing(id: number): Promise<void>;
|
|
67
68
|
transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
|
|
68
69
|
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
|
|
69
70
|
fetchDrawingOverlay(id: number, params: {
|
|
@@ -88,6 +89,9 @@ export declare const IngestApi: {
|
|
|
88
89
|
name: string;
|
|
89
90
|
}, payload: BimUploadPayload): Promise<void>;
|
|
90
91
|
};
|
|
92
|
+
webhook: {
|
|
93
|
+
notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
|
|
94
|
+
};
|
|
91
95
|
mobileCapture: {
|
|
92
96
|
getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
|
|
93
97
|
getMobileAssetPhoto(assetId: string | number, params: {
|
|
@@ -110,11 +114,13 @@ export declare const IngestApi: {
|
|
|
110
114
|
modelZip: string;
|
|
111
115
|
orthomosaicZip: string;
|
|
112
116
|
reportPdf: string;
|
|
117
|
+
processingLog: string;
|
|
113
118
|
uploadedBy: string;
|
|
114
119
|
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
115
120
|
modelCesiumAssetId: string;
|
|
116
121
|
updatedAt: string;
|
|
117
122
|
hasTusLinks: boolean;
|
|
123
|
+
aerialShots: import("@evercam/api/types").AerialShotItem[];
|
|
118
124
|
} | {
|
|
119
125
|
ingestVersion: string;
|
|
120
126
|
archive: string;
|
|
@@ -135,6 +141,7 @@ export declare const IngestApi: {
|
|
|
135
141
|
processingStatus: string;
|
|
136
142
|
projectId: string;
|
|
137
143
|
report: string;
|
|
144
|
+
processingLog: string;
|
|
138
145
|
route: unknown | null;
|
|
139
146
|
startPosition: unknown | null;
|
|
140
147
|
tusLinks: unknown | null;
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export type _360WalkV2 = {
|
|
|
92
92
|
processingStatus: string;
|
|
93
93
|
projectId: string;
|
|
94
94
|
report: string;
|
|
95
|
+
processingLog: string;
|
|
95
96
|
route: unknown | null;
|
|
96
97
|
startPosition: unknown | null;
|
|
97
98
|
tusLinks: unknown | null;
|
|
@@ -112,10 +113,11 @@ export type _360FloorV2 = {
|
|
|
112
113
|
overlayPosition: _360OverlayPosition;
|
|
113
114
|
insertedAt: string;
|
|
114
115
|
updatedAt: string;
|
|
116
|
+
deletedAt: string | null;
|
|
115
117
|
};
|
|
116
118
|
export type _360Scene = {
|
|
117
119
|
date: string;
|
|
118
|
-
dateID: number;
|
|
120
|
+
dateID: string | number;
|
|
119
121
|
floors: {
|
|
120
122
|
floorID: _360FloorId;
|
|
121
123
|
name: string;
|
|
@@ -181,12 +183,23 @@ export type MobileCaptureSnapshot = {
|
|
|
181
183
|
thumbnailUrl: string;
|
|
182
184
|
};
|
|
183
185
|
export declare enum _360UrlParams {
|
|
184
|
-
DateId = "
|
|
186
|
+
DateId = "dateId",
|
|
185
187
|
Date = "date",
|
|
186
188
|
Floor = "floor",
|
|
187
189
|
Marker = "marker",
|
|
188
190
|
PolarAngle = "polarAngle",
|
|
189
|
-
AzimuthAngle = "azimuthAngle"
|
|
191
|
+
AzimuthAngle = "azimuthAngle",
|
|
192
|
+
Zoom = "zoom",
|
|
193
|
+
User = "user",
|
|
194
|
+
ViewerMode = "viewer_mode",
|
|
195
|
+
ProjectId = "projectId",
|
|
196
|
+
Unit = "unit",
|
|
197
|
+
LockDate = "lockDate",
|
|
198
|
+
LockFloor = "lockFloor",
|
|
199
|
+
LockMarker = "lockMarker",
|
|
200
|
+
IsWidget = "isWidget",
|
|
201
|
+
MediaLocked = "mediaLocked",
|
|
202
|
+
Debug = "debug"
|
|
190
203
|
}
|
|
191
204
|
export declare enum _360AssetType {
|
|
192
205
|
Video = "video",
|
|
@@ -243,6 +256,7 @@ export type DrawingsRequestPayload = {
|
|
|
243
256
|
limit?: number;
|
|
244
257
|
paginate?: boolean;
|
|
245
258
|
withAsset?: boolean;
|
|
259
|
+
includeDeleted?: boolean;
|
|
246
260
|
};
|
|
247
261
|
export type GenerateFloorPayload = {
|
|
248
262
|
overlay?: {
|
|
@@ -278,4 +292,104 @@ export type Generate360MapRequestPayload = {
|
|
|
278
292
|
cameraOffset: string;
|
|
279
293
|
startPoint: string;
|
|
280
294
|
endPoint: string;
|
|
295
|
+
drawingId?: number;
|
|
296
|
+
markers?: Array<{
|
|
297
|
+
position: {
|
|
298
|
+
x: number;
|
|
299
|
+
y: number;
|
|
300
|
+
z: number;
|
|
301
|
+
};
|
|
302
|
+
}>;
|
|
303
|
+
startPointIndex?: number;
|
|
304
|
+
endPointIndex?: number;
|
|
305
|
+
};
|
|
306
|
+
export declare enum EModelsType {
|
|
307
|
+
FBX = "FBX",
|
|
308
|
+
PointCloud = "PLY"
|
|
309
|
+
}
|
|
310
|
+
export type _360FloorRef = {
|
|
311
|
+
projectID: string;
|
|
312
|
+
dateID: string;
|
|
313
|
+
floorID: string;
|
|
314
|
+
};
|
|
315
|
+
export type _360Vector3 = {
|
|
316
|
+
x: number;
|
|
317
|
+
y: number;
|
|
318
|
+
z: number;
|
|
319
|
+
};
|
|
320
|
+
export type _360MarkerData = {
|
|
321
|
+
cameraPosition: _360Vector3;
|
|
322
|
+
nextRoomId: string;
|
|
323
|
+
position: _360Vector3;
|
|
324
|
+
geolocation: {
|
|
325
|
+
latitude: number;
|
|
326
|
+
longitude: number;
|
|
327
|
+
};
|
|
328
|
+
rotation: {
|
|
329
|
+
_order: string;
|
|
330
|
+
_x: number;
|
|
331
|
+
_y: number;
|
|
332
|
+
_z: number;
|
|
333
|
+
isEuler: boolean;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
export type _360Route = {
|
|
337
|
+
overlayID?: number;
|
|
338
|
+
track?: string;
|
|
339
|
+
cameraHeadingOffset?: number;
|
|
340
|
+
};
|
|
341
|
+
export type _360CalibrationDetails = {
|
|
342
|
+
baseOriginOf360Viewer?: _360Vector3;
|
|
343
|
+
baseOriginOfForgeViewer?: _360Vector3;
|
|
344
|
+
rotationMatrix?: {
|
|
345
|
+
elements: number[];
|
|
346
|
+
};
|
|
347
|
+
scaleMatrix?: {
|
|
348
|
+
elements: number[];
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
export type _360FloorData = {
|
|
352
|
+
_3DMarkers: _360MarkerData[];
|
|
353
|
+
fbxModel: string | null;
|
|
354
|
+
fbxModelHQ: string | null;
|
|
355
|
+
pointCloudModelHQ: string | null;
|
|
356
|
+
initialMarker: string;
|
|
357
|
+
cameraRotation: _360CameraRotation;
|
|
358
|
+
steps: number;
|
|
359
|
+
route: _360Route | null;
|
|
360
|
+
sceneScale: number;
|
|
361
|
+
modelViewerFeatureFlag: boolean;
|
|
362
|
+
imagesOnlyFeatureFlag: boolean;
|
|
363
|
+
forgeBIMFeatureFlag: boolean;
|
|
364
|
+
isForgeGravityEnabled: boolean;
|
|
365
|
+
initialForgeView: Record<string, unknown> | null;
|
|
366
|
+
calibrationDetails: _360CalibrationDetails;
|
|
367
|
+
enhancedLightFeatureFlag: boolean;
|
|
368
|
+
};
|
|
369
|
+
export type _360PinData = {
|
|
370
|
+
position: _360Vector3;
|
|
371
|
+
pinType: string;
|
|
372
|
+
name: string;
|
|
373
|
+
pinId?: string;
|
|
374
|
+
cameraExid?: string;
|
|
375
|
+
currentRoom?: string;
|
|
376
|
+
cameraRotation?: {
|
|
377
|
+
polarAngle: number;
|
|
378
|
+
azimuthAngle: number;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
export type _360ForgeTimelineItem = {
|
|
382
|
+
taskNumber: number;
|
|
383
|
+
taskID: string;
|
|
384
|
+
actualStartDate: string;
|
|
385
|
+
actualEndDate: string;
|
|
386
|
+
plannedStartDate: string;
|
|
387
|
+
plannedEndDate: string;
|
|
388
|
+
objectIDs: number[];
|
|
389
|
+
};
|
|
390
|
+
export type _360ForgeProject = {
|
|
391
|
+
urns?: Array<{
|
|
392
|
+
urn: string;
|
|
393
|
+
}>;
|
|
394
|
+
timeline?: _360ForgeTimelineItem[];
|
|
281
395
|
};
|
|
@@ -79,6 +79,9 @@ export declare enum AnalyticsEvent {
|
|
|
79
79
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
80
80
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
81
81
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
82
|
+
SettingsConnectorsConnectToHammertech = "ConnectToHammertech",
|
|
83
|
+
SettingsConnectorsRemoveHammertechConnection = "RemoveHammertech",
|
|
84
|
+
SettingsConnectorsToggleHammertechDialog = "ToggleHammertechDialog",
|
|
82
85
|
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
83
86
|
WidgetsSelectProject = "SelectProject",
|
|
84
87
|
WidgetsSelect360Date = "Select360Date",
|
|
@@ -192,6 +195,7 @@ export declare enum AnalyticsEvent {
|
|
|
192
195
|
XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations",
|
|
193
196
|
XraySendToConnectorAconex = "Xray-SendToConnector-Aconex",
|
|
194
197
|
XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk",
|
|
198
|
+
XraySendToConnectorHammerTech = "Xray-SendToConnector-HammerTech",
|
|
195
199
|
WeatherGoBackDate = "Weather-GoBackDate",
|
|
196
200
|
WeatherGoForwardDate = "Weather-GoForwardDate",
|
|
197
201
|
WeatherReportExportFile = "ExportFile",
|
|
@@ -261,6 +265,7 @@ export declare enum AnalyticsEvent {
|
|
|
261
265
|
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
266
|
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
267
|
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
268
|
+
MarkUpToolSendToConnectorHammerTech = "MarkUpTool-SendToConnector-HammerTech",
|
|
264
269
|
MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail",
|
|
265
270
|
MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent",
|
|
266
271
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
@@ -292,6 +297,7 @@ export declare enum AnalyticsEvent {
|
|
|
292
297
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
293
298
|
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
294
299
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
300
|
+
ThreeSixtyMeasuringPerformed = "measuring_performed",
|
|
295
301
|
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
296
302
|
ThreeSixtyLockCompare = "LockCompare",
|
|
297
303
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
@@ -312,6 +318,7 @@ export declare enum AnalyticsEvent {
|
|
|
312
318
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
313
319
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
314
320
|
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
321
|
+
ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility",
|
|
315
322
|
ThreeSixtyTourPause = "Tour-Pause",
|
|
316
323
|
ThreeSixtyTourPlay = "Tour-Play",
|
|
317
324
|
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
@@ -398,6 +405,7 @@ export declare enum AnalyticsEvent {
|
|
|
398
405
|
DrawingClickHome = "ClickHome",
|
|
399
406
|
DrawingsUploadDrawing = "UploadDrawing",
|
|
400
407
|
DrawingsCreateDrawing = "CreateDrawing",
|
|
408
|
+
DrawingsDeleteDrawing = "DeleteDrawing",
|
|
401
409
|
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
402
410
|
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
403
411
|
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
@@ -606,5 +614,6 @@ export declare enum AnalyticsEvent {
|
|
|
606
614
|
ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled",
|
|
607
615
|
ForgeBimModelAdded = "ForgeBim-ModelAdded",
|
|
608
616
|
ForgeBimModelUpdated = "ForgeBim-ModelUpdated",
|
|
609
|
-
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed"
|
|
617
|
+
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed",
|
|
618
|
+
ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed"
|
|
610
619
|
}
|
|
@@ -3,6 +3,10 @@ export declare enum RoleResourceType {
|
|
|
3
3
|
Camera = "camera",
|
|
4
4
|
Project = "project"
|
|
5
5
|
}
|
|
6
|
+
export declare enum RoleAssignmentLogAction {
|
|
7
|
+
Assign = "assign",
|
|
8
|
+
Unassign = "unassign"
|
|
9
|
+
}
|
|
6
10
|
export type RoleSubRole = {
|
|
7
11
|
resourceId: string;
|
|
8
12
|
roleId: number;
|
|
@@ -59,3 +63,45 @@ export type AuthzScopeCreatePayload = {
|
|
|
59
63
|
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
60
64
|
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
61
65
|
export declare function isCameraRole(role: Role): role is CameraResourceRole;
|
|
66
|
+
export type RoleAssignmentLog = {
|
|
67
|
+
id: number;
|
|
68
|
+
action: RoleAssignmentLogAction;
|
|
69
|
+
assignerId: number | null;
|
|
70
|
+
assignerEmail: string | null;
|
|
71
|
+
assigneeId: number | null;
|
|
72
|
+
assigneeEmail: string;
|
|
73
|
+
roleId: number | null;
|
|
74
|
+
roleName: string | null;
|
|
75
|
+
previousRoleId: number | null;
|
|
76
|
+
previousRoleName: string | null;
|
|
77
|
+
scope: RoleResourceType;
|
|
78
|
+
projectExid: string | null;
|
|
79
|
+
cameraExid: string | null;
|
|
80
|
+
ip: string | null;
|
|
81
|
+
userDetails: {
|
|
82
|
+
browser?: string | null;
|
|
83
|
+
device?: string | null;
|
|
84
|
+
os?: string | null;
|
|
85
|
+
country?: string | null;
|
|
86
|
+
countryCode?: string | null;
|
|
87
|
+
ip?: string | null;
|
|
88
|
+
impersonatedBy?: string | null;
|
|
89
|
+
} | null;
|
|
90
|
+
insertedAt: string;
|
|
91
|
+
};
|
|
92
|
+
export type RoleAssignmentLogsParams = {
|
|
93
|
+
page?: number;
|
|
94
|
+
limit?: number;
|
|
95
|
+
sort?: string;
|
|
96
|
+
action?: RoleAssignmentLogAction;
|
|
97
|
+
roleId?: number;
|
|
98
|
+
roleName?: string;
|
|
99
|
+
assigneeEmail?: string;
|
|
100
|
+
assignerEmail?: string;
|
|
101
|
+
scope?: RoleResourceType;
|
|
102
|
+
projectExid?: string;
|
|
103
|
+
cameraExid?: string;
|
|
104
|
+
ip?: string;
|
|
105
|
+
from?: string;
|
|
106
|
+
to?: string;
|
|
107
|
+
};
|