@evercam/api 1.0.0-0ff26c649 → 1.0.0-112ba26f5

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.
Files changed (106) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +216 -15
  3. package/dist/api/api/adminApi.d.ts +154 -138
  4. package/dist/api/api/aiApi.d.ts +184 -62
  5. package/dist/api/api/authzApi.d.ts +29 -17
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +153 -118
  9. package/dist/api/api/evercamLabsApi.d.ts +10 -17
  10. package/dist/api/api/exNvrApi.d.ts +2 -2
  11. package/dist/api/api/index.d.ts +1 -0
  12. package/dist/api/api/ingestApi.d.ts +132 -57
  13. package/dist/api/api/ptzApi.d.ts +9 -4
  14. package/dist/api/api/reportsApi.d.ts +15 -0
  15. package/dist/api/api/videoWallApi.d.ts +2 -2
  16. package/dist/api/api/weatherApi.d.ts +2 -2
  17. package/dist/api/types/360.d.ts +269 -48
  18. package/dist/api/types/aconex.d.ts +9 -9
  19. package/dist/api/types/admin.d.ts +85 -0
  20. package/dist/api/types/aiConfigs.d.ts +244 -0
  21. package/dist/api/types/analytics.d.ts +135 -75
  22. package/dist/api/types/anpr.d.ts +49 -2
  23. package/dist/api/types/apiKey.d.ts +70 -0
  24. package/dist/api/types/auditLogs.d.ts +179 -21
  25. package/dist/api/types/authz.d.ts +116 -6
  26. package/dist/api/types/autodesk.d.ts +7 -7
  27. package/dist/api/types/automation.d.ts +65 -3
  28. package/dist/api/types/axios.d.ts +20 -14
  29. package/dist/api/types/bim.d.ts +65 -16
  30. package/dist/api/types/camera.d.ts +316 -193
  31. package/dist/api/types/comments.d.ts +68 -31
  32. package/dist/api/types/company.d.ts +53 -6
  33. package/dist/api/types/compare.d.ts +21 -6
  34. package/dist/api/types/connector.d.ts +5 -5
  35. package/dist/api/types/coolify.d.ts +18 -2
  36. package/dist/api/types/detections.d.ts +26 -18
  37. package/dist/api/types/drone.d.ts +95 -6
  38. package/dist/api/types/emailMessages.d.ts +27 -0
  39. package/dist/api/types/errors.d.ts +19 -2
  40. package/dist/api/types/gateReport.d.ts +51 -69
  41. package/dist/api/types/gateReportManagement.d.ts +170 -0
  42. package/dist/api/types/hammertech.d.ts +98 -0
  43. package/dist/api/types/hdd.d.ts +27 -2
  44. package/dist/api/types/index.d.ts +17 -3
  45. package/dist/api/types/ingest.d.ts +280 -17
  46. package/dist/api/types/kit.d.ts +121 -115
  47. package/dist/api/types/map.d.ts +12 -0
  48. package/dist/api/types/media.d.ts +33 -4
  49. package/dist/api/types/notification.d.ts +83 -3
  50. package/dist/api/types/nvr.d.ts +39 -8
  51. package/dist/api/types/oauth.d.ts +62 -0
  52. package/dist/api/types/observationEvents.d.ts +167 -0
  53. package/dist/api/types/observations.d.ts +89 -0
  54. package/dist/api/types/planner.d.ts +98 -8
  55. package/dist/api/types/posthog.d.ts +71 -0
  56. package/dist/api/types/procore.d.ts +13 -6
  57. package/dist/api/types/progressPhoto.d.ts +42 -25
  58. package/dist/api/types/project.d.ts +158 -32
  59. package/dist/api/types/recording.d.ts +9 -15
  60. package/dist/api/types/recycleBin.d.ts +9 -3
  61. package/dist/api/types/reports.d.ts +108 -0
  62. package/dist/api/types/ring.d.ts +53 -0
  63. package/dist/api/types/roi.d.ts +3 -11
  64. package/dist/api/types/routeParams.d.ts +1 -0
  65. package/dist/api/types/router.d.ts +34 -10
  66. package/dist/api/types/shared.d.ts +47 -30
  67. package/dist/api/types/shares.d.ts +6 -157
  68. package/dist/api/types/sim.d.ts +23 -11
  69. package/dist/api/types/siteAnalytics.d.ts +169 -47
  70. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  71. package/dist/api/types/siteView.d.ts +79 -0
  72. package/dist/api/types/smartSeach.d.ts +5 -0
  73. package/dist/api/types/snapshots.d.ts +99 -14
  74. package/dist/api/types/socket.d.ts +4 -0
  75. package/dist/api/types/sso.d.ts +11 -37
  76. package/dist/api/types/storageProvider.d.ts +30 -0
  77. package/dist/api/types/storyblok.d.ts +27 -0
  78. package/dist/api/types/streaming.d.ts +3 -3
  79. package/dist/api/types/tag.d.ts +1 -1
  80. package/dist/api/types/time.d.ts +0 -18
  81. package/dist/api/types/timelapse.d.ts +7 -11
  82. package/dist/api/types/user.d.ts +135 -54
  83. package/dist/api/types/videoWall.d.ts +21 -21
  84. package/dist/api/types/weather.d.ts +75 -11
  85. package/dist/api/types/widget.d.ts +83 -15
  86. package/dist/api/types/xweather.d.ts +4 -4
  87. package/dist/api/utils.d.ts +1 -1
  88. package/dist/index.js +2538 -1040
  89. package/dist/index.js.map +1 -1
  90. package/dist/index.umd.cjs +1 -1
  91. package/dist/index.umd.cjs.map +1 -1
  92. package/dist/shared/types/components.d.ts +592 -34
  93. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  94. package/dist/shared/types/droneUpload.d.ts +93 -0
  95. package/dist/shared/types/imagePlayer.d.ts +9 -2
  96. package/dist/shared/types/index.d.ts +5 -0
  97. package/dist/shared/types/observations.d.ts +25 -0
  98. package/dist/shared/types/rbac.d.ts +67 -0
  99. package/dist/shared/types/report.d.ts +107 -0
  100. package/dist/shared/types/timeline.d.ts +2 -1
  101. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  102. package/dist/shared/utils/datePresets.d.ts +31 -0
  103. package/package.json +4 -2
  104. package/dist/api/types/copilot.d.ts +0 -157
  105. package/dist/api/types/storageServers.d.ts +0 -4
  106. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -1,4 +1,4 @@
