@evercam/api 1.0.0-4530231e7 → 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 (92) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +212 -15
  3. package/dist/api/api/adminApi.d.ts +120 -96
  4. package/dist/api/api/aiApi.d.ts +188 -53
  5. package/dist/api/api/authzApi.d.ts +5 -3
  6. package/dist/api/api/client/interceptors.d.ts +1 -1
  7. package/dist/api/api/evercamApi.d.ts +86 -28
  8. package/dist/api/api/evercamLabsApi.d.ts +9 -18
  9. package/dist/api/api/exNvrApi.d.ts +1 -1
  10. package/dist/api/api/index.d.ts +1 -0
  11. package/dist/api/api/ingestApi.d.ts +90 -65
  12. package/dist/api/api/reportsApi.d.ts +15 -0
  13. package/dist/api/types/360.d.ts +178 -86
  14. package/dist/api/types/admin.d.ts +41 -3
  15. package/dist/api/types/aiConfigs.d.ts +244 -0
  16. package/dist/api/types/analytics.d.ts +141 -71
  17. package/dist/api/types/anpr.d.ts +134 -0
  18. package/dist/api/types/apiKey.d.ts +70 -0
  19. package/dist/api/types/auditLogs.d.ts +179 -21
  20. package/dist/api/types/authz.d.ts +72 -0
  21. package/dist/api/types/automation.d.ts +40 -3
  22. package/dist/api/types/axios.d.ts +12 -11
  23. package/dist/api/types/bim.d.ts +70 -12
  24. package/dist/api/types/camera.d.ts +244 -128
  25. package/dist/api/types/comments.d.ts +67 -26
  26. package/dist/api/types/company.d.ts +11 -5
  27. package/dist/api/types/compare.d.ts +1 -1
  28. package/dist/api/types/connector.d.ts +3 -0
  29. package/dist/api/types/coolify.d.ts +18 -2
  30. package/dist/api/types/detections.d.ts +10 -11
  31. package/dist/api/types/drone.d.ts +95 -6
  32. package/dist/api/types/emailMessages.d.ts +27 -0
  33. package/dist/api/types/errors.d.ts +19 -2
  34. package/dist/api/types/gateReport.d.ts +59 -49
  35. package/dist/api/types/gateReportManagement.d.ts +170 -0
  36. package/dist/api/types/hammertech.d.ts +98 -0
  37. package/dist/api/types/hdd.d.ts +1 -1
  38. package/dist/api/types/index.d.ts +15 -3
  39. package/dist/api/types/ingest.d.ts +207 -20
  40. package/dist/api/types/kit.d.ts +97 -117
  41. package/dist/api/types/map.d.ts +12 -0
  42. package/dist/api/types/media.d.ts +32 -3
  43. package/dist/api/types/notification.d.ts +52 -2
  44. package/dist/api/types/nvr.d.ts +39 -8
  45. package/dist/api/types/oauth.d.ts +62 -0
  46. package/dist/api/types/observationEvents.d.ts +167 -0
  47. package/dist/api/types/observations.d.ts +89 -0
  48. package/dist/api/types/planner.d.ts +98 -8
  49. package/dist/api/types/posthog.d.ts +72 -0
  50. package/dist/api/types/progressPhoto.d.ts +39 -25
  51. package/dist/api/types/project.d.ts +77 -24
  52. package/dist/api/types/recording.d.ts +9 -15
  53. package/dist/api/types/recycleBin.d.ts +8 -2
  54. package/dist/api/types/reports.d.ts +109 -0
  55. package/dist/api/types/ring.d.ts +53 -0
  56. package/dist/api/types/roi.d.ts +3 -11
  57. package/dist/api/types/routeParams.d.ts +1 -0
  58. package/dist/api/types/router.d.ts +15 -10
  59. package/dist/api/types/shared.d.ts +39 -29
  60. package/dist/api/types/shares.d.ts +0 -13
  61. package/dist/api/types/sim.d.ts +18 -6
  62. package/dist/api/types/siteAnalytics.d.ts +7 -19
  63. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  64. package/dist/api/types/siteView.d.ts +80 -0
  65. package/dist/api/types/smartSeach.d.ts +5 -0
  66. package/dist/api/types/snapshots.d.ts +98 -13
  67. package/dist/api/types/socket.d.ts +4 -0
  68. package/dist/api/types/sso.d.ts +12 -37
  69. package/dist/api/types/storageProvider.d.ts +30 -0
  70. package/dist/api/types/storyblok.d.ts +0 -13
  71. package/dist/api/types/timelapse.d.ts +6 -9
  72. package/dist/api/types/user.d.ts +48 -34
  73. package/dist/api/types/widget.d.ts +13 -4
  74. package/dist/api/utils.d.ts +1 -1
  75. package/dist/index.js +2635 -1120
  76. package/dist/index.js.map +1 -1
  77. package/dist/index.umd.cjs +1 -1
  78. package/dist/index.umd.cjs.map +1 -1
  79. package/dist/shared/types/components.d.ts +702 -42
  80. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  81. package/dist/shared/types/droneUpload.d.ts +93 -0
  82. package/dist/shared/types/imagePlayer.d.ts +8 -1
  83. package/dist/shared/types/index.d.ts +5 -0
  84. package/dist/shared/types/observations.d.ts +25 -0
  85. package/dist/shared/types/rbac.d.ts +80 -0
  86. package/dist/shared/types/report.d.ts +108 -0
  87. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  88. package/dist/shared/utils/datePresets.d.ts +31 -0
  89. package/package.json +4 -2
  90. package/dist/api/types/copilot.d.ts +0 -157
  91. package/dist/api/types/storageServers.d.ts +0 -4
  92. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -1,76 +1,91 @@
