@evercam/api 1.0.0-9633bd3c5 → 1.0.0-9670187dd

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 (149) hide show
  1. package/README.md +4 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +215 -0
  3. package/dist/api/api/adminApi.d.ts +387 -0
  4. package/dist/api/api/aiApi.d.ts +251 -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 +1 -1
  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 +360 -0
  12. package/dist/api/api/evercamLabsApi.d.ts +34 -0
  13. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  14. package/dist/api/api/index.d.ts +14 -0
  15. package/dist/api/api/ingestApi.d.ts +160 -0
  16. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  17. package/dist/api/api/videoWallApi.d.ts +9 -0
  18. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  19. package/dist/api/api/workflowsApi.d.ts +15 -0
  20. package/dist/api/index.d.ts +3 -13
  21. package/dist/api/types/360.d.ts +365 -0
  22. package/dist/api/types/aconex.d.ts +143 -0
  23. package/dist/api/types/admin.d.ts +51 -0
  24. package/dist/api/types/aiConfigs.d.ts +244 -0
  25. package/dist/{types → api/types}/analytics.d.ts +226 -65
  26. package/dist/{types → api/types}/anpr.d.ts +55 -13
  27. package/dist/{types → api/types}/auditLogs.d.ts +20 -5
  28. package/dist/api/types/authz.d.ts +132 -0
  29. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  30. package/dist/api/types/automation.d.ts +123 -0
  31. package/dist/{types → api/types}/axios.d.ts +32 -11
  32. package/dist/{types → api/types}/bim.d.ts +39 -10
  33. package/dist/{types → api/types}/camera.d.ts +141 -166
  34. package/dist/api/types/comments.d.ts +64 -0
  35. package/dist/api/types/company.d.ts +114 -0
  36. package/dist/{types → api/types}/compare.d.ts +21 -6
  37. package/dist/{types → api/types}/connector.d.ts +9 -5
  38. package/dist/api/types/coolify.d.ts +36 -0
  39. package/dist/{types → api/types}/countries.d.ts +0 -7
  40. package/dist/{types → api/types}/credentials.d.ts +1 -0
  41. package/dist/api/types/detections.d.ts +117 -0
  42. package/dist/api/types/drone.d.ts +106 -0
  43. package/dist/{types → api/types}/errors.d.ts +30 -1
  44. package/dist/{types → api/types}/gateReport.d.ts +49 -168
  45. package/dist/api/types/gateReportManagement.d.ts +170 -0
  46. package/dist/api/types/hammertech.d.ts +98 -0
  47. package/dist/{types → api/types}/hdd.d.ts +26 -1
  48. package/dist/{types → api/types}/index.d.ts +19 -4
  49. package/dist/api/types/ingest.d.ts +297 -0
  50. package/dist/{types → api/types}/kit.d.ts +124 -102
  51. package/dist/api/types/map.d.ts +16 -0
  52. package/dist/{types → api/types}/media.d.ts +9 -3
  53. package/dist/api/types/notification.d.ts +107 -0
  54. package/dist/api/types/oauth.d.ts +62 -0
  55. package/dist/api/types/observationEvents.d.ts +141 -0
  56. package/dist/api/types/observations.d.ts +84 -0
  57. package/dist/api/types/planner.d.ts +125 -0
  58. package/dist/api/types/posthog.d.ts +53 -0
  59. package/dist/api/types/procore.d.ts +229 -0
  60. package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
  61. package/dist/api/types/project.d.ts +259 -0
  62. package/dist/{types → api/types}/recording.d.ts +10 -16
  63. package/dist/api/types/recycleBin.d.ts +14 -0
  64. package/dist/api/types/ring.d.ts +53 -0
  65. package/dist/{types → api/types}/roi.d.ts +2 -9
  66. package/dist/{types → api/types}/routeParams.d.ts +5 -2
  67. package/dist/{types → api/types}/router.d.ts +20 -1
  68. package/dist/{types → api/types}/shared.d.ts +34 -30
  69. package/dist/api/types/shares.d.ts +45 -0
  70. package/dist/{types → api/types}/sim.d.ts +6 -6
  71. package/dist/api/types/siteAnalytics.d.ts +285 -0
  72. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  73. package/dist/api/types/siteView.d.ts +78 -0
  74. package/dist/api/types/smartSeach.d.ts +5 -0
  75. package/dist/api/types/snapshots.d.ts +104 -0
  76. package/dist/api/types/socket.d.ts +4 -0
  77. package/dist/api/types/sso.d.ts +55 -0
  78. package/dist/api/types/storageProvider.d.ts +19 -0
  79. package/dist/api/types/storyblok.d.ts +27 -0
  80. package/dist/{types → api/types}/streaming.d.ts +4 -25
  81. package/dist/{types → api/types}/tag.d.ts +1 -1
  82. package/dist/api/types/time.d.ts +7 -0
  83. package/dist/{types → api/types}/timelapse.d.ts +7 -11
  84. package/dist/{types → api/types}/user.d.ts +121 -40
  85. package/dist/api/types/videoWall.d.ts +66 -0
  86. package/dist/api/types/weather.d.ts +153 -0
  87. package/dist/{types → api/types}/widget.d.ts +96 -16
  88. package/dist/api/types/workflows.d.ts +108 -0
  89. package/dist/{types → api/types}/xweather.d.ts +4 -4
  90. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  91. package/dist/index.d.ts +2 -3
  92. package/dist/index.js +3051 -1083
  93. package/dist/index.js.map +1 -1
  94. package/dist/index.umd.cjs +1 -1
  95. package/dist/index.umd.cjs.map +1 -1
  96. package/dist/shared/api/index.d.ts +3 -0
  97. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  98. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  99. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  100. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  101. package/dist/shared/types/components.d.ts +501 -0
  102. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  103. package/dist/shared/types/droneUpload.d.ts +66 -0
  104. package/dist/shared/types/imagePlayer.d.ts +41 -0
  105. package/dist/shared/types/index.d.ts +9 -0
  106. package/dist/shared/types/observations.d.ts +25 -0
  107. package/dist/shared/types/rbac.d.ts +67 -0
  108. package/dist/shared/types/report.d.ts +101 -0
  109. package/dist/shared/types/timeline.d.ts +10 -0
  110. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  111. package/dist/shared/utils/datePresets.d.ts +31 -0
  112. package/package.json +7 -4
  113. package/dist/api/3dFirebaseApi.d.ts +0 -9
  114. package/dist/api/adminApi.d.ts +0 -308
  115. package/dist/api/aiApi.d.ts +0 -110
  116. package/dist/api/authzApi.d.ts +0 -21
  117. package/dist/api/evercamApi.d.ts +0 -271
  118. package/dist/api/evercamLabsApi.d.ts +0 -50
  119. package/dist/api/ingestApi.d.ts +0 -66
  120. package/dist/api/videoWallApi.d.ts +0 -9
  121. package/dist/types/360.d.ts +0 -83
  122. package/dist/types/aconex.d.ts +0 -45
  123. package/dist/types/automation.d.ts +0 -6
  124. package/dist/types/comments.d.ts +0 -36
  125. package/dist/types/company.d.ts +0 -46
  126. package/dist/types/coolify.d.ts +0 -18
  127. package/dist/types/copilot.d.ts +0 -157
  128. package/dist/types/detections.d.ts +0 -76
  129. package/dist/types/devices.d.ts +0 -228
  130. package/dist/types/drone.d.ts +0 -17
  131. package/dist/types/ingest.d.ts +0 -43
  132. package/dist/types/map.d.ts +0 -4
  133. package/dist/types/notification.d.ts +0 -27
  134. package/dist/types/planner.d.ts +0 -28
  135. package/dist/types/procore.d.ts +0 -76
  136. package/dist/types/project.d.ts +0 -123
  137. package/dist/types/shares.d.ts +0 -196
  138. package/dist/types/siteAnalytics.d.ts +0 -84
  139. package/dist/types/snapshots.d.ts +0 -50
  140. package/dist/types/storageServers.d.ts +0 -4
  141. package/dist/types/time.d.ts +0 -19
  142. package/dist/types/vendorModel.d.ts +0 -15
  143. package/dist/types/videoWall.d.ts +0 -33
  144. package/dist/types/weather.d.ts +0 -87
  145. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  146. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  147. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  148. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  149. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -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,365 @@
