@evercam/api 1.0.0-85ac1f348 → 1.0.0-8906d0c61

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 (126) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +178 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +127 -63
  4. package/dist/api/api/aiApi.d.ts +128 -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/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} +140 -97
  10. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -4
  11. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  12. package/dist/api/api/index.d.ts +13 -0
  13. package/dist/api/api/ingestApi.d.ts +148 -0
  14. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  15. package/dist/api/api/videoWallApi.d.ts +9 -0
  16. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  17. package/dist/api/index.d.ts +3 -13
  18. package/dist/api/types/360.d.ts +281 -0
  19. package/dist/api/types/aconex.d.ts +143 -0
  20. package/dist/api/types/admin.d.ts +51 -0
  21. package/dist/{types → api/types}/analytics.d.ts +169 -40
  22. package/dist/{types → api/types}/anpr.d.ts +26 -13
  23. package/dist/{types → api/types}/auditLogs.d.ts +19 -1
  24. package/dist/api/types/authz.d.ts +61 -0
  25. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  26. package/dist/api/types/automation.d.ts +95 -0
  27. package/dist/{types → api/types}/axios.d.ts +23 -2
  28. package/dist/{types → api/types}/bim.d.ts +11 -5
  29. package/dist/{types → api/types}/camera.d.ts +110 -94
  30. package/dist/{types → api/types}/comments.d.ts +24 -10
  31. package/dist/api/types/company.d.ts +115 -0
  32. package/dist/{types → api/types}/compare.d.ts +20 -5
  33. package/dist/{types → api/types}/connector.d.ts +3 -5
  34. package/dist/api/types/coolify.d.ts +36 -0
  35. package/dist/{types → api/types}/copilot.d.ts +11 -6
  36. package/dist/{types → api/types}/countries.d.ts +0 -7
  37. package/dist/{types → api/types}/credentials.d.ts +1 -0
  38. package/dist/{types → api/types}/detections.d.ts +21 -33
  39. package/dist/api/types/drone.d.ts +106 -0
  40. package/dist/{types → api/types}/errors.d.ts +1 -0
  41. package/dist/{types → api/types}/gateReport.d.ts +49 -158
  42. package/dist/{types → api/types}/hdd.d.ts +26 -1
  43. package/dist/{types → api/types}/index.d.ts +11 -1
  44. package/dist/api/types/ingest.d.ts +147 -0
  45. package/dist/{types → api/types}/kit.d.ts +64 -9
  46. package/dist/api/types/map.d.ts +16 -0
  47. package/dist/{types → api/types}/media.d.ts +2 -1
  48. package/dist/api/types/notification.d.ts +57 -0
  49. package/dist/api/types/oauth.d.ts +62 -0
  50. package/dist/api/types/planner.d.ts +132 -0
  51. package/dist/api/types/posthog.d.ts +33 -0
  52. package/dist/{types → api/types}/procore.d.ts +26 -16
  53. package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
  54. package/dist/api/types/project.d.ts +247 -0
  55. package/dist/{types → api/types}/recording.d.ts +6 -5
  56. package/dist/api/types/recycleBin.d.ts +14 -0
  57. package/dist/api/types/ring.d.ts +53 -0
  58. package/dist/{types → api/types}/roi.d.ts +2 -2
  59. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  60. package/dist/{types → api/types}/router.d.ts +20 -1
  61. package/dist/{types → api/types}/shared.d.ts +31 -10
  62. package/dist/api/types/shares.d.ts +58 -0
  63. package/dist/{types → api/types}/sim.d.ts +6 -6
  64. package/dist/api/types/siteAnalytics.d.ts +287 -0
  65. package/dist/api/types/siteView.d.ts +74 -0
  66. package/dist/api/types/smartSeach.d.ts +5 -0
  67. package/dist/{types → api/types}/snapshots.d.ts +42 -1
  68. package/dist/api/types/sso.d.ts +55 -0
  69. package/dist/api/types/storageProvider.d.ts +19 -0
  70. package/dist/api/types/storyblok.d.ts +40 -0
  71. package/dist/{types → api/types}/streaming.d.ts +4 -5
  72. package/dist/{types → api/types}/tag.d.ts +1 -1
  73. package/dist/api/types/time.d.ts +7 -0
  74. package/dist/{types → api/types}/timelapse.d.ts +8 -5
  75. package/dist/{types → api/types}/user.d.ts +105 -36
  76. package/dist/api/types/videoWall.d.ts +66 -0
  77. package/dist/api/types/weather.d.ts +153 -0
  78. package/dist/{types → api/types}/widget.d.ts +96 -16
  79. package/dist/{types → api/types}/xweather.d.ts +4 -4
  80. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  81. package/dist/index.d.ts +2 -3
  82. package/dist/index.js +1998 -959
  83. package/dist/index.js.map +1 -1
  84. package/dist/index.umd.cjs +1 -1
  85. package/dist/index.umd.cjs.map +1 -1
  86. package/dist/shared/api/index.d.ts +3 -0
  87. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  88. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  89. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  90. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  91. package/dist/shared/types/components.d.ts +312 -0
  92. package/dist/shared/types/imagePlayer.d.ts +41 -0
  93. package/dist/shared/types/index.d.ts +5 -0
  94. package/dist/shared/types/rbac.d.ts +67 -0
  95. package/dist/shared/types/timeline.d.ts +10 -0
  96. package/package.json +5 -4
  97. package/dist/api/3dFirebaseApi.d.ts +0 -10
  98. package/dist/api/aiApi.d.ts +0 -138
  99. package/dist/api/authzApi.d.ts +0 -21
  100. package/dist/api/ingestApi.d.ts +0 -67
  101. package/dist/api/videoWallApi.d.ts +0 -9
  102. package/dist/types/360.d.ts +0 -87
  103. package/dist/types/aconex.d.ts +0 -45
  104. package/dist/types/automation.d.ts +0 -6
  105. package/dist/types/company.d.ts +0 -46
  106. package/dist/types/coolify.d.ts +0 -18
  107. package/dist/types/drone.d.ts +0 -17
  108. package/dist/types/ingest.d.ts +0 -43
  109. package/dist/types/map.d.ts +0 -4
  110. package/dist/types/notification.d.ts +0 -27
  111. package/dist/types/planner.d.ts +0 -28
  112. package/dist/types/project.d.ts +0 -127
  113. package/dist/types/shares.d.ts +0 -196
  114. package/dist/types/siteAnalytics.d.ts +0 -141
  115. package/dist/types/storageServers.d.ts +0 -4
  116. package/dist/types/time.d.ts +0 -21
  117. package/dist/types/videoWall.d.ts +0 -33
  118. package/dist/types/weather.d.ts +0 -87
  119. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  120. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  121. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  122. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  123. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  124. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  125. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  126. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -1,138 +0,0 @@
