@evercam/api 1.0.0-9cdf48fed → 1.0.0-9dffa9592
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 +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +208 -12
- package/dist/api/api/adminApi.d.ts +110 -94
- package/dist/api/api/aiApi.d.ts +150 -82
- package/dist/api/api/authzApi.d.ts +34 -15
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +148 -106
- package/dist/api/api/evercamLabsApi.d.ts +9 -7
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +121 -34
- package/dist/api/api/ptzApi.d.ts +12 -3
- package/dist/api/api/videoWallApi.d.ts +7 -7
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +288 -18
- package/dist/api/types/aconex.d.ts +104 -6
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +242 -0
- package/dist/api/types/analytics.d.ts +174 -43
- package/dist/api/types/anpr.d.ts +53 -13
- package/dist/api/types/auditLogs.d.ts +19 -1
- package/dist/api/types/authz.d.ts +107 -0
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +105 -1
- package/dist/api/types/axios.d.ts +19 -14
- package/dist/api/types/bim.d.ts +38 -9
- package/dist/api/types/camera.d.ts +106 -105
- package/dist/api/types/comments.d.ts +10 -11
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +5 -5
- package/dist/api/types/coolify.d.ts +20 -2
- package/dist/api/types/copilot.d.ts +11 -9
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +23 -32
- package/dist/api/types/drone.d.ts +96 -6
- package/dist/api/types/errors.d.ts +13 -1
- package/dist/api/types/gateReport.d.ts +49 -168
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +15 -2
- package/dist/api/types/ingest.d.ts +191 -4
- package/dist/api/types/kit.d.ts +74 -56
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +10 -3
- package/dist/api/types/notification.d.ts +72 -3
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observationEvents.d.ts +61 -0
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/planner.d.ts +101 -9
- package/dist/api/types/posthog.d.ts +35 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -32
- package/dist/api/types/project.d.ts +144 -19
- package/dist/api/types/recording.d.ts +10 -15
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +3 -1
- package/dist/api/types/router.d.ts +20 -1
- package/dist/api/types/shared.d.ts +29 -22
- package/dist/api/types/shares.d.ts +6 -157
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +189 -46
- package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
- package/dist/api/types/siteView.d.ts +73 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +55 -1
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +27 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +4 -18
- package/dist/api/types/timelapse.d.ts +7 -11
- package/dist/api/types/user.d.ts +106 -35
- package/dist/api/types/videoWall.d.ts +47 -14
- package/dist/api/types/weather.d.ts +77 -11
- package/dist/api/types/widget.d.ts +76 -15
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/index.js +2387 -1039
- 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 +211 -36
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +10 -3
- package/dist/shared/types/index.d.ts +3 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +6 -4
- package/dist/api/types/storageServers.d.ts +0 -4
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,73 +1,160 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import type { AxiosRequestConfig } from "axios";
|
|
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, DroneUploadUpdateRequestPayload, IngestProcessingProgress, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
|
|
4
|
+
import { IngestVersions, IngestTypes } from "@evercam/api/types";
|
|
5
|
+
export declare const getIngestApiUrls: (type: string) => string[];
|
|
4
6
|
export declare const IngestApi: {
|
|
5
7
|
drone: {
|
|
6
8
|
createUpload(projectId: string, params: {
|
|
7
9
|
uploadedBy: string;
|
|
8
|
-
}): Promise<
|
|
9
|
-
reprocessDrone(id: number, params
|
|
10
|
+
}): Promise<IngestUploadInitResponse>;
|
|
11
|
+
reprocessDrone(id: number, params?: JsonObject): Promise<void>;
|
|
10
12
|
getDrones(params: {
|
|
11
13
|
params: Partial<DronesQueryParams>;
|
|
12
|
-
}): Promise<
|
|
14
|
+
}): Promise<DroneUploadsResponse>;
|
|
15
|
+
getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
|
|
13
16
|
getArchive(id: number, params: {
|
|
14
17
|
dataType: string;
|
|
15
|
-
}): Promise<
|
|
16
|
-
deleteUpload(id: number): Promise<
|
|
18
|
+
}): Promise<Blob>;
|
|
19
|
+
deleteUpload(id: number): Promise<void>;
|
|
17
20
|
prepareForUpload(projectId: string, params: {
|
|
18
21
|
uploadedBy: string;
|
|
19
22
|
token: string;
|
|
20
|
-
}): Promise<
|
|
23
|
+
}): Promise<void>;
|
|
21
24
|
upload(projectId: string, params: {
|
|
22
25
|
uploadedBy: string;
|
|
23
26
|
token: string;
|
|
24
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<
|
|
27
|
+
}, payload: DroneUploadUpdateRequestPayload): Promise<void>;
|
|
25
28
|
verifyToken(projectId: string, params: {
|
|
26
29
|
token: string;
|
|
27
|
-
}): Promise<
|
|
28
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<
|
|
29
|
-
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<
|
|
30
|
-
isInspectionEnabled(projectId: string, params
|
|
31
|
-
getDroneQueueSize(
|
|
32
|
-
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<
|
|
33
|
-
checkFlightAvailableFeatures(projectId: string, params:
|
|
30
|
+
}): Promise<JsonObject>;
|
|
31
|
+
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
|
|
32
|
+
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
|
|
33
|
+
isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
|
|
34
|
+
getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
|
|
35
|
+
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
|
|
36
|
+
checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
|
|
34
37
|
};
|
|
35
38
|
assets360: {
|
|
36
39
|
get360Assets(params: {
|
|
37
40
|
params: Partial<_360AssetsQueryParams>;
|
|
38
|
-
}
|
|
41
|
+
}): Promise<_360AssetsResponse>;
|
|
39
42
|
get360AssetsCounts(projectId: string, params: {
|
|
40
43
|
uploadedBy: string;
|
|
41
|
-
}
|
|
42
|
-
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<
|
|
43
|
-
|
|
44
|
+
}): Promise<_360AssetsCountsResponse>;
|
|
45
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
|
|
46
|
+
update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
47
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
48
|
+
deleteUpload(id: number): Promise<void>;
|
|
44
49
|
getArchive(id: number, params: {
|
|
45
50
|
dateType: string;
|
|
46
|
-
}): Promise<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
}): Promise<Blob>;
|
|
52
|
+
get360Progress(id: number): Promise<IngestProcessingProgress>;
|
|
53
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
|
|
54
|
+
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
|
|
55
|
+
reprocess360(id: number): Promise<void>;
|
|
56
|
+
drawingExists(payload: {
|
|
57
|
+
params: {
|
|
58
|
+
name: string;
|
|
59
|
+
project_id: string;
|
|
60
|
+
};
|
|
61
|
+
}): Promise<JsonObject>;
|
|
62
|
+
getDrawings(payload: {
|
|
63
|
+
params: DrawingsRequestPayload;
|
|
64
|
+
config?: SwrRequestConfig<_360FloorsResponse>;
|
|
65
|
+
}): Promise<_360FloorsResponse>;
|
|
66
|
+
getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
|
|
67
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
|
|
68
|
+
deleteDrawing(id: number): Promise<void>;
|
|
69
|
+
restoreDrawing(id: number): Promise<void>;
|
|
70
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
|
|
71
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
|
|
72
|
+
fetchDrawingOverlay(id: number, params: {
|
|
73
|
+
view: boolean;
|
|
74
|
+
thumbnail?: boolean;
|
|
75
|
+
}, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
|
|
76
|
+
getFloorArchive(id: number): Promise<string>;
|
|
77
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
|
|
78
|
+
get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
|
|
51
79
|
};
|
|
52
80
|
bim: {
|
|
53
81
|
createUpload(projectId: string, params: {
|
|
54
82
|
uploadedBy: string;
|
|
55
|
-
}): Promise<
|
|
83
|
+
}): Promise<IngestUploadInitResponse>;
|
|
56
84
|
getBIMs(params: {
|
|
57
85
|
params: Partial<BimUploadsQueryParams>;
|
|
58
|
-
}): Promise<
|
|
59
|
-
getArchive(id: number): Promise<
|
|
60
|
-
deleteUpload(id: number): Promise<
|
|
86
|
+
}): Promise<BimUploadsResponse>;
|
|
87
|
+
getArchive(id: number): Promise<Blob>;
|
|
88
|
+
deleteUpload(id: number): Promise<void>;
|
|
61
89
|
upload(projectId: string, params: {
|
|
62
90
|
id: string;
|
|
63
91
|
name: string;
|
|
64
|
-
}, payload: BimUploadPayload): Promise<
|
|
92
|
+
}, payload: BimUploadPayload): Promise<void>;
|
|
93
|
+
};
|
|
94
|
+
webhook: {
|
|
95
|
+
notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
|
|
65
96
|
};
|
|
66
97
|
mobileCapture: {
|
|
67
|
-
getProjectMobileAssets(params:
|
|
68
|
-
getMobileAssetPhoto(assetId: string | number, params:
|
|
98
|
+
getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
|
|
99
|
+
getMobileAssetPhoto(assetId: string | number, params: {
|
|
100
|
+
projectId?: string;
|
|
101
|
+
project_id?: string;
|
|
102
|
+
isThumbnail?: boolean;
|
|
103
|
+
is_thumbnail?: boolean;
|
|
104
|
+
}): Promise<string>;
|
|
105
|
+
deleteAsset(assetId: string | number): Promise<void>;
|
|
69
106
|
};
|
|
70
107
|
utils: {
|
|
71
|
-
loadAllAssetsInQueue(): Promise<
|
|
108
|
+
loadAllAssetsInQueue(): Promise<({
|
|
109
|
+
ingestVersion: string;
|
|
110
|
+
id: number;
|
|
111
|
+
projectId: string;
|
|
112
|
+
consumed: boolean;
|
|
113
|
+
token: string;
|
|
114
|
+
flightDate: string;
|
|
115
|
+
flightGeolocation: string;
|
|
116
|
+
modelZip: string;
|
|
117
|
+
orthomosaicZip: string;
|
|
118
|
+
reportPdf: string;
|
|
119
|
+
processingLog: string;
|
|
120
|
+
uploadedBy: string;
|
|
121
|
+
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
122
|
+
modelCesiumAssetId: string;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
hasTusLinks: boolean;
|
|
125
|
+
hasSteps: boolean;
|
|
126
|
+
aerialShots: import("@evercam/api/types").AerialShotItem[];
|
|
127
|
+
} | {
|
|
128
|
+
ingestVersion: string;
|
|
129
|
+
archive: string;
|
|
130
|
+
date: string;
|
|
131
|
+
deviceSerial: string | null;
|
|
132
|
+
endPosition: unknown | null;
|
|
133
|
+
floor: string;
|
|
134
|
+
floorId: number;
|
|
135
|
+
id: number;
|
|
136
|
+
images: string[];
|
|
137
|
+
insertedAt: string;
|
|
138
|
+
mobileAudios: string[];
|
|
139
|
+
mobileAudiosArchive: string;
|
|
140
|
+
mobilePhotos: string[];
|
|
141
|
+
mobilePhotosArchive: string;
|
|
142
|
+
model: string;
|
|
143
|
+
name: string;
|
|
144
|
+
processingStatus: string;
|
|
145
|
+
projectId: string;
|
|
146
|
+
report: string;
|
|
147
|
+
processingLog: string;
|
|
148
|
+
hasSteps?: boolean;
|
|
149
|
+
route: unknown | null;
|
|
150
|
+
startPosition: unknown | null;
|
|
151
|
+
tusLinks: unknown | null;
|
|
152
|
+
updatedAt: string;
|
|
153
|
+
uploadedBy: string;
|
|
154
|
+
videoArchive: string;
|
|
155
|
+
videos: string[];
|
|
156
|
+
})[]>;
|
|
157
|
+
getIngestVersion(ingestUrl: string): IngestVersions;
|
|
158
|
+
chooseIngestApiUrl(type: IngestTypes): Promise<string>;
|
|
72
159
|
};
|
|
73
160
|
};
|
package/dist/api/api/ptzApi.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { MoveParams, ZoomParams } from "
|
|
1
|
+
import { MoveParams, ZoomParams } from "@evercam/api/types";
|
|
2
2
|
export declare const PtzApi: {
|
|
3
3
|
presets: {
|
|
4
|
-
index({ cameraExid }: {
|
|
4
|
+
index({ cameraExid, }: {
|
|
5
5
|
cameraExid: string;
|
|
6
|
-
}): Promise<
|
|
6
|
+
}): Promise<{
|
|
7
|
+
presets: Array<{
|
|
8
|
+
name: string;
|
|
9
|
+
token: string;
|
|
10
|
+
}>;
|
|
11
|
+
}>;
|
|
7
12
|
go({ cameraExid, presetId, }: {
|
|
8
13
|
cameraExid: string;
|
|
9
14
|
presetId: string | number;
|
|
@@ -21,6 +26,10 @@ export declare const PtzApi: {
|
|
|
21
26
|
presetId: string | number;
|
|
22
27
|
presetName: string;
|
|
23
28
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
+
updateHome({ cameraExid, presetName, }: {
|
|
30
|
+
cameraExid: string;
|
|
31
|
+
presetName: string;
|
|
32
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
33
|
delete({ cameraExid, presetId, }: {
|
|
25
34
|
cameraExid: string;
|
|
26
35
|
presetId: string | number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
+
import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
2
3
|
export declare const VideoWallApi: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
4
|
+
list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
|
|
5
|
+
create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
6
|
+
get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
7
|
+
update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
8
|
+
delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
|
|
1
|
+
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
2
|
import { AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare const WeatherApi: {
|
|
4
4
|
current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
5
5
|
historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
6
|
-
report(projectExid: string, payload:
|
|
6
|
+
report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
|
|
7
7
|
data: WeatherDataResponse[];
|
|
8
8
|
}> | undefined;
|
|
9
9
|
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -1,36 +1,188 @@
|
|
|
1
|
-
import { DateType } from "
|
|
2
|
-
|
|
1
|
+
import { DateType } from "@evercam/api/types/time";
|
|
2
|
+
import { GeoPoint, PaginationParams, Point3D } from "@evercam/api/types/shared";
|
|
3
|
+
export type _360OverlayPosition = {
|
|
4
|
+
northEast: GeoPoint;
|
|
5
|
+
northWest: GeoPoint;
|
|
6
|
+
southEast: GeoPoint;
|
|
7
|
+
southWest: GeoPoint;
|
|
8
|
+
};
|
|
9
|
+
export type ForgeViewport = {
|
|
10
|
+
name: string;
|
|
11
|
+
eye: number[];
|
|
12
|
+
target: number[];
|
|
13
|
+
worldUpVector?: number[];
|
|
14
|
+
};
|
|
15
|
+
export type ForgeView = {
|
|
16
|
+
name: string;
|
|
17
|
+
viewport: ForgeViewport;
|
|
18
|
+
timestamp: string;
|
|
19
|
+
};
|
|
20
|
+
export type _360CameraRotation = {
|
|
3
21
|
azimuthAngle: number;
|
|
4
22
|
polarAngle: number;
|
|
5
23
|
};
|
|
24
|
+
export type _360Geolocation = {
|
|
25
|
+
latitude: number;
|
|
26
|
+
longitude: number;
|
|
27
|
+
};
|
|
28
|
+
export type _360Marker3D = {
|
|
29
|
+
cameraPosition: Point3D;
|
|
30
|
+
geolocation: _360Geolocation;
|
|
31
|
+
nextRoomId: _360MakerId;
|
|
32
|
+
position: Point3D;
|
|
33
|
+
rotation: {
|
|
34
|
+
_order: "XYZ" | string;
|
|
35
|
+
_x: number;
|
|
36
|
+
_y: number;
|
|
37
|
+
_z: number;
|
|
38
|
+
isEuler: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export type _360Tag = {
|
|
42
|
+
id: string;
|
|
43
|
+
tagType: string;
|
|
44
|
+
comment: string;
|
|
45
|
+
creationDate: number;
|
|
46
|
+
currentRoom: _360MakerId;
|
|
47
|
+
position: Point3D;
|
|
48
|
+
cameraRotation: _360CameraRotation;
|
|
49
|
+
};
|
|
50
|
+
export type _360FloorId = string | number;
|
|
51
|
+
export type _360Walk = Record<_360FloorId, _360Floor>;
|
|
52
|
+
export type _360MakerId = string;
|
|
6
53
|
export type _360Floor = {
|
|
7
|
-
|
|
54
|
+
_3DMarkers: _360Marker3D[];
|
|
55
|
+
cameraRotation: _360CameraRotation;
|
|
56
|
+
fbxModel: string;
|
|
57
|
+
fbxModelHQ?: string;
|
|
58
|
+
pointCloudModelHQ?: string;
|
|
59
|
+
initialMarker: _360MakerId;
|
|
60
|
+
modelViewerFeatureFlag: boolean;
|
|
61
|
+
imagesOnlyFeatureFlag?: boolean;
|
|
62
|
+
forgeBIMFeatureFlag?: boolean;
|
|
63
|
+
isForgeGravityEnabled?: boolean;
|
|
64
|
+
initialForgeView?: ForgeView | null;
|
|
65
|
+
enhancedLightFeatureFlag?: boolean;
|
|
66
|
+
calibrationDetails?: Record<string, unknown>;
|
|
67
|
+
route: {
|
|
68
|
+
cameraHeadingOffset: string;
|
|
69
|
+
overlayID: number;
|
|
70
|
+
track: string;
|
|
71
|
+
};
|
|
72
|
+
sceneScale: number;
|
|
73
|
+
steps: number;
|
|
74
|
+
tags?: Record<string, _360Tag>;
|
|
75
|
+
};
|
|
76
|
+
export type _360WalkV2 = {
|
|
77
|
+
archive: string;
|
|
78
|
+
date: string;
|
|
79
|
+
deviceSerial: string | null;
|
|
80
|
+
endPosition: unknown | null;
|
|
81
|
+
floor: string;
|
|
82
|
+
floorId: number;
|
|
83
|
+
id: number;
|
|
84
|
+
images: string[];
|
|
85
|
+
insertedAt: string;
|
|
86
|
+
mobileAudios: string[];
|
|
87
|
+
mobileAudiosArchive: string;
|
|
88
|
+
mobilePhotos: string[];
|
|
89
|
+
mobilePhotosArchive: string;
|
|
90
|
+
model: string;
|
|
8
91
|
name: string;
|
|
92
|
+
processingStatus: string;
|
|
93
|
+
projectId: string;
|
|
94
|
+
report: string;
|
|
95
|
+
processingLog: string;
|
|
96
|
+
hasSteps?: boolean;
|
|
97
|
+
route: unknown | null;
|
|
98
|
+
startPosition: unknown | null;
|
|
99
|
+
tusLinks: unknown | null;
|
|
100
|
+
updatedAt: string;
|
|
101
|
+
uploadedBy: string;
|
|
102
|
+
videoArchive: string;
|
|
103
|
+
videos: string[];
|
|
104
|
+
};
|
|
105
|
+
export type _360FloorV2 = {
|
|
106
|
+
id: _360FloorId;
|
|
107
|
+
assets: _360WalkV2[];
|
|
108
|
+
projectId: string;
|
|
109
|
+
name: string;
|
|
110
|
+
mapStyle: string;
|
|
111
|
+
hasOverlay: boolean;
|
|
112
|
+
isCalibrated: boolean;
|
|
113
|
+
createdBy: string | null;
|
|
114
|
+
overlayPosition: _360OverlayPosition;
|
|
115
|
+
insertedAt: string;
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
deletedAt: string | null;
|
|
9
118
|
};
|
|
10
119
|
export type _360Scene = {
|
|
11
120
|
date: string;
|
|
12
|
-
dateID: string;
|
|
13
|
-
floors:
|
|
121
|
+
dateID: string | number;
|
|
122
|
+
floors: {
|
|
123
|
+
floorID: _360FloorId;
|
|
124
|
+
name: string;
|
|
125
|
+
}[];
|
|
14
126
|
polarAngle: number;
|
|
15
127
|
azimuthAngle: number;
|
|
16
128
|
};
|
|
129
|
+
export declare enum _360PinType {
|
|
130
|
+
Default = "Default"
|
|
131
|
+
}
|
|
132
|
+
export type _360Pin = {
|
|
133
|
+
position: Point3D;
|
|
134
|
+
pinType: _360PinType;
|
|
135
|
+
pinId?: string;
|
|
136
|
+
cameraExid?: string;
|
|
137
|
+
name: string;
|
|
138
|
+
currentRoom?: _360MakerId;
|
|
139
|
+
cameraRotation?: _360CameraRotation;
|
|
140
|
+
};
|
|
141
|
+
export type _360SceneRoute = {
|
|
142
|
+
cameraHeadingOffset?: number;
|
|
143
|
+
overlayID?: number;
|
|
144
|
+
track?: string;
|
|
145
|
+
};
|
|
146
|
+
export type _360ProjectListItem = {
|
|
147
|
+
integrationType: string;
|
|
148
|
+
projectId: string;
|
|
149
|
+
projectName: string;
|
|
150
|
+
providerID: string;
|
|
151
|
+
providerPrefix: string;
|
|
152
|
+
providerSuffix: string;
|
|
153
|
+
timeline: string;
|
|
154
|
+
uniqueId: string;
|
|
155
|
+
};
|
|
17
156
|
export type _360ProjectJsonResponse = {
|
|
18
157
|
dates: _360Scene[];
|
|
19
158
|
[key: string]: any;
|
|
20
159
|
};
|
|
21
160
|
export type MobileCaptureSnapshot = {
|
|
22
|
-
id: string;
|
|
161
|
+
id: string | number;
|
|
162
|
+
projectId?: string;
|
|
23
163
|
uploadedBy: string;
|
|
24
164
|
updatedAt: string;
|
|
25
165
|
assetType: string;
|
|
26
166
|
thumbnailUrl: string;
|
|
27
167
|
};
|
|
28
168
|
export declare enum _360UrlParams {
|
|
29
|
-
DateId = "
|
|
169
|
+
DateId = "dateId",
|
|
170
|
+
Date = "date",
|
|
30
171
|
Floor = "floor",
|
|
31
172
|
Marker = "marker",
|
|
32
173
|
PolarAngle = "polarAngle",
|
|
33
|
-
AzimuthAngle = "azimuthAngle"
|
|
174
|
+
AzimuthAngle = "azimuthAngle",
|
|
175
|
+
Zoom = "zoom",
|
|
176
|
+
User = "user",
|
|
177
|
+
ViewerMode = "viewer_mode",
|
|
178
|
+
ProjectId = "projectId",
|
|
179
|
+
Unit = "unit",
|
|
180
|
+
LockDate = "lockDate",
|
|
181
|
+
LockFloor = "lockFloor",
|
|
182
|
+
LockMarker = "lockMarker",
|
|
183
|
+
IsWidget = "isWidget",
|
|
184
|
+
MediaLocked = "mediaLocked",
|
|
185
|
+
Debug = "debug"
|
|
34
186
|
}
|
|
35
187
|
export declare enum _360AssetType {
|
|
36
188
|
Video = "video",
|
|
@@ -44,12 +196,6 @@ export declare enum _360AssetLabel {
|
|
|
44
196
|
Walks = "walks",
|
|
45
197
|
MobilePhotos = "mobilePhotos"
|
|
46
198
|
}
|
|
47
|
-
export declare enum _360Feature {
|
|
48
|
-
BIM = "BIM",
|
|
49
|
-
Minimap = "Minimap",
|
|
50
|
-
Minimodel = "Minimodel",
|
|
51
|
-
MobilePhoto = "MobilePhoto"
|
|
52
|
-
}
|
|
53
199
|
export declare enum _360IntergrationType {
|
|
54
200
|
Evercam = "Evercam",
|
|
55
201
|
Matterport = "Matterport",
|
|
@@ -62,10 +208,8 @@ export declare enum PathMarkerColor {
|
|
|
62
208
|
End = "#fd7567",
|
|
63
209
|
Default = "#2196F3"
|
|
64
210
|
}
|
|
65
|
-
export type _360AssetsQueryParams = {
|
|
66
|
-
|
|
67
|
-
limit: number;
|
|
68
|
-
projectID: string;
|
|
211
|
+
export type _360AssetsQueryParams = PaginationParams & {
|
|
212
|
+
projectId: string;
|
|
69
213
|
date: DateType;
|
|
70
214
|
floor: string;
|
|
71
215
|
id: string;
|
|
@@ -76,6 +220,32 @@ export type _360AssetsRequestPayload = {
|
|
|
76
220
|
floor: string;
|
|
77
221
|
uploadedBy?: string;
|
|
78
222
|
};
|
|
223
|
+
export type DrawingsRequestPayload = PaginationParams & {
|
|
224
|
+
projectId?: string;
|
|
225
|
+
name?: string;
|
|
226
|
+
changedBy?: string;
|
|
227
|
+
mapStyle?: string;
|
|
228
|
+
startDate?: string;
|
|
229
|
+
endDate?: string;
|
|
230
|
+
id?: number;
|
|
231
|
+
paginate?: boolean;
|
|
232
|
+
withAsset?: boolean;
|
|
233
|
+
includeDeleted?: boolean;
|
|
234
|
+
};
|
|
235
|
+
export type GenerateFloorPayload = {
|
|
236
|
+
overlay?: {
|
|
237
|
+
url: string;
|
|
238
|
+
title: string;
|
|
239
|
+
fileExtension: string;
|
|
240
|
+
};
|
|
241
|
+
changedBy: string;
|
|
242
|
+
name?: string;
|
|
243
|
+
mapStyle?: string;
|
|
244
|
+
overlayPositionCorners: _360OverlayPosition;
|
|
245
|
+
};
|
|
246
|
+
export type _360QueueQueryParams = {
|
|
247
|
+
projectId?: string;
|
|
248
|
+
};
|
|
79
249
|
export type _360AssetsUploadPayload = {
|
|
80
250
|
targetPointsCount: number;
|
|
81
251
|
assetType: string;
|
|
@@ -96,4 +266,104 @@ export type Generate360MapRequestPayload = {
|
|
|
96
266
|
cameraOffset: string;
|
|
97
267
|
startPoint: string;
|
|
98
268
|
endPoint: string;
|
|
269
|
+
drawingId?: number;
|
|
270
|
+
markers?: Array<{
|
|
271
|
+
position: {
|
|
272
|
+
x: number;
|
|
273
|
+
y: number;
|
|
274
|
+
z: number;
|
|
275
|
+
};
|
|
276
|
+
}>;
|
|
277
|
+
startPointIndex?: number;
|
|
278
|
+
endPointIndex?: number;
|
|
279
|
+
};
|
|
280
|
+
export declare enum EModelsType {
|
|
281
|
+
FBX = "FBX",
|
|
282
|
+
PointCloud = "PLY"
|
|
283
|
+
}
|
|
284
|
+
export type _360FloorRef = {
|
|
285
|
+
projectID: string;
|
|
286
|
+
dateID: string;
|
|
287
|
+
floorID: string;
|
|
288
|
+
};
|
|
289
|
+
export type _360Vector3 = {
|
|
290
|
+
x: number;
|
|
291
|
+
y: number;
|
|
292
|
+
z: number;
|
|
293
|
+
};
|
|
294
|
+
export type _360MarkerData = {
|
|
295
|
+
cameraPosition: _360Vector3;
|
|
296
|
+
nextRoomId: string;
|
|
297
|
+
position: _360Vector3;
|
|
298
|
+
geolocation?: {
|
|
299
|
+
latitude: number;
|
|
300
|
+
longitude: number;
|
|
301
|
+
};
|
|
302
|
+
rotation: {
|
|
303
|
+
_order: string;
|
|
304
|
+
_x: number;
|
|
305
|
+
_y: number;
|
|
306
|
+
_z: number;
|
|
307
|
+
isEuler: boolean;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
export type _360Route = {
|
|
311
|
+
overlayID?: number;
|
|
312
|
+
track?: string;
|
|
313
|
+
cameraHeadingOffset?: number;
|
|
314
|
+
};
|
|
315
|
+
export type _360CalibrationDetails = {
|
|
316
|
+
baseOriginOf360Viewer?: _360Vector3;
|
|
317
|
+
baseOriginOfForgeViewer?: _360Vector3;
|
|
318
|
+
rotationMatrix?: {
|
|
319
|
+
elements: number[];
|
|
320
|
+
};
|
|
321
|
+
scaleMatrix?: {
|
|
322
|
+
elements: number[];
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
export type _360FloorData = {
|
|
326
|
+
_3DMarkers: _360MarkerData[];
|
|
327
|
+
fbxModel: string | null;
|
|
328
|
+
fbxModelHQ: string | null;
|
|
329
|
+
pointCloudModelHQ: string | null;
|
|
330
|
+
initialMarker: string;
|
|
331
|
+
cameraRotation: _360CameraRotation;
|
|
332
|
+
steps: number;
|
|
333
|
+
route: _360Route | null;
|
|
334
|
+
sceneScale: number;
|
|
335
|
+
modelViewerFeatureFlag: boolean;
|
|
336
|
+
imagesOnlyFeatureFlag: boolean;
|
|
337
|
+
forgeBIMFeatureFlag: boolean;
|
|
338
|
+
isForgeGravityEnabled: boolean;
|
|
339
|
+
initialForgeView: Record<string, unknown> | null;
|
|
340
|
+
calibrationDetails: _360CalibrationDetails;
|
|
341
|
+
enhancedLightFeatureFlag: boolean;
|
|
342
|
+
};
|
|
343
|
+
export type _360PinData = {
|
|
344
|
+
position: _360Vector3;
|
|
345
|
+
pinType: string;
|
|
346
|
+
name: string;
|
|
347
|
+
pinId?: string;
|
|
348
|
+
cameraExid?: string;
|
|
349
|
+
currentRoom?: string;
|
|
350
|
+
cameraRotation?: {
|
|
351
|
+
polarAngle: number;
|
|
352
|
+
azimuthAngle: number;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
export type _360ForgeTimelineItem = {
|
|
356
|
+
taskNumber: number;
|
|
357
|
+
taskID: string;
|
|
358
|
+
actualStartDate: string;
|
|
359
|
+
actualEndDate: string;
|
|
360
|
+
plannedStartDate: string;
|
|
361
|
+
plannedEndDate: string;
|
|
362
|
+
objectIDs: number[];
|
|
363
|
+
};
|
|
364
|
+
export type _360ForgeProject = {
|
|
365
|
+
urns?: Array<{
|
|
366
|
+
urn: string;
|
|
367
|
+
}>;
|
|
368
|
+
timeline?: _360ForgeTimelineItem[];
|
|
99
369
|
};
|