@evercam/api 1.0.0-a5bda6817 → 1.0.0-a5ed7fc12
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/README.md +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +73 -30
- package/dist/api/api/adminApi.d.ts +39 -22
- package/dist/api/api/aiApi.d.ts +125 -2
- package/dist/api/api/authzApi.d.ts +4 -1
- package/dist/api/api/evercamApi.d.ts +45 -25
- package/dist/api/api/evercamLabsApi.d.ts +5 -16
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +51 -33
- package/dist/api/api/reportsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +127 -43
- package/dist/api/types/admin.d.ts +1 -1
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +36 -24
- package/dist/api/types/anpr.d.ts +31 -0
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +145 -20
- package/dist/api/types/authz.d.ts +71 -0
- package/dist/api/types/automation.d.ts +32 -4
- package/dist/api/types/axios.d.ts +9 -9
- package/dist/api/types/bim.d.ts +12 -6
- package/dist/api/types/camera.d.ts +37 -28
- package/dist/api/types/comments.d.ts +9 -2
- package/dist/api/types/company.d.ts +1 -2
- package/dist/api/types/compare.d.ts +1 -1
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/detections.d.ts +3 -1
- package/dist/api/types/drone.d.ts +7 -7
- package/dist/api/types/errors.d.ts +18 -2
- package/dist/api/types/gateReport.d.ts +1 -11
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/index.d.ts +9 -2
- package/dist/api/types/ingest.d.ts +179 -25
- package/dist/api/types/kit.d.ts +44 -101
- package/dist/api/types/media.d.ts +7 -2
- package/dist/api/types/notification.d.ts +52 -2
- package/dist/api/types/nvr.d.ts +8 -8
- package/dist/api/types/observationEvents.d.ts +141 -0
- package/dist/api/types/observations.d.ts +80 -0
- package/dist/api/types/planner.d.ts +1 -8
- package/dist/api/types/posthog.d.ts +20 -0
- package/dist/api/types/project.d.ts +15 -3
- package/dist/api/types/recording.d.ts +5 -12
- package/dist/api/types/reports.d.ts +108 -0
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +2 -10
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/shared.d.ts +14 -23
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/siteAnalytics.d.ts +1 -3
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +12 -8
- package/dist/api/types/snapshots.d.ts +5 -0
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storyblok.d.ts +0 -13
- package/dist/api/types/timelapse.d.ts +1 -8
- package/dist/api/types/user.d.ts +16 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +1853 -1010
- 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 +262 -44
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +93 -0
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/report.d.ts +107 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +4 -2
- package/dist/api/types/copilot.d.ts +0 -162
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,12 +1,18 @@
|
|
|
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,
|
|
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, CameraNoteResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, CommentsScope, 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, MentionableUser, RemotePasswordUpdateRequestPayload, SessionsListRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, UpdateCameraRestrictionPayload, ReorderCamerasPayload, SignupUserRequestPayload, Snapshot, SnapshotRequestPayload, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, HammertechConnectPayload, HammertechProject, HammertechIssueType, HammertechLocation, HammertechCreateIssuePayload, HammertechIssueResponse, HammertechStoredFilePayload, HammertechStoredFileResponse, RingCompleteLinkingPayload, RingCompleteLinkingResponsePayload, RingDevicesResponsePayload, RingMoveDevicePayload, RingMoveDeviceResponsePayload, RingLiveViewPayload, RingLiveViewResponse, RingStopLiveViewResponse, AuthOptionsResponsePayload, AuthorizedApp, AuthorizedAppsListRequestPayload, 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, SocketAuthResponsePayload } from "@evercam/api/types";
|
|
4
4
|
export declare const EvercamApi: {
|
|
5
5
|
apiStatus: {
|
|
6
6
|
getApiStatus(): Promise<void>;
|
|
7
7
|
};
|
|
8
8
|
users: {
|
|
9
9
|
signup(payload: SignupUserRequestPayload): Promise<User>;
|
|
10
|
+
zohoAuthUrl(payload: {
|
|
11
|
+
firstname: string;
|
|
12
|
+
lastname: string;
|
|
13
|
+
}): Promise<{
|
|
14
|
+
url: string;
|
|
15
|
+
}>;
|
|
10
16
|
fetchAccessFeatures(email: string): Promise<{
|
|
11
17
|
features: UserFeatureFlag[];
|
|
12
18
|
}>;
|
|
@@ -37,10 +43,14 @@ export declare const EvercamApi: {
|
|
|
37
43
|
getActiveSessions(params: AxiosRequestConfig & {
|
|
38
44
|
params: SessionsListRequestPayload;
|
|
39
45
|
}): Promise<PaginatedItems<UserSession>>;
|
|
46
|
+
getAuthorizedApps(params: AxiosRequestConfig & {
|
|
47
|
+
params: AuthorizedAppsListRequestPayload;
|
|
48
|
+
}): Promise<PaginatedItems<AuthorizedApp>>;
|
|
49
|
+
revokeAuthorizedApp(id: number): Promise<void>;
|
|
40
50
|
update(email: string, params?: Partial<UserUpdateRequestPayload>): Promise<{
|
|
41
51
|
users: User[];
|
|
42
52
|
}>;
|
|
43
|
-
|
|
53
|
+
deleteAccount(): Promise<void>;
|
|
44
54
|
fetchPermissions(): Promise<{
|
|
45
55
|
permissions: string[];
|
|
46
56
|
}>;
|
|
@@ -69,7 +79,7 @@ export declare const EvercamApi: {
|
|
|
69
79
|
config?: SwrRequestConfig<CamerasResponsePayload>;
|
|
70
80
|
}): Promise<CamerasResponsePayload>;
|
|
71
81
|
getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
|
|
72
|
-
getCameraLastPublicNote(cameraId: string): Promise<
|
|
82
|
+
getCameraLastPublicNote(cameraId: string): Promise<CameraNoteResponsePayload>;
|
|
73
83
|
getNvrStreamingToken({ cameraExid, token, }: {
|
|
74
84
|
cameraExid: string;
|
|
75
85
|
token: string;
|
|
@@ -87,6 +97,9 @@ export declare const EvercamApi: {
|
|
|
87
97
|
params?: ApiCredentials;
|
|
88
98
|
config?: SwrRequestConfig<Project[]>;
|
|
89
99
|
}): Promise<Project[]>;
|
|
100
|
+
show(projectExid: string): Promise<{
|
|
101
|
+
project: Project;
|
|
102
|
+
}>;
|
|
90
103
|
create(params: {
|
|
91
104
|
name: string;
|
|
92
105
|
}): Promise<{
|
|
@@ -104,6 +117,7 @@ export declare const EvercamApi: {
|
|
|
104
117
|
}>;
|
|
105
118
|
getThumbnailData(projectExid: string): Promise<ThumbnailData>;
|
|
106
119
|
updateCamerasRestriction(projectExid: ProjectExid, payload: UpdateCameraRestrictionPayload): Promise<void>;
|
|
120
|
+
reorderCameras(projectExid: ProjectExid, payload: ReorderCamerasPayload): Promise<void>;
|
|
107
121
|
updatePlaceholderThumbnail(projectExid: string, params: {
|
|
108
122
|
placeholder?: string;
|
|
109
123
|
}): Promise<{
|
|
@@ -124,7 +138,13 @@ export declare const EvercamApi: {
|
|
|
124
138
|
getMembers(projectExid: string): Promise<ProjectMembersResponsePayload>;
|
|
125
139
|
inviteMembers(projectExid: string, payload: ProjectMembersRequestPayload): Promise<ProjectInviteMembersResponsePayload>;
|
|
126
140
|
removeMembers(projectExid: string, emails: string[]): Promise<void>;
|
|
141
|
+
resendInvite(projectExid: string, email: string): Promise<{
|
|
142
|
+
message: string;
|
|
143
|
+
}>;
|
|
144
|
+
cancelInvite(projectExid: string, inviteId: number): Promise<void>;
|
|
127
145
|
updateMembersRole(projectExid: string, payload: ProjectMembersRequestPayload): Promise<void>;
|
|
146
|
+
requestCameraInfo(projectExid: string): Promise<void>;
|
|
147
|
+
getMentionableUsers(projectExid: string, scope: CommentsScope): Promise<MentionableUser[]>;
|
|
128
148
|
};
|
|
129
149
|
timelapse: {
|
|
130
150
|
getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
|
|
@@ -187,12 +207,18 @@ export declare const EvercamApi: {
|
|
|
187
207
|
connect(payload: VoyageControlConnectorPayload): Promise<void>;
|
|
188
208
|
sendRevoke(): Promise<void>;
|
|
189
209
|
};
|
|
210
|
+
hammertech: {
|
|
211
|
+
connect(payload: HammertechConnectPayload): Promise<void>;
|
|
212
|
+
revoke(): Promise<void>;
|
|
213
|
+
getProjects(): Promise<HammertechProject[]>;
|
|
214
|
+
getIssueTypes(projectId: string): Promise<HammertechIssueType[]>;
|
|
215
|
+
getLocations(projectId: string): Promise<HammertechLocation[]>;
|
|
216
|
+
createIssue(payload: HammertechCreateIssuePayload): Promise<HammertechIssueResponse>;
|
|
217
|
+
createStoredFile(payload: HammertechStoredFilePayload): Promise<HammertechStoredFileResponse>;
|
|
218
|
+
};
|
|
190
219
|
ring: {
|
|
191
|
-
|
|
192
|
-
code: string;
|
|
193
|
-
}): Promise<void>;
|
|
220
|
+
completeLinking(payload: RingCompleteLinkingPayload): Promise<RingCompleteLinkingResponsePayload>;
|
|
194
221
|
getDevices(): Promise<RingDevicesResponsePayload>;
|
|
195
|
-
importDevices(payload: RingImportDevicesPayload): Promise<RingImportResponsePayload>;
|
|
196
222
|
moveDevice(cameraExid: string, payload: RingMoveDevicePayload): Promise<RingMoveDeviceResponsePayload>;
|
|
197
223
|
deleteDevice(cameraExid: string): Promise<{
|
|
198
224
|
status: string;
|
|
@@ -207,13 +233,13 @@ export declare const EvercamApi: {
|
|
|
207
233
|
revoke(projectExid: string): Promise<void>;
|
|
208
234
|
};
|
|
209
235
|
recordings: {
|
|
210
|
-
oldest(cameraId: string, payload?:
|
|
211
|
-
latest(cameraId: string, payload?:
|
|
212
|
-
nearest(cameraId: string, timestamp: string, payload?:
|
|
213
|
-
availableDays({ cameraId, year, month, payload, }: AvailableDaysRequestPayload): Promise<AvailableDaysResponsePayload>;
|
|
236
|
+
oldest(cameraId: string, payload?: SnapshotRequestPayload): Promise<Snapshot>;
|
|
237
|
+
latest(cameraId: string, payload?: SnapshotRequestPayload): Promise<Snapshot>;
|
|
238
|
+
nearest(cameraId: string, timestamp: string, payload?: SnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<NearestSnapshotResponsePayload>;
|
|
239
|
+
availableDays({ cameraId, year, month, payload, cancelToken, }: AvailableDaysRequestPayload): Promise<AvailableDaysResponsePayload>;
|
|
214
240
|
availableHours({ cameraId, year, month, day, payload, cancelToken, }: AvailableHoursRequestPayload): Promise<AvailableHoursResponsePayload>;
|
|
215
241
|
getSnapshot(cameraId: string, dateTime: string): Promise<SnapshotRangeResponsePayload>;
|
|
216
|
-
getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload): Promise<SnapshotRangeResponsePayload>;
|
|
242
|
+
getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload, extraParams?: AxiosRequestConfig): Promise<SnapshotRangeResponsePayload>;
|
|
217
243
|
};
|
|
218
244
|
progressPhotos: {
|
|
219
245
|
index(projectId: string): Promise<ProgressPhotosResponsePayload>;
|
|
@@ -239,29 +265,20 @@ export declare const EvercamApi: {
|
|
|
239
265
|
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
240
266
|
};
|
|
241
267
|
company: {
|
|
242
|
-
show(companyId
|
|
268
|
+
show(companyId?: string, params?: {
|
|
243
269
|
with_zoho?: boolean;
|
|
244
270
|
}): Promise<CompanySummary>;
|
|
245
271
|
getCompanyUsers(params: {
|
|
246
|
-
params:
|
|
247
|
-
page: number;
|
|
248
|
-
limit: number;
|
|
249
|
-
};
|
|
272
|
+
params: PaginationParams;
|
|
250
273
|
}): Promise<PaginatedItems<CompanyUser>>;
|
|
251
274
|
getCompanyProjects(params: {
|
|
252
|
-
params:
|
|
253
|
-
page: number;
|
|
254
|
-
limit: number;
|
|
255
|
-
};
|
|
275
|
+
params: PaginationParams;
|
|
256
276
|
}): Promise<PaginatedItems<CompanyProject>>;
|
|
257
277
|
getCompanyCameras(params: PaginationParams | {
|
|
258
278
|
params: PaginationParams;
|
|
259
279
|
}): Promise<PaginatedItems<CompanyCameraSummary>>;
|
|
260
280
|
getCompanyKits(params: {
|
|
261
|
-
params:
|
|
262
|
-
page: number;
|
|
263
|
-
limit: number;
|
|
264
|
-
};
|
|
281
|
+
params: PaginationParams;
|
|
265
282
|
}): Promise<PaginatedItems<CompanyKit>>;
|
|
266
283
|
};
|
|
267
284
|
batteries: {
|
|
@@ -298,6 +315,9 @@ export declare const EvercamApi: {
|
|
|
298
315
|
snapshots: {
|
|
299
316
|
deliverViaEmail(projectExid: string, payload: SnapshotEmailDeliveryRequestPayload): Promise<SnapshotEmailDeliveryResponsePayload>;
|
|
300
317
|
};
|
|
318
|
+
sockets: {
|
|
319
|
+
getWsToken(): Promise<SocketAuthResponsePayload>;
|
|
320
|
+
};
|
|
301
321
|
mailing: {
|
|
302
322
|
unsubscribe(params: {
|
|
303
323
|
key: string;
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
import { CameraExid,
|
|
2
|
-
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
|
-
import type { SwrRequestConfig } from "@evercam/api/types";
|
|
1
|
+
import { CameraExid, GrafanaKitMetrics, 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<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
getAllConversations(params: LabsPaginationParams & {
|
|
13
|
-
cameraExid?: string;
|
|
14
|
-
projectExid?: string;
|
|
15
|
-
user?: string;
|
|
16
|
-
}): Promise<PaginatedItems<CopilotConversation>>;
|
|
17
|
-
getOneConversation(conversationId: number): Promise<PaginatedItems<CopilotConversation>>;
|
|
18
|
-
getConversationMessages(conversationId: number, params: LabsPaginationParams): Promise<PaginatedItems<CopilotMessage>>;
|
|
19
|
-
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
20
|
-
submitMessageFeedback({ conversationId, messageId, ...params }: FeedbackPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
+
getUsers(params: PosthogUsersRequestParams): Promise<PosthogUsersResponse>;
|
|
7
|
+
getActiveUsers(params: ActiveUsersRequestPayload): Promise<{
|
|
8
|
+
data: ActiveUsersResponsePayload;
|
|
9
|
+
}>;
|
|
21
10
|
};
|
|
22
11
|
siteAnalytics: {
|
|
23
12
|
getProcessingStatus(params?: SiteAnalyticsProcessingStatusPayload, config?: SwrRequestConfig<SiteAnalyticsProcessingStatus[]>): Promise<SiteAnalyticsProcessingStatus[]>;
|
package/dist/api/api/index.d.ts
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
2
|
import type { SwrRequestConfig } from "@evercam/api/types";
|
|
3
|
-
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams,
|
|
4
|
-
import {
|
|
3
|
+
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneCreation, DroneCreated, DroneProcessingTarget, DroneUploadItem, DroneFileAllocation, DroneFileStates, DroneCompletion, DroneDeletion, DroneReprocessResponse, AerialAllocation, AerialUploadStates, AerialShotPage, IngestProcessingProgress, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
|
|
4
|
+
import { IngestTypes } from "@evercam/api/types";
|
|
5
5
|
export declare const getIngestApiUrls: (type: string) => string[];
|
|
6
6
|
export declare const IngestApi: {
|
|
7
7
|
drone: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
createProcessing(ingestUrl: string, payload: DroneCreation, signal?: AbortSignal): Promise<DroneCreated>;
|
|
9
|
+
getProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneUploadItem>;
|
|
10
|
+
getFlightProcessing(projectId: string, date: string): Promise<DroneUploadItem>;
|
|
11
|
+
allocateFiles({ ingestUrl, id }: DroneProcessingTarget, files: DroneFileAllocation[], signal?: AbortSignal): Promise<DroneFileStates>;
|
|
12
|
+
acknowledgeFiles({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<DroneCompletion>;
|
|
13
|
+
completeProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneCompletion>;
|
|
14
|
+
deleteFiles(id: number, filenames?: string[]): Promise<DroneDeletion>;
|
|
15
|
+
allocateAerialShots({ ingestUrl, id }: DroneProcessingTarget, aerialShots: AerialAllocation[], signal?: AbortSignal): Promise<AerialUploadStates>;
|
|
16
|
+
acknowledgeAerialShots({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<AerialUploadStates>;
|
|
17
|
+
getAerialShots(id: number, params?: {
|
|
18
|
+
cursor?: string;
|
|
19
|
+
limit?: number;
|
|
20
|
+
processingStatus?: string;
|
|
21
|
+
}): Promise<AerialShotPage>;
|
|
22
|
+
deleteAerialShots(id: number, filenames?: string[]): Promise<DroneDeletion>;
|
|
23
|
+
reprocessDrone(id: number, params?: JsonObject): Promise<DroneReprocessResponse>;
|
|
12
24
|
getDrones(params: {
|
|
13
25
|
params: Partial<DronesQueryParams>;
|
|
14
26
|
}): Promise<DroneUploadsResponse>;
|
|
27
|
+
getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
|
|
15
28
|
getArchive(id: number, params: {
|
|
16
29
|
dataType: string;
|
|
17
|
-
}): Promise<
|
|
30
|
+
}): Promise<string>;
|
|
18
31
|
deleteUpload(id: number): Promise<void>;
|
|
19
|
-
|
|
20
|
-
uploadedBy: string;
|
|
21
|
-
token: string;
|
|
22
|
-
}): Promise<void>;
|
|
23
|
-
upload(projectId: string, params: {
|
|
24
|
-
uploadedBy: string;
|
|
25
|
-
token: string;
|
|
26
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<void>;
|
|
27
|
-
verifyToken(projectId: string, params: {
|
|
28
|
-
token: string;
|
|
29
|
-
}): Promise<JsonObject>;
|
|
30
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<JsonObject>;
|
|
32
|
+
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
|
|
31
33
|
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
|
|
32
|
-
isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
|
|
33
34
|
getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
|
|
34
35
|
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
|
|
35
36
|
checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
|
|
@@ -41,13 +42,15 @@ export declare const IngestApi: {
|
|
|
41
42
|
get360AssetsCounts(projectId: string, params: {
|
|
42
43
|
uploadedBy: string;
|
|
43
44
|
}): Promise<_360AssetsCountsResponse>;
|
|
44
|
-
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
|
|
45
45
|
update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
46
|
-
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload
|
|
46
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: Partial<_360AssetsRequestPayload> & {
|
|
47
|
+
drawingId?: number;
|
|
48
|
+
}): Promise<_360WalkV2>;
|
|
47
49
|
deleteUpload(id: number): Promise<void>;
|
|
48
50
|
getArchive(id: number, params: {
|
|
49
|
-
|
|
50
|
-
}): Promise<
|
|
51
|
+
dataType: string;
|
|
52
|
+
}): Promise<string>;
|
|
53
|
+
get360Progress(id: number): Promise<IngestProcessingProgress>;
|
|
51
54
|
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
|
|
52
55
|
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
|
|
53
56
|
reprocess360(id: number): Promise<void>;
|
|
@@ -61,14 +64,21 @@ export declare const IngestApi: {
|
|
|
61
64
|
params: DrawingsRequestPayload;
|
|
62
65
|
config?: SwrRequestConfig<_360FloorsResponse>;
|
|
63
66
|
}): Promise<_360FloorsResponse>;
|
|
64
|
-
getDrawingById(id: number, projectExid: string
|
|
67
|
+
getDrawingById(id: number, projectExid: string, { assetSummary }?: {
|
|
68
|
+
assetSummary?: boolean;
|
|
69
|
+
}): Promise<_360FloorV2>;
|
|
65
70
|
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
|
|
66
71
|
deleteDrawing(id: number): Promise<void>;
|
|
72
|
+
restoreDrawing(id: number): Promise<void>;
|
|
67
73
|
transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
|
|
68
74
|
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
|
|
69
75
|
fetchDrawingOverlay(id: number, params: {
|
|
70
76
|
view: boolean;
|
|
71
|
-
|
|
77
|
+
thumbnail?: boolean;
|
|
78
|
+
}, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
|
|
79
|
+
fetchDrawingOverlayBlob(id: number, params?: {
|
|
80
|
+
thumbnail?: boolean;
|
|
81
|
+
}, extraConfig?: AxiosRequestConfig): Promise<Blob>;
|
|
72
82
|
getFloorArchive(id: number): Promise<string>;
|
|
73
83
|
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
|
|
74
84
|
get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
|
|
@@ -87,6 +97,9 @@ export declare const IngestApi: {
|
|
|
87
97
|
name: string;
|
|
88
98
|
}, payload: BimUploadPayload): Promise<void>;
|
|
89
99
|
};
|
|
100
|
+
webhook: {
|
|
101
|
+
notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
|
|
102
|
+
};
|
|
90
103
|
mobileCapture: {
|
|
91
104
|
getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
|
|
92
105
|
getMobileAssetPhoto(assetId: string | number, params: {
|
|
@@ -102,24 +115,26 @@ export declare const IngestApi: {
|
|
|
102
115
|
ingestVersion: string;
|
|
103
116
|
id: number;
|
|
104
117
|
projectId: string;
|
|
105
|
-
consumed: boolean;
|
|
106
|
-
token: string;
|
|
107
118
|
flightDate: string;
|
|
108
119
|
flightGeolocation: string;
|
|
109
120
|
modelZip: string;
|
|
110
121
|
orthomosaicZip: string;
|
|
111
122
|
reportPdf: string;
|
|
123
|
+
processingLog: string;
|
|
112
124
|
uploadedBy: string;
|
|
113
125
|
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
114
126
|
modelCesiumAssetId: string;
|
|
115
127
|
updatedAt: string;
|
|
116
|
-
|
|
128
|
+
canDelete: boolean;
|
|
129
|
+
canReprocess: boolean;
|
|
130
|
+
hasSteps: boolean;
|
|
131
|
+
aerialShotsCount: number;
|
|
117
132
|
} | {
|
|
118
133
|
ingestVersion: string;
|
|
119
134
|
archive: string;
|
|
120
135
|
date: string;
|
|
121
136
|
deviceSerial: string | null;
|
|
122
|
-
endPosition:
|
|
137
|
+
endPosition: string | null;
|
|
123
138
|
floor: string;
|
|
124
139
|
floorId: number;
|
|
125
140
|
id: number;
|
|
@@ -134,15 +149,18 @@ export declare const IngestApi: {
|
|
|
134
149
|
processingStatus: string;
|
|
135
150
|
projectId: string;
|
|
136
151
|
report: string;
|
|
152
|
+
processingLog: string;
|
|
153
|
+
hasSteps?: boolean;
|
|
137
154
|
route: unknown | null;
|
|
138
|
-
startPosition:
|
|
155
|
+
startPosition: string | null;
|
|
139
156
|
tusLinks: unknown | null;
|
|
140
157
|
updatedAt: string;
|
|
141
158
|
uploadedBy: string;
|
|
142
159
|
videoArchive: string;
|
|
143
160
|
videos: string[];
|
|
144
161
|
})[]>;
|
|
145
|
-
|
|
146
|
-
|
|
162
|
+
getIngestNumber(ingestUrl: string): number;
|
|
163
|
+
getIngestVersion(ingestUrl: string): string;
|
|
164
|
+
chooseIngestApiUrl(type: IngestTypes, isTieToNewest?: boolean): Promise<string>;
|
|
147
165
|
};
|
|
148
166
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ChatListPage, type ChatListParams, type ChatSession } from "@evercam/api/types";
|
|
2
|
+
/**
|
|
3
|
+
* The Evercam Reports engine, for the admin Chat conversations viewer.
|
|
4
|
+
*
|
|
5
|
+
* The engine speaks camelCase natively, so every call preserves casing rather than
|
|
6
|
+
* running the snake conversion the media API needs. The admin's bearer is attached
|
|
7
|
+
* by the shared request interceptor — an admin resolves `is_admin` on the engine, so
|
|
8
|
+
* `scope=all` returns every user's conversations.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ReportsApi: {
|
|
11
|
+
chat: {
|
|
12
|
+
listConversations(params?: ChatListParams): Promise<ChatListPage>;
|
|
13
|
+
getConversation(id: string): Promise<ChatSession>;
|
|
14
|
+
};
|
|
15
|
+
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateType } from "@evercam/api/types/time";
|
|
2
|
-
import { GeoPoint, Point3D } from "@evercam/api/types/shared";
|
|
2
|
+
import { GeoPoint, PaginationParams, Point3D } from "@evercam/api/types/shared";
|
|
3
3
|
export type _360OverlayPosition = {
|
|
4
4
|
northEast: GeoPoint;
|
|
5
5
|
northWest: GeoPoint;
|
|
@@ -61,6 +61,7 @@ export type _360Floor = {
|
|
|
61
61
|
imagesOnlyFeatureFlag?: boolean;
|
|
62
62
|
forgeBIMFeatureFlag?: boolean;
|
|
63
63
|
isForgeGravityEnabled?: boolean;
|
|
64
|
+
bimHeight?: number;
|
|
64
65
|
initialForgeView?: ForgeView | null;
|
|
65
66
|
enhancedLightFeatureFlag?: boolean;
|
|
66
67
|
calibrationDetails?: Record<string, unknown>;
|
|
@@ -77,7 +78,7 @@ export type _360WalkV2 = {
|
|
|
77
78
|
archive: string;
|
|
78
79
|
date: string;
|
|
79
80
|
deviceSerial: string | null;
|
|
80
|
-
endPosition:
|
|
81
|
+
endPosition: string | null;
|
|
81
82
|
floor: string;
|
|
82
83
|
floorId: number;
|
|
83
84
|
id: number;
|
|
@@ -92,8 +93,10 @@ export type _360WalkV2 = {
|
|
|
92
93
|
processingStatus: string;
|
|
93
94
|
projectId: string;
|
|
94
95
|
report: string;
|
|
96
|
+
processingLog: string;
|
|
97
|
+
hasSteps?: boolean;
|
|
95
98
|
route: unknown | null;
|
|
96
|
-
startPosition:
|
|
99
|
+
startPosition: string | null;
|
|
97
100
|
tusLinks: unknown | null;
|
|
98
101
|
updatedAt: string;
|
|
99
102
|
uploadedBy: string;
|
|
@@ -112,13 +115,15 @@ export type _360FloorV2 = {
|
|
|
112
115
|
overlayPosition: _360OverlayPosition;
|
|
113
116
|
insertedAt: string;
|
|
114
117
|
updatedAt: string;
|
|
118
|
+
deletedAt: string | null;
|
|
115
119
|
};
|
|
116
120
|
export type _360Scene = {
|
|
117
121
|
date: string;
|
|
118
|
-
dateID: number;
|
|
122
|
+
dateID: string | number;
|
|
119
123
|
floors: {
|
|
120
124
|
floorID: _360FloorId;
|
|
121
125
|
name: string;
|
|
126
|
+
isValidated?: boolean;
|
|
122
127
|
}[];
|
|
123
128
|
polarAngle: number;
|
|
124
129
|
azimuthAngle: number;
|
|
@@ -149,24 +154,7 @@ export type _360ProjectListItem = {
|
|
|
149
154
|
providerSuffix: string;
|
|
150
155
|
timeline: string;
|
|
151
156
|
uniqueId: string;
|
|
152
|
-
|
|
153
|
-
export type _360FullProject = {
|
|
154
|
-
dates: _360SceneWithFloors[];
|
|
155
|
-
integrationType: string;
|
|
156
|
-
projectId: string;
|
|
157
|
-
projectName: string;
|
|
158
|
-
providerID: string;
|
|
159
|
-
providerPrefix: string;
|
|
160
|
-
providerSuffix: string;
|
|
161
|
-
timeline: string;
|
|
162
|
-
uniqueId: string;
|
|
163
|
-
};
|
|
164
|
-
export type _360FullFloor = _360Floor & {
|
|
165
|
-
id: _360FloorId;
|
|
166
|
-
name: string;
|
|
167
|
-
};
|
|
168
|
-
export type _360SceneWithFloors = _360Scene & {
|
|
169
|
-
floors: _360FullFloor[];
|
|
157
|
+
requiresValidation?: boolean;
|
|
170
158
|
};
|
|
171
159
|
export type _360ProjectJsonResponse = {
|
|
172
160
|
dates: _360Scene[];
|
|
@@ -181,12 +169,25 @@ export type MobileCaptureSnapshot = {
|
|
|
181
169
|
thumbnailUrl: string;
|
|
182
170
|
};
|
|
183
171
|
export declare enum _360UrlParams {
|
|
184
|
-
DateId = "
|
|
172
|
+
DateId = "dateId",
|
|
185
173
|
Date = "date",
|
|
186
174
|
Floor = "floor",
|
|
187
175
|
Marker = "marker",
|
|
188
176
|
PolarAngle = "polarAngle",
|
|
189
|
-
AzimuthAngle = "azimuthAngle"
|
|
177
|
+
AzimuthAngle = "azimuthAngle",
|
|
178
|
+
Zoom = "zoom",
|
|
179
|
+
User = "user",
|
|
180
|
+
ViewerMode = "viewer_mode",
|
|
181
|
+
ProjectId = "projectId",
|
|
182
|
+
Unit = "unit",
|
|
183
|
+
LockDate = "lockDate",
|
|
184
|
+
LockFloor = "lockFloor",
|
|
185
|
+
LockMarker = "lockMarker",
|
|
186
|
+
IsWidget = "isWidget",
|
|
187
|
+
MediaLocked = "mediaLocked",
|
|
188
|
+
Debug = "debug",
|
|
189
|
+
RequiresValidation = "requires_validation",
|
|
190
|
+
CommentId = "comment_id"
|
|
190
191
|
}
|
|
191
192
|
export declare enum _360AssetType {
|
|
192
193
|
Video = "video",
|
|
@@ -200,11 +201,6 @@ export declare enum _360AssetLabel {
|
|
|
200
201
|
Walks = "walks",
|
|
201
202
|
MobilePhotos = "mobilePhotos"
|
|
202
203
|
}
|
|
203
|
-
export declare enum _360Feature {
|
|
204
|
-
BIM = "BIM",
|
|
205
|
-
Minimap = "Minimap",
|
|
206
|
-
Minimodel = "Minimodel"
|
|
207
|
-
}
|
|
208
204
|
export declare enum _360IntergrationType {
|
|
209
205
|
Evercam = "Evercam",
|
|
210
206
|
Matterport = "Matterport",
|
|
@@ -215,14 +211,14 @@ export declare enum _360IntergrationType {
|
|
|
215
211
|
export declare enum PathMarkerColor {
|
|
216
212
|
Start = "#00e74c",
|
|
217
213
|
End = "#fd7567",
|
|
214
|
+
Anchor = "#ffb300",
|
|
218
215
|
Default = "#2196F3"
|
|
219
216
|
}
|
|
220
|
-
export type _360AssetsQueryParams = {
|
|
221
|
-
|
|
222
|
-
limit: number;
|
|
223
|
-
projectID: string;
|
|
217
|
+
export type _360AssetsQueryParams = PaginationParams & {
|
|
218
|
+
projectId: string;
|
|
224
219
|
date: DateType;
|
|
225
220
|
floor: string;
|
|
221
|
+
name: string;
|
|
226
222
|
id: string;
|
|
227
223
|
};
|
|
228
224
|
export type _360AssetsRequestPayload = {
|
|
@@ -231,7 +227,7 @@ export type _360AssetsRequestPayload = {
|
|
|
231
227
|
floor: string;
|
|
232
228
|
uploadedBy?: string;
|
|
233
229
|
};
|
|
234
|
-
export type DrawingsRequestPayload = {
|
|
230
|
+
export type DrawingsRequestPayload = PaginationParams & {
|
|
235
231
|
projectId?: string;
|
|
236
232
|
name?: string;
|
|
237
233
|
changedBy?: string;
|
|
@@ -239,10 +235,9 @@ export type DrawingsRequestPayload = {
|
|
|
239
235
|
startDate?: string;
|
|
240
236
|
endDate?: string;
|
|
241
237
|
id?: number;
|
|
242
|
-
page?: number;
|
|
243
|
-
limit?: number;
|
|
244
238
|
paginate?: boolean;
|
|
245
239
|
withAsset?: boolean;
|
|
240
|
+
includeDeleted?: boolean;
|
|
246
241
|
};
|
|
247
242
|
export type GenerateFloorPayload = {
|
|
248
243
|
overlay?: {
|
|
@@ -266,16 +261,105 @@ export type _360AssetsUploadPayload = {
|
|
|
266
261
|
title: string;
|
|
267
262
|
fileExtension: string;
|
|
268
263
|
}[];
|
|
269
|
-
deviceSerial
|
|
270
|
-
startPosition
|
|
271
|
-
endPosition
|
|
272
|
-
isTimelapse
|
|
273
|
-
isImagesOnly
|
|
264
|
+
deviceSerial?: string;
|
|
265
|
+
startPosition?: string;
|
|
266
|
+
endPosition?: string;
|
|
267
|
+
isTimelapse?: boolean;
|
|
268
|
+
isImagesOnly?: boolean;
|
|
274
269
|
};
|
|
275
270
|
export type Generate360MapRequestPayload = {
|
|
276
|
-
dateId: string;
|
|
271
|
+
dateId: string | number;
|
|
277
272
|
floorId: string;
|
|
278
|
-
cameraOffset: string;
|
|
273
|
+
cameraOffset: string | number;
|
|
279
274
|
startPoint: string;
|
|
280
275
|
endPoint: string;
|
|
276
|
+
drawingId?: number;
|
|
277
|
+
markers?: Array<{
|
|
278
|
+
position: {
|
|
279
|
+
x: number;
|
|
280
|
+
y: number;
|
|
281
|
+
z: number;
|
|
282
|
+
};
|
|
283
|
+
}>;
|
|
284
|
+
startPointIndex?: number;
|
|
285
|
+
endPointIndex?: number;
|
|
286
|
+
};
|
|
287
|
+
export declare enum EModelsType {
|
|
288
|
+
FBX = "FBX",
|
|
289
|
+
PointCloud = "PLY"
|
|
290
|
+
}
|
|
291
|
+
export type _360FloorRef = {
|
|
292
|
+
projectID: string;
|
|
293
|
+
dateID: string | number;
|
|
294
|
+
floorID: _360FloorId;
|
|
295
|
+
};
|
|
296
|
+
export type _360Vector3 = {
|
|
297
|
+
x: number;
|
|
298
|
+
y: number;
|
|
299
|
+
z: number;
|
|
300
|
+
};
|
|
301
|
+
export type _360MarkerData = {
|
|
302
|
+
cameraPosition: _360Vector3;
|
|
303
|
+
nextRoomId: string;
|
|
304
|
+
position: _360Vector3;
|
|
305
|
+
geolocation?: {
|
|
306
|
+
latitude: number;
|
|
307
|
+
longitude: number;
|
|
308
|
+
};
|
|
309
|
+
rotation: {
|
|
310
|
+
_order: string;
|
|
311
|
+
_x: number;
|
|
312
|
+
_y: number;
|
|
313
|
+
_z: number;
|
|
314
|
+
isEuler: boolean;
|
|
315
|
+
x?: number;
|
|
316
|
+
y?: number;
|
|
317
|
+
z?: number;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
export type _360Route = {
|
|
321
|
+
overlayID?: number;
|
|
322
|
+
track?: string;
|
|
323
|
+
cameraHeadingOffset?: number;
|
|
324
|
+
};
|
|
325
|
+
export type _360CalibrationDetails = {
|
|
326
|
+
baseOriginOf360Viewer?: _360Vector3;
|
|
327
|
+
baseOriginOfForgeViewer?: _360Vector3;
|
|
328
|
+
rotationMatrix?: {
|
|
329
|
+
elements: number[];
|
|
330
|
+
};
|
|
331
|
+
scaleMatrix?: {
|
|
332
|
+
elements: number[];
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
export type _360FloorData = {
|
|
336
|
+
_3DMarkers: _360MarkerData[];
|
|
337
|
+
fbxModel: string | null;
|
|
338
|
+
fbxModelHQ: string | null;
|
|
339
|
+
pointCloudModelHQ: string | null;
|
|
340
|
+
initialMarker: string;
|
|
341
|
+
cameraRotation: _360CameraRotation;
|
|
342
|
+
steps: number;
|
|
343
|
+
route: _360Route | null;
|
|
344
|
+
sceneScale: number;
|
|
345
|
+
modelViewerFeatureFlag: boolean;
|
|
346
|
+
imagesOnlyFeatureFlag: boolean;
|
|
347
|
+
forgeBIMFeatureFlag: boolean;
|
|
348
|
+
isForgeGravityEnabled: boolean;
|
|
349
|
+
bimHeight?: number | null;
|
|
350
|
+
initialForgeView: ForgeView | null;
|
|
351
|
+
calibrationDetails: _360CalibrationDetails;
|
|
352
|
+
enhancedLightFeatureFlag: boolean;
|
|
353
|
+
};
|
|
354
|
+
export type _360PinData = {
|
|
355
|
+
position: _360Vector3;
|
|
356
|
+
pinType: string;
|
|
357
|
+
name: string;
|
|
358
|
+
pinId?: string;
|
|
359
|
+
cameraExid?: string;
|
|
360
|
+
currentRoom?: string;
|
|
361
|
+
cameraRotation?: {
|
|
362
|
+
polarAngle: number;
|
|
363
|
+
azimuthAngle: number;
|
|
364
|
+
};
|
|
281
365
|
};
|