@evercam/api 1.0.0-462219997 → 1.0.0-4691f88e3

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 (109) 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} +81 -27
  4. package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +51 -37
  5. package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +10 -1
  6. package/dist/api/{client → api/client}/axios.d.ts +1 -0
  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/{evercamApi.d.ts → api/evercamApi.d.ts} +81 -33
  12. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -11
  13. package/dist/api/api/index.d.ts +13 -0
  14. package/dist/api/api/ingestApi.d.ts +96 -0
  15. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +4 -0
  16. package/dist/api/api/videoWallApi.d.ts +9 -0
  17. package/dist/api/api/weatherApi.d.ts +9 -0
  18. package/dist/api/index.d.ts +3 -13
  19. package/dist/api/types/360.d.ts +274 -0
  20. package/dist/api/types/aconex.d.ts +143 -0
  21. package/dist/{types → api/types}/analytics.d.ts +125 -42
  22. package/dist/{types → api/types}/anpr.d.ts +7 -11
  23. package/dist/api/types/authz.d.ts +23 -0
  24. package/dist/api/types/automation.d.ts +61 -0
  25. package/dist/{types → api/types}/axios.d.ts +16 -0
  26. package/dist/{types → api/types}/camera.d.ts +26 -56
  27. package/dist/api/types/comments.d.ts +59 -0
  28. package/dist/{types → api/types}/company.d.ts +29 -1
  29. package/dist/{types → api/types}/connector.d.ts +6 -1
  30. package/dist/{types → api/types}/coolify.d.ts +2 -0
  31. package/dist/{types → api/types}/countries.d.ts +0 -7
  32. package/dist/{types → api/types}/credentials.d.ts +1 -0
  33. package/dist/{types → api/types}/detections.d.ts +51 -15
  34. package/dist/{types → api/types}/errors.d.ts +13 -0
  35. package/dist/{types → api/types}/gateReport.d.ts +4 -101
  36. package/dist/{types → api/types}/index.d.ts +6 -1
  37. package/dist/{types → api/types}/ingest.d.ts +8 -0
  38. package/dist/{types → api/types}/kit.d.ts +82 -7
  39. package/dist/{types → api/types}/planner.d.ts +7 -0
  40. package/dist/api/types/posthog.d.ts +18 -0
  41. package/dist/api/types/procore.d.ts +222 -0
  42. package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
  43. package/dist/{types → api/types}/project.d.ts +52 -3
  44. package/dist/{types → api/types}/recording.d.ts +2 -2
  45. package/dist/api/types/recycleBin.d.ts +14 -0
  46. package/dist/{types → api/types}/roi.d.ts +2 -1
  47. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  48. package/dist/{types → api/types}/router.d.ts +19 -0
  49. package/dist/{types → api/types}/shared.d.ts +1 -6
  50. package/dist/{types → api/types}/shares.d.ts +5 -5
  51. package/dist/api/types/siteAnalytics.d.ts +247 -0
  52. package/dist/{types → api/types}/snapshots.d.ts +9 -0
  53. package/dist/api/types/sso.d.ts +55 -0
  54. package/dist/{types → api/types}/streaming.d.ts +2 -23
  55. package/dist/api/types/systemCheck.d.ts +11 -0
  56. package/dist/{types → api/types}/time.d.ts +6 -0
  57. package/dist/{types → api/types}/user.d.ts +5 -6
  58. package/dist/api/types/videoWall.d.ts +66 -0
  59. package/dist/{types → api/types}/weather.d.ts +8 -2
  60. package/dist/{types → api/types}/widget.d.ts +27 -6
  61. package/dist/api/types/xweather.d.ts +12 -0
  62. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  63. package/dist/index.d.ts +2 -3
  64. package/dist/index.js +1416 -886
  65. package/dist/index.js.map +1 -1
  66. package/dist/index.umd.cjs +1 -1
  67. package/dist/index.umd.cjs.map +1 -1
  68. package/dist/shared/api/index.d.ts +3 -0
  69. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  70. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  71. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  72. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  73. package/dist/shared/types/components.d.ts +199 -0
  74. package/dist/shared/types/imagePlayer.d.ts +34 -0
  75. package/dist/shared/types/index.d.ts +4 -0
  76. package/dist/shared/types/timeline.d.ts +9 -0
  77. package/package.json +5 -4
  78. package/dist/api/3dFirebaseApi.d.ts +0 -9
  79. package/dist/api/ingestApi.d.ts +0 -66
  80. package/dist/api/videoWallApi.d.ts +0 -9
  81. package/dist/api/weatherApi.d.ts +0 -27
  82. package/dist/types/360.d.ts +0 -83
  83. package/dist/types/aconex.d.ts +0 -45
  84. package/dist/types/automation.d.ts +0 -6
  85. package/dist/types/comments.d.ts +0 -36
  86. package/dist/types/devices.d.ts +0 -228
  87. package/dist/types/procore.d.ts +0 -76
  88. package/dist/types/siteAnalytics.d.ts +0 -84
  89. package/dist/types/videoWall.d.ts +0 -33
  90. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  91. /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
  92. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  93. /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
  94. /package/dist/{types → api/types}/autodesk.d.ts +0 -0
  95. /package/dist/{types → api/types}/bim.d.ts +0 -0
  96. /package/dist/{types → api/types}/compare.d.ts +0 -0
  97. /package/dist/{types → api/types}/copilot.d.ts +0 -0
  98. /package/dist/{types → api/types}/drone.d.ts +0 -0
  99. /package/dist/{types → api/types}/hdd.d.ts +0 -0
  100. /package/dist/{types → api/types}/map.d.ts +0 -0
  101. /package/dist/{types → api/types}/media.d.ts +0 -0
  102. /package/dist/{types → api/types}/notification.d.ts +0 -0
  103. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  104. /package/dist/{types → api/types}/sim.d.ts +0 -0
  105. /package/dist/{types → api/types}/storageServers.d.ts +0 -0
  106. /package/dist/{types → api/types}/tag.d.ts +0 -0
  107. /package/dist/{types → api/types}/timelapse.d.ts +0 -0
  108. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  109. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import type { AxiosRequestConfig } from "axios";
