@evercam/api 1.0.0-a255a7bd4 → 1.0.0-a6868d86c

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 (105) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +26 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +65 -11
  4. package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +26 -40
  5. package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +7 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +1 -0
  7. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  8. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  9. package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +48 -21
  10. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -2
  11. package/dist/api/api/index.d.ts +13 -0
  12. package/dist/api/api/ingestApi.d.ts +96 -0
  13. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +4 -0
  14. package/dist/api/api/videoWallApi.d.ts +9 -0
  15. package/dist/api/index.d.ts +3 -13
  16. package/dist/api/types/360.d.ts +274 -0
  17. package/dist/api/types/aconex.d.ts +143 -0
  18. package/dist/{types → api/types}/analytics.d.ts +108 -5
  19. package/dist/{types → api/types}/anpr.d.ts +7 -11
  20. package/dist/api/types/authz.d.ts +22 -0
  21. package/dist/api/types/automation.d.ts +61 -0
  22. package/dist/{types → api/types}/axios.d.ts +16 -0
  23. package/dist/{types → api/types}/camera.d.ts +24 -5
  24. package/dist/{types → api/types}/comments.d.ts +18 -2
  25. package/dist/{types → api/types}/company.d.ts +29 -1
  26. package/dist/{types → api/types}/coolify.d.ts +2 -0
  27. package/dist/{types → api/types}/countries.d.ts +0 -7
  28. package/dist/{types → api/types}/credentials.d.ts +1 -0
  29. package/dist/{types → api/types}/detections.d.ts +5 -20
  30. package/dist/{types → api/types}/errors.d.ts +1 -0
  31. package/dist/{types → api/types}/gateReport.d.ts +4 -101
  32. package/dist/{types → api/types}/index.d.ts +4 -0
  33. package/dist/{types → api/types}/ingest.d.ts +8 -0
  34. package/dist/{types → api/types}/kit.d.ts +55 -7
  35. package/dist/{types → api/types}/planner.d.ts +4 -1
  36. package/dist/api/types/posthog.d.ts +18 -0
  37. package/dist/{types → api/types}/procore.d.ts +13 -10
  38. package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
  39. package/dist/{types → api/types}/project.d.ts +42 -3
  40. package/dist/{types → api/types}/recording.d.ts +2 -2
  41. package/dist/api/types/recycleBin.d.ts +14 -0
  42. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  43. package/dist/{types → api/types}/router.d.ts +19 -0
  44. package/dist/{types → api/types}/shared.d.ts +1 -6
  45. package/dist/api/types/siteAnalytics.d.ts +247 -0
  46. package/dist/{types → api/types}/snapshots.d.ts +9 -0
  47. package/dist/api/types/sso.d.ts +55 -0
  48. package/dist/{types → api/types}/streaming.d.ts +1 -2
  49. package/dist/{types → api/types}/time.d.ts +4 -0
  50. package/dist/{types → api/types}/user.d.ts +5 -6
  51. package/dist/api/types/videoWall.d.ts +66 -0
  52. package/dist/{types → api/types}/weather.d.ts +2 -0
  53. package/dist/{types → api/types}/widget.d.ts +27 -6
  54. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  55. package/dist/index.d.ts +2 -3
  56. package/dist/index.js +1209 -772
  57. package/dist/index.js.map +1 -1
  58. package/dist/index.umd.cjs +1 -1
  59. package/dist/index.umd.cjs.map +1 -1
  60. package/dist/shared/api/index.d.ts +3 -0
  61. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  62. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  63. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  64. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  65. package/dist/shared/types/components.d.ts +199 -0
  66. package/dist/shared/types/imagePlayer.d.ts +34 -0
  67. package/dist/shared/types/index.d.ts +4 -0
  68. package/dist/shared/types/timeline.d.ts +9 -0
  69. package/package.json +5 -4
  70. package/dist/api/3dFirebaseApi.d.ts +0 -10
  71. package/dist/api/ingestApi.d.ts +0 -67
  72. package/dist/api/videoWallApi.d.ts +0 -9
  73. package/dist/types/360.d.ts +0 -87
  74. package/dist/types/aconex.d.ts +0 -45
  75. package/dist/types/automation.d.ts +0 -6
  76. package/dist/types/siteAnalytics.d.ts +0 -141
  77. package/dist/types/videoWall.d.ts +0 -33
  78. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  79. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  80. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  81. /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
  82. /package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +0 -0
  83. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  84. /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
  85. /package/dist/{types → api/types}/autodesk.d.ts +0 -0
  86. /package/dist/{types → api/types}/bim.d.ts +0 -0
  87. /package/dist/{types → api/types}/compare.d.ts +0 -0
  88. /package/dist/{types → api/types}/connector.d.ts +0 -0
  89. /package/dist/{types → api/types}/copilot.d.ts +0 -0
  90. /package/dist/{types → api/types}/drone.d.ts +0 -0
  91. /package/dist/{types → api/types}/hdd.d.ts +0 -0
  92. /package/dist/{types → api/types}/map.d.ts +0 -0
  93. /package/dist/{types → api/types}/media.d.ts +0 -0
  94. /package/dist/{types → api/types}/notification.d.ts +0 -0
  95. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  96. /package/dist/{types → api/types}/roi.d.ts +0 -0
  97. /package/dist/{types → api/types}/shares.d.ts +0 -0
  98. /package/dist/{types → api/types}/sim.d.ts +0 -0
  99. /package/dist/{types → api/types}/storageServers.d.ts +0 -0
  100. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  101. /package/dist/{types → api/types}/tag.d.ts +0 -0
  102. /package/dist/{types → api/types}/timelapse.d.ts +0 -0
  103. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  104. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  105. /package/dist/{types → api/types}/xweather.d.ts +0 -0