1
1
  import type { AxiosRequestConfig } from "axios";
2
2
  import type { SwrRequestConfig } from "@evercam/api/types";
3
- import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
4
- import { IngestVersions } from "@evercam/api/types";
5
- export declare const getIngestApiUrl: (version: string) => string | undefined | null;
3
+ import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DronePreviewImages, DronePreview, EmailMessage, EmailAcceptance, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneCreation, DroneCreated, DroneProcessingTarget, DroneUploadItem, DroneFileAllocation, DroneFileStates, DroneCompletion, DroneDeletion, DroneReprocessResponse, AerialAllocation, AerialUploadStates, AerialShotPage, IngestProcessingProgress, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
4
+ import { IngestTypes } from "@evercam/api/types";
5
+ export declare const getIngestApiUrls: (type: string) => string[];
6
6
  export declare const IngestApi: {
7
+ email: {
8
+ send(payload: EmailMessage): Promise<EmailAcceptance>;
9
+ };
7
10
  drone: {
8
- createUpload(projectId: string, params: {
9
- uploadedBy: string;
10
- }): Promise<IngestUploadInitResponse>;
11
- reprocessDrone(id: number, params?: JsonObject): Promise<void>;
11
+ createProcessing(ingestUrl: string, payload: DroneCreation, signal?: AbortSignal): Promise<DroneCreated>;
12
+ getProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneUploadItem>;
13
+ getFlightProcessing(projectId: string, date: string): Promise<DroneUploadItem>;
14
+ allocateFiles({ ingestUrl, id }: DroneProcessingTarget, files: DroneFileAllocation[], signal?: AbortSignal): Promise<DroneFileStates>;
15
+ acknowledgeFiles({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<DroneCompletion>;
16
+ completeProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneCompletion>;
17
+ deleteFiles(id: number, filenames?: string[]): Promise<DroneDeletion>;
18
+ allocateAerialShots({ ingestUrl, id }: DroneProcessingTarget, aerialShots: AerialAllocation[], signal?: AbortSignal): Promise<AerialUploadStates>;
19
+ acknowledgeAerialShots({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<AerialUploadStates>;
20
+ getAerialShots(id: number, params?: {
21
+ cursor?: string;
22
+ limit?: number;
23
+ processingStatus?: string;
24
+ }): Promise<AerialShotPage>;
25
+ deleteAerialShots(id: number, filenames?: string[]): Promise<DroneDeletion>;
26
+ reprocessDrone(id: number, params?: JsonObject): Promise<DroneReprocessResponse>;
12
27
  getDrones(params: {
13
28
  params: Partial<DronesQueryParams>;
14
29
  }): Promise<DroneUploadsResponse>;
30
+ getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
15
31
  getArchive(id: number, params: {
16
32
  dataType: string;
17
- }): Promise<Blob>;
33
+ }): Promise<string>;
18
34
  deleteUpload(id: number): Promise<void>;
19
- prepareForUpload(projectId: string, params: {
20
- uploadedBy: string;
21
- token: string;
22
- }): Promise<void>;
23
- upload(projectId: string, params: {
24
- uploadedBy: string;
25
- token: string;
26
- }, payload: DroneUploadUpdateRequestPayload): Promise<void>;
27
- verifyToken(projectId: string, params: {
28
- token: string;
29
- }): Promise<JsonObject>;
30
- calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<JsonObject>;
35
+ calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
31
36
  inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
32
- isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
33
- getDroneQueueSize(version?: IngestVersions): Promise<DroneQueueResponse>;
37
+ createPreview(payload: DronePreviewImages): Promise<DronePreview>;
38
+ getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
34
39
  getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
35
40
  checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
36
41
  };
37
42
  assets360: {
38
43
  get360Assets(params: {
39
44
  params: Partial<_360AssetsQueryParams>;
40
- }, version?: IngestVersions): Promise<_360AssetsResponse>;
45
+ }): Promise<_360AssetsResponse>;
41
46
  get360AssetsCounts(projectId: string, params: {
42
47
  uploadedBy: string;
43
- }, version?: IngestVersions): Promise<_360AssetsCountsResponse>;
44
- get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
45
- update360(id: number, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<_360WalkV2>;
46
- update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<_360WalkV2>;
47
- deleteUpload(id: number, version?: IngestVersions): Promise<void>;
48
+ }): Promise<_360AssetsCountsResponse>;
49
+ update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
50
+ update360ByProjectDateName(projectId: string, date: string, floor: string, payload: Partial<_360AssetsRequestPayload> & {
51
+ drawingId?: number;
52
+ }): Promise<_360WalkV2>;
53
+ deleteUpload(id: number): Promise<void>;
48
54
  getArchive(id: number, params: {
49
- dateType: string;
50
- }, version?: IngestVersions): Promise<Blob>;
51
- createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<IngestUploadInitResponse>;
52
- upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<_360WalkV2>;
53
- reprocess360(id: number, version?: IngestVersions): Promise<void>;
55
+ dataType: string;
56
+ }): Promise<string>;
57
+ get360Progress(id: number): Promise<IngestProcessingProgress>;
58
+ createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
59
+ upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload, ingestUrlOverride?: string): Promise<_360WalkV2>;
60
+ reprocess360(id: number): Promise<void>;
54
61
  drawingExists(payload: {
55
62
  params: {
56
63
  name: string;
57
64
  project_id: string;
58
65
  };
59
- }, version?: IngestVersions): Promise<JsonObject>;
66
+ }): Promise<JsonObject>;
60
67
  getDrawings(payload: {
61
68
  params: DrawingsRequestPayload;
62
69
  config?: SwrRequestConfig<_360FloorsResponse>;
63
- }, version?: IngestVersions): Promise<_360FloorsResponse>;
64
- getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<_360FloorV2>;
65
- updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<_360FloorV2>;
66
- deleteDrawing(id: number, version?: IngestVersions): Promise<void>;
67
- transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<void>;
68
- createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<_360FloorV2>;
70
+ }): Promise<_360FloorsResponse>;
71
+ getDrawingById(id: number, projectExid: string, { assetSummary }?: {
72
+ assetSummary?: boolean;
73
+ }): Promise<_360FloorV2>;
74
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
75
+ deleteDrawing(id: number): Promise<void>;
76
+ restoreDrawing(id: number): Promise<void>;
77
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
78
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
69
79
  fetchDrawingOverlay(id: number, params: {
70
80
  view: boolean;
71
- }, onDownloadProgress: (progress: ProgressEvent) => void, version?: IngestVersions): Promise<Blob>;
72
- generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<JsonObject>;
73
- get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<_360QueueResponse>;
81
+ thumbnail?: boolean;
82
+ }, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
83
+ fetchDrawingOverlayBlob(id: number, params?: {
84
+ thumbnail?: boolean;
85
+ }, extraConfig?: AxiosRequestConfig): Promise<Blob>;
86
+ getFloorArchive(id: number): Promise<string>;
87
+ generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
88
+ get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
74
89
  };
