@evercam/api 1.0.0-babd9ee76 → 1.0.0-bc5229297
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 +171 -14
- package/dist/api/api/adminApi.d.ts +68 -58
- package/dist/api/api/aiApi.d.ts +58 -54
- package/dist/api/api/authzApi.d.ts +23 -16
- package/dist/api/api/client/axios.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +110 -94
- package/dist/api/api/evercamLabsApi.d.ts +4 -5
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +99 -47
- package/dist/api/api/ptzApi.d.ts +9 -4
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +59 -52
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/analytics.d.ts +84 -58
- package/dist/api/types/anpr.d.ts +19 -2
- package/dist/api/types/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +44 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +37 -3
- package/dist/api/types/axios.d.ts +11 -6
- package/dist/api/types/bim.d.ts +11 -5
- package/dist/api/types/camera.d.ts +90 -93
- package/dist/api/types/comments.d.ts +4 -8
- 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 +3 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +11 -6
- package/dist/api/types/detections.d.ts +20 -8
- package/dist/api/types/drone.d.ts +92 -3
- package/dist/api/types/gateReport.d.ts +46 -58
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +7 -1
- package/dist/api/types/ingest.d.ts +98 -2
- package/dist/api/types/kit.d.ts +14 -7
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +32 -2
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +98 -0
- package/dist/api/types/posthog.d.ts +15 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +96 -21
- package/dist/api/types/recording.d.ts +5 -4
- 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 +2 -2
- package/dist/api/types/router.d.ts +1 -1
- package/dist/api/types/shared.d.ts +29 -4
- package/dist/api/types/shares.d.ts +1 -139
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +79 -39
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +36 -4
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -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 +0 -18
- package/dist/api/types/timelapse.d.ts +12 -5
- package/dist/api/types/user.d.ts +101 -31
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +71 -12
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/index.js +1513 -888
- 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 +127 -14
- package/dist/shared/types/imagePlayer.d.ts +1 -1
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +2 -2
- package/dist/api/types/storageServers.d.ts +0 -4
|
@@ -1,96 +1,148 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import type {
|
|
3
|
-
import {
|
|
4
|
-
|
|
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, 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[];
|
|
5
6
|
export declare const IngestApi: {
|
|
6
7
|
drone: {
|
|
7
8
|
createUpload(projectId: string, params: {
|
|
8
9
|
uploadedBy: string;
|
|
9
|
-
}): Promise<
|
|
10
|
-
reprocessDrone(id: number, params
|
|
10
|
+
}): Promise<IngestUploadInitResponse>;
|
|
11
|
+
reprocessDrone(id: number, params?: JsonObject): Promise<void>;
|
|
11
12
|
getDrones(params: {
|
|
12
13
|
params: Partial<DronesQueryParams>;
|
|
13
|
-
}): Promise<
|
|
14
|
+
}): Promise<DroneUploadsResponse>;
|
|
14
15
|
getArchive(id: number, params: {
|
|
15
16
|
dataType: string;
|
|
16
|
-
}): Promise<
|
|
17
|
-
deleteUpload(id: number): Promise<
|
|
17
|
+
}): Promise<Blob>;
|
|
18
|
+
deleteUpload(id: number): Promise<void>;
|
|
18
19
|
prepareForUpload(projectId: string, params: {
|
|
19
20
|
uploadedBy: string;
|
|
20
21
|
token: string;
|
|
21
|
-
}): Promise<
|
|
22
|
+
}): Promise<void>;
|
|
22
23
|
upload(projectId: string, params: {
|
|
23
24
|
uploadedBy: string;
|
|
24
25
|
token: string;
|
|
25
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<
|
|
26
|
+
}, payload: DroneUploadUpdateRequestPayload): Promise<void>;
|
|
26
27
|
verifyToken(projectId: string, params: {
|
|
27
28
|
token: string;
|
|
28
|
-
}): Promise<
|
|
29
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<
|
|
30
|
-
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<
|
|
31
|
-
isInspectionEnabled(projectId: string, params
|
|
32
|
-
getDroneQueueSize(
|
|
33
|
-
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<
|
|
34
|
-
checkFlightAvailableFeatures(projectId: string, params:
|
|
29
|
+
}): Promise<JsonObject>;
|
|
30
|
+
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<JsonObject>;
|
|
31
|
+
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
|
|
32
|
+
isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
|
|
33
|
+
getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
|
|
34
|
+
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
|
|
35
|
+
checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
|
|
35
36
|
};
|
|
36
37
|
assets360: {
|
|
37
38
|
get360Assets(params: {
|
|
38
39
|
params: Partial<_360AssetsQueryParams>;
|
|
39
|
-
}
|
|
40
|
+
}): Promise<_360AssetsResponse>;
|
|
40
41
|
get360AssetsCounts(projectId: string, params: {
|
|
41
42
|
uploadedBy: string;
|
|
42
|
-
}
|
|
43
|
-
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<
|
|
44
|
-
update360(id: number, payload: _360AssetsRequestPayload
|
|
45
|
-
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload
|
|
46
|
-
deleteUpload(id: number
|
|
43
|
+
}): Promise<_360AssetsCountsResponse>;
|
|
44
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
|
|
45
|
+
update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
46
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
47
|
+
deleteUpload(id: number): Promise<void>;
|
|
47
48
|
getArchive(id: number, params: {
|
|
48
49
|
dateType: string;
|
|
49
|
-
}
|
|
50
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload
|
|
51
|
-
upload(id: number, params:
|
|
52
|
-
reprocess360(id: number
|
|
50
|
+
}): Promise<Blob>;
|
|
51
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
|
|
52
|
+
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
|
|
53
|
+
reprocess360(id: number): Promise<void>;
|
|
53
54
|
drawingExists(payload: {
|
|
54
55
|
params: {
|
|
55
56
|
name: string;
|
|
56
57
|
project_id: string;
|
|
57
58
|
};
|
|
58
|
-
}
|
|
59
|
+
}): Promise<JsonObject>;
|
|
59
60
|
getDrawings(payload: {
|
|
60
61
|
params: DrawingsRequestPayload;
|
|
61
|
-
config
|
|
62
|
-
}
|
|
63
|
-
getDrawingById(id: number, projectExid: string
|
|
64
|
-
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload
|
|
65
|
-
deleteDrawing(id: number
|
|
66
|
-
transferWalks(sourceId: number, targetId: number, projectExid: string
|
|
67
|
-
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string
|
|
62
|
+
config?: SwrRequestConfig<_360FloorsResponse>;
|
|
63
|
+
}): Promise<_360FloorsResponse>;
|
|
64
|
+
getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
|
|
65
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
|
|
66
|
+
deleteDrawing(id: number): Promise<void>;
|
|
67
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
|
|
68
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
|
|
68
69
|
fetchDrawingOverlay(id: number, params: {
|
|
69
70
|
view: boolean;
|
|
70
|
-
}, onDownloadProgress: (
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
}, onDownloadProgress: (progress: ProgressEvent) => void): Promise<Blob>;
|
|
72
|
+
getFloorArchive(id: number): Promise<string>;
|
|
73
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
|
|
74
|
+
get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
|
|
73
75
|
};
|
|
74
76
|
bim: {
|
|
75
77
|
createUpload(projectId: string, params: {
|
|
76
78
|
uploadedBy: string;
|
|
77
|
-
}): Promise<
|
|
79
|
+
}): Promise<IngestUploadInitResponse>;
|
|
78
80
|
getBIMs(params: {
|
|
79
81
|
params: Partial<BimUploadsQueryParams>;
|
|
80
|
-
}): Promise<
|
|
81
|
-
getArchive(id: number): Promise<
|
|
82
|
-
deleteUpload(id: number): Promise<
|
|
82
|
+
}): Promise<BimUploadsResponse>;
|
|
83
|
+
getArchive(id: number): Promise<Blob>;
|
|
84
|
+
deleteUpload(id: number): Promise<void>;
|
|
83
85
|
upload(projectId: string, params: {
|
|
84
86
|
id: string;
|
|
85
87
|
name: string;
|
|
86
|
-
}, payload: BimUploadPayload): Promise<
|
|
88
|
+
}, payload: BimUploadPayload): Promise<void>;
|
|
87
89
|
};
|
|
88
90
|
mobileCapture: {
|
|
89
|
-
getProjectMobileAssets(params:
|
|
90
|
-
getMobileAssetPhoto(assetId: string | number, params:
|
|
91
|
-
|
|
91
|
+
getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
|
|
92
|
+
getMobileAssetPhoto(assetId: string | number, params: {
|
|
93
|
+
projectId?: string;
|
|
94
|
+
project_id?: string;
|
|
95
|
+
isThumbnail?: boolean;
|
|
96
|
+
is_thumbnail?: boolean;
|
|
97
|
+
}): Promise<string>;
|
|
98
|
+
deleteAsset(assetId: string | number): Promise<void>;
|
|
92
99
|
};
|
|
93
100
|
utils: {
|
|
94
|
-
loadAllAssetsInQueue(): Promise<
|
|
101
|
+
loadAllAssetsInQueue(): Promise<({
|
|
102
|
+
ingestVersion: string;
|
|
103
|
+
id: number;
|
|
104
|
+
projectId: string;
|
|
105
|
+
consumed: boolean;
|
|
106
|
+
token: string;
|
|
107
|
+
flightDate: string;
|
|
108
|
+
flightGeolocation: string;
|
|
109
|
+
modelZip: string;
|
|
110
|
+
orthomosaicZip: string;
|
|
111
|
+
reportPdf: string;
|
|
112
|
+
uploadedBy: string;
|
|
113
|
+
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
114
|
+
modelCesiumAssetId: string;
|
|
115
|
+
updatedAt: string;
|
|
116
|
+
hasTusLinks: boolean;
|
|
117
|
+
} | {
|
|
118
|
+
ingestVersion: string;
|
|
119
|
+
archive: string;
|
|
120
|
+
date: string;
|
|
121
|
+
deviceSerial: string | null;
|
|
122
|
+
endPosition: unknown | null;
|
|
123
|
+
floor: string;
|
|
124
|
+
floorId: number;
|
|
125
|
+
id: number;
|
|
126
|
+
images: string[];
|
|
127
|
+
insertedAt: string;
|
|
128
|
+
mobileAudios: string[];
|
|
129
|
+
mobileAudiosArchive: string;
|
|
130
|
+
mobilePhotos: string[];
|
|
131
|
+
mobilePhotosArchive: string;
|
|
132
|
+
model: string;
|
|
133
|
+
name: string;
|
|
134
|
+
processingStatus: string;
|
|
135
|
+
projectId: string;
|
|
136
|
+
report: string;
|
|
137
|
+
route: unknown | null;
|
|
138
|
+
startPosition: unknown | null;
|
|
139
|
+
tusLinks: unknown | null;
|
|
140
|
+
updatedAt: string;
|
|
141
|
+
uploadedBy: string;
|
|
142
|
+
videoArchive: string;
|
|
143
|
+
videos: string[];
|
|
144
|
+
})[]>;
|
|
145
|
+
getIngestVersion(ingestUrl: string): IngestVersions;
|
|
146
|
+
chooseIngestApiUrl(type: IngestTypes): Promise<string>;
|
|
95
147
|
};
|
|
96
148
|
};
|
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 }: {
|
|
5
|
-
cameraExid: string;
|
|
6
|
-
}): Promise<
|
|
4
|
+
index({ cameraExid, }: {
|
|
5
|
+
cameraExid: string;
|
|
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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
-
import { VideoWall,
|
|
2
|
+
import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
3
3
|
export declare const VideoWallApi: {
|
|
4
|
-
list(params?:
|
|
4
|
+
list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
|
|
5
5
|
create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
6
6
|
get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
7
7
|
update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
@@ -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,26 +1,35 @@
|
|
|
1
|
-
import { DateType } from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { DateType } from "@evercam/api/types/time";
|
|
2
|
+
import { GeoPoint, Point3D } from "@evercam/api/types/shared";
|
|
3
|
+
export type _360OverlayPosition = {
|
|
4
|
+
northEast: GeoPoint;
|
|
5
|
+
northWest: GeoPoint;
|
|
6
|
+
southEast: GeoPoint;
|
|
7
|
+
southWest: GeoPoint;
|
|
5
8
|
};
|
|
6
|
-
export type
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export type ForgeViewport = {
|
|
10
|
+
name: string;
|
|
11
|
+
eye: number[];
|
|
12
|
+
target: number[];
|
|
13
|
+
worldUpVector?: number[];
|
|
10
14
|
};
|
|
11
|
-
export type
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
export type ForgeView = {
|
|
16
|
+
name: string;
|
|
17
|
+
viewport: ForgeViewport;
|
|
18
|
+
timestamp: string;
|
|
14
19
|
};
|
|
15
20
|
export type _360CameraRotation = {
|
|
16
21
|
azimuthAngle: number;
|
|
17
22
|
polarAngle: number;
|
|
18
23
|
};
|
|
24
|
+
export type _360Geolocation = {
|
|
25
|
+
latitude: number;
|
|
26
|
+
longitude: number;
|
|
27
|
+
};
|
|
19
28
|
export type _360Marker3D = {
|
|
20
|
-
cameraPosition:
|
|
29
|
+
cameraPosition: Point3D;
|
|
21
30
|
geolocation: _360Geolocation;
|
|
22
31
|
nextRoomId: _360MakerId;
|
|
23
|
-
position:
|
|
32
|
+
position: Point3D;
|
|
24
33
|
rotation: {
|
|
25
34
|
_order: "XYZ" | string;
|
|
26
35
|
_x: number;
|
|
@@ -35,7 +44,7 @@ export type _360Tag = {
|
|
|
35
44
|
comment: string;
|
|
36
45
|
creationDate: number;
|
|
37
46
|
currentRoom: _360MakerId;
|
|
38
|
-
position:
|
|
47
|
+
position: Point3D;
|
|
39
48
|
cameraRotation: _360CameraRotation;
|
|
40
49
|
};
|
|
41
50
|
export type _360FloorId = string | number;
|
|
@@ -45,8 +54,16 @@ export type _360Floor = {
|
|
|
45
54
|
_3DMarkers: _360Marker3D[];
|
|
46
55
|
cameraRotation: _360CameraRotation;
|
|
47
56
|
fbxModel: string;
|
|
57
|
+
fbxModelHQ?: string;
|
|
58
|
+
pointCloudModelHQ?: string;
|
|
48
59
|
initialMarker: _360MakerId;
|
|
49
60
|
modelViewerFeatureFlag: boolean;
|
|
61
|
+
imagesOnlyFeatureFlag?: boolean;
|
|
62
|
+
forgeBIMFeatureFlag?: boolean;
|
|
63
|
+
isForgeGravityEnabled?: boolean;
|
|
64
|
+
initialForgeView?: ForgeView | null;
|
|
65
|
+
enhancedLightFeatureFlag?: boolean;
|
|
66
|
+
calibrationDetails?: Record<string, unknown>;
|
|
50
67
|
route: {
|
|
51
68
|
cameraHeadingOffset: string;
|
|
52
69
|
overlayID: number;
|
|
@@ -54,7 +71,7 @@ export type _360Floor = {
|
|
|
54
71
|
};
|
|
55
72
|
sceneScale: number;
|
|
56
73
|
steps: number;
|
|
57
|
-
tags
|
|
74
|
+
tags?: Record<string, _360Tag>;
|
|
58
75
|
};
|
|
59
76
|
export type _360WalkV2 = {
|
|
60
77
|
archive: string;
|
|
@@ -92,24 +109,7 @@ export type _360FloorV2 = {
|
|
|
92
109
|
hasOverlay: boolean;
|
|
93
110
|
isCalibrated: boolean;
|
|
94
111
|
createdBy: string | null;
|
|
95
|
-
overlayPosition:
|
|
96
|
-
northEast: {
|
|
97
|
-
lat: number;
|
|
98
|
-
lng: number;
|
|
99
|
-
};
|
|
100
|
-
northWest: {
|
|
101
|
-
lat: number;
|
|
102
|
-
lng: number;
|
|
103
|
-
};
|
|
104
|
-
southEast: {
|
|
105
|
-
lat: number;
|
|
106
|
-
lng: number;
|
|
107
|
-
};
|
|
108
|
-
southWest: {
|
|
109
|
-
lat: number;
|
|
110
|
-
lng: number;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
112
|
+
overlayPosition: _360OverlayPosition;
|
|
113
113
|
insertedAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
115
|
};
|
|
@@ -123,11 +123,33 @@ export type _360Scene = {
|
|
|
123
123
|
polarAngle: number;
|
|
124
124
|
azimuthAngle: number;
|
|
125
125
|
};
|
|
126
|
+
export declare enum _360PinType {
|
|
127
|
+
Default = "Default"
|
|
128
|
+
}
|
|
129
|
+
export type _360Pin = {
|
|
130
|
+
position: Point3D;
|
|
131
|
+
pinType: _360PinType;
|
|
132
|
+
pinId?: string;
|
|
133
|
+
cameraExid?: string;
|
|
134
|
+
name: string;
|
|
135
|
+
currentRoom?: _360MakerId;
|
|
136
|
+
cameraRotation?: _360CameraRotation;
|
|
137
|
+
};
|
|
126
138
|
export type _360SceneRoute = {
|
|
127
139
|
cameraHeadingOffset?: number;
|
|
128
140
|
overlayID?: number;
|
|
129
141
|
track?: string;
|
|
130
142
|
};
|
|
143
|
+
export type _360ProjectListItem = {
|
|
144
|
+
integrationType: string;
|
|
145
|
+
projectId: string;
|
|
146
|
+
projectName: string;
|
|
147
|
+
providerID: string;
|
|
148
|
+
providerPrefix: string;
|
|
149
|
+
providerSuffix: string;
|
|
150
|
+
timeline: string;
|
|
151
|
+
uniqueId: string;
|
|
152
|
+
};
|
|
131
153
|
export type _360FullProject = {
|
|
132
154
|
dates: _360SceneWithFloors[];
|
|
133
155
|
integrationType: string;
|
|
@@ -151,7 +173,8 @@ export type _360ProjectJsonResponse = {
|
|
|
151
173
|
[key: string]: any;
|
|
152
174
|
};
|
|
153
175
|
export type MobileCaptureSnapshot = {
|
|
154
|
-
id: string;
|
|
176
|
+
id: string | number;
|
|
177
|
+
projectId?: string;
|
|
155
178
|
uploadedBy: string;
|
|
156
179
|
updatedAt: string;
|
|
157
180
|
assetType: string;
|
|
@@ -219,6 +242,7 @@ export type DrawingsRequestPayload = {
|
|
|
219
242
|
page?: number;
|
|
220
243
|
limit?: number;
|
|
221
244
|
paginate?: boolean;
|
|
245
|
+
withAsset?: boolean;
|
|
222
246
|
};
|
|
223
247
|
export type GenerateFloorPayload = {
|
|
224
248
|
overlay?: {
|
|
@@ -229,24 +253,7 @@ export type GenerateFloorPayload = {
|
|
|
229
253
|
changedBy: string;
|
|
230
254
|
name?: string;
|
|
231
255
|
mapStyle?: string;
|
|
232
|
-
overlayPositionCorners:
|
|
233
|
-
northEast: {
|
|
234
|
-
lat: number;
|
|
235
|
-
lng: number;
|
|
236
|
-
};
|
|
237
|
-
northWest: {
|
|
238
|
-
lat: number;
|
|
239
|
-
lng: number;
|
|
240
|
-
};
|
|
241
|
-
southWest: {
|
|
242
|
-
lat: number;
|
|
243
|
-
lng: number;
|
|
244
|
-
};
|
|
245
|
-
southEast: {
|
|
246
|
-
lat: number;
|
|
247
|
-
lng: number;
|
|
248
|
-
};
|
|
249
|
-
};
|
|
256
|
+
overlayPositionCorners: _360OverlayPosition;
|
|
250
257
|
};
|
|
251
258
|
export type _360QueueQueryParams = {
|
|
252
259
|
projectId?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type AconexUserProject = {
|
|
2
2
|
id: number;
|
|
3
3
|
name: string;
|
|
4
4
|
shortName: string;
|
|
@@ -6,8 +6,8 @@ export type AconexUserProjectsResponsePayload = Array<{
|
|
|
6
6
|
endDate: string;
|
|
7
7
|
active: boolean;
|
|
8
8
|
hidden: boolean;
|
|
9
|
-
}
|
|
10
|
-
export type
|
|
9
|
+
};
|
|
10
|
+
export type AconexDocumentSchema = {
|
|
11
11
|
dataType: AconexDocumentDataType;
|
|
12
12
|
identifier: AconexIdentifiers;
|
|
13
13
|
fieldName: string;
|
|
@@ -17,18 +17,18 @@ export type AconexDocumentSchemaResponsePayload = Array<{
|
|
|
17
17
|
id: string;
|
|
18
18
|
value: string;
|
|
19
19
|
}>;
|
|
20
|
-
}
|
|
21
|
-
export type
|
|
20
|
+
};
|
|
21
|
+
export type AconexDocumentTypeSchema = {
|
|
22
22
|
dataType: AconexDocumentDataType;
|
|
23
|
-
identifier:
|
|
23
|
+
identifier: AconexIdentifiers;
|
|
24
24
|
fieldName: string;
|
|
25
25
|
modifiedFieldName?: string;
|
|
26
|
-
mandatoryStatus:
|
|
26
|
+
mandatoryStatus: AconexMandatoryStatus;
|
|
27
27
|
specifications?: Array<AconexFieldSpecification>;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
29
|
export type AconexDocumentSchemaField = {
|
|
30
30
|
dataType: AconexDocumentDataType;
|
|
31
|
-
identifier: AconexIdentifiers
|
|
31
|
+
identifier: AconexIdentifiers;
|
|
32
32
|
schemaValues?: Array<{
|
|
33
33
|
id: string;
|
|
34
34
|
value: string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { JsonObject } from "@evercam/api/types";
|
|
2
|
+
export type WithZohoParams = {
|
|
3
|
+
with_zoho?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type AdminSearchProjectItem = {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
status: string;
|
|
9
|
+
exid: string;
|
|
10
|
+
featureFlags: string[];
|
|
11
|
+
};
|
|
12
|
+
export type AdminSearchItem = AdminSearchProjectItem | JsonObject;
|
|
13
|
+
export type AdminInviteRole = {
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
resourceType: string;
|
|
17
|
+
};
|
|
18
|
+
export type AdminInviteAssigner = {
|
|
19
|
+
id: number;
|
|
20
|
+
email: string;
|
|
21
|
+
fullname: string;
|
|
22
|
+
};
|
|
23
|
+
export type AdminInviteAuthContextSubRole = {
|
|
24
|
+
resourceId: string;
|
|
25
|
+
roleId: number;
|
|
26
|
+
};
|
|
27
|
+
export type AdminInviteAuthContext = {
|
|
28
|
+
permissions: string[] | null;
|
|
29
|
+
subRoles: AdminInviteAuthContextSubRole[];
|
|
30
|
+
hasOverride: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type AdminInvite = {
|
|
33
|
+
id: number;
|
|
34
|
+
message: string | null;
|
|
35
|
+
status: number;
|
|
36
|
+
email: string;
|
|
37
|
+
key: string;
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
role: AdminInviteRole;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
resourceId: string;
|
|
42
|
+
assigner: AdminInviteAssigner;
|
|
43
|
+
sentCount: number;
|
|
44
|
+
lastSentAt: string;
|
|
45
|
+
authContext: AdminInviteAuthContext;
|
|
46
|
+
statusName: string;
|
|
47
|
+
};
|
|
48
|
+
export type ZohoDeskTicketSearchResponse = {
|
|
49
|
+
data: JsonObject[];
|
|
50
|
+
count: number;
|
|
51
|
+
};
|