@evercam/api 1.0.0-ab8186b16 → 1.0.0-abf5647b9

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