@@ -0,0 +1,96 @@
1
+ import type { AxiosRequestConfig } from "axios";
2
+ import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
3
+ import { IngestVersions } from "@evercam/api/types";
4
+ export declare const getIngestApiUrl: (version: string) => string | undefined | null;
5
+ export declare const IngestApi: {
6
+ drone: {
7
+ createUpload(projectId: string, params: {
8
+ uploadedBy: string;
9
+ }): Promise<import("axios").AxiosResponse<any, any>>;
10
+ reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
11
+ getDrones(params: {
12
+ params: Partial<DronesQueryParams>;
13
+ }): Promise<import("axios").AxiosResponse<any, any>>;
14
+ getArchive(id: number, params: {
15
+ dataType: string;
16
+ }): Promise<import("axios").AxiosResponse<any, any>>;
17
+ deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
18
+ prepareForUpload(projectId: string, params: {
19
+ uploadedBy: string;
20
+ token: string;
21
+ }): Promise<import("axios").AxiosResponse<any, any>>;
22
+ upload(projectId: string, params: {
23
+ uploadedBy: string;
24
+ token: string;
25
+ }, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
26
+ verifyToken(projectId: string, params: {
27
+ token: string;
28
+ }): Promise<import("axios").AxiosResponse<any, any>>;
29
+ calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
30
+ inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
31
+ isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
32
+ getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
33
+ getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
34
+ checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
35
+ };
36
+ assets360: {
37
+ get360Assets(params: {
38
+ params: Partial<_360AssetsQueryParams>;
39
+ }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
40
+ get360AssetsCounts(projectId: string, params: {
41
+ uploadedBy: string;
42
+ }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
43
+ get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
44
+ update360(id: number, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
45
+ update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
46
+ deleteUpload(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
47
+ getArchive(id: number, params: {
48
+ dateType: string;
49
+ }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
50
+ createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
51
+ upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
52
+ reprocess360(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
53
+ drawingExists(payload: {
54
+ params: {
55
+ name: string;
56
+ project_id: string;
57
+ };
58
+ }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
59
+ getDrawings(payload: {
60
+ params: DrawingsRequestPayload;
61
+ config: AxiosRequestConfig;
62
+ }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
63
+ getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
64
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
65
+ deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
66
+ transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
67
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
68
+ fetchDrawingOverlay(id: number, params: {
69
+ view: boolean;
70
+ }, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
71
+ generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
72
+ get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<Record<string, any>>;
73
+ };
74
+ bim: {
75
+ createUpload(projectId: string, params: {
76
+ uploadedBy: string;
77
+ }): Promise<import("axios").AxiosResponse<any, any>>;
78
+ getBIMs(params: {
79
+ params: Partial<BimUploadsQueryParams>;
80
+ }): Promise<import("axios").AxiosResponse<any, any>>;
81
+ getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
82
+ deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
83
+ upload(projectId: string, params: {
84
+ id: string;
85
+ name: string;
86
+ }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
87
+ };
88
+ mobileCapture: {
89
+ getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
90
+ getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
91
+ deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
92
+ };
93
+ utils: {
94
+ loadAllAssetsInQueue(): Promise<any[]>;
95
+ };
96
+ };
@@ -21,6 +21,10 @@ export declare const PtzApi: {
21
21
  presetId: string | number;
22
22
  presetName: string;
23
23
  }): Promise<import("axios").AxiosResponse<any, any>>;
24
+ updateHome({ cameraExid, presetName, }: {
25
+ cameraExid: string;
26
+ presetName: string;
27
+ }): Promise<import("axios").AxiosResponse<any, any>>;
24
28
  delete({ cameraExid, presetId, }: {
25
29
  cameraExid: string;
26
30
  presetId: string | number;
@@ -0,0 +1,9 @@
1
+ import { type PaginatedItems } from "@evercam/shared/types";
2
+ import { VideoWall, ListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
3
+ export declare const VideoWallApi: {
4
+ list(params?: ListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
5
+ create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
6
+ get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
7
+ update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
8
+ delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
9
+ };
@@ -1,13 +1,3 @@
1
- export * from "./client";
2
- export * from "./adminApi";
3
- export * from "./videoWallApi";
4
- export * from "./3dFirebaseApi";
5
- export * from "./aiApi";
6
- export * from "./webRtcApi";
7
- export * from "./weatherApi";
8
- export * from "./evercamLabsApi";
9
- export * from "./evercamApi";
10
- export * from "./ptzApi";
11
- export * from "./ingestApi";
12
- export * from "./exNvrApi";
13
- export * from "./authzApi";
1
+ export * from "./api";
2
+ export * from "./types";
3
+ export * from "./utils";
@@ -0,0 +1,274 @@
1
+ import { DateType } from "@/types/time";
2
+ export type _360CameraParams = {
3
+ azimuthAngle: number;
4
+ polarAngle: number;
5
+ };
6
+ export type _360Vector3D = {
7
+ x: number;
8
+ y: number;
9
+ z: number;
10
+ };
11
+ export type _360Geolocation = {
12
+ latitude: number;
13
+ longitude: number;
14
+ };
15
+ export type _360CameraRotation = {
16
+ azimuthAngle: number;
17
+ polarAngle: number;
18
+ };
19
+ export type _360Marker3D = {
20
+ cameraPosition: _360Vector3D;
21
+ geolocation: _360Geolocation;
22
+ nextRoomId: _360MakerId;
23
+ position: _360Vector3D;
24
+ rotation: {
25
+ _order: "XYZ" | string;
26
+ _x: number;
27
+ _y: number;
28
+ _z: number;
29
+ isEuler: boolean;
30
+ };
31
+ };
32
+ export type _360Tag = {
33
+ id: string;
34
+ tagType: string;
35
+ comment: string;
36
+ creationDate: number;
37
+ currentRoom: _360MakerId;
38
+ position: _360Vector3D;
39
+ cameraRotation: _360CameraRotation;
40
+ };
41
+ export type _360FloorId = string | number;
42
+ export type _360Walk = Record<_360FloorId, _360Floor>;
43
+ export type _360MakerId = string;
44
+ export type _360Floor = {
45
+ _3DMarkers: _360Marker3D[];
46
+ cameraRotation: _360CameraRotation;
47
+ fbxModel: string;
48
+ initialMarker: _360MakerId;
49
+ modelViewerFeatureFlag: boolean;
50
+ route: {
51
+ cameraHeadingOffset: string;
52
+ overlayID: number;
53
+ track: string;
54
+ };
55
+ sceneScale: number;
56
+ steps: number;
57
+ tags: Record<string, _360Tag>;
58
+ };
59
+ export type _360WalkV2 = {
60
+ archive: string;
61
+ date: string;
62
+ deviceSerial: string | null;
63
+ endPosition: unknown | null;
64
+ floor: string;
65
+ floorId: number;
66
+ id: number;
67
+ images: string[];
68
+ insertedAt: string;
69
+ mobileAudios: string[];
70
+ mobileAudiosArchive: string;
71
+ mobilePhotos: string[];
72
+ mobilePhotosArchive: string;
73
+ model: string;
74
+ name: string;
75
+ processingStatus: string;
76
+ projectId: string;
77
+ report: string;
78
+ route: unknown | null;
79
+ startPosition: unknown | null;
80
+ tusLinks: unknown | null;
81
+ updatedAt: string;
82
+ uploadedBy: string;
83
+ videoArchive: string;
84
+ videos: string[];
85
+ };
86
+ export type _360FloorV2 = {
87
+ id: _360FloorId;
88
+ assets: _360WalkV2[];
89
+ projectId: string;
90
+ name: string;
91
+ mapStyle: string;
92
+ hasOverlay: boolean;
93
+ isCalibrated: boolean;
94
+ 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
+ };
113
+ insertedAt: string;
114
+ updatedAt: string;
115
+ };
116
+ export type _360Scene = {
117
+ date: string;
118
+ dateID: number;
119
+ floors: {
120
+ floorID: _360FloorId;
121
+ name: string;
122
+ }[];
123
+ polarAngle: number;
124
+ azimuthAngle: number;
125
+ };
126
+ export type _360SceneRoute = {
127
+ cameraHeadingOffset?: number;
128
+ overlayID?: number;
129
+ track?: string;
130
+ };
131
+ export type _360FullProject = {
132
+ dates: _360SceneWithFloors[];
133
+ integrationType: string;
134
+ projectId: string;
135
+ projectName: string;
136
+ providerID: string;
137
+ providerPrefix: string;
138
+ providerSuffix: string;
139
+ timeline: string;
140
+ uniqueId: string;
141
+ };
142
+ export type _360FullFloor = _360Floor & {
143
+ id: _360FloorId;
144
+ name: string;
145
+ };
146
+ export type _360SceneWithFloors = _360Scene & {
147
+ floors: _360FullFloor[];
148
+ };
149
+ export type _360ProjectJsonResponse = {
150
+ dates: _360Scene[];
151
+ [key: string]: any;
152
+ };
153
+ export type MobileCaptureSnapshot = {
154
+ id: string;
155
+ uploadedBy: string;
156
+ updatedAt: string;
157
+ assetType: string;
158
+ thumbnailUrl: string;
159
+ };
160
+ export declare enum _360UrlParams {
161
+ DateId = "date_id",
162
+ Date = "date",
163
+ Floor = "floor",
164
+ Marker = "marker",
165
+ PolarAngle = "polarAngle",
166
+ AzimuthAngle = "azimuthAngle"
167
+ }
168
+ export declare enum _360AssetType {
169
+ Video = "video",
170
+ Image = "image",
171
+ Model = "model",
172
+ Route = "route",
173
+ MobilePhoto = "mobile_photos",
174
+ MobileAudio = "mobile_audios"
175
+ }
176
+ export declare enum _360AssetLabel {
177
+ Walks = "walks",
178
+ MobilePhotos = "mobilePhotos"
179
+ }
180
+ export declare enum _360Feature {
181
+ BIM = "BIM",
182
+ Minimap = "Minimap",
183
+ Minimodel = "Minimodel"
184
+ }
185
+ export declare enum _360IntergrationType {
186
+ Evercam = "Evercam",
187
+ Matterport = "Matterport",
188
+ OpenSpace = "Openspace",
189
+ HoloBuilder = "Holobuilder",
190
+ DroneDeploy = "Dronedeploy"
191
+ }
192
+ export declare enum PathMarkerColor {
193
+ Start = "#00e74c",
194
+ End = "#fd7567",
195
+ Default = "#2196F3"
196
+ }
197
+ export type _360AssetsQueryParams = {
198
+ page: number;
199
+ limit: number;
200
+ projectID: string;
201
+ date: DateType;
202
+ floor: string;
203
+ id: string;
204
+ };
205
+ export type _360AssetsRequestPayload = {
206
+ projectId: string;
207
+ date: DateType;
208
+ floor: string;
209
+ uploadedBy?: string;
210
+ };
211
+ export type DrawingsRequestPayload = {
212
+ projectId?: string;
213
+ name?: string;
214
+ changedBy?: string;
215
+ mapStyle?: string;
216
+ startDate?: string;
217
+ endDate?: string;
218
+ id?: number;
219
+ page?: number;
220
+ limit?: number;
221
+ paginate?: boolean;
222
+ };
223
+ export type GenerateFloorPayload = {
224
+ overlay?: {
225
+ url: string;
226
+ title: string;
227
+ fileExtension: string;
228
+ };
229
+ changedBy: string;
230
+ name?: string;
231
+ mapStyle?: string;
232
+ overlayPositionCorners: {
233
+ northEast: {
234
+ lat: number;
235
+ lng: number;
236
+ };
237
+ northWest: {
238
+ lat: number;
239
+ lng: number;
240
+ };
241
+ southWest: {
242
+ lat: number;
243
+ lng: number;
244
+ };
245
+ southEast: {
246
+ lat: number;
247
+ lng: number;
248
+ };
249
+ };
250
+ };
251
+ export type _360QueueQueryParams = {
252
+ projectId?: string;
253
+ };
254
+ export type _360AssetsUploadPayload = {
255
+ targetPointsCount: number;
256
+ assetType: string;
257
+ upload: {
258
+ url: string;
259
+ title: string;
260
+ fileExtension: string;
261
+ }[];
262
+ deviceSerial: string;
263
+ startPosition: string;
264
+ endPosition: string;
265
+ isTimelapse: boolean;
266
+ isImagesOnly: boolean;
267
+ };
268
+ export type Generate360MapRequestPayload = {
269
+ dateId: string;
270
+ floorId: string;
271
+ cameraOffset: string;
272
+ startPoint: string;
273
+ endPoint: string;
274
+ };
@@ -0,0 +1,143 @@
1
+ export type AconexUserProjectsResponsePayload = Array<{
2
+ id: number;
3
+ name: string;
4
+ shortName: string;
5
+ startDate: string;
6
+ endDate: string;
7
+ active: boolean;
8
+ hidden: boolean;
9
+ }>;
10
+ export type AconexDocumentSchemaResponsePayload = Array<{
11
+ dataType: AconexDocumentDataType;
12
+ identifier: AconexIdentifiers;
13
+ fieldName: string;
14
+ modifiedFieldName?: string;
15
+ mandatoryStatus: AconexMandatoryStatus;
16
+ schemaValues?: Array<{
17
+ id: string;
18
+ value: string;
19
+ }>;
20
+ }>;
21
+ export type AconexDocumentTypeSchemaResponsePayload = Array<{
22
+ dataType: AconexDocumentDataType;
23
+ identifier: string;
24
+ fieldName: string;
25
+ modifiedFieldName?: string;
26
+ mandatoryStatus: string;
27
+ specifications?: Array<AconexFieldSpecification>;
28
+ }>;
29
+ export type AconexDocumentSchemaField = {
30
+ dataType: AconexDocumentDataType;
31
+ identifier: AconexIdentifiers | string;
32
+ schemaValues?: Array<{
33
+ id: string;
34
+ value: string;
35
+ }>;
36
+ fieldName: string;
37
+ modifiedFieldName?: string;
38
+ mandatoryStatus: AconexMandatoryStatus;
39
+ componentType?: AconexFormComponentType;
40
+ items?: Array<any>;
41
+ disabled?: boolean;
42
+ specifications?: Array<AconexFieldSpecification>;
43
+ };
44
+ export type AconexFormSchema = Record<AconexIdentifiers | string, AconexDocumentSchemaField>;
45
+ export type AconexFieldSpecification = {
46
+ name: string;
47
+ options: Array<string>;
48
+ };
49
+ export declare enum AconexDocumentDataType {
50
+ String = "STRING",
51
+ Boolean = "BOOLEAN",
52
+ Ratio = "RATIO",
53
+ Integer = "INTEGER",
54
+ Double = "DOUBLE",
55
+ Long = "LONG",
56
+ Date = "DATE",
57
+ Complex = "COMPLEX",
58
+ SingleLineText = "SINGLE_LINE_TEXT",
59
+ MultiLineText = "MULTI_LINE_TEXT",
60
+ SingleSelect = "SINGLE_SELECT",
61
+ MultiSelect = "MULTI_SELECT",
62
+ User = "USER",
63
+ Number = "NUMBER"
64
+ }
65
+ export declare enum AconexFormComponentType {
66
+ Select = "SelectField",
67
+ Text = "TextField",
68
+ DateTime = "DateTimeField",
69
+ Switch = "SwitchField"
70
+ }
71
+ export declare enum AconexMandatoryStatus {
72
+ Mandatory = "MANDATORY",
73
+ NotMandatory = "NOT_MANDATORY"
74
+ }
75
+ export type AconexAuthCallbackParams = {
76
+ code: string;
77
+ location: string;
78
+ };
79
+ export type AconexEditedImageUploadRequestPayload = {
80
+ projectExid: string;
81
+ snapshot: string;
82
+ };
83
+ export declare enum AconexIdentifiers {
84
+ DocumentNumber = "DocumentNumber",
85
+ DocumentTypeId = "DocumentTypeId",
86
+ Revision = "Revision",
87
+ HasFile = "HasFile",
88
+ AccessList = "AccessList",
89
+ AsBuiltRequired = "AsBuiltRequired",
90
+ Attribute1 = "Attribute1",
91
+ Attribute2 = "Attribute2",
92
+ Attribute3 = "Attribute3",
93
+ Attribute4 = "Attribute4",
94
+ Author = "Author",
95
+ AuthorisedBy = "AuthorisedBy",
96
+ Category = "Category",
97
+ Check1 = "Check1",
98
+ Check2 = "Check2",
99
+ Comments = "Comments",
100
+ Comments2 = "Comments2",
101
+ ContractNumber = "ContractNumber",
102
+ ContractDeliverable = "ContractDeliverable",
103
+ ContractorDocumentNumber = "ContractorDocumentNumber",
104
+ ContractorRev = "ContractorRev",
105
+ Date1 = "Date1",
106
+ Date2 = "Date2",
107
+ DateApproved = "DateApproved",
108
+ DateCreated = "DateCreated",
109
+ DateForReview = "DateForReview",
110
+ DateReviewed = "DateReviewed",
111
+ Discipline = "Discipline",
112
+ DocumentStatusId = "DocumentStatusId",
113
+ MilestoneDate = "MilestoneDate",
114
+ PackageNumber = "PackageNumber",
115
+ PercentageComplete = "PercentageComplete",
116
+ PlannedSubmissionDate = "PlannedSubmissionDate",
117
+ PrintSize = "PrintSize",
118
+ ProjectField1 = "ProjectField1",
119
+ ProjectField2 = "ProjectField2",
120
+ ProjectField3 = "ProjectField3",
121
+ Reference = "Reference",
122
+ RevisionDate = "RevisionDate",
123
+ Scale = "Scale",
124
+ SelectList1 = "SelectList1",
125
+ SelectList2 = "SelectList2",
126
+ SelectList3 = "SelectList3",
127
+ SelectList4 = "SelectList4",
128
+ SelectList5 = "SelectList5",
129
+ SelectList6 = "SelectList6",
130
+ SelectList7 = "SelectList7",
131
+ SelectList8 = "SelectList8",
132
+ SelectList9 = "SelectList9",
133
+ SelectList10 = "SelectList10",
134
+ TagNumber = "TagNumber",
135
+ Title = "Title",
136
+ ToClientDate = "ToClientDate",
137
+ UploadDate = "UploadDate",
138
+ UploadedBy = "UploadedBy",
139
+ Vdrcode = "Vdrcode",
140
+ VendorDocumentNumber = "VendorDocumentNumber",
141
+ VendorRev = "VendorRev",
142
+ AutoNumber = "AutoNumber"
143
+ }