@evercam/api 1.0.0-b42ce3404 → 1.0.0-b43de55a1
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 +204 -15
- package/dist/api/api/adminApi.d.ts +84 -50
- package/dist/api/api/aiApi.d.ts +117 -55
- 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 +136 -77
- package/dist/api/api/evercamLabsApi.d.ts +7 -8
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +109 -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 +194 -76
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +146 -0
- package/dist/api/types/analytics.d.ts +117 -58
- package/dist/api/types/anpr.d.ts +48 -2
- package/dist/api/types/auditLogs.d.ts +19 -1
- package/dist/api/types/authz.d.ts +90 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +56 -3
- package/dist/api/types/axios.d.ts +19 -15
- package/dist/api/types/bim.d.ts +38 -9
- package/dist/api/types/camera.d.ts +95 -100
- package/dist/api/types/comments.d.ts +10 -11
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +5 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +11 -9
- package/dist/api/types/detections.d.ts +23 -18
- package/dist/api/types/drone.d.ts +96 -6
- package/dist/api/types/errors.d.ts +13 -1
- package/dist/api/types/gateReport.d.ts +46 -68
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +13 -2
- package/dist/api/types/ingest.d.ts +112 -4
- package/dist/api/types/kit.d.ts +55 -58
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +10 -3
- package/dist/api/types/notification.d.ts +43 -3
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/planner.d.ts +97 -8
- package/dist/api/types/posthog.d.ts +35 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +103 -22
- package/dist/api/types/recording.d.ts +9 -15
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/router.d.ts +1 -1
- package/dist/api/types/shared.d.ts +29 -22
- package/dist/api/types/shares.d.ts +1 -14
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +81 -43
- package/dist/api/types/siteAnalyticsManagement.d.ts +90 -0
- package/dist/api/types/siteView.d.ts +73 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +49 -4
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +27 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +7 -11
- package/dist/api/types/user.d.ts +102 -35
- 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/api/utils.d.ts +0 -1
- package/dist/index.js +1937 -796
- 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 +205 -34
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +9 -2
- package/dist/shared/types/index.d.ts +3 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +4 -2
- 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,18 +166,12 @@ 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;
|
|
@@ -188,24 +182,19 @@ export type BoundingBox = {
|
|
|
188
182
|
ymax: number;
|
|
189
183
|
ymin: number;
|
|
190
184
|
};
|
|
191
|
-
export type EventsCountsByVehicleType = Record<GateReportVehicleType, number>;
|
|
192
185
|
export type EventsCount = {
|
|
193
186
|
in: number;
|
|
194
187
|
out: number;
|
|
195
188
|
source: GateReportDataSource;
|
|
196
189
|
};
|
|
197
190
|
export type YearlyEventCount = EventsCount & {
|
|
198
|
-
year:
|
|
191
|
+
year: string;
|
|
199
192
|
};
|
|
200
193
|
export type MonthlyEventCount = EventsCount & {
|
|
201
|
-
month:
|
|
194
|
+
month: string;
|
|
202
195
|
};
|
|
203
196
|
export type DailyEventCount = EventsCount & {
|
|
204
|
-
day:
|
|
205
|
-
};
|
|
206
|
-
export type HourlyEventCount = {
|
|
207
|
-
hour: Date_HH;
|
|
208
|
-
count: number;
|
|
197
|
+
day: string;
|
|
209
198
|
};
|
|
210
199
|
export type EventCountRequestPayload = {
|
|
211
200
|
vehicleTypes?: GateReportVehicleType[];
|
|
@@ -223,7 +212,7 @@ export declare enum GateReportDataSource {
|
|
|
223
212
|
}
|
|
224
213
|
export type GateReportResponsePayload = {
|
|
225
214
|
source: GateReportDataSource;
|
|
226
|
-
results: PaginatedItems<
|
|
215
|
+
results: PaginatedItems<AnprEvent>;
|
|
227
216
|
};
|
|
228
217
|
export declare enum GateReportEventDirection {
|
|
229
218
|
In = "in",
|
|
@@ -233,53 +222,46 @@ export declare enum GateReportEventDirection {
|
|
|
233
222
|
export type GatReportRequestPayload = {
|
|
234
223
|
camerasExid?: CameraExid[];
|
|
235
224
|
eventType?: GateReportEventType;
|
|
236
|
-
fromDate?:
|
|
225
|
+
fromDate?: string;
|
|
237
226
|
isPublic?: boolean;
|
|
238
|
-
toDate?:
|
|
227
|
+
toDate?: string;
|
|
239
228
|
vehicleTypes?: GateReportVehicleType[];
|
|
240
229
|
} & PaginationParams;
|
|
241
230
|
export declare enum GateReportExportType {
|
|
242
231
|
Pdf = "pdf",
|
|
243
232
|
Csv = "csv"
|
|
244
233
|
}
|
|
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 = {
|
|
234
|
+
export type AnprExportBaseParams = {
|
|
254
235
|
vehicleTypes?: GateReportVehicleType[];
|
|
255
236
|
fileType?: GateReportExportType;
|
|
256
|
-
fromDate?:
|
|
257
|
-
toDate?:
|
|
237
|
+
fromDate?: string;
|
|
238
|
+
toDate?: string;
|
|
258
239
|
camerasExid?: CameraExid[];
|
|
240
|
+
isPublic?: boolean;
|
|
241
|
+
columns?: string[];
|
|
242
|
+
};
|
|
243
|
+
export type EventsExportRequestParameters = AnprExportBaseParams & {
|
|
244
|
+
eventType: GateReportEventType;
|
|
245
|
+
};
|
|
246
|
+
export type AnprBasedGateReportExportRequestParams = AnprExportBaseParams & {
|
|
247
|
+
direction?: AnprDirection;
|
|
248
|
+
};
|
|
249
|
+
export type LegacyAnprExportParams = AnprExportBaseParams & {
|
|
259
250
|
direction?: AnprDirection;
|
|
260
251
|
};
|
|
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
252
|
export type GateReportROIShape = {
|
|
271
|
-
coordinates: [
|
|
272
|
-
type:
|
|
253
|
+
coordinates: TuplePoint2D[];
|
|
254
|
+
type: RoiShapeType;
|
|
273
255
|
};
|
|
274
256
|
export type GateReportROI = {
|
|
275
257
|
cameraex?: string;
|
|
276
258
|
fromDate?: string;
|
|
277
|
-
directionFilter?:
|
|
259
|
+
directionFilter?: RoiDirection;
|
|
278
260
|
id?: number;
|
|
279
261
|
insertedAt?: Timestamp;
|
|
280
|
-
|
|
262
|
+
isActive?: boolean;
|
|
281
263
|
name?: string;
|
|
282
|
-
roiType?:
|
|
264
|
+
roiType?: RoiType;
|
|
283
265
|
updatedAt?: Timestamp;
|
|
284
266
|
shapes?: GateReportROIShape[];
|
|
285
267
|
};
|
|
@@ -301,14 +283,14 @@ export type VerifiedDaysQueryParams = PaginationParams & {
|
|
|
301
283
|
camerasExid: CameraExid[];
|
|
302
284
|
verifiedBy: string;
|
|
303
285
|
isMatched: boolean;
|
|
304
|
-
insertedAt:
|
|
305
|
-
updatedAt:
|
|
286
|
+
insertedAt: string[];
|
|
287
|
+
updatedAt: string[];
|
|
306
288
|
day: string;
|
|
307
289
|
};
|
|
308
290
|
export type VerifyDayUpdateRequestPayload = {
|
|
309
291
|
camerasExid: string[];
|
|
310
292
|
projectExid: string;
|
|
311
|
-
day:
|
|
293
|
+
day: string;
|
|
312
294
|
isMatched: boolean;
|
|
313
295
|
verifiedBy: string;
|
|
314
296
|
};
|
|
@@ -318,27 +300,23 @@ export type ProcessedDaysQueryParams = {
|
|
|
318
300
|
eventType: GateReportEventType;
|
|
319
301
|
};
|
|
320
302
|
export type RoisQueryParams = {
|
|
321
|
-
|
|
303
|
+
camerasExid: CameraExid[];
|
|
322
304
|
id: number;
|
|
323
305
|
name: string;
|
|
324
306
|
fromDate: string;
|
|
325
|
-
roiType:
|
|
326
|
-
|
|
307
|
+
roiType: RoiType;
|
|
308
|
+
isActive: boolean;
|
|
327
309
|
directionFilter: string;
|
|
328
310
|
sort: string;
|
|
329
311
|
};
|
|
330
|
-
export type
|
|
331
|
-
id
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
note: string;
|
|
341
|
-
};
|
|
342
|
-
createdBy: string;
|
|
312
|
+
export type GateReportRoiRequestPayload = {
|
|
313
|
+
id: number;
|
|
314
|
+
cameraExid: string;
|
|
315
|
+
name: string;
|
|
316
|
+
roiType: RoiType;
|
|
317
|
+
isActive: true;
|
|
318
|
+
fromDate: string;
|
|
319
|
+
shapes: GateReportROIShape[];
|
|
320
|
+
directionFilter: string;
|
|
321
|
+
note: string;
|
|
343
322
|
};
|
|
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"
|
|
@@ -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,6 +2,7 @@ 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";
|
|
@@ -29,17 +30,19 @@ export * from "./shares";
|
|
|
29
30
|
export * from "./sim";
|
|
30
31
|
export * from "./systemCheck";
|
|
31
32
|
export * from "./planner";
|
|
32
|
-
export * from "./
|
|
33
|
+
export * from "./storageProvider";
|
|
33
34
|
export * from "./streaming";
|
|
35
|
+
export * from "./storyblok";
|
|
34
36
|
export * from "./time";
|
|
35
37
|
export * from "./timelapse";
|
|
36
38
|
export * from "./user";
|
|
37
|
-
export * from "./vendorModel";
|
|
38
39
|
export * from "./videoWall";
|
|
39
40
|
export * from "./voyageControl";
|
|
41
|
+
export * from "./hammertech";
|
|
40
42
|
export * from "./weather";
|
|
41
43
|
export * from "./comments";
|
|
42
44
|
export * from "./detections";
|
|
45
|
+
export * from "./observations";
|
|
43
46
|
export * from "./axios";
|
|
44
47
|
export * from "./shared";
|
|
45
48
|
export * from "./company";
|
|
@@ -47,6 +50,7 @@ export * from "./kit";
|
|
|
47
50
|
export * from "./auditLogs";
|
|
48
51
|
export * from "./snapshots";
|
|
49
52
|
export * from "./siteAnalytics";
|
|
53
|
+
export * from "./siteAnalyticsManagement";
|
|
50
54
|
export * from "./widget";
|
|
51
55
|
export * from "./countries";
|
|
52
56
|
export * from "./automation";
|
|
@@ -57,3 +61,10 @@ export * from "./xweather";
|
|
|
57
61
|
export * from "./posthog";
|
|
58
62
|
export * from "./recycleBin";
|
|
59
63
|
export * from "./authz";
|
|
64
|
+
export * from "./oauth";
|
|
65
|
+
export * from "./ring";
|
|
66
|
+
export * from "./smartSeach";
|
|
67
|
+
export * from "./siteView";
|
|
68
|
+
export * from "./aiConfigs";
|
|
69
|
+
export * from "./gateReportManagement";
|
|
70
|
+
export * from "./socket";
|