1
+ import { DateType } from "@evercam/api/types/time";
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;
8
+ };
9
+ export type ForgeViewport = {
10
+ name: string;
11
+ eye: number[];
12
+ target: number[];
13
+ worldUpVector?: number[];
14
+ };
15
+ export type ForgeView = {
16
+ name: string;
17
+ viewport: ForgeViewport;
18
+ timestamp: string;
19
+ };
20
+ export type _360CameraRotation = {
21
+ azimuthAngle: number;
22
+ polarAngle: number;
23
+ };
24
+ export type _360Geolocation = {
25
+ latitude: number;
26
+ longitude: number;
27
+ };
28
+ export type _360Marker3D = {
29
+ cameraPosition: Point3D;
30
+ geolocation: _360Geolocation;
31
+ nextRoomId: _360MakerId;
32
+ position: Point3D;
33
+ rotation: {
34
+ _order: "XYZ" | string;
35
+ _x: number;
36
+ _y: number;
37
+ _z: number;
38
+ isEuler: boolean;
39
+ };
40
+ };
41
+ export type _360Tag = {
42
+ id: string;
43
+ tagType: string;
44
+ comment: string;
45
+ creationDate: number;
46
+ currentRoom: _360MakerId;
47
+ position: Point3D;
48
+ cameraRotation: _360CameraRotation;
49
+ };
50
+ export type _360FloorId = string | number;
51
+ export type _360Walk = Record<_360FloorId, _360Floor>;
52
+ export type _360MakerId = string;
53
+ export type _360Floor = {
54
+ _3DMarkers: _360Marker3D[];
55
+ cameraRotation: _360CameraRotation;
56
+ fbxModel: string;
57
+ fbxModelHQ?: string;
58
+ pointCloudModelHQ?: string;
59
+ initialMarker: _360MakerId;
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>;
68
+ route: {
69
+ cameraHeadingOffset: string;
70
+ overlayID: number;
71
+ track: string;
72
+ };
73
+ sceneScale: number;
74
+ steps: number;
75
+ tags?: Record<string, _360Tag>;
76
+ };
77
+ export type _360WalkV2 = {
78
+ archive: string;
79
+ date: string;
80
+ deviceSerial: string | null;
81
+ endPosition: string | null;
82
+ floor: string;
83
+ floorId: number;
84
+ id: number;
85
+ images: string[];
86
+ insertedAt: string;
87
+ mobileAudios: string[];
88
+ mobileAudiosArchive: string;
89
+ mobilePhotos: string[];
90
+ mobilePhotosArchive: string;
91
+ model: string;
92
+ name: string;
93
+ processingStatus: string;
94
+ projectId: string;
95
+ report: string;
96
+ processingLog: string;
97
+ hasSteps?: boolean;
98
+ route: unknown | null;
99
+ startPosition: string | null;
100
+ tusLinks: unknown | null;
101
+ updatedAt: string;
102
+ uploadedBy: string;
103
+ videoArchive: string;
104
+ videos: string[];
105
+ };
106
+ export type _360FloorV2 = {
107
+ id: _360FloorId;
108
+ assets: _360WalkV2[];
109
+ projectId: string;
110
+ name: string;
111
+ mapStyle: string;
112
+ hasOverlay: boolean;
113
+ isCalibrated: boolean;
114
+ createdBy: string | null;
115
+ overlayPosition: _360OverlayPosition;
116
+ insertedAt: string;
117
+ updatedAt: string;
118
+ deletedAt: string | null;
119
+ };
120
+ export type _360Scene = {
121
+ date: string;
122
+ dateID: string | number;
123
+ floors: {
124
+ floorID: _360FloorId;
125
+ name: string;
126
+ isValidated?: boolean;
127
+ }[];
128
+ polarAngle: number;
129
+ azimuthAngle: number;
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
+ };
143
+ export type _360SceneRoute = {
144
+ cameraHeadingOffset?: number;
145
+ overlayID?: number;
146
+ track?: string;
147
+ };
148
+ export type _360ProjectListItem = {
149
+ integrationType: string;
150
+ projectId: string;
151
+ projectName: string;
152
+ providerID: string;
153
+ providerPrefix: string;
154
+ providerSuffix: string;
155
+ timeline: string;
156
+ uniqueId: string;
157
+ requiresValidation?: boolean;
158
+ };
159
+ export type _360ProjectJsonResponse = {
160
+ dates: _360Scene[];
161
+ [key: string]: any;
162
+ };
163
+ export type MobileCaptureSnapshot = {
164
+ id: string | number;
165
+ projectId?: string;
166
+ uploadedBy: string;
167
+ updatedAt: string;
168
+ assetType: string;
169
+ thumbnailUrl: string;
170
+ };
171
+ export declare enum _360UrlParams {
172
+ DateId = "dateId",
173
+ Date = "date",
174
+ Floor = "floor",
175
+ Marker = "marker",
176
+ PolarAngle = "polarAngle",
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"
191
+ }
192
+ export declare enum _360AssetType {
193
+ Video = "video",
194
+ Image = "image",
195
+ Model = "model",
196
+ Route = "route",
197
+ MobilePhoto = "mobile_photos",
198
+ MobileAudio = "mobile_audios"
199
+ }
200
+ export declare enum _360AssetLabel {
201
+ Walks = "walks",
202
+ MobilePhotos = "mobilePhotos"
203
+ }
204
+ export declare enum _360IntergrationType {
205
+ Evercam = "Evercam",
206
+ Matterport = "Matterport",
207
+ OpenSpace = "Openspace",
208
+ HoloBuilder = "Holobuilder",
209
+ DroneDeploy = "Dronedeploy"
210
+ }
211
+ export declare enum PathMarkerColor {
212
+ Start = "#00e74c",
213
+ End = "#fd7567",
214
+ Anchor = "#ffb300",
215
+ Default = "#2196F3"
216
+ }
217
+ export type _360AssetsQueryParams = PaginationParams & {
218
+ projectId: string;
219
+ date: DateType;
220
+ floor: string;
221
+ name: string;
222
+ id: string;
223
+ };
224
+ export type _360AssetsRequestPayload = {
225
+ projectId: string;
226
+ date: DateType;
227
+ floor: string;
228
+ uploadedBy?: string;
229
+ };
230
+ export type DrawingsRequestPayload = PaginationParams & {
231
+ projectId?: string;
232
+ name?: string;
233
+ changedBy?: string;
234
+ mapStyle?: string;
235
+ startDate?: string;
236
+ endDate?: string;
237
+ id?: number;
238
+ paginate?: boolean;
239
+ withAsset?: boolean;
240
+ includeDeleted?: boolean;
241
+ };
242
+ export type GenerateFloorPayload = {
243
+ overlay?: {
244
+ url: string;
245
+ title: string;
246
+ fileExtension: string;
247
+ };
248
+ changedBy: string;
249
+ name?: string;
250
+ mapStyle?: string;
251
+ overlayPositionCorners: _360OverlayPosition;
252
+ };
253
+ export type _360QueueQueryParams = {
254
+ projectId?: string;
255
+ };
256
+ export type _360AssetsUploadPayload = {
257
+ targetPointsCount: number;
258
+ assetType: string;
259
+ upload: {
260
+ url: string;
261
+ title: string;
262
+ fileExtension: string;
263
+ }[];
264
+ deviceSerial?: string;
265
+ startPosition?: string;
266
+ endPosition?: string;
267
+ isTimelapse?: boolean;
268
+ isImagesOnly?: boolean;
269
+ };
270
+ export type Generate360MapRequestPayload = {
271
+ dateId: string | number;
272
+ floorId: string;
273
+ cameraOffset: string | number;
274
+ startPoint: string;
275
+ endPoint: string;
276
+ drawingId?: number;
277
+ markers?: Array<{
278
+ position: {
279
+ x: number;
280
+ y: number;
281
+ z: number;
282
+ };
283
+ }>;
284
+ startPointIndex?: number;
285
+ endPointIndex?: number;
286
+ };
287
+ export declare enum EModelsType {
288
+ FBX = "FBX",
289
+ PointCloud = "PLY"
290
+ }
291
+ export type _360FloorRef = {
292
+ projectID: string;
293
+ dateID: string | number;
294
+ floorID: _360FloorId;
295
+ };
296
+ export type _360Vector3 = {
297
+ x: number;
298
+ y: number;
299
+ z: number;
300
+ };
301
+ export type _360MarkerData = {
302
+ cameraPosition: _360Vector3;
303
+ nextRoomId: string;
304
+ position: _360Vector3;
305
+ geolocation?: {
306
+ latitude: number;
307
+ longitude: number;
308
+ };
309
+ rotation: {
310
+ _order: string;
311
+ _x: number;
312
+ _y: number;
313
+ _z: number;
314
+ isEuler: boolean;
315
+ x?: number;
316
+ y?: number;
317
+ z?: number;
318
+ };
319
+ };
320
+ export type _360Route = {
321
+ overlayID?: number;
322
+ track?: string;
323
+ cameraHeadingOffset?: number;
324
+ };
325
+ export type _360CalibrationDetails = {
326
+ baseOriginOf360Viewer?: _360Vector3;
327
+ baseOriginOfForgeViewer?: _360Vector3;
328
+ rotationMatrix?: {
329
+ elements: number[];
330
+ };
331
+ scaleMatrix?: {
332
+ elements: number[];
333
+ };
334
+ };
335
+ export type _360FloorData = {
336
+ _3DMarkers: _360MarkerData[];
337
+ fbxModel: string | null;
338
+ fbxModelHQ: string | null;
339
+ pointCloudModelHQ: string | null;
340
+ initialMarker: string;
341
+ cameraRotation: _360CameraRotation;
342
+ steps: number;
343
+ route: _360Route | null;
344
+ sceneScale: number;
345
+ modelViewerFeatureFlag: boolean;
346
+ imagesOnlyFeatureFlag: boolean;
347
+ forgeBIMFeatureFlag: boolean;
348
+ isForgeGravityEnabled: boolean;
349
+ bimHeight?: number | null;
350
+ initialForgeView: ForgeView | null;
351
+ calibrationDetails: _360CalibrationDetails;
352
+ enhancedLightFeatureFlag: boolean;
353
+ };
354
+ export type _360PinData = {
355
+ position: _360Vector3;
356
+ pinType: string;
357
+ name: string;
358
+ pinId?: string;
359
+ cameraExid?: string;
360
+ currentRoom?: string;
361
+ cameraRotation?: {
362
+ polarAngle: number;
363
+ azimuthAngle: number;
364
+ };
365
+ };
@@ -0,0 +1,143 @@
1
+ export type AconexUserProject = {
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 AconexDocumentSchema = {
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 AconexDocumentTypeSchema = {
22
+ dataType: AconexDocumentDataType;
23
+ identifier: AconexIdentifiers;
24
+ fieldName: string;
25
+ modifiedFieldName?: string;
26
+ mandatoryStatus: AconexMandatoryStatus;
27
+ specifications?: Array<AconexFieldSpecification>;
28
+ };
29
+ export type AconexDocumentSchemaField = {
30
+ dataType: AconexDocumentDataType;
31
+ identifier: AconexIdentifiers;
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
+ }
@@ -0,0 +1,51 @@
1
+ import type { JsonObject } from "@evercam/api/types";
2
+ export type WithZohoParams = {
3
+ with_zoho?: boolean;
4
+ };
5
+ export type AdminSearchProjectItem = {
6
+ id: number;
7
+ name: string;
8
+ status: string;
9
+ exid: string;
10
+ featureFlags: string[];
11
+ };
12
+ export type AdminSearchItem = AdminSearchProjectItem | JsonObject;
13
+ export type AdminInviteRole = {
14
+ id: number;
15
+ name: string;
16
+ resourceType: string;
17
+ };
18
+ export type AdminInviteAssigner = {
19
+ id: number;
20
+ email: string;
21
+ fullname: string;
22
+ };
23
+ export type AdminInviteAuthContextSubRole = {
24
+ resourceId: string;
25
+ roleId: number;
26
+ };
27
+ export type AdminInviteAuthContext = {
28
+ permissions: string[] | null;
29
+ subRoles: AdminInviteAuthContextSubRole[];
30
+ hasOverride: boolean;
31
+ };
32
+ export type AdminInvite = {
33
+ id: number;
34
+ message: string | null;
35
+ status: number;
36
+ email: string;
37
+ key: string;
38
+ updatedAt: string;
39
+ role: AdminInviteRole;
40
+ createdAt: string;
41
+ resourceId: string;
42
+ assigner: AdminInviteAssigner;
43
+ sentCount: number;
44
+ lastSentAt: string | null;
45
+ authContext: AdminInviteAuthContext;
46
+ statusName: string;
47
+ };
48
+ export type ZohoDeskTicketSearchResponse = {
49
+ data: JsonObject[];
50
+ count: number;
51
+ };