1
- import { AnprDirection, CameraExid, Date_HH, Date_YYYY, Date_YYYY_MM, Date_YYYY_MM_DD, DateTime, DateTimeSpaceSeparated, DateType, PaginatedItems, PaginationParams, ProjectExid, Timestamp } from "@/types";
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",
@@ -59,16 +59,19 @@ export declare enum DetectionLabel {
59
59
  ConcreteBlock = "concrete_block",
60
60
  ConcretePipe = "concrete_pipe",
61
61
  ConcreteSlab = "concrete_slab",
62
+ Door = "door",
62
63
  PlasticWrap = "plastic_wrap",
63
64
  ContainerOffice = "container_office",
64
65
  ElectricalPole = "electrical_pole",
65
66
  ElectricalBox = "electrical_box",
66
67
  FireHydrant = "fire_hydrant",
68
+ FireExtinguisher = "fire-extinguisher",
67
69
  HoseReel = "hose_reel",
68
70
  Ladder = "ladder",
69
71
  MetalBeam = "metal_beam",
70
72
  MetalPipe = "metal_pipe",
71
73
  Pallet = "pallet",
74
+ Person = "person",
72
75
  Pillar = "pillar",
73
76
  PlasticBin = "plastic_bin",
74
77
  PlasticBucket = "plastic_bucket",
@@ -144,8 +147,8 @@ export declare enum GateReportVehicleType {
144
147
  Unknown = "unknown"
145
148
  }
146
149
  export type GateReportVehicleTypeItem = {
147
- name: string;
148
- id: GateReportVehicleType;
150
+ label: string;
151
+ value: GateReportVehicleType;
149
152
  };
150
153
  export type GateReportEvent = {
151
154
  id: number;
@@ -163,46 +166,36 @@ export type GateReportEvent = {
163
166
  truckType: GateReportVehicleType;
164
167
  thumbnailUrl?: string;
165
168
  };
166
- export type GateReportArrivedEvent = GateReportEvent & {
167
- eventType: GateReportEventType.Arrived;
168
- };
169
- export type GateReportLeftEvent = GateReportEvent & {
170
- eventType: GateReportEventType.Left;
171
- };
172
169
  export type GateReportVerifiedDay = {
173
170
  id: number;
174
- day: Date_YYYY_MM_DD;
171
+ day: string;
175
172
  isMatched: boolean;
176
- insertedAt: DateTime;
177
- updatedAt: DateTime;
173
+ insertedAt: string;
174
+ updatedAt: string;
178
175
  verifiedBy: string;
179
176
  cameraExid: CameraExid;
180
177
  projectExid: ProjectExid;
181
178
  };
179
+ export type GateReportVerifiedDayEntry = Pick<GateReportVerifiedDay, "day" | "verifiedBy" | "cameraExid" | "projectExid">;
182
180
  export type BoundingBox = {
183
181
  xmax: number;
184
182
  xmin: number;
185
183
  ymax: number;
186
184
  ymin: number;
187
185
  };
188
- export type EventsCountsByVehicleType = Record<GateReportVehicleType, number>;
189
186
  export type EventsCount = {
190
187
  in: number;
191
188
  out: number;
192
189
  source: GateReportDataSource;
193
190
  };
194
191
  export type YearlyEventCount = EventsCount & {
195
- year: Date_YYYY;
192
+ year: string;
196
193
  };
197
194
  export type MonthlyEventCount = EventsCount & {
198
- month: Date_YYYY_MM;
195
+ month: string;
199
196
  };
200
197
  export type DailyEventCount = EventsCount & {
201
- day: Date_YYYY_MM_DD;
202
- };
203
- export type HourlyEventCount = {
204
- hour: Date_HH;
205
- count: number;
198
+ day: string;
206
199
  };
207
200
  export type EventCountRequestPayload = {
208
201
  vehicleTypes?: GateReportVehicleType[];
@@ -220,7 +213,7 @@ export declare enum GateReportDataSource {
220
213
  }
221
214
  export type GateReportResponsePayload = {
222
215
  source: GateReportDataSource;
223
- results: PaginatedItems<GateReportEvent>;
216
+ results: PaginatedItems<AnprEvent>;
224
217
  };
225
218
  export declare enum GateReportEventDirection {
226
219
  In = "in",
@@ -230,53 +223,46 @@ export declare enum GateReportEventDirection {
230
223
  export type GatReportRequestPayload = {
231
224
  camerasExid?: CameraExid[];
232
225
  eventType?: GateReportEventType;
233
- fromDate?: DateTime;
226
+ fromDate?: string;
234
227
  isPublic?: boolean;
235
- toDate?: DateTime;
228
+ toDate?: string;
236
229
  vehicleTypes?: GateReportVehicleType[];
237
230
  } & PaginationParams;
238
231
  export declare enum GateReportExportType {
239
232
  Pdf = "pdf",
240
233
  Csv = "csv"
241
234
  }
242
- export type EventsExportRequestParameters = {
243
- vehicleTypes: GateReportVehicleType[];
244
- fileType: GateReportExportType;
245
- fromDate: DateTimeSpaceSeparated;
246
- toDate: DateTimeSpaceSeparated;
247
- camerasExid: CameraExid[];
248
- eventType: GateReportEventType;
249
- };
250
- export type AnprBasedGateReportExportRequestParams = {
235
+ export type AnprExportBaseParams = {
251
236
  vehicleTypes?: GateReportVehicleType[];
252
237
  fileType?: GateReportExportType;
253
- fromDate?: DateTimeSpaceSeparated;
254
- toDate?: DateTimeSpaceSeparated;
238
+ fromDate?: string;
239
+ toDate?: string;
255
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 & {
256
251
  direction?: AnprDirection;
257
252
  };
258
- type X1 = number;
259
- type Y1 = number;
260
- type X2 = number;
261
- type Y2 = number;
262
- export declare enum GateReportROIShapeType {
263
- Rectangle = "rectangle",
264
- Direction = "direction",
265
- Line = "line"
266
- }
267
253
  export type GateReportROIShape = {
268
- coordinates: [[X1, Y1], [X2, Y2]];
269
- type: GateReportROIShapeType;
254
+ coordinates: TuplePoint2D[];
255
+ type: RoiShapeType;
270
256
  };
271
257
  export type GateReportROI = {
272
258
  cameraex?: string;
273
259
  fromDate?: string;
274
- directionFilter?: string;
260
+ directionFilter?: RoiDirection;
275
261
  id?: number;
276
262
  insertedAt?: Timestamp;
277
- isactive?: boolean;
263
+ isActive?: boolean;
278
264
  name?: string;
279
- roiType?: string;
265
+ roiType?: RoiType;
280
266
  updatedAt?: Timestamp;
281
267
  shapes?: GateReportROIShape[];
282
268
  };
@@ -298,15 +284,15 @@ export type VerifiedDaysQueryParams = PaginationParams & {
298
284
  camerasExid: CameraExid[];
299
285
  verifiedBy: string;
300
286
  isMatched: boolean;
301
- insertedAt: DateTime[];
302
- updatedAt: DateTime[];
287
+ insertedAt: string[];
288
+ updatedAt: string[];
303
289
  day: string;
304
290
  };
305
291
  export type VerifyDayUpdateRequestPayload = {
306
292
  camerasExid: string[];
307
293
  projectExid: string;
308
- day: Date_YYYY_MM_DD;
309
- isMatched: boolean;
294
+ day: string;
295
+ isMatched?: boolean;
310
296
  verifiedBy: string;
311
297
  };
312
298
  export type ProcessedDaysQueryParams = {
@@ -315,27 +301,23 @@ export type ProcessedDaysQueryParams = {
315
301
  eventType: GateReportEventType;
316
302
  };
317
303
  export type RoisQueryParams = {
318
- cameraExid: string;
304
+ camerasExid: CameraExid[];
319
305
  id: number;
320
306
  name: string;
321
307
  fromDate: string;
322
- roiType: GateReportROIShapeType;
323
- isactive: boolean;
308
+ roiType: RoiType;
309
+ isActive: boolean;
324
310
  directionFilter: string;
325
311
  sort: string;
326
312
  };
327
- export type GateReportROICreateRequestPayload = {
328
- id?: number;
329
- roi: {
330
- cameraex: string;
331
- name: string;
332
- roiType: string;
333
- isactive: true;
334
- fromDate: string;
335
- shapes: Record<string, unknown>[];
336
- directionFilter: string;
337
- note: string;
338
- };
339
- 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;
340
323
  };
341
- 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
+ };
@@ -1,4 +1,4 @@
1
- import { PaginationParams } from "@/types";
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 "./storageServers";
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";