@evercam/api 1.0.0-4530231e7 → 1.0.0-4544b2a4c
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 +212 -15
- package/dist/api/api/adminApi.d.ts +120 -96
- package/dist/api/api/aiApi.d.ts +188 -53
- package/dist/api/api/authzApi.d.ts +5 -3
- package/dist/api/api/client/interceptors.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +86 -28
- package/dist/api/api/evercamLabsApi.d.ts +9 -18
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +90 -65
- package/dist/api/api/reportsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +178 -86
- package/dist/api/types/admin.d.ts +41 -3
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +141 -71
- package/dist/api/types/anpr.d.ts +134 -0
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +179 -21
- package/dist/api/types/authz.d.ts +72 -0
- package/dist/api/types/automation.d.ts +40 -3
- package/dist/api/types/axios.d.ts +12 -11
- package/dist/api/types/bim.d.ts +70 -12
- package/dist/api/types/camera.d.ts +244 -128
- package/dist/api/types/comments.d.ts +67 -26
- package/dist/api/types/company.d.ts +11 -5
- package/dist/api/types/compare.d.ts +1 -1
- package/dist/api/types/connector.d.ts +3 -0
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/detections.d.ts +10 -11
- package/dist/api/types/drone.d.ts +95 -6
- package/dist/api/types/emailMessages.d.ts +27 -0
- package/dist/api/types/errors.d.ts +19 -2
- package/dist/api/types/gateReport.d.ts +59 -49
- 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 +1 -1
- package/dist/api/types/index.d.ts +15 -3
- package/dist/api/types/ingest.d.ts +207 -20
- package/dist/api/types/kit.d.ts +97 -117
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +32 -3
- package/dist/api/types/notification.d.ts +52 -2
- package/dist/api/types/nvr.d.ts +39 -8
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observationEvents.d.ts +167 -0
- package/dist/api/types/observations.d.ts +89 -0
- package/dist/api/types/planner.d.ts +98 -8
- package/dist/api/types/posthog.d.ts +72 -0
- package/dist/api/types/progressPhoto.d.ts +39 -25
- package/dist/api/types/project.d.ts +77 -24
- package/dist/api/types/recording.d.ts +9 -15
- package/dist/api/types/recycleBin.d.ts +8 -2
- package/dist/api/types/reports.d.ts +109 -0
- 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 +1 -0
- package/dist/api/types/router.d.ts +15 -10
- package/dist/api/types/shared.d.ts +39 -29
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/sim.d.ts +18 -6
- package/dist/api/types/siteAnalytics.d.ts +7 -19
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +80 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +98 -13
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/sso.d.ts +12 -37
- package/dist/api/types/storageProvider.d.ts +30 -0
- package/dist/api/types/storyblok.d.ts +0 -13
- package/dist/api/types/timelapse.d.ts +6 -9
- package/dist/api/types/user.d.ts +48 -34
- package/dist/api/types/widget.d.ts +13 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2635 -1120
- 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 +702 -42
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +93 -0
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +80 -0
- package/dist/shared/types/report.d.ts +108 -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 -157
- package/dist/api/types/storageServers.d.ts +0 -4
- package/dist/api/types/vendorModel.d.ts +0 -15
package/dist/api/types/bim.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompareLogoPosition, DateType } from "@evercam/api/types";
|
|
1
|
+
import { CompareLogoPosition, DateType, PaginationParams } from "@evercam/api/types";
|
|
2
2
|
export declare enum BimModelType {
|
|
3
3
|
Architectural = "Architectural",
|
|
4
4
|
Structural = "Structural",
|
|
@@ -21,6 +21,7 @@ export type BimModelRequestPayload = {
|
|
|
21
21
|
apiId?: string;
|
|
22
22
|
};
|
|
23
23
|
export type BimModelResponsePayload = {
|
|
24
|
+
id?: number;
|
|
24
25
|
dates?: [string];
|
|
25
26
|
height?: number;
|
|
26
27
|
imageUrl?: string;
|
|
@@ -40,7 +41,7 @@ export type BimCompareExportRequestPayload = {
|
|
|
40
41
|
cameraExid: string;
|
|
41
42
|
snapshotDate: string;
|
|
42
43
|
bimDate: string;
|
|
43
|
-
embed
|
|
44
|
+
embed?: string;
|
|
44
45
|
compareExid: string;
|
|
45
46
|
createAnimation: boolean;
|
|
46
47
|
bimTransparency?: number;
|
|
@@ -64,9 +65,19 @@ export declare enum BimUploadStatus {
|
|
|
64
65
|
Success = 2,
|
|
65
66
|
Failed = 3
|
|
66
67
|
}
|
|
68
|
+
export declare enum BimSoftware {
|
|
69
|
+
Synchro = "synchro",
|
|
70
|
+
Navisworks = "navisworks",
|
|
71
|
+
Revit = "revit",
|
|
72
|
+
Tekla = "tekla",
|
|
73
|
+
Archicad = "archicad",
|
|
74
|
+
Solibri = "solibri",
|
|
75
|
+
Bim360 = "bim360",
|
|
76
|
+
Other = "other"
|
|
77
|
+
}
|
|
67
78
|
export type BimCreationPayload = {
|
|
68
79
|
title: string;
|
|
69
|
-
software:
|
|
80
|
+
software: BimSoftware;
|
|
70
81
|
model: string;
|
|
71
82
|
apiKey: string;
|
|
72
83
|
apiId: string;
|
|
@@ -92,16 +103,21 @@ export declare enum BIMLayerTypes {
|
|
|
92
103
|
ForgeBim4D = "forge_bim_4d",
|
|
93
104
|
ForgeBimMep = "forge_bim_mep"
|
|
94
105
|
}
|
|
95
|
-
export type BimLayersQueryParams = {
|
|
106
|
+
export type BimLayersQueryParams = Partial<{
|
|
96
107
|
layerType: BIMLayerTypes;
|
|
97
108
|
timestamp: DateType;
|
|
98
|
-
|
|
109
|
+
apiKey: string;
|
|
110
|
+
apiId: string;
|
|
111
|
+
}>;
|
|
99
112
|
export type BIMLayerPostPayload = {
|
|
100
113
|
name: string;
|
|
101
114
|
layerType: BIMLayerTypes;
|
|
102
115
|
startAt: DateType;
|
|
103
116
|
shapes: string;
|
|
104
|
-
zIndex
|
|
117
|
+
zIndex?: number;
|
|
118
|
+
displayName?: string;
|
|
119
|
+
apiKey?: string;
|
|
120
|
+
apiId?: string;
|
|
105
121
|
};
|
|
106
122
|
export type BIMLayer = {
|
|
107
123
|
id: number;
|
|
@@ -111,19 +127,38 @@ export type BIMLayer = {
|
|
|
111
127
|
insertedAt: DateType;
|
|
112
128
|
updatedAt: DateType;
|
|
113
129
|
shapes: string;
|
|
130
|
+
displayName?: string;
|
|
131
|
+
};
|
|
132
|
+
export type ForgeBIMLayerShapes = {
|
|
133
|
+
urn?: string;
|
|
134
|
+
forgeLayerViewpoint?: Record<string, unknown>;
|
|
135
|
+
hiddenElements?: number[];
|
|
114
136
|
};
|
|
137
|
+
export type ForgeBIMLayer = BIMLayer & ForgeBIMLayerShapes;
|
|
115
138
|
export type BimPendingImage = {
|
|
116
139
|
url: string;
|
|
117
|
-
|
|
140
|
+
key: string;
|
|
141
|
+
date?: string;
|
|
142
|
+
};
|
|
143
|
+
export type BimCameraParametersFile = {
|
|
144
|
+
distortion_coeffs: number[];
|
|
145
|
+
horizontal_FOV: number;
|
|
146
|
+
vertical_FOV: number;
|
|
147
|
+
focal_length1: number;
|
|
148
|
+
focal_length2: number;
|
|
149
|
+
centerX: number;
|
|
150
|
+
centerY: number;
|
|
118
151
|
};
|
|
119
152
|
export type BimUploadCameraParameters = {
|
|
120
|
-
|
|
153
|
+
distortionCoeffs: number[];
|
|
121
154
|
horizontalFov: number;
|
|
122
155
|
verticalFov: number;
|
|
123
156
|
focalLength1: number;
|
|
124
157
|
focalLength2: number;
|
|
125
158
|
centerX: number;
|
|
126
159
|
centerY: number;
|
|
160
|
+
apiId?: string;
|
|
161
|
+
apiKey?: string;
|
|
127
162
|
};
|
|
128
163
|
export type PendingBimImagesParams = {
|
|
129
164
|
model: string;
|
|
@@ -132,14 +167,12 @@ export type PendingBimImagesParams = {
|
|
|
132
167
|
};
|
|
133
168
|
export type ProcessPendingImagesBimParams = {
|
|
134
169
|
model: string;
|
|
135
|
-
names:
|
|
170
|
+
names: BimPendingImage[];
|
|
136
171
|
enableDistortion: boolean;
|
|
137
172
|
apiId: string;
|
|
138
173
|
apiKey: string;
|
|
139
174
|
};
|
|
140
|
-
export type BimUploadsQueryParams = {
|
|
141
|
-
page: number;
|
|
142
|
-
limit: number;
|
|
175
|
+
export type BimUploadsQueryParams = PaginationParams & {
|
|
143
176
|
projectId: string;
|
|
144
177
|
id: string;
|
|
145
178
|
uploadedBy: string;
|
|
@@ -151,3 +184,28 @@ export type BimUploadPayload = {
|
|
|
151
184
|
fileExtension: string;
|
|
152
185
|
}[];
|
|
153
186
|
};
|
|
187
|
+
export declare enum ForgeBimUploadMethod {
|
|
188
|
+
FileUpload = "file_upload",
|
|
189
|
+
AutodeskAcc = "autodesk_acc"
|
|
190
|
+
}
|
|
191
|
+
export declare enum ForgeBimFileRejectionReason {
|
|
192
|
+
InvalidType = "invalid_type",
|
|
193
|
+
ExceedsSizeLimit = "exceeds_size_limit"
|
|
194
|
+
}
|
|
195
|
+
export declare enum ForgeBimUploadStage {
|
|
196
|
+
TusUpload = "tus_upload",
|
|
197
|
+
IngestUpload = "ingest_upload"
|
|
198
|
+
}
|
|
199
|
+
export declare enum ForgeBimDialogTrigger {
|
|
200
|
+
UpdateModel = "update_model",
|
|
201
|
+
AddModel = "add_model",
|
|
202
|
+
InitialSetup = "initial_setup"
|
|
203
|
+
}
|
|
204
|
+
export type BimUpdatedWebhookPayload = {
|
|
205
|
+
eventName: "bim.updated";
|
|
206
|
+
projectId: string;
|
|
207
|
+
data: {
|
|
208
|
+
updatedAt: string;
|
|
209
|
+
bimIdentifier: string;
|
|
210
|
+
};
|
|
211
|
+
};
|