@evercam/api 1.0.0-003291add → 1.0.0-0088ae60c

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.
@@ -1,4 +1,5 @@
1
- import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag } from "@evercam/shared/types";
1
+ import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag, TuplePoint2D } from "@evercam/shared/types";
2
+ import type { IngestUploadInitResponse } from "@evercam/api/types";
2
3
  import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
3
4
  import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
4
5
  import { SeriesOptionsType } from "highcharts";
@@ -33,7 +34,9 @@ export declare enum IframeMessageType {
33
34
  Load360Gallery = "load360Gallery",
34
35
  Upload360 = "upload360",
35
36
  FetchForgeToken = "FetchForgeToken",
36
- ForgeTokenResponse = "ForgeTokenResponse"
37
+ ForgeTokenResponse = "ForgeTokenResponse",
38
+ ShowBimUploadChoice = "showBimUploadChoice",
39
+ ViewerLaunchFlags = "viewerLaunchFlags"
37
40
  }
38
41
  export declare enum NavigationArrow {
39
42
  Previous = "previous",
@@ -44,7 +47,6 @@ export declare enum WatermarkedImageDownloadOrigin {
44
47
  Bim = "BIM",
45
48
  Snapshot = "snapshot",
46
49
  The360 = "360",
47
- The360Gallery = "360 Gallery",
48
50
  Planner = "Planner"
49
51
  }
50
52
  export declare enum PlayerMode {
@@ -151,8 +153,8 @@ export type LeaderLineOptions = {
151
153
  startPlugSize?: number;
152
154
  endPlugSize?: number;
153
155
  path?: LeaderLinesPathType;
154
- startSocketGravity?: [number, number];
155
- endSocketGravity?: [number, number];
156
+ startSocketGravity?: TuplePoint2D;
157
+ endSocketGravity?: TuplePoint2D;
156
158
  dash?: {
157
159
  animation: boolean | {
158
160
  duration: number;
@@ -213,6 +215,17 @@ export type FormSchemaField = {
213
215
  columns?: number;
214
216
  };
215
217
  export type FormSchema = Record<string, FormSchemaField>;
218
+ export type DrawingStats = {
219
+ overlay: boolean;
220
+ geolocated: boolean;
221
+ isCalibrated: boolean;
222
+ walks: number;
223
+ markers: number;
224
+ minimodel: number;
225
+ bim: number;
226
+ comments: number;
227
+ lastCapturedDate: string | null;
228
+ };
216
229
  export interface ScrollListener {
217
230
  element: Element | Window;
218
231
  handler: () => void;
@@ -299,3 +312,11 @@ export type TableHeaderParams<TItem = unknown> = {
299
312
  toStringFn?: (item: TItem, key: string) => any;
300
313
  sort?: (a: unknown, b: unknown) => number;
301
314
  };
315
+ export type BimUploadObject = IngestUploadInitResponse & {
316
+ projectName: string;
317
+ };
318
+ export type BimUploadFileResult = {
319
+ url: string;
320
+ title: string;
321
+ fileExtension: string;
322
+ };
@@ -13,7 +13,7 @@ export type EventMarker<T extends {}> = T & {
13
13
  label: string;
14
14
  thumbnailUrl: string;
15
15
  isActive: boolean;
16
- cssClass?: Object | string;
16
+ markerType?: RecordingsMarker;
17
17
  };
18
18
  export type SnapshotEvent<T extends {}> = T & {
19
19
  eventTime: Timestamp;
@@ -22,6 +22,13 @@ export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
22
22
  frameIndex: number;
23
23
  snapshotTimestamp: Timestamp;
24
24
  };
25
+ export declare enum RecordingsMarker {
26
+ Comment = "comment",
27
+ GateReport = "gate-report",
28
+ Anpr = "anpr",
29
+ Detection = "detection",
30
+ SmartSearch = "smart-search"
31
+ }
25
32
  export declare enum ImageQuality {
26
33
  ThreeSixty = "360",
27
34
  FourEighty = "480",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/api",
3
- "version": "1.0.0-003291add",
3
+ "version": "1.0.0-0088ae60c",
4
4
  "description": "Evercam API client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "publish-api": "cd ../.. && yarn publish-api"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/node": "^25.6.0",
39
+ "@types/node": "^25.6.2",
40
40
  "vite": "latest",
41
41
  "vite-plugin-commonjs": "^0.10.3",
42
42
  "vite-plugin-dts": "^4.5.4"