@evercam/api 1.0.0-7f2a06308 → 1.0.0-802693295
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 +151 -119
- package/dist/api/api/aiApi.d.ts +184 -57
- package/dist/api/api/authzApi.d.ts +26 -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 +153 -95
- package/dist/api/api/evercamLabsApi.d.ts +10 -19
- package/dist/api/api/exNvrApi.d.ts +2 -2
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +132 -58
- package/dist/api/api/ptzApi.d.ts +9 -4
- package/dist/api/api/reportsApi.d.ts +15 -0
- 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 +182 -88
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +85 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +162 -74
- package/dist/api/types/anpr.d.ts +49 -2
- 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 +115 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +65 -3
- package/dist/api/types/axios.d.ts +20 -15
- package/dist/api/types/bim.d.ts +65 -16
- package/dist/api/types/camera.d.ts +316 -193
- package/dist/api/types/comments.d.ts +68 -31
- package/dist/api/types/company.d.ts +53 -6
- package/dist/api/types/compare.d.ts +21 -6
- package/dist/api/types/connector.d.ts +5 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/detections.d.ts +26 -18
- 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 +48 -69
- 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 +27 -2
- package/dist/api/types/index.d.ts +17 -3
- package/dist/api/types/ingest.d.ts +280 -17
- package/dist/api/types/kit.d.ts +108 -121
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +33 -4
- package/dist/api/types/notification.d.ts +83 -3
- 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 +71 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +42 -25
- package/dist/api/types/project.d.ts +153 -33
- package/dist/api/types/recording.d.ts +9 -15
- package/dist/api/types/recycleBin.d.ts +9 -3
- 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 +47 -30
- package/dist/api/types/shares.d.ts +1 -14
- package/dist/api/types/sim.d.ts +23 -11
- package/dist/api/types/siteAnalytics.d.ts +81 -43
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +79 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +99 -14
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/sso.d.ts +11 -37
- package/dist/api/types/storageProvider.d.ts +30 -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 +0 -18
- package/dist/api/types/timelapse.d.ts +7 -11
- package/dist/api/types/user.d.ts +139 -54
- 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 +83 -15
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2483 -972
- 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 +598 -34
- 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 +9 -2
- 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 +67 -0
- package/dist/shared/types/report.d.ts +107 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnprDirection,
|
|
1
|
+
import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, RoiDirection, RoiShapeType, RoiType, Timestamp, TuplePoint2D } from "@evercam/api/types";
|
|
2
2
|
export declare enum GateReportDetectionType {
|
|
3
3
|
Auto = "auto",
|
|
4
4
|
Manual = "manual",
|
|
@@ -147,8 +147,8 @@ export declare enum GateReportVehicleType {
|
|
|
147
147
|
Unknown = "unknown"
|
|
148
148
|
}
|
|
149
149
|
export type GateReportVehicleTypeItem = {
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
label: string;
|
|
151
|
+
value: GateReportVehicleType;
|
|
152
152
|
};
|
|
153
153
|
export type GateReportEvent = {
|
|
154
154
|
id: number;
|
|
@@ -166,46 +166,36 @@ export type GateReportEvent = {
|
|
|
166
166
|
truckType: GateReportVehicleType;
|
|
167
167
|
thumbnailUrl?: string;
|
|
168
168
|
};
|
|
169
|
-
export type GateReportArrivedEvent = GateReportEvent & {
|
|
170
|
-
eventType: GateReportEventType.Arrived;
|
|
171
|
-
};
|
|
172
|
-
export type GateReportLeftEvent = GateReportEvent & {
|
|
173
|
-
eventType: GateReportEventType.Left;
|
|
174
|
-
};
|
|
175
169
|
export type GateReportVerifiedDay = {
|
|
176
170
|
id: number;
|
|
177
|
-
day:
|
|
171
|
+
day: string;
|
|
178
172
|
isMatched: boolean;
|
|
179
|
-
insertedAt:
|
|
180
|
-
updatedAt:
|
|
173
|
+
insertedAt: string;
|
|
174
|
+
updatedAt: string;
|
|
181
175
|
verifiedBy: string;
|
|
182
176
|
cameraExid: CameraExid;
|
|
183
177
|
projectExid: ProjectExid;
|
|
184
178
|
};
|
|
179
|
+
export type GateReportVerifiedDayEntry = Pick<GateReportVerifiedDay, "day" | "verifiedBy" | "cameraExid" | "projectExid">;
|
|
185
180
|
export type BoundingBox = {
|
|
186
181
|
xmax: number;
|
|
187
182
|
xmin: number;
|
|
188
183
|
ymax: number;
|
|
189
184
|
ymin: number;
|
|
190
185
|
};
|
|
191
|
-
export type EventsCountsByVehicleType = Record<GateReportVehicleType, number>;
|
|
192
186
|
export type EventsCount = {
|
|
193
187
|
in: number;
|
|
194
188
|
out: number;
|
|
195
189
|
source: GateReportDataSource;
|
|
196
190
|
};
|
|
197
191
|
export type YearlyEventCount = EventsCount & {
|
|
198
|
-
year:
|
|
192
|
+
year: string;
|
|
199
193
|
};
|
|
200
194
|
export type MonthlyEventCount = EventsCount & {
|
|
201
|
-
month:
|
|
195
|
+
month: string;
|
|
202
196
|
};
|
|
203
197
|
export type DailyEventCount = EventsCount & {
|
|
204
|
-
day:
|
|
205
|
-
};
|
|
206
|
-
export type HourlyEventCount = {
|
|
207
|
-
hour: Date_HH;
|
|
208
|
-
count: number;
|
|
198
|
+
day: string;
|
|
209
199
|
};
|
|
210
200
|
export type EventCountRequestPayload = {
|
|
211
201
|
vehicleTypes?: GateReportVehicleType[];
|
|
@@ -223,7 +213,7 @@ export declare enum GateReportDataSource {
|
|
|
223
213
|
}
|
|
224
214
|
export type GateReportResponsePayload = {
|
|
225
215
|
source: GateReportDataSource;
|
|
226
|
-
results: PaginatedItems<
|
|
216
|
+
results: PaginatedItems<AnprEvent>;
|
|
227
217
|
};
|
|
228
218
|
export declare enum GateReportEventDirection {
|
|
229
219
|
In = "in",
|
|
@@ -233,53 +223,46 @@ export declare enum GateReportEventDirection {
|
|
|
233
223
|
export type GatReportRequestPayload = {
|
|
234
224
|
camerasExid?: CameraExid[];
|
|
235
225
|
eventType?: GateReportEventType;
|
|
236
|
-
fromDate?:
|
|
226
|
+
fromDate?: string;
|
|
237
227
|
isPublic?: boolean;
|
|
238
|
-
toDate?:
|
|
228
|
+
toDate?: string;
|
|
239
229
|
vehicleTypes?: GateReportVehicleType[];
|
|
240
230
|
} & PaginationParams;
|
|
241
231
|
export declare enum GateReportExportType {
|
|
242
232
|
Pdf = "pdf",
|
|
243
233
|
Csv = "csv"
|
|
244
234
|
}
|
|
245
|
-
export type
|
|
246
|
-
vehicleTypes: GateReportVehicleType[];
|
|
247
|
-
fileType: GateReportExportType;
|
|
248
|
-
fromDate: DateTimeSpaceSeparated;
|
|
249
|
-
toDate: DateTimeSpaceSeparated;
|
|
250
|
-
camerasExid: CameraExid[];
|
|
251
|
-
eventType: GateReportEventType;
|
|
252
|
-
};
|
|
253
|
-
export type AnprBasedGateReportExportRequestParams = {
|
|
235
|
+
export type AnprExportBaseParams = {
|
|
254
236
|
vehicleTypes?: GateReportVehicleType[];
|
|
255
237
|
fileType?: GateReportExportType;
|
|
256
|
-
fromDate?:
|
|
257
|
-
toDate?:
|
|
238
|
+
fromDate?: string;
|
|
239
|
+
toDate?: string;
|
|
258
240
|
camerasExid?: CameraExid[];
|
|
241
|
+
isPublic?: boolean;
|
|
242
|
+
columns?: string[];
|
|
243
|
+
};
|
|
244
|
+
export type EventsExportRequestParameters = AnprExportBaseParams & {
|
|
245
|
+
eventType: GateReportEventType;
|
|
246
|
+
};
|
|
247
|
+
export type AnprBasedGateReportExportRequestParams = AnprExportBaseParams & {
|
|
248
|
+
direction?: AnprDirection;
|
|
249
|
+
};
|
|
250
|
+
export type LegacyAnprExportParams = AnprExportBaseParams & {
|
|
259
251
|
direction?: AnprDirection;
|
|
260
252
|
};
|
|
261
|
-
type X1 = number;
|
|
262
|
-
type Y1 = number;
|
|
263
|
-
type X2 = number;
|
|
264
|
-
type Y2 = number;
|
|
265
|
-
export declare enum GateReportROIShapeType {
|
|
266
|
-
Rectangle = "rectangle",
|
|
267
|
-
Direction = "direction",
|
|
268
|
-
Line = "line"
|
|
269
|
-
}
|
|
270
253
|
export type GateReportROIShape = {
|
|
271
|
-
coordinates: [
|
|
272
|
-
type:
|
|
254
|
+
coordinates: TuplePoint2D[];
|
|
255
|
+
type: RoiShapeType;
|
|
273
256
|
};
|
|
274
257
|
export type GateReportROI = {
|
|
275
258
|
cameraex?: string;
|
|
276
259
|
fromDate?: string;
|
|
277
|
-
directionFilter?:
|
|
260
|
+
directionFilter?: RoiDirection;
|
|
278
261
|
id?: number;
|
|
279
262
|
insertedAt?: Timestamp;
|
|
280
|
-
|
|
263
|
+
isActive?: boolean;
|
|
281
264
|
name?: string;
|
|
282
|
-
roiType?:
|
|
265
|
+
roiType?: RoiType;
|
|
283
266
|
updatedAt?: Timestamp;
|
|
284
267
|
shapes?: GateReportROIShape[];
|
|
285
268
|
};
|
|
@@ -301,15 +284,15 @@ export type VerifiedDaysQueryParams = PaginationParams & {
|
|
|
301
284
|
camerasExid: CameraExid[];
|
|
302
285
|
verifiedBy: string;
|
|
303
286
|
isMatched: boolean;
|
|
304
|
-
insertedAt:
|
|
305
|
-
updatedAt:
|
|
287
|
+
insertedAt: string[];
|
|
288
|
+
updatedAt: string[];
|
|
306
289
|
day: string;
|
|
307
290
|
};
|
|
308
291
|
export type VerifyDayUpdateRequestPayload = {
|
|
309
292
|
camerasExid: string[];
|
|
310
293
|
projectExid: string;
|
|
311
|
-
day:
|
|
312
|
-
isMatched
|
|
294
|
+
day: string;
|
|
295
|
+
isMatched?: boolean;
|
|
313
296
|
verifiedBy: string;
|
|
314
297
|
};
|
|
315
298
|
export type ProcessedDaysQueryParams = {
|
|
@@ -318,27 +301,23 @@ export type ProcessedDaysQueryParams = {
|
|
|
318
301
|
eventType: GateReportEventType;
|
|
319
302
|
};
|
|
320
303
|
export type RoisQueryParams = {
|
|
321
|
-
|
|
304
|
+
camerasExid: CameraExid[];
|
|
322
305
|
id: number;
|
|
323
306
|
name: string;
|
|
324
307
|
fromDate: string;
|
|
325
|
-
roiType:
|
|
326
|
-
|
|
308
|
+
roiType: RoiType;
|
|
309
|
+
isActive: boolean;
|
|
327
310
|
directionFilter: string;
|
|
328
311
|
sort: string;
|
|
329
312
|
};
|
|
330
|
-
export type
|
|
331
|
-
id
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
note: string;
|
|
341
|
-
};
|
|
342
|
-
createdBy: string;
|
|
313
|
+
export type GateReportRoiRequestPayload = {
|
|
314
|
+
id: number;
|
|
315
|
+
cameraExid: string;
|
|
316
|
+
name: string;
|
|
317
|
+
roiType: RoiType;
|
|
318
|
+
isActive: true;
|
|
319
|
+
fromDate: string;
|
|
320
|
+
shapes: GateReportROIShape[];
|
|
321
|
+
directionFilter: string;
|
|
322
|
+
note: string;
|
|
343
323
|
};
|
|
344
|
-
export {};
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { CameraExid, DateType, PaginationParams, ProjectExid } from "@evercam/api/types";
|
|
2
|
+
export declare enum VehicleClassifierSource {
|
|
3
|
+
Local = "local",
|
|
4
|
+
Api = "api"
|
|
5
|
+
}
|
|
6
|
+
export type GateReportCoolifyStatus = {
|
|
7
|
+
appUuid: string | null;
|
|
8
|
+
name: string | null;
|
|
9
|
+
serverUuid: string | null;
|
|
10
|
+
serverName: string | null;
|
|
11
|
+
appUrl: string | null;
|
|
12
|
+
status: string | null;
|
|
13
|
+
isRunning: boolean;
|
|
14
|
+
imageTag?: string | null;
|
|
15
|
+
fqdn: string | null;
|
|
16
|
+
updatedAt: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type GateReportProjectMeta = {
|
|
19
|
+
exid: ProjectExid;
|
|
20
|
+
name: string | null;
|
|
21
|
+
timezone: string | null;
|
|
22
|
+
featureFlags: string[] | null;
|
|
23
|
+
};
|
|
24
|
+
export type GateReportCameraMeta = {
|
|
25
|
+
exid: CameraExid;
|
|
26
|
+
name: string | null;
|
|
27
|
+
status: string | null;
|
|
28
|
+
kitSerial: string | null;
|
|
29
|
+
kitAlarms: string[] | Record<string, unknown> | null;
|
|
30
|
+
};
|
|
31
|
+
export type GateReportManagedApp = {
|
|
32
|
+
id: number;
|
|
33
|
+
projectExid: ProjectExid;
|
|
34
|
+
anprCameraExid: CameraExid;
|
|
35
|
+
contextCameraExid: CameraExid | null;
|
|
36
|
+
coolifyAppId: string | null;
|
|
37
|
+
startDate: DateType | null;
|
|
38
|
+
endDate: DateType | null;
|
|
39
|
+
startHour: number;
|
|
40
|
+
endHour: number;
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
enableEnrichments: boolean;
|
|
43
|
+
enableGemini: boolean;
|
|
44
|
+
geminiStartHour: number;
|
|
45
|
+
geminiEndHour: number;
|
|
46
|
+
reviewModel: string;
|
|
47
|
+
enrichmentModel: string;
|
|
48
|
+
reviewerPromptSlug: string | null;
|
|
49
|
+
geminiTimeoutSeconds: number;
|
|
50
|
+
geminiMaxAttempts: number;
|
|
51
|
+
vehicleClassifierSource: VehicleClassifierSource;
|
|
52
|
+
snapshotDelaySeconds: number;
|
|
53
|
+
snapshotRequestTimeout: number;
|
|
54
|
+
plateClassifierThreshold: number;
|
|
55
|
+
plateClassifierHighConfidence: number;
|
|
56
|
+
maxPriorEvents: number;
|
|
57
|
+
recordsFetchInterval: number;
|
|
58
|
+
priorRecentLimit: number;
|
|
59
|
+
priorSimilarLimit: number;
|
|
60
|
+
insertedAt: DateType;
|
|
61
|
+
updatedAt: DateType;
|
|
62
|
+
coolify: GateReportCoolifyStatus | null;
|
|
63
|
+
project: GateReportProjectMeta | null;
|
|
64
|
+
anprCamera: GateReportCameraMeta | null;
|
|
65
|
+
contextCamera: GateReportCameraMeta | null;
|
|
66
|
+
anprHasRoi: boolean;
|
|
67
|
+
contextHasRoi: boolean;
|
|
68
|
+
lastProcessedEventAt: DateType | null;
|
|
69
|
+
lastUnprocessedEventAt: DateType | null;
|
|
70
|
+
};
|
|
71
|
+
export type GateReportAppEvents = {
|
|
72
|
+
anprCameraExid: CameraExid;
|
|
73
|
+
lastProcessedEventAt: DateType | null;
|
|
74
|
+
lastUnprocessedEventAt: DateType | null;
|
|
75
|
+
};
|
|
76
|
+
export type AppConfigFormValue = {
|
|
77
|
+
contextCameraExid: string | null;
|
|
78
|
+
startDate: DateType | null;
|
|
79
|
+
endDate: DateType | null;
|
|
80
|
+
startHour: number;
|
|
81
|
+
endHour: number;
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
enableEnrichments: boolean;
|
|
84
|
+
enableGemini: boolean;
|
|
85
|
+
geminiStartHour: number;
|
|
86
|
+
geminiEndHour: number;
|
|
87
|
+
reviewModel: string;
|
|
88
|
+
enrichmentModel: string;
|
|
89
|
+
reviewerPromptSlug: string | null;
|
|
90
|
+
geminiTimeoutSeconds: number;
|
|
91
|
+
geminiMaxAttempts: number;
|
|
92
|
+
vehicleClassifierSource: VehicleClassifierSource;
|
|
93
|
+
snapshotDelaySeconds: number;
|
|
94
|
+
snapshotRequestTimeout: number;
|
|
95
|
+
plateClassifierThreshold: number;
|
|
96
|
+
plateClassifierHighConfidence: number;
|
|
97
|
+
recordsFetchInterval: number;
|
|
98
|
+
priorRecentLimit: number;
|
|
99
|
+
priorSimilarLimit: number;
|
|
100
|
+
};
|
|
101
|
+
export type CreateGateReportAppPayload = {
|
|
102
|
+
projectExid: ProjectExid;
|
|
103
|
+
anprCameraExid: CameraExid;
|
|
104
|
+
contextCameraExid?: CameraExid | null;
|
|
105
|
+
coolifyServerUuid: string;
|
|
106
|
+
imageTag?: string;
|
|
107
|
+
geminiApiKey?: string | null;
|
|
108
|
+
startDate?: DateType | null;
|
|
109
|
+
endDate?: DateType | null;
|
|
110
|
+
startHour?: number;
|
|
111
|
+
endHour?: number;
|
|
112
|
+
enabled?: boolean;
|
|
113
|
+
enableEnrichments?: boolean;
|
|
114
|
+
enableGemini?: boolean;
|
|
115
|
+
geminiStartHour?: number;
|
|
116
|
+
geminiEndHour?: number;
|
|
117
|
+
reviewModel?: string;
|
|
118
|
+
enrichmentModel?: string;
|
|
119
|
+
reviewerPromptSlug?: string | null;
|
|
120
|
+
geminiTimeoutSeconds?: number;
|
|
121
|
+
geminiMaxAttempts?: number;
|
|
122
|
+
vehicleClassifierSource?: VehicleClassifierSource;
|
|
123
|
+
snapshotDelaySeconds?: number;
|
|
124
|
+
snapshotRequestTimeout?: number;
|
|
125
|
+
plateClassifierThreshold?: number;
|
|
126
|
+
plateClassifierHighConfidence?: number;
|
|
127
|
+
maxPriorEvents?: number;
|
|
128
|
+
recordsFetchInterval?: number;
|
|
129
|
+
priorRecentLimit?: number;
|
|
130
|
+
priorSimilarLimit?: number;
|
|
131
|
+
};
|
|
132
|
+
export type UpdateGateReportAppPayload = Partial<Omit<CreateGateReportAppPayload, "projectExid" | "anprCameraExid" | "coolifyServerUuid" | "geminiApiKey">>;
|
|
133
|
+
export type GateReportAppsQueryParams = PaginationParams & {
|
|
134
|
+
projectExid?: ProjectExid;
|
|
135
|
+
includeStatus?: boolean;
|
|
136
|
+
};
|
|
137
|
+
export type CoolifyProjectOption = {
|
|
138
|
+
uuid: string;
|
|
139
|
+
name: string;
|
|
140
|
+
description: string | null;
|
|
141
|
+
};
|
|
142
|
+
export type CoolifyServerOption = {
|
|
143
|
+
uuid: string;
|
|
144
|
+
name: string;
|
|
145
|
+
isReachable: boolean;
|
|
146
|
+
isUsable: boolean;
|
|
147
|
+
};
|
|
148
|
+
export declare enum AppRuntimeState {
|
|
149
|
+
Running = "running",
|
|
150
|
+
Stopped = "stopped",
|
|
151
|
+
Restarting = "restarting"
|
|
152
|
+
}
|
|
153
|
+
export type AppActionResponse = {
|
|
154
|
+
success: boolean;
|
|
155
|
+
message: string | null;
|
|
156
|
+
appUuid: string | null;
|
|
157
|
+
state: AppRuntimeState | null;
|
|
158
|
+
};
|
|
159
|
+
export type APIEnvelope<T> = {
|
|
160
|
+
success: boolean;
|
|
161
|
+
data: T | null;
|
|
162
|
+
message: string;
|
|
163
|
+
};
|
|
164
|
+
export type CreateGateReportAppResponse = {
|
|
165
|
+
created: boolean;
|
|
166
|
+
id: number | null;
|
|
167
|
+
data: GateReportManagedApp | null;
|
|
168
|
+
count: number | null;
|
|
169
|
+
message: string;
|
|
170
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare enum HammertechRegion {
|
|
2
|
+
US = "us",
|
|
3
|
+
AU = "au",
|
|
4
|
+
EU = "eu"
|
|
5
|
+
}
|
|
6
|
+
export type HammertechConnectPayload = {
|
|
7
|
+
email: string;
|
|
8
|
+
password: string;
|
|
9
|
+
tenant: string;
|
|
10
|
+
region: HammertechRegion;
|
|
11
|
+
};
|
|
12
|
+
export type HammertechProject = {
|
|
13
|
+
projectId: string;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
export type HammertechLocation = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
parentId: string | null;
|
|
20
|
+
};
|
|
21
|
+
export type HammertechCustomFieldDataType = "FreeText" | "TextArea" | "Number" | "Date" | "Time" | "DateTime" | "ExpiryDate" | "Checkbox" | "YesNoRadio" | "YesNoNaRadio" | "Dropdown" | "Radio" | "MultiSelectDropdown" | "ImageUpload" | "FileUpload" | "Signature" | "SignatureWithName" | "Heading" | "BigLabel" | "ExpandingLabel" | "Separator" | "NoMargin" | "Image" | "FileDownload" | "ChildForm" | "SectionStart" | "SectionEnd" | "SystemField" | string;
|
|
22
|
+
export type HammertechCustomField = {
|
|
23
|
+
id: string;
|
|
24
|
+
internalName: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
customFieldType: HammertechCustomFieldDataType;
|
|
27
|
+
isRequired?: boolean;
|
|
28
|
+
answerOptions?: string[];
|
|
29
|
+
};
|
|
30
|
+
export type HammertechCustomFieldForm = {
|
|
31
|
+
id: string;
|
|
32
|
+
customFields: HammertechCustomField[];
|
|
33
|
+
};
|
|
34
|
+
export declare enum HammertechPriority {
|
|
35
|
+
Low = "Low",
|
|
36
|
+
Medium = "Medium",
|
|
37
|
+
High = "High",
|
|
38
|
+
Critical = "Critical"
|
|
39
|
+
}
|
|
40
|
+
export declare enum HammertechClassification {
|
|
41
|
+
Undefined = "Undefined",
|
|
42
|
+
Positive = "Positive",
|
|
43
|
+
Negative = "Negative",
|
|
44
|
+
Neutral = "Neutral"
|
|
45
|
+
}
|
|
46
|
+
export type HammertechIssueType = {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
forcePriority?: boolean;
|
|
50
|
+
suggestedPriority?: HammertechPriority | null;
|
|
51
|
+
canBeNegative?: boolean;
|
|
52
|
+
canBeNeutral?: boolean;
|
|
53
|
+
canBePositive?: boolean;
|
|
54
|
+
openIssueCustomFieldForm?: HammertechCustomFieldForm | null;
|
|
55
|
+
};
|
|
56
|
+
export type HammertechCustomFieldValue = {
|
|
57
|
+
customFieldId: string;
|
|
58
|
+
value?: unknown;
|
|
59
|
+
storedFileId?: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const HAMMERTECH_FILE_FIELD_TYPES: string[];
|
|
62
|
+
export declare function isHammertechFileFieldType(type?: string): boolean;
|
|
63
|
+
export declare function isHammertechSignatureWithName(type?: string): boolean;
|
|
64
|
+
export type HammertechStoredFilePayload = {
|
|
65
|
+
fileName?: string;
|
|
66
|
+
base64FileContent: string;
|
|
67
|
+
annotation?: string;
|
|
68
|
+
id?: string;
|
|
69
|
+
};
|
|
70
|
+
export type HammertechStoredFileResponse = {
|
|
71
|
+
isSuccess: boolean;
|
|
72
|
+
httpStatusCode: number;
|
|
73
|
+
messageText: string;
|
|
74
|
+
createdEntityId: string;
|
|
75
|
+
xRequestId: string;
|
|
76
|
+
};
|
|
77
|
+
export type HammertechFileFieldValue = {
|
|
78
|
+
file: File | null;
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
81
|
+
export type HammertechCreateIssuePayload = {
|
|
82
|
+
projectId: string;
|
|
83
|
+
issueTypeId: string;
|
|
84
|
+
snapshot: string;
|
|
85
|
+
issueDate?: string;
|
|
86
|
+
description?: string;
|
|
87
|
+
priority?: HammertechPriority;
|
|
88
|
+
dueDate?: string;
|
|
89
|
+
classification?: HammertechClassification;
|
|
90
|
+
locationId?: string;
|
|
91
|
+
isPositiveObservation?: boolean;
|
|
92
|
+
isPhotoForFixRequired?: boolean;
|
|
93
|
+
openIssueCustomFieldFormId?: string;
|
|
94
|
+
openIssueCustomFieldValues?: HammertechCustomFieldValue[];
|
|
95
|
+
};
|
|
96
|
+
export type HammertechIssueResponse = {
|
|
97
|
+
id: string;
|
|
98
|
+
};
|
package/dist/api/types/hdd.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationParams } from "
|
|
1
|
+
import { PaginationParams } from "@evercam/api/types";
|
|
2
2
|
export declare enum HddFormat {
|
|
3
3
|
ExFat = "ExFAT",
|
|
4
4
|
HikFs = "HikFS"
|
|
@@ -46,7 +46,7 @@ export type HDDCreateUpdatePayload = {
|
|
|
46
46
|
size: string;
|
|
47
47
|
type: string;
|
|
48
48
|
format: string;
|
|
49
|
-
locationId: string;
|
|
49
|
+
locationId: WarehouseLocationIndex | string;
|
|
50
50
|
serialNumber: string;
|
|
51
51
|
hddStatus: string;
|
|
52
52
|
shelfBlock: string;
|
|
@@ -61,3 +61,28 @@ export type HDDsQueryParams = PaginationParams & {
|
|
|
61
61
|
type: string;
|
|
62
62
|
hddStatus: string;
|
|
63
63
|
};
|
|
64
|
+
export type AdminHddFootage = {
|
|
65
|
+
id: number;
|
|
66
|
+
cameraExid: string;
|
|
67
|
+
cameraName: string;
|
|
68
|
+
startDate: string | null;
|
|
69
|
+
endDate: string | null;
|
|
70
|
+
};
|
|
71
|
+
export type AdminHdd = {
|
|
72
|
+
id: number;
|
|
73
|
+
size: string;
|
|
74
|
+
type: string;
|
|
75
|
+
format: string;
|
|
76
|
+
location: string;
|
|
77
|
+
errorStatus: string | null;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
serialNumber: string;
|
|
80
|
+
hddStatus: string;
|
|
81
|
+
reportedCapacity: string | null;
|
|
82
|
+
reportedFreeSpace: string | null;
|
|
83
|
+
reportedHddType: string | null;
|
|
84
|
+
reportedPath: string | null;
|
|
85
|
+
reportedProperty: string | null;
|
|
86
|
+
shelfBlock: string;
|
|
87
|
+
footages: AdminHddFootage[];
|
|
88
|
+
};
|
|
@@ -2,12 +2,12 @@ export * from "./360";
|
|
|
2
2
|
export * from "./aconex";
|
|
3
3
|
export * from "./analytics";
|
|
4
4
|
export * from "./anpr";
|
|
5
|
+
export * from "./admin";
|
|
5
6
|
export * from "./media";
|
|
6
7
|
export * from "./autodesk";
|
|
7
8
|
export * from "./bim";
|
|
8
9
|
export * from "./camera";
|
|
9
10
|
export * from "./compare";
|
|
10
|
-
export * from "./copilot";
|
|
11
11
|
export * from "./credentials";
|
|
12
12
|
export * from "./drone";
|
|
13
13
|
export * from "./errors";
|
|
@@ -29,17 +29,19 @@ export * from "./shares";
|
|
|
29
29
|
export * from "./sim";
|
|
30
30
|
export * from "./systemCheck";
|
|
31
31
|
export * from "./planner";
|
|
32
|
-
export * from "./
|
|
32
|
+
export * from "./storageProvider";
|
|
33
33
|
export * from "./streaming";
|
|
34
|
+
export * from "./storyblok";
|
|
34
35
|
export * from "./time";
|
|
35
36
|
export * from "./timelapse";
|
|
36
37
|
export * from "./user";
|
|
37
|
-
export * from "./vendorModel";
|
|
38
38
|
export * from "./videoWall";
|
|
39
39
|
export * from "./voyageControl";
|
|
40
|
+
export * from "./hammertech";
|
|
40
41
|
export * from "./weather";
|
|
41
42
|
export * from "./comments";
|
|
42
43
|
export * from "./detections";
|
|
44
|
+
export * from "./observations";
|
|
43
45
|
export * from "./axios";
|
|
44
46
|
export * from "./shared";
|
|
45
47
|
export * from "./company";
|
|
@@ -47,6 +49,7 @@ export * from "./kit";
|
|
|
47
49
|
export * from "./auditLogs";
|
|
48
50
|
export * from "./snapshots";
|
|
49
51
|
export * from "./siteAnalytics";
|
|
52
|
+
export * from "./siteAnalyticsManagement";
|
|
50
53
|
export * from "./widget";
|
|
51
54
|
export * from "./countries";
|
|
52
55
|
export * from "./automation";
|
|
@@ -57,3 +60,14 @@ export * from "./xweather";
|
|
|
57
60
|
export * from "./posthog";
|
|
58
61
|
export * from "./recycleBin";
|
|
59
62
|
export * from "./authz";
|
|
63
|
+
export * from "./oauth";
|
|
64
|
+
export * from "./apiKey";
|
|
65
|
+
export * from "./ring";
|
|
66
|
+
export * from "./smartSeach";
|
|
67
|
+
export * from "./siteView";
|
|
68
|
+
export * from "./aiConfigs";
|
|
69
|
+
export * from "./gateReportManagement";
|
|
70
|
+
export * from "./socket";
|
|
71
|
+
export * from "./reports";
|
|
72
|
+
export * from "./observationEvents";
|
|
73
|
+
export * from "./emailMessages";
|