@evercam/api 1.0.0-fbf4f4d51 → 1.0.0-fe3b7bf1c

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 (66) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +204 -15
  3. package/dist/api/api/adminApi.d.ts +48 -16
  4. package/dist/api/api/aiApi.d.ts +113 -51
  5. package/dist/api/api/authzApi.d.ts +5 -3
  6. package/dist/api/api/evercamApi.d.ts +70 -10
  7. package/dist/api/api/evercamLabsApi.d.ts +5 -6
  8. package/dist/api/api/exNvrApi.d.ts +1 -1
  9. package/dist/api/api/ingestApi.d.ts +56 -43
  10. package/dist/api/types/360.d.ts +197 -54
  11. package/dist/api/types/aiConfigs.d.ts +154 -0
  12. package/dist/api/types/analytics.d.ts +95 -54
  13. package/dist/api/types/anpr.d.ts +40 -0
  14. package/dist/api/types/auditLogs.d.ts +18 -0
  15. package/dist/api/types/authz.d.ts +47 -0
  16. package/dist/api/types/automation.d.ts +11 -2
  17. package/dist/api/types/axios.d.ts +11 -7
  18. package/dist/api/types/bim.d.ts +26 -1
  19. package/dist/api/types/camera.d.ts +20 -27
  20. package/dist/api/types/comments.d.ts +10 -7
  21. package/dist/api/types/connector.d.ts +3 -0
  22. package/dist/api/types/coolify.d.ts +18 -2
  23. package/dist/api/types/copilot.d.ts +10 -5
  24. package/dist/api/types/detections.d.ts +7 -11
  25. package/dist/api/types/drone.d.ts +96 -6
  26. package/dist/api/types/errors.d.ts +11 -0
  27. package/dist/api/types/gateReport.d.ts +20 -32
  28. package/dist/api/types/gateReportManagement.d.ts +175 -0
  29. package/dist/api/types/hammertech.d.ts +98 -0
  30. package/dist/api/types/index.d.ts +10 -1
  31. package/dist/api/types/ingest.d.ts +31 -4
  32. package/dist/api/types/kit.d.ts +38 -2
  33. package/dist/api/types/map.d.ts +12 -0
  34. package/dist/api/types/media.d.ts +9 -2
  35. package/dist/api/types/notification.d.ts +12 -2
  36. package/dist/api/types/oauth.d.ts +62 -0
  37. package/dist/api/types/observations.d.ts +85 -0
  38. package/dist/api/types/planner.d.ts +97 -0
  39. package/dist/api/types/posthog.d.ts +20 -0
  40. package/dist/api/types/progressPhoto.d.ts +2 -1
  41. package/dist/api/types/project.d.ts +31 -3
  42. package/dist/api/types/recording.d.ts +7 -11
  43. package/dist/api/types/ring.d.ts +53 -0
  44. package/dist/api/types/roi.d.ts +4 -3
  45. package/dist/api/types/shared.d.ts +19 -0
  46. package/dist/api/types/siteAnalytics.d.ts +7 -17
  47. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  48. package/dist/api/types/siteView.d.ts +73 -0
  49. package/dist/api/types/smartSeach.d.ts +5 -0
  50. package/dist/api/types/snapshots.d.ts +48 -3
  51. package/dist/api/types/storageProvider.d.ts +19 -0
  52. package/dist/api/types/timelapse.d.ts +6 -2
  53. package/dist/api/types/user.d.ts +1 -5
  54. package/dist/api/utils.d.ts +0 -1
  55. package/dist/index.js +2093 -982
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.umd.cjs +1 -1
  58. package/dist/index.umd.cjs.map +1 -1
  59. package/dist/shared/types/components.d.ts +113 -9
  60. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  61. package/dist/shared/types/imagePlayer.d.ts +9 -2
  62. package/dist/shared/types/index.d.ts +3 -0
  63. package/dist/shared/types/observations.d.ts +21 -0
  64. package/dist/shared/types/rbac.d.ts +67 -0
  65. package/package.json +4 -2
  66. package/dist/api/types/storageServers.d.ts +0 -4