1
- import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadTypes, SmartSearchQuery, Schedule } from "@evercam/api/types";
2
- import type { AxiosPromise, AxiosRequestConfig } from "axios";
3
- import { CreateCoolifyAppRequestPayload, SaveCoolifyAppRequestPayload } from "@/types/coolify";
4
- export declare const getAiApiUrl: () => string | null | undefined;
5
- export declare const AiApi: {
6
- analyticsParameters: {
7
- getParameters(cameraId: CameraExid, params?: Record<string, unknown>): Promise<AnalyticsParameters>;
8
- createParameters(params: Omit<AnalyticsParameters, "id">): Promise<AnalyticsParameters>;
9
- updateParameters({ updatedBy, id, ...payload }: Partial<AnalyticsParameters> & {
10
- updatedBy: string;
11
- }): Promise<AnalyticsParameters>;
12
- };
13
- anpr: {
14
- exportAnprLegacyEvents(projectExid: ProjectExid, params: AnprQueryParams): AxiosPromise<any>;
15
- getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams): Promise<PaginatedItems<AnprEvent>>;
16
- getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams): Promise<AnprCount[]>;
17
- updateAnprEvent(anprEventId: string, eventBody: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
18
- bulkUpdateAnprRecords(anprEventsIds: number[], action: "is_plate" | "not_plate" | "is_duplicate" | "not_duplicate"): Promise<import("axios").AxiosResponse<any, any>>;
19
- exportAnprEvents(projectExid: string, params: AnprBasedGateReportExportRequestParams): AxiosPromise<string>;
20
- };
21
- gateReport: {
22
- getLastVerified(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
23
- deleteEvent(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
24
- dismissEvents(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
25
- exportEvents(projectExid: string, params: EventsExportRequestParameters): AxiosPromise<any>;
26
- exportEventsProgress(projectExid: string, params: {
27
- exportDate: string;
28
- }): Promise<import("axios").AxiosResponse<any, any>>;
29
- generateAnprThumbnail(cameraExid: CameraExid, captureTime: DateTime): Promise<import("axios").AxiosResponse<any, any>>;
30
- getAllEvents(projectExid: ProjectExid, params: EventsRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventsResponsePayload>;
31
- getEventCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
32
- getVerifiedDays(projectExid: ProjectExid, params: Partial<VerifiedDaysQueryParams>, extraParams?: {}): Promise<PaginatedItems<GateReportVerifiedDay>>;
33
- updateEventById(eventId: number, { updatedBy, payload, }: {
34
- updatedBy: string;
35
- payload: Partial<EventUpdateRequestPayload>;
36
- }): Promise<import("axios").AxiosResponse<any, any>>;
37
- verifyDay(params: VerifyDayUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
38
- regenerateThumbnail(id: number, params: {
39
- cameraExid: string;
40
- }): Promise<import("axios").AxiosResponse<any, any>>;
41
- getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<import("axios").AxiosResponse<any, any>>;
42
- getEventThumbnail({ cameraExid, eventType, eventTime, token, }: {
43
- cameraExid: string;
44
- eventType: GateReportEventType;
45
- eventTime: DateTime;
46
- token: string;
47
- }): string;
48
- getEventSnapshot({ cameraExid, eventType, eventTime, token, }: {
49
- cameraExid: string;
50
- eventType: GateReportEventType;
51
- eventTime: DateTime;
52
- token: string;
53
- }): string;
54
- getEvents(projectExid: ProjectExid, params: GatReportRequestPayload, extraParams?: AxiosRequestConfig): Promise<GateReportResponsePayload>;
55
- getCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
56
- getGateReportApplications(projectExid: string, anprCameraExid: string): Promise<import("axios").AxiosResponse<any, any>>;
57
- getGateReportProjectsInfos(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
58
- };
59
- brainTool: {
60
- getObjectDetectionsResults(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
61
- getSegments(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
62
- getDepth(cameraExid: string, timestamp: string): Promise<import("axios").AxiosResponse<any, any>>;
63
- };
64
- roi: {
65
- getROIs(projectExid: string, params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
66
- createROI(params: GateReportROICreateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
67
- updateROI({ updatedBy, roi, }: {
68
- updatedBy: string;
69
- roi: GateReportROICreateRequestPayload;
70
- }): Promise<import("axios").AxiosResponse<any, any>>;
71
- deleteROI({ id, updatedBy }: {
72
- id: number;
73
- updatedBy: string;
74
- }): Promise<import("axios").AxiosResponse<any, any>>;
75
- };
76
- detections: {
77
- getDetections({ projectExid, ...params }: DetectionsRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
78
- getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams): Promise<DetectionsCountsByPeriod>;
79
- getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams): Promise<PaginatedItems<DetectionsGroup>>;
80
- getSimilarSegmentsInTimeIntervals({ cameraExid, iouThreshold, ...params }: SegmentsSimilaritySearchParams): Promise<import("axios").AxiosResponse<any, any>>;
81
- getDetectionsTracking(projectExid: ProjectExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
82
- getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<SegmentsByLabel>;
83
- getDetectionsPresenceDateIntervals({ projectExid, ...params }: DetectionsCountsParams): Promise<DetectionsPresenceByLabel>;
84
- requestExport({ projectExid, ...params }: DetectionsExportRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
85
- };
86
- siteAnalytics: {
87
- smartSearch({ cameraExid, payload, fromDate, toDate, page, pageSize, }: {
88
- cameraExid: CameraExid;
89
- payload: Record<string, unknown>;
90
- fromDate?: string;
91
- toDate?: string;
92
- page?: number;
93
- pageSize?: number;
94
- }): Promise<import("axios").AxiosResponse<any, any>>;
95
- saveQuery(payload: SmartSearchQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
96
- getQueries(cameraExid: CameraExid, params: {
97
- name?: string;
98
- }): Promise<SavedQuery[]>;
99
- getQueryById(cameraExid: CameraExid, queryId: number): Promise<SmartSearchQueryParams>;
100
- updateQuery(cameraExid: CameraExid, queryId: number, payload: Partial<SavedQuery>): Promise<import("axios").AxiosResponse<any, any>>;
101
- deleteQuery(cameraExid: CameraExid, queryId: number): Promise<import("axios").AxiosResponse<any, any>>;
102
- getProcessedTimes(cameraExid: CameraExid, granularity?: "day" | "hour", startDate?: DateType, endDate?: DateType): Promise<string[]>;
103
- exportResultsData({ cameraExid, fromDate, toDate, query, fileType, directDownload, payload, }: {
104
- cameraExid: CameraExid;
105
- fromDate?: DateType;
106
- toDate?: DateType;
107
- query: string;
108
- fileType: DownloadTypes;
109
- directDownload?: boolean;
110
- payload: {
111
- req: SmartSearchQuery;
112
- timeSchedule?: Schedule;
113
- columns?: string[];
114
- };
115
- }): Promise<import("axios").AxiosResponse<any, any>>;
116
- };
117
- coolify: {
118
- getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
119
- createAppOnCoolify(payload: CreateCoolifyAppRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
120
- saveAppOnCoolify(projectExid: string, cameraExid: string, payload: SaveCoolifyAppRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
121
- updateApp({ appUuid, appId, payload, cameraExid, projectExid, }: {
122
- projectExid: string;
123
- cameraExid: string;
124
- appId: string;
125
- appUuid: string;
126
- payload: Partial<SaveCoolifyAppRequestPayload>;
127
- }): Promise<import("axios").AxiosResponse<any, any>>;
128
- deleteApp({ appUuid, appId, cameraExid, projectExid, }: {
129
- projectExid: string;
130
- cameraExid: string;
131
- appId: string;
132
- appUuid: string;
133
- }): Promise<import("axios").AxiosResponse<any, any>>;
134
- startService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
135
- pauseService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
136
- restartService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
137
- };
138
- };
@@ -1,21 +0,0 @@
1
- export declare const AuthzApi: {
2
- roles: {
3
- get(params: any): Promise<import("axios").AxiosResponse<any, any>>;
4
- getRoleDetails(id: number): Promise<import("axios").AxiosResponse<any, any>>;
5
- createRole(params: any): Promise<import("axios").AxiosResponse<any, any>>;
6
- updateRole(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
7
- deleteRole(id: number): Promise<import("axios").AxiosResponse<any, any>>;
8
- addPermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
9
- deletePermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
10
- getRoleUsers(id: number): Promise<import("axios").AxiosResponse<any, any>>;
11
- assignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
12
- unassignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
13
- getUserRoles(): Promise<import("axios").AxiosResponse<any, any>>;
14
- };
15
- scopes: {
16
- get(): Promise<import("axios").AxiosResponse<any, any>>;
17
- create(params: any): Promise<import("axios").AxiosResponse<any, any>>;
18
- delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
19
- update(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
20
- };
21
- };
@@ -1,67 +0,0 @@
1
- import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
2
- export declare const IngestApi: {
3
- drone: {
4
- createUpload(projectId: string, params: {
5
- uploadedBy: string;
6
- }): Promise<import("axios").AxiosResponse<any, any>>;
7
- reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
8
- getDrones(params: {
9
- params: Partial<DronesQueryParams>;
10
- }): Promise<import("axios").AxiosResponse<any, any>>;
11
- getArchive(id: number, params: {
12
- dataType: string;
13
- }): Promise<import("axios").AxiosResponse<any, any>>;
14
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
15
- prepareForUpload(projectId: string, params: {
16
- uploadedBy: string;
17
- token: string;
18
- }): Promise<import("axios").AxiosResponse<any, any>>;
19
- upload(projectId: string, params: {
20
- uploadedBy: string;
21
- token: string;
22
- }, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
23
- verifyToken(projectId: string, params: {
24
- token: string;
25
- }): Promise<import("axios").AxiosResponse<any, any>>;
26
- calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
27
- inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
28
- isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
29
- getDroneQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
30
- getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
31
- checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
32
- };
33
- assets360: {
34
- get360Assets(params: {
35
- params: Partial<_360AssetsQueryParams>;
36
- }): Promise<import("axios").AxiosResponse<any, any>>;
37
- get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
38
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
39
- getArchive(id: number, params: {
40
- dateType: string;
41
- }): Promise<import("axios").AxiosResponse<any, any>>;
42
- createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
43
- upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
44
- generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
45
- get360QueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
46
- };
47
- bim: {
48
- createUpload(projectId: string, params: {
49
- uploadedBy: string;
50
- }): Promise<import("axios").AxiosResponse<any, any>>;
51
- getBIMs(params: {
52
- params: Partial<BimUploadsQueryParams>;
53
- }): Promise<import("axios").AxiosResponse<any, any>>;
54
- getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
55
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
56
- upload(projectId: string, params: {
57
- id: string;
58
- name: string;
59
- }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
60
- };
61
- mobileCapture: {
62
- getProjectMobileAssets(params: Record<string, unknown>): Promise<MobileCaptureSnapshot[]>;
63
- getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
64
- };
65
- getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
66
- loadAllAssetsInQueue(): Promise<any[]>;
67
- };
@@ -1,9 +0,0 @@
1
- import { VideoWallPreset } from "@evercam/api/types";
2
- export declare const VideoWallApi: {
3
- presets: {
4
- getProjectPresets(email: string, projectId: number): Promise<import("axios").AxiosResponse<any, any>>;
5
- saveProjectPreset(email: string, projectId: string, payload: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
6
- getGlobalPreset(email: string): Promise<VideoWallPreset>;
7
- saveGlobalPreset(email: string, payload: VideoWallPreset): Promise<void>;
8
- };
9
- };
@@ -1,87 +0,0 @@
1
- import { DateType } from "@/types/time";
2
- export type _360CameraParams = {
3
- azimuthAngle: number;
4
- polarAngle: number;
5
- };
6
- export type _360Floor = {
7
- floorID: string;
8
- name: string;
9
- };
10
- export type _360Scene = {
11
- date: string;
12
- dateID: string;
13
- floors: _360Floor[];
14
- polarAngle: number;
15
- azimuthAngle: number;
16
- };
17
- export type _360ProjectJsonResponse = {
18
- dates: _360Scene[];
19
- [key: string]: any;
20
- };
21
- export type MobileCaptureSnapshot = {
22
- id: string;
23
- uploadedBy: string;
24
- updatedAt: string;
25
- assetType: string;
26
- thumbnailUrl: string;
27
- };
28
- export declare enum _360UrlParams {
29
- DateId = "date_id",
30
- Floor = "floor",
31
- Marker = "marker",
32
- PolarAngle = "polarAngle",
33
- AzimuthAngle = "azimuthAngle"
34
- }
35
- export declare enum _360AssetType {
36
- Video = "video",
37
- Image = "image",
38
- Model = "model",
39
- Route = "route",
40
- MobilePhoto = "mobile_photos",
41
- MobileAudio = "mobile_audios"
42
- }
43
- export declare enum _360Feature {
44
- Minimap = "Minimap",
45
- BIM = "BIM"
46
- }
47
- export declare enum _360IntergrationType {
48
- Evercam = "Evercam",
49
- Matterport = "Matterport",
50
- OpenSpace = "Openspace",
51
- HoloBuilder = "Holobuilder",
52
- DroneDeploy = "Dronedeploy"
53
- }
54
- export type _360AssetsQueryParams = {
55
- page: number;
56
- limit: number;
57
- projectID: string;
58
- date: DateType;
59
- floor: string;
60
- id: string;
61
- };
62
- export type _360AssetsRequestPayload = {
63
- projectId: string;
64
- date: DateType;
65
- floor: string;
66
- uploadedBy?: string;
67
- };
68
- export type _360AssetsUploadPayload = {
69
- targetPointsCount: number;
70
- assetType: string;
71
- upload: {
72
- url: string;
73
- title: string;
74
- fileExtension: string;
75
- }[];
76
- deviceSerial: string;
77
- startPosition: string;
78
- endPosition: string;
79
- isTimelapse: boolean;
80
- };
81
- export type Generate360MapRequestPayload = {
82
- dateId: string;
83
- floorId: string;
84
- cameraOffset: string;
85
- startPoint: string;
86
- endPoint: string;
87
- };
@@ -1,45 +0,0 @@
1
- export type AconexUserProjectsResponsePayload = Array<{
2
- id: number;
3
- name: string;
4
- shortName: string;
5
- startDate: string;
6
- endDate: string;
7
- }>;
8
- export type AconexDocumentSchemaField = {
9
- dataType: AconexDocumentDataType;
10
- identifier: string;
11
- schemaValues?: Array<{
12
- id: string;
13
- value: string;
14
- }>;
15
- fieldName: string;
16
- mandatoryStatus: AconexMandatoryStatus;
17
- componentType?: AconexFormComponentType;
18
- items?: Array<any>;
19
- disabled?: boolean;
20
- };
21
- export declare enum AconexDocumentDataType {
22
- Long = "LONG",
23
- Integer = "INTEGER",
24
- String = "STRING",
25
- Boolean = "BOOLEAN",
26
- Date = "DATE"
27
- }
28
- export declare enum AconexFormComponentType {
29
- Select = "SelectField",
30
- Text = "TextField",
31
- DateTime = "DateTimeField",
32
- Switch = "SwitchField"
33
- }
34
- export declare enum AconexMandatoryStatus {
35
- Mandatory = "MANDATORY",
36
- NotMandatory = "NOT_MANDATORY"
37
- }
38
- export type AconexAuthCallbackParams = {
39
- code: string;
40
- location: string;
41
- };
42
- export type AconexEditedImageUploadRequestPayload = {
43
- projectExid: string;
44
- snapshot: string;
45
- };
@@ -1,6 +0,0 @@
1
- export declare enum AutomationProvider {
2
- Aconex = "aconex",
3
- Procore = "procore",
4
- Autodesk = "autodesk",
5
- Email = "email"
6
- }
@@ -1,46 +0,0 @@
1
- import type { DateType, PaginationParams } from "@/types";
2
- export type CompanyUser = {
3
- id: number;
4
- fullname: string;
5
- email: string;
6
- eventsCount: number;
7
- lastSeenAt: string;
8
- active: boolean;
9
- };
10
- export type CompanyProject = {
11
- exid: string;
12
- name: string;
13
- status: string;
14
- startedAt: DateType;
15
- };
16
- export type Company = {
17
- id: number;
18
- exid: string;
19
- name: string;
20
- zohoId: string;
21
- domains: string;
22
- linkedinUrl: string;
23
- sessions: number;
24
- projects: number;
25
- cameras: number;
26
- users: number;
27
- activeUsers: number;
28
- createdAt: DateType;
29
- };
30
- export type CompanyQueryParams = PaginationParams & {
31
- name: string;
32
- exid: string;
33
- domains: string;
34
- projects: string;
35
- cameras: string;
36
- users: string;
37
- activeUsers: string;
38
- sessions: string;
39
- };
40
- export type CompanyUpdatePayload = {
41
- name: string;
42
- exid: string;
43
- linkedinUrl?: string;
44
- domains?: string;
45
- zohoId?: string;
46
- };
@@ -1,18 +0,0 @@
1
- import { DateType } from "@/types/time";
2
- export type CreateCoolifyAppRequestPayload = {
3
- cameraExid: string;
4
- startDate: DateType;
5
- modelVersion: string;
6
- snapshotRequestTimeout: string | number;
7
- serverUuid: string;
8
- branch: string;
9
- };
10
- export type SaveCoolifyAppRequestPayload = {
11
- contextCameraExid: string;
12
- coolifyServiceId: string;
13
- modelVersion: string;
14
- startTime: string;
15
- branchName: string;
16
- snapshotRequestTimeout: string | number;
17
- serverUuid: string;
18
- };
@@ -1,17 +0,0 @@
1
- export type DroneModel = {
2
- cesiumId: string;
3
- cesiumId2D: string;
4
- date: string;
5
- cesiumPointCloudId: string;
6
- pointSize: string;
7
- maximumScreenSpaceError: string;
8
- link: string;
9
- trueIndex: number;
10
- };
11
- export type DroneProjectJsonResponse = {
12
- models: DroneModel[];
13
- [key: string]: any;
14
- };
15
- export declare enum DroneUrlParams {
16
- Date = "date"
17
- }
@@ -1,43 +0,0 @@
1
- import { PaginationParams, DateType } from "@/types";
2
- export declare enum IngestProcessingStatus {
3
- Completed = "completed",
4
- Uploading = "uploading",
5
- Created = "created",
6
- Failed = "failed",
7
- Aborted = "aborted",
8
- Paused = "paused",
9
- InProgress = "inprogress",
10
- Pending = "pending"
11
- }
12
- export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
13
- projectId: string;
14
- consumed: string;
15
- token: string;
16
- processingStatus: IngestProcessingStatus;
17
- };
18
- export type DroneUploadUpdateRequestPayload = {
19
- flightMetadata: {
20
- dateTime: string;
21
- gpsAltitude: string;
22
- gpsCoordinates: string;
23
- };
24
- upload: {
25
- url: string;
26
- title: string;
27
- fileExtension: string;
28
- }[];
29
- projectName: string;
30
- };
31
- export type CalculateMeasuringOperationRequestPayload = {
32
- date: DateType;
33
- points: [number, number][];
34
- operation: string;
35
- };
36
- export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
37
- date: DateType;
38
- };
39
- export type InspectionToolRequestPayload = {
40
- date: DateType;
41
- gpsAltitude: string;
42
- gpsCoordinates: string;
43
- };
@@ -1,4 +0,0 @@
1
- export declare enum MapType {
2
- Hybrid = "hybrid",
3
- Terrain = "terrain"
4
- }
@@ -1,27 +0,0 @@
1
- export declare enum NotificationType {
2
- CameraShare = "camera_share",
3
- CameraStatusChange = "camera_status_changed",
4
- Mention = "mention",
5
- TimelapseCreated = "timelapse_created",
6
- TimelapseFailed = "timelapse_failed",
7
- DroneProcessing = "drone_processing_done",
8
- Processing360 = "three_sixty_done"
9
- }
10
- export interface CameraShareContext {
11
- cameraExid: string;
12
- projectExid: string;
13
- shareId: number;
14
- }
15
- export type Notification = {
16
- id: number;
17
- type: NotificationType;
18
- insertedAt: string;
19
- initiatorId: number;
20
- initiatorFullname: string;
21
- initiatorEmail: string;
22
- targetId: number;
23
- targetFullname: string;
24
- targetEmail: string;
25
- readTimestamp: string | null;
26
- context: CameraShareContext;
27
- };
@@ -1,28 +0,0 @@
1
- export declare enum EMapTypes {
2
- Blank = "Blank",
3
- Satellite = "Satellite",
4
- Street = "Street",
5
- GoogleSatellite = "hybrid",
6
- GoogleStreet = "roadmap",
7
- GoogleTerrain = "terrain"
8
- }
9
- export declare enum EMarkers {
10
- CameraMarker = "cameraMarker",
11
- ThreeSixtyMarker = "threeSixtyMarkers"
12
- }
13
- export declare enum EPageType {
14
- List = "list",
15
- Item = "item"
16
- }
17
- export declare enum EPaths {
18
- Home = "/",
19
- Session = "/session"
20
- }
21
- export declare enum EProjectItems {
22
- Camera = "camera",
23
- Overlay = "overlay"
24
- }
25
- export declare enum ERoles {
26
- Admin = "admin",
27
- User = "user"
28
- }