@evercam/api 1.0.0-44d59f453 → 1.0.0-4544b2a4c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +6 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +224 -0
  3. package/dist/api/api/adminApi.d.ts +379 -0
  4. package/dist/api/api/aiApi.d.ts +259 -0
  5. package/dist/api/api/authzApi.d.ts +40 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
  8. package/dist/api/{client → api/client}/interceptors.d.ts +2 -2
  9. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  10. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  11. package/dist/api/api/evercamApi.d.ts +353 -0
  12. package/dist/api/api/evercamLabsApi.d.ts +37 -0
  13. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +2 -2
  14. package/dist/api/api/index.d.ts +14 -0
  15. package/dist/api/api/ingestApi.d.ts +170 -0
  16. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  17. package/dist/api/api/reportsApi.d.ts +15 -0
  18. package/dist/api/api/videoWallApi.d.ts +9 -0
  19. package/dist/api/api/weatherApi.d.ts +9 -0
  20. package/dist/api/index.d.ts +3 -13
  21. package/dist/api/types/360.d.ts +368 -0
  22. package/dist/api/types/aconex.d.ts +143 -0
  23. package/dist/api/types/admin.d.ts +89 -0
  24. package/dist/api/types/aiConfigs.d.ts +244 -0
  25. package/dist/{types → api/types}/analytics.d.ts +289 -121
  26. package/dist/api/types/anpr.d.ts +237 -0
  27. package/dist/api/types/apiKey.d.ts +70 -0
  28. package/dist/api/types/auditLogs.d.ts +257 -0
  29. package/dist/api/types/authz.d.ts +132 -0
  30. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  31. package/dist/api/types/automation.d.ts +123 -0
  32. package/dist/{types → api/types}/axios.d.ts +32 -12
  33. package/dist/{types → api/types}/bim.d.ts +80 -16
  34. package/dist/api/types/camera.d.ts +660 -0
  35. package/dist/api/types/comments.d.ts +96 -0
  36. package/dist/api/types/company.d.ts +121 -0
  37. package/dist/{types → api/types}/compare.d.ts +21 -6
  38. package/dist/api/types/connector.d.ts +21 -0
  39. package/dist/api/types/coolify.d.ts +36 -0
  40. package/dist/{types → api/types}/countries.d.ts +0 -7
  41. package/dist/{types → api/types}/credentials.d.ts +1 -0
  42. package/dist/api/types/detections.d.ts +120 -0
  43. package/dist/api/types/drone.d.ts +106 -0
  44. package/dist/api/types/emailMessages.d.ts +27 -0
  45. package/dist/{types → api/types}/errors.d.ts +31 -1
  46. package/dist/{types → api/types}/gateReport.d.ts +86 -172
  47. package/dist/api/types/gateReportManagement.d.ts +170 -0
  48. package/dist/api/types/hammertech.d.ts +98 -0
  49. package/dist/{types → api/types}/hdd.d.ts +27 -2
  50. package/dist/{types → api/types}/index.d.ts +26 -5
  51. package/dist/api/types/ingest.d.ts +319 -0
  52. package/dist/{types → api/types}/kit.d.ts +174 -108
  53. package/dist/api/types/map.d.ts +16 -0
  54. package/dist/{types → api/types}/media.d.ts +33 -4
  55. package/dist/api/types/notification.d.ts +107 -0
  56. package/dist/api/types/nvr.d.ts +67 -0
  57. package/dist/api/types/oauth.d.ts +62 -0
  58. package/dist/api/types/observationEvents.d.ts +167 -0
  59. package/dist/api/types/observations.d.ts +89 -0
  60. package/dist/api/types/planner.d.ts +125 -0
  61. package/dist/api/types/posthog.d.ts +105 -0
  62. package/dist/api/types/procore.d.ts +229 -0
  63. package/dist/{types → api/types}/progressPhoto.d.ts +41 -40
  64. package/dist/api/types/project.d.ts +294 -0
  65. package/dist/{types → api/types}/recording.d.ts +10 -16
  66. package/dist/api/types/recycleBin.d.ts +20 -0
  67. package/dist/api/types/reports.d.ts +109 -0
  68. package/dist/api/types/ring.d.ts +53 -0
  69. package/dist/{types → api/types}/roi.d.ts +2 -9
  70. package/dist/{types → api/types}/routeParams.d.ts +5 -2
  71. package/dist/{types → api/types}/router.d.ts +34 -10
  72. package/dist/{types → api/types}/shared.d.ts +47 -44
  73. package/dist/api/types/shares.d.ts +45 -0
  74. package/dist/{types → api/types}/sim.d.ts +23 -11
  75. package/dist/api/types/siteAnalytics.d.ts +285 -0
  76. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  77. package/dist/api/types/siteView.d.ts +80 -0
  78. package/dist/api/types/smartSeach.d.ts +5 -0
  79. package/dist/api/types/snapshots.d.ts +144 -0
  80. package/dist/api/types/socket.d.ts +4 -0
  81. package/dist/api/types/sso.d.ts +30 -0
  82. package/dist/api/types/storageProvider.d.ts +30 -0
  83. package/dist/api/types/storyblok.d.ts +27 -0
  84. package/dist/api/types/streaming.d.ts +97 -0
  85. package/dist/api/types/systemCheck.d.ts +11 -0
  86. package/dist/api/types/tag.d.ts +12 -0
  87. package/dist/api/types/time.d.ts +7 -0
  88. package/dist/{types → api/types}/timelapse.d.ts +14 -11
  89. package/dist/{types → api/types}/user.d.ts +143 -59
  90. package/dist/api/types/videoWall.d.ts +66 -0
  91. package/dist/api/types/weather.d.ts +153 -0
  92. package/dist/{types → api/types}/widget.d.ts +111 -22
  93. package/dist/api/types/xweather.d.ts +12 -0
  94. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  95. package/dist/index.d.ts +2 -3
  96. package/dist/index.js +3260 -1119
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.umd.cjs +1 -1
  99. package/dist/index.umd.cjs.map +1 -1
  100. package/dist/shared/api/index.d.ts +3 -0
  101. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  102. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  103. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  104. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  105. package/dist/shared/types/components.d.ts +930 -0
  106. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  107. package/dist/shared/types/droneUpload.d.ts +93 -0
  108. package/dist/shared/types/imagePlayer.d.ts +41 -0
  109. package/dist/shared/types/index.d.ts +9 -0
  110. package/dist/shared/types/observations.d.ts +25 -0
  111. package/dist/shared/types/rbac.d.ts +80 -0
  112. package/dist/shared/types/report.d.ts +108 -0
  113. package/dist/shared/types/timeline.d.ts +10 -0
  114. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  115. package/dist/shared/utils/datePresets.d.ts +31 -0
  116. package/package.json +8 -5
  117. package/dist/api/3dFirebaseApi.d.ts +0 -9
  118. package/dist/api/adminApi.d.ts +0 -307
  119. package/dist/api/aiApi.d.ts +0 -86
  120. package/dist/api/authzApi.d.ts +0 -21
  121. package/dist/api/evercamApi.d.ts +0 -266
  122. package/dist/api/evercamLabsApi.d.ts +0 -46
  123. package/dist/api/ingestApi.d.ts +0 -65
  124. package/dist/api/videoWallApi.d.ts +0 -9
  125. package/dist/api/weatherApi.d.ts +0 -25
  126. package/dist/types/360.d.ts +0 -83
  127. package/dist/types/aconex.d.ts +0 -45
  128. package/dist/types/anpr.d.ts +0 -98
  129. package/dist/types/auditLogs.d.ts +0 -99
  130. package/dist/types/automation.d.ts +0 -6
  131. package/dist/types/camera.d.ts +0 -564
  132. package/dist/types/comments.d.ts +0 -36
  133. package/dist/types/company.d.ts +0 -46
  134. package/dist/types/connector.d.ts +0 -16
  135. package/dist/types/copilot.d.ts +0 -156
  136. package/dist/types/detections.d.ts +0 -76
  137. package/dist/types/devices.d.ts +0 -228
  138. package/dist/types/drone.d.ts +0 -17
  139. package/dist/types/ingest.d.ts +0 -43
  140. package/dist/types/map.d.ts +0 -4
  141. package/dist/types/notification.d.ts +0 -27
  142. package/dist/types/nvr.d.ts +0 -36
  143. package/dist/types/procore.d.ts +0 -76
  144. package/dist/types/project.d.ts +0 -120
  145. package/dist/types/shares.d.ts +0 -192
  146. package/dist/types/siteAnalytics.d.ts +0 -84
  147. package/dist/types/sitePlanner.d.ts +0 -28
  148. package/dist/types/snapshots.d.ts +0 -50
  149. package/dist/types/storageServers.d.ts +0 -4
  150. package/dist/types/streaming.d.ts +0 -119
  151. package/dist/types/time.d.ts +0 -19
  152. package/dist/types/vendorModel.d.ts +0 -15
  153. package/dist/types/videoWall.d.ts +0 -33
  154. package/dist/types/weather.d.ts +0 -83
  155. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  156. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  157. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -2,14 +2,13 @@ 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