2
- import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, ActiveUsersStatsRequestPayload, ActiveUserStat, AnalyticsRequestPayload, ApiCredentials, AutodeskFolderResponsePayload, AutodeskProjectsResponsePayload, AutodeskTokenResponsePayload, AutodeskUploadSnapshotPayload, AutodeskUserHubsResponsePayload, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraExid, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, CheckCameraPortPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, Company, CompanyProject, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, GoogleAuthRequestPayload, LoginRequestPayload, LoginResponsePayload, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreProjectsAlbumsPayload, ProcoreProjectsAlbumsRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreUserProjectRequestPayload, ProcoreUserProjectsResponsePayload, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectExid, ProjectLogoResponsePayload, ProjectPAStatsRequestPayload, ProjectPAStatsResponsePayload, ProjectResponsePayload, ProjectShareResponse, RemotePasswordUpdateRequestPayload, ResendShareRequestPayload, SessionsListRequestPayload, Share, ShareCreateRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, ShareProjectCamerasRequestPayload, UpdateUserRestrictionPayload, UpdateCameraRestrictionPayload, ShareRequestsResponsePayload, SharesResponsePayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, Widget, WidgetFull, WidgetPayload, WidgetsListRequestPayload } from "@evercam/api/types";
2
+ import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, AconexDocumentSchemaResponsePayload, AconexDocumentTypeSchemaResponsePayload, ApiCredentials, AutodeskFolderResponsePayload, AutodeskProjectsResponsePayload, AutodeskTokenResponsePayload, AutodeskUploadSnapshotPayload, AutodeskUserHubsResponsePayload, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraExid, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, Company, CompanyProject, CompanyKit, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, FetchCameraQueryParams, GoogleAuthRequestPayload, LoginRequestPayload, LoginResponsePayload, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreObservationFormRequestPayload, ProcoreObservationTypesResponsePayload, ProcoreProjectsAlbumsPayload, ProcoreProjectRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreCompanyRequestPayload, ProcoreUserProjectsResponsePayload, ProcoreUserProjectPermissionsResponsePayload, ProcoreObservationAssignee, ProcoreObservationDistributionMember, ProcoreObservationTrades, ProcoreObservationLocation, ProcoreObservationSpecificationSection, ProcoreObservationForm, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectExid, ProjectLogoResponsePayload, ProjectResponsePayload, ProjectShareResponse, ProjectMembersResponsePayload, ProjectMembersRequestPayload, ProjectInviteMembersResponsePayload, RemotePasswordUpdateRequestPayload, ResendShareRequestPayload, SessionsListRequestPayload, Share, ShareCreateRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, ShareProjectCamerasRequestPayload, UpdateUserRestrictionPayload, UpdateCameraRestrictionPayload, ShareRequestsResponsePayload, SharesResponsePayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, XWeatherCreatePayload, XWeatherResponse, Widget, WidgetFull, WidgetPayload, WidgetsListRequestPayload, Camera, ProcoreNextObservationAvailableNumber } from "@evercam/api/types";
3
3
  export declare const EvercamApi: {
4
4
  apiStatus: {
5
5
  getApiStatus(): Promise<import("axios").AxiosResponse<any, any>>;
@@ -10,11 +10,18 @@ export declare const EvercamApi: {
10
10
  features: string[];
11
11
  }>;
12
12
  impersonationLogin(token: string): Promise<import("axios").AxiosResponse<any, any>>;
13
+ fetchLoginOptions(email: string): Promise<{
14
+ options: any[];
15
+ }>;
16
+ fetchSignupOptions(email: string): Promise<{
17
+ options: any[];
18
+ }>;
19
+ fetchProviderConfig(provider: string): Promise<any>;
13
20
  login(params: LoginRequestPayload): Promise<LoginResponsePayload>;
14
21
  loginWithApiCredentials(apiId: String, apiKey: String): Promise<LoginResponsePayload>;
15
22
  loginWithWidgetCredentials(widgetId: String, widgetKey: String): Promise<LoginResponsePayload>;
16
23
  loginWithProvider(provider: string, payload: GoogleAuthRequestPayload): Promise<LoginResponsePayload>;
17
- getUser(email: string): Promise<{
24
+ show(email: string): Promise<{
18
25
  users: LoginResponsePayload[];
19
26
  }>;
20
27
  logout(payload: LogoutParams, config?: Partial<AxiosRequestConfig>): Promise<void>;
@@ -30,7 +37,9 @@ export declare const EvercamApi: {
30
37
  }>;
31
38
  confirm(email: string, payload: any): Promise<LoginResponsePayload>;
32
39
  deleteActiveSession(sessionId: string, payload?: any): Promise<void>;
33
- getActiveSessions(payload: SessionsListRequestPayload): Promise<PaginatedItems<UserSession>>;
40
+ getActiveSessions(params: AxiosRequestConfig & {
41
+ params: SessionsListRequestPayload;
42
+ }): Promise<PaginatedItems<UserSession>>;
34
43
  update(email: string, params?: Partial<UserUpdateRequestPayload>): Promise<{
35
44
  users: LoginResponsePayload[];
36
45
  }>;
@@ -38,6 +47,7 @@ export declare const EvercamApi: {
38
47
  fetchPermissions(): Promise<{
39
48
  permissions: string[];
40
49
  }>;
50
+ getProjectContacts(projectExid: ProjectExid): Promise<import("axios").AxiosResponse<any, any>>;
41
51
  };
42
52
  notifications: {
43
53
  get(): Promise<import("axios").AxiosResponse<any, any>>;
@@ -55,14 +65,12 @@ export declare const EvercamApi: {
55
65
  exportCompare(projectExid: string, payload: BimCompareExportRequestPayload): Promise<Compare>;
56
66
  };
57
67
  cameras: {
58
- getCameras(): Promise<CamerasResponsePayload>;
68
+ getCameras(params: {
69
+ params?: Partial<FetchCameraQueryParams>;
70
+ config?: AxiosRequestConfig;
71
+ }): Promise<CamerasResponsePayload>;
59
72
  getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
60
73
  getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
61
- portCheck(payload: {
62
- params: CheckCameraPortPayload;
63
- }): Promise<CheckCameraPortPayload & {
64
- open: boolean;
65
- }>;
66
74
  getNvrStreamingToken({ cameraExid, token, }: {
67
75
  cameraExid: string;
68
76
  token: string;
@@ -76,7 +84,10 @@ export declare const EvercamApi: {
76
84
  updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
77
85
  };
78
86
  projects: {
79
- index(params?: ApiCredentials): Promise<ProjectResponsePayload>;
87
+ index({ params, config, }: {
88
+ params?: ApiCredentials;
89
+ config: AxiosRequestConfig;
90
+ }): Promise<ProjectResponsePayload>;
80
91
  getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
81
92
  createLogo(projectId: string, formData: FormData): Promise<Logo & {
82
93
  id: number;
@@ -97,6 +108,21 @@ export declare const EvercamApi: {
97
108
  message: string;
98
109
  }>;
99
110
  getPlaceholderThumbnailData(projectExid: string): Promise<import("axios").AxiosResponse<any, any>>;
111
+ transferOwnership(projectExid: string, newOwnerId: number): Promise<{
112
+ message: string;
113
+ }>;
114
+ getUsers(projectExid: string): Promise<import("axios").AxiosResponse<any, any>>;
115
+ getCameras(projectExid: string): Promise<{
116
+ cameras: Camera[];
117
+ }>;
118
+ getCameraRefs(projectExid: string): Promise<{
119
+ cameras: Camera[];
120
+ }>;
121
+ getTeamMembers(): Promise<import("axios").AxiosResponse<any, any>>;
122
+ getMembers(projectExid: string): Promise<ProjectMembersResponsePayload>;
123
+ inviteMembers(projectExid: string, payload: ProjectMembersRequestPayload): Promise<ProjectInviteMembersResponsePayload>;
124
+ removeMembers(projectExid: string, emails: string[]): Promise<void>;
125
+ updateMembersRole(projectExid: string, payload: ProjectMembersRequestPayload): Promise<void>;
100
126
  };
101
127
  timelapse: {
102
128
  getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
@@ -110,6 +136,9 @@ export declare const EvercamApi: {
110
136
  cUpdate(projectExid: string, id: string, payload: MediaUpdateRequestPayload): Promise<Compare>;
111
137
  cDelete(projectExid: string, id: string): Promise<void>;
112
138
  };
139
+ projectConnectos: {
140
+ index(projectExid: string): Promise<Array<XWeatherResponse>>;
141
+ };
113
142
  providers: {
114
143
  getProviders(): Promise<ConnectorResponsePayload>;
115
144
  };
@@ -118,14 +147,33 @@ export declare const EvercamApi: {
118
147
  getUserProjects(): Promise<AconexUserProjectsResponsePayload>;
119
148
  revoke(): Promise<void>;
120
149
  uploadEditedSnapshot(projectId: number, payload: AconexEditedImageUploadRequestPayload): Promise<void>;
121
- getDocumentSchema(projectId: number): Promise<void>;
150
+ getDocumentSchema(projectId: number): Promise<AconexDocumentSchemaResponsePayload>;
151
+ getDocumentTypeSchema(projectId: number, documentTypeId: string): Promise<AconexDocumentTypeSchemaResponsePayload>;
122
152
  };
123
153
  procore: {
124
154
  getUserCompanies(): Promise<ProcoreUserCompaniesResponsePayload>;
125
- getUserProjects(payload: ProcoreUserProjectRequestPayload): Promise<ProcoreUserProjectsResponsePayload>;
126
- getProjectAlbums(payload: ProcoreProjectsAlbumsRequestPayload): Promise<ProcoreProjectsAlbumsPayload>;
155
+ getUserProjects(payload: ProcoreCompanyRequestPayload): Promise<ProcoreUserProjectsResponsePayload>;
156
+ getUserProjectPermissions(payload: ProcoreProjectRequestPayload): Promise<ProcoreUserProjectPermissionsResponsePayload>;
157
+ getProjectAlbums(payload: ProcoreProjectRequestPayload): Promise<ProcoreProjectsAlbumsPayload>;
127
158
  uploadEditedSnapshot(payload: ProcoreEditedImageUploadRequestPayload): Promise<void>;
128
159
  sendRevoke(): Promise<void>;
160
+ getObservationTypes(payload: ProcoreProjectRequestPayload): Promise<ProcoreObservationTypesResponsePayload>;
161
+ getObservationForm(payload: ProcoreObservationFormRequestPayload): Promise<ProcoreObservationForm>;
162
+ getNextAvailableObservationNumber(payload: ProcoreProjectRequestPayload): Promise<ProcoreNextObservationAvailableNumber>;
163
+ getAssignees(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationAssignee>>;
164
+ getDistributionMembers(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationDistributionMember>>;
165
+ createObservation(formData: FormData): Promise<void>;
166
+ getContributingBehaviors(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
167
+ getContributingConditions(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
168
+ getTrades(payload: ProcoreCompanyRequestPayload): Promise<Array<ProcoreObservationTrades>>;
169
+ getHazards(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
170
+ getLocations(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationLocation>>;
171
+ getSpecificationSections(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationSpecificationSection>>;
172
+ getCustomFieldOptions(payload: ProcoreProjectRequestPayload): Promise<{
173
+ options: {
174
+ [key: string]: string[];
175
+ };
176
+ }>;
129
177
  };
130
178
  autodesk: {
131
179
  sendRevoke(): Promise<void>;
@@ -141,6 +189,10 @@ export declare const EvercamApi: {
141
189
  connect(payload: VoyageControlConnectorPayload): Promise<unknown>;
142
190
  sendRevoke(): Promise<null>;
143
191
  };
192
+ xweather: {
193
+ connect(projectExid: string, payload: XWeatherCreatePayload): Promise<XWeatherResponse>;
194
+ revoke(projectExid: string): Promise<null>;
195
+ };
144
196
  recordings: {
145
197
  oldest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
146
198
  latest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
@@ -151,7 +203,7 @@ export declare const EvercamApi: {
151
203
  getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload): Promise<SnapshotRangeResponsePayload>;
152
204
  };
153
205
  progressPhotos: {
154
- index(): Promise<ProgressPhotosResponsePayload>;
206
+ index(projectId: string): Promise<ProgressPhotosResponsePayload>;
155
207
  show(id: string): Promise<ProgressPhotosResponsePayload>;
156
208
  create(payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
157
209
  update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
@@ -166,14 +218,6 @@ export declare const EvercamApi: {
166
218
  cUpdate(projectExid: number, id: number, payload: MediaUpdateRequestPayload): Promise<Media>;
167
219
  cDelete(projectExid: number, id: number): Promise<void>;
168
220
  };
169
- analytics: {
170
- sendAnalyticsEvent(params: AnalyticsRequestPayload, headers: object): Promise<null>;
171
- getPACompanyPeriodEvents(id: string | number, payload: ProjectPAStatsRequestPayload): Promise<PaginatedItems<ProjectPAStatsResponsePayload>>;
172
- getPAProjectPeriodEvents(projectId: string, payload: ProjectPAStatsRequestPayload): Promise<PaginatedItems<ProjectPAStatsResponsePayload>>;
173
- getActiveUsers(params: {
174
- params: ActiveUsersStatsRequestPayload;
175
- }): Promise<ActiveUserStat>;
176
- };
177
221
  shares: {
178
222
  updateShareRights(cameraExid: CameraExid, payload: {
179
223
  email: string;
@@ -200,29 +244,31 @@ export declare const EvercamApi: {
200
244
  cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
201
245
  shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
202
246
  getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
203
- transferOwnership(cameraId: string, payload: {
204
- userId: number;
205
- }): Promise<void>;
206
247
  resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
207
248
  getProjectShares(exid: string): Promise<ProjectShareResponse>;
208
249
  updateUserRestriction(projectExid: ProjectExid, payload: UpdateUserRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
209
250
  };
210
- companies: {
211
- getCompanyUsers(companyExid: string, params: {
251
+ company: {
252
+ show(companyId: string | undefined, params?: Record<string, string>): Promise<Company>;
253
+ getCompanyUsers(params: {
212
254
  params: {
213
255
  page: number;
214
256
  limit: number;
215
257
  };
216
258
  }): Promise<PaginatedItems<CompanyUser>>;
217
- getCompanyProjects(companyId: string, params: {
259
+ getCompanyProjects(params: {
218
260
  params: {
219
261
  page: number;
220
262
  limit: number;
221
263
  };
222
264
  }): Promise<PaginatedItems<CompanyProject>>;
223
- getPACompanyDetails(companyId: string, params?: Record<string, string>): Promise<Company>;
224
- getActiveUsers(params: ActiveUsersStatsRequestPayload): Promise<ActiveUserStat>;
225
- getCompanyCameras(id: string, params: Record<string, string>): Promise<import("axios").AxiosResponse<any, any>>;
265
+ getCompanyCameras(params: Record<string, string>): Promise<import("axios").AxiosResponse<any, any>>;
266
+ getCompanyKits(params: {
267
+ params: {
268
+ page: number;
269
+ limit: number;
270
+ };
271
+ }): Promise<PaginatedItems<CompanyKit>>;
226
272
  };
227
273
  batteries: {
228
274
  ProjectBatteryReadings(projectExid: string): Promise<ProjectBatteryReading[]>;
@@ -265,8 +311,10 @@ export declare const EvercamApi: {
265
311
  show(id: number): Promise<WidgetFull>;
266
312
  getByKeys(): Promise<WidgetFull>;
267
313
  setSessionSettings(params: any): Promise<WidgetFull>;
268
- createProjectWidget(projectId: string, payload: WidgetPayload): Promise<WidgetFull>;
269
- createCameraWidget(cameraId: string, payload: WidgetPayload): Promise<WidgetFull>;
314
+ setStatus(id: number, params: {
315
+ active: boolean;
316
+ }): Promise<WidgetFull>;
317
+ create(payload: WidgetPayload): Promise<WidgetFull>;
270
318
  update(id: number, payload: WidgetPayload): Promise<WidgetFull>;
271
319
  delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
272
320
  };
@@ -1,18 +1,12 @@
1
- import type { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, CountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, MilesightCameraNetworkConfiguration, MilesightCameraOsdConfiguration, MilesightCameraSdCardInfo, MilesightCameraSystemSettings, MilesightCameraVideoConfig, MilesightRequestParams, PaginatedItems, SegmentsPresenceByLabel } from "@evercam/api/types";
1
+ import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, SegmentsCountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, SegmentsPresenceByLabel, ActiveUsersResponsePayload, ActiveUsersRequestPayload, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint, SiteAnalyticsProcessingStatusPayload, SiteAnalyticsProcessingStatus } from "@evercam/api/types";
2
2
  import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
3
+ import { AxiosRequestConfig } from "axios";
3
4
  export declare function getLabsBaseUrl(): string | null | undefined;
4
5
  export declare const EvercamLabsApi: {
5
- milesight: {
6
- getVideoConfig({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraVideoConfig>;
7
- getNetworkConfiguration({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraNetworkConfiguration>;
8
- getSystemSettings({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSystemSettings>;
9
- getTimeSettings({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSystemSettings>;
10
- getOsdConfiguration({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraOsdConfiguration>;
11
- getSdCardInfo({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSdCardInfo>;
12
- };
13
6
  posthog: {
14
7
  getEvents(params: any): Promise<PaginatedItems<any>>;
15
8
  getUsers(params: any): Promise<any>;
9
+ getActiveUsers(params: ActiveUsersRequestPayload): Promise<ActiveUsersResponsePayload>;
16
10
  };
17
11
  copilot: {
18
12
  getAllConversations(params: LabsPaginationParams & {
@@ -25,8 +19,10 @@ export declare const EvercamLabsApi: {
25
19
  getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
26
20
  submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
27
21
  };
28
- detections: {
29
- getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: CountsParams): Promise<SegmentsPresenceByLabel>;
22
+ siteAnalytics: {
23
+ getProcessingStatus(params?: SiteAnalyticsProcessingStatusPayload, config?: AxiosRequestConfig): Promise<SiteAnalyticsProcessingStatus[]>;
24
+ getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: SegmentsCountsParams): Promise<SegmentsPresenceByLabel>;
25
+ getIntersectionsHeatmapData(params: HeatmapIntersectionsRequestParams): Promise<SmartSearchHeatmapPoint[]>;
30
26
  };
31
27
  googleCloudStorage: {
32
28
  listFiles(prefix?: string): Promise<{
@@ -0,0 +1,13 @@
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";
@@ -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
+ };
@@ -0,0 +1,9 @@
1
+ import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
2
+ import { AxiosRequestConfig } from "axios";
3
+ export declare const WeatherApi: {
4
+ current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
5
+ historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
6
+ report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
7
+ data: WeatherDataResponse[];
8
+ }> | undefined;
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";