@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e424632fd
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 +2 -0
- package/dist/api/{3dFirebaseApi.d.ts → api/3dFirebaseApi.d.ts} +8 -1
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +87 -83
- package/dist/api/api/aiApi.d.ts +128 -0
- package/dist/api/api/authzApi.d.ts +37 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/{client → api/client}/swr/Swr.d.ts +1 -1
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +118 -94
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -4
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +148 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +276 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/{types → api/types}/analytics.d.ts +141 -41
- package/dist/{types → api/types}/anpr.d.ts +19 -2
- package/dist/{types → api/types}/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +61 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +95 -0
- package/dist/{types → api/types}/axios.d.ts +10 -5
- package/dist/{types → api/types}/bim.d.ts +11 -5
- package/dist/{types → api/types}/camera.d.ts +97 -78
- package/dist/{types → api/types}/comments.d.ts +4 -8
- package/dist/{types → api/types}/company.d.ts +42 -1
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +3 -5
- package/dist/{types → api/types}/coolify.d.ts +18 -2
- package/dist/{types → api/types}/copilot.d.ts +11 -6
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +20 -22
- package/dist/{types → api/types}/drone.d.ts +1 -0
- package/dist/{types → api/types}/gateReport.d.ts +48 -157
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +7 -1
- package/dist/api/types/ingest.d.ts +147 -0
- package/dist/{types → api/types}/kit.d.ts +33 -5
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +79 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/{types → api/types}/procore.d.ts +13 -6
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -32
- package/dist/api/types/project.d.ts +246 -0
- package/dist/{types → api/types}/recording.d.ts +4 -3
- package/dist/{types → api/types}/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +16 -4
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/{types → 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/{types → api/types}/streaming.d.ts +3 -3
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +12 -5
- package/dist/{types → api/types}/user.d.ts +105 -31
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +75 -11
- package/dist/{types → api/types}/widget.d.ts +72 -11
- package/dist/{types → api/types}/xweather.d.ts +4 -4
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1104 -917
- 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/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +301 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +4 -4
- package/dist/api/aiApi.d.ts +0 -146
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/ingestApi.d.ts +0 -88
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -139
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -10
- package/dist/types/ingest.d.ts +0 -47
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/planner.d.ts +0 -32
- package/dist/types/posthog.d.ts +0 -18
- package/dist/types/project.d.ts +0 -129
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -142
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -21
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/countries.d.ts +0 -0
- /package/dist/{types → api/types}/errors.d.ts +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/roi.d.ts +0 -0
- /package/dist/{types → api/types}/routeParams.d.ts +0 -0
- /package/dist/{types → api/types}/sso.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
package/dist/api/authzApi.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const AuthzApi: {
|
|
2
|
-
roles: {
|
|
3
|
-
get(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
getRoleDetails(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
createRole(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
updateRole(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
deleteRole(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
addPermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
deletePermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
getRoleUsers(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
assignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
-
unassignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
-
getUserRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
};
|
|
15
|
-
scopes: {
|
|
16
|
-
get(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
-
create(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
update(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
|
-
};
|
|
21
|
-
};
|
package/dist/api/ingestApi.d.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
3
|
-
import { IngestVersions } from "@evercam/api/types";
|
|
4
|
-
export declare const getIngestApiUrl: (version: string) => string | undefined | null;
|
|
5
|
-
export declare const IngestApi: {
|
|
6
|
-
drone: {
|
|
7
|
-
createUpload(projectId: string, params: {
|
|
8
|
-
uploadedBy: string;
|
|
9
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
getDrones(params: {
|
|
12
|
-
params: Partial<DronesQueryParams>;
|
|
13
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
getArchive(id: number, params: {
|
|
15
|
-
dataType: string;
|
|
16
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
prepareForUpload(projectId: string, params: {
|
|
19
|
-
uploadedBy: string;
|
|
20
|
-
token: string;
|
|
21
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
|
-
upload(projectId: string, params: {
|
|
23
|
-
uploadedBy: string;
|
|
24
|
-
token: string;
|
|
25
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
|
-
verifyToken(projectId: string, params: {
|
|
27
|
-
token: string;
|
|
28
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
-
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
-
isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
-
getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
33
|
-
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
34
|
-
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
-
};
|
|
36
|
-
assets360: {
|
|
37
|
-
get360Assets(params: {
|
|
38
|
-
params: Partial<_360AssetsQueryParams>;
|
|
39
|
-
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
-
get360AssetsCounts(projectId: string, params: {
|
|
41
|
-
uploadedBy: string;
|
|
42
|
-
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
-
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
-
update360(id: number, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
-
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
|
-
getArchive(id: number, params: {
|
|
48
|
-
dateType: string;
|
|
49
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
50
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
51
|
-
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
52
|
-
getDrawings(payload: {
|
|
53
|
-
params: DrawingsRequestPayload;
|
|
54
|
-
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
55
|
-
getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
56
|
-
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
57
|
-
deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
-
transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
59
|
-
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
60
|
-
fetchDrawingOverlay(id: number, params: {
|
|
61
|
-
view: boolean;
|
|
62
|
-
}, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
-
generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
get360QueueSize(version?: IngestVersions): Promise<Record<string, any>>;
|
|
65
|
-
};
|
|
66
|
-
bim: {
|
|
67
|
-
createUpload(projectId: string, params: {
|
|
68
|
-
uploadedBy: string;
|
|
69
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
|
-
getBIMs(params: {
|
|
71
|
-
params: Partial<BimUploadsQueryParams>;
|
|
72
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
73
|
-
getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
74
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
75
|
-
upload(projectId: string, params: {
|
|
76
|
-
id: string;
|
|
77
|
-
name: string;
|
|
78
|
-
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
79
|
-
};
|
|
80
|
-
mobileCapture: {
|
|
81
|
-
getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
|
|
82
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
83
|
-
deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
84
|
-
};
|
|
85
|
-
utils: {
|
|
86
|
-
loadAllAssetsInQueue(): Promise<any[]>;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VideoWallPreset } from "@evercam/api/types";
|
|
2
|
-
export declare const VideoWallApi: {
|
|
3
|
-
presets: {
|
|
4
|
-
getProjectPresets(email: string, projectId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
saveProjectPreset(email: string, projectId: string, payload: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
getGlobalPreset(email: string): Promise<VideoWallPreset>;
|
|
7
|
-
saveGlobalPreset(email: string, payload: VideoWallPreset): Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
};
|
package/dist/types/360.d.ts
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { DateType } from "@/types/time";
|
|
2
|
-
export type _360CameraParams = {
|
|
3
|
-
azimuthAngle: number;
|
|
4
|
-
polarAngle: number;
|
|
5
|
-
};
|
|
6
|
-
export type _360Floor = {
|
|
7
|
-
floorID: string;
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
10
|
-
export type _360Scene = {
|
|
11
|
-
date: string;
|
|
12
|
-
dateID: string;
|
|
13
|
-
floors: _360Floor[];
|
|
14
|
-
polarAngle: number;
|
|
15
|
-
azimuthAngle: number;
|
|
16
|
-
};
|
|
17
|
-
export type _360ProjectJsonResponse = {
|
|
18
|
-
dates: _360Scene[];
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
export type MobileCaptureSnapshot = {
|
|
22
|
-
id: string;
|
|
23
|
-
uploadedBy: string;
|
|
24
|
-
updatedAt: string;
|
|
25
|
-
assetType: string;
|
|
26
|
-
thumbnailUrl: string;
|
|
27
|
-
};
|
|
28
|
-
export declare enum _360UrlParams {
|
|
29
|
-
DateId = "date_id",
|
|
30
|
-
Floor = "floor",
|
|
31
|
-
Marker = "marker",
|
|
32
|
-
PolarAngle = "polarAngle",
|
|
33
|
-
AzimuthAngle = "azimuthAngle"
|
|
34
|
-
}
|
|
35
|
-
export declare enum _360AssetType {
|
|
36
|
-
Video = "video",
|
|
37
|
-
Image = "image",
|
|
38
|
-
Model = "model",
|
|
39
|
-
Route = "route",
|
|
40
|
-
MobilePhoto = "mobile_photos",
|
|
41
|
-
MobileAudio = "mobile_audios"
|
|
42
|
-
}
|
|
43
|
-
export declare enum _360AssetLabel {
|
|
44
|
-
Walks = "walks",
|
|
45
|
-
MobilePhotos = "mobilePhotos"
|
|
46
|
-
}
|
|
47
|
-
export declare enum _360Feature {
|
|
48
|
-
BIM = "BIM",
|
|
49
|
-
Minimap = "Minimap",
|
|
50
|
-
Minimodel = "Minimodel",
|
|
51
|
-
MobilePhoto = "MobilePhoto"
|
|
52
|
-
}
|
|
53
|
-
export declare enum _360IntergrationType {
|
|
54
|
-
Evercam = "Evercam",
|
|
55
|
-
Matterport = "Matterport",
|
|
56
|
-
OpenSpace = "Openspace",
|
|
57
|
-
HoloBuilder = "Holobuilder",
|
|
58
|
-
DroneDeploy = "Dronedeploy"
|
|
59
|
-
}
|
|
60
|
-
export declare enum PathMarkerColor {
|
|
61
|
-
Start = "#00e74c",
|
|
62
|
-
End = "#fd7567",
|
|
63
|
-
Default = "#2196F3"
|
|
64
|
-
}
|
|
65
|
-
export type _360AssetsQueryParams = {
|
|
66
|
-
page: number;
|
|
67
|
-
limit: number;
|
|
68
|
-
projectID: string;
|
|
69
|
-
date: DateType;
|
|
70
|
-
floor: string;
|
|
71
|
-
id: string;
|
|
72
|
-
};
|
|
73
|
-
export type _360AssetsRequestPayload = {
|
|
74
|
-
projectId: string;
|
|
75
|
-
date: DateType;
|
|
76
|
-
floor: string;
|
|
77
|
-
uploadedBy?: string;
|
|
78
|
-
};
|
|
79
|
-
export type DrawingsRequestPayload = {
|
|
80
|
-
projectId?: string;
|
|
81
|
-
name?: string;
|
|
82
|
-
changedBy?: string;
|
|
83
|
-
mapStyle?: string;
|
|
84
|
-
startDate?: string;
|
|
85
|
-
endDate?: string;
|
|
86
|
-
id?: number;
|
|
87
|
-
page?: number;
|
|
88
|
-
limit?: number;
|
|
89
|
-
paginate?: boolean;
|
|
90
|
-
};
|
|
91
|
-
export type GenerateFloorPayload = {
|
|
92
|
-
overlay?: {
|
|
93
|
-
url: string;
|
|
94
|
-
title: string;
|
|
95
|
-
fileExtension: string;
|
|
96
|
-
};
|
|
97
|
-
changedBy: string;
|
|
98
|
-
name?: string;
|
|
99
|
-
mapStyle?: string;
|
|
100
|
-
overlayPositionCorners: {
|
|
101
|
-
northEast: {
|
|
102
|
-
lat: number;
|
|
103
|
-
lng: number;
|
|
104
|
-
};
|
|
105
|
-
northWest: {
|
|
106
|
-
lat: number;
|
|
107
|
-
lng: number;
|
|
108
|
-
};
|
|
109
|
-
southWest: {
|
|
110
|
-
lat: number;
|
|
111
|
-
lng: number;
|
|
112
|
-
};
|
|
113
|
-
southEast: {
|
|
114
|
-
lat: number;
|
|
115
|
-
lng: number;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
export type _360AssetsUploadPayload = {
|
|
120
|
-
targetPointsCount: number;
|
|
121
|
-
assetType: string;
|
|
122
|
-
upload: {
|
|
123
|
-
url: string;
|
|
124
|
-
title: string;
|
|
125
|
-
fileExtension: string;
|
|
126
|
-
}[];
|
|
127
|
-
deviceSerial: string;
|
|
128
|
-
startPosition: string;
|
|
129
|
-
endPosition: string;
|
|
130
|
-
isTimelapse: boolean;
|
|
131
|
-
isImagesOnly: boolean;
|
|
132
|
-
};
|
|
133
|
-
export type Generate360MapRequestPayload = {
|
|
134
|
-
dateId: string;
|
|
135
|
-
floorId: string;
|
|
136
|
-
cameraOffset: string;
|
|
137
|
-
startPoint: string;
|
|
138
|
-
endPoint: string;
|
|
139
|
-
};
|
package/dist/types/aconex.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export type AconexUserProjectsResponsePayload = Array<{
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
shortName: string;
|
|
5
|
-
startDate: string;
|
|
6
|
-
endDate: string;
|
|
7
|
-
}>;
|
|
8
|
-
export type AconexDocumentSchemaField = {
|
|
9
|
-
dataType: AconexDocumentDataType;
|
|
10
|
-
identifier: string;
|
|
11
|
-
schemaValues?: Array<{
|
|
12
|
-
id: string;
|
|
13
|
-
value: string;
|
|
14
|
-
}>;
|
|
15
|
-
fieldName: string;
|
|
16
|
-
mandatoryStatus: AconexMandatoryStatus;
|
|
17
|
-
componentType?: AconexFormComponentType;
|
|
18
|
-
items?: Array<any>;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
};
|
|
21
|
-
export declare enum AconexDocumentDataType {
|
|
22
|
-
Long = "LONG",
|
|
23
|
-
Integer = "INTEGER",
|
|
24
|
-
String = "STRING",
|
|
25
|
-
Boolean = "BOOLEAN",
|
|
26
|
-
Date = "DATE"
|
|
27
|
-
}
|
|
28
|
-
export declare enum AconexFormComponentType {
|
|
29
|
-
Select = "SelectField",
|
|
30
|
-
Text = "TextField",
|
|
31
|
-
DateTime = "DateTimeField",
|
|
32
|
-
Switch = "SwitchField"
|
|
33
|
-
}
|
|
34
|
-
export declare enum AconexMandatoryStatus {
|
|
35
|
-
Mandatory = "MANDATORY",
|
|
36
|
-
NotMandatory = "NOT_MANDATORY"
|
|
37
|
-
}
|
|
38
|
-
export type AconexAuthCallbackParams = {
|
|
39
|
-
code: string;
|
|
40
|
-
location: string;
|
|
41
|
-
};
|
|
42
|
-
export type AconexEditedImageUploadRequestPayload = {
|
|
43
|
-
projectExid: string;
|
|
44
|
-
snapshot: string;
|
|
45
|
-
};
|
package/dist/types/ingest.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { PaginationParams, DateType } from "@/types";
|
|
2
|
-
export declare enum IngestProcessingStatus {
|
|
3
|
-
Completed = "completed",
|
|
4
|
-
Uploading = "uploading",
|
|
5
|
-
Created = "created",
|
|
6
|
-
Failed = "failed",
|
|
7
|
-
Aborted = "aborted",
|
|
8
|
-
Paused = "paused",
|
|
9
|
-
InProgress = "inprogress",
|
|
10
|
-
Pending = "pending"
|
|
11
|
-
}
|
|
12
|
-
export declare enum IngestVersions {
|
|
13
|
-
V1 = "v1",
|
|
14
|
-
V2 = "v2"
|
|
15
|
-
}
|
|
16
|
-
export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
|
|
17
|
-
projectId: string;
|
|
18
|
-
consumed: string;
|
|
19
|
-
token: string;
|
|
20
|
-
processingStatus: IngestProcessingStatus;
|
|
21
|
-
};
|
|
22
|
-
export type DroneUploadUpdateRequestPayload = {
|
|
23
|
-
flightMetadata: {
|
|
24
|
-
dateTime: string;
|
|
25
|
-
gpsAltitude: string;
|
|
26
|
-
gpsCoordinates: string;
|
|
27
|
-
};
|
|
28
|
-
upload: {
|
|
29
|
-
url: string;
|
|
30
|
-
title: string;
|
|
31
|
-
fileExtension: string;
|
|
32
|
-
}[];
|
|
33
|
-
projectName: string;
|
|
34
|
-
};
|
|
35
|
-
export type CalculateMeasuringOperationRequestPayload = {
|
|
36
|
-
date: DateType;
|
|
37
|
-
points: [number, number][];
|
|
38
|
-
operation: string;
|
|
39
|
-
};
|
|
40
|
-
export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
|
|
41
|
-
date: DateType;
|
|
42
|
-
};
|
|
43
|
-
export type InspectionToolRequestPayload = {
|
|
44
|
-
date: DateType;
|
|
45
|
-
gpsAltitude: string;
|
|
46
|
-
gpsCoordinates: string;
|
|
47
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare enum NotificationType {
|
|
2
|
-
CameraShare = "camera_share",
|
|
3
|
-
CameraStatusChange = "camera_status_changed",
|
|
4
|
-
Mention = "mention",
|
|
5
|
-
TimelapseCreated = "timelapse_created",
|
|
6
|
-
TimelapseFailed = "timelapse_failed",
|
|
7
|
-
DroneProcessing = "drone_processing_done",
|
|
8
|
-
Processing360 = "three_sixty_done"
|
|
9
|
-
}
|
|
10
|
-
export interface CameraShareContext {
|
|
11
|
-
cameraExid: string;
|
|
12
|
-
projectExid: string;
|
|
13
|
-
shareId: number;
|
|
14
|
-
}
|
|
15
|
-
export type Notification = {
|
|
16
|
-
id: number;
|
|
17
|
-
type: NotificationType;
|
|
18
|
-
insertedAt: string;
|
|
19
|
-
initiatorId: number;
|
|
20
|
-
initiatorFullname: string;
|
|
21
|
-
initiatorEmail: string;
|
|
22
|
-
targetId: number;
|
|
23
|
-
targetFullname: string;
|
|
24
|
-
targetEmail: string;
|
|
25
|
-
readTimestamp: string | null;
|
|
26
|
-
context: CameraShareContext;
|
|
27
|
-
};
|
package/dist/types/planner.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare enum EDistortImageModes {
|
|
2
|
-
FreeRotate = "freeRotate",
|
|
3
|
-
Lock = "lock"
|
|
4
|
-
}
|
|
5
|
-
export declare enum EMapTypes {
|
|
6
|
-
Blank = "Blank",
|
|
7
|
-
Satellite = "Satellite",
|
|
8
|
-
Street = "Street",
|
|
9
|
-
GoogleSatellite = "hybrid",
|
|
10
|
-
GoogleStreet = "roadmap",
|
|
11
|
-
GoogleTerrain = "terrain"
|
|
12
|
-
}
|
|
13
|
-
export declare enum EMarkers {
|
|
14
|
-
CameraMarker = "cameraMarker",
|
|
15
|
-
ThreeSixtyMarker = "threeSixtyMarkers"
|
|
16
|
-
}
|
|
17
|
-
export declare enum EPageType {
|
|
18
|
-
List = "list",
|
|
19
|
-
Item = "item"
|
|
20
|
-
}
|
|
21
|
-
export declare enum EPaths {
|
|
22
|
-
Home = "/",
|
|
23
|
-
Session = "/session"
|
|
24
|
-
}
|
|
25
|
-
export declare enum EProjectItems {
|
|
26
|
-
Camera = "camera",
|
|
27
|
-
Overlay = "overlay"
|
|
28
|
-
}
|
|
29
|
-
export declare enum ERoles {
|
|
30
|
-
Admin = "admin",
|
|
31
|
-
User = "user"
|
|
32
|
-
}
|
package/dist/types/posthog.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type ActiveUsersRequestPayload = {
|
|
2
|
-
from?: string;
|
|
3
|
-
to?: string;
|
|
4
|
-
companyExid?: string;
|
|
5
|
-
projectExid?: string;
|
|
6
|
-
cameraExid?: string;
|
|
7
|
-
};
|
|
8
|
-
export type ActiveUsersResponsePayload = Array<{
|
|
9
|
-
date?: string;
|
|
10
|
-
dau?: number;
|
|
11
|
-
wau?: number;
|
|
12
|
-
mau?: number;
|
|
13
|
-
}>;
|
|
14
|
-
export declare enum ActiveUsersMetric {
|
|
15
|
-
DAU = "dau",
|
|
16
|
-
WAU = "wau",
|
|
17
|
-
MAU = "mau"
|
|
18
|
-
}
|
package/dist/types/project.d.ts
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { AdminCamera, Camera, CameraExid, DateTime, DateType, EntityByExid, Exid, PaginationParams } from "@/types";
|
|
2
|
-
export type ProjectExid = Exid;
|
|
3
|
-
export type ProjectsByExid = EntityByExid<Project>;
|
|
4
|
-
export type Project = {
|
|
5
|
-
id: string | number;
|
|
6
|
-
exid: ProjectExid;
|
|
7
|
-
name: string;
|
|
8
|
-
status?: ProjectStatus;
|
|
9
|
-
insertedAt?: string;
|
|
10
|
-
startedAt?: string;
|
|
11
|
-
timezone?: string;
|
|
12
|
-
zohoId?: string;
|
|
13
|
-
userId?: number;
|
|
14
|
-
cameras?: Array<Camera | AdminCamera>;
|
|
15
|
-
unrestrictedCameras?: Array<Camera | AdminCamera>;
|
|
16
|
-
featureFlags: Array<ProjectFeatureFlag>;
|
|
17
|
-
owner?: {
|
|
18
|
-
email?: string;
|
|
19
|
-
};
|
|
20
|
-
ownerEmail?: string;
|
|
21
|
-
ownerName?: string;
|
|
22
|
-
camerasRestrictionType?: string;
|
|
23
|
-
};
|
|
24
|
-
export declare enum ProjectStatus {
|
|
25
|
-
ToStart = "To Start",
|
|
26
|
-
InProgress = "In Progress",
|
|
27
|
-
Completed = "Completed",
|
|
28
|
-
NotAplicable = "Not Applicable"
|
|
29
|
-
}
|
|
30
|
-
export declare enum ProjectArchiveTier {
|
|
31
|
-
Full = "Full",
|
|
32
|
-
Partial = "Partial",
|
|
33
|
-
Minimal = "Minimal",
|
|
34
|
-
ScheduledForDeletion = "Scheduled for Deletion"
|
|
35
|
-
}
|
|
36
|
-
export type ProjectResponsePayload = {
|
|
37
|
-
data?: Project[];
|
|
38
|
-
};
|
|
39
|
-
export type UpdateCameraRestrictionPayload = {
|
|
40
|
-
isAccessRestricted?: boolean;
|
|
41
|
-
};
|
|
42
|
-
export type Logo = {
|
|
43
|
-
name: string;
|
|
44
|
-
url: string;
|
|
45
|
-
};
|
|
46
|
-
export type ProjectLogoResponsePayload = Logo[];
|
|
47
|
-
export declare enum ProjectFeatureFlag {
|
|
48
|
-
AnprLegacy = "anpr_legacy",
|
|
49
|
-
DroneView = "drone_view",
|
|
50
|
-
Bim = "4d_bim",
|
|
51
|
-
BimItwin = "4d_bim_itwin",
|
|
52
|
-
BimForge = "4d_bim_forge",
|
|
53
|
-
ThreeSixtyView = "360_view",
|
|
54
|
-
NdaMc = "NDA/MC",
|
|
55
|
-
GateReport = "gate_report",
|
|
56
|
-
GateReportAutoVerify = "auto_publish",
|
|
57
|
-
GateReportMotionDetection = "motion_detection",
|
|
58
|
-
FullEmpty = "full_empty",
|
|
59
|
-
MediaHubSharing = "archives_sharing",
|
|
60
|
-
GateReportAnprBased = "anpr_sourced",
|
|
61
|
-
NoLicensePlate = "no_license_plate",
|
|
62
|
-
DefaultToProjectApp = "default_to_project_app",
|
|
63
|
-
SmartSearch = "smart_search",
|
|
64
|
-
PpeMonitoring = "ppe_monitoring"
|
|
65
|
-
}
|
|
66
|
-
export type ProjectBatteryReading = {
|
|
67
|
-
exid: number;
|
|
68
|
-
voltage: number;
|
|
69
|
-
lastSeen: DateType;
|
|
70
|
-
};
|
|
71
|
-
export type ThumbnailData = {
|
|
72
|
-
cameraExid: CameraExid;
|
|
73
|
-
custom: boolean;
|
|
74
|
-
image: string;
|
|
75
|
-
};
|
|
76
|
-
export type ProjectsQueryParams = PaginationParams & {
|
|
77
|
-
name: string;
|
|
78
|
-
exid: string;
|
|
79
|
-
status: ProjectStatus;
|
|
80
|
-
cameras: string;
|
|
81
|
-
featureFlags: Array<ProjectFeatureFlag>;
|
|
82
|
-
archived: string;
|
|
83
|
-
};
|
|
84
|
-
export type ProjectCreateRequestPayload = {
|
|
85
|
-
projectExid?: string;
|
|
86
|
-
projectName: string;
|
|
87
|
-
ownerId: number;
|
|
88
|
-
cameras: string[];
|
|
89
|
-
};
|
|
90
|
-
export type ProjectCreateResponse = {
|
|
91
|
-
name: string;
|
|
92
|
-
exid: string;
|
|
93
|
-
id: number;
|
|
94
|
-
userId: number;
|
|
95
|
-
zohoId: string;
|
|
96
|
-
};
|
|
97
|
-
export type ProjectUpdateRequestPayload = {
|
|
98
|
-
name: string;
|
|
99
|
-
timezone: string;
|
|
100
|
-
featureFlags: ProjectFeatureFlag[];
|
|
101
|
-
cameras: string[];
|
|
102
|
-
};
|
|
103
|
-
export type ProjectStatusStats = {
|
|
104
|
-
nil: number;
|
|
105
|
-
Completed: number;
|
|
106
|
-
"In Progress": number;
|
|
107
|
-
"Not Applicable": number;
|
|
108
|
-
"To Start": number;
|
|
109
|
-
};
|
|
110
|
-
export type ProjectUserProperty = {
|
|
111
|
-
active: boolean;
|
|
112
|
-
activeOneMonth: boolean;
|
|
113
|
-
cameraExid: string;
|
|
114
|
-
cameraName: string;
|
|
115
|
-
cameraRights: string;
|
|
116
|
-
email: string;
|
|
117
|
-
eventsCount: number;
|
|
118
|
-
fullname: string;
|
|
119
|
-
id: number;
|
|
120
|
-
lastSeenAt: DateTime;
|
|
121
|
-
persona: string;
|
|
122
|
-
};
|
|
123
|
-
export type ProjectUsers = {
|
|
124
|
-
cameras: {
|
|
125
|
-
exid: string;
|
|
126
|
-
name: string;
|
|
127
|
-
}[];
|
|
128
|
-
users: Record<string, ProjectUserProperty[]>;
|
|
129
|
-
};
|