@@ -9,6 +9,9 @@ export declare enum Connector {
9
9
  Autodesk = "autodesk",
10
10
  AutodeskViewer = "autodesk_viewer",
11
11
  VoyageControl = "voyage_control",
12
+ Ring = "ring",
13
+ Email = "email",
14
+ Hammertech = "hammertech",
12
15
  XWeather = "xweather"
13
16
  }
14
17
  export declare enum ProcoreType {
@@ -1,6 +1,5 @@
1
- import { DateType } from "@evercam/api/types/time";
1
+ import { CameraExid, DateType, ProjectExid } from "@evercam/api/types";
2
2
  export type CreateCoolifyAppRequestPayload = {
3
- cameraExid: string;
4
3
  startDate: DateType;
5
4
  modelVersion: string;
6
5
  snapshotRequestTimeout: string | number;
@@ -18,3 +17,20 @@ export type SaveCoolifyAppRequestPayload = {
18
17
  serverUuid: string;
19
18
  useThirdParty: boolean;
20
19
  };
20
+ export type CoolifyApp = {
21
+ id: number;
22
+ projectExid: ProjectExid;
23
+ anprCameraExid: CameraExid;
24
+ contextCameraExid: CameraExid;
25
+ modelVersion: string;
26
+ isActive: boolean;
27
+ insertedAt: DateType;
28
+ updatedAt: DateType;
29
+ };
30
+ export type RegisterCoolifyAppResponsePayload = {
31
+ created: boolean;
32
+ id: number;
33
+ data: CoolifyApp;
34
+ count: number;
35
+ message: string;
36
+ };
@@ -26,7 +26,9 @@ export declare enum CopilotStepId {
26
26
  CompletedFieldsResponse = "completed_fields_response",
27
27
  SendRawToolCallResponse = "send_raw_tool_call_response",
28
28
  SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm",
29
- CancelCall = "cancel_call"
29
+ CancelCall = "cancel_call",
30
+ RequestAgentCall = "request_agent_call",
31
+ ExecAgentCall = "exec_agent_call"
30
32
  }
31
33
  export declare enum CopilotMissingFieldsLabels {
32
34
  ProjectExid = "Project",
@@ -34,10 +36,10 @@ export declare enum CopilotMissingFieldsLabels {
34
36
  FromDate = "Start date",
35
37
  ToDate = "End date"
36
38
  }
37
- export type CopilotMissingField<T = any> = {
39
+ export type CopilotMissingField<T = unknown> = {
38
40
  name: string;
39
41
  label: string;
40
- value: any;
42
+ value: unknown;
41
43
  type: string;
42
44
  toolId: string;
43
45
  error?: T;
@@ -83,7 +85,8 @@ export declare enum CopilotSuggestion {
83
85
  Weather = "weather",
84
86
  Clip = "clip",
85
87
  Timelapse = "timelapse",
86
- Chart = "chart"
88
+ Chart = "chart",
89
+ SmartSearch = "smart_search"
87
90
  }
88
91
  export declare enum CopilotChatProvider {
89
92
  Gemini = "gemini",
@@ -101,12 +104,14 @@ export declare enum CopilotToolId {
101
104
  NavigateToPage = "navigateToPage",
102
105
  CreateTimelapse = "createTimelapse",
103
106
  RequestMissingFields = "requestMissingFields",
104
- RenderCharts = "renderCharts"
107
+ RenderCharts = "renderCharts",
108
+ SmartSearch = "smartSearch"
105
109
  }
106
110
  export type CopilotSystemToolCallResponse<I = unknown, O = unknown> = {
107
111
  toolId?: CopilotToolId;
108
112
  input?: I;
109
113
  output?: O;
114
+ isAgent?: boolean;
110
115
  };
111
116
  export type CopilotCamera = {
112
117
  name: string;
@@ -13,15 +13,6 @@ export type SegmentsFilters = BaseDetectionsFilters & {
13
13
  cameraExid: CameraExid;
14
14
  };
15
15
  export type BBox = number[];
16
- export type SelectedObjectPath = {
17
- label: string;
18
- trackId: string;
19
- paths: Array<{
20
- timestamp: number;
21
- center: [number, number];
22
- bbox: BBox;
23
- }>;
24
- };
25
16
  export type Label = DetectionLabel | PpeLabel;
26
17
  export type Detection = {
27
18
  bbox: BBox;
@@ -32,7 +23,7 @@ export type Detection = {
32
23
  export type DetectionsGroup = {
33
24
  timestamp: DateType;
34
25
  cameraExid: CameraExid;
35
- detections: Detection[];
26
+ trackings: Detection[];
36
27
  };
37
28
  export type DetectionsCounts = {
38
29
  timestamps: number;
@@ -99,6 +90,9 @@ export type DetectionsCountsParams = BaseCountsParams & {
99
90
  export type SegmentsCountsParams = CameraDateRangeFilter & BaseCountsParams;
100
91
  export type DetectionsPresenceByLabel = Record<DetectionLabel, TimelineDateInterval[]>;
101
92
  export type SegmentsPresenceByLabel = Record<SegmentLabel, TimelineDateInterval[]>;
93
+ export type SegmentsPresenceResponse = {
94
+ intervals: SegmentsPresenceByLabel;
95
+ };
102
96
  export type LuminanceReading = {
103
97
  timestamp: string;
104
98
  luminanceDelta: number;
@@ -108,6 +102,7 @@ export declare enum PpeLabel {
108
102
  Helmet = "helmet",
109
103
  HighVisibilityVest = "high-visibility-vest",
110
104
  SafetyGlasses = "safety-glasses",
105
+ Gloves = "gloves",
111
106
  Person = "person",
112
107
  Man = "man",
113
108
  Woman = "woman"
@@ -117,5 +112,6 @@ export declare enum DetectionModel {
117
112
  Yolov11 = 2,
118
113
  Yolov112 = 3,
119
114
  GroundingDino = 4,
120
- Owlv2 = 5
115
+ Owlv2 = 5,
116
+ PpeV2 = 6
121
117
  }
@@ -1,17 +1,107 @@
1
+ import { Point3D } from "@evercam/api/types/shared";
2
+ export type DroneCameraTransform = {
3
+ position: Point3D;
4
+ direction: Point3D;
5
+ up: Point3D;
6
+ right: Point3D;
7
+ };
1
8
  export type DroneModel = {
2
- cesiumId: string;
3
- cesiumId2D: string;
9
+ cesiumId: number;
10
+ cesiumId2D: number;
4
11
  date: string;
5
12
  cesiumPointCloudId: string;
13
+ cesiumGausianSplatId: string;
6
14
  pointSize: string;
7
- maximumScreenSpaceError: string;
15
+ maximumScreenSpaceError: number;
8
16
  link: string;
9
17
  trueIndex: number;
10
18
  };
11
- export type DroneProjectJsonResponse = {
12
- models: DroneModel[];
13
- [key: string]: any;
19
+ export type DroneProjectTransform = {
20
+ initialCameraTransform?: DroneCameraTransform;
21
+ initial2DCameraTransform?: DroneCameraTransform;
22
+ blackListIds?: string;
23
+ markers?: Record<string, DroneMarker>;
24
+ imageryPlans?: Record<string, DroneImageryPlan>;
25
+ bimData?: DroneBimData;
26
+ terrainPoints?: Record<string, Point3D[]>;
27
+ projectWGS84Coordinates?: DroneProjectCoordinates | null;
28
+ tags?: Record<string, DroneTag>;
29
+ };
30
+ export type DroneProjectData = {
31
+ models?: DroneModel[];
32
+ transform?: DroneProjectTransform;
33
+ integrationType?: DroneProvider;
34
+ origin?: string;
35
+ params?: string;
36
+ pointSize?: number;
37
+ };
38
+ export type DroneProjectDataPatch = {
39
+ models?: Record<number, Partial<DroneModel>>;
40
+ integrationType?: DroneProvider;
41
+ origin?: string;
42
+ params?: string;
43
+ };
44
+ export type DroneProjectCoordinates = {
45
+ lat: number | null;
46
+ lon: number | null;
47
+ alt: number | null;
48
+ };
49
+ export type DroneTransformPatch = {
50
+ projectWGS84Coordinates?: DroneProjectCoordinates | null;
51
+ };
52
+ export declare enum DroneTagType {
53
+ AerialShot = "AerialShot"
54
+ }
55
+ export type DroneTag<T extends DroneTagType = DroneTagType> = {
56
+ id?: number;
57
+ type: T;
58
+ comment: string;
59
+ position?: Point3D;
60
+ cameraTransform?: DroneCameraTransform;
61
+ creationDate: string;
62
+ hyperlink?: string;
63
+ height?: number;
64
+ };
65
+ export type AerialShotPoint = DroneTag<DroneTagType.AerialShot>;
66
+ export type DroneMarkerTransform = {
67
+ fovAngle: number;
68
+ fovRadius: number;
69
+ heading: number;
70
+ height: number;
71
+ latitude: string;
72
+ longitude: string;
73
+ pitch: number;
74
+ roll: number;
75
+ scale: number;
76
+ };
77
+ export declare enum DroneMarkerType {
78
+ Default = "Default",
79
+ Gate = "Gate",
80
+ Indoor = "Indoor"
81
+ }
82
+ export type DroneMarker = {
83
+ type: DroneMarkerType;
84
+ name: string;
85
+ cameraExid: string;
86
+ transform: DroneMarkerTransform;
87
+ };
88
+ export type DroneImageryPlan = {
89
+ cesiumId: number;
90
+ uuid: string;
91
+ name: string;
92
+ alpha: number;
93
+ order: number;
94
+ };
95
+ export type DroneBimData = {
96
+ cesiumId: string | null;
97
+ iModelId: string | null;
98
+ changeSetId: string | null;
99
+ isItwin: boolean;
14
100
  };
15
101
  export declare enum DroneUrlParams {
16
102
  Date = "date"
17
103
  }
104
+ export declare enum DroneProvider {
105
+ Evercam = "Evercam",
106
+ DroneDeploy = "DroneDeploy"
107
+ }
@@ -46,4 +46,15 @@ type _EvercamApiError = {
46
46
  innerError?: _EvercamApiError;
47
47
  };
48
48
  export type EvercamApiError = AxiosError<_EvercamApiError>;
49
+ export type AppError = {
50
+ statusCode?: number;
51
+ message?: string;
52
+ redirect?: {
53
+ url?: string;
54
+ label?: string;
55
+ delay?: number;
56
+ };
57
+ withSupportMessage?: boolean;
58
+ isWidget?: boolean;
59
+ };
49
60
  export {};
@@ -1,4 +1,4 @@
1
- import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, Timestamp } from "@evercam/api/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",
@@ -249,6 +249,7 @@ export type AnprExportBaseParams = {
249
249
  toDate?: string;
250
250
  camerasExid?: CameraExid[];
251
251
  isPublic?: boolean;
252
+ columns?: string[];
252
253
  };
253
254
  export type EventsExportRequestParameters = AnprExportBaseParams & {
254
255
  eventType: GateReportEventType;
@@ -259,28 +260,19 @@ export type AnprBasedGateReportExportRequestParams = AnprExportBaseParams & {
259
260
  export type LegacyAnprExportParams = AnprExportBaseParams & {
260
261
  direction?: AnprDirection;
261
262
  };
262
- type X1 = number;
263
- type Y1 = number;
264
- type X2 = number;
265
- type Y2 = number;
266
- export declare enum GateReportROIShapeType {
267
- Rectangle = "rectangle",
268
- Direction = "direction",
269
- Line = "line"
270
- }
271
263
  export type GateReportROIShape = {
272
- coordinates: [[X1, Y1], [X2, Y2]];
273
- type: GateReportROIShapeType;
264
+ coordinates: TuplePoint2D[];
265
+ type: RoiShapeType;
274
266
  };
275
267
  export type GateReportROI = {
276
268
  cameraex?: string;
277
269
  fromDate?: string;
278
- directionFilter?: string;
270
+ directionFilter?: RoiDirection;
279
271
  id?: number;
280
272
  insertedAt?: Timestamp;
281
- isactive?: boolean;
273
+ isActive?: boolean;
282
274
  name?: string;
283
- roiType?: string;
275
+ roiType?: RoiType;
284
276
  updatedAt?: Timestamp;
285
277
  shapes?: GateReportROIShape[];
286
278
  };
@@ -319,27 +311,23 @@ export type ProcessedDaysQueryParams = {
319
311
  eventType: GateReportEventType;
320
312
  };
321
313
  export type RoisQueryParams = {
322
- camerasExid: string[];
314
+ camerasExid: CameraExid[];
323
315
  id: number;
324
316
  name: string;
325
317
  fromDate: string;
326
- roiType: GateReportROIShapeType;
327
- isactive: boolean;
318
+ roiType: RoiType;
319
+ isActive: boolean;
328
320
  directionFilter: string;
329
321
  sort: string;
330
322
  };
331
- export type GateReportROICreateRequestPayload = {
332
- id?: number;
333
- roi: {
334
- cameraex: string;
335
- name: string;
336
- roiType: string;
337
- isactive: true;
338
- fromDate: string;
339
- shapes: Record<string, unknown>[];
340
- directionFilter: string;
341
- note: string;
342
- };
343
- createdBy: string;
323
+ export type GateReportRoiRequestPayload = {
324
+ id: number;
325
+ cameraExid: string;
326
+ name: string;
327
+ roiType: RoiType;
328
+ isActive: true;
329
+ fromDate: string;
330
+ shapes: GateReportROIShape[];
331
+ directionFilter: string;
332
+ note: string;
344
333
  };
345
- export {};
@@ -0,0 +1,175 @@
1
+ import { CameraExid, DateType, 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 GateReportManagementListParams = {
134
+ projectExid?: ProjectExid;
135
+ includeStatus?: boolean;
136
+ page?: number;
137
+ limit?: number;
138
+ };
139
+ export type CoolifyProjectOption = {
140
+ uuid: string;
141
+ name: string;
142
+ description: string | null;
143
+ };
144
+ export type CoolifyServerOption = {
145
+ uuid: string;
146
+ name: string;
147
+ isReachable: boolean;
148
+ isUsable: boolean;
149
+ };
150
+ export declare enum AppRuntimeState {
151
+ Running = "running",
152
+ Stopped = "stopped",
153
+ Restarting = "restarting"
154
+ }
155
+ export type AppRuntimeStateRequest = {
156
+ state: AppRuntimeState;
157
+ };
158
+ export type AppActionResponse = {
159
+ success: boolean;
160
+ message: string | null;
161
+ appUuid: string | null;
162
+ state: AppRuntimeState | null;
163
+ };
164
+ export type APIEnvelope<T> = {
165
+ success: boolean;
166
+ data: T | null;
167
+ message: string;
168
+ };
169
+ export type CreateGateReportAppResponse = {
170
+ created: boolean;
171
+ id: number | null;
172
+ data: GateReportManagedApp | null;
173
+ count: number | null;
174
+ message: string;
175
+ };
@@ -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
+ };
@@ -30,7 +30,7 @@ export * from "./shares";
30
30
  export * from "./sim";
31
31
  export * from "./systemCheck";
32
32
  export * from "./planner";
33
- export * from "./storageServers";
33
+ export * from "./storageProvider";
34
34
  export * from "./streaming";
35
35
  export * from "./storyblok";
36
36
  export * from "./time";
@@ -39,9 +39,11 @@ export * from "./user";
39
39
  export * from "./vendorModel";
40
40
  export * from "./videoWall";
41
41
  export * from "./voyageControl";
42
+ export * from "./hammertech";
42
43
  export * from "./weather";
43
44
  export * from "./comments";
44
45
  export * from "./detections";
46
+ export * from "./observations";
45
47
  export * from "./axios";
46
48
  export * from "./shared";
47
49
  export * from "./company";
@@ -49,6 +51,7 @@ export * from "./kit";
49
51
  export * from "./auditLogs";
50
52
  export * from "./snapshots";
51
53
  export * from "./siteAnalytics";
54
+ export * from "./siteAnalyticsManagement";
52
55
  export * from "./widget";
53
56
  export * from "./countries";
54
57
  export * from "./automation";
@@ -59,3 +62,9 @@ export * from "./xweather";
59
62
  export * from "./posthog";
60
63
  export * from "./recycleBin";
61
64
  export * from "./authz";
65
+ export * from "./oauth";
66
+ export * from "./ring";
67
+ export * from "./smartSeach";
68
+ export * from "./siteView";
69
+ export * from "./aiConfigs";
70
+ export * from "./gateReportManagement";