75
90
  bim: {
76
91
  createUpload(projectId: string, params: {
@@ -82,27 +97,48 @@ export declare const IngestApi: {
82
97
  getArchive(id: number): Promise<Blob>;
83
98
  deleteUpload(id: number): Promise<void>;
84
99
  upload(projectId: string, params: {
85
- id: string;
100
+ id: number | string;
86
101
  name: string;
87
102
  }, payload: BimUploadPayload): Promise<void>;
88
103
  };
104
+ webhook: {
105
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
106
+ };
89
107
  mobileCapture: {
90
- getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureAssetsResponse>;
108
+ getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
91
109
  getMobileAssetPhoto(assetId: string | number, params: {
92
110
  projectId?: string;
93
111
  project_id?: string;
94
112
  isThumbnail?: boolean;
95
113
  is_thumbnail?: boolean;
96
- }, version?: IngestVersions): Promise<string>;
97
- deleteAsset(assetId: string | number, version?: IngestVersions): Promise<void>;
114
+ }): Promise<string>;
115
+ deleteAsset(assetId: string | number): Promise<void>;
98
116
  };
99
117
  utils: {
100
118
  loadAllAssetsInQueue(): Promise<({
119
+ ingestVersion: string;
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: import("@evercam/api/types").IngestProcessingStatus | string;
130
+ modelCesiumAssetId: string;
131
+ updatedAt: string;
132
+ canDelete: boolean;
133
+ canReprocess: boolean;
134
+ hasSteps: boolean;
135
+ aerialShotsCount: number;
136
+ } | {
101
137
  ingestVersion: string;
102
138
  archive: string;
103
139
  date: string;
104
140
  deviceSerial: string | null;
105
- endPosition: unknown | null;
141
+ endPosition: string | null;
106
142
  floor: string;
107
143
  floorId: number;
108
144
  id: number;
@@ -117,29 +153,18 @@ export declare const IngestApi: {
117
153
  processingStatus: string;
118
154
  projectId: string;
119
155
  report: string;
156
+ processingLog: string;
157
+ hasSteps?: boolean;
120
158
  route: unknown | null;
121
- startPosition: unknown | null;
159
+ startPosition: string | null;
122
160
  tusLinks: unknown | null;
123
161
  updatedAt: string;
124
162
  uploadedBy: string;
125
163
  videoArchive: string;
126
164
  videos: string[];
127
- } | {
128
- ingestVersion: string;
129
- id: number;
130
- projectId: string;
131
- consumed: boolean;
132
- token: string;
133
- flightDate: string;
134
- flightGeolocation: string;
135
- modelZip: string;
136
- orthomosaicZip: string;
137
- reportPdf: string;
138
- uploadedBy: string;
139
- processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
140
- modelCesiumAssetId: string;
141
- updatedAt: string;
142
- hasTusLinks: boolean;
143
165
  })[]>;
166
+ getIngestNumber(ingestUrl: string): number;
167
+ getIngestVersion(ingestUrl: string): string;
168
+ chooseIngestApiUrl(type: IngestTypes, isTieToNewest?: boolean): Promise<string>;
144
169
  };
145
170
  };
@@ -0,0 +1,15 @@
1
+ import { type ChatListPage, type ChatListParams, type ChatSession } from "@evercam/api/types";
2
+ /**
3
+ * The Evercam Reports engine, for the admin Chat conversations viewer.
4
+ *
5
+ * The engine speaks camelCase natively, so every call preserves casing rather than
6
+ * running the snake conversion the media API needs. The admin's bearer is attached
7
+ * by the shared request interceptor — an admin resolves `is_admin` on the engine, so
8
+ * `scope=all` returns every user's conversations.
9
+ */
10
+ export declare const ReportsApi: {
11
+ chat: {
12
+ listConversations(params?: ChatListParams): Promise<ChatListPage>;
13
+ getConversation(id: string): Promise<ChatSession>;
14
+ };
15
+ };
@@ -1,26 +1,35 @@
1
1
  import { DateType } from "@evercam/api/types/time";
2
- export type _360CameraParams = {
3
- azimuthAngle: number;
4
- polarAngle: number;
2
+ import { GeoPoint, PaginationParams, Point3D } from "@evercam/api/types/shared";
3
+ export type _360OverlayPosition = {
4
+ northEast: GeoPoint;
5
+ northWest: GeoPoint;
6
+ southEast: GeoPoint;
7
+ southWest: GeoPoint;
5
8
  };
6
- export type _360Vector3D = {
7
- x: number;
8
- y: number;
9
- z: number;
9
+ export type ForgeViewport = {
10
+ name: string;
11
+ eye: number[];
12
+ target: number[];
13
+ worldUpVector?: number[];
10
14
  };
11
- export type _360Geolocation = {
12
- latitude: number;
13
- longitude: number;
15
+ export type ForgeView = {
16
+ name: string;
17
+ viewport: ForgeViewport;
18
+ timestamp: string;
14
19
  };
15
20
  export type _360CameraRotation = {
16
21
  azimuthAngle: number;
17
22
  polarAngle: number;
18
23
  };
24
+ export type _360Geolocation = {
25
+ latitude: number;
26
+ longitude: number;
27
+ };
19
28
  export type _360Marker3D = {
20
- cameraPosition: _360Vector3D;
29
+ cameraPosition: Point3D;
21
30
  geolocation: _360Geolocation;
22
31
  nextRoomId: _360MakerId;
23
- position: _360Vector3D;
32
+ position: Point3D;
24
33
  rotation: {
25
34
  _order: "XYZ" | string;
26
35
  _x: number;
@@ -35,7 +44,7 @@ export type _360Tag = {
35
44
  comment: string;
36
45
  creationDate: number;
37
46
  currentRoom: _360MakerId;
38
- position: _360Vector3D;
47
+ position: Point3D;
39
48
  cameraRotation: _360CameraRotation;
40
49
  };
41
50
  export type _360FloorId = string | number;
@@ -45,8 +54,17 @@ export type _360Floor = {
45
54
  _3DMarkers: _360Marker3D[];
46
55
  cameraRotation: _360CameraRotation;
47
56
  fbxModel: string;
57
+ fbxModelHQ?: string;
58
+ pointCloudModelHQ?: string;
48
59
  initialMarker: _360MakerId;
49
60
  modelViewerFeatureFlag: boolean;
61
+ imagesOnlyFeatureFlag?: boolean;
62
+ forgeBIMFeatureFlag?: boolean;
63
+ isForgeGravityEnabled?: boolean;
64
+ bimHeight?: number;
65
+ initialForgeView?: ForgeView | null;
66
+ enhancedLightFeatureFlag?: boolean;
67
+ calibrationDetails?: Record<string, unknown>;
50
68
  route: {
51
69
  cameraHeadingOffset: string;
52
70
  overlayID: number;
@@ -54,13 +72,13 @@ export type _360Floor = {
54
72
  };
55
73
  sceneScale: number;
56
74
  steps: number;
57
- tags: Record<string, _360Tag>;
75
+ tags?: Record<string, _360Tag>;
58
76
  };
59
77
  export type _360WalkV2 = {
60
78
  archive: string;
61
79
  date: string;
62
80
  deviceSerial: string | null;
63
- endPosition: unknown | null;
81
+ endPosition: string | null;
64
82
  floor: string;
65
83
  floorId: number;
66
84
  id: number;
@@ -75,8 +93,10 @@ export type _360WalkV2 = {
75
93
  processingStatus: string;
76
94
  projectId: string;
77
95
  report: string;
96
+ processingLog: string;
97
+ hasSteps?: boolean;
78
98
  route: unknown | null;
79
- startPosition: unknown | null;
99
+ startPosition: string | null;
80
100
  tusLinks: unknown | null;
81
101
  updatedAt: string;
82
102
  uploadedBy: string;
@@ -92,44 +112,40 @@ export type _360FloorV2 = {
92
112
  hasOverlay: boolean;
93
113
  isCalibrated: boolean;
94
114
  createdBy: string | null;
95
- overlayPosition: {
96
- northEast: {
97
- lat: number;
98
- lng: number;
99
- };
100
- northWest: {
101
- lat: number;
102
- lng: number;
103
- };
104
- southEast: {
105
- lat: number;
106
- lng: number;
107
- };
108
- southWest: {
109
- lat: number;
110
- lng: number;
111
- };
112
- };
115
+ overlayPosition: _360OverlayPosition;
113
116
  insertedAt: string;
114
117
  updatedAt: string;
118
+ deletedAt: string | null;
115
119
  };
116
120
  export type _360Scene = {
117
121
  date: string;
118
- dateID: number;
122
+ dateID: string | number;
119
123
  floors: {
120
124
  floorID: _360FloorId;
121
125
  name: string;
126
+ isValidated?: boolean;
122
127
  }[];
123
128
  polarAngle: number;
124
129
  azimuthAngle: number;
125
130
  };
131
+ export declare enum _360PinType {
132
+ Default = "Default"
133
+ }
134
+ export type _360Pin = {
135
+ position: Point3D;
136
+ pinType: _360PinType;
137
+ pinId?: string;
138
+ cameraExid?: string;
139
+ name: string;
140
+ currentRoom?: _360MakerId;
141
+ cameraRotation?: _360CameraRotation;
142
+ };
126
143
  export type _360SceneRoute = {
127
144
  cameraHeadingOffset?: number;
128
145
  overlayID?: number;
129
146
  track?: string;
130
147
  };
131
- export type _360FullProject = {
132
- dates: _360SceneWithFloors[];
148
+ export type _360ProjectListItem = {
133
149
  integrationType: string;
134
150
  projectId: string;
135
151
  projectName: string;
@@ -138,13 +154,7 @@ export type _360FullProject = {
138
154
  providerSuffix: string;
139
155
  timeline: string;
140
156
  uniqueId: string;
141
- };
142
- export type _360FullFloor = _360Floor & {
143
- id: _360FloorId;
144
- name: string;
145
- };
146
- export type _360SceneWithFloors = _360Scene & {
147
- floors: _360FullFloor[];
157
+ requiresValidation?: boolean;
148
158
  };
149
159
  export type _360ProjectJsonResponse = {
150
160
  dates: _360Scene[];
@@ -159,12 +169,25 @@ export type MobileCaptureSnapshot = {
159
169
  thumbnailUrl: string;
160
170
  };
161
171
  export declare enum _360UrlParams {
162
- DateId = "date_id",
172
+ DateId = "dateId",
163
173
  Date = "date",
164
174
  Floor = "floor",
165
175
  Marker = "marker",
166
176
  PolarAngle = "polarAngle",
167
- AzimuthAngle = "azimuthAngle"
177
+ AzimuthAngle = "azimuthAngle",
178
+ Zoom = "zoom",
179
+ User = "user",
180
+ ViewerMode = "viewer_mode",
181
+ ProjectId = "projectId",
182
+ Unit = "unit",
183
+ LockDate = "lockDate",
184
+ LockFloor = "lockFloor",
185
+ LockMarker = "lockMarker",
186
+ IsWidget = "isWidget",
187
+ MediaLocked = "mediaLocked",
188
+ Debug = "debug",
189
+ RequiresValidation = "requires_validation",
190
+ CommentId = "comment_id"
168
191
  }
169
192
  export declare enum _360AssetType {
170
193
  Video = "video",
@@ -172,17 +195,14 @@ export declare enum _360AssetType {
172
195
  Model = "model",
173
196
  Route = "route",
174
197
  MobilePhoto = "mobile_photos",
175
- MobileAudio = "mobile_audios"
198
+ MobileAudio = "mobile_audios",
199
+ Report = "report",
200
+ ProcessingLog = "processing_log"
176
201
  }
177
202
  export declare enum _360AssetLabel {
178
203
  Walks = "walks",
179
204
  MobilePhotos = "mobilePhotos"
180
205
  }
181
- export declare enum _360Feature {
182
- BIM = "BIM",
183
- Minimap = "Minimap",
184
- Minimodel = "Minimodel"
185
- }
186
206
  export declare enum _360IntergrationType {
187
207
  Evercam = "Evercam",
188
208
  Matterport = "Matterport",
@@ -193,23 +213,23 @@ export declare enum _360IntergrationType {
193
213
  export declare enum PathMarkerColor {
194
214
  Start = "#00e74c",
195
215
  End = "#fd7567",
216
+ Anchor = "#ffb300",
196
217
  Default = "#2196F3"
197
218
  }
198
- export type _360AssetsQueryParams = {
199
- page: number;
200
- limit: number;
201
- projectID: string;
219
+ export type _360AssetsQueryParams = PaginationParams & {
220
+ projectId: string;
202
221
  date: DateType;
203
222
  floor: string;
223
+ name: string;
204
224
  id: string;
205
225
  };
206
226
  export type _360AssetsRequestPayload = {
207
- projectId: string;
208
- date: DateType;
209
- floor: string;
227
+ date?: DateType;
228
+ name?: string;
229
+ drawingId?: _360FloorId;
210
230
  uploadedBy?: string;
211
231
  };
212
- export type DrawingsRequestPayload = {
232
+ export type DrawingsRequestPayload = PaginationParams & {
213
233
  projectId?: string;
214
234
  name?: string;
215
235
  changedBy?: string;
@@ -217,10 +237,9 @@ export type DrawingsRequestPayload = {
217
237
  startDate?: string;
218
238
  endDate?: string;
219
239
  id?: number;
220
- page?: number;
221
- limit?: number;
222
240
  paginate?: boolean;
223
241
  withAsset?: boolean;
242
+ includeDeleted?: boolean;
224
243
  };
225
244
  export type GenerateFloorPayload = {
226
245
  overlay?: {
@@ -228,27 +247,11 @@ export type GenerateFloorPayload = {
228
247
  title: string;
229
248
  fileExtension: string;
230
249
  };
231
- changedBy: string;
250
+ changedBy?: string;
232
251
  name?: string;
233
252
  mapStyle?: string;
234
- overlayPositionCorners: {
235
- northEast: {
236
- lat: number;
237
- lng: number;
238
- };
239
- northWest: {
240
- lat: number;
241
- lng: number;
242
- };
243
- southWest: {
244
- lat: number;
245
- lng: number;
246
- };
247
- southEast: {
248
- lat: number;
249
- lng: number;
250
- };
251
- };
253
+ overlayPositionCorners?: _360OverlayPosition;
254
+ isCalibrated?: boolean;
252
255
  };
253
256
  export type _360QueueQueryParams = {
254
257
  projectId?: string;
@@ -261,16 +264,105 @@ export type _360AssetsUploadPayload = {
261
264
  title: string;
262
265
  fileExtension: string;
263
266
  }[];
264
- deviceSerial: string;
265
- startPosition: string;
266
- endPosition: string;
267
+ deviceSerial?: string;
268
+ startPosition?: string;
269
+ endPosition?: string;
267
270
  isTimelapse: boolean;
268
271
  isImagesOnly: boolean;
269
272
  };
270
273
  export type Generate360MapRequestPayload = {
271
- dateId: string;
274
+ dateId: string | number;
272
275
  floorId: string;
273
- cameraOffset: string;
276
+ cameraOffset: string | number;
274
277
  startPoint: string;
275
278
  endPoint: string;
279
+ drawingId?: number;
280
+ markers?: Array<{
281
+ position: {
282
+ x: number;
283
+ y: number;
284
+ z: number;
285
+ };
286
+ }>;
287
+ startPointIndex?: number;
288
+ endPointIndex?: number;
289
+ };
290
+ export declare enum EModelsType {
291
+ FBX = "FBX",
292
+ PointCloud = "PLY"
293
+ }
294
+ export type _360FloorRef = {
295
+ projectID: string;
296
+ dateID: string | number;
297
+ floorID: _360FloorId;
298
+ };
299
+ export type _360Vector3 = {
300
+ x: number;
301
+ y: number;
302
+ z: number;
303
+ };
304
+ export type _360MarkerData = {
305
+ cameraPosition: _360Vector3;
306
+ nextRoomId: string;
307
+ position: _360Vector3;
308
+ geolocation?: {
309
+ latitude: number;
310
+ longitude: number;
311
+ };
312
+ rotation: {
313
+ _order: string;
314
+ _x: number;
315
+ _y: number;
316
+ _z: number;
317
+ isEuler: boolean;
318
+ x?: number;
319
+ y?: number;
320
+ z?: number;
321
+ };
322
+ };
323
+ export type _360Route = {
324
+ overlayID?: number;
325
+ track?: string;
326
+ cameraHeadingOffset?: number;
327
+ };
328
+ export type _360CalibrationDetails = {
329
+ baseOriginOf360Viewer?: _360Vector3;
330
+ baseOriginOfForgeViewer?: _360Vector3;
331
+ rotationMatrix?: {
332
+ elements: number[];
333
+ };
334
+ scaleMatrix?: {
335
+ elements: number[];
336
+ };
337
+ };
338
+ export type _360FloorData = {
339
+ _3DMarkers: _360MarkerData[];
340
+ fbxModel: string | null;
341
+ fbxModelHQ: string | null;
342
+ pointCloudModelHQ: string | null;
343
+ initialMarker: string;
344
+ cameraRotation: _360CameraRotation;
345
+ steps: number;
346
+ route: _360Route | null;
347
+ sceneScale: number;
348
+ modelViewerFeatureFlag: boolean;
349
+ imagesOnlyFeatureFlag: boolean;
350
+ forgeBIMFeatureFlag: boolean;
351
+ isForgeGravityEnabled: boolean;
352
+ bimHeight?: number | null;
353
+ initialForgeView: ForgeView | null;
354
+ calibrationDetails: _360CalibrationDetails;
355
+ enhancedLightFeatureFlag: boolean;
356
+ };
357
+ export type _360PinData = {
358
+ position: _360Vector3;
359
+ pinType: string;
360
+ name: string;
361
+ pinId?: string;
362
+ cameraExid?: string;
363
+ currentRoom?: string;
364
+ cameraRotation?: {
365
+ polarAngle: number;
366
+ azimuthAngle: number;
367
+ };
276
368
  };