- export * from "./devices";
13
12
  export * from "./drone";
14
13
  export * from "./errors";
15
14
  export * from "./gateReport";
@@ -28,18 +27,21 @@ export * from "./routeParams";
28
27
  export * from "./router";
29
28
  export * from "./shares";
30
29
  export * from "./sim";
31
- export * from "./sitePlanner";
32
- export * from "./storageServers";
30
+ export * from "./systemCheck";
31
+ export * from "./planner";
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,25 @@ 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";
56
+ export * from "./sso";
57
+ export * from "./coolify";
58
+ export * from "./tag";
59
+ export * from "./xweather";
60
+ export * from "./posthog";
61
+ export * from "./recycleBin";
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";
@@ -0,0 +1,319 @@
1
+ import { PaginationParams, DateType, JsonValue, TuplePoint2D } from "@evercam/api/types";
2
+ import type { _360FloorV2, _360WalkV2 } from "@evercam/api/types/360";
3
+ export declare enum IngestProcessingStatus {
4
+ Completed = "completed",
5
+ Uploading = "uploading",
6
+ Created = "created",
7
+ Failed = "failed",
8
+ Aborted = "aborted",
9
+ Paused = "paused",
10
+ InProgress = "inprogress",
11
+ Pending = "pending",
12
+ Downloading = "downloading"
13
+ }
14
+ export declare enum MobileAssetsType {
15
+ Audio = "mobile_audios",
16
+ Photo = "mobile_photos"
17
+ }
18
+ export declare enum IngestVersions {
19
+ V1 = "v1",
20
+ V2 = "v2",
21
+ V3 = "v3",
22
+ V4 = "v4",
23
+ V5 = "v5"
24
+ }
25
+ export declare enum IngestDurationType {
26
+ Queued = "queued",
27
+ Processed = "processed",
28
+ Total = "total"
29
+ }
30
+ export declare enum IngestTypes {
31
+ Drone = "drone",
32
+ ThreeSixty = "360"
33
+ }
34
+ export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
35
+ projectId: string;
36
+ processingStatus: IngestProcessingStatus;
37
+ };
38
+ export type IngestPaginatedResponse<T> = {
39
+ items: T[];
40
+ page: number;
41
+ limit: number;
42
+ total: number;
43
+ pageCount?: number;
44
+ };
45
+ export declare enum IngestProcessingStepStatus {
46
+ Running = "running",
47
+ Completed = "completed",
48
+ Failed = "failed",
49
+ Skipped = "skipped"
50
+ }
51
+ export declare enum IngestProcessingRunStatus {
52
+ Processing = "processing",
53
+ Completed = "completed",
54
+ Failed = "failed"
55
+ }
56
+ export type IngestProcessingMetricStat = {
57
+ avg?: number;
58
+ peak?: number;
59
+ };
60
+ export type IngestProcessingStepMetrics = {
61
+ cpu?: IngestProcessingMetricStat;
62
+ ram?: IngestProcessingMetricStat;
63
+ gpuUtil?: IngestProcessingMetricStat;
64
+ gpuMemDevice?: IngestProcessingMetricStat;
65
+ gpuMemStep?: IngestProcessingMetricStat;
66
+ ramTotalMb?: number;
67
+ diskTotalMb?: number;
68
+ };
69
+ export type IngestProcessingStepDetail = {
70
+ input?: Record<string, JsonValue>;
71
+ params?: Record<string, JsonValue>;
72
+ output?: Record<string, JsonValue>;
73
+ metrics?: IngestProcessingStepMetrics;
74
+ error?: string;
75
+ };
76
+ export type IngestProcessingStep = {
77
+ name: string;
78
+ tool?: string;
79
+ status: IngestProcessingStepStatus | string;
80
+ startedAt?: string;
81
+ endedAt?: string;
82
+ durationSec?: number;
83
+ durationPct?: number;
84
+ detail?: IngestProcessingStepDetail;
85
+ };
86
+ export type IngestProcessingDiskUsage = {
87
+ sourceMb?: number;
88
+ framesMb?: number;
89
+ resultMb?: number;
90
+ totalMb?: number;
91
+ };
92
+ export type IngestProcessingPeakUsage = {
93
+ cpu?: number;
94
+ ram?: number;
95
+ gpuUtil?: number;
96
+ gpuMemDevice?: number;
97
+ gpuMemStep?: number;
98
+ };
99
+ export type IngestProcessingFootprint = {
100
+ disk?: IngestProcessingDiskUsage;
101
+ peak?: IngestProcessingPeakUsage;
102
+ };
103
+ export type IngestProcessingProgress = {
104
+ available: boolean;
105
+ status?: IngestProcessingRunStatus | string;
106
+ processingStatus?: IngestProcessingStatus | string;
107
+ currentStep?: string | null;
108
+ error?: string | null;
109
+ startedAt?: string;
110
+ steps: IngestProcessingStep[];
111
+ footprint?: IngestProcessingFootprint;
112
+ };
113
+ export type IngestTrackedAsset = {
114
+ id: number;
115
+ projectId: string;
116
+ name?: string;
117
+ processingStatus?: IngestProcessingStatus | string;
118
+ };
119
+ export type DroneUploadItem = {
120
+ id: number;
121
+ projectId: string;
122
+ flightDate: string;
123
+ flightGeolocation: string;
124
+ modelZip: string;
125
+ orthomosaicZip: string;
126
+ reportPdf: string;
127
+ processingLog: string;
128
+ uploadedBy: string;
129
+ processingStatus: IngestProcessingStatus | string;
130
+ modelCesiumAssetId: string;
131
+ updatedAt: string;
132
+ canDelete: boolean;
133
+ canReprocess: boolean;
134
+ hasSteps: boolean;
135
+ aerialShotsCount: number;
136
+ };
137
+ export type DroneUploadsResponse = IngestPaginatedResponse<DroneUploadItem>;
138
+ export type DroneQueueResponse = {
139
+ size: number;
140
+ assetsDrone: DroneUploadItem[];
141
+ };
142
+ export type DroneFlightMetadata = {
143
+ dateTime: string;
144
+ gpsAltitude: string;
145
+ gpsCoordinates: string;
146
+ };
147
+ export type DroneFileAllocation = {
148
+ filename: string;
149
+ contentType: string;
150
+ };
151
+ export declare enum UploadFileStatus {
152
+ Allocated = "allocated",
153
+ Acknowledged = "acknowledged"
154
+ }
155
+ export type DroneFileState = DroneFileAllocation & {
156
+ status: UploadFileStatus;
157
+ uploadUrl?: string;
158
+ };
159
+ export type DroneFileError = {
160
+ filename?: string;
161
+ id?: number;
162
+ code: string;
163
+ detail: string;
164
+ retryable: boolean;
165
+ };
166
+ export type DroneFileStates = {
167
+ files: DroneFileState[];
168
+ errors: DroneFileError[];
169
+ nextCursor?: string | null;
170
+ };
171
+ export type DroneCompletion = DroneFileStates & {
172
+ processingId: number;
173
+ processingStatus: IngestProcessingStatus;
174
+ };
175
+ export type DroneReprocessResponse = Pick<DroneCompletion, "processingId" | "processingStatus">;
176
+ export type AerialAllocation = DroneFileAllocation & {
177
+ gpsLatitude: string;
178
+ gpsLongitude: string;
179
+ gpsAltitude: string;
180
+ };
181
+ export type AerialUploadState = AerialAllocation & {
182
+ id: number;
183
+ status: UploadFileStatus;
184
+ processingStatus: IngestProcessingStatus;
185
+ uploadUrl?: string;
186
+ fileLink?: string;
187
+ thumbnailLink?: string;
188
+ };
189
+ export type AerialUploadStates = {
190
+ aerialShots: AerialUploadState[];
191
+ errors: DroneFileError[];
192
+ nextCursor?: string | null;
193
+ complete: boolean;
194
+ };
195
+ export type AerialShotState = {
196
+ id: number;
197
+ filename?: string | null;
198
+ status?: UploadFileStatus | null;
199
+ contentType?: string | null;
200
+ processingStatus?: AerialUploadState["processingStatus"] | null;
201
+ gpsLatitude: string;
202
+ gpsLongitude: string;
203
+ gpsAltitude: string;
204
+ fileLink?: string | null;
205
+ thumbnailLink?: string | null;
206
+ };
207
+ export type AerialShotPage = Omit<AerialUploadStates, "aerialShots"> & {
208
+ aerialShots: AerialShotState[];
209
+ };
210
+ export type DroneCreation = {
211
+ projectId: string;
212
+ flightMetadata: DroneFlightMetadata;
213
+ aerialShots?: AerialAllocation[];
214
+ };
215
+ export type DroneProcessingTarget = {
216
+ ingestUrl: string;
217
+ id: number;
218
+ };
219
+ export type DroneCreated = {
220
+ id: number;
221
+ projectId: string;
222
+ processingStatus: IngestProcessingStatus;
223
+ aerialShots: AerialUploadState[];
224
+ errors: DroneFileError[];
225
+ };
226
+ export type DroneDeletion = {
227
+ deleted: {
228
+ filename: string;
229
+ id?: number;
230
+ }[];
231
+ errors: DroneFileError[];
232
+ };
233
+ export type DroneComparisonFrames = {
234
+ beforeImage?: string;
235
+ afterImage: string;
236
+ beforeDate?: string;
237
+ afterDate: string;
238
+ };
239
+ export type DronePreviewImages = Pick<DroneComparisonFrames, "beforeImage" | "afterImage">;
240
+ export type DronePreview = {
241
+ mimeType: "image/gif" | "image/jpeg";
242
+ content: string;
243
+ width: number;
244
+ height: number;
245
+ };
246
+ export type CalculateMeasuringOperationRequestPayload = {
247
+ date: DateType;
248
+ points: TuplePoint2D[];
249
+ operation: string;
250
+ };
251
+ export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
252
+ date: DateType;
253
+ };
254
+ export type AerialShotItem = {
255
+ id: number;
256
+ droneUploadId: number;
257
+ fileLink: string;
258
+ thumbnailLink: string;
259
+ gpsLatitude: string;
260
+ gpsLongitude: string;
261
+ gpsAltitude: string;
262
+ };
263
+ export type InspectionToolRequestPayload = {
264
+ date: DateType;
265
+ gpsAltitude: string;
266
+ gpsCoordinates: string;
267
+ };
268
+ export type _360AssetsResponse = IngestPaginatedResponse<_360WalkV2>;
269
+ export type _360AssetsCountsDay = {
270
+ day: number;
271
+ walks?: number;
272
+ mobilePhotos?: number;
273
+ [key: string]: JsonValue | undefined;
274
+ };
275
+ export type _360AssetsCountsResponse = {
276
+ days: _360AssetsCountsDay[];
277
+ };
278
+ export type _360QueueResponse = {
279
+ size: number;
280
+ assets360: _360WalkV2[];
281
+ };
282
+ export type _360FloorsResponse = IngestPaginatedResponse<_360FloorV2>;
283
+ export type BimUploadItem = {
284
+ id: number;
285
+ projectId: string;
286
+ uploadedBy: string;
287
+ files: string[];
288
+ updatedAt: string;
289
+ archive?: string | null;
290
+ };
291
+ export type BimUploadsResponse = IngestPaginatedResponse<BimUploadItem>;
292
+ export type IngestUploadInitResponse = {
293
+ id: number;
294
+ projectId: string;
295
+ token?: string;
296
+ projectName?: string;
297
+ };
298
+ export type MobileAssetsQueryParams = Partial<Omit<PaginationParams, "sort">> & {
299
+ projectId?: string;
300
+ project_id?: string;
301
+ assetType?: MobileAssetsType | string;
302
+ date?: DateType;
303
+ isPaginated?: boolean;
304
+ };
305
+ export type MobileCaptureAssetsResponse = IngestPaginatedResponse<{
306
+ id: string;
307
+ projectId?: string;
308
+ uploadedBy: string;
309
+ updatedAt: string;
310
+ assetType: string;
311
+ thumbnailUrl: string;
312
+ }> | Array<{
313
+ id: string;
314
+ projectId?: string;
315
+ uploadedBy: string;
316
+ updatedAt: string;
317
+ assetType: string;
318
+ thumbnailUrl: string;
319
+ }>;